/* hirameki-swell: scss/main.scss をコンパイルした実体（直接編集しない・build.py で再生成） */
@charset "UTF-8";
:root {
  --color-ink: #2b3445;
  --color-text: #3d4657;
  --color-muted: #6b7486;
  --color-yellow: #ffcf3a;
  --color-yellow-light: #fff4c2;
  --color-blue: #4b8cf5;
  --color-blue-dark: #2f6fd8;
  /* 白地の文字・白文字の地（白と 4.79:1） */
  --color-blue-deep: #2a62c4;
  /* 淡色地（sky / cream）の小さい文字 */
  --color-blue-light: #b9d4fc;
  /* FV の装飾玉 */
  --color-line: #e2e6ee;
  /* 区切り線 */
  --color-line-warm: #e6d9a8;
  /* クリーム地の区切り線 */
  --color-cyan: #3cc8de;
  --color-cyan-light: #e3f6fb;
  --color-pink: #ff7aa8;
  --color-pink-light: #ffe8f0;
  --color-cream: #fffbea;
  --color-sky: #eaf6ff;
  --color-white: #ffffff;
  --font-round: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Noto Sans JP", sans-serif;
  --font-base: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
  --radius-sm: 1.2rem;
  /* 12px */
  --radius-md: 2.4rem;
  /* 24px */
  --radius-lg: 4rem;
  /* 40px */
  --shadow-pop: 0 0.6rem 0 var(--color-ink);
  /* 6px ずらしのポップ影 */
  --header-h: 6.4rem;
  /* 64px */
}

html:root:not(.wp-toolbar) {
  font-size: 62.5%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

:root {
  --swl-fz--normal: 1.6rem;
  /* 16px：SWELL 既定の本文サイズを復元 */
}

body:not(.wp-admin),
#body_wrap,
.editor-styles-wrapper {
  font-family: var(--font-base);
  font-size: 1.6rem;
  /* 16px */
  line-height: 1.8;
  color: var(--color-text);
  background: var(--color-white);
}

:root :where(.hl) {
  font-family: var(--font-base);
  font-size: 1.6rem;
  /* 16px */
  line-height: 1.8;
  color: var(--color-text);
}

:root :where(.hl) *,
:root :where(.hl) *::before,
:root :where(.hl) *::after {
  box-sizing: border-box;
}

:root :where(.hl) h1,
:root :where(.hl) h2,
:root :where(.hl) h3,
:root :where(.hl) p,
:root :where(.hl) ul,
:root :where(.hl) li,
:root :where(.hl) figure,
:root :where(.hl) table,
:root :where(.hl) th,
:root :where(.hl) td {
  margin: 0;
  padding: 0;
}

:root :where(.hl) h1,
:root :where(.hl) h2,
:root :where(.hl) h3 {
  position: static;
  background: none;
  border: 0;
  color: inherit;
  font-size: inherit;
  font-weight: 700;
  line-height: inherit;
}

:root :where(.hl) h1::before,
:root :where(.hl) h1::after,
:root :where(.hl) h2::before,
:root :where(.hl) h2::after,
:root :where(.hl) h3::before,
:root :where(.hl) h3::after {
  content: none;
  display: none;
}

:root :where(.hl) li::before,
:root :where(.hl) li::after {
  content: none;
}

:root :where(.hl) ul {
  list-style: none;
}

:root :where(.hl) li {
  line-height: inherit;
}

:root :where(.hl) img,
:root :where(.hl) svg {
  display: block;
  max-width: 100%;
  height: auto;
}

:root :where(.hl) a {
  color: inherit;
  text-decoration: none;
}

:root :where(.hl) button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

:root :where(.hl) :focus-visible {
  outline: 0.3rem solid var(--color-blue);
  /* 3px */
  outline-offset: 0.3rem;
  /* 3px */
}

:root :where(.hl) h1,
:root :where(.hl) h2,
:root :where(.hl) h3,
:root .p-about__catch,
:root .p-trial__visual figcaption,
:root .c-btn .wp-block-button__link {
  text-wrap: balance;
  word-break: auto-phrase;
}

:root :where(.hl) p,
:root p.u-demo-note {
  text-wrap: pretty;
  word-break: auto-phrase;
}

:root :where(.post_content) > .hl,
:root :where(.hl .wp-block-group__inner-container) > *,
:root :where(.hl .wp-block-group) > *,
:root :where(.hl .wp-block-buttons) > * {
  margin-top: 0;
  margin-bottom: 0;
}

:root :where(.hl .wp-block-group__inner-container) {
  display: contents;
}

:root :where(.hl) .wp-block-image {
  text-align: left;
}

:root :where(.hl) .wp-block-image::after {
  content: none;
}

.home #content.l-content,
.hl-page #content.l-content {
  max-width: none;
  margin: 0;
  padding: 0;
}

.home .l-mainContent.l-article,
.hl-page .l-mainContent.l-article {
  max-width: none;
  width: 100%;
}

.home .l-mainContent__inner > .post_content,
.hl-page .l-mainContent__inner > .post_content {
  margin: 0;
  padding: 0;
}

:root .is-root-container > .hl {
  max-width: none;
  margin-inline: 0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  :root :where(.hl) *,
:root :where(.hl) *::before,
:root :where(.hl) *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

:root .l-inner {
  width: 100%;
  max-width: 120rem;
  /* 1200px */
  margin-inline: auto;
  padding-inline: 2rem;
  /* 20px */
}

@media (min-width: 768px) {
  :root .l-inner {
    padding-inline: 4rem;
    /* 40px */
  }
}

:root .l-inner--narrow {
  max-width: 88rem;
  /* 880px */
}

:root .l-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-white);
  border-bottom: 0.3rem solid var(--color-yellow);
  /* 3px */
}

:root .l-site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  max-width: 120rem;
  /* 1200px */
  margin-inline: auto;
  padding-inline: 1.6rem;
  /* 16px */
}

@media (min-width: 1080px) {
  :root .l-site-header__inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "logo tagline actions" "nav nav nav";
    column-gap: 2rem;
    /* 20px */
    height: auto;
    padding: 1.6rem 4rem 0;
    /* 16px 40px 0 */
  }
}

:root .l-site-header__logo {
  grid-area: logo;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  /* 8px */
}

:root .l-site-header__logo-mark {
  width: 3.6rem;
  /* 36px */
}

@media (min-width: 1080px) {
  :root .l-site-header__logo-mark {
    width: 4.4rem;
    /* 44px */
  }
}

:root .l-site-header__logo-text {
  font-family: var(--font-round);
  font-size: 2rem;
  /* 20px */
  font-weight: 700;
  color: var(--color-ink);
  letter-spacing: 0.04em;
}

@media (min-width: 1080px) {
  :root .l-site-header__logo-text {
    font-size: 2.6rem;
    /* 26px */
  }
}

:root .l-site-header__logo-accent {
  color: var(--color-blue-dark);
}

:root .l-site-header__tagline {
  display: none;
}

@media (min-width: 1080px) {
  :root .l-site-header__tagline {
    grid-area: tagline;
    display: block;
    font-size: 1.3rem;
    /* 13px */
    color: var(--color-muted);
  }
}

:root .l-site-header__nav {
  position: fixed;
  inset: var(--nav-top, var(--header-h)) 0 0 0;
  /* JS がヘッダーの実際の下端を入れる */
  display: none;
  flex-direction: column;
  gap: 2.4rem;
  /* 24px */
  padding: 2.4rem 2rem 4rem;
  /* 24px 20px 40px */
  overflow-y: auto;
  background: var(--color-cream);
}

@media (min-width: 1080px) {
  :root .l-site-header__nav {
    position: static;
    display: contents;
    padding: 0;
    background: none;
  }
}

:root .l-site-header__nav.is-open {
  display: flex;
}

:root .l-site-header__nav-list {
  display: flex;
  flex-direction: column;
}

@media (min-width: 1080px) {
  :root .l-site-header__nav-list {
    grid-area: nav;
    flex-direction: row;
    justify-content: center;
    gap: 0.4rem;
    /* 4px */
    margin-top: 1.2rem;
    /* 12px */
  }
}

:root .l-site-header__nav-link {
  display: block;
  padding: 1.6rem 0.4rem;
  /* 16px 4px */
  font-family: var(--font-round);
  font-size: 1.6rem;
  /* 16px */
  font-weight: 700;
  color: var(--color-ink);
  border-bottom: 0.2rem dashed var(--color-line-warm);
  /* 2px */
  transition: color 0.2s ease;
}

@media (min-width: 1080px) {
  :root .l-site-header__nav-link {
    position: relative;
    padding: 0.8rem 1.2rem 1.6rem;
    /* 8px 12px 16px */
    font-size: 1.5rem;
    /* 15px */
    border-bottom: 0;
  }
}

:root .l-site-header__nav-link:hover {
  color: var(--color-blue);
}

:root .l-site-header__actions {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  /* 12px */
}

@media (min-width: 1080px) {
  :root .l-site-header__actions {
    grid-area: actions;
    flex-direction: row;
  }
}

:root .l-site-header__toggle {
  position: relative;
  width: 5.2rem;
  /* 52px */
  height: 5.2rem;
  /* 52px */
  border-radius: 50%;
  background: var(--color-yellow);
}

@media (min-width: 1080px) {
  :root .l-site-header__toggle {
    display: none;
  }
}

