/* LP - styles.css */
:root {

  --a1: .18;
  /* bg purple glow */
  --a2: .14;
  /* bg teal glow */
  --hero-a1: .30;
  /* hero stronger purple */
  --hero-a2: .24;
  /* hero stronger teal */

  --bg: #fff;
  --bg-2: #45acae;
  --main-color: #0B3C5D;
  --accent-color: #E06767;
  --text: #0b1220;
  --muted: #334155;
  --line: rgba(15, 23, 42, .14);
  --shadow: 0 14px 40px rgba(15, 23, 42, .14);
  --radius: 18px;
  --radius2: 24px;
  --max: 1120px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* {
  box-sizing: border-box
}


html {
  scroll-behavior: smooth;
  font-size: clamp(15px, 1.1vw, 18px);
}

html,
body {
  height: 100%
}

body {
  font-family: "Noto Sans JP", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic UI", "Yu Gothic", "Meiryo", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  letter-spacing: 0.05em;
  overflow-x: hidden;
  font-feature-settings: "tnum";
}

a {
  color: inherit;
  text-decoration: none
}

h1,
h2,
.headline {
  font-family: "Noto Serif JP", serif;
}

p {
  font-size: 1em;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px
}

.muted {
  color: var(--muted)
}

.hide-sm {
  display: inline
}

.only_xs,
.only_sp {
  display: none;
}

/* top progress */
.top-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  z-index: 60;
}

.top-progress__bar {
  height: 100%;
  width: 0%;
  background: rgba(35, 81, 189, 0.55);
}

/* header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: transparent;
  padding: 1em 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 14px
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px
}

.brand__logo {
  height: 34px;
  width: auto;
  display: block
}

.nav {
  display: flex;
  gap: 14px;
  align-items: center
}

.nav__link {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.8em;
  padding: 8px 10px;
  border-radius: 12px;
  transition: all .18s var(--ease)
}

.nav__link:hover {
  color: var(--text);
}

.is-scrolled .site-header {
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(6px);
}

/* header nav underline animation */
.nav__link {
  position: relative;
  overflow: hidden;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 2px;
  background: var(--accent-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s cubic-bezier(.4, 0, .2, 1);
}

.nav__link:hover::after {
  transform: scaleX(1);
}

/* active state */
.nav__link.is-active {
  color: var(--text);
}

.nav__link.is-active::after {
  transform: scaleX(1);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 10px
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: none;
  cursor: pointer;
  background-color: transparent;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--accent-color);
  margin: 4px auto;
  border-radius: 2px
}

.mobile-menu {
  display: none;
}

.mobile-menu__inner {
  display: grid;
  gap: 6px;
  padding: 12px 20px 18px
}

.mobile-menu__link {
  padding: 12px 12px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-weight: 700;
  transition: ease 0.3s;
}

.mobile-menu__link:hover {
  color: var(--accent-color);
}

/* ハンバーガー → × に変形 */
#navToggle span {
  transition: transform .25s var(--ease), opacity .2s var(--ease);
  transform-origin: center;
}

/* open */
#navToggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

#navToggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

#navToggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ハンバーガーが開いてる間は、ヘッダー背景を強制ON */
.site-header:has(#navToggle[aria-expanded="true"]) {
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(6px);
}

/* buttons */
.btn {
  cursor: pointer;
  user-select: none;
  color: #334155;
  border: #334155 0.5px solid;
  position: relative;
  padding: 0.5em 1em;
  box-shadow: 2px 2px 0 var(--accent-color);
  transition: ease-in-out 0.3s;
  display: inline-block;
  letter-spacing: 0.1em;
}

.btn:hover {
  box-shadow: none;
  transform: translate(2px, 2px);
}

.btn--primary {
  writing-mode: vertical-rl;
  padding: 1em 0.5em;
  align-self: flex-end;
}

