* {
    margin: 0;
    padding: 0;
}
body {
    line-height: 150%;
    background-image: url(images/back.jpg);
}

#wrapper {
    width: 100%;
	max-width: 800px;
    margin-right: auto;
    margin-left: auto;
    background-color: #f7f7f7;
}

#header {
    background-image: url(images/header.jpg);
    background-repeat: no-repeat;
    height: 130px;
    text-indent: -9999px;
}

#main {
    padding: 20px 40px 40px 40px;
}

#footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 1em;
    font-size: 13px;
}

#footer a {
    color: #fff;
    text-decoration: none;
}
h2 {
	position: relative;
	padding: 1.2rem 2.5rem;
	border: 1px solid #D8D8D8;
	border-top: 4px solid #004892;
	background: linear-gradient(#f5f5f5 0%, #e5e5e5 100%);
	color:#003871;
	font-family: "Sawarabi Mincho";
	letter-spacing:0.02em;
}
h2 i{
	color:#32577d;
	margin-right:0.2em;
}
/**************** フォント関連 ****************/

.fwb {
    font-weight: bold;
}

.fc_gray {
    color: #999;
}

.fs12 {
    font-size: 12px;
}
.fs13 {
    font-size: 13px;
}
.fs14 {
    font-size: 14px;
}
.fs16 {
    font-size: 16px;
}
.tar {
    text-align: right;
}

/**************** その他スタイル ****************/
.taw40 {
    width: 40%;
}

.taw80 {
    width: 80%;
}

.txtBox {
    padding: 20px;
    border: 2px solid #bc9b27;
    margin: 10px 0;
}
.mb10{
	margin-bottom:10px;
}
.mb20{
	margin-bottom:20px;
}
/**************** フォーム関連 ****************/

.form_table01 {
    width: 100%;
    border: 1px solid #aaa;
    border-top-width: 1px;
    border-right-width: 1px;
    border-bottom-width: 1px;
    border-left-width: 1px;
    border-top-style: solid;
    border-right-style: dotted;
    border-bottom-style: none;
    border-left-style: solid;
    border-top-color: #aaa;
    border-right-color: #aaa;
    border-left-color: #aaa;
    font-size: 15px;
}

.form_table01 th {
    background: #ddd;
    text-align: left;
    font-weight: normal;
    width: 180px;
}

.form_table01 th, .form_table01 td {
    border-top-width: 1px;
    border-right-width: 1px;
    border-bottom-width: 1px;
    border-left-width: 1px;
    border-top-style: solid;
    border-right-style: solid;
    border-bottom-style: solid;
    border-left-style: solid;
    border-top-color: #aaa;
    border-right-color: #aaa;
    border-bottom-color: #aaa;
    border-left-color: #aaa;
    padding: 1em;
}

/* ボタンスタイル */
input[type="submit"] {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 150px;
    margin: 1.5em auto;
    padding: 0.4em;
    border: 1px solid #222;
    border-radius: 5px;
    color: #222;
    font-size: 1em;
    cursor: pointer;
    letter-spacing: 0.3em;
    background: #f1e767;
    background: -webkit-gradient(linear, left top, left bottom, from(#fdfbfb), to(#ebedee));
    background: -webkit-linear-gradient(top, #fdfbfb 0%, #ebedee 100%);
    background: linear-gradient(to bottom, #fdfbfb 0%, #ebedee 100%);
    -webkit-box-shadow: inset 1px 1px 1px #fff;
    box-shadow: inset 1px 1px 1px #fff;
}

input[type="submit"]:hover {
    opacity: 0.6;
}

input[type="submit"]:active {
    transform: translate3d(0, 1px, 0);
}

/* ラジオボタンスタイル */
.radio01 {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3em 0.5em;
    border: none;
}

.radio01 input {
    margin-right: 5px;
}

.radio01 input, .radio01 label {
    cursor: pointer;
}

/* テキストボックススタイル */
.textbox01 {
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 1em;
    line-height: 1.5;
}

.textbox01::placeholder {
    color: #999;
}

/* セレクトボックススタイル */
.selectbox01 {
    display: inline-flex;
    align-items: center;
    position: relative;
}

.selectbox01::after {
    position: absolute;
    right: 15px;
    width: 10px;
    height: 7px;
    background-color: #535353;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    content: '';
    pointer-events: none;
}

.selectbox01 select {
    appearance: none;
    min-width: 230px;
    height: 2.8em;
    padding: 0.4em calc(0.8em + 30px) 0.4em 0.8em;
    border: 1px solid #cccccc;
    border-radius: 3px;
    background-color: #fff;
    color: #333333;
    font-size: 1em;
    cursor: pointer;
}

/* 必須フィールドスタイル */
.required::after {
    content: " *";
    color: red;
    vertical-align: middle;
}

@media screen and (max-width: 600px) {
	#main{
		padding:.5em;
		font-size:.95em;
		line-height:150%;
		padding-bottom:1.5em;
	}
	h2{
		padding:.5em;
		margin-bottom:.5em;
		font-size:1.1em;
	}
	.textbox01, .selectbox01 {
		width: 90%;
	}
	.pc_view{
		display:none;	
	}

}