﻿@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;600&display=swap');
body,.font_com{font-family: 'Noto Serif JP',"游明朝", "YuMincho", "ＭＳ Ｐ明朝", "MS PMincho","ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "Sawarabi Mincho", "serif";font-weight: 400;}
.font_bold{font-weight: 600;}

/*--------------------------------
疑似要素にオブジェクト
--------------------------------*/
#contents_wrap,#contents .num span,.top_cms_box:last-of-type,#footer_info{position: relative;}
/*リピートなし*/
#main_img:before,#main_img:after,#contents_wrap:before,#contents .num span:before,.top_cms_box:last-of-type:before,#footer_info:before{
content: "";
display: block;
background-size: 100%;
background-repeat: no-repeat;
position: absolute;
}

#main_img:before{
    background-color: transparent;
    background-image: url(./Dup/img/catch.png);
    width: 47vw;
    height: 28vw;
    top: 22%;
    left: auto;
    right: 6%;
    z-index: 1;
}
#main_img:after{
    background-image: url(./Dup/img/obj2.png);
    width: 52vw;
    height: 50vw;
    bottom: 0;
    left: -4%;
    z-index: 1;
}
#contents_wrap:before{
    background-image: url(./Dup/img/obj3.png);
    width: 8vw;
    height: 20vw;
    bottom: -1vw;
    right: 6vw;
    animation: anime1 3s steps(1) 0s infinite;
    z-index: 1;
    pointer-events: none;
}
#contents .num span:before{
    background-image: url(./Dup/img/obj1.png);
    width: 15vw;
    height: 15vw;
    top:50%;
	left: 50%;
	-ms-transform: translate(-50%,-50%);
	-webkit-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
	z-index: -1;
	opacity: 0.7;
}
.top_cms_box:last-of-type:before{
    background-image: url(./Dup/img/obj4.png);
    width: 16vw;
    height: 25vw;
    top: -17vw;
    left: -9vw;
    z-index: 1;
    pointer-events: none;
}
#footer_info:before{
    background-image: url(./Dup/img/obj5.png);
    width: 6vw;
    height: 12vw;
    bottom: -3vw;
    right: 1vw;
    pointer-events: none;
}
#page_title_img:before{background-color: rgba(255,255,255,0.5);}

@keyframes anime1{
    0% {
        transform: rotate(10deg);
    }
    50% {
        transform: rotate(-10deg);
    }
    100% {
        transform: rotate(10deg);
    }
}
/*--------------------------------
全体
--------------------------------*/
#header{
    padding-top: 20px;
    padding-bottom: 20px;
}
#pc_nav li a{color: #333;}
#pc_nav li a::after{background: #005091;}
.menu-trigger-bar{
    background-color: #005091;
    transition: background-color 0.3s;
}
/* more */
.more{border: none;}
.more > span,.more > a{
	background: transparent;
	border-radius: 0;
	transition: all 0.5s ease-out;
	background: linear-gradient(-270deg,rgba(0,35,115,0.8),rgba(135,225,255,0.8));
	background-position: 1% 50%;
	background-size: 300% 300%;
	text-decoration: none;
	border: none;
	box-sizing: border-box;
}
.more > span:hover,.more > a:hover{
	color: #fff;
	background-position: 99% 50%;
}
/*--------------------------------
TOP
--------------------------------*/
#main_img{height: 48vw;}

/* TOPお知らせ */
.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
}
/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){
.topcms_news_type2 .cate_box {width: 100%!important;}
.topcms_news_type2 .txt_height {height: 3em}
}
/*--------------------------------
下層
--------------------------------*/
#page_title_img{background-position: center top -150px;}
/*#page_title_img:before{display: none;}*/

.BA_type2 .box_img1_wrap, .BA_type2 .box_img2_wrap {
	width: 48%!important;
	margin: 0 1%;
}

.BA_type2 .box_img1_wrap::before, .BA_type2 .box_img2_wrap::before {
	position: absolute;
	content: "Before";
	width: 121px;
	background-color: #4d4d4d;
	color: #fff;
	text-align: center;
	display: block;
	left: 0;
	bottom: 0;
	margin: auto;
	z-index: 1;
	font-size: 14px;
	letter-spacing: 1px;
	padding: 4px 0px;
	box-sizing: border-box;
}
.BA_type2 .box_img2_wrap::before {
	content: "After";
	background-color: #005091;
}


/* noneが付いているとき */
.BA_type2 .none .box_description, .BA_type2 .none .box_description{padding: 30px 20px;}
.BA_type2 .none .box_img1_wrap, .BA_type2 .none .box_img2_wrap{width: 100%!important;}
.BA_type2 .none .box_img1_wrap:before, .BA_type2 .none .box_img2_wrap:before{display: none;}

@media  screen and (max-width: 768px){
    /* noneが付いているとき */
    .BA_type2 .none .box_description, .BA_type2 .none .box_description{padding: 0;}
    .BA_type2 .none .box_img1_wrap, .BA_type2 .none .box_img2_wrap{
        width: 96%!important;
        margin: 0 2%;
    }
}

