@charset "UTF-8";

/**
 * 変数
 */
: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;
}

@font-face {
  font-family: 'Noto Sans JP';
  font-display: swap;
  font-style: normal;
  src: url('/resource/assets/fonts/NotoSansJP-VariableFont_wght.woff2')  format('woff2');
  font-weight: 100 900;
}

/**
 * 共通
 */
body {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.75;
}

.headline {
  font-size: 1.8125rem;
  font-weight: 600;
  line-height: 1.4;
}

.headline-sm {
  font-size: 1.625rem;
  font-weight: 600;
  line-height: 1.5;
}

@media (width < 768px) {
  .headline {
    font-size: 1.25rem;
    line-height: 1.6;
  }
  .headline-sm {
    font-size: 1.125rem;
  }
}

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

.note {
  font-size: 0.8125rem;
  color: #6C6C6C;
  padding-left: 0.8125rem;
  text-indent: -0.8125rem;
  &::before {
    content: "※";
  }
}

.text-emphasis {
  color: var(--color-red);
}

/**
 * ヘッダー
 */
.header {
  padding: 0.3rem 1.375rem;
  @media (width < 768px) {
    padding: 0.25rem 0;
  }

  &:has(.logo-30th) {
    padding: 1.13rem 2.25rem;
    @media (width < 768px) {
      padding: 0.75rem 0.625rem;
    }
  }
}

.header-logo {
  width: 13.625rem;
  line-height: 0;
  @media (width < 768px) {
    width: 9.875rem;
  }

  &.logo-30th {
    width: 14.53988rem;
    @media (width < 768px) {
      width: 12.55719rem;
    }
  }
}

/**
 * フッター
 */
.footer {
  background: var(--color-dark-gray);
  padding: 1.5rem 1rem;
  .copyright {
    color: var(--color-neutral-300);
    font-size: 0.875rem;
  }

  .footer-link {
    color: var(--color-neutral-300);
    font-size: 0.875rem;
    line-height: 1.8;
  }
}

.footer-inner {
  max-width: 56.25rem;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  @media (width < 768px) {
    flex-direction: column;
    gap: 1rem;
  }
}

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

.main-inner {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding: 4rem 0 0;
  max-width: 56.25rem;
  margin: 0 auto;
  @media screen and (max-width: 931px) {
    margin: 0 1rem;
  }
}

.form {
  padding: 2.5rem 7.5rem;
  background: #fff;

  @media (width <= 768px) {
    margin: 0 -1rem;
    padding: 2.5rem 1.5rem;

    &:has(.complete) {
      margin: 0;
    }
  }
}

.form .form_in {
  width: 100%;
  margin: 0;
}

/**
 * コンテンツ
 */
.hero {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 0.81rem;
  height: 15.625rem;
  padding: 0 1rem 3.11rem;
  background: url(../images/apply/bg-hero-pc.png) no-repeat left center / auto 100%, #01013F;
  text-align: center;
  box-sizing: border-box;
  overflow: hidden;
  @media (width < 768px) {
    align-items: flex-start;
    justify-content: center;
    gap: 0.55rem;
    height: 8.75rem;
    padding: 0 1.47rem;
    background-image: url(../images/apply/bg-hero-sp.png);
  }
}

.hero-title {
  line-height: 0;
  position: relative;
  &::before,
  &::after {
    content: "";
    display: block;
    position: absolute;
  }
  &::before {
    width: 5.625rem;
    height: 4.875rem;
    background: url(../images/hero-visual-light.png) no-repeat center center / contain;
    background-blend-mode: screen;
    left: 24.9375rem;
    bottom: 0.15rem;
    z-index: 1;
  }
  &::after {
    width: 58.15056rem;
    height: 75.437rem;
    background: linear-gradient(270deg, #01013F 22.79%, rgba(1, 1, 63, 0.00) 79.01%), url(../images/hero-visual.png) no-repeat center center / contain;
    transform: rotate(-59.609deg);
    left: 292px;
    bottom: calc(100% - 292px);
  }
  & img {
    max-width: 100%;
    height: auto;
    position: relative;
    z-index: 1;
  }

  @media (width < 768px) {
    &::before {
      width: 3.3605rem;
      height: 2.90344rem;
      left: calc(100% - 1.75rem);
      top: 0;
    }
    &::after {
      width: 24.66875rem;
      height: 32.002rem;
      transform: rotate(-13.797deg);
      left: calc(100% - 0.5rem);
      top: -14.375rem;
    }
  }
}

.hero-date {
  display: inline-flex;
  justify-content: center;
  align-items: flex-end;
  gap: 0.25rem;
  font-size: 1.64944rem;
  font-family: "acumin-variable", sans-serif;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  position: relative;
  z-index: 1;

  & span {
    font-feature-settings: 'halt' on, 'palt' on;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 1.125rem;
    line-height: 1.2;
    & small {
    font-family: "Noto Sans JP", sans-serif;
      font-size: 0.75rem;
    }
  }
  @media (width < 768px) {
    font-size: 0.89475rem;
    & span {
      font-size: 0.75rem;
      & small {
        font-size: 0.5rem;
      }
    }
  }
}

.head {
  font-size: 1rem;
  line-height: 1.75;

  & .headline {
    margin: 0 0 1rem;
    @media (width < 768px) {
      margin: 0 0 1.5rem;
    }
  }

  & .text {
    font-weight: 500;
    margin: 0 0 2rem;
  }

  & .link {
    color: #0066BE;
    @media (768px <= width) {
      &:hover {
        text-decoration: none;
      }
    }
  }

}

/**
 * フォーム
 */
.form {
  font-size: 16px;

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

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

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

    .mktoButtonRow {
      padding: 0;

      .mktoButtonWrap {
        margin-left: 0 !important;

        .mktoButton {
          width: 100%;
          border: none;
          background-color: #FF5577;
          color: #fff;
          font-size: 1rem;
          font-weight: bold;
          border-radius: 4px;
          padding: 1rem;

          &:hover {
            opacity: 0.8;
          }
        }
      }
    }

    .mktoForm .mktoRequiredField label.mktoLabel {
      line-height: 1.8;
    }

    .mktoHtmlText {
      font-size: inherit;
      background: #F5F5F5;
      padding: 1rem;
    }
  }
}


.form .form_in .mktoForm .mktoRequiredField .mktoAsterix {
  display: none;
}

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

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


/*
* 関連
*/

.related {
  background: var(--color-neutral-300);
  padding: 4rem 1rem 6.375rem;
  text-align: center;
  @media (width < 768px) {
    padding: 4rem 2.19rem 5rem;
  }
}

.related-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 65rem;
  margin: 0 auto;
}

.related-list {
  display: flex;
  gap: 2.5rem;
  & li {
    flex: 1;
    & a {
      display: block;
      line-height: 0;
      & img {
        max-width: 100%;
        height: auto;
        filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.15));
      }
    }
  }

  @media (768px <= width) {
    & li {
      & a {
        transition: 0.3s;
        &:hover {
          opacity: 0.8;
        }
      }
    }
  }

  @media (width < 768px) {
    flex-direction: column;
  }
}

/* complete */
.complete {
  display: flex;
  flex-direction: column;
  gap: 2rem;

  & .footnote {
    font-size: 0.875rem;
  }
}
