/* ==========================================================================
   とうじゅ療術院 LP - CSS Design System & Styles (Japanese Orange Theme)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Reset & Global CSS Variables
   -------------------------------------------------------------------------- */
:root {
  /* Japanese Traditional Orange Color Palette (和風オレンジ・柿色・茜色) */
  --primary-color: #d96b27;       /* Japanese Traditional Orange (柿色 / 杏色) */
  --primary-hover: #b85314;       /* Deep Orange-Brown */
  --primary-light: #fff6ee;       /* Soft Warm Off-White Cream */
  --primary-border: #f2cbaf;       /* Soft Terracotta Border */
  --accent-color: #c05621;        /* Accent Persimmon Red-Orange */
  --text-main: #332d29;           /* Deep Charcoal Brown Text */
  --text-muted: #5c534c;          /* Warm Muted Brown */
  --text-light: #8c827a;
  --bg-main: #faf5ed;             /* Warm Japanese Washi Off-White */
  --bg-card: #ffffff;
  --bg-accent: #f4ebe0;           /* Soft Sand/Wood Accent */
  --border-color: #e6d8c8;
  --shadow-sm: 0 2px 8px rgba(217, 107, 39, 0.05);
  --shadow-md: 0 4px 16px rgba(217, 107, 39, 0.1);
  --shadow-lg: 0 10px 30px rgba(184, 83, 20, 0.12);

  /* Typography */
  --font-base: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading: "Shippori Mincho", "Noto Serif JP", serif;

  /* Layout */
  --container-width: 1080px;
  --container-wide: 1280px;
  --header-height: 80px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* PC Base Font Size 16px */
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-base);
  color: var(--text-main);
  background-color: var(--bg-main);
  font-size: 1rem;
  line-height: 1.8;
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* Prevent Text Selection Across Website */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  /* Prevent Image Dragging */
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

ul, ol {
  list-style: none;
}

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

.container-wide {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 20px;
}

/* Responsive Line Break Utilities */
.pc-only {
  display: inline;
}

.sp-only {
  display: none;
}

/* --------------------------------------------------------------------------
   2. Header & Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(230, 216, 200, 0.8);
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(217, 107, 39, 0.06);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo-group {
  display: flex;
  align-items: center;
}

.logo-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
  letter-spacing: 0.08em;
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-main);
  padding: 8px 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

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

.header-cta {
  display: flex;
  align-items: center;
  background-color: var(--primary-color);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  gap: 10px;
  transition: background-color 0.3s ease;
}

.header-cta:hover {
  background-color: var(--primary-hover);
}

.header-cta-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.header-tel-num {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  line-height: 1;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  position: relative;
  z-index: 1001;
}

.menu-toggle-icon,
.menu-toggle-icon::before,
.menu-toggle-icon::after {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-main);
  position: absolute;
  left: 8px;
  transition: all 0.3s ease;
}

.menu-toggle-icon {
  top: 19px;
}
.menu-toggle-icon::before {
  top: -7px;
  left: 0;
}
.menu-toggle-icon::after {
  top: 7px;
  left: 0;
}

.menu-toggle.active .menu-toggle-icon {
  background-color: transparent;
}
.menu-toggle.active .menu-toggle-icon::before {
  transform: rotate(45deg);
  top: 0;
}
.menu-toggle.active .menu-toggle-icon::after {
  transform: rotate(-45deg);
  top: 0;
}

/* --------------------------------------------------------------------------
   3. Section Common Elements & Deep Arch Curved Top Border with Shadow
   -------------------------------------------------------------------------- */
.section {
  padding: 80px 0;
  position: relative;
}

/* Deep Arch Curved Top Border with Shadow for specified sections (特徴, お客様の声, 店舗情報) */
.section-rounded-top {
  background-color: #ffffff;
  border-top-left-radius: 50% 90px;
  border-top-right-radius: 50% 90px;
  margin-top: -65px;
  position: relative;
  z-index: 2;
  padding-top: 110px;
  box-shadow: 0 -12px 28px rgba(184, 83, 20, 0.12);
}

.section-bg-sand {
  background-color: var(--bg-accent);
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-en-title {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-main);
  display: inline-block;
  position: relative;
}

.section-title-leaf {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
}

.leaf-line {
  height: 1px;
  width: 40px;
  background-color: var(--primary-color);
  opacity: 0.5;
}

.leaf-icon {
  width: 18px;
  height: 18px;
  color: var(--primary-color);
  opacity: 0.85;
}

