/* ============================================================
   滝澤歯科医院 - style.css
   ============================================================ */

/* --- CSS Variables --- */
:root {
  --color-beige: #ffffff;
  --color-beige-dark: #f1f5f9;
  --color-beige-mid: #e2e8f0;
  --color-green: #0284c7;
  --color-green-light: #38bdf8;
  --color-green-dark: #0369a1;
  --color-orange: #0ea5e9;
  --color-orange-light: #7dd3fc;
  --color-text: #1e293b;
  --color-text-light: #64748b;
  --color-white: #ffffff;
  --color-gold: #0284c7;

  --color-tel: #0ea5e9;
  --color-web: #0284c7;

  --font-jp: 'Zen Kaku Gothic New', sans-serif;
  --font-gothic: 'Zen Kaku Gothic New', sans-serif;
  --font-en: 'Roboto', sans-serif;

  --max-width: 1100px;
  --section-px: 16px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-jp);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.05em;
  color: var(--color-text);
  background-color: var(--color-white);
  overflow-x: hidden;
  width: 100%;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

section {
  margin-bottom: 0;
}

/* --- Section Heading --- */
.section-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 0px;
  position: relative;
  padding: 50px 0 40px;
  gap: 8px;
}

.section-heading-en {
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--color-orange-light);
  text-transform: uppercase;
  position: relative;
  z-index: 2;
  margin: 0;
  line-height: 1.1;
  display: inline-block;
}

.section-heading-en::after {
  display: none;
}

.section-heading-ja {
  font-family: var(--font-gothic);
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-green);
  position: relative;
  z-index: 2;
  display: block;
}

.section-heading-ja::before,
.section-heading-ja::after {
  display: none;
}

/* ============================================================
   HEADER
   ============================================================ */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--color-beige-mid);
  transition: box-shadow 0.3s;
}

#site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--section-px);
  height: 64px;
}

.header-logo a {
  display: flex;
  align-items: center;
  transition: opacity 0.2s;
}

.header-logo a:hover {
  opacity: 0.72;
}

.header-logo-img {
  height: 60px;
  max-height: 100%;
  width: auto;
  display: block;
  object-fit: contain;
}

.header-nav {
  display: none;
}

.header-cta-group {
  display: none;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 6px;
  font-family: var(--font-gothic);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: all 0.25s ease;
  color: #fff;
}

.header-cta.tel-btn {
  background: var(--color-tel);
}

.header-cta.tel-btn:hover {
  background: #0f766e;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
}

.header-cta.web-btn {
  background: var(--color-web);
}

.header-cta.web-btn:hover {
  background: var(--color-green-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(3, 105, 161, 0.2);
}

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  z-index: 1100;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--color-text);
  transition: all 0.3s ease;
  transform-origin: center;
}

/* ============================================================
   FULLSCREEN MENU OVERLAY
   ============================================================ */
#nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-beige);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 80px;
  padding-bottom: 80px;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

#nav-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.overlay-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  font-family: var(--font-jp);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--color-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.overlay-close::before {
  content: '×';
  font-size: 20px;
  line-height: 1;
}

.overlay-nav {
  text-align: center;
}

.overlay-nav ul {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.overlay-nav a {
  font-family: var(--font-gothic);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-text);
  transition: color 0.2s;
  position: relative;
}

.overlay-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--color-orange);
  transition: width 0.3s ease;
}

.overlay-nav a:hover {
  color: var(--color-orange);
}

.overlay-nav a:hover::after {
  width: 100%;
}

.overlay-nav .nav-sub {
  display: block;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--color-text-light);
  margin-top: 4px;
}

/* ============================================================
   FV - FIRST VIEW
   ============================================================ */
#fv {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  margin-bottom: 0;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  background: url('../img/fvbg.png') no-repeat center center / cover;
  background-color: #f0f9ff;
}

.fv-left-panel {
  position: relative;
  width: 45%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 64px;
  padding-bottom: 40px;
  padding-left: clamp(16px, 3vw, 48px);
  padding-right: clamp(16px, 2vw, 32px);
  z-index: 2;
}

.fv-copy-img {
  width: 100%;
  max-width: 480px;
  height: auto;
  display: block;
  object-fit: contain;
}

