:root {
  --red: #c0182b;
  --pink: #f3ddd6;
  --text: #111;
  --line: #ddd;
  --num-red: #c0182b;
}

* {
  box-sizing: border-box;
}

.wrap {
  max-width: 820px;
  margin: 0 auto;
}
.section {
  margin: 0 auto 34px;
  width: 90%;
  max-width: 550px;
}

.title {
  text-align: center;
  font-weight: 900;
  font-size: clamp(20px, 3vw, 28px);
  margin: 0 0 16px;
}

/* ============ 十三参りカード ============ */
.card {
  display: flex;
  width: 100%;
  min-height: 120px;
  overflow: hidden;
  font-family: serif;
}

.card__left {
  flex: 0 0 44%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.left__text {
  color: #fff;
  font-weight: 900;
  font-size: clamp(16px, 2.4vw, 22px);
  letter-spacing: 0.04em;
}

.card__right {
  flex: 1;
  background: var(--pink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 14px 12px;
  gap: 6px;
}

.right__top {
  font-weight: 700;
  font-size: 14px;
}
.right__mid {
  font-weight: 900;
  font-size: clamp(18px, 2.6vw, 24px);
  letter-spacing: 0.06em;
}
.right__btm {
  font-weight: 700;
  font-size: 14px;
}

.num-red {
  color: var(--num-red);
}

/* ============ 長寿祝いリスト ============ */
.list {
  display: block;
font-family: serif;
}

.item {
  margin-bottom: 18px;
  overflow: hidden;
}

.item-head {
  padding: 10px 14px;
  color: #fff;
  font-weight: 900;
  font-size: 18px;
}

.item-head span {
  font-size: 14px;
  font-weight: 600;
  opacity: 0.95;
}

.item-age {
  float: right;
  margin-top: -34px;
  margin-right: 14px;
  color: #fff;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.item-body {
  display: flex;
  background: #f4f4f4;
  border: 1px solid var(--line);
  border-top: none;
}

.item-left {
  width: 32%;
  padding: 12px;
  font-size: 18px;
  border-right: 1px solid var(--line);
  line-height: 1.6;
}

.item-right {
  flex: 1;
  padding: 12px;
  font-size: 14px;
  line-height: 1.7;
}

/* color variations (帯色) */
.color-red .item-head {
  background: #c8102e;
}
.color-darkred .item-head {
  background: #d32f2f;
}
.color-orange .item-head {
  background: #f28b6a;
}
.color-orange2 .item-head {
  background: #e86c3a;
}
.color-yellow .item-head {
  background: #f2b705;
}
.color-yellow2 .item-head {
  background: #e4d21c;
}
.color-green .item-head {
  background: #a8c800;
}
.color-green2 .item-head {
  background: #a7ce6a;
}
.color-green3 .item-head {
  background: #6cc090;
}
.color-green4 .item-head {
  background: #4caf50;
}
.color-green5 .item-head {
  background: #008f6a;
}

/* Responsive */
@media (max-width: 600px) {
  body {
    padding: 16px;
  }
  .item-body {
    flex-direction: column;
  }
  .item-left {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .item-age {
    margin-top: -32px;
  }
}
