@charset "UTF-8";

html {
  font-size: 12px;
  font-style: italic;
}

body {
  background-image: url("../img/img/course.png");
  background-size: cover;
  background-repeat: repeat;
  background-size: 85px 85px;
}

img {
  max-width: 100%;
  height: auto;
}

nav {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 3rem;
  background-color: rgba(171, 178, 169);
}

nav ul {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 90%;
}

nav ul li {
  flex: 1;
  list-style: none;
  text-align: center;
  font-size: 1.25rem;
}

nav ul li a {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 3rem;
  text-decoration: none;
  color: #ffffff;
}

nav ul li a:hover {
  background-color: rgb(43, 76, 43);
}

/* ラップ */
.container {
  max-width: 920px;
  margin: 24px auto;
  padding: 18px;
}

/* ヒーロー部分 */
.hero {
  display: flex;
  gap: 20px;
  align-items: stretch;
  margin-bottom: 18px;
  flex-direction: column;
}

.hero-left {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  height: 36px;
  border-radius: 10px;
  justify-content: flex-start;
  padding-left: 12px;
}

.ribbon {
  transform: rotate(-10deg);
  background: #f8cbd8;
  color: #fff;
  padding: 6px 8px;
  font-weight: 700;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  font-size: 2rem;
}

/* カード */
.hero-card {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  flex: 1;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.brand {
  font-size: 1rem;
  color: #666;
  margin-bottom: 6px;
  text-align: center;
}

.title {
  font-size: 2.2rem;
  margin-bottom: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-align: center;
}

.features {
  list-style: none;
  color: #444;
  font-size: 1.2rem;
  margin-left: 2rem;
}

.features li {
  margin: 6px 0;
}

/* コース */
.courses {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 16px 0 10px;
}

.course {
  background: #fff;
  border-radius: 8px;
  padding: 12px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
  font-size: 1.5rem;
}

.course-title {
  font-weight: 700;
  color: #b84d6c;
  margin-bottom: 6px;
}

.course-desc {
  color: #555;
  font-size: 1.2rem;
}

/* info セクション */
.info {
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 14px 0;
}

.info-block {
  display: flex;
  /* 横並びにする */
  align-items: center;
  /* 垂直中央揃え */
  gap: 1rem;
  /* h3とpの間に余白をつける（必要に応じて調整） */
}

.info-block h3 {
  background: #fff;
  padding: 12px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  color: #b84d6c;
  margin-bottom: 6px;
  font-size: 1rem;
}

.diploma {
  grid-column: span 3;
  background: linear-gradient(90deg, #ffdce6, #fff1f6);
  padding: 14px;
  margin-top: 8px;
  border-radius: 10px;
  text-align: center;
  color: #c94b6b;
  font-weight: 700;
}

/* フッター */
.foot {
  text-align: center;
  margin: 18px 0 40px;
  color: #999;
  font-size: 0.9rem;
}