/*
Theme Name: 萃巫 - Suimi
Theme URI: https://suimi.com
Author: Suimi
Author URI: https://suimi.com
Description: 祈りと行動で現実を整える四柱推命師・萃巫の公式サイト用オリジナルテーマ
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: suimi
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
*/

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Hiragino Maru Gothic ProN', 'ヒラギノ丸ゴ ProN', 'Rounded Mplus 1c', sans-serif;
    line-height: 1.8;
    color: #2C2C2C;
    background-color: #FDFCFA;
    overflow-x: hidden;
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Yu Mincho', 'YuMincho', 'Hiragino Mincho ProN', 'Noto Serif JP', serif;
    font-weight: 500;
    line-height: 1.5;
    color: #2C2C2C;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.25rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.25rem;
}

a {
    color: #8B7AB8;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #D4AF37;
}

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

/* ==========================================================================
   Layout
   ========================================================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-narrow {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
    position: relative;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(253, 252, 250, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 2px 20px rgba(139, 122, 184, 0.1);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.site-logo {
    font-family: 'Yu Mincho', 'YuMincho', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: #8B7AB8;
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-logo:hover {
    color: #D4AF37;
}

.site-logo::before {
    content: ' ';
    font-size: 1.2rem;
}

/* Navigation */
.main-navigation {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    font-size: 0.95rem;
    color: #2C2C2C;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #8B7AB8, #D4AF37);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* CTA Button in Header */
.header-cta {
    background: linear-gradient(135deg, #8B7AB8, #A593C8);
    color: white;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(139, 122, 184, 0.3);
    transition: all 0.3s ease;
}

.header-cta:hover {
    background: linear-gradient(135deg, #A593C8, #8B7AB8);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 122, 184, 0.4);
    color: white;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: #2C2C2C;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #8B7AB8, #A593C8);
    color: white;
    box-shadow: 0 4px 20px rgba(139, 122, 184, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #A593C8, #8B7AB8);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(139, 122, 184, 0.5);
    color: white;
}

.btn-secondary {
    background: linear-gradient(135deg, #D4AF37, #F4E5C3);
    color: #2C2C2C;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #F4E5C3, #D4AF37);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.5);
}

.btn-outline {
    background: transparent;
    border: 2px solid #8B7AB8;
    color: #8B7AB8;
}

.btn-outline:hover {
    background: #8B7AB8;
    color: white;
}

.btn-large {
    padding: 18px 50px;
    font-size: 1.1rem;
}

.btn-icon::before {
    content: ' ';
    margin-right: 8px;
}

/* ==========================================================================
   Section Common Styles
   ========================================================================== */

.section-heading {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #8B7AB8, #D4AF37);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1rem;
    color: #666;
    font-family: 'Hiragino Maru Gothic ProN', sans-serif;
}

/* Background Textures */
.bg-washi {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="4" /></filter><rect width="100" height="100" filter="url(%23noise)" opacity="0.03"/></svg>');
    background-color: #FDFCFA;
}

.bg-lavender {
    background: linear-gradient(135deg, #F8F6FC 0%, #E6D9F0 100%);
}

.bg-gold-light {
    background: linear-gradient(135deg, #FFFDF7 0%, #F4E5C3 100%);
}

/* Decorative Elements */
.deco-line {
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #D4AF37, transparent);
    margin: 30px auto;
}

.deco-icon {
    font-size: 2rem;
    margin-bottom: 20px;
    display: block;
}

.magatama-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #E6D9F0, #F8F6FC);
    border: 2px solid #D4AF37;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Yu Mincho', 'YuMincho', serif;
    color: #8B7AB8;
    box-shadow: 0 4px 15px rgba(139, 122, 184, 0.2);
    transition: all 0.3s ease;
}

.magatama-icon::before {
    content: attr(data-text);
    transform: rotate(45deg);
    display: block;
}

.card:hover .magatama-icon {
    transform: rotate(-45deg) scale(1.1);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
}

/* プロフィール画像スタイル */
.profile-image-frame {
    position: relative;
    display: inline-block;
    padding: 12px;
    background: linear-gradient(135deg, #D4AF37, #F4E5C3, #D4AF37);
    border-radius: 50%;
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.3);
}

.profile-image-frame::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    bottom: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, #E6D9F0, #F8F6FC);
    z-index: 0;
}

.profile-image {
    position: relative;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    z-index: 1;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* 実績カード */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
}

.achievement-card {
    background: linear-gradient(135deg, #FFFDF7, #F4E5C3);
    border: 2px solid #D4AF37;
    border-radius: 15px;
    padding: 25px 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.achievement-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 70%
    );
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.35);
}

.achievement-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.achievement-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #8B7AB8;
    font-family: 'Montserrat', 'Yu Mincho', sans-serif;
    margin-bottom: 8px;
}

.achievement-label {
    font-size: 0.85rem;
    color: #666;
    font-weight: 600;
}

@media (max-width: 768px) {
    .profile-image {
        width: 150px;
        height: 150px;
    }
    
    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .achievement-card {
        padding: 20px 10px;
    }
    
    .achievement-number {
        font-size: 1.5rem;
    }
}

.achievement-image-wrapper {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
}

.achievement-image-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.35);
}

.achievement-image {
    width: 100%;
    height: auto;
    display: block;
}

.profile-image-placeholder {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, #E6D9F0, #F8F6FC);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid white;
}

.profile-image-placeholder p {
    color: #8B7AB8;
    font-size: 0.9rem;
    text-align: center;
    padding: 20px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #E6D9F0 0%, #F8F6FC 50%, #FFFDF7 100%);
    padding-top: 80px;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 40px 20px;
}

.hero-tagline {
    font-size: 1rem;
    color: #8B7AB8;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
}

.hero-title {
    font-size: 3rem;
    line-height: 1.4;
    margin-bottom: 30px;
    color: #2C2C2C;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #555;
    margin-bottom: 50px;
    line-height: 1.8;
}

.hero-cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.9rem;
    color: #8B7AB8;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ==========================================================================
   Card Styles
   ========================================================================== */

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

.card-grid-2x2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 40px;
}