:root .l-site-header__toggle-line {
  position: absolute;
  left: 1.5rem;
  /* 15px */
  width: 2.2rem;
  /* 22px */
  height: 0.3rem;
  /* 3px */
  border-radius: 9999px;
  background: var(--color-ink);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

:root .l-site-header__toggle-line:nth-child(1) {
  top: 1.3rem;
  /* 13px */
}

:root .l-site-header__toggle-line:nth-child(2) {
  top: 2rem;
  /* 20px */
}

:root .l-site-header__toggle-line:nth-child(3) {
  top: 2.7rem;
  /* 27px */
}

:root .l-site-header__toggle[aria-expanded="true"] .l-site-header__toggle-line:nth-child(1) {
  transform: translateY(0.7rem) rotate(45deg);
}

:root .l-site-header__toggle[aria-expanded="true"] .l-site-header__toggle-line:nth-child(2) {
  opacity: 0;
}

:root .l-site-header__toggle[aria-expanded="true"] .l-site-header__toggle-line:nth-child(3) {
  transform: translateY(-0.7rem) rotate(-45deg);
}

:root .l-site-header__toggle-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.6rem;
  /* 6px */
  font-size: 0.9rem;
  /* 9px */
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  color: var(--color-ink);
}

:root .admin-bar .l-site-header {
  top: var(--wp-admin--admin-bar--height, 0px);
}

:root #footer.l-footer {
  margin: 0;
  padding: 0;
  color: var(--color-white);
  background: var(--color-ink);
}

:root .l-site-footer {
  padding-bottom: 8rem;
  /* 80px（SP 固定バナー分） */
  color: var(--color-white);
  background: var(--color-ink);
}

@media (min-width: 768px) {
  :root .l-site-footer {
    padding-bottom: 0;
  }
}

:root .l-site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 3.2rem;
  /* 32px */
  padding-block: 5.6rem 4rem;
  /* 56px 40px */
}

@media (min-width: 768px) {
  :root .l-site-footer__inner {
    flex-direction: row;
    justify-content: space-between;
    padding-block: 7.2rem 5.6rem;
    /* 72px 56px */
  }
}

:root .l-site-footer__logo {
  font-family: var(--font-round);
  font-size: 2.6rem;
  /* 26px */
  font-weight: 700;
}

:root .l-site-footer__desc {
  margin-top: 0.4rem;
  /* 4px */
  font-size: 1.3rem;
  /* 13px */
  opacity: 0.8;
}

:root .l-site-footer__nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.4rem;
  /* 24px */
}

@media (min-width: 768px) {
  :root .l-site-footer__nav {
    grid-template-columns: repeat(3, auto);
    gap: 5.6rem;
    /* 56px */
  }
}

:root .l-site-footer__col-title {
  margin-bottom: 1.2rem;
  /* 12px */
  font-family: var(--font-round);
  font-weight: 700;
  color: var(--color-cyan);
}

:root .l-site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  /* 8px */
  font-size: 1.4rem;
  /* 14px */
}

:root .l-site-footer__links a:hover {
  text-decoration: underline;
}

:root .l-site-footer__copy {
  padding-block: 1.6rem;
  /* 16px */
  font-size: 1.2rem;
  /* 12px */
  text-align: center;
  border-top: 0.1rem solid rgba(255, 255, 255, 0.15);
}

:root .l-site-footer__copy small {
  font-size: smaller;
}

:root .l-site-footer__logo-accent {
  color: var(--color-cyan);
}

:root .c-btn {
  display: inline-flex;
  margin: 0;
}

:root .c-btn .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  /* 8px */
  width: 100%;
  min-width: 0;
  padding: 1.6rem 3.2rem;
  /* 16px 32px */
  font-family: var(--font-round);
  font-size: 1.6rem;
  /* 16px */
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  letter-spacing: normal;
  color: var(--color-ink);
  background: var(--color-white);
  border: 0.3rem solid var(--color-ink);
  /* 3px */
  border-radius: 9999px;
  box-shadow: none;
  word-break: auto-phrase;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

:root .c-btn .wp-block-button__link:hover {
  transform: translateY(0.3rem);
  /* 3px */
  opacity: 1;
}

:root .c-btn--primary .wp-block-button__link {
  background: var(--color-yellow);
  box-shadow: 0 0.5rem 0 var(--color-ink);
  /* 5px */
}

:root .c-btn--primary .wp-block-button__link:hover {
  box-shadow: 0 0.2rem 0 var(--color-ink);
  /* 2px */
}

:root .c-btn--outline .wp-block-button__link {
  background: var(--color-white);
}

:root .c-btn--sm .wp-block-button__link {
  padding: 1.2rem 2rem;
  /* 12px 20px */
  font-size: 1.4rem;
  /* 14px */
  border-width: 0.2rem;
  /* 2px */
}

:root .c-btn--sm.c-btn--primary .wp-block-button__link {
  box-shadow: 0 0.3rem 0 var(--color-ink);
  /* 3px */
}

:root .c-btn--lg {
  width: 100%;
  max-width: 36rem;
  /* 360px */
}

@media (min-width: 768px) {
  :root .c-btn--lg {
    width: auto;
  }
}

:root .c-btn--lg .wp-block-button__link {
  padding: 1.6rem 2.4rem;
  /* 16px 24px */
  font-size: 1.8rem;
  /* 18px */
}

@media (min-width: 768px) {
  :root .c-btn--lg .wp-block-button__link {
    font-size: 2rem;
    /* 20px */
  }
}

:root .c-btns {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0;
}

@media (min-width: 768px) {
  :root .c-btns {
    justify-content: flex-start;
  }
}

:root .c-heading {
  margin-bottom: 3.2rem;
  /* 32px */
  font-family: var(--font-round);
  font-size: 2.6rem;
  /* 26px */
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-ink);
}

@media (min-width: 768px) {
  :root .c-heading {
    margin-bottom: 4.8rem;
    /* 48px */
    font-size: 3.4rem;
    /* 34px */
  }
}

:root .c-heading__en {
  display: block;
  margin-bottom: 0.4rem;
  /* 4px */
  font-size: 1.3rem;
  /* 13px */
  letter-spacing: 0.2em;
  color: var(--color-blue-deep);
  /* 白・sky・cream のどの地でも 4.5:1 以上 */
}

@media (min-width: 768px) {
  :root .c-heading__en {
    font-size: 1.4rem;
    /* 14px */
  }
}

:root .c-heading--center {
  text-align: center;
}

:root .c-heading--light {
  color: var(--color-white);
}

:root .c-heading--light .c-heading__en {
  color: var(--color-white);
}

:root .c-tag {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  /* 8px 16px */
  font-family: var(--font-round);
  font-size: 1.5rem;
  /* 15px */
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-ink);
  background: var(--color-white);
  border: 0.2rem solid var(--color-ink);
  /* 2px */
  border-radius: 9999px;
  transition: background 0.2s ease;
}

:root a.c-tag:hover {
  background: var(--color-yellow);
}

:root .c-tag--accent {
  background: var(--color-cyan-light);
}

:root .c-tag--sm {
  padding: 0.4rem 1.2rem;
  /* 4px 12px */
  font-size: 1.2rem;
  /* 12px */
  border-width: 0;
  background: var(--color-yellow-light);
}

:root .c-tag--blue {
  color: var(--color-white);
  background: var(--color-blue-dark);
}

:root .c-tag--pink {
  color: var(--color-ink);
  background: var(--color-pink-light);
}

:root .c-tag--ghost {
  background: var(--color-sky);
}

:root .c-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--color-white);
  border: 0.3rem solid var(--color-ink);
  /* 3px */
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-pop);
}

:root .c-card__badge {
  position: absolute;
  top: 1.4rem;
  /* 14px */
  left: 1.4rem;
  /* 14px */
  padding: 0.4rem 1.6rem;
  /* 4px 16px */
  font-family: var(--font-round);
  font-size: 1.3rem;
  /* 13px */
  font-weight: 700;
  color: var(--color-ink);
  background: var(--color-yellow-light);
  border: 0.2rem solid var(--color-ink);
  /* 2px */
  border-radius: 9999px;
}

:root .c-card__badge--blue {
  color: var(--color-white);
  background: var(--color-blue-dark);
}

:root .c-card__badge--pink {
  color: var(--color-ink);
  background: var(--color-pink-light);
}

:root .c-card__img img {
  width: 100%;
  aspect-ratio: 8 / 5;
  object-fit: cover;
  border-bottom: 0.3rem solid var(--color-ink);
  /* 3px */
}

:root .c-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 2rem 2.4rem 2.4rem;
  /* 20px 24px 24px */
}

:root .c-card__step {
  font-family: var(--font-round);
  font-size: 1.3rem;
  /* 13px */
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-ink);
}

:root .c-card__target {
  font-size: 1.4rem;
  /* 14px */
  font-weight: 700;
  color: var(--color-blue-dark);
}

:root .c-card__title {
  margin-top: 0.4rem;
  /* 4px */
  font-family: var(--font-round);
  font-size: 2.2rem;
  /* 22px */
  line-height: 1.4;
  color: var(--color-ink);
}

:root .c-card__text {
  margin-top: 0.8rem;
  /* 8px */
}

:root .c-card__list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  /* 8px */
  margin-top: auto;
  padding-top: 1.6rem;
  /* 16px */
  font-size: 1.4rem;
  /* 14px */
  font-weight: 700;
  color: var(--color-ink);
}

:root .c-card__list li {
  position: relative;
  padding-left: 2.4rem;
  /* 24px */
}

