@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

:root {
    --scrollbar: 0;
    --swl-fz--xs: .75em;
    --swl-fz--small: .88em;
    --swl-fz--normal: 1em;
    --swl-fz--medium: 1.25em;
    --swl-fz--large: 1.5em;
    --swl-fz--huge: 2em;
    --swl-box_padding: 0em;
    --allwidth: calc(100vw - var(--scrollbar));
    --allheight: 100vh;
    --pmargin: 20px;
    --primary: var(--color_main);
    --secondary: var(--color_deep02);
    --link: var(--color_link);
    --white: #fff;
    --black: #000;
    --text: var(--color_text);
    --red: #f00;
    --bullet-n: #a7a7a7;
    --placeholder: #969696;
    --yellow_p:#FFFFD0;
    --color_pale01:#BED4EF;
    --color_pale05:#ea1d7817;
    --color_pale06:#ffeef6;
    --color-gray:#EDEFF1;
    --dot-gray: #e5e5e5;
}

:root {
    --gray: var(--color-gray);
    --color_link: var(--primary);
    --content: calc(var(--allwidth) - (var(--pmargin)*2));
    --menubt_w: 7.5rem;
    --menubt_h: 7.5rem;
    --menu_w: var(--allwidth);
    --ppmargin: calc(-1 * var(--pmargin));
    --swl-color_hov_gray: var(--color_pale01);
}

html {
    font-size: 62.5% !important;
}

body {
    --wp--preset--font-size--small: 0.88em;
    --wp--preset--font-size--medium: 1.25em;
    --wp--preset--font-size--large: 1.5em;
    --wp--preset--font-size--x-large: 2.06em;
    --wp--preset--font-size--xs: 0.75em;
    --wp--preset--font-size--huge: 3.13em;
    --_color-gray: #505050;
    --swl-font_family: 'Roboto', "Hiragino Sans W3", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    --h1fontfamily: "Noto Serif JP", "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
    --gothicfont: 'Roboto', "Hiragino Sans W3", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    --minchofont: "Noto Serif JP", "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}

body {
    font-size: 1.6rem;
    font-family: var(--gothicfont);
    font-weight: 400;
    letter-spacing: 0em;
    line-height: 1.5em;
}

@media (min-width: 600px) {
    :root {
        --content: 85vw;
    }
    :root {
        --pmargin: calc(((var(--allwidth)) - var(--content)) / 2);
    }

    :root {
        --ppmargin: calc(-1 * var(--pmargin));
        --pmargin-r: calc(var(--pmargin) + 80px);
    }
}

@media (min-width: 1086px) {

    :root {
        --content: 1086px;
        --allwidth: calc(100vw - var(--scrollbar) - 80px);
        --menu_w: 45rem;
    }

    :root {
        --pmargin: calc(((var(--allwidth)) - var(--content)) / 2);
    }

    :root {
        --ppmargin: calc(-1 * var(--pmargin));
        --pmargin-r: calc(var(--pmargin) + 80px);
    }

}

/*reCAPTCHA　全体*/
.grecaptcha-badge { visibility: hidden; }

.recaptcha-p {
    letter-spacing: 0;
}

/* 共通 */


.post_content {
    max-width: unset;
}

#content {
    width: var(--content);
    margin: 0 var(--pmargin);
    padding: 0;
}

.allwidth {
    width: var(--allwidth) !important;
    margin-left: var(--ppmargin) !important;
}


.swiper-wrapper {
    transition-timing-function: linear !important;
}

/* パンくず */

#breadcrumb {
    display: none;
}


/* 見出し */

.post_content h2 {
    font-size: 3rem;
    color: var(--primary);
    background: none;
    padding: 0;
    font-weight: 300;
    position: relative;
    z-index: 10;
}

.post_content h2:where(:not([class^="swell-block-"]):not(.faq_q):not(.p-postList__title))::before {
    display: none;
    border: unset;
}

.post_content h2::after {
    font-size: 8.5rem;
    color: var(--color_pale01);
    font-weight: 300;
    display: inline-block;
    line-height: 1em;
    position: absolute;
    z-index: 0;
}

@media (min-width: 600px) {

    .post_content h2::after {
        font-size: 12rem;
        top: -11rem;
        z-index: -10;
    }

    section>div>div {
        z-index: 10;
        position: relative;
    }
}

@media (min-width: 1086px) {

    #content {
        width: var(--content);
        margin-left: var(--pmargin);
        margin-right: calc(var(--pmargin) + 80px);
    }

    .l-mainContent__inner>.post_content {
        padding: 0 ;
    }

    .l-mainContent.l-article {
        margin-left: unset;
        margin-right: unset;
    }

    .top #content {
        padding: 0;
        padding-top: 0em !important;
    }

    .post_content h2 {
        font-size: 4rem;
        z-index: 10;
    }

    .post_content h2::after {
        font-size: 18rem;
        letter-spacing: 0.2em;
        text-wrap: nowrap;
        z-index: -10;
    }

    
}

.post_content #service h2::after {
    content: "SERVICE";
}

.post_content #case-study h2::after {
    content: "CASE STUDY";
}

.post_content #news h2:after {
    content: "BLOG";
}

.post_content #faq h2:after {
    content: "FAQ";
}

.post_content #profile h2:after {
    content: "PROFILE";
}

.post_content #history h2:after {
    content: "HISTORY";
}

.post_content #access h2:after {
    content: "ACCESS";
}





/* Main */

.p-mainVisual .c-filterLayer::before {
    background-color: #FFFFFF;
    opacity: 1;
}

.c-headLogo.-txt {
    display: none;
}

.c-catchphrase.u-thin {
    display: none;
}

.l-header__inner {
    color: var(--primary);
}

.l-header__customBtn.sp_ {
    display: none;
}

.l-header__logo {
    display: none;
}

@media (min-width: 600px) {

}

@media (min-width: 1086px) {
    
}

/* ページトップボタン */

#pagetop {
    width: 80px;
    height: 80px;
}

.p-fixBtnWrap {
    display: none;
}

i.c-fixBtn__icon.icon-chevron-up:before {
    content: "↑";
    font-size: 32px;
}

@media (min-width: 1086px) {

    .p-fixBtnWrap {
        display: block;
        width: 80px;
        height: 80px;
        right: 105px;
        bottom: 25px;
    }

}




/* メニュー大枠 */


.l-header {
    position: fixed !important;
    opacity: 1;
    top: unset !important;
    left: unset;
    bottom: var(--pmargin);
    right: var(--pmargin);
    width: 7.5rem;
    height: 7.5rem;
    background: none;
}



/* メニューボタン */

.l-header__menuBtn.sp_ {
    background:rgba(255, 255, 255, 0.9);
    color: var(--primary);
    width: 7.5rem !important;
    height: 7.5rem;
    border: 1px solid var(--primary);
    position: relative;
}

.p-spMenu__closeBtn {
    width: 7.5rem;
    height: 7.5rem;
    position: absolute;
    top: unset;
    bottom: -70px;
    right: -15px !important;
}

.p-spMenu__overlay {
    background: #115bb7;
    opacity: 0.8;
}

/* humberger */

.icon-menu-thin:before,
.icon-menu-thin:after {
    background: var(--primary);
    position: absolute;
    content: "";
    width: 4.4rem;
    height: 0.2rem;
    left: 15px;
}

.icon-menu-thin:before {
    top: 15px;
}

.icon-menu-thin:after {
    top: 27px;
}

