@charset "utf-8";
/* *************************************
// 変数宣言
************************************* */
:root {
  --rem: 1rem / 16;
  --black: #2c2c2c;
  --white: #fff;
  --main: #fff;
  --sub: #9c0032;
  --text: #2c2c2c;
  --sub2-color:#6B4C3B;
  --sub3-color:#556B2F;
  --base-color:#ede7dd;
}

/* *************************************
// class
************************************* */
.pc_none {
  display: none;
}

@media (width < 768px) {
  .pc_none {
    display: block;
  }

  .sp_none {
    display: none;
  }
}

/* *************************************
// setting
************************************* */
:root {
  --leading-trim: calc((1em - 1lh) / 2);
  /* margin-block: var(--leading-trim); */
}

* {
  min-inline-size: 0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  font-size: calc(16 * var(--rem));
}

body.is-active {
  overflow: hidden;
}

main {
  display: grid;
  grid-template-rows: auto 1fr auto;
  grid-template-columns: 100%;
  min-height: 100vh;
  align-items: start;
}

p {
  line-height: 1.8;
}

a:not([class]) {
  text-decoration-skip-ink: auto;
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s;
}

@media (any-hover: hover) {
  a:hover {
    opacity: 0.7;
  }
}

a[href^='tel:'] {
  pointer-events: none;
  @media (width <= 768px) {
    pointer-events: revert;
  }
}

figure,
img,
picture {
  max-width: 100%;
  display: block;
}

:focus:not(:focus-visible) {
  outline: none;
}

/* *************************************
// インナー設定(PC first)
************************************* */
:root {
  --padding-inline-pc: 25px;
  --padding-inline-sp: 20px;
  --inner-width-pc: 1280px;
  --inner-width-sp: 600px;
}

.inner {
  padding-inline: var(--padding-inline-pc);
  width: min(100%, calc(var(--inner-width-pc) + var(--padding-inline-pc) * 2));
  margin-inline: auto;
  @media (width < 768px) {
    padding-inline: var(--padding-inline-sp);
    max-width: calc(var(--inner-width-sp) + var(--padding-inline-sp) * 2);
  }
}

/* *************************************
// ルートフォント設定
************************************* */
html {
  /* デフォルト */
  font-size: 100%;
}
/*　インナー幅＋余白 〜 */
@media (width < 1330px) {
  html {
    font-size: calc(100vw * (16 / 1330));
  }
}
/* 376px ~ 768px */
@media (width < 768px) {
  html {
    font-size: 100%;
  }
}
/* ~ 375px */
@media (width < 375px) {
  html {
    font-size: calc(100vw * (16 / 375));
  }
}

/* *************************************
// ローダー(loader)
************************************* */
#loader-bg.l001 {
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0px;
  left: 0px;
  background: #fff;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.l001 .spinner {
  margin: 100px 0 0;
  width: 70px;
  text-align: center;
}
.l001 .spinner > div {
  width: 18px;
  height: 18px;
  background: var(--main);

  border-radius: 100%;
  display: inline-block;
  -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
  animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}
.l001 .spinner .bounce1 {
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}
.l001 .spinner .bounce2 {
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}
@-webkit-keyframes sk-bouncedelay {
  0%,
  80%,
  100% {
    -webkit-transform: scale(0);
  }
  40% {
    -webkit-transform: scale(1);
  }
}
@keyframes sk-bouncedelay {
  0%,
  80%,
  100% {
    -webkit-transform: scale(0);
    transform: scale(0);
  }
  40% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

/* *************************************
form
************************************* */
/*===== 各種フォームリセット & スタイル =====*/
:root {
  --form-border: #e0e0e0;
  --form-border-current: #0693e3;
  --form-bg: #eaedf2;
  --form-check: #a40000;
}

/*===== 必須 =====*/
.required {
}

.required::after {
  content: '必須';
  display: inline-grid;
  place-content: center;
  font-size: calc(12 * var(--rem));
  line-height: 1;
  color: var(--white);
  background-color: var(--form-check);
  padding: calc(4 * var(--rem)) calc(8 * var(--rem));
  border-radius: calc(4 * var(--rem));
}

/*===== テキスト、メール、TE、パスワード =====*/
input[type='text'],
input[type='email'],
input[type='tel'],
input[type='password'],
input[type='date'] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  margin: 0;
  padding: calc(10 * var(--rem));
  width: 100%;
  min-height: calc(40 * var(--rem));
  background-color: var(--form-bg);
  background-image: none;
  border: none;
  border-radius: calc(4 * var(--rem));
}

input[type='text']:focus,
input[type='email']:focus,
input[type='tel']:focus,
input[type='password']:focus,
input[type='date'] {
  /* border: 1px solid var(--form-border); */
  box-shadow: none;
  outline: none;
}

input[type='text']::placeholder,
input[type='email']::placeholder,
input[type='tel']::placeholder,
input[type='password']::placeholder,
input[type='date'] {
  font-size: calc(16 * var(--rem));
}

