@charset "UTF-8";

/* ==========================================================================
   EXTEND Co.,Ltd. - styles.css
   --------------------------------------------------------------------------
   目次
     01. VARIABLES
     02. BASE
     03. LAYOUT
     04. HEADER
     05. HERO
     06. CHALLENGES
     07. BRIDGE PANEL
     08. PHILOSOPHY
     09. SERVICES
     10. METHODOLOGY
     11. AI SECTION
     12. MSC
     13. NEWS
     14. FAQ
     15. COMPANY
     16. CONTACT
     17. FOOTER
     18. POLICY PAGE
     19. RESPONSIVE - TABLET (1180px)
     20. RESPONSIVE - MOBILE (940px)
     21. RESPONSIVE - MOBILE (680px)
     22. ACCESSIBILITY
   ========================================================================== */


/* ==========================================================================
   01. VARIABLES
   ========================================================================== */

:root {

    /* Brand Colors */
    --navy: #052e60;
    --navy-2: #0a4179;
    --blue: #078bd3;
    --blue-light: #48b8ed;

    /* Background Colors */
    --pale: #eef8ff;
    --pale-2: #f7fbfe;

    /* Border Color */
    --line: #cfe1ed;

    /* Text Colors */
    --text: #0a315d;
    --body: #324f68;

    /* Utility */
    --white: #ffffff;

    /* Effects */
    --shadow: 0 18px 48px rgba(5, 66, 113, .10);

}


/* ==========================================================================
   02. BASE
   ========================================================================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 86px;
}

body {
    margin: 0;

    font-family:
        "Meiryo UI",
        "Yu Gothic UI",
        "Yu Gothic",
        "Hiragino Kaku Gothic ProN",
        sans-serif;

    color: var(--text);
    background: #fff;
    line-height: 1.7;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

button,
input,
textarea {
    font: inherit;
}

button,
a {
    touch-action: manipulation;
}


/* ==========================================================================
   03. LAYOUT
   ========================================================================== */

/* Containers */

.content-wrap {
    width: min(1180px, 90vw);
    margin: auto;
}

.narrow {
    width: min(900px, 90vw);
}

/* Section */

.section {
    padding: 88px 0;
}

/* Section Heading */

.section-heading h2 {
    margin: 0;
    font-size: clamp(1.9rem, 3vw, 2.75rem);
    line-height: 1.35;
    letter-spacing: .01em;
}

.section-heading > p:last-child {
    margin: 15px 0 0;
    color: var(--body);
    font-size: 1rem;
}

/* Eyebrow Label */

.eyebrow {
    margin: 0 0 9px;
    color: var(--blue);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .18em;
}

.eyebrow.light {
    color: #8ddcff;
}

/* Split Heading (2カラム見出し) */

.split-heading {
    display: grid;
    grid-template-columns: minmax(270px, .72fr) 1.28fr;
    gap: 80px;
    align-items: start;
}

.heading-copy p {
    margin: 0 0 12px;
    color: var(--body);
    font-size: 1rem;
    line-height: 2;
}


/* ==========================================================================
   04. HEADER
   ========================================================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;

    height: 78px;

    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid #e4edf4;
    backdrop-filter: blur(14px);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 23px;

    width: min(1480px, 96vw);
    height: 100%;
    margin: auto;
}

/* Logo */

.brand {
    width: 320px;
    flex: 0 0 auto;
}

.brand img {
    width: 100%;
    height: 64px;
    object-fit: contain;
    object-position: left center;
}

/* Global Navigation */

.main-nav {
    display: flex;
    align-items: center;
    gap: 24px;

    margin-left: auto;

    font-size: .86rem;
    font-weight: 800;
    white-space: nowrap;
}

.main-nav a {
    position: relative;
    padding: 27px 0 23px;
    text-decoration: none;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a.active {
    color: var(--blue);
}

.main-nav a.active::after {
    content: "";

    position: absolute;
    left: 0;
    right: 0;
    bottom: 14px;

    height: 2px;
    background: var(--blue);
}

/* Contact Button */

.contact-btn {
    padding: 11px 18px;

    background: var(--navy);
    color: #fff;

    border-radius: 24px;
    text-decoration: none;

    font-size: .8rem;
    font-weight: 800;
}

.contact-btn:hover,
.contact-btn:focus-visible {
    background: var(--blue);
}

/* Hamburger Button */

.menu-btn {
    display: none;

    width: 46px;
    height: 46px;

    margin-left: auto;
    padding: 11px;

    border: 0;
    background: transparent;
    color: var(--navy);
    cursor: pointer;
}

.menu-btn span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: currentColor;
    transition: .2s;
}

