/*
Theme Name: omutaco
Theme URI:
Author: ropes
Author URI:
Description: タコライスcafeきじむなぁ オリジナルWordPressテーマ
Version: 1.0.0
*/

/* スムーズにスクロールさせる設定（ページ全体に適用） */
html {
    scroll-behavior: smooth;
    overflow-x: clip;
}

/*---------------------------------
ヘッダー
---------------------------------*/

/* --- ヘッダー本体 --- */

header {
    position: relative;
    width: 100%;
    height: 80px;
    z-index: 1000;
    background: url("/images/common/page_base_bg.png") center / cover no-repeat rgba(254, 239, 216, 0.65);
}

.header_inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
}

/* --- ロゴ --- */

.header_logo-box {
    flex-shrink: 0;
    width: 170px;
    height: 50px;
}

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

.header_logo img {
    width: auto;
    height: 100%;
    object-fit: contain;
}

/* --- SNSアイコン --- */

.header_nav_sns {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    margin-right: 68px;
}

.header_sns-link {
    display: block;
    width: 26px;
    height: 26px;
}

.header_sns-link img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* --- ハンバーガーボタン（SP） --- */

.mobile_menu_btn {
    position: fixed;
    top: 18px;
    right: 20px;
    width: 43px;
    height: 43px;
    border-radius: 50%;
    background: var(--main-color);
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 0;
    z-index: 1001;
}

.mobile_menu_btn span {
    display: block;
    width: 20px;
    height: 2px;
    background: #fff;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* --- PCナビ（SP非表示） --- */

.header_nav-layout {
    display: none;
}

/*---------------------------------
SPメニュー（ポップアップ）
---------------------------------*/

/* --- オーバーレイ --- */

.pop-up_menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    z-index: 2000;
    overflow-y: auto;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(100%);
    transition: transform .5s ease, visibility 0s linear .5s;
}

.pop-up_menu::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("/images/common/page_base_bg.png") center / cover no-repeat;
    background-color: rgba(254, 239, 216);
    mix-blend-mode: multiply;
    pointer-events: none;
    z-index: 0;
}

.pop-up_menu>* {
    position: relative;
    z-index: 1;
}

.pop-up_menu.menu-open {
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
    transition: transform .5s ease, visibility 0s linear;
    overflow-x: hidden;
}

/* --- SPメニューヘッダー --- */

.pop-up_menu__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    padding: 15px 20px;
    margin-bottom: 30px;
}

.pop-up_menu__header .header_nav_sns {
    margin-right: 25px;
}

/* --- 閉じるボタン --- */

