@charset "UTF-8";

*,*::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 {
	font-size: 62.5%;
	-webkit-text-size-adjust: 100%;
}
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;
}
a {  }
a:visited {  }
a:hover, a:active {  }
.f-bold { font-weight: bold; }
.f-small { font-size: 0.85em; }
.cf:before, .cf:after { content:""; display:table; }
.cf:after { clear:both; }


/* global menu
   ========================================================================== */
nav.gm { display: none; }
@media print, screen and (min-width: 768px) {
  nav.gm { display: block; }
}


/* header
   ========================================================================== */
header {
  width: 90%;
  max-width: 1024px;
  margin: 6% 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.7;
}
header h1 img {
  width: 100%;
	margin: 0 auto;	
}
@media print, screen and (min-width: 540px) {
  header { margin-top: 5%; }
  header h1 { font-size: 3.0rem; }
  header h1 .sub { font-size: 0.6em; }
}
@media print, screen and (min-width: 960px) {
  header { margin-top: 50px; }
  header h1 { font-size: 3.9rem; }
}


/* main
   ========================================================================== */
main {
  width: 90%;
  max-width: 1024px;
  margin: 5% auto 6%;
  padding: 4%;
  background: #fff;
}
main > div.wrap-form {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}
@media print, screen and (min-width: 540px) {
  main { margin: 4% auto 5%; padding: 3%; }
}
@media print, screen and (min-width: 960px) {
  main { margin: 40px auto 50px; padding: 40px; }
}

/* h2 */
h2 {
  margin: 10% 0 10px;
	padding: 0.1em 0.5em;
	border-radius: 3px;
	background: #959595;
  color: #fff;
  font-size: 1.05em;
  letter-spacing: 0.1em;
}
h2:first-child { margin-top: 0; }
@media print, screen and (min-width: 540px) {
  h2 { margin-top: 7%; }
}
@media print, screen and (min-width: 960px) {
  h2 { font-size: 1.2em; }
}

/* acc */
div#acc { margin-top: 10%; }
@media print, screen and (min-width: 540px) {
  div#acc { margin-top: 7%; }
}

/* table */
table {
  width: 100%;
  table-layout: fixed;
}
tr {
  display: block;
	margin-top: 6%;
	text-align: left;
}
tr:first-child { margin-top: 0; }
th, td {
	display: block;
	width: 100%;
}
th {
	padding: 3px 10px;
	border-radius: 3px;
	background: #DBDBDB;
}
td { padding: 10px 2px; }
@media print, screen and (min-width: 540px) {
  tr { display: flex; flex-wrap: wrap; justify-content: space-between; margin-top: 3%; }
  th { width: 26%; padding: 5px 7px; }
  td { width: 72%; padding: 3px 0; }
  th.wide, td.wide { width: 100%; }
  th.wide { margin-bottom: 1%; }
}
@media print, screen and (min-width: 960px) {
  th { padding: 8px 10px; }
  td { padding: 5px 0; }
}
@media all and (-ms-high-contrast: none) {
  th.wide { width: 26%; }
  td.wide { width: 72%; }
}

/* 必須・任意ラベル */
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: 2%; /*調整*/
  overflow: auto;
  border: 1px solid #A4A4A4;
  font-size: 0.85em;
}
@media print, screen and (min-width: 540px) {
  div.terms { padding: 10px; /*調整*/ }
}
@media print, screen and (min-width: 960px) {
  div.terms { padding: 15px; /*調整*/ }
}

/* form */
div.item { margin-top: 7px; }
div.item:first-child { margin-top: 0; }
input, textarea, select {
  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 */
div.wrap-btn {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 8% 0 0;
}
input[type="submit"], input[type="button"], button {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
  border: 0;
  border-radius: 4px;
  color: #fff;
}
button {
  margin-left: 8px;
	padding: 5px 11px;
  background: #222;
	font-size: 0.95em;
}
input[type="submit"], input[type="button"] {
  margin: 0 10px 15px;
  padding: 10px 20px;
  letter-spacing: 0.1em;
}
input[type="submit"] { background: #d4473c; }
input[type="button"] { background: #222; }
@media print, screen and (min-width: 540px) {
  div.wrap-btn { margin-top: 4%; }
  input[type="submit"], input[type="button"] { margin: 0.8em; padding: 15px 25px; }
}

/* 送信後 */
p.after-message { margin-bottom: 3%; }
@media print, screen and (min-width: 540px) {
  p.after-message { text-align: center; }
}


/* footer
   ========================================================================== */
footer {
	padding: 15px 0;
	background: #292929;
	color: #fff;
  font-size: 1.2rem;
	text-align: center;
}
.hbc-back {
  width: 130px;
  margin: 1% auto 2%;
  padding: 10px;
  background: #fff;
}
address {
  padding: 10px 0 0;
  font: inherit;
  line-height: 20px;
}
@media print, screen and (min-width: 768px) {
  .hbc-back { display: none; }
  address { padding: 10px 0;  }
}
