@charset "UTF-8";

@media screen and (max-width: 768px) {

}

/*
Base style
*/
body {
    font-family: "Noto Sans JP", "Helvetica Neue", "Helvetica", "Hiragino Sans", "Arial", "Yu Gothic", "Meiryo", sans-serif;
    font-size: 15px;
    line-height: 1.2;
    color: #734e30;
    background-color: white;
}
label, input, textarea, select, button {
    cursor: pointer;
}
button {
    border: 0;
}
html{
    scroll-behavior: smooth;
}

/*
header
*/
.header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    position: fixed;
    z-index: 10;
    top: 0;
    left: 0;
}
.header-logo {
    margin: 0;
    display: flex;
}
.header-logo > a {
    display: block;
    color: transparent;
}
.logo{
    width: 80px;
    height: 80px;
    margin: 10px;
}
.logo-name{
    font-size: 30px;
    color: #333;
}

/* .header-nav {} */
.header-navlist {
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
/* .header-navitem {} */
.header-navitem > a {
    display: block;
    padding: 10px;
    color: #333;
    text-decoration: none;
    font-weight: bold;
    border-bottom: 2px solid transparent;
    transition: border-color .25s;
}
.header-navitem > a:hover {
    border-bottom: 2px solid #333;
}
@media screen and (max-width: 768px) {
    .header {
        font-size: 8px;
        background-color: #579ae8;
        width: 100%;
        padding: 0;
    }
    .logo{
    width: 30px;
    height: 30px;
    margin: 5px;
    }
    .logo-name{
    font-size: 15px;
    color: #333;
    margin: 10px 0 0 0;
}
}

/*section*/
.section{
    padding: 30px 15px 0;
    background-color: #fee4bdd3;
}

.section-secondary{
    padding: 30px 15px;
    background-color: #fee4bdd3;
}

@media screen and (max-width: 768px) {
    .section{
        padding: 50px 0 10px;
    }
    .section-secondary{
        padding: 10px 0 0 0;
        text-align: center;
    }
}

/*
tochigi
*/

/* メイン画像にアニメーションを追加 */
#bigimage {
    transition: opacity 0.5s ease-in-out;
}

.tochigi-figure{
    margin: 80px 10px 50px;
    text-align: center;
    display: flex;
    justify-content: center;
}
.tochigi-captions{
    display: inline;
}
.tochigi-bigcaption{
    position: relative; /* 子要素の基準にする */
    /* 画像の高さに合わせて調整してください */
    aspect-ratio: 16 / 9; /* 例：アスペクト比を16:9に固定 */
    overflow: hidden; /* フェード時のはみ出し防止 */
    border-radius: 8px; /* 任意：角丸 */  
    width: 600px;
    height: 400px; 
}
.tochigi-bigimage {
    position: absolute; /* 画像を重ねる */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* 画像を領域いっぱいにリサイズ */
    
    /* フェード効果のベース設定 */
    opacity: 0;             /* 初期状態は透明 */
    visibility: hidden;     /* 透明なときはクリックなどに反応させない */
    transition: opacity 1.0s ease-in-out, visibility 1.0s ease-in-out; /* 1秒かけてフェード */
}
/* 表示されている画像のスタイル（JSでactiveクラスを付与） */
.tochigi-bigimage.active {
    opacity: 1;             /* 不透明 */
    visibility: visible;   /* 表示 */
    z-index: 1;             /* 前面に表示 */
}
.tochigi-image0{
    width: 600px;
    height: 400px;
    border-radius: 15px;
}
.tochigi-smallcaption{
    /* margin: 10px 5px 5px 0;
    padding: 0 5px;
    justify-content: space-between;
    display: flex; */
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}
.imagebtn{
    border: 2px solid transparent; /* 初期状態は透明な枠 */
    background: none;
    padding: 0;
    cursor: pointer;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s;
    opacity: 0.6; /* 選択されていないときは少し薄く */
    width: 135px;
    height: 100px;
}
.imagebtn:hover {
    opacity: 0.9;
}
/* 選択されているサムネイルのスタイル（JSでactiveクラスを付与） */
.imagebtn.active {
    border-color: #007bff; /* 青い枠を付ける（任意のポイントカラーに） */
    opacity: 1;            /* 不透明 */
    transform: scale(1.05); /* 少し大きくして強調 */
}

