/* リセット・ベース */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1.8;
  color: #7a3c1e;
  background: #fff7f0;
}

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

/* ヘッダー */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(90deg, #fff7f0 60%, #f6c28b 100%);
  backdrop-filter: blur(10px);
  z-index: 5000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  --header-h: 56px;
}

#header { 
  transition: none !important; 
  background: linear-gradient(90deg, #fff7f0 60%, #f6c28b 100%) !important;
  backdrop-filter: blur(10px) !important;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1) !important;
}
/* Hide mobile CTA buttons on desktop */
.mobile-cta-buttons {
  display: none;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 40px;
  width: auto;
  display: block;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav a {
  text-decoration: none;
  color: #e07a5f;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #b85c2b;
}

/* ヒーローセクション */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 120px 1rem 2rem;
  background: linear-gradient(135deg, #fff7f0 0%, #f6c28b 100%);
  background-image: url('../img/massage1.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(224, 122, 95, 0.18);
  z-index: 1;
}

.hero-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle, rgba(246, 194, 139, 0.18) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.3;
  z-index: 2;
}

.hero-content {
  flex: 1;
  max-width: 600px;
  position: relative;
  z-index: 3;
  color: white;
}

.site-title {
  font-size: 5rem;
  font-weight: 700;
  /* color: #e19782; */
  color: #e07a5f;
  margin-bottom: 1rem;
  line-height: 1.2;
  white-space: nowrap;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

.catch-copy {
  font-size: 2.5rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1.5rem;
  line-height: 1.4;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.sub-copy {
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 2rem;
  line-height: 1.6;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-main {
  background: linear-gradient(135deg, #e07a5f 0%, #e07a5f 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}

.btn-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 110, 253, 0.4);
}

.btn-line {
  background: #00c300;
  color: white;
  box-shadow: 0 4px 15px rgba(0, 195, 0, 0.3);
}

.btn-line:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 195, 0, 0.4);
}

.btn-hotpepper {
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-hotpepper:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.hero-visual {
  display: none;
}

/* セクション共通 */
section {
  padding: 5rem 2rem;
  position: relative;
}

section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: #e07a5f;
  position: relative;
}

section h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #e07a5f, #f6c28b);
  border-radius: 2px;
}

/* 当院について */
.about-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.about-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.about-inner h2 {
  text-align: left;
  margin-bottom: 2rem;
}

.about-inner p {
  font-size: 1.6rem;
  margin-bottom: 2rem;
  color: #555;
}

.about-inner ul {
  list-style: none;
  margin-bottom: 2rem;
}

.about-inner li {
  padding: 0.8rem 0;
  position: relative;
  padding-left: 2.5rem;
  font-size: 1.4rem;
  line-height: 1.6;
}

.about-inner li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #e07a5f;
  font-weight: bold;
  font-size: 1.4rem;
}

.about-photo {
  width: 100%;
  height: auto;
  max-width: 500px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  display: block;
  transition: transform 0.3s ease;
}

.about-photo:hover {
  transform: scale(1.05);
}

/* 施術メニュー */
.services-section {
  background: #fff;
}

.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.service-card {
  background: #fffdfa;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.service-card h3 {
  padding: 1.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
}

.service-flow {
  text-align: center;
  font-size: 1.1rem;
  color: #666;
  padding: 2rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 15px;
  margin-top: 2rem;
}

/* 選ばれる理由 */
.features-section {
  background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
  position: relative;
}

.features-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(13, 110, 253, 0.05) 10px,
    rgba(13, 110, 253, 0.05) 20px
  );
  z-index: 1;
}

.features-grid {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.feature-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  text-align: left;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
  min-height: 150px;
}

