/*
Theme Name: AICOWA
Theme URI: https://example.com/aicowa
Author: AICOWA
Description: AI実践コミュニティ AICOWA 公式サイト用オリジナルWordPressテーマ。20代後半のビジネスパーソンを意識した落ち着きと親しみのあるデザイン。
Version: 3.22.1
Text Domain: aicowa
*/

/* ==========================================================================
   目次
     1. 変数
     2. 基本
     3. ヘッダー・ボタン
     4. トップ：ヒーロー
     5. トップ：AICOWAとは（#about）
     6. トップ：コミュニティ／Zoomセミナー（#community / #seminar）
     7. トップ：セクション見出し（共通）
     8. トップ：参加の流れ
     9. トップ：スクール（#school）
    10. トップ：学習成果
    11. トップ：JOIN（#join）
    12. フッター
    13. フォームページ（お問い合わせ／オンラインサロン／プライバシーポリシー）

   ブレークポイント（各ブロックの中で PC → 900px 以下 → 600px 以下 の順に書く）
     〜900px … タブレット（1カラム化・ハンバーガーメニュー）
     〜600px … スマートフォン
     〜480px … 縦持ちのスマートフォン（ヒーローだけ専用の縦長画像に切り替える）
   ========================================================================== */


/* 1. 変数
   ========================================================================== */
:root {
  --color-text: #24313a;
  --color-bg: #fbfaf7;
  --color-bg-sub: #f2efe9;
  --color-line: #e5e1da;
  --color-accent: #c96f73;
  --color-pink: #f16f7a;
  --color-pink-light: #f58b94;

  --gradient-cta: linear-gradient(135deg, #f45f75, #f17f88);
  --gradient-form: linear-gradient(135deg, #ef7478, #ee8c86);

  --font-sans: -apple-system, BlinkMacSystemFont, "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-sans-section: -apple-system, BlinkMacSystemFont, "Noto Sans JP", "Yu Gothic", sans-serif;
  --font-serif: "Yu Mincho", "Hiragino Mincho ProN", serif;
  --font-hand: "Klee One", "Yuji Syuku", "Segoe Print", "Bradley Hand", "Hiragino Maru Gothic ProN", "Yu Gothic", cursive;
}


/* 2. 基本
   ========================================================================== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  line-height: 1.8;
  letter-spacing: .01em;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

.wrap { width: min(1120px, calc(100% - 40px)); margin: auto; }

/* 固定ページ・投稿の汎用テンプレート（page.php / index.php） */
.page-content { padding: 0 0 70px; }
.page-content h1 { font-size: 44px; }

/* スマホ（600px 以下）だけで改行する <br class="u-sp-only"> */
.u-sp-only { display: none; }

@media (max-width: 600px) {
  .wrap { width: min(100% - 28px, 1120px); }
  .u-sp-only { display: inline; }
}

/* スクロールで表示：画面に入ったらふわっと浮かび上がる（assets/js/main.js の initReveal）
   - JS が動かない環境（.has-js なし）と「視差効果を減らす」設定では最初から表示する
   - 横に並んだ要素は少しずつ遅らせる */
@media (prefers-reduced-motion: no-preference) {
  .has-js [data-js~="reveal"] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .8s ease, transform .8s ease;
  }
  .has-js [data-js~="reveal"].is-visible { opacity: 1; transform: none; }
  .has-js [data-js~="reveal"]:nth-child(2) { transition-delay: .12s; }
  .has-js [data-js~="reveal"]:nth-child(3) { transition-delay: .24s; }
  .has-js [data-js~="reveal"]:nth-child(4) { transition-delay: .36s; }
}


/* 3. ヘッダー・ボタン
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 250, 247, .92);
  backdrop-filter: blur(14px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  height: 76px;
}
.brand img { display: block; width: 188px; }

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  font-weight: 650;
}
.nav a:hover { color: #a9655e; }
.site-header .nav > .btn { position: relative; top: 2px; }

.menu-toggle { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--color-pink), var(--color-pink-light));
  color: #fff;
  font-weight: 750;
  box-shadow: 0 10px 24px rgba(241, 111, 122, .22);
  transition: .2s ease;
}
.btn:hover { opacity: .94; transform: translateY(-1px); }

@media (max-width: 900px) {
  .nav { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    padding: 24px;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-line);
  }
  .menu-toggle {
    display: block;
    border: 0;
    background: transparent;
    color: var(--color-text);
    font-size: 24px;
  }
}
@media (max-width: 600px) {
  .header-inner { height: 66px; }
  .nav.open { top: 66px; } /* ヘッダーの高さに合わせる */
  .brand img { width: 155px; }
  .site-header .btn { padding: 11px 15px; }
}


