/* TOP挿画の下部に表示するお知らせ用スタイル */
.top-video-container {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
}

/* 動画のスタイル */
.top-video {
    width: 100%;
    height: auto;
    display: block;
}

/* お知らせボックスの位置とスタイル */
.news-overlay {
    position: absolute;
    bottom: 3%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.85);
    padding: 10px 3em;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    font-family: 'Shippori Mincho', serif;
    text-align: center;
    width: 70%;
    z-index: 10;
}

/* お知らせの中身のレイアウト */
.news-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: 1.5em;
    font-size: 15px;
    color: #000;
}

/* Newsラベル */
.news-label {
    font-weight: bold;
    color: #c00;
}

/* 日付 */
.news-date {
    font-style: italic;
    color: #000;
}

/* テキスト */
.news-text {
    margin: 0 0.5em;
}

/* ボタン */
.news-button {
    background-color: #992251;
    color: #fff;
    padding: 4px 10px;
    border-radius: 3px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
    font-size: 15px;
    margin-left: 1em;
}

.news-button:hover {
    background-color: #900;
}

/* スマホ対応（画面幅600px以下） */
@media screen and (max-width: 600px) {
    .news-overlay {
        padding: 8px 1em;
        width: 90%;
    }

    .news-content {
        flex-direction: column;
        align-items: flex-start;
        font-size: 13px;
        gap: 0.3em;
    }

    .news-label,
    .news-date,
    .news-text {
        display: block;
        width: 100%;
    }

    .news-button {
        font-size: 13px;
        padding: 3px 8px;
        margin-left: 0;
        align-self: flex-end;
    }
}


/* トップページ　トップメッセージエリア */
.vertical-section {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 2em;
  padding: 2em;
  background-color: #fdfaf5;
  border: 1px solid #e0dcd5;
  max-width: 1000px;
  margin: 2em auto;
}

/* スライダーコンテナ（画像エリア） */
.slider-container {
  position: relative;
  flex: 1;
  max-width: 50%;
  height: 400px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* スライダー内の画像 */
.slider img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.slider img.active {
  opacity: 1;
  z-index: 1;
}

/* 縦書きテキストエリア（PC表示） */
.vertical-text {
  flex: 1;
  max-width: 50%;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: 'Shippori Mincho', serif;
  font-size: 16px;
  line-height: 2;
  color: #3c2f2f;
  background: rgba(255, 255, 255, 0.8);
  padding: 1em;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* 見出し */
.vertical-heading {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 1em;
  color: #992251;
}

/* スマホ対応 */
@media screen and (max-width: 600px) {
  .vertical-section {
    flex-direction: column;
    padding: 1em;
  }

  .slider-container {
    max-width: 100%;
    width: 100%;
    height: 250px;
  }

  .vertical-text {
    max-width: 100%;
    width: 100%;
    writing-mode: horizontal-tb; /* ← 横書きに変更 */
    text-orientation: initial;
    font-size: 14px;
    line-height: 1.8;
    margin-top: 1em;
    font-family: 'Shippori Mincho', serif;
    color: #3c2f2f;
    background: rgba(255, 255, 255, 0.8);
    padding: 1em;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  }

  .vertical-heading {
    font-size: 18px;
    margin-bottom: 0.5em;
    color: #992251;
  }
}



/*トップ見出しデザイン*/
@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho+B1&display=swap');
/* 見出し全体 */
.product-heading {
  text-align: center;

  margin: 4rem 0 2rem;

  position: relative;
}

/* メイン見出し */
.product-heading h2 {
  font-family: 'Shippori Mincho', serif;
  font-size: 2.8rem;
  color: #992251;
  letter-spacing: 0.15em;
  position: relative;
  display: inline-block;
  padding-bottom: 0.5em;
}

/* アンダーライン装飾 */
.product-heading h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: linear-gradient(to right, #d4af37, #992251);
  margin: 0.5em auto 0;
}

/* 日本語タイトル */
.jp-title {
  display: block;
}

/* 英語サブタイトル */
.en-sub {
  display: block;
  font-size: 0.9rem;
  color: #666;
  font-family: 'Shippori Mincho', serif;
  margin-top: 0.3em;
  letter-spacing: 0.1em;
}

/* スマホ対応（768px以下） */
@media (max-width: 768px) {
  .product-heading h2 {
    font-size: 2rem;
    letter-spacing: 0.1em;
    padding-bottom: 0.4em;
  }

  .product-heading h2::after {
    width: 40px;
    height: 1.5px;
    margin-top: 0.4em;
  }

  .en-sub {
    font-size: 0.8rem;
    margin-top: 0.2em;
  }
}



/*代表挨拶エリア*/
/* 色の定義（カスタムプロパティ） */
:root {
  --main-color: #992251;       /* ベースカラー：深紅紫 */
  --accent-color: #d4af37;     /* 金色アクセント */
  --bg-color: #fdfaf5;         /* 和紙風生成り背景 */
  --text-color: #2c2c2c;       /* 墨色テキスト */
}

/* サブタイトル（ご挨拶） */
.subtitle {
  font-family: 'Shippori Mincho', serif;
  font-size: 1.4rem;
  color: var(--main-color);
  letter-spacing: 0.15em;
  margin-bottom: 2.5rem;
  text-align: center;
  position: relative;
}

.subtitle::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--accent-color);
  margin: 1rem auto 0;
}