.fv-right-panel {
  position: relative;
  width: 55%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 72px 8px 16px 8px;
  background: none;
}

.swiper-fv {
  width: 100%;
  height: auto;
}

.swiper-fv .swiper-slide {
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 0;
}

.swiper-fv .swiper-slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center center;
  border-radius: 12px;
  border: 4px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  display: block;
  background-color: #ddd;
}

@media (max-width: 767px) {
  #fv {
    flex-direction: column;
    min-height: 100svh;
    height: auto;
    background-image: url('../img/spfvbg.png');
    background-position: center center;
    background-size: cover;
  }

  .fv-right-panel {
    order: 1;
    width: 100%;
    height: auto;
    min-height: unset;
    padding: 72px 4px 0px 4px !important;
    background: none;
    flex-shrink: 0;
    align-items: center;
  }

  .swiper-fv {
    min-height: unset;
    height: auto;
  }

  .swiper-fv .swiper-slide {
    height: auto;
    padding: 4px 0;
  }

  .swiper-fv .swiper-slide img {
    width: 100%;
    height: auto;
    max-height: unset;
    min-height: unset;
    aspect-ratio: 3 / 4;
    border-radius: 8px;
    border-width: 3px;
    object-fit: cover;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  }

  .fv-left-panel {
    order: 2;
    width: 100%;
    flex: 1;
    padding-top: 0px !important;
    padding-bottom: 20px !important;
    padding-left: 16px;
    padding-right: 16px;
    align-items: center;
    justify-content: center;
  }

  .fv-copy-text {
    text-align: center !important;
    margin: 0 auto !important;
  }

  .fv-brand-name {
    margin-bottom: 4px !important;
    text-align: center !important;
  }

  .fv-main-copy {
    margin-bottom: 8px !important;
    line-height: 1.25 !important;
    text-align: center !important;
  }

  .fv-sub-copy {
    margin-bottom: 16px !important;
    line-height: 1.45 !important;
    text-align: center !important;
  }

  .fv-btn-group {
    display: flex;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    justify-content: center;
  }

  .fv-btn-blue,
  .fv-btn-outline {
    flex: 1 !important;
    padding: 12px 8px !important;
    font-size: clamp(11px, 3.2vw, 14px) !important;
    justify-content: center !important;
    white-space: nowrap !important;
    letter-spacing: 0px !important;
  }

  .fv-copy-img {
    max-width: 90vw;
  }
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  width: 100%;
  background: linear-gradient(rgba(2, 132, 199, 0.8), rgba(3, 105, 161, 0.8)), url('../img/ctabg.jpg') no-repeat center center / cover;
  background-attachment: fixed;
  border-top: 1px solid var(--color-beige-mid);
  border-bottom: 1px solid var(--color-beige-mid);
  position: relative;
  padding: 60px 16px;
  margin-bottom: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.cta-infinite-slider {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.cta-infinite-track {
  display: flex;
  width: max-content;
  animation: cta-slide-left 25s linear infinite;
}

.cta-infinite-track span {
  font-family: var(--font-en);
  font-size: clamp(80px, 12vw, 160px);
  font-weight: 800;
  color: #bae6fd;
  -webkit-text-stroke: 0;
  padding-right: 80px;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0.6;
}

@keyframes cta-slide-left {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.cta-card {
  position: relative;
  z-index: 2;
  background-color: rgba(255, 255, 255, 0.80);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 16px;
  padding: 30px 24px;
  width: calc(100% - 32px);
  max-width: 960px;
  margin: 0 auto;
  display: block;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.cta-card-header {
  margin-bottom: 24px;
  text-align: center;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 20px;
}

.cta-lead-text {
  font-size: clamp(14px, 1.8vw, 16px);
  font-weight: 700;
  color: #334155;
  margin-bottom: 6px;
}

.cta-sub-text {
  font-size: clamp(12px, 1.5vw, 14px);
  color: #64748b;
  line-height: 1.6;
}

.cta-card-content-wrap {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.cta-phone-block {
  text-align: center;
}

.cta-phone-num {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-size: clamp(26px, 4.5vw, 36px);
  font-weight: 800;
  color: #1d6fb8;
  text-decoration: none;
  transition: opacity 0.2s;
}

.cta-phone-num:hover {
  opacity: 0.8;
}

.cta-phone-time {
  font-size: 13px;
  color: #64748b;
  margin-top: 4px;
}

.cta-middle-line {
  width: 100%;
  height: 1px;
  background-color: #e2e8f0;
}

.cta-btn-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 380px;
}

.cta-btn-form {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  background-color: var(--color-web);
  color: #ffffff;
}

.cta-btn-form:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  background-color: var(--color-green-dark);
}

.cta-btn-hp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  background-color: transparent;
  color: var(--color-green-dark);
  border: 2px solid var(--color-green-dark);
}

.cta-btn-hp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  background-color: var(--color-green-dark);
  color: #fff;
}


