@charset "UTF-8";
/*
Theme Name: SoftCampus Denki 2nd
Theme URI:
Author: SoftCampus
Author URI: https://softcampus.biz/
Description: 第二種電気工事士試験対策講座（完全マンツーマン）向けの1ページ完結型テーマ。技能先行型カリキュラムと女性講師サポートの訴求LPをWordPressから編集できます。
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: Proprietary
Text Domain: sc-denki2
Tags: one-column, custom-colors, custom-menu, translation-ready
*/

/* ==========================================================================
   1. 元 style.css（そのまま移植・デザイン非改変）
   ========================================================================== */

:root {
  --navy-950: #071827;
  --navy-900: #0b2236;
  --navy-800: #12334c;
  --blue-700: #0b6085;
  --cyan-500: #00a8c7;
  --cyan-300: #67d5e3;
  --cyan-100: #dff8fb;
  --orange-500: #f58220;
  --orange-100: #fff0e3;
  --slate-700: #344556;
  --slate-500: #667788;
  --slate-300: #bdc9d3;
  --slate-100: #edf3f6;
  --white: #ffffff;
  --shadow-sm: 0 8px 24px rgba(7, 24, 39, 0.08);
  --shadow-lg: 0 28px 70px rgba(7, 24, 39, 0.16);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --container: 1160px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  color: var(--navy-950);
  background: var(--white);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--orange-500);
  outline-offset: 4px;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.narrow {
  max-width: 960px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  color: var(--white);
  background: var(--navy-950);
  border-radius: 6px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(189, 201, 211, 0.55);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  min-height: 78px;
  gap: 34px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
}

.site-logo {
  display: block;
  height: 40px;
  width: auto;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-copy small {
  margin-top: 5px;
  color: var(--slate-500);
  font-size: 10px;
  letter-spacing: 0.05em;
}

.global-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  margin-left: auto;
  color: var(--slate-700);
  font-size: 14px;
  font-weight: 700;
}

.global-nav a {
  position: relative;
  padding-block: 8px;
}

.global-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  content: "";
  background: var(--cyan-500);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.global-nav a:hover::after {
  transform: scaleX(1);
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  color: var(--white);
  background: var(--orange-500);
  border: 2px solid var(--orange-500);
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(245, 130, 32, 0.22);
  font-weight: 800;
  line-height: 1.4;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  background: #df6e0e;
  border-color: #df6e0e;
  box-shadow: 0 15px 30px rgba(245, 130, 32, 0.3);
  transform: translateY(-2px);
}

.button-small {
  min-height: 42px;
  padding: 8px 19px;
  font-size: 14px;
}

.button-outline {
  color: var(--navy-900);
  background: transparent;
  border-color: var(--navy-900);
  box-shadow: none;
}

.button-outline:hover {
  color: var(--white);
  background: var(--navy-900);
  border-color: var(--navy-900);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 86px;
  background:
    radial-gradient(circle at 86% 13%, rgba(103, 213, 227, 0.24), transparent 27%),
    linear-gradient(135deg, #f7fbfc 0%, #ffffff 56%, #eef9fb 100%);
}

.hero::before {
  position: absolute;
  top: -110px;
  right: -70px;
  width: 430px;
  height: 430px;
  content: "";
  border: 1px solid rgba(0, 168, 199, 0.13);
  border-radius: 50%;
  box-shadow: 0 0 0 42px rgba(0, 168, 199, 0.035), 0 0 0 84px rgba(0, 168, 199, 0.025);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(400px, 0.92fr);
  align-items: center;
  gap: 64px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--blue-700);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.23;
  letter-spacing: -0.045em;
}

.hero h1 .accent {
  color: var(--blue-700);
  background: linear-gradient(transparent 72%, rgba(103, 213, 227, 0.38) 0);
}

/* h1 のテキストにマストキーワードを含めるため、キッカーを h1 の中に置いている。
   見た目は従来どおり小さな1行のままにする。 */
.hero h1 .eyebrow {
  display: block;
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: 0.13em;
}

.hero-lead {
  max-width: 670px;
  margin: 28px 0 0;
  color: var(--slate-700);
  font-size: 17px;
  line-height: 2;
}

.hero-lead strong {
  color: var(--navy-950);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: var(--slate-700);
  font-size: 14px;
  font-weight: 700;
}

.hero-points li::before {
  display: inline-grid;
  width: 20px;
  height: 20px;
  margin-right: 7px;
  place-items: center;
  color: var(--white);
  content: "✓";
  background: var(--cyan-500);
  border-radius: 50%;
  font-size: 12px;
}

.hero-visual {
  position: relative;
  overflow: hidden;
  min-height: 455px;
  color: var(--white);
  background: var(--navy-950);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.hero-visual > img {
  width: 100%;
  height: 455px;
  object-fit: cover;
  object-position: 47% 55%;
  image-orientation: from-image;
}

.hero-photo-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 24, 39, 0.2) 0%, rgba(7, 24, 39, 0.34) 32%, rgba(7, 24, 39, 0.94) 100%);
}

.visual-label {
  position: absolute;
  top: 26px;
  left: 28px;
  color: var(--cyan-300);
  font-family: Consolas, Monaco, monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
}

.photo-method {
  position: absolute;
  right: 28px;
  bottom: 45px;
  left: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.photo-method > div {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  padding: 15px 17px;
  background: rgba(7, 24, 39, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 13px;
  backdrop-filter: blur(8px);
}

.photo-method span {
  color: var(--cyan-300);
  font-family: Consolas, Monaco, monospace;
  font-size: 11px;
}

.photo-method strong {
  font-size: 17px;
}

.photo-method small {
  color: #d5e0e6;
  font-size: 11px;
  line-height: 1.6;
}

.photo-method b {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--navy-950);
  background: var(--cyan-300);
  border-radius: 50%;
  font-size: 13px;
}

.photo-caption {
  position: absolute;
  right: 28px;
  bottom: 14px;
  margin: 0;
  color: #d5e0e6;
  font-size: 11px;
}

.quick-info {
  position: relative;
  z-index: 3;
  margin-top: -32px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 26px 32px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.info-grid div {
  padding: 0 24px;
  border-right: 1px solid var(--slate-100);
}

.info-grid div:first-child { padding-left: 0; }
.info-grid div:last-child { padding-right: 0; border-right: 0; }

.info-grid span,
.info-grid strong {
  display: block;
}

.info-grid span {
  margin-bottom: 4px;
  color: var(--slate-500);
  font-size: 11px;
}

.info-grid strong {
  font-size: 15px;
}

.section {
  padding: 112px 0;
}

.section-heading {
  margin-bottom: 54px;
}

.section-heading h2,
.concern-section h2,
.support-section h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.35;
  letter-spacing: -0.035em;
}

.section-heading > p:last-child {
  margin: 20px 0 0;
  color: var(--slate-700);
}

.centered {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.split-heading {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  align-items: end;
  gap: 84px;
}

.split-heading > p:last-child {
  margin: 0;
}

.concern-section {
  padding-top: 128px;
  text-align: center;
}

.concern-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 48px;
  text-align: left;
}

.concern-card {
  padding: 28px;
  background: #f8fbfc;
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-md);
}

