/* Root variables */
:root {
    --black: #181818;
    --main: #A73836;
    --sub: #AF1A25;
    --accent: #2D4D5C;
    --bordergray: #D2D2D2;
    --gray: #F4F4F4;
}

/* General styles */
body {
    font-family: "Noto Sans JP", sans-serif;
}

main {
    padding-top: 120px;
    padding-bottom: 160px;
    position: relative;
    /* overflow: hidden; */
}

main:before {
    content: "";
    position: absolute;
    background: var(--gray);
    width: 100%;
    height: 600px;
    top: -550px;
    transform: rotate(10deg);
    right: -100px;
}

/* main:after {
    content: "";
    position: absolute;
    background: var(--main);
    width: 100%;
    height: 600px;
    transform: rotate(190deg);
    left: -400px;
    bottom: -560px;
} */
main:after {
    content: "";
    position: absolute;
    transform: none;
    background: none;
    width: 0;
    height: 0;
    border-style: solid;
    border-color: transparent transparent transparent var(--main);
    border-width: 84px 0px 0px 474px;
    left: 0;
    bottom: 0;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
}

p {
    line-height: 1.8em;
    margin: 0;
}

.sp_block {
    display: none;
}

.font-en {
    font-family: "Poppins", sans-serif;
}

.font-en2 {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 300;
}

.font-en3 {
    font-family: "Inter", sans-serif;
    font-weight: 300;
}

section {
    max-width: 1480px;
    margin: auto;
    padding: 0 100px;
    position: relative;
}

.title {
    padding-bottom: 50px;
}


.title p:first-of-type {
    font-size: 90px;
    font-weight: bold;
    color: var(--sub);
    line-height: 1em;
}

.title p:last-of-type {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding-left: 5px;
}

/*---------------------------------*/
/*ヘッダーheader
/*---------------------------------*/
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 90px;
    padding: 0px 0px 0px 20px;
    z-index: 10;
    background: white;
    box-shadow: 0 0 15px #00000030;
}

h1 {
    padding-bottom: 10px;
}
h1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 0;
}
.header__right {
    display: flex;
}
span.header__catch {
    font-size: 13px;
    letter-spacing: 0.1em;
}
.header__contact a {
    background: var(--sub);
    color: white;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 180px;
    transition: all 0.3s;
}

.header__contact a:hover {
    background: var(--accent);
}

.header__contact a span {
    font-size: 16px;
    color: white;
    letter-spacing: 0.05em;
    position: relative;
    transition: all 0.3s;
    line-height: 1.6em;
}
.header__contact a span:before {
    width: 100%;
    height: 1px;
    content: "";
    position: absolute;
    background: white;
    bottom: -2px;
    transition: all 0.3s;
    left: 0;
}

.header__contact a span:after {
    width: 100%;
    height: 1px;
    content: "";
    position: absolute;
    background: white;
    bottom: -2px;
    transition: all 0.3s;
    right: 0;
}

.header__contact a:hover span:before {
    width: 0;
}

.header__contact a:hover span:after {
    right: 0;
    /* 右端から始める */
    animation: stretch-left 0.5s forwards;
    /* アニメーションの指定 */
}

@keyframes stretch-left {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

.header__contact {
    height: 90px;
}

nav ul {
    display: flex;
}

nav ul li:last-of-type:before {
    display: none;
}

nav ul li:before {
    content: "";
    width: 1px;
    height: 30px;
    background: var(--bordergray);
    position: absolute;
    right: 0;
    top: -5px;
    transform: rotate(25deg);
}

nav ul li a {
    font-weight: 500;
    transition: all 0.3s;

}

nav ul li a:hover {
    color: var(--main);
}

nav ul li {
    padding: 0 50px;
    position: relative;
}

nav ul {
    display: flex;
    align-items: center;
    height: 100%;
    position: relative;

}

/* 子メニューのスタイル */
.nav-child {
    list-style: none;
    padding: 0;
    margin: 0;
    display: none;
    flex-direction: column;
    position: absolute;
    left: -10px;
    top: 35px;
    width: 200px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.214);
    height: auto;
}

.nav-child li:before {
    display: none;
}


.nav-child li a:hover {
    background-color: var(--main);
    color: white;
}

ul.nav-child li {
    padding: 0;
    width: 100%;
    border-bottom: 1px solid var(--bordergray);
}

