/* ---------------------------------------------
*   c-section-contact
--------------------------------------------- */
:root {
  --form-required-color: #06c755;
  --form-btn-color: #06c755;
  --form-bg-color: #000048;
  --form-white-color: #ffffff;
  --form-white-color-rgb: 255, 255, 255;
  --form-placeholder-color: #b5b5b5;
  --form-txt-color: #222222;
  --form-side-padding: 20;
}

.mktoForm {
  max-width: 560px !important;
}

.c-section-contact {
  background-color: var(--form-bg-color);
}

.c-section-contact__container {
  max-width: calc((1212 + var(--form-side-padding) * 2) * 1px);
  margin-inline: auto;
  padding: 64px calc(var(--form-side-padding) * 1px) 80px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.5em;
}

@media screen and (max-width: 1250px) and (min-width: 1024px) {
  .c-section-contact__container {
    max-width: calc((1010 + var(--form-side-padding) * 2) * 1px);
    margin-inline: auto;
  }
}
@media screen and (max-width: 1023px) {
  .c-section-contact__container {
    display: block;
    max-width: 800px;
    margin-inline: auto;
    padding-block: 50px;
  }
}
@media screen and (min-width: 1024px) {
  .c-section-contact__head {
    position: sticky;
    top: 140px;
    left: 0;
  }
}
@media screen and (min-width: 1251px) {
  .c-section-contact__head {
    padding-left: 98px;
  }
}
.c-section-contact__body {
  width: 100%;
}

@media screen and (min-width: 1024px) {
  .c-section-contact__body {
    max-width: 560px;
  }
}
@media screen and (max-width: 1023px) {
  .c-section-contact__body {
    margin-top: 54px;
  }
}
.c-section-contact__txt-main {
  color: var(--form-white-color);
  font-size: calc(32 / var(--root-fz) * 1rem);
  line-height: 1.34375;
  font-family: var(--ff-ls-b);
  font-feature-settings: "palt" 1;
}

@media screen and (max-width: 1023px) {
  .c-section-contact__txt-main {
    font-size: calc(28 / var(--root-fz) * 1rem);
    line-height: 1.4285714286;
  }
}
.c-section-contact__txt-main-light {
  color: rgba(var(--form-white-color-rgb), 0.7);
}

.c-section-contact__ttl-sub {
  margin-top: 14px;
  color: var(--form-white-color);
  font-size: calc(16 / var(--root-fz) * 1rem);
}

@media screen and (max-width: 1023px) {
  .c-section-contact__ttl-sub {
    margin-top: 12px;
  }
}
.c-section-contact__txt {
  margin-top: 40px;
  color: var(--form-white-color);
  font-size: calc(16 / var(--root-fz) * 1rem);
  line-height: 1.625;
}

@media screen and (max-width: 1023px) {
  .c-section-contact__txt {
    margin-top: 32px;
    font-size: calc(14 / var(--root-fz) * 1rem);
    line-height: 1.7142857143;
  }
}
.c-section-contact__ttl {
  width: -moz-fit-content;
  width: fit-content;
  margin-inline: auto;
  padding: 6px 20px 4px;
  color: var(--form-white-color);
  font-size: calc(18 / var(--root-fz) * 1rem);
  font-family: var(--ff-ls-b);
  border: 1px solid;
  border-radius: 4px;
  text-align: center;
}

@media screen and (max-width: 1023px) {
  .c-section-contact__ttl {
    font-size: calc(15 / var(--root-fz) * 1rem);
  }
}
.c-section-contact__note {
  margin-top: 32px;
}

@media screen and (max-width: 1023px) {
  .c-section-contact__note {
    margin-top: 24px;
  }
}
.c-section-contact__form {
  width: 100%;
  margin-top: 4px;
}

@media screen and (min-width: 1024px) {
  .c-section-contact__form {
    max-width: 560px;
    margin-inline: auto;
  }
}
@media screen and (max-width: 1023px) {
  .c-section-contact__form {
    margin-top: 12px;
  }
}
.c-section-contact__form form.mktoForm {
  width: 100% !important;
}

@media screen and (max-width: 1023px) {
  .c-section-contact__form form.mktoForm {
    max-width: initial !important;
    padding: 0 !important;
  }
}
.c-section-contact__form form.mktoForm .mktoFieldDescriptor,
.c-section-contact__form form.mktoForm .mktoFieldWrap,
.c-section-contact__form form.mktoForm .mktoHtmlText,
.c-section-contact__form form.mktoForm .mktoCheckboxList {
  width: 100% !important;
}

.c-section-contact__form form.mktoForm .mktoHtmlText {
  color: rgba(var(--form-white-color-rgb), 0.7) !important;
  margin-top: 4px;
  font-size: calc(12 / var(--root-fz) * 1rem);
  line-height: 1.5;
}

