@charset "UTF-8";
/**
 * foundation.scssここから
 */
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&family=Noto+Sans+JP:wght@100..900&family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");
/*! destyle.css v4.0.1 | MIT License | https://github.com/nicolas-cusan/destyle.css */
/* Reset box-model and set borders */
/* ============================================ */
*,
::before,
::after {
    box-sizing: border-box;
    border-style: solid;
    border-width: 0;
    min-width: 0;
}

/* Document */
/* ============================================ */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 * 3. Remove gray overlay on links for iOS.
 */
html {
    line-height: 1.15;
    /* 1 */
    -webkit-text-size-adjust: 100%;
    /* 2 */
    -webkit-tap-highlight-color: transparent;
    /* 3*/
}

/* Sections */
/* ============================================ */
/**
 * Remove the margin in all browsers.
 */
body {
    margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
    display: block;
}

/* Vertical rhythm */
/* ============================================ */
p,
table,
blockquote,
address,
pre,
iframe,
form,
figure,
dl {
    margin: 0;
}

/* Headings */
/* ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: inherit;
    font-weight: inherit;
    margin: 0;
}

/* Lists (enumeration) */
/* ============================================ */
ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Lists (definition) */
/* ============================================ */
dt {
    font-weight: normal;
}

dd {
    margin-left: 0;
}

/* Grouping content */
/* ============================================ */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
    box-sizing: content-box;
    /* 1 */
    height: 0;
    /* 1 */
    overflow: visible;
    /* 2 */
    border-top-width: 1px;
    margin: 0;
    clear: both;
    color: inherit;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
    font-family: monospace, monospace;
    /* 1 */
    font-size: inherit;
    /* 2 */
}

address {
    font-style: inherit;
}

/* Text-level semantics */
/* ============================================ */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
    background-color: transparent;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
    text-decoration: underline dotted;
    /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
    font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
    font-family: monospace, monospace;
    /* 1 */
    font-size: inherit;
    /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
    font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

/* Replaced content */
/* ============================================ */
/**
 * Prevent vertical alignment issues.
 */
svg,
img,
embed,
object,
iframe {
    vertical-align: bottom;
}

/* Forms */
/* ============================================ */
/**
 * Reset form fields to make them styleable.
 * 1. Make form elements stylable across systems iOS especially.
 * 2. Inherit text-transform from parent.
 */
button,
input,
optgroup,
select,
textarea {
    -webkit-appearance: none;
    /* 1 */
    appearance: none;
    vertical-align: middle;
    color: inherit;
    font: inherit;
    background: transparent;
    padding: 0;
    margin: 0;
    border-radius: 0;
    text-align: inherit;
    text-transform: inherit;
    /* 2 */
}

/**
 * Correct cursors for clickable elements.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
    cursor: pointer;
}

button:disabled,
[type="button"]:disabled,
[type="reset"]:disabled,
[type="submit"]:disabled {
    cursor: default;
}

/**
 * Improve outlines for Firefox and unify style with input elements & buttons.
 */
:-moz-focusring {
    outline: auto;
}

select:disabled {
    opacity: inherit;
}

/**
 * Remove padding
 */
option {
    padding: 0;
}

/**
 * Reset to invisible
 */
fieldset {
    margin: 0;
    padding: 0;
    min-width: 0;
}

legend {
    padding: 0;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
    vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
    overflow: auto;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

/**
 * Correct the outline style in Safari.
 */
[type="search"] {
    outline-offset: -2px;
    /* 1 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Fix font inheritance.
 */
::-webkit-file-upload-button {
    -webkit-appearance: button;
    /* 1 */
    font: inherit;
    /* 2 */
}

/**
 * Fix appearance for Firefox
 */
[type="number"] {
    -moz-appearance: textfield;
}

/**
 * Clickable labels
 */
label[for] {
    cursor: pointer;
}

/* Interactive */
/* ============================================ */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
    display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
    display: list-item;
}

/*
 * Remove outline for editable content.
 */
[contenteditable]:focus {
    outline: auto;
}

/* Tables */
/* ============================================ */
/**
1. Correct table border color inheritance in all Chrome and Safari.
*/
table {
    border-color: inherit;
    /* 1 */
    border-collapse: collapse;
}

caption {
    text-align: left;
}

td,
th {
    vertical-align: top;
    padding: 0;
}

th {
    text-align: left;
    font-weight: bold;
}

/* resetここまで */
body {
    font-family:
        "Inter", "Zen Kaku Gothic New", "Noto Sans JP", Helvetica, Arial,
        Verdana, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック体",
        YuGothic, "ヒラギノ角ゴシック Pro", "Hiragino Kaku Gothic Pro",
        メイリオ, Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    color: #333333;
    line-height: 1.8;
    background-color: #f0f4f7;
    overflow-x: hidden;
}

body.no-scroll {
    overflow: hidden;
    height: 100%;
}

a[href] {
    cursor: pointer !important;
}

/**
 * foundation.scssここまで
 */
/**
 * layout.scssここから
 */
.l-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 20;
    width: 100%;
    max-width: 100vw;
    display: flex;
    justify-content: center;
    align-items: stretch;
    transition:
        top 0.5s ease-in-out,
        background-color 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    /* nav と並列にした contact ボタン */
    /* フッターまでスクロールしたとき（transform を使わず top で制御し、Safari で fixed 子要素が正しく表示されるようにする） */
}
.l-header .l-header__inner {
    max-width: 1600px;
    margin-inline: auto;
}
.l-header > .c-contact__btn--menu {
    flex-shrink: 0;
}
.l-header.is-hidden {
    top: -100vh;
    /* モバイル: contact ボタンは画面一番上に移動（fixed のまま top のみ変更で Safari も考慮） */
}
.l-header.is-hidden > .c-contact__btn--menu {
    top: 0;
}
@media (width >= 1025px) {
    .l-header.is-hidden > .c-contact__btn--menu {
        top: auto;
    }
}
.l-header.is-scroll {
    background-color: #1e293b;
}
.l-header.is-child {
    background-color: #1e293b;
}

/* WordPress 管理バー表示時: 固定ヘッダーをツールバー直下に */
body.admin-bar .l-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .l-header {
        top: 46px;
    }
}
/*
 * 600px 以下 + 管理バー: ページ先頭では 782px 以下用の top:46px のまま。
 * 46px 以上スクロールしたら JS で .is-past-wp-admin-bar を付与し画面上端に固定（absolute 管理バーが流れるため）。
 */
@media screen and (max-width: 600px) {
    body.admin-bar .l-header.is-past-wp-admin-bar:not(.is-hidden) {
        top: 0;
    }
}
.l-main {
    display: grid;
    grid-template-rows: auto 1fr auto;
    grid-template-columns: 100%;
    width: 100vw;
    min-height: 100vh;
    position: relative;
}

.child-wrapper {
    margin-top: 60px;
}

.l-footer {
    background-color: #1e293b;
}

/* フッターラッパー（ベース = モバイル：縦並び） */
.l-footer__wrapper {
    padding-block: 40px 64px;
    display: flex;
    flex-direction: column;
    gap: 1em;
    color: #ffffff;
    width: 100%;
}
.l-footer__wrapper > * {
    width: 100%;
}

.p-footer__company-right p {
    font-size: clamp(1.125rem, 0.913rem + 0.91vw, 2rem);
    font-weight: bold;
}

.p-footer__company-summary {
    font-size: clamp(0.875rem, 0.837rem + 0.16vw, 1rem);
}

.p-footer__copy {
    display: block;
    text-align: center;
    font-size: 0.875em;
    color: #ffffff;
    width: 100%;
    padding-block: 8px;
}

@media (width >= 1025px) {
    .p-footer__company-left {
        display: flex;
        align-items: flex-start;
        gap: 1em;
    }
    .l-footer__wrapper {
        flex-direction: row-reverse;
        align-items: flex-start;
        gap: 5em;
    }
    .l-footer__wrapper > * {
        width: auto;
    }
    .p-footer__company-right {
        flex: 1 1 0;
        width: auto;
        min-width: 0;
    }
    .p-footer__company-left {
        flex: 0 0 auto;
    }
}
.p-footer__company-name {
    font-weight: bold;
    font-size: 1.5em;
    margin-bottom: 0.5em;
    letter-spacing: 0.05em;
}

.l-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto;
    width: 100%;
    min-height: 100vh;
    position: relative;
}

/* グローバルナビ共通 */
.l-nav {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 900;
    min-height: 60px;
}

.l-nav__box {
    display: flex;
    align-items: center;
}

/* メニューリスト */
.l-menu-list {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4rem 2rem;
    background: #1e293b;
    transform: translateX(150%);
    transition: transform 0.5s ease;
    color: #ffffff;
    z-index: 1010;
}
.l-menu-list li {
    width: 100%;
    border-bottom: 1px solid #e0e0e0;
}
.l-menu-list li a {
    display: block;
    font-weight: bold;
    padding-block: 16px;
    padding-left: 16px;
    color: #ffffff;
    border-right: none;
    transition: all 0.3s;
}
.l-menu-list li.current-menu-item > a,
.l-menu-list li.current-menu-ancestor > a,
.l-menu-list li.current-menu-parent > a {
    opacity: 0.85;
}

.l-menu-list li + li {
    margin-top: 1rem;
}

/* ハンバーガーアイコン（ベース = モバイルで表示） */
.l-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    position: absolute;
    right: 24px;
    top: 20px;
    z-index: 1100;
}

.l-hamburger .l-hamburger__bar {
    display: block;
    width: 100%;
    height: 2px;
    background: #ffffff;
    transition:
        transform 0.3s ease,
        opacity 0.2s ease;
    border-radius: 1px;
}

/* 開いた状態のハンバーガー */
.l-hamburger.is-open .l-hamburger__bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background-color: #ffffff;
}

.l-hamburger.is-open .l-hamburger__bar:nth-child(2) {
    opacity: 0;
}

.l-hamburger.is-open .l-hamburger__bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background-color: #ffffff;
}

/* 1024px以上：デスクトップ用のスタイル */
@media (width >= 1025px) {
    .l-menu-list {
        position: relative;
        width: auto;
        max-width: none;
        height: auto;
        flex-direction: row;
        align-items: center;
        padding: 0;
        background: transparent;
        transform: none;
        color: #ffffff;
        z-index: 1000;
    }
    .l-menu-list li {
        width: auto;
        border-bottom: none;
    }
    .l-menu-list li.current-menu-item > a,
    .l-menu-list li.current-menu-ancestor > a,
    .l-menu-list li.current-menu-parent > a {
        color: #ffffff;
        pointer-events: none;
        opacity: 0.8;
    }
    .l-menu-list li a {
        color: inherit;
        padding: 0 12px;
        position: relative;
    }
    .l-menu-list li a::after {
        content: "";
        background-color: #ffffff;
        width: 0;
        height: 1px;
        position: absolute;
        bottom: 0;
        left: 0;
        transition: width 0.3s ease;
    }
    .l-menu-list li a:hover::after {
        width: 100%;
    }
    .l-menu-list li + li {
        margin-top: 0;
    }
    .l-hamburger {
        display: none;
    }
}
.l-menu-list--footer {
    display: flex;
    flex-wrap: wrap;
    column-gap: 0.5em;
}
.l-menu-list--footer li a {
    font-weight: 500;
    font-size: clamp(0.875rem, 0.837rem + 0.16vw, 1rem);
    transition: all 0.3s;
}
.l-menu-list--footer li a:hover {
    color: rgba(255, 255, 255, 0.8);
}
.l-menu-list--footer li.current-menu-item > a,
.l-menu-list--footer li.current-menu-ancestor > a,
.l-menu-list--footer li.current-menu-parent > a {
    color: rgba(255, 255, 255, 0.8);
}
.l-menu-list--footer li::after {
    content: "/";
    margin-left: 0.5em;
}
.l-menu-list--footer li:last-child::after {
    display: none;
}

/* オーバーレイ */
.l-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: -1;
}

/* 開いたときの状態 */
.l-menu-list.is-open {
    transform: translateX(0);
}

.l-overlay.is-open {
    opacity: 1;
    pointer-events: all;
    z-index: 800;
}

/* 管理バー表示時: オーバーレイをツールバー下に（fixed のためヘッダー高さには影響しない） */
body.admin-bar .l-overlay {
    top: 32px;
    height: calc(100vh - 32px);
}

