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

:root {
  --primary-color: #d3aca9;
  --bg-color: #f8f3ef;
  --text-color: #383332;
  --text-light: #756d6a;
  --white: #ffffff;
  --border-color: #eadfdb;

  --font-serif: 'Shippori Mincho', serif;
  --font-sans: 'Noto Sans JP', sans-serif;
  --font-en: 'Montserrat', sans-serif;

  --fz-section-title: 28px;
  --fz-heading: 24px;
  --fz-catch: 20px;
  --fz-body: 16px;

  --padding-section: 120px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border-radius: 0 !important;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  line-height: 1.8;
  color: var(--text-color);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  font-size: var(--fz-body);
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

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

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

a:hover {
  opacity: 0.7;
}

li {
  list-style: none;
}

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
}

.container-fluid {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.section {
  padding: var(--padding-section) 0;
}

.bg-light {
  background-color: var(--bg-color);
}

h1,
h2,
h3,
h4,
.serif {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.4;
}

.en-title {
  font-family: var(--font-en);
  font-size: 0.75rem;
  letter-spacing: 0.4em;
  color: #6db1d9;
  display: block;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.section-title {
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: var(--fz-section-title);
  position: relative;
  display: inline-block;
}

.section-title.center {
  text-align: center;
}

p,
.body-text {
  font-size: var(--fz-body);
}

.catch {
  font-size: var(--fz-catch);
  font-family: var(--font-serif);
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 20px;
  display: block;
}

/* Loading Animation */
.loader-wrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--primary-color);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 1.2s cubic-bezier(0.86, 0, 0.07, 1);
}

.loader-wrap.loaded {
  transform: translateY(-100%);
  pointer-events: none;
}

.loader-content {
  text-align: center;
}

.loader-logo {
  height: auto;
  width: 200px;
  filter: brightness(0) invert(1);
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeInLogo 0.8s ease forwards 0.2s;
}

.loader-text {
  color: var(--white);
  font-family: var(--font-en);
  font-weight: 700;
  letter-spacing: 0.2em;
  font-size: 0.9rem;
  opacity: 0;
  animation: fadeInLogo 0.8s ease forwards 0.4s;
}

.loader-text span {
  animation: bounceDot 1.4s infinite ease-in-out both;
  display: inline-block;
}

.loader-text span:nth-child(1) {
  animation-delay: -0.32s;
}

.loader-text span:nth-child(2) {
  animation-delay: -0.16s;
}

@keyframes fadeInLogo {
  to {
    opacity: 1;
    transform: translateY(0);
  }

  from {
    opacity: 0;
    transform: translateY(15px);
  }
}

@keyframes bounceDot {

  0%,
  80%,
  100% {
    transform: scale(0);
  }

  40% {
    transform: scale(1);
  }
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 15px 0;
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

header.scrolled {
  padding: 15px 0;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

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

.logo img {
  height: 50px;
  width: auto;
}

nav ul {
  display: flex;
  gap: 30px;
}

nav a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.btn {
  display: inline-block;
  padding: 18px 45px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  font-size: 0.85rem;
  cursor: pointer;
  position: relative;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--text-color);
  transform: translateY(-5px);
}

/* FV Section */
.fv {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--bg-color);
}

.fv-content {
  width: 50%;
  padding-left: 10%;
  z-index: 2;
  position: relative;
}

.fv-content h1 {
  font-size: 3.5rem;
  margin-bottom: 30px;
  color: var(--text-color);
  line-height: 1.25;
}

.fv-content .subcopy {
  font-size: var(--fz-body);
  color: var(--text-light);
  margin-bottom: 30px;
  border-left: 2px solid var(--primary-color);
  padding-left: 20px;
}

.fv-badges {
  display: flex;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.fv-badge {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 10px 20px;
  border-radius: 30px;
  border: 1px solid var(--primary-color);
  color: var(--text-color);
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.4;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.fv-image-wrap {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  z-index: 1;
}

.fv-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 2.5s ease-in-out;
}

.fv-image.active {
  opacity: 1;
}

.fv-image-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  left: -1px;
  width: 25%;
  height: 100%;
  background: linear-gradient(to right, var(--bg-color) 0%, transparent 100%);
}

