/* 基本スタイル */
body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: Arial, sans-serif;
    font-feature-settings: "palt";
    word-break: break-all;
}

.first-view {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.first-view .overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    color: white;
    z-index: 2;
    padding-top: 2%; /* ロゴのための余白 */
}

.first-view .logo {
    max-width: 80%;
    width: 400px;
    cursor: pointer; /* クリックできるようにカーソルを変更 */
    margin-bottom: 1em; /* ロゴを下部に配置 */
}

.first-view .background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.background-image.active {
    opacity: 1;
}

.content {
    background: white;
    padding: 20px;
    position: relative;
    z-index: 3;
}

.content-inner {
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .content-inner {
        padding: 3%;
    }

    .first-view .logo {
        width: 80%;
    }
}

.menu-icon {
    position: fixed;
    top: 20px;
    left: 10px;
    display: flex;
    align-items: center;
    cursor: pointer;
    z-index: 6; /* z-indexを6に設定 */
    background: white;
    border-radius: 5px;
    padding: 10px;
}

.menu-icon span {
    margin-left: 10px;
    color: black;
    transition: color 0.3s ease; /* 色の変化をアニメーション */
}

.menu-text {
    display: flex;
    align-items: center;
}

.icon {
    font-size: 2em;
    transition: color 0.3s ease; /* 色の変化をアニメーション */
}

.menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: auto; /* 自動的に幅を調整 */
    height: 100%;
    background: white;
    color: black;
    transition: left 0.3s ease;
    z-index: 5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px; /* メニュー内の余白を追加 */
}

.menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.menu ul li {
    border-bottom: 1px solid #ccc; /* 項目間のボーダーラインを追加 */
    padding: 10px 0;
    white-space: nowrap; /* 改行しないようにする */
}

.menu ul li:last-child {
    border-bottom: none; /* 最後の項目のボーダーを削除 */
}

.menu ul li a {
    color: black;
    text-decoration: none;
    display: block;
    padding: 10px 0;
}

@media (min-width: 769px) {
    .menu {
        width: auto; /* 自動的に幅を調整 */
    }
}

.scrolled .menu-icon span, .scrolled .icon {
    color: black;
}

.menu-icon.open .icon, .menu-icon.open .menu-text {
    color: black;
}

.close {
    font-size: 2em;
    color: black; /* 常に黒色で表示 */
    transition: all 0.3s ease;
}

/* ナビゲーションのスタイル */
#navigation {
    padding: 20px 0;
}

/* その他のスタイルは既存のままです */

.site-header {
    text-align: center;
    padding: 20px 0; /* ヘッダーの上下の余白を追加 */
}

.site-logo img {
    max-width: 100px; /* ロゴの最大幅を設定 */
    height: auto;
    display: inline-block; /* 中央揃えにするためにインラインブロックを設定 */
}

/* その他の既存のスタイルをここに含めます */

.tile-menu {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0; /* gapを0に設定 */
    margin-bottom: 40px;
}

.tile {
    display: flex;
    align-items: center;
    padding: 10px;
    border: 1px solid #ccc;
    border-right: none;
    border-bottom: none;
    text-decoration: none;
    color: #fff; /* デフォルトで白色 */
    background: #005f6b; /* デフォルトで背景色を設定 */
    transition: background 0.3s ease, color 0.3s ease;
}

.tile:nth-child(4n) {
    border-right: 1px solid #ccc; /* 最後の列のタイルには右のボーダーを追加 */
}

.tile:nth-last-child(-n+4) {
    border-bottom: 1px solid #ccc; /* 最後の行のタイルには下のボーダーを追加 */
}

.tile img.tile-img {
    width: 50px;
    height: 50px;
    margin: 0 10px 0 0;
}

.tile-title {
    font-size: 0.9em;
    display: inline-block;
    text-decoration: underline;
    text-underline-offset: 6px; /* 下線の位置を調整 */
    line-height: 1.8em;
}

