/* === ベーススタイル === */
    * {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
    }
    
    body {
        font-family: 'Arial', sans-serif;
        line-height: 1.6;
        background-color: rgb(239, 230, 223);
        font-family: "Zen Old Mincho", serif;
        font-family: "Noto Serif TC", serif;
        font-style: normal;
    }
    

    /* アニメーション */
    .background-video {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
        opacity: .7;
        z-index: -1;
    }
    .background-video video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    #background-video {
        transition: opacity 0.5s ease;
        opacity: 1;
    }


/**  keyframesの定義  **/
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/****  ヘッダー  ****/
    .header {
        border-bottom: 1px solid #ccc;
        position: relative;
        margin: 40px auto;
        z-index: 1000;
    }
    .header h1 {
        text-align: center;
        cursor: pointer;
        font-size: 35px;
        font-weight: bold;
        letter-spacing: 1.15px;
        color: #341d00;
        /* text-shadow: 0px 0px 2px rgb(239, 230, 223); */
    }
    .header h1:hover {
        transition: .3s;
        filter:drop-shadow(0 0 .75rem rgb(239, 230, 223));
        color: #341d00;
        font-size: 36px;
    }
    .under {
        width: 768px;
    }


    /* レスポンシブ対応 (1300px以上) */
    @media screen and (min-width:1300px) {
        .header h1 {
            font-size: 36px;
        }
        .header h1:hover {
            font-size: 37px;
        }
        .under {
            width: 950px;
        }
    }

    /***  ナビゲーション  ***/
    .nav {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1rem 2rem;
        position: relative;
    }
    /* 左右ナビ */
    .nav-left{
        display: flex;
        gap: 1rem;
    }
    .nav-right {
        display: flex;
    }
    
    .nav-link {
        text-decoration: none;
        color: #333;
        padding: 0.5rem 1rem;
        transition: background-color 0.3s;
        /* text-shadow: 1px 1px 2px rgb(239, 230, 223); */
    }
    
    .nav-link:hover {
        background-color: #f9f9f9;
        border-radius: 4px;
    }
    
    .lang-btn {
        background: transparent;
        cursor: pointer;
        transition: background 0.3s;
    }
    
    .lang-btn:hover {
        /* background-color: #341d00;;
        color: rgb(239, 230, 223); */
        background-color: #f9f9f9;
        color: #341d00;
        padding: 6px 10px;
        border-radius: 10px;
    }
    
    /**************   ハンバーガーメニュー  ************/
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1001; /* ハンバーガーアイコンをメニューの上に表示 */
}

.hamburger .bar {
    width: 35px;
    height: 5px;
    border-radius: 50px;
    background-color: rgb(239, 230, 223);  /* 初期のバーの色 */
    margin: 4px 0;
    transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;  /* バーのアニメーション */
}

/* ハンバーガーアイコンの回転 */
.hamburger.open .bar:nth-child(1) {
    transform: rotate(45deg);
    position: absolute;
    top: 0; /* 上のバーを元の位置に戻す */
    background-color: rgba(74, 32, 0, 0.963); /* ×アイコンの色 */
}

.hamburger.open .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.open .bar:nth-child(3) {
    transform: rotate(-45deg);
    position: absolute;
    bottom: 0; /* 下のバーを元の位置に戻す */
    background-color: rgba(74, 32, 0, 0.963); /* ×アイコンの色 */
}


    
    /* viewMoreボタンとメニュー */
    .viewMore {
        cursor: pointer;
        padding: 0.5rem;
        background-color: #eee;
        border-radius: 4px;
        display: flex;
        margin: 0 auto;
    }
    #viewMore {
        display: flex;
        margin: 0 auto;
    }
    
    .moreMenu {
        display: none;
        /* position: absolute; */
        top: 60px;
        left: 0;
        background: #fff;
        border: 1px solid #ccc;
        padding: 1rem;
        z-index: 999;
    }

    /* =====  矢印⬇︎ ===== */
    .arrow {
        position: relative;
        padding-right: 15px;
        color: #333;
        text-decoration: none;
        margin-bottom: 10px;
    }
    .arrow::after {
        content: '';
        display: block;
        width: 30px; /* 矢印の大きさの指定 */
        height: 30px; /* 矢印の大きさの指定 */
        border-top: 3px solid #333; /* 矢印の太さの指定 */
        border-left: 3px solid #333; /* 矢印の太さの指定 */
    }
    .arrow-bottom::after {
        transform: rotate(225deg); /* 矢印の角度の指定 */
        position: absolute; /* 矢印の位置の指定 */
        right: 0%; /* 矢印の位置の指定 */
        top: 0px; /* 矢印の位置の指定 */
    }
    .arrow-bottom:hover {
        transform: translateY(5px);
        transition: .3s;
    }
    
    .arrow-hidden {
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.5s ease, visibility 0.5s ease;
    }

    
