/* ══════════════════════════════
   RESET & BASE
══════════════════════════════ */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html, body { overflow-x:hidden; }
body {
  font-family: 'Zen Maru Gothic', sans-serif;
  background: #fdf8f0;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

:root {
  --orange:   #8bbf40;
  --orange-d: #6f9933;
  --green:    #6a9e70;
  --green-d:  #4a7a52;
  --yellow:   #f0b840;
  --cream:    #fdf8f0;
  --text:     #3a2e22;
  --text-mid: #7a6a58;
  --hdr-h:    100px;      /* header height */
}

/* ══════════════════════════════
   HEADER  — flush to top, full width, always visible
══════════════════════════════ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--hdr-h);
  z-index: 200;
  border-radius: 0;

  display: flex;
  justify-content: center;
  align-items: stretch;

  background: rgba(253,248,240,0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}
.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
}

/* ── Nav groups ── */
.nav-group {
  display: flex;
  justify-content: center;
  align-items: stretch;
  list-style: none;
}

.nav-group li {
  flex: 0 0 auto;
}

.nav-group li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 18px 0 14px;
  width: 110px;
  text-decoration: none;
  border-left: 1px solid rgba(58,46,34,0.08);
  position: relative;
  transition: background .22s;
  border-radius: 0;
}
.nav-group.right li:last-child a {
  border-right: 1px solid rgba(58,46,34,0.08);
  border-radius: 0;
}
.nav-group.left li:first-child a {
  border-radius: 0;
}
.nav-group li a:hover { background: rgba(139,191,64,0.06); }

/* bottom accent line on hover */
.nav-group li a::after {
  content: '';
  position: absolute;
  bottom: 6px; left: 20%; right: 20%;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform .25s;
  border-radius: 2px;
}
.nav-group li a:hover::after { transform: scaleX(1); }

/* Nav icon — always orange */
.nav-icon {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nav-icon svg { width: 26px; height: 26px; }
.nav-group li a:hover .nav-icon svg { opacity: 0.75; }

/* Nav text — always brown */
.nav-ja {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;
  line-height: 1;
  color: var(--text);
}
.nav-en { display: none; }

/* ── Center Logo ── */
.header-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0 28px;
  text-decoration: none;
  border-left: 1px solid rgba(58,46,34,0.08);
  border-right: 1px solid rgba(58,46,34,0.08);
}

.logo-emblem {
  width: 44px; height: 44px;
}

.logo-ja {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  white-space: nowrap;
  color: var(--green-d);
  line-height: 1;
}
.logo-en {
  font-family: 'Cormorant Garamond', serif;
  font-size: 9px;
  font-style: italic;
  letter-spacing: 0.2em;
  color: var(--text-mid);
  line-height: 1;
}


/* ══════════════════════════════
   FV WRAPPER — exactly 100vh, no scroll needed
══════════════════════════════ */
.fv {
  position: relative;
  width: 100%;
  height: 768px;
  background: var(--cream);
}

/* ── Main image area — centered accounting for side elements ── */
.fv-stage {
  position: absolute;
  /* left edge: after counter area (160px) */
  left: 160px;
  /* right edge: before float buttons (72px) */
  right: 72px;
  top: calc(var(--hdr-h) + 20px);
  bottom: 28px;
}

/* Image fills the stage */
.fv-stage-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 52px rgba(0,0,0,0.14), 0 4px 14px rgba(0,0,0,0.08);
}

/* ── Slide images ── */
.slide {
  position: absolute; inset: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.slide.active { opacity: 1; }

/* The coloured panel (would be a real photo) */
.slide-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transform-origin: center center;
  /* Ken Burns — each slide zooms in or out */
  animation: none;
}
.slide.active .slide-bg { animation: kenburns 7s ease-in-out forwards; }

@keyframes kenburns {
  0%   { transform: scale(1.0) translate(0, 0); }
  100% { transform: scale(1.12) translate(-1%, -1%); }
}

