@charset "utf-8";

/* HTMLルート設定 */
html {
    font-size: 62.5%; /* 16px * 62.5% = 10px */
    width: 100%;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

/* 全体の基本スタイル */
body {
    background-color: #FFF;
    color: #242424;
    font-family: "ヒラギノ角ゴ ProN W3", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 400;
    line-height: 1.6;
    text-align: left;
    max-width: 700px;
    margin: 0 auto;
    overflow-x: hidden;
}

/* メインエリアの文字間と左右余白 */
main {
    background-color: #FBFBFB;
    margin-top: -4rem;
    padding: 0 15px;
    letter-spacing: 0.1em;
}

/* 見出し（PRの右側） */
h1 {
    font-size: 1.6rem;
    color: #00A580;
    margin: 0px 0px -10px;
}

/* セクション見出し */
h2 {
    font-size: 3.2rem;
    color: #00A580;
    font-weight: bold;
    text-align: center;
}

/* 汎用タグの定義スペース */
p {
    margin: 0;
}
ul {
    padding-left: 1.5em;
    margin: 0 0 1em;
}
ul li {
    margin-bottom: 0.5em;
}

/* リンクスタイル */
a {
    color: #00A580;
    text-decoration: none;
}

a:hover {
    opacity: 0.5;
}

/* テキスト太さ（汎用） */
.normal{
    font-weight: 500;
}

.bold {
    font-weight: 700;
}

/* テキスト色（汎用） */
.black {
    color: #242424 !important;
}

.green {
    color: #00A580;
}

/* 画像スタイル（初期化） */
img {
    padding: 0;
    margin: 0;
    display: block;
}

/* 全要素のボックスサイズ指定 */
*,
*:before,
*:after {
    box-sizing: border-box;
}

/* スクロールエフェクト */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.2s ease, transform 1.2s ease;
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}


/* PRラベル */
.pr {
    font-size: 1.6rem;
    color: #666;
    border: 2px solid #666;
    letter-spacing: 0.05em;
    font-weight: 500;
    border-radius: 6px;
    padding: 0px 16px;
    display: inline-block;
    white-space: nowrap;
    margin: 10px 10px 0 0;
}

/* 見出しとPRの並列表示 */
#header {
    display: flex;
    align-items: center;
    gap: 12px 0;
    flex-wrap: wrap;
}

/* メインビジュアル画像幅 */
#header picture,
#header picture img {
    width: 100%;
    height: auto;
    display: block;
    padding: 0;
    margin: 0;
}

/* おすすめセクション全体 */
.recommend-section {
    margin: 4em 0 2em;
}

/* メインビジュアル下の中央見出し（2行構成） */
.section-heading {
    text-align: center;
}

/* 上段のサブタイトル（記号とテキスト） */
.section-heading .sub-title {
    font-size: 2.4rem; /* 24px */
    font-weight: 700;
    padding-top: 4rem;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px; /* ★部分の余白を再現 */
}

/* サブタイトル内の記号（＼／） */
.section-heading .mark {
    display: inline-block;
    font-size: 2.4rem;
    font-weight: 900;
    letter-spacing: -0.05em;
}

/* サブタイトルのテキスト本体 */
.section-heading .text {
    display: inline-block;
}

/* 下段のメインタイトル */
.section-heading .main-title {
    font-size: 3.2rem;
    color: #00A580;
    font-weight: bold;
    margin: 0.2em 0 0;
    line-height: 1.4;
}

/* 3カラムセクション */
.three-column-section {
    padding: 2em 0;
}