/* Recommend Section (formerly Trouble) */
#recommend-features {
  background-image: url('../img/trublebg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

#recommend-features .section-title h2 {
  font-size: 32px;
  margin-bottom: 60px;
  text-align: center;
  color: var(--text-color);
}

.recommend-features-list {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1100px;
  margin: 0 auto 60px;
  gap: 20px;
}

.recommend-feature-item {
  flex: 1;
  text-align: center;
  position: relative;
}

/* Dotted vertical line between items */
.recommend-feature-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 10%;
  right: -10px;
  width: 1px;
  height: 80%;
  border-right: 1px dashed var(--primary-color);
  opacity: 0.3;
}

.recommend-icon {
  width: 160px;
  height: 160px;
  margin: 0 auto 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50% !important;
  overflow: hidden;
  background-color: var(--white);
}

.recommend-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50% !important;
}

.recommend-feature-item p {
  font-size: 0.95rem;
  line-height: 1.8;
  font-weight: 500;
  color: var(--text-color);
}

.recommend-footer {
  text-align: center;
  font-size: 1.25rem;
  color: var(--primary-color);
  font-weight: 700;
  margin-top: 40px;
}

/* About Section */
.about {
  display: flex;
  align-items: stretch;
  background-color: var(--white);
}

.about-img {
  width: 50%;
  position: relative;
  overflow: hidden;
}

.slides-inner {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.8s ease-in-out;
}

.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
}

.about-content {
  width: 50%;
  padding: 100px 5%;
}

.about-content .section-title h2 {
  color: var(--white);
  text-align: left;
  font-size: calc(var(--fz-section-title) + 2px);
}

.about-content .section-title h2 span {
  color: var(--text-color);
}

.about-content p.about-text-scroll {
  font-size: calc(var(--fz-body) + 2px);
  font-weight: 700;
  line-height: 2;
  color: #d8ccc6;
  /* JSで1文字ずつ変更 */
}

/* Service Section */
#service {
  background-color: var(--white);
  background-image: linear-gradient(var(--border-color) 1px, transparent 1px), linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
  background-size: 40px 40px;
}

.service-row {
  display: flex;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
  background-color: var(--white);
  padding: 40px;
  border: 1px solid var(--border-color);
}

.service-row:nth-child(even) {
  flex-direction: row-reverse;
}

.service-txt {
  width: 45%;
}

.service-img {
  width: 55%;
}

.service-img img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
}

.service-txt .num {
  font-family: var(--font-en);
  font-size: 3rem;
  font-weight: 300;
  color: #eee;
  display: block;
  margin-bottom: -15px;
}

.service-txt h3 {
  font-size: var(--fz-heading);
  margin-bottom: 20px;
}

.labs-section-title h2 {
  font-size: 20px !important;
}

.lab-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.lab-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  border: 1px solid var(--border-color);
  background-color: var(--white);
}

.lab-photo {
  width: 200px;
  height: 150px;
  flex-shrink: 0;
}

.lab-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lab-info h3 {
  font-size: 20px;
  color: var(--primary-color);
  margin-top: 5px;
  margin-bottom: 20px;
}

.lab-info .catch {
  font-size: 14px;
  color: var(--text-color);
  margin-bottom: 2px;
}

/* Recommend Menu */
#recommend-menu {
  position: relative;
  background-image: url('../img/menubg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: 1;
}

#recommend-menu::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(184, 160, 8, 0.88);
  z-index: 1;
}

#recommend-menu .container {
  position: relative;
  z-index: 2;
}

#recommend-menu .section-title h2,
#recommend-menu .section-title .en-title {
  color: var(--white);
}

.recommend-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

@media (max-width: 768px) {
  .recommend-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.recommend-card {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  height: 100%;
}

.recommend-img {
  height: 200px;
}

.recommend-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recommend-txt {
  padding: 30px;
}

.recommend-txt h3 {
  font-size: var(--fz-heading);
  margin-bottom: 15px;
}

/* Pricing */
#menu {
  position: relative;
  background-image: url('../img/menubg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: 1;
}

#menu::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 0;
}

#menu .container {
  position: relative;
  z-index: 2;
}

.price-box {
  background: var(--bg-color);
  padding: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.price-list {
  display: flex;
  flex-direction: column;
}

.price-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-color);
}

