/* ===================================
   Front Page - ページ固有スタイル
   共通スタイルは style.css を参照:
   - ベーススタイル (*, html, body)
   - .header, .nav, .logo, .mobile-menu-toggle
   - .icon-circle, .card-hover
   - .cta, .cta-btn
   - .footer, .back-to-top
   =================================== */

/* カードホバー効果（front-page固有） */
.card-hover {
  transition: var(--transition-smooth);
}

.card-hover:hover {
  transform: var(--hover-lift-elegant);
  box-shadow: var(--shadow-hover);
}

/* scroll-padding-top: front-page固有（PCヘッダー高さ対応） */
html {
  scroll-padding-top: 80px;
}

/* Hero - and recipe風（写真主役・非対称） */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 250px 1fr 240px;
  /* Increased right column width */
  background: var(--color-bg);
  position: relative;
  padding: 50px 0;
}

.hero-left {
  padding: 80px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
}

.hero-vertical-text {
  display: flex;
  gap: var(--space-2);
}

.hero-catch-copy span {
  writing-mode: vertical-rl;
  font-family: var(--font-handwriting);
  font-size: 28px;
  color: var(--color-primary);
  letter-spacing: 0.2em;
  line-height: 1.8;
  opacity: 0;
  transform: translateY(-30px);
  animation: fadeInFromTop 0.8s ease forwards;
}

/* 心と身体を、が先 (Now on Right / Child 1) */
.hero-catch-copy span:nth-child(1) {
  animation-delay: 0.6s;
}

/* やさしくほどく。が後 (Now on Left / Child 2) */
.hero-catch-copy span:nth-child(2) {
  animation-delay: 0.9s;
}

/* New H1 Styles */
.hero-title-main {
  writing-mode: vertical-rl;
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--color-text);
  letter-spacing: 0.2em;
  margin: 0;
  /* Align to container start */
  line-height: 1.8;
  opacity: 0;
  transform: translateY(-30px);
  animation: fadeInFromTop 0.8s ease forwards;
  animation-delay: 0.1s;
}

.hero-title-main .d-block {
  display: inline-block;
  margin-left: 8px;
}

.hero-catch-copy {
  display: flex;
  gap: var(--space-2);
}

/* 共通アニメーション: フェードイン + 移動 */
@keyframes fadeInFromTop {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* heroFadeInUp は fadeInFromTop と同一のため統合 */

.hero-menu-list {
  margin-top: 40px;
  font-size: 11px;
  color: var(--color-text-light);
  letter-spacing: 1px;
  line-height: 2.5;
}

.hero-menu-list div {
  opacity: 0;
  transform: translateX(-10px);
  animation: fadeInRight 0.6s ease forwards;
}

/* メニューリスト項目のディレイ（0.1秒間隔） */
.hero-menu-list div:nth-child(1) { animation-delay: 1.0s; }
.hero-menu-list div:nth-child(2) { animation-delay: 1.1s; }
.hero-menu-list div:nth-child(3) { animation-delay: 1.2s; }
.hero-menu-list div:nth-child(4) { animation-delay: 1.3s; }
.hero-menu-list div:nth-child(5) { animation-delay: 1.4s; }
.hero-menu-list div:nth-child(6) { animation-delay: 1.5s; }

/* SP専用要素をPC版で非表示 */
.hero-feature-points,
.hero-cta-area,
.hero-sp-content,
.hero-title-sp {
  display: none;
}

.hero-menu-list span {
  color: var(--color-accent);
  margin-right: 12px;
}

.hero-image {
  position: relative;
  padding: 90px 30px;
  display: flex;
  align-items: center;
}

/* スライドショーコンテナ */
.hero-slideshow {
  width: 100%;
  height: 100%;
  min-height: 55vh;
  position: relative;
  overflow: hidden;
}

/* 各スライド */
.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.8s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

/* 初回ロード時のアニメーション */
.hero-slide.active:first-child {
  animation: fadeInImage 1.5s ease forwards;
}

.hero-slide::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-bg-warm);
  opacity: 0.15;
  pointer-events: none;
}

/* スライドインジケーター */
.hero-slide-indicators {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.hero-slide-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid var(--color-text-light);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s;
}

.hero-slide-indicator:hover {
  background: var(--color-text-light);
}

.hero-slide-indicator.active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  transform: scale(1.2);
}

/* 後方互換: 旧 .hero-image-main */
.hero-image-main {
  width: 100%;
  height: 100%;
  min-height: 55vh;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: fadeInImage 1s ease forwards;
  animation-delay: 1.2s;
  position: relative;
}

.hero-image-main::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-bg-warm);
  opacity: 0.15;
  pointer-events: none;
}

.hero-image-number {
  position: absolute;
  bottom: 80px;
  right: 50px;
  font-family: var(--font-serif);
  font-size: 14px;
  color: var(--color-text-light);
  letter-spacing: 2px;
  z-index: 10;
}

.hero-right {
  padding: 80px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}

.hero-right-top {
  /* H1 handles styles now */
  width: 100%;
}

.hero-right-bottom {
  text-align: left;
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
  animation-delay: 1.2s;
}

/* 共通アニメーション: 単純フェードイン（fadeIn と fadeInImage を統合） */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* fadeInImage は fadeIn と同一だが、セマンティクス維持のためエイリアスとして定義 */
@keyframes fadeInImage {
  to {
    opacity: 1;
  }
}

/* 初めての方へボタン */
.hero-first-visit-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 14px 24px;
  background: var(--color-accent);
  color: #fff;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 4px 16px rgba(196, 169, 106, 0.3);
}

