﻿/* ▼▼ 関連商品：回遊カード（共通） ▼▼ */
.ys_related {
  margin-top: 30px;
}

.ys_related_ttl {
  font-size: 1.4rem;
  border-bottom: 2px solid #c62828;
  padding-bottom: 4px;
  margin: 0 0 12px;
}

.ys_related_list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.ys_related_item a {
  display: block;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 10px 10px;
  text-decoration: none;
  background: #fafafa;
}
.ys_related_item img {
	text-align:center;
	}

.ys_related_item a:hover {
  background: #fff3f3;
  border-color: #c62828;
}

.ys_related_title {
  display: block;
  font-size: 0.95rem;
  font-weight: bold;
  margin-bottom: 4px;
  color: #c62828;
  line-height: 1.4;
}

.ys_related_text {
  display: block;
  font-size: 0.85rem;
  color: #555;
  line-height: 1.5;
}

/* タブレット */
@media (max-width: 900px) {
  .ys_related_list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* スマホ */
@media (max-width: 768px) {
  .ys_related_list {
    grid-template-columns: 1fr;
  }
}
/* ▲▲ 関連商品：回遊カード（共通） ▲▲ */

/* ▼▼ イージーアイアンカー EZI-CN 用スタイル ▼▼ */
.ezi_wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 20px 15px 40px;
  line-height: 1.7;
  color: #333;
  background: #fff;
}

.ezi_hero {
  border-left: 4px solid #c62828;
  padding-left: 14px;
  margin-bottom: 30px;
}

.ezi_title {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.ezi_catch {
  font-size: 1.1rem;
  font-weight: bold;
  color: #c62828;
  margin-bottom: 10px;
}

.ezi_lead {
  font-size: 0.98rem;
}

.ezi_section {
  margin-top: 30px;
}

.ezi_h2 {
  font-size: 1.4rem;
  border-bottom: 2px solid #c62828;
  padding-bottom: 4px;
  margin-bottom: 12px;
}

.ezi_h3 {
  font-size: 1.1rem;
  margin: 18px 0 8px;
  padding-left: 8px;
  border-left: 3px solid #c62828;
}

.ezi_list {
  list-style: disc;
  padding-left: 1.4em;
  font-size: 0.96rem;
}

.ezi_features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  font-size: 0.96rem;
}

.ezi_feature_item {
  border: 1px solid #eee;
  border-radius: 4px;
  padding: 10px 12px;
  background: #fafafa;
}

.ezi_feature_item h3 {
  font-size: 1rem;
  margin-bottom: 4px;
  color: #c62828;
}

.ezi_steps {
  counter-reset: ezi_step;
  padding-left: 0;
  list-style: none;
  font-size: 0.96rem;
}

.ezi_steps li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 6px;
}

.ezi_steps li::before {
  counter-increment: ezi_step;
  content: counter(ezi_step);
  position: absolute;
  left: 0;
  top: 0.1em;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #c62828;
  text-align: center;
  font-size: 0.8rem;
  line-height: 18px;
  color: #c62828;
}

.ezi_note {
  font-size: 0.9rem;
  color: #555;
  margin-top: 8px;
}

.ezi_table_wrap {
  width: 100%;
  overflow-x: auto;
  margin-bottom: 16px;
}

.ezi_table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.ezi_table th,
.ezi_table td {
  border: 1px solid #ddd;
  padding: 6px 8px;
  text-align: center;
  white-space: nowrap;
}

.ezi_table th {
  background: #ffe5e5;
  font-weight: bold;
}

@media (max-width: 768px) {
  .ezi_wrap { padding: 15px 10px 30px; }
  .ezi_title { font-size: 1.4rem; }
  .ezi_catch { font-size: 1rem; }
  .ezi_features { grid-template-columns: 1fr; }
  .ezi_table { font-size: 0.85rem; }
}
/* ▲▲ イージーアイアンカー EZI-CN 用スタイル ▲▲ */
.ezi_hero_img,
.ezi_step_img {
  margin: 10px auto 15px;
  text-align: center;
}

.ezi_hero_img img,
.ezi_step_img img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}
.ezi_related_list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.ezi_related_item a {
  display: block;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 8px 10px;
  text-decoration: none;
  background: #fafafa;
}

.ezi_related_item a:hover {
  background: #fff3f3;
  border-color: #c62828;
}

.ezi_related_title {
  display: block;
  font-size: 0.95rem;
  font-weight: bold;
  margin-bottom: 3px;
  color: #c62828;
}

.ezi_related_text {
  display: block;
  font-size: 0.85rem;
  color: #555;
}

/* スマホ時は1列表示 */
@media (max-width: 768px) {
  .ezi_related_list {
    grid-template-columns: 1fr;
  }
}

.auto-style1 {
	font-size: 14px;
}
.auto-style2 {
	font-size: 22px;
}
.auto-style3 {
	background-color: #FFFF00;
}