@media screen and (max-width: 782px) {
    body.admin-bar .l-overlay {
        top: 46px;
        height: calc(100vh - 46px);
    }
}
/*
 * スマホ・タブレット幅のみ: position:fixed のスライドメニューをツールバー下に。
 * 1025px 以上では .l-menu-list は position:relative / height:auto のため、
 * ここを全幅に適用するとヘッダーが 100vh 近くに伸びる（ログイン時のみ）ので限定する。
 */
@media (max-width: 1024px) {
    body.admin-bar .l-menu-list {
        top: 32px;
        height: calc(100vh - 32px);
    }
}
@media screen and (max-width: 782px) {
    body.admin-bar .l-menu-list {
        top: 46px;
        height: calc(100vh - 46px);
    }
}
.c-contact__btn--wrapper {
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 950;
    display: grid;
    width: 80%;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid #e0e0e0;
    border-right: 1px solid #e0e0e0;
}

.c-contact__btn--entry a {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffd700;
    font-weight: bold;
    font-size: 0.8em;
    line-height: 1;
    transition: all 0.3s;
    padding: 16px;
    width: 100%;
}
.c-contact__btn--entry a img.emoji {
    filter: grayscale(1) brightness(0);
    transition: all 0.3s;
}
.c-contact__btn--entry a:hover {
    background: #1e293b;
    color: #ffffff;
}
.c-contact__btn--entry a:hover img.emoji {
    filter: grayscale(1) brightness(0) invert(1);
}

.c-contact__btn--request a {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #00d1ff;
    font-weight: bold;
    font-size: 0.8em;
    line-height: 1;
    transition: all 0.3s;
    padding: 16px 8px;
    width: 100%;
}
.c-contact__btn--request a:hover {
    background: #1e293b;
    color: #ffffff;
}

@media (width >= 768px) {
    .c-contact__btn--wrapper {
        bottom: auto;
        top: 60px;
        right: 0;
        left: auto;
        width: auto;
        grid-template-columns: 1fr;
        border: none;
    }
    .c-contact__btn--entry a,
    .c-contact__btn--request a {
        writing-mode: vertical-lr;
        height: 180px;
        padding: 16px;
    }
}
/* 768〜1279: 右固定時、管理バー分だけ top を下げる（1280px 以上はヘッダー内 relative のため対象外） */
@media (width >= 768px) and (max-width: 1279px) {
    body.admin-bar .c-contact__btn--wrapper {
        top: 92px;
    }
}
@media screen and (width >= 768px) and (max-width: 782px) {
    body.admin-bar .c-contact__btn--wrapper {
        top: 106px;
    }
}
@media (width >= 1280px) {
    .c-contact__btn--wrapper {
        position: relative;
        top: auto;
        right: auto;
        left: auto;
        bottom: auto;
        z-index: 100;
        flex-shrink: 0;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
        width: auto;
    }
    .c-contact__btn--entry a {
        writing-mode: horizontal-tb;
        height: auto;
        width: auto;
        padding: 16px 32px;
        white-space: nowrap;
        font-size: 0.9em;
    }
    .c-contact__btn--request a {
        writing-mode: horizontal-tb;
        height: auto;
        width: auto;
        padding: 16px;
        white-space: nowrap;
        font-size: 0.9em;
    }
}
/**
 * layout.scssここまで
 */
/**
 * object.scssここから
 */
/* .c-button01 a / .p-service__item-link 共通（テキスト3Dフリップ＋矢印スライド） */
.c-button01 {
    position: relative;
    margin: 1em auto;
}
.c-button01 a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: min(100%, 340px);
    height: 64px;
    padding: 0.5em;
    text-align: center;
    color: #1e293b;
    background-color: #00d1ff;
    border: 2px solid #00d1ff;
    font-weight: bold;
    font-size: 1.1em;
    font-style: normal;
    position: relative;
    z-index: 1;
    transition:
        all 0.3s cubic-bezier(0.45, 0, 0.55, 1),
        border-color 0.3s cubic-bezier(0.45, 0, 0.55, 1),
        color 0.3s cubic-bezier(0.45, 0, 0.55, 1);
    text-decoration: none;
    letter-spacing: 0.05em;
    overflow: visible;
}
.c-button01 a .c-button01__arrow {
    flex-shrink: 0;
    width: var(--c-link-arrow-size, 18px);
    height: var(--c-link-arrow-size, 18px);
    overflow: hidden;
}
.c-button01 a .c-button01__arrow-track {
    display: flex;
    width: max-content;
    height: 100%;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}
.c-button01 a:hover .c-button01__arrow-track,
.c-button01 a:focus-visible .c-button01__arrow-track {
    transform: translateX(0);
}
.c-button01 a .c-button01__arrow img {
    flex-shrink: 0;
    display: block;
    width: var(--c-link-arrow-size, 18px);
    height: var(--c-link-arrow-size, 18px);
}
.c-button01 a .c-button01__flip {
    flex: 1 1 auto;
    min-width: 0;
    align-self: stretch;
    perspective: 1000px;
    padding-right: 16px;
    border-right: 1px solid #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
}
.c-button01 a .c-button01__flip-inner {
    position: relative;
    width: 100%;
    height: 2.5em;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    transform-origin: center bottom;
}
.c-button01 a:hover .c-button01__flip-inner,
.c-button01 a:focus-visible .c-button01__flip-inner {
    transform: translateY(-100%) rotateX(-90deg);
}
.c-button01 a .c-button01__flip-front,
.c-button01 a .c-button01__flip-back {
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    font: inherit;
    font-weight: bold;
    letter-spacing: inherit;
    background: transparent;
}
.c-button01 a .c-button01__flip-front {
    top: 0;
    z-index: 2;
    /* 通常時は表示。戻る時は即座(0s)に表示してフリップ開始 */
    opacity: 1;
    transition: opacity 0s;
}
.c-button01 a:hover .c-button01__flip-front,
.c-button01 a:focus-visible .c-button01__flip-front {
    /* ホバー時は、フリップ完了後(0.4s後)に前面を完全に消す（上の線のちらつき防止） */
    opacity: 0;
    transition: opacity 0s linear 0.4s;
}
.c-button01 a .c-button01__flip-back {
    top: 100%;
    transform: rotateX(90deg);
    transform-origin: center top;
    /* 通常時は、戻りフリップ完了後(0.4s後)に裏面を完全に消す（下の線のちらつき防止） */
    opacity: 0;
    transition: opacity 0s linear 0.4s;
}
.c-button01 a:hover .c-button01__flip-back,
.c-button01 a:focus-visible .c-button01__flip-back {
    /* ホバー時は即座(0s)に表示してフリップ開始 */
    opacity: 1;
    transition: opacity 0s;
}
.c-button01 a:active {
    transform: scale(1.03);
    transition: transform 0.1s cubic-bezier(0.45, 0, 0.55, 1);
}
.c-button01--large a {
    width: 300px;
}
.c-button01--center {
    display: flex;
    justify-content: center;
}

/* お問い合わせボタン（ベース = モバイル：縦書き・固定） */
.c-contact__btn--menu {
    flex-shrink: 0;
    box-sizing: border-box;
    position: fixed;
    right: 0;
    top: 60px;
    z-index: 800;
    transition: top 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    /* ヘッダー隠れ時の移動をスムーズに */
    /* ハンバーガーよりは下、メインよりは上 */
    width: 3em;
    /* 縦書きボタンの「横幅」を明示的に指定 */
    box-sizing: border-box;
}
.c-contact__btn--menu a {
    text-transform: uppercase;
    text-align: center;
    color: white;
    font-weight: bold;
    font-size: 0.9em;
    background-color: #00d1ff;
    border: 1px solid #00d1ff;
    text-shadow: 2px 2px 14px rgba(0, 0, 0, 0.4);
    height: 120px;
    width: 100%;
    /* 親の3emいっぱいに広げる */
    padding: 4px;
    writing-mode: vertical-lr;
    display: flex;
    /* Safari対策：中身を中央寄せにするため */
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-sizing: border-box;
}
.c-contact__btn--menu a:hover {
    background-color: #ffffff;
    color: #00d1ff;
    text-shadow: none;
}

/* 1024px以上：デスクトップ用（横書き・フロー内） */
@media (width >= 1025px) {
    .c-contact__btn--menu {
        position: relative;
        right: auto;
        top: auto;
        z-index: 100;
        width: auto;
    }
    .c-contact__btn--menu a {
        font-size: inherit;
        height: auto;
        width: auto;
        padding: 24px;
        writing-mode: horizontal-tb;
        display: block;
    }
}
@media (width <= 767px) {
    .c-button01 a {
        height: 48px;
    }
    .c-button01 a .c-button01__flip-front,
    .c-button01 a .c-button01__flip-back {
        font-size: 0.8em;
    }
    .p-service__item-link .c-button01__flip-front,
    .p-service__item-link .c-button01__flip-back {
        font-size: 0.8em;
    }
}
.c-panel-heading__sub {
    text-transform: capitalize;
    font-size: clamp(1rem, 0.902rem + 0.43vw, 1.25rem);
    font-weight: bold;
    letter-spacing: 0.05em;
    color: #00d1ff;
}
.c-panel-heading__title {
    font-size: clamp(1.25rem, 0.962rem + 1.28vw, 2.5rem);
    font-weight: bold;
    letter-spacing: 0.05em;
    line-height: 1.4;
    color: #00d1ff;
}
.c-panel-heading--white .c-panel-heading__sub,
.c-panel-heading--white .c-panel-heading__title {
    color: #ffffff;
}

.c-heading__wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.c-heading__sub {
    font-size: clamp(0.75rem, 0.568rem + 0.78vw, 1.5rem);
    font-weight: 900;
    font-style: italic;
    line-height: 1;
    display: inline-block;
    padding-inline: 8px;
    line-height: 1.2;
    color: #1e293b;
    background-color: #00d1ff;
    text-transform: capitalize;
    white-space: nowrap;
    width: fit-content;
}

.c-heading__sub.c-heading__sub--recruit {
    background-color: transparent;
}

.c-h2heading span {
    display: inline-block;
    font-size: clamp(2rem, 1.515rem + 2.07vw, 4rem);
    font-weight: bold;
    letter-spacing: 0.05em;
    line-height: 1.2;
    color: #1e293b;
    padding-inline: 0.2em;
}

.c-h2heading span.sdgs {
    color: #00bfa5;
}

.c-heading__wrapper--center {
    align-items: center;
    text-align: center;
}

.c-child-heading {
    text-align: center;
    margin-block: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.c-child-heading--single {
    margin-block: 40px;
}

@media (width <= 767px) {
    .c-child-heading {
        margin-block: 40px;
    }
}
/* ロゴ（ベース = モバイル） */
.c-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}
.c-logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    height: 100%;
    padding: 0.5em;
    transition: all 0.3s;
}
.c-logo a img {
    width: 80px;
    height: auto;
}
.c-logo a span {
    color: #ffffff;
    font-weight: bold;
    letter-spacing: 0.05em;
    font-size: clamp(1.125rem, 1.034rem + 0.39vw, 1.5rem);
    white-space: nowrap;
}
.c-logo--footer {
    justify-content: flex-start;
}
.c-logo--footer a {
    justify-content: flex-start;
}
.c-logo--footer a svg {
    margin-inline: 0;
}
.c-logo--footer a svg .logo-fill {
    fill: #ffffff !important;
}
.c-logo--footer a svg path {
    fill: #ffffff !important;
}
.c-logo--footer a svg rect {
    fill: #ffffff !important;
}
.c-logo--footer a:hover svg path {
    fill: #f0f4f7 !important;
}
.c-logo--footer a:hover svg rect {
    fill: #f0f4f7 !important;
}

.c-icon--phone {
    padding-left: 1.4em;
    position: relative;
}
.c-icon--phone::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f095";
    position: absolute;
    left: 0;
}

.c-icon--email {
    padding-left: 1.4em;
    position: relative;
}
.c-icon--email::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f0e0";
    position: absolute;
    left: 0;
}

@media (width >= 1025px) {
    .c-logo a {
        padding: 0;
    }
}
.c-inner-1280 {
    max-width: 1280px;
    margin-inline: auto;
    padding-inline: 16px;
}

.c-inner-1600 {
    width: min(98%, 1632px);
    margin-inline: auto;
    padding-inline: 16px;
}

.c-scroll-top {
    position: fixed;
    bottom: 80px;
    right: 10px;
    width: 48px;
    height: 48px;
    background-color: #00d1ff;
    color: #fff;
    font-size: 20px;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition:
        opacity 0.5s ease,
        transform 0.5s ease,
        background-color 0.3s;
}
.c-scroll-top .scroll-arrow {
    width: 12px;
    height: 12px;
    border-top: 3px solid #ffffff;
    border-left: 3px solid #ffffff;
    transform: translateY(20%) rotate(45deg);
    transition: transform 0.3s ease;
}
.c-scroll-top.is-show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.c-scroll-top:hover {
    background-color: #00bfa5;
}