.p-spMenu__closeBtn .c-iconBtn__icon:before,
.p-spMenu__closeBtn .c-iconBtn__icon:after {
    display: block;
    position: absolute;
    content: "";
    width: 44px;
    height: 2px;
    background: var(--white);
    left: 15px;
    top: 21px;
}

.p-spMenu__closeBtn .c-iconBtn__icon:before {
    transform: rotate(15deg);
}
.p-spMenu__closeBtn .c-iconBtn__icon:after {
    transform: rotate(-15deg);
}


/* メニューボタンテキスト */

.c-iconBtn__label {
    font-size: 1.2rem;
    letter-spacing: 4px;
    transform: scale(1);
    position: absolute;
    bottom: 7px;
    line-height: 1.2em;
}

.c-iconBtn__label:after {
    display: inline-block;
    content: "OPEN";
}

.p-spMenu__closeBtn .c-iconBtn::before,
.p-spMenu__closeBtn .c-iconBtn::after {
    color: var(--white);
    font-size: 1.2rem;
    letter-spacing: 4px;
    transform: scale(1);
    position: absolute;
    bottom: 7px;
    line-height: 1.2em;
}

.p-spMenu__closeBtn .c-iconBtn::before {
    display: inline-block;
    content: "MENU";
    bottom: 21px;
}

.p-spMenu__closeBtn .c-iconBtn::after {
    display: inline-block;
    content: "CLOSE";
}


/* ナビ */


.p-spMenu__inner {
    width: 307px;
    height: 383px;
    padding: 0;
}

.-right .p-spMenu__inner {
    right: calc(0.5 * (var(--allwidth) - 307px));
    top: calc(0.5 * (var(--allheight) - 383px));
    background-image: radial-gradient(var(--white) 30%, transparent 30%);
    background-size: 5px 5px;
}

.p-spMenu__inner::before {
    background: #fdfdfd;
    opacity: 0.85;
}

.p-spMenu__body {
    overflow: visible;
    padding: 3rem 0rem 0rem;
}

.c-spnav.c-listMenu {
    display: grid;
    grid-auto-columns: 1fr 1fr;
    grid-auto-flow: column;
    grid-template-rows: repeat(4, 5.5rem);
    align-items: center;
    justify-items: center;
}

.c-spnav a {
    border-bottom: none;
}


.c-gnav .sub-menu a:before, .c-listMenu a:before {
    display: none;
}

.c-listMenu a {
    padding: .5em;
    height: auto;
    text-align: center;
    display: flex;
    align-items: center;
}

.c-listMenu a:hover {
    padding: 0.5em;
}

/* メニュー下部 */


.p-spMenu__bottom {
    margin-top: -0.5em;
}

.c-widget__title.-spmenu {
    display: none;
}

.menu-footer.sp_ {
    width: 22.1rem;
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 16px;
    margin: 0 auto;
}
.menu-footer__second.sp_ {
    width: 27.1rem;
    font-size: 12px;
    margin: 0 auto !important;
    line-height: 1.5em;
}

.menu-ft-bt {
    border: 1px solid var(--primary);
    width: 6.3rem;
    height: 6.3rem;
    background: #FFFFFF;
    border-radius: 50%;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}

.menu-ft-bt.tel {
    background-image: url(/wp-content/uploads/tel-icon.svg);

}

.menu-ft-bt.line {
    background-image: url(/wp-content/uploads/line-logo.svg);
    background-size: 38px;
}

.menu-ft-bt.mail {
    background-image: url(/wp-content/uploads/mail-icon.svg);
}

.menu-ft-bt:hover,
.menu-ft-bt:active,
.menu-ft-bt:focus {
    background: var(--primary);
    background-repeat: no-repeat;
    background-position: 50% 50%;
    border: 1px solid var(--white);
}

.menu-ft-bt.tel:hover,
.menu-ft-bt.tel:active,
.menu-ft-bt.tel:focus {
    background-image: url(/wp-content/uploads/tel-icon-w.svg);
}

.menu-ft-bt.line:hover,
.menu-ft-bt.line:active,
.menu-ft-bt.line:focus {
    background-image: url(/wp-content/uploads/line-logo.svg);
    background-size: 38px;
}

.menu-ft-bt.mail:hover,
.menu-ft-bt.mail:active,
.menu-ft-bt.mail:focus {
    background-image: url(/wp-content/uploads/mail-icon-w.svg);
}

@media (min-width: 600px) {

}

@media (min-width: 1086px) {

    .l-header__inner .c-gnav {
        display: none;
    }

    .l-header {
        background: var(--primary);
        color: var(--white);
        width: 8rem !important;
        height: var(--allheight);
        border: none;
        position: fixed;
        top: 0 !important;
        right: 0;
        padding: 0;
    }

    .l-header .l-container {
        width: 8rem;
        display: flex;
        justify-content: center !important;
        padding: 0;
    }

    .l-header__menuBtn.sp_ {
        display: block !important;
        background: unset;
        color: var(--white);
        width: 8rem !important;
        height: var(--allheight);
        border: none;
        position: absolute;
    }

    .-series .l-header__logo,
    .c-headLogo.-txt {
        display: none;
    }

    .c-iconBtn__label {
        bottom: unset;
        top: 7rem;
        line-height: 2.3em;
    }

    .c-iconBtn__icon {
        position: unset;
    }

    .icon-menu-thin:before {
        top: 40px;
    }

    .icon-menu-thin:after {
        top: 52px;
    }

    .icon-menu-thin:before, 
    .icon-menu-thin:after {
        background: var(--white);
        position: absolute;
        content: "";
        width: 4.4rem;
        height: 0.2rem;
        left: 15px;
    }

    #fix_header {
        display: none;
    }


    

    .p-spMenu {
        display: block;
        width: 307px;
        height: 383px;
        right: -100%;
        position: fixed;
        left: unset;
        z-index: 90;    
    }

    .p-spMenu.-right {
        right: 8rem;
    }

    .-right .p-spMenu__inner {
        right: 0rem;
        top: 0;
    }

    .p-spMenu__closeBtn {
        display: block;
        opacity: 0;
        top: 25px;
        right: -75px !important;
    }

    .p-spMenu__closeBtn .c-iconBtn::before {
        bottom: -21px;
    }

    .p-spMenu__closeBtn .c-iconBtn::after {
        bottom: -47px;
    }

    .p-spMenu__overlay {
        display: none;
        pointer-events: none;
    }

    .c-iconBtn {
        height: 20rem;
    }

    .c-iconBtn.closed .c-iconBtn__label:after {
        display: inline-block;
        content: "OPEN";
    }

    .c-iconBtn.opened .c-iconBtn__label:after {
        display: inline-block;
        content: "CLOSE";
    }

    .w-header.pc_ {
        display: flex;
        width: 100%;
        height: 100vh;
        margin-left: 0;
        z-index: 110;
        pointer-events: none;
    }

    .menu-footer {
        position: absolute;
        width: 8rem;
        bottom: 2.5rem;
        display: flex;
        gap: 14px;
        flex-direction: column;
        align-items: center;
        pointer-events: all;
    }

    .p-spMenu__body {
        overflow: visible;
        display: flex;
        padding: 0;
        align-items: center;
        justify-content: center;
    }

    .c-spnav.c-listMenu {
        grid-template-rows: repeat(4, 7.5rem);
    }


}

/* footer */

.w-footer__box {
    padding: 3em 0 1em;
}

#footer::before,
#footer::after {
    content: "";
    display: block;
    width: var(--allwidth);
    height: 1px;
    background: var(--primary);
    position: relative;
}

