:root{
    --main-color: #826b4b;
    --sub-color: #f78230;
    --bg-color: #f8f2ea;
    --txt-color: #47443f;
    --grad-color01: linear-gradient(90deg, #f78230, #ffa930);;
    --grad-color02: linear-gradient(90deg, #826b4b, #ffa930);
    --grad-color03: linear-gradient(90deg, #826b4b1a, #f782301a);
}

html{
    font-size: 10px;
}
html, body {
    overflow-x: hidden;
  }
body,p,h1,h2,h3,h4,h5{
    font-family: "Noto Sans JP",'Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3','ヒラギノ角ゴシック','Hiragino Sans','メイリオ', Meiryo,sans-serif;
    font-size: 1.5rem;
    line-height: 1.75;
    color: var(--txt-color);
}
h1{
    font-size: 7rem;
    line-height: 1.5;
}
h2{
    font-size: 3.6rem;
    line-height: 1.3;
}
h3{
    font-size: 2rem;
    line-height: 1.3;
}

img{
    height: auto;
    max-width: 100%;
    vertical-align: bottom;
}
a:hover{
    transition: all .3s ease-in-out 0s;
}
ul{
    list-style: none;
}

/*sp 改行*/
@media (min-width: 768px) { .brsp { display:none;} .brpc { display:block;}}
@media (max-width: 767px) { .brsp { display:block;} .brpc { display:none;}}
@media (min-width: 1200px) { .brpad { display:block;} .brpads { display:none;}}
@media (max-width: 1199px) { .brpad { display:none;}.brpads { display:block;}}
/*sp 改行 END*/

/*--------- common --------*/


.btn-wrapper .main-btn{
    text-align: center;
}
.btn-wrapper .main-btn a{
    display: inline-block;
}
.btn-wrapper .main-btn a:hover{
    opacity: 0.7;
}
.btn-wrapper .main-btn a img{
    max-width: 520px;
}

.sec-ttl h2{
    position: relative;
    color: var(--main-color);
    text-align: center;
}
.sec-ttl h2 .eng{
    position: absolute;
    z-index: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    text-align: center;
    font-size: 100px;
    line-height: 1;
    color: var(--main-color);
    opacity: 0.1;
}
.sec-ttl p{
    font-size: 1.8rem;
    text-align: center;
    font-weight: bold;
    margin-top: 2rem;
}

/*--------- common end--------*/

#main .ttl01{
    background: #957674;
    padding: 3rem 0;
    text-align: center;
}
#main .ttl01 p{
    font-size: 2.8rem;
    color: #fff;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 2rem;
}
#main .ttl01 p span{
    padding: 0 2.5rem;
    width: 180px;
    text-align-last: justify;
    background: #581e27;
    border: 1px solid #fff;
}
#main .ttl01 p span:nth-child(2){
    padding: 0 4rem;
    background: #831e27;
}
#main .ttl01 h1{
    position: relative;
    display: inline-block;
    color: #fff;
    text-align: center;
    line-height: 1;
    padding-bottom: 1.5rem;
}
#main .ttl01 h1::before{
    content: "";
    position: absolute;
    width: 100%;
    height: 1px;
    top: 100%;
    left: 0;
    right: 0;
    margin:auto;
    background: #fff;
}
#main .ttl01 h1::after{
    content: "";
    position: absolute;
    width: 100%;
    height: 1px;
    top: calc(100% - 5px);
    left: 0;
    right: 0;
    margin:auto;
    background: #fff;
}
#main .ttl01 h1 .span01{
}
#main .ttl01 h1 .span02{
    margin-left: -0.4rem;
}
#main .ttl01 h1 .span03{
    margin-left: -0.7rem;
}
#main .ttl01 h1 .span04{
    font-size: 5rem;
    vertical-align: 1rem;
    margin: 0 -1rem;
}
#main .ttl01 h1 .span05{
    margin-left: -1.2rem;
    margin-right: -0.2rem;
}
#main .ttl01 h1 .small{
    font-size: 6rem;
}
#main .ttl02{
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    padding: 1.5rem 0;
    gap: 2rem;
}
#main .ttl02 img{
    width: 300px;
}
#main .ttl02 p{
    font-size: 4.2rem;
    letter-spacing: 0.2rem;
    font-weight: bold;
    color: #fff;
}
#main .main-btn{
    margin-top: 4rem;
}
#main img.sp{
    display: none;
}


