@media screen and (max-width: 2000px) {
		.com-flow-head h3{
		max-width:100%!important;
	}
    .sub-header {
        /* height: 40vw;*/
    }
    .w80 {
        width: 90vw;
    }
    .block-menu .tit {
        font-size: 2.5rem;
    }
    .header-content {
        width: 100%;
        padding: 30px 0;
        position: absolute;
        left: 0;
    }
    .g-menu-wrap {
        width: calc(100% - 450px) !important;
    }
    .g-menu-a-list>li {
        padding: 0;
    }
}

@media screen and (max-width: 1400px) {
    .block-feature li {
        padding: 2% 20px;
    }
}

@media screen and (max-width: 1024px) {
    .block-link li .tit {
        position: absolute;
        top: 0;
        background: #fff;
        padding: 10px 50px;
        font-size: 2rem;
    }
    .col-57 {
        width: 90%;
        margin: 0 auto;
    }
    .col-37 {
        width: 60%;
        margin: 0 auto;
    }
    #page-top {
        bottom: 50px;
    }
    .mobile-sub-nav {
        display: none;
    }
    .mobile-menu-tel-box {
        width: 100%;
        background-color: #fff;
        margin: 0;
        border-radius: 10px;
        display: flex;
        flex-flow: column;
        align-items: center;
        justify-content: space-around;
        margin: 10px auto;
        border: 2px solid #fff;
        padding: 10px;
    }
    .moblie-menu-tel-number {
        display: block;
        color: #fff;
    }
    .header-tel {
        display: none;
    }
    .open-btn-wrap {
        display: none;
    }
    .header-content {
        width: 100%;
        left: 0;
    }
    .block-greet {
        max-width: 1600px;
        width: 90vw;
    }
    #greeting {
        position: relative;
        padding: 10vw 0;
    }
    .block-greet {
        display: block;
    }
    .greeting-txt {
        font-size: 18px;
    }
    .col-47 {
        width: 100%;
    }
    .block-greet .img {
        position: relative;
        max-width: 500px;
        margin: 50px auto;
    }
    #greeting .block-greet .img .ab02 {
        position: absolute;
        display: inline-block;
        width: 30vw;
    }
    .block-menu .tit {
        font-size: 18px;
    }
    #overview {
        padding: 10vw 0;
    }
    #introduction {
        padding: 10vw 0;
    }
    .footer-office {
        width: 90vw;
    }
    .block-feature li {
        width: 48%;
    }
    .block-feature li .no {
        font-size: 6vw;
    }

}