/* --------------------------------------------------------------------------
   4. ① FV Area (PCFV / SPPV Background, FVaaa Centered, Side Vertical Text, Badges & Catchphrase)
   -------------------------------------------------------------------------- */
.fv-section {
  position: relative;
  width: 100%;
  min-height: 750px;
  background-image: url('../img/PCFV.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
}

/* FV Far-Left & Far-Right Vertical Side Text ("とうじゅ療術院") */
.fv-side-text {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  -webkit-writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 500;
  color: #6e6258;
  letter-spacing: 0.4em;
  z-index: 3;
  pointer-events: none;
  user-select: none;
}

.fv-side-left {
  left: 36px;
}

.fv-side-right {
  right: 36px;
}

.fv-container {
  max-width: var(--container-width);
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.fv-center-wrap {
  position: relative;
  display: inline-block;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

@media (min-width: 993px) {
  .fv-center-wrap {
    margin: 0 auto;
  }

  .fv-center-img {
    max-height: 720px;
    width: auto;
    max-width: 100%;
  }
}

.fv-center-img {
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.12));
}

/* FV Bottom-Left Badges (平成10年開業 / 女性施術者) */
.fv-badges-group {
  position: absolute;
  bottom: 36px;
  left: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 3;
}

.fv-badge-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  color: var(--primary-hover);
  border: 2px solid var(--primary-color);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
  padding: 16px 36px;
  border-radius: 60px;
  box-shadow: 0 8px 24px rgba(217, 107, 39, 0.2);
  letter-spacing: 0.1em;
  white-space: nowrap;
}

/* FV Top-Right Catchphrase Box */
.fv-catchphrase-box {
  position: absolute;
  top: 36px;
  right: 24px;
  background: rgba(51, 38, 28, 0.94);
  backdrop-filter: blur(4px);
  border: 1px solid #cbb28d;
  border-radius: var(--radius-sm);
  padding: 32px 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  z-index: 3;
}

.fv-catchphrase-text {
  writing-mode: vertical-rl;
  -webkit-writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.25em;
  line-height: 1.85;
  margin: 0;
  padding: 0;
  text-align: left;
}

/* --------------------------------------------------------------------------
   5. ② Concerns Section (お悩みセクション)
   -------------------------------------------------------------------------- */
.concerns-section {
  padding: 80px 0 90px;
}

.concerns-title {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--text-main);
  margin-bottom: 48px;
  letter-spacing: 0.12em;
}

.concerns-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 50px;
}

.concern-card {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  padding: 38px 24px 32px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid rgba(230, 216, 200, 0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.concern-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.concern-card-icon-wrap {
  width: 105px;
  height: 105px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.concern-card-img {
  max-width: 100%;
  max-height: 100%;
  width: 92px;
  height: 92px;
  object-fit: contain;
}

.concern-card-text {
  font-family: var(--font-base);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-main);
  line-height: 1.65;
  margin: 0;
}

.concerns-message-box {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  text-align: center;
  max-width: 840px;
  margin: 44px auto 0;
}

.concerns-message-box p {
  font-size: 1.15rem;
  color: var(--text-main);
  line-height: 2.1;
}

.concerns-message-box p:first-child {
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--primary-hover);
  font-size: 1.25rem;
}

/* --------------------------------------------------------------------------
   6. Custom Fixed Background & ABOUT Section Layout
   -------------------------------------------------------------------------- */
.concerns-section,
.price-section,
#concerns,
#price {
  background-image: url('../img/background1.jpg');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
}

.greeting-section,
#greeting {
  background-image: url('../img/background2.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
}

.about-section,
#about {
  background-color: var(--bg-accent);
  background-image: none;
}

#about {
  padding-top: 150px !important;
  padding-bottom: 220px !important;
}

#price,
#greeting {
  padding-top: 90px;
  padding-bottom: 220px !important;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-image-wrap {
  position: relative;
  width: 100%;
}

@media (min-width: 993px) {
  .about-image-wrap {
    margin-left: calc(-1 * ((100vw - var(--container-width)) / 2 + 20px));
    width: calc(100% + (100vw - var(--container-width)) / 2 + 20px);
  }
}

.about-image-wrap::before {
  display: none;
}

.about-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 0 240px 240px 0;
  box-shadow: var(--shadow-md);
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (min-width: 993px) {
  .about-content {
    padding-left: 36px;
  }
}

.about-subtitle {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--primary-color);
  letter-spacing: 0.15em;
  font-weight: 600;
}