.block01-wrapper{
    position: relative;
    z-index: 2;
    background: var(--bg-color);
}
.block01-wrapper > div{
    background: #fff;
}
#block01 {
    max-width: 1200px;
    margin: auto;
    padding: 16rem 0 0;
}
#block01 .problem-etc{
    text-align: center;
}
#block01 .problem-etc ul{
    padding: 0;
    margin: 4rem 0 1rem;
    list-style: none;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 10px;
    row-gap: 10px;
}
#block01 .problem-etc ul li{
    font-size: 1.8rem;
    line-height: 60px;
    font-weight: bold;
    background: #f2f2f2;
    width: 365px;
    height: 60px;
    border-radius: 60px;
}
#block01 .problem-etc .img{
    text-align: center;
}
#block01 .problem-etc .img img{
    max-width: 470px;
    margin-bottom: -6rem;
}



.block02-wrapper{
    position: relative;
    background: var(--bg-color);
}
.block02-wrapper::before{
    content: "";
    position: absolute;
    z-index: 0;
    top: -35rem;
    left: -5vw;
    right: 0;
    margin: auto;
    width: 110vw;
    height: 50rem;
    background: #fff;
    clip-path: ellipse(50% 50% at 50% 50%);
}
.block02-wrapper::after{
    content: "";
    position: absolute;
    z-index: 0;
    top: calc(15rem - 1px);
    left: 0;
    right: 0;
    margin: auto;
    width: 50px;
    height: 45px;
    background: #fff;
    clip-path: polygon(50% 100%, 0 0, 100% 0);
}
#block02 {
    max-width: 1200px;
    margin: auto;
    padding: 24rem 0 12rem;
}
#block02 .ttl{
    text-align: center;
}
#block02 .ttl h2{
    font-size: 4.2rem;
}
#block02 .ttl h2 span{
    position: relative;
    display: inline-block;
    margin-left: -10px;
    margin-right: -10px;
}
#block02 .ttl h2 span::before{
    content: "";
    position: absolute;
    bottom: -1rem;
    left: 0;
    right: 0;
    margin: auto;
    width: calc(100% - 20px);
    height: 4px;
    background: var(--grad-color01);
}
#block02 .ttl h2 span::after{
    content: "";
    position: absolute;
    bottom: calc(-1rem - 8px);
    left: 0;
    right: 0;
    margin: auto;
    width: calc(100% - 20px);
    height: 4px;
    background: var(--grad-color01);
}
#block02 .contents-wrap{
    background: #fff;
    border-radius: 20px;
    margin-top: 6rem;
    padding: 5rem 0;
    text-align: center;
}
#block02 .contents-ttl h3{
    font-size: 3.2rem;
}
#block02 .contents-txt{
    display: flex;
    justify-content: space-around;
    margin-top: 3rem;
}
#block02 .contents-txt .box {
    position: relative;
    width: 31.6666666667%;
}
#block02 .contents-txt .box::after{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 100%;
    margin: auto;
    content: "";
    width: 2px;
    height: 110%;
    background-color: var(--bg-color);
}
#block02 .contents-txt .box:last-child::after {
    display: none;
}
#block02 .box img{
    max-width: 90px;
}
#block02 .box p{
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1.5;
    margin-top: 2rem;
}




#block03{
    max-width: 900px;
    margin: auto;
    padding: 16rem 0 12rem;
}
#block03 .contents-wrap{
    margin-top: 6rem;
}
#block03 .box{
    background: #f782300d;
    border-radius: 12px;
    display: flex;
    margin-bottom: 2rem;
}
#block03 .box:last-child{
    margin-bottom: 0rem;
}
#block03 .img{
    width: 40%;
}
#block03 .img img{
    aspect-ratio: 2 / 1;
    border-radius: 12px;
    object-fit: cover;
    object-position: top;
}
#block03 .contents-txt{
    width: 60%;
    padding-left: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
#block03 .contents-txt h3{
    margin-bottom: 1rem;
}
#block03 .contents-txt h3 span{
    display: block;
    margin-bottom: 1rem;
    color: var(--sub-color);
}
#block03 .btn-wrapper{
    margin-top: 6rem;
}


.block04-wrapper{
    background:var(--grad-color03);
}
#block04{
    max-width: 1200px;
    margin:auto;
    padding: 16rem 0 12rem;
}
#block04 .contnets-wrap{
    margin-top: 6rem;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    column-gap: 20px;
    row-gap: 20px;
}
#block04 .contnets-wrap .box{
    width: 32.2222222222%;
    background: #fff;
    border-radius: 10px;
    padding: 2.5rem 2rem;
}
#block04 .box h3{
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}
#block04 .box p{
    min-height: 52.5px;
    margin-bottom: 1.5rem;
}
#block04 .box ul{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    column-gap: 5px;
    row-gap: 5px;
}
#block04 .box ul li{
    display: inline-block;
    color: var(--sub-color);
    border: 1px solid;
    border-radius: 20px;
    padding: 3px 12px;
}


