@charset "UTF-8";
@import url("base.css");
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&display=swap");

/* ==========================================================
   ヘッダー
   ========================================================== */
header {
  background-color: #fff;
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  padding: 16px 24px;
}

.header-btn {
  line-height: 0;
}

.site-logo {
  font-size: 0;
  line-height: 0;
}

.site-logo a {
  display: inline-block;
}

.site-logo img {
  width: 290px;
  height: auto;
}

.header-btn img {
  display: block;
  height: 60px;
  width: auto;
}

/* ==========================================================
   ヒーローセクション
   ========================================================== */
.hero {
  position: relative;
  margin: 0 auto;
}

.hero-images {
  width: 100%;
}

.hero-images img {
  width: 100%;
  display: block;
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 776px;
  z-index: 2;
  pointer-events: none;
}

.hero-text img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================
   リードテキスト
   ========================================================== */
.lead {
  background-color: var(--color-red);
  color: #fff;
  padding-block: 60px;
}

.lead .container {
  text-align: center;
}

.lead p {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.8;
}

/* ==========================================================
   監修・情報セクション (バッジ+ピンアイコンカード)
   ========================================================== */
.supervision {
  padding: 60px 20px 40px;
}

.supervision .container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.supervision-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--color-card-border);
  padding: 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* 黄色バッジ */
.supervision-card .badge {
  background-color: var(--color-yellow);
  border-radius: 8px;
  padding: 4px 16px;
  width: max-content;
  max-width: 100%;
}

.supervision-card .badge p {
  font-weight: 700;
  font-size: 18px;
  line-height: 30px;
  color: #000;
  margin: 0;
  word-break: break-word;
}

/* コンテンツ */
.supervision-card .content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}

.supervision-card .row {
  display: flex;
  gap: 4px;
  width: 100%;
}

.supervision-card .item {
  display: flex;
  flex: 1;
  gap: 4px;
  align-items: center;
  min-width: 0;
}

.supervision-card .text {
  flex: 1;
  min-width: 0;
  font-weight: 700;
  line-height: 28px;
  color: #9a262f;
  margin: 0;
  word-break: break-word;
}

