@charset "utf-8";

/*リセットCSS（sanitize.css）の読み込み
---------------------------------------------------------------------------*/
@import url("https://unpkg.com/sanitize.css");

/*Font Awesomeの読み込み
---------------------------------------------------------------------------*/
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css");

/*Google Fontsの読み込み
---------------------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+1+Code:wght@400;500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&display=swap');

/*テンプレート専用cssファイルの読み込み
---------------------------------------------------------------------------*/
@import url("animation.css");
@import url("inview.css");


/*全体の設定
---------------------------------------------------------------------------*/
html,body {
	margin: 0; 
	padding: 0;
	font-size: 14px;	/*基準となるフォントサイズ。下の方にある「画面幅900px以上」で基準を大きなサイズに再設定しています。*/
	height: 100%;
}

body {
	font-family: 'Lato', 'M PLUS 1 Code', "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", Meiryo, "メイリオ", "Osaka", "MS PGothic", "ＭＳ Ｐゴシック", sans-serif;
	-webkit-text-size-adjust: none;
	letter-spacing: 0.05em;
	background: #edf7fd;
	color: #3c4043;	
	line-height: 1.7;	
}
#container {
	min-height: 100%;
	display: flex;
	flex-direction: column;

}
/*リセット*/
figure {margin: 0;}
dd {margin: 0;}
nav {margin: 0;padding: 0;}

/*table全般の設定*/
table {border-collapse:collapse;}

/*画像全般の設定*/
img {border: none;max-width: 100%;height: auto;vertical-align: middle;}

/*videoタグ*/
video {
	max-width: 100%;
	border: 10px solid;
	border-image: linear-gradient(to right, #0071bc, #0071bc, #b6e219) 1;
}
.mov {
	text-align: center;
	margin-bottom: 20px;
}
.mov_f {
	text-align: center;
	margin-bottom: 20px;
	width: 80%;
	margin: 0 auto
}

/*iframeタグ*/
iframe {width: 100%;}

/*ul,olタグ*/
ul, ol {margin-bottom: 30px;}

.center {
	margin: 0 auto;
}


/*リンクテキスト全般の設定
---------------------------------------------------------------------------*/
a {
	color: #182987;	/*文字色*/
	transition: 0.3s;
}
a:hover{
	transition: 0.3s;
}


/*sectionタグと、詳細ページの共通設定
---------------------------------------------------------------------------*/
section,
main > article {
	margin: 0 auto;
	padding: 0 5% 1%;		/*ボックス内の余白*/
}

ol li {
	padding-left: 10px;				/*テキストのインデント。質問が複数行になった際に、テキストの冒頭を揃える為に設定しています。*/
}
ul li {
	padding-left: 10px;				/*テキストのインデント。質問が複数行になった際に、テキストの冒頭を揃える為に設定しています。*/
}

/*header（ロゴなどが入った最上段のブロック）
---------------------------------------------------------------------------*/
/*ヘッダーブロック*/
header {
	display: flex;					/*flexボックスを使う指定*/
	justify-content: space-between;	/*並びかたの種類の指定*/
	align-items: center;			/*垂直揃えの指定。天地中央に配置されるように。*/
	background: #ffffff;			/*背景色*/
	width: 100%;
	padding: 0 3%;					/*上下、左右へのヘッダー内の余白*/
	height: 100px;					/*ヘッダーの高さ。変更する場合、数行下にある#mainimgのtopの数値も合わせて変更して下さい。*/
	border-top: 16px #b6e219 solid;
	box-shadow: 0px 10px 10px -5px rgba(0,0,0,0.5);
}

/*ヘッダーのリンクテキストの文字色*/
header a {
	color: #fff;
}

/*ロゴ画像*/
header #logo img {display: block;}
header #logo {
	margin: 0;
	width: 600px;	/*幅*/
}