/* hero */
.hero {
  position: relative;
  padding: 3em 0;
  background: url("../img/fv.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero__copy {
  background-image: url(../img/bee-1.png);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  height: 100%;
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  padding-top: 2em;
  justify-content: center;
  gap: 2em;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.3fr .9fr;
  align-items: center;
}

.hero_ttl {
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.4;
  color: var(--main-color);
  font-weight: 600;
  white-space: nowrap;
  writing-mode: vertical-rl;
  letter-spacing: 0.08em;
}

.hero_ttl span.color {
  color: var(--accent-color);
  display: inline-block;
  font-weight: 800;
  line-height: 1.2;
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.4);
}

.subhead {
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 2em;
  writing-mode: vertical-rl;
  padding-top: 5px;
  letter-spacing: 0.08em;
}

/* hero book card */
.hero__media {
  position: relative;
}

.hero__media .book-card>.btn {
  display: block;
  margin: 16px auto 0;
  writing-mode: horizontal-tb;
  background-color: var(--bg);
}

.book-card__img {
  overflow: hidden;
  position: relative;
}

.book-card__img img {
  display: block;
  max-width: 290px;
  margin: 0 auto;
  width: 100%;
  height: auto;
  box-shadow: 5px 5px 8px 2px #0000003d;
}

.book-card__shine {
  position: absolute;
  inset: -120px -160px auto auto;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  transform: rotate(18deg);
  animation: shine 5s var(--ease) infinite alternate;
  pointer-events: none;
}

@keyframes shine {
  from {
    transform: translate(-10px, 0) rotate(18deg)
  }

  to {
    transform: translate(10px, 16px) rotate(18deg)
  }
}

/* magnifier */
.magnifier {
  position: relative;
  display: grid;
  place-items: center;
  padding: 1em;
}

.magnifier__img {
  display: block;
}

.magnifier__lens {
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, .22);
  box-shadow: 0 16px 40px rgba(15, 23, 42, .18);
  background-repeat: no-repeat;
  background-color: rgba(248, 250, 252, .92);
  opacity: 0;
  transform: scale(.92);
  pointer-events: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
  backdrop-filter: blur(4px);
}

.magnifier.is-active .magnifier__lens {
  opacity: 1;
  transform: scale(1);
}

/* Author introduction */
.section-note {
  position: relative;
  background-color: #f7fafc;
  background-image:
    repeating-linear-gradient(to bottom,
      rgba(15, 23, 42, 0.045) 0px,
      rgba(15, 23, 42, 0.045) 1px,
      transparent 1px,
      transparent 28px);
}

.section-note::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: clamp(18px, 3vw, 32px);
  width: 2px;
  background: rgba(239, 68, 68, 0.18);
  pointer-events: none;
}

.author_box {
  display: grid;
  grid-template-columns: 2fr 1fr;
  align-items: center;
  gap: clamp(50px, 4vw, 100px);
}

.author_box__left {
  max-width: 600px;
}

.author_box__right {
  max-width: 240px;
  text-align: center;
}

.author_box__left h3 {
  font-size: 1.6em;
  margin-bottom: 1em;
  position: relative;
  padding-left: 1em;
  font-family: "Noto Serif JP", serif;
  line-height: 1;
}

.author_box__left h3::before {
  content: "author";
  position: absolute;
  bottom: -2px;
  left: 0;
  border-right: 5px var(--accent-color) solid;
  font-size: 10px;
  writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  text-transform: uppercase;
  line-height: 1.6;
}

.author_box__left h4 {
  font-size: 1.2em;
  font-weight: 600;
  margin-bottom: 0.5em;
}

.author_box__left p {
  line-height: 1.8;
}

.author_box__img img {
  width: 100%;
  max-width: 240px;
  height: auto;
  border-radius: 16px;
}

.author_name {
  padding-top: 8px;
  font-size: 0.875em;
  color: #555;
}

.author_ttl {
  font-size: 0.75em;
  color: #555;
}

/* sections */
.section {
  padding: 4em 0;
  position: relative;
  border-bottom: 0.5px solid var(--line);
}

.section__head {
  margin-bottom: 1.8em;
  text-align: center;
}

.section__head h2 {
  position: relative;
  padding: 0.5em 1.5em;
  text-align: center;
  display: inline-block;
  white-space: nowrap;
}

.section__head h2::before,
.section__head h2::after {
  position: absolute;
  width: 30px;
  height: 30px;
  content: '';
}

