/* ============================================================
   八角堂 LP — 和モダン高品質デザイン（fukuhisa.com 参考）
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@300;400;600;700;900&family=Noto+Sans+JP:wght@400;500;700&display=swap');

/* ---- デザイントークン ---- */
:root {
  /* ゴールド・黄土色系 */
  --c-gold-100: #fdf6e3;
  --c-gold-200: #f5e6b8;
  --c-gold-300: #e8cc6a;
  --c-gold-400: #d4a827;
  --c-gold-500: #b8891a;   /* メインゴールド */
  --c-gold-600: #8a6410;
  --c-gold-700: #5c4008;

  /* 和紙ベース */
  --c-washi:      #fdfaf2;
  --c-washi-dark: #f5efd8;

  /* ダーク */
  --c-dark-900: #1a1200;
  --c-dark-800: #2c1e00;
  --c-dark-700: #3d2b00;

  /* ニュートラル */
  --c-neutral-200: #ecdfc0;
  --c-neutral-400: #b09a66;
  --c-neutral-500: #8a7448;
  --c-neutral-600: #6b5830;
  --c-neutral-700: #4a3a1a;

  /* セマンティック */
  --bg:           #fdfaf2;
  --bg-alt:       #f5efd8;
  --bg-dark:      #2c1e00;
  --text:         #3d2b00;
  --text-muted:   #8a7448;
  --border:       #ecdfc0;
  --gold:         #b8891a;
  --gold-hover:   #8a6410;
  --gold-light:   #e8cc6a;

  /* フォント */
  --font-serif: 'Noto Serif JP', 'Hiragino Mincho ProN', 'YuMincho', serif;
  --font-sans:  'Noto Sans JP', 'Hiragino Sans', 'Meiryo', sans-serif;

  /* スペーシング（4pxグリッド） */
  --sp-1:  4px;
  --sp-2:  8px;
  --sp-3:  12px;
  --sp-4:  16px;
  --sp-5:  20px;
  --sp-6:  24px;
  --sp-8:  32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;
  --sp-24: 96px;

  /* レイアウト */
  --container: 1200px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  /* シャドウ */
  --shadow-sm: 0 2px 8px rgba(58,36,0,.06);
  --shadow-md: 0 4px 20px rgba(58,36,0,.10);
  --shadow-lg: 0 8px 40px rgba(58,36,0,.14);

  /* トランジション */
  --ease: 130ms ease-out;

  /* スライドショー */
  --examples-slide-duration: 72s;
}

/* ---- リセット＆ベース ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-serif);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-break: strict;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity var(--ease);
}

ul, ol { list-style: none; }

/* アクセシビリティ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }

  .examples__track {
    animation-name: none !important;
    animation: none !important;
  }

  .hero__slider-track {
    animation: none !important;
  }

  .hero__slide {
    animation: none !important;
    opacity: 0 !important;
  }

  .hero__slide:first-child {
    opacity: 1 !important;
  }
}

/* ---- コンテナ ---- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-6);
}

/* ---- セクション共通 ---- */
.section-pad {
  padding-block: var(--sp-24);
}

.section-header {
  text-align: center;
  margin-bottom: var(--sp-16);
}

.section-label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--sp-3);
}

.section-label--light { color: var(--gold-light); }

.section-title {
  font-size: clamp(1.625rem, 4vw, 2rem);
  font-weight: 700;
  line-height: 1.45;
  color: var(--text);
}