.new-price-layout {
  background: #fff;
  padding: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.menu-title-main {
  font-size: 32px;
  font-family: var(--font-serif);
  text-align: center;
  margin-bottom: 20px;
  display: inline-block;
  padding-bottom: 15px;
  position: relative;
}

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

.course-main {
  flex: 1;
}

.course-name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  display: block;
  margin-bottom: 5px;
}

.course-options {
  display: flex;
  flex-wrap: wrap;
  gap: 15px 30px;
  font-size: 1rem;
  color: #333;
}

.course-desc {
  font-size: 1rem;
  color: #333;
}

.course-price-info {
  text-align: right;
  min-width: 180px;
}

.price-val,
.duration {
  font-family: var(--font-sans);
  /* 画像のフォントに近いもの */
  font-size: 1.2rem;
  color: #333;
  font-weight: 500;
}

.trial-item,
.monthly-item {
  padding: 25px 0;
}

.trial-item .price-val {
  font-size: 1.3rem;
  font-weight: 700;
}

@media (max-width: 767px) {
  .price-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .course-price-info {
    width: 100%;
    text-align: right;
  }

  .course-options {
    gap: 10px;
  }
}

.price-name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
}

.price-val {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--primary-color);
  font-weight: 700;
}

/* Message Section */
.message-section {
  position: relative;
  overflow: hidden;
}

.message-container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.message-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background-image: url('../img/logo.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.04;
  z-index: 0;
  pointer-events: none;
}

.message-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.message-img {
  width: 100%;
  height: auto;
}

.message-text {
  font-size: var(--fz-body);
  line-height: 2.2;
  font-family: var(--font-serif);
  margin-bottom: 30px;
}

.representative-name {
  font-size: 16px !important;
  font-weight: 700;
  font-family: var(--font-serif);
}

/* Access */
.access-section {
  display: flex;
  background-color: #f9f8f4;
}

.access-info {
  width: 40%;
  padding: 80px;
  color: var(--text-color);
}

.access-map {
  width: 60%;
}

/* Sticky CTA */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  display: none;
  z-index: 1001;
}

.cta-item {
  flex: 1;
  padding: 15px 10px;
  /* 18pxから縮小 */
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  /* 1rem(16px)から2px縮小 */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  /* iPhone等のセーフエリアを考慮し、スクロール時の隙間を防止 */
  padding-bottom: calc(15px + env(safe-area-inset-bottom));
}

.cta-item.tel {
  background-color: var(--primary-color);
  color: var(--white);
}

.cta-item.line {
  background-color: #c9b8ae;
  color: var(--white);
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 50% !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.sp-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(249, 248, 244, 0.98);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.sp-nav.active {
  opacity: 1;
  visibility: visible;
}

.sp-nav ul {
  text-align: center;
  padding: 0;
}

.sp-nav ul li {
  margin-bottom: 30px;
}

.sp-nav ul li a {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--font-en);
  letter-spacing: 0.1em;
  color: var(--text-color);
}

.sp-nav-close {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 3rem;
  color: var(--text-color);
  cursor: pointer;
  line-height: 1;
  z-index: 1003;
}

.hamburger {
  display: none;
}

.sp-br {
  display: none;
}

