@charset "UTF-8";
/* CSS Document */
html {
  height: 100%;
}

body {
  font-family: "YakuHanJP", "Lato", "Noto Sans JP", "游ゴシック Medium", 游ゴシック体, "Yu Gothic Medium", YuGothic, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", メイリオ, Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  width: 100%;
  height: 100%;
  color: #333;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.1em;
  margin: 0 auto;
  background: #fff;
}

.cut {
  overflow: hidden;
  zoom: 1;
}

.sentence p + p {
  margin-top: 20px;
}

img {
  max-width: 100%;
  height: auto;
}

.ggmap {
  width: 100%;
  height: 350px;
}

input, select {
  vertical-align: middle;
  margin-bottom: 3px;
  margin-right: 5px;
}

.phone {
  display: none;
}

.pc {
  display: block;
}

.tcen {
  text-align: center;
}

@media screen and (max-width: 800px) {
  .tcen {
    text-align: left;
  }
  body {
    font-size: 13px;
    line-height: 1.5;
  }
  .phone {
    display: block;
  }
  .pc {
    display: none !important;
  }
}
#page-top {
  position: fixed;
  bottom: 65px;
  right: 5px;
  font-size: 12px;
  font-weight: bold;
  z-index: 9999;
}
#page-top a {
  color: #fff;
  font-size: 25px;
  text-decoration: none;
  width: 45px;
  height: 45px;
  line-height: 45px;
  text-align: center;
  display: block;
  border-radius: 45px;
  background: #5c4233;
  box-shadow: rgba(0, 0, 0, 0.2) 2px 2px 2px;
}
#page-top a:hover {
  opacity: 0.6;
  text-decoration: none;
}

.mtext1 {
  font-size: 2rem;
  line-height: 1.8;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  letter-spacing: 0.2em;
}
.mtext1.type1 {
  margin-bottom: 25px;
  text-align: center;
}
.mtext1.type1 br {
  display: none;
}

@media all and (max-width: 896px) {
  .mtext1 {
    font-size: 1.8rem;
  }
}
@media all and (max-width: 639px) {
  .mtext1 {
    font-size: 1.6rem;
    line-height: 1.6;
  }
  .mtext1.type1 {
    margin-bottom: 20px;
  }
  .mtext1.type1 br {
    display: block;
  }
}
.mtext2 {
  font-size: 2.4rem;
  line-height: 1.6;
}
.mtext2.type1 {
  line-height: 1.6;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  letter-spacing: 0.2em;
  margin-bottom: 30px;
}

@media all and (max-width: 896px) {
  .mtext2 {
    font-size: 2.2rem;
  }
}
@media all and (max-width: 639px) {
  .mtext2 {
    font-size: 2rem;
  }
  .mtext2.type1 {
    margin-bottom: 25px;
  }
}
.mtext3 {
  font-size: 4rem;
  line-height: 1.6;
  text-align: center;
}

@media all and (max-width: 896px) {
  .mtext3 {
    font-size: 3rem;
  }
}
@media all and (max-width: 639px) {
  .mtext3 {
    font-size: 2.4rem;
  }
}
.loader {
  align-items: center;
  background-image: url(https://ros-cdn.s3.ap-northeast-1.amazonaws.com/hp/img/ros_keiyaku/28753/bg-main.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  bottom: 0;
  display: flex;
  justify-content: center;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 9999;
}
.loader.off {
  display: none;
}
@keyframes loader {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }
}
/*画面遷移の後現れるコンテンツ設定*/
#page {
  opacity: 0; /*はじめは透過0に*/
}

/*bodyにappearクラスがついたら出現*/
body.appear #page {
  animation-name: PageAnimeAppear;
  animation-duration: 1s;
  animation-delay: 0.8s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes PageAnimeAppear {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
/* ==========================================================
   iMAG style.scss
   1. 全ページ共通 / 2. トップ / 3. スクール / 4. 承継 / 5. イベント / 6. 不動産 / 7. お問い合わせ
   ========================================================== */
/* ==========================================================
   1. 全ページ共通（common）
   ========================================================== */
:root {
  --c-ink: #111111;
  --c-sub: #555555;
  --c-line: #DADAD5;
  --c-bg: #F7F7F5;
  --c-white: #FFFFFF;
  --c-school: #d24e49;
  --c-school-dark: #d24e49;
  --c-succession: #533ec7;
  --c-succession-dark: #422BAE;
  --c-event: #e4a14a;
  --c-event-dark: #A35F00;
  --c-realestate: #5ecbe8;
  --c-realestate-dark: #00849A;
  --f-jp: "Noto Sans JP", sans-serif;
  --f-en: "Montserrat", sans-serif;
  --f-hand: "Zen Kurenaido", sans-serif;
  --w-max: 1360px;
  --pad-x: clamp(16px, 3vw, 40px);
  --header-h: 88px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: var(--f-jp);
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
}
body.is-menu-open {
  overflow: hidden;
}

h1, h2, h3, h4, p, ul, ol, dl, dd, figure {
  margin: 0;
  padding: 0;
}

ul, ol {
  list-style: none;
}

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

a {
  color: var(--c-ink);
  text-decoration: none;
  transition: color 0.3s var(--ease), background-color 0.3s var(--ease), opacity 0.3s var(--ease);
}
a:hover {
  color: var(--c-sub);
}

input, textarea, select, button {
  font-family: inherit;
}

button {
  cursor: pointer;
}

/* ---------- layout ---------- */
.l-container {
  max-width: var(--w-max);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

.l-section {
  padding-top: clamp(64px, 8vw, 112px);
  padding-bottom: clamp(64px, 8vw, 112px);
}
.l-section--white {
  background: var(--c-white);
}

.u-nowrap {
  white-space: nowrap;
}

.u-en {
  font-family: var(--f-en);
}

.u-sp {
  display: none;
}

@media (max-width: 767px) {
  .u-pc {
    display: none;
  }
  .u-sp {
    display: inline;
  }
}
/* ---------- header ---------- */
.l-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid #E6E6E2;
  transition: box-shadow 0.3s var(--ease);
}
.l-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.l-header.is-scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  /* 2026-10 修正：高さ変化によるピクつき防止のため padding 変更を削除 */
}
.l-header__inner {
  position: relative;
  max-width: var(--w-max);
  margin: 0 auto;
  padding: 16px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.c-logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.c-logo__main {
  font-family: var(--f-en);
  font-weight: 800;
  font-size: 30px;
  letter-spacing: 0.02em;
  line-height: 1;
}
.c-logo__sub {
  font-family: var(--f-en);
  font-weight: 600;
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--c-sub);
}
.c-logo:hover {
  opacity: 0.7;
  color: var(--c-ink);
}

.g-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.4vw, 36px);
}
.g-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 36px);
}
.g-nav__item--home .g-nav__link {
  --bar: var(--c-ink);
}
.g-nav__item--school .g-nav__link {
  --bar: var(--c-school);
}
.g-nav__item--succession .g-nav__link {
  --bar: var(--c-succession);
}
.g-nav__item--event .g-nav__link {
  --bar: var(--c-event);
}
.g-nav__item--realestate .g-nav__link {
  --bar: var(--c-realestate);
}
.g-nav__link {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-bottom: 6px;
}
.g-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--bar, var(--c-ink));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}
.g-nav__link:hover {
  color: var(--c-ink);
}
.g-nav__link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.g-nav__link.is-current::after {
  transform: scaleX(1);
  transform-origin: left;
}
.g-nav__en {
  font-family: var(--f-en);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
}
.g-nav__jp {
  font-size: 10px;
  color: var(--c-sub);
}
.g-nav__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.g-nav__close {
  display: none;
}

.c-insta {
  width: 38px;
  height: 38px;
  border: 1px solid var(--c-ink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.c-insta svg {
  width: 18px;
  height: 18px;
}
.c-insta:hover {
  background: var(--c-ink);
  color: var(--c-white);
}

.c-hamburger {
  display: none;
}

@media (max-width: 1080px) {
  :root {
    --header-h: 70px;
  }
  .c-logo__main {
    font-size: 26px;
  }
  .c-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 48px;
    height: 48px;
    padding: 0 12px;
    border: none;
    background: none;
  }
  .c-hamburger span {
    display: block;
    height: 2px;
    background: var(--c-ink);
    transition: transform 0.3s var(--ease);
  }
  .c-hamburger:hover span:nth-child(2) {
    transform: scaleX(0.6);
    transform-origin: right;
  }
  .g-nav {
    position: fixed;
    inset: 0;
    z-index: 200;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 32px;
    padding: 88px 32px 40px;
    background: var(--c-white);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
  }
  .g-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .g-nav.is-open .g-nav__item {
    animation: navIn 0.5s var(--ease) both;
  }
  .g-nav.is-open .g-nav__item:nth-child(2) {
    animation-delay: 0.05s;
  }
  .g-nav.is-open .g-nav__item:nth-child(3) {
    animation-delay: 0.1s;
  }
  .g-nav.is-open .g-nav__item:nth-child(4) {
    animation-delay: 0.15s;
  }
  .g-nav.is-open .g-nav__item:nth-child(5) {
    animation-delay: 0.2s;
  }
  .g-nav__close {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 14px;
    right: var(--pad-x);
    width: 48px;
    height: 48px;
    border: 1px solid var(--c-ink);
    border-radius: 50%;
    background: var(--c-white);
    font-size: 26px;
    line-height: 1;
    color: var(--c-ink);
    transition: background-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
  }
  .g-nav__close:hover {
    background: var(--c-ink);
    color: var(--c-white);
    transform: rotate(90deg);
  }
  .g-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-top: 1px solid var(--c-line);
  }
  .g-nav__link {
    flex-direction: row;
    align-items: baseline;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--c-line);
  }
  .g-nav__link::after {
    height: 3px;
    bottom: -1px;
  }
  .g-nav__en {
    font-size: 18px;
  }
  .g-nav__jp {
    font-size: 12px;
  }
  .g-nav__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .g-nav__actions .c-btn {
    justify-content: center;
  }
  .g-nav__actions .c-insta {
    align-self: center;
    width: 48px;
    height: 48px;
  }
}
@keyframes navIn {
  from {
    opacity: 0;
    transform: translateX(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
/* ---------- buttons ---------- */
.c-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  border-radius: 999px;
  padding: 13px 24px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  background: var(--c-ink);
  color: var(--c-white);
  border: 1px solid var(--c-ink);
}
.c-btn::after {
  content: "→";
  font-family: var(--f-en);
  transition: transform 0.3s var(--ease);
}
.c-btn:hover {
  background: #333333;
  color: var(--c-white);
}
.c-btn:hover::after {
  transform: translateX(5px);
}
.c-btn--lg {
  padding: 16px 32px;
  font-size: 14px;
}
.c-btn--xl {
  padding: 20px 44px;
  font-size: 16px;
}
.c-btn--white {
  background: var(--c-white);
  color: var(--c-ink);
  border-color: var(--c-white);
}
.c-btn--white:hover {
  background: var(--c-ink);
  color: var(--c-white);
  border-color: var(--c-ink);
}
.c-btn--outline {
  background: transparent;
  color: var(--c-ink);
}
.c-btn--outline:hover {
  background: var(--c-ink);
  color: var(--c-white);
}
.c-btn--outline-white {
  background: transparent;
  color: var(--c-white);
  border-color: var(--c-white);
}
.c-btn--outline-white:hover {
  background: var(--c-white);
  color: var(--c-ink);
}

.c-more {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--f-en);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.1em;
}
.c-more::after {
  content: "";
  width: 36px;
  height: 1px;
  background: currentColor;
  transition: width 0.35s var(--ease);
}
.c-more:hover::after {
  width: 56px;
}

/* ---------- headings ---------- */
.c-num {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--f-en);
}
.c-num__no {
  font-weight: 600;
  font-size: 34px;
  line-height: 1;
}
.c-num__line {
  width: 40px;
  height: 1px;
  background: currentColor;
}
.c-num__label {
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.c-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--f-en);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: #fff;
}
.c-eyebrow--line::after {
  content: "";
  width: 56px;
  height: 1px;
  background: currentColor;
}