#footer::before {
    top: 3.4rem;
}

#footer::after {
    bottom: 3.4rem;
}

.l-footer__inner {
    padding: 3.4rem 0;
}

#footer .c-widget__title.-footer {
    display: none;
}

#footer h2 {
    text-align: center;
    font-weight: 400;
}

#custom_html-11 .textwidget {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

#footer p {
    text-align: center;
}

#footer p.address {
    width: 15.5em;
    text-align: start;
    display: flex;
    flex-direction: column;
}

#footer p.address span:not(:first-of-type) {
    margin-left: 0.7em;
}

#footer br .sp_ {
    display: inline;
}

#custom_html-11 img {
    width: 7.3rem;
    height: 7.3rem;
}

#custom_html-10 .textwidget {
    margin: 4em auto 0em;
    width: fit-content;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#custom_html-10 p.address {
    font-size: 14px;
}

#custom_html-10 a img {
    width: 4rem;
    height: auto;
}

#custom_html-10 a .fa-solid {
    font-size: 3.5rem;
    color: var(--primary);
}

#custom_html-10 a {
    display: flex;
    align-items: center;
    gap: 1rem;
    height: 4rem;
    color: var(--primary);
}

#custom_html-13 {
    margin-top: 1em !important;
}

#custom_html-13 .textwidget {
    width: 27rem;
    font-size: 14px;
    margin: 0 auto;
}



@media (min-width: 500px) {
    #custom_html-11 .textwidget {
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    #custom_html-11 img {
        width: 7.3rem;
        height: 7.3rem;
    }
    
    #custom_html-10 .textwidget {
        margin: 4em auto 0em;
        width: fit-content;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    #custom_html-10 p.address {
        font-size: 14px;
    }
    
    #custom_html-10 a img {
        width: 4rem;
        height: auto;
    }
    
    #custom_html-10 a .fa-solid {
        font-size: 3.5rem;
        color: var(--primary);
    }
    
    #custom_html-10 a {
        display: flex;
        align-items: center;
        gap: 1rem;
        height: 4rem;
        color: var(--primary);
    }

    #footer p.address {
        width: unset;
        text-align: start;
        display: flex;
        flex-direction: row;
    }

    #footer br .sp_ {
        display: none;
    }
    
    #footer p.address span:not(:first-of-type) {
        margin-left: 0.3em;
    }

    #custom_html-13 .textwidget {
        width: 100%;
        font-size: 14px;
        margin: 0 auto;
    }

    #custom_html-13 .textwidget>p>.pc_ {
        display: block !important;
    }
}

@media (min-width: 1086px) {

    .w-footer {
        display: flex;
        justify-content: space-between;
        padding-left: var(--pmargin);
        padding-right: calc(var(--pmargin) + 80px);
    }

    .l-footer__foot .l-container {
        padding-left: var(--pmargin);
        padding-right: calc(var(--pmargin) + 80px);
    }

    .w-footer__box {
        padding: 5em 0 2em;
    }

    #custom_html-11 .textwidget {
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    
    
    
    #custom_html-10 .textwidget {
        margin: 2em auto 0em;
        width: fit-content;
        display: flex;
        flex-direction: row;
        gap: 4rem;
    }
    
    #custom_html-10 p.address {
        font-size: 14px;
    }
    
    #custom_html-10 a img {
        width: 4rem;
        height: auto;
    }
    
    #custom_html-10 a .fa-solid {
        font-size: 3.5rem;
        color: var(--primary);
    }
    
    #custom_html-10 a {
        display: flex;
        align-items: center;
        gap: 1rem;
        height: 4rem;
        color: var(--primary);
    }

    #custom_html-10 a p:hover {
        text-decoration: underline;
    }

    #custom_html-13 .textwidget {
        width: 100%;
        font-size: 14px;
        margin: 0 auto;
    }
}

/* CTA */

.cta-banner {
    color: var(--primary);
    width: var(--allwidth);
    margin-left: var(--ppmargin);
    padding: var(--pmargin);
    padding-top: 0;
    border-top: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);
    box-shadow: 0px 10px var(--primary);
}


.cta-banner:hover,
.cta-banner:active,
.cta-banner:focus {
    background-color: #fff;
    background-image:
      radial-gradient(var(--dot-gray) 30%, transparent 30%);
    background-size: 5px 5px;
    box-shadow: none;
    transform: translate(5px, 5px);
}

.cta-banner span {
    display: inline-block;
}

.cta-banner .upper {
    display: flex;
    flex-direction: row;
    margin-bottom: 0em;
    align-items: center;
    gap: 1rem;
    margin-left: 0.5em;
    width: 100%;
    justify-content: flex-start;
}

.cta-banner .upper:after {
    content: "";
    display: block;
    width: 75px;
    height: 60px;
    background-image: url(/wp-content/uploads/cta-arrow.svg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 100% 50%;
    position: relative;
    right: 2rem;
    margin-left: 0.5em;
}


.cta-banner .wp-container-core-group-layout-5.wp-container-core-group-layout-5 p:first-of-type {
    position: relative;
    top: 0.5rem;
}

.cta-banner .muryo {
    width: fit-content;
    gap: 0;
    line-height: 2em;
}

.cta-banner .wp-container-core-group-layout-4.wp-container-core-group-layout-4 p:first-of-type {
    top: 0;
}

.p-blogParts.post_content .wp-block-image img {
    width: 62px;
    height: 52px;
    object-fit: cover;
    object-position: 95%;
}

.cta-banner .under {
    width: fit-content;
    margin: 0 auto;
    border-top: 1px solid var(--primary);
    padding-top: 1em;
}

.cta-banner .under p:first-of-type {
    font-size: 3.3rem !important;
    letter-spacing: 0.1em;
    line-height: 1.5em;
}

.cta-banner .under p:last-of-type {
    font-size: 1.8rem !important;
    letter-spacing: 0em;
    line-height: 1.2em;
    margin-top: 0.3em;
    margin-left: 0.2em;
}

@media (min-width: 600px) {
    .cta-banner {
        width: var(--content);
        margin-left: auto;
        margin-right: auto;
        border: 1px solid var(--primary);
        box-shadow: 10px 10px var(
            --primary);
            padding: 0 1em 1em 1em;
    }

    .cta-banner .under p:first-of-type br.sp_ {
        display: none;
    }

    .cta-banner .upper {
        width: 100%;
        display: flex;
        justify-content: flex-start;
    }
}

@media (min-width: 1086px) {

    .cta-banner {
        width: var(--content);
        height: 18rem;
        margin-left: 0;
        border: 2px solid var(--primary);
        box-shadow: 10px 10px var(--primary);
        padding: 1rem 1rem 1rem 0;
        display: flex;
        justify-content: flex-start;
        align-items: center;
    }

    .cta-banner:hover,
    .cta-banner:active,
    .cta-banner:focus {
        background-size: 10px 10px;
    }

    .cta-banner .wp-block-group__inner-container {
        display: flex;
        flex-direction: row;
        margin-left: 0 !important;
    }

    .cta-banner .upper-wrapper {
        justify-content: space-between;
        width: var(--content);
        position: relative;
    }

    .cta-banner .upper {
        display: flex;
        flex-direction: column;
        width: 20rem;
        margin-bottom: 0em;
        align-items: center;
        gap: 1rem;
        justify-content: center;
        margin-left: 0;
        border-right: 1px solid var(--primary);
        padding-top: 1.8rem;
    }

    .cta-banner .upper:after {
        position: absolute;
        right: 2rem;
    }

    .cta-banner .upper p {
        font-size: 2rem !important;
        line-height: 1.2em;
    }

    .cta-banner .upper p span {
        font-size: 6.5rem !important;
    }
    .cta-banner .upper .muryo {
        flex-direction: column-reverse;
    }

    .cta-banner .upper .muryo p {
        text-align: center;
    }
    .cta-banner .upper .muryo p:first-of-type {
        font-size: 2rem !important;
    }

    .cta-banner .upper .muryo p:first-of-type span {
        font-size: 0.75em !important;
    }
    .cta-banner .upper .muryo p:nth-of-type(2) {
        font-size: 3.2rem !important;
    }

    .cta-banner .under {
        border-top: none;
        padding-top: 0;
        margin-left: 1em;
        justify-content: center;
    }

    .cta-banner .under p:first-of-type {
        font-size: 4.5rem !important;
        letter-spacing: 0.05em;
    }

    .cta-banner .under p:last-of-type {
        font-size: 2.4rem !important;
    }
}

/* TOP */

.p-blogParts.post_content {
    margin: 12rem 0;
}

/* hero */

.top #content {
    padding: 0;
}

