/* ===== About Section ===== */
#about { display: grid; place-items: center; }
#about .about-copy { text-align: center; max-width: 1100px; margin-inline: auto; }

#about .about-lead {
  font-size: 48px; /* 指定: 48px */
  color: #0B0B0B;  /* 指定色 */
  line-height: 1.2;
  letter-spacing: 0.02em;
  margin: 0 0 24px;
}

#about .about-phrase {
  font-size: 0; /* インライン要素の余白影響をリセット */
  line-height: 1.6;
  margin: 0;
  text-align: left;
}
#about .about-phrase > span + span {
  margin-left: 0.5em;
}
#about .about-phrase > span { 
  display: inline-block; 
  vertical-align: baseline; 
  font-size: 36px; /* ベースは48px */
  color: #0B0B0B; /* デフォはダーク */
}
#about .about-phrase .accent-red   { font-size: 64px; color: #B32222; }
#about .about-phrase .accent-green { font-size: 64px; color: #4A6C4F; }
#about .about-phrase .text-dark    { color: #0B0B0B; }

/* 余白とレスポンシブ微調整 */
@media (max-width: 1024px) {
  #about .about-lead { font-size: 40px; }
  #about .about-phrase > span { font-size: 40px; }
  #about .about-phrase .accent-red,
  #about .about-phrase .accent-green { font-size: 54px; }
}
@media (max-width: 640px) {
  #about .about-lead { font-size: 32px; }
  #about .about-phrase > span { font-size: 30px; }
  #about .about-phrase .accent-red,
  #about .about-phrase .accent-green { font-size: 42px; }
}

/* ===== Company Section ===== */
#company {
  display: grid;
  place-items: center;              /* セクション中央寄せ */
  padding-block: clamp(48px, 8vmin, 96px);
  padding-inline: min(5vmin, 48px);
}
#company .profile {
  max-width: 1000px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 200px 1fr;
  column-gap: 20px;
  align-items: start;
}
#company .profile dt {
  font-size: 18px; /* 既存より大きく */
  font-weight: 800;
  color: #0B0B0B;
  margin-top: 0;
}
#company .profile dd {
  font-size: 16px; /* テキストも拡大 */
  margin: 4px 0 10px;
}

/* 許可証リストを含むddだけ上揃え */
#company .profile dd:has(.permits) {
  align-self: start;
}

/* 許可証（複数）を見やすく */
#company .profile .permits {
  list-style: none;
  padding-left: 0;
  margin: 8px 0 0;
  display: grid;
  gap: 10px;
  align-items: start;
}
#company .profile .permits li {
  padding: 10px 12px;
  border: 1px solid #E5E5E5;
  border-radius: 10px;
  background: #FAFAFA;
}



#company .profile .dt-permits { align-self: start; margin-top: 0; }
#company .profile .dd-permits { align-self: start; margin-top: 0; }

@media (max-width: 640px) {
  #company .profile dt { font-size: 17px; }
  #company .profile dd { font-size: 14px; }
  #company {
    padding-block: clamp(72px, 14vmin, 128px);
  }
}

/* ===== Contact Section ===== */
#contact {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-block: clamp(56px, 10vmin, 120px);
  padding-inline: min(5vmin, 48px);
}

/* Container (both existing .contact and proposed .contact-wrap) */
#contact .contact-wrap,
#contact .contact {
  width: min(760px, 100%);
  text-align: center;
  display: grid;
  row-gap: clamp(24px, 6vmin, 48px);
  margin: 0 auto;
}

/* Lead text */
#contact .contact-lead,
#contact .contact > p:first-child {
  margin: 0;
  font-weight: 700;
  color: #0B0B0B;
  line-height: 1.45;
  letter-spacing: .02em;
  font-size: clamp(20px, 3.2vw, 28px);
}

/* Structured list layout */
#contact .contact-list {
  display: grid;
  row-gap: clamp(18px, 4.2vmin, 28px);
}
#contact .contact-item {
  display: grid;
  row-gap: 10px;
}
#contact .contact-label {
  font-weight: 800;
  letter-spacing: .08em;
  color: #0B0B0B;
  font-size: clamp(22px, 3.8vw, 28px);
}
#contact .contact-value {
  font-size: clamp(18px, 3.2vw, 22px);
  line-height: 1.5;
}
#contact .contact-value a,
#contact a.contact-value {
  text-decoration: none;
}

