/* ============================================================
   HUTF ShortSprint Part — "百華繚乱"
   Theme : 水色 × 紅 / 和モダン（花弁散らし）
   ============================================================ */

:root {
    --c-mizu:      #77bbcc;                 /* ベースの水色（瓶覗色） */
    --c-mizu-deep: #8fc3d0;                 /* 濃い水色 */
    --c-red:       #d7003a;                 /* 紅色（メインアクセント） */
    --c-red-deep:  #9e0030;                 /* 深紅 */
    --c-ink:       #24363e;                 /* 墨色（本文） */
    --c-ink-light: #5a6b72;                 /* 薄墨（補足文） */
    --c-paper:     rgba(255, 255, 255, .92);/* 和紙風パネル */
    --c-black:     #101418;                 /* ヘッダ・フッタの黒 */
    --c-line:      rgba(36, 54, 62, .12);   /* 薄い罫線 */
}

/* History 各パートの配色設定 */
/* =========================
   Archive 年度スローガン別カラー
   （色を変えたいときはこの :root だけ編集すればOK）
========================= */

:root {
    /* Strong (72th) */
    --Strong-back:      #f5680a;
    --Strong-line:      rgba(255, 192, 148, 0.6);

    /* Potential (73th) */
    --Potential-back:   #a432eb;
    --Potential-line:   rgb(241, 109, 33);

    /* 瞬刻に注げ (74th) */
    --瞬刻に注げ-back:   #206bf7;
    --瞬刻に注げ-line:   rgb(255, 255, 255);

    /* Reborn (75th) */
    --Reborn-back:      #ff5064f8;
    --Reborn-line:      rgba(82, 79, 79, 0.6);

    /* 百華繚乱 (76th / Top用) */
    --百華繚乱-line:      rgba(245, 29, 29, 0.5);
}


html {
    font-family: "Noto Serif JP", serif;
    background-color: var(--c-mizu);
    color: var(--c-ink);
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--c-mizu);            /* 画像読込前の保険 */
    background-image: url("../Back-images/Back-design6.png"); /* 用意した背景画像をそのまま表示 */
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    background-attachment: fixed;               /* スクロールしても背景を固定 */
    min-height: 100vh;
}


/* =========================
   共通
========================= */

.container {
    width: 90%;
    max-width: 1150px;
    margin: 0 auto;
    position: relative;
}

.flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

a {
    text-decoration: none;
}

::selection {
    background: var(--c-red);
    color: #fff;
}

/* =========================
   Header（黒ベース × 紅）
========================= */

header {
    padding: 24px 0;
    background-color: var(--c-black);
    border-bottom: 2px solid var(--c-red);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 25px rgba(16, 20, 24, .35);
}

header .container > div > p,
header .container > p {
    font-size: 12px;
    letter-spacing: .3em;
    color: #b9c4c9;
}

/* ロゴ */

.logo {
    font-size: 40px;
    font-weight: 700;
    letter-spacing: .12em;
    color: var(--c-red);
    font-style: italic;
    line-height: 1.2;
    text-shadow: 0 0 18px rgba(215, 0, 58, .35);
}

.logo span {
    color: var(--c-red);
}

/* メニュー */

.header_menu {
    display: flex;
}

.header_menu li {
    margin-left: 38px;
}

.header_menu a {
    position: relative;
    display: inline-block;
    padding: 6px 0;
    color: #ffffff;
    font-size: 15px;
    letter-spacing: .2em;
    transition: color .3s;
}

/* 下線がスッと伸びるホバー */
.header_menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: var(--c-red);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .3s ease;
}

.header_menu a:hover {
    color: var(--c-red);
}

.header_menu a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* =========================
   Hero
========================= */

#hero {
    height: 380px;
    background:
        linear-gradient(rgba(13, 34, 46, .55), rgba(13, 34, 46, .72)),
        url("../images/hero.jpg");
    background-size: cover;
    background-position: center;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* 斜めに走る紅のかすみ */