.feature-card:hover {
  transform: translateX(10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon-wrapper {
  flex-shrink: 0;
}

.feature-icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
}

.feature-icon.trophy {
  background: linear-gradient(135deg, #e07a5f 0%, #f6c28b 100%);
}

.feature-icon.experience {
  background: linear-gradient(135deg, #e07a5f 0%, #f6c28b 100%);
}

.feature-icon.care {
  background: linear-gradient(135deg, #e07a5f 0%, #f6c28b 100%);
}

.feature-icon.satisfaction {
  background: linear-gradient(135deg, #e07a5f 0%, #f6c28b 100%);
}

.feature-icon.surgery {
  background: linear-gradient(135deg, #e07a5f 0%, #f6c28b 100%);
}

.feature-icon.maternity {
  background: linear-gradient(135deg, #e07a5f 0%, #f6c28b 100%);
}

.feature-icon i {
  font-size: 3rem;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.feature-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.feature-description {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.feature-number {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 4rem;
  font-weight: 900;
  color: rgba(224, 122, 95, 0.1);
  line-height: 1;
  pointer-events: none;
}

.features-photo {
  max-width: 400px;
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  margin: 0 auto;
  display: block;

  position: relative;
  z-index: 2;
}

/* お客様の声 */
.testimonials-section {
  background: #fff;
}

.testimonials-swiper {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 0;
}

.testimonial-card {
  background: #fffdfa;
  border-radius: 28px;
  padding: 3rem 1.5rem 2.5rem 1.5rem;
  box-shadow: 0 12px 36px rgba(224, 122, 95, 0.13);
  text-align: center;
  width: 340px;
  max-width: 90vw;
  min-height: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

}

.testimonial-photo {
  width: 100%;
  height: auto;
  max-width: 600px;
  border-radius: 0;
  object-fit: cover;
  margin: 0 auto 1.5rem;
  display: block;
  box-shadow: 0 4px 18px rgba(224, 122, 95, 0.13);
}

.testimonial-comment {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 1rem;
  line-height: 1.6;
  font-style: italic;
}

.testimonial-meta {
  font-size: 0.9rem;
  color: #666;
  font-weight: 500;
}

.testimonial-summary {
  text-align: center;
  margin-top: 2rem;
  font-size: 1rem;
  color: #666;
}

/* 院長紹介 */
.director-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.director-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.director-photo-wrap {
  position: relative;
}

.director-photo {
  width: 100%;
  height: 400px;
  border-radius: 20px;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* Desktop only: Director name positioned outside photo */
@media (min-width: 769px) {
  .director-photo-wrap {
    position: relative;
    padding-bottom: 3rem; /* Space for name below photo */
  }
  
  .director-name-overlay {
    position: absolute;
    bottom: -2rem;
    left: 0;
    background: transparent;
    padding: 0;
    z-index: 10;
  }
  
  .director-name-overlay h3 {
    font-size: 2rem;
    color: #e07a5f;
    margin: 0;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-align: left;
  }
  
  /* Hide the original name in profile section on desktop */
  .director-profile h3 {
    display: none;
  }
}



.director-profile h2 {
  text-align: left;
  margin-bottom: 1rem;
}

.director-profile h3 {
  font-size: 2rem;
  color: #e07a5f;
  /* color: #000000; */
  margin-bottom: 1.5rem;
}

.director-profile p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  color: #555;
}

.director-profile ul {
  list-style: none;
  margin-bottom: 2rem;
}

.director-profile li {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 2rem;
}

.director-profile li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #0d6efd;
  font-size: 1.5rem;
}

.director-sign {
  font-family: 'Brush Script MT', cursive;
  font-size: 1.5rem;
  color: #0d6efd;
  text-align: right;
  margin-top: 2rem;
}

/* 料金体系 */
.price-section {
  background: #fff;
}

.price-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.price-card {
  background: #fffdfa;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  text-align: center;
}

.price-card:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.price-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.price-card h3 {
  padding: 2rem 1.5rem 0.8rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: #333;
}

.price {
  font-size: 2.2rem;
  font-weight: 700;
  /* color: #0d6efd; */
  color: #e07a5f;
  padding: 0.7rem 1.5rem;
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.1) 0%, rgba(0, 86, 179, 0.1) 100%);
  margin: 0 1.5rem;
  border-radius: 12px;
}

.price-desc {
  padding: 1rem 1.5rem 1.5rem;
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
}

/* アクセス */
.access-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.access-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.access-map iframe {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.access-info {
  background: #fff;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.address {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #e9ecef;
}

.hours {
  margin-bottom: 1.5rem;
}

.hours div {
  padding: 0.5rem 0;
  color: #555;
}

.contact div {
  padding: 0.5rem 0;
  color: #555;
}

.contact a {
  color: #0d6efd;
  text-decoration: none;
  font-weight: 500;
}

.contact a:hover {
  text-decoration: underline;
}

/* お問い合わせ */
.contact-section {
  background: linear-gradient(135deg, #fff7f0 0%, #f6c28b 100%);
}
.contact-section h2 {
  color: #e07a5f;
}
.contact-options {
  background: #fffdfa;
  border: 2px solid #f6c28b;
  border-radius: 25px;
  box-shadow: 0 8px 32px rgba(224, 122, 95, 0.10);
  padding: 3rem 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-bottom: 1.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.contact-note {
  color: #e07a5f;
  border-radius: 10px;
  padding: 0.7em 1.5em;
  text-align: center;
  font-weight: 600;
  font-size: 1.4rem;
}

/* お問い合わせセクション専用の大きなボタンスタイル */
.contact-section .btn {
  padding: 1.5rem 3rem;
  font-size: 1.2rem;
  font-weight: 700;
  min-width: 280px;
  border-radius: 60px;
  justify-content: center;
}

.contact-section .btn i {
  font-size: 1.3rem;
}

/* モバイル対応 - お問い合わせセクションのボタン */

/* モバイル対応 - 選ばれる理由カード */

/* モバイル対応 - 当院についてセクション */

/* フッター */
#footer {
  background: #333;
  color: white;
  padding: 3rem 2rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 2rem;
  align-items: center;
}

.footer-logo {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
  display: block;
}

.footer-address {
  font-size: 0.9rem;
  opacity: 0.8;
}

.footer-sitemap {
  font-size: 0.8rem;
  opacity: 0.7;
}

.footer-sitemap a {
  color: white;
  text-decoration: none;
}

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

.footer-banner {
  width: 100%;
  max-width: 200px;
  height: auto;
  border-radius: 10px;
  display: block;
}

/* 選ばれる理由セクションの重要な数値や文字を強調するためのfeature-highlightクラスのスタイル */
.feature-highlight {
  color: #e07a5f;
  font-weight: 700;
  font-size: 1.1em;
  padding: 0.2em 0.4em;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.feature-highlight:hover {
  background: linear-gradient(135deg, rgba(224, 122, 95, 0.15) 0%, rgba(246, 194, 139, 0.15) 100%);
  transform: scale(1.02);
}

/* レスポンシブ対応 */

/* Swiper カスタマイズ */
.swiper-pagination-bullet {
  background: #0d6efd;
  opacity: 0.5;
}

.swiper-pagination-bullet-active {
  opacity: 1;
}

/* Swiper ナビゲーション矢印 */
.swiper-button-next,
.swiper-button-prev {
  color: #fff;
  background: linear-gradient(135deg, #e07a5f 60%, #f6c28b 100%);
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(224, 122, 95, 0.18);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s;
  opacity: 0.95;
}
.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: linear-gradient(135deg, #f6c28b 60%, #e07a5f 100%);
  color: #fff3e0;
  box-shadow: 0 6px 24px rgba(224, 122, 95, 0.28);
  opacity: 1;
}
.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 2rem;
  font-weight: bold;
}

/* AOS カスタマイズ */
[data-aos] {
  pointer-events: none;
}

[data-aos].aos-animate {
  pointer-events: auto;
}

.playful-element:hover {
  transform: scale(1.05);
}

/* 画像表示の確実性を向上 */
img {
  max-width: 100%;
  height: auto;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  transition: none !important;
}

/* 特定の画像クラスでの表示を確実にする */
.logo,
.main-visual,
.sub-visual,
.about-photo,
.service-card img,
.features-photo,
.testimonial-photo,
.director-photo,
.price-card img,
.footer-logo,
.footer-banner {
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
  transition: none !important;
}

/* z-indexの競合を解決 */
.hero-section,
.about-section,
.services-section,
.features-section,
.testimonials-section,
.director-section,
.price-section,
.access-section,
.contact-section {
  z-index: 1;
}

.hero-content,
.hero-visual,
.about-inner,
.services-list,
.features-list,
.testimonials-swiper,
.director-inner,
.price-cards,
.access-inner,
.contact-options {
  z-index: 2;
  position: relative;
}

/* AOSアニメーションが画像に影響しないようにする */
[data-aos] img {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

/* 画像コンテナの設定 */
.hero-visual,
.about-photo,
.service-card,
.testimonial-card,
.director-photo-wrap,
.price-card {
  overflow: visible !important;
} 

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
  width: 100%;
  box-sizing: border-box;
}

.logo-text {
  font-size: 2.4rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.12em !important;
  color: #e07a5f !important;
  display: inline-block !important;
  position: relative;
  font-family: 'Noto Sans JP', 'Segoe UI', 'Arial', sans-serif;
  margin-right: 1rem;
  z-index: 10000;
  line-height: 1.1;
  background: none !important;
  -webkit-background-clip: initial !important;
  -webkit-text-fill-color: initial !important;
  background-clip: initial !important;
  text-shadow: none !important;
}

.logo-underline {
  display: block;
  width: 100%;
  height: 5px;
  margin: 0.3em 0 0;
  background: #f6c28b;
  border-radius: 3px;
  opacity: 0.7;
  position: relative;
}

.hero-section {
  display: flex;
  align-items: center;
  position: relative;
  padding-left: 4vw;
  padding-right: 4vw;
}

.hero-content {
  flex: 1 1 50%;
  max-width: 520px;
  z-index: 3;
  align-items: flex-start;
  margin-left: 14vw;
}

.hero-stats {
  position: absolute;
  right: 4vw;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  z-index: 3;
}

.hero-stats-inner {
  display: flex;
  flex-direction: row;
  gap: 2rem;
}

.hero-stat-card {
  background: #fff;
  border: 2px solid #f6c28b;
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(224, 122, 95, 0.08);
  padding: 1.2rem 2.2rem;
  min-width: 160px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.hero-stat-card:hover {
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 8px 32px rgba(224, 122, 95, 0.16);
}

.stat-number {
  font-size: 1.7rem;
  font-weight: 900;
  color: #e07a5f;
  margin-bottom: 0.3em;
  letter-spacing: 0.04em;
}

.stat-label {
  font-size: 1.05rem;
  color: #333;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer-brand {
  text-align: center;
  margin-bottom: 0.5rem;
}

.footer-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 0.3rem;
  display: block;
  color: #e07a5f;
}

.footer-address {
  font-size: 1rem;
  opacity: 0.85;
  margin-bottom: 0.2rem;
}

.footer-sitemap {
  font-size: 0.95rem;
  opacity: 0.8;
  text-align: center;
  margin-bottom: 0.2rem;
}

.footer-sitemap a {
  color: #e07a5f;
  text-decoration: none;
  margin: 0 0.2em;
  transition: color 0.2s;
}

.footer-sitemap a:hover {
  color: #b85c2b;
  text-decoration: underline;
}

.footer-copyright {
  font-size: 0.85rem;
  opacity: 0.6;
  text-align: center;
  margin-top: 0.5rem;
}

@media (max-width: 900px) {
  .hero-section {
    flex-direction: column;
    align-items: stretch;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .hero-content {
    max-width: 100%;
    flex: unset;
    margin-left: 4vw;
  }
  .hero-stats {
    position: static;
    transform: none;
    align-items: stretch;
    margin-top: 2rem;
  }
  .hero-stats-inner {
    flex-direction: column;
    gap: 1.2rem;
  }
} 

.badge-icon-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.3;
  letter-spacing: 0.03em;
  width: 100%;
  height: 100%;
  padding: 0 0.5em;
  font-family: 'Noto Sans JP', 'Segoe UI', 'Arial', sans-serif;
  text-shadow: 0 2px 8px rgba(224, 122, 95, 0.18);
}
 

/* 新・施術歴バッジ */
.experience-badge {
  position: fixed;
  right: 3vw;
  bottom: 3vw;
  width: 320px;
  height: 320px;
  background: linear-gradient(135deg, #e07a5f 60%, #f6c28b 100%);
  border-radius: 50%;
  box-shadow: 0 12px 48px rgba(224, 122, 95, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  border: 8px solid #fff;
}
.experience-badge span {
  display: block;
  text-align: center;
  color: #fff;
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.04em;
  font-family: 'Noto Sans JP', 'Segoe UI', 'Arial', sans-serif;
  text-shadow: 0 4px 16px rgba(224, 122, 95, 0.18);
}
@media (max-width: 900px) {
  .experience-badge {
    width: 180px;
    height: 180px;
    border-width: 5px;
  }
  .experience-badge span {
    font-size: 1.3rem;
  }
}
@media (max-width: 600px) {
  .experience-badge {
    width: 120px;
    height: 120px;
    border-width: 3px;
    right: 2vw;
    bottom: 2vw;
  }
  .experience-badge span {
    font-size: 0.8rem;
  }
}

/* 横長カード用スタイル */
.feature-content {
  flex: 1;
}

.feature-content .feature-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 0.8rem;
  line-height: 1.4;
}

.feature-content .feature-description {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 0;
}

/* --- Hero text alignment override --- */
.hero-content,
.hero-content .site-title,
.hero-content .catch-copy,
.hero-content .sub-copy {
  text-align: left !important;
}

.hero-content .cta-buttons {
  justify-content: flex-start !important;
}

/* はじめてご利用の方へ */
.first-time-section {
  background: #fffdfa;
  border: 2px solid #f6c28b;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(224, 122, 95, 0.10);
  max-width: 1000px;
  margin: 4.5rem auto 4.5rem;
  padding: 2rem;
  font-size: 1.3rem;
}
.first-time-section h2 {
  color: #e07a5f;
  text-align: center;
  margin-bottom: 4rem;
  white-space: nowrap;
}
.first-time-section p {
  color: #7a3c1e;
  line-height: 1.9;
  margin-bottom: 1rem;
}
.first-time-points {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
.first-time-points li {
  position: relative;
  padding-left: 2rem;
  color: #7a3c1e;
}
.first-time-points li::before {
  content: '◆';
  position: absolute;
  left: 0;
  top: 0.1rem;
  color: #e07a5f;
}

#price h2:nth-of-type(2) {
  margin-top: 2rem;
}

/* イチオシメニュー 2x2 */
.featured-price-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

/* モバイルナビ（ハンバーガー） */
.menu-toggle {
  display: none;
  appearance: none;
  border: 1px solid #e07a5f;
  background: transparent;
  color: #e07a5f;
  border-radius: 6px;
  padding: 0 0.8rem;
  min-width: 44px;
  min-height: 44px;
  font-weight: 700;
  gap: 0.5rem;
}
.menu-toggle i { font-size: 1.2rem; }
.menu-toggle .menu-label { font-size: 1rem; }

/* ===== Tablet & Landscape Tablet (<= 1366px) - Hamburger enabled ===== */
@media (max-width: 1366px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  
  /* Header layout for tablet */
  .header-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.9rem;
    padding-right: calc(0.9rem + env(safe-area-inset-right));
  }
  
  .logo-text {
    font-size: 2rem !important;
    letter-spacing: 0.07em !important;
    line-height: 1.05;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100% - 52px - 0.5rem);
    flex: 1 1 auto;
    margin-right: 0;
  }
  
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    position: relative;
    z-index: 5003;
    min-width: 40px;
    min-height: 40px;
    flex: 0 0 auto;
  }
  
  /* Drawer nav */
  #site-nav {
    position: fixed;
    top: var(--header-h, 56px);
    right: 0;
    width: 30vw;
    max-width: 30vw;
    height: calc(100svh - var(--header-h, 56px));
    background: #fff;
    padding: 0.5rem 1rem 1rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 5002;
    border-left: 1px solid #f6c28b;
    pointer-events: none;
  }
  
  #site-nav ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    list-style: none;
  }
  
  #site-nav a {
    display: block;
    padding: 0.5rem 0.2rem;
    font-size: 1.1rem;
    color: #e07a5f;
  }
  
  /* Mobile CTA buttons in navigation - show only on mobile/tablet */
  .mobile-cta-buttons {
    display: flex;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f6c28b;
    flex-direction: column;
    gap: 0.8rem;
  }
  
  .mobile-cta-btn {
    width: 100%;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    text-align: center;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    color: white !important;
  }
  
  .mobile-cta-btn.btn-main {
    background: linear-gradient(135deg, #e07a5f 0%, #e07a5f 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
  }
  
  .mobile-cta-btn.btn-hotpepper {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
  }
  
  .mobile-cta-btn:hover {
    transform: translateY(-2px);
  }
  
  .mobile-cta-btn.btn-main:hover {
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.4);
  }
  
  .mobile-cta-btn.btn-hotpepper:hover {
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
  }
  
  body.nav-open #site-nav { 
    transform: translateX(0); 
    pointer-events: auto; 
    overflow-y: auto; 
    -webkit-overflow-scrolling: touch; 
  }
  
  .nav-overlay { 
    position: fixed; 
    inset: 0; 
    background: rgba(0,0,0,0.4); 
    z-index: 4000; 
    opacity: 0; 
    visibility: hidden; 
    transition: opacity 0.3s ease; 
  }
  
  body.nav-open .nav-overlay { 
    opacity: 1; 
    visibility: visible; 
  }
  
  nav ul { flex-wrap: nowrap; }
  
  /* Logo underline fix for tablet */
  .logo-underline { 
    width: 100%; /* JavaScriptで動的に調整される */
    max-width: none; 
    height: 3px; 
    margin: 0.2em 0 0; 
    position: relative;
  }
  
  /* Lock background scroll when open */
  body.nav-open { overflow: hidden; }
}

/* ===== Consolidated Mobile Queries (<= 768px) ===== */
@media (max-width: 768px) {
  /* Header layout */
  .header-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.9rem; /* keep clickable area ~44px */
    padding-right: calc(0.9rem + env(safe-area-inset-right));
  }
  :root { --mobile-gutter: 1rem; }
  .container { padding-left: var(--mobile-gutter); padding-right: var(--mobile-gutter); }
  .logo-text {
    font-size: 1.4rem !important;
    letter-spacing: 0.07em !important;
    line-height: 1.05;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100% - 52px - 0.5rem);
    flex: 1 1 auto;
    margin-right: 0;
  }
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    position: relative;
    z-index: 5003;
    min-width: 40px;
    min-height: 40px;
    flex: 0 0 auto;
  }

  /* Drawer nav */
  #site-nav {
    position: fixed;
    top: var(--header-h, 56px);
    right: 0;
    width: 75vw;
    max-width: 75vw;
    height: calc(100svh - var(--header-h, 56px));
    background: #fff;
    padding: 0.5rem 1rem 1rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 5002;
    border-left: 1px solid #f6c28b;
    pointer-events: none;
  }
  #site-nav ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    list-style: none;
  }
  #site-nav a {
    display: block;
    padding: 0.5rem 0.2rem;
    font-size: 1.1rem;
    color: #e07a5f;
  }

  /* Mobile CTA buttons in navigation - show only on mobile */
  .mobile-cta-buttons {
    display: flex;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f6c28b;
    flex-direction: column;
    gap: 0.8rem;
  }

  .mobile-cta-btn {
    width: 100%;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    text-align: center;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    color: white !important;
  }

  .mobile-cta-btn.btn-main {
    background: linear-gradient(135deg, #e07a5f 0%, #e07a5f 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
  }

  .mobile-cta-btn.btn-hotpepper {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
  }

  .mobile-cta-btn:hover {
    transform: translateY(-2px);
  }

  .mobile-cta-btn.btn-main:hover {
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.4);
  }

  .mobile-cta-btn.btn-hotpepper:hover {
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
  }
  body.nav-open #site-nav {
    transform: translateX(0);
    pointer-events: auto;
    -webkit-overflow-scrolling: touch;
    overflow-y: auto;
  }

  /* Overlay */
  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 4000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
  }
  body.nav-open .nav-overlay {
    opacity: 1;
    visibility: visible;
  }

  /* Prevent header nav inline wrapping inside header area */
  nav ul { flex-wrap: nowrap; }

  /* Logo underline fix (mobile) */
  .logo-underline { 
    width: 100%; /* JavaScriptで動的に調整される */
    max-width: none; 
    height: 3px; 
    margin: 0.2em 0 0; 
    position: relative;
  }

  /* Lock background scroll when open */
  body.nav-open { overflow: hidden; }

  /* General responsive layout */
  .hero-section { flex-direction: column; text-align: center; min-height: auto; padding: 100px var(--mobile-gutter) 0.9rem; background-size: cover; background-position: center; background-repeat: no-repeat; }
  .site-title { font-size: 2.4rem; letter-spacing: 0.02em; text-shadow: 2px 2px 4px rgba(0,0,0,0.6); }
  .catch-copy { font-size: 1.2rem; line-height: 1.35; }
  .sub-copy { font-size: 1.3rem; }
  .cta-buttons { gap: 0.6rem; }
  .btn { padding: 0.8rem 1.2rem; }

  .about-inner,
  .director-inner,
  .access-inner { grid-template-columns: 1fr; gap: 2rem; }
  
  /* Reset director photo height on mobile */
  .director-photo { height: auto; }
  .services-list { grid-template-columns: 1fr; }
  .price-cards { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; gap: 1rem; padding-left: var(--mobile-gutter); padding-right: var(--mobile-gutter); }
  section { padding: 3rem var(--mobile-gutter); }
  section h2 { font-size: 2rem; margin-bottom: 2.5rem; }

  /* Contact section sizing */
  .contact-section .btn { padding: 1.2rem 2rem; font-size: 1.1rem; min-width: 250px; }
  .contact-options { padding: 2rem var(--mobile-gutter); gap: 1.5rem; flex-direction: column; align-items: center; }

  /* Features section adjustments */
  .features-grid { gap: 1.5rem; padding: 0 var(--mobile-gutter); }
  .feature-card { flex-direction: column; text-align: center; gap: 1.5rem; padding: 2rem 1.5rem; min-height: auto; }
  .feature-card:hover { transform: translateY(-5px); }
  .feature-icon { width: 80px; height: 80px; }
  .feature-icon i { font-size: 2.5rem; }
  .feature-content .feature-title { font-size: 1rem; }
  .feature-content .feature-description { font-size: 0.95rem; }
  .feature-number { font-size: 2.5rem; top: 0.8rem; right: 1rem; }

  /* Unified gutters for other card containers */
  .services-list,
  .price-cards,
  .featured-price-cards,
  .testimonials-swiper,
  .access-inner,
  .director-inner {
    padding-left: var(--mobile-gutter);
    padding-right: var(--mobile-gutter);
    box-sizing: border-box;
  }

  /* First-time box outer spacing */
  .first-time-section {
    margin-left: var(--mobile-gutter);
    margin-right: var(--mobile-gutter);
  }

  /* About section text sizing */
  .about-inner li { font-size: 1.2rem; padding: 0.6rem 0; padding-left: 2rem; }
  .about-inner li::before { font-size: 1.2rem; }
  .about-inner p { font-size: 1.4rem; }

  /* Swiper buttons */
  .swiper-button-next, .swiper-button-prev { width: 36px; height: 36px; font-size: 1.3rem; }
  .swiper-button-next::after, .swiper-button-prev::after { font-size: 1.3rem; }

  /* Badges */
  .badge-icon-text { font-size: 1rem; padding: 0 0.2em; }

  /* Featured price cards */
  .featured-price-cards { grid-template-columns: 1fr; }

  /* Testimonial cards mobile optimization */
  .testimonial-card { 
    min-height: 320px; 
    padding: 0rem 1rem 1.5rem 1rem; 
  }

  .director-name-overlay {
    display: none;
  }

  .feature-description { text-align: left !important; }

}

