@charset "UTF-8";

/* ==========================================================================
   Variables (Yuhigaoka Identity)
   ========================================================================== */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 140px;
    /* 郢晏･繝｣郢敖郢晢ｽｼ邵ｺ・ｮ鬯ｮ蛟･・・+ 闖ｴ蜥丞項 */
    overflow-y: scroll !important;
}

body.is-subpage {
    overflow-x: visible !important;
    overflow-y: visible !important;
}

:root {
    --main-blue: #005A9C;
    --main-blue-dark: #004070;
    --main-blue-light: #e6eff7;
    --accent-orange: #F39C12;
    --cta-green: #28a745;
    --cta-green-hover: #218838;
    --bg-light: #F8FAFC;
    --bg-white: #FFFFFF;
    --text-dark: #1E293B;
    --text-gray: #64748B;
    --border-color: #E2E8F0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

    /* Typography */
    --base-font-size: 16px;
    --base-line-height: 1.8;
    --white: #FFFFFF;
    --font-serif: "Shippori Mincho", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;

    /* Executive Effects */
    --glow-accent: 0 0 20px rgba(243, 156, 18, 0.3);
    --glass-surface: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
}

.nowrap-phrase,
.no-break {
    display: inline-block;
}

/* Executive Micro-interactions */
.cta-btn,
.header-cta,
.form-submit {
    position: relative;
    overflow: hidden;
}

.cta-btn::after,
.header-cta::after,
.form-submit::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent 45%,
            rgba(255, 255, 255, 0.2) 50%,
            transparent 55%);
    transform: rotate(-45deg);
    transition: transform 0.6s ease, opacity 0.6s ease, background-color 0.6s ease, border-color 0.6s ease, box-shadow 0.6s ease, color 0.6s ease;
    pointer-events: none;
}

.cta-btn:hover::after,
.header-cta:hover::after,
.form-submit:hover::after {
    left: 100%;
    top: 100%;
}

.executive-card {
    background: var(--bg-white);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.executive-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-orange);
}

.executive-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-orange);
}

/* -----------------------------------------
   Step-type Diagnosis Tool Styles
   ----------------------------------------- */
.diag-section {
    padding: 100px 0;
    background: var(--main-blue-light);
    position: relative;
    overflow: hidden;
}

.diag-card {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-white);
    border-radius: 30px;
    padding: 50px;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.diag-progress-container {
    margin-bottom: 40px;
}

.diag-progress-bar {
    height: 8px;
    background: #E2E8F0;
    border-radius: 4px;
    overflow: hidden;
}

.diag-progress-fill {
    height: 100%;
    background: var(--main-blue);
    width: 0%;
    transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.diag-step {
    display: none;
    animation: fadeIn 0.5s ease both;
}

.diag-step.is-active {
    display: block;
}

.diag-question {
    font-family: var(--font-serif);
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--main-blue);
    margin-bottom: 30px;
    text-align: center;
}

.diag-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.diag-option {
    padding: 25px;
    border: 2px solid #E2E8F0;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition-base);
    text-align: center;
    background: #F8FAFC;
}

.diag-option:hover {
    border-color: var(--accent-orange);
    background: rgba(243, 156, 18, 0.05);
    transform: scale(1.02);
}

.diag-option i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.diag-option span {
    font-weight: 700;
    font-size: 1.1rem;
}

.diag-result {
    text-align: center;
}

.diag-result-title {
    font-family: var(--font-serif);
    font-weight: 800;
    font-size: 2rem;
    color: var(--main-blue);
    margin-bottom: 20px;
}

.diag-result-desc {
    font-size: 1.1rem;
    margin-bottom: 35px;
    line-height: 1.8;
}

/* [OLD FLOATING CTA BLOCK REMOVED AND CONSOLIDATED AT END] */

.executive-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--accent-orange);
    transition: height 0.4s ease;
}

.executive-card:hover::before {
    height: 100%;
}

/* Counter Animation Styles */
.stat-number {
    font-family: var(--font-serif);
    font-weight: 800;
    font-size: 3.5rem;
    color: var(--main-blue);
    line-height: 1;
    display: block;
}

