@charset "UTF-8";

/* =========================================
   1. 基本設定 (Base & Reset)
   ========================================= */
:root {
    --main-yellow: #FFC800;
    --sub-yellow: #FFF3CD;
    --accent-color: #4A3F35;
    --white: #FFFFFF;
    --gray-bg: #F9F9F9;
    --footer-bg: #332A24;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Zen Maru Gothic', sans-serif;
    color: var(--accent-color);
    margin: 0; padding: 0; line-height: 1.8;
    background-color: var(--gray-bg); /* 全体背景をグレーに */
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: 0.3s ease; }
ul { list-style: none; padding: 0; margin: 0; }
img { max-width: 100%; height: auto; vertical-align: bottom; }
h1, h2, h3, h4, p { margin-top: 0; }

.container { max-width: 1000px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 2; }
.container-fluid { width: 100%; padding: 0 5%; margin: 0 auto; position: relative; z-index: 2; }

/* ボタン */
.btn {
    display: inline-block; background-color: var(--main-yellow); color: var(--accent-color);
    padding: 15px 50px; border-radius: 50px; font-weight: 900; letter-spacing: 0.05em;
    box-shadow: 0 10px 20px -10px rgba(255, 200, 0, 0.5); position: relative; overflow: hidden; z-index: 1;
    white-space: nowrap; border: 2px solid transparent;
}
.btn::before {
    content: ''; position: absolute; top: 0; left: 0; width: 0%; height: 100%;
    background: var(--white); z-index: -1; transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.btn:hover {
    color: var(--accent-color); transform: translateY(-3px);
    box-shadow: 0 15px 30px -10px rgba(255, 200, 0, 0.7); border-color: var(--main-yellow);
}
.btn:hover::before { width: 100%; }


/* =========================================
   2. ヘッダー (Island Design)
   ========================================= */
header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 999;
    padding: 25px 40px; pointer-events: none; transition: 0.3s ease;
}
header.scrolled { background: transparent; padding: 15px 40px; }
.header-inner { display: flex; justify-content: space-between; align-items: center; max-width: none; padding: 0; }
.logo {
    pointer-events: auto; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px);
    padding: 0px 15px; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); display: flex; align-items: center;
}
.logo img { height: 80px; width: auto; }
.hamburger { display: none; pointer-events: auto; }
.nav-menu { pointer-events: auto; }
.nav-menu ul {
    background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px);
    padding: 18px 35px; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    display: flex; gap: 30px; align-items: center;
}
.nav-menu li a { font-weight: 700; font-size: 1rem; color: var(--accent-color); position: relative; padding-bottom: 5px; }
.nav-menu li a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0%; height: 3px; background-color: #F57C00; border-radius: 2px; transition: width 0.3s ease-in-out; }
.nav-menu li a:hover::after { width: 100%; }
.header-tel { font-weight: 900 !important; font-size: 1.5rem !important; color: #F57C00 !important; display: flex; align-items: center; gap: 5px; background: transparent !important; box-shadow: none !important; padding: 0 !important; }
.nav-menu li a.header-tel::after { display: none; }


/* =========================================
   3. Newsページ メインコンテンツ
   ========================================= */

/* --- 1. Hero --- */
.news-hero {
    position: relative; width: 100%; height: 60vh; 
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; margin-top: 0;
}
.news-hero-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center;
    z-index: -1; filter: brightness(0.8);
}
.news-hero-content { text-align: center; color: #fff; text-shadow: 0 4px 15px rgba(0,0,0,0.3); position: relative; z-index: 2; }
.hero-subtitle {
    display: inline-block; background: var(--main-yellow); color: var(--accent-color);
    padding: 5px 20px; border-radius: 50px; font-weight: 900; margin-bottom: 20px;
    letter-spacing: 0.1em;
}
.hero-title { font-size: 3.5rem; font-weight: 900; line-height: 1.4; margin: 0; }
.hero-wave { position: absolute; bottom: -1px; left: 0; width: 100%; line-height: 0; z-index: 1; }
.hero-wave svg { display: block; width: 100%; height: 120px; }

#main-content { padding: 80px 0; min-height: 800px; }

/* --- 2. Filter --- */
.category-filter {
    display: flex; justify-content: center; gap: 15px; flex-wrap: wrap;
    margin-bottom: 60px;
}
.filter-btn {
    border: 2px solid var(--accent-color);
    background: transparent; color: var(--accent-color);
    padding: 10px 30px; border-radius: 30px;
    font-weight: 900; font-family: inherit; cursor: pointer;
    transition: 0.3s;
}
.filter-btn:hover, .filter-btn.active {
    background: var(--accent-color); color: var(--white);
}

/* --- 3. News List --- */
.news-list { display: flex; flex-direction: column; gap: 30px; }

.news-item {
    background: var(--white); border-radius: 20px; overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: 0.3s;
}
.news-item:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.1); }

.news-link {
    display: flex; align-items: stretch; text-decoration: none; color: inherit;
    min-height: 220px;
}