.section-title--left { text-align: left; }
.section-title--light { color: #fdf6e3; }

/* ---- ボタン ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--ease), color var(--ease), border-color var(--ease), transform var(--ease);
  min-height: 44px;
  padding: var(--sp-3) var(--sp-6);
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--gold {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}
.btn--gold:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
}

.btn--outline-gold {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn--outline-gold:hover {
  background: var(--gold);
  color: #fff;
}

.btn--hero {
  min-height: 52px;
  padding: var(--sp-4) var(--sp-10);
  font-size: 1.0625rem;
}

.btn--lg {
  min-height: 52px;
  padding: var(--sp-4) var(--sp-8);
}

.btn--sm {
  min-height: 36px;
  padding: var(--sp-2) var(--sp-4);
  font-size: .875rem;
}

.btn--full { width: 100%; }

.btn--line {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: #06C755;
  color: #fff;
  border-color: #06C755;
  min-height: 44px;
  padding: var(--sp-3) var(--sp-5);
  font-size: .9375rem;
}
.btn--line:hover { background: #05a847; border-color: #05a847; }

/* ---- ヘッダー ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253,250,242,.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--ease);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  min-height: 96px;
}

.site-header__logo {
  flex: 0 0 168px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.site-header__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-1);
}

.site-header__logo-img {
  width: auto;
  height: 64px;
  object-fit: contain;
}

.site-header__logo-tagline {
  font-family: var(--font-sans);
  font-size: .6875rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
  white-space: nowrap;
}

.site-header__nav {
  flex: 1;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.site-header__nav-list {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
}

.site-header__nav-link {
  font-size: .875rem;
  font-weight: 600;
  color: var(--text);
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--radius-sm);
  transition: color var(--ease), background var(--ease);
}

.site-header__nav-link:hover {
  color: var(--gold);
  background: var(--c-gold-100);
}

.site-header__cta {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

.site-header__tel {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: .9375rem;
  font-weight: 700;
  color: var(--text);
  transition: color var(--ease);
}
.site-header__tel:hover { color: var(--gold); }

.site-header__tel-icon {
  color: var(--gold);
}

.site-header__nav-link:focus-visible,
.site-header__tel:focus-visible,
.site-header__logo:focus-visible,
.hamburger:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

/* ハンバーガー */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--sp-2);
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--ease), opacity var(--ease);
  transform-origin: center;
}

.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ドロワー */
.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(300px, 85vw);
  background: var(--bg);
  z-index: 200;
  transform: translateX(100%);
  transition: transform 250ms ease-out;
  overflow-y: auto;
  padding: var(--sp-8) var(--sp-6);
}

.drawer[aria-hidden="false"] { transform: translateX(0); }

.drawer__inner {
  display: flex;
  flex-direction: column;
  gap: var(--sp-8);
  height: 100%;
}

.drawer__logo {
  height: 80px;
  width: auto;
  object-fit: contain;
}

.drawer__list { display: flex; flex-direction: column; gap: 0; }

.drawer__link {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  padding: var(--sp-4) 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--ease);
}
.drawer__link:hover { color: var(--gold); }

.drawer__actions {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  margin-top: auto;
}

.drawer__tel {
  display: block;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  padding: var(--sp-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity 250ms ease-out;
}
.drawer-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* ---- ヒーロー ---- */
.hero {
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
  color: #fdf6e3;
}

/* 装飾的な斜めラインの背景 */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(184,137,26,.08) 0%, transparent 60%),
    linear-gradient(315deg, rgba(184,137,26,.05) 0%, transparent 60%);
  pointer-events: none;
}

.hero__bg-left {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 50%;
  background: linear-gradient(90deg, rgba(58,36,0,.5) 0%, transparent 100%);
  pointer-events: none;
}

.hero__container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: var(--sp-12);
  align-items: center;
  min-height: 620px;
  position: relative;
  z-index: 1;
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: var(--sp-24);
  max-width: 760px;
}

.hero__eyebrow {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: var(--sp-6);
}

.hero__eyebrow span {
  font-family: var(--font-sans);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--gold-light);
  border: 1px solid var(--gold-light);
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--radius-sm);
}

.hero__title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  line-height: 1.35;
  color: #fdf6e3;
  margin-bottom: var(--sp-6);
}

.hero__title-em {
  font-style: normal;
  color: var(--gold-light);
}

.hero__desc {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: rgba(253,246,227,.85);
  margin-bottom: var(--sp-8);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  margin-bottom: var(--sp-4);
}