.hero-first-visit-btn:hover {
  background: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(107, 100, 96, 0.3);
}

.hero-first-visit-text {
  white-space: nowrap;
}

.hero-first-visit-arrow {
  display: flex;
  align-items: center;
  transition: transform 0.3s;
}

.hero-first-visit-btn:hover .hero-first-visit-arrow {
  transform: translateX(4px);
}

.hero-label {
  font-family: var(--font-handwriting);
  font-size: 14px;
  color: var(--color-text-light);
  letter-spacing: 3px;
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-handwriting);
  font-size: 42px;
  font-weight: 400;
  color: var(--color-primary);
  line-height: 1.6;
  margin-bottom: 24px;
  letter-spacing: 0.1em;
}

.hero-subtitle {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 2.2;
  margin-bottom: 40px;
}

/* Integrated Mobile Title (Default Hidden) */
.hero-title-mobile {
  display: none;
}

.hero-subtitle-mobile {
  display: none;
}

/* SP用「初めての方へ」ボタン（PCでは非表示） */
.hero-first-visit-btn-mobile {
  display: none;
}

/* SP用ボタン群（PCでは非表示） */
.hero-buttons {
  display: none;
}

/* SP用施術メニューボタン群（PCでは非表示） */
.hero-treatment-btns {
  display: none;
}

/* SP用オーバーレイ（PCでは非表示） */
.hero-overlay {
  display: none;
}

.hero-scroll {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--color-text-light);
  font-size: 11px;
  letter-spacing: 2px;
  animation: bounce 2s infinite;
  z-index: 10;
  font-family: var(--font-sans);
  /* Ensure simple font */
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  40% {
    transform: translateX(-50%) translateY(-10px);
  }

  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

.hero-scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--color-text-light), transparent);
}

/* Troubles - お悩みセクション */
.troubles {
  background: var(--color-bg-warm);
}

.troubles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  max-width: 800px;
  margin: 0 auto;
}

.trouble-card {
  background: var(--color-bg);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-3);
  text-align: center;
  transition: var(--transition-base);
  cursor: pointer;
  display: block;
  text-decoration: none;
  color: inherit;
}

.trouble-card:hover {
  transform: var(--hover-lift);
  box-shadow: var(--shadow-soft);
}

.trouble-icon {
  width: 72px;
  height: 72px;
  background: var(--color-bg-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--color-text-light);
  transition: var(--transition-base);
}

.trouble-card:hover .trouble-icon {
  background: var(--color-sakura-light);
  color: var(--color-sakura);
}

.trouble-title {
  font-family: var(--font-handwriting);
  font-size: 17px;
  color: var(--color-text);
  margin-bottom: 6px;
}

.trouble-sub {
  font-size: 12px;
  color: var(--color-text-light);
}

/* Section - 白ベース維持 */
.section {
  padding: var(--space-8) var(--space-7);
  background: var(--color-bg);
}

.section-alt {
  background: var(--color-bg-warm);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-5);
}

.section-label {
  font-size: 12px;
  color: var(--color-text-light);
  letter-spacing: 4px;
  margin-bottom: var(--space-2);
}

.section-title {
  font-family: var(--font-handwriting);
  font-size: 32px;
  color: var(--color-primary);
  letter-spacing: 0.1em;
}

.section-cta {
  text-align: center;
  margin-top: var(--space-5);
}

.section-cta .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* About - パララックス背景 */
.about {
  text-align: center;
  position: relative;
  overflow: hidden;
  color: var(--color-bg);
}

.about-parallax-bg {
  position: absolute;
  inset: -60% 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  will-change: transform;
  z-index: 0;
}

.about-parallax-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(90, 85, 80, 0.7);
}

.about > *:not(.about-parallax-bg) {
  position: relative;
  z-index: 1;
}

.about .section-label {
  color: rgba(255, 255, 255, 0.7);
}

.about .section-title {
  color: var(--color-bg);
}

.about .btn-outline {
  border-color: rgba(255, 255, 255, 0.8);
  color: rgba(255, 255, 255, 0.9);
}

.about .btn-outline:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-text);
}


.about-text {
  font-family: var(--font-serif);
  font-size: 15px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.95);
  max-width: 600px;
  margin: 0 auto 40px;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.about-text p {
  margin-bottom: 1em;
}

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

.about-link {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-1);
  font-size: 15px;
  color: var(--color-text-light);
  letter-spacing: 2px;
  text-decoration: none;
  transition: color 0.3s;
}

.about-link:hover {
  color: var(--color-accent);
}

.about-link-text {
  margin-left: 8px;
  padding: 0 4px;
  /* マーカー風ハイライト（スクロールでアニメーション） */
  background: linear-gradient(transparent 60%, var(--color-accent-pale) 60%);
  background-size: 0% 100%;
  background-repeat: no-repeat;
}

/* セクションが表示されたらアニメーション開始 */
.about-link-text.is-visible {
  animation: aboutMarkerExpand 0.8s ease forwards;
  animation-delay: 0.3s;
}

@keyframes aboutMarkerExpand {
  to {
    background-size: 100% 100%;
  }
}

.about-link-line-wrap {
  display: flex;
  align-items: center;
  gap: 0;
}

.about-link-line {
  width: 120px;
  height: 1px;
  background: var(--color-text-light);
  transition: all 0.3s;
}

.about-link:hover .about-link-line {
  background: var(--color-accent);
  width: 150px;
}

.about-link-arrow {
  font-size: 10px;
  transition: transform 0.3s;
}

