@charset "utf-8";

/*======
   初期化
======*/
*, *::before, *::after {
	box-sizing: border-box;
}

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}

body {
	line-height: 1;
	font-family: "Zen Kaku Gothic New", sans-serif;
	font-weight: 400;
 	font-style: normal;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { 
    display: block;
}

li {
	list-style: none;
}

img {
	vertical-align: bottom;
	max-width: 100%;
	height: auto;
	width: auto\9; /* ie8 */
}

a {
	color: #000;
	text-decoration: none;
}


/*======
   基本レイアウト
======*/
.wrap {
}

.onlyPC {
	display: none;
}

.overflow {
	overflow: hidden;
}

.position_rel {
	position: relative;
}

.flex {
	display: flex;
}

.row_r {
	flex-direction: row-reverse;
}

.colu {
	flex-direction: column;
}

.colu_r{
	flex-direction: column-reverse;
}

.justify_center {
	justify-content: center;
}

.justify_around {
	justify-content: space-around;
}

.justify_between {
	justify-content: space-between;
}

.align_center {
	align-items: center;
}

.align_start {
	align-items: flex-start;
}

.center {
	text-align: center;
}

.font_sss {
	font-size: 1.75vw;	
}

.font_ss {
	font-size: 1.9vw;
}

.font_s {
	font-size: 2.6vw;
}

.font_h1 {
	font-size: 2.65vw;
}

.font_ms {
	font-size: 2.5vw;
}

.font_m {
	font-size: 2.6vw;
}

.font_ml {
	font-size: 3vw;
}

.font_l {
	font-size: 5vw;
}


.block {
	display: block;
}

.font_blue {
	color: #00008b;
}

.font_w {
	color: #fff;
}

.bold {
	font-weight: bold;
}

.max {
	max-width: 768px;
	margin: 0 auto;
}

/*======
   header
======*/
header {
	width: 100%;
	max-width: 1000px;
	position: fixed;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	z-index: 3;
}

.h_wrap {
	background-color: #fff;
	padding: 0.5rem 0;
}

h1 {
	background-color: #FFF23F;
	padding: 0.5rem;
}

nav {
	margin: 0.5rem 0 0;
}

.menu1 {
	background: url("img/header_step1.jpg") center center/contain no-repeat;
}

.menu2 {
	background: url("img/header_step2.jpg") center center/contain no-repeat;
}

.menu3 {
	background: url("img/header_step3.jpg") center center/contain no-repeat;
}

.menu4 {
	background: url("img/header_step4.jpg") center center/contain no-repeat;
}

.manu a {
	display: inline-block;
}

.menu a img {
	transition: all 0.5s;
}

.menu a:hover img {
    opacity: 0;
	transition: all 0.25s;
}

#main_nav {
	position: relative;
}

.main_nav p {
	width: 50%;
	background-color: #00008b;
	line-height: 1.7;
}

.main_nav p:first-child {
	padding: 0 0.5rem;
}

.main_nav p span {
	background-color: #fff;
	padding: 0 0.5rem;
	margin: 0 0.5rem 0 0;
}

.main_nav ul {
	width: 7.8%;
	max-width: 47.5px;
	margin-left: 0.15rem;
	position: absolute;
	top: 1.5rem;
	left: 0;
}

.main_nav ul li {
	margin: 0.5rem 0;
}

/*--main--*/

main {
	padding-top: 34%;
}

h2 {
	line-height: 1.8;
	background-color: #00008b;
	margin: 1rem 0 0;
	letter-spacing: 0.2rem;
}

.top_title {
	background-color: #fff;
	margin: auto 1rem;
	padding: 0 0.5rem;
	letter-spacing: 0.05rem;
}

.topic_title {
	line-height: 1.5;
	background-color: #FFF23F;
	border-bottom: solid 2px #000;
}

.topic_main {
	margin: 1rem auto;
}

.topic_main dl {
	margin: 0 0.2rem;
}

.topic_main dd {
	margin-top: 0.25rem;
	letter-spacing: -0.075rem;
	line-height: 1.1;
}

.topic_example {
	line-height: 1.7;
	background-color: #00008b;
	letter-spacing: 0.1rem;
	padding: 0 0 0 1.5rem;
}

.topic_step3 {
	height: 3.5vw;
	font-size: 1.8vw;
}

.topic_step5 {
	margin-bottom: 1rem;
}

