@charset "UTF-8";

/* 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: 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'メイリオ', Meiryo, 'ＭＳ Ｐゴシック', sans-serif;
}

* {
    -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: 'Times New Roman', Times, serif;
    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: 'Times New Roman', Times, serif;
}

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

.larger-text {
    font-size: larger;
    font-family: 'Times New Roman', Times, serif;
}

.img-wrap {
    position: relative;
}

.img-wrap::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.45);
    /* グレーの半透明色 */
    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: 'Times New Roman', Times, serif;
}

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

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

.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: #006e98;
    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: #006e98;
    /* あるいは任意の色 */
}

.sub {

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

body {
    background-color: #fdfefe;

    /* ↓背景グリッド↓ */
    /* background-image: linear-gradient(0deg, transparent calc(100% - 1px), #f5ffff calc(100% - 1px)),
        linear-gradient(90deg, transparent calc(100% - 1px), #f5f2fe calc(100% - 1px));
    background-size: 23px 23px;
    background-repeat: repeat;
    background-position: center center; */
}


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

h1 span {
    border-bottom: 2px solid #006e98;

    text-align: center;
}

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



.other:hover {
    color: #006e98;
    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: #006e98;
    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-first {
    opacity: 0;
    transition: all 1s;
    transition-delay: 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を#fffへ） */
    color: #111;
    line-height: 1.2;
    font-size: 25px;
    font-family: 'Times New Roman', Times, serif;
    padding: .45rem calc(1rem + var(--nose)) .45rem 1rem;
}

/* 背景（右端を斜めカット） */
.heading-chip::before {
    content: "";
    position: absolute;
    z-index: -2;
    inset: 0;

    /* ★水彩っぽい「にじみグラデ」 */
    background:
        radial-gradient(120px 90px at 18% 65%,
            rgba(255, 175, 205, .85) 0%,
            rgba(255, 175, 205, 0) 70%),
        radial-gradient(170px 120px at 55% 35%,
            rgba(255, 239, 170, .90) 0%,
            rgba(255, 239, 170, 0) 72%),
        radial-gradient(160px 120px at 82% 70%,
            rgba(255, 205, 150, .55) 0%,
            rgba(255, 205, 150, 0) 72%),
        linear-gradient(135deg,
            rgba(255, 220, 235, .55),
            rgba(255, 245, 205, .55));

    background-blend-mode: multiply;

    /* ぼかし＋少し彩度UPで水彩っぽさ */
    filter: blur(3px) saturate(1.02);
    transform: scale(1.02);
    /* ぼかしで端が欠けないように少し拡大 */
}

/* ★紙っぽい粒子（うっすら） */
.heading-chip::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;

    /* 擬似ノイズ（軽量版） */
    background:
        repeating-radial-gradient(circle at 30% 40%,
            rgba(0, 0, 0, .10) 0 1px,
            rgba(0, 0, 0, 0) 1px 4px);
    opacity: .08;
    mix-blend-mode: multiply;

}


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

/* 左ノーズ（斜めカット）版：ズレなし・一体成形 */
/* 左ノーズ（斜めカット）版：水彩・対になる配色 */
.heading-chip--flip {
    --nose: 70px;
    position: relative;
    display: inline-block;

    /* 右ノーズと同じく淡い背景なので濃い文字色 */
    color: #111;
    line-height: 1.2;
    font-size: 25px;
    font-family: 'Times New Roman', Times, serif;

    padding: .45rem 1rem .45rem calc(1rem + var(--nose));
}

/* 背景（左端を斜めカット） */
.heading-chip--flip::before {
    content: "";
    position: absolute;
    z-index: -2;
    inset: 0;

    /* ★右ノーズ版を左右反転した「にじみグラデ」 */
    background:
        radial-gradient(120px 90px at 82% 65%,
            rgba(255, 175, 205, .85) 0%,
            rgba(255, 175, 205, 0) 70%),
        radial-gradient(170px 120px at 45% 35%,
            rgba(255, 239, 170, .90) 0%,
            rgba(255, 239, 170, 0) 72%),
        radial-gradient(160px 120px at 18% 70%,
            rgba(255, 205, 150, .55) 0%,
            rgba(255, 205, 150, 0) 72%),
        /* 角度も反転（135deg → 225deg） */
        linear-gradient(225deg,
            rgba(255, 220, 235, .55),
            rgba(255, 245, 205, .55));

    background-blend-mode: multiply;
    filter: blur(3px) saturate(1.02);
    transform: scale(1.02);

}

/* ★紙っぽい粒子（右ノーズ版と同じ） */
.heading-chip--flip::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;

    background:
        repeating-radial-gradient(circle at 70% 40%,
            rgba(0, 0, 0, .10) 0 1px,
            rgba(0, 0, 0, 0) 1px 4px);
    opacity: .08;
    mix-blend-mode: multiply;

}


/* top */