.about-heading {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--text-main);
  position: relative;
  padding-bottom: 16px;
  letter-spacing: 0.02em;
}

.about-heading span {
  display: inline-block;
}

.about-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.about-text-list p {
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 16px;
  line-height: 1.9;
}

.about-text-list p:last-child {
  margin-bottom: 0;
}

.highlight-text {
  background: linear-gradient(transparent 60%, rgba(217, 107, 39, 0.18) 60%);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   7. ④ 特徴 Section (Features - Uncropped Natural Aspect Ratio Layout)
   -------------------------------------------------------------------------- */
.features-rows-list {
  display: flex;
  flex-direction: column;
  gap: 75px;
  max-width: 1040px;
  margin: 0 auto;
}

.feature-row {
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
}

/* Feature 02 Reverse Order (Text Left, Image Right) */
.feature-row-reverse {
  flex-direction: row-reverse;
}

.feature-row-image,
.feature-row-content {
  flex: 1;
  width: 50%;
}

.feature-row-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: none;
}

.feature-row-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
  box-shadow: none;
  transition: transform 0.4s ease;
}

.feature-row:hover .feature-row-img {
  transform: scale(1.03);
}

.feature-row-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.feature-row-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.45;
  position: relative;
  padding-bottom: 14px;
}

.feature-row-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48px;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.feature-row-desc {
  font-size: 1rem;
  color: var(--text-main);
  line-height: 1.95;
}

/* --------------------------------------------------------------------------
   8. ⑤ 料金案内 Section (Pricing - Matching ABOUT Section Image Shape)
   -------------------------------------------------------------------------- */
.price-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.price-card-group {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 993px) {
  .price-card-group {
    transform: translateX(-36px);
  }
}

.price-box {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.price-header {
  background-color: var(--primary-color);
  color: #ffffff;
  padding: 14px 20px;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.05em;
}

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

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

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

.price-table th,
.price-table td {
  padding: 16px 24px;
  font-size: 0.95rem;
}

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

.price-table td {
  text-align: right;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-main);
  font-family: var(--font-heading);
}

/* Pricing Image - Matching ABOUT Section Image Shape & Full Bleed */
.price-image-wrap {
  position: relative;
  width: 100%;
}

@media (min-width: 993px) {
  .price-image-wrap {
    margin-right: calc(-1 * ((100vw - var(--container-width)) / 2 + 20px));
    width: calc(100% + (100vw - var(--container-width)) / 2 + 20px);
  }
}

.price-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 240px 0 0 240px;
  box-shadow: var(--shadow-md);
}

/* --------------------------------------------------------------------------
   9. ⑥ お客様の声 Section (Reviews - Curved Top Arch)
   -------------------------------------------------------------------------- */
.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 860px;
  margin: 0 auto 40px;
}

.review-card {
  background-color: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

/* Review 1 line clamp 3 lines initially */
.review-text-wrap {
  position: relative;
  max-height: 5.4em;
  overflow: hidden;
  transition: max-height 0.4s ease;
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.8;
  white-space: pre-line;
}

.review-text-wrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.2em;
  background: linear-gradient(transparent, var(--bg-main));
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.review-card.expanded .review-text-wrap {
  max-height: 2000px;
}

.review-card.expanded .review-text-wrap::after {
  opacity: 0;
}

/* Review 2 full display */
.review-text-full {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.8;
  white-space: pre-line;
}

.toggle-review-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  background: none;
  border: none;
  color: var(--primary-color);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  padding: 4px 0;
  transition: color 0.2s ease;
}

.toggle-review-btn:hover {
  color: var(--primary-hover);
}

.toggle-review-btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.review-card.expanded .toggle-review-btn svg {
  transform: rotate(180deg);
}

.review-google-cta {
  text-align: center;
}

.google-review-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-color);
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 36px;
  border-radius: 50px;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.google-review-btn:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* --------------------------------------------------------------------------
   10. ⑦ ご挨拶 Section (Greeting / Message - Frameless Text & background2)
   -------------------------------------------------------------------------- */
.greeting-box {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  text-align: center;
}

.greeting-headline {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 28px;
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
}

.greeting-headline::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background-color: var(--primary-color);
}

.greeting-text {
  text-align: center;
  font-size: 1.08rem;
  color: var(--text-main);
  line-height: 2.2;
  max-width: 780px;
  margin: 0 auto;
}

.greeting-text p {
  margin-bottom: 20px;
}

