﻿/* all page */
/*fonts*/

/* color ---------------------------------------------------------------------------------------------*/
.linkStyle{color: #160a0a;text-decoration: underline;transition: opacity .3s;}
.linkStyle:hover{opacity: 0.7}

/* background-color */
.bg_color5, .hvr_bg_color5:hover{background-color: #e4e4de;}

/* border-color ※!important */
.border_color5, .hvr_border_color5:hover{border-color: #e4e4de;}

#wrap {
    background-color: transparent;
    overflow: hidden;
}

/* top ----------------*/

/* header */
.top header{
    z-index: -1;
    opacity: 0;
}
header.transform{
    z-index: 10;
    opacity: 1;
    background-color: #fff;
    border-bottom: 1px solid #c9c9c9;
}

/* main img */
.main_logo2{
    z-index: 2;
}

/* main */

/* intro */
#intro .intro_img1 {
    margin: 0 0 -50px 0;
}
#intro .intro_img2 {
    margin: 0 auto;
    width: 34%!important;
}
#intro .intro_txt{
    margin-left: 30%;
}

/* contents */
body{
	transition: 1.0s;
}
.change-color {
  background-color: #e4e4de;
  transition: all 1.0s;
}
.change-color-o {
  background-color: #fff;
  transition: all 1.0s;
}
#contents .box_wrap .box .con_txt_wrap {
	background-color: rgba(255,255,255,0.7);
  transition: all 1.0s;
}
.change-color #contents .box_wrap .box .con_txt_wrap {
	background-color: rgba(228,228,222,0.7);
  transition: all 1.0s;
}
.change-color-o #contents .box_wrap .box .con_txt_wrap {
	background-color: rgba(255,255,255,0.7);
  transition: all 1.0s;
}
#contents .con_img {
    min-height: 550px;
}
#contents .con_img {
	position: relative;
	width: 280px;
	height: 500px;
	display: block;
	overflow: hidden;
	cursor: pointer;
	margin-left: auto;
}
#contents .con_img img {
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	width: 100%;
  display: block;
	-webkit-transition: .8s ease-in-out;
	transition: .8s ease-in-out;
}
#contents a:hover .con_img img:nth-of-type(2) {
  -webkit-transform: translate(-50%, -50%) scale(1.10) !important;
	transform: translate(-50%, -50%) scale(1.10) !important;
  opacity: 0;
}
#contents .box_wrap .box:nth-of-type(odd) .con_txt_wrap {
	bottom: 0;
	left: 0;
    border-radius: 0 10px 0 0;
    padding-right: 50px;
    z-index: 1;
}
#contents .box_wrap .box:nth-of-type(2) .con_txt_wrap {
	bottom: 0;
	right: 0;
    border-radius: 10px 0 0 0;
    padding-left: 50px;
    z-index: 1;
}
#contents .box_wrap .box:nth-of-type(2) .con_img {
	margin-left: 0;
}
#contents a{
    pointer-events: none;
  width: 100%;
  display: block;
}
#contents .box_wrap .box .con_txt_wrap, #contents .con_img{
    pointer-events: auto;
}
.con_more span {
    display: inline-block;
    padding: 5px 20px;
    letter-spacing: 3px;
}
#contents a:hover .con_more span {
    background-color: #1a1a1a;
}
.con_more span::after {
    content: "─";
    display: inline-block;
    margin-left: 10px;
}

/* topcms */
.topcms_news_type2 .cate_box {
	width: 46.33333%!important;
	margin-right: 1.5%;
	margin-left: 1.5%;
	cursor: pointer;
	border-bottom: 1px solid #ddd;
	margin-bottom: 30px;
	box-shadow: 0 6px 12px rgb(0 0 0 / 0);
	/* padding: 20px; */
	/* border-radius: 20px; */
	/* background-color: #f5f5f5; */
}
.topcms_news_type2 .cate_box:hover {
	transform: translateY(-5px);
}
.topcms_news_type2 .cate_box .box_item {
	cursor: pointer;
}
.topcms_news_type2 .txt_height {
	height: 5em
}
.topcms_news_type2 .box_img1 {
	border-radius: 10px;
}