:root .c-card__list li::before {
  content: "";
  position: absolute;
  top: 0.6rem;
  /* 6px */
  left: 0;
  width: 1.2rem;
  /* 12px */
  height: 1.2rem;
  /* 12px */
  border-radius: 50%;
  background: var(--color-cyan);
}

:root .c-voice {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
  /* 16px */
  padding: 3.2rem 2.4rem;
  /* 32px 24px */
  text-align: center;
  background: var(--color-white);
  border-radius: var(--radius-md);
}

@media (min-width: 768px) {
  :root .c-voice {
    flex-direction: row;
    align-items: flex-start;
    gap: 3.2rem;
    /* 32px */
    padding: 3.2rem 4rem;
    /* 32px 40px */
    text-align: left;
  }
}

:root .c-voice__avatar img {
  flex: 0 0 auto;
  width: 9.6rem;
  /* 96px */
  height: 9.6rem;
  /* 96px */
  object-fit: cover;
  object-position: center 30%;
  border: 0.3rem solid var(--color-ink);
  /* 3px */
  border-radius: 50%;
}

@media (min-width: 768px) {
  :root .c-voice__avatar img {
    width: 11.2rem;
    /* 112px */
    height: 11.2rem;
    /* 112px */
  }
}

/* 色つきの外輪（写真の外側に 5px のリング） */
:root .c-voice__avatar--yellow img {
  box-shadow: 0 0 0 0.5rem var(--color-yellow);
}

:root .c-voice__avatar--blue img {
  box-shadow: 0 0 0 0.5rem var(--color-blue);
}

:root .c-voice__avatar--pink img {
  box-shadow: 0 0 0 0.5rem var(--color-pink);
}

:root .c-voice__body {
  min-width: 0;
}

:root .c-voice__label {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  /* 4px 12px */
  font-size: 1.2rem;
  /* 12px */
  font-weight: 700;
  color: var(--color-blue-deep);
  background: var(--color-sky);
  border-radius: 9999px;
}

:root .c-voice__title {
  margin-top: 0.8rem;
  /* 8px */
  font-family: var(--font-round);
  font-size: 1.9rem;
  /* 19px */
  line-height: 1.5;
  color: var(--color-ink);
}

:root .c-voice__text {
  max-width: 40em;
  /* 全角40字以内 */
  margin-top: 0.8rem;
  /* 8px */
  text-align: left;
}

:root .c-voice__avatar {
  flex: 0 0 auto;
  margin: 0;
}

:root .c-event {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--color-white);
  border: 0.3rem solid var(--color-ink);
  /* 3px */
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-pop);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

:root .c-event:hover,
:root .c-event:focus-within {
  transform: translateY(0.4rem);
  /* 4px */
  box-shadow: 0 0.2rem 0 var(--color-ink);
  /* 2px */
}

:root .c-event__link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

:root .c-event__link:focus-visible {
  outline: none;
}

:root .c-event:has(.c-event__link:focus-visible) {
  outline: 0.3rem solid var(--color-blue);
  /* 3px */
  outline-offset: 0.3rem;
  /* 3px */
}

:root .c-event__thumb {
  overflow: hidden;
  border-bottom: 0.3rem solid var(--color-ink);
  /* 3px */
}

:root .c-event__thumb img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

:root .c-event__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.8rem;
  /* 8px */
  padding: 1.6rem 2.4rem 0.8rem;
  /* 16px 24px 8px */
}

:root .c-event__date {
  font-size: 1.4rem;
  /* 14px */
  font-weight: 700;
  color: var(--color-blue-dark);
}

:root .c-event__title {
  font-family: var(--font-round);
  font-size: 1.8rem;
  /* 18px */
  line-height: 1.5;
  color: var(--color-ink);
}

:root .c-event__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  /* 8px */
  margin-top: auto;
  padding-top: 0.8rem;
  /* 8px */
}

:root .c-event__more {
  display: block;
  padding: 0.8rem 2.4rem 2.4rem;
  /* 8px 24px 24px */
  font-family: var(--font-round);
  font-size: 1.4rem;
  /* 14px */
  font-weight: 700;
  color: var(--color-blue-dark);
}

:root .c-event__more::after {
  content: " →";
}

:root .c-faq {
  margin: 0;
  background: var(--color-white);
  border: 0.2rem solid var(--color-ink);
  /* 2px */
  border-radius: var(--radius-sm);
}

:root .c-faq summary {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  /* 12px */
  width: 100%;
  padding: 1.6rem;
  /* 16px */
  font-family: var(--font-round);
  font-size: 1.6rem;
  /* 16px */
  font-weight: 700;
  line-height: 1.5;
  text-align: left;
  color: var(--color-ink);
  list-style: none;
  cursor: pointer;
}

@media (min-width: 768px) {
  :root .c-faq summary {
    padding: 2rem 2.4rem;
    /* 20px 24px */
    font-size: 1.7rem;
    /* 17px */
  }
}

:root .c-faq summary::-webkit-details-marker {
  display: none;
}

:root .c-faq summary::before {
  content: "Q";
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 3.2rem;
  /* 32px */
  height: 3.2rem;
  /* 32px */
  font-size: 1.6rem;
  /* 16px */
  line-height: 1;
  color: var(--color-white);
  background: var(--color-blue-dark);
  border-radius: 50%;
}

:root .c-faq summary::after {
  content: "";
  flex: 0 0 auto;
  width: 1.6rem;
  /* 16px */
  height: 1.6rem;
  /* 16px */
  margin-left: auto;
  background: linear-gradient(var(--color-ink), var(--color-ink)) center/100% 0.3rem no-repeat, linear-gradient(var(--color-ink), var(--color-ink)) center/0.3rem 100% no-repeat;
  border-radius: 0.2rem;
  transition: transform 0.3s ease;
}

:root .c-faq[open]:not(.js-accordion) summary::after,
:root .c-faq.is-open summary::after {
  transform: rotate(45deg);
}

:root .c-faq > :not(summary) {
  margin-block: 0;
}

:root .c-faq__a-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}

:root .c-faq.is-open .c-faq__a-wrap {
  grid-template-rows: 1fr;
}

:root .c-faq__a-inner {
  min-height: 0;
  overflow: hidden;
}

:root .c-faq__a-text {
  padding: 0 1.6rem 2rem 6rem;
  /* 0 16px 20px 60px */
}

@media (min-width: 768px) {
  :root .c-faq__a-text {
    padding: 0 2.4rem 2.4rem 6.8rem;
    /* 0 24px 24px 68px */
  }
}

:root .p-fv {
  position: relative;
  overflow: hidden;
  padding-block: 4.8rem 9.6rem;
  /* 48px 96px */
  background: var(--color-yellow-light);
}

@media (min-width: 768px) {
  :root .p-fv {
    padding-block: 7.2rem 12rem;
    /* 72px 120px */
  }
}

:root .p-fv__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

:root .p-fv__blob {
  position: absolute;
  border-radius: 50%;
  opacity: 0.55;
  animation: fv-pop 0.8s ease-out both;
  /* 登場時に1回だけ */
}

:root .p-fv__blob--blue {
  top: -6rem;
  /* -60px */
  left: -8rem;
  /* -80px */
  width: 22rem;
  /* 220px */
  height: 22rem;
  /* 220px */
  background: var(--color-blue-light);
}

@media (min-width: 768px) {
  :root .p-fv__blob--blue {
    width: 36rem;
    /* 360px */
    height: 36rem;
    /* 360px */
  }
}

:root .p-fv__blob--yellow {
  right: -4rem;
  /* -40px */
  top: 30%;
  width: 16rem;
  /* 160px */
  height: 16rem;
  /* 160px */
  background: var(--color-yellow);
  animation-delay: 0.15s;
}

:root .p-fv__blob--pink {
  left: 12%;
  bottom: 4rem;
  /* 40px */
  width: 9rem;
  /* 90px */
  height: 9rem;
  /* 90px */
  background: var(--color-pink);
  opacity: 0.35;
  animation-delay: 0.3s;
}

:root .p-fv__blob--cyan {
  right: 30%;
  top: 2rem;
  /* 20px */
  width: 6rem;
  /* 60px */
  height: 6rem;
  /* 60px */
  background: var(--color-cyan);
  opacity: 0.4;
  animation-delay: 0.45s;
}

@keyframes fv-pop {
  from {
    transform: scale(0.6);
    opacity: 0;
  }
}

:root .p-fv__inner {
  position: relative;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 2.4rem;
  /* 24px */
}

@media (min-width: 768px) {
  :root .p-fv__inner {
    flex-direction: row;
    justify-content: space-between;
    gap: 4rem;
    /* 40px */
  }
}

:root .p-fv__body {
  text-align: center;
}

@media (min-width: 768px) {
  :root .p-fv__body {
    flex: 1 1 0;
    min-width: 0;
    text-align: left;
  }
}

:root .p-fv__lead {
  display: inline-block;
  padding: 0.4rem 1.6rem;
  /* 4px 16px */
  font-family: var(--font-round);
  font-size: 1.4rem;
  /* 14px */
  font-weight: 700;
  color: var(--color-white);
  background: var(--color-blue-dark);
  border-radius: 9999px;
}

@media (min-width: 768px) {
  :root .p-fv__lead {
    font-size: 1.6rem;
    /* 16px */
  }
}