.greeting-text p:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   11. 店舗情報 Section (Shop Info - Curved Top Arch)
   -------------------------------------------------------------------------- */
.access-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  background-color: var(--bg-main);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.access-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.access-shop-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  border-bottom: 2px solid var(--primary-light);
  padding-bottom: 10px;
}

.access-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.access-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
}

.access-icon {
  width: 20px;
  height: 20px;
  color: var(--primary-color);
  flex-shrink: 0;
  margin-top: 3px;
}

.access-label {
  font-weight: 700;
  min-width: 90px;
  color: var(--text-main);
}

.access-val {
  color: var(--text-muted);
}

.access-tel-link {
  color: var(--primary-color);
  font-weight: 700;
  text-decoration: underline;
}

.access-tel-link:hover {
  color: var(--primary-hover);
}

.map-wrapper {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  min-height: 350px;
  width: 100%;
  height: 100%;
}

.map-wrapper iframe {
  width: 100% !important;
  height: 100% !important;
  min-height: 350px;
  border: 0;
}

/* --------------------------------------------------------------------------
   12. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: #2e2621;
  color: #ded5cb;
  padding: 35px 0;
  text-align: center;
  font-size: 0.85rem;
}

.copyright {
  opacity: 0.8;
}

/* Fixed Mobile Sticky CTA Footer Bar */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #ffffff;
  border-top: 1px solid var(--border-color);
  padding: 10px 16px;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.1);
  z-index: 1050;
}

.mobile-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--primary-color);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  padding: 12px;
  border-radius: var(--radius-sm);
  width: 100%;
}

/* --------------------------------------------------------------------------
   13. Fixed Back-to-Top Floating Button (TOPに戻るボタン)
   -------------------------------------------------------------------------- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 24px;
  width: 48px;
  height: 48px;
  background-color: var(--primary-color);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--primary-hover);
  transform: translateY(-4px);
}

.back-to-top svg {
  width: 26px;
  height: 26px;
}

/* --------------------------------------------------------------------------
   14. Responsive Breakpoints (SP-Specific Styles Only)
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
  .pc-only {
    display: none;
  }

  .sp-only {
    display: inline;
  }

  /* ① SP Header: Remove tel button, fix hamburger icon line alignment */
  .site-header .header-cta {
    display: none;
  }

  .menu-toggle-icon {
    top: 19px;
    left: 8px;
  }
  .menu-toggle-icon::before {
    top: -7px;
    left: 0;
  }
  .menu-toggle-icon::after {
    top: 7px;
    left: 0;
  }

  .fv-section {
    background-image: url('../img/SPPV.png');
    min-height: 520px;
    padding: 30px 0 50px;
  }

  .fv-side-text {
    display: none;
  }

  .fv-center-wrap {
    transform: none;
  }

  .fv-center-img {
    max-height: 420px;
    width: 100%;
    transform: translateY(-55px); /* ONLY FVaaa image moves further upwards on SP */
  }

  /* SP FV Vertical Badges Stack (Left Side) */
  .fv-badges-group {
    position: absolute;
    bottom: 6%;
    left: 3%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 3;
    margin: 0;
    width: auto;
  }

  .fv-badge-item {
    font-size: 0.95rem;
    padding: 8px 16px;
    border-radius: 40px;
  }

  /* SP FV Vertical Catchphrase Box (Right Side) */
  .fv-catchphrase-box {
    position: absolute;
    top: auto;
    bottom: 6%;
    right: 3%;
    background: rgba(51, 38, 28, 0.94);
    backdrop-filter: blur(4px);
    border: 1px solid #cbb28d;
    border-radius: var(--radius-sm);
    padding: 22px 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    z-index: 3;
    margin: 0;
    width: auto;
  }

  .fv-catchphrase-text {
    writing-mode: vertical-rl;
    -webkit-writing-mode: vertical-rl;
    text-orientation: upright;
    font-size: 1.15rem;
    letter-spacing: 0.22em;
    line-height: 1.7;
    text-align: left;
  }

  /* ② SP Concerns Section: 2-by-2 Grid & Left-Aligned Message */
  .concerns-section,
  .price-section,
  #concerns,
  #price {
    background-image: url('../img/SPbackground1.jpg');
    background-position: center top;
    background-size: cover;
    background-attachment: scroll;
  }

  .concerns-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .concerns-message-box {
    text-align: left;
  }

  /* ③ SP ABOUT Section: Reduced font size & no wrapping except at <br> */
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-heading {
    font-size: 1.35rem;
    line-height: 1.6;
    letter-spacing: 0;
  }

  .about-heading span {
    display: inline;
    white-space: nowrap;
  }

  /* ④ SP Features Section: Natural Aspect Ratio without horizontal image stretching */
  .features-rows-list {
    gap: 50px;
  }

  .feature-row,
  .feature-row-reverse {
    flex-direction: column;
    gap: 24px;
  }

  .feature-row-image,
  .feature-row-content {
    width: 100%;
  }

  .feature-row-img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
  }

  /* ⑤ SP Greeting Section: Left-aligned text & Headline line break */
  .greeting-section,
  #greeting {
    background-image: url('../img/SPbackground2.png');
    background-position: center top;
    background-size: cover;
    background-attachment: scroll;
  }

  .greeting-headline {
    font-size: 1.4rem;
    line-height: 1.55;
  }

  .greeting-text {
    text-align: left;
  }

  .about-image-wrap {
    margin-left: 0;
    width: 100%;
  }

  .about-content {
    padding-left: 0;
  }

  .about-img {
    height: 340px;
    border-radius: 0 170px 170px 0;
  }

  .price-layout,
  .access-layout {
    grid-template-columns: 1fr;
  }

  .price-card-group {
    transform: none;
  }

  .price-image-wrap {
    margin-right: 0;
    width: 100%;
  }

  .price-img {
    height: 340px;
    border-radius: 170px 0 0 170px;
  }

  .nav-list {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  /* Mobile Drawer Menu */
  .main-nav.open {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: rgba(255, 255, 255, 0.98);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-bottom: 64px;
    z-index: 999;
  }

  .main-nav.open .nav-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .main-nav.open .nav-link {
    font-size: 1.2rem;
  }
}

