/* ==================================================
    Base / Reset
================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    position: relative;
    font-family: "M PLUS 1p", sans-serif;
    font-size: 1rem; /* =16px */
    line-height: 1.6;
    letter-spacing: 0.03em;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease,
        opacity 0.2s ease,
        transform 0.2s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    border: none;
    background: none;
    padding: 0;
    margin: 0;
    font: inherit;
    color: inherit;
    cursor: pointer;
    outline: none;
}

table {
    border-collapse: collapse;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

p {
    margin: 0 0 1em;
}





/* ==================================================
    Theme (kawaden)
================================================== */

body {
    color: #333;
    background: linear-gradient(135deg,
            rgba(225, 245, 255, 0.5) 0%,
            rgba(245, 245, 255, 0.5) 19%,
            rgba(240, 245, 255, 0.5) 40%,
            rgba(255, 255, 255, 0.5) 70%,
            rgba(255, 255, 255, 0.5) 100%);
}

body::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    border-left: 15px solid #003893;
    /*z-index: 1;*/
}

body::after {
    content: "";
    position: absolute;
    left: 14px;
    top: 0;
    height: 100%;
    border-left: 4px solid #de5526;
    z-index: -1;
}


/* ==================================================
    Layout
================================================== */

.l-main {
    padding-top: 80px;
    padding-bottom: 80px;
}

.l-inner {
    width: min(1240px, calc(100% - 40px));
    margin: 0 auto;
    padding-left: 18px;
}

@media(min-width: 600px) {
    .l-inner {
        width: min(1240px, calc(100% - 80px));
        padding-left: unset;
    }
}

/* ------------------------------
    Header
------------------------------ */
.l-header {
    position: fixed;
    top: 0;
    z-index: 100;
    width: 100%;
}

.l-header__bar {
    width: 96%;
    background-color: #ffffffc4;
    backdrop-filter: blur(3px);
    margin: 10px auto;
    box-shadow: 1px 1px 10px 0 #54545414;
}

.l-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5%;
    padding: 12px 20px;
}

/* ロゴ */
.l-header__logo {
    width: 80%;
    max-width: 300px;
}
.l-header__logo h1,
.l-header__logo p{
	margin:0;
}

/* ---- グローバルナビ ---- */
.l-header__nav,
.l-header__nav .sns,
.l-header__nav .contact {
    display: none;
}

/* ---- SPナビ ---- */
.l-header__toggle,
.l-header__toggle span {
    transition: all .5s;
    box-sizing: border-box;
}

.l-header__toggle {
    position: relative;
    width: 100%;
    max-width: 30px;
    height: 22px;
    cursor: pointer;
    z-index: 9999;
}

.l-header__toggle span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #003893;
    border-radius: 4px;
}

.l-header__toggle span:nth-of-type(1) {
    top: 0;
}

.l-header__toggle span:nth-of-type(2) {
    top: 9px;
}

.l-header__toggle span:nth-of-type(3) {
    bottom: 0;
}

.l-header__toggle.active span {
    background-color: #fff;
}

.l-header__toggle.active span:nth-of-type(1) {
    -webkit-transform: translateY(10px) rotate(-45deg);
    transform: translateY(10px) rotate(-45deg);
}

.l-header__toggle.active span:nth-of-type(2) {
    opacity: 0;
}

.l-header__toggle.active span:nth-of-type(3) {
    -webkit-transform: translateY(-8px) rotate(45deg);
    transform: translateY(-8px) rotate(45deg);
}

/* ---- SP ドロワーナビ ---- */
.l-header__drawer {
    display: none;
    position: fixed;
    top: 0;
    left: 0px;
    right: 0px;
    bottom: 0px;
    z-index: 9998;
    overflow-y: auto;
    background-color: rgb(0 56 147 / 90%);
    height: 100vh;
}

.p-drawer-nav {
    max-width: 300px;
    margin: 12% auto 5%
}

.p-drawer-nav a {
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 15px;
}

.p-drawer-nav a::before {
    content: "\25B6";
    font-size: 0.8rem;
    margin-right: 10px;
}

.p-drawer-nav .sub-menu {
    margin-left: 15px;
    margin-bottom: 20px;
}

.p-drawer-nav .sub-menu a {
    font-size: 0.9rem;
    font-weight: 400;
    padding-bottom: 10px;
    margin-bottom: 0;
    color: #b5e8ff;
}

.p-drawer-nav .sub-menu a::before {
    content: "";
}