.about-link:hover .about-link-arrow {
  transform: translateX(4px);
}

/* Menu Grid - 軽やかに */
.menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.menu-card {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-soft);
  overflow: hidden;
  background: var(--color-bg-soft);
}

.menu-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(90, 85, 80, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  padding: 30px;
}

.menu-card-label {
  font-size: 11px;
  letter-spacing: 3px;
  opacity: 0.8;
  margin-bottom: 8px;
}

.menu-card-title {
  font-family: var(--font-serif);
  font-size: 28px;
  letter-spacing: 4px;
  margin-bottom: 12px;
}

.menu-card-sub {
  font-size: 13px;
  opacity: 0.9;
  margin-bottom: 20px;
}

.menu-card-link {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.menu-card:hover .menu-card-link {
  background: rgba(255, 255, 255, 0.2);
}

/* Menu Cards - 新デザイン */
.menu-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto 50px;
}

.menu-card-new {
  background: var(--ripple-gradient), var(--color-bg);
  background-size: 0% 0%;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: all 0.3s, var(--ripple-transition);
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
}

.menu-card-new:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-medium);
  background-size: 300% 300%;
}

.menu-card-new:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.menu-card-image {
  height: 180px;
  background: var(--color-bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  font-size: 13px;
  flex-shrink: 0;
  overflow: hidden;
  /* .image-overlay クラスを HTML で追加して使用 */
}

.menu-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.menu-card-name {
  font-family: var(--font-handwriting);
  font-size: 18px;
  color: var(--color-text);
  margin-bottom: 12px;
}

.menu-card-desc {
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: auto;
  padding-bottom: 16px;
  /* Ensure spacing before price even if text is long */
}

.menu-card-price {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--color-accent);
  margin-bottom: 20px;
}

.menu-card-btn {
  display: block;
  width: 100%;
  padding: 12px;
  background: var(--color-bg-soft);
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: 13px;
  color: var(--color-text);
  text-decoration: none;
  transition: all 0.3s;
}

.menu-card-btn:hover {
  background: var(--color-accent-pale);
  color: var(--color-accent);
}

.menu-all-link {
  text-align: center;
}

/* Flow - 当日の流れ */
.flow-section {
  background: var(--color-bg);
}

.flow-steps {
  display: flex;
  justify-content: center;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

.flow-steps::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 15%;
  right: 15%;
  height: 1px;
  background: var(--color-border);
  z-index: 0;
}

.flow-step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
}

.flow-step-number {
  font-family: var(--font-handwriting);
  font-size: 12px;
  color: var(--color-accent);
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.flow-step-content {
  background: var(--color-bg);
  padding: 10px;
}

.flow-step-icon {
  width: 60px;
  height: 60px;
  background: var(--color-bg-warm);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--color-accent);
}

.flow-step-title {
  font-family: var(--font-handwriting);
  font-size: 16px;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.flow-step-text {
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.7;
}

.btn-outline {
  display: inline-block;
  padding: 16px 48px;
  border: 1px solid var(--color-text);
  border-radius: 40px;
  font-size: 14px;
  color: var(--color-text);
  text-decoration: none;
  transition: all 0.3s;
}

.btn-outline:hover {
  background: var(--color-text);
  color: var(--color-bg);
}

/* Features - 軽い背景 */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.feature-card {
  text-align: center;
  padding: 30px 24px;
  background: var(--ripple-gradient), var(--color-bg);
  background-size: 0% 0%;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: var(--radius-soft);
  border: 1px solid var(--color-border);
  transition: all 0.3s, var(--ripple-transition);
}

.feature-card:hover {
  box-shadow: var(--shadow-soft);
  transform: var(--hover-lift);
  background-size: 300% 300%;
}

.feature-number {
  font-family: var(--font-handwriting);
  font-size: 36px;
  color: var(--color-border);
  margin-bottom: 12px;
}

.feature-icon {
  width: 52px;
  height: 52px;
  background: var(--color-bg-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  color: var(--color-text-light);
}

.feature-title {
  font-family: var(--font-handwriting);
  font-size: 17px;
  color: var(--color-text);
  margin-bottom: 12px;
  line-height: 1.6;
}

.feature-text {
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.8;
}

/* Cat Section - 軽いピンク */
.cat-section {
  background: var(--color-sakura-light);
  text-align: center;
  padding: 100px 80px;
}

.cat-intro {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  max-width: 800px;
  margin: 0 auto;
}

.cat-image {
  width: 200px;
  height: 200px;
  background: var(--color-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  color: var(--color-sakura);
  flex-shrink: 0;
  overflow: hidden;
}

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

.cat-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cat-content {
  text-align: left;
}

.cat-name {
  font-family: var(--font-handwriting);
  font-size: 28px;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.cat-role {
  font-size: 13px;
  color: var(--color-text-light);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.cat-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  font-size: 11px;
  color: var(--color-sakura);
}

.cat-desc {
  font-size: 14px;
  color: var(--color-text);
  line-height: 2;
  margin-top: 16px;
}

.cat-section .btn-outline {
  margin-top: 40px;
}

/* News - お知らせ */
.news-section {
  background: var(--color-bg);
}

/* Access - アクセス */
.access-section {
  background: var(--color-bg-warm);
}

.access-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
  align-items: stretch;
  /* Stretch map to match card height */
}

.access-map {
  flex: 1;
  min-height: 350px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  background: var(--color-bg-soft);
  position: relative;
  /* Context for absolute children */
}

.access-map-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.access-map-iframe iframe {
  width: 100% !important;
  height: 100% !important;
  border: none;
}

.access-map-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--color-text-light);
  background: var(--color-bg-soft);
  /* Ensure bg color */
}

.access-map-placeholder span {
  font-family: var(--font-handwriting);
  font-size: 14px;
  letter-spacing: 2px;
}

.access-card {
  flex: 1 1 0;
  /* Force equal width */
  min-width: 0;
  /* Allow shrinking */
  background: var(--color-bg);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.access-card-title {
  font-family: var(--font-handwriting);
  font-size: 22px;
  color: var(--color-primary);
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 24px;
}

.access-card-row {
  display: flex;
  gap: var(--space-4);
  margin-bottom: 24px;
}

.access-card-col {
  flex: 1;
}

.access-card-item {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  margin-bottom: 8px;
}

.access-card-label {
  font-family: var(--font-handwriting);
  font-size: 14px;
  color: var(--color-text);
}

.access-card-value {
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.8;
  padding-left: 24px;
}

.access-card-footer {
  display: flex;
  gap: var(--space-3);
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
  margin-top: auto;
  /* Push to bottom if needed */
}

.access-card-footer span {
  font-size: 12px;
  color: var(--color-text-light);
  display: flex;
  align-items: center;
  gap: 6px;
}

.access-card-footer a {
  color: var(--color-accent);
  text-decoration: none;
}

.access-card-footer a:hover {
  text-decoration: underline;
}

.news-list {
  max-width: 900px;
  margin: 0 auto 50px;
}

.news-item {
  display: grid;
  grid-template-columns: 100px 100px 1fr;
  gap: 20px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
  text-decoration: none;
  transition: all 0.3s;
}

.news-item:hover {
  background: var(--color-bg-warm);
  padding-left: 20px;
  margin-left: -20px;
  padding-right: 20px;
  margin-right: -20px;
}

.news-date {
  font-family: var(--font-serif);
  font-size: 13px;
  color: var(--color-text-light);
}

.news-category {
  display: inline-block;
  /* タッチしやすいサイズ確保 */
  padding: 6px 14px;
  min-height: 32px;
  background: var(--color-accent-pale);
  border-radius: 20px;
  font-size: 12px;
  color: var(--color-accent);
  text-align: center;
}

.news-title {
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.6;
}

.news-all-link {
  text-align: center;
}

/* ===================================
   FAQ Section
   =================================== */

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--color-bg-warm);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.faq-question {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  transition: background 0.3s;
}

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

.faq-question:hover {
  background: var(--color-bg-soft);
}

.faq-q,
.faq-a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 500;
  flex-shrink: 0;
}