/* ============================================================
   ABOUT
   ============================================================ */
#about {
  position: relative;
  background-color: #ffffff;
  padding: 0;
}

.about-grid {
  display: flex;
  flex-direction: column-reverse;
  gap: 0;
}

.about-text-col {
  width: 100%;
  padding: 20px var(--section-px) 60px var(--section-px);
}

.about-section-heading {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.about-heading-en {
  text-transform: uppercase;
}

.about-heading-en::after {
  display: none;
}

.about-heading-ja {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.05em;
  font-family: var(--font-gothic);
  display: block;
}

.about-ja-sub {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--color-green);
  margin-bottom: 8px;
}

.about-ja-main {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-text);
  line-height: 1.4;
  margin-bottom: 24px;
}

.about-body {
  font-size: 16px;
  line-height: 2;
  color: var(--color-text-light);
}

.about-body p+p {
  margin-top: 16px;
}

.about-right-space {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 60px var(--section-px) 20px var(--section-px);
}

.about-right-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  object-fit: cover;
}

/* ============================================================
   FEATURE
   ============================================================ */
#feature {
  position: relative;
  background-color: #ffffff;
  padding: 80px 0;
  overflow: hidden;
}

.feature-grid {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.feature-card-wrapper {
  width: 100%;
}

.feature-card {
  display: flex;
  flex-direction: column;
  background-color: transparent;
  border-radius: 0;
  border: none;
  overflow: visible;
  padding: 0;
  gap: 24px;
  box-shadow: none;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
}

.feature-card-image {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  flex-shrink: 0;
}

.feature-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.feature-card:hover .feature-card-image img {
  transform: scale(1.02);
}

.feature-card-content {
  display: flex;
  flex-direction: column;
  color: var(--color-text);
  width: 100%;
}

.feature-title-wrap {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.feature-num-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.feature-num-label {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1;
  margin-bottom: 4px;
}

.feature-num {
  font-family: var(--font-en);
  font-size: 40px;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1;
}

.feature-num-block::after {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-orange);
  margin-top: 8px;
}

.feature-card-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-text);
  margin: 0;
  padding-top: 2px;
}

.feature-card-body {
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text-light);
  margin: 0;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 40px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--color-web);
  color: var(--color-web);
  background-color: transparent;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background-color: var(--color-web);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.2);
}

.section-btn-wrap {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/* ============================================================
   PRICE
   ============================================================ */
#price {
  padding: 80px 0;
  background: linear-gradient(rgba(2, 132, 199, 0.8), rgba(3, 105, 161, 0.8)), url('../img/menubg.jpg') no-repeat center center / cover;
  background-attachment: fixed;
}

.price-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 800px;
  margin: 0 auto;
}

.price-category {
  background-color: #ffffff;
  border-radius: 12px;
  border: 1px solid var(--color-beige-mid);
  padding: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}

.price-category-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-green-dark);
  margin-bottom: 16px;
  border-bottom: 1px solid var(--color-beige-mid);
  padding-bottom: 12px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.price-category-title span {
  font-family: var(--font-en);
  font-size: 14px;
  color: var(--color-orange);
  text-transform: uppercase;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
}

.price-table th,
.price-table td {
  padding: 16px 12px;
  border-bottom: 1px dashed var(--color-beige-mid);
  vertical-align: top;
}

.price-table tr:last-child th,
.price-table tr:last-child td {
  border-bottom: none;
}

.price-table th {
  text-align: left;
  font-weight: 700;
  width: 35%;
  color: var(--color-text);
}

.price-table td {
  width: 65%;
}

.price-amount {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
  display: block;
  margin-bottom: 4px;
}