/* ---- SP ドロワーSNS ---- */
.l-header__drawer .drawer-under {
    background-color: #ffffffe0;
    padding: 10px 15px;
    max-width: 300px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.l-header__drawer .drawer-under .sns img {
    max-height: 26px;
    max-width: unset;
}


@media(min-width: 600px) {
    .l-header__nav {
        display: flex;
    }

    .p-global__nav li.menu-item-has-children {
        position: relative;
    }

    .p-global__nav {
        display: flex;
        gap: 15px;
        font-size: 0.95rem;
    }

    .p-global__nav li {
        position: relative;
        white-space: nowrap;
    }

    .p-global__nav li a {
        display: inline-block;
        padding: 5px 10px;
        font-weight: 600;
    }

    .p-global__nav li a:hover {
        background: linear-gradient(30deg, #006bfd 0%, #00edff 100%);
        color: #fff;
        transition: 0.3s;
    }

    .p-global__nav .sub-menu {
        position: absolute;
        top: 35px;
        left: 0;
        overflow: hidden;
        width: 200px;
        height: 0;
        transition: .5s;
        /*transform: translateY(-3%);*/
        opacity: 0;
    }

    .p-global__nav li:hover .sub-menu {
        height: auto;
        transform: translateY(0);
        opacity: 1;
    }

    .p-global__nav .sub-menu li {
        display: block;
        margin-left: 0;
        padding: 0;
        border-bottom: 1px solid #ddd;
        background-color: rgb(255 255 255 / 90%);
    }

    .p-global__nav .sub-menu li a {
        padding: .8em 1em;
        width: 100%;
    }
}

@media(min-width: 835px) {
    .l-header__toggle {
        display: none;
        /* SPナビ非表示 */
    }

    .l-header__nav .sns {
        display: block;
        overflow-x: hidden;
        margin-left: 15px;
    }

    .l-header__nav .sns.youtube {
        width: 31px;
    }

    .l-header__nav .sns.insta {
        width: 30px;
    }

    .l-header__nav .sns img {
        max-height: 26px;
        max-width: unset;
    }

    .l-header__nav a.contact {
        display: block;
        background-color: #003893;
        color: #fff;
        padding: 4px 30px 1px 15px;
        clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
        margin-left: 20px;
        font-weight: 500;
        letter-spacing: 0.05em;
        white-space: nowrap;
    }

    .l-header__nav a.contact:hover {
        background: linear-gradient(30deg, #006bfd 0%, #00edff 100%);
        transition: 0.5s;
    }
}

@media(min-width: 1200px) {
    .p-global__nav {
        gap: 32px;
    }

    .l-header__nav .sns {
        margin-left: 20px;
    }

    .l-header__nav .sns.youtube,
    .l-header__nav .sns.insta {
        width: unset;
    }

    .l-header__nav a.contact {
        margin-left: 30px;
    }
}


/* ------------------------------
    Footer
------------------------------ */
.l-footer {
    font-size: clamp(0.9rem, 2vw, 1rem);
    margin-top: 80px;
    overflow: hidden;
}

.l-footer__main {
    display: grid;
    grid-template: "right" "left" / 100%;
    gap: 0 5px;
    color: #fff;
    background: linear-gradient(30deg, #003893 0%, #003893 20%, #0055bf 100%);
    z-index: 1;
}

/* 左側 */
.l-footer__left {
    grid-area: left;
}
.l-footer__left a:hover{
	opacity:.9;
}
.l-footer__info {
    position: relative;
    flex: 0 0 40%;
    margin: 50px auto;
    max-width: 300px;
}

.l-footer__logo {
    display: none;
}

a.l-footer__name {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
}

.l-footer__addr {
    margin-bottom: 2rem;
    line-height: 1.8;
}

.l-footer__sns {
    display: flex;
    gap: 14px;
    font-size: 0;
}

.l-footer__sns li a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 36px;
}

/* 右側 */
.l-footer__right {
    grid-area: right;
}

.l-footer__nav {
    display: grid;
    grid-template-columns: minmax(140px, 1fr) minmax(200px, 2fr);
    gap: 5px;
    font-size: clamp(0.7rem, 1vw + 0.5rem, 0.9rem);
    max-width: 300px;
    margin: 50px auto 0;
}

.l-footer__nav-group .ttl {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.8rem;
}

.l-footer__nav-group .ttl::before {
    content: "\25B6";
    font-size: 0.8em;
    margin-right: 0.4em;
}

.l-footer__nav-group .ttl a:hover {
    transform: translateX(3px);
}

.l-footer__nav-group ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.l-footer__nav-group li {
    margin-left: 19px;
}

.l-footer__nav-group li+li {
    margin-top: 0.4rem;
}

.l-footer__nav-group li a {
    text-decoration: none;
    color: #b5e8ff;
}

.l-footer__nav-group li a:hover {
    color: #ffffff;
}

/* コピーライト */
.l-footer__copy {
    text-align: center;
    font-size: clamp(.7em, 2.5vw, .9rem);
    padding: 20px;
    margin: 0;
    color: #999999;
}

@media (min-width: 768px) {
    .l-footer__main {
        grid-template: "left right" / 580px auto;
        transform: skew(-27deg);
        --h: 450px;
        width: calc(100% + (var(--h) * tan(27deg)) * 2);
        height: var(--h);
        margin-left: calc((var(--h) * tan(27deg)) * -1);
        background: unset;
        overflow: hidden;
    }

    .l-footer__left {
        background: linear-gradient(30deg, #003893 0%, #003893 20%, #0055bf 100%);
        margin-bottom: 50px;
    }

    .l-footer__info {
        transform: skew(27deg);
        position: relative;
        flex: 0 0 40%;
        max-width: 300px;
        margin: 50px 40px 0 auto;
        right: 0;
    }

    .l-footer__logo {
        display: block;
        margin-bottom: 1.2rem;
        max-width: 400px;
    }

    a.l-footer__name {
        display: none;
    }

    .l-footer__right {
        background: linear-gradient(30deg, #003c99 0%, #007ffe 100%);
        margin-top: 50px;
    }

    .l-footer__nav {
        gap: 20px;
        transform: skew(27deg);
        max-width: 440px;
    }
}

@media (min-width: 961px) {
    .l-footer__right {
        margin-right: 100px;
    }

    .l-footer__nav {
        grid-template-columns: repeat(4, minmax(0, auto));
        width: 70%;
        max-width: 700px;
        margin: 100px auto;
        gap: 2%;
    }
}

@media (min-width: 1100px) {
    .l-footer__main {
        grid-template: "left right" / 40% 60%;
    }

    .l-footer__info {
        transform: skew(27deg);
        position: relative;
        flex: 0 0 40%;
        margin: 90px 10% 0 auto;
    }

    .l-footer__nav-group li {
        margin-left: 30px;
    }
}

@media (min-width: 1281px) {
    .l-footer__info {
        max-width: 400px;
        margin: 90px 5% 0 auto;
    }
}

@media (min-width: 1500px) {
    .l-footer__info {
        margin: 90px 15% 0 auto;
    }

    .l-footer__nav {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        max-width: 800px;
        gap: 40px;
    }
}

@media (min-width: 1921px) {
    .l-footer__main {
        grid-template: "left right" / 35% 65%;
    }
}

/* ---- スマホ用 フッターアコーディオン ^^^^ */
@media (max-width: 767px) {

    .l-footer__nav {
        grid-template-columns: 1fr;
    }

    .l-footer__nav-group {
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        padding: 5px;
    }

    .l-footer__nav-group .ttl {
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        margin: 0;
    }

    .l-footer__nav-group .ttl::before {
        content: none;
    }

    .l-footer__nav-group .ttl::after {
        content: "+";
        font-size: 1.2rem;
        transition: transform 0.3s;
    }

    .l-footer__nav-group.is-open .ttl::after {
        content: "−";
    }

    .l-footer__nav-group ul {
        display: none;
        margin-top: 10px;
    }

    .l-footer__nav-group li {
        margin-left: 0;
        padding-left: 10px;
    }
}




/* ==================================================
    Component / Common
================================================== */

/* ---- Title ---- */
.p-front__content h2,
.p-page__content h2 {
    display: flex;
    align-items: center;
}

.p-front__content h2 p,
.p-page__content h2 p {
    margin: 0;
}

.p-front__content h2 .ja,
.p-page__content h2 .ja {
    position: relative;
    background-color: #003893;
    color: #fff;
    font-size: 1.1em;
    line-height: 1em;
    padding: 7px 0 8px 15px;
}

.p-front__content h2 .ja::after,
.p-page__content h2 .ja::after {
    content: "";
    position: absolute;
    right: -20px;
    top: 0;
    width: 40px;
    height: 100%;
    background: inherit;
    transform: skewX(-20deg);
    z-index: -1;
}

.p-front__content h2 .en,
.p-page__content h2 .en {
    color: #003893;
    font-size: .7em;
    margin-left: 40px;
}

@media(min-width: 600px) {

    .p-front__content h2 .ja,
    .p-page__content h2 .ja {
        font-size: 1.6em;
    }

    .p-front__content h2 .en,
    .p-page__content h2 .en {
        font-size: .85em;
    }
}


/* ---- table ---- */


.wp-block-table td,
.wp-block-table th {
    border-left: unset;
    border-right: unset;
    padding: 1.2em 1em;
}




/* ==================================================
    Page : Home
================================================== */

/* ---- ビジュアル ---- */
.p-front-visual {
    position: relative;
    background-image: url(../images/main-visual_sp.webp);
    background-size: cover;
    background-position: bottom;
    height: calc(100vw + 80px);
    /* スマホでは正方形＋80px */
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12vw), 0 100%);
}

@media (min-width: 768px) {
    .p-front-visual {
        background-image: url(../images/main-visual_pc.webp);
        background-position: right -200px bottom;
        height: 92vw;
        /* タブレットは正方形より若干高さが短く */
    }
}

@media (min-width: 835px) {
    .p-front-visual {
        height: 700px;
        clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10vw), 0 100%);
    }
}

@media (min-width: 1100px) {
    .p-front-visual {
        background-position: right -150px bottom;
    }
}

@media (min-width: 1500px) {
    .p-front-visual {
        background-position: center;
    }
}

@media (min-width: 1921px) {
    .p-front-visual {
        height: 70vh;
    }
}

/* キャッチコピー */
.p-front-visual__catch {
    display: flex;
    flex-direction: column;
    max-width: fit-content;
    margin: 0 5%;
    padding-top: 100px;
}

.p-front-visual__catch .catch-line {
    font-size: clamp(20px, 5vw, 50px);
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1em;
    color: #0042a5;
    background: #fff;
    width: fit-content;
    margin: 0 0 12px;
    padding: 2px 20px 2px 10px;
    clip-path: polygon(0 0, 100% 0, 94% 100%, 0 100%);
    overflow: hidden;
    opacity: 0;
    transform: translateX(-40px);
    animation: slide-in 0.8s ease-out forwards;
}

.p-front-visual__catch .catch-line:nth-child(2) {
    animation-delay: 0.5s;
}

.p-front-visual__catch .catch-line span {
    display: inline-block;
    opacity: 0;
    transform: translateX(-20px);
    animation: slide-in 0.6s cubic-bezier(.22, .61, .36, 1) forwards;
}

@media (min-width: 768px) {
    .p-front-visual__catch {
        padding-top: 100px;
    }
}

@media (min-width: 1000px) {
    .p-front-visual__catch .catch-line {
        padding: 5px 40px 5px 20px;
    }
}

@media (min-width: 1281px) {
    .p-front-visual__catch {
        max-width: 1240px;
        margin: 0 auto;
        padding-top: 200px;
    }
}

@media (min-width: 1921px) {
    .p-front-visual__catch {
        padding-top: 15vh;
    }

    .p-front-visual__catch .catch-line {
        font-size: 2.5vw;
    }
}



.p-front__content h2 {
    margin-top: 100px;
}


/* ------------------------------
    トップページ　採用情報
------------------------------ */
.home .home-recruit-wrap {
    margin-top: 20px;
    position: relative;
    z-index: 2;
}

.home .home-recruit-wrap h2 {
    margin-top: 0;
}

.front-recruit__bana {
    display: flex;
    position: relative;
    overflow: hidden;
    animation: slideUp 0.8s ease-out .8s forwards;
    opacity: 0;
    max-height: 300px;
    height: 100%;
    max-width: 1200px;
    width: 100%;
    aspect-ratio: 4 / 1;
    align-items: center;
}

.front-recruit__bana::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url(../images/recruit-bana-bg.webp);
    background-size: cover;
    background-position: center;
    transform: scale(1);
    transition: transform .5s ease;
    z-index: 0;
}