.three-column-wrap {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

/* 各カラムのボックス */
.column-box {
    width: calc((100% - 40px) / 3); /* 700px - 15*2px - 20*2px */
    height: 430px;
    border: 2px solid #00A580;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background-color: #fff;
}

/* カラム上部のヘッダー部分 */
.column-header {
    background-color: #00A580;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.column-title {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 500;
    margin: 0;
    text-align: center;
    letter-spacing: 0.06rem;
    line-height: 1.6em;
}

.column-title .highlight {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    text-align: center;
}

/* コンテンツ部分（画像＋テキスト＋ボタン） */
.column-content {
    padding: 1.5em;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex-grow: 1;
    text-align: center;
}

/* 画像 */
.column-image {
    width: 180px;
    height: 56px;
    object-fit: contain;
    margin: 5px auto;
}

/* テキスト */
.column-text {
    text-align: left;
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.6;
    color: #242424;
    margin: 0.8rem auto 0;
    letter-spacing: 0.04em;
}

.column-text span {
    color: #00A580;
    font-weight: 700;
}

/* ボタンエリア */
.column-buttons {
    margin-top: 1.5em;
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: center;
}

/* コンテンツボックス（スクール紹介） */
.feature-box {
    width: 100%;
    max-width: 670px;
    height: auto;
    border: 2px solid #00A580;
    border-radius: 12px;
    background-color: #ECF8F6;
    margin: 4em auto;
    padding: 3em;
    box-sizing: border-box;
}

/* ヘッダー部分：アイコン＋タイトル横並び */
.feature-header {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* アイコン画像 */
.feature-icon {
    width: 100%;
    height: auto;
    object-fit: contain;
    flex-shrink: 0;
}

/* テキストブロック（見出し2行） */
.feature-title {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* 上段のラベル */
.feature-label {
    text-align: left;
    font-size: 2rem;
    margin: 0;
    color: #242424;
    font-weight: 700;
}

/* 下段のスクール名 */
.feature-name {
    font-size: 3.8rem;
    margin: 0;
    color: #242424;
    font-weight: 700;
    line-height: 1.4em;
}

/* コンテンツ下部：画像＋説明リスト */
.feature-content {
    display: flex;
    gap: 20px;
    margin-top: 2em;
}

/* 左側画像サイズ変更済み */
.feature-image {
    width: 240px;
    height: 160px;
    display: block;
    flex-shrink: 0;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* 右側テキストエリア */
.feature-details {
    flex: 1;
}

/* チェック付きリスト */
.feature-list {
    text-align: left;
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 1em;
    font-weight: 700;
    color: #242424;
    line-height: 1.6;
}

.check-icon {
    color: #00A580;
    font-size: 1.6rem;
    font-weight: 700;
    margin-top: 0.4em;
}

/* リストテキストを回り込み用 */
.list-text {
    display: block;
}

.feature-list .list-text {
    text-align: left;
    line-height: 1.4;
}

/* 色付き価格 */
.price {
    color: #00A580;
}

/* チェック付きリスト */
.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 0.8em;
    font-size: 1.6rem;
    font-weight: 700;
    color: #242424;
    line-height: 1.5;
}

/* Font Awesome チェックアイコン */
.check-icon {
    color: #00A580;
    font-size: 2rem;
    margin-top: 0.2em;
}

/* 補足文 */
.note {
    font-size: 1.3rem;
    font-weight: 400;
    color: #242424;
    margin-top: 0.3em;
}

/* 色付き価格 */
.price {
    color: #00A580;
}

/* 補足テキストを下に回り込ませる */
.note {
    font-size: 1.3rem;
    font-weight: 500;
    color: #242424;
    margin: 0;
}

/* CTAボタンをボックス下部中央に配置 */
.feature-cta {
    text-align: center;
    margin-top: 2em;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 610px;
    height: 60px;
    padding: 1rem 2rem;
    background-color: #00A580;
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
    text-decoration: none;
    line-height: 1.4;
    border-radius: 6px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
    transition: transform 0.3s ease, opacity 0.2s ease;
    animation: ctaPulse 1.8s ease-in-out infinite;
}

/* 外部リンクアイコンの余白 */
.external-icon {
    margin-left: 10px;
    font-size: 1.8rem;
}

/* ボタンの常時押し込み風アニメーション */
@keyframes ctaPulse {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(2px) scale(0.98);
    }
}

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

/* 比較表全体 */
.comparison-section {
    background-color: #ECF8F6;
    padding: 2em 0;
    margin-left: -15px;
    margin-right: -15px;
    margin-bottom: 8rem;
    position: relative;
    z-index: 1;
}

.comparison-section .compare-table-wrap {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.comparison-section::after {
    content: "";
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-top: 40px solid #ECF8F6;
    z-index: 2;
}

.compare-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    table-layout: fixed;
    margin: 2em 0;
    font-size: 1.4rem;
    font-weight: 700;
}

/* 背景画像は「.with-bg」が付いているテーブルだけに適用する */
.with-bg td {
    background-repeat: no-repeat;
    background-position: center;
    background-size: 82px auto;
}

/* 比較表の1行目（1位〜3位のアイコン＋名前など）は中央揃え */
.compare-table tr:first-child td {
    text-align: center;
    line-height: 1.6em;
}

/* 2行目以降のtdは左揃え */
.compare-table tr:not(:first-child) td {
    font-weight: 500;
    text-align: left;
    line-height: 1.6em;
}

/* 表セルの共通線 */
.compare-table th,
.compare-table td {
    border: 1px solid #92D0C2 !important;
    padding: 1em 0.5em;
    text-align: center;
    vertical-align: middle;
}

/* ※比較表の見出しセル（1列目）は中央揃え */
.compare-table th {
    vertical-align: middle;
}

/* 比較表：2行目以降の内容セル（2〜4列目）は上揃え */
.compare-table tr:not(:first-child) td {
    vertical-align: top;
}

/* 左側項目列（1列目） */
.compare-table th {
    background-color: #00A580;
    color: #fff;
    border-color: #fff;
    width: 70px;
    white-space: nowrap;
    letter-spacing: -0.02em;
    font-size: 1.4rem;
    font-weight: 700;
}

/* コンテンツ用セル（1〜3位） */
.compare-table td {
    background-color: #fff;
    color: #242424;
    width: calc((100% - 70px) / 3);
}

/* ランクアイコン */
.rank-icon {
    width: 45px;
    display: block;
    margin: 0 auto 1em;
}

/* サムネ画像 */
.school-thumb {
    display: block;
    width: 140px;
    height: 140px;
    margin: 0 auto;
}
.school-thumb img {
    width: 90%;
    height: 90%;
    object-fit: cover;
    border-radius: 8px;
}

/* 英語スクール名 */
.school-name-en {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0;
    white-space: nowrap;
    letter-spacing: 0.02em;
}

/* 日本語スクール名 */
.school-name-ja {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.02em;
}

/* 星と数値を横並びで整える */
.rating-combined {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin: 0.5rem auto;
}

.rating-combined .stars {
    color: #FFD700;
    display: flex;
    gap: 2px;
}

.rating-combined .rating {
    margin-left: 6px;
}

/* 点数 */
.rating {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
}

/* 小ボタン：公式サイト */
.mini-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 168px;
    height: 50px;
    margin-top: 0.8em;
    background-color: #00A580;
    color: #fff;
    font-size: 1.4rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 9999px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
    overflow: hidden;
}

/* 外部リンクアイコン */
.mini-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 50px;
    margin: 0.6em 0.2em;
    background-color: #00A580;
    color: #fff;
    font-size: 1.6rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 9999px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

/* ホバーで反転＋枠線表示 */
.mini-button:hover {
    background-color: #fff;
    color: #00A580;
    border: 2px solid #00A580;
    opacity: 1 !important;
}

/* アイコンも一緒に色反転 */
.mini-button .button-icon {
    margin-left: 10px;
    font-size: 1.2rem;
    transition: color 0.2s ease;
}

/* ホバー時のアイコン色も反転 */
.mini-button:hover .button-icon {
    color: #00A580;
}

/* 価格（取消線） */
.price-old {
    font-size: 1.4rem;
    font-weight: 500;
}

/* 実質価格 */
.price-now {
    font-size: 1.4rem;
    font-weight: 700;
    color: #00A580;
}

/* 補足テキスト */
.note-text {
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.8em;
}

/* プレーンリスト（学習内容・サポート） */
.plain-list {
    padding: 0;
    margin: 0;
}

.plain-list li {
    position: relative;
    list-style: none;
    margin: 0;
    padding-left: 1em;
    font-weight: 500;
    font-size: 1.4rem;
    line-height: 1.6em;
    letter-spacing: 0.04em;
}

.plain-list li::before {
    content: "・";
    position: absolute;
    left: 0;
    color: #242424;
}

/* 詳細ボタンを中央に配置 */
.detail-button-wrap {
    text-align: center;
}

/* 詳しく見るボタン（白背景・緑文字） */
.detail-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    height: 50px;
    background-color: #fff;
    color: #00A580;
    font-size: 1.6rem;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid #00A580;
    border-radius: 9999px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
    transition: all 0.3s ease;
}

/* ホバーで色反転 */
.detail-button:hover {
    background-color: #00A580;
    color: #fff;
}

/* ボタンアイコン */
.detail-button .button-icon {
    margin-left: 10px;
    font-size: 1.6rem;
    transition: color 0.3s ease;
}

