@charset "utf-8";
/* CSS Document */

@media only screen and (min-device-width: 768px) and (max-device-width: 959px) and (orientation:portrait) {
    #main_visual .p-mainVisual__inner {
    }
    #main_visual .p-mainVisual__textLayer {
        /* height: calc(42vh - 80px); */
    }
    #main_visual .p-mainVisual__textLayer .p-mainVisual__slideTitle {
        font-size: 4.2vw;
    }
    body#feature .swell-block-columns .swell-block-column {
        width: 100%;
    }
    .post_content h2, .post_content .ttl h2.wp-block-heading:not(.p-postList__title), .page .post_content h2.wp-block-heading {
        font-size: 3.5vw !important;
    }
    .post_content h3 {
    font-size: 2.5vw;
    }
    .fs_l, .has-l-font-size, .has-large-font-size, .u-fz-l {
        font-size: 1.7vw !important;
    }
    .post_content > .wp-block-group.has-background, .post_content > .wp-block-group.alignfull {
		padding-left: 4vw;
		padding-right: 4vw;
	}
    #content .post_content #access .swell-block-column:first-child {
        width: 100%;
    }
    footer .l-footer__inner #ft_r h3 {
        font-size: 2.5vw;
    }
    h1.c-pageTitle {
        font-size: 3vw;
        padding: 5px 10px 6px;
    }
}

@media all and (min-width: 960px) and (max-width: 1200px) {
    header#header .l-container {
        padding: 0 15px;
        margin: 0 10px;
    }
    header #util_nav li a.mail {
        right: 10px;
    }
    header#header .l-header__logo #logo {
        width: 200px;
    }
    header #gnav {
        padding-right: 230px;
    }
    header .c-gnav>.menu-item.menu-item-1300 {
        display: none;
    }
    header .c-gnav>.menu-item>a .ttl {
        font-size: 0.85rem;
    }
    header .c-gnav>.menu-item>a span.desc {
        font-size: 0.65rem;
    }
    #main_visual .c-filterLayer__img::before {
        background: url(../../../../uploads/mainv_cover.png) no-repeat top center;
        background-size: cover;
    }
    .post_content .wp-block-group.alignfull > div {
        padding-left: 4vw;
        padding-right: 4vw;
    }
}

@media all and (min-width: 768px) and (max-width: 1024px) {
    #main_visual .p-mainVisual__textLayer {
        top: unset !important;
        bottom: 5%;
        justify-content: flex-end;
    }
    #main_visual .p-mainVisual__textLayer .p-mainVisual__slideText {
        font-size: 2.3vw !important;
    }
    .post_content .ttl p:not(.has-text-align-center) {
        margin-left: -20px;
    }
    footer#footer #f_contact {
        background: url(../../../../uploads/bg_cta.jpg) no-repeat center top 100%;
        background-size: 100%;
        padding-bottom: 200px;
    }
    footer#footer #f_contact > section > section {
        margin: 0 2vw;
    }
    footer .l-footer__inner #ft_r {
        right: 0;
    }
    .post_content .ttl p strong, footer .ttl p span {
        font-size: 2.4vw;
    }
    .post_content .ttl h2, footer .ttl h2 {
        font-size: 3.4vw;
    }
    .post_content .ttl h2.wp-block-heading:not(.p-postList__title), .post_content #strength .ttl h2 strong {
        font-size: 3.4vw !important;
    }
    .post_content #service .swell-block-column h3 {
        font-size: 2.9vw;
        line-height: 1.3;
        padding-left: 25px;
        min-height: 2.5em;
    }
    body.feature .post_content #philo h2 {
        font-size: 4.4vw;
    }
    .post_content #strength .swell-block-column h3 span {
        top: -65px;
        left: -5px;
        font-size: 5vw !important;
    }
    .post_content h3 {
        font-size: 3vw;
        line-height: 1.3;
    }
    .post_content h3 {
        font-size: 2.7vw;
    }
    .post_content h4 {
        font-size: 2.3vw;
    }
    .p-postList .p-postList__title {
        font-size: 2.4vw !important;
    }
    #after_article .p-postList .p-postList__title {
        font-size: 2vw !important;
    }
    #strength .swell-block-columns__inner, body.service .swell-block-columns__inner {
        margin-left: calc(3rem * -1);
        row-gap: 3rem;
    }
    #strength .swell-block-columns .swell-block-column, body.service .swell-block-columns .swell-block-column {
        margin: 0 0 0 3rem;
        width: calc(var(--clmn-w) - 3rem);
    }
    .post_content #service .swell-block-column .wp-block-group {
        padding: 0 1.25em 1.25em;
    }
    .home .post_content #strength .swell-block-column h3 {
        font-size: 2.8vw;
        text-align: left;
    }
    footer#footer #f_contact ul li a.pc {
        display: inline-block !important;
        background: url(../../../../uploads/icon_tel.svg) no-repeat top 29px left;
        background-size: 22px;
        border: none;
        padding: 12px 0 0 35px;
        font-size: 2.8rem;
        font-size: 4.5vw;
        margin: 0;
        line-height: 1.3;
    }
    footer#footer #f_contact ul li a.sp {
        display: none;
    }
    p, table, dl dt, dl dd, li {
        font-size: 1rem;
    }
    body.service .post_content > .wp-block-group, body.products .post_content > .wp-block-group {
        padding-top: 2em;
        padding-bottom: 2em;
    }
}

