@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=Figtree:ital,wght@0,300..900;1,300..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Noto+Sans+JP:wght@100..900&display=swap');

:root {
    --color-background: #F5F5F5;
    --color-font: #23262D;
    --color-wt: #fff;
    --color-bk: #23262D;
    --color-gr: #eee;
    --color-primary: #23262D;
    --color-primary-shade: #23262D;
    --color-primary-tint: #23262D;
    --color-secondary: #23262D;
    --color-secondary-tint: #23262D;
    --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: #fff;
    --header-color-font: #23262D;
    --header-color-primary: #23262D;
    --header-color-primary-shade: #23262D;
    --header-color-primary-tint: #23262D;
    --footer-background: #fff;
    --footer-color-font: #23262D;
    --footer-color-primary: #23262D;
    --font-family01: "Noto Sans JP", sans-serif;
    --font-family02: "Montserrat", sans-serif;
    --font-family03: "Figtree", 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(--px100w) 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);
}

.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 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;
    }
}

/*-------------
	下層ページ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: #ededed;
}

.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-centerbtn {
    width: max-content !important;
    margin-inline: auto;
    display: block;
}

.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;
}

/*---mediawidth---*/
.u-w1600 {
    max-width: 1600px;
    margin-inline: auto;
    width: min(1600px, 90%);
}

/*================================
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(--px24) var(--px50);
        display: inline-block;
        color: #fff;
        font-size: min(calc(1.5rem + (1vw - 1.92rem) * 0.1942), 1.5rem);
        /*1.5-1.2(1920-375)*/
        font-family: var(--font-family02);
        font-weight: 600;

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

    &.ccwh {
        color: #fff;
        border-color: #fff;
        background: transparent;

        a {
            color: #fff;
        }
    }
}

/*---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.6;
        margin: 0;
        font-size: var(--rem36);
        font-family: var(--font-family01);
        font-weight: 900;
        letter-spacing: 0.01em;
        padding-bottom: 0;
        position: relative;

        &::before {
            display: none;
        }

        &::after {
            display: none;
        }

        .c-ttl--en {
            display: block;
            color: var(--color-font);
            font-size: var(--rem20);
            font-family: var(--font-family02);
            line-height: 1;
            font-weight: 400;
            padding-bottom: 0;
        }
    }
}

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

    .post h2.c-ttl,
    h2.c-ttl {
        &.c-ttl--primary {
            font-size: 1.3rem;

            .c-ttl--en {
                font-size: 3rem;
            }
        }
    }
}

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: var(--rem28);
        font-family: var(--font-family04);
        font-weight: 500;
        letter-spacing: .2rem;
        color: #fff;
        padding: 0;
        margin: var(--px80) auto var(--px30);
        line-height: 1.4;
        text-align: left;
        border: none;
        padding: var(--px24) var(--px30) var(--px30);
        line-height: 1;
        background: var(--color-primary);

        &::before {
            display: none;
        }

        &::after {
            content: none;
        }
    }

    h3:not([class]) {
        position: relative;
        font-size: var(--rem24);
        font-family: var(--font-family04);
        color: var(--color-font);
        font-weight: 600;
        letter-spacing: .1rem;
        padding: 0 0 .3em 0;
        text-align: left;
        margin: var(--rem20) auto;
        border-bottom: 2px solid var(--color-font);
    }

    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: #f5f5f5;
}

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

/*================================
common layout[header]
================================*/
#header .logo {
    .logo-default {
        display: block;
    }

    .logo-top {
        display: none;
    }
}

body.home #header .logo {
    .logo-default {
        display: none;
    }

    .logo-top {
        display: block;
    }
}