#block05{
    margin:auto;
    padding: 16rem 0 12rem;
}
#block05 .contents-wrap{
    background:var(--grad-color03);
}
#block05 .contents-wrap > div{
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    margin: 7rem auto 6rem;
}
#block05 .box{
    position: relative;
    width: 23.75%;
    text-align: center;
    padding: 6rem 0;
}
#block05 .box span{
    position: absolute;
    top: -1rem;
    left: 0;
    right: 0;
    margin: auto;
    line-height: 1;
    font-weight: bold;
    color: var(--sub-color);
}
#block05 .box span b{
    font-size: 30px;
    line-height: 1;
}
#block05 .box h3{
    margin-bottom: 1rem;
}




.block06-wrapper{
    background: var(--bg-color)
}
#block06 {
    max-width: 900px;
    margin: auto;
    padding: 16rem 0 12rem;
}
#block06 .sec-ttl h2 {
    color: var(--main-color);
}
#block06 .sec-ttl h2 .eng {
    color: var(--main-color);
}
#block06 .contents-wrap{
    margin-top: 6rem;
}
#block06 .contents-wrap .box{
    margin-top: 2rem;
}
#block06 .q-wrap{
    position: relative;
    padding-left: 6rem;
}
#block06 .q-wrap::before{
    content: "Q";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 40px;
    height: 40px;
    text-align: center;
    font-size: 2rem;
    color: #fff;
    background: #4764c4;
    border-radius: 50%;
}
#block06 .q-wrap h3{
    line-height: 60px;
    max-width: 600px;
    min-height: 60px;
    border-radius: 10px;
    background: #fff;
    padding: 0 2rem;
}
#block06 .a-wrap{
    position: relative;
    padding-right: 6rem;
}
#block06 .a-wrap::before{
    content: "A";
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 40px;
    height: 40px;
    text-align: center;
    font-size: 2rem;
    color: #fff;
    background: #e04a64;
    border-radius: 50%;
}
#block06 .a-wrap p{
    max-width: 600px;
    border-radius: 10px;
    background: #fff;
    padding: 2rem;
    margin: 2rem 0 0 auto;
}



.block07-wrapper {
    position: relative;
    z-index: 2;
    background: var(--bg-color);
}
#block07 {
    max-width: 1200px;
    margin: auto;
    padding: 4rem;
    text-align: center;
    background: #fff;
    border-radius: 20px;
}
#block07 .ttl-wrap p{
    position: relative;
    display: inline-block;
    font-size: 2.4rem;
    font-weight: bold;
    color: var(--main-color);
    padding: 0 4rem;
    margin-bottom: 1rem;
}
#block07 .ttl-wrap p::after{
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--main-color);
    transform: rotate(-40deg);
}
#block07 .ttl-wrap p::before{
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 3px;
    height: 100%;
    background: var(--main-color);
    transform: rotate(40deg);
}
#block07 .icon img{
    width: 85px;
}
#block07 .ttl-wrap h2{
    font-size: 3.2rem;
    color: var(--main-color);
    margin: 1rem 0 3rem;
}
#block07 .txt-wrap p{
    margin-bottom: 1.5rem;
}
#block07 .txt-wrap p:last-child{
    margin-bottom: 0;
}
#block07 .img a:hover{
    opacity: 0.8;
}
#block07 .img img{
    max-width: 600px;
    margin-top: 2rem;
}
#block07 .img img.sp{
    display: none;
}


.block08-wrapper {
    position: relative;
    background: var(--bg-color);
}
#block08 {
    max-width: 1200px;
    margin: auto;
    padding: 8rem 0;
    text-align: center;
}
#block08 h2{
    display: inline-block;
    background: var(--grad-color01);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
#block08 .contact-btn img{
    max-width: 415px;
    margin: 3rem 0;
}
#block08 p{
    font-size: 2rem;
}
footer .socket{
    background: var(--main-color);
    color: #fff;
    text-align: center;
    font-size: 1.2rem;
    padding: 2rem 0;
}

