@charset "UTF-8";

/* =========================================
   1. Variables & Base Styles
   ========================================= */
:root {
    --bg-cream: #F7F1E3;
    --text-dark: #2E2E2E;
    --accent-navy: #1F3A52;
    --accent-green: #6B8E23;
    --accent-blue: #4682B4;
    --accent-gold: #DAA520;
    --font-serif: 'Merriweather', serif;
    --font-sans: 'Noto Sans JP', sans-serif;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    background-color: #ffffff;
    line-height: 1.8;
}

h1, h2, h3, h4, h5, .brand-main {
    font-family: var(--font-serif);
    font-weight: 700;
}

a { text-decoration: none; }

/* =========================================
   2. Navbar
   ========================================= */
.navbar {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 1rem 0;
}

.brand-main {
    color: var(--accent-navy);
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.nav-link {
    color: #333 !important;
    font-weight: 500;
    margin-left: 1rem;
    font-size: 0.95rem;
}

/* =========================================
   3. Hero Section
   ========================================= */
.hero-section {
    padding-top: 120px;
    padding-bottom: 80px;
    background-color: #f8f9fa;
}

/* トップページ用の画像スタイル */
.hero-img {
    width: 100%;
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: 0 1rem 3rem rgba(0,0,0,.175);
}

/* Circle詳細ページ用のヘッダー背景（画像の上に文字） */
.page-header {
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 150px 0 100px;
    color: white;
    margin-top: 60px; /* Navbar分 */
}

.page-header::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(31, 58, 82, 0.7); /* Navy overlay */
}

.page-header .container {
    position: relative;
    z-index: 1;
}

/* =========================================
   4. Sections & Components
   ========================================= */
.section-padding { padding: 80px 0; }
.bg-cream { background-color: var(--bg-cream); }
.section-title {
    color: var(--accent-navy);
    margin-bottom: 10px;
    font-size: 2rem;
}
.divider {
    height: 3px;
    width: 60px;
    background-color: var(--accent-gold);
    border-radius: 3px;
    margin: 0 auto;
}
.max-width-800 { max-width: 800px; margin: 0 auto; }
.text-accent { color: var(--accent-navy); }
.content-text { font-size: 1.05rem; margin-bottom: 1.5rem; }

/* Service/Method Cards */
.service-card {
    border: none;
    border-radius: 1rem;
    overflow: hidden;
    transition: transform 0.3s;
}
.service-card:hover { transform: translateY(-5px); }

.service-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 250px;
}
.service-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.service-overlay {
    position: absolute;
    bottom: 0; width: 100%;
    background: rgba(31, 58, 82, 0.85);
    color: #fff;
    padding: 10px;
    text-align: center;
    font-weight: bold;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}
.service-card:hover .service-overlay { transform: translateY(0); }

/* Circle Levels */
.level-card {
    height: 100%;
    background: #fff;
    border: 1px solid #eee;
    transition: transform 0.3s;
}
.level-card:hover { transform: translateY(-5px); }

/* Rules List */
.rules-list li {
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

/* Pricing Table */
.price-box {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.05);
    text-align: center;
}
.price-amount {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--accent-navy);
}

/* Buttons */
.btn-join {
    background-color: var(--accent-navy);
    border-color: var(--accent-navy);
    color: white !important;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
}
.btn-service { border-radius: 50px; padding: 10px 25px; }

/* Footer */
footer {
    padding: 40px 0;
    background-color: #fff;
    border-top: 1px solid #eee;
    color: #666;
}
.social-links a {
    color: var(--accent-navy);
    margin: 0 10px;
    font-size: 1.5rem;
}
