@charset "UTF-8";
/* =========================================================
   セミナーLP「世界的問題となったPHPの脆弱性」
   スマホファースト（min-width）／ブレークポイント 360・390・768・1024・1440
   ========================================================= */

/* ---------- 変数 ---------- */
:root {
  --color-navy: #003a80;
  --color-navy-dark: #0a2b63;
  --color-blue: #1a6fe0;
  --color-blue-light: #eef5fd;
  --color-red: #e8423a;
  --color-red-dark: #c8201b;
  --color-yellow: #ffe000;
  --color-orange: #ffb100;
  --color-text: #111;
  --color-border: #d9e3ef;
  --color-white: #fff;

  --font-base: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --font-num: "Inter", "Noto Sans JP", sans-serif;

  --container: 670px;
  --gutter: 20px;
  --space-section: 64px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 40px;

  --shadow-box: 0 4px 16px rgba(0, 40, 100, .12);
  --grad-btn: linear-gradient(90deg, var(--color-yellow) 0%, var(--color-orange) 100%);
}

@media (min-width: 768px) {
  :root {
    --gutter: 32px;
    --space-section: 96px;
  }
}

/* ---------- リセット ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-base);
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: 0;
  color: var(--color-text);
  background: var(--color-white);
  overflow-x: hidden;
}
h1, h2, h3, p, ol, ul, dl, dd, figure, table, fieldset { margin: 0; padding: 0; }
ol, ul { list-style: none; }
fieldset { border: 0; min-width: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
/* WordPressテーマのreset.css（見出し・em・strong・thを細字にする）を打ち消す */
h1, h2, h3, h4, strong, b, th { font-weight: 700; }
em { font-style: italic; font-weight: inherit; }
button, input { font: inherit; color: inherit; }

/* ---------- ページ全体 ----------
   セクションは画面幅いっぱいに表示する（カンプ画像の左右の白枠は書き出し時の余白）。
   PCは964px幅のカンプを基準にレイアウトし、画面幅に比例して全体を拡大・縮小する
   （--lp-zoom = 画面幅 / 964 を script.js で設定。段階的な切り替えをなくし、幅を変えても連続して伸び縮みさせる） */
@media (min-width: 768px) {
  main.main { zoom: var(--lp-zoom, 1); }
}

/* SP：カンプに合わせてセクションの並び順を変える
   （section03の見出し → CTA1 → section03本文 → section04 → CTA2 → 講師紹介 → CTA3 → 開催概要…） */
@media (max-width: 767px) {
  main.main { display: flex; flex-direction: column; }
  main.main > .section03 { display: contents; }
  .section01 { order: 1; }
  .section02 { order: 2; }
  .section03__head { order: 3; padding-top: 32px; }
  .cta--01 { order: 4; }
  .feature { order: 5; }
  .section04 { order: 6; }
  .cta--02 { order: 7; }
  .section05 { order: 8; }
  .cta--03 { order: 9; }
  .section06 { order: 10; }
  .section07 { order: 11; }
  .section08 { order: 12; }
}

/* ---------- ユーティリティ ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.pc-only { display: none; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
@media (min-width: 768px) {
  .pc-only { display: inline; }
  .sp-only { display: none; }
}

/* 区切りの縦線 */
.v-line {
  display: block;
  width: 2px;
  height: 24px;
  margin: var(--space-md) auto 0;
  background: var(--color-navy);
}
.v-line--white { background: var(--color-white); }

/* ---------- 開催日表記（共通） ---------- */
.date {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  column-gap: .3em;
  font-family: var(--font-num);
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.4;
}
.date__year { font-size: 14px; }
.date__day { font-size: 22px; }
.date__week { font-family: var(--font-base); font-size: 13px; margin-right: .2em; }
.date__time { font-size: 17px; }
.date__place {
  flex-basis: 100%;
  text-align: center;
  font-family: var(--font-base);
  font-size: 13px;
}
.date__dot {
  display: inline-block;
  width: 1px;
  height: 12px;
  margin: 0 .6em;
  overflow: hidden;
  color: transparent;
  vertical-align: middle;
  background: var(--color-navy);
}
.date--white { color: var(--color-white); }

@media (min-width: 768px) {
  .date__year { font-size: 16px; }
  .date__day { font-size: 26px; }
  .date__week { font-size: 14px; }
  .date__time { font-size: 21px; }
  .date__place {
    flex-basis: auto;
    font-size: 21px;
    padding-left: .5em;
    margin-left: .3em;
    border-left: 1px solid currentColor;
    line-height: 1.1;
  }
  .date__dot {
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    color: inherit;
    vertical-align: baseline;
    background: none;
  }
}

