﻿@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@700&display=swap');
#intro #intro_box #intro_txt h3, #contents div h4, #main_nav ul li a, #contents_links .box_wrap .box a h4, .en_title.font_70 span, .cate_title, #page_title h3, #intro .modal-box .box_title1 span{
    font-family: 'Noto Serif JP', "游明朝", "YuMincho", "ＭＳ Ｐ明朝", "MS PMincho","ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "Sawarabi Mincho", "serif"!important;
    font-weight: bold!important;
}

/* ======================================================================================
　　color
======================================================================================== */
.linkStyle{color: #111;transition: opacity .3s;text-decoration: underline;}
.linkStyle:hover{opacity: 0.7}

#loader::after, .sm-slider::after, #main_img h2::before, #menu_wrap::after {
    background: #000000!important;
    background: -moz-linear-gradient(left, rgba(0, 0, 0, 0) 0%, rgb(58, 93, 167) 100%)!important;
    background: -webkit-linear-gradient(left, #000000 0%,#282828 100%)!important;
    background: linear-gradient(to right, #000000 0%,#282828 100%)!important;
}
#contents_links .box_wrap .box a p span {
    background-color: #2F4798;
}
#contents_links .box_wrap .box {
    background-color: #3e3e3e;
}
.cate_list li a {
    position: relative;
    z-index: 2;
    padding: 13px 24px 15px;
    transition: ease 0.3s;
    color: #ffffff;
    background-color: #ffffff00;
    border: 2px solid #303030;
}
.cate_list li .cate_no{display: none;}


/* ======================================================================================
　　anim
======================================================================================== */
.anim_box .item{
	transform: translateY(20px);
	transition: transform 1.5s ease, opacity 2s;
	transition-property: opacity,transform;
	opacity: 0;
}
.anim_box .item.start{transform: translateY(0);opacity: 1;}

.anim_loading {
    width: 300px;
    height: 225px;
    position: absolute;
    top: 39%;
    left: 21%;
    transform: translate(-50%,-50%);
    background-image: url(../dup/img/anim.svg);
    background-repeat: no-repeat;
    background-position: 0 0;
    animation: img-sprite 1s steps(16) 1;
    z-index: 10;
    transform: scale(4.1);
    animation-fill-mode: forwards;
}

@keyframes img-sprite {
    0%{
        background-position: 0 0;
    }
    100% {
        background-position: 0 -3600px;
    }
}


/* ======================================================================================
　　all
======================================================================================== */
.en_title.font_70 {
    font-size: 70px;
    line-height: 0.7;
}
#loader img {
    max-width: 400px;
    width: 40%;
}

/* ---------- header ---------- */
h1 img {
    width: 265px;
}
h1::after {
    border-color: #65bae8 transparent transparent transparent;
}

/* ---------- footer ---------- */
#footer::after {
    background-color: rgba(0,0,0,0.93);
}


/* ======================================================================================
　　top
======================================================================================== */

/* ---------- main_img ---------- */
#main_nav {
    transform: none;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    padding: 40px 0;
    background-color: #242424;
    margin-bottom: 130px;
    position: relative;
    z-index: 0;
}
#main_nav ul{
    justify-content: center;
    padding: 0;
}
#main_nav ul::before, #main_nav ul::after{display: none;}
#main_nav ul li a {color: #fff;}

#main_img{overflow: hidden;}
.main_txt {
    z-index: 2;
    width: 55%;
    max-width: 1000px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
/*.main_txt {
    z-index: 1;
    width: 50%;
    max-width: 900px;
    right: 63px;
    top: 56px;
}*/
#main_img3 .rectangle_img{
    max-height: 100vh;
}

/* ---------- intro ---------- */
#intro, #contents_links {
    position: relative;
    z-index: 3;
    background-color: #000000;
}
#contents_links {
    z-index: 2;
    margin-bottom: 100px;
}
#intro::before, #contents_links::before {
    display: inline-block;
    content: "";
    width: calc(100% - 51vw);
    height: 100%;
    background: #000000;
    position: absolute;
    bottom: -8%;
    left: 0;
    margin: auto;
    z-index: -1;
}
#contents_links::before {
    height: 62%;
    left: auto;
    bottom: -3%;
    right: 0;
}

