/* ============================================================
   /admission/ 入学案内 ヒーロー
   2026-10-06  Illustrator「入学案内」レイアウト準拠
   ・装飾の斜線／「YGH」透かしは無し（背景写真のみ）
   ・リンクの緑丸アイコンは70%サイズ（30px → 21px）
   ・SP(〜899px)：リンク6つを1列縦積みにし、その右横に生徒カットを配置
   画像は本CSSと同一フォルダ（/admission/assets/css/）に配置
   ============================================================ */
.adm-hero {
    position: relative;
    overflow: hidden;
    display: grid;
    align-content: center;
    min-height: clamp(520px, 84vh, 880px);
    --adm-hero-pb: clamp(40px, 6vw, 76px);
    padding: calc(var(--ygh-header-height, 90px) + clamp(20px, 3.4vw, 48px)) 0 var(--adm-hero-pb);
    color: #ffffff;
    background: #0d5aa7 url('adm-hero-bg.jpg') center 32% / cover no-repeat;
}

/* 文字が読めるように青のスクリムを重ねる */
.adm-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(102deg,
        rgba(4, 44, 96, 0.80) 0%,
        rgba(6, 68, 130, 0.54) 40%,
        rgba(9, 112, 150, 0.24) 72%,
        rgba(9, 130, 160, 0.10) 100%);
}

/* 中身：左＝テキスト＋ボタン / 右＝生徒カット */
.adm-hero__inner {
    position: relative;
    z-index: 3;
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 30%);
    gap: clamp(16px, 2.2vw, 30px);
    align-items: end;
}
.adm-hero__copy {
    grid-column: 1;
    grid-row: 1;
    display: grid;
    gap: 12px;
    align-content: start;
    max-width: 820px;
}
.adm-hero__title {
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.7rem, 3.5vw, 3rem);
    font-weight: 900;
    line-height: 1.3;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 16px rgba(4, 22, 52, 0.45);
}
.adm-hero__en {
    margin: -4px 0 6px;
    font-family: "Times New Roman", "Yu Mincho", "YuMincho", serif;
    font-size: clamp(1rem, 1.6vw, 1.45rem);
    font-weight: 400;
    letter-spacing: 0.06em;
    color: #ffffff;
    text-shadow: 0 2px 14px rgba(4, 22, 52, 0.45);
}
.adm-hero__lead {
    margin: 0;
    font-size: clamp(0.84rem, 0.98vw, 0.96rem);
    line-height: 1.95;
    color: #ffffff;
    text-shadow: 0 1px 10px rgba(4, 22, 52, 0.50);
}
.adm-hero__lead--strong {
    font-weight: 800;
    font-size: clamp(0.92rem, 1.15vw, 1.1rem);
}

/* 6つのリンクボタン */
.adm-hero__links {
    grid-column: 1;
    grid-row: 2;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(10px, 1.4vw, 16px);
    margin: clamp(6px, 1.4vw, 16px) 0 0;
    padding: 0;
}
.adm-link {
    display: flex;
    align-items: center;
    gap: 11px;
    height: 100%;
    padding: 13px 15px;
    background: #ffffff;
    border-radius: 10px;
    color: #1b2735;
    font-size: clamp(0.76rem, 0.88vw, 0.9rem);
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(4, 34, 70, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.adm-link:hover,
.adm-link:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(4, 34, 70, 0.26);
}
.adm-link__icon {
    position: relative;
    flex: 0 0 auto;
    /* 2026-10-06: 緑ボタンを70%に縮小（30px → 21px） */
    width: 21px;
    height: 21px;
    border-radius: 50%;
    background: #00a497;
}
.adm-link__icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-38%, -50%);
    width: 0;
    height: 0;
    border-left: 8px solid #ffffff;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}
.adm-link__label { display: block; }

/* 生徒カット（PC：右カラムに下端接地） */
.adm-hero__visual {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: end;
    /* 下端の余白ぶんだけ下げて、足元をヒーロー最下端に接地させる */
    margin: 0 0 calc(-1 * var(--adm-hero-pb, 60px));
    display: flex;
    justify-content: center;
    align-items: flex-end;
}
.adm-hero__visual img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: min(66vh, 620px);
    height: auto;
    filter: drop-shadow(0 20px 34px rgba(4, 34, 70, 0.28));
}

/* ============ SP（〜899px）：ボタン6つを1列縦積み＋右横に生徒カット ============ */
@media (max-width: 899px) {
    .adm-hero { min-height: 0; align-content: start; }
    .adm-hero__inner {
        grid-template-columns: minmax(0, 1fr) minmax(96px, 30%);
        gap: 12px;
        align-items: start;
    }
    /* 見出し・本文は全幅 */
    .adm-hero__copy {
        grid-column: 1 / -1;
        grid-row: 1;
        max-width: none;
    }
    /* 6つのメニューバナーは1列 */
    .adm-hero__links {
        grid-column: 1;
        grid-row: 2;
        grid-template-columns: 1fr;
        margin-top: 6px;
    }
    .adm-link { padding: 11px 12px; }
    /* 女子生徒はバナー列の横に、バナー列と同じ高さで配置 */
    .adm-hero__visual {
        grid-column: 2;
        grid-row: 2;
        align-self: stretch;
        align-items: flex-end;
        margin: 6px 0 0;
        min-height: 280px;
    }
    .adm-hero__visual img {
        width: 100%;
        height: 100%;
        max-height: none;
        object-fit: contain;
        object-position: bottom center;
    }
}

@media (max-width: 559px) {
    .adm-hero__inner { grid-template-columns: minmax(0, 1fr) minmax(88px, 28%); }
    .adm-hero__title { font-size: 1.5rem; }
    .adm-link { font-size: 0.76rem; padding: 10px 11px; }
    .adm-hero__visual { min-height: 250px; }
    .adm-hero__visual img { filter: drop-shadow(0 12px 22px rgba(4, 34, 70, 0.24)); }
}
