@charset "UTF-8";

/* =============================================
 STYLE CSS
============================================= */

/*ゴシック*/
@import url('https://fonts.googleapis.com/css?family=Montserrat');

/*明朝*/
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville&display=swap');

.pc{
	display: none;
}

@media screen and (min-width: 1025px){
	.sp{
		display: none;
	}
	.pc{
		display: block;
	}

	a:hover{
		opacity: .6;
		transition: .3s;
	}
}

h2,h3{
	color: #1f0f4b;
}

img{
	max-width: 100%;
	height: auto;
}

.preparation{
	background-color: #f4f2eb;
	font-size: 12px;
	font-family: 'Montserrat',游ゴシック体, "Yu Gothic", YuGothic, "Hiragino Kaku Gothic Pro", メイリオ, Meiryo, Osaka, "ＭＳ Ｐゴシック","ヒラギノ角ゴ ProN";
	padding-bottom: 40px;
}

.main_img{
	background-image: url(../img/main_img.jpg);
	background-size: cover;
	background-position: center top;
	height: 500px;
}

.main_img + .contents{
	margin-top: -100px;
}

.main_txt{
	text-align: center;
	line-height: 2;
	max-width: 600px;
	margin: 0 auto;
}

.main_txt h2{
	margin-bottom: 20px;
}

.contents{
	background-color: #FFF;
	max-width: 1024px;
	margin-left: 15px;
	margin-right: 15px;
	padding: 20px;
	border-top: 4px solid #ffbbb4;
}

.menu_box{
	margin-top: 30px;
	padding: 20px 15px 30px;
	background-color: #f4f2eb;
	border-radius: 6px;
	border: 4px solid #e0d8bd;
}

.menu_box ul li{
	color: #1f0f4b;
	font-size: 14px;
	font-weight: bold;
	box-sizing: border-box;
	line-height: 30px;
	margin-top: 15px;
}
.menu_box ul li img{
	height: 35px;
	margin-right: 10px;
}

.menu_box ul{
	position: relative;
}

.menu_box ul::after{
	position: absolute;
	bottom: -60px;
	right: -50px;
	content: "";
	width: 130px;
	height: 90px;
	background-image: url(../img/menu_box_img.png);
	background-repeat: no-repeat;
	background-size: contain;
}

.menu_box a{
	/*border-bottom: 1px dashed #1f0f4b;*/
	display: block;
	position: relative;
}


.menu_box a::before{
	content: "";
	position: absolute;
	bottom: 0;
	width: calc(100% - 50px);
	min-width: 264px;
	background-color: #9e9da0;
	height: 1px;
	right: 0;
}

.menu_box a::after{
	content: "";
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0 0 10px 10px;
	border-color: transparent transparent #1f0f4b transparent;
	position: absolute;
	right: 10px;
	bottom: 15px;
	z-index: 1;
}


.step_box{
	margin-top: 60px;
}

.step_box a{
	display: inline-block;
	width: 100%;
	height: auto;
	padding: 15px 0;
}

.step_box p{
	text-align: center;
	margin: 28px 0;
	line-height: 2;
}

.step_box ul{
	max-width: 600px;
	margin: 0 auto;
}

.step_box ul li{
	border-bottom: dotted 1px #333;
	font-weight: bold;
	color: #1f0f4b;
	position: relative;
	padding-left: 32px;
}

.step_box ul li:first-child{
	border-top: dotted 1px #333;
}

.step_box ul li::before{
	content: "";
	background-image: url(../img/step_icon.png);
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
    padding: 15px;
    position: absolute;
    top: 10px;
    left: 0;
    z-index:1;
}

.step_box ul li::after{
	content: "";
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0 0 10px 10px;
	border-color: transparent transparent #1f0f4b transparent;
	position: absolute;
	right: 10px;
	bottom: 15px;
}

.step_bgimg{
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	height: 150px;
	position: relative;
}

.step_title h3{
	line-height: 1.2;
	font-size: 17px;
}

.step_title{
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	margin: auto;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center top;
	width: 100%;
    max-width: 280px;
	padding-top:55px;
	text-align: center;
}

#step1 .step_bgimg{
	background-image: url(../img/step_bg1.jpg);
}

#step1 .step_title{	
	background-image: url(../img/step_bg1.png);
}

#step2 .step_bgimg{
	background-image: url(../img/step_bg2.jpg);
}

#step2 .step_title{	
	background-image: url(../img/step_bg2.png);
}


#step3 .step_bgimg{
	background-image: url(../img/step_bg3.jpg);
}

#step3 .step_title{	
	background-image: url(../img/step_bg3.png);
}


#step4 .step_bgimg{
	background-image: url(../img/step_bg4.jpg);
}

#step4 .step_title{	
	background-image: url(../img/step_bg4.png);
}


#step5 .step_bgimg{
	background-image: url(../img/step_bg5.jpg);
}

#step5 .step_title{	
	background-image: url(../img/step_bg5.png);
}


#step6 .step_bgimg{
	background-image: url(../img/step_bg6.jpg);
}

#step6 .step_title{	
	background-image: url(../img/step_bg6.png);
}



@media screen and (min-width: 768px){
	.main_img{
		height: 700px;
	}

	.menu_box ul{
		display: flex;
		flex-wrap: wrap;
	}
	.menu_box ul li{
		width: 50%;
		font-size: 16px;
	}
	.menu_box ul li img{
		height: 45px;
	}

	.step_box p{
		margin: 40px 0;
		line-height: 2;
	}
}

