/*
Theme Name: Cafe Serenity
Author: Owner
Description: Cafe Original Theme
Version: 1.0.0
*/

/* -------------------------------------------------------
   ここから下がCSSの本文です
------------------------------------------------------- */
:root {
    --bg-color: #f9f7f2;      /* 生成り色 */
    --text-color: #5a4e44;    /* こげ茶 */
    --accent-color: #8c7b75;  /* 淡いブラウン */
    --green-color: #8fa394;   /* くすみグリーン */
    --font-mincho: 'Shippori Mincho', serif;
    --font-gothic: 'Zen Maru Gothic', sans-serif;
}

body {
    font-family: var(--font-gothic);
    color: var(--text-color);
    background-color: var(--bg-color);
    margin: 0;
    line-height: 1.8;
    letter-spacing: 0.05em;
    padding-top: 80px;
}

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

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
    border-radius: 8px;
}

/* -------------------------------------------------------
   レイアウト共通
------------------------------------------------------- */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-family: var(--font-mincho);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-color);
    font-weight: normal;
}

.section-title .jp-title {
    display: block;
    font-size: 1rem;
    font-family: var(--font-gothic);
    margin-top: 10px;
    color: var(--accent-color);
}

.btn-common {
    display: inline-block;
    padding: 12px 40px;
    background-color: var(--green-color);
    color: #fff;
    border-radius: 50px;
    margin-top: 20px;
}
.btn-common:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

.btn-outline-dark {
    display: inline-block;
    padding: 10px 30px;
    border: 1px solid var(--text-color);
    color: var(--text-color);
    border-radius: 50px;
    background: #fff;
}
.btn-outline-dark:hover {
    background: var(--text-color);
    color: #fff;
}

.btn-area {
    text-align: center;
    margin-top: 50px;
}

/* -------------------------------------------------------
   ヘッダー
------------------------------------------------------- */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    height: 80px;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background: rgba(249, 247, 242, 0.95);
    z-index: 1000;
    box-sizing: border-box;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.logo {
    font-family: var(--font-mincho);
    font-size: 1.5rem;
    font-weight: bold;
}

.pc-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.pc-nav a {
    font-family: var(--font-mincho);
    font-weight: 600;
}
.pc-nav a:hover {
    color: var(--green-color);
}

.sp-nav-toggle {
    display: none;
    width: 30px;
    height: 24px;
    position: relative;
    cursor: pointer;
    z-index: 1100;
}
.sp-nav-toggle span {
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--text-color);
    transition: 0.3s;
}
.sp-nav-toggle span:nth-child(1) { top: 0; }
.sp-nav-toggle span:nth-child(2) { top: 11px; }
.sp-nav-toggle span:nth-child(3) { bottom: 0; }

.sp-nav-toggle.active span:nth-child(1) {
    top: 11px;
    transform: rotate(45deg);
}
.sp-nav-toggle.active span:nth-child(2) {
    opacity: 0;
}
.sp-nav-toggle.active span:nth-child(3) {
    bottom: 11px;
    transform: rotate(-45deg);
}

/* -------------------------------------------------------
   TOPページ
------------------------------------------------------- */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    gap: 5%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

.hero-content {
    flex: 1;
    text-align: left;
}

.hero-image {
    flex: 1;
}

.hero-title {
    font-family: var(--font-mincho);
    font-size: 3.5rem;
    font-weight: normal;
    line-height: 1.3;
    margin-top: 20px;
}

.hero-image img {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    width: 100%;
    box-shadow: 10px 10px 0px var(--green-color);
}