a.front-recruit__bana:hover::before {
    transform: scale(1.05);
}

.front-recruit__bana span {
    display: block;
    position: relative;
    z-index: 1;
    font-size: 4.5vw;
    font-weight: 500;
    color: #fff;
    border: 2px solid #fff;
    padding: 8px 20px;
    margin: 20px auto;
    border-radius: 10px;
    width: 80%;
    text-align: center;
    letter-spacing: 0.1em;
	white-space: nowrap;
	height: fit-content;
	background-color: #0809524a;
    filter: drop-shadow(0px 5px 4px rgba(0, 0, 0, 0.6));

    transition: transform .2s, filter .2s;
    transform: translateX(0);
    will-change: transform;
}

a.front-recruit__bana:hover span {
    transform: translateX(2px);
    filter: drop-shadow(0px 2px 2px rgba(0, 0, 0, 0.4));
}

@media(min-width: 999px) {
    .front-recruit__bana {
        align-items: start;
    }

    .front-recruit__bana span {
        position: absolute;
        right: 0;
        font-size: 40px;
		font-weight:600;
		border: 3px solid #fff;
        margin: 20px 20px 0 0;
        width: 55%;
        letter-spacing: 0.2em;
		background-color:#16166a2e;
    }
}

@media(min-width: 1200px) {
    .home .home-recruit-wrap {
        margin-top: -70px;
    }
}