.stat-unit {
    font-size: 1.2rem;
    font-weight: 700;
    margin-left: 4px;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Apply Serif to Headings */
h1,
h2,
h3,
.section-title,
.hero-title,
.manga-caption h3,
.footer-info h3 {
    font-family: var(--font-serif);
}

/* ==========================================================================
   Base Styles
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Inter", "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
    font-size: var(--base-font-size);
    line-height: var(--base-line-height);
    color: var(--text-dark);
    background-color: var(--bg-light);
}

a {
    color: var(--main-blue);
    text-decoration: none;
    transition: opacity 0.3s;
}

a:hover {
    opacity: 0.8;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

/* Feature Cards */
.feature-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.feature-card.accent-left {
    padding-left: 40px;
}

ul,
ol {
    list-style: none;
}

/* ==========================================================================
   Layout Components
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--main-blue);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--accent-orange);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
/* ==========================================================================
   Header & Navigation
   ========================================================================== */
header {
    position: fixed;
    top: 0;
    /* 陋ｻ譎・ｄ闖ｴ蜥ｲ・ｽ・ｮ */
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: top 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s ease;
    pointer-events: none;
    will-change: top;
}

header.is-scrolled,
body.is-subpage header {
    top: 20px;
}

.header-container {
    pointer-events: auto;
    transition: transform 0.4s ease, opacity 0.4s ease, background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, color 0.4s ease;
}

.header-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: auto;
    min-height: 110px;
    padding: 10px 60px;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    border: 1px solid transparent;
    max-width: 100%;
    margin: 0 auto;
    transition: background-color 0.4s ease, border-radius 0.4s ease, box-shadow 0.4s ease, max-width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

header.is-scrolled .header-inner,
body.is-subpage header .header-inner {
    background: rgba(255, 255, 255, 0.8);
    /* 郢ｧ蛹ｻ・企ｬｮ蛟･・樣ｨｾ荵励・陟趣ｽｦ邵ｺ・ｧ郢晏現ﾎ樒ｹ晢ｽｳ郢晉判笏郢ｧ蜻茨ｽｼ豕後・ */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 40px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.5);
    max-width: 1200px;
    padding: 10px 60px;
    /* 郢昜ｻ｣繝ｧ郢ｧ・｣郢晢ｽｳ郢ｧ・ｰ郢ｧ蝣､・ｵ・ｱ闕ｳﾂ */
}

body.is-subpage main {
    padding-top: 140px;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(0, 51, 102, 0.05);
}

.header-bottom {
    display: flex;
    justify-content: center;
    width: 100%;
    padding-top: 5px;
}

.logo img {
    height: 45px;
    transition: height 0.4s ease, filter 0.4s ease, opacity 0.4s ease;
}

header.is-scrolled .logo img,
body.is-subpage header .logo img {
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.35)) !important;
    height: 40px;
}

header:not(.is-scrolled):not(.is-subpage-header) .logo img {
    filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
    opacity: 0.9;
}

/* body.is-subpage header 邵ｺ・ｯ陝ｶ・ｸ邵ｺ・ｫ is-scrolled 邵ｺ・ｨ陷ｷ譴ｧ・ｧ蛟･繝ｻ髫穂ｹ昶螺騾ｶ・ｮ邵ｺ・ｫ邵ｺ蜷ｶ・狗ｸｺ貅假ｽ∫ｸｺ・ｮ髫ｱ・ｿ隰ｨ・ｴ */
body.is-subpage header:not(.is-scrolled) .logo img {
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.35)) !important;
    opacity: 1;
}

/* PC Navigation */
.gnav.pc-only {
    display: flex;
}

.gnav-list {
    display: flex;
    gap: 4px;
}

.gnav-item {
    position: relative;
}

.gnav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 12px;
    color: var(--text-dark);
    transition: transform 0.4s ease, opacity 0.4s ease, background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, color 0.4s ease;
}

header.is-scrolled .gnav-link,
body.is-subpage header .gnav-link {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.32) !important;
    color: var(--text-dark);
}

header.is-scrolled .gnav-link span,
body.is-subpage header .gnav-link span {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.32) !important;
}

header:not(.is-scrolled):not(.no-hero) .gnav-link {
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 0, 0, 0.3);
}

body.is-subpage header:not(.is-scrolled) .gnav-link {
    color: var(--text-dark);
    text-shadow: none !important;
}

.gnav-link span {
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
}

.gnav-link small {
    font-size: 10px;
    font-weight: 600;
    color: var(--main-blue);
    opacity: 0.6;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 2px;
    transition: transform 0.4s ease, opacity 0.4s ease, background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, color 0.4s ease;
}

body:not(.is-subpage) header:not(.is-scrolled) .gnav-link small {
    color: #fff;
    opacity: 0.8;
}

body:not(.is-subpage) header:not(.is-scrolled) .gnav-link:hover small {
    opacity: 1;
}

.gnav-link:hover {
    background: rgba(0, 90, 156, 0.05);
    transform: translateY(-2px);
}

body:not(.is-subpage) header:not(.is-scrolled) .gnav-link:hover {
    background: rgba(255, 255, 255, 0.15);
}

.gnav-link:hover span {
    color: var(--main-blue);
}

