@charset "UTF-8";

/**
 * フォーム用スタイル
 */

@media screen and (max-width: 414px) {
  * {
    -webkit-tap-highlight-color: rgba(185, 210, 231, 0.1);
  }
}

/**
 * 変数
 */
:root {
  --color-dark-gray: #444444;
  --color-light-gary: #cccccc;
  --color-pink: #fd7c96;
  --color-red: #f00;
  --color-blue: #5a8fc6;
  --color-light-blue: #ecf4fc;
  --color-dark-blue: #27415d;
  --color-neutral-300: #E6E6E6;
  --color-neutral-700: #6C6C6C;
  --color-neutral-800: #464646;
  --link-default: #0066BE;
  --bg-neutral-default: #F8F8F8;

  --font-size-base: 1rem;
  --font-size-md: 1.25rem;
  --font-size-lg: 2rem;
}

/**
 * 共通
 */
body {
  background: var(--bg-neutral-default);
  font-size: var(--font-size-base);
  line-height: 1.75;

  & * {
    box-sizing: border-box;
  }
}


.main a:not([class*="button"]) {
  color: var(--link-default);
  &:link,
  &:visited {
    color: var(--link-default);
  }

  &[target="_blank"] {
    font-weight: 400;
    text-decoration: underline;
    &::after {
      content: "";
      display: inline-flex;
      width: 1.125rem;
      height: 1.125rem;
      background: url('data:image/svg+xml;charset=utf-8,<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M10.5195 2.68097H15.3474V7.55484" stroke="%230066BE" stroke-width="1.125" stroke-linecap="round" stroke-linejoin="round"/><path d="M14.737 3.24539L8.67407 9.30835" stroke="%230066BE" stroke-width="1.125" stroke-linecap="round" stroke-linejoin="round"/><path d="M13.58 10.7699C13.5799 10.4594 13.3282 10.2078 13.0177 10.2078C12.7072 10.2078 12.4554 10.4595 12.4554 10.7701C12.4554 10.7712 12.456 10.7721 12.456 10.7732V13.7117C12.456 13.9781 12.2401 14.194 11.9738 14.194H4.25965C3.99328 14.194 3.77734 13.9781 3.77734 13.7117V6.01719C3.77734 5.75082 3.99327 5.53489 4.25965 5.53489H7.09764C7.09792 5.53489 7.0981 5.53429 7.09837 5.53429C7.40892 5.53429 7.66064 5.28252 7.66064 4.97197C7.66064 4.66141 7.40892 4.4097 7.09837 4.4097C7.09805 4.4097 7.09778 4.40988 7.09746 4.40988H4.25965C3.37337 4.40988 2.65234 5.1309 2.65234 6.01718V13.7117C2.65234 14.598 3.37336 15.319 4.25965 15.319H11.9738C12.86 15.319 13.581 14.598 13.581 13.7117V10.7699L13.58 10.7699Z" fill="%230066BE"/></svg>') no-repeat center center;
      vertical-align: middle;
      margin-top: -3px;
    }
  }
}

.headline-lg {
  font-size: var(--font-size-lg);
  font-weight: 600;
  line-height: 1.4;
  @media (width < 768px) {
    font-size: 1.4375rem;
  }
}

.headline-md {
  font-size: var(--font-size-md);
  font-weight: 600;
  line-height: 1.6;
}

.link-button {
  display: flex;
  padding: 0.75rem 2.5rem;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  border-radius: 0.25rem;
  border: 1px solid var(--color-neutral-700);
  background: #fff;
  color: #222;
  text-decoration: none;
  line-height: 1.8;

  &:link {
    color: #222;
  }

  &:visited {
    color: #222;
  }

  &:hover {
    background: var(--color-neutral-800);
    color: #fff;
  }
}