.c-list--disc {
    list-style: disc;
    margin-left: 2em;
}
.c-list--disc--flex {
    display: flex;
    flex-wrap: wrap;
    column-gap: 3em;
}

.c-list--num {
    list-style: decimal;
    margin-left: 2em;
}

.c-list--asterisk {
    padding-left: 1.2em;
    text-indent: -1.2em;
}
.c-list--asterisk li::before {
    content: "※";
    margin-right: 0.2em;
    position: relative;
    bottom: 1px;
}
.c-list--asterisk.en li::before {
    content: "*";
    margin-right: 0.2em;
    position: relative;
    bottom: 1px;
}

.c-breadcrumbs-wrapper {
    background-color: #1e293b;
    height: 48px;
    display: flex;
    align-items: center;
}

.c-breadcrumbs {
    display: flex;
    align-items: center;
    position: relative;
    color: #ffffff;
    font-size: 0.9em;
    font-weight: bold;
    gap: 1em;
    /* 単一投稿など階層が増えても、先頭以外の要素（a/span）で同じ見た目を維持する */
}
.c-breadcrumbs a {
    color: #ffffff;
    line-height: 1.2;
}
.c-breadcrumbs a span {
    position: relative;
    display: inline-block;
}
.c-breadcrumbs a span::after {
    content: "";
    background-color: #ffffff;
    width: 0;
    height: 1px;
    position: absolute;
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}
.c-breadcrumbs a:hover span::after {
    width: 100%;
}
.c-breadcrumbs > * + * {
    white-space: nowrap;
    margin-left: 0.5em;
    padding-left: 0.4em;
    position: relative;
}
.c-breadcrumbs > * + *::before {
    content: "";
    background-image: url("../img/caret.png");
    background-image: image-set(
        url("../img/caret.webp") type("image/webp"),
        url("../img/caret.png") type("image/png")
    );
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    padding-right: 0.6em;
    margin-right: 0.8em;
    width: 18px;
    height: 18px;
    position: relative;
    bottom: 0;
    left: 0;
}

.c-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 80px;
}
.c-pagination__page,
.c-pagination__prev,
.c-pagination__next,
.c-pagination__current,
.c-pagination__dots {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    font-size: 1rem;
    font-weight: bold;
    color: #1e293b;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}
.c-pagination__page,
.c-pagination__prev,
.c-pagination__next {
    border: 1px solid #e0e0e0;
    background-color: #ffffff;
}
.c-pagination__page:hover,
.c-pagination__prev:hover,
.c-pagination__next:hover {
    background-color: #00d1ff;
    color: #ffffff;
    border-color: #00d1ff;
}
.c-pagination__current {
    background-color: #00d1ff;
    color: #ffffff;
    border: 1px solid #00d1ff;
}
.c-pagination__dots {
    width: auto;
    padding: 0 8px;
    color: #a5a5a5;
}
@media (width <= 768px) {
    .c-pagination {
        margin-top: 56px;
        gap: 4px;
    }
    .c-pagination__page,
    .c-pagination__prev,
    .c-pagination__next,
    .c-pagination__current,
    .c-pagination__dots {
        width: 40px;
        height: 40px;
        font-size: 0.875rem;
    }
}

.p-hero {
    position: relative;
    width: 100vw;
    min-height: 100vh;
    border-bottom: 24px solid #1e293b;
}
.p-hero::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../img/hero_pc.jpg");
    background-image: image-set(
        url("../img/hero_pc.webp") type("image/webp"),
        url("../img/hero_pc.jpg") type("image/jpeg")
    );
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.p-hero__inner-wrapper {
    position: relative;
    width: 100%;
    max-width: 1632px;
    margin-inline: auto;
    top: 50%;
    transform: translateY(-50%);
}

.p-hero__inner {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    width: min(90%, 806px);
    z-index: 1;
}
.p-hero__inner img {
    width: 100%;
    height: auto;
}

@media (width <= 767px) {
    .p-hero {
        min-height: 600px;
    }
}
.p-service__wrapper {
    display: flex;
    padding-top: 136px;
}

.p-service__item {
    width: 50%;
}
.p-service__item.left-item {
    padding-bottom: 136px;
}
.p-service__item.right-item {
    position: relative;
}
.p-service__item.right-item .p-service__right-inner {
    height: 100%;
}
.p-service__item.right-item .p-service__right-inner::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: 0;
    left: 0;
    right: calc(50% - 50vw);
    width: auto;
    height: 100%;
    background-image: url("../img/top_service_img.jpg");
    background-image: image-set(
        url("../img/top_service_img.webp") type("image/webp"),
        url("../img/top_service_img.jpg") type("image/jpeg")
    );
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    clip-path: polygon(34% 0, 100% 0, 100% 100%, 0 100%, 34% 0);
}
.p-service__item.right-item .p-service__right-inner::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: -24px;
    left: -24px;
    right: calc(50% - 50vw);
    width: auto;
    height: 100%;
    background-color: #ffffff;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    clip-path: polygon(34% 0, 100% 0, 100% 100%, 0 100%, 34% 0);
}
.p-service__item.right-item .p-service__right-inner .p-service__item-wrapper {
    display: flex;
    flex-direction: column;
    gap: 64px;
    position: relative;
    margin-left: 96px;
    margin-top: 80px;
    z-index: 10;
}
.p-service__item.right-item
    .p-service__right-inner
    .p-service__item-wrapper
    .p-service__item-link {
    width: min(100%, 704px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    text-decoration: none;
    color: #1e293b;
    padding: 40px 64px;
    --c-link-arrow-size: clamp(1.125rem, -0.144rem + 2.64vw, 2.5rem);
    overflow: visible;
}
.p-service__item.right-item
    .p-service__right-inner
    .p-service__item-wrapper
    .p-service__item-link
    .c-button01__arrow {
    flex-shrink: 0;
    width: var(--c-link-arrow-size, 18px);
    height: var(--c-link-arrow-size, 18px);
    overflow: hidden;
}
.p-service__item.right-item
    .p-service__right-inner
    .p-service__item-wrapper
    .p-service__item-link
    .c-button01__arrow-track {
    display: flex;
    width: max-content;
    height: 100%;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}
.p-service__item.right-item
    .p-service__right-inner
    .p-service__item-wrapper
    .p-service__item-link:hover
    .c-button01__arrow-track,
.p-service__item.right-item
    .p-service__right-inner
    .p-service__item-wrapper
    .p-service__item-link:focus-visible
    .c-button01__arrow-track {
    transform: translateX(0);
}
.p-service__item.right-item
    .p-service__right-inner
    .p-service__item-wrapper
    .p-service__item-link
    .c-button01__arrow
    img {
    flex-shrink: 0;
    display: block;
    width: var(--c-link-arrow-size, 18px);
    height: var(--c-link-arrow-size, 18px);
}
.p-service__item.right-item
    .p-service__right-inner
    .p-service__item-wrapper
    .p-service__item-link
    .c-button01__flip {
    flex: 1 1 auto;
    min-width: 0;
    align-self: stretch;
    perspective: 1000px;
    padding-right: 16px;
    border-right: 1px solid #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
}
.p-service__item.right-item
    .p-service__right-inner
    .p-service__item-wrapper
    .p-service__item-link
    .c-button01__flip-inner {
    position: relative;
    width: 100%;
    height: 2.5em;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    transform-origin: center bottom;
}
.p-service__item.right-item
    .p-service__right-inner
    .p-service__item-wrapper
    .p-service__item-link:hover
    .c-button01__flip-inner,
.p-service__item.right-item
    .p-service__right-inner
    .p-service__item-wrapper
    .p-service__item-link:focus-visible
    .c-button01__flip-inner {
    transform: translateY(-100%) rotateX(-90deg);
}
.p-service__item.right-item
    .p-service__right-inner
    .p-service__item-wrapper
    .p-service__item-link
    .c-button01__flip-front,
.p-service__item.right-item
    .p-service__right-inner
    .p-service__item-wrapper
    .p-service__item-link
    .c-button01__flip-back {
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    font: inherit;
    font-weight: bold;
    letter-spacing: inherit;
    background: transparent;
}
.p-service__item.right-item
    .p-service__right-inner
    .p-service__item-wrapper
    .p-service__item-link
    .c-button01__flip-front {
    top: 0;
    z-index: 2;
    /* 通常時は表示。戻る時は即座(0s)に表示してフリップ開始 */
    opacity: 1;
    transition: opacity 0s;
}
.p-service__item.right-item
    .p-service__right-inner
    .p-service__item-wrapper
    .p-service__item-link:hover
    .c-button01__flip-front,
.p-service__item.right-item
    .p-service__right-inner
    .p-service__item-wrapper
    .p-service__item-link:focus-visible
    .c-button01__flip-front {
    /* ホバー時は、フリップ完了後(0.4s後)に前面を完全に消す（上の線のちらつき防止） */
    opacity: 0;
    transition: opacity 0s linear 0.4s;
}
.p-service__item.right-item
    .p-service__right-inner
    .p-service__item-wrapper
    .p-service__item-link
    .c-button01__flip-back {
    top: 100%;
    transform: rotateX(90deg);
    transform-origin: center top;
    /* 通常時は、戻りフリップ完了後(0.4s後)に裏面を完全に消す（下の線のちらつき防止） */
    opacity: 0;
    transition: opacity 0s linear 0.4s;
}
.p-service__item.right-item
    .p-service__right-inner
    .p-service__item-wrapper
    .p-service__item-link:hover
    .c-button01__flip-back,
.p-service__item.right-item
    .p-service__right-inner
    .p-service__item-wrapper
    .p-service__item-link:focus-visible
    .c-button01__flip-back {
    /* ホバー時は即座(0s)に表示してフリップ開始 */
    opacity: 1;
    transition: opacity 0s;
}
.p-service__item.right-item
    .p-service__right-inner
    .p-service__item-wrapper
    .p-service__item-link:active {
    transform: scale(1.03);
    transition: transform 0.1s cubic-bezier(0.45, 0, 0.55, 1);
}
.p-service__item.right-item
    .p-service__right-inner
    .p-service__item-wrapper
    .p-service__item-link
    .c-button01__flip {
    justify-content: flex-start;
}
.p-service__item.right-item
    .p-service__right-inner
    .p-service__item-wrapper
    .p-service__item-link
    .c-button01__flip-front,
.p-service__item.right-item
    .p-service__right-inner
    .p-service__item-wrapper
    .p-service__item-link
    .c-button01__flip-back {
    justify-content: flex-start;
    font-size: clamp(1rem, 0.538rem + 0.96vw, 1.5rem);
    font-weight: bold;
    letter-spacing: 0.05em;
    white-space: nowrap;
}
.p-service__item.right-item
    .p-service__right-inner
    .p-service__item-wrapper
    .p-service__item-link.first-link {
    background-color: rgba(255, 215, 0, 0.9);
}
.p-service__item.right-item
    .p-service__right-inner
    .p-service__item-wrapper
    .p-service__item-link.second-link {
    background-color: rgba(0, 209, 255, 0.9);
}
.p-service__item.right-item
    .p-service__right-inner
    .p-service__item-wrapper
    .p-service__item-link.third-link {
    background-color: rgba(255, 215, 0, 0.9);
}

@media (width <= 1024px) {
    .p-service__wrapper {
        flex-direction: column;
        padding-top: 64px;
    }
    .p-service__item {
        width: 100%;
    }
    .p-service__item.left-item {
        padding-bottom: 0;
    }
    .p-service__item.right-item {
        padding-top: 32px;
        margin-top: 64px;
    }
    .p-service__item.right-item .p-service__right-inner {
        padding-bottom: 64px;
    }
    .p-service__item.right-item
        .p-service__right-inner
        .p-service__item-wrapper {
        margin-left: 0;
        margin-top: 32px;
        gap: 32px;
    }
    .p-service__item.right-item
        .p-service__right-inner
        .p-service__item-wrapper
        .p-service__item-link {
        padding: 24px 32px;
    }
    .p-service__item.right-item .p-service__right-inner::before {
        opacity: 0.5;
        clip-path: polygon(100px 0, 100% 0, 100% 100%, 0 100%, 10% 0);
    }
    .p-service__item.right-item .p-service__right-inner::after {
        clip-path: polygon(100px 0, 100% 0, 100% 100%, 0 100%, 10% 0);
    }
}
.p-service-child-intro {
    width: 100%;
    height: 384px;
    background-image: url("../img/top_service_img.jpg");
    background-image: image-set(
        url("../img/top_service_img.webp") type("image/webp"),
        url("../img/top_service_img.jpg") type("image/jpeg")
    );
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.p-service-child-intro-content {
    position: absolute;
    top: 290px;
    left: 50%;
    transform: translateX(-50%);
    width: min(96%, 1600px);
    padding: 24px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
}

.p-service-child-intro-content__title {
    font-size: clamp(1.125rem, 0.857rem + 1.14vw, 2rem);
    font-weight: bold;
    letter-spacing: 0.05em;
    line-height: 1.2;
}

.p-service-child-intro-content__text {
    font-size: clamp(0.875rem, 0.722rem + 0.65vw, 1.375rem);
    font-weight: bold;
    letter-spacing: 0.02em;
    margin-top: 24px;
    text-align: center;
}

.p-service-child-wrapper {
    margin-top: 160px;
    margin-bottom: 160px;
    display: flex;
    flex-direction: column;
    gap: 96px;
}

.p-service-child-content {
    display: grid;
    grid-template-columns: 40% 60%;
    border-radius: 16px;
    overflow: hidden;
    min-height: 480px;
}
.p-service-child-content .p-service-child-content__image {
    width: 100%;
    height: 100%;
}
.p-service-child-content .p-service-child-content__image img {
    width: 100%;
    height: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: all 0.3s ease-in-out;
}
.p-service-child-content .p-service-child-content__number {
    line-height: 0.73;
    font-size: clamp(12.5rem, 9.056rem + 14.69vw, 23.75rem);
    font-weight: bold;
    position: absolute;
    bottom: 0;
    right: 0;
    color: rgba(30, 41, 59, 0.05);
    z-index: 0;
}
.p-service-child-content .p-service-child-content__inner {
    padding: 48px 56px;
    position: relative;
}
.p-service-child-content
    .p-service-child-content__inner
    .p-service-child-content__title {
    font-size: clamp(1.125rem, 0.857rem + 1.14vw, 2rem);
    font-weight: bold;
    letter-spacing: 0.05em;
    position: relative;
    padding-left: 2.2em;
    z-index: 10;
}
.p-service-child-content
    .p-service-child-content__inner
    .p-service-child-content__title.title_plug
    span::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: clamp(1.5rem, 1.041rem + 1.96vw, 3rem);
    height: clamp(1.5rem, 1.041rem + 1.96vw, 3rem);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url("../img/plug_icon.png");
    background-image: image-set(
        url("../img/plug_icon.webp") type("image/webp"),
        url("../img/plug_icon.png") type("image/png")
    );
}
.p-service-child-content
    .p-service-child-content__inner
    .p-service-child-content__title.title_building
    span::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: clamp(1.5rem, 1.041rem + 1.96vw, 3rem);
    height: clamp(1.5rem, 1.041rem + 1.96vw, 3rem);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url("../img/building_icon.png");
    background-image: image-set(
        url("../img/building_icon.webp") type("image/webp"),
        url("../img/building_icon.png") type("image/png")
    );
}
.p-service-child-content
    .p-service-child-content__inner
    .p-service-child-content__title.title_network
    span::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: clamp(1.25rem, 0.867rem + 1.63vw, 2.5rem);
    height: clamp(1.5rem, 1.041rem + 1.96vw, 3rem);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url("../img/network_icon.png");
    background-image: image-set(
        url("../img/network_icon.webp") type("image/webp"),
        url("../img/network_icon.png") type("image/png")
    );
}
.p-service-child-content
    .p-service-child-content__inner
    .p-service-child-content__sub-title {
    font-size: clamp(1rem, 0.847rem + 0.65vw, 1.5rem);
    font-weight: bold;
    letter-spacing: 0.05em;
    padding: 10px;
    margin-top: 38px;
    background-color: #ffffff;
    position: relative;
    z-index: 10;
}
.p-service-child-content
    .p-service-child-content__inner
    .p-service-child-content__text {
    margin-top: 30px;
}
.p-service-child-content
    .p-service-child-content__inner
    .p-service-child-content__text
    p {
    font-size: clamp(0.875rem, 0.798rem + 0.33vw, 1.125rem);
    font-weight: 500;
    letter-spacing: 0.05em;
    line-height: 1.7;
    position: relative;
    z-index: 10;
}
.p-service-child-content.p-service-child-content__first
    .p-service-child-content__inner {
    background-color: #ffd700;
}
.p-service-child-content.p-service-child-content__second {
    grid-template-columns: 60% 40%;
    grid-template-areas: "text image";
}
.p-service-child-content.p-service-child-content__second
    .p-service-child-content__inner {
    grid-area: text;
}
.p-service-child-content.p-service-child-content__second
    .p-service-child-content__image {
    grid-area: image;
}
.p-service-child-content.p-service-child-content__second
    .p-service-child-content__inner {
    background-color: #00d1ff;
}
.p-service-child-content.p-service-child-content__third
    .p-service-child-content__inner {
    background-color: #ffd700;
}

