﻿html, body{
    font-size: 18px;
}
#loader span.bg_color1{
    background-color: #f1fff0;
}
@media screen and (max-width: 768px){
    html, body{
    font-size: 14px;
}
}
.font_com{
    font-family: 'yu mincho', "游明朝", "游ゴシック体", "ヒラギノ明朝 ProN", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}
/*loader*/
#loader {
    z-index: 10;
}
#loader img{
    width: 500px;
    height: 300px;
    padding: 20px;
    object-fit: contain;
    z-index: 11;
}
@media screen and (max-width: 668px){
    #loader img{
        width: 50%;
        height: auto;
    }
}
/*固定ボタン*/
#ctBt{
    top: 30%;
    right: 0;
    width: 40px;
    height: 250px;
    padding: 20px;
    background-color: #6cb1de;
    border-radius: 40px;
    z-index: 9;
    background-image: url('./Dup/img/ctBt.png');
    background-position: center;
    background-repeat: no-repeat;
}
#ctBt a{
    display: block;
    width: 100%;
    height: 100%;
}
@media screen and (max-width: 668px){
    #ctBt {
        padding: 20px 10px;
        width: 25px;
        height: 225px;
    }
}
/*header*/
#logo.width_100{
    width: 200px;
}
/*fv*/
#head_logo {
    width: 100%;
}
#head_logo img.width_60per{
    width: 73.0%!important;
}
#head_logo img.posi_center{
    top: 47%;
    left: 47%;    
}

@media screen and (max-width: 668px){
    #head_logo img.width_60per{
        width: 75%!important;
        top: 50%;
        left: 50%; 
    }
}
/*nav*/
#pc_nav li.width_200{
    width: 275px;
}
#pc_nav_fix ul li.width_150{
    width: 240px;
}
@media screen and (max-width: 1375px) and (min-width: 769px){
    #header{
        height: 160px;
    }
}
/*TOP*/
main{
    background-image: url('./Dup/img/TOPbg.jpg');
}
main.underPage{
    background-image:none;
}
#intro{
    height: 600px;
}
#intro.pd_t-100px{
    padding-top: 160px;
    padding-bottom: 90px;
}
#intro.mg_b-100px{
    margin-bottom: 0;
}
#intro.flex_top-right{
    justify-content: center;
}
#intro .intro_img{
    left: auto;
    right: 0;
    z-index: 2;
}
#intro .intro_title {
    font-weight: 600;
    font-size: 2.0rem;
}
#intro .intro_img.height100per {
    height: 40%;
}
#intro .intro_img.grid_8{
    width: 35%!important;
}
#intro .intro_txt_wrap.grid_5{
    width: 75%!important;
}
@media screen and (max-width: 768px){
    #intro.pd_t-100px{
        padding-top: 50px;
    }
    #intro .intro_title{
        font-size: 1.8rem;
    }
    #intro .intro_img{
        bottom: -175px;
    }
    #intro .intro_txt_wrap.grid_5{
    width: 100%!important;
}
}
@media screen and (max-width: 668px){
    #intro.mg_b-100px{
        margin-bottom: 200px;
    }
    #intro .intro_img{
        bottom: -245px;
    }
    #intro .intro_img.grid_8{
        width: 75%!important;
    }
    #intro .intro_img{
        z-index: 3;
        bottom: -260px;
    }
}
@media screen and (max-width: 395px){
    #intro .intro_img{
        z-index: 3;
        bottom: -300px;
    }
        #intro .intro_img.height100per {
        height: 34%;
    }
}
@media screen and (max-width: 330px){
    #intro .intro_title{
        font-size: 1.2rem;
    }    
    #intro .intro_img.height100per{
        height: 20%;
    }
}

