@charset "UTF-8";

html {
  @media screen and (max-width: 768px) {
    font-size: 2.13vw;
  }

  @media screen and (min-width: 769px) {
    font-size: 0.83vw;
  }
}

body {
  color: #3E3A39;
  font-family: hiragino-kaku-gothic-pron, sans-serif;
  font-style: normal;
  font-weight: 300;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  width: 100%;
}

ul {
  padding-inline-start: 0;
}

li {
  list-style: none;
}

.pc-only {
  @media screen and (max-width: 768px) {
    display: none;
  }

  @media screen and (min-width: 769px) {
    display: block;
  }  
}

.sp-only {
  @media screen and (max-width: 768px) {
    display: block;
  }

  @media screen and (min-width: 769px) {
    display: none;
  }  
}

.hidden {
  display: none;
}

.text-orange {
  color: #FD892A;
}

.circle-orange {
  background-color: #FD892A;
  border-radius: 50%;

  @media screen and (max-width: 768px) {
    width: 1.875rem;
    height: 1.875rem;
  }

  @media screen and (min-width: 769px) {
    width: 1.5625rem;
    height: 1.5625rem;
  }
}

/* main */
.main-wrapper {
  position: relative;

  @media screen and (max-width: 768px) {
    padding: 5.5rem 2.7rem 12.5rem;
  }

  @media screen and (min-width: 769px) {
    padding: 2.19rem 15.62rem 12.5rem;
  }
}

.main-contents {
  font-weight: 600;
}

/* 紙飛行機 */
.paper-airplane {
  position: absolute;

  @media screen and (max-width: 768px) {
    width: 10.375rem;
    top: 4rem;
    right: 3rem;
  }

  @media screen and (min-width: 769px) {
    width: 16.375rem;
    top: 4rem;
    right: 16.5rem;
  }
}

/* ページタイトル */
.page-title-ja {
  display: flex;
  align-items: center;
  color: #00B9AD;

  @media screen and (max-width: 768px) {
    gap: 0.56rem;
    font-size: 1.5625rem;
    letter-spacing: 0.1875rem;
  }

  @media screen and (min-width: 769px) {
    gap: 0.19rem;
    font-size: 1.25rem;
    letter-spacing: 0.15rem;
  }
}

.page-title-en {
  color: #00B9AD;

  @media screen and (max-width: 768px) {
    margin-top: 1.69rem;
    font-size: 5.625rem;
    letter-spacing: 0.3375rem;
  }

  @media screen and (min-width: 769px) {
    margin-top: 0.44rem;
    font-size: 6.25rem;
    letter-spacing: 0.375rem;
  }
}

/* description */
.description-wrapper {
  @media screen and (max-width: 768px) {
    margin-top: 5.19rem;
  }

  @media screen and (min-width: 769px) {
    margin-top: 0.69rem;
  }
}

.description-contents {
  color: #3E3A39;

  @media screen and (max-width: 768px) {
    font-size: 1.5rem;
    letter-spacing: 0.09rem;    
  }  

  @media screen and (min-width: 769px) {
    font-size: 1.25rem;
    letter-spacing: 0.075rem;
  }
}

/* ボタン */
.contact-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 21.875rem;
  height: 3.75rem;
  flex-shrink: 0;
  border: 3px solid #FD892A;
  border-radius: 0.3125rem;
  font-size: 1.25rem;
  letter-spacing: 0.075rem;
}

.contact-button:hover {
  cursor: pointer;
  opacity: 0.7;
}

.contact-button.forward {
  background: #FD892A;
  color: #FFF;
}

.contact-button.back {
  background: #FFF;
  color: #FD892A;
}

.contact-button.disabled {
  cursor: not-allowed;
  opacity: 0.5;  
}

/* 入力フォーム */
.input-form-wrapper {
  @media screen and (max-width: 768px) {
    margin-top: 6.5rem;
  }

  @media screen and (min-width: 769px) { 
    margin-top: 6.06rem;
  }
}

.input-form-contents {
  @media screen and (max-width: 768px) {
    font-size: 1.75rem;
    letter-spacing: 0.105rem;
  }

  @media screen and (min-width: 769px) {
    font-size: 1.5rem;
    letter-spacing: 0.09rem;
  }
}

