﻿
/* --------------------------------------------
 メインイメージ 
---------------------------------------------*/
#main_img:before{background-color: rgba(255,255,255,0.3);}
#main_img .menu{top: 47%;}
#main_img .menu p{max-width: 240px;margin-bottom: 30px;}
#main_img .catch {
    width: 31%;
    max-width: 500px;
    margin: 10px auto 30px;
}
@media screen and (max-width: 1280px){
    .menu p{display: none;}
}
/* タブレット */
@media screen and (max-width: 768px){
    #main_img .menu{top: 50%;}
}
/* スマホ */
@media screen and (max-width: 667px){
    #main_img .catch {width: 60%;}
}

/* --------------------------------------------
 CMS・下層ページ 
--------------------------------------------*/
#page_title:before{background-color: rgba(255,255,255,0.5);}
.nav_menu_more .bg_color1{background-color: #75C6C3;}
.overlay{background: linear-gradient(135deg, #f5e096 , #cdc092 );}
#overlay .left li:before{opacity: 0.7;}

#contents3 .con_box_item,.cms .con_box{
    box-shadow: rgba(0, 0, 0,0.15) 0px 5px 15px 0px;
    border-radius: 5px;
}
.pager li a:hover{background-color: rgba(211,185,94,1)!important;}
#cms_2-g .cate_title_wrap::before{
    width: 2px;
    background-color: #d3b95e;
    opacity: 0.3;
}
.cms_3-c .cate_box{
    box-shadow: rgb(0 0 0 / 15%) 0px 5px 15px 0px;
    border-radius: 5px;
}
.cms_3-c .box_img1{border-radius: 0 0 0 5px;}
.cms_5-d .box_title1, #cms_5-d .box_title1{
    background-color: #fff;
}
#cms_3-c .box_title2, .cms_3-c .box_title2{color: #838383;}
.num, #cms_5-d .circle:before, .cms_5-d .circle:before{color: #D3B95E;}
#cms_5-d .circle:after, .cms_5-d .circle:after{background-color: #D3B95E;}
#page10 .more_btn{color: #D3B95E;width: 240px;}
/* タブレット */
@media screen and (max-width: 768px){
    #overlay .left li:before{font-size: 24px; left: -50px; top: 0px;}
    #page_title .page_title_box{min-width: 340px;}
    .cms_3-c .box_img1{border-radius: 0; margin: 20px 0 30px;}
    #cms_3-c .box_title1{border: none;}
    #page10 .more_btn{color: #D3B95E;width: 240px;}
}
/* スマートフォン */
@media screen and (max-width: 667px){
    #overlay .left li:before{font-size: 16px; left: -30px; top: 3px;}
    .overlay.open .overlay-menu{padding: 0 50px;}
    #page_title .page_title_box{
        min-width: 270px;
        padding: 20px 20px 22px;
    }
    
    .cms_3-c .box_title2{border-bottom: none;}
    .cms_3-c .box_img1{margin: 20px 0 10px;}
    .cms_3-c .box_txt1{padding: 20px;}
    #cms_3-c .cate_title{letter-spacing: 0.03em; text-align: left;}
    #cms_3-c .box_title2, .cms_3-c .box_title2{max-width: 280px; margin: 0 auto;}
    #page9 h3{letter-spacing: 0.03em;}
    #page9 .box_wrap p{letter-spacing: 0.07em;}
}

/* topcms_news_type4 --------------------------------*/
.topcms_news_type4 .cate_box {transition: all 0.3s;}
.topcms_news_type4 .cate_box:hover{
    /*transform: translate(0px, -10px);*/
    /*box-shadow: 0 10px 10px #ccc;*/
    /*border: 1px solid #fff;*/
}
.topcms_news_type4 .cate_box{
    position: relative;
	width: 30.33333%!important;
	margin-right: 1.5%;
	margin-left: 1.5%;
	border-radius: 5px;
	background-color: #fff;
	padding: 0;
	box-sizing:border-box;
	/*border: 1px solid #ccc;*/
	box-shadow: rgb(0 0 0 / 15%) 0px 5px 15px 0px;
}
.topcms_news_type4 .cate_box .box_img1{
    border-radius: 5px 5px 0 0;

}
.topcms_news_type4 .txt_height{
	height: 3em
}
.topcms_news_type4 .box_title1:empty{
	display: block!important;
}
/* タブレット */
@media screen and (max-width: 768px){
}
/* スマートフォン */
@media screen and (max-width: 667px){
.topcms_news_type4 .cate_box {
    width: 100%!important;
    margin-bottom: 15px;
}
}
/* ▲ topcms_news_type4 ▲--------------------------------*/

/*---------------------------------------------
 テンプレート 
--------------------------------------------*/
.button_container span:nth-of-type(1){left: 26px;}
#intro{margin-bottom: 150px;}
#intro_wrap{
    max-width: 1280px;
    padding: 10% 15% calc(100px + 7%);
    background-image: url(./Dup/img/bg.jpg);
    background-size: cover;
    background-position: center center;
}