/* Alternate direction for variety */
.slide:nth-child(2n).active .slide-bg {
  animation: kenburns-r 7s ease-in-out forwards;
}
@keyframes kenburns-r {
  0%   { transform: scale(1.12) translate(1%, 1%); }
  100% { transform: scale(1.0) translate(0, 0); }
}

.slide-1 .slide-bg, .slide-2 .slide-bg, .slide-3 .slide-bg { background-color: #c8d8c0; }

/* subtle vignette over image */
.fv-stage-inner::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(0,0,0,0.15) 0%,
      rgba(0,0,0,0.0)  30%,
      rgba(0,0,0,0.0)  45%,
      rgba(0,0,0,0.65) 100%   /* stronger dark at bottom for copy legibility */
    );
  pointer-events: none;
  z-index: 5;
  border-radius: 20px;
}


/* ══════════════════════════════
   SLIDE COUNTER  (left of image)
══════════════════════════════ */
.slide-counter-wrap {
  position: absolute;
  left: 90px;
  top: calc(var(--hdr-h) + 20px);
  bottom: 28px;
  width: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  z-index: 20;
}

.counter-current {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
  letter-spacing: 0.02em;
}
.counter-sep {
  width: 1px;
  height: 28px;
  background: linear-gradient(to bottom, var(--orange), rgba(106,158,112,0.4));
}
.counter-total {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-mid);
  line-height: 1;
  letter-spacing: 0.04em;
}

/* Dots below counter */
.counter-dots {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 6px;
}
.cdot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(106,158,112,0.3);
  cursor: pointer;
  transition: all .3s;
  border: none; outline: none;
}
.cdot.active {
  background: var(--orange);
  height: 18px;
  border-radius: 3px;
}


/* ══════════════════════════════
   CATCHCOPY — bold, centered, impactful
══════════════════════════════ */
.fv-copy {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 48px 32px 28px;
  pointer-events: none;
  border-radius: 0 0 20px 20px;
  text-align: center;
  /* extra gradient just behind copy text */
  background: linear-gradient(to top,
    rgba(0,0,0,0.55) 0%,
    rgba(0,0,0,0.0)  100%
  );
}

/* "MY SWEET HOME" */
.copy-main {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  color: var(--orange);
  letter-spacing: 0.06em;
  line-height: 1;
  /* bright white glow makes orange pop on dark bg */
  text-shadow:
    0 0 40px rgba(255,200,100,0.5),
    0 2px 16px rgba(0,0,0,0.6),
    0 0  2px rgba(255,255,255,0.3);
}

/* Divider line between main and sub */
.copy-divider {
  width: 48px;
  height: 1.5px;
  background: rgba(255,255,255,0.55);
  margin: 10px auto 8px;
  border-radius: 2px;
}

/* Subtitle */
.copy-sub {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: clamp(11px, 1.3vw, 16px);
  font-weight: 500;
  color: rgba(255,255,255,0.95);
  letter-spacing: 0.18em;
  text-shadow: 0 1px 10px rgba(0,0,0,0.7);
  line-height: 1.7;
}


/* ══════════════════════════════
   BLOG BUTTON — big, bold, unmissable
══════════════════════════════ */
.blog-btn {
  position: absolute;
  left: 80px;
  bottom: -4px;
  width: 150px; height: 150px;
  border-radius: 50%;
  background: var(--orange);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  z-index: 50;
  box-shadow:
    0 0 0 6px rgba(139,191,64,0.2),
    0 0 0 12px rgba(139,191,64,0.08),
    0 14px 40px rgba(139,191,64,0.55);
  transition: background .25s, transform .25s, box-shadow .25s;
  animation: blog-pulse 2.8s ease-in-out infinite;
}
@keyframes blog-pulse {
  0%, 100% { box-shadow: 0 0 0 6px rgba(139,191,64,0.2), 0 0 0 12px rgba(139,191,64,0.08), 0 14px 40px rgba(139,191,64,0.55); }
  50%       { box-shadow: 0 0 0 10px rgba(139,191,64,0.25), 0 0 0 22px rgba(139,191,64,0.1), 0 18px 50px rgba(139,191,64,0.6); }
}
.blog-btn:hover {
  background: var(--orange-d);
  transform: scale(1.08);
  animation: none;
  box-shadow: 0 0 0 10px rgba(139,191,64,0.25), 0 18px 50px rgba(139,191,64,0.65);
}
.blog-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.blog-icon {
  display: flex; align-items: center; justify-content: center;
}
.blog-ja {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: #fff;
  line-height: 1;
}
.blog-rule {
  display: none;
}
.blog-en { display: none; }