/* スライド切り替えセクション */
.slide-section {
    visibility: hidden;
    opacity: 0;
    transition: opacity .8s ease;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}
.slide-section.active {
    position: relative;
    opacity: 1;
    visibility: visible;
}
.hidden {
    display: none;
}

    
    /****  ホーム　セクション  *****/
    #home {
        padding: 2rem;
    }
    .tea-selection {
        width: 700px;
        margin: auto;
        display: flex;
        justify-content: center;
        column-gap: 50px;
        row-gap: 50px;
        flex-flow: wrap;
    }
    .tea-selection img {
        width: 150px;
    }
    .tea-item {
        text-align: center;
        color: rgb(239, 230, 223);
        text-shadow: 0px 0px 2px #341d00;
    }
    .tea-item p {
        padding-top: 7px;
        line-height: 23px;
    }

    .tea-item:hover {
        transform: translateY(-4px);
        transition: .3s;
        text-shadow: 0px 0px 3px rgb(209, 190, 157);
        filter:drop-shadow(0 0 1.75rem rgb(255, 253, 252)) ;
        color: rgb(122, 2, 2);
        font-size: 17px;
    }

    /* レスポンシブ対応 (1300px以上) */
    @media screen and (min-width:1300px) {
        .tea-selection {
            column-gap: 70px;
        }
    }

    /* レスポンシブ対応 (768px以下) */
    @media screen and (max-width: 768px) {
        .hamburger {
            display: flex;
            position: absolute;
            right: 5%;
            }

        .header {
            padding: 20px 50px;
            display: flex;
            justify-content: space-between;
            flex-flow: wrap;
            margin: 0 auto;
            align-items: center;
        }
        .header h1 {
            margin: 0 auto;
            font-size: 28px;
        }
        .header h1:hover {
            font-size: 29px;
        }

        .nav {
            padding: 0px;
        }
        .under {
            width: 100%;
        }

        .hamburger .bar {
            width: 28px;
            height: 4px;
            background-color: #582630;
            margin: 3px 0;
        }

        .nav-left,
        .nav-right {
        display: none;
        }
    
        .nav.active .nav-left,
        .nav.active .nav-right {
        display: flex;
        }
    
        .moreMenu {
        position: static;
        border: none;
        box-shadow: none;
        padding: 0.5rem 0;
        }

        .nav-left.open {
            display: flex;
            flex-direction: column;
            position: fixed;
            top: 0;
            right: 0;
            background-color: rgb(239, 230, 223);
            height: 85%;
            width: 100%;
            justify-content: center;
            align-items: center;
            z-index: 999;
            transition: all 0.5s ease-in-out;
            animation: fadeInUp 0.6s ease-out forwards; 
            opacity: .95;
        }
        .nav-right.open {
            display: flex;
            position: fixed;
            top: 120px;
            right: 0;
            width: 100%;
            justify-content: center;
            align-items: center;
            z-index: 999;
            transition: all 0.5s ease-in-out;
            animation: fadeInUp 0.6s ease-out forwards; 
        }

        .tea-selection {
            width: 100%;
            column-gap: 30px;
        }
    }
    
    /*レスポンシブ対応（375px以下）*/
    @media screen and (max-width:375px) {
        .tea-selection img {
            width: 130px;
        }
    }


/***********    Menuセクション    ***********/
#menu {
    padding: 0 2rem 3rem 2rem;
}
#menu h1 {
    text-align: center;
    font-size: 30px;
    position: relative;
}
#menu h1::after {    /** メニューコレクションに下線を引く **/
    content: '';
    display: inline-block;
    background-color: #333;
    position: absolute;
    bottom: 0;
    width: 150px;
    height: 1px;
    left: calc(50% - 70px);
}
#menu h2 {
    text-align: center;
    font-size: 23px;
    margin-top: 25px;
    margin-bottom: -15px;
}
.menu-card {
    background-color: #fcfcfc;
    border: .5px solid rgb(243, 217, 73);
    display: flex;
    flex-flow: wrap;
    justify-content: space-between;
    padding: 15px 45px;
    width: 700px;
    margin: 0 auto;
    border-radius: 5px;
    margin-top: 20px;
    align-items: center;
}
.menu-card img {
    width: 160px;
}
.content {
    width: 67%;
}
.content h4 {
    margin-top: 15px;
    font-size: 19px;
    /* font-weight: bold; */
}
.content p {
    font-size: 15px;
}
.menu_text {
    margin-top: 20px;
}
/*　　　サイズと値段　　　*/
.price {
    margin-top: 15px;
    font-size: 23px;
    display: flex;
    justify-content: flex-end;
}
.price_text {
    margin-right: 15px;
}
.price_text:last-of-type {
    margin-right: 0px;
}
.size {
    font-size: 17px;
    margin-right: 7px;
}
.sp_only {
    display: none;
}

