@import url(https://fonts.googleapis.com/earlyaccess/notosansjp.css);
@import url(https://fonts.googleapis.com/css?family=Pacifico);

/* reset */
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td{margin:0;padding:0;}
address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;}
ul{list-style:none;}
table{border-collapse:collapse;border-spacing:0;}
caption,th{text-align:left;}
q:before,q:after{content:'';}
object,embed{vertical-align:top;}
legend{display:none;}
h1,h2,h3,h4,h5,h6{font-size:100%;}
img,abbr,acronym,fieldset{border:0;}
hr{border: none;}/*追加*/

body{
	font: 18px/1.9 'Noto Sans JP', Arial, Verdana, 游ゴシック, YuGothic,'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', メイリオ, Meiryo,sans-serif;
	font-weight: 300;
	-webkit-text-size-adjust:100%;
	overflow-x: hidden;
	color: #000;
}

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

a:hover, .active{
	text-decoration: none;
	opacity: 0.6;
	transition: 0.5s;
}

a:active, a:focus,input:active, input:focus{outline:0;}


/* ヘッダー
------------------------------------------------------------*/
#header{
	text-align: center;
}
#header h1{
	display: none;
}

#mainImg{
	position: relative;
	overflow: hidden;
	width: 100%;
	height: 400px;
}

#mainImg img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
}

@media screen and (max-width: 768px) {
  #mainImg {
    height: 180px;
  }
}




/* フッター
------------------------------------------------------------*/
#footer{
	clear: both;
	padding: 30px 10px 50px 0;
	text-align: center;
	font-size: 12px;
}

/*メニューをページ下部に固定*/
#sp-fixed-menu{
   position: fixed;
   width: 100%;
   bottom: 0px;
   /*opacity: 0.9;*/
   z-index: 99;
}
#sp-fixed-menu ul{
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    font-size: 18px;
	font-weight: 600;
}
#sp-fixed-menu li{
	justify-content: center;
	align-items: center;
	width: 50%;
	margin: 0;
	/*border-right: 1px solid #fff;(色違いにため)不要*/
	background: #c9caca;
	line-height: 1.3;
}

/*右メニュー(色違いにため追加)*/
#sp-fixed-menu li:last-child{
	background: #53b332;
}

/*右メニューのみ　区切り線なし(色違いにため不要)
#sp-fixed-menu li:last-child{
   border-right: none;
}*/

/*ボタンを調整*/
#sp-fixed-menu li a{
   color: #fff;
   text-align: center;
   display:block;
   width: 100%;
   padding:10px 0;
}
/**/


/* ページ共通　メイン
------------------------------------------------------------*/

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

section{
	clear:both;
	padding: 50px 0;
}

.inner{
	width: 94%;
	margin: 0 auto;
	padding-bottom: 20px;
}

.indentS{
	margin-bottom: 10px;
}

.indentM{
	margin-bottom: 20px;
}

.indentL{
	margin-bottom: 40px;
}

.outdentS{
	margin-top: 10px;
}

/*追従するトップへボタン　*/
#page_top{
	width: 50px;
	height: 50px;
	position: fixed;
	right: 0;
	background-color: #000;
	z-index: 1000;
}
#page_top a{
  position: relative;
  display: block;
  width: 50px;
  height: 50px;
  text-decoration: none;
}
#page_top a::before{
  font-family: FontAwesome;
  content: '\f106';
  font-size: 30px;/*初期値25*/
  color: #fff;
  position: absolute;
  width: 25px;
  height: 50px;
  top: 0;
  bottom: 12px;/*アイコンセンター調整　初期値0*/
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}

#page_top a:hover {
	background-color: #555;
	transition: 0.5s;
}

/* スマホでは非表示 */
@media screen and (max-width: 768px) {
  #page_top {
    display: none;
  }
}


/*共通サブ
------------------------------------------------------------*/
/* パソコンで見たときは"pc"のclassがついた画像が表示される */
.pc { display: block !important; }
.sp { display: none !important; }
 
/* スマートフォンで見たときは"sp"のclassがついた画像が表示される */
@media only screen and (max-width: 640px) {
    .pc { display: none !important; }
    .sp { display: block !important; }
}

/*スマホで改行*/
.br-sp {
  display: none;
}
@media screen and (max-width: 640px) {
  .br-pc {
    display: none;
  }
  .br-sp {
    display: inline-block;
  }
}
/*タブレット以下で改行*/
.br-tb {
  display: none;
}
@media screen and (max-width: 1024px) {
  .br-pc {
    display: none;
  }
	.br-tb {
    display: inline-block;
  }
}

/*パソコンの時だけ改行*/
.pc-only-br {
    display: none;
  }

@media screen and (min-width: 767px) {
	.pc-only-br {
		display: inline;
    }
}


