@charset "UTF-8";

/* =============================================
   1. 基本設定（全体・PC向け）
   ============================================= */
html {
    scroll-behavior: smooth;
}
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-x: hidden;
}
body {
    /* PC版：左右の余白のみ設定し、上は0にします */
    padding: 0 8rem; 
    font-family: "Noto Sans JP", sans-serif;
}
/* フォント指定 */
.noto { font-family: "Noto Sans JP", sans-serif; }
.klee { font-family: "Klee One", cursive; letter-spacing: 0.05em; }
.allison { font-family: "Allison", cursive; }
.rocknroll-one-regular { font-family: "RocknRoll One", sans-serif; }

div img { max-width: 100%; }
img { object-fit: cover; }
li { list-style-type: none; }
a { font-size: 2rem; text-decoration: none; transition: 0.3s; }

.gray { color: #505050; }
.orange { color: rgba(239, 132, 87); }
.ao { color: #5281cd;}

.font-large { font-size: 4rem; line-height: 1.2; }
.font-mid { font-size: 1.8rem; }
.font-small { font-size: 1.5rem; }
.main-title {
    margin-top: 0;
    padding: 1rem 0 1rem 1.5rem;
    background-image: url('../images/bgi01.png');
    background-color: rgb(237, 161, 129);
    border-radius: 10px;
    color: #fff;
    text-shadow: 0 0 1px rgb(237, 161, 129);
    z-index: 9;
}
.main-title-flex { display: flex; align-items: center; }
.title-text{ padding-left: 1rem;}
.year-text {
    font-size: 1.8rem;
    color: #32605a;
    font-weight: bold;
    white-space: nowrap;
    font-family:  "RocknRoll One";
    text-shadow: none;
}
.icon { width: 4rem; height: 4rem; margin-right: 10px; margin-left: 2rem;  border-radius: 50%;}
.about { padding: 1.5rem 0 2rem 0; margin: 1.5rem 4rem; line-height: 1.5;}
.section-title {
    display: inline-flex;
    align-items: baseline;
    white-space: nowrap;
    margin-top: 5rem;
    width: fit-content;
    max-width: 100%;
}
.midashi-title {
    color: #505050;
    background: #dbebf8;
    padding: 0.5em 1.5em 0.5em 0.5em;
    border-radius: 25px 0px 0px 25px;
}
.midashi-title2 {
    color: #fff;
    background: rgb(237, 161, 129);
    padding: 0.5em 1.5em 0.5em 0.5em;
    border-radius: 25px 0px 0px 25px;
}
.midashi-title::before, .midashi-title2::before {
    content: '●'; color: white; margin-right: 8px;
}

/* ヘッダー 　*/
header { position: relative; z-index: 1000; }
#index-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(237, 161, 129);
    padding: 0 2rem;
}
#index-header #head-nav .r-idx-ul {
    display: flex;
    justify-content: flex-end;
    column-gap: 10px;
}
#index-header  #head-nav .r-idx-ul a {
    color: #344e5b;
    border-bottom: 2px solid #dbebf8;
    padding-bottom: 4px;
    display: inline-block;
}
#index-header p{ font-size: 1.5rem; }
#menu-header p{ font-size: 1.5rem; }

/* 概要・チラシ　*/
main { width: 100%; overflow: clip; position: relative; 
    z-index: 10;        /* 黄色い背景(z-index: -1)より大きい数字に設定 */
}
.curved {
    /* position: relative; */
    background: transparent; /* 背景色は擬似要素につけるので透明に */
    padding-top: 20px;
    padding-bottom: 10px;
    z-index: 1;
    margin-top: -10px;
    overflow: visible; /* 円をはみ出させるために必要 */
}
    /* 半円を作る擬似要素 */
