﻿/* all page */
/*fonts*/
.con_txt_wrap p {
    font-size: 16px;
}

/* color ---------------------------------------------------------------------------------------------*/
.linkStyle{color: #00519E;text-decoration: underline;transition: opacity .3s;}
.linkStyle:hover{opacity: 0.7}
/*.txt_color1, .hvr_txt_color1:hover{color: #00dfca;}*/
.txt_color1 {color: #1a1a1a;}
.hvr_txt_color1:hover{color: #00dfca;}
.txt_color2, .hvr_txt_color2:hover{color: #eaeaea;} /* サブカラー */
.txt_color3, .hvr_txt_color3:hover{color: #00519E;} /* アクセントカラー1 */
.txt_color4, .hvr_txt_color4:hover{color: #bbe5db;} /* アクセントカラー2 */

/* background-color */
.bg_color1, .hvr_bg_color1:hover{background-color: #5dced1;} /* メインカラー */
.bg_color2, .hvr_bg_color2:hover{background-color: #eaeaea;} /* サブカラー */
.bg_color3, .hvr_bg_color3:hover{background-color: #00519E;} /* アクセントカラー1 */
.bg_color4, .hvr_bg_color4:hover{background-color: #bbe5db;} /* アクセントカラー2 */

/* border-color ※!important */
.border_color1, .hvr_border_color1:hover{border-color: #5dced1;}
.border_color2, .hvr_border_color2:hover{border-color: #eaeaea;}
.border_color3, .hvr_border_color3:hover{border-color: #00519E;}
.border_color4, .hvr_border_color4:hover{border-color: #bbe5db;}

#wrap {
    background-color: #f5f5f5;
    overflow: hidden;
}

/* header */
header.transform {
    background-color: rgba(247,248,251,0.8)!important;
    backdrop-filter: blur(3px);
}
header #logo {
    transition: 0.5s!important;
}
header.transform #logo {
    max-width: 200px!important;
    transition: 0.5s!important;
}
.drawer-hamburger-icon, .drawer-hamburger-icon::after, .drawer-hamburger-icon::before{
    background-color: #00519e!important;
}
.drawer-open .drawer-hamburger-icon {
    background-color: transparent!important;
}
/*header #header #header_menu li:last-child a span {*/
/*    background-color: #5dced1;*/
/*}*/
/*header #header #header_menu li:last-child a span:hover {*/
/*    background-color: #00519E;*/
/*}*/

/* top ----------------*/

/* main img */
.main_img_wrap::before{
    content: "";
    position: absolute;
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: left;
    background-image: url('./Dup/img/main.jpg');
    width: 32%;
    height: 31%;
    left: 0;
    bottom: -50px;
    z-index: 5;
    opacity: 0.9;
}
.main_img_wrap .main_txt{
    font-size: 60px;
    bottom: 20%;
    left: 3%;
    line-height: 1.8;
    z-index: 10;
}
#main_img .video{
    position: absolute;
    left: 10%;
    top: 0;
}

/* main */

/* intro */
#intro{
    background-image: url('./Dup/img/intro.jpg');
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: left;
}
.intro_txt{
    background-color: rgba(255,255,255,0.5);
    padding-right: 20px;
    padding-left: 20px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    width: 47%!important;
    margin-left: 3%;
}

/* contents */
#contents .con3_txt1{
    line-height: 3;
    font-weight: bold;
    padding: 30px 30px;
    margin-bottom: 30px;
    font-size: 18px;
    letter-spacing: 2px;
    text-align: center;
}
#contents .con3_txt1 i {
    color: #5ee7c7;
    font-size: 20px;
}

/* topcms */
.topcms_news_type1 .box_wrap, #topcms_news_type1.box_wrap {
	align-items: stretch;
}
.topcms_news_type1 .cate_box a, #topcms_news_type1 .cate_box .box_item{
	flex-direction: column;
}
.topcms_news_type1 .cate_box, #topcms_news_type1 .cate_box{
	width: 30.33333%!important;
	margin-right: 1.5%;
	margin-left: 1.5%;
	cursor: pointer;
	box-shadow: 0 10px 20px rgb(0 0 0 / 0);
}
.topcms_news_type1 .cate_box, #topcms_news_type1 .cate_box .box_item{
	border-radius: 20px;
	box-shadow: 0 10px 20px rgb(0 0 0 / 20%);
	background-color: #fff;
	padding: 0;
}
.topcms_news_type1 .cate_box:hover, #topcms_news_type1 .cate_box .box_item:hover {
	transform: translateY(-5px);
}
.topcms_news_type1 .cate_box .box_item, #topcms_news_type1 .cate_box .box_item{
	cursor: pointer;
}
.topcms_news_type1 .txt_height, #topcms_news_type1 .txt_height{
	height: 3em
}
.topcms_news_type1 .box_txt1:empty, #topcms_news_type1 .box_txt1:empty {
	display: block!important;
}
.topcms_news_type1 .box_img1, #topcms_news_type1 .box_item .box_img1{
	border-radius: 20px 20px 0 0;
	flex-grow: 0;
}
.topcms_news_type1 .txt_box, #topcms_news_type1 .txt_box{
	flex-grow: 1
}