#hero {
    margin-left: var(--ppmargin);
    margin-right: var(--ppmargin);
    position: relative;
    height: 100vh;
}

#hero .main-title {
    margin-left: var(--pmargin);
    padding-top: 1em !important;
    margin-bottom: 1em;
    align-items: center;
}

#hero .hero-logo figure {
    margin: 0;
}

#hero .hero-logo img {
    width: 107px;
    height: 107px;
}

#hero .main-ph {
    width: 87vw;
    height: calc(var(--allheight) - 107px - 32px);
    left: 0;
    background-image: url(/wp-content/uploads/hero-scaled.jpg);
    background-position: 53% 38%;
    background-size: 270%;
    z-index: -10;
    position: absolute;
    margin-bottom: 0;
}

#hero .main-title p {
    font-size: 3rem;
    line-height: 1.5em;
    letter-spacing: 0.2em;
    margin-left: 0.5em;
}

@media (min-width: 600px) and (max-width: 959px) {

}

@media (min-width: 1086px) {

    #hero {
        width: var(--allwidth);
        margin-left: var(--ppmargin);
        position: relative;
        height: var(--allheight);
        position: relative;
    }

    #hero .wp-block-group__inner-container {
        display: flex;
   
    }

    #hero .main-ph {
        width: calc(var(--allwidth) - 248px);
        height: var(--allheight);
        left: unset;
        right: 0;
        background-image: url(/wp-content/uploads/hero-scaled.jpg);
        background-position: 10% 41%;
        background-size: 100%;
        background-repeat: no-repeat;
        z-index: -10;
        position: absolute;
    }

    #hero .main-title {
        flex-direction: column;
        width: 248px;
        height: var(--allheight);
        margin-left: 0;
        background: var(--white);
    }

    #hero .hero-logo img {
        width: 161px;
        height: 161px;
        margin-top: 5rem;
        margin-bottom: 5rem;
    }

    #hero .main-title p {
        line-height: 2em;
        margin-left: 0em;
        text-align: center;
    }
}


/* text-swiper */

.hero-text-swiper {
    position: absolute;
    width: var(--allwidth);
    height: 12.5rem;
    bottom: 0;
    background: var(--primary);
}

.hero-text-swiper .swiper-wrapper {
    display: flex;
    height: 12.5rem;
}

.hero-text-swiper .swiper-slide {
    display: flex;
    justify-content: start;
    align-items: center;
    width: var(--allwidth);
    height: 12.5rem;
    color: var(--white);
    font-weight: 300;
    font-size: 2.7rem;
    letter-spacing: 0.1em;
    line-height: 1.5em;
    padding-left: 0.5em;
}

@media (min-width: 600px) {

}

@media (min-width: 1086px) {
    .hero-text-swiper {
        min-width: 8.9rem;
        width: 65vw;
        height: 12rem;
        bottom: 4rem;
        overflow: hidden;
    }

    .hero-text-swiper .swiper-wrapper {
        height: 12rem;
        justify-content: flex-start;
    }

    .hero-text-swiper .swiper-slide >div {
        width: 100% !important;
        font-size: 38px;
        padding-right: 0.5em;
        text-align: end;
        letter-spacing: 0.2em;
    }

    

}


/* service */

.post_content #service h2 {
    margin-top: 15rem !important;
}

.post_content #service h2::after {
    left: -3.2rem;
    top: -8rem;
    letter-spacing: 0.13em;
}


/* service-swiper */

.p-mainVisual__imgLayer.c-filterLayer__img {
    width: 90%;
    height: 70%;
}

.service-swiper-ph {
    position: relative;
    margin-top: 8rem;
    margin-bottom: 0 !important;
    margin-left: var(--ppmargin);
    margin-right: var(--ppmargin);
}

.service-swiper-ph .swiper-slide {
    width: var(--allwidth) !important;

    height: 24.6rem;
}

.service-swiper-ph .swiper-wrapper {
    display: flex;
    width: calc(4 * var(--allwidth));
    height: 24.6rem;
}

.service-swiper-ph .swiper-pagination {
    position: absolute;
    top: -4rem !important;
} 

.service-swiper-ph .swiper-button-prev:after,
.service-swiper-ph .swiper-button-next:after {
    display: none;
}

.service-swiper-ph .swiper-button-prev,
.service-swiper-ph .swiper-button-next {
    position: absolute;
    color: var(--primary);
    font-size: 7.5rem;
    top: -2.5rem;
}

.service-swiper-ph .swiper-button-prev {
    right: unset;
    left: 25px;
}

.service-swiper-ph .swiper-button-next {
    right: 25px;
    left: unset;
}

.swiper-pagination-bullet-active {
    background: var(--primary) !important;
}

.service-swiper-ph .swiper-slide.sl01 {
    background: url(/wp-content/uploads/AdobeStock_514363036-scaled.jpeg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;
}
.service-swiper-ph .swiper-slide.sl02 {
    background: url(/wp-content/uploads/AdobeStock_102195377-scaled.jpeg);
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: 50% 50%;
}
.service-swiper-ph .swiper-slide.sl03 {
    background: url(/wp-content/uploads/AdobeStock_541595849-scaled.jpeg);
    background-repeat: no-repeat;
    background-size: 210%;
    background-position: 50% 100%;
}
.service-swiper-ph .swiper-slide.sl04 {
    background: url(/wp-content/uploads/AdobeStock_591954115-scaled.jpeg);
    background-repeat: no-repeat;
    background-size: 190%;
    background-position: 30% 60%;
}

.service-swiper-p,
.service-swiper-ul,
.service-swiper-h3 {
    margin-bottom: 0 !important;
    margin-left: var(--ppmargin);
    margin-right: var(--ppmargin);
}

.service-swiper-p .swiper-wrapper,
.service-swiper-ul .swiper-wrapper,
.service-swiper-h3 .swiper-wrapper {
    display: flex;
    width: calc(4 * var(--allwidth));
    height: auto;
}

.service-swiper-p .swiper-slide,
.service-swiper-ul .swiper-slide,
.service-swiper-h3 .swiper-slide {
    width: var(--allwidth);
    height: auto;
}


.service-swiper-p {
    margin-top: 1em;
}

.service-swiper-p .swiper-slide p {
    margin: 1em var(--pmargin);
    line-height: 2em;
}

.service-swiper-ul .swiper-slide li {
    margin: 0 var(--pmargin);
    color: var(--primary);
    line-height: 2em;
}

.service-swiper-ul .swiper-slide ul {
    position: relative;
}

.service-swiper-ul .swiper-slide ul:after {
    content: "";
    display: block;
    background: var(--gray);
    width: var(--allwidth);
    height: 12rem;
    position: absolute;
    top: 50%;
    left: 0;
    z-index: -10;
}


.service-swiper-h3 .swiper-slide {
    height: 8.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--primary);    
}