:root .p-fv__title {
  margin-top: 1.6rem;
  /* 16px */
  font-family: var(--font-round);
  font-size: 3.8rem;
  /* 38px（SP で「なかよくなろう。」8字を1行に収める） */
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-ink);
  letter-spacing: 0.02em;
}

@media (min-width: 768px) {
  :root .p-fv__title {
    font-size: 5.6rem;
    /* 56px */
  }
}

@media (min-width: 1080px) {
  :root .p-fv__title {
    font-size: 7.2rem;
    /* 72px */
  }
}

:root .p-fv__text {
  margin-top: 1.6rem;
  /* 16px */
  font-family: var(--font-round);
  font-size: 1.8rem;
  /* 18px */
  font-weight: 700;
  color: var(--color-ink);
}

@media (min-width: 768px) {
  :root .p-fv__text {
    font-size: 2.2rem;
    /* 22px */
  }
}

:root .p-fv__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
  /* 16px */
  margin-top: 3.2rem;
  /* 32px */
}

@media (min-width: 768px) {
  :root .p-fv__cta {
    align-items: flex-start;
    margin-top: 3.6rem;
    /* 36px */
  }
}

:root .p-fv__tel {
  font-size: 1.3rem;
  /* 13px */
  font-weight: 700;
  color: var(--color-ink);
}

:root .p-fv__tel-num {
  margin-left: 0.8rem;
  /* 8px */
  font-family: var(--font-round);
  font-size: 2.2rem;
  /* 22px */
  color: var(--color-blue-dark);
}

:root .p-fv__tel-hours {
  display: block;
  font-size: 1.2rem;
  /* 12px */
  font-weight: 400;
  color: var(--color-text);
}

:root .p-fv__visual {
  position: relative;
  width: 100%;
}

@media (min-width: 768px) {
  :root .p-fv__visual {
    flex: 0 1 40rem;
    /* 400px */
    width: auto;
    min-width: 0;
  }
}

@media (min-width: 1080px) {
  :root .p-fv__visual {
    flex-basis: 54rem;
    /* 540px */
  }
}

:root .p-fv__photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 0.4rem solid var(--color-ink);
  /* 4px */
  border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 1.2rem;
  /* 40px 40px 40px 12px */
  box-shadow: 0.8rem 0.8rem 0 var(--color-blue);
  /* 8px ずらし影 */
}

:root .p-fv__bubble {
  position: absolute;
  top: -1.6rem;
  /* -16px */
  right: -0.8rem;
  /* -8px */
  padding: 0.8rem 1.6rem;
  /* 8px 16px */
  font-family: var(--font-round);
  font-size: 1.3rem;
  /* 13px */
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-ink);
  background: var(--color-white);
  border: 0.3rem solid var(--color-ink);
  /* 3px */
  border-radius: 2rem 2rem 2rem 0.4rem;
  /* 吹き出し */
}

@media (min-width: 768px) {
  :root .p-fv__bubble {
    font-size: 1.6rem;
    /* 16px */
  }
}

:root .p-fv__wave {
  position: absolute;
  left: 0;
  bottom: -0.1rem;
  width: 100%;
  height: 4rem;
  /* 40px */
}

@media (min-width: 768px) {
  :root .p-fv__wave {
    height: 8rem;
    /* 80px */
  }
}

:root .p-about {
  padding-block: 6.4rem;
  /* 64px */
}

@media (min-width: 768px) {
  :root .p-about {
    padding-block: 9.6rem;
    /* 96px */
  }
}

:root .p-about__inner {
  display: flex;
  flex-direction: column;
  gap: 3.2rem;
  /* 32px */
}

@media (min-width: 768px) {
  :root .p-about__inner {
    flex-direction: row;
    align-items: center;
    gap: 5.6rem;
    /* 56px */
  }
}

@media (min-width: 768px) {
  :root .p-about__body {
    flex: 1 1 0;
    min-width: 0;
  }
}

:root .p-about__catch {
  font-family: var(--font-round);
  font-size: 1.8rem;
  /* 18px（SP で2行目16字を1行に収める） */
  font-weight: 700;
  line-height: 1.6;
  color: var(--color-ink);
}

@media (min-width: 768px) {
  :root .p-about__catch {
    font-size: 2.4rem;
    /* 24px */
  }
}

:root .p-about__text {
  margin-top: 1.6rem;
  /* 16px */
}

:root .p-about__points {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  /* 12px */
  margin-top: 2.4rem;
  /* 24px */
}

:root .p-about__point {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  /* 12px */
  padding: 1.2rem 1.6rem;
  /* 12px 16px */
  font-family: var(--font-round);
  font-weight: 700;
  color: var(--color-ink);
  background: var(--color-sky);
  border-radius: var(--radius-sm);
}

:root .p-about__point-num {
  flex: 0 0 auto;
  font-size: 2rem;
  /* 20px */
  color: var(--color-blue-deep);
}

@media (min-width: 768px) {
  :root .p-about__visual {
    flex: 0 1 50rem;
    /* 500px */
    min-width: 0;
  }
}

:root .p-about__visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: -0.8rem 0.8rem 0 var(--color-cyan);
  /* 8px ずらし影 */
}

:root .p-classroom {
  padding-block: 6.4rem;
  /* 64px */
  background: var(--color-cream);
}

@media (min-width: 768px) {
  :root .p-classroom {
    padding-block: 9.6rem;
    /* 96px */
  }
}

:root .p-classroom__lead {
  max-width: 40em;
  /* 全角40字以内 */
  margin-top: -1.6rem;
  /* 見出し下余白を詰める -16px */
  margin-bottom: 3.2rem;
  /* 32px */
  margin-inline: auto;
  text-align: center;
}

:root .p-classroom__areas {
  display: grid;
  gap: 1.6rem;
  /* 16px */
}

@media (min-width: 768px) {
  :root .p-classroom__areas {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.4rem;
    /* 24px */
  }
}

:root .p-classroom__area {
  padding: 2rem 2.4rem;
  /* 20px 24px */
  background: var(--color-white);
  border-radius: var(--radius-md);
}

:root .p-classroom__area-name {
  margin-bottom: 1.2rem;
  /* 12px */
  padding-left: 1.6rem;
  /* 16px */
  font-family: var(--font-round);
  font-size: 1.8rem;
  /* 18px */
  color: var(--color-ink);
  border-left: 0.4rem solid var(--color-blue);
  /* 4px */
}

:root .p-classroom__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  /* 12px */
}

:root .p-course {
  padding-block: 6.4rem 7.2rem;
  /* 64px 72px */
}

@media (min-width: 768px) {
  :root .p-course {
    padding-block: 9.6rem 10.4rem;
    /* 96px 104px */
  }
}

:root .p-course__list {
  display: grid;
  gap: 3.2rem;
  /* 32px */
}

@media (min-width: 768px) {
  :root .p-course__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1080px) {
  :root .p-course__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    /* 1枚目を低く・3枚目を高く＝右肩上がり */
    gap: 4.8rem;
    /* 48px（矢印ぶん） */
  }
}

@media (min-width: 1080px) {
  :root .p-course__list .c-card {
    position: relative;
    overflow: visible;
  }
}

@media (min-width: 1080px) {
  :root .p-course__list .c-card:nth-child(1) {
    margin-top: 9.6rem !important;
    /* 96px：SWELL の「グループ内の先頭要素は上余白 0（!important）」に負けないため */
  }
}

@media (min-width: 1080px) {
  :root .p-course__list .c-card:nth-child(2) {
    margin-top: 4.8rem;
    /* 48px */
  }
}

@media (min-width: 1080px) {
  :root .p-course__list .c-card:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 40%;
    right: -3.6rem;
    /* -36px */
    width: 2.4rem;
    /* 24px */
    height: 2.4rem;
    /* 24px */
    border-top: 0.4rem solid var(--color-ink);
    /* 4px */
    border-right: 0.4rem solid var(--color-ink);
    /* 4px */
    transform: rotate(45deg);
  }
}

@media (min-width: 1080px) {
  :root .p-course__list .c-card .c-card__img img {
    border-radius: calc(var(--radius-md) - 0.3rem) calc(var(--radius-md) - 0.3rem) 0 0;
  }
}

:root .p-price {
  padding-block: 6.4rem;
  /* 64px */
  background: var(--color-cream);
}

@media (min-width: 768px) {
  :root .p-price {
    padding-block: 9.6rem;
    /* 96px */
  }
}

:root .p-price__table {
  overflow: hidden;
  margin: 0;
  background: var(--color-white);
  border: 0.3rem solid var(--color-ink);
  /* 3px */
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-pop);
}

:root .p-price__table table {
  width: 100%;
  table-layout: auto;
  border: 0;
  border-collapse: collapse;
  font-size: inherit;
}

:root .p-price__table th,
:root .p-price__table td {
  padding: 0.1rem;
  /* 1px：静的版（ブラウザ既定のセル余白）にそろえる。PC は下の tbody th/td で上書き */
  border: 0;
  background: none;
  font-weight: inherit;
  line-height: 1.8;
  /* SWELL の表は 1.6。静的版（本文 1.8）にそろえる */
  vertical-align: middle;
}

:root .p-price__table thead {
  display: none;
}

@media (min-width: 768px) {
  :root .p-price__table thead {
    display: table-header-group;
  }
}

:root .p-price__table thead th {
  font-weight: 700;
  padding: 1.6rem 2.4rem;
  /* 16px 24px */
  font-family: var(--font-round);
  font-size: 1.4rem;
  /* 14px */
  text-align: left;
  color: var(--color-white);
  background: var(--color-ink);
}