/* ピンアイコン (チェック) */
.supervision-card .icon-wrapper {
  width: 27px;
  height: 27px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.supervision-card .icon-rotate {
  transform: rotate(-45deg);
}

.supervision-card .pin {
  width: 19.092px;
  height: 19.092px;
  position: relative;
}

.supervision-card .pin-horizontal {
  position: absolute;
  left: 4.55px;
  top: 8.93px;
  width: 12px;
  height: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.supervision-card .pin-horizontal-inner {
  width: 4px;
  height: 12px;
  background-color: #ff5600;
  transform: rotate(-90deg);
}

.supervision-card .pin-vertical {
  position: absolute;
  left: 4.55px;
  top: 3.93px;
  width: 4px;
  height: 9px;
  background-color: #d10000;
}

/* 情報協力カード (avatar 80px + logo + text) */
.info-card .content {
  gap: 24px;
}

.info-card .info-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.info-card .section-title {
  font-weight: 700;
  line-height: 28px;
  color: #000;
  margin: 0;
}

.info-card .profile-item {
  display: flex;
  gap: 16px;
  align-items: center;
}

.info-card .avatar {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  border-radius: 50%;
  border: 1px solid var(--color-card-border);
}

.info-card .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.info-card .profile-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.info-card .logo {
  height: 40px;
  width: auto;
  display: flex;
  align-items: center;
}

.info-card .logo img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

.info-card .logo-wide {
  max-width: 215px;
}

.info-card .profile-text {
  font-weight: 400;
  line-height: 28px;
  color: #000;
  white-space: pre;
  margin: 0;
}

.info-card .school-grid {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.info-card .school-grid .profile-item {
  flex: 1;
  min-width: 0;
}

.info-card .divider {
  width: 1px;
  align-self: stretch;
  background-color: #e5e5e5;
  flex-shrink: 0;
}


/* ==========================================================
   記事コンテンツ・見出し
   ========================================================== */
.article {
  padding: 80px 0 60px;
  background-color: var(--color-white);
}

/* 通常のh2 (赤バー左) */
h2 {
  font-size: 32px;
  font-weight: 900;
  line-height: 1.5;
  padding-left: 16px;
  border-left: 6px solid var(--color-red);
  margin-bottom: 32px;
  letter-spacing: 0.02em;
}

/* h2 内のサブ行 (2行構成 h2 の下段) */
.h2-sub {
  display: block;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.5;
}

/* 記事タイトル：黄色バナー + 赤三角アクセント */
.hero-banner {
  background-color: #FFE600;
  padding: 20px;
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 136px;
  overflow: hidden;
  margin-bottom: 40px;
}

.hero-content {
  max-width: 1080px;
  width: 100%;
  text-align: center;
  padding: 0 20px;
}

.hero-title {
  font-weight: 900;
  font-size: 40px;
  line-height: 48px;
  color: var(--color-red);
  margin: 0;
  padding: 0;
  border-left: 0;
  word-break: break-word;
  letter-spacing: 0.02em;
}

.triangle {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.triangle svg {
  display: block;
}

.triangle-top-left {
  top: -17.33px;
  left: -17.32px;
  transform: rotate(-30deg);
}

.triangle-bottom-right {
  bottom: -17.32px;
  right: -17.34px;
  transform: rotate(150deg);
}

h3 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
  margin: 32px 0 16px;
  padding-left: 12px;
  border-left: 4px solid var(--color-red);
}

/* 記事内サブ見出し (左バー無し、太字) */
.article-subheading {
  font-size: 24px;
  font-weight: 900;
  line-height: 1.5;
  margin: 8px 0 24px;
  padding-left: 0;
  border-left: 0;
  color: var(--color-text);
}

h4 {
  font-size: 18px;
  font-weight: 700;
  margin: 24px 0 12px;
}

.article p,
section p {
  line-height: 1.9;
  margin-bottom: 0.5em;
}

.article-intro {
  margin-bottom: 24px;
}

.article-body {
  margin-bottom: 24px;
}

/* ==========================================================
   共通チェックリスト (info-box / suited-list / student-type)
   Figma準拠：赤＋オレンジの2色チェックアイコン
   ========================================================== */
.info-box {
  background-color: #fff;
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-card);
  padding: 24px 32px;
  margin: 16px 0;
}

.info-box ul {
  display: flex;
  flex-direction: column;
}

.info-box li,
.suited-list > li,
.student-type ul > li {
  position: relative;
  padding-left: 32px;
  line-height: 2;
  font-weight: 700;
  color: var(--color-red-dark);
}

.info-box li::before,
.suited-list > li::before,
.student-type ul > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><g transform='rotate(-45 10 10)'><rect x='5.5' y='4.5' width='3' height='9' fill='%23D10000'/><rect x='5.5' y='10.5' width='10' height='3' fill='%23FF5600'/></g></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* 保護者セクションの質問リスト（中黒・テキスト寄り） */
.section-routes > .container > ul,
.section-parents > .container > ul {
  margin: 16px 0;
}

.section-routes > .container > ul > li,
.section-parents > .container > ul > li {
  position: relative;
  padding-left: 1em;
  line-height: 1.9;
  margin-bottom: 0.5em;
}

.section-parents > .container > ul > li {
  margin-bottom: 0;
}

.section-routes > .container > ul > li::before,
.section-parents > .container > ul > li::before {
  content: "・";
  position: absolute;
  left: 0;
  top: 0;
}

.section-routes > .container > ul > li {
  color: var(--color-red-dark);
  font-weight: 700;
}

.section-parents .info-box {
  background-color: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
}

/* ==========================================================
   CTA ボタン
   ========================================================== */
.cta-inline,
.cta {
  padding: 60px 20px;
  text-align: center;
  background-color: var(--background-cta);
}

.cta-inline {
  background-color: var(--background-cta);
}

.section-routes .cta-inline {
  background-color: var(--color-white);
  padding-inline: 0 !important;
}

.cta-button {
  display: inline-block;
  line-height: 1;
  transition: opacity 0.2s ease;
  border-radius: 12px;
  box-shadow: 4px 4px 4px 0 rgba(0, 0, 0, 0.16);
}

.cta-button:hover {
  opacity: 0.85;
}

.cta-button img {
  max-width: 100%;
  height: auto;
}

/* テキスト型 CTA (画像なし) */
section.cta .cta-button:not(:has(img)) {
  background-color: var(--color-red);
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  padding: 18px 48px;
  border-radius: var(--radius-btn);
  line-height: 1.4;
  box-shadow: 0 2px 0 var(--color-red-dark);
}

section.cta .cta-button:not(:has(img)):hover {
  opacity: 1;
  background-color: var(--color-red-dark);
}

section.cta p {
  margin-bottom: 16px;
  font-weight: 500;
}

/* ==========================================================
   このページを書いた人 (author profile)
   ========================================================== */
.author-profile {
  padding: 50px 20px;
}

.author-profile .container {
  max-width: var(--container-pc);
}

.author-inner {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 32px;
  align-items: start;
}

.author-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.author-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--color-card-border);
}