/* ================================
   Responsive: Tablet (820px以下 / iPad Air)
================================ */
@media (max-width: 820px) {

  /* --- FV: 縦積みレイアウト --- */
  .fv {
    flex-direction: column;
    justify-content: flex-start;
    height: auto;
    min-height: auto;
    padding-top: 65px;
    padding-bottom: 0;
  }

  .fv::before {
    display: none;
  }

  .fv::after {
    display: none;
  }

  .fv-image-wrap {
    position: relative;
    width: 100%;
    height: 55vh;
    opacity: 1;
    order: 1;
    margin-bottom: 0;
  }

  .fv-image-wrap::after {
    display: none;
  }

  .fv-content {
    background-color: var(--bg-color);
    position: relative;
    width: 100%;
    flex: 1;
    padding: 30px 5% 50px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
    order: 2;
    z-index: 2;
  }

  .fv-content::before {
    display: none;
  }

  .fv-content h1 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    margin-bottom: 20px;
    white-space: normal;
    line-height: 1.5;
    color: var(--text-color);
  }

  .fv-content .subcopy {
    font-size: 1rem;
    margin-bottom: 30px;
    border-left: 2px solid var(--primary-color);
    padding-left: 15px;
    text-align: left;
  }

  .fv-badges {
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
  }

  .fv-badge {
    padding: 10px 16px;
    font-size: 0.85rem;
  }

  .fv-fluid {
    display: none;
  }

  /* --- About: 1カラム --- */
  .about-inner {
    grid-template-columns: 1fr !important;
    gap: 40px;
  }

  .about-img {
    max-width: 420px;
    margin: 0 auto;
  }

  .about-content::before {
    display: none;
  }

  /* --- Service: 1カラム --- */
  .service-row {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
    margin-bottom: 60px;
  }

  .service-img {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 100% !important;
    aspect-ratio: 4 / 3;
  }

  .service-txt {
    grid-column: 1 !important;
    grid-row: 2 !important;
    width: 100% !important;
  }
  
  /* Service 02 (nth-child(3)) も確実に1カラムにリセット */
  .service-row:nth-child(3) .service-txt {
    grid-column: 1 !important;
    grid-row: 2 !important;
  }
  .service-row:nth-child(3) .service-img {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  /* --- treatment grid: 2カラム → 1カラム --- */
  .treatment-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* --- Access: 縦積み --- */
  .access-section {
    flex-direction: column;
  }

  .access-info {
    width: 100%;
    padding: 60px 40px;
  }

  .access-map {
    width: 100%;
    min-height: 400px;
  }

  /* --- Message: 1カラム --- */
  .message-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* --- Recommend menu background-attachment --- */
  #recommend-menu {
    background-attachment: scroll;
  }

  /* --- ハンバーガーメニュー表示 --- */
  .pc-nav {
    display: none;
  }

  .hamburger {
    display: block;
    width: 28px;
    height: 20px;
    position: relative;
    cursor: pointer;
    z-index: 1002;
  }

  .hamburger span {
    display: block;
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--text-color);
    transition: all 0.3s ease;
    left: 0;
  }

  .hamburger span:nth-child(1) { top: 0; }
  .hamburger span:nth-child(2) { top: 9px; }
  .hamburger span:nth-child(3) { top: 18px; }

  .hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  .sp-br {
    display: block;
  }

  .recommend-features-list {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .recommend-feature-item {
    flex: 0 0 40%;
  }

  .recommend-feature-item:not(:last-child)::after {
    display: none;
  }
}

/* ================================
   Responsive: SP (768px以下 / スマートフォン)
================================ */
@media (max-width: 768px) {
  :root {
    --padding-section: 80px;
  }

  .fv-image-wrap {
    height: 40vh;
  }

  .fv-content h1 {
    font-size: min(8vw, 2.2rem);
  }

  .fv-content .subcopy {
    font-size: 0.95rem;
  }

  .trouble-container {
    padding: 40px 20px;
  }

  nav {
    display: none;
  }

  .price-box {
    padding: 20px;
  }

  .price-item {
    flex-direction: column;
    align-items: flex-start;
    border-bottom: 1px dashed var(--border-color);
    padding: 15px 0;
  }

  .price-name {
    font-size: 1rem;
    margin-bottom: 5px;
  }

  .price-val {
    font-size: 1.25rem;
    align-self: flex-end;
  }

  .lab-card {
    flex-direction: column-reverse;
  }

  .lab-photo {
    width: 100%;
    height: 200px;
  }

  .access-info {
    padding: 40px;
  }

  /* treatment grid: SP時は1カラム */
  .treatment-grid {
    grid-template-columns: 1fr !important;
  }
}