:root .p-price__table tbody tr {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.4rem 1.6rem;
  /* 4px 16px */
  padding: 1.6rem 2.4rem;
  /* 16px 24px */
  border-top: 0.2rem dashed var(--color-line);
  /* 2px */
}

@media (min-width: 768px) {
  :root .p-price__table tbody tr {
    display: table-row;
    padding: 0;
  }
}

:root .p-price__table tbody tr:first-child {
  border-top: 0;
}

:root .p-price__table tbody th,
:root .p-price__table tbody td {
  text-align: left;
}

@media (min-width: 768px) {
  :root .p-price__table tbody th,
:root .p-price__table tbody td {
    padding: 2rem 2.4rem;
    /* 20px 24px */
    border-top: 0.2rem dashed var(--color-line);
    /* 2px */
  }
}

@media (min-width: 768px) {
  :root .p-price__table tbody tr:first-child th,
:root .p-price__table tbody tr:first-child td {
    border-top: 0;
  }
}

:root .p-price__table tbody th {
  font-weight: 700;
  grid-column: 1 / -1;
  font-family: var(--font-round);
  font-size: 1.8rem;
  /* 18px */
  color: var(--color-ink);
}

:root .p-price__table tbody td {
  font-size: 1.4rem;
  /* 14px */
}

@media (min-width: 768px) {
  :root .p-price__table tbody td {
    font-size: 1.6rem;
    /* 16px */
  }
}

:root .p-price__table tbody td:last-child {
  grid-column: 1 / -1;
  font-family: var(--font-round);
  font-size: 2.4rem;
  /* 24px */
  font-weight: 700;
  color: var(--color-ink);
}

@media (min-width: 768px) {
  :root .p-price__table tbody td:last-child {
    font-size: 2.2rem;
    /* 22px */
    white-space: nowrap;
  }
}

:root .p-price__notes {
  display: grid;
  gap: 0.8rem;
  /* 8px */
  margin-top: 3.2rem;
  /* 32px */
}

@media (min-width: 768px) {
  :root .p-price__notes {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem 3.2rem;
    /* 12px 32px */
  }
}

:root .p-price__note {
  font-size: 1.5rem;
  /* 15px */
}

:root .p-price__note-label {
  display: inline-block;
  margin-right: 0.8rem;
  /* 8px */
  padding: 0 1.2rem;
  /* 0 12px */
  font-size: 1.3rem;
  /* 13px */
  font-weight: 700;
  color: var(--color-ink);
  background: var(--color-white);
  border: 0.2rem solid var(--color-ink);
  /* 2px */
  border-radius: 9999px;
}

:root .p-price__caution {
  margin-top: 1.6rem;
  /* 16px */
  font-size: 1.3rem;
  /* 13px */
  color: var(--color-text);
}

:root .p-scene {
  overflow: hidden;
  padding-block: 2.4rem;
  /* 24px */
  background: var(--color-blue);
}

:root .p-scene__track {
  display: flex;
  width: max-content;
}

:root .p-scene__track.is-ready {
  animation: scene-loop 32s linear infinite;
}

:root .p-scene__track:hover {
  animation-play-state: paused;
}

@keyframes scene-loop {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

:root .p-scene__list {
  display: flex;
  gap: 1.6rem;
  /* 16px */
  padding-right: 1.6rem;
  /* 16px（2本目とのつなぎ目） */
}

:root .p-scene__item {
  position: relative;
  flex: 0 0 auto;
  margin: 0;
  width: 24rem;
  /* 240px */
  overflow: hidden;
  border: 0.3rem solid var(--color-ink);
  /* 3px */
  border-radius: var(--radius-md);
}

@media (min-width: 768px) {
  :root .p-scene__item {
    width: 32rem;
    /* 320px */
  }
}

:root .p-scene__item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

:root .p-scene__item figcaption {
  position: absolute;
  left: 1rem;
  /* 10px */
  bottom: 1rem;
  /* 10px */
  padding: 0.4rem 1.6rem;
  /* 4px 16px */
  font-family: var(--font-round);
  font-size: 1.4rem;
  /* 14px */
  font-weight: 700;
  line-height: 1.5;
  text-align: left;
  color: var(--color-ink);
  background: var(--color-white);
  border: 0.2rem solid var(--color-ink);
  /* 2px */
  border-radius: 9999px;
  margin: 0;
  opacity: 1;
  /* SWELL の .wp-block-image figcaption{opacity:.8} を戻す */
}

@media (min-width: 768px) {
  :root .p-scene__item figcaption {
    font-size: 1.5rem;
    /* 15px */
  }
}

:root .p-voice {
  padding-block: 6.4rem;
  /* 64px */
  background: var(--color-sky);
}

@media (min-width: 768px) {
  :root .p-voice {
    padding-block: 9.6rem;
    /* 96px */
  }
}

:root .p-voice__list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  /* 20px */
  max-width: 88rem;
  /* 880px */
  margin-inline: auto;
}

:root .p-event {
  padding-block: 6.4rem;
  /* 64px */
}

@media (min-width: 768px) {
  :root .p-event {
    padding-block: 9.6rem;
    /* 96px */
  }
}

:root .p-event__list {
  display: grid;
  gap: 2rem;
  /* 20px */
}

@media (min-width: 768px) {
  :root .p-event__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.4rem;
    /* 24px */
  }
}

@media (min-width: 1080px) {
  :root .p-event__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

:root .p-business {
  padding-block: 6.4rem;
  /* 64px */
  color: var(--color-white);
  background: var(--color-blue-dark);
}

@media (min-width: 768px) {
  :root .p-business {
    padding-block: 9.6rem;
    /* 96px */
  }
}

:root .p-business__lead {
  max-width: 40em;
  /* 全角40字以内 */
  margin-top: -1.6rem;
  /* -16px */
  margin-bottom: 3.2rem;
  /* 32px */
  margin-inline: auto;
  text-align: center;
}

:root .p-business__list {
  display: grid;
  gap: 2rem;
  /* 20px */
}

@media (min-width: 1080px) {
  :root .p-business__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.4rem;
    /* 24px */
  }
}

:root .p-business__item {
  padding: 3.2rem 2.4rem;
  /* 32px 24px */
  color: var(--color-text);
  background: var(--color-white);
  border-radius: var(--radius-md);
}

:root .p-business__label {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  /* 4px 12px */
  font-size: 1.2rem;
  /* 12px */
  font-weight: 700;
  color: var(--color-blue-deep);
  background: var(--color-sky);
  border-radius: 9999px;
}

:root .p-business__title {
  margin-top: 1.2rem;
  /* 12px */
  font-family: var(--font-round);
  font-size: 2rem;
  /* 20px */
  color: var(--color-ink);
}

:root .p-business__text {
  margin-top: 0.8rem;
  /* 8px */
}

:root .p-news {
  padding-block: 6.4rem 3.2rem;
  /* 64px 32px */
}

@media (min-width: 768px) {
  :root .p-news {
    padding-block: 9.6rem 4.8rem;
    /* 96px 48px */
  }
}

:root .p-news__list {
  border-top: 0.2rem dashed var(--color-line);
  /* 2px */
}

:root .p-news__item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem 1.2rem;
  /* 8px 12px */
  padding-block: 1.6rem;
  /* 16px */
  border-bottom: 0.2rem dashed var(--color-line);
  /* 2px */
}

@media (min-width: 768px) {
  :root .p-news__item {
    flex-wrap: nowrap;
    gap: 2rem;
    /* 20px */
  }
}

:root .p-news__date {
  font-size: 1.4rem;
  /* 14px */
  font-weight: 700;
  color: var(--color-muted);
}

:root .p-news__tag {
  display: flex;
}

:root .p-news__title {
  flex: 1 1 100%;
  font-weight: 700;
  color: var(--color-ink);
}

@media (min-width: 768px) {
  :root .p-news__title {
    flex: 1 1 0;
    min-width: 0;
  }
}

:root .p-faq {
  padding-block: 3.2rem 6.4rem;
  /* 32px 64px */
}

@media (min-width: 768px) {
  :root .p-faq {
    padding-block: 4.8rem 9.6rem;
    /* 48px 96px */
  }
}

:root .p-faq__list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  /* 12px */
}

:root .p-trial {
  padding-block: 5.6rem;
  /* 56px */
  background: var(--color-yellow);
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.45) 0.4rem, transparent 0.45rem);
  background-size: 3.2rem 3.2rem;
  /* 32px ドット */
}

@media (min-width: 768px) {
  :root .p-trial {
    padding-block: 8rem;
    /* 80px */
  }
}

:root .p-trial__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  /* 20px */
  text-align: center;
}

@media (min-width: 768px) {
  :root .p-trial__inner {
    flex-direction: row;
    justify-content: center;
    gap: 4.8rem;
    /* 48px */
    text-align: left;
  }
}

:root .p-trial__visual {
  position: relative;
  width: 100%;
  max-width: 48rem;
  /* 480px */
  margin: 0;
}

@media (min-width: 768px) {
  :root .p-trial__visual {
    flex: 0 1 44rem;
    /* 440px */
    min-width: 0;
  }
}

:root .p-trial__visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 0.3rem solid var(--color-ink);
  /* 3px */
  border-radius: var(--radius-lg);
}

