/* ============================================================
   shared.css — 住まいドクタースマイル様
   re-loop.jp インスパイア エディトリアルデザイン
   ネイビー(#1B3A6B) × オレンジ(#E8720C)
   ============================================================ */

/* ============================================================
   変数
   ============================================================ */
:root {
  --bg:           #FFFFFF;
  --bg-2:         #F4F6F8;
  --ink:          #111827;
  --ink-soft:     #4A5568;
  --accent:       #E8720C;
  --accent-faded: rgba(232,114,12,.12);
  --navy:         #1B3A6B;
  --navy-dark:    #0D1E3D;
  --navy-2:       #2A4F8F;
  --muted:        #8896A8;
  --cream:        #F8FAFC;
  --line:         rgba(27,58,107,.1);
  --header-bg:    #1B3A6B;
  --sans:         'Outfit', sans-serif;
  --sans-jp:      'Noto Sans JP', sans-serif;
  --ease-out:     cubic-bezier(.22, 1, .36, 1);
  --ease-std:     cubic-bezier(.25, .46, .45, .94);
  --max:          1160px;
  --sb-w:         60px;   /* sidebar width */
}

/* ============================================================
   リセット・基盤
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans-jp);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
}

/* ============================================================
   ページローダー
   ============================================================ */
#page-loader {
  position: fixed; inset: 0;
  background: var(--navy-dark);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  transition: opacity .6s ease, visibility .6s ease;
}
#page-loader.fade-out { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-stamp {
  width: 72px; height: 72px;
  animation: ld-stamp .7s var(--ease-out) both, ld-pulse 2.4s ease-in-out .7s infinite;
}
.loader-name {
  font-family: var(--sans-jp);
  font-size: 14px;
  letter-spacing: .24em;
  color: rgba(255,255,255,.7);
  animation: ld-rise .5s ease .25s both;
}
.loader-dots {
  display: flex; gap: 8px;
  animation: ld-rise .5s ease .4s both;
}
.loader-dots span {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  animation: ld-bounce .9s ease-in-out infinite;
}
.loader-dots span:nth-child(2) { animation-delay: .18s; }
.loader-dots span:nth-child(3) { animation-delay: .36s; }
@keyframes ld-stamp {
  from { opacity:0; transform:scale(.5) rotate(-10deg); }
  to   { opacity:1; transform:scale(1) rotate(0); }
}
@keyframes ld-pulse {
  0%,100% { transform:scale(1); }
  50%     { transform:scale(1.05); }
}
@keyframes ld-rise {
  from { opacity:0; transform:translateY(10px); }
  to   { opacity:1; transform:translateY(0); }
}
@keyframes ld-bounce {
  0%,80%,100% { transform:translateY(0); opacity:.3; }
  40%         { transform:translateY(-8px); opacity:1; }
}

/* ============================================================
   左サイドバー
   ============================================================ */
.sidebar {
  position: fixed;
  left: 0; top: 0; bottom: 0;
  width: var(--sb-w);
  background: var(--navy-dark);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-right: 1px solid rgba(232,114,12,.15);
}
.sb-brand {
  width: 100%;
  height: var(--sb-w);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.sb-brand-inner {
  width: 34px; height: 34px;
  background: var(--accent);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  transition: transform .3s var(--ease-out);
}
.sb-brand:hover .sb-brand-inner { transform: scale(1.08); }

.sb-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 24px 0;
}
.sb-link {
  display: block;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .28em;
  color: rgba(255,255,255,.35);
  text-transform: uppercase;
  transition: color .3s;
}
.sb-link:hover { color: var(--accent); }

.sb-contact {
  width: 100%;
  border-top: 1px solid rgba(255,255,255,.06);
  flex-shrink: 0;
  padding: 14px 0 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.sb-tel-icon {
  font-size: 16px;
  line-height: 1;
}
.sb-tel-label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--sans);
  font-size: 8px;
  letter-spacing: .2em;
  color: rgba(255,255,255,.3);
  text-transform: uppercase;
}

