﻿@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@300;600&display=swap');
@font-face {
font-family: "baskerville";
  src: url("./Dup/img/baskerville.ttf") format("ttf"),url("./Dup/img/baskerville.eot") format("eot"),url("./Dup/img/baskerville.woff") format("woff"),url("./Dup/img/baskerville.woff2") format("woff2");
}
body,.loader_txt, .cms_title h2, #catch h2, #question h2, #contents h2, #contents .box h3, #top_cms .cms_title h2, #page_title h2{font-family: 'Noto Serif JP',"游明朝", "YuMincho", "ＭＳ Ｐ明朝", "MS PMincho","ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "Sawarabi Mincho", "serif";font-weight: 300;}
.font_bold{font-weight: 600;}
.font1,.en_font{font-family: "baskerville","serif";}

/*--------------------------------
疑似要素にオブジェクト
--------------------------------*/
.main_img,#question,#catch .box{position: relative;}
/*リピートなし*/
.catch,.frame,#catch .box:before{
content: "";
display: block;
background-size: cover;
background-repeat: no-repeat;
position: absolute;
}
/*リピートあり*/
#question:after{
content: "";
display: block;
position: absolute;
}

.catch{
background-image: url("./dup/img/catch.png");
width: 100px;
height: 350px;
top: 12%;
right: 10%;
filter: blur(7px);
transform: scale(1.1);
animation: blur 2s ease 3s forwards;
z-index: 1
}
@keyframes blur {
	0% {filter: blur(7px);transform: scale(1.1);}
	100% {filter: blur(0);transform: scale(1.0);}
}

#question::after {
left: 0;
top: -47px;
width: 100%;
height: 100px;
background-image: url("./dup/img/txt1.png");
background-size: 1500px;
background-position-y: 0;
background-position-x: 0;
background-repeat: repeat-x;
animation: loop 30s linear infinite;
}
@keyframes loop {
	0% {background-position-x: 0;}
	100% {background-position-x: -1500px;}
}
.frame{
background-image: url(./Dup/img/frame.png);
width: 50px;
height: 50px;
}
.frame.frame1{
top: 10px;
left: 10px;
}
.frame.frame2{
top: 10px;
right: 10px;
transform: scale(-1, 1);
}
.frame.frame3{
bottom: 10px;
left: 10px;
transform: scale(1, -1);
}
.frame.frame4{
bottom: 10px;
right: 10px;
transform: scale(-1, -1);
}

