/* 共通部分 */

html{
    overflow-x: hidden;
    font-size: 10px;
}

body{
    overflow-x: hidden;
    font-family: "Noto Sans JP", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", メイリオ, Meiryo, "ＭＳ Ｐゴシック", sans-serif;
    font-size: 1.4rem;
    counter-reset: number 0; 
}

nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 10;
    background-color: #ffffff;
}

.header-logo-box {
    width: 400px;
    display: flex;
    font-weight: bold;
    font-size: 28px;
    color: #008A63;
    align-items: center;
}
.header-logo-box h1 {
    margin-left: 10px;
}
.header-logo-sp {
    width: 70px;
}
@media screen and (max-width: 768px) {
    .header-logo-box {
        width: 100%;
        display: flex;
        font-weight: bold;
        font-size: 16px;
        color: #008A63;
        align-items: center;
        margin: 0 auto;
    }
    .header-logo-box h1 {
        margin-left: 10px;
    } 
}

.header-logo{
    width: 100%;
    height: auto;
}
.header-logo img{
    width: 20%;
}
.header-logo-sp {
    width: 70px;
}

.openbtn,
.sp-menu{
    display: none;
}

.nav{
    z-index: 15;
}

nav ul{
    display: flex;
    align-items: center;
    gap: 40px;
    color: black;
    font-weight: 700;
}

nav ul,
nav ul li
{
    height: 100%;
    line-height: 80px;
}

.header-list:hover{
    color: #00BB85;
    border-top: #00BB85 solid 3px;
}

.contact-btn{
    position: relative;
    padding: 15px 35px;
    background-color: #00BB85;
    color: #ffffff;
}

.contact-btn::after{
    position: absolute;
    display: block;
    content: '';
    top: 0;
    right: 1.2rem;
    bottom: 0;
    width: 0.7rem;
    height: 0.7rem;
    border-top: 2px solid #ffffff;
    border-right: 2px solid #ffffff;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    margin: auto;
}

.contact-btn:hover{
    background-color: #008A63;
}

footer{
    padding: 100px;
    border-top: 1px solid #E8E8E8;
}

.footer-container{
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 50px;
}

.footer-item{
    font-size: 13px;
}

.footer-logo{
    width: 162px;
    height: auto;
}

.footer-logo img{
    width: 162px;
    height: auto;
}

.address{
    margin-top: 20px;
}

.tel{
    margin-top: 20px;
    display: block;
}

.fax{
    margin-bottom: 20px;
}

.privacy{
    position: relative;
    padding-left: 25px;
}

.privacy:hover{
    color: #00BB85;
}

.privacy:before {
    left: 0;
    width: 1.7rem;
    height: 1.7rem;
    background: #00BB85;
    border-radius: 50%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: absolute;
    display: block;
    content: '';
    top: 0.1rem;
    bottom: 0;
    margin: auto;
}

.privacy:after {
    left: 0.5rem;
    width: 0.4rem;
    height: 0.4rem;
    border-top: 1px solid #ffffff;
    border-right: 1px solid #ffffff;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    position: absolute;
    display: block;
    content: '';
    top: 0.1rem;
    bottom: 0;
    margin: auto;
}

.contact{
    width: 65%;
    background-color: #00BB85;
    color: #ffffff;
    padding: 30px 50px 30px 30px;
    font-size: 13px;
    position: relative;
}

.contact:hover{
    background-color: #008A63;
}

.contact-sub-title{
    color: #c3ece1;
    margin-bottom: 20px;
}

.contact-text-container h2{
    font-size: 30px;
    margin-bottom: 5px;
    font-weight: 700;
}

.contact-text{
    line-height: 1.5em;
    letter-spacing: 1px;
}

.contact:before {
    -webkit-transition: background .3s cubic-bezier(0.215, 0.61, 0.355, 1) 0s;
    transition: background .3s cubic-bezier(0.215, 0.61, 0.355, 1) 0s;
    top: 0;
    right: 4rem;
    width: 1px;
    height: 100%;
    background: #48fac8;
    position: absolute;
    display: block;
    content: '';
}

.contact:after {
    top: 0.8rem;
    right: 1.6rem;
    bottom: 0;
    width: 0.8rem;
    height: 0.8rem;
    border-top: 2px solid #ffffff;
    border-right: 2px solid #ffffff;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    margin: auto;
    position: absolute;
    display: block;
    content: '';
}

.copyright{
    text-align: center;
    background-color: #008a63;
    color: white;
    padding: 20px 0;
    font-size: 10px;
    letter-spacing: 2px;
}

.sp-br{
    display: none;
}