.concern-card > span {
  color: var(--cyan-500);
  font-family: Consolas, Monaco, monospace;
  font-size: 13px;
  font-weight: 700;
}

.concern-card h3 {
  margin: 14px 0 8px;
  font-size: 19px;
}

.concern-card p {
  margin: 0;
  color: var(--slate-700);
  font-size: 14px;
}

.method-section {
  background: var(--navy-950);
  color: var(--white);
}

.method-section .section-kicker {
  color: var(--cyan-300);
}

.method-section .split-heading > p {
  color: #c4d2db;
}

.learning-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: flow;
}

.learning-flow li {
  position: relative;
  min-height: 255px;
  padding: 27px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius-md);
}

.learning-flow li:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -18px;
  z-index: 2;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--navy-950);
  content: "→";
  background: var(--cyan-300);
  border: 4px solid var(--navy-950);
  border-radius: 50%;
  font-size: 14px;
  font-weight: 900;
  transform: translateY(-50%);
}

.flow-number {
  display: block;
  margin-bottom: 64px;
  color: var(--cyan-300);
  font-family: Consolas, Monaco, monospace;
  font-size: 11px;
  letter-spacing: 0.09em;
}

.learning-flow h3 {
  margin: 0 0 10px;
  font-size: 19px;
}

.learning-flow p {
  margin: 0;
  color: #b9c9d3;
  font-size: 13px;
}

.experience-note {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 22px;
  margin-top: 28px;
  padding: 32px 36px;
  color: var(--navy-950);
  background: var(--cyan-100);
  border-radius: var(--radius-md);
}

.quote-mark {
  color: var(--cyan-500);
  font-family: Georgia, serif;
  font-size: 90px;
  line-height: 0.82;
}

.experience-note strong {
  font-size: 18px;
}

.experience-note p {
  margin: 7px 0 4px;
  color: var(--slate-700);
}

.experience-note small {
  color: var(--slate-500);
  font-size: 11px;
}

.women-section {
  overflow: hidden;
  background: linear-gradient(145deg, #fff 0%, #f2fbfc 55%, #fff7f0 100%);
}

.women-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(440px, 1.08fr);
  align-items: center;
  gap: 76px;
}

.women-badge {
  display: inline-block;
  margin: 0 0 18px;
  padding: 7px 14px;
  color: #984607;
  background: var(--orange-100);
  border: 1px solid #ffd2ad;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.women-copy h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 47px);
  line-height: 1.4;
  letter-spacing: -0.035em;
}

.women-copy > p:not(.section-kicker, .women-badge) {
  color: var(--slate-700);
}

.women-lead {
  margin-top: 26px;
}

.women-copy strong {
  color: var(--blue-700);
}

.women-gallery {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: 290px 215px;
  gap: 14px;
}

.women-gallery figure {
  position: relative;
  overflow: hidden;
  margin: 0;
  background: var(--navy-950);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.women-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-orientation: from-image;
}

.gallery-main {
  grid-row: 1 / -1;
}

.gallery-main img {
  object-position: 47% 70%;
}

.gallery-sub img {
  object-position: 50% 64%;
}

.women-gallery figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 30px 17px 13px;
  color: var(--white);
  background: linear-gradient(transparent, rgba(7, 24, 39, 0.88));
  font-size: 12px;
  font-weight: 700;
}

.instructor-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 26px;
  color: var(--white);
  background: linear-gradient(145deg, var(--orange-500), #c95808);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.instructor-card span {
  margin-bottom: 14px;
  color: #fff0e1;
  font-family: Consolas, Monaco, monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
}

.instructor-card strong {
  font-size: 21px;
  line-height: 1.5;
}

.instructor-card p {
  margin: 12px 0 0;
  color: #fff6ee;
  font-size: 12px;
  line-height: 1.7;
}

.women-solutions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 58px;
}

.women-solutions article {
  padding: 28px 24px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #dce9ed;
  border-radius: var(--radius-md);
}

.women-solutions article > span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--white);
  background: var(--blue-700);
  border-radius: 50%;
  font-family: Consolas, Monaco, monospace;
  font-size: 11px;
}

.women-solutions h3 {
  margin: 20px 0 8px;
  font-size: 18px;
  line-height: 1.5;
}

.women-solutions p {
  margin: 0;
  color: var(--slate-700);
  font-size: 14px;
  line-height: 1.75;
}

.women-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 20px;
  padding: 28px 32px;
  background: var(--navy-950);
  border-radius: var(--radius-md);
}

.women-cta strong {
  color: var(--white);
  font-size: 19px;
}

.women-cta p {
  margin: 4px 0 0;
  color: #b9cbd5;
  font-size: 13px;
}

.women-cta .button {
  flex: 0 0 auto;
}

.courses-section {
  background: #f4f8fa;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.course-card {
  position: relative;
  padding: 36px;
  background: var(--white);
  border: 1px solid #dce6eb;
  border-radius: var(--radius-md);
  box-shadow: 0 3px 0 rgba(7, 24, 39, 0.025);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.course-card:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-4px);
}

.course-card.featured {
  border-top: 5px solid var(--orange-500);
}

