/* 共通設定 */
body {
    color: #333;

}

/* アニメーション */
@keyframes floating-x {
    0% {
        transform: translateX(-5%);
    }

    100% {
        transform: translateX(5%);
    }
}

@keyframes floating-y {
    0% {
        transform: translateY(-10%);
    }

    100% {
        transform: translateY(10%);
    }
}

@media (max-width: 767px) {
    .c-container {
        padding-inline: 15px;
    }
}

@media (any-hover: hover) {
    .l-footer .widget_nav_menu :where(a):hover {
        text-decoration: none;
    }

    .smb-btn:hover {
        filter: none !important;
    }
}

@media (max-width: 320px) {
    p {
        font-size: 13px !important;
    }

    .has-sm-xl-font-size {
        font-size: 18px !important;
    }

    .has-sm-2-xl-font-size {
        font-size: 20px !important;
    }

    .has-sm-l-font-size {
        font-size: 14px !important;
    }

    .has-sm-s-font-size {
        font-size: 12px !important;
    }
}

/* セクションタイトル */

.section-title .section-title__en {
    margin-top: -1.8rem;
}

.section-title h2 {
    margin-bottom: 0.5rem;
    font-size: clamp(18px, calc(18px + (3 * (100vw - 375px) / (1440 - 375))), 21px);
}

@media (max-width: 781px) {
    .section-title h2 {
        margin-bottom: 1rem;
    }
}

