/*
 * About Page Styles
 * くるま買取ケイヴィレッジ
 * 会社概要ページ専用スタイル
 */

/* ========================================
   Page Hero Section
   ======================================== */

.about-hero.page-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #ffffff;
  overflow: hidden;
}

.about-hero.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  opacity: 0.6;
}

.about-hero .page-hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: clamp(4rem, 8vw, 6rem) var(--l-padding-side);
}

.about-hero .page-hero__content h1 {
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.about-hero .page-hero__content p {
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .about-hero.page-hero {
    min-height: 70vh;
  }
}

/* ========================================
   Section Content Base
   ======================================== */

.section-content {
  padding: var(--l-section-margin-vertical) 0;
  position: relative;
}

.section-content.bg-white {
  background-color: var(--color-bg-white);
  color: var(--color-text-primary);
}

.section-content.bg-stone-050 {
  color: var(--color-text-primary);
}

.section-content__inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 6%;
}

@media (min-width: 768px) {
  .section-content__inner {
    flex-direction: row;
    gap: clamp(3rem, 8vw, 7.375rem);
  }
}

.section-label {
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .section-label {
    width: clamp(200px, 25%, 330px);
  }
}

.l-content-half {
  flex: 1;
}

.l-content-full {
  width: 100%;
}

/* ========================================
   Introduction Section
   ======================================== */

.about-intro .description-group {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: justify;
  line-height: 1.8;
}

/* ========================================
   Representative Section
   ======================================== */

.about-representative .representative-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-top: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.about-representative .representative-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  width: 100%;
}

.about-representative .representative-image:hover {
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
  transform: translateY(-4px);
}

.about-representative .representative-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.about-representative .representative-name-tag {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 70%, transparent 100%);
  padding: 2.5rem 2rem 2rem;
  color: #ffffff;
}

.about-representative .representative-title {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #93c5fd;
  margin: 0 0 0.5rem;
  text-transform: uppercase;
}

.about-representative .representative-name {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
  letter-spacing: 0.05em;
}

.about-representative .representative-message {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-representative .message-content {
  background: #ffffff;
  padding: 0;
}

.about-representative .message-content p {
  margin: 0 0 1.75rem;
  line-height: 2;
  color: #475569;
  font-size: 1rem;
}

.about-representative .message-content p:last-child {
  margin-bottom: 0;
}

.about-representative .representative-signature {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid #e2e8f0;
  text-align: right;
  color: #1e293b !important;
}

.about-representative .representative-signature strong {
  font-size: 1.375rem;
  color: #2563eb;
  display: inline-block;
  margin-top: 0.5rem;
  font-weight: 700;
}

@media (max-width: 768px) {
  .about-representative .message-content p {
    font-size: 0.9375rem;
  }

  .about-representative .representative-name {
    font-size: 1.5rem;
  }

  .about-representative .representative-signature strong {
    font-size: 1.125rem;
  }
}

/* ========================================
   Company Information Section
   ======================================== */

.about-company .info-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

@media (max-width: 767px) {
  .about-company .info-cards-grid {
    grid-template-columns: 1fr;
  }
}

.about-company .info-card {
  background: var(--color-bg-white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: none;  
  transition: var(--transition-smooth);  
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-company .info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-company .info-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 0, 0, 0.15);
}

.about-company .info-card:hover::before {
  transform: scaleX(1);
}

.about-company .info-card__icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: #ffffff;
  transition: all 0.3s ease;
}

.about-company .info-card:hover .info-card__icon {
  transform: scale(1.1) rotate(-5deg);
}

