@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;600;700&family=Shippori+Mincho:wght@500;600;700&display=swap");

:root {
    --navy: #071326;
    --navy-light: #0d2040;
    --blue: #12366f;
    --gold: #e8bd58;
    --gold-light: #f3d889;
    --white: #f7f7f4;
    --muted: #b8c2d0;
    --ink: #10203a;
    --paper: #f3f1eb;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--navy);
    color: var(--white);
    font-family: "Noto Sans JP", sans-serif;
    line-height: 1.8;
}

a {
    color: inherit;
    text-decoration: none;
}

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

/* 共通ヘッダー */
.site-header {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 82px;
    padding: 12px clamp(20px, 5vw, 76px);
    background: #03070d;
    border-bottom: 1px solid rgba(232, 189, 88, 0.28);
}

.site-logo {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
}

.site-logo img {
    width: 90px;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(14px, 2vw, 32px);
}

.site-nav a {
    position: relative;
    color: #e9edf4;
    font-size: 12px;
    letter-spacing: 0.04em;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a.is-current {
    color: var(--gold-light);
}

.site-nav .nav-contact {
    padding: 10px 16px;
    border: 1px solid rgba(232, 189, 88, 0.8);
    color: var(--gold-light);
}

/* ファーストビュー */
.company-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: min(760px, calc(100vh - 82px));
    padding: 100px clamp(24px, 10vw, 150px);
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(4, 13, 29, 0.95) 0%, rgba(4, 13, 29, 0.76) 46%, rgba(4, 13, 29, 0.18) 100%),
        url("hero-background.jpg") center 45% / cover no-repeat,
        linear-gradient(130deg, #10264a, #070e1d 75%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(0deg, rgba(5, 13, 27, 0.45), transparent 45%),
        radial-gradient(circle at 78% 42%, rgba(232, 189, 88, 0.1), transparent 32%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    width: min(690px, 100%);
}

.eyebrow {
    margin: 0 0 22px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2em;
}

.company-hero h1,
.section-heading h2,
.contact-inner h2 {
    margin: 0;
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1.55;
}

.company-hero h1 {
    font-size: clamp(28px, 4vw, 52px);
    text-shadow: 0 3px 20px rgba(0, 0, 0, 0.35);
}

.hero-copy {
    margin: 26px 0 34px;
    color: #e1e6ee;
    font-size: 15px;
    line-height: 2;
}

.hero-caption {
    position: absolute;
    right: 36px;
    bottom: 28px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 9px;
    letter-spacing: 0.2em;
}

.gold-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 12px 26px;
    border: 1px solid var(--gold);
    background: var(--gold);
    color: #111827;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.gold-button::after {
    margin-left: 18px;
    content: "→";
}

.gold-button:hover {
    transform: translateY(-2px);
    background: transparent;
    color: var(--gold-light);
}

/* 共通セクション */
.section {
    padding: clamp(76px, 10vw, 138px) clamp(24px, 9vw, 132px);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 48px;
}

.section-heading h2 {
    font-size: clamp(30px, 4vw, 48px);
}