/* ---------- ボタン（共通） ---------- */
.btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 540px;
  min-height: 52px;
  margin-inline: auto;
  padding: 10px 40px 10px 28px;
  border: 0;
  border-radius: 999px;
  background: var(--grad-btn);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1), 0 0 0 3px var(--color-white), 3px 5px 0 3px rgba(0, 0, 0, .1); /* デザインの見た目に合わせたインナーシャドウ／線 白3px外側／ドロップシャドウ X3 Y5 黒10% */
  color: var(--color-text);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}
.btn::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 22px;
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.btn:hover {
  transform: translateY(2px);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1), 0 0 0 3px var(--color-white), 1px 2px 0 3px rgba(0, 0, 0, .1);
}
@media (min-width: 768px) {
  .btn { min-height: 68px; padding-inline: 56px; font-size: 18px; }
  .btn::after { right: 28px; width: 10px; height: 10px; }
}

/* 画像ボタン（btn-pc / btn-sp） */
.btn-img {
  display: block;
  width: 100%;
  max-width: 540px;
  margin-inline: auto;
  transition: transform .2s, opacity .2s;
}
.btn-img img { width: 100%; }
.btn-img:hover { transform: translateY(2px); opacity: .9; }

/* ---------- CTAブロック（共通） ---------- */
.cta {
  padding: var(--space-lg) var(--gutter);
}
.cta__box {
  max-width: var(--container);
  margin-inline: auto;
  padding: 24px 16px 28px;
  /* 枠・角丸・影はデザインデータの数値（線 #D4E1ED 5px 外側／角丸16／ドロップシャドウ 0 0 30px #000 20%）。
     外側の線は box-shadow の広がりで描く（角丸に沿い、箱の内側の寸法は変えない）。
     背景は支給画像（cta-bg）の内側（周囲60pxの影を除いた部分）を箱いっぱいに敷く */
  border-radius: 16px;
  background: #f4f8fb url("../img/cta-bg.webp") center / 107.2% 116.5% no-repeat; /* 画像の影と枠線を箱の外に逃がす */
  box-shadow: 0 0 0 5px #d4e1ed, 0 0 30px rgba(0, 0, 0, .2);
  text-align: center;
}
.cta__catch {
  color: var(--color-red);
  font-size: 17px;
  font-weight: 900;
  font-style: italic;
  line-height: 1.45;
}
.cta__catch--date { font-size: 19px; }
/* 見出しが画像のCTA */
.cta__catch--img img {
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
}
.cta__catch .small { font-size: .7em; }
.cta__text {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
}
.cta .date {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 2px solid var(--color-navy);
}
.cta .btn { margin-top: 16px; }

@media (min-width: 768px) {
  .cta { padding-block: 48px; }
  .cta__box { padding: 44px 64px 48px; }
  .cta__catch { font-size: 24px; }
  .cta__catch--date { font-size: 28px; }
  .cta__text { font-size: 12px; }
  .cta .date { margin: 14px 40px 0; }
  .cta .btn { margin-top: 20px; }
}

/* ---------- セクション見出し（講師紹介・開催概要・FAQ） ---------- */
.sec-title {
  position: relative;
  text-align: center;
  line-height: 1;
}
.sec-title__en {
  display: block;
  font-family: var(--font-num);
  font-size: 48px;
  font-weight: 800;
  color: rgba(0, 58, 128, .07);
  letter-spacing: .02em;
}
.sec-title__ja {
  position: relative;
  display: block;
  margin-top: -24px;
  font-size: 26px;
  font-weight: 900;
  font-style: italic;
}
@media (min-width: 768px) {
  .sec-title__en { font-size: 72px; }
  .sec-title__ja { margin-top: -34px; font-size: 30px; }
}

/* =========================================================
   section01：ファーストビュー
   画像（タイトル・講師写真入り）を敷き、開催情報ボックスを重ねる
   ========================================================= */
.section01 {
  display: grid;
  overflow: hidden;
  background: #3d8ef5;
}
.section01__visual,
.section01__info {
  grid-area: 1 / 1;
}
.section01__visual img {
  width: 100%;
  height: auto;
}
.section01__info {
  position: relative;
  z-index: 1;
  align-self: end;
  width: calc(100% - var(--gutter) * 2);
  max-width: 590px;
  margin: 0 auto 6%;
  padding: 14px 14px 18px;
  border: 5px solid #d4e1ed;
  border-radius: 16px;
  background: var(--color-white); /* SPは透過なし */
  box-shadow: 0 0 30px rgba(0, 0, 0, .1);
  text-align: center;
}
.section01__meta {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 700;
}
.section01__teacher { display: block; font-size: 11px; }
.section01__info .btn-img { margin-top: 10px; }

