/* Normalize
--------------------------------*/

*,
*:before,
*:after {
  box-sizing: inherit;
}

html,
body,
div,
header,
footer,
main,
article,
section,
aside,
nav,
figure,
figcaption {
  display: block;
  margin: 0;
  padding: 0;
}

html {
  line-height: 1.75;
  box-sizing: border-box;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  line-break: strict;
}

body {
  overflow-x: hidden;
  background: #fff;
  color: #111;
}

a {
  color: inherit;
  transition: 0.3s;
}

a:before,
a:after {
  text-align: inherit;
  text-decoration: inherit;
}

abbr,
cite {
  font-style: inherit;
  text-decoration: inherit;
}

blockquote {
  margin: 1.5em 0;
  padding: 1em;
  border-style: solid;
  border-width: 1px 0;
}

del {
  opacity: 0.8;
}

em {
  font-style: inherit;
  font-weight: bolder;
}

figcaption {
  font-weight: 700;
}

img,
iframe {
  max-width: 100%;
  min-height: 1px;
  vertical-align: middle;
  border: 0;
}

img {
  height: auto;
}

p {
  margin: 1em 0;
}

header p,
footer p {
  margin: 0;
}

pre {
  margin: 1em 0;
  white-space: pre-wrap;
}

ul {
  margin: 1em 0;
  padding-left: 1.5em;
}

ol {
  margin: 1em 0;
  padding-left: 2em;
}

nav ul,
nav ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

dl {
  margin: 1em 0;
}

dt {
  margin: 0;
  font-weight: 700;
}

dd {
  margin: 0;
}

dd + dt {
  margin-top: 1em;
}

table {
  width: 100%;
  margin: 1.5em 0;
  border-collapse: collapse;
  border-spacing: 0;
}

caption {
  position: relative;
  z-index: 1;
  margin-bottom: -1px;
  padding: 0.375em 0.625em;
  border-bottom: 1px solid #fff;
  background: #D68D9D;
  color: #fff;
  text-align: center;
}

th,
td {
  vertical-align: baseline;
  padding: 0.3125em 0.625em;
  border: 1px solid #D68D9D;
  background: #fff;
  font-weight: inherit;
  text-align: left;
}

th {
  padding-right: 0;
  padding-left: 0;
  background: #D68D9D;
  color: #fff;
  text-align: center;
}

tr:not(:last-child) th {
  position: relative;
  z-index: 1;
  border-bottom-color: #fff;
}

button,
input,
textarea,
select {
  width: 100%;
  vertical-align: middle;
  line-height: 1.5;
  margin: 0;
  font-family: inherit;
  font-size: 1em;
  transition: 0.3s;
}

button,
input[type=submit],
input[type=button],
input[type=reset] {
  -webkit-appearance: none;
  appearance: none;
  box-shadow: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  text-shadow: none;
}

input[type=text],
input[type=tel],
input[type=email],
input[type=url],
input[type=search],
input[type=number],
input[type=date],
input[type=password],
textarea,
select {
  padding: 0.6875em;
  border: 1px solid #D68D9D;
  border-radius: 0.5em;
}

input[type=text]:focus,
input[type=tel]:focus,
input[type=email]:focus,
input[type=url]:focus,
input[type=search]:focus,
input[type=number]:focus,
input[type=date]:focus,
input[type=password]:focus,
textarea:focus,
select:focus {
  background: #ff9;
}

input[type=radio],
input[type=checkbox] {
  width: auto;
  vertical-align: baseline;
}

button,
input[type=submit],
input[type=button],
input[type=reset],
input[type=radio],
input[type=checkbox] {
  cursor: pointer;
}