.about-company .info-card__label {
  margin: 0;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.about-company .info-card__value {
  margin: 0;
  color: var(--color-text-primary);
  line-height: 1.6;
}

.about-company .info-card__link {
  color: var(--color-text-primary);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.about-company .info-card__link:hover {
  opacity: 0.7;
  text-decoration: underline;
}

/* ========================================
   Business Section
   ======================================== */

.about-business .business-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

@media (max-width: 767px) {
  .about-business .business-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.about-business .business-item {
  background: var(--color-bg-white);
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  border: none;  
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.about-business .business-item:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 0, 0, 0.15);
}

.about-business .business-item__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary), #005a8a);  /* プライマリカラーのグラデーション */
  color: #ffffff;
  border-radius: 50%;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.about-business .business-item:hover .business-item__icon {
  transform: rotate(360deg) scale(1.1);
  background: linear-gradient(135deg, #22b5b9, #0089d6);
}

.about-business .business-item__text {
  margin: 0;
  color: var(--color-text-primary);
  line-height: 1.4;
}

/* ========================================
   Access Section
   ======================================== */

.about-access .access-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 3rem;
}

.about-access .access-map-container {
  margin-top: 3rem;
}

.about-access .access-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: #ffffff;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  max-width: 600px;
  margin: 0 auto;
}

.about-access .access-info__header {
  padding-bottom: 1.5rem;
  border-bottom: 3px solid #2563eb;
  margin-bottom: 0.5rem;
}

.about-access .access-info__header h3 {
  margin: 0;
  color: #1e293b;
  line-height: 1.4;
  font-size: 1.5rem;
  font-weight: 700;
}

.about-access .access-info__address {
  display: flex;
  gap: 1.25rem;
  padding: 1.75rem;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border-radius: 12px;
  border: 2px solid #bfdbfe;
  transition: all 0.3s ease;
}

.about-access .access-info__address:hover {
  border-color: #93c5fd;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.about-access .access-info__icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  color: #ffffff;
  border-radius: 12px;
  font-size: 1.5rem;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.about-access .access-info__text {
  flex: 1;
  color: #334155;
  line-height: 1.8;
  padding-top: 0.25rem;
  font-weight: 500;
}

.about-access .access-info__contacts {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0.5rem;
}

.about-access .access-info__contacts .btn {
  width: 100%;
  justify-content: center;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.about-access .access-info__contacts .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.25);
}

.about-access .access-map {
  border-radius: 16px;
  overflow: hidden;
  width: 100%;
  height: 500px;
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  transition: all 0.3s ease;
}

.about-access .access-map:hover {
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.18);
}

@media (min-width: 768px) {
  .about-access .access-map {
    height: 600px;
  }
}

@media (min-width: 1025px) {
  .about-access .access-map {
    height: 700px;
  }
}

/* ========================================
   Utility Classes
   ======================================== */

.mt-30 {
  margin-top: 1.875rem;
}

.leading-180 {
  line-height: 1.8;
}

/* ========================================
   Typography Overrides for About
   ======================================== */

.about-hero .t-headline-l-en,
.about-hero .t-combined-400_500-12-14 {
  color: #ffffff;
}

.section-content h2,
.section-content h3,
.section-content .t-headline-m-ja,
.section-content .t-headline-s-ja,
.section-content .t-title-l-ja,
.section-content .t-title-m-ja,
.section-content .t-title-s-ja {
  color: var(--color-primary);
}

.section-content .t-combined-400_500-14-16,
.section-content .t-combined-500_700-15-18,
.section-content .t-combined-400_500-14-14,
.section-content .t-combined-500_700-15-16 {
  color: var(--color-text-primary);  
}

/* ========================================
   Responsive Adjustments
   ======================================== */

@media (max-width: 767px) {
  .section-content {
    padding: clamp(3rem, 8vw, 4rem) 0;
  }

  .about-intro .description-group,
  .about-company .info-cards-grid,
  .about-business .business-grid,
  .about-access .access-content {
    margin-top: 2rem;
  }

  .about-access .access-info__contacts {
    gap: 0.75rem;
  }

  .about-access .access-info__contacts .btn {
    font-size: 0.875rem;
    padding: 0.75rem 1rem;
  }
}

/* ========================================
   Print Styles
   ======================================== */

@media print {
  .about-hero.page-hero {
    min-height: auto;
    background: var(--color-bg-white);
    color: var(--color-text-primary);
  }

  .about-hero.page-hero::before {
    display: none;
  }

  .access-info__contacts {
    display: none;
  }

  .section-content {
    padding: 2rem 0;
    page-break-inside: avoid;
  }

  .info-card,
  .business-item,
  .access-info__address,
  .access-info__details {
    box-shadow: none;
    border: 1px solid #cccccc;
    page-break-inside: avoid;
  }
}