/* topcms_news_type1 .modal */
html.modalset{overflow: hidden;}
.topcms_news_type1 .modal, #topcms_news_type1 .modal{
	display: none;
	width: 100%;
	height: 100vh;
	position: fixed;
	left: 0;
	top: 0;
	z-index: 9999;
	line-height: 1.7;
}
.topcms_news_type1 .modal-wrap, #topcms_news_type1 .modal-wrap {
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	text-align: center;
	-webkit-overflow-scrolling: touch;
	-ms-overflow-style: none;
	overflow: -moz-scrollbars-none;
	overflow: auto;
	padding: 20px;
	padding-top: 100px;
	padding-bottom: 50px;
}
.topcms_news_type1 .modal-bg, #topcms_news_type1 .modal-bg{
	position: absolute;
	left: 0;
	top: 0;
	background: rgba(0,0,0,0.3);
	width: 100%;
	height: 100%;
}
.topcms_news_type1 .modal-box, #topcms_news_type1 .modal-box {
	width: 90%;
	max-width: 900px;
	box-sizing: border-box;
	display: inline-block;
	vertical-align: middle;
	position: relative;
	padding: 10px;
	padding-bottom: 23px;
	background-color: #fff;
	text-align: left;
	border-radius: 20px;
}
.topcms_news_type1 .modal-box .inner, #topcms_news_type1 .modal-box .inner{
	max-height: 100%!important;
	overflow: auto;
	-ms-overflow-style: none;
}
.topcms_news_type1 .modal-box .inner::-webkit-scrollbar, #topcms_news_type1 .modal-box .inner::-webkit-scrollbar {
	width: 2px;
	height: 10px;
}
.topcms_news_type1 .modal-box .inner::-webkit-scrollbar-track, #topcms_news_type1 .modal-box .inner::-webkit-scrollbar-track {
	border-radius: 5px;
	box-shadow: 0 0 4px #aaa inset;
}
.topcms_news_type1 .modal-box .inner::-webkit-scrollbar-thumb, #topcms_news_type1 .modal-box .inner::-webkit-scrollbar-thumb {
	border-radius: 5px;
	background: #333;
}
.topcms_news_type1 .modal-box .modal-close, #topcms_news_type1 .modal-box .modal-close{
	cursor: pointer;
	position: absolute;
	top: 19px;
	right: 25px;
}
.topcms_news_type1 .modal-box .modal-close img, #topcms_news_type1 .modal-box .modal-close img {box-shadow: 0 2px 4px rgb(0 0 0 / 0%);}

/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){
.topcms_news_type1 .cate_box, #topcms_news_type1 .cate_box {width: 46.33333%!important;}
}
/* ---------- スマートフォン ---------- */
@media screen and (max-width: 667px){
.topcms_news_type1 .cate_box, #topcms_news_type1 .cate_box {width: 100%!important;}
}

/* footer */



/* under page */

/* cms1 */

/* cms2 */