@media (width <= 1024px) {
    .p-service-child-content {
        display: block;
    }
    .p-service-child-intro-content {
        width: 94%;
        padding: 16px 24px;
    }
    .p-service-child-wrapper {
        margin-top: 112px;
        margin-bottom: 80px;
        gap: 40px;
    }
    .p-service-child-wrapper
        .p-service-child-content
        .p-service-child-content__inner {
        padding: 24px;
    }
    .p-service-child-wrapper
        .p-service-child-content
        .p-service-child-content__inner
        .p-service-child-content__sub-title {
        margin-top: 24px;
    }
    .p-service-child-wrapper
        .p-service-child-content
        .p-service-child-content__inner
        .p-service-child-content__text {
        margin-top: 24px;
    }
}
.p-company__wrapper {
    display: flex;
}

.p-company__item {
    width: 50%;
}
.p-company__item.left-item .p-company__item-left {
    position: relative;
    height: 100%;
}
.p-company__item.left-item .p-company__item-left::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: 0;
    right: 0;
    left: calc(50% - 50vw);
    width: auto;
    height: 100%;
    background-image: url("../img/top_company_img.jpg");
    background-image: image-set(
        url("../img/top_company_img.webp") type("image/webp"),
        url("../img/top_company_img.jpg") type("image/jpeg")
    );
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    clip-path: polygon(0 0, 100% 0, 60% 100%, 0 100%, 0 0);
}
.p-company__item.left-item .p-company__item-left::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: 24px;
    left: calc(50% - 50vw);
    right: -24px;
    width: auto;
    height: 100%;
    background-color: #ffffff;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    clip-path: polygon(0 0, 100% 0, 60% 100%, 0 100%, 0 0);
}
.p-company__item.right-item {
    padding-top: 136px;
    padding-bottom: 136px;
}
.p-company__item.right-item .p-company__item-right {
    margin-left: 2em;
}

@media (width <= 1024px) {
    .p-company__wrapper {
        flex-direction: column-reverse;
        position: relative;
        padding-top: 64px;
        padding-bottom: 64px;
    }
    .p-company__wrapper::before {
        content: "";
        position: absolute;
        z-index: -1;
        top: 0;
        right: 0;
        left: calc(50% - 50vw);
        width: auto;
        height: 100%;
        background-image: url("../img/top_company_img.jpg");
        background-image: image-set(
            url("../img/top_company_img.webp") type("image/webp"),
            url("../img/top_company_img.jpg") type("image/jpeg")
        );
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%, 0 0);
        opacity: 0.2;
    }
    .p-company__wrapper::after {
        content: "";
        position: absolute;
        z-index: -2;
        top: 0;
        left: calc(50% - 50vw);
        right: -24px;
        width: auto;
        height: 100%;
        background-color: #ffffff;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%, 0 0);
        opacity: 1;
    }
    .p-company__item {
        width: 100%;
    }
    .p-company__item.left-item .p-company__item-left {
        display: none;
    }
    .p-company__item.right-item {
        padding-top: 0;
        padding-bottom: 0;
    }
    .p-company__item.right-item .p-company__item-right {
        margin-left: 0;
    }
}
.p-company-child-intro {
    width: 100%;
    height: 384px;
    background-image: url("../img/top_company_img.jpg");
    background-image: image-set(
        url("../img/top_company_img.webp") type("image/webp"),
        url("../img/top_company_img.jpg") type("image/jpeg")
    );
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.p-company-child-intro-content {
    position: absolute;
    top: 290px;
    left: 50%;
    transform: translateX(-50%);
    width: min(96%, 1600px);
    padding: 24px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
}

.p-company-child-intro-content__title {
    font-size: clamp(1.125rem, 0.857rem + 1.14vw, 2rem);
    font-weight: bold;
    letter-spacing: 0.05em;
    line-height: 1.2;
}

.p-company-child-intro-content__text {
    font-size: clamp(0.875rem, 0.722rem + 0.65vw, 1.375rem);
    font-weight: bold;
    letter-spacing: 0.02em;
    margin-top: 24px;
    text-align: center;
}

.p-company-child-wrapper {
    margin-top: 260px;
    margin-bottom: 160px;
}

.p-company-child-content__list li {
    padding: 16px;
    border-bottom: 1px solid rgba(30, 41, 59, 0.3);
}
.p-company-child-content__list li dl {
    display: grid;
    grid-template-columns: 240px auto;
    gap: 72px;
}
.p-company-child-content__list li dl dt {
    font-size: clamp(0.875rem, 0.798rem + 0.33vw, 1.125rem);
    font-weight: bold;
    letter-spacing: 0.05em;
}
.p-company-child-content__list li dl dd {
    font-size: clamp(0.875rem, 0.798rem + 0.33vw, 1.125rem);
    letter-spacing: 0.05em;
}

.qualified-list {
    display: flex;
    flex-wrap: wrap;
}
.qualified-list li {
    border-bottom: none;
    padding: 0;
}
.qualified-list li::after {
    content: "/";
    margin-inline: 0.5em;
}
.qualified-list li:last-child::after {
    content: "";
}

.partners-list {
    display: flex;
    flex-wrap: wrap;
}
.partners-list li {
    border-bottom: none;
    padding: 0;
}
.partners-list li::after {
    content: "、";
}
.partners-list li:last-child::after {
    content: "";
}

.p-company-map-wrapper {
    margin-top: 48px;
    width: 100%;
    height: 372px;
}
.p-company-map-wrapper iframe {
    width: 100%;
    height: 100%;
}

@media (width <= 1024px) {
    .p-company-child-wrapper {
        margin-top: 160px;
        margin-bottom: 80px;
    }
    .p-company-child-intro-content {
        padding: 16px 24px;
    }
}
@media (width <= 767px) {
    .p-company-child-content__list li dl {
        grid-template-columns: 1fr;
        gap: 4px;
    }
    .p-company-child-content__list li dl dd {
        margin-left: 1em;
    }
}
.p-sdgs {
    background-color: #1e293b;
}

.p-sdgs__wrapper {
    display: flex;
    margin-block: 160px;
}

.p-sdgs__item {
    width: 50%;
}
.p-sdgs__item.left-item {
    padding-right: 32px;
}

.p-sdgs__img {
    width: min(100%, 800px);
}
.p-sdgs__img img {
    width: 100%;
    height: auto;
    border-radius: 16px;
}

@media (width <= 1024px) {
    .p-sdgs__wrapper {
        flex-direction: column;
        margin-block: 64px;
    }
    .p-sdgs__item {
        width: 100%;
    }
}
.p-sdgs-child-intro {
    width: 100%;
    height: 384px;
    background-image: url("../img/sdgs_img01.jpg");
    background-image: image-set(
        url("../img/sdgs_img01.webp") type("image/webp"),
        url("../img/sdgs_img01.jpg") type("image/jpeg")
    );
    background-size: cover;
    background-position: center 72%;
    background-repeat: no-repeat;
    position: relative;
}
@media (width <= 767px) {
    .p-sdgs-child-intro {
        background-position: center 10%;
    }
}

.p-sdgs-child-intro-content {
    position: absolute;
    top: 290px;
    left: 50%;
    transform: translateX(-50%);
    width: min(96%, 1600px);
    padding: 24px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
}

.p-sdgs-child-intro-content__title {
    font-size: clamp(1.125rem, 0.857rem + 1.14vw, 2rem);
    font-weight: bold;
    letter-spacing: 0.05em;
    line-height: 1.2;
}

.p-sdgs-child-intro-content__text {
    font-size: clamp(0.875rem, 0.722rem + 0.65vw, 1.375rem);
    font-weight: bold;
    letter-spacing: 0.02em;
    margin-top: 24px;
    text-align: center;
}

.p-sdgs-child-wrapper {
    margin-top: 260px;
    margin-bottom: 160px;
}

.p-sdgs-child-wrapper__title {
    font-size: clamp(1.125rem, 0.857rem + 1.14vw, 2rem);
    font-weight: bold;
    letter-spacing: 0.05em;
    text-align: center;
    padding: 16px 32px;
    line-height: 1.7;
    background-color: #1e293b;
    color: #ffffff;
    width: fit-content;
    margin-inline: auto;
}

.p-sdgs-poster {
    width: min(100%, 1187px);
    margin: 80px auto;
}
.p-sdgs-poster img {
    width: 100%;
    height: auto;
}

.p-sdgs-heading {
    width: min(80%, 684px);
    margin: 148px auto 48px;
}
.p-sdgs-heading img {
    width: 100%;
    height: auto;
}

.p-sdgs-table-wrapper {
    overflow: auto;
    margin: 48px auto 0;
}

.p-sdgs-table {
    width: max(100%, 1280px);
    border-collapse: collapse;
    border: 1px solid rgba(30, 41, 59, 0.3);
}
.p-sdgs-table thead th {
    text-align: center;
    font-size: clamp(1rem, 0.694rem + 1.31vw, 2rem);
    font-weight: bold;
    color: #ffffff;
    letter-spacing: 0.05em;
    vertical-align: middle;
    padding: 16px;
    border: 1px solid #cccccc;
}
.p-sdgs-table thead th:first-child {
    width: 24%;
    background-color: #c50e28;
}
.p-sdgs-table thead th:nth-child(2) {
    width: 37%;
    background-color: #407936;
}
.p-sdgs-table thead th:last-child {
    width: 37%;
    background-color: #023067;
}
.p-sdgs-table tbody td {
    padding: 32px;
    background-color: #ffffff;
    color: #1e293b;
    border: 1px solid #cccccc;
}
.p-sdgs-table tbody td:first-child {
    font-size: clamp(1rem, 0.694rem + 1.31vw, 2rem);
    font-weight: bold;
    text-align: center;
    letter-spacing: 0.05em;
    vertical-align: middle;
}
.p-sdgs-table tbody td:nth-child(2) {
    vertical-align: middle;
}
.p-sdgs-table tbody td:nth-child(2) figure {
    width: 100%;
}
.p-sdgs-table tbody td:nth-child(2) figure img {
    width: 100%;
    height: auto;
}
.p-sdgs-table tbody td:last-child {
    text-align: left;
    font-size: clamp(0.875rem, 0.684rem + 0.82vw, 1.5rem);
    font-weight: 500;
}

.p-sdgs-table__icon {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1rem, 0.694rem + 1.31vw, 2rem);
}

