@charset "UTF-8";

[v-cloak] {
  display: none;
}

#formApp {
  padding-bottom: 80px;

  @media (max-width:600px) {
    padding-bottom: 60px;
  }
}

.check-area__list {
  a,
  button {
    background: none;
    appearance: none;
    padding: 0;
    margin: 0;
    border: none;
    color: #0f67b8;
    text-decoration: underline;

    &:hover {
      text-decoration: none;
    }
  }
}

.popup-inner_tel {
  text-align: center;
  padding-top: 30px;
}

.page-section+.page-section {
  margin-top: 80px;
  padding-top: 80px;
  border-top: 1px solid #000;
}

.page-form {
  margin-right: auto;
  margin-left: auto;
  font-size: 16px;
  word-break: break-all;

  @media (max-width:600px) {
    width: 90%;
    font-size: 14px;
  }
}

.page-title {
  font-size: 24px;
  text-align: center;
  font-weight: bold;
  margin-bottom: 20px;

  @media (max-width:600px) {
    font-size: 20px;
  }
}

.page-subtitle {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 20px;

  @media (max-width:600px) {
    font-size: 15px;
  }
}

.page-text {
  font-size: 13px;
  margin-bottom: 20px;
}

.page-cautionbox {
  font-size: 13px;
  margin-bottom: 20px;
  background: #ddd;
  padding: 1em;
  border-radius: 6px;
  font-weight: bold;
}

input[type="radio"].page-varietyRadio {
  display: none;
  appearance: none;
}

label.page-varietyBox:hover::before,
.page-varietyRadio:checked+.page-varietyBox::before {
  border: 4px solid #012e7b;
  transition: border .3s ease;
}

label.page-varietyBox {
  cursor: pointer;
  position: relative;
  box-sizing: border-box;
  display: block;
  appearance: none;
  border: 1px solid #999;
  border-radius: 6px;
  padding: 5%;
  margin: 0 auto !important;
}

label.page-varietyBox::before {
  box-sizing: border-box;
  content: '';
  display: block;
  width: 100% !important;
  height: 100% !important;
  transform: none !important;
  border-radius: 6px;
  border: none;
  transition: border .3s ease;
  position: absolute;
  z-index: 1;
  left: 0;
  top: 0;
  border: 1px solid transparent;
}

.page-varietyBox__thumb {
  aspect-ratio: 412 / 252;
  position: relative;
}

.page-varietyBox__thumb img {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  object-fit: contain;
  width: 100%;
  height: 100%;
}

.page-varietyBox__text {
  margin-top: 0.5em;
  font-size: min(calc(13 / 414 * 100vw), 13px);
  text-align: center;
}

.page-dataBlock {
  font-size: min(calc(14 / 414 * 100vw), 14px);
  display: flex;
  justify-content: space-between;
  border: 1px solid #012e7b;
  padding: 1em;
  border-radius: 10px;
  min-height: 107px;
  box-sizing: border-box;
}

.page-dataBlock__thumb {
  width: calc(80 / 800 * 100%);
  margin-right: calc(20 / 800 * 100%);
  aspect-ratio: 1/1;

  img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
}

.page-dataBlock__text {
  line-height: 1.33;
  flex: 1;
  display: flex;
  align-items: center;
  font-weight: bold;

  small {
    font-weight: normal;
  }
}

.page-dataBlock__delete {
  width: 6em;
  line-height: 1.33;
  display: flex;
  align-items: center;
}

.page-btn-delete {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  appearance: none;
  border: none;
  text-align: center;
  background: none;
  transition: .3s ease;
  padding: 0;
  position: relative;
  padding-right: 1em;
  color: #666;
  transition: opacity .3s ease;

  &:hover {
    opacity: .6;
    transition: opacity .3s ease;
  }
}

.page-btn-delete>i {
  position: relative;
  border-radius: 50%;
  border: 2px solid #666;
  width: 2em;
  height: 2em;
  margin-right: 1em;

  &::before,
  &::after {
    position: absolute;
    z-index: 1;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    content: '';
    display: block;
    width: 70%;
    height: 2px;
    background: #666;
    transform: rotate(45deg);
  }

  &::after {
    transform: rotate(-45deg);
  }
}

.page-dataBlock__add {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 390px;
  margin: 0 auto;
}

.page-dataBlock__add .page-btn-round {
  height: auto;
}

.page-clm2-center {
  display: flex;
  justify-content: center;
}

.page-clm2-center__li {
  width: calc(50% - 10px);

  @media (max-width:600px) {
    width: 100%;
  }
}