/*テキストレイアウト パソコンはセンター寄せ、スマホでは左寄せ*/
.responsive-text {
	text-align: center;
}

@media screen and (max-width: 767px) {
	.responsive-text {
		text-align: left;
    }
}





/* flow
------------------------------------------------------------*/
#flow01{
}
h2{
	font-size: 30px;
	text-align: center;
	line-height: 1.2;
	margin-bottom: 50px;
}

/* 左上にずらした背景色ありタイトル */
.box_step {
    position: relative; /* タイトルをボックス内の左上に配置するための基準 */
    margin: 0 auto 2em; /* 外側の余白（上下と中央配置） */
    border: 1px solid #666; /* 枠線の色を設定 */
    border-radius: 5px; /* 角を少し丸めて柔らかい印象に */
}

.box_step .box-title {
    background-color: #666; /* タイトルの背景色 */
    color: #fff; /* タイトルの文字色（白） */
    padding: 0.1em 1em; /* タイトルの内側余白（上下・左右） */
    position: absolute; /* 親要素（.box5-4）の中で固定配置 */
    top: -0.8em; /* タイトルをボックスの上に少しはみ出させる */
    left: 1em; /* 左側に少し余白を取る */
    display: inline-block; /* タイトルの幅を内容に合わせる */
    font-size: 1.2em; /* タイトルのフォントサイズを設定 */
    border-radius: 5px; /* タイトルの角を丸める */
    width: auto; /* タイトル幅を内容に応じて可変にする */
    max-width: calc(100% - 2em); /* 左右の余白を考慮して最大幅を調整 */
    white-space: nowrap; /* タイトルを1行に固定 */
    overflow: hidden; /* はみ出した部分を非表示 */
    text-overflow: ellipsis; /* 省略記号（...）を表示 */
}

.box_step .box-content {
    padding: 3em 2em 2em; /* 上部の余白を多めに確保し、タイトルと本文が重ならないようにする */
}

.box_step p {
    margin: 0; /* 段落の余白をなくして統一感を出す */
}


#flow02{
}

.cp_qa02 dt,
.cp_qa02 dd {
  position: relative;
  padding: 0.5em 1em;
  /*box-shadow: 0px 1px 1px rgba(0,0,0,0.2);*/
  border-radius: 0.3em;
}
.cp_qa02 dt {
  margin: 0 3em 1em 3em;
  background: #ffe0b2;
}
.cp_qa02 dd {
  margin: 0 3em 3em 3em;
  background: #CEE9C5;
}
/* 吹き出し▶︎ */
.cp_qa02 dt::before,
.cp_qa02 dd::before{
  position: absolute;
  content: '';
  top: 5px;
  width: 10px;
  height: 10px;
  clip-path: polygon(0 0, 0% 100%, 100% 40%);
}
/* 質問吹き出し▶︎ */
.cp_qa02 dt::before {
  left: -0.5em;
  background: #ffe0b2;
  transform: scaleX(-1);
}
/* 答え吹き出し▶︎ */
.cp_qa02 dd::before {
  right: -0.5em;
  background: #CEE9C5;
}
/* ?!アイコン */
.cp_qa02 dt::after,
.cp_qa02 dd::after {
  position: absolute;
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
	justify-content: center; /* ← テキストの中央寄せに役立つ */
  font-weight: bold;
  width: 24px;
  height: 24px;
  color: #ffffff;
  clip-path: circle(50% at 50% 50%);
}
/* ?アイコン */
.cp_qa02 dt::after {
  left: -2.5em;
  content: '？';
  background: #f57c00;
}
/* !アイコン */
.cp_qa02 dd::after {
  right: -2.5em;
  content: '！';
  background: #53b332;
}










/* RESPONSIVE 設定
------------------------------------------------------------*/

@media only screen and (min-width: 1200px){
	.inner{
		width: 1024px;
	}
}

@media only screen and (min-width: 800px){
	body{
		font-size:18px;
	}
	
  #footer{
		padding: 10px 10px 70px 0;
	}
}


@media only screen and (max-width: 640px){
	.inner{
		width: 94%;
		padding-bottom: 20px;
	}
}

@media only screen and (max-width: 799px){
	#header{
		position: relative !important; /* スマホでスクロール可能にするため fixed から relative に変更 */
		width: 100%;
		z-index: 500;
	}
	
	#headerWrap{
		position: relative;
		width: 100%;
		height: 70px;
		background: #d7d7d7;
		border-bottom: 1px solid #ccc;
	}
	
	#header h1{
		padding-top: 10px;
	}
	
	#header h1 img{
		margin-top: 3px;
		max-height: 45px;
		width: auto !important;
	}

	section{
		padding-top: 30px;
	}
	
	section h2{
		font-size: 26px;
		line-height: 1.3;
		margin-bottom: 40px;
	}
	
}