@charset "utf-8";
/*
Theme Name:mrp-child
Template:mrp
Version: 1.0.0
*/
/*
DesignCode CSS: ver 0.01
*/
/*------------------------------------------------------
Theme Material
------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Noto+Sans+JP:wght@100..900&display=swap');

:root {
    --color-background: #EFEFEF;
    --color-font: #111;
    --color-wt: #fff;
    --color-bk: #111;
    --color-gr: #eee;
    --color-primary: #111;
    --color-primary-shade: #111;
    --color-primary-tint: #111;
    --color-secondary: #111;
    --color-secondary-tint: #111;
    --color-table-border: #ddd;
    --body-font-size: min(calc(1.6rem + (1vw - 1.92rem) * 0.1294), 1.6rem);
    --body-font-family: 'Noto Sans JP', sans-serif;
    --content-max-width: 1240px;
    --header-background: #EFEFEF;
    --header-color-font: #111;
    --header-color-primary: #111;
    --header-color-primary-shade: #111;
    --header-color-primary-tint: #111;
    --footer-background: #111;
    --footer-color-font: #fff;
    --footer-color-primary: #fff;
    --font-family01: "Noto Sans JP", sans-serif;
    --font-family02: "Montserrat", sans-serif;
    --font-awe: "Font Awesome 6 Free";
}


/*================================
common-reset
================================*/
* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-font-feature-settings: "palt";
    font-feature-settings: "palt";
}

a {
    color: var(--color-font);
    transition: 0.3s all;

    &:hover img {
        opacity: 1;
    }
}

#breadcrumb {
    position: relative;

    ul li,
    ul li a {
        color: var(--color-font);
    }
}

.post h1,
h1.title,
h1,
.post h2,
.post2b h2,
.post4b h2,
h2.title,
h2,
h3,
.post h3,
h4,
.post h4,
h5,
.post h5 {
    color: var(--color-font);
}

/*================================
common-tuning
================================*/
#content,
body:not(.home) #content.wide {
    padding: var(--px80) 0 var(--px100);
    position: relative;
}

#scrollUp {
    bottom: 30px !important;
    background: var(--color-font) !important;
}

@media print,
screen and (max-width: 768px) {
    #scrollUp {
        position: fixed;
        bottom: 70px !important;
    }
}

/*---投稿---*/
.post .time,
.postlist .time,
.post2b .time,
.post4b .time {
    background: var(--color-primary-shade);
}

.postlist li {
    border-bottom: 1px solid #ddd;
}

.postlist .post_text {
    padding-block: var(--px20);
}

.post2b h2,
.post4b h2,
.post2b h2 a,
.post4b h2 a {
    font-size: min(calc(2rem + (1vw - 1.92rem) * 0.1942), 2rem);
    font-weight: 700;
}

.post4b {
    .post4b_img {
        aspect-ratio: 4 / 3;

        img {
            max-height: 100%;
            max-width: 100%;
        }
    }

    .post4b_text {
        margin-top: 1em;
    }

    h2 {
        margin: 0.3em 0 0.5em 0 !important;
    }
}

@media print,
screen and (max-width: 768px) {
    .post4b li {
        margin: 0;
        padding-bottom: 2.5rem;
    }

    #content .post4b_img {
        max-width: 100%;
    }

    #content .post4b_text70 {
        width: 100%;
        margin-top: 1.5rem;
    }
}

.post4b li {
    .post4b_text {
        display: flex;
        flex-direction: column;
        margin-top: var(--px24);

        h2.cat-loop {
            order: 2;
        }

        p.time {
            display: inline-block;
            width: max-content;
            order: 1;

            span.ymd_in_list {
                display: none;
            }

            span.border_in_list {
                display: none;
            }
        }

        p.post4b_contents {
            order: 3;
            font-size: min(calc(1.5rem + (1vw - 1.92rem) * 0.1942), 1.5rem);
            font-weight: 400;
            color: var(--color-font);
            opacity: 1;
        }

        .post4b_link {
            display: none;
        }
    }
}

/*-------------
	下層ページtuning
-------------*/
.fw_contents {
    margin-top: 0;
    margin-bottom: 0;
}

#content:has(.fw_contents),
body:not(.home) #content:has(.fw_contents).wide {
    padding: 0;
}

.page_contents_inner+.page_contents_inner {
    margin-top: var(--px100);
}

.fw_contents .page_contents_inner {
    padding-block: var(--px100);
    margin-top: 0;
}

/*---テーブル---*/
.post table th {
    background: #111;
    color: #fff;
}

.post table td {
    color: var(--color-font);
    background: #fff;
}

/*================================
common utility
================================*/
.u-basewidth {
    max-width: var(--content-max-width);
    margin-left: auto;
    margin-right: auto;
    width: min(var(--content-max-width), 90%);
}

.u-mauto {
    margin-left: auto !important;
    margin-right: auto !important;
}

.u-ccwh {
    color: #fff;
}

.u-txtline-under {
    text-decoration: underline;
    transition: all ease 0.6s;

    &:hover {
        opacity: 0.6;
    }
}

li.u-disc {
    position: relative;

    &::before {
        content: "・" !important;
        display: inline-block !important;
        margin-right: 0.5em;
    }
}

/* アンカーリンク 遷移後の表示位置調整 */
.u-anchorLink-scroll {
    scroll-margin-top: 100px;
}

.u-anchorLink-view {
    padding-top: 100px;
    margin-top: -100px;
}

.anchor_link::before {
    padding-top: 100px;
    margin-top: -100px;
}

/*---font---*/
.u-fs16 {
    font-size: min(calc(1.6rem + (1vw - 1.92rem) * 0.3236), 1.6rem);
    /*1.6-1.1(1920-375)*/
    line-height: 2;
    font-weight: 400;
}

.u-fs14 {
    font-size: min(calc(1.4rem + (1vw - 1.92rem) * 0.1294), 1.4rem);
    line-height: 2;
    font-weight: 400;
}

/*================================
common parts[button]
================================*/

/*---link_btn---*/
.link_btn {
    color: #fff;
    width: auto;
    max-width: 100%;
    line-height: 1;
    padding: 0;
    background: var(--color-primary);
    border-radius: 0;
    border: none;
    z-index: 5;

    &:hover {
        background: var(--color-primary);
        opacity: 0.6;
    }

    &::before,
    &::after {
        content: none;
    }

    a {
        position: relative;
        padding: var(--px30) var(--px60);
        display: inline-block;
        color: #fff;
        font-size: min(calc(1.7rem + (1vw - 1.92rem) * 0.3472), 1.7rem);
        font-family: var(--font-family02);
        font-weight: 600;
        width: 100%;
        height: 100%;

        &::after {
            content: '\f138';
            display: inline-block;
            font-family: var(--font-awe);
            margin-left: 3px;
        }
    }

    &.ccwh {
        color: var(--color-font);
        border-color: #fff;
        background: #fff;

        a {
            color: var(--color-font);
        }
    }

    &.link_btn--wide {
        max-width: 360px;
        width: 100%;
        display: block;
        margin-inline: auto;
    }
}

@media screen and (max-width: 768px) {
    .link_btn {
        a {
            font-size: 1.3rem;
            padding-block: 1.5em;
        }
    }
}