/* cms3 */
html.modalset{
	overflow: hidden;
}
.v_type4 .box_item{
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    border: solid 2px #5ee7c7;
    border-radius: 20px;
	cursor: pointer;
}
.v_type4 .box_item:hover{
    box-shadow: none;
    border: solid 2px #00519e;
}
.v_type4 .box_title2, .v_type4 .box_txt1{
    border-top: 1px solid #edede6;
}
.v_type4 .modal .box_title2{
	border-top: none;
}
.v_type4 .modal{
	display: none;
	width: 100%;
	height: 100vh;
	position: fixed;
	left: 0;
	top: 0;
	z-index: 9999;
	line-height: 1.7;
}
.v_type4 .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;
}
.v_type4 .modal-wrap::-webkit-scrollbar {
	display: none;
}
.v_type4 .modal-wrap:after {
	content: '';
	display: inline-block;
	vertical-align: middle;
	width: 1px;
	height: 100%;
}
.v_type4 .modal-bg{
	position: absolute;
	left: 0;
	top: 0;
	background: rgba(0,0,0,0.3);
	width: 100%;
	height: 100%;
}
.v_type4 .modal-box {
    width: 90%;
    max-width: 900px;
    box-sizing: border-box;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    padding: 10px;
    padding-bottom: 23px;
    background-color: #fff;
}
.v_type4 .modal-box .inner{
	max-height: 650px;
    overflow: auto;
	-ms-overflow-style: none;
}
.v_type4 .modal-box .inner::-webkit-scrollbar {
  width: 2px;
  height: 10px;
}
.v_type4 .modal-box .inner::-webkit-scrollbar-track {
  border-radius: 5px;
  box-shadow: 0 0 4px #aaa inset;
}
.v_type4 .modal-box .inner::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background: #333;
}
.v_type4 .modal-box .modal-close{
	cursor: pointer;
	position: absolute;
    top: 19px;
    right: 25px;
}
.v_type4 .modal_img{
    max-width: 600px;
}
.v_type4 .modal_title1{
	padding-top: 60px;
}
.v_type4 .modal_title1:before{
	content: "";
	display: block;
	background-color: #666; 
	width: 1px;
	height: 50px;
	position: absolute;
	top: 0;
	left: 2px;
}
.v_type4 .modal_title1 span{
	transform: rotate(90deg);
	display: block;
	line-height: 1;
}
/* ---------- スマートフォン ---------- */
@media screen and (max-width: 667px){
.v_type4 .modal-box .modal-close {
    top: 6px;
    right: 19px;
}
.v_type4 .modal-box .inner{
    max-height: 500px;
}
}

/* cms4 */
.g_type1 > div{justify-content: space-around;}
.g_type1 .modal_bt{cursor: pointer}
.g_type1 .modal_bg{top: 0;left: 0;background-color: rgba(0,0,0,0.5);z-index: 9998;}
.g_type1 .modal_box{max-height: 80%;overflow-y: auto;z-index: 9999;}
.g_type1 .close_bt{cursor: pointer}
.g_type1 .cate_box {position: relative;width: 22.99999%!important;margin: 0 1%;margin-bottom: 20px;overflow: hidden; }

@media all and (-ms-high-contrast:none){
.g_type1 .modal_box .box_txt2 a {padding: 8px 10px 2px;}
}

@media screen and (max-width: 768px){
.g_type1 .cate_box {width: 30.99999%!important;}
}
	
@media screen and (max-width: 667px){
.g_type1 .cate_box {width: 47.99999%!important;}
}

/* cms5 */
.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}
}

/* page7 */

/* page8 */

/* page9 */

/* page10 */


/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){
.main_img_wrap::before {bottom: -30px;}
.main_img_wrap .main_txt {font-size: 43px;bottom: 15%;}
header #logo {max-width: 200px!important;}
header.transform #logo {max-width: 160px!important;}
#intro {
    background-size: cover;
    background-position: center;
}
.intro_txt {
    padding: 30px;
    width: 100%!important;
    margin-left: 0;
}

}
/* ---------- スマートフォン ---------- */
@media screen and (max-width: 667px){
.drawer-hamburger-icon {margin-top: -5px;}
#main_img .video {left: 10%;}
.main_img_wrap::before {
    bottom: -20%;
    width: 55%;
    height: 38%;
}
.main_img_wrap .main_txt {font-size: 25px;bottom: -10%;}
header #logo {max-width: 130px!important;}
header.transform #logo {max-width: 120px!important;}
.intro_txt {padding: 20px;}
#contents .con3_txt1 {
    padding: 20px 20px;
    font-size: 16px;
}
#contents .con3_txt1 i {
    font-size: 16px;
}
.intro_txt p {
    font-size: 16px;
    padding: 0;
}

}


/*20220930公開後修正*/
.banner_fix {
    left: 10px;
    z-index: 5;
}
.g_type2 .cate_box{width: 23%!important;margin: 0 1%;}
.g_type2 > div{justify-content: flex-start;align-items: flex-start;}
.g_type2 .modal_bt{cursor: pointer}
.g_type2 .modal_bg{top: 0;left: 0;background-color: rgba(0,0,0,0.5);z-index: 9998;}
.g_type2 .modal_box{max-height: 80%;overflow-y: auto;z-index: 9999;}
.g_type2 .close_bt{cursor: pointer}
.modal_box{max-width: 827px!important;}
.g_type2 .main_image_box{height: 50vh;}
.g_type2 .main_image_box img{width: auto;height: 100%;}

/* ---------- スマホ ---------- */
@media screen and (max-width: 667px){
.g_type2 .cate_box{width: 50%!important;}
.g_type2 .cate_box {margin: 0 auto 20px;}
.g_type2 .main_image_box { height: 37vh;}
}

