/*************サブページ共通のCSS*************/
p a{
    color: inherit;
    text-decoration: underline;
}

.myContentItem {
    position: relative;
    overflow: hidden;
}

.myContentItemBack {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#fasting .myContentItemBack {
    background: url("/img/service/fastingMv_sp.jpeg") center center no-repeat;
    background-size: cover;
}

#sauna_bag .myContentItemBack {
    background: url("/img/service/saunaMv_sp.jpeg") center center no-repeat;
    background-size: cover;
}

#beauty .myContentItemBack {
    background: url("/img/service/beautyMv.jpeg") center center no-repeat;
    background-size: cover;
}

#accompanying .myContentItemBack {
    background: url("/img/sample/b2412e7133bc5a2367e93aab24777d3a_m.jpeg") center center no-repeat;
    background-size: cover;
}

#innerBeauty .myContentItemBack {
    background: url("/img/service/innerBeauty.jpeg") center center no-repeat;
    background-size: cover;
}

#online .myContentItemBack {
    background: url("/img/service/onlineMv.jpeg") 80% center no-repeat;
    background-size: cover;
}

#hairRemoval .myContentItemBack {
    background: url("/img/service/hairRemoval_sp.jpg") bottom center no-repeat;
    background-size: cover;
}


.myContentItemBack img {
    width: auto;
    height: 100%;
}

#mv,#effect {
    min-height: 100vh;
}

#mv .myContentText {
    position: absolute;
    padding-top: 50%;
    text-align: center;
    /*background: radial-gradient(rgba(255,255,255,0.75), rgba(255,255,255,0));*/
    height: 100%;
    color: #fff;
    text-shadow: 0 0 2px rgba(0,0,0,0.9);
}


#beauty #mv .myContentText {
    text-shadow: 0 0 2px rgba(30,30,30,0.9);
}

#beauty #mv .myContentText p.second.c {
    text-shadow: 0 0 2px rgba(60,60,60,0.9);
}

#mv p {
    margin: 0 0 10px;
}

#mv h1 {
    font-size: 3rem;
    margin: 10px 0 20px;
}

#mv p.second {
    font-size: 1.6rem;
}

#mv p.third {
    width: 80%;
    margin: 0 auto;
}

#effect.myContentItem .inner {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    background: radial-gradient(rgba(255,255,255,0.5), rgba(255,255,255,0));
    position: absolute;
    top: 0;
    left: 0;
}

.myContentItem h2 {
    font-size: 3rem;
    margin: 0 0 20px;
    padding: 0 0 5px;
    border-bottom: 1px solid #7DC9C6;
    margin-bottom: 40px;
    display: inline-block;
}

#effect .bold {
    margin: 0 0 10px;
}

#effect p {
    margin: 0 0 20px;
}

.myContentItem .inner {
    display: flex;
    flex-wrap: wrap;
}

.myContentItem.point {
    height: auto;
    padding: 50px 0;
    background: rgba(125,201,198,0.07);
    /*background: rgba(201,199,125,0.07);*/
}

.myContentItem.point:nth-of-type(2n) {
    background: #fff;
}

.myPointView {
    margin: 0 0 20px;
}

.myContentItem.flow,
.myContentItem.price {
    padding: 50px 0 0;
}

.myFlowItem {
    margin: 0 0 40px;
    border: 1px solid #eee;
    border-radius: 5px;
    overflow: hidden;
    width: 100%;
}

.myFlowItem:hover {
    border:1px solid #7DC9C6;
}

.myFlowView {
    overflow: hidden;
    width: 100%;
    padding-top: 55%;
}

.myFlowNum {
    padding: 20px 20px;
    font-size: 2rem;
    border-bottom: 1px solid #eee;
    position: relative;
}

.myFlowNum p {
    padding: 0px 0 0 35px;
}

.myFlowNum span {
    position: absolute;
    font-size: 8rem;
    line-height: 0;
    left: 20px;
}

.myFlowItem:nth-of-type(1) .myFlowNum span.en {
    top: 2.7rem;
}

.myFlowItem:nth-of-type(2) .myFlowNum span.en {
    top: 2.7rem;
}