/*---linkBtn---*/
.linkBtn:hover,
.post .linkBtn:hover {
    color: #fff;
    background: var(--color-primary);
    opacity: 0.6;
}

/*================================
common parts[title]
================================*/
.single-post h1.title {
    color: var var(--color-font);
}

.post h2.c-ttl,
h2.c-ttl {
    &.c-ttl__primary {
        color: var(--color-font);
        line-height: 1.7;
        margin: 0;
        font-size: min(calc(3.1rem + (1vw - 1.92rem) * 0.9549), 3.1rem);
        /*3.1-2(1920-768)*/
        font-family: var(--font-family01);
        font-weight: 900;
        letter-spacing: 0.1em;
        padding-bottom: 0;
        position: relative;

        &::before {
            display: none;
        }

        &::after {
            display: none;
        }

        .c-ttl__en {
            display: block;
            color: var(--color-font);
            font-size: min(calc(9rem + (1vw - 1.92rem) * 2.6042), 9rem);
            /*9-6(1920-768)*/
            font-family: var(--font-family02);
            line-height: 1;
            font-weight: 700;
            padding-top: 0;
            letter-spacing: 0;
        }
    }
}

@media screen and (max-width:768px) {

    .post h2.c-ttl,
    h2.c-ttl {
        &.c-ttl__primary {
            font-size: 1.7rem;

            .c-ttl__en {
                font-size: 5rem;
            }
        }
    }
}

body:not(.home) .post {

    h1:not([class]) {
        font-size: var(--rem40);
        font-family: var(--font-family02);
        font-weight: 600;
        letter-spacing: .02em;
        text-align: center;
        text-shadow: none;
        padding: 0;
        z-index: 20;
    }

    h2:not([class]) {
        font-size: min(calc(4rem + (1vw - 1.92rem) * 0.9709), 4rem);
        font-family: var(--font-family01);
        font-weight: 700;
        letter-spacing: .2rem;
        color: var(--color-font);
        padding: 0;
        margin: var(--px80) auto var(--px40);
        line-height: 1.4;
        text-align: center;
        border: none;
        padding: 0 0 0 0;
        line-height: 1.2;
        background: transparent;

        span {
            display: block;
            font-family: var(--font-family02);
            font-size: 0.4em;
            padding-top: 1em;
            font-weight: 700;
        }

        &::before {
            display: none;
            content: '';
            position: absolute;
            background: var(--color-font);
            width: 60px;
            height: 3px;
            left: 50%;
            bottom: 0;
            transform: translateX(-50%);
        }

        &::after {
            content: none;
        }
    }

    h3:not([class]) {
        position: relative;
        font-size: var(--rem24);
        font-family: var(--font-family01);
        color: var(--color-font);
        font-weight: 700;
        letter-spacing: .1rem;
        padding: 0;
        text-align: left;
        margin: var(--rem60) auto var(--rem20);
        border-left: double 4px var(--color-primary);
        border-bottom: none;
        padding-left: var(--rem16);

        span.subtxt {
            display: block;
            font-size: var(--rem14);
            font-weight: 400;
            margin: 0 0 var(--rem12);
        }

        &:has(.subtxt) {
            border: none;
            padding-left: 0;
        }
    }

    h4:not([class]) {
        position: relative;
        font-size: var(--rem18);
        font-family: var(--font-family04);
        color: var(--color-font);
        font-weight: 600;
        letter-spacing: .1rem;
        padding: var(--rem12);
        text-align: left;
        margin: var(--rem40) auto var(--rem14);
        border: solid 0.1rem;

        &::before,
        &::after {
            content: none;
        }
    }

    h1:not([class]):first-of-type,
    h2:not([class]):first-of-type,
    h3:not([class]):first-of-type,
    h4:not([class]):first-of-type {
        margin-top: 0;
    }
}

/*================================
common designcode
================================*/
/*---------col02-----------*/

.post {

    .col2_list {
        position: relative;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .col2_list>li {
        width: 48%;
        margin-bottom: 5%;

        .imgarea {
            overflow: hidden;
            aspect-ratio: 1.414/ 1;

            img {
                -o-object-fit: cover;
                object-fit: cover;
                width: 100%;
                height: 100%;
            }
        }
    }

    .col2_list.col2_minlist li {
        margin-bottom: 6px;
    }
}

@media print,
screen and (max-width: 640px) {
    .post {
        .col2_list>li {
            width: 100%;
        }

        .col2_list>li:last-child {
            margin-bottom: 0;
        }
    }
}

/*---------col03-----------*/

.post {

    .col3_list {
        position: relative;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .col3_list>li {
        width: 32%;
        margin-bottom: 2%;
    }

    .col3_list::before {
        content: "";
        display: block;
        width: 32%;
        height: 0;
        -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
        order: 1;
    }

    .col3_list:after {
        content: "";
        display: block;
        width: 32%;
        height: 0;
    }
}

@media print,
screen and (max-width: 960px) {
    .post {
        .col3_list>li {
            width: 48%;
            margin-bottom: 5%;
        }

        .col3_list::before,
        .col3_list:after {
            content: none;
        }
    }
}

@media print,
screen and (max-width: 640px) {
    .post {
        .col3_list>li {
            width: 100%;
        }

        .col3_list>li:last-child {
            margin-bottom: 0;
        }
    }
}


/*---------col4-----------*/

.post {

    .col4_list {
        position: relative;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .col4_list>li {
        width: 23%;
        margin-bottom: 1.5%;

        .imgarea {
            overflow: hidden;
            aspect-ratio: 1.414/ 1;

            img {
                -o-object-fit: cover;
                object-fit: cover;
                width: 100%;
                height: 100%;
            }
        }
    }

    .col4_list::before {
        content: "";
        display: block;
        width: 23%;
        height: 0;
        -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
        order: 1;
    }

    .col4_list:after {
        content: "";
        display: block;
        width: 23%;
        height: 0;
    }
}

@media print,
screen and (max-width: 1023px) {
    .post {
        .col4_list>li {
            width: 48%;
        }

        .col4_list::before,
        .col4_list:after {
            content: none;
        }
    }
}

@media print,
screen and (max-width: 640px) {
    .post {
        .col4_list>li {
            width: 100%;
        }

        .col4_list>li:last-child {
            margin-bottom: 0;
        }
    }
}

/*--幅フル100%背景色--*/
.widecolor {
    margin-right: calc(((100vw - 100%) / 2) * -1);
    margin-left: calc(((100vw - 100%) / 2) * -1);
    padding: var(--px100) calc((100vw - 100%) / 2);
    margin-top: var(--px100);
    background: #ffffff;
}

/*--幅フル100%--------------------------------------------*/
.widearea {
    margin-right: calc(((100vw - 100%) / 2) * -1);
    margin-left: calc(((100vw - 100%) / 2) * -1);
}

/*================================
common layout[header]
================================*/
@media print,
screen and (min-width: 1024px) {
    body:not(.home)::before {
        background: #fff;
        clip-path: polygon(0 0, 100% 0, 0 100%);
        width: 50%;
        height: 50vh;
        position: absolute;
        left: 0;
        top: 0;
        z-index: 0;
        content: '';
    }

    #header {
        height: var(--px160);
        position: relative;
        background: transparent;

        #header-layout {
            .logo {
                padding: 0 0 0 var(--px40);

                img {
                    max-width: 264px;
                    max-height: min(calc(46px + (1vw - 19.2px) * 2.2321), 46px);
                    /*46-26(1920-1024)*/
                    transition: opacity 0.6s ease;

                    &:hover {
                        opacity: 0.7;
                    }
                }
            }

            .header__nav-contact {
                flex-shrink: 1;

                nav#mainNav ul li a {
                    flex-direction: row;
                    font-feature-settings: 'palt';
                    padding-inline: min(calc(1.6rem + (1vw - 1.92rem) * 0.6696), 1.6rem);
                    /*1.6-1(1920-1024)*/
                    font-size: min(calc(1.6rem + (1vw - 1.92rem) * 0.3348), 1.6rem);
                    /*1.6-1.3(1920-1024)*/

                    b {
                        font-weight: 600;
                    }

                    &:hover {
                        opacity: 0.9;
                    }
                }

                ul.header__contact {
                    margin-left: min(calc(4rem + (1vw - 1.92rem) * 2.2321), 4rem);
                    /*4-2(1920-1024)*/

                    a.head_btn {
                        width: 100%;
                        padding: 0;
                        font-family: var(--font-family02);
                        font-weight: 800;
                        gap: 0.2em;
                        aspect-ratio: 1 / 1;
                        font-size: 1.3rem;
                        transition: opacity 0.6s ease;

                        &.mail_btn::before {
                            font-size: var(--px18);
                        }

                        &:hover {
                            opacity: 0.7;
                        }
                    }
                }
            }
        }
    }

    /*sub-menu*/
    nav#mainNav ul.sub-menu>li:has(ul.sub-menu)>a::after {
        content: '\f105' !important;
    }

    nav#mainNav ul li a:active,
    nav#mainNav ul li a:hover,
    nav#mainNav ul li.current-menu-ancestor a,
    nav#mainNav ul li.current-menu-item a,
    nav#mainNav ul li.current-menu-parent a {
        background: transparent;
        opacity: 1;
    }

    nav#mainNav ul li.current-menu-item a b,
    nav#mainNav ul li a:hover b,
    nav#mainNav ul li a:active b,
    nav#mainNav ul li.current-menu-parent a b {
        color: inherit;
    }

    nav#mainNav ul li li.current-menu-item a,
    nav#mainNav ul li.current-menu-ancestor li.current-menu-item a {
        background: rgba(255, 255, 255, 1);
        color: var(--color-font);
    }

    nav#mainNav ul li ul.sub-menu li a:hover {
        background: rgba(255, 255, 255, 0.6);
        color: var(--color-font);
    }

    nav#mainNav ul li li a,
    nav#mainNav ul li li.current-menu-item li a,
    nav#mainNav ul li.current-menu-ancestor li a,
    nav#mainNav ul li.current-menu-item li a {
        color: var(--color-font);
    }

    .sticky-header #header {
        &>.inner {
            background: rgba(255, 255, 255, 0.8);

            #header-layout {
                height: 100px;

                .logo {
                    padding-left: var(--px20);
                }
            }
        }
    }
}