.primary-button {
  background: #000;
  border-radius: 0.25rem;
  color: #fff;
  width: 100%;
  max-width: 17.5rem;
  padding: 1rem 1.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.6;
  text-align: center;
  margin: 0 auto;
  position: relative;
  &:link {
    color: #fff;
  }

  &:visited {
    color: #fff;
  }

  & .button-baloon {
    position: absolute;
    bottom: calc(100% - 0.255rem);
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    background: #F57;
    padding: 0.125rem 1.25rem 0.1875rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 1.875rem;
    &::after {
      content: "";
      display: block;
      width: 17px;
      height: 17px;
      background: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="17" height="17" viewBox="0 0 17 17" fill="none"><path d="M9.36132 16.2332C8.99146 16.9653 7.94603 16.9653 7.57618 16.2332L0.108455 1.45091C-0.227559 0.785774 0.255834 2.71413e-07 1.00102 3.3656e-07L15.9365 1.64226e-06C16.6817 1.70741e-06 17.1651 0.785778 16.829 1.45091L9.36132 16.2332Z" fill="%23FF5577"/></svg>') no-repeat center center;
      position: absolute;
      left: 0;
      right: 0;
      bottom: -0.62rem;
      margin: 0 auto;
    }
  }

  @media (768px <= width) {
  }
}

.note_list {
  font-size: 80%;
  margin: 2rem 0 0;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;

  .note_item {
    padding-left: 1.4rem;
    text-indent: -1.4rem;

    &::before {
      content: "※";
      margin-right: 0.4rem;
    }
  }
}

.list--note {
  font-size: 0.8125rem;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  & li {
    padding-left: 1.0625rem;
    text-indent: -1.0625rem;
    color: var(--color-neutral-700);

    &::before {
      content: "※ ";
    }
  }
}

.list--disc {
  list-style-type: disc;
  padding: 0 0 0 1.25rem !important;
}

@media (max-width: 480px) {
  .list--disc {
    & li {
      padding: 0;
    }
  }
}

/**
 * レイアウト
 */
.main {
  padding: 0 0 5.5rem;
}

.hero {
  max-width: 65rem;
  margin: 0 auto;
  line-height: 0;
}

.head {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 65rem;
  margin: 0 auto;
  padding: 4rem 0 2.5rem;
  @media (width < 768px) {
    padding: 4rem 1.5rem 2.5rem;
  }

  & .primary-button {
    margin-top: 2.62rem;
  }
}

.wrap {
  max-width: 65rem;
  display: flex;
  gap: 4rem;
  flex-shrink: 1;
  padding: 3.5rem 2.5rem;
  background: #fff;
  margin: 0 auto;
  @media (width < 768px) {
    flex-direction: column;
    gap: 2.5rem;
    padding: 0;
    background: none;
  }
}

.content, .form {
  flex: 1 1 50%;
  margin: 0;

  @media (width < 768px) {
    padding: 3.5rem 1.5rem;
    background: #fff;
  }
}

.form .form_in {
  width: 100%;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  @media (width < 768px) {
    gap: 1.5rem;
  }
}

.stack--narrow {
  gap: 0.5rem;
  @media (width < 768px) {
    gap: 1rem;
  }
}

/**
 * コンテンツ
 */
.content {
  display: flex;
  flex-direction: column;
  gap: 4rem;

  .user-list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
    padding: 1.5rem;
    place-content: center;
    place-items: center;

    & li {
      display: flex;
      justify-content: center;
    }

    @media (max-width: 480px) {
      grid-template-columns: 1fr 1fr;
    }
  }

  .box {
    border: 1px solid var(--color-light-gary);
    padding: 1.5rem 1.5rem 2rem 1.5rem;
    display: flex;
    gap: 2rem;
    flex-direction: column;
    align-items: center;

    > ul {
      width: 100%;
    }

    @media (width < 768px) {
      background: var(--bg-neutral-default);
      border: none;
    }
  }

  .flow {
    padding: 1.5rem;
  }

  .step-list {
    display: flex;
    justify-content: space-between;
    & li {
      width: 20%;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 12.5px;
      position: relative;
      font-size: 0.8125rem;
      line-height: 1.5;
      text-align: center;
      @media (width < 768px) {
        width: 27.3973%;
      }

      &::after {
        content: "";
        display: block;
        position: absolute;
        right: calc(-37.5% - 8px);
        top: 1.975rem;
        width: 8px;
        height: 17px;
        clip-path: polygon(0 0, 100% 50%, 0 100%);
        background: #0E43A9;
        @media (width < 768px) {
          right: -25%;
        }
      }

      &:last-child {
        &::after {
          display: none;
        }
      }

      img {
        width: 5rem;
        height: 5rem;
      }
    }
  }
}
/* 関連サービス・キャンペーン */
.related {
  background: var(--color-neutral-300);
  padding: 4rem 2.5rem 5.5rem;
  @media (width < 768px) {
    padding: 4rem 1.5rem 5rem;
  }
}