/* 社長挨拶セクション */
.president-section {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 3rem;
  margin: 4rem 0;
  background: var(--bg-color);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);

  max-width: 1100px;
  margin: auto;
}

/* 社長写真 */
.president-photo img {
  width: 300px;
  border-radius: 12px;
  /*border: 4px solid var(--main-color);*/
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

/* メッセージ本文 */
.president-message {
  flex: 1;
  font-family: 'Shippori Mincho', serif;
  color: var(--text-color);
  line-height: 2;
  padding-right: 1rem;
}

/* 見出し（代表挨拶） */
.president-message h3 {
  font-size: 1.6rem;
  color: var(--main-color);
  margin-bottom: 1rem;
  border-left: 4px solid var(--accent-color);
  padding-left: 0.5rem;
}

/* サブ見出し（社長の言葉） */
.president-message h4 {
  font-size: 1.2rem;
  color: #444;
  font-weight: normal;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

/* 社長署名 */
.signature {
  margin-top: 2rem;
  font-style: normal;
  font-weight: bold;
  color: var(--main-color);
}

/* モバイル対応 */
@media (max-width: 768px) {
  .president-section {
    flex-direction: column;

    padding: 1.5rem;
  }

  .president-message {
    padding: 0;
  }

  .president-photo img {
    width: 80%;
    max-width: 280px;
  }
  .president-photo{
    display:none;
  }
}



/*　会社概要用スタイル　*/
.company-overview {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 3rem 0;
  background: #fdfaf5; /* 和紙風生成り背景 */
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}

.overview-title {
  flex: 0 0 125px;
  font-family: 'Shippori Mincho', serif;
  color: #992251;
  border-left: 4px solid #d4af37;
  padding-left: 1rem;
}

.overview-title h3 {
  font-size: 1.6rem;
  margin: 0;
}

.overview-content {
  flex: 1;
  font-family: 'Shippori Mincho', serif;
  color: #2c2c2c;
}

.overview-content dl {
  display: grid;
  grid-template-columns: 120px 1fr;
  row-gap: 1rem;
  column-gap: 1rem;
}

.overview-content dt {
  font-weight: bold;
  color: #555;
}

.overview-content dd {
  margin: 0;
  line-height: 1.6;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .company-overview {
    flex-direction: column;
    padding: 1.5rem;
  }

  .overview-title {
    border-left: none;
    border-bottom: 2px solid #d4af37;
    padding-left: 0;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    text-align: center;
  }

  .overview-title h3 {
    font-size: 1.4rem;
  }

  .overview-content dl {
    grid-template-columns: 1fr;
  }

  .overview-content dt {
    margin-top: 1rem;
    font-size: 0.95rem;
  }

  .overview-content dd {
    font-size: 0.95rem;
  }
}
.factory-block {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.factory-info {
  flex: 1;
  font-family: 'Shippori Mincho', serif;
  color: #2c2c2c;
  line-height: 1.6;
}

.factory-photo img {
  width: 240px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  object-fit: cover;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .factory-block {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .factory-photo img {
    width: 80%;
    max-width: 300px;
  }
}



/**　アクセスエリアの内容　**/

.access-block {
  margin: 4rem 0;
  background: #fdfaf5;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}

.factory-title {
  font-family: 'Shippori Mincho', serif;
  font-size: 1.6rem;
  color: #992251;
  border-left: 4px solid #d4af37;
  padding-left: 1rem;
  margin-bottom: 1.5rem;
}

.access-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.access-details {
  flex: 1;
  font-family: 'Shippori Mincho', serif;
  color: #2c2c2c;
}

.access-details dl {
  display: grid;
  grid-template-columns: 100px 1fr;
  row-gap: 1rem;
  column-gap: 1rem;font-family: 'Shippori Mincho', serif;
}

.access-details dt {
  font-weight: bold;
  color: #555;font-family: 'Shippori Mincho', serif;
}

.access-details dd {
  margin: 0;
  line-height: 1.6;
}

.access-photo {
  width: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.access-photo img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  object-fit: cover;
}

.access-map iframe {
  width: 100%;
  height: 300px;
  border: none;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* スマホ対応 */
@media (max-width: 768px) {
  .access-info {
    flex-direction: column;
    text-align: center;
  }

  .access-details dl {
    grid-template-columns: 1fr;
  }

  .access-photo {
    width: 100%;
  }

  .access-photo img {
    max-width: 300px;
    margin: 0 auto;
  }

  .factory-title {
    text-align: center;
    border-left: none;
    border-bottom: 2px solid #d4af37;
    padding-left: 0;
    padding-bottom: 0.5rem;
  }
}


/**　TOPメッセージ用スタイル　　**/
.recruit-top {
  max-width: 1000px;
  margin: 60px auto;
  padding: 40px 20px;
  font-family: 'Shippori Mincho', serif;
  line-height: 1.9;
  color: #333;
  background: linear-gradient(to bottom, #fffdf8, #fdf6f0); /* 和紙風の淡い背景 */
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.top-heading {
  font-size: 2.1em; /* PCデフォルト */
  text-align: center;
  margin-bottom: 20px;
  background: linear-gradient(90deg, #992251, #d4af37);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: bold;
  letter-spacing: 0.05em;
}

/* ▼ 大きめタブレット以下（900px以下） */
@media (max-width: 900px) {
  .top-heading {
    font-size: 2.0em;
  }
}

/* ▼ スマホ横向き・小さめタブレット（600px以下） */
@media (max-width: 600px) {
  .top-heading {
    font-size: 1.7em;
  }
}

/* ▼ スマホ縦向き（420px以下） */
@media (max-width: 420px) {
  .top-heading {
    font-size: 1.5em;
  }
}

.top-sub {
  text-align: center;
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #992251;
  background: #fff5f8;
  display: inline-block;
  padding: 12px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.top-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 40px 0;
  gap: 20px;
}

/* 偶数番目は画像を左に */
.top-section:nth-child(even) {
  flex-direction: row-reverse;
}

.top-text {
  flex: 2;
}

.top-image-wrap {
  flex: 1;
  text-align: center;
}

.top-image, .ceo-photo {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
  border: 4px solid #d4af37; /* 金色縁取りで華やかに */
  transition: transform 0.3s ease;
}

.top-image:hover, .ceo-photo:hover {
  transform: scale(1.08);
}

/* スマホ対応：縦並びに戻す */
@media screen and (max-width: 768px) {
  .top-section {
    flex-direction: column !important;
    text-align: center;
  }
}
.vision-message {
  max-width: 800px;
  margin: 50px auto;
  padding: 30px;
  text-align: center;
  font-family: 'Shippori Mincho', serif;
  font-size: 1.25em; /* 少し小さく */
  line-height: 2.1;  /* 行間を少し広げて読みやすく */
  color: #333;
  background: linear-gradient(to bottom, #fffdf8, #fdf6f0);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.vision-message span {
  color: #992251;
  font-weight: bold;
  background: linear-gradient(90deg, #992251, #d4af37);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ▼ スマホ向け（画面幅600px以下） */
@media (max-width: 600px) {
  .vision-message {
    font-size: 1.05em; /* スマホではさらに少し小さく */
    padding: 22px;
    line-height: 2.2; /* 行間を広げて読みやすく */
  }
}

/* ▼ タブレット向け（画面幅900px以下） */
@media (max-width: 900px) {
  .vision-message {
    font-size: 1.15em; /* タブレットは中間サイズ */
  }
}

/*タブメニュー用スタイル*/

.recruit-tabs {
  max-width: 1000px;
  margin: 40px auto;
  font-family: 'Shippori Mincho', serif;
}

.tab-menu {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  border-bottom: 2px solid #8c294fab;
}

.tab-menu li {
  padding: 12px 24px;
  cursor: pointer;
  font-weight: bold;
  color: #555;
  transition: all 0.3s ease;
  border-radius: 6px 6px 0 0; /* 上部だけ角丸 */
}

.tab-menu li:hover {
  background: #f9f3f5; /* ホバー時に淡い色 */
}

.tab-menu li.active {
  color: #fff;
  background: linear-gradient(90deg, #992251, #d4af37); /* ワインレッド→金色グラデーション */
  border-bottom: none; /* 下線を消して選択感を強調 */
  box-shadow: 0 -2px 8px rgba(0,0,0,0.1) inset;
}


.tab-content {
  display: none;
  animation: fadeIn 0.5s ease;
}

.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
  .tab-menu {
    flex-direction: column;
    align-items: center;
  }
  .tab-menu li {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #ddd;
  }
}


/* サブタブメニュー全体 */
.sub-tab-menu {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 30px 0;
  border-bottom: 2px solid #eee;
  gap: 10px;
}

/* 各タブ */
.sub-tab-menu li {
  padding: 12px 24px;
  cursor: pointer;
  font-weight: bold;
  color: #666;
  border-radius: 8px 8px 0 0;
  transition: all 0.3s ease;
  font-size: 1.05em;
  letter-spacing: 0.5px;
}

/* ホバー時 */
.sub-tab-menu li:hover {
  background: #f7f2f4;
  color: #992251;
}

/* アクティブタブ */
.sub-tab-menu li.active {
  color: #992251;
  background: #fff;
  border-bottom: 3px solid #992251;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.08);
}

@media (max-width: 768px) {
  .sub-tab-menu li {
    font-size: 0.9em;   /* ← スマホ用に小さく */
    padding: 8px 14px;  /* ← 余白も調整すると綺麗 */
  }
}

@media (max-width: 480px) {
  .sub-tab-menu li {
    font-size: 0.8em;
    padding: 6px 12px;
  }
}


.sub-tab-content {
  display: none;
  animation: fadeIn 0.5s ease;
}

.sub-tab-content.active {
  display: block;
}

.recruit-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  border-radius: 8px;
  overflow: hidden;
}

.recruit-table th {
  background: #f5f0eb;
  color: #992251;
  text-align: left;
  padding: 12px;
  width: 25%;
}

.recruit-table td {
  padding: 12px;
  border-bottom: 1px solid #eee;
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}
/*採用情報のボタン用*/
.recruit-contact {
  text-align: center;
  margin: 40px 0 20px;
}

.contact-btn {
  display: inline-block;
  padding: 14px 28px;
  font-size: 1.1em;
  font-weight: bold;
  color: #fff;
  background: linear-gradient(90deg, #992251, #d4af37); /* ワインレッド→金色グラデーション */
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.contact-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.3);
  background: linear-gradient(90deg, #d4af37, #992251); /* ホバー時に反転 */
}



/*　仕事を知るエリア用　*/
.work-area {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin: 30px 0;
  padding: 10px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  gap: 20px;
  flex-wrap: wrap; /* ← スマホで右端切れ防止 */
}

.work-left {
  flex: 0 0 25%;   /* ← PC時は幅を25%に固定（狭める） */
  max-width: 250px; /* ← 左エリアの最大幅を制限 */
  background: #fdf6f0;
  padding: 20px;
  border-radius: 10px;
  text-align: left;
  box-sizing: border-box;
}

.work-left h4 {
  color: #992251;
  margin-bottom: 10px;
  font-size: 1.3em;
  margin-top: -5px;
}

.work-left ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.work-left ul li {
  margin: 6px 0;
  font-weight: bold;
  color: #555;
}

.work-right {
  flex: 1;          /* ← 残りの幅を右側に */
  min-width: 0;     /* ← スマホで右端切れ防止 */
  padding: 20px;
  font-size: 1.05em;
  line-height: 1.8;
  color: #333;
  box-sizing: border-box;
}

.work-right p {
  margin: 0;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
  .work-area {
    flex-direction: column;
  }
  .work-left, .work-right {
    width: 100%;   /* ← スマホでは全幅に */
    max-width: 100%;
  }
  .work-left {
    margin-bottom: 15px;
  }
}


/*先輩社員メッセージエリア用*/
.employee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.employee-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  text-align: center;
  padding: 20px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.employee-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.2);
}

.employee-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
}

.emp-name {
  font-weight: bold;
  font-size: 1.1em;
  color: #992251;
}

.emp-dept {
  color: #555;
  font-size: 0.95em;
}

/* モーダル */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
}
.modal-content {
  background: linear-gradient(to bottom, #fff5f8, #ffe9d6);
  margin: 12% auto;
  padding: 28px;
  border-radius: 16px;
  max-width: 650px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  animation: fadeIn 0.5s ease;
  font-family: 'Shippori Mincho', serif;
  line-height: 1.7;
  color: #333;
  position: relative;
}

/* PC画面用に左余白を追加 */
@media screen and (min-width: 1024px) {
  .modal-content {
    margin-left: 400px;   /* ← 固定メニュー幅＋余白分 */
    margin-right: auto;   /* ← 右側は自動調整 */
  }
}


/* ヘッダー部分 */
.modal-header {
  display: flex;
  align-items: center;
  gap: 12px;                  /* ← 20px → 12px に減らす */
  margin-bottom: 15px;        /* ← 25px → 15px に減らす */
  background: linear-gradient(90deg, #992251, #d4af37);
  padding: 10px;              /* ← 15px → 10px に減らす */
  border-radius: 10px;
  color: #fff;
}

.modal-photo {
  width: 75px;                /* ← 90px → 75px に縮小 */
  height: 75px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 0 10px rgba(212,175,55,0.8);
}

.modal-info .modal-name {
  font-size: 1.4em;           /* 少し大きめにして強調 */
  font-weight: bold;
  margin: 0;
  color: #fff;                /* ヘッダー背景に合わせて白文字 */
}

.modal-info .modal-dept {
  font-size: 0.9em;
  margin: 0;
  color: #fdf6f0;             /* 部署は淡い色で控えめに */
}




/*　商品用　スタイル*/
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin: 20px 35px;
}
.product-card {
  display: block;                 /* ← aタグをブロック化 */
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  color: inherit;                 /* ← aタグの青文字を防ぐ */
  text-decoration: none;          /* ← 下線を消す */
  max-width: 260px;
    margin: auto;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.2);
  background: linear-gradient(90deg, #992251, #d4af37);
  color: #fff;
  text-shadow: 0 0 6px rgba(0,0,0,0.3);
}

.product-card img {
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 12px;
}

.product-card h5 {
  margin: 12px 0;
  font-size: 1em;
  font-weight: bold;color: #510025;
}

.product-card p {
  font-size: 0.85em;
  color: #555;
  line-height: 1.6;
  font-weight: bold;
}

/* ホバー時の文字色を白に統一 */
.product-card:hover h5,
.product-card:hover p {
  color: #fff;
}






/*
企業向けエリア用のスタイル
あげ餅
*/

/* あげ餅エリア全体 */
/* 背景付きのあげ餅エリア */
/* 背景をしっかり見せるあげ餅エリア */
.agemochi-wrapper {
  position: relative;
  background: url("IMG/AgeBack.png") center/cover no-repeat;
  padding: 80px 40px;

  overflow: hidden;
}

/* 背景に薄い黒フィルター（背景を活かしつつ文字を読みやすく） */
.agemochi-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.25); /* ← 透明度を下げて背景を見せる */
  z-index: 1;
}

/* 中身（半透明の白で背景を透かす） */
.agemochi-inner {
  position: relative;
  z-index: 2;
  background: rgb(245 245 245 / 75%);; /* ← 白を薄くして背景を透かす */
  padding: 15px 30px;
  backdrop-filter: blur(4px); /* ← ぼかしで高級感UP */
}

/* タイトル */
.agemochi-title {
  font-size: 2.2em;
  font-weight: bold;
  color: #992251;
  text-align: center;
  margin-bottom: 10px;
  text-shadow: 0 2px 6px rgba(255,255,255,0.6);
}

/* サブタイトル */
.agemochi-subtitle {
  position: relative;
  display: block;              /* ← 中央揃えのために block に変更 */
  margin-left: auto;           /* ← 中央寄せ */
  margin-right: auto;          /* ← 中央寄せ */
  padding: 12px 28px;
  font-size: 1.4em;
  font-weight: bold;
  color: #4a3b1a;
  letter-spacing: 2px;
  margin: 30px auto 20px;
  text-align: center;
  background: rgba(255, 255, 245, 0.55);
  backdrop-filter: blur(3px);

}

/* 金箔風ライン */
.agemochi-subtitle::before,
.agemochi-subtitle::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 55px;
  height: 6px;
  transform: translateY(-50%);
  background: linear-gradient(
    90deg,
    #b8860b,
    #f7e7a1,
    #d4af37,
    #f7e7a1,
    #b8860b
  );
  border-radius: 3px;
  filter: drop-shadow(0 0 4px rgba(212,175,55,0.6));
}

.agemochi-subtitle::before {
  left: -70px;
}

.agemochi-subtitle::after {
  right: -70px;
}


/* スマホ対応 */
@media (max-width: 768px) {
  .agemochi-subtitle {
    font-size: 1.1em;
    padding: 8px 18px;
  }

  .agemochi-subtitle::before,
  .agemochi-subtitle::after {
    width: 35px;
    height: 4px;
    left: -45px;
    right: -45px;
  }
}

/* 説明文 */
/* 説明文 */
.agemochi-text {
  line-height: 1.9;
  font-size: 1.05em;
  color: #222;
  margin-bottom: 30px;
  font-weight: bold;
}

/* 金色の強調 */
.highlight-gold {
  position: relative;
  padding: 2px 4px;
  color: #5a3e1b; /* 深い金茶色 */
  font-weight: bold;
  background: linear-gradient(
    to bottom,
    rgba(255, 248, 220, 0.6),
    rgba(255, 248, 220, 0.9)
  );
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(212, 175, 55, 0.4);
  white-space: nowrap;
}

/* 下に金色ラインを入れて高級感UP */
.highlight-gold::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #d4af37, #f7e7a1, #d4af37);
  border-radius: 2px;
}

/* 特徴リスト */
.agemochi-features h3 {
  font-size: 1.4em;
  color: #992251;
  margin-bottom: 10px;
}

.agemochi-features ul {
  padding-left: 20px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 30px;    font-weight: bold;
}

/* 写真ギャラリー */
.agemochi-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-top: 20px;
}

.agemochi-photo {
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
  transition: transform 0.4s ease;
}

.agemochi-photo img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.agemochi-photo:hover {
  transform: scale(1.05);
}

/* スマホ対応 */
@media (max-width: 768px) {
  .agemochi-wrapper {
    padding: 50px 20px;
  }

  .agemochi-inner {
    padding: 25px 20px;
    background: rgba(255,255,255,0.75); /* スマホは少し濃くして読みやすく */
  }

  .agemochi-title {
    font-size: 1.7em;
  }

  .agemochi-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .agemochi-photo img {
    height: 140px;
  }
}

@media (max-width: 480px) {
  .agemochi-gallery {
    grid-template-columns: 1fr;
  }

  .agemochi-photo img {
    height: 180px;
  }
}



/*
冷凍和菓子エリア用
*/

/* 全体 */
/* 背景付きの冷凍和菓子エリア */
.frozen-wrapper {
  position: relative;
  background: url("IMG/JNK.jpg") center/cover no-repeat;
  padding: 50px 40px;
  overflow: hidden;
}

/* 背景フィルター（黒透明） */
.frozen-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35); /* ← 背景を活かしつつ文字を読みやすく */
  backdrop-filter: blur(2px);
  z-index: 1;
}

/* 中身（半透明の白カード） */
.frozen-inner {
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,0.75); /* ← 背景が透けて見える */
  padding: 20px 30px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* タイトル */
.frozen-title {
  font-size: 2em;
  font-weight: bold;
  color: #992251;
  text-align: center;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

/* サブタイトル（金色ライン） */
.frozen-subtitle {
  position: relative;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 35px;
  padding: 12px 28px;
  font-size: 1.4em;
  font-weight: bold;
  color: #4a3b1a;
  letter-spacing: 2px;
  text-align: center;
  background: rgba(255, 255, 245, 0.55); /* 和紙風の淡い背景 */
  backdrop-filter: blur(3px);
  border-radius: 6px;
}

/* 金箔風ライン（あげ餅と同じ） */
.frozen-subtitle::before,
.frozen-subtitle::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 55px;
  height: 6px;
  transform: translateY(-50%);
  background: linear-gradient(
    90deg,
    #b8860b,
    #f7e7a1,
    #d4af37,
    #f7e7a1,
    #b8860b
  );
  border-radius: 3px;
  filter: drop-shadow(0 0 4px rgba(212,175,55,0.6));
}

.frozen-subtitle::before {
  left: -70px;
}

.frozen-subtitle::after {
  right: -70px;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .frozen-subtitle {
    font-size: 1.1em;
    padding: 8px 18px;
  }

  .frozen-subtitle::before,
  .frozen-subtitle::after {
    width: 35px;
    height: 4px;
    left: -45px;
    right: -45px;
  }
}

/* 説明文 */
.frozen-text {
  line-height: 1.9;
  font-size: 1.05em;
  color: #333;
  margin-bottom: 40px;
  text-align: left;
  font-weight: bold;
}

/* 強調（あげ餅エリアと統一） */
.highlight-gold {
  background: linear-gradient(to bottom, rgba(255,248,220,0.6), rgba(255,248,220,0.9));
  padding: 2px 4px;
  border-radius: 4px;
  color: #5a3e1b;
  font-weight: bold;
}

/* カテゴリー */
.frozen-category {
  margin-bottom: 40px;
}

.category-title {
/*
font-size: 1.4em;
*/
  font-weight: bold;
  color: #992251;
  margin-bottom: 15px;
  border-left: 6px solid #d4af37;
  padding-left: 12px;
}

/* 写真ギャラリー */
.category-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.category-photo {
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
  transition: transform 0.4s ease;
}

.category-photo img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.category-photo:hover {
  transform: scale(1.05);
}

/* スマホ対応 */
@media (max-width: 768px) {
  .frozen-wrapper {
    padding: 25px 20px;
  }

  .frozen-title {
    font-size: 1.7em;
  }

  .frozen-subtitle {
    font-size: 1.1em;
  }

  .category-photo img {
    height: 150px;
  }
  .kawarake-subtitle {
    font-size: 1em!important;
  }
}



/*
かわらけかりんとうエリア用
*/

/* 全体背景（和紙風） */
/* 背景付きかわらけエリア */
.kawarake-wrapper {
  position: relative;
  background: url("IMG/Kawarake1.jpg") center/cover no-repeat;
  padding: 50px 10px;
  overflow: hidden;
}

/* 背景フィルター（背景を活かしつつ文字を読みやすく） */
.kawarake-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35); /* ← 背景を見せつつ文字を読みやすく */
  backdrop-filter: blur(2px);
  z-index: 1;
}