.tochigi-smallimage{
    /* width: 135px;
    height: 100px;
    margin: 0 2px;
    border-radius: 15px; */
    display: block;
    width: 100%; /* サムネイルのサイズに合わせて調整 */
    height: 100%;
}
.image_caution{
    text-align: left;
    margin: 10px;
    font-size: 15px;
}
.tochigi-description{
    margin: 10px 50px;
    width: 500px;
}
.tochigi-head{
    text-align: center;
    font-size: 50px;
    color: #c20a0a;
    font-weight: bold;
    margin: auto;
}
.tpchigi-explain{
    text-align: left;
    margin: 30px 30px 0px;
}
.tochigi-map{
    height: 220px;
    width: 280px;
    margin: 0;
}
.line{
    width: 100%;
    height: 3px;
    background-color: #333;
    margin: 0;
}

@media screen and (max-width: 768px) {
    .tochigi-figure{        
        display: block;
        margin: 10px 0;
    }
    .tochigi-captions{
        display: block;
        padding-left: 35px;
    }
    .tochigi-bigcaption{
        width: 300px;
        height: 200px; 
        margin-left: 12px;
    }
    .tochigi-image0{
        width: 600px;
        height: 400px;
        border-radius: 15px;
    }
    .tochigi-smallcaption{
        justify-content: left;
        padding: 0 25px;
    }    
    .imagebtn{
        width: 60px;
        height: 40px;
    }
    .image_caution{
        text-align: left;
        margin: 0;
        padding-right: 5px;
        padding-left: 5px;
        font-size: 10px;
    }
    .tochigi-description{
        width: 100%;
        margin: 10px 0 0;
        padding: 0 20px;
    }
    .tochigi-head{
        font-size: 35px;
    }
    .tochigi-explain{
        font-size: 17px;
        text-align: left;
        margin: 10px 0 0 15px;
    }
    .tochigi-map{
        height: 110px;
        width: 140px;
        margin: 0;
    }
}

/*grid*/
.grid {
    margin: 0;
    padding: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center; 
    position: relative;
}
.grid-col-3 .grid-item {
    display: flex;
    margin: 0 20px;
    border: 3px solid #333; 
    background-color: #fff;
    transition: 0.25s;  
    cursor: pointer;
}
@media screen and (max-width: 768px) {
    .grid {
        display: inline-block;
    }
    .grid-col-3 .grid-item {
        display: flex;
        margin: 10px 0 0 12px;
}
}

/*trip*/
.trip{
    display: flex;
    flex-direction: column;
    align-items: center; /* 横方向の中央 */
    text-align: center;
    width: 300px;
    height: 600px;
    padding: 20px 0; /* 上下の余白 */
    box-sizing: border-box;
}
.trip-line{
    height: 20px;
    width: 1px;
    background-color: #333;
}
.trip-link{
    text-decoration: none;
    color: #333;
}
.trip-headline{
    font-size: 25px;
    margin: 5px;
    font-style: none;
    color: #333;
}