@media screen and (max-width:820px) {
    .sub-header-txt {
        background: transparent;
        font-weight: 400;
        margin-top: 10vw;
    }
    .mb200 {
        margin-bottom: 100px;
    }
    .layout-service {
        width: 90%;
        margin: 0 auto 50px;
    }
    .mb100 {
        margin-bottom: 50px!important;
    }
    .title-sub {
        color: #5c4033;
        font-size: 3rem;
    }
    .ac-faq01-q,
    .ac-faq01-a {
        font-size: 16px!important;
    }
    .list_pdf li {
        width: 80%;
        margin: 0 auto;
    }
    .list_pdf li a {
        font-size: 1.2em;
        padding: 20px 20px 20px 20px;
        border: 1px solid #333;
    }
    .com-flow-txt {
        padding: 0!important;
        text-align: left!important;
    }
    .com-flow-list li {
        width: 100%;
        position: relative;
        margin-bottom: 20px!important;
    }
    .com-flow-icon img {
        height: auto;
        width: 80%!important;
        margin: 0 auto!important;
        ;
    }
    .contact-form01 th {
        font-size: 1.6rem;
        width: 100%;
    }
    .txt-main {
        font-size: 16px;
        text-align: left;
    }
    .g-sub-nav {
        width: 100%;
        position: fixed;
        top: unset;
        bottom: 0;
        right: 0;
        z-index: 9;
        display: block;
    }
    .g-sub-nav .g-sub-nav-list.flex {
        margin: 0;
        display: flex;
        justify-content: unset;
        flex-flow: unset;
    }
    .header .g-sub-nav .g-sub-nav-list.flex li {
        position: relative;
        display: block;
        margin-bottom: 0;
        width: 50%;
    }
    .header .g-sub-nav .g-sub-nav-list.flex a {
        width: 100%;
        padding: 10px;
        writing-mode: unset;
        border-radius: 0;
        border: 1px solid #fff;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .header .g-sub-nav .g-sub-nav-list.flex li a::before {
        margin-right: 10px;
        margin-bottom: 0;
    }
    .title01 {
        color: #5c4033;
        font-size: 3rem;
    }
    .voice-block {
        background: #fff;
        padding: 20px;
        height: 100vw;
    }
    .layout01 .title01 {
        color: #3b2f2f;
        font-size: 4rem;
    }
    body.single-service section {
        position: relative;
        padding: 50px 0;
    }
    .state-title02 {
        z-index: 9;
        position: relative;
        font-size: 2rem;
        margin-bottom: 50px;
    }
    .footer-office {
        background-image: url(/wp-content/uploads/2025/04/ab-bird.png);
        background-repeat: no-repeat;
        background-position: right 10vw bottom 15vw;
        background-size: 20vw;
    }
    .footer-box {
        width: 48%;
    }
    .block-link li {
        position: relative;
        width: 48%;
    }
    .block-link li:nth-child(2),
    .block-link li:nth-child(5) {
        position: relative;
        top: 0;
    }
    .block-link li .tit {
        position: absolute;
        top: -10px;
        background: #fff;
        padding: 10px 10px;
        font-size: 1.5rem;
        text-align: center;
        color: #5c4033;
        border-radius: 10px;
    }
    .layout01 .title01 {
        color: #3b2f2f;
        font-size: 3rem;
    }
    #menu {
        padding: 10vw 0;
    }
    .box3 {
        display: block;
    }
    .box3 li {
        width: 80%;
        margin: 0 auto;
    }
    .box3 li p.tit {
        font-size: 2rem;
        text-align: center;
        margin-bottom: 10px;
    }
    .footer-address p,
    .footer-address a,
    .footer-txt {
        color: #333;
        text-align: left;
        font-size: 14px;
    }
    .greeting-txt p {
        font-size: 16px;
    }
    .page-template-page-fullwidth section {
        position: relative;
        padding: 50px 0;
    }
    .contact-tel li {
        margin: 0 10px;
        border-radius: 10px;
        padding: 50px 10px;
        border: 1px solid #fff;
        flex: unset;
        margin: 10px;
    }
    .contact-tel li {
        width: 100%;
        padding: 20px 10px;
    }
    .contact-tel li p {
        font-size: 18px;
    }
}

@media screen and (max-width:600px) {
	.block-slider .slider-txt{
		width:80%;
		top: 15vw;
	}
    .sub-header-txt {
        font-size: 2rem;
    }
    .block-greet .img .ab02 {
        position: absolute;
        display: inline-block;
        width: 30vw;
        bottom: -10px;
        right: -10px;
    }
    .block-feature li {
        position: relative;
        width: 100%;
        padding: 2% 30px;
    }
    .block-feature li .no {
        position: absolute;
        top: -10%;
        left: -3%;
        font-family: "Cookie", cursive;
        font-weight: 400;
        font-style: normal;
        font-size: 20vw;
        color: #5c4033;
        display: block;
        height: auto;
        line-height: 1;
        padding: 10px;
    }
    .block-feature li .tit {
        font-size: 2rem;
        text-align: center;
    }
    .page-template-page-fullwidth section {
        position: relative;
        padding: 50px 0;
    }
    .tablepress tbody td {
        display: block;
        width: 100%!important;
        box-sizing: border-box;
        font-size: 15px;
        padding: 10px;
    }
    .footer-office {
        background-image: none;
    }
    .block-menu {
        display: block;
    }
    .block-menu li {
        width: 90%;
        margin: 0 auto 50px;
    }
    .block-link li {
        width: 48%;
        margin-bottom: 10px;
    }
    .footer-box {
        width: 100%;
    }
}

@media screen and (max-width:450px) {
    .job-table th,
    .job-table td {
        text-align: left;
    }
    .block-menu li {
        width: 100%;
        margin: 0 auto 50px;
    }
    .block-menu .tit {
        padding: 20px 0;
    }
}