@charset "shift-jis";

*{
    margin: 0;
    padding: 0;
    font-style: normal;
    border: 0;
    box-sizing: border-box;
}

body {
    font-family: "Noto Sans JP", "NotoSans", Hiragino Sans, "ヒラギノ角ゴシック", Hiragino Kaku Gothic ProN, "ヒラギノ角ゴ ProN W3", Meiryo, "メイリオ", Verdana, "ＭＳ Ｐゴシック", sans-serif;
    font-size: 16px;
    margin:0;
}

#header {
    background-color: #f8f8f8;
    margin-bottom: 20px;
    width: 100%;
    text-align: center;
    padding: 1rem;
    font-weight:650;
    font-size:1.5rem;
    color:#005078;
}

#footer {
    background-color: #DDDDDD;
    margin-top: 20px;
    padding: 1rem 0px;
    text-align: center;
    width: 100%;
}

.contact_form,
.material_form,
.custom_form {
    text-align: center;
    margin-left:auto;
    margin-right:auto;
    width: 94%;
    max-width:1000px;
}

.contact_form table,
.material_form table,
.custom_form table {
    border-right: 1px solid #B3B3B3;
    border-top: 1px solid #B3B3B3;
	border-collapse: collapse;
    margin-bottom: 10px;
    width: 100%;
}

.contact_form table th,
.material_form table th,
.custom_form table th {
    background-color: #ffecef;
    border-left: 1px solid #B3B3B3;
    border-bottom: 1px solid #B3B3B3;
    padding: 0.75rem 8px;
    text-align: left;
    font-weight: normal;
    /* width: 180px; */
    width: 200px;
}

.contact_form table td,
.material_form table td,
.custom_form table td {
	border-bottom: 1px solid #B3B3B3;
	border-left: 1px solid #B3B3B3;
	padding: 6px 8px;
    text-align: left;
	font-size: 0.875rem;
}

.contact_form .required,
.material_form .required,
.custom_form .required {
	color: #e6002d;
	font-size: 0.875rem;
}



form input,
form select,
form textarea {
  padding: 0.5rem 0.5rem;
  vertical-align: middle;
  font-family: "Noto Sans Japanese", Hiragino Sans, "ヒラギノ角ゴシック";
  border: 1px solid #717071;
  font-size: 1rem;
  border-radius: 5px;
  -webkit-box-shadow: none;
          box-shadow: none;
}
form input[type=text],
form input[type=tel],
form input[type=email],
form input[type=submit],
form input[type=reset],
form input[type=button],
form textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
  margin: 0.25rem 0;
}

form input[type=checkbox]{
	margin: 0.5rem 0.25rem;
}

form label {
    font-size: 1rem;
}
form label.f-check {
    white-space: normal;
}

input#name,
input#kana,
input#tel,
input#tel1 {
    max-width: 15em;
}

input#zip,
input#zip1 {
    max-width: 8em;
}

input#age {
    max-width: 8em;
    display: inline-block;
}

input#email,
input#reEmail {
    max-width: calc(100% - 5.5em);
}

input#birth_year {
    max-width: 5em;
}

input#birth_month,
input#birth_day {
    max-width: 3em;
}

input#account_number {
    max-width: 8em;
}

#agree_note {
	width:100%;
    height: 10rem;
    padding: 0.5rem;
    overflow-y: auto;
    border: solid 1px #717071;
    font-size:0.875rem;
}

#agree_detail_html {
    margin-left:auto;
    margin-right:auto;
    width: 94%;
    max-width:1000px;
}

#agree_form {
    text-align: center;
    margin-left:auto;
    margin-right:auto;
    width: 94%;
    max-width:1000px;
}

form a{
    display: block;
}

@media screen and (max-width: 768px) {
    .contact_form table th,
    .material_form table th,
    .custom_form table th {
      display: block;
      width: 100%;
      padding: 1rem;
    }

    .contact_form table td,
    .material_form table td,
    .custom_form table td {
      display: block;
      width: 100%;
      padding: 1rem;
    }
}