ul.nav-child li:last-of-type {
    border-bottom: 0;
}

.nav-child li a {
    padding: 16px;
    background: white;
    width: 100%;
    display: block;
}

/*---------------------------------*/
/*moreボタン
/*---------------------------------*/
.more-btn {
    padding-top: 50px;
}

.more-btn__circle {
    background: var(--main);
    display: flex;
    width: 70px;
    height: 70px;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    position: relative;
    transition: all 0.3s;
}

.more-btn a {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: center;
}

.more-btn a span {
    position: relative;
    transition: all 0.3s;
    font-weight: bold;
    color: var(--main);
}

.more-btn a span:before {
    width: 100%;
    height: 2px;
    content: "";
    position: absolute;
    background: var(--main);
    bottom: -5px;
    transition: all 0.3s;
    left: 0;
}

.more-btn a span:after {
    width: 0;
    height: 2px;
    content: "";
    position: absolute;
    background: var(--main);
    bottom: -5px;
    transition: all 0.3s;
    right: 0;
}

.more-btn a:hover span:before {
    width: 0;
}

.more-btn a:hover span:after {
    width: 100%;
    transition-delay: 0.2s;
}

.more-btn a:hover .more-btn__circle {
    transform: translateX(10px);
}

/*---------------------------------*/
/*メインビジュアルmainvisual
/*---------------------------------*/
.mainvisual {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.mainvisual:after {
    content: "";
    position: absolute;
    background: var(--main);
    width: 100%;
    height: 600px;
    transform: rotate(190deg);
    left: -450px;
    bottom: -560px;
}

.mainvisual__slide {
    height: 100vh;
    max-height: 900px;
    overflow: hidden;
    position: relative;
    vertical-align: bottom;
}

.mainvisual__catch {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: absolute;
    flex-direction: column;
    text-align: left;
    padding-left: 150px;
    gap: 10px;
    background: #0000005c;
}

.mainvisual__catch h2 {
    font-size: 48px;
    color: white;
}

p.mainvisual__sub-catch {
    font-size: 24px;
    color: white;
    font-weight: 500;
}

.mainvisual__catch h2 {
    font-size: 48px;
    margin-bottom: 10px;
    color: white;
    letter-spacing: 0.04em;
    line-height: 1.2em;
}

.mainvisual__catch-inner {
    position: relative;
    top: 50px;
}

p.mainvisual__corp.font-en {
    font-size: 90px;
    line-height: 1em;
    font-weight: 600;
    color: white;
    opacity: 0.3;
    letter-spacing: 0.05em;
    position: absolute;
    top: -140px;
    left: -50px;
}

.mainvisual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slick-slider {
    margin-bottom: 0 !important;
}

/*---------------------------------*/
/*NEWS新着情報
/*---------------------------------*/

.news__box-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

.news__box {
    width: calc(100% / 3 - 15px);
}

a.news__box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1.8 / 1;
}

.news__box a img {
    width: 100%;
}

p.news__box-title {
    margin-top: 10px;
}