.myFlowItem:nth-of-type(3) .myFlowNum span.en {
    top: 2.2rem;
    font-size: 7rem;
}

.myFlowItem:nth-of-type(4) .myFlowNum span.en {
    top: 3.5rem;
    font-size: 7rem;
    left: 15px;
}

.myFlowItem:nth-of-type(5) .myFlowNum span.en {
    top: 2.5rem;
    font-size: 7rem;
}

.myFlowText {
    padding: 20px 10px;
}

.myVoiceItem {
    margin: 0 0 40px;
    border: 1px solid #eee;
    border-radius: 5px;
    overflow: hidden;
}

.myVoiceItem:hover {
    border:1px solid #7DC9C6;
}

.myVoiceItem:last-of-type {
    margin: 0;
}

.myVoiceName {
    padding: 20px 10px;
    border-bottom: 1px solid #eee;
}

.myVoiceContent {
    padding: 20px 10px;
}

.myVoiceContainer {
    margin: 0 0 20px;
}

.myVoiceItem i {
    font-size: 3rem;
    margin: 0 10px 0 0;
}

.sub .myContentText {
    width: 100%;
}

.sub .myContentText {
    padding: 140px 0 0;
}

.sub .myContentText h1 {
    font-size: 3rem;
    margin: 0 0 40px;
}

.sub .myContentText h1:after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    margin: 10px 0 0;
    background: #7DC9C6;
}

.myPostContent {
    border-bottom: 1px solid #7DC9C6;
    padding-bottom: 50px;
}

.myContentItem.sub h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.sub .myContentText p {
    margin: 0 0 40px;
}

.sub .myContentText p:last-of-type {
    margin: 0;
}

.sub .myContentText p.date {
    margin: 0 0 40px !important;
    display: block;
}

.myPostContent img {
    max-width: 100% !important;
    height: auto !important;
}

.abouLogo {
    margin: 0 0 40px;
}

table {
    margin: 40px 0 1rem;
}

table, tr{
    width: 100%;
}

th,td {
    border: 1px solid #7DC9C6;
    text-align: center;
    display: block;
    padding: 1rem 2rem;
}

th {
    background: #7DC9C6;
    color: #fff;
}

th:first-of-type {
    border-bottom: 1px solid #fff;
}

tr td:first-of-type {
    font-weight: bold;
}

#hairRemoval #mv .myContentText {
    color: #555;
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.5);
}

