/*
Theme Name: 結婚相談所組合モック
Theme URI:
Author: Claude Code
Description: 結婚相談所組合サイトのワイヤーフレーム風モックテーマ
Version: 0.1.0
License: GNU General Public License v2 or later
Text Domain: marriage-association-mock
*/

/* ========================================
   ワイヤーフレーム風スタイル
   グレースケール・シンプル・構造重視
======================================== */

:root {
    --color-bg: #f5f5f5;
    --color-surface: #ffffff;
    --color-border: #cccccc;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-placeholder: #e0e0e0;
    --color-accent: #888888;
    --max-width: 1200px;
    --spacing: 24px;
}

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

body {
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text);
    background-color: var(--color-bg);
}

a {
    color: var(--color-text);
    text-decoration: underline;
}

a:hover {
    color: var(--color-accent);
}

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

/* Container */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing);
}

/* ========================================
   Header
======================================== */
.site-header {
    background: var(--color-surface);
    border-bottom: 2px solid var(--color-border);
    padding: var(--spacing) 0;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
}

.site-logo:hover {
    color: var(--color-text);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: var(--spacing);
}

.main-nav a {
    text-decoration: none;
    padding: 8px 16px;
    border: 1px solid transparent;
}

.main-nav a:hover {
    border-color: var(--color-border);
}

/* ========================================
   Hero Section
======================================== */
.hero {
    background: var(--color-placeholder);
    padding: 80px var(--spacing);
    text-align: center;
    border: 2px dashed var(--color-border);
    margin: var(--spacing) 0;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: #cc0000;
}

.hero p {
    font-size: 1.25rem;
    color: var(--color-text-light);
    margin-bottom: 24px;
}

.hero-image-placeholder {
    background: var(--color-border);
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-light);
    font-size: 1.25rem;
    margin-top: 24px;
}

/* ========================================
   Sections
======================================== */
.section {
    padding: 60px 0;
}

.section-alt {
    background: var(--color-surface);
}

.section-title {
    font-size: 1.75rem;
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--color-border);
}

/* ========================================
   Cards (特徴・加盟店など)
======================================== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing);
}

.card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    padding: var(--spacing);
}

.card-image {
    background: var(--color-placeholder);
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-light);
    margin-bottom: 16px;
    border-radius: 10px;
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.card p {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

/* ========================================
   News List
======================================== */
.news-list {
    list-style: none;
}

.news-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--color-border);
}

.news-item:last-child {
    border-bottom: none;
}

.news-date {
    color: var(--color-text-light);
    font-size: 0.9rem;
    white-space: nowrap;
}

.news-title a {
    text-decoration: none;
}

.news-title a:hover {
    text-decoration: underline;
}

/* ========================================
   Member List (加盟相談所一覧)
======================================== */
.member-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing);
}

.member-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    padding: var(--spacing);
    display: flex;
    gap: 16px;
}

.member-logo {
    background: var(--color-placeholder);
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--color-text-light);
}

.member-info h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.member-meta {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

/* ========================================
   CTA Section
======================================== */
.cta {
    background: var(--color-accent);
    color: white;
    text-align: center;
    padding: 60px var(--spacing);
}

.cta h2 {
    font-size: 1.75rem;
    margin-bottom: 16px;
}

.cta p {
    margin-bottom: 24px;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    padding: 16px 32px;
    background: var(--color-surface);
    color: var(--color-text);
    text-decoration: none;
    border: 2px solid var(--color-border);
    font-weight: bold;
}

.btn:hover {
    background: var(--color-bg);
    color: var(--color-text);
}

/* ========================================
   Page Content
======================================== */
.page-header {
    background: var(--color-surface);
    padding: 40px 0;
    border-bottom: 2px solid var(--color-border);
    margin-bottom: 40px;
}

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

.page-content {
    background: var(--color-surface);
    padding: var(--spacing);
    margin-bottom: 40px;
}

.page-content h2 {
    font-size: 1.5rem;
    margin: 32px 0 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--color-border);
}

.page-content h2:first-child {
    margin-top: 0;
}

.page-content p {
    margin-bottom: 16px;
}

.page-content ul,
.page-content ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

.page-content li {
    margin-bottom: 8px;
}

/* ========================================
   Footer
======================================== */
.site-footer {
    background: var(--color-text);
    color: var(--color-bg);
    padding: 40px 0 24px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing);
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 1rem;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--color-accent);
}

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

.footer-section li {
    margin-bottom: 8px;
}

.footer-section a {
    color: var(--color-bg);
    text-decoration: none;
    opacity: 0.8;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--color-accent);
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ========================================
   Wireframe Annotations
======================================== */
.wireframe-note {
    background: #fffbcc;
    border: 1px solid #e6d85c;
    padding: 8px 12px;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 16px;
}

/* ========================================
   Responsive
======================================== */
@media (max-width: 768px) {
    .site-header .container {
        flex-direction: column;
        gap: 16px;
    }

    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .hero-image-placeholder {
        height: 200px;
    }

    .member-card {
        flex-direction: column;
    }

    .news-item {
        flex-direction: column;
        gap: 4px;
    }
}

/* ========================================
   Member Detail (加盟相談所詳細)
======================================== */
.member-detail {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: var(--spacing);
}

.member-detail-image {
    margin-bottom: var(--spacing);
}

.member-detail-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.member-info-box {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    padding: var(--spacing);
    margin-bottom: var(--spacing);
}

.member-info-box h3 {
    font-size: 1.1rem;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--color-border);
}

.member-info-box dl {
    margin: 0;
}

.member-info-box dt {
    font-weight: bold;
    color: var(--color-text-light);
    font-size: 0.85rem;
    margin-top: 12px;
}

.member-info-box dt:first-child {
    margin-top: 0;
}

.member-info-box dd {
    margin: 4px 0 0 0;
}

.back-to-list {
    text-align: center;
}

.member-card h3 a {
    text-decoration: none;
}

.member-card h3 a:hover {
    text-decoration: underline;
}

.member-excerpt {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-top: 8px;
}

.pagination {
    margin-top: 40px;
    text-align: center;
}

.pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.pagination a,
.pagination span {
    padding: 8px 16px;
    border: 1px solid var(--color-border);
    text-decoration: none;
}

.pagination .current {
    background: var(--color-accent);
    color: white;
    border-color: var(--color-accent);
}

@media (max-width: 768px) {
    .member-detail {
        grid-template-columns: 1fr;
    }

    .member-detail-sidebar {
        order: -1;
    }
}