li.blog-list {
    list-style: none;
    width: calc(100% / 3 - 15px);
}
.bg-set {
    aspect-ratio: 3 / 2;
    width: 100%;
    background-position: center;
}
.blog-text-top span {
    line-height: 1.8em;
}
.blog-text {
    margin-top: 20px;
}
/*---------------------------------*/
/*ワシヤマ土建についてABOUTUS--TOP
/*---------------------------------*/
section.about-us {
    max-width: none;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.about-us__inner {
    max-width: 1480px;
    margin: auto;
    padding: 0 100px;
}

.about-us__content {
    max-width: 33vw;
    padding-top: 20px;
}

.about-us__content h4 {
    font-size: 26px;
    margin-bottom: 30px;
    line-height: 1.2em;
}

.about-us__image {
    position: absolute;
    bottom: 0;
    right: -370px;
    z-index: -1;
}

section.about-us:before {
    content: "";
    position: absolute;
    width: calc(100% + 500px);
    height: 100%;
    background: var(--gray);
    z-index: -1;
    transform: skew(10deg, 10deg);
    left: -500px;
    top: 28%;
}

section.about-us:after {
    content: "";
    position: absolute;
    background: url(../img/common/about2.webp);
    width: 1200px;
    height: 665px;
    top: -80px;
    right: -430px;
    z-index: -2;
    background-repeat: no-repeat;
    background-size: contain;
}

p.about-us__desc {
    text-shadow: 0 0 10px white;
    background: #f4f4f4a8;
    padding-right: 30px;
    padding-bottom: 30px;
}

@media screen and (min-width:1580px) {
    .about-us__image {
        right: -220px;
    }

    section.about-us:after {
        right: -280px;
    }
}

/*---------------------------------*/
/*SERVICE事業内容--TOP
/*---------------------------------*/
section.service {
    max-width: none;
    padding: 0 0;
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.service__inner {
    max-width: 1480px;
    margin: auto;
    padding: 0 100px;
    position: relative;
}

.service-title__wrapper {
    padding: 120px 0 100px;
    background: url(../img/common/service.webp);
    background-size: cover;
    background-position: center;
    position: relative;
}

.service-title__wrapper:before {
    content: "";
    width: 100%;
    height: 100%;
    background: white;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.8;
}

.service-content__box-image {
    width: 50%;
    overflow: hidden;
    position: relative;
    max-height: 600px;
}

.service-content__box-image img {
    width: 100%;
    object-fit: cover;
    height: 100%;
}

.service-content__box-body {
    width: 50%;
    padding: 60px;
}



.service-content__box-body * {
    color: white;
}

.service-content__box-body h4:before {
    width: 50px;
    height: 2px;
    background: white;
    content: "";
    position: absolute;
    left: 0;
    bottom: -20px;
}

.service-content__box-body h4 {
    font-size: 28px;
    margin-bottom: 40px;
    position: relative;
    letter-spacing: 0.05em;
}

.more-btn.more-btn--service a {
    justify-content: flex-start;
}

.more-btn.more-btn--service a span {
    color: white;
}

.more-btn.more-btn--service a span:before,
.more-btn.more-btn--service a span:after {
    background: white;
    height: 1px;
}

.more-btn.more-btn--service .more-btn__circle {
    background: white;
}

.service-content__box:nth-child(2n) .service-content__box-body {
    background: #952D2B;
    order: 1;
}

.service-content__box:nth-child(2n) .service-content__box-image {
    order: 2;
}


.service-content__box-body {
    width: 50%;
    padding: 70px;
    background: var(--accent);
    position: relative;

}

.service-content__box {
    display: flex;
    position: relative;
}


.service-content__box-body:before {
    content: "01";
    font-size: 140px;
    bottom: -25px;
    right: 50px;
    color: white;
    opacity: 0.1;
    position: absolute;
    font-weight: bold;
    font-family: "Plus Jakarta Sans", sans-serif;
}

.service-content__box:nth-child(2) .service-content__box-body:before {
    content: "02";
}

.service-content__box:nth-child(3) .service-content__box-body:before {
    content: "03";
}

.service-content__box:nth-child(4) .service-content__box-body:before {
    content: "04";
}

.service-content__box:nth-child(5) .service-content__box-body:before {
    content: "05";
}

.service-content__box:nth-child(6) .service-content__box-body:before {
    content: "06";
}
.service-content__box:nth-child(7) .service-content__box-body:before {
    content: "07";
}
/*---------------------------------*/
/*COMPANY会社概要--TOP
/*---------------------------------*/
.company__box-wrapper {
    display: flex;
    gap: 30px;
}

.company__box {
    width: calc(100% / 3 - 15px);
}

.company__box a {
    display: flex;
    position: relative;
    width: 100%;
    height: 100%;
    aspect-ratio: 3 / 3.2;
    align-items: flex-end;
    overflow: hidden;
}

.company__box img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 1s;
}

.company__box a:hover img {
    transform: scale(1.1);
}

.company__box-text {
    position: relative;
    padding: 20px;
    width: 100%;
    z-index: 3;
}

.company__box-text p:first-of-type {
    font-size: 40px;
    font-weight: bold;
    color: white;
    letter-spacing: 0.02em;
    line-height: 1em;
}

.company__box-text p:last-of-type {
    color: white;
    font-weight: bold;
}

.company__box a:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: #00000047;
    top: 0;
    left: 0;
    z-index: 1;
    transition: all 1s;
}

.company__box a:hover:before {
    opacity: 0;
}

section.company {
    padding-top: 150px;
    padding-bottom: 100px;
}