.author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info {
  text-align: center;
}

.author-name {
  font-size: 14px;
  margin-bottom: 0;
}

.author-title {
  font-weight: 700;
}

.author-text {
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--color-card-border);
  padding: 24px 32px;
}

.author-text p {
  margin-bottom: 12px;
}

.section-tuition,
.section-bologna,
.section-career,
.section-routes,
.section-flow,
.section-suited,
.section-challenges,
.section-summary,
.section-support
 {
  background-color: var(--color-white);
}

/* ==========================================================
   各セクション 共通
   ========================================================== */
section[class^="section-"] {
  padding: 50px 20px;
}

section[class^="section-"] figure {
  margin: 24px 0;
}

section[class^="section-"] figure img {
  max-width: 100%;
  height: auto;
}

.subsection {
  margin-top: 24px;
}

/* ==========================================================
   費用テーブル
   ========================================================== */
.section-cost table {
  width: fit-content;
  background-color: #fff;
  border: 1px solid var(--color-card-border);
  overflow: hidden;
  margin: 16px 0 24px;
}

.section-cost th,
.section-cost td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--color-card-border);
  vertical-align: top;
  text-align: left;
}

.section-cost tr:last-child th,
.section-cost tr:last-child td {
  border-bottom: 0;
}

.section-cost th {
  background-color: var(--color-yellow);;
  font-weight: 700;
  width: 120px;
  border-right: 1px solid var(--color-card-border);
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
}

/* ==========================================================
   入試スコア表 (60% + 40% + 4点 = 14点)
   ========================================================== */
.score-breakdown {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  margin: 8px 0;
  flex-wrap: wrap;
}

.score-group {
  display: flex;
  align-items: center;
  gap: 2px;
}

.score-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 96px;
  padding: 8px 6px;
  color: #fff;
  font-weight: 700;
  text-align: center;
}

.score-item-1 {
  background-color: #9A2630;
}

.score-item-2 {
  background-color: #C94B57;
}

.score-item-3 {
  background-color: #E8A2A8;
  color: var(--color-text);
}

.score-label {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.2;
}

.score-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 900;
}

.score-item-3 .score-circle {
  background-color: #fff;
  color: var(--color-red-dark);
}

.score-total {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--color-yellow);
  color: var(--color-text);
  font-weight: 900;
  text-align: center;
  line-height: 1.1;
}

.score-total p {
  font-size: 20px;
  font-weight: 900;
  margin: 0;
}

.score-total-sub {
  font-size: 12px;
  font-weight: 700;
}

.score-op {
  font-size: 20px;
  font-weight: 900;
  color: var(--color-red);
  margin: 0 4px;
  align-self: center;
}

.score-group .score-op {
  color: var(--color-red);
  margin: 0;
}

/* ==========================================================
   進学ルート (route) / Voice
   ========================================================== */
.route {
  background-color: var(--color-bg);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-card);
  padding: 32px 40px;
  margin-top: 40px;
}