/* Lab minimal redesign */
body {
  background:
    radial-gradient(circle at 12% 18%, rgba(211, 172, 169, 0.16), transparent 24%),
    linear-gradient(180deg, #fff 0%, #fbf8f5 100%);
  overflow-x: hidden;
}

.en-title {
  color: #6db1d9;
  letter-spacing: 0.26em;
  font-weight: 700;
}

.section-title h2 {
  letter-spacing: 0.04em;
}

.btn,
.btn-primary,
.menu-more-btn {
  border-radius: 999px !important;
}

.btn-primary,
.menu-more-btn {
  background-color: var(--primary-color) !important;
  color: var(--white) !important;
  box-shadow: 0 14px 30px rgba(211, 172, 169, 0.28);
}

.btn-primary:hover,
.menu-more-btn:hover {
  background-color: #c69996 !important;
}

.fv {
  min-height: 760px;
  height: 100vh;
  background: linear-gradient(to right, #f2f2f2 0%, #f2f2f2 30%, rgba(242, 242, 242, 0) 60%), var(--white);
  isolation: isolate;
}

.fv::before,
.fv::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.fv::before {
  inset: 0;
  background: linear-gradient(to right, #f6f6f6 0%, #f6f6f6 35%, rgba(246, 246, 246, 0) 65%);
  z-index: 1;
}

.fv::after {
  width: 190px;
  height: 190px;
  left: 6%;
  bottom: 16%;
  border: 1px solid rgba(211, 172, 169, 0.45);
  border-radius: 50% !important;
  opacity: 0.65;
}

.fv-content {
  width: 47%;
  padding-left: clamp(48px, 8vw, 132px);
  z-index: 3;
}

.fv-content h1 {
  font-size: clamp(2rem, 3.05vw, 3.25rem);
  letter-spacing: 0.06em;
  line-height: 1.68;
  margin-bottom: 28px;
}

.fv-content .subcopy {
  border-left: 0;
  padding-left: 0;
  color: var(--text-light);
  letter-spacing: 0.08em;
}

.fv-image-wrap {
  width: 75%;
  right: 0;
  z-index: 0;
}

.fv-image {
  background-position: center right;
}

.fv-image-wrap::after {
  display: none;
}

.fv-fluid {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: clamp(98px, 13vw, 180px);
  z-index: 4;
  pointer-events: none;
}

.fv-fluid svg {
  width: 100%;
  height: 100%;
  display: block;
}

.fv-fluid path {
  fill: #ffffff;
}

#trouble {
  background: var(--bg-color) !important;
}

.trouble-marquee {
  color: rgba(255, 255, 255, 0.55);
  -webkit-text-stroke: 1px rgba(211, 172, 169, 0.38);
}

.trouble-container {
  max-width: 980px;
  border: 1px solid rgba(211, 172, 169, 0.24);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 24px 60px rgba(180, 148, 143, 0.1);
  backdrop-filter: blur(12px);
  border-radius: 8px !important;
}

.trouble-item::before {
  content: "+";
  color: var(--primary-color);
}

.about {
  background: var(--white);
}

.about-inner {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(360px, 1.1fr);
  align-items: center;
  gap: clamp(48px, 7vw, 100px);
}

.about-img,
.about-content {
  width: auto;
}

.about-img {
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border-radius: 50% !important;
  box-shadow: 0 10px 30px rgba(180, 148, 143, 0.15);
  contain: paint;
  background: transparent;
}

.about-ratio-img {
  width: 100%;
  height: 100% !important;
  visibility: hidden;
  display: block;
}

.about-img img {
  border-radius: 0 !important;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content {
  padding: 0;
  position: relative;
}

.about-content::before {
  content: "";
  position: absolute;
  top: -42px;
  left: -36px;
  width: 78px;
  height: 78px;
  border-top: 1px solid rgba(211, 172, 169, 0.55);
  border-left: 1px solid rgba(211, 172, 169, 0.55);
}

.about-content .section-title h2 {
  color: var(--text-color);
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.about-content p.about-text-scroll {
  color: #d8ccc6;
  font-weight: 500;
  font-size: var(--fz-body);
  line-height: 2.3;
  letter-spacing: 0.04em;
}

#service {
  background: var(--white);
  background-image: none;
}

.service-row {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(260px, 1.1fr);
  gap: clamp(24px, 5vw, 86px);
  padding: 0;
  border: 0;
  background: transparent;
  margin-bottom: 88px;
}

.service-row:nth-child(even) {
  direction: ltr;
}

.service-row:nth-child(even)>* {
  direction: ltr;
}

.service-txt,
.service-img {
  width: auto;
}

.service-img {
  grid-column: 1;
  grid-row: 1;
  justify-self: stretch;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px !important;
  overflow: hidden;
  position: relative;
}

.service-img::after {
  display: none;
}

.service-img img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  border-radius: 8px !important;
}

.service-txt {
  grid-column: 2;
  grid-row: 1;
}

.service-txt .num {
  color: rgba(211, 172, 169, 0.26);
  font-size: 3.8rem;
}

.service-txt h3 {
  letter-spacing: 0.06em;
}

/* 02の画像とテキストの位置を反対にする（PC表示のみ） */
@media (min-width: 821px) {
  .service-row:nth-child(3) .service-txt {
    grid-column: 1;
  }
  .service-row:nth-child(3) .service-img {
    grid-column: 2;
  }
}

.treatment-section {
  background-color: transparent !important;
}

.treatment-section::before,
#menu::before,
#recommend-menu::before {
  display: none !important;
}

#recommend-menu {
  padding-bottom: 56px;
}

