/* TABLE OF CONTENTS:
*
* 00 どのサイズでも共通で適用されるスタイル
*    - イントロ
*    - 特徴
*    - 新着情報
*    - 施術内容
* 01 幅 768 未満
*    - 新着情報
* 02 幅 480px 以上
* 03 幅 768px 以上
*    - ビルボード
*    - イントロ
*    - 新着情報
* 04 幅 880px 以上
* 05 幅 1072px 以上
*    - イントロ
* 06 幅 1264px 以上
*/

/* --------------------------------------------------------------------------------------------------------
00
*
* どのサイズでも共通で適用されるスタイル
*/

/*ビルボード*/
.site-main #mainImg {
    background-color: #ededed;
    background-repeat: no-repeat;
    position: relative;
    z-index: 1;
}

/* 新着情報 */
.outer.news {
    background: #fff;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    padding: 0;
}
#news {
    margin-top: 0;
}
#news dl {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 0 auto;
}
#news dl dt {
    background: #016fc5;
    font-weight: normal;
    padding: 0.5em 1em 0.5em 2em;
    color: #fff;
    width: 50%;
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1;
}
#news dl dd {
    border-top: 1px #FFF solid;
    padding: 0 0.8em;
    margin: 0;
    width: 100%;
    -webkit-box-ordinal-group: 4;
    -ms-flex-order: 3;
    order: 3;
}
#news dl dd span {
    border-radius: 5px;
    padding: 0.1em 0;
    color: #016fc5;
}
#news dl dd a {
    display: block;
}
#news dl dd.more {
    font-size: 0.8em;
    text-align: right;
    width: 50%;
}
#news dl dd.more a {
    padding: 0.1em 2em 0.1em 0.8em;
}
#news dl dd:not(.more) {
    margin: 0 0.5em 0.5em;
    max-width: 715px;
}

/* イントロ */
.outer.intro-bg {
    background-image: url(../img/top/intro.jpg);
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: contain;
    background-color: #fff;
    padding-bottom: 130px !important;
}
.intro h1 + div {
    margin-top: 2em !important;
}
.intro div {
    max-width: 48em;
    margin-left: auto !important;
    margin-right: auto !important;
}
.intro div p:last-of-type {
    margin-top: 2em !important;
    text-shadow: 1px 1px 2px #fff, -1px 1px 2px #fff, 1px -1px 2px #fff, -1px -1px 2px #fff;
}