@media screen and (min-width: 768px) {
    #fasting .myContentItemBack {
        background: url("/img/service/fastingMv2.jpeg") center center no-repeat;
        background-size: cover;
    }

    #sauna_bag .myContentItemBack {
        background: url("/img/service/saunaMv2.jpeg") center center no-repeat;
        background-size: cover;
    }

    #beauty .myContentItemBack {
        background: url("/img/service/beautyMv.jpg") center center no-repeat;
        background-size: cover;
    }

    #online .myContentItemBack {
        background: url("/img/service/onlineMv.jpeg") center center no-repeat;
        background-size: cover;
    }

    .myContentItemBack img {
        width: 100%;
        height: auto;
    }

    #mv .myContentText {
        position: absolute;
        top: 0;
        text-align: center;
        width: 100%;
        height: 100%;
        padding: 15% 0 0;
    }

    #mv p {
        margin: 0 0 20px;
    }

    p.first {
        font-size: 2rem;
    }

    #mv h1 {
        font-size: 6rem;
        margin: 20px 0 40px;
    }

    #mv p.second {
        font-size: 2.5rem;
    }

    #mv p.third {
        width: 50rem;
    }

    #effect.myContentItem .inner {
        justify-content: flex-end;
        position: absolute;
    }

    #effect .myContentText {
        width: 50%;
    }

    .myContentItem h2 {
        padding: 0 0 20px;
        font-size: 4rem;
        border-bottom: 1px solid #7DC9C6;
        margin-bottom: 40px;
        display: inline-block;
    }

    .myPointView {
        width: 60%;
        margin: 0;
    }

    .myPointText {
        width: 35%;
    }

    #hairRemoval .myContentItemBack {
        background: url("/img/service/hairRemoval.jpg") center center no-repeat;
        background-size: cover;
    }

    .myContentItem .inner {
        justify-content: space-between;
        align-items: center;
    }

    .myContentItem.left .inner {
        flex-direction: row-reverse;
    }

    .myContentItem.point {
        padding: 0;
        height: 100vh;
    }

    .myPointView {
        height: 100vh;
    }

    .myPointText {
        padding: 80px 0 0;
        transform: translateY(-100px);
    }

    .myPointView {
        position: relative;
        overflow: hidden;
    }

    .myPointView img {
        height: 100%;
        width: auto;
        transform: translate(-50%,-50%);
        position: absolute;
        top: 50%;
        left: 50%;
    }

    .myContentItem.flow,.myContentItem.voice,
    .myContentItem.price {
        padding: 100px 0 0;
    }

    .flow .inner,
    .voice .inner{
        display: inherit;
    }

    .myContentItem.flow h2 {
        text-align: center;
        width: auto;
        margin: 0 auto;
        margin-bottom: 40px;
    }

    .flow .inner {
        padding: 0 20%;
    }

    #innerBeauty .flow .inner,
    #online .flow .inner {
        padding: 0 7%;
    }

    .myFlowNum {
        padding: 20px 30px;
    }

    .myFlowNum span.en {
        font-size: 7rem;
        line-height: 0;
        left: 30px;
    }

    .myFlowView {
        width: 100%;
        overflow: hidden;
        padding-top: 170px;
    }

    .myFlowNum p {
        padding-left: 7rem;
    }

    .myFlowItem:nth-of-type(1) .myFlowNum span.en {
        top: 2.7rem;
    }

    .myFlowItem:nth-of-type(2) .myFlowNum span.en {
        top: 2.7rem;
    }

    .myFlowItem:nth-of-type(3) .myFlowNum span.en {
        top: 2.7rem;
    }

    .myFlowItem:nth-of-type(4) .myFlowNum span.en {
        top: 3.5rem;
        left: 30px;
    }

    .myFlowItem:nth-of-type(5) .myFlowNum span.en {
        top: 2.5rem;
    }

    .myFlowContent {
        display: flex;
    }

    .myFlowView {
        width: 250px;
    }

    .myFlowText {
        width: calc(100% - 300px);
    }

    .myVoiceContainer {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .myVoiceItem {
        width: 48%;
        margin: 0 0 40px;
        min-height: 250px;
    }

    .myVoiceName {
        padding: 20px 30px;
    }

    .myVoiceContent {
        padding: 20px 30px;
    }


    .sub .myContentText {
        padding: 200px 0 0;
        max-width: 1000px;
        margin: 0 auto;
    }

    .sub .myContentText h1 {
        font-size: 4rem;
        margin: 0 0 50px;
    }

    .myContentItem.sub h2 {
        font-size: 3rem;
        margin-bottom: 30px;
        padding: 0 0 10px;
    }

    .sub .myContentText p {
        margin: 0 0 50px;
    }

    .sub .myContentText p:last-of-type {
        margin: 0;
    }

    .abouLogo {
        margin: 0 0 40px;
        max-width: 400px;
    }

    /*#sauna_bag .myContentItem.point:nth-of-type(2n) .myPointView img {*/
        /*transform: translate(0,-50%);*/
        /*position: absolute;*/
        /*top: 50%;*/
        /*left: 0%;*/
    /*}*/

    th,td {
        text-align: center;
        display: table-cell;
        padding: 2rem 4rem;
    }

    th:first-of-type {
        border-bottom: 1px solid #7DC9C6;
        border-right: 1px solid #fff;
    }

    #hairRemoval #mv .myContentText {
        text-shadow: none;
        color: #555;
    }

}

@media screen and (min-width: 768px) and (max-width: 800px) {
    #mv {
        height: 570px !important;
    }

    .flow .inner {
        padding: 0 10%;
    }
}

@media screen and (min-width: 768px) and (orientation: portrait) {
    #mv,#effect {
        min-height: unset;
    }
}
