::selection {
    background-color: rgba(29, 110, 104, 0.6);
    color: white;
}

.container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.image {
    position: absolute;
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
}

.top-image {
    top: 0;
    height: 100vh;
    clip-path: url(#wave-bottom);
}

.uk-slideshow,
.uk-slideshow-items {
    height: 100% !important;
}

.uk-slideshow-items>li {
    clip-path: url(#wave-bottom);
}

.bottom-image {
    top: 65vh;
    background-image: url("https://picsum.photos/id/24/1440/1200");
    clip-path: url(#wave-top);
}

/* スライダーのナビゲーション */
.uk-slidenav {
    z-index: 10;
}

/* PC用の波形に切り替え */
@media (min-width: 768px) {
    .bottom-image {
        clip-path: url(#wave-top);
    }
}

/* 内容のスタイル */
.image h1 {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* 全体のスタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Zen Maru Gothic', "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    overflow-x: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* フォント設定 */
h1,
.uk-heading-large {
    font-family: 'Zen Maru Gothic', "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    font-weight: 700;
    transform: skew(-5deg);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.uk-heading-large:hover {
    transform: skew(-3deg) scale(1.05);
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

h2 {
    font-family: 'Zen Maru Gothic', "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    font-weight: 500;
}

h3,
h4,
h5,
h6 {
    font-family: 'Zen Maru Gothic', "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    font-weight: 400;
}

.uk-heading-large small {
    font-size: 2rem;
    display: block;
}

@media (min-width: 768px) {
    .uk-heading-large small {
        font-size: 2rem;
        display: inline;
    }
}

@media (min-width: 1200px) {
    .uk-heading-large small {
        font-size: 3rem;
        display: inline;
    }
}


/* ヘッダーメニュー */
header {
    background: rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    border-bottom: 4px double #1D6E68;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

header:hover {
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.uk-navbar-container {
    padding: 1rem 2rem;
}

.uk-navbar-container:not(.uk-navbar-transparent) {
    background: transparent;
}

.uk-navbar-nav>li>a {
    color: #333;
    font-size: .8rem;
    min-height: 70px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.uk-navbar-nav>li>a:hover {
    color: #1D6E68;
    transform: translateY(-2px);
}

.uk-navbar-nav>li>a img {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.uk-navbar-nav>li>a:hover img {
    transform: scale(1.1) rotate(5deg);
}

.uk-navbar-nav>li>a span {
    font-family: 'Zen Maru Gothic', "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    font-weight: 500;
}

/* スライダーセクション */
.slider-section {
    height: 100vh;
    position: relative;
    overflow: hidden;
    background-color: #000;
}

.uk-slideshow-items {
    height: 100vh !important;
    background-color: #000;
}

.uk-slideshow-items>li {
    overflow: hidden !important;
    background-color: #000;
}

/* スライドのフェードトランジション調整 */
.uk-slideshow-items>li {
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.uk-slideshow-items>li.uk-active {
    opacity: 1;
}

.slide-bg {
    position: absolute;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.15);
    will-change: transform;
}

/* アクティブスライドのKen Burnsアニメーション */
.uk-slideshow-items>li.uk-active .slide-bg {
    animation: kenBurns1 6s ease-out forwards;
}

/* 複数パターンのKen Burnsアニメーション */
.uk-slideshow-items>li:nth-child(1).uk-active .slide-bg {
    animation: kenBurns1 6s ease-out forwards;
}

.uk-slideshow-items>li:nth-child(2).uk-active .slide-bg {
    animation: kenBurns2 6s ease-out forwards;
}

.uk-slideshow-items>li:nth-child(3).uk-active .slide-bg {
    animation: kenBurns3 6s ease-out forwards;
}

.uk-slideshow-items>li:nth-child(4).uk-active .slide-bg {
    animation: kenBurns2 6s ease-out forwards;
}

.uk-slideshow-items>li:nth-child(5).uk-active .slide-bg {
    animation: kenBurns1 6s ease-out forwards;
}

.uk-slideshow-items>li:nth-child(6).uk-active .slide-bg {
    animation: kenBurns3 6s ease-out forwards;
}

.uk-slideshow-items>li:nth-child(7).uk-active .slide-bg {
    animation: kenBurns2 6s ease-out forwards;
}

/* Ken Burns パターン1: 中央からズームアウト */
@keyframes kenBurns1 {
    0% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1.05);
    }
}

/* Ken Burns パターン2: 左上から右下へパン + ズームアウト */
@keyframes kenBurns2 {
    0% {
        transform: scale(1.2) translate(-2%, -1%);
    }
    100% {
        transform: scale(1.05) translate(1%, 0.5%);
    }
}

/* Ken Burns パターン3: 右から左へパン + ズームイン */
@keyframes kenBurns3 {
    0% {
        transform: scale(1.05) translate(1%, 0);
    }
    100% {
        transform: scale(1.15) translate(-1%, 0);
    }
}

/* スライダーのテキストアニメーション */
.uk-slideshow-items .uk-position-center {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 100%;
    z-index: 5;
}

/* アクティブスライドのテキストアニメーション */
.uk-slideshow-items>li.uk-active .uk-position-center {
    animation: textFadeIn 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
}

.uk-slideshow-items>li.uk-active .uk-position-center h2 {
    animation: textSlideUp 1s cubic-bezier(0.4, 0, 0.2, 1) 0.5s both;
}

.uk-slideshow-items>li.uk-active .uk-position-center p {
    animation: textSlideUp 1s cubic-bezier(0.4, 0, 0.2, 1) 0.8s both;
}

@keyframes textSlideUp {
    0% {
        opacity: 0;
        transform: translateY(30px) skew(-5deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) skew(-5deg);
    }
}

/* スライダーテキストの読みやすさ強化 */
.uk-slideshow-items .uk-position-center h2,
.uk-slideshow-items .uk-position-center p {
    color: white !important;
    /* text-shadow:
        0 0 20px rgba(0, 0, 0, 0.8),
        0 0 40px rgba(0, 0, 0, 0.6),
        2px 2px 8px rgba(0, 0, 0, 0.9),
        -2px -2px 8px rgba(0, 0, 0, 0.7),
        0 4px 12px rgba(0, 0, 0, 0.5) !important; */
    text-shadow:
        0 0 20px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(0, 0, 0, 0.4),
        2px 2px 8px rgba(0, 0, 0, 0.7),
        -2px -2px 8px rgba(0, 0, 0, 0.5),
        0 4px 12px rgba(0, 0, 0, 0.3) !important;
    font-weight: 700 !important;
}

.uk-slideshow-items .uk-position-center h2 {
    /* background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1)); */
    padding: 0.5rem 1rem;
    border-radius: 10px;
    /* -webkit-backdrop-filter: blur(3px); */
    /* backdrop-filter: blur(3px); */
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.uk-slideshow-items .uk-position-center p {
    /* background: linear-gradient(135deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.05)); */
    padding: 0.3rem 0.8rem;
    border-radius: 8px;
    /* -webkit-backdrop-filter: blur(2px); */
    /* backdrop-filter: blur(2px); */
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 1rem;
}

@keyframes textFadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) translateY(30px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%) translateY(0);
    }
}

/* スライダーナビゲーション */
.uk-slidenav {
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.7;
}

.uk-slidenav:hover {
    opacity: 1;
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.2);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    border-radius: 50%;
}

/* 波形セクション共通（モバイル用） */
.wave-section {
    position: relative;
    /* height: 100vh; */
    margin-top: -20vh;
    -webkit-clip-path: polygon(0% 1.5%,
            1.69492% 1.35%,
            3.38983% 1.2%,
            5.08475% 1.05%,
            6.77966% 0.9%,
            8.47458% 0.75%,
            10.1695% 0.64%,
            11.8644% 0.53%,
            13.5593% 0.41%,
            15.2542% 0.3%,
            16.9492% 0.23%,
            18.6441% 0.15%,
            20.339% 0.08%,
            22.0339% 0.04%,
            23.7288% 0.01%,
            25.4237% 0%,
            27.1186% 0.01%,
            28.8136% 0.04%,
            30.5085% 0.08%,
            32.2034% 0.15%,
            33.8983% 0.23%,
            35.5932% 0.3%,
            37.2881% 0.41%,
            38.9831% 0.53%,
            40.678% 0.64%,
            42.3729% 0.75%,
            44.0678% 0.9%,
            45.7627% 1.05%,
            47.4576% 1.2%,
            49.1525% 1.35%,
            50.8475% 1.5%,
            52.5424% 1.65%,
            54.2373% 1.8%,
            55.9322% 1.95%,
            57.6271% 2.1%,
            59.322% 2.25%,
            61.017% 2.36%,
            62.7119% 2.48%,
            64.4068% 2.59%,
            66.1017% 2.7%,
            67.7966% 2.78%,
            69.4915% 2.85%,
            71.1864% 2.93%,
            72.8814% 2.96%,
            74.5763% 2.99%,
            76.2712% 3%,
            77.9661% 2.99%,
            79.661% 2.96%,
            81.3559% 2.93%,
            83.0509% 2.85%,
            84.7458% 2.78%,
            86.4407% 2.7%,
            88.1356% 2.59%,
            89.8305% 2.48%,
            91.5254% 2.36%,
            93.2203% 2.25%,
            94.9153% 2.1%,
            96.6102% 1.95%,
            98.3051% 1.8%,
            100% 1.65%,
            100% 100%,
            0% 100%);
    clip-path: polygon(0% 1.5%,
            1.69492% 1.35%,
            3.38983% 1.2%,
            5.08475% 1.05%,
            6.77966% 0.9%,
            8.47458% 0.75%,
            10.1695% 0.64%,
            11.8644% 0.53%,
            13.5593% 0.41%,
            15.2542% 0.3%,
            16.9492% 0.23%,
            18.6441% 0.15%,
            20.339% 0.08%,
            22.0339% 0.04%,
            23.7288% 0.01%,
            25.4237% 0%,
            27.1186% 0.01%,
            28.8136% 0.04%,
            30.5085% 0.08%,
            32.2034% 0.15%,
            33.8983% 0.23%,
            35.5932% 0.3%,
            37.2881% 0.41%,
            38.9831% 0.53%,
            40.678% 0.64%,
            42.3729% 0.75%,
            44.0678% 0.9%,
            45.7627% 1.05%,
            47.4576% 1.2%,
            49.1525% 1.35%,
            50.8475% 1.5%,
            52.5424% 1.65%,
            54.2373% 1.8%,
            55.9322% 1.95%,
            57.6271% 2.1%,
            59.322% 2.25%,
            61.017% 2.36%,
            62.7119% 2.48%,
            64.4068% 2.59%,
            66.1017% 2.7%,
            67.7966% 2.78%,
            69.4915% 2.85%,
            71.1864% 2.93%,
            72.8814% 2.96%,
            74.5763% 2.99%,
            76.2712% 3%,
            77.9661% 2.99%,
            79.661% 2.96%,
            81.3559% 2.93%,
            83.0509% 2.85%,
            84.7458% 2.78%,
            86.4407% 2.7%,
            88.1356% 2.59%,
            89.8305% 2.48%,
            91.5254% 2.36%,
            93.2203% 2.25%,
            94.9153% 2.1%,
            96.6102% 1.95%,
            98.3051% 1.8%,
            100% 1.65%,
            100% 100%,
            0% 100%);
}

/* 背景画像のコンテナ */
.wave-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.wave-section:hover::before {
    transform: scale(1.02);
}

.content {
    position: relative;
    z-index: 1;
    margin: 0 auto;
    padding: 15vh 1rem 25vh;
    color: white;
    text-shadow:
        0 0 15px rgba(0, 0, 0, 0.8),
        0 0 30px rgba(0, 0, 0, 0.6),
        2px 2px 6px rgba(0, 0, 0, 0.9),
        -1px -1px 6px rgba(0, 0, 0, 0.7),
        0 3px 8px rgba(0, 0, 0, 0.5);
}

@media (min-width: 768px) {
    .content {
        max-width: 1200px;
        margin: 0 auto;
        padding: 15vh 2rem 25vh;
        color: white;
        /* text-shadow:
        0 0 15px rgba(0, 0, 0, 0.8),
        0 0 30px rgba(0, 0, 0, 0.6),
        2px 2px 6px rgba(0, 0, 0, 0.9),
        -1px -1px 6px rgba(0, 0, 0, 0.7),
        0 3px 8px rgba(0, 0, 0, 0.5); */
        text-shadow:
            0 0 15px rgba(0, 0, 0, 0.6),
            0 0 30px rgba(0, 0, 0, 0.4),
            2px 2px 6px rgba(0, 0, 0, 0.7),
            -1px -1px 6px rgba(0, 0, 0, 0.5),
            0 3px 8px rgba(0, 0, 0, 0.3);
    }

}

@media (min-width: 1200px) {}

/* header {
    overflow-x: hidden;
} */

/* モバイル用メニュー */
@media (max-width: 959px) {
    .uk-navbar-container {
        padding: 0 1rem;
    }

    .uk-navbar-dropdown {
        position: fixed !important;
        top: 80px !important;
        right: 0 !important;
        left: auto !important;
        width: 260px;
        background: white;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }

    .uk-navbar-dropdown-nav>li>a {
        color: #333;
        padding: 0.5rem 1rem;
    }

    .uk-logo img {
        width: 200px;
    }
}

/* PC用メニュー */
@media (min-width: 960px) {

    .uk-navbar-toggle,
    .uk-navbar-dropdown {
        display: none;
    }
}

/* PC用の波形 */
@media (min-width: 768px) {
    .wave-section {
        -webkit-clip-path: polygon(0% 6.5%,
                1.69492% 5.88%,
                3.38983% 5.2%,
                5.08475% 4.53%,
                6.77966% 3.89%,
                8.47458% 3.28%,
                10.1695% 2.7%,
                11.8644% 2.17%,
                13.5593% 1.69%,
                15.2542% 1.25%,
                16.9492% 0.88%,
                18.6441% 0.57%,
                20.339% 0.32%,
                22.0339% 0.14%,
                23.7288% 0.04%,
                25.4237% 0%,
                27.1186% 0.04%,
                28.8136% 0.14%,
                30.5085% 0.32%,
                32.2034% 0.57%,
                33.8983% 0.88%,
                35.5932% 1.25%,
                37.2881% 1.69%,
                38.9831% 2.17%,
                40.678% 2.7%,
                42.3729% 3.28%,
                44.0678% 3.89%,
                45.7627% 4.53%,
                47.4576% 5.2%,
                49.1525% 5.88%,
                50.8475% 6.5%,
                52.5424% 7.25%,
                54.2373% 7.93%,
                55.9322% 8.59%,
                57.6271% 9.23%,
                59.322% 9.84%,
                61.017% 10.42%,
                62.7119% 10.95%,
                64.4068% 11.44%,
                66.1017% 11.87%,
                67.7966% 12.25%,
                69.4915% 12.56%,
                71.1864% 12.8%,
                72.8814% 12.98%,
                74.5763% 13.09%,
                76.2712% 13.1%,
                77.9661% 13.09%,
                79.661% 12.98%,
                81.3559% 12.8%,
                83.0509% 12.56%,
                84.7458% 12.25%,
                86.4407% 11.87%,
                88.1356% 11.44%,
                89.8305% 10.95%,
                91.5254% 10.42%,
                93.2203% 9.84%,
                94.9153% 9.23%,
                96.6102% 8.59%,
                98.3051% 7.93%,
                100% 7.25%,
                100% 100%,
                0% 100%);
        clip-path: polygon(0% 6.5%,
                1.69492% 5.88%,
                3.38983% 5.2%,
                5.08475% 4.53%,
                6.77966% 3.89%,
                8.47458% 3.28%,
                10.1695% 2.7%,
                11.8644% 2.17%,
                13.5593% 1.69%,
                15.2542% 1.25%,
                16.9492% 0.88%,
                18.6441% 0.57%,
                20.339% 0.32%,
                22.0339% 0.14%,
                23.7288% 0.04%,
                25.4237% 0%,
                27.1186% 0.04%,
                28.8136% 0.14%,
                30.5085% 0.32%,
                32.2034% 0.57%,
                33.8983% 0.88%,
                35.5932% 1.25%,
                37.2881% 1.69%,
                38.9831% 2.17%,
                40.678% 2.7%,
                42.3729% 3.28%,
                44.0678% 3.89%,
                45.7627% 4.53%,
                47.4576% 5.2%,
                49.1525% 5.88%,
                50.8475% 6.5%,
                52.5424% 7.25%,
                54.2373% 7.93%,
                55.9322% 8.59%,
                57.6271% 9.23%,
                59.322% 9.84%,
                61.017% 10.42%,
                62.7119% 10.95%,
                64.4068% 11.44%,
                66.1017% 11.87%,
                67.7966% 12.25%,
                69.4915% 12.56%,
                71.1864% 12.8%,
                72.8814% 12.98%,
                74.5763% 13.09%,
                76.2712% 13.1%,
                77.9661% 13.09%,
                79.661% 12.98%,
                81.3559% 12.8%,
                83.0509% 12.56%,
                84.7458% 12.25%,
                86.4407% 11.87%,
                88.1356% 11.44%,
                89.8305% 10.95%,
                91.5254% 10.42%,
                93.2203% 9.84%,
                94.9153% 9.23%,
                96.6102% 8.59%,
                98.3051% 7.93%,
                100% 7.25%,
                100% 100%,
                0% 100%);
    }
}

.title {
    margin-bottom: 2rem;
}

.title h2 {
    margin: 0 auto;
    color: white
}

.glassPanel {
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    padding: 2rem;
    border-radius: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glassPanel:hover {
    background: rgba(255, 255, 255, 0.15);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.glassPanelBlack {
    background: rgba(0, 0, 0, 0.2);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    padding: 2rem;
    border-radius: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glassPanelBlack:hover {
    background: rgba(0, 0, 0, 0.3);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* スクロールアニメーション用のクラス */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* メニュー画像専用のフェードインアニメーション */
.menu-fade-in {
    opacity: 0 !important;
    transform: translateY(30px) scale(0.95) !important;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) !important;
    filter: blur(2px);
}

.menu-fade-in.visible {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
    filter: blur(0px);
}

/* 食べ物画像のホバーアニメーション */
.uk-grid img {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    /* border-radius: 15px; */
    /* box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); */
}

.uk-grid a:hover img {
    transform: scale(1.05) rotate(2deg);
    /* box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2); */
}

/* メニュー画像の特別なホバー効果 */
.menu-fade-in a:hover img {
    transform: scale(1.08) rotate(3deg);
    filter: brightness(1.1) saturate(1.2);
}

/* ボタンアニメーション */
.uk-button {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.uk-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.uk-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: width 0.6s, height 0.6s;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.uk-button:hover::before {
    width: 300px;
    height: 300px;
}

.uk-button>* {
    position: relative;
    z-index: 1;
}

.uk-button-primary {
    background-color: #1D6E68;
    color: white;
    border: 1px solid #1D6E68;
}

.uk-button-primary:hover {
    background-color: #165c56;
    border-color: #165c56;
}

/* パフォーマンス最適化 */
.wave-section,
.uk-slideshow-items,
.glassPanel,
.glassPanelBlack {
    will-change: transform;
}

/* レスポンシブアニメーション調整 */
@media (prefers-reduced-motion: reduce) {
    *:not(.footer-scroll-content):not(.slide-bg) {
        animation-duration: 0.01s !important;
        transition-duration: 0.01s !important;
    }
}

@media (max-width: 768px) {

    .fade-in,
    .slide-in-left,
    .slide-in-right,
    .scale-in {
        transition-duration: 0.5s;
    }

    .uk-grid a:hover img {
        transform: scale(1.02);
    }
}

.uk-card-body {
    text-shadow: none;
}

footer {
    text-align: center;
    padding: 0 0 1rem 0;
    /* background-color: rgba(29, 110, 104, 1); */
    /* color: #fff; */
}

footer a {
    color: black;
    font-size: .9rem;
    padding: 1rem;
}

footer .copyright {
    margin-top: 1rem;
    font-size: .8rem;
}

/* フッター画像スクロールアニメーション（無限ループ） */
.footer-scroll-container {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.footer-scroll-content {
    display: flex;
    height: 100%;
    position: absolute;
    animation: footerInfiniteScroll 90s linear infinite;
    will-change: transform;
}

.footer-scroll-content img {
    height: 100%;
    width: auto;
    display: block;
}

@keyframes footerInfiniteScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-33.333%);
    }
}

/* モバイル用の高さ調整 */
@media (max-width: 768px) {
    .footer-scroll-container {
        height: 150px;
    }

    .footer-scroll-content {
        animation: footerInfiniteScroll 60s linear infinite;
    }
}

.menu-pickup {
    padding: 2rem 0;
    min-height: 55vh;
}

@media (min-width: 480px) {}

@media (min-width: 768px) {
    .menu-pickup {
        padding: 7rem 0;
    }
}

@media (min-width: 1200px) {}

.monochrome {
    filter: grayscale(100%);
}

.bg-wood {
    background-image: url(images/wood.jpg?2);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* 背景固定 */
}

#brand {
    background-image: url(images/brandstories.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* 背景固定 */
    padding-top: 12rem;
    padding-bottom: 5rem;
    color: white !important;
    text-shadow:
        0 0 20px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(0, 0, 0, 0.4),
        2px 2px 8px rgba(0, 0, 0, 0.7),
        -2px -2px 8px rgba(0, 0, 0, 0.5),
        0 4px 12px rgba(0, 0, 0, 0.3) !important;
    min-height: 100vh;
    /* 最小高さを設定 */
}

/* コンテナの高さも固定 */
#brand .uk-container {
    min-height: calc(100vh - 17rem);
    /* padding分を差し引いた高さ */
}

#brand h2 {
    font-family: 'Zen Maru Gothic', "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: white;
    font-weight: 600 !important;
}

#brand p {
    font-style: italic;
    font-size: 1rem;
    line-height: 1.8;
    font-weight: 500 !important;
}

@media (min-width: 480px) {}

@media (min-width: 768px) {
    #brand p {
        font-size: 1.2rem;
    }
}

@media (min-width: 1200px) {}

/* タイプライターアニメーション用スタイル */
.typewriter-text {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    position: relative;
    min-height: 1.2em;
}

/* #brand内の各要素に固定最小高さを設定 */
#brand h2.typewriter-text {
    min-height: 80px;
    /* 見出しの固定高さ */
}

#brand p.typewriter-text {
    min-height: 2.4em;
    /* 基本段落の最小高さ */
}

/* 長い段落用の個別設定 */
#brand p.typewriter-text:nth-of-type(4) {
    min-height: 7.2em;
    /* 長い段落（料理説明）*/
}

#brand p.typewriter-text:nth-of-type(5) {
    min-height: 4.8em;
    /* 中程度の段落（使命について）*/
}

