/* Import Modern Fonts: Montserrat for English, Zen Kaku Gothic New for elegant Japanese */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600&family=Zen+Kaku+Gothic+New:wght@300;400;500&display=swap');

body {
    font-family: 'Zen Kaku Gothic New', sans-serif !important;
}

h1, h2, h3, h4, .hero-sub, .section-sub, .step-num {
    font-family: 'Montserrat', 'Zen Kaku Gothic New', sans-serif !important;
}

/* -------------------------------------
 * 1. Hero Section
 * ------------------------------------- */
.stoneage-hero {
    position: relative;
    height: 75vh !important;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover !important;
    background-position: center !important;
}

/* Make image and color separate elegantly with a gradient overlay + blur */
.hero-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.3) 100%) !important;
    backdrop-filter: blur(2px);
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
}

/* Glassmorphism for the content box to make it super legible and stylish */
.hero-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 50px 40px !important;
    max-width: 90%;
    width: 650px !important;
    text-shadow: none !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 1s ease-out forwards;
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-sub {
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 20px !important;
    display: inline-block;
    border-bottom: 1px solid #d4b170;
    padding-bottom: 6px;
    color: #e5cd97 !important;
    letter-spacing: 0.2em;
}

.hero-main-title {
    font-size: clamp(1.6rem, 4vw, 2.6rem) !important;
    font-weight: 500 !important;
    white-space: normal !important;
    line-height: 1.5 !important;
    margin-bottom: 25px !important;
    letter-spacing: 0.1em !important;
    color: #fff !important;
}

.hero-copy {
    font-size: 1.05rem !important;
    font-weight: 300;
    opacity: 0.95;
    line-height: 1.9 !important;
    color: #fff !important;
}

/* -------------------------------------
 * 2. Audition Section
 * ------------------------------------- */
section.stoneage-audition {
    background: #111112 !important; /* Chic dark mode */
    padding: 120px 20px !important;
}

.section-title-center {
    font-weight: 400 !important;
    letter-spacing: 0.1em;
    color: #fff !important;
}

.stoneage-audition .section-sub {
    color: #d4b170 !important;
    letter-spacing: 0.3em;
    font-size: 1rem;
    display: block;
    text-align: center;
    margin-bottom: 10px;
}

.audition-info-text, .audition-info-text p {
    color: #e0e0e0;
}

/* Grid Layout for Benefits */
.benefit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1050px;
    margin: 60px auto !important;
}

.benefit-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 177, 112, 0.15);
    padding: 50px 40px;
    border-radius: 16px;
    text-align: left;
    transition: transform 0.4s ease, border-color 0.4s ease, background 0.4s ease;
}

.benefit-item:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 177, 112, 0.6);
    background: rgba(255, 255, 255, 0.05);
}

.benefit-item h3 {
    color: #d4b170 !important;
    font-size: 1.25rem;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.benefit-item h3::before {
    content: '';
    display: inline-block;
    width: 25px;
    height: 1px;
    background: #d4b170;
    margin-right: 15px;
}

.benefit-item p {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.8;
    margin: 0;
}

/* Requirements Box */
.requirement-box {
    background: linear-gradient(145deg, rgba(255,255,255,0.06), rgba(255,255,255,0.01)) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 20px !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3) !important;
    padding: 60px 40px !important;
    max-width: 850px !important;
    margin: 0 auto !important;
}

.requirement-box h4 {
    font-size: 1.3rem;
    font-weight: 500;
    letter-spacing: 0.1em;
}

.requirement-box ul {
    border-top: 1px solid rgba(255,255,255,0.05);
    margin-top: 20px;
    padding-top: 20px !important;
}

.requirement-box ul li {
    font-size: 1.05rem;
    border-bottom: 1px dashed rgba(255,255,255,0.1);
    padding: 15px 0 !important;
    margin-bottom: 0 !important;
}

.requirement-box ul li:last-child {
    border-bottom: none;
    margin-top: 15px !important;
}

/* Stylish Line Button */
.line-invite {
    border-radius: 20px !important;
    background: rgba(255,255,255,0.02) !important;
    border: none !important;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1) !important;
    padding: 60px 30px !important;
}

a.line-btn {
    border-radius: 40px !important;
    overflow: hidden;
    position: relative;
    z-index: 1;
    font-weight: 500 !important;
    letter-spacing: 0.05em;
    padding: 18px 50px !important;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

a.line-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(6, 199, 85, 0.3);
}

