@charset "UTF-8";

/* ============================================
   Premium Color Palette - 高級感カラーパレット
   ============================================ */
:root {
    /* Primary Colors */
    --premium-black: #1a1a1a;
    --premium-dark: #1e3a5f;
    --premium-gray: #5a6978;
    --premium-muted: #8a9bab;

    /* Accent - 高級感のあるディープブルー系 */
    --premium-accent: #0dcaf0;
    --premium-accent-light: #5edce8;
    --premium-accent-dark: #0891b2;

    /* Background */
    --premium-bg: #f8fafc;
    --premium-bg-alt: #eef4f8;
    --premium-white: #ffffff;

    /* Borders */
    --premium-border: #dde5ed;
    --premium-border-dark: #c5d1dc;

    /* Shadows */
    --premium-shadow-sm: 0 2px 8px rgba(30, 58, 95, 0.06);
    --premium-shadow-md: 0 4px 20px rgba(30, 58, 95, 0.10);
    --premium-shadow-lg: 0 8px 40px rgba(30, 58, 95, 0.14);

    /* Fonts */
    --font-body: 'Noto Sans JP', 'Inter', sans-serif;
    --font-heading: 'Noto Serif JP', 'Georgia', serif;

    /* Spacing - 余白の基準値 */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 32px;
    --space-lg: 64px;
    --space-xl: 120px;
    --space-2xl: 180px;
}

/* reset */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
address,
ul,
ol,
li,
dl,
dt,
dd,
img,
form,
table,
tr,
th,
td {
    margin: 0;
    padding: 0;
    border: none;
    font-style: normal;
    font-weight: normal;
    font-size: 100%;
    text-align: left;
    list-style-type: none;
    border-collapse: collapse;
}

textarea {
    font-size: 100%;
    vertical-align: middle;
}

img {
    border-style: none;
    display: block;
}

hr {
    display: none;
}

em {
    font-style: normal
}

input {
    line-height: auto;
    vertical-align: middle;
}

strong.more {
    color: #c30
}

a {
    text-decoration: none;
}



body {
    font-family: 'Noto Sans JP', 'Inter', 'Hiragino Kaku Gothic Pro', sans-serif;
    background-color: var(--premium-bg);
    color: var(--premium-black);
    font-feature-settings: "palt";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

* {
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

/* 上の部分は気にせずここから書く */

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #0000006b;
    /* 薄い水色 */
    color: white;
    padding: 10px 15px;
    border-radius: 50%;
    /* 丸くするための設定 */
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s;
    /* 背景色の変更をスムーズにするための設定 */
}

.back-to-top:hover {
    background-color: #00000076;
    color: white;
    /* 濃い青 */
}



.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.subtitle {
    font-size: 24px;
    font-weight: bold;
    font-family: var(--font-heading);
    color: #333;
    margin-bottom: 20px;

}

.highlight {
    color: #111010;
    /* この色は例です。実際には適切な色を選んでください。 */
}

.letter {
    color: #f55607;
    /* この色は例です。実際には適切な色を選んでください。 */
}

.strong-point .catch {
    font-size: 46px;
    font-weight: bold;
    color: black;
    text-align: center;
    font-family: var(--font-heading);
}

.smaller-text {
    font-size: smaller;
}

.larger-text {
    font-size: larger;
    font-family: var(--font-heading);
    font-weight: 600;
}

.img-wrap {
    position: relative;
}

.img-wrap::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 82, 130, 0.20);
    /* プレミアムディープブルー半透明 */
    z-index: 1;
}

.img-wrap img {
    position: relative;
    z-index: 0;
}

.img-wrap-sub {
    position: relative;
}



.img-wrap-sub img {
    position: relative;
    z-index: 0;
}

.text-container {
    position: relative;
    z-index: 2;
}

.contact-logo {
    background-color: white;

    display: flex;
    padding: 10px;
    align-items: center;
    justify-content: center;

}

.text-container {
    font-family: var(--font-heading);
}

.contact-logo1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
}

.maintitle {
    font-size: 35px !important;
    font-family: var(--font-heading);
    font-weight: 600;
}

.title {
    margin-left: 10px;
    color: rgb(248, 248, 248);
}

.logo-container img {
    height: clamp(28px, 5vw, 38px);
    /* 28〜48pxの範囲で画面幅に応じて可変 */
    width: auto;
}

.home-button {
    margin-right: 10px;
}

.scroll-action {
    position: fixed;
    right: 0px;
    bottom: 40px;
    cursor: pointer;
    padding: 0px;
    background-color: var(--premium-accent);
    color: white;
    transition: all .3s ease;
    opacity: 0;
    visibility: hidden;
}



.s {
    display: flex;
    justify-content: center;
    margin: 63px;
    margin-bottom: 130px;
}