/* ホバー時のアイコン色反転 */
.detail-button:hover .button-icon {
    color: #fff;
}

/* --- 共通：背景画像の基本設定（中央配置・繰り返しなし・サイズ指定） --- */
.with-bg td {
    background-repeat: no-repeat;
    background-position: center;
    background-size: 82px auto;
    background-clip: padding-box;
    border-left: 1px solid #92D0C2; /* ←縦線が消えるのを防ぐ */

}

/* --- 1位列：2列目（td:nth-child(2)） --- */
.with-bg tr:nth-child(2) td:nth-child(2) {
    background-image: url("../img/double-circle.png");
}
.with-bg tr:nth-child(3) td:nth-child(2) {
    background-image: url("../img/double-circle.png");
}
.with-bg tr:nth-child(4) td:nth-child(2) {
    background-image: url("../img/double-circle.png");
}
.with-bg tr:nth-child(5) td:nth-child(2) {
    background-image: url("../img/double-circle.png");
}

/* --- 2位列：3列目（td:nth-child(3)） --- */
.with-bg tr:nth-child(2) td:nth-child(3) {
    background-image: url("../img/triangle.png");
}
.with-bg tr:nth-child(3) td:nth-child(3) {
    background-image: url("../img/triangle.png");
}
.with-bg tr:nth-child(4) td:nth-child(3) {
    background-image: url("../img/circle.png");
}
.with-bg tr:nth-child(5) td:nth-child(3) {
    background-image: url("../img/circle.png");
}

/* --- 3位列：4列目（td:nth-child(4)） --- */
.with-bg tr:nth-child(2) td:nth-child(4) {
    background-image: url("../img/triangle.png");
}
.with-bg tr:nth-child(3) td:nth-child(4) {
    background-image: url("../img/circle.png");
}
.with-bg tr:nth-child(4) td:nth-child(4) {
    background-image: url("../img/triangle.png");
}
.with-bg tr:nth-child(5) td:nth-child(4) {
    background-image: url("../img/circle.png");
}

/* 表全体スクロール用ラッパー */
.compare-table-wrap {
    max-height: none;
    overflow: visible;
    position: static;
}

.compare-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
    margin: 2em 0;
    font-size: 1.4rem;
    font-weight: 700;
}

.compare-table tr {
    table-layout: fixed;
    width: 100%;
}

/* セル（1行目）をstickyに固定 */
.with-bg tr:first-child {
    position: sticky;
    top: 0;
    background-color: #fff;
    z-index: 10;
}

/* 黄色枠の注目セクション */
.highlight-section {
    background-color: #FFF;
    border-radius: 12px;
    padding: 2em;
    margin: 4em auto;
    max-width: 700px;
    box-sizing: border-box;
}

/* 1位セクションの枠線 */
.highlight-section.rank-1 {
    border: 3px solid #FBD014;
}

/* 2位セクションの枠線 */
.highlight-section.rank-2 {
    border: 3px solid #ACACAC;
}

/* 3位セクションの枠線 */
.highlight-section.rank-3 {
    border: 3px solid #DD995B;
}

/* 上部の2カラム（アイコン＋学校名） */
.highlight-content {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

/* 左カラム：ランクアイコン */
.highlight-rank-icon {
    width: 98px;
    flex-shrink: 0;
}
.highlight-rank-icon img {
    width: 100%;
    height: auto;
    display: block;
}

/* 右カラム：学校名（縦2行、中央寄せ） */
.highlight-school-name {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    flex: 1;
}
.highlight-school-name .school-name-en {
    font-size: 3.6rem;
    font-weight: 700;
    margin: 0;
}
.highlight-school-name .school-name-ja {
    font-size: 2.8rem;
    font-weight: 700;
    margin: 0;
}

/* 下部：サムネイル画像 */
.highlight-image {
    width: 610px;
    margin: 0 auto;
}
.highlight-image picture,
.highlight-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* CTAボタンラップ：画像下に配置 */
.highlight-cta {
    text-align: center;
    margin-top: 30px;
}

/* CTAボタンスタイル */
.cta-large-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #00A580;
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    padding: 18px 48px;
    margin: 1em auto;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: 9999px;
    white-space: nowrap;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
    transition: all 0.2s ease;
    width: 100%;
    max-width: 610px;
}

/* ホバーで反転 */
.cta-large-button:hover {
    background-color: #fff;
    color: #00A580;
    border: 2px solid #00A580;
    opacity: 1;
}

/* アイコン：テキストとの余白10px */
.cta-large-button .button-icon {
    margin-left: 10px;
    font-size: 1.4rem;
    transition: color 0.2s ease;
}

/* ホバー時のアイコン色も反転 */
.cta-large-button:hover .button-icon {
    color: #00A580;
}

/* 詳細ブロック全体 */
.highlight-details {
    margin-top: 3em;
    display: flex;
    flex-direction: column;
    gap: 2.4em;
}

/* 各項目ブロック */
.detail-block {
    display: flex;
    flex-direction: column;
}

/* 見出し */
.detail-heading {
    font-size: 1.8rem;
    font-weight: 700;
    color: #00A580;
    margin-bottom: 0.6em;
}

/* テキスト内容 */
.detail-text {
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.8;
    color: #242424;
}

/* 価格表記の装飾（再利用） */
.price-old {
    font-size: 1.4rem;
    font-weight: 500;
}
.price-now {
    font-size: 1.4rem;
    font-weight: 700;
    color: #00A580;
}

.no-bg td {
    text-align: left !important;
    font-weight: 500;
}

.no-bg td span {
    color: #00A580;
    font-weight: 700;
    padding: 0 4px;
}

/* 2列に分かれるリスト */
.split-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8em 1.6em;
    padding-left: 1em;
    margin: 0;
    font-size: 1.4rem;
    font-weight: 500;
}
.split-list li {
    list-style: disc;
    line-height: 1.6;
    color: #242424;
}

/* plain-listの2列表示用 */
.two-column-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4em 2em;
}

.list-columns {
    display: flex;
    justify-content: space-between;
    gap: 1em;
}

.list-columns .plain-list {
    width: 48%;
    padding: 0;
    margin: 0;
}

/* おすすめポイント 全体ラッパー */
.recommend-points {
    background-color: #ECF8F6;
    border-radius: 13px;
    padding: 0em 4em 1em;
    max-width: 700px;
    margin: 6em auto 1em;
    box-sizing: border-box;
}

