:root {
  --blue: #075dcc;
  --deep: #0647a8;
  --light: #eef9ff;
  --yellow: #fff200;
  --pink: #f51d69;
  --text: #12365d;
  --max: 1100px;
}

.top_logo1{
  display: block;
}
.top_logo2{
  display: none;
}

.img_area {
	min-height: 138px;
	position: relative;
}


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

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  color: var(--text);
  font-size: 17px;
  line-height: 1.8;
  background: #fff;
}

a {
  text-decoration: none;
  color: inherit;
}

/* =========================
   Header
   ========================= */

.site-header {
  height: 72px;
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  box-shadow: 0 1px 8px rgba(0, 0, 0, .08);
}

.header-inner {
  max-width: 1200px;
  height: 100%;
  margin: auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #0755bb;
  font-size: 26px;
  font-weight: 900;
  white-space: nowrap;
}

.logo-mark {
  font-size: 30px;
  transform: skew(-15deg);
}

.pc-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}

.pc-nav a {
  color: #16477e;
  font-size: 14px;
  font-weight: 800;
}

.pc-nav a:hover {
  color: var(--blue);
}

.header-cta,
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  background: var(--pink);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 5px 14px rgba(245, 29, 105, .2);
}

.header-cta {
  padding: 11px 22px;
  font-size: 14px;
}

.header-cta b,
.cta-button b {
  font-size: 22px;
  line-height: 1;
}

.menu-button {
  display: none;
  border: 0;
  background: none;
  color: var(--blue);
  font-size: 28px;
}

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

.hero {
  position: relative;
  overflow: hidden;
  background: #ffffff;
}

.hero-inner {
  max-width: 1200px;
  min-height: 500px;
  margin: auto;
  padding: 34px 24px 0;
  position: relative;
  display: flex;
  align-items: flex-end;
}

.hero-copy {
  width: 57%;
  padding-bottom: 48px;
  position: relative;
  z-index: 3;
}

.hero-lead {
  margin: 0 0 10px;
  color: #0755bb;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.25;
  transform: rotate(-2deg);
}

.hero-lead strong {
  border-bottom: 5px solid #e8ed00;
}

.hero h1 {
  position: relative;
  z-index: 4;
  margin: 0;
  color: #064ab5;
  font-size: 86px;
  line-height: 1;
  letter-spacing: .04em;
  font-weight: 1000;
  text-shadow: 2px 3px 0 #fff;
}

.hero-sub {
  margin: 14px 0;
  color: #0755bb;
  font-size: 29px;
  font-weight: 900;
}

.hero-point {
  display: inline-block;
  padding: 7px 14px;
  background: #fff500;
  color: #0750ad;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.45;
  transform: rotate(-1deg);
}

.hero-student {
  width: 1200px;
  height: auto;
  aspect-ratio: 1080 / 470;
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-student img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right bottom;
  clip-path: none;
}