/* レスポンシブ対応 (768px以下) */
/*** メニューセクション  ***/
@media screen and (max-width:768px) {
    #menu h1 {
        font-size: 26px;
        margin-top: 25px;
    }
    #menu h1::after {
        width: 140px;
    }
    #menu h2 {
        font-size: 20px;
    }
    /* .menu-card {
        width: 100%;
        justify-content: center;
    } */
    .menu-card {
        flex-direction: column;
        width: 450px;
    }
    .content {
        width: 100%;
    }
    .content h4 {
        text-align: center;
        font-size: 18px;
    }
    .content p {
        margin-top: 1px;
        font-size: 14px;
        text-align: center;
    }
    .menu-card img {
        margin: 0 auto;
    }
    .price {
        font-size: 18px;
        justify-content: center;
    }
    .price_text {
        margin-right: 10px;
    }
    .size {
        font-size: 14px;
    }

    /***  【アローボタン（viewmoreボタン）】 ***/
    .arrow::after {
        width: 20px; /* 矢印の大きさの指定 */
        height: 20px; /* 矢印の大きさの指定 */
    }
    .arrow-bottom::after {
        top: 10px; /* 矢印の位置の指定 */
    }
}
/*レスポンシブ対応(530px以下)*/
@media screen and (max-width:530px) {
    .en_none {
        display: none;
    }
    .menu-card {
        width: 100%;
    }
    .sp_only {
        display: block;
    }
}

/* レスポンシブ対応 (375px以下) */
@media screen and (max-width:375px) {
/** トップページセクション **/
/* .tea-selection {
    flex-direction: column;
} */
/* .tea-selection img {
    width: 150px;
} */
    /** メニューセクション **/
    .menu-card {
        padding: 16px 35px;
        height: 392px;
    }
    .content p {
        text-align: start;
        display: flex;
        justify-content: center;
    }
}



/** ================= Philosophyセクション ============== **/
.philosophy-section {
    padding: 50px 25px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.philosophy-content {
    max-width: 800px;
    margin: 0 auto;
    font-family: "Yu Mincho", serif;
    color: #333;
    line-height: 2;
    font-size: 1.1rem;
}

.philosophy-content h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    font-weight: normal;
    letter-spacing: 0.05em;
    text-shadow: 2px 2px 2px rgb(243, 251, 242);
}
.philosophy-content p {
    font-size: 16px;
}

.philosophy-visual {
    position: relative;
    margin-bottom: 50px;
}

.teapot {
    max-width: 150px;
    position: relative;
    margin: 0 15px;
    opacity: 0.9;
}

.teapot.japanese {
    animation: float 4s ease-in-out infinite;
}

.teapot.chinese {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}


.slide-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
}


/* レスポンシブ対応（530px以下） */
@media screen and (max-width:530px) {
    .philosophy-visual {
        margin-bottom: 40px;
    }
    .philosophy-visual img {
        width: 120px;
    }
    .philosophy-content h2 {
        font-size: 1.6rem;
    }
    .philosophy-content p {
        font-size: 14px;
    }
}



/** ================= locationセクション ============== **/
    #location {
        padding: 25px 20px;
        text-align: center;
        display: flex !important;
        justify-content: center !important;
        column-gap: 40px !important;
    }
    
    .location-item {
        margin-bottom: 40px;
    }
    
    .location-city {
        font-size: 1.5rem;
        font-weight: bold;
        margin-bottom: 10px;
    }
    
    .location-address,
    .location-access {
        margin: 0;
        font-size: 14px;
    }

    .location-map {
        max-width: 100%;
        height: auto;
        margin: 10px 0;
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    /* レスポンシブ対応（540px以下） */
    @media screen and (max-width:540px) {
        #location {
            flex-direction: column;
        }
    }


    .reservation-section {
        padding: 30px 20px;
        text-align: center;
    }
    .section-title {
        font-size: 22px;
        letter-spacing: 0.05em;
        text-shadow: 2px 2px 2px rgb(243, 251, 242);
        margin-bottom: 20px;
    }
    .section-description {
        font-size: 14px;
    }
    .reservation-form {
        max-width: 600px;
        margin: 0 auto;
        text-align: left;
    }
    
    .reservation-form label {
        display: block;
        margin-bottom: 20px;
        font-weight: bold;
    }
    
    .reservation-form input,
    .reservation-form textarea {
        width: 100%;
        padding: 10px;
        font-size: 16px;
        border: 1px solid #ccc;
        border-radius: 4px;
        background-color: #f9f9f9;
    }
    
    .reservation-form .required {
        color: red;
        margin-left: 4px;
    }
    
    .reservation-form button {
        display: flex;
        margin: 0 auto;
        padding: 12px 24px;
        background-color: #333;
        color: white;
        border: none;
        border-radius: 6px;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }
    
    .reservation-form button:hover {
        background-color: #555;
    }



/** ================= footerセクション ============== **/
.footer h3 {
    text-align: center;
    font-size: 15px;
    color: #341d00;
    padding-bottom: 5px;
}