.tile:hover {
    background: #fff; /* ホバー時に白色 */
    color: #005f6b; /* ホバー時にテキストを設定 */
}

.tile:hover .tile-title {
    color: #005f6b; /* ホバー時にタイルタイトルの色を変更 */
}

@media (max-width: 768px) {
    .tile-menu {
        grid-template-columns: repeat(2, 1fr); /* 2列レイアウトに変更 */
    }
    .tile {
        border-right: none;
    }
    .tile:nth-child(2n) {
        border-right: 1px solid #ccc; /* 最後の列のタイルには右のボーダーを追加 */
    }
    .tile:nth-last-child(-n+2) {
        border-bottom: 1px solid #ccc; /* 最後の行のタイルには下のボーダーを追加 */
    }
}

@media (max-width: 480px) {
    .tile-menu {
        grid-template-columns: 1fr; /* 1列レイアウトに変更 */
    }
    .tile {
        border-right: none;
    }
}

/* その他の既存のスタイルをここに含めます */







/* イントロダクションのスタイル */
#intro {
    padding: 0; /* パディングを広げてリッチにする */
    margin-bottom: 7em;
}

.intro-heading {
    font-size: 1.5em;
    margin-top: 3em;
    margin-bottom: 1em;
    color: #333;
    padding-left: 1.8em; /* アイコンのスペースを確保 */
    position: relative;
}

.intro-heading::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 1.5em;
    height: 1.5em; /* 行の高さに合わせる */
    background: url('../images/list-mark.svg') no-repeat center;
    background-size: contain;
    transform: translateY(0); /* 1行目に配置 */
}

#intro p {
    font-size: 1.1em;
    line-height: 1.6em;
    color: #555;
    margin-top: 1em;
    margin-bottom: 1em;
}

.section-list {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    flex-wrap: wrap; /* フレックスボックスをラップする */
}

.list-details {
    flex: 1 1 100%;
    margin: 10px 0;
    text-align: center;
    box-sizing: border-box;
}

@media (min-width: 769px) {
    .list-details {
        flex: 1 1 calc(33.333% - 20px); /* 3列に並ぶようにする */
        margin: 10px;
    }
}

.list-img {
    width: 100%;
    height: auto;
    border-radius: 1em;
}

.list-title {
    font-size: 1.1em;
    color: #333;
}

#intro p.support-detail,
#history-news p.support-detail,
#event-news p.support-detail {
    text-align: center;
    margin: 3em auto 6em;
}

.support-detail a {
    display: inline-block;
    background: #8bc34a;
    color: white;
    padding: 15px 30px; /* パディングを広げる */
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2em;
    transition: background 0.3s ease, color 0.3s ease; /* 背景色の変化をアニメーション */
}

.support-detail.guidetour a {
    background: #47291e;
}
.support-detail.minitour a {
    background: #0b3e5b;
}

.support-detail a:hover {
    background: #507228; /* ホバー時の色変更 */
    color: #fff; /* ホバー時のテキスト色を常に白に */
}




/* 投稿一覧のスタイル */
#history-news, #event-news {
/*    background: #f9f9f9;*/
/*    padding: 40px 20px;*/
    margin-top: 40px;
}

.section-title {
    font-size: 1.3em;
    color: #fff;
    background: #005f6b;
    padding: 10px 20px;
    margin-bottom: 20px;
    border-radius: 0.4em;
}