.privacy {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.s1 {
    display: flex;
    justify-content: center;
    margin: 63px;
    margin-bottom: 400px;
}

.wrap {
    padding: 0 5px;
}

.link {
    color: #ffffffde;
    cursor: pointer;
}

a {
    color: #ffffffde;
    cursor: pointer;
}

a:hover {
    color: var(--premium-accent-light);
}

.sub {

    font-size: 20px;
    /* サブテキストのフォントサイズを大きくします */
    color: #333;
    /* より深い黒色 */
    line-height: 2;
    /* 行間を広くします */
    font-family: var(--font-heading);
}

body {
    background-color: var(--premium-bg);
}


h1 {
    font-size: 32px;
    font-weight: 600;
    margin-top: var(--space-lg);
    margin-bottom: var(--space-md);
    text-align: center;
    letter-spacing: 0.08em;
    color: var(--premium-black);
}

h1 span {
    border-bottom: 2px solid var(--premium-accent);
    text-align: center;
    padding-bottom: 8px;
}

.other {
    opacity: 0;
    transition: all 1s;
    margin: 56px 0 0 auto;
}



.other:hover {
    color: var(--premium-accent);
    transition: 0.1s;
}

.other:hover i {
    transform: translate(7px, 0);
    transition: 0.3s;
}

.wrap {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.fa-circle-arrow-right::before {
    content: "\f0a9";
    color: #ffffff;
}

.fa-arrow-right {
    content: "f061";
    color: #fdfdfd;
    margin-left: 5px;
}

.fa-arrow-up-right-from-square {
    font-size: 1.2em;
    content: "f08e";
    color: var(--premium-accent);
    margin-left: 5px;
}

/* フェードイン用
アクティブ状態：fadein-active
・上から：.fadein-from-up
・右から：.fadein-from-right
・左から：.fadein-from-left
・下から：.fadein-from-bottom
*/

.fadein-scroll {
    opacity: 0;
    transition: all 1s;
}

.fadein-from-up {
    transform: translate(0, -50px);
}

.fadein-from-down {
    transform: translate(0, 50px);
}

.fadein-from-right {
    transform: translate(50px, 0);
}

.fadein-from-left {
    transform: translate(-50px, 0);
}

.fadein-active01 {
    opacity: 1;
    transform: translate(0, 0);
}

.fadein-active02 {
    opacity: 0.9;
    transform: translate(0, 0);
}

/* body部↓ */

/* 右端が斜めに“切れる”バッジ（外側へ少し伸ばす版） */
.heading-chip {
    --nose: 70px;
    /* 斜めの長さ。大きいほど浅く長く */
    position: relative;
    display: inline-block;
    /* テキスト幅にフィット */
    color: #f7f7f9;
    line-height: 1.2;
    font-size: 25px;
    font-family: var(--font-heading);
    padding: .45rem calc(1rem + var(--nose)) .45rem 1rem;
    /* 右にノーズぶん余白 */
}

/* 背景を1枚で成形（右端を斜めカット） */
.heading-chip::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    /* 右へ“ノーズ分”はみ出させる */
    background: #000;

    /* 右端が斜めになる台形（上：外側、下：内側） */
    -webkit-clip-path: polygon(0 0, calc(100% - var(--nose)) 0, 100% 100%, 0 100%);
    clip-path: polygon(0 0, calc(100% - var(--nose)) 0, 100% 100%, 0 100%);
}

/* ※旧方式の ::after / transform は不要なので削除してください */

/* 左ノーズ（斜めカット）版：ズレなし・一体成形 */
.heading-chip--flip {
    --nose: 70px;
    /* 斜めの出っ張り量（大きいほど斜度が緩く/長く） */
    position: relative;
    display: inline-block;
    color: #f7f7f9;
    line-height: 1.2;
    font-size: 25px;
    font-family: var(--font-heading);
    padding: .45rem 1rem .45rem calc(1rem + var(--nose));
    /* 左に余白 */
}

.heading-chip--flip::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    /* ノーズぶん左へ広げる */
    background: #000;

    /* ← ここがポイント：左上(0 0) → 右上 → 右下 → 左下( var(--nose) 100% ) */
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, var(--nose) 100%);
    clip-path: polygon(0 0, 100% 0, 100% 100%, var(--nose) 100%);
}


/* top */


header {
    background-color: var(--premium-white);
    width: 100%;
    height: 90px;
    position: fixed;
    z-index: 3;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--premium-border);

    opacity: 0;
    transition: 1s;
    transition-delay: 1s;
}

.contact {
    background-color: white;
    width: 100%;
    height: 120px;
    position: fixed;
    z-index: 2;
    display: flex;
    align-items: center;

    opacity: 0;
    transition: 1s;
    transition-delay: 1s;
}

.top header .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hamburger {
    display: none;
}

.nav-02 {
    display: none;
}

header nav ul {
    display: flex;
    justify-content: flex-end;
}

header nav li {
    padding-right: 20px;
}

nav li:hover {
    color: var(--premium-accent);
    transition: color 0.1s;
}

.img-wrap {
    width: 100%;
    height: 100vh;
}

.img-wrap-sub {
    width: 100%;
    height: 100vh;
}

/* ヒーロー画像のラッパー */
.main-visual {
    position: relative;
    overflow: hidden;
}


.main-visual img {
    width: 100%;
    height: 100vh;
    -o-object-fit: cover;
    object-fit: cover;
    position: absolute;

}




/* Our Service */
.service {
    padding: var(--space-2xl) 0;
}

.service li,
.section-block {
    min-height: 340px;
    margin-bottom: 0;
    display: flex;
    align-items: center;
}

.service li img {
    -o-object-fit: cover;
    object-fit: cover;
    width: 50%;
    height: 33.3vw;
    padding-left: 23px;
}

.service li a {
    position: relative;
    width: 50%;
    max-width: 600px;
    height: 340px;
    padding: var(--space-lg);
    background-color: var(--premium-white);
    border: 1px solid var(--premium-border);
    transition-delay: 0.38s;
    box-shadow: var(--premium-shadow-sm);
}

.service-item1 a img {
    width: auto;
    height: 30%;
}

.service-item2 a img {
    width: auto;
    height: 30%;
    padding: 5% 0;
}

.service-item3 a img {
    width: auto;
    height: 30%;
}

.service .catch {
    font-size: 41px;
    font-weight: 600;
    color: var(--premium-accent);
    letter-spacing: 0.02em;

    font-family: var(--font-heading);
}

.service .fa-arrow-up-right-from-square {
    display: block;
    margin-top: 20px;
    opacity: 0.2;
}

.service a:hover .fa-arrow-up-right-from-square {
    color: var(--premium-accent);
    opacity: 1;
    transform: translate(15px, 0);
    transition: 0.2s;
}

.service-item1 a,
.service-item3 a {
    left: -5vw;
}

.service-item2 {
    flex-direction: row-reverse;
}

.service-item2 a {
    right: -5vw;
}

.other {
    color: black;
    display: block;
    text-align: right;
    font-weight: bold;
}

/* Our Vision */
.vision {
    /* background-image: url(image/bg01.jpg); */
    -o-object-fit: cover;
    object-fit: cover;
    height: auto;
    min-height: 650px;
    padding: var(--space-2xl) 0;
    background-color: var(--premium-bg-alt);
}