.sub-page-mv{
    background-image: url(../img/privacy_mv.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 260px;
    margin-top: 80px;
    position: relative;
}

.sub-page-mv-title-container{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    color: #ffffff;
    text-align: center;
}

.business-title-container{
    margin-bottom: 50px;
    margin-top: 100px;
}

.sub-page-mv-title-container h2{
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.business-title-container h3{
    text-align: center;
    padding-bottom: 20px;
    margin-bottom: 40px;
    margin-top: 0px;
    font-size: 27px;
    font-weight: 700;
    position: relative;
    
}

.business-title-container h3::after{
    position: absolute;
    display: block;
    content: '';
    left: 0;
    right: 0;
    bottom: 0;
    width: 3rem;
    height: 3px;
    background: #00BB85;
    margin: auto;
}

.business-title-container p{
    line-height: 2em;
    text-align: center;
}



@media screen and (max-width: 1024px){

    .pc-ul{
        display: none;
    }

    .openbtn{
        display: block;
        position:fixed;
        z-index: 9999;/*ボタンを最前面に*/
        top:10px;
        right: 10px;
        cursor: pointer;
        width: 50px;
        height:50px;
        background-color: #00BB85;
    }

    .openbtn span{
        display: inline-block;
        transition: all .4s;
        position: absolute;
        left: 14px;
        height: 3px;
        border-radius: 2px;
        background-color: white;
        width: 45%;
    }

    .openbtn span:nth-of-type(1) {
        top:15px; 
    }
    
    .openbtn span:nth-of-type(2) {
        top:23px;
    }
    
    .openbtn span:nth-of-type(3) {
        top:31px;
    }
    
    .openbtn.active span:nth-of-type(1) {
        top: 18px;
        left: 18px;
        transform: translateY(6px) rotate(-45deg);
        width: 30%;
    }
    
    .openbtn.active span:nth-of-type(2) {
        opacity: 0;
    }
    
    .openbtn.active span:nth-of-type(3){
        top: 30px;
        left: 18px;
        transform: translateY(-6px) rotate(45deg);
        width: 30%;
    }

    .sp-menu{
        background: rgba(0,0,0,50%);
        width: 100%;
        height: 100vh;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 30;
    }

    .sp-menu-list{
        background-color: white;
        height: 100vh;
        width: 200px;
        position: absolute;
        top: 0;
        left: 0;    
    }

    .sp-menu-list li{
        padding: 20px;
        border-bottom: 1px solid #E8E8E8;
    }

    .sp-menu-list li:hover{
        color: #00BB85;
    }

    .sp-menu-list li:nth-child(7){
        border-bottom: unset;
        margin-top: 20px;
    }

    .sp-contact-btn{
        position: relative;
        padding: 15px 35px;
        background-color: #00BB85;
        color: white;
    }
    
    .sp-contact-btn::after{
        position: absolute;
        display: block;
        content: '';
        top: 0;
        right: 1.2rem;
        bottom: 0;
        width: 0.7rem;
        height: 0.7rem;
        border-top: 2px solid #ffffff;
        border-right: 2px solid #ffffff;
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
        margin: auto;
        }
    
    .sp-contact-btn:hover{
        background-color: #008A63;
    }

    footer{
        padding: 50px;
    }
    
    .contact{
        width: 50%;
        padding: 20px 50px 20px 30px;
    }
    
    .contact-sub-title{
        margin-bottom: 15px;
    }
    
    .contact-text-container h2{
        font-size: 25px;
    }
    
    .contact-text{
        line-height: 1.2em;
        letter-spacing: 1px;
    }

    .sp-br{
        display: none;
    }

    
}

@media screen and (max-width: 768px){

    footer{
        padding: 30px 10px;
    }

    .footer-container{
        flex-direction: column-reverse;
    }

    .contact{
        width: 100%;
    }

    .copyright{
        font-size: 8px;
        letter-spacing: 0;
    }

    .sp-br{
        display: block;
    }
    .footer-logo{
        display: inline-block;
        width: 70px;
        height: auto;
    }
    .footer-logo img{
        width: 100%;
    }
}

/* ここまで共通部分 */

.article-wrapper{
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 30px;
}

h4{
    font-size: 20px;
    margin-bottom: 30px;
    font-weight: 700;
    position: relative;
    padding-left: 20px;
}

h4::before{
    position: absolute;
    display: block;
    content: '';
    top: 0.4rem;
    left: 0;
    width: 3px;
    height: 76.67%;
    background: #00BB85;
}

h5{
    font-size: 15px;
    font-weight: 700;
    color: #00BB85;
    margin-bottom: 15px;
}

h6{
    font-weight: 700;
    margin-bottom: 15px;
}

p{
    line-height: 2em;
    margin-bottom: 30px;
}

.article01,
.article02,
.article03,
.article04,
.article05,
.article06,
.article07,
.article08{
    padding: 50px 0;
    border-bottom: 1px solid rgb(232,232,232);
}

.article08 a{
    text-decoration: underline;
}
.header-logo-box {
    width: 400px;
}
@media screen and (max-width: 1280px) {
    .pc-ul {
        font-size: 80%;
    }
    .header-logo-box {
        /* width: 380px; */
    }
}
@media screen and (min-width: 1024px) and (max-width: 1280px) {
    .header-logo-box {
        /* max-width: 330px; */
        font-size: 20px;
    }
    .header-logo {
        /* width: 50px; */
    }
    .pc-ul {
        font-size: 12px;
    }
    .nav {
        padding: 0 30px;
    }
    .contact-btn{
        padding: 15px 20px;
    }
}
@media screen and (min-width: 1020px) and (max-width: 1140px) {
    .header-logo-box {
        max-width: 300px;
    }
    .nav {
        padding: 0 20px;
    }
}


.header-logo {
    display: flex;
    align-items: center;
}