@media print,
screen and (min-width: 1024px) {
    #header {
        background: transparent;
        height: 115px;
        position: relative;

        .inner {
            #header-layout {
                align-items: flex-start;

                .logo {
                    img {
                        max-height: min(calc(29px + (1vw - 19.2px) * 0.6696), 29px);
                        /*29-23(1920-1024)*/
                    }
                }

                ul.header__contact {
                    gap: var(--px20);
                    margin-left: var(--px16);

                    li {
                        transition: opacity 0.3s ease;

                        &:hover {
                            opacity: 0.8;
                        }

                        a.head_btn.tel_btn {
                            background: transparent;
                            padding: 0;
                            color: var(--color-font);

                            span.nums {
                                font-size: var(--rem24);
                                line-height: 1;
                                position: relative;
                                display: inline-block;
                                font-family: var(--font-family03);
                                font-weight: 600;

                                &::before {
                                    content: "\f095";
                                    display: inline-block;
                                    font-family: var(--font-awe);
                                    font-weight: 600;
                                    font-size: 70%;
                                    padding-right: .1em;
                                    transform: translateY(-.1em);
                                }
								&.nums--main::before{
									content: "\f1ad";
									padding-right: .2em;
								}
                            }

                            span.note b {
                                font-size: var(--rem14);
                                font-weight: 400;
                            }

                            &::before {
                                display: none;
                            }
                        }

                        a.head_btn.mail_btn {
                            aspect-ratio: 1;
                            height: min(calc(160px + (1vw - 19.2px) * 5.5804), 160px);
                            /*160-110(1920-1024)*/
                            text-align: center;
                            font-size: var(--rem14);
                            padding: 0;

                            &::before {
                                font-size: var(--rem24);
                                margin-bottom: .2em;
                            }
                        }
                    }
                }
            }
        }
    }

    #header-layout .header__nav-contact {
        flex-shrink: 1;

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

            b {
                font-weight: 600;
            }

            &:hover {
                opacity: 0.9;
            }
        }
    }

    body.home:not(.sticky-header) #header #header-layout ul.header__contact li a.head_btn.tel_btn {
        color: #fff;
    }

    /*sub-menu*/
    #header-layout .header__nav-contact nav#mainNav ul li ul.sub-menu li a {
        color: var(--color-font);
    }

    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.9);
        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);
    }
}

body.home #header-layout .header__nav-contact {
    nav#mainNav ul li a {
        color: #fff;
    }
}

@media screen and (max-width:768px) {
    #header {
        background: #fff;
    }

    #header .logo .mark {
        a {
            img {
                max-height: 30px;
            }
        }
    }
	nav#sp-mainNav .inner .panel > ul {
    overflow-y: scroll;
    max-height: calc(100vh - 60px - 58px);
}
}

body.sticky-header {
    #header {
        .logo {
            .logo-default {
                display: block;
            }

            .logo-top {
                display: none;
            }
        }
    }

    #header-layout .header__nav-contact nav#mainNav ul li a {
        color: var(--color-font);
    }

    #header a.head_btn.tel_btn {
        color: var(--color-font);
    }

    #header .inner #header-layout ul.header__contact li a.head_btn.mail_btn {
        aspect-ratio: auto;
        height: 100%;
        text-align: center;
        font-size: var(--rem14);
        padding: 0 var(--px30);
        flex-direction: row;
        gap: 0.8em;
    }
}

/*================================
common layout[MAINIMG]
================================*/
#mainImg {
    position: relative;
    z-index: 5;
}

html:not(.mobile) #mainImg {
    margin-top: -115px;

    &::before {
        content: "";
        position: absolute;
        display: inline-block;
        width: 100%;
        height: 140px;
        background: linear-gradient(180deg, #000000, rgba(245, 245, 245, 0));
        left: 0;
        top: 0px;
        z-index: 1;
        opacity: 0.5;
    }
}

div#n2-ss-2 .n2-ss-slider-2 {
    overflow: visible !important;
}

div#n2-ss-2 .n2-ss-slider-3 {
    overflow: visible !important;
}

.slideoverlay {
    position: relative !important;
    display: inline-block !important;

    &::before {
        content: "";
        display: inline-block !important;
        position: absolute;
        left: 0;
        width: 26%;
        height: 135%;
        background-color: #23262D;
        clip-path: polygon(0% 0%, 100% 0%, 0% 100%);
        z-index: 0;
        visibility: visible !important;
    }

    &::after {
        content: "";
        display: inline-block !important;
        position: absolute;
        background: url(/wp-content/uploads/slide-bgcopy.svg) no-repeat;
        background-size: contain;
        mix-blend-mode: soft-light;
        opacity: 0.8;
        z-index: 1;
        aspect-ratio: 1313 / 320;
        width: calc((131.3 / 192) * 100vw);
        top: calc((23 / 192) * 100vw);
        left: calc((6 / 192) * 100vw);
        visibility: visible !important;
    }
}

