/* 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: 1.9rem;
    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 #595255;
  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;font-weight: bold;
}

/* 見出し（代表挨拶） */
.president-message h3 {
  font-size: 1.2rem;
  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;
}
/* ===========================
   代表挨拶エリアのレスポンシブ文字サイズ
   =========================== */

/* タブレット（〜900px） */
@media screen and (max-width: 900px) {
  .president-message h3 {
    font-size: 1.4rem;
  }

  .president-message h4 {
    font-size: 1.05rem;
  }
}

/* スマホ（〜600px） */
@media screen and (max-width: 600px) {
  .president-message h3 {
    font-size: 1rem;
    padding-left: 0.4rem;
  }

  .president-message h4 {
    font-size: 0.95rem;
    line-height: 1.7;
  }
  .president-message p {
    font-size: 13px;
  }
.president-section {
display:block;
}
}

/* 社長署名 */
.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;
    margin: 10px;
  }

  .president-message {
    padding: 0;
  }

  .president-photo img {
    width: 80%;
    max-width: 280px;
  }




}


@media (max-width: 930px) {
.president-photo{
  /*
  display:none;
*/
}
}
/*　会社概要用スタイル　*/
.company-overview {
  flex-wrap: wrap;
  gap: 2rem;
  margin: 3rem 0;
  background: #fdfaf5; /* 和紙風生成り背景 */
  padding: 1rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
  font-family: 'Shippori Mincho', serif;
  box-shadow: 0 4px 16px #595255;
}

.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: 0.5em;
  column-gap: 1rem;
  font-family: 'Shippori Mincho', serif;
}

.overview-content dt {
  font-weight: bold;
  color: #000000;font-size: 0.98em;
}

.overview-content dd {
  margin: 0;
  line-height: 1.6;
  font-size: 0.95em;
    font-weight: bold;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .company-overview {
    flex-direction: column;
    padding: 1.5rem;
    margin: 10px;
  }

  .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.9em;
  }

  .overview-content dd {
    font-size: 0.9em;
  }

.subtitle {
  font-size: 1em;
}

}
.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;
    padding: 5px;
    text-align: left;
    background: #ffffff;
    font-size: 0.9em;
  }

  .factory-photo img {
    width: 80%;
    max-width: 300px;
  }

.philosophy-section{
margin: 10px;
}

.access-block {
  margin: 10px;

}

}



/**　アクセスエリアの内容　**/

.access-block {
      background: #fdfaf5;
      padding: 2rem;
      /* border-radius: 12px; */
      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;
}

.access-details dt {
  font-weight: bold;
  color: #555;
}

.access-details dd {
  margin: 0;
  line-height: 1.6;
  font-weight: bold;
font-size: 0.95em;
}

.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;
  }
}


/*企業理念エリア用*/

/*企業理念エリア用*/
/* --- 全体背景：淡い和紙 --- */
.philosophy-section {
  max-width: 1100px;
  padding: 60px 40px;
  box-shadow: 0 8px 24px rgb(153 34 81);
  font-family: 'Shippori Mincho', serif;background-color: #fdfaf5;
}

/* --- 見出し（企業理念） --- */
.philosophy-heading {
  font-size: 2.4em;
  color: #992251;
  text-align: center;
  margin-bottom: 5px;
  letter-spacing: 2px;
  position: relative;
}

