@charset "utf-8";

:root {
  --vh: 1vh;
}



/*-------- ▼▼▼▼▼▼▼▼▼▼ 見学・体験　　------------------------------------*/




/* top見学top */

/* ========================
   ▼ ボタンスタイル 
   ======================== */
.button-green {
  display: inline-block;
  margin-top: 0.8em;
  padding: 0.6em 1.4em;
  background-color: #007b43; /* アクセントグリーン */
  color: #fff;
  font-size: 0.95rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 999px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.button-green:hover {
  background-color: #005c30;
  transform: translateY(-2px);
}

/* ========================
   ▼ 行事紹介カード強化 
   ======================== */
.image-block {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2em;
  margin: 2em 0;
}

.image-block div {
  background-color: #e6f5ed;
  padding: 1.0em 1em;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.3s ease;
}

.image-block div:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.image-block img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 0.8em;
}

/* タイトル調整 */
.executive-name {
  font-size: 1.1rem;
  font-weight: bold;
  color: #007b43;
  margin-bottom: 0.3em;
}

/* 説明文 */
.image-block p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.6;
  margin-bottom: 1em;
}

/* Q＆A */

.faq-section {
  margin: 2em auto;
  max-width: 800px;
  padding: 0 1em;
}

.faq-item {
  border-bottom: 1px solid #ccc;
  margin-bottom: 1em;
}

.faq-question {
  background: none;
  border: none;
  padding: 1em 0;
  width: 100%;
  text-align: left;
  font-weight: bold;
  font-size: 1rem;
  display: flex;
  align-items: center;
  color: #007b43;
  cursor: pointer;
}

.faq-question:hover {
  text-decoration: underline;
}

.faq-answer {
  padding: 0.8em 0 1.2em 1.8em;
  font-size: 0.95rem;
  color: #444;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

.icon-q, .icon-a {
  display: inline-block;
  width: 1.4em;
  font-weight: bold;
  color: #007b43;
  margin-right: 0.5em;
}

/* Q＆A */

/* ========================
   ▼ メディアクエリ対応 
   ======================== */
@media screen and (max-width: 768px) {
  .button-green {
    font-size: 0.85rem;
    padding: 0.5em 1.2em;
  }

  .executive-name {
    font-size: 1rem;
  }

  .image-block p {
    font-size: 0.9rem;
  }
}

/* top見学top */

/* 大浜おもてなしフェス 専用 */

.omotenashi-title {
  font-size: 2.2rem;
  font-weight: bold;
  color: #007b43;
  margin-bottom: 1em;
  text-align: center;
}
.company-list {
  list-style: none;
  padding: 1.2em;
  margin: 2em 0;
  background-color: #f6fdf6; /* ごく淡い緑 */
  border: 2px solid #a6d8b8; /* 緑の枠線 */
  border-radius: 8px;
  font-size: 1rem;
  line-height: 1.7;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.company-list li {
  position: relative;
  padding-left: 1.6em;
  margin-bottom: 0.8em;
}

.company-label {
  position: absolute;
  left: 0;
  color: #5ab77d; /* アイコン用緑 */
  font-weight: bold;
}

.omotenashi-lead {
  font-size: 1.1rem;
  line-height: 2;
  margin-bottom: 2em;
}

.omotenashi-highlight {
  background-color: #f6f6f6;
  padding: 1.2em;
  border-left: 5px solid #007b43;
  margin: 2em 0;
  font-size: 1rem;
  line-height: 1.8;
}

.omotenashi-section-heading {
  font-size: 1.5rem;
  color: #007b43;
  font-weight: bold;
  margin-top: 3em;
  margin-bottom: 1em;
  border-bottom: 2px solid #007b43;
  padding-bottom: 0.3em;
}

.omotenashi-info-list {
  list-style: none;
  padding: 0;
  margin: 1em 0 2em 0;
  line-height: 1.8;
}

.omotenashi-info-list li::before {
  content: '📍 ';
  margin-right: 0.5em;
}

.omotenashi-checklist {
  margin: 1em 0 2em;
  padding-left: 1.2em;
}

.omotenashi-checklist li {
  margin-bottom: 0.5em;
  position: relative;
  padding-left: 1.5em;
}

.omotenashi-checklist li::before {
  content: '✅';
  position: absolute;
  left: 0;
  color: #007b43;
}

.omotenashi-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1em;
  margin: 2em 0;
}

.omotenashi-gallery img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.omotenashi-closing-copy {
  background-color: #f8f8f8;
  padding: 2em 1.5em;
  margin-top: 3em;
  border-top: 3px solid #007b43;
  line-height: 1.9;
}

.omotenashi-closing-copy p {
  margin-bottom: 1.5em;
}

@media screen and (max-width: 768px) {
  .omotenashi-title {
    font-size: 1.8rem;
  }

  .omotenashi-section-heading {
    font-size: 1.3rem;
  }

  .omotenashi-lead {
    font-size: 1rem;
  }

  .omotenashi-closing-copy {
    padding: 1.2em;
  }
}

/* テキストカラー */

.text-green {
  color: #007b43;
  text-align: center;
}

.section-title-green {
  font-size: 20px;
  font-weight: bold;
  color: #007b43; /* 常盤色 */
  text-align: center;
  position: relative;
  margin: 0 auto 1.5em;
  display: block;
  width: fit-content;
}

.section-title-green::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 5px;
  background-color: #007b43;
  border-radius: 4px;
}

