@charset "UTF-8";

#main-content {
	position: relative;
}

#main-box {
	/* margin-top: 0;
	margin-bottom: 10px;
	width: 700px;
	height: 1060px; */
	margin: 0 10px;
}

#main-box p {
	/* font-size: 9pt; */
	font-size: 0.85rem;
}

#return-top {
	/* width: 700px;
	height: 55px;
	text-align: right;
	margin-top: 40px; */
	display: none;
}

h3 {
	position: relative;
	height: 70px;
	font-size: 14pt;
	margin-top: 0;
	margin-bottom: 0;
	font-weight: normal;
	padding: 12px 0 0 0;
}

/* カモメのイラスト */
#kamome {
	position: absolute;
	left: 130px;
	/* top: -5px; */
	top: 10px;
}

h4 {
	position: relative;
	background-color: #fffac8;
	font-size: 11pt;
	height: 33px;
	line-height: 33px;
	margin-top: 33px;
	margin-bottom: 0;
	padding-left: 16px;
	font-weight: normal;
}

/* 上から2番目の雲のイラスト */
#kumo2 {
	/* position: absolute;
	left: 445px;
	top: -32px; */
	display: none;
}

#tel-contact {
	margin-left: 16px;
	margin-top: 26px;
	margin-bottom: 30px;
}

h5 {
	font-size: 13pt;
	height: 25px;
	line-height: 25px;
	margin-top: 0;
	margin-bottom: 0;
	font-weight: normal;
}

h6 {
	height: 26px;
	line-height: 25px;
	margin-top: 2px;
	margin-bottom: 2px;
	font-weight: normal;
}

h6 label {
	display: inline-block;
	font-size: 14pt;
	width: 50px;
}

#tel {
	letter-spacing: 2px;
}

h6 span {
	font-size: 18pt;
	letter-spacing: 3px;
}

#tel-contact p {
	margin-top: 6px;
}

.description {
	line-height: 150%;
}

div.content-wrapper {
	position: relative;
}

/* 右上の雲のイラスト */
#kumo {
	/* position: absolute;
	left: 630px;
	top: 81px; */
	display: none;
}

#mail-contact {
	/* margin-left: 16px; */
	margin-left: 5px;
	margin-top: 26px;
	margin-bottom: 30px;
	/* width: 700px; */
}

#tbl {
	position: relative;
	/* margin-top: 16px;
	margin-left: 38px;
	width: 570px;
	background-color: #666; */
	max-width: 570px;
}

/* 上から3番目の雲のイラスト */
#kumo3 {
	/* position: absolute;
	left: -74px;
	top: 184px; */
	display: none;
}


#main-box table {
	/* width: 700px; */
	width: 100%;
	/* border-collapse: collapse;
	border: solid 2px #666; */

    border-radius: 10px;
    border-spacing: 0;
    border: none;
    border: 2px solid #666;
}

#main-box table tr:first-child>*:first-child{
    border-radius: 10px 10px 0 0;
}
#main-box table tr:last-child>*:last-child{
    border-radius: 0 0 10px 10px;
}

#main-box table tr {
	display: flex;
	flex-direction: column; /* 要素を縦方向に積み重ねる */
}

#main-box table th, 
#main-box table td {
	display: block; /* thとtdをブロック要素にして幅100%にする */
	width: 100%;
	box-sizing: border-box;
	text-align: left;
	border: none; /* デフォルトではセル内の境界線をなくす */
	font-weight: normal;
}

#main-box table th {
	/* width: 160px; */
	background-color: #fffac8;
	border-bottom: solid 2px #666;
}

#main-box table td {
	border-bottom: solid 2px #666;
}
#main-box table tr:last-child td {
	border: none; /* デフォルトではセル内の境界線をなくす */
}

#main-box table p {
	padding: 5px 10px;
}





/* th {
	width: 132px;
	text-align: left;
	font-weight: normal;
	padding: 10px;
	background-color: #fffac8;
	vertical-align: top;
}

td {
	width: 392px;
	padding: 10px;
	background-color: #fff;
} */

