/* ==========================================================================
   Variables & Reset (Theme: Chic Deep Blue)
   ========================================================================== */
:root {
    /* Deep Midnight Blue Palette */
    --color-bg: #050a14;        /* Deepest navy, almost black */
    --color-bg-alt: #0c1221;    /* Slightly lighter dark navy for alternate sections */
    --color-bg-card: #131b2e;   /* Card background */
    --color-bg-input: #1a243b;
    
    --color-text: #ffffff;
    --color-text-mutes: #a5b4c9; /* Blue-tinted grey for better harmony */
    
    /* Luxury Gold */
    --color-gold: #c6a856;
    --color-gold-hover: #b5952f;
    
    /* Borders & Accents */
    --color-border: #23304a;    /* Blue-tinted border */
    
    --font-sans: 'Noto Sans JP', sans-serif;
    --font-serif: 'Noto Serif JP', serif;
    
    --container-width: 1000px;
    --spacing-section: 100px;
}

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

/* スマホの横揺れを防止するための設定 */
html, body {
    overflow-x: hidden;
    width: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.8;
    letter-spacing: 0.05em;
    -webkit-font-smoothing: antialiased;
}

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

ul {
    list-style: none;
}

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

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%; /* 横揺れ防止 */
}

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

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

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

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

.sp-only {
    display: none;
}

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

/* ==========================================================================
   Components
   ========================================================================== */
/* Buttons */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-gold) 0%, #9e8226 100%);
    color: #050a14; /* Dark text for contrast against gold */
    font-weight: 700;
    padding: 18px 40px;
    border-radius: 2px;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(198, 168, 86, 0.2);
    text-align: center;
    min-width: 280px;
}

@media (max-width: 768px) {
    .btn-primary {
        padding: 3% !important;
        width: 95% !important;
        font-size: 4.5vw !important;
    }
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(198, 168, 86, 0.4);
    filter: brightness(1.1);
}

.btn-large {
    font-size: 1.25rem;
    padding: 20px 50px;
    width: 100%;
    max-width: 400px;
}

/* Section Titles */
.section {
    padding: var(--spacing-section) 0;
    border-bottom: 1px solid rgba(165, 180, 201, 0.05);
}

.section-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    color: #fff;
    letter-spacing: 0.05em;
    position: relative;
    text-transform: uppercase;
    line-height: 1.4;
}

.section-title .eng-title {
    display: block;
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--color-gold);
    margin-bottom: 15px;
    letter-spacing: 0.05em;
    font-weight: 400;
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background-color: rgba(5, 10, 20, 0.9); /* Transparent Deep Blue */
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #fff;
}

.header-btn {
    font-size: 0.85rem;
    border: 1px solid var(--color-text-mutes);
    color: var(--color-text);
    padding: 8px 20px;
    border-radius: 2px;
}

.header-btn:hover {
    background-color: #fff;
    color: var(--color-bg);
    border-color: #fff;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient: Center slightly lighter blue -> Edge deep dark blue */
    background: radial-gradient(circle at center, #111e38 0%, #050a14 100%);
    z-index: 1;
}

/* Abstract geometric background accent */
.hero-overlay::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    background: repeating-linear-gradient(
        45deg,
        rgba(255,255,255,0.02),
        rgba(255,255,255,0.02) 1px,
        transparent 1px,
        transparent 50px
    );
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding-top: 60px;
}

.hero-sub {
    font-size: 1rem;
    margin-bottom: 20px;
    font-weight: 500;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 4rem;
    line-height: 1.3;
    margin-bottom: 30px;
    font-weight: 700;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--color-text-mutes);
    margin-bottom: 50px;
}

.cta-note {
    font-size: 0.8rem;
    color: var(--color-text-mutes);
    margin-top: 15px;
}

.br-sp {
    display: none;
}

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

    .hero-title {
        font-size: 7.2vw;
        line-height: 1.4;
    }
    .hero-desc {
        font-size: 3.5vw;
    }

    .hero-sub {
        font-size: 3.5vw;
    }
}


/* Problem Cards */
#problem .section-title {
    color: #959595;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.problem-card {
    background: #161b22;
    padding: 40px 30px;
    border-top: 3px solid var(--color-gold);
}

.problem-card p {
    color:#959595;
}

.problem-icon {
    font-size: 2rem;
    color: var(--color-gold);
    margin-bottom: 20px;
    line-height: 1;
}

.problem-card h3 {
    margin-bottom: 15px;
    position: relative;
	border-bottom: 2px solid rgba(221, 221, 221, 0.3);
	padding: 10px 0;
    font-family: var(--font-serif);
}

.problem-card h3::before {
    position: absolute;
	left: 0;
	bottom: -2px;
	width: 20%;
	height: 2px;
	content: '';
	background: var(--color-gold);
}

@media (max-width: 768px) {
    #problem {
        padding: 15% 0;
    }

    #problem .section-title {
        font-size: 6.5vw;
        line-height: 1.4;
    }

    .problem-grid {
        display: block;
    }

    .problem-card:not(:last-child) {
        margin-bottom: 10%;
    }

    .section-title .eng-title {
        font-size: 4vw;
    }
}

/* ==========================================================================
   Strategy
   ========================================================================== */
.strategy-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
}

.row-reverse {
    flex-direction: row-reverse;
}

.strategy-text {
    flex: 1;
}