.text-black {
  color: #333;
}

/* テキストカラー */


/* 概要 */

.event-info-list {
  list-style: none;
  padding: 0;
  margin: 1.5em 0 2em;
  font-size: 1rem;
  line-height: 1.8;
}

.event-info-list li {
  margin-bottom: 0.5em;
}

.event-info-list .label {
  display: inline-block;
  min-width: 8em;
  font-weight: bold;
  color: #007b43;
}

/* 概要 */

/* ライン */

.section-line {
  border: none;
  border-top: 1px solid #ccc; /* 線の色は必要に応じて変更 */
  margin: 1.5em 0 0.1em;       /* 上下の間隔を少し調整 */
}

/* ライン */

/* 画像 */

.image-wrapper {
  width: 100%;
  max-width: 1000px; /* 必要なら調整 */
  margin: 0 auto;
  padding: 0em 0;
  text-align: center;
}

.responsive-image {
  width: 100%;
  height: auto;
  max-width: 100%;  /* 親の幅を超えない */
  display: block;
  margin: 0 auto;
  border-radius: 8px; /* 任意：角丸 */
}

/* 動画含み */

.image-block {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1em;
  margin: 2em 0;
}

.image-block img,
.image-block video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}


/* 画像 */

/* ▼▼▼▼ 工場見学ページ専用スタイル：visit- で統一 ▼▼▼▼ */

.visit-section {
  margin: 2em auto;
  padding: 0 1em;
  max-width: 960px;
}

.visit-title {
  font-size: 1.3rem;
  font-weight: bold;
  color: #007b43;
  text-align: center;
  margin-bottom: 1.2em;
  border-bottom: 2px solid #007b43;
  display: inline-block;
  padding-bottom: 0.3em;
}

.visit-card {
  border-bottom: 1px solid #9ff0bd;
  padding: 1.5em 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.visit-card p {
  margin: 0.5em 0;
  font-size: 0.95rem;
  color: #333;
  line-height: 1.6;
}

.visit-card .visit-date {
  font-size: 0.9rem;
  color: #007b43;
  font-weight: bold;
  margin-bottom: 0.6em;
}

.visit-card img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 0.8em;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

/* ボタンスタイル再利用調整（中央寄せ） */
.visit-button-wrap {
  text-align: center;
  margin: 2em 0;
}

/* ▼▼▼ レスポンシブ対応 ▼▼▼ */
@media screen and (max-width: 768px) {
  .visit-title {
    font-size: 1.1rem;
  }

  .visit-card p {
    font-size: 0.9rem;
  }

  .visit-card img {
    width: 100%;
  }
}
/* ▼ 工場見学リード文用スタイル ▼ */
.visit-lead {
  font-size: 1.2rem;
  text-align: center;
  font-weight: normal;
  margin: 2em 0 1.5em;
  line-height: 1.6;
}

@media screen and (max-width: 768px) {
  .visit-lead {
    font-size: 1.05rem;
  }
}

/* 申し込み */

.visit-box {
  background-color: #f6fdf9;         /* ごく薄い緑背景 */
  border: 2px solid #a6d8b8;         /* 緑の枠線 */
  border-radius: 12px;               /* 角を丸める */
  padding: 1.5em;
  margin: 2em 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04); /* 軽い影 */
}