@media (min-width: 768px) {
  .section01__info {
    background: rgba(255, 255, 255, .8); /* PCはデザインどおり白80% */
    width: 61%;
    margin-bottom: 1.9%; /* デザインの下余白に合わせる */
    padding: 6px 24px 8px;
  }
  .section01__teacher { display: inline; margin-left: 2.5em; }
  .section01__info .btn-img { max-width: 500px; margin-top: 2px; }
}



/* 「Zoom開催｜参加無料」の区切り */
.sep::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 1em;
  margin: 0 .5em;
  vertical-align: -.15em;
  background: currentColor;
}


/* =========================================================
   section02：お悩み
   ========================================================= */
.section02 {
  --chevron: 48px;
  position: relative;
  z-index: 0;
  padding-bottom: 8px;
  color: var(--color-white);
}
/* SP：見出し部分だけに下向き矢印型の紺背景を敷く */
.section02__head {
  margin-inline: calc(var(--gutter) * -1);
  padding: 32px var(--gutter) 0;
  aspect-ratio: 2960 / 2600;
  /* 支給画像の左右の透明な余白をはみ出させ、矢印の先端を中央に残す */
  background: url("../img/section02-bg.webp") center bottom / 160% auto no-repeat;
}
/* 下向き矢印型の紺背景 */
.section02::before {
  content: none;
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("../img/section02-bg.webp") center top / 100% auto no-repeat;
}
.section02__title {
  font-size: 24px;
  font-weight: 900;
  line-height: 1.45;
  text-align: center;
}
.section02__title em { display: inline-block; }
@media (max-width: 767px) {
  .section02__title { font-size: 22px; }
  .section02__title em { font-style: normal; }
}
.worry-list {
  display: grid;
  gap: 20px;
  max-width: 300px;
  margin: 24px auto 0;
}
.worry-card {
  background: var(--color-white);
  color: var(--color-text);
  box-shadow: 0 0 20px rgba(0, 0, 0, .25); /* デザイン値：ぼかし20／#000 25% */
}
.worry-card img { width: 100%; aspect-ratio: 218 / 132; object-fit: cover; }
.worry-card p {
  padding: 24px 12px 28px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
}
@media (min-width: 768px) {
  /* 背景画像の比率を最低の高さにして、矢印の先まで表示する */
  /* 支給画像の周囲40pxは透明な影。影を枠外に逃がし、紺の部分を画面いっぱい（上下左右の余白なし）に表示する */
  .section02 {
    overflow: hidden;
    aspect-ratio: 2880 / 1542;
    padding: 3.1% 0 0;
  }
  .section02::before {
    content: "";
    inset: 0 -1.39% auto;
    margin-top: -1.39%;
    aspect-ratio: 2960 / 1622;
    background-size: 100% 100%;
  }
  .section02__head {
    margin-inline: 0;
    padding: 0;
    aspect-ratio: auto;
    background: none;
  }
  .section02__title { font-size: 24px; }
  .section02__title em { font-size: 28px; }
  .worry-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    max-width: var(--container);
    margin-top: 36px;
  }
  .worry-card p { padding: 22px 8px 28px; font-size: 12px; }
}
@media (min-width: 768px) {
  .section02__title { font-size: 26px; }
  .section02__title em { font-size: 30px; }
}

/* =========================================================
   section03：PHP・AIの問題
   ========================================================= */
.section03 { padding-top: var(--space-md); overflow: hidden; }
@media (min-width: 768px) {
  .section03 { padding-top: 16px; }
  .section03 .section03__title { font-size: 28px; }
  .section03 .section03__lead { margin-top: 20px; font-size: 14px; }
}
@media (min-width: 768px) {
  .section03 .section03__title { font-size: 32px; }
}
.section03__head { text-align: center; }
.section03__title {
  font-size: 21px;
  font-weight: 900;
  font-style: italic;
  line-height: 1.6;
}
.marker {
  color: var(--color-navy);
  background: linear-gradient(transparent 62%, var(--color-yellow) 62%);
}
.section03__lead {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 700;
}

.feature {
  position: relative;
  margin-top: var(--space-lg);
  padding: 32px var(--gutter);
}
.feature__img {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .35;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
}
.feature__img img { width: 100%; height: 100%; object-fit: cover; }
.feature__body {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin-inline: auto;
}
.feature__title {
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-navy);
  color: var(--color-navy);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.4;
}
.feature__text {
  margin-top: 16px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.75;
}