/* Float button colour variants */
.float-btn--tel  { background: var(--green); }
.float-btn--tel:hover  { background: var(--green-d); }
.float-btn--hp   { background: #7a6a58; }
.float-btn--hp:hover   { background: #5a4e42; }


/* ══════════════════════════════
   FLOATING RIGHT BUTTONS
══════════════════════════════ */
.float-right {
  position: fixed;
  top: 50%;
  right: 17px;
  transform: translateY(-50%);
  z-index: 300;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
}

.float-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 46px;
  padding: 16px 0;
  background: var(--orange);
  border-radius: 8px;
  text-decoration: none;
  color: #fff;
  box-shadow: -3px 3px 14px rgba(0,0,0,0.18);
  transition: background .22s, width .22s;
  overflow: hidden;
}
.float-btn:hover {
  background: var(--orange-d);
  width: 52px;
}
.float-btn-icon { width: 20px; height: 20px; display:flex; align-items:center; justify-content:center; }
.float-btn-icon svg { width: 19px; height: 19px; fill: #fff; }
.float-btn-text {
  writing-mode: vertical-rl;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #fff;
  white-space: nowrap;
}

.float-sns {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding-right: 10px;
}
.float-sns-link {
  width: 26px; height: 26px;
  display:flex; align-items:center; justify-content:center;
  text-decoration: none;
  color: #9a8a7a;
  transition: color .22s, transform .22s;
}
.float-sns-link:hover { color: var(--orange); transform: scale(1.15); }
.float-sns-link svg { width: 20px; height: 20px; fill: currentColor; }



/* ══════════════════════════════
   ABOUT SECTION
══════════════════════════════ */
.about {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 100px 80px 100px 120px;
  background: var(--cream);
  overflow: hidden;
}

/* 背景装飾サークル */
.about::before {
  content: '';
  position: absolute;
  top: -120px; left: -120px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240,184,64,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.about::after {
  content: '';
  position: absolute;
  bottom: -80px; right: -80px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(106,158,112,0.12) 0%, transparent 70%);
  pointer-events: none;
}

/* ── テキスト側 ── */
.about-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.about-label-en {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.35em;
  color: var(--orange);
  text-transform: uppercase;
}
.about-label::before {
  content: '';
  display: block;
  width: 28px; height: 2px;
  background: var(--orange);
  border-radius: 2px;
}
.about-label-ja {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-mid);
  letter-spacing: 0.12em;
}

.about-heading {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: clamp(24px, 2.6vw, 36px);
  font-weight: 900;
  color: var(--text);
  line-height: 1.55;
  letter-spacing: 0.06em;
  margin-bottom: 24px;
}

.about-divider {
  width: 40px; height: 3px;
  background: linear-gradient(to right, var(--orange), var(--yellow));
  border-radius: 2px;
  margin-bottom: 22px;
}

.about-body {
  font-size: 14.5px;
  line-height: 2;
  color: var(--text-mid);
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 32px;
}
.about-tag {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(139,191,64,0.08);
  border: 1.5px solid rgba(139,191,64,0.2);
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.04em;
}

.about-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: var(--orange);
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: background .22s, transform .22s;
  box-shadow: 0 6px 20px rgba(139,191,64,0.35);
}
.about-btn:hover {
  background: var(--orange-d);
  transform: translateY(-2px);
}

/* ── 画像側 ── */
.about-images {
  position: relative;
  display: block;
  width: 100%;
}
.about-img-main {
  width: 100%;
  height: 400px;
  border-radius: 18px;
  overflow: hidden;
}
.about-img-inner {
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform .5s ease;
}
.about-img-main:hover .about-img-inner {
  transform: scale(1.04);
}

