/* ==============================================
   style.css PREGEL emena マンスリーアートレシピ
   モバイルファースト / ブレークポイント: 820px
   ============================================== */

/* ----------------------------------------------
   リセット・ベース
   ---------------------------------------------- */
body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  /* 元14px → +2px = 16px */
  font-size: 16px;
  line-height: 1.7;
  color: #333;
  background-color: #fff;
}

img {
  max-width: 100%;
  height: auto;display: block;
}

a:hover {
  text-decoration: underline;
}

ul {
  list-style: none;
}

/* ----------------------------------------------
   パンくずリスト
   ---------------------------------------------- */
.breadcrumb {
  background-color: #f5f5f5;
  padding: 8px 16px;
  /* 元12px → +2px = 14px */
  font-size: 14px;
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

/* liの間に「>」を挿入 */
.breadcrumb__item + .breadcrumb__item::before {
  content: ">";
  margin-right: 4px;
  color: #999;
}

.breadcrumb__item a {
  color: #666;
}

.breadcrumb__item a:hover {
  color: #c06;
}

/* ----------------------------------------------
   ページタイトル
   ---------------------------------------------- */
.page-title-wrap {
  padding: 16px;
  border-bottom: 1px solid #e0e0e0;
}

.page-title {
  /* 元18px → +2px = 20px */
  font-size: 20px;
  font-weight: bold;
  color: #333;
  margin-bottom: 4px;
}

.page-title-sub {
  /* 元11px → +2px = 13px */
  font-size: 13px;
  color: #999;
}

/* ----------------------------------------------
   メインビジュアル
   ---------------------------------------------- */
.main-visual {
  position: relative;
  width: 100%;
  background-color: #1a1a2e;
  overflow: hidden;
}

.main-visual__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  opacity: 0.85;
}

/*ロゴ（右上） */
.main-visual__logo {
  position: absolute;
  top: 16px;
  right: 16px;
  text-align: right;
  line-height: 1.2;
}

.main-visual__logo-text1 {
  display: block;
  /* 元20px → +2px = 22px */
  font-size: 22px;
  font-weight: bold;
  color: #fff;
  letter-spacing: 2px;
}

.main-visual__logo-text2 {
  display: block;
  /* 元26px → +2px = 28px */
  font-size: 28px;
  font-style: italic;
  color: #fff;
  letter-spacing: 1px;
}

/* キャッチコピー（左下） */
.main-visual__catch {
  position: absolute;
  bottom: 16px;
  left: 16px;
  line-height: 1.3;
}

.main-visual__catch-monthly {
  display: block;
  /* 元14px → +2px = 16px */
  font-size: 16px;
  color: #fff;
  font-style: italic;
}

.main-visual__catch-recipe {
  display: block;
  /* 元28px → +2px = 30px */
  font-size: 30px;
  font-weight: bold;
  color: #fff;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

/* ----------------------------------------------
   担当者情報
   ---------------------------------------------- */
.instructor {
  padding: 16px;
  border-bottom: 1px solid #e0e0e0;
}

.instructor__inner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.instructor__avatar {
  flex-shrink: 0;
  /* 元64px → 200px に変更 */
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  background-color: #ddd;
}

.instructor__avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.instructor__info {
  flex: 1;
}

.instructor__month {
  /* 元11px → +2px = 13px */
  font-size: 13px;
  color: #999;
  margin-bottom: 2px;
}

/* h2 → div に変更のため display: block を明示 */
.instructor__theme {
  display: block;
  /* 元16px → +2px = 18px */
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin-bottom: 4px;
}

.instructor__name {
  /* 元13px → +2px = 15px */
  font-size: 15px;
  color: #555;
  margin-bottom: 2px;
}

.instructor__sns {
  /* 元12px → +2px = 14px */
  font-size: 14px;
  color: #555;
}

.instructor__sns-link {
  color: #c06;
}
.material-card__body p {
  margin: 4px 0;
  line-height: 1.3;
}

@media (max-width: 768px) {
.instructor__avatar {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #ddd;
}
}
/* ----------------------------------------------
   セクション共通
   ---------------------------------------------- */
.section {
  padding: 24px 16px;
  border-bottom: 1px solid #e0e0e0;
}

/* セクション見出し：左にオレンジ縦線のあるデザイン */
/* h2 → div に変更のため display: block を明示 */
.section__title {
  display: block;
  /* 元16px → +2px = 18px */
  font-size: 18px;
  font-weight: bold;
  color: #333;
  border-left: 4px solid #e8a020;
  padding-left: 10px;
  margin-bottom: 16px;
}

/* ----------------------------------------------
   アートレシピ工程：ポイント
   ---------------------------------------------- */
.recipe-point {
  background-color: #fff9f0;
  border: 1px solid #f0d070;
  border-radius: 6px;
  padding: 12px 16px;
  margin-bottom: 20px;
}

.recipe-point__label {
  font-weight: bold;
  color: #c06;
  margin-bottom: 6px;
}

.recipe-point__list {
  padding-left: 4px;
}

.recipe-point__item {
  /* 元13px → +2px = 15px */
  font-size: 15px;
  color: #555;
  margin-bottom: 4px;
  padding-left: 12px;
  position: relative;
}

/* ----------------------------------------------
   アートレシピ工程：グリッド
   モバイル：2列 / PC：3列
   ---------------------------------------------- */
.recipe-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.recipe-step {
  background-color: #fafafa;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  overflow: hidden;
}

.recipe-step__img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: #eee;
}