@media (max-width: 576px) {
  .fv-section {
    min-height: 480px;
    padding: 24px 0 40px;
  }

  .fv-center-wrap {
    transform: none;
  }

  .fv-center-img {
    max-height: 360px;
    width: 100%;
    transform: translateY(-50px); /* ONLY FVaaa image moves further upwards on mobile */
  }

  /* SP FV Vertical Badges Stack (Left Side) */
  .fv-badges-group {
    position: absolute;
    bottom: 5%;
    left: 2%;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    width: auto;
  }

  .fv-badge-item {
    font-size: 0.85rem;
    padding: 6px 14px;
    border-radius: 40px;
  }

  /* SP FV Vertical Catchphrase Box (Right Side) */
  .fv-catchphrase-box {
    position: absolute;
    top: auto;
    bottom: 5%;
    right: 2%;
    margin: 0;
    width: auto;
    padding: 16px 12px;
    border-radius: var(--radius-sm);
  }

  .fv-catchphrase-text {
    writing-mode: vertical-rl;
    -webkit-writing-mode: vertical-rl;
    text-orientation: upright;
    font-size: 1.05rem;
    letter-spacing: 0.18em;
    line-height: 1.6;
    text-align: left;
  }

  /* SP Concerns 2-by-2 Grid on Mobile Screens */
  .concerns-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .concern-card {
    padding: 24px 12px 20px;
  }

  .concern-card-icon-wrap {
    width: 80px;
    height: 80px;
    margin-bottom: 14px;
  }

  .concern-card-img {
    width: 68px;
    height: 68px;
  }

  .concern-card-text {
    font-size: 0.88rem;
    line-height: 1.5;
  }

  .concerns-title {
    font-size: 1.6rem;
  }

  .concerns-message-box {
    text-align: left;
  }

  .concerns-message-box p {
    font-size: 0.95rem;
  }

  .concerns-message-box p:first-child {
    font-size: 1.05rem;
  }

  /* SP ABOUT Section Title */
  .about-heading {
    font-size: 1.25rem;
    line-height: 1.5;
  }

  .about-heading span {
    display: inline;
    white-space: nowrap;
  }

  /* SP Greeting Section Headline & Text */
  .greeting-headline {
    font-size: 1.25rem;
  }

  .greeting-text {
    text-align: left;
    font-size: 0.95rem;
    line-height: 2.0;
  }
}

