/*
Theme Name: 365LIFE
Author: Your Name
Description: 30代のライフスタイルに向けた、ミニマルで「心地よい」テーマ。
Version: 1.0
Text Domain: 365life
*/

/* -----------------------------------------------------------
   Base Styles
----------------------------------------------------------- */
body {
    background-color: #f9f9f9;
    color: #334155; /* Slate 700 */
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 300;
    line-height: 1.8;
    margin: 0;
}

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

a:hover {
    color: #001f3f; /* Navy */
}

/* Layout */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.flex-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    margin-top: 60px;
}

main {
    flex: 2;
    min-width: 0;
}

aside {
    flex: 1;
    min-width: 280px;
}

/* -----------------------------------------------------------
   Header
----------------------------------------------------------- */
.site-header {
    background: #fff;
    border-bottom: 1px solid #f1f5f9;
    padding: 60px 0;
    text-align: center;
    position: relative;
}

.site-title {
    font-size: 3rem;
    letter-spacing: 0.2em;
    font-weight: 200;
    margin: 0;
}

.site-description {
    font-family: "Noto Serif JP", serif;
    font-size: 0.85rem;
    color: #94a3b8;
    margin-top: 15px;
    letter-spacing: 0.3em;
}

.menu-toggle {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #cbd5e1;
}

/* -----------------------------------------------------------
   Post Item
----------------------------------------------------------- */
.post-item {
    display: flex;
    gap: 30px;
    margin-bottom: 60px;
    align-items: center;
}

.post-thumbnail {
    width: 180px;
    height: 120px;
    background: #fff;
    border: 1px solid #f1f5f9;
    flex-shrink: 0;
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-meta {
    font-size: 0.7rem;
    color: #94a3b8;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.post-title {
    font-size: 1.25rem;
    font-weight: 500;
    margin: 0 0 10px 0;
}

.post-excerpt {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .flex-layout { gap: 40px; }
    .post-item { flex-direction: column; text-align: center; }
    .post-thumbnail { width: 100%; height: 200px; }
}

/* -----------------------------------------------------------
   Navigation Overlay
----------------------------------------------------------- */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(5px);
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.nav-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.menu-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    transition: color 0.3s;
}

.menu-close:hover {
    color: #001f3f;
}

.nav-title {
    font-size: 10px;
    letter-spacing: 0.4em;
    color: #cbd5e1;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.main-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.main-nav-list li {
    margin-bottom: 20px;
}

.main-nav-list a {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    color: #475569;
}

.main-nav-list a:hover {
    color: #001f3f;
    letter-spacing: 0.3em;
}

/* -----------------------------------------------------------
   Single Post & Page
----------------------------------------------------------- */
.single-header {
    margin-bottom: 40px;
}

.single-header .post-meta {
    font-size: 10px;
    letter-spacing: 0.2em;
    color: #94a3b8;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.single-header .post-meta .category a {
    color: #001f3f;
    font-weight: 500;
}

.single-title {
    font-family: "Noto Serif JP", serif;
    font-size: 2.2rem;
    font-weight: 400;
    color: #0f172a;
    line-height: 1.4;
    margin-bottom: 30px;
}

.single-thumbnail {
    width: 100%;
    margin-bottom: 40px;
    border: 1px solid #f1f5f9;
    border-radius: 4px;
    overflow: hidden;
}

.single-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.post-content {
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 2.2;
    color: #334155;
}

.post-content h2 {
    font-family: "Noto Serif JP", serif;
    font-size: 1.5rem;
    font-weight: 400;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 10px;
    margin-top: 60px;
    margin-bottom: 25px;
    color: #1e293b;
}

.post-content p {
    margin-bottom: 2em;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 20px 0;
}

/* -----------------------------------------------------------
   No Image Placeholder
----------------------------------------------------------- */
.no-image {
    width: 100%;
    height: 100%;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    font-size: 10px;
    letter-spacing: 0.2em;
}

/* -----------------------------------------------------------
   Post Meta Separator
----------------------------------------------------------- */
.post-meta-separator {
    color: #e2e8f0;
    margin: 0 8px;
}

/* -----------------------------------------------------------
   Pagination
----------------------------------------------------------- */
.nav-links {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 60px;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
}

.nav-links a,
.nav-links span {
    padding: 6px 14px;
    border: 1px solid #f1f5f9;
    color: #94a3b8;
}

.nav-links .current {
    background: #001f3f;
    color: #fff;
    border-color: #001f3f;
}

.nav-links a:hover {
    border-color: #001f3f;
    color: #001f3f;
}

/* -----------------------------------------------------------
   Footer
----------------------------------------------------------- */
.site-footer {
    padding: 80px 0;
    text-align: center;
    border-top: 1px solid #f1f5f9;
    background: #fff;
    margin-top: 60px;
}

.site-footer-copy {
    font-size: 10px;
    letter-spacing: 0.5em;
    color: #cbd5e1;
    text-transform: uppercase;
}