@media screen and (max-width:1023px) {
    #sp-header .mark img {
        max-width: 150px;
    }
}

/*================================
common layout[footer]
================================*/
#footer {
    padding-block: var(--px100) var(--px120);

    .footer__logo:not(:last-child) {
        margin-bottom: 0;

        img {
            max-width: 120px;
            max-height: 91px;
        }
    }

    p.c-footlead {
        text-align: center;
        font-size: var(--px18);
        font-weight: 800;
        letter-spacing: 0.15em;
        margin-block: 0.5em 1em;
    }

    .footnav:not(:last-child) {
        margin-bottom: 0;
    }

    #copyright {
        margin-block: var(--px20) 0;
    }
}

/*================================
common layout[mainIMG]
================================*/
@media print,
screen and (min-width: 1024px) {
    html:not(.mobile) #mainImg {
        margin-top: calc(var(--px160) * -1);
    }
}

/*================================
common layout[CONTACT]
================================*/
ul.c-phonelist {
    display: flex;
    justify-content: center;
    gap: 1rem;

    li a {
        background: var(--color-primary);
        color: #fff;
        border-radius: 100px;
        padding: 2rem 3rem;
        font-size: var(--rem18);
        font-weight: 600;
        transition: all ease 0.6s;

        &:hover {
            opacity: 0.8;
        }
    }
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="date"],
input[type="url"],
input[type="number"],
select,
textarea {
    vertical-align: middle;
    line-height: 30px;
    min-height: 50px;
    padding: 10px;
    border-radius: 0;
    color: var(--color-font);
    background: #fff;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

span.wpcf7-form-control.wpcf7-checkbox.wpcf7-validates-as-required {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 7px;
}

span.wpcf7-list-item {
    margin: 0;
}

.wpcf7-form {
    label {
        background: #fff;
        border-radius: 10px;
        padding: 6px 12px 8px 6px;
        display: block
    }
}

.wpcf7-form {
    padding: 0;
}

.wpcf7-form a {
    color: var(--color-font);
    border-bottom: solid 1px;
}

.wpcf7-form a:hover {
    color: var(--color-font);
    opacity: 0.6;
    border-bottom: solid 1px #aaa;
}

.wpcf7-form .must {
    background: #cc0000;
}

div.wpcf7 .ajax-loader {
    display: none;
}

/*--------submit_btn-------*/

.linkBtn.submit_btn {
    padding: 0;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 320px;
}

.post .subimitarea .linkBtn input[type="submit"] {
    width: 100%;
    display: block;
    font-size: var(--px16);
    font-weight: 600;
    font-family: var(--font-family03);
    letter-spacing: .01em;
    text-align: center;
    padding: var(--px16) var(--px20);
    -webkit-transition: 0.7s all;
    -o-transition: 0.7s all;
    transition: 0.7s all;
    z-index: 1;
    position: relative;
    -webkit-transition: .3s ease;
    -o-transition: .3s ease;
    transition: .3s ease;
}

.post .linkBtn.submit_btn::after {
    content: none;
}

.submit_btn .wpcf7-spinner,
.post .submit_btn .wpcf7-spinner {
    margin: 0;
    top: calc(100% + 15px);
}

.linkBtn input[type="submit"]:hover,
.post .linkBtn input[type="submit"]:hover {
    background: var(--color-primary);
    color: #fff;
    opacity: 0.6;
}

.post .wpcf7 {
    .subimitarea .linkBtn {
        padding: 0;

        input[type="submit"] {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 100%;
            height: 100%;
        }
    }
}

/*================================
common layout[THANKS]
================================*/
#thanks h2 {
    text-align: left;

    &:before,
    &:after {
        content: none;
    }
}

/*================================
common layout[404]
================================*/