/* ------------------------------
    トップページ　事業内容一覧
------------------------------ */
/* ---- 流れるギャラリー----  */
.loop-gallery {
    width: 100vw;
    margin: 0 calc(50% - 50vw);
    border-bottom: 4px solid #de5526;
    overflow: hidden;
}

.loop-gallery ul {
    animation: loop-gallery 60s linear infinite;
    display: flex;
    width: max-content;
}

.loop-gallery ul li {
    padding: 0 5px;
    width: calc(100vw / 3 - 10px);
    transform: skew(-10deg);
    overflow: hidden;
}

.loop-gallery img {
    width: 120%;
    transform: skew(10deg);
    margin-left: -10%;
    max-width: unset;
}

@keyframes loop-gallery {
    from {
        transform: translateX(0%);
    }

    to {
        transform: translateX(-50%);
    }
}

@media(min-width: 768px) {
    .loop-gallery ul li {
        width: calc(100vw / 4 - 10px);
    }
}

@media(max-width: 500px) {
    .loop-gallery {
        width: 100%;
        margin: 0 auto;
    }
}

/* ---- 事業内容テキスト ---- */
.p-frontService .copy {
    font-size: clamp(1.3rem, 5.8vw, 2rem);
    font-weight: bold;
    margin-top: 50px;
    margin-bottom: 30px;
}