body:not(.is-subpage) header:not(.is-scrolled) .gnav-link:hover span {
    color: #fff;
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 240px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), background-color 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), color 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1100;
    border: 1px solid rgba(0, 90, 156, 0.1);
    padding: 8px 0;
    margin-top: 5px;
    /* 髫包ｽｪ郢晢ｽ｡郢昜ｹ斟礼ｹ晢ｽｼ邵ｺ・ｨ邵ｺ・ｮ鬮｢阮吮・陝・ｻ｣・闖ｴ蜻ｵ・｣霈費ｽ定ｬ問・笳・ｸｺ蟶吮命邵ｺ・､邵ｲ窶捐ver陋ｻ・､陞ｳ螢ｹ窶ｲ陋ｻ繝ｻ・檎ｸｺ・ｪ邵ｺ繝ｻ・ｷ譎槫ｱｬ */
}

/* 郢晏ｸ吶Σ郢晢ｽｼ陋ｻ・､陞ｳ螢ｹ・帝け・ｭ隰問・笘・ｹｧ荵昶螺郢ｧ竏壹・鬨ｾ荵励・邵ｺ・ｪ隶門玄・ｸ・｡邵ｺ繝ｻ*/
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 15px;
}

.gnav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item a {
    display: block;
    padding: 12px 20px;
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 500;
    transition: transform 0.2s, opacity 0.2s, background-color 0.2s, border-color 0.2s, box-shadow 0.2s, color 0.2s;
}

.dropdown-item a:hover {
    background: var(--main-blue-light);
    color: var(--main-blue);
    padding-left: 25px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-shrink: 0;
}

.header-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1.2;
}

.contact-label {
    font-size: 10px;
    font-weight: 700;
    color: var(--main-blue);
    opacity: 0.8;
    margin-bottom: 2px;
    transition: color 0.4s ease, text-shadow 0.4s ease, opacity 0.4s ease;
}

header.is-scrolled .contact-label {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25) !important;
}

body:not(.is-subpage) header:not(.is-scrolled) .contact-label {
    color: #fff;
    opacity: 0.9;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

.contact-tel {
    font-size: 20px;
    font-weight: 900;
    color: var(--text-dark);
    letter-spacing: 0.02em;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    display: inline-block;
    min-width: 140px;
    text-align: right;
    transition: color 0.4s ease;
}

header.is-scrolled .contact-tel {
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.38) !important;
}

body:not(.is-subpage) header:not(.is-scrolled) .contact-tel {
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 0, 0, 0.3);
}

.contact-tel:hover {
    color: var(--main-blue);
}

header:not(.is-scrolled) .contact-tel:hover {
    color: #fff;
    opacity: 0.8;
}

.header-cta {
    background: linear-gradient(135deg, var(--cta-green) 0%, var(--cta-green-hover) 100%);
    color: var(--white) !important;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 2px 4px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), background-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.header-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35), 0 8px 15px rgba(0, 0, 0, 0.15);
    filter: brightness(1.08);
}

.header-cta:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}


/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #000;
    padding: 0;
}

/* --- Hero Slider Base --- */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s;
    display: flex;
    align-items: center;
    z-index: 1;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Background Media Handling */
.hero-video-wrap,
.hero-image-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.hero-video,
.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

/* Overlay for text readability */
.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.1) 60%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 620px;
    margin-left: 8%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease 0.5s, transform 1s ease 0.5s;
}

.hero-slide.is-active .hero-content {
    opacity: 1;
    transform: translateY(0);
}

/* Slide 1 & 3 Adjustment (Move Left) */
.hero-slide.hero-slide-adjust-left .hero-content {
    margin-left: 3%;
}

/* Slide Adjustment (Move Right) */
.hero-slide.hero-slide-adjust-right .hero-content {
    margin-left: auto;
    margin-right: 3%;
}

@media screen and (min-width: 769px) {
    .hero-content {
        margin-top: 120px;
        /* 鬩･髦ｪ竊醍ｹｧ鄙ｫ・帝￡・ｺ陞ｳ貅倪・髫暦ｽ｣雎ｸ蛹ｻ笘・ｹｧ荵昶螺郢ｧ繝ｻ20px邵ｺ・ｫ髫ｱ・ｿ隰ｨ・ｴ */
    }
}

.hero-content h1,
.hero-content .hero-title {
    font-size: 2.8rem;
    margin-bottom: 25px;
    color: #fff;
    line-height: 1.3;
    font-weight: 900;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.hero-content h1 .highlight,
.hero-content .hero-title .highlight {
    color: var(--accent-orange);
    font-size: 1.2em;
    font-weight: 900;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

/* Hero Dots (Navigation) */
.hero-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 20;
}



/* ==========================================================================
   CTA Buttons
   ========================================================================== */
.no-break {
    display: inline-block;
}

.cta-btn {
    display: inline-block;
    background-color: var(--cta-green);
    color: var(--white);
    padding: 20px 40px;
    font-size: 1.4rem;
    font-weight: bold;
    border-radius: 50px;
    box-shadow: 0 15px 35px rgba(40, 167, 69, 0.45), 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), background-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-align: center;
}

.cta-btn:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(40, 167, 69, 0.5), 0 12px 25px rgba(0, 0, 0, 0.2);
    filter: brightness(1.08);
    color: var(--white);
}

