/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}

/* フォントフェイス定義 */
@font-face {
    font-family: 'Shippori Mincho';
    src: url('ShipporiMincho-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Shippori Mincho';
    src: url('ShipporiMincho-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Shippori Mincho';
    src: url('ShipporiMincho-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Shippori Mincho';
    src: url('ShipporiMincho-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Shippori Mincho';
    src: url('ShipporiMincho-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* ベーススタイル */
body {
    font-family: 'Shippori Mincho', 'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic Pro', 'Yu Gothic', YuGothic, Meiryo, sans-serif;
    line-height: 1.6;
    color: #333;
    background: white;
}

/* コンテナ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ヘッダー */
header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    height: 75px;
}

.logo {
    cursor: pointer;
}

.logo img {
    height: 45px;
    width: auto;
    display: block;
}

/* ハンバーガーメニュー */
.hamburger-menu {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 30px;
    justify-content: center;
}

.hamburger-menu span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 2px 0;
    transition: 0.3s;
    display: block;
}

/* ナビゲーション */
#mainNav {
    display: block;
}

#mainNav ul {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 15px;
    margin: 0;
    padding: 0;
}

.nav-btn, .login-btn, .user-name-btn, .admin-btn, .lang-btn {
    background: none;
    border: none;
    color: #333;
    cursor: pointer;
    padding: 8px 12px;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
    font-family: inherit;
    white-space: nowrap;
}

.nav-btn:hover, .login-btn:hover, .user-name-btn:hover {
    color: #000;
}

.admin-btn {
    background: #ff6b6b;
    color: white;
    border-radius: 5px;
    padding: 8px 12px;
}

.admin-btn:hover {
    background: #ff5252;
    color: white;
}

.lang-btn {
    background: #008000;
    color: white;
    border-radius: 5px;
    padding: 8px 12px;
}

.lang-btn:hover {
    background: #498000;
    color: white;
}

.user-section, .mobile-user-name {
    display: none;
}

/* モバイルメニューオーバーレイ */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 998;
}

        .hero {
            background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('images/ramen16-9.jpg');
            background-size: cover;
            background-position: center;
            color: white;
            text-align: center;
            padding: 150px 20px 100px;
            height: 1000px;
        }

        .hero-content h1 {
            margin-top: 170px;
            font-size: 2.7rem;
            margin-bottom: 10px;
        }

        .hero-content p {
            font-size: 1.2rem;
            margin: 10px 0;
        }

/* セクション共通 */
section {
    padding: 50px 0;
    width: 100%;
    background-image: url('images/wasi1.png');
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: #008000;
}

/* 最新情報 */
.new-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    background-image: url('images/wasi2.png');
}

.new_zyoho a {
    color: #008000;
    text-decoration: none;
}

.new_zyoho a:hover {
    text-decoration: underline;
}

/* コンセプト */
.concept-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.concept-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.concept-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
}

/* メニュー */
.menu {
    background: #f8f8f8;
    width: 100%;
}

.menu-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.menu-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.menu-item:hover {
    transform: translateY(-5px);
}

.menu-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.menu-item-content {
    padding: 20px;
}

.menu-item-content h3 {
    margin: 10px 0;
    color: #008000;
    text-align: center;
}

.price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    margin: 15px 0;
}

.arerugi-content {
    border-top: 1px solid #eee;
    padding-top: 15px;
    margin-top: 15px;
}

.arerugi-content p {
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: #666;
}

.arerugi-content img {
    width: 25px;
    height: 25px;
    margin: 0 3px;
    display: inline-block;
}

/* 店舗情報 */
.shop-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.info-item h3 {
    color: #008000;
    margin-bottom: 10px;
}

.info-map iframe {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 10px;
    display: block;
}

/* フッター */
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 40px 0;
    width: 100%;
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
}

.footer-links a:hover {
    text-decoration: underline;
}

.copyright {
    font-size: 0.9rem;
    color: #ccc;
}

/* お知らせポップアップ */
.announcement-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.announcement-popup.active {
    display: flex;
}

.announcement-content {
    background-color: white;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.announcement-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    display: block;
}

.announcement-text {
    padding: 20px;
}

.announcement-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
    text-align: center;
}

.announcement-message {
    margin-bottom: 20px;
    line-height: 1.6;
    color: #555;
}

.announcement-close {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: #008000;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
    font-family: inherit;
}

.announcement-close:hover {
    background-color: #498000;
}