.p-frontService .txt {
    font-size: .95rem;
    margin-bottom: 50px;
}


/* ---- 事業内容下部 ---- */

.p-frontService .service .dtl {
    position: relative;
    margin-bottom: 50px;
    padding-bottom: 6px;
}

.p-frontService .service .dtl a::before {
    content: '';
    position: absolute;
    bottom: 3px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #de5526;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s ease-out;
}

.p-frontService .service .dtl a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100px;
    height: 6px;
    background: #fbfdff;
}

.p-frontService .service .dtl.is-active a::before {
    transform: scaleX(1);
}


.p-frontService .service .dtl .right {
    position: relative;
    padding: 0 2%;
}

.p-frontService .service .dtl h3 {
    color: #003893;
    font-size: 6vw;
    margin: 0;
}

.p-frontService .service .dtl h3 .num {
    font-size: 9vw;
}

.p-frontService .service .dtl p {
    padding-bottom: 15px;
}

.p-frontService .service .dtl .right .more-btn {
    position: absolute;
    bottom: -20px;
    right: 0;
    background-color: #de5526;
    color: #fff;
    padding: 4px 20px 2px 15px;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
    line-height: 1em;
    z-index: 1;
    transform: translateX(0);
    transition:
        transform 0.3s ease 0.4s,
        background-color 0.3s ease 0.6s;
}

.p-frontService .service .dtl .right .more-btn:after {
    content: "\25B6";
    font-size: 0.8em;
    margin-left: 0.4em;
}

.p-frontService .service .dtl a:hover .more-btn {
    transform: translateX(8px);
}

.p-frontService .service .dtl a:hover::before {
    animation: line-draw 0.6s ease-out forwards;
}