@media screen and (min-width: 1025px){
	.preparation{
		font-size: 14px;
		padding-bottom: 70px;
	}
	.main_img{
		background-position: center;
		height: 700px;
		max-width: 1580px;
		margin: 0 auto;
	}

	.contents{
		margin-left: auto;
		margin-right: auto;
		padding: 40px;
	}
	.menu_box{
		margin-top: 40px;
		padding: 33px 40px 40px;
	}

	.step_bgimg{
		height: 250px;
	}
	.step_title{
		padding-top: 80px;
	}
	.step_title h3{
		line-height: 1.4;
		font-size: 20px;
	}

	.step_box{
		margin-top: 80px;
	}

}


/* ======================================= */
/* 記事 */
/* ======================================= */


.pankuzu,.pankuzu a{
	font-size: 80%;
	display: inline-block;
	margin-bottom: 3px;
}

.pankuzu a{
	text-decoration: underline;
}

.article{
	padding-top: 70px;
}

.article .step_box{
	margin-top: 0;
}

.sub_menu{
	display: none;
}


.article_txt p{
	margin-bottom: 20px;
}

.article_txt h2{
	font-size: 16.5px;
}

.article_txt h2.q {
  	position: relative;
  	line-height: 1.4;
  	margin-top: 20px;
  	margin-bottom: 15px;
  	padding: 0.5em 0.5em 0.5em 1.8em;
  	z-index: 1;
}

.article_txt h2.q:before {
	font-family: 'Libre Baskerville', serif;
  	content: "Q";
  	font-weight: normal;
  	font-size: 110%;
  	color: #ffd1cd;
  	position: absolute;
  	left : 0.5em; /*左端からのアイコンまでの距離*/
}

.article_txt h2.a {
  	position: relative;
  	background: #d9d8ef;
  	line-height: 1.4;
  	padding: 0.5em 0.5em 0.5em 1.8em;
  	margin-bottom: 15px;
}

.article_txt h2.a:before {
	font-family: 'Libre Baskerville', serif;
  	content: "A";
  	font-weight: normal;
  	font-size: 110%;
  	color: #908fb2;
  	position: absolute;
  	left : 0.5em; /*左端からのアイコンまでの距離*/
}

.article_txt h3 {
  position: relative;
  padding: 0.5em;
  background: #ffbbb4;
  color: #FFF;
  margin-bottom: 20px;
}

.article_txt h3:after {
  position: absolute;
  content: '';
  top: 100%;
  left: 30px;
  border: 12px solid transparent;
  border-top: 12px solid #ffbbb4;
  width: 0;
  height: 0;
}

.article_txt h4 {
	font-size: 14px;
  	position: relative;
  	z-index: 1;
  	font-size: 16px;
  	font-weight: normal;
  	margin-bottom: 10px;
  	padding-left: 5px;
}

.article_txt h4:after {
  	content: "";
  	position: absolute;
  	z-index: -1;
  	left: 0;
  	bottom: 0;
  	width: 100%;
  	height: 12px;
  	background: -webkit-repeating-linear-gradient(-45deg, #ffbbb4, #ffbbb4 1px, #fff 1px, #fff 4px);
  	background: repeating-linear-gradient(-45deg, #ffbbb4, #ffbbb4 1px, #fff 1px, #fff 4px);
}

.article_txt ul{
	margin-bottom: 20px;
}
.article_txt ul li{
	list-style-image: url(../img/li_icon.gif);
	list-style-position: outside;
	margin-left: 2em;
}

.a_line{
	margin-bottom: 2em;
	color: #1f0f4b;
	border-bottom: 1px dashed #1f0f4b;
	display: inline-block;
	padding-bottom: 2px;
}

table {
	width:100%;
	max-width: 380px;
	font-size:88%;
	text-align:left;
	margin-bottom:20px;

}


table th{
	background-color:#FAF0E6;
	padding:5px;
	border:solid 1px #5E070C;
}

table td{
	background-color:#FFF;
	padding:5px;
	border:solid 1px #5E070C;
}

.kana{
	display: block;
	font-size: 80%;
}

@media screen and (min-width: 768px){
	.article{
		padding-top: 100px;
	}

	.article .menu_box ul{
		display: flex;
		flex-wrap: wrap;
	}
}

@media screen and (min-width: 1025px){
	.flex_box{
		max-width: 800px;
		margin: 0 auto;
		display: flex;
	}
	.sub_menu,
	.sub_menu + .contents{
		box-sizing: border-box;
	}
	.sub_menu{
		display: block;
		border-top: 4px solid #ffbbb4;
		width: 300px;
		padding: 20px 0 0 20px;
		background-color: #FFF;
		font-size: 11px;
	}
	.sub_menu + .contents{
		width: 500px;
		padding: 5px 20px 20px;
	}

	.sub_menu .step_title{
		position: inherit;
		padding-top: 80px;
		margin-bottom: 30px;
	}

	.article .menu_box ul{
		display: block;
	}
	.article .menu_box ul li{
		width: 100%;
	}

}



/*  ボタン  */
.btn {
	display: block;
	position: relative;
	width: 180px;
	line-height: 3em;
	text-align: center;
	text-decoration: none;
	color: #fff;
	background: #a19361;
	border: 1px solid #a19361;
	margin:  40px auto 10px;
	transition: all .2s;
}
.btn::after {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 10px 10px;
    border-color: transparent transparent #FFF transparent;
    position: absolute;
    right: 10px;
    bottom: 13px;
}
.btn:hover {
	cursor: pointer;
	text-decoration: none;
	color: #a19361;
	background: #FFF;
}

.btn:hover:after{
    border-color: transparent transparent #a19361 transparent;
}

@media screen and (max-width: 375px){
	.menu_box a{
		font-size: 90%;
	}
}
