/* style.css */
:root {
    --color-primary: #e6c8c4;
    /* ピンクベージュ */
    --color-bg: #fdfaf6;
    /* クリーム色・白系 */
    --color-text: #5c4b49;
    /* 茶系で柔らかく */
    --color-white: #ffffff;
    --color-accent: #d4a39f;
    /* 少し濃いピンクベージュ */
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Zen Maru Gothic', sans-serif;
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    word-break: break-word;
}

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

h1,
h2,
h3,
p {
    margin: 0;
}

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

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

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--color-accent);
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background-color: var(--color-primary);
    border-radius: 2px;
}

/* Header */
.header {
    background-color: rgba(253, 250, 246, 0.9);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-inner {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 15px 0;
    display: flex;
    justify-content: center;
}

.logo {
    font-size: 1.5rem;
    color: var(--color-accent);
    letter-spacing: 0.05em;
}

/* Main Visual */
.main-visual {
    margin-top: 60px;
    /* header height */
    height: 80vh;
    min-height: 500px;
    background-image: url('images/cafe_main_visual.png');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.2);
    /* 少し暗くしてテキストを目立たせる */
}

.main-visual-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.main-visual-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-white);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    margin-bottom: 30px;
}

.btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--color-accent);
    color: var(--color-white);
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 700;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
    background-color: var(--color-text);
    transform: translateY(-2px);
}

/* Concept */
.concept {
    background-color: #f9f4ed;
    /* 薄いベージュ */
}

.concept-content {
    text-align: center;
    font-size: 1.1rem;
    line-height: 2;
}

.concept-content p {
    margin-bottom: 25px;
}

.concept-content p:last-child {
    margin-bottom: 0;
}

.concept-content .lead {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 35px;
}

/* Menu */
.menu {
    background-color: var(--color-bg);
}

.menu-grid {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.menu-card {
    background-color: var(--color-white);
    border-radius: 12px;
    width: calc(33.333% - 26.66px);
    /* 40px gap / 2 / 3 calculation */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.menu-img-placeholder {
    width: 100%;
    height: 200px;
    background-color: var(--color-primary);
    background-size: cover;
    background-position: center;
}

.menu-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.menu-name {
    font-size: 1.1rem;
    color: var(--color-accent);
    margin-bottom: 10px;
}

.menu-desc {
    font-size: 0.9rem;
    color: var(--color-text);
    margin-bottom: 15px;
    flex-grow: 1;
}

.menu-price {
    font-size: 1.4rem;
    font-weight: 700;
    text-align: right;
    color: #c46c65;
    /* 少し濃くて目立つ色 */
}

/* Info & Access */
.info-access {
    background-color: var(--color-white);
}

.info-access .container {
    padding: 80px 0;
    /* セクション全体の余白を増やす */
}

.info-wrap {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 60px;
    /* 地図との余白を広げる */
}

.info,
.access {
    width: calc(50% - 30px);
}

.info-table {
    width: 100%;
    border-collapse: separate;
    /* ボーダーの角丸のため */
    border-spacing: 0;
}

.info-table th,
.info-table td {
    padding: 18px 15px;
    /* 余白を少し増やす */
    border-bottom: 1px dotted var(--color-primary);
}

.info-table th {
    text-align: left;
    white-space: nowrap;
    width: 30%;
    color: var(--color-white);
    background-color: var(--color-accent);
    font-weight: 700;
    border-bottom: 2px solid var(--color-white);
    /* 視覚的な区切り */
}

.info-table tr:first-child th {
    border-top-left-radius: 8px;
}

.info-table tr:last-child th {
    border-bottom-left-radius: 8px;
    border-bottom: none;
    /* ラストはボーダーなし */
}

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

.map-wrapper {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* Footer */
.footer {
    background-color: var(--color-primary);
    color: var(--color-text);
    /* コントラスト比を上げる */
    text-align: center;
}

.footer .container {
    padding: 50px 0;
}

.footer-logo {
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--color-text);
}

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

.footer-links a {
    display: inline-block;
    padding: 5px 15px;
    font-weight: 500;
    color: var(--color-text);
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 0.6;
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 768px) {
    .menu-card {
        width: 100%;
    }

    .info,
    .access {
        width: 100%;
    }

    .main-visual-content h2 {
        font-size: 1.4rem;
    }
}