.close-button {
    position: relative;
    width: 43px;
    height: 43px;
    border-radius: 50%;
    background: var(--main-color);
    border: none;
    cursor: pointer;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.close-button span {
    position: absolute;
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 1px;
}

.close-button span:first-child {
    transform: rotate(45deg);
}

.close-button span:last-child {
    transform: rotate(-45deg);
}

/* --- SPメニューラッパー --- */

.pop-up_menu__wrapper {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.pop-up_menu__nav {
    padding: 0 20px;
    margin-bottom: 40px;
}

/* --- SPナビ --- */

.sp-nav__box {
    display: flex;
    flex-direction: column;
}

.sp-nav__list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sp-nav__item:not(:last-child) {
    border-bottom: 1px solid #C9A881;
}

.sp-nav__link {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 0 20px 15px;
    text-decoration: none;
    color: var(--main-color);
}

.sp-nav__text-block {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sp-nav__text-jp {
    font-size: 20px;
    font-weight: bold;
    line-height: 1;
    color: var(--main-color);
    font-family: var(--main-font);
    margin-bottom: 5px;
}

.sp-nav__text-en {
    font-size: 14px;
    font-weight: bold;
    line-height: 1;
    color: var(--sub-color);
    font-family: var(--en-font);
    letter-spacing: 0.12em;
}

.sp-nav__arrow {
    font-size: 24px;
    color: var(--main-color);
    font-weight: bold;
    line-height: 1;
    flex-shrink: 0;
}

/* --- SPメニューフッター --- */

.pop-up_menu__footer {
    display: flex;
    margin-top: auto;
}

.sp-menu__footer-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 10px 0;
    text-decoration: none;
    color: #fff;
    position: relative;
    overflow: hidden;
    min-height: 60px;
}

.sp-menu__footer-btn-chara {
    width: 70px;
    height: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.sp-menu__footer-btn-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.sp-menu__footer-btn--shop {
    background: #EF9B34;
    color: #fff;
}

.sp-menu__footer-btn--menu {
    background: #D9B552;
    color: #fff;
}

.sp-menu__footer-btn--menu .sp-menu__footer-btn-text {
    text-align: right;
}

.sp-menu__footer-btn-jp {
    font-size: 16px;
    font-weight: bold;
    line-height: 1.4;
    font-family: var(--main-font);
}

.sp-menu__footer-btn-en {
    font-size: 10px;
    font-weight: bold;
    line-height: 1;
    font-family: var(--en-font);
}

/*---------------------------------
ヘッダー（PC）
---------------------------------*/

@media (min-width:768px) {

    header {
        position: absolute;
        top: 0;
        left: 0;
        width: clamp(80px, 8.333vw, 160px);
        height: auto;
        background: transparent;
        z-index: 1000;
        margin-left: 5.208vw;
    }

    .header_inner {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 4.167vw 0px;
        height: auto;
    }

    .header_logo-box {
        width: clamp(80px, 7.292vw, 140px);
        height: auto;
        margin: 0 auto 3.125vw;
    }

    .header_nav-layout {
        display: block;
        width: 100%;
    }

    .header_nav-list {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.823vw;
    }

    .header_nav-item {
        border-bottom: none;
    }

    .nav-item_link {
        display: flex;
        flex-direction: column;
        gap: 0.26vw;
        color: var(--main-color);
        font-size: clamp(14px, 1.042vw, 20px);
        font-weight: bold;
        line-height: 1.4;
        white-space: nowrap;
        transition: opacity 0.3s ease;
    }

    .nav-item_link-en {
        font-size: clamp(10px, 0.729vw, 14px);
        font-weight: bold;
        color: var(--sub-color);
        font-family: var(--en-font);
        letter-spacing: 0.12em;
        text-align: center;
    }

    /* ホバー */
    .nav-item_link:hover {
        opacity: .7;
    }

    .header_nav_sns {
        display: none;
    }

    .mobile_menu_btn {
        display: none;
    }

    .pop-up_menu {
        display: none;
    }

    /* MVだけヘッダー分オフセット */
    .mv {
        margin-left: 17.708vw;
    }

    /* フロートバナー PC */
    .float_banner {
        flex-direction: column;
        width: 120px;
        left: auto;
        right: 0;
        top: 50%;
        bottom: auto;
        transform: translateY(-50%);
    }

    .float_banner .sp-menu__footer-btn {
        flex-direction: column;
        padding: 12px 8px;
        min-height: auto;
    }

    .float_banner .sp-menu__footer-btn-chara {
        width: 55px;
        margin-bottom: 4px;
    }

    .float_banner .sp-menu__footer-btn-jp {
        font-size: 12px;
    }

    .float_banner .sp-menu__footer-btn-en {
        font-size: 8px;
    }
}



/*---------------------------------
フッター
---------------------------------*/

footer {
    position: relative;
    padding: 35px 45px;
}

.footer_deco-birds {
    display: none;
}

.pagetop_btn {
    position: absolute;
    top: -7vw;
    right: 3.2vw;
    width: 14.13vw;
    height: 14.13vw;
    background: #fff;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5vw;
    text-decoration: none;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.pagetop_btn-arrow {
    width: 1.6vw;
    height: auto;
}

.pagetop_btn-text {
    font-size: 2.7vw;
    font-weight: bold;
    color: var(--main-color);
    font-family: var(--text-font);
    line-height: 1.2;
    text-align: center;
}

footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("/images/common/footer_bg_sp.jpg") center bottom / cover no-repeat;
    mix-blend-mode: multiply;
    z-index: 0;
    pointer-events: none;
}

footer::after {
    content: "";
    position: absolute;
    inset: 0;
    background: #9A6229;
    opacity: 0.12;
    mix-blend-mode: multiply;
    z-index: 0;
    pointer-events: none;
}

.footer_inner {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
}

.footer_content {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.footer_logo-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 25px;
}

.footer_logo {
    width: 220px;
    display: block;
}

.footer_logo img {
    width: 100%;
    height: auto;
}

.footer_sns {
    display: none;
}

.footer_nav-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px 20px;
}

.footer_nav-list a {
    font-size: 16px;
    font-weight: bold;
    color: var(--main-color);
    font-family: var(--main-font);
    text-decoration: none;
}

.footer_copyright {
    text-align: center;
    font-size: 10px;
    color: var(--main-color);
    font-family: var(--text-font);
}

.bottom_deco {
    display: none;
}

/* --- PC --- */

@media (min-width: 768px) {

    .pagetop_btn {
        width: 4.896vw;
        height: 4.896vw;
        top: -6.604vw;
        right: 2.083vw;
        gap: 0.26vw;
    }

    .pagetop_btn-text {
        font-size: 0.729vw;
    }

    .pagetop_btn-arrow {
        width: 0.65vw;
    }

    footer {
        padding: clamp(50px, 4.167vw, 80px) 10px 30px;
    }

    footer::before {
        background: url("/images/common/footer_bg.png") left center / cover no-repeat;
    }

    .footer_deco-birds {
        display: block;
        width: clamp(60px, 7.5vw, 144px);
        height: clamp(60px, 5.521vw, 106px);
        margin-top: clamp(-60px, -3.125vw, -30px);
    }


    .footer_inner {
        max-width: 1160px;
    }

    .footer_logo-block {
        flex-direction: row;
        align-items: center;
        gap: clamp(20px, 2.125vw, 60px);
        margin-bottom: clamp(20px, 2.083vw, 40px);
    }

    .footer_logo {
        width: clamp(160px, 18.385vw, 353px);
        margin-bottom: 0;
    }

    .footer_sns {
        display: flex;
        gap: 10px;
    }

    .footer_sns-link {
        transition: opacity 0.3s ease;
    }

    .footer_sns-link img {
        width: 30px;
        height: 30px;
    }

    .footer_sns-link:hover {
        opacity: .7;
    }

    .footer_content {
        margin-bottom: clamp(15px, 1.563vw, 30px);
        max-width: max-content;
        margin-left: auto;
    }

    .footer_nav {
        margin-right: clamp(20px, 2.604vw, 50px);
    }

    .footer_nav-list {
        gap: clamp(10px, 1.042vw, 20px) clamp(20px, 2.604vw, 50px);
        max-width: clamp(15.313rem, -0.063rem + 32.03vw, 38.375rem);
        justify-content: flex-start;
    }

    .footer_nav-list a {
        font-size: clamp(13px, 0.833vw, 16px);
        transition: opacity 0.3s ease;
    }

    .footer_nav-list a:hover {
        opacity: .7;
    }

    .bottom_deco {
        display: block;
        width: clamp(300px, 28.229vw, 542px);
        height: clamp(106px, 10vw, 192px);
        margin-left: auto;
    }

    .footer_copyright {
        font-size: clamp(11px, 0.729vw, 14px);
        text-align: right;
    }
}

/* フロートバナー */

.float_banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.float_banner.is-visible {
    opacity: 1;
    visibility: visible;
}

@media (min-width: 768px) {
    .float_banner {
        display: none !important;
    }
}

/* PC用フロートバナー（看板デザイン） */

.float_banner-pc {
    display: none;
}

@media (min-width: 768px) {
    .float_banner-pc {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        position: fixed;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        z-index: 999;
        gap: 60px;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .float_banner-pc.is-visible {
        opacity: 1;
        visibility: visible;
    }

    /* 各看板アイテム */
    .float_banner-pc_item {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        z-index: 1;
        width: 186px;
    }

    /* 木の横棒 */
    .float_banner-pc_board {
        width: 100%;
        height: auto;
        display: block;
        position: relative;
        z-index: 2;
        margin-right: -30px;
    }

    /* キャラ */
    .float_banner-pc_chara {
        position: absolute;
        z-index: 3;
        width: clamp(100px, 5.208vw, 134px);
        height: auto;
    }

    .float_banner-pc_chara--shop {
        top: -15px;
        left: 40%;
        transform: translate(-50%, -50%);
    }

    .float_banner-pc_chara--menu {
        width: clamp(100px, 5.208vw, 162px);
        top: -62px;
        bottom: auto;
        left: 40%;
        transform: translate(-50%, 50%);
    }

    /* サインカード */
    .float_banner-pc_sign {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        background: #FFEAD0;
        border: 2px solid var(--main-color);
        border-radius: 10px;
        padding: 15px 20px;
        text-decoration: none;
        text-align: center;
        width: 147px;
        white-space: nowrap;
        position: relative;
        z-index: 1;
    }

    .float_banner-pc_jp {
        font-size: clamp(14px, 0.938vw, 18px);
        font-weight: bold;
        color: var(--main-color);
        font-family: var(--main-font);
        line-height: 1.4;
    }

    .float_banner-pc_en {
        font-size: clamp(12px, 0.573vw, 14px);
        font-weight: bold;
        font-family: var(--en-font);
        line-height: 1;
        color: #D04D18;
    }

    .float_banner-pc_item:last-child .float_banner-pc_sign {
        background: #FCEFEA;
    }
}