.wave-divider-top {
    height: 40px;
    background: radial-gradient(circle at 50% 0, transparent 20px, #fff 21px);
    background-size: 40px 40px;
    transform: rotate(180deg);
    margin-top: -1px; 
}
.wave-divider-bottom {
    height: 40px;
    background: radial-gradient(circle at 50% 0, transparent 20px, #fff 21px);
    background-size: 40px 40px;
    margin-bottom: -1px;
}

.section-concept-mini, .section-menu-mini, .section-access {
    background-color: #fff;
    padding: 80px 0;
}

.section-news-top {
    padding: 80px 0;
}

.concept-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
}
.concept-text { flex: 1; }
.concept-img { flex: 1; }

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.menu-item {
    text-align: center;
    background: #fff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.menu-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}
.menu-item h3 {
    font-family: var(--font-mincho);
    margin: 15px 0 5px;
}
.menu-item .price {
    display: block;
    margin-top: 10px;
    font-weight: bold;
    color: var(--accent-color);
}

.news-list-top {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 0 auto;
}
.news-list-top li {
    border-bottom: 1px dashed var(--accent-color);
    padding: 15px 0;
}

.section-access-recruit {
    padding: 80px 0;
    background-color: var(--bg-color);
}
.access-recruit-flex {
    display: flex;
    gap: 40px;
}
.access-info-block, .recruit-info-block {
    flex: 1;
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
}
.section-title-small {
    font-family: var(--font-mincho);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

/* -------------------------------------------------------
   下層ページ共通
------------------------------------------------------- */
.page-hero {
    text-align: center;
    padding: 60px 20px;
}
.page-title {
    font-family: var(--font-mincho);
    font-size: 2.5rem;
    margin-bottom: 40px;
}
.page-hero-img {
    max-width: 1000px;
    margin: 0 auto;
}
.page-hero-img img {
    max-height: 400px;
    width: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.section-text-block {
    padding: 60px 0;
    background: #fff;
}
.text-block-inner {
    margin-bottom: 80px;
}
.sub-heading {
    font-family: var(--font-mincho);
    font-size: 1.8rem;
    color: var(--accent-color);
    border-bottom: 1px solid var(--accent-color);
    padding-bottom: 10px;
    margin-bottom: 30px;
    display: inline-block;
}

.menu-category {
    margin-bottom: 80px;
}
.category-title {
    text-align: center;
    font-size: 2rem;
    font-family: var(--font-mincho);
    margin-bottom: 40px;
    color: var(--text-color);
}

.access-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}
.access-info, .access-map {
    flex: 1;
    min-width: 300px;
}
.hours-list {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px 20px;
    margin-top: 20px;
}

.recruit-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
}
.recruit-table th, .recruit-table td {
    padding: 20px;
    border-bottom: 1px solid #ddd;
    text-align: left;
}
.recruit-table th {
    width: 30%;
    background-color: #f9f7f2;
    font-weight: normal;
    font-family: var(--font-mincho);
}

.news-list {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 0 auto;
}
.news-list li {
    border-bottom: 1px solid #e0e0e0;
    padding: 20px 0;
}
.news-list .date {
    font-weight: bold;
    color: var(--accent-color);
    margin-right: 20px;
    display: inline-block;
    min-width: 100px;
}

.article-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
}
.article-header {
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}
.article-title {
    font-family: var(--font-mincho);
    font-size: 2rem;
    margin: 10px 0 0;
    line-height: 1.4;
}
.article-body {
    font-size: 1rem;
    line-height: 1.9;
}
.article-body h2 {
    font-family: var(--font-mincho);
    font-size: 1.6rem;
    border-bottom: 2px solid var(--green-color);
    padding-bottom: 10px;
    margin-top: 50px;
    margin-bottom: 30px;
}
.article-body h3 {
    font-family: var(--font-gothic);
    font-size: 1.3rem;
    color: var(--accent-color);
    margin-top: 40px;
    margin-bottom: 20px;
    border-left: 5px solid var(--accent-color);
    padding-left: 15px;
}
.article-body p { margin-bottom: 30px; }
.article-body img { margin: 20px 0; width: 100%; border-radius: 10px; }

.column-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}
.column-item {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.column-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.column-thumb {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.column-content { padding: 20px; }
.tag {
    font-size: 0.8rem;
    background-color: #f0f0f0;
    padding: 5px 10px;
    border-radius: 4px;
    color: #666;
    display: inline-block;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .site-header {
        padding: 0 20px;
    }
    
    .sp-nav-toggle {
        display: block;
    }

    .pc-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--bg-color);
        z-index: 1050;
        display: flex;
        justify-content: center;
        align-items: center;
        opacity: 0;
        pointer-events: none;
        transition: 0.3s;
    }
    
    .pc-nav.active {
        opacity: 1;
        pointer-events: auto;
    }

    .pc-nav ul {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .pc-nav a {
        font-size: 1.5rem;
    }

    .hero {
        flex-direction: column-reverse;
        padding-top: 40px;
        text-align: center;
    }
    .hero-title {
        font-size: 2.5rem;
    }

    .concept-wrapper {
        flex-direction: column;
    }

    .access-recruit-flex {
        flex-direction: column;
    }

    .recruit-table, .recruit-table tbody, .recruit-table tr, .recruit-table th, .recruit-table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
    .recruit-table th {
        background: transparent;
        font-weight: bold;
        padding-bottom: 5px;
        border-bottom: none;
    }
    .recruit-table td {
        padding-top: 0;
    }

    .article-container {
        padding: 20px;
    }
    .article-title {
        font-size: 1.5rem;
    }
}