.topic_step5 dt,
.topic_step5 dd {
	padding: 1rem 0;
	line-height: 1.5;
}

 .topic_step5 dt {
	 border-bottom: solid 3px #00008b;
}


/*--section--*/

h3 {
	line-height: 3rem;
	background-color: #FFF23F;
	border-bottom: solid 2px #000;
}

h3 .stepimg {
	margin: auto 1rem;
	height: 3rem;
}

.step {
	width: 91%;
	margin-left: auto;
	padding: 1.5rem 1rem;
	border-left: solid 2px #000;
}

.step_box {
	width: 95%;
	margin: 0 auto 3rem;
}

.step_box dt {
	background-color: #000;
	padding: 0.25rem 0;
	letter-spacing: 0.1rem;
}

.dd_text {
	margin: 1rem 0;
	line-height: 1.5;
}

.dd_box {
	display: flex;
	flex-direction: 
column;
}

.flow {
	width: 95%;
	margin: 0 auto;
}

.flow dt {
	background-color: #00008b;
	padding: 0.5rem;
}

.flow ul li {
	border: solid 1.5px #00008b;
	padding: 0.5rem;
	margin: 0.5rem 0;
}

.flow_img {
	max-width: 370px;
	margin: 1rem 0 1rem 1rem;
}

.dd_img {
	max-width: 370px;
	margin: 2rem auto;
}

.think {
	border: solid 1.5px #00008b;
	margin: 0.5rem 0;
}

.think dt {
	width: 40%;
	background-color: #00008b;
	padding: 0.5rem;
}

.think dd {
	width: 60%;
	padding: 0.5rem 0.5rem 0.5rem 1rem;
}

.chack_ {
	width: 45%;
	position: absolute;
	top: -12vw;
	right: 0;
}

.table_box {
	margin: 0 auto 2rem auto;
	width: 95%
}

.table_box dt {
	margin: 3rem 0 1rem 0;
	line-height: 1.2;
}

.key_box {
	padding: 1rem 0;
}

.key_box dt {
	border-bottom: solid 3px #00008b;
	background-color: #fff;
}

.key_box dd {
	padding: 0.25rem 0.5rem;
	line-height: 1.2;
}

.classification {
	padding: 0.25rem 1rem;
	background-color: #00008b;
	margin: 0 0.25rem;
}

.list_box {
	width: 30%;
	border: solid 1px #00008b;
	padding-bottom: 0.5rem;
	margin-bottom: 2rem;
}

.list_box dt {
	padding: 0.25rem 1rem;
	background-color: #00008b;
	margin-bottom: 0.5rem;
}

.list_box dd {
	padding: 0.5rem 0.5rem;
	line-height: 1.2;
}

.text_chack {
	margin: 1rem 0;
	position: relative;
	padding-left: 1.5rem;
}

.text_chack::before {
	content: "";
	display: block;
	width: 3.1vw;
	height: 3.1vw;
	background: url("img/step4_chack.png") center center/contain no-repeat;
	position: absolute;
	top: 0.1rem;
	left: 0;
}

.merit ul {
	padding: 1rem 0 1rem;
	line-height: 1.5;
}

.merit dl dt {
	background-color: #00008b;
	padding: 0.25rem;
	margin-top: 2rem;
}

.merit dl dd {
	padding: 1rem 0;
	line-height: 1.25;
}

.merit_img {
	width: 60%;
	margin: 1rem auto 0;
	max-width: 300px;
}

.support {
	width: 48%;
	border: solid 2px #00008b;
}

.support dt {
	background-color: #00008b;
	padding: 0.5rem 0;
	letter-spacing: -0.01rem;
}

.support dd {
	padding: 1rem;
	
}

.button {
	width: 45%;
}

.button a {
	border: solid 2px #00008b;
	border-radius: 10px;
	padding: 0.5rem 1rem;
	color: #00008b;
	transition: all 0.75s;
}

.button a:hover {
	background-color: #00008b;
	color: #fff;
	transition: all 0.25s;
}

.sample_img {
	margin-bottom: 3rem;
}

.sample_img:nth-child(2) {
	width: 86%;
	margin: 0 auto 3rem;
}



footer {
	max-width: 1000px;
	margin: 0 auto;
}

.f_wrap {
	height: 20vw;
	background-color: #00008b;
}

.f_nav_rev {
	float: left;
	width: 40%;
	max-width: 250px;
	margin: 0.5rem;
}

.f_nav_next {
	float: right;
	width: 40%;
	max-width: 250px;
	margin: 0.5rem;
}