#hero::before {
    content: "";
    position: absolute;
    top: -60%;
    right: -12%;
    width: 55%;
    height: 220%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(215, 0, 58, .10) 40%,
        rgba(215, 0, 58, .20) 50%,
        rgba(215, 0, 58, .10) 60%,
        transparent
    );
    transform: rotate(18deg);
    pointer-events: none;
}

#hero::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--c-red), transparent);
}

.hero_inner {
    color: #fff;
    text-align: center;
    width: 100%;
    z-index: 1;
}

.hero_inner p {
    display: inline-block;
    font-size: 14px;
    margin-bottom: 18px;
    letter-spacing: .45em;
    color: #ff6b8d;
}

/* キッカー左右の横線 */
.hero_inner p::before,
.hero_inner p::after {
    content: "";
    display: inline-block;
    vertical-align: middle;
    width: 46px;
    height: 1px;
    background: rgba(255, 107, 141, .8);
    margin: 0 18px;
}

.hero_inner h1 {
    font-size: 64px;
    font-weight: 700;
    letter-spacing: .15em;
    line-height: 1.2;
    text-shadow: 0 0 35px rgba(215, 0, 58, .4);
}

/* =========================
   Section Title（紅の見出し）
========================= */

.section-title {
    font-size: 44px;
    color: var(--c-red);
    margin-bottom: 70px;
    text-align: center;
    font-weight: 700;
    position: relative;
    letter-spacing: .15em;
}

/* 紅のスラッシュ型アンダーライン */
.section-title::after {
    content: "";
    width: 70px;
    height: 4px;
    background: var(--c-red);
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%) skewX(-25deg);
}

.subsection-title {
    font-size: 24px;
    color: var(--c-ink);
    margin-bottom: 26px;
    text-align: left;
    font-weight: 700;
    letter-spacing: .15em;
    padding-left: 18px;
    border-left: 4px solid var(--c-red);
}

/* =========================
   Top Team Photo
========================= */

.top-team-photo {
    margin: 80px 0 120px;
}

.top-team-photo img {
    width: 100%;
    display: block;
    margin: auto;
    border-radius: 3px;
    box-shadow:
        0 25px 55px rgba(13, 34, 46, .35),
        0 0 0 1px rgba(255, 255, 255, .5);
    object-fit: cover;
}

.SIGNAL-line {
    border: 2px solid rgba(215, 0, 58, .55);
}

/* =========================
   Chief Message（和紙パネル）
========================= */

.chief-section {
    margin-bottom: 130px;
}

.chief-card {
    width: 82%;
    display: flex;
    margin: 0 auto;
    align-items: center;
    gap: 55px;
    background: var(--c-paper);
    padding: 48px;
    border-radius: 8px;
    border: 1px solid var(--c-line);
    border-left: 4px solid var(--c-red);
    box-shadow: 0 20px 45px rgba(13, 34, 46, .25);
    backdrop-filter: blur(4px);
    position: relative;
    overflow: hidden;
}

/* 右下のうっすら紅のかすみ */
.chief-card::after {
    content: "";
    position: absolute;
    right: -80px;
    bottom: -80px;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(215, 0, 58, .08), transparent 70%);
    pointer-events: none;
}

.chief-photo {
    width: 260px;
    height: 260px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid rgba(215, 0, 58, .55);
    box-shadow: 0 12px 28px rgba(13, 34, 46, .25);
}

.chief-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chief-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.chief-role {
    color: var(--c-red);
    letter-spacing: .35em;
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 700;
}

.chief-name {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 26px;
    color: var(--c-ink);
    letter-spacing: .08em;
}

.chief-message {
    line-height: 2.2;
    color: #3c4d55;
    font-size: 16px;
}

/* =========================
   Profile Table
========================= */

#profile-list {
    padding: 40px 0 0;
    margin-bottom: 130px;
}

.profile-table-wrapper {
    overflow-x: auto;
    margin-bottom: 70px;
}

.profile-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--c-paper);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(13, 34, 46, .2);
}