header {
    background:
        /* 左：ピンクを大きく */
        radial-gradient(520px 260px at 18% 70%,
            rgba(255, 170, 210, .88) 0%,
            rgba(255, 170, 210, 0) 78%),

        /* 中央：黄色を大きく */
        radial-gradient(640px 320px at 55% 35%,
            rgba(255, 238, 150, .92) 0%,
            rgba(255, 238, 150, 0) 82%),

        /* 右：ピンクを追加して"青緑"を上書き（ここが効く） */
        radial-gradient(520px 280px at 88% 70%,
            rgba(255, 190, 220, .70) 0%,
            rgba(255, 190, 220, 0) 78%),

        /* 仕上げの薄い暖色ベース */
        linear-gradient(135deg,
            rgba(255, 225, 240, .22),
            rgba(255, 246, 190, .22));
    width: 100%;
    height: 80px;
    position: fixed;
    z-index: 3;
    display: flex;
    align-items: center;
}

.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: #006e98;
    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;

}




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

}

.top p strong {
    color: #f7f6fdf3;
    font-size: 44px;
}

@media (max-width: 1368px) {

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


    }

    .top p strong {
        color: #f7f6fdf3;
        font-size: 40px;
    }
}

@media (max-width: 1024px) {

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


    }

    .top p strong {
        color: #f7f6fdf3;
        font-size: 38px;
    }
}

@media (max-width: 768px) {

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

    }
}

@media (max-width: 720px) {

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

    }
}




/* Our Service */
.service {
    padding: 100px 0;
}

.service li {
    height: 25vw;
    min-height: 340px;
    margin-bottom: 56px;

    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: 40px;
    background-color: #f4fbfff6;
    border: 2px solid #f1f5f700;
    transition-delay: 0.38s;
}

.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: bold;
    color: #3d4cd1;

    font-family: 'Times New Roman', Times, serif;
}

.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: #006e98;
    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: 650px;
    padding: 100px 0;
}

.vision h2 {
    display: block;
    text-align: center;
    font-size: 24px;
    /* 相対値に設定した方がいいかもしれない */
    margin: 54px 0;

    transition-delay: 0.5s;
}

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

.vision ul li {
    padding: 0 30px;
    border-right: 1px solid gainsboro;
}

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

.vision ul li .catch {
    font-size: 2rem;
    color: #006e98;
    font-weight: bold;
    text-align: center;
    margin: 24px;
}

.vision ul li .sub {

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

/* News */
.news {
    padding: 120px 0;
}

.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 #006e98;
    width: 28%;
    padding: 1em 0;
    margin-right: 3px;
}

.about-data {
    width: 70%;
    color: #000000e6;
    border-bottom: 1px solid gainsboro;
    padding: 1em 0;
}

.map-link {
    color: #006e98;
    display: block;
    margin-top: 5px;
}

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

.map-link:hover i {
    color: #006e98;
}


.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: 120px 0;
}

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

.achievements h2 span {
    color: #006e98;
}

.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: 15px 0;
    margin: 0 10px;
    border: 1px solid gainsboro;
    font-weight: bold;
}

.jobs a:hover {
    background-color: #006e98;
    color: white;
    transition: 0.1s;
}

.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: #6bcedb;
    width: 100%;

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

}

footer .wrap {
    display: flex;
    justify-content: space-between;
    padding: 10px 10px;
    background-color: #6bcedb;
}

footer .devwrap {
    position: relative;
    display: flex;
    justify-content: space-between;
    padding: 10px 10px;
    color: #f7f7f9;
    /* 文字は白系 */
    background: transparent;
    /* 黒ベタはやめる */
    overflow: hidden;
    /* はみ出し防止 */
}

/* 水彩背景 */
footer .devwrap::before {
    content: "";
    position: absolute;
    inset: -20px;
    /* ぼかしの欠け防止 */
    z-index: 0;

    /* 例：footer .devwrap::before など */
    background-color: #fff3dc;
    /* ★下地を暖色固定（ここ重要） */
    background:
        /* 左：ピンクを大きく */
        radial-gradient(520px 260px at 18% 70%,
            rgba(255, 170, 210, .88) 0%,
            rgba(255, 170, 210, 0) 78%),

        /* 中央：黄色を大きく */
        radial-gradient(640px 320px at 55% 35%,
            rgba(255, 238, 150, .92) 0%,
            rgba(255, 238, 150, 0) 82%),

        /* 右：ピンクを追加して“青緑”を上書き（ここが効く） */
        radial-gradient(520px 280px at 88% 70%,
            rgba(255, 190, 220, .70) 0%,
            rgba(255, 190, 220, 0) 78%),

        /* 仕上げの薄い暖色ベース */
        linear-gradient(135deg,
            rgba(255, 225, 240, .22),
            rgba(255, 246, 190, .22));

    /* ★混色をやめる（青緑化しにくい） */
    background-blend-mode: normal;

    filter: blur(7px) saturate(1.08);
    transform: scale(1.02);


    background-blend-mode: multiply;
    filter: blur(10px) saturate(1.02);
}

/* 可読性を担保する薄い黒ベール */
footer .devwrap::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    /* ここで締める */
}

/* 中身を前面に */
footer .devwrap>* {
    position: relative;
    z-index: 2;
}


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

.footer-left p {
    color: #000000;
    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: bold;
    padding: 10px 15px;
    border: 1px solid gray;
    margin-left: 20px;
}