/* 吹き出しアイコン＋太字テキスト */
.points-title {
    display: flex;
    align-items: center;
    font-size: 1.6rem;
    font-weight: 700;
    color: #00A580;
    margin-bottom: 2em;
}

/* アイコン画像 */
.title-icon {
    width: 24px;
    height: 24px;
    margin-right: 0.6em;
}

/* 左に丸数字、右に見出し＋リスト */
.point-block {
    display: flex;
    gap: 16px;
    margin-bottom: 2.8em;
}

/* 丸数字（1〜3）部分のスタイル */
.point-number {
    width: 36px;
    height: 36px;
    background-color: #00A580;
    border-radius: 50%;
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    line-height: 36px;
    flex-shrink: 0;
}

/* ポイント本文（見出し＋リスト） */
.point-content {
    flex: 1;
}

/* ポイント見出し（太字・緑色） */
.point-heading {
    font-size: 2rem;
    font-weight: 700;
    color: #00A580;
    margin: 0 0 1em;
}

/* リスト全体のスタイル */
.point-list {
    padding-left: 1.2em;
    margin: 0;
    font-size: 1.5rem;
    font-weight: 500;
    color: #242424;
    line-height: 1.3em;
}

/* リスト項目の個別スタイル */
.point-list li {
    list-style: disc;
    margin-bottom: 0.6em;
}

/* 補足テキスト（※印など） */
.point-list .note {
    font-size: 1.3rem;
    font-weight: 400;
    color: #444;
}

/* おすすめラベルの吹き出しスタイル */
.points-label {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    border: 2px solid #00A580;
    border-radius: 9999px;
    background-color: #fff;
    color: #00A580;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1em;
    position: relative;
    top: -20px; /* ←セクション上に重なるように調整 */
    left: 0; /* 必要に応じて調整（中央配置ならmargin:autoなど） */
    z-index: 2;
}

/* 吹き出し内のアイコン画像 */
.label-icon {
    width: 25px;
    height: 25px;
    margin-right: 0.6em;
}

/* 口コミ全体ラッパー */
.reviews-container {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin: 3em auto;
    max-width: 700px;
    box-sizing: border-box;
}

/* 各レビュー枠 */
.review-box {
    flex: 1;
    border: 2px solid #00A580;
    border-radius: 8px;
    padding: 1em;
    box-sizing: border-box;
}

/* 横並びレイアウト：画像と情報 */
.review-inner {
    display: flex;
    gap: 10px;
    margin-bottom: 1em; /* 下のテキストと余白を取る */
}

/* 左側画像 */
.review-left {
    flex-shrink: 0;
}

/* レビューアイコン（左カラム） */
.review-icon {
    width: 80px;
    height: auto;
}

/* 右：内容 */
.review-right {
    text-align: left;
}

/* 右側の年代＋名前 */
.review-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

/* 年代・性別 */
.review-meta {
    font-size: 1.3rem;
    font-weight: 500;
    margin: 0 0 0.2em;
}

/* 名前（イニシャル） */
.review-name {
    font-size: 1.6rem;
    font-weight: 700;
    color: #00A580;
    margin: 0;
}

/* レビュー本文 */
.review-text {
    font-size: 1.5rem;
    font-weight: 500;
    color: #242424;
    line-height: 1.6;
}

/* 比較サポートセクション全体 */
.support-section {
    background-color: #F2F2F2;
    padding: 2em 0 4rem;
    margin-top: 6em;
    margin-left: -15px;
    margin-right: -15px;
}

.support-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    z-index: -1;
}

.support-section .inner {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

/* 下向き三角形 */
.support-section {
    position: relative;
}

.support-section .triangle {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-top: 40px solid #F2F2F1;
    z-index: 2;
}



/* 吹き出しタイトル */
.support-section .section-heading .sub-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 0.5em;
}

/* メインタイトル */
.support-section .section-heading .main-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #00A580;
    margin-bottom: 2em;
}

/* 比較ポイントボックス */
.comparison-points-box {
    background-color: #ECF8F6;
    border: 2px solid #00A580;
    border-radius: 10px;
    padding: 0.5em 1em 1em;
    margin: 0 auto 3em;
    max-width: 700px;
    box-sizing: border-box;
}

/* 3カラム横並び */
.comparison-columns {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

/* 各カラム */
.comparison-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 比較画像 */
.comparison-image {
    width: 190px;
    height: 132px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1em;
}

/* 見出しラベル */
.comparison-label {
    background-color: #00A580;
    color: #fff;
    font-size: 1.6rem;
    font-weight: 700;
    padding: 0.2em 1em;
    border-radius: 6px;
    text-align: center;
    width: 190px;
    box-sizing: border-box;
}

/* テキストメッセージ */
.support-text-container {
    padding: 4em 0.5em 2em;
}

.support-text {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.6;
    color: #242424;
}

.recommend-text {
    font-size: 2.8rem;
    font-weight: 700;
    color: #00A580;
    text-align: center;
    line-height: 1.4;
    margin: 1.6em 0 0;
}

/* チェックポイントラベル */
.support-section .points-label {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    margin-bottom: 0;
    border: 2px solid #00A580;
    border-radius: 9999px;
    background-color: #fff;
    color: #00A580;
    font-size: 1.6rem;
    position: relative;
    top: -30px;
    left: 30px;
    z-index: 2;
}

/* アイコン画像のサイズと余白 */
.support-section .points-label .label-icon {
    width: 25px;
    height: 25px;
    margin-right: 0.6em;
}

/* リスキリングセクション（背景色なし） */
.reskilling-section {
    background-color: #FBFBFB;
    padding: 3em 0 0;
    text-align: center;
}

/* まとめセクション全体 */
.summary-section {
    position: relative;
    padding: 2em 0em 3em;
    text-align: center;
}

/* まとめラベル */
.summary-label {
    display: inline-flex;
    align-items: center;
    padding: 8px 35px 8px 20px;
    background-color: #00A580;
    color: #fff;
    font-size: 1.6rem;
    font-weight: 700;
    border-radius: 9999px;
    position: absolute;
    top: 0;
    left: 120px;
    transform: translateX(-50%);
    z-index: 2;
}

/* アイコン画像 */
.summary-label .label-icon {
    width: 25px;
    height: 25px;
    margin-right: 0.6em;
}

/* 緑枠の白ボックス */
.summary-box {
    background-color: #fff;
    border: 2px solid #00A580;
    border-radius: 10px;
    padding: 4em 3em 3em;
    max-width: 700px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* まとめコメント */
.summary-content {
    text-align: left;
    font-size: 1.6rem;
    font-weight: 500;
}


.attention {
    text-align: center;
    font-size: 1.15em;
    font-weight: 400;
    color: #242424;
    margin-top: 0.3rem;
    padding-bottom: 4rem;
}

/* フッター */
#footer {
    background-color: #b5d3e2;
    width: 100%;
    height: 100px;
    padding: 20px 25px;
}

.footer-list {
    font-size: 1em;
}

#footer .footer-list ul {
    display: inline-block;
    padding: 0;
    margin: 0;
}