.hero__note {
  font-family: var(--font-sans);
  font-size: .8125rem;
  color: rgba(253,246,227,.6);
}

.hero__visual {
  width: 100%;
  max-width: 420px;
  justify-self: end;
  padding-block: var(--sp-16);
}

.hero__slider {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
  border: 1px solid rgba(232,204,106,.35);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 50% 0%, rgba(232,204,106,.18), transparent 48%),
    var(--c-dark-800);
  box-shadow: var(--shadow-lg);
}

.hero__slider-track {
  position: relative;
  width: 100%;
  height: 100%;
  padding: var(--sp-6);
}

.hero__slide {
  position: absolute;
  inset: var(--sp-6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(232,204,106,.32);
  border-radius: var(--radius-md);
  background: var(--c-dark-800);
  overflow: hidden;
  opacity: 0;
  transform: scale(1.02);
  animation: hero-slide-switch 28s ease-out infinite;
}

.hero__slide:nth-child(1) { animation-delay: 0s; }
.hero__slide:nth-child(2) { animation-delay: 4s; }
.hero__slide:nth-child(3) { animation-delay: 8s; }
.hero__slide:nth-child(4) { animation-delay: 12s; }
.hero__slide:nth-child(5) { animation-delay: 16s; }
.hero__slide:nth-child(6) { animation-delay: 20s; }
.hero__slide:nth-child(7) { animation-delay: 24s; }

.hero__slide:first-child {
  opacity: 1;
  transform: scale(1);
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__slide--photo-04 img {
  object-position: 50% 42%;
}

.hero__slide--photo-05 img {
  object-position: 50% 48%;
}

@keyframes hero-slide-switch {
  0%, 12.5% {
    opacity: 1;
    transform: scale(1);
  }
  14.285%, 100% {
    opacity: 0;
    transform: scale(1.02);
  }
}

/* ---- 八角堂について（intro） ---- */
.about-intro {
  background: var(--bg);
}

.about-intro__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: center;
}

.about-intro__img-col {
  position: relative;
}

.about-intro__img-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(253,250,242,1);
}

.about-intro__img-frame::before {
  content: '';
  position: absolute;
  inset: -2px;
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  pointer-events: none;
  z-index: 1;
}

.about-intro__img {
  width: 100%;
  height: 480px;
  object-fit: contain;
  object-position: center;
  padding: var(--sp-10);
  background: rgba(253,250,242,1);
}

.about-intro__text-col {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
}

.about-intro__lead {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.7;
  color: var(--text);
}

.about-intro__body {
  line-height: 1.8;
  color: var(--text-muted);
}

.qualification-list {
  display: grid;
  gap: var(--sp-3);
}

.qualification-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2) var(--sp-4);
  padding: var(--sp-3) var(--sp-4);
  background: var(--c-gold-100);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm);
}

.qualification-list__name {
  font-weight: 700;
  color: var(--text);
}

.qualification-list__number {
  font-family: var(--font-sans);
  font-size: .875rem;
  font-weight: 700;
  color: var(--text-muted);
}

.qualification-list--dark {
  max-width: 640px;
  margin: 0 auto var(--sp-8);
}

.qualification-list--dark li {
  background: rgba(253,246,227,.08);
  border-color: rgba(232,204,106,.3);
  border-left-color: var(--gold-light);
}

.qualification-list--dark .qualification-list__name {
  color: var(--c-gold-100);
}

.qualification-list--dark .qualification-list__number {
  color: var(--c-gold-200);
}

/* ---- お悩み ---- */
.concern {
  background: var(--bg-alt);
}

.concern__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
  margin-bottom: var(--sp-12);
}

.concern__item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--sp-5) var(--sp-6);
  font-size: .9375rem;
  line-height: 1.65;
}

.concern__item-check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gold);
  position: relative;
  margin-top: 2px;
}

.concern__item-check::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%) rotate(45deg);
  width: 7px;
  height: 11px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
}