/* ============================================================
   ページラッパー（サイドバー分オフセット）
   ============================================================ */
.page-wrap {
  margin-left: var(--sb-w);
}

/* ============================================================
   トップナビ（モバイル専用 / デスクトップでは簡易表示）
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: var(--sb-w);
  right: 0;
  z-index: 100;
  background: transparent;
  transition: background .4s var(--ease-std), box-shadow .4s var(--ease-std);
}
.nav.scrolled {
  background: rgba(13,30,61,.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(232,114,12,.15);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  flex: 1;
}
.nav-brand-icon { font-size: 20px; }
.nav-brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.nav-brand-ja-txt {
  font-family: var(--sans-jp);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  letter-spacing: .04em;
}
.nav-brand .en {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: .22em;
  color: rgba(255,255,255,.5);
}

/* デスクトップではリンクをサイドバーへ移動 */
.nav-links { display: none; }

.btn-nav {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 9px 18px;
  border-radius: 3px;
  font-family: var(--sans-jp);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  transition: background .25s;
  white-space: nowrap;
  flex-shrink: 0;
}
.btn-nav:hover { background: #C85E08; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all .3s;
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

.nav-mobile-menu {
  background: var(--navy-dark);
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease-std);
  border-top: 1px solid rgba(232,114,12,.1);
}
.nav-mobile-menu.open { max-height: 420px; }
.nav-mobile-menu ul { padding: 12px 24px 20px; }
.nav-mobile-menu li { border-bottom: 1px solid rgba(255,255,255,.06); }
.nav-mobile-link {
  display: block;
  padding: 13px 0;
  font-family: var(--sans-jp);
  font-size: 13px;
  color: rgba(255,255,255,.85);
  letter-spacing: .06em;
}
.nav-mobile-tel { color: var(--accent) !important; font-weight: 700; }

/* ============================================================
   Reveal アニメーション（クリップリビール）
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .85s var(--ease-out), transform .85s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: none; }

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal-stagger > *.visible { opacity: 1; transform: none; }
.reveal-stagger > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger > *:nth-child(2) { transition-delay: .1s; }
.reveal-stagger > *:nth-child(3) { transition-delay: .2s; }
.reveal-stagger > *:nth-child(4) { transition-delay: .3s; }
.reveal-stagger > *:nth-child(5) { transition-delay: .4s; }
.reveal-stagger > *:nth-child(6) { transition-delay: .5s; }

/* ラインドロー */
.line-draw {
  position: relative;
  display: block;
  height: 1px;
  background: var(--line);
  overflow: hidden;
}
.line-draw::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s var(--ease-out);
}
.line-draw.visible::after { transform: scaleX(1); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--navy-dark);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* CMS 写真背景 */
.hero-photo-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.8s ease;
  z-index: 0;
}
.hero-photo-bg.visible { opacity: .32; }

/* グラデーションオーバーレイ */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right,  rgba(13,30,61,.92) 0%, rgba(13,30,61,.55) 60%, transparent 100%),
    linear-gradient(to top,    rgba(13,30,61,.98) 0%, rgba(13,30,61,.4) 50%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

/* グリッドテクスチャ */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(232,114,12,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232,114,12,.03) 1px, transparent 1px);
  background-size: 72px 72px;
  z-index: 1;
  pointer-events: none;
}

/* 写真コラージュ（右側装飾） */
.hero-photo-collage {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 42%;
  z-index: 1;
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 0;
  opacity: 0;
  transition: opacity 1.4s ease .3s;
  pointer-events: none;
}
.hero-photo-collage.loaded { opacity: 1; }
.hpc-top, .hpc-btm {
  background-size: cover;
  background-position: center;
  position: relative;
}
.hpc-top::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, transparent, rgba(13,30,61,.7));
}
.hpc-btm::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, transparent, rgba(13,30,61,.8));
}
.hpc-label {
  position: absolute;
  bottom: 14px;
  right: 20px;
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: .36em;
  color: rgba(255,255,255,.35);
  text-transform: uppercase;
  z-index: 2;
}