.cta-btn:active {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(40, 167, 69, 0.3);
}

.cta-area {
    text-align: center;
    margin: 40px 0;
}

.question-text {
    line-height: 1.6;
}

.btn-answer {
    display: block;
    width: 100%;
    margin: 10px 0;
    padding: 18px;
    border-radius: 50px;
    /* 闕ｳ・ｸ邵ｺ・ｿ郢ｧ蜻域亜邵ｺ貅倪雷邵ｺ・ｦ髫包ｽｪ邵ｺ蜉ｱ竏ｩ郢ｧ繝ｻ笘・ｸｺ繝ｻ*/
    border: 2px solid var(--main-blue);
    background: #fff;
    color: var(--main-blue);
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    /* 郢ｧ・ｫ郢晢ｽｼ郢ｧ・ｽ郢晢ｽｫ郢ｧ蜻域ｬ邵ｺ・ｮ陟厄ｽ｢邵ｺ・ｫ */
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), background-color 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), color 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.btn-answer:hover {
    background: var(--main-blue);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 90, 156, 0.3);
    border-color: var(--main-blue);
}

.btn-answer:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 90, 156, 0.2);
}

.btn-game-cta:hover {
    transform: translateY(-3px);
    filter: brightness(1.1);
}

/* ==========================================================================
   Tables (Responsive)
   ========================================================================== */
.table-wrapper {
    overflow-x: auto;
    margin-bottom: 30px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

th,
td {
    padding: 20px;
    border: 1px solid var(--border-color);
    text-align: left;
}

th {
    background-color: var(--main-blue);
    color: var(--white);
    white-space: nowrap;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

/* ==========================================================================
   Footer & Sticky
   ========================================================================== */
footer {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 60px 0 100px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}

.footer-info {
    flex: 1;
}

.footer-form {
    flex: 1;
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    color: var(--text-dark);
}

.footer-info h3 {
    margin-bottom: 20px;
    color: var(--accent-orange);
}

.footer-info p {
    font-size: 16px;
    line-height: 2;
}

/* Footer CTA Container (New) */
.footer-cta-container {
    display: none; /* Hidden on PC by default */
    flex: 1;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 60px;
    /* display: flex; REMOVED to hide on PC */
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-cta-container p {
    color: #fff;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    font-weight: 500;
}

.footer-cta-container .cta-btn {
    min-width: 320px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 16px;
}

.form-submit {
    display: block;
    width: 100%;
    background-color: var(--cta-green);
    color: var(--white);
    padding: 20px;
    border: none;
    border-radius: 50px;
    font-size: 1.4rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 15px 30px rgba(40, 167, 69, 0.4), 0 5px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), background-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    margin-top: 20px;
}

.form-submit:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(40, 167, 69, 0.5), 0 10px 20px rgba(0, 0, 0, 0.2);
    filter: brightness(1.08);
}

.form-submit:active {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(40, 167, 69, 0.3);
}

/* Hamburger Menu (Mobile) */
/* Hamburger Menu (Mobile) */
.hamburger {
    display: none;
    width: 32px;
    height: 24px;
    position: relative;
    cursor: pointer;
    z-index: 1100;
}

.hamburger span {
    display: block;
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--main-blue);
    border-radius: 4px;
    transition: transform 0.4s, opacity 0.4s, background-color 0.4s, border-color 0.4s, box-shadow 0.4s, color 0.4s;
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 10px;
}

.hamburger span:nth-child(3) {
    bottom: 0;
}

.hamburger.is-active span:nth-child(1) {
    transform: translateY(10px) rotate(-45deg);
}

.hamburger.is-active span:nth-child(2) {
    opacity: 0;
}

.hamburger.is-active span:nth-child(3) {
    transform: translateY(-11px) rotate(45deg);
}

/* Duplicated .form-submit removed */

/* Sticky Footer */
.sticky-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: var(--white);
    display: none;
    /* Hide by default (PC) */
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   Project Specific Overrides (LP_5 Alignment)
   ========================================================================== */
/* Align Header Logo more to the left (Match LP_5) */
.header-container {
    max-width: 1300px !important;
}

.header-inner {
    padding: 10px 40px !important;
}

/* Align Hero Text Box more to the left (Match LP_5) */
.hero-slide .container {
    max-width: 100% !important;
    padding: 0 !important;
}

/* Ensure hero content margin is relative to screen */
.hero-content {
    margin-left: 8%;
    /* Match LP_5 standard */
}

/* Specific Adjustment for Slide 1 & 3 (User requested earlier + LP_5 alignment) */
/* Since container is now full width, 8% is quite left. 3% would be extremely left. */
/* Resetting the specialized adjustment to be consistent or slightly modified if needed. */
/* Keeping the selector but maybe resetting the value if 3% is too much on full width. */
/* Let's trust 8% first as it matches LP_5. If overlap occurs, we adjust. */
.hero-slide.hero-slide-adjust-left .hero-content {
    margin-left: 8%;
    /* Reset to standard 8% now that container is full width */
}