@media (min-width: 768px) {
  .feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    margin-top: 48px;
    padding: 0;
  }
  /* 支給画像は斜めの切り抜き・淡い色が入っているので、そのままの比率で表示する（切り抜き・透過はかけない） */
  .feature__img {
    position: relative;
    inset: auto;
    opacity: 1;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .feature .feature__img img { height: auto; object-fit: initial; }
  .feature__body { margin: 0; padding: 24px 0; }
  /* 左に写真：写真は左半分、本文は40%の位置から写真の斜め部分に少し重ねる */
  .feature--left { grid-template-columns: 40% 10% 1fr; }
  .feature--left .feature__img { grid-column: 1 / 3; grid-row: 1; }
  .feature--left .feature__body { grid-column: 2 / 4; grid-row: 1; max-width: 440px; }
  /* 右に写真：本文の左端をコンテンツ幅（670px）の左端に揃える */
  .feature--right { grid-template-columns: 1fr 50%; }
  .feature--right .feature__img { grid-column: 2; grid-row: 1; }
  .feature--right .feature__body {
    grid-column: 1 / 3;
    grid-row: 1;
    padding-left: max(var(--gutter), calc(50% - 335px));
  }
  .feature--right .feature__body > * { max-width: 410px; }
  .feature__title { font-size: 26px; padding-bottom: 20px; }
  .feature__text { margin-top: 24px; font-size: 11px; line-height: 1.85; }
  .feature__text br { display: inline; }
}


/* =========================================================
   section04：セミナーで学べること
   ========================================================= */
.section04 {
  overflow: hidden;
  padding: 48px 0 56px;
  background: #f3f8fe url("../img/section04-bg.webp") center top / cover no-repeat;
}
.section04__title {
  font-size: 24px;
  font-weight: 900;
  line-height: 1.45;
  text-align: center;
}
.section04__title .accent { color: var(--color-navy); }
.section04__title em { display: inline-block; }
.section04__lead {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}
.point-list {
  display: grid;
  gap: 56px;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 56px auto 0;
  padding-inline: var(--gutter);
}
.point-card__img { position: relative; }
/* 写真うしろの紺色ブロック */
.point-card__img::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -16px;
  left: -50vw;
  right: 4%;
  bottom: 26%;
  background: var(--color-navy);
}
.point-card--reverse .point-card__img::before { left: 4%; right: -50vw; }
.point-card__img img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 299 / 180;
  object-fit: cover;
}
.point-card__num {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-family: var(--font-num);
  font-size: 12px;
  font-weight: 800;
  color: var(--color-navy);
}
.point-card__num::before {
  content: "";
  flex: 1;
  height: 2px;
  background: var(--color-navy);
}
.point-card__num span { font-size: 18px; margin-left: -4px; }
.point-card__title {
  margin-top: 8px;
  color: var(--color-navy);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.45;
}
.point-card__text {
  margin-top: 16px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.75;
}
@media (min-width: 768px) {
  .section04 { padding: 50px 0 52px; }
  .section04__lead { margin-top: 6px; font-size: 14px; }
  .section04__title { font-size: 24px; }
  .section04__title em { font-size: 28px; }
  .point-list { gap: 72px; margin-top: 56px; }
  .point-card {
    display: grid;
    grid-template-columns: 300fr 370fr;
    column-gap: 36px;
    align-items: start;
  }
  .point-card--reverse { grid-template-columns: 300fr 300fr; }
  .point-card--reverse .point-card__img { order: 2; }
  .point-card__img::before { top: -40px; right: 15%; bottom: 18%; }
  .point-card--reverse .point-card__img::before { left: 15%; }
  .point-card__num { margin-top: 0; font-size: 11px; }
  .point-card__num span { font-size: 16px; }
  .point-card__title { margin-top: 12px; font-size: 19px; }
  .point-card__text { font-size: 11px; }
}
@media (min-width: 768px) {
  .point-card__title { font-size: 21px; }
}

/* =========================================================
   section05：講師紹介
   ========================================================= */
.section05 { padding: var(--space-md) 0 var(--space-section); }
@media (min-width: 768px) {
  .section05 { padding: 0 0 52px; }
}
.speaker-list {
  display: grid;
  gap: 40px;
  margin-top: 40px;
}
.speaker-card__img img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.speaker-card__body {
  padding: 24px 20px 32px;
  color: var(--color-white);
  background: var(--color-navy);
}
.speaker-card__name { font-size: 20px; font-weight: 700; line-height: 1.4; }
.speaker-card__role {
  margin-top: 4px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--color-white);
  font-size: 14px;
  font-weight: 700;
}
.speaker-card__text { margin-top: 16px; font-size: 13px; line-height: 1.75; font-weight: 700; }