.n2-ss-slider .n2-ss-section-main-content {
    z-index: 10;
}

.slide-copy div {
    padding: .1em .2em .2em .2em !important;
}

.slidecopy-wrap .n2-ss-layer-row-inner {
    gap: var(--px24);
}

.slide-subcopy div {
    padding: .5em .3em .6em .6em !important;
}

@media screen and (max-width:768px) {
    .n2-ss-slide-backgrounds::after {
        width: 80vw;
    }
}

.c-slidescroll {
    position: absolute;
    z-index: 10;
    color: #fff;
    left: var(--px30);
    bottom: var(--px80);

    p.c-slidescroll__txt {
        font-family: var(--font-family02);
        writing-mode: tb-rl;
        font-size: 1.1rem;
        font-weight: 600;
        letter-spacing: 0.5em;
        position: relative;

        &::after {
            content: "";
            background: #fff;
            width: 1px;
            height: 100px;
            display: inline-block;
            position: absolute;
            left: calc(50% - 1px);
            margin-top: 5px;
        }
    }
}

@media screen and (max-width:768px) {
    .c-slidescroll {
        display: none;
    }
}

/*================================
common layout[FOOTER]
================================*/
#footers {
    position: relative;
}

#footers .inners {
    display: flex;

    .c-footer-about {
        width: 36%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background: #fff;

        .c-footer-about__logo {
            text-align: center;
            margin-bottom: var(--px14);

            figcaption {
                font-size: var(--rem14);
                font-weight: 500;
            }
        }

        .c-footer-about__text {
            text-align: center;

            p.c-footer-about__tel {
                position: relative;
                font-family: var(--font-family03);
                line-height: 1;
                font-size: var(--rem24);
                font-weight: 600;

                &::before {
                    content: "\f095";
                    display: inline-block;
                    font-family: var(--font-awe);
                    font-size: 70%;
                    transform: translateY(-.1em);
                    margin-right: .1em;
                }
				
				&.c-footer-about__tel--main::before{
					content: "\f1ad";
                    padding-right: .2em;
				}
            }

            p.c-footer-about__time span.note b {
                font-size: var(--rem12);
                font-weight: 600;
            }
        }
    }

    .c-footer-map {
        width: 64%;

        iframe {
            width: 100%;
        }
    }
}

.c-footer-nav .footnav ul {
    display: flex;
    justify-content: center;
    gap: 1em;
    margin-top: 1em;

    li a {
        font-size: var(--rem14);
        font-weight: 600;
        position: relative;
        line-height: 1;
        display: inline-block;

        &::after {
            content: "";
            width: 1px;
            height: 100%;
            background: var(--color-font);
            position: absolute;
            right: -.6em;
            top: 50%;
            transform: translateY(-50%);
        }
    }
}

.c-footer-nav .footnav ul li:last-of-type a::after {
    display: none;
}

#copyright {
    margin: 0;
    background: var(--color-font);
    color: #fff;
    font-size: var(--rem12);
    font-weight: 200;
    padding-block: var(--px20);
}

@media screen and (max-width: 768px) {
    #footers .inners {
        flex-direction: column;

        .c-footer-about {
            width: 100%;
            padding-block: var(--px100);
            order: 2;
        }

        .c-footer-map {
            width: 100%;
            order: 1;

            iframe {
                aspect-ratio: 16 / 9;
                height: auto;
            }
        }
    }
}

/*================================
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: var(--color-primary);
}

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;
}

/*--カラムリスト--------------------------------------------*/

/*---------coln02-----------*/

.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;
    flex-wrap: wrap;
}

.post .col2_list>li {
    width: 49%;
    margin-bottom: 2%;
}

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

    .post .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;
    flex-wrap: wrap;
}

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

.post .col3_list::before {
    content: "";
    display: block;
    width: 32%;
    height: 0;
    order: 1;
}

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

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

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

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

    .post .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;
    flex-wrap: wrap;
}

.post .col4_list>li {
    width: 24%;
    margin-bottom: 1.5%
}