#catch .box:before{
background-image: url(./Dup/img/intro.png);
background-size: 100%;
width: 45vw;
height: 30vw;
top: 50%;
left: -52vw;
-ms-transform: translate(0,-50%);
-webkit-transform: translate(0,-50%);
transform: translate(0,-50%);
}
/*--------------------------------
全体
--------------------------------*/
#wrap{background-color: #232832;}
.clone-nav li a:hover{color: #b6c7e8;}
.overlay{background: rgba(35,40,50,0.9);}
.overlay ul li a.width_100per.bg_color1{background-color: #373C46;}
footer,footer li a.txt_color_nomal,.more_txt1.txt_color_nomal{color: white;}
.footer_con_box .txt_color_nomal{color: #333;}
.footer_con_box .txt_color_nomal:hover{color: #fff;}

.marker {
background: -webkit-linear-gradient(transparent 60%, #616161 60%);
background: -o-linear-gradient(transparent 60%, #616161 60%);
background: linear-gradient(transparent 60%, #616161 60%);
}
.cms_link a{background-color: #373C46;}
.cms_link a:hover{color: #fff;}

.t_banner_box.box2{
transform: translateY(0); 
-webkit-transform: translateY(0);
}
@media  screen and (max-width: 667px){
.t_banner_box.box2 .banner{width: 100%;}
}

/*--------------------------------
TOP
--------------------------------*/
.main_img{height: 100vh;}
.menu{
z-index: 2;
top: 5%;
left: 3%;
width: 50%;
max-width: 300px;
}
.menu .logo{padding: 30px;}
.menu ul.bg_white{background-color:transparent;}
.menu ul a{color: white;}

#catch .box .sub_title,#contents .box .box_item .sub_title{color: #9d9d9d;}

.txt_anim2.active{
filter: blur(7px);
transform: scale(1.1);
animation: blur 2s ease 3s forwards;
}

#question:before{display: none;}
#question .sliceTxt4, #question .sliceTxt5, #question .sliceTxt6,
#question .sliceTxt7, #question .sliceTxt8, #question .sliceTxt9,
#question .sliceTxt10, #question .sliceTxt11, #question .sliceTxt12,#question .sliceTxt13{
font-size: 80px;
font-size: -webkit-calc(1rem + 30px);
font-size: calc(1rem + 30px);
text-shadow: none;
}
#question .txt{
width: 47%;
padding-left: 50px;
margin-right: 5%;
box-sizing: border-box;
}
#question .txt .check{
position: absolute;
left: 0;
}

#contents .box figure{width: 65%!important;}
#contents .box:nth-child(even) figure{margin-left: 35%;}
#contents .box:nth-child(odd) figure{margin-right: 35%;}
#contents .box .box_item{
background-color: rgba(30,30,30,0.9);
width: 40%!important;
}
#contents .box:nth-child(odd) .box_item{margin-left: 60%;}

/* 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}
}
/* TOP about */
.link_type2 .cate_box a {
    color: #fff;
}
.link_type2 .cate_box a:before, .link_type2 .cate_box a:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 1;
}
.link_type2 .cate_box a:after {
    top: 100%;
    background-color: #373C46;
    transition: 0.5s;
	z-index: 3;
}
.link_type2 .cate_box a:hover:after {
    top: 0;
}
.link_type2 .cate_box .txt_wrap {
    z-index: 2;
}
.link_type2 .more {
	letter-spacing: 3px;
    box-sizing: border-box;
	opacity: 0;
	transition: opacity .8s;
	z-index: 4;
}
.link_type2 .cate_box a:hover .more {
    opacity: 1;
}
/*--------------------------------
下層
--------------------------------*/
#page_title .title{background-color: #232832;}
#page_title p{color: #696e82;}

/* 初めての方へ */
.v_type3 .cate_box{border: 1px solid #373c46;}
.v_type3 .box_title1{color: #9ca3b1;}


/*タブレット用（768px以下）*/
@media  screen and (max-width: 768px){

#question .txt{
width: 100%;
padding-left: 50px;
margin-right: 0;
}
#contents .box figure {width: 80%!important;}
#contents .box:nth-child(even) figure{margin-left: 20%;}
#contents .box .box_item{width: 80%!important;}
#contents .box:nth-child(odd) .box_item{margin-left: 20%;}

}

/*スマホ用（667px以下）*/
@media  screen and (max-width: 667px){


.main_img{height: 45vh;}
.catch{
width: 50px;
height: 170px;
top: 13%;
right: 10%;
}
.frame{
width: 30px;
height: 30px;
}
#question .txt:before{
width: 25px;
height: 25px;
}
#question .txt .check{
width: 30px;
height: 25px;
top: -1px;
}
#question .box .box_item{padding: 50px 30px;}

#contents .box figure{width: 100%!important;}
#contents .box .box_item{width: 100%!important;}
#contents .box:nth-child(even) figure{margin-left: 0;}
#contents .box .box_item, #contents .box:nth-child(odd) .box_item{margin-left: 0;}
#contents .box .box_item .sub_title{
font-size: -webkit-calc(1rem + 20px);
font-size: calc(1rem + 20px);
top: 0;
left: 0;
}
#question::after {
top: -38px;
width: 100%;
height: 70px;
background-size: 1000px;
animation: loop2 30s linear infinite;
}

}

@keyframes loop2{
	0% {background-position-x: 0;}
	100% {background-position-x: -1000px;}
}



/*--------------------------------
自動リンク
--------------------------------*/
/* color */
.linkStyle{color: #616161; text-decoration: underline;}
.txt_color_nomal .linkStyle{color: #616161;}
.txt_white .linkStyle{color: white;}
.txt_red .linkStyle{color: red;}

/*IEのみ*/
@media all and (-ms-high-contrast: none) {
.linkStyle{display: inline-block;}
}

/*--------------------------------
カラー
--------------------------------*/
body,.txt_color_nomal,.hvr_txt_color_nomal:hover{color: #fff;}
.txt_black,.hvr_txt_black:hover{color: #333;}
.txt_white,.hvr_txt_white:hover{color: white;}
.txt_red,.hvr_txt_red:hover{color: red;}
.txt_color1,.hvr_txt_color1:hover{color: #232832;} /* メインカラー */
.txt_color2,.hvr_txt_color2:hover{color: #373C46;} /* サブカラー */
.txt_color3,.hvr_txt_color3:hover{color: #616161;} /* アクセントカラー1 */
.txt_color4,.hvr_txt_color4:hover{color: #F7F7F7;} /* アクセントカラー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: #232832;} /* メインカラー */
.bg_color2,.hvr_bg_color2:hover{background-color: #373C46;} /* サブカラー */
.bg_color3,.hvr_bg_color3:hover{background-color: #616161;} /* アクセントカラー1 */
.bg_color4,.hvr_bg_color4:hover{background-color: #F7F7F7;} /* アクセントカラー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: #232832;}
.border_color2,.hvr_border_color2:hover{border-color: #373C46;}
.border_color3,.hvr_border_color3:hover{border-color: #616161;}
.border_color4,.hvr_border_color4:hover{border-color: #F7F7F7;}