/* ========================================
   closing.css（FLAT / WARM / TIGHT - FINAL）
   クロージングの再定義
   - Mobile first
   - Shadow: none（完全フラット）
   - 温度：薄い面 + ラベル + 左線
   - 締まり：余白/線/タイポで制御
======================================== */

/* =========================================================
   1) Tokens（closing内で使用する変数）
========================================================= */
:root{
  --c-gap: 1rem;

  --c-surface: #fff;
  --c-surface-soft: rgba(15,23,42,.03);
  --c-border: rgba(15,23,42,.10);

  --c-ok:   rgba(7,132,198,.85);
  --c-ng:   rgba(239,68,68,.85);
  --c-note: rgba(96,165,250,.85);

  --c-radius: 16px;
}

/* =========================================================
   2) Layout blocks
========================================================= */
.c-grid2, .c-steps{
  display: grid;
  gap: var(--c-gap);
}

@media (min-width: 768px){
  .c-grid2{
    grid-template-columns: 1fr 1fr;
    gap: 1.1rem;
  }
}

.c-card{
  background: #fff;
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 16px;
  padding: 1.5rem 1rem;
}

/* =========================================================
   3) Panels / Cards / Steps（フラット）
========================================================= */
.c-card, .c-step{
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--c-radius);
  padding: 1.5rem 1rem;
  box-shadow: none !important; /* FLAT */
}

/* 種別は左線だけ（色は最小） */


/* Card */
.c-card h3{
  margin: 0 0 .45rem;
  font-size: 1rem;
  letter-spacing: .01em;
}

.c-card p{
  margin: 0;
  font-size: .92rem;
  line-height: 1.75;
  opacity: .9;
  font-weight: 650;
}

/* List */
.c-list{
  margin: 0;
  padding-left: 1.1rem;
  line-height: 1.75;
}

/* Note text */


/* =========================================================
   4) Panel title + temperature label（OK/NG/NOTE）
========================================================= */


/* Label */


/* =========================================================
   5) Steps（型）
========================================================= */
.c-steps{
  list-style: none;
  padding: 0;
  margin: 0;
}

.c-step-top{
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-bottom: .55rem;
}

.c-step-badge{
  font-size: .72rem;
  padding: .2rem .5rem;
  border-radius: 999px;
  background: rgba(7,132,198,.12);
  color: #08699f;
  font-weight: 900;
  border: 1px solid rgba(7,132,198,.18);
}

.c-step h3{
  margin: 0;
  font-size: 1rem;
}

.c-step-text{
  margin: 0;
  line-height: 1.75;
  font-weight: 650;
  opacity: .92;
}

.c-step-text small{
  display: inline-block;
  margin-top: .35rem;
  opacity: .75;
  font-weight: 600;
}

.c-step--strong{
  border-left: 5px solid rgba(7,132,198,.95);
  background: var(--c-surface);
}

/* =========================================================
   6) Mark（強調）
========================================================= */


/* =========================================================
   7) Section-specific tweaks
========================================================= */
/* Section 4（言葉のルール）＝ 判断ゾーン化 */
.section:nth-of-type(4) .c-grid2{
  background: var(--c-surface-soft);
  border: 1px solid rgba(15,23,42,.06);
  border-radius: 16px;
  padding: .9rem;
}

/* Section 5（閉じない勇気）＝ NOTE 面だけ少し温度 */


/* =========================================================
   8) Icon scale（主張しすぎ防止）
========================================================= */


/* =========================================================
   10) Media Queries
========================================================= */
@media (min-width: 1024px){
  .c-card, .c-step{
    border-radius: 12px;
  }
}


/* -----------------------------------------------
   Comparison Box - 比較ボックス
   ----------------------------------------------- */
.comparison-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 32px 0;
}

.comp-item {
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.comp-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.comp-item--ng {
  background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%);
  border: 2px solid #feb2b2;
}

.comp-item--ok {
  background: linear-gradient(135deg, #f0fff4 0%, #e6f9eb 100%);
  border: 2px solid #9ae6b4;
}

.comp-title {
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 16px;
  display: block;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

.comp-item--ng .comp-title {
  color: #c53030;
}

.comp-item--ok .comp-title {
  color: #2f855a;
}

.comp-item p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #2d3748;
  margin: 16px 0;
}

.comp-item strong {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}


/* Comparison Box - レスポンシブ対応 */
@media (max-width: 768px) {
  .comparison-box {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}


