@charset "UTF-8";

:root {
    --white: #FFF;
    --red: #E60039;
    --blue: #5DC3D3;
    --orange: #E38D00;
    --green: #85B71C;
    --yellow: #F4D228;
}

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

    .footer_left {
        width: 100%;
    }

    p {
        font-size: 3.721vw!important;
        line-height: 2!important;
    }

    section {
        padding: 65px 0;
        margin-left: 0;
    }

    .footer_wrapper {
        margin-left: 0;
    }

    .contact .wrapper {
        left: 0;
    }

    .pc_br {
        display: none;
    }

    .sp_br {
        display: block;
    }

    header {
        width: 100%;
        height: 50px;
        display: flex;
        align-items: center;
    }

    .logo {
        padding-left: 20px;
    }

    .logo img {
        width: 140px;
    }

    .header_nav {
        display: none;
    }

    .line-b {
        width: 8vw;
        height: 60vw;
    }

    .line-b-01 {
        top: -15vw;
        transform: rotate(73deg);
    }

    .line-b-02 {
        top: -5vw;
        left: 0;
        transform: rotate(73deg);
    }

    .line-b-03 {
        bottom: -20vw;
    }

    .line-b-04 {
        bottom: -30vw;
        right: 0;
    }

    .hamburger_menu {
        display: block;
        width: 50px;
        height: 50px;
        position: fixed;
        top: 0;
        right: 0;
        z-index: 10001;
        background-color: var(--red);
    }

    .menu_btn {
        display: block;
        width: 50px;
        height: 50px;
        z-index: 10001;
        left: 0;
        right: 0;
        margin: auto;
        position: relative;
    }

    .menu_btn::before {
        position: absolute;
        content: "MENU";
        bottom: 10px;
        left: 0;
        right: 0;
        margin: auto;
        color: #FFF;
        font-weight: bold;
        font-size: 8px;
        text-align: center;
    }

    .menu_btn span,
    .menu_btn span:before,
    .menu_btn span:after {
        content: '';
        display: block;
        height: 1px;
        width: 22px;
        background-color: #FFF;
        position: absolute;
        margin: auto;
        z-index: 81;
        top: 14px;
        left: 14px;
        /* box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.5); */
    }

    .menu_btn span:before {
        top: 6px;
        left: 0;
    }
    .menu_btn span::after {
        top: 12px;
        left: 0;
    }
    #menu_btn_check:checked ~ .menu_btn span::after {
        background-color: rgba(255, 255, 255, 0);/*メニューオープン時は真ん中の線を透明にする*/
    }
    #menu_btn_check:checked ~ .menu_btn span {
        top: 18px;
        transform: rotate(45deg);
    }

    #menu_btn_check:checked ~ .menu_btn span::before {
        top: 0;
        transform: rotate(-90deg);
    }

    #menu_btn_check {
        display: none;
    }

    .menu_content {
        width: 100%;
        height: 100vh;
        position: fixed;
        top: 0;
        left: 100%;
        z-index: 10000;
        height: 80vw;
        background-color: rgba(230, 0, 57, 0.8);
        background-color: var(--red);
        transition: all 0.5s;
    }

    .menu_content > ul {
        margin-top: 15%;
    }

    .menu_content ul li {
        list-style: none;
        width: 90%;
        margin: auto;
        margin-bottom: 30px;
    }

    .menu_content ul li > a {
        display: inline-block;
        font-size: 1.6rem;
        box-sizing: border-box;
        color:#FFF;
        text-decoration: none;
        font-weight: 600;
        line-height: 16px;
        padding: 0;
    }

    #menu_btn_check:checked ~ .menu_content {
        left: 0;
    }

    .top_page {
        margin-top: 50px;
    }

    .top_page .fv {
        height: 123.25vw;
        /* overflow: initial; */
    }

    .top_page .fv_title_txt {
        top: min(20.41vw, 13.5rem);
    }

    .top_page .fv_title {
        width: 79.07vw;
    }

    .top_page .fv_title {
        left: 0; 
        top: 20vw;
    }

    .fv_maintitle {
        font-size: 6.976vw;
    }

    .fv_subtitle {
        font-size: 2.79vw;
        margin-left: min(11.25vw, 9rem);
    }

    .top_about {
        margin-top: 0;
    }

    .wrapper {
        text-align: center;
    }

    .heading_title {
        display: inline-block;
    }

    .top_page .heading_subtitle {
        font-size: 8.372vw;
        letter-spacing: 0.1em;
    }

    .heading_title {
        font-size: 3vw;
    }

    .fb_box {
        flex-direction: column;
        flex-wrap: wrap;
        gap: 30px;
    }

    .fb_box > div {
        width: 100%;
        margin: auto;
    }

    .top_about::before {
        width: 122.55vw;
        height: 122.55vw;
        right: -65vw;
        bottom: initial;
        top: 10vw;
    }

    .top_about_box {
        flex-direction: column-reverse;
		margin-top: 15px;
    }

    .fb_box .top_about_txt {
        width: 90%;
        margin: auto;
    }

    .top_about_txt span {
        font-size: 4.5vw;
    }

    .top_about_img  {
        justify-content: center;
    }

    .top_about_img img {
        width: 90%;
    }

    .top_about_btn {
        position: initial;
    }

    .detail_btn {
        font-size: min(4.186vw, 2.2rem);
        width: 58.13vw;
        height: 12.79vw;
    }

    .top_about {
        padding-top: 80px;
    }


    .top_about_lists,
    .top_about_item {
        width: 100%;
    }

    .top_about_item_title {
        font-size: 4.5vw;
    }

    .top_about_item_txt {
        font-size: 3.7209vw;
        width: 90%;
        margin: auto;
        line-height: 2;
    }

    .top_about_item_img img {
        width: 69.76vw;
        height: 69.76vw;
        max-height: initial;
        border-radius: 50% 50% 0 50%;
    }

    .top_service {
        padding: 50px 0 0 0;
    }

    .top_service_img {
        position: initial;
        width: 60.93vw;
        margin: auto;
    }

    .top_works {
        padding-bottom: 50px;
    }

    .fb_box .top_works_txt {
        width: 90%;
        margin: auto;
    }

    .top_works_btn {
        position: initial;
    }

    .top_works_slider {
        margin: 0;
        margin-top: 50px;
        padding-bottom: 30px;
    }

    .works_category {
        font-size: 2.79vw;
        /* width: 24.65vw;
        max-width: 140px;
        height: 6.279vw; */
    }

    .top_works_item h3 {
        font-size: 3.7209vw;
    }

    .custom_prev, .custom_next {
        top: 28%;
        width: 40px;
        height: 40px;
    }

    .top_news .wrapper {
        padding: 60px 5% 60px 5%;
    }

    .top_news_lists {
        width: 100%!important;
        margin-top: 0;
    }

    .top_news_btn {
        position: initial;
    }

    .top_news_btn a {
        margin-top: 0;
    }

    .news_lists {
        gap: 0;
    }

    .news_lists li a {
        padding: 10px;
        flex-direction: initial;
        gap: 10px;
    }

    .news_date {
        order: 2;
        font-size: 3vw;
    }

    .news_category {
        order: 1;
        width: 16.279vw;
        height: 3.7209vw;
        font-size: 3vw;
        margin-right: 0;
    }

    .news_title {
        width: 100%;
        order: 3;
        font-size: 3.721vw;
        text-align: left;
    }

    .contact_box .contact_txt {
        width: 90%;
        margin: auto;
        text-align: center;
    }

    .contact_btn {
        margin-top: 50px;
    }

    footer {
        padding: 50px 0 20px 0;
    }

    .footer_box {
        flex-direction: initial;
        flex-wrap: initial;
        align-items: center;
    }

    .footer_box .footer_info {
        width: 50%;
    }

    .footer_nav ul {
        gap: 10px;
        text-align: left;
    }

    .footer_nav ul li a {
        font-size: 3.255vw;
    }

    .footer_nav ul .footer_nav_small:first-child {
        margin-top: 15px;
    }

    .footer_nav ul .footer_nav_small a {
        font-size: 2.79vw;
    }

    .footer_address {
        font-size: 2.79vw!important;
        text-align: left;
    }
    
    .copyright {
        margin-top: 50px;
    }


    /**********************************************************
        
        下層ページ

    **********************************************************/

    .breadcrumbs div {
        width: 90%;
        text-align: left;
    }

    .kasou_page {
        padding-top: 50px;
    }

    .kasou_page .fv {
        padding: 100px 0 0 0;
    }

    .kasou_page .h1_sub {
        font-size: 9vw;
        margin-bottom: 20px;
    }

    .kasou_page .fv h1,
    .kasou_page .fv_title {
        font-size: 8vw;
        padding-left: 0;
    }

    .contents {
        padding-left: 0;
    }

    .btn {
        margin: 30px auto 0 auto;
    }

    .btn_middle {
        width: 100%;
    }

    .kasou_page .heading_title {
        font-size: 3vw;
    }

    .heading_subtitle {
        font-size: 8.372vw;
        letter-spacing: 0.1em;
    }

    .massage {
        padding-top: 0;
        padding-bottom: 0;
    }

    .massage .top_about_box {
        flex-direction: column;
    }

    .massage_txt_main {
        font-size: 4.186vw;
        display: block;
    }

    .massage_img.sp_br {
        width: 100%;
        margin-top: 30px;
    }

    .massage_txt .president {
        margin-top: 30px;
    }

    .massage .line-b-01 {
        top: 50vw;
        bottom: initial;
    }

    .massage .line-b-02 {
        top: 60vw;
        bottom: initial;
    }

    .philosophy {
        margin-top: 0;
		padding-bottom: 50px;
    }

    .philosophy::after {
        height: 90vw;
    }
	
	.philosophy_item {
		min-height: initial;
	}

    .philosophy_item_circle {
        width: 40vw;
        height: 40vw;
    }

    .philosophy_item_img {
        padding: 6.25vw 0;
    }

    .misson .philosophy_item_circle::before {
        width: 40vw;
        height: 40vw;
        left: 0;
    }

    .vision .philosophy_item_circle::before {
        width: 40vw;
        height: 40vw;
    }

    .philosophy_item_txt p {
        width: 95%;
        margin-top: 30px;
    }

    .company table {
        width: 90%;
        margin-top: 50px;
    }

    .company table th, .company table td {
        font-size: 3.721vw;
    }

    .company table th {
        width: 35%;
        padding-left: 2vw;
        padding-right: 0;
    }

    .company table td {
        text-align: left;
    }
	
	.map {
		width: 90%;
	}

	.map iframe {
		height: 70vw;
	}

    .works {
        padding: 0 0 50px 0;
    }
    
    .works p {
        width: 90%;
    }

    .works_lists {
        margin-top: 50px;
    }

    .works_lists_item {
        width: 100%;
        text-align: left;
    }

    .works_lists_item h3 {
        font-size: 4vw;
    }

    .single {
        padding: 0;
    }

    .single .wrapper {
        text-align: left;
    }

    .works_contents {
        flex-direction: column;
    }

    .works_contents > div {
        width: 100%!important;
    }

    .works_contents .contents {
        margin-top: 30px;
    }

    .single_head {
        flex-direction: column;
        align-items: start;
        margin-bottom: 30px;
        gap: 10px;
    }

    .single_h2 {
        font-size: 5vw;
    }





































    .post_contents h2 {
        font-size: 6vw;
    }

    .news {
        padding-top: 50px;
    }

    .news_lists {
        width: 100%;
        margin: auto;
        padding-left: 0;
    }

    .news_single h1 {
        padding-left: 0;
        font-size: 5vw;
		width: 100%;
    }

    .news_single_head {
        margin-bottom: 50px;
    }

    .news_single_head .news_date {
        margin-left: 0;
    }

    .news_category {
        width: initial;
        height: initial;
        font-size: 3vw;
        padding: 1vw 2vw;
    }

    .single p {
        margin-bottom: 30px;
    }

    .post_navigation {
        margin-top: 50px;
    }

    .page_news .news_lists_item::before {
        right: 20px;
    }

    .contact_tel span {
        font-size: 8vw;
    }

    .contact_tel a {
        padding: 30px 0;
    }

    .entry_form th,
    .entry_form td {
        width: 100%;
        border: none!important;
        padding: 15px 0;
    }

    .file {
        padding: 15px;
    }

    .form_complete span {
        font-size: 7vw;
    }


    .note {
        font-size: 3vw!important;
    }

    .form_complete a {
        font-size: 3.721vw;
    }

    .form_acceptance {
        font-size: 3.2vw;
    }

    .post_contents h2 {
        font-size: 6vw;
        margin: 40px 0 30px 0;
    }

    .post_contents h3,
    .post_contents h4,
    .post_contents h5,
    .post_contents h6 {
        margin: 30px 0 20px 0;
    }

    .post_contents h3 {
        font-size: 5vw;
    }

    .post_contents h4 {
        font-size: 4.5vw;
    }
    
    .post_contents h5 {
        font-size: 4vw;
    }
    
    .post_contents h6 {
        font-size: 3.721vw;
    }

    .post_contents p a {
        display: inline;
    }

    .wp-block-list li {
        font-size: 3.721vw;
    }


    .wpcf7 {
        margin-top: 50px;
        padding: 30px 5%;
    }

    input,textarea,
    .form_label {
        font-size: 3.721vw !important;
    }

    .required {
        font-size: 2.5vw !important;
    }

    .sitemap {
    padding-top: 30px;
}

    .sitemap ul li {
        width: 100%;
        font-size: 3.721vw;
        list-style: inside;
        text-align: left;
    }




















































    
}




