@charset "UTF-8";

*{
    font-family: "MS P明朝","ヒラギノ明朝",serif;
    color: #5E3722;
}
html{
    font-size: 62.5%;
}
section{
    width: 100%;
    height: auto;
}

/* list */
.header_a{
    text-decoration: none;
    font-weight:  bold;
    font-size: 1.5rem;
}
ul{
    list-style: none;
}
a{
    text-decoration: none;
}
.indicator{
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0;
}
.dot{
    width: 0.8rem;
    height: 0.8rem;
    background-color: #ffffff;
    border-radius: 50%;
    border: 2px #5E3722 solid;
    margin: 0 1rem;
}
.more{
    position: relative;
    border-bottom: solid 0.1rem;
    padding: 0 3rem 0.8rem 2rem;
}
.more::after{
    content: "";
    width: 2rem;
    position: absolute;
    right: 0.1rem;
    bottom: 0;
    border-bottom: solid 0.1rem;
    transform-origin: right bottom;
    transform: rotate(45deg);
}

/* image */
.logo{
    width: auto;
    height: clamp(4rem ,calc(1.25vw + 4rem) ,8rem);
    margin: auto 0;
}
.logo + p{
    font-size: clamp(2rem ,calc(1.25vw + 2rem) ,4.8rem);
    margin: 0 1rem;
}
.main_image{
    width: 100%;
    height: auto;
}
.underline{
    padding: 0 8rem 2rem 3rem;
    background-image: url("../image/top_brush1.png");
    background-size: 100%;
    background-position: 0% 70%;
    background-repeat: no-repeat;
}
.undulate{
    padding: 0 5rem 2rem 3rem;
    background-image: url("../image/undulation_brush.png");
}
.straight{
    padding: 0 5rem 2rem 3rem;
    background-image: url("../image/straight_brush.png");
    margin-left: 2rem;
}
.top_image{
    width: 40%;
    height: auto;
    object-fit: contain;
}
.inquiry_brush{
    width: 100%;
    height: auto;
    z-index: 0;
}
.page_image{
    width: 100%;
    height: auto;
    z-index: 0;
}

/* main */
.page_top{
    position: relative;
}
.page_title{
    position: absolute;
    bottom: 0%;
    left: 50%;
    transform: translate(-50%, 50%);
    z-index: 10;
    border: #5E3722 solid 0.1rem;
    background-color: rgb(255, 255, 255, 0.8);
    text-align: center;
    margin: 0;
}
.page_top + h1{
    text-align: center;
}
h2{
    text-align: center;
}
h2 + p{
    width: 80%;
    height: auto;
    margin: auto;
}
aside{
    width: 100%;
    height: auto;
    position: relative;
}
.inquiry_contents{
    width: 70%;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
}
.inquiry_large{
    font-weight: bold;
}


/* margin */
.margin_top{
    margin-top: 5rem;
}

@media screen and (min-width:890px){
    .PC_none{
        display: none;
    }
    .section_margin{
        margin-top: 10%;
    }

    /* header */
    .header_line{
        display: flex;
    }
    .header_nav{
        margin: 0 0 0 auto;
    }
    .header_ul{
        list-style: none;
        display: flex;
        margin: 1.5rem;
    }
    .header_li{
        justify-content: flex-end;
        margin-right: 5rem;
    }

    /* main */
    .top_line{
        justify-content: center;
    }
    .flex_item{
        display: flex;
    }
    .flex_reverse{
        display: flex;
        flex-direction: row-reverse;
    }
    .top_image{
        margin: 0 5%;
    }
    .top_image + p{
        width: 50%;
        height: auto;
        padding: 5rem 0;
        margin: auto 5%;
    }
    .example_line{
        justify-content: space-evenly;
    }
    .example_image{
        width: 30%;
        height: auto;
        object-fit: contain;
    }
    .link{
        text-align: right;
        margin-top: 5rem;
    }
    footer{
        justify-content: space-between;
    }
    footer > div{
        margin-left: 5rem;
    }
    footer > nav{
        margin-right: 10rem;
    }
}