.profile-table th {
    background-color: var(--c-black);
    color: var(--c-red);
    padding: 20px 22px;
    font-size: 14px;
    letter-spacing: .2em;
    text-align: left;
    border-bottom: 2px solid var(--c-red);
}

.profile-table td {
    padding: 18px 22px;
    border-bottom: 1px solid var(--c-line);
    font-size: 15px;
    color: var(--c-ink);
    text-align: left;
}

.profile-table tbody tr {
    transition: background-color .25s;
}

.profile-table tbody tr:hover {
    background-color: rgba(143, 195, 208, .25);
}

.profile-table a {
    color: var(--c-ink);
    font-weight: 700;
    border-bottom: 1px solid rgba(215, 0, 58, .45);
    padding-bottom: 2px;
    transition: .25s;
}

.profile-table a:hover {
    color: var(--c-red);
    border-bottom-color: var(--c-red);
}

/* =========================
   Individual Profile
========================= */

#indiv-hero {
    padding-top: 60px;
    margin-bottom: 110px;
}

.profile-top {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    max-width: 1150px;
    margin: 0 auto;
}

/* 写真 */

.profile-image {
    width: 420px;
    height: 540px;
    overflow: hidden;
    border-radius: 6px;
    background-color: #e8f2f5;
    border: 2px solid rgba(215, 0, 58, .55);
    box-shadow: 0 25px 50px rgba(13, 34, 46, .3);
    flex-shrink: 0;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* プロフィール情報 */

.profile-info {
    flex: 1;
}

.profile-roman {
    color: var(--c-red);
    font-size: 17px;
    letter-spacing: .4em;
    margin-bottom: 10px;
    font-weight: 700;
}

.profile-info h1 {
    font-size: 54px;
    color: var(--c-ink);
    margin-bottom: 24px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: .06em;
}

/* 種目タグ */

.profile-tag {
    display: inline-block;
    padding: 10px 26px;
    background: linear-gradient(90deg, var(--c-red), var(--c-red-deep));
    color: #fff;
    border-radius: 3px;
    margin-bottom: 38px;
    letter-spacing: .15em;
    font-size: 14px;
    font-weight: 700;
    transform: skewX(-8deg);
    box-shadow: 0 6px 15px rgba(215, 0, 58, .3);
}

/* 基本情報カード */

.profile-card {
    background: var(--c-paper);
    padding: 36px;
    border-radius: 8px;
    border: 1px solid var(--c-line);
    border-left: 4px solid var(--c-red);
    box-shadow: 0 15px 35px rgba(13, 34, 46, .2);
}

.profile-card p {
    margin-bottom: 16px;
    line-height: 1.9;
    font-size: 16px;
    color: var(--c-ink);
}

.profile-card p:last-child {
    margin-bottom: 0;
}

/* =========================
   Personal Best
========================= */

#best-record {
    margin-bottom: 110px;
}

.best-grid {
    display: flex;
    gap: 26px;
    flex-wrap: wrap;
}

.best-card {
    flex: 1;
    min-width: 180px;
    background: var(--c-paper);
    border: 1px solid var(--c-line);
    border-top: 3px solid var(--c-red);
    border-radius: 6px;
    padding: 34px 24px;
    text-align: center;
    box-shadow: 0 12px 28px rgba(13, 34, 46, .18);
    transition: transform .3s, box-shadow .3s;
}

.best-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 22px 40px rgba(13, 34, 46, .28),
        0 0 25px rgba(215, 0, 58, .12);
}

.best-card h3 {
    color: var(--c-ink-light);
    margin-bottom: 14px;
    font-size: 17px;
    letter-spacing: .25em;
}

.best-card p {
    font-size: 42px;
    font-weight: 700;
    color: var(--c-red);
    letter-spacing: .04em;
    line-height: 1.1;
}

/* =========================
   Result
========================= */

#result {
    margin-bottom: 130px;
}

/* =========================
   History Timeline
========================= */

#history {
    padding: 100px 0 140px;
}

.timeline {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding-left: 90px;
}

/* 縦ライン */