.service-swiper-h3 .swiper-wrapper h3 {
    width: var(--content);
    margin-left: var(--pmargin);
    font-weight: 400;
    color: var(--white);
    font-size: 2.6rem;
    padding: 0;
    padding-left: 0.5em;
}

.service-swiper-h3 h3:before {
    width: 0.5rem;
    height: 3.7rem;
    background: var(--white);
    bottom: calc(50% - 0.5* 3.7rem);
}

@media (min-width: 600px) {
    .post_content #service h2::after {
        top: -11rem;
    }
}

@media (min-width: 1086px) {

    #service {
        margin-top: 17rem;
        position: relative;
    }

    #service:after {
        content: "";
        display: block;
        background: var(--gray);
        width: var(--allwidth);
        margin-left: var(--ppmargin);
        height: 19rem;
        position: absolute;
        top: 20%;
        left: var(--ppmargin);
        z-index: -10;
    }

    #service .wp-block-group__inner-container {
        display: flex;
        flex-direction: column;
    }

    .post_content #service h2 {
        margin-top: 22rem !important;
        order: 5;
        margin-bottom: 0rem;
    }

    .post_content #service h2::after {
        left: 0;
        top: -17rem;
        letter-spacing: 0.3em;
        transform: unset;
    }

    .service-swiper-ph .swiper-button-prev, .service-swiper-ph .swiper-button-next {
        top: 24.5rem;
    }

    .service-swiper-ph .swiper-button-next {
        right: calc(25px + (80rem - 46rem));
        left: unset;
    }

    .service-swiper-ph .swiper-pagination {
        bottom: -4rem !important;
        top: unset !important;
        text-align: start;
    }

    .service-swiper-ph {
        order: 1;
        width: 80rem;
        height: 38rem;
        margin-right: 0;
        right: 0;
        margin-left: auto;
        position: relative;
        margin-top: 0rem;
    }

    .service-swiper-ph .swiper-wrapper {
        display: flex;
        width: unset;
        height: unset;
    }

    .service-swiper-ph .swiper-slide {
        width: 80rem !important;
        height: 38rem;
    }

    .service-swiper-h3 {
        order: 2;
        width: 46rem;
        height: 10rem;
        overflow: hidden;
        position: relative;
        margin-left: calc(var(--content) - 80rem);
        top: -10rem;
    }

    .service-swiper-h3 .swiper-slide {
        height: 10rem;
    }

    .service-swiper-h3 .swiper-wrapper h3 {
        margin-left: 0.8em;
    }

    .service-swiper-p {
        order: 3;
        width: 60rem;
        overflow: hidden;
        margin-left: calc((var(--content) - 80rem) + 20rem);
        margin-right: 0;
        margin-top: -4rem;
    }

    .service-swiper-p .swiper-slide p {
        margin: 1em 0;
        line-height: 2em;
    }

    .service-swiper-ul {
        order: 4;
        overflow: hidden;
        width: calc(var(--content) - 80rem);
        margin-bottom: 0 !important;
        margin-left: unset;
        margin-right: var(--ppmargin);
        position: relative;
        margin-top: -45rem;
        height: 44rem;
    }

    .service-swiper-ul .swiper-slide li {
        margin: 0;
        margin-top: 1em;
        line-height: 1.5em;

    }

    .service-swiper-ul .swiper-slide li span {
        display: inline-block;
    }

    #service:after {
        content: "";
        display: block;
        background: var(--gray);
        width: var(--allwidth);
        margin-left: var(--ppmargin);
        height: 19rem;
        position: absolute;
        top: 20%;
        left: var(--ppmargin);
        z-index: -10;
    }

    .service-swiper-ul .swiper-slide ul:after {
        display: none;
    }
}


/* case study */

.post_content #case-study h2 {
    margin-top: 25rem !important;
    margin-bottom: 7rem;
}

#case-study h2:before {
    display: block;
    width: var(--allwidth);
    margin-left: var(--ppmargin);
    height: 11.6rem;
    background-color: #fff;
    background-image: radial-gradient(var(--dot-gray) 30%, transparent 30%);
    background-size: 5px 5px;
    z-index: -10;
    top: -6rem;
}

.post_content #case-study h2::after {
    text-align: end;
    margin-right: var(--ppmargin);
    right: -5px;
    top: -18rem;
}


#case-study h3 {
    font-size: 2.6rem;
    font-weight: 300;
    height: 4.5rem;
    border-left: 0.6rem solid var(--primary);
    padding: 0 0.5em;
    margin: 5em 0 2rem;
    color: var(--primary);
    display: flex;
    align-items: center;
}

#case-study h3:before {
    display: none;
}



#case-study p {
    margin-bottom: 3em !important;
}


@media (min-width: 600px) {
    .post_content #case-study h2::after {
        top: -12rem;
    }
}

@media (min-width: 1086px) {

    #case-study {
        margin-top: 52rem;
        margin-bottom: 10rem;
    }

    #case-study h2:before {
        width: calc(var(--pmargin) + 91rem);
        height: 18.5rem;
        background-image: radial-gradient(var(--dot-gray) 30%, transparent 30%);
        background-size: 10px 10px;
        margin-left: unset;
        margin-right: var(--ppmargin);
        right: 0;
        left: unset;
    }

    .post_content #case-study h2::after {
        text-align: start;
        margin-right: var(--ppmargin);
        right: unset;
        left: 0;
        top: -18rem;
        z-index: -10;
        letter-spacing: 0.1em;
    }

    #case-study .wp-block-group.pc_only {
        margin-top: -49rem;
        position: relative;
        z-index: 10;
    }

    #case-study .wp-block-group.pc_only .wp-block-group__inner-container .wp-block-group.upper {
        display: flex;
        justify-content: start;
        gap: 2em;
    }

    #case-study .wp-block-group.pc_only .wp-block-group__inner-container .wp-block-group.under {
        display: flex;
        justify-content: end;
        gap: 2em;
        margin-top: 12rem;
    }

    #case-study .wp-block-group.pc_only .wp-block-group__inner-container .wp-block-group.upper .wp-block-group.is-vertical,
    #case-study .wp-block-group.pc_only .wp-block-group__inner-container .wp-block-group.under .wp-block-group.is-vertical {
        width: 32rem;
        gap: 0;
    }

    #case-study .swell-block-column:first-of-type {
        margin-left: 0;
    }
}

/* price */

#price {
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
    width: var(--allwidth);
    margin-left: var(--ppmargin);
}

.post_content #price h2 {
    margin-top: 12rem;
    margin-bottom: 0;
    color: var(--white);
    font-size: 4.2rem;
    letter-spacing: 0.2em;
    background: var(--primary);
    width: var(--allwidth);
    height: 7.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 600px) {

    #price {
        border: 2px solid var(--primary);
        width: 42rem;
        margin-left: auto;
        margin-right: auto;
    }

    .post_content #price h2 {
        width: 42rem;
    }
}

