/* ============================================================
   整体院笑み LP
   Design tokens
   ============================================================ */
:root {
  /* Color */
  --color-ink: #16302B;        /* 深い松葉色（背景／見出し） */
  --color-ink-soft: #23423C;   /* inkより少し明るいトーン */
  --color-linen: #EDE7DA;      /* 生成り／背景 */
  --color-linen-deep: #E2D9C6; /* カード背景など */
  --color-accent: #B08D57;     /* 真鍮ゴールド（アクセント） */
  --color-accent-soft: #D8C9A3;/* 淡いゴールド */
  --color-text: #24312D;       /* 本文文字 */
  --color-text-muted: #5B6B63; /* 補足文字 */
  --color-white: #FFFFFF;
  --pink-border: #ce4b6d;

  /* Type */
  --font-display: "Shippori Mincho", serif;
  --font-body: "Noto Sans JP", sans-serif;

  /* Layout */
  --content-max: 750px;
  --gutter: 24px;
  --radius: 4px;
}

/* ============================================================
   Reset / base
   ============================================================ */
* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  background: var(--color-ink);
  font-family: var(--font-body);
  color: var(--color-text);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  margin: 0;
  line-height: 1.4;
}

p {
  margin: 0;
}

ul {
  /* list-style: none; */
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

address {
  font-style: normal;
}

/* 画像の下に隙間を作らない ＋ 幅を超えない */
img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ページ全体を中央寄せ（スマホでは画面幅いっぱい、
   タブレット／PCでは中央にスマホ幅で表示） */
header.hero,
main,
footer.footer {
  max-width: var(--content-max);
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 501px) {
  body {
    padding: 0px 0;
  }
  /* header.hero,
  main,
  footer.footer {
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  } */
}

/* 共通：ボタン */
.btn {
  display: inline-block;
  width: 100%;
  text-align: center;
  padding: 16px 24px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.05em;
  border-radius: var(--radius);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.btn:active {
  transform: translateY(1px);
}

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

.btn--secondary {
  background: transparent;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

/* 共通：セクション見出し */
.section-intro {
  text-align: center;
  padding: 48px var(--gutter) 8px;
}

.section-intro__eyebrow {
  display: block;
  font-size: 12px;
  letter-spacing: 0.25em;
  color: var(--color-accent);
  margin-bottom: 8px;
}

.section-intro__title {
  font-size: 26px;
  color: var(--color-ink);
  font-weight: 700;
}

/* ============================================================
   Header / Hero（メインビジュアル）
   ============================================================ */
.hero {
  position: relative;
  background: var(--color-ink);
}

.hero__media {
  position: relative;
}

.hero__img {
  width: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
}

.hero__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 32px;
  padding: 0 var(--gutter);
  text-align: center;
  color: var(--color-white);
}

.hero__eyebrow {
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--color-accent-soft);
  margin-bottom: 12px;
}

.hero__title {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.hero__title-sub {
  display: block;
  font-size: 13px;
  letter-spacing: 0.35em;
  font-weight: 500;
  color: var(--color-accent-soft);
  margin-top: 8px;
}

.hero__copy {
  margin: 20px 0 28px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
}

.hero__btn {
  max-width: 280px;
  margin: 0 auto;
}

.site-header {
  width: 100%;
  background: #fff;
}

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

.logo img {
  height: 40px; /* ロゴの実際の縦横比に応じて調整 */
  width: auto;
  display: block;
}

.apply-btn img {
  height: 44px;
  width: auto;
  display: block;
}

/* ============================================================
   Features（サービスの特徴）
   ============================================================ */
.features {
  background: var(--color-white);
  padding-bottom: 0px;
}

.feature-list {
  padding: 8px var(--gutter) 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-card {
  background: var(--color-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(22, 48, 43, 0.08);
}

.feature-card__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.feature-card__body {
  padding: 20px 20px 24px;
  position: relative;
}

.feature-card__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-linen-deep);
  color: var(--color-accent);
  margin-top: -42px;
  margin-bottom: 12px;
}

.feature-card__mark svg {
  fill: currentColor;
}

.feature-card__title {
  font-size: 18px;
  color: var(--color-ink);
  margin-bottom: 10px;
}

.feature-card__text {
  font-size: 13.5px;
  color: var(--color-text-muted);
}

/* ============================================================
   map
   ============================================================ */

.map {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9のアスペクト比 */
    height: 0;
}

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

/* ============================================================
   CTA（お問い合わせボタン）
   ============================================================ */
.cta {
  position: relative;
}

.cta__media {
  position: relative;
}

.cta__img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.cta__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(22, 48, 43, 0.5) 0%,
    rgba(22, 48, 43, 0.95) 85%
  );
}

.cta__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0 var(--gutter) 36px;
  text-align: center;
  color: var(--color-white);
}

.cta__title {
  font-size: 24px;
  margin-bottom: 14px;
}

.cta__copy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 20px;
}

.cta__buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ---------------- CTA Notes ---------------- */
.cta-note{
  text-align:center;
  font-size:13px;
  color:var(--text-sub);
  padding:14px 20px 10px;
}
 
/* ---------------- CTA buttons (image-based) ---------------- */
.btn-img-link{
  display:block;
  margin:0 16px 16px;
}
.btn-img{
  width:80%;
  height:auto;
  display:block;
  margin:0 auto;
}
/* ---------------- Outer card with pink frame ---------------- */
.cta-card{
  max-width:var(--max-mobile);
  margin:0 auto;
  background:#fff;
  border:16px solid var(--pink-border);
  overflow:hidden;
}