.p-sdgs-challenge-wrapper {
    display: flex;
    align-items: stretch;
    width: min(100%, 1406px);
    border-radius: 16px;
    overflow: hidden;
    margin-top: 160px;
}
.p-sdgs-challenge-wrapper .p-sdgs-challenge__item {
    width: 50%;
    background-color: #ffffff;
    padding: 64px;
}
.p-sdgs-challenge-wrapper .p-sdgs-challenge__item p {
    font-weight: 500;
}
.p-sdgs-challenge-wrapper .p-sdgs-challenge__img {
    width: 50%;
    min-width: 0;
    margin: 0;
}
.p-sdgs-challenge-wrapper .p-sdgs-challenge__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (width <= 767px) {
    .p-sdgs-child-intro-content {
        padding: 16px 24px;
    }
    .p-sdgs-child-wrapper__title {
        padding: 16px 24px;
    }
}
@media (width <= 1024px) {
    .p-sdgs-child-wrapper {
        margin-top: 160px;
        margin-bottom: 80px;
    }
    .p-sdgs-challenge-wrapper {
        flex-direction: column-reverse;
        margin-top: 80px;
    }
    .p-sdgs-challenge-wrapper .p-sdgs-challenge__item {
        width: 100%;
        padding: 16px 32px;
    }
    .p-sdgs-challenge-wrapper .p-sdgs-challenge__img {
        width: 100%;
    }
}
.p-recruit {
    position: relative;
    overflow: hidden;
}
.p-recruit::before {
    content: "";
    position: absolute;
    z-index: 0;
    pointer-events: none;
    width: 76vw;
    aspect-ratio: 1/1;
    border-radius: 50%;
    left: -32vw;
    top: 50%;
    transform: translateY(-50%);
    background-color: #00d1ff;
}
.p-recruit > * {
    position: relative;
    z-index: 1;
}

.p-recruit__wrapper {
    display: flex;
    margin-block: 160px;
}

.p-recruit__item {
    width: 50%;
}
.p-recruit__item.p-recruit__item-left {
    padding-right: 32px;
}
.p-recruit__item.p-recruit__item-right {
    padding-left: 32px;
}

.p-recruit_image-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}
.p-recruit_image-wrapper .first-item {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 15%;
    width: 287px;
    aspect-ratio: 287/258;
}
.p-recruit_image-wrapper .first-item::after {
    content: "";
    position: absolute;
    z-index: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}
.p-recruit_image-wrapper .second-item {
    position: absolute;
    z-index: 3;
    top: 50%;
    transform: translateY(-50%);
    right: 5%;
    width: 354px;
    aspect-ratio: 354/296;
}
.p-recruit_image-wrapper .second-item::after {
    content: "";
    position: absolute;
    z-index: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}
.p-recruit_image-wrapper .third-item {
    position: absolute;
    z-index: 5;
    bottom: 0;
    left: 0%;
    width: 480px;
    aspect-ratio: 480/339;
}
.p-recruit_image-wrapper .third-item::after {
    content: "";
    position: absolute;
    z-index: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}
.p-recruit_image-wrapper .p-recruit_image-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

.p-recruit_image-wrapper--pc {
    display: block;
}

.p-recruit_image-wrapper--tablet {
    display: none;
}

@media (width <= 1024px) {
    .p-recruit::before {
        width: 150vw;
        left: -75vw;
        transform: translateY(-35%);
        opacity: 0.3;
    }
    .p-recruit__wrapper {
        flex-direction: column;
        margin-block: 64px;
    }
    .p-recruit__wrapper .first-item {
        width: clamp(10rem, 2.407rem + 32.4vw, 17.938rem);
    }
    .p-recruit__wrapper .second-item {
        width: clamp(12.5rem, 3.292rem + 39.29vw, 22.125rem);
    }
    .p-recruit__wrapper .third-item {
        width: clamp(15.625rem, 1.873rem + 58.67vw, 30rem);
    }
    .p-recruit__item {
        width: 100%;
    }
    .p-recruit__item.p-recruit__item-right {
        padding-left: 0;
    }
    .p-recruit_image-wrapper--pc {
        display: none;
    }
    .p-recruit_image-wrapper .first-item {
        left: 50%;
        transform: translateX(-50%);
    }
    .p-recruit_image-wrapper--tablet {
        display: block;
        height: clamp(25rem, 21.389rem + 15.41vw, 31.25rem);
        margin-top: 2em;
    }
}
.p-recruit-child-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 80px;
    margin-top: 160px;
    margin-bottom: 160px;
    position: relative;
}
@media (width <= 1024px) {
    .p-recruit-child-wrapper {
        flex-direction: column;
        gap: 40px;
        margin-bottom: 80px;
    }
}

.p-recruit-child-wrapper--stack {
    flex-direction: column;
    align-items: stretch;
    gap: 48px;
    width: 100%;
    margin-top: 160px;
    margin-bottom: 160px;
    padding-top: 160px;
}
.p-recruit-child-wrapper--stack .p-recruit_heading {
    margin-inline: auto;
    text-align: center;
}
.p-recruit-child-wrapper--stack .p-recruit_heading img {
    max-width: 100%;
    height: auto;
}
@media (width <= 519px) {
    .p-recruit-child-wrapper--stack {
        padding-top: 80px;
    }
}

.p-recruit_point-wrapper {
    display: flex;
    flex-direction: column;
    gap: 28px;
    width: 100%;
    max-width: 100%;
}
@media (width >= 1025px) {
    .p-recruit_point-wrapper {
        flex-direction: row;
        align-items: stretch;
        gap: 24px;
    }
}

.p-recruit_point-item {
    position: relative;
    overflow: hidden;
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 28px 20px 32px;
    background-color: #ffffff;
    border: 4px solid #1e293b;
    box-shadow: 10px 10px 0 #00d1ff;
    text-align: center;
}
@media (width >= 1025px) {
    .p-recruit_point-item {
        padding: 32px 20px 36px;
    }
}

.p-recruit_point-item__num {
    line-height: 0.73;
    font-size: clamp(5.5rem, 2.5rem + 12vw, 10.5rem);
    font-weight: bold;
    position: absolute;
    bottom: 0;
    right: 0;
    transform: translate(4%, 12%);
    color: rgba(30, 41, 59, 0.06);
    z-index: 0;
    pointer-events: none;
    user-select: none;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.04em;
}

.p-recruit_point-item__dl {
    position: relative;
    z-index: 1;
    margin: 0;
    width: 100%;
    text-align: left;
}
.p-recruit_point-item__dl dt {
    margin: 0 0 12px;
    font-size: clamp(1rem, 0.9rem + 0.35vw, 1.125rem);
    font-weight: 900;
    letter-spacing: 0.04em;
    line-height: 1.4;
    color: #1e293b;
    padding-bottom: 10px;
    border-bottom: 3px solid #00d1ff;
}
.p-recruit_point-item__dl dd {
    margin: 0;
    font-size: 0.875rem;
    font-weight: bold;
    line-height: 1.85;
    color: #333333;
}

.p-recruit-child-content__left {
    flex: 0 0 500px;
    position: sticky;
    top: 88px;
}
.p-recruit-child-content__left img {
    width: 130%;
    height: auto;
}
@media (width <= 1024px) {
    .p-recruit-child-content__left img {
        width: 90%;
    }
}
.p-recruit-child-content__left .c-heading__sub--recruit {
    font-size: clamp(2rem, 0.5rem + 5vw, 3.5rem);
    font-style: italic;
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: #ffd700;
    background-color: transparent;
    white-space: normal;
    width: auto;
    transform: skewX(-5deg) rotate(-5deg);
    margin-left: -0.5em;
    margin-bottom: -0.3em;
    text-shadow:
        -3px -3px 0 #1e293b,
        3px -3px 0 #1e293b,
        -3px 3px 0 #1e293b,
        3px 3px 0 #1e293b,
        5px 5px 0 #1e293b;
}
@media (width <= 1024px) {
    .p-recruit-child-content__left {
        flex: none;
        width: 100%;
        position: static;
        margin-bottom: -128px;
        z-index: 10;
    }
    .p-recruit-child-content__left .c-heading__sub--recruit {
        font-size: clamp(2.5rem, 1rem + 6vw, 5rem);
    }
}
@media (width <= 519px) {
    .p-recruit-child-content__left {
        margin-bottom: -80px;
    }
}

.p-recruit-child-content__right {
    flex: 1;
    min-width: 0;
    background-color: #ffffff;
    padding: 64px;
    border: 4px solid #1e293b;
    box-shadow: 12px 12px 0px #00d1ff;
}
@media (width <= 1024px) {
    .p-recruit-child-content__right {
        padding: 128px 24px 32px;
        width: 100%;
    }
}
@media (width <= 519px) {
    .p-recruit-child-content__right {
        padding: 64px 24px 32px;
    }
}

.p-recruit-child-content__list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.p-recruit-child-content__list li {
    border-bottom: 3px dashed #1e293b;
    padding-bottom: 16px;
    margin-bottom: 16px;
}
.p-recruit-child-content__list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}
.p-recruit-child-content__list li dl {
    margin: 0;
}
.p-recruit-child-content__list li dt {
    display: inline-block;
    background-color: #00d1ff;
    color: #1e293b;
    font-weight: bold;
    font-size: 1rem;
    padding: 6px 16px;
    margin-bottom: 16px;
    border: 2px solid #1e293b;
    box-shadow: 3px 3px 0px #1e293b;
    transform: rotate(-2deg);
}
.p-recruit-child-content__list li dd {
    margin: 0 0 0 1em;
    font-size: 1rem;
    line-height: 1.8;
    color: #333333;
}

.p-recruit-child-intro {
    width: 100%;
    height: 480px;
    background-image: url("../img/recruit_img01.png");
    background-image: image-set(
        url("../img/recruit_img01.webp") type("image/webp"),
        url("../img/recruit_img01.png") type("image/png")
    );
    background-size: cover;
    background-position: center 32%;
    background-repeat: no-repeat;
    position: relative;
}