.announcement-footer {
    margin-top: 15px;
    font-size: 0.9rem;
    color: #777;
    text-align: center;
}

/* スプラッシュスクリーン */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.splash-screen.fade-out {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease-out;
}

.splash-logo {
    width: 100px;
    height: auto;
    display: block;
}

/* AIチャットボット */
.chatbot-launcher {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #008000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 1002;
    border: 3px solid white;
}

.chatbot-launcher:hover {
    transform: scale(1.1);
}

.chatbot-launcher img {
    width: 30px;
    height: 30px;
    filter: brightness(0) invert(1);
    display: block;
}

/* チャットボットiframe */
#chatbotIframe {
    border: none;
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 0;
    height: 0;
    z-index: 1003;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

/* チャットボット開いた状態 */
#chatbotIframe.open {
    width: 400px;
    height: 500px;
}

#chatbotIframe.large {
    width: 500px;
    height: 600px;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .hamburger-menu {
        display: flex;
    }

    #mainNav {
        position: fixed;
        top: 0;
        right: -300px;
        width: 280px;
        height: 100vh;
        background: white;
        transition: right 0.3s ease;
        z-index: 999;
        padding: 80px 20px 20px;
        overflow-y: auto;
    }

    #mainNav.active {
        right: 0;
    }

    #mainNav ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    #mainNav li {
        width: 100%;
        margin: 0;
    }

    .nav-btn, .login-btn, .user-name-btn, .admin-btn, .lang-btn {
        display: block;
        width: 100%;
        text-align: left;
        padding: 15px;
        border-bottom: 1px solid #eee;
        margin: 0;
    }

    .hamburger-menu.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger-menu.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger-menu.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .menu-overlay.active {
        display: block;
    }

    .hero {
        margin-top: 0px;
        padding: 80px 20px 40px;
        min-height: 150px;
        height: 750px;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero-content p {
        font-size: 0.9rem;
    }

    .concept-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .shop-info {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .mobile-user-name {
        display: block;
        text-align: center;
        margin: 10px 0;
        font-weight: bold;
    }

    section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 1.5rem;
    }

    /* モバイル用チャットボット */
    #chatbotIframe.open,
    #chatbotIframe.large {
        width: 90vw;
        height: 60vh;
        right: 5vw;
        bottom: 100px;
    }

    .chatbot-launcher {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .chatbot-launcher img {
        width: 25px;
        height: 25px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 50px 15px 30px;
        min-height: 100px;
    }

    .hero-content h1 {
        font-size: 1.3rem;
    }

    .hero-content p {
        font-size: 0.8rem;
    }

    section {
        padding: 30px 0;
    }

    .section-title {
        font-size: 1.3rem;
        margin-bottom: 25px;
    }

    .menu-items {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* スマホ用チャットボット */
    #chatbotIframe.open,
    #chatbotIframe.large {
        width: 95vw;
        height: 70vh;
        right: 2.5vw;
        bottom: 80px;
    }

    .chatbot-launcher {
        width: 45px;
        height: 45px;
        bottom: 15px;
        right: 15px;
    }

    .chatbot-launcher img {
        width: 22px;
        height: 22px;
    }
}

/* チャットボットおすすめポップアップ */
.chatbot-suggestion-popup {
    position: fixed;
    bottom: 20px;
    right: 90px;
    background: white;
    border-radius: 20px;
    padding: 15px 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    z-index: 1004;
    max-width: 250px;
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: none;
}

.chatbot-suggestion-popup.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    display: block;
}

.chatbot-suggestion-popup.hide {
    opacity: 0;
    transform: translateY(20px) scale(0.9);
}

.chatbot-suggestion-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chatbot-suggestion-icon {
    width: 30px;
    height: 30px;
    background: #008000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.chatbot-suggestion-icon img {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
}

.chatbot-suggestion-text {
    flex: 1;
}

.chatbot-suggestion-text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    color: #333;
    font-weight: 500;
}

.chatbot-suggestion-close {
    background: none;
    border: none;
    font-size: 18px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.chatbot-suggestion-close:hover {
    color: #666;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .chatbot-suggestion-popup {
        bottom: 70px;
        right: 10px;
        max-width: 220px;
        padding: 12px 16px;
    }
    
    .chatbot-suggestion-text p {
        font-size: 13px;
    }
}

/* スクロールバー非表示だがスクロール可能 */
html, body {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    width: 0;
    height: 0;
    background: transparent; /* Chrome, Safari and Opera */
}