.page-clm1 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;

  @media (max-width:600px) {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.page-clm2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;

  @media (max-width:600px) {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.page-clm3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  font-size: 13px;

  @media (max-width:600px) {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
}

.page-selectWrap {
  font-size: 16px;
  position: relative;
  border: 1px solid #999;
  border-radius: 6px;
  overflow: hidden;
  width: max-content;

  &::before {
    content: '';
    display: block;
    width: 2em;
    height: 100%;
    position: absolute;
    z-index: 0;
    right: 0;
    top: 0;
    background: #012e7b;
  }

  &::after {
    content: '';
    display: block;
    display: inline-block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8.7px 5px 0px 5px;
    border-color: #fff transparent transparent transparent;
    position: absolute;
    z-index: 0;
    right: calc(1em - 5px);
    top: 0;
    bottom: 0;
    margin: auto;
  }
}

.page-select {
  width: 100%;
  appearance: none;
  border: none;
  position: relative;
  z-index: 1;
  background: transparent;
  padding: .25em 3em .25em .5em !important;
}

textarea.page-input,
input[type="text"].page-input,
input[type="tel"].page-input,
input[type="number"].page-input {
  appearance: none;
  border: 1px solid #999;
  width: 100%;
  border-radius: 6px;
  padding: .25em .5em .25em .5em;
  font-size: 16px;
}

input[type="number"].page-input {
  width: 12em;
}

input[type="tel"].page-input {
  width: 15em;
}

input[type="radio"],
input[type="checkbox"] {
  display: initial;
  margin: 0;
  margin-right: 0.5em;
}

.page-radioList {
  padding: .25em 0;
}

.page-formListWrap {
  margin-top: 25px;
  border-bottom: 1px solid #ddd;
}

.page-formList {
  display: flex;

  @media (max-width:600px) {
    display: block;
  }
}

.page-formList+.page-formList {
  margin-top: 0;
}

.page-formList__badge {
  width: 3.8em;
  padding-right: 1em;
}

.page-formList__title {
  flex: 1;
}

.page-formList__badge>span {
  color: #fff;
  background: red;
  display: block;
  padding: .15em 1em;
  font-size: 70%;
  margin-top: 0.2em;
}

.page-formList__l {
  display: flex;
  align-items: flex-start;
  width: 28%;
  border-top: 1px solid #ddd;
  padding: 1em .5em;
  padding-top: 1.25em;
  background: #eee;

  @media (max-width:600px) {
    padding: 1em .5em;
    width: 100%;
  }
}

.page-formList__r {
  width: 73%;
  border-top: 1px solid #ddd;
  padding: 1em;

  @media (max-width:600px) {
    width: 100%;
    padding-left: 0;
  }

  .page-text {
    margin-bottom: 0;
  }
}

.page-formList__r__text {
  padding-top: 0.25em;

  @media (max-width:600px) {
    padding-top: 0;
  }
}

.page-addkeyaArea {
  margin-top: 1em;
  width: 12em;
}

.page-btnArea {
  font-size: 16px;
  padding: 0 20px;
  margin: 40px auto 0;
  max-width: 320px;
}

.page-btnsArea {
  font-size: 16px;
  padding: 0 20px;
  margin: 40px auto 0;
}

.page-btn,
.page-btn-round {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  appearance: none;
  border: none;
  background: #012e7b;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  width: 100%;
  padding: .66em .5em;
  border: 2px solid #012e7b;
  transition: .3s ease;

  &:hover {
    @media (min-width:768px) {
      opacity: 1;
      background: #fff;
      color: #012e7b;
      transition: .3s ease;
    }
  }

  &:disabled {
    opacity: .3;
    background: #012e7b;
    color: #fff;
  }
}

.page-btn-gray {
  background: #333;
  color: #fff;
  border-color: #333;

  &:hover {
    background: #fff;
    color: #333;
  }
}

.page-btn.is-inactive,
.page-btn-round.is-inactive {
  opacity: .5;

  &:hover {
    opacity: 1;
  }
}

.page-btn-round {
  border-radius: 6em;
}

/*  */

:where(dialog, [popover]) {
  border: none;
  background: none;
  color: inherit;
  inset: unset;
  max-width: unset;
  max-height: unset;
}

:where(dialog:not([open], [popover]), [popover]:not(:popover-open)) {
  display: none !important;
}

.page-modal-target {
  background-color: rgba(0, 0, 0, .2);
  height: 100%;
  position: fixed;
  width: 100%;
  z-index: 10;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;

  padding: 20px 20px;

  @media (max-width:600px) {
    padding: calc(22 / 750 * 100vw) calc(22 / 750 * 100vw);
  }
}

.page-modal-target__bg {
  appearance: none;
  background: none;
  border: 0;
  cursor: default;
  height: 100%;
  margin: 0;
  padding: 0;
  position: absolute;
  width: 100%;
  z-index: 1;
  left: 0;
  top: 0;
}

.page-modal-target__inner {
  position: relative;
  z-index: 1;
  align-items: center;
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 800px;
  margin: auto;
}

.page-modal-contents {
  box-shadow: 0 0 20px rgba(0, 0, 0, .7);
  position: relative;
  background: #fff;
  width: 100%;
  margin: auto;
  max-height: 100%;
  overflow: auto;
}

.page-modal-contents__inner {
  padding: 2em;
}

.page-modal__title {
  background: #012e7b;
  color: #fff;
  text-align: center;
  font-size: 14px;
  padding: 1em;

  strong {
    display: block;
    font-size: 24px;
  }
}

.page-modal__thumb {
  overflow: auto;
  height: 400px;
  border-bottom: 1px solid #ddd;

  img {
    width: 100%;
    height: auto;
  }
}

.page-modal__btns {
  padding: 20px;

  p {
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 20px;
  }
}

.page-textlink {
  appearance: none;
  border: none;
  padding: 0;
  margin: 0;
  display: inline;
  background: none;
  color: #0f67b8;
  text-decoration: underline;

  &:hover {
    text-decoration: none;
  }
}

.page-imgpreview {
  width: 66%;
  font-size: 0;
  margin-top: 1rem;
}

.page-imgpreview img {
  width: 100%;
  height: auto;
}

.page-thumb {
  margin-bottom: 40px;

  @media (max-width:600px) {
    margin-bottom: 20px;
  }
}

.page-thumb img {
  max-width: 100%;
  height: auto;
}

.error {
  font-size: 14px;
  margin-top: 0.5em;
  color: red;
  font-weight: bold;
}