.vision h2 {
    display: block;
    text-align: center;
    font-size: 24px;
    /* 相対値に設定した方がいいかもしれない */
    margin: var(--space-xl) 0;
    letter-spacing: 0.05em;
    color: var(--premium-dark);

    transition-delay: 0.5s;
}

.vision ul {
    display: flex;
    justify-content: center;
}

.vision ul li {
    padding: 0 var(--space-lg);
    border-right: 1px solid var(--premium-border);
}

.vision ul li:last-child {
    border-right: none;
}

.vision ul li .catch {
    font-size: 2rem;
    color: var(--premium-accent);
    font-weight: 600;
    text-align: center;
    margin: var(--space-md);
    letter-spacing: 0.03em;
}

.vision ul li .sub {

    text-align: left;
    padding: 10px;
}

/* News */
.news {
    padding: var(--space-2xl) 0;
    background-color: var(--premium-white);
}

.news li {
    display: flex;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.about-content-inner-wrap {
    display: flex;
}

.news li>img {
    width: 150px;
    height: 80px;
    -o-object-fit: cover;
    object-fit: cover;
}

.news-meta time {
    font-size: 0.8em;
    margin: 0 20px;
    color: gainsboro;
}

.news-meta a {
    font-size: 0.8em;
    font-weight: 700;
    margin-right: 10px;
}

.news-title {
    margin: 10px 10px 10px 20px;
    color: #fefefe;
}

.news-content:hover .news-title>a {
    color: #ffffff;
    transition: 0.4s;
}

/* About Us */


.about ul {
    width: 80%;
    display: inline-block;
}

.about li {
    display: flex;
    flex-wrap: wrap;
    margin: 5%;
}

.about-head {
    border-bottom: 1px solid var(--premium-accent);
    width: 28%;
    padding: 1.5em 0;
    margin-right: 3px;
    font-weight: 500;
    color: var(--premium-dark);
}

.about-data {
    width: 70%;
    color: var(--premium-gray);
    border-bottom: 1px solid var(--premium-border);
    padding: 1.5em 0;
}

.map-link {
    color: var(--premium-accent);
    display: block;
    margin-top: 5px;
}

.map-link:hover {
    color: #207767;
}

.map-link:hover i {
    color: var(--premium-accent);
}


.about-content-inner-wrap {
    display: flex;
    justify-content: space-between;
}

.about-content-inner-wrap img {
    width: 45%;
    -o-object-fit: cover;
    object-fit: cover;
}

/* Recruit */
.achievements {
    padding: var(--space-2xl) 0;
    background-color: var(--premium-bg-alt);
}

.achievements h2 {
    font-size: 1.3em;
    font-weight: bold;
    text-align: center;
    padding: 40px 0;
}

.achievements h2 span {
    color: var(--premium-accent);
}

.achievements-jobs {
    background-color: white;
}

.achievements-jobs>p {
    text-align: center;
    padding-bottom: 40px;
    font-weight: bold;
}

.jobs {
    display: flex;
    justify-content: center;
}

.jobs a {
    text-align: center;
    width: 30%;
    padding: 18px 0;
    margin: 0 12px;
    border: 1px solid var(--premium-border);
    font-weight: 500;
    background-color: var(--premium-white);
    transition: all 0.3s ease;
}

.jobs a:hover {
    background-color: var(--premium-accent);
    border-color: var(--premium-accent);
    color: white;
    box-shadow: var(--premium-shadow-md);
}

.jobs a:hover i {
    color: white;
    transition: 0.2s;
}

.jobs a:nth-child(2) {
    transition-delay: 0.2s;
    transition-property: transform;
}

.jobs a:nth-child(3) {
    transition-delay: 0.4s;
    transition-property: transform;
}

/* footer */
footer {

    background-color: var(--premium-dark);
    width: 100%;

    margin-top: 0;
    /* 上のマージンを0に設定 */
    padding-bottom: 0;
    /* 下のパディングを0に設定 */

}

footer .wrap {
    display: flex;
    justify-content: space-between;
    padding: 10px 10px;
    background-color: var(--premium-dark);
}

footer .devwrap {
    display: flex;
    justify-content: space-between;
    padding: 10px 10px;
    background-color: #010101;
}

.footer-left img {
    width: 80%;
    max-width: 200px;
    height: auto;
}

.footer-left p {
    color: #ffffff;
    font-size: 0.9em;
    margin: 20px 0;
}

.footer-left small {
    color: #ffffff;
}

.footer-right nav {
    color: #FFFFFFDE;
    margin-bottom: 30px;
}

.footer-right nav ul {
    display: flex;
    justify-content: flex-end;
}

.footer-right nav ul li {
    margin-right: 5%;
    cursor: pointer;
}

.footer-service {
    display: flex;
}

.footer-service a {
    color: white;
    font-size: 0.9em;
    font-weight: 500;
    padding: 12px 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-left: 20px;
    transition: all 0.3s ease;
}

.footer-service a:hover {
    background-color: var(--premium-accent);
    border-color: var(--premium-accent);
}

.footer-service a:hover i {
    color: white;
    transition: 0.15s;
}



.c-form__terms {
    padding: 20px;
    border: 1px solid #ced4da;
    font-size: 14px;
    background-color: white;
    line-height: 1.5;
    text-align: left;
}

.c-form__terms-container {
    overflow-y: auto;
    max-height: 200px;
    padding: 20px;
}

.c-form__terms-ttl {
    margin: 0 0 20px;
    font-size: 18px;

    font-weight: 900;
}

/* レスポンシブ対応 ----------------------------------------------------------------------------------------------*/
/* ↓レスポンシブデザイン↓
画面幅が860px以下の時
*/

@media (max-width: 768px) {


    .maintitle {
        font-size: 25px !important;
    }

    .main-visual {
        height: clamp(320px, 60svh, 520px);
        /* 画面に応じて 320〜520px で可変 */
    }



    .main-visual img {
        width: 100%;
        height: 100% !important;
        /* inlineの height:auto を上書き */
        object-fit: cover;
        /* 余白を作らず、はみ出し分はカット */
        -o-object-position: center;
        object-position: center;
        /* どこを見せるか：中央 */
        -o-object-fit: cover;
    }

    /* 右端が斜めに“切れる”バッジ（外側へ少し伸ばす版） */
    .heading-chip {
        --nose: 70px;
        /* 斜めの長さ。大きいほど浅く長く */
        position: relative;
        display: inline-block;
        /* テキスト幅にフィット */
        color: #f7f7f9;
        line-height: 1.2;
        font-size: 16px;
        font-family: var(--font-heading);
        padding: .45rem calc(1rem + var(--nose)) .45rem 1rem;
        /* 右にノーズぶん余白 */
    }

    /* 背景を1枚で成形（右端を斜めカット） */
    .heading-chip::before {
        content: "";
        position: absolute;
        z-index: -1;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        /* 右へ“ノーズ分”はみ出させる */
        background: #000;

        /* 右端が斜めになる台形（上：外側、下：内側） */
        -webkit-clip-path: polygon(0 0, calc(100% - var(--nose)) 0, 100% 100%, 0 100%);
        clip-path: polygon(0 0, calc(100% - var(--nose)) 0, 100% 100%, 0 100%);
    }

    /* ※旧方式の ::after / transform は不要なので削除してください */

    /* 左ノーズ（斜めカット）版：ズレなし・一体成形 */
    .heading-chip--flip {
        --nose: 70px;
        /* 斜めの出っ張り量（大きいほど斜度が緩く/長く） */
        position: relative;
        display: inline-block;
        color: #f7f7f9;
        line-height: 1.2;
        font-size: 16px;
        font-family: var(--font-heading);
        padding: .45rem 1rem .45rem calc(1rem + var(--nose));
        /* 左に余白 */
    }

    .heading-chip--flip::before {
        content: "";
        position: absolute;
        z-index: -1;
        top: 0;
        bottom: 0;
        right: 0;
        left: 0;
        /* ノーズぶん左へ広げる */
        background: #000;

        /* ← ここがポイント：左上(0 0) → 右上 → 右下 → 左下( var(--nose) 100% ) */
        -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, var(--nose) 100%);
        clip-path: polygon(0 0, 100% 0, 100% 100%, var(--nose) 100%);
    }

    .mobile-small {
        font-size: .875rem;
    }

    /* small 相当 */

    .c-form__terms {
        padding: 10px;
    }

    .top p strong {
        color: #f7f6fdf3;
        font-size: 32px;
        width: 100%;
        display: block;

    }

    @media (max-width: 720px) {

        .top p strong {
            color: #f7f6fdf3;
            font-size: 24px;
            width: 100%;
            display: block;

        }
    }



    .service .sub {
        font-size: 16px;
        margin-top: 30px;
    }


    .service .catch {
        font-size: 23px;
    }

    .subtitle {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .nav-01 {
        display: none;
    }

    /* ── ハンバーガーボタン ── */
    .hamburger {
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        width: 48px;
        height: 48px;
        z-index: 102;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    .hamburger .bar {
        position: absolute;
        width: 24px;
        height: 2px;
        display: block;
        background: var(--premium-black, #1a1a1a);
        border-radius: 2px;
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                    opacity 0.25s ease,
                    top 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                    bottom 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                    background 0.3s ease;
        box-sizing: border-box;
    }

    .hamburger .bar-top    { top: 14px; }
    .hamburger .bar-middle { top: 50%; transform: translateY(-50%); }
    .hamburger .bar-bottom { bottom: 14px; }

    .hamburger.close .bar-top {
        top: 50%;
        transform: translateY(-50%) rotate(45deg);
        background: #fff;
    }
    .hamburger.close .bar-middle {
        opacity: 0;
        transform: translateY(-50%) scaleX(0);
    }
    .hamburger.close .bar-bottom {
        bottom: 50%;
        transform: translateY(50%) rotate(-45deg);
        background: #fff;
    }

    /* ── ドロワー背景オーバーレイ ── */
    .nav-02::before {
        content: "";
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s ease, visibility 0.4s ease;
        z-index: -1;
    }
    .nav-02-active::before {
        opacity: 1;
        visibility: visible;
    }

    /* ── スライドドロワー ── */
    .nav-02 {
        display: block;
        position: fixed;
        top: 0;
        right: 0;
        width: min(320px, 80vw);
        height: 100dvh;
        background: linear-gradient(180deg, #051b26 0%, #0dcaf0 100%);
        padding: 120px 36px 48px;
        z-index: 100;
        transform: translateX(100%);
        transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        box-shadow: -8px 0 40px rgba(0, 0, 0, 0.3);
    }

    .nav-02-active {
        transform: translateX(0);
    }

    .nav-02 ul {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 0;
        margin: 0;
        list-style: none;
        position: relative;
        z-index: 1;
    }

    .nav-02 ul li {
        margin-bottom: 0;
        border-bottom: 1px solid rgba(13, 202, 240, 0.1);
    }
    .nav-02 ul li:first-child {
        border-top: 1px solid rgba(13, 202, 240, 0.1);
    }

    .nav-02 ul li a {
        display: flex;
        align-items: center;
        padding: 20px 8px;
        font-family: "Times New Roman", "Noto Serif JP", Georgia, serif;
        font-size: 0.95rem;
        font-weight: 600;
        letter-spacing: 0.12em;
        color: rgba(255, 255, 255, 0.85) !important;
        text-decoration: none !important;
        transition: color 0.3s ease, padding-left 0.3s ease, letter-spacing 0.3s ease;
        position: relative;
    }

    .nav-02 ul li a::before {
        content: "";
        display: inline-block;
        width: 0;
        height: 2px;
        background: #0dcaf0;
        border-radius: 1px;
        margin-right: 0;
        transition: width 0.3s ease, margin-right 0.3s ease;
    }

    .nav-02 ul li a:hover,
    .nav-02 ul li a:focus {
        color: #0dcaf0 !important;
        padding-left: 4px;
    }
    .nav-02 ul li a:hover::before,
    .nav-02 ul li a:focus::before {
        width: 20px;
        margin-right: 12px;
    }

    /* ── ドロワー内アニメーション（順番に表示） ── */
    .nav-02 ul li {
        opacity: 0;
        transform: translateX(24px);
        transition: opacity 0.35s ease, transform 0.35s ease;
    }
    .nav-02-active ul li {
        opacity: 1;
        transform: translateX(0);
    }
    .nav-02-active ul li:nth-child(1) { transition-delay: 0.08s; }
    .nav-02-active ul li:nth-child(2) { transition-delay: 0.14s; }
    .nav-02-active ul li:nth-child(3) { transition-delay: 0.20s; }
    .nav-02-active ul li:nth-child(4) { transition-delay: 0.26s; }
    .nav-02-active ul li:nth-child(5) { transition-delay: 0.32s; }
    .nav-02-active ul li:nth-child(6) { transition-delay: 0.38s; }

    .wrap {
        padding: 0 40px;
    }

    .service-item2 a img {
        width: 30vw;
        height: auto;
    }

    .vision {
        height: 900px;
    }

    .vision ul {
        flex-direction: column;
    }

    .vision ul li {
        border: none;
        margin-bottom: 30px;
    }

    .vision ul li .catch {
        font-size: 1.7rem;
    }

    .vision ul .br-sp {
        display: none;
    }



    .about-content-inner-wrap {
        display: flex;
        flex-direction: column-reverse;
        justify-content: center;
    }

    .about-content-inner-wrap ul {
        width: 100%;
    }

    .about-content-inner-wrap img {
        margin: auto;
        width: 90%;
        height: auto;
        -o-object-fit: cover;
        object-fit: cover;
    }

    .jobs {
        flex-wrap: wrap;
    }

    .jobs a {
        width: 240px;
        height: auto;
        margin-bottom: 30px;
    }

}

/*---------------------------------------------------------------------------------------------------------------------------------*/
@media (max-width: 500px) {
    .title-cell {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 15ch;
        /* “約”15文字分の幅。厳密ではない */
    }



    .service {
        padding: 1px 0;
    }

    .vision {
        padding: 1px 0;
    }

    .wrap {
        padding: 0 24px;
    }

    .service ul {
        padding: 0 24px;
    }

    .service li {
        display: inline-block;
        margin-bottom: 30px;
        height: 600px;
    }

    .service li>img {
        display: block;
        width: 90%;
        height: auto;
        padding-left: 30px;
    }

    .service li a {
        display: block;
        width: 100%;
        height: 300px;
        position: static;
        margin-bottom: 30px;
    }

    .strong-point .catch {
        padding-top: 10px;
        font-size: 20px;
    }


    .service .sub {
        font-size: 0.8em;
    }

    .service-item1 a>img {
        width: 55%;
        height: auto;
    }

    .service .other {
        margin-top: 0;
    }



    .vision h2 {
        font-size: 15px;
        text-align: center;
        margin-top: 24px;
    }

    .vision h2 .br-sp {
        display: none;
    }




    .vision ul li .catch {
        text-align: center;
        margin: 8px;
    }

    .vision ul li .sub {
        text-align: left;
        font-size: 0.9em;
    }

    .vision ul li .catch {
        font-size: 1.5rem;
    }

    .news ul li {
        flex-direction: column;
    }

    .news ul li img {
        width: 100%;
        height: 50vw;
    }

    .achievements .jobs {
        padding: 40px;
    }

    .achievements .jobs a {
        width: 100%;
    }

    footer .wrap {
        flex-direction: column-reverse;
    }

    .footer-right nav ul {
        padding-bottom: 0.8rem;
        border-bottom: 1px solid #313131;
        text-align: left;
        justify-content: flex-start;
        overflow-x: scroll;
    }

    .footer-service {
        flex-direction: column;
        margin-bottom: 30px;
    }

    .footer-service a {
        margin-bottom: 15px;
        text-align: center;
    }



    .top p strong {
        color: #f7f6fdf3;
        font-size: 18px;
        width: 100%;
        display: block;


    }


    .top p {
        font-size: 10px;
        color: white;
        padding: 10px;
        font-weight: bold;
        position: absolute;
        bottom: 30px;
        left: 0;
        right: 0;
        transition: 1s;
        text-align: center;
        line-height: 2.5;


    }

    h1 span {
        border-bottom: 2px solid var(--premium-accent);
        text-align: center;
        font-size: large;
    }

    h1 {
        font-size: 32px;
        font-weight: bold;
        margin-top: 30px;
        margin-bottom: 26px;
        text-align: center;
    }

    .service .sub {
        line-height: 29px;
        margin-top: 3px;
    }

    .subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .service .catch {
        font-size: 25px;
        color: var(--premium-accent);
    }

    .achievements {
        padding: 1px 0;
    }

    .vision {
        height: 750px;
    }

    .achievements h2 {
        font-size: 1.3em;
        font-weight: bold;
        text-align: center;
        padding: 10px 0;
    }
}

@media (max-width: 390px) {
    .top p strong {
        color: #f7f6fdf3;
        font-size: 16px;
        width: 100%;
        display: block;


    }
}

/*---------------------------------------------------------------------------------------------------------------------------------*/


/* ① 100vh 問題を回避（モバイルで実高さに追従させる） */
.min-vh-100 {
    min-height: 100dvh !important;
}

/* body に適用済みのクラスを上書き */

/* ② フッターを通常フローに戻す（固定指定があってもモバイルでは打ち消す） */
footer {
    position: relative;
    width: 100%;
    z-index: 1;
}

@media (max-width: 767.98px) {
    footer {
        position: static !important;
    }
}

/* ③ 念のため本文の下に余白を確保（固定フッターの影響が残っても被らない） */
@media (max-width: 767.98px) {
    main {
        padding-bottom: 96px;
    }

    /* フッターの高さ目安に合わせて調整可 */


    /* 触らなくてもOK。見た目の余白調整 */
}

/* 並び：1→2→3列 */
.pillars {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    /* モバイル1列 */
    gap: 16px;
}

@media (min-width: 576px) {
    .pillars {
        grid-template-columns: repeat(2, 1fr);
    }

    /* タブレット2列 */
}

@media (min-width: 992px) {
    .pillars {
        grid-template-columns: repeat(3, 1fr);
    }

    /* PC3列 */
}

/* カード */
.pillars>li {
    background: var(--premium-white);
    border: 1px solid var(--premium-border);
    border-radius: 12px;
    padding: var(--space-md) var(--space-md) var(--space-md);
    box-shadow: var(--premium-shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform .25s ease, box-shadow .25s ease;
}

@media (hover:hover) {
    .pillars>li:hover {
        transform: translateY(-5px);
        box-shadow: var(--premium-shadow-lg);
        border-color: var(--premium-accent-light);
    }
}

/* タイポ */
.pillars .catch {
    font-weight: 700;
    font-size: 1.125rem;
    margin: 0 0 .25rem;
}

.pillars .subtitle {
    color: var(--premium-muted);
    margin: 0 0 .75rem;
    font-size: .95rem;
}

.pillars .sub {
    margin: 0;
    line-height: 1.8;
    font-size: .95rem;
}

/* モバイルの行間を少し詰めて読みやすく */
@media (max-width: 575.98px) {
    .pillars .sub {
        line-height: 1.7;
    }
}

/* （オプション）モーション軽減に配慮 */
@media (prefers-reduced-motion: reduce) {
    .pillars>li {
        transition: none;
    }
}

@media (max-width: 767.98px) {
    .vision .fadein-from-down {
        transform: none !important;
    }
}

html,
body {
    overflow-x: hidden;
}


footer .logo {
    height: 40px;
    width: auto;
    cursor: pointer;
    display: block;
}

@media (min-width: 768px) {
    footer .logo {
        height: 48px;
    }
}

:root {
    --ink: var(--premium-black);
    --muted: var(--premium-muted);
    --blue: var(--premium-accent);
    --line: var(--premium-border);
    --panel: var(--premium-white);
    --radius: 10px;
    --shadow: var(--premium-shadow-sm);
    --maxw: 1000px
}

.top-link-button {
    display: inline-block;
    padding: 14px 24px;
    background: var(--premium-black);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    transition: all 0.3s ease;
}

.link-button {
    display: inline-block;
    padding: 20px 28px;
    background: var(--premium-black);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    transition: all 0.3s ease;
}

.link-button:hover {
    background: var(--premium-accent);
    color: #fff;
    box-shadow: var(--premium-shadow-md);
}

.top-link-button:hover {
    background: var(--premium-accent);
    color: #fff;
    box-shadow: var(--premium-shadow-md);
}

.link-button i {
    transition: color 0.2s;

    /* アイコン色も滑らかに */
}

.link-button:hover i {
    color: #fff;
    /* ←矢印だけこの色にしたい場合 */
}

/* ============================================
   ホバーエフェクト - ユーザビリティ向上
   ============================================ */

/* ヘッダーナビゲーションリンク */
header nav li a {
    position: relative;
    transition: color 0.3s ease;
}

header nav li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--premium-accent);
    transition: width 0.3s ease;
}

header nav li a:hover {
    color: var(--premium-accent);
}

header nav li a:hover::after {
    width: 100%;
}

/* ロゴホバー */
.logo-container {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.logo-container:hover {
    opacity: 0.8;
    transform: scale(1.02);
}

/* フッターロゴホバー */
footer .logo {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

footer .logo:hover {
    opacity: 0.7;
    transform: scale(1.05);
}

/* ボタンホバー強化 */
.link-button {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.link-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.link-button:hover {
    background: var(--premium-accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 110, 152, 0.3);
}

.link-button:hover::before {
    left: 100%;
}

.link-button:hover i {
    transform: translateX(4px);
}

.link-button i {
    transition: transform 0.3s ease, color 0.2s;
}

/* トップリンクボタンホバー強化 */
.top-link-button {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.top-link-button:hover {
    background: var(--premium-accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 110, 152, 0.4);
}

.top-link-button i {
    transition: transform 0.3s ease;
}

.top-link-button:hover i {
    transform: translateX(4px);
}

/* セクション画像ホバー */
.service .img-fluid {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service .img-fluid:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* セクションカード（.row）ホバー */
.service .row {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service .row:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ニュースアイテムホバー */
.news-item {
    transition: background-color 0.3s ease, transform 0.3s ease;
    border-radius: 8px;
    padding: 8px;
    margin: -8px;
}

.news-item:hover {
    background-color: rgba(0, 110, 152, 0.05);
    transform: translateX(5px);
}

.news-item a {
    transition: color 0.3s ease;
}

.news-item:hover .fw-semibold {
    color: var(--premium-accent);
}

.news-item .ratio img {
    transition: transform 0.3s ease;
}

.news-item:hover .ratio img {
    transform: scale(1.05);
}

/* About カードホバー */
.about-card {
    transition: transform 0.4s ease;
}

.about-card:hover {
    transform: translateY(-5px);
}

.about-card__main img {
    transition: transform 0.5s ease;
}

.about-card:hover .about-card__main img {
    transform: scale(1.05);
}

.about-card__sub {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.about-card:hover .about-card__sub {
    transform: translate(-5px, -5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

/* フッターリンクホバー */
.human-rights-policy {
    transition: color 0.3s ease, -webkit-text-decoration 0.3s ease;
    transition: color 0.3s ease, text-decoration 0.3s ease;
    transition: color 0.3s ease, text-decoration 0.3s ease, -webkit-text-decoration 0.3s ease;
}

.human-rights-policy:hover {
    color: #ffffff !important;
    text-decoration: underline;
}

/* セクション見出しホバー */
.heading-chip,
.heading-chip--flip {
    transition: transform 0.3s ease;
}

.heading-chip:hover,
.heading-chip--flip:hover {
    transform: scale(1.02);
}

/* maintitleホバー */
.maintitle {
    transition: color 0.3s ease;
}

.service .row:hover .maintitle {
    color: var(--premium-accent);
}

/* ============================================
   各ページ共通ホバーエフェクト
   ============================================ */

/* カードホバー（Service, Philosophy ページ等） */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    border-color: rgba(30, 144, 255, 0.3);
}

/* バリューカードホバー（Philosophy ページ） */
.value {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.value:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--premium-accent);
}

.value h4 {
    transition: color 0.3s ease;
}

.value:hover h4 {
    color: var(--premium-accent);
}

/* 「詳しく見る」リンクホバー */
a.more {
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

a.more:hover {
    color: var(--premium-accent);
    transform: translateX(5px);
}

a.more i {
    transition: transform 0.3s ease;
}

a.more:hover i {
    transform: translateX(4px);
}

/* パンくずリストホバー */
.breadcrumb-item a {
    transition: color 0.3s ease;
    color: var(--premium-accent);
}

.breadcrumb-item a:hover {
    color: var(--premium-accent);
    text-decoration: underline;
}

/* Bootstrapボタンホバー強化 */
.btn-outline-primary {
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

.btn-primary {
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.4);
}

/* Kickerラベルホバー */
.kicker {
    transition: color 0.3s ease, letter-spacing 0.3s ease;
}

.card:hover .kicker,
.value:hover .kicker {
    letter-spacing: 0.15em;
}

/* メッセージボックスホバー（Philosophy ページ） */
.message {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.message:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Origin セクションホバー */
.origin {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.origin:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.origin .bar {
    transition: border-color 0.3s ease, padding-left 0.3s ease;
}

.origin:hover .bar {
    border-left-color: var(--premium-accent);
    padding-left: 20px;
}

/* フォーム要素ホバー・フォーカス（Contact ページ） */
.form-control {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:hover {
    border-color: var(--premium-accent);
}

.form-control:focus {
    border-color: var(--premium-accent);
    box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.15);
}

/* About ページ リスト項目ホバー */
.about li {
    transition: background-color 0.3s ease;
    border-radius: 8px;
}

.about li:hover {
    background-color: rgba(0, 110, 152, 0.03);
}

.about-head {
    transition: border-color 0.3s ease, color 0.3s ease;
}

.about li:hover .about-head {
    border-bottom-color: var(--premium-accent);
    color: var(--premium-accent);
}

/* Bootstrap Iconホバー */
.bi {
    transition: transform 0.3s ease, color 0.3s ease;
}

.card:hover .bi,
a:hover .bi {
    transform: scale(1.1);
    color: var(--premium-accent);
}

/* 画像ホバー（汎用） */
.img-fluid {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

a:hover .img-fluid,
.card:hover .img-fluid {
    transform: scale(1.02);
}

/* ヒーローセクション内テキストホバー */
.hero .title h1 {
    transition: letter-spacing 0.5s ease;
}

.hero:hover .title h1 {
    letter-spacing: 0.12em;
}

/* ============================================
   News ページ ホバーエフェクト
   ============================================ */

/* ニュースリストアイテムホバー */
.list-group-item {
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.list-group-item:hover {
    background-color: rgba(30, 144, 255, 0.05);
    transform: translateX(8px);
    box-shadow: -4px 0 0 0 var(--premium-accent);
}

.list-group-item .fw-semibold {
    transition: color 0.3s ease;
}

.list-group-item:hover .fw-semibold {
    color: var(--premium-accent);
}

/* ニュースサムネイル画像ホバー */
.list-group-item .ratio img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.list-group-item:hover .ratio img {
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* 矢印アイコンホバー */
.go-icon {
    transition: transform 0.3s ease, color 0.3s ease;
}

.list-group-item:hover .go-icon {
    transform: translateX(5px);
    color: var(--premium-accent) !important;
}

/* ページネーションホバー */
.pagination .page-link {
    transition: all 0.3s ease;
}

.pagination .page-link:hover {
    background-color: var(--premium-accent);
    border-color: var(--premium-accent);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(30, 144, 255, 0.3);
}

.pagination .page-item.active .page-link {
    box-shadow: 0 4px 12px rgba(30, 144, 255, 0.4);
}

/* ニュース詳細ページ - 「一覧に戻る」ボタンホバー */
.btn-outline-primary i {
    transition: transform 0.3s ease;
}

.btn-outline-primary:hover i {
    transform: translateX(-4px);
}

/* ニュース詳細ページ - 記事カードホバー */
article.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

article.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
}

/* ニュース詳細画像ホバー */
figure img.img-fluid {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

figure:hover img.img-fluid {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* ============================================
   テキストアニメーション
   ============================================ */

/* ============================================
   ヒーローセクション（動く図形背景）
   ============================================ */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    background: linear-gradient(135deg, #051b26 0%, #0dcaf0 40%, #062833 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-shapes {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.hero-svg {
    width: 100%;
    height: 100%;
}

/* 図形アニメーション */
.hero-shape--1 {
    animation: hero-float-1 12s ease-in-out infinite;
    transform-origin: center;
}

.hero-shape--2 {
    animation: hero-float-2 15s ease-in-out infinite;
    transform-origin: center;
}

.hero-shape--3 {
    animation: hero-float-3 10s ease-in-out infinite;
    transform-origin: center;
}

.hero-shape--4 {
    animation: hero-rotate 20s linear infinite;
    transform-origin: 410px 160px;
}

.hero-shape--5 {
    animation: hero-pulse 8s ease-in-out infinite;
    transform-origin: center;
}

.hero-shape--6 {
    animation: hero-pulse 6s ease-in-out infinite 2s;
    transform-origin: center;
}

.hero-shape--7 {
    animation: hero-dot-blink 4s ease-in-out infinite;
}

.hero-shape--7:nth-child(2) {
    animation-delay: 1s;
}

.hero-shape--7:nth-child(3) {
    animation-delay: 2s;
}

.hero-shape--7:nth-child(4) {
    animation-delay: 3s;
}

.hero-line {
    animation: hero-line-fade 6s ease-in-out infinite;
}

.hero-line:nth-child(2) {
    animation-delay: 1.5s;
}

.hero-line:nth-child(3) {
    animation-delay: 3s;
}

.hero-line:nth-child(4) {
    animation-delay: 4.5s;
}

@keyframes hero-float-1 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(30px, -20px) scale(1.05);
    }

    50% {
        transform: translate(-15px, 25px) scale(0.95);
    }

    75% {
        transform: translate(20px, 15px) scale(1.02);
    }
}

@keyframes hero-float-2 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(-40px, 30px) scale(1.08);
    }

    66% {
        transform: translate(25px, -35px) scale(0.96);
    }
}

@keyframes hero-float-3 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(35px, -30px) scale(1.1);
    }
}

@keyframes hero-rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes hero-pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.2;
    }

    50% {
        transform: scale(1.15);
        opacity: 0.35;
    }
}

@keyframes hero-dot-blink {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.6;
    }
}

@keyframes hero-line-fade {

    0%,
    100% {
        opacity: 0.1;
    }

    50% {
        opacity: 0.25;
    }
}

/* ヒーロー テキスト */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 60px 20px 40px;
    max-width: 900px;
}

.hero-title {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(16px, 3.2vw, 44px);
    font-weight: 700;
    color: #f7f6fdf3;
    line-height: 1.6;
    margin-bottom: 24px;
    white-space: nowrap;
}

.hero-title--sub {
    margin-top: -16px;
}

.hero-sub {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    line-height: 2;
    margin-bottom: 32px;
    opacity: 0.9;
    text-align: center;
}

.hero-content .top-link-button {
    margin-top: 8px;
}

@media (max-width: 1368px) {
    .hero-title {
        font-size: clamp(16px, 3.2vw, 40px);
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 90vh;
    }

    .hero-content {
        padding: 40px 16px 30px;
    }

    .hero-sub {
        font-size: 0.9rem;
    }

    /* .top p の position:absolute を打ち消す */
    .hero-section .hero-sub {
        position: static;
        bottom: auto;
        left: auto;
        right: auto;
        padding: 0;
    }
}

/* 1文字ずつ出現 */
.char-anim .char-span {
    display: inline-block;
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    transition-delay: calc(var(--i) * 0.04s);
}

.char-anim.is-visible .char-span {
    opacity: 1;
    transform: translateY(0);
}

/* フェードアップ */
.anim-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.anim-fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* セクション内で子要素に時間差 */
.section-block .anim-fade-up:nth-child(2) {
    transition-delay: 0.15s;
}

.section-block .anim-fade-up:nth-child(3) {
    transition-delay: 0.3s;
}

.section-block .anim-fade-up:nth-child(4) {
    transition-delay: 0.45s;
}

.hero-content .anim-fade-up:nth-child(2) {
    transition-delay: 1.5s;
}

.hero-content .anim-fade-up:nth-child(3) {
    transition-delay: 2.0s;
}

/* 下線が伸びるスライドイン */
.anim-line {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    position: relative;
    display: inline-block;
}

.anim-line::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--premium-accent);
    transition: width 0.8s ease 0.3s;
}

.anim-line.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.anim-line.is-visible::after {
    width: 100%;
}

/* ============================================
   セクションSVG図形
   ============================================ */
.section-shape {
    position: relative;
}

.section-shape svg {
    display: block;
    width: 100%;
    max-width: 420px;
    height: auto;
    margin: 0 auto;
}

/* 重なる円 - 脈動 */
@keyframes pulse-circle {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }
}

.shape-circle-1 {
    animation: pulse-circle 6s ease-in-out infinite;
    transform-origin: center;
}

.shape-circle-2 {
    animation: pulse-circle 6s ease-in-out infinite 1s;
    transform-origin: center;
}

.shape-circle-3 {
    animation: pulse-circle 6s ease-in-out infinite 2s;
    transform-origin: center;
}

/* Blob変形 */
@keyframes morph-blob {
    0% {
        d: path("M220,100 C280,40 350,80 340,160 C330,240 260,280 200,260 C140,240 80,200 80,140 C80,80 160,160 220,100Z");
    }

    50% {
        d: path("M200,80 C270,60 360,120 320,180 C280,240 220,300 160,260 C100,220 60,160 100,100 C140,40 130,100 200,80Z");
    }

    100% {
        d: path("M220,100 C280,40 350,80 340,160 C330,240 260,280 200,260 C140,240 80,200 80,140 C80,80 160,160 220,100Z");
    }
}

.shape-blob {
    animation: morph-blob 10s ease-in-out infinite;
}

/* ============================================
   各ページ共通ヒーロー（page-hero）
   ============================================ */
.page-hero {
    position: relative;
    min-height: 36vh;
    overflow: hidden;
    background: linear-gradient(135deg, #051b26 0%, #0dcaf0 40%, #062833 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-hero__shapes {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.page-hero__shapes svg {
    width: 100%;
    height: 100%;
}

.page-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: clamp(48px, 13vw, 120px) 20px;
}

.page-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 72px);
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.08em;
    line-height: 1.3;
    margin: 0 0 0.5rem;
}

.page-hero__sub {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 0.06em;
    opacity: 0.9;
    line-height: 1.8;
}

@media (max-width: 767.98px) {
    .page-hero {
        min-height: 46vh;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    .page-hero__sub {
        font-size: 0.875rem;
    }

    .page-hero__content {
        padding: clamp(48px, 33vw, 160px) 10px;
    }
}

/* page-hero ノードアニメーション */
.ph-node {
    animation: ph-node-glow 3s ease-in-out infinite alternate;
}

@keyframes ph-node-glow {
    0% {
        opacity: var(--ph-o, 0.5);
    }

    100% {
        opacity: calc(var(--ph-o, 0.5) * 0.4);
    }
}

.ph-node:nth-child(2n) {
    animation-delay: 0.5s;
}

.ph-node:nth-child(3n) {
    animation-delay: 1s;
}

.ph-node:nth-child(5n) {
    animation-delay: 1.5s;
}

.ph-node:nth-child(7n) {
    animation-delay: 2s;
}

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

    .char-anim .char-span,
    .anim-fade-up,
    .anim-line {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .anim-line::after {
        width: 100% !important;
        transition: none !important;
    }

    .shape-circle-1,
    .shape-circle-2,
    .shape-circle-3,
    .shape-blob,
    .hero-shape--1,
    .hero-shape--2,
    .hero-shape--3,
    .hero-shape--4,
    .hero-shape--5,
    .hero-shape--6,
    .hero-shape--7,
    .hero-line {
        animation: none !important;
    }
}