@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;500;700;800;900&family=Noto+Sans+JP:wght@400;500;700;900&family=Poppins:wght@600;700;800&display=swap');

/* ===== Design Tokens ===== */

:root {
  --bg-main: #f7f1e8;
  --navy: #172b4d;
  --navy-soft: #24395c;
  --red: #c93a2f;
  --red-soft: #df6e5f;
  --gold: #d9a441;
  --gold-soft: #ebc979;
  --ink: #171717;
  --text-main: #23324a;
  --text-body: #4b5563;
  --hero-left-offset: 105px;
}

/* ===== Base ===== */

* {
  box-sizing: border-box;
  max-height: 999999px;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Noto Sans TC', 'Noto Sans JP', 'Noto Sans SC', sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
}

.page-wrapper {
  font-feature-settings: "palt";
  font-size: 1rem;
  line-height: 1.7;
  letter-spacing: 0.02em;
  color: var(--text-main);
}

.page-wrapper h1,
.page-wrapper h2,
.page-wrapper h3,
.page-wrapper h4,
.page-wrapper h5,
.page-wrapper h6 {
  color: var(--navy);
  font-weight: 800;
}

.page-wrapper p {
  margin: 0;
}

.page-wrapper a {
  text-decoration: none;
}

.page-wrapper img {
  display: block;
  max-width: 100%;
  height: auto;
}

.cafetalk-main-header,
.cafetalk-main-footer {
  display: none;
}

/* ===== Utilities ===== */

.page-wrapper .show-for-pc {
  display: block;
}

.page-wrapper .show-for-mobile {
  display: none;
}

.page-wrapper .show-for-only-tablet,
.page-wrapper .show-for-tablet {
  display: none;
}

/* ===== Layout ===== */

.hiroto-video-content {
  overflow: visible;
}

.hiroto-video-content .content-section {
  position: relative;
  padding: 88px 20px;
}

.hiroto-video-content .content-section .centered-content {
  max-width: 1120px;
  margin: 0 auto;
}

/* ===== Top Section ===== */

.top-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 15%, rgba(201, 58, 47, 0.18) 0, rgba(201, 58, 47, 0) 10%),
    radial-gradient(circle at 95% 12%, rgba(231, 178, 152, 0.45) 0, rgba(231, 178, 152, 0) 18%),
    radial-gradient(circle at 90% 82%, rgba(217, 164, 65, 0.2) 0, rgba(217, 164, 65, 0) 16%),
    linear-gradient(180deg, #f8f4ed 0%, #f3ede2 100%);
}

.top-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.85;
  background:
    radial-gradient(circle at 15% 75%, rgba(23, 43, 77, 0.14) 0, rgba(23, 43, 77, 0) 12%),
    radial-gradient(circle at 88% 18%, rgba(201, 58, 47, 0.12) 0, rgba(201, 58, 47, 0) 10%),
    radial-gradient(circle at 70% 32%, rgba(217, 164, 65, 0.15) 0, rgba(217, 164, 65, 0) 7%);
}

.hiroto-video-content .top-note-wrapper {
  padding: 0.5rem;
  border-bottom: 1px solid rgba(23, 43, 77, 0.1);
  background-color: #f8e6df;
  color: var(--navy);
  text-align: center;
  font-weight: 600;
}

.hiroto-video-content .top-note-wrapper .update {
  display: inline-block;
  margin-right: 0.25rem;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  background-color: var(--red);
  color: #fff;
}

/* ===== Hero ===== */

.hero-section {
  padding-top: 0 !important;
  padding-bottom: 40px !important;
}

.hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  max-width: 1320px;
  min-height: 640px;
  margin: 0 auto 40px;
  padding: 12px 36px 0 36px;
  overflow: visible;
  background: transparent;
}

.hero-visual::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 24px;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: rgba(201, 58, 47, 0.18);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 3;
  display: flex;
  flex: 0 1 58%;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  max-width: 760px;
  padding: 0 0 120px 0;
  padding-left: var(--hero-left-offset);
  text-align: left;
}

.hero-copy-title,
.hero-copy-jp,
.hero-copy-tag {
  align-self: flex-start;
}

.hero-copy-title {
  order: -2;
  margin-bottom: 20px;
  line-height: 0.95;
}