.visit-box h3 {
  font-size: 1.1rem;
  color: #007b43;
  font-weight: bold;
  margin-bottom: 1em;
  text-align: center;
}

.visit-box p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #333;
  text-align: center;
}

.visit-button-wrap {
  text-align: center;
  margin-top: 1.2em;
}

/* 来訪者開閉タブ */


.image-block > div:last-child {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}


.toggle-button-wrap {
  text-align: center;
  margin-top: 0.5em;
}


.image-block {
  gap: 1.0em;
}


.executive-hidden {
  display: none;
}


.button-show {
  background: none;
  border: none;
  color: #007b43;
  font-weight: bold;
  font-size: 0.95rem;
  cursor: pointer;
  padding: 0.6em 1.0em;
  transition: all 0.2s ease;
}

.button-show:hover {
  text-decoration: underline;
}

/* ▼ 来訪者ギャラリー（executiveGallery） */
#executiveGallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2em;
  margin: 1.5em 0 1em;
}

#executiveGallery > div {
  background-color: #e6f5ed;
  padding: 1.2em 1em;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
  text-align: center;
  transition: all 0.3s ease;
}

#executiveGallery > div:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

#executiveGallery img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 0.6em;
}

#executiveGallery p {
  font-size: 0.92rem;
  color: #333;
  line-height: 1.6;
  margin: 0;
}

/* 「もっと見る」ボタンとの間隔を最適化 */
.toggle-button-wrap {
  text-align: center;
  margin-top: 0.5em; /* ←間延びしないバランス */
}


.event-nav-wrapper {
  display: flex;
  overflow-x: auto;
  padding: 1em 0;
  gap: 1em;
  scroll-behavior: smooth;
  margin-bottom: 2em;
}
.event-nav-item {
  white-space: nowrap;
  background: #007b43;
  color: white;
  padding: 0.5em 1em;
  border-radius: 999px;
  font-size: 0.9rem;
  text-decoration: none;
  flex-shrink: 0;
  transition: background-color 0.3s;
}
.event-nav-item:hover {
  background: #005c30;
}
.event-block {
  margin-bottom: 4em;
}
.event-title {
  font-size: 1.4rem;
  font-weight: bold;
  color: #007b43;
  margin-bottom: 0.8em;
  border-left: 4px solid #007b43;
  padding-left: 0.6em;
}
.event-gallery {
  display: flex;
  flex-direction: column;
  gap: 0.8em;
  margin-bottom: 1em;
}
.event-gallery .main-image img {
  width: 100%;
  border-radius: 8px;
}
.thumbnail-list {
  display: flex;
  gap: 0.5em;
  overflow-x: auto;
}
.thumbnail-list img {
  height: 60px;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.2s;
}
.thumbnail-list img:hover {
  transform: scale(1.05);
}

.intro-text {
  margin: 2em auto;
  max-width: 800px;
  text-align: center;
  font-size: 1rem;
  line-height: 1.8;
}


/* ========================
   ▼ 社内行事
   ======================== */
   
/* スクロールバー変更 */
/* ▼ カテゴリナビ本体：横スクロール＋SPではスクロールバー非表示 */
.event-nav-wrapper {
  display: flex;
  overflow-x: auto;
  gap: 0.5em;
  padding: 0.5em 0;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;         /* Firefox */
  -ms-overflow-style: none;      /* IE/Edge */
}
.event-nav-wrapper::-webkit-scrollbar {
  display: none;                 /* Chrome/Safari */
}