#intro h3{
    font-size: 64px;
}
#intro #intro_box #intro_txt h3{
    color: white;
}
#intro #intro_box #intro_txt h3 span {
    font-size: 50px;
    border-bottom: 3px solid;
    line-height: 1.7;
}
#intro #intro_box #intro_txt h3::after {
    font-size: calc(100% + 0.4em);
    opacity: 0.1;
    top: 10px;
}
#intro #intro_box {
    background: none;
}
#intro #intro_box #intro_img{
    display: none;
}
#intro #intro_box #intro_txt{
    position: relative;
    width: 100%;
    overflow: visible;
    background-color: transparent;
    padding-bottom: 150px;
    z-index: 2;
}
#intro.on #intro_box #intro_txt{
    margin-left: 0;
}
#intro .line1 {
    left: -3%;
    width: 30%;
    bottom: 41px;
    transform: skewY(-8deg);
}
#intro .line2 {
    right: -3%;
    width: 30%;
    top: -55px;
    transform: skewY(-8deg);
}

#intro #intro_box::after {
    width: 100%;
    background-color: #2F4798;
    transform: skewY(8deg);
}
#intro_txt::before {
    width: 100%;
    height: 83px;
    content: "";
    background: url(../Dup/img/intro_txt.png) repeat;
    position: absolute;
    background-size: contain;
    background-position: bottom;
    top: -82px;
    left: 0;
    animation: video_txt 20s infinite;
    background-position-y: 0;
    background-position-x: 0;
    background-repeat: repeat-x;
    animation: loop 30s linear infinite;
    transform: skewY(-8deg);
}
@keyframes loop {
	0% {background-position-x: 0;}
	100% {background-position-x: 1083px;}
}
#intro_txt::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    background-color: #000000;
    transform: skewY(-8deg);
    /* box-shadow: 0 0 13px rgb(255 255 255 / 12%); */
    /* border-top: 1px solid #fff; */
    /* border-bottom: 1px solid #fff; */
}
.intro_img_box{
    z-index: 3;
    position: relative;
    margin-top: -125px;
    transition: .5s;
}

/* ---------- top modal ---------- */
html.modalset{
	overflow: hidden;
}
main.modalset {
    transform: none;
}
#intro .con1_modal {
    margin: 30px auto 0;
}
#intro .modal_btn {
    cursor: pointer;
    color: #fff;
    padding: 12px 20px 10px;
    letter-spacing: 2px;
    border: 1px solid;
    font-family: "Montserrat Subrayada","Noto Sans JP","游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    /* margin-top: 20px; */
}
#intro .modal_btn:hover {
    background-color: #3a5da6;
}
#intro .modal_btn:hover i{
    position: relative;
    right: -10px;
}
#intro .modal {
    display: none;
    width: 100%;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 9999;
    line-height: 1.7;
    color: #fff;
}
#intro .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;
}
#intro .modal-wrap::-webkit-scrollbar {
	display: none;
}
#intro .modal-wrap:after {
	content: '';
	display: inline-block;
	vertical-align: middle;
	width: 1px;
	height: 100%;
}
#intro .modal-bg {
    position: absolute;
    left: 0;
    top: 0;
    background: rgb(165 165 165 / 46%);
    width: 100%;
    height: 100vh;
}
#intro .modal-box {
    width: 90%;
    max-width: 1315px;
    box-sizing: border-box;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    padding: 10px;
    padding-bottom: 23px;
    background-color: #000000;
}
#intro .modal-box .inner{
	max-height: 650px;
    overflow: auto;
	-ms-overflow-style: none;
}
#intro .modal-box .inner::-webkit-scrollbar {
  width: 2px;
  height: 10px;
}
#intro .modal-box .inner::-webkit-scrollbar-track {
  border-radius: 5px;
  box-shadow: 0 0 4px #aaa inset;
}
#intro .modal-box .inner::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background: #333;
}
#intro .modal-box .modal-close {
    cursor: pointer;
    position: absolute;
    top: -20px;
    right: -20px;
    width: 59px!important;
    left: auto;
}
#intro .modal_img{
    max-width: 600px;
}
#intro .modal-box .box_title1{
	font-size: -webkit-calc(1rem + 17px);
    font-size: calc(1rem + 17px);
}
#intro .modal-box .box_title1 span{
    border-bottom: 3px solid;
}
#intro .modal-box .box_txt1 {
    margin-top: 40px;
    font-size: 17px;
}
/* ---------- スマートフォン ---------- */
@media screen and (max-width: 667px){
#intro .modal-box .modal-close {
    top: 8px;
    right: 16px;
    width: 43px!important;
}
#intro .modal-box .inner{
    max-height: 500px;
}
}