/* 実績バッジ */
.about-badge {
  position: absolute;
  bottom: -16px; left: -20px;
  width: 110px; height: 110px;
  border-radius: 50%;
  background: var(--green);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  box-shadow: 0 8px 28px rgba(74,122,82,0.4);
  z-index: 10;
}
.about-badge-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.about-badge-num span {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 14px;
  font-weight: 700;
}
.about-badge-txt {
  font-size: 9.5px;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  text-align: center;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

/* ── ABOUT SP対応 ── */
@media (max-width: 768px) {
  .about {
    grid-template-columns: 1fr;
    padding: 60px 20px 70px;
    gap: 40px;
  }
  .about-img-main {
    height: 300px;
  }
  .about-badge {
    width: 90px; height: 90px;
    bottom: -12px; left: -10px;
  }
  .about-badge-num { font-size: 24px; }
}


.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 310;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════════════════════════
   DRAWER
══════════════════════════════ */
.sp-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 290;
  pointer-events: none;
}
.sp-drawer-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  transition: opacity .3s;
}
.sp-drawer-panel {
  position: absolute;
  top: 0; right: 0;
  width: min(300px, 82vw);
  height: 100%;
  background: var(--cream);
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  box-shadow: -6px 0 30px rgba(0,0,0,0.15);
}
.sp-drawer.open                     { pointer-events: auto; }
.sp-drawer.open .sp-drawer-overlay  { opacity: 1; }
.sp-drawer.open .sp-drawer-panel    { transform: translateX(0); }

.sp-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 18px 14px;
  border-bottom: 1px solid rgba(58,46,34,0.08);
}
.sp-drawer-logo {
  display: flex; align-items: center; gap: 9px;
  text-decoration: none;
}
.sp-drawer-logo-name {
  font-size: 13px; font-weight: 700;
  color: var(--green-d); letter-spacing: 0.1em;
}
.sp-drawer-close {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  background: none; border: none; cursor: pointer;
  font-size: 20px; color: var(--text-mid);
  border-radius: 50%;
  transition: background .2s;
}
.sp-drawer-close:hover { background: rgba(58,46,34,0.06); }

.sp-drawer-nav {
  list-style: none;
  padding: 8px 0;
  flex: 1;
}
.sp-drawer-nav li a {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 20px;
  text-decoration: none;
  color: var(--text);
  font-size: 13.5px; font-weight: 700;
  letter-spacing: 0.04em;
  border-bottom: 1px solid rgba(58,46,34,0.05);
  transition: background .2s;
}
.sp-drawer-nav li a:hover { background: rgba(139,191,64,0.06); }
.sp-drawer-nav li a svg { width: 20px; height: 20px; flex-shrink: 0; }

.sp-drawer-sep {
  height: 1px;
  background: rgba(58,46,34,0.1);
  margin: 8px 18px;
}
.sp-drawer-actions {
  padding: 12px 16px 20px;
  display: flex; flex-direction: column; gap: 9px;
}
.sp-drawer-actions a {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px;
  border-radius: 10px;
  font-size: 13px; font-weight: 700;
  text-decoration: none; color: #fff;
}
.sp-drawer-actions .dact-tel { background: var(--green); }
.sp-drawer-actions .dact-hp  { background: #7a6a58; }
.sp-drawer-actions svg { width: 18px; height: 18px; }

.sp-drawer-sns {
  display: flex; justify-content: center; gap: 18px;
  padding: 4px 16px 24px;
}
.sp-drawer-sns a { color: var(--text-mid); transition: color .2s; }
.sp-drawer-sns a:hover { color: var(--orange); }
.sp-drawer-sns svg { width: 20px; height: 20px; fill: currentColor; display: block; }

/* ══════════════════════════════
   BOTTOM CTA BAR (SP only, FV通過後に出現)
══════════════════════════════ */
.sp-bottom-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 400;
  grid-template-columns: 1fr 1fr;
  height: 62px;
  transform: translateY(100%);
  transition: transform .4s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 -3px 16px rgba(0,0,0,0.13);
}
.sp-bottom-cta.visible { transform: translateY(0); }
.sp-bcta-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  text-decoration: none; color: #fff;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 14px; font-weight: 700;
  letter-spacing: 0.06em;
}
.sp-bcta-btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.sp-bcta-tel { background: var(--green); }
.sp-bcta-web { background: var(--orange); }