#top_contents .con_box.mg_t-100px{
    margin-top: 0;
}
#top_contents.mg_b-100px{
    margin-bottom: 300px;
}
#top_contents.pd_r-50px,#top_contents.pd_l-50px{
    padding-right: 0;
    padding-left: 0;
}
#top_contents figure.box_img {
    z-index: 3;
}
#top_contents .con_txt_wrap{
    position: relative;
    z-index: 3;
}
#top_contents .contents_no{
    position: relative;
    z-index: 4;
}
#top_contents .conleft .contents_no {
    content: url('./Dup/img/step01.png');
}
#top_contents .conright .contents_no {
    content: url('./Dup/img/step02.png');
}
#top_contents::before{
    right: 0;
    bottom: -90px;
    width: 100%;
    height: 500px;
    background-image: url('./Dup/img/con23BG.jpg');
}
    /*
    background-color: rgba(254,254,254,0.0);
    border-top: 252px solid transparent;
    border-bottom: 252px solid transparent;
    border-left: 50px solid #F2F2F2;
    z-index: 2;  */

/*#top_contents .conleft::before{
    content: "";
    display: block;
    width: 115%;
    height: 500px;
    position: absolute;
    left: -100px;
    bottom: -70px;
    background-color: #f2f2f2;
    z-index: 2;
}  
#top_contents .conright::before{
    content: "";
    display: block;
    width: 135%;
    height: 500px;
    position: absolute;
    right: -78px;
    bottom: -76px;
    background-image: url('./Dup/img/TOP08.jpg');  linear-gradient(to right, #D3AC2F,#fefefe, #D3AC2F) 
    z-index: 1;
} */
#top_contents .con_title{
    position: absolute;
    font-size: 2.6rem;
}
@media screen and (max-width: 768px){
    #top_contents.pd_b-100px{
        padding-bottom: 70px;
    }
    #top_contents::before{
        display: none;
    }
    #top_contents .conright::before{
        width: 100%;
        right: 0;
        bottom: -115px;
    }
    #top_contents .conleft::before{
        display:none;
    }
    #top_contents .conleft.pd_t-20px{
        padding-top: 80px;
    }
    #top_contents .grid_5{
        width: 100%!important;
    }
    #top_contents .con_box.mg_t-100px {
        margin-top: 100px;
    }
    #top_contents .conleft .con_title{
        left: 40px;
    }
     #top_contents .conright .con_title{
        right: 40px;
        bottom: -120px;
    }
    #top_contents.mg_b-100px {
        margin-bottom: 0;
    }
}
@media screen and (max-width: 668px){
    #top_contents .con_title{
        font-size: 1.2rem;
    }
    #top_contents .conright::before{
        height: 560px;
    }
    #top_contents .con_box .contents_no {
        top: 0;
        left: 0;
        z-index: 2;
    }
    #top_contents .conleft .con_title {
        left: 20px;
    }
    #top_contents .conright .con_title {
        right: 60px;
        bottom: -55px;
    }
}
@media screen and (max-width: 376px){
    #top_cms .cms_title .font_14up{
        font-size: calc(1.0rem + 8px);
    }
}
/*top-cms*/
.topcms_wrapper{
    background-color: #F2F2F2;
}
.topcms_wrapper{
    padding-bottom: 10px;
}
@media screen and (max-width: 768px){
    #top_cms{
        padding-top: 170px;
    }
}
/*下層一般*/
main.underPage #page_title h2.font_12up_sp{ 
    font-size: calc(1rem + 2px);
}
/*カウンセリングのスタイル*/
.page4titleh2.font_12up_sp {
    font-size: calc(1rem + 4px);
}
/*お問い合わせ*/
    #page8 .tel_box.mg_b-50px{
        margin-bottom: 0;
    }
    #ct_line a{
        display: block;
        max-width: 300px;
    }
    p.line_title{
        font-size: 28px;
        font-family: 'yu mincho', "游明朝", "游ゴシック体", "ヒラギノ明朝 ProN", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
        padding-bottom: 20px;
    }
    span.padding-t20{
        padding-top: 20px;
    }
    span.space-w20{
        width: 20px;
    }
@media screen and (max-width: 668px){
    #page8 .tel_box a{
        font-size: 14px;
        padding: 20px 0;
    }
        #ct_line a{
        max-width: 80%;
    }
    p.line_title{
        font-size: 20px;
    }
}
@media screen and (max-width: 375px){
    #page8 .tel_box a{
        max-width: 200px;
    }
}
/*footer*/
.footer_img {
    background-position: 0 657px;
}
#logo2 img.width_150{
    width: 200px;
}
@media screen and (max-width: 768px){
     .footer_img {
         background-position: 0 0;
     }
}