.placeholder-student {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 40px;
  background:
    radial-gradient(circle at 65% 25%, #f7d2bd 0 42px, transparent 43px),
    linear-gradient(145deg, transparent 35%, #253a68 35% 75%, transparent 75%),
    linear-gradient(160deg, #f8fdff 0 20%, #9adcf9 20% 70%, #dff8ff 70%);
  color: rgba(255, 255, 255, .85);
  font-size: 18px;
  font-weight: 900;
  clip-path: ellipse(58% 70% at 58% 55%);
}

.placeholder-student small {
  display: none;
}

.deadline {
  width: 145px;
  height: 145px;
  position: absolute;
  right: 28px;
  top: 52px;
  z-index: 5;
  overflow: hidden;
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  color: #0755bb;
  background: #fff;
  border: 8px solid #fff;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, .12);
}

.deadline span {
  padding-top: 8px;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.15;
  white-space: nowrap;
}

.deadline b {
  width: 100%;
  margin-top: 3px;
  padding: 2px 4px;
  background: #0755bb;
  color: #fff;
  font-size: 10px;
  line-height: 1.35;
  white-space: nowrap;
}

.deadline strong {
  padding-top: 2px;
  font-size: 29px;
  line-height: 1.05;
  white-space: nowrap;
}

.deadline strong span {
  padding: 0;
  font-size: 13px;
}

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

.feature-bar {
  max-width: 1200px;
  margin: auto;
  padding: 25px 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #f1fbff;
}

.feature {
  padding: 5px 20px;
  text-align: center;
  border-right: 1px solid #9bcce9;
}

.feature:last-child {
  border-right: 0;
}

.feature-icon {
    width: 90px;
    height: 90px;
    margin: 0 0 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 50%;


}

.feature-icon img {
    width: 65px;
    height: 65px;
    object-fit: contain;
    filter: brightness(0) saturate(100%)
            invert(57%) sepia(79%) saturate(600%)
            hue-rotate(164deg) brightness(95%) contrast(95%);
}

.feature h3 {
  margin: 9px 0 4px;
    color: #005fd1;
  font-size: 18px;

}

.feature p {
  margin: 0;
  color: #315b82;
  font-size: 14px;
  line-height: 1.7;
}

/* =========================
   Common Section
   ========================= */

.section2 {
  max-width: var(--max);
  margin: auto;
  padding: 58px 24px;
}

.section-title {
  margin-bottom: 28px;
  text-align: center;
}

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

.section-title span {
  color: var(--pink);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .2em;
  text-align: center;
}

.section-title h2 {
  margin: 0;
  color: #0755bb;
  font-size: 34px;
  font-weight: 1000;
  text-align: center;
}

.section-title p {
  margin: 3px 0 0;
  font-size: 15px;
  text-align: center;
}

/* =========================
   Courses
   ========================= */

.courses {
  background: #fff;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.course-card {
  min-height: 155px;
  padding: 18px 12px;
  position: relative;
  color: #fff;
  text-align: center;
  border-radius: 8px;
  transition: .2s;
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .12);
}

.course-card.orange {
  background: #ff8b16;
}

.course-card.blue {
  background: #1d9cdd;
}

.course-card.deep-blue {
  background: #0874d5;
}

.course-card.pink {
  background: #f34172;
}

.course-card.green {
  background: #65b744;
}

.course-icon {
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}

.course-card h3 {
  margin: 6px 0 4px;
  font-size: 19px;
}

.course-card p {
  margin: 0;
  font-size: 11px;
  line-height: 1.5;
}

.course-card b {
  width: 22px;
  height: 22px;
  position: absolute;
  left: 50%;
  bottom: 9px;
  transform: translateX(-50%);
  background: #fff;
  color: inherit;
  border-radius: 50%;
  font-size: 20px;
  line-height: 20px;
}

/* =========================
   Reasons
   ========================= */

.reasons {
  padding: 65px 20px;
  background: #ffffff;
}

.reasons-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  align-items: center;
  gap: 50px;
}

/* タイトル */

.ribbon {
  padding: 0 0 16px;
  color: #172d49;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: 0.02em;
  border-bottom: 2px solid #005fd1;
}

.ribbon strong {
  display: inline-block;
  color: #005fd1;
  font-size: 38px;
  font-weight: 1000;
  margin: 0 2px;
}

/* 理由項目 */

.reason-item {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-top: 19px;
  padding: 8px 0 19px;
  border-bottom: 1px solid #d8e2ef;
}

/* 番号 */

.reason-item > span {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  line-height: 42px;
  text-align: center;
  color: #fff;
  background: #005fd1;
  border-radius: 50%;
  font-size: 17px;
  font-weight: 700;
}

/* 見出し */

.reason-item h3 {
  margin: 0 0 7px;
  color: #173354;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

/* 説明 */

.reason-item p {
  margin: 0;
  color: #596a7d;
  font-size: 13px;
  line-height: 1.9;
}

/* 写真 */

.reason-photo {
  position: relative;
  height: 430px;

}

.reason-photo::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 12px;
  width: 100%;
  height: 100%;

}

.reason-photo img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 8px 20px rgba(20, 55, 100, 0.10);
}



/* =========================
   Campaign
   ========================= */

