/* 生命の雫 ～a drop of life～ 共通スタイル */

:root {
  --teal: #4a7a74;
  --teal-deep: #355c57;
  --teal-pale: #eef4f2;
  --mauve: #9b7f93;
  --mauve-pale: #f6f1f4;
  --ink: #2f3a39;
  --ink-soft: #5b6766;
  --line: #dde6e3;
  --bg: #ffffff;
  --radius: 10px;
  --wrap: 1080px;
  --serif: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.03em;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--teal-deep); }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }

/* ---------- ヘッダー ---------- */

.topbar {
  background: var(--teal-deep);
  color: #fff;
  font-size: 13px;
  text-align: center;
  padding: 6px 16px;
  letter-spacing: 0.08em;
}

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.brand img { width: 52px; }
.brand-name { font-family: var(--serif); font-size: 20px; line-height: 1.2; }
.brand-name small { display: block; font-size: 11px; letter-spacing: 0.18em; color: var(--ink-soft); font-family: var(--sans); }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-size: 14px; white-space: nowrap; }
.nav a:hover { color: var(--teal); }

.nav .has-sub { position: relative; }
.nav .sub {
  display: none;
  position: absolute;
  top: 100%;
  left: -16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 0;
  min-width: 290px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}
.nav .sub a { display: block; padding: 8px 18px; }
.nav .has-sub:hover .sub,
.nav .has-sub:focus-within .sub { display: flex; }
.nav .has-sub > span { font-size: 14px; cursor: default; }
.nav .has-sub > span::after { content: "▾"; font-size: 10px; margin-left: 4px; color: var(--ink-soft); }

.menu-toggle { display: none; }

/* ---------- ボタン ---------- */

.btn {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  padding: 14px 40px;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: background .2s;
}
.btn:hover { background: var(--teal-deep); }
.btn-outline { background: transparent; color: var(--teal-deep); border: 1px solid var(--teal); }
.btn-outline:hover { background: var(--teal-pale); }

.cta { text-align: center; padding: 48px 0; }
.cta p { margin: 0 0 14px; color: var(--ink-soft); font-size: 14px; }

/* ---------- メインビジュアル ---------- */

.hero { position: relative; background: #fafcfb; }
.hero-img-pc { width: 100%; height: clamp(360px, 36vw, 520px); object-fit: cover; object-position: 70% center; }
.hero-img-sp { display: none; }
.hero-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
}
.hero-text .wrap { padding-right: 38%; }
.hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.6;
  color: var(--teal-deep);
  margin: 0 0 20px;
  letter-spacing: 0.06em;
}
.hero p { margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 2.1; }
.hero p.catch { margin-top: 14px; color: var(--ink); }

/* ---------- セクション ---------- */

.section { padding: 80px 0; }
.section-tint { background: var(--teal-pale); }
.section-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(22px, 2.4vw, 28px);
  text-align: center;
  margin: 0 0 8px;
  color: var(--teal-deep);
  letter-spacing: 0.1em;
}
.section-sub { text-align: center; font-size: 12px; letter-spacing: 0.3em; color: var(--mauve); margin: 0 0 40px; text-transform: uppercase; }

/* セッションメニュー */

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(53,92,87,0.10); }
.card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.card-body { padding: 18px 20px 22px; }
.card-body h3 { font-size: 16px; margin: 0 0 6px; line-height: 1.6; }
.card-body span { font-size: 13px; color: var(--teal); }

/* WELCOME */

.welcome { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: start; }
.welcome-person { text-align: center; }
.welcome-person img { width: 220px; border-radius: 50%; margin: 0 auto 20px; }
.welcome-person .roles { font-size: 14px; line-height: 1.9; margin: 0 0 10px; }
.welcome-person .name { font-family: var(--serif); font-size: 22px; letter-spacing: 0.2em; margin: 0; }
.welcome-person .name small { display: block; font-family: var(--sans); font-size: 12px; color: var(--ink-soft); letter-spacing: 0.15em; }
.welcome-body p { margin: 0 0 1.4em; }
.welcome-body .question { font-family: var(--serif); font-size: 18px; line-height: 2; color: var(--teal-deep); }

/* ニュースレター */

.newsletter {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
  background: var(--mauve-pale);
  border-radius: 16px;
  padding: 48px 32px;
}
.newsletter p { margin: 0 0 24px; }
.newsletter .note { font-size: 13px; color: var(--ink-soft); margin: 16px 0 0; }

/* ---------- フッター ---------- */