@media (min-width: 768px) {
  .speaker-list { gap: 40px; margin-top: 28px; }
  .speaker-card {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 252px;
    padding-top: 28px;
  }
  /* うしろの細い枠線 */
  .speaker-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 23%;
    right: 4%;
    bottom: 100px;
    border: 1px solid var(--color-navy);
    pointer-events: none;
  }
  .speaker-card__body {
    position: relative;
    grid-column: 1 / 3;
    grid-row: 1;
    margin-right: 164px;
    padding: 44px 124px 48px 30px;
    min-height: 335px;
  }
  .speaker-card__img {
    position: relative;
    z-index: 1;
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    max-width: none;
    margin: 42px 0 0;
  }
  .speaker-card__name { font-size: 20px; }
  .speaker-card__role { margin-top: 12px; padding-bottom: 20px; font-size: 15px; }
  .speaker-card__text { font-size: 10.5px; margin-top: 20px; }
}

/* =========================================================
   section06：開催概要
   ========================================================= */
.section06 {
  padding: 40px 0 8px;
  background: #f5f9fd url("../img/section06-bg.webp") center top / cover no-repeat;
}
.summary-table {
  width: 100%;
  margin-top: 28px;
  border-collapse: collapse;
  background: var(--color-white);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
  text-align: left;
}
.summary-table thead th {
  padding: 12px 16px;
  background: var(--color-navy);
  color: var(--color-white);
}
.summary-table tbody th,
.summary-table td {
  padding: 16px;
  border: 1px solid var(--color-border);
  border-inline: 0;
  vertical-align: top;
}
.summary-table tbody th { width: 30%; white-space: nowrap; }
.summary-table tr { border-inline: 1px solid var(--color-border); }
@media (min-width: 768px) {
  .section06 { padding: 48px 0 8px; }
  .summary-table { font-size: 12px; }
  .summary-table thead th, .summary-table tbody th, .summary-table td { padding: 16px 20px; }
  .summary-table tbody th { width: 84px; }
}

/* =========================================================
   section07：よくある質問
   ========================================================= */
.section07 { padding: 40px 0 var(--space-section); }
.faq-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}
.faq-item__q {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  padding: 10px 44px 10px 16px;
  border: 0;
  background: var(--color-navy);
  color: var(--color-white);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  text-align: left;
  cursor: pointer;
}
.faq-item__q::before {
  content: "Q.";
  flex-shrink: 0;
  font-family: var(--font-num);
  font-size: 18px;
  font-weight: 800;
}
.faq-item__q::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 20px;
  width: 6px;
  height: 6px;
  border-top: 1.5px solid currentColor;
  border-left: 1.5px solid currentColor;
  transform: translateY(-25%) rotate(225deg);
  transition: transform .2s;
}
.faq-item.is-open .faq-item__q::after { transform: translateY(-25%) rotate(45deg); }
.faq-item__a {
  display: none;
  padding: 14px 16px 16px;
  background: var(--color-blue-light);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
}
.faq-item.is-open .faq-item__a { display: block; }
@media (min-width: 768px) {
  .faq-item__q { padding-left: 16px; font-size: 14px; }
  .faq-item__a { padding: 12px 56px 12px 48px; font-size: 14px; }
}

/* =========================================================
   section08：お申込み
   ========================================================= */
.section08 { overflow-x: clip; background: #f2f7fd; }
.section08__band {
  position: relative;
  z-index: 1;
  margin-inline: 20px;
  padding: 24px 16px 28px;
  color: var(--color-white);
  text-align: center;
}
/* 背景は支給画像（周囲60pxが影）。9分割（border-image）はSafariで継ぎ目の線が出るため、
   1枚のまま帯に合わせて伸ばし、影の部分だけ帯の外側にはみ出させる */
.section08__band::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -9.46%;
  bottom: -9.62%;
  left: -2.08%;
  right: -2.12%;
  background: url("../img/section08-band-bg.webp") center / 100% 100% no-repeat;
}
@media (min-width: 768px) {
  .section08 .section08__band { margin-inline: 0; } /* PCも画面幅いっぱい */
}
.section08__catch { font-size: 17px; font-weight: 900; font-style: italic; line-height: 1.45; }
.section08__text {
  margin-top: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-white);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
}
.section08__band .date { margin-top: 10px; }
.section08__meta { font-size: 12px; font-weight: 700; }
.section08__body { padding: 28px var(--gutter) 48px; }

