@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%;
}

.contents{
	font-size: 1.4em;
}

/*--------------------------------------------------
見出しタグ設定（スマホ）
-----------------------------------------------------*/
h2 {
  margin: 0.5em 0em;
  font-size: 1.6em;
  font-weight: bold;
  text-align: center;
}
h3 {
  margin: 0.5em 0em;
  padding: 0.3em 0.6em;
  font-size: 1.6em;
  font-weight: bold;
  border-left: 8px solid #2466e2;
  border-bottom: 1px dotted #2466e2;
}

/*--------------------------------------------------



/*--------------------------------------------------
全体レイアウト／背景設定（スマホ）
-----------------------------------------------------*/
/*全体エリア（全体背景を設定するにはここ）*/
.main {
  background-color: #fff;
	overflow:hidden;
}
/*記事(ボディ)エリア*/
.article {
  background-color: #fff;
  border-left: none;
  border-right: none;
  font-size: 1.6em; /*=16px*/
}
/*記事(ボディ)エリアの行間*/
.article p {
  line-height: 1.6;
}
/*カラム全体の幅を変更する*/
.article, .top_image_in {
  width: 100%;
  margin: 0 auto; /*真ん中に要素を置きたいときに使う*/
}
/*--------------------------------------------------
上部固定ヘッダー設定
-----------------------------------------------------*/
/*上部固定ヘッダー全体*/
.header {
  position: sticky;
  position: -webkit-sticky;
  top: 0;
  z-index: 5000;
  background-color: #fff;
  border-bottom: 1px solid #ccc;
  overflow: auto;
}
/*ヘッダー内部をカラム幅にする*/
.header_inr {
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
}
/*ヘッダーのロゴ*/
.header_logo {
  width: 60% !important;
	max-width: 180px;
  float: left;
  margin: 0.5em 0em;
}

.header_logo img {
  width: 100%;
  height: auto;
  display: block;
}



/*--------------------------------------------------
ファーストビュー設定
-----------------------------------------------------*/
.top_image {
  background-image: none;
}
.top_image_in img {
  width: 100%;
}
/*--------------------------------------------------
sectionの設定
-----------------------------------------------------*/
.seciton_01 {
  padding: 0.5em 0.5em;
}
.section_02 {
  background-color: #FFFEF0;
  padding: 0.5em 0.5em;
}

/*--------------------------------------------------
フォーム設定
-----------------------------------------------------*/
.mailform {
  background-color: #2466e2;
  margin-bottom: 1em;
  padding: 1em 0em 1.5em;
  box-shadow: 0px 0px 1px #000;
}

.form_textarea{
	margin: 1em auto;
	text-align: center;
	color: #fff;
}

.form_textarea_img{
text-align: center;
}

.form_textarea_img img{
max-width: 100%;
height: auto;
display: block;
}



.form_text_title{
	font-size: 1.4em;
	font-weight: bold;
	padding-top: 1em;
}

.form_text_subtitle{
font-size: 1.1em;
}


.input {
	border: 3px solid #fff;
	margin: 0 0.5em;
  padding: 0 1em;
	text-align: center;
}

.form_area{
	background-color: #fff;
	margin: 2em auto;
	padding: 0 2em;
}

.input_text{
	padding: 1.5em 0 1em;
}

.input_box{
	margin-bottom: 1em;
	text-align: center;
	display: flex;
  flex-direction: column;
  align-items: center; /* 子要素を中央寄せ */
}

.input_name{
font-weight: bold;
}

.must{
	font-size: 0.8em;
	margin-left: 0.5em;
	padding: 0.2em;
background-color: #b74a4a;
border-radius: 5px;
color: #fff;
}

.input_style {
	background-color: #FFFBF0;
  width: 80%; /* フォームの幅を調整（適宜変更） */
  max-width: 400px; /* 最大幅を設定 */
  height: 60px;
  margin: 0 auto 0.5em; /* 中央寄せ */
  text-align: center;
  font-size: 1.1em;
}
input[type="image"] {
  width: 100%;
}
.input_btn{
	margin-bottom: 2em;
	width: 80%;
	height: 45px;
  border-radius:10px;
	border: none;
	color: white;
	font-weight: bold;
	font-size: 1.1em;
	background: rgb(25,79,201);
background: linear-gradient(0deg, rgba(25,79,201,1) 0%, rgba(30,127,203,1) 100%);
cursor: pointer;
}

.input_btn:hover {
	transform: scale(1.1);
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/*--特典ここから--*/
.tokuten_area{
margin-top: 3em;
text-align: center;
background-color: #fff;
}

.tokuten_box{
  display: inline-block;
  margin: 1em auto 0;
  padding: 0.2em;
  color: #fff;
  font-size: 1.2em;
  background-color:#2466e2;
  font-weight: bold;

}

.tokuten_title{
  text-align: center;
  color: #2466e2;
  font-size: 1.2em;
  font-weight: bold;
}

.tokuten_title img{
margin: 0 auto;
width: 100%;
}

.tokuten_img{
  text-align: center;
}

.tokuten_img img{
  margin: 0 auto;
  width: 100%;
}

.tokuten_text {
  position: relative;
  display: block;
  margin: 1.5em 0em;
  padding: 1em 0;
  min-width: auto !important;
  max-width: 100%;
  color: #000;
  font-size: 1em;
  background: #ecf3ff;
}

.tokuten_text:before {
  content: "";
  position: absolute;
  top: -30px;
  left: 50%;
  margin-left: -15px;
  border: 15px solid transparent;
  border-bottom: 15px solid #ecf3ff;
}

.tokuten_text p {
  margin: 0;
  padding: 0;
  font-size: 1.2em;
}

.tokuten_text_title{
  font-size: 1.4em;
  font-weight: bold;
  color: #2466e2;
}

.tokuten_voice{
  margin: 1em 0em;
  background-color: #fffff7;
}

.tokuten_voice_title {
  font-size: 1.5em;
  font-weight: bold;
  position: relative;
  padding: 1.5em;
  text-align: center;
}

.tokuten_voice_title span {
  font-size: 0.6em;
  display: block;
}

.tokuten_voice_title:before {
  position: absolute;
  bottom: 0.8em;
  left: calc(50% - 30px);
  width: 60px;
  height: 5px;
  content: '';
  border-radius: 3px;
  background: #fa4141;
}

.voice_inr01,.voice_inr02{
  display: flex;
  gap: 1.5em; /* ここで画像とテキストの間に統一された余白を追加 */
  margin-bottom: 3em;
  padding: 0 1em;
  align-items: flex-start; /* 高さを上揃えにすると見栄え良い */
}

.voice_inr01{
  flex-direction:row;
}

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

.voice_img{
  text-align: center;
  flex-shrink: 0; /* 画像サイズが縮まないように */
}

.voice_img img{
  width: 150px;
  height: auto;
}

.voic_text{
  font-size: 1.1em;
  font-weight: bold;
  padding-top: 1em;
  flex: 1; /* テキストが残りの幅を使うように */
}

.tokuten01,.tokuten02,.tokuten03{
margin-bottom: 5em;
}




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



}