.section__head h2::before {
  border-left: solid 3px var(--accent-color);
  border-top: solid 3px var(--accent-color);
  top: 0;
  left: 0;
}

.section__head h2::after {
  border-right: solid 3px var(--accent-color);
  border-bottom: solid 3px var(--accent-color);
  bottom: 0;
  right: 0;
}

.section__head p {
  color: var(--muted);
}

.h2 {
  font-size: 1.55em;
  line-height: 1.25;
  margin: 0 0 10px;
}

.grid {
  display: grid;
  gap: 1.5em;
}

.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr))
}

.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr))
}

#merit {
  background-image: linear-gradient(rgba(255, 255, 255, 0.5),
      rgba(255, 255, 255, 0.5)), url("../img/back2.png");
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
}

.card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 2px 2px 8px 2px rgba(0, 0, 0, 0.08);
  padding: 1.5em;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1em;
  justify-content: left;
  position: relative;
}

.card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: linear-gradient(180deg, #010040, #009d9f);
  opacity: .85;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-weight: 650;
  font-size: 1.2em;
}

.icon {
  width: 80px;
  height: 80px;
  vertical-align: middle;
  object-fit: contain;
}

/* problem */
.problem-list {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  margin: 1.1em auto;
}

.problem-list img {
  width: 30%;
  align-self: flex-end;
}

.problem-list ul {
  margin-left: -12%;
  list-style: none;
  margin-bottom: 80px;
}

.problem-list ul li {
  font-size: 1.3em;
  line-height: 1.9;
  background-image: url(../img/hexagon.png);
  background-position: left 0 top 54%;
  background-repeat: no-repeat;
  background-size: 1em;
  padding: 1em 0 1em 1.5em;
}

.dots {
  text-align: center;
  padding: 2.2em 1.1em;
}

.dots p {
  font-size: 1.5em;
  color: #009d9f;
}

.answer {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 0;
  margin-bottom: 3em;
}

.answer img {
  width: min(110px, 9vw);
  height: auto;
}

.answer p {
  font-size: 1.4em;
  text-align: center;
}

.answer-img {
  text-align: right;
}

.answer-img img {
  width: 30%;
}

#book-preview {
  background-image: linear-gradient(rgba(223, 223, 223, 0.4),
      rgba(255, 255, 255, 0.4)), url("../img/back.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#book-preview h3 {
  font-size: 1.6em;
  margin-bottom: 1em;
  position: relative;
  padding-left: 1em;
  font-family: "Noto Serif JP", serif;
  display: inline-block;
  line-height: 1;
}

#book-preview h3::before {
  content: "book";
  position: absolute;
  bottom: -2px;
  left: 0;
  border-right: 5px var(--accent-color) solid;
  font-size: 10px;
  writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  text-transform: uppercase;
  line-height: 1.6;
}

.book-preview__wrap {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 2em;
}

.book-preview__cover {
  cursor: pointer;
  border: none;
  background-color: transparent;
  box-shadow: 2px 2px 8px 2px rgba(0, 0, 0, 0.35);
  padding: 0;
}

.book-preview__cover img {
  height: 250px;
  vertical-align: middle;
}

.book-preview__hint {
  font-size: 1em;
  color: var(--main-color);
  text-align: center;
  overflow-wrap: break-word;
  word-break: keep-all;
}

/* modal */
.book-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.book-modal.is-open {
  display: block;
}

.book-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.62);
}

.book-modal__panel {
  position: relative;
  width: min(600px, 90vw);
  height: min(90vh, 800px);
  margin: 6vh auto 0;
  background: rgba(255, 255, 255, 0.96);
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.25);
}

.book-modal__head {
  padding: 14px 8px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.9);
}

.book-modal__title {
  font-weight: 800;
  margin: 0;
  text-align: center;
  color: var(--main-color);
}

.book-modal__note {
  font-size: 12px;
  color: #64748b;
  display: block;
}

.book-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 30px;
  color: #009d9f;
}

.book-modal__body {
  height: 100%;
  overflow: auto;
  padding: 20px 18px;
}