.recipe-step__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recipe-step__text {
  /* 元12px → +2px = 14px */
  font-size: 14px;
  color: #555;
  padding: 10px;
  line-height: 1.6;
}

/*工程番号を強調 */
.recipe-step__num {
  font-weight: bold;
  color: #c06;
  margin-right: 4px;
}

/* ----------------------------------------------
   推しアイテム
   ---------------------------------------------- */
.oshi-item {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background-color: #fafafa;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 16px;
}

.oshi-item__img-wrap {
  text-align: center;
}

.oshi-item__img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin: 0 auto 8px;
}

.oshi-item__img-name {
  /* 元11px → +2px = 13px */
  font-size: 13px;
  color: #999;
  line-height: 1.4;
}

.oshi-item__body {
  flex: 1;
}

/*ブランドタグ */
.oshi-item__tag {
  display: inline-block;
  background-color: #1a1a2e;
  color: #fff;
  /* 元10px → +2px = 12px */
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 2px;
  margin-bottom: 6px;
  letter-spacing: 1px;
}

/* h3 → div に変更のため display: block を明示 */
.oshi-item__name {
  display: block;
  /* 元18px → +2px = 20px */
  font-size: 20px;
  font-weight: bold;
  color: #333;
  margin-bottom: 4px;
}

.oshi-item__code {
  /* 元12px → +2px = 14px */
  font-size: 14px;
  color: #999;
  margin-bottom: 10px;
}

.oshi-item__desc {
  /* 元13px → +2px = 15px */
  font-size: 15px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 14px;
}

/* ----------------------------------------------
   使用商材：カテゴリグループ
   ---------------------------------------------- */
.materials-group {
  margin-bottom: 24px;
}

/* サブ見出し：グレーの下線 */
/* h3 → div に変更のため display: block を明示 */
.materials-group__title {
  display: block;
  /* 元14px → +2px = 16px */
  font-size: 16px;
  font-weight: bold;
  color: #555;
  border-bottom: 2px solid #ddd;
  padding-bottom: 6px;
  margin-bottom: 14px;
}

/* ----------------------------------------------
   使用商材：商品グリッド
   モバイル：2列 / PC：4列
   ---------------------------------------------- */
.materials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.material-card__body p {
  margin: 4px 0;
  line-height: 1.3;
}
/* ----------------------------------------------
   商品カード
   ---------------------------------------------- */
.material-card {
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}


.material-card__img-link {
  display: block;
  background-color: #f5f5f5;
}

.material-card__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 8px;
}

.material-card__body {
  padding: 10px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* 記号ラベル（a〜o / 1〜2/ A・B） */
.material-card__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  /* 元11px → +2px = 13px */
  font-size: 13px;
  font-weight: bold;
  color: #fff;
  flex-shrink: 0;
}

/* 小文字アルファベット：ピンク系 */
.material-card__label--a,
.material-card__label--b,
.material-card__label--c,
.material-card__label--d,
.material-card__label--e,
.material-card__label--f,
.material-card__label--g,
.material-card__label--h,
.material-card__label--i,
.material-card__label--j,
.material-card__label--k,
.material-card__label--l,
.material-card__label--m,
.material-card__label--n,
.material-card__label--o {
  background-color: #c06;
}

