﻿/*--------リンク・フォント--------*/
@font-face {
    font-family: 'A1gothic';
    font-style: normal;
    font-weight: 400;
    src: url('../Dup/img/A1gothic_r.woff') format('woff'),
        url('../Dup/img/A1gothic_r.eot')  format('eot');
    font-display: swap;
}
@font-face {
    font-family: 'A1gothic';
    font-style: normal;
    font-weight: 700;
    src: url('../Dup/img/A1gothic_bold.woff') format('woff'),
        url('../Dup/img/A1gothic_bold.eot')  format('eot');
    font-display: swap;
}
@font-face {
    font-family: 'hiragino_min';
    font-style: normal;
    font-weight: 400;
    src: url('../Dup/img/hiragino_min_r.woff') format('woff'),
        url('../Dup/img/hiragino_min_r.eot')  format('eot');
    font-display: swap;
}
body{font-family: "A1gothic","游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic",  sans-serif;
    font-size: 16px;
}

.linkStyle{color: #333333; text-decoration: underline;}

/*--------全体--------*/
/*
.back1:before {
    background-attachment: fixed;
    background-size: contain;
    background-image: url(./Dup/img/back.png);
    background-repeat: no-repeat;
    background-position: 0% 0%;
    box-shadow: rgba(251, 246, 236,.8) 0px 8px 24px;
}
.back2:before {
    background-attachment: fixed;
    background-size: contain;
    background-image: url(./Dup/img/back.png);
    background-repeat: no-repeat;
    background-position: 95% 166%;
    box-shadow: rgba(251, 246, 236,.8) 0px 8px 24px;
}
*/
main{
    background-attachment: fixed;
    background-size: contain;
    background-image: url(./Dup/img/back.png);
    background-position: 50% 50%;
}
.back1:before,
.back2:before {
    display: none;
}
#intro_wrap{
    position:relative;
    box-shadow: rgba(181, 181, 181, 0.1) -4px 9px 25px -6px;
}
#intro_wrap::before{
    content: "";
    display: inline-block;
    width: 25em;
    height: 6em;
    background: url(./Dup/img/item_01.png) no-repeat;
    position: absolute;
    right: 0px;
    bottom: 0px;
    background-size: contain;
    opacity: 0.8;
}
@media screen and (min-width: 769px){
#contents1 .con_box,
#contents2 .con_box{
background-color: #fff;
    padding: 20px 5%;
}
}
@media screen and (min-width: 769px) and (max-width: 1450px){
    #intro_wrap { padding-bottom: 11%;}
}
#contents1 .con_title{
    position:relative;
}
#contents1 .con_title::before{
        content: "";
    display: inline-block;
    width: 8em;
    height: 6em;
    background: url(./Dup/img/item_02.png) no-repeat;
    position: absolute;
    left: -50px;
    bottom: 16%;
    transform: translateY(-50%);
    background-size: contain;
}
#contents2{position:relative;}
#contents2:before{
    content: "";
    display: inline-block;
    width: 6.5em;
    height: 10em;
    background: url(./Dup/img/item_03.png) no-repeat;
    position: absolute;
    right: 12%;
    top: -88px;
    background-size: contain;
    z-index: +1;
}
#contents3 .con_box{
    box-shadow: rgba(0, 0, 0, 0.1) -4px 9px 25px -6px;
    background-color: rgba(255, 255, 255, .85);
}
#contents3_wrap:after {
    background-color: rgba(201, 202, 193, .4)!important;
}
#contents3 .con_box::before{
    content: "";
    display: inline-block;
    width: 12em;
    height: 15em;
    background: url(./Dup/img/item_04.png) no-repeat;
    position: absolute;
    background-size: contain;
    right: 0px;
    bottom: 0px;
}
#contents2 .num {
    opacity: 0.85;
    color: #f1a40f;
}
#top_cms.back1:before {
    background-attachment: fixed;
    background-size: 69%;
    background-image: url(./Dup/img/back2.png);
    background-repeat: no-repeat;
    background-position: 8% 50%;
    z-index: -1;
}
#info_contact .con_box a{
    box-shadow: rgba(17, 17, 26, 0.05) 0px 4px 16px, rgba(17, 17, 26, 0.05) 0px 8px 32px;
}