/* -------------------------------------
 * 3. Steps Section
 * ------------------------------------- */
section.stoneage-steps {
    background: #fafaf9 !important; /* Soft beige-white */
    padding: 120px 20px !important;
}

section.stoneage-steps h2.section-title-center {
    color: #1a1a1a !important;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1050px;
    margin: 60px auto 0 !important;
}

.step-card {
    background: #ffffff !important;
    padding: 50px 40px !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03) !important;
    position: relative;
    overflow: hidden;
    text-align: left;
    transition: box-shadow 0.4s ease, transform 0.4s ease;
    border: 1px solid rgba(0,0,0,0.02);
}

.step-card:hover {
    box-shadow: 0 20px 50px rgba(0,0,0,0.08) !important;
    transform: translateY(-5px);
}

.step-card.highlight {
    border: 1px solid rgba(212, 177, 112, 0.5);
    box-shadow: 0 15px 40px rgba(212, 177, 112, 0.1) !important;
}

.step-num {
    font-size: 4.5rem !important;
    font-weight: 600;
    color: rgba(212, 177, 112, 0.08);
    position: absolute;
    top: 20px;
    right: 20px;
    line-height: 1;
    z-index: 1;
}

.step-card h3 {
    font-size: 1.35rem !important;
    color: #222 !important;
    margin-top: 20px !important;
    margin-bottom: 20px !important;
    position: relative;
    z-index: 2;
    font-weight: 500;
}

.step-card p {
    color: #666;
    font-size: 1rem;
    line-height: 1.8;
    position: relative;
    z-index: 2;
    margin: 0;
}

/* -------------------------------------
 * 4. About Section
 * ------------------------------------- */
section.stoneage-about {
    padding: 120px 20px !important;
    background: #ffffff !important;
}

.stoneage-about h2.section-title {
    color: #1a1a1a !important;
    margin-bottom: 30px;
}

.about-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    max-width: 1050px;
    margin: 0 auto;
    gap: 60px !important;
}

.about-image {
    flex: 0 0 200px;
    max-width: 200px;
    border-radius: 50% !important;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
    position: relative;
    margin: 0 auto;
}

.about-image::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.05);
    border-radius: 50%;
    pointer-events: none;
}

.about-image img {
    width: 100%;
    height: 100%;
    display: block;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-content {
    flex: 1 1 400px;
}

.about-text p {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.9;
}

/* -------------------------------------
 * 5. Header & Navigation Menu
 * ------------------------------------- */
header.wp-block-template-part {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    padding: 10px 0;
}

/* Elegant Site Title */
.elegant-site-title-wrapper {
    margin-bottom: 5px;
    position: relative;
    padding-bottom: 5px;
}

.elegant-site-title-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 1px;
    background: #d4b170;
}

.elegant-site-title-wrapper .wp-block-site-title {
    font-family: 'Montserrat', 'Zen Kaku Gothic New', sans-serif !important;
    font-size: 2.2rem !important;
    font-weight: 300 !important;
    letter-spacing: 0.15em !important;
    text-transform: uppercase;
    text-align: center;
    margin: 0;
    line-height: 1.2;
}

.elegant-site-title-wrapper .wp-block-site-title a {
    text-decoration: none;
    background: linear-gradient(135deg, #b8860b 0%, #e5cd97 50%, #d4b170 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.elegant-site-title-wrapper .wp-block-site-title a:hover {
    opacity: 0.8;
    transform: scale(1.02);
}

.wp-block-navigation {
    width: 100%;
    justify-content: center !important;
}

.wp-block-navigation .wp-block-navigation-item__content {
    font-family: 'Montserrat', 'Zen Kaku Gothic New', sans-serif !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.1em;
    color: #333 !important;
    text-transform: uppercase;
    padding: 10px 15px !important;
    position: relative;
    transition: color 0.3s ease;
}

.wp-block-navigation .wp-block-navigation-item__content:hover {
    color: #d4b170 !important;
    text-decoration: none !important;
}

/* Stylish hover underline effect */
.wp-block-navigation .wp-block-navigation-item__content::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background-color: #d4b170;
    transition: width 0.3s ease;
}

.wp-block-navigation .wp-block-navigation-item__content:hover::after {
    width: 80%;
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* -------------------------------------
 * 6. Flow / Steps Section
 * ------------------------------------- */
.flow-container {
    padding: 20px 0;
}

.flow-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.02);
    position: relative;
}

