/* ========responsive style======== */

@media only screen and (min-width:1700px) {
    .header__bg-ab {
        width: 34%;
    }
}

@media only screen and (max-width: 1500px) {
    .header__nav {
        padding: 0px 30px 0px 26px;
        gap: 20px;
    }
    .header__logo a span {
        font-size: 26px;
    }
    .header__logo {
        padding: 21.5px 20px;
    }
}

@media only screen and (max-width: 1400px) {
    header .container {
        padding-left: 90px;
        padding-right: 90px;
    }
    .eyecatch {
        padding-left: 90px;
    }
    .header__logo a span {
        font-size: 24px;
    } 
    .service__desc::after {
        width: 60%;
        left: unset;
        right: 0px;
        background-position: left;
    }
    .container {
        max-width: 100%;
        padding-left: 90px;
        padding-right: 90px;
    }
    .service__banner-item {
        height: 340px;
    }
    .section-title h2 {
        font-size: 68px;
    }
    .home__about-img {
        max-width: 800px;
    }
    .eyecatch__text.page {
        padding-left: 90px;
    }
}

@media only screen and (max-width: 1200px) {
    .eyecatch__text h2 {
        font-size: 90px;
    }
    .eyecatch__text p {
        font-size: 20px;
    }
    header .container {
        padding-left: 0px;
        padding-right: 0px;
    }
    .header__inner {
        padding-right: 20px;
    }
    .eyecatch {
        padding-left: 0px;
    }
    .header__bg-ab {
        width: 212px;
    }
    .header__logo a span {
        font-size: 20px;
    }
    .service__banner-item {
        height: 300px;
        padding: 20px 60px;
    }
    .home__new-title {
        padding-right: 0px;
    }
    .eyecatch__text.page {
        padding: 10px 40px 10px 90px;
        height: 120px;
    }
    .eyecatch__text.page .section-title h2 {
        font-size: 68px;
    }
    .eyecatch__text.page::before {
        border-width: 120px 50px 0px 0px;
        right: -50px;
    }
    .about-page__inner {
        width: 100%;
        max-width: 980px;
        padding: 0px 20px;
    }
    .about__box .font-ShinryuSou {
        font-size: 90px;
    }
    .wrap__eyecatch.--page {
        background-image: url(../image/hero-page-sp.jpg);
    }
}

