@charset "utf-8";
/* 下層ページメインビジュアル */
.page_mv {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  background: #DEFDFF;
  margin-top: 0;
  &::before {
    background: linear-gradient(to bottom left, #E3F0FF 0%, #DEFDFF 70%);
    z-index: 1;
  }
  @media screen and (max-width: 767px) {
    height: 250px;
  }
}
.page_title {
  width: 100%;
  @media screen and (max-width: 767px) {
    padding-top: 1em;
  }
}
.cmn_heading--en {
  -webkit-text-stroke: 8px rgba(var(--var-color-rgb, var(--main-color-rgb)), 0.8);
  color: #DEFDFF;
  position: relative;
  z-index: 2;
}
.breadcrumb {
  margin-inline: auto;
  position: absolute;
  right: 0;
  left: 0;
  bottom: 1.5em;
  z-index: 2;
  @media screen and (max-width: 767px) {
    width: 95%;
    bottom: 0.5em;
  }
}
.breadcrumb_list {
  @media screen and (max-width: 767px) {
    flex-wrap: wrap;
  }
}
.breadcrumb_item {
  color: #000;
  &:has(a[href])::after {
    background: #000;
  }
}
.breadcrumb_item a {
  color: #000;
}

/* エラーメッセージ */
.msgarea {
  color: var(--color-red);
  margin: 0 auto 35px;
  padding: 1em 2em;
  background-color: #eee;
  border: 1px solid #ccc;
}
p.errmsg {
  padding-top: 0.5em;
  color: var(--color-red);
  margin:0px;
}
.error_txt {
  padding: 0.25em 0 0;
  color: var(--color-red);
  margin-bottom: -0.5em;
  @media screen and (max-width: 767px) {
    padding: 0 0 0.25em;
  }
}

/* 必須マーク */
.required {
  color: #f00;
}

/* 三角フロー図 */
.form_flow {
  width: 100%;
  display: flex;
  counter-reset: num 0;
  margin: 0 auto 2em;
  overflow: hidden;
}
.form_flow--item {
  max-width: calc(100% / 3);
  width: 100%;
  padding: 0.55em 1em 0.45em;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px 10px;
  background: #ccc;
  font-weight: bold;
  color: #000;
  position: relative;
  p {
    white-space: nowrap;
    position: relative;
    z-index: 3;
  }
  &::before {
    counter-increment: num 1;
    content: counter(num);
    min-width: 20px;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #000;
    line-height: 1;
    position: relative;
    z-index: 3;
  }
  &:not(:last-child)::after {
    content: "";
    display: block;
    height: 75%;
    aspect-ratio: 1 / 1;
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
    background: #ccc;
    transform: rotate(45deg) translate(50%, -25%);
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
  }
  @media screen and (max-width: 767px) {
    padding: 0.6em 0 0.4em 1.5em;
    flex-direction: column;
    font-size: 1.4rem;
    line-height: 1.5;
    &:first-child {
      max-width: calc(100% / 3 - 20px);
      padding: 0.6em 0em 0.4em 0.5em;
    }
    &:nth-child(2) {
      max-width: calc(100% / 3 + 20px);
      padding: 0.6em 0em 0.4em 2em;
    }
    &:last-child {
      max-width: calc(100% / 3);
    }
    &:not(:last-child)::after {
      height: 100%;
      transform: rotate(45deg) translate(20%, -22%);
    }
  }
}
.form_flow--item[aria-current="step"] {
  background: var(--main-color);
  color: #fff;
  &::before {
    color: var(--main-color);
  }
  &:not(:last-child)::after {
    background: var(--main-color);
  }
}

/* --------------------
  入力項目
-------------------- */
.form-input {
  width: 100%;
}
.form_txt {
  width: 100%;
  @media screen and (max-width: 767px) {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
  }
}

/* 入力エリアの大きさ */
.w_full {
  max-width: calc(100% - 120px);
  width: 100%;
  padding: 0.25em 0.5em;
  @media screen and (max-width: 767px) {
    max-width: 100%;
  }
}
.w_half {
  max-width: calc(75% - 100px);
  width: 100%;
  padding: 0.25em 0.5em;
  @media screen and (max-width: 767px) {
    max-width: 100%;
  }
}
.w_35 {
  max-width: calc(50% - 100px);
  width: 100%;
  padding: 0.25em 0.5em;
  @media screen and (max-width: 767px) {
    max-width: 100%;
  }
}
.w_25 {
  padding: 0.25em 0.5em;
}

/* スマホ表示時の郵便番号の大きさ */
@media screen and (max-width: 767px) {
  .form_txt input[name="zipcode1"] {
    min-width: 120px;
  }
  .form_txt input[name="zipcode2"] {
    min-width: 150px;
  }
}

/* 入力項目レイアウト */
.form-element-container {
  border: 1px solid #ccc;
  margin: 2em auto;
}
.form-field-input-pair {
  width: 100%;
  display: flex;
  &:not(:last-child) {
    border-bottom: 1px solid #ccc;
  }
  @media screen and (max-width: 767px) {
    flex-wrap: wrap;
  }
}
.form-field {
  min-width: 280px;
  padding: 0.75em 1em;
  display: flex;
  align-items: center;
  gap: 3px;
  background: #eee;
  white-space: nowrap;
  @media screen and (max-width: 767px) {
    width: 100%;
  }
}
.form-input {
  padding: 1em;
  @media screen and (max-width: 767px) {
    width: 100%;
  }
}
.form-input input[type="text"], .form-input input[type="email"], .form-input textarea, .form-input input[type="number"] {
  border: 1px solid #5f5f68;
  border-radius: 3px;
}

/* 個人情報取扱いチェックボックス */
.form-input label {
  width: 100%;
  padding-bottom: 0.25em;
  display: flex;
	align-items: center;
}
[type="checkbox"], [type="radio"] {
  padding: 0;
  display: inherit;
  margin-top: 3px;
  margin-right: 8px;
  transform: scale(1.2);
  height: 16px;
}
.link_txt {
  text-decoration: underline #000;
  &:hover {
    text-decoration: none;
  }
}

/* 苗字 */
.form-input input[name="familyname"] {
  margin: 0 1em 0 0;
  @media screen and (max-width: 767px) {
    margin:  0 0 0.5em 0;
  }
}

/* エラー・OK判定 */
.form-input input.is-error, .form-input textarea.is-error {
  background: #fff0f0;
  border: 2px solid var(--color-red);
}
.form-input input.is-ok, .form-input textarea.is-ok {
  background-color: #f2fff4;
  background-image: url(../img/ok.png);
  background-size: auto;
  background-repeat: no-repeat;
  background-position: right 0.5em center;
  border: 2px solid #32CD32;
  @media screen and (max-width: 767px) {
    background-color: #f2fff4;
    background-image: url(../img/ok-sp.png);
    background-size: auto;
    background-repeat: no-repeat;
    background-position: right 0.5em center;
  }
}

/* 数字入力 */
.form-input input[type="number"]::-webkit-outer-spin-button,
.form-input input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.form-input input[type="number"] {
  -moz-appearance:textfield;
}

/* ラジオボタン */
.form-input:has(.form_radio) {
  width: 100%;
  padding: 0.5em 1em;
  @media screen and (max-width: 767px) {
    padding: 1em;
  }
}
.form-input .form_radio {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.form_radio label {
  max-width: calc(100% / 3 - 20px / 3);
  width: 100%;
  padding: 0.5em 1em;
  background: #D7E5EF;
  border: 1px solid var(--main-color);
  border-radius: 5px;
  @media screen and (max-width: 767px) {
    max-width: 100%;
  }
}
.form_radio input {
  margin-right: 5px;
}
.form_radio label:has(input[type="radio"]:checked) {
  background: var(--main-color);
  color: #fff;
}

/* セレクト */
.form_txt select {
  padding: 0.25em 0.5em;
}

/* --------------------
  各種画面
-------------------- */
/* 上部の電話番号 */
.contact_tellist {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-20);
  margin: var(--space-75) auto 0;
}
.contact_tellist--item {
  max-width: calc(50% - 10px);
  width: 100%;
  @media screen and (max-width: 767px){
    max-width: 100%;
  }
}
.contact_tellist--title {
  width: 100%;
  padding: 0.5em 0.75em 0.6em;
  background: var(--bg-color);
  font-size: var(--font-24);
  font-weight: bold;
  span {
    font-size: var(--main-txt);
    font-weight: normal;
  }
}
.contact_tellist--box {
  width: 100%;
  height: calc(100% - 62.4px);
  padding: 1.5em 2em;
  background: var(--bg-color2);
  @media screen and (max-width: 767px){
    height: auto;
  }
}
.contact_tellist--num {
  font-size: var(--font-24);
  font-weight: bold;
  color: var(--main-color);
}
/* 下部の注意事項 */
.contact_borderbox {
  width: 100%;
  padding: 2em 3em;
  border: 1px solid var(--sub-color);
  margin: var(--space-55) auto;
  @media screen and (max-width: 767px){
    padding: 1em;
  }
}

/* 入力画面 */
.form_btns {
  display: flex;
  justify-content: center;
  text-align: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-inline: auto;
  @media screen and (max-width: 767px){
    max-width: 250px;
  }
}
.form_btns input {
  padding: 0.5em 3em;
  border: none;
  border-radius: 6px;
  font-size: var(--font-20);
  font-weight: bold;
  &:hover {
    opacity: 0.8;
    cursor: pointer;
  }
  &[type="submit"] {
    background: var(--main-color);
    color: #fff;
  }
  &[type="reset"] {
    background: #ccc;
  }
  &[name="ret"] {
    background: #ccc;
    color: #000;
  }

  @media screen and (max-width: 767px){
    width: 100%;
    padding: 0.5em 2em;
  }
}
.form_btns input[disabled] {
  background: #ccc;
  &:hover {
    opacity: 1;
    cursor: default;
  }
}

/* 確認画面 */

/* 送信完了 */
.form_container:has(.thanks_container) {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.thanks_container {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
}
.thanks_lead {
  padding-bottom: 1em;
  font-size: var(--font-20);
  font-weight: bold;
  color: var(--main-color);
}
.thanks_txt {
  margin-bottom: var(--space-55);
}
.thanks_btns {
  width: 100%;
  display: flex;
  gap: 20px;
  margin-bottom: 1.5em;
  @media screen and (max-width: 767px) {
    flex-direction: column;
    gap: 10px;
  }
}
.thanks_btns--item {
  max-width: calc(100% / 3 - 40px / 3);
  width: 100%;
  @media screen and (max-width: 767px) {
    max-width: 100%;
  }
}
.thanks_btns--item a {
  width: 100%;
  height: 100%;
  display: block;
  padding: 0.5em 1em;
  border: 1px solid var(--main-color);
  border-radius: 10px;
  font-size: var(--font-20);
  font-weight: bold;
  text-align: center;
  &:hover {
    opacity: 0.8;
  }
}
.thanks_btns--item:nth-child(odd) a {
  background: var(--bg-color);
  color: var(--main-color);
}
.thanks_btns--item:nth-child(even) a {
  background: var(--main-color);
  color: #fff;
}