/* ===============================
   Home common
   =============================== */

.home-main {
  padding-bottom: 72px;
}

/* PC/SP 切り替え用 */

.pc-only {
  display: inline;
}
.sp-only {
  display: none;
}

@media (max-width: 768px) {
  .pc-only {
    display: none;
  }
  .sp-only {
    display: inline;
  }
}

/* ===============================
   HERO
   =============================== */

.home-hero {
  background-color: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.home-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 40px;
  padding: 36px 0 40px;
}

.home-hero__copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.home-hero__eyecatch {
  margin: 0;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #a77a4a;
}

.home-hero__title {
  margin: 0;
  font-size: 28px;      /* 30px → 28px に少しだけ縮小 */
  line-height: 1.5;
  letter-spacing: .04em; /* 0.06em → 0.04em に微調整 */
}

.home-hero__lead {
  margin: 0;
  font-size: 15px;
  color: #5a4633;
}

.home-hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.home-hero__visual {
  align-self: center;
}

.home-hero__photo {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.home-hero__caption {
  margin: 10px 4px 0;
  font-size: 12px;
  color: #87684b;
}

/* ボタン */

.home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  cursor: pointer;
}

.home-btn--primary {
  background-color: #a4551a;
  color: #fff;
}

.home-btn--primary:hover,
.home-btn--primary:focus-visible {
  background-color: #8c4412;
}

.home-btn--ghost {
  background-color: #fff;
  color: #a4551a;
  border-color: #d9b999;
}

.home-btn--ghost:hover,
.home-btn--ghost:focus-visible {
  background-color: #fff6ea;
}

/* SP用調整 */

@media (max-width: 768px) {
  .home-hero__inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px 0 28px;
  }

  .home-hero__title {
    font-size: 22px;
  }

  .home-hero__lead {
    font-size: 14px;
  }
}

/* ===============================
   BLOCKS（つけもとのしごと・こんなときに・リンク・EC）
   =============================== */

.home-block {
  padding: 32px 0;
}

.home-block__inner {
  background-color: #FFFAF0;   /* 添付の色で面を作る */
  padding: 26px 28px 30px;
}

.home-block__inner--wide {
  padding: 28px 28px 34px;
}

.home-block__inner--center {
  padding: 26px 28px 34px;
  text-align: center;
}

.home-block__title {
  margin: 0 0 12px;
  font-size: 22px;
}

.home-block__lead {
  margin: 0 0 18px;
  font-size: 14px;
  color: #5a4633;
}

/* つけもとのしごと：ライン状 */

.home-lines {
  border-top: 1px solid #e2d4bf;
}

.home-lines__item {
  padding: 18px 0;
  border-bottom: 1px solid #e2d4bf;
}

.home-lines__heading {
  margin: 0 0 4px;
  font-size: 16px;
  letter-spacing: .04em;
}

.home-lines__text {
  margin: 0;
  font-size: 14px;
  color: #5a4633;
}

/* こんなときに、つけもとの商品 */

.home-scenes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.home-scenes__col h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.home-scenes__col p {
  margin: 0;
  font-size: 14px;
  color: #5a4633;
}

/* SP時は縦並び */

@media (max-width: 900px) {
  .home-scenes {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* コンテンツリンク行 */

.home-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.home-links__item {
  display: block;
  padding: 16px 18px;
  background-color: #ffffff;          /* カードは白で抜く */
  border-radius: 12px;
  border: 1px solid #f0e2d2;
  text-decoration: none;
  color: inherit;
}

.home-links__label {
  display: block;
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 4px;
}

.home-links__text {
  font-size: 13px;
  color: #5a4633;
}

.home-links__item:hover,
.home-links__item:focus-visible {
  background-color: #fff6ea;
}

/* SP時のリンクレイアウト */

@media (max-width: 768px) {
  .home-block__inner {
    padding: 20px 16px 24px;
  }

  .home-links {
    grid-template-columns: 1fr;
  }
}

/* EC 下の注意書き */

.home-ec__note {
  margin: 8px 0 14px;
  font-size: 12px;
  color: #8b7358;
}