.related-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.related-headline {
  font-size: 1.625rem;
  text-align: center;
  @media (width < 768px) {
    font-size: 1.125rem;
  }
}

.related-list {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  & li {
    flex: 0 1 20rem;
    & a {
      display: block;
      line-height: 0;
    }
  }

  @media (768px <= width) {
    & li {
      & a {
        &:hover {
          opacity: 0.8;
        }
      }
    }
  }
  @media (width < 768px) {
    flex-direction: column;
    & li {
      flex: 1;
    }
  }
}

/**
 * マルケトフォーム（app.css 由来のベーススタイル）
 */
.form .form_in * {
  box-sizing: border-box;
}
.form .form_in input::placeholder,
.form .form_in textarea::placeholder {
  color: #ccc;
}
.form .form_in input:focus {
  border-color: inherit;
  outline: none;
}
.form .form_in .mktoForm {
  margin-top: -10px;
  font-size: 0.875rem;
  @media (max-width: 768px) {
    font-size: 1rem;
  }
}
.form .form_in .mktoFormCol {
  width: 100%;
}
.form .form_in .mktoForm.mktoLayoutAbove .mktoRequiredField .mktoAsterix {
  color: #f00;
  font-weight: normal;
  font-size: 20px;
}
.form .form_in .mktoForm .mktoError {
  right: inherit!important;
  bottom: -44px!important;
}
.form .form_in .mktoForm .mktoError .mktoErrorArrow {
  background: #FF5577;
  border: 0;
}
.form .form_in .mktoForm .mktoError .mktoErrorMsg {
  max-width: none;
  padding: 10px 15px;
  background: #FF5577;
  border: 0;
  color: #fff;
  font-size: 15px;
  text-shadow: none;
  box-shadow: none;
  font-weight: 400;
}
.form .form_in .mktoOffset {
  display: none;
}
.form .form_in .mktoHasWidth {
  width: 100%!important;
}
.form .form_in .mktoForm .mktoRadioList, .form .form_in .mktoForm .mktoCheckboxList {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.form .form_in .mktoLabel {
  margin-top: 20px;
  padding: 0 0 5px;
  font-weight: bold;
  line-height: 1.8;
}
.form .form_in .mktoField {
  padding: 13px 20px;
  border: 1px solid #C2CFE5;
  font-size: 15px;
}
.form .form_in .mktoForm .mktoRadioList > label,
  .form .form_in .mktoForm .mktoCheckboxList > label {
    margin-left: 0;
    margin-top: 0;
    margin-bottom: 0;
    line-height: 1.5em;
    display: block;
    min-height: 12px;
    padding: 3px 0;
    width: 97%;
  }
.form .form_in input[type="checkbox"].mktoField,
.form .form_in input[type="radio"].mktoField {
    width: 3%;
    appearance: auto;
  }
@media screen and (max-width: 768px) {
  .form .form_in .mktoForm .mktoRadioList > label,
  .form .form_in .mktoForm .mktoCheckboxList > label {
    width: 93%;
  }
  .form .form_in input[type="checkbox"].mktoField,
  .form .form_in input[type="radio"].mktoField {
    width: 7%;
    transform: scale(1.3);
  }
}

.form .form_in select.mktoField {
  display: block;
  font-size: 16px;
  width: 100%;
  max-width: 100%;
  margin: 0;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
  background-color: #fff;
  background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007CB2%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E');
  background-repeat: no-repeat, repeat;
  background-position: right .7em top 50%, 0 0;
  background-size: .65em auto, 100%;
}
@media screen and (max-width: 768px) {
  .form .form_in select.mktoField {
    padding: 10px;
  }
}
.form .form_in select.mktoField::-ms-expand {
  display: none;
}
.form .form_in .mktoFieldWrap {
  width: 100%;
  /* padding: 0 10px; */
}
/* padding は style.css 側（0）を採用 */
.form .form_in .mktoButtonRow {
  margin-top: 20px;
  padding: 0;
  display: block;
}
.form .form_in .mktoButtonWrap {
  display: block;
}
.form .form_in .mktoButtonWrap.mktoNative,
.form .form_in .mktoButtonWrap.mktoMinimal {
  margin: 0 !important;
}
.form .form_in .mktoButtonWrap.mktoNative .mktoButton,
.form .form_in .mktoButtonWrap.mktoMinimal .mktoButton {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 17.5rem;
  border: none;
  background-color: #000;
  box-shadow: none;
  color: #fff;
  font-family: var(--font-family-base);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.6;
  text-align: center;
  border-radius: 0.25rem;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
}
.form .form_in .mktoButtonWrap.mktoNative .mktoButton:hover,
.form .form_in .mktoButtonWrap.mktoMinimal .mktoButton:hover {
  background-color: #464646;
  box-shadow: none;
  color: #fff;
}
.form .form_in .mktoHtmlText {
  width: auto;
  margin: 5px 0 0;
  font-size: 11px;
  line-height: 1.8;
}
.form .form_in .mktoHtmlText a {
  text-decoration: underline;
}
.form .form_in .mktoHtmlText a:hover {
  text-decoration: none;
}
@media screen and (max-width: 768px) {
  .form .form_in {
    margin: 0;
  }
  .form .form_in .mktoForm {
    /* margin-top: 15px; */
    padding: 0;
  }
  .form .form_in .mktoForm.mktoLayoutAbove .mktoRequiredField {
    /* padding: 0 5px; */
  }
  .form .form_in .mktoForm.mktoLayoutAbove .mktoRequiredField .mktoAsterix::before {
    font-size: 10px;
  }
  .form .form_in .mktoLabel {
    margin-top: 15px;
    /* font-size: 13px; */
  }
  .form .form_in .mktoField {
    padding: 20px 10px;
    font-size: 16px;
  }
}

/**
 * フォーム
 */
.form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  font-size: 16px;
  max-width: 41.25rem;
  margin: 0 auto;

  .attention {
    font-size: 80%;
    color: var(--color-red);
    font-weight: bold;
  }

  .form_in {
    .mktoFormRow {
      display: flex;
      gap: 1.5rem;
    }

    #LblFORM_PERMISSION span {
      font-weight: normal;
    }

    textarea#FORM_INQUIRY {
      height: 7rem;
    }

    .mktoForm .mktoCheckboxList:has([name="FORM_PERMISSION"]) {
      border: 1px solid var(--color-light-gary);
      border-radius: 3px;
      padding: 0.5rem;
      display: flex;
      gap: 0.5rem;
      flex-wrap: nowrap;
    }

    .mktoClear {
      display: none;
    }

    .mktoGutter {
      height: 0.25rem;
    }

    .mktoRequiredField {
      .mktoAsterix {
        float: left;
        margin-right: 0.25rem;
      }
    }
  }
}