/* メインコンテンツ（テキスト） */
.hero-inner {
  position: relative;
  z-index: 2;
  padding-top: 60px;
  padding-bottom: 80px;
  max-width: 700px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .44em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

.hero-h1 {
  font-family: var(--sans-jp);
  font-size: clamp(52px, 7.5vw, 88px);
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  letter-spacing: .04em;
  margin-bottom: 36px;
  overflow: hidden;
}
.hero-h1-line {
  display: block;
  overflow: hidden;
}
.hero-h1-line-inner {
  display: block;
  transform: translateY(110%);
  transition: transform .9s var(--ease-out);
}
.hero-h1-line-inner.in { transform: translateY(0); }
.hero-h1-line:nth-child(2) .hero-h1-line-inner { transition-delay: .12s; }

.hero-rule {
  width: 60px;
  height: 2px;
  background: var(--accent);
  margin-bottom: 28px;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform .8s var(--ease-out) .3s;
}
.hero-rule.in { transform: scaleX(1); }

.hero-subs {
  margin-bottom: 40px;
}
.h-sub {
  font-family: var(--sans-jp);
  font-size: 14px;
  color: rgba(255,255,255,.72);
  letter-spacing: .06em;
  padding-left: 14px;
  border-left: 2px solid rgba(232,114,12,.5);
  margin-bottom: 6px;
  line-height: 1.7;
}

.h-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

/* ヒーロー統計バー */
.hero-stats-bar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0;
  padding: 24px 40px;
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(13,30,61,.4);
  backdrop-filter: blur(6px);
}
.hero-stat {
  flex: 1;
  text-align: center;
  padding: 0 24px;
}
.hero-stat:not(:last-child) {
  border-right: 1px solid rgba(255,255,255,.1);
}
.h-meta-num {
  display: block;
  font-family: var(--sans);
  font-size: 26px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}
.h-meta-num small { font-size: 13px; margin-left: 2px; }
.h-meta-label {
  font-family: var(--sans-jp);
  font-size: 11px;
  color: rgba(255,255,255,.5);
  letter-spacing: .1em;
}

/* スクロールインジケーター（縦ライン） */
.hero-scroll {
  position: absolute;
  right: 36px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 3;
}
.hero-scroll-line {
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--accent), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%,100% { opacity: .4; transform: scaleY(.7); }
  50%     { opacity: 1;  transform: scaleY(1); }
}
.hero-scroll span {
  font-family: var(--sans);
  font-size: 8px;
  letter-spacing: .4em;
  color: rgba(255,255,255,.3);
  text-transform: uppercase;
  writing-mode: vertical-rl;
  animation: smooth-blink 2s infinite ease-in-out;
}
@keyframes smooth-blink {
  0%,100% { opacity: 1; }
  25%      { opacity: .7; }
  50%      { opacity: .3; }
  75%      { opacity: .7; }
}

/* ヒーロー スライドショーインジケーター（grandereverie.jp インスパイア） */
.hero-indicator {
  position: absolute;
  left: 40px;
  bottom: 200px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 16px;
}
.hero-slide-counter {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: .22em;
  color: rgba(255,255,255,.38);
}
.hero-slide-counter .current { color: rgba(255,255,255,.7); }
.hero-progress-track {
  width: 72px;
  height: 1px;
  background: rgba(255,255,255,.15);
  position: relative;
  overflow: hidden;
}
.hero-progress-fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  background: var(--accent);
  width: 0%;
}