/* ご利用シーン */
.scene-list {
    padding: 0;
    width: 100%;
    list-style: none;
}
.scene-list a {
    background-color: #fff;
    border-radius: 6px;
    padding: 0;
    margin-bottom: 0.5em;
    display: flex;
    justify-content: space-between;
    overflow: hidden;
    height: 100%;
    position: relative;
}
.scene-list a:hover:after {
    content: "";
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to right, rgba(210, 245, 255, 0.6), rgba(251, 251, 251, 0.2));
    background-size: 100% 100%;
    position: absolute;
    left: 0;
    top: 0;
}
.scene-list a[href*="scene1"]:before,
.scene-list a[href*="scene2"]:before,
.scene-list a[href*="scene3"]:before,
.scene-list a[href*="scene4"]:before,
.scene-list a[href*="scene5"]:before,
.scene-list a[href*="scene6"]:before {
    content: "";
    border-radius: 5px 0 0 5px;
    height: 100%;
    background-position: left top;
    background-size: auto 101%;
    background-repeat: no-repeat;
}
.scene-list a[href*="scene1"]:before {
    background-image: url(../img/contents/scene1-image.jpg);
}
.scene-list a[href*="scene2"]:before {
    background-image: url(../img/contents/scene2-image.jpg);
}
.scene-list a[href*="scene3"]:before {
    background-image: url(../img/contents/scene3-image.jpg);
}
.scene-list a[href*="scene4"]:before {
    background-image: url(../img/contents/scene4-image.jpg);
}
.scene-list a[href*="scene5"]:before {
    background-image: url(../img/contents/scene5-image.jpg);
}
.scene-list a[href*="scene6"]:before {
    background-image: url(../img/contents/scene6-image.jpg);
}
.scene-list a div {
    padding: 0.5em 1em 0.5em 0.5em;
    width: 65%;
}
#content .scene-list .more {
    text-align: right;
    font-size: 0.9rem;
}
.scene-list p:first-child {
    font-size: 1.1em;
    line-height: 1.5;
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-direction: column;
    font-weight: bold;
    color: initial;
    margin-top: 0;
}
.scene-list a[href*="scene1"] p:first-child:before,
.scene-list a[href*="scene2"] p:first-child:before,
.scene-list a[href*="scene3"] p:first-child:before,
.scene-list a[href*="scene4"] p:first-child:before,
.scene-list a[href*="scene5"] p:first-child:before,
.scene-list a[href*="scene6"] p:first-child:before {
    content: "";
    width: 100%;
    height: 28px;
    margin-bottom: 0.5em;
}
.scene-list a[href*="scene1"] p:first-child:before {
    background:url(../img/contents/scene1.jpg) no-repeat left top;
    background-size: contain;
}
.scene-list a[href*="scene2"] p:first-child:before {
    background:url(../img/contents/scene2.jpg) no-repeat left top;
    background-size: contain;
}
.scene-list a[href*="scene3"] p:first-child:before {
    background:url(../img/contents/scene3.jpg) no-repeat left top;
    background-size: contain;
}
.scene-list a[href*="scene4"] p:first-child:before {
    background:url(../img/contents/scene4.jpg) no-repeat left top;
    background-size: contain;
}
.scene-list a[href*="scene5"] p:first-child:before {
    background:url(../img/contents/scene5.jpg) no-repeat left top;
    background-size: contain;
}
.scene-list a[href*="scene6"] p:first-child:before {
    background:url(../img/contents/scene6.jpg) no-repeat left top;
    background-size: contain;
}
#content .scene .more {
    margin-top: 3em;
}

/* --------------------------------------------------------------------------------------------------------
01
*
* 幅 768px 未満
*/
@media screen and (max-width: 767px) {

    /*ビルボード*/
    .site-main #mainImg {
        background-image: url(../img/top/bil-image-l.jpg);
        background-position: center;
        background-position: right -30px bottom;
        background-size: auto 70%;
        padding: 25px 0;
    }
    .site-main #mainImg img {
        max-width: 90%;
    }
    /* 新着情報 */
    #news dl dt {
        font-size: 12px;
        font-size: 0.750rem;
    }
    #news dl dd.more {
        -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
        order: 2;
        background-color: #016fc5;
        padding: 0.27em 1.5em;
        border: none;
    }

    /* ご利用シーン */
    .scene-list {
        margin-top: -1.3em !important;
    }
    .scene-list a[href*="scene1"] p:first-child:before,
    .scene-list a[href*="scene2"] p:first-child:before,
    .scene-list a[href*="scene3"] p:first-child:before,
    .scene-list a[href*="scene4"] p:first-child:before,
    .scene-list a[href*="scene5"] p:first-child:before,
    .scene-list a[href*="scene6"] p:first-child:before {
        height: 1.3em;
    }
    .scene-list p:first-child {
        font-size: 1em;
    }
    .scene-list a[href*="scene1"]:before,
    .scene-list a[href*="scene2"]:before,
    .scene-list a[href*="scene3"]:before,
    .scene-list a[href*="scene4"]:before,
    .scene-list a[href*="scene5"]:before,
    .scene-list a[href*="scene6"]:before {
        width: 30%;
    }
    #content .scene .more {
        margin-top: 1em;
    }
    
    #content .scene .scene-list + .more {
        margin-top: 2em;
    }
}/* End max 767px */



/* --------------------------------------------------------------------------------------------------------
02
*
* 幅 480px 以上
*/
@media screen and (min-width: 30em) {

    .scene-list p:first-child {
        min-height: 5em;
    }
    /*続きを読む*/
    .over-len:after {
        background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,0.99) 50%,rgba(238,248,250,1) 100%);
        background: linear-gradient(to bottom, rgba(255,255,255,0) 0%,rgba(255,255,255,0.99) 50%,rgba(238,248,250,1) 100%);
    }

}/* End min 480px */