.input-item:not(:first-child) {
  @media screen and (max-width: 768px) {
    margin-top: 3.75rem;
  }

  @media screen and (min-width: 769px) {
    margin-top: 5rem;
  }
}

.input-item input[type="checkbox"] {
  width: 2.1875rem;
  height: 2.1875rem;
  border: 3px solid #FD892A;
  border-radius: 0.3125rem;
  flex-shrink: 0;
}

.input-item input[type="email"],
.input-item input[type="tel"], 
.input-item input[type="text"],
.input-item textarea {
  border: 3px solid #9FA0A0;
  border-radius: 0.3125rem;

  @media screen and (max-width: 768px) {
    padding: 1.5rem 2.06rem;
    width: 40.625rem;
    letter-spacing: 0.105rem;
  }

  @media screen and (min-width: 769px) {
    padding: 1.38rem 2.19rem;
    width: 88.75rem;
    letter-spacing: 0.09rem;
  }
}

.input-item input[type="radio"] {
  width: 1.875rem;
  height: 1.875rem;
  flex-shrink: 0;
  stroke-width: 2px;
  stroke: #9FA0A0;
}

.input-item textarea {
  resize: vertical;
}

.input-item input::placeholder,
.input-item textarea::placeholder {
  color: #9FA0A0;
}

.input-item-data-wrapper {
  @media screen and (max-width: 768px) {
    margin-top: 1.88rem;
  }

  @media screen and (min-width: 769px) {
    margin-top: 1.06rem;
  }
}

.input-item-data-contents-text {
  @media screen and (max-width: 768px) {
    height: 5.625rem;
  }

  @media screen and (min-width: 769px) {
    height: 5rem;
  }
}

.input-item-data-contents-textarea {
  @media screen and (max-width: 768px) {
    height: 31.25rem;
  }

  @media screen and (min-width: 769px) {
    height: 25rem;
  }
}

.input-item-supplement-wrapper {
  @media screen and (max-width: 768px) {
    margin-top: 1.25rem;
  }

  @media screen and (min-width: 769px) {
    margin-top: 1.06rem;
  }
}

.input-item-data-contents-radio-list {
  @media screen and (min-width: 769px) {
    display: flex;
  }
}

.input-item-data-contents-radio-item:not(:first-child) {
  @media screen and (max-width: 768px) {
    margin-top: 1.88rem;
  }

  @media screen and (min-width: 769px) {
    margin-left: 3.75rem;
  }
}

.input-item-data-contents-radio-item-label {
  display: flex;
  align-items: center;
}

.input-item-data-contents-radio-item-label:hover {
  cursor: pointer;
}

.input-item-data-contents-radio-item input[type="radio"] {
  display: none;
}

.input-item-data-contents-radio-item input[type="radio"]:checked +  {
  display: none;
}

.input-item-data-contents-radio-item .checkmark {
  height: 1.875rem;
  width: 1.875rem;
  border-radius: 50%;
  border: 2px solid #9FA0A0; /* 枠の色 */
  display: inline-block;
  position: relative;
  transition: background-color 0.3s, border-color 0.3s;

  @media screen and (max-width: 768px) {
    margin-right: 1.12rem;
  }

  @media screen and (min-width: 769px) {
    margin-right: 1rem;
  }
}

.input-item-data-contents-radio-item input[type="radio"]:checked + .checkmark {
  background-color: #FFF;
}

.input-item-data-contents-radio-item input[type="radio"]:checked + .checkmark:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  height: 0.75rem;
  width: 0.75rem;
  background-color: #FD892A;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.input-item-data-contents-text.error,
.input-item-data-contents-textarea.error {
  background: rgba(253, 137, 42, 0.10);
  border: 3px solid #FD892A !important;
}

/* プライバシーポリシー */
.privacy-policy-wrapper {
  @media screen and (max-width: 768px) {
    margin-top: 9.38rem;
  }

  @media screen and (min-width: 769px) {
    margin-top: 8.88rem;
  }
}