.route-title {
  font-size: 24px;
  font-weight: 900;
  line-height: 1.5;
  margin: 0;
  margin-bottom: 0;
  padding: 0 0 8px 0;
  border-left: 0;
  border-bottom: 4px solid var(--color-yellow);;
  color: var(--color-text);
  display: inline-block;
}

.route-label {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
  margin: 12px 0 8px;
}

.route-univ {
  font-weight: 700;
  color: var(--color-red-dark);
  margin-bottom: 12px;
  text-decoration: underline;
}

.route-schools {
  list-style: none;
  padding: 0;
  margin: 4px 0 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.route-schools li {
  color: var(--color-red-dark);
  font-weight: 700;
  text-decoration: underline;
}

.voice {
  background-color: var(--color-bg);
  border-radius: var(--radius-card);
  margin-top: 24px;
}

.voice h4 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  margin: 0 0 12px;
}

/* PC: photo + profile / white card の横並び。SP では縦並びに切り替え */
.voice-inner {
  display: flex;
  flex-wrap: nowrap;
  gap: 32px;
  align-items: flex-start;
}

.voice-side {
  flex: 0 0 auto;
  width: 140px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.voice-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--color-card-border);
  margin: 0 !important;
}

.voice-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.voice-profile {
  width: 100%;
}

.voice-profile p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-text);
}

.voice-profile-name,
.voice-profile p:last-child {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.75;
  margin-top: 4px;
}

.voice-text {
  flex: 1 1 0;
  min-width: 0;
  background-color: #fff;
  border-radius: var(--radius-card);
  padding: 24px 32px;
  border: 1px solid var(--color-card-border);
}

.voice-text p {
  line-height: 1.75;
  margin: 0 0 12px;
}

.voice-text p:last-child {
  margin-bottom: 0;
}

.voice-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.voice-text > .voice-photos:last-child {
  margin-bottom: 0;
}

.voice-photos figure {
  margin: 0 !important;
}

.voice-photos figure img {
  width: 100%;
}

.voice-schools {
  margin-top: 24px;
}

/* ==========================================================
   モデルケース / 進学事例
   ========================================================== */
.model-cases {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 16px 0;
}

.model-cases li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  background: transparent;
  border: 0;
  font-weight: 500;
}

.case-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-red);
  color: #fff;
  font-weight: 900;
  padding: 5px 14px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  flex-shrink: 0;
  line-height: 1.4;
}

.case-text {
}

/* IFP生 / 体験談カード：白カードで全コンテンツを内包 */
.voice-card {
  background-color: #fff;
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-card);
  padding: 24px 32px;
  margin: 16px 0;
}

.voice-block + .voice-block {
  margin-top: 0;
}

.voice-name {
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}

.voice-divider {
  border: 0;
  border-top: 1px solid var(--color-card-border);
  margin: 20px 0;
}

/* Q&A リスト（黄色Q／赤A バッジ＋テキスト） */
.qa-list {
  margin: 16px 0 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.qa-list dt,
.qa-list dd {
  position: relative;
  padding-left: 36px;
  line-height: 28px;
  margin: 0;
}

.qa-list dt {
  font-weight: 400;
  color: var(--color-text);
}

.qa-list dd {
  font-weight: 400;
  color: var(--color-text);
}

.qa-list dd + dt {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--color-card-border);
}

.qa-list dt::before,
.qa-list dd::before {
  position: absolute;
  left: 0;
  top: 2px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 16px;
  font-family: "Noto Sans", "Noto Sans JP", sans-serif;
  line-height: 1;
}


.qa-list dd +dt::before {
  top: 18px;
}

.qa-list dt::before {
  content: "Q";
  background-color: var(--color-yellow);;
  color: var(--color-text);
}

.qa-list dd::before {
  content: "A";
  background-color: var(--color-red);
  color: #fff;
}

.qa-list dd p {
  margin: 0 0 4px 0;
  line-height: 1.9;
}

.qa-list dd p:last-child {
  margin-bottom: 0;
}

/* ==========================================================
   向いている人 / こんな高校生 / 保護者
   ========================================================== */
.suited-list {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-card);
  padding: 24px 32px;
  margin: 24px 0;
}