.course-label {
  display: inline-block;
  margin: 0 0 14px;
  padding: 4px 10px;
  color: var(--blue-700);
  background: var(--cyan-100);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.course-badge {
  display: inline-block;
  margin: 0 0 10px;
  padding: 5px 12px;
  color: var(--white);
  background: var(--orange-500);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.featured .course-label {
  color: #9b4a06;
  background: var(--orange-100);
}

.course-card h3 {
  margin: 0;
  font-size: 26px;
}

.course-summary {
  min-height: 58px;
  margin: 12px 0 20px;
  color: var(--slate-700);
}

.course-card ul {
  display: grid;
  gap: 7px;
  margin: 0 0 25px;
  padding: 20px 0 0;
  border-top: 1px solid var(--slate-100);
  list-style: none;
  color: var(--slate-700);
  font-size: 14px;
}

.course-card li::before {
  margin-right: 9px;
  color: var(--cyan-500);
  content: "●";
  font-size: 8px;
}

.course-card > a {
  color: var(--blue-700);
  font-size: 14px;
  font-weight: 900;
}

.course-card > a span {
  display: inline-block;
  margin-left: 5px;
  transition: transform 0.2s ease;
}

.course-card > a:hover span {
  transform: translateX(5px);
}

.price-note {
  margin: 24px 0 0;
  color: var(--slate-500);
  font-size: 12px;
  text-align: center;
}

.strength-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.strength-grid article {
  padding: 32px 28px;
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-md);
}

.strength-icon {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  color: var(--white);
  background: var(--navy-900);
  border-radius: 20px 6px 20px 6px;
  font-family: Consolas, Monaco, monospace;
  font-size: 16px;
  font-weight: 800;
}

.strength-grid h3 {
  margin: 24px 0 8px;
  font-size: 20px;
}

.strength-grid p {
  margin: 0;
  color: var(--slate-700);
  font-size: 14px;
}

.career-panel {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px 70px;
  margin-top: 28px;
  padding: 46px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-700), var(--navy-900));
  border-radius: var(--radius-lg);
}

.career-panel .section-kicker {
  color: var(--cyan-300);
}

.career-panel h3 {
  margin: 0;
  font-size: 27px;
  line-height: 1.55;
}

.career-panel ol {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.career-panel li {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 14px;
  font-weight: 700;
}

.career-panel li span {
  color: var(--cyan-300);
  font-family: Consolas, Monaco, monospace;
  font-size: 11px;
}

.career-caution {
  grid-column: 1 / -1;
  margin: -10px 0 0;
  color: #b8d0dd;
  font-size: 11px;
}

.support-section {
  color: var(--white);
  background: var(--navy-950);
}

.support-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 90px;
}

.support-section .section-kicker {
  color: var(--cyan-300);
}

.support-section p {
  color: #c2d1da;
}

.support-section small {
  display: block;
  color: #91a8b6;
  font-size: 11px;
}

.support-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.055);
}

.support-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 13px;
}