.hero-copy-title-small {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
  font-size: clamp(3.6rem, 6.2vw, 6.2rem);
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.hero-copy-title-main {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  font-size: 0;
  line-height: 1;
  font-weight: 900;
}

.hero-copy-title-main::before {
  content: "N3";
  display: inline-block;
  color: var(--red);
  font-family: 'Poppins', 'Noto Sans TC', 'Noto Sans SC', sans-serif;
  font-size: clamp(5rem, 8.3vw, 8.2rem);
  line-height: 0.9;
  font-weight: 800;
  letter-spacing: -0.04em;
  transform: translateY(5px);
}

.hero-copy-title-main::after {
  content: "文法";
  display: inline-block;
  white-space: nowrap;
  color: var(--navy);
  font-size: clamp(4.2rem, 7.2vw, 7rem);
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.hero-copy-jp {
  order: -1;
  position: relative;
  display: inline-block;
  margin-bottom: 28px;
  color: #222;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  line-height: 1.15;
  font-weight: 900;
}

.hero-copy-jp::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -12px;
  width: 100%;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(201, 58, 47, 0.65) 0%,
    rgba(201, 58, 47, 0.95) 68%,
    rgba(201, 58, 47, 0.55) 100%
  );
}

.hero-copy-tag {
  display: block;
  margin-top: 20px;
  padding: 16px 22px 16px 18px;
  border-left: 8px solid var(--gold);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 24px rgba(23, 23, 23, 0.06);
  color: var(--ink);
  font-size: clamp(1.1rem, 1.7vw, 1.7rem);
  line-height: 1.45;
  font-weight: 700;
  white-space: nowrap;
  max-width: none;
}

.hero-image-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  flex: 0 1 42%;
  align-items: flex-end;
  justify-content: flex-end;
  min-width: 260px;
  width: 42%;
  max-width: 520px;
  margin-left: 0;
  padding-bottom: 20px;
  right: 100px;
}

.hero-teacher-image {
  display: block;
  width: 68%;
  max-width: 350px;
  height: auto;
  object-fit: contain;
  object-position: right bottom;
}

.hero-image-wrap .show-for-pc {
  display: block !important;
}

.hero-image-wrap .show-for-mobile {
  display: none !important;
}

/* ===== Feature Blocks ===== */

.top-section .content-feature-wrapper {
  position: relative;
  z-index: 2;
}

