﻿/*html, body{overflow: auto}
.pp-section{position: static}*/

/* all page */
/* color */
.txt_color1{color: #ff9a34;} /* メインカラー */
.txt_color2{color: #fff6d8;} /* サブカラー */
.txt_color3{color: #db8677;} /* アクセントカラー1 */
.txt_color4{color: #ffe1db;} /* アクセントカラー2 */

/* background-color */
.bg_color1{background-color: #ffb366;} /* メインカラー */
.bg_color2{background-color: #fff6d8;} /* サブカラー */
.bg_color3{background-color: #db8677;} /* アクセントカラー1 */
.bg_color4{background-color: #ffe1db;} /* アクセントカラー2 */

/* border-color ※!important */
.border_black{border-color: #cccccc;}
.border_color1{border-color: #ffb366;}
.border_color2{border-color: #ddcd9b;}
.border_color3{border-color: #db8677;}
.border_color4{border-color: #ffe1db;}

.linkStyle{
    color: #ffb366;
    text-decoration: underline;
}

.banner_wrap{
    bottom: 0;
    left: 0;
    z-index: 10;
}


/* top ----------------*/

/* header */

/* main img */
.main_img_txt{
	background-color: rgba(242,188,148,0.85);
	padding: 5% 3%;
    border: none;
    font-size: 36px;
}
.main_img_txt::before{
	content: "";
	border: 1px solid #fff;
	width: 100%;
    height: 100%;
    position: absolute;
    top: 20px;
    left: 20px;
}

/* main */

/* intro */
.intro-t{
	top: 0;
    right: 0;
    z-index: -2;
	width: 60%;
	opacity: 0.8;
}
.intro-r{
	bottom: 0;
    right: 0;
    z-index: -1;
	width: 27%;
	opacity: 0.8;
}
.intro-l{
	bottom: 0;
    left: 0;
    z-index: -1;
	width: 40%;
	opacity: 0.8;
}
.intro_box .intro_item {
	position: relative;
}
.intro_box .intro_item::before {
	content: "";
	background-image: url("./Dup/img/hikari2.png");
	background-position: center center;
	background-repeat: no-repeat;
	background-size: 300px;
    width: 300px;
    height: 300px;
	position: absolute;
	bottom: -100px;
	right: -100px;
    animation: 100s linear infinite kaiten;
	opacity: 0.5;
	z-index: -1;
}
@keyframes kaiten {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.intro_box .intro_item h2 {
	color: #a86a4d;
}

/* contents */
#s_content2 .c2_box:nth-of-type(1) .c2_box_txt::before{
	content: "";
	background-image: url("./Dup/img/con1.png");
	background-position: bottom right;
	background-repeat: no-repeat;
	background-size: 100%;
	width: 300px;
	height: 200px;
	position: absolute;
	bottom: 10px;
    right: 10px;
    z-index: 1;
    opacity: 0.8;
}
#s_content2 .c2_box:nth-of-type(2) .c2_box_txt::before{
	content: "";
	background-image: url("./Dup/img/con2.png");
	background-position: bottom left;
	background-repeat: no-repeat;
	background-size: 100%;
	width: 350px;
	height: 300px;
	position: absolute;
	bottom: 10px;
    left: 10px;
    z-index: 1;
    opacity: 0.8;
}
#s_content2 .c2_box:nth-of-type(1) .c2_box_txt .more_btn h2, #s_content2 .c2_box:nth-of-type(1) .c2_box_txt .more_btn > span, #s_content2 .c2_box:nth-of-type(2) .c2_box_txt .more_btn h2, #s_content2 .c2_box:nth-of-type(2) .c2_box_txt .more_btn > span{
    z-index: 3;
    position: relative;
}
#s_content2 .modal_wrap p{
    font-size: 16px;
}

/* topcms */
.top_cms_title{
	background-image: url("./Dup/img/title_bg.png");
	background-position: center center;
	background-repeat: no-repeat;
	background-size: auto;
}

/* footer */
.sf_contact_box{
	position: relative;
}
.sf_contact_box::before{
	content: "";
    display: block;
    position: absolute;
    top: 10px;
    right: 10px;
    bottom: 10px;
    left: 10px;
    border: solid 1px #ffb366;
    z-index: 1;
}
.sf_contact_box h3, .sf_contact_box ul{
	z-index: 3;
	position: relative;
}
footer{
	position: relative;
}
.footer-l{
	bottom: 0;
    left: 0;
    z-index: -1;
	width: 50%;
	opacity: 0.8;
}
.footer-r{
	bottom: 0;
    right: 0;
    z-index: -1;
	width: 30%;
	opacity: 0.8;
}


/* under page */

/* cms1 */

/* cms2 */

/* cms3 */

/* cms4 */
#cms_3-a .cate .cate_box:last-of-type {
    border-bottom: 1px dotted #ddcd9b;
}
#cms_3-a .cate_txt2{
    background-color: #00b900;
    position: relative;
    color: #fff;
    border-bottom: 5px solid #158115;
    display: inline-block;
}
#cms_3-a .cate_txt2:hover{
    margin-top: 3px;
    border-bottom: 2px solid #158115;
}
/*バナー*/
#cms_3-a .btn_container a{padding: 8px 30px;}

/* cms5 */

/* page7 */

/* page8 */

/* page9 */

/* page10 */


/* IE */
@media all and (-ms-high-contrast: none){
    .h_tel_btn img{
        height: 20px;
    }
    .h_box_line a{
        padding-top: 7px;
        padding-bottom: 2px;
    }
    .pp-scrollable:nth-of-type(2){
        top: 8px;
    }
    .pp-scrollable:last-of-type{
        top: 8px;
    }
    .intro-r, .intro-l, .footer-r, .footer-l{
        bottom: 8px;
    }
    #footer_nav li{
        padding-bottom: 5px;
    }
    #cms_3-a .cate_txt2{
        padding-bottom: 10px;
    }
    .btn_container a{padding: 10px 30px 4px;}
    #page8 .mail_wrap a, #page8 .line_wrap a{
        padding-top: 10px;
    }
    
}

/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){
	.main_img_txt {
		background-color: rgba(242,188,148,0.85);
		padding: 4% 2%;
		font-size: 25px;
		width: auto !important;
		max-width: none!important;
	}
	.main_img_txt::before {
		top: 10px;
		left: 10px;
	}
	.intro_box .intro_item::before {
		bottom: auto;
		top: -150px;
		right: 0;
	}
	.intro-t{
		width: 80%;
	}
	.intro-l{
		width: 50%;
	}
	.cms_box .cms_box_bg {
		top: auto!important;
		height: 50%!important;
		bottom: -20px;
	}
	.footer-l {
		width: 55%;
	}
	.footer-r {
		width: 35%;
	}
	
}
/* ---------- スマートフォン ---------- */
@media screen and (max-width: 667px){
    .overlay {
        top: 45px;
    }
	.main_img_txt {
		font-size: 18px;
	}
	.main_img_txt::before {
		top: 5px;
		left: 5px;
	}
	.intro_box .intro_item::before {
		top: -90px;
		background-size: 210px;
		width: 210px;
		height: 210px;
	}
	.intro-r{
		width: 30%;
	}
	.intro-l{
		width: 62%;
	}
	#s_content2 .c2_box:nth-of-type(1) .c2_box_txt::before {
		width: 200px;
		height: 150px;
	}
	#s_content2 .c2_box:nth-of-type(2) .c2_box_txt::before {
		width: 230px;
		height: 150px;
	}
	.cms_box .cms_box_bg {
		height: 100%!important;
		bottom: -15px;
	}
	.top_cms_title {
		background-size: 38%;
	}
	#page_top {
        bottom: 60px;
    }
    #wrap {
        padding-bottom: 45px;
    }
	
}