.support-table th,
.support-table td {
  padding: 15px 18px;
  text-align: left;
  line-height: 1.75;
  vertical-align: top;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.support-table thead th {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: #9db3c0;
  background: rgba(255, 255, 255, 0.04);
}

.support-table thead th.own {
  color: var(--cyan-300);
}

.support-table tbody th {
  width: 26%;
  font-weight: 700;
  color: #c2d1da;
}

.support-table tbody td {
  color: #9db3c0;
}

.support-table .own {
  color: var(--white);
  font-weight: 700;
  background: rgba(103, 213, 227, 0.1);
}

.support-table tbody tr:last-child th,
.support-table tbody tr:last-child td { border-bottom: 0; }

.faq-list {
  border-top: 1px solid var(--slate-300);
}

.faq-list details {
  border-bottom: 1px solid var(--slate-300);
}

.faq-list summary {
  position: relative;
  padding: 26px 54px 26px 54px;
  cursor: pointer;
  font-size: 17px;
  font-weight: 800;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::before {
  position: absolute;
  top: 25px;
  left: 7px;
  color: var(--cyan-500);
  content: "Q";
  font-family: Georgia, serif;
  font-size: 24px;
}

.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 8px;
  width: 24px;
  height: 24px;
  color: var(--blue-700);
  content: "+";
  font-size: 26px;
  font-weight: 400;
  line-height: 22px;
  text-align: center;
  transform: translateY(-50%);
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  margin: -4px 54px 27px;
  color: var(--slate-700);
}

.contact-section {
  padding: 0 0 100px;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 70px;
  padding: 56px 62px;
  color: var(--white);
  background:
    radial-gradient(circle at 100% 0, rgba(103, 213, 227, 0.28), transparent 32%),
    linear-gradient(135deg, var(--blue-700), var(--navy-950));
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.contact-panel .section-kicker {
  color: var(--cyan-300);
}

.contact-panel h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.4;
}

.contact-panel p {
  color: #cfdee6;
}

.contact-panel ul {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  color: #e4eef2;
  font-size: 13px;
}

.contact-panel li::before {
  margin-right: 8px;
  color: var(--cyan-300);
  content: "✓";
  font-weight: 900;
}

.contact-policy {
  margin: 20px 0 0;
  padding: 12px 14px;
  color: #dcebf1;
  font-size: 12.5px;
  line-height: 1.8;
  background: rgba(255, 255, 255, 0.06);
  border-left: 3px solid var(--cyan-300);
  border-radius: 0 6px 6px 0;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.button-light {
  color: var(--navy-950);
  background: var(--white);
  border-color: var(--white);
  box-shadow: none;
}

.button-light:hover {
  color: var(--navy-950);
  background: var(--cyan-100);
  border-color: var(--cyan-100);
}

.button-ghost {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow: none;
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.contact-actions small {
  color: #abc0cc;
  font-size: 10px;
  text-align: center;
}

.site-footer {
  padding: 48px 0;
  color: #b8c7d0;
  background: #04111d;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
}

.brand-footer .brand-copy small {
  color: #91a4b0;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 32px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
}

.footer-links li {
  margin: 0;
  list-style: none;
}

.footer-links a {
  display: block;
}

.footer-links a:hover {
  color: var(--cyan-300);
}

.site-footer p {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 10px;
}

@media (max-width: 980px) {
  .global-nav {
    display: none;
  }

  .header-inner .button-small {
    margin-left: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-visual {
    min-height: 420px;
  }

  .info-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 0;
  }

  .info-grid div:nth-child(2) {
    border-right: 0;
  }

  .info-grid div:nth-child(3) {
    padding-left: 0;
  }

  .split-heading,
  .support-grid,
  .women-intro {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .women-gallery {
    max-width: 720px;
  }

  .women-solutions {
    grid-template-columns: repeat(2, 1fr);
  }

  .learning-flow {
    grid-template-columns: repeat(2, 1fr);
  }

  .learning-flow li:not(:last-child)::after {
    display: none;
  }

  .strength-grid {
    grid-template-columns: 1fr;
  }

  .strength-grid article {
    display: grid;
    grid-template-columns: 68px 1fr;
    gap: 0 24px;
  }

  .strength-grid h3 {
    align-self: end;
    margin: 0 0 5px;
  }

  .strength-grid p {
    grid-column: 2;
  }

  .career-panel,
  .contact-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .header-inner {
    min-height: 66px;
  }

  .site-logo {
    height: 34px;
  }

  .brand-copy small {
    display: none;
  }

  .header-inner .button-small {
    min-height: 38px;
    padding: 7px 14px;
    font-size: 12px;
  }

  .hero {
    padding: 64px 0 68px;
  }

  .hero-grid {
    gap: 46px;
  }

  .hero h1 {
    font-size: clamp(35px, 10.5vw, 48px);
  }

  .hero h1 br {
    display: none;
  }

  .hero-lead {
    font-size: 15px;
    line-height: 1.9;
  }

  .hero-actions {
    display: grid;
  }

  .hero-visual {
    min-height: 388px;
  }

  .hero-visual > img {
    height: 388px;
  }

  .visual-label {
    top: 20px;
    left: 20px;
  }

  .photo-method {
    right: 16px;
    bottom: 42px;
    left: 16px;
    gap: 6px;
  }

  .photo-method > div {
    padding: 11px;
  }

  .photo-method strong {
    font-size: 14px;
  }

  .photo-method small {
    display: none;
  }

  .photo-caption {
    right: 18px;
  }

  .info-grid {
    padding: 22px;
  }

  .info-grid div {
    padding: 0 15px;
  }

  .info-grid strong {
    font-size: 13px;
  }

  .section {
    padding: 82px 0;
  }

  .concern-section {
    padding-top: 96px;
  }

  .concern-grid,
  .course-grid,
  .learning-flow {
    grid-template-columns: 1fr;
  }

  .learning-flow li {
    min-height: 0;
  }

  .flow-number {
    margin-bottom: 38px;
  }

  .experience-note {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .women-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 320px auto;
  }

  .gallery-main {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .women-solutions {
    grid-template-columns: 1fr;
  }

  .women-cta {
    align-items: stretch;
    flex-direction: column;
    padding: 26px 22px;
  }

  .women-cta .button {
    width: 100%;
  }

  .quote-mark {
    height: 45px;
  }

  .course-card {
    padding: 30px 25px;
  }

  .course-summary {
    min-height: auto;
  }

  .strength-grid article {
    display: block;
  }

  .strength-grid h3 {
    margin-top: 20px;
  }

  .strength-grid p {
    grid-column: auto;
  }

  .career-panel {
    padding: 34px 25px;
  }

  .faq-list summary {
    padding: 22px 42px 22px 36px;
    font-size: 15px;
  }

  .faq-list summary::before {
    top: 21px;
    left: 3px;
  }

  .faq-list details p {
    margin: -2px 5px 24px 36px;
    font-size: 14px;
  }

  .contact-section {
    padding-bottom: 70px;
  }

  .contact-panel {
    gap: 36px;
    padding: 40px 25px;
    border-radius: 22px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-header,
  .contact-section {
    display: none;
  }

  .hero,
  .section {
    padding-block: 48px;
  }

  .method-section,
  .support-section,
  .career-panel,
  .hero-visual {
    color: #000;
    background: #fff;
    border: 1px solid #bbb;
    box-shadow: none;
  }
}

/* ==========================================================================
   2. WordPress 用の追記（管理バー・メディア・エディタ由来クラスの吸収）
   ========================================================================== */

/* 管理バー表示時に固定ヘッダーが隠れないようにする */
body.admin-bar .site-header {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

/* メディアライブラリ画像の基本挙動 */
.hero-visual img,
.women-gallery img {
  max-width: 100%;
  height: auto;
}

/* 画像未設定時のプレースホルダー */
.image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 3 / 4;
  background: repeating-linear-gradient(
    135deg,
    var(--slate-100),
    var(--slate-100) 12px,
    var(--white) 12px,
    var(--white) 24px
  );
  color: var(--slate-500);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-align: center;
  padding: 1rem;
}

/* WordPress 標準の配置クラス（本文エリアを使う場合の保険） */
.alignleft {
  float: left;
  margin: 0 1.5rem 1rem 0;
}

.alignright {
  float: right;
  margin: 0 0 1rem 1.5rem;
}

.aligncenter {
  display: block;
  margin-inline: auto;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* 準備中ボタン（リンク未設定時） */
.button.is-pending {
  pointer-events: none;
  opacity: 0.7;
  cursor: default;
}

/* ==========================================================================
   3. 下層ページ（固定ページ・投稿・検索・404）
   提案書 6-1 のSEO構造で作る子ページ用。LPと同じ配色・余白に揃えています。
   ========================================================================== */

.entry-section {
  padding-top: 4rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  font-size: 0.8rem;
  color: var(--slate-500);
}

.breadcrumb a {
  color: var(--slate-500);
  text-decoration: none;
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: var(--blue-700);
  text-decoration: underline;
}

.breadcrumb [aria-current="page"] {
  color: var(--navy-950);
  font-weight: 600;
}

.entry-header h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  line-height: 1.4;
  letter-spacing: 0.01em;
}

/* ------------------------------------------------------------------
   7. ブログ（記事一覧・記事詳細）
------------------------------------------------------------------ */

.entry-card-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 6px;
  color: var(--slate-500);
  font-size: 12px;
}

.entry-card-cat {
  padding: 2px 8px;
  color: var(--blue-700);
  font-weight: 700;
  background: var(--cyan-100);
  border-radius: 999px;
}

.entry-meta a {
  color: var(--blue-700);
  font-weight: 700;
  text-decoration: none;
}

.entry-meta a:hover {
  text-decoration: underline;
}

.entry-related {
  margin: 48px 0 0;
  padding: 24px 26px;
  background: var(--slate-100);
  border: 1px solid var(--slate-300);
  border-left: 4px solid var(--cyan-500);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.entry-related h2 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.entry-related p {
  margin: 0 0 14px;
  color: var(--slate-700);
  font-size: 13px;
}

.entry-related ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.entry-related li + li {
  margin-top: 8px;
}

.entry-related a {
  color: var(--blue-700);
  font-weight: 700;
  text-decoration: none;
}

.entry-related a::before {
  margin-right: 8px;
  color: var(--cyan-500);
  content: "92";
  font-weight: 900;
}

.entry-related a:hover {
  text-decoration: underline;
}

.entry-meta {
  margin: 0 0 2rem;
  font-size: 0.8rem;
  color: var(--slate-500);
}

.entry-thumb {
  margin: 0 0 2.5rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.entry-content {
  font-size: 1rem;
  line-height: 1.95;
  color: var(--slate-700);
}

.entry-content > * + * {
  margin-top: 1.5rem;
}

.entry-meta {
  margin: 10px 0 0;
  color: var(--slate-500);
  font-size: 12px;
  letter-spacing: 0.02em;
}

.entry-meta time {
  color: var(--slate-700);
  font-weight: 700;
}

.entry-content h2 {
  margin-top: 3rem;
  padding-left: 0.9rem;
  border-left: 4px solid var(--cyan-500);
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  line-height: 1.5;
  color: var(--navy-950);
}

.entry-content h3 {
  margin-top: 2.5rem;
  font-size: 1.15rem;
  color: var(--navy-900);
}

.entry-content h4 {
  margin-top: 2rem;
  font-size: 1rem;
  color: var(--navy-900);
}

.entry-content a {
  color: var(--blue-700);
  text-underline-offset: 0.2em;
}

.entry-content ul,
.entry-content ol {
  padding-left: 1.4rem;
}

.entry-content li + li {
  margin-top: 0.6rem;
}

.entry-content blockquote {
  margin-inline: 0;
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius-sm);
  background: var(--slate-100);
  border-left: 4px solid var(--cyan-300);
}

.entry-content blockquote > :first-child {
  margin-top: 0;
}

.entry-content figure {
  margin-inline: 0;
}

.entry-content img {
  border-radius: var(--radius-sm);
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.entry-content th,
.entry-content td {
  padding: 0.85rem 1rem;
  border: 1px solid var(--slate-300);
  text-align: left;
  vertical-align: top;
}

.entry-content th {
  background: var(--slate-100);
  color: var(--navy-900);
  font-weight: 600;
  white-space: nowrap;
}

/* 横に長い表はページごと横スクロールさせずに表だけスクロールさせる */
.entry-content .wp-block-table {
  overflow-x: auto;
}

.entry-content code {
  padding: 0.15em 0.4em;
  border-radius: 4px;
  background: var(--slate-100);
  font-size: 0.9em;
}

/* 記事一覧 */
.entry-list {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.entry-card a {
  display: block;
  padding: 1.5rem 1.75rem;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-md);
  background: var(--white);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.entry-card a:hover,
.entry-card a:focus-visible {
  border-color: var(--cyan-500);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.entry-card time {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--slate-500);
}

.entry-card h2 {
  margin: 0.4rem 0 0.6rem;
  font-size: 1.1rem;
  line-height: 1.5;
  color: var(--navy-950);
}

.entry-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--slate-500);
}

/* ページ送り */
.pagination {
  margin-top: 3rem;
}

.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding-inline: 0.7rem;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-sm);
  color: var(--slate-700);
  text-decoration: none;
  font-size: 0.9rem;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover,
.pagination .page-numbers:focus-visible {
  border-color: var(--cyan-500);
  background: var(--cyan-100);
  color: var(--navy-900);
}

@media (max-width: 640px) {
  .entry-section {
    padding-top: 2.5rem;
  }

  .entry-content th {
    white-space: normal;
  }
}

/* ==========================================================================
   4. コンバージョン設計用コンポーネント（下層ページの本文で使う）
   設計根拠は content/購買行動の設計理論.md を参照。
   配色ルール：オレンジは「行動」だけに使う（フォン・レストルフ効果）。
   ここのコンポーネントは navy / cyan / slate に留め、CTAだけを浮かせる。
   ========================================================================== */

/* --- 数値タイル：損失フレーム用（プロスペクト理論） ------------------ */
.fact-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(158px, 1fr));
  gap: 1px;
  margin: 2rem 0;
  background: var(--slate-300);
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.fact-strip > div {
  background: var(--white);
  padding: 1.15rem 1.2rem;
}

.fact-strip dt,
.fact-strip .label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--slate-500);
  margin-bottom: 0.35rem;
}

.fact-strip dd,
.fact-strip .value {
  display: block;
  margin: 0;
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--navy-950);
  font-variant-numeric: tabular-nums;
}

.fact-strip .value small {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--slate-500);
  margin-left: 0.25rem;
}