#th_name {
	/* height: 25px; */
}

#th_email {
	/* height: 75px; */
}

#th_comment {
	/* height: 205px; */
}

input {
	/* width: 385px; */
	width: 100%;
	/* height: 22px; */
	height: 30px;

	font-size: 0.95rem;
}

textarea {
	/* width: 385px; */
	width: 100%;
	height: 195px;
}

th span {
	color: #f33;
}

#mail_description {
	margin-top: 6px;
}

#btn-confirm {
	/* margin-left: 250px;
	margin-top: 20px; */
	width: 151px;
	margin: 15px auto 0 auto;
}

#btn-confirm img {
	cursor: pointer;
}

#confirm input.my_error, #confirm textarea.my_error { /* お問い合わせページ：エラー時の入力枠 */
	border: 1px dotted #f00;
}

#confirm p.my_error { /* お問い合わせページ：エラーメッセージ */
    color: #f00;
    font-size: 90%;
    margin-left: 1em;
    margin-top: 0;
    margin-bottom: 0;
}

#kumo-box {
	position: relative;
}

/* 一番下の雲のイラスト */
#kumo4 {
	/* position: absolute;
	left: 500px;
	top: 20px; */
	display: none;
}

br.contact-sp2 {
	display: none;
}



@media (min-width: 500px) {

	br.contact-sp1 {
		display: none;
	}

}


@media (min-width: 620px) {

	#mail-contact {
		margin-left: 16px;
		margin-top: 26px;
	}




}


@media (min-width: 770px) {

	/* 右上の雲のイラスト */
	#kumo {
		position: absolute;
		right: 0;
		top: 15px;
		display: block;
	}






}


@media (min-width: 840px) {

	#mail-contact {
		margin-bottom: 120px;
	}

	#tbl {
		margin-top: 16px;
		margin-left: 38px;
		width: 570px;
	}

	/* 上から2番目の雲のイラスト */
	#kumo2 {
		position: absolute;
		right: 0;
		top: -22px;
		display: block;
	}

	/* 上から3番目の雲のイラスト */
	#kumo3 {
		position: absolute;
		left: -74px;
		top: 270px;
		display: block;
	}

	/* 一番下の雲のイラスト */
	#kumo4 {
		position: absolute;
		left: 500px;
		top: 20px;
		display: block;
	}



}



@media (min-width: 1123px) {

	#mail-contact {
		width: 700px;
		margin-bottom: 80px;
	}

	#return-top {
		width: 700px;
		height: 55px;
		text-align: right;
		margin-top: 40px;
		display: block;
	}

	h3 {
		padding: 0 0 0 0;
	}

	/* カモメのイラスト */
	#kamome {
		top: -5px;
	}

	/* 右上の雲のイラスト */
	#kumo {
		top: 100px;
	}

	/* 上から2番目の雲のイラスト */
	#kumo2 {
		right: 50px;
		top: -33px;
	}

	#kumo3 {
		top: 190px;
	}
	
	#main-box p {
		font-size: 0.75rem;
	}


	#main-box table tr {
		display: table-row; /* 行を通常のテーブル行に戻す */
		border: none; /* 行ごとの外枠をなくす */
	}

	#main-box table th, 
	#main-box table td {
		display: table-cell; /* セルを通常のテーブルセルに戻す */
		/* border-bottom: 1px solid #333333;  */
	}

	#main-box table th {
		width: 160px;
		border-right: 2px solid #333333;
		vertical-align: top;
	}

	#main-box table th p {
		width: 160px;
	}


	#main-box table p {
		padding: 10px;
	}

	#main-box table tr:first-child>*:first-child{
		border-radius: 10px 0 0 0;
	}

	#main-box table tr:last-child th {
		border-bottom: none;
	}

	input {
		height: 22px;
		font-size: 0.75rem;
	}

	br.contact-sp2 {
		display: inline;
	}

}