#pagetop{
	width: 10%;
	height: 2.5rem;
	line-height: 2.5rem;
	position: fixed;
	right: 0;
	bottom: 0;
	z-index: 7;
	background: #00cc00;
	border-top: solid 1px #fff;
	border-right: solid 1px #fff;
}

#pagetop::before {
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
	content: '\f0d8';
	display: block;
	font-size: 3.1vw;
	color: #fff;
	width: 10%;
	height: 2.5rem;
	position: absolute;
	top: -22.5%;
    left: 50%;
    transform: translateX(-50%);
}


.sab_nav {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 90%;
	background-color: #fff;
	z-index: 9;
}

.sab {
	width: 50%;
	height: 2.5rem;
	line-height: 2.5rem;
	border-top: solid 1px #fff;
	border-right: solid 1px #fff;
	transition: all 0.25s;
}

.sab:hover {
	background-color: #F7931E;
	transition: all 0.25s;
}

.sab_l {
	background-color: #00008b;
}

.sab_r {
	background-color: #00cc00;
	padding-left: 1.5rem;
}

.font_sab_r {
	font-size: 2.6vw;
}

.sab_r:before {
	content: "";
	background: url("img/mail.png") center center/contain no-repeat;
	width: 40%;
	height: 40%;
	position: absolute;
    top: 50%;
    left: 7.5%;
    transform: translateY(-50%);
	
}





/*======
   スクリーンサイズ　768px
======*/
@media screen and (min-width: 768px) {

	.onlySP {
		display: none;
	}
	
	.onlyPC {
		display: block;
	}
	
	.font_sss {
		font-size: 0.6rem;
	}
	
	.font_ss {
		font-size: 0.75rem;
	}

	.font_s {
		font-size: 0.8rem;
	}
	
	.font_h1 {
		font-size: 1.2rem;
		letter-spacing: 0.11rem;
	}

	.font_ms {
		font-size: 0.9rem;
	}

	.font_m {
		font-size: 1rem;
	}

	.font_ml {
		font-size: 1.1rem;
	}

	.font_l {
		font-size: 1.75rem;
	}

	
	.menu1 {
	background: url("img/pc_header_step1.jpg") center center/contain no-repeat;
	}

	.menu2 {
		background: url("img/pc_header_step2.jpg") center center/contain no-repeat;
	}

	.menu3 {
		background: url("img/pc_header_step3.jpg") center center/contain no-repeat;
	}

	.menu4 {
		background: url("img/pc_header_step4.jpg") center center/contain no-repeat;
	}

	
	.menu img {
		max-height: 100px;
	}
	
	
	main {
		padding-top: 9rem;
}
	
	.chack_ {
		width: 35%;
		top: -4.5rem;
}
	
	.main_nav {
		max-width: 875px;
		margin: 0 auto;
	}
	
	.dd_box {
		display: flex;
		flex-direction: 
row;
	}
	
	.text_chack::before {
		width: 1.1rem;
		height: 1.1rem;
	}
	
	.merit {
		margin-right: 2rem;
	}
	
	.topic_step3 {
		height: 2rem;
		font-size: 0.9rem;
	}

	
	#pagetop{
		width: 3rem;
		height: 3rem;
		line-height: 3rem;
	}
	
	#pagetop::before {
		font-size: 1rem;
}

	
	.f_wrap {
		height: 3.5rem;
	}
	
	.f_nav {
		width: 95%;
		margin: 0 auto;
	}
	
	
	.sab_nav {
		width: 100%;
		max-width: 1000px;
		left: 50%;
		bottom: 3.5rem;
		transform: translateX(-50%);
		flex-direction: column;
		background: none;
	}

	.sab {
		width: 65px;
		max-width: 80px; 
		height: auto;
		line-height: 1;
		border-radius: 0 25px 0 0;
		overflow: hidden;
		}

	.sab_l {
		writing-mode: vertical-rl;
		height: 7rem;
		line-height: 65px;
		position: fixed;
		bottom: 4.25rem;
		left:0;
	}

	.sab_r {
		letter-spacing: -0.1rem;
		margin-top: 0.25rem;
		height: 4rem;
		line-height: 88px;
		padding-left: 0;
		position: fixed;
		bottom: 0;
		left:0;
	}
	
	.font_sab_r {
		font-size: 0.65rem;
}

	.sab_r:before {
		top: 38%;
		left: 29%;
	}
	
	}