.entry-form {
  max-width: 500px;
  margin-inline: auto;
  padding: 28px 16px 32px;
  border: 1px solid var(--color-border);
  background: var(--color-white);
}
.entry-form__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
}
.entry-form__title em {
  color: var(--color-navy);
  font-size: 26px;
  font-weight: 900;
}
.entry-form__lead {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #eef1f5;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}
.form { margin-top: 20px; }
.form__row + .form__row { margin-top: 18px; }
.form__label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
}
.form__required {
  padding: 1px 6px;
  border-radius: 2px;
  background: var(--color-red);
  color: var(--color-white);
  font-size: 11px;
  line-height: 1.5;
}
.form__input {
  width: 100%;
  height: 40px;
  margin-top: 8px;
  padding: 6px 10px;
  border: 1px solid var(--color-border);
  border-radius: 3px;
  background: var(--color-white);
}
.form__input:focus { outline: 2px solid var(--color-blue); outline-offset: 0; }
.form__radios {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 700;
}
.form__radios label { display: inline-flex; align-items: center; gap: 4px; cursor: pointer; }
.form__radios input {
  appearance: none;
  width: 10px;
  height: 10px;
  margin: 0;
  border-radius: 50%;
  background: #e2ecf8;
}
.form__radios input:checked { background: var(--color-navy); }
.form__radios input:focus-visible { outline: 2px solid var(--color-blue); outline-offset: 2px; }
.form__date {
  margin-top: 28px;
  color: var(--color-red);
  font-family: var(--font-num);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}
.form__date .small { font-family: var(--font-base); font-size: .7em; }
.form__submit { margin-top: 24px; }
.entry-form .wpcf7-form .form__date { margin-top: 24px; }

@media (min-width: 768px) {
  .section08__band { padding: 36px var(--gutter) 40px; }
  .section08__catch { font-size: 22px; }
  .section08__text {
    max-width: 450px;
    margin-inline: auto;
    padding-bottom: 14px;
    font-size: 10px;
  }
  .section08__body { padding: 56px var(--gutter) 56px; }
  .entry-form { padding: 36px 32px 32px; }
  .entry-form__title span { font-size: 15px; }
  .form__label { font-size: 13px; }
  .form__date { font-size: 21px; }
  .form__submit { font-size: 16px; min-height: 68px; }
}

/* ---------- Contact Form 7（index.php のフォーム） ----------
   CF7が出力するHTMLは書き換えず、ここでデザインに合わせる */
.entry-form .wpcf7 { margin-top: 20px; }
.entry-form .hidden-fields-container { display: none; }
/* 項目ごとの dl / dt / dd */
.entry-form .wpcf7-form dl { margin: 0; }
.entry-form .wpcf7-form dl + dl { margin-top: 18px; }
.entry-form .wpcf7-form dt {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}
.entry-form .wpcf7-form dd { margin: 0; }
/* 「*」を「必須」ラベルに置き換えて表示する */
.entry-form .required-mark {
  font-size: 0;
  line-height: 1;
}
.entry-form .required-mark::after {
  content: "必須";
  display: inline-block;
  padding: 2px 6px;
  border-radius: 2px;
  background: var(--color-red);
  color: var(--color-white);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
}
.entry-form .wpcf7-form-control-wrap { display: block; }
.entry-form .wpcf7-form .text-center { text-align: center; }
.entry-form .wpcf7-text,
.entry-form .wpcf7-email,
.entry-form .wpcf7-tel,
.entry-form .wpcf7-textarea {
  width: 100%;
  height: 32px;
  margin-top: 8px;
  padding: 6px 10px;
  border: 1px solid var(--color-border);
  border-radius: 3px;
  background: var(--color-white);
  font-size: 16px;
}
.entry-form .wpcf7-textarea { height: 120px; }
.entry-form .wpcf7-form-control::placeholder { color: #b4bcc8; }
.entry-form .wpcf7-text:focus,
.entry-form .wpcf7-email:focus,
.entry-form .wpcf7-tel:focus,
.entry-form .wpcf7-textarea:focus { outline: 2px solid var(--color-blue); outline-offset: 0; }
/* 職業などのラジオボタン */
.entry-form .wpcf7-radio,
.entry-form .wpcf7-checkbox {
  font-size: 13px;
  font-weight: 700;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 8px;
}
.entry-form .wpcf7-list-item { margin: 0; }
.entry-form .wpcf7-list-item label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}
.entry-form .wpcf7-list-item input[type="radio"] {
  appearance: none;
  width: 10px;
  height: 10px;
  margin: 0;
  border-radius: 50%;
  background: #e2ecf8;
}
.entry-form .wpcf7-list-item input[type="radio"]:checked { background: var(--color-navy); }
/* 送信ボタン（inputのため矢印は背景画像で表示） */
/* 送信ボタン：CF7のinputはそのまま、支給のボタン画像（btn-sp / btn-pc）を背景に表示し文字は隠す */
.entry-form .wpcf7-form .wpcf7-submit {
  display: block;
  width: 100%;
  max-width: 540px;
  height: auto;
  aspect-ratio: 642 / 150;
  margin: 16px auto 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  appearance: none;
  background: url("../img/btn-sp.webp") center / 100% 100% no-repeat;
  box-shadow: none;
  color: transparent;
  font-size: 0;
  cursor: pointer;
  transition: transform .2s, opacity .2s;
}
.entry-form .wpcf7-form .wpcf7-submit:hover { transform: translateY(2px); opacity: .9; }
.entry-form .wpcf7-spinner { display: block; margin: 12px auto 0; }
.entry-form .wpcf7-form:not(.submitting) .wpcf7-spinner { display: none; }
.entry-form .wpcf7-not-valid-tip {
  margin-top: 4px;
  color: var(--color-red);
  font-size: 12px;
}
.entry-form .wpcf7-response-output {
  margin: 20px 0 0;
  padding: 10px 12px;
  font-size: 13px;
}
@media (min-width: 768px) {
  .entry-form .wpcf7-form .wpcf7-submit {
    aspect-ratio: 1318 / 222;
    background-image: url("../img/btn-pc.webp");
  }
}

