/*
Theme Name: 立花 -rikka-
Theme URI: https://rikka-minamisoma.jp
Description: 和カフェ・お食事処「立花」のための、純粋なPHPベースのWordPressテーマ。経営者が管理画面から簡単にメニュー・営業情報を管理できます。
Author: Manus AI
Version: 1.2.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rikka
*/

/* ============================================
   リセット・基本スタイル
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

:root {
    --cream: #F8F4EC;
    --dark-brown: #4A3728;
    --accent: #B5453A;
    --deep-green: #2D5A3D;
    --light-gray: #F0EBE3;
    --text-gray: #666;
    --border-light: #E8DCC8;
}

body {
    font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
    color: var(--dark-brown);
    background-color: var(--cream);
    line-height: 1.8;
    font-size: 16px;
    letter-spacing: 0.1em;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
    font-weight: 700;
    letter-spacing: 0.15em;
    line-height: 1.4;
}

h1 {
    font-size: 4.5rem;
    letter-spacing: 0.2em;
}

h2 {
    font-size: 3rem;
    margin-bottom: 3rem;
    text-align: center;
    letter-spacing: 0.2em;
}

h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.15em;
}

h4 {
    font-size: 1.4rem;
}

p {
    margin-bottom: 1.5rem;
    line-height: 2;
    letter-spacing: 0.1em;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #a03d34;
}

/* ============================================
   コンテナ・レイアウト
   ============================================ */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

/* ============================================
   ヘッダー
   ============================================ */
header {
    background-color: white;
    padding: 1.5rem 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-brown);
    letter-spacing: 0.15em;
}

/* ============================================
   ハンバーガーメニュー
   ============================================ */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--dark-brown);
}

.menu-toggle.active span {
    background-color: var(--dark-brown);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    color: var(--dark-brown);
    font-weight: 500;
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--accent);
}

/* ============================================
   ヒーロー・セクション
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 100dvh;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
                url('https://files.manuscdn.com/user_upload_by_module/session_file/310519663362490672/FOValIYKFHQtNpmS.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.4) 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    animation: fadeInUp 1.2s ease-out;
}

.hero-content h1 {
    font-size: 5rem;
    margin-bottom: 3rem;
    line-height: 1.2;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.2em;
    font-weight: 700;
}

.countdown {
    margin-top: 3rem;
    animation: fadeInUp 1.4s ease-out;
}

.countdown-title {
    font-size: 1.2rem;
    letter-spacing: 0.3em;
    margin-bottom: 1.5rem;
    font-weight: 300;
    opacity: 0.95;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 1.5rem 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 100px;
    transition: all 0.3s ease;
}

.countdown-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-4px);
}

.countdown-item div:first-child {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    font-family: 'Shippori Mincho', serif;
}

.countdown-label {
    font-size: 0.9rem;
    opacity: 0.9;
    letter-spacing: 0.1em;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   コンセプト・セクション
   ============================================ */
.concept {
    background-color: var(--cream);
    padding: 8rem 0;
}

.concept .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.concept-image {
    width: 100%;
    border-radius: 1.5rem;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

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

.concept-text h3 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    line-height: 1.5;
    letter-spacing: 0.15em;
}

.concept-text p {
    font-size: 1.05rem;
    line-height: 2;
    color: var(--text-gray);
    margin-bottom: 1.8rem;
}

/* ============================================
   メニュー・セクション
   ============================================ */
.menu-section {
    background-color: white;
    padding: 8rem 0;
}

