@charset "UTF-8";

/* =========================================
   Base & Reset (必要なもののみ抜粋)
========================================= */
/* *, :before, :after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  margin: 0;
  color: #111827; 
}

img, iframe {
  vertical-align: middle;
  display: block;
  max-width: 100%;
}

p, h1, h2, h3, h4, h5, h6 {
  margin: 0;
} */

i {
  color: unset;
}

/* =========================================
   Animations
========================================= */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

/* =========================================
   Common Components
========================================= */
/* セクション共通のタイトル帯 */
.c-section-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #ffffff;
  background-color: #4774b9;
  padding: 0.5rem 1rem;
  margin-bottom: 1.5rem;
  margin-left: -1rem;
  margin-right: -1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
@media (min-width: 768px) {
  .c-section-title {
    margin-bottom: 3rem;
  }
}

.header-nav .sub-menu a,
.header-nav .sub-menu li {
    padding: 10px 20px !important; /* 元のpadding値に合わせて調整 */
    display: block;
}

/* =========================================
   ① Hero Section (.p-hero)
========================================= */
.p-hero {
  padding-top: 88px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  min-height: 520px;
}
@media (min-width: 768px) {
  .p-hero { min-height: 480px; }
}

.p-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(2px);
  background-image: url("../../course/images/money/money_hero.jpg");
}

.p-hero__decoration {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 9999px;
}

.p-hero__decoration--top {
  top: 5rem;
  left: 2.5rem;
  width: 8rem;
  height: 8rem;
  filter: blur(40px); /* blur-2xl */
}

.p-hero__decoration--bottom {
  bottom: 2.5rem;
  right: 5rem;
  width: 12rem;
  height: 12rem;
  filter: blur(64px); /* blur-3xl */
}

.p-hero__inner {
  max-width: 72rem; /* max-w-6xl */
  margin: 0 auto;
  padding: 2.5rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
  z-index: 10;
}
@media (min-width: 768px) {
  .p-hero__inner {
    padding-top: 4rem;
    padding-bottom: 4rem;
    flex-direction: row;
    align-items: flex-start;
  }
}

.p-hero__content {
  width: fit-content;
  background-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(4px); /* backdrop-blur-sm */
  border-radius: 1rem;
  padding: 1.5rem;
  position: relative;
}
@media (min-width: 768px) {
  .p-hero__content { padding: 2rem; }
}

.p-hero__logo-area {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-direction: column;
  position: relative;
}
@media (min-width: 768px) {
  .p-hero__logo-area { flex-direction: row; }
}

.p-hero__logo {
  width: 100%;
  height: auto;
  object-fit: contain;
}
@media (min-width: 768px) {
  .p-hero__logo {
    height: 10rem;
    width: auto;
  }
}

.p-hero__badge {
  background-color: #e95378;
  color: #ffffff;
  font-size: 1.125rem;
  font-weight: bold;
  width: 8rem;
  height: 8rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  line-height: 1.25;
  flex-shrink: 0;
  position: absolute;
  top: -110px;
  left: 50%;
  transform: translateX(-50%) rotate(0deg);
}
@media (min-width: 768px) {
  .p-hero__badge {
    font-size: 1.5rem;
    line-height: 1.5;
    width: 10rem;
    height: 10rem;
    top: 1rem;
    left: auto;
    right: -20px;
    transform: translateX(70%) rotate(10deg);
  }
}

.p-hero__title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  line-height: 1.25;
  color: #111827; /* text-gray-900 */
  text-align: center;
}
@media (min-width: 768px) {
  .p-hero__title {
    font-size: 1.875rem;
    text-align: left;
  }
}

.p-hero__br {
  display: none;
}
@media (min-width: 768px) {
  .p-hero__br { display: block; }
}

.p-hero__text {
  color: #374151; /* text-gray-700 */
  font-size: 0.875rem;
  line-height: 1.625;
  margin-bottom: 1.5rem;
  text-align: center;
}
@media (min-width: 768px) {
  .p-hero__text {
    font-size: 1rem;
    text-align: left;
  }
}

.p-hero__text-highlight {
  color: #4774b9;
  font-size: 1.125rem;
  font-weight: bold;
}
@media (min-width: 768px) {
  .p-hero__text-highlight { font-size: 1.25rem; }
}

/* =========================================
   ② About Section (.p-about)
========================================= */
.p-about {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
  background-color: #ffffff;
}