/* ---------- contents ---------- */
#contents::before {
    background-image: none;
    background-color: #000;
    opacity: 0.2;
}
#contents_links .box_wrap .box {
    border: 4px solid #000!important;
}
#contents_links .box_wrap .box:nth-of-type(even) {
    transform: translate(-100px,0);
}
#contents_links .box_wrap .box.active:nth-of-type(even) {
    transform: translate(0);
}
#contents_links .box_wrap .box a {
    padding: 156px 50px 50px;
}
#contents_links .line1 {
    left: -3%;
    width: 31%;
    bottom: -91px;
    transform: skewY(-8deg);
}
#contents_links .line2 {
    right: -3%;
    width: 30%;
    top: -55px;
    transform: skewY(-8deg);
}

#contents div h4{
    font-size: 28px;
}
#contents div {
    border: solid 0px;
}
#contents div::after {
    background: rgba(47,71,152,0.74) !important;
    opacity: 0.9;
}



/* ======================================================================================
　　under
======================================================================================== */
#page_title {
    padding-bottom: 0;
}
#page_title > div {
    margin-bottom: 150px;
}
.other #main_nav{
    margin-bottom: 0;
}
.line_bnr{
    max-width: 603px;
    margin-top: -58px;
}
#page10 .box a > div {
    color: #ffffff;
}

/* ---------- cms1 ---------- */
.g_type5 .slide_img figure{
	position: relative;
	overflow: hidden;
}
.g_type5 .slide_img figure img{
	position: relative;
	top: 50%;
	left: 50%;
	-ms-transform: translate(-50%,-50%);
	-webkit-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
}
.g_type5 .swiper-slide{
    opacity: 1!important;
}
.g_type5 .slide_img .thumbnail .swiper-wrapper {
    margin-left: 0!important;
    transform: none!important;
}
.g_type5 .swiper-button-prev{
	background-image: url("../dup/img/swiper_prev.png")!important;
}
.g_type5 .swiper-button-next{
	background-image: url("../dup/img/swiper_next.png")!important;
}

/* ---------- cms4 ---------- */
#cms_2-b .cate_box {
    border: none;
    background-color: #1f1f1f;
    border-left: 8px solid #2f4798;
}
#cms_2-b .box_title1{
	color: #ffffff;
}

/* ---------- cms6 ---------- */
#cms_3-e .sub_cate_title{
    background-color: #222;
    border: none;
    border-left: 5px solid #7e7e7e;
    padding-left: 13px;
}



/* ======================================================================================
　　window size
======================================================================================== */

@media screen and (max-width: 1566px){
.anim_loading {
    top: 47%;
    left: 13%;
    transform: scale(3.6);
}
}

@media screen and (max-width: 1430px){
#contents_links .box_wrap .box a h4 {
    font-size: 25px;
}
#intro .line2, #contents_links .line2 {
    top: -31px;
}
#intro .line1 {
    bottom: 68px;
}
#contents_links .line1 {
    bottom: -99px;
}
}

@media screen and (max-width: 1281px){
.anim_loading {
    top: 40%;
    left: 7%;
    transform: scale(3.3);
}
h1 img {
    width: 208px;
}
}

