/* ==========================================================================
   RILF（リルフ）静的サイト スタイルシート
   ========================================================================== */

:root {
  --bg-page: #fdf8f5;
  --bg-surface: #ffffff;
  --bg-card: #fffaf0;
  --bg-card-accent: #fff3eb;
  --text-main: #3d3533;
  --text-muted: #6b5e5b;
  --brand-primary: #e85d6f;
  --brand-primary-dark: #c94456;
  --brand-gradient: linear-gradient(135deg, #f26b6b 0%, #ffad82 100%);
  --line-green: #06c755;
  --line-green-dark: #05a847;
  --border-soft: #f0d2c2;
  --border-line: #eadfd9;
  --shadow-card: 0 4px 16px rgba(139, 69, 45, 0.07);
  --shadow-heading: 0 3px 10px rgba(232, 93, 111, 0.25);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  color: var(--text-main);
  background-color: #212121;
  background-image: url("./images/page-bg.jpg");
  background-position: center center;
  background-size: auto;
  background-repeat: repeat;
  background-attachment: scroll;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--brand-primary-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover,
a:focus-visible {
  color: var(--brand-primary);
}

:focus-visible {
  outline: 3px solid #f26b6b;
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: #3d3533;
  color: #ffffff;
  padding: 10px 16px;
  text-decoration: none;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   サイト外枠（元サイト同様に1つの白いコンテナで背景の露出を抑える）
   ========================================================================== */

.site-shell {
  max-width: 1180px;
  margin: 0 auto;
  background-color: var(--bg-surface);
  box-shadow: 0 0 28px rgba(0, 0, 0, 0.35);
}

/* ==========================================================================
   ヘッダー（現行の温かな光背景を活かしたヒーロー）
   ========================================================================== */

.site-header {
  position: relative;
  background-color: #f9c87c;
  background-image:
    linear-gradient(180deg, rgba(255, 248, 240, 0.12) 0%, rgba(255, 232, 210, 0.28) 100%),
    url("./images/header-bg.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 36px 16px 32px;
  text-align: center;
  border-bottom: 1px solid rgba(180, 90, 60, 0.16);
}

.header-inner {
  max-width: 960px;
  margin: 0 auto;
}

.site-title {
  margin: 0;
  font-family: "Oswald", "Noto Sans JP", sans-serif;
  font-size: clamp(2.1rem, 4.5vw, 2.9rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.15;
}

.site-title a {
  color: #2f2624;
  text-decoration: none;
  text-shadow: 0 1px 10px rgba(255, 255, 255, 0.85);
}

.site-tagline {
  display: inline-block;
  margin: 10px auto 0;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(232, 93, 111, 0.25);
  border-radius: 10px;
  color: #3d3533;
  font-size: clamp(0.85rem, 2.2vw, 0.98rem);
  font-weight: 500;
  line-height: 1.5;
}

/* ==========================================================================
   ナビゲーションバー（スティッキー配置）
   ========================================================================== */

.main-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--brand-primary);
  box-shadow: 0 2px 10px rgba(61, 53, 51, 0.12);
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

.menu-toggle {
  display: none;
  width: 100%;
  background: transparent;
  border: 0;
  color: #ffffff;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  padding: 12px 8px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 8px;
  letter-spacing: 0.08em;
}

.menu-icon {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  width: 20px;
}

.menu-icon span {
  display: block;
  height: 2px;
  width: 100%;
  background: #ffffff;
  border-radius: 2px;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 6px;
}

.nav-list a {
  display: block;
  padding: 13px 16px;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-bottom: 3px solid transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.nav-list a:hover,
.nav-list a:focus-visible,
.nav-list a.is-active {
  background-color: rgba(255, 255, 255, 0.16);
  border-bottom-color: #ffffff;
  color: #ffffff;
}

/* ==========================================================================
   全体レイアウト（PC: 2カラム / モバイル: 1カラム）
   ========================================================================== */

.page-wrapper {
  max-width: 100%;
  margin: 0 auto;
  padding: 32px 40px 48px;
  background-color: var(--bg-surface);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 32px;
  align-items: start;
}

.main-content {
  background-color: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.site-section {
  scroll-margin-top: 76px;
}

.site-section + .site-section {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border-line);
}

.section-heading {
  margin: 0 0 20px;
  padding: 10px 18px;
  background: var(--brand-gradient);
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-heading);
}

.sub-heading {
  margin: 22px 0 10px;
  font-size: 1.12rem;
  font-weight: 700;
  color: #3d3533;
  border-left: 4px solid var(--brand-primary);
  padding-left: 10px;
}

.sub-heading-accent {
  color: #c9302c;
  border-left-color: #c9302c;
}

p {
  margin: 0 0 14px;
}

p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   カード・枠（現行 .waku を清潔感あるデザインへ整理）
   ========================================================================== */

.waku-card {
  padding: 20px 22px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  background-color: var(--bg-card);
  box-shadow: var(--shadow-card);
  margin: 18px 0 22px;
}

.notice-card {
  background-color: var(--bg-card-accent);
  border-left: 5px solid var(--brand-primary);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
}

.notice-title {
  margin: 0 0 4px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--brand-primary-dark);
}

.notice-body {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 500;
}

.quick-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background-color: #fff2f4;
  border: 1px solid #f6c3ca;
  color: #8f2d3b;
  font-size: 0.85rem;
  font-weight: 700;
}

.hero-frame {
  padding: 14px;
  text-align: center;
}

.hero-frame img {
  margin: 0 auto;
  border-radius: var(--radius-sm);
  max-height: 440px;
  width: auto;
  object-fit: cover;
}

.lead-box {
  margin-top: 18px;
  font-size: 1rem;
}

/* ==========================================================================
   コース・料金
   ========================================================================== */

.hours-note {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.caution-note {
  font-size: 0.92rem;
  color: var(--text-muted);
  background: #f9f6f4;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
}

.course-card-title {
  margin: 0 0 10px;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: #3d3533;
}

.women-only-badge {
  display: inline-block;
  margin: 0 0 12px;
  padding: 4px 12px;
  background: #fde8ec;
  border: 1px solid #f4b6c1;
  color: #a62b40;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 999px;
}

.course-desc {
  font-weight: 700;
  margin-bottom: 16px;
}

.course-image-wrap {
  margin: 0 auto 18px;
  max-width: 380px;
}

.course-image-wrap img {
  width: 100%;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.price-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 360px;
  border-top: 1px dashed #e2c7b8;
}

.price-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 8px;
  border-bottom: 1px dashed #e2c7b8;
  font-size: 1.05rem;
}

.price-time {
  font-weight: 500;
}

.price-amount {
  font-weight: 700;
  font-size: 1.15rem;
  color: #9e2d3e;
}

/* ==========================================================================
   出張費・エリア
   ========================================================================== */

.area-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 18px 0;
}

.area-card {
  margin: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.area-card h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
  font-weight: 700;
}

.area-price {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  color: #9e2d3e;
}

.area-note {
  font-size: 0.94rem;
  color: var(--text-muted);
}

/* ==========================================================================
   施術者紹介・ご感想
   ========================================================================== */

.profile-name {
  margin: 0 0 10px;
  font-size: 1.18rem;
  font-weight: 700;
}

.therapist-divider {
  border: 0;
  height: 1px;
  background-color: var(--border-line);
  margin: 20px 0;
}

.review-list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.review-item {
  background-color: #fdf9f7;
  border: 1px solid var(--border-line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}

.review-text {
  margin: 0 0 6px;
}

.review-author {
  display: inline-block;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-muted);
  background: #f3eae6;
  padding: 2px 10px;
  border-radius: 999px;
}

/* ==========================================================================
   お問い合わせ・CTAボタン・Googleフォーム
   ========================================================================== */

.contact-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0 14px;
}