@media (min-width: 1086px) {

    #price {
        width: 855px;
        margin-left: auto;
        margin-right: auto;
    }

    #price .wp-block-group__inner-container {
        display: flex;
    }

    #price .wp-block-group__inner-container .wp-block-group {
        width: 43rem;
        justify-content: center;
    }

    .post_content #price h2 {
        width: 43rem;
        height: 9rem;
        margin: 0;
    }

    #price .wp-block-group p:first-of-type {
        font-size: 5rem !important;
    }

    #price .wp-block-group p:first-of-type span {
        font-size: 0.6em !important;
    }
    #price .wp-block-group p:last-of-type {
        font-size: 7.8rem !important;
        position: relative;
        top: 0.7rem;
    }

    #price .wp-block-group p:last-of-type span {
        font-size: 0.5em !important;
    }
}


/* blog */

#price .wp-block-group {
    display: flex;
    align-items: baseline;
    line-height: 1em;
    margin-top: 3rem;
    margin-bottom: 1.5rem !important;
    gap: 2rem;
}


.post_content #news h2{
    margin-top: 20rem !important;
}

.post_content #news h2 a {
    color: var(--primary);
}

.post_content #news h2 a::after {
    content: ">>>";
    color: var(--primary);
    font-size: 5rem;
    letter-spacing: -0.2em;
    margin-left: 0.2em;
    position: relative;
    top: 5px;
}

.post_content #news h2::after {
    margin-left: var(--ppmargin);
    top: -8rem;
    left: 0px;
}



.post_content #news h2::before {
    content: "";
    display: block;
    width: 70.5vw;
    height: 14.7rem;
    background: var(--gray);
    z-index: -10;
    margin-left: var(--ppmargin);
    top: 2rem;
    left: 0px;
}



#news .rss_header {
    display: none;
}

.post_content #news .rss_image {
    display: none;
}
.post_content #news .rss_content a {
    display: none;
}

.post_content #news ul {
    padding-left: 0;
}




/* blog swiper */

#news .feedzy-rss-1 {
    width: 20rem;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    position: relative;
    z-index: 10;
}

#news .swiper-wrapper {
    
}

#news span.title a {
    font-weight: 400;
    color: var(--primary);
    font-size: 1em;
    line-height: 2em;
}

#news .rss_content p {
    line-height: 2em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

#news .wp-block-group__inner-container {
    position: relative;
}

#news .swiper-button-prev,
#news .swiper-button-next {
    width: 74px;
    height: 74px;
    top: 50%;
}

#news .swiper-button-prev:after,
#news .swiper-button-next::after {
    content: "";
    display: block;
    width: 37px;
    height: 37px;
    border-top: 2px solid var(--primary);
    border-right: 2px solid var(--primary);
}

#news .swiper-button-prev:after {
    transform: rotate(-135deg);
}

#news .swiper-button-next:after {
    transform: rotate(45deg);
}

#news .swiper-button-prev {
    left: 0rem;
    right: unset;
}

#news .swiper-button-next {
    left: unset;
    right: 0;
}

@media (min-width: 600px) {

    .post_content #news h2::after {
        top: -10rem;
    }

    #news .news-wrapper {
        width: 50rem;
        margin: 0 auto;
    }

    #news .swiper-button-prev, #news .swiper-button-next {
        top: calc(-2em + 50%);
    }

}

@media (min-width: 1086px) {

    #news {
        margin-top: 56rem;
    }

    .post_content #news h2 a {
        position: relative;
        z-index: 10;
        left: 50%;
    }

    .post_content #news h2::before {
        width: calc(var(--pmargin) + 79rem);
        height: 20rem;
        z-index: -10;
        margin-left: var(--ppmargin);
        top: -16rem;
    }

    .post_content #news h2::after {
        margin-left: 0;
        top: -16rem;
        left: 50%;
    }

    #news .news-wrapper {
        border: 1px solid var(--primary);
        padding: 3em 0;
        margin-top: -58rem;
        z-index: 10;
        position: relative;
        width: var(--content);
    }

    #news .feedzy-rss-1 {
        width: 85rem;
        margin: 0 auto;
    }

    #news .swiper-button-prev, #news .swiper-button-next {
        width: 74px;
        height: 74px;
        top: calc(-2em + 50%);
    }

    #news .swiper-button-prev:after, #news .swiper-button-next::after {
        content: "";
        display: block;
        width: 54px;
        height: 54px;
        border-top: 2px solid var(--primary);
        border-right: 2px solid var(--primary);
    }

    #news .swiper-button-prev {
        left: 3.5rem;
    }

    #news .swiper-button-next {
        right: 3.5rem;
    }

    #news .swiper-wrapper {
        margin: 0 auto;
        transform: translateX(0);
        transition-timing-function: var(--swiper-wrapper-transition-timing-function,initial) !;
    }

    #news .swiper-wrapper .swiper-slide {
        margin-right: 0;
    }
}


/* FAQ */

.post_content #faq h2 {
    text-align: end;
    margin-top: 19rem !important;
    margin-bottom: 1em;
}

.post_content #faq h2:after {
    content: "FAQ";
    top: -8rem;
    right: 0;
}

#faq .faq_q {
    display: flex;
    align-items: center;
    height: 7.2rem;
    border-top: 1px solid var(--primary);
    border-bottom: 1px solid var(--primary);
    line-height: 1.5em;
    width: var(--allwidth);
    margin-left: var(--ppmargin);
    padding: 0;
    padding-right: 1em;
    padding-left: calc(var(--pmargin) + 3em);
    font-weight: 300;
}

#faq .faq_a {
    line-height: 2em;
    background-image:
      radial-gradient(var(--dot-gray) 30%, transparent 30%);
    background-size: 5px 5px;
    margin-top: 1em;
    padding-left: 4em;
    margin-bottom: 2em !important;
}

#faq .faq_q,
#faq .faq_a {
    color: var(--primary);
}

#faq .faq_q:before {
    border-radius: var(--swl-faq_icon_radius);
    bottom: unset;
    content: "Q.";
    display: block;
    font-family: var(--gothicfont);
    font-weight: 400;
    left: var(--pmargin);
    line-height: 72px;
    position: absolute;
    text-align: start;
    top: unset;
    width: 2em;
    font-size: 3.2rem;
    color: var(--primary);
    box-shadow: none;
}

[data-a=col-text] .faq_a:before, [data-q=col-text] .faq_q:before {
    box-shadow: unset;
}

#faq .faq_a:before {
    border-radius: var(--swl-faq_icon_radius);
    bottom: unset;
    content: "A.";
    display: block;
    font-family: var(--gothicfont);
    font-weight: 400;
    left: 0;
    line-height: 1em;
    position: absolute;
    text-align: start;
    top: 1.6rem;
    width: 2em;
    font-size: 3.2rem;
    color: var(--primary);
    left: 0.7em;
    box-shadow: none;
}


@media (min-width: 600px) {

    .post_content #faq h2:after {
        top: -11rem;
    }
}

