@charset "UTF-8";

/* ==============================
   Base
============================== */

:root {
    --color-bg: #fffdf5;
    --color-bg-soft: #f8f4e8;
    --color-main: #24356f;
    --color-main-dark: #171d3e;
    --color-accent: #c9b23f;
    --color-text: #242424;
    --color-muted: #666666;
    --color-border: #e2dfcf;
    --color-white: #ffffff;
    --shadow-card: 0 10px 24px rgba(36, 53, 111, 0.06);
    --shadow-hero: 0 12px 30px rgba(0, 0, 0, 0.25);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Hiragino Sans", "Yu Gothic", "YuGothic", "Meiryo", sans-serif;
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.8;
}

a {
    color: inherit;
}

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

a:focus-visible,
button:focus-visible {
    outline: 3px solid rgba(201, 178, 63, 0.9);
    outline-offset: 4px;
}

/* ==============================
   Header over hero
============================== */

.site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 40;
    background: transparent;
}

.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 26px 32px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(4px);
}

.site-nav a {
    color: var(--color-white);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.site-nav a:hover {
    border-bottom: 2px solid var(--color-accent);
}

.nav-toggle {
    display: none;
    border: none;
    border-radius: 999px;
    padding: 8px 13px;
    color: var(--color-white);
    background: rgba(0, 0, 0, 0.35);
    font-size: 1.35rem;
    cursor: pointer;
}

/* ==============================
   Hero
============================== */

.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    overflow: hidden;
    color: var(--color-white);
    display: flex;
    align-items: center;
}

.hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 0;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.30),
            rgba(0, 0, 0, 0.42)
        ),
        linear-gradient(
            to right,
            rgba(0, 0, 0, 0.30),
            rgba(0, 0, 0, 0.10)
        );
}

/* ==============================
   Hero brand: 左上
============================== */

.hero-company {
    position: absolute;
    top: 96px;
    left: 32px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 16px;
}

.hero-company__logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    flex-shrink: 0;
}

.hero-company__name {
    font-size: clamp(2rem, 3.2vw, 3.25rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0.04em;
    color: var(--color-white);
    text-shadow:
        0 4px 14px rgba(0, 0, 0, 0.55),
        0 1px 2px rgba(0, 0, 0, 0.8);
}

/* ==============================
   Hero content
============================== */

.hero__content {
    position: relative;
    z-index: 2;
    width: min(100%, 1120px);
    max-width: 1120px;
    margin: 0 auto;
    padding: 240px 32px 140px;
}

.hero__eyebrow {
    display: inline-block;
    margin: 0 0 26px;
    padding: 10px 18px;
    border: 1px solid rgba(255, 255, 255, 0.70);
    border-radius: 999px;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(4px);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
}

.hero__content h1 {
    margin: 0 0 28px;
    font-size: clamp(3rem, 6vw, 5.25rem);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: var(--color-white);
    text-shadow:
        0 4px 18px rgba(0, 0, 0, 0.55),
        0 1px 2px rgba(0, 0, 0, 0.9);
}

.hero__lead {
    margin: 0 0 36px;
    max-width: 780px;
    font-size: clamp(1.15rem, 2vw, 1.7rem);
    line-height: 1.9;
    font-weight: 700;
    color: var(--color-white);
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.55);
}

.hero__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* ==============================
   Hero service: 右下
============================== */

.hero-service {
    position: absolute;
    right: 36px;
    bottom: 24px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(6px);
}

.hero-service__logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
    flex-shrink: 0;
}

.hero-service__text {
    font-size: clamp(1rem, 1.4vw, 1.5rem);
    font-weight: 800;
    line-height: 1.3;
    color: var(--color-white);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

/* ==============================
   Buttons
============================== */

.btn,
.button-primary,
.button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 26px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: 0.02em;
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        background 0.18s ease;
}

.btn:hover,
.button-primary:hover,
.button-secondary:hover {
    transform: translateY(-2px);
}

.btn--primary,
.button-primary {
    background: var(--color-main);
    color: var(--color-white);
    box-shadow: 0 10px 24px rgba(36, 53, 111, 0.18);
}

.btn--ghost,
.button-secondary {
    color: var(--color-main);
    background: var(--color-white);
    border: 1px solid var(--color-border);
}

/* Hero内のボタンは白抜き基調 */
.hero .btn--primary,
.hero .button-primary {
    background: var(--color-white);
    color: var(--color-main);
    box-shadow: var(--shadow-hero);
}