.post .col4_list::before {
    content: "";
    display: block;
    width: 24%;
    height: 0;
    order: 1;
}

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

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

    .post .col4_list>li,
    .post .col4_list::before,
    .post .col4_list:after {
        width: 32%;
        margin-bottom: 2%;
    }
}

@media print,
screen and (max-width: 768px) {
    .post .col4_list>li {
        width: 49%;
        margin-bottom: 20px;
    }

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

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

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

/*================================
トップページ
================================*/
/*-----l-topnews-----*/
.l-topnews {
    width: 45%;
    background: var(--color-font);
    color: #fff;
    margin-left: auto;
    margin-top: -40px;
    position: relative;
    z-index: 7;

    .c-topnews {
        display: flex;
        flex-direction: row;
        align-items: center;
        padding: var(--px20);
        gap: var(--px20);

        h2.c-topnews__ttl {
            margin: 0;
            padding: 0;
            color: var(--color-font);
            line-height: 1;
            font-family: var(--font-family03);
            font-size: min(calc(1.3rem + (1vw - 1.92rem) * 0.3348), 1.3rem);
            /*1.3-1.1(1920-1024)*/
            background: #fff;
            width: min(calc(50px + (1vw - 19.2px) * 1.1161), 50px);
            /*50-40(1920-1024)*/
            aspect-ratio: 1;
            display: flex;
            justify-content: center;
            align-items: center;
            letter-spacing: 0;
            font-weight: 800;

            &::after {
                display: none;
            }
        }

        .c-topnews__entry {
            flex-grow: 1;

            ul.postlist {
                padding: 0;
                border: none;
                background: transparent;

                li {
                    padding: 0;
                    border: none;
                    line-height: 1;

                    .post_text {
                        padding: 0;
                        width: 100%;

                        p.time {
                            display: none;
                        }

                        p.date {
                            padding: 0;
                        }

                        p.ttls {
                            padding: 0;

                            a {
                                color: #fff;
                            }
                        }
                    }
                }
            }
        }
    }
}

@media screen and (max-width:768px) {
    .l-topnews {
        width: 87%;

        .c-topnews {
            padding: 12px;

            h2.c-topnews__ttl {
                font-size: 1.2rem;
                width: 50px;
            }
        }
    }
}

/*-----l-forsale-----*/
.l-forsale {
    background: linear-gradient(90deg, transparent 68%, #eee 32%);
    margin-top: 70px;
    padding-bottom: var(--px100);
    position: relative;

    &::before {
        content: "";
        position: absolute;
        background: var(--color-background);
        width: 100%;
        height: 40%;
        top: 0;
        left: 0;
    }
}

@media screen and (min-width:769px) {
    ul.c-propertycard.col4_list>li {
        width: 23.5%;
    }
}

ul.c-propertycard li {
    h3.c-propertycard__ttl {
        margin: 0;
        padding: 0;
        font-size: var(--rem18);
        border: none;
        font-weight: 900;
    }

    p {
        font-size: min(calc(1.5rem + (1vw - 1.92rem) * 0.1294), 1.5rem);
        /*1.5-1.3(1920-375)*/
    }

    p.c-propertycard__category {
        background: var(--color-font);
        display: inline-block;
        color: #fff;
        font-size: min(calc(1.3rem + (1vw - 1.92rem) * 0.1294), 1.3rem);
        /*1.3-1.1(1920-375)*/
        line-height: 1;
        padding: .5em;
        margin-top: 1.5em;
    }

    figure {
        img {
            aspect-ratio: 4 / 3;
            object-fit: cover;
            width: 100%;
            height: 100%;
        }
    }
}

@media screen and (max-width:768px) {
    .l-forsale {
        background: none;
        margin-top: 50px;

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

/*-----l-about-----*/
.l-about {
    background: linear-gradient(90deg, transparent 68%, #eee 32%);
    position: relative;
}

.c-aboutsplit {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    .c-aboutsplit__img {
        padding-left: var(--px60);
        position: relative;
        width: 50%;
        padding-bottom: var(--px100);

        &::before {
            content: "";
            display: inline-block;
            position: absolute;
            left: 0;
            bottom: 0;
            width: 37.5%;
            background: var(--color-font);
            z-index: -1;
            aspect-ratio: 360 / 400;
        }

        img {
            aspect-ratio: 1;
            max-width: 900px;
            width: 100%;
        }

        figcaption {
            position: absolute;
            right: -20px;
            bottom: -10px;
            writing-mode: vertical-rl;
            font-family: var(--font-family02);
            color: #fff;
            font-size: min(calc(13rem + (1vw - 1.92rem) * 7.2545), 13rem);
            /*13-6.5(1920-1024)*/
            font-weight: 700;
        }
    }

    .c-aboutsplit__content {
        flex-grow: 1;
        padding-left: var(--px100);

        h2.c-aboutsplit__ttl {
            margin: 0;
            padding: 0;
            text-align: left;
            font-size: min(calc(5.8rem + (1vw - 1.92rem) * 3.1250), 5.8rem);
            /*5.8-3(1920-1024)*/
            font-weight: 900;
            line-height: 1;

            &::after {
                display: none;
            }

            span {
                display: block;
                font-size: min(calc(2.6rem + (1vw - 1.92rem) * 1.3393), 2.6rem);
                /*2.6-1.4(1920-1024)*/
                background: var(--color-font);
                width: max-content;
                color: #fff;
                font-weight: 700;
                padding: 1rem;
                margin-top: min(calc(4rem + (1vw - 1.92rem) * 2.2321), 4rem);
                /*4-2(1920-1024)*/
            }
        }

        p.c-aboutsplit__lead {
            font-size: min(calc(1.8rem + (1vw - 1.92rem) * 0.5580), 1.8rem);
            /*1.8-1.3(1920-1024)*/
            font-weight: 900;
            letter-spacing: .12em;
            line-height: 2;
            margin-block: 1.5em 1.7em;
        }

        p.c-aboutsplit__text {
            font-size: min(calc(1.5rem + (1vw - 1.92rem) * 0.4464), 1.5rem);
            /*1.5-1.1(1920-1024)*/
            line-height: 2.2;
            font-weight: 500;
            letter-spacing: 0.04em;
        }

        .c-aboutsplit__subimg {
            margin-top: min(calc(80px + (1vw - 19.2px) * 5.5804), 80px);
            /*80-30(1920-1024)*/
            width: calc((78 / 192) * 100vw);
            margin-left: auto;
        }
    }
}

.u-1800br {
    display: none;
}

@media screen and (max-width:1800px) {
    .u-1800br {
        display: block;
    }
}

@media screen and (max-width:768px) {
    .l-about::before {
        content: "";
        position: absolute;
        width: 100%;
        height: 100px;
        background: var(--color-background);
        z-index: 0;
    }

    .c-aboutsplit {
        flex-direction: column;
        align-items: flex-start;
        position: relative;

        .c-aboutsplit__img {
            order: 2;
            padding-inline: 5% 0;
            width: 90%;

            figcaption {
                font-size: 4.8vh;
                right: -4%;
            }
        }

        .c-aboutsplit__content {
            order: 1;
            padding-inline: 5%;
            margin-bottom: 20px;
            display: flex;
            flex-direction: column;

            h2.c-aboutsplit__ttl {
                font-size: 3.5rem;
                order: 2;

                span {
                    font-size: 1.3rem;
                    margin-top: 1.2em;
                }
            }

            p.c-aboutsplit__lead {
                font-size: 1.3rem;
                order: 3;
            }

            p.c-aboutsplit__text {
                font-size: 1.1rem;
                order: 4;
            }

            .c-aboutsplit__subimg {
                order: 1;
                width: 100%;
                margin-block: 0 25px;
            }
        }
    }
}

/*-----l-aboutpoint-----*/
.l-aboutpoint {
    max-width: 1610px;
    width: min(1610px, 90%);
    margin-inline: auto;
    margin-block: var(--px80) var(--px100);
    text-align: center;

    h3 {
        border: none;
        padding: 0;
        margin: 0 0 var(--px60) 0;
        font-size: var(--rem40);
        font-weight: 900;
        letter-spacing: .08em;

        span {
            font-size: var(--rem24);
            display: block;
            margin-top: .8em;
            letter-spacing: 0.1em;
        }
    }
}

.post ul.c-aboutpointcard {
    row-gap: 10px;

    li {
        background: #fff;
        aspect-ratio: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 100%;
        width: 23.5%;
        margin-bottom: 0;

        figure {
            img {
                max-height: min(calc(130px + (1vw - 19.2px) * 7.8125), 130px);
                margin-bottom: var(--px14);
                width: 100%;
                height: 100%;
                object-fit: contain;
            }

            figcaption {
                font-size: min(calc(2.7rem + (1vw - 1.92rem) * 1.3393), 2.7rem);
                /*2.7-1.5(1920-1024)*/
                line-height: 1.4;
                font-weight: 900;
            }
        }
    }
}

@media screen and (max-width:768px) {
    .post ul.c-aboutpointcard li {
        width: 49%;

        figure {
            img {
                max-height: 50px;
                margin-bottom: 7px;
            }

            figcaption {
                font-size: 1.3rem;
            }
        }
    }
}

/*-----l-aboutpointlist-----*/
.l-aboutpointlist {}

/* --- Common Styles --- */
.post .package_parts {
    counter-reset: space-feature-counter;

    .c-common-title {
        font-weight: bold;
        line-height: 1.4;
        color: var(--color-primary-shade);
    }

    .c-common-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: var(--px16) var(--px40);
        background-color: var(--color-primary-shade);
        color: var(--color-background);
        font-size: var(--px16);
        border-radius: 4px;
        font-weight: bold;
    }
}

/* --- Main Styles (PC First) --- */
.post .package_parts {
    .c-space-optimization-feature__inner {
        display: flex;
        align-items: flex-end;
    }

    .c-space-optimization-feature__image {
        width: 50%;
        overflow: hidden;
        flex-shrink: 0;
        min-height: 600px;
        height: 600px;
    }

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

    .c-space-optimization-feature__content {
        width: 50%;
        margin-left: -8.3%;
        padding: var(--px100) 3.5%;
        z-index: 1;
        background: #fff;
        margin-bottom: -50px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .c-space-optimization-feature__point {
        display: flex;
        align-items: center;
        gap: var(--px16);
        margin-bottom: var(--px20);
        font-family: var(--font-family02);
        font-weight: bold;
        font-size: min(calc(1.5rem + (1vw - 1.92rem) * 0.2232), 1.5rem);
        /*1.5-1.3(1920-1024)*/
        letter-spacing: 0.1em;
    }

    .c-space-optimization-feature__point::before {
        content: "";
        display: block;
        width: var(--px100);
        height: 1px;
        background-color: var(--color-font);
    }

    .c-space-optimization-feature__point::after {
        counter-increment: space-feature-counter;
        content: "POINT." counter(space-feature-counter, decimal-leading-zero);
    }

    .c-space-optimization-feature__subtitle {
        font-size: var(--px30);
        font-family: var(--font-family02);
        font-weight: bold;
        margin-bottom: var(--px40);
        color: var(--color-primary-shade);
    }

    .c-space-optimization-feature__title {
        margin-bottom: var(--px30);
        font-size: min(calc(4rem + (1vw - 1.92rem) * 1.7857), 4rem);
        /*4-2.4(1920-1024)*/
        line-height: 1;
        text-align: left;
    }

    .c-space-optimization-feature__title-line {
        display: inline-block;
        background-color: var(--color-font);
        color: #fff;
        padding: 6px 10px;
    }

    .c-space-optimization-feature__title span:not(:last-of-type) {
        margin-bottom: .3em;
    }

    .c-space-optimization-feature__desc {
        font-size: min(calc(1.5rem + (1vw - 1.92rem) * 0.3348), 1.5rem);
        /*1.5-1.2(1920-1024)*/
        line-height: 2;
    }

    /* --- Rev Variant --- */
    .c-space-optimization-feature.rev {
        .c-space-optimization-feature__inner {
            flex-direction: row-reverse;
            align-items: center;
        }

        .c-space-optimization-feature__content {
            margin: 0;
            padding-block: 0;
            background: transparent;
            width: auto;
            flex-grow: 1;
        }
    }

    /* 2枚画像レイアウト */
    .c-space-optimization-feature.rev .c-space-optimization-feature__image {
        display: flex;
        gap: 20px;
        width: 67%;
        max-width: 1300px;
        aspect-ratio: auto;
    }

    .c-space-optimization-feature.rev .c-space-optimization-feature__image img {
        &:first-of-type {
            width: 66%;
            min-height: 600px;
        }

        &:last-of-type {
            width: 34%;
            min-height: 600px;
        }
    }

    .c-space-optimization-feature:last-of-type {
        margin-top: 50px;
    }

    .c-space-optimization-feature:first-of-type {
        margin-bottom: 100px;
    }
}

/* --- Media Query (SP) --- */
@media screen and (max-width: 768px) {
    .post .package_parts {
        .c-space-optimization-feature {
            padding: 0;

            &:first-of-type {
                margin-bottom: 40px;
            }

            &:last-of-type {
                margin-top: 40px;
            }
        }

        .c-space-optimization-feature__inner {
            flex-direction: column;
            padding: 0 5%;
        }

        .c-space-optimization-feature__image {
            width: 100%;
            height: auto;
            min-height: auto;
        }

        .c-space-optimization-feature__content {
            width: 100%;
            padding: 0;
            background: none;
            margin: 20px 0 0 0;
        }

        .c-space-optimization-feature__subtitle {
            font-size: 2.2rem;
            margin-bottom: 1em;
        }

        .c-space-optimization-feature__title {
            font-size: 2.2rem;
            margin-bottom: .7em;
        }

        .c-space-optimization-feature__desc {
            font-size: var(--px14);
        }

        .c-space-optimization-feature.rev {
            .c-space-optimization-feature__inner {
                flex-direction: column;
                align-items: flex-start;
            }

            .c-space-optimization-feature__content {
                margin: 20px 0 0 0;
            }

            .c-space-optimization-feature__image {
                gap: 0;
                width: 100%;
                max-width: 100%;
                flex-direction: column;
            }

            .c-space-optimization-feature__image img {
                &:first-of-type {
                    width: 100%;
                    min-height: auto;
                }

                &:last-of-type {
                    width: 100%;
                    min-height: auto;
                }
            }
        }
    }
}

/*-----l-advisormessage-----*/
.l-advisormessage {
    padding-bottom: var(--px100);
}

.l-advisormessage .link_btn {
    margin-inline: auto;
    width: max-content;
    display: block;
}

/* --- Main Styles (PC First) --- */
.post .package_parts {
    .c-advisor-message {
        width: 100%;
        padding-block: 100px var(--px80);
    }

    .c-advisor-message__inner {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: var(--px50);
        max-width: var(--content-max-width);
        margin: 0 auto;
    }

    .c-advisor-message__avatars {
        display: flex;
        gap: var(--px24);
        flex-shrink: 0;
    }

    .c-advisor-message__avatar {
        width: var(--px240);
        aspect-ratio: 1 / 1;
        border-radius: 50%;
        overflow: hidden;
        background-color: var(--color-background);
    }

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

    .c-advisor-message__bubble {
        background-color: #fff;
        padding: var(--px40) var(--px50);
        border-radius: var(--px30);
        position: relative;
    }

    .c-advisor-message__bubble::before {
        content: "";
        position: absolute;
        top: 50%;
        left: calc(var(--px24) * -1);
        transform: translateY(-50%);
        border-style: solid;
        border-width: var(--px16) var(--px24) var(--px16) 0;
        border-color: transparent #fff transparent transparent;
    }

    .c-advisor-message__text {
        font-size: var(--px16);
        color: var(--color-font);
        line-height: 2;
        font-weight: bold;
    }
}

/* --- Media Query (SP) --- */
@media screen and (max-width: 768px) {
    .post .package_parts {
        .c-advisor-message {
            padding: var(--px60) 0;
        }

        .c-advisor-message__inner {
            flex-direction: column;
            gap: var(--px30);
            padding: 0 var(--px20);
        }

        .c-advisor-message__avatars {
            width: 100%;
            justify-content: center;
            gap: var(--px16);
        }

        .c-advisor-message__avatar {
            width: 35%;
        }

        .c-advisor-message__bubble {
            width: 100%;
            padding: var(--px30) var(--px24);
            border-radius: var(--px24);
        }

        .c-advisor-message__bubble::before {
            top: calc(var(--px24) * -1);
            left: 50%;
            transform: translateX(-50%);
            border-width: 0 var(--px16) var(--px24) var(--px16);
            border-color: transparent transparent #fff transparent;
        }

        .c-advisor-message__text {
            font-size: var(--px14);
        }
    }
}

/*-----l-service-----*/
/* --- Main Styles (PC First) --- */
.post .package_parts {
    .c-service-category-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: var(--px30);
        max-width: var(--content-max-width);
        margin: 0 auto;
    }

    .c-service-category-card {
        display: block;
        position: relative;
        text-decoration: none;
        overflow: hidden;
        background-color: var(--color-secondary-tint);
    }

    .c-service-category-card__image {
        width: 100%;
        aspect-ratio: 3 / 2;
        overflow: hidden;
        margin: 0;
    }

    .c-service-category-card__image img {
        width: 100%;
        height: 100%;
        max-width: none;
        max-height: none;
        object-fit: cover;
        transition: transform 0.4s ease;
    }

    .c-service-category-card:hover .c-service-category-card__image img {
        transform: scale(1.05);
    }

    .c-service-category-card__content {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        padding: var(--px60) var(--px40) var(--px30);
        background: linear-gradient(to top, var(--color-primary-shade) 0%, transparent 100%);
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .c-service-category-card__text-wrap {
        flex-grow: 1;
        padding-right: var(--px30);
    }

    .c-service-category-card__title {
        font-size: var(--px24);
        font-weight: bold;
        margin-bottom: 8px;
        color: var(--color-background);
    }

    .c-service-category-card__desc {
        font-size: var(--px14);
        color: var(--color-background);
        line-height: 1.6;
    }

    .c-service-category-card__arrow {
        display: block;
        width: 10px;
        height: 10px;
        border-top: 2px solid var(--color-background);
        border-right: 2px solid var(--color-background);
        transform: rotate(45deg);
        flex-shrink: 0;
        transition: transform 0.3s ease;
    }

    .c-service-category-card:hover .c-service-category-card__arrow {
        transform: rotate(45deg) translate(2px, -2px);
    }
}

/* --- Media Query (SP) --- */
@media screen and (max-width: 768px) {
    .post .package_parts {
        .c-service-category-grid {
            grid-template-columns: 1fr;
            gap: var(--px20);
        }

        .c-service-category-card__image {
            aspect-ratio: 16 / 9;
        }

        .c-service-category-card__content {
            padding: var(--px40) var(--px24) var(--px30);
        }

        .c-service-category-card__text-wrap {
            padding-right: var(--px20);
        }

        .c-service-category-card__title {
            font-size: 1.6rem;
            margin-bottom: .1em;
        }

        .c-service-category-card__desc {
            font-size: 1.2rem;
        }
    }
}

/*-----l-works-----*/
.l-works {
    background: #fff;

    .l-works__inner {
        padding-block: var(--px100);
    }
}

/*-----l-service-----*/
.l-service__inner {
    padding-block: var(--px100) var(--px120);
}

.post .c-service-category-grid {
    gap: var(--px40);
    max-width: none !important;
}

@media screen and (max-width: 768px) {
    .l-service__inner {
        padding-bottom: var(--px100);
    }
}

/*--------------------------------------------------
	下層ページ
--------------------------------------------------*/
/*--------------------
	よく使うCBP用下層アイキャッチ周りの設定01
--------------------*/
@media print,
screen and (min-width: 1024px) {
    body:not(.home):not(.mce-content-body)::before {
        background: #fff;
        clip-path: polygon(0 0, 100% 0, 0 100%);
        width: 36%;
        height: 50vh;
        position: absolute;
        left: 0;
        top: 0;
        z-index: 0;
        content: '';
    }
}

header#h1Header {
    background: transparent;
    height: auto;
    z-index: 0;
    overflow: visible;
    margin-top: 0;

    &::before {
        display: 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: var(--px50) calc(7rem + (1vw - 1.92rem) * 2.5890);
        /*70-30(1920-1024)*/
        padding-inline: 5%;
        transform: none;
        color: var(--color-font);
        font-size: var(--rem40);
        font-weight: 600;
        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);
        }
    }
}

@media screen and (max-width:768px) {
    header#h1Header {
        margin-top: 0;
    }
}

.text_link {
	text-decoration: underline;
	&:hover {
		text-decoration: none;
	}
}