﻿@charset "UTF-8";

/* main
================================================= */
.content > .head h2 {
  text-align: center;
}

/* layout : area */
.content > .main-text .detail {
  margin-bottom: 10%;
}
.content > .main-text .form {
  margin-bottom: 10%;
}
.content > .main-text .form div.category {
  margin-top: 10%;
}
.content > .main-text .form div.category:first-of-type {
  margin-top: 4%;
}
@media print, screen and (min-width: 600px) {
	.content > .main-text .form div.category { margin-top: 6%; }
}

/* layout : decoration */
.content > .main-text .button {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
@media print, screen and (min-width: 600px) {
.content > .main-text .detail p.intro { text-align: center; }
}

/* elements : h3 & h4 */
.content > .main-text .form h3 {
	margin-bottom: 0.4em;
	padding: 0.4em 0.6em;
	border-radius: 3px;
	background: #001a59;
  color: #fff;
  font-size: 1.3em;
  letter-spacing: 0.08em;
  line-height: 1.4;
}
.content > .main-text .form h4 {
  display: flex;
  align-items: center;
  margin-top: 1.5em;
  margin-bottom: 0.1em;
  font-size: 1.15em;
  line-height: 1.6;
}
.content > .main-text .form h4::before {
  content: '';
  display: block;
  width: 6px;
  height: 1.0em;
  margin-right: 0.3em;
  border-radius: 2px;
  background-color: #319cd7;
}
@media print, screen and (min-width: 960px) {
  .content > .main-text .form h3 { font-size: 1.4em; }
  .content > .main-text .form h4 { font-size: 1.2em; }
}

/* table */
table {
  width: 100%;
	margin-top: 10px;
  table-layout: fixed;
}
tr {
  display: block;
	text-align: left;
}
tr + tr {
  margin-top: 5%;
}
th, td {
	display: block;
	width: 100%;
}
th {
  margin-bottom: 10px;
	padding: 0.35em 0.5em;
	border-radius: 3px;
	background: #959595;
  color: #fff;
  font-size: 1.7rem;
  letter-spacing: 0.05em;
  line-height: 1.3;
}
td.item {
	margin-bottom: 4px;
	padding: 3px 7px;
	border-radius: 3px;
	background: #E1E1E1;
	font-weight: bold;
	line-height: 1.5;
}
td:not(.item) { padding: 2px; }
@media print, screen and (min-width: 600px) {
  tr { display: flex; flex-wrap: wrap; justify-content: space-between; }
	tr + tr { margin-top: 3%; }
  td.item { width: 26%; margin-bottom: 0; padding: 5px 7px; }
  td:not(.item) { width: 72%; padding: 3px 0; }
  td.wide { width: 100%; }
}
@media print, screen and (min-width: 960px) {
  td.item { padding: 7px 10px; }
}

/* 必須・任意ラベル */
span.badge {
  position: relative;
  top: -2px;
  display: inline-block;
  margin-left: 5px;
  padding: 3px 5px;
  border-radius: 3px;
  background: #B84048;
  color: #fff;
	font-size: 1.2rem;
  font-weight: normal;
  line-height: 1;
}
span.badge.option {
  background: #7D7D7D;
}

/* 規約 */
div.terms {
  height: 15em;
  margin: 2px 0 0.8em;
  padding: 7px;
  overflow: auto;
  border: 1px solid #A4A4A4;
  font-size: 1.4rem;
}
@media print, screen and (min-width: 600px) {
  div.terms { padding: 10px; }
}
@media print, screen and (min-width: 960px) {
  div.terms { padding: 15px; }
}

/* form */
div.group {
  margin-bottom: 7px;
}
div.group:last-child {
  margin-bottom: 0;
}
div.group:empty {
  height: 100px;
  display: none;
}
input,
textarea,
select {
	margin: 2px 0;
	border: 1px solid #D3D3D3;
	font-size: 1.6rem;
}
input,
textarea {
  padding: 3px;
  background: #F6F6F6;
}
input[type="text"],
input[type="email"] {
  width: 100%;
}
textarea
{ width: 100%;
}
input:focus,
textarea:focus {
  background-color: #FFF;
  box-shadow: 0 0 1px 2px #B7DDF8;
}

/* button */
input[type="submit"],
input[type="button"],
button {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
  border: 0;
  border-radius: 100vh;
  color: #ffffff;
}
button {
  margin-left: 8px;
	padding: 5px 11px;
  background: #222222;
	font-size: 1.5rem;
}
input[type="submit"],
input[type="button"] {
  margin: 0 10px 15px;
  padding: 20px 25px;
	line-height: 1.3;
}
input[type="submit"] {
  background: #e31727;
}
input[type="button"] {
  background: #999999;
}
@media print, screen and (min-width: 600px) {
  input[type="submit"], input[type="button"] { margin: 10px; padding: 20px 25px; }
}