section.company:before {
    content: "";
    position: absolute;
    background: var(--gray);
    width: 100%;
    height: 600px;
    top: -550px;
    transform: rotate(10deg);
    right: -350px;
    overflow: hidden;
}
img.eco21 {
    padding: 10px 20px;
}
/*---------------------------------*/
/*CONTACTボタン
/*---------------------------------*/

.contact-btn a {
    background: var(--main);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 80px 40px;
    transition: 0.3s;
}

.contact-btn a p {
    color: white;
    transition: 1s;
}
p.contact__mail-desc span {
    color: #ce0000;
    padding-top: 10px;
    display: block;
}

.contact-btn a p:first-of-type {
    font-size: 70px;
    font-weight: bold;
    line-height: 1em;
    letter-spacing: 0.1em;
}

.contact-btn a p:last-of-type {
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 0.1em;
}

.contact-btn {
    max-width: 1000px;
    margin: auto;
}

.map iframe {
    width: 100%;
    height: 400px;
    vertical-align: bottom;
}

.contact-btn a:hover {
    background: var(--accent);
}

.contact-btn a:hover p {
    letter-spacing: 0.2em;
}



/*---------------------------------*/
/*Footerフッター
/*---------------------------------*/
footer {
    position: relative;
}
.map {
    z-index: 1;
    position: relative;
}
.footer__inner {
    display: flex;
}

.footer__info {
    width: 50%;
    background: url(../img/common/footer-bg.webp);
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 20px;
    position: relative;
    padding: 50px;
}

.footer__info:before {
    width: 100%;
    height: 100%;
    content: "";
    position: absolute;
    background: black;
    opacity: 0.8;
    top: 0;
    left: 0;
}

.footer__info * {
    position: relative;
    z-index: 2;
}

.footer__nav {
    width: 50%;
    padding: 100px 80px;
    background: #eee;
}

.footer__tel a,
.footer__mail a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer__tel a p {
    font-weight: 500;
    color: white;
    font-size: 24px;
    letter-spacing: 2px;
    line-height: 1em;
}

.footer__mail a p {
    font-weight: 500;
    color: white;
    letter-spacing: 2px;
    line-height: 1em;
}

p.footer__access {
    color: white;
    margin-top: -10px;
}

p.copryright {
    background: var(--main);
    color: white;
    font-size: 14px;
    text-align: center;
    padding: 10px 0;
}

.footer__nav ul li:before {
    content: "";
    position: absolute;
    width: 9px;
    height: 9px;
    background: var(--main);
    top: 5px;
    left: 0;
}

.footer__nav ul li {
    position: relative;
    margin-bottom: 24px;
    font-weight: 500;
    padding-left: 20px;
    font-size: 18px;
}

ul.footer__nav-child {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 0px 40px;
}

ul.footer__nav-child li {
    margin-bottom: 10px;
    font-size: 16px;
    padding-left: 0;
}

ul.footer__nav-child li:before {
    display: none;
}

.footer__nav ul li a {
    transition: 0.3s;
    position:relative;
}
ul.footer__nav-child li a:before {
    content: "";
    position: absolute;
    width: 5px;
    height: 5px;
    background: var(--black);
    left: -11px;
    top: 11px;
}

.footer__nav ul li a:hover {
    opacity: 0.6;
}




/* Hamburger Menu */
.hamburger {
    width: 30px;
    height: 30px;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    position: relative;
    z-index: 1000;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #333;
    transition: all 0.3s ease-in-out;
}

/* Nav Menu */
.nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(255 255 255 / 94%);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.nav-menu ul {
    list-style-type: none;
    text-align: center;
}

.nav-menu ul li {
    margin: 20px 0;
}

.nav-menu ul li a {
    text-decoration: none;
    color: var(--black);
    font-size: 24px;
    font-weight: bold;
}

/* Active State for Hamburger and Nav */
.hamburger.active span:nth-child(1) {
    transform: translateY(15px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-15px) rotate(-45deg);
}

.hamburger {
    width: 100px;
    height: 90px;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    position: fixed;
    z-index: 1000;
    background: var(--main);
    padding: 28px;
    right: 0;
    top: 0;
}

.hamburger span {
    background: white;
}

.nav-menu.active {
    opacity: 1;
    visibility: visible;
    z-index: 5;
}

/* Body Scroll Lock when Menu is Active */
body.menu-open {
    overflow: hidden;
    padding-right: 10px;
    /* Optional */
}

