﻿/* 和風フォントと色ベース */
body {
    font-family: 'Noto Serif JP', serif;
    margin: 0;
    padding: 0;
    background-color: #fdf8ee;
    color: #333;
}

header {
    padding: 1em;
    text-align: center;
    color: white;
    transition: background-color 0.3s ease;
    position: relative;
    z-index: 1;
}

    header:hover {
        background-color: rgba(0, 0, 0, 0.65);
    }

    header h1 {
        position: relative;
        z-index: 1;
        display: inline-block;
        text-shadow: 0 0 8px rgba(0, 0, 0, 0.7);
    }

        header h1::before {
            content: "";
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background-image: url('../images/logo.png');
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center;
            opacity: 0.5;
            width: 120px;
            height: 120px;
            z-index: -1;
            pointer-events: none;
        }

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 1.5em;
}

nav a,
.language-switcher a,
header nav ul li a {
    text-decoration: none;
    color: white;
    font-weight: normal;
    transition: all 0.2s ease;
}

    nav a:hover,
    nav a.active,
    .language-switcher a:hover {
        text-decoration: underline;
        font-weight: bold;
    }

.language-switcher {
    position: absolute;
    top: 10px;
    right: 30px;
    font-size: 14px;
}

/* フッター */
.site-footer {
    background-color: #1a1a1a;
    color: #f0f0f0;
    padding: 2rem 1rem;
    font-family: 'Noto Serif JP', serif;
    border-top: 1px solid #444;
    text-align: center;
}

.footer-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.footer-info p,
.footer-links a {
    margin: 0.3rem 0;
    font-size: 0.9rem;
    color: #ddd;
}

    .footer-info a:hover,
    .footer-links a:hover {
        text-decoration: underline;
        color: #fff;
    }

.footer-links {
    margin: 1rem 0;
}

.shop-name {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #fff;
    letter-spacing: 0.1em;
}

/* メインセクション共通 */
main section {
    padding: 3em 1em;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

/* 店主挨拶 */
.owner-message h3 {
    margin-bottom: 1em;
}

.owner-message p {
    line-height: 1.8;
}

/* こだわりの逸品 */
.featured-menu .menu-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2em;
    margin-top: 1.5em;
}

.menu-item {
    width: 250px;
    text-align: center;
}

    .menu-item img {
        width: 100%;
        border-radius: 8px;
    }

    .menu-item h4 {
        margin-top: 0.5em;
        font-size: 1.2em;
    }

/* 人気のランチ・ふらっと夜鮨 */
.history-block {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2em;
    margin-bottom: 3em;
    background-color: rgba(255, 255, 255, 0.88);
    border-radius: 10px;
    padding: 1.5em;
}

    .history-block img {
        flex: 1 1 300px;
        max-width: 100%;
        max-height: 300px;
        object-fit: cover;
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.4);
    }

    .history-block .text {
        flex: 2 1 200px;
    }

    .history-block h2 {
        font-size: 1.5em;
        color: #4b3621;
        margin-bottom: 0.5em;
        border-bottom: 1px solid #888;
        padding-bottom: 0.3em;
    }

    .history-block p {
        font-size: 1.05em;
        line-height: 1.8;
        color: #4b3621;
    }

/* お知らせ */
.notice ul {
    list-style: none;
    padding: 0;
}

.notice li {
    padding: 0.5em 0;
    border-bottom: 1px solid #ccc;
    font-size: 1em;
}

/* お客様の声 */
.testimonials blockquote {
    font-style: italic;
    background-color: #f8f8f8;
    padding: 1em 1.5em;
    margin: 1em auto;
    max-width: 700px;
    border-left: 4px solid #ccc;
    border-radius: 8px;
    position: relative;
}

    .testimonials blockquote::before {
        content: "“";
        font-size: 2em;
        position: absolute;
        left: -0.5em;
        top: -0.2em;
        color: #ccc;
    }

    .testimonials blockquote small {
        display: block;
        margin-top: 0.5em;
        font-size: 0.9em;
        color: #666;
    }

.testimonials a {
    color: #c00;
    text-decoration: underline;
}


/* ヒーローセクション */
.hero {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 1em;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

    .hero h2 {
        margin: 1em 0 0.5em;
    }

    .hero p {
        margin: 0 0 1em;
    }

/* スライダー */
.slider-wrapper {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 0;
}

.slider {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
}

.hero-img {
    width: 100%;
    height: 60vh;
    object-fit: cover;
    flex-shrink: 0;
    border-radius: 10px;
    background-color: #fff;
}

/* スライダー矢印 */
.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

/* ドットナビ */
.dots {
    text-align: center;
    margin-top: 10px;
}

    .dots button {
        width: 12px;
        height: 12px;
        margin: 0 4px;
        background-color: #ccc;
        border: none;
        border-radius: 50%;
        cursor: pointer;
    }

        .dots button.active {
            background-color: #333;
        }


/* のれんスプラッシュスクリーン */
#norensplash {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 1s ease-in-out;
}

.noren {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 2s ease-in-out;
}

    .noren.left {
        left: 0;
        background-image: url('../images/fusuma-left.png');
    }

    .noren.right {
        right: 0;
        background-image: url('../images/fusuma-right.png');
    }

    .noren .handle {
        position: absolute;
        top: 50%;
        width: 40px;
        height: 40px;
        transform: translateY(-50%);
        background-image: url('../images/fusuma-handle.png');
        background-size: contain;
        background-repeat: no-repeat;
    }

    .noren.left .handle {
        right: 10px;
    }

    .noren.right .handle {
        left: 10px;
    }

body.splash-shown #norensplash {
    display: none !important;
}

body.splash-shown #logo-float {
    opacity: 1;
    position: absolute;
    top: 1.2em;
    left: 1.5em;
    width: 100px;
    z-index: 10;
    pointer-events: none;
    transform: none;
}

/* のれん開くアニメーション */
.noren.open-left {
    transform: translateX(-100%);
}

.noren.open-right {
    transform: translateX(100%);
}

/* ロゴ */
#logo-float {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 200px;
    opacity: 0;
    transform: translate(-50%, -50%);
    z-index: 9000;
    transition: all 1s ease-in-out;
}

    #logo-float.move-to-header {
        position: absolute;
        top: 1.2em;
        left: 1.5em;
        width: 100px;
        opacity: 0.8;
        z-index: 10;
        pointer-events: none;
        transform: none;
    }

/* 動画背景とヒーロー */
.video-hero-wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.25);
    z-index: -1;
}

.video-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* キャッチコピー */
.catch-copy {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    writing-mode: vertical-rl;
    text-align: center;
    font-family: 'Noto Serif JP', serif;
    font-size: 1.8rem;
    line-height: 2.5rem;
    color: white;
    z-index: 5;
    display: block;
}

/* メディアクエリ（スマホ） */
@media screen and (max-width: 768px) {
    .background-video {
        object-fit: contain;
        max-height: 100vh;
        height: auto;
        top: 0;
        transform: translateX(-50%);
    }

    .catch-copy {
        /*font-size: 0.85rem;
        line-height: 1.8rem;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        max-height: 90vh;
        overflow: hidden;*/
        display: none;
    }

    .video-hero-wrapper,
    .video-content {
        height: auto;
        width: 100%;
    }

    .hero-img {
        height: 50vh;
    }

    .hero h2 {
        font-size: 1.5em;
    }

    .hero p {
        font-size: 1em;
    }

    header {
        background-color: rgba(0, 0, 0, 0.65);
    }

    .footer-info p,
    .footer-links a {
        font-size: 0.8rem;
    }

    .shop-name {
        font-size: 1rem;
    }
}
