
:root {
  --lavender-light: #e2d5f3;
  --orange-pale: #fbe7d3;
  --lavender-deep: #d4c5e9;
  --orange-deep: #f9d9cd;

  --text-main: #555555;
  --text-muted: #666666;
  --bg-light: #fdfbfc;
  --white: #ffffff;


  --purple-accent: #8c6fb2;
  --purple-deep: #6a538d;
  --border-eee: #eee; 
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.015); 
  --shadow-soft: 0 5px 15px rgba(0, 0, 0, 0.01);
  --shadow-soft2: 0 4px 15px rgba(0, 0, 0, 0.01);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  color: var(--text-main);
  background-color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  font-size: 2rem;
  text-align: center;
  font-weight: 700;
  margin-bottom: 50px;
  letter-spacing: 0.05em;
}

.section-title p {
  display: inline-block;
  background-image: linear-gradient(to right, #a565f4, #f3cea1);
  background-repeat: no-repeat;
  background-size: 100% 3%;
  background-position: bottom;
}

.section-title p span {
  display: block;
  color: #d4c5e9;
  font-family: ohm-light, sans-serif;
  font-size: 0.5em;
  font-weight: 300;
  letter-spacing: 4px;
}

.scroll-dynamic-bg {
  background: linear-gradient(135deg,
      var(--lavender-light) 0%,
      var(--orange-pale) 33%,
      var(--lavender-deep) 66%,
      var(--orange-deep) 100%);
  background-size: 400% 400%;
  background-position: 0% 50%;
  animation: breathingAura 20s ease infinite;
  will-change: background-position;
}

@keyframes breathingAura {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-grid > *:nth-child(1) { transition-delay: 0s; }
.stagger-grid > *:nth-child(2) { transition-delay: 0.15s; }
.stagger-grid > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-grid > *:nth-child(4) { transition-delay: 0.45s; }

header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  padding: 24px 0;
  background: linear-gradient(90deg,
      rgba(226, 213, 243, 0.8) 0%,
      rgba(251, 231, 211, 0.8) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  transition:
    padding 0.4s ease,
    background 0.4s ease,
    box-shadow 0.4s ease;
}

header.scrolled {
  padding: 14px 0;
  background: linear-gradient(90deg,
      rgba(212, 197, 233, 0.95) 0%,
      rgba(249, 217, 205, 0.95) 100%);
  box-shadow: 0 4px 20px rgba(155, 130, 195, 0.12);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.1em;
  color: #444;
  z-index: 99999;
}

.logo a {
  text-decoration: none;
}

nav ul {
  display: flex;
  gap: 35px;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: #444;
  text-decoration: none;
  transition: .3s;
}

nav a:hover {
  opacity: 0.6;
  color: var(--purple-accent);
}

a.nav-link_current {
  color: var(--purple-accent);
}

.btn-cta {
  background: rgba(255, 255, 255, 0.8);
  color: var(--text-main);
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.9rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.3s,
    box-shadow 0.3s,
    background 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.btn-cta:hover {
  transform: translateY(-2px);
  background: var(--white);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.hamburger {
  display: none;
}

.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
  background-color: #000;
}

.hero-content {
  position: relative;
  z-index: 10; 
  max-width: 750px;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 115%; 
  z-index: 1;
  will-change: transform;
}

.hero-slider::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.35);
  z-index: 2;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: heroSlideshow 42s linear infinite; 
  will-change: opacity, transform;
  z-index: 1;
}

.slide:nth-child(1) { background-image: url("../img/main_bn1.png"); animation-delay: 0s; }
.slide:nth-child(2) { background-image: url("../img/main_bn2.png"); animation-delay: 6s; }
.slide:nth-child(3) { background-image: url("../img/main_bn3.jpg"); animation-delay: 12s; }
.slide:nth-child(4) { background-image: url("../img/main_bn4.jpg"); animation-delay: 18s; }
.slide:nth-child(5) { background-image: url("../img/main_bn5.jpg"); animation-delay: 24s; }
.slide:nth-child(6) { background-image: url("../img/main_bn6.jpg"); animation-delay: 30s; }

@keyframes heroSlideshow {
  0%      { opacity: 0; transform: scale(1.02); }
  5%      { opacity: 1; }
  33.33%  { opacity: 1; }
  38.33%  { opacity: 0; transform: scale(1.09); }
  100%    { opacity: 0; }
}

.reveal-mask {
  display: block;
  overflow: hidden;
  margin-bottom: 8px;
}

.hero-title {
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-main);
  transform: translateY(100%);
  animation: textReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  -webkit-text-stroke: 2px #FFF;
  paint-order: stroke;
}