button[disabled] {
  opacity: 0.3;
  cursor: default;
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

legend {
  width: 100%;
}

/* Extends
--------------------------------*/

*:first-child {
  margin-top: 0;
}

*:last-child {
  margin-bottom: 0;
}

.site-content,
.site-header-content {
  max-width: 768px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 3.125vw;
  padding-left: 3.125vw;
}

input[type=submit],
.btn {
/*  display: block;*/
  display: inline-block;
  width: 100%;
/*  max-width: 400px;*/
  max-width: 340px;
  box-shadow: none;
  margin: 0 auto;
  padding: 1.6111em;
  border: 0;
  border-radius: 3em;
  background: #9e2940;
  color: #fff;
  font: 700 1.125rem/1.334 "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  text-align: center;
  text-decoration: none;
  text-shadow: none;
}

/* Heading
--------------------------------*/

h2,
h3,
h4,
h5,
h6 {
  line-height: 1.25;
  font-weight: 700;
}

/* Site Width
--------------------------------*/

.site {
  margin: auto;
}

/* Common
--------------------------------*/

.tagline {
  font-weight: 700;
}

.text {
  font-size: 1.125em;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  word-wrap: normal;
}

.break:before {
  white-space: pre;
  content: "\a";
}

/* Header
--------------------------------*/

.site-header {
  margin-bottom: 20px;
  background: #fff;
}

.site-header-content {
  padding-top: 16px;
  padding-bottom: 16px;
}

.site-title {
  width: 183px;
  line-height: 1;
  font-size: 1em;
}

.page-title {
  line-height: 2.286;
  margin: 0;
  padding: 0;
  background: #9e2940;
  color: white;
  font-weight: 700;
  font-size: 21px;
  text-align: center;
}

/* Footer
--------------------------------*/

/* Site Content
--------------------------------*/

.site-content {
  padding-bottom: 48px;
}

.no-posts {
  font-weight: 700;
  text-align: center;
}

/* 404
--------------------------------*/

.search-form {
  display: flex;
  max-width: 400px;
}

.search-form__field[type=search] {
  flex: 1;
  border-radius: 0;
}

.search-form__submit {
  flex: 0 0 4em;
  border: solid #ccc;
  border-width: 1px 1px 1px 0;
  border-radius: 0;
}

/* Home
--------------------------------*/

.text {
  font-size: 1.125em;
}

.step__num {
  width: fit-content;
  margin-bottom: 0.286em;
  padding: 0 1.143em;
  border-radius: 0.286em;
  background: #9e2940;
  color: #fff;
  font: 0.875em/2.143 Inter, sans-serif;
  text-transform: uppercase;
}

.step__title {
  font-weight: 700;
  font-size: 1.125em;
}

.step-indicator {
  display: flex;
  position: relative;
  list-style: none;
  justify-content: space-between;
  overflow: hidden;
  margin: 0 0 20px;
  padding: 0;
  font: 700 14px/30px Inter, sans-serif;
}

.step-indicator__item {
  position: relative;
  z-index: 1;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #D68D9D;
  color: #fff;
  text-align: center;
}

.step-indicator__item:before {
  position: absolute;
  top: 0;
  right: 100%;
  bottom: 0;
  z-index: -1;
  width: calc((93.75vw - 180px) / 5);
  max-width: 108px;
  height: 2px;
  margin: auto;
  background: inherit;
  content: "";
}

.step-indicator__item:first-child:before {
  content: none;
}

[aria-current=step] ~ .step-indicator__item {
  background: #d4d4d4;
}

.confirm-table th {
  width: 7.5em;
}

.form-container {
  margin-top: 40px;
}

.fieldset {
  margin-top: 40px;
}

.legend {
  display: grid;
  position: relative;
  grid-template-areas: ". inner tag";
  grid-template-columns: 1fr auto 1fr;
  gap: 0 0.625em;
  align-items: center;
  line-height: 2.25;
  margin: 0 -3.125vw 2em;
  background: #d5d5d5;
  font-size: 16px;
  text-align: center;
}

.legend--add {
  padding: 0 2em;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

.legend__inner {
  grid-area: inner;
}

.field {
  margin-bottom: 1.25em;
}

.field__label {
  display: block;
  margin-bottom: 0.375em;
}

.field__label .adjust {
  vertical-align: bottom;
  font-size: 3.2vw;
}

.field__label--checkbox {
  margin-bottom: 1em;
  text-align: center;
}

.field-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1em;
}

.field-group .field {
  flex: 1 calc(50% - 0.5em);
}

.field-group .field--relationship {
  flex: 0 0 34.1%;
}

.input-group {
  display: flex;
  align-items: flex-end;
  gap: 0 0.875em;
}

.input-group__input {
  flex: 0 auto;
}

.input-group__input.fit {
  flex-grow: 1;
}

.required,
.optional {
  display: inline-block;
  grid-area: tag;
  width: 3.667em;
  line-height: 1.5;
  vertical-align: text-bottom;
  background: #F5D4DC;
  color: #9e2940;
  font-size: 0.75rem;
  text-align: center;
}

.optional {
  background: #fff;
  color: #afafaf;
}

.form-attention {
  margin: 40px 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: #ebebeb;
  font-size: 0.875em;
  text-align: justify;
}

.submit {
  margin-top: 48px;
  text-align: center;
}

.form-attention + .submit {
  margin-top: 0;
}

.back {
  margin-top: 40px;
  text-align: center;
}

.back input {
  width: auto;
  background: transparent;
  color: #9e2940;
  text-decoration: underline;
}

label[for] {
  cursor: pointer;
}

.insertion {
  counter-reset: add 1;
}

.insertion .legend {
  counter-increment: add;
}

.insertion .legend__inner:after {
  content: counter(add);
}

.add {
  display: block;
  width: 12em;
  line-height: 2.4286;
  margin: 4rem auto;
  border: 1px solid;
  background: #fff;
  color: #363636;
  font-size: 0.875em;
  text-align: center;
}

.remove {
  position: absolute;
  top: 0;
  right: 0.5em;
  bottom: 0;
  width: 1em;
  height: 1em;
  margin: auto;
  border: 1px solid #363636;
  border-radius: 50%;
  background: transparent;
}

.remove:before,
.remove:after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 0.625em;
  height: 0.0625em;
  margin: auto;
  border-radius: 0.0625em;
  background: #363636;
  transform: rotate(45deg);
  content: "";
}

