/* ========================================
   all4kids LP
   このファイルは .a4k-lp 配下にのみ効きます
   ======================================== */

/* ---------- ベース ---------- */
.a4k-lp {
  overflow-x: hidden;
  /* 基本の文字色。これを指定しないと設置先テーマの文字色を継承してしまう */
  color: #44311A;

  /* ファーストビューを画面いっぱいにするための高さ計算用。設置先のヘッダーの高さ。
     all-with.jp（theme-LOC）の header は position:sticky で、高さは次の式で決まる。
       .header_container { height: 6em }
       body { font-size: clamp(0.625rem, 0.449rem + 0.75vw, 1.125rem) }  ※ html は 16px
     6倍して 6 × clamp(10px, 7.184px + 0.75vw, 18px) = 下の値。
     画面幅に比例して 60px（〜390px幅）→ 108px（1440px幅〜）まで変わる。
     別のサイトに設置するときは、この1行だけ設置先の値に差し替える */
  --a4k-header-height: clamp(60px, 4.5vw + 43.1px, 108px);
  /* SPのフローティングボタンの高さ
     font-size 3.5vw × 3.6em（padding 1.3em × 2 + テキスト1em） */
  --a4k-float-height: 12.6vw;
}

@media screen and (min-width: 600px) {
  .a4k-lp {
    /* font-size 2.4vw × 3.6em */
    --a4k-float-height: 8.64vw;
  }
}

@media screen and (min-width: 768px) {
  .a4k-lp {
    /* 右端の縦タブになるので、画面下の高さを取らない */
    --a4k-float-height: 0px;
  }
}

.a4k-lp, .a4k-lp h1, .a4k-lp h2, .a4k-lp h3, .a4k-lp h4, .a4k-lp h5, .a4k-lp h6,
.a4k-lp p, .a4k-lp span, .a4k-lp a, .a4k-lp th, .a4k-lp td, .a4k-lp li, .a4k-lp strong {
  font-family: "Yu Gothic", "游ゴシック", "Hiragino Sans", "ヒラギノ角ゴシック", sans-serif !important;
}

.a4k-lp h1, .a4k-lp h2, .a4k-lp h3, .a4k-lp h4, .a4k-lp h5, .a4k-lp h6 {
  margin: 0;
  line-height: 1;
}

.a4k-lp p, .a4k-lp span {
  font-weight: bold;
  line-height: 1;
}

.a4k-lp p {
  margin: 0;
}

.a4k-lp p:empty {
  display: none;
}

.a4k-lp br {
  display: none !important;
}

.a4k-lp button {
  box-shadow: none !important;
}

.a4k-lp ul, .a4k-lp li, .a4k-lp dl, .a4k-lp dt, .a4k-lp dd {
  line-height: 1;
  padding: 0;
  margin: 0;
}

.a4k-lp figure {
  margin: 0;
}

.a4k-lp img {
  width: 100%;
  max-width: none;
}

.a4k-lp a {
  border: none !important;
}
.a4k-lp a:hover {
  border: none !important;
}

/* ---------- 設置先のフローティングボタンを隠す ---------- */
/* このファイルで唯一 .a4k-lp の外を指定している箇所です。
   設置先（all-with.jp）は SP で「採用情報 / 園見学のお問い合わせ」を画面下に固定していて
   （header .floating_button--box / position:fixed / z-index:9999）、
   LPのフローティングボタン（z-index:1000）より手前に出て完全に隠してしまうため。
   lp.css は本文に a4k-lp があるページでしか読み込まれないので、他のページには影響しません。
   768px以上では設置先のボタンはヘッダー内に収まり衝突しないので、そのまま残します。 */
@media screen and (max-width: 767.98px) {
  header .floating_button--box {
    display: none;
  }
}

/* ---------- フローティングボタン / CTAボタン ---------- */
.a4k-lp .float_button--box {
  font-size: 3.5vw;
  width: 100%;
  position: fixed;
  right: 0;
  bottom: 0;
  z-index: 1000;
}

@media screen and (min-width: 600px) {
  .a4k-lp .float_button--box {
    font-size: 2.4vw;
  }
}

@media screen and (min-width: 768px) {
  .a4k-lp .float_button--box {
    font-size: 2vw;
    width: 3em;
    bottom: auto;
    top: 150px;
  }
}

@media screen and (min-width: 1025px) {
  .a4k-lp .float_button--box {
    font-size: 18px;
    top: 200px;
  }
}