.price-note {
  font-size: 13px;
  color: var(--color-text-light);
  display: block;
  line-height: 1.6;
}

.price-alert {
  font-size: 12px;
  color: #ef4444;
  margin-top: 6px;
  display: block;
  background: #fee2e2;
  padding: 6px 10px;
  border-radius: 4px;
}

@media (max-width: 767px) {

  .price-table th,
  .price-table td {
    display: block;
    width: 100%;
  }

  .price-table th {
    padding-bottom: 4px;
    border-bottom: none;
  }

  .price-table td {
    padding-top: 0;
  }

  .price-slash {
    display: none;
  }
}

/* ============================================================
   Q&A (FAQ)
   ============================================================ */
#faq {
  padding: 80px 0;
  background: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)), url('../img/qabg.jpg') no-repeat center center / cover;
  background-attachment: fixed;
  border-top: 1px solid var(--color-beige-mid);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-beige-mid);
  margin-bottom: 16px;
}

.faq-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 20px 0;
  background: none;
  border: none;
  text-align: left;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
  cursor: pointer;
  line-height: 1.5;
  letter-spacing: 0.05em;
}

.faq-question>span:first-child {
  display: flex;
  align-items: flex-start;
  text-align: left;
}

.faq-question .q-mark {
  color: var(--color-orange);
  font-family: var(--font-gothic);
  font-size: 24px;
  margin-right: 12px;
  line-height: 1.5;
  flex-shrink: 0;
}

.faq-toggle-icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-toggle-icon::before,
.faq-toggle-icon::after {
  content: '';
  position: absolute;
  background-color: var(--color-text-light);
  transition: transform 0.3s ease;
}

.faq-toggle-icon::before {
  top: 9px;
  left: 0;
  width: 100%;
  height: 2px;
}

.faq-toggle-icon::after {
  top: 0;
  left: 9px;
  width: 2px;
  height: 100%;
}

.faq-item.active .faq-toggle-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  opacity: 0;
}

.faq-item.active .faq-answer {
  opacity: 1;
  padding-bottom: 24px;
}

.faq-answer-inner {
  display: flex;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text-light);
}

.faq-answer-inner .a-mark {
  color: var(--color-green-dark);
  font-family: var(--font-gothic);
  font-size: 24px;
  margin-right: 12px;
  line-height: 1.5;
  flex-shrink: 0;
}

/* ============================================================
   CONTACT / ACCESS
   ============================================================ */
#contact {
  padding: 80px 0 120px 0;
  background-color: #fff;
}

.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.contact-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 28px;
}

.contact-table tr {
  border-bottom: 1px solid var(--color-beige-mid);
}

.contact-table th {
  font-family: var(--font-gothic);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-text);
  text-align: left;
  padding: 16px 16px 16px 0;
  white-space: nowrap;
  vertical-align: top;
  width: 90px;
}

.contact-table td {
  font-family: var(--font-gothic);
  font-size: 16px;
  line-height: 1.8;
  padding: 16px 0;
  vertical-align: top;
}

.contact-map iframe {
  width: 100%;
  height: 350px;
  display: block;
  border: none;
  filter: grayscale(10%);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  background: var(--color-text);
  padding: 36px var(--section-px) 100px;
  text-align: center;
}

.footer-logo {
  font-family: var(--font-jp);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-white);
  margin-bottom: 20px;
}

.footer-copy {
  font-family: var(--font-gothic);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
}

/* ============================================================
   SCROLL TO TOP
   ============================================================ */
#scroll-top {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: var(--color-green-dark);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, background 0.2s;
  z-index: 500;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

#scroll-top.visible {
  opacity: 1;
  pointer-events: all;
}

#scroll-top:hover {
  background: var(--color-orange);
}

/* ============================================================
   SP STICKY CTA
   ============================================================ */
#sp-sticky-cta {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 2100;
  height: 56px;
  font-family: var(--font-gothic);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

#sp-sticky-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: background 0.2s;
  color: #fff;
  flex: 1;
}

.sticky-tel-btn {
  background: var(--color-tel);
}

.sticky-tel-btn:hover {
  background: var(--color-green-dark);
}

.sticky-web-btn {
  background: var(--color-web);
}

.sticky-web-btn:hover {
  background: var(--color-green-dark);
}

