/* =====　全体　===== */
* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth; /* スムーズスクロール */
}


/* =====　テキスト基本スタイル　===== */

h2, h3, h4 {
    font-family: "Noto Sans JP", sans-serif;
    text-align: center;
    color: #3E3D3D;
}

h2 {
    font-size: clamp(16px, 2vw, 30px);
    font-weight: 500; 
}
  
h3 {
    font-size: clamp(12px, 1.5vw, 20px);
    line-height: clamp(20px, 2.5vw, 40px); 
    font-weight: 400;
}
  
h4 {
    font-size: clamp(10px, 1.5vw, 15px);
    line-height: clamp(20px, 2.5vw, 30px);
    font-weight: 400;
}

.small-text {
    font-size: clamp(10px, 1.5vw, 15px);
}

a {text-decoration:none;}


/* =====　ヘッダー　===== */
header {
    height: clamp(40px, 7vw, 90px);     /* ← 高さ */
    background-color: #FFBE8F;        /* ← 背景色 */
    display: flex;
    justify-content: space-between;
    align-items: center;                /* ← 高さ中央揃え */
    padding: 2vw 5vw;                   /* 上下, 左右 */
    box-sizing: border-box;             /* border-box：margin、padding、borderを含めてwidth＝〇〇px */
                                        /* （デフォルト）content-box：margin＋padding＋border＋widthが実際のサイズ */
}

