@charset "utf-8";

/*------------------------------------------------------------
  Reset
------------------------------------------------------------*/

/*! destyle.css v4.0.0 | MIT License | https://github.com/nicolas-cusan/destyle.min.css */
*,::before,::after{box-sizing:border-box;border-style:solid;border-width:0}html{line-height:1.15;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}body{margin:0}main{display:block}p,table,blockquote,address,pre,iframe,form,figure,dl{margin:0}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit;margin:0}ul,ol{margin:0;padding:0;list-style:none}dt{font-weight:700}dd{margin-left:0}hr{box-sizing:content-box;height:0;overflow:visible;border-top-width:1px;margin:0;clear:both;color:inherit}pre{font-family:monospace,monospace;font-size:inherit}address{font-style:inherit}a{background-color:transparent;text-decoration:none;color:inherit}abbr[title]{text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:inherit}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}svg,img,embed,object,iframe{vertical-align:bottom}button,input,optgroup,select,textarea{-webkit-appearance:none;appearance:none;vertical-align:middle;color:inherit;font:inherit;background:transparent;padding:0;margin:0;border-radius:0;text-align:inherit;text-transform:inherit}button,[type="button"],[type="reset"],[type="submit"]{cursor:pointer}button:disabled,[type="button"]:disabled,[type="reset"]:disabled,[type="submit"]:disabled{cursor:default}:-moz-focusring{outline:auto}select:disabled{opacity:inherit}option{padding:0}fieldset{margin:0;padding:0;min-width:0}legend{padding:0}progress{vertical-align:baseline}textarea{overflow:auto}[type="number"]::-webkit-inner-spin-button,[type="number"]::-webkit-outer-spin-button{height:auto}[type="search"]{outline-offset:-2px}[type="search"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}[type="number"]{-moz-appearance:textfield}label[for]{cursor:pointer}details{display:block}summary{display:list-item}[contenteditable]:focus{outline:auto}table{border-color:inherit;border-collapse:collapse}caption{text-align:left}td,th{vertical-align:top;padding:0}th{text-align:left;font-weight:700}

/*------------------------------------------------------------
  Base
------------------------------------------------------------*/

:root {
  --themeColor: #894a0f;
  --borderColor: #ddd;
}

html {
  font-size: 62.5%;
  overflow-y: scroll;
  background-color: #fff4d3;
}

body {
  min-height: 100dvh;
  font-family:
    "Helvetica Neue",
    Arial,
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    Meiryo,
    sans-serif;
  font-size: 1.6rem;
  line-height: 1;
  color: #333;
}

*::placeholder {
  color: #bbb;
}

input[type="text"], input[type="email"] {
  min-height: 40px;
  padding: 8px;
  font-size: 1.4rem;
  border: 1px solid var(--borderColor);
  border-radius: 4px;
  background-color: #fff;
  transition-property: border-color;
  transition-duration: .2s;
}

input[type="text"]:focus, input[type="email"]:focus {
  outline: none;
  border-color: var(--themeColor);
}

select {
  min-height: 40px;
  padding: 8px 26px 8px 8px;
  font-size: 1.4rem;
  line-height: 1.4;
  border: 1px solid var(--borderColor);
  border-radius: 4px;
  background-color: #fff;
  background-image: linear-gradient(45deg, transparent 50%, var(--themeColor) 50%), linear-gradient(135deg, var(--themeColor) 50%, transparent 50%);
  background-size: 5px 5px, 5px 5px;
  background-position: calc(100% - 13px) 50%, calc(100% - 8px) 50%;
  background-repeat: no-repeat;
  transition-property: border-color;
  transition-duration: .2s;
}

select:focus {
  outline: none;
  border-color: var(--themeColor);
}

textarea {
  height: 160px;
  padding: 8px;
  font-size: 1.4rem;
  line-height: 1.4;
  border: 1px solid var(--borderColor);
  border-radius: 4px;
  background-color: #fff;
  transition-property: border-color;
  transition-duration: .2s;
}

textarea:focus {
  outline: none;
  border-color: var(--themeColor);
}

textarea:read-only {
  background-color: #f9f9f9;
}

/*------------------------------------------------------------
  Layouts
------------------------------------------------------------*/

.main {
  padding: 20px;
}

.inner {
  display: flex;
  flex-flow: column;
  gap: 20px 0;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  background-color: #FFF;
}

.flow {
  display: flex;
}

.flow__item {
  position: relative;
  flex: 1;
  display: flex;
  justify-content: center;
  height: 32px;
  color: #ddd;
}

.flow__item::before {
  position: absolute;
  left: 50%;
  bottom: calc(12px / 2 - 2px / 2);
  content: '';
  width: 100%;
  height: 2px;
  background-color: #ddd;
}

.flow__item::after {
  position: absolute;
  left: calc(50% - 12px / 2);
  bottom: 0;
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ddd;
}

.flow__item:last-child::before {
  content: none;
}

.flow__item.isCurrent {
  font-weight: bold;
  color: #333;
}

.flow__item.isCurrent::after {
  background-color: var(--themeColor);
  filter: brightness(1.2);
}

