﻿/* all page */
/* color */
body,.txt_color_nomal{color: #434343;}
.txt_color1{color: #669ca1;} /* メインカラー */
.txt_color2{color: #bad2d5;} /* サブカラー */
.txt_color3{color: #bf9d74;} /* アクセントカラー1 */
.txt_color4{color: #f6f5ee;} /* アクセントカラー2 */

/* background-color */
.bg_color1{background-color: #669ca1;} /* メインカラー */
.bg_color2{background-color: #bad2d5;} /* サブカラー */
.bg_color3{background-color: #bf9d74;} /* アクセントカラー1 */
.bg_color4{background-color: #f6f5ee;} /* アクセントカラー2 */

/* border-color ※!important */
.border_color1{border-color: #669ca1;}
.border_color2{border-color: #bad2d5;}
.border_color3{border-color: #bf9d74;}
.border_color4{border-color: #f6f5ee;}

.linkStyle{
    color: #bf9d74;
    text-decoration: underline;
}

/*フォント*/
header #header .top_nav li a span, .main_img_wrap .catch span, .menu .nav1, .menu .nav2, #contents .box h3 span, #top_cms .cms_title p span, .top_cms_box .more_box .more div, .other .box_title, .other .box_title2, .bottom_menu li a span, footer #copyright, #page_title, .cate_list li a, .cate_list li .cate_no, .cate_title, .sub_cate_title, .box_title, .box_title1, a[href^="tel:"], .pager li a  {font-family: 'Zen Maru Gothic', "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic, "ヒラギノ角ゴ Pro W3", Hiragino Kaku Gothic Pro," メイリオ", Meiryo, Osaka," ＭＳ Ｐゴシック", MS PGothic," sans-serif";}


/* top ----------------*/

/* header */


/* main img */
.vegas-overlay {
    opacity: 0.5!important;
}
.main_img_wrap .catch {
	bottom: 80px;
	left: 20px;
	max-width: 600px;
}

/* main */

/* contents */
.svg_box{
	display: none;
}
#contents .box .txt_wrap{
	z-index: 3;
}
#contents{
	background-image: url("./Dup/img/paper1.jpg");
}
.txt_wrap .t_cms_txt2, .txt_wrap .t_cms_txt5, .txt_wrap .t_cms_txt8{
	font-family: 'Rammetto One', cursive;
	font-size: 60px;
	line-height: 1;
	opacity: 0.6;
}
#contents .box:nth-of-type(1) h3:before{
	display: none;
}
#contents .box:not(:first-child){
	margin-top: 200px;
}
#contents .intro{
	position: relative;
}
#contents .intro::before{
	content: "";
	background-image: url("./Dup/img/intro_bg.png");
	background-position: center center;
	background-repeat: no-repeat;
	background-size: contain;
	width: 100%;
	height: calc(100% + 170px);
	position: absolute;
	top: -50px;
	left: 0;
	z-index: 0;
	opacity: 0.5;
}
#contents .intro .txt_wrap{
	margin: 0 auto;
	width: 60%;
	text-align: center;
	position: relative;
	z-index: 2;
}
#contents .intro h3 span{
	font-size: 30px;
}
#contents .intro h3 span br{
	display: none;
}
#contents .intro .txt_wrap h3 span{
	position: relative;
}
#contents .intro .txt_wrap h3 span::before{
	content: "";
	background-image: url("./Dup/img/intro_border.png");
	background-position: bottom right;
	background-repeat: no-repeat;
	background-size: 100%;
    width: calc(100% + 20px);
    height: 100px;
    position: absolute;
    bottom: -30px;
    right: -40px;
    z-index: -1;
    transform: rotate(-5deg);
	opacity: 0.8;
}
#contents .box figure span{
	border-radius: 20px;
	box-shadow: 3px 3px 0px 0px rgba(0,0,0,0.2);
}
#contents .box:nth-of-type(2) figure:after {
    border-radius: 200px 0 0 200px;
	left: auto;
	   right: 40%;
	    -moz-transform: translateX(50%);
    -webkit-transform: translateX(50%);
    -ms-transform: translateX(50%);
    transform: translate(50);
}
#contents .box:nth-of-type(4) figure:after {
    border-radius: 0 200px 200px 0;
    left: 40%;
	    -moz-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translate(-50);
}
#contents .box:nth-of-type(6) figure:after {
    border-radius: 200px 0 0 200px;
	left: auto;
	   right: 40%;
	    -moz-transform: translateX(50%);
    -webkit-transform: translateX(50%);
    -ms-transform: translateX(50%);
    transform: translate(50);
}