#foot_fix_ban {
        position: fixed !important;
    bottom: 55px;
    right: 72px;
    height: auto;
    width: 17%;
    z-index: 1000;
}
#foot_fix_ban div{
    display: block;
}
#foot_fix_ban div a{
}
.overlay {background: linear-gradient(135deg, rgba(228, 177, 78,.9) , rgba(243, 226, 98, .85) )!important;}
.overlay .opacity07 {opacity: 1;}
.nav_menu_more:first-of-type a .icon:before{content: "\f879";}
#nav_menu .mg_b-50px h2,#nav_menu .mg_b-50px .nav_menu_more:last-of-type{display:none;}
#overlay .left li { max-width: inherit!important;}

/*--------下層--------*/
#cms_1-e .date,.cms_1-e .date{box-shadow: rgba(17, 17, 26, 0.05) 0px 1px 0px, rgba(17, 17, 26, 0.1) 0px 0px 8px;}
#cms_2-d .bnr a{padding: 12px 10px 8px 10px;}
#page8 .tel_box{
    padding: 20px 20px 15px 20px;
    position: relative;
    overflow: hidden;
}

#page8 .tel_box > a:before{
    content:"";
    position: absolute;
    width:100vw;
    height:100vh;
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    left:50%;
    top:50%;
}
@media screen and (max-width: 1200px){
    #page8 .tel_box p{
        display: block;
        padding-right: 0px;
        margin-right: 0px;
        border-right: none;
        
    }
}

/*--------タブレット--------*/
@media screen and (max-width: 768px){
 main{
     background:none;
 }
    main::before{
	background: url(./Dup/img/back.png) no-repeat;
    background-size: 150%;
    background-position: 50% 50%;
    content: "";
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: -1;
}
    #intro_wrap::before {
    width: 14em;
    height: 4em;
    }
    #contents1 .con_title::before {
    width: 5em;
    height: 4em;
    position: absolute;
    left: -32px;
    bottom: 16px;
    }
    #contents2:before {
    width: 6.5em;
    height: 7em;
    right: 57%;
    top: -26px;
    }
    #contents2 .num {
    opacity: 0.5;
    }
    #contents3 .con_box::before {
    width: 8em;
    height: 12em;
    }
    #contents1 .con_box,
    #contents2 .con_box{
background-color: #fff;
    margin-top: 10%;
}
    
    #h1txt{display:none;}
    #footer{    padding-bottom: 70px;}
    #foot_fix_ban {
    right: 52px;
    width: 37%;
    }
}

/*--------スマートフォン--------*/
@media screen and (max-width: 667px){
#intro_wrap {
    padding-bottom: 24%;
}


.back2:before {
    background-position: 100% 53%;
}
#contents1 .con_title::before {
    left: -6px;
}
#contents2:before {
    width: 4.5em;
    height: 7em;
    right: 7%;
    top: -11px;
}
    #contents1 .con_box,
    #contents2 .con_box{
        padding:20px;
        margin-top: 0%;
}
    #contents3 .con_box::before {
    width: 7em;
    height: 10em;
    }
    #footer .tel_bt{text-align: left;}
    #foot_fix_ban {
    right: 30px;
    width: 53%;
}
#footer {
    padding-bottom: 40px;
}

.page_title_box{
    width: 80%;
    background-color: transparent;
}
.pager li a {
    padding: 10px 10px 3px 10px;
}
    #page8 .tel_box a{font-size: 5.3vw;}
    
#footer {
        padding-bottom: 126px;
    }
}


/*--------------------------------------------
IE
--------------------------------------------*/
@media all and (-ms-high-contrast:none){


}