.overview{
    background-color: #007bff;
    color: #fff;
    margin: 0;
}
.trip-description{
    margin: 0 0 0 30px;
    color: #333;
    text-align: left;
}
.price{
    font-size: 30px;
    margin: 15px 0;
    color: red;
    font-weight: bold;
}
.highlight{
    color: #c20a0a;
}
@media screen and (max-width: 768px) {
    .trip-image{
        width: 300px;
        height: 300px;
    }
    .trip-headline{
        font-size: 25px;
        margin: 5px;
    }
    .trip-price{
    font-size: 20px;
}
}
.notes{
    /* 中央に配置するための設定 */
    display: block;      /* inline-blockから変更 */
    margin: 0 auto;     /* 左右の余白を自動調整して中央寄せ */
    /* 幅の設定 */
    width: fit-content;  /* 内容の長さに合わせて幅を自動調整 */
    max-width: 90%;      /* スマホ表示などで画面からはみ出さないようガード */
    padding: 0px;       /* 必要に応じて周囲に余白を追加 */
}
.trip_caution{
    text-align: left;    /* 文章は左寄せ */
    margin: 8px 0;       /* 上下の間隔を少し広げると読みやすくなります */
    line-height: 1.5;    /* 行間を少し空けると洗練された印象になります */
}
.important-notice{
    font-weight: bold;
}

@media screen and (max-width: 768px) {
    .notes{
        font-size: 12px;
        width: 100%;
        margin: 0;
        display: inline-block;
    }
}

/* 
apply button
*/
.apply{
    margin-top: auto; /* これで上の要素との隙間を最大に広げ、一番下へ移動します */
    width: 100%;
    
}
.apply_button {
    display: inline-block;
    font-weight: bold;
    background-color: #eb7d07;
    text-align: center;
    padding: 15px 60px;
    text-decoration: none;
    border-radius: 30px;
    box-shadow: 5px 5px 0 #501901;
    transition: box-shadow .25s;
    color: #fff;
    bottom: 0;
    margin-bottom: 0; /* 一番下なので下のマージンは不要 */
}
.apply_button:hover {
    box-shadow: 0 0 0 #bbb;
}
.apply_link{
    text-decoration: none;
    color: #fff;
}


/*
footer
*/
.footer{
    padding: 10px 15px;
    text-align: center;
    background-color: #579ae8;
}
.footer-link{
    display: flex;
    align-items: center;
    justify-content: center;
}
.x-logo{
    width: 50px;
    height: 50px;
    margin: 5px;
    cursor: pointer;
    box-shadow: none;
    transition: box-shadow 0.3s ease-in-out;
    transition: background-color 0.3s ease-in-out;
}
.x-logo:hover{
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.849);
    background-color: #734e30;
}
.tt-logo{
    width: 50px;
    height: 50px;
    margin: 5px;
    cursor: pointer;
    box-shadow: none;
    transition: box-shadow 0.3s ease-in-out;
    transition: background-color 0.3s ease-in-out;
    transition: border-radius 0.1s ease-in-out;
}
.tt-logo:hover{
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.849);
    background-color: #734e30;
    border-radius: 20px;
}
.ig-logo{
    width: 50px;
    height: 50px;
    margin: 5px;
    cursor: pointer;
    box-shadow: none;
    transition: box-shadow 0.3s ease-in-out;
    transition: background-color 0.3s ease-in-out;
    transition: border-radius 0.1s ease-in-out;
}
.ig-logo:hover{
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.849);
    background-color: #734e30;
    border-radius: 15px;
}
.yt-logo{
    width: 140px;
    height: 50px;
    margin: 5px;
    cursor: pointer;
    box-shadow: none;
    transition: box-shadow 0.3s ease-in-out;
    transition: background-color 0.3s ease-in-out;
    transition: border-radius 0.1s ease-in-out;
}
.yt-logo:hover{
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.849);
    background-color: #734e30;
    border-radius: 10px;
}

@media screen and (max-width: 768px) {
    .footer{
        text-align: center;
    }
    .x-logo{
        width: 30px;
        height: 30px;
    }
    .tt-logo{
        width: 30px;
        height: 30px;
    }
    .ig-logo{
        width: 30px;
        height: 30px;
    }
    .yt-logo{
        width: 80px;
        height: 30px;
    }
    .policy-container{
        width: 100%;
    }
}