@media screen and (min-width:1200px) {
    .image-wrap {
        flex: 0 0 auto;
        width: 40%;
        position: relative;
    }

    .title-h1 {
        letter-spacing: 1rem;
        font-size: 3rem;
    }

    .text-p {
        line-height: 2rem;
        letter-spacing: 0.5rem;
        font-size: 1rem;
    }

    .last-text-left {
        letter-spacing: 1rem;
        color: rgb(77, 96, 46);
        position: absolute;
        left: 10%;
        bottom: 0;
        font-size: 3rem;
    }

    .last-text-right {
        letter-spacing: 1rem;
        color: rgb(77, 96, 46);
        position: absolute;
        right: 10%;
        top: 0;
        font-size: 3rem;
    }

    .image-wrap-first {
        flex: 0 0 auto;
        width: 0%;
        position: relative;
    }

    .text-wrap-first {
        flex: 0 0 auto;
        width: 100%
    }

    .text-wrap {
        flex: 0 0 auto;
        width: 60%
    }

    .img-back-shadow-right::before {
        top: 30%;
        padding: 10%;
        height: 100%;
    }

    .img-back-shadow-left::before {
        top: 30%;
        padding: 10%;
        height: 100%;
    }

    .phone {
        display: none;
    }

    .pc {
        display: block;
    }

    .section-image {
        padding: 10%;
        width: 100%;
        height: 90%;
    }

}

@media screen and (max-width:1199px) {
    .image-wrap {
        flex: 0 0 auto;
        width: 100%;
        overflow: hidden;
        position: relative;
        height: 500px;
    }

    .title-h1 {
        letter-spacing: 1rem;
        font-size: 3rem;
    }

    .text-p {
        line-height: 3rem;
        letter-spacing: 0.5rem;
        font-size: 1.5rem;
    }

    .last-text-left {
        letter-spacing: 1rem;
        color: rgb(77, 96, 46);
        position: absolute;
        left: 10%;
        bottom: 0;
        font-size: 3rem;
    }

    .last-text-right {
        letter-spacing: 1rem;
        color: rgb(77, 96, 46);
        position: absolute;
        right: 10%;
        top: 0;
        font-size: 3rem;
    }

    .text-wrap {
        flex: 0 0 auto;
        width: 100%;
        height: fit-content;
    }

    .img-back-shadow-left::before {
        top: 0%;
        height: 100%;
    }

    .img-back-shadow-right::before {
        top: 0%;
        height: 100%;
    }

    .section-image {
        padding: 10%;
        width: 100%;
        height: 90%;
    }

    .phone {
        display: block;
    }

    .pc {
        display: none;
    }

}

@media screen and (max-width: 979px) {
    .image-wrap {
        flex: 0 0 auto;
        width: 100%;
        height: 400px;
        overflow: hidden;
        position: relative;
    }

    .title-h1 {
        letter-spacing: 1rem;
        font-size: 3rem;
    }

    .text-p {
        margin-top: 1rem;
        line-height: 3rem;
        letter-spacing: 0.5rem;
        font-size: 1.5rem;
    }

    .last-text-left {
        letter-spacing: 1rem;
        color: rgb(77, 96, 46);
        font-size: 2rem;
        position: absolute;
    }

    .last-text-right {
        letter-spacing: 1rem;
        color: rgb(77, 96, 46);
        font-size: 2rem;
        position: absolute;
    }

    .text-wrap {
        flex: 0 0 auto;
        width: 100%;
    }

    .img-back-shadow-left::before {
        top: 0%;
        height: 100%;
    }

    .img-back-shadow-right::before {
        top: 0%;
        height: 100%;
    }

    .section-image {
        padding: 0;
        width: 100%;
        height: 90%;
        object-fit: cover;
    }

    .phone {
        display: block;
    }

    .pc {
        display: none;
    }
}

@media screen and (max-width: 767px) {
    .image-wrap {
        flex: 0 0 auto;
        width: 100%;
        height: 300px;
        overflow: hidden;
        position: relative;
    }

    .mx-4 {
        margin: 0 !important;
    }

    .title-h1 {
        letter-spacing: 1rem;
        font-size: 3rem;
    }

    .text-p {
        margin-top: 1rem;
        line-height: 3rem;
        letter-spacing: 0.5rem;
        font-size: 1.3rem;
    }

    .last-text-left {
        display: none;
    }

    .last-text-right {
        display: none;
    }

    .text-wrap {
        flex: 0 0 auto;
        width: 100%;
    }

    .img-back-shadow-left::before {
        top: 0%;
        height: 100%;
    }

    .img-back-shadow-right::before {
        top: 0%;
        height: 100%;
    }

    .section-image {
        padding: 0;
        width: 100%;
        height: 90%;
        object-fit: cover;
    }

    .phone {
        display: block;
    }

    .pc {
        display: none;
    }
}