:root .p-trial__visual figcaption {
  position: relative;
  margin: -2.4rem 1.6rem 0;
  /* 写真の下端に重ねる -24px 16px 0 */
  padding: 1.2rem 1.6rem;
  /* 12px 16px */
  font-family: var(--font-round);
  font-size: 1.5rem;
  /* 15px */
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  color: var(--color-ink);
  background: var(--color-white);
  border: 0.3rem solid var(--color-ink);
  /* 3px */
  border-radius: var(--radius-sm);
  opacity: 1;
  /* SWELL の figcaption{opacity:.8} を戻す */
}

:root .p-trial__caption-sub {
  display: block;
  font-size: 1.2rem;
  /* 12px */
  color: var(--color-blue-dark);
}

:root .p-trial__body {
  min-width: 0;
  padding: 3.2rem 2.4rem;
  /* 32px 24px */
  background: var(--color-white);
  border: 0.3rem solid var(--color-ink);
  /* 3px */
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-pop);
}

@media (min-width: 768px) {
  :root .p-trial__body {
    padding: 4rem 4.8rem;
    /* 40px 48px */
  }
}

:root .p-trial__lead {
  font-family: var(--font-round);
  font-weight: 700;
  color: var(--color-blue-dark);
}

:root .p-trial__title {
  margin-top: 0.4rem;
  /* 4px */
  font-family: var(--font-round);
  font-size: 3rem;
  /* 30px */
  line-height: 1.35;
  color: var(--color-ink);
}

@media (min-width: 768px) {
  :root .p-trial__title {
    font-size: 4rem;
    /* 40px */
  }
}

:root .p-trial__text {
  margin-top: 1.2rem;
  /* 12px */
}

:root .p-trial__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
  /* 16px */
  margin-top: 2.4rem;
  /* 24px */
}

@media (min-width: 768px) {
  :root .p-trial__actions {
    align-items: flex-start;
  }
}

:root .p-trial__tel {
  font-size: 1.3rem;
  /* 13px */
  font-weight: 700;
  color: var(--color-ink);
}

:root .p-trial__tel-num {
  margin-left: 0.8rem;
  /* 8px */
  font-family: var(--font-round);
  font-size: 2.2rem;
  /* 22px */
  color: var(--color-blue-dark);
}

:root .p-trial__tel-hours {
  display: block;
  font-size: 1.2rem;
  /* 12px */
  font-weight: 400;
  color: var(--color-text);
}

:root .p-trial__selected {
  padding: 0.8rem 1.6rem;
  /* 8px 16px */
  font-weight: 700;
  color: var(--color-ink);
  background: var(--color-yellow-light);
  border-radius: var(--radius-sm);
}

:root .p-trial__contact {
  margin-top: 2.4rem;
  /* 24px */
  padding-top: 2.4rem;
  /* 24px */
  border-top: 0.2rem dashed var(--color-line);
  /* 2px */
}

:root .p-trial__contact-title {
  font-size: 1.4rem;
  /* 14px */
  font-weight: 700;
  color: var(--color-ink);
}

:root .p-trial__contact-link {
  display: inline-block;
  margin-top: 0.4rem;
  /* 4px */
  font-weight: 700;
  color: var(--color-blue-dark);
  text-decoration: underline;
  text-underline-offset: 0.4rem;
  /* 4px */
}

:root .p-float {
  position: fixed;
  left: 1.2rem;
  /* 12px */
  right: 1.2rem;
  /* 12px */
  bottom: 1.2rem;
  /* 12px */
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  /* 12px */
  padding: 1.2rem 1.6rem;
  /* 12px 16px */
  font-family: var(--font-round);
  font-weight: 700;
  color: var(--color-ink);
  background: var(--color-yellow);
  border: 0.3rem solid var(--color-ink);
  /* 3px */
  border-radius: 9999px;
  box-shadow: 0 0.4rem 0 var(--color-ink);
  /* 4px */
  transition: transform 0.2s ease;
}

@media (min-width: 768px) {
  :root .p-float {
    left: auto;
    right: 0;
    bottom: auto;
    top: 50%;
    flex-direction: column;
    gap: 0.8rem;
    /* 8px */
    padding: 2.4rem 1.2rem;
    /* 24px 12px */
    border-right: 0;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    box-shadow: none;
    transform: translateY(-50%);
    writing-mode: vertical-rl;
  }
}

:root .p-float:hover {
  transform: translateY(-0.2rem);
  /* -2px */
}

@media (min-width: 768px) {
  :root .p-float:hover {
    transform: translate(-0.4rem, -50%);
    /* -4px */
  }
}

:root .p-float__sub {
  font-size: 1.2rem;
  /* 12px */
}

:root .p-float__main {
  font-size: 1.8rem;
  /* 18px */
  letter-spacing: 0.08em;
}

:root .p-page-head {
  position: relative;
  padding-block: 4rem 6.4rem;
  /* 40px 64px（下は波の分） */
  background: var(--color-sky);
  background-image: radial-gradient(circle, rgba(75, 140, 245, 0.14) 0.4rem, transparent 0.45rem);
  background-size: 3.2rem 3.2rem;
  /* 32px ドット */
}

@media (min-width: 768px) {
  :root .p-page-head {
    padding-block: 6.4rem 8.8rem;
    /* 64px 88px */
  }
}

:root .p-page-head__inner {
  position: relative;
  z-index: 1;
}

:root .p-page-head__en {
  font-family: var(--font-round);
  font-size: 1.3rem;
  /* 13px */
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--color-blue-deep);
}

@media (min-width: 768px) {
  :root .p-page-head__en {
    font-size: 1.4rem;
    /* 14px */
  }
}

:root .p-page-head__title {
  margin-top: 0.4rem;
  /* 4px */
  font-family: var(--font-round);
  font-size: 3rem;
  /* 30px */
  line-height: 1.35;
  color: var(--color-ink);
}

@media (min-width: 768px) {
  :root .p-page-head__title {
    font-size: 4.4rem;
    /* 44px */
  }
}

:root .p-page-head__breadcrumb {
  margin-top: 1.6rem;
  /* 16px */
}

:root .p-page-head__breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0;
  /* 4px */
  font-size: 1.3rem;
  /* 13px */
  line-height: 1.6;
  color: var(--color-text);
}

:root .p-page-head__breadcrumb-list li + li::before {
  content: "›";
  margin-inline: 0.8rem;
  /* 8px */
  color: var(--color-muted);
}

:root .p-page-head__breadcrumb-list a {
  color: var(--color-blue-deep);
  text-decoration: underline;
  text-underline-offset: 0.3rem;
  /* 3px */
}

:root .p-page-head__wave {
  position: absolute;
  right: 0;
  bottom: -0.1rem;
  /* 1px：サブピクセルの隙間を出さない */
  left: 0;
  width: 100%;
  height: 3.2rem;
  /* 32px */
}

@media (min-width: 768px) {
  :root .p-page-head__wave {
    height: 4.8rem;
    /* 48px */
  }
}

:root .p-greeting {
  padding-block: 6.4rem;
  /* 64px */
}

@media (min-width: 768px) {
  :root .p-greeting {
    padding-block: 9.6rem;
    /* 96px */
  }
}

:root .p-greeting__inner {
  display: flex;
  flex-direction: column;
  gap: 3.2rem;
  /* 32px */
}

@media (min-width: 768px) {
  :root .p-greeting__inner {
    flex-direction: row;
    align-items: center;
    gap: 5.6rem;
    /* 56px */
  }
}

:root .p-greeting__visual {
  margin: 0;
}

@media (min-width: 768px) {
  :root .p-greeting__visual {
    flex: 0 1 46rem;
    /* 460px */
    min-width: 0;
  }
}

:root .p-greeting__visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 0.3rem solid var(--color-ink);
  /* 3px */
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-pop);
}

:root .p-greeting__body {
  min-width: 0;
}

@media (min-width: 768px) {
  :root .p-greeting__body {
    flex: 1 1 0;
  }
}

:root .p-greeting__body .c-heading {
  margin-bottom: 2.4rem;
  /* 24px */
}

:root .p-greeting__text + .p-greeting__text {
  margin-top: 1.6rem;
  /* 16px */
}

:root .p-greeting__sign {
  margin-top: 2.4rem;
  /* 24px */
  font-size: 1.4rem;
  /* 14px */
  text-align: right;
  color: var(--color-muted);
}

:root .p-greeting__sign-name {
  display: block;
  font-family: var(--font-round);
  font-size: 2rem;
  /* 20px */
  font-weight: 700;
  color: var(--color-ink);
}

:root .p-policy {
  padding-block: 6.4rem;
  /* 64px */
  background: var(--color-cream);
}

@media (min-width: 768px) {
  :root .p-policy {
    padding-block: 9.6rem;
    /* 96px */
  }
}

:root .p-policy__list {
  display: grid;
  gap: 2.4rem;
  /* 24px */
}

@media (min-width: 768px) {
  :root .p-policy__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3.2rem;
    /* 32px */
  }
}

:root .p-policy__item {
  position: relative;
  padding: 4rem 2.4rem 3.2rem;
  /* 40px 24px 32px */
  background: var(--color-white);
  border: 0.3rem solid var(--color-ink);
  /* 3px */
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-pop);
}

:root .p-policy__num {
  position: absolute;
  top: -2rem;
  /* -20px：数字の玉を枠の上辺に重ねる */
  left: 2.4rem;
  /* 24px */
  display: grid;
  place-items: center;
  width: 4.8rem;
  /* 48px */
  height: 4.8rem;
  font-family: var(--font-round);
  font-size: 1.8rem;
  /* 18px */
  font-weight: 700;
  line-height: 1;
  color: var(--color-ink);
  background: var(--color-yellow);
  border: 0.3rem solid var(--color-ink);
  /* 3px */
  border-radius: 50%;
}