/* ============================================================
   PC BREAKPOINT  768px+
   ============================================================ */
@media (min-width: 768px) {
  #sp-sticky-cta {
    display: none !important;
  }

  :root {
    --section-px: 24px;
  }

  body {
    font-size: 16px;
  }

  .header-nav {
    display: flex;
    gap: 32px;
    align-items: center;
  }

  .header-nav a {
    font-family: var(--font-gothic);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--color-text);
    transition: color 0.2s;
    position: relative;
  }

  .header-nav a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-orange);
    transition: width 0.25s;
  }

  .header-nav a:hover {
    color: var(--color-orange);
  }

  .header-nav a:hover::after {
    width: 100%;
  }

  .header-cta-group {
    display: flex;
    gap: 12px;
    align-items: center;
  }

  .hamburger {
    display: none !important;
  }

  .cta-band {
    padding: 80px var(--section-px);
  }

  .cta-card {
    padding: 40px 60px;
    border-radius: 20px;
  }

  .cta-card-content-wrap {
    flex-direction: row;
    justify-content: space-between;
    gap: 40px;
  }

  .cta-phone-block {
    text-align: left;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .cta-phone-num {
    font-size: 38px;
  }

  .cta-middle-line {
    width: 1px;
    height: 80px;
    background-color: #e2e8f0;
  }

  .cta-btn-block {
    flex: 1;
    max-width: 300px;
  }

  #about {
    background-color: #ffffff;
    padding: 0;
  }

  .about-grid {
    flex-direction: row;
    gap: 0;
    align-items: stretch;
  }

  .about-text-col {
    width: 50%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 80px 60px 80px var(--section-px);
  }

  .about-text {
    width: 100%;
    max-width: 540px;
  }

  .about-right-space {
    width: 50%;
    padding: 0;
  }

  .about-right-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
  }

  /* FEATURE カードレイアウト（1項目につき2カラム：画像とテキストを横並び） */
  .feature-grid {
    gap: 80px;
  }

  .feature-card {
    flex-direction: row;
    align-items: center;
    padding: 0;
    gap: 60px;
  }

  /* 偶数番目のカードは画像とテキストを左右反転させる（ジグザグ配置） */
  .feature-card-wrapper:nth-child(even) .feature-card {
    flex-direction: row-reverse;
  }

  .feature-card-image {
    width: 48%;
    aspect-ratio: 4 / 3;
    margin-bottom: 0;
  }

  .feature-card-content {
    width: 52%;
  }

  .feature-title-wrap {
    gap: 24px;
    margin-bottom: 24px;
  }

  .feature-num-label {
    font-size: 14px;
  }

  .feature-num {
    font-size: 56px;
  }

  .feature-num-block::after {
    width: 28px;
    height: 3px;
    margin-top: 10px;
  }

  .feature-card-title {
    font-size: 28px;
    padding-top: 8px;
    /* 数字と高さを揃える */
  }

  .feature-card-body {
    font-size: 16px;
  }

  #faq {
    padding: 100px 0;
  }

  .faq-question {
    font-size: 18px;
    padding: 24px 0;
  }

  .faq-answer-inner {
    font-size: 16px;
  }

  #contact {
    padding: 100px 0 160px 0;
  }

  .contact-grid {
    display: flex;
    flex-direction: row;
    gap: 60px;
    align-items: flex-start;
  }

  .contact-info {
    width: 45%;
    flex-shrink: 0;
  }

  .contact-table th {
    font-size: 16px;
    width: 120px;
  }

  .contact-table td {
    font-size: 16px;
  }

  .contact-map {
    flex: 1;
  }

  .contact-map iframe {
    height: 450px;
  }

  #sp-sticky-cta {
    display: none !important;
  }

  #scroll-top {
    bottom: 30px;
  }

  #site-footer {
    padding: 36px var(--section-px);
  }
}

@media (max-width: 767px) {

  /* スマホでのFeatureレイアウト微調整 */
  .feature-card {
    flex-direction: column !important;
    /* ジグザグを解除 */
    gap: 24px;
  }

  .feature-title-wrap {
    gap: 16px;
  }

  .feature-num {
    font-size: 40px;
  }

  .feature-card-title {
    font-size: 20px;
  }
}