#intro_wrap .intro_txt{
    max-width: 820px;
    margin: 0 auto;
}

#intro .num{top: 5%;opacity: 0.2;}

#osusume{padding: 0 0% 3% 10%;}
#osusume_wrap{padding: 3% 10% 0;}
#osusume .num{
    font-size: 70px;
    z-index: 1;
    top: -75px;
    left: 17%;
    opacity: 1;
}
#osusume .con_img{margin-top: -230px;}
#osusume .osusume_txt{
    border-bottom: solid 1px #ccc;
    padding-top: 13px;
}
#osusume .osusume_txt i{
    font-size: 18px;
    margin-right: 5px;
    width: 25px;
}
#osusume .osusume_txt span{
    width: calc(100% - 30px);
}


#contents1_wrap{padding: 0 17% 7%;}
#contents1 .num{
    left: 54%;
    top: -30px;
    opacity: 1;
}
#contents1 .con_box{
    margin-top: 10%;
    padding-left: 10%;
}
#contents1 .contents1_wrap{padding: 0 10% 7%;}

#contents2_wrap{padding: 0 17% 7%; }
#contents2 .num{
    left: calc(17% + 35px);
    opacity: 1;
}
#contents2 .con_box_item{
    padding-top: 13%;
    padding-right: 5%;
}

#contents3 .con_box_item{
    z-index: 2;
    padding: 5% 10%;
}

#info_contact .con_img:before{background-color: rgba(159,197,195,0.5);}
#info_contact .con_title{text-shadow: 0px 0px 15px #306462;}

footer.bg_color2{ background-color: #c2e3e2;}
#footer_nav{
    margin-bottom: 0;
    padding-bottom: 50px;
}
/* タブレット */
@media screen and (max-width: 768px){
    #intro{margin-bottom: 70px;}
    #intro_wrap{padding: 10% 15% 120px;}
    
    #osusume{padding: 90px 15% 3%;}
    #osusume_wrap{width: 100%!important; padding: 0;}
    #osusume .num{
        top: -100px;
        left: 44%;
    }
    #osusume .con_img{
            margin: 0;
        position: absolute;
        top: -110px;
        right: 0;
        width: 40%!important;
    }
    
    #contents1 .con_img {
        position: absolute;
        width: 30%!important;
    }
    #contents1 .con_box{width: 100%!important; padding: 0; margin-top: 13%;}
    #contents1 .con_txt{margin-top: 110px;}
    #contents1 .con_title{padding-left: 50%;}
    
    #contents2 .con_img {
        position: absolute;
        width: 30%!important;
    }
    #contents2 .line:before{left: 70%;}
    #contents2 .num{left: 54%; top: -25px;}
    #contents2 .con_box_item{width: 100%!important; padding: 0; margin-top: 18%;}
    #contents1 .con_box{left: 70%;}
    #contents2 .con_txt{margin-top: 95px;}
    #contents2 .con_title{padding-left: 50%;}
}
/* スマホ */
@media screen and (max-width: 667px){
    #intro{margin-bottom: 0px;}
    #intro_wrap{padding: 100px 10% 80px;}
    
    #osusume .num,#contents1 .num,#contents2 .num,#contents3 .num{
        top: -30px;
        right: auto;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 50px;
    }
    #osusume .num{top: -20px;}
    
    #osusume .con_img, #contents1 .con_img,#contents2 .con_img {position: relative; width: 100%!important;}
    #osusume, #contents1_wrap, #contents2_wrap{padding: 0 10% 20px;}
    #contents1 .con_box,#contents2 .con_box_item{margin-top: 0%;}
    #contents1 .con_txt, #contents2 .con_txt{margin-top: 30px;}
    #contents1 .con_title,#contents2 .con_title{padding: 0;}
    #contents1_wrap h3{width: 100%;}
    #contents3 .con_txt{text-align: left;}
    
    #contents2 .line:before{left: 0%;}
    #osusume{flex-direction: column-reverse; margin-bottom: 100px; margin-top: -40px;}
    #osusume_wrap{margin-top: 110px;}
    #osusume .con_img{top: 0px; right: auto;}
    
    #info_contact .con_box .con_title{top: 40%;}
}

.more_btn,.modal-open span{
    background-color: rgba(255, 254, 250, 0.5);
    border-bottom: solid 1px;
    width: 200px;
}

/*font*/
#pc_nav li a, #top_pc_nav li a, #footer_nav li a,#page10 .more_btn,.overlay ul li a, .overlay p,.cate_title,.button_container span:nth-of-type(1){
    font-family: "Hannari","游明朝", "YuMincho", "ＭＳ Ｐ明朝", "MS PMincho","ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "Sawarabi Mincho", "serif";
}
.pop400, .return a, #cms_5-d span, .cms_5-d span{
    font-family: 'Dancing Script', cursive;
}
.num, #cms_5-d .circle:before, .cms_5-d .circle:before,#overlay .left li:before{
    font-family: 'Parisienne', cursive;
}