.p-about__inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.p-about__layout {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  align-items: flex-start;
  padding: 0 1rem;
}
@media (min-width: 768px) {
  .p-about__layout { flex-direction: row; }
}

.p-about__character-pc {
  display: none;
}
@media (min-width: 768px) {
  .p-about__character-pc {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    width: 300px;
  }
}

.p-about__character-sp {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 100%;
  margin-top: 1.5rem;
}
@media (min-width: 768px) {
  .p-about__character-sp { display: none; }
}

.p-about__character-anim {
  /* float animation class is added to HTML */
}

.p-about__character-img {
  width: 100%;
  max-width: 280px; /* PC */
  margin: 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 13px rgba(0,0,0,0.08)) drop-shadow(0 8px 5px rgba(0,0,0,0.04)); /* drop-shadow-xl */
  transform: rotate(5deg);
}
.p-about__character-sp .p-about__character-img {
  max-width: 200px; /* SP */
}

.p-about__character-caption {
  text-align: center;
  color: #4774b9;
  font-size: 0.75rem;
  font-weight: bold;
  margin-top: 0.5rem;
}

.p-about__character-name {
  width: 100%;
  max-width: 200px; /* PC */
  margin: 0.25rem auto 0;
  object-fit: contain;
}
.p-about__character-sp .p-about__character-name {
  max-width: 150px; /* SP */
}

.p-about__body {
  flex: 1;
}

.p-about__lead {
  font-size: 1.25rem;
  font-weight: bold;
  color: #1f2937; /* text-gray-800 */
  margin-bottom: 1rem;
}

.p-about__text {
  color: #4b5563; /* text-gray-600 */
  font-size: 1rem;
  line-height: 1.625;
  margin-bottom: 1rem;
}

.p-about__note {
  background-color: #f5f7fb;
  border-radius: 0.5rem;
  padding: 1rem;
  border-left: 4px solid #4774b9;
}

.p-about__note-title {
  color: #4774b9;
  font-weight: bold;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}
.p-about__note-title i { margin-right: 0.25rem; }

.p-about__note-text {
  color: #4b5563;
  font-size: 0.875rem;
  line-height: 1.625;
}

.p-about__video {
  margin-top: 1.5rem;
}

.p-about__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

.p-about__video-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 0.5rem;
}

/* =========================================
   Additional Animations
========================================= */
@keyframes float-delayed {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.animate-float-delayed {
  animation: float-delayed 4s ease-in-out 1s infinite;
}

@keyframes bounce-slow {
  0%, 100% {
    transform: translateY(-25%);
    animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
  }
  50% {
    transform: none;
    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
  }
}

/* =========================================
   ③ Courses Section (.p-courses)
========================================= */
.p-courses {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
  background-color: #ffffff;
}

.p-courses__inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.p-courses__grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 3rem;
}
@media (min-width: 768px) {
  .p-courses__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

/* Card Component (.p-card) */
.p-card {
  border-radius: 0.75rem;
  border: 1px solid #e5e7eb;
  background-color: #ffffff;
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: box-shadow 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}
.p-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.p-card__inner {
  padding: 1.25rem;
  flex-grow: 1;
  background-color: rgba(233, 83, 120, 0.063);
  /* display: flex; */
  flex-direction: column;
}

.p-card__badge-area {
  margin-bottom: -1.5rem;
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.p-card__badge-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.p-card__badge {
  font-size: 1rem;
  font-weight: bold;
  color: #ffffff;
  padding: 0.5rem 0.75rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  background-color: #e95378;
}

.p-card__badge-arrow {
  position: absolute;
  top: -0.25rem;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 0.5rem;
  height: 0.5rem;
  background-color: #e95378;
}

.p-card__badge-img {
  width: 80px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 8px rgba(0, 0, 0, 0.04)) drop-shadow(0 4px 3px rgba(0, 0, 0, 0.1));
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -3rem;
}
@media (min-width: 768px) {
  .p-card__badge-img { top: -3.5rem; }
}

.p-card__thumb { margin-bottom: 1.25rem; }

.p-card__thumb-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 0.5rem;
}

.p-card__title {
  font-size: 1.25rem;
  font-weight: bold;
  color: #e95378;
  margin-bottom: 0.75rem;
  border-bottom: 2px dashed #e95378;
  padding-bottom: 0.5rem;
  margin-left: auto;
  margin-right: auto;
  width: fit-content;
}