.post-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.post {
    flex: 1 1 calc(33.333% - 20px);
    background: white;
    padding: 10px;
    margin-bottom: 20px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.post-thumb {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 5px;
}

.date {
    font-size: 0.9em;
    color: #888;
    margin-top: 10px;
}

.entry-title {
    font-size: 1.2em;
    color: #333;
    margin-top: 10px;
}

.entry-title a {
    color: #333;
    text-decoration: none;
}

.entry-title a:hover {
    text-decoration: underline;
}

.section-inner {
    max-width: 1080px;
    margin: 0 auto;
/*    padding: 1em;*/
/*    background: #fff;*/
/*    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);*/
    margin-bottom: 40px;
}

.section-inner img {
    width: 100%;
    height: auto;
    margin-bottom: 0.5em;
}

.section-inner p {
    font-size: 1.1em;
    line-height: 1.6em;
    color: #555;
    margin-bottom: 20px;
}

.social-media {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-media img {
    width: 50px;
    height: 50px;
}

div.outline {
    margin: 2em auto;
    text-align: left;
}


div.outline p {
    display: table;
    margin: 0 auto 1.2em;
}

div.outline span.ttl {
    display: block;
    font-weight: bold;
    font-size: 1.1em;
    margin: 0 auto 1.2em;

}

.footer {
    text-align: center;
    padding: 2em 0;
    margin-top: 4em;
}

@media (max-width: 768px) {
    .post {
        flex: 1 1 100%;
        margin-bottom: 20px;
    }
}




img.w30 {
    display: block;
    margin: 6em auto;
    width: 30%;
}

img.w50 {
    display: block;
    margin: 6em auto;
    width: 50%;
}

img.w70 {
    display: block;
    margin: 6em auto;
    width: 70%;
}



@media (max-width: 768px) {
    img.w30 {
        margin: 2em auto;
        width: 60%;
    }

    img.w50 {
        margin: 4em auto;
        width: 90%;
    }

    img.w70 {
        margin: 2em auto;
        width: 100%;
    }

}



/*---------------------------------------
link
---------------------------------------*/

#link .brands {
    text-align: center;
    margin: 6em;
}

#link .brands img {
    display: block;
    width: 300px;
    margin: 2em auto 2em;
}

#link .brands .fab {
    font-size: 1.8em;
    margin: auto 0.8em;
    text-decoration: none;
}

.fa, .fab, .fal, .far, .fas {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}

#link .brands .fa-insta::after {
    content: url(../images/instagram-brands.svg);
    display: inline-block;
    width: 2.5vw;
    height: 2.5vw;
}
#link .brands .fa-fb::after {
    content: url(../images/facebook-f-brands.svg);
    display: inline-block;
    width: 2.5vw;
    height: 2.5vw;
}
#link .brands .fa-tw::after {
    content: url(../images/x-brands.svg);
    display: inline-block;
    width: 2.5vw;
    height: 2.5vw;
}

#link .bnr img {
    border: thin #000 solid;
    margin: 1em auto;
}



@media (max-width: 768px) {


    .content {
        padding: 3%;
    }

    .intro-heading {
        font-size: 1.2em;
    }

    .intro-heading::before {
        content: "";
        position: absolute;
        top: 0.1em;
        left: 0;
        width: 1.2em;
        height: 1.2em; /* 行の高さに合わせる */
        background: url('../images/list-mark.svg') no-repeat center;
        background-size: contain;
        transform: translateY(0); /* 1行目に配置 */
    }


    #intro p {
        font-size: 1.1em;
        line-height: 1.6em;
        color: #555;
        margin-top: 1em;
        margin-bottom: 1em;
    }

    .section-inner p {
        font-size: 1em;
    }

    .section-title {
        font-size: 0.95em;
        color: #fff;
        background: #005f6b;
        padding: 0.4em 0.4em;
        margin-bottom: 20px;
        border-radius: 0.4em;
    }


    #intro p.support-detail,
    #history-news p.support-detail,
    #event-news p.support-detail {
        text-align: center;
        margin: 1em auto 4em;
    }

    #history-news p.support-detail a,
    #event-news p.support-detail a {
        font-size: 1em;
    }

    #link .brands {
        text-align: center;
        margin: 4em 1em;
    }

    #link .brands img {
        display: block;
        width: 80%;
        margin: 2.5em auto;
    }    

    #link .brands .fa-insta::after {
        content: url(../images/instagram-brands.svg);
        display: inline-block;
        width: 1em;
        height: 1em;
    }
    #link .brands .fa-fb::after {
        content: url(../images/facebook-f-brands.svg);
        display: inline-block;
        width: 1em;
        height: 1em;
    }
    #link .brands .fa-tw::after {
        content: url(../images/x-brands.svg);
        display: inline-block;
        width: 1em;
        height: 1em;
    }


    .footer {
        font-size: 0.7em;
    }


}




