@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700;900&display=swap");
/* ===== palette ===== */
/* ===== mixins ===== */
/* ===== base ===== */
* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  background: #fff;
  color: #222;
  font-family: "Noto Sans JP", system-ui, -apple-system, "Hiragino Kaku Gothic ProN", "Segoe UI", sans-serif;
  line-height: 1.65;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

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

a:hover {
  text-decoration: underline;
}

/* ===== typography ===== */
p {
  margin: 10px 0;
}

ul {
  margin: 10px 0;
  padding-left: 1.2em;
}

li {
  margin: 6px 0;
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(18px, 2.6vw, 26px);
  line-height: 1.2;
}

h3 {
  margin: 0;
  font-size: clamp(16px, 2.1vw, 20px);
  line-height: 1.2;
}

h4 {
  margin: 0 0 8px;
  font-size: clamp(14px, 1.8vw, 18px);
  line-height: 1.2;
}

/* ===== buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 900;
  font-size: 20px;
  letter-spacing: 0.01em;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: 0.25s;
}
.btn--primary {
  background: #d9232a;
  color: #fff;
}
.btn--primary:hover {
  background: #c31f26;
  text-decoration: none;
}

/* ===== sections ===== */
.section {
  padding: 18px 0;
  /* ===== section bands ===== */
}
.section__inner {
  max-width: 980px;
  margin: 0 auto;
  padding-left: 10px;
  padding-right: 10px;
}
.section--overview {
  padding: 20px 0;
}
.section--basic-detail {
  padding: 20px 0;
}
.section--basic-detail .section__inner {
  padding-left: 0;
  padding-right: 0;
}
.section--basic-detail .card {
  width: 100%;
  border-radius: 0;
}
.section--basic-detail .card__header {
  width: 100%;
  margin: 0;
  border-radius: 0;
}
.section--exam-detail {
  padding: 20px 0;
}
.section--exam-detail .section__inner {
  padding-left: 0;
  padding-right: 0;
}
.section--exam-detail .card {
  width: 100%;
  border-radius: 0;
}
.section--exam-detail .card__header {
  width: 100%;
  margin: 0;
  border-radius: 0;
}
.section--organization {
  padding: 28px 0 40px 0;
  background: #fff;
}
.section__cta {
  margin: 20px 0 0;
  text-align: center;
}

/* ===== hero ===== */
.hero {
  padding: 14px 0 0 0;
  /* 吹き出しは1枚画像（images/speech.png） */
}
.hero__inner {
  max-width: 980px;
  margin: 0 auto;
  padding-left: 10px;
  padding-right: 10px;
  position: relative;
  padding: 18px 10px 0 10px;
}
.hero__title-image {
  text-align: center;
}
.hero__title-image img {
  max-width: 100%;
  height: auto;
}
.hero__description {
  margin: 12px 0 0;
  text-align: left;
  font-size: clamp(14px, 2vw, 16px);
  line-height: 1.6;
  font-size: 16px;
  font-weight: bold;
  margin-top: -50px;
}
@media (min-width: 768px) {
  .hero__description {
    font-size: 24px;
    margin-top: -80px;
    margin-left: 100px;
  }
}
@media (min-width: 1024px) {
  .hero__description {
    font-size: 24px;
    margin-top: -100px;
    margin-left: 140px;
  }
}
.hero__illustration {
  margin: 16px 0 0;
  text-align: center;
  display: flex;
  justify-content: center;
}
.hero__speech {
  width: min(720px, 100%);
}
.hero__speech img {
  width: 100%;
  height: auto;
}

