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

.contact_page .contact_text {
	margin: 10% 5%;
}
.contact_page table p {
	font-size: 12px;
}
.contact_page table,
.contact_page table tbody,
.contact_page table tr,
.contact_page table th,
.contact_page table td {
	display: block;
}

/* --- フォームエリア --- */
form.contact {
	width: 95%; /* フォームエリアの幅 */
	margin: 0 auto;
	font-size: 14px;
	background: none;
}
/* --- フォームエリア内の段落 --- */
form.contact p {
line-height: 130%;
}
/* --- 段落内の「必須」画像 --- */
form.contact p.attention img {
vertical-align: middle;
}

/* --- テーブル --- */
form.contact table {
width: 95%; /* テーブルの幅 */
background-color: #f9f9f9; /* テーブルの背景色 */
border: 1px #c0c0c0 solid; /* テーブルの境界線 */
margin: 2rem auto;
}
/* --- 見出しセル（th） --- */
form.contact th {
padding: 10px 8px; /* 見出しセルのパディング（上下、左右） */
background-color: #f5f5f5; /* 見出しセルの背景色 */
border-bottom: 1px #c0c0c0 dotted; /* 見出しセルの下境界線 */
text-align: left;
line-height: 130%;
display: block;
}
/* --- 見出しセル内の補足テキスト --- */
form.contact th span.supplement {
font-weight: normal;
}
/* --- データセル（td） --- */
form.contact td {
padding: 10px 5px 7px; /* データセルのパディング（上、左右、下） */
background-color: #ffffff; /* データセルの背景色 */
border-bottom: 1px #c0c0c0 dotted; /* データセルの下境界線 */
display: block;
}
/* --- データセル内の補足テキスト --- */
form.contact td span.supplement {
color: #808080;
}
/* --- 必須項目セル --- */
form.contact td.required {
width: 26px; /* 必須項目セルの幅 */
padding: 10px 3px; /* 必須項目セルのパディング（上下、左右） */
background-color: #c4e6fa; /* 必須項目セルの背景色 */
text-align: center;
}
/* --- 任意項目セル --- */
form.contact td.arbitrary {
background-color: #e0f1fc; /* 任意項目セルの背景色 */
}

/* --- フォーム部品 --- */
form.contact input,
form.contact select,
form.contact textarea {
margin-bottom: 2px; /* フォーム部品の下マージン */
}
form.contact input#tel {
	width: 50%;
}

/* --- フォーム部品のサイズ --- */
/* --- （長めのテキスト入力欄） --- */
#company, #section, #name, #name2,
#email, #address {
width: 90%; /* フォーム部品の幅 */
}
/* --- （短めのテキスト入力欄） --- */
#tel1, #tel2, #tel3,
#fax1, #fax2, #fax3 {
width: 70px; /* フォーム部品の幅 */
}
#zip1, #zip2 {
width: 70px; /* フォーム部品の幅 */
}
/* --- （複数行のテキスト入力欄） --- */
#message {
width: 90%; /* フォーム部品の幅 */
height: 10em; /* フォーム部品の高さ */
}

/* --- ボタン --- */
form.contact p.contact_button {
margin: 20px 0; /* ボタンのマージン（上、左右、下） */
text-align: center;
}

/* --- 希望時間ボーダー --- */
.contact_days {
    border-bottom: 1px dotted #ccc;
    padding-bottom: 5px;
}

/* --- メニュー選びの幅 --- */
#prefecture {
	width: 100%;
	height: 30px;
}

/* --- プライバシーポリシー --- */
.privacy {
    width: 68%;
    height: 100px;
    margin: 2rem auto;
    padding: 2rem 1rem;
    overflow-y: scroll;
    border: 1px solid #ccc;
}
.privacy p {
	line-height: 1.5;
}
.privacy dt {
	font-size: 1rem;
	padding: 0.5rem 0;
}
.privacy dd {
	margin-left: 0.5rem;
	line-height: 1.5;
}
.privacy p.privacy_title {
    font-weight: bold;
    font-size: 1.2rem;
}

@media screen and (min-width:600px){
	.contact_page .contact_text {
		margin: 5% 2%;
	}
	.contact_page table p {
		font-size: 14px;
	}
	.display_br {
		display: none;
	}
	#prefecture {
		width: auto;
	}
}
@media screen and (min-width:1000px){
	form.contact table {
		width: 75%;
	}
	.contact_page .contact_text {
		margin: 2% 5%;
	}
}