#brand p.typewriter-text:nth-of-type(6) {
    min-height: 3.6em;
    /* 3行段落 */
}

.typewriter-text::after {
    content: '|';
    display: inline-block;
    animation: blink 1s linear infinite;
    color: rgba(255, 255, 255, 0.8);
    font-weight: normal;
    margin-left: 2px;
}

.typewriter-text.completed::after {
    display: none;
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

/* レスポンシブ調整 */
@media (max-width: 768px) {
    .typewriter-text {
        font-size: 1rem;
        line-height: 1.6;
    }

    /* モバイル用：背景を固定してスクロールしても動かないように */
    #brand {
        background-attachment: fixed;
        background-size: cover;
        background-position: center;
        min-height: 100vh;
        height: auto;
    }

    /* コンテナの高さを固定 */
    #brand .uk-container {
        min-height: 1200px;
    }

    /* モバイル用の高さ調整 */
    #brand h2.typewriter-text {
        min-height: 80px;
    }

    #brand p.typewriter-text {
        min-height: 3em;
    }

    #brand p.typewriter-text:nth-of-type(4) {
        min-height: 12em;
        /* モバイルでは文字が折り返すため高く */
    }

    #brand p.typewriter-text:nth-of-type(5) {
        min-height: 8em;
    }

    #brand p.typewriter-text:nth-of-type(6) {
        min-height: 6em;
    }
}

