@charset "utf-8";



/*全端末（PC・タブレット・スマホ）共通設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/

/**----------------------------------------------------------------------
全てにボックスサイジング
----------------------------------------------------------------------**/
*, *:before, *:after {
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
         -o-box-sizing: border-box;
        -ms-box-sizing: border-box;
            box-sizing: border-box;
}

/**----------------------------------------------------------------------
 テキスト
----------------------------------------------------------------------**/
address{
	font-style: normal;
}
.nowrap{    white-space: nowrap;}

.fwn {font-weight: normal !important;}
.b, .strong, .bold, .fwb, strong {font-weight: bold !important;}
.h-large {font-size:1.4rem !important;}
.large {font-size:1.2rem !important;}
.small {font-size:0.8rem !important;}
.h-small {font-size:0.6rem !important;}

sub,
sup {
    font-size: 0.8rem;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {top: -0.5em;}
sub {bottom: -0.25em;}

/*アンダーライン*/
.underline { text-decoration: underline; }

/***************** フォント スタイル *****************/
.txtL { text-align: left !important; }
.txtR { text-align: right !important; }
.txtC { text-align: center !important; }

table.txtL td { text-align: left !important; }
table.txtR td { text-align: right !important; }
table.txtC td { text-align: center !important; }

.txtT { vertical-align:top !important; }
.txtM { vertical-align:middle !important; }
.txtB { vertical-align:bottom !important; }

/*全体の設定
---------------------------------------------------------------------------*/

body {
	margin: 0px;
	padding: 0px;
	color: #333333;	/*全体の文字色*/
	font-family:"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;	/*フォント種類*/
	font-size: 18px;	/*文字サイズ*/
	line-height: 2;		/*行間*/
	background: #eee url(../images/bg.png);	/*背景色、背景画像の読み込み*/
	-webkit-text-size-adjust: none;
}
h1,h2,h3,h4,h5,p,ul,ol,li,dl,dt,dd,form,figure,form {margin: 0px;padding: 0px;font-size: 100%;font-weight: normal;}
ul {list-style-type: none;}
ol {padding-left: 40px;padding-bottom: 15px;}
img {border: none;max-width: 100%;height: auto;vertical-align: middle;}
table {border-collapse:collapse;font-size: 100%;border-spacing: 0;}
iframe {width: 100%;}

/*リンク（全般）設定
---------------------------------------------------------------------------*/
a {
	color: #666;	/*リンクテキストの色*/
	transition: 0.5s;	/*マウスオン時の移り変わるまでの時間設定。0.5秒。*/
}
a:hover {
	color: #182659;			/*マウスオン時の文字色*/
	text-decoration: none;	/*マウスオン時に下線を消す設定。残したいならこの１行削除。*/
}

/*containerブロック
---------------------------------------------------------------------------*/
#container {
	/*border-top: 5px solid #182659;*/
	margin: 0 auto;
	/*max-width: 1200px;*/
	width: 100%;
	background: #fff;	/*背景色*/
	/*box-shadow: 0px 0px 10px rgba(0,0,0,0.2);*/
}

/*ヘッダー（ロゴが入った最上段のブロック）
---------------------------------------------------------------------------*/
/*ヘッダーブロック*/
header {
	overflow: hidden;
	height: 100px;	/*ブロックの高さ*/
}
/*ロゴ画像*/
header #logo {
	/*float: left;	左に回り込み*/
	margin-top: 36px;	/*上下のバランスをとって下さい*/
	margin-left: 4%;	/*左に空けるスペース*/
	color: #182659;
	font-size: 38px; /*30px → 38px*/
}

/*コンテンツ（mainとsubを囲むブロック）
---------------------------------------------------------------------------*/
#contents {
	clear: both;overflow: hidden; /*溢れたコンテンツは見えないよう設定*/
	padding: 3% 10%;	/*ボックス内の余白*/
}
@media only screen and (max-width: 768px) {

#contents {
	clear: both;overflow: hidden; /*溢れたコンテンツは見えないよう設定*/
	padding: 3% 5%;	/*ボックス内の余白*/
}

}
.aform-header{
	font-size: 130% !important;
	font-weight: normal !important;
	margin: 1em 0;
	background-color: #182659;
	color: #ffffff;
	padding: 20px;
    border-radius:10px;
}
.aform .aform-content dl{
	border:none !important;
}
div .aform-hdln{
	font-size: 21px;
	height: 60px !important;
}
.aform .aform-content dl dd,
.aform .aform-content dl dt {
	float: none !important;
	width: 100% !important;
	display: block !important;
	height: auto;
	border:none !important;
}
.aform .aform-content dl dt {
	margin-bottom: 0 !important;
	padding: 10px 20px !important;
}
.aform .aform-content dl dd {
	background-color: #ffffff !important;
	padding: 20px 20px 60px 20px !important;
}
/*文字数カウントを近づける。↓のparts-38は適宜変更・削除*/
.aform .aform-content dl.dl_parts-38 dd {
	background-color: #ffffff !important;
	padding: 20px 20px 0px 20px !important;
	height: 200px
}
.aform ul.aform-name-ul li input{
	width: 95%;
}
.aform ul.aform-kana-ul li input{
	width: 95%;
}
.aform-button-area{
	margin-top:20px;
	padding:15px 20px;
	background: #effdff !important;
	text-align:center;
}
.aform-button-area input{
	margin:0 6px;
	padding:16px 96px !important;
	font-size: 140% !important;
}
#text-length{
	text-align:right !important; 
	width: 98%;
	height: 60px;
	margin: 0px 0px 10px 0px;
}