.student-type {
  background-color: #fff;
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-card);
  padding: 28px 32px;
  margin: 24px 0;
}

.student-type h3,
.student-type .case-head {
  border-left: 0;
  padding-left: 0;
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
}

.case-title {
  font-weight: 700;
  line-height: 1.5;
}

.student-type ul {
  margin-bottom: 12px;
}

/* ==========================================================
   壁 (challenges) dl - シンプル：赤色見出し＋本文
   ========================================================== */
.challenges-list {
  margin: 16px 0;
}

.challenges-list dt {
  font-weight: 700;
  color: var(--color-red-dark);
  text-decoration: underline;
}

.challenges-list dt:first-child {
  margin-top: 0;
}

.challenges-list dd {
  line-height: 1.9;
  margin: 4px 0 0 0;
}

/* ==========================================================
   進学までの流れ (flow-steps)
   ========================================================== */
.flow-steps {
  display: flex;
  flex-direction: column;
  margin: 24px 0;
}

.flow-steps li {
  position: relative;
  background-color: #fff;
  border: 1px solid var(--color-card-border);
}

.flow-steps li + li {
  margin-top: 28px;
}

.flow-steps li + li::before {
  content: "";
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 14px 14px 0 14px;
  border-color: var(--color-red) transparent transparent transparent;
}

.flow-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 20px;
  background-color: var(--color-yellow);
}

.flow-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-red);
  color: #fff;
  font-weight: 900;
  font-size: 14px;
  padding: 2px 14px;
  border-radius: 999px;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.flow-steps li h3 {
  margin: 0;
  border-left: 0;
  padding-left: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-text);
}

.flow-steps li p {
  margin: 0;
  line-height: 1.7;
    font-weight: 700;
  padding: 8px 20px;
}

/* ==========================================================
   FAQ
   ========================================================== */
.faq-list {
  background-color: #fff;
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-card);
  padding: 24px 32px;
  margin: 24px 0;
}

.faq-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--color-card-border);
}

.faq-item:last-child {
  border-bottom: 0;
}

.faq-item dt,
.faq-item dd {
  position: relative;
  padding-left: 40px;
  line-height: 1.8;
}

.faq-item dt {
  font-weight: 700;
  margin-bottom: 8px;
}

.faq-item dt::before,
.faq-item dd::before {
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 14px;
  color: #fff;
}

.faq-item dt::before {
  content: "Q";
  background-color: var(--color-yellow);
  color: var(--color-text);
}

.faq-item dd::before {
  content: "A";
  background-color: var(--color-red);
}

/* ==========================================================
   サポート / まとめ / おわりに
   ========================================================== */
.section-summary,
.section-support {
  padding-bottom: 50px;
}

.support-highlight {
  color: var(--color-red);
  font-weight: 700;
  text-decoration: underline;
  margin-bottom: 4px !important;
}

/* ==========================================================
   フォーム (アスメル / formTable)
   構造は変更せず、表ベースの形をブロック化してデザインを反映
   ========================================================== */
.section-form {
  background-color: var(--color-bg);
  padding: 60px 20px;
}

.section-form h2 {
  margin-bottom: 16px;
}

.section-form .form-lead {
  margin-bottom: 32px;
}

.section-form fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}

/* テーブル全体をブロック化 */
.formTable {
  width: 100%;
  border: 0 !important;
  border-collapse: collapse;
  background: transparent;
}

.formTable,
.formTable tbody,
.formTable tr,
.formTable th,
.formTable td {
  display: block;
  width: 100%;
  border: 0 !important;
  background: transparent !important;
  padding: 0;
  text-align: left;
  white-space: normal;
}

.formTable tr {
  margin-bottom: 24px;
}

/* ラベル (th) */
.formTable th,
.formTable th label {
  font-weight: 700;
  color: var(--color-text);
  padding: 0 !important;
  margin-bottom: 8px;
  background: none !important;
}

.formTable th {
  margin-bottom: 8px;
}

.formTable th label {
  display: inline;
  margin: 0;
}