.site-footer { background: var(--teal-deep); color: #e8efee; padding: 56px 0 28px; font-size: 14px; }
.site-footer a { color: #e8efee; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 2fr; gap: 40px; }
.footer-brand { font-family: var(--serif); font-size: 20px; margin: 0 0 6px; }
.footer-links { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 32px; }
.footer-links li { margin-bottom: 8px; break-inside: avoid; }
.copyright { text-align: center; font-size: 12px; margin-top: 40px; opacity: 0.75; }

/* ---------- スマホ ---------- */

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
    background: none;
    border: 0;
    font-size: 14px;
    color: var(--ink);
    padding: 8px 4px;
    cursor: pointer;
    font-family: inherit;
  }
  .menu-toggle .bars { display: inline-block; width: 22px; height: 2px; background: var(--ink); position: relative; vertical-align: middle; margin-right: 6px; }
  .menu-toggle .bars::before, .menu-toggle .bars::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: var(--ink); }
  .menu-toggle .bars::before { top: -7px; }
  .menu-toggle .bars::after { top: 7px; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 8px 16px 20px;
  }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav a, .nav .has-sub > span { display: block; padding: 12px 4px; border-bottom: 1px solid var(--line); font-size: 15px; }
  .nav .has-sub > span::after { content: none; }
  .nav .sub { display: flex; position: static; border: 0; box-shadow: none; padding: 0 0 0 16px; min-width: 0; }
  .nav .sub a { padding: 10px 4px; }

  .hero-img-pc { display: none; }
  .hero-img-sp { display: block; width: 100%; }
  .hero-text { position: static; padding: 28px 0 8px; }
  .hero-text .wrap { padding-right: 0; }
  .hero h1 { font-size: 23px; }
  .hero p { font-size: 14.5px; }

  .section { padding: 56px 0; }
  .cards { grid-template-columns: 1fr; gap: 20px; }
  .welcome { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-links { columns: 1; }
  .btn { padding: 14px 22px; font-size: 14px; letter-spacing: 0.04em; }
}

/* ==========================================================
   下層ページ（旧WordPressの本文ブロックを表示するためのスタイル）
   ========================================================== */

:root {
  --swl-main: #3f6965;
  --swl-pale-01: #fff2f0;
  --swl-pale-02: #f3f8fd;
  --swl-pale-03: #f1f9ee;
  --swl-pale-04: #fdf9ee;
  --swl-gray: #f7f7f7;
}

.page-head { background: var(--teal-pale); padding: 56px 0 48px; text-align: center; }
.page-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.6;
  color: var(--teal-deep);
  margin: 0;
  letter-spacing: 0.08em;
}