/* ══════════════════════════════
   RESPONSIVE ≤ 768px
══════════════════════════════ */
@media (max-width: 768px) {

  :root { --hdr-h: 60px; }

  /* ヘッダー背景を透明に（白バー削除） */
  .site-header {
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    pointer-events: none; /* 下の要素を触れるように */
    display: block;
  }
  .nav-group { display: none !important; }

  .hamburger {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    pointer-events: auto; /* ボタン部分は触れるように */
  }
  .sp-drawer   { display: block; }

  /* FV */
  .fv { height: 667px; }
  .fv-stage {
    left: 10px; right: 10px;
    top: 10px;
    bottom: 10px;
  }
  .slide-1 .slide-bg { background-image: url('../img/SPFV1.jpeg') !important; }
  .slide-2 .slide-bg { background-image: url('../img/SPFV2.jpeg') !important; }
  .slide-3 .slide-bg { background-image: url('../img/SPFV3.jpeg') !important; }
  .fv-stage-inner::after { background: none; }

  /* スライドカウンター非表示 */
  .slide-counter-wrap { display: none; }

  /* キャッチコピー */
  .copy-main { font-size: clamp(28px, 8vw, 42px); }
  .copy-sub  { font-size: 11px; letter-spacing: 0.1em; }
  .fv-copy {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    padding: 0 24px;
    text-align: center;
    background: none;
  }

  /* WEB予約丸ボタン：PCと同じ左配置 */
  .blog-btn {
    left: 4px;
    bottom: -4px;
    width: 120px; height: 120px;
  }
  .blog-ja  { font-size: 17px; }

  /* 右追従ボタン非表示 */
  .float-right { display: none; }

  /* 固定CTAバー表示 */
  .sp-bottom-cta { display: grid; }
}

/* ══════════════════════════════
   TROUBLES SECTION
══════════════════════════════ */
.troubles {
  padding: 100px 20px;
  background: var(--cream);
  text-align: center;
}
.troubles-inner {
  max-width: 800px;
  margin: 0 auto;
}
.troubles-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}
.troubles-list li {
  background: #fff;
  padding: 24px 32px;
  border-radius: 12px;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  position: relative;
  padding-left: 56px;
}
.troubles-list li::before {
  content: '✓';
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background: var(--orange);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
}

/* ══════════════════════════════
   FEATURES SECTION
══════════════════════════════ */
.features {
  padding: 100px 20px;
  background: #fff;
}
.features-inner {
  max-width: 1000px;
  margin: 0 auto;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.feature-card {
  background: var(--cream);
  padding: 40px 32px;
  border-radius: 20px;
  text-align: center;
  position: relative;
}
.feature-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  font-weight: 600;
  color: rgba(139,191,64,0.2);
  line-height: 1;
  position: absolute;
  top: 24px;
  left: 32px;
}
.feature-title {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 18px;
  font-weight: 900;
  color: var(--text);
  line-height: 1.5;
  margin-top: 40px;
  margin-bottom: 20px;
}
.feature-desc {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-mid);
  text-align: left;
}