/* --------------------------------------------------------------------------------------------------------
03
*
* 幅 768px 以上
*/
@media screen and (min-width: 48em) {

    /*ビルボード*/
    .site-main #mainImg {
        background-image: url(../img/top/bil-image-r.jpg);
        background-position: right bottom;
        background-size: auto 65%;
        padding: 50px 0;
    }
    .site-main #mainImg:before {
        content: "";
        background: -webkit-linear-gradient(top, rgba(237, 237, 237, 1) 0%, rgba(237, 237, 237, 1) 20%, rgba(237, 237, 237, 0.1) 80%, rgba(237, 237, 237, 0.1) 100%);
        background: linear-gradient(to bottom, rgba(237, 237, 237, 1) 0%, rgba(237, 237, 237, 1) 20%, rgba(237, 237, 237, 0.1) 80%, rgba(237, 237, 237, 0.1) 100%);
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: -1;
    }
    /* 新着情報 */
    .outer.news {
        padding: 0 4vw !important;
    }
    #news dl {
        -ms-flex-wrap: initial;
        flex-wrap: initial;
        max-width: 1000px;
    }
    #news dl dt {
        font-size: 16px;
        font-size: 1rem;
        width: auto;
        -webkit-box-ordinal-group: initial;
        -ms-flex-order: initial;
        order: initial;
    }
    #news dl dd {
        border-top: none;
        -webkit-box-flex: 1;
        -ms-flex-positive: 1;
        flex-grow: 1;
        font-size: 16px;
        font-size: 1rem;
        width: auto;
        -webkit-box-ordinal-group: initial;
        -ms-flex-order: initial;
        order: initial;
    }
    #news dl dd a {
        display: inline-block;
        margin-left: 1em;
    }
    #news dl dd.more {
        border-top: none;
        padding: 0;
        -webkit-box-flex: 0;
        -ms-flex-positive: 0;
        flex-grow: 0;
        width: auto;
    }
    #news dl dd.more a {
        padding: 0.1em 2em 0.1em 1em;
    }
    #news dl dd:not(.more) {
        background: none;
        border-top: none;
        margin: initial;
    }

    /* ご利用シーン */
    .scene-list p:first-child {
        font-size: 1em;
    }
    .scene-list a div {
        padding: 0.5em 1em;
    }
    .scene-list a[href*="scene1"]:before,
    .scene-list a[href*="scene2"]:before,
    .scene-list a[href*="scene3"]:before,
    .scene-list a[href*="scene4"]:before,
    .scene-list a[href*="scene5"]:before,
    .scene-list a[href*="scene6"]:before {
        width: 35%;
    }
    .scene-list {
        margin-top: -2em !important;
    }


}/* End min 768px */



/* --------------------------------------------------------------------------------------------------------
04
*
* 幅 880px 以上
*/
@media screen and (min-width: 55em) {

    /* ご利用シーン */
    .scene-list p:first-child {
        font-size: 1.1em;
    }
}/* End min 880px */



/* --------------------------------------------------------------------------------------------------------
05
*
* 幅 1072px 以上
*/
@media screen and (min-width: 67em) {

    /*ビルボード*/
    .site-main #mainImg {
        background-image: url(../img/top/bil-image-l.jpg), url(../img/top/bil-image-r.jpg);
        background-position: left -70px bottom, right -200px bottom;
        background-size: auto;
    }
    .site-main #mainImg:before {
        display: none;
    }
    
    /* イントロ */
    .intro h1 br {
        display: none;
    }

}/* End min 1072px */



/* --------------------------------------------------------------------------------------------------------
06
*
* 幅 1264px 以上
*/
@media screen and (min-width: 79em) {

    /* ビルボード */
    .site-main #mainImg {
        background-position: left bottom, right bottom;
    }

}/* End min 1264px */


/* --------------------------------------------------------------------------------------------------------
06
*
* 幅 1500px 以上
*/
@media screen and (min-width: 1500px) {

    /* ビルボード */
    .site-main #mainImg {
        background-position: left calc((100vw - 1500px)/2) bottom, right bottom;
    }

}/* End min 1500px */