.flow__item.isEnd::before {
  background-color: var(--themeColor);
}

.flow__item.isEnd::after {
  background-color: var(--themeColor);
}

/*------------------------------
  フッター
------------------------------*/

footer {
  position: sticky;
  top: 100%;
  will-change: transform;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px;
  text-align: center;
  color: #aaa;
  line-height: 1.4;
}

footer small {
  font-size: 1.1rem;
}

/*------------------------------------------------------------
  Pages
------------------------------------------------------------*/

/*------------------------------
  同意ページ
------------------------------*/

.agreeWrapper {
  display: flex;
  flex-flow: column;
  gap: 16px 0;
}

.agree {
  display: flex;
  justify-content: center;
}

[name="agreement"] {
  appearance: none;
}

[name="agreement"]:checked + .agree__label::after {
  background-color: var(--themeColor);
}

[name="agreement"]:focus + .agree__label::after {
  border-color: var(--themeColor);
}

.agree__label {
  position: relative;
  padding-left: calc(16px + 5px);
}

.agree__label::before {
  position: absolute;
  left: calc((16px - 8px) / 2);
  top: calc(50% - 6px / 2 - 2px / 2);
  z-index: 2;
  width: 8px;
  height: 6px;
  content: '';
  border-width: 0 0 2px 2px;
  border-style: solid;
  border-color: #fff;
  background-color: transparent;
  transform: rotate(-45deg);
}

.agree__label::after {
  position: absolute;
  left: 0;
  top: calc(50% - 16px / 2);
  z-index: 1;
  width: 16px;
  height: 16px;
  content: '';
  border: 1px solid #ccc;
  border-radius: 2px;
  transition-property: background-color;
  transition-duration: .2s;
}

.attention {
  display: flex;
  flex-flow: column;
  gap: 8px 0;
  padding: 10px;
  border-radius: 4px;
  background-color: #f5f5f5;
}

.attention__item {
  position: relative;
  font-size: 1.4rem;
  line-height: 1.4;
  padding-left: 1em;
}

.attention__item::before {
  position: absolute;
  top: 0;
  left: 0;
  content: '※';
  font-size: 1em;
}

/*------------------------------------------------------------
  Components
------------------------------------------------------------*/

/*------------------------------
  コンテンツ
------------------------------*/

.content {
  display: flex;
  flex-flow: column;
  gap: 16px 0;
  padding: 20px 0;
}

.content p {
  line-height: 1.4;
}

.content a {
  color: var(--themeColor);
  text-decoration: underline;
}

.content__inner {
  display: flex;
  flex-flow: column;
  gap: 24px 0;
  padding: 20px;
  border-radius: 8px;
  background-color: #f9f9f9;
}

/*------------------------------
  ボタン
------------------------------*/

.component_buttonWrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

@media (max-width: 640px) {
  .component_buttonWrapper {
    flex-flow: column;
  }
}

.component_button {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 240px;
  padding: 10px 20px;
  font-weight: bold;
  color: #fff;
  border: 1px solid var(--themeColor);
  border-radius: 6px;
  background-color: var(--themeColor);
  transition-property: border-color, filter;
  transition-duration: .2s;
}

@media (hover) {
  .component_button:hover {
    filter: brightness(1.2);
  }
}

.component_button--back {
  color: var(--themeColor);
  border-color: var(--borderColor);
  background-color: #fff;
}

@media (hover) {
  .component_button--back:hover {
    border-color: var(--themeColor);
  }
}

.component_buttonSmall {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 30px;
  padding: 4px 8px;
  font-size: 1.4rem;
  color: var(--themeColor);
  border: 1px solid var(--themeColor);
  border-radius: 4px;
  background-color: #fff;
  transition-property: filter;
  transition-duration: .2s;
}

@media (hover) {
  .component_buttonSmall:hover {
    filter: brightness(1.2);
  }
}

/*------------------------------
  入力
------------------------------*/

.component_input {
  display: flex;
  flex-flow: column;
  gap: 6px 0;
}

.component_input__name {
  display: flex;
  align-items: center;
  gap: 0 8px;
  font-size: 1.4rem;
  font-weight: bold;
}

.component_input__required {
  font-size: 1.2rem;
  color: #d10000;
}

.component_input__value {
  display: flex;
  flex-flow: column;
  gap: 4px 0;
}

.component_input__datetime {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.component_input__datetime select[data-type="year"] {
  width: 120px;
}

.component_input__datetime select:not([data-type="year"]) {
  width: 60px;
}

.component_input__error {
  width: 100%;
  padding: 8px;
  font-size: 1.4rem;
  color: #d10000;
  line-height: 1.4;
  background-color: #ffeded;
}

.component_input__error[data-is-error="false"] {
  display: none;
}

.component_input__confirm {
  flex: 1;
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 8px;
  font-size: 1.4rem;
  line-height: 1.4;
  border: 1px solid transparent;
  border-radius: 4px;
  background-color: #efefef;
}

/*------------------------------------------------------------
  Utilities
------------------------------------------------------------*/

.focusText {
  color: #d10000;
}

.isHide {
  display: none;
}
