* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Zen Maru Gothic', sans-serif;
  background: #fff;
  color: #333;
  line-height: 1.8;
}

main {
  max-width: 760px;
  margin: 4rem auto;
  padding: 0 1.5rem;
}

article {
  font-family: 'Zen Maru Gothic', sans-serif;
  color: #2b2b2b;
  font-size: 17px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  padding: 0 0.5rem;
}

.article-header img {
  width: 100%;
  max-height: 340px;
  object-fit: cover;
  display: block;
  margin: 1.5rem auto;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.article-header h2 {
  font-size: 2rem;
  color: #29ABE2;
  margin-bottom: 1.5rem;
  text-align: center;
  letter-spacing: 0.02em;
}

.article-header h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(to right, #56c1e1, #69b7d1);
  margin: 1rem auto 0;
  border-radius: 4px;
}

.meta {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 1.5rem;
  text-align: center;
}



article h2 {
  position: relative;
  background: linear-gradient(to right, #e0f7fa, #ffffff);
  padding: 1.2rem 1rem 1rem 1rem;
  border-left: 6px solid #56c1e1;
  border-radius: 6px;
  margin-top: 1.5rem;
}


article h3 {
  font-size: 1.2rem;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  color: #29ABE2;
  font-weight: 600;
  border-left: none;
  background: none;
  padding-left: 0;
  border-bottom: 2px dashed #56c1e1;
  display: inline-block;
}

article p {
  margin-bottom: 0.5rem;
  letter-spacing: 0.03em;
}

article ol {
  counter-reset: step-counter;
  margin: 1.2rem 0;
  padding-left: 0;
  list-style: none;
}
article ol li {
  counter-increment: step-counter;
  background: #e0f7fa;
  text-align: center;
  border: 1px solid #b7eaf5;
  padding: 1rem 1.2rem 1rem 2.4rem!important; /* ← ← ← 左paddingをしっかり確保！ */
  border-radius: 8px;
  position: relative;
  font-size: 1rem;
  color: #444;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}
article ol li::before {
  content: "STEP " counter(step-counter);
  position: absolute;
  left: -1.4rem;
  top: 50%;
  transform: translateY(-50%);
  background: #56c1e1;
  color: white;
  font-weight: bold;
  font-size: 0.75rem;
  padding: 0.3rem 0.6rem;
  border-radius: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}


article ul,
article ol {
  margin: 0.5rem 0 0 0;
  padding-left: 0;
  list-style: none;
}

article ul {
  background: #f0faff;
  border-left: 4px solid #56c1e1;
  border-right: 4px solid #56c1e1;
  border-radius: 8px;
  padding: 1.2rem 1.5rem;
  margin: 1.5rem 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  list-style: none;
}

article ul li::before {
  content: "✔︎ ";
  color: #56c1e1;
  margin-right: 0.4rem;
  font-weight: bold;
}

article ul li {
  margin-bottom: 0.8rem;
  padding-left: 0.4rem;
  color: #333;
}


article ul li,
article ol li {
  margin-bottom: 0.8rem;
  padding-left: 0.4rem;
}

article blockquote {
  background: #e0f7fa;
  border-left: 4px solid #56c1e1;
  margin: 1rem 0;
  padding: 1rem 1.2rem;
  color: #555;
  font-style: italic;
  font-size: 1rem;
}

article table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 2.5rem 0;
  font-size: 0.95rem;
}

article table th,
article table td {
  border: 1px solid #ddd;
  padding: 0.9rem 0.7rem;
  text-align: left;
  background: #fff;
}

article pre {
  background: #f6f6f6;
  padding: 1.2rem;
  overflow-x: auto;
  border-left: 4px solid #ccc;
  margin: 1rem 0;
  font-family: 'Courier New', monospace;
  font-size: 0.92rem;
  color: #333;
  border-radius: 6px;
}

.tip-box {
  background: #e0f7fa;
  border-left: 5px solid #56c1e1;
  padding: 1.2rem 1.5rem;
  margin: 1rem 0;
  font-size: 0.95rem;
  border-radius: 6px;
}

.next-link {
  margin-top: 3rem;
  font-weight: bold;
  text-align: right;
  color: #29ABE2;
}

footer {
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
  color: #aaa;
}

article dl {
  margin: 0; /* ← 全体の余白をちょい縮める */
}

article dt {
  background: linear-gradient(to right, #fff7e6, #ffe0b2);
  color: #d17d00;
  padding: 0.8rem 1.2rem;
  cursor: pointer;
  font-size: 1rem;
  font-weight: bold;
  position: relative;
  transition: background 0.3s;
  border-bottom: 1px solid #f0d4a1;
  border-radius: 6px;
  margin-bottom: 0.2rem; /* ← 項目ごとの感覚をぎゅっと詰める */
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

article dt::before,
article dt::after {
  content: '';
  position: absolute;
  right: 1.2rem;
  top: 50%;
  width: 12px;
  height: 2px;
  background: #d17d00;
  transition: transform 0.3s ease;
  border-radius: 1px;
}

article dt::before {
  transform: translateY(-50%) rotate(45deg);
}

article dt::after {
  transform: translateY(-50%) rotate(-45deg);
}

article dt.open::before {
  transform: translateY(-50%) rotate(0deg);
}

article dt.open::after {
  transform: translateY(-50%) rotate(0deg);
}
article dd {
  background: #fffaf2;
  padding-left: calc(1.2rem + 4px); /* border+padding分を計算して補正 */
  font-size: 0.95rem;
  color: #5c4432;
  line-height: 1.7;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  border-left: 4px solid #f4b76a;
  border-radius: 0 0 6px 6px;
  margin-bottom: 0.4rem; /* ← 閉じた後の隙間を最小限に */
  transition:
    max-height 0.4s ease,
    padding 0.3s ease,
    opacity 0.3s ease;
}

article dt.open + dd {
  max-height: 500px;
  padding: 12px 1.2rem;
  opacity: 1;
  pointer-events: auto;
  transition:
    max-height 0.5s ease,
    padding 0.4s ease,
    opacity 0.4s ease;
}

.official-link {
  text-align: center;
  margin-top: 2rem;
}

.official-link a {
  display: inline-block;
  background: linear-gradient(to right, #56c1e1, #69b7d1);
  color: #fff;
  font-weight: bold;
  padding: 0.9rem 2rem;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: background 0.3s, transform 0.2s;
}

.official-link a:hover {
  background: linear-gradient(to right, #69b7d1, #56c1e1);
  transform: translateY(-2px);
}

@media (max-width: 640px) {
  article ul,
  article ol {
    margin-left: 1rem;
  }
}

.pote-comment {
  background: #e0f7fa;
  border-left: 4px solid #56c1e1;
  padding: 1rem 1.2rem;
  margin: 0.5rem 0;
  font-size: 0.95rem;
  line-height: 1.8;
  color: #5a2c3a;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

@media (max-width: 640px) {
  article ol li {
    padding-left: 2.5rem;
  }
}

.meta-with-favorite {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.meta {
  margin: 0;
}

#favoriteButton {
  background: none;
  border: none;
  color: #b35f7d;
  cursor: pointer;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

#favoriteButton i {
  font-size: 1.5rem;
}

#favoriteButton.favorited i {
  color: #ff4c91;
}

.nickname {
  max-width: 120px;
  display: inline-block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: middle;
}

.article-header img {
  width: 100%;
  max-width: 400px; /* 適度に大きめ（お好みで調整） */
  aspect-ratio: 1 / 1; /* 正方形キープ */
  object-fit: cover; /* はみ出しを防ぐ／fillやcontainも検討可 */
  border-radius: 12px;
  display: block;
  margin: 1rem auto;
}
.site-footer {
  margin-top: 3rem;
  padding: 2rem 1rem;
  background: #f8f8f8;
  border-top: 1px solid #ddd;
  text-align: center;
  font-size: 0.9rem;
}

.site-footer .footer-links {
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-footer .footer-links a {
  color: #333;
  text-decoration: none;
}

.site-footer .footer-links a:hover {
  text-decoration: underline;
}
.carousel-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  will-change: transform;
}

.carousel-item {
  flex: 0 0 100%;
  box-sizing: border-box;
  padding: 1rem;
  text-align: center;
}

.carousel-item img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 0.5rem;
}

.carousel-item a {
  text-decoration: none;
  font-weight: bold;
  color: #29ABE2;
  display: block;
  font-size: 0.95rem;
}

.carousel-dots {
  text-align: center;
  margin-top: 1rem;
}

.carousel-dots button {
  border: none;
  background: #ccc;
  border-radius: 50%;
  width: 10px;
  height: 10px;
  margin: 0 4px;
  padding: 0;
  cursor: pointer;
}

.carousel-dots button.active {
  background: #29ABE2;
}

.footer-tags {
  background: #f8f8f8;
  padding: 2rem 1rem;
  color: #eee;
  display: flex;
  justify-content: center;
  font-family: 'Zen Maru Gothic', sans-serif;
}

.footer-tags-inner {
  max-width: 600px;
  width: 100%;
}

.footer-tags h4 {
  font-size: 1.3rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 1.5rem;
  text-align: left;
}

.footer-tags .keyword-group {
  background: #fff;
  border-radius: 10px;
  padding: 1rem 1rem 0.8rem;
  margin-bottom: 1.6rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.footer-tags .keyword-label {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 600;
  color: #333;
  position: relative;
  margin-bottom: 1rem;
  padding-bottom: 4px;
  background: transparent;
}

/* 下線にやわらかい水色グラデーション */
.footer-tags .keyword-label::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, #96e6a1, #56c1e1, #29ABE2);
  border-radius: 2px;
}

.footer-tags .tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.footer-tags .tag-link {
  background: #e3f2fd;
  color: #1976d2;
  text-decoration: none;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-size: 0.85rem;
  transition: background 0.2s ease-in-out;
}

.footer-tags .tag-link:hover {
  background: #bbdefb;
  color: #0d47a1;
}
article p strong {
  background: linear-gradient(transparent 70%, rgba(255, 210, 130, 0.6) 70%);
  font-weight: bold;
  padding: 0 2px;
  border-radius: 2px;
}

.share-card {
  background: #e8f8fd;
  padding: 2rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  margin-top: 3rem;
  text-align: center;
}

.share-title {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 1.5rem;
}

.share-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
}

.share-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  padding: 0.8rem;
  border-radius: 10px;
  text-decoration: none;
  font-size: 0.85rem;
  color: #444;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
  width: 80px; /* PC時のデフォルト */
}

.share-button i {
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
}

.share-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* ブランドカラー */
.share-button.line i { color: #00c300; }
.share-button.insta i { color: #e1306c; }
.share-button.twitter i { color: #1da1f2; }
.share-button.copy i { color: #555; }

/* スマホ時：2個ずつ表示 */
@media (max-width: 480px) {
  .share-buttons {
    justify-content: space-between;
    gap: 1rem 4%;
  }

  .share-button {
    width: 48%;
    box-sizing: border-box;
  }
}
.promotion-note {
  background: #fcfcfc;
  color: #444;
  padding: 0.6rem 1rem;
  margin: 1rem 0;
  font-size: 0.9rem;
  line-height: 1.6;
  border-left: 4px solid #ccc;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
  font-family: 'Zen Maru Gothic', sans-serif;
}


.intro-section {
  background: #f9fcfe;
  border: 2px solid #d5eefc;
  border-radius: 12px;
  padding: 1rem 1.5rem;
  margin: 1rem 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.intro-text {
  font-size: 1rem;
  line-height: 1.9;
  color: #333;
  margin-top:0!important;
  margin-bottom: 1rem;
  letter-spacing: 0.03em;
}
@media (max-width: 600px) {
  .intro-section {
    padding: 1.2rem 1rem;
    margin: 1.2rem 0;
    border-radius: 10px;
  }

  .intro-text {
    font-size: 15px!important;
    line-height: 1.6;
    margin-bottom: 1rem;
    letter-spacing: 0.01em;
  }
}


.modern-rating-card {
  position: relative;
  width: 100%;
  max-width: 720px;
  background: #fff;
  border-radius: 14px;
  padding: 0.8rem 1.2rem;
  box-shadow: 0 2px 14px rgba(41, 171, 226, 0.12);
  font-family: 'Zen Maru Gothic', sans-serif;
  box-sizing: border-box;
  display: flex;
  overflow: hidden;
  z-index: 10;
  isolation: isolate;
}
#bg-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  border-radius: 14px;
}
.modern-rating-card > *:not(#bg-canvas) {
  position: relative;
  z-index: 1;
}



.modern-rating-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px;
  padding: 1px;
  background: linear-gradient(135deg, #e0f7ff, #ffffff);
  z-index: -1;
  mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: destination-out;
}

.main-score {
  width: 40%;
  text-align: center;
  border-right: 1px solid #eee;
  padding-right: 0.8rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.2rem;
}

.main-score .title {
  font-size: 0.95rem;
  font-weight: bold;
  color: #29abe2;
  margin-bottom: 0.2rem;
}

.main-score .score {
  font-size: 2rem;
  color: #333;
  line-height: 1;
  margin: 0;
}

.main-score .stars {
  color: #ffb400;
  font-size: 1.1rem;
}

.main-score .label {
  font-size: 0.75rem;
  color: #777;
  margin-top: 0.2rem;
}

.details {
  width: 60%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

.details .grid {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
}

.item {
  font-size: 0.85rem;
  color: #444;
  min-width: 90px;
  line-height: 1.3;
}

.item span {
  font-weight: 600;
  display: block;
  margin-bottom: 0.15rem;
}

.item .stars {
  font-size: 1rem;
  color: #ffb400;
}
hr {
  border: none;
  height: 6px;
  background-image: repeating-linear-gradient(
    90deg,
    #b3eaf7,
    #b3eaf7 10px,
    #ffffff 10px,
    #ffffff 20px,
    #ccecf6 20px,
    #ccecf6 30px
  );
  background-size: 100% 100%;
  background-repeat: repeat-x;
  border-radius: 3px;
  margin: 1rem 0;
  opacity: 0.7;
}


.timeline-section {
  margin-top: 1.5rem;
  border-top: 1px solid #ddd;
}

.timeline-item {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 1.2rem;
  border-left: 3px solid #29abe2; /* 水色のライン */
}

.timeline-item::before {
  content: '●';
  position: absolute;
  left: -0.6rem;
  top: 0.2rem;
  color: #29abe2;
  font-size: 0.7rem;
}

.timeline-item h3 {
  margin: 0 0 0.6rem;
  font-size: 1.1rem;
  color: #222;
  font-weight: bold;
}

.timeline-item p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #333;
  margin: 0;
}

.timeline-item p strong {
  background: linear-gradient(transparent 70%, rgba(255, 215, 140, 0.3) 70%);
  font-weight: bold;
  padding: 0 2px;
}

.reward-block {
  background: linear-gradient(135deg, #fff7f0, #fff); /* 薄いオレンジ→白 */
  border: 1px solid #f5e6da;
  border-radius: 16px; /* カードっぽい丸み */
  padding: 1.5rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.reward-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  background: linear-gradient(135deg, #ffe8cc, #fff); /* 少し強めのオレンジに */
}
.reward-block table{
  margin:0!important;
  padding:0!important;
}
.reward-block ul{
  margin-bottom: 0.5rem;
}

.reward-block p {
  position: relative;
  background: #ffffff;
  border-radius: 12px;
  padding: 1.2rem 1.5rem;
  margin-top: 0.5rem!important;
  font-size: 0.95rem;
  line-height: 1.9;
  color: #333;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  border: 1px solid #e6edf3;
  overflow: hidden;
  isolation: isolate;
}

.reward-block p::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 8px;
  height: 100%;
  background: linear-gradient(to bottom, #56c1e1, #29abe2);
  border-radius: 12px 0 0 12px;
}


.reward-section{
    margin-top: 1.5rem;
    border-top: 1px solid #ddd;
}
.review_section{
    margin-top: 1.5rem;
    border-top: 1px solid #ddd;
}

.review_section p{
  padding:0.5rem;
}

.step-section {
  background: #f9fcfe;
  border: 2px solid #d5eefc;
  border-radius: 14px;
  padding: 1.8rem 1.2rem;
  margin: 1rem 0;
  box-shadow: 0 6px 16px rgba(86, 193, 225, 0.08);
  font-family: 'Zen Maru Gothic', sans-serif;
}

canvas{
  margin-top:1rem;
}

.step-block {
  margin-bottom: 1.2rem; /* ← ぐっと引き締め */
}

.step-block:last-child {
  margin-bottom: 0;
}

.step-badge {
  background: #56c1e1;
  color: #fff;
  font-size: 0.75rem;
  font-weight: bold;
  padding: 2px 10px;
  border-radius: 999px;
  margin-right: 0.6rem;
  vertical-align: middle;
  display: inline-block;
}

.step-section h3 {
  font-size: 1.15rem;
  color: #2b5777;
  margin-bottom: 0.3rem;
  margin-top:0;
}

.step-section p {
  font-size: 0.95rem;
  line-height: 1.6;
  padding:0.5rem;
  color: #333;
}

@media (max-width: 640px) {

  article p{
    font-size: 16px;
  }
  article {
    padding: 0 0.5rem;
    font-size: 15px;
    line-height: 1.7;
  }
    .article-header h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .article-header h2::after {
    margin-top: 0.6rem;
  }
    article ol li {
    padding: 1rem 1rem 1rem 2rem !important;
    font-size: 0.95rem;
  }

  article ol li::before {
    left: -1.2rem;
    font-size: 0.65rem;
  }
    article ul {
    padding: 1rem;
    margin: 1rem 0;
  }

  article ul li {
    font-size: 0.95rem;
  }
    .intro-section {
    padding: 1rem;
    margin: 1rem 0;
  }

  .intro-text {
    font-size: 0.92rem;
    line-height: 1.6;
  }
    .share-button {
    padding: 0.6rem;
    font-size: 0.8rem;
    width: 46%;
  }

  .share-button i {
    font-size: 1.2rem;
  }
    .main-score .score {
    font-size: 1.6rem;
  }

  .item {
    font-size: 0.8rem;
    min-width: auto;
  }
    article dt {
    font-size: 0.95rem;
    padding: 0.6rem 1rem;
  }

  article dd {
    font-size: 0.9rem;
    padding: 0.8rem 1rem;
  }
    .step-section {
    padding: 1.2rem 1rem;
    margin: 1.2rem 0;
  }

  .step-section p {
    font-size: 0.95rem;
    margin:0;
  }

  .step-block{
      margin-bottom: 0;
  }

  .step-section h3 {
    font-size: 1rem;
    margin:0;
  }
    body {
    font-size: 15px;
  }

  article {
    font-size: 15px;
  }
  
}


.notice-block {
  background-color: #fff3cd;
  border-left: 4px solid #ffc107;
  color: #856404;
  padding: 1rem 1.2rem;
  margin:  0;
  border-radius: 6px;
  font-size: 0.95rem;
  line-height: 1.7;
}

.notice-block p {
  margin: 0!important;
  font-size: 0.95rem;
  line-height: 1.6;
}



/* カールセル全体 */
.step-card-carousel {
  max-width: 760px;
  margin: 1rem auto;
}

/* 高さ固定：Swiper全体 */
.step-card-carousel .swiper-wrapper {
  height: 240px;
}

/* 各スライド */
.swiper-slide.step-card {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  background: #fff;
  border-radius: 16px;
  padding: 1.2rem 1.5rem;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
  overflow: hidden;
}

.swiper-slide .swiper-slide-prev{
  margin-bottom:0.5rem;
}

/* 画像：主役 */
.swiper-slide.step-card img {
  width: 180px;
  height: 180px;
  min-width: 180px;
  object-fit: cover;
  border-radius: 16px;
  padding: 5px;
  background: linear-gradient(135deg, #29abe2, #a0e0f8);
  box-shadow: 0 4px 16px rgba(41, 171, 226, 0.2);
  flex-shrink: 0;
}

/* 説明エリア */
.card-text {
  flex: 1;
  height: 180px;
  background: #f7fcff;
  border-radius: 12px;
  padding: 0.8rem 1rem;
  box-shadow: inset 0 0 0 1px #e0f2f8;
  display: flex;
  flex-direction: column;
  justify-content: center; /* 一旦centerで上下中央 */
  position: relative;      /* STEP配置用 */
  box-sizing: border-box;
  overflow: hidden;
}

/* STEPバッジ：上部に固定 */
.card-text .badge {
  position: absolute;
  top: 0.6rem;
  left: 1rem;
  background: linear-gradient(135deg, #fda085, #f6d365); /* オレンジ〜イエロー系 */
  color: #fff;
  font-size: 0.6rem;
  padding: 0.2rem 1rem;
  border-radius: 999px;
  font-weight: bold;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}


/* タイトルを中央寄せ */
.card-text h4 {
  font-size: 1rem;
  color: #222;
  font-weight: 600;
  margin: 0;
  line-height: 1.4;
  text-align: center;
  width: 100%;
}


/* ドットナビゲーション */
.swiper-pagination-bullet {
  background: #29abe2;
  opacity: 0.4;
  padding:0.5rem;
}
.swiper-pagination-bullet-active {
  opacity: 1;
}

/* ✅ モバイルでも横並び維持！ */
@media (max-width: 640px) {
  .step-card-carousel .swiper-wrapper {
    height: 220px; /* 高さ少し下げて対応 */
  }
    /* ✅ STEPバッジ非表示に */
  .card-text .badge {
    display: none;
  }

  .swiper-slide.step-card {
    flex-direction: row; /* 横並び維持 */
    height: 100%;
    padding: 0.8rem;
  }

  .swiper-slide.step-card img {
    width: 120px;     /* ✅ 縮小してスペース確保 */
    height: 120px;
    min-width: 120px;
    padding: 4px;
    border-radius: 12px;
  }

  .card-text {
    height: 120px;     /* ✅ 同じ高さに揃える */
    padding: 0.6rem 0.8rem;
    font-size: 0.85rem;
  }

  .card-text h4 {
    font-size: 0.95rem;
    text-align: left;
    padding-left: 0.2rem; /* お好みで微調整 */
    margin-bottom: 0.3rem;
  }


  .card-text .badge {
    font-size: 0.65rem;
    padding: 0.2rem 0.6rem;
    margin-bottom: 0.4rem;
  }
}


/* 本文内の画像だけ */
article img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 2rem auto;           /* 余白を少し広めに */
  border-radius: 12px;         /* 柔らかい角丸 */
  box-shadow: 0 6px 18px rgba(0,0,0,0.08); /* ほんのり影 */
  border: 1px solid #eee;      /* 薄い枠で上品に */
}