.fact-strip .note {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.74rem;
  line-height: 1.6;
  color: var(--slate-500);
}

/* --- 出典つき数値強調（処理流暢性＋信頼） -------------------------- */
.stat-callout {
  margin: 2rem 0;
  padding: 1.5rem 1.75rem;
  border-left: 5px solid var(--cyan-500);
  border-radius: var(--radius-sm);
  background: var(--cyan-100);
}

.stat-callout p {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.8;
  color: var(--navy-950);
}

.stat-callout .source {
  display: block;
  margin-top: 0.7rem;
  font-size: 0.74rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--slate-500);
}

/* --- 判定ポイントの列挙（ツァイガルニク効果：未解決を残す） -------- */
.defect-list {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--slate-300);
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.defect-list li {
  display: grid;
  grid-template-columns: 2.1rem 1fr;
  gap: 0.5rem;
  align-items: baseline;
  margin: 0;
  padding: 0.85rem 1.1rem;
  background: var(--white);
  font-size: 0.94rem;
  line-height: 1.7;
}

.defect-list li::before {
  content: "✕";
  font-weight: 800;
  color: var(--orange-500);
  text-align: center;
}

/* --- セクション末のCTA（Fogg行動モデルの「きっかけ」） ------------- */
.cta-inline {
  margin: 2.5rem 0;
  padding: 1.75rem;
  border: 2px solid var(--navy-800);
  border-radius: var(--radius-md);
  background: var(--navy-950);
  color: var(--white);
  display: grid;
  gap: 1rem;
}

.cta-inline strong {
  display: block;
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.65;
  color: var(--white);
}

.cta-inline p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--slate-300);
  max-width: 52ch;
}

.cta-inline .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

/* 「無理な勧誘はしません」＝不安の先回り。CTA直下に置く */
.cta-inline .reassure {
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--cyan-300);
  margin: 0;
}

@media (min-width: 720px) {
  .cta-inline {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 1.5rem;
  }
  .cta-inline .actions { flex-direction: column; align-items: stretch; }
  .cta-inline .reassure { grid-column: 1 / -1; margin-top: -0.35rem; }
}

/* --- 比較表（対比効果。自社列だけを強調する） --------------------- */
.compare {
  overflow-x: auto;
  margin: 1.75rem 0;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-sm);
  background: var(--white);
}

.compare table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.compare th,
.compare td {
  padding: 0.8rem 0.9rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--slate-100);
}

.compare thead th {
  background: var(--slate-100);
  color: var(--navy-900);
  font-weight: 700;
  white-space: nowrap;
  border-bottom: 2px solid var(--slate-300);
}

.compare tbody th {
  font-weight: 700;
  color: var(--navy-900);
  white-space: nowrap;
}

.compare tbody tr:last-child th,
.compare tbody tr:last-child td { border-bottom: 0; }