.menu-tabs {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.menu-tab {
    background: none;
    border: none;
    font-size: 1.2rem;
    padding: 0.8rem 2rem;
    cursor: pointer;
    color: var(--text-gray);
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    letter-spacing: 0.1em;
    font-family: 'Shippori Mincho', serif;
}

.menu-tab.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.menu-tab:hover {
    color: var(--accent);
}

.menu-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.menu-item {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.menu-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

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

.menu-item-content {
    padding: 2rem;
}

.menu-item-name {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--dark-brown);
    letter-spacing: 0.1em;
}

.menu-item-description {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1.2rem;
}

.menu-item-price {
    font-size: 1.1rem;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 0.05em;
}

.coming-soon {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
}

.coming-soon-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.coming-soon-text {
    font-size: 1.2rem;
    color: var(--text-gray);
}

/* ============================================
   空間・セクション
   ============================================ */
.space-section {
    background-color: var(--light-gray);
    padding: 8rem 0;
}

.space-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.space-item {
    background-color: white;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.space-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.space-item-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.space-item-content {
    padding: 2.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.space-item h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-brown);
    letter-spacing: 0.15em;
}

.space-item p {
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.9;
}

/* ============================================
   ご案内・セクション
   ============================================ */
.info-section {
    background-color: white;
    padding: 8rem 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 4rem;
}

.info-item {
    padding: 2rem;
    background-color: var(--light-gray);
    border-radius: 1rem;
}

.info-item-title {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: var(--dark-brown);
    letter-spacing: 0.15em;
}

.info-item-content {
    font-size: 0.95rem;
    line-height: 1.9;
    color: var(--text-gray);
}

.info-item-content p {
    margin-bottom: 1rem;
}

.map-container {
    width: 100%;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.map-container iframe {
    display: block;
}

/* ============================================
   ご予約・セクション
   ============================================ */
.reservation-section {
    background: linear-gradient(135deg, var(--dark-brown) 0%, #3a2a1f 100%);
    color: white;
    padding: 8rem 0;
    text-align: center;
}

.reservation-section h2 {
    color: white;
    margin-bottom: 2rem;
}

.reservation-section p {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.reservation-btn {
    display: inline-block;
    background-color: white;
    color: var(--dark-brown);
    padding: 1.2rem 3rem;
    border-radius: 0.8rem;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    text-decoration: none;
}

.reservation-btn:hover {
    background-color: var(--cream);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* ============================================
   フッター
   ============================================ */
footer {
    background-color: var(--dark-brown);
    color: white;
    padding: 4rem 0 2rem;
    text-align: center;
}

footer p {
    margin-bottom: 0.8rem;
    opacity: 0.9;
}

/* ============================================
   アニメーション
   ============================================ */
.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* ============================================
   レスポンシブ - タブレット（768px以下）
   ============================================ */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    h3 {
        font-size: 1.8rem;
    }

    .hero {
        height: 80vh;
        min-height: 80dvh;
    }

    .hero-content h1 {
        font-size: 2.8rem;
        margin-bottom: 2rem;
    }

    .countdown-timer {
        gap: 1rem;
    }

    .countdown-item {
        padding: 1rem 1.5rem;
        min-width: 80px;
    }

    .countdown-item div:first-child {
        font-size: 2rem;
    }

    .concept {
        padding: 6rem 0;
    }

    .concept .container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .concept-text h3 {
        font-size: 2rem;
    }

    .menu-section {
        padding: 6rem 0;
    }

    .menu-items {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .menu-item-image {
        height: 200px;
    }

    .space-section {
        padding: 6rem 0;
    }

    .space-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .space-item-image {
        height: 240px;
    }

    .info-section {
        padding: 6rem 0;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .reservation-section {
        padding: 6rem 0;
    }

    .menu-toggle {
        display: flex;
    }

    nav {
        display: none;
    }

    nav.active {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 1rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    nav ul {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ============================================
   レスポンシブ - スマートフォン（480px以下）
   ============================================ */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }

    h3 {
        font-size: 1.4rem;
    }

    p {
        font-size: 0.95rem;
        line-height: 1.8;
    }

    .hero {
        height: 100vh;
        min-height: 100dvh;
        background-attachment: scroll;
    }

    .hero-content h1 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
        letter-spacing: 0.1em;
    }

    .countdown {
        margin-top: 1.5rem;
    }

    .countdown-title {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .countdown-timer {
        gap: 0.8rem;
        margin-bottom: 1rem;
    }

    .countdown-item {
        padding: 0.8rem 1rem;
        min-width: 70px;
        border-radius: 0.6rem;
    }

    .countdown-item div:first-child {
        font-size: 1.5rem;
    }

    .countdown-label {
        font-size: 0.75rem;
    }

    .concept {
        padding: 4rem 0;
    }

    .concept-text h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .menu-section {
        padding: 4rem 0;
    }

    .menu-tabs {
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .menu-tab {
        font-size: 1rem;
        padding: 0.6rem 1.2rem;
    }

    .menu-items {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .menu-item-image {
        height: 180px;
    }

    .menu-item-content {
        padding: 1.5rem;
    }

    .space-section {
        padding: 4rem 0;
    }

    .space-grid {
        gap: 1.5rem;
    }

    .space-item-image {
        height: 200px;
    }

    .space-item-content {
        padding: 1.5rem;
    }

    .space-item h4 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }

    .space-item p {
        font-size: 0.9rem;
    }

    .info-section {
        padding: 4rem 0;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .info-item {
        padding: 1.5rem;
    }

    .info-item-title {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .info-item-content {
        font-size: 0.9rem;
    }

    .map-container {
        height: 300px;
    }

    .reservation-section {
        padding: 4rem 0;
    }

    .reservation-section h2 {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }

    .reservation-section p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .reservation-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .site-title {
        font-size: 1.4rem;
    }
}