.campaign {
  position: relative;
  padding: 64px 24px 58px;
  background:
    radial-gradient(circle at 8% 25%, rgba(255, 255, 255, .95) 0 3px, transparent 4px),
    radial-gradient(circle at 92% 75%, rgba(255, 255, 255, .95) 0 4px, transparent 5px),
    linear-gradient(180deg, #eaf8ff 0%, #f8fcff 58%, #fff 100%);
}

.campaign .section-title {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.campaign .section-title h2 {
  display: inline-block;
  position: relative;
  padding: 0 18px 8px;
  font-size: clamp(32px, 3.4vw, 44px);
  line-height: 1.3;
  text-align: center;
}

.campaign .section-title p {
  margin: 16px auto 0;
  text-align: center;
}.campaign .section-title h2::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  height: 5px;
  border-radius: 99px;
  background: linear-gradient(90deg, #075dcc, #36b6f2, #f51d69);
  transform: skewX(-20deg);
}

.campaign-cards {
  max-width: 1080px;
  margin: 34px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.campaign-card {
  min-height: 235px;
  padding: 0;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: #fff;
  border: 0;
  border-radius: 18px 5px 18px 5px;
  box-shadow: 0 12px 28px rgba(0, 72, 150, .12);
  isolation: isolate;
}

.campaign-card::before {
  content: "";
  height: 11px;
  position: absolute;
  inset: 0 0 auto;
  background: #075dcc;
}

.campaign-card::after {
  content: "";
  width: 145px;
  height: 145px;
  position: absolute;
  right: -55px;
  top: -55px;
  z-index: -1;
  background: rgba(7, 93, 204, .08);
  border-radius: 50%;
}

.campaign-card.gift::before {
  background: #f51d69;
}

.campaign-card.gift::after {
  background: rgba(245, 29, 105, .08);
}

.campaign-card.course-free::before {
  background: #65b744;
}

.campaign-card.course-free::after {
  background: rgba(101, 183, 68, .10);
}

.campaign-number {
  width: 38px;
  height: 38px;
  position: absolute;
  left: 20px;
  top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #075dcc;
  color: #fff;
  border-radius: 11px 11px 11px 3px;
  font-size: 20px;
  font-weight: 1000;
  line-height: 1;
  transform: rotate(-5deg);
  box-shadow: 0 3px 8px rgba(7, 93, 204, .14);
}

.gift .campaign-number {
  background: #f51d69;
  box-shadow: 0 3px 8px rgba(245, 29, 105, .14);
}

.course-free .campaign-number {
  background: #65b744;
  box-shadow: 0 3px 8px rgba(101, 183, 68, .14);
}

.campaign-card-body {
  padding: 80px 24px 28px;
  position: relative;
  z-index: 2;
  text-align: left;
}

.campaign-small {
  margin: 0 0 10px;
  color: #58748d;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.6;
}

.campaign-card h3 {
  margin: 0;
  color: #0755bb;
  font-size: 26px;
  font-weight: 1000;
  line-height: 1.35;
}

.campaign-card h3 span {
  display: block;
  margin-top: 2px;
  font-size: 36px;
  font-weight: 1000;
  letter-spacing: .02em;
}

.campaign-card.gift h3 {
  color: #d91b5d;
}

.campaign-card.course-free h3 {
  color: #438f2e;
}

.campaign-note {
  max-width: 1080px;
  margin: 24px auto 0;
  padding: 15px 20px;
  background: rgba(255, 255, 255, .88);
  border: 1px solid #d6e7f2;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 72, 150, .05);
  font-size: 14px;
  line-height: 1.8;
}

.campaign-note p {
  margin: 3px 0;
}

.campaign-note a {
  color: #005fd1;
  text-decoration: underline;
}

.campaign-note a:hover {
  color: #003f91;
}


/* =========================
   Course Details
   ========================= */

.course-details {
  padding: 28px 24px 72px;
  background: #f4faff;
}

.detail-inner {
  max-width: 1120px;
  margin: auto;
}

.detail-block {
  padding: 46px 0;
  border-bottom: 0;
}

.detail-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-left: 18px;
  position: relative;
}

.detail-heading::before {
  content: "";
  width: 5px;
  height: 48px;
  position: absolute;
  left: 0;
  bottom: 4px;
  background: #ff9b20;
  border-radius: 5px;
}


.detail-block:nth-child(3) .detail-heading::before {
  background: #1d9cdd;
}

.detail-block:nth-child(4) .detail-heading::before {
  background: #f34172;
}

.detail-block-personal .detail-heading::before {
  background: #28b66a;
}

.detail-label {
  padding: 6px 14px;
  position: relative;
  top: 0;
  background: #ff9b20;
  color: #fff;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 1000;
  line-height: 1.3;
  letter-spacing: .08em;
  transform: rotate(-1.5deg);
}


.detail-block:nth-child(3) .detail-label {
  background: #1d9cdd;
}

.detail-block:nth-child(4) .detail-label {
  background: #f34172;
}

.detail-heading h2 {
  margin: 0;
  color: #173f66;
  font-size: 31px;
  font-weight: 1000;
  line-height: 1.3;
  letter-spacing: .03em;
}

.subheading {
  margin-top: 44px;
}

.subheading h2 {
  font-size: 23px;
}

.grade-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  counter-reset: grade;
}

.grade-card {
  min-height: 120px;
  padding: 30px 25px 26px 31px;
  position: relative;
  overflow: hidden;
  counter-increment: grade;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, .98),
    rgba(249, 253, 255, .98)
  );
  border: 1px solid #d8e6ef;
  border-radius: 16px 3px 16px 3px;
  box-shadow:
    10px 10px 0 rgba(255, 155, 32, .10),
    0 10px 25px rgba(0, 65, 130, .08);
}

.grade-num14{
--grade: "01-04";
}
.grade-num1{
--grade: "01";
}
.grade-num2{
--grade: "02";
}
.grade-num3{
--grade: "03";
}
.grade-num4{
--grade: "04";
}
.grade-num5{
--grade: "05";
}
.grade-num6{
--grade: "06";
}


.grade-card::before {
  content: var(--grade);
  position: absolute;
  right: 14px;
  bottom: 8px;
  color: rgba(255, 155, 32, .16);
  font-size: 58px;
  font-weight: 1000;
  line-height: 1;
  letter-spacing: -.06em;
}

.grade-card::after {
  content: "";
  width: 5px;
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  background: #ff9b20;
  border-radius: 0 5px 5px 0;
}

.grade-card h3 {
  width: auto;
  max-width: calc(100% - 42px);
  margin: 0 0 18px;
  padding: 0 0 0 13px;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  color: #173f66;
  background: transparent;
  font-size: 19px;
  font-weight: 1000;
  line-height: 1.45;
}

.grade-card h3::before {
  content: "";
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  margin-right: 10px;
  background: #ff9b20;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(255, 155, 32, .12);
}

.grade-card h3::after {
  display: none !important;
}

.grade-card p {
  margin: 0;
  position: relative;
  z-index: 2;
  color: #35566f;
  font-size: 15px;
  line-height: 2;
  letter-spacing: .01em;
}

.detail-block:nth-child(3) .grade-card {
  box-shadow:
    10px 10px 0 rgba(29, 156, 221, .10),
    0 10px 25px rgba(0, 65, 130, .08);
}

.detail-block:nth-child(3) .grade-card::before {
  color: rgba(29, 156, 221, .16);
}

.detail-block:nth-child(3) .grade-card::after {
  background: #1d9cdd;
}

.detail-block:nth-child(3) .grade-card h3::before {
  background: #1d9cdd;
  box-shadow: 0 0 0 5px rgba(29, 156, 221, .12);
}

.detail-block:nth-child(4) .grade-card {
  box-shadow:
    10px 10px 0 rgba(243, 65, 114, .10),
    0 10px 25px rgba(0, 65, 130, .08);
}