@media only screen and (max-width: 1024px) {
    .pc {
    display: none;
    }
    
    body, html {
        overflow-x: hidden;
    }
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    .section-title h2 {
        font-size: 48px;
    }
    .section-title span {
        font-size: 22px;
    }
    .service__desc .__inner p {
        margin-top: 30px;
        text-shadow: 1px 1px 1px #FFF, 1px -1px 1px #FFF, -1px 1px 1px #FFF, -1px -1px 1px #FFF, 3px 3px 10px #FFF, -3px -3px 10px #FFF;
    }
    .header__text {
        position: absolute;
        flex: unset;
        width: 100%;
        height: auto;
        background-color: #0857cf;
        top: 100%;
        right: 0;
        max-width: 330px;
        z-index: 200;

        flex-direction: column;
        box-shadow: 0 5px 10px rgb(255 255 255 / 35%);
        transition: all 0.4s ease-in;
        transform: translateX(105%);
    }
    .header__text.show {
        transform: translateX(0%);
    }
    .header__menu {
        flex-direction: column;
        width: 100%;
        row-gap: 10px;
    }
    .header__menu li {
        width: 100%;
        text-align: center;
    }
    .header__menu-item a {
        background-size: 0px;
        background-image: none;
        opacity: 0;
    }
    .header__phone a {
        opacity: 0;
    }
    .header__text.show .header__nav .header__menu-item a {
        animation: theme_fadeInUp ease-in 1s forwards;
    }
    .header__text.show .header__nav .header__menu-item:nth-child(1) a {
        animation-delay: 0s;
    }
    .header__text.show .header__nav .header__menu-item:nth-child(2) a {
        animation-delay: 0.1s;
    }
    .header__text.show .header__nav .header__menu-item:nth-child(3) a {
        animation-delay: 0.2s;
    }
    .header__text.show .header__nav .header__menu-item:nth-child(4) a {
        animation-delay: 0.3s;
    }
    .header__text.show .header__nav .header__menu-item:nth-child(5) a {
        animation-delay: 0.4s;
    }
    .header__text.show .header__nav .header__phone a {
        animation: theme_fadeInUp ease-in 1s forwards;
        animation-delay: 0.5s;
    }
    @keyframes theme_fadeInUp {
        0% {
            transform: translateY(10px);
            opacity: 0;
        }
    
        50% {
            transform: translateY(10px);
            opacity: 0;
        }
    
        100% {
            transform: translateY(0);
            opacity: 1;
        }
    }
    @keyframes opacity {
        0% {
            opacity: 0;
        }
    
        50% {
            opacity: 0;
        }
    
        100% {
            opacity: 1;
        }
    }
    .header__nav {
        flex-direction: column;
        width: 100%;
        padding: 16px;
        row-gap: 12px;
    }
    .header__link {
        padding: 20px;
        width: 100%;
        border-top: 1px solid #fff;
    }
    .header__text.show .header__link .btn-site {
        animation: opacity ease-in 1s forwards;
        animation-delay: 0.6s;
    }
    .header__link .btn-site {
        max-width: 240px;
        margin: 0 auto;
        opacity: 0;
    }

    .header__logo {
        width: auto;
    }
    .header__inner {
        height: 80px;
        justify-content: space-between;
    }
    .header__bg-ab {
        display: none;
    }
    .wrap__eyecatch {
        background-position: left;
    }
    .home-slide {
        height: 640px;
    }
    .eyecatch__text h2 {
        font-size: 50px;
    }
    .service__banner .container {
        transform: translateY(-160px);
        margin: 20px 0 0;
    }
    .service__desc {
        height: 500px;
    }
    .burger {
        display: block;
        position: relative;
        min-width: 50px;
        width: 50px;
        height: 34px;
        background-color: #fff;
        border-radius: 10px;
        box-shadow: 0 0px 10px 0px rgb(255 255 255 / 60%);
        cursor: pointer;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }
    .burger span {
        left: 9px;
        position: absolute;
        width: 32px;
        height: 3px;
        border-radius: 3px;
        background-color: #1f4f99;
        transition: 0.5s;
    }
    .burger span:nth-child(1) {
        transform: translateY(-8px);
        width: 24px;
        left: 9px;
    }
    .burger span:nth-child(2) {
        transform: translateY(8px);
        width: 13px;
        left: 9px;
    }
    .burger.active span:nth-child(1) {
        width: 32px;
        transform: translateY(0px) rotate(45deg);
        transition-delay: 0.125s;
    }
    .burger.active span:nth-child(2) {
        width: 32px;
        transform: translateY(0px) rotate(315deg);
        transition-delay: 0.25s;
    }
    .burger.active span:nth-child(3) {
        transform: translateX(70px);
    }
    .wrap-content__page.page-about {
        padding-bottom: 90px;
    }
    
    .wrap-content__page.page-service .inner {
    width: 100%;
    }
    
    #service00 {
    padding: 0 20px;
    }
    
    #service00 img {
    max-width: 100%;
    height: auto;
    }
    
    .wrap-content__page.page-service .inner #service00 h2 {
    font-size: 18px;
    }
    
    .wrap-content__page.page-service .inner h2:before {
    display: none;
    }
    
    .servicePoint {
    width: 100%;
    display: block;
    }
    
    .servicePoint .image {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    }
    
    .servicePoint .image:before {
    left: -10px;
    }
    
    .wrap-content__page.page-service .inner section {
    margin-bottom: 140px;
    }
    
    .wrap-content__page.page-service .inner h2 {
    font-size: 22px;
    }
    
    #service01 {
    padding: 0 20px;
    }
    
    .objWrap .inner {
    display: block;
    }
    
    .objWrap .inner .text {
    width: 100%;
    margin-right: 0;
    margin-bottom: 20px;
    }
    
    .objWrap .inner .photo {
    margin: 0;
    padding: 0;
    }
    
    .objWrap .inner .photo img {
    top: -20px;
    }
    
    .faqSrv2 {
    display: block;
    }
    
    .faqSrv2 div {
    width: 100%;
    }
    
    .faqSrv2 div h3.lead {
    font-size: 20px;
    }
    
    .faqSrv .qaList .title .title-text {
    padding: 22px;
    }
    
    .faqSrv .qaList ul {
    margin: 0;
    }
        
    .faqSrv .qaList ul li {
    margin: 0 10px;
    }
    
    #service02 {
    padding: 0 20px;
    }
    
    .about__box .kyoten {
    display: block;
    }
    
    .about__box .kyoten ul {
    width: 100%;
    margin-bottom: 20px;
    }
    
    .about__box .kyoten ul:last-child {
    margin-bottom: 0;
    }
    
    .about__box.flex-layout {
    display: block;
    }
    
    .wrap-content__page.page-news .inner {
    margin: 0;
    }
    
    .page-news h2 {
    font-size: 20px;
    }
    
    .wrap-content__page.page-news .inner {
    width: 100%;
    padding: 0 20px;
    }
    
    .wrap-content__page.page-recruit .inner {
    width: 100%;
    }
    
    .wrap-content__page.page-recruit .inner .box .cont .info {
    width: 100%;
    padding: 30px 20px 1px;
    }
    
    .wrap-content__page.page-recruit .inner .box .cont .info h3 {
    font-size: 20px;
    line-height: 1.4;
    }
    
    .wrap-content__page.page-recruit .inner .photo {
    position: relative;
    top: unset;
    left: unset;
    padding: 40px 0 0;
    }
    
    .wrap-content__page.page-recruit .inner .box {
    padding: 0;
    }
    
    .wrap-content__page.page-recruit .inner .photo img {
    max-width: 100%;
    height: auto;
    }
    
    .wrap-content__page.page-recruit .inner h2 {
    font-size: 40px;
    }
    
    .wrap-content__page.page-recruit .inner .job ul {
    width: 100%;
    padding: 0 20px;
    flex-wrap: wrap;
    }
    
    .wrap-content__page.page-recruit .inner .job ul li {
    width: 46%;
    margin: 0 2% 40px;
    }
    
    .wrap-content__page.page-recruit .inner .job ul li div {
    left: -10px;
    }
    
    .job2 {
    width: 100%;
    display: block;
    }
    
    .job2 div:nth-child(1) {
    width: 100%;
    padding: 0 20px;
    }
    
    .job2 div:nth-child(2) { 
    padding: 0 20px;
    }
    
    .wrap-content__page.page-recruit .inner .job {
    padding: 40px 0;
    }
    
    .wrap-content__page.page-recruit .inner .youkou section {
    width: 100%;
    padding: 0 20px;
    }
    
    .wrap-content__page.page-recruit .inner .youkou table {
        margin: 0;
     }

    .wrap-content__page.page-recruit .inner .youkou table th {
    display: block;
    width: 100%;
    }
    
    .wrap-content__page.page-recruit .inner .youkou table td {
    display: block;
    width: 100%;
    }
    
    .flowStep {
    width: 100%;
    padding: 0 20px;
    }
    
    .qaList2 {
    margin: 0 20px 40px;
    }
    
    .wrap-content__page.page-recruit .inner .entry ul {
    display: block;
    }
    
    .wrap-content__page.page-recruit .inner .entry ul li {
    width: 100%;
    margin: 0 0 40px;
    }
    
    .wrap-content__page.page-contact .inner {
    width: 100%;
    padding: 0 20px;
    }
    
    .contactForm table th {
    display: block;
    width: 100%;
    padding: 16px;
    }
    
    .contactForm table td {
    display: block;
    width: 100%;
    padding: 16px;
    }
    
    .contactForm table td input[type="text"] {
    width: 100%;
    }
    
    .flowStep dl dt {
    font-size: 20px;
    }
    
    .wrap-content__page.page-recruit .inner .entry ul li dd {
    font-size: 20px;
    }
    
    .wrap-content__page.page-entry .inner {
    width: 100%;
    padding: 0 20px;
    }
    
    .wrap-content__page.page-entry .inner h2 {
    font-size: 40px;
    }
    
    .contactForm table td input.zip[type="text"] {
    width: 50%;
    }
    
    .contactForm table td input.s[type="text"] {
    width: 20%;
    }