.faq-q {
  background: var(--color-accent);
  color: #fff;
}

.faq-a {
  background: var(--color-sakura);
  color: #fff;
}

.faq-question-text {
  flex: 1;
  font-size: 15px;
  color: var(--color-primary);
  font-weight: 500;
}

.faq-toggle {
  color: var(--color-text-light);
  transition: transform 0.3s;
  display: flex;
  align-items: center;
}

.faq-item[open] .faq-toggle {
  transform: rotate(180deg);
}

.faq-answer {
  display: flex;
  gap: 16px;
  padding: 0 24px 24px;
  padding-left: 72px;
}

.faq-answer p {
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.9;
}

.faq-all-link {
  text-align: center;
  margin-top: 40px;
}

/* CTA, Footer, Back to Top: style.css で共通定義 */

/* ===================
   Responsive Design
   =================== */

/* PC (13-14inch) */

@media (max-width: 1440px) {
  .section {
    padding: 60px 40px;
  }

  .section-header {
    margin-bottom: 25px;
  }
}


/* Tablet (1024px以下) */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 200px 1fr 150px;
    gap: 20px;
    padding: 100px 40px 60px;
  }

  /* WordPress管理バー対応 */
  .admin-bar .hero {
    padding-top: 100px;
    /* bodyが既に32px下がっているため、元の100pxのまま */
  }

  .hero-vertical-text span {
    font-size: 24px;
  }

  .hero-menu-list {
    font-size: 10px;
  }

  .troubles-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .menu-cards {
    gap: 20px;
  }

  .features-grid {
    gap: var(--space-3);
  }
}

/* Tablet (1024px以下) - グリッドの中間調整 */
@media (max-width: 1024px) {

  /* Troubles: 3列を維持しつつgapを調整 */
  .troubles-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2);
  }

  /* Menu: 3列→2列 */
  .menu-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  /* Features: 3列→2列 */
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  /* Flow: ステップ間を少し詰める */
  .flow-steps {
    gap: var(--space-3);
  }
}

/* SP用施術メニューボックス - PCでは非表示 */
.hero-menu-boxes {
  display: none;
}