#footer .footer-list ul li {
    list-style: none;
    font-size: 1.4em;
    margin: 0;
}

#footer .footer-list ul li a {
    color: #242424;
    font-size: 0.9em;
    font-weight: 500;
}

/* トップへ戻る */
#page-top {
    position: fixed;
    right: 5%;
    bottom: 2rem;
    z-index: 999;
}

#page-top a {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    border-radius: 25px;
    border: solid 1px #1e3d5e;
    width: 50px;
    height: 50px;
    color: #1e3d5e;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 1.4em;
    transition: all 0.3s;
}

.scroll-hint {
    display: none;
}

.rank-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.2;
    margin: 2em 0;
}

.rank-table th,
.rank-table td {
    border: 1px solid #92D0C2;
    padding: 1em 0.5em;
    text-align: left;
    vertical-align: top;
}

/* rank-table見出し */
.rank-table th {
    background-color: #00A580;
    color: #fff;
    border: 1px solid #fff;
    width: 70px;
    white-space: nowrap;
    letter-spacing: -0.02em;
    font-size: 1.4rem;
    font-weight: 700;
    text-align: center;
    vertical-align: middle;
}

.rank-table td {
    line-height: 1.6;
}

.br-pc {
    display: block;
}

.br-tab {
    display: none;
}

.br-sp {
    display: none;
}


/* ==============================
    メディアクエリ：768px以下対応
   ============================== */

    @media screen and (max-width: 768px) {

    /* ボディ全体の調整 */
    body {
        padding: 0 15px;
        font-size: 1.4rem;
    }

    /* ヘッダー調整 */
    #header {
        flex-direction: row !important;
        align-items: center !important;
        flex-wrap: wrap;
        padding-top: 1rem;
    }

    .pr {
        font-size: 1rem;
        padding: 0 10px;
        margin-left: 15px;
    }

    /* メイン見出し */
    .section-heading .sub-title {
        font-size: 2rem;
        gap: 15px;
    }
    .section-heading .main-title {
        font-size: 2.6rem;
        line-height: 1.4;
    }
    
    /* feature-box 調整 */
    .feature-box {
        padding: 2em 1.5em;
    }
    .feature-content {
        flex-direction: column;
    }
    .feature-image {
        width: 100%;
        height: auto;
    }

    .highlight-rank-icon img {
        width: 70%;
        height: auto;
        margin: 0 auto;
    }

    
    /* highlight セクション */
    .highlight-section{
        padding: 1em;
    }

    .highlight-content {
        flex-direction: row !important;
        text-align: left !important;
        gap: 0 !important;
    }

    .highlight-rank-icon {
        margin: 0 auto;
    }

    .highlight-image {
        width: 100%;
    }

    .list-columns {
        gap: 0;
    }

    .recommend-points {
        margin: 5em auto 1em;
    }
    
    /* 口コミレイアウト調整 */
    .reviews-container {
        margin: 2em auto;
        flex-direction: column;
        gap: 1.5em;
    }

    .review-inner {
        gap: 20px;
    }

    .review-meta {
        font-size: 1.5rem;
    }

    .review-name {
        font-size: 1.8rem;
    }

    .summary-box {
        padding: 2em;
    }

    .attention {
        font-size: 0.9em;
        margin-top: 0.3rem;
        padding-bottom: 4rem;
    }
}


/* ==============================
    メディアクエリ：768px以上対応
   ============================== */

@media screen and (min-width: 768px) {
    .compare-table {
        width: 100%;
        min-width: unset;
    }

}

/* ==============================
    メディアクエリ：767px以下対応
   ============================== */

@media screen and (max-width: 767px) {
    body {
        padding: 0;
    }

    main {
        margin-top: -6rem;
    }

    .feature-box {
        margin: 2em auto;
    }

    .compare-table {
        width: auto;
        min-width: 600px;
    }

    .compare-table-wrap {
        margin-top: -2rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .compare-table.with-bg td {
        min-width: 220px;
        max-width: 260px;
        word-break: break-word;
    }

    .compare-table {
        margin: 0;
    }

    .point-block {
        margin-bottom: 1em !important;
    }

    /* scroll-hint指マークのアニメーションと表示 */
    .scroll-hint {
        display: block;
        position: relative;
        width: 100%;
        height: 60px;
        pointer-events: none;
        z-index: 100;
        top: 20rem;
    }
    
    .scroll-hint-icon-wrap {
        position: absolute;
        left: 54%;
        top: 0;
        transform: translateX(-50%);
        z-index: 100;
        background: rgba(0, 0, 0, 0.7);
        padding: 10px;
        border-radius: 12px;
        transform: translateX(-50%);
        text-align: center;
    }
    
    .scroll-hint-icon {
        width: 36px;
        height: 50px;
        margin: 0 auto; 
        background-image: url("../img/icon_scroll_hint_white_hand.svg"), url("../img/icon_scroll_hint_white_arrow.svg");
        background-position: center center, center 0;
        background-repeat: no-repeat, no-repeat;
        animation: scroll-hint-animation 2s infinite;
        opacity: 0.9;
    }
    
    .scroll-hint-text {
        margin-top: 6px;
        font-size: 1.2rem;
        color: #fff;
    }
    
    @keyframes scroll-hint-animation {
        0% {
            background-position: center center, center 0;
            opacity: 1;
        }
        50% {
            background-position: center center, center 10px;
            opacity: 0.6;
        }
        100% {
            background-position: center center, center 0;
            opacity: 1;
        }
    }
    
    /* フェードアウト */
    .scroll-hint.fade-out {
        opacity: 0;
        transition: opacity 1s ease;
    }

    #page-top {
        right: 2rem !important;
    }

    #page-top a {
        font-size: 1em;
    }

}  


/* ==============================
    メディアクエリ：600px以下対応
   ============================== */

