/* ============================================================
   /about/ 専用スタイルシート
   GUIDE BOOK 03・04・05・06 準拠
   ============================================================ */

.ab-page {
    --ab-green: #2abb94;
    --ab-green-dark: #23b194;
    --ab-mint: #e8f6f1;
    --ab-mint-deep: #d1efe5;
    --ab-ink: #333333;
    --ab-body: #444444;
    color: var(--ab-ink);
}

.ab-page img {
    max-width: 100%;
    height: auto;
}

.ab-shell {
    width: min(100%, 1120px);
    margin: 0 auto;
    padding: 0 20px;
}
/* ============ アンカーリンク（見出しへ飛んだときのオフセット） ============ */
.ab-page [id] {
    scroll-margin-top: 100px;
}

/* ============ 見出し（テンプレート装飾を無効化して完全定義） ============ */
.ab-page h2,
.ab-page h3,
.ab-page h4 {
    border: none !important;
    box-shadow: none !important;
    background: none !important;
    text-decoration: none !important;
    padding: 0 !important;
}

.ab-page h2::before,
.ab-page h2::after,
.ab-page h3::before,
.ab-page h3::after,
.ab-page h4::before,
.ab-page h4::after {
    content: none !important;
    display: none !important;
}

.ab-page .ab-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 26px;
    color: var(--ab-ink) !important;
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    font-weight: 900;
    line-height: 1.35;
}

/* 緑の三角旗アイコン（GUIDE BOOK 準拠） */
.ab-page .ab-heading::before {
    content: "" !important;
    display: block !important;
    position: static !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    background: none !important;
    border-top: 13px solid var(--ab-green) !important;
    border-right: 13px solid transparent !important;
    border-bottom: none;
    border-left: none;
}

.ab-page .ab-subheading {
    margin: 0 0 14px;
    color: var(--ab-green) !important;
    font-size: clamp(1.15rem, 1.9vw, 1.45rem);
    font-weight: 900;
    line-height: 1.5;
}

.ab-page .ab-subheading--plain {
    color: var(--ab-ink) !important;
}

.ab-page .ab-subheading--center {
    text-align: center;
    margin-top: 44px;
}

.ab-eyebrow {
    margin: 0 0 6px;
    color: var(--ab-green);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.ab-lead {
    margin: 0 0 34px;
    color: var(--ab-ink);
    font-size: clamp(1.2rem, 2.1vw, 1.55rem);
    font-weight: 900;
    line-height: 1.6;
}

.ab-copy {
    margin: 0;
    color: var(--ab-body);
    font-size: 0.95rem;
    line-height: 2;
}

.ab-copy--wide {
    margin-bottom: 30px;
}

.ab-hl {
    color: var(--ab-green);
}

/* ============ セクション ============ */
.ab-section {
    padding: 56px 0;
}

.ab-section--tint {
    background: #f7fbf9;
}

.ab-section--mint {
    background: var(--ab-mint);
}

/* ============ 教育理念 ============ */
.ab-philosophy__copy {
    margin: 0 0 26px;
    color: var(--ab-ink);
    font-size: clamp(1.05rem, 1.8vw, 1.3rem);
    font-weight: 800;
    line-height: 1.9;
}

.ab-text-block {
    display: grid;
    gap: 14px;
    margin-bottom: 30px;
}

.ab-power {
    padding: 26px;
    background: var(--ab-mint);
    border-radius: 14px;
    border-left: 6px solid var(--ab-green);
}

.ab-power__label {
    margin: 0 0 14px;
    color: var(--ab-green);
    font-size: 1.1rem;
    font-weight: 900;
    letter-spacing: 0.06em;
}

.ab-power__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.ab-power__list li {
    position: relative;
    padding-left: 22px;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.8;
}

.ab-power__list li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 0.6em;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--ab-green);
}

/* ============ 本校の特徴（point.1〜4） ============ */
.ab-points {
    display: grid;
    gap: 34px;
}

.ab-point {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: center;
}

.ab-point__figure {
    margin: 0;
    overflow: hidden;
    border-radius: 14px;
}

.ab-point__figure img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
}

