@charset "UTF-8";
/* CSS Document */


@media only screen and (max-width : 768px) {

/*-------------------------------------------------------------------------------------
スマホ用レイアウト（768px以下スクリーン）
----------------------------------------------------------------------------------------*/

/*--------------------------------------------------
共通設定(スマホ)
-----------------------------------------------------*/

/*body全体の初期スタイル調整*/
body {
	width: 100%;
  -webkit-text-size-adjust:100%;
	-ms-text-size-adjust:100%;
}

/*チェックマークの共通設定*/
.check:before {
	position: relative;
  top: 5px;
	content: url('../images/check.png');
}

/*--------------------------------------------------
見出しタグ設定（スマホ）
-----------------------------------------------------*/
h2 {
	margin: 0.5em 0;
  font-size: 2em;
  color: #fff;
  background-color: #0a1b6b;
  font-weight: bold;
  text-align: center;
  letter-spacing: 0.15em;
}
/*--------------------------------------------------
全体レイアウト／背景設定（スマホ）
-----------------------------------------------------*/
/*全体エリア（全体背景を設定するにはここ）*/
.main {
	overflow:hidden;
}
/*記事(ボディ)エリア*/
.article {
  font-size: 1.3em; /*=13px*/
	letter-spacing: -0.01em;
}
/*記事(ボディ)エリアの行間*/
.article p {
  line-height: 1.6;
	letter-spacing: -0.01em;
}

.article{
	width: 100%;
}

/*カラム全体の幅を変更する*/
.top_image_in,.section_inr,.section_inr02,.section_inr03,.section_inr04,.section_inr05 {
  width: 100%;
  margin: 0 auto; /*真ん中に要素を置きたいときに使う*/
}




/*--------------------------------------------------
サンクスページ
-----------------------------------------------------*/
.fv{
text-align: center;
margin: 0 auto;
}

.fv img{
  width: 100%;
}


.description{
  text-align: center;
}

.description img{
  width: 100%;
}




.thanks_inr{
margin: 0 0em 5em;
text-align: center;
}


.thanks_title {
	margin: 3em 0.2em 0;
  padding: 1em 2em;
	font-size: 1.4em;
  color:#0a1b6b;
	font-weight: bold;
  text-align: center;
}

.thanks_text{
	margin: 0 3em;
}

.thanks_contents{
  background-image: url(../images/thanks_bg.jpg);
	background-position: center;
  background-size:contain;
  background-repeat: repeat;
	margin: 8em 0em 1em;
  text-align: center;
  padding-bottom: 2em;
}

.title_contents{
  margin: 2em 0 1em;
  padding: 0.5em 1em;
  background-color: #fff;
  display: inline-block;
  color: #000e44;
  font-size: 1.3em;
  font-weight: bold;
}

.thanks_contents p{
    font-size: 0.8em;
}

.youtube_contents{
		position: relative;
		width: 100%;
		max-width: 560px; /* PCでは最大560px */
		margin: 0 auto; /* 中央配置 */
		aspect-ratio: 16 / 9; /* 16:9 の比率を維持 */
}

.youtube_contents iframe {
		position: absolute;
		width: 100%;
		height: 100%;
		top: 0;
		left: 0;
}

.img_contents{
padding-bottom: 1em;
text-align: center;
}

.img_contents img{
  max-height: 0 auto;
  width: 95%;
  transition: opacity 0.3s;
}

.img_contents img:hover {
      opacity: 0.5;
  }


	/*--------------------------------------------------
	CTA
	-----------------------------------------------------*/
.cta-area{
	text-align: center;
margin: 0 auto;
}

.cta-area img{
width: 100%;
}

/*--------------------------------------------------
フッター部分
-----------------------------------------------------*/
.footer {
  background-color: #39b55c;
  padding: 2em 0em;
  text-align: center;
  font-size: 1.2em;
  color: #fff;
}
.footer a {
  color: #fff;
}



/*--------------------------------------------------
横幅の余白をなくすCSS
-----------------------------------------------------*/

@media only screen and (max-width: 768px) {

  .top_image_in,
  .section_inr,
  .section_inr02,
  .section_inr03,
  .section_inr04,
  .section_inr05 {
    margin: 0; /* 中央寄せをやめる */
  }

  .thanks_text {
    margin: 0 1em; /* 左右に少しだけ余白 */
  }

  .thanks_contents {
    margin: 8em 0 1em; /* 横方向の余白はなくす */
  }

  .youtube_contents {
    max-width: 100%; /* スマホで幅いっぱいに */
  }
}


}