nav.sp-nav {
    justify-content: flex-start;
    justify-content: center;
    align-items: flex-start;
    padding-left: 100px;
    flex-direction: column;
    padding-top: 100px;
    padding-bottom: 100px;
    height: 100vh;
    overflow-y: scroll;
}

nav.sp-nav ul {
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    height: auto;
    gap: 10px;

}

.nav-menu ul li {
    margin: 0;
    margin-bottom: 20px;
    padding: 0;
}

nav.sp-nav ul li:before {
    display: none;
}

li.has-child-sp {
    text-align: left;
}

ul.nav-child-sp li a {
    font-size: 18px;
    line-height: 1.6em;
    font-weight: 500;
    position:relative;
}
ul.nav-child-sp li a:before {
    content: "";
    position: absolute;
    width: 5px;
    height: 5px;
    background: var(--black);
    left: -11px;
    top: 12px;
}

ul.nav-child-sp li {
    margin-bottom: 0;
}

nav.sp-nav ul.nav-child-sp {
    gap: 10px;
    margin-left: 20px;
    margin-top: 20px;
}

.sp-nav {
    justify-content: flex-start;
    padding-left: 150px;
}

.sp-nav ul li:after {
    content: "";
    position: absolute;
    width: 9px;
    height: 9px;
    background: var(--main);
    top: 11px;
    left: -17px;
}

ul.nav-child-sp li:after {
    display: none;
}



.sp-contact a {
    display: block;
    background: var(--main);
    color: white;
    font-size: 24px;
    padding: 20px 24px;
    width: 100%;
    text-align: center;
}

.menu-info {
    padding-top: 50px;
}

.menu-info p {
    font-size: 18px;
    font-weight: bold;
    margin-top: 10px;
}

.sp-contact {
    margin-top: 30px;
    width: 50%;
}



/*---------------------------------*/
/*タブレット以下
/*---------------------------------*/
@media screen and (max-width:1180px) {
    .hamburger {
        display: flex;
    }

    .mainvisual__slide {
        max-height: 580px;
    }

    .mainvisual__catch {
        padding-left: 50px;
    }

    p.mainvisual__corp.font-en {
        top: -100px;
        left: -10px;
    }

    .mainvisual__catch h2 {
        font-size: 38px;
    }

    .header__right {
        display: none;
    }

    main {
        padding-top: 50px;
    }

    section {
        padding: 0 50px;
    }

    .about-us__inner {
        padding: 0 50px;
    }

    .about-us__content {
        max-width: none;
        padding-top: 20px;
    }

    section.about-us {
        max-width: none;
        padding: 120px 0 200px;
    }

    p.about-us__desc {
        text-shadow: 0 0 10px white;
        background: #f4f4f4c4;
    }

    .about-us__image {
        position: absolute;
        bottom: 0;
        right: -50px;
        z-index: -1;
        width: 760px;
    }

    .about-us__image img {
        width: 100%;
    }

    section.about-us:before {
        left: -100px;
        top: 40%;
    }

    section.about-us:after {
        width: 980px;
        height: 665px;
        top: -10px;
        right: -350px;
    }

    .service-content__box-body {
        padding: 40px;
    }

    section.company {
        padding-top: 70px;
    }

    .company__box-text p:first-of-type {
        font-size: 22px;
    }

    .company__box-text {
        padding: 15px;
    }

    .footer__nav {
        display: none;
    }

    .footer__info {
        width: 100%;
        padding: 50px 50px 80px;
    }

    .contact-btn a {
        padding: 60px 40px;
    }

    contact-btn a p:first-of-type {
        font-size: 60px;
    }

    p.mainvisual__corp.font-en {
        font-size: 60px;
    }
    .sp-nav__inner {
        width: 100%;
        padding: 50px 0 50px 20px;
        height: 100vh;
        overflow-y: scroll;
    }
}