/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--color-white);
  padding: 40px var(--gutter) 32px;
  text-align: center;
  color: var(--color-ink);
  padding-bottom: 80px;
}

.footer__logo {
  margin: 0 auto 16px;
  opacity: 0.9;
}

.footer__address {
  font-size: 12px;
  line-height: 1.9;
  margin-bottom: 16px;
}

.footer__address a {
  color: var(--color-accent-soft);
}

.footer__copyright {
  font-size: 11px;
  color: var(--color-ink-soft);
  letter-spacing: 0.05em;
}

/* ==========================================================
   下部固定 申込みバー
   - 画面下部に高さ60pxで常時固定表示
   - 内部は最大幅750pxで中央寄せ
   - 画面幅が750pxを下回ると、左右の余白が自動的に減っていく
     （width:100% + max-width:750px + margin:0 auto の挙動を利用）
   ========================================================== */
 
:root {
  --bar-height: 60px;
  --bar-max-width: 750px;
  --bar-color-left: rgba(6,199,85, 1.0);
  --bar-color-right: rgba(206,75,109, 1.0);
  --bar-color-left-hover: #06c755;
  --bar-color-right-hover: #ce4b6d;
}
 
.fixed-bottom-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
 
  width: 100%;
  height: var(--bar-height);
 
  /* ノッチ付き端末（iPhoneなど）でバーがホームバーに隠れないように余白を確保 */
  height: calc(var(--bar-height) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
 
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.12);
  background: rgba(0, 0, 0, 0);
 
  /* 表示/非表示の切り替え用（JS側でクラス付与） */
  transform: translateY(0);
  transition: transform 0.25s ease;
}
 
.fixed-bottom-bar.is-hidden {
  transform: translateY(100%);
}
 
/* 内側コンテナ：最大750px、中央寄せ。
   画面幅が750pxより狭くなると auto マージンが縮み、
   左右の余白が自然に少なくなっていく */
.fixed-bottom-bar__inner {
  max-width: var(--bar-max-width);
  width: 100%;
  height: var(--bar-height);
  margin: 0 auto;
 
  display: flex;
  align-items: stretch;
}
 
/* ボタン共通スタイル：中央を境に左右50%ずつ */
.fixed-bottom-bar__btn {
  flex: 1 1 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--bar-height);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
 
  color: #ffffff;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  transition: background-color 0.15s ease, opacity 0.15s ease;
}
 
.fixed-bottom-bar__btn:active {
  opacity: 0.85;
}
 
/* 左ボタン */
.fixed-bottom-bar__btn--left {
  background-color: var(--bar-color-left);
}
.fixed-bottom-bar__btn--left:hover {
  background-color: var(--bar-color-left-hover);
}
 
/* 右ボタン */
.fixed-bottom-bar__btn--right {
  background-color: var(--bar-color-right);
}
.fixed-bottom-bar__btn--right:hover {
  background-color: var(--bar-color-right-hover);
}
 
/* 画面がさらに狭い端末向けの微調整（文字サイズだけ少し縮小） */
@media (max-width: 360px) {
  .fixed-bottom-bar__btn {
    font-size: 13px;
  }
}


/* ==========================================================
   全体共通設定
   ========================================================== */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  color: #333333;
  background-color: #ffffff;
  line-height: 1.8;
}


/* ==========================================================
   1. ヘッダー
   ========================================================== */
.site-header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
  background-color: #ffffff;
  border-bottom: 1px solid #e5e5e5;
}

.site-header .logo {
  width: 750px;
  max-width: 100%;
  height: auto;
}


/* ==========================================================
   2. タイトル（色付き帯に白抜き文字）
   ========================================================== */
.page-title {
  background-color: #2b5797; /* 帯の色。ブランドカラーに合わせて変更してください */
  padding: 40px;
  text-align: center;
}

.page-title h1 {
  margin: 0;
  color: #ffffff;
  font-size: 1.7em;
  font-weight: bold;
  letter-spacing: 0.05em;
}


/* ==========================================================
   3. 本文
   ========================================================== */
.content {
  color: #000000;
  font-size: 1.0em;
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.content h2 {
  font-size: 1.2em;
  color: #2b5797;
  border-left: 4px solid #2b5797;
  padding-left: 10px;
  margin-top: 40px;
  margin-bottom: 16px;
}

.content p {
  margin: 0 0 16px;
}

.content ul {
  margin: 0 0 16px;
  padding-left: 24px;
}

.content ul li {
  margin-bottom: 8px;
}

.content .revision-date {
  text-align: right;
  color: #666666;
  font-size: 0.9em;
  margin-top: 40px;
}


/* ==========================================================
   4. 本文のtable部分
   ========================================================== */
.policy-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 32px;
  font-size: 0.95em;
}

.policy-table th,
.policy-table td {
  border: 1px solid #cccccc;
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
}

.policy-table thead th {
  background-color: #2b5797;
  color: #ffffff;
  font-weight: bold;
}

.policy-table tbody tr:nth-child(even) {
  background-color: #f7f9fc;
}

.policy-table tbody tr:hover {
  background-color: #eef3fa;
}


/* ==========================================================
   5. フッター
   ========================================================== */
.site-footer {
  background-color: #333333;
  color: #ffffff;
  text-align: center;
  padding: 24px 20px;
  font-size: 0.85em;
}

.site-footer p {
  margin: 0;
}