@charset "utf-8";

/* =====================
common
===================== */
:root {
    --primary-white: #FFF;
    --primary-lightGray: #ECECEC;
    --primary-black: #2F2F2F;
    --primary-darkBlue: #354F7C;
    --contentWidth: 91.4%;
    --contentPadding: 4.2%;
}

html {
    font-size: 62.5%;
}

body {
    font-family:
        "Hina Mincho",
        Arial,
        sans-serif;
    font-style: normal;
    color: var(--primary-black, #2F2F2F);
    background-color: var(--primary-lightGray, #ECECEC);
    line-height: 1.5;
    position: relative;
}

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

.btn__txt {
    text-align: center;
    font-family: "EB Garamond";
    font-size: 1.6rem;
    line-height: 1;
}

.topic {
    writing-mode: vertical-rl;
    font-size: 2rem;
    line-height: 1;
    position: relative;
    margin: 8px auto 40px;
}

.topic span {
    display: block;
    font-family: "EB Garamond";
    font-size: 2rem;
    line-height: 1;
    margin-right: 4px;
}

.topic::after {
    display: block;
    content: '';
    width: 58px;
    height: 0.5px;
    background-color: var(--primary-black);
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
}

.subTopic {
    font-size: 2rem;
    margin-top: 80px;
}

.txt {
    font-size: 1.6rem;
    line-height: 2.5;
    margin-top: 40px;
}

/* common pc */
@media screen and (min-width:768px) {
    .topic {
        font-size: 2.4rem;
    }

    .topic span {
        font-size: 2rem;
    }

    .subTopic {
        font-size: 2.4rem;
        margin-top: 80px;
        color: #2F2F2F;
        line-height: 2;
    }

    .btn__txt {
    text-align: start;
    }
}/* pc 768px */

/* =====================
header
===================== */

.header {
    padding: var(--contentPadding) 24px;
    display: flex;
    width: 100%;
    height: auto;
    justify-content: space-between;
    align-items: flex-start;
    background-color: transparent;
    position: absolute;  /* 画面上に浮かせる */
    top: 0;
    left: 0;
    z-index: 10;  /* mainvisual より前に */
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* width: 72px;
    height: 65px; */  
}

.logo__img {
    width: 50px;
    height: 49px;
}

.logo__name {
    color: #FFF;
    text-align: center;
    font-size: 1.2rem;
    line-height: 1;
    margin-top: 4px;
}

/* .nav初期表示 */
.nav {
    width: 100%;
    height: 100vh;
    background-color: var(--primary-white);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    transform: translateX(-100%);
    transition: transform 0.4s;

    /* 縦方向に中身を並べる設定 */
    display: flex;
    flex-direction: column;
}

.nav::after {
    content: '';
    display: block;
    width: 100%;
    height: 80vh;
    background-image: url(../images/logo-gray.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.6;
    filter: blur(4.5px);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    z-index: -1;
}

.nav__header {
    padding: 24px var(--contentPadding);
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.nav__btn {
    display: block;
    width: 25px;
    height: 25px;
    margin: 28px;
}

.nav__list {
    padding: var(--contentPadding); 

    /* リスト自体を画面の残りの高さ全体に広げる */
    flex-grow: 1; 
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.nav__item {
    font-size: clamp(1.6rem, 4vh, 2.4rem);

    /* 項目間の余白調整 */
    flex-grow: 1; /* 各項目が均等に高さを分け合う */
    display: flex;
    flex-direction: column;
    justify-content: center;
    
    /* 画面が極端に小さい時に文字が重ならないよう最小サイズを指定 */
    min-height: 50px; 
}

.nav__item:first-of-type {
    font-family: "EB Garamond";
    letter-spacing: 0.03em;
    margin-top: 0;
}

.nav__item span {
    display: block;
    font-family: "EB Garamond";
    font-size: 1.6rem;
    letter-spacing: 0.03em;
    margin-top: 4px;
}

/* .nav.active表示 */
.nav.active {
    transform: translateX(0);
}

.header__btn {
    display: block;
    width: 60px;
    height: 60px;
}

/* header pc */
@media screen and (min-width: 768px) {
    .header {
        padding: 40px 5.6% 0 2.8%;
    }

    .logo__img {
        width: 108px;
        height: 105px;
    }

    .logo__name {
        font-size: 1.6rem;
    }

    .nav {
        width: auto;
        height: auto;
        background-color: transparent;
        transform: none;
        transition: none;
        position: static;
    }

    .nav::after {
        display: none;
    }

    .nav__list {
        display: flex;
        align-items: flex-start;
        flex-direction: row-reverse;
        padding: 0;
        margin-top: 0;
    }

    .nav__item {
        font-size: 2rem;
        color: var(--primary-white);
        margin-top: 0;
        margin-left: 60px;
        writing-mode: vertical-rl;
    }

    .nav__header,
    .nav__item--sp,
    .nav__item .spanSp,
    .header__btn {
        display: none;
    }
}/* pc 768px */

/* =====================
article__footer（お問合せ）
===================== */
.onigiri {
    display: block;
    background-image: url(../images/top-onigiri.webp);
    background-size: 100%;
    background-position: 0 70%;
    background-repeat: no-repeat;
    width: 100%;
    height: auto;
    aspect-ratio: 375/152;
    object-fit: cover;
    position: relative;
}

.contact {
    width: 70%;
    height: auto;
    color: #FFF;
    font-family: "Hina Mincho";
    font-size: 2rem;
    text-align: center;
    padding: 20px 30px;
    background-color: rgba(0, 0, 0, 0.25);
    margin: 0 auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
}

.container {
    padding: 40px var(--contentPadding);
}

.container__item {
    padding: var(--contentPadding);
    background-color: var(--primary-white);
    margin-top: 20px;
}

.container__item--tel {
    padding: 33px var(--contentPadding);
    margin-top: 0;
}

.contact__how {
    font-size: 1.6rem;
    text-align: center;
}

.contact__how span {
    font-size: 2rem;
}

.number {
    text-align: center;
    font-size: 3.6rem;
    line-height: 1;
    margin-top: 8px;
}

.number span {
    writing-mode: vertical-rl;
    font-family: "EB Garamond";
    font-size: 1.4rem;
    line-height: 1;
    margin-right: 4px;
}

.hours, .add {
    text-align: center;
    font-size: 1.6rem;
    margin-top: 8px;
}

.add {
    color: #ED1C24;
}

.formBtn {
    display: block;
    width: 70%;
    height: 50px;
    margin: 10px auto 0 ;
    color: #FFF;
    text-align: center;
    line-height: 50px;
    font-size: clamp(16px, 2vw, 24px);
    border-radius: 50px;
    background-color: var(--primary-black);
}

/* article_footer pc */
@media screen and (min-width: 768px) {
    .onigiri {
        display: none;
    }

    .article__footer {
        background-image: url(../images/top-onigiri.webp);
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
    }

    .container {
        padding: 135px 5.3%;
        margin: 0 auto;
        max-width: 1280px;
    }

    .container__item--tel {
        width: 100%;
    }

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

    .container__item {
        padding:  50px 0;
        opacity: 0.7;
    }

    .container__item--tel {
        padding: 60px 0;
    }
    
    .container__bottom .container__item {
        width: 49%;
    }

    .contact__how {
        font-size: 2.4rem;
    }

    .contact__how span {
    font-size: 2.8rem;
    }

    .number {
        margin-top: 20px;
        font-size: 6rem;
    }

    .number span {
        font-size: 2.4rem;
        line-height: 1.5;
        letter-spacing: 0.03em;
    }

    /* webお問い合わせ */
    /* .formBtn {
        width: 81.5%;
        height: 66px;
        margin: 20px auto 0 ;
        line-height: 66px;
        background-color: #111;
    } */
    
}/* pc 768px */

/* =====================
footer
===================== */
.footer {
    padding: 50px 0 0;
    width: 100%;
    background-color: var(--primary-white);
    
}

.footerNav {
    width: 100%;
}

.footerNav__item {
    text-align: center;
    font-size: 1.6rem;
    margin-top: 16px;
}

.footerNav__item:first-of-type {
    font-family: "EB Garamond";
}

.Otaya__logo {
    display: block;
    width: 60px;
    height: 58px;
    margin: 80px auto 0;
}

.Otaya__name {
    text-align: center;
    font-size: 1.6rem;
    margin: 8px auto 0;
}

.Otaya__address {
    text-align: center;
    font-size: 1.2rem;
    margin: 4px auto 0;
}

.copy {
    background-color: var(--primary-lightGray);
    color: #949494;
    text-align: center;
    font-family: "EB Garamond";
    font-size: 1.6rem;
    margin-top: 50px;
}

.topBtn {
    display: none;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.05); 
    box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(10px); /* Safari用のベンダープレフィックス */
    color: var(--primary-black);
    border-radius: 50%;
    position: fixed;
    bottom: 1.4%;
    right: 1.4%;
    z-index: 100;
    font-size: 1.6rem;
    text-align: center;
    overflow: hidden;
    -webkit-mask-image: -webkit-radial-gradient(white, black); /* Safari用 */
    mask-image: radial-gradient(white, black);
}

/* footer Pc */
@media screen and (min-width: 768px) {
    .footer {
        padding: 150px 0 0;
        position: relative;
    }

    .footerNav {
        position: absolute;
        bottom: 220px;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footerNav__list {
        padding: 10px 0;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 50px;
        margin-top: 20px;
    }

    .footerNav__item {
        font-size: 2rem;
        margin-top: 0;
    }

    .Otaya__logo {
        width: 109px;
        height: 106px;
        margin: 0 auto;
    }

    .Otaya__name {
        text-align: center;
        font-size: 2.4rem;
        line-height: 1.7;
        margin: 20px auto 0;
    }

    .Otaya__address {
        font-size: 1.6rem;
        margin: 8px auto 0;
    }

    .brSp {
        display: none;
    }

    .copy {
        padding: 20px 0;
        font-size: 2rem;
        margin-top: 220px;
    }

    .topBtn {
        padding: 30px;
    }
}/* pc 768px */