/* ボタン */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  font-family: var(--sans-jp);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  transition: all .3s var(--ease-std);
  cursor: pointer;
  white-space: nowrap;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  border: 2px solid var(--accent);
}
.btn-primary:hover {
  background: #C85E08;
  border-color: #C85E08;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,114,12,.35);
}
.btn-outline-white {
  background: transparent;
  color: rgba(255,255,255,.85);
  border: 1.5px solid rgba(255,255,255,.4);
}
.btn-outline-white:hover {
  border-color: #fff;
  color: #fff;
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid rgba(27,58,107,.4);
}
.btn-outline:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  transform: translateY(-2px);
}
.btn-ripple-wave {
  position: absolute;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  transform: translate(-50%, -50%);
  animation: ripple-spread .7s ease-out forwards;
  pointer-events: none;
}
@keyframes ripple-spread { to { width: 300px; height: 300px; opacity: 0; } }

/* ============================================================
   エディトリアルセクション共通
   ============================================================ */
.ed-sec {
  padding: 120px 0;
  border-top: 1px solid var(--line);
}
.ed-sec:first-of-type { border-top: none; }

.ed-grid {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 0 72px;
  align-items: start;
}

.ed-aside {
  position: sticky;
  top: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding-top: 6px;
}
.ed-num {
  font-family: var(--sans);
  font-size: 52px;
  font-weight: 300;
  color: rgba(27,58,107,.08);
  line-height: 1;
  letter-spacing: -.02em;
}
.ed-vline {
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, var(--accent), transparent);
}
.ed-en {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .32em;
  color: var(--accent);
  text-transform: uppercase;
}

/* セクション見出し共通 */
.sec-head { margin-bottom: 52px; }
.sec-head-left { text-align: left; }
.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .4em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--sans-jp);
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 14px;
}
.section-subtitle {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .32em;
  color: var(--muted);
}
.sec-line {
  display: block;
  margin: 20px 0 0;
  height: 1px;
  background: var(--accent);
  width: 40px;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about { background: var(--bg); }

.about-paras p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 2;
  margin-bottom: 20px;
}
.about-quote {
  margin: 36px 0;
  padding: 20px 28px;
  border-left: 3px solid var(--accent);
  background: var(--bg-2);
  font-family: var(--sans-jp);
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  font-style: normal;
  letter-spacing: .08em;
  border-radius: 0 4px 4px 0;
}

.about-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 40px;
}
.about-photo {
  aspect-ratio: 4/3;
  border-radius: 4px;
  background: var(--bg-2);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  position: relative;
}
.about-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(13,30,61,.3));
}

/* ============================================================
   MENU / SERVICE
   ============================================================ */
.menu-sec { background: var(--bg-2); }

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.menu-card {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.menu-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(27,58,107,.12);
}
.menu-card-img {
  height: 180px;
  background: var(--bg-2);
  background-size: cover;
  background-position: center;
}
.menu-card-img.no-img {
  background: linear-gradient(135deg, rgba(27,58,107,.07), rgba(232,114,12,.05));
}
.menu-card-body { padding: 22px 20px 24px; }
.menu-badge {
  display: inline-block;
  padding: 2px 10px;
  background: var(--accent);
  color: #fff;
  font-family: var(--sans-jp);
  font-size: 10px;
  font-weight: 700;
  border-radius: 2px;
  letter-spacing: .08em;
  margin-bottom: 10px;
}
.menu-card-name {
  font-family: var(--sans-jp);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: .04em;
}
.menu-card-price {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 8px;
}
.menu-card-desc {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.75;
}

/* スケルトン */
.menu-skel {
  min-height: 280px;
  border-radius: 4px;
  background: rgba(27,58,107,.04);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.menu-skel::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(27,58,107,.06) 40%,
    rgba(27,58,107,.1) 50%,
    rgba(27,58,107,.06) 60%,
    transparent 100%);
  background-size: 250% 100%;
  animation: skel-shimmer 1.8s ease-in-out infinite;
}
@keyframes skel-shimmer {
  0%   { background-position: 250% 0; }
  100% { background-position: -250% 0; }
}

/* ============================================================
   FEATURES
   ============================================================ */
.features { background: var(--bg); }

