/*
Theme Name: Sunnys Crepe Theme
Theme URI: https://new.sunnys-crepe.com
Author: Sunnys Crepe
Description: サニーズクレープ FC加盟店募集サイト用カスタムテーマ。owner（オーナー）/ shop（店舗）の2つのカスタム投稿タイプとトップページのデザインを提供する。
Version: 0.4.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sunnys
Requires at least: 6.0
Requires PHP: 7.4
*/

/* ============================================================
   サニーズクレープ テーマ共通CSS
   - CSS変数（カラー・フォント）
   - リセット & body / a / img
   - .header / .nav / .logo
   - section共通（.section-label, .section-title, .section-lead）
   - .footer
   - 共通レスポンシブ（max-width: 900px）
   front-page 専用は assets/css/top.css にある。
   ============================================================ */

:root {
    --engine: #7B2738;
    --engine-dark: #5C1D2A;
    --engine-deep: #401320;
    --cream-50: #FBF7EE;
    --cream-100: #F4ECDD;
    --cream-200: #E8DCC4;
    --brown-900: #2D1D14;
    --brown-700: #3D2A1F;
    --brown-500: #6B4D3D;
    --brown-300: #9A8270;
    --gold: #B89968;
    --gold-soft: #D4BC8E;
    --jp-serif: 'Shippori Mincho', 'Noto Serif JP', serif;
    --jp-serif-alt: 'Noto Serif JP', serif;
    --en-serif: 'Cormorant Garamond', serif;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--jp-serif-alt);
    color: var(--brown-700);
    background: var(--cream-50);
    line-height: 1.9;
    font-weight: 300;
    letter-spacing: 0.02em;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

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

/* ─────────────── HEADER ─────────────── */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 24px 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(251, 247, 238, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(184, 153, 104, 0.15);
}

.logo {
    font-family: var(--en-serif);
    font-size: 22px;
    font-weight: 400;
    letter-spacing: 0.08em;
    color: var(--engine);
}

.logo .jp {
    font-family: var(--jp-serif);
    display: block;
    font-size: 11px;
    letter-spacing: 0.4em;
    color: var(--brown-500);
    margin-top: 2px;
}

.nav {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav a {
    font-family: var(--jp-serif);
    font-size: 13px;
    letter-spacing: 0.2em;
    color: var(--brown-700);
}

.nav-cta {
    border: 1px solid var(--engine);
    color: var(--engine) !important;
    padding: 10px 24px;
    font-size: 12px !important;
    transition: all 0.3s;
}

.nav-cta:hover {
    background: var(--engine);
    color: var(--cream-50) !important;
    opacity: 1 !important;
}

/* ─────────────── SECTION COMMON ─────────────── */
section {
    padding: 140px 48px;
    position: relative;
}

.section-label {
    font-family: var(--en-serif);
    font-style: italic;
    font-size: 14px;
    letter-spacing: 0.3em;
    color: var(--engine);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.section-label::before {
    content: attr(data-num);
    font-style: normal;
    font-weight: 400;
    color: var(--gold);
}

.section-title {
    font-family: var(--jp-serif);
    font-size: 42px;
    font-weight: 500;
    color: var(--brown-900);
    line-height: 1.5;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
}

.section-lead {
    font-family: var(--jp-serif);
    font-size: 15px;
    color: var(--brown-500);
    line-height: 2.2;
    max-width: 560px;
}

/* ─────────────── FOOTER ─────────────── */
.footer {
    background: var(--brown-900);
    color: var(--cream-100);
    padding: 100px 48px 40px;
}

.footer-inner {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

.footer-logo {
    font-family: var(--en-serif);
    font-size: 28px;
    font-weight: 400;
    letter-spacing: 0.08em;
    color: var(--cream-50);
    margin-bottom: 16px;
}

.footer-jp {
    font-family: var(--jp-serif);
    font-size: 12px;
    letter-spacing: 0.4em;
    color: var(--gold-soft);
    margin-bottom: 32px;
}

.footer-tagline {
    font-family: var(--jp-serif);
    font-size: 13px;
    line-height: 2;
    color: var(--cream-100);
    opacity: 0.7;
}

.footer h4 {
    font-family: var(--en-serif);
    font-style: italic;
    font-size: 14px;
    color: var(--gold-soft);
    letter-spacing: 0.2em;
    margin-bottom: 24px;
    font-weight: 400;
}

.footer ul {
    list-style: none;
}

.footer li {
    font-family: var(--jp-serif);
    font-size: 13px;
    margin-bottom: 14px;
    letter-spacing: 0.1em;
    opacity: 0.85;
}

.footer-bottom {
    border-top: 1px solid rgba(212, 188, 142, 0.2);
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    font-family: var(--en-serif);
    font-size: 12px;
    color: var(--brown-300);
    letter-spacing: 0.15em;
}

/* ─────────────── RESPONSIVE (共通) ─────────────── */
@media (max-width: 900px) {
    .header { padding: 16px 24px; }
    .nav { display: none; }
    section { padding: 80px 24px; }
    .section-title { font-size: 28px; }
    .footer-inner { grid-template-columns: 1fr; gap: 40px; }
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}