/*safety*/
.wrap-content__page.page-safety .inner {
	width: 100%;
	padding: 0 20px;
}

.wrap-content__page.page-safety .inner h2 {
	line-height: 1.2;
}

.safetyBox {
	display: block;
}

.safetyBox .text {
	width: 100%;
}

.safetyBox .text p {
	margin-bottom: 20px;
}

.safetyBox .photo {
	width: 100%;
}

.safetyBox2 {
	display: block;
}

.safetyBox2 .cont {
	width: 100%;
	margin-bottom: 40px;
}

.aligncenter, .alignright, .alignleft {
display: block;
margin: 0 auto 20px;
float: none;
}




    
}
/* end point 1024 */


@media only screen and (max-width: 991px) {
    footer {
        padding: 45px 0px 30px;
    }
    .footer__inner {
        flex-wrap: wrap;
    }
    .wrap__footer-menu {
        flex: unset;
        padding-left: 0px;
        width: 100%;
        padding-top: 50px;
        align-items: flex-start;
    }
    .copyright {
        width: 100%;
        text-align: center;
        padding-top: 30px;
        border-top: 1px solid #fff;
    }
    .wrap-footer__info {
        width: 100%;
    }
    .footer__site-name h3 {
        margin-bottom: 30px;
    }
    .footer__info {
        width: 100%;
    }
    .contact-link__item {
        width: calc(100%/2 - 10px);
        padding: 12px 30px 12px 35px;
    }
    .contact-link__item span {
        font-size: 20px;
        white-space: nowrap;
        
    }
    .contact-link__item span.tel {
        font-size: 24px;
    }
    .home__new .container .container-980 {
        padding-left: 0px;
        padding-right: 0px;
    }
    .new__item {
        width: calc(100%/4 - 12px);
        margin-right: 16px;
    }
    .service__banner-item {
        height: 240px;
        border-width: 5px;
    }
    .service__banner-item h3 {
        margin-bottom: 14px;
    }
    .home__about-img {
        max-width: 92%;
    }
    .home__about-title::after {
        width: 90%;
    }
    .home__about-title {
        position: relative;
        padding: 60px 0px 160px;
    }
    .home__about-title .__inner {
        padding-right: 120px;
    }
    .eyecatch__text.page {
        padding: 10px 40px 10px 20px;
        height: 80px;
    }
    .eyecatch__text.page .section-title h2 {
        font-size: 40px;
        letter-spacing: 0;
    }
    .eyecatch__text.page::before {
        border-width: 80px 30px 0px 0px;
        right: -30px;
    }
    .section-title__collum {
        gap: 20px;
    }
    .about__box .font-ShinryuSou {
        font-size: 68px;
    }
    .about__box {
        padding: 54px 26px 40px;
        margin-bottom: 90px;
    }
    .about__policy-list li {
        margin-bottom: 36px;
    }
    .about__policy-list li h4 {
        font-size: 24px;
    }
				.about-company__info li {
					display: block;
				}
    .about-company__info li:not(:last-child) {
        margin-bottom: 20px;
    }
    .about-company__info li span {
					    display: block;
									width: 100%;
        font-size: 20px;
								border-bottom: 1px dotted #CCC;
								margin-bottom: 4px;
    }
    .about__box .__inner-collum img {
        width: 300px;
        height: auto;
    }
}
/* end point 991 */