/* 必須マーク */
.formTable .require {
  display: inline-block;
  margin-top: -2px;
  margin-left: 8px;
  padding: 4px 8px;
  color: var(--color-red);
  font-size: 14px;
  font-weight: 700;
  vertical-align: middle;
  border-radius: 4px;
  background: #FFF7F7;
}

/* 入力 (td) */
.formTable td {
  padding: 0 !important;
}

/* インプット類 */
.formTable input[type="text"],
.formTable input[type="email"],
.formTable input[type="tel"],
.formTable select,
.formTable textarea {
  width: 100%;
  max-width: 480px;
  border: 1px solid var(--color-form-border);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 16px;
  background-color: #fff;
  color: var(--color-text);
  font-family: inherit;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
}

.formTable input[type="text"]:focus,
.formTable input[type="email"]:focus,
.formTable input[type="tel"]:focus,
.formTable select:focus,
.formTable textarea:focus {
  border-color: var(--color-red);
  outline: none;
}

/* 姓 名 を横並び */
.formTable .inputTextShortest {
  width: auto;
  max-width: 205px !important;
  display: inline-block;
  margin-right: 9px;
  vertical-align: middle;
}

.formTable td > label[for="touroku_name1"],
.formTable td > label[for="touroku_name2"] {
  display: inline-block;
  font-weight: 700;
  margin-right: 4px;
  vertical-align: middle;
}

/* テキストエリア */
.formTable textarea {
  max-width: 100%;
  width: 100%;
  resize: vertical;
  min-height: 140px;
  line-height: 1.7;
}

/* セレクト */
.formTable select.inputSelect {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%23333' d='M6 8L0 0h12z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 36px;
  cursor: pointer;
  max-width: 480px;
}

/* ラジオボタン */
.formTable input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 1.5px solid #999;
  border-radius: 50%;
  background-color: #fff;
  vertical-align: middle;
  margin: 0 8px 0 0;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
}

.formTable input[type="radio"]:checked {
  border-color: var(--color-red);
}

.formTable input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--color-red);
}

.formTable td label.inputText {
  display: inline-block;
  font-weight: 400;
  margin: 0 16px 0 0;
  vertical-align: middle;
  cursor: pointer;
}

/* ラジオセル内のレイアウト */
.formTable td br {
  line-height: 2.4;
}

/* このサイトをどこで知りましたか (ラジオを3カラム表示) */
.formTable .radio-list {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px 16px;
}

.formTable .radio-list input[type="radio"] {
  margin-right: 6px;
}

/* 注釈 */
.section-form .form-note {
  margin: 16px 0 0;
}

/* 送信ボタン */
.section-form .center-text {
  text-align: center;
  margin-top: 32px;
}

.section-form .formBtn {
  background-color: var(--color-red);
  color: #fff !important;
  font-weight: 700;
  font-size: 20px;
  padding: 22px 64px;
  border: 0;
  border-radius: var(--radius-btn);
  min-width: 320px;
  cursor: pointer;
  box-shadow: 0 3px 0 var(--color-red-dark);
  transition: background-color 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
  font-family: inherit;
}

.section-form .formBtn:hover {
  background-color: var(--color-red-dark);
}

/* ==========================================================
   フッター
   ========================================================== */
footer {
  margin-top: 0;
}

.footer-banner {
  background-color: var(--color-red);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #D80100;
}

.footer-logo {
  display: inline-block;
  max-width: 1080px;
  width: 100%;
  text-align: left;
}

.footer-logo img {
  max-width: 489px;
  width: 100%;
  height: auto;
}

.footer-copyright {
  background-color: #990000;
  color: #fff;
  text-align: center;
  padding: 12px 16px;
}

.footer-copyright p {
  font-size: 13px;
  margin: 0;
  font-weight: 500;
}

/* ==========================================================
   フォーム送信完了 (Thanks)
   ========================================================== */
.section-thanks {
  background-color: #FFFFEA;
  padding: 60px 16px 80px;
}

.section-thanks .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.thanks-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.thanks-header {
  width: 100%;
}

.thanks-title {
  width: 700px;
  max-width: 100%;
  margin: 0;
  padding: 0 0 12px;
  border-left: 0;
  border-bottom: 4px solid var(--color-yellow);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
  color: #000;
}