.hero .btn--ghost,
.hero .button-secondary {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.7);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.pc-only {
    display: inline;
}

/* ==============================
   Layout sections
============================== */

.section {
    padding: 72px 20px;
}

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

.section-inner,
.cta-inner,
.footer-inner {
    max-width: 1120px;
    margin: 0 auto;
}

.section h2,
.cta-section h2 {
    margin: 0 0 18px;
    color: var(--color-main);
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    line-height: 1.4;
}

.lead {
    max-width: 820px;
    margin: 0 0 34px;
    color: var(--color-muted);
}

/* ==============================
   Cards
============================== */

.feature-grid,
.service-grid,
.article-list {
    display: grid;
    gap: 20px;
}

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

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

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

.feature-card,
.service-card,
.article-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 18px;
    padding: 24px;
    box-shadow: var(--shadow-card);
}

.feature-card h3,
.service-card h3,
.article-card h3 {
    margin: 0 0 12px;
    color: var(--color-main);
    line-height: 1.5;
}

.feature-card p,
.service-card p,
.article-card p {
    margin: 0;
}

.text-link {
    display: inline-block;
    margin-top: 14px;
    color: var(--color-main);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid var(--color-accent);
}

.text-link:hover {
    color: var(--color-accent);
}

.article-category {
    display: inline-block;
    margin: 0 0 10px;
    color: var(--color-accent);
    font-weight: 700;
    font-size: 0.9rem;
}

/* ==============================
   CTA
============================== */

.cta-section {
    padding: 76px 20px;
    background: var(--color-main);
    color: var(--color-white);
    text-align: center;
}

.cta-section h2 {
    color: var(--color-white);
}

.cta-section p {
    margin: 0;
}

.cta-section .btn--primary,
.cta-section .button-primary {
    margin-top: 18px;
    background: var(--color-white);
    color: var(--color-main);
}


/* ==============================
   Sub pages
============================== */

.site-header-sub {
    position: absolute;
}

.sub-hero {
    position: relative;
    padding: 150px 20px 86px;
    background:
        linear-gradient(
            135deg,
            rgba(36, 53, 111, 0.95),
            rgba(72, 86, 145, 0.88)
        );
    color: var(--color-white);
}

.sub-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 5px;
    background: linear-gradient(
        90deg,
        var(--color-accent),
        rgba(255, 255, 255, 0.7),
        var(--color-accent)
    );
}

.sub-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 1120px;
    margin: 0 auto;
}

.breadcrumb {
    margin: 0 0 28px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.82);
}

.breadcrumb a {
    color: var(--color-white);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.55);
}

.sub-hero__label {
    display: inline-block;
    margin: 0 0 16px;
    padding: 5px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.12);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.sub-hero h1 {
    margin: 0;
    font-size: clamp(2.1rem, 5vw, 4rem);
    line-height: 1.25;
}

.sub-hero__lead {
    max-width: 820px;
    margin: 24px 0 0;
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 2;
    color: rgba(255, 255, 255, 0.92);
}

.narrow {
    max-width: 860px;
}

.narrow p {
    margin: 0 0 1.4em;
}

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

.two-column {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
    gap: 32px;
    align-items: start;
}

.two-column p {
    margin: 0 0 1.4em;
}

.info-box {
    padding: 28px;
    border-radius: 20px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-card);
}

.info-box h3 {
    margin: 0 0 14px;
    color: var(--color-main);
}

.info-box p {
    margin: 0 0 18px;
}

.info-box__name {
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.6;
    color: var(--color-main);
}

/* ==============================
   Company page
============================== */

.company-table-wrap {
    overflow-x: auto;
    border-radius: 18px;
    border: 1px solid var(--color-border);
    background: var(--color-white);
    box-shadow: var(--shadow-card);
}

.company-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
}

.company-table th,
.company-table td {
    padding: 18px 20px;
    border-bottom: 1px solid var(--color-border);
    text-align: left;
    vertical-align: top;
}

.company-table tr:last-child th,
.company-table tr:last-child td {
    border-bottom: none;
}

.company-table th {
    width: 220px;
    color: var(--color-main);
    background: rgba(248, 244, 232, 0.75);
    font-weight: 800;
}

.company-table td {
    background: var(--color-white);
}

.company-table a {
    color: var(--color-main);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid var(--color-accent);
}

.company-note {
    margin: 18px 0 0;
    color: var(--color-muted);
    font-size: 0.92rem;
}

