@charset "utf-8";

/*********************** 共通パーツ ***********************/
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
:root {
    --fsize-10: .625rem;
    --fsize-12: .75rem;
	--fsize-13: .8125rem;
	--fsize-14: .875rem;
	--fsize-15: .9375rem;
    --fsize-17: 1.0625rem;
	--fsize-18: 1.125rem;
    --fsize-19: 1.1875rem;
	--fsize-20: 1.25rem;
    --fsize-21: 1.3125rem;
	--fsize-22: 1.375rem;
    --fsize-23: 1.4375rem;
    --fsize-24: 1.5rem;
	--fsize-25: 1.5625rem;
	--fsize-26: 1.625rem;
	--fsize-28: 1.75rem;
	--fsize-30: 1.875rem;
    --fsize-32: 2rem;
    --fsize-33: 2.0625rem;
    --fsize-34: 2.125rem;
    --fsize-35: 2.1875rem;
	--fsize-38: 2.375rem;
	--fsize-40: 2.5rem;
	--fsize-42: 2.625rem;
	--fsize-44: 2.75rem;
    --fsize-46: 2.875rem;
	--fsize-48: 3rem;
    --fsize-50: 3.125rem;
	--fsize-56: 3.5rem;
	--fsize-60: 3.75rem;
	--fsize-64: 4rem;
	--fsize-72: 4.5rem;
    --fsize-80: 5rem;
    --fsize-100: 6.25rem;
    --fsize-130: 8.125rem;
    --ffamily-zen-kaku: "Zen Kaku Gothic New", sans-serif;
    --ffamily-num: "Reem Kufi", sans-serif;
}