/* Tablet Small (768px以下) */
@media (max-width: 768px) {

  /* Header, Nav, Logo, Mobile Menu Toggle: style.css で共通定義済み */

  /* Hero - スマホ用レイアウト（Figmaデザイン対応） */
  .hero {
    --hero-header-height: 60px;
    --hero-image-height: 640px;
    --hero-btn-width: 280px;
    --hero-btn-height: 55px;
    --hero-treatment-btn-width: 110px;
    display: block;
    position: relative;
    min-height: auto;
    height: auto;
    padding: 0;
    overflow: visible;
  }

  /* WordPress管理バー対応（モバイルもbodyが自動オフセット） */
  .admin-bar .hero {
    padding-top: 0;
    /* bodyが既に46px下がっているため、元の100pxのまま */
  }

  .hero-left {
    position: absolute;
    top: var(--hero-header-height);
    left: 8px;
    width: 60%;
    height: var(--hero-image-height);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    pointer-events: none;
    padding: 0 16px 0 20px;
    box-sizing: border-box;
  }

  .hero-vertical-text {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 16px;
    background: transparent;
    padding: 0;
  }

  .hero-menu-list {
    display: none;
  }

  .hero-image {
    position: absolute;
    top: calc(var(--hero-header-height) + 30px);
    left: 32px;
    right: 32px;
    width: auto;
    height: calc(var(--hero-image-height) - 30px);
    padding: 0;
    z-index: 0;
    overflow: hidden;
    border-radius: 5px;
    opacity: 0;
    animation: fadeIn 2s ease-out forwards;
    animation-delay: 0.5s;
  }

  /* heroImageFadeIn は fadeIn と同一のため省略（fadeIn を使用） */

  /* スライドショー - モバイル */
  .hero-slideshow {
    min-height: calc(var(--hero-image-height) - 30px);
    width: 100%;
    height: 100%;
    border-radius: 8px;
  }

  .hero-slide {
    min-height: calc(var(--hero-image-height) - 30px);
    border-radius: 8px;
  }

  .hero-slide.active {
    animation-delay: 0.5s;
  }

  /* Image Overlay for text readability - Figmaデザイン対応 */
  .hero-slide::after {
    display: none;
  }

  /* SP用オーバーレイ（非表示） */
  .hero-overlay {
    display: none;
  }

  /* インジケーター - モバイル（非表示） */
  .hero-slide-indicators {
    display: none;
  }

  .hero-image-main {
    min-height: 100vh;
    min-height: 100dvh;
    width: 100%;
    height: 100%;
    opacity: 0;
    animation: fadeInImage 1s ease forwards;
    animation-delay: 0.5s;
  }

  .hero-image-main::after {
    opacity: 0.4;
    background: linear-gradient(to bottom,
        rgba(255, 255, 255, 0.3) 0%,
        rgba(255, 255, 255, 0.5) 50%,
        rgba(255, 255, 255, 0.3) 100%);
  }

  .hero-image-number {
    bottom: 20px;
    right: 20px;
    z-index: 3;
    color: #fff;
    text-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
  }

  /* Hero: SP非表示要素 */
  .hero-right,
  .hero-title-mobile,
  .hero-title-mobile span,
  .hero-subtitle-mobile {
    display: none;
  }

  /* SP用キャッチコピー - 非表示 */
  .hero-catch-copy {
    display: none;
  }

  /* SP用メインコンテンツエリア（左:ポイント、右:タイトル） */
  .hero-sp-content {
    position: absolute;
    top: calc(var(--hero-header-height) + 110px);
    left: 32px;
    right: 32px;
    height: calc(var(--hero-image-height) - 170px);
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    padding: 0 12px;
    z-index: 2;
    overflow: visible;
  }

  /* SP用タイトル（右側・縦書き・2列・筆文字風） */
  .hero-title-sp {
    display: block;
    writing-mode: vertical-rl;
    font-family: 'Yuji Syuku', var(--font-serif);
    font-size: 32px;
    font-weight: 400;
    color: var(--color-white, #fff);
    letter-spacing: 0.2em;
    line-height: 1.8;
    margin: 0 24px 0 0;
    margin-left: -20px;
    text-shadow:
      0 1px 3px rgba(0, 0, 0, 0.5),
      0 2px 8px rgba(0, 0, 0, 0.3);
  }

  .hero-title-sp-sub,
  .hero-title-sp-main {
    display: block;
  }

  .hero-title-sp-sub {
    font-size: 22px;
    letter-spacing: 0.15em;
  }

  .hero-title-sp-main {
    font-size: 28px;
    letter-spacing: 0.25em;
    margin-top: 3em;
  }

  /* タイプライターアニメーション（JSで制御） */
  .hero-title-sp-sub > span,
  .hero-title-sp-main > span {
    display: inline-block;
    /* JSがopacityを制御 */
  }

  /* Hide Desktop elements */
  .hero-right-top,
  .hero-right-bottom {
    display: none;
  }

  /* SP用CTAエリア - ポイント表示の下に配置 */
  /* .hero-buttons は旧クラス名との互換性のため */
  .hero-cta-area,
  .hero-buttons {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    pointer-events: auto;
    z-index: 3;
    margin-top: calc(var(--hero-header-height) + var(--hero-image-height) + 24px);
    padding: 0 20px 32px;
  }

  /* CTAリード文 */
  .hero-cta-lead {
    font-family: var(--font-sans);
    font-size: 13px;
    color: var(--color-text-light);
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInFromTop 0.6s ease forwards;
    animation-delay: 0.8s;
  }

  /* SP用LINE予約ボタン */
  .hero-line-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: var(--hero-btn-width);
    height: var(--hero-btn-height);
    padding: 0 24px;
    background: var(--color-accent);
    color: #fff;
    border-radius: 30px;
    font-family: var(--font-sans);
    font-size: var(--hero-btn-font-size, 15px);
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    box-shadow:
      0 4px 20px rgba(196, 169, 106, 0.4),
      0 2px 8px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInFromTop 0.6s ease forwards;
    animation-delay: 1.7s;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .hero-line-btn:active {
    transform: scale(0.98);
  }

  .hero-line-btn:focus-visible {
    outline: none;
    box-shadow:
      0 4px 20px rgba(196, 169, 106, 0.4),
      0 2px 8px rgba(0, 0, 0, 0.1),
      0 0 0 3px var(--color-bg),
      0 0 0 5px var(--color-accent);
  }

  .hero-line-btn > i,
  .hero-line-btn > svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
  }

  .hero-line-btn-text {
    white-space: nowrap;
  }

  .hero-line-btn-arrow {
    display: none;
  }

  /* SP用「初めての方へ」ボタン */
  .hero-first-visit-btn-mobile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--hero-btn-width);
    padding: var(--hero-first-visit-padding, 14px 32px);
    background: transparent;
    color: var(--color-text);
    border: 1.5px solid var(--color-text-light);
    border-radius: 40px;
    font-family: var(--font-sans);
    font-size: var(--hero-first-visit-font-size, 13px);
    font-weight: 500;
    line-height: 1.8;
    text-decoration: none;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInFromTop 0.6s ease forwards;
    animation-delay: 1.9s;
    transition: background-color 0.2s ease, border-color 0.2s ease;
  }

  .hero-first-visit-btn-mobile:active {
    background: rgba(0, 0, 0, 0.03);
  }

  .hero-first-visit-btn-mobile:focus-visible {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(196, 169, 106, 0.3);
  }

  /* SP用施術ポイント（三角形配置・左側） */
  .hero-feature-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    position: relative;
    width: auto;
    gap: 8px;
    box-sizing: border-box;
    align-self: flex-end;
    margin-bottom: 0;
  }

  /* フィーチャーポイント共通スタイル */
  .hero-feature-point {
    --point-color: 0, 0, 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    width: 140px;
    height: 140px;
    border: 1.5px solid rgba(var(--point-color), 0.9);
    border-radius: 50%;
    background: rgba(var(--point-color), 0.7);
    backdrop-filter: blur(4px);
    text-align: center;
    opacity: 0;
    transform: scale(0.9);
    animation: heroFeatureFadeIn 0.5s ease forwards;
  }

  /* 各ポイントの色定義（CSS変数で管理） */
  .hero-feature-point:nth-child(1) {
    --point-color: 59, 130, 180;
    grid-column: 1 / 3;
    justify-self: center;
    animation-delay: 1.0s;
  }

  .hero-feature-point:nth-child(2) {
    --point-color: 200, 100, 120;
    animation-delay: 1.2s;
  }

  .hero-feature-point:nth-child(3) {
    --point-color: 210, 140, 80;
    animation-delay: 1.4s;
  }

  @keyframes heroFeatureFadeIn {
    to {
      opacity: 1;
      transform: scale(1);
    }
  }

  .hero-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
  }

  .hero-feature-icon i,
  .hero-feature-icon svg {
    width: 24px;
    height: 24px;
    font-style: normal;
    stroke: #fff;
    fill: none;
  }

  .hero-feature-label {
    font-family: var(--font-serif);
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.3px;
    white-space: nowrap;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  }

  .hero-feature-desc {
    font-family: var(--font-sans);
    font-size: 10px;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.2px;
    white-space: nowrap;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  }

  /* SP非表示要素（旧クラス名との互換性含む） */
  .hero-menu-boxes,
  .hero-menu-box,
  .hero-menu-box-title,
  .hero-menu-box-desc,
  .hero-first-visit-arrow,
  .hero-scroll {
    display: none;
  }

  /* Sections */
  .section {
    padding: 60px 24px;
  }

  html {
    /* モバイルヘッダー高さ(56px)に合わせる */
    scroll-padding-top: 56px;
  }

  .section-title {
    font-size: 24px;
  }

  /* About */
  .about-text {
    font-size: 14px;
  }

  /* Troubles */
  .troubles-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2);
  }

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

  .trouble-title {
    word-break: keep-all;
    overflow-wrap: break-word;
  }

  .trouble-sub {
    word-break: keep-all;
    overflow-wrap: break-word;
  }

  /* Menu - SP版は1カラム */
  .menu-cards {
    grid-template-columns: 1fr;
    max-width: 100%;
    gap: 16px;
  }

  .menu-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .menu-card-new {
    border-radius: 12px;
  }

  .menu-card-image {
    /* 固定高さではなくmin-heightで柔軟に */
    min-height: 100px;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .menu-card-body {
    padding: 16px;
  }

  .menu-card-name {
    font-size: 14px;
    margin-bottom: 8px;
    word-break: keep-all;
  }

  .menu-card-desc {
    font-size: 11px;
    margin-bottom: 10px;
    line-height: 1.7;
  }

  .menu-card-price {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .menu-card-btn {
    padding: 10px;
    font-size: 12px;
  }

  /* Features */
  .features-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
    gap: var(--space-2);
  }

  .feature-card {
    display: grid;
    grid-template-columns: 44px 1fr;
    grid-template-rows: auto auto;
    gap: 4px 12px;
    padding: 20px;
    text-align: left;
  }

  .feature-number {
    display: none;
  }

  .feature-icon {
    width: 44px;
    height: 44px;
    margin: 0;
    grid-row: 1 / 3;
  }

  .feature-content {
    display: contents;
  }

  .feature-title {
    font-size: 15px;
    margin-bottom: 0;
    align-self: end;
  }

  .feature-title br {
    display: none;
  }

  .feature-text {
    font-size: 12px;
    line-height: 1.7;
  }

  .feature-text br {
    display: none;
  }

  /* Flow - SPは縦並び */
  .flow-section {
    padding: 60px 24px;
  }

  .flow-steps {
    flex-direction: column;
    gap: var(--space-3);
    max-width: 100%;
    padding: 0;
  }

  .flow-steps::before {
    display: none;
  }

  .flow-step {
    text-align: left;
    background: var(--color-bg-warm);
    padding: 20px;
    border-radius: 12px;
    position: relative;
  }

  .flow-step-number {
    font-size: 11px;
    color: var(--color-accent);
    opacity: 0.6;
    margin-bottom: 0;
    position: absolute;
    top: -8px;
    left: 16px;
    background: var(--color-bg);
    padding: 2px 8px;
    border-radius: 10px;
  }

  .flow-step-content {
    display: grid;
    grid-template-columns: 44px 1fr;
    grid-template-rows: auto auto;
    gap: 4px 12px;
    padding: 0;
    background: none;
  }

  .flow-step-icon {
    width: 44px;
    height: 44px;
    margin: 0;
    grid-row: 1 / 3;
    background: var(--color-accent-pale);
    color: var(--color-accent);
  }

  .flow-step-title {
    font-size: 15px;
    margin-bottom: 0;
    align-self: end;
  }

  .flow-step-text {
    font-size: 12px;
    line-height: 1.7;
  }

  .flow-step-text br {
    display: none;
  }

  /* Cat Section */
  .cat-section {
    padding: 40px 24px;
  }

  .cat-section .section-header {
    margin-bottom: 24px;
  }

  .cat-section .section-title {
    font-size: 20px;
  }

  .cat-intro {
    flex-direction: column;
    text-align: center;
    gap: var(--space-2);
  }

  .cat-image {
    width: 80px;
    height: 80px;
    margin: 0 auto;
  }

  .cat-image i {
    width: 40px !important;
    height: 40px !important;
  }

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

  .cat-name {
    font-size: 18px;
    margin-bottom: 4px;
  }

  .cat-role {
    font-size: 11px;
    margin-bottom: 8px;
    justify-content: center;
  }

  .cat-badge {
    font-size: 10px;
    padding: 4px 12px;
    display: inline-flex;
    width: fit-content;
    margin: 0 auto;
  }

  .cat-desc {
    font-size: 12px;
    line-height: 1.7;
    margin-top: 12px;
  }

  .cat-desc br {
    display: none;
  }

  /* News */
  .news-item {
    grid-template-columns: 1fr;
    gap: var(--space-1);
    padding: 16px 0;
  }

  .news-date {
    font-size: 12px;
  }

  .news-category {
    width: fit-content;
  }

  /* Access */
  .access-wrapper {
    flex-direction: column;
    gap: 20px;
  }

  .access-map {
    /* 操作しやすい高さを確保 */
    height: 280px;
    width: 100%;
  }

  .access-card {
    width: 100%;
    padding: 24px;
  }

  .access-card-title {
    font-size: 18px;
    padding-bottom: 16px;
    margin-bottom: 20px;
  }

  .access-card-row {
    flex-direction: column;
    gap: 20px;
  }

  .access-card-value {
    font-size: 12px;
  }

  .access-card-footer {
    flex-direction: column;
    gap: 12px;
  }

  .access-card-footer span {
    font-size: 11px;
  }

  /* CTA, Footer: style.css で共通定義 */

  .btn-outline {
    padding: 14px 32px;
    font-size: 13px;
  }
}