.concern__resolve {
  text-align: center;
  padding: var(--sp-10) var(--sp-8);
  background: var(--bg-dark);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-6);
}

.concern__resolve-text {
  font-size: 1.125rem;
  line-height: 1.7;
  color: #fdf6e3;
}

/* ---- 選ばれる理由 ---- */
.features {
  background: var(--bg);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

.features__grid .feature-card:nth-child(4),
.features__grid .feature-card:nth-child(5) {
  grid-column: span 1;
}

/* 4,5番目を中央寄せにするためのラッパー調整 */
@supports (display: grid) {
  .features__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--sp-8) var(--sp-6);
  position: relative;
  transition: box-shadow var(--ease), transform var(--ease);
}

.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.feature-card__num {
  font-family: var(--font-sans);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: var(--sp-4);
}

.feature-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--text);
  margin-bottom: var(--sp-3);
}

.feature-card__desc {
  font-size: .9375rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ---- 買取の流れ ---- */
.flow {
  background: var(--bg-dark);
  color: #fdf6e3;
}

.flow .section-label { color: var(--gold-light); }
.flow .section-title { color: #fdf6e3; }

.flow__steps {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  margin-bottom: var(--sp-8);
}

.flow__step {
  flex: 1;
  text-align: center;
}

.flow__step-num {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin-bottom: var(--sp-4);
}

.flow__step-num span {
  font-family: var(--font-sans);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .15em;
  color: var(--gold-light);
}

.flow__step-num strong {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--gold-light);
  line-height: 1;
}

.flow__step-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fdf6e3;
  margin-bottom: var(--sp-3);
}

.flow__step-desc {
  font-size: .875rem;
  line-height: 1.7;
  color: rgba(253,246,227,.75);
}

.flow__arrow {
  flex-shrink: 0;
  padding-top: var(--sp-5);
  color: var(--gold-light);
  opacity: .7;
}

.flow__note {
  text-align: center;
  font-size: .875rem;
  color: rgba(253,246,227,.65);
  padding: var(--sp-4) var(--sp-6);
  border: 1px solid rgba(232,204,106,.3);
  border-radius: var(--radius-sm);
  max-width: 480px;
  margin-inline: auto;
}

/* ---- 取扱品目 ---- */
.items {
  background: var(--bg-alt);
}

.items__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  margin-bottom: var(--sp-6);
}

.item-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--sp-6);
  transition: box-shadow var(--ease), transform var(--ease);
}

.item-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.item-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: rgba(253,250,242,1);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: var(--sp-4);
  overflow: hidden;
}

.item-card__logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.item-card__photo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 168px;
  margin-bottom: var(--sp-4);
  padding: var(--sp-4);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.item-card__photo-img {
  width: min(100%, 188px);
  max-height: 172px;
  object-fit: contain;
}

.item-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--sp-2);
  line-height: 1.5;
}

.item-card__desc {
  font-size: .875rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.items__note {
  font-size: .8125rem;
  color: var(--text-muted);
  text-align: center;
}

/* ---- 空き家整理 ---- */
.vacant-house {
  background: var(--bg-dark);
}

.vacant-house__inner {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.vacant-house .section-title {
  margin-bottom: var(--sp-6);
  color: var(--c-gold-100);
}

.vacant-house__body {
  max-width: 65ch;
  margin: 0 auto var(--sp-6);
  color: var(--c-gold-200);
}

/* ---- 取り扱い例 ---- */
.examples {
  background: var(--bg);
}

.examples__slider {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-alt);
  margin-bottom: var(--sp-6);
}

.examples__track {
  display: flex;
  width: max-content;
  gap: var(--sp-6);
  padding: var(--sp-6);
  animation: examples-slide var(--examples-slide-duration) linear infinite;
}

.examples__slide {
  flex: 0 0 clamp(220px, 24vw, 320px);
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 5;
  padding: var(--sp-3);
  background: linear-gradient(180deg, #fcf6e5 0%, #f7ebc9 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.examples__slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

@keyframes examples-slide {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - var(--sp-3))); }
}