body.error404 #wrapper section h1 {
    padding: 0;
    font-family: var(--font-family01);
    background: transparent;
    margin: 20px 0 calc(40px + (1vw - 19.2px) * 1.6828) 0;
    /*40px-14px*/
    color: var(--color-font);
    font-weight: 500;
    font-size: calc(3rem + (1vw - 1.92rem) * 0.6472);
    /*3rem-1.7rem*/
    line-height: 1.4;
    letter-spacing: -1px;
    padding-bottom: 10px;
    border-bottom: solid 1px var(--color-font);
    width: 100%;
}

/*================================
common layout[PRIVACY]
================================*/
#privacy h3 {
    font-size: var(--rem20);
    font-weight: 800;
}

/*================================
common layout[HISTORY]
================================*/

.post .list_style01 li {
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    flex-shrink: 0;
    border-bottom: solid 1px #ddd;
}

.post .list_style01 li .head {
    width: 25%;
    padding: min(calc(10px + (1vw - 19.2px) * 0.3236), 10px) min(calc(15px + (1vw - 19.2px) * 0.4531), 15px);
    /* 30-20px 15-10px (1920-375) */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.post .list_style01 li .body {
    width: 75%;
    padding: min(calc(10px + (1vw - 19.2px) * 0.3236), 10px) min(calc(15px + (1vw - 19.2px) * 0.4531), 15px);
    /* 30-20px 15-10px (1920-375) */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.post .list_style01 li:nth-child(odd) {
    background: #eee;
}

@media only screen and (max-width: 640px) {
    .post .list_style01 li {
        flex-direction: column;
    }

    .post .list_style01 li .head {
        width: 100%;
        padding-bottom: 0;
    }
}

/*================================
フロントページ
================================*/
/* ==========================================================================
   Component Styles reset
   Scope: .post .package_parts
   ========================================================================== */

/* ボックスモデルの統一 */
.post .package_parts,
.post .package_parts * {
    box-sizing: border-box;
}

/* --- 見出し(h1-h6)のリセット --- */

.post .package_parts h1,
.post .package_parts h2,
.post .package_parts h3,
.post .package_parts h4,
.post .package_parts h5,
.post .package_parts h6 {
    margin: 0;
    padding: 0;
    border: none;
    /* 親テーマの線を消す */
    background: none;
    /* 親テーマの背景を消す */
    font-size: 100%;
    font-weight: normal;
    color: inherit;
    line-height: 1.5;
    box-shadow: none;
    text-shadow: none;
    width: auto;
    position: static;
}

/* 見出しの擬似要素(アイコン等)を消去 */
.post .package_parts h1::before,
.post .package_parts h1::after,
.post .package_parts h2::before,
.post .package_parts h2::after,
.post .package_parts h3::before,
.post .package_parts h3::after,
.post .package_parts h4::before,
.post .package_parts h4::after,
.post .package_parts h5::before,
.post .package_parts h5::after,
.post .package_parts h6::before,
.post .package_parts h6::after {
    content: none;
    display: none;
    background: transparent;
}

/* --- リスト(ul, ol, li)のリセット --- */
.post .package_parts ul,
.post .package_parts ol {
    list-style: none;
    margin: 0;
    padding: 0;
    background: none;
}

.post .package_parts li {
    list-style: none;
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    display: block;
    width: auto;
}

.post .package_parts li::before,
.post .package_parts li::after {
    content: none;
    display: none;
}

/* --- 定義リスト(dl, dt, dd)のリセット --- */
.post .package_parts dl,
.post .package_parts dt,
.post .package_parts dd {
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    font-weight: normal;
    line-height: 1.5;
}

/* --- その他タグのリセット --- */
.post .package_parts p,
.post .package_parts figure,
.post .package_parts blockquote,
.post .package_parts dl,
.post .package_parts dt,
.post .package_parts dd {
    margin: 0;
    padding: 0;
    background: none;
    border: none;
}

.post .package_parts table {
    border-collapse: collapse;
    margin: 0;
    padding: 0;
    width: 100%;
    border: none;
    background: none;
}

.post .package_parts th,
.post .package_parts td {
    padding: 0;
    border: none;
    background: none;
    text-align: left;
}

/* --- 画像のリセット --- */
.post .package_parts img {
    padding: 0 !important;
    border: none !important;
    margin: 0;
    max-width: 100%;
    height: auto;
    box-shadow: none !important;
    vertical-align: bottom;
    float: none;
    background: none !important;
}

/* --- リンクのリセット --- */
.post .package_parts a {
    text-decoration: none;
    color: inherit;
    transition: none;
    border: none;
}

/* --- WordPress固有クラスの無効化 --- */
.post .package_parts .aligncenter,
.post .package_parts .alignleft,
.post .package_parts .alignright {
    float: none;
    margin: 0;
    display: inline;
}


/* --- Main Styles --- */

.post .package_parts,
.package_parts {
    .c-concept {
        position: relative;
        text-align: center;
        z-index: 1;
        padding-block: var(--px100) 50px;
        padding-inline: 5%;
    }

    .c-concept__bg-text {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        font-family: var(--font-family02);
        font-size: 13vw;
        font-weight: 700;
        color: #fff;
        line-height: 0.9;
        white-space: nowrap;
        z-index: -1;
        pointer-events: none;
        top: 20px;
    }

    .c-concept__inner {
        max-width: 1380px;
        margin: 0 auto;
        width: min(1380px, 100%);
    }

    h2.c-concept__title {
        font-size: var(--px50);
        font-weight: 900;
        color: var(--color-font);
        line-height: 1.4;
        margin-bottom: var(--px40);

        &::after {
            content: none;
        }
    }

    .c-concept__desc {
        font-size: var(--rem14);
        line-height: 2;
        letter-spacing: 0.08em;
        font-weight: 500;
    }

    .c-concept__desc p {
        margin-bottom: 8px;
    }

    .c-concept__desc p:last-child {
        margin-bottom: 0;
    }

    .c-concept__list {
        display: flex;
        gap: 5px 10px;
        margin-bottom: var(--px60);
        margin-top: var(--px60);
        flex-wrap: wrap;
        justify-content: center;
    }

    .c-concept__item {
        position: relative;
        max-width: none;
        width: 30%;
        border-radius: 50%;
        overflow: hidden;
        aspect-ratio: 1 / 1;
    }

    .c-concept__figure {
        width: 100%;
        height: 100%;
        aspect-ratio: 1 / 1;
        overflow: hidden;
    }

    .c-concept__figure img {
        width: 100%;
        height: 100%;
        max-width: none;
        max-height: none;
        object-fit: cover;
    }

    .c-concept__item-text {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: #fff;
        font-size: var(--px30);
        font-weight: bold;
        z-index: 2;
    }
}

@media screen and (min-width: 768px) {

    .post .package_parts,
    .package_parts {
        .c-concept {
            padding-block: var(--px100) min(calc(21rem + (1vw - 1.92rem) * 10.4167), 21rem);
        }

        .c-concept__bg-text {
            position: absolute;
            font-size: min(calc(23rem + (1vw - 1.92rem) * 11.2847), 23rem);
            /*23-10(1920-768)*/
            top: calc(0rem + (1vw - 1.92rem) * -0.8681);
        }

        .c-concept__list {
            gap: var(--px20);
        }

        .c-concept__item {
            flex: 1;
            max-width: var(--px260);
            width: 100%;
        }

        .c-concept__item-text {
            font-size: min(calc(3.5rem + (1vw - 1.92rem) * 1.3021), 3.5rem);
            /*3.5-2(1920-768)*/
        }

        .c-concept__btn {
            font-size: var(--px16);
            padding: var(--px24) var(--px80);
        }
    }
}

.post .package_parts,
.package_parts {
    .c-service {
        background-color: #111;
        position: relative;
        padding-inline: 5%;
        padding-block: var(--px100);
    }

    .c-service__header {
        margin-bottom: 30px;
    }

    .c-service__title-en {
        font-family: var(--font-family02);
        font-size: 5rem;
        font-weight: 700;
        line-height: 0.8;
        color: #fff;
        text-align: left;
        margin: 0;
    }

    .c-service__title-ja {
        font-size: var(--px30);
        font-weight: bold;
        color: #fff;
        letter-spacing: 0.1em;
        margin-top: 0.7em;
    }

    .c-service__main {
        display: flex;
        flex-direction: column;
        margin-bottom: var(--px100);
        gap: 30px;
    }

    .c-service__main-content {
        color: #fff;
    }

    .c-service__main-inner {
        display: inline-block;
        background: #111;
        padding: 0;

        .link_btn {
            max-width: min(calc(27rem + (1vw - 1.92rem) * 6.0764), 27rem);
            width: 100%;
        }
    }

    .c-service__main-title {
        font-size: 2.8rem;
        color: #fff;
        padding: 0;
        margin: 0 0 var(--px40) 0;
        font-weight: 900;
        letter-spacing: 0.05em;
        line-height: 1;
    }

    .c-service__main-subtitle {
        display: block;
        font-size: var(--px14);
        font-weight: 700;
        margin-top: 1.7em;
        font-family: var(--font-family02);
        letter-spacing: 0;
    }

    .c-service__main-desc {
        font-size: 1.2rem;
        line-height: 2.2;
        margin-bottom: 2rem;
        font-weight: 500;
        letter-spacing: 0.1em;
    }

    .c-service__main-desc p {
        margin-bottom: var(--px16);
    }

    .c-service__main-desc p:last-child {
        margin-bottom: 0;
    }

    .c-service__btn-wrap {
        display: flex;
    }

    .c-service__btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background-color: var(--color-background);
        color: var(--color-primary-shade);
        font-size: var(--px14);
        font-weight: bold;
        padding: var(--px16) var(--px50);
        min-width: var(--px200);
    }

    .c-service__btn-icon {
        display: inline-block;
        width: 6px;
        height: 6px;
        border-top: 2px solid var(--color-primary-shade);
        border-right: 2px solid var(--color-primary-shade);
        transform: rotate(45deg);
        margin-left: var(--px12);
    }

    .c-service__main-image {
        width: 100%;
        overflow: hidden;
        aspect-ratio: 1320/924;
    }

    .c-service__main-image img {
        width: 100%;
        height: 100%;
        max-width: none;
        max-height: none;
        object-fit: cover;
    }

    .c-service__list {
        display: flex;
        flex-direction: column;
        gap: var(--px80);
        margin: 0 auto;
        width: 100%;
    }

    .c-service__item {
        display: flex;
        flex-direction: column;
        color: #fff;
    }

    .c-service__item-image {
        width: 100%;
        aspect-ratio: 326/280;
        overflow: hidden;
        order: 4;
        margin-top: 20px;
    }

    .c-service__item-image img {
        width: 100%;
        height: 100%;
        max-width: none;
        max-height: none;
        object-fit: cover;
    }

    .c-service__item-title {
        font-weight: bold;
        line-height: 1.4;
        letter-spacing: 0.03em;
        font-size: 2.3rem;
        margin-block: 0 0.5em;
    }

    .c-service__item-desc {
        font-size: 1.2rem;
        line-height: 2;
        letter-spacing: 0.02em;
    }
}

/* --- Media Query --- */

@media screen and (min-width: 768px) {

    .post .package_parts,
    .package_parts {

        .c-service {
            padding-block: 0 min(calc(18rem + (1vw - 1.92rem) * 9.5486), 18rem);
            padding-inline: 0;
        }

        .c-service__header {
            position: absolute;
            left: min(calc(11rem + (1vw - 1.92rem) * 5.2083), 11rem);
            top: calc(-10rem + (1vw - 1.92rem) * -6.0764);
            z-index: 5;
            margin: 0;
        }

        .c-service__title-en {
            font-size: min(calc(20rem + (1vw - 1.92rem) * 11.2847), 20rem);
        }

        .c-service__title-ja {
            font-size: min(calc(3rem + (1vw - 1.92rem) * 1.3021), 3rem);
            margin-top: min(calc(1.5rem + (1vw - 1.92rem) * 0.4340), 1.5rem);
        }

        .c-service__main {
            flex-direction: row;
            align-items: flex-end;
            margin-bottom: var(--px120);
            gap: 0;
        }

        .c-service__main-inner {
            padding: calc(16rem + (1vw - 1.92rem) * 11.2847) calc(20rem + (1vw - 1.92rem) * 14.7569) calc(3rem + (1vw - 1.92rem) * 2.6042) 0;
        }

        .c-service__main-content {
            position: absolute;
            max-width: 1400px;
            width: min(1400px, 90%);
            margin-inline: auto;
            left: 50%;
            transform: translateX(-50%);
        }

        .c-service__main-title {
            font-size: min(calc(5.5rem + (1vw - 1.92rem) * 3.2986), 5.5rem);
            margin-bottom: min(calc(6rem + (1vw - 1.92rem) * 3.4722), 6rem);
        }

        .c-service__main-subtitle {
            font-size: var(--px20);
            margin-top: calc(1.7rem + (1vw - 1.92rem) * 0.4340);
        }

        .c-service__main-desc {
            font-size: min(calc(1.7rem + (1vw - 1.92rem) * 0.6076), 1.7rem);
            margin-bottom: min(calc(7rem + (1vw - 1.92rem) * 4.3403), 7rem);
            line-height: 2.4;
        }

        .c-service__main-image {
            max-width: 1320px;
            margin-left: auto;
            width: 69.3%;
            order: 1;
            margin-top: 0;
        }

        .c-service__list {
            flex-direction: row;
            gap: var(--px30);
            max-width: 1400px;
            width: min(1400px, 90%);
        }

        .c-service__item {
            width: calc((100% / 4) - (var(--px30)));
        }

        .c-service__item-title {
            font-size: var(--px20);
            margin-block: 1.5em 0.7em;
        }

        .c-service__item-desc {
            font-size: min(calc(1.5rem + (1vw - 1.92rem) * 0.2604), 1.5rem);
        }
    }
}

/* --- Client Logo --- */

.post .package_parts,
.package_parts {
    .c-client-logo {
        max-width: 1400px;
        width: min(1400px, 100%);
        margin-inline: auto;
        margin-top: var(--px100);
    }

    .c-client-logo__title {
        font-size: var(--px16);
        text-align: center;
        font-weight: 900;
        margin-bottom: var(--px40);
        letter-spacing: 0.1em;
    }

    .c-client-logo__list {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
    }

    .c-client-logo__item {
        width: 30%;
    }

    .c-client-logo__figure {
        aspect-ratio: 272/80;
        overflow: hidden;
    }

    .c-client-logo__figure img {
        width: 100%;
        height: 100%;
        max-width: none;
        max-height: none;
        object-fit: cover;
    }
}

@media screen and (min-width: 768px) {

    .post .package_parts,
    .package_parts {

        .c-client-logo__title {
            font-size: var(--px24);
        }

        .c-client-logo__item {
            flex: 1;
            width: calc((100% / 5) - 10px);
        }
    }
}

/* --- Team --- */

.post .package_parts,
.package_parts {

    .c-team__header {
        position: absolute;
        text-align: right;
        top: calc(-8rem + (1vw - 1.92rem) * -3.4722);
        text-align: right;
        right: 5%;
    }

    .c-team {
        display: flex;
        flex-direction: column;
        gap: var(--px60);
    }

    .c-leader {
        display: flex;
        flex-direction: column;
        gap: var(--px30);
    }

    h2.c-team__title-en {
        line-height: 0.8;
        font-family: var(--font-family02);
        font-weight: 600;
        letter-spacing: 0;
        font-size: 6rem;
        text-align: right;
    }

    p.c-team__title-ja {
        font-size: var(--px30);
        font-weight: 900;
        letter-spacing: 0.1em;
        margin-top: 0.8em;
        display: inline-block;
    }

    .c-leader__figure {
        aspect-ratio: 700/729;
        overflow: hidden;
    }

    .c-leader__figure img {
        width: 100%;
        height: 100%;
        max-width: none;
        max-height: none;
        object-fit: cover;
    }

    .c-leader__info {
        display: flex;
        flex-direction: column;

        .link_btn {
            max-width: min(calc(27rem + (1vw - 1.92rem) * 6.0764), 27rem);
        }
    }

    .c-leader__role {
        font-size: var(--px30);
        font-weight: 900;
        letter-spacing: 0.15em;
        margin-bottom: 0.3em;
    }

    .c-leader__name {
        font-size: var(--px50);
        font-weight: 900;
        margin-bottom: 0.2em;
        line-height: 1;
    }

    .c-leader__en {
        font-size: var(--px12);
        margin-bottom: var(--px24);
        letter-spacing: 0.05em;
        font-family: var(--font-family02);
        font-weight: 700;
    }

    .c-leader__desc {
        font-size: min(calc(1.5rem + (1vw - 1.92rem) * 0.2589), 1.5rem);
        line-height: 2;
        margin-bottom: var(--px50);
        font-weight: 500;
    }

    .c-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background-color: var(--color-primary-shade);
        color: var(--color-background);
        padding: var(--px16) var(--px40);
        font-size: var(--px14);
        font-weight: bold;
        text-decoration: none;
        min-width: 200px;
    }

    .c-btn::after {
        content: "";
        display: inline-block;
        width: 6px;
        height: 6px;
        border-top: 2px solid var(--color-background);
        border-right: 2px solid var(--color-background);
        transform: rotate(45deg);
        margin-left: 10px;
    }

    .c-member-list {
        display: flex;
        flex-direction: column;
        gap: var(--px40);
    }

    .c-member-list__item {
        display: flex;
        flex-direction: column;
        gap: var(--px24);
        text-align: center;
    }

    .c-member-list__figure {
        aspect-ratio: 446/465;
        overflow: hidden;
    }

    .c-member-list__figure img {
        width: 100%;
        height: 100%;
        max-width: none;
        max-height: none;
        object-fit: cover;
    }

    .c-member-list__info {
        display: flex;
        flex-direction: column;
    }

    .c-member-list__role {
        font-size: min(calc(1.7rem + (1vw - 1.92rem) * 0.4340), 1.7rem);
        margin-bottom: 0.6em;
        line-height: 1;
        font-weight: 500;
    }

    .c-member-list__name {
        font-size: var(--px40);
        font-weight: 600;
        line-height: 1;
    }

    .c-team__btn-wrap {
        display: flex;
        justify-content: center;
        margin-top: var(--px20);
    }
}

