:root {
    --color-navy: #0a192f;
    --color-navy-light: #172a45;
    --color-gold: #d4af37;
    --color-gold-hover: #b5952f;
    --color-white: #ffffff;
    --color-gray-light: #f8f9fa;
    --color-text: #333333;
    --color-text-light: #8892b0;
    --font-main: 'Noto Sans JP', sans-serif;
}

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

body {
    font-family: var(--font-main);
    color: var(--color-text);
    line-height: 1.6;
    background-color: var(--color-white);
}

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

ul {
    list-style: none;
}

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

.container {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2rem;
    color: var(--color-navy);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

.text-gold {
    color: var(--color-gold);
}

.text-white {
    color: var(--color-white);
}

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

.bg-light {
    background-color: var(--color-gray-light);
}

.bg-navy {
    background-color: var(--color-navy);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background-color: var(--color-gold);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-gold-hover);
    transform: translateY(-2px);
}

.btn-gold {
    background-color: var(--color-gold);
    color: var(--color-white);
    font-size: 1.2rem;
    padding: 20px 50px;
}

/* Header */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.logo {
    font-size: 1.5rem;
    color: var(--color-navy);
}

.logo-sub {
    font-size: 0.8rem;
    color: var(--color-gold);
    margin-left: 10px;
    font-weight: 400;
}

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

.nav a {
    color: var(--color-navy);
    font-size: 0.9rem;
    font-weight: 500;
}

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

.nav-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* Hero */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--color-navy);
    /* Fallback */
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(10, 25, 47, 0.85), rgba(10, 25, 47, 0.8)), url('./assets/hero_bg.jpg');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--color-white);
}

.hero-title {
    font-size: 3.5rem;
    /* responsive */
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.4;
    letter-spacing: 0.05em;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    font-weight: 500;
    color: #e0e0e0;
}

.hero-desc {
    font-size: 1rem;
    margin-bottom: 40px;
    color: #cccccc;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    font-size: 1.2rem;
}

/* Mobile Menu Toggle (Hidden by default on desktop) */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--color-navy);
}

/* Grids */
.grid-2,
.grid-3,
.grid-4 {
    display: grid;
    gap: 30px;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Can Do Card */
.can-do-card {
    background: white;
    padding: 30px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
    border-bottom: 3px solid var(--color-gold);
    transition: 0.3s;
    height: 100%;
}

.can-do-card:hover {
    transform: translateY(-5px);
}

.icon-box {
    font-size: 2.5rem;
    color: var(--color-gold);
    margin-bottom: 15px;
}

.can-do-card h4 {
    color: var(--color-navy);
    margin-bottom: 10px;
    font-size: 1.1rem;
    font-weight: 700;
}

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

/* Problem Cards */
.problem-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: 0.3s;
}

.problem-card:hover {
    transform: translateY(-5px);
}

.problem-card .icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

/* Strength Cards */
.strength-card {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    border-top: 5px solid var(--color-gold);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.card-number {
    font-size: 3rem;
    color: rgba(212, 175, 55, 0.2);
    font-weight: 700;
    line-height: 1;
    margin-bottom: -20px;
}

.strength-card h4 {
    font-size: 1.3rem;
    color: var(--color-navy);
    margin-bottom: 20px;
}

/* Service List */
.service-list {
    max-width: 800px;
    margin: 0 auto;
}

.service-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
}

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

.service-item h4 {
    font-size: 1.4rem;
    color: var(--color-white);
    margin-bottom: 10px;
}

.service-item p {
    color: var(--color-text-light);
}

/* Profile */
.profile-grid {
    align-items: center;
}

.profile-image img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.profile-box {
    margin-top: 30px;
    padding: 20px;
    background: var(--color-gray-light);
    border-radius: 8px;
    border-left: 4px solid var(--color-navy);
}

.profile-box h4 {
    font-size: 1.2rem;
    color: var(--color-navy);
    margin-bottom: 5px;
}

.profile-box .small {
    font-size: 0.9rem;
    margin-top: 10px;
}

/* Footer */
.footer {
    background-color: var(--color-navy);
    color: var(--color-white);
    padding: 60px 0 20px;
}

.footer-title {
    font-size: 2rem;
    margin-bottom: 20px;
}

.footer-cta {
    margin: 30px 0 10px;
}

.footer-note {
    font-size: 0.8rem;
    color: var(--color-text-light);
    margin-bottom: 40px;
}

.footer-copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    font-size: 0.8rem;
    color: var(--color-text-light);
}