/* 自社列 */
.compare .own {
  background: var(--cyan-100);
  border-inline: 2px solid var(--cyan-500);
  font-weight: 700;
  color: var(--navy-950);
}

.compare thead .own {
  background: var(--cyan-500);
  color: var(--white);
  border-color: var(--cyan-500);
}

.compare .mark {
  display: inline-block;
  width: 1.4rem;
  font-weight: 800;
  text-align: center;
}

.compare .mark.yes { color: var(--cyan-500); }
.compare .mark.part { color: var(--slate-500); }
.compare .mark.no { color: var(--orange-500); }

/* --- オファー階段（フット・イン・ザ・ドア：小さなYesから） -------- */
.ladder {
  list-style: none;
  counter-reset: step;
  margin: 1.75rem 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.ladder li {
  counter-increment: step;
  margin: 0;
  padding: 1.15rem 1.3rem 1.15rem 3.6rem;
  position: relative;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-sm);
  background: var(--white);
}

.ladder li::before {
  content: counter(step);
  position: absolute;
  left: 1.15rem;
  top: 1.15rem;
  width: 1.7rem;
  height: 1.7rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--slate-100);
  color: var(--navy-900);
  font-size: 0.82rem;
  font-weight: 800;
}

/* 最初の一歩だけを強調（ここ以外に強調を置かない） */
.ladder li.first {
  border-color: var(--cyan-500);
  border-width: 2px;
  background: var(--cyan-100);
}

.ladder li.first::before {
  background: var(--cyan-500);
  color: var(--white);
}

.ladder strong {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy-950);
  margin-bottom: 0.3rem;
}

.ladder p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--slate-700);
}

.ladder .tag {
  display: inline-block;
  margin-bottom: 0.4rem;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  background: var(--cyan-500);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

/* --- 反論処理（objection handling。CTA直前に置く） ---------------- */
.objection {
  margin: 1.75rem 0;
  display: grid;
  gap: 1px;
  background: var(--slate-300);
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.objection > div {
  background: var(--white);
  padding: 1.1rem 1.25rem;
}

.objection dt,
.objection .q {
  font-weight: 800;
  color: var(--navy-950);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0.3rem;
}

.objection dt::before,
.objection .q::before {
  content: "「";
}

.objection dt::after,
.objection .q::after {
  content: "」";
}

.objection dd,
.objection .a {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--slate-700);
}

/* --- 出典表記（数値の隣に必ず置く） ------------------------------- */
.source-note {
  font-size: 0.76rem;
  line-height: 1.7;
  color: var(--slate-500);
}

@media (max-width: 640px) {
  .fact-strip dd,
  .fact-strip .value { font-size: 1.4rem; }

  .cta-inline { padding: 1.35rem; }
  .cta-inline strong { font-size: 1.02rem; }
}

/* ==========================================================================
   5. 講師の受験記録（権威＋一次情報）
   Cialdiniの権威とGoogleのE-E-A-Tを同時に満たすためのブロック。
   「講師本人の合格実績」であり「受講者の合格実績」ではない、という
   注記(.record-scope)を必ず添えること。混同させると景品表示法上の問題になる。
   ========================================================================== */

.record {
  margin: 2.5rem 0;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-md);
  background: var(--white);
  overflow: hidden;
}

.record-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1rem;
  padding: 1.1rem 1.4rem;
  background: var(--navy-950);
  color: var(--white);
}

.record-head .kicker {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--cyan-300);
}

.record-head strong {
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.5;
}

/* 受験データ（具体性効果：数字と固有名詞を並べる） */
.record-data {
  display: grid;
  gap: 1px;
  background: var(--slate-300);
}

@media (min-width: 640px) {
  .record-data { grid-template-columns: repeat(2, 1fr); }
}

.record-data > div {
  background: var(--white);
  padding: 0.95rem 1.4rem;
}

.record-data dt,
.record-data .k {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--slate-500);
  margin-bottom: 0.2rem;
}

.record-data dd,
.record-data .v {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.6;
  color: var(--navy-950);
  font-variant-numeric: tabular-nums;
}

/* 一次情報の語り（受験して何が起きたか） */
.record-voice {
  padding: 1.4rem;
  background: var(--slate-100);
  border-top: 1px solid var(--slate-300);
}

.record-voice p {
  margin: 0 0 0.8rem;
  font-size: 0.96rem;
  line-height: 1.95;
  color: var(--slate-700);
}

.record-voice p:last-of-type { margin-bottom: 0; }

.record-voice p.lead {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--navy-950);
}

/* 掲載範囲の注記。必ず付ける */
.record-scope {
  display: block;
  padding: 0.85rem 1.4rem;
  background: var(--orange-100);
  border-top: 1px solid var(--slate-300);
  font-size: 0.78rem;
  line-height: 1.75;
  color: var(--slate-700);
}

/* 未確定値のマーカー。公開前に必ず消すこと */
.tbd {
  background: repeating-linear-gradient(
    45deg,
    var(--orange-100),
    var(--orange-100) 6px,
    var(--white) 6px,
    var(--white) 12px
  );
  border: 1px dashed var(--orange-500);
  border-radius: 3px;
  padding: 0 0.3em;
  color: var(--slate-700);
  font-weight: 500;
  white-space: nowrap;
}

/* --- 合格証明書・免状の提示枠 -----------------------------------------
   掲載前に必ずマスキングすること：免状番号／受験番号／住所／生年月日。
   氏名と交付年月日は掲載可否を本人が判断する。
   -------------------------------------------------------------------- */

.record-proof {
  display: grid;
  gap: 1.1rem;
  padding: 1.4rem;
  border-top: 1px solid var(--slate-300);
  background: var(--white);
}

@media (min-width: 640px) {
  .record-proof { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); align-items: start; }
}

.record-proof figure {
  margin: 0;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--slate-100);
}

.record-proof img {
  display: block;
  width: 100%;
  height: auto;
}

.record-proof figcaption {
  padding: 0.5rem 0.7rem;
  font-size: 0.72rem;
  line-height: 1.6;
  color: var(--slate-500);
  border-top: 1px solid var(--slate-300);
  background: var(--white);
}

.record-proof .proof-copy p {
  margin: 0 0 0.7rem;
  font-size: 0.94rem;
  line-height: 1.9;
  color: var(--slate-700);
}

.record-proof .proof-copy p:last-child { margin-bottom: 0; }

.record-proof .proof-copy strong {
  color: var(--navy-950);
}

/* ==========================================================================
   6. 講師プロフィール（権威）
   氏名を非公開にする場合でも、保有資格と指導年数だけで権威は上げられる。
   顔写真が入るとさらに強くなるが、無くても成立する構成にしている。
   ========================================================================== */