.curved::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%); /* 中央寄せ */
    
    /* 「円のサイズ」を調整 */
    width: 80%;          /* 横幅を画面の80%に絞る（ここを小さくすると丸みが強く） */
    height: 50%;        /* 高さを本体より高く設定して丸みを出す */
    background: rgb(244, 232, 137); /* 本物の太陽の色 */
    /* 下側だけを綺麗な円弧にする */
    border-bottom-left-radius: 50% 100%;
    border-bottom-right-radius: 50% 100%;
    z-index: -1;     /* 文字の後ろに配置 */
}
.bg-img {
    background-image: url('../images/bgi02.jpg');
    background-position: right top;
    background-repeat: no-repeat;
    background-size: contain;
    min-width: 320px;
}
.text-shdw { text-shadow: 1px 1px 3px #fff, -1px -1px 3px #fff; }
    /* チラシダウンロードボタンのエリア設定 */
.link-area {
    margin-top: 2rem;       /* 上に余白を空ける */
    text-align: center;     /* ボタンを中央寄せにする */
}
    /* ボタン本体のデザイン */
.btn-flyer {
    display: inline-flex;       /* アイコンと文字をきれいに並べる */
    align-items: center;        /* 上下中央揃え */
    justify-content: center;
    background-color: rgb(244, 232, 137);  
    color: #5281cd !important;     /* 文字色は白（強制） */
    padding: 12px 35px;         /* ボタンの大きさ調整 */
    border-radius: 30px;        /* 丸みをつける */
    text-decoration: none;      /* 下線を消す */
    font-family: "Klee One", cursive; /* サイトの雰囲気に合わせたフォント */
    font-size: 1.1rem;
    font-weight: bold;
    box-shadow: 0 4px 8px #999; /* ふんわりした影
    transition: all 0.3s ease;  /* なめらかに動かす */
    border: 2px solid transparent; /* 枠線の準備 */
    text-shadow: none;
}
    /* アイコンと文字の間隔 */
.btn-flyer .icon-doc {
    margin-right: 10px;
    font-size: 1.2em;
}
    /* マウスを乗せたときの動き（ホバーエフェクト） */
.btn-flyer:hover {
    background-color: rgb(239, 132, 87); /* サイトのアクセントカラー（オレンジ） */
    color: #fff !important;
    transform: translateY(-3px); /* ぽよんと浮き上がる */
    box-shadow: 0 6px 15px rgba(239, 132, 87, 0.4); /* 影を少し強く */
}
/*　参加者の声 */
.sub-midashi { 
    border-bottom: 2px solid #32605a; 
    display: inline-block; 
    margin-bottom: 15px; 
    color: #32605a; 
    font-size: 1.4rem; 
}
.section-subtext {
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: #666;
}
.coments-container {
    display: flex;
    gap: 40px;
    max-width: 1200px;
    margin: 0;
    padding: 20px 5%;
    align-items: flex-start;
}
/* ひとかたまりごとの設定 */
.voice-item {
    margin-bottom: 60px; /* 下に60pxの余白を追加（お好みで調整してください） */
    padding-bottom: 40px;
    border-bottom: 1px dotted #ccc; /* 境界線を入れるとより分かりやすくなります（不要なら消してください） */
}
.voice-item:last-child {
    margin-bottom: 0;   /* 最後のアイテムだけは余白なし */
    border-bottom: none;
}
.participant-list { 
    font-size: 0.95rem; 
    max-height: 600px; 
    overflow-y: auto; 
    padding-right: 15px; 
}
.coments-left { flex: 1.2; }
.coments-left p{ margin: 0 0 8px; }
.coments-right { flex: 1; background-color: #f9f9f9; padding: 20px; border-radius: 10px; }

.list-divider { 
    border: none; 
    border-top: 1px dotted #ccc; 
    margin: 1rem 0; }

.comment-links { list-style: none; padding: 0; }
.comment-links li { margin-bottom: 8px; }
.comment-links a {
    text-decoration: none;
    color: #5281cd;
    transition: 0.3s;
    font-size: 0.9rem;
    border-left: 3px solid transparent;
    padding-left: 8px;
}
.comment-links a:hover {
    color: #32605a;
    border-left: 3px solid rgba(239, 132, 87, 1);
}
.material-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(60px, 1fr)); gap: 8px; }
.material-grid a { display: block; border: 1px solid #ddd; text-align: center; padding: 5px 0; font-size: 0.85rem; border-radius: 4px; color: #5281cd;;}
.material-grid a:hover {
    color: #32605a;
    border: 3px solid rgba(239, 132, 87, 1);
}
/* 申し込み */
.entry-section { padding: 60px 20px; background-color: #fcfaf5; }
.entry-card {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}
.entry-header { text-align: center; margin-bottom: 30px; }
.entry-header p.klee { font-size: 1.4rem; color: #32605a; margin-bottom: 10px; }
.entry-subtext { font-size: 0.9rem; color: #666; }
.entry-requirements { list-style: none; padding: 0; margin-bottom: 30px; }
.entry-requirements li { 
    padding: 12px 15px; 
    border-bottom: 1px dashed #ddd; 
    display: flex; 
    align-items: center; 
}
.entry-requirements li:last-child { border-bottom: none; }
.entry-requirements .dot { 
    width: 8px; 
    height: 8px; 
    background-color: rgba(239, 132, 87, 0.8); 
    border-radius: 50%; 
    margin-right: 15px; 
}
.entry-form-guide { text-align: center; font-size: 0.8rem; color: #999; margin-bottom: 20px; }
.btn-area { text-align: center; }
.entry-button {
    display: inline-block;
    padding: 15px 50px;
    background-color: #32605a;
    color: #fff;
    border-radius: 30px;
    font-size: 1.1rem;
    /* box-shadow: 0 4px 15px rgba(50, 96, 90, 0.3); */
    box-shadow: 0 4px 8px #999; /* ふんわりした影*/
}
.entry-button:hover {
    background-color: rgba(239, 132, 87, 1);
    transform: translateY(-2px);
    color: #fff;
}
.bubble {
    position: relative;
    padding: 20px 25px;
    background: #fff;
    border: 2px solid rgba(239, 132, 87, 1);
    border-radius: 12px;
    margin: 20px 0;
}
.bubble::before { content: ""; position: absolute; top: -24px; left: 20px; border: 12px solid transparent; border-bottom: 12px solid rgba(239, 132, 87, 1); }
.bubble::after { content: ""; position: absolute; top: -20px; left: 20px; border: 12px solid transparent; border-bottom: 12px solid #fff; }
.after-text { background: #fdfdfd; padding: 10px; border-left: 3px solid #ddd; font-size: 0.9rem; }
.teacher-bubble { border-color: #32605a; }
.teacher-bubble::before { border-bottom-color: #32605a; }
.teacher-voice .profile-details { color: #d9534f; }

/* 企画・協力とスライダー */
.slider-and-text { display: flex; justify-content: space-between; align-items: flex-start; margin-top: 3rem; gap: 40px; width: 100%; }
.slider-container { width: 600px; margin-left: 50px; overflow: hidden; }
.slider-text-content { flex-grow: 1; padding-left: 4rem; font-size: 1.2rem; line-height: 1.5; white-space: nowrap; color: #505050; font-family: noto; }
.slider-text-content a { text-decoration: none; color: inherit; transition: 0.3s; font-size: 1rem; }
.moon-slick-item { width: 400px; height: 400px; display: flex !important; justify-content: center; align-items: center; }
.moon-slick-item img { width: 100%; height: 100%; object-fit: contain; border-radius: 25px; }
.sec-slikslider, .moon-slick { width: 100% !important; }
.ft-padd div { padding: 0 20px !important; }
.slider-placement p,.slider-placement a  .foot p, .foot a{ font-size: 14px !important; line-height: 1.5; text-decoration: none; }  
.slider-placement{ display: block; align-items: center; width: 100%; overflow: hidden; }
.slider-text-content{ flex-shrink: 0; margin-right: 20px; }
.slider-container{ flex-grow: 1; min-width: 0; }

/* フッター */
footer.foot { background-color: #dbebf8; padding: 1rem 0; margin-top: 2rem; font-size: 1.2rem; }
.ft-container1 { display: flex; justify-content: center; align-items: center; gap: 30px; max-width: 1200px; margin: auto; font-size: 14px; }
.ft-item1 { text-align: right; flex: 1; }
.ft-item2 { flex: 0 0 auto; margin: 0 3rem; text-align: center; }
.ft-item3 { text-align: left; flex: 1; }
.logo1 { width: 40px; height: auto; border-radius: 50%;  }

#go-page-top {
    position: fixed;
    bottom: 20px;
    right: 3rem;
    z-index: 10000; /* ヘッダー(1000)や太陽よりも確実に手前に出す */
}

#go-page-top a {
    display: block;  /* リンクの範囲を広げる */
    background: rgb(237, 161, 129);
    color: #fff;
    width: 60px;
    padding: 28px 5px;
    text-align: center;
    border-radius: 90px;
    opacity: 0.9;
    cursor: pointer; /* マウスを乗せた時に指マークにする */
}

#go-page-top a:hover {
    background-color: rgb(244, 232, 137);
    transform: translateY(-2px);
    opacity: 1;
}

/* =============================================
   2. レスポンシブ：中画面以下 (max-width: 1200px)
   ============================================= */
@media only screen and (max-width: 1200px) {
    body { padding: 0; }
    header, main, article section, .slider-and-text { padding-left: 20px !important; padding-right: 20px !important; }
    header p{ display: none; }
    .about { padding: 0; margin: 1rem 0; width: 100%; }
    #head-nav { display: none !important; }
    .pc-on { display: block !important; }
    .slider-and-text { flex-direction: column; align-items: center; padding: 0 2rem; }
    .slider-text-content { width: 100%; padding-left: 0; white-space: normal; margin-bottom: 3rem; }
    .slider-container { width: 100%; max-width: 600px; margin-left: 0; min-width: auto; }
}

/* =============================================
   3. レスポンシブ：スマホ特化 (max-width: 768px)
   ============================================= */
@media only screen and (max-width: 768px) {
    body {
        padding-top: 0; /* 背景を上まで届かせるため0にします */
    }
    body p a { font-size: 14px; }
    body h2 { font-size: 16px; }
    body h3 { font-size: 15px; }
    body h4 { font-size: 15px; }
    .font-mid { font-size: 16px; }
    
    .section-title h2.klee { font-size: 1.2rem !important; }
    .section-title h4.allison { font-size: 1.1rem !important; }
    .midashi-title, .midashi-title2 { padding: 0.5em 1em; }

    /* ヘッダー完全固定設定 */
    .main-title { 
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        margin: 0;
        padding: 5px 0;
        border-radius: 0;
        box-shadow: 0 2px 10px rgb(237, 161, 129);
    }
    .main-title-flex {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-start;
        padding: 5px 15px;
    }
    .icon { width: 25px; height: 25px; margin-left: 1rem; }
    .year-text { font-size: 14px; margin-right: 5px; }
    .title-text { display: contents; }
    .title-text1 { display: inline; font-size: 17px; margin: 0; }
    .title-text2 { display: block; width: 100%; font-size: 1.1rem; margin: 0; padding-left: .5rem; }

    /* スマホ版：黄色い背景の中身を下に押し下げ、隙間を埋める */
    .curved {
        padding-top: 85px; /* ヘッダーの高さ分、中の要素を下げます */
        margin-top: 0;
        /* border-bottom-left-radius: 100% 160%;
        border-bottom-right-radius: 100% 160%; */
    }

    /* 参加者の声・文字サイズ調整 */
    .participant-list { font-size: 0.9rem; line-height: 1.6; }
    .coments-right { margin-top: 20px; padding: 15px; }
    .comment-links a { font-size: 0.85rem; }
    
    /* エントリーカード・文字サイズ調整 */
    .entry-card { padding: 25px 20px; }
    .entry-header p.klee { font-size: 1.2rem; }
    .entry-requirements li { font-size: 0.9rem; padding: 10px 5px; }
    .entry-subtext { font-size: 0.8rem; }
    .entry-button { padding: 10px 30px; }

    .row-slider-item { width: 168px; height: 126px; }
    .row-slider-item-yokonaga { width: 269.5px; height: 126px; }
    .coments-container { flex-direction: column; padding: 20px; }

    .slider-and-text { gap : 0; }
    .moon-slick-item { width: 200px; height: 200px; }

    .ft-line-gap { font-size: 5px; }
    .ft-container1 { flex-direction: column; gap:0; }
    .ft-item1, .ft-item3 { text-align: left; font-size: 10px; }
    .ft-item2 { display: none; }
    .ft-item3 { display: flex; }
    .foot a, .ft-item1 p, .ft-item3 p { font-size: 12px !important; }

#go-page-top {
        position: fixed; /* 念のため再度指定 */
        right: 20px;
        bottom: 20px;
        z-index: 10000; /* スマホでも最強の優先順位 */
    }

    #go-page-top a {
        display: block;
        width: 50px;
        padding: 20px 5px;
        border-radius: 50px;
        background: rgb(244, 232, 137); /* スマホ版は黄色とのことですのでそのまま */
        color: #32605a;
        text-align: center;
    }

    #go-page-top-comment { position: fixed; right: 25px; bottom: 25px; z-index: 10000; }
    #go-page-top-comment a {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 55px;
        height: 55px;
        background-color: #32605a;
        color: #fff;
        border-radius: 50%;
        font-size: 1.8rem;
        padding-bottom: 12px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    }
}
/* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */
/* ＝＝＝＝コメントページ用＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */


header { position: relative; z-index: 1000; }
#menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(237, 161, 129);
    padding: 0 2rem;
}
#menu-header #head-nav .r-idx-ul {
    display: flex;
    justify-content: flex-end;
    column-gap: 10px;
}
#menu-header  #head-nav .r-idx-ul a {
    color: #344e5b;
    border-bottom: 2px solid #dbebf8;
    padding-bottom: 4px;
    display: inline-block;
}
#menu-header p{ font-size: 1.5rem; }

/* --- 3. 重なり防止（本文の開始位置を下げる） --- */
/* comment.html の <main class="comment-page-main"> に適用 */
.comment-page-main {
    padding-top: 100px; /* 固定ヘッダーに隠れないよう余白を作る */
    position: relative;
    z-index: 10;        /* 太陽の背景(z-index: -1)よりは上 */
}

/* --- 4. トップに戻るボタン --- */
#go-page-top-comment {
    position: fixed;
    bottom: 20px;
    right: 3rem;
    z-index: 10000; /* ページ内の全要素で一番手前に */
}

#go-page-top-comment a {
    display: block;  /* ボタン全体をクリック可能にする */
    background: rgb(244, 232, 137);
    color: #fff;
    width: 60px;
    padding: 20px 5px;
    text-align: center;
    border-radius: 50px;
    font-size: 0.9rem;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

#go-page-top-comment a:hover {
    background-color: rgb(237, 161, 129);
    transform: translateY(-2px);
}
/* -- レイアウト調整ーー */
/* 1. アイコンとプロフィール情報を横並びにする */
.voice-profile {
    display: flex;         /* 横並びにする */
    align-items: center;    /* 上下中央に揃える */
    gap: 20px;             /* アイコンと文字の間の隙間 */
    margin-bottom: 15px;    /* 下の本文との隙間 */
}

/* 2. アイコンのサイズと形 */
.voice-icon {
    width: 80px;           /* PC版のサイズ */
    height: 80px;
    border-radius: 50%;    /* 丸くする */
    object-fit: cover;     /* 画像を枠に合わせて切り抜く */
    flex-shrink: 0;        /* 画面が狭くなってもアイコンが潰れないようにする */
}

/* 3. プロフィール内の文字調整 */
.profile-name {
    display: block;        /* 改行させる */
    font-size: 1.2rem;
    font-weight: bold;
    color: #32605a;
    margin-bottom: 4px;
}

.profile-details {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}
/* --- 5. スマホ版での微調整 --- */
@media only screen and (max-width: 768px) {
    /* ナビゲーション */

    /* レイアウト */
    .comment-page-main {
        padding-top: 130px; /* スマホはヘッダーが高くなるので余白を増やす */
    }
    #go-page-top-comment {
        position: fixed;
        right: 20px;
        bottom: 20px;
    }
    /* TOPボタン */
    /* アイコンを小さくする */
    .voice-icon {
        width: 50px;       /* スマホ版は小さく設定 */
        height: 50px;
    }

    /* アイコンと名前の隙間を少し詰める */
    .voice-profile {
        gap: 12px;
    }

    /* スマホ版の文字サイズ微調整 */
    .profile-name {
        font-size: 1rem;
    }
    .profile-details {
        font-size: 0.8rem;
    }
}