.timeline::before {
    content: "";
    position: absolute;
    left: 28px;
    top: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, var(--c-red), rgba(215, 0, 58, .08));
    border-radius: 999px;
}

/* 各年度 */

.timeline-item {
    position: relative;
    margin-bottom: 70px;
}


/* ボタン */

.history-button {
    display: block;
    width: 100%;
    padding: 40px 50px;
    background: var(--c-paper);
    border: 1px solid var(--c-line);
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(13, 34, 46, .2);
    position: relative;
    overflow: hidden;
    transition: transform .35s, box-shadow .35s;
}

/* 左端の紅バー（ホバーで伸びる） */
.history-button::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--c-red);
    transform: scaleY(.35);
    transform-origin: top;
    transition: transform .35s ease;
}

/* 右側の矢印 */
.history-button::after {
    content: "→";
    position: absolute;
    right: 42px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 26px;
    color: rgba(215, 0, 58, .45);
    transition: .35s;
}

.history-button:hover {
    transform: translateX(10px);
    box-shadow:
        0 22px 45px rgba(13, 34, 46, .3),
        0 0 25px rgba(215, 0, 58, .12);
}

.history-button:hover::before {
    transform: scaleY(1);
}

.history-button:hover::after {
    right: 32px;
    color: var(--c-red);
}

/* 年度 */

.history-year {
    color: var(--c-red);
    font-size: 15px;
    letter-spacing: .35em;
    margin-bottom: 10px;
    font-weight: 700;
}

/* チーム名 */

.history-team {
    color: var(--c-ink);
    font-size: 34px;
    font-weight: 700;
    letter-spacing: .1em;
}

/* 補足 */

.history-sub {
    margin-top: 14px;
    color: var(--c-ink-light);
    line-height: 1.8;
    font-size: 14px;
    letter-spacing: .08em;
}

/* 各年度紹介カード */

.history-team-card {
    width: 82%;
    margin: auto;
    background: var(--c-paper);
    padding: 38px;
    border-radius: 8px;
    border: 1px solid var(--c-line);
    box-shadow: 0 15px 35px rgba(13, 34, 46, .2);
}

.history-team-card p {
    margin-bottom: 16px;
    line-height: 1.9;
    font-size: 16px;
    color: var(--c-ink);
}

.history-team-card p:last-child {
    margin-bottom: 0;
}



/* =========================
   Info
========================= */

#info-hero {
    padding: 80px 0 30px;
    text-align: center;
}

.info-kicker {
    margin-bottom: 12px;
    color: var(--c-red);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .45em;
    text-transform: uppercase;
}

#info-hero h2 {
    color: var(--c-red);
    font-size: 50px;
    font-weight: 700;
    font-style: italic;
    letter-spacing: .12em;
    text-shadow: 0 0 25px rgba(215, 0, 58, .2);
}

#info-content {
    padding: 35px 0 110px;
}

.info-panel {
    width: min(100%, 820px);
    margin: 0 auto;
    background: var(--c-paper);
    border: 1px solid var(--c-line);
    border-top: 3px solid var(--c-red);
    border-radius: 8px;
    box-shadow: 0 20px 45px rgba(13, 34, 46, .25);
    overflow: hidden;
}

.info-list {
    width: 100%;
}

.info-row {
    display: grid;
    grid-template-columns: 220px 1fr;
    border-bottom: 1px solid var(--c-line);
}

.info-row:last-child {
    border-bottom: none;
}

.info-row dt,
.info-row dd {
    padding: 24px 30px;
    line-height: 1.8;
}

.info-row dt {
    color: var(--c-red);
    font-weight: 700;
    letter-spacing: .18em;
    font-size: 14px;
}

.info-row dd {
    color: var(--c-ink);
}

.info-row dd a {
    color: var(--c-ink);
    border-bottom: 1px solid rgba(215, 0, 58, .45);
    padding-bottom: 2px;
    transition: .3s;
}

.info-row dd a:hover {
    color: var(--c-red);
    border-bottom-color: var(--c-red);
}