.p-card__tag {
  display: inline-flex;
  align-items: center;
  background-color: #e95378;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: bold;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  margin-bottom: 0.75rem;
}

.p-card__info {
  font-size: 1rem;
  color: #6b7280;
  font-weight: bold;
}

.p-card__desc {
  font-size: 1rem;
  font-weight: bold;
  color: #4b5563;
  line-height: 1.625;
  margin-top: 0.75rem;
  background-color: #ffffff;
  border-radius: 0.5rem;
  padding: 1rem;
}

.p-card__points { margin-top: auto; }

.p-card__points-title {
  font-size: 1.125rem;
  font-weight: bold;
  color: #4774b9;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
  background-color: #f5f7fb;
  padding: 0.75rem 1.25rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(71, 116, 185, 0.3);
}

.p-card__points-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background-color: #4774b9;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
}

.p-card__points-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: left;
  list-style: none;
  padding: 0;
  margin: 0;
}

.p-card__point-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: bold;
  color: #4b5563;
  line-height: 1.625;
}

.p-card__point-check {
  color: #e95378;
  margin-top: 0.125rem;
  flex-shrink: 0;
}


/* =========================================
   ④ F-Gaku Section (.p-fgaku)
========================================= */
.p-fgaku {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
  background-color: #ffffff;
}

.p-fgaku__inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.p-fgaku__layout {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  align-items: flex-start;
  padding: 0 1rem;
}
@media (min-width: 768px) {
  .p-fgaku__layout { flex-direction: row; }
}

.p-fgaku__main {
  flex: 1;
  order: 2;
}
@media (min-width: 768px) {
  .p-fgaku__main { order: 1; }
}

.p-fgaku__lead {
  font-size: 1.25rem;
  font-weight: bold;
  color: #1f2937;
  margin-bottom: 1rem;
}

.p-fgaku__text-block {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: #4b5563;
  font-size: 1rem;
  line-height: 1.625;
}

.p-fgaku__text { margin: 0; }

.p-fgaku__message {
  margin-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: #4b5563;
  font-size: 1rem;
  line-height: 1.625;
}

.p-fgaku__message-title {
  color: #4774b9;
  font-weight: bold;
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.p-fgaku__profile {
  flex-shrink: 0;
  width: 100%;
  order: 1;
}
@media (min-width: 768px) {
  .p-fgaku__profile {
    width: 360px;
    order: 2;
  }
}

.p-fgaku__profile-inner {
  background-color: #f5f7fb;
  border-radius: 0.75rem;
  padding: 1rem;
}

.p-fgaku__profile-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0.5rem;
}

.p-fgaku__profile-role {
  text-align: center;
  color: #374151;
  font-weight: bold;
  font-size: 0.875rem;
  margin-top: 0.75rem;
}

.p-fgaku__profile-name {
  text-align: center;
  color: #4774b9;
  font-weight: bold;
  font-size: 1rem;
  margin-top: 0.25rem;
}


/* =========================================
   ⑤ Target Section (.p-target)
========================================= */
.p-target {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
  background-color: #f5f7fb;
  position: relative;
  overflow: hidden;
}

.p-target__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.p-target__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
}

.p-target__decorations {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.3;
  z-index: 1;
  pointer-events: none;
}

.p-target__deco {
  position: absolute;
  border-radius: 9999px;
}

.p-target__deco--1 {
  top: 2.5rem;
  left: 10%;
  width: 5rem;
  height: 5rem;
  background-color: rgba(233, 83, 120, 0.1);
}

.p-target__deco--2 {
  bottom: 2.5rem;
  right: 15%;
  width: 7rem;
  height: 7rem;
  background-color: rgba(233, 83, 120, 0.1);
}

.p-target__deco--3 {
  top: 50%;
  left: 60%;
  width: 4rem;
  height: 4rem;
  background-color: rgba(233, 83, 120, 0.05);
}

.p-target__inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1rem;
  position: relative;
  z-index: 10;
}

.p-target__header { margin-bottom: 3rem; }

.c-section-title--no-margin {
  margin-left: -1rem;
  margin-right: -1rem;
}