.hero-title.delay-1 {
  animation-delay: 0.15s;
}

@keyframes textReveal {
  to { transform: translateY(0); }
}

.hero-badges {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-start;
  margin-top: 30px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUpIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}

@keyframes fadeUpIn {
  to { opacity: 1; transform: translateY(0); }
}

.badge {
  background: rgba(255, 255, 255, 0.9);
  padding: 14px 30px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 500;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(226, 213, 243, 0.8);
  display: inline-block;
}

.hero-bg-text {
  position: absolute;
  right: -2%;
  top: 45%;
  transform: translateY(-50%);
  font-family: ohm-medium, sans-serif;
  font-size: 10rem;
  font-weight: 500;
  line-height: 1.1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.7);
  letter-spacing: 0.05em;
  pointer-events: none;
  white-space: nowrap;
  z-index: 5; /* スライドの上、コンテンツの背面 */
  will-change: transform;
}

.marquee-container {
  overflow: hidden;
  background: var(--white);
  padding: 20px 0;
  border-top: 1px solid rgba(155, 130, 195, 0.15);
  border-bottom: 1px solid rgba(155, 130, 195, 0.15);
  white-space: nowrap;
  width: 100vw;
}

.marquee-inner {
  display: inline-block;
  animation: marqueeLoop 30s linear infinite;
}

.marquee-inner span {
  font-family: ohm-medium, sans-serif;
  font-size: 1.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(140, 111, 178, 0.6);
  padding-right: 3rem;
}

@keyframes marqueeLoop {
  0%   { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

.problems {
  padding: 120px 0;
  background-color: var(--white);
  text-align: center;
}

.problems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.problem-card {
  background-image: linear-gradient(0deg, rgba(231, 206, 255, 0.51), rgba(255, 242, 235, 0.64));
  padding: 45px 35px;
  border-radius: 24px;
  color: #444444;
  text-align: left;
  box-shadow: 0 12px 35px rgba(212, 197, 233, 0.18);
  display: flex;
  flex-direction: column;
  gap: 22px;
  transition: transform 0.3s ease;
}

.problem-card:hover {
  transform: translateY(-5px);
}

.problem-item {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.6;
  position: relative;
  padding: 30px;
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 24px;
  border: 1px solid #ffffff;
}

.pr_icon {
  text-align: center;
}

.pr_icon img {
  width: 80px;
  height: 80px;
}

.pr_img {
  text-align: center;
}

.pr_img img {
  width: 100%;
  height: auto;
  border-radius: 24px;
}

.strengths {
  padding: 120px 0;
  color: var(--text-main);
  text-align: center;
}
.strengths-catchphrase {
    margin: 0 0 15% 0;
}
.strengths-catchphrase_txt {
    line-height: 2.2em;
    font-size: 1em;
}
p.strengths-subttl {
  font-size: 1.4em;
  font-weight: 600;
  line-height: 3em;
    text-shadow:
    1px 1px 0 #fff,
    -1px 1px 0 #fff,
    -1px -1px 0 #fff,
    1px -1px 0 #fff;
}

p.strengths-subttl_2ndline {
  margin: 0 0 5% 0;
}

.strengths-intro {
  max-width: 850px;
  margin: 0 auto 60px;
  font-size: 1.1rem;
  line-height: 1.9;
  font-weight: 400;
}

.strengths-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  max-width: 920px;
  margin: 0 auto;
}

.strength-card {
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  padding: 30px;
  border-radius: 24px;
  text-align: left;
  transition:
    background 0.3s ease,
    transform 0.3s ease;
  display: flex;
  align-items: center;
  gap: 28px;
}

.strength-card:hover {
  background: rgba(255, 255, 255, 0.7);
  transform: translateY(-4px);
}

.strength-text {
  flex: 1 1 auto;
}

.strength-text-ttl {
  display: flex;
  align-items: center;
  margin: -1em 0 0 0;
}

.strength-text p span {
  font-weight: 600;
  background: linear-gradient(transparent 60%, rgb(255, 255, 229) 60%);
}

.strength-num {
  font-family: ohm-light, sans-serif;
  color: transparent; /* 中を透明にする */
  -webkit-text-stroke: 1px var(--purple-accent); /* 縁取り */
  font-size: 4rem;
  font-weight: 300;
  margin-bottom: 10px;
  margin-right: 6px;
  display: inline-block;
}

.strength-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.4;
  display: inline-block;
}