#mission {
    color: black;
}

#mission p {
    font-size: .8rem;
}

/* 店舗画像タイトル */
.shop-title {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.8);
    /* background: linear-gradient(90deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 70%, transparent 100%); */
    color: white;
}

.shop-title h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
}

.shop-title div {
    font-size: 1rem;
    line-height: 1.8;
    color: black;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
    .shop-title {
        width: 100%;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 60%, transparent 100%);
    }

    .shop-title h2 {
        font-size: 1.5rem;
    }

    .shop-title div {
        font-size: 0.9rem;
    }
}

.margin-header {
    margin-top: 80px;
}

@media (min-width: 480px) {}

@media (min-width: 768px) {
    .margin-header {
        margin-top: 112px;
    }
}

@media (min-width: 1200px) {}

.uk-table-alpha {
    background-color: rgba(255, 255, 255, 0.8);
}

.uk-table-divider>:first-child>tr:not(:first-child),
.uk-table-divider>:not(:first-child)>tr,
.uk-table-divider>tr:not(:first-child) {
    border-top: 1px solid #aaa;
}

/* メニューモーダルのスタイル */
.uk-modal-full .uk-modal-dialog {
    background: rgba(255, 255, 255, 0.98);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    position: relative;
}

.uk-modal-full .uk-background-cover {
    position: relative;
}