/* モーダル */
html.modalset{
	overflow: hidden;
}
.modal{
	display: none;
	width: 100%;
	height: 100vh;
	position: fixed;
	left: 0;
	top: 0;
	z-index: 9999;
}
.modal-wrap {
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	text-align: center;
	padding: 20px;
	overflow: hidden;
	-webkit-overflow-scrolling: touch;
	-ms-overflow-style: none;
	overflow: -moz-scrollbars-none;
}
.modal-wrap::-webkit-scrollbar {
	display: none;
}
.modal-wrap:after {
	content: '';
	display: inline-block;
	vertical-align: middle;
	width: 1px;
	height: 100%;
}
.modal-bg{
	position: absolute;
	left: 0;
	top: 0;
	background: rgba(0,0,0,0.3);
	width: 100%;
	height: 100%;
}
.modal-box{
	width: 90%;
	box-sizing: border-box;
	display: inline-block;
	vertical-align: middle;
	position: relative;
}
.modal-box:before{
	content: "";
	display: block;
	background-color: #fff;
	box-sizing: border-box;
	width: 100%;
	height: 10%;
	position: absolute;
	bottom: 0;
	left: 50%;
	-ms-transform: translate(-50%,0);
	-webkit-transform: translate(-50%,0);
	transform: translate(-50%,0);
	z-index: 1;
}
.modal-box .inner{
	background: #fff;
	max-height: 500px;
	overflow: auto;
	-ms-overflow-style: none;
	scrollbar-width: none;
}
.modal-box .inner::-webkit-scrollbar {
	display:none;
}
.modal-box .inner > :first-child {
	margin-top: 0;
}

.modal-box .modal-close{
	cursor: pointer;
	position: absolute;
    top: 0;
    right: 0;
}
.modal-box .modal-close span{
	display: block;
	width: 50px;/*枠の大きさ*/
	height: 50px;/*枠の大きさ*/
	position: relative;
}

.modal-box .modal-close span::before, .modal-box .modal-close span::after{
	content: "";
	display: block;
	width: 100%;/*バツ線の長さ*/
	height: 2px;/*バツ線の太さ*/
	background: #000;
	transform: rotate(45deg);
	transform-origin:0% 50%;
	position: absolute;
	top: calc(14% - 1px);
	left: 14%;
}

.modal-box .modal-close span::after{
	transform: rotate(-45deg);
	transform-origin:100% 50%;
	left: auto;
	right: 14%;
}
.modal-open span{
    cursor: pointer;
}

.modal_title_wrap{
	top: 0;
	left: 0;
}
.modal_title1{padding-top: 60px;}
.modal_title1:before{
	content: "";
	display: block;
	background-color: #666; 
	width: 1px;
	height: 50px;
	position: absolute;
	top: 0;
	left: 2px;
}
.modal_title1 span{
	transform: rotate(90deg);
	display: block;
	line-height: 1;
}



/*--------------------------------------------
 全体 
----------------------------------------------*/
.linkStyle{
	color: #75C6C3;
	text-decoration: underline;
	transition: all 0.5s;
}
.linkStyle:hover{
	color: #75C6C3;
	opacity: 0.7;
	text-decoration: none;
}
#pc_nav li a, #top_pc_nav li a, #footer_nav li a{
    color: #5f5840;
}
.button_container span{background: #5f5840;}
.button_container span:nth-of-type(1){color: #5f5840;}
#top_pc_nav{
    background-color: rgba(255, 255, 255, 0.5);
    width: 750px;
    margin: 0 auto;
    padding: 15px 0;
}
header.scr_header{
    background-color: rgba(255,255,255,0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter:blur(4px);
}

.txt_color1,.hvr_txt_color1:hover{color: #D3B95E;} 
.txt_color2,.hvr_txt_color2:hover{color: #75C6C3;} 
.txt_color3,.hvr_txt_color3:hover{color: #D3B95E;} 
.txt_color4,.hvr_txt_color4:hover{color: #F4F1EA;} 
/*.txt_color5,.hvr_txt_color5:hover{color: #f2ede7;}*/ 

.bg_color1,.hvr_bg_color1:hover{background-color: #D3B95E;}
.bg_color2,.hvr_bg_color2:hover{background-color: #75C6C3;}
.bg_color3,.hvr_bg_color3:hover{background-color: #D3B95E;} 
.bg_color4,.hvr_bg_color4:hover{background-color: #fffefb;} 
/*.bg_color5,.hvr_bg_color5:hover{background-color: #f2ede7;}*/ 

.border_color1,.hvr_border_color1:hover{border-color: #D3B95E;}
.border_color2,.hvr_border_color2:hover{border-color: #75C6C3;}
.border_color3,.hvr_border_color3:hover{border-color: #D3B95E;}
.border_color4,.hvr_border_color4:hover{border-color: #F4F1EA;}
/*.border_color5,.hvr_border_color5:hover{border-color: #f2ede7;}*/

/* タブレット */
@media screen and (max-width: 768px){}
/* スマホ */
@media screen and (max-width: 667px){}