#menu {
  padding-top: 56px;
}

#recommend-menu .section-title h2,
#recommend-menu .section-title .en-title {
  color: #6db1d9;
}

#recommend-menu .section-title h2 {
  color: var(--text-color);
}

.treatment-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  max-width: none !important;
  margin: 0 auto !important;
}

.treatment-grid--recommend {
  grid-template-columns: minmax(320px, 1040px);
  justify-content: center;
}

.treatment-card {
  background: var(--white) !important;
  border: 1px solid rgba(211, 172, 169, 0.26) !important;
  box-shadow: 0 18px 44px rgba(180, 148, 143, 0.11) !important;
  border-radius: 8px !important;
  overflow: hidden;
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  height: 100%;
}

.treatment-card--featured {
  display: grid !important;
  grid-template-columns: 1.08fr 1fr;
  align-items: stretch;
}

.treatment-img {
  height: auto;
  aspect-ratio: 1.42 / 1;
  overflow: hidden;
}

.treatment-card--featured .treatment-img {
  aspect-ratio: auto;
  min-height: 390px;
}

.treatment-card--featured .treatment-txt {
  padding: clamp(34px, 4vw, 58px) !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.treatment-img img,
.menu-img img,
.recommend-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

.treatment-txt,
.recommend-txt,
.menu-info {
  padding: 24px !important;
  min-width: 0 !important;
  flex: initial !important;
  text-align: left !important;
  margin-top: 0 !important;
}

.treatment-label {
  display: block;
  margin-bottom: 12px;
  color: var(--primary-color);
  font-family: var(--font-en);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.treatment-txt h3,
.menu-info h3 {
  font-size: clamp(1.22rem, 1.55vw, 1.55rem) !important;
  border-bottom: 0 !important;
  padding-bottom: 0 !important;
  margin-bottom: 12px !important;
  letter-spacing: 0.04em;
}

.treatment-card--featured .treatment-txt h3 {
  font-size: clamp(1.8rem, 2.5vw, 2.45rem) !important;
}

.menu-card .menu-info h3 {
  color: var(--text-color);
  font-size: clamp(1.2rem, 1.45vw, 1.42rem) !important;
  font-weight: 700;
}

.treatment-txt p,
.menu-info p {
  color: var(--text-light) !important;
  font-size: 1rem !important;
  line-height: 1.85 !important;
  margin-bottom: 16px !important;
}

.treatment-price {
  color: var(--primary-color) !important;
  font-size: 1.25rem !important;
  font-weight: 700 !important;
}

.treatment-price small {
  color: var(--text-light);
  font-size: 0.78rem;
  font-weight: 500;
}

.menu-info ul {
  padding: 0 !important;
  list-style: none !important;
}

.menu-info li {
  display: flex !important;
  justify-content: space-between !important;
  gap: 12px;
  padding: 9px 0 !important;
  border-bottom: 1px solid rgba(211, 172, 169, 0.22) !important;
  font-size: 0.88rem;
}

.menu-info li span:last-child {
  color: var(--primary-color);
  white-space: nowrap;
  font-weight: 700;
}

.menu-title-main::after {
  background-color: var(--primary-color);
}

.menu-more-btn {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
}

.voice-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: none !important;
  margin: 0 auto !important;
}

.voice-card {
  background: rgba(255, 255, 255, 0.86) !important;
  padding: 32px 28px !important;
  border: 1px solid rgba(211, 172, 169, 0.28);
  box-shadow: 0 18px 44px rgba(180, 148, 143, 0.1) !important;
  border-radius: 8px !important;
  position: relative;
}

.voice-card::before {
  display: none;
}

.voice-stars {
  color: #d3aca9;
  font-family: var(--font-en);
  font-size: 0.94rem;
  letter-spacing: 0.18em;
  line-height: 1;
  margin-bottom: 18px;
}

.voice-card h3 {
  font-size: clamp(1.12rem, 1.4vw, 1.38rem);
  letter-spacing: 0.03em;
  line-height: 1.55;
  min-height: 3.1em;
  margin-bottom: 16px;
}

.voice-card p {
  line-height: 1.9 !important;
  color: var(--text-light);
  font-size: 1rem;
}

.voice-card > p {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 7.6em;
  margin-bottom: 14px;
}

.voice-card:has(details[open]) > p {
  display: block;
}

.voice-card details {
  margin-top: 0 !important;
}

.voice-card summary {
  cursor: pointer;
  color: var(--primary-color) !important;
  font-weight: 700;
  text-decoration: none !important;
  font-size: 0.9rem;
}

.voice-card details[open] summary {
  display: none;
}

.close-details {
  cursor: pointer;
  color: var(--primary-color) !important;
  font-weight: 700;
  font-size: 0.9rem;
  margin-top: 10px;
  display: inline-block;
}

.sticky-cta {
  background: rgba(255, 255, 255, 0.86);
  border-top: 1px solid rgba(211, 172, 169, 0.22);
  backdrop-filter: blur(12px);
}

.cta-item,
.cta-item.tel,
.cta-item.line {
  background: rgba(211, 172, 169, 0.92) !important;
  color: var(--white) !important;
}

.cta-item.line {
  background: #c9b8ae !important;
}

.cta-item:not(.tel):not(.line) {
  background: #d3aca9 !important;
}



@media (max-width: 1024px) {
  :root {
    --fz-body: 14px;
  }

  .container {
    padding: 0 22px;
  }

  .fv {
    flex-direction: column;
    height: auto;
    min-height: 100svh;
    padding-top: 60px;
    position: relative;
    overflow: visible;
  }




  .fv-content {
    width: 100%;
    height: auto;
    padding: 20px 5% 60px;
    order: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .fv-content h1 {
    white-space: nowrap !important;
    font-size: clamp(1.6rem, 7vw, 2.2rem);
    margin-bottom: 15px;
  }
  
  .fv-content .subcopy {
    margin-bottom: 20px;
  }

  .fv-image-wrap {
    position: relative !important;
    width: 100%;
    height: 45vh;
    order: 1;
  }


  .about-img {
    width: 100%;
    max-width: 330px;
    height: auto;
    margin: 0 auto;
  }

  .about-content::before {
    top: -54px;
    left: -12px;
  }

  .service-img {
    width: 100%;
  }

  .treatment-grid,
  .voice-grid {
    grid-template-columns: 1fr;
  }

  .treatment-txt,
  .recommend-txt,
  .menu-info {
    padding: 22px !important;
  }
}

@media (max-width: 768px) {
  #recommend-features {
    background-position: right center !important;
  }
  .recommend-features-list {
    flex-direction: column;
    gap: 40px;
  }
  .recommend-feature-item:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .sticky-cta {
    display: flex;
  }
}

.fv-badges {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: nowrap;
}
.fv-badge {
  width: 30%;
  max-width: 170px;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(211, 172, 169, 0.15);
}
.fv-badge span {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-color);
  line-height: 1.6;
}
.fv-btn {
  padding: 16px 40px;
  border-radius: 999px !important;
  background-color: #d3aca9 !important;
  color: #fff !important;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
}