.detail-block:nth-child(4) .grade-card::before {
  color: rgba(243, 65, 114, .16);
}

.detail-block:nth-child(4) .grade-card::after {
  background: #f34172;
}

.detail-block:nth-child(4) .grade-card h3::before {
  background: #f34172;
  box-shadow: 0 0 0 5px rgba(243, 65, 114, .12);
}


.subjects {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.subjects span {
  padding: 3px 18px;
  background: #fff;
  color: #0755bb;
  border: 1px solid #b9d8eb;
  border-radius: 999px;
  font-size: 19px;
  font-weight: 900;
}

.highschool-description {
  padding: 26px 28px;
  background: #fff;
  border-left: 7px solid #f34172;
  border-radius: 4px 24px 4px 24px;
  box-shadow:
    7px 7px 0 rgba(243, 65, 114, .12),
    0 10px 22px rgba(0, 65, 130, .07);
}

.highschool-description p {
  margin: 0;
  font-size: 15px;
  line-height: 2;
}

/* =========================
   Overview
========================= */

.overview-three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1100px;
  margin: 0 auto;
}

.overview-card {
  position: relative;
  padding: 26px 24px 24px;
  background: #fff;
  border: 1px solid #e1eaf3;
  border-top: 4px solid #1675ce;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(20, 65, 110, .06);
  min-width: 0;
  transition: transform .25s ease, box-shadow .25s ease;
}

.overview-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 28px rgba(20, 65, 110, .12);
}

/* 上部番号 */

.overview-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.overview-number {
  color: #1675ce;
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.04em;
}

.overview-label {
  color: #8ba1b7;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
}

/* 講習名 */

.overview-card h3 {
  margin: 0 0 8px;
  color: #153957;
  font-size: 21px;
  font-weight: 900;
  line-height: 1.4;
}

.overview-target {
  display: inline-block;
  margin: 0 0 25px;
  padding: 5px 10px;
  background: #eef6fc;
  border-radius: 4px;
  color: #3675a8;
  font-size: 12px;
  font-weight: 700;
}

/* 日付 */

.overview-date {
  display: flex;
  align-items: baseline;
  gap: 5px;
  padding: 17px 0 12px;
  border-top: 1px solid #e8eef4;
  color: #075dcc;
  white-space: nowrap;
}

.overview-date span {
  font-size: clamp(21px, 2.2vw, 29px);
  font-weight: 900;
  letter-spacing: -.04em;
}

.overview-date small {
  color: #8295a8;
  font-size: 10px;
  font-weight: 700;
}

.overview-date i {
  margin: 0 3px;
  color: #aab9c7;
  font-size: 17px;
  font-style: normal;
}

/* 日付の説明 */

.overview-caption {
  margin: 0;
  color: #8295a8;
  font-size: 11px;
  font-weight: 600;
}

/* 中央カード */

.overview-card.featured {
  background: #f4f9ff;
  border-color: #c9e0f5;
  border-top: 4px solid #075dcc;
  box-shadow: 0 7px 24px rgba(7, 93, 204, .10);
}

.overview-card.featured .overview-number {
  color: #075dcc;
}

.overview-card.featured .overview-target {
  background: #dceeff;
  color: #0755bb;
}

/* =========================
   CTA
   ========================= */

.cta-banner {
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 30%, rgba(255, 255, 255, .20) 0 2px, transparent 3px),
    radial-gradient(circle at 84% 65%, rgba(255, 255, 255, .18) 0 3px, transparent 4px),
    linear-gradient(115deg, #064fae, #1a96db 65%, #53c4ed);
  color: #fff;
}

.cta-inner {
  max-width: 1120px;
  min-height: 150px;
  margin: auto;
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) 330px;
  align-items: center;
  gap: 26px;
}

.cta-badge {
  width: 118px;
  height: 118px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #0755bb;
  background: #fff;
  border: 5px solid rgba(255, 255, 255, .65);
  border-radius: 50%;
  box-shadow: 0 7px 18px rgba(0, 40, 100, .18);
  line-height: 1.15;
  transform: rotate(-4deg);
}

.cta-badge span {
  font-size: 15px;
  font-weight: 900;
}

.cta-badge strong {
  font-size: 21px;
  font-weight: 1000;
  white-space: nowrap;
}

.cta-copy {
  min-width: 0;
}

.cta-kicker {
  margin: 0 0 2px !important;
  font-size: 18px !important;
  font-weight: 900;
  letter-spacing: .06em;
}

.cta-inner h2 {
  margin: 0;
  font-size: 48px;
  font-weight: 1000;
  line-height: 1.15;
  white-space: nowrap;
}

.cta-inner h2 span {
  font-size: 28px;
}

.cta-inner .cta-copy > p:last-child {
  margin: 5px 0 0;
  font-size: 14px;
  line-height: 1.5;
}

.cta-button {
  width: 100%;
  min-width: 0;
  min-height: 68px;
  padding: 16px 24px;
  font-size: 20px;
  font-weight: 1000;
  color: #fff !important;
  background: #f34172;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-decoration: none;
  border-radius: 8px;
  box-shadow: 0 5px 14px rgba(125, 0, 50, .22);
  transition: transform .25s ease, box-shadow .25s ease;
}