.menu-btn[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-btn[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menu-btn[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* ==========================================================================
   05. HERO
   ========================================================================== */

.hero {
    position: relative;
    overflow: hidden;

    aspect-ratio: 1920 / 760;
    min-height: 570px;

    background-color: #fff;
    background-image:
        url("yokohama_aerial.png");

    background-repeat: no-repeat;
    background-position: 55% center;
    background-size: 105%;
}


/* 背景写真の上に重ねる白グラデーション */

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            #fff 0%,
            rgba(255, 255, 255, .98) 24%,
            rgba(255, 255, 255, .87) 44%,
            rgba(255, 255, 255, .25) 69%,
            rgba(255, 255, 255, 0) 100%
        );
}

.hero-inner {
    position: relative;

    display: flex;
    align-items: center;

    width: min(1240px, 90vw);
    height: 100%;
    margin: auto;
}

.hero-copy {
    position: relative;
    z-index: 2;
    width: min(760px, 68%);
}

.hero-kicker {
    margin: 0 0 16px;
    color: var(--blue);
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .18em;
}

.hero h1 {
    margin: 0 0 22px;
    font-size: clamp(2.35rem, 4.35vw, 4rem);
    line-height: 1.25;
    letter-spacing: .015em;
}

/* PCのみ「現場任せにも、IT任せにもしない。」を1行固定 */

@media (min-width: 941px) {

    .hero h1 span {
        color: var(--blue);
        white-space: nowrap;
    }

}

.hero-lead {
    margin: 0 0 17px;
    font-size: clamp(1.12rem, 1.8vw, 1.45rem);
    line-height: 1.65;
    font-weight: 800;
}

.hero-sub {
    max-width: 650px;
    margin: 0;
    color: var(--body);
    font-size: 1rem;
    line-height: 1.95;
    font-weight: 600;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 30px;
}

/* Buttons / Links */

.primary-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;
    padding: 11px 24px;

    background: var(--navy);
    color: #fff;

    border-radius: 26px;
    text-decoration: none;
    font-weight: 800;
}

.primary-link:hover,
.primary-link:focus-visible {
    background: var(--blue);
}

.text-link {
    text-decoration: none;
    font-weight: 800;
}

.text-link span {
    color: var(--blue);
}

/* 右下のキャッチコピー（半透明パネル） */

.hero-statement {
    position: absolute;
    right: 120px;
    bottom: 120px;

    margin: 0;
    padding: 14px 18px;

    color: #fff;
    font: italic 1.45rem/1.35 Georgia, serif;
    text-align: right;
    text-shadow: none;

    background: rgba(5, 46, 96, .45);
    backdrop-filter: blur(4px);
    border-left: 3px solid #48b8ed;

    transform: rotate(-4deg);
}


/* ==========================================================================
   06. CHALLENGES
   ========================================================================== */

.challenges {
    background: #fff;
}

.challenge-heading {
    max-width: 950px;
}

/* Cards */

.challenge-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 40px;
}