.examples__note {
  font-size: .8125rem;
  color: var(--text-muted);
  text-align: center;
}

/* ---- FAQ ---- */
.faq {
  background: var(--bg-alt);
}

.faq__list {
  max-width: 760px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.faq__item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-5) var(--sp-6);
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  list-style: none;
  user-select: none;
  min-height: 60px;
  transition: color var(--ease), background var(--ease);
}

.faq__question::-webkit-details-marker { display: none; }

.faq__question:hover {
  color: var(--gold);
  background: var(--bg-alt);
}

.faq__question-text {
  flex: 1;
}

.faq__chevron {
  flex-shrink: 0;
  color: var(--gold);
  transition: transform 200ms ease-out;
}

.faq__item[open] .faq__chevron { transform: rotate(180deg); }
.faq__item[open] .faq__question { color: var(--gold); }

.faq__answer {
  padding: 0 var(--sp-6) var(--sp-5);
  font-size: .9375rem;
  line-height: 1.75;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}

.faq__answer p { padding-top: var(--sp-4); }

.faq__cta {
  max-width: 760px;
  margin: var(--sp-10) auto 0;
  padding: var(--sp-8);
  background: var(--bg-dark);
  border-radius: var(--radius-md);
  text-align: center;
}

.faq__cta-text {
  max-width: 65ch;
  margin: 0 auto var(--sp-6);
  color: #fdf6e3;
  font-size: 1.0625rem;
  line-height: 1.75;
}

/* ---- 会社概要テーブル ---- */
.about-table {
  background: var(--bg);
}

.about-table__wrap {
  max-width: 760px;
  margin-inline: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.about-table__table {
  width: 100%;
  border-collapse: collapse;
}

.about-table__table th,
.about-table__table td {
  padding: var(--sp-5) var(--sp-6);
  text-align: left;
  font-size: .9375rem;
  border-bottom: 1px solid var(--border);
}

.about-table__table tr:last-child th,
.about-table__table tr:last-child td {
  border-bottom: none;
}

.about-table__table th {
  width: 140px;
  font-weight: 700;
  color: var(--text);
  background: var(--bg-alt);
  white-space: nowrap;
}

.about-table__table td {
  color: var(--text-muted);
}

.about-table__license-list {
  display: grid;
  gap: var(--sp-2);
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-table__table td a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---- お問い合わせ ---- */
.contact {
  background: var(--bg-dark);
  color: #fdf6e3;
}

.contact .section-label { color: var(--gold-light); }
.contact .section-title { color: #fdf6e3; }

.contact__sub {
  margin-top: var(--sp-4);
  font-size: .9375rem;
  color: rgba(253,246,227,.75);
  text-align: center;
}

.contact__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-6);
  margin-bottom: 0;
}

.contact-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(232,204,106,.3);
  border-radius: var(--radius-md);
  padding: var(--sp-8) var(--sp-8);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
  text-align: center;
  transition: background var(--ease);
}

.contact-card:hover { background: rgba(255,255,255,.1); }

.contact-card__icon { color: var(--gold-light); }

.contact-card__title {
  font-family: var(--font-sans);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.contact-card__value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fdf6e3;
  overflow-wrap: anywhere;
}

.contact-card--tel .contact-card__value {
  font-size: 1.75rem;
  letter-spacing: .04em;
}

.contact-card__note {
  font-size: .8125rem;
  color: rgba(253,246,227,.6);
}

/* ---- フッター ---- */
.site-footer {
  background: var(--c-dark-900);
  color: rgba(253,246,227,.8);
}

.site-footer__top {
  padding-block: var(--sp-16);
  border-bottom: 1px solid rgba(232,204,106,.15);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: start;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.site-footer__logo {
  height: 100px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
}

.site-footer__tagline {
  font-size: .875rem;
  color: rgba(253,246,227,.6);
}

.site-footer__tel {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-light);
  transition: opacity var(--ease);
}
.site-footer__tel:hover { opacity: .8; }