.p-recruit-child-intro-content {
    position: absolute;
    top: 290px;
    left: 50%;
    transform: translateX(-50%);
    width: min(96%, 1600px);
    padding: 40px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #ffd700;
    border: 5px solid #1e293b;
    box-shadow: 10px 10px 0 #1e293b;
}
@media (width <= 519px) {
    .p-recruit-child-intro-content {
        padding: 24px 16px;
    }
}

.p-recruit-child-intro-content__title {
    font-size: clamp(1.25rem, 0.561rem + 2.94vw, 3.5rem);
    font-weight: 900;
    letter-spacing: 0.08em;
    line-height: 1.5;
    /* 黒フチ＋白塗り文字 */
    color: #ffffff;
    -webkit-text-stroke: 10px #1e293b;
    text-stroke: 10px #1e293b;
    paint-order: stroke fill;
    text-shadow: none;
    text-align: center;
    transform: skew(-8deg);
}
.p-recruit-child-intro-content__title span {
    font-size: 1.5em;
    color: #00d1ff;
    border: none;
    background-color: #1e293b;
    padding: 4px 8px;
}

.p-recruit-child-intro-content__text {
    font-size: clamp(0.875rem, 0.722rem + 0.65vw, 1.375rem);
    font-weight: bold;
    letter-spacing: 0.03em;
    margin-top: 24px;
    text-align: center;
    line-height: 1.9;
    color: #1e293b;
}

.p-recruit-child-content__title {
    display: inline-block;
    font-size: clamp(2rem, 1.515rem + 2.07vw, 4rem);
    font-weight: bold;
    letter-spacing: 0.05em;
    line-height: 1.2;
    color: #ffffff;
    white-space: nowrap;
    text-shadow:
        -2px -2px 0 #1e293b,
        2px -2px 0 #1e293b,
        -2px 2px 0 #1e293b,
        2px 2px 0 #1e293b,
        6px 6px 0 #1e293b;
    transform: skewX(-5deg);
}

.p-contact-section--pop {
    position: relative;
}
.p-contact-section--pop.p-contact-section {
    background-color: #00d1ff;
    color: #333333;
}
.p-contact-section--pop::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(#00d1ff 1.5px, transparent 1.5px);
    background-size: 28px 28px;
    opacity: 0.08;
    pointer-events: none;
    z-index: 0;
}
.p-contact-section--pop .p-contact-section__inner {
    position: relative;
    z-index: 1;
}
.p-contact-section--pop .p-contact-section__title {
    color: #ffd700;
    font-size: clamp(1.5rem, 1.1rem + 2vw, 2.25rem);
    letter-spacing: 0.06em;
    text-shadow:
        2px 2px 0 #1e293b,
        4px 4px 0 rgba(30, 41, 59, 0.4);
}
.p-contact-section--pop .p-contact-section__tel-box {
    background-color: #ffd700;
    color: #1e293b;
    border: 4px solid #1e293b;
    border-radius: 0;
    box-shadow: 8px 8px 0 #00d1ff;
}
.p-contact-section--pop .p-contact-form .c-badge--required {
    border-radius: 0;
    box-shadow: 2px 2px 0 rgba(30, 41, 59, 0.5);
    font-weight: 900;
}
.p-contact-section--pop .p-contact-form__submit-btn {
    background-color: #ffd700;
    font-weight: 900;
    letter-spacing: 0.1em;
}
.p-contact-section--pop .p-contact-form__submit-btn i {
    transition: transform 0.3s cubic-bezier(0.45, 0, 0.55, 1);
}
.p-contact-section--pop .p-contact-form__submit-btn:hover i,
.p-contact-section--pop .p-contact-form__submit-btn:focus-visible i {
    transform: translateX(6px);
}

.p-recruit-child-content__left-img {
    width: 124%;
}

.p-recruit-child-content__left-img img {
    width: 100%;
    height: auto;
    margin-top: 2em;
}

@media (width <= 1024px) {
    .p-recruit-child-content__left-img {
        display: block;
        width: clamp(11.875rem, 4.291rem + 32.36vw, 25rem);
        position: absolute;
        top: -100px;
        right: 0;
    }
}
.p-recruit__item-left-img {
    width: min(110%, 800px);
    margin-top: 24px;
}
.p-recruit__item-left-img img {
    width: 100%;
    height: auto;
}

.p-works {
    background-color: #ffffff;
}

.p-works__wrapper {
    margin-block: 160px;
}

.p-works__layout {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 64px;
    margin-top: 48px;
    margin-bottom: 64px;
}

.p-works__main {
    flex: 1;
    min-width: 0;
    width: 100%;
}

.p-works__sidebar {
    width: 320px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 48px;
    margin-bottom: 64px;
}

.p-works-widget__title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #1e293b;
    padding-bottom: 16px;
    margin-bottom: 24px;
    border-bottom: 2px solid #e0e0e0;
    position: relative;
}
.p-works-widget__title::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #00d1ff;
}
.p-works-widget__list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.p-works-widget__list li {
    margin-bottom: 4px;
}
.p-works-widget__list li:last-child {
    margin-bottom: 0;
}
.p-works-widget__list li a {
    display: flex;
    align-items: center;
    color: #1e293b;
    text-decoration: none;
    transition: color 0.3s ease;
}
.p-works-widget__list li a::before {
    content: "\f054";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.75rem;
    color: #00d1ff;
    margin-right: 12px;
    transition: transform 0.3s ease;
}
.p-works-widget__list li a:hover {
    color: #00d1ff;
}
.p-works-widget__list li a:hover::before {
    transform: translateX(4px);
}
.p-works-widget__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.p-works-widget__tags .c-tag {
    display: inline-block;
    padding: 6px 12px;
    font-size: 0.875rem;
    color: #1e293b;
    background-color: #f5f5f5;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.p-works-widget__tags .c-tag:hover {
    background-color: #00d1ff;
    color: #ffffff;
}
.p-works-widget__search-form {
    width: 100%;
}
.p-works-widget__search-row {
    display: flex;
    align-items: stretch;
    gap: 0;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    background-color: #ffffff;
}
.p-works-widget__search-field {
    flex: 1;
    min-width: 0;
    border: none;
    padding: 10px 12px;
    font-size: 0.875rem;
    color: #1e293b;
    background: transparent;
}
.p-works-widget__search-field:focus {
    outline: 2px solid #00d1ff;
    outline-offset: -2px;
}
.p-works-widget__search-submit {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    border: none;
    padding: 0;
    cursor: pointer;
    background-color: #1e293b;
    color: #ffffff;
    transition: background-color 0.3s ease;
}
.p-works-widget__search-submit:hover {
    background-color: #00d1ff;
}

.p-works_item_wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 312px));
    gap: 40px 32px;
    justify-content: center;
}

.p-works_item {
    width: 100%;
    transition: all 0.3s ease-in-out;
}
.p-works_item .p-works_item_img {
    width: 100%;
}
.p-works_item .p-works_item_img img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
}
.p-works_item:hover {
    opacity: 0.9;
}
.p-works_item:hover .p-works_item_img img {
    transform: scale(1.03);
}

.p-works_item_content .p-works_date {
    font-style: italic;
    font-weight: bold;
    color: #a5a5a5;
    margin-top: 8px;
}
.p-works_item_content .p-works_title {
    font-weight: bold;
    color: #1e293b;
}

.p-single-work p {
    margin-bottom: 1em;
}

.p-single-work .wp-block-image {
    margin-block: 1em;
    border-radius: 8px;
    overflow: hidden;
}

.p-single-work {
    flex: 1;
    min-width: 0;
    width: 100%;
}
.p-single-work__thumb {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
}
.p-single-work__thumb img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}
.p-single-work__overview {
    font-size: 1rem;
    line-height: 1.8;
    color: #1e293b;
}
.p-single-work__overview p {
    margin-bottom: 1em;
}
.p-single-work__overview p:last-child {
    margin-bottom: 0;
}
.p-single-work__gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
    margin: 0;
    padding: 0;
}
@media (width <= 600px) {
    .p-single-work__gallery {
        gap: 12px;
    }
}
.p-single-work__gallery-item {
    margin: 0;
    padding: 0;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 8px;
}
.p-single-work__gallery-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.p-single-work__period {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
    box-sizing: border-box;
}
.p-single-work__period-date {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}
.p-single-work__period-date::before {
    content: "\f073";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 1rem;
    line-height: 1;
    color: #00d1ff;
    flex-shrink: 0;
}
.p-single-work__period .p-single-work__meta-date {
    font-size: clamp(1.0625rem, 0.955rem + 0.34vw, 1.375rem);
}
.p-single-work__period .p-single-work__meta-categories {
    justify-content: flex-start;
}