.challenge-grid article {
    position: relative;
    padding: 27px 25px 25px;

    border: 1px solid #c8ddea;
    border-radius: 14px;

    background: linear-gradient(180deg, #fff, #f7fbfe);
    box-shadow: 0 10px 28px rgba(5, 66, 113, .05);
}

.challenge-grid article > span {
    display: block;
    margin-bottom: 18px;
    color: var(--blue);
    font-size: .75rem;
    font-weight: 900;
    letter-spacing: .12em;
}

.challenge-grid h3 {
    margin: 0 0 12px;
    font-size: 1.08rem;
    line-height: 1.65;
}

.challenge-grid p {
    margin: 0;
    color: var(--body);
    font-size: .88rem;
    line-height: 1.85;
}

/* Conclusion */

.challenge-conclusion {
    margin-top: 28px;
    padding: 28px 32px;
    border-left: 5px solid var(--blue);
    background: var(--pale);
}

.challenge-conclusion p {
    margin: 0 0 5px;
    color: #315570;
    font-size: .9rem;
    font-weight: 700;
}

.challenge-conclusion strong {
    display: block;
    color: var(--navy);
    font-size: clamp(1.05rem, 1.7vw, 1.35rem);
    line-height: 1.75;
}


/* ==========================================================================
   07. BRIDGE PANEL  （経営・現場・IT をつなぐ図）
   ========================================================================== */

.bridge-panel {
    margin-top: 28px;
    padding: 35px 36px 30px;

    border: 1px solid #b9d7e9;
    border-radius: 16px;

    background: #fff;
    box-shadow: 0 14px 38px rgba(5, 66, 113, .07);
}

.bridge-title {
    display: grid;
    grid-template-columns: 170px 1fr;
    gap: 26px;
    align-items: end;
    margin-bottom: 28px;
}

.bridge-title p {
    margin: 0;
    color: var(--blue);
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .17em;
}

.bridge-title h3 {
    margin: 0;
    font-size: 1.35rem;
    line-height: 1.55;
}

/* Diagram */

.bridge-diagram {
    display: grid;
    grid-template-columns: 1fr 44px 1.15fr 44px 1fr 44px 1fr;
    align-items: stretch;
}

.bridge-party,
.bridge-core {
    display: flex;
    flex-direction: column;
    justify-content: center;

    min-height: 150px;
    padding: 22px 18px;

    border-radius: 12px;
    text-align: center;
}

.bridge-party {
    border: 1px solid #cbdde8;
    background: #f8fbfd;
}

.bridge-core {
    background: linear-gradient(145deg, var(--navy), #0879b7);
    color: #fff;
    box-shadow: 0 12px 28px rgba(5, 66, 113, .18);
}

.bridge-party span,
.bridge-core span {
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .08em;
}

.bridge-party span {
    color: var(--blue);
}

.bridge-core span {
    color: #9fe2ff;
}

.bridge-party strong,
.bridge-core strong {
    margin-top: 8px;
    font-size: .95rem;
    line-height: 1.5;
}

.bridge-party small,
.bridge-core small {
    margin-top: 8px;
    font-size: .75rem;
    line-height: 1.6;
}

.bridge-party small {
    color: #60798e;
}

.bridge-core small {
    color: #d8effa;
}

.bridge-arrow {
    display: grid;
    place-items: center;
    color: #6aaed3;
    font-size: 1.35rem;
    font-weight: 300;
}

.bridge-note {
    margin: 22px 0 0;
    color: var(--body);
    font-size: .9rem;
    line-height: 1.85;
    text-align: center;
}


/* ==========================================================================
   08. PHILOSOPHY
   ========================================================================== */

.philosophy {
    background: #fff;
}

/* 強調メッセージ（中央揃え） */

.philosophy-emphasis {
    max-width: 1060px;
    margin: 48px auto 0;
    padding: 24px 30px;

    border-top: 1px solid #9ccfe9;
    border-bottom: 1px solid #9ccfe9;

    color: #173f61;
    font-size: clamp(1.15rem, 1.8vw, 1.5rem);
    font-weight: 800;
    line-height: 1.9;
    letter-spacing: .01em;
    text-align: center;
}

.philosophy-emphasis strong {
    color: var(--blue);
    font-weight: 900;
}

/* 4ステップフロー */

.philosophy-flow {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 54px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.philosophy-flow article {
    position: relative;
    min-height: 245px;
    padding: 30px 25px;
}

.philosophy-flow article:not(:last-child) {
    border-right: 1px solid var(--line);
}

.philosophy-flow span {
    display: block;
    margin-bottom: 24px;
    color: var(--blue);
    font-size: .77rem;
    font-weight: 800;
    letter-spacing: .12em;
}

.philosophy-flow h3 {
    margin: 0 0 12px;
    font-size: 1.22rem;
}

.philosophy-flow p {
    margin: 0;
    color: var(--body);
    font-size: .93rem;
    line-height: 1.85;
}


/* ==========================================================================
   09. SERVICES
   ========================================================================== */

.core-business {
    position: relative;
    overflow: hidden;
    padding: 92px 0;
    background: linear-gradient(180deg, #f7fbfe 0%, #edf7fd 100%);
}

/* 背景のグリッド模様 */

.core-business::before {
    content: "";
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(rgba(17, 110, 171, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(17, 110, 171, .035) 1px, transparent 1px);

    background-size: 44px 44px;

    mask-image:
        linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}

.core-business .content-wrap {
    position: relative;
}

.service-heading {
    max-width: 830px;
    margin: 0 auto;
    text-align: center;
}

.service-heading > p:last-child {
    line-height: 1.9;
}

/* -------- Journey Cards -------- */

.journey {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 46px;
}

.journey-card {
    display: flex;
    flex-direction: column;

    min-height: 420px;
    padding: 27px 23px 23px;

    background: rgba(255, 255, 255, .96);
    border: 1px solid #b9d7e9;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(5, 74, 124, .06);
}

.journey-card.emphasized {
    border-color: #58afe0;
    box-shadow: var(--shadow);
}

.journey-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 36px;
}

.journey-head span {
    color: var(--blue);
    font-size: 2rem;
    font-weight: 300;
}

.journey-head small {
    color: #7295ad;
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .15em;
}

.journey-card h3 {
    margin: 0 0 10px;
    font-size: 1.3rem;
}

.journey-lead {
    min-height: 53px;
    margin: 0 0 18px;
    color: #315570;
    font-size: .91rem;
    font-weight: 800;
    line-height: 1.75;
}

.journey-card ul {
    margin: 0;
    padding: 17px 0 18px;
    list-style: none;
    border-top: 1px solid #dfebf3;
}

.journey-card li {
    position: relative;
    margin: 8px 0;
    padding-left: 17px;
    color: var(--body);
    font-size: .88rem;
}

.journey-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .72em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--blue);
}

.journey-card strong {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #dfebf3;
    color: #087dc0;
    font-size: .78rem;
    letter-spacing: .03em;
}

/* -------- Support Promise -------- */

.support-promise {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 60px;
    align-items: center;

    margin-top: 32px;
    padding: 34px 38px;

    color: #fff;
    border-radius: 16px;
    background: linear-gradient(115deg, var(--navy), #0879b7);
    box-shadow: var(--shadow);
}

.support-promise > div > p {
    margin: 0 0 8px;
    color: #85dafe;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .2em;
}

.support-promise h3 {
    margin: 0;
    font-size: 1.4rem;
    line-height: 1.6;
}

.support-promise > p {
    margin: 0;
    color: #d8effa;
    font-size: .94rem;
    line-height: 1.9;
}

/* -------- Coverage（主な対応領域） -------- */

.coverage {
    display: grid;
    grid-template-columns: 140px repeat(5, 1fr);
    margin-top: 22px;
    overflow: hidden;
    border: 1px solid #9acde8;
    border-radius: 8px;
    background: #fff;
}

.coverage strong,
.coverage span {
    display: grid;
    place-items: center;
    min-height: 58px;
    padding: 10px;
    text-align: center;
    font-size: .78rem;
}

.coverage strong {
    color: #fff;
    background: linear-gradient(135deg, #0865a8, #0b9ade);
}

.coverage span {
    border-left: 1px solid #d8e8f2;
    font-weight: 800;
}


/* ==========================================================================
   10. METHODOLOGY
   ========================================================================== */

.methodology {
    background: #fff;
}

.method-heading {
    margin-bottom: 44px;
}

/* Cards */

.method-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.method-grid > article {
    padding: 34px;
    border: 1px solid #b9d7e9;
    border-radius: 14px;
    background: linear-gradient(180deg, #fff, #f7fbfe);
    box-shadow: 0 12px 34px rgba(7, 73, 120, .06);
}

.method-number {
    margin: 0 0 7px;
    color: var(--blue);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .15em;
}

.method-grid h3 {
    margin: 0;
    font-size: 1.5rem;
}

.method-question {
    margin: 8px 0 24px;
    color: #284f6d;
    font-weight: 800;
}

/* Steps（1〜6のタグ） */

.method-grid ol {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
    counter-reset: method;
}

.method-grid li {
    counter-increment: method;
    padding: 8px 12px;
    border: 1px solid #badbed;
    border-radius: 20px;
    background: #fff;
    color: #315a77;
    font-size: .8rem;
    font-weight: 700;
}

.method-grid li::before {
    content: counter(method) ". ";
    color: var(--blue);
}

.method-grid article > p:last-child {
    margin: 0;
    color: var(--body);
    font-size: .94rem;
    line-height: 1.9;
}

/* Open Point（未決事項） */

.open-point {
    margin: 30px 0 0;
    padding: 34px 38px;
    border: 0;
    border-left: 5px solid var(--blue);
    background: var(--navy);
    color: #fff;
}

.open-point p {
    margin: 0;
    font-size: 1.12rem;
    line-height: 1.9;
}

.open-point strong {
    color: #8ddcff;
}

.open-point footer {
    margin-top: 12px;
    color: #cfe8f5;
    font-size: .84rem;
}

/* Principles */

.method-principles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 28px;
}

.method-principles article {
    padding: 25px 0;
    border-top: 2px solid var(--line);
}

.method-principles span {
    color: var(--blue);
    font-size: .75rem;
    font-weight: 800;
}

.method-principles h3 {
    margin: 8px 0;
    font-size: 1.08rem;
}

.method-principles p {
    margin: 0;
    color: var(--body);
    font-size: .9rem;
}


/* ==========================================================================
   11. AI SECTION
   ========================================================================== */

.ai-section {
    padding: 65px 0;
    background: linear-gradient(120deg, #052e60, #07548d);
    color: #fff;
}

.ai-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 80px;
    align-items: center;
}

.ai-grid h2 {
    margin: 0;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1.5;
}

.ai-grid > div:last-child p {
    margin: 0 0 12px;
    color: #d6eaf5;
    font-size: .98rem;
    line-height: 1.95;
}


/* ==========================================================================
   12. MSC（製造業ソリューションセンター）
   ========================================================================== */

.msc {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #eff9ff, #fff);
}

/* Header */

.msc-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 42px;
}

.msc-top h2 {
    margin: 0;
    font-size: clamp(1.8rem, 3vw, 2.55rem);
}

.msc-top > span {
    padding: 7px 14px;
    border: 1px solid #72bce7;
    border-radius: 20px;
    background: #fff;
    color: #087ec1;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .08em;
}

/* Layout */

.msc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.msc-copy h3 {
    margin: 0 0 17px;
    font-size: 1.55rem;
}

.msc-copy p {
    margin: 0 0 12px;
    color: var(--body);
    font-size: .96rem;
    line-height: 1.95;
}

/* Steps */

.msc-steps {
    margin: 0;
    padding: 0;
    list-style: none;
}

.msc-steps li {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 19px 0;
    border-bottom: 1px solid var(--line);
}

.msc-steps li:first-child {
    border-top: 1px solid var(--line);
}

.msc-steps > li > span {
    display: grid;
    place-items: center;
    width: 47px;
    height: 47px;
    flex: 0 0 47px;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    font-size: .75rem;
    font-weight: 800;
}

.msc-steps strong,
.msc-steps small {
    display: block;
}

.msc-steps small {
    margin-top: 3px;
    color: var(--body);
    font-size: .82rem;
}

/* Note */

.msc-note {
    margin: 38px 0 0;
    padding: 17px 20px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    text-align: center;
    color: #315772;
    font-size: .88rem;
    font-weight: 700;
}


/* ==========================================================================
   13. NEWS
   ========================================================================== */

.news {
    background: #fff;
}

.news-grid {
    display: grid;
    grid-template-columns: 210px 1fr;
    gap: 60px;
    align-items: start;
}

.news-grid h2 {
    margin: 0;
    font-size: 2rem;
}

.news-list article {
    display: grid;
    grid-template-columns: 120px 90px 1fr;
    gap: 18px;
    align-items: center;
    padding: 17px 0;
    border-bottom: 1px solid var(--line);
}

.news-list time {
    font-size: .84rem;
    font-weight: 700;
}

.news-list span {
    padding: 4px 8px;
    border-radius: 3px;
    background: #e3f3fc;
    color: #0878b7;
    text-align: center;
    font-size: .7rem;
    font-weight: 700;
}

.news-list p {
    margin: 0;
    font-size: .92rem;
}


/* ==========================================================================
   14. FAQ
   ========================================================================== */

.faq {
    background: var(--pale-2);
}

.faq .section-heading {
    text-align: center;
    margin-bottom: 34px;
}

.faq-list {
    border-top: 1px solid var(--line);
}

.faq-list details {
    background: #fff;
    border-bottom: 1px solid var(--line);
}

/* Question */

.faq-list summary {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 22px 20px;
    cursor: pointer;
    list-style: none;
    font-size: 1rem;
    font-weight: 800;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary > span,
.faq-answer > span {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    font-weight: 800;
}

.faq-list summary::after {
    content: "＋";
    margin-left: auto;
    color: var(--blue);
    font-size: 1.4rem;
    font-weight: 400;
}

.faq-list details[open] summary::after {
    content: "−";
}

/* Answer */

.faq-answer {
    display: flex;
    gap: 15px;
    padding: 0 20px 24px;
}

.faq-answer > span {
    background: #e8f6fd;
    color: var(--blue);
}

.faq-answer p {
    margin: 3px 0 0;
    color: var(--body);
    font-size: .94rem;
    line-height: 1.9;
}


/* ==========================================================================
   15. COMPANY
   ========================================================================== */

.company {
    background: #fff;
}

.company .section-heading {
    margin-bottom: 38px;
}

.company-layout {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 60px;
}

/* 会社概要テーブル */

.company-table dl {
    display: grid;
    grid-template-columns: 145px 1fr;
    margin: 0;
    padding: 17px 0;
    border-bottom: 1px solid var(--line);
}

.company-table dl:first-child {
    border-top: 1px solid var(--line);
}

.company-table dt {
    font-size: .9rem;
    font-weight: 800;
}

.company-table dd {
    margin: 0;
    color: var(--body);
    font-size: .93rem;
}

.company-table dd small {
    font-size: .8rem;
}

.company-table a {
    color: #0878b7;
}

/* 所在地カード */

.locations {
    display: grid;
    gap: 18px;
}

.locations article {
    padding: 25px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--pale-2);
}

.locations article > span {
    color: var(--blue);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .08em;
}

.locations h3 {
    margin: 7px 0 2px;
    font-size: 1rem;
}

.locations p {
    margin: 0;
    color: var(--body);
    font-size: .9rem;
    line-height: 1.8;
}

.locations a {
    display: inline-block;
    margin-top: 13px;
    color: #0878b7;
    font-size: .84rem;
    font-weight: 800;
}


/* ==========================================================================
   16. CONTACT
   ========================================================================== */

.contact-section {
    padding: 78px 0;
    background: linear-gradient(115deg, #052e60, #07548d);
    color: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

/* 左：説明文 */

.contact-copy h2 {
    margin: 0 0 17px;
    font-size: clamp(1.7rem, 2.7vw, 2.3rem);
    line-height: 1.5;
}

.contact-copy > p:not(.eyebrow) {
    color: #d5eaf5;
}

.contact-copy dl {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 8px 16px;
    margin-top: 30px;
}

.contact-copy dt {
    color: #8edcff;
    font-size: .8rem;
    font-weight: 800;
}

.contact-copy dd {
    margin: 0;
}

.contact-copy a {
    color: #fff;
    font-weight: 800;
}

/* 右：フォーム */

.contact-form {
    padding: 30px;
    border-radius: 14px;
    background: #fff;
    color: var(--text);
    box-shadow: 0 22px 55px rgba(0, 25, 54, .25);
}

/* Honeypot（スパム対策・画面外に隠す） */

.honeypot-field {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Fields */

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-form label {
    display: block;
    margin-bottom: 16px;
    font-size: .84rem;
    font-weight: 800;
}

.contact-form label b {
    margin-left: 5px;
    color: #c83f46;
    font-size: .68rem;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    display: block;
    width: 100%;
    margin-top: 7px;
    padding: 11px 12px;
    border: 1px solid #aac8dc;
    border-radius: 6px;
    background: #fff;
    color: #173c59;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: 3px solid rgba(7, 139, 211, .18);
    border-color: var(--blue);
}

/* Consent */

.contact-form .consent {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 2px 0 18px;
    font-weight: 400;
}

.consent input {
    margin-top: 6px;
}

.consent a {
    color: #0878b7;
}

/* Submit */

.contact-form button {
    width: 100%;
    min-height: 50px;
    border: 0;
    border-radius: 25px;
    background: var(--navy);
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}

.contact-form button:hover,
.contact-form button:focus-visible {
    background: var(--blue);
}

/* Note（reCAPTCHA表記など） */

.form-note {
    margin: 12px 0 0;
    color: #60798e;
    font-size: .74rem;
    line-height: 1.65;
}


/* ==========================================================================
   17. FOOTER
   ========================================================================== */

.site-footer {
    padding: 40px max(5vw, 20px) 18px;
    background: #fff;
    border-top: 1px solid #e1ebf2;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr .9fr;
    gap: 50px;
    max-width: 1320px;
    margin: auto;
}

.footer-inner img {
    width: 220px;
    height: 58px;
    object-fit: contain;
    object-position: left;
}

.footer-inner p {
    margin: 9px 0 0;
    color: #627c8f;
    font-size: .78rem;
}

.footer-inner nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
}

.footer-inner nav a {
    color: #36566e;
    text-decoration: none;
    font-size: .78rem;
}

.footer-inner nav a:hover {
    text-decoration: underline;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    max-width: 1320px;
    margin: 28px auto 0;
    padding-top: 16px;
    border-top: 1px solid #e5edf3;
    color: #718798;
    font-size: .72rem;
}

.footer-bottom a {
    text-decoration: none;
}


/* ==========================================================================
   18. POLICY PAGE（プライバシー / セキュリティ / 免責事項）
   ========================================================================== */

.policy-main {
    min-height: 70vh;
    padding: 75px 0;
    background: var(--pale-2);
}

.policy-card {
    width: min(900px, 90vw);
    margin: auto;
    padding: 46px 50px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 14px 35px rgba(5, 66, 113, .06);
}

.policy-card h1 {
    margin: 0 0 30px;
    font-size: 2rem;
}

.policy-card h2 {
    margin: 30px 0 10px;
    font-size: 1.14rem;
}

.policy-card p,
.policy-card li {
    color: var(--body);
    font-size: .94rem;
    line-height: 1.95;
}

.policy-card .policy-date {
    text-align: right;
}

/* 下層ページ用ヘッダー */

.simple-header .main-nav {
    display: none;
}

.simple-header .contact-btn {
    margin-left: auto;
}


/* ==========================================================================
   19. RESPONSIVE - TABLET (max-width: 1180px)
   ========================================================================== */

@media (max-width: 1180px) {

    /* Header */

    .header-inner {
        gap: 16px;
    }

    .brand {
        width: 180px;
    }

    .brand img {
        height: 48px;
    }

    .main-nav {
        gap: 14px;
        font-size: .66rem;
    }

    .contact-btn {
        padding: 10px 14px;
    }

    /* Challenges */

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

    /* Bridge Panel */

    .bridge-diagram {
        grid-template-columns: 1fr 36px 1.1fr 36px 1fr;
    }

    .bridge-diagram .vendor {
        grid-column: 1 / -1;
        margin-top: 14px;
    }

    .bridge-diagram .bridge-arrow:nth-of-type(3) {
        display: none;
    }

    /* Services */

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

    .journey-card {
        min-height: 390px;
    }

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

    .coverage strong {
        grid-column: 1 / -1;
    }

    .coverage span {
        border-top: 1px solid #d8e8f2;
    }

    .coverage span:nth-of-type(1),
    .coverage span:nth-of-type(4) {
        border-left: 0;
    }

}


/* ==========================================================================
   20. RESPONSIVE - MOBILE (max-width: 940px)
   ========================================================================== */

@media (max-width: 940px) {

    html {
        scroll-padding-top: 76px;
    }

    /* -------- Header -------- */

    .site-header {
        height: 72px;
    }

    .main-nav {
        display: none;
    }

    /* お問い合わせボタンはスマホでも常時表示 */

    .contact-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;

        white-space: nowrap;

        height: 32px;
        padding: 0 12px;

        font-size: .7rem;
        line-height: 1;

        border-radius: 16px;
        margin-left: auto;
    }

    .menu-btn {
        display: block;
    }

    .brand {
        width: 180px;
    }

    .brand img {
        width: 100%;
        height: auto;
    }

    /* -------- Drawer Menu -------- */

    .main-nav.open {
        display: flex;
        position: absolute;

        top: 72px;
        left: 0;
        right: 0;

        flex-direction: column;
        align-items: stretch;
        gap: 0;

        padding: 8px 5vw 18px;

        background: #fff;
        border-bottom: 1px solid var(--line);
        box-shadow: 0 16px 30px rgba(4, 53, 93, .12);
    }

    .main-nav.open a {
        padding: 12px 4px;
        border-bottom: 1px solid #e8f0f5;
        font-size: .82rem;
    }

    .main-nav.open a.active::after {
        display: none;
    }

    /* -------- Hero -------- */
    .hero {
        aspect-ratio: auto;
        height: auto;
        min-height: 650px;

        background-position: 64% center;
        background-size: cover;
    }

    .hero-overlay {
        background:
            linear-gradient(
                180deg,
                #fff 0%,
                rgba(255, 255, 255, .97) 47%,
                rgba(255, 255, 255, .60) 72%,
                rgba(255, 255, 255, .14) 100%
            );
    }

    .hero-inner {
        align-items: flex-start;
        padding: 58px 0 140px;
    }

    .hero-copy {
        width: 100%;
        max-width: 690px;
    }

    .hero-statement {
        right: 2px;
        bottom: 30px;
    }

    /* -------- 1カラム化 -------- */

    .split-heading,
    .support-promise,
    .ai-grid,
    .msc-grid,
    .news-grid,
    .company-layout,
    .contact-grid {
        display: block;
    }

    .heading-copy {
        width: 100%;
        max-width: none;
        margin-top: 20px;
    }

    .support-promise > div {
        margin-bottom: 20px;
    }

    /* -------- その他 -------- */

    .philosophy-flow {
        grid-template-columns: 1fr 1fr;
    }

    .philosophy-flow article:nth-child(2) {
        border-right: 0;
    }

    .philosophy-flow article:nth-child(-n + 2) {
        border-bottom: 1px solid var(--line);
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }

    .footer-inner > div {
        grid-column: 1 / -1;
    }

}


/* ==========================================================================
   21. RESPONSIVE - MOBILE (max-width: 680px)
   ========================================================================== */

@media (max-width: 680px) {

    /* -------- Layout -------- */

    .section {
        padding: 64px 0;
    }

    .content-wrap {
        width: min(100% - 36px, 1180px);
    }

    .desktop-only {
        display: none;
    }

    /* -------- 1カラム化（統一） -------- */

    .split-heading,
    .support-promise,
    .ai-grid,
    .msc-grid,
    .news-grid,
    .company-layout,
    .contact-grid {
        display: block;
    }

    .heading-copy {
        width: 100%;
        max-width: none;
        margin-top: 20px;
    }

    .support-promise > div {
        margin-bottom: 20px;
    }

    .ai-grid > div:first-child {
        margin-bottom: 24px;
    }

    .msc-copy,
    .contact-copy {
        margin-bottom: 30px;
    }

    .company-table {
        margin-bottom: 24px;
    }

    .locations {
        margin-top: 24px;
    }

    /* -------- Hero -------- */

    .hero {
        min-height: 680px;
        background-position: 61% center;
    }

    .hero-inner {
        width: calc(100% - 36px);
        padding-top: 43px;
    }

    .hero-kicker {
        font-size: .65rem;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .hero-lead {
        font-size: 1.05rem;
    }

    .hero-sub {
        font-size: .91rem;
        line-height: 1.85;
    }

    .hero-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
    }

    .hero-statement {
        font-size: 1.12rem;
    }

    /* -------- Challenges / Bridge -------- */

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

    .challenge-grid article {
        padding: 23px 21px;
    }

    .challenge-conclusion {
        padding: 23px 22px;
    }

    .bridge-panel {
        padding: 27px 20px 24px;
    }

    .bridge-title {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .bridge-diagram {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .bridge-arrow {
        height: 22px;
        transform: rotate(90deg);
    }

    .bridge-diagram .vendor {
        margin-top: 0;
    }

    .bridge-party,
    .bridge-core {
        min-height: auto;
        padding: 20px 16px;
    }

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

    /* -------- Philosophy -------- */

    .philosophy-emphasis {
        margin-top: 34px;
        padding: 20px 8px;
        font-size: 1.1rem;
        line-height: 1.85;
        text-align: left;
    }

    .philosophy-flow,
    .journey,
    .method-grid,
    .method-principles {
        grid-template-columns: 1fr;
    }

    .philosophy-flow article {
        min-height: auto;
        padding: 24px 10px;
    }

    .philosophy-flow article:not(:last-child) {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    /* -------- Services -------- */

    .journey-card,
    .journey-lead {
        min-height: auto;
    }

    .support-promise {
        padding: 28px 24px;
    }

    /* 主な対応領域は1列表示 */

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

    .coverage span {
        border-left: 0;
        border-top: 1px solid #d8e8f2;
    }

    /* -------- Methodology -------- */

    .method-grid > article {
        padding: 27px 22px;
    }

    .open-point {
        padding: 28px 23px;
    }

    .open-point p {
        font-size: 1rem;
    }

    .method-principles {
        gap: 4px;
    }

    /* -------- MSC -------- */

    .msc-top {
        align-items: flex-start;
        flex-direction: column;
    }

    .msc-copy h3 {
        font-size: 1.3rem;
    }

    .msc-steps li {
        padding: 16px 0;
    }

    /* -------- News（縦並び） -------- */

    .news-grid > div:first-child {
        margin-bottom: 20px;
    }

    .news-list article {
        display: block;
    }

    .news-list time {
        display: block;
        margin-bottom: 6px;
    }

    .news-list span {
        display: inline-block;
        margin-bottom: 10px;
    }

    .news-list p {
        margin-top: 4px;
    }

    /* -------- FAQ -------- */

    .faq-list summary {
        align-items: flex-start;
        padding: 19px 15px;
        font-size: .93rem;
    }

    .faq-list summary::after {
        padding-left: 4px;
    }

    .faq-answer {
        padding: 0 15px 21px;
    }

    /* -------- Company -------- */

    .company-table dl {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .locations article {
        padding: 20px;
    }

    /* -------- Contact -------- */

    .contact-copy h2 {
        font-size: 1.9rem;
        line-height: 1.5;
    }

    .contact-copy dd a {
        white-space: nowrap;
    }

    .field-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 24px 20px;
    }

    /* -------- Footer / Policy -------- */

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-inner > div {
        grid-column: auto;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .policy-card {
        padding: 32px 23px;
    }

    .simple-header .contact-btn {
        display: inline-flex;
        font-size: .72rem;
    }

}


/* ==========================================================================
   22. ACCESSIBILITY
   ========================================================================== */

/* Skip Link */

.skip-link {
    position: fixed;
    left: 16px;
    top: -80px;
    z-index: 1000;

    padding: 10px 16px;

    background: #fff;
    border: 2px solid var(--blue);
}

.skip-link:focus {
    top: 12px;
}

/* Focus Visible */

:focus-visible {
    outline: 3px solid rgba(7, 139, 211, .45);
    outline-offset: 2px;
}

/* Reduced Motion */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    * {
        transition: none !important;
    }

}
