@charset "UTF-8";

/* reset
================================================= */
*,*::before,*::after{box-sizing:border-box}
ul[class],ol[class]{padding:0}
body,h1,h2,h3,h4,p,ul[class],ol[class],figure,blockquote,dl,dd{margin:0}
html{scroll-behavior:smooth}
body{min-height:100vh;text-rendering:optimizeSpeed;line-height:1.5}
ul[class],ol[class]{list-style:none}
a:not([class]){text-decoration-skip-ink:auto}
img,picture{max-width:100%;display:block}
article>*+*{margin-top:1em}
input,button,textarea,select{font:inherit}
img:not([alt]){filter:blur(10px)}
@media(prefers-reduced-motion:reduce){
  *{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important;scroll-behavior:auto !important}
}
/* addition */
main{display:block}
h5,h6{margin:0}
img,picture{width:100%;height:auto}
table{border-collapse:collapse;border-spacing:0}
a{color:inherit;word-break:break-all}


/* base
================================================= */
html, body { height: 100%; }
html {
	font-size: 62.5%;
}
body {
	background: #f1f1f1;
	color: #181818;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
	font-size: 1.6rem;
	line-height: 1.8;
	-webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
a { color: #1558d6; }
a:visited { color: #681da8; }
a:hover, a:active { color: #44a0ff; }
.cf:before, .cf:after { content:""; display:table; }
.cf:after { clear:both; }


/* header
================================================= */
header {
  width: 90%;
  margin: 7% auto 0;
}
header h1 {
  font-size: 2.2rem;
  line-height: 1.4;
  text-align: center;
}
header h1 .sub {
  display: block;
  margin: 0.5em auto;
  font-size: 0.7em;
  line-height: 1.5;
}
@media print, screen and (min-width: 520px) {
  header { width: 85%; margin-top: 5%; }
  header h1 { font-size: 3.0rem; }
  header h1 .sub { font-size: 0.6em; }
}
@media print, screen and (min-width: 960px) {
  header { width: 75%; max-width: 880px; margin-top: 5%; }
  header h1 { font-size: 3.9rem; }
}
@media print, screen and (min-width: 1366px) {
  header { margin-top: 70px; }
}


/* main
================================================= */
main {
  width: 90%;
  max-width: 1230px;
  margin: 5% auto 6%;
  padding: 5%;
  background: #fff;
}
@media print, screen and (min-width: 520px) {
  main { margin: 4% auto 5%; padding: 4%; }
}
@media print, screen and (min-width: 960px) {
  main { margin: 40px auto 50px; }
}

/* layout */
.wrap {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}
.wrap.intro { margin-bottom: 12%; margin-top: -4%; }
.wrap.details { margin-bottom: 12%; }
.wrap.form { margin-bottom: 12%; }
.wrap.notice { margin-bottom: 12%; }
.wrap.button { }
@media print, screen and (min-width: 520px) {
	.wrap.intro { margin-bottom: 6%; margin-top: -2%; }
	.wrap.details { margin-bottom: 6%; }
	.wrap.form { margin-bottom: 6%; }
	.wrap.notice { margin-bottom: 6%; }
	.wrap.button { }
}

/* layout : decoration */
.wrap.intro { }
.wrap.details { }
.wrap.form { }
.wrap.form div.category { margin-top: 12%; }
.wrap.form div.category:first-child { margin-top: 0; }
.wrap.notice {
  padding: 4%;
  border: 2px solid #959595;
  font-size: 1.5rem;
}
.wrap.button {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
@media print, screen and (min-width: 520px) {
	.wrap.intro { text-align: center; }
	.wrap.form div.category { margin-top: 6%; }
	.wrap.notice { padding: 15px; }
}
@media print, screen and (min-width: 960px) {
	.wrap.notice { padding: 20px; }
}

/* text decoration */
.text-small { font-size: 0.85em; }
.text-large { font-size: 1.25em; }
.text-bold { font-weight: bold; }
.text-red { color: #e5002b; }

/* h2 & h3 & h4 */
h2 {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 12%;
  padding: 3%;
  background: #363636;
  color: #fff;
  font-size: 1.75rem;
  font-weight: bold;
  line-height: 1.6;
  text-align: center;
}
h2 span { display: inline-block; }
h3 {
  margin-top: 12%;
	margin-bottom: 0.4em;
	padding: 0.25em 0.6em;
	border-radius: 3px;
	background: #959595;
  color: #fff;
  font-size: 1.8rem;
  letter-spacing: 0.08em;
  line-height: 1.4;
}
h4 {
  margin-top: 1.2em;
  margin-bottom: 5px;
  padding-left: 0.4em;
  border-left: 4px solid #181818;
  font-size: 1.7rem;
  line-height: 1.3;
}
h3:first-child, h4:first-child { margin-top: 0; }
h3 + h4 { margin-top: 0.8em; }
@media print, screen and (min-width: 520px) {
  h2 { margin-bottom: 8%; font-size: 2.0rem; }
  h3 { margin-top: 6%; }
}
@media print, screen and (min-width: 960px) {
  h2 { width: 96%; max-width: 940px; font-size: 2.3rem; }
  h3 { font-size: 1.9rem; }
	h4 { margin-top: 25px; font-size: 1.7rem; }
	.notice h4 { font-size: 1.5rem; }
}
@media print, screen and (min-width: 1366px) {
  h2 { font-size: 2.6rem; }
}

/* 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: 2px 7px;
	border-radius: 3px;
	background: #E1E1E1;
	font-weight: bold;
	line-height: 1.5;
}
td:not(.item) { padding: 2px; }
@media print, screen and (min-width: 520px) {
  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: 520px) {
  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: 7px;
  color: #fff;
}
button {
  margin-left: 8px;
	padding: 5px 11px;
  background: #222;
	font-size: 1.5rem;
}
input[type="submit"], input[type="button"] {
  margin: 0 10px 15px;
  padding: 15px;
  letter-spacing: 0.1em;
	line-height: 1.3;
}
input[type="submit"] { background: #d4473c; }
input[type="button"] { background: #999; }
@media print, screen and (min-width: 520px) {
  input[type="submit"], input[type="button"] { margin: 10px; padding: 20px; }
}


/* footer
================================================= */
body > footer {
	position: sticky;
	top: 100vh;
}
footer {
	padding: 15px 0;
	background: #333;
	color: #fff;
  font-size: 1.2rem;
	text-align: center;
}
address {
  font: inherit;
  line-height: 20px;
}
@media print, screen and (min-width: 768px) {
  footer { padding: 25px 0;  }
}