/*トップページのメイン画像
---------------------------------------------------------------------------*/
/*全体を囲むブロック*/
#top_main {
	background: #edf7fd url(../img/top_bg.png) no-repeat top center / 100%;	/*背景色、背景画像の読み込み、最後の100%は画像幅。*/
	margin: 20px 0;
	padding: 0;
	width: 100%;
}
.maintitle {
	width: 90%;
	max-width: 600px;
	margin: 0 auto;
}
.top_text {
	width: 78%;
	margin: 0 auto;
}
.t_enter {
	max-width: 260px;
	margin: 0 auto;
	text-align: center;
}

/*ボタン装飾
---------------------------------------------------------------------------*/
.flex_btn {
	display: flex;
	justify-content: center;
}

.f_btn_l, .f_btn {
	background-image: radial-gradient(circle at 100% 0%, rgba(182, 226, 25, 0.96) 4%, rgba(25, 149, 226, 0.99) 76%, rgba(0, 113, 188, 0.99) 88%, rgba(0, 89, 170, 1) 98%);
	margin: 20px;
	min-width: 270px;
}
.f_btn {
	padding: 10px 6px 10px 30px;
	font-size: 22px;
	text-align: center;
	text-transform: uppercase;
	transition: 0.5s;
	background-size: 200% auto;
    color: #ffffff;
	box-shadow: 0 0 20px #eee;
	border-radius: 30px;
	text-decoration: none;
	display: flex;
	justify-content: space-between;
	}

.f_btn:hover {
	background-position: right center; /* change the direction of the change here */
	color: #fff;
	text-decoration: none;
	}

.f_btn_l {
	padding: 10px 30px 10px 6px;
	font-size: 22px;
	text-align: center;
	text-transform: uppercase;
	transition: 0.5s;
	background-size: 200% auto;
    color: white;
	box-shadow: 0 0 20px #eee;
	border-radius: 30px;
	text-decoration: none;
	display: flex;
	justify-content: space-between;
	}

.f_btn_l:hover {
	background-position: right center; /* change the direction of the change here */
	color: #fff;
	text-decoration: none;
	}

.f_btn_i {
	background-image: radial-gradient(circle at 100% 0%, rgba(182, 226, 25, 0.96) 4%, rgba(25, 149, 226, 0.99) 76%, rgba(0, 113, 188, 0.99) 88%, rgba(0, 89, 170, 1) 98%);
	margin: 20px auto;
	max-width: 70%;
	padding: 8px 6px 8px 30px;
	font-size: 18px;
	text-align: center;
	text-transform: uppercase;
	transition: 0.5s;
	background-size: 200% auto;
    color: #ffffff;
	box-shadow: 0 0 20px #eee;
	border-radius: 30px;
	text-decoration: none;
	display: flex;
	justify-content: space-between;
	}

.f_btn_i:hover {
	background-position: right center; /* change the direction of the change here */
	color: #fff;
	text-decoration: none;
	}

.s_btn {
	background-image: radial-gradient(circle at 100% 0%, rgba(182, 226, 25, 0.96) 4%, rgba(25, 149, 226, 0.99) 76%, rgba(0, 113, 188, 0.99) 88%, rgba(0, 89, 170, 1) 98%);
	margin: 0px;
	min-width: 260px;
}
.s_btn {
	padding: 10px 6px 10px 30px;
	font-size: 22px;
	text-align: center;
	text-transform: uppercase;
	transition: 0.5s;
	background-size: 200% auto;
    color: #ffffff;
	box-shadow: 0 0 20px #eee;
	border-radius: 30px;
	text-decoration: none;
	display: flex;

	}

.s_btn:hover {
	background-position: right center; /* change the direction of the change here */
	color: #fff;
	text-decoration: none;
	}

.in_list {
	margin-bottom: 40px!important;
}
.info_btn {
	position: relative;
	display: inline-block;
	padding: 0.25em 0.5em;
	text-decoration: none;
	color: #ffffff;
	background: #1995e2;
	transition: .4s;
	border: 1px #ffffff solid;
	border-radius: 20px;
}