/*---------------------------------*/
/*スマホ以下
/*---------------------------------*/
@media screen and (max-width:667px) {
    header {
        height: 60px;
        ;
    }

    h1 img {
        width: 230px;
    }

    .hamburger {
        width: 60px;
        height: 60px;
        padding: 17px;
        padding: 20px 17px;
    }

    p.mainvisual__corp.font-en {
        font-size: 36px;
    }

    .mainvisual__catch {
        padding-left: 30px;
    }

    .mainvisual__catch h2 {
        font-size: 26px;
        margin-bottom: 0;
    }

    p.mainvisual__corp.font-en {
        top: -55px;
        left: -10px;
    }

    .mainvisual__slide {
        max-height: 400px;
    }

    section {
        padding: 0 30px;
    }

    .title p:first-of-type {
        font-size: 50px;
    }
    .title p:last-of-type {
        font-size: 18px; 
    }
    .news__box-wrapper {
        flex-direction: column;
        gap: 0;
    }

    .news__box img {
        display: none;
    }

    .news__box:first-of-type {
        border-top: 1px solid var(--bordergray);
    }

    .news__box {
        width: 100%;
        border-bottom: 1px solid var(--bordergray);
        padding: 20px 0;
        margin: 0;
    }

    .title {
        padding-bottom: 30px;
    }

    .about-us__inner {
        padding: 0 30px;
    }

    section.about-us:before {
        left: -100px;
        top: 10%;
    }

    .about-us__image {
        position: absolute;
        bottom: 0;
        right: 0px;
        z-index: -1;
        width: 100%;
    }

    p.about-us__desc {
        padding: 0;
    }
    section.about-us:after{
        display:none;
    }
    .service__inner {
        padding: 0 30px;
    }
    .service-title__wrapper {
        padding: 60px 0 40px;
    }
    .service-content__box {
        flex-direction: column;
    }.service-content__box-image {
        width: 100%;
        order:1;
    }
    .service-content__box-body {
        width: 100%; 
        order: 2;
    }
    .service-content__box-body:before {
        font-size: 110px;
        bottom: -19px;
        right: 20px; 
    }
    .service-content__box:nth-child(2n) .service-content__box-body {
        order: 2;
    }
    .company__box {
        width: 100%;
    }
    .company__box-wrapper {
        flex-direction: column;
        padding: 0 30px;
    }
    .company__box-text p:first-of-type {
        font-size: 28px;
    }
    section.company {
        padding-bottom: 50px;
    }
    .contact-btn a p:first-of-type {
        font-size: 34px;
    }
    main {
        padding-bottom: 100px;
    }
    main:before {
        top:-570px;
    }
    .mainvisual:after{
        left: -250px;
    bottom: -575px;
    }
    main:after {
        left: -170px;
        bottom: -575px;
    }
    section.company:before{
        top:-570px;
    }
    .footer__info {
        padding: 50px 20px 80px;
    }
    nav.sp-nav ul.nav-child-sp{
        padding-left:0;
    }
    nav.sp-nav{
        padding:0;
        overflow-x: hidden;
    }
    .sp-nav__inner {
        width: 100%;
        padding: 100px 50px 50px 50px; 
    }
    .nav-menu ul li a {
        font-size: 18px;
    }
    .menu-info {
        padding-top: 50px;
        width: 100%;
    }
    .menu-info img {
        width: 100%;
    }
    .sp-contact {
        margin-top: 30px;
        width: 100%;
    }
    .menu-info p {
        text-align: center;
    }
    .hamburger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    nav.sp-nav ul{
        padding:0 20px;
    }
    nav.sp-nav ul.nav-child-sp{
        margin-left:0;
    }
    ul.nav-child-sp li a {
        font-size: 15px;
    }
    .sp-nav ul li:after{
        top:6px;
    }
    .sp-contact a{
        font-size:20px;
        letter-spacing: 0.05em;
    }
    .contact-btn a {
        padding: 40px 40px;
    }
    ul.nav-child-sp li a:before{
        top:9px;
    }
    main:before,section.company:before{
        content: "";
        position: absolute;
        transform:none;
        background:none;
        width: 0;
        height: 0;
        border-style: solid;
        border-color: transparent var(--gray) transparent transparent;
        border-width: 0px 310px 50px 0px;
        right: 0;
        top: 0;
    }
    main:after {
        content: "";
        position: absolute;
        transform: none;
        background: none;
        width: 0;
        height: 0;
        border-style: solid;
        border-color: transparent transparent transparent var(--main);
        border-width: 34px 0px 0px 204px;
        left: 0;
        bottom: 0;
    }

    li.blog-list {
        list-style: none;
        width: 100%;
    }
    li.blog-list .img {
        display: none;
    }
    li.blog-list {
        list-style: none;
        width: 100%;
        border-bottom: 1px solid var(--bordergray);
        padding-bottom: 20px;
    }
    span.header__catch {
        font-size: 10px;
        position: relative;
        bottom: -5px;
    }
}