@media screen and (max-width: 600px) {
    .pr {
        margin: 10px 10px 0;
    }
    
    h1 {
        font-size: 1.4rem;
    }

    .feature-label {
        font-size: 1.4rem;
    }

    .feature-name {
        font-size: 2.6rem;
    }

    .comparison-columns {
        flex-direction: column;
        align-items: center;
    }

    .comparison-column {
        width: 100%;
        max-width: 300px;
        position: relative;
    }

    .comparison-image {
        width: 100%;
        position: relative;
        height: auto;
        margin-bottom: 2em;
        z-index: 1;
    }

    .comparison-label {
        position: absolute;
        bottom: 12px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 2;
        width: 70%;
        padding: 4px 12px;
        font-size: 1.4rem;
        background-color: #00A580;
        color: #fff;
        border-radius: 6px;
    }

    /* 比較表の横スクロール対応 */
    .compare-table-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        position: relative;
        max-width: 100%;
    }

    
      /* スマホで1行目固定解除 */
    .with-bg tr:first-child {
        position: static;
        top: auto;
        z-index: auto;
    }
    /* 比較表：スマホ表示対応 共通スタイル */
    .compare-table-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        max-width: 100%;
        display: block;
    }

    .compare-table {
        width: 900px;
        min-width: 900px;
        border-collapse: collapse;
        table-layout: fixed;
    }

    .school-name-en {
        font-size: 2.4rem !important;
    }

    .school-name-ja {
        font-size: 2rem !important;
    }

    .rank-table .list-columns {
        flex-direction: column;
    }
    
    .rank-table .plain-list {
        width: 100%;
    }

    .point-block {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 8px;
        flex-wrap: wrap;
    }
    
    .point-number {
        flex-shrink: 0;
        margin-top: 0.2em;
    }
    
    .point-content {
        flex: 1;
    }
        
    .point-list {
        display: block;
        margin: 3rem -1rem 0 -4rem;
    }

    /* テキストメッセージ */
    .support-text-container {
        padding: 2em 0.5em;
    }

    .recommend-points {
        padding: 0em 2em 1em;
    }

    #page-top {
        position: fixed;
        right: 5%;
        bottom: 2rem;
        z-index: 999;
    }

    .br-pc {
        display: none;
    }

    .br-tab {
        display: block;
    }
    
    .br-sp {
        display: none;
    }
}


/* ==============================
    メディアクエリ：375px〜449px対応
   ============================== */

@media screen and (min-width: 375px) and (max-width: 449px) {
    .br-pc {
        display: none;
    }

    .br-tab {
        display: none;
    }

    .br-sp {
        display: block;
    }

    .compare-table-wrap {
        padding-right: 40px;
    }

    .recommend-points .points-label,
    .support-section .points-label {
        margin-left: auto;
        margin-right: auto;
        left: 40%;
        transform: translateX(-50%);
    }

    .summary-label {
        margin-left: auto;
        margin-right: auto;
        left: 25%;
        transform: translateX(-50%);
    }

    .school-name-en {
        font-size: 2rem !important;
    }

    .school-name-ja {
        font-size: 1.6rem !important;
        margin-left: -4rem;
    }

    /* ボタンのパディング・フォントサイズ縮小 */
    .cta-large-button {
        font-size: 1.4rem;
        padding: 14px 20px;
        letter-spacing: 0.08em;
    }

    .cta-button {
        display: block;
        font-size: 1.6rem;
        height: 65px;
    }

    .footer-list {
        font-size: 0.9em;
    }
}


/* ==============================
    メディアクエリ：375px以下対応
   ============================== */

@media screen and (max-width: 375px) {
    
    /* ヘッダー見出しの改行抑制 */
    .section-heading .sub-title {
        font-size: 1.8rem;
        text-align: center;
        gap: 6px;
    }

    .compare-table-wrap {
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .compare-table {
        min-width: 100%;
        width: max-content;
    }

    /* 表やリストのpadding微調整 */
    .compare-table th,
    .compare-table td {
        padding: 0.8em 0.3em;
        font-size: 1.3rem;
    }
    
    .recommend-points {
        padding: 0 1em 1em;
    }
    
    .point-heading {
        font-size: 1.5rem;
    }
    
    .point-list {
        font-size: 1.4rem;
    }
    
    .review-box {
        padding: 1em;
    }
    
    .review-text {
        font-size: 1.5rem;
    }
}

/* Safari用 */
@supports (-webkit-touch-callout: none) {
    body {
        font-weight: 600;
    }
}

/* 3カラム増設「詳しく見る」ボタンと「公式サイト」ボタンは既存スタイルを使用 */

@media screen and (max-width: 768px) {
    .three-column-wrap {
        flex-direction: column;
        gap: 2.4em; /* カラム間の縦余白 */
    }

    .column-box {
        width: 100%;
        max-width: 100%;
        height: auto; /* 高さは内容に合わせて可変 */
    }

    .column-content {
        padding: 2em 1.5em;
    }

    .column-image {
        margin: 0 auto 10px;
    }

    .column-text {
        width: 90%;
        margin: 0.8rem auto;
    }
    
    .column-buttons {
        margin-top: 1em;
    }

    .column-buttons {
        flex-direction: column;
        gap: 5px;
        align-items: stretch; /* ボタン幅伸ばす */
    }
    
    .column-buttons a {
        width: 100%; /* ボタンの幅をカラム内いっぱいに */
        max-width: none; /* PC用の max-width 指定を上書き */
    }
    
    /* ボタン文字を中央揃えに */
    .column-buttons .detail-button,
    .column-buttons .mini-button {
        justify-content: center;
    }
}


/* 横スクロール用ラッパー */
.five-column-scroll-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 2rem 0 4rem;
    max-width: 100%;
    position: relative;
}

/* 横並び内側エリア */
.five-column-inner {
    display: flex;
    gap: 20px;
    width: fit-content;
    min-width: 100%;
}

/* 各カラム幅調整（やや小さめ） */
.five-column-inner .column-box {
    flex: 0 0 220px;
    height: auto;
}