.info_btn:hover {
  background: #ffffff;
  color: #1995e2;
}


/*mainブロック設定
---------------------------------------------------------------------------*/
/*mainブロック*/
#main {
	padding-top: 50px;
	max-width: 1200px;
	margin: 0 auto;
}

/*mainブロックのpタグ*/
#main p {
	margin: 0 20px 30px;
}
#main p + p {margin-top: -15px;}

.cont {
	width: 90%;
	background: #ffffff;
	margin-right: 0;
	margin-left: auto;
	padding-bottom: 30px;
	border-radius: 20px 0 0 20px;
}
h2 {
	position: relative;
	padding: 1rem 4rem;
	background: url("../img/h2.png") no-repeat left / 40px;
	font-size: 1.8em;
	font-weight: normal;
	color: #182987;
}
h2:after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  content: '';
  background-image: radial-gradient(circle at 100% 0%, rgba(182, 226, 25, 0.96) 4%, rgba(25, 149, 226, 0.99) 76%, rgba(0, 113, 188, 0.99) 88%, rgba(0, 89, 170, 1) 98%);
}
h2 span {
	color: #1995e2;
}
h3 {
	font-size: 1.6em;
	font-weight: normal;
	color: #1995e2;
	text-align: center;
}

/*フッター設定
---------------------------------------------------------------------------*/
footer small {font-size: 100%;}

footer {
	font-size: 0.8em;
	text-align: center;		/*内容をセンタリング*/
	padding: 20px;			/*ボックス内の余白*/
	background: #1995e2;		/*背景色*/
	color: #fff;			/*文字色*/
	margin-top: auto;
}

/*リンクテキスト*/
footer a {text-decoration: none;color: #ffffff;}
footer a:hover{color:#b6e219;}

.footer_list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0 1.5em;
    list-style-type: none;
    margin: 0 0 .5em;
    padding: .5em;
}

.footer_link {
    color: #fff;
    font-weight: 200;
    text-decoration: none;
}

.footer_list li:not(:last-of-type) .footer_link::after {
    margin-left: 1em;
    content: "/";
}

/*フッターメニュー設定
---------------------------------------------------------------------------*/
/*ボックス全体の設定*/
#footermenu {
	background: #1995e2;	/*背景色*/
	color: #fff;		/*文字色*/
	padding: 20px;		/*ボックス内の余白*/
	font-size: 0.8rem!important;	/*文字サイズ*/
}


/*btnの設定
---------------------------------------------------------------------------*/
.radius {
	border-radius: 25px !important;
}
a.btn1 i, a.btn2 i, a.btn3a i, a.btn3b i, a.btn4b i {
	margin-left: 20px;
}
a.btn1 i.r, a.btn2 i.r {
	margin-right: 20px;
}
a:hover.btn1, a:hover.btn2, a:hover.btn3a, a:hover.btn3b, a:hover.btn4b {
	transform: scale(1.03);
	filter: brightness(1.1);
}


/*テーブル
---------------------------------------------------------------------------*/
/*テーブル１行目に入った見出し部分（※caption）*/
.ta1 caption {
	font-weight: bold;		/*太字に*/
	padding: 10px 5px;		/*上下、左右へのボックス内の余白。基本的に数行下の「.ta1 th, .ta1 td」のpaddingと揃えておけばOKです。*/
	background: #eee;		/*背景色*/
	margin-bottom: 15px;	/*下に空けるスペース*/
}

/*ta1テーブルブロック設定*/
.ta1 {
	border-top: 1px solid #ccc;	/*テーブルの一番上の線。幅、線種、色*/
	width: 100%;
	margin: 0 auto 30px;		/*最後の「30px」がテーブルの下に空けるスペースです*/
}

/*tr（１行分）タグ設定*/
.ta1 tr {
	border-bottom: 1px solid #ccc;	/*テーブルの下線。幅、線種、色*/
}

