/* 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;
  font-weight: bold;
}

.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;
  box-shadow: 0 4px 16px #992251;
  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;
      font-weight: bold;
}

/* 社長署名 */
.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;
*/
  }

  .subtitle {
    font-size: 1em;
  }
}



/*　会社概要用スタイル　*/
.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;
  box-shadow: 0 4px 16px #992251;
}

.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;font-size: 0.95em;
  color: #555;font-family: 'Shippori Mincho', serif;
}

.access-details dd {
  margin: 0;
  line-height: 1.6;
  font-size: 0.95em;
font-weight: bold;
}

.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;
  }
}
.access-gallery {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px 0 30px;
}

.access-gallery img {
  width: 30%;              /* 横並びで3枚 */
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.access-gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 24px rgba(0,0,0,0.3);
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
  .access-gallery {
    flex-direction: column;
    align-items: center;
  }
  .access-gallery img {
    width: 80%;   /* スマホでは縦並びで大きめに */
  }
}
