@charset "UTF-8";

[v-cloak] {
  display: none;
}

#formApp {
  padding-bottom: 80px;

  @media (max-width:600px) {
    padding-bottom: 60px;
  }
}

* {
  box-sizing: border-box !important;
}

.wrapper {
  width: 100%;
  max-width: 800px;
  margin: auto;

  @media (max-width: 880px) {
    width: 90%;
    max-width: none;
  }
}

.title {
  margin-top: 40px;
  margin-bottom: 40px;
  text-align: center;
  font-size: 2rem;
  font-weight: 400;
}

@media (max-width: 1024px) {
  .title {
    margin-top: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    font-size: 36px;
    margin-right: auto;
    margin-left: auto;
  }
}

@media (max-width: 510px) {
  .title {
    font-size: 6.88vw;
  }
}

.check-area {
  font-size: 1rem;
  margin-bottom: 40px;
}

@media (max-width: 600px) {
  .check-area {
    font-size: 1rem;
  }
}

.check-area__list {
  margin-bottom: 10px;

  a,
  button {
    background: none;
    appearance: none;
    padding: 0;
    margin: 0;
    border: none;
    color: #0f67b8;
    text-decoration: underline;
    vertical-align: baseline;

    &:hover {
      text-decoration: none;
    }
  }
}

.check-area label {
  display: block;
  padding-right: 2em;
}

.popup-inner_tel {
  text-align: center;
  padding-top: 30px;
}

.popup-inner_tel_title {
  font-size: 1.6rem;
}

.page-section+.page-section {
  margin-top: 80px;
  padding-top: 80px;
  border-top: 1px solid #000;
}

.page-form {
  margin-right: auto;
  margin-left: auto;
  word-break: break-all;
}

.page-title {
  font-size: 1.4rem;
  text-align: center;
  font-weight: bold;
  margin-bottom: 20px;

  @media (max-width:600px) {
    font-size: 1.4rem;
  }
}

.page-subtitle {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 20px;

  @media (max-width:600px) {
    font-size: 1.2rem;
  }
}

.page-text {
  font-size: 1rem;
  margin-bottom: 20px;
}

.page-cautionbox {
  font-size: 1rem;
  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 #ccc;
  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: none;
  transition: border .3s ease;
  position: absolute;
  z-index: 1;
  left: 0;
  top: 0;
  border: 1px solid transparent;
}

.page-varietyBox__thumb {
  aspect-ratio: 1.3 / 1;
  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 {
  border-top: 1px solid #ccc;
  margin-top: .5em;
  padding-top: .5em;
  padding-bottom: 1em;
  font-size: .8rem;
  text-align: left;
}

.page-dataBlock {
  font-size: min(calc(14 / 414 * 100vw), 14px);
  display: flex;
  justify-content: space-between;
  border: 1px solid #ccc;
  padding: 1em;
  min-height: 107px;
  box-sizing: border-box;

  button.page-dataBlock__thumb,
  button.page-dataBlock__text {
    cursor: pointer;
    transition: opacity .3s ease;

    &:hover {
      opacity: .6;
      transition: opacity .3s ease;
    }
  }
}

.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;
  }
}

@media (max-width:767px) {
  .page-dataBlock__thumb {
    width: calc(130 / 800 * 100%);
    margin-right: calc(20 / 800 * 100%);
    aspect-ratio: 1/1;
  }
}