.strength-card p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.7;
}

.strength-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  border-radius: 12px;
  flex: 0 0 220px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.programs {
  padding: 120px 0;
  background-color: var(--bg-light);
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-top: -40px;
  margin-bottom: 100px;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.program-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-eee);
  transition: transform 0.3s ease;
}

.program-card:hover {
  transform: translateY(-5px);
}

.program-img {
  height: 260px;
  background-size: cover;
  background-position: center;
}

.program-body {
  padding: 35px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.program-meta {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 0.85rem;
  font-weight: 500;
}

.meta-item {
  display: flex;
  gap: 8px;
  align-items: center;
  background: #f7f5fb;
  padding: 8px 12px;
  border-radius: 12px;
}

.meta-label,
.meta-label-only {
  color: var(--purple-deep);
  font-weight: 700;
  white-space: nowrap;
}

.meta-label-only {
  display: inline-flex;
  align-items: center;
  padding-left: 2px;
  padding-right: 2px;
}

.meta-value {
  color: #443;
}

.meta-instructor-row,
.meta-duration-row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.meta-instructor-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.meta-instructor-pill,
.meta-duration-pill {
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
  font-weight: 500;
}

.meta-instructor-pill {
  background: var(--orange-pale);
  color: #b0713a;
}

.meta-duration-pill {
  background: var(--lavender-light);
  color: var(--purple-deep);
}

.meta-duration {
  background: transparent;
  color: inherit;
  padding: 0;
  border-radius: 0;
}

.program-body h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.program-body p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.instructors {
  padding: 120px 0;
  background-color: var(--white);
}

.instructors-box {
  display: block;
}

.and-more {
  color: #d4c5e9;
  font-family: ohm-light, sans-serif;
  margin-top: 6%;
  text-align: center;
  font-size: 1.4rem;
  font-weight: 300;
  letter-spacing: 4px;
}

.instructor-box_flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 5% 0;
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-eee);
  line-height: 0;
  scroll-margin-top: 150px;
}

.instructor-box_flex:hover {
  transform: translateY(-5px);
}

.instructor-box_flex__inner01 {
  width: 25%;
}

.instructor-avatar {
  width: 100%;
}

.instructor-box_flex__inner02 {
  width: 70%;
  line-height: 2em;
}

.instructor-box_flex__inner02 a img {
  width: 1em;
  margin: 0 0 0 1em;
}

.instructor-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.instructor-title {
  font-size: 0.85rem;
  color: var(--purple-accent);
  font-weight: 500;
  margin-bottom: 14px;
  display: block;
  line-height: 1.6;
}

.instructor-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  text-align: left;
  padding: 0 5px;
}

.schedule {
  padding: 120px 0;
  background-color: var(--bg-light);
}

.schedule-subheading {
  font-size: 1.2rem;
  font-weight: 700;
  color: #555;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: center;
}

.schedule-subheading span {
  font-family: ohm-light, sans-serif;
  font-weight: 400;
  font-size: 2.4em;
  margin: 0 0.5em 0 0;
}

.grad_txt_biz {
  background: linear-gradient(90deg, #b9a2f5 0%, #ffd6da 100%);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.grad_txt_sty {
  background: linear-gradient(90deg, #cca6ca 0%, #eac483 100%);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.schedule-block {
  border-radius: 28px;
  padding: 36px 30px 30px;
  margin-bottom: 32px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.schedule-block.business {
  background: rgba(203, 183, 240, 0.15);
  border: 1px solid rgba(203, 183, 240, 0.35);
}

.schedule-block.styling {
  background: rgba(255, 209, 186, 0.18);
  border: 1px solid rgba(255, 209, 186, 0.4);
}

.schedule-block + .schedule-block {
  margin-top: 24px;
}

.schedule-block .schedule-subheading {
  margin-bottom: 24px;
}

.timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding-left: 50px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg,
      var(--lavender-deep) 0%,
      var(--orange-deep) 100%);
}

.timeline-item {
  position: relative;
  margin-bottom: 45px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -42px;
  top: 5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #cbb7f0;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px #cbb7f0;
}

.timeline-day {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--purple-deep);
  margin-bottom: 6px;
}