@media (max-width: 768px) {
    .card-grid-2x2 {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

.card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(139, 122, 184, 0.1);
    text-align: center;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(139, 122, 184, 0.15);
}

.card-icon-wrapper {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.card-icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #E6D9F0, #F8F6FC);
    border: 3px solid #D4AF37;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 600;
    font-family: 'Yu Mincho', 'YuMincho', serif;
    color: #8B7AB8;
    box-shadow: 0 4px 15px rgba(139, 122, 184, 0.2);
    transition: all 0.3s ease;
}

.card:hover .card-icon-circle {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
}

.card-icon-image {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(139, 122, 184, 0.2);
    transition: all 0.3s ease;
}

.card:hover .card-icon-image {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
}

.card-title {
    font-size: 1.3rem;
    margin: 0 auto 15px;
    color: #2C2C2C;
    text-align: center;
}

.card-description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
    text-align: center;
}

/* ==========================================================================
   Problems Section
   ========================================================================== */

.problems-list {
    max-width: 700px;
    margin: 40px auto;
}

.problem-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    margin: 0 auto 15px;
    background: white;
    border-radius: 15px;
    border-left: 4px solid #E6D9F0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    min-height: 80px;
}

.problem-icon {
    font-size: 1.8rem;
    font-weight: 700;
    color: #E85D75;
    flex-shrink: 0;
    width: 30px;
    text-align: center;
}

.problem-text {
    font-size: 1.05rem;
    color: #2C2C2C;
    line-height: 1.7;
    margin: 0;
}

.empathy-message {
    max-width: 700px;
    margin: 50px auto 0;
    padding: 40px;
    background: linear-gradient(135deg, #F8F6FC, #FFFDF7);
    border-radius: 20px;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.9;
    box-shadow: 0 4px 20px rgba(139, 122, 184, 0.1);
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.pricing-grid-2x2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}

@media (max-width: 968px) {
    .pricing-grid-2x2 {
        grid-template-columns: 1fr;
    }
}

.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(139, 122, 184, 0.2);
    border-color: #8B7AB8;
}

.pricing-card.featured {
    border-color: #D4AF37;
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.2);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: linear-gradient(135deg, #D4AF37, #F4E5C3);
    color: #2C2C2C;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.pricing-icon {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    border-radius: 50%;
    border: 2px solid #D4AF37;
    background: linear-gradient(135deg, rgba(230,217,240,0.95), rgba(244,229,195,0.65));
    box-shadow: 0 8px 22px rgba(44,44,44,0.06);
    position: relative;
}

/* Pricing icons: use magatama images (no emoji) */
.pricing-card .pricing-icon { background-image: url('assets/images/icons/magatama-1.png'); background-size: 72%; background-repeat: no-repeat; background-position: center; }