.cta-button span {
  font-size: 22px;
  color: #fff !important;
  font-weight: 1000;
}

.cta-button b {
  font-size: 30px;
  font-weight: 1000;
  line-height: 1;
  color: #fff;
}


.cta-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .18);
}



/* =========================
   Simple Section / FAQ
   ========================= */

.simple-section {
  padding: 55px 24px;
  background: #f5fbff;
}

.faq-list {
  max-width: 900px;
  margin: auto;
  font-size: 22px;
}

details {
  padding: 15px 20px;
  background: #fff;
  border-bottom: 1px solid #d6e7f2;
}

summary {
  cursor: pointer;
  color: #0755bb;
  font-weight: 800;
}

details p {
  margin: 8px 0 0;
  font-size: 18px;
}

/* =========================
   Footer
   ========================= */

footer {
  background: #073e8c;
  color: #fff;
}

.footer-inner {
  max-width: 1100px;
  margin: auto;
  padding: 25px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-inner .logo {
  color: #fff;
}

.footer-inner p {
  margin: 0;
  font-size: 11px;
}

/* =========================
   Smartphone
   ========================= */

@media (max-width: 800px) {

.top_logo1{
  display: none;
}
.top_logo2{
  display: block;
}

  body {
    font-size: 15px;
    line-height: 1.75;
  }

  .site-header {
    height: 60px;
  }

  .header-inner {
    padding: 0 14px;
  }

  .logo {
    font-size: 20px;
  }

  .logo-mark {
    font-size: 23px;
  }

  .pc-nav,
  .header-cta {
    display: none;
  }

  .menu-button {
    display: block;
    margin-left: auto;
  }

  /* Hero */

  .hero-inner {
    min-height: 600px;
    padding: 22px 15px 0;
    display: block;
  }

  .hero-copy {
    width: 100%;
    padding-bottom: 0;
  }

  .hero-lead {
    font-size: 21px;
  }

  .hero h1 {
    font-size: 56px;
    letter-spacing: 0;
  }

  .hero-sub {
    margin: 9px 0;
    font-size: 21px;
  }

  .hero-point {
    padding: 6px 10px;
    font-size: 14px;
  }

  .hero-student {
    width: 500px;

    right: 0;
    bottom: 0;
    aspect-ratio: auto;
  }

  .hero-student img {
    object-fit: contain;
    object-position: right bottom;
  }

  .deadline {
    width: 112px;
    height: 112px;
    right: 12px;
    top: 18px;
    padding: 5px;
    border-width: 5px;
  }

  .deadline span {
    padding-top: 8px;
    font-size: 13px;
  }

  .deadline b {
    margin-top: 5px;
    padding: 1px 2px;
    font-size: 11px;
  }

  .deadline strong {
    padding-top: 4px;
    font-size: 20px;
  }

  .deadline strong span {
    font-size: 10px;
  }

  /* Feature */

  .feature-bar {
    grid-template-columns: repeat(2, 1fr);
    padding: 14px 8px;
  }

  .feature {
    padding: 10px 7px;
    border-right: 0;
    border-bottom: 1px solid #b7d8e9;
  }

  .feature:nth-child(odd) {
    border-right: 1px solid #b7d8e9;
  }

  .feature:nth-child(3),
  .feature:nth-child(4) {
    border-bottom: 0;
  }


    .feature-icon {
        width: 65px;
        height: 65px;
        margin-bottom: 10px;
    }

    .feature-icon img {
        width: 48px;
        height: 48px;
    }

  .feature h3 {
    font-size: 15px;
  }

  .feature p {
    font-size: 12px;
    line-height: 1.6;
  }

  /* Section */

  .section2 {
    padding: 42px 15px;
  }

  .section-title {
    margin-bottom: 20px;
  }

  .section-title h2 {
    font-size: 28px;
  }

  .section-title p {
    font-size: 13px;
    line-height: 1.7;
  }

  /* Courses */

  .course-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
  }

  .course-card {
    min-height: 145px;
    padding: 14px 8px;
  }

  .course-card h3 {
    font-size: 26px;
  }

  .course-card p {
    font-size: 15px;
  }

  .course-card:last-child {
    grid-column: 1 / -1;
  }

  /* Reasons */


  .reasons {
    padding: 40px 15px;
  }

  .reasons-inner {
    grid-template-columns: 1fr;
    padding: 0;
    gap: 25px;
  }

  .ribbon {
    padding-bottom: 13px;
    font-size: 17px;
  }

  .ribbon strong {
    font-size: 30px;
  }

  .reason-photo {
    height: 220px;
    order: -1;
    margin-right: 10px;
  }

  .reason-photo::before {
    top: 8px;
    left: 8px;
  }

  .reason-item {
    gap: 12px;
    margin-top: 12px;
    padding: 7px 0 15px;
  }

  .reason-item > span {
    width: 34px;
    height: 34px;
    line-height: 34px;
    font-size: 14px;
  }

  .reason-item h3 {
    font-size: 14px;
  }

  .reason-item p {
    font-size: 11px;
  }



  /* Campaign */

  .campaign {
    padding: 45px 15px 42px;
  }

  .campaign .section-title h2 {
    padding: 0 8px 7px;
    font-size: 27px;
    line-height: 1.4;
  }

  .campaign .section-title h2::after {
    left: 8px;
    right: 8px;
    height: 4px;
  }

  .campaign-cards {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 25px;
  }

  .campaign-card {
    min-height: 165px;
    border-radius: 15px 4px 15px 4px;

  }

  .campaign-number {
    width: 34px;
    height: 34px;
    left: 15px;
    top: 15px;
    border-radius: 9px 9px 9px 3px;
    font-size: 17px;
  }

  .campaign-card-body {
    padding: 62px 19px 20px;
  }

  .campaign-small {
    margin-bottom: 5px;
    font-size: 18px;
    line-height: 1.55;
  }

  .campaign-card h3 {
    font-size: 26px;
  }

  .campaign-card h3 span {
    font-size: 36px;
  }

  .campaign-note {
    margin-top: 18px;
    padding: 12px 13px;
    font-size: 12px;
    line-height: 1.7;
  }

  /* Course Details */

  .course-details {
    padding: 15px 15px 48px;
  }

  .detail-block {
    padding: 35px 0;
  }

  .detail-heading {
    gap: 9px;
    margin-bottom: 20px;
    padding-left: 12px;
  }

  .detail-heading::before {
    width: 4px;
    height: 34px;
    bottom: 2px;
  }

  .detail-label {
    padding: 5px 10px;
    font-size: 12px;
  }

  .detail-heading h2 {
    font-size: 24px;
    line-height: 1.35;
  }

  .subheading {
    margin-top: 35px;
  }

  .subheading h2 {
    font-size: 21px;
  }

  .grade-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .grade-card {
    min-height: 0;
    padding: 24px 19px 22px 25px;
    border-radius: 14px 3px 14px 3px;
  }

  .grade-card::before {
    right: 10px;
    bottom: 5px;
    font-size: 48px;
  }

  .grade-card::after {
    width: 5px;
    top: 15px;
    bottom: 15px;
  }

  .grade-card h3 {
    max-width: calc(100% - 25px);
    margin-bottom: 13px;
    padding-left: 9px;
    font-size: 16px;
  }

  .grade-card h3::before {
    width: 8px;
    height: 8px;
    flex-basis: 8px;
    margin-right: 9px;
    box-shadow: 0 0 0 4px rgba(255, 155, 32, .12);
  }

  .grade-card p {
    font-size: 13px;
    line-height: 1.9;
  }

  .detail-block:nth-child(3) .grade-card h3::before {
    box-shadow: 0 0 0 4px rgba(29, 156, 221, .12);
  }

  .detail-block:nth-child(4) .grade-card h3::before {
    box-shadow: 0 0 0 4px rgba(243, 65, 114, .12);
  }

  .subjects {
    margin-top: 12px;
  }

  .subjects span {
    padding: 3px 10px;
    font-size: 16px;
  }

  .highschool-description {
    padding: 20px 19px 20px 21px;
    border-left-width: 6px;
  }

  .highschool-description p {
    font-size: 13px;
    line-height: 1.9;
  }

  /* Overview */

  .overview-three {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .overview-card {
    padding: 20px;
  }

  .overview-card-top {
    margin-bottom: 15px;
  }

  .overview-card h3 {
    font-size: 19px;
  }

  .overview-target {
    margin-bottom: 15px;
  }

  .overview-date span {
    font-size: 28px;
  }

 
  /* Simple Section / FAQ */

  .simple-section {
    padding: 40px 15px;
  }

  details {
    padding: 13px 12px;
  }

  summary {
    font-size: 17px;
  }

  details p {
    font-size: 15px;
  }

  /* Footer */

  .footer-inner {
    padding: 20px 15px;
    display: block;
    text-align: center;
  }

  .footer-inner .logo {
    justify-content: center;
    font-size: 18px;
  }

  .footer-inner p {
    margin-top: 7px;
  }
}

@media (max-width: 940px) {

/* CTA */


  .cta-banner {
    position: relative;
    width: 100%;
  }

  .cta-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding: 22px 18px;
    min-height: auto;
  }

  .cta-badge {
    width: 90px;
    height: 90px;
    flex-shrink: 0;
  }

  .cta-copy {
    flex: 1;
    min-width: 0;
  }

  .cta-kicker {
    font-size: 15px !important;
  }

  .cta-inner h2 {
    font-size: 38px;
    white-space: normal;
  }

  .cta-inner h2 span {
    font-size: 20px;
  }

  .cta-inner .cta-copy > p:last-child {
    font-size: 12px;
  }






  /* ボタンを下段に配置 */
  .cta-button {
    position: static !important;
    transform: none !important;
    width: 100%;
    min-height: 60px;
    margin-top: 5px;
    font-size: 17px;
    color: #fff !important;
  }
  .cta-button span,
  .cta-button b {
    color: #fff !important;
  }
  .cta-button {
    grid-column: 1 / -1;
    min-height: 62px;
    padding: 10px 14px;
    font-size: 19px;

    width: 100%;
  }

  .cta-button b {
    font-size: 24px;
  }

}

