/* ===== 基本設定 ===== */
body {
  font-family:
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    "Meiryo",
    sans-serif;
  font-size: 16px;
  background: #ffffff;
  caret-color: transparent;
}

/* ===== テキストサイズ ===== */
.text-small  { font-size: 13px; }
.text-normal { font-size: 16px; }
.text-large  { font-size: 18px; }
.text-xl     { font-size: 22px; }
.text-xxl    { font-size: 26px; }

/* ===== 太字 ===== */
.bold { font-weight: bold; }

/* ===== 余白 ===== */
.block { margin-bottom: 1em; }
.mb-2  { margin-bottom: 2em; }
.mb-3  { margin-bottom: 3em; }

/* ===== 汎用 ===== */
.center { text-align: center; }
.right  { text-align: right; }


.title-bar {
  display: flex;
  width: 100%;
  max-width: 660px;
  margin-bottom: 12px;
}

.title-bar.wide {
  max-width: 840px;
}

.title-bar img {
  width: 120px;
  height: 20px;
  display: block;
}

.title-line {
  flex: 1;
  position: relative;
}

.title-line::before {
  content: "";
  position: absolute;
  top: 9px;           /* 上9px空ける */
  left: 0;
  width: 100%;
  height: 2px;
  background: #B44040;
}
.card-list {
  width: 100%;
  max-width: 660px;
  border: 3px solid #633838;
  border-radius: 24px;
  overflow: hidden;
  background: #ffffff;
}
.card-list.wide {
  max-width: 830px;
}

.card-list-title {
  height: 20px;
  line-height: 20px;

  background: #633838;
  color: #fff;
  text-align: center;
  font-weight: bold;
}
.card {
  width: 520px;
  background: #ccc;          /* 外枠 */
  padding: 0px;
}

.card > * {
  background: #fff;
  margin-bottom: 20px;
}

.card-list-title + .card {
  margin-top: 32px;
}


.card-header {
  background: #000;
  color: #fff;
  text-align: center;
  font-size: 30px;
  font-weight: bold;
  padding: 4px;
}

.card-main {
  display: flex;
  align-items: center;   /* ← これ追加 */
  background: #ccc;
  padding: 4px;
}

.image {
  width: 247px;
  text-align: center;
}

.image img {
  width: 200px;
  height: 280px;
  border: 1px solid #000;
}

.text {
  flex: 1;
  padding: 8px;
  text-align: left;
}

.textitem {
  color: #ff0099;
}

.card-text {
  background: #ccc;
  padding: 8px;
  text-align: left;
}

.card-footer {
  padding: 8px;
  text-align: left;
}


/*ナビゲーションメニュー*/
.nav {
 display: flex;
  width: 500px;
  padding: 0;
  margin: 0;
  list-style: none;
  gap: 4px; /* ← ボタン間のスペース */
}
.nav li {
  flex: 1 1 0;
}
.nav li.wide {
  flex: 1.5 1 0;
}
.nav a {
  display: block;
  background: #4c4c4c;
  color: #fff;
  text-align: center;
  padding: 2px 0;
  font-weight: bold;
  text-decoration: none;
}
.nav a:hover {
  background: #6b36ab;
}