@media (min-width: 1086px) {

    #faq {
        margin-top: 92rem;
        margin-bottom: 19rem;
    }

    #faq .faq-wrapper {
        margin-top: -82rem
    }

    .post_content #faq h2 {
        text-align: start;
        margin-top: 19rem !important;
        margin-bottom: 1em;
    }

    .post_content #faq h2:after {
        content: "FAQ";
        top: -18rem;
        right: unset;
        left: 0;
    }

    #faq .faq_q {
        width: 48rem;
        height: auto;
        border: 1px solid var(--primary);
        line-height: 1.5em;
        padding: 1.5em 0;
        padding-right: 1em;
        padding-left: 3.5em;
        margin-left: 0;
    }

    #faq .faq_q:before {
        left: 1.6rem;
    }

    #faq .faq_a {
        width: 48rem;
        margin-left: 6rem;
        margin-bottom: 0em !important;
        padding-right: 2em;
    }

    #faq .right .faq_a {
        padding-right: 3em;
    }

    #faq .faq-wrapper .wp-block-group__inner-container {
        display: flex;
        width: 48rem;
        margin-left: 134px !important;
    }

    #faq dl {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    #faq dl.left {
        
    }

    #faq dl.right {
        margin-top: 7rem;
    }

    #faq .swell-block-faq .swell-block-faq__item+.swell-block-faq__item {
        margin-top: 0;
    }
}


/* profile */


.post_content #profile h2 {
    margin-top: 20rem !important;
    margin-bottom: 3rem;
}

.post_content #profile h2:after {
    content: "PROFILE";
    margin-left: var(--ppmargin);
    top: -8rem;
    left: 0px;
}

#profile p {
    line-height: 2em;
}

#profile p:last-child {
    line-height: 2em;
}
#profile .suggest:last-child,
#profile dd p {
    line-height: 1.5em !important;
}

#profile dl {
    margin-top: 4rem !important;
}

#profile {
    position: relative;    
}

#profile dt {
    font-weight: 300;
    text-decoration: underline;  
}

#profile dd {
    padding: 0.5em 1em;
}

#profile:after {
    content: "";
    position: absolute;
    display: block;
    width: 66vw;
    height: 35rem;
    right: var(--ppmargin);
    bottom: -5rem;
    background-image: radial-gradient(var(--dot-gray) 30%, transparent 30%);
    background-size: 5px 5px;
    z-index: -10;
}

/* history */


.post_content #history h2 {
    margin-top: 16rem !important;
    margin-bottom: 3rem;
}

.post_content #history h2:after {
    content: "HISTORY";
    margin-left: var(--ppmargin);
    top: -8rem;
    left: 0px;
}

.post_content #history h2:before {
    content: "";
    display: block;
    width: 82vw;
    height: 24rem;
    background: var(--gray);
    z-index: -10;
    margin-left: var(--ppmargin);
    top: 2rem;
    left: unset;
    right: var(--ppmargin);
}

#history dl {
    position: relative;
    z-index: 20;
}

#history dt {
    float: left;
    font-weight: 400;
    margin-top: 0.5em;
    text-align: end;
    width: 6em;
}

#history dd {
    margin-left: 5.5em;
    padding: 0.5em 1em 0 1em;
}

/* access */

#access {
    margin-bottom: 7rem !important;
}

.post_content #access h2 {
    margin-top: 16rem !important;
    margin-bottom: 3rem;
}

.post_content #access h2:after {
    content: "ACCESS";
    margin-left: var(--ppmargin);
    top: -8rem;
    left: 0px;
}

#access .swell-block-columns {
    margin-top: 3em;
}

#access dt {
    font-weight: 400;
    margin-top: 1em;
    width: 4em;
    line-height: 1.5em;
}

#access dd {
    margin-left:0em;
    padding: 0.5em 1em 1em 1em;
    line-height: 1.5em;
}
#access dd:not(:last-of-type) {
    border-bottom: 1px solid var(--text);
}

#access dd span {
    display: inline-block;
}

#access dd  span:not(:first-of-type) {
    margin-left: 0.5em;
}



@media (min-width: 600px) {

    .post_content #profile h2:after {
        top: -11rem;
    }

    .post_content #history h2:after {
        top: -11rem;
    }

    .post_content #access h2:after {
        top: -11rem;
    }
}

@media (min-width: 1086px) {

    #profile {
        border-left: 1px solid var(--primary);
        height: 57rem;
        padding-top: 1rem;
    }

    #profile:after {
        width: calc(var(--pmargin) + 59rem);
        height: 19rem;
        right: var(--ppmargin);
        bottom: -5rem;
        background-image: radial-gradient(var(--dot-gray) 30%, transparent 30%);
        background-size: 10px 10px;
        z-index: -10;
        bottom: 0rem;
    }

    .post_content #profile h2 {
        text-align: end;
        margin-top: 14rem !important;
    }

    .post_content #profile h2:after {
        content: "PROFILE";
        margin-left: unset;
        top: -16rem;
        left: unset;
        right: -4rem;
    }

    #profile div>div>div>.wp-block-group {
        display: flex;
        flex-direction: row;
        gap: 2em;
        margin-top: -6rem !important;
        z-index: 10;
        position: relative;
        justify-content: space-between;
    }

    #profile div>div>div>div>.wp-block-group:first-of-type {
        width: 51rem;
        padding-left: 1.5em;
    }

    #profile div>div>div>div>.wp-block-group:last-of-type {
        width: fit-content;
        display: flex;
        flex-direction: column;
        margin-top: 7rem !important;
    }

    #profile div>div>div>div>.wp-block-group p:last-child {
        line-height: 2em;
    }

    #profile dl {
        width: 53rem;
    }

    #profile dt {
        text-decoration: none;
    }

    #profile .swell-block-dl__dt {
        font-weight: 300 !important;
        width: 10em;
        text-align: end;
        float: left;
        line-height: 2em;
    }

    #profile dd {
        padding: 0em;
        margin-left: 11em;
        line-height: 2em;
    }

    #profile dd p {
        line-height: 2em !important;
    }

    .swell-block-dl__dd+.swell-block-dl__dt {
        margin-top: 0em;
    }

    #history {
        margin-top: calc(26rem + 34rem);
    }

    #history .pc_only {
        margin-top: -55rem;
    }

    #history .pc_only .wp-block-group.left {
        margin-left: 4.2rem;
        gap: 2em;
    }

    #history .pc_only .wp-block-group.left .swell-block-dl:last-of-type {
        margin-left: 13.2rem;
    }

    #history .pc_only .wp-block-group.right {
        gap: 2em;
        margin-left: 6rem;
        margin-top: 6em;
    }

    #history .pc_only .wp-block-group.right .swell-block-dl:last-of-type {
        margin-left: 19.2rem;
    }

    .post_content #history h2:before {
        width: calc(var(--pmargin) + 66rem);
        height: 20.4rem;
        top: -48rem;
    }

    .post_content #history h2:after {
        margin-left: 0;
        top: -17rem;
        left: -1rem;
    }

    #access {
        margin-top: 33rem;
    }

    .post_content #access h2 {
        width: 87.2rem;
        margin: 0 auto;
    }

    .post_content #access h2:after {
        top: -16rem;
        margin-left: unset;
    }

    #access dl.swell-block-dl {
        margin-left: 0%;
        margin-top: -5rem;
        margin-bottom: 2em;
    }

    .swell-block-columns__inner {
        display: flex;
        flex-direction: row-reverse;
    }
}


/* 問い合わせ */

#contact .wp-block-group__inner-container p:first-of-type span {
    display: inline-block;
}

#contact .wpcf7-form br {
    display: none;
}

#contact .wpcf7-form >p,
#contact .wpcf7-form >div  {
    margin-top: 2em;
}

.booking.hissu {
    margin-top: 1em !important;
}

#contact p.btn-submit {
    margin-top: 0em;
    margin-bottom: 6rem;
    display: flex;
    justify-content: center;
    width: var(--content);
    flex-direction: column;
}

