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

@media only screen and (min-device-width: 960px) and (max-device-width: 1024px) and (orientation:portrait) {
}

@media only screen and (min-device-width: 768px) and (max-device-width: 959px) and (orientation:portrait) {
}

@media all and (min-width: 768px) and (max-width: 959px) {
    header .l-header__inner .c-catchphrase {
        left: 100px;
    }
    header #gnav {
        margin: 20px 380px 0 0;
    }
    #main_visual .p-mainVisual__textLayer .p-mainVisual__slideTitle {
        font-size: 3.5vw;
    }
    #main_visual .p-mainVisual__textLayer .p-mainVisual__slideText {
        font-size: 3.5vw;
    }
    #main_visual .p-mainVisual__slide:nth-child(1) .p-mainVisual__textLayer, #main_visual .p-mainVisual__slide:nth-child(4) .p-mainVisual__textLayer {
      bottom: -8%;
      left: 65%;
    }
    #content .post_content .ttl h2 {
        font-size: 3.3vw !important;
    }
    .post_content h3 {
        font-size: 2.7vw;
    }
    .post_content #service .swell-block-column h3 {
        font-size: 2.4vw;
    }
    #content .post_content h4 {
        font-size: 2.6vw;
    }
    #content .post_content h5 {
        font-size: 2.5vw;
    }
    .post_content #philo .phi_txt {
       font-size: 2.5vw;
    }
    .post_content #service .swell-block-column:nth-child(4) {
        margin-left: 17%;
    }
    .btn, [class*=is-style-btn_] a, .swell-block-button__link, .wp-block-button__link {
        min-width: unset;
        padding: 18px 16px 19px 20px;
    }
    .-type-card .p-postList__title, .-type-list .p-postList__title, .-type-list2 .p-postList__title {
        font-size: 2vw;
    }
    .post_content > .wp-block-group.has-background {
        padding-left: 4vw;
        padding-right: 4vw;
    }
    footer#footer #f_contact hgroup p {
        font-size: 2.5vw;
    }
    footer#footer #f_contact h3 {
        font-size: 2.8vw;
    }
    footer#footer #f_contact h3 br.sp {
        display: none;
    }
    #menu ul.c-gnav {
        max-width: 30em;
    }
    #top_title_area {
        height: 200px;
    }
    #top_title_area .l-topTitleArea__body h1, #content h1.c-pageTitle span {
        font-size: 3vw;
    }
    #top_title_area .c-pageTitle__subTitle {
        margin: 0.2em 0 0 3px;
        font-size: 2vw;
    }
    .post_content .sp_only {
        display: none !important;
    }
    .post_content .pc_only {
        display: block !important;
    }
    footer .l-footer__inner > section > section > section {
        width: 100%;
    }
    #menu .hashtag-nav {
        max-width: 31em;
    }
    #menu .hashtag-nav ul li {
        margin: 1%;
    }
    #menu ul.c-gnav {
        margin: 0 auto 3%;
    }
    .alignfull>.wp-block-group__inner-container {
        margin: 0;
    }
    .post_content .wp-block-group#feature .swell-block-column figure:first-child img {
        height: 90px;
        width: auto;
    }
    .post_content #recruit {
        background: url(../../../../uploads/img_recruit-bk.png) no-repeat center;
        background-size: 100% auto;
        margin: 0 0 -5em !important;
    }
    #content .post_content #recruit .ttl {
        margin: 1em 0 !important;
    }
    footer#footer #f_contact > section > section {
        padding: 4vw 5vw 1vw;
    }
    footer#footer #f_contact {
        background: url(../../../../uploads/bg_cta.jpg) no-repeat center top 50%;
        background-size: 100%;
    }
    #menu > div {
        width: 90%;
    }
    #menu #info #menu_logo {
        width: 90px;
    }
    #menu ul.c-gnav li {
        padding: 0.25em 0;
    }
    #menu ul.c-gnav li a .ttl, footer .l-footer__nav a {
        color: var(--color_text);
    }
    footer .l-footer__nav a {
        text-align: left;
    }
    .post_content .read p {
        font-size: 2.5vw;
        text-align: left;
    }
    #body_wrap header + #btn_cta li a {
        max-width: unset;
    }
    #body_wrap.page-child #top_title_area .l-topTitleArea__body .c-pageTitle__subTitle {
        top: -65px;
        margin: 0;
    }
    #body_wrap.page-child #top_title_area .l-topTitleArea__body {
        margin: 39vh 0 0;
    }
    #content .post_content h3 {
        font-size: 3.2vw;
    }
    #content .post_content .ttl + h3 {
        margin-top: 0;
    }
    footer .l-footer__inner > section {
        width: 80%;
    }
    footer .l-footer__nav {
        margin: 0;
    }
    footer #ft_r {
        margin-top: 2em;
    }
    #main_visual .p-mainVisual__textLayer {
        bottom: 10%;
    }
    #main_visual .p-mainVisual__slide:nth-child(1) .p-mainVisual__textLayer, #main_visual .p-mainVisual__slide:nth-child(4) .p-mainVisual__textLayer {
        bottom: 0;
        left: 78%;
    }
}

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

}