.thanks-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  color: #000;
}

.thanks-body p {
  margin: 0;
  line-height: 1.75;
}

.thanks-back {
  margin: 0;
  text-align: center;
  font-size: 16px;
  line-height: 1.75;
}

.thanks-back a {
  color: var(--color-red-dark);
  text-decoration: underline;
}

.thanks-back a:hover {
  opacity: 0.7;
}

/* ==========================================================
   レスポンシブ (タブレット)
   ========================================================== */
@media screen and (max-width: 1024px) {
  .info-card .school-grid {
    flex-direction: column;
    gap: 24px;
  }

  .info-card .divider {
    width: 100%;
    height: 1px;
    align-self: auto;
  }

  .hero-title {
    font-size: 20px;
    line-height: 32px;
  }
}

/* ==========================================================
   レスポンシブ (スマホ)
   ========================================================== */
@media screen and (max-width: 768px) {
  /* ヘッダー */
  .header-inner {
    padding: 12px 16px;
    gap: 12px;
  }

  .site-logo img {
    width: 180px;
  }

  .header-btn img {
    height: 48px;
  }

  /* リード */
  .lead {
    padding-block: 40px;
    padding-inline: 16px;
  }

  .lead .container {
    text-align: left;
  }

  /* 監修 */
  .supervision {
    padding: 60px 16px 40px;
  }

  .supervision-card {
    padding: 16px;
  }

  .supervision-card .badge {
    width: 100%;
  }

  .supervision-card .badge p {
    font-size: 16px;
    line-height: 24px;
  }

  .supervision-card .row {
    flex-direction: column;
  }

  .supervision-card .text {
    font-size: 14px;
    line-height: 24px;
  }

  .info-box {
    padding: 16px;
  }

  .info-box ul {
    grid-template-columns: 1fr;
  }

  /* 情報協力 SP対応 */
  .info-card .profile-text {
    white-space: normal;
  }

  /* 見出し */
  h2 {
    font-size: 21px;
    padding-left: 12px;
    border-left-width: 5px;
    margin-bottom: 20px;
  }

  .h2-sub {
    font-size: 16px;
    margin-top: 4px;
  }

  /* 記事タイトル(バナー) SP */
  .hero-banner {
    min-height: 46px;
    padding: 16px 8px;
    margin-bottom: 24px;
  }

  .hero-content {
    padding: 0 6px;
  }

  .hero-text {
    max-width: 360px;
  }

  .triangle svg {
    width: 36px;
    height: 24px;
  }

  .triangle-top-left {
    top: -12px;
    left: -12px;
  }

  .triangle-bottom-right {
    bottom: -12px;
    right: -12px;
  }

  .article-subheading {
    font-size: 18px;
  }

  h3 {
    font-size: 18px;
  }

  h4 {
    margin: 8px 0 6px;
  }

  /* 記事 */
  .article,
  .author-profile,
  section[class^="section-"] {
    padding-block: 60px 40px;
    padding-inline: 16px;
  }


  .article p,
  section p {
    margin-bottom: 0.8em;
  }

  .author-text {
    padding: 16px;
  }

  /* author profile */
  .author-inner {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .author-image {
    width: 100px;
    height: 100px;
  }

  .author-side {
    flex-direction: row;
    align-items: center;
    gap: 16px;
  }

  .author-info {
    text-align: left;
  }

  /* CTA */
  .cta-inline,
  .cta {
    padding: 28px 16px;
  }

  /* テーブル */
  .section-cost th {
    width: 110px;
    padding: 12px;
    font-size: 13px;
  }

  .section-cost td {
    padding: 12px;
    font-size: 14px;
  }

  /* スコア */
  .score-breakdown {
    gap: 4px;
  }

  .score-item {
    width: 72px;
    padding: 6px 4px;
  }

  .score-label {
    font-size: 11px;
    margin-bottom: 4px;
  }

  .score-circle {
    width: 36px;
    height: 36px;
    font-size: 12px;
  }

  .score-total {
    width: 64px;
    height: 64px;
  }

  .score-total p {
    font-size: 16px;
  }

  .score-total-sub {
    font-size: 10px;
  }

  .score-op {
    font-size: 18px;
  }

  /* ルート / voice */
  .route {
    padding: 24px 16px;
  }

  .route-title {
    font-size: 18px;
  }

  .voice:first-of-type {
    margin-top: 0;
  }

  .voice-inner {
    flex-direction: column;
    gap: 16px;
  }

  .voice-side {
    flex-direction: row;
    align-items: center;
    width: 100%;
    gap: 16px;
  }

  .voice-image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
  }

  .voice-profile p {
    font-size: 13px;
    line-height: 1.5;
  }

  .voice-profile-name,
  .voice-profile p:last-child {
    font-size: 15px;
  }

  .voice-text {
    padding: 16px;

  }

  .voice-text p {
    font-size: 14px;
    line-height: 1.8;
  }

  .voice-photos {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 16px;
  }

  /* 向いている人 */
  .suited-list {
    padding: 16px;
  }

  /* student-type */
  .student-type {
    padding: 16px;
  }

  /* challenges */
  .challenges-list dt {
    margin-top: 14px;
  }

  .challenges-list dd {
    font-size: 14px;
  }

  /* CASE バッジ */
  .case-badge {
    font-size: 11px;
    padding: 4px 10px;
  }

  .case-text,
  .case-title {
    font-size: 14px;
  }

  .model-cases li {
    gap: 8px;
    align-items: flex-start;
  }

  /* flow */
  .flow-head {
    gap: 8px;
    padding: 4px 14px;
  }

  .flow-step {
    font-size: 12px;
    padding: 4px 10px;
  }

  .flow-steps li h3 {
    font-size: 14px;
  }

  .flow-steps li p {
    font-size: 14px;
    padding: 12px 14px;
  }

  /* voice card / QA list */
  .voice-card {
    padding: 16px;
  }

  .qa-list dt,
  .qa-list dd {
    font-size: 14px;
    padding-left: 32px;
  }

  .qa-list dd p {
    font-size: 14px;
  }

  .qa-list dt::before,
  .qa-list dd::before {
    width: 22px;
    height: 22px;
    font-size: 13px;
  }

  /* FAQ */
  .faq-list {
    padding: 8px 16px;
  }

  /* フォーム */
  .section-form {
    padding: 40px 16px;
  }

  .section-form fieldset {
    /* padding: 24px 20px; */
  }

  .formTable input[type="text"],
  .formTable input[type="email"],
  .formTable input[type="tel"],
  .formTable select,
  .formTable textarea {
    max-width: 100%;
    padding: 6px 10px;
  }

  .formTable .inputTextShortest {
    max-width: calc(100% - 32px) !important;
    margin-right: 0 !important;
  }

  .formTable td > label[for="touroku_name1"],
  .formTable td > label[for="touroku_name2"] {
    width: 24px;
  }

  .formTable td > label[for="touroku_name1"],
  .formTable td > input[name="touroku_name1"] {
    margin-bottom: 8px !important;
  }

  .formTable select.inputSelect {
    max-width: 100%;
  }

  /* ラジオ3カラム → 1カラム */
  .formTable .radio-list {
    grid-template-columns: 1fr;
  }

  .section-form .formBtn {
    font-size: 16px;
    padding: 18px 32px;
    min-width: 0;
    width: 100%;
    max-width: 320px;
  }

  /* フォーム送信完了 (Thanks) */
  .section-thanks {
    padding: 40px 16px 56px;
  }

  .section-thanks .container {
    gap: 28px;
  }

  .thanks-inner {
    gap: 16px;
  }

  .thanks-title {
    width: 100%;
    font-size: 20px;
    line-height: 1.5;
    padding-bottom: 10px;
    border-bottom-width: 3px;
  }

  .thanks-body {
    font-size: 15px;
  }

  .thanks-back,
  .thanks-back a {
    font-size: 15px;
  }

  /* フッター */
  .footer-banner {
    padding: 14px 16px;
  }

  .footer-copyright p {
    font-size: 11px;
  }
}
