@charset "UTF-8";
:root {
  --px: 1 / 641 * 100cqi;
}
section {
  container-type: inline-size;
}
html {
  scroll-snap-type: y proximity;
  scroll-padding-top: var(--layout-header-height);
  scroll-behavior: smooth;
}

body {
  margin: 0 auto;
  font-family:
    "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "メイリオ", Meiryo,
    "ＭＳ Ｐゴシック", Arial, Verdana, sans-serif;
  font-weight: 500;
}

img {
  display: block;
  object-fit: contain;
  object-position: top left;
  width: 100%;
  height: auto;
}

a {
  display: block;
}

.l-section {
  width: 100%;
  max-width: 641px;
  margin-inline: auto;
  container-type: inline-size;
}

.l-section__inner {
  width: 100%;
}

.cta {
  background-image: url(../image/cta-bg.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  padding-top: calc(155 / 641 * 100cqw);
  padding-bottom: calc(54 / 641 * 100cqw);

  &[data-position="top"] {
    background-image: url(../image/cta-bg2.webp);
    padding-top: calc(325 / 641 * 100cqw);
    padding-bottom: calc(40 / 641 * 100cqw);
  }
}

.button {
  width: calc(604 / 641 * 100cqw);
  margin-inline: auto;
  display: block;
}
.button:hover {
  translate: 0 1px;
}

.l-fixed {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  margin-inline: auto;
  background-image: linear-gradient(to bottom, #da1a10, #880100);

  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.l-fixed__inner {
  padding-block: calc(15 / 641 * 100cqw);
  position: relative;
}

.l-fixed.is-visible {
  opacity: 1;
  visibility: visible;
}

.l-footer {
  background-color: #000;
  padding-block: calc(10 / 641 * 100cqw);
}

.l-footer__inner {
  color: #fff;
  font-size: calc(16 / 641 * 100cqw);
}

.l-footer__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: calc(10 / 641 * 100cqw);
}

.l-footer__item {
  padding-inline: calc(10 / 641 * 100cqw);
}
.l-footer__item:not(:last-child) {
  border-right: 1px solid #fff;
}

.l-footer__copyright {
  text-align: center;
}

.l-footer__copyright-text {
}

/* トップに戻るボタン */
.scroll-to-top {
  position: absolute;
  top: calc(-55 / 641 * 100cqw);
  right: calc(20 / 641 * 100cqw);
  width: calc(46 / 641 * 100cqw);
  height: calc(46 / 641 * 100cqw);
  background-color: #b80000;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
  z-index: 1001;
  opacity: 0.9;
}
.scroll-to-top svg {
  width: calc(30 / 641 * 100cqw);
  height: calc(20 / 641 * 100cqw);
}

.scroll-to-top:hover {
  opacity: 1;
}

.scroll-to-top.is-visible {
  opacity: 1;
  visibility: visible;
}

/* フォーム */
.c-form {
  background-image: url(../image/form-bg.webp);
  background-size: 100%;
  background-repeat: repeat-y;

  .l-section__inner {
    padding-top: calc(60 * var(--px));
    padding-bottom: calc(90 * var(--px));
    padding-inline: calc(20 * var(--px));
  }
}

.c-form__title {
  text-align: center;
  margin-bottom: calc(40 * var(--px));
}
.c-form__title .sub1 {
  display: block;
  font-size: calc(33 * var(--px));
  font-weight: 700;
  font-family: serif;
  line-height: 1.6;
  color: #000;
  margin-bottom: calc(4 * var(--px));
  padding-block: calc(4 * var(--px));
  width: fit-content;
  padding-inline: 1em;
  margin-inline: auto;
  &::before,
  &::after {
    content: "";
    display: block;
    background-image: url(../image/form__title-sub1-bg.png);
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
    width: calc(343 * var(--px));
    height: calc(4 * var(--px));
  }
}
.c-form__title .sub2 {
  display: block;
  font-size: calc(72 * var(--px));
  font-family: serif;
  line-height: 1.25;
  font-weight: 700;
  color: #b80000;
}

.c-form__text {
  width: 100%;
  font-size: calc(28 * var(--px));
  line-height: 1.8;
  color: #000;
  margin-bottom: calc(40 * var(--px));
}

.c-form__contents {
  width: 100%;
}

.c-form__group {
  width: 100%;
  margin-bottom: calc(30 * var(--px));
}

.c-form__label {
  background-color: #000;
  color: #fff;
  font-weight: 700;
  font-size: calc(24 * var(--px));
  line-height: 1.4;
  padding: 0.8em 1.1em 0.7em;
  display: flex;
  align-items: center;
  gap: calc(6 * var(--px));
  margin-bottom: calc(10 * var(--px));
}

.c-form__badge {
  display: inline-block;
  background-color: #b80000;
  color: #fff;
  font-size: calc(18 * var(--px));
  line-height: 1;
  padding: calc(5 * var(--px)) calc(16 * var(--px)) calc(3 * var(--px));
  border-radius: calc(3 * var(--px));
}

.c-form__input {
  width: 100%;
  background-color: #fff;
  border: 1px solid #cfcfcf;
  padding: 1.1em;
  font-size: calc(24 * var(--px));
  line-height: 1.6;
  outline: none;
  border-radius: 0;
  font-weight: 700;
}
.c-form__input::placeholder {
  color: #9aa0a6;
  font-weight: 700;
}

.c-form__select {
  position: relative;
  width: 100%;
  border: 1px solid #cfcfcf;
  background-color: #fff;
}
.c-form__select select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  padding: 1.1em;
  font-size: calc(24 * var(--px));
  font-weight: 700;
  line-height: 1.6;
  background: transparent;
  border: none;
  outline: none;
}
.c-form__select::after {
  content: "";
  background-image: url(../image/c-form__select-arrow.svg);
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: center;
  width: calc(30 * var(--px));
  height: calc(18 * var(--px));
  position: absolute;
  right: 1.1em;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.c-form__checkboxes {
  display: flex;
  flex-direction: column;
  gap: calc(12 * var(--px));
  padding: calc(20 * var(--px)) 0 0;
  width: fit-content;
  margin-inline: auto;
}

.c-form__checkbox {
  display: flex;
  align-items: center;
  gap: calc(12 * var(--px));
  font-size: calc(24 * var(--px));
  font-weight: 700;
  line-height: 2;
  cursor: pointer;

  span {
    margin-bottom: -0.2em;
  }
}

.c-form__checkbox input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: calc(26 * var(--px));
  height: calc(26 * var(--px));
  flex-shrink: 0;
  cursor: pointer;
  border: 0.1em solid currentColor;
  border-radius: 0;
  background-color: #fff;
}

.c-form__checkbox input[type="checkbox"]:checked {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='square'%3E%3Cpath d='M5 12l5 5L19 7'/%3E%3C/svg%3E")
    center / contain no-repeat #fff;
}

.c-form__textarea {
  width: 100%;
  min-height: calc(160 * var(--px));
  background-color: #fff;
  border: 1px solid #cfcfcf;
  padding: 1em;
  font-size: calc(24 * var(--px));
  line-height: 1.6;
  resize: vertical;
  outline: none;
  font-weight: 700;
}

.c-form__actions {
  margin-top: calc(60 * var(--px));
  display: flex;
  justify-content: center;
}

.c-form__submit {
  display: inline-block;
  width: 100%;
  background-color: #b80000;
  color: #fff;
  font-weight: 700;
  font-size: calc(43 * var(--px));
  text-align: center;
  font-family: serif;
  line-height: 1;
  border: none;
  border-radius: calc(10 * var(--px));
  cursor: pointer;
  transition: transform 0.1s ease;
  padding-block: 1em;
}
.c-form__submit:hover {
  transform: translateY(calc(1 * var(--px)));
}