/* Responsive */
@media (max-width: 768px) {
    .nav {
        display: none;
    }

    /* Hide details for simplicity in this demo, usually add burger menu JS */

    .mobile-menu-toggle {
        display: flex;
    }

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

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

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .profile-grid {
        display: flex;
        flex-direction: column-reverse;
    }
}

/* Contact Form */
.contact-form-wrapper {
    max-width: 900px;
    margin: 30px auto 40px;
    text-align: left;
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 15px;
    font-weight: bold;
    color: var(--color-white);
    font-size: 1.1rem;
}

.required {
    color: #ff6b6b;
    margin-left: 5px;
}

.form-group input,
.form-group textarea {
    display: block;
    width: 100%;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    font-size: 1.2rem;
    background: rgba(255, 255, 255, 0.95);
    box-sizing: border-box;
    /* Ensure padding includes in width */

}

.form-group textarea {
    resize: vertical;
}

.form-submit {
    display: block;
    width: 100%;
    max-width: 400px;
    margin: 30px auto 0;
    padding: 15px;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    transition: 0.3s;
}

.form-submit:hover {
    background-color: var(--color-gold-hover);
    transform: translateY(-2px);
}

.btn-glossy {
    background: linear-gradient(135deg, #d4af37 0%, #f3e5ab 50%, #b8860b 100%);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.btn-glossy:hover {
    background: linear-gradient(135deg, #f3e5ab 0%, #d4af37 50%, #b8860b 100%);
    transform: translateY(-2px);
}

.btn-glossy::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: 0.5s;
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }

    20% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}

/* Utilities */
.sp-br {
    display: none;
}

@media (max-width: 768px) {
    .sp-br {
        display: inline;
    }
}

/* Article Styles */
.article-page {
    padding-top: 120px;
    background-color: #fafbfc;
}

.article-container {
    max-width: 800px;
}

.article-content {
    background: var(--color-white);
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.article-header {
    margin-bottom: 40px;
    text-align: left;
}

.article-meta {
    display: flex;
    justify-content: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    color: var(--color-text-light);
    font-size: 0.9rem;
}

.article-meta .category {
    background: rgba(212, 175, 55, 0.1);
    color: var(--color-gold);
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: bold;
}

.article-title {
    font-size: 2.2rem;
    color: var(--color-navy);
    line-height: 1.4;
    margin-bottom: 30px;
}

.article-hero-img,
.article-image-box {
    margin: 30px 0;
    text-align: center;
}

.article-rounded-img {
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    aspect-ratio: 1920 / 1280;
    object-fit: cover;
}

.article-body {
    font-size: 1.1rem;
    line-height: 2.0;
    /* Increased line-height */
    color: #444;
}

.article-body p {
    margin-bottom: 30px;
    /* Increased bottom margin */
}

.lead {
    font-weight: 500;
    font-size: 1.2rem;
    color: var(--color-navy-light);
}

/* TOC */
.toc {
    background: var(--color-gray-light);
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid var(--color-gold);
    margin: 40px 0;
}

.toc-title {
    font-size: 1.2rem;
    color: var(--color-navy);
    margin-bottom: 15px;
}

.toc ul {
    padding-left: 20px;
}

.toc li {
    margin-bottom: 10px;
    list-style-type: decimal;
}

.toc a {
    color: var(--color-text);
    text-decoration: underline;
    text-decoration-color: rgba(0, 0, 0, 0.2);
}

.toc a:hover {
    color: var(--color-gold);
}

/* Article Headings */
.article-h2 {
    font-size: 1.8rem;
    color: var(--color-white);
    background: var(--color-navy);
    padding: 15px 20px;
    border-radius: 4px;
    margin: 50px 0 25px;
}

.article-h3 {
    font-size: 1.4rem;
    color: var(--color-navy);
    border-bottom: 2px solid var(--color-gray-light);
    padding-bottom: 10px;
    margin: 40px 0 20px;
    border-left: 4px solid var(--color-gold);
    padding-left: 15px;
}

.highlight-navy {
    color: var(--color-navy);
}

/* Lists and Boxes */
.tool-list,
.check-list {
    margin-bottom: 30px;
    padding-left: 0;
}

.tool-list>li {
    background: var(--color-gray-light);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.tool-list>li>strong {
    font-size: 1.2rem;
    color: var(--color-navy);
    display: block;
    margin-bottom: 10px;
}

.tool-list ul {
    padding-left: 20px;
    list-style-type: disc;
}

.tool-list li li {
    margin-bottom: 15px;
    /* Increased from 5px to 15px for better line spacing between features and pricing */
    font-size: 1.05rem;
    line-height: 1.8;
}

.check-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    list-style-type: none;
}

.check-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--color-gold);
}