/* 数字：ダークブルー */
.material-card__label--num {
  background-color: #1a1a2e;
}

/* 大文字アルファベット：グリーン */
.material-card__label--capital {
  background-color: #2e7d32;
}

.material-card__brand {
  /* 元10px → +2px = 12px */
  font-size: 12px;
  color: #999;
  letter-spacing: 0.5px;
}

.material-card__name {
  /* 元12px → +2px = 14px */
  font-size: 14px;
  color: #333;
  font-weight: bold;
  line-height: 1.4;flex: 1;
}

.material-card__code {
  /* 元11px → +2px = 13px */
  font-size: 13px;
  color: #999;
}

/* ----------------------------------------------
   ボタン共通
   ---------------------------------------------- */
.btn {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 4px;
  /* 元13px → +2px = 15px */
  font-size: 15px;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
  /* 色変化をトランジション対象に */
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.btn:hover {
  text-decoration: none;
}

/*詳細ボタン・aタグのデフォルトリンク色を確実に上書きするためセレクタを a.btn--detail に指定
   ・通常時：黒背景・白テキスト・黒ボーダー
   ・ホバー時：白背景・黒テキストに反転*/
a.btn--detail {
  background-color: #000;
  color: #fff;
  border: 1px solid #000;
}

/*ホバー時：白背景・黒テキストに反転 */
a.btn--detail:hover {
  background-color: #fff;
  color: #000;
  border-color: #000;
}

/* 小サイズボタン */
.btn--sm {
  padding: 5px 10px;
  /* 元11px → +2px = 13px */
  font-size: 13px;
  margin-top: auto;
}

/* ----------------------------------------------
   アーカイブ
   ---------------------------------------------- */
  .card-link {
            text-decoration: none;
            color: inherit;
            display: block;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        .card-link:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
        }
        .card {
            border: 1px solid #d3d3d3;
        }
        .card-box1 {
            margin-top: 10px;
        }
        .card-body {
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 10px;
        }
        .card-body img {
            max-width: 100%;
            height: auto;
            margin-bottom: 10px;
        }
        .archive-heading {
            margin-top: 10px;
            margin-bottom: 20px;
            font-size: 24px;
            font-weight: bold;
        }
/* ==============================================
   タブレット＆PC向けレイアウト（820px以上）
   ============================================== */
@media (min-width: 820px) {

  /* ページタイトル */
  .page-title-wrap {
    padding: 20px 40px;
  }

  .page-title {
    /* 元22px → +2px = 24px */
    font-size: 24px;
  }

  /* メインビジュアル */
  .main-visual__img {
    height: 380px;
  }

  .main-visual__logo {
    top: 24px;
    right: 40px;
  }

  .main-visual__logo-text1 {
    /* 元32px → +2px = 34px */
    font-size: 34px;
  }

  .main-visual__logo-text2 {
    /* 元44px → +2px = 46px */
    font-size: 46px;
  }

  .main-visual__catch {
    bottom: 24px;
    left: 40px;
  }

  .main-visual__catch-monthly {
    /* 元18px → +2px = 20px */
    font-size: 20px;
  }

  .main-visual__catch-recipe {
    /* 元48px → +2px = 50px */
    font-size: 50px;
  }

  /* 担当者情報 */
  .instructor {
    padding: 24px 40px;
  }

  .instructor__avatar {
    /* モバイルと同じ200pxを維持 */
    width: 200px;
    height: 200px;
  }

  .instructor__theme {
    /* 元20px → +2px = 22px */
    font-size: 22px;
  }

  /* セクション共通 */
  .section {
    padding: 32px 40px;
  }

  .section__title {
    /* 元18px → +2px = 20px */
    font-size: 20px;
  }

  /* アートレシピ工程：3列 */
  .recipe-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .recipe-step__text {
    /* 元13px → +2px = 15px */
    font-size: 15px;
  }

  /* 推しアイテム：横並び */
  .oshi-item {
    flex-direction: row;
    align-items: flex-start;
    gap: 24px;
    padding: 24px;
  }

  .oshi-item__img-wrap {
    flex-shrink: 0;
    width: 300px;
  }

  .oshi-item__img {
    width: 280px;
    height: 280px;
  }

  /* 使用商材：4列 */
  .materials-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }

  /* パンくず */
  .breadcrumb {
    padding: 10px 40px;
  }

}
/* ==============================================
   END OF STYLE
   ============================================== */