/* Custom Overrides for HARIKYU */
h1, h2, h3, .subcopy, .en-title, .section-title, .section-subtitle {
  white-space: nowrap !important;
}

.service-txt h3 {
  color: #d3b0ab !important;
}


@media (max-width: 768px) {
  #menu {
    background-image: url('../img/menubg.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
  }
}

/* -----------------------------
   Added styles for requests
----------------------------- */


/* FAQ */
.faq-category {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
  font-family: var(--font-serif);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 8px !important;
  overflow: hidden;
}

.faq-item summary {
  padding: 20px;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  list-style: none;
  font-family: var(--font-serif);
  font-size: 1.1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--primary-color);
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item p {
  padding: 0 20px 20px;
  margin: 0;
  color: var(--text-color);
}

/* SP Adjustments */
@media (max-width: 768px) {
  /* SPFV Gradient 1/5 from bottom */
  .fv-image-wrap::after {
    display: block !important;
    position: absolute !important;
    top: auto !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 20% !important;
    background: linear-gradient(to top, var(--bg-color) 0%, transparent 100%) !important;
  }

  /* SPFV 丸い３つのバッジを横一列に */
  .fv-badges {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    gap: 8px !important;
    width: 100%;
  }
  .fv-badge {
    width: auto !important;
    height: auto !important;
    flex: 1;
    padding: 10px 5px !important;
    border-radius: 50% !important;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .fv-badge span {
    font-size: 11px !important;
    line-height: 1.3 !important;
  }

  /* お悩みアイコン部分を２カラムに */
  .recommend-features-list {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 20px !important;
  }
  .recommend-feature-item {
    width: 100%;
    flex: auto !important;
  }
}

/* Header Buttons */
.header-right {
  display: flex;
  align-items: center;
  gap: 30px;
}
.header-btns {
  display: flex;
  gap: 15px;
}
.btn-hdr {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 4px;
  letter-spacing: 0.05em;
  color: #fff !important;
  transition: opacity 0.3s;
}
.btn-hdr:hover {
  opacity: 0.8;
}
.btn-hotpepper {
  background-color: #d3aca9; /* matching primary color */
}
.btn-line {
  background-color: #06c755;
}
.pc-only {
  display: flex;
}

/* CTA Section */
.cta-section {
  padding: 80px 0;
}
.cta-grid {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 40px;
  background-color: #fff;
  padding: 60px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  border-radius: 12px;
}
.cta-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid #eadfdb;
  padding-right: 40px;
}
.cta-title {
  margin-bottom: 30px;
}
.cta-tel-box {
  text-align: center;
  align-self: flex-start;
}
.cta-tel-text {
  font-size: 0.85rem;
  color: #756d6a;
  margin-bottom: 5px;
}
.cta-tel-link {
  font-size: 2.2rem;
  font-family: var(--font-en, 'Montserrat', sans-serif);
  font-weight: 700;
  color: #383332;
  text-decoration: none;
}
.cta-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding-left: 20px;
}
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 20px 30px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 50px;
  color: #fff !important;
  transition: opacity 0.3s, transform 0.3s;
  text-decoration: none;
  width: 100%;
}
.btn-cta:hover {
  opacity: 0.9;
  transform: translateY(-3px);
}
.btn-hotpepper-cta {
  background-color: #d3aca9;
}
.btn-line-cta {
  background-color: #06c755;
}