@media (max-width: 768px) {
 .img_area {
	min-height: 0px;
 }
.img_area:before {
	content: "";
	display: block;
	padding-top: 7%;
}
}

@media (max-width: 500px) {
  .hero-student {
    width: 100%;

    right: 0;
    bottom: 0;
    aspect-ratio: auto;
  }

  .cta-inner h2 {
    font-size: 24px;
    white-space: normal;
  }

  .cta-inner h2 span {
    font-size: 12px;
  }

}


/* =================================
   COURSE：小学生ボタン 写真デザイン
================================= */

#courses .course-card {
    position: relative;
    overflow: hidden;

    /* 写真 */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    /* 既存のレイアウトを活用 */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;

    padding: 0 8px 7px;
    box-sizing: border-box;
}

#courses .course-card.orange {
    background-image: url('https://www.ryonan.com/wp-content/uploads/2026/11/winter2026_btn1.png');
}

#courses .course-card.blue {
    background-image: url('https://www.ryonan.com/wp-content/uploads/2026/11/winter2026_btn2.png');
}

#courses .course-card.deep-blue {
    background-image: url('https://www.ryonan.com/wp-content/uploads/2026/11/winter2026_btn3.png');
}

#courses .course-card.pink {
    background-image: url('https://www.ryonan.com/wp-content/uploads/2026/11/winter2026_btn4.png');
}