.sns-links {
    display: flex;
    gap: 14px;
    align-items: center;
}

.sns-link {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--c-red);
    transition: .3s;
}

.sns-link i {
    font-size: 32px;
    line-height: 1;
}

.sns-link:hover {
    color: var(--c-red-deep);
    transform: translateY(-3px);
}

/* =========================
   Footer（黒ベース × 紅）
========================= */

footer {
    text-align: center;
    padding: 45px 0;
    background-color: var(--c-black);
    border-top: 2px solid var(--c-red);
}

/* コピーライトは元の書体のまま */
.copyright {
    font-size: 12px;
    color: #ffffff;
    letter-spacing: .08em;
}

/* =========================
   Responsive
========================= */

@media screen and (max-width: 768px) {

    /* 共通 */

    .flex {
        flex-direction: column;
    }

    header {
        padding: 18px 0;
    }
    
    header .container > div {
        text-align: center;
    }

    .header_menu {
        margin-top: 16px;
    }

    .header_menu li {
        margin: 0 12px;
    }

    .logo {
        font-size: 30px;
    }

    #hero {
        height: 260px;
    }

    .hero_inner p {
        font-size: 11px;
        letter-spacing: .3em;
    }

    .hero_inner p::before,
    .hero_inner p::after {
        width: 24px;
        margin: 0 10px;
    }

    .hero_inner h1 {
        font-size: 38px;
    }

    .section-title {
        font-size: 30px;
        margin-bottom: 55px;
    }

    .subsection-title {
        font-size: 19px;
    }

    /* Top */

    .top-team-photo {
        width: 100%;
        margin: 40px auto 80px;
    }

    .top-team-photo img {
        width: 95%;
    }

    .chief-card {
        width: 90%;
        flex-direction: column;
        text-align: center;
        padding: 30px;
        border-left: 1px solid var(--c-line);
        border-top: 4px solid var(--c-red);
    }

    .chief-photo {
        width: 100%;
        max-width: 320px;
        height: 320px;
    }

    .chief-name {
        font-size: 30px;
    }

    .chief-message {
        font-size: 14px;
        line-height: 2;
    }

    /* Profile Table */

    .profile-table th,
    .profile-table td {
        padding: 12px;
        font-size: 12px;
    }

    /* 個人プロフィール */

    .profile-top {
        flex-direction: column;
        gap: 45px;
    }

    .profile-image {
        width: 100%;
        max-width: 420px;
        height: 420px;
    }

    .profile-info {
        width: 100%;
    }

    .profile-roman {
        text-align: center;
        font-size: 14px;
    }

    .profile-info h1 {
        font-size: 36px;
        line-height: 1.4;
        text-align: center;
    }

    .profile-tag {
        font-size: 12px;
        display: table;
        margin: 0 auto 30px;
    }

    .profile-card {
        padding: 28px;
    }

    .profile-card p {
        font-size: 14px;
    }

    /* Best Record */

    .best-grid {
        gap: 18px;
    }

    .best-card {
        min-width: 100%;
        padding: 26px;
    }

    .best-card h3 {
        font-size: 15px;
    }

    .best-card p {
        font-size: 32px;
    }

    /* History */

    #history {
        padding: 70px 0 100px;
    }

    .timeline {
        padding-left: 50px;
    }

    .timeline::before {
        left: 16px;
    }

    .timeline-item {
        margin-bottom: 45px;
    }

    .history-button {
        width: 100%;
        padding: 24px;
    }

    .history-button::after {
        display: none;
    }

    .history-team {
        font-size: 24px;
    }

    .history-team-card {
        width: 90%;
        padding: 28px;
    }

    /* Info */

    #info-hero {
        padding: 55px 0 20px;
    }

    #info-hero h2 {
        font-size: 34px;
    }

    #info-content {
        padding: 25px 0 80px;
    }

    .info-row {
        grid-template-columns: 1fr;
    }

    .info-row dt {
        padding: 18px 22px 6px;
    }

    .info-row dd {
        padding: 0 22px 20px;
    }
}