.p-target__box {
  max-width: 48rem;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(4px);
  border-radius: 0.5rem;
  padding: 1.5rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
@media (min-width: 768px) {
  .p-target__box { padding: 2rem; }
}

.p-target__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.p-target__item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.p-target__check {
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #e95378;
  border-radius: 9999px;
  flex-shrink: 0;
  margin-top: 0.125rem;
  color: #ffffff;
  font-size: 0.875rem;
}

.p-target__text {
  color: #374151;
  font-size: 1rem;
  line-height: 1.625;
}
@media (min-width: 768px) {
  .p-target__text { font-size: 1.125rem; }
}

.p-target__arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 2.5rem 0;
  animation: bounce-slow 2s infinite;
  text-align: center;
  font-size: 3.75rem;
  color: #e95378;
  font-weight: bold;
  line-height: 1;
}

.p-target__catch {
  text-align: center;
  margin-bottom: 2.5rem;
}

.p-target__catch-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #e95378;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
@media (min-width: 768px) {
  .p-target__catch-title { font-size: 1.875rem; }
}

.p-target__catch-highlight {
  display: inline-block;
  padding-bottom: 1rem;
  border-bottom: 4px dashed rgba(233, 83, 120, 0.6);
}

.p-target__catch-desc {
  color: #4b5563;
  font-size: 0.875rem;
  max-width: 42rem;
  margin: 0 auto;
  line-height: 1.625;
}
@media (min-width: 768px) {
  .p-target__catch-desc { font-size: 1rem; }
}

/* Character Components (.p-char) */
.p-target__characters {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5rem;
  padding-top: 4rem;
  height: auto;
}
@media (min-width: 768px) {
  .p-target__characters {
    display: block;
    position: relative;
    height: 280px;
    padding-top: 0;
  }
}

.p-char { position: relative; }
.p-char__inner { position: relative; }

.p-char__img {
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 8px rgba(0,0,0,0.04)) drop-shadow(0 4px 3px rgba(0,0,0,0.1));
  position: relative;
  z-index: 10;
}

.p-char__bubble {
  position: absolute;
  background-color: #ffffff;
  font-weight: bold;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  white-space: nowrap;
  z-index: 0;
  padding: 0.75rem 1rem;
  font-size: 1.125rem;
}
@media (min-width: 768px) {
  .p-char__bubble { padding: 0.75rem 1.25rem; }
}

.p-char__bubble-sp { display: inline; color: unset; }
.p-char__bubble-pc { display: none; }
@media (min-width: 768px) {
  .p-char__bubble-sp { display: none; }
  .p-char__bubble-pc { display: inline; color: unset }
}

.p-char__bubble-tail {
  position: absolute;
  width: 0.5rem;
  height: 0.5rem;
  background-color: #ffffff;
  transform: rotate(45deg);
}