.profile {
  display: grid;
  gap: 1.25rem;
  margin: 2rem 0;
  padding: 1.5rem;
  border: 1px solid var(--slate-300);
  border-left: 5px solid var(--cyan-500);
  border-radius: var(--radius-sm);
  background: var(--white);
}

@media (min-width: 620px) {
  .profile { grid-template-columns: minmax(0, 116px) minmax(0, 1fr); align-items: start; }
}

.profile-photo {
  margin: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--slate-100);
}

.profile-photo img,
.profile-photo .image-placeholder {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.profile-name {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.7rem;
  margin: 0 0 0.85rem;
}

.profile-name strong {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy-950);
  line-height: 1.4;
}

.profile-name span {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--slate-500);
}

/* 資格・実績のバッジ列。数字と固有名詞を並べて具体性を出す */
.profile-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 0.9rem;
  padding: 0;
  list-style: none;
}

.profile-facts li {
  margin: 0;
  padding: 0.22rem 0.65rem;
  border: 1px solid var(--cyan-500);
  border-radius: 999px;
  background: var(--cyan-100);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.6;
}

.profile-body p {
  margin: 0 0 0.7rem;
  font-size: 0.93rem;
  line-height: 1.9;
  color: var(--slate-700);
}

.profile-body p:last-child { margin-bottom: 0; }

.profile-body .note {
  font-size: 0.78rem;
  color: var(--slate-500);
}

/* --- 顔写真を掲載しない場合 -------------------------------------------
   講師が顔出しを望まないケースは珍しくない。空の枠を残すと未完成に見えるので、
   figure を削除して .is-no-photo を付ける。資格バッジ列が視覚的な芯を担う。
   代替案として「顔が写らない手元の指導風景」を入れる場合は figure を戻すだけでよい。
   -------------------------------------------------------------------- */

.profile.is-no-photo {
  grid-template-columns: 1fr;
}

@media (min-width: 620px) {
  .profile.is-no-photo { grid-template-columns: 1fr; }
}

/* 顔写真がない分、資格バッジを少し強く見せる */
.profile.is-no-photo .profile-name strong {
  font-size: 1.22rem;
}

.profile.is-no-photo .profile-facts {
  margin-bottom: 1.1rem;
}

/* --- 制度案内ブロック（認定後にカスタマイザーでONにすると表示） ---------- */

.subsidy {
  margin: 2rem 0;
  padding: 1.5rem 1.75rem;
  border: 2px solid var(--cyan-500);
  border-radius: var(--radius-md);
  background: var(--cyan-100);
}

.subsidy-title {
  margin: 0 0 0.7rem;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.65;
  color: var(--navy-950);
}

.subsidy-body {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--slate-700);
}

.subsidy-note {
  margin: 0.8rem 0 0;
  font-size: 0.78rem;
  line-height: 1.7;
  color: var(--slate-500);
}

/* ==========================================================================
   14. 申込みの流れ／お問い合わせフォーム
   .mock-form は無料体験レッスン申込・お問い合わせフォーム（#contact-form）の
   実際のスタイルとして使用中。表示条件の出し分けは JavaScript を使わず
   下の :has() セレクタだけで行っている。
   ========================================================================== */

.contact-form-block {
  margin-top: 48px;
}

.contact-form-block h3 {
  margin: 0 0 20px;
  font-size: 22px;
  line-height: 1.5;
  color: var(--navy-950);
  text-align: center;
}

.form-notice {
  max-width: 720px;
  margin: 0 auto 1.2rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  line-height: 1.8;
}

.form-notice p:first-child { margin: 0 0 0.3rem; font-weight: 700; }
.form-notice ul { margin: 0.4rem 0 0; padding-left: 1.2em; }

.form-notice.is-success {
  color: var(--navy-950);
  background: var(--cyan-100);
  border: 1px solid var(--cyan-500);
}

.form-notice.is-error {
  color: var(--navy-950);
  background: var(--orange-100);
  border: 1px solid var(--orange-500);
}

.mock-banner {
  margin: 0 0 2rem;
  padding: 1rem 1.25rem;
  border: 2px dashed var(--orange-500);
  border-radius: var(--radius-sm);
  background: var(--orange-100);
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--navy-950);
}

.mock-banner strong { font-weight: 800; }

.flow-routes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.flow-route {
  padding: 1.5rem 1.6rem 1.7rem;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.flow-route.is-primary {
  border: 2px solid var(--cyan-500);
  background: var(--cyan-100);
}

.flow-route-scale {
  display: inline-block;
  margin: 0 0 0.5rem;
  padding: 0.28rem 0.8rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--white);
  background: var(--blue-700);
}

.flow-route.is-primary .flow-route-scale { background: var(--cyan-500); }

.flow-route h3 {
  margin: 0 0 0.35rem;
  font-size: 1.06rem;
  line-height: 1.6;
  color: var(--navy-950);
}

.flow-route-sub {
  margin: 0 0 1.1rem;
  font-size: 0.82rem;
  line-height: 1.75;
  color: var(--slate-500);
}

.flow-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: flowstep;
}

.flow-steps li {
  position: relative;
  margin: 0;
  padding: 0 0 1.15rem 2.5rem;
  font-size: 0.9rem;
  line-height: 1.85;
  color: var(--slate-700);
}

.flow-steps li::before {
  counter-increment: flowstep;
  content: counter(flowstep);
  position: absolute;
  top: 0.15rem;
  left: 0;
  display: grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--white);
  background: var(--navy-800);
}

.flow-steps li::after {
  content: "";
  position: absolute;
  top: 2rem;
  left: 0.82rem;
  width: 2px;
  height: calc(100% - 2rem);
  background: var(--slate-300);
}

.flow-steps li:last-child { padding-bottom: 0; }
.flow-steps li:last-child::after { display: none; }

.flow-steps strong { color: var(--navy-950); }

.flow-steps .flow-doc {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.78rem;
  color: var(--slate-500);
}

/* --- フォーム本体 ------------------------------------------------------- */

.mock-form {
  max-width: 720px;
  margin: 2rem auto;
  padding: 2rem 2.2rem 2.2rem;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  text-align: left;
}

.mock-form .field {
  margin: 0 0 1.6rem;
}

.mock-form .field:last-of-type { margin-bottom: 1rem; }

.mock-form .field > label,
.mock-form .field-label {
  display: block;
  margin: 0 0 0.45rem;
  font-size: 0.93rem;
  font-weight: 700;
  line-height: 1.6;
  color: var(--navy-950);
}

