/* =======================================
   Global tokens
======================================= */
:root {
  --brand: #003a7c;
  --brand-bg: #c5e6e6;
  --accent: #F1B24A;
  --ink: #444;
  --ink-sub: #666;
  --white: #fff;
  --radius: 16px;
  --shadow: 0 10px 20px rgba(0,0,0,.07);
}

html, body { margin:0; padding:0; }
body {
  font-family: "Noto Sans JP","Yu Gothic",YuGothic,Meiryo,sans-serif;
  color: var(--ink);
  line-height: 1.8;
  letter-spacing: .02em;
  background: #fff;
}
section { padding: 56px 20px; }
.wrap { max-width: 1120px; margin: 0 auto; }

h1, h2, h3 { line-height: 1.35; letter-spacing: .02em; margin: 0 0 50px; }
h1 { font-size: clamp(28px,4vw,40px); }
h2 { font-size: clamp(22px,3vw,30px); }
h3 { font-size: clamp(18px,2.4vw,22px); }

.lead { font-size: clamp(16px,2.2vw,20px); color: var(--white); opacity: .96; }
.pill { display:inline-block; padding:6px 12px; border-radius:999px; background:var(--brand-bg); color: var(--brand);; font-weight:700; font-size:.9rem; }
.muted{ color: var(--ink-sub); }
.accent{ color: var(--brand); }