.p-single-work__meta-date {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0 0.15em;
    font-weight: 600;
    color: #1e293b;
    line-height: 1;
}
.p-single-work__meta-date-label {
    font-weight: 600;
    color: #1e293b;
}
.p-single-work__meta-date-text {
    font-weight: 600;
    color: #1e293b;
}
.p-single-work__meta-categories {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.p-single-work__meta-category {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 2px 10px;
    border-radius: 999px;
    border: 1px solid rgba(30, 41, 59, 0.2);
    font-size: 0.8rem;
    font-weight: 600;
    color: #1e293b;
    text-decoration: none;
    line-height: 1.5;
    transition: all 0.3s ease;
}
.p-single-work__meta-category::before {
    content: "\f02b";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.7rem;
    line-height: 1;
    color: #00d1ff;
}
.p-single-work__meta-category:hover {
    color: #ffffff;
    background-color: #1e293b;
    border-color: #1e293b;
}
.p-single-work__meta-category:hover::before {
    color: #ffffff;
}

.p-single-work__post-nav {
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
}
.p-single-work__post-nav-inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}
.p-single-work__post-nav-item {
    min-width: 0;
}
.p-single-work__post-nav-item--next {
    display: flex;
    justify-content: flex-end;
}
.p-single-work__post-nav-item--next .p-single-work__post-nav-link {
    align-items: flex-end;
    text-align: right;
}
.p-single-work__post-nav-link {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 20px 22px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #ffffff;
    color: #1e293b;
    text-decoration: none;
    transition:
        border-color 0.3s ease,
        background-color 0.3s ease,
        color 0.3s ease,
        box-shadow 0.3s ease;
}
.p-single-work__post-nav-link:hover {
    border-color: #00d1ff;
    background-color: rgba(0, 209, 255, 0.06);
    box-shadow: 0 4px 16px rgba(30, 41, 59, 0.06);
}
.p-single-work__post-nav-link:hover .p-single-work__post-nav-title {
    color: #00d1ff;
}
.p-single-work__post-nav-meta {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
    min-width: 0;
}
.p-single-work__post-nav-item--next .p-single-work__post-nav-meta {
    flex-direction: row-reverse;
}
.p-single-work__post-nav-item--prev .p-single-work__post-nav-meta::before {
    content: "\f053";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.7rem;
    line-height: 1;
    color: #00d1ff;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}
.p-single-work__post-nav-item--next .p-single-work__post-nav-meta::after {
    content: "\f054";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.7rem;
    line-height: 1;
    color: #00d1ff;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}
.p-single-work__post-nav-item--prev
    .p-single-work__post-nav-link:hover
    .p-single-work__post-nav-meta::before {
    transform: translateX(-3px);
}
.p-single-work__post-nav-item--next
    .p-single-work__post-nav-link:hover
    .p-single-work__post-nav-meta::after {
    transform: translateX(3px);
}
.p-single-work__post-nav-label {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #64748b;
    min-width: 0;
    overflow-wrap: break-word;
    word-break: break-word;
}
.p-single-work__post-nav-title {
    font-size: clamp(0.9375rem, 0.884rem + 0.18vw, 1.0625rem);
    font-weight: 700;
    line-height: 1.45;
    color: #1e293b;
    transition: color 0.3s ease;
    width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}
@media (width <= 600px) {
    .p-single-work__post-nav-inner {
        grid-template-columns: 1fr;
    }
    .p-single-work__post-nav-item--next {
        justify-content: stretch;
    }
    .p-single-work__post-nav-item--next .p-single-work__post-nav-link {
        align-items: flex-start;
        text-align: left;
    }
    .p-single-work__post-nav-item--next .p-single-work__post-nav-meta {
        flex-direction: row;
    }
}

@media (width <= 1024px) {
    .p-works__wrapper {
        margin-block: 64px;
    }
    .p-single-work__period {
        gap: 12px;
    }
    .p-single-work__period-date::before {
        font-size: 0.9rem;
    }
    .p-single-work__meta-category {
        font-size: 0.75rem;
        padding: 2px 8px;
    }
}
.p-works-child-intro {
    width: 100%;
    height: 384px;
    background-image: url("../img/works_img01.jpg");
    background-image: image-set(
        url("../img/works_img01.webp") type("image/webp"),
        url("../img/works_img01.jpg") type("image/jpeg")
    );
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.p-works-child-intro-content {
    position: absolute;
    top: 290px;
    left: 50%;
    transform: translateX(-50%);
    width: min(96%, 1600px);
    padding: 24px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
}

.p-works-child-intro-content__title {
    font-size: clamp(1.125rem, 0.857rem + 1.14vw, 2rem);
    font-weight: bold;
    letter-spacing: 0.05em;
    line-height: 1.2;
}

.p-works-child-intro-content__text {
    font-size: clamp(0.875rem, 0.722rem + 0.65vw, 1.375rem);
    font-weight: bold;
    letter-spacing: 0.02em;
    margin-top: 24px;
    text-align: center;
}

.p-works-child-wrapper {
    margin-top: 200px;
    margin-bottom: 160px;
}

@media (width <= 1024px) {
    .p-works-child-intro {
        height: 256px;
    }
    .p-works-child-intro-content {
        top: 160px;
    }
    .p-works__layout {
        flex-direction: column;
        gap: 64px;
    }
    .p-works__sidebar {
        width: 100%;
    }
}
.p-contact-section {
    background-color: #1e293b;
    color: #ffffff;
    padding: 80px 0;
    border-bottom: 1px solid #f0f4f7;
}
.p-contact-section__inner {
    display: flex;
    gap: 80px;
    align-items: flex-start;
    margin: 0 auto;
}
@media (width <= 1024px) {
    .p-contact-section__inner {
        flex-direction: column;
        gap: 64px;
        align-items: stretch;
    }
}
.p-contact-section__left {
    flex: 1;
    align-self: flex-start;
    min-width: 0;
}
@media (width <= 1024px) {
    .p-contact-section__left {
        width: 100%;
        max-width: 100%;
        align-self: stretch;
    }
}
@media (width >= 1025px) {
    .p-contact-section__left {
        position: sticky;
        top: 88px;
    }
}
.p-contact-section__right {
    flex: 1.2;
    width: 100%;
    min-width: 0;
}
.p-contact-section__title {
    font-size: clamp(1.25rem, 1rem + 1.25vw, 1.75rem);
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
}
.p-contact-section__title i {
    font-size: 1.2em;
}
.p-contact-section__title img {
    max-width: 100%;
    height: auto;
    display: block;
}
.p-contact-section__text {
    font-size: 0.875rem;
    line-height: 1.8;
    margin-bottom: 48px;
}
.p-contact-section__tel-box {
    background-color: #ffd700;
    color: #1e293b;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    margin-top: 64px;
}
.p-contact-section__tel-label {
    font-size: clamp(1rem, 0.847rem + 0.65vw, 1.5rem);
    font-weight: bold;
    margin-bottom: 16px;
}
.p-contact-section__tel-link {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    max-width: 100%;
    font-size: clamp(1.5rem, 1.347rem + 0.65vw, 2rem);
    font-weight: bold;
    color: #1e293b;
    text-decoration: none;
    line-height: 1;
}
.p-contact-section__tel-link i {
    font-size: 0.8em;
}

.p-contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.p-contact-form__item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.p-contact-form__label {
    font-size: 0.875rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 12px;
}
.p-contact-form .c-badge--required {
    background-color: #e50014;
    color: #ffffff;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: bold;
}
.p-contact-form__input,
.p-contact-form__textarea {
    width: 100%;
    background-color: #ffffff;
    border: none;
    border-radius: 4px;
    padding: 12px 16px;
    font-size: 1rem;
    color: #333333;
}
.p-contact-form__input::placeholder,
.p-contact-form__textarea::placeholder {
    color: #c3c3c3;
}
.p-contact-form__input:focus,
.p-contact-form__textarea:focus {
    outline: 2px solid #00d1ff;
}
.p-contact-form__textarea {
    height: 160px;
    resize: vertical;
}
.p-contact-form__cert-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 8px;
}
.p-contact-form__cert-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.p-contact-form__cert-item label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    cursor: pointer;
}
.p-contact-form__cert-item label input[type="checkbox"] {
    -webkit-appearance: auto;
    appearance: auto;
    width: 16px;
    height: 16px;
    cursor: pointer;
}
.p-contact-form__input--short {
    width: 160px;
    text-align: center;
}
@media (width <= 768px) {
    .p-contact-form__input--short {
        width: 120px;
    }
}
.p-contact-form__privacy-box {
    background-color: #f5f5f5;
    color: #333333;
    padding: 24px;
    font-size: 0.75rem;
    line-height: 1.6;
    margin-top: 16px;
    height: 240px;
    overflow-y: auto;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
}
.p-contact-form__privacy-box::-webkit-scrollbar {
    width: 8px;
}
.p-contact-form__privacy-box::-webkit-scrollbar-track {
    background: #e0e0e0;
    border-radius: 4px;
}
.p-contact-form__privacy-box::-webkit-scrollbar-thumb {
    background: #a5a5a5;
    border-radius: 4px;
}
.p-contact-form__privacy-box h3 {
    font-size: 0.875rem;
    font-weight: bold;
    margin-bottom: 10px;
    margin-top: 20px;
}
.p-contact-form__privacy-box h3:first-child {
    margin-top: 0;
}
.p-contact-form__privacy-box h4 {
    font-size: 0.8125rem;
    font-weight: bold;
    margin-bottom: 10px;
    margin-top: 20px;
}
.p-contact-form__privacy-box h4:first-child {
    margin-top: 0;
}
.p-contact-form__privacy-box p {
    margin-bottom: 12px;
}
.p-contact-form__privacy-box p:last-child {
    margin-bottom: 0;
}
.p-contact-form__privacy-box ul,
.p-contact-form__privacy-box ol {
    margin-bottom: 12px;
    padding-left: 20px;
    font-size: inherit;
}
.p-contact-form__privacy-box ul li,
.p-contact-form__privacy-box ol li {
    margin-bottom: 6px;
}
.p-contact-form__privacy-box dl {
    font-size: inherit;
}
.p-contact-form__privacy-box dl dt {
    font-size: inherit;
    font-weight: bold;
}
.p-contact-form__privacy-box dl dd {
    font-size: inherit;
}
.p-contact-form__privacy-box .l-section {
    margin-top: 20px;
}
.p-contact-form__agree {
    margin-top: 8px;
}
.p-contact-form__agree label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: bold;
    line-height: 1.5;
}
.p-contact-form__agree label input[type="checkbox"] {
    -webkit-appearance: auto;
    appearance: auto;
    width: 20px;
    height: 20px;
    cursor: pointer;
}
.p-contact-form__submit {
    display: flex;
    justify-content: center;
}
.p-contact-form__submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: min(100%, 340px);
    height: 64px;
    padding: 0.5em;
    text-align: center;
    color: #1e293b;
    background-color: #00d1ff;
    border: 2px solid #1e293b;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s cubic-bezier(0.45, 0, 0.55, 1);
    letter-spacing: 0.05em;
    cursor: pointer;
}
.p-contact-form__submit-btn i {
    transition: transform 0.3s cubic-bezier(0.45, 0, 0.55, 1);
}
.p-contact-form__submit-btn:hover,
.p-contact-form__submit-btn:focus-visible {
    background-color: #1e293b;
    color: #ffffff;
    border-color: #ffffff;
}
.p-contact-form__submit-btn:hover i,
.p-contact-form__submit-btn:focus-visible i {
    transform: translateX(4px);
}
@media (width <= 768px) {
    .p-contact-form__submit-btn {
        height: 48px;
        font-size: 0.8em;
    }
}

/* Contact Form 7（業務お問い合わせ・採用エントリー・html_class: wpcf7-kato-theme） */
.p-contact-section__right .wpcf7 {
    color: #ffffff;
}

form.p-contact-form.wpcf7-kato-theme {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin: 0;
}

form.p-contact-form.wpcf7-kato-theme fieldset.hidden-fields-container {
    border: none;
    margin: 0;
    padding: 0;
    min-width: 0;
}

/* autop 有効時の残骸: div.item > p > label */
form.p-contact-form.wpcf7-kato-theme .p-contact-form__item > p {
    margin: 0;
}

form.p-contact-form.wpcf7-kato-theme
    .p-contact-form__item
    label.p-contact-form__label
    br {
    display: none;
}

form.p-contact-form.wpcf7-kato-theme
    .p-contact-form__item
    label.p-contact-form__label
    .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
    margin-top: 8px;
}

/* 静的サイトと同じ: label を閉じてから [text]（.wpcf7-form-control-wrap が label の兄弟） */
form.p-contact-form.wpcf7-kato-theme
    .p-contact-form__item
    > .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
    margin-top: 8px;
}

form.p-contact-form.wpcf7-kato-theme .p-contact-form__agree {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 24px;
}

form.p-contact-form.wpcf7-kato-theme .p-contact-form__agree > p:not(:has(*)) {
    display: none;
    margin: 0;
    padding: 0;
    height: 0;
    overflow: hidden;
}

form.p-contact-form.wpcf7-kato-theme
    .p-contact-form__agree
    > p:has(.wpcf7-form-control-wrap) {
    margin: 0;
}

form.p-contact-form.wpcf7-kato-theme .p-contact-form__submit > p {
    margin: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 0.5rem;
}

/* has-spinner はラッパーに付与。CF7 はラッパー直後にスピナーを挿入（ボタン内には入らない） */
form.p-contact-form.wpcf7-kato-theme .p-contact-form__submit-inner.has-spinner {
    display: inline-flex;
    box-sizing: border-box;
    width: min(100%, 340px);
    flex: 0 0 auto;
}

form.p-contact-form.wpcf7-kato-theme
    .p-contact-form__submit-inner
    .wpcf7-submit {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    max-width: none;
}

form.p-contact-form.wpcf7-kato-theme .p-contact-form__submit .wpcf7-spinner {
    margin: 0 !important;
    flex-shrink: 0;
    vertical-align: middle;
}

/* <button> 送信（Font Awesome 矢印つき）— appearance リセットで消えるため静的サイトと同じ padding を明示 */
form.p-contact-form.wpcf7-kato-theme
    button.p-contact-form__submit-btn.wpcf7-submit {
    font-family: inherit;
    -webkit-appearance: none;
    appearance: none;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    padding: 0.5em;
}

/* 同意未チェック時は CF7 が disabled にする — ホバー／フォーカス見た目は通常状態のまま */
form.p-contact-form.wpcf7-kato-theme
    button.p-contact-form__submit-btn.wpcf7-submit:disabled {
    cursor: not-allowed;
    opacity: 0.65;
}

form.p-contact-form.wpcf7-kato-theme
    button.p-contact-form__submit-btn.wpcf7-submit:disabled:hover,
form.p-contact-form.wpcf7-kato-theme
    button.p-contact-form__submit-btn.wpcf7-submit:disabled:focus-visible {
    background-color: #00d1ff;
    color: #1e293b;
    border-color: #1e293b;
    opacity: 0.65;
}

form.p-contact-form.wpcf7-kato-theme
    button.p-contact-form__submit-btn.wpcf7-submit:disabled:hover
    i,
form.p-contact-form.wpcf7-kato-theme
    button.p-contact-form__submit-btn.wpcf7-submit:disabled:focus-visible
    i {
    transform: none;
}

/* 採用（.p-contact-section--pop）は通常時が黄色のため、未同意 disabled でも黄色のまま固定 */
.p-contact-section--pop
    form.p-contact-form.wpcf7-kato-theme
    button.p-contact-form__submit-btn.wpcf7-submit:disabled:hover,
.p-contact-section--pop
    form.p-contact-form.wpcf7-kato-theme
    button.p-contact-form__submit-btn.wpcf7-submit:disabled:focus-visible {
    background-color: #ffd700;
    color: #1e293b;
    border-color: #1e293b;
}

form.p-contact-form.wpcf7-kato-theme .p-contact-form__submit-text {
    display: inline;
}

form.p-contact-form.wpcf7-kato-theme .p-contact-form__label,
form.p-contact-form.wpcf7-kato-theme .wpcf7-list-item-label {
    color: #ffffff;
}

form.p-contact-form.wpcf7-kato-theme .p-contact-form__privacy-box {
    color: #333333;
}