:root .p-policy__title {
  font-family: var(--font-round);
  font-size: 2rem;
  /* 20px */
  line-height: 1.45;
  color: var(--color-ink);
}

:root .p-policy__text {
  margin-top: 1.2rem;
  /* 12px */
  font-size: 1.5rem;
  /* 15px */
}

:root .p-outline {
  padding-block: 6.4rem;
  /* 64px */
}

@media (min-width: 768px) {
  :root .p-outline {
    padding-block: 9.6rem;
    /* 96px */
  }
}

:root .p-outline__table {
  overflow: hidden;
  margin: 0;
  background: var(--color-white);
  border: 0.3rem solid var(--color-ink);
  /* 3px */
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-pop);
}

:root .p-outline__table table {
  width: 100%;
  border: 0;
  border-collapse: collapse;
  font-size: inherit;
}

:root .p-outline__table tr {
  display: grid;
}

@media (min-width: 768px) {
  :root .p-outline__table tr {
    grid-template-columns: 18rem minmax(0, 1fr);
    /* 180px */
  }
}

:root .p-outline__table tr + tr {
  border-top: 0.2rem dashed var(--color-line);
  /* 2px */
}

:root .p-outline__table th,
:root .p-outline__table td {
  padding: 0;
  border: 0;
  background: none;
  line-height: 1.8;
  text-align: left;
  vertical-align: top;
}

:root .p-outline__table th {
  padding: 1.6rem 2rem 0;
  /* 16px 20px 0 */
  font-family: var(--font-round);
  font-size: 1.4rem;
  /* 14px */
  font-weight: 700;
  color: var(--color-blue-deep);
}

@media (min-width: 768px) {
  :root .p-outline__table th {
    padding: 2rem 2.4rem;
    /* 20px 24px */
    font-size: 1.5rem;
    /* 15px */
    background: var(--color-sky);
  }
}

:root .p-outline__table td {
  padding: 0.4rem 2rem 1.6rem;
  /* 4px 20px 16px */
  color: var(--color-ink);
}

@media (min-width: 768px) {
  :root .p-outline__table td {
    padding: 2rem 2.4rem;
    /* 20px 24px */
  }
}

:root .p-history {
  padding-block: 0 6.4rem;
  /* 0 64px（概要と同じ白地が続くので上は詰める） */
}

@media (min-width: 768px) {
  :root .p-history {
    padding-block: 0 9.6rem;
    /* 0 96px */
  }
}

:root .p-history__list {
  position: relative;
  display: grid;
  gap: 2rem;
  /* 20px */
  padding-left: 2.4rem;
  /* 24px */
  border-left: 0.3rem solid var(--color-ink);
  /* 3px */
  margin-left: 0.8rem;
  /* 8px */
}

:root .p-history__list li {
  position: relative;
  display: grid;
  gap: 0.2rem;
  /* 2px */
  color: var(--color-ink);
}

@media (min-width: 768px) {
  :root .p-history__list li {
    grid-template-columns: 8rem minmax(0, 1fr);
    /* 80px */
    gap: 1.6rem;
    /* 16px */
    align-items: baseline;
  }
}

:root .p-history__list li::before {
  content: "";
  position: absolute;
  top: 0.8rem;
  /* 8px */
  left: -3.45rem;
  /* 線の中心に乗せる */
  width: 1.6rem;
  /* 16px */
  height: 1.6rem;
  background: var(--color-yellow);
  border: 0.3rem solid var(--color-ink);
  /* 3px */
  border-radius: 50%;
}

:root .p-history__year {
  font-family: var(--font-round);
  font-size: 1.8rem;
  /* 18px */
  font-weight: 700;
  line-height: 1.6;
  color: var(--color-blue-deep);
}

:root .p-page-cta {
  padding-block: 5.6rem;
  /* 56px */
  text-align: center;
  background: var(--color-yellow);
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.45) 0.4rem, transparent 0.45rem);
  background-size: 3.2rem 3.2rem;
  /* 32px ドット */
}

@media (min-width: 768px) {
  :root .p-page-cta {
    padding-block: 8rem;
    /* 80px */
  }
}

:root .p-page-cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

:root .p-page-cta__title {
  font-family: var(--font-round);
  font-size: 2.8rem;
  /* 28px */
  line-height: 1.4;
  color: var(--color-ink);
}

@media (min-width: 768px) {
  :root .p-page-cta__title {
    font-size: 3.6rem;
    /* 36px */
  }
}

:root .p-page-cta__lead {
  margin-top: 1.2rem;
  /* 12px */
  color: var(--color-ink);
}

:root .p-page-cta__btns {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
  /* 16px */
  width: 100%;
  margin-top: 2.8rem;
  /* 28px */
}

@media (min-width: 768px) {
  :root .p-page-cta__btns {
    flex-direction: row;
    justify-content: center;
  }
}

:root .p-page-cta__tel {
  margin-top: 2.4rem;
  /* 24px */
  font-size: 1.3rem;
  /* 13px */
  font-weight: 700;
  color: var(--color-ink);
}

:root .p-page-cta__tel-num {
  margin-left: 0.8rem;
  /* 8px */
  font-family: var(--font-round);
  font-size: 2.2rem;
  /* 22px */
}

:root .p-page-cta__tel-hours {
  display: block;
  font-size: 1.2rem;
  /* 12px */
  font-weight: 400;
}

:root .p-form-page {
  padding-block: 5.6rem 8rem;
  /* 56px 80px */
}

@media (min-width: 768px) {
  :root .p-form-page {
    padding-block: 8rem 11.2rem;
    /* 80px 112px */
  }
}

:root .p-form-page__inner {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  /* 40px */
}

@media (min-width: 1080px) {
  :root .p-form-page__inner {
    flex-direction: row;
    align-items: flex-start;
    gap: 5.6rem;
    /* 56px */
  }
}

@media (min-width: 1080px) {
  :root .p-form-page__aside {
    position: sticky;
    top: calc(var(--header-h) + 2.4rem);
    /* ヘッダーの下 24px */
    flex: 0 0 34rem;
    /* 340px */
  }
}

:root .p-form-page__title {
  font-family: var(--font-round);
  font-size: 2.4rem;
  /* 24px */
  line-height: 1.45;
  color: var(--color-ink);
}

@media (min-width: 768px) {
  :root .p-form-page__title {
    font-size: 2.8rem;
    /* 28px */
  }
}

:root .p-form-page__lead {
  margin-top: 1.6rem;
  /* 16px */
}

:root .p-form-page__points {
  display: grid;
  gap: 0.8rem;
  /* 8px */
  margin-top: 2rem;
  /* 20px */
}

:root .p-form-page__points li {
  position: relative;
  padding-left: 2.8rem;
  /* 28px */
  font-weight: 700;
  color: var(--color-ink);
}

:root .p-form-page__points li::before {
  content: "";
  position: absolute;
  top: 0.45rem;
  left: 0;
  width: 2rem;
  /* 20px */
  height: 2rem;
  background: var(--color-yellow);
  border: 0.2rem solid var(--color-ink);
  /* 2px */
  border-radius: 50%;
}

:root .p-form-page__points li::after {
  content: "";
  position: absolute;
  top: 0.95rem;
  left: 0.65rem;
  width: 0.7rem;
  /* 7px */
  height: 0.4rem;
  /* 4px */
  border-bottom: 0.2rem solid var(--color-ink);
  border-left: 0.2rem solid var(--color-ink);
  transform: rotate(-45deg);
}

:root .p-form-page__tel {
  margin-top: 2.4rem;
  /* 24px */
  padding: 1.6rem 2rem;
  /* 16px 20px */
  background: var(--color-sky);
  border-radius: var(--radius-sm);
}

:root .p-form-page__tel-label {
  display: block;
  font-size: 1.3rem;
  /* 13px */
  font-weight: 700;
  color: var(--color-ink);
}

:root .p-form-page__tel-num {
  font-family: var(--font-round);
  font-size: 2.4rem;
  /* 24px */
  font-weight: 700;
  color: var(--color-blue-deep);
}

:root .p-form-page__tel-hours {
  display: block;
  font-size: 1.2rem;
  /* 12px */
}

:root .p-form-page__main {
  min-width: 0;
  padding: 2.8rem 2rem;
  /* 28px 20px */
  background: var(--color-white);
  border: 0.3rem solid var(--color-ink);
  /* 3px */
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-pop);
}

@media (min-width: 768px) {
  :root .p-form-page__main {
    padding: 4rem 4.8rem;
    /* 40px 48px */
  }
}

@media (min-width: 1080px) {
  :root .p-form-page__main {
    flex: 1 1 0;
  }
}

:root .p-form-page__note,
:root .p-form-page__sample {
  font-size: 1.4rem;
  /* 14px */
  line-height: 1.7;
}

:root .p-form-page__note a {
  color: var(--color-blue-dark);
  text-decoration: underline;
  text-underline-offset: 0.3rem;
  /* 3px */
}

:root .p-form-page__sample {
  margin-top: 2.4rem;
  /* 24px */
  color: var(--color-muted);
}