.ab-point__label {
    margin: 0 0 8px;
    color: var(--ab-green);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.ab-point__catch {
    margin: 0 0 14px;
    color: var(--ab-ink) !important;
    font-size: clamp(1.25rem, 2.2vw, 1.7rem);
    font-weight: 900;
    line-height: 1.5;
}

/* ============ 制服紹介 ============ */
.ab-uniform__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: center;
}

.ab-checklist {
    list-style: none;
    margin: 20px 0 0;
    padding: 20px 24px;
    background: var(--ab-mint);
    border-radius: 12px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 18px;
}

.ab-checklist li {
    position: relative;
    padding-left: 26px;
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.7;
}

.ab-checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.35em;
    width: 15px;
    height: 15px;
    border: 2px solid var(--ab-green);
    border-radius: 3px;
    background: #ffffff;
}

.ab-uniform__photo {
    margin: 0;
    position: relative;
}

.ab-uniform__photo::before {
    content: "";
    position: absolute;
 
    transform: skewY(-6deg);
    border-radius: 18px;
    z-index: 0;
}

.ab-uniform__photo img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: auto;
}

.ab-patch {
    margin-top: 34px;
    display: grid;
    justify-items: center;
    gap: 14px;
}

.ab-patch__label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: var(--ab-green);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 900;
    line-height: 1.4;
    text-align: center;
    padding: 8px;
}

.ab-patch__figure {
    margin: 0;
    max-width: 260px;
}

.ab-patch__figure img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* ============ 学校行事 ============ */
.ab-events {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.ab-events__figure {
    margin: 0;
    overflow: hidden;
    border-radius: 14px;
}

.ab-events__figure img {
    display: block;
    width: 100%;
    height: auto;
}

.ab-months {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    border-radius: 14px;
    overflow: hidden;
    background: #ffffff;
}

.ab-month {
    padding: 20px 16px;
    border-bottom: 1px dashed #cfe6de;
    border-right: 1px dashed #cfe6de;
}

.ab-month__badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    margin: 0 0 12px;
    border-radius: 50%;
    background: var(--ab-green-dark);
    color: #ffffff;
}

.ab-month__num {
    font-size: 1.4rem;
    font-weight: 900;
    line-height: 1;
}

.ab-month__en {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.ab-month__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 6px;
}

.ab-month__list li {
    position: relative;
    padding-left: 16px;
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.7;
}

.ab-month__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ab-green-dark);
}

/* 卒業旅行クルーズ */
.ab-cruise {
    margin-top: 34px;
    padding: 26px;
    background: #ffffff;
    border-radius: 14px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
}

.ab-cruise__lead {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.ab-cruise__photos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.ab-cruise__photo {
    margin: 0;
    overflow: hidden;
    border-radius: 12px;
}

.ab-cruise__photo img {
    display: block;
    width: 100%;
    height: auto;
}

.ab-month__badge--inline {
    margin: 0;
}

.ab-cruise__title {
    margin: 0 0 10px;
    color: var(--ab-green-dark) !important;
    font-size: clamp(1.15rem, 1.9vw, 1.45rem);
    font-weight: 900;
    line-height: 1.5;
}

/* ============ 寮の案内 ============ */
.ab-dorm {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: start;
}

.ab-dorm__main {
    display: grid;
    gap: 22px;
    align-content: start;
}

.ab-dorm__apply {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--ab-mint);
    border-radius: 14px;
}

.ab-dorm__qr {
    margin: 0;
    flex: 0 0 auto;
    width: 132px;
}

.ab-dorm__qr img {
    display: block;
    width: 100%;
    height: auto;
    background: #ffffff;
    border-radius: 8px;
    padding: 6px;
}

.ab-dorm__apply-title {
    margin: 0 0 8px;
    color: var(--ab-green);
    font-size: 1.05rem;
    font-weight: 900;
    line-height: 1.6;
}

.ab-dorm__apply-url {
    display: inline-block;
    color: var(--ab-ink);
    font-size: 0.86rem;
    font-weight: 800;
    line-height: 1.6;
    word-break: break-all;
    text-decoration: underline;
}