.c-section-contact__form form.mktoForm .mktoHtmlText div,
.c-section-contact__form form.mktoForm .mktoHtmlText span {
  width: 100%;
  color: rgba(var(--form-white-color-rgb), 0.7);
  line-height: 1.6 !important;
  text-align: left !important;
}

.c-section-contact__form form.mktoForm .mktoCheckboxList {
  padding-top: 0;
  display: grid;
  grid-template-columns: 1em 1fr;
  align-items: start;
  gap: 10px 0;
}

.c-section-contact__form form.mktoForm .mktoCheckboxList input {
  margin-top: 0 !important;
  padding: 0 !important;
}

.c-section-contact__form form.mktoForm .mktoCheckboxList input:first-of-type {
  margin-top: 10px !important;
}

.c-section-contact__form form.mktoForm .mktoCheckboxList label {
  margin: 0;
  padding-top: 0 !important;
  font-size: calc(14 / var(--root-fz) * 1rem) !important;
  transform: translateY(-0.18em);
}

@media screen and (max-width: 1023px) {
  .iphone.safari .c-section-contact__form form.mktoForm .mktoCheckboxList label,
  .android .c-section-contact__form form.mktoForm .mktoCheckboxList label {
    transform: translateY(-0.14em);
  }
}
@media screen and (max-width: 1023px) {
  .ipad.safari .c-section-contact__form form.mktoForm .mktoCheckboxList label {
    transform: translateY(-0.1em);
  }
}
.c-section-contact__form form.mktoForm .mktoCheckboxList label:first-of-type {
  margin-top: 10px;
}

.c-section-contact__form form.mktoForm .mktoFormRow:has(.mktoCheckboxList) ~ .mktoFormRow:has(.mktoHtmlText) {
  margin-top: 40px !important;
}

@media screen and (max-width: 1023px) {
  .c-section-contact__form form.mktoForm .mktoFormRow:has(.mktoCheckboxList) ~ .mktoFormRow:has(.mktoHtmlText) {
    margin-top: 24px !important;
  }
}
.c-section-contact__form form.mktoForm .mktoRequiredField label.mktoLabel {
  width: -moz-fit-content !important;
  width: fit-content !important;
  padding-right: 46px;
  position: relative;
}

.c-section-contact__form form.mktoForm .mktoLabel:has(.mktoAsterix) {
  min-height: 1em;
}

.c-section-contact__form form.mktoForm .mktoLabel .mktoAsterix {
  transform: translateY(-1px);
  position: absolute;
  top: 0;
  right: 0;
}

@media screen and (max-width: 1023px) {
  .windows.edge .c-section-contact__form form.mktoForm .mktoLabel .mktoAsterix {
    transform: translateY(-1.5px);
  }
}
.c-section-contact__form form.mktoForm .mktoAsterix::after {
  margin-inline: 0;
  padding: 5px 9px 4px;
  font-size: calc(11 / var(--root-fz) * 1rem);
  background-color: var(--form-required-color) !important;
  position: absolute;
  top: 2px;
  right: 0;
}

@media screen and (max-width: 1023px) {
  .c-section-contact__form form.mktoForm .mktoAsterix::after {
    padding-block: 4px 3px;
    font-size: calc(9 / var(--root-fz) * 1rem);
  }
}
@media screen and (max-width: 1023px) {
  .ipad.safari .c-section-contact__form form.mktoForm .mktoAsterix::after,
  .mac.safari .c-section-contact__form form.mktoForm .mktoAsterix::after {
    padding-block: 4px 2px;
  }
}
@media screen and (max-width: 1023px) {
  .windows.edge .c-section-contact__form form.mktoForm .mktoAsterix::after {
    padding-block: 3.8px 2.2px;
  }
}
.c-section-contact__form form.mktoForm .mktoFormCol {
  min-height: auto !important;
  margin-block: 6px 0 !important;
}

.c-section-contact__form form.mktoForm label.mktoLabel {
  width: 100% !important;
  padding-top: 0 !important;
  line-height: 1.4 !important;
}

.c-section-contact__form form.mktoForm .mktoFieldWrap a {
  text-decoration: underline;
}

@media (hover: hover) and (pointer: fine) {
  .c-section-contact__form form.mktoForm .mktoFieldWrap a:hover {
    text-decoration: none;
  }
}
.c-section-contact__form form.mktoForm input,
.c-section-contact__form form.mktoForm select {
  width: 100% !important;
  margin-top: 6px !important;
}

@media screen and (max-width: 1023px) {
  .c-section-contact__form form.mktoForm input:not([type=checkbox]),
  .c-section-contact__form form.mktoForm select {
    height: auto !important;
    min-height: 43px;
  }
}
.c-section-contact__form form.mktoForm input,
.c-section-contact__form form.mktoForm select,
.c-section-contact__form form.mktoForm textarea {
  margin-top: 10px;
  color: var(--form-txt-color);
  font-size: calc(12 / var(--root-fz) * 1rem);
  border-radius: 5px;
  border: none;
}

