@charset "UTF-8";

* {
    box-sizing: border-box;
}

/* --------------------------------------------------- */
/* 共通部分 */
/* --------------------------------------------------- */
html {
    scroll-behavior: smooth;
}

body {
    font-family: "Noto Sans JP", sans-serif;
    font-style: normal;
    font-weight: 400;
    width: 100%;
    margin: 0;
    padding: 0;
    line-height: 1.7;
    color: #323437;

    background-color: #FFFFF4;
}

section {
    padding: 5vh 0;
}

/* HTMLの<a>タグ（リンク）に対して、「見た目」や「動き」のルール */
a {
    text-decoration: none;
    color: inherit;
    /* 元の配色を継承 */
    transition: 0.5s;
    /* アニメーションで表示速度を調整 */
    padding: 5px;
}

/* リンクにマウスのせた時 */
a:hover {
    color: #f9e500;
    /* 色を変える */
}

img {
    max-width: 100%;
}

#hm-menu {
    display: none;
}

/* レイアウト */
.wrapper {
    max-width: 100%;
}

.align-center {
    margin: 5vh 0;
    text-align: center;
}

/* --------------------------------------------------- */
/* ヘッダーとトップ */
/* --------------------------------------------------- */
header {
    position: fixed;
    /* 要素の場所の固定 */
    left: 0;
    top: 0;
    /* 上からの位置 */
    z-index: 1;
    /* Postionで指定した要素の重なり順 */
    margin: 0 auto;
    width: 100%;
    height: 80px;
    background-color: rgba(255, 255, 244, 0.6);
    display: flex;
    align-items: center;
    justify-content: left;
}

.main-visual {
    background-image: url("../img/top.png");
    background-size: cover;
    background-repeat: no-repeat;
    /* 繰り返さない */
    background-position: center bottom;

    width: 100%;
    height: 120vh;

    margin: 0;
    align-items: center;
    display: flex;
    margin-top: 0px;
    position: relative;
    z-index: 1;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    width: 85vw;
    margin-left: 4%;
}

/* ロゴと文字 */
.main-logo {
    display: flex;
    gap: 10px;
}

/* headerロゴimg */
.header-logo img {
    height: 60px;
    /* ロゴの大きさ */
    margin-top: 6px;
    position: static;
}

/* header文字 */
.page-logo {
    display: flex;
    flex-direction: column;
    margin-top: 13px;
}

/* 北海道情報大学 学生実行委員会 */
.page-logo h1 {
    font-size: 16px;
    /* 文字間隔の設定 */
    font-weight: normal;
    margin-bottom: 0px;
    margin-top: 0%;
}

/* HIU STUDENT COUNCIL */
.page-logo h2 {
    color: #289CCB;
    font-size: xx-small;
    letter-spacing: 0.02rem;
    margin-top: 0px;
}

/* タイトルたちの下線
.heading-title {
    background-image: linear-gradient(to right, #323437, #EAFF00, #7FE8C0, #289CCB);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: 100% 2px;/* 下線の太さ */
/*
    margin-bottom: 80px;
    padding: 15px;
} */


/* --------------------------------------------------- */
/* 中身ごとの設定 */
/* --------------------------------------------------- */
#hiu-council-explanation,
#content,
#PLAN {
    margin: 100px auto 100px;
    /* 上、左右、下 */
    max-width: 1000px;
    /* 最大幅 */
    width: 90%;
    /* スマホなどの小さい画面では画面幅の90%を使う */
    padding: 50px 20px 0;
}



/* --------------------------------------------------- */
/* 第38回蒼天祭を*/
/* 応援くださる企業さま、個人さまを募集しています。*/
.main-title {
    flex-direction: column;
    /* 中身を縦並びにする */
    align-items: center;

    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 14%;
}

.main-title01,
.main-title02 {
    font-size: 40px;
    font-weight: normal;
    opacity: 80%;
    letter-spacing: 3.2px;
    /* 文字と文字の間隔 */

    display: block;
    width: max-content;
    margin: 0 auto;
    text-align: center;

    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 100% 2px;
    /* 太さ */
}

/* ご協賛ください。*/
.main-title02 {
    margin: 0 auto;
    margin-top: 10px;
    /* ←間隔つける */
    font-size: 1.3em;
}

/* 第38回蒼天祭 だけ*/
.main-title-soten {
    color: #289CCB;
    font-weight: 550;
    letter-spacing: 8px;
    /* 文字と文字の間隔 */
}