.flow-item::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 60px;
    height: 30px;
    width: 2px;
    background: #e5cd97;
}

.flow-item:last-child::after {
    display: none;
}

.flow-step {
    background: #d4b170;
    color: #fff;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 15px;
    border-radius: 8px;
    margin-right: 25px;
    min-width: 80px;
    text-align: center;
    letter-spacing: 0.05em;
}

.flow-content h4 {
    margin: 0 0 10px 0;
    font-size: 1.2rem;
    color: #1a1a1a;
}

.flow-content p {
    margin: 0;
    color: #555;
    line-height: 1.6;
}

/* -------------------------------------
 * 7. FAQ Section
 * ------------------------------------- */
.faq-container {
    padding: 0 20px;
}

.faq-item {
    margin-bottom: 20px;
    background: rgba(40, 40, 40, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
}

.faq-q {
    padding: 25px 30px;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 500;
    display: flex;
    align-items: flex-start;
    line-height: 1.6;
}

.faq-q span {
    color: #d4b170;
    font-weight: 600;
    font-size: 1.4rem;
    margin-right: 15px;
    line-height: 1;
}

.faq-a {
    padding: 0 30px 25px 30px;
    color: #ccc;
    font-size: 1rem;
    line-height: 1.8;
    display: flex;
    align-items: flex-start;
}

.faq-a span {
    color: rgba(255,255,255,0.4);
    font-weight: 600;
    font-size: 1.4rem;
    margin-right: 15px;
    line-height: 1;
}

@media (max-width: 768px) {
    .hero-content {
        padding: 40px 25px !important;
    }
    .requirement-box {
        padding: 40px 25px !important;
    }
    .step-card {
        padding: 40px 25px !important;
    }
    .flow-item {
        flex-direction: column;
        padding: 25px;
    }
    .flow-step {
        margin-bottom: 15px;
    }
    .flow-item::after {
        left: 40px;
    }
    .faq-q, .faq-a {
        padding: 20px;
    }
}

/* -------------------------------------
 * 8. Privacy Policy Section
 * ------------------------------------- */
.stoneage-privacy-wrapper {
    background: #fafaf9 !important;
    padding: 80px 20px !important;
}

.privacy-container {
    background: #ffffff;
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 50px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.04);
}

.privacy-title {
    font-size: 2rem !important;
    text-align: center;
    color: #1a1a1a !important;
    margin-bottom: 40px !important;
    position: relative;
    padding-bottom: 20px;
}

.privacy-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: #d4b170;
}

.privacy-intro {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.9;
    margin-bottom: 50px;
    text-align: justify;
}

.privacy-section {
    margin-bottom: 40px;
}

/* シンプルでエレガントな見出しデザイン */
.privacy-section-title {
    font-size: 1.25rem !important;
    color: #1a1a1a !important;
    background: rgba(212, 177, 112, 0.08);
    padding: 15px 20px;
    border-left: 4px solid #d4b170;
    margin-bottom: 20px !important;
    font-weight: 500;
    letter-spacing: 0.05em;
    border-radius: 0 8px 8px 0;
}

.privacy-section-content {
    font-size: 1.05rem;
    color: #444;
    line-height: 1.8;
    padding: 0 10px;
}

.privacy-section-content p {
    margin-bottom: 15px;
}

.privacy-section-content ul {
    list-style-type: none;
    padding-left: 0;
    margin-top: 15px;
}

.privacy-section-content ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 1.5em;
}

/* 箇条書きのドットをアクセントカラーに */
.privacy-section-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 6px;
    height: 6px;
    background-color: #d4b170;
    border-radius: 50%;
}

/* 問い合わせ枠のエレガントなデザイン */
.privacy-contact {
    margin-top: 30px;
    padding: 30px 40px;
    background: #ffffff;
    border: 1px solid rgba(212, 177, 112, 0.3);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.02);
}

.privacy-contact p {
    margin: 8px 0 0;
    font-size: 1.05rem;
    color: #444;
}

.privacy-contact .contact-title {
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 15px;
    font-size: 1.15rem;
}

@media (max-width: 768px) {
    .privacy-container {
        padding: 40px 25px;
    }
    .privacy-title {
        font-size: 1.6rem !important;
    }
    .privacy-contact {
        padding: 25px;
    }
}