.page-dataBlock__text {
  line-height: 1.33;
  flex: 1;
  display: flex;
  align-items: center;
  font-weight: bold;
  margin-right: 2em;

  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 {
  font-size: 1rem;
  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-keyselectbox {
  position: relative;
  border: 1px solid #ccc;
}

.page-keyselectbox__upper {
  padding: 1em .75em;
  background: #eee;
  text-align: center;

  .page-subtitle {
    margin: 0 auto;
  }
}

.page-keyselectbox__lower {
  padding: 2em 2em;
  border-top: 1px solid #ccc;
}

@media (max-width:767px) {
  .page-keyselectbox__lower {
    padding: 1em .75em;
  }
}

.page-keyselectbox-radiolist {
  display: flex;
  flex-wrap: wrap;
  font-size: 1rem;
  margin-top: -1em;
}

@media (max-width:767px) {
  .page-keyselectbox-radiolist {
    display: flex;
    flex-direction: column;
  }
}

.page-keyselectbox-radiolist__li {
  margin-right: 1.5em;
  margin-top: 1em;
}

@media (max-width:767px) {
  .page-keyselectbox-radiolist__li {
    margin-right: 0;
  }
}

.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 #ccc;
  border-radius: 6px;
  width: 100%;


  &::before {
    content: '';
    display: block;
    width: 2em;
    height: 100%;
    position: absolute;
    z-index: 0;
    right: 0;
    top: 0;
    background: transparent;
  }

  &::after {
    content: '';
    display: block;
    display: inline-block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8.7px 5px 0px 5px;
    border-color: #303030 transparent transparent transparent;
    position: absolute;
    z-index: 0;
    right: calc(1em - 5px);
    top: 0;
    bottom: 0;
    margin: auto;
  }
}

.page-select {
  cursor: pointer;
  width: 100%;
  appearance: none;
  border: none;
  position: relative;
  z-index: 1;
  background: transparent;
  padding: .25em 2em .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 #ccc;
  width: 100%;

  border-radius: 6px;
  padding: .25em .5em .25em .5em;
  font-size: 16px;
}

input[type="number"].page-input {
  width: 100%;
}

input[type="tel"].page-input {
  width: 100%;
}

input[type="radio"],
input[type="checkbox"] {
  display: initial;
  margin: 0;
  margin-right: 0.5em;
  margin-top: -0.15em;
}

.page-radioList+.page-radioList {
  padding-top: 0.3em;
}

.page-formListWrap {
  margin-top: 25px;
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}

.page-formList {
  font-size: 1rem;
  display: flex;

  @media (max-width:600px) {
    display: block;
  }
}

.page-formList+.page-formList {
  margin-top: 0;
}

.page-formList__badge {
  position: absolute;
  z-index: 1;
  right: .5em;
  top: 1em;

  @media (max-width:600px) {
    top: .5em;
  }
}

.page-formList__title {
  flex: 1;
}

.page-formList__badge>span {
  color: red;
  font-size: 100%;
}

.page-formList__l {
  position: relative;
  display: flex;
  align-items: flex-start;
  width: 32%;
  border-top: 1px solid #ccc;
  padding: 1em .75em;
  padding-top: 1.25em;
  padding-right: 1.5em;
  background: #eee;

  @media (max-width:600px) {
    padding: .5em .75em;
    padding-right: 1.5em;
    width: 100%;
  }
}

.page-formList__r {
  width: 68%;
  border-top: 1px solid #ccc;
  padding: 1em;

  @media (max-width:600px) {
    width: 100%;
    padding: .75em .75em;
  }

  .page-text {
    margin-bottom: 0;
  }
}

.page-formList__c {
  border-top: 1px solid #ccc;
  padding: 1em .75em;

  p {
    font-size: .9rem;
  }

  a {
    background: none;
    appearance: none;
    padding: 0;
    margin: 0;
    border: none;
    color: #0f67b8;
    text-decoration: underline;
    vertical-align: baseline;

    &:hover {
      text-decoration: none;
    }
  }
}

.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: 1rem;
  padding: 0;
  margin: 40px auto 0;
  max-width: 320px;
}

.page-btnsArea {
  font-size: 1rem;
  padding: 0 10%;
  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 {
    text-decoration: none;

    @media (min-width:768px) {
      opacity: 1;
      background: #fff;
      color: #012e7b;
      transition: .3s ease;
    }
  }

  &:disabled {
    opacity: .3;
    background: #012e7b;
    color: #fff;
  }
}

.page-btn-gray {
  background: #707070;
  color: #fff;
  border-color: #707070;

  &:hover {
    background: #fff;
    color: #707070;
  }
}

.page-btn-orange {
  background: #ff4d4d;
  color: #fff;
  border-color: #ff4d4d;

  &:hover {
    background: #fff;
    color: #ff4d4d;
  }
}

.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 #ccc;

  img {
    width: 100%;
    height: auto;
  }

  .check-area__list {
    padding: 1em 9% 0;
    font-size: 16px;
  }
}

@media (max-width:600px) {
  .page-modal__thumb {
    .check-area__list {
      font-size: 13px;
    }
  }
}

.page-modal__btns {
  padding: 20px;
  font-size: 1rem;

  p {
    text-align: center;
    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;
}

.page-imgpreview:has(img[src]) {
  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;
}

/* modal */
.modal_open {
  cursor: pointer;
  z-index: 100;
}

.modal_overlay,
.modal_content {
  display: none;
  position: fixed;
}

.modal_content {
  width: 90%;
  height: auto;
  max-width: 500px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  z-index: 101;
  text-align: center;
  padding: 1em;
  border-radius: 8px;
}

.modal_overlay {
  width: 100%;
  height: 100%;
  background: grey;
  opacity: .6;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}

.modal_overlay.open,
.modal_content.open {
  display: block;
}

.modal_delete {
  cursor: pointer;
  text-align: center;
}

.popup-inner_tel_number {
  font-size: 24px;
  vertical-align: baseline;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  padding: 0;
  border: 0;
  background: transparent;
  outline: none;
}

.popup-color-red {
  color: #f00;
  font-size: 14px;
  margin-bottom: 30px;
}

.close-btn {
  display: block;
  position: relative;
  width: 30px;
  height: 30px;
  border: 2px solid #333;
  /* 枠の調整 */
  background: #fff;
  /* ボタンの背景色 */
  margin-left: auto;
  margin-right: 0;
}

.close-btn::before,
.close-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3px;
  /* 棒の幅（太さ） */
  height: 27px;
  /* 棒の高さ */
  background: #333;
  /* バツ印の色 */
}

.close-btn::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.close-btn::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}