.sticky-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    position: relative;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.1);
}

.sticky-tel {
    background-color: var(--main-blue);
    color: var(--white);
}

.sticky-mail {
    background-color: var(--cta-green);
    color: var(--white);
}

.sticky-item i {
    font-size: 24px;
    margin-bottom: 5px;
}

/* Utility */
.sp-only {
    display: none;
}

.tb-sp-only {
    display: none;
}

.tb-only {
    display: none;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */
@media screen and (max-width: 1024px) {

    .tb-sp-only,
    .tb-only {
        display: block !important;
    }

    .gnav-list {
        gap: 2px;
    }

    .gnav-link {
        padding: 8px 8px;
    }

    .gnav-link span {
        font-size: 13px;
    }

    .header-contact .tel-link {
        font-size: 20px;
    }

    .header-cta {
        padding: 10px 15px;
        font-size: 14px;
    }

    .hero-content {
        max-width: 500px;
        padding: 40px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }
}

@media screen and (max-width: 768px) {
    .tb-only {
        display: none !important;
    }

    .pc-only {
        display: none !important;
    }

    .sp-only {
        display: block !important;
    }

    .sticky-footer {
        display: flex;
    }

    .header-inner {
        flex-direction: row !important;
        justify-content: space-between !important;
        height: 60px !important;
        min-height: auto !important;
        padding: 0 20px !important;
        border-radius: 30px !important;
        background: #fff !important;
        position: relative;
        z-index: 1200;
    }

    .header-top {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        padding-bottom: 0 !important;
        border-bottom: none !important;
    }

    .header-bottom {
        display: none !important;
    }

    header {
        top: 0;
    }

    .logo img {
        height: 40px;
        filter: none !important;
        opacity: 1 !important;
    }

    .header-cta {
        display: none;
        /* 郢ｧ・ｹ郢晄ｧｭ繝ｻ邵ｺ・ｧ邵ｺ・ｯ郢晏･繝｣郢敖郢晢ｽｼ陷繝ｻTA郢ｧ蟶晏恚邵ｺ蜻ｻ・ｼ蛹ｻ繝ｵ郢昴・縺｡郢晢ｽｼ陜暦ｽｺ陞ｳ螢ｹ窶ｲ邵ｺ繧・ｽ狗ｸｺ貅假ｽ√・繝ｻ*/
    }

    .gnav-sp {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--white);
        transition: right 0.4s;
        z-index: 999;
        padding: 100px 40px;
        pointer-events: auto;
        overflow-y: auto;
        /* Enable scrolling */
        -webkit-overflow-scrolling: touch;
        /* Smooth scrolling for iOS */
    }

    .gnav-sp.is-active {
        right: 0;
    }

    .gnav-list-sp {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .gnav-list-sp li a {
        display: block;
        padding: 15px 0;
        color: var(--text-dark);
        font-weight: bold;
        font-size: 1.1rem;
        border-bottom: 1px solid var(--border-color);
    }

    .hamburger {
        display: block;
        width: 24px;
        height: 18px;
        position: relative;
        cursor: pointer;
        pointer-events: auto;
        z-index: 1200;
    }

    .hamburger span {
        display: block;
        width: 100%;
        height: 2px;
        background: var(--main-blue);
        position: absolute;
        left: 0;
        transition: transform 0.4s, opacity 0.4s, background-color 0.4s, border-color 0.4s, box-shadow 0.4s, color 0.4s;
    }

    header:not(.is-scrolled) .hamburger span {
        background-color: var(--main-blue);
    }

    .hamburger span:nth-child(1) {
        top: 0;
    }

    .hamburger span:nth-child(2) {
        top: 8px;
    }

    .hamburger span:nth-child(3) {
        top: 16px;
    }

    .hamburger.is-active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.is-active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.is-active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero {
        height: auto;
        background-position: center top;
    }

    .hero-content {
        margin: 0 20px !important;
        padding: 40px 20px !important;
        padding-top: 100px !important;
        text-align: center !important;
        max-width: calc(100% - 40px) !important;
    }

    .hero-content h1,
    .hero-content .hero-title {
        font-size: 1.8rem !important;
        line-height: 1.5 !important;
        margin-bottom: 20px !important;
        text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.3) !important;
    }

    .hero-content p {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
        margin-bottom: 25px !important;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
    }

    .footer-cta-container {
        width: 100%;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-left: 0;
        padding-top: 40px;
        display: flex; /* Ensure it is visible on mobile */
    }

    .footer-cta-container .cta-btn {
        width: 100%;
        min-width: auto;
    }
}

/* ==========================================================================
   Additional Layout Fixes & UI Components
   ========================================================================== */