/* UTILITY & ANIMATIONS */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  pointer-events: none;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.delay-100 {
  transition-delay: 150ms;
}

.delay-200 {
  transition-delay: 300ms;
}

.delay-300 {
  transition-delay: 450ms;
}

@media (min-width: 768px) {
  .sp-br {
    display: none;
  }
}

@media (max-width: 767px),
(max-width: 1024px) and (hover: none) and (pointer: coarse) {

  /* --- cta-band --- */
  .cta-band {
    position: relative;
    background: none !important;
    isolation: isolate;
    -webkit-clip-path: inset(0);
    clip-path: inset(0);
  }

  .cta-band::before {
    content: '';
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(rgba(2, 132, 199, 0.8), rgba(3, 105, 161, 0.8)), url('../img/ctabg.jpg') no-repeat center center / cover !important;
  }

  .cta-band > * {
    position: relative;
    z-index: 1;
  }

  /* --- price --- */
  #price {
    position: relative;
    background: none !important;
    isolation: isolate;
    -webkit-clip-path: inset(0);
    clip-path: inset(0);
  }

  #price::before {
    content: '';
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(rgba(2, 132, 199, 0.8), rgba(3, 105, 161, 0.8)), url('../img/menubg.jpg') no-repeat center center / cover !important;
  }

  #price > * {
    position: relative;
    z-index: 1;
  }

  /* --- faq --- */
  #faq {
    position: relative;
    background: none !important;
    isolation: isolate;
    -webkit-clip-path: inset(0);
    clip-path: inset(0);
  }

  #faq::before {
    content: '';
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)), url('../img/qabg.jpg') no-repeat center center / cover !important;
  }

  #faq > * {
    position: relative;
    z-index: 1;
  }
}

@media (max-width: 767px) {
  .cta-band {
    padding: 30px 16px;
  }

  .cta-infinite-slider {
    display: none !important;
  }

  .cta-card {
    padding: 24px 16px;
  }
}

/* FV Left Panel Custom Typography */
.fv-copy-text {
  width: 100%;
  max-width: 620px;
  text-align: left;
}
.fv-brand-name {
  font-family: var(--font-gothic);
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 700;
  color: var(--color-green-dark);
  margin-bottom: clamp(8px, 1.2vw, 16px);
  letter-spacing: 0.1em;
}
.fv-main-copy {
  font-family: 'Zen Old Mincho', serif;
  font-size: clamp(38px, 5.5vw, 70px);
  font-weight: 700;
  color: #0c4a6e;
  line-height: 1.5;
  margin-bottom: clamp(24px, 3.5vw, 38px);
  letter-spacing: 0.08em;
}
.fv-sub-copy {
  font-family: var(--font-gothic);
  font-size: clamp(17px, 2.2vw, 22px);
  font-weight: 500;
  color: #0284c7;
  line-height: 1.8;
  margin-bottom: clamp(28px, 4.5vw, 48px);
}
.fv-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.fv-btn-blue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: #0284c7;
  color: #ffffff;
  font-family: var(--font-gothic);
  font-size: clamp(14px, 1.8vw, 17px);
  font-weight: 700;
  padding: 16px 36px;
  border-radius: 8px;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.2);
}
.fv-btn-blue:hover {
  background-color: #0369a1;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.3);
}
.fv-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: #ffffff;
  color: #0284c7;
  border: 2px solid #0284c7;
  font-family: var(--font-gothic);
  font-size: clamp(14px, 1.8vw, 17px);
  font-weight: 700;
  padding: 14px 36px;
  border-radius: 8px;
  transition: all 0.3s;
}
.fv-btn-outline:hover {
  background-color: #f0f9ff;
  transform: translateY(-2px);
}
.ib {
  display: inline-block;
  white-space: nowrap;
}

/* Price styling additions */
#price .section-heading-en {
  color: #ffffff;
}
#price .section-heading-ja {
  color: #ffffff;
}
.price-amount .price-tax {
  font-size: 12px;
  font-weight: 500;
  color: var(--color-text-light);
  margin-left: 4px;
  display: inline-block;
}

/* Responsive Heading Line Break Prevention */
.section-heading-ja,
.about-ja-sub,
.about-ja-main,
.price-category-title,
.feature-card-title {
  word-break: keep-all;
  overflow-wrap: break-word;
}
