@charset "UTF-8";

/* ===================================
   カントリーキッチン - 共通スタイル
   =================================== */

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

:root {
    --primary-color: #8b7355;
    --primary-dark: #6b5a47;
    --secondary-color: #2c2420;
    --accent-color: #a67c52;
    --text-color: #333;
    --text-light: #666;
    --text-muted: #888;
    --bg-cream: #faf8f5;
    --bg-warm: #f5f2ed;
    --bg-light: #f9f7f4;
    --white: #fff;
    --border-color: #e5e0d8;
    --image-placeholder: #d4c8b8;
    --image-placeholder-dark: #c4b5a0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
    color: var(--text-color);
    line-height: 1.9;
    background-color: var(--bg-cream);
    font-size: 15px;
    letter-spacing: 0.05em;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    letter-spacing: 0.1em;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* ===================================
   Header
   =================================== */
header {
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.logo-text-wrap {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--secondary-color);
    letter-spacing: 0.15em;
}

.logo-sub {
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.2em;
    margin-top: 2px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

nav a {
    font-size: 0.9rem;
    color: var(--text-color);
    letter-spacing: 0.1em;
    padding: 5px 0;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

nav a:hover::after,
nav a.current::after {
    width: 100%;
}

nav a:hover,
nav a.current {
    color: var(--primary-color);
}

.header-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.header-tel {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--secondary-color);
    letter-spacing: 0.05em;
}

.header-hours {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 1px;
    background-color: var(--secondary-color);
    transition: 0.3s;
}

/* ===================================
   Hero Section (Top Page)
   =================================== */
.hero {
    padding-top: 90px;
    background-color: var(--bg-light);
}

.hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-content {
    padding-right: 20px;
}

.hero-label {
    font-size: 0.8rem;
    color: var(--primary-color);
    letter-spacing: 0.2em;
    margin-bottom: 20px;
    display: block;
}

.hero-content h1 {
    font-size: 2.4rem;
    color: var(--secondary-color);
    margin-bottom: 25px;
    line-height: 1.6;
    font-weight: 600;
}

.hero-content .catchcopy {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 2;
}

.hero-image {
    position: relative;
}

/* 画像プレースホルダー */
.image-placeholder {
    background-color: var(--image-placeholder);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.image-placeholder.main {
    aspect-ratio: 4/3;
    background: linear-gradient(145deg, var(--image-placeholder), var(--image-placeholder-dark));
}

.image-placeholder.square {
    aspect-ratio: 1/1;
}

.image-placeholder.portrait {
    aspect-ratio: 3/4;
}

.image-placeholder.wide {
    aspect-ratio: 16/9;
}

.image-placeholder p {
    text-align: center;
    padding: 20px;
}

/* Feature Points */
.features-section {
    background-color: var(--bg-light);
    padding: 0 30px 80px;
}

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.feature-item {
    background: var(--white);
    padding: 20px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.feature-icon {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.feature-item h3 {
    font-size: 0.9rem;
    color: var(--secondary-color);
    line-height: 1.8;
    font-weight: 500;
}

/* ===================================
   Page Header (Sub Pages)
   =================================== */
.page-header {
    padding-top: 90px;
    background-color: var(--bg-warm);
    border-bottom: 1px solid var(--border-color);
}

.page-header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 30px;
    text-align: center;
}

.page-header h1 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-header p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ===================================
   Section Common
   =================================== */
section {
    padding: 100px 30px;
}

.section-inner {
    max-width: 900px;
    margin: 0 auto;
}

.section-wide {
    max-width: 1100px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 70px;
}

.section-title h2 {
    font-size: 1.6rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.section-title p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.section-title-line {
    width: 40px;
    height: 1px;
    background: var(--primary-color);
    margin: 25px auto 0;
}

.bg-white {
    background-color: var(--white);
}

.bg-warm {
    background-color: var(--bg-warm);
}

.bg-cream {
    background-color: var(--bg-cream);
}

/* ===================================
   Story Section
   =================================== */
.story-block {
    margin-bottom: 80px;
}

.story-block:last-child {
    margin-bottom: 0;
}

.story-block h3 {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 30px;
    padding-left: 20px;
    border-left: 2px solid var(--primary-color);
    font-weight: 500;
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.story-content.reverse {
    direction: rtl;
}

.story-content.reverse > * {
    direction: ltr;
}

.story-text p {
    margin-bottom: 20px;
    color: var(--text-color);
}

.story-text p:last-child {
    margin-bottom: 0;
}

.quote-box {
    background: var(--bg-warm);
    padding: 30px;
    margin: 30px 0;
    border-left: 2px solid var(--primary-color);
}

.quote-box p {
    font-size: 1.05rem;
    color: var(--secondary-color);
    line-height: 2;
    margin-bottom: 0;
}

/* ===================================
   Menu Section
   =================================== */
.menu-highlight {
    background: var(--white);
    border: 1px solid var(--border-color);
    padding: 60px;
    margin-bottom: 60px;
}

.menu-highlight-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.menu-badge {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--white);
    padding: 6px 20px;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    margin-bottom: 20px;
}

.menu-highlight-content h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.menu-price {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 25px;
}

.menu-price span {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-light);
}

.menu-description {
    color: var(--text-color);
    margin-bottom: 25px;
    line-height: 2;
}

.menu-options {
    background: var(--bg-light);
    padding: 25px;
    border: 1px solid var(--border-color);
}

.menu-options h4 {
    font-size: 0.85rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 500;
}

.menu-options ul {
    list-style: none;
}

.menu-options li {
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--text-light);
    border-bottom: 1px dotted var(--border-color);
}

.menu-options li:last-child {
    border-bottom: none;
}

/* Other Menu Items */
.menu-section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.1rem;
    color: var(--secondary-color);
    font-weight: 500;
}

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

.menu-item {
    background: var(--white);
    border: 1px solid var(--border-color);
    text-align: center;
}

.menu-item-image {
    background-color: var(--image-placeholder);
    aspect-ratio: 4/3;
}

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

.menu-item h4 {
    font-size: 1rem;
    color: var(--secondary-color);
    margin-bottom: 8px;
    font-weight: 500;
}

.menu-item .price {
    font-weight: 600;
    color: var(--primary-dark);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.menu-item p {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Kodawari */
.kodawari {
    margin-top: 70px;
    background: var(--white);
    border: 1px solid var(--border-color);
    padding: 50px;
}

.kodawari h3 {
    text-align: center;
    color: var(--secondary-color);
    margin-bottom: 40px;
    font-size: 1.1rem;
    font-weight: 500;
}

.kodawari-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.kodawari-item {
    text-align: center;
}

.kodawari-item h4 {
    font-size: 0.95rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 500;
}

.kodawari-item p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.9;
}

/* ===================================
   About Section
   =================================== */
.about-message {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.about-photo {
    width: 100%;
    max-width: 400px;
    height: auto;
    aspect-ratio: 4/3;
    object-fit: cover;
    margin: 0 auto 40px;
    border-radius: 4px;
}

.about-quote {
    font-size: 1.15rem;
    color: var(--secondary-color);
    line-height: 2.2;
    margin-bottom: 15px;
}

.about-name {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 30px;
}

.about-history {
    margin-top: 80px;
    background: var(--bg-warm);
    border: 1px solid var(--border-color);
    padding: 50px;
}

.about-history h3 {
    text-align: center;
    color: var(--secondary-color);
    margin-bottom: 40px;
    font-size: 1.1rem;
    font-weight: 500;
}

.timeline {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}

.timeline-item {
    text-align: center;
    padding: 25px 30px;
    background: var(--white);
    border: 1px solid var(--border-color);
    min-width: 180px;
}

.timeline-year {
    font-weight: 500;
    color: var(--primary-color);
    font-size: 0.85rem;
    margin-bottom: 8px;
    letter-spacing: 0.1em;
}

.timeline-name {
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 8px;
    font-size: 1rem;
}

.timeline-desc {
    font-size: 0.8rem;
    color: var(--text-light);
}

.timeline-arrow {
    color: var(--text-muted);
    font-size: 1.2rem;
}

/* ===================================
   Access Section
   =================================== */
.access-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.access-info {
    background: var(--white);
    border: 1px solid var(--border-color);
    padding: 40px;
}

.access-info h3 {
    color: var(--secondary-color);
    margin-bottom: 30px;
    font-size: 1.1rem;
    font-weight: 500;
}

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

.info-table tr {
    border-bottom: 1px solid var(--border-color);
}

.info-table tr:last-child {
    border-bottom: none;
}

.info-table th,
.info-table td {
    padding: 18px 10px;
    text-align: left;
    font-size: 0.9rem;
}

.info-table th {
    width: 90px;
    color: var(--text-light);
    font-weight: 400;
}

.info-table td {
    color: var(--text-color);
}

.access-tel {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--secondary-color);
    letter-spacing: 0.05em;
}

.access-map {
    border: 1px solid var(--border-color);
    overflow: hidden;
    height: 450px;
}

.access-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 450px;
}

.map-placeholder {
    background: linear-gradient(145deg, #ddd, #ccc);
    height: 100%;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.map-placeholder p {
    font-size: 0.85rem;
}

.map-note {
    margin-top: 20px;
    padding: 20px;
    background: var(--white);
    border: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ===================================
   SNS Section
   =================================== */
.sns-section {
    padding: 80px 30px;
    background: var(--bg-warm);
    border-top: 1px solid var(--border-color);
}

.sns-inner {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.sns-title {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-weight: 500;
}

.sns-account {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.sns-account a {
    color: var(--primary-color);
}

.sns-account a:hover {
    text-decoration: underline;
}

.instagram-placeholder {
    background-color: var(--image-placeholder);
    padding: 80px 40px;
    text-align: center;
    color: var(--text-muted);
}

.instagram-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.sns-link {
    display: inline-block;
    margin-top: 30px;
    background: var(--secondary-color);
    color: var(--white);
    padding: 15px 40px;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    transition: background-color 0.3s ease;
}

.sns-link:hover {
    background-color: var(--primary-dark);
}

/* ===================================
   Footer
   =================================== */
footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 70px 30px 40px;
}

.footer-inner {
    max-width: 900px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-info h3 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    font-weight: 500;
    letter-spacing: 0.15em;
}

.footer-info p {
    margin-bottom: 12px;
    opacity: 0.85;
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-nav h4 {
    margin-bottom: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.1em;
}

.footer-nav ul {
    list-style: none;
}

.footer-nav li {
    margin-bottom: 12px;
}

.footer-nav a {
    color: var(--white);
    opacity: 0.75;
    font-size: 0.85rem;
    transition: opacity 0.3s;
}

.footer-nav a:hover {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 30px;
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.6;
}

.footer-bottom p {
    margin-bottom: 5px;
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-block;
    padding: 15px 40px;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-outline {
    background: transparent;
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
}

.btn-outline:hover {
    background: var(--secondary-color);
    color: var(--white);
}

/* ===================================
   Utility Classes
   =================================== */
.text-center {
    text-align: center;
}

.mt-30 {
    margin-top: 30px;
}

.mt-50 {
    margin-top: 50px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mb-50 {
    margin-bottom: 50px;
}

/* 画像スタイル追加 */
.hero-image .main-image {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.story-image.main {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.menu-main-image {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

/* ===================================
   Responsive
   =================================== */
@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

    .hero-content {
        padding-right: 0;
    }

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

    .features {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .story-content,
    .story-content.reverse {
        grid-template-columns: 1fr;
        gap: 30px;
        direction: ltr;
    }

    .menu-highlight {
        padding: 40px 30px;
    }

    .menu-highlight-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .kodawari {
        padding: 40px 30px;
    }

    .kodawari-list {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .access-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .timeline {
        flex-direction: column;
    }

    .timeline-arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 600px) {
    body {
        font-size: 14px;
    }

    .header-inner {
        padding: 15px 20px;
    }

    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        border-top: 1px solid var(--border-color);
        padding: 20px;
    }

    nav.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
    }

    nav li {
        border-bottom: 1px solid var(--border-color);
    }

    nav li:last-child {
        border-bottom: none;
    }

    nav a {
        display: block;
        padding: 15px 10px;
    }

    nav a::after {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .header-contact {
        display: none;
    }

    section {
        padding: 70px 20px;
    }

    .page-header-inner {
        padding: 40px 20px;
    }

    .page-header h1 {
        font-size: 1.5rem;
    }

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

    .section-title h2 {
        font-size: 1.4rem;
    }

    .menu-grid {
        grid-template-columns: 1fr;
    }

    .menu-highlight {
        padding: 30px 20px;
    }

    .kodawari {
        padding: 30px 20px;
    }

    .access-info {
        padding: 30px 20px;
    }

    .about-history {
        padding: 30px 20px;
    }

    .timeline-item {
        min-width: 100%;
    }

    footer {
        padding: 50px 20px 30px;
    }
}