.top-section .content-feature-wrapper .content-feature-container {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.top-section .content-feature-wrapper .feature-column {
  text-align: center;
}

.top-section .content-feature-wrapper .feature-column-container {
  position: relative;
  height: 100%;
  padding: 34px 20px 24px;
  border: 1px solid rgba(23, 43, 77, 0.14);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 28px rgba(23, 23, 23, 0.04);
  backdrop-filter: blur(2px);
}

.top-section .content-feature-wrapper .feature-column-title {
  position: absolute;
  left: 50%;
  top: -18px;
  transform: translateX(-50%);
  width: calc(100% - 28px);
  font-size: 1.16rem;
  line-height: 1.4;
  font-weight: 900;
}

.top-section .content-feature-wrapper .feature-column-title span {
  display: inline-block;
  width: 100%;
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f2e7cf 0%, #e6d4a8 100%);
  color: var(--navy);
}

.top-section .content-feature-wrapper .feature-column:nth-child(2) .feature-column-title span {
  background: linear-gradient(135deg, #f3ddd6 0%, #ebc1b5 100%);
}

.top-section .content-feature-wrapper .feature-column:nth-child(3) .feature-column-title span {
  background: linear-gradient(135deg, #dfe8f2 0%, #cad8e8 100%);
}

.top-section .content-feature-wrapper .feature-column-image {
  width: 92px;
  height: 92px;
  margin: 0 auto 14px;
}

.top-section .content-feature-wrapper .feature-column-image svg {
  width: 100%;
  height: 100%;
}

.top-section .content-feature-wrapper .feature-column-sub-text {
  margin-bottom: 8px;
  font-size: 0.98rem;
  font-weight: 700;
  color: #667085;
}

.top-section .content-feature-wrapper .feature-column-point {
  color: var(--navy);
  font-family: 'Poppins', 'Noto Sans TC', 'Noto Sans SC', sans-serif;
  font-size: 2.45rem;
  line-height: 1;
  font-weight: 800;
}

/* ===== Discount ===== */

.hiroto-video-content .discount-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  max-width: 920px;
  margin: 36px auto 0;
  padding: 28px 30px;
  border: 1px solid rgba(201, 58, 47, 0.2);
  border-radius: 24px;
  background: linear-gradient(135deg, #fff3ef 0%, #f8dfd6 100%);
  box-shadow: 0 16px 28px rgba(23, 23, 23, 0.05);
}

.hiroto-video-content .discount-wrapper .discount-image {
  flex: none;
  width: 128px;
  height: 128px;
}

.hiroto-video-content .discount-wrapper .discount-image svg {
  width: 100%;
  height: 100%;
}

.hiroto-video-content .discount-wrapper .discount-sub-text {
  display: inline-block;
  margin-bottom: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 1rem;
  line-height: 1.2;
  font-weight: 800;
}

.hiroto-video-content .discount-wrapper .discount-text {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 1.75rem;
  line-height: 1.35;
  font-weight: 800;
}

.hiroto-video-content .discount-wrapper .discount-price {
  margin-left: 8px;
  color: var(--red);
  font-family: 'Poppins', sans-serif;
  font-size: 3.2rem;
  line-height: 1;
  font-weight: 800;
}

.hiroto-video-content .discount-wrapper .discount-duration {
  font-size: 1rem;
  color: #6b7280;
}

/* ===== Section Typography ===== */

.hiroto-video-content .content-section .section-title {
  margin-bottom: 28px;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.hiroto-video-content .content-section .two-part-content-wrapper {
  display: flex;
  align-items: center;
  gap: 30px;
}

.hiroto-video-content .two-part-content-wrapper .part-item .part-text {
  margin-bottom: 16px;
  color: var(--text-body);
  font-size: 1.08rem;
  line-height: 1.95;
}

.hiroto-video-content .two-part-content-wrapper .part-item .part-text:last-child {
  margin-bottom: 0;
}

/* ===== Intro ===== */

.intro-section {
  background: linear-gradient(180deg, #fbf8f3 0%, #f5eee2 100%);
}

.intro-section .intro-wrapper .intro-text-wrapper,
.intro-section .intro-wrapper .intro-image {
  width: 50%;
}

.intro-section .intro-wrapper .intro-title {
  text-align: left;
}

.intro-section .intro-wrapper .intro-title span {
  padding: 0 0.08em;
  background: linear-gradient(transparent 72%, rgba(217, 164, 65, 0.42) 72%);
}

.intro-section .intro-wrapper .intro-image {
  display: flex;
  justify-content: center;
}

.intro-section .intro-wrapper .intro-image img {
  max-width: 500px;
  filter: drop-shadow(0 16px 24px rgba(23, 23, 23, 0.08));
}

/* ===== Intro Benefit List ===== */

.intro-benefit-layout {
  align-items: center;
}

.intro-copy-block {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.intro-lead,
.intro-closing {
  margin: 0;
}

.intro-lead {
  color: var(--text-body);
  font-size: 1.08rem;
  line-height: 1.95;
}

.intro-benefit-list {
  display: grid;
  gap: 14px;
  margin: 2px 0;
  padding: 0;
  list-style: none;
}

.intro-benefit-list li {
  position: relative;
  padding: 0 0 14px 32px;
  border-bottom: 1px solid rgba(23, 43, 77, 0.1);
}

.intro-benefit-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.intro-benefit-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 12px;
  height: 12px;
  border-radius: 12px 0 12px 0;
  background: linear-gradient(135deg, #d9a441 0%, #ebc979 100%);
  transform: translateY(-50%) rotate(45deg);
  box-shadow: 2px 2px 0 rgba(23, 43, 77, 0.1);
}

.intro-benefit-list li::after {
  content: "";
  position: absolute;
  left: 14px;
  top: 0.78em;
  width: 10px;
  height: 1.5px;
  border-radius: 999px;
  background: rgba(23, 43, 77, 0.18);
  transform: translateY(-50%);
}

.intro-benefit-list li > div {
  color: var(--text-body);
  font-size: 1.02rem;
  line-height: 1.85;
}

.intro-benefit-list li strong {
  color: var(--navy);
  font-weight: 800;
}

.intro-benefit-list li:hover strong {
  color: var(--red);
}

.intro-closing {
  color: var(--navy);
  font-size: 1.02rem;
  line-height: 1.9;
  font-weight: 700;
}

/* ===== Lesson Intro ===== */

.lesson-intro-section {
  background: linear-gradient(180deg, #ece5d8 0%, #e6dccb 100%);
}

.lesson-intro-section .lesson-intro-video-title {
  text-align: center;
}

.lesson-intro-section .phone-wrapper {
  position: relative;
  max-width: 760px;
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  padding: 7px 40px 7px 18px;
  border: 1px solid rgba(23, 43, 77, 0.12);
  border-radius: 42px;
  background: linear-gradient(180deg, #f3eadb 0%, #ecddc4 100%);
  box-shadow: 0 16px 32px rgba(23, 23, 23, 0.05);
}

.lesson-intro-section .phone-wrapper::before {
  content: "";
  position: absolute;
  left: -2.7%;
  top: 215px;
  width: 60px;
  height: 10px;
  border-radius: 999px;
  background: rgba(23, 43, 77, 0.18);
  transform: translateY(-50%) rotate(90deg);
}

.lesson-intro-section .phone-wrapper::after {
  content: "";
  position: absolute;
  left: 97.4%;
  bottom: 190px;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(23, 43, 77, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  transform: translateX(-50%);
}

.lesson-intro-section .lesson-intro-container {
  height: 100%;
  overflow: hidden;
  border-radius: 26px;
  background: #fff;
}

.page-wrapper .video-iframe-container,
.video-iframe-container-2 {
  display: flex;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.page-wrapper .video-iframe-container {
  height: 100%;
}

.video-iframe-container-2 {
  overflow: hidden;
  border-radius: 18px;
}

/* ===== Short Clip ===== */

.hiroto-video-content > .short-clip-section {
  background: linear-gradient(180deg, #f4eee4 0%, #efe5d8 100%);
}

.hiroto-video-content .pc-tab-wrapper {
  display: flex;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid rgba(23, 43, 77, 0.12);
  border-bottom: 0;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  background: #ece4d5;
}

.hiroto-video-content .pc-tab-wrapper .pc-tab-button {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--red-soft);
}

.hiroto-video-content .pc-tab-wrapper .pc-tab-button:nth-of-type(2) {
  background: var(--gold-soft);
}

.hiroto-video-content .pc-tab-wrapper .pc-tab-button:nth-of-type(3) {
  background: #9cb0c8;
}

.short-clip-section .short-clip-container {
  padding: 36px 30px;
  border: 1px solid rgba(23, 43, 77, 0.12);
  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 28px rgba(23, 23, 23, 0.04);
}

.short-clip-section .short-clip-title {
  margin-bottom: 26px;
  text-align: center;
}

.short-clip-section .short-clip-box {
  max-width: 760px;
  margin: 0 auto;
}

/* ===== Tutor Profile ===== */

.tutor-profile-section {
  background: linear-gradient(180deg, #fbf8f2 0%, #f2ebe0 100%);
}

.tutor-profile-section .tutor-profile-content {
  position: relative;
  max-width: 560px;
  margin: 76px auto 0;
}

.tutor-profile-section .tutor-profile-image {
  position: absolute;
  left: 50%;
  top: -84px;
  z-index: 3;
  width: 168px;
  transform: translateX(-50%);
}

.tutor-profile-section .tutor-profile-image img {
  width: 100%;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(23, 23, 23, 0.08);
}

.tutor-profile-section .tutor-name {
  padding: 96px 20px 26px;
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
  background: linear-gradient(180deg, #f0e5d4 0%, #e9dbc4 100%);
  text-align: center;
  font-size: 3rem;
  line-height: 1;
}

.tutor-profile-section .tutor-profile-text-container {
  padding: 30px 28px;
  border-bottom-left-radius: 28px;
  border-bottom-right-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 28px rgba(23, 23, 23, 0.04);
}

.tutor-profile-section .tutor-profile-text {
  margin-bottom: 16px;
  color: var(--text-body);
  font-size: 1.06rem;
  line-height: 1.95;
}

.tutor-profile-section .tutor-profile-text:last-child {
  margin-bottom: 0;
}

.tutor-profile-section .tutor-other-image {
  position: absolute;
  width: 250px;
  padding: 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 16px 28px rgba(23, 23, 23, 0.05);
}

.tutor-profile-section .tutor-other-image img {
  border-radius: 12px;
}

.tutor-profile-section .tutor-other-image-1 {
  top: -28px;
  right: -240px;
  transform: rotate(10deg);
}

.tutor-profile-section .tutor-other-image-2 {
  left: -252px;
  bottom: 18px;
  transform: rotate(-10deg);
}

.tutor-profile-section .tutor-profile-decoration {
  position: absolute;
  width: 184px;
  opacity: 0.88;
}

.tutor-profile-section .deco-1 {
  top: -36px;
  left: -210px;
}

.tutor-profile-section .deco-2 {
  right: -200px;
  bottom: -34px;
}

.tutor-profile-text-container.feature-list {
  display: grid;
  gap: 14px;
}

.tutor-profile-text-container .feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(23, 43, 77, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 20px rgba(23, 23, 23, 0.04);
}

.tutor-profile-text-container .feature-mark {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--navy) 0%, #2a4570 100%);
  color: #fff;
  font-family: 'Poppins', 'Noto Sans TC', 'Noto Sans SC', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 4px 4px 0 rgba(217, 164, 65, 0.75);
}

.tutor-profile-text-container .feature-item .tutor-profile-text {
  margin: 0;
  color: var(--text-body);
  font-size: 1.02rem;
  line-height: 1.85;
}

.tutor-profile-text-container .feature-item .tutor-profile-text strong {
  color: var(--navy);
  font-weight: 800;
}

/* ===== Purchase ===== */

.purchase-section {
  background: linear-gradient(180deg, #ece4d6 0%, #e6dccb 100%);
}

.purchase-section .info-using-container {
  margin-bottom: 42px;
  padding: 20px 30px 30px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 28px rgba(23, 23, 23, 0.04);
}

.purchase-section .info-using-deco {
  margin-bottom: 14px;
}

.purchase-section .info-using-deco svg {
  width: 100%;
  height: auto;
}

.purchase-section .info-using-text-title {
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(23, 43, 77, 0.12);
  text-align: center;
  font-size: 2rem;
  line-height: 1.2;
}

.purchase-section .info-using-list {
  margin: 0;
  padding-left: 1.4rem;
}

.purchase-section .info-using-list-item {
  margin-bottom: 10px;
  color: var(--text-body);
  font-size: 1.05rem;
  line-height: 1.9;
}

.purchase-section .info-using-list-item:last-child {
  margin-bottom: 0;
}

.purchase-section .purchase-video-button {
  padding-right: 8px;
  padding-bottom: 8px;
  text-align: center;
}

.purchase-section .purchase-video-button a {
  display: inline-block;
  min-width: 500px;
  padding: 24px 42px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--navy) 0%, #2a4570 100%);
  box-shadow: 8px 8px 0 rgba(217, 164, 65, 0.9);
  color: #fff;
  font-size: clamp(1.7rem, 3.5vw, 3rem);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.purchase-section .purchase-video-button a:hover {
  transform: translate(8px, 8px);
  box-shadow: none;
}

/* ===== Floating Buttons ===== */

.purchase-side-button {
  position: fixed;
  top: 96px;
  right: -6px;
  z-index: 50;
  writing-mode: vertical-rl;
  padding: 16px 12px;
  border-top-left-radius: 18px;
  border-bottom-left-radius: 18px;
  background: linear-gradient(180deg, var(--navy) 0%, #2f466c 100%);
  box-shadow: -5px 5px 0 rgba(217, 164, 65, 0.9);
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  opacity: 0;
  transform: translateX(100%);
  transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

.purchase-side-button.show {
  opacity: 1;
  transform: translateX(0);
}

.purchase-side-button:hover {
  transform: translate(-5px, 5px);
  box-shadow: none;
  color: #fff;
}

.pagetop {
  position: fixed;
  right: 24px;
  bottom: 70px;
  z-index: 60;
  width: 54px;
  height: 54px;
  padding: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  cursor: pointer;
  opacity: 0;
  box-shadow: 0 10px 18px rgba(23, 23, 23, 0.1);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.pagetop svg {
  width: 100%;
  height: 100%;
}

.pagetop.show {
  opacity: 1;
}

.pagetop.show:hover {
  transform: translateY(-3px);
}

/* ===== Responsive: 1180px ↓ ===== */

@media only screen and (max-width: 1180px) {
  :root {
    --hero-left-offset: 72px;
  }

  .hero-visual {
    min-height: 640px;
    margin-left: auto;
    margin-right: auto;
    padding: 12px 60px 0 70px;
    overflow: hidden;
  }

  .hero-visual::before {
    left: -90px;
    top: 18px;
    width: 180px;
    height: 180px;
  }

  .hero-copy {
    flex: 0 1 56%;
    max-width: 620px;
    padding-bottom: 20px;
  }

  .hero-image-wrap {
    flex: 0 1 44%;
    width: 44%;
    min-width: 220px;
    max-width: 430px;
    right: 0;
  }

  .hero-teacher-image {
    max-width: 430px;
  }

  .hero-copy-title-small {
    font-size: clamp(3rem, 5.4vw, 5rem);
  }

  .hero-copy-title-main::before {
    font-size: clamp(4.4rem, 7vw, 6.6rem);
  }

  .hero-copy-title-main::after {
    font-size: clamp(3.7rem, 6vw, 5.8rem);
  }

  .hero-copy-jp {
    font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  }

  .hero-copy-tag {
    padding: 14px 18px 14px 14px;
    font-size: clamp(1rem, 1.4vw, 1.3rem);
  }
}

/* ===== Responsive: 960px ↓ ===== */

@media only screen and (max-width: 960px) {
  .tutor-profile-section .tutor-other-image,
  .tutor-profile-section .tutor-profile-decoration {
    display: none;
  }
}

/* ===== Responsive: 920px ↓ ===== */

@media only screen and (max-width: 920px) {
  :root {
    --hero-left-offset: 40px;
  }

  .hero-section {
    padding-bottom: 28px !important;
  }

  .hero-visual {
    min-height: 470px;
    gap: 14px;
    margin-bottom: 28px;
    padding: 8px 18px 0 18px;
  }

  .hero-visual::before {
    left: -70px;
    top: 16px;
    width: 140px;
    height: 140px;
  }

  .hero-copy {
    flex: 0 1 58%;
    max-width: none;
    padding-bottom: 12px;
  }

  .hero-image-wrap {
    flex: 0 1 42%;
    width: 42%;
    min-width: 180px;
    max-width: 320px;
  }

  .hero-teacher-image {
    max-width: 320px;
  }

  .hero-copy-title {
    margin-bottom: 14px;
  }

  .hero-copy-title-small {
    font-size: clamp(2.5rem, 4.8vw, 3.8rem);
  }

  .hero-copy-title-main {
    gap: 6px;
  }

  .hero-copy-title-main::before {
    font-size: clamp(3.6rem, 6vw, 5rem);
  }

  .hero-copy-title-main::after {
    font-size: clamp(3rem, 5.2vw, 4.4rem);
  }

  .hero-copy-jp {
    margin-bottom: 18px;
    font-size: clamp(1.35rem, 2.5vw, 1.9rem);
  }

  .hero-copy-jp::after {
    bottom: -8px;
    height: 4px;
  }

  .hero-copy-tag {
    margin-top: 14px;
    padding: 12px 14px 12px 12px;
    border-left-width: 6px;
    font-size: 0.95rem;
    line-height: 1.5;
  }
}

/* ===== Responsive: 768px ↓ ===== */

@media only screen and (max-width: 768px) {
  .page-wrapper .show-for-only-tablet,
  .page-wrapper .show-for-tablet {
    display: block;
  }

  .top-section .content-feature-wrapper .content-feature-container {
    gap: 33px;
  }

  .top-section .content-feature-wrapper .feature-column-point {
    font-size: 2.15rem;
  }
}

/* ===== Responsive: 599px ↓ ===== */

@media only screen and (max-width: 599px) {
  :root {
    --hero-left-offset: 0px;
  }

  html,
  body {
    overflow-x: hidden;
  }

  .page-wrapper .show-for-pc {
    display: none;
  }

  .page-wrapper .show-for-mobile {
    display: block;
  }

  .page-wrapper .show-for-only-tablet {
    display: none;
  }

  .page-wrapper,
  .hiroto-video-content,
  .top-section,
  .hero-section,
  .hero-section .centered-content {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }

  .hiroto-video-content .content-section {
    padding: 56px 16px;
  }

  .hiroto-video-content .content-section.hero-section {
    padding-top: 8px !important;
    padding-right: 0 !important;
    padding-bottom: 20px !important;
    padding-left: 0 !important;
  }

  .hero-section .centered-content {
    margin: 0;
  }

  .hero-visual {
    position: relative;
    width: 100%;
    min-height: 500px;
    margin: -90px 0 -60px 0;
    padding: 12px 0 0 0;
    overflow: hidden;
  }

  .hero-visual::before {
    left: 10px;
    top: 105px;
    width: 100px;
    height: 100px;
  }

  .hero-copy {
    width: auto;
    max-width: none;
    padding: 0 0 0 20px;
  }

  .hero-copy-title,
  .hero-copy-jp,
  .hero-copy-tag {
    margin-left: 0;
  }

  .hero-copy-title {
    margin-bottom: 8px;
  }

  .hero-copy-title-small {
    font-size: 3.3rem;
    line-height: 1;
  }

  .hero-copy-title-main {
    gap: 6px;
  }

  .hero-copy-title-main::before {
    font-size: 4.2rem;
  }

  .hero-copy-title-main::after {
    font-size: 3.5rem;
  }

  .hero-copy-jp {
    display: inline-block;
    margin-bottom: 14px;
    font-size: 1.75rem;
    line-height: 1.12;
    white-space: nowrap;
  }

  .hero-copy-jp::after {
    bottom: -8px;
    height: 4px;
  }

  .hero-image-wrap {
    position: absolute;
    top: 95px;
    right: -20px;
    left: auto;
    bottom: auto;
    z-index: 2;
    display: block;
    width: 68vw;
    max-width: 290px;
    min-width: 0;
    margin: 0;
    padding: 0;
  }

  .hero-teacher-image {
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .hero-copy-tag {
    position: relative;
    z-index: 4;
    display: block;
    width: calc(100vw - 40px);
    max-width: none;
    margin-top: 342px;
    margin-bottom: -210px;
    padding: 12px 8px 12px 9px;
    border-left-width: 6px;
    transform: translateY(-335px);
    font-size: 1rem;
    line-height: 1.55;
    white-space: normal;
  }

  .hero-image-wrap .show-for-pc {
    display: none !important;
  }

  .hero-image-wrap .show-for-mobile {
    display: block !important;
  }

  .feature-column {
    margin-left: 18px;
    margin-right: 18px;
  }

  .top-section .content-feature-wrapper .content-feature-container {
    grid-template-columns: 1fr;
  }

  .top-section .content-feature-wrapper .feature-column-container {
    padding: 32px 16px 20px;
  }

  .top-section .content-feature-wrapper .feature-column-title {
    top: -22px;
    font-size: 1.4rem;
  }

  .top-section .content-feature-wrapper .feature-column-title span {
    padding: 8px 12px;
  }

  .top-section .content-feature-wrapper .feature-column-image {
    width: 84px;
    height: 84px;
  }

  .hiroto-video-content .top-note-wrapper {
    font-size: 0.875rem;
    line-height: 1.25rem;
  }

  .hiroto-video-content .discount-wrapper {
    display: block;
    padding: 20px 16px;
    text-align: center;
  }

  .hiroto-video-content .discount-wrapper .discount-image {
    width: 90px;
    height: 90px;
    margin: 0 auto 14px;
  }

  .hiroto-video-content .discount-wrapper .discount-text {
    font-size: 1.8rem;
  }

  .hiroto-video-content .discount-wrapper .discount-price {
    display: inline;
    margin: 8px 0 0;
    font-size: 2rem;
  }

  .hiroto-video-content .discount-wrapper .discount-duration {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .hiroto-video-content .content-section .two-part-content-wrapper {
    display: block;
  }

  .hiroto-video-content .two-part-content-wrapper .part-item .part-text {
    font-size: 1rem;
    line-height: 1.85;
  }

  .intro-section .intro-wrapper .intro-text-wrapper,
  .intro-section .intro-wrapper .intro-image {
    width: 100%;
  }

  .intro-section .intro-wrapper .intro-title {
    text-align: center;
  }

  .intro-section .intro-wrapper .intro-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(100% + 24px);
    margin-top: 28px;
    margin-right: -12px;
    margin-left: -12px;
  }

  .intro-section .intro-wrapper .intro-image img {
    display: block;
    width: 95vw;
    max-width: none;
    min-width: 0;
    margin: 0 auto;
  }

  .intro-copy-block {
    gap: 14px;
  }

  .intro-lead,
  .intro-closing {
    font-size: 1rem;
    line-height: 1.8;
  }

  .intro-benefit-list {
    gap: 10px;
  }

  .intro-benefit-list li {
    padding-bottom: 10px;
    padding-left: 26px;
  }

  .intro-benefit-list li::before {
    width: 8px;
    height: 8px;
  }

  .intro-benefit-list li::after {
    left: 12px;
    width: 8px;
  }

  .intro-benefit-list li > div {
    font-size: 0.96rem;
    line-height: 1.72;
  }

  .lesson-intro-section .phone-wrapper::before {
    left: -6%;
    top: 50%;
    width: 67px;
    transform: translateY(-50%) rotate(90deg);
  }

  .lesson-intro-section .phone-wrapper::after {
    left: 95%;
    top: 97px;
    bottom: auto;
    transform: translateX(-50%);
  }

  .short-clip-section .short-clip-container {
    padding: 24px 16px;
  }

  .tutor-profile-section .tutor-profile-content {
    margin-top: 56px;
  }

  .tutor-profile-section .tutor-profile-image {
    top: -56px;
    width: 112px;
  }

  .tutor-profile-section .tutor-name {
    padding: 70px 16px 18px;
    font-size: 2.2rem;
  }

  .tutor-profile-section .tutor-profile-text-container {
    padding: 20px 16px;
  }

  .tutor-profile-section .tutor-profile-text {
    font-size: 1rem;
    line-height: 1.85;
  }

  .tutor-profile-text-container.feature-list {
    gap: 10px;
  }

  .tutor-profile-text-container .feature-item {
    gap: 10px;
    padding: 12px 12px;
    border-radius: 14px;
  }

  .tutor-profile-text-container .feature-mark {
    min-width: 32px;
    height: 32px;
    font-size: 0.78rem;
    box-shadow: 3px 3px 0 rgba(217, 164, 65, 0.75);
  }

  .tutor-profile-text-container .feature-item .tutor-profile-text {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .purchase-section .info-using-container {
    margin-bottom: 30px;
    padding: 16px 16px 20px;
  }

  .purchase-section .info-using-text-title {
    font-size: 1.35rem;
  }

  .purchase-section .info-using-list-item {
    font-size: 1rem;
    line-height: 1.75;
  }

  .purchase-section .purchase-video-button a {
    display: block;
    width: 100%;
    min-width: 0;
    padding: 18px 18px;
    font-size: 1.6rem;
  }

  .purchase-side-button {
    top: auto;
    bottom: 220px;
    padding: 12px 8px;
    font-size: 0.9rem;
  }

  .pagetop {
    right: 16px;
    bottom: 55px;
    width: 46px;
    height: 46px;
    padding: 9px;
  }

  .hero-copy-title-main::after {
    transform: translateX(-9px);
  }
}

/* ===== Responsive Patch: 600px–1180px ===== */

@media only screen and (min-width: 600px) and (max-width: 1180px) {
  .hero-section {
    padding-bottom: 28px !important;
  }

  .hero-visual {
    align-items: center;
    min-height: clamp(420px, 52vw, 560px);
    margin-bottom: 28px;
    padding-top: 20px;
    padding-bottom: 0;
    overflow: hidden;
    max-width: none;
    padding-left: 24px;
    padding-right: 24px;
  }

  .hero-visual::before {
    left: 30px;
    top: 50px;
  }

  .hero-copy {
    justify-content: center;
    padding-bottom: 0;
    flex: 0 1 60%;
    max-width: none;
  }

  .hero-image-wrap {
    align-self: flex-end;
    right: 0;
    flex: 0 1 40%;
    width: 40%;
    max-width: 460px;
  }

  .hero-teacher-image {
    width: 82%;
    max-width: 460px;
  }

  .hero-copy-title-small {
    font-size: 3.9rem;
  }

  .hero-copy-title-main::before {
    font-size: 4.8rem;
  }

  .hero-copy-title-main::after {
    font-size: 4.4rem;
  }

  .hero-copy-jp {
    font-size: 2.4rem;
    white-space: nowrap;
  }
}

/* ===== Responsive Patch: 921px–1180px ===== */

@media only screen and (min-width: 921px) and (max-width: 1180px) {
  .hero-visual {
    min-height: clamp(460px, 50vw, 580px);
    padding-left: 56px;
    padding-right: 42px;
  }

  .hero-copy {
    flex: 0 1 56%;
    padding-bottom: 10px;
  }

  .hero-image-wrap {
    flex: 0 1 44%;
    width: 44%;
    max-width: 430px;
  }
}

/* ===== Responsive Patch: 600px–920px ===== */

@media only screen and (min-width: 600px) and (max-width: 920px) {
  :root {
    --hero-left-offset: 40px;
  }

  .hero-visual {
    gap: 14px;
    min-height: clamp(390px, 58vw, 500px);
    padding: 12px 18px 0 18px;
  }

  .hero-copy {
    flex: 0 1 58%;
    max-width: none;
    padding-bottom: 0;
  }

  .hero-image-wrap {
    flex: 0 1 42%;
    width: 42%;
    min-width: 180px;
    max-width: 320px;
  }

  .hero-teacher-image {
    max-width: 320px;
  }
}
/* ===== Motion: Base ===== */

.hero-copy,
.hero-image-wrap,
.hero-copy-tag,
.reveal,
.feature-column-container,
.short-clip-container,
.tutor-profile-text-container .feature-item,
.info-using-container {
  will-change: transform, opacity;
}

/* ===== Motion: Hero intro ===== */

.hero-copy {
  animation: heroCopyIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-image-wrap {
  animation: heroImageIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-copy-tag {
  animation: heroTagIn 0.95s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* ===== Motion: Scroll reveal ===== */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* ===== Motion: Hover lift ===== */

.feature-column-container,
.tutor-profile-text-container .feature-item {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease;
}

.feature-column-container:hover,
.tutor-profile-text-container .feature-item:hover {
  transform: translateY(-4px);
}

/* ===== Motion: Hero accent ===== */

.hero-visual::before {
  animation: heroOrbFloat 6s ease-in-out infinite alternate;
}

/* ===== Keyframes ===== */

@keyframes heroCopyIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroImageIn {
  from {
    opacity: 0;
    transform: translate3d(20px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes heroTagIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroOrbFloat {
  from {
    transform: scale(1);
    opacity: 1;
  }
  to {
    transform: scale(1.04);
    opacity: 0.9;
  }
}

/* ===== Reduced motion ===== */

@media (prefers-reduced-motion: reduce) {
  .hero-copy,
  .hero-image-wrap,
  .hero-copy-tag,
  .hero-visual::before {
    animation: none !important;
  }

  .reveal,
  .reveal.is-visible,
  .feature-column-container,
  .short-clip-container,
  .tutor-profile-text-container .feature-item,
  .info-using-container {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .content-feature-wrapper .stagger-item,
  .content-feature-wrapper.is-visible .stagger-item {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ===== Motion: Feature stagger ===== */

.content-feature-wrapper .stagger-item {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.content-feature-wrapper.is-visible .stagger-item {
  opacity: 1;
  transform: translateY(0);
}

.content-feature-wrapper.is-visible .stagger-1 {
  transition-delay: 0.06s;
}

.content-feature-wrapper.is-visible .stagger-2 {
  transition-delay: 0.16s;
}

.content-feature-wrapper.is-visible .stagger-3 {
  transition-delay: 0.26s;
}

@media only screen and (max-width: 599px) {
  .hero-copy-tag {
    animation: none !important;
    transform: translateY(-335px) !important;
  }
  .hero-copy-jp {
    font-size: 1.1rem;
  }
}