@charset "UTF-8";

a {
    text-decoration: none;
}

ul {
    list-style: none;
    display: flex;
    color: #FFFFFF;
}

img {
    width: 100%;
    vertical-align: bottom;
}

/* header */
.header {
    position: fixed;
}

header {
    z-index: 100;
    left: 0;
    right: 0;
}

.header__inner-first-page {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.header__inner-first-page-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.first-page {
    max-width: 200px;
    margin-right: 120px;
}

.header__inner-first-page-flex nav {
    width: 192px;
    margin-right: 20px;
    /* ここで適切な余白の値を指定してください */
}

.header__inner-first-page nav ul li a {
    font-size: 16px;
    font-family: YuMincho, serif;
    color: #FFFFFF;
}


.header__inner-first-page nav ul li:nth-child(2) {
    margin: 0 30px;
}

.fixed {
    position: fixed;
    /*fixedを設定して固定*/
    z-index: 999;
    /*最前面へ*/
    top: 0;
    /*位置指定*/
    left: 0;
    /*位置指定*/
}

.bg__img-fv {
    position: relative;
    width: 100%;
    height: 1079px;
    overflow: hidden;
}


.bg__img-fv-fade-in {
    width: 100%;
    height: 1079px;
    position: relative;
    overflow: hidden;
}


.bg_img {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    -webkit-animation: slider-1 24s linear infinite;
    animation: slider-1 24s linear infinite;
}

.bg_img:nth-child(1) {
    background-image: url(../img/mainbg01.png);
    animation-delay: -2s;
}

.bg_img:nth-child(2) {
    background-image: url(../img/mainbg02.png);
    animation-delay: 6s;
}

.bg_img:nth-child(3) {
    background-image: url(../img/mainbg03.png);
    animation-delay: 14s;
}



@keyframes slider-1 {
    0% {
        opacity: 0;
        transform: scale(1);
    }

    4.16% {
        opacity: 1;
    }

    33.33% {
        opacity: 1;
    }

    41.66% {
        opacity: 0;
        transform: scale(1.2);
    }

    100% {
        opacity: 0;
    }
}


/* room FV */
.room__fv-content {
    background-image: url(../img/oheya-header.png);
    max-width: 1920px;
    height: 500px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

/* cuisine FV */
.cuisine__fv-content {
    background-image: url(../img/menu-header.png);
    max-width: 1920px;
    height: 500px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

/* onsen FV */
.onsen__fv-content {
    background-image: url(../img/onsen-header.png);
    max-width: 1920px;
    height: 500px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}


.catchphrase-first-page {
    display: flex;
    flex-direction: row-reverse;
    position: absolute;
    right: 20%;
    top: 25%;
}

.catchphrase {
    color: #FFFFFF;
    font-size: 34px;
    font-family: YuMincho, serif;
    writing-mode: vertical-rl;
    margin: 0 25px;
}





/* main */
.main__top {
    max-width: 1920px;
    height: auto;
    margin: 0 auto;
    background-color: #FFFFFF;
}

#bg__img-japanese-paper {
    max-width: 1920px;
    width: 100%;
    height: 681px;
    background-image: url(../img/bg.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.header__lead-first-page {
    max-width: 1180px;
    margin: 0 auto;
    writing-mode: vertical-rl;
}

.lead__title-right-first-page,
.lead__title-left-first-page {
    font-size: 28px;
    color: #000000;
    font-family: YuMincho, serif;
    font-weight: normal;
    margin-top: 61px;
    margin-left: 33px;
}

/* .lead__title-left-first-page {
    font-size: 28px;
    color: #000000;
    font-family: YuMincho, serif;
    margin-top: 146px;
    margin-left: 118px;
} */

.sentence_1,
.sentence_2,
.sentence_3 {
    font-size: 16px;
    color: #000000;
    font-family: YuMincho, serif;
    margin-top: 147px;
    margin-left: 118px;
}

.number {
    writing-mode: vertical-rl;
    text-orientation: upright;
    letter-spacing: -6px;
}

.header__lead-name {
    font-size: 22px;
    color: #000000;
    font-family: YuMincho, serif;
    margin-top: 440px;
}


.about__container {
    max-width: 1920px;
    padding-top: 106px;
    padding-bottom: 78px;
}

.content {
    display: flex;
    align-items: center;
}

#about_the_food.content {
    flex-direction: row-reverse;
    margin: 122px 0;
}

#about_room .img,
#about_the_food .img,
#about_onsen .img {
    max-width: 1050px;
    width: 55%;
}


.content .about__text {
    max-width: 870px;
    width: 45%;
    text-align: left;
    padding-left: 137px;
}

.section-title {
    font-size: 36px;
    color: #000000;
    font-family: YuMincho, serif;
    margin-bottom: 66px;
    font-weight: normal;
}

.section__text {
    font-size: 16px;
    color: #000000;
    font-family: YuMincho, serif;
    margin-bottom: 72px;
}

.about_btn {
    font-size: 16px;
    color: #000000;
    font-family: YuMincho, serif;
    border: 1px solid #707070;
    padding: 18px 44px;
}


#bg__img-plan {
    max-width: 1920px;
    width: 100%;
    height: 775px;
    background-image: url(../img/bg02.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.plan__content {
    max-width: 1180px;
    margin: 0 auto;
}

.logo__02 {
    text-align: center;
}

.logo__02 img {
    max-width: 40px;
    margin: 60px auto 16px;
}

.content-title {
    font-size: 36px;
    font-family: YuMincho, serif;
    color: #000000;
    text-align: center;
    font-weight: normal;
    margin-bottom: 80px;
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 94px;
}

.grid__item {
    max-width: 331px;
}

.grid__item-title {
    font-size: 20px;
    color: #000000;
    font-family: YuMincho, serif;
    margin: 30px 0 26px;
}

.grid__item-text {
    font-size: 16px;
    color: #000000;
    font-family: YuMincho, serif;
}




.news__content {
    max-width: 1180px;
    margin: 0 auto;
    margin-bottom: 60px;
}

.tab-title-area {
    display: flex;
    justify-content: center;
    margin: 37px 0 46px;

}

.tab-title {
    font-size: 16px;
    color: #000000;
    font-family: YuMincho, serif;
    cursor: pointer;
    /* クリックできるようにカーソルをポインターに変更 */
}

.tab-title:nth-child(1) {
    margin-right: 53px;
}

/* TODOtab */
.tab-content {
    display: none;
    padding: 20px;
    text-align: center;
}

.tab-content.active {
    display: block;
    margin-bottom: 46px;
}

.tab__title {
    font-size: 20px;
    color: #000000;
    font-family: YuMincho, serif;
    font-weight: normal;
}

.tab__text {
    color: #000000;
    font-family: YuMincho, serif;
    font-weight: normal;
}


.news__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    row-gap: 20px;
}

.news__grid-item a {
    display: flex;
    max-width: 570px;
    background-color: #F6F6F6;
}

.news__grid-item img {
    max-width: 103px;
    margin: 15px 0 15px 10px;
}

.news__text-area {
    padding: 13px 0 72px 30px;
}


#bg__img-access {
    max-width: 1920px;
    width: 100%;
    padding-bottom: 110px;
    background-image: url(../img/bg-1.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.access__content {
    max-width: 1180px;
    margin: 0 auto;
}

.access__item-area img {
    max-width: 656px;
}

.access__item-area {
    display: flex;
    margin-bottom: 69px;
}

dl {
    max-width: 569px;
    padding-left: 83px;
}

dt,
dd {
    margin-bottom: 19px;
}



.map {
    text-align: center;
    margin: 0 auto;
}


/* onsen.html */
/* onsen__contents-area */
.onsen__contents-area {
    text-align: center;
    margin: 0 auto;
}

.onsen__contents-title {
    font-size: 26px;
    color: #000000;
    font-family: YuMincho, serif;
    margin-bottom: 62px;
    font-weight: normal;
}

.onsen__contents-item {
    margin: 0 auto 186px;
    display: grid;
    grid-template-columns: auto auto;
    grid-gap: 190px;
    grid-row-gap: 31px;
    padding: 0;
    max-width: 800px
}

.onsen__contents-row {
    display: contents;
}

.onsen__contents-item dt {
    grid-column: 1;
    width: 64px;
    font-size: 15px;
    color: #000000;
    font-family: YuMincho, serif;
}

.onsen__contents-item dd {
    grid-column: 2;
    margin: 0;
    width: 660px;
    font-size: 15px;
    color: #000000;
    font-family: YuMincho, serif;
}








/* ここから追記 */
/* ==========================
レスポンシブ対応追加CSS
1920px → デフォルト維持
1400px, 768px, 375px, 320px に対応
========================== */

/* 1400px以下対応 */
@media screen and (max-width: 1400px) {

    .header__inner-first-page-flex {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
    }

    .first-page {
        margin: 0 0 10px 0;
    }

    .access__item-area {
        display: flex;
        align-items: center;
        margin-bottom: 40px;
        gap: 25px
    }

    .access__item-area img {
        max-width: 100%;
        height: auto;
    }

    .access__item-area dl {
        padding-left: 0;
        max-width: 100%;
    }

    .content {
        padding: 0 40px;
        /* 余白を追加して中央寄せしやすく */
        gap: 40px;
        /* コンテンツ間にゆとり */
    }

    .content .about__text {
        padding-left: 0;
        width: 50%;
    }

    #about_room .img,
    #about_the_food .img,
    #about_onsen .img {
        width: 50%;
        max-width: 100%;
    }

    .content .about__text {
        width: 50%;
        padding-left: 40px;
    }
}

/* 768px以下（タブレット〜小型）対応 */
@media screen and (max-width: 768px) {

    .first-page {
        margin-right: 0;
        max-width: 100%;
    }

    .header__inner-first-page {
        display: flex;
        justify-content: space-around;
        align-items: center;
        padding: 20px;
    }

    .header__inner-first-page-flex {
        display: flex;
        align-items: flex-start;
        justify-content: center;
        gap: 0;
        flex-direction: column;
    }


    ul {
        list-style: none;
        display: flex;
        color: #FFFFFF;
        justify-content: space-between;
    }

    /* キャッチフレーズ */
    .catchphrase-first-page {
        position: static;
        flex-direction: column;
        align-items: center;
        margin-top: 20px;
    }

    .catchphrase {
        writing-mode: horizontal-tb;
        font-size: 20px;
        margin: 10px 0;
    }

    .header__lead-first-page {
        max-width: 768px;
    }

    .lead__title-right-first-page,
    .lead__title-left-first-pagee {
        font-size: 26px;
    }

    .lead__title-left-first-page {
        margin-left: 30px;
    }

    .sentence_1,
    .sentence_2,
    .sentence_3 {
        margin-left: 70px;
    }

    .header__lead-name {
        font-size: 20px;
    }

    .content .about__text,
    #about_room .img,
    #about_the_food .img,
    #about_onsen .img {
        text-align: center;
    }

    /* コンテンツ横並び */
    .content {
        flex-direction: column;
        align-items: center;
        padding: 0 20px;
    }

    #about_the_food.content {
        display: flex;
        flex-direction: column;
    }

    .content .about__text,
    #about_room .img,
    #about_the_food .img,
    #about_onsen .img {
        width: 100%;
        padding: 0;
    }


    .flex {
        display: flex;
        position: static;
        align-items: center;
    }


    .flex,
    .flex__reverse {
        display: flex;
        flex-direction: column;
        position: static;
        margin: 80px 0;
    }

    .flex__reverse {
        flex-direction: column-reverse;
    }


    .flex__image-container,
    .flex__reverse-image-container {
        max-width: 100%;
        width: 100%;
        position: static;
        z-index: auto;
    }

    .flex__text-area,
    .flex__reverse-text-area {
        position: static;
        width: 100%;
        padding: 40px 20px;
        background-size: cover;
    }



    .flex:last-child {
        margin-bottom: 120px;
    }



    /* グリッド → 1列化 */
    #bg__img-plan {
        max-width: 768px;
        width: 100%;
        height: auto;
        background-image: url(../img/bg02.png);
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        padding-bottom: 60px;
    }

    .grid,
    .news__grid {
        display: block;
    }

    .grid__item,
    .news__grid-item {
        margin: 0 auto 40px;
    }

    .news__grid-item a {
        flex-direction: column;
        align-items: center;
        margin: 0 auto;
    }

    .news__grid-item img {
        margin: 0 auto 10px;
    }

    .news__text-area {
        padding: 0 20px 20px;
        text-align: center;
    }

    .grid__item-title {
        font-size: 18px;
        color: #000000;
        font-family: YuMincho, serif;
        margin: 25px 0 21px;
    }

    /* アクセス */


    .access__item-area {
        flex-direction: column;
        align-items: center;
        padding: 0 20px;
    }

    .access__item-area img,
    .access__item-area dl {
        width: 100%;
        padding: 0;
    }

    dl {
        padding-top: 20px;
    }

    dt,
    dd {
        font-size: 14px;
        text-align: center;
    }

    /* タイトルやボタンのフォント調整 */
    .section-title,
    .content-title,
    .onsen__contents-title {
        font-size: 26px;
        text-align: center;
    }

    .section__text,
    .grid__item-text,
    .tab__text {
        font-size: 14px;
    }

    .about_btn {
        padding: 10px 24px;
        font-size: 14px;
        display: inline-block;
        margin: 0 auto;
    }
}


