﻿/* color */
.txt_color_nomal{color: #333;}
.txt_white{color: white;}
.txt_red{color: red;}
.txt_color1{color: #B4866B} /* メインカラー */
.txt_color2{color: #F7E8E2} /* サブカラー */
.txt_color3{color: #3B2821} /* アクセントカラー1 */
.txt_color4{color: #fff0e4} /* アクセントカラー2 */

/* background-color */
.bg_white{background-color: white} /* 白背景 */
.bg_black{background-color: black} /* 黒背景 */
.bg_color1{background-color: #B4866B} /* メインカラー */
.bg_color2{background-color: #F7E8E2} /* サブカラー */
.bg_color3{background-color: #3B2821} /* アクセントカラー1 */
.bg_color4{background-color: #fff0e4} /* アクセントカラー2 */

/* border-color ※!important */
.border_color1{border-color: #B4866B}
.border_color2{border-color: #F7E8E2}
.border_color3{border-color: #3B2821}
.border_color4{border-color: #fff0e4}

/* hover ---------------------------------------------------------------------------------------------*/
.hvr_txt_color_nomal:hover{color: #333;}
.hvr_txt_white:hover{color: white;}
.hvr_txt_red:hover{color: red;}
.hvr_txt_color1:hover{color: #B4866B} /* メインカラー */
.hvr_txt_color2:hover{color: #F7E8E2} /* サブカラー */
.hvr_txt_color3:hover{color: #3B2821} /* アクセントカラー1 */
.hvr_txt_color4:hover{color: #fff0e4} /* アクセントカラー2 */

/* background-color */
.hvr_bg_white:hover{background-color: white} /* 白背景 */
.hvr_bg_black:hover{background-color: black} /* 黒背景 */
.hvr_bg_color1:hover{background-color: #B4866B} /* メインカラー */
.hvr_bg_color2:hover{background-color: #F7E8E2} /* サブカラー */
.hvr_bg_color3:hover{background-color: #3B2821} /* アクセントカラー1 */
.hvr_bg_color4:hover{background-color: #fff0e4} /* アクセントカラー2 */

/* border-color ※!important */
.hvr_border_color1:hover{border-color: #B4866B }
.hvr_border_color2:hover{border-color: #F7E8E2}
.hvr_border_color3:hover{border-color: #3B2821}
.hvr_border_color4:hover{border-color: #fff0e4}

.linkStyle {
	color: #333333
}
.linkStyle:hover {
	opacity: 0.7;transition: all 0.3s;
}
h1.bg_color1 {
    background: #F7E8E2;
}
#loader,
#main_nav,
#page_title {
    background-image: url("./Dup/img/bg_deco.png"),url(./Dup/img/bg1.jpg);
    background-position: center top;
    background-size: 10% auto,cover;
}
#main_img {
    height: 100%;
}
.catch {
	z-index: 1;
	animation: catch 4s ease;
}
@keyframes catch {
	0% {opacity: 0;}
	50%{opacity: 0;}
	100% {opacity: 1;}
}
#intro, #top_cms .top_cms_box .top_cms_title {
    background-image: url("./Dup/img/bg_deco.png"),url(./Dup/img/bg1.jpg);
    background-position: center top;
    background-size: 10% auto,cover;
}
#contents1  {
	background-image: url("./Dup/img/bg2.jpg");
	background-repeat: no-repeat;
	background-size: cover;
}
#contents1 figure img {
	box-shadow: #9A3033 50px 50px 0px!important;
}
#contents3  {
	background-image: url("./Dup/img/bg3.jpg");
}

/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){
	#main_img {
		height: auto;
		background-color: #2b2b2b;
	}
	.catch {
		max-width: 450px;
	}
}
/* ---------- スマートフォン ---------- */
@media screen and (max-width: 667px){
#header h1.active {
    top: 0;
    left: 0;
    padding: 7px;
}
#header h1.active img {
    max-width: 180px;
}
#main_img {
    padding-top: 82px;
    background-color: #f7e8e2;
}
.catch {
    top: calc(30% + 41px);
}
#page_title::after {
    display: block;
    content: "";
    min-height: 50vh;
}
#page_title {
    height: 36vh;
    min-height: 40vh;
}
#page_title h2 {
    font-size: 20px;
}
#page_title .txt_vertical {
    writing-mode: lr;
}
}


/* ---------- loopSlider ---------- */
#topcms_gallery_type1 .loopSliderWrap{
    top: 0;
    left: 0;
    height: 450px;
}
#topcms_gallery_type1 .loopSlider {
    margin: 0 auto;
    height: 450px;
    text-align: left;
    position: relative;
    overflow: hidden;
}
#topcms_gallery_type1 .loopSlider .ul {
    height:450px;
    float: left;
    overflow: hidden;
}
#topcms_gallery_type1 .loopSlider .ul .li {
    width: 450px;
    height: 450px;
    float: left;
    display: inline;
    overflow: hidden;
	position: relative;
	box-sizing: border-box;
	padding: 0;
}
#topcms_gallery_type1 .loopSlider .ul .li img{
    border-radius: 0;
}
#topcms_gallery_type1 .loopSliderWrap:after {
    content: "";
    display: none;
    clear: none;
}

/*リンクボタン*/
#topcms_gallery_type1 .btn{z-index: 3;}
#topcms_gallery_type1 .btn a::before {
    content: '';
    position: absolute;
    bottom: 55px;
    right: 27%;
    width: 42%;
    height: 1px;
    background: #333;
    transition: all .3s;
}
#topcms_gallery_type1 .btn a::after {
    content: '';
    position: absolute;
    bottom: 60px;
    right: 27%;
    width: 15px;
    height: 1px;
    background: #333;
    transform: rotate(35deg);
    transition: all .3s;
}
#topcms_gallery_type1 .btn a:hover::before {
    right: 16%;
    background: #fff;
}
#topcms_gallery_type1 .btn a:hover::after {
    right: 15%;
    background: #fff;
}
#topcms_gallery_type1 .btn {
    display: block;
}
#topcms_gallery_type1 .btn a {
    background: #fff;
    color: #212121;
    width: 200px;
    height: 200px;
    display: flex;
    align-content: center;
    justify-content: center;
    border-radius: 50%;
    flex-wrap: wrap;
    transition: all 0.4s;
}
#topcms_gallery_type1 .btn a:hover {
    background: #1c1c1c;
    color: #fff;
}
#topcms_gallery_type1 .btn a span, .btn a strong {
    text-align: center;
}
@media(max-width: 768px) {
#topcms_gallery_type1,#topcms_gallery_type1 .loopSliderWrap,#topcms_gallery_type1 .loopSlider,#topcms_gallery_type1 .loopSlider ul,#topcms_gallery_type1 .loopSlider .ul .li{
	height: 280px;
}
#topcms_gallery_type1 .loopSlider .ul .li{
    width: 280px;
}
#topcms_gallery_type1 {
    padding-bottom: 0;
    padding-top: 0;
}
}
@media(max-width: 667px) {
#topcms_gallery_type1,.loopSliderWrap,.loopSlider,.loopSlider .ul,.loopSlider .ul .li{
	height: 179px!important;
}
#topcms_gallery_type1 .loopSlider .ul .li{
    width: 179px;
}
#topcms_gallery_type1 .btn a::after {
    bottom: 35px;
    right: 27%;
}
#topcms_gallery_type1 .btn a::before {
    bottom: 30px;
    right: 27%;
}
#topcms_gallery_type1 .btn a {
    width: 140px;
    height: 140px;
    line-height: 1.7;
}
}