@media (max-width: 768px) {
  .pc-only {
    display: none !important;
  }
  .cta-grid {
    flex-direction: column;
    padding: 40px 20px;
    gap: 30px;
  }
  .cta-left {
    border-right: none;
    border-bottom: 1px solid #eadfdb;
    padding-right: 0;
    padding-bottom: 30px;
    text-align: center;
  }
  .cta-tel-box {
    align-self: center;
  }
  .cta-right {
    padding-left: 0;
  }
}

@media (max-width: 767px),
       (max-width: 1024px) and (hover: none) and (pointer: coarse) {
  #recommend-features,
  #recommend-menu,
  #menu {
    position: relative;
    background: none !important;
    background-color: transparent !important;
    isolation: isolate;
    z-index: 0;
    -webkit-clip-path: inset(0);
    clip-path: inset(0);
    overflow: hidden;
  }

  #recommend-features::before,
  #recommend-menu::before,
  #menu::before {
    content: "";
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    z-index: 0;
    pointer-events: none;
    display: block !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center !important;
    opacity: 1;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  #recommend-features::before {
    background-image: url("../img/trublebg.jpg") !important;
    background-position: right center !important;
  }

  #recommend-menu::before,
  #menu::before {
    background-image: url("../img/menubg.jpg") !important;
  }

  #recommend-features > *,
  #recommend-menu > *,
  #menu > * {
    position: relative;
    z-index: 1;
  }
}