/* ===== card ===== */
.card {
  margin-top: 14px;
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
  text-align: center;
}
.card:first-child {
  margin-top: 0;
}
.card__header {
  padding: 6px 12px;
  text-align: center;
  font-weight: 900;
  color: #fff;
  margin: 0 auto;
  display: inline-block;
  width: fit-content;
  font-size: 22px;
}
.card__header div, .card__header span {
  font-size: 0.75em;
  font-weight: 400;
}
.card__header--basic {
  background: #e08075;
}
.card__header--exam {
  background: #699ed8;
  position: relative;
}
.card__header--exam.badge-new::after {
  content: "NEW";
  position: absolute;
  right: -50px;
  top: 50%;
  transform: translateY(-50%);
  background: #d9232a;
  color: #fff;
  font-weight: 900;
  font-size: 14px;
  width: 40px;
  height: 40px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.card__header--exam.badge-new2::after {
  content: "NEW";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: #d9232a;
  color: #fff;
  font-weight: 900;
  font-size: 14px;
  width: 44px;
  height: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.card__body {
  padding: 12px;
  text-align: left;
  font-weight: bold;
}
.card__body > p {
  margin: 12px 0;
}
.card__body > p:first-child {
  margin-top: 0;
}
.card__body > p:last-child {
  margin-bottom: 0;
}

/* ===== course overview ===== */
.course-overview {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  /* course-overview 内のテキストを太字にする */
  font-weight: 700;
  /* card__body を角丸にし、ヘッダー種別ごとに背景色を設定 */
}
@media (min-width: 768px) {
  .course-overview {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}
.course-overview .card {
  margin-top: 0;
  border-radius: 6px;
}
.course-overview .card__header {
  padding: 4px 12px;
  border-radius: 30px;
  font-size: 16px;
  min-width: 240px;
  position: relative;
  z-index: 2;
}
.course-overview .card__body {
  border-radius: 6px;
  position: relative;
  z-index: 1;
}
.course-overview .card__header--basic + .card__body {
  background: #fce0d7;
  border: 1px solid #e08075;
  line-height: 1.4;
  margin-top: -20px;
  padding-top: 40px;
}
.course-overview .card__header--exam + .card__body {
  background: #e4ecf8;
  line-height: 1.4;
  border: 1px solid #699ed8;
  margin-top: -20px;
  padding-top: 40px;
}
@media (min-width: 768px) {
  .course-overview .card {
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  .course-overview .card__body {
    flex: 1;
  }
}

/* ===== e-learning screenshot ===== */
.e-learning-screenshot {
  margin: 16px 0;
  border-radius: 4px;
  overflow: hidden;
}

.vegetable-list {
  margin: 12px 0;
  padding: 12px;
  background: #f9f9f9;
  border-radius: 4px;
  font-size: clamp(13px, 1.8vw, 15px);
}

/* ===== lecture list ===== */
@media (min-width: 1024px) {
  .grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

/* 言語リスト用 2カラムグリッド */
.lang-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.lecture-list-header {
  margin: 0 0 12px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #e08075;
  text-align: center;
}

/* 講義一覧エリア全体 */
.lecture-list {
  background: #fce0d7;
  padding: 16px 10px;
  border-radius: 6px;
  border: #e08075 1px solid;
}

/* カード内リスト用のカテゴリーボックス */
.lecture-category {
  margin: 12px 10px;
}
.lecture-category h4 {
  font-weight: 900;
  color: #000;
  margin-bottom: 8px;
}
.lecture-category ul {
  margin: 0;
  padding-left: 1em;
}
.lecture-category li {
  font-size: clamp(14px, 2vw, 17px);
}

/* ===== lang list ===== */
.lang-support {
  margin-top: 20px;
}
.lang-support p {
  font-weight: bold;
}

.lang-list {
  list-style: disc;
  padding-left: 1.2em;
  margin: 0;
}
.lang-list li {
  margin: 0;
  font-weight: normal;
  break-inside: avoid;
  white-space: nowrap;
  font-size: clamp(14px, 2vw, 17px);
  font-weight: 600;
}

/* ===== exam flow ===== */
.exam-flow {
  margin: 16px 0;
}

.exam-screenshot {
  margin: 12px 0;
  border-radius: 4px;
  overflow: hidden;
}

.exam-arrow {
  text-align: center;
}
.exam-arrow img {
  width: 100px;
  vertical-align: text-bottom;
}

.exam-flow-description {
  margin: 16px 0 0;
  padding: 12px;
  border-radius: 4px;
  font-size: clamp(13px, 1.8vw, 15px);
}

/* ===== organization ===== */
.org-info {
  text-align: left;
  max-width: 860px;
  margin: 0 auto;
}

.org-name {
  margin: 0;
  padding: 6px 0;
  font-size: clamp(20px, 2.8vw, 26px);
  font-weight: 900;
  color: #222;
  text-align: center;
  background: #e4e4e4;
}

.org-details {
  text-align: left;
  max-width: 860px;
  margin: 0 auto;
  background: #fff;
  border-radius: 0;
  padding: 14px 12px;
}
.org-details h3 {
  margin: 0 0 10px;
  font-size: clamp(16px, 2.1vw, 18px);
  font-weight: 900;
}
.org-details p {
  margin: 8px 0;
  font-size: 16px;
  line-height: 1.5;
}