/*===== テキストエリア =====*/
textarea {
  field-sizing: content;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  margin: 0;
  padding: calc(4 * var(--rem)) calc(8 * var(--rem));
  width: 100%;
  min-height: calc(100 * var(--rem));
  /* textareaはheight指定 */
  background-color: var(--form-bg);
  background-image: none;
  border: none;
  border-radius: calc(4 * var(--rem));
  font-size: calc(16 * var(--rem));
  line-height: 1.8em;
}

textarea:focus {
  border: 3px solid var(var(--form-border-current));
  box-shadow: none;
  outline: none;
}

/* textarea::placeholder {} */

/*===== ラジオボタン =====*/
input[type='radio'] {
  position: absolute;
  appearance: none;
}

input[type='radio'] + span {
  display: block;
  cursor: pointer;
  padding-left: calc(30 * var(--rem));
  position: relative;
}

input[type='radio'] + span::before {
  content: '';
  display: block;
  width: calc(20 * var(--rem));
  aspect-ratio: 1;
  border: 1px solid var(--form-border);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

input[type='radio'] + span::after {
  content: '';
  display: block;
  width: calc(10 * var(--rem));
  aspect-ratio: 1;
  background-color: var(--sub3-color);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: calc(5 * var(--rem));
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity 0.3s;
}

input[type='radio']:checked + span::after {
  opacity: 1;
}

/*===== チェックボックス =====*/
input[type='checkbox'] {
  position: absolute;
  appearance: none;
}

input[type='checkbox'] + span {
  display: block;
  cursor: pointer;
  padding-left: calc(30 * var(--rem));
  position: relative;
}

input[type='checkbox'] + span::before {
  content: '';
  display: block;
  width: calc(20 * var(--rem));
  aspect-ratio: 1;
  border: 1px solid var(--form-border);
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

input[type='checkbox'] + span::after {
  content: '';
  display: block;
  width: calc(20 * var(--rem));
  height: calc(10 * var(--rem));
  border-bottom: calc(3 * var(--rem)) solid var(--form-check);
  border-left: calc(3 * var(--rem)) solid var(--form-check);
  position: absolute;
  left: calc(2 * var(--rem));
  top: 32%;
  transform: translateY(-50%) rotate(-45deg);
  opacity: 0;
  transition: opacity 0.3s;
}

input[type='checkbox']:checked + span::after {
  opacity: 1;
}

/*===== セレクトボックス =====*/
select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: calc(4 * var(--rem));
  padding: calc(10 * var(--rem));
  width: 100%;
  min-height: calc(40 * var(--rem));
  background-color: var(--form-bg);
  font-size: calc(16 * var(--rem));
}

select::-ms-expand {
  display: none;
}

select:focus {
  border: 1px solid var(--form-border);
  box-shadow: none;
  outline: none;
}

/* option[selected][disabled] {
  display: none;
 } */

/*===== ボタン =====*/
button {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
  padding: 0;
  width: 100%;
  background-color: transparent;
  background-image: none;
  border: none;
  border-radius: 0;
}
button:hover,
button:focus {
  outline: none;
}
button::-moz-focus-inner {
  border: none;
  padding: 0;
}

/*===== 送信ボタン =====*/
input[type='submit'] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
  text-decoration: none;
  margin: 0;
  padding: 0;
  width: 100%;
  background-color: transparent;
  background-image: none;
  border: 1px solid var(--form-border);
  border-radius: 0;
}

input[type='submit']:hover,
input[type='submit']:focus {
  outline: none;
}

input[type='submit']::-moz-focus-inner {
  border: 1px solid var(--form-border);
  padding: 0;
}

.form__list {
}

.form__item {
  display: grid;
  grid-template-columns: 2.5fr 7.5fr;
  gap: 0 calc(24 * var(--rem));
  align-items: start;
  border-bottom: 1px solid var(--form-border);
  padding-block: calc(24 * var(--rem));
  @media (width < 768px) {
    grid-template-columns: 1fr;
  }
}

.form__item dt {
  display: grid;
  grid-template-columns: 1fr auto;
  font-weight: bold;
  @media (width < 768px) {
    display: inline-flex;
    gap: 0 calc(8 * var(--rem));
  }
}

.form__item dd {
  @media (width < 768px) {
    margin-block-start: calc(8 * var(--rem));
  }
}

.form__item.form__item--mail {
  row-gap: calc(8 * var(--rem));
}

.form__item.form__item--mail dd:nth-child(2) {
  grid-row: 2/3;
  grid-column: 2/3;
  @media (width < 768px) {
    grid-row: revert;
    grid-column: revert;
  }
}

.form__submit {
  width: min(100%, calc(160 * var(--rem)));
  margin-inline: auto;
  margin-block-start: calc(80 * var(--rem));
}

.form__submit input {
  display: block;
  width: inherit;
  color: var(--white);
  border: none;
  padding: calc(10 * var(--rem));
  background-color: var(--sub3-color);
  font-size: calc(16 * var(--rem));
  border-radius: 100vmax;
  transition: opacity 0.3s ease;
}

@media (any-hover: hover) {
  .form__submit input:hover {
    opacity: 0.7;
  }
}

.form__submit .wpcf7-spinner {
  display: none;
}