.uk-modal-full .uk-background-cover::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0.95) 100%);
    z-index: 1;
}

.uk-modal-full .uk-padding-large {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.95);
}

.uk-modal-title {
    font-family: 'Zen Maru Gothic', "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    font-weight: 600;
    color: #1D6E68;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-shadow: none;
}

.uk-modal-full p {
    font-family: 'Zen Maru Gothic', "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: #333;
    line-height: 1.8;
    font-size: 1.1rem;
    text-shadow: none;
}

.uk-modal-full .uk-text-meta {
    color: #1D6E68;
    font-weight: 600;
    font-size: 1.3rem;
    margin-top: 1.5rem;
}

/* カスタムモーダル */
.custom-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    overflow-y: auto;
}

.custom-modal.active {
    display: block;
}

.custom-modal .uk-modal-dialog {
    width: 100%;
    max-width: 100%;
    margin: 0;
    background: white;
    position: relative;
    min-height: 100vh;
    z-index: 1;
    opacity: 1 !important;
    transform: none !important;
}

.custom-modal .uk-background-cover {
    position: relative;
    min-height: 100vh;
}

.custom-modal .uk-background-cover::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0.95) 100%);
    z-index: 1;
}

.custom-modal .uk-padding-large {
    position: relative;
    z-index: 2;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
    padding: 3rem;
}