.remove:after {
  transform: rotate(-45deg);
}

.input-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1em 2em;
  line-height: 1.5;
  margin-bottom: 1em;
}

.input-list:last-child {
  margin-bottom: 0;
}

.input-list__item {
  cursor: pointer;
}

.checkbox-with-text {
  margin-top: 1em;
}

.input-list + .checkbox-with-text {
  margin-top: 1.5em;
}

.checkbox-with-text__checkbox {
  display: block;
  position: relative;
  margin-bottom: 0.375em;
  padding-left: 30px;
  cursor: pointer;
}

.checkbox-with-text__checkbox > input,
.checkbox-with-text__checkbox > .checkbox {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  margin: auto;
}

.checkbox-with-text__text {
  padding-left: 30px;
}

.checkbox,
.radio {
  display: inline-block;
  position: relative;
  width: 24px;
  height: 24px;
  vertical-align: top;
  overflow: hidden;
  cursor: pointer;
}

.checkbox > input,
.radio > input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  word-wrap: normal;
}

.checkbox__box,
.radio__box {
  display: block;
  width: 100%;
  height: 100%;
  background: no-repeat 50% 50% #fff;
}

.checkbox__box {
  border: 1px solid #9e2940;
  border-radius: 4px;
  background-image: url(images/check.svg);
}

:checked + .checkbox__box {
  background-color: #9e2940;
}

.radio__box {
  border: 1px solid #cdcfd0;
  border-radius: 50%;
}

:checked + .radio__box {
  box-shadow: 0 0 0 7px inset #9e2940;
  border-color: #9e2940;
}

.select {
  display: block;
  position: relative;
  width: 100%;
}

.select:after {
  position: absolute;
  top: 0;
  right: 12px;
  bottom: 0;
  width: 24px;
  height: 24px;
  margin: auto;
  background: url(images/arrow.svg) no-repeat 50% 50%;
  content: "";
  pointer-events: none;
}

.select select {
  -webkit-appearance: none;
  padding-right: 48px;
}

.input-small {
  width: 5.625em;
}

.input-middle {
  width: 9em;
}

.input-half {
  width: calc((93.75vw - 1em) / 2);
  max-width: calc((720px - 1em) / 2);
}

/* Extra
--------------------------------*/

.for-ie {
  padding: 10px 0;
  background: #f00;
  color: #fff;
  font-size: 20px;
  text-align: center;
}

/* Media Queries
--------------------------------*/

@media print, screen and (min-width: 500px) {
  .field__label .adjust {
    font-size: 16px;
  }
}

@media print, screen and (min-width: 768px) {
  a[href^="tel:"] {
    text-decoration: inherit;
  }

  .site-content,
  .site-header-content {
    padding-right: 24px;
    padding-left: 24px;
  }

  .legend {
    margin-right: -24px;
    margin-left: -24px;
  }
}

@media print {
  body {
    min-width: 768px;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  figcaption {
    page-break-after: avoid;
    page-break-inside: avoid;
  }

  blockquote,
  figure,
  table {
    page-break-inside: avoid;
  }
}