/* ==============================
   Media index
============================== */

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

.media-card {
    position: relative;
    min-height: 100%;
    padding: 28px;
    border-radius: 20px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-card);
}

.media-card h3 {
    margin: 0 0 14px;
    color: var(--color-main);
    line-height: 1.5;
    font-size: 1.18rem;
}

.media-card p {
    margin: 0;
}

.media-card .text-link {
    margin-top: 18px;
}

/* ==============================
   Article pages
============================== */

.article-section {
    padding: 72px 20px;
    background: var(--color-bg);
}

.article-layout {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 42px;
    align-items: start;
}

.article-toc {
    position: sticky;
    top: 24px;
    padding: 22px;
    border-radius: 18px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-card);
}

.article-toc__title {
    margin: 0 0 12px;
    color: var(--color-main);
    font-weight: 800;
}

.article-toc a {
    display: block;
    padding: 8px 0;
    color: var(--color-muted);
    text-decoration: none;
    border-bottom: 1px solid rgba(226, 223, 207, 0.7);
    font-size: 0.94rem;
    line-height: 1.6;
}

.article-toc a:last-child {
    border-bottom: none;
}

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

.article-body {
    padding: 44px;
    border-radius: 22px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-card);
}

.article-meta {
    margin: 0 0 28px;
    color: var(--color-muted);
    font-size: 0.92rem;
}

.article-body section {
    margin-top: 52px;
}

.article-body section:first-of-type {
    margin-top: 0;
}

.article-body h2 {
    margin: 0 0 22px;
    padding-left: 16px;
    border-left: 5px solid var(--color-accent);
    color: var(--color-main);
    font-size: clamp(1.45rem, 3vw, 2rem);
    line-height: 1.45;
}

.article-body p {
    margin: 0 0 1.45em;
}

.article-body ul {
    margin: 0 0 1.6em;
    padding-left: 1.4em;
}

.article-body li {
    margin: 0 0 0.7em;
}

.article-note {
    margin: 28px 0;
    padding: 22px 24px;
    border-radius: 18px;
    background: var(--color-bg-soft);
    border: 1px solid var(--color-border);
}

.article-note p {
    margin: 0;
}

.article-cta {
    margin-top: 58px;
    padding: 34px;
    border-radius: 22px;
    background:
        linear-gradient(
            135deg,
            rgba(36, 53, 111, 0.96),
            rgba(72, 86, 145, 0.90)
        );
    color: var(--color-white);
}

.article-cta h2 {
    margin: 0 0 16px;
    padding-left: 0;
    border-left: none;
    color: var(--color-white);
}

.article-cta p {
    margin: 0 0 24px;
}

.article-cta .btn--primary {
    background: var(--color-white);
    color: var(--color-main);
}

.article-nav {
    margin-top: 34px;
    display: flex;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.article-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    background: var(--color-bg-soft);
    color: var(--color-main);
    text-decoration: none;
    font-weight: 700;
    border: 1px solid var(--color-border);
}

.article-nav a:hover {
    background: var(--color-white);
}




/* ==============================
   Footer
============================== */