.cta-box {
  background: #fdf9f7;
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
}

.cta-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  font-size: 1.02rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  color: #ffffff;
}

.btn-tel {
  background-color: var(--brand-primary);
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(232, 93, 111, 0.28);
}

.btn-tel:hover,
.btn-tel:focus-visible {
  background-color: var(--brand-primary-dark);
}

.btn-line {
  background-color: var(--line-green);
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(6, 199, 85, 0.25);
}

.btn-line:hover,
.btn-line:focus-visible {
  background-color: var(--line-green-dark);
}

.cta-subtext {
  margin: 8px 0 0;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.busy-note {
  font-size: 0.92rem;
  color: var(--text-muted);
  background: #fff8ea;
  border: 1px solid #f0deb4;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 20px;
}

.form-wrapper {
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #ffffff;
}

.google-form-iframe {
  display: block;
  width: 100%;
  min-height: 780px;
  border: 0;
}

.form-fallback {
  margin-top: 10px;
  font-size: 0.88rem;
  text-align: right;
  color: var(--text-muted);
}

/* ==========================================================================
   サイドバー（PC追尾）
   ========================================================================== */

.sidebar {
  display: grid;
  gap: 20px;
  position: sticky;
  top: 72px;
}

.sidebar-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  padding: 20px 18px;
  box-shadow: 0 2px 10px rgba(61, 53, 51, 0.06);
}

