@charset "UTF-8";
/* ==========================================================================
   6-1. 職人「ジャパニーズ・クオリティー」（.sec-craft）
   - 写真3枚（大1枚・下の段に2枚）と本文。元案のように、写真を大きく組む（11/20 に、緑の背景が多い色付けの写真を外した）
   - 背景はクリーム
   ========================================================================== */

.sec-craft {
  padding-block: var(--sec-pad);
  background: var(--c-bg-cream);
}

/* ---------- 見出し ---------- */
.sec-craft__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.sec-craft__head .c-sec-title {
  padding-inline: 6px;
}

.sec-craft__lead {
  margin-top: 6px;
  font-family: var(--ff-serif);
  font-size: 16px;
  line-height: 1.8;
  color: var(--c-heading);
}

/* ---------- 写真と本文（スマホ：写真 → 本文 → 写真2枚） ---------- */
.sec-craft__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas:
    "one   one"
    "copy  copy"
    "two   three";
  gap: 12px;
  margin-top: 36px;
}

.sec-craft__photo {
  aspect-ratio: 4 / 3;
  font-size: 12px;
}

.sec-craft__photo--one {
  grid-area: one;
  aspect-ratio: 16 / 10;
  font-size: 14px;
}

/* 大きい写真：デザイン画を描く手元（縦長の写真）。スマホは正方形の枠で、筆とデザイン画が入る位置で見せる。
   紙面のスキャンのため、網点が目立たないよう元の写真より小さく表示する */
.sec-craft__photo--one.c-photo {
  aspect-ratio: 1 / 1;
  object-position: center 48%;
}

.sec-craft__photo--two {
  grid-area: two;
}

.sec-craft__photo--three {
  grid-area: three;
}

/* 本文 */
.sec-craft__copy {
  grid-area: copy;
  margin-block: 16px;
}

.sec-craft__copy-box {
  display: grid;
  gap: 14px;
  margin-top: 8px;
  padding: 14px 12px;
  font-size: 15px;
  line-height: 2;
}

/* 注記（※） */
.sec-craft__note {
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.8;
}

/* ---------- PC ---------- */
@media (min-width: 900px) {
  .sec-craft__lead {
    font-size: 17px; /* 見出し（32px）に合わせて、19px から少し小さく（11/20） */
  }

  /* 上の段：左に大きい写真、右に本文。下の段：写真2枚を同じ大きさで並べる（元案のように写真を大きく組む） */
  .sec-craft__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-areas:
      "one  one   copy copy"
      "two  two   three three";
    gap: 24px;
    max-width: 1040px;
    margin: 56px auto 0;
  }

  .sec-craft__photo--one.c-photo {
    aspect-ratio: 1 / 1;
    object-position: center 48%;
  }

  /* 下の段の写真2枚は、同じ横長（3:2）の枠で並べる */
  .sec-craft__photo--two.c-photo,
  .sec-craft__photo--three.c-photo {
    aspect-ratio: 3 / 2;
  }

  .sec-craft__photo--three.c-photo {
    object-position: 72% center; /* 右寄りの手元とバーナーの火が入る位置 */
  }

  /* 本文は、大きい写真の上半分の高さの中で、上下の真ん中に置く */
  .sec-craft__copy {
    align-self: center;
    margin-block: 0 8px;
  }

  .sec-craft__copy-box {
    padding: 18px 20px;
    font-size: var(--fs-text-pc);
  }

  .sec-craft__note {
    font-size: var(--fs-note-pc);
    text-align: center;
  }
}