@media screen and (min-width: 768px) {

    .post .package_parts,
    .package_parts {
        .c-team {
            gap: var(--px80);
        }

        h2.c-team__title-en {
            font-size: min(calc(20rem + (1vw - 1.92rem) * 11.2847), 20rem);
        }

        .c-team__header {
            position: absolute;
            right: min(calc(10rem + (1vw - 1.92rem) * 5.2083), 10rem);
            top: calc(-8rem + (1vw - 1.92rem) * -3.4722);
            text-align: right;
        }

        .c-leader {
            flex-direction: row;
            align-items: center;
            gap: var(--px100);
            justify-content: space-between;
        }

        .c-leader__figure {
            width: 50%;
        }

        .c-leader__info {
            flex-grow: 1;
        }

        .c-leader__role {
            font-size: var(--px20);
        }

        .c-leader__name {
            font-size: var(--px50);
        }

        .c-member-list {
            flex-direction: row;
            flex-wrap: wrap;
            gap: var(--px60) var(--px30);
        }

        .c-member-list__item {
            width: calc(33.333% - var(--px30) * 2 / 3);
        }

        .c-member-list__name {
            font-size: var(--px30);
        }
    }
}

/* --- Banner Link --- */

.post .package_parts,
.package_parts {
    .c-banner-link {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .c-banner-link__item {
        position: relative;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: var(--px30);
        min-height: auto;
        overflow: hidden;
    }

    .c-banner-link__bg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -1;
    }

    .c-banner-link__bg img {
        width: 100%;
        height: 100%;
        max-width: none;
        max-height: none;
        object-fit: cover;
    }

    .c-banner-link__content {
        position: relative;
        z-index: 1;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid var(--color-background);
    }

    .c-banner-link__inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        color: #fff;
        padding-block: var(--px100);
    }

    .c-banner-link__en {
        font-family: var(--font-family02);
        font-size: var(--px60);
        font-weight: 700;
        line-height: 0.8;
        margin-bottom: 0.1em;
        letter-spacing: 0;
    }

    .c-banner-link__ja {
        font-size: min(calc(2.2rem + (1vw - 1.92rem) * 0.4531), 2.2rem);
        font-weight: 700;
        margin-bottom: var(--px30);
    }

    .c-banner-link__desc {
        font-size: 1.1rem;
        line-height: 2;
        margin-bottom: var(--px40);
    }

    .c-banner-link__btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background-color: var(--color-background);
        color: var(--color-primary-shade);
        padding: var(--px20) var(--px50);
        font-size: var(--px14);
        font-weight: bold;
        text-decoration: none;
        min-width: 240px;
        transition: opacity 0.6s ease;

        &:hover {
            opacity: 0.7;
        }
    }

    .c-banner-link__btn::after {
        content: "";
        display: inline-block;
        width: 6px;
        height: 6px;
        border-top: 2px solid var(--color-primary-shade);
        border-right: 2px solid var(--color-primary-shade);
        transform: rotate(45deg);
        margin-left: 10px;
    }
}

