/* ////////////////////////////////////////////////////////////
  共通
//////////////////////////////////////////////////////////// */

@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+Antique&display=swap');

:root {
  --opa-1: 0.95;
  --color-bg: #564f68;
  --color-bg-gradient: linear-gradient(225deg, #7A6C88 0%, #7A6C88 50%, #E5DED1 100%);
  --text-white: #fff;
  --font-notoS: "MFW-PIshiiMinchoOldStdN-R", serif;
  --font-ZenKakuGothicA: "Zen Kaku Gothic Antique", sans-serif;
}


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

html {
  overflow-x: hidden;
  background: var(--color-bg-gradient);
  min-height: 100vh;
  scroll-behavior: auto;
}
body,
html {
  height: auto;
  margin: 0;
  padding: 0;
  color: var(--text-white);
  font-family: var(--font-notoS);
  overflow-x: hidden !important;
}
a {
  text-decoration: underline !important;
}
:lang(ja) {
  font-family: var(--font-notoS) !important;
  font-optical-sizing: auto;
  font-style: normal;
}

::selection {
  color: var(--color-bg);
}

#mouse-stalker,


/* ////////////////////////////////////////////////////////////
  GoogleDocumentの呼び出しエリア
//////////////////////////////////////////////////////////// */

.doc-native-wrapper {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  opacity: 0;
  pointer-events: auto;
  transition: opacity 1s ease-in-out;
}
.doc-native-wrapper.is-visible {
  opacity: var(--opa-1);
}

#native-doc {
  position: absolute;
  inset: 0px;
  display: block;
  overflow: auto;
  height: calc(100svh - 8px);
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  transform: translateZ(0) scale(1.3);
  transform-origin: top center;
  transition: transform 0.4s ease;
}
#native-doc.is-flipped {
  transform: translateZ(0) scale(1.3) scaleX(-1);
}

#banners {
  display: none !important;
}
#contents {
  width: 100%;
  background-color: transparent;
}
#contents .doc-content {
  min-width: 100%;
  padding: 0 !important;
}
#contents .doc-content,
#contents .doc-content p,
#contents .doc-content p span,
#contents .doc-content h2 span {
  font-family: var(--font-ZenKakuGothicA) !important;
}

.doc-content p {
  line-height: 2.2em !important;
}

/* //////////////////////////////////////////////////////////// エリア
//////////////////////////////////////////////////////////// */ .container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 1rem 0 1.1rem;
  font-size: 14px;
}






/* ////////////////////////////////////////////////////////////
  左右パネル
//////////////////////////////////////////////////////////// */

.panel-left,
.panel-right {
  position: fixed;
  top: 0;
  height: 100svh;
  z-index: 200;
  pointer-events: none;
  color: var(--text-white);
}

/* ---- 左パネル ---- */
.panel-left {
  left: 0;
}

/* 「2026年6月開講」: 上8svh、タイトル列右隣 */
.panel-left__meta .meta-date {
  position: absolute;
  top: 8svh;
  left: calc(0.8vw + 8svh);
  font-family: var(--font-notoS);
  font-size: 1.8rem;
  letter-spacing: 0.12em;
  line-height: 1;
  white-space: nowrap;
}

/* 「第5期」: 上29svh、タイトル列右隣 */
.panel-left__meta .meta-period {
  position: absolute;
  top: 29svh;
  left: calc(0.8vw + 8svh);
  font-family: var(--font-notoS);
  font-size: 1.8rem;
  letter-spacing: 0.12em;
  line-height: 1;
  white-space: nowrap;
}

/* 「森田真生ゼミ」: 左0.8vw・上31svhスタート・7svh×6文字=42svh */
.panel-left__title {
  position: absolute;
  top: 31svh;
  left: 0.8vw;
  writing-mode: vertical-rl;
  font-family: var(--font-notoS);
  font-size: 7svh;
  font-weight: 300;
  margin: 0;
  line-height: 1;
  letter-spacing: 0.05em;
}

/* ---- 右パネル ---- */
.panel-right {
  right: 0;
}

/* 「生活の学校」: 上3svhスタート・14svh×5文字=70svh */
.panel-right__title {
  position: absolute;
  top: 3svh;
  right: 0.8vw;
  writing-mode: vertical-rl;
  font-family: var(--font-notoS);
  font-size: 14svh;
  font-weight: 300;
  margin: 0;
  line-height: 1;
  letter-spacing: 0.03em;
}

/* 「募集中↗」: 下10% */
.panel-right__cta {
  position: absolute;
  bottom: 10svh;
  right: 1vw;
  font-family: var(--font-notoS);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  line-height: 1.8;
  text-align: right;
  white-space: nowrap;
  margin: 0;
}

/* ////////////////////////////////////////////////////////////
  左右反転ボタン
//////////////////////////////////////////////////////////// */

#flip-btn {
  position: fixed;
  bottom: calc(15svh - 3.5rem);
  right: 3%;
  z-index: 2000;
  pointer-events: auto;
  background: #000;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  width: 3rem;
  height: 3rem;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}
#flip-btn:hover,
#flip-btn:focus-visible {
  opacity: 1;
}
#flip-btn .flip-icon {
  font-size: 1.6rem;
  line-height: 1;
  color: #fff;
  display: inline-block;
  transition: transform 0.4s ease;
}
#flip-btn.is-active .flip-icon {
  transform: scaleX(-1);
}

@media (max-height: 780px) {
  #flip-btn {
    bottom: calc(20svh - 3.5rem);
  }
}

@media (max-width: 1024px) {
  #flip-btn {
    bottom: 2rem;
    right: 1.2rem;
  }
}



/* ////////////////////////////////////////////////////////////
  SPスクロール中フェード
//////////////////////////////////////////////////////////// */

.fade-on-scroll {
  transition: opacity .8s ease;
}

@media (max-width: 767px) {
  body.is-sp-scrolling .fade-on-scroll {
    opacity: 0;
    pointer-events: none;
  }
  body.is-sp-scrolling .doc-native-wrapper {
    opacity: 1 !important;
    pointer-events: auto !important;
  }
}

/* ////////////////////////////////////////////////////////////
  SPレイアウト（767px以下）
//////////////////////////////////////////////////////////// */

@media screen and (max-width: 767px) {
  html, body {
    overflow-x: hidden !important;
  } {
    display: none;
  }
  ::selection {
    color: inherit;
  }

}

/* ////////////////////////////////////////////////////////////
  タブレットレイアウト（768px〜1366px）
//////////////////////////////////////////////////////////// */

@media screen and (min-width: 768px) and (max-width: 1366px) { {
    display: none;
  }
}

/* ////////////////////////////////////////////////////////////
  スマホ＋タブレット共通（1024px以下）
//////////////////////////////////////////////////////////// */

@media (max-width: 1024px) {
  .doc-native-wrapper {
    overflow: auto !important;
    -webkit-overflow-scrolling: touch;
    pointer-events: auto !important;
  }
  #native-doc {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateZ(0) scale(1);
    inset: 0;
  }
  #native-doc.is-flipped {
    transform: translateZ(0) scale(1) scaleX(-1);
  }
  #contents {
    padding: 0;
    -webkit-font-smoothing: antialiased;
  }
  #contents p span {
    overflow: auto !important;
    width: auto !important;
    height: auto !important;
  }
  #contents p img {
    width: 100% !important;
    height: auto !important;
  }
  #contents .doc-content {
    padding: 1.8rem !important;
    max-width: 100%;
  }
  #contents .doc-content p,
  #contents .doc-content li {
    line-height: 1.7;
  }
  table {
    width: 100%;
  }
}
