@charset "UTF-8";

/* =========================================================
   Local Web Fonts
========================================================= */

@font-face {
    font-family: "Noto Sans JP";
    src: url("./fonts/noto-sans-jp/NotoSansJP-Variable.woff2") format("woff2");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

/* === 基本設定・変数 === */
:root {
    --primary-green: #1a8c4b;
    --primary-blue: #2159a6;
    --text-main: #333333;
    --text-light: #666666;
    --bg-gray: #f7f9fb;
    --bg-light-green: #eef5f1;
    --white: #ffffff;
    --content-width: 1100px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* === ヘッダー === */
header {
    position: sticky;
    top: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    z-index: 100;
    border-bottom: 1px solid #eee;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-green);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-subtitle {
    font-size: 11px;
    color: var(--primary-green);
    margin-top: 2px;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
    list-style: none;
    font-weight: bold;
    font-size: 14px;
}

.btn-contact {
    background-color: var(--primary-green);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: bold;
    transition: opacity 0.3s;
}

.btn-contact:hover {
    opacity: 0.8;
}

/* === ハンバーガーメニューボタン === */
.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    z-index: 102;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-main);
    border-radius: 2px;
    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}

/* 開いた際に「×」へ変形 */
.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* === ヒーローセクション === */
.hero {
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
    min-height: 760px;
    display: flex;
    align-items: center;
}

.hero-background {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.72) 45%, rgba(255,255,255,0.2) 100%),
        url("images/hero-network.png") center/cover no-repeat;
    z-index: 0;
}

.hero-layout {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    width: 100%;
}

.hero-copy {
    max-width: 560px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 56px;
    line-height: 1.2;
    color: #000000;
    margin-bottom: 20px;
}

.hero h1 span {
    color: #000000;
}

.hero .subtitle {
    font-size: 24px;
    font-weight: bold;
    color: #1f3b6d;
    margin-bottom: 30px;
}

.hero p.desc {
    font-size: 16px;
    margin-bottom: 40px;
    max-width: 500px;
}

html {
    scroll-behavior: smooth;
}

.scroll-indicator {
    display: block;
    width: fit-content;
    margin: 60px auto 0;
    text-align: center;
    font-size: 12px;
    color: var(--text-light);
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

.scroll-indicator:hover {
    color: var(--primary-green);
}

/* === コンセプト (AI時代に...) === */
.concept {
    padding: 100px 0;
    background-color: var(--bg-gray);
}

.concept-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.concept-left {
    flex: 1;
}

.concept-left h2 {
    font-size: 20px;
    margin-bottom: 15px;
}

.concept-left .main-copy {
    font-size: 32px;
    font-weight: bold;
    line-height: 1.4;
    margin-bottom: 20px;
    color: #000000;
}

.concept-left .main-copy span {
    color: #1f3b6d;
    font-size: 36px;
}

.concept-right {
    flex: 1.5;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.process-step {
    text-align: center;
    width: 120px;
}

.process-icon {
    width: 80px;
    height: 80px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 15px;
    font-size: 32px;
    color: var(--primary-blue);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border: 2px solid #e1e8f0;
}

.process-step:nth-child(1) .process-icon,
.process-step:nth-child(5) .process-icon {
    border-color: var(--primary-blue);
}

.process-step:nth-child(3) .process-icon {
    border-color: var(--primary-green);
    color: var(--primary-green);
    background-color: var(--bg-light-green);
}

.process-step:nth-child(7) .process-icon {
    background-color: var(--primary-blue);
    color: var(--white);
    border: none;
}

.process-step h4 {
    font-size: 14px;
    margin-bottom: 8px;
}

.process-step p {
    font-size: 11px;
    color: var(--text-light);
}

.arrow {
    font-size: 20px;
    color: var(--primary-blue);
}

/* === Mission & Vision === */

.mission-vision {
    padding: 0;
}

.mission-vision-inner {
    display: flex;
    gap: 24px;
    align-items: stretch;
}

.mv-box {
    flex: 1;
    padding: 80px 5%;
    position: relative;
    overflow: hidden;
    min-width: 0;

    /*
     * 背景画像の基準設定
     * ボックスの現在サイズは変更しない
     */
    background-repeat: no-repeat;
    background-position: right center;
    background-size: cover;
}

/* Mission背景 */
.mission {
    background-color: #f0f4f8;
    background-image: url("./images/mission.png");
}

/* Vision背景 */
.vision {
    background-color: #f4f7f6;
    background-image: url("./images/vision.png");
}

/*
 * 左側の文字を読みやすくする白色オーバーレイ
 */
.mv-box::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;

    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.96) 0%,
        rgba(255, 255, 255, 0.88) 42%,
        rgba(255, 255, 255, 0.52) 68%,
        rgba(255, 255, 255, 0.08) 100%
    );

    pointer-events: none;
}