@media (max-width: 768px) {
  /* SP Base Font Size 14px */
  html {
    font-size: 14px;
  }

  .section {
    padding: 50px 0;
  }

  #about {
    padding-top: 80px !important;
    padding-bottom: 120px !important;
  }

  #price,
  #greeting {
    padding-bottom: 140px !important;
  }

  .section-rounded-top {
    border-top-left-radius: 50% 45px;
    border-top-right-radius: 50% 45px;
    margin-top: -32px;
    padding-top: 65px;
    box-shadow: 0 -8px 20px rgba(184, 83, 20, 0.1);
  }

  .greeting-box {
    padding: 0;
  }

  .access-layout {
    padding: 24px 16px;
  }

  .header-cta {
    padding: 6px 12px;
  }

  .header-tel-num {
    font-size: 0.95rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .mobile-sticky-cta {
    display: block;
  }

  .back-to-top {
    bottom: 80px;
    right: 16px;
    width: 42px;
    height: 42px;
  }

  body {
    padding-bottom: 70px;
  }
}

/* --------------------------------------------------------------------------
   6. Animations & Dynamic Motion Enhancements
   -------------------------------------------------------------------------- */

/* Navigation link underline animation */
.nav-link {
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease, left 0.3s ease;
  border-radius: 2px;
}

.nav-link:hover::after {
  width: 100%;
  left: 0;
}

/* Header & Sticky CTA Shimmer & Pulse Effect */
.header-cta,
.google-review-btn,
.mobile-cta-btn {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease, background-color 0.3s ease;
}

.header-cta:hover,
.google-review-btn:hover,
.mobile-cta-btn:active {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 24px rgba(217, 107, 39, 0.3);
}

.header-cta::after,
.google-review-btn::after,
.mobile-cta-btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 50%;
  height: 200%;
  background: linear-gradient(
    60deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.35) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(25deg);
  transition: all 0.75s ease;
  pointer-events: none;
}

.header-cta:hover::after,
.google-review-btn:hover::after,
.mobile-cta-btn:hover::after {
  left: 130%;
}

/* Phone icon pulse animation */
.header-cta-icon,
.mobile-cta-btn svg {
  animation: phonePulse 3.5s infinite cubic-bezier(0.45, 0.05, 0.55, 0.95);
}

@keyframes phonePulse {
  0%, 100% {
    transform: scale(1) rotate(0deg);
  }
  8% {
    transform: scale(1.15) rotate(-10deg);
  }
  12% {
    transform: scale(1.15) rotate(10deg);
  }
  16% {
    transform: scale(1.15) rotate(-8deg);
  }
  20% {
    transform: scale(1.1) rotate(6deg);
  }
  24% {
    transform: scale(1) rotate(0deg);
  }
}

/* Hero FV Initial Entrance Keyframe Animations */
.fv-center-img {
  animation: fvImageEntrance 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fvImageEntrance {
  0% {
    opacity: 0;
    transform: scale(0.94) translateY(24px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.fv-badges-group .fv-badge-item {
  opacity: 0;
  animation: badgePopIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.fv-badges-group .fv-badge-item:nth-child(1) {
  animation-delay: 0.4s;
}

.fv-badges-group .fv-badge-item:nth-child(2) {
  animation-delay: 0.6s;
}

@keyframes badgePopIn {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.fv-catchphrase-box {
  opacity: 0;
  animation: catchphraseEntrance 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}

@keyframes catchphraseEntrance {
  0% {
    opacity: 0;
    transform: translateY(-16px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.fv-side-text {
  opacity: 0;
  animation: sideTextFade 1s ease 0.8s forwards;
}

@keyframes sideTextFade {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

/* Hover Micro-interactions for Concern Cards */
.concern-card {
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.concern-card-img {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.concern-card:hover .concern-card-img {
  transform: scale(1.12) rotate(4deg);
}

/* Hover Micro-interactions for Feature Rows */
.feature-row-img {
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  border-radius: var(--radius-md);
}

.feature-row:hover .feature-row-img {
  transform: scale(1.03);
}

/* Back to Top Hover Animation */
.back-to-top {
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.3s ease;
}

.back-to-top:hover {
  transform: translateY(-6px) scale(1.1);
}

/* Scroll Trigger Animations Utility Classes */
.scroll-anim {
  opacity: 0;
  will-change: opacity, transform;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.anim-fade-up {
  transform: translateY(36px);
}

.anim-fade-left {
  transform: translateX(-40px);
}

.anim-fade-right {
  transform: translateX(40px);
}

.anim-zoom-in {
  transform: scale(0.92);
}

.scroll-anim.is-animated {
  opacity: 1 !important;
  transform: translate(0, 0) scale(1) !important;
}

/* Stagger Delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

