@charset "UTF-8";

/* 変数の定義 */
:root {
  --content-width: 750px;
  --min-content-width: 375px;
}
html {
  scroll-behavior: smooth;
  /* コンテンツ幅でのフォントサイズ */
  font-size: clamp(1px, calc(32 / 750 * 100vw), 32px);
  background-color: white;
}

body {
  max-width: var(--content-width);
  margin-left: auto;
  margin-right: auto;
  background-color: white;
  font-family: "M PLUS Rounded 1c", sans-serif;
  padding-bottom: clamp(1px, calc(98 / 750 * 100vw), 98px);
  box-shadow: 0 0 8px rgba(33, 33, 33, 0.5);
}
img {
  display: block;
  width: 100%;
  height: auto;
}
h1 {
  display: block;
}
h2 {
  text-align: center;
  font-size: 1.7rem;
  margin-bottom: 1em;
  font-weight: bolder;
}
form {
  padding: clamp(1px, calc(64 / 750 * 100vw), 64px) 8%;
  line-height: 1.3;
  font-weight: 700;
}
form div {
  margin-bottom: 0.5em;
}

fieldset {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 1em;
}
fieldset legend {
  margin-bottom: 0.5em;
}
fieldset label {
  display: block;
  margin-right: 1em;
}
label {
  margin-bottom: 0.5em;
  font-weight: 400;
}
div label {
  font-weight: 700;
}
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  border: solid 1px #b4882a;
  line-height: 1.5;
  margin-bottom: 1em;
  font-weight: 500;
}
input[type="text"]:focus-visible,
input[type="email"]:focus-visible,
input[type="tel"]:focus-visible,
textarea:focus-visible {
  border: solid 1px blue;
}
.school {
  margin-bottom: 1em;
}
.school input {
  margin-bottom: 0.5em;
}
.school small {
  font-weight: 400;
  line-height: 1.3;
}
button {
  display: block;
  margin-left: auto;
  margin-right: auto;
  padding: 0.5em 3em;
  font-size: 1.5;
  color: black;
  font-weight: 500;
  border-radius: 1em;
  background-color: orange;
  filter: drop-shadow(0 0.3em 0.2em rgba(33, 33, 33, 0.5));
  transition: 0.3s;
}
button:hover {
  opacity: 0.6;
}
footer {
  max-width: var(--content-width);
  display: flex;
  position: fixed;
  bottom: 0;
  z-index: 999;
}
footer a.line {
  width: 26.7%;
}
footer a.apply {
  width: 46.6%;
}
footer a.tel {
  width: 26.7%;
}
footer a {
  transition: 0.3s;
}
footer a:hover {
  /* opacity: 0.6; */
}
.cta-area {
  position: relative;
}
.btn-cta_img {
  width: 91.73%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99;
}
.cta-fv {
  bottom: clamp(1px, calc(27 / 375 * 100vw), 54px);
}

a {
  transition: 0.3s;
}
a:hover {
  /* opacity: 0.6; */
}
a img {
  transition: 0.3s;
}
a:hover img {
  /* opacity: 0.6; */
  filter: hue-rotate(30deg) /* 位相ずらし */ saturate(0.6) /* 彩度↓ */
    brightness(1.3) /* 明度↑ */ contrast(0.9);
}
/*  */

.footer_a {
  display: block;
  position: fixed;
  width: clamp(1px, calc(686 / 750 * 100vw), 686px);
  height: auto;
  bottom: 2px;
  z-index: 999;
  margin: 0 auto;
  left: 50%;
  transform: translate(-50%, 0);
}
.footer_a {
  /* 初期表示状態 */
  opacity: 1;
  /* transform: translateY(0); */
  transition: opacity 0.28s ease, transform 0.28s ease;
  will-change: opacity, transform; /* スクロール連動のパフォーマンス補助 */
}

/* 非表示アニメーション状態 */
.footer_a.is-hidden {
  opacity: 0;
  transform: translate(
    -50%,
    clamp(1px, calc(160 / 750 * 100vw), 160px)
  ); /* 少し沈む感じ。不要なら 0 に */
  pointer-events: none;
}

/* アニメーションを好まないユーザー配慮 */
@media (prefers-reduced-motion: reduce) {
  .footer_a {
    transition: none !important;
  }
}

/*  */
.p-thanks {
  min-height: 100vh;
  min-height: 100dvh;
  padding-top: 32px;
  padding-inline: 5%;
  font-size: 1.2rem;
}
.p-thanks h1 {
  font-size: 2rem;
  font-weight: 700;
  border-bottom: 3px solid rgb(255, 194, 43);
  padding-bottom: 0.5em;
  margin-bottom: 1.5em;
  text-align: center;
}

.p-thanks p {
  margin-bottom: 1.2em;
  text-align: justify;
}

.p-thanks .tel {
}
.p-thanks .time {
}

.p-thanks .cta {
  margin-top: 2.5em;
  text-align: center;
}

.p-thanks .cta a {
  display: inline-block;
  background-color: rgb(255, 194, 43);
  color: #000;
  font-weight: 600;
  text-decoration: none;
  padding: 1em 2.5em;
  border-radius: 9999px;
  font-size: 24px;
  transition: all 0.3s ease;
}

.p-thanks .cta a:hover {
  opacity: 0.6;
}