/*th（左側）、td（右側）の共通設定*/
.ta1 th, .ta1 td {
	padding: 10px 5px;		/*上下、左右へのボックス内の余白*。基本的に数行上の「.ta1 caption」のpaddingと揃えておけばOKです。*/
	word-break: break-all;	/*英語などのテキストを改行で自動的に折り返す設定。これがないと、テーブルを突き抜けて表示される場合があります。*/
}

/*th（左側）のみの設定*/
.ta1 th {
	width: 30%;			/*幅*/
	text-align: left;	/*左よせにする*/
}

/*折りたたみ設定
---------------------------------------------------------------------------*/
.accordion {
  width: 100%;
}

/* inputのチェックボックスを非表示 */
.accordion-hidden {
  display: none;
}

/* 見出しボタン部分 */
.accordion-open {
  display: block;
  padding: 10px 80px 10px 10px;
  background: #e6e6e6;
  cursor: pointer;
  margin: 5px 0;
  position: relative;
}
.accordion-open span {
	color: #1995e2;
}

/* ＋アイコン */
.accordion-open::before,
.accordion-open::after {
  content: '';
  width: 20px;
  height: 3px;
  background: #1995e2;
  position: absolute;
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
}

/* アイコンのー */
.accordion-open::after {
  transform: translateY(-50%) rotate(90deg);
  transition: .5s;
}

/* アコーディオンが開いたらーに */
.accordion-hidden:checked+.accordion-open:after {
  transform: translateY(-50%) rotate(0);
}

/* アコーディオン中身部分 */
.accordion-inner {
  display: block;
  height: 0;
  overflow: hidden;
  padding: 0;
  opacity: 0;
  transition: 0.5s;
  /* 表示速度の設定 */
  cursor: pointer;
}

/* チェックボックスにチェックが入ったら中身部分を表示する */
.accordion-hidden:checked+.accordion-open+.accordion-inner {
  height: auto;
  opacity: 1;
  padding: 10px;
}
/* ↑ここまで共通 */

.accordion-box {
  display: block;
  height: 0;
  overflow: hidden;
  padding: 0;
  opacity: 0;
  transition: 1s;
}

.accordion-hidden:checked+.accordion-open+.accordion-box {
  height: auto;
  opacity: 1;
  padding: 10px;
}

/*クイズページ
---------------------------------------------------------------------------*/
.quiz-info {
	display: none;
	font-size: 1.2rem;
	color: white;
	margin-top: 29px;
	margin-bottom: 20px;
	max-width: 100px;
	margin-left: auto;
	margin-right: auto;
	padding: 5px;
	border: 2px solid #1995e2;
	border-radius: 5px;
	background-color: #1995e2;
	text-align: center;
}

.quiz-container,
.result-section,
.final-section {
	display: none;
	margin: 20px auto;
}

.question-number {
	margin-bottom: 30px;
	text-align: center;
	font-size: 1.6rem;
	color: #1995e2;
}
.questionTitle {
	margin-bottom: 30px;
	text-align: center;
	font-size: 1.6rem;
	color: #1995e2;
}

.question {
  margin-bottom: 10px;
  padding: 15px;
  background-color: #ffffff;
	font-size: 1.2rem;
}

.grid-container {
  display: flex;
	justify-content: space-evenly;	
}

.choice {
	width: 30%;
	max-width: 260px;
	padding: 0 10px;
	font-size: 1.6rem;
	background-color: #ffffff;
	text-align: center;
	font-weight: 700;
	cursor: pointer;
	border: 2px solid #1995e2;
	border-radius: 25px;
	box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.2);
	transition: background-color 0.3s;
}

.choice:hover {
  background-color: #1995e2;
	color: #ffffff;
}

.result-section {
  padding: 20px;
  border-radius: 10px;
}

#answer-result {
	font-size: 2rem;
	margin-bottom: 10px;
	text-align: center;
}

#explanation {
	margin-top: 10px;
	text-align: center
}