@media screen and (min-width: 768px) {

    .post .package_parts,
    .package_parts {
        .c-banner-link {
            flex-direction: row;
        }

        .c-banner-link__item {
            flex: 1;
            padding: var(--px50);
            min-height: 720px;
        }

        .c-banner-link__inner {
            padding-block: 0;
        }

        .c-banner-link__desc {
            font-size: min(calc(1.5rem + (1vw - 1.92rem) * 0.3472), 1.5rem);
            line-height: 2.2;
        }
    }
}

.l-works {
    position: relative;

    .l-works__inner {
        max-width: 1600px;
        width: min(1600px, 90%);
        margin-inline: auto;
        padding-block: var(--px160) min(calc(22rem + (1vw - 1.92rem) * 8.6806), 22rem);

        .link_btn.link_btn--wide {
            margin-inline: auto;
            display: block;
        }
    }
}

.l-team {
    background: #fff;
    position: relative;

    .l-team__inner {
        max-width: 1400px;
        width: min(1400px, 90%);
        margin-inline: auto;
        padding-block: calc(15rem + (1vw - 1.92rem) * 6.0764) var(--px200);
    }
}

@media screen and (max-width: 768px) {
    .l-team {
        .l-team__inner {
            padding-block: 80px;
        }
    }
}

.l-column {
    position: relative;

    .l-column__inner {
        max-width: 1400px;
        width: min(1400px, 90%);
        margin-inline: auto;
        padding-block: var(--px160);
    }
}