@media all and (min-width: 768px) and (max-width: 959px) {
    #main_visual .p-mainVisual__inner {
        height: 65vh;
    }
    #main_visual .p-mainVisual__textLayer {
        top: 24vh;
    }
    #main_visual .p-mainVisual__textLayer .p-mainVisual__slideTitle {
        font-size: 5vw;
        line-height: 1.1;
    }
    #main_visual .p-mainVisual__textLayer .p-mainVisual__slideText {
        font-size: 1.8vw;
    }
    #main_visual #mainv_sub {
        width: 40%;
        margin: -10% 0 0 55vw;
    }
    footer .l-footer__inner .flex_cl > section > section {
        width: 100%;
    }
    #menu #info #head_contact h3 {
        font-size: 2.4vw;
    }
    #top_title_area .c-pageTitle__subTitle {
        font-size: 2.6vw;
    }
    #top_title_area .l-topTitleArea__body h1, #content h1.c-pageTitle span {
        font-size: 3.8vw;
    }
    .feature .post_content .full_l, body.service .post_content .full_l {
        margin-left: calc(50% - 30vw);
    }
    .feature .post_content .full_r, body.service .post_content .full_r {
        margin-right: calc(50% - 30vw);
    }
    .feature .post_content #strength .pc_only, body.service .post_content .pc_only, body.products .post_content .pc_only {
        display: block !important;
    }
    .feature .post_content #strength .sp_only, body.service .post_content .sp_only, body.products .post_content .sp_only {
        display: none;
    }
    .feature .post_content #strength h3 br {
        display: none;
    }
    .post_content .read p, .post_content .read ul li {
        font: var(--font-wf-all);
        font-size: 2.4vw;
    }
    header#header .l-header__logo .c-catchphrase {
        left: 220px;
        height: 60px;
        display: flex;
        font-size: 1.2vw;
        opacity: 1;
    }
}

@media only screen and (min-device-width: 960px) and (max-device-width: 1024px) and (orientation:portrait) {
    #main_visual .p-mainVisual__inner {
        height: 70vh;
    }
    #main_visual .p-mainVisual__textLayer {
        width: 90%;
        left: 57.5%;
    }
    #main_visual .p-mainVisual__textLayer {
        top: 24vh;
        bottom: 3%;
    }
    #main_visual .p-mainVisual__textLayer .p-mainVisual__slideTitle {
        font-size: 3.7vw;
        line-height: 1.1;
        margin-bottom: 10px;
    }
    #main_visual .p-mainVisual__textLayer .p-mainVisual__slideText {
        font-size: 1.6vw !important;
    }
    .p-postList .p-postList__title {
        font-size: 2vw !important;
    }
    .home .post_content #strength .swell-block-column h3 {
        font-size: 2.1vw;
    }
    .post_content #service .swell-block-column h3 {
        font-size: 2.5vw;
    }
    #top_title_area {
        height: 40vh;
    }
    footer#footer #f_contact ul li a.tel + p {
        margin-top: -10px;
    }
}

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