/* =========================================================
   サンクスページ（thanksseminar.php）
   ========================================================= */
.thanks {
  min-height: 100vh;
  padding: 64px 0 80px;
  background: var(--color-blue-light);
  text-align: center;
}
.thanks__en {
  font-family: var(--font-num);
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  color: rgba(0, 58, 128, .1);
}
.thanks__title {
  margin-top: -14px;
  color: var(--color-navy);
  font-size: 22px;
  font-weight: 900;
  font-style: italic;
  line-height: 1.5;
}
.thanks__text {
  margin-top: 24px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.8;
}
.thanks__info {
  max-width: 560px;
  margin: 32px auto 0;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  text-align: left;
  font-size: 13px;
  font-weight: 700;
}
.thanks__info div {
  display: grid;
  grid-template-columns: 6em 1fr;
  gap: 12px;
  padding: 14px 16px;
}
.thanks__info div + div { border-top: 1px solid var(--color-border); }
.thanks__info dt { color: var(--color-navy); }
.thanks__note {
  margin-top: 24px;
  font-size: 12px;
  line-height: 1.8;
}
.thanks__btn { margin-top: 32px; max-width: 360px; }
@media (min-width: 768px) {
  .thanks { padding: 96px 0 120px; }
  .thanks__en { font-size: 72px; }
  .thanks__title { margin-top: -26px; font-size: 30px; }
  .thanks__text { font-size: 15px; }
  .thanks__info { font-size: 14px; }
}

/* =========================================================
   SP（〜767px）：SP用セクション別カンプに合わせた調整
   ========================================================= */
.sp-block { display: block; }
.pc-block { display: none; }
@media (min-width: 768px) {
  .sp-block { display: none; }
  .pc-block { display: block; }
}
@media (max-width: 767px) {
  /* CTA */
  .cta { padding: 24px 16px; }
  .cta__box { padding: 22px 12px 26px; }
  .cta__catch { font-size: 19px; line-height: 1.4; }
  .cta__text { margin-top: 8px; font-size: 14px; line-height: 1.55; }
  .cta .date { margin-top: 14px; padding-top: 12px; }
  .cta .date__year { font-size: 18px; }
  .cta .date__day { font-size: 28px; }
  .cta .date__week { font-size: 16px; }
  .cta .date__time { font-size: 17px; }
  .cta .date__place { margin-top: 2px; font-size: 14px; }
  .cta .btn { min-height: 64px; font-size: 15px; }

  /* section02：どこまで把握していますか？ */
  .section02__head { padding-top: 40px; }
  .section02 .section02__title { font-size: 26px; line-height: 1.45; }
  .section02__title > br { display: none; }
  .section02__title em { display: block; max-width: 8.2em; margin-inline: auto; }
  .worry-list { max-width: none; gap: 12px; margin: 16px 30px 0; }
  .worry-card p { padding: 32px 12px 36px; font-size: 16px; }

  /* section03：見出し・PHP/AI説明 */
  .section03 .section03__title { font-size: 24px; line-height: 1.5; }
  .section03 .section03__lead { margin-top: 18px; font-size: 14px; }
  .feature { padding: 40px 24px 48px; }
  .feature__title { font-size: 22px; line-height: 1.4; padding-bottom: 16px; }
  .feature__text { margin-top: 18px; font-size: 14px; line-height: 1.85; }

  /* section04：学べること */
  .section04 { padding: 40px 0 48px; }
  .section04__title { font-size: 26px; }
  .section04__title em { font-style: normal; }
  .section04__lead { margin-top: 18px; font-size: 14px; }
  .point-list { gap: 48px; margin-top: 56px; padding-inline: 25px; }
  .point-card__img::before { top: -24px; bottom: 20%; }
  .point-card__num { margin-top: 24px; font-size: 14px; }
  .point-card__num span { font-size: 22px; }
  .point-card__title { margin-top: 14px; font-size: 22px; line-height: 1.45; }
  .point-card__text { margin-top: 18px; font-size: 14.5px; line-height: 1.8; }

  /* section05：講師紹介（写真・紺の箱とも画面幅いっぱい） */
  .section05 .container { padding-inline: 0; }
  .speaker-list { gap: 50px; margin-top: 50px; }
  .speaker-card__img { overflow: hidden; }
  .speaker-card__img img { aspect-ratio: 780 / 500; object-position: center; }
  .speaker-card__body { padding: 26px 25px 32px; }
  .speaker-card__name { font-size: 22px; }
  .speaker-card__role { margin-top: 6px; padding-bottom: 18px; font-size: 15px; }
  .speaker-card__text { margin-top: 18px; font-size: 15px; line-height: 1.75; }
}