@media (max-width: 768px) {
  .troubles, .features {
    padding: 60px 20px;
  }
  .troubles-list li {
    font-size: 14px;
    padding: 20px 24px 20px 48px;
  }
  .troubles-list li::before {
    left: 14px;
  }
  .features-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ══════════════════════════════
   FEATURE IMAGE
══════════════════════════════ */
.feature-img {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  margin-bottom: 24px;
}
.feature-title {
  margin-top: 10px;
}

/* ══════════════════════════════
   PRICING SECTION
══════════════════════════════ */
.pricing {
  padding: 100px 20px;
  background: var(--cream);
}
.pricing-inner {
  max-width: 800px;
  margin: 0 auto;
}
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}
.pricing-table th, .pricing-table td {
  padding: 24px 32px;
  border-bottom: 1px solid rgba(58,46,34,0.08);
  font-size: 15px;
  text-align: left;
}
.pricing-table tr:last-child th,
.pricing-table tr:last-child td {
  border-bottom: none;
}
.pricing-table th {
  font-weight: 700;
  color: var(--text);
  width: 45%;
  background: rgba(139,191,64,0.03);
}
.pricing-table td {
  color: var(--text-mid);
  font-weight: 500;
}
.price-time {
  display: inline-block;
  margin-right: 16px;
  color: var(--orange);
  font-weight: 700;
}
.price-amount {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

/* ══════════════════════════════
   GREETING SECTION
══════════════════════════════ */
.greeting {
  padding: 100px 20px;
  background-image: url('../img/PCbackground.jpeg');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  text-align: center;
  position: relative;
}
.greeting::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,0.85);
  z-index: 0;
}
.greeting-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}
.greeting-heading {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 32px;
  line-height: 1.5;
}
.greeting-body {
  font-size: 15px;
  line-height: 2;
  color: var(--text);
  text-align: left;
}

/* ══════════════════════════════
   ACCESS SECTION
══════════════════════════════ */
.access {
  padding: 100px 20px;
  background: var(--cream);
}
.access-inner {
  max-width: 900px;
  margin: 0 auto;
}
.access-content {
  display: flex;
  gap: 40px;
  align-items: center;
}
.access-info {
  flex: 1;
}
.access-map {
  flex: 1;
  text-align: center;
}
.access-table {
  width: 100%;
  border-collapse: collapse;
}
.access-table th, .access-table td {
  padding: 20px 0;
  border-bottom: 1px dashed rgba(58,46,34,0.15);
  font-size: 15px;
  text-align: left;
}
.access-table tr:first-child th,
.access-table tr:first-child td {
  border-top: 1px dashed rgba(58,46,34,0.15);
}
.access-table th {
  width: 30%;
  font-weight: 700;
  color: var(--text);
}
.access-table td {
  color: var(--text-mid);
}
.access-tel {
  font-size: 18px;
  font-weight: 700;
  color: var(--orange);
  text-decoration: none;
}

@media (max-width: 768px) {
  .pricing, .greeting, .access {
    padding: 60px 20px;
  }
  .access-content {
    flex-direction: column;
    gap: 30px;
  }
  .pricing-table th, .pricing-table td {
    display: block;
    width: 100%;
    padding: 16px 20px;
  }
  .pricing-table th {
    border-bottom: none;
    padding-bottom: 4px;
  }
  .pricing-table td {
    padding-top: 0;
  }
  .greeting-heading {
    font-size: 20px;
  }
  .access-table th, .access-table td {
    display: block;
    width: 100%;
    padding: 12px 0;
  }
  .access-table th {
    border-bottom: none;
    padding-bottom: 0;
  }
  .access-table tr:first-child td {
    border-top: none;
  }
  .about-heading {
    font-size: 16px;
  }
}

/* ══════════════════════════════
   TO TOP BUTTON & SP BACKGROUND
══════════════════════════════ */
.to-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--orange);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
}
.to-top-btn.show {
  opacity: 1;
  visibility: visible;
}
.to-top-btn:hover {
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .greeting {
    background-image: url('../img/SPbackground.jpeg');
    background-attachment: fixed !important;
  }
  .to-top-btn {
    bottom: 85px;
  }
}

/* ══════════════════════════════
   FONT SIZE UNIFICATION (PC 16px, SP 14px)
══════════════════════════════ */
body, p, .feature-desc, .greeting-body, .about-body, .access-table th, .access-table td, .pricing-table th, .pricing-table td, .troubles-list li {
  font-size: 16px !important;
}

@media (max-width: 768px) {
  body, p, .feature-desc, .greeting-body, .about-body, .access-table th, .access-table td, .pricing-table th, .pricing-table td, .troubles-list li {
    font-size: 14px !important;
  }
}