.philosophy-heading::after {
  content: "";
  display: block;
  width: 120px;
  height: 4px;
  margin: 12px auto 0;
  background: linear-gradient(90deg, #b8860b, #f7e7a1, #b8860b);
  border-radius: 2px;
}

/* --- サブタイトル --- */
.philosophy-sub {
  text-align: center;
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #4a3b1a;
  font-weight: bold;
  background: rgba(255,255,245,0.7);
  display: block;               /* ★追加 */
  margin-left: auto;            /* ★追加 */
  margin-right: auto;           /* ★追加 */
  padding: 8px 20px;
  border-radius: 6px;
  backdrop-filter: blur(3px);
}


/* --- 理念ポイント（丸） --- */
.philosophy-points {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 50px auto;
  flex-wrap: wrap;
}

.point {
  width: 200px;
  height: 200px;
  background: rgba(255,255,255,0.8);
  border-radius: 50%;
  border: 4px solid transparent;
  background-image:
    linear-gradient(white, white),
    linear-gradient(90deg, #b8860b, #f7e7a1, #b8860b);
  background-origin: border-box;
  background-clip: content-box, border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #3e0e30;
  font-size: 1.05em;
  padding: 20px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;    font-weight: bold;
}

.point:hover {
  transform: scale(1.07);
}

/* --- 本文（巻物風） --- */
.philosophy-body {
  max-width: 650px;
  margin: 0 auto 60px;
  padding: 35px;
  background: rgba(255,255,255,0.85);
  border-left: 6px solid #d4af37;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  line-height: 1.9;
  color: #333;
}

/* --- ビジョン --- */
.vision {
  text-align: center;
  margin: 40px auto;
  display: block;
}

.vision-heading,
.vision-subheading,
.vision-arrow {
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.vision-body {
  max-width: 600px;
  margin-left: auto;   /* ← 中央寄せ */
  margin-right: auto;  /* ← 中央寄せ */
  text-align: center;  /* ← テキストも中央 */
}

.vision-heading {
  font-size: 1.8em;
  color: #992251;
  margin-bottom: 10px;
}

.vision-subheading {
  font-size: 1.8em;
      font-weight: bold;
      color: #fff;
      background: linear-gradient(90deg, #992251, #d4af37);
      padding: 14px 35px;
      /* border-radius: 8px; */
      box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
      display: inline-block;
      margin-top: 10px;
}

/* --- 行動指針（和紙カード） --- */
/* 行動指針エリア全体 */
.guidelines {
  margin-top: 60px;
  text-align: center;
}

/* 見出し */
.guidelines-heading {
  font-size: 1.8em;
  color: #992251;
  margin-bottom: 25px;
  letter-spacing: 2px;
  position: relative;
  display: inline-block;
}

.guidelines-heading::after {
  content: "";
  display: block;
  width: 140px;
  height: 4px;
  margin: 10px auto 0;
  background: linear-gradient(90deg, #b8860b, #f7e7a1, #b8860b);
  border-radius: 2px;
}

/* リスト全体 */
.guidelines-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px;
  padding: 0;
  margin: 0 auto;
  max-width: 900px;
  list-style: none;
}

/* 各項目（和紙カード＋金箔縁取り） */
.guidelines-list li {
  background: rgba(255, 255, 255, 0.85);
  padding: 10px 15px;
  border-radius: 0px;
  font-size: 1em;
  color: #992251;
  font-weight: bold;
  text-align: center;
  border: 1px solid transparent;
  background-image: linear-gradient(white, white), linear-gradient(90deg, #b8860b, #f7e7a1, #b8860b);
  background-origin: border-box;
  background-clip: content-box, border-box;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* ホバー時：ふわっと浮く＋金色が強くなる */
.guidelines-list li:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.18);
  background-image:
    linear-gradient(white, white),
    linear-gradient(90deg, #d4af37, #f7e7a1, #d4af37);
}
.vision-body {
  max-width: 650px;
    margin: 25px auto;
    padding: 10px 24px;
    background: rgba(255, 255, 245, 0.85);
    backdrop-filter: blur(3px);
    border-left: 6px solid transparent;
    background-image: linear-gradient(white, white), linear-gradient(90deg, #b8860b, #f7e7a1, #b8860b);
    background-origin: border-box;
    background-clip: content-box, border-box;
    /* border-radius: 10px; */
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    font-family: 'Shippori Mincho', serif;
    font-size: 1.15em;
    line-height: 1.95;
    color: #992251;
    text-align: center;
    font-weight: bold;
  }
  /*

/* スマホ対応 */
@media screen and (max-width: 600px) {
  .guidelines-list li {
    flex: 0 0 100%; /* 縦並びに切り替え */
  }
}/* ===========================
   レスポンシブフォント調整
   =========================== */

/* タブレット（〜900px） */
@media screen and (max-width: 900px) {
  .philosophy-heading { font-size: 2em; }
  .philosophy-sub { font-size: 1.15em; }

  .point {
    width: 170px;
    height: 170px;
    font-size: 0.95em;
  }

  .philosophy-body { font-size: 1em; }

  .vision-heading { font-size: 1.5em; }
  .vision-subheading { font-size: 1.7em; padding: 12px 28px; }
  .vision-body { font-size: 1.05em; }

  .guidelines-heading { font-size: 1.5em; }
  .guidelines-list li { font-size: 0.95em; padding: 10px 15px; }
}

/* スマホ（〜600px） */
@media screen and (max-width: 600px) {
  .philosophy-section { padding: 40px 20px; }

  .philosophy-heading { font-size: 1.7em; }
  .philosophy-sub { font-size: 1em; padding: 6px 14px; }

  .point {
    width: 150px;
    height: 150px;
    font-size: 0.9em;
    padding: 15px;
  }

  .philosophy-body {
    font-size: 0.95em;
    padding: 25px;
  }

  .vision-heading { font-size: 1.3em; }
  .vision-subheading {
    font-size: 1.4em;
    padding: 10px 20px;
  }
  .vision-body {
    font-size: 1em;
    padding: 15px 20px;
  }

  .guidelines-heading { font-size: 1.3em; }
  .guidelines-list { gap: 15px; }
  .guidelines-list li {
    font-size: 0.9em;
    padding: 10px 12px;
  }
}