/*フッター設定
---------------------------------------------------------------------------*/
footer {
	clear: both;
	text-align: center;
	padding: 10px 0;
	background: #182659;	/*背景色*/
	color: #fff;	/*文字色*/
}
footer a {
	text-decoration: none;
	color: #fff;	/*文字色*/
}
footer .pr {
	display: block;
	font-size: 80%;
}

/*inputボタン
---------------------------------------------------------------------------*/
#main input[type="submit"].btn,
#main input[type="button"].btn,
#main input[type="reset"].btn {
	padding: 5px 10px;
	border: 1px solid #ccc;
	font-size: 15px;
	border-radius: 3px;
	background: linear-gradient(#fff, #eee);
}
/*マウスオン時の設定*/
#main input[type="submit"].btn:hover,
#main input[type="button"].btn:hover,
#main input[type="reset"].btn:hover {
	border: 1px solid #999;
	background: #fff;
}

/*トップページのNEWアイコン
---------------------------------------------------------------------------*/
.newicon {
	background: #F00;	/*背景色*/
	color: #FFF;		/*文字色*/
	font-size: 70%;		/*文字サイズ*/
	line-height: 1.5;
	padding: 2px 5px;
	border-radius: 2px;
	margin: 0px 5px;
	vertical-align: text-top;
}

/*その他
---------------------------------------------------------------------------*/
.look {background: #ccc;color: #333;padding: 5px 10px;border-radius: 4px;}
.mb15,.mb1em {margin-bottom: 15px !important;}
.mb30 {margin-bottom: 30px !important;}
.p0 {padding:0 !important;}
.clear {clear: both;}
ul.disc {padding: 0em 25px 15px;list-style: disc;}
.color1, .color1 a {color: #F00;}
.bg1 {background: #f6f5f2;}
.pr {font-size: 10px;}
.wl {width: 96%;}
.ws {width: 50%;}
.c {text-align: center;}
.r {text-align: right;}
.l {text-align: left;}
img.fr {float: right;margin-left: 10px;margin-bottom: 10px;}
img.fl {float: left;margin-right: 10px;margin-bottom: 10px;}
.big1 {font-size: 20px;}
.mini1 {font-size: 11px;display: inline-block;line-height: 1.5;}
.sh {display: none;}

/*画面幅640px以下の設定*/
@media screen and (max-width:640px) {
	/* input[type = "checkbox"],
	input[type = "radio"] {
		& label {
			font-size: 75% !important;
		}
	} */
	li:has(input[type="checkbox"]),
	li:has(input[type="radio"]) {
		font-size: 90% !important;
		display:flex;
		flex-direction: row;
		justify-content: flex-start;
	}
	#aform_btn_confirm_75 {
		margin: 0 auto !important;
	}
	.aform-checkbox-ul,
	.aform-radio-ul {
		display: flex !important;
		flex-direction: row !important;
	}
	label{
		display:block;
	}
	input{
		display:block;
	}
	header #logo {
		margin-top: 40px;	/*上下のバランスをとって下さい*/
		font-size: 25px;
	}
}

/*画面幅480px以下の設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width:480px){


	header #logo {
		margin-top: 40px;	/*上下のバランスをとって下さい*/
		font-size: 20px;
	}
	
	body {
		font-size: 18px;	/*文字サイズ*/
		line-height: 1.5;	/*行間*/
	}
	
	#main h2, #main h3, .aform-header {
		font-size: 24px;
		padding-left: 10px;
		padding-right: 10px;
	}
	/*h2タグの１文字目の設定*/
	#main h2::first-letter, .aform-header::first-letter {
		padding-left: 8px;	/*線とテキストとの余白*/
	}
	/*段落タグ設定*/
	#main p {
		padding: 0px 10px 15px;	/*上、左右、下への余白*/
	}
	
	}
	

.kakuninbotanha{
	text-align: center;
}
span.aform-label a img{
	display: none;
}