:root .p-form__req,
:root .p-form__opt {
  display: inline-block;
  margin-inline: 0.8rem 0.4rem;
  /* 8px 4px */
  padding: 0.1rem 0.8rem;
  /* 1px 8px */
  font-size: 1.2rem;
  /* 12px */
  font-weight: 700;
  line-height: 1.6;
  vertical-align: 0.15em;
  border-radius: 9999px;
}

:root .p-form__req {
  color: var(--color-white);
  background: #d6336c;
  /* 白文字 4.9:1 */
}

:root .p-form__opt {
  color: var(--color-text);
  background: var(--color-line);
}

:root .p-form {
  margin-top: 2.8rem;
  /* 28px */
}

:root .p-form__row {
  display: grid;
  gap: 0.8rem;
  /* 8px */
  margin: 0;
  padding: 0;
  border: 0;
  min-inline-size: 0;
}

:root .p-form__row + .p-form__row {
  margin-top: 2.4rem;
  /* 24px */
}

:root .p-form__label {
  float: none;
  padding: 0;
  font-family: var(--font-round);
  font-size: 1.6rem;
  /* 16px */
  font-weight: 700;
  line-height: 1.6;
  color: var(--color-ink);
}

:root .p-form .wpcf7-form-control-wrap {
  display: block;
}

:root .p-form :is(.wpcf7-text, .wpcf7-email, .wpcf7-tel, .wpcf7-select, .wpcf7-textarea) {
  width: 100%;
  min-height: 5.6rem;
  /* 56px */
  padding: 1.4rem 1.6rem;
  /* 14px 16px */
  font: inherit;
  font-size: 1.6rem;
  /* 16px：iOS で拡大されない大きさ */
  line-height: 1.6;
  color: var(--color-ink);
  background: var(--color-cream);
  border: 0.2rem solid var(--color-ink);
  /* 2px */
  border-radius: var(--radius-sm);
  box-shadow: none;
  transition: background-color 0.2s;
}

:root .p-form .wpcf7-select {
  padding-right: 4.4rem;
  /* 44px */
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--color-ink) 50%), linear-gradient(135deg, var(--color-ink) 50%, transparent 50%);
  background-position: calc(100% - 2.2rem) 50%, calc(100% - 1.6rem) 50%;
  background-size: 0.6rem 0.6rem;
  background-repeat: no-repeat;
  cursor: pointer;
}

:root .p-form .wpcf7-textarea {
  min-height: 18rem;
  /* 180px */
  resize: vertical;
}

:root .p-form :is(.wpcf7-text, .wpcf7-email, .wpcf7-tel, .wpcf7-textarea)::placeholder {
  color: #8a8f99;
  /* 例示なので本文より薄く（cream 地 3.2:1） */
}

:root .p-form :is(.wpcf7-text, .wpcf7-email, .wpcf7-tel, .wpcf7-select, .wpcf7-textarea):focus {
  background-color: var(--color-white);
  outline: 0.3rem solid var(--color-blue);
  /* 3px */
  outline-offset: 0.2rem;
  /* 2px */
}

:root .p-form [aria-invalid="true"]:is(.wpcf7-text, .wpcf7-email, .wpcf7-tel, .wpcf7-select, .wpcf7-textarea) {
  border-color: #d6336c;
}

:root .p-form .p-form__choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  /* 8px */
}

:root .p-form .p-form__choices .wpcf7-list-item {
  margin: 0;
}

:root .p-form .p-form__choices label {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  /* 8px */
  min-height: 4.8rem;
  /* 48px：タップしやすい高さ */
  padding: 0.8rem 1.6rem;
  /* 8px 16px */
  font-size: 1.5rem;
  /* 15px */
  line-height: 1.4;
  color: var(--color-ink);
  background: var(--color-white);
  border: 0.2rem solid var(--color-ink);
  /* 2px */
  border-radius: 9999px;
  cursor: pointer;
  transition: background-color 0.2s;
}

:root .p-form .p-form__choices label:has(input:checked) {
  font-weight: 700;
  background: var(--color-yellow);
}

:root .p-form .p-form__choices input {
  width: 1.8rem;
  /* 18px */
  height: 1.8rem;
  margin: 0;
  accent-color: var(--color-ink);
}

:root .p-form__consent {
  margin-top: 2.8rem;
  /* 28px */
  padding: 1.6rem 2rem;
  /* 16px 20px */
  background: var(--color-sky);
  border-radius: var(--radius-sm);
}

:root .p-form__consent .wpcf7-list-item {
  margin: 0;
}

:root .p-form__consent label {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  /* 12px */
  font-weight: 700;
  color: var(--color-ink);
  cursor: pointer;
}

:root .p-form__consent input {
  width: 2.2rem;
  /* 22px */
  height: 2.2rem;
  margin: 0;
  accent-color: var(--color-ink);
}

:root .p-form__consent a {
  color: var(--color-blue-deep);
  text-decoration: underline;
  text-underline-offset: 0.3rem;
  /* 3px */
}

:root .p-form__submit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
  /* 16px */
  margin-top: 3.2rem;
  /* 32px */
}

:root .p-form .p-form__button {
  width: 100%;
  max-width: 36rem;
  /* 360px */
  min-height: 6.4rem;
  /* 64px */
  padding: 1.6rem 2.4rem;
  /* 16px 24px */
  font-family: var(--font-round);
  font-size: 1.8rem;
  /* 18px */
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-ink);
  background: var(--color-yellow);
  border: 0.3rem solid var(--color-ink);
  /* 3px */
  border-radius: 9999px;
  box-shadow: 0 0.5rem 0 var(--color-ink);
  /* 5px */
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

:root .p-form .p-form__button:not(:disabled):hover {
  transform: translateY(0.3rem);
  /* 3px */
  box-shadow: 0 0.2rem 0 var(--color-ink);
  /* 2px */
}

:root .p-form .p-form__button:disabled {
  color: var(--color-muted);
  background: var(--color-line);
  border-color: var(--color-muted);
  box-shadow: none;
  cursor: not-allowed;
}

:root .p-form .wpcf7-spinner {
  margin: 0;
}

:root .p-form .wpcf7-not-valid-tip {
  margin-top: 0.4rem;
  /* 4px */
  font-size: 1.4rem;
  /* 14px */
  font-weight: 700;
  color: #c2255c;
  /* 白地 5.5:1 */
}

:root .p-form .wpcf7-response-output {
  margin: 2.4rem 0 0;
  /* 24px */
  padding: 1.6rem 2rem;
  /* 16px 20px */
  font-size: 1.5rem;
  /* 15px */
  font-weight: 700;
  line-height: 1.7;
  border: 0.2rem solid var(--color-ink);
  /* 2px */
  border-radius: var(--radius-sm);
}

:root .p-form.invalid .wpcf7-response-output,
:root .p-form.unaccepted .wpcf7-response-output,
:root .p-form.failed .wpcf7-response-output,
:root .p-form.aborted .wpcf7-response-output,
:root .p-form.spam .wpcf7-response-output {
  color: #c2255c;
  border-color: #c2255c;
}

:root .p-form.sent .wpcf7-response-output {
  color: var(--color-ink);
  background: var(--color-yellow-light);
}

:root .p-doc {
  padding-block: 5.6rem 8rem;
  /* 56px 80px */
}

@media (min-width: 768px) {
  :root .p-doc {
    padding-block: 8rem 11.2rem;
    /* 80px 112px */
  }
}

:root .p-doc__sample {
  padding: 1.2rem 1.6rem;
  /* 12px 16px */
  font-size: 1.4rem;
  /* 14px */
  color: var(--color-ink);
  background: var(--color-yellow-light);
  border-radius: var(--radius-sm);
}

:root .p-doc__title {
  margin-top: 4rem;
  /* 40px */
  padding-bottom: 0.8rem;
  /* 8px */
  font-family: var(--font-round);
  font-size: 2rem;
  /* 20px */
  line-height: 1.45;
  color: var(--color-ink);
  border-bottom: 0.3rem solid var(--color-yellow);
  /* 3px */
}

@media (min-width: 768px) {
  :root .p-doc__title {
    font-size: 2.2rem;
    /* 22px */
  }
}

:root .p-doc__inner > p:not([class]),
:root .p-doc__list {
  margin-top: 1.2rem;
  /* 12px */
}

:root .p-doc__list {
  display: grid;
  gap: 0.4rem;
  /* 4px */
}

:root .p-doc__list li {
  position: relative;
  padding-left: 2rem;
  /* 20px */
}

:root .p-doc__list li::before {
  content: "";
  position: absolute;
  top: 0.75em;
  left: 0.4rem;
  /* 4px */
  width: 0.8rem;
  /* 8px */
  height: 0.8rem;
  background: var(--color-blue);
  border-radius: 50%;
}

:root .p-doc__date {
  margin-top: 4rem;
  /* 40px */
  font-size: 1.4rem;
  /* 14px */
  text-align: right;
  color: var(--color-muted);
}

@media (min-width: 768px) {
  :root .u-br-sp {
    display: none;
  }
}

:root .u-br-pc {
  display: none;
}

@media (min-width: 768px) {
  :root .u-br-pc {
    display: inline;
  }
}

:root .u-visually-hidden {
  position: absolute;
  width: 0.1rem;
  height: 0.1rem;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

:root .u-demo-note {
  padding: 0.8rem 1.6rem;
  /* 8px 16px */
  font-size: 1.2rem;
  /* 12px */
  line-height: 1.5;
  text-align: center;
  color: var(--color-white);
  background: var(--color-ink);
}