/* 内容・本文 */
/* --------------------------------------------------- */
.item01,
.item02,
.item03,
.item04,
.item05,
.item06 {
    display: flex;
    align-items: center;
    /* 上下を真ん中で揃える */
    justify-content: center;
    /* 左右を真ん中に寄せる */
    gap: 50px;
    /* 画像とテキストの間のスキマ */

    max-width: 950px;
    /* 枠全体の最大幅 */
    margin: 0 auto 80px auto;
    /* 画面の真ん中に配置 ＆ 下の箱との間隔 */
    padding: 40px;
    /* 枠の内側の余白 */
    border-radius: 20px;
    /* 枠線の角を丸くする */
    background-color: #fff;
    /* 中身の背景を白にする */

    border: 3px solid currentcolor;
}

.item-img img {
    width: 400px;
    /* 画像の横幅（スクショのグレーの四角のサイズ） */
    height: 400px;
    /* 画像の縦幅 */
    object-fit: cover;
    /* 画像が縦横に伸びるのを防ぐお守り */
    background-color: #ddd;
    /* 画像がないときの灰色の背景 */
}

.item-reverse {
    flex-direction: row-reverse;
}

/* 本文 */
.deb {
    color: #323437;
    /* 少し薄めの黒 */
    font-size: 20px;
    text-align: center;
}

/* サブタイトル */
.title01,
.title02,
.title03,
.title04,
.title05,
.title06 {
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 26px;
}

.item01,
.title01 {
    color: #FFF45C;
}

.item02,
.title02 {
    color: #FFDF84;
}

.item03,
.title03 {
    color: #c2f188;
}

.item04,
.title04 {
    color: #6be5ae;
}

.item05,
.title05 {
    color: #96D7F1;
}

.item06,
.title06 {
    color: #289CCB;
}



/* --------------------------------------------------- */

