@charset "utf-8";

/* リセット
-------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box;}
html { overflow-y: scroll; -webkit-text-size-adjust: 100%; text-size-adjust: 100%;}
html,
body,
h1,
h2,
h3,
h4,
ul,
ol,
dl,
li,
dt,
dd,
p,
div,
span,
img,
a,
table,
tr,
th,
td { margin: 0; padding: 0; font-size: 100%; font-weight: normal; vertical-align: baseline; border: 0;}
article,
header,
footer,
aside,
figure,
figcaption,
nav,
section { display: block;}
ol,
ul { list-style: none;}


/* 全体
-------------------------------------------------- */
body { width: 100%; margin: 0 auto; padding: 0; font-family: "メイリオ", Meiryo, "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "ＭＳ Ｐゴシック", "Lucida Grande", "Lucida Sans Unicode", Arial, Verdana, sans-serif; font-size: 1rem; color: #111; line-height: 1.6; letter-spacing: 0.05em; text-align: center; background: #f0f0f0;}
.wrap { width: 100%; margin: 0 auto;}
@media only screen and (max-width: 639px) {
  .wrap { padding: 0 16px;}
}
img { vertical-align: middle; border: 0;}
a,
a:visited { color: #333; text-decoration: underline;}
a:hover { color: #999; text-decoration: underline; opacity: 0.75; transition: all 0.3s;}


/* ヘッダー
-------------------------------------------------- */
header { width: 100%; margin: 0 auto 10px auto; background: #fff;}
header::after { content: " "; display: block; clear: both;}
.head { width: 100%; max-width: 50rem; margin: 0 auto;}
.head h1 { padding: 22.5px 0; text-align: center;}


/* タイトル
-------------------------------------------------- */
.title { width: 100%; min-height: 70px; margin: 20px 0; padding: 15px; font-size: 0.875rem; line-height: 1.2;}
.title p { margin-bottom: 1em;}
.title span { white-space: nowrap;}
.title h3 { margin-bottom: 1.75em; font-size: 1.5rem; font-weight: normal; color: #444;}
.title h3 span { font-size: 1rem;}
h2 { margin: 0 auto; padding: 40px 0; font-size: 2.125rem; font-weight: normal; color: #444; line-height: 1; letter-spacing: 0.2em; text-align: center;}
h2 img { max-width: 100%;}
@media only screen and (max-width: 639px) {
  .title p { text-align: left;}
  h2 { padding: 25px 0; font-size: 1.75rem;}
}


/* 見出し
-------------------------------------------------- */
h3 { margin-bottom: 20px; font-size: 1.25rem; font-weight: bold;}
.page-complete h3 { margin-top: 50px; font-size: 1.625rem;}


/* メインボックス
-------------------------------------------------- */
.main { width: 100%; max-width: var(--form-width); margin: 0 auto; padding: 0 0 20px 0; background-color: #f0f0f0;}
.formWrap { padding: 0 15px;}
.formWrap form { padding: 30px 4% 50px 4%; background: #fff;}
/* ボタン
-------------------------------------------------- */
.buttons { display: flex; justify-content: center; align-items: center;}
.formWrap span.submit { position: relative;}
.formWrap span.submit::after { content: ""; position: absolute; top: 50%; right: 0; border: 12px solid transparent; border-left: 16px solid #fff; transform: translateY(-50%); cursor: pointer;}
.formWrap span.submit input[type="submit"],
.formWrap span.submit input[type="button"] { width: 350px; min-width: 0; margin: 0; padding: 16px 0; font-size: 1.5rem; font-weight: bold; color: #fff; line-height: 1; background: #f29600; border: 2px solid #f29600; border-radius: 5px;}
.formWrap span.back_button { display: inline-flex; position: relative;}
.formWrap span.back_button::before { content: ""; position: absolute; top: 50%; left: 0; z-index: 1; border: 8px solid transparent; border-right: 12px solid #fff; transform: translateY(-50%); cursor: pointer;}
.formWrap span.back_button input[type="button"] { width: 160px; min-width: 0; max-width: 300px; margin: 0 20px 0 0; padding: 12px 0; font-size: 0.875rem; font-weight: bold; color: #fff; line-height: 1; background: #999; border: 2px solid #999; border-radius: 30px;}
@media only screen and (max-width: 639px) {
  .buttons { flex-direction: column-reverse; gap: 15px; margin-top: 30px;}
  .formWrap span.submit input[type="submit"],
  .formWrap span.submit input[type="button"] { font-size: 1.125rem;}
  .formWrap span.back_button input[type="button"] { margin-right: 0;}
}
@media only screen and (max-width: 440px) {
  .formWrap span.submit,
  .formWrap span.submit input[type="submit"],
  .formWrap span.submit input[type="button"] { width: 100%;}
  .formWrap span.submit input[type="submit"],
  .formWrap span.submit input[type="button"] { font-size: 1rem;}
}


/* フッター
-------------------------------------------------- */
footer { margin: 0 auto; padding: 10px 0;}
footer a,
footer a:hover { color: #555;}
.copyright { font-size: 0.6875rem; color: #555;}