/* 4. トップ：ヒーロー
   見出し・説明文は画像（hero-wide.webp）に含まれている。CTA と注記は HTML（PC・タブレットは画像に重ね、スマホは画像の下）。
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #fbfaf7 0 66%, #f1eee9 66%);
}
.hero-wide-v30 { line-height: 0; }
.hero-title { margin: 0; } /* ページの h1。見出しの文字は画像の alt */
.hero-title picture { display: block; }
.hero-wide-v30-image {
  display: block;
  width: 100%;
  max-width: none;
  aspect-ratio: 2033 / 773; /* 縮小版（1200px）でも元画像と同じ高さにする */
}

.hero-wide-v30-cta {
  position: absolute;
  top: 61.5%;
  left: 50%;
  z-index: 4;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: min(380px, 19vw);
  min-width: 270px;
  height: 62px;
  margin-top: 2px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff6f73, #ff817e);
  box-shadow: 0 8px 24px rgba(241, 111, 122, .20);
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: clamp(14px, 1.1vw, 19px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: .02em;
}
.hero-wide-v30-cta:hover { transform: translate(-50%, -52%); filter: brightness(.985); }
.hero-wide-v30-cta b { font-size: 1.05em; font-weight: 400; }

.hero-wide-v30-note {
  position: absolute;
  top: 68.1%;
  left: 50%;
  z-index: 4;
  transform: translateX(-50%);
  margin: 0;
  color: #182337;
  font-size: clamp(11px, .92vw, 16px);
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .hero { background: linear-gradient(160deg, #fbfaf7 0 72%, #f1eee9 72%); }
  .hero-wide-v30 { height: 590px; }
  .hero-wide-v30-image { width: 158%; transform: translateX(-18.4%); }
  .hero-wide-v30-cta {
    top: 60%;
    gap: 9px;
    width: 50%;
    min-width: 0;
    height: 52px;
    font-size: clamp(13px, 3vw, 17px);
  }
  .hero-wide-v30-note { top: 66.5%; font-size: 12px; }
}
@media (max-width: 600px) {
  /* スマホでは CTA と注記を画像に重ねず、画像の下に並べる（高さは中身なり） */
  .hero-wide-v30 { height: auto; padding-bottom: 28px; }
  .hero-wide-v30-image { width: 190%; transform: translateX(-23.7%); }
  .hero-wide-v30-cta {
    position: static;
    transform: none;
    width: 64%;
    height: 48px;
    margin: 20px auto 0;
    font-size: 14px;
  }
  .hero-wide-v30-cta:hover { transform: translateY(-1px); }
  .hero-wide-v30-note {
    position: static;
    transform: none;
    margin-top: 10px;
    font-size: 12px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  /* 縦持ちのスマホ：専用の縦長画像（hero-sp.webp。front-page.php の <picture>）を幅いっぱいに。
     背景は画像の下端の色に合わせ、画像と CTA の間に境目が出ないようにする */
  .hero { background: #fdfdfd; }
  .hero-wide-v30-image { width: 100%; aspect-ratio: 941 / 1672; transform: none; }
}

/* 5. トップ：AICOWAとは（#about）
   ========================================================================== */
.rebuild-intro {
  padding: 104px 0 96px;
  background: var(--color-bg);
  color: #263238;
  font-family: var(--font-sans-section);
  text-align: left;
}
.intro-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  align-items: start;
  gap: 90px;
  max-width: 1120px;
}
.intro-copy { max-width: 500px; }
.intro-copy .rebuild-label { margin-bottom: 28px; }
.rebuild-lead { color: #687277; }
.intro-copy .rebuild-lead { margin: 0; font-size: 18px; line-height: 2.05; }
.rebuild-lead strong { color: #263238; }
.intro-grid > h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -.025em;
}

@media (max-width: 900px) {
  .rebuild-intro { padding: 76px 0; }
  .intro-grid { grid-template-columns: 1fr; gap: 20px; }
  .intro-grid > h2 { grid-row: 1; }
  .intro-copy { grid-row: 2; max-width: 720px; }
}
@media (max-width: 600px) {
  .rebuild-intro { padding: 56px 0; }
  .intro-grid > h2 { font-size: 28px; text-align: center; }
  .intro-copy .rebuild-label { margin-bottom: 18px; text-align: center; }
  .intro-copy .rebuild-lead { font-size: 16px; line-height: 1.95; }
}


/* 6. トップ：コミュニティ／Zoomセミナー（#community / #seminar）
   左右2枚のカード。CTA は PC では両カードとも下端に揃える。
   ========================================================================== */
.hybrid-duo { padding: 86px 0; background: var(--color-bg); }
.hybrid-duo .wrap { position: relative; }
.hybrid-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 24px;
}

/* カード共通 */
.duo-panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #ebe6df;
  border-radius: 6px;
}
.hybrid-grid > .duo-panel { min-height: 560px; }
.duo-panel figure { flex: 0 0 auto; aspect-ratio: 16 / 9; background: var(--color-bg-sub); }
.hybrid-grid .duo-panel figure { height: 245px; min-height: 245px; margin: 0; overflow: hidden; }
.hybrid-grid .duo-panel figure img { display: block; width: 100%; height: 100%; object-fit: cover; }

.duo-copy h2 { font-family: var(--font-serif); font-weight: 500; letter-spacing: -.025em; }
.duo-copy p { margin: 0 0 24px; color: #6d7679; }
.hybrid-grid .duo-copy > span { color: #c56f73; font-size: 12px; font-weight: 800; letter-spacing: .18em; }

/* カード下の CTA（両カード共通） */
.hybrid-grid .community-original .text-link,
.hybrid-grid .seminar-original .seminar-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--gradient-cta);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

/* コミュニティ */
.hybrid-grid .community-original { display: flex; background: #fff; border: 1px solid #e9e5df; }
.hybrid-grid .community-original .duo-copy {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 30px 32px 32px;
}
.hybrid-grid .community-original .duo-copy h2 { margin: 15px 0 12px; font-size: 29px; line-height: 1.45; }
.hybrid-grid .community-original .duo-copy p,
.hybrid-grid .community-original li { font-size: 15px; line-height: 1.75; }
.duo-copy ul { margin: 0 0 26px; padding: 0; border-top: 1px solid #e9e4dd; list-style: none; }
.duo-copy li { padding: 13px 0; border-bottom: 1px solid #e9e4dd; }

/* Zoomセミナー */
.hybrid-grid .seminar-original { background: var(--color-bg); }
.hybrid-grid .seminar-original .duo-copy {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 28px 18px;
}
.hybrid-grid .seminar-original .duo-copy h2 { margin: 10px 0 7px; color: #202b34; font-size: 29px; line-height: 1.4; }
.hybrid-grid .seminar-original .duo-copy > p { margin: 0 0 13px; color: #59636a; font-size: 13px; line-height: 1.65; }

/* セミナーの4ステップ（知る → 見る → 試す → 選ぶ） */
.seminar-steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 22px minmax(0, 1fr) 22px minmax(0, 1fr) 22px minmax(0, 1fr);
  align-items: stretch;
  margin: 2px 0 15px;
}
.seminar-steps > div {
  min-width: 0;
  min-height: 112px;
  padding: 0 9px;
  border-right: 1px solid #e7e2dc;
}
.seminar-steps > div:last-of-type { border-right: 0; }
.seminar-steps em {
  display: block;
  margin: 0 0 7px;
  color: #ef6f7d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-style: normal;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
  line-height: 38px;
  letter-spacing: 0;
}
.seminar-steps strong { display: block; margin-bottom: 6px; color: #202b34; font-size: 15px; line-height: 1.35; }
.seminar-steps small { display: block; color: #59636a; font-size: 12px; line-height: 1.55; }
.seminar-steps > i {
  display: flex;
  align-items: center;
  align-self: stretch;
  justify-content: center;
  color: #ef6f7d;
  font-family: Arial, sans-serif;
  font-size: 18px;
  font-style: normal;
  line-height: 1;
  text-align: center;
}

@media (min-width: 901px) {
  .hybrid-grid .community-original .duo-copy,
  .hybrid-grid .seminar-original .duo-copy { position: relative; padding-bottom: 90px; }
  .hybrid-grid .community-original .text-link,
  .hybrid-grid .seminar-original .seminar-cta {
    position: absolute;
    right: 32px;
    bottom: 18px;
    left: 32px;
  }
}
@media (max-width: 900px) {
  .hybrid-grid { grid-template-columns: 1fr; }
  .hybrid-grid > .duo-panel { min-height: 0; }
  /* セミナーのカードだけ、画像と本文を横並びにする（コミュニティは縦積みのまま） */
  .duo-panel { display: grid; grid-template-columns: 1fr 1fr; }
  .duo-panel figure { aspect-ratio: auto; }
}
@media (max-width: 600px) {
  /* 上は「AICOWAとは」の下余白と同じ背景色で続くので 0 にし、セクション間を 56px に揃える */
  .hybrid-duo { padding: 0 0 56px; }
  .duo-panel { display: flex; }
  .duo-panel figure { aspect-ratio: 16 / 10; }
  .hybrid-grid .duo-panel figure { height: 220px; min-height: 220px; }
  .hybrid-grid .community-original .duo-copy { padding: 26px 22px; }
  .hybrid-grid .seminar-original .duo-copy { padding: 22px 18px 20px; }
  .hybrid-grid .community-original .duo-copy h2,
  .hybrid-grid .seminar-original .duo-copy h2 { font-size: 24px; }
  /* 説明文を 11px にしても「実際の活用例」が1行に入るよう、矢印の列と余白を細くする */
  .seminar-steps { grid-template-columns: 1fr 12px 1fr 12px 1fr 12px 1fr; }
  .seminar-steps > div { min-height: 100px; padding: 0 2px; }
  .seminar-steps em { font-size: 28px; line-height: 32px; }
  .seminar-steps strong { font-size: 13px; }
  .seminar-steps small { font-size: 11px; letter-spacing: 0; }
  .seminar-steps > i { font-size: 13px; }
}


/* 7. トップ：セクション見出し（共通）
   参加の流れ・スクール・学習成果で使う。ラベルは AICOWAとは でも使う。
   ========================================================================== */
.rebuild-path,
.rebuild-school,
.rebuild-outcomes { color: #263238; font-family: var(--font-sans-section); }

.rebuild-label,
.rebuild-heading > p {
  margin: 0 0 18px;
  color: #c96f72;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .2em;
}
.rebuild-heading { margin-bottom: 52px; text-align: left; }
.rebuild-heading.center { margin: 0 auto 56px; }
.rebuild-heading h2 {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-size: clamp(38px, 4.5vw, 56px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -.025em;
}
.rebuild-heading > span { color: #737b7d; font-size: 17px; line-height: 1.9; }
.rebuild-note { margin: 24px 0 0; color: #858b8a; font-size: 12px; }

@media (min-width: 901px) {
  /* PC では見出しを1行に収める */
  .rebuild-path .rebuild-heading h2,
  .rebuild-school .rebuild-heading h2 { font-size: clamp(38px, 4vw, 52px); letter-spacing: -.035em; white-space: nowrap; }
  .rebuild-outcomes .rebuild-heading h2 { font-size: clamp(40px, 4vw, 54px); letter-spacing: -.035em; white-space: nowrap; }
}
@media (max-width: 600px) {
  .rebuild-heading { margin-bottom: 32px; }
  .rebuild-heading > p,
  .rebuild-heading h2 { text-align: center; }
  .rebuild-heading h2 { font-size: min(28px, 7.5vw); line-height: 1.45; } /* 320px 幅でも「、」の前後がそれぞれ1行に収まるように */
  .rebuild-heading > span { font-size: 15px; }

  /* 見出しは「、」や改行位置でだけ折り返す（「次のス／テップへ。」のような途中の折り返しを防ぐ）。
     収まらないときだけ、どこでも折り返してはみ出しを防ぐ */
  .intro-grid > h2,
  .rebuild-heading h2,
  .duo-copy h2,
  .join-v37-copy h2 { word-break: keep-all; overflow-wrap: anywhere; }
}


/* 8. トップ：参加の流れ
   ========================================================================== */
.rebuild-path { padding: 105px 0; background: var(--color-bg-sub); }
.path-line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.path-line:before {
  content: "";
  position: absolute;
  top: 25px;
  right: 8%;
  left: 8%;
  height: 1px;
  background: #cfc7bd;
}
.path-line > div { position: relative; padding: 0 12px; text-align: center; }
.path-line em {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin: 0 auto 20px;
  border: 1px solid #d7cdc3;
  border-radius: 50%;
  background: var(--color-bg);
  color: #bd6869;
  font-family: Georgia, serif;
  font-style: normal;
}
.path-line strong { display: block; font-size: 18px; }
.path-line small { display: block; margin-top: 6px; color: #7d8382; font-size: 14px; line-height: 1.65; }

@media (max-width: 900px) {
  .path-line { grid-template-columns: repeat(2, 1fr); gap: 38px 0; }
  .path-line:before { display: none; }
}
@media (max-width: 600px) {
  .rebuild-path { padding: 56px 0; }
  .path-line { gap: 34px 6px; }
  .path-line > div { padding: 0 4px; } /* 「LINEオープンチャット」を1行に収める */
  .path-line strong { font-size: 15px; }
  .path-line small { font-size: 13px; }
}


/* 9. トップ：スクール（#school）
   ========================================================================== */
.rebuild-school { padding: 100px 0 112px; background: var(--color-bg); }
.rebuild-school .wrap { position: relative; }
.course-table {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #dcd6ce;
  border-bottom: 1px solid #dcd6ce;
}
.course-table article { padding: 38px 34px 42px; border-right: 1px solid #dcd6ce; }
.course-table article:last-child { border-right: 0; }
.course-table header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid #ebe6df;
}
.course-table header span { color: #bd6869; font-size: 11px; font-weight: 800; letter-spacing: .16em; }
.course-table h3 { margin: 0; font-family: var(--font-serif); font-size: 29px; font-weight: 500; }
.course-price { margin: 28px 0 8px; font-family: var(--font-serif); font-size: 30px; }
.course-price small { font-size: 12px; }
.course-goal { margin: 0 0 24px; font-size: 17px; font-weight: 700; }
.course-table ul { margin: 0; padding-left: 18px; color: #6f7779; line-height: 1.9; }

@media (max-width: 900px) {
  .course-table { grid-template-columns: 1fr; }
  .course-table article { border-right: 0; border-bottom: 1px solid #dcd6ce; }
  .course-table article:last-child { border-bottom: 0; }
}
@media (max-width: 600px) {
  .rebuild-school { padding: 56px 0; }
  .course-table article { padding: 30px 22px 34px; }
  .course-table h3 { font-size: 24px; }
  .course-price { font-size: 26px; }
  .course-table ul { font-size: 15px; }
}


/* 10. トップ：学習成果
   ========================================================================== */
.rebuild-outcomes { padding: 110px 0; background: #26363b; color: #fff; }
.rebuild-outcomes .rebuild-heading > p { color: #f09a9d; }
.rebuild-outcomes .rebuild-note { color: #9faeaa; }
.outcome-lines { border-top: 1px solid rgba(255, 255, 255, .2); }
.outcome-lines article {
  display: grid;
  grid-template-columns: 70px 210px 1fr;
  align-items: center;
  gap: 24px;
  padding: 30px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .2);
}
.outcome-lines em { color: #f09a9d; font-family: Georgia, serif; font-style: normal; }
.outcome-lines h3 { margin: 0; font-family: var(--font-serif); font-size: 34px; font-weight: 500; }
.outcome-lines p { margin: 0; color: #cbd3d1; font-size: 17px; line-height: 1.9; }

@media (max-width: 900px) {
  .outcome-lines article { grid-template-columns: 55px 170px 1fr; }
}
@media (max-width: 600px) {
  .rebuild-outcomes { padding: 56px 0; }
  .outcome-lines article { grid-template-columns: 42px 1fr; gap: 8px 12px; padding: 24px 0; }
  .outcome-lines h3 { font-size: 24px; }
  .outcome-lines p { grid-column: 2; font-size: 15px; }
}


/* 11. トップ：JOIN（#join）
   左に文字、右に写真。900px 以下で縦積み。
   ========================================================================== */
.join-v37 { padding: 52px 0; background: var(--color-bg); }
.join-v37-card {
  position: relative;
  display: grid;
  grid-template-columns: 46% 54%;
  max-width: 1160px;
  min-height: 570px;
  overflow: hidden;
  border: 1px solid #e7e1d9;
  border-radius: 5px;
  background: #f7f2ec;
}

.join-v37-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 46px 34px 40px 42px;
}
.join-v37-label {
  margin: 0 0 20px;
  color: var(--color-accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
}

/* 手書き風のひとこと＋下線 */
.join-v37-hand {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  margin: 0 0 17px 5px;
  transform: rotate(-4deg);
  color: #27343b;
  font-family: var(--font-hand);
  font-size: 22px;
  line-height: 1.55;
  letter-spacing: .045em;
}
.join-v37-hand span { position: relative; padding-bottom: 4px; }
.join-v37-hand span:after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--color-pink);
  transform: rotate(-2deg);
  transform-origin: left center;
}

.join-v37-copy h2 {
  margin: 0 0 18px;
  font-family: var(--font-serif);
  font-size: clamp(34px, 3.2vw, 48px);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: .01em;
}
.join-v37-desc { margin: 0 0 24px; color: #697376; font-size: 14px; line-height: 1.85; }
.join-v37-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 300px;
  height: 58px;
  padding: 0 28px;
  border-radius: 999px;
  background: var(--gradient-cta);
  box-shadow: 0 10px 24px rgba(241, 111, 122, .18);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.join-v37-visual {
  position: relative;
  align-self: stretch;
  min-width: 0;
  min-height: 570px;
  overflow: hidden;
  background: #eef3ee;
}
/* 写真の左端を文字側の背景色になじませる */
.join-v37-visual:before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 1;
  width: 25%;
  background: linear-gradient(90deg, #f7f2ec 0%, rgba(247, 242, 236, 0) 100%);
  pointer-events: none;
}
.join-v37-visual img {
  position: absolute;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 58% center;
}

@media (max-width: 900px) {
  .join-v37 { padding: 38px 0; }
  .join-v37-card { grid-template-columns: 1fr; }
  .join-v37-copy { padding: 42px 32px; }
  .join-v37-visual { min-height: 430px; }
  .join-v37-visual:before { display: none; }
}
@media (max-width: 600px) {
  .join-v37 { padding: 28px 0; }
  .join-v37-card { border-radius: 0; }
  .join-v37-copy { padding: 34px 22px 30px; }
  .join-v37-hand { font-size: 18px; }
  .join-v37-copy h2 { font-size: min(26px, 6.5vw); } /* 360px 幅でも「LINEオープンチャットで」を1行に */
  .join-v37-desc { font-size: 13px; }
  .join-v37-btn { width: 100%; min-width: 0; height: 54px; padding: 0 15px; font-size: 13px; }
  .join-v37-visual { min-height: 350px; }
}


/* 12. フッター
   ========================================================================== */
.site-footer { background: #223039; color: #eef2f2; font-size: 14px; }
.footer-grid {
  display: grid;
  grid-template-columns: .85fr 1.35fr 1fr;
  align-items: start;
  gap: 56px;
  padding-top: 58px;
  padding-bottom: 46px;
}
.footer-wordmark {
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 44px;
  line-height: 1;
  letter-spacing: .04em;
}
.footer-brand p { margin: 12px 0 0; color: #bdc7c8; font-size: 13px; letter-spacing: .08em; }
.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 30px;
  padding-top: 3px;
}
.footer-nav a:hover { color: #f18a91; }
.footer-company {
  padding-left: 34px;
  border-left: 1px solid rgba(255, 255, 255, .35);
  color: #dce3e3;
  line-height: 1.9;
}
.footer-company strong { color: #fff; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding-top: 22px;
  padding-bottom: 26px;
  border-top: 1px solid rgba(255, 255, 255, .28);
  color: #aebabc;
  font-size: 12px;
  text-align: center;
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 38px; }
  .footer-nav { grid-row: 1 / span 2; }
  .footer-company { grid-column: 2; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; gap: 30px; padding-top: 44px; padding-bottom: 34px; }
  .footer-wordmark { font-size: 38px; }
  .footer-nav { grid-row: auto; }
  .footer-company {
    grid-column: auto;
    padding: 26px 0 0;
    border-top: 1px solid rgba(255, 255, 255, .25);
    border-left: 0;
  }
}


/* 13. フォームページ（お問い合わせ／オンラインサロン／プライバシーポリシー）
   ========================================================================== */
.aicowa-form-page { padding: 0 0 110px; background: var(--color-bg); }
.aicowa-form-shell { width: min(920px, calc(100% - 40px)); margin: auto; }

.aicowa-form-hero { max-width: 780px; margin: 0 auto 48px; text-align: center; }
.aicowa-form-kicker {
  margin: 0 0 10px;
  color: var(--color-accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .16em;
}
.aicowa-form-hero h1 {
  margin: 0 0 18px;
  font-family: var(--font-serif);
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 500;
  line-height: 1.4;
}
.aicowa-form-hero p { margin: 0; color: #68747b; line-height: 2; }

/* 白いカード（案内・フォーム・完了・プライバシーポリシー） */
.aicowa-guide,
.aicowa-form-card,
.aicowa-complete,
.aicowa-privacy {
  border: 1px solid var(--color-line);
  border-radius: 28px;
  background: #fff;
}
.aicowa-guide,
.aicowa-form-card,
.aicowa-complete { box-shadow: 0 14px 38px rgba(36, 49, 58, .05); }

/* 案内（オンラインサロン） */
.aicowa-guide { margin-bottom: 34px; padding: 38px 42px; }
.aicowa-guide h2 { margin: 0 0 22px; }
.aicowa-guide p { margin: 0 0 15px; line-height: 1.95; }
.aicowa-guide .aicowa-guide-label {
  margin-bottom: 8px;
  color: var(--color-accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
}
.aicowa-guide .aicowa-guide-lead {
  margin-bottom: 30px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--color-line);
}
.aicowa-guide-business h2 { margin-bottom: 16px; font-family: var(--font-serif); font-size: 32px; }
.aicowa-business-block { padding: 25px 0; border-bottom: 1px solid var(--color-line); }
.aicowa-business-block h3 { margin: 0 0 16px; font-size: 18px; }
.aicowa-business-block ol { margin: 0; padding-left: 1.6em; }
.aicowa-business-block li { padding: 5px 0; }
.aicowa-business-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  border: 1px solid var(--color-line);
  background: var(--color-line);
}
.aicowa-business-grid div {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: #fff;
}
.aicowa-business-grid b { color: var(--color-accent); font-size: 13px; letter-spacing: .08em; }
.aicowa-business-grid span { font-weight: 600; }
.aicowa-participation { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 20px; }
.aicowa-participation span {
  padding: 7px 14px;
  border: 1px solid #d8d4cd;
  border-radius: 999px;
  background: var(--color-bg);
  font-size: 13px;
  font-weight: 700;
}

/* フォーム */
.aicowa-form-card { padding: 42px; }
.aicowa-form-card h2 { margin: 0 0 26px; font-size: 28px; }
.aicowa-field { margin-bottom: 22px; }
.aicowa-field label { display: block; margin-bottom: 7px; font-size: 14px; font-weight: 700; }
.aicowa-field .required { margin-left: 5px; color: var(--color-accent); font-size: 12px; }
.aicowa-field input[type=text],
.aicowa-field input[type=email],
.aicowa-field input[type=tel],
.aicowa-field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid #dcd7d0;
  border-radius: 12px;
  background: #fff;
  color: var(--color-text);
  font: inherit;
  outline: none;
}
.aicowa-field textarea { min-height: 180px; resize: vertical; }
.aicowa-field input:focus,
.aicowa-field textarea:focus { border-color: #c98278; box-shadow: 0 0 0 3px rgba(201, 130, 120, .1); }
.aicowa-consent { display: flex; align-items: flex-start; gap: 9px; margin: 25px 0; font-size: 14px; }
.aicowa-consent input { margin-top: 6px; }
.aicowa-consent a { color: #a85e5b; text-decoration: underline; }
.aicowa-submit {
  min-width: 290px;
  padding: 16px 34px;
  border: 0;
  border-radius: 999px;
  background: var(--gradient-form);
  box-shadow: 0 10px 24px rgba(201, 130, 120, .22);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  appearance: none;
}
.aicowa-submit:hover { opacity: .92; }
.aicowa-alert { margin-bottom: 24px; padding: 16px 20px; border-radius: 16px; font-weight: 700; }
.aicowa-alert.error { border: 1px solid #f0cece; background: #fff1f1; color: #9b4545; }

/* ボット対策の隠し入力欄（画面外に出す） */
.aicowa-honeypot { position: absolute; left: -9999px; }

/* 送信完了 */
.aicowa-complete { padding: 48px; text-align: center; }
.aicowa-complete h1 { margin: 0 0 18px; font-family: var(--font-serif); font-size: 38px; font-weight: 500; }
.aicowa-complete p { line-height: 2; }
.aicowa-line-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 22px;
  padding: 17px 30px;
  border-radius: 999px;
  background: var(--gradient-form);
  color: #fff;
  font-weight: 800;
}

/* プライバシーポリシー */
.aicowa-privacy { padding: 42px; }
.aicowa-privacy h2 { margin: 34px 0 10px; font-size: 22px; }
.aicowa-privacy p,
.aicowa-privacy li { color: #536068; line-height: 1.95; }
.aicowa-privacy ul { padding-left: 1.3em; }

@media (max-width: 600px) {
  .aicowa-form-page { padding: 32px 0 75px; } /* 見出しがヘッダーに貼りつかないように */
  .aicowa-form-shell { width: min(100% - 28px, 920px); }
  .aicowa-guide,
  .aicowa-form-card,
  .aicowa-complete,
  .aicowa-privacy { padding: 27px 22px; border-radius: 20px; }
  .aicowa-guide-business h2 { font-size: 26px; }
  .aicowa-business-grid { grid-template-columns: 1fr; }
  .aicowa-submit { width: 100%; min-width: 0; }
  .aicowa-complete h1 { font-size: 30px; }
}
\n/* Turnstile for AICOWA custom forms */\n.aicowa-turnstile{margin:18px 0 20px;min-height:65px;}\n