/* プライバシー直下の同意欄（静的サイト .p-contact-form__agree の margin-top: 8px に相当） */
form.p-contact-form.wpcf7-kato-theme
    .p-contact-form__privacy-box
    ~ .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
    margin-top: 8px;
}

.p-contact-form .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}
.p-contact-form .wpcf7-not-valid-tip {
    display: block;
    margin-top: 6px;
    font-size: 0.8125rem;
    color: #e50014;
    font-weight: bold;
}
.p-contact-form .wpcf7-response-output {
    margin: 16px 0 0;
    padding: 12px 16px;
    border-radius: 4px;
    font-size: 0.875rem;
}
form.p-contact-form.wpcf7-kato-theme .wpcf7-response-output {
    color: #333333;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
}
.p-contact-form .wpcf7-spinner {
    margin-left: 8px;
    vertical-align: middle;
}
.p-contact-form .wpcf7-acceptance .wpcf7-list-item {
    margin: 0;
}
.p-contact-form .wpcf7-acceptance .wpcf7-list-item label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: bold;
    line-height: 1.5;
}
.p-contact-form .wpcf7-acceptance input[type="checkbox"] {
    -webkit-appearance: auto;
    appearance: auto;
    width: 20px;
    height: 20px;
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 2px;
}
.p-contact-form input.p-contact-form__submit-btn.wpcf7-submit,
.p-contact-form button.p-contact-form__submit-btn.wpcf7-submit {
    font-family: inherit;
    -webkit-appearance: none;
    appearance: none;
    box-sizing: border-box;
    max-width: 100%;
}
.p-contact-form__cf7-notice {
    margin: 0;
    padding: 16px;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #333333;
    background-color: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
}

@keyframes u-text-underline-arrow-rotate {
    0% {
        transform: translateY(0) rotateX(0deg);
    }
    12.5% {
        transform: translateY(-50%) rotateX(-45deg);
    }
    25% {
        transform: translateY(-100%) rotateX(-90deg);
    }
    37.5% {
        transform: translateY(-100%) rotateX(-135deg);
    }
    50% {
        transform: translateY(-100%) rotateX(-180deg);
    }
    62.5% {
        transform: translateY(-50%) rotateX(-225deg);
    }
    75% {
        transform: translateY(0) rotateX(-270deg);
    }
    87.5% {
        transform: translateY(0) rotateX(-315deg);
    }
    100% {
        transform: translateY(0) rotateX(-360deg);
    }
}
.u-text-underline-arrow {
    display: inline-block;
    position: relative;
    padding-right: 1.6em;
    font-size: clamp(0.8rem, 0.458rem + 1.48vw, 1rem);
    font-weight: 400;
    color: inherit;
    /* 奥行きを深めにして、回転時の文字の歪みを防ぐ */
    perspective: 1000px;
    /* ホバー時：全体を「真上に100%」スライドさせる */
    /* --- 矢印（維持） --- */
}
.u-text-underline-arrow__inner {
    display: inline-flex;
    overflow: hidden;
    /* ここで上下の余分な文字を隠す */
    vertical-align: bottom;
    height: 1.6em;
    /* 1文字分の高さに固定 */
    /* 表面：初期位置 */
    /* 裏面：表面の「真下」にぴったり配置 */
}
.u-text-underline-arrow__inner .char-unit {
    display: inline-block;
    position: relative;
    height: 100%;
    transform-style: preserve-3d;
    /* 0.5sで「スッ」と動く速度に調整 */
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: calc(var(--char-index) * 0.03s);
}
.u-text-underline-arrow__inner .char-front,
.u-text-underline-arrow__inner .char-back {
    display: flex;
    align-items: center;
    height: 1.6em;
    line-height: 1.6;
    backface-visibility: hidden;
    white-space: pre;
}
.u-text-underline-arrow__inner .char-front {
    position: relative;
}
.u-text-underline-arrow__inner .char-back {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    color: currentColor;
    /* ここが重要：最初は回転させず、ただ下に置いておく */
    transform: rotateX(0deg);
}
.u-text-underline-arrow:hover .u-text-underline-arrow__inner .char-unit {
    /* 上に1文字分上げることで、下にいた裏面がちょうど枠内に入る */
    transform: translateY(-100%);
}
.u-text-underline-arrow::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background-color: currentColor;
    transition: width 0.3s ease;
}
.u-text-underline-arrow::after {
    content: "";
    position: absolute;
    left: 100%;
    bottom: 0;
    width: 16px;
    height: 1px;
    background-color: currentColor;
    transform: rotate(-135deg);
    transform-origin: left center;
    transition: left 0.3s ease;
}
.u-text-underline-arrow:hover::before {
    width: 110%;
}
.u-text-underline-arrow:hover::after {
    left: 110%;
}

.u-large-text {
    font-size: clamp(1.125rem, 0.934rem + 0.82vw, 1.75rem);
}

.u-main-text {
    font-size: clamp(0.875rem, 0.722rem + 0.65vw, 1.375rem);
}

.u-small-text {
    font-size: clamp(0.75rem, 0.63rem + 0.51vw, 0.875rem);
}

.u-white-text {
    color: #ffffff;
}

.u-bold-text {
    font-weight: bold;
}

.u-justify-text {
    text-align: justify;
}

.u-nowrap-text {
    white-space: nowrap;
}

.u-link-text {
    text-decoration: underline;
    color: #0000ff;
    transition: all 0.3s;
}
.u-link-text:hover {
    text-decoration: none;
    opacity: 0.6;
}

.u-letter-spacing-05 {
    letter-spacing: 0.05em;
}

.u-center-text {
    text-align: center;
}

.card {
    transition: transform 0.6s;
    transform-style: preserve-3d;
    /* 3Dっぽさを出すおまじない */
}

.card:hover {
    transform: rotateX(180deg);
    /* マウスホバーでX軸に180度回転 */
}

/* 外枠の設定 */
.flip-container {
    width: 200px;
    height: 50px;
    perspective: 1000px;
    /* 立体感を出すための奥行き */
    font-family: sans-serif;
    font-weight: bold;
}

/* 回転する中身 */
.flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    /* スロットらしい動き */
    transform-style: preserve-3d;
    transform-origin: center bottom;
    /* 下端を軸に回転 */
}

/* ホバー時に回転 */
.flip-container:hover .flip-inner {
    transform: translateY(-100%) rotateX(-90deg);
}

/* 前面と背面の共通設定 */
.flip-front,
.flip-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

/* 前面（初期状態） */
.flip-front {
    background-color: #333;
    z-index: 2;
}

/* 背面（下側に隠しておく） */
.flip-back {
    background-color: #ff3e00;
    transform: rotateX(90deg);
    transform-origin: center top;
    top: 100%;
    /* 親要素のすぐ下に配置 */
}

.u-text-color-accent {
    color: #00bfa5;
}

.u-text-color-white {
    color: #ffffff;
}

.u-mb8 {
    margin-bottom: 8px;
}

.u-mb16 {
    margin-bottom: 16px;
}

.u-mb24 {
    margin-bottom: 24px;
}

.u-mb32 {
    margin-bottom: 32px;
}

.u-mb40 {
    margin-bottom: 40px;
}

.u-mb64 {
    margin-bottom: 64px;
}

.u-mb80 {
    margin-bottom: 80px;
}

.u-mb160 {
    margin-bottom: 160px;
}

.u-mt8 {
    margin-top: 8px;
}

.u-mt16 {
    margin-top: 16px;
}

.u-mt24 {
    margin-top: 24px;
}

.u-mt32 {
    margin-top: 32px;
}

.u-mt40 {
    margin-top: 40px;
}

.u-mt64 {
    margin-top: 64px;
}

.u-mt80 {
    margin-top: 80px;
}

.u-mt160 {
    margin-top: 160px;
}

.u-mr8 {
    margin-right: 8px;
}

.u-mr16 {
    margin-right: 16px;
}

.u-mr24 {
    margin-right: 24px;
}

.u-mr32 {
    margin-right: 32px;
}

.u-mr40 {
    margin-right: 40px;
}

.u-mr48 {
    margin-right: 48px;
}

.u-mr64 {
    margin-right: 64px;
}

.u-mr80 {
    margin-right: 80px;
}

.u-mr160 {
    margin-right: 160px;
}

.u-ml8 {
    margin-left: 8px;
}

.u-ml16 {
    margin-left: 16px;
}

.u-ml24 {
    margin-left: 24px;
}

.u-ml32 {
    margin-left: 32px;
}

.u-ml40 {
    margin-left: 40px;
}

.u-ml64 {
    margin-left: 64px;
}

.u-ml80 {
    margin-left: 80px;
}

.u-ml160 {
    margin-left: 160px;
}

.u-pb8 {
    padding-bottom: 8px;
}

.u-pb16 {
    padding-bottom: 16px;
}

.u-pb24 {
    padding-bottom: 24px;
}

.u-pb32 {
    padding-bottom: 32px;
}

.u-pb40 {
    padding-bottom: 40px;
}

.u-pb80 {
    padding-bottom: 80px;
}

.u-pb160 {
    padding-bottom: 160px;
}

.u-pt8 {
    padding-top: 8px;
}

.u-pt16 {
    padding-top: 16px;
}

.u-pt24 {
    padding-top: 24px;
}

.u-pt32 {
    padding-top: 32px;
}

.u-pt40 {
    padding-top: 40px;
}

.u-pt64 {
    padding-top: 64px;
}

.u-pt80 {
    padding-top: 80px;
}

.u-pt160 {
    padding-top: 160px;
}

.u-pr8 {
    padding-right: 8px;
}

.u-pr16 {
    padding-right: 16px;
}

.u-pr24 {
    padding-right: 24px;
}

.u-pr32 {
    padding-right: 32px;
}

.u-pr40 {
    padding-right: 40px;
}

.u-pr80 {
    padding-right: 80px;
}

.u-pr160 {
    padding-right: 160px;
}

.u-pl8 {
    padding-left: 8px;
}

.u-pl16 {
    padding-left: 16px;
}

.u-pl24 {
    padding-left: 24px;
}

.u-pl32 {
    padding-left: 32px;
}

.u-pl40 {
    padding-left: 40px;
}

.u-pl80 {
    padding-left: 80px;
}

.u-pl160 {
    padding-left: 160px;
}

/* ベース = モバイルで非表示、1024px以上で表示 */
.u-pc-only {
    display: none;
}
@media (width >= 1025px) {
    .u-pc-only {
        display: block;
    }
}

/* ベース = モバイルで表示、1024px以上で非表示 */
.u-sp-only {
    display: block;
}
@media (width >= 1025px) {
    .u-sp-only {
        display: none;
    }
}

.u-reveal-bottom {
    overflow: hidden;
    display: flex;
    min-height: 0;
}

.u-reveal-bottom__inner {
    display: block;
    transform: translateY(calc(100% + 4px));
    opacity: 0;
    clip-path: inset(100% 0 0 0);
    transition:
        transform 0.4s ease-out,
        opacity 0.4s ease-out,
        clip-path 0.4s ease-out;
}
.is-visible .u-reveal-bottom__inner {
    transform: translateY(0);
    opacity: 1;
    clip-path: inset(0 0 0 0);
}

.u-reveal-left {
    position: relative;
    display: block;
    min-height: 0;
}
.u-reveal-left::before {
    content: "";
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    z-index: 1;
    pointer-events: none;
    transform: translateX(0);
    transition: transform 0.7s ease-out;
}
.u-reveal-left.is-visible::before {
    transform: translateX(100%);
}
.u-reveal-left--main::after {
    content: "";
    position: absolute;
    inset: 0;
    top: -1px;
    width: 100%;
    height: 105%;
    background-color: #ffffff;
    z-index: 2;
    pointer-events: none;
    transform: translateX(0);
    transition: transform 0.5s;
}
.u-reveal-left--main.is-visible::after {
    transform: translateX(100%);
}
.u-reveal-left--main::before {
    background-color: #00d1ff;
    transition: transform 0.7s ease-out 0.4s;
}

.u-reveal-left__inner {
    display: block;
    position: relative;
    z-index: 0;
}

.u-slide-in-from-left {
    overflow: hidden;
}
.u-slide-in-from-left__inner {
    transform: translateX(-100vw);
    transition: transform 0.75s ease-out;
}
.u-slide-in-from-left.is-visible .u-slide-in-from-left__inner {
    transform: translateX(0);
}

@media (prefers-reduced-motion: reduce) {
    .u-slide-in-from-left__inner {
        transform: none;
        transition: none;
    }
}
.u-visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/**
 * object.scssここまで
 */