.strategy-text p {
    background-color: var(--color-bg);
    padding: 20px 20px;
    border-radius: 2px;
    color: var(--color-text-mutes);
    border: 1px solid var(--color-border);
    text-align: justify;
    font-size: 1rem;
}

.step-num {
    font-size: 3rem;
    font-weight: 900;
     color: rgba(107, 107, 107, 0.2);
    display: block;
    line-height: 1;
}

.strategy-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    margin-top: 10px;
    line-height: 1.5;
    color: var(--white);
    font-family: var(--font-serif);
}

.strategy-image {
    flex: 1;
    height: 300px;
    border: 1px solid #333;
    background: #1c222d;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

/* 背景画像の指定 */
.strategy-image1 {
    background-image: url(./images/strategy-pic1.jpeg);
}

.strategy-image2 {
    background-image: url(./images/strategy-pic2.jpeg);
}

.strategy-image3 {
    background-image: url(./images/strategy-pic3.jpeg);
}

@media (max-width: 768px) {
    #strategy {
        padding: 15% 0;
    }

    #strategy .section-title {
        font-size: 6.5vw;
    }

    .strategy-row {
        display: block;
    }

    .strategy-row:last-child {
        margin-bottom: 0;
    }

    .strategy-image {
        height: 200px;
        margin-top: 20px;
    }

    .strategy-text h3 {
        line-height: 1.4;
    }
}

/* ==========================================================================
   Success Cases
   ========================================================================== */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.case-card {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    padding: 30px 25px;
    position: relative;
}

.tag {
    background-color: var(--color-bg);
    padding: 2px 8px;
    border-radius: 2px;
    color: var(--color-text-mutes);
    border: 1px solid var(--color-border);
    font-size: 0.75rem;
    margin-left: -5px;
    margin-bottom: 10px;
    display: inline-block;
}

.case-desc {
    font-size: 0.9rem;
    color: var(--color-text-mutes);
    line-height: 1.6;
}

.case-company {
    font-weight: 900;
    font-size: 1.15rem;
    margin-bottom: 5px;
}

.case-result {
    font-weight: 700;
    color: var(--color-gold);
    margin-bottom: 15px;
    border-bottom: 1px solid var(--color-text-mutes);
    padding-bottom: 10px;
}

.case-result span {
    font-size: 1.4rem;
}

@media (max-width: 768px) {
    #success {
        padding: 15% 0;
    }

    #success .section-title {
        font-size: 7vw;
    }
}


/* ==========================================================================
   Eligibility (WHO WE ARE LOOKING FOR)
   ========================================================================== */
#eligibility {
    padding: 100px 0;
}

.eligibility-box {
    background: #0d1425; /* 深紺色 */
    border: 1px solid var(--color-gold);
    padding: 60px 40px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

/* 金の枠線の装飾 */
.eligibility-box::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid rgba(198, 168, 86, 0.2);
    pointer-events: none;
}

.eligibility-title {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: 0.1em;
}

.eligibility-lead {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 40px;
    color: #fff;
}

.eligibility-list {
    list-style: none;
    max-width: 700px;
    margin: 0 auto 40px;
    text-align: left;
    padding: 0;
}

.eligibility-list li {
    padding: 20px 0 20px 35px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    font-size: 1rem;
    color: #fff;
    line-height: 1.6;
}

.eligibility-list li::before {
    content: "✓";
    position: absolute;
    left: 5px;
    color: var(--color-gold);
    font-weight: 900;
    font-size: 1.2rem;
}

.eligibility-list li:last-child {
    border-bottom: none;
}

.eligibility-footer {
    margin-top: 30px;
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.8;
    color: #fff;
}

@media (max-width: 768px) {
    #eligibility {
        padding: 15% 0;
    }

    .eligibility-box {
        padding: 40px 20px;
        margin: 0 10px;
    }

    .eligibility-title {
        font-size: 6vw;
    }

    .eligibility-lead {
        font-size: 3.5vw;
        line-height: 1.5;
    }

    .eligibility-list li {
        font-size: 3.8vw;
        line-height: 1.5;
        padding: 15px 0 15px 30px;
    }

    .eligibility-footer {
        font-size: 3.5vw;
        line-height: 1.5;
    }
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-section {
    background: linear-gradient(rgba(5, 10, 20, 0.85), rgba(5, 10, 20, 0.9)), url('./images/cta-bg.jpeg') no-repeat center center/cover;
    padding: 100px 0;
    text-align: center;
    border-top: 1px solid var(--color-border);
}

.cta-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    line-height: 1.5;
    margin-bottom: 30px;
    color: #fff;
}

.cta-text {
    margin-bottom: 40px;
    font-size: 1rem;
    color: var(--color-text-mutes);
}

.cta-sub {
    margin-top: 20px;
    font-size: 0.8rem;
    color: #64748b;
}

@media (max-width: 768px) {
    .cta-title {
        font-size: 7vw;
    }

    #cta {
        padding: 15% 0;
    }

    .cta-text {
        font-size: 3.5vw;
    }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    padding: 60px 0 30px;
    background-color: #020408;
    text-align: center;
    border-top: 1px solid var(--color-border);
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--color-text-mutes);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
    margin-bottom: 40px;
    font-size: 0.85rem;
    color: #64748b;
}

.copyright {
    font-size: 0.75rem;
    color: #475569;
}

@media (max-width: 600px) {
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
}