/********************************
window size
*********************************/
/** desktop large size **/
@media (min-width:1441px){
}
/** desktop size **/
@media only screen and (min-width: 1200px) and (max-width: 1440px) {
}
/** note size **/
@media only screen and (min-width: 992px) and (max-width: 1199px) {
}
/** pad size **/
@media only screen and (min-width: 768px) and (max-width: 991px) {
}
/** sp size **/
@media (max-width:767px){
    
    h1{
        font-size: 10.87vw;
        line-height: 1.5;
    }
    h2{
        font-size: 2.4rem;
        line-height: 1.3;
    }
    h3{
        font-size: 1.8rem;
        line-height: 1.3;
    }
    img{
        width: 100%;
    }
    .btn-wrapper .main-btn a img {
        width: 90vw;
    }
    .sec-ttl h2 .eng {
        font-size: 7rem;
        letter-spacing: -0.2rem;
    }
    

    #main .ttl01 {
        padding: 2rem;
    }
    #main .ttl01 p {
        font-size: 2rem;
        justify-content: space-between;
        gap: 10px;
        margin-bottom: 1;
    }
    #main .ttl01 p span {
        padding: 0 1rem;
        width: 32%;
    }
    #main .ttl01 p span:nth-child(2) {
        padding: 0 2rem;
    }
    #main .ttl01 h1 {
        padding-bottom: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    #main .ttl01 h1 .row1,#main .ttl01 h1 .row2{
        position: relative;
        padding-bottom: 2rem;
    }
    #main .ttl01 h1::before,#main .ttl01 h1::after {
        display: none;
    }
    #main .ttl01 h1 .row1{
        position: relative;
        padding-bottom: 1rem;
        margin-bottom: 1rem;
    }
    #main .ttl01 h1 .row2{
        position: relative;
        padding-bottom: 1rem;
    }
    #main .ttl01 h1 .row1::before,
    #main .ttl01 h1 .row2::before{
        content: "";
        position: absolute;
        width: 100%;
        height: 1px;
        bottom: 0;
        left: 0;
        right: 0;
        margin: auto;
        background: #fff;
    }
    #main .ttl01 h1 .row1::after,
    #main .ttl01 h1 .row2::after{
        content: "";
        position: absolute;
        width: 100%;
        height: 1px;
        bottom: 5px;
        left: 0;
        right: 0;
        margin: auto;
        background: #fff;
    }
    #main .ttl01 h1 .span04 {
        font-size: 2.8rem;
        vertical-align: 2px;
        margin: 0 -0.5rem;
    }
    #main .ttl01 h1 .small {
        font-size: 3rem;
    }
    #main .ttl02 {
        flex-direction: column;
        padding: 1.5rem 0;
        gap: 0rem;
    }
    #main .ttl02 img {
        width: 230px;
    }
    #main .ttl02 p {
        font-size: 2.8rem;
        line-height: 1.5;
        letter-spacing: 0.1rem;
    }
    #main .btn-wrapper {
        background: #fff;
        padding: 0;
    }
    #main img.pc{
        display: none;
    }
    #main img.sp{
        display: block;
    }



    #block01 {
        width: 90vw;
        padding: 12rem 0 0;
    }
    #block01 .problem-etc ul {
        flex-direction: column;
    }
    #block01 .problem-etc ul li {
        font-size: 1.5rem;
        line-height: 50px;
        width: 100%;
        height: 50px;
    }
    #block01 .problem-etc .img img {
        max-width: 250px;
        margin-bottom: 0;
    }

    .block02-wrapper::before {
        top: -12rem;
        height: 20rem;
    }
    .block02-wrapper::after {
        top: calc(8rem - 1px);
        width: 25px;
        height: 20px;
    }
    #block02 {
        width: 90vw;
        padding: 14rem 0 8rem;
    }
    #block02 .ttl h2 {
        font-size: 2.4rem;
        line-height: 1.5;
    }
    #block02 .ttl h2 span {
        z-index: 2;
        margin-left: -16px;
        margin-right: -6px;
    }
    #block02 .ttl h2 span::before {
        z-index: -1;
        bottom: -2px;
        width: calc(100% - 20px);
        height: 10px;
        background: var(--grad-color01);
        opacity: 0.5;
    }
    #block02 .ttl h2 span::after {
        display: none;
    }
    #block02 .contents-wrap {
        border-radius: 10px;
        margin-top: 3rem;
        padding: 3rem 2rem;
    }
    #block02 .contents-ttl h3 {
        font-size: 2rem;
    }
    #block02 .contents-txt {
        margin-top: 3rem;
        flex-direction: column;
        align-items: center;
        row-gap: 3rem;
    }
    #block02 .contents-txt .box {
        position: relative;
        width: 100%;
    }
    #block02 .contents-txt .box::after {
        top: auto;
        bottom: -1.5rem;
        right: 0;
        left: 0;
        margin: auto;
        width: 80%;
        height: 2px;
    }
    #block02 .box img {
        max-width: 50px;
    }
    #block02 .box p {
        font-size: 1.5rem;
        margin-top: 1rem;
    }
    #block03 {
        width: 90vw;
        padding: 12rem 0 8rem;
    }
    #block03 .box {
        flex-direction: column;
        border-radius: 10px;
    }
    #block03 .img {
        width: 100%;
    }
    #block03 .img img{
        border-radius: 10px;
    }
    #block03 .contents-txt {
        width: 100%;
        padding: 2rem 2.5rem;
    }
    #block03 .btn-wrapper {
        margin-top: 4rem;
    }
    #block04 {
        width: 90vw;
        padding: 12rem 0 8rem;
    }
    #block04 .contnets-wrap .box {
        width: 100%;
        background: #fff;
        border-radius: 10px;
        padding: 2.5rem 2rem;
    }
    #block04 .box h3 {
        min-height: auto;
    }
    #block04 .box p {
        min-height: auto;
    }
    #block04 .box ul li {
        font-size: 1.2rem;
        padding: 3px 10px;
        line-height: 1.3;
    }
    #block05 {
        width: 90vw;
        padding: 12rem 0 8rem;
    }
    #block05 .contents-wrap > div {
        margin: 6rem auto 4rem;
        flex-direction: column;
    }
    #block05 .contents-wrap {
        background: none;
    }
    #block05 .box {
        width: 100%;
        background: #f782300d;
        padding: 6rem 0 2rem;
        margin-bottom: 2rem;
        border-radius: 10px;
    }
    #block06 {
        width: 90vw;
        padding: 12rem 0 8rem;
    }
    #block06 .q-wrap {
        padding-left: 5rem;
    }
    #block06 .q-wrap h3 {
        font-size: 1.6rem;
        line-height: 1.5;
        padding: 1.5rem 2rem;
    }
    #block06 .a-wrap {
        padding-right: 5rem;
    }
    #block07 {
        width: 90vw;
        padding: 4rem 0;
        border-radius: 10px;
    }
    #block07 .ttl-wrap,#block07 .txt-wrap{
        padding: 0 2rem;
    }
    #block07 .ttl-wrap p {
        font-size: 1.8rem;
        padding: 0 1.5rem;
    }
    #block07 .ttl-wrap p::before {
        width: 2px;
        transform: rotate(30deg);
    }
    #block07 .ttl-wrap p::after {
        width: 2px;
        transform: rotate(-30deg);
    }
    #block07 .ttl-wrap h2 {
        font-size: 2.2rem;
        margin: 1rem 0 2rem;
    }
    #block07 .img img.sp{
        display: block;
        padding: 0 2rem;
    }
    #block07 .img img.pc{
        display: none;
    }
    
    #block08 {
        width: 90vw;
        padding: 4rem 0;
    }
    #block08 .contact-btn img {
        max-width: 415px;
        margin: 2rem 0;
    }
    #block08 p {
        font-size: 1.5rem;
    }
    footer .socket{
        padding: 10px 0 80px;
    }


}
/** pad & sp size **/
@media (max-width:991px){
}


#fixed-footer-menu {
    position: fixed;
    /* top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%); */
    bottom: 10px;
    right: 10px;
    margin: auto;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
    z-index: 9999;
}
#fixed-footer-menu.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
#fixed-footer-menu p{
    background: var(--grad-color01);
    font-size: 1.6rem;
    letter-spacing: 0.1rem;
    border-radius: 10px;
    padding: 5px;
}
#fixed-footer-menu p a{
    position: relative;
    text-decoration: none;
    color: #fff;
    width: 130px;
    height: 60px;
    padding: 0 30px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #fff;
    border-radius: 8px;
}
#fixed-footer-menu p a::before{
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 15px;
    margin: auto;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
}
#fixed-footer-menu p a::after{
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 23px;
    margin: auto;
    width: 6px;
    height: 6px;
    border-top: 1px solid var(--sub-color);
    border-right: 1px solid var(--sub-color);
    transform: rotate(45deg);
}
/** sp size **/
@media (max-width:767px){
    #fixed-footer-menu{
        width: 100%;
        bottom: 0px;
        right: 0px;
    }
    #fixed-footer-menu p a {
        width: 100%;
        height: 60px;
    }
}