.privacy-policy-text-wrapper {
  text-align: center;
}

.privacy-policy-text-contents {
  font-size: 1.5rem;
}

.privacy-policy-text-contents a {
  color: #FD892A;
  text-decoration: underline;
}

.privacy-policy-checkbox-wrapper {
  @media screen and (max-width: 768px) {
    margin-top: 6.25rem;
  }

  @media screen and (min-width: 769px) {
    margin-top: 4.19rem;
  }
}

.custom-checkbox {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
}
.custom-checkbox input[type="checkbox"] {
  display: none;
}

.custom-checkbox .checkmark {
  width: 2.1875rem;
  height: 2.1875rem;
  margin-right: 1.12rem;
  border: 3px solid #FD892A;
  border-radius: 0.3125rem;
}

.custom-checkbox input[type="checkbox"]:checked + .checkmark {
  background-color: #FD892A;
}

.custom-checkbox .checkmark::after {
  content: '';
  display: block;
  position: relative;
  left: 0.55rem;
  top: 0.2rem;
  width: 0.6rem;
  height: 1rem;
  border: solid #FFF;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
  opacity: 1;
}

.input-button-wrapper {
  margin-top: 9.38rem;
}

.input-button-contents {
  display: flex;
  justify-content: center;
}

/* エラーメッセージ */
.error-message {
  color: #FD892A;
  display: none;

  @media screen and (max-width: 768px) {
    margin-top: 1.25rem;
  }

  @media screen and (min-width: 769px) {
    margin-top: 1rem;
  }
}

/* 確認画面 */
.confirm-list-wrapper {
  margin-top: 7.94rem;
}

.confirm-list-contents {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.09rem;
}

.confirm-item {  
  @media screen and (min-width: 769px) {
    display: flex;
    align-items: center;
    gap: 5rem;
  }
}

.confirm-item:not(first-child) {
  @media screen and (max-width: 768px) {
    margin-top: 6.38rem;
  }

  @media screen and (min-width: 769px) {
    margin-top: 6.25rem;
  }
}

.confirm-item-name {
  width: 13rem;
}

.confirm-item-value {
  @media screen and (max-width: 768px) {
    max-width: 40rem;
    margin-top: 2rem;
  }

  @media screen and (min-width: 769px) {
    max-width: 65rem;
  }
}

.confirm-buttons-wrapper {
  @media screen and (max-width: 768px) {
    margin-top: 6.25rem;
  }

  @media screen and (min-width: 769px) {
    margin-top: 12.5rem;
  }
}

.confirm-buttons-contents {
  @media screen and (max-width: 768px) {
    width: 21.84263rem;
    margin: 0 auto;
  }

  @media screen and (min-width: 769px) {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3.12rem;
  }
}

.confirm-buttons-contents button:not(first-child) {
  @media screen and (max-width: 768px) {
    margin-top: 3.12rem;
  }
}

.confirm-error.active {
  display: block;
}

.confirm-error-wrapper {
  margin-top: 3rem;
  text-align: center;
}

.confirm-error-contents {
  color: #FD892A;

  @media screen and (max-width: 768px) {
    font-size: 1.75rem;
  }

  @media screen and (min-width: 769px) {
    font-size: 1.5rem;
  }
}

.confirm-error-message {
  white-space: pre-line;
}

/* 完了画面 */
.thanks-message-wrapper {
  @media screen and (max-width: 768px) {
    margin-top: 5.19rem;
  }

  @media screen and (min-width: 769px) {
    margin-top: 10.19rem;
  }
}

.thanks-message-contents {
  font-weight: 600;
  text-align: center;

  @media screen and (max-width: 768px) {
    font-size: 1.75rem;
    letter-spacing: 0.105rem;
  }

  @media screen and (min-width: 769px) {
    font-size: 1.5rem;
    letter-spacing: 0.09rem;
  }
}

.thanks-button-wrapper {
  @media screen and (max-width: 768px) {
    margin-top: 12.5rem;
  }

  @media screen and (min-width: 769px) {
    margin-top: 12.88rem;
  }
}

.thanks-button-contents {
  display: flex;
  justify-content: center;
}