.c-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.c-head__title {
  font-weight: 900;
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.5;
}
.c-head__lead {
  font-size: 14px;
  line-height: 1.9;
  color: #444444;
}

.c-hand {
  display: flex;
  flex-direction: column;
  gap: 10px;
  transform: rotate(-4deg);
}
.c-hand__text {
  font-family: var(--f-hand);
  line-height: 1.6;
  white-space: nowrap;
}
.c-hand__line {
  height: 2px;
  width: 80%;
  border-radius: 2px;
  background: currentColor;
}

/* ---------- page hero (下層共通) ---------- */
.p-hero {
  padding-top: clamp(16px, 2vw, 28px);
}
.p-hero__box {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  background: var(--c-white);
}
.p-hero__text {
  flex: 1 1 380px;
  min-height: 420px;
  padding: clamp(32px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: var(--accent);
  color: var(--c-white);
}
.p-hero__title {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.p-hero__en {
  font-family: var(--f-en);
  font-weight: 800;
  font-size: clamp(40px, 4.6vw, 64px);
  line-height: 1;
}
.p-hero__jp {
  font-weight: 900;
  font-size: clamp(20px, 1.9vw, 26px);
  line-height: 1.5;
}
.p-hero__lead {
  margin-top: auto;
  font-size: 15px;
  line-height: 2;
  text-wrap: pretty;
}
.p-hero__img {
  position: relative;
  flex: 1.6 1 480px;
  min-height: 420px;
  overflow: hidden;
}
.p-hero__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

/* ---------- CTA (下層共通) ---------- */
.c-cta {
  padding-top: clamp(48px, 6vw, 88px);
  padding-bottom: clamp(48px, 6vw, 88px);
}
.c-cta__box {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding: clamp(32px, 4vw, 56px);
  background: var(--accent);
  color: var(--c-white);
}
.c-cta__title {
  font-weight: 900;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.5;
}

main .c-cta .c-eyebrow,
main .c-cta .c-cta__title {
  color: var(--c-white);
}

/* ---------- cards / lists ---------- */
.c-grid {
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(auto-fit, minmax(var(--min, 280px), 1fr));
}
.c-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 900px) {
  .c-grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .c-grid--3 {
    grid-template-columns: minmax(0, 1fr);
  }
}

.c-card {
  background: var(--c-white);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: 3px solid var(--accent);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.c-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}
.c-card__no {
  font-family: var(--f-en);
  font-weight: 700;
  font-size: 13px;
  color: var(--accent-dark, var(--accent));
}
.c-card__title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.65;
}
.c-card__text {
  font-size: 14px;
  line-height: 1.9;
  color: #333333;
}

.c-photo {
  overflow: hidden;
}
.c-photo img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.c-photo:hover img {
  transform: scale(1.05);
}

a:hover .c-photo img {
  transform: scale(1.05);
}

.c-steps {
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  counter-reset: step;
}
.c-steps__item {
  position: relative;
  background: var(--c-white);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: 3px solid var(--accent);
}
.c-steps__no {
  font-family: var(--f-en);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--accent-dark, var(--accent));
}
.c-steps__text {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
}

/* ---------- footer ---------- */
.l-footer {
  background: var(--c-ink);
  color: var(--c-white);
}
.l-footer a {
  color: var(--c-white);
}
.l-footer a:hover {
  color: #BDBDB8;
}
.l-footer__inner {
  max-width: var(--w-max);
  margin: 0 auto;
  padding: 56px var(--pad-x) 28px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.l-footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}
.l-footer__company {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 13px;
  line-height: 1.9;
}
.l-footer__logo {
  font-family: var(--f-en);
  font-weight: 800;
  font-size: 30px;
  line-height: 1;
}
.l-footer__name {
  font-weight: 700;
}
.l-footer__address {
  color: #CFCFCA;
  font-style: normal;
}
.l-footer__navs {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
}
.l-footer__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13px;
}
.l-footer__col-title {
  font-family: var(--f-en);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #9A9A95;
}
.l-footer__col a {
  position: relative;
  align-self: flex-start;
}
.l-footer__col a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease);
}
.l-footer__col a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.l-footer .c-btn--white {
  align-self: flex-start;
  color: var(--c-ink);
}
.l-footer .c-btn--white:hover {
  color: var(--c-ink);
  background: #E6E6E2;
  border-color: #E6E6E2;
}
.l-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid #333333;
  padding-top: 20px;
  font-size: 11px;
  color: #9A9A95;
}
.l-footer__bottom a {
  color: #9A9A95;
}

/* ---------- page top ---------- */
.c-pagetop {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-ink);
  color: var(--c-white);
  font-family: var(--f-en);
  font-size: 18px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s, background-color 0.3s;
}
.c-pagetop.is-show {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.c-pagetop:hover {
  background: #333333;
  color: var(--c-white);
  transform: translateY(-3px);
}

/* ---------- scroll animation ---------- */
.js-fade {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.js-fade.is-show {
  opacity: 1;
  transform: none;
}

.js-fade-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.js-fade-left.is-show {
  opacity: 1;
  transform: none;
}

.js-reveal {
  position: relative;
  overflow: hidden;
}
.js-reveal::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent, var(--c-ink));
  transform-origin: right;
  transition: transform 1s var(--ease);
  z-index: 2;
}
.js-reveal.is-show::after {
  transform: scaleX(0);
}

.js-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js-stagger.is-show > * {
  opacity: 1;
  transform: none;
}
.js-stagger.is-show > *:nth-child(2) {
  transition-delay: 0.08s;
}
.js-stagger.is-show > *:nth-child(3) {
  transition-delay: 0.16s;
}
.js-stagger.is-show > *:nth-child(4) {
  transition-delay: 0.24s;
}
.js-stagger.is-show > *:nth-child(5) {
  transition-delay: 0.32s;
}
.js-stagger.is-show > *:nth-child(6) {
  transition-delay: 0.4s;
}
.js-stagger.is-show > *:nth-child(7) {
  transition-delay: 0.48s;
}
.js-stagger.is-show > *:nth-child(8) {
  transition-delay: 0.56s;
}
.js-stagger.is-show > *:nth-child(n+9) {
  transition-delay: 0.64s;
}

@media (prefers-reduced-motion: reduce) {
  .js-fade,
  .js-fade-left,
  .js-stagger > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .js-reveal::after {
    display: none;
  }
}
/* ---------- theme ---------- */
.t-school {
  --accent: var(--c-school);
  --accent-dark: var(--c-school-dark);
}

.t-succession {
  --accent: var(--c-succession);
  --accent-dark: var(--c-succession-dark);
}

.t-event {
  --accent: var(--c-event);
  --accent-dark: var(--c-event-dark);
}

.t-realestate {
  --accent: var(--c-realestate);
  --accent-dark: var(--c-realestate-dark);
}

/* ==========================================================
   2. トップページ（top）
   ========================================================== */
