@charset "UTF-8";

/* --- 基本設定 --- */
:root {
    --font-base: 'Shippori Mincho', 'Noto Serif JP', serif;
    --color-text: #333;
    --color-background: #fdfaf6;
    --color-primary: #c0392b;
    --color-accent: #c8a97e;
    --color-dark: #1a1a1a;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-base);
    color: var(--color-text);
    background-color: var(--color-background);
    line-height: 1.8;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 0;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    font-weight: 700;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 15px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--color-accent);
}

h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--color-primary);
}

/* --- ヘッダー --- */
header {
    width: 100%;
    padding: 10px 5%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(10px);
    transition: background 0.3s;
}

header.scrolled {
    background: rgba(26, 26, 26, 0.95);
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    text-decoration: none;
    color: #fff;
    font-family: 'Shippori Mincho', serif;
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 0.1em;
}

nav ul {
    display: flex;
}

nav ul li a {
    color: #fff;
    padding: 10px 15px;
    font-size: 0.9rem;
    position: relative;
    transition: color 0.3s;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: calc(100% - 30px);
    height: 1px;
    background-color: var(--color-accent);
    transition: transform 0.3s ease;
}

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

nav ul li a:hover::after {
    transform: translateX(-50%) scaleX(1);
}


/* --- ヒーローセクション --- */
.hero {
    height: 100vh;
    /* background: radial-gradient(ellipse at center, #5a3f37 0%, #2c1d1a 100%); */
    background: url('images/bg_2.png') no-repeat center center/cover;
    background-size: cover;
    background-position: center;
    box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    padding-top: 80px;
    /* ヘッダー分 */
}

.hero-text h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: #fff;
    padding-bottom: 20px;
}

.hero-text h2::after {
    background-color: #fff;
}

.hero-text p {
    font-size: 1.2rem;
}

/* --- お知らせセクション --- */
#info {
    text-align: center;
}

.info-content {
    max-width: 800px;
    margin: 0 auto;
}

.info-content h3 {
    margin-top: 40px;
}

/* --- Aboutセクション --- */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* --- Menuセクション --- */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.menu-item {
    background: #fff;
    padding: 30px;
    border: 1px solid #eee;
    text-align: center;
    transition: box-shadow 0.3s, transform 0.3s;
}

.menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}


/* --- ギャラリーセクション --- */
#gallery {
    background-color: #fff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    aspect-ratio: 1 / 1;
    background-color: var(--color-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item p {
    color: var(--color-accent);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- 営業時間セクション --- */
.hours-content {
    display: flex;
    justify-content: center;
    gap: 60px;
    text-align: center;
    margin-bottom: 40px;
}

.hours-block p {
    font-size: 1.2rem;
}

.hours-block .note {
    font-size: 0.9rem;
    color: #777;
}

.holiday {
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
}


/* --- フッター --- */
footer {
    background-color: var(--color-dark);
    color: #f0f0f0;
    padding: 60px 5%;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
    margin-bottom: 40px;
}

.footer-info,
.footer-nav {
    flex: 1;
    min-width: 250px;
}

.footer-info h3 {
    color: #fff;
}

.footer-nav ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav ul li a:hover {
    color: var(--color-accent);
}

.copyright {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid #444;
    font-size: 0.9rem;
    color: #aaa;
    max-width: 1100px;
    margin: 0 auto;
}

/* --- レスポンシブ対応 --- */
@media (max-width: 768px) {
    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    header {
        flex-direction: column;
        padding: 10px 5%;
    }

    nav ul {
        margin-top: 10px;
    }

    nav ul li a {
        padding: 5px 8px;
        font-size: 0.8rem;
    }

    .hero {
        padding-top: 120px;
        /* ヘッダー分 */
    }

    .hero-text h2 {
        font-size: 2.5rem;
    }

    .hero-segment {
        display: block;
    }

    .container {
        padding: 60px 0;
    }

    .about-content {
        flex-direction: column;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hours-content {
        flex-direction: column;
        gap: 40px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-nav ul {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* --- アニメーション --- */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

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

/* ヒーローセクションの遅延表示 */
.hero-text h2.fade-in-up {
    transition-delay: 0.3s;
}

.hero-text p.fade-in-up {
    transition-delay: 0.8s;
}

/* --- サブページ用スタイル --- */
.sub-hero {
    height: 40vh;
    min-height: 300px;
    background: url('images/bg_2.png') no-repeat center center/cover;
    background-size: cover;
    background-position: center;
    box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    padding-top: 80px;
}

.sub-hero h2 {
    font-size: 3rem;
    margin-bottom: 0;
    color: #fff;
    padding-bottom: 15px;
}

.sub-hero h2::after {
    background-color: #fff;
}

/* メニューテーブル */
.menu-section {
    margin-bottom: 60px;
}

.menu-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
    background-color: #fff;
}

.menu-table th,
.menu-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.menu-table th {
    background-color: #f9f9f9;
    color: var(--color-primary);
    width: 70%;
}

.menu-table td {
    text-align: right;
    font-weight: bold;
}

.menu-category-title {
    font-size: 1.5rem;
    color: var(--color-dark);
    border-left: 5px solid var(--color-primary);
    padding-left: 15px;
    margin: 40px 0 20px;
}

.menu-note {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
}

/* Aboutページ */
.history-section,
.profile-section,
.features-section {
    margin-bottom: 60px;
}

.profile-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.profile-image {
    flex: 1;
    max-width: 300px;
}

.profile-text {
    flex: 2;
}

.history-list dt {
    font-weight: bold;
    margin-top: 20px;
    color: var(--color-primary);
}

.history-list dd {
    margin-left: 20px;
    margin-bottom: 10px;
}

/* Accessページ */
/* Accessページ */
.access-map {
    width: 100%;
    height: 450px;
    margin-bottom: 40px;
}

.access-map iframe {
    width: 100%;
    height: 100%;
}

.access-info-table {
    width: 100%;
    border-collapse: collapse;
}

.access-info-table th,
.access-info-table td {
    padding: 15px;
    border-bottom: 1px solid #ddd;
    text-align: left;
}

.access-info-table th {
    width: 30%;
    background-color: #f5f5f5;
}

/* レスポンシブ調整 */
@media (max-width: 768px) {
    .sub-hero h2 {
        font-size: 2rem;
    }

    .profile-content {
        flex-direction: column;
    }

    .profile-image {
        max-width: 100%;
    }

    .menu-table th,
    .menu-table td {
        display: block;
        width: 100%;
        text-align: left;
    }

    .menu-table td {
        padding-top: 5px;
        padding-bottom: 15px;
        border-bottom: 1px solid #eee;
    }

    .menu-table th {
        border-bottom: none;
        padding-bottom: 0;
    }
}