.header-BELONG {
    height: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.header-BELONG h3 {
    color: #FFFFFF;
    font-size: clamp(8px, 2vw, 25px);    
    text-align: left;
    font-weight: bold;
    letter-spacing: 0.2em;
    font-family: "Noto Sans JP", sans-serif; 
}

.header-button{
    height:100%;
    display:flex;
    justify-content: flex-end;
    align-items: center;
    list-style: none; /* 黒ポチを消す */
    
}

header a{
    letter-spacing:0.12em;
    font-family: "Noto Sans JP", sans-serif; 
    color: #FFFFFF;
    text-align: center;

    font-size: clamp(8px, 2vw, 25px);  
    font-weight:bold;
    margin: 0 1vw 0 2.5vw; /* 上　右　下　左 */
    padding: 0.1em 0; /* 上下の余白で高さをコントロール */
}

.tableofcontents {
    display: flex;
    align-items: center;
    padding: 0 10px;
    border-right: #FFFFFF 0.11vw solid;
    height: auto; /* ←これで高さ自動 */
}

.tableofcontents:hover {
    transform: scale(1.1);
    transition: all 0.3s 0s ease;/* 何秒かけて変化するか、何秒後に変化し出すか（delay） */
}




/* ===== ファーストビュー ===== */
.firstview-section {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 16/8;
    background-image: url(img/header.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    box-sizing: border-box;   
    padding: 5vw;
}

.firstview-text {
    position: absolute;
    left: 5vw;
    bottom: 5vw;
    height: auto;
    background-color: #ffffffe5;
    text-align: center;
    white-space: nowrap;     /* ← 勝手な改行を防ぐ */
    width: fit-content;      /* ← 文字サイズに合わせて広がる */
    max-width: 90vw;         /* ← はみ出さないように制限 */
    padding: 3vw 3.5vw;      /* ← 上下　左右 */
}

.firstview-text h1 {
    font-family: "Noto Sans JP", sans-serif;
    color: #3E3D3D;
    text-align: left;
    font-weight: bold;
    font-size: clamp(24px, 3vw, 42px);
    /* clampとは… (最小サイズ*これ以下にはならない）、通常の成長サイズ*画面幅によって拡大縮小、最大サイズ*大画面でもこれ以上にはならない) */
    letter-spacing: 0.08em;
    line-height: 200%;
}


/* =====　スマホ表示　（メディアクエリ・レスポンシティブ）===== */
@media screen and (max-width: 480px) {      
    
    .pc-br {
        display: none;                    /* ← brタグを非表示（スマホでは改行しない） */
    }

    .sp-br {
        display: show;
    }

    /* ファーストビュー */
    .firstview-text {
        position: absolute;
        left: 16px;
        right: 16px;
        bottom: 10%;
        text-align: center;
        padding: 10px;

        width: auto;                     /* ← 幅を自動に */
        max-width: calc(100% - 32px);    /* ← 左右margin分を引いた最大幅 */
        margin: 0 auto;                  /* ← 中央寄せ */
        white-space: normal;             /* ← スマホでは改行OK */
        transform: none;                 /* ← 中央揃えの補正をリセット */
    }

    .firstview-text h1 {
        text-align: center; 
        font-size: clamp(16px, 5vw, 24px);
    }

    .blob{
        background-color: #FFFFFF;
        width: fit-content;
        border-radius: 1.5vw;
        padding: 4vw;
        margin-bottom: 4vw;
    }
    
    .answer-text-no {
        background-image: url('img/no.png');
        height: 75vw;
    }
    
    .answer-text-yes {
        background-image: url('img/yes.png');
        height: 75vw;
    }

    .ourgoal-section {
        display: flex;
        flex-direction: column; /* 縦並びに変更 */
        align-items: center;    /* 中央揃え */
        text-align: center;     /* テキスト中央揃え */
        padding: 5vw;
    }

    .goal-img {
        width: 100%; /* 画像を全幅に */
        margin-bottom: 5vw; /* 下に余白を追加 */
    }

    .goal-text {
        width: 90%; /* テキストを全幅に */
    }

    .experience h2{
    padding:  6vw;
    }

    .form-link{
        width: auto;  /* バナーの幅 */
        height: auto;  /* アスペクト比を維持 */
        transition: opacity 0.3s ease; /* スムーズなホバー効果 */
    
        font-family: "Noto Sans JP", sans-serif; 
        color: #FFFFFF;
        text-align: center;
    
        font-size: clamp(12px, 2vw, 28px);
        line-height: clamp(20px, 2.5vw, 40px);
        font-weight: bold;
    
        border: clamp(0.5px, 1vw, 2px) solid #ffffff; /* 太さ　スタイル　色 */
    
    
        background-color: #ff834c;
        padding: 2vw 3vw; /*　上　右　下　左　*/
        margin: 2vw;
        border-radius: 100px;
        display: inline-block;
    }
    
    
    .form-link:hover{ /*　触ると変わる点↓↓↓　*/
        color: #ff834c;
        border: clamp(0.5px, 0.3vw, 2px) solid #ff834c; /* 太さ　スタイル　色 */
        background-color: #ffffff;
        transition: all 0.5s 0s ease;/* 何秒かけて変化するか、何秒後に変化し出すか（delay） */
    }



    .floating-banner {
        width: auto;  /* バナーの幅 */
        height: auto;  /* アスペクト比を維持 */
        transition: opacity 0.3s ease; /* スムーズなホバー効果 */
    
        font-family: "Noto Sans JP", sans-serif; 
        color: #FFFFFF;
        text-align: center;
    
        font-size: clamp(12px, 2vw, 28px);
        line-height: clamp(20px, 2.5vw, 40px);
        font-weight: bold;
    
        border: clamp(0.5px, 1vw, 2px) solid #ffffff; /* 太さ　スタイル　色 */
    
    
        background-color: #ff834c;
        padding: 2vw 3vw; /*　上　右　下　左　*/
        margin: 2vw;
        border-radius: 100px;
        display: inline-block;
    }
    
    .floating-banner:hover {
        font-family: "Noto Sans JP", sans-serif; 
        color: #ff834c;
        text-align: center;
    
        font-size: clamp(12px, 2vw, 28px);
        line-height: clamp(20px, 2.5vw, 40px);
        font-weight: bold;
        border: clamp(0.5px, 0.3vw, 2px) solid #ff834c; /* 太さ　スタイル　色 */
    
        background-color: #ffffff;
        padding: 2vw 3vw; /*　上　右　下　左　*/
        margin: 2vw;
        border-radius: 100px;
        display: inline-block;
        transition: all 0.5s 0s ease;/* 何秒かけて変化するか、何秒後に変化し出すか（delay） */
    }
}


/* =====　PC表示　（メディアクエリ・レスポンシティブ）===== */
@media screen and (min-width: 481px) { 

    .pc-br {
        display: show;
    }

    .sp-br {
        display: none;
    }

    /* ファーストビュー */

    .firstview-text h1 {
        text-align: left;
    }

    .header-section ul {
        display: flex;
    }

    .hook-photo {
        display: flex;
        flex-direction: column;
    }

    .answer-section {
        flex-direction: row; /* row: 横並び　column: 縦並び*/
    }

    .blob{
        background-color: #FFFFFF;
        width: 22vw;
        border-radius: 1.5vw;
        padding: 2vw;
    
    }

    .answer-text-no {
        background-image: url('img/no.png');
        height: 50vw;
    }
    
    .answer-text-yes {
        background-image: url('img/yes.png');
        height: 50vw;
    }

    .experience h2{
    padding:  4vw;
    }

    .form-div{
        display:flex;
        justify-content:center;
    }

    

    /*　OUR GOAL　*/
    
    .ourgoal-section {
        display:flex;    
        justify-content:space-around;
        align-items:flex-start;
        padding: 5vw;
    }

    .goal-img {
        width: 40%;
    }

    .goal-text{
        width: 40vw;
    }
    

    .form-link{
        width: auto;  /* バナーの幅 */
        height: auto;  /* アスペクト比を維持 */
        transition: opacity 0.3s ease; /* スムーズなホバー効果 */
    
        font-size: clamp(10px, 2vw, 28px);
        line-height: clamp(16px, 2.5vw, 40px);
        font-weight: bold;
        
        font-family: "Noto Sans JP", sans-serif; 
        color: #FFFFFF;
        text-align: center;
    
        border: clamp(0.5px, 1vw, 2px) solid #ffffff; /* 太さ　スタイル　色 */
    
    
        background-color: #ff834c;
        padding: 1vw 2vw 1vw 2vw; /*　上　右　下　左　*/
        margin: 2vw;
        border-radius: 20px;
        display: inline-block;
    }
    
    .form-link:hover{
        font-family: "Noto Sans JP", sans-serif; 
        color: #ff834c;
        text-align: center;
        font-weight: bold;
    
        font-size: clamp(10px, 2vw, 28px);
        line-height: clamp(16px, 2.5vw, 40px);
        font-weight: bold;
    
        border: clamp(0.5px, 1vw, 2px) solid #ff834c; /* 太さ　スタイル　色 */
    
        background-color: #ffffff;
        padding: 1vw 2vw 1vw 2vw; /*　上　右　下　左　*/
        margin: 2vw;
        border-radius: 20px;
        display: inline-block;
        transition: all 0.5s 0s ease;/* 何秒かけて変化するか、何秒後に変化し出すか（delay） */
    }


    .floating-banner {
        width: auto;  /* バナーの幅 */
        height: auto;  /* アスペクト比を維持 */
        transition: opacity 0.3s ease; /* スムーズなホバー効果 */
    
        font-family: "Noto Sans JP", sans-serif; 
        color: #FFFFFF;
        text-align: center;
    
        font-size: clamp(12px, 2vw, 28px);
        line-height: clamp(20px, 2.5vw, 40px);
        font-weight: bold;
    
        border: clamp(0.5px, 1vw, 2px) solid #ffffff; /* 太さ　スタイル　色 */
    
    
        background-color: #ff834c;
        padding: 1vw 2vw; /*　上　右　下　左　*/
        margin: 2vw;
        border-radius: 100px;
        display: inline-block;
    }
    
    .floating-banner:hover {
        font-family: "Noto Sans JP", sans-serif; 
        color: #ff834c;
        text-align: center;
    
        font-size: clamp(12px, 2vw, 28px);
        line-height: clamp(20px, 2.5vw, 40px);
        font-weight: bold;
        border: clamp(0.5px, 0.3vw, 2px) solid #ff834c; /* 太さ　スタイル　色 */
    
        background-color: #ffffff;
        padding: 1vw 2vw; /*　上　右　下　左　*/
        margin: 2vw;
        border-radius: 100px;
        display: inline-block;
        transition: all 0.5s 0s ease;/* 何秒かけて変化するか、何秒後に変化し出すか（delay） */
    }
    
}








/* =====　フック ===== */
.hook-section {
    padding: 5vw;
    text-align: center;
    overflow-x: auto;
}
  
.hook-photo {
    display: flex;
    flex-direction: row;
    justify-content: center;
  
    overflow-x: auto;         /* ← スマホで横スクロール可能に */
    -webkit-overflow-scrolling: touch; /* ← スムーズスクロール */
}
  
.hook-text {
    background-image: url(img/circle.jpg);
    background-size: cover;
    background-position: center;
  
    width: clamp(100px, 30vw, 400px);
    height: clamp(100px, 30vw, 400px);
  
    display: flex;
    align-items: center;
    justify-content: center;
  
    text-align: center;
    font-weight: 400;
    padding: 6vw;
    box-sizing: border-box;
}
  
.hook-text h3 {
    font-size: clamp(10px, 1.5vw, 20px);
    line-height: clamp(15px, 2.5vw, 40px);
}
  
.dots {
    background-image: radial-gradient(circle at center, #3E3D3D 20%, transparent 20%);
    background-position: top right;
    background-repeat: repeat-x;
    background-size: 1em 0.3em;
    padding-top: 0.2em;
}
  



/* =====　答え　===== */

.answer-section {
    display: flex; /* Flexbox を適用 */
    justify-content: center; /* 子要素を均等に配置 */
    align-items: center; /* 子要素を縦方向で中央揃え */
    flex-wrap: wrap; /* 必要に応じて折り返しを許可 */
    width: 100vw;
    gap: 0.3vw;
}

.answer-text-no, .answer-text-yes {
    flex: 1; /* 子要素を均等に広げる */
    max-width: 49.9%; /* 横幅を調整（必要に応じて変更） */
    box-sizing: border-box; /* パディングやボーダーを含めたサイズ計算 */
    width: 40vw;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    font-weight: bold;
    padding-top: 8vw;
}

.answer-text-no {
    background-image: url('img/no.png');
}

.answer-text-yes {
    background-image: url('img/yes.png');
}

.answer-text {
    width: 70%;
}

.answer-text h3 {
    font-size: clamp(10px, 1.5vw, 20px);
    line-height: clamp(20px, 2.5vw, 40px);
}





/*　OUR GOAL　*/


.ourgoal-section h3 {
    font-size: clamp(10px, 1.5vw, 20px);
    line-height: clamp(20px, 2.5vw, 40px);
}

.ourgoal-section h2 {
    margin: 1vw;
}

.sharing-img{
    width: 100%;
    aspect-ratio: 5/3;
}

.goal-img{
    width: 40%;
}

/*　体験談　*/
.readmore{
    font-family: "Noto Sans JP", sans-serif; 
    /* 文字の色 */
    color: #3E3D3D;
    /* 内がわの余白 */
    padding: 1vw;
    /* 余白 */
    padding-bottom: 3vw;
    /* 文字の装飾 */
    text-decoration: none;
    font-size:400;
    text-align: right;     /*　text-align --- 文字を右に配置（他に左、中央もできる）*/
    font-size: clamp(14px, 2vw, 25px);
    line-height: clamp(24px, 2.2vw, 60px);
}

.readmore:hover{
    font-family: "Noto Sans JP", sans-serif; 
    /* 文字の色 */
    color:  #ff834c;
    /* 内がわの余白 */
    padding: 1vw;
    /* 余白 */
    padding-bottom: 3vw;
    /* 文字の装飾 */
    text-decoration: none;
    font-size:1.5vw;
    text-align: right;     /*　text-align --- 文字を右に配置（他に左、中央もできる）*/
    font-size: clamp(14px, 2vw, 25px);
    line-height: clamp(24px, 2.2vw, 60px);
}

.experience{
    background-color: #FFF0A9;
    padding: 0 5vw 0 5vw;
    margin-bottom: 3vw;
}



.blob h3{
    padding-bottom: 1vw;
}

.blob-placing{
    display:flex;
    flex-wrap:wrap;
    justify-content:space-around;
    align-items:flex-start;
    align-content:flex-start;}







/*　感想フォーム　*/
.form-section{
    padding: 5vw;
}


.form-link-div{
    display:block;
    text-align: center;
}


.red-text{
    color: red;
    font-size: clamp(16px, 2vw, 30px);
}

.orange-text{
    color: #ff834c;
    font-size: clamp(16px, 2vw, 30px);
    font-weight: bold;
}


/* 著者のコラム　*/
.article-section {
    padding: 7vw 5vw 7vw 5vw; /* 上　右　下　左 */
    text-align: center;
    margin-top: 5vw;
    position: relative;
}

.article-div {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    align-content: flex-start;    
}

.article-content {
    padding: 2vw;
    margin: 2vw;
    border: 1px solid #e0e0e0;
    box-shadow: 0px 8px 16px -2px rgba(10, 10, 10, 0.1), 0px 0px 5px -10px rgba(10, 10, 10, 0.02);
    border-radius: 5px;
    width: clamp(110px, 17vw, 250px);
    text-align: center;
}


.article-content:hover {
    transform: scale(1.02);
}

.article-thumbnail {
    width: clamp(80px, 15vw, 200px);
    border-radius: 10px;
    padding: 1vh;
}    


.article-title {
    width: auto;
}

.article-title h3 {
    font-family: "Noto Sans JP", sans-serif; 
    color: #3E3D3D;
    text-align: center;

    font-weight: 400;
    font-size: clamp(10px, 1.5vw, 15px);
    line-height: clamp(20px, 2.5vw, 30px);
}

/*　=====　jsの設定　=====　*/
#news {
    padding: 100px 0;
}



.article-div {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    gap: 10px;
}

.article-container {
    width: 800px;
    overflow: hidden;
    position: relative;
    padding: 0vw 10vw 0vw 10vw; /* 上　右　下　左 */
}

.article-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}



.carousel-button {
    width: clamp(30px, 7vw, 80px);
    height: clamp(30px, 7vw, 80px);
    background-color: rgba(234, 240, 246, 0.9);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.button{ 
    font-family: "Noto Sans JP", sans-serif; 
    color: #3E3D3D;
    text-align: center;

    font-size: clamp(16px, 2vw, 70px);
    font-weight: bold;
}

.carousel-button.left {
    left: clamp(5px, 2vw, 10px);
}

.carousel-button.right {
    right: clamp(5px, 2vw, 10px);
}

.carousel-button:hover {
    background-color: rgba(200, 220, 240, 1);
}

/* ページインジケーター */
.carousel-indicator {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.indicator-dot {
    width: 10px;
    height: 10px;
    background-color: rgb(153, 175, 196);
    border-radius: 50%;
    margin: 0 5px;
    transition: background-color 0.3s;
}

.indicator-dot.active {
    background-color: rgb(33, 51, 67);
}

.access-counter{
    margin: 1vw 5vw 2vw 5vw;
    display: flex;
    height: clamp(5px, 1vw, 10px);
    align-items: center;
}

.access-counter-img{
    height: clamp(5px, 1vw, 10px);
}

.access-counter-p{
    font-family: "DotGothic16", sans-serif;
    color: #3E3D3D;

    font-weight: bold;
    font-size: clamp(5px, 1vw, 10px); 
}


/* =====　フローティングバナー　===== */

.floating-banner {
    position: fixed;  /* 配置:位置固定 */
    right: 1vw;
    bottom: 1vw;   
    z-index: 9999;    /* 他の要素より前面に表示 */
    display: block;   /* ブロックレベル要素として表示 */ 
}


/* ===== フッター ===== */
footer {
    padding: 1.5vw 5vw;     /* 上下, 左右 */
    background-color: #FFBE8F;

    font-size: clamp(8px, 1vw, 16px);     /* vw:ビューポートサイズの幅との相対単位。 1vw＝ビューポートサイズの幅の1% */
    font-family: "Noto Sans JP", sans-serif; 
    color: #FFFFFF;
    text-align: center;
}




    /* ヘッダーのナビゲーションメニューをハンバーガーメニュー化
    .header-section ul {
        display: none;  デフォルトで非表示 
        flex-direction: column;
        position: absolute;
        top: 4rem;
        left: 0;
        width: 100%;
        background-color: rgba(255, 190, 143, 0.9);
        padding: 1rem;
    }

    .header-section ul.active {
        display: flex;
    }

    .header-title {
        font-size: 1.5rem;
    } */