/* ==========================================================================
   Buttons
   ========================================================================== */
.c-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 700;
    transition: var(--transition-base);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.c-btn--primary {
    background-color: var(--color-brand);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
}
.c-btn--primary:hover {
    background-color: var(--color-brand-dark);
    transform: translateY(-2px);
}

.c-btn--white {
    background-color: var(--color-white);
    color: var(--color-brand-dark);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.c-btn--white:hover {
    background-color: #f0f9ff;
    transform: translateY(-2px);
}

.c-btn--outline {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    color: var(--color-text-light);
}
.c-btn--outline:hover {
    border-color: var(--color-brand);
    color: var(--color-brand);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* ==========================================================================
   Section Headers (Common)
   ========================================================================== */
.c-section-header {
    text-align: center;
    margin-bottom: 60px;
}
.c-section-header__sub {
    display: block;
    color: var(--color-brand);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.c-section-header__title {
    font-size: 32px;
    font-weight: 700;
    color: #1e293b;
    position: relative;
    display: inline-block;
}
@media (max-width: 768px) {
    .c-section-header { margin-bottom: 40px; }
    .c-section-header__title { font-size: 24px; }
}

/* ==========================================================================
   Page Header (下層ページ用MV)
   ========================================================================== */
.c-page-header {
    position: relative;
    padding: 100px 20px;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

/* 背景画像 + オーバーレイ */
.c-page-header__bg {
    position: absolute;
    inset: 0;
    background-image: var(--page-header-bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

/* オーバーレイ */
.c-page-header__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}

/* テキストは前面に */
.c-page-header__sub,
.c-page-header__title {
    position: relative;
    z-index: 2;
}
.c-page-header__title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}
.c-page-header__sub {
    font-size: 1rem;
    color: var(--color-brand);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
@media (max-width: 768px) {
    .c-page-header { padding: 40px 0; }
    .c-page-header__title { font-size: 1.8rem; }
}

/* ==========================================================================
   Breadcrumbs
   ========================================================================== */
.c-breadcrumbs {
    background-color: var(--color-white);
    padding: 15px 0;
    font-size: 12px;
    color: var(--color-text-light);
    border-bottom: 1px solid var(--color-border);
}
.c-breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}
.c-breadcrumbs li:not(:last-child)::after {
    content: '\f054'; /* FontAwesome Chevron Right */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-left: 10px;
    font-size: 10px;
    opacity: 0.5;
}
.c-breadcrumbs a:hover {
    color: var(--color-brand);
    text-decoration: underline;
}

/* ==========================================================================
   Common Heading Styles
   ========================================================================== */
/* h2相当 */
.c-heading-primary {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    border-left: 6px solid var(--color-brand);
    padding-left: 16px;
    margin-bottom: 30px;
    line-height: 1.4;
}

/* h3相当 */
.c-heading-secondary {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.c-heading-secondary::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    background-color: var(--color-brand);
    border-radius: 50%;
}

        /* ==========================================================================
           2. Header
           ========================================================================== */
        .header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: var(--header-height);
            background-color: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            box-shadow: 0 1px 3px rgba(0,0,0,0.05);
            z-index: 1000;
            display: flex;
            align-items: center;
        }
        .header__inner {
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 100%;
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 20px;
        }
        .header__logo {
            display: flex;
            align-items: center;
            gap: 12px;
        }
        .header__logo-icon {
            width: 40px;
            height: 40px;
            background-color: var(--color-brand);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 18px;
        }
        .header__logo-text h1 {
            font-size: 20px;
            font-weight: 700;
            line-height: 1.2;
            color: #1e293b;
        }
        .header__logo-text p {
            font-size: 10px;
            font-weight: 700;
            color: var(--color-text-light);
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

        .gnav {
            display: flex;
            align-items: center;
            gap: 32px;
        }
        @media (max-width: 1024px) {
            .gnav { display: none; }
        }

        .gnav__link {
            font-size: 14px;
            font-weight: 700;
            color: var(--color-text);
            position: relative;
            padding: 10px 0;
        }
        /* Underline animation only for non-dropdown items */
        .gnav__link:not(.has-dropdown)::after {
            content: '';
            position: absolute;
            bottom: 0; left: 0; width: 0; height: 2px;
            background-color: var(--color-brand);
            transition: width 0.3s ease;
        }
        .gnav__link:not(.has-dropdown):hover::after { width: 100%; }
        .gnav__link:hover { color: var(--color-brand); }

        /* Dropdown */
        .gnav__item { position: relative; }
        .dropdown {
            position: absolute;
            top: 100%;
            left: 50%;
            transform: translateX(-50%) translateY(10px);
            width: 280px;
            background: white;
            border: 1px solid var(--color-border);
            border-radius: 12px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            padding: 8px;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }
        .gnav__item:hover .dropdown {
            opacity: 1;
            visibility: visible;
            transform: translateX(-50%) translateY(0);
        }
        .dropdown__link {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 16px;
            border-radius: 8px;
            transition: var(--transition-base);
        }
        .dropdown__link:hover {
            background-color: var(--color-bg-alt);
            color: var(--color-brand);
        }
        .dropdown__bar {
            width: 4px; height: 24px;
            background-color: var(--color-border);
            border-radius: 4px;
            transition: var(--transition-base);
        }
        .dropdown__link:hover .dropdown__bar { background-color: var(--color-brand); }
        .dropdown__info span {
            display: block; font-size: 10px; color: var(--color-text-light); line-height: 1.2;
        }
        .dropdown__info strong { font-size: 14px; font-weight: 700; }

        .header__hamburger {
            display: none;
            background: none; border: none; cursor: pointer;
            width: 40px; height: 40px; position: relative; z-index: 1100;
        }
        @media (max-width: 1024px) {
            .header__hamburger { display: block; }
        }
        .header__hamburger span {
            display: block; width: 24px; height: 2px;
            background-color: #1e293b;
            position: absolute; left: 8px; transition: var(--transition-base);
        }
        .header__hamburger span:nth-child(1) { top: 14px; }
        .header__hamburger span:nth-child(2) { top: 19px; }
        .header__hamburger span:nth-child(3) { top: 24px; }
        .header__hamburger.is-active span:nth-child(1) { transform: rotate(45deg); top: 19px; }
        .header__hamburger.is-active span:nth-child(2) { opacity: 0; }
        .header__hamburger.is-active span:nth-child(3) { transform: rotate(-45deg); top: 19px; }

        /* Mobile Menu */
        .mobile-menu {
            position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
            background-color: white; z-index: 1050;
            display: flex; flex-direction: column; justify-content: center; align-items: center;
            opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
        }
        .mobile-menu.is-active { opacity: 1; pointer-events: auto; }
        .mobile-menu a { font-size: 18px; font-weight: 700; margin: 12px 0; }

        /* ==========================================================================
           9. Contact
           ========================================================================== */
        .contact { background-color: var(--color-brand-dark); color: white; text-align: center; }
        .contact__text { color: rgba(255,255,255,0.9); margin-bottom: 40px; }
        .contact__phones {
            display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-bottom: 40px;
        }
        @media (max-width: 768px) { .contact__phones { grid-template-columns: 1fr; } }
        
        .phone-box {
            background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.3);
            border-radius: 8px; padding: 30px;
        }
        .phone-box__area { font-size: 14px; opacity: 0.9; margin-bottom: 8px; }
        .phone-box__name { font-size: 20px; font-weight: 700; margin-bottom: 20px; }
        
        .phone-btn {
            display: flex; align-items: center; justify-content: center; gap: 10px;
            background: white; color: var(--color-brand-dark); font-weight: 700;
            padding: 12px; border-radius: 50px; transition: var(--transition-base);
            max-width: 300px; margin: 0 auto;
        }
        .phone-btn:hover { background: #f0f9ff; }

        /* ==========================================================================
           10. Footer
           ========================================================================== */
        .footer {
            background-color: #1e293b; color: #94a3b8; padding: 50px 0;
            text-align: center; font-size: 14px; border-top: 1px solid #334155;
        }
        .footer__nav {
            display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; margin-bottom: 30px;
        }
        .footer__nav a:hover { color: white; }