.section-title__en span {
    font-family: "Montserrat";
    background: linear-gradient(121deg, #084a95 0%, #51ace2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    white-space: nowrap;

    /* 320px → 1024px : 42px → 56px */
    font-size: clamp(42px,
            calc(42px + (14 * (100vw - 320px) / 704)),
            56px);
}

@media (min-width: 1024px) {
    .section-title__en span {
        /* 1024px → 1440px : 50px → 72px */
        font-size: clamp(50px,
                calc(50px + (16 * (100vw - 1024px) / 416)),
                72px);
    }
}

/* section-title__en--small モディファイヤー */
.section-title__en--small span {
    /* 320px → 1024px : 32px → 42px */
    font-size: clamp(32px,
            calc(32px + (10 * (100vw - 320px) / 704)),
            42px);
}

@media (min-width: 1024px) {
    .section-title__en--small span {
        /* 1024px → 1440px : 42px → 56px */
        font-size: clamp(42px,
                calc(42px + (14 * (100vw - 1024px) / 416)),
                56px);
    }
}



.section-title__en.--white span {
    color: #fff;
    -webkit-text-fill-color: initial;
}

/* テキストの太さ */
.medium {
    font-weight: 500;
}

/* グラデーション */
.gd {
    background: linear-gradient(121deg, #084a95 0%, #51ace2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    /* text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2); */
}

.shadow span {
    text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}

@media (any-hover: hover) {
    .smb-btn:hover {
        filter: none !important;
    }
}


.en-font {
    font-family: "Montserrat";
}



/* 改行調整 */

.long-text {
    display: inline-block;
}

/* ぱんくず */
/* パンくずだけ1146px幅に制御 */
.p-breadcrumbs-wrapper {
    max-width: 1146px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    box-sizing: border-box;
}


/* 現在ページ以外のパンくずリンクを #084A95 に */
.c-breadcrumbs .c-breadcrumbs__item>a:not([aria-current="page"]) {
    color: #084A95;
}

/* 現在ページの色はそのまま（必要なら調整） */
.c-breadcrumbs .c-breadcrumbs__item>a[aria-current="page"] {
    color: inherit;
    /* 例：または #333 などに指定 */
}


/* ボタン */
/* 詳しく見るボタン（紺） */
.btn .smb-btn--wider {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    /* ← 両端配置に変更 */
    gap: 12px;
    width: 280px;
    max-width: 100%;
    padding: 16px 20px 16px 40px;
    background-color: #0B4EA2;
    color: #fff !important;
    font-weight: 700;
    font-size: 1.125rem;
    text-decoration: none;
    line-height: 1;
    transition: background-color 0.3s ease, color 0.3s ease;

    --smb-btn--background-color: #0B4EA2;
    --smb-btn--border-radius: 9999px;

    &:hover {
        background-color: #FFF;
        color: #0B4EA2 !important;
    }
}

/* テキストは自動幅＋中央寄せで配置 */
.btn .smb-btn__label {
    display: inline-block;
    margin-right: auto;
    line-height: 1;
}

/* アイコンを ::after で追加し、右端に固定配置 */
.btn .smb-btn--wider::after {
    content: '';
    display: inline-block;
    width: 28px;
    height: 28px;
    background-image: url("data:image/svg+xml,%3Csvg width='23' height='23' viewBox='0 0 23 23' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='11.5' cy='11.5' r='11.5' fill='%23F2C81F'/%3E%3Cpath d='M10 8L14 11.6667L10 16' stroke='%23000000' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    flex-shrink: 0;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .btn .smb-btn--wider {
        font-size: 0.875rem;
        padding: 12px 16px;
        width: 200px;
        gap: 8px;
    }

    .btn .smb-btn--wider::after {
        width: 24px;
        height: 24px;
    }
}

/* 白背景・青文字バージョン */
.btn--white .smb-btn--wider {
    background-color: #fff;
    color: #0B4EA2 !important;

    --smb-btn--background-color: #fff;
    --smb-btn--border-radius: 9999px;

    &:hover {
        background-color: #0B4EA2;
        color: #fff !important;
        /* お好みで hover 時の色 */
    }
}

/* スマホ対応（サイズそのままでOK） */
@media (max-width: 768px) {
    .btn--white .smb-btn--wider::after {
        width: 24px;
        height: 24px;
    }
}

/* btn--bgモディファイヤー（ホバー時にborder-color追加） */
.btn--bg .smb-btn--wider {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 280px;
    max-width: 100%;
    padding: 16px 20px 16px 40px;
    background-color: #0B4EA2;
    color: #fff !important;
    font-weight: 700;
    font-size: 1.125rem;
    text-decoration: none;
    line-height: 1;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    border: 1px solid #0B4EA2;

    --smb-btn--background-color: #0B4EA2;
    --smb-btn--border-radius: 9999px;

    &:hover {
        background-color: #FFF;
        color: #0B4EA2 !important;
        border-color: #084A95;
    }
}

/* btn--bgのアイコン */
.btn--bg .smb-btn--wider::after {
    content: '';
    display: inline-block;
    width: 28px;
    height: 28px;
    background-image: url("data:image/svg+xml,%3Csvg width='23' height='23' viewBox='0 0 23 23' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='11.5' cy='11.5' r='11.5' fill='%23F2C81F'/%3E%3Cpath d='M10 8L14 11.6667L10 16' stroke='%23000000' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    flex-shrink: 0;
}

/* btn--bgスマホ対応 */
@media (max-width: 768px) {
    .btn--bg .smb-btn--wider {
        font-size: 0.875rem;
        padding: 12px 16px;
        width: 200px;
        gap: 8px;
    }

    .btn--bg .smb-btn--wider::after {
        width: 24px;
        height: 24px;
    }
}

/* LINEボタン（緑背景） */
.btn--line .smb-btn--wider {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 280px;
    max-width: 100%;
    padding: 16px 20px 16px 40px;
    background-color: #00B900;
    color: #fff !important;
    font-weight: 700;
    font-size: 1.125rem;
    text-decoration: none;
    line-height: 1;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: 1px solid #00B900;

    --smb-btn--background-color: #00B900;
    --smb-btn--border-radius: 9999px;

    &:hover {
        background-color: #fff;
        color: #00B900 !important;
        border-color: #00B900;
    }
}

/* LINEボタンのアイコン（右矢印） */
.btn--line .smb-btn--wider::after {
    content: '';
    display: inline-block;
    width: 28px;
    height: 28px;
    background-image: url("https://www5.aitel.co.jp/wp-content/uploads/2025/10/Group-6-2.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    flex-shrink: 0;
    transition: background-image 0.3s ease;
}

/* LINEボタン ホバー時のアイコン変更 */
.btn--line .smb-btn--wider:hover::after {
    background-image: url("https://www5.aitel.co.jp/wp-content/uploads/2025/10/Group-6-4.svg");
}

/* LINEボタン スマホ対応 */
@media (max-width: 768px) {
    .btn--line .smb-btn--wider {
        font-size: 0.875rem;
        padding: 12px 16px;
        width: 200px;
        gap: 8px;
    }

    .btn--line .smb-btn--wider::after {
        width: 24px;
        height: 24px;
    }
}




/* 募集要項 */
.btn-entry {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    max-width: 280px;
    white-space: nowrap;
    width: 100%;
    padding: 16px 20px 16px 40px;
    border-radius: 36px;
    background-color: #084A95;
    color: #fff;
    font-weight: 700;
    font-size: 1.125rem;
    text-decoration: none;
    line-height: 1;
    transition: background-color 0.3s ease, color 0.3s ease;

    &:hover {
        background-color: #FFF;
        color: #084A95 !important;
    }

    &__icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;

        svg {
            width: 28px;
            height: 28px;
            display: block;
        }
    }
}

@media (max-width: 768px) {
    .btn-entry {
        font-size: 0.875rem;
        padding-inline: 20px;
        padding-block: 10px;
        gap: 8px;
        max-width: 200px;

        &__icon {
            svg {
                width: 24px;
                height: 24px;
            }
        }
    }
}

/* テキストボタン */
/* 一覧を見るボタン（青い矢印） */
.text-btn .smb-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    color: #084a95 !important;
    font-weight: 700;
    font-size: 18px;
    text-decoration: underline;
    line-height: 1;
    transition: opacity 0.3s ease;
    padding: 0;
    border: none;
}

@media (min-width: 782px) and (max-width: 1440px) {
    .text-btn .smb-btn {
        font-size: clamp(16px, calc(16px + (2 * (100vw - 782px) / (1440 - 782))), 18px);
    }
}

@media (max-width: 450px) {
    .text-btn .smb-btn {
        font-size: 14px;
        letter-spacing: 0.01em;
    }
}

.sns-btn .smb-btn {
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.sns-btn .smb-btn__label {
    text-align: center;
    width: 100%;
}



.text-btn .smb-btn:hover {
    opacity: 0.8;
}

.text-btn .smb-btn__label {
    display: inline-block;
    line-height: 1;
}

.text-btn .smb-btn::after {
    content: '';
    display: inline-block;
    width: 28px;
    height: 28px;
    background-image: url('https://www5.aitel.co.jp/wp-content/uploads/2025/09/arrow-blue-1.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    flex-shrink: 0;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

/* スマホ対応 */
@media (max-width: 768px) {
    .text-btn .smb-btn {
        gap: 8px;
    }

    .text-btn .smb-btn::after {
        width: 24px;
        height: 24px;
    }
}


/* ページトップボタン */
.c-page-top {
    background-color: transparent;
    height: 50px;
    width: 50px;
}

.c-page-top a {
    display: block;
    width: 100%;
    height: 100%;
    background: url("https://www5.aitel.co.jp/wp-content/uploads/2025/10/Group-6-1.svg") no-repeat center center;
    background-size: contain;
}

svg.svg-inline--fa.fa-chevron-up {
    display: none;
}


/* cta下スペースの削除 */
.l-contents__inner:last-child {
    padding-bottom: 0 !important;
}

/* サブメニュー */
.c-navbar__submenu a {
    font-weight: 700;
}


/* fv */
/* Snow Monkey セクションに js-mask-open クラスを追加して使用 */
.smb-section.js-mask-open {
    position: relative;
    overflow: hidden;
}

/* 白マスク */
.smb-section.js-mask-open::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #fff;
    z-index: 2;

    /* ここが重要！上下両端を基点にしない */
    transform-origin: top center;
    /* 最初は上基点 */
    animation: maskOpenTop 2s ease-out forwards;
}

.smb-section.js-mask-open::after {
    content: "";
    position: absolute;
    inset: 0;
    background: #fff;
    z-index: 2;

    transform-origin: bottom center;
    /* 下基点 */
    animation: maskOpenBottom 2s ease-out forwards;
}

/* 上半分が上に消える */
@keyframes maskOpenTop {
    0% {
        transform: scaleY(1);
    }

    100% {
        transform: scaleY(0);
    }
}

/* 下半分が下に消える */
@keyframes maskOpenBottom {
    0% {
        transform: scaleY(1);
    }

    100% {
        transform: scaleY(0);
    }
}


.fv__title-sp {
    width: 260px;
    margin-left: auto;
}

/* イントロダクション */

@media screen and (max-width: 639px) {
    .intro {
        margin-top: 0 !important;
    }
}

.intro__container {
    position: relative;
}

.intro__container::before {
    content: "";
    background-image: url(https://www5.aitel.co.jp/wp-content/uploads/2025/09/flying-icon.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top: 4%;
    right: 8%;
    aspect-ratio: 213/135;
    width: 213px;
    height: auto;
    animation: floating-x 2s ease-in-out infinite alternate, floating-y 3s ease-in-out infinite alternate;
}

@media screen and (max-width: 800px) {
    .intro__container::before {
        width: 150px;
        top: 28%;
        right: 0;
    }
}

@media screen and (max-width: 400px) {
    .intro__container::before {
        width: 75px;
        top: 28%;
        right: 0;
    }
}

.intro-shadow span {
    text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}

.wp-block-column.intro__text {
    flex-basis: initial !important;
    margin-left: -1rem;
}

.wp-block-column.intro__text span {
    white-space: nowrap;
}

.intro .intro__catch-under {
    margin-top: 0;
}

.intro__catch-under span {
    line-height: 2;
}

/* サービス */


.top-service h3 {
    font-size: 1.5rem;
}

@media (max-width: 801px) {
    .top-service h3 {
        font-size: 1.25rem;
        margin-bottom: 10px;
    }
}

.top-service__container {
    position: relative;
}

@media (max-width: 800px) {
    .top-service__container {
        padding: 16px 16px 120px 16px !important;
    }
}


.top-service .top-service__container {
    width: 1380px;
}



.top-service__container::before {
    content: "";
    background-image: url(https://www5.aitel.co.jp/wp-content/uploads/2025/09/handsUp-icon.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    bottom: 0;
    left: 8%;
    aspect-ratio: 330/220;
    width: 330px;
    height: auto;
    z-index: 1;
}

@media (max-width: 1023px) {
    .top-service__container::before {
        width: 200px;
        left: 3%;
    }
}

@media (max-width: 801px) {
    .top-service__container::before {
        width: 160px;
        left: 7%;
    }
}

.top-service__lists figure {
    width: fit-content;
}

.top-service__lists h3 {
    margin-bottom: 0.5rem;
}

/* 採用情報 */

.top-recruit__catch {
    font-size: clamp(18px, calc(18px + (2 * (100vw - 375px) / (1440 - 375))), 20px);
}

.top-recruit__text {
    font-size: clamp(16px, calc(16px + (2 * (100vw - 375px) / (1440 - 375))), 18px);
}

.top-recruit .recruit__content {
    padding-top: 0 !important;
}

.top-recruit .recruit__images-box {
    height: 100%;
}

@media (max-width: 800px) {
    .top-recruit .recruit__container {
        flex-direction: column-reverse;
    }
}

@media (max-width: 800px) {
    .top-recruit .smb-section__contents-wrapper {
        padding: 40px 0 40px;
    }
}



.top-recruit .recruit__image-right {
    display: inline-block;
    border-radius: 6px;
    display: block;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
}

.top-recruit .recruit__image-right img {
    /* width: 360px; */
    /* max-width: none; */
    aspect-ratio: 360/508;

}

.top-recruit .recruit__image-leftUp {
    display: inline-block;
    border-radius: 6px;
    /* 角丸不要なら削除 */
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
}

.top-recruit .recruit__image-leftUp img {
    aspect-ratio: 330/278;

}

.top-recruit .recruit__image-leftDown {
    display: inline-block;
    border-radius: 6px;
    /* 角丸不要なら削除 */
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
}

.top-recruit .recruit__image-leftDown img {
    aspect-ratio: 330/213;

}

.top-recruit .recruit__image-sp {
    display: flex;
}

@media (min-width: 801px) and (max-width: 1150px) {
    .recruit__space {
        height: 0px !important;
    }

    /* 801px以上1150px以下の場合のスタイル */
}


@media (min-width: 801px) and (max-width: 1150px) {
    .recruit__container {
        gap: 30px !important;
    }

    /* 801px以上1150px以下の場合のスタイル */
}

@media (min-width: 801px) and (max-width: 1150px) {
    .top-recruit .recruit__content {
        padding-top: var(--wp--preset--spacing--30) !important;
    }

    /* 801px以上1150px以下の場合のスタイル */
}


/* 新着情報 */

.top-news .c-entries--text2 {
    border-top: none;
}

.top-news .c-entries__item {
    border-bottom: 1px solid #e7e7e7;
}

.top-news .c-entry-summary {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.top-news .c-entry-summary__figure {
    display: none;
}

.top-news .c-entry-summary__body {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-direction: row-reverse;
    overflow: hidden;
}

.top-news .c-entry-summary__header {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    /* flexアイテムの幅制限を解除 */
}

.top-news .c-entry-summary__meta {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0;
}

.top-news .c-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.top-news .c-meta__item {
    margin: 0;
}

.top-news .c-meta__item time {
    color: #333;
    font-size: 0.9375rem;
    font-weight: 700;
}

.top-news .c-entry-summary__term {
    display: inline-block;
    padding: 0 0.75rem;
    background-color: #FFF;
    border: 1px solid #084a95;
    border-radius: 4px;
    color: #084a95;
    font-size: 0.75rem;
    font-weight: 500;
    min-width: 120px;
    text-decoration: none;
    text-align: center;
}

.top-news .c-entry-summary__title {
    margin: 0;
    color: #333;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
    width: 100%;
    display: block;
}

@media (max-width: 400px) {
    .top-news .c-entry-summary__title {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        white-space: normal;
    }
}

.top-news .c-entry-summary__title a {
    color: inherit;
    text-decoration: none;
}

.top-news .c-entry-summary__title a:hover {
    color: #084a95;
}

.top-news__content {
    position: relative;
}

.top-news__content::before {
    content: "";
    background-image: url(https://www5.aitel.co.jp/wp-content/uploads/2025/09/navio-look.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    bottom: -4%;
    right: 6%;
    height: auto;
    aspect-ratio: 117/211;
    width: 117px;
}

@media screen and (max-width: 1024px) {
    .top-news__content::before {
        width: 70px;
        right: 0;
        z-index: +1;
    }
}

@media screen and (max-width: 600px) {
    .top-news__content::before {
        width: 50px;

    }
}

.sales-label {
    display: flex;
}

@media screen and (max-width: 480px) {
    .top-news .news__announce {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* スマホ対応 */
@media (max-width: 768px) {
    .top-news .c-entry-summary {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .top-news .c-entry-summary__body {
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: 0.5rem;
        width: 100%;

    }

    .top-news .c-entry-summary__meta {
        align-self: flex-start;
    }

    .top-news .c-meta {
        gap: 0.75rem;
    }
}




/* cta */

@media screen and (max-width: 768px) {
    .cta__container {
        max-width: 600px;
    }
}

.cta .smb-items__banner {
    border-radius: 12px;
    border: 2px solid #FFF;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
    position: relative;
}

/* .cta .smb-items__banner::after {
    content: '';
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 28px;
    height: 28px;
    background-image: url('https://www5.aitel.co.jp/wp-content/uploads/2025/09/arrow-white.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    z-index: 2;
} */
/* 
.cta .smb-items__banner::before {
    content: '詳しく見る';
    position: absolute;
    bottom: 20px;
    right: 60px;
    color: #fff;
    font-weight: 700;
    font-size: 1.125rem;
    z-index: 2;
}

@media screen and (max-width: 800px) {
    .cta .smb-items__banner::after {
        width: 15px;
        height: 15px;
        bottom: 13px;
        right: 25px;
    }
}

@media screen and (max-width: 800px) {
    .cta .smb-items__banner::before {
        font-size: 12px;
        bottom: 10px;
    }
} */



/* .cta .smb-items__banner__body {
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(8, 74, 149, 0.3) 0%, rgba(8, 74, 149, 0.6) 100%);

}


.cta .smb-items__banner__title {
    border-bottom: 3px solid #FFF;
    width: calc(100% + 20px);
    left: -10px;
} */

.cta__link .wp-block-cover {
    height: 100%;
    position: relative;
    min-height: 285px;
    width: auto;
    position: relative;
}

.cta__link a {
    text-decoration: none;
}

.cta__link {
    position: relative;
}

.cta__link .wp-block-cover img {
    aspect-ratio: 553/285;
}



/* お問い合わせ */



.page-id-19 .c-page-header__title::after {
    content: "Contact";
    display: block;
    font-size: clamp(35px,
            calc(35px + (21 * (100vw - 375px) / 649)),
            56px);
    /* サブタイトル */
    font-weight: 700;
    /* 太字 */
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    /* 読みやすくするための柔らかい影 */
    line-height: 1.1;
}

@media (min-width: 1024px) {
    .page-id-19 .c-page-header__title::after {
        /* 1024px → 1440px : 56px → 72px */
        font-size: clamp(56px,
                calc(56px + (16 * (100vw - 1024px) / 416)),
                72px);
    }
}

.page-id-21 .l-contents__inner {
    margin-top: 0 !important;
}


.necessary {
    padding-inline: 5px;
}

.smf-form .smf-select-control__control {
    width: 100%;
}


@media (max-width: 768px) {
    .contact .c-container {
        padding-inline: 0;
    }
}

/* 確認ボタンを"青いピル＋黄丸矢印"に */
.snow-monkey-form .smf-button-control__control[data-action="confirm"],
.snow-monkey-form .smf-button-control__control[data-action="complete"] {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 16px 20px 16px 40px;
    border-radius: 9999px;
    background: #0A57A9;
    border: 1px solid #0A57A9;
    color: #fff;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    min-width: 200px;
    transition: background 0.3s ease, color 0.3s ease, border 0.3s ease;
}

/* 擬似要素で黄丸＋矢印（ご提示のSVGを使用） */
.snow-monkey-form .smf-button-control__control[data-action="confirm"]::after,
.snow-monkey-form .smf-button-control__control[data-action="complete"]::after {
    content: '';
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    background-image: url("data:image/svg+xml,%3Csvg width='23' height='23' viewBox='0 0 23 23' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='11.5' cy='11.5' r='11.5' fill='%23F2C81F'/%3E%3Cpath d='M10 8L14 11.6667L10 16' stroke='%23000000' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    flex-shrink: 0;
}

/* Snow Monkey Forms ボタン基本スタイル（そのまま利用） */
.smf-action .smf-button-control__control,
.smf-action .smf-button-control__back {
    transition: background 0.3s ease, color 0.3s ease, border 0.3s ease;
}

/* ▼hover時：戻る／確認／送信 すべて反転 */
.smf-action .smf-button-control__control[data-action="back"]:hover,
.smf-action .smf-button-control__control[data-action="confirm"]:hover,
.smf-action .smf-button-control__control[data-action="complete"]:hover,
.smf-action .smf-button-control__back:hover {
    background: #FFF;
    color: #084A95;
    /* 文字色を青に */
    border: 1px solid #084A95;
    /* 枠線を青に */
}

/* 戻るボタン：左にアイコン、右にテキスト */
.snow-monkey-form .smf-button-control__control[data-action="back"] {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 16px 20px 16px 120px;
    /* 左にアイコン分の余白 */
    border: 1px solid #0A57A9;
    border-radius: 9999px;
    /* ピル型 */
    background: #0A57A9;
    /* 青 (必要に応じて変更) */
    color: #fff;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    min-width: 200px;
}

/* 左側アイコン（指定のSVGを使用） */
.snow-monkey-form .smf-button-control__control[data-action="back"]::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    background-image: url("https://www5.aitel.co.jp/wp-content/uploads/2025/10/arrow-reverse.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    pointer-events: none;
}

.smf-action .smf-button-control+.smf-button-control {
    margin-left: 0px;
}

.smf-form--letter+.smf-action {

    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

/* プライバシーポリシー */

.privacy-box__content {
    border: 1px solid #ccc;
    padding: 1em;
    height: 200px;
    /* 表示枠の高さ */
    overflow-y: auto;
    /* 縦スクロールを有効化 */
    background: #fafafa;
    font-size: 0.9em;
    line-height: 1.6;
}

/* h3 見出しを強調 */
.privacy-box__content h3,
.privacy-box__content h2 {
    font-size: 1.1em;
    /* 本文より大きめ */
    font-weight: bold;
    margin: 1.2em 0 0.8em;
    padding-left: 0.5em;
    border-bottom: 1px solid #084A95;
    display: inline-block;
}

/* h4 見出しを強調 */
.privacy-box__content h4 {
    font-size: 1em;
    font-weight: bold;
    margin: 1em 0 0.5em;
    padding-left: 0.5em;
    border-left: 1px solid #084A95;
    color: #333;
}

/* li のドットを消す */
.privacy-box__content ul {
    list-style: none;
    padding-left: 0;
    /* 左余白もリセット */
    margin: 0 0 1em;
}

.privacy-box__content li {
    margin-bottom: 0.5em;
    /* 項目間に余白を追加 */
}

/* Chrome, Edge, Safari */
.privacy-box__content::-webkit-scrollbar {
    width: 6px;
    /* 細めに */
}

.privacy-box__content::-webkit-scrollbar-track {
    background: #f5f5f5;
    /* 薄いグレー背景 */
}

.privacy-box__content::-webkit-scrollbar-thumb {
    background: #ccc;
    /* シンプルな薄グレー */
    border-radius: 3px;
}

/* Firefox */
.privacy-box__content {
    scrollbar-width: thin;
    /* 細いスクロールバー */
    scrollbar-color: #ccc #f5f5f5;
    /* thumbカラー trackカラー */
}


/* フッター */

.l-footer .l-footer-widget-area {
    background-color: #DDEDF5;
    border-bottom: 1px solid #FFF;
    padding-bottom: 6rem;
    padding-top: 4rem;
}


/* フッターウィジェットの幅調整 */
.l-footer-widget-area .c-row {
    --_gap: 0px;
    --_item-width: 100%;
    display: flex;
    flex-wrap: wrap;
    margin-bottom: calc(var(--_gap) * -1);
    margin-left: calc(var(--_gap) * .5 * -1);
    margin-right: calc(var(--_gap) * .5 * -1);
}

@media (max-width: 800px) {
    .l-footer-widget-area .c-row {
        --_gap: 12px;
    }
}


/* 左端のウィジェット（ロゴとSNS）を広く */
.l-footer-widget-area .l-footer-widget-area__item:first-child {
    flex: 0 0 35%;
    max-width: 35%;
}

/* nav_menu-3（2番目のウィジェット）を狭く */
.l-footer-widget-area .l-footer-widget-area__item:nth-child(2) {
    flex: 0 0 18%;
    max-width: 18%;
}

/* 3番目と4番目のウィジェット */
.l-footer-widget-area .l-footer-widget-area__item:nth-child(3),
.l-footer-widget-area .l-footer-widget-area__item:nth-child(4) {
    flex: 0 0 23.5%;
    max-width: 23.5%;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {

    .l-footer-widget-area .l-footer-widget-area__item:first-child,
    .l-footer-widget-area .l-footer-widget-area__item:not(:first-child) {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.l-footer .c-container {
    padding-inline: 20px;
    max-width: 1146px;
    position: relative;
}

.l-footer .l-footer-widget-area .c-container::before {
    content: "";
    background-image: url(https://www5.aitel.co.jp/wp-content/uploads/2025/09/navio02.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    bottom: -43%;
    left: 0%;
    aspect-ratio: 213/116;
    width: 213px;
    height: auto;
}

@media (max-width: 768px) {
    .l-footer .l-footer-widget-area .c-container::before {
        width: 180px;
        bottom: -14%;
        right: 0;
        left: initial;
    }
}

@media (max-width: 768px) {
    .l-footer .l-footer-widget-area .c-container::before {
        width: 180px;
        bottom: -14%;
        right: 0;
        left: initial;
    }
}

@media (max-width: 375px) {
    .l-footer .l-footer-widget-area .c-container::before {
        width: 150px;
    }
}


.footer__logo {
    width: 172px;
}

.footer__logo a {
    display: block;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer__logo a:hover {
    opacity: 0.7;
}

.footer__logo img {
    aspect-ratio: 172/63;
    object-fit: cover;
}

/* フッターロゴとSNSリンクのコンテナ */
.footer-logo-sns {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
    padding: 1rem 0;
}

.footer-sns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;

    .footer-sns__link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        color: #084A95;
        transition-property: opacity;
        transition-duration: 0.3s;

        &:hover {
            opacity: 0.7;
        }
    }

    .footer-sns__icon {
        width: 32px;
        height: 32px;
        display: block;
    }

}


.l-footer-widget-area__item .widget_nav_menu a {
    color: #084A95;
    font-weight: 700;
    letter-spacing: 0.05em;
    transition: opacity 0.3s ease;
    font-size: 1rem;
}

.l-footer-widget-area__item .widget_nav_menu a:hover {
    opacity: 0.7;
}


/* コピーライト */
.footer__copy {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

@media (max-width: 800px) {
    .footer__copy {
        flex-direction: column;
    }
}


.l-footer .c-copyright {
    background-color: #DDEDF5;
}

.l-footer .c-copyright a {
    color: #084A95;
    font-size: 0.75rem;
    font-weight: 500;
}



/* フッターコピーライトリンク */
.footer__copy-link a {
    color: #084A95;
    text-decoration: none;
    transition: opacity 0.3s ease;
    font-size: 14px;
}

.footer__copy-link:hover {
    opacity: 0.7;
}

/* フッターコピーライトリンク（横並びレイアウト） */
.footer__copy-link {
    display: flex;
    gap: 20px;
    justify-content: center;
}



/* レスポンシブ対応 */
@media (max-width: 768px) {
    .footer__copy-link {
        flex-direction: column;
        gap: 8px;
    }

    .footer__copy {
        display: flex;
        align-content: center;
        flex-direction: column;
        justify-content: center;
    }
}


/* 固定フッター */

/* スマホフッター */
.p-footer-sticky-nav .c-navbar__item>a {
    padding: 0.8rem;
    font-size: 1rem;
    font-weight: 700;
    background-color: #084A95;
    color: #fff;
    border-radius: 30px;
}

.p-footer-sticky-nav {
    box-shadow: none;
    padding-bottom: 0.2rem;
    background: transparent;
}

/* アイコン表示 */
.p-footer-sticky-nav .c-navbar__item>a::after {
    content: "";
    display: inline-block;
    width: 20px;
    /* 望む幅 */
    height: 20px;
    /* 望む高さ */
    background-image: url("https://www5.aitel.co.jp/wp-content/uploads/2025/09/btn-arrow.svg");
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
    margin-left: 20px;
}

/* 投稿一覧 */

.blog .c-meta__item time {
    color: #A1A1A1;
    font-size: 12px;
    font-weight: 700;
}

.blog .c-entry-summary__meta {
    justify-content: flex-end;
}

.archive .c-entry-summary__meta {
    justify-content: flex-end;
}

/* 投稿個別 */

.single-post .c-meta__item time {
    color: #A1A1A1;
    font-size: 12px;
    font-weight: 700;
}

.archive .c-meta__item time {
    color: #A1A1A1;
    font-size: 12px;
    font-weight: 700;
}

.single-post .c-entry-summary__meta {
    justify-content: flex-end;
}



/* ドロワー */
.l-header .c-hamburger-btn__bar {
    background-color: #084A95;
    height: 2px;
    width: 24px;
}

.c-hamburger-btn__bar {
    height: 2px;
}

[id=drawer-nav].c-drawer--overall .c-drawer__controls {
    top: 8px;
}

/* ドロワーメニューにイラストを表示 */

/* 画面全体を覆うドロワー本体は自分ではスクロールしない */
[id="drawer-nav"].c-drawer--overall {
    position: fixed;
    /* 念のため固定化 */
    inset: 0;
    /* top/right/bottom/left:0 */
    overflow: hidden;
    /* 本体は隠す。中身をスクロールさせる */
}

/* フレックス子要素をスクロール可能にするおまじない */
[id="drawer-nav"].c-drawer--overall .c-drawer__inner {
    /* スクロール有効化 */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    /* iOS 慣性スクロール */

    /* 高さ上限：ヘッダー分(60px)を差し引く。必要なら数値を調整 */
    max-height: calc(100dvh - 60px - env(safe-area-inset-bottom));

    /* flex 子のスクロール潰れ対策 */
    min-height: 0;

    /* ボトムの安全域ぶん余白を確保（iOSノッチ対応） */
    padding-bottom: max(env(safe-area-inset-bottom), var(--_padding-2));
}

/* 100dvh 非対応ブラウザ向けのフォールバック（任意） */
@supports not (height: 100dvh) {
    [id="drawer-nav"].c-drawer--overall .c-drawer__inner {
        max-height: calc(100vh - 60px - env(safe-area-inset-bottom));
    }
}

.c-drawer__menu {
    position: relative;
}

.c-drawer__menu::before {
    content: "";
    background-image: url('https://www5.aitel.co.jp/wp-content/uploads/2025/09/navio-look.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    bottom: -50%;
    right: 20px;
    aspect-ratio: 117/211;
    width: 80px;
    height: auto;
    z-index: 1;
}

@media (max-width: 480px) {
    .c-drawer__menu::before {
        width: 60px;
        bottom: -30%;
        right: 15px;
    }
}

.c-hamburger-btn__label {
    display: none;
}

/* ドロワートグルアイコンをarrow-down.svgに変更 */
.c-drawer__toggle .c-ic-angle-right::before {
    background-image: url('https://www5.aitel.co.jp/wp-content/uploads/2025/09/arrow-down.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 24px;
    height: 24px;
    display: block;
    content: '';
    transform: rotate(-90deg);
}


.c-drawer .c-ic-angle-right:before {
    background-color: #DDEDF5;
    border-style: none;
}

/* 背景色 */
.c-drawer__inner {
    background-color: #DDEDF5;
}


.c-drawer__inner ul {
    color: #084A95;
    font-size: 1rem;
    font-weight: 700;
}


.c-drawer .reserve_menu {
    margin-top: 1rem;
}



/* ロゴ真ん中寄せ、サイズ */
.c-hsm-message-box.c-hsm-message-box_invert.p-hsm-drawer.c-blinking {
    max-width: 70%;
    margin-bottom: 1rem;
}

/* 高さ調整 */
[id=drawer-nav].c-drawer--fixed .c-drawer__inner {
    height: 100%;

}

/* メニューの上幅 */
[id=drawer-nav].c-drawer--fixed {
    padding-top: 60px;
}

/* ロゴ上余白 */
img.drawer-logo {
    margin-top: 2rem;
}


/* ページトップボタン */
#page-top {
    bottom: 8%;
}


/* 投稿個別 */

.p-related-posts .c-entry-aside__title span {
    color: #084A95;
}

/* 投稿タイトルを2行で省略表示 */
/* PC（801pxより大きい時）：2行で省略 */
.single-post .c-entry__title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    /* 最大2行 */
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
    max-height: calc(1.4em * 2);
}



/* 著者を非表示 */
.c-meta__item--author {
    display: none !important;
}

/* 更新日を非表示 */
.c-meta__item--modified {
    display: none !important;
}

/* 投稿メタ情報のアイコンだけ色変更 */
.c-entry__meta .c-meta__item svg {
    fill: #084A95;
    color: #084A95;
    /* 念のため */
}


/* 固定ページのタイトル */
.page .c-page-header__title {
    font-size: 18px;
    /* メインタイトル */
}

.page .c-page-header {
    padding-inline: 119px;
    height: 39vh;
}

@media (max-width: 1024px) {
    .page .c-page-header {
        padding-inline: initial;
        height: 24vh;
    }
}

.blog .c-page-header {
    padding-inline: 119px;
    height: 36vh;
}

@media (max-width: 1024px) {
    .blog .c-page-header {
        padding-inline: initial;
        height: 28vh;
    }
}

/* アーカイブタイトル */

.archive .c-page-header {
    padding-inline: 119px;
    height: 36vh;
}

@media (max-width: 1024px) {
    .archive .c-page-header {
        padding-inline: initial;
        height: 28vh;
    }
}

/* 日付アーカイブページの背景画像 */
.date .c-page-header {
    position: relative;
    background-image: url('https://www5.aitel.co.jp/wp-content/uploads/2025/09/ir-header.jpg');
    background-size: cover;
    background-position: right;
    background-repeat: no-repeat;
    padding-inline: 119px;
    height: 36vh;
}

.date .c-page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://www5.aitel.co.jp/wp-content/uploads/2025/09/ir-header.jpg');
    background-size: cover;
    background-position: right;
    background-repeat: no-repeat;
    z-index: 1;
}

.date .c-page-header__title {
    position: relative;
    z-index: 2;
    color: #fff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

@media (max-width: 1024px) {
    .date .c-page-header {
        padding-inline: initial;
        height: 28vh;
    }
}

/* 現在のスライドかつ data-id="0" */
.spider__dots:not([data-thumbnails=true]) .spider__dot[aria-current=true] {
    background-color: #084A95;
}


/* 関連記事の横線カスタマイズ */
.c-entry-aside__title:after,
.c-entry-aside__title:before {
    background-color: #084a95;

}

/* サイドバーのタイトル */
.c-widget .wp-block-group>h2 {
    color: #084A95;
    margin-bottom: 0;
    justify-content: flex-start;
}

.c-widget .wp-block-group>h2::before,
.c-widget .wp-block-group>h2::after {
    display: none;
}

/* サイドバー 最近の投稿タイトルを2行で省略 */
.wp-block-latest-posts__post-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    /* 最大2行 */
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
    /* 行間は調整可 */
    max-height: calc(1.4em * 2);
    /* 2行分の高さに制御 */
}


/* サイドバーありレイアウトのときだけ main に余白を追加 */
.l-body--left-sidebar .l-contents__main {
    padding-bottom: 40px;
    /* お好みの値 */
}

.l-contents__sidebar {
    padding-bottom: 40px;
    /* お好みの値 */
}

/* IRページ */
.page-id-17 .c-page-header__title::after {
    content: "IR News";
    display: block;
    font-size: clamp(35px,
            calc(35px + (21 * (100vw - 375px) / 649)),
            56px);
    /* サブタイトル */
    font-weight: 700;
    /* 太字 */
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    /* 読みやすくするための柔らかい影 */
    line-height: 1.1;
}

@media (min-width: 1024px) {
    .page-id-17 .c-page-header__title::after {
        /* 1024px → 1440px : 56px → 72px */
        font-size: clamp(56px,
                calc(56px + (16 * (100vw - 1024px) / 416)),
                72px);
    }
}

.notice__btn .alignleft {
    max-width: 100%;
}

@media (max-width: 1024px) {
    .c-page-header__bgimage>img {
        object-position: 90% 50%;
    }
}

@media (max-width: 1024px) {
    .archive .c-page-header__bgimage>img {
        object-position: 90% 50%;
    }
}

@media (max-width: 1024px) {
    .blog .c-page-header__bgimage>img {
        object-position: 90% 50%;
    }
}

@media (max-width: 1024px) {
    .page-id-21 .c-page-header__bgimage>img {
        object-position: 80% 50%;
    }
}

/* IRページ */

.blog .c-page-header__title {
    font-size: 18px;
}

.blog .c-page-header__title::after {
    content: "News";
    display: block;
    font-size: clamp(35px,
            calc(35px + (21 * (100vw - 375px) / 649)),
            56px);
    /* サブタイトル */
    font-weight: 700;
    /* 太字 */
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    /* 読みやすくするための柔らかい影 */
    line-height: 1.1;
}

@media (min-width: 1024px) {
    .blog .c-page-header__title::after {
        /* 1024px → 1440px : 56px → 72px */
        font-size: clamp(56px,
                calc(56px + (16 * (100vw - 1024px) / 416)),
                72px);
    }
}


/* 会社概要ページ */

.page-id-13 .l-contents__inner {
    margin-top: 0 !important;
}



.page-id-13 .c-page-header__title::after {
    content: "About us";
    display: block;
    font-size: clamp(35px,
            calc(35px + (21 * (100vw - 375px) / 649)),
            56px);
    /* サブタイトル */
    font-weight: 700;
    /* 太字 */
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    /* 読みやすくするための柔らかい影 */
    line-height: 1.1;
}

@media (min-width: 1024px) {
    .page-id-13 .c-page-header__title::after {
        /* 1024px → 1440px : 56px → 72px */
        font-size: clamp(56px,
                calc(56px + (16 * (100vw - 1024px) / 416)),
                72px);
    }
}

.mission .smb-section__fixed-background {
    border-radius: 12px;
}

.mission .smb-section__contents-wrapper {
    max-width: 1096px;
    width: 100%;
}

.mission .mission__list {
    max-width: 874px;
    margin-inline: auto;
}

@media (max-width: 781px) {
    .mission .mission__list {
        gap: 2rem;
    }
}

@media (max-width: 781px) {
    .mission .mission__list-first {
        margin-top: 1.5rem !important;
    }
}


@media (max-width: 781px) {
    .mission .mission__num {
        gap: 0.5rem;
    }
}

.mission__title {
    font-size: clamp(18px, 1.67vw, 26px);
}

@media (max-width: 320px) {
    .mission__title {
        font-size: 14px;
    }
}

@media (max-width: 425px) {
    .mission__title-margin {
        margin-top: 0.6rem !important;
    }
}

.mission__title .sme-bg-color {
    padding-inline: 20px;
    border-radius: 2px;
    padding-block: 8px;
}

@media (max-width: 765px) {
    .mission__title .sme-bg-color {
        padding-inline: 5px;
        border-radius: 2px;
        padding-block: 3px;
    }
}

.mission .wp-block-separator {
    border-top: 1px solid #FFF;
}

.mission__fiveTitle {
    display: inline-block;
}

.mission__fiveTitle span {
    color: #084A95;
}

.message .message__photo {
    display: flex;
    flex-direction: column;
}

@media (max-width: 781px) {
    .message .message__container {
        flex-direction: column-reverse;
    }
}

@media (max-width: 781px) {
    .message .message__profile {
        text-align: center;
    }
}


.company .company__list {
    border-bottom: 1px solid #e7e7e7;
    padding-bottom: 16px;
}

.company .company__list .wp-block-list li {
    margin-top: 0;
}

.office .office__title {
    max-width: 800px;
}

.office .office__table {
    max-width: 800px;
}


@media (max-width: 781px) {
    .company__list .c-row .c-row__col--md-1-4 {
        margin-bottom: 0.5rem;
        padding-bottom: 16px;
    }
}

.office__container {
    position: relative;
}

.office__container::before {
    content: "";
    background-image: url('https://www5.aitel.co.jp/wp-content/uploads/2025/09/pitkun01-1.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 180px;
    height: auto;
    position: absolute;
    top: -6%;
    left: -21%;
    aspect-ratio: 180/129;
}

@media (max-width: 1400px) {
    .office__container::before {
        display: none;
    }
}

@media (max-width: 1400px) {
    .office__container::after {
        content: "";
        background-image: url('https://www5.aitel.co.jp/wp-content/uploads/2025/09/imgRight.png');
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
        width: 180px;
        height: auto;
        position: absolute;
        top: -6%;
        right: 0;
        aspect-ratio: 240/169;
    }
}


@media screen and (max-width: 768px) {
    .office__container::after {
        right: 4%;
    }
}

@media screen and (max-width: 600px) {
    .office__container::after {
        right: -2%;
        width: 160px;
        top: 0%;
    }
}


.office .office__list {
    border-bottom: 1px solid #e7e7e7;
    padding-bottom: 16px;
    margin-top: 18px;
}

@media (max-width: 781px) {
    .office__list .c-row__col--md-1-3 {
        margin-bottom: 0.5rem;
    }
}


.history .smb-information__item {
    overflow: clip;
}

.history .c-row>.c-row__col {
    margin-bottom: 20px;
}

@media (max-width: 781px) {
    .history .c-row>.c-row__col {
        margin-bottom: 5px;
    }
}

.history .smb-information:not([data-sm-split-column=true]) .smb-information__item__body {
    padding: 20px 20px 10px 0px;
}

.history .smb-information:not([data-sm-split-column=true]) .smb-information__item:last-child .smb-information__item__body {
    padding: 20px 20px 24px 0px;
}

@media (max-width: 639px) {
    .history .smb-information:not([data-sm-split-column=true]) .smb-information__item:last-child .smb-information__item__body {
        padding: 0px 20px 10px 0px;
    }
}


@media (max-width: 639px) {
    .history .smb-information:not([data-sm-split-column=true]) .smb-information__item__body {
        padding-top: 0;
    }
}

@media (max-width: 781px) {
    .history .smb-information:not([data-sm-split-column=true]) .smb-information__item__label {
        padding-inline: 0;
        padding-bottom: 0;
    }
}

.history .history__list {
    margin-top: 20px;
}

.history .c-row__col--md-1-4 {
    border-top: 2px solid #084A95;
}

.history .c-row__col--md-3-4 {
    border-top: 2px solid #e7e7e7;
}

@media (max-width: 639px) {
    .history .c-row__col--md-3-4 {
        border-top: none;
    }
}


.history .smb-information__item:last-child .c-row__col--md-1-4 {
    border-bottom: 2px solid #084A95;
}

@media (max-width: 639px) {
    .history .smb-information__item:last-child .c-row__col--md-1-4 {
        border-bottom: none;
    }
}


.history .smb-information__item:last-child .c-row__col--md-3-4 {
    border-bottom: 2px solid #e7e7e7;
}

@media (max-width: 639px) {
    .history .smb-information__item:last-child .c-row__col--md-3-4 {
        border-bottom: 2px solid #084A95;
    }
}

/* 事業紹介 */


.page-id-15 .c-page-header__title::after {
    content: "Business";
    display: block;
    font-size: clamp(35px,
            calc(35px + (21 * (100vw - 375px) / 649)),
            56px);
    /* サブタイトル */
    font-weight: 700;
    /* 太字 */
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    /* 読みやすくするための柔らかい影 */
    line-height: 1.1;
}

@media (min-width: 1024px) {
    .page-id-15 .c-page-header__title::after {
        /* 1024px → 1440px : 56px → 72px */
        font-size: clamp(56px,
                calc(56px + (16 * (100vw - 1024px) / 416)),
                72px);
    }
}

.page-id-15 .l-contents__inner {
    margin-top: 0 !important;
}


.service__wrapper h3 span {
    line-height: 0.5;
}

.service__wrapper {
    position: relative;
    z-index: 1;
    justify-content: space-between;
}

@media (min-width: 782px) and (max-width: 1299px) {
    .service__wrapper {
        gap: 3rem !important;

    }

}


@media (max-width: 781px) {
    .service__wrapper {
        gap: 50px !important;
    }
}


@media (min-width: 782px) and (max-width: 1299px) {
    .service__wrapper-left .wp-block-column {
        flex-basis: 50% !important;
    }
}

@media (min-width: 782px) and (max-width: 1299px) {
    .service__wrapper-right .wp-block-column {
        flex-basis: 50% !important;
    }
}




@media (max-width: 781px) {
    .service__wrapper-left {
        flex-direction: column-reverse;
    }
}

/* .service__image-left {
    position: relative;
} */

.service__image-left::before {
    content: "";
    background-image: url('https://www5.aitel.co.jp/wp-content/uploads/2025/09/treat-bg.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100%;
    height: auto;
    aspect-ratio: 690/440;
    z-index: -1;
}

@media (max-width: 768px) {
    .service__image-left::before {
        top: 10px;
        left: 10px;
    }
}

.service__image-right::before {
    content: "";
    background-image: url('https://www5.aitel.co.jp/wp-content/uploads/2025/09/treat-bg.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top: 20px;
    right: 20px;
    width: 100%;
    height: auto;
    aspect-ratio: 690/440;
    z-index: -1;
}

@media (max-width: 768px) {
    .service__image-right::before {
        top: 10px;
        right: 10px;
    }
}


/* デフォルト（SP・タブレット）ははみ出しなし */
@media (max-width: 1024px) {

    .service__image-left,
    .service__image-right {
        position: relative;
        left: 0;
        right: 0;
        max-width: 100%;
    }
}


@media (min-width: 1025px) and (max-width: 1299px) {
    .service__image-left {
        position: relative;
        left: -40px;
        /* 見切れない範囲で調整 */
        max-width: calc(100% + 40px);
    }

    .service__image-right {
        position: relative;
        right: -40px;
        /* 見切れない範囲で調整 */
        max-width: calc(100% + 40px);
    }
}



/* PC（960px以上）のときだけはみ出し */
@media (min-width: 1300px) and (max-width: 1399px) {
    .service__image-left {
        position: relative;
        left: -60px;
        /* 見切れない範囲で調整 */
        max-width: calc(100% + 60px);
    }
}

@media (min-width: 1400px) {
    .service__image-left {
        position: relative;
        left: -117px;
        /* デザイン通りに固定 */
        max-width: calc(100% + 117px);
    }
}

@media (min-width: 1300px) and (max-width: 1399px) {
    .service__image-right {
        position: relative;
        right: -60px;
        /* 見切れない範囲で軽くはみ出し */
        max-width: calc(100% + 60px);
    }
}

@media (min-width: 1400px) {
    .service__image-right {
        position: relative;
        right: -100px;
        /* PCデザイン通り固定 */
        max-width: calc(100% + 100px);
    }
}

@media (max-width: 639px) {
    .service__text {
        margin-top: 1rem !important;
    }
}

.service__text-p {
    font-size: clamp(17px, calc(17px + (100vw - 375px) / 1065), 18px);
}

.service__box .smb-items__item {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    flex: 1;
    min-width: 0;
}

.service__box-title {
    /* border-bottom: 1px solid #084A95; */
    padding-bottom: 1rem;
    width: 100%;
}

/* 3カラムの高さ・横幅統一 */
.service__box {
    display: flex;
    /* flex: 1; */
    min-width: 0;
}

.page-id-15 .smb-items__item__body.is-layout-constrained.wp-block-items-item-free-is-layout-constrained {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.page-id-15 .smb-items__item__body.is-layout-constrained.wp-block-items-item-free-is-layout-constrained p:last-child {
    flex-grow: 1;
}

.sns-link .smb-items__item {
    border-radius: 6px;
    height: 100%;
}

/* SNSリンク3カラムの高さ統一 */
.sns__links-right .c-row {
    align-items: stretch;
    border-left: 1px solid #FFF;
    padding-left: 1.5rem;
}

.sns__links-right .c-row__col {
    display: flex;
    flex-direction: column;
}

.sns__links-right .smb-items__item__body {
    display: flex;
    flex-direction: column;
    height: 100%;
    flex: 1;
    align-items: center;
    justify-content: center;
    padding-inline: 0;
}

/* SNSリンクのpadding調整 */
/* .sns__links-right .smb-items__item.has-background > .smb-items__item__body {
    padding: var(--wp--preset--spacing--40) var(--wp--preset--spacing--40);
} */

@media (max-width: 781px) {
    .sns__links-right .c-row {
        border-left: none;
        padding-left: 0;
        padding-top: 1.5rem;
        border-top: 1px solid #FFF;
    }
}


@media (min-width: 634px) and (max-width: 990px) {
    .sns__links-left .smb-btn {
        flex-direction: column;
    }
}

/* @media (min-width: 634px) and (max-width: 990px) {
    .sns__links-left {
        flex-basis : 41.33% !important;
    }
} */


/* .sns__links-right .sns-link {
    margin-block: 1.25rem;
} */

.service__treatment {
    position: relative;
}

@media (max-width: 768px) {
    .service__treatment {
        padding-bottom: 120px !important;
    }
}

.service__treatment::before {
    content: "";
    background-image: url('https://www5.aitel.co.jp/wp-content/uploads/2025/09/handsUp-icon.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 204px;
    height: auto;
    aspect-ratio: 204/136;

}

@media (max-width: 768px) {
    .service__treatment::before {
        width: 150px;
        left: 50%;
        transform: translateX(-50%);
    }
}

/* 採用ページトップ */

.page-id-41 .c-page-header__title::after {
    content: "Recruit";
    display: block;
    font-size: clamp(35px,
            calc(35px + (21 * (100vw - 375px) / 649)),
            56px);
    /* サブタイトル */
    font-weight: 700;
    /* 太字 */
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    /* 読みやすくするための柔らかい影 */
    line-height: 1.1;
}

@media (min-width: 1024px) {
    .page-id-41 .c-page-header__title::after {
        /* 1024px → 1440px : 56px → 72px */
        font-size: clamp(56px,
                calc(56px + (16 * (100vw - 1024px) / 416)),
                72px);
    }
}

.page-id-41 .l-contents__inner {
    margin-top: 0 !important;
}

.page-id-41 .c-page-header {
    height: 56vh;
}

@media (min-width: 768px) {
    .page-id-41 .c-page-header {
        height: 43vh;
    }
}

.under-recruit__banner h3 {
    font-size: clamp(16px, calc(16px + 4 * ((100vw - 900px) / 540)), 20px);
    line-height: 1.5;
    white-space: nowrap;
}



.under-recruit__banner img {
    width: 100%;
}

.recruit__cta {
    display: flex;
}

.recruit__cta .smb-items__item__body {
    height: 100%;

}

.recruit__cta-wrapper {
    height: 100%;
    justify-content: space-between;
}


.recruit__cta .smb-items__item {
    border-radius: 8px;
    flex: 1;
    overflow: clip;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
}

.under-recruit__container .smb-section-with-bgimage__bgimage img {
    border-radius: 16px 16px 0 0;
}

.under-recruit__message {
    position: relative;
}

.under-recruit__message::before {
    content: '';
    position: absolute;
    top: 15%;
    right: 7%;
    background-image: url('https://www5.aitel.co.jp/wp-content/uploads/2025/09/flying-icon.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 213px;
    height: auto;
    aspect-ratio: 213/128;
    animation: floating-x 2s ease-in-out infinite alternate, floating-y 3s ease-in-out infinite alternate;
}

@media (max-width: 1024px) {
    .under-recruit__message::before {
        width: 150px;
        right: 0;
    }
}

@media (max-width: 500px) {
    .under-recruit__message::before {
        width: 90px;
        right: 0;
        top: 8%;
    }
}

/* データで見るアイテル */


.page-id-21 .c-page-header__title::after {
    content: "AITEL's key figures";
    display: block;
    font-size: clamp(35px,
            calc(35px + (21 * (100vw - 375px) / 649)),
            56px);
    /* サブタイトル */
    font-weight: 700;
    /* 太字 */
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    /* 読みやすくするための柔らかい影 */
    line-height: 1.1;
}

@media (min-width: 1024px) {
    .page-id-21 .c-page-header__title::after {
        /* 1024px → 1440px : 56px → 72px */
        font-size: clamp(56px,
                calc(56px + (16 * (100vw - 1024px) / 416)),
                72px);
    }
}

.page-id-21 .l-contents__inner {
    margin-top: 0 !important;
}

.page-id-21 .data__column {
    gap: calc(calc(calc(1.8 / 3 * 2) * 1rem) * 1);
}


.data__column .wp-block-column {
    display: flex;
}

.data .data__card {
    display: flex;
}

.data__container .wp-block-image {
    flex: 1;
}

.data__container .wp-block-image img {
    height: 100% !important;
}

.data__card figure {
    display: flex;
}

.data__card .wp-block-image img {
    flex: 1;
}

.data__card .wp-block-image {
    display: flex;
    width: 100%
}

.data__image {
    display: flex;
}

.data__image img {
    flex: 1;
}

@media (max-width: 768px) {
    .data .c-container {
        padding-inline: 0;
    }
}


.data__card-title {
    font-size: clamp(16px, calc(6.74px + 2.469vw), 32px);
}



.data__card .data__card-icon {
    width: 14%;
}

.data__image {
    margin-top: 0 !important;
}

/* 1日の流れ */

.page-id-23 .c-page-header__title::after {
    content: "Daily routine";
    display: block;
    font-size: clamp(35px,
            calc(35px + (21 * (100vw - 375px) / 649)),
            56px);
    /* サブタイトル */
    font-weight: 700;
    /* 太字 */
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    /* 読みやすくするための柔らかい影 */
    line-height: 1.1;
}

@media (min-width: 1024px) {
    .page-id-23 .c-page-header__title::after {
        /* 1024px → 1440px : 56px → 72px */
        font-size: clamp(56px,
                calc(56px + (16 * (100vw - 1024px) / 416)),
                72px);
    }
}


.page-id-23 .l-contents__inner {
    margin-top: 0 !important;
}

@media (max-width: 767px) {
    .routine .c-container {
        padding-inline: 0px;
    }
}

.routine p {
    font-size: clamp(14px, calc(14px + (4 * (100vw - 640px) / 800)), 18px);
    /* 640px→14px ／ 1440px→18px（差分4pxを800px幅で線形補間） */
}


.routine__btn .smb-btn--wrap {
    min-width: 250px;
}

.routine__container-num {
    border-left: 4px solid #084A95;
}

@media (max-width: 639px) {
    .routine__image img {
        max-width: none;
    }
}



/* ========================================
   共通クラス: アイコン装飾
   ======================================== */

/* アイコン装飾の基本クラス */
.has-decorator-icon {
    position: relative;
}

.has-decorator-icon::before {
    content: '';
    position: absolute;
    bottom: 99%;
    right: 0;
    width: 150px;
    height: auto;
    background-image: url('https://www5.aitel.co.jp/wp-content/uploads/2025/09/handsUp-icon.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    aspect-ratio: 150/100;
}

@media (max-width: 639px) {
    .has-decorator-icon::before {
        width: 120px;
    }
}


/* タイトルのフレックスレイアウト共通クラス */
.flex-title {
    /* display: flex; */
    align-items: center;
    padding-block: 0.5em !important;
}

.flex-title span {
    line-height: 1.5;
}

@media (max-width: 639px) {
    .flex-title p {
        text-align: left;
    }
}

/* routine セクション固有のスタイル */
.routine__title {
    display: flex;
    /* 横幅を内容に合わせたいなら inline-flex */
    align-items: center;
    /* 縦中央 */
    padding-block: 0.5em !important;
    /* 視覚調整の上下パディング */
}

.routine__title span {
    line-height: 1.5;
}

@media (max-width: 639px) {
    .routine p {
        text-align: left;
    }
}

/* スタッフ詳細 */

.staff-template-default .c-entry__header {
    display: none;
}

.staff-template-default .staff {
    padding-top: 0.625rem;
}

@media (min-width: 782px) {
    .staff__profile {
        justify-content: center;
        gap: 3.75rem !important;
    }
}

@media (min-width: 500px) and (max-width: 781px) {
    .staff__profile {
        max-width: 60%;
        width: 100%;
    }
}


@media (max-width: 781px) {
    .staff__profile .wp-block-post-featured-image {
        width: 70%;
    }
}



@media (max-width: 767px) {
    .section-staff .c-container {
        padding-inline: 0;
    }
}


.staff .staff__profile-category {
    font-size: 20px;
}

.staff__q {
    font-size: clamp(19px, calc(19px + (1 * (100vw - 375px) / 1065)), 20px);
}

@media screen and (max-width: 768px) {
    .staff__q {
        line-height: 1.5;
    }
}

/* スタッフ紹介 */

.page-id-25 .c-page-header__title::after {
    content: "Staff";
    display: block;
    font-size: clamp(35px,
            calc(35px + (21 * (100vw - 375px) / 649)),
            56px);
    /* サブタイトル */
    font-weight: 700;
    /* 太字 */
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    /* 読みやすくするための柔らかい影 */
    line-height: 1.1;
    letter-spacing: 0.1em;
}

@media (min-width: 1024px) {
    .page-id-25 .c-page-header__title::after {
        /* 1024px → 1440px : 56px → 72px */
        font-size: clamp(56px,
                calc(56px + (16 * (100vw - 1024px) / 416)),
                72px);
    }
}


.page-id-25 .l-contents__inner {
    margin-top: 0 !important;
}

@media screen and (max-width: 937px) {
    .page-id-25 .routine__btns {
        justify-content: center !important;
    }
}

.page-id-25 .flex-title {
    font-size: clamp(19px, calc(19px + (1 * (100vw - 375px) / 1065)), 20px);
}


@media (min-width: 1024px) {
    .staff-introduction__lists .c-entries__item {
        --entries--item-width: 25%;
    }
}

@media (max-width: 639px) {
    .page-id-25 p {
        text-align: left;
        letter-spacing: 0.05em;
    }
}

@media (max-width: 639px) {

    .page-id-25 .c-entry-summary__title {
        font-size: 16px;
    }
}

/* ボタン群のラッパー */
.page-id-25 .routine__btns {
    display: grid;
    grid-template-columns: repeat(auto-fit, 250px);
    justify-content: center;
}

/* カード幅をセルいっぱいにして高さも揃えやすく */
.page-id-25 .routine__btns .smb-btn-wrapper {
    width: 100%;
}

/* a要素をブロック化して全体クリックに */
.page-id-25 .routine__btns .smb-btn {
    display: block;
    width: 100%;
    text-align: center;
}


.staff-introduction__lists .c-entry-summary__figure {
    aspect-ratio: 251 / 314;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .12);
    margin-bottom: 18px !important;
}

.staff-introduction__lists .c-entries__item {
    margin-bottom: 2rem !important;
}

.staff-introduction__lists img {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}



/* アーカイブページ */

.tax-staff-category .l-contents__container {
    max-width: 1146px;
    margin-inline: auto;
}


@media (min-width: 1024px) {
    .tax-staff-category .c-entries {
        --entries--item-width: 25%;
    }
}

.tax-staff-category .c-entry__header {
    margin-bottom: 5rem;
}

.tax-staff-category .l-contents__container .c-entries__item {
    margin-bottom: 2rem !important;
}

.tax-staff-category .l-contents__container .c-entries__item .c-entry-summary__figure {
    aspect-ratio: 251 / 314;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .12);
    margin-bottom: 18px !important;
}

.tax-staff-category .l-contents__inner {
    margin-bottom: 80px;
}

@media (max-width: 639px) {
    .tax-staff-category .c-entry-summary__title {
        font-size: 16px;
    }
}

/* 募集要項 */


.page-id-29 .c-page-header__title::after {
    content: "Job details";
    display: block;
    font-size: clamp(35px,
            calc(35px + (21 * (100vw - 375px) / 649)),
            56px);
    /* サブタイトル */
    font-weight: 700;
    /* 太字 */
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    /* 読みやすくするための柔らかい影 */
    line-height: 1.1;
}

@media (min-width: 1024px) {
    .page-id-29 .c-page-header__title::after {
        /* 1024px → 1440px : 56px → 72px */
        font-size: clamp(56px,
                calc(56px + (16 * (100vw - 1024px) / 416)),
                72px);
    }
}

.page-id-29 .l-contents__inner {
    margin-top: 0 !important;
}

.page-id-29 .c-page-header {
    height: 56vh;
}

@media (min-width: 768px) {
    .page-id-29 .c-page-header {
        height: 43vh;
    }
}

.page-id-29 .flex-title {
    font-size: clamp(19px, calc(19px + (1 * (100vw - 375px) / 1065)), 20px);
}

@media (max-width: 768px) {

    .page-id-29 p,
    .page-id-29 li {
        font-size: 14px;
    }
}

/* 行コンテナをGridにして等幅に（.wp-block-buttons の flex を上書き） */
.job-detail__btns.is-layout-flex {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    /* 4つを完全等幅 */
    column-gap: 40px;
    row-gap: 20px;
    justify-items: center;
}

/* 各ボタン枠は幅制御しない（はみ出し防止だけ） */
.job-detail__btns .job-detail__btn {
    width: 100%;
    max-width: 250px;
}

/* a（.smb-btn）を枠いっぱい＆中央寄せ、同じ高さにしたい場合はmin-heightで揃える */
.job-detail__btns .job-detail__btn .smb-btn {
    display: flex;
    width: 100%;
    text-align: center;
}

/* ラベルの折返しを自然に */
.job-detail__btns .smb-btn__label {
    line-height: 1.6;
    word-break: break-word;
    white-space: normal;
}

/* レスポンシブ（例：タブレットで2列、SPで1列） */
/* @media (max-width: 960px) {
    .job-detail__btns.is-layout-flex {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
} */

@media (max-width: 600px) {
    .job-detail__btns.is-layout-flex {
        grid-template-columns: 1fr;
    }
}

.page-id-29 .smb-accordion__item__title__label {
    font-size: 18px;
}

@media (max-width: 639px) {
    .page-id-29 .smb-accordion__item__title__label {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .page-id-29 .smb-accordion__item__body {
        padding: 1rem 0 0 0;
    }
}

@media (max-width: 768px) {
    .page-id-29 .wp-block-columns {
        gap: 0.5rem;
    }
}

@media (max-width: 767px) {
    .job-detail .c-container {
        padding-inline: 0px;
    }
}

/* 採用フォーム */


.page-id-31 .c-page-header__title::after {
    content: "Entry form";
    display: block;
    font-size: clamp(35px,
            calc(35px + (21 * (100vw - 375px) / 649)),
            56px);
    /* サブタイトル */
    font-weight: 700;
    /* 太字 */
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    /* 読みやすくするための柔らかい影 */
    line-height: 1.1;
}

@media (min-width: 1024px) {
    .page-id-31 .c-page-header__title::after {
        /* 1024px → 1440px : 56px → 72px */
        font-size: clamp(56px,
                calc(56px + (16 * (100vw - 1024px) / 416)),
                72px);
    }
}

.page-id-31 .l-contents__inner {
    margin-top: 0 !important;
}

.page-id-31 .c-page-header {
    height: 56vh;
}

@media (min-width: 768px) {
    .page-id-31 .c-page-header {
        height: 43vh;
    }
}

.archive-back-btn {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}


@media (max-width: 767px) {
    .entry-form .c-container {
        padding-inline: 0px;
    }
}

.page-id-31 .flex-title {
    font-size: clamp(19px, calc(19px + (1 * (100vw - 375px) / 1065)), 20px);
}

/* 免責事項 */

.page-id-35 .c-page-header__title::after {
    content: "Disclaimer";
    display: block;
    font-size: clamp(35px,
            calc(35px + (21 * (100vw - 375px) / 649)),
            56px);
    /* サブタイトル */
    font-weight: 700;
    /* 太字 */
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    /* 読みやすくするための柔らかい影 */
    line-height: 1.1;
    letter-spacing: 0.1em;
}

@media (min-width: 1024px) {
    .page-id-35 .c-page-header__title::after {
        /* 1024px → 1440px : 56px → 72px */
        font-size: clamp(56px,
                calc(56px + (16 * (100vw - 1024px) / 416)),
                72px);
    }
}


.page-id-35 .l-contents__inner {
    margin-top: 0 !important;
}

/* ディスクロージャーポリシー */

.page-id-37 .c-page-header__title::after {
    content: "Disclosure policy";
    display: block;
    font-size: clamp(35px,
            calc(35px + (21 * (100vw - 375px) / 649)),
            56px);
    /* サブタイトル */
    font-weight: 700;
    /* 太字 */
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    /* 読みやすくするための柔らかい影 */
    line-height: 1.1;
    letter-spacing: 0.1em;
}

@media (min-width: 1024px) {
    .page-id-37 .c-page-header__title::after {
        /* 1024px → 1440px : 56px → 72px */
        font-size: clamp(56px,
                calc(56px + (16 * (100vw - 1024px) / 416)),
                72px);
    }
}


.page-id-37 .l-contents__inner {
    margin-top: 0 !important;
}

@media (max-width: 767px) {
    .disclaimer .c-container {
        padding-inline: 0;
    }
}

.smf-form--simple-table+.smf-action {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

/* 非表示サブメニューはレイアウトから外す（横スクロール源をカット） */
.l-header .c-navbar__submenu[aria-hidden="true"] {
    display: none;
}

/* 表示中サブメニューが端でハミ出さないよう右寄せ＋幅制限 */
.l-header .c-navbar__submenu {
    max-width: 100dvw;
    /* 100vwでもOK。dvw対応環境でより安全 */
    overflow-x: auto;
    right: 0;
    left: auto;
}

/* “左に開く”指定を無効化：右端では右寄せ固定 */
.l-header .c-navbar__submenu--turn-left {
    right: 0 !important;
    left: auto !important;
    transform: none !important;
}

/* 念のため（フレックス子が押し広げるのを防止） */
.l-header .c-row__col,
.l-header .p-global-nav,
.l-header .p-global-nav>* {
    min-width: 0;
}