/* ---------- スマホ ---------- */
@media screen and (max-width: 667px){
.BA_type2 .box_img1_wrap::before, .BA_type2 .box_img2_wrap::before{
	width: 76px;
	font-size: 13px;
}
.BA_type2 .box_img1_wrap::before, .BA_type2 .box_img2_wrap::before{padding: 1px 0px;}
}

@media  screen and (max-width: 1000px){
    #main_img .scroll{display: none;}
}

/*タブレット用（768px以下）*/
@media  screen and (max-width: 768px){
    #logo img.width_200-max_tb{max-width: 300px;}
    .overlay:before{background-color: rgba(0, 80, 145, 0.9);}
     #main_img,#video{height: 60vw;}
     #video video{
        width: auto !important;
        height: 101%;
    }
    #main_img:before{
        width: 52vw;
        height: 31vw;
        top: 23%;
        right: 3%;
    }
    #contents_wrap:before{
        width: 13vw;
        height: 31vw;
        bottom: -8vw;
        right: 6vw;
    }
    #contents .num span:before{
        width: 20vw;
        height: 20vw;
    }
    #page_title_img{
        background-position: center top -80px;
        height: 250px;
    }
    #footer_info:before{
        width: 13vw;
        height: 25vw;
        bottom: -5vw;
        right: -2vw;
    }
}

/*スマホ用（667px以下）*/
@media  screen and (max-width: 667px){
    #logo img.width_200-max_tb{max-width: 200px;}
    .overlay ul.sp_tel li a{
        max-width: 300px;
        font-size: 14px;
    }
     #main_img,#video{height: 80vw;}
    #main_img:before{
        width: 63vw;
        height: 38vw;
        top: 26%;
        right: 1%;
    }
    #main_img:after{
        width: 66vw;
        height: 66vw;
        bottom: 0;
        left: -25%;
    }
    #contents_wrap:before{
        width: 20vw;
        height: 51vw;
        bottom: -10vw;
        right: 3vw;
    }
    #contents .num span:before{
        width: 30vw;
        height: 30vw;
    }
    .top_cms_box:last-of-type:before{
        width: 30vw;
        height: 48vw;
        top: -33vw;
        left: -6vw;
    }
    #page_title_img{
        background-position: center top -5px;
        height: 200px;
    }
    #page_title_img .scroll{display: none;}
    .page_container > .con_box.pd_5per{padding: 5% 3%;}
    #footer_info:before{
        width: 20vw;
        height: 39vw;
        bottom: -10vw;
        right: -3vw;
    }
    footer .scroll{
        top: 300px;
        right: -25px;
    }
}

/*IE*/
@media all and (-ms-high-contrast: none) {}




/*--------------------------------
自動リンク
--------------------------------*/
/* color */
.linkStyle{color: #333; text-decoration: underline;}
.txt_color_nomal .linkStyle{color: #333;}
.txt_white .linkStyle{color: white;}
.txt_red .linkStyle{color: red;}
.bg_color1 .linkStyle{color: #fff;}
.bg_color2 .linkStyle{color: #333;}
.bg_color3 .linkStyle{color: #fff;}
.bg_color4 .linkStyle{color: #333;}

/*IEのみ*/
@media all and (-ms-high-contrast: none) {
.linkStyle{display: inline-block;}
}

/*--------------------------------
カラー
--------------------------------*/
body,.txt_color_nomal,.hvr_txt_color_nomal:hover{color: #333333;}
.txt_black,.hvr_txt_black:hover{color: black;}
.txt_white,.hvr_txt_white:hover{color: white;}
.txt_red,.hvr_txt_red:hover{color: red;}
.txt_color1,.hvr_txt_color1:hover{color: #005091;} /* メインカラー */
.txt_color2,.hvr_txt_color2:hover{color: #ffffff;} /* サブカラー */
.txt_color3,.hvr_txt_color3:hover{color: #50cdf7;} /* アクセントカラー1 */
.txt_color4,.hvr_txt_color4:hover{color: #e3e0cf;} /* アクセントカラー2 */

/* background-color */
.bg_white,.hvr_bg_white:hover{background-color: white;} /* 白背景 */
.bg_black,.hvr_bg_black:hover{background-color: black;} /* 黒背景 */
.bg_color1,.hvr_bg_color1:hover{background-color: #005091;} /* メインカラー */
.bg_color2,.hvr_bg_color2:hover{background-color: #ffffff;} /* サブカラー */
.bg_color3,.hvr_bg_color3:hover{background-color: #46c8f0;} /* アクセントカラー1 */
.bg_color4,.hvr_bg_color4:hover{background-color: #e3e0cf;} /* アクセントカラー2 */
.bg_color_clear,.hvr_bg_color_clear:hover{background-color: transparent!important;}

/* border-color */
.border_white,.hvr_border_white:hover{border-color: white;}
.border_black,.hvr_border_black:hover{border-color: black;}
.border_color1,.hvr_border_color1:hover{border-color: #005091;}
.border_color2,.hvr_border_color2:hover{border-color: #ffffff;}
.border_color3,.hvr_border_color3:hover{border-color: #46c8f0;}
.border_color4,.hvr_border_color4:hover{border-color: #e3e0cf;}