@media only screen and (max-width: 768px) {
    .footer__info {
        gap: 0;
        row-gap: 30px;
        flex-wrap: wrap;
    }
    .footer__info ul:nth-of-type(2n-1) {
    width: 56%;
    }
    .footer__menu li a {
        font-size: 18px;
    }
    .contact__part-box{
        margin-top: 40px;
        margin-bottom: 20px;
    }
    .wrap-content__page.page-news .inner {
    width: 100%;
    }
    
    .new__item .__thumb a img {
    max-width: 100%;
    width: auto;
    height: auto;
    }
    
    .new__item {
        width: 48%;
        margin: 0px 1% 20px;
    }
    .new__list {
        justify-content: space-between;
        margin: 0 20px;
    }
    .home__new {
        padding: 60px 0px 30px;
    }
    .section-title h2 {
        font-size: 36px;
    }
    .service__banner-item {
        height: 200px;
    }
    .service__banner-item.--one,
    .service__banner-item.--three {
        background-position: left;
    }
    .service__banner-item.--two {
        background-position: right;
    }
    .service__desc {
        height: 460px;
    }
    .home-slide {
        height: 400px;
    }
    #back-to-top {
        width: 82px;
        height: 82px;
    }
    .banner-page {
        height: 320px;
    }
    .wrap-content__page {
        padding: 80px 0px 60px;
    }
    .about__box h3 {
        font-size: 30px;
    }
    .about-company__info {
        flex: auto;
        width: 100%;
        padding-right: 0px;
        padding-bottom: 40px;
    }
    .about__box .__inner-collum img {
        width: 100%;
        max-height: 300px;
    }
    .about__box .__map img, .about__box .__map iframe {
        height: 300px;
    }
    .wrap-content__page.page-about {
        padding-bottom: 60px;
    }
    .about__box.flex-layout {
        flex-wrap: wrap;
    }
    .flex-layout .about-company__info {
        padding: 26px;
    }
    .flex-layout .img-full-height {
        width: 100%;
        max-height: 400px;
        max-width: 500px;
    }
    .btn-site {
        min-width: 170px;
        padding: 10px 14px;
    }
    .home__new-title {
        flex-wrap: wrap;
        gap: 10px;
    }
}
/* end point 768 */