/* 375px以下（スマートフォン）対応 */

@media screen and (max-width: 375px) {

    html,
    body {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        overflow-x: hidden;
        width: 100%;
    }

    *,
    *::before,
    *::after {
        box-sizing: inherit;
    }

    #headerFixed,
    .first-page {
        width: 100%;
        max-width: 100%;
    }

    .header__inner-first-page-flex {
        display: flex;
        align-items: flex-start;
        gap: 0px;
        flex-direction: column;
    }

    .header__inner-first-page nav ul li a {
        font-size: 14px;
        font-family: YuMincho, serif;
        color: #FFFFFF;
    }

    .header__inner-first-page-flex nav {
        margin: 0;
    }

    .first-page {
        width: 100%;
        max-width: 160px;
    }

    .content,
    .access__item-area,
    .news__text-area {
        width: 100%;
        padding: 0 10px;
    }

    .about__text,
    #about_room .img,
    #about_the_food .img,
    #about_onsen .img {
        width: 100%;
        max-width: 100%;
        padding: 0;
        text-align: center;
    }


    .catchphrase {
        font-size: 16px;
        padding: 0 5px;
        text-align: center;
    }

    .header__lead-first-page {
        max-width: 100%;
        padding: 0 10px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .lead__title-right-first-page,
    .lead__title-left-first-page {
        font-size: 24px;
        color: #000000;
        font-family: YuMincho, serif;
        font-weight: normal;
        margin-top: 61px;
        margin-left: 5px;
    }

    .lead__title-left-first-page {
        font-size: 24px;
        margin-left: 0;
        text-align: left;
        margin-left: 5px;
    }

    .sentence_1,
    .sentence_2,
    .sentence_3 {
        font-size: 13px;
        margin-left: 0;
        line-height: 1.6;
        text-align: left;
    }

    .header__lead-name {
        font-size: 18px;
    }

    .section-title,
    .content-title,
    .onsen__contents-title {
        font-size: 16px;
        text-align: center;
    }

    .section__text,
    .grid__item-text,
    .tab__text {
        font-size: 13px;
    }

    .about_btn {
        font-size: 13px;
        padding: 8px 20px;
        display: block;
        margin: 0 auto;
    }

    dt,
    dd {
        font-size: 13px;
        text-align: center;
    }

    /* レイアウト崩れ対策：.contentは縦並び */
    .content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* ニュースグリッド調整 */
    .grid,
    .news__grid {
        display: block;
    }

    .grid__item,
    .news__grid-item {
        margin: 0 auto 40px;
    }

    .news__grid-item a {
        flex-direction: column;
        align-items: center;
        margin: 0 auto;
    }

    .news__grid-item img {
        margin: 0 auto 10px;
    }

    .grid__item-title {
        font-size: 16px;
    }

    .access__item-area {
        flex-direction: column;
        align-items: center;
    }

    .access__item-area img,
    .access__item-area dl {
        width: 100%;
        padding: 0;
    }

    dl {
        padding-top: 20px;
    }
}

/* 320px以下（最小スマホ）対応 */
@media screen and (max-width: 320px) {
    .header__inner-first-page nav ul li a {
        font-size: 14px;
    }


    .catchphrase {
        font-size: 16px;
    }

    .lead__title-left-first-page,
    .lead__title-right-first-page {
        font-size: 15px;
    }

    .sentence_1,
    .sentence_2,
    .sentence_3 {
        font-size: 13px;
    }

    .tab-title-area {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .tab-title:nth-child(1) {
        margin-right: 0;
    }

    .about_btn {
        font-size: 12px;
        padding: 8px 15px;
    }

    .grid__item,
    .news__grid-item {
        margin: 0 20px;
    }
}