/* 中身の画像 */
#bookPages img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100vh;
  margin: 0 auto 20px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  object-fit: contain;
}

.bold {
  font-weight: bold;
  letter-spacing: 0.1em;
}

.thin {
  color: #585c64;
}

.section-grid-tech {
  background:
    linear-gradient(rgba(2, 132, 199, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(2, 132, 199, .06) 1px, transparent 1px),
    linear-gradient(135deg, rgba(15, 23, 42, .03), transparent 60%),
    #f8fafc;
  background-size: 48px 48px, 48px 48px, auto, auto;
}

/* form */
.contact-form {
  width: fit-content;
  margin: auto;
  width: min(300px, 80vw);
}

span.required {
  color: var(--accent-color);
}

.form-group {
  margin-bottom: 16px;
  color: var(--main-color);
}

.form-group dt p {
  font-size: 18px;
}

input.wpcf7-form-control {
  width: 100%;
  padding: 8px;
  font-size: 14px;
}

.acceptance_box a {
  color: #009d9f;
  display: inline-block;
  transition: ease 0.3s;
}

.acceptance_box a:hover {
  color: #004748;
  text-decoration: underline;
}

.wpcf7-list-item-label {
  font-size: 15px;
}

.wpcf7-acceptance .wpcf7-list-item {
  margin: 0;
}

.wpcf7-acceptance input[type="checkbox"] {
  position: relative;
  top: -1px;
  width: 16px;
  height: 16px;
  border: 1px solid var(--accent-color);
  vertical-align: middle;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: unset;
  margin: 0;
}

.wpcf7-acceptance label:hover,
.wpcf7-acceptance input[type="checkbox"]:hover {
  cursor: pointer;
}

.wpcf7-acceptance input[type="checkbox"]:checked:before {
  content: '';
  border-right: 1px solid var(--accent-color);
  border-bottom: 1px solid var(--accent-color);
  width: 5px;
  height: 10px;
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(50deg);
}

.wpcf7-submit {
  display: block;
  font-size: 17px;
  padding: 0.5em 1em;
  color: var(--main-color);
  border: 0.5px solid var(--main-color);
  margin: auto;
  background-color: var(--bg);
  font-weight: 600;
  border-radius: unset;
  cursor: pointer;
  box-shadow: 2px 2px 0 var(--accent-color);
  transition: ease-in-out 0.3s;
  letter-spacing: 0.1em;
}

.wpcf7-submit:hover {
  box-shadow: none;
  transform: translate(2px, 2px);
}

.wpcf7 form.sent .wpcf7-response-output {
  font-size: 15px;
  margin: 15px 0;
  padding: 3px 15px;
  border: 0.5px solid var(--main-color);
}

/* audience */
#audience .card {
  flex-direction: column;
  gap: 0.5em;
}

#audience .card p {
  font-weight: 500;
  font-size: 1em;
}

.h3 {
  font-size: 1.2em;
  padding-bottom: 0.3em;
  border-bottom: 1px solid #009d9f;
  background: linear-gradient(180deg, #004748, #00abae);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

#audience .grid {
  margin-bottom: 3em;
}

.callout {
  position: relative;
  padding: 1em 1.5em;
  outline: 1px solid #0b1220;
  outline-offset: 3px;
  background: var(--bg-2);
  width: 100%;
  max-width: 600px;
  color: #fff;
  font-size: 1.2em;
  width: 75%;
}

.callout:before {
  position: absolute;
  top: calc(100% + 3px);
  left: calc(50% - 1em);
  transform: skew(25deg);
  height: 1.5em;
  width: 1em;
  border-right: 1px solid #0b1220;
  content: "";
}

.callout-box {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  gap: 1em;
}

.callout-box img {
  width: auto;
  height: 200px;
  margin-bottom: -4em;
}

#cta {
  background-image: url("../img/cta-back.png");
  background-size: cover;
  background-position: left center;
  background-repeat: repeat;
  color: var(--main-color);
  text-align: center;
}

.cta-lead {
  font-size: 1.3em;
  margin-bottom: 1.5em;
  font-weight: 600;
}

