


/* ===========================
   各エリアの見出し（PC）
=========================== */
.product-heading {
  background: linear-gradient(to right, #3e0e30, #992251);
  color: #fff;
  font-size: 20px;
  text-align: center;
  padding: 12px 20px;
  margin: 0 auto 1.5em auto;
  border-left: 6px solid #d4af37;
  border-right: 6px solid #d4af37;
  letter-spacing: 0.15em;
  max-width: 90%;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
  margin-top: 40px;
}

/* 表示時 */
.product-heading.show {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   タブレット（〜900px）
=========================== */
@media screen and (max-width: 900px) {
  .product-heading {
    font-size: 20px;
    padding: 10px 18px;
    letter-spacing: 0.12em;
    border-left-width: 5px;
    border-right-width: 5px;
  }
}

/* ===========================
   スマホ（〜600px）
=========================== */
@media screen and (max-width: 600px) {
  .product-heading {
    font-size: 14px;
    padding: 8px 15px;
    letter-spacing: 0.10em;
    border-left-width: 4px;
    border-right-width: 4px;
    margin-top: 25px;
  }
}


@keyframes fadeSlideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fadeChar {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*トピックスエリアの表示スタイル*/
.news-area {
  display: flex;
  flex-wrap: wrap;       /* 折り返し可能 */
  gap: 20px;
  justify-content: center;
  margin: 40px auto;
  max-width: 1200px;
}

.news-item {
  flex: 0 0 calc(33.333% - 20px); /* 3つ横並び */
  background: #fff;

  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.news-item:hover {
  /*
  transform: translateY(-5px);
*/
}

.news-image {
  width: 100%;
  object-fit: cover;
}

.news-content {
  padding: 15px;
}

.news-title {

  font-weight: bold;
  color: #992251; /* ワインレッドでアクセント */
  margin-bottom: 8px;
}

.news-date {
  font-size: 0.8em;
  color: #666;
  display: block;
  margin-bottom: 10px;
}

.news-text {
  font-weight: bold;
  font-size: 0.9rem;
  color: #992251;
  line-height: 1.6;
}

/* タブレット対応（2列） */
@media screen and (max-width: 992px) {
  .news-item {
    flex: 0 0 calc(50% - 20px);
  }
}

/* スマホ対応（1列） */
@media screen and (max-width: 600px) {
  .news-item {
    flex: 0 0 80%;
  }
}



.news-button-area {
  display: flex;
  justify-content: center; /* 中央寄せ */
  margin-top: 30px;
}


.news-button:hover {
  background: #d4af37; /* ホバー時に金色へ */
  color: #3e0e30;      /* 文字色を濃いワインレッドに */
  transform: translateY(-3px);
}


/*お客様とチームになって商品づくりエリア用*/
/* セクション全体 */
.business-section {
  max-width: 1000px;
  margin: 10px auto ;
  padding: 5px 30px;
  background: #fff;
  box-shadow: 0 0px 30px rgb(153 34 81);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}

.business-section.show {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 768px) {
  .business-section {
    padding: 25px 20px;
    margin: 20px 15px; /* ← これを追加（左右に余白を作る） */
  }
}
@media (max-width: 600px) {
  .business-section {
    margin: 20px 12px; /* スマホでは少し狭めに */
  }
}

/* タイトル */
/* ===========================
   PB・OEM 見出し（PC）
=========================== */
.business-title {
  font-size: 2.1em;
  font-weight: 700;
  color: #992251;
  text-align: center;
  letter-spacing: 0.08em;
  margin-bottom: 25px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 12px;
}

/* ===========================
   タブレット（〜900px）
=========================== */
@media screen and (max-width: 900px) {
  .business-title {
    font-size: 1.8em;
    letter-spacing: 0.10em;
    padding-bottom: 8px;
  }

  .business-title::after {
    width: 130px;
    height: 3px;
  }
}

/* ===========================
   スマホ（〜600px）
=========================== */
@media screen and (max-width: 600px) {
  .business-title {
    font-size: 1.5em;
    letter-spacing: 0.08em;
    padding-bottom: 6px;
    margin-bottom: 18px;
  }

  .business-title::after {
    width: 110px;
    height: 3px;
  }

  .business-list {
    font-size: 1em;
    }
}

/* テキスト */
.business-text {
  font-weight: 500;
  line-height: 1.9;
  color: #333;
  margin-bottom: 30px;

  font-weight: 600;
}

/* 箇条書き */
.business-list {
  font-size: 1.1em;
  line-height: 1.8;
  color: #444;
  margin-top: 20px;
}

/* ギャラリー */
.business-gallery {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 30px;
}

.gallery-item {
  flex: 1;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  transform: scale(1);
  transition: transform 0.6s ease;
}

.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.gallery-item:hover {
  transform: scale(1.05);
}

/* ボタン */
.news-button-area {
  text-align: center;
  margin-top: 20px;
}

.news-button {
  display: inline-block;
  padding: 12px 30px;
  background: #992251;
  color: #fff;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease;
  font-size: 0.9em;
}

.news-button:hover {
  background: #b7376a;
  color: #fdf200;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .business-section {
    padding: 25px 20px;
  }

  .business-title {
    font-size: 18px;
  }
  .business-list {
      font-size: 15px;

  }
  .business-gallery {
    flex-direction: column;
  }

  .gallery-item img {
    height: 180px;
  }

  .business-text {
    font-size: 0.85em;
  }
}

/**SNSエリア**/
/** SNSエリア全体 **/
.sns-section {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 40px auto;
  max-width: 1100px;
  padding: 0 20px;
}

/** SNSカード **/
.sns-item {
  flex: 1;
      min-width: 320px;
      max-width: 480px;
      /* background: #a96c1e; */
      padding: 5px 15px 5px;
      box-shadow: 0 10px 26px rgba(0, 0, 0, 0.15);
      border: 3px solid transparent;
      background-clip: padding-box, border-box;
      background-origin: padding-box, border-box;
      background-image: linear-gradient(#fcfcfc00, #992251), linear-gradient(90deg, #f3e9cf, #f1e19b, #feaddf);
}

/** 埋め込み要素をカード内で整える **/
.sns-item blockquote {
  margin: 0 !important;
}

/** スマホ対応 **/
@media screen and (max-width: 600px) {
  .sns-section {
    gap: 20px;
    margin: 20px auto;
  }

  .sns-item {
    padding: 15px;
    border-radius: 12px;
  }
}
/* SNSカードのタイトル部分 */
.sns-header {
  margin-bottom: 15px;
  text-align: center;
}

.sns-title {
  font-size: 1.2em;
  font-weight: bold;
  color: #992251;
  margin-bottom: 5px;
  letter-spacing: 0.05em;
}

.sns-desc {
  font-size: 0.95em;
  color: #4a3b1a;
  margin: 0;
  line-height: 1.6;
font-weight: bold;
}

/* スマホ対応 */
@media screen and (max-width: 600px) {
  .sns-title {
    font-size: 1.2em;
  }
  .sns-desc {
    font-size: 0.9em;
  }
}

/*
TOPページTOｐ文章用
*/
.vertical-section {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 30px;
  padding: 40px 20px;
  background: linear-gradient(to right, #fdfdfd, #f5f0eb);
  flex-wrap: wrap; /* 幅が狭いときは縦並び */
  max-width: 1200px;
margin: auto;
margin-top: 20px;
}

/* 動画部分 */
.vertical-video {
  flex: 1;
  min-width: 300px;
  max-width: 560px;
  overflow: hidden;
  /*  border-radius: 25px;
 box-shadow: 0 6px 18px rgb(255 247 142 / 15%); */
  margin: auto;
  background-color: #f6f1ed;
  padding: 10px;
}

.vertical-video video {
  max-width: 390px;
  height: auto;
  object-fit: contain;
  display: block;
  background-color: #000; /* 余白が黒だと締まる。和紙風でもOK */
  margin: auto;
}

/* 縦書きテキスト部分 */
.vertical-text {
  flex: 1;
  min-width: 250px;
  writing-mode: vertical-rl;
  text-orientation: upright;
  color: #3e0e30;
  line-height: 2.2;
  background: url("千葉恵製菓HP用画像.jpg");
  background-size: cover;
  background-position: center;

  /* ★ 追加：中央寄せのための設定 */
  display: flex;
  justify-content: center; /* 横方向の中央 */
  align-items: center;     /* 縦方向の中央 */
}


.vertical-heading {
  font-size: 1.6em;
  margin-bottom: 20px;
  border-right: 3px solid #992251;
  padding-right: 10px;
    color: #801b43;

}

.vertical-body {
  font-weight: bold;
      color: #6b1840;
  letter-spacing: 0.05em;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
  .vertical-section {
    flex-direction: column; /* 縦並びに切り替え */
    align-items: center;
    text-align: center;
    margin: auto 5px;;
  }

  .vertical-text {
    writing-mode: horizontal-tb; /* スマホでは横書きに */
    text-orientation: initial;
    margin-top: 20px;
    font-size: 0.95em;
        text-align: left;
  }

  .vertical-video video {
    max-width: 300px;
    height: auto;
    object-fit: contain;
    display: block;
    background-color: #000; /* 余白が黒だと締まる。和紙風でもOK */
    margin: auto;
  }
}


.sitemap-block {
  max-width: 1000px;
  margin: 40px auto;
  text-align: center;
}

.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 30px;
    font-size: 0.85rem;
}

.sitemap-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sitemap-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.2);
}

.sitemap-card i {
  font-size: 1.8em;
  color: #992251; /* ワインレッドでアクセント */
  margin-bottom: 10px;
}

.sitemap-card a {
  display: block;
  font-weight: bold;
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.sitemap-card a:hover {
  color: #992251;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
  .sitemap-grid {
    grid-template-columns: 1fr 1fr;
  }
}