/* 隴帶ｻ・応陷ｻ鬘碑｡咲ｹｧ・｢郢晢ｽｩ郢晢ｽｼ郢昴・*/
.deadline-alert {
    background: #FFEBEE;
    border: 3px solid #e74c3c;
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    margin-top: 20px;
    position: relative;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.1);
}

@media screen and (max-width: 768px) {
    .deadline-alert {
        margin-top: 10px;
        padding: 30px 20px;
    }
}

/* 霎滂ｽ｡騾槭・ﾂ蜻篠・ｧ郢ｧ・ｭ郢晢ｽ｣郢晢ｽｪ郢ｧ・｢郢ｧ・､郢晢ｽｩ郢ｧ・ｹ郢晞メ・ｪ・ｿ隰ｨ・ｴ */
.asymptomatic-image img {
    max-width: 280px;
    border-radius: 0;
    border: none;
    box-shadow: none;
}

/* 陟｢繝ｻ・ｦ竏ｵ蠍碁ｬ俶ｧｭ繝ｻ郢晢ｽｼ郢ｧ・ｸ郢晢ｽｻ郢ｧ・ｫ郢晢ｽｼ郢晏ｳｨ縺堤ｹ晢ｽｪ郢昴・繝ｩ */
.card-grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.styled-list li {
    position: relative;
    padding-left: 1.5em;
    margin-bottom: 10px;
    line-height: 1.6;
}

.styled-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-orange);
    font-weight: bold;
}

/* ==========================================================================
   Manga Section
   ========================================================================== */

/* Manga Section */
.manga-grid {
    display: flex;
    flex-direction: column;
    gap: 60px;
    margin-top: 40px;
}

.manga-item {
    display: flex;
    align-items: center;
    gap: 40px;
}

.manga-reverse {
    flex-direction: row-reverse;
}

.manga-img {
    flex: 1;
    max-width: 50%;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.manga-caption {
    flex: 1;
}

.manga-caption h3 {
    font-size: 1.8rem;
    color: var(--main-blue);
    margin-bottom: 20px;
    line-height: 1.4;
}

.manga-caption p {
    font-size: 1.1rem;
    line-height: 1.8;
}



/* Responsive Manga */
@media screen and (max-width: 768px) {

    .manga-item,
    .manga-reverse {
        flex-direction: column;
        gap: 20px;
    }

    .manga-img {
        max-width: 100%;
    }

    .manga-caption h3 {
        font-size: 1.5rem;
    }
}

/* ==========================================================================
   Hero Animation (Ken Burns Effect)
   ========================================================================== */
@keyframes kenburns {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}



/* Mobile Sticky CTA Enhancement */
@media screen and (max-width: 768px) {
    .sticky-cta {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        padding: 10px;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        gap: 10px;
    }

    .sticky-cta a {
        flex: 1;
        padding: 12px;
        border-radius: 8px;
        text-align: center;
        text-decoration: none;
        font-weight: bold;
        font-size: 0.9rem;
    }

    .sticky-cta .tel-btn {
        background: var(--main-blue);
        color: #fff;
    }

    .sticky-cta .form-btn {
        background: var(--accent-orange);
        color: #fff;
    }
}

/* Hero Text Visibility Enhancement */
.hero-title {
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5), 0 0 5px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

.hero-slide.is-active img.hero-video {
    animation: kenburns 10s ease-out forwards;
    transform-origin: center center;
}

/* ==========================================================================
   Glossary Page Styles (New)
   ========================================================================== */
.glossary-wrapper {
    background-color: var(--bg-light);
}

.glossary-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
    align-items: start;
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Sidebar TOC */
.glossary-toc {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 140px;
    /* Adjust for sticky header */
}

.glossary-toc h3 {
    font-size: 1.2rem;
    color: var(--main-blue);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-orange);
}

.toc-list li {
    margin-bottom: 12px;
}

.toc-list a {
    color: var(--text-gray);
    display: block;
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: 500;
    transition: transform 0.3s, opacity 0.3s, background-color 0.3s, border-color 0.3s, box-shadow 0.3s, color 0.3s;
    font-size: 0.95rem;
}

.toc-list a:hover {
    color: var(--main-blue);
    background: var(--main-blue-light);
    transform: translateX(5px);
}