body {
    width: 100%;
    color: #111111;
    font-size: var(--fsize-19);
    font-family: "Sawarabi Gothic", sans-serif;
    letter-spacing: -0.01em;
    overflow-x: hidden;
    scroll-behavior: smooth;
    line-height: 1.6;
}
.noscroll {
    overflow: hidden;
}
a {
    text-decoration: none;
}
a[href*="tel:"] {
    color: #111111;
}
@media (min-width: 600px) {
    a[href*="tel:"] {
        pointer-events: none;
    }
}
a[target=_blank] {
	position: relative;
}
a[target=_blank]::after {
    position: absolute;
    content: "";
    background: url(../images/common/right-up.png);
    width: 15px;
    height: 15px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    right: 20px;
    top: 26%;
    transition: .3s ease;
}
.new-g a[target=_blank]::after {
    background: url(../images/common/right-up_wh.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    right: 10px;
    top: 10px;
}
.new-g a[target=_blank]:hover::after {
    background: url(../images/common/right-up.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.btn_2 a[target=_blank]::after, .btn_4 a[target=_blank]::after {
    background: url(../images/common/right-up_wh.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    right: 10px;
    top: 10px;
}
.btn_4 a[target=_blank]:hover::after {
    background: url(../images/common/right-up.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.footer_right_bottom a[target=_blank]::after {
    right: -20px;
    top: 20%;
    transform: translateY(-20%);
}
img {
    max-width: 100%;
    height: auto;
	vertical-align: bottom;
}
.top h1.catch {
    font-size: var(--fsize-60);
    font-family: var(--ffamily-zen-kaku);
    font-weight: 500;
}
h1 {
    font-size: var(--fsize-50);
    font-family: var(--ffamily-zen-kaku);
    font-weight: 500;
    letter-spacing: 0.025em;
}
.top h2 {
    font-size: var(--fsize-50);
    font-family: var(--ffamily-zen-kaku);
    font-weight: 500;
    letter-spacing: 0.025em;
}
h2 {
    font-size: var(--fsize-44);
    font-family: var(--ffamily-zen-kaku);
    font-weight: 500;
    letter-spacing: 0.025em;
}
.top h3 {
    font-size: var(--fsize-35);
    font-family: var(--ffamily-zen-kaku);
    font-weight: 500;
    letter-spacing: 0.025em;
}
h3 {
    font-size: var(--fsize-35);
    font-family: var(--ffamily-zen-kaku);
    font-weight: 500;
}
.top h4 {
    font-size: var(--fsize-30);
    font-family: var(--ffamily-zen-kaku);
}
h4 {
    font-size: var(--fsize-30);
    font-family: var(--ffamily-zen-kaku);
    font-weight: 500;
}
.top h5 {
    font-size: var(--fsize-25);
    font-family: var(--ffamily-zen-kaku);
}
h5 {
    font-size: var(--fsize-25);
    font-family: var(--ffamily-zen-kaku);
    font-weight: 500;
}
@media (max-width: 1200px) {
    .top h1.catch {
        font-size: var(--fsize-56);
    }
}
@media (max-width: 768px) {
    .top h1.catch {
        font-size: var(--fsize-50);
    }
    h1 {
        font-size: var(--fsize-50);
    }
    .top h2 {
        font-size: var(--fsize-42);
    }
    h2 {
        font-size: var(--fsize-42);
    }
}
@media (max-width: 500px) {
    body {
        font-size: var(--fsize-15);
    }
    .top h1.catch {
        font-size: var(--fsize-25);
    }
    h1 {
        font-size: var(--fsize-32);
    }
    .top h2 {
        font-size: var(--fsize-28);
    }
    h2 {
        font-size: var(--fsize-28);
    }
    .top h3 {
        font-size: var(--fsize-22);
    }
    h3 {
        font-size: var(--fsize-22);
    }
    .top h4 {
        font-size: var(--fsize-20);
    }
    h4 {
        font-size: var(--fsize-20);
    }
    .top h5 {
        font-size: var(--fsize-18);
    }
    h5 {
        font-size: var(--fsize-18);
    }
}

ul {
    list-style: none;
}
.btn {
    font-family: var(--ffamily-zen-kaku);
    letter-spacing: 0.05em;
    font-weight: 500;
}
.btn_1 a {
    width: 300px;
    height: 100px;
    display: block;
    margin: 0 auto;
    color: #1eacec;
    border: 3px solid #1eacec;
    border-radius: 10px;
    font-size: var(--fsize-25);
    line-height: 94px;
    text-align: center;
    background: #fff;
    transition: .3s ease;
}
.btn_1 a:hover {
    background: #1eacec;
    color: #fff;
    border: 3px solid #1eacec;
}
/*共通テンプレートのボタン設定
---------------------------------------------------------*/
.common-template .wp-block-buttons .wp-block-button__link {
    width: 300px;
}
.common-template .btn_1 .wp-block-button a {
    line-height: unset;
}
@media (max-width: 768px) {
    .common-template .wp-block-buttons .wp-block-button__link {
        width: 70%;
    }
}
@media (max-width: 500px) {
    .common-template .wp-block-buttons .wp-block-button__link {
        width: 80%;
    }
}
.common-template .wp-block-buttons>.wp-block-button {
    display: inherit;
}
body .common-template div.is-layout-flex {
    display: inherit;
}
/*---------------------------------------------------------*/
.btn_2 a {
    width: 300px;
    height: 100px;
    display: block;
    margin: 0 auto;
    color: #fff;
    border: 3px solid #fff;
    border-radius: 10px;
    font-size: var(--fsize-25);
    line-height: 94px;
    text-align: center;
    background: #1eacec;
    transition: .3s ease;
}
.btn_2 a:hover {
    opacity: .5;
}
.btn_3 a {
    width: 300px;
    height: 100px;
    display: inline-block;
    margin: 0 auto;
    color: #fff;
    border: 3px solid #2e4a6f;
    border-radius: 10px;
    font-size: var(--fsize-25);
    line-height: 94px;
    text-align: center;
    background: #2e4a6f;
    transition: .3s ease;
}
.btn_3 a div {
    display: inline-block;
    position: relative;
    margin-right: 50px;
}
.btn_3 a div::after {
    content: "";
    position: absolute;
    background: url(../images/plane_1.png);
    width: 40px;
    height: 40px;
    background-size: contain;
    background-position: center;
    top: 30%;
    margin-left: 10px;
    background-repeat: no-repeat;
}
.btn_3 a:hover {
    background: #fff;
    color: #2e4a6f;
    border: 3px solid #2e4a6f;
}
.btn_3 a:hover div::after {
    background: url(../images/plane_2.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}
.btn_4 a {
    width: 500px;
    height: 174px;
    display: inline-block;
    margin: 0 auto;
    color: #fff;
    border: 3px solid #1eacec;
    border-radius: 10px;
    font-size: var(--fsize-38);
    line-height: 168px;
    text-align: center;
    background: #1eacec;
    transition: .3s ease;
    box-shadow:
    4px 4px 8px rgba(30, 172, 236,0.3),   /* 下のシャドウ（暗め） */
    -3px -3px 6px rgba(79, 198, 240, 0.4); /* 上のハイライト（明るめ） */
}
.btn_4 a:hover {
    background: #fff;
    color: #1eacec;
}
.btn_5 a {
    width: 500px;
    height: 174px;
    display: inline-block;
    margin: 0 auto;
    color: #fff;
    border: 3px solid #d7263d;
    border-radius: 10px;
    font-size: var(--fsize-38);
    line-height: 168px;
    text-align: center;
    background: #d7263d;
    transition: .3s ease;
    box-shadow:
    4px 4px 8px rgba(230, 44, 65, 0.3),   /* 下のシャドウ（暗め） */
    -3px -3px 6px rgba(255, 108, 129, 0.4); /* 上のハイライト（明るめ） */
}
.btn_5 a:hover {
    background: #fff;
    color: #d7263d;
}
.btn_6 a {
    width: 80px;
    height: 80px;
    display: inline-block;
    margin: 0 auto;
    color: #1eacec;
    border-radius: 50%;
    font-size: var(--fsize-30);
    line-height: 70px;
    text-align: center;
    background: #fff;
    transition: .3s ease;
    box-shadow:
    3px 3px 6px rgba(220, 220, 220, .5),   /* 下のシャドウ（暗め） */
    0px 0px 6px rgba(220, 220, 220, .6); /* 上のハイライト（明るめ） */
}
.btn_6 a:hover {
    background: #1eacec;
    color: #fff;
    box-shadow:
    4px 4px 8px rgba(30, 172, 236,0.3),   /* 下のシャドウ（暗め） */
    -3px -3px 6px rgba(79, 198, 240, 0.4); /* 上のハイライト（明るめ） */
}
@media (max-width: 1200px) {
    .btn_4 a, .btn_5 a {
        width: 420px;
    }
}
@media (max-width: 960px) {
    .btn_4 a, .btn_5 a {
        width: 330px;
        height: 160px;
        line-height: 154px;
    }  
}
@media (max-width: 768px) {
    .btn_1 a, .btn_2 a, .btn_3 a {
        width: 70%;
    }
    .interview_content .btn_1 a {
        width: 90%;
    }
    .btn_4 a, .btn_5 a {
        width: 80%;
        height: 150px;
        display: grid;
        place-items: center center;
        line-height: normal;
        font-size: var(--fsize-32);
    } 
}
@media (max-width: 600px) {
    .interview_content .btn_1 a {
        width: 70%;
    }
}
@media (max-width: 500px) {
    .btn_1 a, .btn_2 a, .btn_3 a {
        width: 80%;
        font-size: var(--fsize-19);
        height: 80px;
        line-height: 74px;
    }
    .btn_3 a div::after {
        top: 20%;
    }
    .interview_content .btn_1 a {
        width: 80%;
    }
    .btn_4 a, .btn_5 a {
        height: 100px;
        font-size: var(--fsize-25);
    }
}

/* Animation -------------------------------*/
.fadeup {
	opacity: 0;
}
.fadeup.active {
	animation-name: fadeUpAnime;
	animation-duration: 0.8s;
	animation-fill-mode: forwards;
}
@keyframes fadeUpAnime {
	from {
		opacity: 0;
		transform: translateY(100px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/*----------------------------------------------------
 header
----------------------------------------------------*/
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    height: 120px;
    display: flex;
    justify-content: center;
}
.header_inner {
    max-width: 1920px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: relative;
}
header .header_inner::after {
    content: "";
    width: 100%;
    height: 120px;
    position: absolute;
    opacity: .7;
    z-index: -1;
    transition: 0.3s;
}
header.scrolled .header_inner::after {
    background-color: #fff;
}
.logo_header {
    max-width: 300px;
    padding-left: 35px;
}
.logo_header a {
    transition: .3s ease;
}
.logo_header a:hover {
    opacity: .5;
}
nav.sp-nav {
    display: none;
}
nav.nav {
    display: flex;
    gap: 30px;
    align-items: center;
    padding-right: 35px;
}
.nav_menu {
    display: flex;
    gap: 40px;
    align-items: center;
    background-color: #fff;
    font-size: var(--fsize-20);
    font-family: var(--ffamily-zen-kaku);
    padding: 1em 1.5em;
    border-radius: 50px;
    box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.1);
    font-weight: 500;
}
.nav_menu a {
    color: #111111;
    transition: .3s ease;
}
.nav_menu a:hover {
    opacity: .5;
}
.nav_entry {
    text-align: center;
    display: flex;
    font-size: var(--fsize-23);
    font-family: var(--ffamily-zen-kaku);
    line-height: 1.3;
    font-weight: 500;
}
.nav_entry a {
    color: #fff;
    display: inline-block;
    transition: .3s ease;
    width: 150px;
    height: 92px;
}
.new-g {
    background-color: #1eacec;
    border-radius: 10px 0 0 10px;
}
.new-g a {
    border-radius: 10px 0 0 10px;
    border: 3px solid #1eacec;
    box-shadow:
    3px 3px 8px rgba(30, 172, 236,0.3),   /* 下のシャドウ（暗め） */
    -2px -2px 6px rgba(79, 198, 240, 0.4); /* 上のハイライト（明るめ） */
    display: grid;
	place-items: center center;
}
.new-g a:hover {
    color: #1eacec;
    background: #fff;
}
.carrer {
    background-color: #d7263d;
    border-radius: 0 10px 10px 0;
}
.carrer a {
    border-radius: 0 10px 10px 0;
    border: 3px solid #d7263d;
    box-shadow:
    3px 3px 8px rgba(230, 44, 65, 0.3),   /* 下のシャドウ（暗め） */
    -2px -2px 6px rgba(255, 108, 129, 0.4); /* 上のハイライト（明るめ） */
    display: grid;
	place-items: center center;
}
.carrer a:hover {
    background: #fff;
    color: #d7263d;
}
@media (max-width: 1450px) {
    header {
        height: 90px;
    }
    header nav.nav {
        display: none;
    }
    header nav.sp-nav {
        display: block;
    }
    header.scrolled .header_inner::after {
        height: 90px;
    }

    /*スマホメニュー*/
    .header_inner {
        display: flex;
        margin: 0;
        position: relative;
        justify-content: start;
        padding: 0;
    }
    .logo_header {
        margin-left: 20px;
        max-width: 250px;
        padding-left: 0;
    }
    header .hamburger {
        top: 50%;
        width: 25px;
        height: 20px;
        position: absolute;
        right: 30px;
        margin-left: auto;
        display: inline-block;
        z-index: 200;
        transform: translateY(-50%);
    }
    header .hamburger span {
        display: inline-block;
        width: 100%;
        height: 2px;
        position: absolute;
        left: 0;
        background: #111111;
        transition: transform .4s;
        border-radius: 4px;
    }
    header span:nth-of-type(1) {
        top: 0;
    }
    header span:nth-of-type(2) {
        top: 50%;
    }
    header span:nth-of-type(3) {
        top: 100%;
    }
    .hamburger.open span:nth-of-type(1) {
        top: 50%;
        transform: translateY(-50%) rotate(135deg);
    }
    .hamburger.open span:nth-of-type(2) {
        opacity: 0;
    }
    .hamburger.open span:nth-of-type(3) {
        top: 50%;
        transform: translateY(-50%) rotate(-135deg);
    }
    header nav.sp-nav .drawer-nav {
        width: 100vw;
        margin: 0px auto 0;
        left: 0;
        position: fixed;
        top: 0;
        transform: translateX(-100%);
        transition: transform .4s;
        background-color: #efefef;
        padding-top: 150px;
        z-index: -1;
        overflow: auto;
        height: 100vh; /* フォールバック用 */
        height: calc(var(--vh, 1vh) * 100); /* JSで計算した高さ */
    }
    header nav.sp-nav .drawer-nav::after {
        position: absolute;
        content: "";
        background-image: url(../images/common/concrete.png);
        background-size: cover;
        width: 100%;
        opacity: 0.12;
        top: 0;
        left: 0;
        z-index: -2;
        height: 100%; /* フォールバック用 */
    }
    header nav.sp-nav .drawer-nav ul:last-of-type {
        margin: 50px auto;
    }
    header nav.sp-nav .drawer-nav .drawer-menu {
        width: 50%;
        margin: 0 auto;
        font-family: var(--ffamily-zen-kaku);
        font-weight: 500;
    }
    header nav.sp-nav .drawer-nav .drawer-menu li {
        line-height: 2.7;
        background-color: #fff;
        margin-bottom: 0.7em;
        border-radius: 25px;
        position: relative;
    }
    header nav.sp-nav .drawer-nav .drawer-menu li:not(:nth-child(7))::after {
        position: absolute;
        content: "→";
        right: 20px;
    }
    header nav.sp-nav .drawer-nav li a {
        color: #111111;
        padding-left: 20px;
        width: 100%;
        display: inline-block;
    }
    header nav.sp-nav .drawer-nav .drawer_entry a {
        color: #fff;
        padding-left: 0;
        font-family: var(--ffamily-zen-kaku);
        letter-spacing: 0.05em;
        font-weight: 500;
    }
    header nav.sp-nav .drawer-nav .drawer_entry {
        display: flex;
        gap: 30px;
        width: 50%;
        text-align: center;
    }
    header nav.sp-nav .drawer-nav .drawer_entry li {
        width: 100%;
        line-height: 4.5;
        border-radius: 10px;
        font-size: var(--fsize-25);
    }
    header nav.sp-nav .drawer-nav li.new-g {
        background-color: #1eacec;
    }
    header nav.sp-nav .drawer-nav li.carrer {
        background-color: #d7263d;
    }
    header nav.sp-nav .drawer-nav li.new-g::after, header nav.sp-nav .drawer-nav li.carrer::after {
        color: #fff;
    }
    header nav.sp-nav .drawer-nav li.new-g a:hover {
        color: #1eacec;
    }
    header nav.sp-nav .drawer-nav li.carrer a:hover {
        color: #d7263d;
    }
    header nav.sp-nav .drawer-nav.slide-in {
        transform: translateX(0);
    }
    .new-g a, .carrer a {
        border-radius: 10px;
    }
    body.noscroll .header_inner::after {
        display: none;
    }
}
@media (max-width: 1200px) {
    header nav.sp-nav .drawer-nav .drawer_entry {
        flex-direction: column;
    }
}
@media (max-width: 768px) {
    header {
        height: 70px;
    }
    header.scrolled .header_inner::after {
        height: 70px;
    }
    .logo_header {
        max-width: 200px;
    }
    header nav.sp-nav .drawer-nav {
        padding-top: 100px;
    }
    header nav.sp-nav .drawer-nav .drawer_entry {
        flex-direction: column;
        gap: 20px;
    }
    header nav.sp-nav .drawer-nav .drawer_entry a {
        width: 100%;
        height: 100px;
        display: grid;
        place-items: center center;
        line-height: normal;
    }
    header nav.sp-nav .drawer-nav ul:last-of-type {
        margin: 30px auto;
    }
}
@media (max-width: 600px) {
    header nav.sp-nav .drawer-nav .drawer_entry {
        width: 70%;
    }
    header nav.sp-nav .drawer-nav .drawer-menu {
        width: 70%;
    }
    header nav.sp-nav .drawer-nav ul:last-of-type {
        gap: 20px;
    }
}
@media (max-width: 500px) {
    header nav.sp-nav .drawer-nav .drawer_entry a {
        height: 80px;
    }
    header nav.sp-nav .drawer-nav {
        padding-top: 80px;
    }
    header nav.sp-nav .drawer-nav .drawer_entry li {
        font-size: var(--fsize-20);
    }
}

/*----------------------------------------------------
 footer
----------------------------------------------------*/
.bg_wrap {
    position: relative;
    background-color: #efefef;
    border-radius: 100px 100px 0 0;
    width: 100%;
    z-index: 1;
}
.bg_wrap::before {
    position: absolute;
    content: "";
    background-image: url(../images/common/concrete.png);
    background-size: cover;
    width: 100%;
    height: 100%;
    opacity: 0.12;
    z-index: -1;
}
@media (max-width: 1200px) {
    .bg_wrap  {
        border-radius: 80px 80px 0 0;
    }
}
@media (max-width: 600px) {
    .bg_wrap  {
        border-radius: 50px 50px 0 0;
    }
}

footer {
    font-family: var(--ffamily-zen-kaku);
    padding-bottom: 50px;
    position: relative;
    font-weight: 400;
}
footer a {
    color: #111111;
    transition: .3s ease;
}
footer a:hover {
    opacity: .5;
}
.footer_inner {
    max-width: 1536px;
    width: 90%;
    display: flex;
    justify-content: space-between;
    padding-top: 60px;
    margin: 0 auto;
    font-size: var(--fsize-20);
    position: relative;
}
.logo_footer {
    max-width: 300px;
}
.footer_left {
    font-size: 1rem;
    line-height: 1.875;
}
.footer_left span {
    display: inline-block;
    padding: 0.25em 1em;
    border: 0.25px solid #1a1a1a;
    border-radius: 50px;
    margin: 2.5em 0 0.625em 0;
    font-size: var(--fsize-14);
}
.footer_right_top {
    display: flex;
    gap: 40px;
    margin-bottom: 1.5em;
    font-weight: 500;
}
.footer_right_bottom {
    display: flex;
    gap: 40px;
    justify-content: end;
    font-weight: 500;
}
small {
    margin-right: 0;
    margin-left: auto;
    display: inline-block;
    position: absolute;
    bottom: 0;
    right: 0;
    font-size: var(--fsize-14);
}
.page-top {
    border: 0.25px solid #1a1a1a;
    display: inline-block;
    position: absolute;
    right: 48px;
    bottom: 50px;
    text-align: center;
    z-index: 9999;
}
.page-top a {
    display: block;
    padding: .5em;
    color: #111111;
    font-size: var(--fsize-18);
    font-family: var(--ffamily-zen-kaku);
    font-weight: 400;
}
@media (max-width: 1450px) {
    .logo_footer {
        max-width: 250px;
    }
}
@media (max-width: 1800px) {
    .page-top {
        bottom: 100px;
        right: 5%;
    }
}
@media (max-width: 1150px) {
    .footer_inner {
        flex-direction: column-reverse;
    }
    .footer_right_top {
        justify-content: center;
    }
    .footer_right_bottom {
        justify-content: center;
    }
    .footer_right {
        margin-bottom: 60px;
    }
}
@media (max-width: 768px) {
    footer {
        padding-bottom: 100px;
    }
    .footer_left {
        display: flex;
        flex-direction: column-reverse;
    }
    .footer_left span {
        width: fit-content;
        order: 3;
        margin-top: 0;
    }
    .footer_left p {
        margin-bottom: 2.5em;
    }
    .footer_right_top {
        flex-direction: column;
        gap: .5em;
        margin-bottom: .5em;
    }
    .footer_right_bottom {
        flex-direction: column;
        gap: .5em;
    }
    small {
        left: 0;
        bottom: -50px;
    }
    .page-top {
        display: none;
    }
    .logo_footer {
        max-width: 200px;
    }
}
@media (max-width: 500px) {
    footer {
        padding-bottom: 70px;
    }
    .footer_inner {
        padding-top: 30px;
    }
    .footer_inner, .footer_inner p {
        font-size: var(--fsize-15);
    }
    .footer_right {
        margin-bottom: 30px;
    }
    small {
        font-size: var(--fsize-12);
    }
}
@media (max-width: 468px) {
    .logo_footer {
        max-width: 200px;
    }
}
@media (max-width: 400px) {
    .footer_left span {
        box-shadow: inset .25px 0 .25px #1a1a1a; /* 内側に線 */
    }
}

/*----------------------------------------------------
 JOB
----------------------------------------------------*/
.job_content {
    text-align: center;
    overflow: hidden;
    margin: 0 calc(50% - 50vw) 0;
    padding: 0 calc(50vw - 50%);
}
.job_content_inner {
    width: 90%;
    margin: 0 auto;
    padding: 0;
    position: relative;
}
.job_figure {
    margin: 0 auto;
    background-color: #fff;
    padding: 50px 0;
    max-width: 1056px;
    border-radius: 10px;
    font-size: var(--fsize-25);
    font-family: var(--ffamily-zen-kaku);
    font-weight: 500;
}
.job_figure a {
    color: #fff;
}
.process {
    display: flex;
    justify-content: center;
    gap: 40px;
    color: #fff;
}
.process li {
    width: 180px;
    height: 100px;
    line-height: 100px;
    position: relative;
}
.process li::before {
    position: absolute;
    content: "";
    left: -20px;
    width: 0;
    height: 0;
    top: 0;
    right: 0;
    border-style: solid;
    border-color: transparent #fff transparent #fff;
    border-width: 50px 0 50px 20px;
}
.process li::after {
    content: "";
    position: absolute;
    top: 0;
    left: 100%;
    border-style: solid;
    border-color: transparent;
    border-width: 50px 20px;
    width: 0;
    height: 0;
    background-color: #fff;
}
.process li:first-child {
    background-color: #7fbde0;
}
.process li:first-child::before {
    background-color: #7fbde0;
}
.process li:first-child::after {
    border-left-color: #7fbde0;
}
.process li:nth-child(2) {
    background-color: #64a3cf;
}
.process li:nth-child(2)::before {
    background-color: #64a3cf;
}
.process li:nth-child(2)::after {
    border-left-color: #64a3cf;
}
.process li:nth-child(3) {
    background-color: #4378a9;
}
.process li:nth-child(3)::before {
    background-color: #4378a9;
}
.process li:nth-child(3)::after {
    border-left-color: #4378a9;
}
.process li:nth-child(4) {
    background-color: #2e4a6f;
}
.process li:nth-child(4)::before {
    background-color: #2e4a6f;
}
.process li:nth-child(4)::after {
    border-left-color: #2e4a6f;
}
.job-ttl_1 {
    display: flex;
    justify-content: space-between;
    max-width: 863px;
    margin: 80px auto;
}
.job-ttl_1 li {
    position: relative;
}
.job-ttl_1 li::after {
    content: "";
    border-right: 3px solid #2e4a6f;
    position: absolute;
    height: 80px;
    top: calc(1.5em + -78px);
    transform: translate(-50%, -50%);
    left: 50%;
}
.job-ttl_1 li::before {
    content: "";
    border-right: 3px solid #2e4a6f;
    position: absolute;
    height: 80px;
    bottom: calc(-1.5em + -82px);
    transform: translate(-50%, -50%);
    left: 50%;
}
.job-ttl_1 li a {
    display: inline-block;
    width: 200px;
    height: 140px;
    padding: .8em;
    display: flex;
    align-items: end;
    justify-content: center;
    transition: .3s ease;
    border-radius: 10px;
    background-color: #1eacec;
}
.job-ttl_1 li a:hover, .job-ttl_2 a:hover {
    opacity: .5;
}
.job-ttl_1 li div, .job-ttl_2 div {
    position: relative;
    margin-right: 34px;
}
.job-ttl_1 li div::after, .job-ttl_2 div::after {
    position: absolute;
    content: "";
    width: 24px;
    height: 24px;
    background-image: url(../images/common/arrow_1.png);
    top: 25%;
    background-repeat: no-repeat;
    background-size: contain;
    margin-left: 10px;
    rotate: 270deg;
    background-position: center;
}
.job-ttl_1 li div::before {
    content: "";
    position: absolute;
    background-repeat: no-repeat;
    background-size: contain;
    top: -40px;
    left: 50%;
    transform: translate(-50%, -50%);
    background-position: center bottom;
    margin-left: 14px;
}
.t-design div::before {
    background-image: url(../images/job/design.png);
    width: 55px;
    height: 55px;
}
.e-sales div::before {
    background-image: url(../images/job/sales.png);
    width: 58px;
    height: 58px;
}
.c-management div::before {
    background-image: url(../images/job/c-management.png);
    width: 64px;
    height: 64px;
}
.maintenance div::before {
    background-image: url(../images/job/maintenance.png);
    width: 60px;
    height: 60px;
}
.job-ttl_2 {
    margin: 0 auto;
    max-width: 863px;
}
.job-ttl_2 a {
    display: inline-block;
    padding: .8em;
    height: 140px;
    display: flex;
    align-items: end;
    justify-content: center;
    transition: .3s ease;
    border-radius: 10px;
    background-color: #1eacec;
}
.job-ttl_2 div::before {
    content: "";
    position: absolute;
    background-repeat: no-repeat;
    background-size: contain;
    top: -35px;
    left: 50%;
    transform: translate(-50%, -50%);
    background-position: center;
    margin-left: 14px;
    background-image: url(../images/job/staff.png);
    width: 80px;
    height: 80px;
}
@media (max-width: 1200px) {
    .process {
        gap: 32px;
    }
    .process li {
        width: auto;
        writing-mode: vertical-lr;
        height: 150px;
        line-height: normal;
        padding: .8em;
    }
    .process li::before {
        left: -16px;
        border-width: 75px 0 75px 16px;
    }
    .process li::after {
        border-width: 75px 16px;
    }
    .job-ttl_1 {
        justify-content: center;
        gap: 10px;
    }
    .job-ttl_1 li {
        writing-mode: vertical-lr;
    }
    .job-ttl_1 li a {
        height: 260px;
        width: auto;
        align-items: center;
        padding: 1.2em;
    }
    .job-ttl_1 li div {
        margin-right: 0;
    }
    .job-ttl_1 li div::after {
        bottom: -30px;
        left: 50%;
        transform: translate(-50%, -50%);
        top: inherit;
        margin-left: 0;
    }
    .job-ttl_1 li div::before {
        margin-left: 0;
    }
    .job-ttl_2 a {
        width: 414px;
        margin: 0 auto;
    }
    .t-design div::before {
        width: 50px;
        height: 50px;
    }
    .e-sales div::before {
        width: 50px;
        height: 50px;
    }
    .c-management div::before {
        width: 50px;
        height: 50px;
    }
    .maintenance div::before {
        width: 50px;
        height: 50px;
    }
    .job-ttl_2 div::before {
        width: 70px;
        height: 70px;
    }
    .job_figure {
        max-width: 600px;
    }
}
@media (max-width: 700px) {
    .job_figure {
        width: 100%;
    }
}
@media (max-width: 530px) {
    .job_figure {
        font-size: var(--fsize-19);
    }
    .process li {
        padding: .35em;
    }
    .job-ttl_1 li a {
        padding: .8em;
    }
    .t-design div::before {
        width: 40px;
        height: 40px;
    }
    .e-sales div::before {
        width: 40px;
        height: 40px;
    }
    .c-management div::before {
        width: 40px;
        height: 40px;
    }
    .maintenance div::before {
        width: 40px;
        height: 40px;
    }
    .job-ttl_2 div::before {
        width: 60px;
        height: 60px;
    }
    .job-ttl_2 a {
        width: 259.52px;
        height: 110px;
    }
    .job-ttl_1 {
        margin: 50px auto;
    }
    .job-ttl_1 li::after, .job-ttl_1 li::before {
        height: 50px;
    }
    .job-ttl_1 li::after {
        top: calc(2em + -63px);
    }
    .job-ttl_1 li::before {
        bottom: calc(-2em + -37px);
    }
    .job-ttl_1 li a {
        height: 240px;
    }
    .job-ttl_2 div::after {
        top: 10%;
    }
}
@media (max-width: 500px) {
    .job_figure {
        margin: 40px auto 30px;
    }
}
@media (max-width: 360px) {
    .process li {
        padding: .13em;
    }
    .job-ttl_1 li a {
        padding: .74em;
    }
    .job-ttl_2 a {
        width: 250.36px;
    }
}

/*----------------------------------------------------
 INTERVIEW
----------------------------------------------------*/
.interview_inner {
    margin: 0 auto;
    max-width: 1536px;
    width: 90%;
}
.interview_content h2 {
    text-align: center;
    margin: 3.4em auto .9em;
}
.interview_content h4.sub-ttl {
    text-align: center;
    color: #2e4a6f;
    position: relative;
    display: block;
    padding: 0 0 5px 0;
    border-bottom: solid .25px #2e4a6f;
    margin-inline: auto;
    width: fit-content;
    margin-bottom: 1.7em;
    letter-spacing: 0.025em;
}
.interview_content h4.sub-ttl::before {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 18px;
    height: 18px;
    box-sizing: border-box;
    background-color: #fff; /*背景と同じ色に変更*/
    rotate: 135deg;
    translate: -50%;
}
.interview_content h4.sub-ttl::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    width: 15px;
    height: 15px;
    box-sizing: border-box;
    border: solid .25px;
    border-color: #2e4a6f #2e4a6f transparent transparent;
    rotate: 135deg;
    translate: -50%;
}
.interview_content ul.interview_card {
    display: flex;
    justify-content: center;
    margin-bottom: 140px;
    width: fit-content;
    gap: 20px;
}
.interview_content li.card_box {
    padding: 25px;
    position: relative;
    border: .25px solid #1a1a1a;
    border-radius: 10px;
}
.interview_content li.card_box a {
    color: #111111;
    transition: .3s ease;
}
.interview_content li.card_box a:hover {
    opacity: .5;
}
.interview_content li.card_box div.card_box_inner {
    position: relative;
}
.interview_content li.card_box div.card_box_inner figure img {
    object-fit: cover;
    width: 558px;
    height: 558px;
    border-radius: 10px;
}
.interview_content li.card_box div.card_box_inner div {
    position: absolute;
    bottom: 4%;
    padding: 0 4%;
    max-width: 558px;
}
.interview_content li.card_box h4 {
    display: inline;
    line-height: 1.8;
    background: #fff;
    font-weight: 500;
}
.card_box ul {
    margin-top: 1em;
}
.card_box li {
    position: relative;
    padding-left: 18px;
}
.card_box li::before {
    position: absolute;
    content: "";
    width: 8px;
    border: .25px solid #1a1a1a;
    top: 50%;
    left: 0;
}
@media (max-width: 1824px) {
    .interview_inner {
        width: 90%;
    }
}
@media (max-width: 1600px) {
    .interview_content li.card_box div.card_box_inner figure img {
        width: 420px;
        height: 420px;
    }
}
@media (max-width: 1500px) {
    .interview_content li.card_box h4 {
        font-size: var(--fsize-25);
    }
}
@media (max-width: 1200px) {
    .interview_inner {
        width: 70%;
    }
    .interview_content h2 {
        margin: 2em auto .9em;
    }
    .interview_content ul.interview_card {
        flex-direction: column;
        border: unset;
        gap: 20px;
    }
    .interview_content li.card_box {
        border: .25px solid #1a1a1a;
        border-radius: 10px;
    }
    .interview_content li.card_box::after {
        border-right: unset;
    }
    .interview_content li.card_box div.card_box_inner figure img {
        width: 100%;
        height: 500px;
    }
}
@media (max-width: 950px) {
    .interview_content ul.interview_card {
        margin-bottom: 70px;
    }
}
@media (max-width: 768px) {
    .interview_content li.card_box {
        box-shadow: -.25px 0 0 #1a1a1a, 0 .25px 0 #1a1a1a; /* 左と下に線を描く */
    }
    .interview_content h4.sub-ttl {
        border-bottom: solid 2px #2e4a6f;
    }
    .interview_content h4.sub-ttl::after {
        border: solid 2px #2e4a6f;
        border-color: #2e4a6f #2e4a6f transparent transparent;
    }
    .interview_content li.card_box div.card_box_inner div {
        padding: 0;
        bottom: 10px;
    }
}
@media (max-width: 600px) {
    .interview_inner {
        width: 90%;
        max-width: inherit;
    }
}
@media (max-width: 500px) {
    .interview_content h2 {
        margin: 2em auto .5em;
    }
    .interview_content li.card_box {
        padding: 5%;
    }
    .interview_content li.card_box h4 {
        font-size: var(--fsize-20);
    }
    .interview_content ul.interview_card {
        margin-bottom: 30px;
    }
    .interview_content li.card_box div.card_box_inner figure img {
        height: 350px;
    }
}

/*FAQ*/
.faq_inner {
    max-width: 1728px;
    margin: 0 auto;
}
.faq_content ul {
    display: grid;
    margin-bottom: 140px;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

.faq_content li {
    padding: 25px 30px;
    position: relative;
    border: .25px solid #1a1a1a;
    border-radius: 10px;
}
.faq_content h5 {
    display: inherit;
    line-height: 1.8;
    padding-bottom: .5em;
    border-bottom: 0.25px solid #1a1a1a;
    margin-bottom: .5em;
    font-family: "Sawarabi Gothic", sans-serif;
    font-size: var(--fsize-23);
}
.faq_content li h5 span {
    color: #1eacec;
    font-size: var(--fsize-25);
    display: inline-block;
    margin-right: 0.2em;
    font-family: var(--ffamily-num);
}
.faq_content li div span {
    color: #d7263d;
    font-size: var(--fsize-25);
    display: inline-block;
    margin-right: 0.2em;
    font-family: var(--ffamily-num);
}
.faq_content li div p {
    display: inline;
}
@media (max-width: 1824px) {
    .faq_inner {
        width: 90%;
    }
}
@media (max-width: 1200px) {
    .faq_inner {
        width: 70%;
    }
    .faq_content ul {
        grid-template-columns: 1fr;
    }
    .faq_content li:last-child {
        padding-bottom: 50px;
    }
    .faq_content li::after {
        display: none;
    }
}
@media (max-width: 600px) {
    .faq_inner {
        width: 90%;
    }
}
@media (max-width: 500px) {
    .faq_content ul {
        margin-bottom: 30px;
    }
    .faq_content li {
        padding: 5%;
    }
}
@media (max-width: 400px) {
    .faq_content ul {
        margin-bottom: 30px;
    }
}

/*----------------------------------------------------
 下層ページ共通
----------------------------------------------------*/
/*ページタイトル*/
.main-contents {
    margin-top: 220px;
}
.page-ttl {
    display: flex;
    justify-content: flex-start;
    width: 80%;
    margin: 0 auto 100px;
    max-width: 1300px;
}
.page-ttl h1 {
    margin-bottom: .8em;
    line-height: 1.36;
}
.breadcrumbs {
    font-size: 1rem;
}
.page-ttl-left {
    padding-right: 5vw;
    position: relative;
    white-space: nowrap;
}
.page-ttl-left::after {
    content: "";
    border-right: 0.25px solid #1a1a1a;
    position: absolute;
    right: 0;
    height: 100%;
    top: 0;
}
.page-ttl-right {
    margin-left: 5vw;
    max-width: 862px;
}
.page-ttl h2 {
    margin-bottom: .5em;
}
.page-ttl-right p {
    padding: 1.5em 0 1em;
}
@media (max-width: 1450px) {
    .main-contents {
        margin-top: 140px;
    }
}
@media (max-width: 1200px) {
    .page-ttl {
        flex-direction: column;
        gap: 50px;
        margin: 0 auto 70px;
        width: 90%;
    }
    .page-ttl-left {
        margin-right: auto;
        margin-left: 0;
        width: 100%;
    }
    .page-ttl-left::after {
        border-bottom: unset;
        right: inherit;
        top: inherit;
        bottom: -30px;
        left: 0;
        width: 100%;
        border: .25px solid #1a1a1a;
        height: inherit;
    }
    .page-ttl-right {
        max-width: inherit;
        margin-left: 0;
        margin-right: auto;
        padding: .5em 0 0;
    }
    .page-ttl-right h3 {
        padding-bottom: .7em;
    }
    .page-ttl-right p {
        padding: 0;
    }
    .interview_content li.card_box div.card_box_inner div {
        max-width: fit-content;
    }
}
@media (max-width: 1000px) {
    .page-ttl {
        width: 90%;
    }
}
@media (max-width: 768px) {
    .main-contents {
        margin-top: 120px;
    }
}
@media (max-width: 500px) {
    .page-ttl {
        margin: 0 auto 40px;
        gap: 40px;
    }
    .main-contents {
        margin-top: 100px;
    }
}

/*ページネーション*/
.pagination {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 140px;
    margin-top: -70px;
}
.pagination p a {
    color: #111111;
    transition: .3s;
}
.pagination p a:hover {
    color: #1eacec;
}
.pagination ul {
    display: flex;
    gap: 10px;
}
.pagination li {
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 28px;
    text-align: center;
    transition: .3s;
    font-size: var(--fsize-17);
}
.pagination li a {
    display: inline-block;
    width: 30px;
    height: 30px;
    border: .25px solid #1a1a1a;
    transition: .3s;
    color: #111111;
}
.pagination li a:hover, .pagination li.current {
    color: #fff;
    background-color: #1eacec;
    border: .25px solid #1eacec;
}

/*インタビュー・活躍する人*/
.feature_people {
    display: grid;
    gap: 40px;
    grid-template-columns: 1fr 1fr 1fr;
}
.feature_people img {
    border-radius: 50%;
    width: 280px;
    height: 280px;
    object-fit: cover;
    box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.4);
}
.feature_box > .feature_people li {
    list-style: none !important;
    text-indent: unset;
    padding-left: unset;
}
.feature_people p {
    margin-bottom: 0;
    text-align: center;
}
.feature_people a {
    transition: .3s;
    color: #111111;
}
.feature_people a:hover {
    opacity: .5;
}
.feature_people h5 {
    font-size: var(--fsize-23);
    margin-bottom: 0;
    text-align: center;
}
.feature .btn_1 {
    margin: 70px auto 140px;
}
@media (max-width: 1000px) {
    .feature_people {
        grid-template-columns: 1fr;
        width: 80%;
        margin: 0 auto;
    }
    .feature_people img {
        width: 350px;
        height: 350px;
    }
}
@media (max-width: 950px) {
    .feature .btn_1 {
        margin: 50px auto 70px;
    }
}
@media (max-width: 500px) {
    .feature .btn_1 {
        margin: 50px auto 70px;
    }
    .feature_people {
        width: 90%;
    }
    .feature_people img {
        width: 250px;
        height: 250px;
    }
    .feature_people h5 {
        font-size: var(--fsize-20);
    }
}

/*職種名*/
span.job-ttl {
    color: #d7263d;
    display: table;
    margin: -30px auto 20px;
    padding: .5em 1em;
    border: .25px solid #d7263d;
    border-radius: 25px;
    background-color: #fff;
    position: relative;
    font-size: var(--fsize-17);
}
@media (max-width: 500px) {
    span.job-ttl {
        box-shadow: inset .25px 0 .25px #d7263d;
        font-size: var(--fsize-15);
        margin: -30px auto 10px;
    }
}

/*パンくず*/
.breadcrumbs a {
    text-decoration: none;
    transition: .3s;
    color: #111111;
}
.breadcrumbs a:hover {
    opacity: .5;
}
.breadcrumbs ul {
    display: flex;
    list-style-type: none;
    flex-wrap: wrap;
    row-gap: 5px;
}
.breadcrumbs li.separator {
    display: inline-block; /* 横並びにする */
    margin: 0 0.5em;
}

/*table*/
table {
    text-align: left;
    border-collapse: collapse;
    width: 100%;
    line-height: 1.5;
}
tr {
    border-bottom: .25px solid #1a1a1a;
}
th {
    color: #1eacec;
    vertical-align: middle;
    padding: 1.3em 0;
    font-weight: normal;
    width: 100px;
}
td {
    padding-left: 2em;
    padding: 1.3em 0 1.3em 2em;
}
@media (max-width: 768px) {
    tr {
        display: block;
    }
    th {
        width: 100%;
        display: block;
        margin: 1em 0 .5em;
        padding: 0;
    }
    td {
        width: 100%;
        display: block;
        padding: 0;
        margin-bottom: 1em;
        padding-left: 1em;
    }
}

/*お問い合わせフォーム*/
.contents {
    width: 90%;
    margin: 0 auto 140px;
}
table.form label {
    margin-right: 1em;
}
.form_wrap {
    border: .25px solid #1a1a1a;
    border-radius: 10px;
    padding: 5px 25px 25px 25px;
    max-width: 900px;
    margin: 0 auto;
}
table.form th {
    width: 100%;
    display: block;
    padding: 1em 0 0;
    color: #111111;
    position: relative;
    padding-left: 1em;
}
table.form th::before {
    position: absolute;
    content: "●";
    font-size: var(--fsize-13);
    left: 0;
    color: #1eacec;
    top: 50%;
}
table.form_entry th::before {
    position: absolute;
    content: "●";
    font-size: var(--fsize-13);
    left: 0;
    color: #d7263d;
    top: 50%;
}
table.form td {
    width: 100%;
    display: block;
    padding: .5em 0 .5em 0em;
}
table.form td.radio {
    padding-top: 1em;
}
table.form input, table.form textarea {
    width: 100%;
    border: unset;
    line-height: 1.4;
    background-color: #e9f7fd;
    border-radius: 3px;
    font-size: 100%;
    padding: .5em;
}
table.form select {
    font-size: 100%;
}
#career_entry table.form input, #career_entry table.form textarea {
    background-color: #d7263d1a;
}
table.form textarea {
    resize: vertical;
    height: 10em;
}
table.form th.need::after {
    content: "必須";
    position: absolute;
    color: #d7263d;
    padding: .1em .6em;
    border: .25px solid #d7263d;
    border-radius: 25px;
    font-size: var(--fsize-14);
    top: 42%;
    margin-left: .5em;
}
table.form .radio input {
    width: auto;
    margin-right: .3em;
}
table.form tr:last-of-type {
    border-bottom: unset;
}
.wpcf7-submit {
    width: 300px;
    height: 100px;
    display: block;
    margin: 70px auto 0;
    color: #1eacec;
    border: 3px solid #1eacec;
    border-radius: 10px;
    font-size: var(--fsize-25);
    line-height: 94px;
    text-align: center;
    background: #fff;
    transition: .3s ease;
    font-family: var(--ffamily-zen-kaku);
    letter-spacing: 0.05em;
    font-weight: 500;
}
#career_entry .wpcf7-submit {
    color: #d7263d;
    border: 3px solid #d7263d;
}
.wpcf7-submit:disabled, #career_entry .wpcf7-submit:disabled {
    border: 1px solid #d6d6d6;
    background-color: #e4e4e4;
    color: #a2a2a2;
    cursor: default;
}
.wpcf7-submit:hover:not(:disabled) {
    background-color: #1eacec;
    color: #FFF;
    cursor: pointer;
}
#career_entry .wpcf7-submit:hover:not(:disabled) {
    background-color: #d7263d;
    color: #FFF;
}
.wpcf7-list-item {
    display: block;
    margin-bottom: .3em;
}
.privacy {
    max-width: 900px;
    margin: 50px auto 0;
    padding: 0 0px;
}
.privacy h5 {
    margin-bottom: 1em;
    text-align: center;
}
.privacy .check {
    margin-top: 1.8em;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.125rem;
    transition: .3s;
}
.privacy .check label {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .8em;
}
input[type="checkbox"] {
    position: relative;
    width: 20px;
    height: 20px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
input[type="checkbox"]:checked:after {
    opacity: 1;
}
input[type="checkbox"]:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 5px;
    background-color: #efefef;
    border: 2px solid #efefef;
    opacity: 1;
}
input[type="checkbox"]:after {
    content: '';
    position: absolute;
    left: 1px;
    top: 0;
    transform: rotate(-50deg);
    width: 16px;
    height: 10px;
    border-bottom: 4px solid #1eacec;
    border-left: 3px solid #1eacec;
    opacity: 0;
    transition: .3s;
}
#career_entry input[type="checkbox"]:after {
    border-bottom: 4px solid #d7263d;
    border-left: 3px solid #d7263d;
}
.form_wrap .point {
    font-size: var(--fsize-15);
    margin-top: .3em;
}
.form_wrap p {
    margin-bottom: .3em;
}
.wpcf7-not-valid-tip {
    color: #d7263d;
}
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
    border-color: unset;
    text-align: center;
    width: fit-content;
    margin: 0 auto;
    color: #d7263d;
}
@media (max-width: 950px) {
    .contents {
        margin: 0 auto 70px;
    }
}
@media (max-width: 768px) {
    table.form th {
        margin: 0;
    }
    table.form td {
        margin-bottom: 0;
    }
    .wpcf7-submit {
        width: 70%;
    }
}
@media (max-width: 600px) {
    table.form input, table.form textarea {
        font-size: 1rem;
    }
    table.form select {
        font-size: 1rem;
    }
}
@media (max-width: 500px) {
    .contents {
        margin-bottom: 70px;
    }
    .form_wrap {
        padding: 5px 5% 5% 5%;
        box-shadow: -.25px 0 0 #1a1a1a;
    }
    .privacy  {
        margin: 30px auto 0;
    }
    table.form th.need::after {
        top: 32%;
    }
    .wpcf7-submit {
        font-size: var(--fsize-19);
        height: 80px;
        line-height: 74px;
        margin: 50px auto 0px;
    }
    table.form td.radio {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .form_wrap .point {
        font-size: var(--fsize-13);
    }
}