#contact p.btn-submit input:hover,
#contact p.btn-submit input:active,
#contact p.btn-submit input:focus {
    background: var(--primary);
    color: var(--white);
}

#contact p.kojin-joho-p {
    display: flex;
    justify-content: center;
    margin-right: 1.5em;
}

.c-pageTitle {
    display: none;
}

.post_content #contact h2 {
    margin-top: 12rem !important;
    margin-bottom: 13rem;
}

.post_content #contact h2:after {
    content: "CONTACT";
    margin-left: var(--ppmargin);
    top: -8rem;
    left: 0;
}

#contact h2:before {
    display: block;
    width: 85vw;
    margin-right: var(--ppmargin);
    height: 18.5rem;
    background-color: #fff;
    background-image: radial-gradient(var(--dot-gray) 30%, transparent 30%);
    background-size: 5px 5px;
    z-index: -10;
    top: -4rem;
    right: 0;
    left: unset;
}

#contact input {
    border: none;
    border-bottom: 1px solid var(--primary);
    background: var(--white);
    color: var(--text);
    padding: 0.5em;
    width: var(--content);
}

#contact .name.hissu p,
#contact .name-furi.hissu p,
#contact p > label:first-of-type {
    color: var(--primary);
}

#contact .hissu >:first-child::after,
#contact p > label:first-of-type::after {
    content: "必須";
    display: inline-block;
    font-size: 12px;
    border: 1px solid var(--primary);
    margin-left: 0.5em;
    padding: 1px;
    position: relative;
    top: -1px;
    line-height: 1.2em;
}

#contact .wpcf7-list-item label::after,
#contact .name.hissu div > p label::after,
#contact .name-furi.hissu div > p label::after,
#contact .booking div > p label::after,
#contact .name.hissu div > p label input::after,
#contact .name-furi.hissu div > p label input::after,
#contact .name.hissu p span::after,
#contact div > div > label::after,
#contact .your-company label:after {
    display: none;
}

#contact .wpcf7-form-control.wpcf7-radio {
    display: grid;
    margin-top: 0.2em;
}

#contact span.wpcf7-list-item label{
    color: var(--text);
}

#contact span.wpcf7-list-item label input {
    display: inline;
    width: unset;
    margin-right: 0.3em;
}



#contact .booking label:first-of-type,
#contact .booking label:nth-of-type(2) {
    color: var(--text);
    margin-right: 0.5em;
}

.contact-title,
.interview-title {
    color: var(--primary);
}

#contact .booking.hissu label::after {
    display: none;
}

#contact .wpcf7-date,
#contact select {
    width: unset;
    border: none;
    border-bottom: 1px solid var(--primary);
    background: var(--white);
    color: var(--text);
    padding: 0.5em;
}

.booking div:first-of-type {
    margin-bottom: 0.5em;
}

.booking div label {
    display: inline-block;
    width: 4em;
    text-align: end;
}

.booking {
    margin-bottom: 1em;
}

#contact .booking:last-of-type {
    margin-bottom: 2em;
}



#contact .name.hissu {
    margin-top: 2em;
}
#contact .name-furi.hissu {
    margin-top: 1em;
}

#contact .name.hissu label,
#contact .name-furi.hissu label {
    display: inline-block;
    width: 3em;
    margin-right: 0.5em;
    text-align: end;
}

#contact .name.hissu p input,
#contact .name-furi.hissu p input {
    width: calc(var(--content) - 3.5em);
}

#contact p textarea {
    color: var(--text);
    border: 1px solid var(--primary);
    background: var(--white);
    width: var(--content);
}

#contact .kojin-joho-p span.wpcf7-list-item label {
    display: flex;
    flex-direction: row;
}

#contact .btn-submit input {
    border: 1px solid var(--primary);
    color: var(--primary);
    width: 18rem;
    margin: 0 auto;
}

.wpcf7 form .wpcf7-response-output {
    border: none;
}

option:not(:first-child){
    color: var(--placeholder);
}

#form select{
    color: var(--placeholder);
}

@media (min-width: 600px) {


    #contact .wp-block-group__inner-container p:first-of-type {
        border-bottom: 1px solid var(--primary);
    }

    #contact .wp-block-group__inner-container .wpcf7 p:first-of-type {
        border-bottom: none;
    }

    #contact .wpcf7-form input[type="checkbox" i] {
        accent-color: var(--primary);
    }

    #contact .wpcf7-form>p,
    #contact .wpcf7-form>div {
        display: flex;
    }

    #contact .contact-title {
        display: flex;
        justify-content: end;
        width: 22rem;
    }

    #contact .name.hissu>p,
    #contact .name-furi.hissu>p,
    #contact p > label:first-of-type {
        width: 22rem;
        text-align: end;
        margin-left: 0;
    }

    #contact .wpcf7-form-control.wpcf7-radio {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
    }

    #contact .request_counseling .wpcf7-form-control.wpcf7-radio {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-rows: 1fr 1fr;
    }

    #contact .tel-time .wpcf7-form-control.wpcf7-radio {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-rows: 1fr;
    }

    #contact .request_counseling .wpcf7-form-control.wpcf7-radio .wpcf7-list-item:nth-of-type(2) {
        grid-column: 2/4;
        grid-row: 1/2;
    }

    #contact .booking {
        display: flex;
        flex-direction: column;
    }

    #contact .booking>p {
        width: 22rem;
        text-align: end;
        margin-left: 0;
    }

    #contact .booking>div>p>label {

    }

    #contact .name.hissu p input, 
    #contact .name-furi.hissu p input {
        width: 20rem;
    }

    #contact .name.hissu,
    #contact .name-furi.hissu {
       display: flex;
       align-items: center;
    }

    #contact .name.hissu div>p,
    #contact .name-furi.hissu div>p {
        width: unset;
        display: flex;
        margin-left: 0.5em;
        align-items: center;
    }

    #contact .name.hissu div>p>label,
    #contact .name-furi.hissu div>p>label {
        margin-left: 0;
        width: 2em;
        line-height: 2em;
    }

    #contact p:nth-of-type(n+5) span input {
        width: unset;
        margin-left: 0.5em
    }

    #contact p:nth-of-type(n+5) textarea {
        width: calc(var(--content) - 22rem - 0.5em);
        margin-left: 0.5em
    }

    #contact .btn-submit input {
        width: 53rem;
    }
}

@media (min-width: 1086px) {

    #contact .booking {
        display: flex;
        flex-direction: row;
        align-items: center;
    }

    #contact .booking>p {
        width: 34.5rem;
    }

    #contact .booking>div>p>label:first-of-type {
        width: 5em;
    }

    #contact select {
        margin-right: 0.5em;
    }

    #contact select:last-of-type {
        margin-left: 0.5em;
    }

    .post_content #contact h2 {
        margin-top: 26rem !important;
        margin-bottom: 8rem;
    }

    .post_content #contact h2:after {
        content: "CONTACT";
        margin-left: 0;
        top: -17rem;
        left: 0;
    }

    #contact h2:before {
        width: 92rem;
        height: 18.5rem;
        background-color: #fff;
        background-image: radial-gradient(var(--dot-gray) 30%, transparent 30%);
        background-size: 10px 10px;
        top: -26rem;
    }
}

/* pop-up sozoku */

.sgpm-popup-maker-wrapper > .grid-stack.grid-stack-instance-6390.sg-stack-item {
    height: 40vh;
}
.sgpm-popup-maker-wrapper > .grid-stack-item.ui-draggable.ui-resizable.ui-resizable-autohide.sg-stack-item {
    height: 40vh;
}