.content { max-width: 820px; padding: 56px 0 80px; }
.content > * { margin-top: 0; }
.content p { margin: 0 0 1.5em; }
.content h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(20px, 2.2vw, 24px);
  line-height: 1.6;
  color: var(--teal-deep);
  margin: 3em 0 1.2em;
  padding: 0 0 12px;
  border-bottom: 1px solid var(--line);
}
.content h2.has-background { border-bottom: 0; padding: 14px 20px; border-radius: 6px; }
.content h2.has-background:not(.has-text-color) { color: #fff; }
.content h3 { font-size: 18px; color: var(--teal-deep); margin: 2.2em 0 1em; padding-left: 12px; border-left: 3px solid var(--teal); line-height: 1.6; }
.content h4 { font-size: 16px; margin: 2em 0 .8em; }
.content a { color: var(--teal-deep); }
.content a.btn, .content .wp-block-button__link { color: #fff; }
.content ul, .content ol { padding-left: 1.4em; margin: 0 0 1.5em; }
.content li { margin-bottom: .4em; }
.content hr, .content .wp-block-separator { border: 0; border-top: 1px solid var(--line); margin: 3em auto; }
.content strong { font-weight: 700; }

.content figure { margin: 0 0 2em; }
.content figure img, .content .wp-block-image img { border-radius: 8px; }
.content .aligncenter, .content .wp-block-image.aligncenter { margin-left: auto; margin-right: auto; text-align: center; }
.content .aligncenter img { margin-inline: auto; }
.content .is-style-rounded img { border-radius: 50%; }
.content figcaption { font-size: 13px; color: var(--ink-soft); text-align: center; margin-top: 8px; }

.has-text-align-center { text-align: center; }
.has-text-align-left { text-align: left; }
.has-text-align-right { text-align: right; }
.has-small-font-size { font-size: 14px; }
.has-regular-font-size, .has-normal-font-size { font-size: 16px; }
.has-medium-font-size { font-size: 18px; }
.has-large-font-size { font-size: 22px; line-height: 1.7; }
.has-huge-font-size { font-size: 28px; line-height: 1.5; }
.content p.has-background { padding: 20px 24px; border-radius: 8px; }
.content .has-border { padding: 20px 24px; border-radius: 8px; }
.has-border.-border01 { border: solid 1px var(--swl-main); }
.has-border.-border02 { border: double 4px var(--swl-main); }
.has-border.-border03 { border: dashed 2px #dcdcdc; }
.has-border.-border04 { border: solid 4px #f7f7f7; }
.is-style-big_icon_check {
  position: relative;
  border: 2px solid #86d67c;
  border-radius: 8px;
  padding: 28px 24px 20px !important;
  margin-top: 1.6em !important;
}
.is-style-big_icon_check::before {
  content: "✓";
  position: absolute;
  top: -15px;
  left: 18px;
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  border-radius: 50%;
  background: #86d67c;
  color: #fff;
  font-weight: 700;
}
.is-style-dent_box { background: rgba(0,0,0,.04); box-shadow: inset 0 2px 4px rgba(0,0,0,.08); padding: 20px 24px; border-radius: 6px; }
.is-style-stitch { position: relative; background: #f7f7f7; padding: 24px 26px !important; border-radius: 6px; }
.is-style-stitch::before { content: ""; position: absolute; inset: 6px; border: 1px dashed rgba(199,199,199,.6); border-radius: inherit; pointer-events: none; }

.has-swl-main-color { color: var(--swl-main) !important; }
.has-swl-main-background-color { background-color: var(--swl-main) !important; }
.has-swl-pale-01-background-color { background-color: var(--swl-pale-01) !important; }
.has-swl-pale-02-background-color { background-color: var(--swl-pale-02) !important; }
.has-swl-pale-03-background-color { background-color: var(--swl-pale-03) !important; }
.has-swl-pale-04-background-color { background-color: var(--swl-pale-04) !important; }
.has-swl-gray-background-color { background-color: var(--swl-gray) !important; }
.has-black-color { color: #333 !important; }
.has-white-color { color: #fff !important; }

.swl-marker { background: linear-gradient(transparent 64%, rgba(155,127,147,.22) 0); }
.mark_yellow { background: linear-gradient(transparent 64%, #fcf69f 0); }
.mark_green { background: linear-gradient(transparent 64%, #bcf69f 0); }
.mark_blue { background: linear-gradient(transparent 64%, #b7e3ff 0); }
.mark_orange { background: linear-gradient(transparent 64%, #ffddbc 0); }
.swl-inline-icon::before {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-right: .25em;
  vertical-align: -0.12em;
  background-color: currentColor;
  -webkit-mask: var(--the-icon-svg) no-repeat center / contain;
  mask: var(--the-icon-svg) no-repeat center / contain;
}

.is-style-sticky_box {
  background: var(--mauve-pale);
  border-left: 4px solid var(--mauve);
  padding: 18px 22px !important;
  border-radius: 4px;
}

.wp-block-quote {
  margin: 0 0 2em;
  padding: 20px 24px;
  background: var(--teal-pale);
  border-left: 4px solid var(--teal);
  border-radius: 4px;
}
.wp-block-quote p:last-child { margin-bottom: 0; }

.wp-block-group.has-background, div.has-background { padding: 24px 28px; border-radius: 10px; margin-bottom: 2em; }
.wp-block-group__inner-container > :last-child { margin-bottom: 0; }

.wp-block-columns { display: flex; gap: 32px; margin-bottom: 2em; }
.wp-block-column { flex: 1 1 0; min-width: 0; }
.wp-block-column > :last-child { margin-bottom: 0; }

.wp-block-media-text { display: grid; grid-template-columns: 45% 1fr; gap: 32px; align-items: center; margin-bottom: 2em; }
.wp-block-media-text.has-media-on-the-right { grid-template-columns: 1fr 45%; }
.wp-block-media-text.has-media-on-the-right .wp-block-media-text__media { order: 2; }
.wp-block-media-text__media { margin: 0; }
.wp-block-media-text__media img { width: 100%; border-radius: 8px; }
.wp-block-media-text__content > :last-child { margin-bottom: 0; }

.wp-block-table { overflow-x: auto; margin: 0 0 2em; }
.wp-block-table table { width: 100%; border-collapse: collapse; font-size: 15px; }
.wp-block-table td, .wp-block-table th { border: 1px solid var(--line); padding: 12px 14px; vertical-align: top; }
.wp-block-table thead th, .wp-block-table thead td { background: var(--teal-pale); }
.wp-block-table td, .wp-block-table th { position: relative; z-index: 0; }
.swl-cell-bg { position: absolute; inset: 0; z-index: -1; }

.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 0 0 2em; }
.wp-block-button__link {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  padding: 14px 32px;
  font-weight: 700;
}
.wp-block-spacer { max-height: 80px; }

.cta-box {
  text-align: center;
  background: var(--teal-pale);
  border-radius: 14px;
  padding: 36px 24px;
  margin: 3em 0 0;
}
.cta-box p { margin: 0 0 18px; color: var(--ink-soft); font-size: 15px; }

@media (max-width: 900px) {
  .page-head { padding: 40px 0 32px; }
  .content { padding: 40px 0 56px; }
  .wp-block-columns { flex-direction: column; gap: 16px; }
  .wp-block-media-text, .wp-block-media-text.has-media-on-the-right { grid-template-columns: 1fr; gap: 16px; }
  .wp-block-media-text.has-media-on-the-right .wp-block-media-text__media { order: 0; }
  .has-large-font-size { font-size: 19px; }
  .content br.pc-only { display: none; }
}

.content h2.has-background:not(.has-text-color) { text-shadow: 0 1px 3px rgba(0,0,0,.28); }
.content .is-style-rounded img { aspect-ratio: 1 / 1; object-fit: cover; }
.wp-block-file { text-align: center; margin: 0 0 2em; }
.wp-block-file a { display: inline-block; padding: 12px 26px; border: 1px solid var(--teal); border-radius: 999px; text-decoration: none; }
.wp-block-file a:hover { background: var(--teal-pale); }
.wp-block-file__button { display: none; }

/* ---------- HEベーシック個人コース ---------- */

.he-basic .he-hero { margin: 0 0 2.5em; }
.he-basic .he-hero img { width: 100%; }
.he-lead { line-height: 2.1; }
.he-recommend { display: grid; grid-template-columns: 1fr 260px; gap: 32px; align-items: center; margin-bottom: 2em; }
.he-recommend figure { margin: 0; }
.he-checklist { list-style: none; padding: 0 !important; margin: 0 !important; }
.he-checklist li { position: relative; padding: 8px 0 8px 30px; border-bottom: 1px dashed var(--line); margin: 0 !important; }
.he-checklist li::before { content: "✓"; position: absolute; left: 4px; top: 8px; color: var(--teal); font-weight: 700; }
.he-level { display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: start; padding: 32px 0; border-bottom: 1px solid var(--line); }
.he-level:last-of-type { border-bottom: 0; }
.he-level figure { margin: 0; }
.he-level-body h3 { margin-top: 0; }
.he-chapters { background: var(--teal-pale); padding: 16px 20px; border-radius: 8px; font-size: 15px; }
.he-quote-src { font-size: 12px; color: var(--ink-soft); text-align: right; margin-top: -0.6em !important; }
.he-note { font-size: 14px; color: var(--ink-soft); }
.he-price th { background: var(--teal-pale); white-space: nowrap; }
.he-price td:first-child { white-space: nowrap; font-weight: 700; }
.he-price .he-yen { white-space: nowrap; font-weight: 700; color: var(--teal-deep); text-align: right; }
.he-price td:last-child { font-size: 14px; }
.he-notes { list-style: none; padding: 0 !important; }
.he-notes li { position: relative; padding-left: 1.4em; margin-bottom: .8em !important; }
.he-notes li::before { content: "▶"; position: absolute; left: 0; color: var(--teal); font-size: 11px; top: .45em; }
.he-gifts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 2em; }
.he-gift { background: var(--mauve-pale); border-radius: 12px; padding: 24px 22px; }
.he-gift-no { display: inline-block; background: var(--mauve); color: #fff; font-size: 13px; font-weight: 700; border-radius: 999px; padding: 2px 14px; margin: 0 0 12px !important; }
.he-gift h3 { border: 0; padding: 0; margin: 0 0 12px; font-size: 16px; line-height: 1.7; }
.he-gift p:last-child { font-size: 14px; margin: 0; }
.he-therapist { display: grid; grid-template-columns: 170px 1fr; gap: 32px; align-items: start; }
.he-therapist figure { margin: 0; }
.he-therapist img { border-radius: 0 !important; }
.he-sign { text-align: right; font-size: 14px; }
.he-sign span { font-family: var(--serif); font-size: 18px; letter-spacing: .15em; }
.he-sns { font-size: 14px; margin: 20px 0 0 !important; }

@media (max-width: 900px) {
  .he-recommend { grid-template-columns: 1fr; }
  .he-recommend figure { max-width: 240px; margin: 0 auto; }
  .he-level { grid-template-columns: 1fr; gap: 16px; }
  .he-level figure { max-width: 320px; margin: 0 auto; }
  .he-gifts { grid-template-columns: 1fr; }
  .he-therapist { grid-template-columns: 1fr; gap: 16px; }
  .he-therapist figure { max-width: 140px; margin: 0 auto; }
  .he-lead br { display: none; }
  .he-price td:first-child { white-space: normal; }
}

/* ---------- ニュースレター登録フォーム（Benchmark） ---------- */
.newsletter-form { width: 100%; max-width: 420px; margin: 2em auto 1em; min-height: 200px; }
.newsletter-form > *, .newsletter-form iframe, .newsletter-form form, .newsletter-form table { width: 100% !important; max-width: 100% !important; }
.newsletter-form img { max-width: 100% !important; height: auto !important; }
.newsletter-note { font-size: 13px; color: var(--ink-soft); }