.site-footer__hours {
  font-size: .8125rem;
  color: rgba(253,246,227,.5);
}

.site-footer__nav-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-1);
}

.site-footer__nav-list a {
  font-size: .875rem;
  color: rgba(253,246,227,.7);
  padding: var(--sp-2) 0;
  transition: color var(--ease);
}
.site-footer__nav-list a:hover { color: var(--gold-light); }

.site-footer__bottom {
  padding-block: var(--sp-5);
}

.site-footer__copy {
  text-align: center;
  font-size: .8125rem;
  color: rgba(253,246,227,.4);
}

/* ---- モバイル固定CTA ---- */
.fixed-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
}

.fixed-cta__tel,
.fixed-cta__form {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-height: 56px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  transition: opacity var(--ease);
}
.fixed-cta__tel:hover,
.fixed-cta__form:hover { opacity: .9; }

.fixed-cta__tel {
  background: var(--c-dark-800);
}

.fixed-cta__form {
  background: var(--gold);
}

/* ============================================================
   レスポンシブ
   ============================================================ */

@media (max-width: 1024px) {
  .site-header__inner { min-height: 88px; }
  .site-header__logo { flex-basis: 168px; justify-content: flex-start; }
  .site-header__nav { display: none; }
  .hamburger { display: flex; }
  .site-header__cta .btn { display: none; }

  .hero__container {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 0;
  }

  .hero__content {
    padding-block: var(--sp-16) var(--sp-8);
  }

  .hero__visual {
    max-width: 100%;
    justify-self: stretch;
    padding-block: 0 var(--sp-16);
  }

  .hero__slider {
    height: 360px;
  }

  .hero__slider-track {
    padding: var(--sp-5);
  }

  .hero__slide {
    inset: var(--sp-5);
  }

  .hero__slide img {
    object-position: center 42%;
  }

  .about-intro__inner {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }

  .about-intro__img { height: 320px; }

  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .items__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact__cards {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
    margin-bottom: var(--sp-10);
  }
}

@media (max-width: 768px) {
  :root { --examples-slide-duration: 56s; }

  .section-pad { padding-block: var(--sp-16); }

  .site-header__inner { padding-inline: var(--sp-4); }

  .section-header { margin-bottom: var(--sp-10); }

  .concern__grid {
    grid-template-columns: 1fr;
  }

  .flow__steps {
    flex-direction: column;
  }

  .flow__arrow {
    transform: rotate(90deg);
    padding: 0;
    align-self: center;
  }

  .features__grid,
  .items__grid {
    grid-template-columns: 1fr;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: var(--sp-10);
  }

  .site-footer__nav-list {
    grid-template-columns: 1fr;
  }

  .fixed-cta { display: flex; }

  .site-header__logo { flex-basis: auto; }
  .site-header__logo-tagline { display: block; }
  .site-header__logo-img { height: 56px; }
  .site-header__cta { margin-left: auto; }
  .site-header__tel { display: none; }

  /* モバイル時にフッターがCTAに重ならないようパディング追加 */
  .site-footer { padding-bottom: 56px; }

  .about-table__table th {
    width: 100px;
  }
}

@media (max-width: 480px) {
  .site-header__inner { min-height: 72px; }

  .site-header__logo {
    padding-inline: 0;
  }

  .site-header__logo-img { height: 52px; }

  .hero__title { font-size: 1.75rem; }

  .hero__actions {
    flex-direction: column;
  }

  .hero__slider {
    height: 300px;
  }

  .hero__slide {
    inset: var(--sp-4);
  }

  .hero__slide img {
    object-position: center 44%;
  }

  .hero__slide--photo-04 img {
    object-position: 50% 38%;
  }

  .hero__slide--photo-05 img {
    object-position: 50% 46%;
  }

  .about-table__table th,
  .about-table__table td {
    display: block;
    width: 100%;
  }

  .about-table__table th {
    border-bottom: none;
    padding-bottom: var(--sp-2);
  }
}