.sidebar-title {
  margin: 0 0 14px;
  text-align: center;
  font-size: 0.96rem;
  font-weight: 700;
  color: #3d3533;
  letter-spacing: 0.04em;
}

.sidebar-title::before,
.sidebar-title::after {
  content: " - ";
  color: var(--brand-primary);
}

.sidebar-cta-stack {
  display: grid;
  gap: 10px;
}

.sidebar-tel-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
  margin: -4px 0 4px;
}

.sidebar-busy-note {
  margin: 12px 0 0;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.sidebar-hours-card {
  margin: 0;
  text-align: center;
}

.sidebar-hours-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.sidebar-hours-value {
  font-size: 1.45rem;
  font-weight: 700;
  color: #3d3533;
  line-height: 1.35;
}

.sidebar-holiday {
  margin-top: 6px;
  font-size: 1.15rem;
  font-weight: 700;
  color: #9e2d3e;
}

.sidebar-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-nav li + li {
  border-top: 1px solid var(--border-line);
}

.sidebar-nav a {
  display: block;
  padding: 9px 6px;
  text-decoration: none;
  color: var(--text-main);
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: 6px;
}

.sidebar-nav a:hover,
.sidebar-nav a:focus-visible,
.sidebar-nav a.is-active {
  background-color: #fff2f4;
  color: var(--brand-primary-dark);
  font-weight: 700;
}

/* ==========================================================================
   フッター・スマホ固定CTAバー
   ========================================================================== */

.site-footer {
  background-color: #3d3533;
  color: #ffffff;
  text-align: center;
  padding: 24px 16px;
  font-size: 0.88rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.footer-inner p {
  margin: 0;
}

.footer-top-link {
  color: #ffd5da;
  text-decoration: none;
  font-weight: 700;
}

.footer-top-link:hover,
.footer-top-link:focus-visible {
  color: #ffffff;
  text-decoration: underline;
}

.mobile-cta-bar {
  display: none;
}

/* ==========================================================================
   レスポンシブ調整
   ========================================================================== */

@media (max-width: 960px) {
  .page-wrapper {
    grid-template-columns: 1fr;
    padding: 22px 20px 32px;
    gap: 20px;
  }

  .sidebar {
    position: static;
  }

  .sidebar-contact-card,
  .sidebar-nav {
    display: none;
  }

  .site-footer {
    padding-bottom: 74px;
  }

  .mobile-cta-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    border-top: 1px solid var(--border-line);
    box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.08);
  }

  .mobile-cta-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 9px 6px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    color: #ffffff;
    text-align: center;
  }

  .mobile-cta-line {
    background-color: var(--line-green);
  }

  .mobile-cta-tel {
    background-color: var(--brand-primary);
  }

  .mobile-cta-form {
    background-color: #5c4d49;
  }
}

@media (max-width: 640px) {
  .site-shell {
    margin: 0 6px;
  }

  .site-header {
    padding: 26px 14px 22px;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 10px;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list a {
    padding: 11px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
  }

  .page-wrapper {
    padding: 18px 14px 26px;
  }

  .main-content {
    padding: 0;
    border-radius: 0;
  }

  .waku-card {
    padding: 16px 14px;
  }

  .area-grid,
  .contact-actions {
    grid-template-columns: 1fr;
  }

  .google-form-iframe {
    min-height: 860px;
  }

  .footer-inner {
    flex-direction: column;
    justify-content: center;
  }
}