/* Mobile Large (600px以下) - 768px→480pxの中間調整 */
@media (max-width: 600px) {
  .section-title {
    font-size: 22px;
  }

  .section-subtitle {
    font-size: 11px;
  }

  .hero-vertical-text span {
    font-size: 32px;
    letter-spacing: 0.15em;
  }

  .hero-title-mobile {
    font-size: 36px;
    letter-spacing: 0.25em;
  }

  .about-text {
    font-size: 13px;
    line-height: 2;
  }

  .trouble-title {
    font-size: 15px;
  }

  .menu-card-name {
    font-size: 13px;
  }

  .menu-card-desc {
    font-size: 11px;
  }

  .feature-title {
    font-size: 16px;
  }

  .feature-desc {
    font-size: 12px;
  }

  .flow-title {
    font-size: 14px;
  }

  .flow-desc {
    font-size: 12px;
  }
}

/* Mobile (480px以下) */
@media (max-width: 480px) {

  /* ヒーロー - 小さいデバイス向け調整 */
  .hero {
    --hero-image-height: 520px;
    --hero-btn-width: 260px;
    --hero-btn-height: 50px;
    --hero-btn-font-size: 13px;
    --hero-first-visit-padding: 12px 28px;
    --hero-first-visit-font-size: 12px;
  }

  /* 小さいデバイス用ポイント調整 */
  .hero-feature-points {
    gap: 4px;
  }

  .hero-feature-point {
    width: 100px;
    height: 100px;
  }

  .hero-feature-icon svg {
    width: 20px;
    height: 20px;
  }

  .hero-feature-label {
    font-size: 11px;
  }

  .hero-feature-desc {
    font-size: 8px;
  }

  .hero-sp-content {
    top: calc(var(--hero-header-height) + 70px);
    height: calc(var(--hero-image-height) - 120px);
    padding: 0 8px;
  }

  .hero-title-sp {
    font-size: 18px;
    letter-spacing: 0.1em;
    line-height: 1.4;
  }

  .hero-title-sp-sub {
    font-size: 14px;
  }

  .hero-title-sp-main {
    font-size: 18px;
    margin-top: 2em;
  }

  /* ヒーローテキスト - 320px幅でも収まるよう調整 */
  .hero-vertical-text span {
    font-size: 28px;
    letter-spacing: 0.12em;
  }

  .hero-title-mobile {
    font-size: 32px;
    letter-spacing: 0.2em;
  }

  .troubles-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .trouble-card {
    padding: 20px 12px;
  }

  .trouble-icon {
    width: 56px;
    height: 56px;
  }

  .trouble-title {
    font-size: 14px;
  }

  .trouble-sub {
    font-size: 11px;
  }

  .section-title {
    font-size: 22px;
  }

  .feature-card {
    padding: 20px 16px;
  }

  .feature-number {
    font-size: 36px;
  }

  .feature-title {
    font-size: 14px;
  }

  /* FAQ - モバイル調整 */
  .faq-question {
    padding: 16px 20px;
    gap: 12px;
  }

  .faq-q,
  .faq-a {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

  .faq-question-text {
    font-size: 14px;
  }

  .faq-answer {
    padding-left: 20px;
    flex-direction: column;
    gap: 12px;
  }
}

/* 極小画面 (360px以下) - iPhone SE等 */
@media (max-width: 360px) {
  /* ヒーロー - 極小デバイス向け調整 */
  .hero {
    --hero-image-height: 480px;
    --hero-btn-width: 240px;
    --hero-btn-height: 48px;
    --hero-btn-font-size: 12px;
    --hero-first-visit-padding: 10px 24px;
    --hero-first-visit-font-size: 11px;
  }

  .hero-vertical-text span {
    font-size: 24px;
    letter-spacing: 0.1em;
  }

  .hero-title-mobile {
    font-size: 28px;
    letter-spacing: 0.15em;
  }

  .hero-subtitle-mobile {
    font-size: 11px;
  }

  .hero-sp-content {
    top: calc(var(--hero-header-height) + 50px);
    height: calc(var(--hero-image-height) - 100px);
    left: 16px;
    right: 16px;
    padding: 0 4px;
  }

  .hero-title-sp {
    font-size: 16px;
    letter-spacing: 0.08em;
    line-height: 1.3;
  }

  .hero-title-sp-sub {
    font-size: 12px;
  }

  .hero-title-sp-main {
    font-size: 16px;
    margin-top: 1.5em;
  }

  .section-title {
    font-size: 20px;
  }

  .section-subtitle {
    font-size: 11px;
  }
}

/* ===================================
   Column Section - 読み物
   =================================== */
.column-section {
  background: var(--color-bg-warm);
}

.column-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.column-card {
  display: flex;
  flex-direction: column;
  background: var(--color-bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-decoration: none;
  transition: var(--transition-base);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.column-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-medium);
}

.column-card-image {
  position: relative;
  aspect-ratio: 16/10;
  background: var(--color-bg-soft);
  overflow: hidden;
}

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

.column-card:hover .column-card-image img {
  transform: scale(1.05);
}

.column-card-noimage {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
}

.column-card-cat {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.9);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 500;
  color: var(--color-primary);
  letter-spacing: 1px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.column-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.column-card-date {
  font-size: 11px;
  color: var(--color-text-light);
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.column-card-title {
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--color-text);
  line-height: 1.5;
  margin-bottom: 12px;
  transition: color 0.3s;
}

.column-card:hover .column-card-title {
  color: var(--color-accent);
}

.column-card-excerpt {
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  /* Standard property */
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .column-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2);
    padding: 0;
  }

  .column-card {
    flex-direction: row;
    /* 全カード同じ高さに固定 */
    height: 120px;
  }

  .column-card-image {
    /* 固定幅で画像サイズを統一 */
    width: 120px;
    min-width: 120px;
    height: 100%;
    aspect-ratio: unset;
  }

  .column-card-excerpt {
    display: none;
  }

  .column-card-body {
    padding: 12px 16px;
    justify-content: center;
  }

  .column-card-title {
    margin-bottom: 6px;
    font-size: 14px;
    line-height: 1.5;
  }

  .column-card-cat {
    padding: 3px 8px;
    font-size: 9px;
    top: 6px;
    left: 6px;
  }

  .column-card-date {
    font-size: 10px;
    margin-bottom: 4px;
  }
}