/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){
.topcms_news_type2 .cate_box {width: 100%!important;}
.topcms_news_type2 .txt_height {height: 3em}
}

/* footer */



/* under page */
#page_title2 .frame {
    display: block;
    overflow: hidden;
    width: 100vw;
    height: 50vh;
}
#page_title2 .bg {
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
    display: block;
    width: 100%;
    height: 100%;
}
#page_title2 .inner {
    bottom: -60px;
    left: 3%;
    right: 3%;
}
#page_title2 .inner.fullScreen {
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
    left: 0;
    max-width: 90%;
    height: 100%;
    margin: 0 5%;
    padding: 0;
}
#page_title2 h2 {
    font-size: 90px;
    letter-spacing: 5px;
    line-height: 1;
    text-shadow: 1px 1px 0px white;
}
#page_title2 .inner .btnwrap a {
    max-width: 300px;
    padding: 20px 30px;
    font-size: 16px;
    line-height: 1;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}
.cms_box2 .con_txt_wrap {
	background-color: rgba(255,255,255,0.7);
	bottom: 0;
	right: 0;
    border-radius: 10px 0 0 0;
    padding-top: 30px;
    padding-left: 50px;
    z-index: 1;
}


/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){
.drawer-hamburger-icon {
    margin-top: -5px;
}
#intro .intro_img1 {
    margin: 0 0 -30px 0;
    width: 40%!important;
}
#intro .intro_img2 {
    width: 45%!important;
}
#intro .intro_txt {
    margin-top: 70px;
    margin-left: 20%;
    width: 80%!important;
}
#contents .con_img {
    min-height: auto;
    height: 350px;
}
#contents .box {
    margin-top: 50px;
    margin-bottom: 250px;
}
#contents .box_wrap .box .con_txt_wrap {
    padding-top: 30px;
}
#contents .box_wrap .box:nth-of-type(odd) .con_txt_wrap{
    bottom: -100%;
    padding-right: 20px;
}
#contents .box_wrap .box:nth-of-type(2) .con_txt_wrap{
    bottom: -80%;
    padding-left: 20px;
}

#page_title2 {
    padding-top: 80px;
}
#page_title2 .frame {
    height: 30vh;
}
#page_title2 .inner {
    bottom: -120px;
}
#page_title2 h2 {
    font-size: 50px;
    letter-spacing: 3px;
}
.cms_box2 {
	width: 97%;
}

}
/* ---------- スマートフォン ---------- */
@media screen and (max-width: 667px){
#intro .intro_txt {
    margin-left: 4.5%;
    margin-right: 4.5%;
    width: 95%!important;
    padding-right: 0;
}
#contents .con_img {
    height: 210px;
}
#contents a {
    display: flex;
    flex-direction: column;
}
#contents .con_img {
    order: 1;
}
#contents .box_wrap .box .con_txt_wrap {
    position: relative;
    order: 2;
}
#contents .box {
    margin-bottom: 0;
}
#contents .box_wrap .box:nth-of-type(odd) .con_txt_wrap {
    bottom: auto;
    padding: 20px;
    margin: 0;
}
#contents .box_wrap .box:nth-of-type(2) .con_txt_wrap{
    bottom: auto;
    padding: 20px;
    margin: 0;
}

#page_title2 {
    padding-top: 50px;
}
#page_title2 .inner {
    bottom: -150px;
}
.page6 #page_title2 .inner {
    bottom: -100px;
}
#page_title2 h2 {
    font-size: 50px;
    letter-spacing: 3px;
}
.cms_box2 {
	width: 95%;
	margin-bottom: 50px;
}
.cms_box2 .box {
	padding-bottom: 0;
}
.cms_box2 .con_txt_wrap {
    border-radius: 0;
    padding: 10px 20px;
    position: relative;
    margin: 0;
}
#page_title2 .inner .btnwrap a {
    padding: 12px;
    font-size: 15px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}

}