/* スクロールヒント位置調整（上部に固定） */
.five-column-scroll-wrap .scroll-hint {
    position: absolute;
    top: 5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-hint {
    opacity: 1;
    transition: opacity 1s ease;
}

.scroll-hint.fade-out {
    opacity: 0;
}

/* PC表示でも .scroll-hint-icon を表示させる */
.scroll-hint-icon-wrap {
    position: absolute;
    left: 50%;
    top: 10rem;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    padding: 10px;
    border-radius: 12px;
    text-align: center;
    z-index: 100;
}

.scroll-hint-icon {
    width: 85px;
    height: 50px;
    margin: 0 auto;
    background-image: url("../img/icon_scroll_hint_white_hand.svg"), url("../img/icon_scroll_hint_white_arrow.svg");
    background-position: center center, center 0;
    background-repeat: no-repeat, no-repeat;
    animation: scroll-hint-animation 2s infinite;
    opacity: 0.9;
}

@keyframes scroll-hint-animation {
    0%   { background-position: center center, center 0; }
    50%  { background-position: center center, center 10px; }
    100% { background-position: center center, center 0; }
}

.scroll-hint-text {
    margin-top: 6px;
    font-size: 1.2rem;
    color: #fff;
}

/* スクロールヒント：PC・スマホ両方で表示する場合 */
.scroll-hint-both {
    display: block !important;
}

/* スクロールヒント：デフォルトで非表示にしておく場合 */
.scroll-hint-sp {
    display: none !important;
}

@media screen and (max-width: 768px) {
    .five-column-inner {
    gap: 12px;
    }

    .five-column-inner .column-box {
    flex: 0 0 250px;
    }

    /* スクロールヒント：スマホだけ表示する場合 */
    .scroll-hint-sp {
    display: block !important;
    }
}

/* どのスクールを選べばいいの？セクション全体 */

.school-guide-wrapper {
    position: relative;
    overflow: visible;
}

.school-guide-section {
    position: relative;
    background-color: #F2F2F2;
    padding: 2em 0 4em;
    margin-top: 4em;
    margin-left: -15px;
    margin-right: -15px;
    z-index: 100;
    overflow: visible;
}

/* セクション下に配置する三角形 */
.school-guide-wrapper .triangle {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-top: 40px solid #F2F2F2;
    z-index: 9999999 !important;
}

/* セクション内の見出しとサブタイトル中央揃え */
.school-guide-section h2,
.school-guide-section .sub-title {
    text-align: center;
}

/* サブタイトルテキスト */
.school-guide-section .sub-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 40px 0;
}

/* 吹き出しSVGとテキストのラップ */
.nayami-wrap {
    position: relative;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    aspect-ratio: 700 / 320; /* 高さの比を保持 */
}

/* 吹き出しSVG画像 */
.nayami-svg {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    top: 0;
    left: 0;
}

/* 吹き出しテキスト配置枠 */
.nayami-texts {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    padding: 5% 8%;
    box-sizing: border-box;
}

/* 各吹き出し内テキスト */
.nayami-text {
    position: absolute;
    font-size: clamp(12px, 1.8vw, 18px);
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #333;
    text-align: center;
    line-height: 1.4;
    width: 20%;
}

/* 各吹き出しテキストの位置（レスポンシブ対応） */
.nayami-text.text1 {
    top: 49%;
    left: 6%;
}
.nayami-text.text2 {
    top: 19%;
    left: 28%;
}
.nayami-text.text3 {
    top: 15%;
    left: 55%;
}
.nayami-text.text4 {
    top: 50%;
    left: 75%;
}

@media screen and (max-width: 600px) {
.nayami-text.text1 {
    top: 48%;
    left: 6%;
}
.nayami-text.text2 {
    top: 19%;
    left: 28%;
}
.nayami-text.text3 {
    top: 11%;
    left: 55%;
}
.nayami-text.text4 {
    top: 46%;
    left: 74%;
}
}

/* ドットボックス全体（シャドウ用ラップ） */
.dot-box-shadow {
    position: relative;
    width: 100%;
    max-width: 670px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 16px;
    text-align: center;
    padding: 2em;
    box-shadow: 10px 10px 0 #DDD;
    overflow: hidden;
}