/* topcms */
.more_box .more{
	border-radius: 20px;
	box-shadow: 3px 3px 0px 0px rgba(0,0,0,0.2);
	transition: all 0.4s ease 0s;
}
.more_box .more:hover{
    transform: translate(3px, 3px);
    box-shadow: none;
}
#top_cms .cms_title{
	position: relative;
}
#top_cms .cms_title::before{
	content: "";
	background-color: #f6cd9b;
	width: 100px;
	height: 100px;
	border-radius: 60% 40% 50% 40%;
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0.3;
}
#top_cms .cms_1-a .cate_box figure, .cms_6-c .cate_box{
    border-radius: 20px;
	box-shadow: 3px 3px 0px 0px rgba(0,0,0,0.2);
}

/* other */
.other .box {
    background-color: rgba(255,255,255,0.8);
}
.other .box figure {
    opacity: 0.3;
}

/* footer */



/* under page */
#title_img, #cms_1-a .cate_box figure img, #cms_2-c .cate figure, #cms_3-b .cate_box, #cms_6-c .cate_box{
    border-radius: 20px;
	box-shadow: 3px 3px 0px 0px rgba(0,0,0,0.2);
}
.all_page .menu .logo{
    transition: width 0.5s;
}

/* cms1 */

/* cms2 */

/* cms3 */
#cms_3-b .cate_title, #cms_3-b .cate figure{
    border-radius: 10px;
}
.btn_container a{padding: 8px 30px;}

/* cms4 */

/* cms5 */

/* page7 */

/* page8 */
#page8 #tel_CONTACT a{
    border-radius: 10px;
}

/* page9 */

/* page10 */


/* IE */
@media all and (-ms-high-contrast: none){
    .top_cms_box .more_box .more{
        padding-bottom: 10px;
    }
    .pager li a span{
        padding-top: 10px!important;
    }
    #cms_3-b .cate_title{
        padding-top: 10px!important;
    }
    .btn_container a{
        padding-top: 12px;
    }
    #page8 #tel_CONTACT p a{
        padding-top: 15px;
    }
    
}

/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){
	header .logo {
		width: 20%;
	}
	#nav_menu {
		top: 20px;
	}
	.main_img_wrap .catch {
		max-width: 450px;
		bottom: 70px;
	}
	#contents .intro h3 span br{
		display: block;
	}
	#contents .intro .txt_wrap h3 span::before {
		bottom: -15px;
		right: -70px;
	}
	#contents .box:not(:first-child) {
		margin-top: 100px;
	}
	
}
/* ---------- スマートフォン ---------- */
@media screen and (max-width: 667px){
	header .logo {
		width: 30%;
	}
	#nav_menu {
		top: 10px;
	}
	.main_img_wrap .catch {
		max-width: 300px;
		bottom: 30px;
		left: 10px;
	}
	#contents .intro .txt_wrap {
		width: 90%;
	}
	#contents .intro h3 span {
		font-size: 20px;
	}
	#contents .intro .txt_wrap h3 span::before {
		right: -40px;
	}
	#contents .intro::before {
		background-size: 100% 60%;
	}
	#contents .box:nth-child(4) .txt_wrap{
		order: 1;
		padding-left: 0px;
	}
	#contents .box:nth-child(4) figure{
		order: 2;
		margin-top: 30px;
	}
	
}