.agreementArea{
  margin-top: 20px!important;
}
.agreementArea .agreementArea_inner {
    background: #f5f5f5;
    padding: 20px;
}
.agreementArea .agreementArea_inner h2 {
    text-align: center;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 10px;
    font-size: 21px;
}
.agreementArea .agreementArea_inner table {
    width: 100%;
    margin: 10px auto 20px;
    font-size: 13px;
}
.agreementArea .agreementArea_inner table tr th {
    text-align: left;
    background: #dedede;
    padding: 5px 10px;
    border: 1px solid #c5c5c5;
    width: 20%;
}
.agreementArea .agreementArea_inner table tr td {
    text-align: left;
    background: #fff;
    padding: 5px 10px;
    border: 1px solid #c5c5c5;
}

/* アスタリスク */
.form .form_in .mktoForm .mktoRequiredField .mktoAsterix {
  display: none;
}

.form .form_in .mktoForm .mktoLabel:before {
  content: "任意";
  padding: 4px;
  border-radius: 4px;
  background-color: #888;
  color: #fff;
  font-weight: bold;
  font-size: 12px;
  line-height: 1.2;
  float: left;
  margin: 0 6px 4px 0;
}

.form .form_in .mktoForm .mktoRequiredField .mktoLabel:before {
  content: "必須";
  background-color: #FF5577;
}

#LblFORM_PERMISSION br {
  clear: both;
}

/* 入力チェックマーク */