#courses .course-card.green {
    background-image: url('https://www.ryonan.com/wp-content/uploads/2026/11/winter2026_btn5.png');
}



/* 既存アイコンを非表示 */
#courses .course-card .course-icon {
    display: none;
}

/* 下部オレンジの半透明帯 */
#courses .course-card::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 38%;

    z-index: 1;
}
#courses .course-card.orange::after {
    background: rgba(255, 160, 75, 0.95);
}

#courses .course-card.blue::after {
    background: rgba(75, 185, 225, 0.95);
}

#courses .course-card.deep-blue::after {
    background: rgba(45, 105, 195, 0.90);
}

#courses .course-card.pink::after {
    background: rgba(243, 65, 114, 0.90);
}

#courses .course-card.green::after {
    background: rgba(35, 175, 115, 0.90);
}
/* コース名 */
#courses .course-card h3 {
    position: relative;
    z-index: 2;

    color: #fff;
    font-size: 23px;
    font-weight: 700;
    margin: 0 0 0px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
    transform: translateY(6px);
}

/* 説明文 */
#courses .course-card p {
    position: relative;
    z-index: 2;

    color: #fff;
    font-size: clamp(9px, 1.1vw, 14px);
    font-weight: 600;
    line-height: 1.5;
    margin: 0;
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
    white-space: nowrap;
}
@media (max-width: 768px) {
#courses .course-card p {
    font-size: 14px;
}
}

/* マウスオーバー */
@media (hover: hover) {
    #courses .course-card {
        transition: background-size 0.3s ease;
    }
}




/* 特別講座ラベル */
.special-label {
    display: inline-block;
    margin-left: 0;
    padding: 3px 8px;
    background: #fff;
    color: #666;
    border: 1px solid #9bcdf5;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.4;
    border-radius: 3px;
    letter-spacing: 0.02em;
    white-space: nowrap;
    flex-shrink: 0;
}

@media screen and (max-width: 600px) {
    .special-label {
        font-size: 10px;
        padding: 3px 6px;
    }
}


/* =========================================
   個別指導Well キャンペーンページ
   COURSEページデザイン統一
========================================= */

#well-campaign {
  color: #252b35;
  line-height: 1.8;
}

#well-campaign * {
  box-sizing: border-box;
}
/* メインビジュアル */

#well-campaign .well-hero {
  position: relative;
  overflow: hidden;
  padding: 75px 20px 65px;
  text-align: center;
  background: linear-gradient(135deg, #effaf3 0%, #ffffff 75%);
  border-bottom: 1px solid #d9eee1;
}

#well-campaign .well-hero-label {
  display: inline-block;
  margin: 0 0 15px;
  padding: 5px 17px;
  color: #28b66a;
  border: 1px solid #a5dfbd;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
}

#well-campaign .well-hero h1 {
  margin: 0;
  font-size: clamp(27px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.5;
}

#well-campaign .well-hero h1 span {
  display: block;
  color: #28b66a;
}

#well-campaign .well-hero-text {
  margin: 20px 0 25px;
  font-size: 16px;
}

#well-campaign .well-hero-price {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  min-width: 270px;
  padding: 17px 35px;
  background: #fff;
  border: 2px solid #28b66a;
  border-radius: 14px 3px 14px 3px;
}

#well-campaign .well-hero-price > span:first-child {
  color: #28b66a;
  font-weight: 700;
}

#well-campaign .well-hero-price strong {
  color: #28b66a;
  font-size: 48px;
  line-height: 1.3;
}

#well-campaign .well-hero-price strong small {
  font-size: 22px;
}

#well-campaign .well-hero-price > span:last-child {
  color: #777;
  font-size: 12px;
}

#well-campaign .well-hero-period {
  margin: 18px 0 0;
  font-weight: 700;
}

/* 共通セクション */

#well-campaign .well-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 65px 25px;
}

#well-campaign .well-heading {
  position: relative;
  margin-bottom: 35px;
  padding-left: 18px;
}

#well-campaign .well-heading::before {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 0;
  width: 5px;
  content: "";
  background: #28b66a;
  border-radius: 3px;
}

#well-campaign .well-heading span {
  display: block;
  color: #28b66a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
}

#well-campaign .well-heading h2 {
  margin: 3px 0 0;
  font-size: 29px;
  font-weight: 800;
  line-height: 1.4;
}