@keyframes line-draw {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

@media(min-width: 600px) {
    .p-frontService .service .dtl h3 {
        font-size: clamp(1.3rem, 4.5vw, 2.5rem);
    }

    .p-frontService .service .dtl h3 .num {
        font-size: 1.5em;
    }
}

@media (min-width: 768px) {
    .p-frontService .service .dtl-inner {
        display: flex;
        justify-content: space-between;
    }

    .p-frontService .service .dtl img {
        max-width: 40%;
        height: fit-content;
    }

    .p-frontService .service .dtl .right {
        max-width: 55%;
    }

    .p-frontService .service .dtl .right .more-btn {
        bottom: -3px;
    }
}

@media (min-width: 1200px) {
    .p-frontService .txt {
        font-size: 1rem;
    }

    .p-frontService .service .dtl p {
        font-size: 1.05em;
    }
}





/* ------------------------------
    トップページ　会社情報
------------------------------ */


.p-page--company h1.p-page__title {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.p-front-company__inner {
    color: #fff;
    margin-top: 20px;
}

.p-front-company__thumb {
    width: 90%;
    margin-left: -20px;
    overflow: hidden;
    margin-bottom: -30px;
    transition: .2s;
}

.p-front-company__thumb:hover {
    transform: translate(5px, 5px);
}

.p-front-company__detail {
    padding: 20px 0;
    background: linear-gradient(30deg, #003893 0%, #003893 20%, #007fff 100%);
}

.p-front-company__detail-inner {
    position: relative;
    margin: 8%;
}

.p-front-company__detail table {
    width: 100%;
}

.p-front-company__detail th,
.p-front-company__detail td {
    display: inline-block;
    width: 100%;
    font-size: .95rem;
}

.p-front-company__detail th {
    border-bottom: 1px solid #fff;
    vertical-align: middle;
    text-align: left;
    padding: 5px;
}

.p-front-company__detail td {
    margin: 0;
    padding: 10px 5px;
}

.p-front-company__detail td br.pc {
    display: none;
}

.p-front-company__detail td a.btn {
    margin-left: 10px;
    border: 1px solid #fff;
    padding: 0 10px;
    border-radius: 50px;
    font-size: .8em;
    font-weight: 600;
}

.p-front-company__detail td a.btn:hover {
    background-color: #fff;
    color: #003893;
}

.p-front-company__inner .more-btn {
    position: absolute;
    bottom: -30px;
    right: 0;
    background-color: #fbfbfe;
    color: #003893;
    padding: 4px 20px 1px 15px;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
    line-height: 1em;
    z-index: 2;
    transition: .2s;
}

.p-front-company__inner a.more-btn:after {
    content: "\25B6";
    font-size: 0.8em;
    margin-left: 0.4em;
}

.p-front-company__inner .more-btn:hover {
    color: #006bfd;
    transform: translateX(3px);
}

@media (min-width: 600px) {
    .p-front-company__inner {
        margin-top: 100px;
    }

}

@media (min-width: 835px) {
    .p-front-company__inner {
        background: linear-gradient(30deg, #003893 0%, #003893 20%, #007fff 100%);
        display: flex;
        justify-content: space-between;
    }

    .p-front-company__thumb {
        width: 40%;
        margin-top: -50px;
        margin-bottom: unset;
    }

    .p-front-company__detail {
        width: 65%;
        background: unset;
    }

    .p-front-company__detail table:before {
        content: "";
        position: absolute;
        bottom: 0;
        right: 0;
        width: 100px;
        border: 2px solid #005ecc;
        z-index: 1;
    }

    .p-front-company__detail th,
    .p-front-company__detail td {
        display: table-cell;
        padding: 15px;
        font-size: 1rem;
    }

    .p-front-company__detail tr:first-child td {
        border-top: 1px solid #fff;
    }

    .p-front-company__detail th {
        width: 20%;
        text-align-last: justify;
        white-space: nowrap;
        border-bottom: 2px solid #fff;
    }

    .p-front-company__detail tr:first-child th {
        border-top: 2px solid #fff;
    }

    .p-front-company__detail td {
        width: 80%;
        border-bottom: 1px solid #fff;
    }

    .p-front-company__inner .more-btn {
        bottom: 0;
    }
}

@media (min-width: 1200px) {
    .p-front-company__thumb {
        width: 50%;
    }

    .p-front-company__detail {
        width: 55%;
    }

    .p-front-company__thumb {
        margin-left: -80px;
    }

    .p-front-company__detail-inner {
        margin: 8% 10%;
    }

    .p-front-company__detail td br.pc {
        display: block;
    }
}




/* ==================================================
    Page : Default
================================================== */
.page-privacy-policy h1 {
    display: none;
}


/* ==================================================
    Page : Company（会社概要）
================================================== */
.p-page--company {
    padding-top: 20px;
}

.p-page--company .p-page__thumb {
    margin-bottom: 40px;
    animation: fadeIn 1s .1s forwards;
    opacity: 0;
}

.p-page--company .p-page__content {
    font-size: 0.95rem;
}

.p-page--company .p-page__content h2 {
    padding: 8em 0 2em;
}

.p-page--company .p-page__content h2:first-of-type {
    padding: 0 0 2em;
}

.p-page--company .wp-block-table th,
.p-page--company .wp-block-table td {
    display: inline-block;
    width: 100%;
    border-bottom: none;
}

.p-page--company .wp-block-table th {
    text-align: left;
    padding: .5em 1em;
}

@media (min-width: 600px) {
    .p-page--company .wp-block-table th {
        display: table-cell;
        border-bottom: 2px solid #111;
        width: 150px;
        text-align: center;
        padding: 1.2em 35px;
        text-align-last: justify;
    }

    .p-page--company .wp-block-table tr:first-child th {
        border-top: 2px solid #111;
    }

    .p-page--company .wp-block-table td {
        display: table-cell;
        width: auto;
        border-bottom: 1px solid #111;
    }
}

@media (min-width: 835px) {
    .p-page--company {
        padding-top: 40px;
    }

    .p-page--company .p-page__inner {
        display: flex;
        gap: 40px;
    }

    .p-page--company .p-page__thumb {
        width: 30%;
    }

    .p-page--company .p-page__content {
        width: 67%;
    }
}

/* 営業所MAP */
.adress.wp-block-table td button {
    float: right;
    font-size: .8em;
    font-weight: 600;
    color: #fff;
    background-color: #003893;
    padding: 0 10px;
    border: 1px solid #003893;
    border-radius: 50px;
    transition-duration: .1s;
}

.adress.wp-block-table td button:hover {
    color: #003893;
    background-color: #fff;
}

.adress.wp-block-table td iframe {
    margin-top: 10px;
    border: none;
}




/* ==================================================
    Page : Business（事業内容詳細テンプレート）
================================================== */

.l-main--business {
    padding-top: 0;
    padding-bottom: 20vh;
}

.l-main--business .l-inner {
    width: 100%;
}

.l-main--business .p-page__header {
    position: relative;
    z-index: 0;
    height: 200px;
}

.l-main--business .p-page__header::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(30deg, #003893 0%, #003893 20%, #007fff 100%);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8vw), 0 100%);
    z-index: -1;
}

.l-main--business .p-page__title {
    position: absolute;
    left: 16px;
    top: 80px;
    z-index: 2;
    color: #005ac3;
    animation: fadeIn 1s .5s forwards;
    opacity: 0;
}

.l-main--business .p-page__title span {
    background-color: #fff;
    padding: 0 20px;
    display: inline-block;
}

.l-main--business .p-page__thumb {
    position: absolute;
    right: 2%;
    top: 90px;
    width: 38%;
    max-height: 150px;
    overflow: hidden;
    display: flex;
    align-items: center;
    z-index: 1;
    animation: fadeIn 1s .1s forwards;
    opacity: 0;
}

.l-main--business .p-page__thumb img {
    width: 100%;
    height: auto;
}

.l-main--business .p-page__content {
    margin-top: 120px;
    padding: 0 30px 0 30px;
    animation: fadeIn 1s .5s forwards;
    opacity: 0;
}

@media (min-width: 600px) {
    .l-main--business .p-page__title {
        left: 5%;
    }
}

@media (min-width: 1000px) {
    .l-main--business .p-page__header {
        height: 400px;
        width: 100vw;
    }

    .l-main--business .p-page__header::after {
        height: 400px;
    }

    .l-main--business .p-page__title {
        top: 25%;
        left: auto;
        right: 0;
        width: 50%;
        font-size: 3em;
    }

    .l-main--business .p-page__thumb {
        top: 0;
        left: 18px;
        width: 54%;
        max-height: none;
    }

    .l-main--business .p-page__content {
        width: 43%;
        margin-top: 0;
        margin-left: auto;
        font-size: 1.1em;
        line-height: 1.8;
    }

    .l-main--business .p-page__body {
        max-width: 600px;
    }
}



/* ==================================================
   Page : Recruit（採用情報）
================================================== */
/* h1をSEO対策しつつ非表示 */
.page-recruit h1.p-page__title {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.page-recruit h2 {
    margin-bottom: 60px;
}

/* ---- タイトル ---- */
.recruit-item__ttl {
    display: flex;
    align-items: center;
    color: #003893;
    border-top: 2px solid #111;
    border-bottom: 2px solid #111;
    margin-top: -2px;
    margin-bottom: -2px;
    font-weight: 500;
    cursor: pointer;
}

.recruit-item__ttl:hover {
    background-color: #eff1fb;
}

.recruit-item__ttl p {
    display: none;
}

.recruit-item__ttl h3 {
    font-size: 1rem;
    font-weight: unset;
    padding-left: 20px;
}

/* タイトル・開閉 */
.recruit-item__ttl button {
    position: relative;
    margin-left: auto;
}

.recruit-item__ttl button::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 5px;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #003893;
}

.recruit-item__ttl button::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 19.5px;
    transform: translate(50%, -50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 12px solid #fff;
    transition: transform 0.3s ease;
}

.js-toggle.is-open button::after {
    transform: translate(50%, -50%) rotate(180deg);
}

@media screen and (min-width: 670px) {
    .recruit-item {
        margin-left: 80px;
    }

    .recruit-item__ttl p {
        display: block;
        width: 12%;
        margin: 0;
        text-align: center;
    }
}

/* ---- 詳細テーブル ---- */
.recruit-item .wp-block-table {
    display: none; /* 最初は非表示 */
    margin-bottom: 0;
}

.recruit-item .wp-block-table table {
    border-top: none;
}

.recruit-item .wp-block-table th {
    width: 20%;
    border-bottom: 2px solid #111;
    white-space: nowrap;
}

.recruit-item .wp-block-table tr:first-child th,
.recruit-item .wp-block-table tr:first-child td {
    border-top: none;
}
.page-recruit tr:last-child th {
    border-bottom: 2px solid #111;
}

.page-recruit tr:last-child td {
    border-bottom: 1px solid #111;
}

.recruit-item .wp-block-table td a {
    position: relative;
    display: inline-block;
    font-size: .8em;
    font-weight: 600;
    white-space: nowrap;
    color: #fff;
    background-color: #003893;
    margin-right: 40px;
    margin-bottom: 2px;
    padding: 3px 10px;
    border: 1px solid #003893;
    border-radius: 50px;
}

.recruit-item .wp-block-table td a:after {
    content: "\f35d";
    position: absolute;
    font-family: "Font Awesome 5 Free";
    color: #808080;
    right: -25px;
    font-size: 1.2em;
}

@media screen and (min-width: 1030px) {
    .recruit-item .wp-block-table {
        margin-left: 12%;
    }
}

@media screen and (max-width: 780px) {
    .recruit-item .wp-block-table th {
        width: fit-content;
        padding: 1.2em 5px;
        font-size: .9em;
    }

    .recruit-item .wp-block-table td {
        font-size: .9em;
    }
}

/* ---- ポップアップ ---- */


.recruit-popup{
	position: fixed;
	bottom: 20px;
	right: 25px;
	background: linear-gradient( 170deg, #db7f4e 0%, #db320e 100% );
	padding: 30px 25px;
	opacity: 0;
	transform: translateY(20px);
	transition: opacity .4s ease, transform .4s ease;
	border-radius:8px;
	box-shadow: 2px 2px 8px 0 #545454c4;
	z-index: 1;
}
.recruit-popup::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		170deg,
		rgba(255, 255, 0, 0.11) 0%,
		rgba(255, 255, 0, 0.11) 45%,
		rgba(255, 255, 0, 0) 46%,
		rgba(255, 255, 0, 0) 100%
	);
	pointer-events: none;
}

.recruit-popup > * {
	position: relative;
	z-index: 1;
}
.recruit-popup.is-active {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}
.recruit-popup p{
	font-size: 25px;
	line-height:35px;
	color:#fff;
	margin:0;
	text-align:center;
	z-index:10;
}
.recruit-popup p span{
	display:inline-block;
	font-weight:800;
	font-size:30px;
}

.recruit-popup .close {
	cursor: pointer;
	display: block;
	position: absolute;
	top: -10px;
	width: 30px;
	height: 30px;
	border: 2px solid #0059c4;
	border-radius: 50%;
	background: #ffffffb8;
	right: -10px;
	box-shadow: 2px 2px 5px 0 #54545463;
}
.recruit-popup .close:hover{
	background: #ffffff;
}
.recruit-popup .close::before,
.recruit-popup .close::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 2px; /* 棒の幅（太さ） */
	height: 13px; /* 棒の高さ */
	background: #0059c4; /* バツ印の色 */
}
.recruit-popup .close::before {
	transform: translate(-50%,-50%) rotate(45deg);
}
.recruit-popup .close::after {
	transform: translate(-50%,-50%) rotate(-45deg);
}
@media(min-width: 600px) {
	.recruit-popup p{
		font-size: 35px;
		line-height:45px;
	}
	.recruit-popup p span{
		font-size:40px;
	}
}



/* ==================================================
   Page : Contact（お問い合わせ）
================================================== */
.page-contact h1 {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.page-contact .wpcf7-form {
    background-color: #fff;
    padding: 8% 10%;
    box-shadow: 1px 1px 10px 0 #54545414;
}

/* CF7の基本調整 */
.page-contact table {
    width: 100%;
}

.page-contact table p {
    margin-bottom: 0;
}

.page-contact input[type="text"],
.page-contact input[type="email"],
.page-contact input[type="tel"],
.page-contact textarea {
    width: 100%;
    padding: 0.6em 0.8em;
    border: 1px solid #e7eaf2;
    font-size: 0.95rem;
    background-color: #f8faff;
    outline: 0;
}

.page-contact input:focus {
    background-color: #fff;
}

.page-contact input:not([type="submit"]):not(:placeholder-shown),
.page-contact textarea:not(:placeholder-shown) {
    background: #fff;
}

.page-contact textarea {
    min-height: 200px;
}

.page-contact input[type="submit"] {
    cursor: pointer;
    border: none;
}

.page-contact .wpcf7-form ::placeholder {
    color: #a5a5a5;
    letter-spacing: 0.05em;
}

.page-contact .wpcf7-not-valid-tip {
    font-size: .85em;
    display: unset;
    margin-left: 5px;
}

/* テーブル　カスタマイズ */
.page-contact th {
    width: 210px;
    padding: 1em 1.2em;
    background-color: unset;
    font-size: .9em;
    vertical-align: middle;
    text-align: left;
    border-top: 2px solid #111;
}

.page-contact th .any,
.page-contact th .req {
    font-size: .7em;
    margin-right: 10px;
    padding: 3px 8px;
    border-radius: 3px;
    color: #fff;
}

.page-contact th .req {
    background-color: #eb2400;
}

.page-contact th .any {
    background-color: #888888;
}

.page-contact td {
    border-top: 1px solid #111;
    padding: 1.5em 1.2em;
}

.page-contact tr:last-child th {
    border-bottom: 2px solid #111;
}

.page-contact tr:last-child td {
    border-bottom: 1px solid #111;
}

.page-contact td .note {
    font-size: .8em;
    margin-top: 3px;
}

/* 下部　カスタマイズ */
.contact-under {
    font-size: .9em;
    text-align: center;
    margin: 0 auto;
}

.contact-under [type=submit] {
    font-size: 1.1em;
    letter-spacing: 0.05em;
    padding: 15px 30px;
    margin-top: 40px;
    margin-right: -72px;
    color: #fefeff;
    background-color: #003893;
    font-weight: 500;
}

.contact-under [type=submit]:hover {
    color: #fff;
    background: linear-gradient(30deg, #006bfd 0%, #00edff 100%);
    transition: 0.5s;
}

.contact-under .note {
    font-size: .85em;
    margin-top: 20px;
    color: #555;
}


@media screen and (max-width: 700px) {
    .page-contact .wpcf7-form {
        padding: 8% 5%;
    }

    table.contact th,
    table.contact td {
        display: inline-block;
        width: 100%;
    }

    table.contact input[type="text"],
    table.contact input[type="tel"],
    table.contact input[type="email"] {
        width: 100%;
    }

    .page-contact th {
        padding: .8em 0;
    }

    .page-contact td {
        padding: .8em 0;
        border-top: 2px solid #111;
    }

    .page-contact tr:last-child th {
        border-bottom: none;
    }
}


/* ==================================================
    Utility / Other
================================================== */

/* Google reCAPTCHA */
.grecaptcha-badge {
    visibility: hidden;
}