/* 中身（半透明の白カード） */
.kawarake-inner {
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,0.75); /* ← 背景が透けて見える */
  padding: 20px 30px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* タイトル */
.kawarake-title {
  font-size: 1.7em;
  font-weight: bold;
  color: #992251;
  text-align: center;
  margin-bottom: 10px;
}

/* サブタイトル（あげ餅と同じ金箔デザイン） */
.kawarake-subtitle {
  position: relative;
  display: block;
  margin: 0 auto 35px;
  padding: 12px 28px;
  font-size: 1.3em;
  font-weight: bold;
  color: #4a3b1a;
  text-align: center;
  background: rgba(255, 255, 245, 0.55);
  backdrop-filter: blur(3px);
  border-radius: 6px;
  letter-spacing: 1.5px;
}

.kawarake-subtitle::before,
.kawarake-subtitle::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 55px;
  height: 6px;
  transform: translateY(-50%);
  background: linear-gradient(90deg,#b8860b,#f7e7a1,#d4af37,#f7e7a1,#b8860b);
  border-radius: 3px;
  filter: drop-shadow(0 0 4px rgba(212,175,55,0.6));
}

.kawarake-subtitle::before { left: -70px; }
.kawarake-subtitle::after { right: -70px; }

/* 歴史説明 */
.kawarake-history {
  background: rgba(255,255,255,0.7);
  padding: 20px 25px;
  border-left: 6px solid #d4af37;
  margin-bottom: 40px;
  border-radius: 8px;
  line-height: 1.9;
  color: #333;
  font-weight: bold;
}

/* 商品ブロック */
.kawarake-item {
  display: flex;
  gap: 25px;
  margin-bottom: 40px;
  align-items: center;
}

.kawarake-item.reverse {
  flex-direction: row-reverse;
}

.kawarake-photo img {
  width: 260px;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

.kawarake-info h3 {
  font-size: 1.4em;
  color: #992251;
  margin-bottom: 10px;
}

.kawarake-info p {
  line-height: 1.8;
  color: #333;
  font-weight: bold;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .kawarake-item {
    flex-direction: column;
    text-align: center;
  }

  .kawarake-item.reverse {
    flex-direction: column;
  }

  .kawarake-photo img {
    width: 100%;
    height: 200px;
  }
}