@media screen and (max-width: 1023px) {
  .c-section-contact__form form.mktoForm input,
  .c-section-contact__form form.mktoForm select,
  .c-section-contact__form form.mktoForm textarea {
    font-size: calc(14 / var(--root-fz) * 1rem);
  }
}
.c-section-contact__form form.mktoForm input {
  padding: 10px 17px !important;
}

@media screen and (max-width: 1023px) {
  .c-section-contact__form form.mktoForm input {
    padding: 8px 20px !important;
  }
}
.c-section-contact__form form.mktoForm input::-moz-placeholder {
  color: var(--form-placeholder-color);
}

.c-section-contact__form form.mktoForm input::placeholder {
  color: var(--form-placeholder-color);
}

.c-section-contact__form form.mktoForm input[type=checkbox] {
  cursor: pointer;
  will-change: opacity;
}

@media (hover: hover) and (pointer: fine) {
  .c-section-contact__form form.mktoForm input[type=checkbox] {
    transition: opacity var(--hover-duration);
  }
  .c-section-contact__form form.mktoForm input[type=checkbox]:hover {
    opacity: var(--hover-opacity-ratio);
  }
}
.c-section-contact__form form.mktoForm textarea {
  width: 100% !important;
  padding: 10px 17px !important;
}

.c-section-contact__form form.mktoForm select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding: 10px 34px 10px 17px !important;
  background-image: url(/sites/default/files/media/jp/service/line-official-account/crm-plus/img/ico_arrow.svg);
  background-repeat: no-repeat;
  background-size: 12px auto;
  background-position: center right 16px;
  cursor: pointer;
}

@media screen and (max-width: 1023px) {
  .c-section-contact__form form.mktoForm select {
    padding: 8px 34px 8px 20px !important;
  }
}
.c-section-contact__form form.mktoForm label {
  margin-top: 16px;
  display: flex;
  align-items: baseline;
  color: var(--form-white-color);
  font-size: calc(16 / var(--root-fz) * 1rem) !important;
  font-family: var(--ff-ls-b);
}

@media screen and (max-width: 1023px) {
  .c-section-contact__form form.mktoForm label {
    font-size: calc(14 / var(--root-fz) * 1rem) !important;
  }
}
input[type=checkbox] + label {
  width: -moz-fit-content !important;
  width: fit-content !important;
  padding-left: 0.5em;
  line-height: 1.4 !important;
  cursor: pointer;
}

@media (hover: hover) and (pointer: fine) {
  input[type=checkbox] + label {
    transition: opacity var(--hover-duration);
  }
  input[type=checkbox] + label:hover {
    opacity: var(--hover-opacity-ratio);
  }
}
.c-section-contact__form form.mktoForm button.mktoButton {
  width: 100% !important;
  max-width: 314px !important;
  height: auto !important;
  margin-inline: auto;
  padding-block: 17px;
  padding-left: 33px;
  margin-top: 57px;
  display: flex;
  gap: 9px;
  align-items: center;
  justify-content: center;
  background: var(--form-btn-color) !important;
  border-radius: 50em;
  color: var(--form-white-color);
  font-size: calc(18 / var(--root-fz) * 1rem) !important;
  font-family: var(--ff-ls-b);
  text-align: center;
  border: 3px solid transparent;
  transition: color 0.3s, background-color 0.3s, border-color 0.3s;
  position: relative;
}

@media screen and (max-width: 1023px) {
  .c-section-contact__form form.mktoForm button.mktoButton {
    margin-top: 38px;
  }
}
.c-section-contact__form form.mktoForm button.mktoButton::before,
.c-section-contact__form form.mktoForm button.mktoButton::after {
  content: "";
  display: block !important;
  width: 24px !important;
  aspect-ratio: 24/21 !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: contain !important;
  position: absolute;
  top: 50%;
  left: 60px;
  transform: translateY(-50%);
  transition: opacity 0.3s;
}

.c-section-contact__form form.mktoForm button.mktoButton::before {
  background-image: url(/sites/default/files/media/jp/service/line-official-account/crm-plus/img/ico_sending.svg);
}

.c-section-contact__form form.mktoForm button.mktoButton::after {
  background-image: url(/sites/default/files/media/jp/service/line-official-account/crm-plus/img/ico_sending-hover.svg);
  opacity: 0;
}

@media (hover: hover) and (pointer: fine) {
  .c-section-contact__form form.mktoForm button.mktoButton:hover {
    color: var(--form-btn-color);
    background-color: var(--form-white-color) !important;
    border-color: var(--form-btn-color);
  }
  .c-section-contact__form form.mktoForm button.mktoButton:hover::before {
    opacity: 0;
  }
  .c-section-contact__form form.mktoForm button.mktoButton:hover::after {
    opacity: 1;
  }
}