/* ===== Extra-small (<= 480px) ===== */
@media (max-width: 480px) {
  .logo-text {
    font-size: 1.2rem !important;
    max-width: calc(100% - 56px - 0.5rem);
  }
  /* Hero extra compact */
  .hero-section { min-height: auto; padding: 90px 0.5rem 0.8rem; background-size: cover; background-position: center; }
  .site-title { font-size: 1.9rem; }
  .catch-copy { font-size: 1rem; margin-bottom: 0.5rem !important;}
  .sub-copy { font-size: 1.2rem; }
  .btn { padding: 0.65rem 0.9rem; }

  /* Price cards 2x2 grid on smartphone */
  .price-card img { height: 120px; }
  .price-card h3 { font-size: 1.2rem; }
  .price { font-size: 1.4rem; padding: 0.5rem 1rem; }

  /* Body text unify to 12px */
  body { font-size: 12px; }
  :where(p, li, .feature-description, .price-desc, .testimonial-comment, .testimonial-meta, .address, .hours div, .contact div, .contact a, .service-card h3, .service-flow, .director-profile p, .director-profile li, .first-time-section p, .first-time-points li, .footer-address, .footer-sitemap, .feature-content .feature-description, .contact-note) { font-size: 12px !important; line-height: 1.6; }

  /* Body text alignment (smartphone) */
  :where(p, li) { text-align: left !important; }

  /* Section headings (h2) smaller */
  section h2 { font-size: 1.5rem !important; margin-bottom: 2rem !important; }

  /* Access info text size increase for mobile */
  .address { font-size: 1rem !important; }
  .hours div { font-size: 0.95rem !important; }
  .contact div { font-size: 0.95rem !important; }

  .access-map iframe {
    height: 300px;
  }
}


/* Remove underline for hero section headings */
.hero-section h2::after {
  display: none !important;
  content: none !important;
}

@media (max-width: 480px) {
  .sub-copy { font-size: 1.1rem !important; margin-bottom: 0.5rem !important; margin-top: 0.5rem !important;}
  .catch-copy { font-size: 1.2rem !important; text-align: center !important;}
}