/* 大きな枠の中で中身を縦一列に並べる */
.kyousan {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.title06 {
    padding-bottom: 10px;
    text-align: center;
}

/* タイトルの下の短い線（自動で枠と同じ色になります） */
.title06::after {
    content: "";
    display: block;
    width: 540px;
    height: 1.5px;
    background-color: currentcolor;
    margin: 15px auto
        /* 線の上下の隙間 */
}

/* 2つのプランボタンを横並びにする */
.kyousan-plan {
    display: flex;
    justify-content: center;
    gap: 60px;
    /* ボタンとボタンの間の隙間 */
    margin-bottom: 30px;
    width: 100%;
}

/* 白いボタン（企業向け・個人向け）の見た目 */
.plan-5000,
.plan-1000 {
    display: flex;
    flex-direction: column;
    /* ボタンの中身を縦並びにする */
    text-align: center;
    width: 260px;
    /* ボタンの横幅 */
    padding: 20px 0;
    /* ボタンの上下のぷっくり感 */
    border: 2px solid currentcolor;
    /* 自動で枠と同じ色になる線 */
    border-radius: 15px;
    background-color: #fff;
}

/* ボタンの中の「〇〇さま向け」の文字 */
.plan-target {
    color: #323437;
    /* 本文と同じ黒色に戻す */
    font-size: 20px;
    margin-bottom: 5px;
}

/* ボタンの中の「¥5,000~」の文字 */
.plan-price {
    color: #323437;
    /* 本文と同じ黒色に戻す */
    font-size: 25px;
}

/* 下の説明テキストの行間調整 */
.kyousan-text {
    color: #323437;
    font-size: 20px;
    line-height: 1.8;
    /* 読みやすい行間 */
    text-align: center;
}


/* --------------------------------------------------- */
/* フッター */
/* --------------------------------------------------- */
footer {
    margin-top: 100;
    margin-bottom: 0px;
    background-color: #289CCB;

    position: relative;
}

.info-gap01 {
    display: flex;
    flex-direction: column;
    gap: 2vh;
}

.info-gap02 {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2vh;
}

.footer-wrapper {
    background-color: #289CCB;
    color: #FFF9B9;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10vw;
    padding: 10vh 10vw;
}

/* 連絡先・関連ページ */
.underline {
    text-align: center;
    font-size: 23px;
    margin-bottom: 10px;
    padding: 15px;

    background-image: linear-gradient(to right, #FFF45C);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: 100% 1.5px;
    /* 下線の太さ */
}

.kojinnjouhou {
    padding-left: 5px;
}

button {
    background-color: transparent;
    color: #FFF9B9;
    border-style: none;
    font-size: 15px;

    /* 👇ここからが左揃えにするための追加ポイント！ */
    padding: 0;
    /* 上下左右すべての余白を消す！ */
    margin: 0;
    /* 外側の見えない余白も完全にゼロに */
    font-family: inherit;
    /* 上の電話番号やメールアドレスと同じフォントを強制的に使う！ */
    line-height: 1;
    /* 文字の上下の謎の隙間をなくす */
    cursor: pointer;
    /* リンクだとわかりやすいように、マウスを乗せたら指マーク(👆)にする */
}

/* リンクにマウスのせた時 */
button:hover {
    color: #f9e500;
    /* 色を変える */
}

.address {
    text-align: center;
}

.icon {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.icon img {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    /* 画面が狭くなってもアイコンが潰れないようにする */
}

.copy {
    padding-bottom: 20px;
    background-color: #289CCB;
    color: #FFF9B9;
    width: 100%;
    text-align: center;
    margin: 0;
}




/* ふわふわ動かすアニメーションの定義
@keyframes fuwafuwa {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-10px); }  15px分、上に浮く
    100% { transform: translateY(0); }
}


.floating-item {
    position: absolute;
    z-index: -1;       /* 文字の後ろに隠す
    animation: fuwafuwa 4s ease-in-out infinite; /* 4秒かけてずっとふわふわさせる
}

 */

.image {
    position: absolute;
    /* ✨一番重要！これで物理的な場所を取らなくなり、隙間が消滅します✨ */
    top: 0;
    /* ページの一番上から配置 */
    left: 0;
    /* ページの一番左から配置 */
    width: 100%;
    /* 画面いっぱいに広げる（デザインに合わせて変えてOK） */
    z-index: -10;
    /* 文字やフッターより奥（裏側）に隠す */
}

/* 個別の場所指定 */
/* 一番上 */
.star01 {
    top: auto;
    bottom: 0;
    margin-top: -50px;
    width: 100%;
}

/* 地球儀 */
.star02 {
    top: auto;
    bottom: 0;
    margin-bottom: -60px;
    width: 100%;
}







/* ===================================
   スマホ版
=================================== */
@media screen and (max-width: 768px) {

    /* ---------- ヘッダー ---------- */
    header {
        height: 60px;
    }

    .page-header {
        width: 95%;
        margin-left: 10px;
        padding: 0;
    }

    .header-logo img {
        height: 40px;
        margin-top: 0;
    }

    .page-logo h1 {
        font-size: 10px;
    }

    .page-logo h2 {
        font-size: 8px;
    }

    /* ---------- TOP ---------- */

    .main-visual {
        height: 300px;
        background-position: center;
    }

    .main-title {
        width: 80%;
        top: 50px;
    }

    .main-title01 {
        font-size: 18px;
        letter-spacing: 1px;
    }

    .main-title02 {
        font-size: 11px;
        margin-top: -2px;
    }

    .main-title-soten {
        letter-spacing: 2px;
    }

    /* ---------- 本文 ---------- */

    #content {
        width: 95%;
        padding: 0;
        margin-top: 40px;
    }

    .item01,
    .item02,
    .item03,
    .item04,
    .item05,
    .item06 {

        flex-direction: column;
        gap: 10px;

        width: 100%;
        max-width: 330px;

        margin: 0 auto 50px;
        padding: 20px;

        border-width: 2px;
        border-radius: 20px;
    }

    .item-img img {
        width: 100%;
        max-width: 250px;
        height: 250px;
        margin-top: 15px;
    }

    .deb {
        font-size: 13px;
        line-height: 1.8;
    }

    .deb p br {
        display: none;
    }

    .title01,
    .title02,
    .title03,
    .title04,
    .title05,
    .title06 {
        font-size: 19px;
    }

    /* ---------- 協賛 ---------- */

    .title06::after {
        content: "";
        display: block;
        width: 200px;
        height: 1.5px;
        background-color: currentColor;
        margin: 10px auto 0;
    }

    .kyousan-plan {
        flex-direction: column;
        gap: 15px;
    }

    .plan-5000,
    .plan-1000 {
        width: 220px;
        margin: 0 auto;
    }

    .plan-target {
        font-size: 14px;
    }

    .plan-price {
        font-size: 20px;
    }

    .kyousan-text {
        font-size: 11px;
        line-height: 1.8;
    }


    /* ---------- フッター ---------- */

    .footer-wrapper {
        flex-direction: column;
        gap: 50px;
        padding: 50px 20px;
    }

    .underline {
        font-size: 20px;
    }

    .address,
    .kojinnjouhou,
    button {
        font-size: 13px;
    }

    .demmwa {
        width: fit-content;
        margin: 0 auto;
    }

    .demmwa .icon {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    /* ---------- 背景 ---------- */

    .star01 {
        top: auto;
        bottom: 0;
        margin-top: -19px;
        width: 100%;
    }

    .star02 {
        top: auto;
        bottom: 0;
        margin-bottom: -27px;
        width: 100%;
    }
}