html{
    font-size: 62.5%;
}

body{
    font-size: 1.6rem;
    font-family: 'Noto Sans JP',"游ゴシック", "Yu Gothic","游ゴシック体",YuGothic,"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo,"MS PGothic", sans-serif;
    color: #333;
    line-height: 1.8;
    letter-spacing: 1.4px;
    margin: 0;
    padding: 0;
    -webkit-appearance: none;
    -webkit-text-size-adjust: 100%;
}

h1,h2,h3,h4,h5,p{
    padding: 0;
    margin: 0;
}

img{
    max-width: 100%;
    box-sizing: border-box;
    height: auto;
}

a{
    text-decoration: none;
    margin: 0;
    padding: 0;
    color: #000;
    transition: all .3s;
}

a:hover{
    opacity: 0.6;
}

p{
    margin: 0;
    padding: 0;
    text-align: justify;
}

p a{
    text-decoration: underline;
    font-weight: 500;
}

ul,li,tr,th,td,dl,dt,dd{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
}

.mobile{
    display: block;
}

.pc{
    display: none;
}

.kosugi{
    font-family: 'Kosugi Maru', sans-serif;
}

/*----------*/
/* header
/*----------*/
header{
    padding: 60px 16px;
    text-align: center;
}

header h1{
    max-width: 360px;
    margin: 0 auto;
    width: 80%;
}

header p{
    text-align: center;
    padding-top: 12px;
}


/*----------*/
/* index
/*----------*/
.index-wrapper{
    max-width: 1180px;
    width: 90%;
    margin: 40px auto 100px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.index-wrapper_content{
    width: 46%;
    position: relative;
}

.index-gyne:before{
    background: url(img/f_topimage-circle.png) no-repeat;
    animation: circle 3s infinite;
}

.index-internal:before{
    background: url(img/n_topimage-circle.png) no-repeat;
    animation: circle 3.6s infinite;
}

.index-wrapper_content:before{
    content: "";
    position: absolute;
    background-size: 100%;
    width: 320px;
    height: 320px;
    right: -54px;
    bottom: -30px;
    z-index: -1;
}

@keyframes circle {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-12px);
    }
  }

.index-wrapper_content h2{
    font-size: 3rem;
    margin-bottom: 8px;
    margin-top: 14px;
    font-weight: 400;
}

.index-wrapper_content img{
    border-radius: 14px;
}

.index-wrapper_content span{
    position: relative;
}

.index-gyne span::after{
    background: url(img/f_ya.png) no-repeat;
}

.index-internal span::after{
    background: url(img/n_ya.png) no-repeat;
}

.index-wrapper_content span::after{
    position: absolute;
    content: "";
    background-size: 100%;
    width: 23px;
    height: 23px;
    right: -50px;
    top: 13px;
}

/*----------*/
/* footer
/*----------*/

footer{
    padding: 30px 0 10px;
    width: 90%;
    max-width: 1180px;
    margin: 0 auto;
    text-align: right;
}

small span{
    font-weight: 500;
}

@media screen and (max-width:1040px){
    body{
        font-size: 1.6rem;
    }

    header h1{
        font-size: 1.6rem;
    }

    .mobile{
        display: none;
    }

    .pc{
        display: block;
    }

    /*----------*/
    /* index
    /*----------*/

    /*----------*/
    /* footer
    /*----------*/
    footer{
        padding: 30px 0;
    }

    small span{
        font-weight: 500;
    }
}

@media screen and (max-width:640px){
    header{
        padding: 20px 16px;
    }

    /*----------*/
    /* index
    /*----------*/
    .index-wrapper{
        display: block;
    }

    .index-wrapper_content{
        width: 100%;
        margin-bottom: 60px;
    }

    .index-wrapper_content:before {
        width: 300px;
        height: 300px;
        right: -12px;
        bottom: -30px;
    }

    .index-wrapper_content h2{
        font-size: 2.4rem;
    }

    .index-wrapper_content span::after {
        right: -40px;
        top: 7px;
    }


}