/* サムネイル */
.news-thumb {
    width: 35%; 
    background-size: cover; background-position: center;
    position: relative;
    min-height: 200px;
}
/* バッジ */
.news-badge {
    position: absolute; top: 15px; left: 15px;
    padding: 5px 15px; border-radius: 4px;
    color: var(--white); font-weight: 900; font-size: 0.85rem;
}
.news-badge.important { background-color: #E53935; }
.news-badge.event { background-color: var(--main-yellow); color: var(--accent-color); }
.news-badge.lunch { background-color: #81C784; }
.news-badge.other { background-color: #90A4AE; }

/* テキストエリア */
.news-body {
    width: 65%; padding: 40px;
    display: flex; flex-direction: column; justify-content: center;
}
.news-meta {
    font-size: 0.9rem; color: #888; font-weight: 700; margin-bottom: 15px;
    font-family: sans-serif;
}
.news-title {
    font-size: 1.4rem; font-weight: 900; margin-bottom: 15px; line-height: 1.5;
    color: var(--accent-color);
}
.news-excerpt {
    font-size: 1rem; color: #666; line-height: 1.8; margin: 0;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* --- 4. Pagination --- */
.pagination {
    margin-top: 80px; text-align: center; display: flex; justify-content: center; gap: 10px;
}
.page-num {
    display: flex; align-items: center; justify-content: center;
    width: 50px; height: 50px; border-radius: 50%;
    background: var(--white); color: var(--accent-color);
    font-weight: 900; transition: 0.3s;
    box-shadow: 0 5px 10px rgba(0,0,0,0.05);
}
.page-num:hover, .page-num.current {
    background: var(--main-yellow); color: var(--accent-color);
    transform: translateY(-3px);
}
.page-num.disabled {
    opacity: 0.5; pointer-events: none; background: transparent; box-shadow: none;
}


/* =========================================
   4. フッター & ローディング
   ========================================= */
#footer { background-color: var(--footer-bg); color: var(--white); padding: 80px 0 30px 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; margin-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 60px; }
.footer-logo { font-size: 1.3rem; font-weight: 900; margin-bottom: 20px; }
.footer-address { font-style: normal; font-size: 0.95rem; line-height: 1.8; opacity: 0.8; }
.footer-nav ul { display: flex; flex-direction: column; gap: 15px; }
.footer-nav li a { color: rgba(255,255,255,0.8); font-size: 0.95rem; transition: 0.3s; }
.footer-nav li a:hover { color: var(--main-yellow); padding-left: 5px; }
.social-label { font-weight: 700; margin-bottom: 15px; opacity: 0.7; font-size: 0.9rem; }
.insta-link { display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,0.1); padding: 10px 20px; border-radius: 50px; color: #fff; font-weight: 700; transition: 0.3s; }
.insta-link:hover { background: #E1306C; color: #fff; transform: translateY(-3px); }
.copyright { text-align: center; font-size: 0.8rem; opacity: 0.5; }

#loading { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: var(--sub-yellow); z-index: 9999; display: flex; justify-content: center; align-items: center; transition: opacity 0.8s ease, visibility 0.8s ease; }
#loading.loaded { opacity: 0; visibility: hidden; pointer-events: none; }
.loading-content { text-align: center; color: var(--accent-color); }
.loading-sun { font-size: 4rem; color: var(--main-yellow); margin-bottom: 10px; animation: sunSpin 4s linear infinite; }
.loading-text { font-weight: 900; font-size: 1.2rem; letter-spacing: 0.1em; animation: textPulse 2s ease-in-out infinite; }
@keyframes sunSpin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes textPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.6; } }


/* =========================================
   5. スマホ対応 (Mobile)
   ========================================= */
@media (max-width: 768px) {
    header { padding: 10px 0; pointer-events: auto; }
    .header-btn { display: none; }
    .hamburger { display: block; width: 30px; height: 25px; position: relative; cursor: pointer; z-index: 1001; margin-right: 20px; }
    .hamburger span { position: absolute; left: 0; width: 100%; height: 3px; background-color: var(--accent-color); border-radius: 3px; transition: 0.3s; }
    .hamburger span:nth-child(1) { top: 0; } .hamburger span:nth-child(2) { top: 11px; } .hamburger span:nth-child(3) { bottom: 0; }
    .hamburger.active span:nth-child(1) { transform: rotate(45deg); top: 11px; background-color: var(--white); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: rotate(-45deg); bottom: 11px; background-color: var(--white); }

    .logo { background: transparent; padding: 0; box-shadow: none; border-radius: 0; backdrop-filter: none; margin-left: 20px; }
    .nav-menu { position: fixed; top: 0; right: -100%; width: 80%; height: 100vh; background-color: var(--accent-color); display: flex; flex-direction: column; justify-content: center; transition: 0.4s ease; z-index: 1000; padding: 20px; }
    .nav-menu.active { right: 0; box-shadow: -10px 0 30px rgba(0,0,0,0.2); }
    .nav-menu ul { display: flex; flex-direction: column; gap: 30px; width: 100%; text-align: center; background: transparent; padding: 0; box-shadow: none; }
    .nav-menu li a { color: var(--white); display: block; padding: 10px; }
    .header-tel { color: var(--white) !important; justify-content: center; }

    /* Newsページ調整 */
    .hero-title { font-size: 2.2rem; }
    
    .news-link { flex-direction: column; }
    .news-thumb { width: 100%; height: 200px; }
    .news-body { width: 100%; padding: 25px; }
    .news-title { font-size: 1.2rem; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 40px; text-align: left; }
    .footer-nav ul { align-items: flex-start; }
}