.req,
.opt {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.12rem 0.5rem;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 800;
  vertical-align: 0.1em;
}

.req { color: var(--white); background: var(--orange-500); }
.opt { color: var(--slate-500); background: var(--slate-100); }

.mock-form .hint {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  line-height: 1.75;
  color: var(--slate-500);
}

.mock-form input[type="text"],
.mock-form input[type="email"],
.mock-form input[type="tel"],
.mock-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--navy-950);
  background: var(--white);
  box-sizing: border-box;
}

.mock-form textarea { min-height: 9rem; resize: vertical; }

.mock-form input:focus,
.mock-form textarea:focus {
  outline: 3px solid var(--orange-500);
  outline-offset: 1px;
  border-color: var(--orange-500);
}

.mock-form input::placeholder,
.mock-form textarea::placeholder { color: var(--slate-300); }

.choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.choices.stacked { flex-direction: column; gap: 0.5rem; }

.choices label {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.7rem 1rem;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--slate-700);
  background: var(--white);
  cursor: pointer;
}

.choices input { margin-top: 0.32rem; accent-color: var(--cyan-500); }

.choices label:has(input:checked) {
  border-color: var(--cyan-500);
  background: var(--cyan-100);
  color: var(--navy-950);
  font-weight: 700;
}

.consent {
  margin: 1.4rem 0 0;
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-sm);
  background: var(--slate-100);
}

.consent label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--navy-950);
  cursor: pointer;
}

.consent + .consent { margin-top: 0.8rem; }
.consent input { margin-top: 0.35rem; accent-color: var(--cyan-500); }

.mock-form .submit-row {
  margin: 1.8rem 0 0;
  text-align: center;
}

.mock-form .submit-row .button { width: 100%; max-width: 22rem; }

.mock-form .submit-note {
  margin: 0.9rem 0 0;
  font-size: 0.78rem;
  line-height: 1.75;
  color: var(--slate-500);
}

.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* --- 送信後に届くメールの見本 ------------------------------------------- */

.mail-preview {
  max-width: 720px;
  margin: 2rem 0;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.mail-preview-head {
  padding: 0.9rem 1.3rem;
  border-bottom: 1px solid var(--slate-300);
  font-size: 0.82rem;
  line-height: 1.8;
  color: var(--slate-500);
  background: var(--slate-100);
}

.mail-preview-head strong { display: block; color: var(--navy-950); font-size: 0.95rem; }

.mail-preview-body {
  margin: 0;
  padding: 1.3rem 1.5rem;
  font-size: 0.86rem;
  line-height: 1.95;
  color: var(--slate-700);
  white-space: pre-wrap;
  font-family: inherit;
}

.mail-preview-body b { color: var(--navy-950); }

@media (max-width: 860px) {
  .flow-routes { grid-template-columns: 1fr; }
  .mock-form { padding: 1.5rem 1.3rem 1.7rem; }
}

/* 条件分岐は :has() だけで行う。JavaScript を入れないのは、固定ページの本文に
   script を書くと環境によっては保存時に除去されるため。実装側は同じ挙動を
   JS で実現しても構わない（表示条件は下のセレクタが仕様そのもの）。 */

.field-trial,
.line-note { display: none; }

.mock-form:has(#topic-trial:checked) .field-trial { display: block; }
.mock-form:has(#reply-line:checked) .field-contact { display: none; }
.mock-form:has(#reply-line:checked) .line-note { display: block; }

.line-note {
  margin: 0.6rem 0 0;
  padding: 0.9rem 1.1rem;
  border-left: 4px solid var(--cyan-500);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.86rem;
  line-height: 1.85;
  color: var(--slate-700);
  background: var(--cyan-100);
}

/* FAQ 回答内のリンク。回答は wp_kses で a / strong / br だけ通しているため、
   リンクだと分かる見た目を明示的に与える（本文リンクの既定色は継承しない）。 */
.faq-list details p a {
  color: var(--blue-700);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq-list details p a:hover {
  color: var(--cyan-500);
}

/* 記事本文の写真。縦長の写真が画面を占領しないよう高さで頭打ちにする。
   記事の写真は「指導の現場で撮ったもの」なので、飾りではなく説明の一部。
   必ず figcaption で何を見ればいいかを書くこと。 */
.entry-content .post-figure {
  margin: 2rem 0;
}

.entry-content .post-figure img {
  display: block;
  width: 100%;
  max-width: 520px;
  height: auto;
  margin: 0 auto;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.entry-content .post-figure figcaption {
  max-width: 520px;
  margin: 0.7rem auto 0;
  font-size: 0.8rem;
  line-height: 1.8;
  color: var(--slate-500);
}

/* 図表（グラフ）は写真より幅を取る。520pxだと数字が読めない。
   影と角丸は写真用の演出なので、図表では外す。 */
.entry-content .post-figure-wide img {
  max-width: 780px;
  box-shadow: none;
  border: 1px solid var(--slate-300);
  background: var(--white);
}

.entry-content .post-figure-wide figcaption {
  max-width: 780px;
}

/* 記事の署名と著者欄
   -------------------------------------------------------------------
   「誰が書いたか」は検索評価にも読者の納得にも効く。
   氏名は姓のみという掲載方針なので、肩書きと保有資格で人物像を示す。 */
.entry-byline {
  font-weight: 700;
  color: var(--navy-800);
}

.entry-author {
  margin: 3rem 0 0;
  padding: 1.6rem 1.8rem;
  background: var(--slate-100);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--cyan-500);
}

.entry-author-heading {
  margin: 0 0 0.9rem;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--slate-500);
}

.entry-author-name {
  margin: 0 0 0.7rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.6rem;
}

.entry-author-name-main {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy-900);
}

.entry-author-role {
  font-size: 0.82rem;
  color: var(--slate-500);
}

.entry-author-creds {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 0.9rem;
  padding: 0;
  list-style: none;
}

.entry-author-creds li {
  font-size: 0.76rem;
  line-height: 1.5;
  padding: 0.25rem 0.6rem;
  background: var(--white);
  border: 1px solid var(--slate-300);
  border-radius: 999px;
  color: var(--slate-700);
}

.entry-author-bio {
  margin: 0 0 0.7rem;
  font-size: 0.88rem;
  line-height: 1.9;
  color: var(--slate-700);
}

.entry-author-note {
  margin: 0.9rem 0 0;
  font-size: 0.74rem;
  line-height: 1.7;
  color: var(--slate-500);
}

@media (max-width: 640px) {
  .entry-author { padding: 1.3rem 1.1rem; }
}