/* Glossary Content */
.glossary-content {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.glossary-category {
    background: #fff;
    border-radius: 30px;
    padding: 40px;
    box-shadow: var(--shadow-md);
    /* For anchor scrolling */
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.category-icon {
    font-size: 2.2rem;
    background: var(--main-blue-light);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.category-title {
    font-size: 1.8rem;
    color: var(--main-blue);
    margin: 0;
    font-weight: 900;
}

/* Terms Grid */
.terms-grid {
    display: grid;
    gap: 25px;
}

.term-card {
    background: #fdfdfd;
    border: 1px solid #f0f0f0;
    border-left: 5px solid var(--main-blue);
    border-radius: 12px;
    padding: 25px;
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), background-color 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), color 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.term-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background: #fff;
}

.term-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.term-dt {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
}

.term-dd {
    line-height: 1.8;
    color: #444;
    font-size: 1rem;
}

.term-dd strong {
    background: linear-gradient(transparent 60%, rgba(243, 156, 18, 0.3) 60%);
    font-weight: 700;
}

/* Illustration Styles */
.glossary-illustration {
    margin: 10px 0 25px 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    text-align: center;
    background: #fff;
    border: 1px solid #eee;
}

.glossary-illustration img {
    max-width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.glossary-category:hover .glossary-illustration img {
    transform: scale(1.02);
}

/* Responsive */
@media (max-width: 900px) {
    .glossary-layout {
        grid-template-columns: 1fr;
        padding: 40px 15px;
        gap: 30px;
    }

    .glossary-toc {
        display: none;
        /* Hide TOC on mobile for simplicity, or make it an accordion */
    }

    .category-title {
        font-size: 1.5rem;
    }

    .glossary-category {
        padding: 25px;
    }
}

/* ==========================================================================
   Premium Scroll Animations
   ========================================================================== */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.fade-in-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-delay-1 {
    transition-delay: 0.1s;
}

.stagger-delay-2 {
    transition-delay: 0.2s;
}

.stagger-delay-3 {
    transition-delay: 0.3s;
}

/* ========================================
   Mouse Follow Glow
   ======================================== */
.mouse-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 600px;
    height: 600px;
    margin-left: -300px;
    /* Center adjustment */
    margin-top: -300px;
    /* Center adjustment */
    background: radial-gradient(circle at center, rgba(0, 255, 200, 0.25) 0%, transparent 70%);
    z-index: 100;
    pointer-events: none;
    mix-blend-mode: normal;
    filter: blur(40px);
    opacity: 0;
    transition: opacity 0.6s ease;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    /* Force GPU */
}

.hero:hover .mouse-glow {
    opacity: 1;
}

/* ========================================
   Shimmer Effect
   ======================================== */
.shimmer-btn {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.shimmer-btn::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: rgba(255, 255, 255, 0.4);
    transform: rotate(30deg);
    animation: shimmer 3s infinite;
    will-change: left;
    pointer-events: none;
}

@keyframes shimmer {
    0% {
        left: -60%;
    }

    100% {
        left: 150%;
    }
}

/* Fix Floating CTA overlaps on Mobile */
@media (max-width: 768px) {
    .floating-cta {
        display: none !important;
    }
}








/* Premium Global Navigation Styles */
.section-nav-container { position: fixed; right: 10px; top: 50%; transform: translateY(-50%); z-index: 10020; display: flex; flex-direction: column; gap: 12px; }
.section-nav-dot { width: 12px; height: 12px; background: rgba(0,0,0,0.2); border: 2px solid #fff; border-radius: 50%; cursor: pointer; transition: all 0.3s ease; position: relative; }
.section-nav-dot:hover { background: var(--accent-orange, #f39c12); transform: scale(1.2); }
.section-nav-dot.is-active { background: var(--accent-orange, #f39c12); transform: scale(1.3); }
.section-nav-label { position: absolute; right: 24px; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.8); color: #fff; padding: 4px 8px; border-radius: 4px; font-size: 12px; white-space: nowrap; opacity: 0; pointer-events: none; transition: all 0.3s ease; }
.section-nav-dot:hover .section-nav-label { opacity: 1; right: 28px; }


/* ==========================================================================
   Floating UI & Navigation (Strict Viewport Control)
   ========================================================================== */

/* 1. Base Styles & Transitions */
.page-top-btn, 
.mobile-nav-container, 
.floating-cta {
  position: fixed !important;
  z-index: 10020 !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* 2. PC Mode (> 992px) */
@media (min-width: 993px) {
  /* Page Top - Bottommost */
  .page-top-btn {
    bottom: 30px !important;
    right: 30px !important;
    width: 60px !important;
    height: 60px !important;
    background: var(--main-blue) !important;
    color: #fff !important;
    border-radius: 50% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2) !important;
    opacity: 0;
    visibility: hidden;
  }
  .page-top-btn.is-visible { opacity: 1 !important; visibility: visible !important; }
  .page-top-btn:hover { background: var(--accent-orange) !important; transform: translateY(-5px) !important; }

  /* Floating CTA - Above Page Top */
  .floating-cta {
    bottom: 110px !important;
    right: 25px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
  
  /* Remove Phone CTA on PC */
  .f-cta-btn.tel { display: none !important; }
  
  /* Force Hide Mobile Menu on PC */
  .mobile-nav-container { display: none !important; }
  .sticky-footer { display: none !important; }
}

/* 3. Mobile Mode (< 992px) */
@media (max-width: 992px) {
  /* Sticky Footer - Bottommost */
  .sticky-footer {
    display: flex !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 70px !important;
    z-index: 10025 !important;
    background: #fff !important;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1) !important;
  }

  /* Mobile Nav Trigger - Above Sticky Footer */
  .mobile-nav-container {
    bottom: 85px !important;
    right: 15px !important;
    display: block !important;
    z-index: 10022 !important;
  }

  /* Page Top - Above Mobile Nav */
  .page-top-btn {
    bottom: 160px !important;
    right: 15px !important;
    width: 50px !important;
    height: 50px !important;
    background: var(--main-blue) !important;
    color: #fff !important;
    border-radius: 50% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    opacity: 0;
    visibility: hidden;
    z-index: 10021 !important;
  }
  .page-top-btn.is-visible { opacity: 1 !important; visibility: visible !important; }

  /* Hide Floating CTA on Mobile */
  .floating-cta { display: none !important; }
}

/* Shared Helpers & Mobile Menu Base */
.f-cta-btn {
  width: 70px !important; height: 70px !important; border-radius: 35px !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
  color: white !important; box-shadow: var(--shadow-lg) !important; text-decoration: none !important;
}
.f-cta-btn.form { background: var(--accent-orange) !important; }
.f-cta-btn.tel { background: var(--main-blue) !important; }
.f-cta-label {
  position: absolute !important; right: 85px !important; background: white !important; color: #333 !important;
  padding: 8px 15px !important; border-radius: 8px !important; white-space: nowrap !important;
  font-weight: 700 !important; box-shadow: var(--shadow-md) !important; opacity: 0;
  transform: translateX(20px) !important; transition: 0.3s !important; pointer-events: none !important;
}
.f-cta-btn:hover .f-cta-label { opacity: 1 !important; transform: translateX(0) !important; }

/* Mobile Menu Trigger & Dropdown Styles */
.mobile-nav-trigger { width: 60px; height: 60px; background: var(--accent-orange, #f39c12); color: #fff; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(0,0,0,0.2); border: 2px solid #fff; cursor: pointer; padding-top: 4px; }
.trigger-icon { width: 24px; height: 2px; background: #fff; position: relative; transition: all 0.3s; margin-bottom: 2px; }
.trigger-icon::before, .trigger-icon::after { content: ''; width: 24px; height: 2px; background: #fff; position: absolute; left: 0; transition: all 0.3s; }
.trigger-icon::before { top: -8px; }
.trigger-icon::after { top: 8px; }
.trigger-label { font-size: 10px; font-weight: bold; margin-top: 14px; letter-spacing: 0.05em; }
.mobile-nav-container.is-open .trigger-icon { background: transparent; }
.mobile-nav-container.is-open .trigger-icon::before { transform: rotate(45deg); top: 0; }
.mobile-nav-container.is-open .trigger-icon::after { transform: rotate(-45deg); top: 0; }

.mobile-nav-menu { position: absolute; bottom: 70px; right: 0; background: #fff; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.15); width: 220px; opacity: 0; visibility: hidden; transform: translateY(20px) scale(0.9); transition: all 0.3s cubic-bezier(0.16,1,0.3,1); overflow: hidden; }
.mobile-nav-container.is-open .mobile-nav-menu { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.mobile-nav-list { padding: 10px 0; list-style: none; margin: 0; }
.mobile-nav-item { display: flex; align-items: center; gap: 12px; padding: 12px 20px; color: #333; text-decoration: none; font-size: 14px; font-weight: 600; border-bottom: 1px solid #f0f0f0; }
.mobile-nav-item:last-child { border-bottom: none; }
.mobile-nav-item:active { background: #f8f9fa; }

/* 電話受付時間追加に伴う調整 */
.header-tel-label, .contact-label {
  display: block;
  font-size: 12px !important;
  color: var(--main-blue, #003366);
  margin-bottom: 2px;
  font-weight: 500;
  white-space: nowrap;
}

/* ==========================================================================
   Subpage Navigation (Prev / Next)
   ========================================================================== */
.subpage-nav {
    margin: 60px auto;
    padding: 0 20px;
}

.subpage-nav-inner {
    display: flex;
    gap: 20px;
    justify-content: space-between;
}

.nav-btn {
    flex: 1;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--main-blue);
    opacity: 0.3;
    transition: opacity 0.3s;
}

.nav-btn:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--main-blue);
}

.nav-btn:hover::before {
    opacity: 1;
}

.nav-btn.next::before {
    left: auto;
    right: 0;
}

.nav-label {
    font-size: 11px;
    font-weight: 800;
    color: var(--text-gray);
    letter-spacing: 0.1em;
    margin-bottom: 5px;
}

.nav-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--main-blue);
}

@media (max-width: 768px) {
    .subpage-nav {
        margin: 40px auto;
    }

    .subpage-nav-inner {
        flex-direction: column;
        gap: 15px;
    }

    .nav-btn {
        padding: 15px;
    }

    .nav-title {
        font-size: 14px;
    }
}