@media screen and (max-width:889px){
    .phone_none{
        display: none;
    }
    .section_margin{
        margin-top: 5rem;
    }

    /* header */
    .header_line{
        display: flex;
    }
    .hamburger{
        right: 10px;
        width: 40px;
        height: 50px;
        position: absolute;
        z-index: 30;
    }
    .display_switch{
        visibility: hidden;
    }
    .header_nav{
        top: 0;
        right: 0;
        width: 70%;
        height: 100%;
        position: fixed;
        background-color: rgba(171, 232, 201, 0.8);
        z-index: 20;
        translate: 100vw;
    }
    .header_ul{
        list-style: none;
        width: 10rem;
        height: 30rem;
        margin: 5rem 5rem 0 auto;
    }
    .header_li{
        width: 10rem;
        height: 2rem;
        margin-bottom: 5rem;
    }

    /* main */
    .top_line{
        text-align: center;
    }
    .flex_reverse{
        display: flex;
        flex-direction: column-reverse;
    }
    .flex_item > img{
        margin-bottom: 2rem;
    }
    .flex_reverse > img{
        margin: 5rem auto 0;
    }
    .top_image + p{
        width: 80%;
        height: auto;
        text-align: initial;
        margin: auto;
    }
    .example_line{
        text-align: center;
    }
    .example_image{
        width: 50%;
        height: auto;
        object-fit: contain;
    }
    .link{
        text-align: center;
        margin-top: 2.5rem;
    }
    .inquiry_large{
        margin: 0;
    }
    footer > div{
        width: 70%;
        height: auto;
        text-align: center;
        margin: auto;
    }
    .footer_logo{
        justify-content: center;
    }
}






/* font text */
@media screen and (min-width:960px){
    h1, .subtitle{
        font-size: clamp(1.5rem, calc(1.25vw + 1.5rem), 4.8rem);
    }
    .catch_copy{
        text-align: left;
        margin-left: 15%;
    }
    .page_title{
        font-size: clamp(4.8rem ,calc(0.5vw + 4.8rem) ,9.6rem);
        padding: 2.5rem 5rem;
    }
    .space_right{
        margin-right: 40%;
    }
    p, a, th, td, button, label, ul, li{
        font-size: clamp(1.5rem, calc(0.25vw + 2rem), 2.5rem);
    }
    h2, h3, .inquiry_large{
        font-size: clamp(1.5rem, calc(1.25vw + 1.5rem), 4.8rem);
    }
    .icon{
        font-size: 4.5rem;
    }
}
/* タブレット */
@media screen and (min-width:465px) and (max-width:959px){
    h1, .subtitle{
        font-size: clamp(1.5rem, calc(0.5vw + 1.5rem), 4.8rem);
    }
    .catch_copy{
        text-align: center
    }
    .page_title{
        font-size: clamp(2rem ,calc(1.25vw + 2rem) ,4.8rem);
        padding: 1.5rem 3rem;
    }
    .undulate{
        padding: 0 3rem 2rem 2rem;
    }
    .space_right{
        margin-right: 15%;
    }
    p, a, th, td, button, label, ul, li{
        font-size: clamp(1rem, calc(0.5vw + 1rem), 1.5rem);
    }
    h2, h3, .inquiry_large{
        font-size: clamp(1.5rem, calc(1.25vw + 1.5rem), 4.8rem);
    }
    .icon{
        font-size: clamp(3rem, calc(0.5vw + 3rem), 4.5rem);
    }
}
/* スマホ */
@media screen and (max-width:464px){
    h1, .subtitle{
        font-size: 1.5rem;
    }
    .catch_copy{
        text-align: left;
        margin-left: 5%;
    }
    .page_title{
        font-size: 1.5rem;
        padding: 0.5rem 1rem;
    }
    .underline{
        padding: 0 3rem 2rem 1rem;
        background-position: 0% 30%;
    }
    .undulate{
        padding: 0 0 2rem 0;
    }
    .space_right{
        margin-right: 30%;
    }
    p, a, th, td, button, label, ul, li{
        font-size: 1rem;
    }
    h2, h3, .inquiry_large{
        font-size: 1.5rem;
    }
    .icon{
        font-size: 2.5rem;
    }
}