.achievement-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 10px;
    border-radius: 50%;
    border: 2px solid #D4AF37;
    background: linear-gradient(135deg, rgba(230,217,240,0.95), rgba(244,229,195,0.65));
    background-image: url('assets/images/icons/magatama-1.png');
    background-size: 72%;
    background-repeat: no-repeat;
    background-position: center;
}

/* Footer social icons (CSS only) */
.social-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(212,175,55,0.55);
    background: rgba(255,255,255,0.55);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.social-icon[aria-label="LINE"]::before {
    content: "";
    width: 18px;
    height: 18px;
    border-radius: 6px;
    background: #06C755;
}
.social-icon[aria-label="Instagram"]::before {
    content: "";
    width: 18px;
    height: 18px;
    border-radius: 6px;
    background: radial-gradient(circle at 30% 30%, #FFD776, #F56040, #C13584, #5851DB);
}
.social-icon[aria-label="\u30b3\u30b3\u30ca\u30e9"]::before {
    content: "";
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #8B7AB8;
}

/* removed old emoji-based pricing-icon styling */
.pricing-icon {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    border-radius: 50%;
    border: 2px solid #D4AF37;
    background: linear-gradient(135deg, rgba(230,217,240,0.95), rgba(244,229,195,0.65));
    box-shadow: 0 8px 22px rgba(44,44,44,0.06);
    position: relative;
    background-image: url('assets/images/icons/magatama-1.png');
    background-size: 72%;
    background-repeat: no-repeat;
    background-position: center;
}

.pricing-name {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #2C2C2C;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #8B7AB8;
    margin-bottom: 10px;
}

.pricing-price-note {
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 25px;
}

.pricing-features {
    list-style: none;
    margin: 25px 0;
    text-align: left;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.95rem;
    color: #555;
}

.pricing-features li::before {
    content: '  ';
    color: #8B7AB8;
    font-weight: 700;
    margin-right: 8px;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */

.faq-list {
    max-width: 900px;
    margin: 40px auto;
}

.faq-item {
    background: white;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.05rem;
    color: #2C2C2C;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #F8F6FC;
    color: #8B7AB8;
}

.faq-icon {
    font-size: 1.2rem;
    color: #8B7AB8;
    transition: transform 0.3s ease;
    display: none;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    overflow: visible;
    padding: 0 30px 25px;
}

.faq-item.active .faq-answer {
    padding: 0 30px 25px;
}

.faq-answer p {
    color: #555;
    line-height: 1.8;
    font-size: 0.95rem;
}

/* ==========================================================================
   Reviews Section
   ========================================================================== */

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.review-card {
    background: white;
    border-radius: 20px;
    padding: 35px 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: relative;
}

.review-card::before {
    content: ' ';
    font-size: 2rem;
    position: absolute;
    top: 20px;
    right: 20px;
    opacity: 0.2;
}

.review-meta {
    font-size: 0.9rem;
    color: #999;
    margin: 0 auto 15px;
    font-weight: 600;
}

.review-title {
    font-size: 1.1rem;
    color: #2C2C2C;
    margin: 0 auto 15px;
    font-weight: 600;
    font-family: 'Hiragino Maru Gothic ProN', sans-serif;
}

.review-text {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.8;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */

.cta-section {
    background: linear-gradient(135deg, #8B7AB8, #A593C8);
    color: white;
    text-align: center;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></svg>');
    animation: sparkle 20s linear infinite;
}

@keyframes sparkle {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 100px 100px;
    }
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.3rem;
    margin-bottom: 25px;
    color: white;
    line-height: 1.5;
}

.cta-message {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.8;
}

.cta-button-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-white {
    background: white;
    color: #8B7AB8;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.btn-white:hover {
    background: #F8F6FC;
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.25);
    color: #8B7AB8;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background: #2C2C2C;
    color: #CCCCCC;
    padding: 60px 20px 30px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: #D4AF37;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-menu {
    list-style: none;
}

.footer-menu li {
    margin-bottom: 12px;
}

.footer-menu a {
    color: #CCCCCC;
    font-size: 0.95rem;
}

.footer-menu a:hover {
    color: #D4AF37;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    font-size: 1.5rem;
    color: #CCCCCC;
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: #D4AF37;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #444;
    font-size: 0.9rem;
    color: #999;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .card {
        padding: 25px 20px;
    }
    
    .problem-item {
        padding: 15px;
    }

    .menu-toggle {
        display: block;
    }

    .main-navigation {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        padding: 80px 30px 30px;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
        z-index: 999;
    }

    .main-navigation.active {
        left: 0;
    }

    .nav-menu {
        flex-direction: column;
        gap: 20px;
        width: 100%;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        display: block;
        padding: 12px 0;
        font-size: 1.1rem;
    }

    .header-cta {
        width: 100%;
        text-align: center;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: stretch;
    }

    .section-title {
        font-size: 1.8rem;
    }

    section {
        padding: 50px 0;
    }

    .card-grid,
    .pricing-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .cta-title {
        font-size: 1.8rem;
    }

    .cta-message {
        font-size: 1rem;
    }
}

/* ==========================================================================
   Utilities
   ========================================================================== */

.text-center {
    text-align: center;
}

.mt-40 {
    margin-top: 40px;
}

.mb-40 {
    margin-bottom: 40px;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Print Styles */
@media print {
    .site-header,
    .site-footer,
    .btn,
    .cta-section {
        display: none;
    }
}

/* Magatama Icon for Shichususuimei Section */
.magatama-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #8B7AB8;
    background: linear-gradient(135deg, #F4E5C3 0%, #E6D9F0 100%);
    border-radius: 50%;
    border: 2px solid #D4AF37;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

/* Magatama illustration icon (CSS) */
.magatama-illust {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    border-radius: 50%;
    border: 2px solid #D4AF37;
    background:
      radial-gradient(circle at 35% 35%, rgba(255,255,255,0.95) 0 14%, rgba(255,255,255,0) 15%),
      radial-gradient(circle at 55% 55%, #E6D9F0 0 38%, #C7B3E4 39% 60%, #8B7AB8 61% 100%);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
    position: relative;
}
.magatama-illust::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.85);
    border: 1px solid rgba(212,175,55,0.35);
    top: 22px;
    left: 22px;
}

/* Card内の全てのp要素を中央揃え */
.card p {
    text-align: center;
}

/* Flow section: number badges (centered) */
.flow-steps .deco-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  background: #E6D9F0;
  color: #2C2C2C;
  font-weight: 700;
  border: 1px solid rgba(212,175,55,0.35);
}

.flow-steps .bullets {
  margin: 10px 0 0 1.2em;
  padding: 0;
}
.flow-steps .bullets li {
  margin: 6px 0;
  color: #555;
}


/* v1.8 flow layout fixes */
.flow-steps{display:grid;grid-template-columns:1fr;gap:18px;max-width:820px;margin:0 auto;}
.flow-step{padding:26px 22px;}

/* 「大切にしていること」ボックス整形 */
.flow-important{max-width:820px;margin:22px auto 0;background:#fff;border:1px solid rgba(212,175,55,0.35);border-radius:16px;padding:26px 22px;box-shadow:0 10px 25px rgba(0,0,0,0.06);}
.flow-important h3{margin:0 0 10px;text-align:center;font-size:1.2rem;}
.flow-important p{margin:0;color:#555;line-height:1.9;text-align:left;}


/* v1.8 magatama rendering fix */
.pricing-icon, .achievement-icon{background-size:contain !important;background-repeat:no-repeat !important;background-position:center !important;}


/* v1.8 footer: LINE button -> text link */
.footer-line-text{display:inline-block;color:#06C755;font-weight:700;text-decoration:none;border-bottom:1px solid rgba(6,199,85,0.35);padding:4px 2px;}
.footer-line-text:hover{border-bottom-color:#06C755;opacity:0.9;}


/* v2.0 legal pages */
.page-legal{padding:90px 0 70px;}
.legal-card{background:#fff;border:1px solid rgba(212,175,55,0.30);border-radius:16px;padding:28px 22px;box-shadow:0 10px 25px rgba(0,0,0,0.06);max-width:900px;margin:0 auto;}
.legal-card h2{font-size:1.12rem;margin:22px 0 10px;color:#2C2C2C;}
.legal-card p{color:#555;line-height:1.9;margin:0 0 10px;}
.legal-meta{margin-top:18px;color:#777;font-size:0.9rem;text-align:right;}
.legal-table{width:100%;border-collapse:separate;border-spacing:0;overflow:hidden;border-radius:14px;}
.legal-table th,.legal-table td{padding:12px 12px;border-bottom:1px solid #f0edf6;vertical-align:top;}
.legal-table th{width:32%;background:#faf7ff;color:#333;font-weight:700;}
.legal-table td{color:#555;}
@media (max-width: 768px){
  .legal-table th{width:40%;}
}


/* v2.0 pricing mobile stack */
@media (max-width: 768px){
  .pricing-grid-2x2{grid-template-columns: 1fr !important;}
}