/* 文字情報を背景とオーバーレイより前面に表示 */
.mv-content {
    position: relative;
    z-index: 1;
}

.mv-label {
    margin-bottom: 20px;

    color: var(--primary-green);
    font-size: 18px;
    font-weight: bold;
}

.mv-box h3 {
    margin-bottom: 20px;

    color: var(--text-main);
    font-size: 32px;
    line-height: 1.4;
}

.mv-box p {
    position: relative;
    margin: 0;

    color: var(--text-main);
    font-size: 14px;
    line-height: 1.8;
}

/* === Solutions === */
.solutions {
    padding: 100px 0;
    background-color: var(--white);
    text-align: center;
}

.section-title {
    font-size: 32px;
    color: var(--primary-green);
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 16px;
    margin-bottom: 50px;
}

.cards {
    display: flex;
    gap: 30px;
    text-align: left;
}

.card {
    flex: 1;
    background: var(--white);
    border: 1px solid #e1e8f0;
    border-radius: 12px;
    padding: 40px 30px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.02);
    position: relative;
}

.card {
    transition:
        background-color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.card:hover {
    background-color: #dff7eb;
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(33, 89, 166, 0.14);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.card-icon {
    font-size: 36px;
    color: var(--primary-green);
}

.card:nth-child(1) .card-icon { color: var(--primary-blue); }
.card:nth-child(2) .card-icon { color: var(--primary-blue); }
.card:nth-child(3) .card-icon { color: var(--primary-blue); }

.card-title h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.card-title p {
    font-size: 12px;
    color: var(--primary-green);
    font-weight: bold;
}

.card > p {
    font-size: 14px;
    margin-bottom: 30px;
    min-height: 60px;
}

.card-link {
    font-size: 14px;
    color: var(--primary-green);
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* === Technology === */
.technology {
    padding: 100px 0;
    background-color: var(--bg-gray);
}

.tech-inner {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.tech-left {
    flex: 1;
}

.tech-label {
    color: var(--primary-green);
    font-weight: bold;
    margin-bottom: 15px;
}

.tech-left h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #000000;
}

.tech-left h2 span {
    color: var(--primary-green);
}

.tech-features {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.tech-feature {
    text-align: center;
}

.tech-feature i {
    font-size: 24px;
    margin-bottom: 10px;
}

.tech-feature p {
    font-size: 12px;
}

.tech-right {
    flex: 1;
    position: relative;
}

/* === Technology 図解 === */
.technology-diagram {
    position: relative;
    min-height: 420px;
    padding-right: 190px;
    padding-top: 80px;
}

.layer {
    height: 46px;
    margin: 8px auto;
    border-radius: 10px 10px 3px 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-align: center;
    font-weight: 700;
    font-size: 13px;
    clip-path: polygon(8% 0, 92% 0, 100% 100%, 0 100%);
    padding: 0 16px;
    white-space: nowrap;
}

.layer-1 { width: 50%; background: linear-gradient(#dff1e9, #b7dfcc); color: #17765a; }
.layer-2 { width: 70%; background: linear-gradient(#63aee4, #3d8ccf); }
.layer-3 { width: 90%; background: linear-gradient(#5fc2a7, #16906b); }
.layer-4 { width: 120%; background: linear-gradient(#4f74ca, #244daf); margin-left: -10%; }

.engine {
    position: absolute;
    right: 0;
    top: 122px;
    transform: translateY(0);
    width: 124px;
    height: 124px;
    border: 1px solid #82c9ba;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(255, 255, 255, 0.75);
    padding: 14px;
    z-index: 2;
}

.engine strong {
    color: var(--primary-green);
    font-size: 18px;
    line-height: 1.15;
    margin-top: 6px;
}

.engine small {
    position: absolute;
    top: calc(100% + 16px);
    left: 50%;
    transform: translateX(-50%);
    width: 220px;
    color: #46556a;
    line-height: 1.4;
    font-size: 11px;
    text-align: center;
}

.tech-link {
    display: block;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
    color: var(--primary-green);
    font-weight: bold;
}

@media (max-width: 1024px) {
    .concept-inner,
    .tech-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .concept-right {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }

    .arrow {
        display: none;
    }

    .tech-right {
        width: 100%;
    }
}

@media (max-width: 760px) {
    .header-inner {
        position: relative;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        height: 72px;
        padding: 10px 20px;
    }

    /* スマホではハンバーガーボタンを表示 */
    .menu-toggle {
        display: flex;
        flex-shrink: 0;
    }

    /* メニューを初期状態では非表示 */
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        margin: 0;
        padding: 10px 20px 24px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background-color: rgba(255, 255, 255, 0.98);
        border-top: 1px solid #eeeeee;
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
        z-index: 101;
    }

    /* ハンバーガーボタンを押した際に表示 */
    .nav-links.is-open {
        display: flex;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links li > a {
        display: block;
        width: 100%;
        padding: 14px 4px;
        border-bottom: 1px solid #eeeeee;
        text-align: left;
    }

    /* お問い合わせボタン */
    .nav-links li > .btn-contact {
        margin-top: 14px;
        padding: 12px 24px;
        border-bottom: none;
        border-radius: 30px;
        color: var(--white);
        text-align: center;
    }

    .hero {
        padding: 80px 0 60px;
        min-height: auto;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero .subtitle {
        font-size: 20px;
    }

    .hero p.desc {
        font-size: 15px;
    }

    .concept,
    .solutions,
    .technology {
        padding: 70px 0;
    }

    .concept-left .main-copy {
        font-size: 28px;
    }

    .concept-left .main-copy span {
        font-size: 30px;
    }

/* Mission & Vision：タブレット・スマートフォン */
.mission-vision {
    padding: 0;
}

/* 横並びから縦並びへ変更 */
.mission-vision-inner {
    flex-direction: column;
    gap: 20px;
}

/* 各背景画像ボックス */
.mv-box {
    width: 100%;
    min-height: 400px;
    padding: 52px 8%;

    background-size: cover;
    background-repeat: no-repeat;
    background-position: 68% center;
}

/* 文字が背景画像に埋もれないようオーバーレイを強める */
.mv-box::before {
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.97) 0%,
        rgba(255, 255, 255, 0.92) 45%,
        rgba(255, 255, 255, 0.72) 72%,
        rgba(255, 255, 255, 0.35) 100%
    );
}

/* 文字部分 */
.mv-content {
    max-width: 100%;
}

.mv-label {
    margin-bottom: 16px;
    font-size: 17px;
}

.mv-box h3 {
    margin-bottom: 18px;
    font-size: 28px;
    line-height: 1.4;
}

.mv-box p {
    font-size: 14px;
    line-height: 1.9;
}

/* 説明文は画面幅に応じて自然に折り返す */
.mv-box p br {
    display: none;
}

    .cards {
        flex-direction: column;
        gap: 20px;
    }

    .card {
        padding: 30px 24px;
    }

    .tech-features {
        flex-wrap: wrap;
        gap: 12px 20px;
    }

.technology-diagram {
    display: flex;
    flex-direction: column;
    align-items: center;

    padding: 40px 0 0;
    min-height: auto;
}

.layer {
    flex: 0 0 auto;

    white-space: normal;
    font-size: 12px;
    height: auto;
    min-height: 44px;
    padding: 8px 12px;
}

/* サークルをピラミッドの下へ通常配置 */
.engine {
    position: static;

    right: auto;
    top: auto;
    bottom: auto;

    transform: none;

    width: 112px;
    height: 112px;
    margin: 24px auto 0;
    padding: 12px;

    flex: 0 0 auto;
}

.engine small {
    display: none;
}

    .footer-top {
        flex-direction: column;
        gap: 30px;
    }

    .footer-info {
        flex-direction: column;
        gap: 20px;
    }

    .info-row {
        flex-direction: column;
        gap: 4px;
    }

}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .header-inner {
        padding: 16px;
    }

    .hero h1 {
        font-size: 34px;
    }

    .hero .subtitle {
        font-size: 18px;
    }

    .concept-left .main-copy {
        font-size: 24px;
    }

    .concept-left .main-copy span {
        font-size: 26px;
    }

    .concept-right {
        display: grid;
        grid-template-columns: 1fr;
    }

    .process-step {
        width: 100%;
    }

    .tech-left h2 {
        font-size: 24px;
    }

.technology-diagram {
    min-height: auto;
}

    .layer-4 {
        width: 100%;
        margin-left: 0;
    }
}

/* === Footer === */
footer {
    background-color: var(--white);
    padding: 60px 0 0;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    padding-bottom: 40px;
    border-bottom: 1px solid #eee;
}

.footer-logo h3 {
    color: #000000;
    font-size: 20px;
    margin-bottom: 10px;
}

.footer-logo p {
    font-size: 12px;
    margin-bottom: 5px;
}

.footer-info {
    display: flex;
    gap: 40px;
    font-size: 12px;
}

.info-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.info-row {
    display: flex;
    gap: 20px;
}

.info-row span:first-child {
    font-weight: bold;
    width: 60px;
}

.footer-action {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
}

.footer-bottom {
    background-color: var(--primary-blue);
    color: var(--white);
    text-align: center;
    padding: 15px 0;
    font-size: 12px;
}

/* スマホ表示時だけフッターのお問い合わせボタンを中央配置 */
@media (max-width: 760px) {

    #company .footer-action {
        width: 100%;
    }

    #company .footer-action > .btn-contact {
        align-self: center;
        margin-left: auto;
        margin-right: auto;
    }
}