#cta a.btn {
  color: var(--main-color);
  border-color: var(--main-color);
  font-size: 1.2em;
  margin-bottom: 8px;
  background-color: var(--bg);
}

.cta-note {
  font-size: 0.75em;
  color: var(--muted);
}

/* footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 24px 0;
  background: var(--bg);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.to-top {
  color: var(--muted);
  font-weight: 800;
}

.to-top:hover {
  color: var(--text);
}

/* reveal animations */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.is-visible {
  opacity: 1;
  transform: translateY(0)
}

/* toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%) translateY(20px);
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  padding: 10px 14px;
  color: rgba(15, 23, 42, .92);
  font-weight: 800;
  font-size: 13px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
  z-index: 80;
}

.toast.is-on {
  opacity: 1;
  transform: translateX(-50%) translateY(0)
}

/* back to top (sticky) */
.back-to-top {
  position: fixed;
  right: 1.2em;
  bottom: 1em;
  z-index: 50;
  color: var(--text);
  text-decoration: none;
  transform: translateY(12px);
  opacity: 0;
  pointer-events: none;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  color: var(--text);
  transition: ease 0.3s;
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  transform: translateY(-5px);
}

.back-to-top__text {
  font-weight: 800;
  font-size: 0.8em;
}

.section-cta-glow {
  background:
    radial-gradient(circle at 30% 30%, rgba(244, 63, 94, .14), transparent 45%),
    radial-gradient(circle at 75% 55%, rgba(2, 132, 199, .16), transparent 55%),
    #0b1220;
  /* CTAを濃紺にしたい場合 */
  color: #fff;
}


/* ===========================
responsive
=============================*/
@media (max-width:980px) {
  .book-card__img img {
    max-width: 220px;
  }

  .cols-3 {
    grid-template-columns: 1fr
  }

  .cols-2 {
    grid-template-columns: 1fr
  }

  .stats {
    grid-template-columns: 1fr
  }

  .nav {
    display: none
  }

  .header-cta {
    display: none
  }

  .nav-toggle {
    display: inline-block
  }

  .mobile-menu {
    display: block
  }

  .mobile-menu[aria-hidden="true"] {
    display: none
  }

  .h1 {
    font-size: 36px
  }

  .hide-sm {
    display: none
  }
}

@media (max-width: 768px) {
  .only_sp {
    display: block;
  }

  .magnifier__lens {
    width: 120px;
    height: 120px;
  }

  .back-to-top {
    right: 12px;
    bottom: 12px;
    padding: 10px 11px;
  }

  .author_box {
    grid-template-columns: 1fr;
  }

  .author_box__right {
    margin: auto;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 18px
  }

  .book-card__shine {
    display: none;
  }

  .hero__copy {
    gap: 1em;
  }

  .callout-box {
    flex-direction: column;
  }

  .callout-box img {
    margin-bottom: 0;
  }

  .callout {
    width: 100%;
  }

  #audience {
    padding-bottom: 0;
  }

  .card {
    flex-direction: column;
  }

  .problem-list {
    flex-direction: column-reverse;
    gap: 1em;
  }

  .problem-list ul {
    margin: 0 0 0 1em;
  }

  .problem-list ul li {
    line-height: 1.3;
    background-position: left 0 top 50%;
  }

  .problem-list img {
    width: 280px;
    align-self: center;
  }

  .answer-img img {
    width: 60%;
  }

  .answer {
    flex-direction: column;
    gap: 0.5em;
  }

  #book-preview h3 {
    line-height: 1.2;
  }

  .book-preview__wrap {
    flex-direction: column;
  }

  .book-preview__wrap {
    gap: 0.5em;
  }

  #cta {
    background-image: url("../img/cta-sp-back.png");
  }
}

@media (max-width: 480px) {
  .only_xs {
    display: block;
  }
}

@media (max-width: 390px) {
  .book-modal__close {
    top: 5px;
    right: 5px;
  }
}

/* reCAPTCHA v3のバッジ表示位置 */
.grecaptcha-badge {
  width: 70px !important;
  overflow: hidden !important;
  transition: all 0.3s ease !important;
  left: 0 !important;
}

.grecaptcha-badge:hover {
  width: 256px !important;
}