.section-lead {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.intro-section {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
    gap: clamp(40px, 8vw, 120px);
    background: linear-gradient(135deg, #0d1c34, #091426);
}

.intro-copy {
    padding-top: 28px;
    color: #d5dce6;
    font-size: 15px;
}

.intro-copy p {
    margin: 0 0 18px;
}

/* 提供価値 */
.value-section {
    background:
        radial-gradient(circle at 85% 10%, rgba(24, 61, 117, 0.4), transparent 32%),
        var(--navy);
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.value-card,
.example-card {
    position: relative;
    min-height: 270px;
    padding: 28px 24px;
    border: 1px solid rgba(232, 189, 88, 0.28);
    background: linear-gradient(145deg, rgba(20, 50, 96, 0.96), rgba(10, 27, 54, 0.98));
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.15);
}

.value-card::before,
.example-card::before {
    position: absolute;
    top: -1px;
    right: 18px;
    left: 18px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    content: "";
}

.card-number {
    color: var(--gold);
    font-family: Georgia, serif;
    font-size: 14px;
    letter-spacing: 0.12em;
}

.card-label {
    margin: 22px 0 8px;
    color: #9eb6d8;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.value-card h3,
.example-card h3,
.field-card h3,
.process-item h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.value-card>p:last-child,
.example-card>p:last-child {
    margin: 14px 0 0;
    color: #c4cedc;
    font-size: 13px;
    line-height: 1.9;
}

/* プロセス */
.process-section {
    background: #0b1930;
}

.process-list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border-top: 1px solid rgba(232, 189, 88, 0.42);
    border-bottom: 1px solid rgba(232, 189, 88, 0.42);
}

.process-item {
    min-height: 220px;
    padding: 28px 22px;
    border-right: 1px solid rgba(255, 255, 255, 0.11);
}

.process-item:last-child {
    border-right: 0;
}

.process-number {
    display: block;
    margin-bottom: 28px;
    color: var(--gold);
    font-family: Georgia, serif;
    font-size: 20px;
}

.process-item h3 {
    margin-bottom: 12px;
}

.process-item p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}

/* 活用例 */
.example-section {
    background:
        linear-gradient(rgba(7, 19, 38, 0.94), rgba(7, 19, 38, 0.96)),
        var(--navy);
}

.example-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.example-card {
    min-height: 240px;
}

/* 事業領域 */
.fields-section {
    background: var(--paper);
    color: var(--ink);
}

.fields-section .eyebrow {
    color: #987023;
}

.fields-section .section-lead {
    color: #536176;
}

.fields-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.field-card {
    min-height: 190px;
    padding: 26px;
    border: 1px solid rgba(18, 54, 111, 0.2);
    border-left: 3px solid #315e9a;
    background: rgba(255, 255, 255, 0.82);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.field-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(16, 32, 58, 0.1);
}

.field-card h3 {
    color: #173b70;
}

.field-card p {
    margin: 12px 0 0;
    color: #566274;
    font-size: 13px;
}

/* お問い合わせ */
.contact-section {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(rgba(5, 15, 32, 0.82), rgba(5, 15, 32, 0.92)),
        #10264a;
}

.contact-inner {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.contact-inner h2 {
    font-size: clamp(30px, 4vw, 48px);
}

.contact-inner>p:not(.eyebrow) {
    margin: 22px 0 30px;
    color: #d2dae5;
    font-size: 14px;
}

/* フッター */
.site-footer {
    padding: 44px 20px 32px;
    background: #03070d;
    text-align: center;
}

.footer-logo {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.site-footer p {
    margin: 10px 0 18px;
    color: #c5ccd6;
    font-size: 12px;
}

.site-footer small {
    color: #7e899a;
    font-size: 10px;
}

/* タブレット・スマートフォン */
@media (max-width: 1000px) {
    .site-header {
        align-items: flex-start;
        gap: 20px;
    }

    .site-nav {
        flex-wrap: wrap;
        gap: 12px 20px;
    }

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

    .process-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .process-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.11);
    }

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

@media (max-width: 640px) {
    .site-header {
        display: block;
        padding: 14px 18px 16px;
    }

    .site-logo img {
        width: 126px;
        max-height: 42px;
    }

    .site-nav {
        justify-content: flex-start;
        gap: 12px 18px;
        margin-top: 12px;
    }

    .site-nav a {
        font-size: 11px;
    }

    .site-nav a.is-current::after {
        content: none !important;
        display: none !important;
    }


    .site-nav .nav-contact {
        padding: 5px 9px;
    }

    .company-hero {
        min-height: 680px;
        padding: 82px 26px;
        background-position: 62% center;
    }

    .company-hero h1 {
        font-size: clamp(34px, 9vw, 48px);
    }

    .hero-copy {
        font-size: 13px;
    }

    .desktop-only {
        display: none;
    }

    .hero-caption {
        right: 18px;
        bottom: 18px;
        font-size: 8px;
    }

    .section {
        padding: 76px 22px;
    }

    .intro-section {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .intro-copy {
        padding-top: 0;
    }

    .value-grid,
    .example-grid,
    .fields-grid,
    .process-list {
        grid-template-columns: 1fr;
    }

    .value-card,
    .example-card {
        min-height: 220px;
    }

    .process-item {
        min-height: auto;
        padding: 22px 8px;
        border-right: 0;
    }

    .process-number {
        margin-bottom: 12px;
    }

    .field-card {
        min-height: 150px;
    }
}

.site-logo img {
    filter:
        drop-shadow(0 0 3px rgba(255, 255, 255, 0.95)) drop-shadow(0 0 8px rgba(255, 255, 255, 0.65)) drop-shadow(0 0 16px rgba(255, 255, 255, 0.35));
}

/* companyページ：teamページと書体・文字サイズを揃える */
.company-page {
    font-family: inherit;
}

.company-page .company-hero h1 {
    font-family: inherit;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.45;
}

.company-page .company-hero-text {
    font-family: inherit;
    font-size: 0.9rem;
    line-height: 1.9;
}

/* ロゴの白い光を強める */
.site-logo img {
    filter:
        drop-shadow(0 0 4px rgba(255, 255, 255, 0.95)) drop-shadow(0 0 10px rgba(255, 255, 255, 0.7)) drop-shadow(0 0 18px rgba(255, 255, 255, 0.4));
}

/* companyページ：スマホヘッダーを横並びにする */
@media (max-width: 640px) {
    .site-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        padding: 8px 10px;
    }

    .site-logo {
        flex: 0 0 48px;
    }

    .site-logo img {
        width: 48px;
        max-height: none;
    }

    .site-nav {
        display: grid;
        grid-template-columns: repeat(3, max-content);
        justify-content: end;
        align-items: center;
        gap: 2px 6px;
        margin-top: 0;
    }

    .site-nav a {
        font-size: 9px;
        line-height: 1.35;
        letter-spacing: 0;
    }

    .site-nav .nav-contact {
        padding: 2px 4px;
    }
}

@media (max-width: 640px) {

    .site-nav a::before,
    .site-nav a::after {
        content: none !important;
        display: none !important;
        background: none !important;
        border: 0 !important;
        box-shadow: none !important;
    }

    .site-nav a {
        text-decoration: none !important;
        border-bottom: 0 !important;
    }
}

@media (max-width: 640px) {

    .company-page .site-nav a[href="contact.html"],
    .company-page .site-nav a[href="contact.html"]::before,
    .company-page .site-nav a[href="contact.html"]::after {
        text-decoration: none !important;
        border: 0 !important;
        background: none !important;
        box-shadow: none !important;
        content: none !important;
        display: inline-block !important;
    }
}

@media (max-width: 640px) {
    .site-nav a.is-current::after {
        content: none !important;
        display: none !important;
    }
}

@media (max-width: 640px) {
    .site-header {
        border-bottom: 0 !important;
    }
}

@media screen and (max-width: 640px) {

    .site-header,
    .site-nav,
    .site-nav a,
    .site-nav a::before,
    .site-nav a::after,
    .site-nav a.is-current::before,
    .site-nav a.is-current::after {
        border: 0 !important;
        background-image: none !important;
        box-shadow: none !important;
        text-decoration: none !important;
        content: none !important;
    }
}

@media screen and (max-width: 640px) {
    .site-header {
        border-bottom: none !important;
    }
}

@media (max-width: 640px) {
    .site-header {
        border-bottom: 0 !important;
    }

    .site-nav a,
    .site-nav a::before,
    .site-nav a::after {
        text-decoration: none !important;
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        content: none !important;
    }
}