/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){
.anim_loading {
    top: 37%;
    left: 3%;
    transform: scale(2.7);
}
h1 img {
    width: 164px;
}
.en_title.font_70 {
    font-size: 58px;
}

#intro .line1, #intro .line2, #contents_links .line1, #contents_links .line2{
    width: 37%;
}
#intro .line2 {
    top: -2px;
}
#intro .line1 {
    bottom: 176px;
}
#contents_links .line2 {
    top: 149px;
}

#intro {
    padding-top: 107px;
    margin-bottom: 109px;
}
#intro #intro_box #intro_txt{
    transform: none;
}
#intro_txt::before {
    height: 55px;
    top: -57px;
}
#intro #intro_box #intro_txt h3 span {
    font-size: 40px;
}
#intro #intro_box #intro_txt h3::after {
    font-size: calc(100%);
}
#intro.on #intro_box #intro_txt {
    padding-bottom: 210px;
}
.intro_img_box {
    margin-top: -163px;
}
#intro::before{
    display: none;
}

#contents_links::before {
    height: 79%;
    bottom: -6%;
}
#contents_links .box_wrap .box a {
    padding: 50px 30px 30px;
}

#page_title > div {
    margin-bottom: 0;
}
#page_title {
    padding-bottom: 100px;
}

#footer_box{padding: 20px!important;}
}

/* ---------- スマホ ---------- */
@media screen and (max-width: 667px){
.anim_loading {
    top: 38%;
    left: -8%;
    transform: scale(2);
}
#loader img {
    max-width: 400px;
    left: 47%;
    width: 58%;
}
h1 {
    padding: 10px;
}
h1 img {
    width: 113px;
}
.main_txt {
    width: 78%;
}

#intro {
    padding-top: 0;
    margin-bottom: 40px;
}
#intro_txt::before {
    top: -37px;
}
#intro #intro_box #intro_txt h3 span {
    font-size: 24px;
}
#intro #intro_box #intro_txt h3::after {
    font-size: 32px;
    top: 46px;
}
#intro #intro_box::after{
    display: block!important;
}
#intro .modal-box .box_title1 {
    font-size: 18px;
    font-size: 18px;
}
#intro .modal-box .box_txt1 {
    margin-top: 30px;
    font-size: 14px;
}

#intro .line1, #intro .line2, #contents_links .line1, #contents_links .line2 {
    width: 53%;
}
#intro .line2 {
    top: 11px;
}
#intro .line1 {
    bottom: 154px;
}

#contents_links h3{
    padding-bottom: 83px;
}
#contents_links .line2 {
    top: 128px;
}
#contents_links .line1 {
    bottom: -72px;
}
#contents div h4 {
    font-size: 20px;
}
#contents div p{
    font-size: 14px;
}

.en_title.font_70 {
    font-size: 45px;
    line-height: 0.8;
}

.cate_list li {
    margin: 0 0 20px;
}
#page_title {
    padding-bottom: 60px;
    padding-top: 120px;
}

h1::after {
    border-width: 102px 140px 0 0;
}
}

@media screen and (max-width: 507px){
.anim_loading {
    top: 35%;
    left: -12%;
    transform: scale(1.5);
}
}

@media screen and (max-width: 400px){
.anim_loading {
    top: 35%;
    left: -89px;
    transform: scale(1.1);
}
}


/* 閉じるボタン付き追従バナー --------------------------------------------------------------  */
.fix_banner {
    max-width: 218px;
    position: fixed;
    bottom: 14px;
    left: 14px;
    z-index: 10;
    transition: 0.5s;
}
.fix_banner .close_bt{
	position: absolute;
	bottom: 110px;
    right: 380px;
	display: block;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	transition: 0.5s;
	background-color: #fff;
	border: solid 2px #004b9b;
	z-index: 11;
	cursor: pointer;
	display: none!important;
}
.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: #004b9b;
	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 {left: -218px;}
.fix_banner.close2{right: -450px;}

@media  screen and (max-width: 768px){
.fix_banner{max-width: 180px;}
}

@media  screen and (max-width: 667px){
.fix_banner {
    max-width: 130px;
    left: 3px;
    bottom: 8px;
}
}
/* 閉じるボタン付き追従バナー end --------------------------------------------------------------  */