.features-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
.feature-item {
  padding: 40px 40px 40px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 0 24px;
  align-items: start;
}
.feature-item:nth-child(odd) { border-right: 1px solid var(--line); padding-right: 40px; }
.feature-item:nth-child(even) { padding-left: 40px; }
.feature-item:nth-last-child(1),
.feature-item:nth-last-child(2) { border-bottom: none; }

.feature-num {
  font-family: var(--sans);
  font-size: 36px;
  font-weight: 300;
  color: rgba(27,58,107,.1);
  line-height: 1;
  letter-spacing: -.02em;
  padding-top: 4px;
}
.feature-content { }
.feature-title {
  font-family: var(--sans-jp);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: .04em;
  position: relative;
  padding-left: 16px;
}
.feature-title::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 3px; height: 16px;
  background: var(--accent);
  border-radius: 2px;
}
.feature-desc {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.85;
}

/* ============================================================
   FOR YOU
   ============================================================ */
.for-you { background: var(--navy-dark); }
.for-you .section-title { color: #fff; }
.for-you .eyebrow { color: var(--accent); }

.for-you-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.06);
}
.for-you-card {
  background: rgba(27,58,107,.3);
  padding: 36px 32px;
  transition: background .3s;
}
.for-you-card:hover { background: rgba(27,58,107,.55); }
.for-you-icon {
  font-size: 28px;
  margin-bottom: 14px;
  display: block;
}
.for-you-card h3 {
  font-family: var(--sans-jp);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: .04em;
  line-height: 1.5;
}
.for-you-card p {
  font-size: 13px;
  color: rgba(255,255,255,.6);
  line-height: 1.85;
}
.for-you-cta {
  text-align: center;
  margin-top: 52px;
}

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews-sec { background: var(--bg-2); }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  gap: 18px;
  align-items: stretch;
}
.review-skel {
  height: 280px;
  border-radius: 4px;
  background: rgba(27,58,107,.04);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.review-skel::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg,
    transparent 0%, rgba(27,58,107,.06) 40%, rgba(27,58,107,.1) 50%,
    rgba(27,58,107,.06) 60%, transparent 100%);
  background-size: 250% 100%;
  animation: skel-shimmer 1.8s ease-in-out infinite;
}
.review {
  background: #fff;
  border-radius: 4px;
  border: 1px solid var(--line);
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 280px;
  transition: box-shadow .3s;
}
.review:hover { box-shadow: 0 12px 32px rgba(27,58,107,.1); }
.review .stars {
  color: #F59E0B;
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.review .body {
  flex: 1;
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.85;
  display: -webkit-box;
  -webkit-line-clamp: 8;
  line-clamp: 8;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
  margin-bottom: 16px;
}
.review .meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.review .name {
  font-family: var(--sans-jp);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
}
.review .date {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .1em;
}
.review-cta {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--navy) !important;
  color: #fff !important;
  gap: 12px;
  cursor: pointer;
  transition: background .3s !important;
}
.review-cta:hover { background: var(--navy-2) !important; }
.review-cta-stars { font-size: 18px; letter-spacing: 3px; color: #F59E0B; }
.review-cta-msg {
  font-family: var(--sans-jp);
  font-size: 13px;
  color: rgba(255,255,255,.8);
  line-height: 1.7;
}
.review-cta-link {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--accent);
  text-transform: uppercase;
}

/* ============================================================
   BLOG
   ============================================================ */
#blog { background: var(--bg); }

.wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.wall.cms-loading {
  min-height: 200px;
  opacity: .5;
}
.blog-card {
  display: block;
  cursor: pointer;
}
.blog-card .image {
  aspect-ratio: 3/2;
  overflow: hidden;
  border-radius: 4px;
  background: var(--bg-2);
  margin-bottom: 14px;
  position: relative;
}
.blog-card .image img {
  transition: transform .5s var(--ease-out);
}
.blog-card:hover .image img { transform: scale(1.06); }
.blog-card .body { }
.blog-card .date {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .2em;
  color: var(--muted);
  display: block;
  margin-bottom: 6px;
}
.blog-card .cap {
  font-family: var(--sans-jp);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.55;
  margin-bottom: 8px;
  letter-spacing: .03em;
}
.blog-card:hover .cap { color: var(--accent); }
.blog-card .cta-lbl {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .2em;
  color: var(--accent);
  display: block;
}
a.blog-card { text-decoration: none; color: inherit; }