.u-cornerimg01 {
    &::before {
        content: "";
        display: inline-block;
        background: url(/wp-content/uploads/cornerimg01.png) no-repeat center / contain;
        aspect-ratio: 770 / 65;
        width: 40%;
        height: auto;
        position: absolute;
        top: var(--px50);
        right: var(--px50);
    }

    &.u-cornerimg01--reverse::before {
        transform: scaleX(-1);
        right: auto;
        left: var(--px50);
    }
}

.u-cornerimg02 {
    &::after {
        content: "";
        display: inline-block;
        background: url(/wp-content/uploads/cornerimg02.png) no-repeat center / contain;
        aspect-ratio: 770 / 65;
        width: 40%;
        height: auto;
        position: absolute;
        bottom: var(--px50);
        left: var(--px50);
    }

    &.u-cornerimg02--reverse::after {
        transform: scaleX(-1);
        left: auto;
        right: var(--px50);
    }
}

@media screen and (max-width: 768px) {
    .u-cornerimg01 {
        &::before {
            top: var(--px30);
            right: var(--px30);
            width: 60%;
        }

        &.u-cornerimg01--reverse::before {
            left: var(--px30);
        }
    }

    .u-cornerimg02 {
        &::after {
            bottom: var(--px30);
            left: var(--px30);
            width: 60%;
        }

        &.u-cornerimg02--reverse::after {
            right: var(--px30);
        }
    }
}

/*--------------------------------------------------
	下層ページ
--------------------------------------------------*/
/*--------------------
	よく使うCBP用下層アイキャッチ周りの設定01
--------------------*/
header#h1Header {
    background: transparent;
    height: auto;
    z-index: 0;
    overflow: visible;
    margin-top: 0;

    &::before {
        content: none;
        background: #Efefef;
        clip-path: polygon(0 0, 100% 0, 0 100%);
        width: 45%;
        height: 30vh;
        position: absolute;
        left: 0;
        top: 0;
        z-index: 0;
        opacity: 1;
    }

    & h1.title {
        position: relative;
        padding-block: 0 calc(7rem + (1vw - 1.92rem) * 2.5890);
        /*70-30(1920-1024)*/
        padding-inline: 5%;
        transform: none;
        color: var(--color-font);
        font-size: var(--px50);
        font-weight: 800;
        font-family: var(--font-family02);

        &::before {
            content: "";
            position: absolute;
            bottom: 0px;
            width: min(1500px, 90%);
            height: 1px;
            left: 50%;
            transform: translateX(-50%);
            max-width: 1500px;
            background: rgb(204, 204, 204);
        }
    }
}

body:not(.home) header#h1Header {
    & h1.title {
        padding-top: 0;
    }
}

@media screen and (max-width:1023px) {
    body:not(.home) header#h1Header {
        & h1.title {
            padding-top: var(--px50);
        }
    }
}

/*--------------------
会社概要
--------------------*/
/*--テーブル--------------------------------------------*/

.post table.table_style02,
.post table.table_style02 th,
.post table.table_style02 td {
    border-width: 1px 0;
    border-color: var(--color-table-border);
}

.post table.table_style02 {
    margin: min(calc(30px + (1vw - 19.2px) * 0.6472), 30px) auto;
    /* 30-20px (1920-375) */
}

.post table.table_style02 th,
.post table.table_style02 td {
    font-size: min(calc(1.6rem + (1vw - 19.2px) * 0.1294), 1.6rem);
    padding: min(calc(20px + (1vw - 19.2px) * 0.5580), 20px) min(calc(15px + (1vw - 19.2px) * 0.3236), 15px);
    /* 20-15px 15-10px (1920-375) */
}

.post table.table_style02 th {
    width: 25%;
    font-weight: 600;
    background: #222;
    color: #fff;
}

.post table.table_style02:first-child {
    margin-top: 0;
}

.post table.table_style02:last-child {
    margin-bottom: 0;
}

/* --- Main Styles --- */

.post .package_parts,
.package_parts {

    .c-philosophy__header {
        text-align: center;
        margin-bottom: var(--px40);
        font-weight: 400;
    }

    .c-philosophy__title {
        font-size: var(--px24);
        font-weight: 700;
        margin-bottom: var(--px24);
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        border: none;
        background: none;
    }

    .c-philosophy__title::after {
        content: "";
        display: block;
        width: var(--px50);
        height: 2px;
        background-color: var(--color-primary-shade);
    }

    .c-philosophy__desc {
        font-size: var(--body-font-size);
        line-height: 1.8;
    }

    .c-philosophy__list {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--px30) var(--px60);
    }

    .c-philosophy__item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: calc((100% - (var(--px60) * 2)) / 3);
    }

    .c-philosophy__img {
        width: 100%;
        max-width: 390px;
        aspect-ratio: 1 / 1;
        border-radius: 50%;
        overflow: hidden;
        margin-bottom: var(--px20);
    }

    .c-philosophy__img img {
        width: 100%;
        height: 100%;
        max-width: none;
        max-height: none;
        object-fit: cover;
    }

    .c-philosophy__name {
        font-size: var(--px30);
        font-weight: 800;
        margin-bottom: 0.2em;
        line-height: 1;
    }

    .c-philosophy__text {
        font-size: min(calc(2rem + (1vw - 1.92rem) * 0.4531), 2rem);
        font-weight: 400;
        line-height: 1.4;
    }
}

/* --- Media Query --- */

@media screen and (max-width: 768px) {

    .post .package_parts,
    .package_parts {
        .c-philosophy__header {
            margin-bottom: var(--px40);
        }

        .c-philosophy__desc {
            text-align: left;
        }

        .c-philosophy__list {
            gap: var(--px40);
        }

        .c-philosophy__item {
            width: calc((100% - (var(--px40) * 1)) / 2);
        }
    }
}