/* =======================================
   Buttons
======================================= */
.btn{ display:inline-block; padding:14px 22px; border-radius:999px; font-weight:700; text-decoration:none; transition:.2s ease; box-shadow:var(--shadow); }
.btn-primary{ background:var(--accent); color:#111; }

.btn-outline{ 
/*background:transparent; */
background:#317e76; 
color:#fff; 
border:2px solid #fff; 
}
.btn-primary:hover{ filter:brightness(.95); }
.btn-outline:hover{ background:rgba(255,255,255,.12); }

/* =======================================
   Cards & grids (neutral defaults)
======================================= */
.card{ background:#fff; border-radius: var(--radius); box-shadow: var(--shadow); padding:22px; }
.grid-2{ display:grid; grid-template-columns:1fr; gap:18px; }
@media(min-width:860px){ .grid-2{ grid-template-columns:1fr 1fr; } }
.grid-3{ display:grid; grid-template-columns:1fr; gap:18px; }
@media(min-width:960px){ .grid-3{ grid-template-columns:repeat(3,1fr); } }

.list-dot{ list-style: disc; padding-left: 1.25em; margin: 0; }
.list-dot li{ margin:.45em 0; line-height:1.8; color:#555; }

/* =======================================
   Tables/badges
======================================= */
.table{ width:100%; border-collapse:separate; border-spacing:0; overflow:hidden; border-radius:var(--radius); box-shadow:var(--shadow); }
.table th, .table td{ padding:14px 16px; border-bottom:1px solid #e9f1f1; vertical-align:top; background:#fff; }
.table th{ width:28%; background:#f7fbfb; font-weight:700; }
.badge{ display:inline-block; padding:4px 10px; border-radius:999px; background: var(--brand-bg); border:1px solid #d8efee; color: var(--brand); font-size:.85rem; }

/* =======================================
   Soft section bg
======================================= */
.section-soft{ background: var(--brand-bg); }

/* =======================================
   Curriculum (scoped enhancements)
======================================= */
#curriculum .card{ padding:28px; transition: transform .2s ease, box-shadow .2s ease; }
#curriculum .card:hover{ transform: translateY(-4px); box-shadow: 0 14px 24px rgba(0,0,0,.08); }
#curriculum .list-dot li{ line-height:1.9; margin:10px 0; }
#curriculum .lesson-title{ text-align:center; line-height:1.8; margin-bottom:20px; font-weight:700; color:#333; }
#curriculum .lesson-title .accent{ display:block; color:var(--brand); font-weight:700; font-size:1.1em; margin-top:6px; }
/* fallback: if .lesson-title class not used, still break line for span.accent */
#curriculum h3 .accent{ display:block; color:var(--brand); font-weight:700; }

/* =======================================
   Value (keep calm spacing)
======================================= */
#value .card{ padding:22px; }
#value p, #value li{ line-height:1.8; }

/* =======================================
   Perks (keep calm spacing)
======================================= */
#perks .card{ padding:22px; }
#perks p, #perks li{ line-height:1.8; }

/* =======================================
   Voices (fix quote symbol via Unicode escape)
======================================= */
.voices-grid{ display:grid; grid-template-columns:1fr; gap:18px; }
@media(min-width:960px){ .voices-grid{ grid-template-columns:repeat(3,1fr); } }
.voice{ background:#fff; border-radius:16px; box-shadow:var(--shadow); padding:18px; display:flex; flex-direction:column; gap:12px; }
.voice-head{ display:flex; align-items:center; gap:12px; }
.voice-head img{ width:56px; height:56px; border-radius:50%; border:3px solid #d8efee; background:#fff; object-fit:cover; }
.voice-name{ font-weight:700; }
.voice-role{ font-size:.95rem; color:#666; }
.voice-quote{ font-size:1rem; color:#333; position:relative; padding-left:28px; }
.voice-quote:before{ content:"\201C"; position:absolute; left:0; top:-10px; font-size:40px; color: var(--brand-bg); line-height:1; }
.stars{ color:#F1B24A; letter-spacing:2px; }

/* =======================================
   FAQ (accordion)
======================================= */
#faq .accordion{ max-width:900px; margin:0 auto; }
#faq details{ background:#fff; border-radius:12px; box-shadow:var(--shadow); padding:14px 18px; margin:12px 0; }
#faq summary{ cursor:pointer; font-weight:700; outline:none; list-style:none; }
#faq summary::-webkit-details-marker{ display:none; }
#faq summary::after{ content:"+"; float:right; color:#1a6a6b; font-weight:900; }
#faq details[open] summary::after{ content:"-"; }
#faq .faq-a{ margin:8px 0 0; color:#666; }

/* =======================================
   Hero
======================================= */
/*.hero{ background:linear-gradient(135deg,var(--brand) 0%, #5DD0D2 100%); color:#fff; text-align:center; }
.hero-img{ max-width:920px; margin:22px auto 0;*/
/* border-radius:var(--radius);*/
/* box-shadow:var(--shadow); width:100%; height:auto; }*/

/* PC・タブレットの基本 */
.hero-bg {
  width: 100%;            /* 画面いっぱい */
  background-color: #317d79;
}


.hero {
  position: relative;
  background-color: #317d79;
  background-image: url("https://supporter.jkda.or.jp/wp-content/themes/xeory_base_child/html/images/header_main1.png");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;

  width: 100%;
  max-width: 1200px;
  margin: 0 auto;

  /* ヒーローの縦サイズをここで管理 */
  min-height: 720px;
  max-height: 1100px;

  /* 下に少し余白を作っておく */
  padding: 0 20px 80px;
  box-sizing: border-box;

  color: #fff;

  /* 中身（.wrap）を下寄せするために flex を使う */
  display: flex;
  align-items: flex-end;   /* 下寄せ */
  justify-content: center; /* 横中央 */
}

/* ボタンを包んでいる .wrap のスタイル */
.hero .wrap {
  width: 100%;
  max-width: 1000px;
  text-align: center;
  /*max-height: 720px;*/
}

/* スマホ（横幅768px以下）のとき */
@media (max-width: 768px) {
section {
 .padding:0px !important;
}

 /* 背景画像の箱（スマホ用） */
  .hero {
    position: relative;
    background-size: contain;       /* 画像を切らずに表示 */
    background-position: top center;
    background-repeat: no-repeat;

    /* PC側の min-height:720px を上書きして、白い余白を縮める */
    min-height: 260px;
    max-height: 260px;

    padding: 0;
  }

  /* ボタンを画像の中に「少し上め」に配置 */
  .hero .wrap {
    position: absolute;
    left: 50%;
    /*bottom: 120px;*/                  /* ★ ここで高さを調整（今より上に上がります） */
    transform: translateX(-50%);
    max-width: 100%;
    text-align: center;
  }
}
/* =======================================
   Responsive tweaks
======================================= */
@media (max-width:640px){
  section{ padding:42px 16px; }
  #curriculum .card{ padding:22px; }
  .list-dot{ padding-left:1.1em; }
}

/* =======================================
   Center pill & h2 inside .wrap
======================================= */
.wrap > .pill,
.wrap > h2,
h3,
.voice-head,
.stars,
p{
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* =======================================
   ADD: Centering for #why section
======================================= */
#why .wrap{ text-align:center; }
#why h2{ text-align:center; margin-top:8px; }
#why .pill{ display:inline-block; }
#why p{ text-align:center; margin-left:auto; margin-right:auto; max-width:1000px; }



/* 親をセンター配置 */
#details .wrap {
  text-align: center;
}

/* リスト本体は左揃えを維持 */
.flow-wrap {
  text-align: center;
}
.flow-wrap ol.steps {
  display: inline-block;
  text-align: left;
  padding-left: 1.5rem;
}

/* お問い合わせボタン */
.btn-contact {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  padding: 10px 28px;
  border-radius: 50px;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.25s, transform 0.15s;
  box-shadow: 0 3px 10px rgba(67, 176, 177, 0.25);
}

.btn-contact:hover {
  background: #369c9d; /* 少し濃いエメラルド */
  transform: translateY(-2px);
}

/*サブタイトル上の小さい文字*/
.wrap .title1{
padding-top:50px !important;
padding-bottom:0px !important;
margin-bottom:0px !important;
font-size:18px;
}

/*メインタイトル文字*/
.wrap .title2{
padding-top:10px !important;
}

.arrow01 {
  display: block;
  text-align: center;
  /* 以下を追加・変更 */
  width: 100vw;             /* 幅を画面幅いっぱいに設定 */
  margin-left: calc(50% - 50vw);  /* 左側のマージンを計算して画面端に合わせる */
  margin-right: calc(50% - 50vw); /* 右側のマージンを計算して画面端に合わせる */
  max-width: none;          /* 親要素などの最大幅制限を解除 */
}

#qa{
padding-bottom:0px !important;
}
/* 画像自体もコンテナ幅いっぱいに広げる */
.arrow01 img {
  width: 100%;
  height: auto;
  display: block; /* 画像下のわずかな隙間をなくすため */
}


/* チェックリストセクションのデザイン（サイトカラー調整版） */
#checklist-section {
  padding: 60px 0;
  /* セクション自体の背景は白、またはサイトの構成に合わせて変更可 */
  background-color: #fff; 
}

/* コンテンツを囲むボックス */
.checklist-container {
  /* ベージュ(#fcf9f5)から、サイトに合う淡いミントブルーに変更 */
  background-color: #f2fafd; 
  padding: 40px;
  max-width: 800px;
  margin: 0 auto;
  border-radius: 8px; /* 角丸を少し強めて柔らかく */
  box-sizing: border-box;
  /* ほんのり影をつけて浮き上がらせる */
  box-shadow: 0 4px 12px rgba(0, 140, 149, 0.1);
}

/* タイトル */
.checklist-title {
  text-align: center;
  font-size: 26px;
  font-weight: bold;
  color: #333;
  margin-bottom: 30px;
  line-height: 1.4;
}

/* リスト全体 */
.checklist-box {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* 個別のリストアイテム */
.check-item {
  display: flex;
  align-items: flex-start;
  padding: 20px 0;
  /* 下線をグレーから淡いブランド色に変更して馴染ませる */
  border-bottom: 1px solid #dcefee; 
}

.check-item:first-child {
  border-top: 1px solid #dcefee;
}

/* チェックアイコンのボックス */
.check-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  /* エンジ色からブランドカラー（ティール）に変更 */
  /* front.phpで使用されている変数を使用、未定義なら#008c95 */
  background-color: var(--brand, #008c95); 
  border-radius: 50%; /* 四角から丸に変更して「優しさ」を表現（お好みで4pxに戻せます） */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  margin-top: 4px;
}

/* アイコン（SVG） */
.check-icon svg {
  width: 18px;
  height: 18px;
  stroke: #fff;
}

/* テキスト部分 */
.check-text {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  line-height: 1.6;
}

/* 「傾聴とは？」などのラベル部分 */
.check-label {
  display: block;
  font-size: 14px;
  /* エンジ色からブランドカラーに変更 */
  color: var(--brand, #008c95);
  font-weight: normal;
  margin-bottom: 4px;
}

/* 下部の警告メッセージ */
.checklist-alert {
  margin-top: 30px;
  text-align: center;
  font-weight: bold;
  /* 赤系ではなく、落ち着いたグレーまたは強調色の背景に */
  background: #fff;
  border: 2px solid #eee;
  color: #333;
  padding: 15px;
  border-radius: 8px;
}

/* スマホ対応（レスポンシブ） */
@media screen and (max-width: 768px) {
  .checklist-container {
    padding: 20px;
  }
  .checklist-title {
    font-size: 20px;
  }
  .check-text {
    font-size: 16px;
  }
  .check-icon {
    width: 28px;
    height: 28px;
    margin-right: 10px;
  }
  .check-icon svg {
    width: 16px;
    height: 16px;
  }
}