.correct {
  color: #182987;
}

.wrong {
  color: #182987;
}

#next-question {
  margin-top: 20px;
  padding: 6px;
  background-color: #ffffff;
  text-align: center;
  cursor: pointer;
  border: 2px solid #1995e2;
  border-radius: 20px;
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}

#next-question:hover {
	background-color: #1995e2;
	color: #ffffff;
}

.final-section {
	padding: 20px;
	border-radius: 20px;
	background-color: #ffffff;
	margin: 20px auto;
	width: 80%;
	text-align: center;
	font-size: 1.2rem;
}

#restart-quiz {
	margin-top: 20px;
	padding: 6px;
	background-color: #ffffff;
	text-align: center;
	cursor: pointer;
	border: 2px solid #1995e2;
	border-radius: 20px;
	max-width: 300px;
	margin-left: auto;
	margin-right: auto;
	font-size: 1rem;
}

#restart-quiz:hover {
	background-color: #1995e2;
	color: #ffffff;
}

.knowledge-box {
	border: 2px solid black;
	padding: 10px;
	margin-top: 10px;
	background-color: #f9f9f9;
	text-align: left;
}

.wak03 {
	width: 80%;
	margin: 30px auto 30px;
	background: #ffffff;
	padding: 20px;
	border: 10px solid;
	border-image: linear-gradient(to right, #0071bc, #0071bc, #b6e219) 1;
}
.wak04 {
	width: 80%;
	padding: 0.5em 2em 2em;
    margin: 2em auto;
    background: #FFF;
    border-radius: 20px;/*角の丸み*/
}
.choice {
	font-size: 180%;
}




.link_li {
    padding: 0px;
    margin: 0px;
    list-style: none;
}

.link_li > li {
    position: relative;
    padding: 0px 0px 0px 1em;
}
.link_li > li::before {
    position: absolute;
    top: 16px;
    left: 0px;
    transform: translateY(-50%);
    width: 0px;
    height: 0px;
    border: 0.3em solid transparent;
    border-left: 0.4em solid #1995e2;
    content: "";
}






/*その他
---------------------------------------------------------------------------*/
.clearfix::after {content: "";display: block;clear: both;}
.color-theme, .color-theme a {color: #ed7d0f !important;}
.color-check, .color-check a {color: #f00 !important;}
.c {text-align: center !important;}
.ws {width: 95%;display: block;}
.wl {width: 95%;display: block;}
.mt20 {margin-top: 20px !important;}
.mb20 {margin-bottom: 20px !important;}
.mb30 {margin-bottom: 30px !important;}
.mt30 {margin-top: 30px !important;}
.mb100 {margin-bottom: 100px !important;}
.mt100 {margin-top: 100px !important;}
.mr20 {margin-right: 20px !important}
.ml20 {margin-left: 20px !important}
.look {display: inline-block;padding: 0px 10px;background: #eee; border: 1px solid #ccc; border-radius: 3px;margin: 2px 0; word-break: break-all;}
.small {font-size: 0.8em; letter-spacing: normal !important;}
.large {font-size: 1.8em !important;}
.medd {font-size: 1.6em !important;}
.block {display: block !important;}
.sh {display: block;}
.pc {display: none;}
.hidden {position: absolute; top: -9999px; left: -9999px;}
.rig {text-align: right !important;}
.bold {font-weight: 500; color: #424689;}
hr {width: 90%; border: 2px solid #424689;}
.blue {color: #1995e2!important;}


/*---------------------------------------------------------------------------
ここから下は画面幅900px以上の追加指定
---------------------------------------------------------------------------*/
@media screen and (min-width:900px) {


/*全体の設定
---------------------------------------------------------------------------*/
html, body {
	font-size: 16px;	/*基準となるフォントサイズの上書き*/
}

/*トップページのメイン画像
---------------------------------------------------------------------------*/
/*テキストブロック*/
#mainimg #text {
	width: 50%;		/*幅*/
}


/*その他
---------------------------------------------------------------------------*/
.ws {width: 48%;display: inline;}
.sh {display: none;}
.pc {display: inline-block;}

}


/*その他
---------------------------------------------------------------------------*/
section {
	width: 100%;
}
.w_box {
	padding: 0.5em 2em 2em;
    margin: 2em 0;
    background: #FFF;
    border-radius: 20px;/*角の丸み*/
}
.dark{
    background: #aee0ff;
}
.flex {
	display: flex;
}
.flex_mov {
	display: flex;
	align-items: flex-end;
}
.flex .item {
  flex: 1;
}
.flex .cast{
	width: 20%;
	padding: 1em 1.5em;
}
.flex .talk {
	width: 80%;
}
.flex .talk p {
	padding: 1em 1.5em;
    margin: 2em 0;
    background: #FFF;
    border-radius: 20px;/*角の丸み*/
}
.track-title {
	width: 35%;
	background: #1995e2;
	font-size: 1.3em;
	color: #ffffff;
	padding: 0 0 0 1em;
}
.sub-title{
	width: 65%;
	background: #d1eaf9;
	font-size: 1.3em;
	padding: 0 1em;
}

.bicolor {
  font-size: 1.2em;
	font-weight: normal;
}
.bicolor span {
	color: #1995e2;
}
.movbg {
	width: 25%;
}
.table_d {
	width: 80%;
	border-collapse: collapse;
	border-spacing: 0;
	border: solid 2px #1995e2;
	margin: 20px auto;
}
.table_d th {
	padding: 8px;
	background: #aee0ff;
	border: solid 1px #1995e2;
	border-bottom: solid 2px #1995e2;
	color: #1995e2;
	text-align: center;
}
.table_d td {
	padding: 8px;
	border-left: solid 1px #1995e2;
}
.table_d tr {
	border-top: dashed 1px #1995e2;
}

.wak02 {
	width: 80%;
	margin: 30px auto 30px;
}


.flex_top {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	margin: 0;
	padding: 0;
}
.flex_top .top{
	width: 100%;
	padding-top: 50px;
}
.flex_top .side img {
	object-fit: contain;
	width: 100%;
	height: 100%;
}

/*---------------------------------------------------------------------------
ここから下は画面幅460px以下の追加指定
---------------------------------------------------------------------------*/
@media screen and (max-width:460px) {
	.flex {
		display: flex;
		flex-direction: column!important;
}
	.flex .cast {
	width: 60%!important;
	padding: 1em 1.5em;
	margin: 0 auto;
}
	.flex .talk {
	width: 100%!important;
}
	.track-title {
	width: 100%!important;
	background: #1995e2;
	font-size: 0.8em;
	color: #ffffff;
	padding: 0 1em;
		
}
	.sub-title{
	width: 100%!important;
	background: #d1eaf9;
	font-size: 0.8em;
	padding: 0 1em;
}
	.movbg {
		display: none!important;
}
	.wak02 {
	width: 100%!important;
	margin: 20px auto 20px;
}
	.wak02 .f_btn {
		padding: 8px;
		font-size: 1em!important;
	}
	.flex_btn {
		flex-direction: column;
	}
	.f_btn_i {
	margin: 20px auto;
	max-width: 90%;
	padding: 8px 6px 8px 30px;
	font-size: 16px!important;
	}
	
	h2 {
	position: relative;
	padding: 1rem 0.5rem 1rem 3rem;
	background: url("../img/h2.png") no-repeat left / 40px;
	font-size: 1.3em!important;
	font-weight: normal;
	color: #182987;
}
	.maintitle {
	width: 100%;
	max-width: 600px;
	margin: 0 auto;
}
	.top_text {
	width: 90%;
	margin: 0 auto;
}
	.t_enter {
	max-width: 260px;
	text-align: center;
	margin: 0 auto;
}
	.flex_top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 0;
	padding: 0;
}

}