/*--------------------
事業内容
--------------------*/
body.page-service #content.wide {
    padding-bottom: 0;
}

/*-------------------------------------------
teleco_v1
------------------------------------------- */
.teleco_v1 h2 {
    width: 100%;
}

.teleco_v1 .w50.image_box {
    position: relative;
    overflow: hidden;
}

.teleco_v1 .w50.image_box::before {
    content: '';
    display: block;
}

.teleco_v1 .w50.image_box img {
    position: absolute;
    width: 102%;
    height: auto;
    max-width: none;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.teleco_v1 .w50.text_box {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: min(calc(120px + (1vw - 19.2px) * 3.5599), 120px);
    /* 120-65px (1920-375) */
}

@media print,
screen and (min-width: 769px) {
    .teleco_v1 .w50.image_box::before {
        padding-top: calc(550px + (1vw - 19.2px) * 17.3762);
    }

    .teleco_v1 .w50.image_box img {
        width: auto;
        height: 116%;
    }
}

.flexinnerBtn {
    align-self: normal;
}

@media print,
screen and (max-width: 768px) {
    .teleco_v1 .w50.image_box {
        margin-bottom: 0;
    }

    .teleco_v1 .w50.image_box::before {
        padding-top: calc(350px + (1vw - 7.68px) * 27.9898);
    }

    .teleco_v1 .w50.text_box {
        padding: 20px;
        margin-bottom: 0;
    }
}

/*--------------------
採用情報
--------------------*/
body.page-recruit #content.wide {
    padding-bottom: 0;
}

.post .lead {
    font-size: min(calc(3.2rem + (1vw - 19.2px) * 0.5178), 3.2rem);
    /* 3.2-2.4rem (1920-375) */
    font-weight: 500;
    font-style: italic;
    line-height: 1.3;
}

.post .lead_en {
    font-size: min(calc(1.8rem + (1vw - 19.2px) * 0.3236), 1.8rem);
    /* -- 1920 1.8rem 375 1.3rem -- */
    color: var(--color-primary-shade);
    letter-spacing: 0.8rem;
}

/*--スタイルリストエリア--------------------------------------------*/

ul.box_style01>li {
    position: relative;
    gap: 40px;
    width: 100%;
    background: #fff;
    padding: min(calc(40px + (1vw - 19.2px) * 0.6472), 40px) min(calc(35px + (1vw - 19.2px) * 0.6472), 35px);
    -webkit-box-shadow: 0 0 30px rgba(0, 0, 0, .1);
    box-shadow: 0 0 30px rgba(0, 0, 0, .1);
    margin-bottom: 30px;
    text-align: left;
}

.post ul.box_style01 .box_style_ttl {
    width: 100%;
    font-size: min(calc(2.8rem + (1vw - 19.2px) * 0.4531), 2.8rem);
    /* 2.8-2.1rem (1920-375) */
    font-weight: 600;
    padding: 0.6rem 0 0.6rem 2rem;
    margin: 0 0 min(calc(15px + (1vw - 19.2px) * 0.4531), 15px);
    /*15-10px (1920-375) */
    border-bottom: none;
    border-left: 3px solid var(--color-primary-shade);
    text-align: left;
    line-height: 1.4;
}

@media screen and (min-width: 769px) {
    ul.box_style01>li {
        display: flex;
    }
}

/*--ボタン別アイコン--------------------------------------------*/

a.external.ico_phone::before {
    content: '\f095';
    display: inline-block;
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 1rem;
}

a.external.ico_mail::before {
    content: '\f0e0';
    display: inline-block;
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 1rem;
}

a.external.ico_phone::after,
a.external.ico_mail::after {
    content: none;
}

/*---table_style04-------------------------------------*/

.post table.table_style04 th {
    background-color: transparent;
    color: var(--color-font);
}

.post table.table_style04,
.post table.table_style04 th,
.post table.table_style04 td {
    border: none;
}

table.table_style04 tr:first-child {
    border-top: 1px solid #ababab;
}

table.table_style04 tr:last-child {
    border-bottom: 1px solid #ababab;
}

table.table_style04 tr {
    border-top: 1px dashed #ababab;
    letter-spacing: 1px;
}

table.table_style04 th,
table.table_style04 td {
    padding: 50px 30px;
}

table.table_style04 th {
    position: relative;
    z-index: 0;
}

table.table_style04 td {
    background: transparent;
}

table.table_style04 th:before {
    position: absolute;
    content: "";
    background: #fff;
    top: 7px;
    left: 0;
    bottom: 7px;
    width: 100%;
    height: auto;
    z-index: -1;
}

table.table_style04 td ul li {
    padding-left: 1em;
    position: relative;
    line-height: 2;
}

table.table_style04 td ul li:before {
    position: absolute;
    content: "・";
    top: 0;
    left: 0;
}

@media print,
screen and (max-width: 768px) {

    table.table_style04 th,
    table.table_style04 td {
        padding: 35px 10px;
        font-size: 1.4rem;
        vertical-align: middle;
    }

    table.table_style04 th {
        width: 32%;
    }

    table.table_style04 td {
        width: 68%;
    }
}

ul.col4_list.c-recruit-linkbtn {
    justify-content: center;
    gap: 0 1rem;
    align-items: stretch;

    li {
        height: 100%;
    }

    &::before,
    &::after {
        display: none;
    }
}

@media print,
screen and (max-width: 768px) {
    ul.col4_list.c-recruit-linkbtn {
        justify-content: center;
        gap: 0 1rem;

        li {
            width: 48%;
        }
    }
}

/*--contact_area-------------------------------------*/

.contact_area {
    padding: min(calc(80px + (1vw - 19.2px) * 2.5890), 80px);
    /*80px-40px (1920-375)x*/
    text-align: center;
    background: #111;
    margin-top: 0;
    color: #fff;
}

.post .contact_ttl {
    font-size: min(calc(2.8rem + (1vw - 19.2px) * 0.4531), 2.8rem);
    /* 2.8-2.1rem (1920-375) */
    font-weight: 600;
    text-align: center;
    letter-spacing: .2rem;
    padding: 0;
    margin: 0 0 1em 0;
    color: #fff;
}

.post .contact_ttl::before {
    content: none;
    position: relative;
    width: auto;
    height: auto;
    top: auto;
    left: auto;
}

.post .contact_ttl::after {
    content: '';
    position: relative;
    visibility: visible;
    display: block;
    width: 2.2em;
    height: 3px;
    background: #fff;
    margin: 0.6em auto 0;
}

.contact_read {
    margin: 0 0 min(calc(30px + (1vw - 19.2px) * 0.9709), 30px);
    /*30px-15px (1920-375)*/
    text-align: center;
}

.button_wrap,
.post .button_wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.button_wrap>*,
.post .button_wrap>* {
    margin: 10px !important;
}

.contact_area .linkBtn,
.contact_area .post .linkBtn {
    padding: 0;
}

.contact_area .linkBtn a {
    color: var(--color-font);
    padding: 0.8em 1.2em;
    display: block;
    background: #fff;
    font-weight: 800;
}

.linkBtn::after,
input.linkBtn::after,
.post .linkBtn::after {
    border-right: 1px solid #111;
    border-bottom: 1px solid #111;
}