/* テープアクセント（skill 必須） */
.tape {
  display: block;
  width: 28px; height: 4px;
  background: var(--accent);
  margin-bottom: 12px;
  border-radius: 1px;
  flex-shrink: 0;
}

/* Googleクチコミ もっとみるボタン */
.reviews-more-wrap {
  text-align: center;
  margin-top: 40px;
}
.btn-reviews-more {
  display: inline-block;
  padding: 14px 40px;
  border: 1.5px solid rgba(27,58,107,.3);
  color: var(--navy);
  font-family: var(--sans-jp);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  border-radius: 2px;
  transition: all .3s var(--ease-std);
  text-decoration: none;
}
.btn-reviews-more:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(27,58,107,.2);
}

/* ============================================================
   ACCESS
   ============================================================ */
.access-sec { background: var(--bg-2); }

.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.access-map-embed {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.access-map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.access-info { }
.access-detail {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.access-detail:last-child { border-bottom: none; }
.access-detail h3 {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .3em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.access-detail p {
  font-family: var(--sans-jp);
  font-size: 15px;
  color: var(--ink);
  line-height: 1.8;
}
.access-tel {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .04em;
}
.access-tel:hover { color: var(--accent); }
.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
.hours-table th {
  width: 40px;
  font-family: var(--sans-jp);
  font-weight: 600;
  color: var(--ink);
  padding: 5px 12px 5px 0;
  text-align: left;
}
.hours-table td {
  color: var(--ink-soft);
  padding: 5px 0;
}
.hours-table tr.closed th,
.hours-table tr.closed td { color: var(--muted); }
.hours-note {
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted);
}

/* ============================================================
   SNS
   ============================================================ */
.sns-sec { background: var(--bg); }

.sns-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.sns-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: 4px;
  transition: all .3s var(--ease-out);
}
.sns-card:hover {
  border-color: var(--accent);
  transform: translateX(4px);
}
.sns-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sns-ig { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); color: #fff; }
.sns-fb { background: #1877F2; color: #fff; }
.sns-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sns-platform {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .2em;
  color: var(--muted);
  text-transform: uppercase;
}
.sns-handle {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.sns-desc { font-size: 12px; color: var(--muted); }
.sns-arrow {
  font-family: var(--sans);
  font-size: 18px;
  color: var(--muted);
  transition: color .3s, transform .3s;
}
.sns-card:hover .sns-arrow { color: var(--accent); transform: translateX(4px); }

/* ============================================================
   ESTIMATE / DELIVERY
   ============================================================ */
.estimate-sec { background: var(--navy-dark); }
.estimate-sec .section-title,
.estimate-sec .eyebrow,
.estimate-sec .section-subtitle { color: rgba(255,255,255,.9); }
.estimate-sec .eyebrow { color: var(--accent); }

.estimate-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 4px;
  overflow: hidden;
}
.estimate-card {
  background: rgba(27,58,107,.25);
  padding: 44px 36px;
  transition: background .3s;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.estimate-card:hover { background: rgba(27,58,107,.5); }
.estimate-num {
  font-family: var(--sans);
  font-size: 48px;
  font-weight: 300;
  color: rgba(232,114,12,.3);
  line-height: 1;
  letter-spacing: -.02em;
}
.estimate-title {
  font-family: var(--sans-jp);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  letter-spacing: .04em;
}
.estimate-desc {
  font-size: 13.5px;
  color: rgba(255,255,255,.6);
  line-height: 1.85;
  flex: 1;
}
.btn-estimate {
  display: inline-block;
  padding: 10px 22px;
  border: 1px solid rgba(232,114,12,.5);
  color: var(--accent);
  font-family: var(--sans-jp);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  border-radius: 2px;
  transition: all .3s;
  margin-top: auto;
  text-align: center;
}
.btn-estimate:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-sec { background: var(--bg-2); }

.faq-list { }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  width: 100%;
  padding: 22px 0;
  font-family: var(--sans-jp);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: .04em;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color .25s;
}
.faq-q:hover { color: var(--accent); }
.faq-q::after {
  content: '+';
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 300;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform .35s var(--ease-out);
  line-height: 1;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease-std), padding .4s var(--ease-std);
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.9;
}
.faq-item.open .faq-a {
  max-height: 200px;
  padding-bottom: 24px;
}

/* ============================================================
   CTA
   ============================================================ */
.cta {
  background: var(--navy);
  padding: 0;
}
.cta-box {
  padding: 100px 0;
  text-align: center;
  position: relative;
}
.cta-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 50% 50%, rgba(232,114,12,.06), transparent);
  pointer-events: none;
}
.cta-eyebrow {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .44em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.cta-box h2 {
  font-family: var(--sans-jp);
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: .06em;
  line-height: 1.4;
}
.cta-sub {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: .24em;
  color: var(--accent);
  margin-bottom: 12px;
  text-transform: uppercase;
}
.cta-note {
  font-family: var(--sans-jp);
  font-size: 13px;
  color: rgba(255,255,255,.55);
  margin-bottom: 44px;
  line-height: 1.9;
}
.cta-box .actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-cta-primary {
  background: var(--accent);
  color: #fff;
  border: 2px solid var(--accent);
  padding: 16px 40px;
  font-size: 15px;
  border-radius: 2px;
}
.btn-cta-primary:hover {
  background: #C85E08;
  border-color: #C85E08;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(232,114,12,.4);
}
.btn-cta-outline {
  background: transparent;
  color: rgba(255,255,255,.8);
  border: 1.5px solid rgba(255,255,255,.3);
  padding: 16px 40px;
  font-size: 15px;
  border-radius: 2px;
}
.btn-cta-outline:hover {
  border-color: #fff;
  color: #fff;
  transform: translateY(-2px);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy-dark);
  padding: 72px 0 0;
  border-top: 1px solid rgba(232,114,12,.15);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.footer-name {
  font-family: var(--sans-jp);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
  letter-spacing: .04em;
}
.footer-en {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .22em;
  color: rgba(255,255,255,.3);
  margin-bottom: 18px;
  text-transform: uppercase;
}
.footer-addr, .footer-hours {
  font-family: var(--sans-jp);
  font-size: 12px;
  color: rgba(255,255,255,.45);
  line-height: 1.9;
}
.footer-tel {
  font-family: var(--sans);
  font-size: 14px;
  color: rgba(255,255,255,.6);
  margin-top: 4px;
  display: block;
}
.footer-tel:hover { color: var(--accent); }
.footer-links h4 {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .3em;
  color: rgba(255,255,255,.3);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-family: var(--sans-jp);
  font-size: 13px;
  color: rgba(255,255,255,.5);
  transition: color .25s;
}
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-copy {
  font-family: var(--sans-jp);
  font-size: 11px;
  color: rgba(255,255,255,.25);
  letter-spacing: .1em;
}
.produced-by {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .22em;
  color: rgba(255,255,255,.2);
  text-transform: uppercase;
}
.produced-by a {
  color: rgba(255,255,255,.35);
  transition: color .25s;
}
.produced-by a:hover { color: var(--accent); }

/* ============================================================
   ヒーロー入場アニメーション初期状態
   ============================================================ */
.hero-anim-1 {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.hero-anim-3 {
  opacity: 0;
  transition: opacity .6s var(--ease-out) .3s;
}
.hero-anim-4 {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .7s var(--ease-out) .45s, transform .7s var(--ease-out) .45s;
}
.hero-anim-5 {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s var(--ease-out) .6s, transform .7s var(--ease-out) .6s;
}
.hero-anim-6 {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease-out) .8s, transform .8s var(--ease-out) .8s;
}
.hero-anim-1.in,
.hero-anim-3.in,
.hero-anim-4.in,
.hero-anim-5.in,
.hero-anim-6.in { opacity: 1; transform: none; }

/* ============================================================
   レスポンシブ
   ============================================================ */
@media (max-width: 1080px) {
  .ed-grid { grid-template-columns: 100px 1fr; gap: 0 48px; }
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
  .wall { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  /* サイドバー非表示・ナビ表示 */
  .sidebar { display: none; }
  .page-wrap { margin-left: 0; }
  .nav { left: 0; }
  .nav-toggle { display: flex; }
  .container { padding: 0 24px; }
  .ed-sec { padding: 80px 0; }
  .ed-grid { grid-template-columns: 1fr; gap: 32px 0; }
  .ed-aside {
    position: static;
    flex-direction: row;
    gap: 16px;
    align-items: center;
    padding: 0;
  }
  .ed-num { font-size: 32px; }
  .ed-vline { width: 40px; height: 1px; }
  .ed-en { writing-mode: horizontal-tb; transform: none; }
  .features-list { grid-template-columns: 1fr; }
  .feature-item { padding: 28px 0 !important; border-right: none !important; border-left: none !important; padding-left: 0 !important; }
  .feature-item:nth-last-child(1),
  .feature-item:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .feature-item:last-child { border-bottom: none; }
  .access-grid { grid-template-columns: 1fr; }
  .sns-grid { grid-template-columns: 1fr; }
  .estimate-grid { grid-template-columns: 1fr; border-radius: 0; }
  .hero-stats-bar { flex-wrap: wrap; gap: 16px; padding: 20px 24px; }
  .hero-stat { flex: 1 1 calc(33% - 16px); border-right: none !important; }
  .hero-stats-bar .hero-stat:not(:last-child) {
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .hero-photo-collage { display: none; }
  .hero-scroll { display: none; }
  .about-photos { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .hero-h1 { font-size: clamp(40px, 12vw, 60px); }
  .hero-inner { padding-bottom: 40px; }
  .hero-stats-bar { display: none; }
  .h-actions { flex-direction: column; }
  .h-actions .btn { width: 100%; justify-content: center; }
  .menu-grid { grid-template-columns: 1fr; }
  .for-you-grid { grid-template-columns: 1fr; gap: 1px; }
  .reviews-grid { grid-template-columns: 1fr; }
  .wall { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .estimate-sec .section-title,
  .for-you .section-title { font-size: 24px; }
  .cta-box { padding: 72px 0; }
  .cta-box .actions { flex-direction: column; }
  .cta-box .actions .btn { width: 100%; justify-content: center; }
  .about-photos { grid-template-columns: 1fr; }
}

@media (max-width: 400px) {
  .wall { grid-template-columns: 1fr; }
}

/* ============================================================
   モバイル横スクロール（クチコミ・ブログ — skill 必須）
   ============================================================ */
@media (max-width: 600px) {
  .reviews-grid {
    display: flex; flex-wrap: nowrap;
    overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 14px; padding: 0 2px 16px;
    scrollbar-width: none;
    grid-template-columns: unset; grid-auto-rows: unset;
  }
  .reviews-grid::-webkit-scrollbar { display: none; }
  .review, .review-skel, .review-cta {
    flex: 0 0 82vw; max-width: 300px;
    scroll-snap-align: start; height: auto; min-height: 240px;
  }
  .wall {
    display: flex; flex-wrap: nowrap;
    overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 14px; padding: 0 2px 16px;
    scrollbar-width: none; grid-template-columns: unset;
  }
  .wall::-webkit-scrollbar { display: none; }
  .blog-card, a.blog-card {
    flex: 0 0 78vw; max-width: 280px;
    scroll-snap-align: start; min-width: 0;
  }
  .hero-indicator { display: none; }
}