.custom-modal .uk-modal-title {
    font-family: 'Zen Maru Gothic', "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    font-weight: 600;
    color: #1D6E68;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-shadow: none;
}

.custom-modal p {
    font-family: 'Zen Maru Gothic', "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: #333;
    line-height: 1.8;
    font-size: 1.1rem;
    text-shadow: none;
}

.custom-modal .uk-text-meta {
    color: #1D6E68;
    font-weight: 600;
    font-size: 1.3rem;
    margin-top: 1.5rem;
}

.custom-modal-close {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(29, 110, 104, 0.95);
    color: white;
    border: none;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    font-size: 48px;
    line-height: 1;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.custom-modal-close:hover {
    background: rgba(29, 110, 104, 1);
    transform: rotate(90deg) scale(1.15);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

/* モバイル対応 */
@media (max-width: 768px) {
    .custom-modal .uk-background-cover {
        height: 40vh !important;
        min-height: 300px;
    }

    .custom-modal .uk-background-cover::before {
        background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0.95) 100%);
    }

    .custom-modal .uk-modal-title {
        font-size: 1.8rem;
    }

    .custom-modal p {
        font-size: 1rem;
    }

    .custom-modal .uk-text-meta {
        font-size: 1.1rem;
    }

    .uk-modal-close-full {
        width: 60px !important;
        height: 60px !important;
    }
}