/* Individual Character Placements */
.p-char--1 { align-self: flex-start; margin-left: 1rem; }
.p-char--1 .p-char__img { width: 120px; }
.p-char--1 .p-char__bubble { top: -5rem; left: 60%; transform: translateX(-50%); color: #4774b9; border-bottom-left-radius: 0; }
.p-char--1 .p-char__bubble-tail { bottom: -0.25rem; left: 0.5rem; }
@media (min-width: 768px) {
  .p-char--1 { position: absolute; left: 10%; top: 1rem; margin-left: 0; align-self: auto; }
  .p-char--1 .p-char__img { width: 130px; }
  .p-char--1 .p-char__bubble { left: 50%; }
}

.p-char--2 { align-self: flex-end; margin-right: 1rem; }
.p-char--2 .p-char__img { width: 110px; }
.p-char--2 .p-char__bubble--alt1 { top: -3.5rem; right: 0; color: #e95378; border-bottom-right-radius: 0; }
.p-char--2 .p-char__bubble-tail--alt1 { bottom: -0.25rem; right: 0.5rem; }
@media (min-width: 768px) {
  .p-char--2 { position: absolute; right: 12%; top: 0; margin-right: 0; align-self: auto; }
  .p-char--2 .p-char__img { width: 120px; }
  .p-char--2 .p-char__bubble--alt1 { top: -5rem; right: -20px; }
}

.p-char--3 { align-self: flex-start; margin-left: 2rem; }
.p-char--3 .p-char__img { width: 130px; }
.p-char--3 .p-char__bubble--alt2 { top: -5rem; left: 50%; transform: translateX(-50%); color: #e95378; border-bottom-left-radius: 0; }
.p-char--3 .p-char__bubble-tail { bottom: -0.25rem; left: 0.5rem; }
@media (min-width: 768px) {
  .p-char--3 { position: absolute; left: 50%; transform: translateX(-50%); bottom: 0; margin-left: 0; align-self: auto; }
  .p-char--3 .p-char__img { width: 150px; }
}

.p-char--4 { align-self: flex-end; margin-right: 2rem; }
.p-char--4 .p-char__img { width: 105px; }
.p-char--4 .p-char__bubble { top: -5rem; left: 50%; transform: translateX(-50%); color: #4774b9; border-bottom-left-radius: 0; }
.p-char--4 .p-char__bubble-tail { bottom: -0.25rem; left: 0.5rem; }
@media (min-width: 768px) {
  .p-char--4 { position: absolute; left: 25%; bottom: 1rem; margin-right: 0; align-self: auto; }
  .p-char--4 .p-char__img { width: 110px; }
}


/* =========================================
   ⑥ Pricing Section (.p-price)
========================================= */
.p-price {
  padding-bottom: 3.5rem;
  background-color: #f8f9fc;
}

.p-price__inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.p-price__wrapper {
  max-width: 42rem;
  margin: 0 auto;
}

.p-price__table-container {
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.p-price__table {
  width: 100%;
  text-indent: 0;
  border-color: inherit;
  border-collapse: collapse;
  font-size: 0.875rem;
  text-align: left;
}

.p-price__tr {
  border-bottom: 1px solid #e5e7eb;
}

.p-price__tr--last {
  border-bottom: none;
}

.p-price__th {
  background-color: #4774b9;
  color: #ffffff;
  padding: 1rem 1.5rem;
  font-weight: bold;
  width: 9rem;
  white-space: nowrap;
  border: none;
}

.p-price__th--top {
  vertical-align: top;
}

.p-price__td {
  padding: 1rem 1.5rem;
  background-color: #ffffff;
  border: none;
}

.p-price__amount {
  font-size: 1.5rem;
  font-weight: bold;
  color: #e95378;
}

.p-price__amount--small {
  font-size: 1rem;
}

.p-price__unit {
  color: #6b7280;
  font-size: 0.75rem;
  margin-left: 0.25rem;
}

.p-price__td-row {
  margin-bottom: 0.5rem;
}

.p-price__label {
  color: #4b5563;
  font-size: 0.875rem;
}

.p-price__note {
  color: #6b7280;
  font-size: 0.75rem;
}

.p-price__note--badge {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
}
.p-price__note--badge i { margin-right: 0.25rem; }

.p-price__note--mt {
  margin-top: 0.25rem;
}

.p-price__link-wrap {
  text-align: center;
  margin-top: 1rem;
}

.p-price__link {
  color: #4774b9;
  font-size: 0.875rem;
  text-decoration: underline;
  cursor: pointer;
  transition: color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}
.p-price__link:hover {
  color: #365a8f;
}

/* カリキュラムグリッドの疑似要素無効化 */
.p-courses__grid::before,
.p-courses__grid::after {
    display: none !important;
    content: none !important;
}

/* F学セクションのFlexレイアウトの疑似要素無効化 */
.p-fgaku__layout::before,
.p-fgaku__layout::after {
    display: none !important;
    content: none !important;
}

/* もし「ボタン」や「特定ブロック」でレイアウトが崩れる場合の汎用補正 */
/* ※今回のHTMLコードには該当するクラスがない場合は影響しません */
.dummy__block2.pc-only ul {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 30px 0;
}

.button_dummy {
    padding: 15px 25px;
    background-color: #fff;
    font-size: 24px;
    font-weight: 700;
    border: 3px solid rgb(255, 41, 41);
    border-radius: 5px;
    display: inline-block;
    text-decoration: none;
    color: #333;
}

/* =========================================
   テーブルのスマホ向けレスポンシブ対応（縦積み）
========================================= */
@media (max-width: 767px) {
  /* テーブル本体と要素をブロック表示にして縦積みにする */
  .p-price__table,
  .p-price__tbody,
  .p-price__tr,
  .p-price__th,
  .p-price__td {
    display: block !important;
    width: 100% !important;
  }

  /* セルの余白や境界線を調整 */
  .p-price__tr {
    margin-bottom: 1.5rem; /* 各行の間に隙間を作る */
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
  }

  /* タイトル列（th） */
  .p-price__th {
    padding: 0.75rem 1rem !important;
    border-bottom: 1px solid #e5e7eb;
    text-align: center !important;
  }

  /* 内容列（td） */
  .p-price__td {
    padding: 1rem !important;
    background-color: #ffffff;
    text-align: center;
  }
}