.timeline-content {
  background: var(--white);
  padding: 22px 28px;
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-eee);
}
.timeline-content-img {
  display: flex;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap:10px;
  margin: 4% 0 0 0;
}
.timeline-content-img img {
  width: 100%;
  border-radius: 10px;
}
.timeline-content-img li {
  width: 33%;
}
.timeline-content h4 {
  font-weight: 700;
  margin-bottom: 6px;
}

.timeline-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.results {
  padding: 120px 0;
  background-color: var(--white);
}

.voice {
  max-width: 1200px;
  margin: auto;
}

.voice-item {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 90px;
}

.voice-person {
  width: 180px;
  text-align: center;
  flex-shrink: 0;
}

.voice-person img {
  width: 120px;
  display: block;
  margin: 0 auto 15px;
}

.voice-person p {
  color: #6d289f;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.4;
}

.voice-comment {
  position: relative;
  flex: 1;
  min-height: 180px;
  padding: 40px;
  border: 1px solid #ddd;
  border-radius: 24px;
  background: #fff;
  display: flex;
  align-items: center;
}

.voice-comment::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 72px;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  border-right: 28px solid #ddd;
}

.voice-comment::after {
  content: "";
  position: absolute;
  left: -26px;
  top: 72px;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  border-right: 27px solid #fff;
}

.voice-item.reverse {
  flex-direction: row-reverse;
}

.voice-item.reverse .voice-comment::before {
  left: auto;
  right: -28px;
  border-right: none;
  border-left: 28px solid #ddd;
}

.voice-item.reverse .voice-comment::after {
  left: auto;
  right: -25px;
  border-right: none;
  border-left: 27px solid #fff;
}

.companies-title {
  text-align: center;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 35px;
  color: var(--text-main);
}

.companies-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  max-width: 950px;
  margin: 0 auto;
}

.company-badge {
  background: #f1edf7;
  color: #555;
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
}

.companies-grid_img {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 950px;
  margin: 0 auto;
}

.company-badge_img {
  text-align: center;
}

.company-badge_img img {
  width: 90%;
}

.faq {
  padding: 120px 0;
  background-color: var(--bg-light);
}

.faq-wrapper {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

details {
  background: var(--white);
  border-radius: 14px;
  padding: 22px;
  box-shadow: var(--shadow-soft2);
  border: 1px solid var(--border-eee);
}

summary {
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 30px;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: #9b82c3;
  font-weight: 400;
}

details[open] summary::after {
  content: "−";
}

.faq-answer {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #f5f5f5;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.cta-bottom {
  padding: 120px 0;
  text-align: center;
}

.cta-bottom h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 25px;
}

.cta-bottom p {
  font-size: 1.15rem;
  margin-bottom: 45px;
  color: #333;
}

.cta-bottom .btn-cta {
  padding: 18px 50px;
  font-size: 1.1rem;
  background: var(--white);
  box-shadow: 0 10px 25px rgba(155, 130, 195, 0.15);
}

footer {
  background: #2b2633;
  color: #b5afbe;
  text-align: center;
  padding: 35px 0;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}


body.contact_wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

section#contact {
  padding: 10% 0 0 0;
  flex-grow: 1;
}

.page-top {
  position: fixed;
  right: 30px;
  bottom: 20px;
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  background: var(--purple-accent);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .2);
  opacity: 0;
  visibility: hidden;
  transition: .3s;
  z-index: 100;
  text-decoration: none;
}

.page-top:hover {
  background: #9b82c3;
  transform: translateY(-3px);
}

.page-top.show {
  opacity: 1;
  visibility: visible;
}

.sp_only {
  display: none;
}
@media (max-width: 1024px) {
  .instructors-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 20px;
  }
}

@media screen and (max-width: 980px) {
  .slide:nth-child(1) { background-image: url("../img/main_bn1_sp.jpg"); animation-delay: 0s; }
  .slide:nth-child(2) { background-image: url("../img/main_bn2_sp.jpg"); animation-delay: 6s; }
  .slide:nth-child(3) { background-image: url("../img/main_bn3_sp.jpg"); animation-delay: 12s; }
  .slide:nth-child(4) { background-image: url("../img/main_bn4_sp.jpg"); animation-delay: 18s; }
  .slide:nth-child(5) { background-image: url("../img/main_bn5_sp.jpg"); animation-delay: 24s; }
  .slide:nth-child(6) { background-image: url("../img/main_bn6_sp.jpg"); animation-delay: 30s; }

  .strength-card {
    flex-direction: column;
    align-items: stretch;
  }

  .strength-img {
    width: 100%;
    height: 180px;
    flex: 0 0 auto;
  }

  .instructor-box_flex__inner02 h3 {
    font-size: 0.9rem;
  }

  .instructor-title {
    font-size: 0.75rem;
    line-height: 1.4;
  }

  .instructor-box_flex {
    padding: 2% 4%;
  }

  .instructor-desc {
    font-size: 0.75rem;
  }
}