.ab-merits {
    padding: 24px;
    background: #ffffff;
    border: 1px solid #dbeae4;
    border-radius: 14px;
}

.ab-merits__label {
    margin: 0 0 18px;
    padding: 10px 18px;
    background: var(--ab-mint);
    border-radius: 8px;
    color: var(--ab-green);
    font-size: 1.02rem;
    font-weight: 900;
}

.ab-merits__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.ab-merit__title {
    margin: 0 0 8px;
    color: var(--ab-green) !important;
    font-size: 0.98rem;
    font-weight: 900;
    line-height: 1.6;
}

/* 在校生インタビュー */
.ab-interview {
    padding: 26px;
    border: 2px solid var(--ab-green);
    border-radius: 16px;
    background: #ffffff;
    display: grid;
    gap: 16px;
    align-content: start;
}

.ab-interview__head {
    display: flex;
    align-items: center;
    gap: 18px;
}

.ab-interview__photo {
    margin: 0;
    flex: 0 0 auto;
    width: 108px;
    height: 108px;
    border-radius: 50%;
    overflow: hidden;
}

.ab-interview__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ab-interview__label {
    margin: 0 0 4px;
    color: var(--ab-green);
    font-size: 1.05rem;
    font-weight: 900;
}

.ab-interview__course {
    margin: 0 0 2px;
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--ab-body);
}

.ab-interview__name {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 900;
    color: var(--ab-ink);
}

.ab-interview__text {
    margin: 0;
    color: var(--ab-body);
    font-size: 0.88rem;
    line-height: 2;
}

/* ============ レスポンシブ ============ */
@media (min-width: 768px) {
    .ab-months {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

}

@media (min-width: 900px) {
    .ab-point {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 34px;
    }

    .ab-point:nth-child(even) .ab-point__figure {
        order: 2;
    }

    .ab-uniform__inner {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    }

    .ab-cruise {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
        align-items: center;
    }
}

@media (max-width: 899px) {
    .ab-section {
        padding: 44px 0;
    }

    .ab-checklist {
        grid-template-columns: 1fr;
    }

    .ab-month:nth-child(even) {
        border-right: none;
    }
}

/* 寮の写真（常時2カラム横1列＋キャプション） */
.ab-dorm__photos {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 20px;
    margin-top: 6px;
}

.ab-dorm__photo {
    margin: 0;
}

.ab-dorm__photo img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.ab-dorm__photo figcaption {
    margin-top: 10px;
    color: var(--ab-ink);
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.6;
}

/* ============ アクセス ============ */
.ab-access {
    display: grid;
    gap: 26px;
}

.ab-access__item {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: start;
    padding: 26px;
    background: #ffffff;
    border: 1px solid #dbeae4;
    border-radius: 14px;
}

.ab-access__name {
    display: inline-block;
    margin: 0 0 16px;
    padding: 10px 24px;
    border: 3px solid var(--ab-green);
    border-radius: 999px;
    background: #ffffff;
    color: var(--ab-green);
    font-size: 1.02rem;
    font-weight: 900;
    line-height: 1.5;
}

.ab-access__addr,
.ab-access__route {
    margin: 0;
    color: var(--ab-body);
    font-size: 0.93rem;
    line-height: 1.95;
}

.ab-access__label {
    margin: 18px 0 6px;
    color: var(--ab-green);
    font-size: 0.96rem;
    font-weight: 900;
}

.ab-access__btn {
    display: inline-flex;
    align-items: center;
    margin-top: 18px;
    padding: 10px 30px;
    border: 2px solid var(--ab-green);
    border-radius: 999px;
    background: #ffffff;
    color: var(--ab-green);
    font-size: 0.9rem;
    font-weight: 800;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.ab-access__btn:hover {
    background: var(--ab-green);
    color: #ffffff;
}

.ab-access__map {
    margin: 0;
}

.ab-access__map img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
}

@media (min-width: 900px) {
    .ab-access__item {
        grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
        gap: 30px;
    }
}

/* 2026-11-12 補正 */
.ab-month__en { font-size: 11px !important; }