@media only screen and (max-width: 767px) {
    .wrap__contact-link {
        flex-wrap: wrap;
        row-gap: 20px;
        justify-content: center;
    }
    .contact-link__item {
        width: 100%;
        max-width: 420px;
    }
    .service__banner-item {
        padding: 20px;
    }
    .home__recruit .__inner > img {
        width: 100%;
    }
    .home__recruit::after {
        width: 90%;
    }
    .home__recruit-text {
        flex: auto;
        width: 100%;
        padding: 40px 0px 0px 20%;
    }
    .home__about-title .__inner {
        flex-wrap: wrap;
        row-gap: 30px;
    }
    .section-title__collum {
        width: 100%;
    }
    .section-title__collum .__desc p {
        font-size: 14px;
    }
    .home__about-title .__inner {
        padding-right: 6%;
    }
    .home__about-img {
        min-height: 160px;
        object-fit: cover;
    }
    .service__banner .container {
        margin-top: 40px;
        transform: translateY(-100px);
    }
    .service__desc {
        height: 400px;
    } 
    .home__about {
        transform: translateY(-180px);
    }
    .home__about-title {
        padding-top: 50px;
    }
    .service__desc::after {
        width: 50%;
        background-position: 50%;
    }
    #back-to-top {
        width: 62px;
        height: 62px;
    }
    #back-to-top svg {
        max-width: 24px;
    }
    .about__box {
        margin-bottom: 70px;
    }
    .banner-page {
        height: 260px;
    } 
    .about__box .font-ShinryuSou {
        font-size: 48px;
    }
    .home__about-title::after,
    .home__recruit::after {
        width: 92%;
    }
}

@media only screen and (max-width: 479px) { 
    .home-slide {
        height: 320px;
    }
    .eyecatch__text h2 {
        font-size: 54px;
    }
    .eyecatch__text p {
        font-size: 14px;
    } 
    .header__logo a span {
        font-size: 14px !important;
    }
    .header__logo {
        padding: 20px 16px;
    }
    .eyecatch__text.page {
        padding-right: 20px;
    }
    .eyecatch__text.page .section-title h2 {
        font-size: 36px;
    }
    .eyecatch__text.page .section-title span {
        font-size: 16px;
    }
    .about-company__info li span {
        font-size: 16px;
        width: 100px;
    }
    .about-company__info li p {
        font-size: 14px;
    }
    .about__policy-list li p {
        font-size: 15px;
    }
    .about__policy-list li h4 {
        font-size: 20px;
        padding-bottom: 8px;
        margin-bottom: 12px;
    }
    .about__policy-list li h4::after {
        height: 3px;
    }
    .service__banner-item {
        height: 180px;
    }
    .service__banner-item h3 {
        font-size: 32px;
        margin-bottom: 10px;
        text-shadow: 1px 1px 1px #000, 1px -1px 1px #000, -1px 1px 1px #000, -1px -1px 1px #000, 3px 3px 10px #000, -3px -3px 10px #000;
    }
    .service__desc .__inner p {
        padding-right: 80px;
    }
}

@media only screen and (max-width: 414px) { 
    .contact-link__item {
        padding: 10px 20px 10px 15px;
    }
    .contact-link__item .__icon {
        width: 42px;
        height: 42px;
    }
    .contact-link__item .__icon img {
        max-width: 24px;
    }
    .header__logo {
        padding-left: 6px;
    }
    .header__logo a {
        gap: 10px;
    }
    .header__logo img {
        width: 155px;
    }
    .eyecatch__text.page {
        height: 70px;
    }
    .eyecatch__text.page::before {
        border-width: 70px 20px 0px 0px;
        right: -20px;
    }
    .about__box .__map img, .about__box .__map iframe {
        height: 200px;
    }
}