.a4k-lp .float_button--box.grid_box {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

@media screen and (min-width: 768px) {
  .a4k-lp .float_button--box.grid_box {
    grid-template: auto auto/auto;
    gap: 1em 0;
  }
}

.a4k-lp .float_button--box .float_button {
  text-align: center;
  padding: 1.3em 0;
  display: grid;
  align-items: center;
  position: relative;
}

@media screen and (min-width: 768px) {
  .a4k-lp .float_button--box .float_button {
    border-radius: 10px 0 0 10px;
  }
}

@media screen and (min-width: 768px) {
  .a4k-lp .float_button--box .float_button {
    padding: 2em 0;
  }
}

.a4k-lp .float_button--box .float_button.button01 {
  background-color: #1B9143;
}

.a4k-lp .float_button--box .float_button.button02 {
  background-color: #5DAA68;
}

.a4k-lp .float_button--box .float_button:hover {
  opacity: 0.7;
}

.a4k-lp .float_button--box .float_button a {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}

.a4k-lp .float_button--box .float_button div {
  width: -moz-max-content;
  width: max-content;
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto;
  align-items: center;
  gap: 0.5em 0.8em;
}

@media screen and (min-width: 768px) {
  .a4k-lp .float_button--box .float_button div {
    grid-template-columns: auto;
    justify-content: center;
    gap: 1em 0;
  }
}

.a4k-lp .float_button--box .float_button div img {
  width: 1.2em;
}

.a4k-lp .float_button--box .float_button div span {
  color: #fff;
  font-weight: bold;
}

@media screen and (min-width: 768px) {
  .a4k-lp .float_button--box .float_button div span.text_sp {
    display: none;
  }
}

.a4k-lp .float_button--box .float_button div span.text_pc {
  display: none;
}

@media screen and (min-width: 768px) {
  .a4k-lp .float_button--box .float_button div span.text_pc {
    letter-spacing: 0.1em;
    writing-mode: vertical-rl;
    text-orientation: upright;
    display: block;
  }
}

.a4k-lp .float_button--box .float_button div span.tel {
  text-align: left;
  font-size: 1.2em;
}

.a4k-lp .float_button--box .float_button div span.text {
  font-size: 0.85em;
  grid-column: span 2;
}

@media screen and (min-width: 768px) {
  .a4k-lp .float_button--box .float_button div span.text {
    display: none;
  }
}

.a4k-lp .common_button {
  text-align: center;
  width: 16em;
  padding: 0.95em 0;
  border-radius: 3em;
  box-shadow: 3px 6px 0px #ABB4AB;
  display: grid;
  align-items: center;
  position: relative;
  animation: a4klp-poyopoyo 2s ease-out infinite;
}

@media screen and (min-width: 1025px) {
  .a4k-lp .common_button {
    padding: 1.2em 0;
  }
}

.a4k-lp .common_button.button01 {
  background-color: #1B9143;
}

.a4k-lp .common_button.button02 {
  background-color: #5DAA68;
}

.a4k-lp .common_button:hover {
  opacity: 0.7;
}

.a4k-lp .common_button a {
  width: 100%;
  height: 100%;
  border-radius: 3em;
  position: absolute;
  left: 0;
  top: 0;
}

.a4k-lp .common_button div {
  width: -moz-max-content;
  width: max-content;
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto;
  align-items: center;
  gap: 0.5em 0.8em;
}

.a4k-lp .common_button div img {
  width: 1.2em;
}

.a4k-lp .common_button div span {
  color: #fff;
  font-weight: bold;
}

.a4k-lp .common_button.button02 div img {
  grid-row: span 2;
}

.a4k-lp .common_button.button02 div span.tel {
  text-align: left;
}

.a4k-lp .common_button.button02 div span.text {
  font-size: 0.73em;
}

@keyframes a4klp-poyopoyo {
  0%, 40%, 60%, 80% {
    transform: scale(1);
  }
  50%, 70% {
    transform: scale(0.95);
  }
}

/* ---------- ファーストビュー（header_A） ---------- */
.a4k-lp .top_page--header {
  overflow: hidden;
  position: relative;
  background-image: url(https://www.all-with.jp/wp/wp-content/uploads/2026/09/ef_fv.jpg);
  background-position: 80% 50%;
  background-size: cover;
  background-repeat: no-repeat;
}

.a4k-lp .top_page--header h1 {
  position: absolute;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(0px 0px 99.9% 99.9%);
  overflow: hidden;
  height: 1px;
  width: 1px;
  padding: 0;
  border: 0;
}

.a4k-lp .top_page--header.header_A .a4k_header_container {
  width: 100%;
  height: calc(100svh - var(--a4k-header-height) - var(--a4k-float-height));
  padding-bottom: 10%;
  display: flex;
  justify-content: center;
  align-items: end;
  position: relative;
}

.a4k-lp .top_page--header.header_A .a4k_header_container .box {
  font-size: 3.8vw;
  text-align: center;
  width: 80%;
  position: relative;
}

@media screen and (min-width: 600px) {
  .a4k-lp .top_page--header.header_A .a4k_header_container .box {
    font-size: 2.6vw;
    width: 28em;
  }
}

@media screen and (min-width: 768px) {
  .a4k-lp .top_page--header.header_A .a4k_header_container .box {
    font-size: 2.2vw;
    width: 30em;
  }
}

@media screen and (min-width: 1025px) {
  .a4k-lp .top_page--header.header_A .a4k_header_container .box {
    font-size: 24px;
  }
}

.a4k-lp .top_page--header.header_A .a4k_header_container .box img {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0;
  transition: all 0.6s 0.4s;
}

.a4k-lp .top_page--header.header_A.loaded .a4k_header_container .box img {
  opacity: 1;
}

/* ---------- CTAボタン（top_button--container） ---------- */
.a4k-lp .top_button--container {
  padding: 8% 0;
  /* クリーム色のセクション内に置いても白帯になるように */
  background-color: #fff;
  border-top: 2px solid #01CBC6;
  border-bottom: 2px solid #01CBC6;
}

@media screen and (min-width: 600px) {
  .a4k-lp .top_button--container {
    padding: 5% 0;
  }
}

@media screen and (min-width: 768px) {
  .a4k-lp .top_button--container {
    padding: 4% 0;
  }
}

@media screen and (min-width: 1025px) {
  .a4k-lp .top_button--container {
    padding: 30px 0;
  }
}

.a4k-lp .top_button--container .box {
  font-size: 4.4vw;
  margin-inline: auto;
  display: grid;
  justify-content: center;
}

@media screen and (min-width: 600px) {
  .a4k-lp .top_button--container .box {
    font-size: 2.8vw;
  }
}

@media screen and (min-width: 768px) {
  .a4k-lp .top_button--container .box {
    font-size: 2.2vw;
  }
}

@media screen and (min-width: 1025px) {
  .a4k-lp .top_button--container .box {
    font-size: 20px;
    max-width: 720px;
  }
}

.a4k-lp .top_button--container .box.grid_box {
  grid-template-rows: 1fr 1fr;
  gap: 2.2em 0;
}

@media screen and (min-width: 600px) {
  .a4k-lp .top_button--container .box.grid_box {
    grid-template-rows: auto;
    grid-template-columns: auto auto;
    gap: 0 1.5em;
  }
}

@media screen and (min-width: 768px) {
  .a4k-lp .top_button--container .box.grid_box {
    gap: 0 2.5em;
  }
}

@media screen and (min-width: 1025px) {
  .a4k-lp .top_button--container .box.grid_box {
    gap: 0 3em;
  }
}

/* ---------- メイン / マンガ / PR共通 / PR_A / PR_B / PR_C ---------- */
.a4k-lp .top_page--main {
  background-color: #F8F2E5;
  position: relative;
}

.a4k-lp .top_page--main::before, .a4k-lp .top_page--main::after {
  content: "";
  width: 10px;
  height: 100%;
  background-color: #3399FF;
  position: absolute;
  top: 0;
  z-index: 1;
}

@media screen and (min-width: 600px) {
  .a4k-lp .top_page--main::before, .a4k-lp .top_page--main::after {
    width: 12px;
  }
}

@media screen and (min-width: 768px) {
  .a4k-lp .top_page--main::before, .a4k-lp .top_page--main::after {
    width: 15px;
  }
}

@media screen and (min-width: 1025px) {
  .a4k-lp .top_page--main::before, .a4k-lp .top_page--main::after {
    width: 20px;
  }
}

.a4k-lp .top_page--main::before {
  left: 0;
}

.a4k-lp .top_page--main::after {
  right: 0;
}

.a4k-lp section.top_section .section_container {
  margin-inline: auto;
}

.a4k-lp section.top_section.top_manga--section {
  padding: calc(10% + 90px) 0 0;
}

@media screen and (min-width: 600px) {
  .a4k-lp section.top_section.top_manga--section {
    padding: calc(8% + 90px) 0 0;
  }
}

@media screen and (min-width: 768px) {
  .a4k-lp section.top_section.top_manga--section {
    padding: calc(7% + 90px) 0 0;
  }
}

@media screen and (min-width: 1025px) {
  .a4k-lp section.top_section.top_manga--section {
    padding: 170px 0 0;
  }
}

.a4k-lp section.top_section.top_manga--section .section_container {
  width: 88%;
  padding: 10% 0 6%;
  margin-top: -90px;
  background-color: #fff;
  border-radius: 20px;
}

@media screen and (min-width: 600px) {
  .a4k-lp section.top_section.top_manga--section .section_container {
    padding: 7% 0 5%;
    border-radius: 25px;
  }
}

@media screen and (min-width: 768px) {
  .a4k-lp section.top_section.top_manga--section .section_container {
    padding: 6% 0 5%;
    border-radius: 30px;
  }
}

@media screen and (min-width: 1025px) {
  .a4k-lp section.top_section.top_manga--section .section_container {
    max-width: 1050px;
    padding: 60px 0 50px;
    border-radius: 40px;
  }
}

.a4k-lp section.top_section.top_manga--section .section_container h2 {
  text-align: center;
  font-size: 4.3vw;
  font-weight: bold;
  letter-spacing: 0.05em;
  width: -moz-max-content;
  width: max-content;
  min-width: 80%;
  padding-bottom: 0.5em;
  margin: 0 auto 1.5em;
  position: relative;
}

@media screen and (min-width: 600px) {
  .a4k-lp section.top_section.top_manga--section .section_container h2 {
    font-size: 3.1vw;
    min-width: 75%;
  }
}

@media screen and (min-width: 768px) {
  .a4k-lp section.top_section.top_manga--section .section_container h2 {
    font-size: 2.8vw;
    min-width: 70%;
  }
}

@media screen and (min-width: 1025px) {
  .a4k-lp section.top_section.top_manga--section .section_container h2 {
    font-size: 28px;
    min-width: 50%;
  }
}

.a4k-lp section.top_section.top_manga--section .section_container h2::before {
  content: "";
  width: 100%;
  height: 10px;
  background: radial-gradient(circle farthest-side, #1B9143, #1B9143 40%, transparent 40%, transparent);
  background-size: 10px;
  background-position: 0% 100%;
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 0);
}

.a4k-lp section.top_section.top_manga--section .section_container h2 span.inner {
  color: #44311A;
  font-weight: bold;
  line-height: 1.8;
  clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
  display: inline-block;
  transition: all 0.5s;
}

.a4k-lp section.top_section.top_manga--section .section_container h2 span.inner span.large {
  color: #FF6C20;
  font-size: 1.25em;
  font-weight: bold;
}

.a4k-lp section.top_section.top_manga--section .section_container h2 span.inner br {
  display: block !important;
}

@media screen and (min-width: 600px) {
  .a4k-lp section.top_section.top_manga--section .section_container h2 span.inner br.br_sp {
    display: none !important;
  }
}

.a4k-lp section.top_section.top_manga--section .section_container.show h2 span.inner {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}

.a4k-lp .top_manga_box {
  width: 90%;
  margin-inline: auto;
  opacity: 0;
  display: grid;
  gap: 5px;
  transform: translate(0, 30px);
  transition: all 0.5s 0.5s;
}

@media screen and (min-width: 1025px) {
  .a4k-lp .top_manga_box {
    gap: 8px;
  }
}

.a4k-lp .section_container.show .top_manga_box {
  opacity: 1;
  transform: translate(0, 0);
}

.a4k-lp .top_manga_box .manga_row.row_flex {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

@media screen and (min-width: 768px) {
  .a4k-lp .top_manga_box .manga_row.row_flex {
    flex-direction: row-reverse;
  }
}

@media screen and (min-width: 1025px) {
  .a4k-lp .top_manga_box .manga_row.row_flex {
    gap: 8px;
  }
}

.a4k-lp section.top_section.top_pr--section .section_container {
  width: 88%;
}

@media screen and (min-width: 1025px) {
  .a4k-lp section.top_section.top_pr--section .section_container {
    max-width: 1050px;
  }
}

.a4k-lp h2.top_pr_section--h2 {
  text-align: center;
  font-size: 5.9vw;
  line-height: 1.8;
  opacity: 0;
  position: relative;
  transform: translate(-30px, 0);
  transition: all 0.5s;
}

@media screen and (min-width: 600px) {
  .a4k-lp h2.top_pr_section--h2 {
    font-size: 3.9vw;
  }
}

@media screen and (min-width: 768px) {
  .a4k-lp h2.top_pr_section--h2 {
    font-size: 3.2vw;
  }
}

@media screen and (min-width: 1025px) {
  .a4k-lp h2.top_pr_section--h2 {
    font-size: 30px;
  }
}

.a4k-lp .section_container.show h2.top_pr_section--h2 {
  opacity: 1;
  transform: translate(0, 0);
}

.a4k-lp h2.top_pr_section--h2 span.eng {
  color: rgba(255, 108, 32, 0.2); /* #FF6C20 の不透明度20% */
  font-size: 3.8em;
  font-weight: bold;
  font-family: "Ubuntu" !important;
  position: absolute;
  left: 50%;
  top: 0;
}

@media screen and (min-width: 600px) {
  .a4k-lp h2.top_pr_section--h2 span.eng {
    font-size: 4em;
  }
}

@media screen and (min-width: 768px) {
  .a4k-lp h2.top_pr_section--h2 span.eng {
    font-size: 4.2em;
  }
}

@media screen and (min-width: 1025px) {
  .a4k-lp h2.top_pr_section--h2 span.eng {
    font-size: 4.4em;
  }
}

.a4k-lp h2.top_pr_section--h2 span.ja {
  color: #44311A;
  font-weight: bold;
  position: relative;
}

.a4k-lp h2.top_pr_section--h2 span.ja span.large {
  font-size: 1.18em;
  font-weight: bold;
}

.a4k-lp h2.top_pr_section--h2 span.ja br {
  display: block !important;
}

@media screen and (min-width: 600px) {
  .a4k-lp h2.top_pr_section--h2 span.ja br {
    display: none !important;
  }
}

/* 下パディングは次に来るCTAボタンとの間隔を兼ねる */
.a4k-lp section.top_section.top_pr--section.pr_A {
  padding: 22% 0 10%;
}

@media screen and (min-width: 600px) {
  .a4k-lp section.top_section.top_pr--section.pr_A {
    padding: 18% 0 7%;
  }
}

@media screen and (min-width: 768px) {
  .a4k-lp section.top_section.top_pr--section.pr_A {
    padding: 17% 0 6%;
  }
}

@media screen and (min-width: 1025px) {
  .a4k-lp section.top_section.top_pr--section.pr_A {
    padding: 150px 0 70px;
  }
}

.a4k-lp section.top_section.top_pr--section.pr_A .section_container h2.top_pr_section--h2 {
  margin-bottom: 1.5em;
}

.a4k-lp section.top_section.top_pr--section.pr_A .section_container h2.top_pr_section--h2 span.eng {
  transform: translate(-50%, -30%);
}

@media screen and (min-width: 600px) {
  .a4k-lp section.top_section.top_pr--section.pr_A .section_container h2.top_pr_section--h2 span.eng {
    transform: translate(-50%, -50%);
  }
}

.a4k-lp .top_pr_A--box {
  padding: 7% 7% 12%;
  background-color: #fff;
  border: 2px solid #2E2B33;
  border-radius: 40px;
}

@media screen and (min-width: 600px) {
  .a4k-lp .top_pr_A--box {
    padding: 7% 7% 10%;
  }
}

@media screen and (min-width: 768px) {
  .a4k-lp .top_pr_A--box {
    padding: 6% 8% 8%;
  }
}

@media screen and (min-width: 1025px) {
  .a4k-lp .top_pr_A--box {
    padding: 60px 90px;
  }
}

.a4k-lp .top_pr_A--box h3 {
  text-align: center;
  color: #fff;
  font-size: 4.2vw;
  font-weight: bold;
  line-height: 1.4;
  letter-spacing: 0.01em;
  padding: 1em 0;
  margin-bottom: 2em;
  background-color: #1B9143;
  border-radius: 20px;
  opacity: 0;
  transform: perspective(600px) translate3d(0, 0, 0) rotateY(30deg);
  transition: all 0.5s 0.5s;
}

@media screen and (min-width: 600px) {
  .a4k-lp .top_pr_A--box h3 {
    font-size: 3.6vw;
  }
}

@media screen and (min-width: 768px) {
  .a4k-lp .top_pr_A--box h3 {
    font-size: 3.1vw;
  }
}

@media screen and (min-width: 1025px) {
  .a4k-lp .top_pr_A--box h3 {
    font-size: 27px;
  }
}

.a4k-lp .section_container.show .top_pr_A--box h3 {
  opacity: 1;
  transform: perspective(600px) translate3d(0, 0, 0) rotateY(0deg);
}

.a4k-lp .top_pr_A--box h3 br {
  display: block !important;
}

@media screen and (min-width: 600px) {
  .a4k-lp .top_pr_A--box h3 br.br_sp {
    display: none !important;
  }
}

.a4k-lp .pr_A p.text {
  color: #44311A;
  text-align: center;
  font-size: 4.3vw;
  font-weight: bold;
  line-height: 1.6;
  margin-bottom: 2em;
}

@media screen and (min-width: 600px) {
  .a4k-lp .pr_A p.text {
    text-align: center;
    font-size: 2.8vw;
  }
}

@media screen and (min-width: 768px) {
  .a4k-lp .pr_A p.text {
    font-size: 2.3vw;
    line-height: 1.8;
  }
}

@media screen and (min-width: 1025px) {
  .a4k-lp .pr_A p.text {
    font-size: 22px;
  }
}

.a4k-lp .pr_A p.text br {
  display: block !important;
}

.a4k-lp .top_pr_A--box ul {
  font-size: 4vw;
  max-width: max-content;
  margin-inline: auto;
}

@media screen and (min-width: 600px) {
  .a4k-lp .top_pr_A--box ul {
    font-size: 2.5vw;
    width: -moz-max-content;
    width: max-content;
    margin-inline: auto;
  }
}

@media screen and (min-width: 768px) {
  .a4k-lp .top_pr_A--box ul {
    font-size: 2vw;
  }
}

@media screen and (min-width: 1025px) {
  .a4k-lp .top_pr_A--box ul {
    font-size: 20px;
  }
}

.a4k-lp .top_pr_A--box ul li {
  padding-left: 2em;
  list-style: none;
  position: relative;
}

.a4k-lp .top_pr_A--box ul li:not(:last-of-type) {
  margin-bottom: 2em;
}

.a4k-lp .top_pr_A--box ul li span.check {
  position: absolute;
  left: 0;
  top: 0;
}

.a4k-lp .top_pr_A--box ul li span.check::before {
  content: "";
  width: 1em;
  background-color: #E5E5E5;
  position: absolute;
  left: 0;
  top: 0;
  aspect-ratio: 1;
}

@media screen and (min-width: 1025px) {
  .a4k-lp .top_pr_A--box ul li span.check::before {
    width: 1.2em;
  }
}

.a4k-lp .top_pr_A--box ul li span.check svg {
  width: 1.2em;
  position: relative;
  transform: translate(-10%, -20%);
}

@media screen and (min-width: 1025px) {
  .a4k-lp .top_pr_A--box ul li span.check svg {
    width: 1.5em;
  }
}

.a4k-lp .top_pr_A--box ul li span.check svg path {
  stroke: #1B9143;
  stroke-width: 6;
  fill: none;
}

@media screen and (min-width: 1025px) {
  .a4k-lp .top_pr_A--box ul li span.check svg path {
    stroke-width: 5;
  }
}

.a4k-lp .top_pr_A--box ul li p {
  color: #44311A;
  font-weight: 500;
  line-height: 1.4;
}

.a4k-lp .top_pr_A--box ul li p span.large {
  font-size: 1.2em;
  font-weight: bold;
}

/* SPだけ改行位置を固定する（600px以上は1行に収まるので改行しない） */
.a4k-lp .top_pr_A--box ul li p br {
  display: block !important;
}

@media screen and (min-width: 600px) {
  .a4k-lp .top_pr_A--box ul li p br.br_sp {
    display: none !important;
  }
}

.a4k-lp section.top_section.top_pr--section.pr_C {
  padding: 22% 0 20%;
}

@media screen and (min-width: 600px) {
  .a4k-lp section.top_section.top_pr--section.pr_C {
    padding: 18% 0 3%;
  }
}

@media screen and (min-width: 768px) {
  .a4k-lp section.top_section.top_pr--section.pr_C {
    padding: 17% 0 0;
  }
}

@media screen and (min-width: 1025px) {
  .a4k-lp section.top_section.top_pr--section.pr_C {
    padding: 150px 0 0;
  }
}

.a4k-lp section.top_section.top_pr--section.pr_C .section_container h2.top_pr_section--h2 {
  margin-bottom: 3em;
}

.a4k-lp section.top_section.top_pr--section.pr_C .section_container h2.top_pr_section--h2 span.eng {
  transform: translate(-50%, -50%);
}

.a4k-lp dl.top_pr_C--dl {
  font-size: 4.3vw;
  width: 90%;
  margin-inline: auto;
}

@media screen and (min-width: 600px) {
  .a4k-lp dl.top_pr_C--dl {
    font-size: 2.9vw;
  }
}

@media screen and (min-width: 768px) {
  .a4k-lp dl.top_pr_C--dl {
    font-size: 2.5vw;
  }
}

@media screen and (min-width: 1025px) {
  .a4k-lp dl.top_pr_C--dl {
    font-size: 23px;
    width: 100%;
  }
}

.a4k-lp dl.top_pr_C--dl dt, .a4k-lp dl.top_pr_C--dl dd {
  padding-left: 2em;
  position: relative;
}

@media screen and (min-width: 1025px) {
  .a4k-lp dl.top_pr_C--dl dt, .a4k-lp dl.top_pr_C--dl dd {
    padding-left: 2.5em;
  }
}

.a4k-lp dl.top_pr_C--dl dt button span, .a4k-lp dl.top_pr_C--dl dt p, .a4k-lp dl.top_pr_C--dl dd button span, .a4k-lp dl.top_pr_C--dl dd p {
  font-weight: bold;
  line-height: 1.6;
}

.a4k-lp dl.top_pr_C--dl dt button span::before, .a4k-lp dl.top_pr_C--dl dt p::before, .a4k-lp dl.top_pr_C--dl dd button span::before, .a4k-lp dl.top_pr_C--dl dd p::before {
  font-size: 1.4em;
  font-family: "Ubuntu" !important;
  line-height: 1;
  position: absolute;
  left: 0;
  top: 2px;
}

@media screen and (min-width: 600px) {
  .a4k-lp dl.top_pr_C--dl dt button span::before, .a4k-lp dl.top_pr_C--dl dt p::before, .a4k-lp dl.top_pr_C--dl dd button span::before, .a4k-lp dl.top_pr_C--dl dd p::before {
    font-size: 1.5em;
    transform: translate(0, -5%);
  }
}

@media screen and (min-width: 768px) {
  .a4k-lp dl.top_pr_C--dl dt button span::before, .a4k-lp dl.top_pr_C--dl dt p::before, .a4k-lp dl.top_pr_C--dl dd button span::before, .a4k-lp dl.top_pr_C--dl dd p::before {
    font-size: 1.6em;
    transform: translate(0, -10%);
  }
}

@media screen and (min-width: 1025px) {
  .a4k-lp dl.top_pr_C--dl dt button span::before, .a4k-lp dl.top_pr_C--dl dt p::before, .a4k-lp dl.top_pr_C--dl dd button span::before, .a4k-lp dl.top_pr_C--dl dd p::before {
    font-size: 1.8em;
    transform: translate(0, -15%);
  }
}

.a4k-lp dl.top_pr_C--dl dt.question_dt {
  color: #1B9143;
  padding-right: 2.5em;
  margin-bottom: 2em;
  cursor: pointer;
}

/* 開閉の ＋ / − */
.a4k-lp dl.top_pr_C--dl dt.question_dt::before, .a4k-lp dl.top_pr_C--dl dt.question_dt::after {
  content: "";
  width: 1.3em;
  height: 2px;
  background-color: #1B9143;
  position: absolute;
  right: 0;
  top: 0.6em;
}

.a4k-lp dl.top_pr_C--dl dt.question_dt::after {
  transform: rotate(90deg);
  transition: all 0.3s;
}

.a4k-lp dl.top_pr_C--dl dt.question_dt.open::after {
  transform: rotate(0deg);
}

.a4k-lp dl.top_pr_C--dl dt.question_dt button {
  text-align: left;
  color: inherit;
  padding: 0;
  background: none;
}

.a4k-lp dl.top_pr_C--dl dt.question_dt button span::before {
  content: "Q";
}

.a4k-lp dl.top_pr_C--dl dd.question_dd {
  height: 2px;
  padding-top: 2px;
  overflow: hidden;
}

@media screen and (min-width: 600px) {
  .a4k-lp dl.top_pr_C--dl dd.question_dd {
    padding-right: 1.5em;
  }
}

.a4k-lp dl.top_pr_C--dl dd.question_dd:not(:last-of-type) {
  margin-bottom: 2em;
}

.a4k-lp dl.top_pr_C--dl dd.question_dd.open {
  height: auto;
}

.a4k-lp dl.top_pr_C--dl dd.question_dd::before {
  content: "";
  width: 100%;
  height: 1px;
  background-size: 4px 1px;
  background-image: repeating-linear-gradient(90deg, #707070, #707070 3px, transparent 0, transparent 4px);
  position: absolute;
  left: 0;
  bottom: 0;
}

.a4k-lp dl.top_pr_C--dl dd.question_dd p {
  color: #44311A;
}

.a4k-lp dl.top_pr_C--dl dd.question_dd p br {
  display: block !important;
}

.a4k-lp dl.top_pr_C--dl dd.question_dd p:last-of-type {
  margin-bottom: 2em;
}

/* 複数の p があっても ::before は同じ位置に重なるので A はひとつに見える */
.a4k-lp dl.top_pr_C--dl dd.question_dd p::before {
  content: "A";
}

/* ---------- PRポイントG（About スライダー） ---------- */
.a4k-lp section.top_section.top_pr--section.pr_G {
  padding: 22% 0 20%;
  margin: 15% auto 0;
  position: relative;
}

@media screen and (min-width: 600px) {
  .a4k-lp section.top_section.top_pr--section.pr_G {
    padding: 18% 0 10%;
    margin: 10% auto 0;
  }
}

@media screen and (min-width: 768px) {
  .a4k-lp section.top_section.top_pr--section.pr_G {
    padding: 18% 0 8%;
    margin: 0;
  }
}

@media screen and (min-width: 1025px) {
  .a4k-lp section.top_section.top_pr--section.pr_G {
    padding: 150px 0 80px;
  }
}

.a4k-lp section.top_section.top_pr--section.pr_G .section_container h2.top_pr_section--h2 {
  margin-bottom: 2em;
  position: relative;
}

.a4k-lp section.top_section.top_pr--section.pr_G .section_container h2.top_pr_section--h2 span.eng {
  transform: translate(-50%, -70%);
}

@media screen and (min-width: 1025px) {
  .a4k-lp section.top_section.top_pr--section.pr_G .section_container h2.top_pr_section--h2 span.eng {
    white-space: nowrap;
    transform: translate(-50%, -50%);
  }
}

.a4k-lp section.top_section.top_pr--section.pr_G .section_container .text_box {
  text-align: center;
  font-size: 4.3vw;
  width: 90%;
  margin: 0 auto 2em;
}

@media screen and (min-width: 600px) {
  .a4k-lp section.top_section.top_pr--section.pr_G .section_container .text_box {
    font-size: 2.8vw;
    width: -moz-max-content;
    width: max-content;
    margin: 0 auto 2.5em;
  }
}

@media screen and (min-width: 768px) {
  .a4k-lp section.top_section.top_pr--section.pr_G .section_container .text_box {
    font-size: 2.3vw;
  }
}

@media screen and (min-width: 1025px) {
  .a4k-lp section.top_section.top_pr--section.pr_G .section_container .text_box {
    font-size: 20px;
    margin: 0 auto 3em;
  }
}

.a4k-lp section.top_section.top_pr--section.pr_G .section_container .text_box p {
  color: #44311A;
  font-weight: bold;
  line-height: 1.6;
  /* 設置先テーマの p の余白を打ち消す（改行は br で作る） */
  margin: 0;
}

@media screen and (min-width: 600px) {
  .a4k-lp section.top_section.top_pr--section.pr_G .section_container .text_box p {
    line-height: 1.8;
  }
}

/* 改行位置は全幅で固定する */
.a4k-lp section.top_section.top_pr--section.pr_G .section_container .text_box p br {
  display: block !important;
}

.a4k-lp .top_pr_G--swiperBox {
  font-size: 4.3vw;
  position: relative;
}

@media screen and (min-width: 600px) {
  .a4k-lp .top_pr_G--swiperBox {
    font-size: 2.7vw;
  }
}

@media screen and (min-width: 768px) {
  .a4k-lp .top_pr_G--swiperBox {
    font-size: 2.2vw;
  }
}

@media screen and (min-width: 1025px) {
  .a4k-lp .top_pr_G--swiperBox {
    font-size: 18px;
  }
}

.a4k-lp .top_pr_G--swiper {
  overflow: hidden;
}

.a4k-lp .top_pr_G--swiper dl.swiper-wrapper .swiper-slide {
  padding: 2em 2.5em;
  background-color: #fff;
  border: 2px solid #44311A;
  border-radius: 40px;
}

@media screen and (min-width: 768px) {
  .a4k-lp .top_pr_G--swiper dl.swiper-wrapper .swiper-slide {
    padding: 2em;
    display: grid;
    grid-template: auto 1fr/1fr 1fr;
    gap: 0 1em;
  }
}

@media screen and (min-width: 1025px) {
  .a4k-lp .top_pr_G--swiper dl.swiper-wrapper .swiper-slide {
    padding: 2.5em;
    grid-template: auto 1fr/1fr 1.1fr;
    gap: 0 2em;
  }
}

.a4k-lp .top_pr_G--swiper dl.swiper-wrapper .swiper-slide dd:first-of-type {
  margin-bottom: 1.5em;
}

@media screen and (min-width: 768px) {
  .a4k-lp .top_pr_G--swiper dl.swiper-wrapper .swiper-slide dd:first-of-type {
    margin: 0;
    grid-row: span 2;
  }
}

.a4k-lp .top_pr_G--swiper dl.swiper-wrapper .swiper-slide dd:first-of-type img {
  -o-object-fit: cover;
  object-fit: cover;
  aspect-ratio: 1.5/1;
}

.a4k-lp .top_pr_G--swiper dl.swiper-wrapper .swiper-slide dt {
  font-size: 1.37em;
  font-weight: bold;
  line-height: 1.4;
  margin-bottom: 1em;
}

/* スライドごとに見出しの色を変える */
.a4k-lp .top_pr_G--swiper .swiper-slide.slide01 dt {
  color: #FF6C20;
}

.a4k-lp .top_pr_G--swiper .swiper-slide.slide02 dt {
  color: #1B9143;
}

.a4k-lp .top_pr_G--swiper dl.swiper-wrapper .swiper-slide dt br {
  display: block !important;
}

.a4k-lp .top_pr_G--swiper dl.swiper-wrapper .swiper-slide dd p {
  color: #44311A;
}

.a4k-lp .top_pr_G--swiper dl.swiper-wrapper .swiper-slide dd:nth-of-type(2) p.text {
  line-height: 1.8;
}

.a4k-lp .top_pr_G--swiper dl.swiper-wrapper .swiper-slide dd:nth-of-type(2) p.text:last-of-type {
  margin-bottom: 0;
}

.a4k-lp .top_pr_G_swiperButton--prev, .a4k-lp .top_pr_G_swiperButton--next {
  width: 2em;
  height: auto;
  background-color: #fff;
  border: 2px solid #2E2B33;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  aspect-ratio: 1;
}

@media screen and (min-width: 768px) {
  .a4k-lp .top_pr_G_swiperButton--prev, .a4k-lp .top_pr_G_swiperButton--next {
    width: 2.5em;
  }
}

.a4k-lp .top_pr_G_swiperButton--prev::after, .a4k-lp .top_pr_G_swiperButton--next::after {
  content: none;
}

.a4k-lp .top_pr_G_swiperButton--prev i, .a4k-lp .top_pr_G_swiperButton--next i {
  color: #44311A;
}

.a4k-lp .top_pr_G_swiperButton--prev {
  left: 0;
  right: auto;
  transform: translate(-50%, -50%);
}

@media screen and (min-width: 768px) {
  .a4k-lp .top_pr_G_swiperButton--prev {
    transform: translate(-50%, 0);
  }
}

.a4k-lp .top_pr_G_swiperButton--next {
  position: absolute;
  left: auto;
  right: 0;
  transform: translate(50%, -50%);
}

@media screen and (min-width: 768px) {
  .a4k-lp .top_pr_G_swiperButton--next {
    transform: translate(50%, 0);
  }
}

.a4k-lp .top_pr_G_swiperButton--pagination.swiper-pagination-bullets.swiper-pagination-horizontal {
  width: -moz-max-content;
  width: max-content;
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 150%);
}

.a4k-lp .top_pr_G_swiperButton--pagination.swiper-pagination-bullets.swiper-pagination-horizontal span.swiper-pagination-bullet {
  background-color: #fff;
  border: 1px solid #2E2B33;
  opacity: 1;
}

.a4k-lp .top_pr_G_swiperButton--pagination.swiper-pagination-bullets.swiper-pagination-horizontal span.swiper-pagination-bullet.swiper-pagination-bullet-active {
  background-color: #2E2B33;
}

/* ---------- ページトップボタン / お問い合わせ ---------- */
.a4k-lp .to_header {
  font-size: 4.6vw;
  width: 3em;
  padding: 0;
  color: #fff;
  background-color: #3399FF;
  border-radius: 50%;
  position: absolute;
  right: 0;
  top: 0;
  transform: translate(-50%, -100%);
  aspect-ratio: 1;
  z-index: 1;
}

@media screen and (min-width: 600px) {
  .a4k-lp .to_header {
    font-size: 3.2vw;
  }
}

@media screen and (min-width: 768px) {
  .a4k-lp .to_header {
    font-size: 2.8vw;
  }
}

@media screen and (min-width: 1025px) {
  .a4k-lp .to_header {
    font-size: 26px;
    transform: translate(-100%, -100%);
  }
}

.a4k-lp section.top_section.top_contact {
  padding: 20% 0 10%;
  margin: 15% auto 0;
  position: relative;
}

@media screen and (min-width: 600px) {
  .a4k-lp section.top_section.top_contact {
    padding: 16% 0 8%;
    margin: 10% auto 0;
  }
}

@media screen and (min-width: 768px) {
  .a4k-lp section.top_section.top_contact {
    padding: 14% 0 8%;
    margin: 8% auto 0;
  }
}

@media screen and (min-width: 1025px) {
  .a4k-lp section.top_section.top_contact {
    padding: 170px 0 90px;
    margin: 80px auto 0;
  }
}

.a4k-lp section.top_section.top_contact .bg_color {
  width: 100vw;
  height: 100%;
  background-color: #3399FF;
  border-radius: 50% 50% 0 0/10vw 10vw 0 0;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.a4k-lp section.top_section.top_contact .section_container {
  width: 88%;
  padding: 12% 0 15%;
  margin-inline: auto;
  background-color: #fff;
  border: 2px solid #255AA8;
  border-radius: 40px;
  position: relative;
}

@media screen and (min-width: 600px) {
  .a4k-lp section.top_section.top_contact .section_container {
    padding: 6% 0 9%;
  }
}

@media screen and (min-width: 768px) {
  .a4k-lp section.top_section.top_contact .section_container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5% 5% 6%;
  }
}

@media screen and (min-width: 1025px) {
  .a4k-lp section.top_section.top_contact .section_container {
    max-width: 1050px;
    padding: 55px 70px;
  }
}

.a4k-lp section.top_section.top_contact .section_container h2 {
  text-align: center;
  color: #44311A;
  font-size: 5.4vw;
  font-weight: bold;
  line-height: 1.8;
  width: -moz-max-content;
  width: max-content;
  margin: 0 auto 1.5em;
}

@media screen and (min-width: 600px) {
  .a4k-lp section.top_section.top_contact .section_container h2 {
    font-size: 3.7vw;
  }
}

@media screen and (min-width: 768px) {
  .a4k-lp section.top_section.top_contact .section_container h2 {
    text-align: left;
    font-size: 3.2vw;
    margin: 0;
  }
}

@media screen and (min-width: 1025px) {
  .a4k-lp section.top_section.top_contact .section_container h2 {
    font-size: 32px;
  }
}

.a4k-lp section.top_section.top_contact .section_container h2 br {
  display: block !important;
}

.a4k-lp section.top_section.top_contact .section_container .box {
  font-size: 4.4vw;
  margin-inline: auto;
  display: grid;
  justify-content: center;
}

@media screen and (min-width: 600px) {
  .a4k-lp section.top_section.top_contact .section_container .box {
    font-size: 2.8vw;
  }
}

@media screen and (min-width: 768px) {
  .a4k-lp section.top_section.top_contact .section_container .box {
    font-size: 2.2vw;
    margin-inline: unset;
  }
}

@media screen and (min-width: 1025px) {
  .a4k-lp section.top_section.top_contact .section_container .box {
    font-size: 20px;
  }
}

.a4k-lp section.top_section.top_contact .section_container .box.grid_box {
  grid-template-rows: 1fr 1fr;
  gap: 2.2em 0;
}


/* ======================================================================
   下層ページ：お問い合わせフォーム（page-contact.html）
   トップページ（page.html）には存在しないクラスだけを使っているので、
   ここから下を足してもトップの表示は変わりません。
   ====================================================================== */

/* ---------- ページ全体 ---------- */
/* 方眼の背景画像（grid-me.png）は page-contact.html 側でインライン指定 */
.a4k-lp .page_container.page_form {
  padding: 20% 0 18%;
  background-color: #F8F2E5;
  background-repeat: repeat;
  position: relative;
}

@media screen and (min-width: 600px) {
  .a4k-lp .page_container.page_form {
    padding: 15% 0 14%;
  }
}

@media screen and (min-width: 768px) {
  .a4k-lp .page_container.page_form {
    padding: 12% 0 11%;
  }
}

@media screen and (min-width: 1025px) {
  .a4k-lp .page_container.page_form {
    padding: 130px 0 120px;
  }
}

/* 左右の青いバー。トップの .top_page--main と同じ値にしてある */
.a4k-lp .page_container.page_form::before, .a4k-lp .page_container.page_form::after {
  content: "";
  width: 10px;
  height: 100%;
  background-color: #3399FF;
  position: absolute;
  top: 0;
  z-index: 1;
}

@media screen and (min-width: 600px) {
  .a4k-lp .page_container.page_form::before, .a4k-lp .page_container.page_form::after {
    width: 12px;
  }
}

@media screen and (min-width: 768px) {
  .a4k-lp .page_container.page_form::before, .a4k-lp .page_container.page_form::after {
    width: 15px;
  }
}

@media screen and (min-width: 1025px) {
  .a4k-lp .page_container.page_form::before, .a4k-lp .page_container.page_form::after {
    width: 20px;
  }
}

.a4k-lp .page_container.page_form::before {
  left: 0;
}

.a4k-lp .page_container.page_form::after {
  right: 0;
}

.a4k-lp .page_form--section {
  width: 88%;
  margin-inline: auto;
}

@media screen and (min-width: 1025px) {
  .a4k-lp .page_form--section {
    max-width: 870px;
  }
}

/* ---------- 見出し FORM ---------- */
/* トップの h2.top_pr_section--h2 と同じ作り。
   スクロールで出す演出は付けず、最初から表示する */
.a4k-lp h1.page_form--h1 {
  text-align: center;
  font-size: 4.3vw;
  line-height: 1.8;
  margin-bottom: 2em;
  position: relative;
}

@media screen and (min-width: 600px) {
  .a4k-lp h1.page_form--h1 {
    font-size: 2.9vw;
  }
}

@media screen and (min-width: 768px) {
  .a4k-lp h1.page_form--h1 {
    font-size: 2.5vw;
  }
}

@media screen and (min-width: 1025px) {
  .a4k-lp h1.page_form--h1 {
    font-size: 24px;
  }
}

.a4k-lp h1.page_form--h1 span.eng {
  color: rgba(255, 108, 32, 0.2); /* #FF6C20 の不透明度20% */
  font-size: 4.2em;
  font-weight: bold;
  font-family: "Ubuntu" !important;
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -50%);
}

@media screen and (min-width: 600px) {
  .a4k-lp h1.page_form--h1 span.eng {
    transform: translate(-50%, -62%);
  }
}

@media screen and (min-width: 1025px) {
  .a4k-lp h1.page_form--h1 span.eng {
    font-size: 4.4em;
  }
}

.a4k-lp h1.page_form--h1 span.ja {
  color: #44311A;
  font-weight: bold;
  position: relative;
}

/* ---------- フォームを囲む白いカード ---------- */
.a4k-lp .form_box {
  padding: 10% 7% 15%;
  background-color: #fff;
  border: 2px solid #2E2B33;
  border-radius: 40px;
}

@media screen and (min-width: 768px) {
  .a4k-lp .form_box {
    padding: 7% 8%;
  }
}

@media screen and (min-width: 1025px) {
  .a4k-lp .form_box {
    padding: 35px 60px 50px;
  }
}

/* ---------- 入力項目 ---------- */
/* Contact Form 7 は独自の autop で dt / dd の中身を <p> で包む。
   その余白を消さないと行が間延びし、必須バッジの位置もずれる */
.a4k-lp dl.a4k_form_dl dt p,
.a4k-lp dl.a4k_form_dl dd p,
.a4k-lp .a4k_form_button p {
  color: #444444;
  font-weight: bold;
  margin: 0;
  padding: 0;
}

/* 同じく autop がチェックボックスとテキストエリアの間に入れる <br> を消す */
.a4k-lp dl.a4k_form_dl dd p br {
  display: none;
}

.a4k-lp dl.a4k_form_dl {
  text-align: left;
}

@media screen and (min-width: 1025px) {
  .a4k-lp dl.a4k_form_dl {
    display: grid;
    grid-template-columns: 15.5em 1fr;
  }
}

.a4k-lp dl.a4k_form_dl dt, .a4k-lp dl.a4k_form_dl dd {
  font-size: 3.8vw;
}

@media screen and (min-width: 600px) {
  .a4k-lp dl.a4k_form_dl dt, .a4k-lp dl.a4k_form_dl dd {
    font-size: 2.4vw;
  }
}

@media screen and (min-width: 768px) {
  .a4k-lp dl.a4k_form_dl dt, .a4k-lp dl.a4k_form_dl dd {
    font-size: 1.9vw;
  }
}

@media screen and (min-width: 1025px) {
  .a4k-lp dl.a4k_form_dl dt, .a4k-lp dl.a4k_form_dl dd {
    font-size: 16px;
  }
}

.a4k-lp dl.a4k_form_dl dt {
  font-weight: bold;
  margin-bottom: 1em;
  display: flex;
  align-items: center;
  gap: 0 1em;
}

@media screen and (min-width: 1025px) {
  .a4k-lp dl.a4k_form_dl dt {
    padding: 1.6em 1.5em 1.6em 0;
    margin: 0;
    border-bottom: 1px solid #E5E5E5;
  }
}

/* ラベルの改行位置はPCのみデザイン通りに固定する */
.a4k-lp dl.a4k_form_dl dt br {
  display: none !important;
}

@media screen and (min-width: 1025px) {
  .a4k-lp dl.a4k_form_dl dt br {
    display: block !important;
  }
}

/* 最終行はチェックボックスの高さがあるので、ラベルを上に揃える */
@media screen and (min-width: 1025px) {
  .a4k-lp dl.a4k_form_dl dt:last-of-type {
    align-items: flex-start;
  }
}

/* 必須バッジ */
.a4k-lp dl.a4k_form_dl dt.must::after {
  content: "必須";
  color: #fff;
  font-size: 0.75em;
  font-weight: bold;
  line-height: 1.6;
  padding: 0.1em 1.1em;
  background-color: #FF6C20;
  border-radius: 2em;
  white-space: nowrap;
}

/* PCではラベル列の右端に揃える */
@media screen and (min-width: 1025px) {
  .a4k-lp dl.a4k_form_dl dt.must::after {
    margin-left: auto;
  }
}

.a4k-lp dl.a4k_form_dl dd {
  padding-bottom: 1.5em;
  margin-bottom: 1.5em;
  border-bottom: 1px solid #E5E5E5;
}

@media screen and (min-width: 1025px) {
  .a4k-lp dl.a4k_form_dl dd {
    padding: 1.6em 0;
    margin: 0;
  }
}

/* 最終行（お問い合わせ内容）の下線は消す */
.a4k-lp dl.a4k_form_dl dd:last-of-type {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

@media screen and (min-width: 1025px) {
  .a4k-lp dl.a4k_form_dl dt:last-of-type {
    border-bottom: none;
  }
}

/* 入力欄 */
.a4k-lp dl.a4k_form_dl dd input[type="text"],
.a4k-lp dl.a4k_form_dl dd input[type="email"],
.a4k-lp dl.a4k_form_dl dd textarea {
  color: #44311A;
  font-family: inherit;
  font-size: inherit;
  line-height: 1.5;
  width: 100%;
  padding: 0.55em 0.8em;
  background-color: #E5E5E5;
  border: none;
  border-radius: 5px;
}

.a4k-lp dl.a4k_form_dl dd textarea {
  height: 11em;
  display: block;
}

.a4k-lp dl.a4k_form_dl dd input::-moz-placeholder, .a4k-lp dl.a4k_form_dl dd textarea::-moz-placeholder {
  color: #A9A399;
}

.a4k-lp dl.a4k_form_dl dd input::placeholder,
.a4k-lp dl.a4k_form_dl dd textarea::placeholder {
  color: #A9A399;
}

/* チェックボックス（2列） */
.a4k-lp dl.a4k_form_dl dd .wpcf7-checkbox {
  margin-bottom: 1.1em;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7em 1em;
}

.a4k-lp dl.a4k_form_dl dd .wpcf7-checkbox .wpcf7-list-item {
  margin: 0;
}

.a4k-lp dl.a4k_form_dl dd .wpcf7-checkbox label {
  font-weight: normal;
  display: flex;
  align-items: center;
  gap: 0 0.6em;
  cursor: pointer;
}

.a4k-lp dl.a4k_form_dl dd .wpcf7-checkbox input[type="checkbox"] {
  accent-color: #1B9143;
  width: 1em;
  height: 1em;
  margin: 0;
  flex-shrink: 0;
}

/* ---------- 送信ボタン ---------- */
.a4k-lp .a4k_form_button {
  font-size: 3.8vw;
  text-align: center;
  margin-top: 12%;
  position: relative;
}

@media screen and (min-width: 600px) {
  .a4k-lp .a4k_form_button {
    font-size: 2.5vw;
  }
}

@media screen and (min-width: 768px) {
  .a4k-lp .a4k_form_button {
    font-size: 2.1vw;
    margin-top: 9%;
  }
}

@media screen and (min-width: 1025px) {
  .a4k-lp .a4k_form_button {
    font-size: 20px;
    margin-top: 40px;
  }
}

/* トップのCTAボタンと同じ見た目。ぽよぽよのアニメーションは付けない */
.a4k-lp .a4k_form_button input[type="submit"] {
  color: #fff;
  font-family: inherit;
  font-size: inherit;
  font-weight: bold;
  width: 14em;
  padding: 0.95em 0;
  background-color: #1B9143;
  border: none;
  border-radius: 3em;
  box-shadow: 3px 6px 0px #ABB4AB;
  cursor: pointer;
}

.a4k-lp .a4k_form_button input[type="submit"]:hover {
  opacity: 0.7;
}

.a4k-lp .a4k_form_button .wpcf7-spinner {
  margin: 0;
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 130%);
}

/* ---------- Contact Form 7 のメッセージ ---------- */
/* 送信後はページ遷移しないので、完了・エラーの表示もデザインに合わせる */
.a4k-lp .wpcf7-not-valid-tip {
  color: #E7433C;
  font-size: 0.85em;
  font-weight: bold;
  margin-top: 0.5em;
  display: block;
}

/* Contact Form 7 自身のCSSが .wpcf7 form .wpcf7-response-output で
   指定しているので、それより詳細度を上げないと勝てない */
.a4k-lp .wpcf7 form .wpcf7-response-output {
  font-size: 3.6vw;
  text-align: center;
  padding: 1em;
  margin: 2em 0 0;
  border-width: 2px;
  border-radius: 10px;
}

@media screen and (min-width: 600px) {
  .a4k-lp .wpcf7 form .wpcf7-response-output {
    font-size: 2.2vw;
  }
}

@media screen and (min-width: 768px) {
  .a4k-lp .wpcf7 form .wpcf7-response-output {
    font-size: 1.8vw;
  }
}

@media screen and (min-width: 1025px) {
  .a4k-lp .wpcf7 form .wpcf7-response-output {
    font-size: 16px;
  }
}

.a4k-lp .wpcf7 form.sent .wpcf7-response-output {
  color: #1B9143;
  border-color: #1B9143;
}

.a4k-lp .wpcf7 form.invalid .wpcf7-response-output,
.a4k-lp .wpcf7 form.unaccepted .wpcf7-response-output,
.a4k-lp .wpcf7 form.failed .wpcf7-response-output,
.a4k-lp .wpcf7 form.aborted .wpcf7-response-output {
  color: #E7433C;
  border-color: #E7433C;
}