.form .form_in .mktoField.is-input {
  background: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32" fill="none"><path d="M16 0C24.8366 0 32 7.16344 32 16C32 24.8366 24.8366 32 16 32C7.16344 32 0 24.8366 0 16C0 7.16344 7.16344 0 16 0ZM13.3652 18.5283L7.44824 12.6152L4.55176 15.5137L11.7764 22.7354L13.085 24.043L14.5195 22.875L27.2979 12.4609L26.0029 10.873L24.709 9.28516L13.3652 18.5283Z" fill="%23ccc"/></svg>') no-repeat right 1rem center / 1.5rem;
}

/* マルケトのエラー吹き出しを模倣したスタイル */
#email-error {
  background-color: #FF5577;
  color: rgb(255, 255, 255);
  font-size: 15px;
  font-weight: 400;
  padding: 10px 15px;
  border-radius: 6px;
  position: relative;
  top: 11px;
  left: 0;
  z-index: 10;
  animation: fadeIn 0.4s ease 0s 1 normal;
}

#email-error::before {
  width: 16px;
  height: 16px;
  transform: rotate(45deg);
  display: inline-block;
  position: absolute;
  top: -3px;
  left: 11px;
  content: '';
  overflow: hidden;
  z-index: 100;
  background-color: #FF5577;
}

/* マルケトのエラー吹き出しをマルケト側の js による style 制御に負けず完全に非表示にする */
#email-error + .mktoError,
#Email + .mktoError {
  display: none !important;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

/* ----------------
送信前注意テキスト
---------------- */
.mktoForm span.submit-caution-txt {
  font-size: 14px;
  text-align: center;
  display: block;
  font-weight: bold;
  margin: 30px 0 0;
}
@media screen and (max-width: 768px) {
  .mktoForm span.submit-caution-txt {
    text-align: left;
  }
  .mktoForm span.submit-caution-txt br{
    display: none;
  }
}

/* ----------------
完了画面
---------------- */
.complete {
  min-height: calc(100vh - 8.125rem);
  text-align: center;
  padding: 4rem 0 5.5rem;

  & .form {
    width: 100%;
    max-width: 65rem;
    padding: 3.5rem 5rem;
    background: #fff;
    gap: 2.5rem;
  }

  & .headline {
    font-size: 1.625rem;
  }

  & .button {
    font-size: 0.875rem;
    padding: 0.75rem 2.5rem;
    border-radius: 0.25rem;
    background: #f57;
    color: #fff;
    align-self: center;
  }
}

.complete-txt {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media screen and (min-width: 769px) {
  .complete {
    & .button {
      &:hover {
        background: #464646;
        color: #fff;
      }
    }
  }
}

@media screen and (max-width: 768px) {
  .complete {
    min-height: calc(100vh - 9.75rem);
    text-align: left;
    padding: 2.5rem 0 5.5rem;

    & .form {
      padding: 3.5rem 1.5rem;
      gap: 1.5rem;
    }

    & .headline {
      font-size: 1.25rem;
    }

    & .button {
      margin-top: 1rem;
      padding: 0.75rem 1.75rem;
    }
  }

  .complete-txt {
    gap: 1.5rem;
  }

  .for-pc {
    display: none;
  }

}

/* ----------------
終了時
---------------- */
.closed {
  min-height: calc(100vh - 8.125rem);
  text-align: center;
  padding: 4rem 0 5.5rem;

  & .form {
    width: 100%;
    max-width: 65rem;
    padding: 3.5rem 5rem;
    background: #fff;
    gap: 2.5rem;
  }

  & .headline {
    font-size: 1.625rem;
  }

  & .button {
    font-size: 0.875rem;
    padding: 0.75rem 2.5rem;
    border-radius: 0.25rem;
    background: #f57;
    color: #fff;
    align-self: center;
  }
}

@media ( 768px <= width) {
  .closed {
    & .button {
      &:hover {
        background: #464646;
        color: #fff;
      }
    }
  }
}


@media (width < 768px) {
  .closed {
    min-height: calc(100vh - 9.75rem);
    padding: 2.5rem 0 5.5rem;

    & .form {
      padding: 3.5rem 1.5rem;
      gap: 1.5rem;
    }

    & .headline {
      font-size: var(--font-size-md);
    }

    & .button {
      margin-top: 1rem;
      padding: 0.75rem 1.75rem;
    }
  }
}