@media screen and (max-width: 479px) {
    .image-wrap {
        flex: 0 0 auto;
        width: 100%;
        height: 200px;
        overflow: hidden;
        position: relative;
    }

    .mx-4 {
        margin: 0 !important;
    }

    .title-h1 {
        letter-spacing: 1rem;
        font-size: 2rem;
    }

    .menu .title-h1 {
        letter-spacing: 0rem;
        font-size: 5vw;
    }

    .text-p {
        margin-top: 1rem;
        line-height: 2rem;
        letter-spacing: 0.1rem;
        font-size: 1rem;
    }

    .text-p-intro {

        font-size: 1rem !important;
    }

    .last-text-left {
        display: none;
    }

    .last-text-right {
        display: none;
    }

    .text-wrap {
        flex: 0 0 auto;
        width: 100%;
    }

    .img-back-shadow-left::before {
        top: 0%;
        height: 100%;
    }

    .img-back-shadow-right::before {
        top: 0%;
        height: 100%;
    }

    .section-image {
        padding: 0;
        width: 100%;
        height: 90%;
        object-fit: cover;
    }

    .phone {
        display: block;
    }

    .pc {
        display: none;
    }

}

.text-wrap-100 {
    flex: 0 0 auto;
    width: 100%
}

.text-p {
    overflow-wrap: break-word;
    color: black;
}

.img-back-shadow-left::before {
    content: "";
    position: absolute;
    width: 100%;
    left: 0;
    background-image: url('../image/seigaiha.jpg');
    background-size: cover;
    background-color: rgba(3, 87, 13, 0.7);
    opacity: 0.5;
    background-blend-mode: darken;
    z-index: -1;
    -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 1));
    mask-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 1));
}

.img-back-shadow-right::before {
    content: "";
    position: absolute;
    width: 100%;
    right: 0;
    background-image: url('../image/seigaiha.jpg');
    background-size: cover;
    background-color: rgba(3, 87, 13, 0.7);
    opacity: 0.5;
    background-blend-mode: darken;
    z-index: -1;
    -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 0), rgba(0, 0, 0, 1));
    mask-image: linear-gradient(to left, rgba(0, 0, 0, 0), rgba(0, 0, 0, 1));
}

.section-image {
    position: relative;
    z-index: 1;
    width: 100%;
}


.t-align-center {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
}

.t-y-center {
    width: 100%;
    height: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
}

.title-h1 {

    color: rgb(77, 96, 46);
}

.mb-10 {
    margin-bottom: 10rem;
}

.pb-10 {
    padding-bottom: 10rem;
}

.pt-10 {
    padding-top: 10rem;
}


.pb-20 {
    padding-bottom: 20rem;
}

.pt-20 {
    padding-top: 20rem;
}

.text-vertical {
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
}

.fadeIn {
    opacity: 0;
    visibility: hidden;
    transform: translateY(50px);
    transition: opacity 2s, visibility 2s, transform 2s;
}


.scroll {
    opacity: 1;
    visibility: visible;
    transform: translateY(0px);
}

.catch {
    letter-spacing: 1rem;
    font-size: 4rem;
    color: #d7d7d7;
}

.catch-wrap {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
}

.pos-r {
    position: relative;
}

.carousel-control-next {
    z-index: 1029;
}

.carousel-control-prev {
    z-index: 1029;
}

.pos-a {
    position: absolute;
    top: 45%;
    z-index: 1000;
    width: 100%;
}

.gradation-right {
    -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 1));
    mask-image: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 1));
}

.gradation-left {
    -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 1));
    mask-image: linear-gradient(to left, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 1));
}


.bg-img {
    background-image: url('../image/japanese-paper_00148.jpg');
    background-color: rgba(255, 255, 255, 0.85);
    background-blend-mode: lighten;
}


.title-section {
    font-size: 4rem;
    letter-spacing: 1rem;
    margin-left: 0.5rem;
    text-decoration: underline #00450a;
}

.background {
    -webkit-mask-image: radial-gradient(ellipse, white 40%, transparent 80%);
    mask-image: radial-gradient(ellipse, white 40%, transparent 80%);
}

.separate {
    width: 100%;
    position: relative;
}

.my-hr {
    width: 100%;
    border-top: solid 5px #637c3bff;
    position: absolute;
    top: 50%
}

.section-title {
    width: 100%;
    background-image: url('../image/das.png');
    background-color: rgba(255, 255, 255, 0);
    background-blend-mode: lighten;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 7rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    letter-spacing: 1rem;
    color: #637c3bff;
}

.gradation-bot {
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 1));
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 1));
}

.gradation-top {
    -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 1));
    mask-image: linear-gradient(to top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 1));
}

.title-h1-intro {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    letter-spacing: 1rem;
    font-size: 3rem;
    color: rgb(77, 96, 46);
}

.title-h1-intro h1 {
    margin-bottom: 2rem;
}

.text-p-intro {
    letter-spacing: 0.4rem;
    font-size: 1rem;
    color: black;
    margin-bottom: 10px;
}


.last-text-service {
    letter-spacing: 1rem;
    font-size: 1.5rem;
    color: black;

}

.p-r {
    position: relative;
}

.person-img {
    width: 70%;
    margin: 5%
}

.person::before {
    top: 0%;
    padding: 10%;
    height: 100%;
    content: "";
    position: absolute;
    width: 100%;
    right: 0;
    background-image: url('../image/seigaiha.jpg');
    background-size: cover;
    background-color: rgba(3, 87, 13, 0.7);
    opacity: 0.5;
    background-blend-mode: darken;
    z-index: -1;
    -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 0), rgba(0, 0, 0, 1));
    mask-image: linear-gradient(to left, rgba(0, 0, 0, 0), rgba(0, 0, 0, 1));
}

.text-wrap-100 {
    flex: 0 0 auto;
    width: 100%;
}