.site-footer {
    padding: 38px 20px;
    background: var(--color-main-dark);
    color: var(--color-white);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.footer-logo {
    margin: 0;
    font-weight: 700;
}

.footer-nav {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-nav a {
    color: var(--color-white);
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-nav a:hover {
    border-bottom: 1px solid var(--color-accent);
}

.copyright {
    width: 100%;
    margin: 8px 0 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}





/* ==============================
   Responsive: large tablet
============================== */

@media (max-width: 1100px) {
    .service-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero-company {
        top: 88px;
        left: 24px;
        gap: 12px;
    }

    .hero-company__logo {
        width: 52px;
        height: 52px;
    }

    .hero__content {
        padding: 210px 24px 130px;
    }

    .hero-service {
        right: 24px;
        bottom: 22px;
    }
}


/* ==============================
   Responsive: tablet
============================== */

@media (max-width: 900px) {
    .feature-grid,
    .article-list {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .header-inner {
        padding: 18px 20px;
    }

    .nav-toggle {
        display: block;
        margin-left: auto;
    }

    .site-nav {
        display: none;
        position: absolute;
        top: 64px;
        left: 20px;
        right: 20px;
        padding: 18px;
        border-radius: 18px;
        background: rgba(20, 24, 48, 0.92);
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a {
        width: 100%;
    }

    .hero {
        min-height: 92vh;
        min-height: 92svh;
    }

    .hero__bg {
        object-position: center center;
    }

    .hero-company {
        top: 82px;
        left: 22px;
    }

    .hero-company__logo {
        width: 48px;
        height: 48px;
    }

    .hero-company__name {
        font-size: clamp(1.65rem, 5vw, 2.35rem);
    }

    .hero__content {
        padding: 190px 22px 120px;
    }

    .sub-hero {
        padding: 130px 20px 72px;
    }

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

    .two-column {
        grid-template-columns: 1fr;
    }

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

   .article-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .article-toc {
        position: static;
    }

    .article-toc a {
        display: inline-block;
        margin-right: 14px;
        border-bottom: none;
    }

    .article-body {
        padding: 34px;
    }

}

/* ==============================
   Responsive: mobile
============================== */

@media (max-width: 640px) {
    .hero {
        min-height: 100vh;
        min-height: 100svh;
    }

    .hero__bg {
        object-position: center center;
    }

    .hero__overlay {
        background:
            linear-gradient(
                180deg,
                rgba(0, 0, 0, 0.34) 0%,
                rgba(0, 0, 0, 0.30) 28%,
                rgba(0, 0, 0, 0.68) 100%
            );
    }

    .hero-company {
        top: 78px;
        left: 16px;
        right: 16px;
        gap: 10px;
    }

    .hero-company__logo {
        width: 42px;
        height: 42px;
    }

    .hero-company__name {
        font-size: clamp(1.25rem, 6vw, 1.6rem);
        line-height: 1.2;
    }

    .hero__content {
        padding: 170px 18px 128px;
    }

    .hero__eyebrow {
        margin-bottom: 20px;
        padding: 8px 14px;
        font-size: 0.9rem;
    }

    .hero__content h1 {
        margin-bottom: 22px;
        font-size: clamp(2rem, 10vw, 3rem);
        line-height: 1.35;
    }

    .hero__lead {
        margin-bottom: 28px;
        font-size: 1rem;
        line-height: 1.9;
    }

    .hero__buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .btn,
    .button-primary,
    .button-secondary {
        width: 100%;
        min-height: 50px;
        padding: 0 18px;
        text-align: center;
    }

    .hero-service {
        left: 16px;
        right: 16px;
        bottom: 16px;
        justify-content: center;
        padding: 10px 14px;
    }

    .hero-service__logo {
        width: 38px;
        height: 38px;
    }

    .hero-service__text {
        font-size: 0.95rem;
        text-align: center;
    }

    .section {
        padding: 54px 18px;
    }

    .feature-grid,
    .service-grid,
    .article-list {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .pc-only {
        display: none;
    }

   .sub-hero {
        padding: 116px 18px 60px;
    }

    .breadcrumb {
        margin-bottom: 20px;
    }

    .sub-hero__lead {
        line-height: 1.9;
    }

    .service-grid-compact {
        grid-template-columns: 1fr;
    }

    .info-box {
        padding: 22px;
    }

    .company-table {
        min-width: 0;
    }

    .company-table,
    .company-table tbody,
    .company-table tr,
    .company-table th,
    .company-table td {
        display: block;
        width: 100%;
    }

    .company-table th {
        padding: 14px 16px 6px;
        border-bottom: none;
    }

    .company-table td {
        padding: 6px 16px 16px;
    }

    .company-table tr {
        border-bottom: 1px solid var(--color-border);
    }

    .company-table tr:last-child {
        border-bottom: none;
    }

    .company-table tr:last-child th,
    .company-table tr:last-child td {
        border-bottom: none;
    }

    .media-grid {
        grid-template-columns: 1fr;
    }

    .media-card {
        padding: 24px;
    }

    .article-section {
        padding: 54px 18px;
    }

    .article-toc {
        padding: 18px;
    }

    .article-body {
        padding: 26px 20px;
        border-radius: 18px;
    }

    .article-body section {
        margin-top: 42px;
    }

    .article-note {
        padding: 18px;
    }

    .article-cta {
        padding: 26px 20px;
    }

    .article-nav {
        flex-direction: column;
    }

    .article-nav a {
        width: 100%;
        justify-content: center;
        text-align: center;
    }


}

/* ==============================
   Reduced motion
============================== */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .btn,
    .button-primary,
    .button-secondary {
        transition: none;
    }

    .btn:hover,
    .button-primary:hover,
    .button-secondary:hover {
        transform: none;
    }
}