@media (max-width: 768px) {

  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
  }

  .hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background: #333;
    border-radius: 3px;
    transition: .3s;
  }

  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100vw;
    height: auto;
    background: linear-gradient(270deg,
        rgba(226, 213, 243, 1) 0%,
        rgba(251, 231, 211, 1) 100%);
    box-shadow: -5px 0 15px rgba(0, 0, 0, .15);
    opacity: 0;
  }

  nav.open {
    right: 0;
    transform: translateY(-20px);
    animation: fadeIn 0.3s ease 0.1s forwards;
  }

  nav ul {
    margin-top: 90px;
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  nav a {
    display: block;
    padding: 16px 32px;
  }

  .spnav_btn-cta {
    padding: 10px;
    margin: 10% 6%;
    text-align: center;
  }

  .hamburger.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
  .hamburger.active span:nth-child(2) { opacity: 0; }
  .hamburger.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

  .voice-item,
  .voice-item.reverse {
    flex-direction: column;
    gap: 20px;
  }

  .voice-person {
    width: 100%;
    margin: 0 0 4% 0;
  }

  .voice-person p {
    font-size: 100%;
  }

  .voice-comment {
    width: 100%;
  }

  .voice-comment::before,
  .voice-item.reverse .voice-comment::before {
    left: 50%;
    right: auto;
    top: -28px;
    transform: translateX(-50%);
    border: none;
    border-left: 14px solid transparent;
    border-right: 14px solid transparent;
    border-bottom: 28px solid #ddd;
  }

  .voice-comment::after,
  .voice-item.reverse .voice-comment::after {
    left: 50%;
    right: auto;
    top: -26px;
    transform: translateX(-50%);
    border: none;
    border-left: 13px solid transparent;
    border-right: 13px solid transparent;
    border-bottom: 27px solid #fff;
  }

  .hero {
    text-align: center;
    height: auto;
    padding: 140px 0 100px;
  }

  .hero-content {
    margin: 0 auto;
  }

  .hero-badges {
    align-items: center;
  }

  .hero-bg-text {
    display: none;
  }

  .problems-grid,
  .strengths-grid,
  .programs-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 1.7rem;
  }
  #contact>.section-title {
    margin-top: 100px;
  }

  .hero-title {
    font-size: 1.8rem;
  }
  p.strengths-subttl {
    font-size: 100%;
    line-height: 1.6em;
  }
  p.strengths-subttl_2ndline {
    margin: 5% 0 20% 0;
  }
  .strengths-catchphrase {
    margin: 0 0 25% 0;
  }
  .timeline-content-img {
    flex-wrap: wrap;
  }
  .timeline-content-img li {
    width: 100%;
  }
  .pc_only {
    display: none;
  }
  .sp_only {
    display: block;
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: none;
  }
}

@media screen and (max-width: 640px) {
  .section-subtitle {
    font-size: 0.9rem;
  }

  .instructor-box_flex {
    display: block;
    width: 100%;
    max-width: 420px;
    padding: 18px 20px;
    box-sizing: border-box;
    border-radius: 25px;
    overflow: hidden;
  }

  .instructor-box_flex__inner01 {
    float: left;
    width: 96px;
    margin: 0 16px 30px 0;
  }

  .instructor-avatar {
    display: block;
    width: 96px;
    height: 128px;
    object-fit: cover;
  }

  .instructor-box_flex__inner02 {
    display: contents;
  }

  .instructor-box_flex h3 {
    margin: 0 0 5px;
    font-size: 16px;
    line-height: 1.4;
  }

  .instructor-box_flex .instructor-title {
    display: block;
    margin-bottom: 20px;
    font-size: 12px;
    line-height: 1.5;
  }

  .instructor-box_flex .instructor-desc {
    clear: both;
    margin: 0;
    font-size: 12px;
    line-height: 1.7;
  }

  .instructor-box_flex .instructor-desc + br + .instructor-desc {
    margin-top: 30px;
  }
}