/* SPカンプ（セクション別）に合わせた文字サイズ・余白の調整 */
@media (max-width: 767px) {
  .section02 .section02__title { font-size: 28px; }
  .section02__title em { max-width: none; }
  .worry-list { margin-inline: 31px; }
  .worry-card p { font-size: 17px; }
  .section03 .section03__title { font-size: 26px; }
  .section03 .section03__lead { font-size: 15px; }
  .cta__text { font-size: 15px; }
  .cta .date__year { font-size: 20px; }
  .cta .date__day { font-size: 32px; }
  .cta .date__time { font-size: 19px; }
  .cta .btn { min-height: 72px; font-size: 16px; }
  .sec-title__ja { font-size: 28px; }
  .speaker-card__text { font-size: 15.5px; }
  .section04__title { font-size: 28px; }
  .point-card__text { font-size: 15px; }
  .section08__band { margin-inline: 0; padding: 32px 20px 28px; }
  .section08__catch { font-size: 18px; }
  .section08__text { margin-top: 14px; padding-bottom: 16px; font-size: 14px; line-height: 1.55; }
  .section08__band .date { margin-top: 14px; }
  .section08__band .date__year { font-size: 18px; }
  .section08__band .date__day { font-size: 28px; }
  .section08__band .date__week { font-size: 16px; }
  .section08__band .date__time { font-size: 18px; }
  .section08__meta { margin-top: 6px; font-size: 14px; }
}

/* SPカンプとの寸法合わせ（第2回：390px幅で実測） */
@media (max-width: 767px) {
  .section02__head { aspect-ratio: 390 / 285; padding-top: 44px; }
  .section02 .section02__title { font-size: 31px; line-height: 1.38; }
  .worry-list { gap: 10px; margin-inline: 11px; }
  .worry-card p { padding: 40px 10px 42px; font-size: 18px; letter-spacing: .05em; line-height: 1.6; }

  .sec-title__en { font-size: 56px; }
  .sec-title__ja { margin-top: -30px; font-size: 31px; }

  .section04__title { font-size: 31px; line-height: 1.4; }
  .section04__lead { font-size: 15px; }
  .section04 { padding-top: 30px; }
  .point-list { gap: 66px; margin-top: 44px; }
  .section03 .section03__title { font-size: 30px; line-height: 1.45; }
  .feature { padding-inline: 25px; }
  .feature__text { font-size: 16px; line-height: 1.65; }
  .point-card__num { margin-top: 18px; }
  .point-card__title { margin-top: 10px; }
  .point-card__text { margin-top: 14px; font-size: 16px; line-height: 1.65; }

  .speaker-list { gap: 30px; }
  .speaker-card__body { padding-top: 22px; }
  .speaker-card__role { padding-bottom: 14px; }
  .speaker-card__text { margin-top: 14px; font-size: 16px; line-height: 1.65; }

  .cta .date__year { font-size: 21px; }
  .cta .date__day { font-size: 34px; }
  .cta .date__week { font-size: 18px; }
  .cta .date__time { font-size: 20px; }
  .cta .date__place { color: var(--color-text); }
  .cta { padding-inline: 25px; }
  .cta .btn { margin-inline: 3px; }
  .section08__band { padding-inline: 25px; }

  .section08__text { font-size: 15px; }
  .section08__band .date__year { font-size: 21px; }
  .section08__band .date__day { font-size: 34px; }
  .section08__band .date__week { font-size: 18px; }
  .section08__band .date__time { font-size: 20px; }
  .section08__meta { font-size: 15px; }
}

/* SP：PHP/AI説明の背景は SP用の支給画像（斜めの切り抜き・淡色入り）をそのまま敷く */
@media (max-width: 767px) {
  .feature__img {
    opacity: 1;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .feature__img picture { display: block; height: 100%; }
  .feature__img img { object-position: left top; }
  .feature--right { margin-top: 0; }
}