/* Menu Card Tags */
.menu-card-tags {
  display: flex;
  gap: var(--space-1);
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.menu-card-tag {
  /* タッチしやすいサイズ確保 */
  padding: 6px 12px;
  min-height: 28px;
  background: var(--color-bg-soft);
  border-radius: 12px;
  font-size: 12px;
  color: var(--color-text-light);
  line-height: 1;
}

.menu-card-tag.recommend {
  background: var(--color-sakura-light);
  color: var(--color-sakura);
}

/* ===================================
   SP用セクション順序変更
   PCはそのまま、SPだけ表示順を変更
   =================================== */
@media (max-width: 768px) {
  /* mainをflexコンテナ化 */
  #main-content {
    display: flex;
    flex-direction: column;
  }

  /* SP用セクション順序 */
  .hero { order: 1; }
  #system { order: 2; }       /* 当院の特徴 (features) */
  #about { order: 3; }        /* 当院の思い + 院長紹介 */
  #menu { order: 4; }         /* 施術メニュー */
  #case { order: 5; }         /* お悩みから探す (troubles) */
  #flow { order: 6; }         /* 当日の流れ */
  #column { order: 7; }       /* コラム */
  .cat-section { order: 8; }  /* 看板猫 */
  #news { order: 9; }         /* お知らせ */
  #access { order: 10; }      /* アクセス */
  #faq { order: 11; }         /* FAQ */
  .cta { order: 12; }         /* CTA */
}