span.lined {
    font-weight: bold;
    font-size: 1.2em;
    display: block;
    width: 100%;
    border-bottom: 1px solid #000;
    padding-bottom: 0.5em;
    margin-bottom: 1em;
}




/* お問い合わせフォームのスタイル */
.contact-form {
    max-width: 600px;
    margin: 5em auto 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    font-size: 0.95em;
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group .required {
    color: red;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.form-group button.contact-submit {
    display: inline-block;
    background: #005f6b;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.form-group button.contact-submit:hover {
    background: #004349;
}




* #reservation
-------------------------*/



#reservation {
    padding: 50px 0 0;
}
#reservation .about {
    text-align: center;
    margin: 0 0 30px;
}

/* 

#reservation .about span,
#reservation table th span {
    color: #E66463;
}
#reservation form {
    margin: 0 0 80px;
}
#reservation table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto 50px;
}
#reservation.confirm table {
    min-width: 60%;
    width: auto;
}

#reservation th,
#reservation td {
    padding: 1em 0;
    border-bottom: 1px dashed #888;
}
#reservation th {
    font-size: 1.6rem;
    font-weight: 500;
    text-align: left;
    width: 40%;
}
#reservation th strong {
    font-size: 1.3rem;
}
#reservation td {
    font-size: 1.8rem;
}
#reservation input {
    display: inline-block;
    margin: 0 10px 0 0;
    font-size: 1.8rem;
    padding: 0.3em;
}
#reservation .name {
    width: 80%;
}
#reservation .num {
    width: 20%;
}
#reservation input[type="tel"] {
    width: 50%;
    font-size: 1.8rem;
    padding: 0.3em;
}
#reservation input[type="email"] {
    width: 100%;
    font-size: 1.8rem;
    padding: 0.3em;
}
#reservation select {
    font-size: 1.8rem;
    padding: 0.3em;
}
#reservation option {
    font-size: 1.8rem;
}
#reservation .sendBtn {
    text-align: center;
}
#reservation input[type="submit"] {
    text-align: center;
    background: #027D37;
    color: #fff;
    border: 2px solid #027D37;
    padding: 1em 3em;
    border-radius: 8px;
    font-size: 2rem;
    font-weight: 500;
    cursor: pointer;
}
#reservation input[type="submit"]:hover {
    background: #34BF57;
}

#reservation.complete p {
    text-align: center;
    padding: 50px 0 100px;
}
#reservation .error {
    color: #E66463;
    font-weight: 500;
    text-align: center;
    padding: 0 0 30px;
}
#reservation .error_messe {
    text-align: center;
    font-size: 1.6rem;
}

@media screen and (max-width: 599px) {
    #reservation table {
        width: 100%;
        margin: 0 0 2em;
    }
    #reservation.confirm table {
        min-width: 100%;
        width: 100%;
    }
    #reservation th,
    #reservation td {
        width: 100%;
        display: block;
    }
    #reservation th {
        border: none;
        padding: 1em 1em 0.5em;
    }
    #reservation td {
        padding: 0.5em 1em 1em;
    }
    #reservation .pref {
        margin: 0 0 1em;
    }
    #reservation .address {
        width: 100%;
    }
    #reservation.complete p {
        text-align: left;
        padding: 0 0 60px;
    }
    #reservation.confirm .sendBtn input {
        display: block;
        margin: 0 auto 2em;
    }

}

-------------------------*/

/* .progressbar */