/* ▼ PCでは細く表示 */
@media screen and (min-width: 769px) {
  .event-nav-wrapper {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
  }

  .event-nav-wrapper::-webkit-scrollbar {
    height: 6px;
  }

  .event-nav-wrapper::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
  }

  .event-nav-wrapper::-webkit-scrollbar-track {
    background: transparent;
  }
}

/* スクロールバー変更 */

.event-nav-item {
  white-space: nowrap;
  background: #007b43;
  color: white;
  padding: 0.5em 1em;
  border-radius: 999px;
  font-size: 0.9rem;
  text-decoration: none;
  flex-shrink: 0;
  transition: background-color 0.3s;
}
.event-nav-item:hover {
  background: #005c30;
}
.event-block {
  margin-bottom: 4em;
}
.event-title {
  font-size: 1.4rem;
  font-weight: bold;
  color: #007b43;
  margin-bottom: 0.8em;
  border-left: 4px solid #007b43;
  padding-left: 0.6em;
}
.event-gallery {
  display: flex;
  flex-direction: column;
  gap: 0.8em;
  margin-bottom: 1em;
}
.event-gallery .main-image img {
  width: 100%;
  border-radius: 8px;
}

/* スクロールバー変更 */
/* ▼ 共通：サムネイルリスト本体 */
.thumbnail-list {
  display: flex;
  overflow-x: auto;
  gap: 0.5em;
  padding: 0.3em 0;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
}

/* ▼ デフォルト（スマホ想定）ではスクロールバー非表示 */
.thumbnail-list {
  scrollbar-width: none;         /* Firefox */
  -ms-overflow-style: none;      /* IE/Edge */
}
.thumbnail-list::-webkit-scrollbar {
  display: none;                 /* Chrome/Safari */
}

/* ▼ PC以上では細く＆控えめに表示 */
@media screen and (min-width: 769px) {
  .thumbnail-list {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
  }

  .thumbnail-list::-webkit-scrollbar {
    height: 6px;
  }

  .thumbnail-list::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
  }

  .thumbnail-list::-webkit-scrollbar-track {
    background: transparent;
  }
}

/* スクロールバー変更 */

.thumbnail-list img:hover {
  transform: scale(1.05);
}

.intro-text {
  margin: 2em auto;
  max-width: 800px;
  text-align: center;
  font-size: 1rem;
  line-height: 1.8;
}

/* 画像切り替え用 */

.thumbnail-list img {
  cursor: pointer;
  opacity: 0.8;
  transition: transform 0.2s, opacity 0.2s;
}

.thumbnail-list img:hover {
  transform: scale(1.05);
  opacity: 1;
}


/* 誕生日祝い */

.birthday-gallery {
  max-width: 900px;
  margin: 2em auto 1em; /* 上部余白はやや短く、下も詰める */
  text-align: center;
  padding: 0 1em;
}

.section-heading-tight {
  font-size: 1.2rem;
  font-weight: bold;
  color: #007b43;
  margin: 0.3em 0 0.2em; /* ← ここで上下の余白を最小限に */
}

.gallery-note {
  font-size: 0.9rem;
  color: #666;
  margin: 0 0 1em 0; /* ← 下だけ余白を残して詰める */
}

.main-image-wrap {
  margin-bottom: 1em;
}

.main-image-wrap img {
  width: 100%;
  max-width: 800px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  height: auto;
}


.thumbnail-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.3em;
  width: 100%;              /* ← max-width ではなく幅を親に合わせる */
  max-width: none;          /* ← これがポイント */
  margin: 0 auto;
  overflow: hidden;         /* ← 横スクロール抑止 */
}


.thumbnail-list img {
  width: 100%;
  height: 60px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  cursor: pointer;
  border-radius: 6px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.thumbnail-list img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