.footer-service a:hover {
    background-color: #006e98;
    transition: 0.15s;
}

.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;
        /* 余白を作らず、はみ出し分はカット */
        object-position: center;
        /* どこを見せるか：中央 */
        -o-object-fit: cover;
    }

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

    /* 背景を1枚で成形（右端を斜めカット） */
    .heading-chip::before {
        content: "";
        position: absolute;
        z-index: -2;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;

        /* ★水彩っぽい「にじみグラデ」（PC版と同じ） */
        background:
            radial-gradient(120px 90px at 18% 65%,
                rgba(255, 175, 205, .85) 0%,
                rgba(255, 175, 205, 0) 70%),
            radial-gradient(170px 120px at 55% 35%,
                rgba(255, 239, 170, .90) 0%,
                rgba(255, 239, 170, 0) 72%),
            radial-gradient(160px 120px at 82% 70%,
                rgba(255, 205, 150, .55) 0%,
                rgba(255, 205, 150, 0) 72%),
            linear-gradient(135deg,
                rgba(255, 220, 235, .55),
                rgba(255, 245, 205, .55));

        background-blend-mode: multiply;
        filter: blur(3px) saturate(1.02);
        transform: scale(1.02);
    }

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

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

    .heading-chip--flip::before {
        content: "";
        position: absolute;
        z-index: -2;
        top: 0;
        bottom: 0;
        right: 0;
        left: 0;

        /* ★右ノーズ版を左右反転した「にじみグラデ」（PC版と同じ） */
        background:
            radial-gradient(120px 90px at 82% 65%,
                rgba(255, 175, 205, .85) 0%,
                rgba(255, 175, 205, 0) 70%),
            radial-gradient(170px 120px at 45% 35%,
                rgba(255, 239, 170, .90) 0%,
                rgba(255, 239, 170, 0) 72%),
            radial-gradient(160px 120px at 18% 70%,
                rgba(255, 205, 150, .55) 0%,
                rgba(255, 205, 150, 0) 72%),
            linear-gradient(225deg,
                rgba(255, 220, 235, .55),
                rgba(255, 245, 205, .55));

        background-blend-mode: multiply;
        filter: blur(3px) saturate(1.02);
        transform: scale(1.02);
    }

    .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;
    }

    .nav-02 {
        display: block;
        position: fixed;
        right: -60%;
        width: 50%;

        background-color: white;
        opacity: 0.8;
        padding-left: 15px;
        padding-top: 15px;
        z-index: 3;
        transition: 0.7s;
        overflow-x: hidden;
    }

    .nav-02 ul {
        display: flex;
        flex-direction: column;
        font-size: 16px;
        padding: 0px;
    }

    .nav-02 ul li {
        margin-bottom: 32px;
        color: #006e98;
    }

    .nav-02-active {
        display: block;
        right: 0;
        margin-top: 80px;
    }

    .hamburger {
        display: block;
        position: relative;
        width: 3rem;
        height: 3rem;
        z-index: 3;
    }

    .hamburger .bar {
        position: absolute;
        width: 2rem;
        height: 2px;
        display: block;
        background: #ffffff;
        transition: 0.1s;
        box-sizing: border-box;
    }

    .hamburger .bar-top {
        top: 10px;
    }

    .hamburger .bar-middle {
        line-height: 1.5rem;
        top: 48%;
    }

    .hamburger .bar-bottom {
        bottom: 10px;
    }

    .hamburger.close .bar-top {
        transform: rotate(45deg);
        top: 48%;
        z-index: 3;
    }

    .hamburger.close .bar-middle {
        display: none;

    }

    .hamburger.close .bar-bottom {
        transform: rotate(-45deg);
        bottom: 48%;
        z-index: 3;
    }

    .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 #006e98;
        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: #3d4cd1;
    }

    .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: #fff;
    border: 1px solid #e9ecef;
    border-radius: 16px;
    padding: 18px 18px 20px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: transform .25s ease, box-shadow .25s ease;
}

@media (hover:hover) {
    .pillars>li:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 28px rgba(0, 0, 0, .1);
    }
}

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

.pillars .subtitle {
    color: #6c757d;
    margin: 0 0 .5rem;
    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: #101317;
    --muted: #6a7689;
    --blue: #1E90FF;
    --line: #E7EEF5;
    --panel: #fff;
    --radius: 10px;
    --shadow: 0 2px 14px rgba(0, 0, 0, .06);
    --maxw: 940px
}

.top-link-button {
    display: inline-block;
    padding: 10px 18px;
    background: #101317;
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: background 0.2s, color 0.2s;
}

.link-button {
    display: inline-block;
    padding: 18px 18px;
    background: #ffa2a8;
    /* チャコール */
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: background 0.2s, color 0.2s;
}

.link-button:hover {
    /* 薄い黒 */
    background: #424649;
    color: #fff;
    /* ←ここで文字色を指定 */
}

.top-link-button:hover {
    /* 薄い黒 */
    background: #424649;
    color: #fff;
    /* ←ここで文字色を指定 */
}

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

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

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