/* main visual */
.p-mv {
  position: relative;
  overflow: hidden;
  background: #BFD9EE;
  min-height: clamp(480px, 48vw, 720px);
  display: flex;
}
.p-mv::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(247, 247, 245, 0.55) 0%, rgba(247, 247, 245, 0) 38%);
}
.p-mv__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: 55% 40%;
     object-position: 55% 40%;
  animation: mvZoom 12s var(--ease) both;
}
.p-mv__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--w-max);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 96px) var(--pad-x);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}
.p-mv__copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.p-mv__title {
  font-family: var(--f-en);
  font-weight: 800;
  font-size: clamp(44px, 6.4vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.01em;
}
.p-mv__title span {
  display: block;
  overflow: hidden;
}
.p-mv__title span i {
  display: block;
  font-style: normal;
  animation: mvUp 1s var(--ease) both;
}
.p-mv__title span:nth-child(2) i {
  animation-delay: 0.1s;
}
.p-mv__title span:nth-child(3) i {
  animation-delay: 0.2s;
}
.p-mv__title span:nth-child(4) i {
  animation-delay: 0.3s;
}
.p-mv__sub {
  font-weight: 700;
  font-size: clamp(16px, 1.6vw, 22px);
  letter-spacing: 0.2em;
  animation: mvFade 1s 0.6s var(--ease) both;
}
.p-mv__lead {
  max-width: 340px;
  margin-top: clamp(0px, 2vw, 24px);
  background: rgba(255, 255, 255, 0.82);
  padding: 24px 26px;
  font-size: 15px;
  line-height: 2.1;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-wrap: pretty;
  animation: mvFade 1s 0.8s var(--ease) both;
}
@media (max-width: 767px) {
  .p-mv__lead {
    max-width: none;
  }
}

@keyframes mvZoom {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1);
  }
}
@keyframes mvUp {
  from {
    transform: translateY(105%);
  }
  to {
    transform: none;
  }
}
@keyframes mvFade {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
/* business */
.p-biz {
  padding-top: clamp(24px, 3vw, 40px);
  padding-bottom: clamp(24px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.p-biz__row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  background: var(--c-white);
}
.p-biz__text {
  flex: 1 1 360px;
  min-height: 300px;
  padding: clamp(28px, 3vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--accent);
  color: var(--c-white);
}
.p-biz__text .c-more {
  margin-top: auto;
  color: var(--c-white);
  align-self: flex-start;
}
.p-biz__text .c-more:hover {
  color: var(--c-white);
}
.p-biz__title {
  font-weight: 900;
  font-size: clamp(24px, 2.3vw, 32px);
  line-height: 1.4;
}
.p-biz__lead {
  font-size: 14px;
  line-height: 1.95;
  text-wrap: pretty;
}
.p-biz__media {
  flex: 1.7 1 480px;
  min-height: 300px;
  display: grid;
  gap: 6px;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
}
.p-biz__media--school {
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  grid-template-rows: 1fr 1fr;
}
.p-biz__media--event {
  grid-template-rows: 1fr 1fr;
}
.p-biz__media .c-photo {
  min-height: 0;
  position: relative;
}
.p-biz__media .c-photo img {
  position: absolute;
  inset: 0;
}
.p-biz__media .is-tall {
  grid-row: 1/span 2;
}
@media (max-width: 560px) {
  .p-biz__media {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
  }
  .p-biz__media .is-tall {
    grid-row: auto;
  }
  .p-biz__media .c-photo {
    aspect-ratio: 4/3;
  }
  .p-biz__media--school .c-photo:not(.is-tall), .p-biz__media--event .c-photo:not(.is-tall) {
    display: none;
  }
}
.p-biz__note {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.p-biz__note .c-hand {
  transform: rotate(-6deg);
}
.p-biz__note .c-hand__text {
  font-size: clamp(18px, 1.9vw, 28px);
}
.p-biz__note .c-hand__line {
  background: var(--accent);
  width: 85%;
}
.p-biz__note--succession {
  background: #F3F1FA;
  color: #3B2C8F;
}
.p-biz__note--realestate {
  color: #0B5E70;
  padding: 20px;
}
.p-biz__stack {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 6px;
  background: #EEF7F9;
}
.p-biz__stack .c-photo {
  aspect-ratio: 2.2/1;
}
.p-biz__stack .c-photo img {
  position: static;
}

/* about */
.p-about {
  position: relative;
  overflow: hidden;
  background: var(--c-ink);
  color: var(--c-white);
}
.p-about::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(17, 17, 17, 0.88) 0%, rgba(17, 17, 17, 0.6) 55%, rgba(17, 17, 17, 0.3) 100%);
}
.p-about__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.p-about__inner {
  position: relative;
  z-index: 2;
  padding-top: clamp(64px, 8vw, 120px);
  padding-bottom: clamp(64px, 8vw, 120px);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(32px, 5vw, 80px);
  align-items: flex-end;
}
.p-about__head {
  flex: 1 1 360px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.p-about__head .c-eyebrow {
  color: var(--c-white);
}
.p-about__title {
  font-weight: 500;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.6;
  letter-spacing: 0.08em;
}
.p-about__body {
  flex: 1.2 1 400px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.p-about__body .c-btn {
  align-self: flex-start;
}
.p-about__text {
  max-width: 560px;
  font-size: 15px;
  line-height: 2.1;
  letter-spacing: 0.04em;
  text-wrap: pretty;
}

/* ==========================================================
   3. ダンス・アクロバットスクール（school）
   ========================================================== */
.p-dance {
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.p-dance__intro {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(32px, 5vw, 80px);
  align-items: flex-start;
}
.p-dance__head {
  flex: 1 1 380px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.p-dance__head .c-eyebrow {
  color: var(--c-school-dark);
}
.p-dance__title {
  font-family: var(--f-en);
  font-weight: 800;
  font-size: clamp(32px, 3.6vw, 52px);
  line-height: 1.05;
}
.p-dance__lead {
  font-size: 15px;
  line-height: 2.05;
  text-wrap: pretty;
}

.p-philosophy {
  flex: 1 1 420px;
  border-top: 2px solid var(--c-ink);
}
.p-philosophy__title {
  font-family: var(--f-en);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  padding: 18px 0 6px;
  color: var(--c-sub);
}
.p-philosophy__item {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--c-line);
}
.p-philosophy__no {
  font-family: var(--f-en);
  font-weight: 700;
  color: var(--c-school);
  font-size: 14px;
}
.p-philosophy__text {
  font-weight: 700;
  font-size: 18px;
}

.p-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.p-gallery__side {
  flex: 1 1 220px;
  min-width: 0;
  height: clamp(360px, 40vw, 560px);
}
.p-gallery__side--top img {
  -o-object-position: 50% 30%;
     object-position: 50% 30%;
}
.p-gallery__center {
  flex: 2 1 440px;
  min-width: 0;
  height: clamp(360px, 40vw, 560px);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.p-gallery__center .c-photo {
  flex: 1 1 0;
  min-height: 0;
}

.p-instructor {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.p-instructor .c-eyebrow {
  color: var(--c-school-dark);
}
.p-instructor__list {
  display: grid;
  gap: 6px;
}
.p-instructor__card {
  background: var(--c-white);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}
.p-instructor__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}
.p-instructor__card:hover .c-photo img {
  transform: scale(1.05);
}
.p-instructor__photo {
  aspect-ratio: 4/3;
}
.p-instructor__photo img {
  -o-object-position: 50% 25%;
     object-position: 50% 25%;
}
.p-instructor__body {
  flex: 1;
  padding: 22px 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 3px solid var(--c-school);
}
.p-instructor__name {
  font-family: var(--f-en);
  font-weight: 800;
  font-size: 20px;
}
.p-instructor__genre {
  font-family: var(--f-en);
  font-weight: 500;
  font-size: 12px;
  color: var(--c-sub);
  letter-spacing: 0.04em;
}
.p-instructor__bio {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.85;
  color: #333333;
  text-wrap: pretty;
}

.p-acrobat {
  background: var(--c-white);
  border-top: 6px solid var(--c-school);
}
.p-acrobat .c-eyebrow {
  color: var(--c-school-dark);
}
.p-acrobat__inner {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.p-acrobat__img {
  flex: 1.2 1 440px;
  min-height: 420px;
  position: relative;
}
.p-acrobat__img img {
  position: absolute;
  inset: 0;
}
.p-acrobat__body {
  flex: 1 1 380px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.p-acrobat__body .c-btn {
  align-self: flex-start;
}
.p-acrobat__title {
  font-family: var(--f-en);
  font-weight: 800;
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.1;
}
.p-acrobat__text {
  font-size: 15px;
  line-height: 2.05;
  text-wrap: pretty;
}
.p-acrobat__profile {
  background: var(--c-bg);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.p-acrobat__name {
  font-family: var(--f-en);
  font-weight: 800;
  font-size: 18px;
}
.p-acrobat__genre {
  font-family: var(--f-en);
  font-size: 12px;
  color: var(--c-sub);
}
.p-acrobat__career {
  font-size: 13px;
  line-height: 1.8;
}

.p-class {
  padding-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.p-class .c-eyebrow {
  color: var(--c-school-dark);
}
.p-class__block {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.p-class__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}
.p-class__note {
  font-size: 12px;
  color: var(--c-sub);
  line-height: 1.8;
}

.c-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.c-tabs__btn {
  min-height: 44px;
  padding: 12px 26px;
  border: 1.5px solid var(--c-ink);
  border-radius: 999px;
  background: var(--c-white);
  color: var(--c-ink);
  font-size: 14px;
  font-weight: 700;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.c-tabs__btn:hover {
  background: #EDEDEA;
}
.c-tabs__btn.is-active {
  background: var(--c-ink);
  color: var(--c-white);
}

.js-tab-panel {
  display: none;
}
.js-tab-panel.is-active {
  display: block;
  animation: tabIn 0.5s var(--ease) both;
}

@keyframes tabIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.p-schedule__since {
  margin-bottom: 28px;
  font-size: 13px;
  color: var(--c-sub);
  font-weight: 700;
}
.p-schedule__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.p-schedule__day {
  display: flex;
  flex-wrap: wrap;
  background: var(--c-white);
}
.p-schedule__head {
  flex: 0 0 200px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--c-ink);
  color: var(--c-white);
}
.p-schedule__en {
  font-family: var(--f-en);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.04em;
}
.p-schedule__jp {
  font-size: 12px;
  color: #CFCFCA;
}
.p-schedule__body {
  flex: 1 1 420px;
  display: flex;
  flex-direction: column;
}
.p-schedule__group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  padding: 20px 24px;
  border-bottom: 1px solid #EDEDEA;
  transition: background-color 0.3s var(--ease);
}
.p-schedule__group:hover {
  background: #FBF3F4;
}
.p-schedule__meta {
  flex: 0 0 190px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.p-schedule__teacher {
  font-family: var(--f-en);
  font-weight: 800;
  font-size: 16px;
  color: var(--c-school-dark);
}
.p-schedule__place {
  font-size: 12px;
  color: var(--c-sub);
  line-height: 1.6;
}
.p-schedule__classes {
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.p-schedule__class {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 12px;
  align-items: baseline;
  font-size: 14px;
  line-height: 1.6;
}
.p-schedule__name {
  font-weight: 700;
}
.p-schedule__time {
  font-family: var(--f-en);
  font-weight: 600;
  font-size: 13px;
}
.p-schedule__target {
  color: #444444;
  font-size: 13px;
}
@media (max-width: 767px) {
  .p-schedule__head {
    flex-basis: 100%;
    flex-direction: row;
    align-items: baseline;
    gap: 12px;
    padding: 14px 20px;
  }
  .p-schedule__group {
    padding: 18px 20px;
  }
  .p-schedule__meta {
    flex-basis: 100%;
  }
  .p-schedule__class {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .p-schedule__target {
    grid-column: 1/-1;
    margin-top: -8px;
  }
}

.p-fee {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.p-fee__list {
  --min: 260px;
}
.p-fee .c-card {
  gap: 10px;
}
.p-fee__name {
  font-weight: 900;
  font-size: 18px;
}
.p-fee__count {
  font-size: 13px;
  color: var(--c-sub);
}
.p-fee__price {
  font-family: var(--f-en);
  font-weight: 800;
  font-size: 30px;
}
.p-fee__price span {
  margin-left: 8px;
  font-family: var(--f-jp);
  font-weight: 500;
  font-size: 13px;
}
.p-fee__note {
  font-size: 14px;
  font-weight: 700;
}

/* ==========================================================
   4. スクール承継（succession）
   ========================================================== */
.page-succession,
.t-succession {
  --navy: #1F2F55;
  --navy2: #1F3A6B;
  --gold: #C9A85A;
}

/* hero */
.p-sc-hero {
  position: relative;
  overflow: hidden;
  background: #F6EFE6;
}
.p-sc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.75) 32%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0) 64%, rgba(255, 255, 255, 0.82) 82%, rgba(255, 255, 255, 0.95) 100%);
}
@media (max-width: 767px) {
  .p-sc-hero::before {
    background: rgba(255, 255, 255, 0.82);
  }
}
.p-sc-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: 50% 40%;
     object-position: 50% 40%;
  animation: scZoom 12s var(--ease) both;
}
.p-sc-hero__inner {
  position: relative;
  z-index: 2;
  min-height: clamp(440px, 40vw, 580px);
  padding-top: clamp(48px, 6vw, 88px);
  padding-bottom: clamp(48px, 6vw, 88px);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  color: var(--navy);
}
.p-sc-hero__main {
  flex: 0 1 520px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.p-sc-hero__num {
  color: var(--c-succession-dark);
}
.p-sc-hero__num .c-num__no {
  font-size: 28px;
}
.p-sc-hero__num .c-num__label {
  font-weight: 700;
}
.p-sc-hero__title {
  font-weight: 700;
  font-size: clamp(24px, 3vw, 44px);
  line-height: 1.5;
  letter-spacing: 0.02em;
}
.p-sc-hero__lead {
  font-size: 15px;
  font-weight: 700;
  line-height: 2;
  text-wrap: pretty;
}
.p-sc-hero__sub {
  flex: 0 1 340px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.p-sc-hero__note {
  font-size: 14px;
  font-weight: 500;
  line-height: 2;
}

@keyframes scZoom {
  from {
    transform: scale(1.06);
  }
  to {
    transform: none;
  }
}
.p-sc-hand {
  color: var(--navy);
}
.p-sc-hand .c-hand__text {
  font-size: clamp(24px, 2.4vw, 34px);
}
.p-sc-hand .c-hand__line {
  background: var(--gold);
  width: 85%;
}

/* section heading */
.p-sc-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
}
.p-sc-head__title {
  font-weight: 900;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.5;
  color: var(--navy);
}
.p-sc-head__title--box {
  background: var(--navy2);
  color: var(--c-white);
  padding: 10px 22px;
  font-size: clamp(20px, 2.2vw, 28px);
}
.p-sc-head__num {
  font-size: 1.3em;
}
.p-sc-head__lead {
  font-size: 14px;
  color: #333333;
}

/* plans */
.p-plan {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: clamp(56px, 7vw, 96px);
  padding-bottom: clamp(56px, 7vw, 96px);
}
.p-plan__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 14px;
}
.p-plan__card {
  --pc: #D9587A;
  --pc-dark: #C23A63;
  --pc-bg: #FDF2F5;
  --pc-line: #F3C7D2;
  --pc-soft: #FBE3EA;
  --pc-row: #F3E1E6;
  background: var(--pc-bg);
  border: 1.5px solid var(--pc-line);
  border-radius: 12px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.p-plan__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(31, 47, 85, 0.1);
}
.p-plan__card--blue {
  --pc: #2F7BC4;
  --pc-dark: #1F66AD;
  --pc-bg: #F1F6FC;
  --pc-line: #C3DAF0;
  --pc-soft: #DCEBFA;
}
.p-plan__card--green {
  --pc: #4E9A3C;
  --pc-dark: #3E8530;
  --pc-bg: #F2F8EF;
  --pc-line: #CDE6C3;
  --pc-soft: #E1F0DA;
}
.p-plan__head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.p-plan__no {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--pc);
  color: var(--c-white);
  font-family: var(--f-en);
  font-weight: 800;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.p-plan__title {
  font-weight: 900;
  font-size: 20px;
  color: var(--pc-dark);
}
.p-plan__catch {
  margin-top: 4px;
  font-size: 13px;
  color: #333333;
}
.p-plan__text {
  font-size: 14px;
  line-height: 1.9;
}
.p-plan__visual {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--c-white);
  border-radius: 10px;
  padding: 16px;
}
.p-plan__person {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.p-plan__when {
  font-size: 12px;
  font-weight: 700;
}
.p-plan__icon {
  width: 64px;
  height: 64px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 50%;
}
.p-plan__icon--teacher {
  background: #FBE3EA;
}
.p-plan__icon--new {
  background: #DCEBFA;
}
.p-plan__tag {
  border-radius: 999px;
  padding: 3px 12px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.p-plan__tag--teacher {
  background: #F7C9D5;
  color: #9E2549;
}
.p-plan__tag--teacher-solid {
  background: #D9587A;
  color: var(--c-white);
}
.p-plan__tag--new {
  background: #CFE3F7;
  color: #1A4F8A;
}
.p-plan__tag--new-solid {
  background: #2F7BC4;
  color: var(--c-white);
}
.p-plan__arrow {
  font-size: 20px;
  color: var(--pc-dark);
}
.p-plan__badge {
  background: var(--navy2);
  color: var(--c-white);
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 900;
  font-size: 17px;
}
.p-plan__table {
  background: var(--c-white);
  border-radius: 10px;
  padding: 6px 16px;
}
.p-plan__table > div {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--pc-row);
  font-size: 13px;
}
.p-plan__table > div:last-child {
  border-bottom: none;
}
.p-plan__table dt::after {
  content: "→";
  float: right;
  color: var(--pc-dark);
}
.p-plan__pay {
  background: var(--c-white);
  border: 1.5px solid var(--pc-line);
  border-radius: 10px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.p-plan__pay-title {
  font-weight: 900;
  font-size: 14px;
  color: var(--navy2);
}
.p-plan__pay-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.p-plan__pay-box {
  flex: 1;
  background: var(--pc-bg);
  border-radius: 8px;
  padding: 14px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}
.p-plan__pay-label {
  font-size: 12px;
  font-weight: 700;
}
.p-plan__pay-num {
  font-weight: 900;
  font-size: 24px;
  color: var(--navy2);
}
.p-plan__pay-num small {
  font-size: 14px;
}
.p-plan__pay-term {
  font-size: 11px;
  color: #444444;
}
.p-plan__steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.p-plan__step {
  background: var(--c-white);
  border: 1.5px solid var(--pc-line);
  border-radius: 8px;
  overflow: hidden;
}
.p-plan__step-head {
  background: var(--pc);
  color: var(--c-white);
  padding: 6px 10px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 6px;
  font-size: 11px;
}
.p-plan__step-head .u-en {
  font-weight: 800;
  font-size: 13px;
}
.p-plan__step-body {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
}
.p-plan__ratio {
  display: flex;
  justify-content: space-between;
  border-radius: 4px;
  padding: 5px 8px;
}
.p-plan__ratio span:first-child {
  font-weight: 700;
}
.p-plan__ratio .u-en {
  font-weight: 800;
}
.p-plan__ratio--teacher {
  background: #FBE3EA;
}
.p-plan__ratio--teacher span:first-child {
  color: #9E2549;
}
.p-plan__ratio--new {
  background: #DCEBFA;
}
.p-plan__ratio--new span:first-child {
  color: #1A4F8A;
}
.p-plan__rec {
  margin-top: auto;
  background: var(--pc-soft);
  border-radius: 10px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.p-plan__rec-title {
  font-weight: 900;
  font-size: 14px;
  color: var(--pc-dark);
}
.p-plan__rec-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  line-height: 1.7;
}
.p-plan__rec-list li::before {
  content: "✓ ";
}

/* payment */
.p-payment__inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: clamp(56px, 7vw, 96px);
  padding-bottom: clamp(56px, 7vw, 96px);
}
.p-payment__body {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-start;
}
.p-payment__elements {
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.p-payment__h3 {
  font-weight: 900;
  font-size: 18px;
  color: var(--navy2);
}
.p-payment__el {
  --pc: #D9587A;
  --pc-dark: #C23A63;
  --pc-bg: #FDF2F5;
  background: var(--pc-bg);
  border-radius: 10px;
  padding: 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.p-payment__el--b {
  --pc: #2F7BC4;
  --pc-dark: #1F66AD;
  --pc-bg: #F1F6FC;
}
.p-payment__el--c {
  --pc: #4E9A3C;
  --pc-dark: #3E8530;
  --pc-bg: #F2F8EF;
}
.p-payment__el-mark {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--pc);
  color: var(--c-white);
  font-family: var(--f-en);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.p-payment__el-title {
  font-weight: 900;
  font-size: 17px;
  color: var(--pc-dark);
}
.p-payment__el-text {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.7;
}

.p-sim {
  flex: 1.6 1 480px;
  min-width: 0;
  background: #F4F7FB;
  border-radius: 12px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.p-sim__note {
  margin-top: 4px;
  font-size: 12px;
  color: #444444;
}
.p-sim__scroll {
  overflow-x: auto;
  overflow-y: hidden;
}
.p-sim__table {
  min-width: 460px;
  width: 100%;
  border-collapse: collapse;
  background: var(--c-white);
  font-size: 13px;
}
.p-sim__table th, .p-sim__table td {
  padding: 10px;
  border-bottom: 1px solid #E3E9F1;
  text-align: center;
  font-weight: 400;
}
.p-sim__table thead th {
  background: #3D6A9E;
  color: var(--c-white);
  font-weight: 700;
  border: none;
}
.p-sim__table thead th:first-child {
  text-align: left;
  padding-left: 12px;
}
.p-sim__table th[scope=row] {
  text-align: left;
  font-weight: 700;
  padding-left: 12px;
  width: 40%;
}
.p-sim__table th small {
  font-weight: 400;
  font-size: 11px;
  color: var(--c-sub);
}
.p-sim__table tbody tr {
  transition: background-color 0.25s var(--ease);
}
.p-sim__table tbody tr:not(.p-sim__sep):hover {
  background: #F4F7FB;
}
.p-sim__sep th {
  background: #3D6A9E;
  color: var(--c-white);
  font-weight: 700;
  text-align: left;
  padding: 9px 12px;
}

/* flow */
.p-sc-flow {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: clamp(56px, 7vw, 96px);
  padding-bottom: clamp(56px, 7vw, 96px);
}
.p-sc-flow__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
}
.p-sc-flow__item {
  background: var(--c-white);
  border: 1.5px solid #DCE3EE;
  border-radius: 12px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.3s var(--ease), transform 0.35s var(--ease);
}
.p-sc-flow__item:hover {
  border-color: var(--navy2);
  transform: translateY(-4px);
}
.p-sc-flow__img {
  width: 84px;
  height: 84px;
  -o-object-fit: contain;
     object-fit: contain;
  border-radius: 50%;
  background: #EEF3FA;
  padding: 10px;
}
.p-sc-flow__head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.p-sc-flow__no {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--navy2);
  color: var(--c-white);
  font-family: var(--f-en);
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.p-sc-flow__title {
  font-weight: 900;
  font-size: 17px;
  color: var(--navy2);
}
.p-sc-flow__text {
  font-size: 13px;
  line-height: 1.85;
}

/* merit */
.p-merit {
  background: #FBF6EE;
}
.p-merit__inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: clamp(56px, 7vw, 96px);
  padding-bottom: clamp(56px, 7vw, 96px);
}
.p-merit__inner > .p-sc-head__title {
  font-size: clamp(22px, 2.4vw, 32px);
}
.p-merit__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}
.p-merit__card {
  --mc: #C23A63;
  --mbg: #FBE3EA;
  background: var(--c-white);
  border-radius: 12px;
  padding: 22px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: box-shadow 0.35s var(--ease);
}
.p-merit__card:hover {
  box-shadow: 0 12px 28px rgba(31, 47, 85, 0.08);
}
.p-merit__card--student {
  --mc: #1F66AD;
  --mbg: #DCEBFA;
}
.p-merit__card--new {
  --mc: #3E8530;
  --mbg: #E1F0DA;
}
.p-merit__img {
  flex: none;
  width: 72px;
  height: 72px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 50%;
  background: var(--mbg);
}
.p-merit__img--contain {
  -o-object-fit: contain;
     object-fit: contain;
  padding: 9px;
}
.p-merit__title {
  font-weight: 900;
  font-size: 16px;
  color: var(--mc);
}
.p-merit__points {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  line-height: 1.7;
}
.p-merit__points li::before {
  content: "・";
}
.p-merit__hand {
  align-self: flex-end;
}
.p-merit__hand .c-hand__text {
  font-size: clamp(22px, 2.2vw, 30px);
}
@media (max-width: 560px) {
  .p-merit__hand .c-hand__text {
    white-space: normal;
  }
}

/* ==========================================================
   5. イベント依頼（event）
   ========================================================== */
.t-event .c-eyebrow {
  color: var(--c-event-dark);
}

.p-ev-service,
.p-ev-flow {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.p-ev-service__list {
  display: grid;
  gap: 6px;
}
.p-ev-service .c-card {
  min-height: 150px;
}

.p-ev-flow {
  padding-top: 0;
}

.p-works__inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.p-works__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
}
.p-works__hand {
  font-family: var(--f-hand);
  font-size: clamp(22px, 2.2vw, 30px);
  color: var(--c-event-dark);
  transform: rotate(-3deg);
}
.p-works__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.p-works__item {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.p-works__photo {
  aspect-ratio: 4/3;
}
.p-works__cat {
  font-family: var(--f-en);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--c-event-dark);
}
.p-works__title {
  font-size: 16px;
  font-weight: 700;
}

/* ==========================================================
   6. 不動産サポート（realestate）
   ========================================================== */
.t-realestate .c-eyebrow {
  color: var(--c-realestate-dark);
}

.p-re-hero__note {
  position: absolute;
  z-index: 1;
  right: clamp(16px, 3vw, 40px);
  bottom: clamp(16px, 3vw, 40px);
  background: rgba(255, 255, 255, 0.92);
  padding: 22px 28px;
  color: #0B5E70;
}
.p-re-hero__note .c-hand__text {
  font-size: clamp(20px, 2vw, 28px);
}
.p-re-hero__note .c-hand__line {
  background: var(--c-realestate);
}

/* intro */
.p-re-intro {
  padding-top: clamp(64px, 8vw, 112px);
  padding-bottom: clamp(40px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.p-re-intro__head {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  text-align: center;
}
.p-re-intro__badge {
  background: var(--c-ink);
  color: var(--c-white);
  border-radius: 999px;
  padding: 8px 22px;
  font-size: 14px;
  font-weight: 700;
}
.p-re-intro__title {
  font-weight: 900;
  font-size: clamp(24px, 3.2vw, 44px);
  line-height: 1.45;
  text-wrap: balance;
}
.p-re-intro__lead {
  max-width: 680px;
  font-size: 15px;
  line-height: 2;
  text-wrap: pretty;
}

.p-re-diagram {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 16px;
}
.p-re-diagram__box {
  flex: 1 1 230px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.p-re-diagram__box--client {
  background: #EEF4FB;
}
.p-re-diagram__box--client img {
  width: 110px;
  height: 110px;
  -o-object-fit: contain;
     object-fit: contain;
}
.p-re-diagram__box--local {
  background: #EFF6EA;
}
.p-re-diagram__title {
  font-weight: 900;
  font-size: 17px;
  line-height: 1.5;
}
.p-re-diagram__title--sm {
  font-size: 16px;
  line-height: 1.6;
}
.p-re-diagram__text {
  font-size: 13px;
  line-height: 1.8;
}
.p-re-diagram__map {
  display: flex;
  align-items: center;
  gap: 12px;
}
.p-re-diagram__map img {
  width: 80px;
  height: 100px;
  -o-object-fit: contain;
     object-fit: contain;
}
.p-re-diagram__areas {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.p-re-diagram__areas li {
  background: #3E8A2A;
  color: var(--c-white);
  border-radius: 999px;
  padding: 4px 14px;
  font-size: 12px;
  font-weight: 700;
}
.p-re-diagram__center {
  flex: 0 1 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.p-re-diagram__circle {
  width: min(250px, 100%);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 4px solid var(--c-realestate);
  background: var(--c-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  padding: 20px;
}
.p-re-diagram__circle img {
  width: 58%;
  aspect-ratio: 3/2;
  -o-object-fit: contain;
     object-fit: contain;
}
.p-re-diagram__partner {
  font-weight: 900;
  font-size: 18px;
  line-height: 1.4;
  color: var(--c-realestate-dark);
}
.p-re-diagram__self {
  font-size: 12px;
  font-weight: 700;
}
.p-re-diagram__arrows {
  flex: 1 1 150px;
  min-width: 140px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  justify-content: center;
  padding: 0 4px;
}
@media (max-width: 900px) {
  .p-re-diagram {
    flex-direction: column;
    align-items: center;
  }
  .p-re-diagram__box, .p-re-diagram__center {
    flex: none;
    width: 100%;
    max-width: 420px;
  }
  .p-re-diagram__arrows {
    flex: none;
    width: 100%;
    max-width: 420px;
    flex-direction: row;
    gap: 24px;
  }
}

.p-re-arrow {
  --ac: #1F6FD1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}
.p-re-arrow--back {
  --ac: #5FA83A;
}
.p-re-arrow__label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ac);
}
.p-re-arrow__bar {
  position: relative;
  display: block;
  width: calc(100% - 16px);
  height: 10px;
  background: var(--ac);
}
.p-re-arrow__bar::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
}
.p-re-arrow--go .p-re-arrow__bar {
  margin-right: 16px;
}
.p-re-arrow--go .p-re-arrow__bar::after {
  left: 100%;
  border-left: 16px solid var(--ac);
}
.p-re-arrow--back .p-re-arrow__bar {
  margin-left: 16px;
}
.p-re-arrow--back .p-re-arrow__bar::after {
  right: 100%;
  border-right: 16px solid var(--ac);
}
@media (max-width: 900px) {
  .p-re-arrow {
    flex: 1 1 0;
    min-width: 0;
    flex-direction: row;
    justify-content: flex-end;
    gap: 10px;
  }
  .p-re-arrow__label {
    flex: 0 1 auto;
    min-width: 0;
    font-size: 12px;
    line-height: 1.5;
    text-align: right;
    text-wrap: pretty;
  }
  .p-re-arrow__bar {
    flex: none;
    width: 10px;
    height: 36px;
    margin: 0 7px 16px !important;
  }
  .p-re-arrow__bar::after {
    top: auto;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%);
    border: 12px solid transparent;
  }
  .p-re-arrow--go .p-re-arrow__bar::after {
    top: 100%;
    border-top: 16px solid var(--ac);
    border-bottom: 0;
  }
  .p-re-arrow--back {
    flex-direction: row-reverse;
  }
  .p-re-arrow--back .p-re-arrow__label {
    text-align: left;
  }
  .p-re-arrow--back .p-re-arrow__bar {
    margin: 16px 7px 0 !important;
  }
  .p-re-arrow--back .p-re-arrow__bar::after {
    bottom: 100%;
    border-bottom: 16px solid var(--ac);
    border-top: 0;
  }
}

/* service */
.p-re-service {
  padding-top: clamp(24px, 3vw, 40px);
  padding-bottom: clamp(64px, 8vw, 112px);
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.p-re-service__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}
.p-re-service__lead {
  font-size: 13px;
  color: #444444;
}
.p-re-service__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 10px;
}

.p-re-card {
  --rc: #1F6FD1;
  --rc-dark: #1A5DB0;
  --rc-bg: #F2F7FD;
  --rc-line: #BFD6F3;
  --rc-soft: #E3EEFB;
  background: var(--rc-bg);
  border: 1.5px solid var(--rc-line);
  border-radius: 10px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.p-re-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}
.p-re-card:hover .p-re-card__img img {
  transform: scale(1.05);
}
.p-re-card--green {
  --rc: #3E9A3A;
  --rc-dark: #2F7D2C;
  --rc-bg: #F3F9F1;
  --rc-line: #C6E3C1;
  --rc-soft: #E4F2E1;
}
.p-re-card--orange {
  --rc: #F08A1C;
  --rc-dark: #C96A08;
  --rc-bg: #FFF7EE;
  --rc-line: #F8D3A8;
  --rc-soft: #FDEBD6;
}
.p-re-card--purple {
  --rc: #7A4FC9;
  --rc-dark: #6440AE;
  --rc-bg: #F6F2FC;
  --rc-line: #D6C8F0;
  --rc-soft: #EBE3F8;
}
.p-re-card--teal {
  --rc: #1E9AA6;
  --rc-dark: #147C86;
  --rc-bg: #F0F9FA;
  --rc-line: #BCE2E6;
  --rc-soft: #DFF1F3;
}
.p-re-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
}
.p-re-card__no {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--rc);
  color: var(--c-white);
  font-family: var(--f-en);
  font-weight: 800;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.p-re-card__title {
  font-weight: 900;
  font-size: 15px;
  line-height: 1.45;
  color: var(--rc-dark);
}
.p-re-card__img {
  background: var(--c-white);
  border-radius: 6px;
  overflow: hidden;
}
.p-re-card__img img {
  width: 100%;
  aspect-ratio: 3/2;
  -o-object-fit: contain;
     object-fit: contain;
  transition: transform 0.6s var(--ease);
}
.p-re-card__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.p-re-card__list li {
  position: relative;
  padding-left: 20px;
  font-size: 13px;
  line-height: 1.7;
}
.p-re-card__list li::before {
  content: "●";
  position: absolute;
  left: 0;
  color: var(--rc);
}
.p-re-card__sub {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.p-re-card__tag {
  align-self: flex-start;
  background: var(--rc);
  color: var(--c-white);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
}
.p-re-card__text {
  font-size: 13px;
  line-height: 1.8;
}
.p-re-card__foot {
  margin-top: auto;
  background: var(--rc-soft);
  padding: 14px 16px;
  font-size: 12px;
  line-height: 1.75;
  color: var(--rc-dark);
  font-weight: 700;
  text-align: center;
}

.p-re-extra {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.p-re-spot {
  --rc: #E0507A;
  --rc-dark: #C23A63;
  flex: 1.6 1 480px;
  background: #FDF2F5;
  border: 1.5px solid #F3C3D1;
  border-radius: 10px;
  padding: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}
.p-re-spot .p-re-card__title {
  font-size: 15px;
}
.p-re-spot__head {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.p-re-spot__img {
  width: 100%;
  max-width: 200px;
  aspect-ratio: 3/2;
  -o-object-fit: contain;
     object-fit: contain;
}
.p-re-spot__list {
  flex: 1.2 1 230px;
  background: var(--c-white);
  border-radius: 8px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.p-re-spot__list li {
  position: relative;
  padding-left: 16px;
  font-size: 12px;
  line-height: 1.7;
}
.p-re-spot__list li::before {
  content: "●";
  position: absolute;
  left: 0;
  font-size: 10px;
  color: var(--rc);
}
.p-re-spot__price {
  flex: 0 1 160px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  text-align: center;
}
.p-re-spot__box {
  width: 100%;
  background: var(--rc);
  color: var(--c-white);
  border-radius: 10px;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  font-weight: 700;
}
.p-re-spot__box strong {
  font-weight: 800;
  font-size: 24px;
  white-space: nowrap;
}
.p-re-spot__note {
  font-size: 12px;
  line-height: 1.7;
  color: #444444;
}

.p-re-fare {
  flex: 1 1 320px;
  background: #F2F7FD;
  border: 1.5px solid #BFD6F3;
  border-radius: 10px;
  padding: 24px;
  display: flex;
  gap: 18px;
  align-items: center;
}
.p-re-fare__img {
  flex: none;
  width: 96px;
  aspect-ratio: 3/2;
  -o-object-fit: contain;
     object-fit: contain;
}
.p-re-fare__title {
  font-weight: 900;
  font-size: 17px;
  color: #1A5DB0;
}
.p-re-fare__text {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.85;
}

/* message */
.p-re-message {
  position: relative;
  overflow: hidden;
  background: #0B4F5E;
  color: var(--c-white);
}
.p-re-message::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(11, 40, 50, 0.82) 0%, rgba(11, 40, 50, 0.55) 60%, rgba(11, 40, 50, 0.35) 100%);
}
.p-re-message__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.p-re-message__inner {
  position: relative;
  z-index: 2;
  padding-top: clamp(56px, 7vw, 96px);
  padding-bottom: clamp(56px, 7vw, 96px);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}
.p-re-message__text {
  flex: 1 1 420px;
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 700;
  line-height: 2;
  text-wrap: pretty;
}
.p-re-message__hand .c-hand__text {
  font-size: clamp(22px, 2.2vw, 30px);
}
@media (max-width: 560px) {
  .p-re-message__hand .c-hand__text {
    white-space: normal;
  }
}

/* ==========================================================
   7. お問い合わせ・プライバシーポリシー（contact）
   ========================================================== */
.p-ct-title {
  padding-top: clamp(48px, 6vw, 88px);
  padding-bottom: clamp(32px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.p-ct-title__h1 {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.p-ct-title__en {
  font-family: var(--f-en);
  font-weight: 800;
  font-size: clamp(40px, 4.6vw, 64px);
  line-height: 1;
}
.p-ct-title__jp {
  font-weight: 900;
  font-size: clamp(20px, 1.9vw, 26px);
}
.p-ct-title__bar {
  display: flex;
  gap: 6px;
  width: 200px;
}
.p-ct-title__bar span {
  flex: 1;
  height: 4px;
  transform: scaleX(0);
  transform-origin: left;
  animation: barIn 0.6s var(--ease) forwards;
}
.p-ct-title__bar span:nth-child(1) {
  background: var(--c-school);
  animation-delay: 0.2s;
}
.p-ct-title__bar span:nth-child(2) {
  background: var(--c-succession);
  animation-delay: 0.3s;
}
.p-ct-title__bar span:nth-child(3) {
  background: var(--c-event);
  animation-delay: 0.4s;
}
.p-ct-title__bar span:nth-child(4) {
  background: var(--c-realestate);
  animation-delay: 0.5s;
}

@keyframes barIn {
  to {
    transform: none;
  }
}
.p-ct {
  padding-bottom: clamp(64px, 8vw, 112px);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(32px, 5vw, 80px);
}
.p-ct__info {
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.p-ct__title {
  font-weight: 900;
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.5;
}
.p-ct__lead {
  max-width: 420px;
  font-size: 14px;
  line-height: 2;
  color: #444444;
  text-wrap: pretty;
}
.p-ct__dl {
  max-width: 420px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 20px;
  padding-top: 20px;
  border-top: 1px solid var(--c-line);
  font-size: 13px;
  line-height: 1.7;
}
.p-ct__dl dt {
  font-weight: 700;
}
.p-ct__dl a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.p-ct__form-wrap {
  flex: 1.4 1 460px;
  background: var(--c-white);
  padding: clamp(24px, 3vw, 44px);
}
.p-ct__thanks {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  padding: 40px 0;
}
.p-ct__thanks[hidden] {
  display: none;
}
.p-ct__thanks-en {
  font-family: var(--f-en);
  font-weight: 800;
  font-size: 28px;
}
.p-ct__thanks-text {
  font-size: 15px;
  line-height: 2;
}
.p-ct__back {
  background: none;
  border: 1px solid var(--c-ink);
  border-radius: 999px;
  padding: 10px 22px;
  font-size: 13px;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.p-ct__back:hover {
  background: var(--c-ink);
  color: var(--c-white);
}

.p-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.p-form[hidden] {
  display: none;
}
.p-form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: none;
  min-width: 0;
}
.p-form__label {
  padding: 0;
  font-size: 13px;
  font-weight: 700;
}
.p-form__req {
  color: var(--c-school-dark);
  font-size: 11px;
}
.p-form__opt {
  color: #777777;
  font-size: 11px;
}
.p-form__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}
.p-form__input {
  width: 100%;
  border: 1px solid #D4D4CF;
  background: var(--c-bg);
  padding: 14px;
  font-size: 15px;
  border-radius: 2px;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.p-form__input:hover {
  border-color: #A8A8A2;
}
.p-form__input:focus {
  outline: none;
  border-color: var(--c-ink);
  background: var(--c-white);
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.08);
}
.p-form__textarea {
  resize: vertical;
}
.p-form__cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.p-form__cat {
  --cc: var(--c-ink);
  --cfg: var(--c-white);
  min-height: 44px;
  padding: 10px 18px;
  border: 1.5px solid var(--cc);
  border-radius: 999px;
  background: var(--c-white);
  color: var(--c-ink);
  font-size: 13px;
  font-weight: 700;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.2s var(--ease);
}
.p-form__cat:hover {
  transform: translateY(-2px);
}
.p-form__cat.is-active {
  background: var(--cc);
  color: var(--cfg);
}
.p-form__cat--school {
  --cc: var(--c-school);
}
.p-form__cat--succession {
  --cc: var(--c-succession);
}
.p-form__cat--event {
  --cc: var(--c-event);
  --cfg: var(--c-ink);
}
.p-form__cat--realestate {
  --cc: var(--c-realestate);
  --cfg: var(--c-ink);
}
.p-form__submit {
  align-self: flex-start;
  padding-left: 36px;
  padding-right: 36px;
}

.p-privacy {
  background: var(--c-white);
  scroll-margin-top: var(--header-h);
}
.p-privacy__inner {
  max-width: 960px;
  margin: 0 auto;
  padding: clamp(56px, 7vw, 96px) var(--pad-x);
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.p-privacy__title {
  font-size: clamp(22px, 2.4vw, 30px);
}
.p-privacy__lead {
  font-size: 14px;
  line-height: 2;
  color: #333333;
  text-wrap: pretty;
}
.p-privacy__list {
  border-top: 2px solid var(--c-ink);
}
.p-privacy__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 0;
  border-bottom: 1px solid var(--c-line);
}
.p-privacy__h3 {
  font-size: 16px;
  font-weight: 900;
}
.p-privacy__text {
  font-size: 14px;
  line-height: 1.95;
  color: #333333;
}
.p-privacy__text a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/*新メールフォーム*/
.form {
  margin: 10px 0 10px;
}
.form dt span {
  color: #fff;
  background: #FF4F4F;
  padding: 0 5px 0;
  margin-right: 5px;
  font-size: 11px;
  border-radius: 2px;
  position: relative;
  top: -2px;
}
.form dt strong {
  color: #fff;
  background: #999;
  padding: 0 5px 0;
  margin-right: 5px;
  font-size: 11px;
  border-radius: 2px;
  position: relative;
  top: -2px;
}
.form dt .optional::before {
  content: "任意";
  color: #fff;
  background: #999;
}
.form dl {
  margin: 10px 0;
  font-size: 16px;
}
.form dt {
  float: none !important;
  width: auto !important;
  padding-top: 20px;
}
.form dd {
  padding-left: 0 !important;
  padding-bottom: 20px;
  padding-top: 13px !important;
  line-height: 1.5;
  border-bottom: 1px solid #eee;
}
.form dd p {
  font-size: 14px;
  padding-top: 5px;
  color: #888;
}
.form dd:last-child {
  border-bottom: 0px;
  margin-bottom: 0px;
}

.dropdown {
  border-radius: 2px;
  border: 1px solid #ddd;
}

.textarea, .textarea2 {
  width: 95%;
  border-radius: 2px;
  border: 1px solid #ddd;
  padding: 5px;
}

.form-button {
  padding: 5px;
  border-radius: 5px;
  text-align: center;
  margin: 10px 0;
}

#mailform button {
  font-family: "Noto Sans JP", sans-serif;
  cursor: pointer;
  display: block;
  margin: 0 auto 5px;
  padding: 10px 0 10px;
  color: #fff;
  text-align: center;
  width: 250px;
  border-radius: 5px;
  background: #5c4233;
  font-size: 16px;
  font-weight: bold;
  border: 2px solid #5c4233;
}
#mailform button:before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f0e0";
  margin-right: 6px;
}
#mailform button:hover {
  background: #fff;
  color: #5c4233;
}
#mailform button * {
  transition: 0.2s;
}

.form-button * {
  transition: 0.2s;
}

/*RadioとText*/
label {
  display: block;
}
label.radio_text {
  cursor: pointer;
  position: relative;
  margin-right: 20px;
  overflow: hidden;
  padding-left: 20px;
  display: inline-block;
}
label.radio_text:before {
  position: absolute;
  width: 15px;
  height: 15px;
  border: 1px solid #ccc;
  border-radius: 50%;
  left: 0px;
  top: 2px;
  content: "";
  z-index: 3;
}
label.radio_text:after {
  content: "";
  position: absolute;
  width: 11px;
  height: 11px;
  border-radius: 100%;
  left: 2px;
  top: 4px;
  background-color: #5c4233;
  z-index: 1;
}
label.radio_text input[type=radio] {
  -moz-appearance: none;
  -webkit-appearance: none;
  position: absolute;
  z-index: 2;
  width: 15px;
  height: 15px;
  left: -15px;
  top: 2px;
  margin: 0px;
  box-shadow: 15px -1px #fff;
  border-radius: 50%;
}
label.radio_text input[type=radio]:checked {
  box-shadow: none;
}
label.radio_text input[type=radio]:focus {
  opacity: 0.2;
  box-shadow: 15px -1px #FFF;
}
label.checkbox_text {
  cursor: pointer;
  position: relative;
  padding-left: 25px;
  margin-right: 20px;
  overflow: hidden;
  display: inline-block;
  box-sizing: border-box;
}
label.checkbox_text:before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  left: 0px;
  top: 0;
  border: 1px solid #ccc;
  z-index: 3;
}
label.checkbox_text:after {
  content: "";
  position: absolute;
  top: 40%;
  left: 5px;
  display: block;
  margin-top: -9px;
  width: 8px;
  height: 12px;
  border-right: 3px solid #5c4233;
  border-bottom: 3px solid #5c4233;
  transform: rotate(45deg);
  z-index: 1;
}
label.checkbox_text input[type=checkbox] {
  -moz-appearance: none;
  -webkit-appearance: none;
  position: absolute;
  left: -40px;
  width: 20px;
  height: 20px;
  display: block;
  box-shadow: 41px 0px #FFF;
  z-index: 2;
  margin: 0px;
  padding: 0px;
}
label.checkbox_text input[type=checkbox]:checked {
  box-shadow: none;
}
label.checkbox_text input[type=checkbox]:checked:focus {
  box-shadow: 40px 0px #666;
  opacity: 0.1;
}
label.checkbox_text input[type=checkbox]:focus {
  box-shadow: 41px 0px #EEE;
}

/*CheckBoxとText */
.fm-text {
  padding: 10px;
  font-size: 11px;
  margin: 10px 0;
}

@media all and (max-width: 890px) {
  .form dl {
    margin: 10px 0;
  }
  .form dt {
    float: none;
    width: 100%;
    line-height: 20px;
    padding-top: 10px;
  }
  .form dd {
    width: 100%;
    padding-left: 0;
    padding-bottom: 10px;
    padding-top: 10px;
    line-height: 20px;
    border-bottom: 1px solid #eee;
  }
  .form dd:last-child {
    border-bottom: 0px;
    margin-bottom: 0px;
  }
}
@media (max-width: 1024px) {
  .form-contents :not(.pattern-exclusion) button {
    width: 100% !important;
  }
}
/* /新メールフォーム */
.blog-box {
  margin-bottom: 50px;
}
.blog-box img {
  max-width: 100%;
  height: auto;
}

.page_next {
  float: right;
}

.page_prev {
  float: left;
}

.mtitle_box {
  background: rgba(23, 125, 23, 0.1);
  border-radius: 10px;
  color: #343338;
  font-size: 2rem;
  position: relative;
  padding: 10px 10px;
  margin-bottom: 20px;
  font-weight: 700;
}
.mtitle_box span {
  font-weight: normal;
  font-size: 14px;
  padding-left: 10px;
}

@media all and (max-width: 639px) {
  .mtitle_box {
    font-size: 1.8rem;
  }
}
.newsl2 dt {
  font-size: 120%;
  padding-top: 10px;
  line-height: 1.3;
  color: #5c4233;
  font-weight: bold;
}
.newsl2 dd {
  padding-bottom: 5px;
  padding-top: 10px;
  margin-bottom: 15px;
  line-height: 1.6;
  border-bottom: dotted 1px #b6ae83;
}
.newsl2 dd b {
  color: #594C39;
}

/* ---------- logo (image) ---------- */
.c-logo__img {
  display: block;
  width: auto;
  height: 56px;
}

@media (max-width: 767px) {
  .c-logo__img {
    height: 44px;
  }
}
.l-footer__logo {
  display: inline-block;
  align-self: flex-start;
  background: var(--c-white);
  padding: 10px 14px;
  border-radius: 6px;
}

.l-footer__logo img {
  display: block;
  width: auto;
  height: 56px;
}

/* ---------- photo grid + lightbox ---------- */
.p-photo-grid--school {
  margin-top: clamp(56px, 7vw, 96px);
}

.p-photo-grid__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-top: 32px;
}

@media (max-width: 767px) {
  .p-photo-grid__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.p-photo-grid__link {
  display: block;
  aspect-ratio: 3/2;
  cursor: zoom-in;
}

.c-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 64px;
  background: rgba(10, 10, 10, 0.92);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}

.c-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.c-lightbox__img {
  max-width: 100%;
  max-height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}

.c-lightbox__btn {
  position: absolute;
  width: 48px;
  height: 48px;
  border: 0;
  background: none;
  color: var(--c-white);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.c-lightbox__btn:hover {
  opacity: 0.6;
}

.c-lightbox__close {
  top: 8px;
  right: 8px;
}

.c-lightbox__prev {
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
}

.c-lightbox__next {
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
}

.c-lightbox__count {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  color: #CFCFCA;
  font-family: var(--f-en);
  font-size: 13px;
  letter-spacing: 0.1em;
}

@media (max-width: 767px) {
  .c-lightbox {
    padding: 56px 12px;
  }
}
/* hero text readability */
.p-sc-hero__title,
.p-sc-hero__lead,
.p-sc-hero__note,
.p-sc-hero .c-hand__text {
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.95), 0 0 14px rgba(255, 255, 255, 0.9), 0 0 24px rgba(255, 255, 255, 0.7);
}

/* realestate arrows (SP): label above ↓ / label below ↑, bars aligned */
@media (max-width: 900px) {
  .p-re-diagram__arrows {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto auto auto;
    -moz-column-gap: 16px;
         column-gap: 16px;
    row-gap: 8px;
    padding: 0;
  }
  .p-re-arrow {
    display: contents;
  }
  .p-re-arrow__label {
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
    text-wrap: pretty;
    min-width: 0;
  }
  .p-re-arrow__bar {
    justify-self: center;
    width: 10px;
    height: 36px;
  }
  .p-re-arrow--go .p-re-arrow__label {
    grid-column: 1;
    grid-row: 1;
    align-self: end;
  }
  .p-re-arrow--go .p-re-arrow__bar {
    grid-column: 1;
    grid-row: 2;
    margin: 0 0 16px !important;
  }
  .p-re-arrow--back .p-re-arrow__bar {
    grid-column: 2;
    grid-row: 2;
    margin: 16px 0 0 !important;
  }
  .p-re-arrow--back .p-re-arrow__label {
    grid-column: 2;
    grid-row: 3;
    align-self: start;
  }
}
@media (max-width: 900px) {
  .p-re-diagram__arrows {
    grid-template-columns: repeat(2, auto);
    justify-content: center;
    -moz-column-gap: 40px;
         column-gap: 40px;
  }
  .p-re-arrow .p-re-arrow__label {
    justify-self: center;
    text-align: center;
  }
  .p-re-arrow .p-re-arrow__bar::after {
    left: 50% !important;
    right: auto !important;
    margin-left: -12px;
    transform: none !important;
    width: 0;
    height: 0;
    border-left: 12px solid transparent !important;
    border-right: 12px solid transparent !important;
  }
  .p-re-arrow--go .p-re-arrow__bar::after {
    top: 100% !important;
    bottom: auto !important;
    border-top: 16px solid var(--ac) !important;
    border-bottom: 0 !important;
  }
  .p-re-arrow--back .p-re-arrow__bar::after {
    bottom: 100% !important;
    top: auto !important;
    border-bottom: 16px solid var(--ac) !important;
    border-top: 0 !important;
  }
}
/* ==========================================================
   追加：お悩み／FAQ／閉校以外の選択肢／ブランドメッセージ
   ========================================================== */
.p-trouble {
  --tr: var(--accent-dark, var(--c-ink));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.t-succession .p-trouble {
  --tr: var(--navy2);
}

.p-trouble__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.p-trouble__lead {
  font-size: 16px;
  font-weight: 700;
  color: var(--c-sub);
}

.p-trouble__list {
  width: 100%;
  max-width: 980px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

@media (max-width: 640px) {
  .p-trouble__list {
    grid-template-columns: minmax(0, 1fr);
  }
}
.p-trouble__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--c-white);
  padding: 18px 22px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
}

.p-trouble__item::before {
  content: "";
  flex: 0 0 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--tr) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.4 2.3 4.6-5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}

.p-trouble__answer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
  margin-top: 8px;
}

.p-trouble__voice {
  font-family: var(--f-hand);
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.6;
}

.p-trouble__arrow {
  width: 0;
  height: 0;
  border-left: 18px solid transparent;
  border-right: 18px solid transparent;
  border-top: 20px solid var(--tr);
}

.p-trouble__catch {
  background: var(--tr);
  color: var(--c-white);
  font-weight: 900;
  font-size: clamp(20px, 2.6vw, 32px);
  line-height: 1.5;
  padding: 16px clamp(20px, 3vw, 40px);
}

.p-faq__inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.p-faq__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.p-faq__item {
  border: 1px solid var(--c-line);
  background: var(--c-white);
}

.p-faq__q {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 56px 20px 24px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  cursor: pointer;
  list-style: none;
  position: relative;
}

.p-faq__q::-webkit-details-marker {
  display: none;
}

.p-faq__q::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--f-en);
  font-size: 22px;
  font-weight: 500;
  color: var(--accent-dark, var(--c-ink));
  transition: transform 0.3s var(--ease);
}

.p-faq__item[open] .p-faq__q::after {
  transform: translateY(-50%) rotate(45deg);
}

.p-faq__mark {
  flex: 0 0 auto;
  font-family: var(--f-en);
  font-weight: 800;
  font-size: 20px;
  line-height: 1;
  color: var(--accent-dark, var(--c-ink));
}

.p-faq__mark--a {
  color: var(--c-sub);
}

.p-faq__a {
  display: flex;
  gap: 16px;
  padding: 0 24px 22px;
  font-size: 15px;
  line-height: 1.9;
}

.p-faq__a .p-faq__mark {
  padding-top: 3px;
}

.p-choice__inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.p-choice__body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

@media (max-width: 767px) {
  .p-choice__body {
    grid-template-columns: minmax(0, 1fr);
  }
}
.p-choice__col {
  --arrow: #A8A8A3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: clamp(24px, 3vw, 40px);
  background: #F1F1EE;
  color: #555555;
}

.p-choice__col--imag {
  --arrow: var(--gold);
  background: #EEF1F8;
  color: var(--navy);
  outline: 2px solid var(--navy2);
  outline-offset: -2px;
}

.p-choice__label {
  padding: 6px 24px;
  background: #7A7A76;
  color: var(--c-white);
  font-size: 16px;
  font-weight: 700;
}

.p-choice__col--imag .p-choice__label {
  background: var(--navy2);
}

.p-choice__flow {
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
}

.p-choice__flow li {
  position: relative;
  background: var(--c-white);
  padding: 14px 18px;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
}

.p-choice__flow li + li {
  margin-top: 34px;
}

.p-choice__flow li + li::before {
  content: "";
  position: absolute;
  top: -25px;
  left: 50%;
  margin-left: -10px;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 14px solid var(--arrow);
}

.p-choice__col--before li:last-child {
  background: #6B6B67;
  color: var(--c-white);
}

.p-choice__col--imag li:last-child {
  background: var(--navy2);
  color: var(--c-white);
}

.p-sc-brand {
  background: #FBF6EE;
}

.p-sc-brand__inner {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
  color: var(--navy);
}

.p-sc-brand__label {
  font-size: 15px;
  font-weight: 700;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--gold);
}

.p-sc-brand__catch {
  font-family: var(--f-hand);
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.5;
}

.p-sc-brand__text {
  font-size: 16px;
  font-weight: 500;
  line-height: 2;
  text-wrap: pretty;
}

.p-sc-brand__list {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

@media (max-width: 640px) {
  .p-sc-brand__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.p-sc-brand__list li {
  background: var(--c-white);
  border: 1px solid #E8DFCB;
  padding: 16px 12px;
  font-size: 15px;
  font-weight: 700;
}

/* ==========================================================
   2026-10 修正（スクール承継ヘッダー／ギャラリー／MV）
   ========================================================== */
.p-mv__sub--kando {
  margin-top: 4px;
}

.p-photo-grid--school {
  margin-top: -50px;
} /* .p-dance の gap:56px を相殺し 6px に */
.p-photo-grid--school .p-photo-grid__list {
  margin-top: 0;
}

.p-plan__list {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.p-sc-hero {
  background: #FFFFFF;
}

.p-sc-hero::before {
  display: none;
}

.p-sc-hero__visual {
  position: relative;
  aspect-ratio: 1862/845;
  overflow: hidden;
}

.p-sc-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  animation: none;
}

.p-sc-hero__main {
  position: absolute;
  z-index: 2;
  left: 27%;
  right: 27%;
  top: 31%;
  bottom: 27%;
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1.1vw, 18px);
  text-align: center;
  color: var(--navy);
}

.p-sc-hero__main .c-num {
  justify-content: center;
}

.p-sc-hero__title {
  font-size: clamp(22px, 2.5vw, 42px);
  line-height: 1.45;
}

.p-sc-hero__lead {
  font-size: clamp(12px, 0.95vw, 15px);
  line-height: 1.85;
}

.p-sc-hero__title, .p-sc-hero__lead, .p-sc-hero__note, .p-sc-hero .c-hand__text {
  text-shadow: none;
}

.p-sc-hero__inner {
  min-height: 0;
  padding-top: clamp(28px, 3.5vw, 48px);
  padding-bottom: clamp(28px, 3.5vw, 48px);
  justify-content: center;
}

.p-sc-hero__sub {
  flex: 0 1 auto;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 48px;
}

@media (max-width: 1023px) {
  .p-sc-hero__visual {
    aspect-ratio: auto;
  }
  .p-sc-hero__bg {
    position: static;
    display: block;
    height: auto;
  }
  .p-sc-hero__main {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    padding: 32px 20px 0;
  }
  .p-sc-hero__lead br.u-pc {
    display: none;
  }
}
@media (max-width: 767px) {
  .p-sc-hero__sub {
    flex-direction: column;
    align-items: flex-start;
  }
  .p-sc-hero__main {
    text-align: left;
    align-items: flex-start;
  }
  .p-sc-hero__main .c-num {
    justify-content: flex-start;
  }
}
/* MV：アート背景・左寄せ大英字 */
.p-mv {
  background: #F7F5EF;
  min-height: clamp(560px, 56vw, 960px);
}

.p-mv::before {
  display: none;
}

.p-mv__bg {
  -o-object-position: 50% 50%;
     object-position: 50% 50%;
  animation: mvFadeBg 1.4s var(--ease) both;
}

.p-mv__inner {
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: nowrap;
  gap: clamp(24px, 3vw, 44px);
  padding-top: clamp(88px, 9vw, 140px);
  padding-bottom: clamp(88px, 9vw, 140px);
}

.p-mv__copy {
  gap: clamp(16px, 2vw, 28px);
}

.p-mv__title {
  font-size: clamp(56px, 8.6vw, 156px);
  line-height: 0.9;
  letter-spacing: -0.025em;
  color: var(--c-ink);
}

.p-mv__sub {
  font-size: clamp(16px, 1.7vw, 24px);
  letter-spacing: 0.24em;
}

.p-mv__sub--kando {
  margin-top: clamp(-26px, -1.9vw, -14px);
}

.p-mv__lead {
  max-width: none;
  margin-top: 0;
  background: none;
  padding: 0;
  font-size: clamp(13px, 1vw, 15px);
  line-height: 2.1;
}

@keyframes mvFadeBg {
  from {
    opacity: 0;
    transform: scale(1.03);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 767px) {
  .p-mv {
    min-height: 100svh;
  }
  .p-mv__bg {
    -o-object-position: 20% 50%;
       object-position: 20% 50%;
  }
  .p-mv__title {
    font-size: clamp(52px, 15vw, 80px);
  }
  .p-mv__lead {
    background: rgba(247, 245, 239, 0.85);
    padding: 16px 18px;
  }
}
/* 全頁共通：1〜2文字だけの改行（孤立行）を防ぐ */
p, li, dt, dd, th, td, h1, h2, h3, h4, figcaption, a, span {
  text-wrap: pretty;
  word-break: auto-phrase;
  line-break: strict;
}

h1, h2, h3, h4 {
  text-wrap: balance;
}

/* ==========================================================
   2026-10 修正：スマホ時のはみ出し調整
   ========================================================== */
@media (max-width: 767px) {
  .p-biz__text, .p-biz__media, .p-re-fare, .p-plan__card, .p-plan__visual, .p-plan__person {
    min-width: 0;
  }
  .p-biz__text {
    flex-basis: 100%;
    padding: 24px 20px;
  }
  .p-biz__text .c-num {
    flex-wrap: wrap;
  }
  .p-plan__list {
    grid-template-columns: minmax(0, 1fr);
  }
  .p-plan__card {
    padding-left: 18px;
    padding-right: 18px;
  }
  .p-plan__visual {
    gap: 6px;
    padding: 12px;
  }
  .p-plan__icon {
    width: 52px;
    height: 52px;
  }
  .p-plan__tag {
    font-size: 11px;
    white-space: normal;
    text-align: center;
    padding-left: 6px;
    padding-right: 6px;
    max-width: 100%;
  }
  .p-plan__pay-row {
    flex-wrap: wrap;
    justify-content: center;
  }
  .p-sc-brand__catch {
    font-size: clamp(22px, 7vw, 32px);
  }
  .p-sc-hand .c-hand__text {
    font-size: clamp(20px, 6vw, 26px);
  }
  .p-re-fare {
    flex-basis: 100%;
    flex-wrap: wrap;
    padding: 20px;
  }
  .p-re-fare > * {
    min-width: 0;
  }
  img {
    max-width: 100%;
  }
}
/* ヘッダー：お問い合わせボタンを青に */
:root {
  --c-contact: #3308f5;
  --c-contact-dark: #2A00C9;
}

.g-nav__actions .c-btn {
  background: var(--c-contact);
  border-color: var(--c-contact);
  color: #FFFFFF;
}

.g-nav__actions .c-btn:hover {
  background: var(--c-contact-dark);
  border-color: var(--c-contact-dark);
  color: #FFFFFF;
}

/* CTAボックス内のCONTACTを白に（イベント・不動産のテーマ色上書き対策） */
.c-cta .c-eyebrow, .c-cta .c-cta__title {
  color: var(--c-white);
}

/* ==========================================================
   2026-10 修正：アクロバット写真位置／手書き風コピーをゴシック体に
   ========================================================== */
.p-acrobat__body { flex: 1 1 100%; }
.p-acrobat__zen { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); grid-template-areas: "text img" "profile img"; gap: 24px clamp(20px, 3vw, 40px); align-items: start; }
.p-acrobat__zen .p-acrobat__text { grid-area: text; }
.p-acrobat__zen .p-acrobat__img { grid-area: img; align-self: stretch; aspect-ratio: auto; min-height: 320px; }
.p-acrobat__zen .p-acrobat__profile { grid-area: profile; }
.p-acrobat__img { flex: none; width: 100%; min-height: 0; aspect-ratio: 4 / 3; }
.p-acrobat__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
@media (max-width: 767px) { .p-acrobat__zen { grid-template-columns: 1fr; grid-template-areas: "text" "img" "profile"; } .p-acrobat__zen .p-acrobat__img { aspect-ratio: 4 / 3; min-height: 0; } }

.c-hand { transform: none; gap: 14px; }
.c-hand__text { font-family: var(--f-jp); font-weight: 500; letter-spacing: .2em; }
.p-re-message__hand .c-hand__text { color: #fff; }
.p-biz__note .c-hand { transform: none; align-items: center; text-align: center; }
.p-biz__note .c-hand__text { font-size: clamp(16px, 1.6vw, 24px); letter-spacing: .12em; }
.p-biz__note .c-hand__line { width: 56px; }
.c-hand__line { width: 56px; height: 2px; }
/*# sourceMappingURL=basis.css.map */

/* ---------- ダンス レッスンスケジュール（アコーディオン） ---------- */
.p-dance-schedule { display: flex; flex-direction: column; margin-top: clamp(32px, 5vw, 56px); }
.p-dance-schedule__btnwrap { display: flex; justify-content: center; }
.p-dance-schedule__btn { min-width: min(100%, 360px); justify-content: center; }
.p-dance-schedule__btn::after { content: "+"; font-size: 18px; line-height: 1; transition: transform 0.3s var(--ease); }
.p-dance-schedule__btn:hover::after { transform: none; }
.p-dance-schedule__btn[aria-expanded="true"]::after { transform: rotate(45deg); }
.p-dance-schedule__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--ease); }
.p-dance-schedule__panel.is-open { grid-template-rows: 1fr; }
.p-dance-schedule__inner { min-height: 0; overflow: hidden; visibility: hidden; transition: visibility 0s 0.5s; }
.p-dance-schedule__panel.is-open .p-dance-schedule__inner { visibility: visible; transition: none; padding-top: clamp(32px, 5vw, 56px); }
