@charset "UTF-8";

/* ==========================================================================
   1. Variables, Reset, & Basic Settings
   ========================================================================== */
:root {
    --text-color: #5a5a5a;
    --accent-color: #a68a76;
    --bg-color: #fcf9f2;
    --bg-light: #f5f1e8;
    --white: #ffffff;
    --font-base: 'Noto Sans JP', sans-serif;
    --input-border: #ddd;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-base);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.8;
    letter-spacing: 0.05em;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
}

a:hover {
    opacity: 0.7;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
    border-radius: 8px;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.4;
}

/* ==========================================================================
   2. Layout Components
   ========================================================================== */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

/* Section Title */
.section-title {
    text-align: center;
    font-size: 2rem;
    color: var(--accent-color);
    font-family: serif;
    margin-bottom: 40px;
    letter-spacing: 0.1em;
}

.section-desc {
    text-align: center;
    margin-bottom: 40px;
    margin-top: -20px;
}

/* Sub Title */
.sub-title {
    font-size: 1.4rem;
    color: var(--accent-color);
    margin-bottom: 30px;
    border-bottom: 1px dashed var(--accent-color);
    display: inline-block;
    padding-bottom: 5px;
    font-family: serif;
}

/* Button */
.btn {
    display: inline-block;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    padding: 12px 40px;
    border-radius: 50px;
    background: transparent;
    font-size: 0.95rem;
    margin-top: 20px;
}

.btn:hover {
    background-color: var(--accent-color);
    color: var(--white);
    opacity: 1;
}

.btn-area {
    text-align: center;
    margin-top: 40px;
}

/* ==========================================================================
   3. Header
   ========================================================================== */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #eee;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.header-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-family: serif;
    font-size: 1.5rem;
    color: var(--accent-color);
    font-weight: bold;
}

.nav ul {
    display: flex;
    gap: 25px;
}

.nav a {
    font-size: 0.95rem;
    font-weight: 500;
}

.nav a:hover {
    color: var(--accent-color);
}

@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        gap: 10px;
    }
    .nav ul {
        gap: 15px;
        font-size: 0.85rem;
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* ==========================================================================
   4. Index Page Styles
   ========================================================================== */
.hero-home {
    height: 80vh;
    background-image: url('images/cafe_backimg.jpg'); 
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
}

.hero-home::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.2);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero-content h2 {
    font-size: 3rem;
    font-family: serif;
    margin-bottom: 20px;
    letter-spacing: 0.1em;
    padding-left: 0.1em;
}

.hero-content p {
    font-size: 1.2rem;
    font-weight: 500;
    padding-right: 2em;
}

.news-list {
    max-width: 800px;
    margin: 0 auto;
}

.news-list li {
    border-bottom: 1px solid #ddd;
    padding: 15px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.news-list .date {
    font-family: serif;
    margin-right: 20px;
    color: #888;
}

.news-list .label {
    background-color: var(--accent-color);
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 4px;
    margin-right: 15px;
}

.news-list a:hover {
    text-decoration: underline;
    opacity: 1;
    color: var(--accent-color);
}

.home-concept {
    display: flex;
    align-items: center;
    gap: 60px;
}

.concept-img { flex: 1; }
.concept-text { flex: 1; }

.section-title-left {
    font-size: 2rem;
    color: var(--accent-color);
    font-family: serif;
    margin-bottom: 30px;
}

.home-info { text-align: center; }
.home-info dl {
    display: grid;
    grid-template-columns: auto auto;
    justify-content: center;
    gap: 15px 40px;
    text-align: left;
    margin-bottom: 30px;
}
.home-info dt {
    font-weight: bold;
    color: var(--accent-color);
}

@media (max-width: 768px) {
    .home-concept {
        flex-direction: column;
        gap: 30px;
    }
    .concept-img { order: 1; }
    .concept-text { order: 2; }
    .news-list li { display: block; }
    .news-list .date { display: inline-block; margin-bottom: 5px; }
}

/* ==========================================================================
   5. Subpage Header
   ========================================================================== */
.page-header {
    background-color: var(--bg-color);
    color: var(--accent-color);
    text-align: center;
    padding-top: 70px;
    padding-bottom: 20px;
}

.page-header h2 {
    font-size: 2.2rem;
    font-family: serif;
    letter-spacing: 0.1em;
    margin-bottom: 5px;
}

.page-header + .section {
    padding-top: 40px;
}

/* ==========================================================================
   6. About Page Styles
   ========================================================================== */
.about-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
}
.about-text { flex: 1; }
.about-text p {
    margin-bottom: 20px;
    text-align: justify;
}
.about-image { flex: 1; }
.about-image img {
    box-shadow: 10px 10px 0 var(--accent-color);
}
@media (max-width: 768px) {
    .about-wrapper { flex-direction: column-reverse; }
    .about-image img { width: 100%; box-shadow: 5px 5px 0 var(--accent-color); }
}

/* ==========================================================================
   7. Cafe Page Styles
   ========================================================================== */
.menu-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 40px;
}
.menu-item {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.03);
    transition: transform 0.3s;
}
.menu-item:hover {
    transform: translateY(-3px);
    opacity: 1;
}
.menu-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.menu-text { padding: 20px; }
.menu-text h4 {
    color: var(--accent-color);
    font-size: 1.15rem;
    margin-bottom: 8px;
    font-family: serif;
}
.menu-text p {
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 15px;
}
.price {
    display: block;
    text-align: right;
    font-weight: bold;
    color: var(--text-color);
    font-size: 1.1rem;
}

/* ==========================================================================
   8. Access Page Styles
   ========================================================================== */
.access-container {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}
.shop-info {
    flex: 1;
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.03);
}
.info-list { margin-top: 10px; }
.info-list dt {
    font-weight: bold;
    color: var(--accent-color);
    margin-top: 20px;
    font-size: 1rem;
    border-left: 3px solid var(--accent-color);
    padding-left: 10px;
    line-height: 1;
}
.info-list dt:first-child { margin-top: 0; }
.info-list dd {
    margin-left: 13px;
    margin-top: 8px;
    font-size: 0.95rem;
}
.map-area {
    flex: 1;
    height: 450px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.03);
    background-color: #eee;
}
@media (max-width: 768px) {
    .access-container { flex-direction: column; }
    .shop-info { width: 100%; padding: 25px; }
    .map-area { width: 100%; height: 300px; }
}

/* ==========================================================================
   9. Contact Page Styles
   ========================================================================== */
.contact-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

.contact-desc {
    text-align: center;
    margin-bottom: 40px;
}

.contact-desc .note {
    font-size: 0.8rem;
    color: #999;
    display: block;
    margin-top: 10px;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.03);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group label .required {
    background: #e67e22;
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 8px;
    vertical-align: text-bottom;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--input-border);
    border-radius: 5px;
    font-size: 1rem;
    background: #fdfdfd;
}

.form-group textarea {
    resize: vertical;
}

.select-wrap {
    position: relative;
}

.form-btn {
    text-align: center;
    margin-top: 40px;
}

.submit-btn {
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
    padding: 15px 60px;
    font-size: 1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: 0.3s;
    font-weight: bold;
    letter-spacing: 0.05em;
}

.submit-btn:hover {
    opacity: 0.8;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(166, 138, 118, 0.4);
}

@media (max-width: 768px) {
    .contact-form {
        padding: 25px;
    }
}

/* ==========================================================================
   10. Footer
   ========================================================================== */
.footer {
    background-color: var(--accent-color);
    color: var(--white);
    text-align: center;
    padding: 20px 0;
    font-size: 0.8rem;
    margin-top: auto;
}