/* fix_banner -------------------------------------- */
.fix_banner{
	max-width: 399px;
	position: fixed;
	bottom: 0;
	right: 65px;
	z-index: 10;
	transition: 0.5s;
}
.fix_banner .close_bt {
    position: absolute;
    bottom: 83px;
    right: 329px;
    display: block;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    transition: 0.5s;
    background-color: #fff;
    /* border: solid 2px #ddc21b; */
    z-index: 11;
    cursor: pointer;
}
.fix_banner .close_bt:hover{opacity: 0.7;}
.fix_banner .close_bt span{
	position: relative;
	display: block;
	width: 30px;
	height: 30px;
}
.fix_banner .close_bt span:before,.fix_banner .close_bt span:after{
	content: "";
	display: block;
	background-color: #221e03;
	height: 4px;
	width: 20px;
	position: absolute;
	top:50%;
	left: 50%;
}
.fix_banner .close_bt span:before{
	-ms-transform: translate(-50%,-50%) rotate(-45deg);
	-webkit-transform: translate(-50%,-50%) rotate(-45deg);
	transform: translate(-50%,-50%) rotate(-45deg);
}
.fix_banner .close_bt span:after{
	-ms-transform: translate(-50%,-50%) rotate(45deg);
	-webkit-transform: translate(-50%,-50%) rotate(45deg);
	transform: translate(-50%,-50%) rotate(45deg);
}
.fix_banner.close{right: -450px;}
.fix_banner.close2{right: -450px;}
@media  screen and (max-width: 768px){
.fix_banner{max-width: 300px;}
.fix_banner .close_bt {
    bottom: 75px;
    right: 277px;
}
}
@media  screen and (max-width: 667px){
.fix_banner{max-width: 70%;
	bottom: 10px;
	right: 15%;
}
.fix_banner .close_bt {
    width: 22px;
    height: 22px;
    bottom: 62px;
    right: 92%;
}
.fix_banner .close_bt span {
    width: 22px;
    height: 22px;
}
}
/* fix_banner end -------------------------------------- */