.progressbar {
  display: flex;
  flex-wrap: wrap;
  margin: 0 0 40px;
}
.progressbar .item {
    position: relative;
    width: 33%;
    text-align: center;
    position: relative;
    align-items: center;
    justify-content: center;
    padding: 13px 0;
    line-height: 1.5;
    background: #F5F5F5;
    color: #999999;
}
.progressbar .item:not(:last-child)::before,
.progressbar .item:not(:last-child)::after {
    position: absolute;
    z-index: 2;
    top: 0;
    bottom: 0;
    left: 100%;
    content: '';
    border: 37px solid transparent;
    border-left: 20px solid #F5F5F5;
    margin: auto;
}
.progressbar .item:not(:last-child)::before {
    margin-left: 1px;
    border-left-color: #FFF;
}

@media screen and (max-width: 767px) {
.progressbar .item {
    font-size: 11px;
    line-height: 1.4;
    padding: 10px 0;
}
.progressbar .item:not(:last-child)::before,
.progressbar .item:not(:last-child)::after {
    border-width: 25px;
    border-left-width: 12px;
}
}

/* active */

.progressbar .item.active {
    z-index: 1;
    background: #8bc34a;
    color: #FFF;
}
.progressbar .item.active:not(:last-child)::after {
    border-left-color: #8bc34a;
}
.progressbar .item.active:not(:last-child)::before {
    border-left: none;
}










.course-box {
    border: 2px solid #96acb5;
        padding: 1em;
        border-radius: 0.5em;
}
    

.course {
    width: 90%;
    margin: 2em auto;
}

.course h3 {
    width: 100%;
    color: #005f6b;
    font-weight: bold;
    font-size: 1.2em;
    display: block;
    text-align: center;
    margin: 2em auto;
}

#longtour .course h3 {
        color: #47291e;
}  
#minitour .course h3 {
        color: #0b3e5b;
}

.course-box span {
    color: #005f6b;
    font-weight: bold;
    font-size: 1.2em;
    margin-bottom: 0.5em;
    display: block;
}

#longtour .course-box span {
        color: #47291e;
}  
#minitour .course-box span {
        color: #0b3e5b;
}

.triangle {
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 20px solid #96acb5;
  margin: 1em auto;
}


#longtour .triangle {
        border-top: 20px solid #47291e;
}
#minitour .triangle {
        border-top: 20px solid #0b3e5b;
}


div.tour-course {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 4em -10px 2em; /* マイナスマージンで全体の幅を調整 */
}

.item {

}





div.attention {
    margin: 10px; /* 各divの間にわずかにマージンを追加 */
    padding: 1em;
    box-sizing: border-box;
    flex: 1 1 calc(50% - 20px); /* PCレイアウト：横2列、縦1行 */
    border: 1px solid #005f6b;

}

div#longtour.attention {
        border: 2px solid #47291e;
}  
div#minitour.attention {
        border: 2px solid #0b3e5b;
}

@media (max-width: 768px) {
    div.attention {
        flex: 1 1 100%; /* SPレイアウト：横1列、縦2行 */
    }
}


div.attention img {
    margin-right: 1em;
    width: 100%;
}

div.attention span {
    font-size: 1.1em;
    font-weight: bold;
    display: block;
    margin-bottom: 0.5em;
}

div.attention span.detail {
    margin-bottom: 0;
}

#intro div.attention p.support-detail {
    margin-bottom: 3em;
}



.faq-container h3 {
    margin: 4em 0 1em 0;
    padding-bottom: 0.5em;
    border-bottom: 2px solid #000;
}


.faq-container h4 {
    color: #005f6b;
    font-size: 1.1em;
    margin: 2em 0 1em 2em;
}

.faq-answer {
        margin: 1em 0 4em 4em;
}


.editor-styles-wrapper, .entry-content p {
    margin-bottom: 1em;
}



button[disabled] {
  opacity: 0.6;
  pointer-events: none;
  cursor: wait;
}