/* ドット背景用の疑似要素 */
.dot-box-shadow::before {
    content: "";
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    bottom: 12px;
    background-image: radial-gradient(#F2F2F2 1.5px, transparent 1.5px);
    background-size: 12px 12px;
    border-radius: 16px;
    z-index: 0;
}

/* 中のコンテンツ */
.dot-box-shadow .content {
    position: relative;
    z-index: 1;
}

/* SP時のドットボックス全体（シャドウ用ラップ） */
@media (max-width: 480px) {
    .dot-box-shadow {
        width: calc(100% - 20px);
        margin-left: 10px;
        margin-right: 10px;
    }
}

/* ドットボックス本体 */
.dot-box-content {
    position: relative;
    width: 100%;
    height: auto;
    background-color: #fff;
    border-radius: 20px;
    background-image: radial-gradient(#F2F2F2 2px, transparent 2px);
    background-size: 18px 18px;
    padding: 20px 20px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    overflow: hidden;
    z-index: 1;
}

/* スマホ表示で中央揃え */
@media (max-width: 480px) {
    .dot-box-shadow {
        text-align: center;
    }

    .dot-box-shadow img {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
}

/* アイコン共通スタイル */
.icon {
    display: block;
    margin: 0 auto;
}

/* push-pinアイコン */
.pushpin {
    width: 22px;
    margin-bottom: 20px;
}

/* checkアイコン */
.check {
    width: 100px;
    margin-bottom: 40px;
}

/* 説明テキスト */
.explain-text {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    line-height: 1.8;
    letter-spacing: 0.01em;
    max-width: 550px;
    text-align: left;
}

/* 強調テキスト */
.explain-text .highlight {
    font-weight: 700;
    color: #00A580;
}

/* スクール選びの重要性ラッパー */
.importance-wrapper {
    max-width: 670px;
    margin: 0 auto;
    position: relative;
    overflow: visible;
    z-index: 1000;
}

/* スクール選びの重要性セクション */
.importance-section {
    position: relative;
    background-color: #FBFBFB;
    padding: 4rem 0 6rem;
    margin-left: -15px;
    margin-right: -15px;
    width: calc(100% + 30px);
    z-index: 900;
    overflow: visible;
}

/*.importance-section::after {
    content: "";
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-top: 40px solid #FBFBFB;
    z-index: 10;
}*/

/* importance-wrapper内のテキスト */
.importance-wrapper p {
    font-size: 16px;
    font-weight: 500;
    color: #242424;
    margin-top: 2em;
    width: 610px;
    margin: 0 auto;
}

/* カスタムh3デザイン */
.importance-heading {
    background-color: #00A580;
    color: #fff;
    font-weight: 700;
    height: 50px;
    line-height: 50px;
    border-radius: 8px;
    padding: 0 15px;
    text-align: center;
    font-size: 18px;
    width: 100%;
    box-sizing: border-box;
    margin: 0 auto 24px;
}

/* テキスト本文 */
.importance-text {
    font-size: 16px;
    font-weight: 500;
    color: #242424;
    line-height: 1.9;
    width: 610px;
    margin: 0 auto;
    letter-spacing: 0.05em;
}

/* 強調部分 */
.importance-text .highlight,
.section-content .highlight,
.school-check-text .highlight,
.section-inner .highlight{
    font-weight: 700;
    color: #00A580;
}

/* importanceセクション用 h4見出し＋説明文 */
.importance-subheading {
    width: 670px;
    margin: 0 auto 3em;
    position: relative;
}
/**/
.importance-subheading h4 {
    text-align: center;
    color: #242424;
    font-size: 16px;
    font-weight: 700;
    margin: 6rem 0 4rem;
}

/* h4の上下線 */
.importance-subheading::before,
.importance-subheading::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #00A580;
}

.importance-subheading::before {
    top: -15%;
}

.importance-subheading::after {
    bottom: 55%;
}

/* メリット紹介ボックス */
.benefit-box {
    background-color: #ECF8F6;
    border-radius: 12px;
    padding: 2rem 3rem;
    width: 670px;
    margin: 0 auto 3rem;
}

/* 箇条書き全体 */
.benefit-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* 各項目 */
.benefit-box li {
    margin-bottom: 32px;
}

/* 見出し（チェック付き） */
.benefit-box h4 {
    font-size: 20px;
    font-weight: 700;
    color: #00A580;
    margin-bottom: 12px;
    text-align: left;
}

/* 見出し内のアイコン */
.benefit-box h4 i {
    margin-right: 8px;
}

/* 説明テキスト */
.benefit-box p {
    font-size: 16px;
    font-weight: 500;
    color: #242424;
    line-height: 1.8;
    text-align: left;
    padding: 0 1rem 0 3.5rem;
}

/* セクション下の三角形 */
.importance-wrapper .triangle {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-top: 40px solid #FBFBFB;
    z-index: 1100;
    pointer-events: none;
}

@media screen and (max-width: 768px) {

    .importance-section {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        /*padding: 2em 1em;*/
        box-sizing: border-box;
    }

    .importance-wrapper p,
    .importance-text,
    .importance-subheading,
    .benefit-box {
        width: 100%;
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
        box-sizing: border-box;
    }

    .benefit-box {
        padding: 2em 1.2em;
    }

    .importance-subheading h4::before,
    .importance-subheading h4::after {
        left: 10%;
        right: 10%;
    }

    .importance-heading {
        font-size: 1.5rem;
        padding: 0 10px;
        box-sizing: border-box;
    }
}

@media screen and (min-width: 375px) and (max-width: 570px) {
    .importance-subheading::before {
    top: -15%;
    }

    .importance-subheading::after {
    bottom: 65%;
    }
}

/* スクールチェックセクション全体 */
.school-check-section {
    background-color: #ECF8F6;
    padding: 60px 15px 60px;
    margin: 0rem -15px;
    position: relative;
    z-index: auto;
    overflow: visible;
}

/* h3見出し */
/*.school-check-section .importance-heading {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin: 4rem auto;
}*/

/* p文章（幅610pxで中央） */
.school-check-text {
    max-width: 610px;
    margin: 0 auto 32px;
    font-size: 16px;
    line-height: 1.8;
    text-align: left;
}

.school-check-section .triangle {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-top: 40px solid #ECF8F6;
    z-index: 1100;
}

/* 緑の上下線付きh4見出し */
.check-subheading {
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 30px;
    padding: 12px 0;
    border-top: 2px solid #00A580;
    border-bottom: 2px solid #00A580;
}

/* 6つのボタンのグリッド配置 */
.check-button-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 700px;
    margin: 0 auto;
}

/* .school-check-section 内のリンクボタン */
.school-check-section .detail-button {
    display: flex;
    justify-content: space-between;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    padding: 10px 20px;
    border: 2px solid #00A580;
    border-radius: 30px;
    color: #00A580;
    background-color: #fff;
    text-decoration: none;
    transition: 0.3s;
    white-space: nowrap;
    min-width: 170px;
    box-sizing: border-box;
}

.school-check-section .detail-button:hover {
    background-color: #00A580;
    color: #fff;
}

/* 下部三角形 */
/*.triangle {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-top: 40px solid red;
}*/

/* レスポンシブ対応（2列×3行） */
@media screen and (max-width: 768px) {
    .check-button-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .detail-button .button-icon {
    margin-left: 5px;
    }

    .school-check-section .detail-button {
        font-size: 13px;
        padding: 10px 8px 10px 12px; 
    }

    .school-check-text {
        text-align: left;
    }
}

/* セクション全体 */
.section-content {
    position: relative;
    background-color: #FBFBFB;
    padding: 60px 0 10px;
    overflow: visible;
}

/* セクション中央ボックス */
.section-content .section-inner {
    max-width: 700px;
    margin: 2rem auto;
    padding: 2rem 0;
    text-align: center;
}

/* アイコン（SVG） */
.section-icon {
    width: 40px;
    height: auto;
    margin: 0 auto 16px;
}

/* メイン見出し（h3） */
.section-title {
    font-size: 20px;
    font-weight: 700;
    color: #242424;
    margin-top: 1rem;
    margin-bottom: 4rem;
}

/* テキスト本文 */
.section-text {
    font-size: 16px;
    line-height: 1.8;
    text-align: left;
    max-width: 610px;
    margin: 0 auto 32px;
}

.section-content .triangle {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-top: 40px solid #FBFBFB;
    z-index: 1200;
}

/* ハイライトボックス（角丸背景） */
.curriculum-list-box {
    background-color: #ECF8F6;
    border-radius: 12px;
    padding: 24px;
    margin: 3rem auto 4rem;
    text-align: left;
}

.curriculum-list-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.curriculum-list-box li h4 {
    font-size: 20px;
    font-weight: 700;
    color: #00A580;
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    gap: 8px;
}

.curriculum-list-box li p {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.8;
    color: #242424;
}

.curriculum-list-box li i {
    font-size: 16px;
    color: #00A580;
}

/* 各学習項目（チェックアイコン＋内容） */
.learn-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.8;
}

.learn-icon {
    font-size: 16px;
    color: #00A580;
    margin-top: 4px;
}

/* タイトル部強調 */
.learn-title {
    font-size: 16px;
    font-weight: 700;
    color: #00A580;
}