.warning-box,
.info-box {
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.warning-box {
    background-color: #fff3cd;
    border-left: 4px solid #ffecb5;
    color: #664d03;
}

.info-box {
    background-color: #e2e3e5;
    border-left: 4px solid #d3d6d8;
    color: #41464b;
}

.warning-box p,
.info-box p {
    margin-bottom: 0;
}

/* Article CTA */
.article-cta {
    margin-top: 60px;
    padding: 40px;
    background: linear-gradient(135deg, var(--color-navy) 0%, #1a365d 100%);
    text-align: center;
    border-radius: 12px;
    color: white;
}

.article-cta h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--color-gold);
}

.article-cta p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* Blog Cards on index.html */
.blog-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.blog-img-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.blog-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.blog-card:hover .blog-img-wrapper img {
    transform: scale(1.05);
}

.blog-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    font-size: 0.8rem;
    color: var(--color-text-light);
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
}

.blog-content h4 {
    font-size: 1.2rem;
    color: var(--color-navy);
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog-excerpt {
    font-size: 0.95rem;
    color: var(--color-text);
    margin-bottom: 20px;
    flex-grow: 1;
}

.blog-readmore {
    color: var(--color-gold);
    font-weight: bold;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-readmore:hover {
    color: var(--color-navy);
}

/* --- New Refined Split Hero --- */
.hero-split {
    position: relative;
    padding: 120px 0 80px 0;
    background-color: var(--color-navy);
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-split::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.05), transparent 40%);
    z-index: 1;
}

.hero-split-container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-split-text {
    flex: 1;
    max-width: 600px;
}

.hero-split-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    position: relative;
}

.hero-image-floating {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    animation: float 6s ease-in-out infinite;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(212, 175, 55, 0.15);
    color: var(--color-gold);
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 50px;
    margin-bottom: 25px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    letter-spacing: 0.05em;
}

.hero-title-refined {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 30px;
    letter-spacing: -0.02em;
    /* Enhanced White Glossy Effect */
    background: linear-gradient(135deg,
            #ffffff 0%,
            #f8f9fa 25%,
            #ced4da 45%,
            #ffffff 55%,
            #e9ecef 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    /* Softer shadow for PC */
    text-shadow:
        0px 2px 4px rgba(255, 255, 255, 0.5),
        0px 5px 15px rgba(255, 255, 255, 0.3);
}

.hero-desc-refined {
    font-size: 1.1rem;
    color: #cbd5e1;
    line-height: 1.8;
    margin-bottom: 40px;
}

.btn-gold-glow {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-gold) 0%, #b8972e 100%);
    color: var(--color-navy);
    font-weight: 700;
    padding: 16px 36px;
    border-radius: 50px;
    font-size: 1.1rem;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-gold-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(212, 175, 55, 0.5);
    color: var(--color-navy);
}

@media (max-width: 992px) {
    .hero-title-refined {
        /* Brighter shadow for mobile where the gradient might not pop as much */
        text-shadow:
            0px 2px 4px rgba(255, 255, 255, 0.8),
            0px 5px 20px rgba(255, 255, 255, 0.6),
            0px 10px 40px rgba(255, 255, 255, 0.3);
    }

    .hero-split-container {
        display: block;
        padding-top: 60px;
        min-height: 70vh;
        z-index: 2;
    }

    .hero-split-text {
        max-width: 100%;
        margin-bottom: 0;
        text-align: center;
        position: relative;
        z-index: 3;
    }

    .hero-badge {
        margin-bottom: 20px;
    }

    .hero-title-refined {
        font-size: 2.5rem;
    }

    .hero-split-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 0;
        justify-content: center;
        overflow: hidden;
    }

    .hero-image-floating {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 0;
        box-shadow: none;
        animation: none;
        border: none;
        opacity: 0.3;
        /* Darken the image so white text is readable */
    }

    /* Add a dark gradient overlay on mobile to ensure text readability over the background image */
    .hero-split::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(180deg, rgba(15, 23, 42, 0.8) 0%, rgba(15, 23, 42, 0.6) 100%);
        z-index: 1;
    }
}

@media (max-width: 768px) {
    .article-content {
        padding: 30px 20px;
    }

    .article-title {
        font-size: 1.6rem;
    }

    .article-h2 {
        font-size: 1.4rem;
    }
}