.course-summary dt {
  font-size: clamp(0.88rem, 1.1vw, 1rem);
}

.course-summary dd {
  margin-top: 10px;
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  font-weight: 700;
  line-height: 1.35;
  white-space: nowrap;
}

.course-summary dd strong {
  font-size: clamp(1.25rem, 1.65vw, 1.52rem);
}

.course-summary dd span {
  margin-left: 4px;
  font-size: 0.82rem;
  font-weight: 500;
}

.course-summary dd i {
  margin-inline: 9px;
  font-weight: 400;
}

.course-summary dd small {
  margin-top: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  white-space: normal;
}

@media (max-width: 640px) {
  .course-summary dt {
    font-size: 0.82rem;
  }

  .course-summary dd {
    font-size: 1rem;
  }

  .course-summary dd strong {
    font-size: 1.2rem;
  }
}

.brochure-link {
  margin-top: 34px;
  padding: clamp(24px, 3vw, 36px);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  border: 1px solid rgba(156, 100, 127, 0.2);
  background: linear-gradient(120deg, var(--nail-soft), #fff);
}

.brochure-link:has(.brochure-link__preview) {
  width: min(760px, 100%);
  margin-right: auto;
  margin-left: auto;
  padding: 16px 22px;
  grid-template-columns: minmax(0, 520px) minmax(115px, 135px);
  justify-content: center;
  column-gap: clamp(22px, 3vw, 34px);
}

.brochure-link__preview {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 210 / 297;
  border: 1px solid rgba(156, 100, 127, 0.2);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(81, 61, 72, 0.12);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.brochure-link__preview span {
  position: absolute;
  right: 8px;
  bottom: 8px;
  left: 8px;
  min-height: 40px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 4px;
  color: #fff;
  background: rgba(156, 100, 127, 0.94);
  font-size: 0.72rem;
  font-weight: 700;
}

.brochure-link__preview span i {
  font-size: 0.95rem;
}

.brochure-link__preview:hover,
.brochure-link__preview:focus-visible {
  box-shadow: 0 18px 34px rgba(81, 61, 72, 0.2);
  transform: translateY(-3px);
}

.brochure-link__preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.brochure-link__icon {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--nail-deep);
  font-size: 2rem;
}

.brochure-link .section-label {
  display: block;
  margin: 0 0 5px;
}

.brochure-link h3 {
  margin: 0;
  color: var(--nail-ink);
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  line-height: 1.5;
}

.brochure-link p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.brochure-link__button {
  min-width: 210px;
  border-color: var(--nail-deep);
  color: #fff;
  background: var(--nail-deep);
}

.brochure-link__button:hover {
  background: var(--nail-ink);
}

/* ネイル系の同系色でCTAからフッターへ自然につなげる */
.final-cta {
  margin-bottom: 0;
  border-top: 1px solid #513d48;
  border-bottom: 1px solid #513d48;
  color: #fff;
  background: var(--nail-deep);
}

.final-cta p {
  color: rgba(255, 255, 255, 0.8);
}

.final-cta .button--light {
  color: var(--nail-deep);
  background: #fff;
  border-color: #fff;
}

.final-cta .button--dark {
  color: #fff;
  background: var(--nail-ink);
  border-color: var(--nail-ink);
}

.site-footer {
  border-top: 0;
  color: rgba(255, 255, 255, 0.78);
  background: #4a5954;
}

.site-footer .footer-brand__name {
  color: #fff !important;
}

.site-footer .footer-brand__name small,
.site-footer .footer__heading,
.site-footer .footer-meta small,
.site-footer .footer-information .footer-brand__operator {
  color: rgba(255, 255, 255, 0.68);
}

.site-footer .footer-information__links a,
.site-footer .footer-brand__operator a {
  color: #fff;
}

.site-footer .footer-information__links a:hover,
.site-footer .footer-information__links a:focus-visible {
  color: var(--web-yellow);
}

.nail-photo-strip {
  width: min(1120px, calc(100% - 40px));
  margin: clamp(-54px, -4vw, -34px) auto clamp(72px, 8vw, 108px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.nail-photo-strip figure {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  background: var(--nail-soft);
}

.nail-photo-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.nail-photo-strip figure:hover img {
  transform: scale(1.025);
}

@media (max-width: 640px) {
  .nail-photo-strip {
    width: calc(100% - 32px);
    margin-top: -42px;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .nail-photo-strip figure {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 800px) {
  .brochure-link {
    grid-template-columns: auto 1fr;
  }

  .brochure-link:has(.brochure-link__preview) {
    grid-template-columns: minmax(0, 1fr) minmax(115px, 135px);
    column-gap: 22px;
  }

  .brochure-link__button {
    width: 100%;
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .brochure-link {
    grid-template-columns: 1fr;
  }

  .brochure-link:has(.brochure-link__preview) {
    padding: 20px;
    grid-template-columns: 1fr;
  }

  .brochure-link__preview {
    width: min(58%, 190px);
    justify-self: center;
  }

  .brochure-link__icon {
    width: 56px;
    height: 56px;
  }

  .brochure-link__button {
    grid-column: auto;
    min-width: 0;
  }
}

/* 2026-07 パンフレット配色に合わせたコントラスト調整 */
:root {
  --ink: #211b5b;
  --muted: #50536b;
  --line: rgba(33, 27, 91, 0.24);
  --web-main: #36c3b2;
  --web-action: #211b5b;
  --web-ink: #211b5b;
  --web-yellow: #fda900;
  --nail-main: #36c3b2;
  --nail-deep: #168f83;
  --nail-ink: #211b5b;
  --nail-soft: #cbece7;
  --nail-mist: #eff9f7;
  --nail-accent: #fda900;
}

.course-hero {
  background: linear-gradient(120deg, #fff 0 58%, rgba(203, 236, 231, 0.78) 58%);
}

.course-hero::before {
  color: rgba(54, 195, 178, 0.18);
}

.course-hero__labels span {
  border: 2px solid rgba(54, 195, 178, 0.72);
  color: var(--nail-ink);
}

.course-hero__labels .status {
  border-color: var(--nail-ink);
  background: var(--nail-ink);
}

.course-hero .button--primary,
.brochure-link__button {
  border: 2px solid var(--nail-ink);
  color: #fff;
  background: var(--nail-ink);
  box-shadow: 0 10px 22px rgba(33, 27, 91, 0.2);
}

.course-hero .button--outline {
  border: 1px solid #d2a13b;
  color: var(--nail-ink);
  background: #fff8e8;
  box-shadow: 0 7px 16px rgba(33, 27, 91, 0.1);
}

.course-hero .button--outline:hover,
.course-hero .button--outline:focus-visible {
  background: #fff1ce;
}

.course-hero__visual img {
  box-shadow: 24px 30px 0 rgba(203, 236, 231, 0.98);
}

.course-hero__visual figcaption,
.final-cta,
.site-footer {
  background: var(--nail-ink);
}

.course-summary {
  border: 2px solid var(--nail-main);
  box-shadow: 0 18px 42px rgba(33, 27, 91, 0.14);
}

.page-nav {
  border-color: rgba(33, 27, 91, 0.28);
  box-shadow: 0 5px 16px rgba(33, 27, 91, 0.08);
}

.course-features {
  background: linear-gradient(180deg, #fff, rgba(203, 236, 231, 0.7));
}

.feature-card,
.curriculum-card,
.qualification-list li,
.application-flow li {
  border: 1px solid rgba(33, 27, 91, 0.24);
  box-shadow: 0 12px 28px rgba(33, 27, 91, 0.09);
}

.feature-card {
  border-top: 5px solid var(--nail-main);
}

.learning-photo p {
  background: var(--nail-ink);
}

.check-list li::before {
  color: var(--nail-deep);
}

.goal-copy {
  border-left: 5px solid var(--nail-accent);
  color: var(--nail-ink);
  background: rgba(203, 236, 231, 0.7);
}

.curriculum-section {
  background: var(--nail-mist);
}

.hours-bar div:first-child {
  background: var(--nail-main);
}

.hours-bar div:nth-child(2) {
  background: var(--nail-deep);
}

.hours-bar div:nth-child(3) {
  background: var(--nail-ink);
}

.curriculum-card > div {
  background: rgba(203, 236, 231, 0.82);
}

.info-table {
  border-top: 4px solid var(--nail-main);
}

.cost-card {
  border: 2px solid var(--nail-main);
  background: rgba(203, 236, 231, 0.78);
}

.brochure-link,
.brochure-link:has(.brochure-link__preview) {
  border: 2px solid rgba(54, 195, 178, 0.78);
  background: linear-gradient(120deg, rgba(203, 236, 231, 0.82), #fff);
}

.brochure-link__preview {
  border: 2px solid var(--nail-main);
  box-shadow: 0 12px 28px rgba(33, 27, 91, 0.16);
}

.brochure-link__preview span {
  background: rgba(33, 27, 91, 0.94);
}

.brochure-link__icon {
  background: var(--nail-ink);
}

.qualification-section {
  background: rgba(203, 236, 231, 0.78);
}

.qualification-list li > span {
  border: 2px solid var(--nail-main);
  color: var(--nail-ink);
  background: #fff;
}

.online-section {
  border-block: 1px solid rgba(33, 27, 91, 0.2);
  background: #fff;
}

.application-section {
  background: rgba(203, 236, 231, 0.28);
}

.application-section .application-flow li {
  background: #fff;
}

.online-icon {
  background: var(--nail-ink);
}

.exam-note {
  border-left: 5px solid var(--nail-accent);
  background: rgba(203, 236, 231, 0.72);
}

.final-cta {
  border-top: 5px solid var(--nail-main);
  border-bottom-color: var(--nail-ink);
}

.final-cta > div:first-child > span {
  color: var(--nail-accent);
}

.final-cta .button--light {
  border: 1px solid #d2a13b;
  color: var(--nail-ink);
  background: #fff8e8;
}

.final-cta .button--dark {
  border: 2px solid rgba(255, 255, 255, 0.9);
  color: #fff;
  background: transparent;
}

.site-footer {
  border-top: 0;
  background: #4a5954;
}

.course-hero .button--disabled {
  border-color: #c9c6cf;
  color: #4e4a5e;
  background: #f3f2f4;
  box-shadow: none;
  opacity: 1;
}

@media (max-width: 640px) {
  .course-hero__visual img {
    box-shadow: 12px 15px 0 rgba(203, 236, 231, 0.98);
  }
}

/* 画像を使わないコンパクトな講座イントロ */
.course-hero {
  min-height: 0;
  padding-top: clamp(38px, 5vw, 58px);
  padding-bottom: clamp(44px, 5.5vw, 66px);
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  background: linear-gradient(105deg, #fff 0 72%, rgba(203, 236, 231, 0.8) 72%);
}

.course-hero::before {
  right: max(-16px, calc((100% - 1120px) / 2));
  bottom: -50px;
  left: auto;
  color: rgba(54, 195, 178, 0.13);
  font-size: clamp(8rem, 15vw, 12rem);
}

.course-hero__content {
  width: min(1120px, 100%);
}

.course-hero h1 {
  margin: 0;
  font-size: clamp(2.35rem, 4.5vw, 4rem);
  line-height: 1.15;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.course-hero__lead {
  max-width: 780px;
  margin-top: 18px;
  line-height: 1.85;
}

@media (max-width: 760px) {
  .course-hero {
    padding-top: 30px;
    padding-bottom: 38px;
    background: linear-gradient(180deg, #fff 0 72%, rgba(203, 236, 231, 0.72) 72%);
  }

  .course-hero h1 {
    font-size: clamp(1.2rem, 6vw, 2rem);
    letter-spacing: -0.06em;
  }

}

/* スマホ見出しは意味のまとまり単位で折り返す */
@media (max-width: 640px) {
  #features > .course-section__head h2 {
    font-size: clamp(1.1rem, 5.5vw, 1.45rem);
    letter-spacing: -0.03em;
  }

  .online-section {
    position: relative;
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    overflow: hidden;
  }

  .online-section > div:nth-child(2),
  .online-section > ul {
    position: relative;
    z-index: 1;
  }

  .online-section .online-icon {
    display: none;
  }

  .online-section h2 {
    font-size: clamp(1.05rem, 5.2vw, 1.3rem);
    letter-spacing: -0.025em;
    line-height: 1.4;
    white-space: nowrap;
  }

  .online-section ul {
    grid-column: 1;
  }
}