#well-campaign .well-intro {
  margin: 0 auto 35px;
  text-align: center;
  line-height: 2;
}

/* 料金カード */

#well-campaign .well-price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

#well-campaign .well-price-card {
  position: relative;
  min-height: 200px;
  padding: 28px 18px;
  overflow: hidden;
  text-align: center;
  background: #fff;
  border: 1px solid #dcebe1;
  border-radius: 14px 3px 14px 3px;
  box-shadow: 0 5px 16px rgba(30, 100, 60, .06);
}

#well-campaign .well-price-card::before {
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 0;
  width: 5px;
  content: "";
  background: #28b66a;
  border-radius: 0 5px 5px 0;
}

#well-campaign .well-price-card p {
  margin: 0;
  color: #666;
  font-size: 14px;
  font-weight: 700;
}

#well-campaign .well-price-card h3 {
  margin: 8px 0;
  color: #28b66a;
  font-size: 29px;
  font-weight: 800;
}

#well-campaign .well-price-card strong {
  display: block;
  color: #28b66a;
  font-size: 35px;
  font-weight: 800;
  line-height: 1.4;
}

#well-campaign .well-price-card strong span {
  font-size: 18px;
}

#well-campaign .well-price-card small {
  color: #777;
  font-size: 12px;
}

#well-campaign .well-price-card.recommended {
  background: #f0faf4;
  border: 2px solid #28b66a;
}

#well-campaign .well-recommend {
  display: inline-block;
  margin-bottom: 7px;
  padding: 3px 13px;
  color: #fff;
  background: #28b66a;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
}

#well-campaign .well-price-note {
  margin-top: 15px;
  color: #777;
  text-align: right;
  font-size: 12px;
}

/* 個別指導の特長 */

#well-campaign .well-feature {
  max-width: none;
  background: #f3faf6;
}

#well-campaign .well-feature .well-heading,
#well-campaign .well-feature-list {
  max-width: 1050px;
  margin-right: auto;
  margin-left: auto;
}

#well-campaign .well-feature-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

#well-campaign .well-feature-item {
  position: relative;
  padding: 25px 22px;
  background: #fff;
  border-radius: 14px 3px 14px 3px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(30, 100, 60, .05);
}

#well-campaign .well-feature-item::before {
  content: "";
  width: 5px;
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  background: #28b66a;
  border-radius: 0 5px 5px 0;
}

#well-campaign .well-feature-item h3 {
  margin: 0 0 12px;
  color: #28b66a;
  font-size: 18px;
  font-weight: 800;
}

#well-campaign .well-feature-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
}
/* スマートフォン */

@media screen and (max-width: 600px) {

  #well-campaign .well-hero {
    padding: 48px 15px 42px;
  }

  #well-campaign .well-hero h1 {
    font-size: 27px;
  }

  #well-campaign .well-hero-text {
    font-size: 14px;
  }

  #well-campaign .well-hero-price {
    min-width: 250px;
  }

  #well-campaign .well-hero-price strong {
    font-size: 42px;
  }

  #well-campaign .well-section {
    padding: 45px 15px;
  }

  #well-campaign .well-heading {
    margin-bottom: 25px;
    padding-left: 13px;
  }

  #well-campaign .well-heading h2 {
    font-size: 23px;
  }

  #well-campaign .well-price-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  #well-campaign .well-price-card {
    min-height: 0;
    padding: 20px 15px;
  }

  #well-campaign .well-price-card h3 {
    font-size: 25px;
  }

  #well-campaign .well-price-card strong {
    font-size: 32px;
  }

  #well-campaign .well-feature-list {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  #well-campaign .well-feature-item {
    padding: 21px 18px;
  }

  #well-campaign .well-feature-item h3 {
    font-size: 16px;
  }

  #well-campaign .well-info div {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 13px 8px;
  }

  #well-campaign .well-contact {
    padding: 42px 15px;
  }

  #well-campaign .well-contact h2 {
    font-size: 21px;
  }

  #well-campaign .well-contact-btn {
    width: 100%;
    min-width: 0;
  }
}



/* =========================================
   途中設置用 無料体験ボタン
========================================= */

.well-mid-cta {
  margin: 15px auto;
  text-align: center;
}

.well-mid-cta .cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 400px;
  max-width: 100%;
  padding: 13px 5px;
  color: #fff;
  background: #28b66a;
  border: 2px solid #28b66a;
  border-radius: 50px;
  text-decoration: none;
  transition: transform .25s ease, background .25s ease;
}

.well-mid-cta .cta-button span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.4;
}

.well-mid-cta .cta-button img {
  display: block;
  width: 66px;
  height: 66px;
  object-fit: contain;
}

.well-mid-cta .cta-button:hover {
  transform: translateY(-4px);
  background: #209e59;
}

@media screen and (max-width: 700px) {
  .well-mid-cta {
    margin: 28px auto;
  }

  .well-mid-cta .cta-button {
    min-width: 260px;
    padding: 11px 22px;
  }

  .well-mid-cta .cta-button span {
    font-size: 24px;
    gap: 9px;
  }

  .well-mid-cta .cta-button img {
    width: 55px;
    height: 55px;
  }
}

.sp-only {
  display: none;
}

@media screen and (max-width: 600px) {
  .sp-only {
    display: block;
  }
}