/* Fallback styling for existing <p> blocks (TEL/FAX/MAIL) */
#contact .contact p { margin: 0; }
#contact .contact p + p { margin-top: clamp(18px, 4.2vmin, 28px); }
#contact .contact p strong {
  display: block;
  font-weight: 800;
  letter-spacing: .08em;
  color: #0B0B0B;
  font-size: clamp(22px, 3.8vw, 28px);
  margin-bottom: 6px;
}
#contact .contact p a {
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}


/* ===== SNS Section ===== */
#sns {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-block: clamp(56px, 10vmin, 120px);
  padding-inline: min(5vmin, 48px);
}
#sns .sns-wrap { width: min(1000px, 100%); }

#sns .sns-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 4vmin, 36px);
  place-items: center;
}

#sns .sns-card {
  display: grid;
  row-gap: 32px;
  text-align: center;
  justify-items: center;
  grid-template-rows: auto auto auto;
}

#sns .sns-logo-link { display: inline-block; }
#sns .sns-logo {
  width: 160px;   /* 固定サイズで統一 */
  height: 160px;
  object-fit: contain;
  display: block;
  margin-inline: auto;
}
#sns .sns-qr {
  display: block;
  width: clamp(140px, 20vw, 220px);
  height: auto;
  max-width: 100%;
  margin-inline: auto;
}

#sns .sns-card::after {
  content: "";
  display: block;
  width: 60%;
  height: 2px;
  background-color: #ccc;
  margin: 0 auto;
  grid-row: 2;
}
#sns .sns-handle {
  margin: 0;
  font-weight: 600;
  font-size: clamp(14px, 2.6vw, 16px);
}

/* Responsive: 2列＋最後は1列（中央） */
@media (max-width: 720px) {
  #sns .sns-grid { grid-template-columns: repeat(2, 1fr); }
  #sns .sns-card:last-child { grid-column: 1 / -1; justify-self: center; }
}

/* ===== Offers (制作イメージ) Section ===== */
#offers {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-block: clamp(56px, 10vmin, 120px);
  padding-inline: min(5vmin, 48px);
}
#offers .offers-wrap { width: min(1100px, 100%); margin-inline: auto; }

/* カードスライダーの骨格 */
#offers .offer-cards {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto; /* ← 左矢印 | ビューポート | 右矢印 */
  align-items: center;
  column-gap: clamp(12px, 2.8vmin, 24px);
  margin-inline: auto;
}
#offers .offer-viewport {
  position: relative;
  overflow: hidden;
  width: 100%;
}
#offers .offer-track {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  align-items: center;
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
  will-change: transform;
}

/* カード */
#offers .offer-card {
  display: grid;
  place-items: center;
  padding: clamp(12px, 3vmin, 20px);
  flex: 0 0 100%;
}

#offers .offer-figure {
  width: min(400px, 90%);
  aspect-ratio: 3 / 4;              /* 画像エリアの安定化 */
  display: grid;
  grid-template-rows: 1fr auto;     /* 画像 / キャプション */
  gap: 12px;
  justify-items: center;
  padding: clamp(12px, 3vmin, 20px);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,.10);
  overflow: hidden;
  background-color: #F9F9F9;
}
#offers .offer-figure img {
  width: 100%;
  height: 100%;
  object-fit: contain;              /* 画像の縦横比を保持 */
  display: block;
  background: transparent;
  border-radius: 16px;
}
#offers .offer-caption {
  text-align: center;
  font-weight: 700;
  color: #0B0B0B;
  padding: 6px 12px 14px;
  font-size: 1.5rem;
}

/* ナビゲーション矢印 */
#offers .offer-nav {
  appearance: none;
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 999px;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}
#offers .offer-nav:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0,0,0,.16); }
#offers .offer-nav:active { transform: translateY(0); }
#offers .offer-nav:focus-visible { outline: 2px solid #4A6C4F; outline-offset: 2px; }

/* 補足テキスト */
#offers .offers-note {
  margin: clamp(16px, 4vmin, 28px) auto 0;
  font-size: 1.2rem;
  max-width: 900px;
  text-align: center;
  line-height: 1.6;
}

/* レスポンシブ調整（モバイル） */
@media (max-width: 720px) {
  #offers .offer-figure { border-radius: 12px; }
  #offers .offer-figure { aspect-ratio: 3 / 4; } /* 正方形寄りで見やすく */
  #offers .offer-nav { width: 38px; height: 38px; }
}