* {
  box-sizing: border-box;
}

html{
  height: 100%;
  overflow-x: clip;
  overflow-y: scroll;
}

body {
  overflow-x: clip;
  height: 100%;
  margin: 0;
  padding-top: 2rem;
  font-family: "Yu Gothic UI", "Yu Gothic", "游ゴシック体", "游ゴシック","Helvetica Neue", "Helvetica", "Segoe UI",  "Arial", sans-serif;
  font-weight: 400;
  color: #222;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

}

/* 太字用クラス */
.bold-text {
  font-family: "Yu Gothic UI Semibold", "Yu Gothic UI", "Yu Gothic", "游ゴシック体", sans-serif;
  font-weight: 600 !important;
  font-synthesis: none;
  color:#635842;
}

/* ページ読み込み時に一度だけアニメーション用クラスを付ける */
body.loaded .feature {
  opacity: 1;
  transform: translateY(0);
}

img, video, iframe {
  width: 100%;
  height: auto;
  display: block;
}

header {
  background: #111;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: auto;
  z-index: 1000;
}
@media screen and (max-width: 768px) {/* 768px以下 トップメニューナビ非表示*/
  header {
    padding: 1rem 1rem;
  }
}

.logo {
  position: relative;
  width:200px;
  height:35px;
}

.back_logo, .fore_logo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.back_logo {
  z-index: 0;
  animation: fadeInOut 6s ease-in-out infinite;
}
.fore_logo {
  z-index: 1;
}
@keyframes fadeInOut {
  0% { opacity: 0; }
  30% { opacity: 0.8; }
  70% { opacity: 0.8; }
  100% { opacity: 0; }
}


nav ul {
  display: flex;
  list-style: none;
  gap: 1.5em;
  margin: 0;
  padding: 0;
}

nav a {
  color: #fff;
  text-decoration: none;
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: orange;
  transition: width 0.3s;
}

nav a:hover::after {
  width: 100%;
}


.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
  z-index: 1002;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav {
    position: fixed;
    top: 0;
    right: 0;
    background-color: rgba(50, 50, 50, 0.5);
    height: 100%;
    width: auto;
    padding: 5rem 2rem 2rem 2rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 2;
    white-space: normal;
    word-break: break-word;
    text-align:right;
  }

  nav.active {
    transform: translateX(0);
  }

  nav ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
}



/* 親コンテナ（パンくず全体） */
#js-breadcrumb {
  display: block;
  margin: 0.5em 0 0 0;
  padding: 0.5em 0 0.1em 0;
  font-size: 0.9em;
  color: #555;
  max-width: 100%;
  box-sizing: border-box;
  background: none;
  border: none;
}

/* パンくずリスト本体 */
.js-breadcrumb {
  list-style: none;
  display: flex;
  flex-wrap: wrap;         /* 折り返しを許可 */
  gap: 0.5em;
  padding: 0.5em;
  margin: 0;
}

/* 各パンくずアイテム */
.js-breadcrumb li {
  white-space: nowrap;
  color: #555;
  position: relative;
}

/* 区切り記号「>」 */
.js-breadcrumb li:not(:last-child)::after {
  content: ">";
  margin-left: 0.5em;
  color: #999;
  user-select: none;
}

/* リンクスタイル */
.js-breadcrumb a {
  color: #666;
  text-decoration: none;
  transition: color 0.2s ease;
}

.js-breadcrumb a:hover {
  color: orange;
  text-decoration: underline;
}




.hero {
  position: relative;
  width: 100%;
  height: 50vh;
  overflow: hidden;
  color: #fff;
}

.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  background-color: #000;
}

.video-background video {
  width: 100vw;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.hero-overlay {
  position: relative;
  z-index: 1;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
  padding: 0 2em;
}

.hero-overlay h1 {
  font-size: 2.8em;
  margin-bottom: 0.5em;
}

.hero-overlay p {
  font-size: 1.3em;
  margin-bottom: 1em;
}

.btn {
  background: orange;
  color: #111;
  padding: 0.8em 1.5em;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
  transition: background 0.3s;
}

.btn:hover {
  background: #e68a00;
}

.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}


/*メイン*/
main {
  flex: 1;
  padding: 1em;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}


main h1 {
  border-bottom: solid 3px #cfcfcf;
  position: relative;
  font-family: Helvetica, "Segoe UI", sans-serif;
  /* スルッと表示用初期状態 */
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideUp 0.7s ease forwards;
  animation-delay: 0.2s; /* お好みで遅延時間調整 */
  font-size: 1.8rem;
  padding: 0;
  margin: 0;
}

main h1:after {
  position: absolute;
  content: " ";
  display: block;
  border-bottom: solid 3px #ff9900;
  bottom: -3px;
  width: 20%;
}

/* スルッと表示アニメーション */
@keyframes fadeSlideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

hr {
  height: 1px;
  width: 95%;
  border: none;
  box-shadow: none;
  background-color: #888;
}

h2 {
  color: #111;
  margin-bottom: 1em;
  text-align: center;
}

main h2 {
  position: relative;
  display: inline-block;
  padding: 0;
  margin: 0;
}


p {
  color: #111;
  margin-bottom: 1em;
  text-align: center;
}

.txt_left {
  text-align: left;
}

.txt_w {
  color:white;
}


.features {
  padding: 0 1em 1em;
  text-align: center;
}

.features {
  display: flex;
  justify-content: center;
  gap: 2em;
  flex-wrap: wrap;
  margin-bottom: 3em;
}
.feature {
  background: #fff;
  border: 1px solid #eee;
  padding: 1.5em;
  border-radius: 8px;
  width: 280px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.feature.show {
  opacity: 1;
  transform: translateY(0);
}

.product-main-img{
  margin-top:-4rem;
  z-index: index 1;
}

footer {
  background: #111;
  color: #aaa;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
  font-size: 0.8rem;
}
@media screen and (max-width: 768px) {
  .footer {
    font-size: 0.8rem;
  }
}

.footer-menu {
  list-style: none;
  padding: 0;
  margin-inline: auto;
  display: flex;
  justify-content: center;
  border-left: 1px solid #ccc;
  width: fit-content;
}

.footer-menu li {
  padding: 0 1rem;
  border-right: 1px solid #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-menu a {
  position: relative;
  text-decoration: none;
  color: #fff;
  font-size: 0.8rem;
  text-align: center;
  transition: color 0.3s ease;
}

.footer-menu a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: orange;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s ease;
}

.footer-menu a:hover::after {
  transform: scaleX(1);
}


.products {
  background: #f8f8f8;
  padding: 1em 1em 2em;
  margin:1rem 0 0 0;
  text-align: center;
  width: 100%;
  position: relative;
}

.product-grid {
  display: grid;
  gap: 2em;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
@media screen and (max-width: 360px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}
.product-card {
  will-change: transform, opacity;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.product-card.show {
  opacity: 1;
  transform: translateY(0);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

.product-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.product-card h3 {
  margin: 1em;
  font-size: 1.1em;
  color: #111;
}

.product-card p {
  margin: 0 1em 1em;
  font-size: 0.95em;
  color: #555;
}

.product-img {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  margin-top: 0; /* 上部スペースを少し詰める */
  max-width: 80%;    /* 最大幅を制限（PC時） */
  margin-left: auto;
  margin-right: auto;
}

.products > .btn {
  display: inline-block;
  margin-top: 1em;
}


/* スマホでは max-width 無効（または別設定）にしたい場合 */
@media screen and (max-width: 768px) {
  .product-img {
    max-width: 100%;
    margin-top: 1em; /* モバイルでは少し余裕を持たせる */
  }
}

.product-img.show {
  opacity: 1;
  transform: translateY(0);
}

.fade-mask-rect img {
  width: 100%;
  height: auto;

  /* 四辺から内側に向かって透明に */
  -webkit-mask-image: 
    linear-gradient(to top, transparent, black 15%),
    linear-gradient(to bottom, transparent, black 15%),
    linear-gradient(to left, transparent, black 15%),
    linear-gradient(to right, transparent, black 15%);
  -webkit-mask-composite: destination-in;
  mask-image: 
    linear-gradient(to top, transparent, black 15%),
    linear-gradient(to bottom, transparent, black 15%),
    linear-gradient(to left, transparent, black 15%),
    linear-gradient(to right, transparent, black 15%);
  mask-composite: intersect;

  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: cover;

  /* Fallback for Safari */
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: cover;

  display: block;
}


.btn.btn-outline {
  display: inline-block;
  margin: 1em auto 1.5em;
  padding: 0.5em 1.2em;
  border: 2px solid orange;
  color: orange;
  background: none;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
  transition: background 0.3s, color 0.3s;
}

.btn.btn-outline:hover {
  background: orange;
  color: #fff;
}

/*トップページ見出し*/
.intro{
  width:100%;
  max-width: 1200px;
  text-align: center;
}

/* 共通スタイルをまとめて指定 */
.products h2,
.intro h2,
.map h2,
.news h2 {
  font-size: 1.4rem;
  line-height: 1.8rem;
  color: #111;
  margin-bottom: 1.5em;
  text-align: center;
}
.products h2:before, .intro h2:before, .map h2:before, .news h2:before,
.products h2:after, .intro h2:after, .map h2:after, .news h2:after {
  content: '';
  position: absolute;
  top: 50%;
  display: inline-block;
  width: 45px;
  height: 1px;
  background-color: orange;
}
.products h2:before, .intro h2:before, .map h2:before, .news h2:before {
  left:-50px;
}
.products h2:after, .intro h2:after, .map h2:after, .news h2:after {
  right: -50px;
}

/* 新着情報 */
.news {
  padding: 3em 2em;
  width:100%;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.news-list li {
  margin-bottom: 1em;
  border-bottom: 1px solid #ddd;
  padding-bottom: 0.5em;
  font-size: 0.95em;
}

.news-list a {
  color: #111;
  text-decoration: none;
}

.news-list a:hover {
  text-decoration: underline;
}

.news-list time {
  display: inline-block;
  min-width: 90px;
  color: #888;
  font-size: 0.9em;
}



.news-year-heading {
  font-size: 1.2em;
  margin: 1em 0 0.5em;
  cursor: pointer;
}

.news-year-heading::after {
  content: ' ▼';
  font-size: 0.8em;
}

.news-item {
  margin-bottom: 0.5em;
}

.news-date {
  color: gray;
  margin-right: 0.5em;
}

.news-link {
  text-decoration: none;
  color: #0056b3;
}

.news-link:hover {
  text-decoration: underline;
}

.news-year-heading::after {
  content: ' ▼';
  font-size: 0.8em;
}

.news-year-heading.open::after {
  content: ' ▲';
}

.news_content {
  margin: 0;
  padding: 2rem;
  background-color: #f9f9f9;
  border-radius: 1rem;
}

.news_content p {
  margin: 0;
  padding: 0;
  line-height: 2rem;
}

/* 新着情報のテキスト入力スタイル */
.pre-linebreak {
  white-space: pre-line;
  margin: 0;             /* ← pタグの上下marginを消す */
  padding: 0;            /* ← 念のためpaddingもリセット */
  line-height: 1.4;      /* お好みで調整可能 */
}

/* 最初のpタグのmarginだけ確実に詰める */
.news_content p:first-child {
  margin-top: 0;
}

/* 改行スペースを抑えるための先頭ゼロ幅文字対策（任意） */
.pre-linebreak::before {
  content: '\200B'; /* ゼロ幅スペース Unicode（&#8203;）をCSSでも入れる */
  display: inline;
}



/* カレンダーデザイン */
  .calendar-container, .calendar-annual {
    max-width: 1000px;
    margin: 0 auto;
    padding: 1em;
    text-align: center;
  }

  .calendar-container h2, .calendar-annual h2 {
    position: relative;
    display: inline-block;  /* ここがポイント */
    font-size: 1.4rem;
    line-height: 1.8rem;
    color: #111;
    margin-bottom: 1.5em;
    text-align: center;
  }
  .calendar-container h2:before, .calendar-annual h2:before,
  .calendar-container h2:after, .calendar-annual h2:after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 1px;
    background-color: orange;
  }
  .calendar-container h2:before, .calendar-annual h2:before {
    left: -50px;
  }
  .calendar-container h2:after, .calendar-annual h2:after {
    right: -50px;
  }

  .calendar-table {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 2em;
  }
  @media (min-width: 769px) {
  #calendar {
    display: flex;
    gap: 2em; /* カレンダー間のスペース */
    justify-content: center;
  }
  #calendar > table.calendar-table {
    width: 45%; /* 幅は調整可 */
    margin-bottom: 0;
  }
}
  .calendar-table caption {
    font-size: 1.25em;
    font-weight: bold;
    margin-bottom: 0.5em;
  }
  .calendar-table th,
  .calendar-table td {
    width: 14.28%;
    height: 3em;
    text-align: center;
    border: 1px solid #ccc;
    font-size: 0.9em;
  }
  .calendar-table th {
    background: #f0f0f0;
  }
  .calendar-day.today {
    background: orange;
    color: #fff;
    font-weight: bold;
  }
  .calendar-day.holiday {
    background: #e0e0e0;
    color: #999;
  }
  .calendar-day.workday {
    background: #fff;
    color: #000;
  }
  @media (max-width: 768px) {
    .calendar-table th,
    .calendar-table td {
      font-size: 0.8em;
      height: 2.5em;
    }
  }


/*製品リスト*/
.category-list {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 2rem;
  padding: 2rem 1rem;
  margin: 0 auto;
  list-style: none;
  flex-wrap: wrap;
}

.category-list li {
  text-align: center;
  flex: 0 0 180px;
}
.category-link {
  display: block;
  color: #111;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: all 0.3s ease;
  background-color: white;
  padding: 0.5em;
}

.category-link:hover {
  background-color: #f0f0f0; 
}

.category-link:hover .product_name {
  color: orange; 
}

.image-box {
  width: 100%;
  height: 160px;
  overflow: hidden;
  border-radius: 6px;
  margin-bottom: 1em;
  margin-top: 0.5em;
  padding: 0 0.5em; /* オプション：画像の左右にインナー余白 */
}

.image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product_name {
  font-family: "Verdana", "Helvetica", sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: #111;
  transition: color 0.3s ease;
}


/*製品紹介カード（孫カード）*/
.product-grid-box {
  display: grid;
  gap: 2em;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  justify-content: center;
  max-width: calc(380px * 4 + 2em * 3); 
  margin: 0 auto;
}

.product-card-box {
  display: block;
  max-width: 380px;
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  text-decoration: none;
  color: inherit;
}

.product-card-box.show {
  opacity: 1;
  transform: translateY(0);
}

.product-card-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.15);
  background: #fdf5e6;
}

.product-card-box img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.product-card-box h3 {
  margin: 1em;
  font-size: 1.1em;
  color: #111;
  text-align: center;
}

.product-card-box p {
  margin: 0 1em 1em;
  font-size: 0.95em;
  color: #555;
  text-align: center;
}

.product-card-btn {
  display: inline-block;
  margin: 1em auto 1.5em;
  padding: 0.5em 1.2em;
  border: 2px solid orange;
  color: orange;
  background: none;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
  transition: background 0.3s, color 0.3s;
  pointer-events: none; /* 外側リンク有効にするため */
  text-align: center;
}

.product-card-box:hover .product-card-btn {
  background: orange;
  color: #fff;
}

/*プライバシーポリシー*/
.legal-section {
  background: #f9f9f9;
  border-radius: 8px;
  padding: 3rem 0;
  width: 100%;
  max-width: 800px;
  margin: 1rem auto;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  font-size: 1rem;
  line-height: 1.8;
  color: #111;
  text-align: left; /* 全体左揃え */
}

.legal-section h1 {
  font-size: 2rem;
  margin-bottom: 1.5em;
  text-align: center; /* h1だけ中央揃え */
}

.legal-section h2 {
  font-size: 1.2rem;
  color: #222;
  margin: 0.2em 0 0.5em 0;
  text-align: left; /* 左揃え */
}

.legal-section ol {
  counter-reset: section-counter; /* カウンター初期化 */
  padding: 0 1em;
  margin: 0;
  list-style: none;
}
.legal-section ol > li {
  position: relative;
  margin-bottom: 1.5em;
  counter-increment: section-counter;
  padding-left: 2.2em;
  line-height: 1.5rem;
}
.legal-section ol > li::before {
  content: counter(section-counter) ".";
  position: absolute;
  left: 0;
  top: 0.15em;
  color: orange;
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.5rem;
  font-family: "Helvetica", "Yu Gothic", "Segoe UI", "Arial", sans-serif;
}
.legal-section ul {
  list-style-type: disc;
  margin-top: 0.5em;
  margin-left: 1.5em;
  color: #444;
}
.legal-section address {
  font-style: normal;
  color: #444;
  margin-top: 1em;
}
.legal-section p {
  text-align: left;
}


/*製品仕様　テキスト*/
.product-txt{
  width:100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1em 2em 1em;
}
.product-txt p {
  text-align: left;
  margin: 0;
  padding: 0 0 2em 0;
  line-height: 1.75em;
  letter-spacing: 0.03em;
  word-break: break-word;
  color: #333; 
}
.product-txt ul,
.product-txt ol {
  margin: 0;
  padding-left: 0em; 
  list-style-position: onside; 
}

.product-txt li {
  text-align: left;
  margin: 0 0 0 1em;
  padding: 0 0 0 0.25rem;
  line-height: 1.75em;
  letter-spacing: 0.03em;
  word-break: break-word;
  color: #333; 
}

/*製品仕様　テキスト　強調*/
.txt_b{
  font-weight: 600;
  color:#4d0303;
}


/*製品仕様　表下の注釈*/
.product-ann{
  width:100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1em 2em 1em;
}
.small {
  text-align: left;
  margin: 0;
  letter-spacing: 0.03em;
  line-height: 1.5em;
  font-size: 0.8em;
  color: #333; 
}


/*製品仕様表レイアウト*/
.custom-table-wrapper {
  width: 100%;
  overflow-x: auto;
  font-family: "Helvetica Neue", "Yu Gothic", "Meiryo UI", "Hiragino Kaku Gothic ProN", "Arial", sans-serif;
  color: #000000;
}

.product-spec {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  position: relative;
  z-index: 1;
  overflow-x: hidden;
  padding: 0 5px;
}

.product-spec.show {
  opacity: 1;
  transform: translateY(0);
}

.custom-table {
  border-collapse: collapse;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  font-family: Arial, sans-serif;
  font-size: 14px;
  table-layout: fixed; /* ← fixed → auto に変更！ */
}

.custom-table th,
.custom-table td {
  border: 1px solid #ccc;
  background-color: #fdfdfd;
  padding: 5px;
  vertical-align: middle;
  color:#524c4c;
  text-align: center;
  white-space: normal;        /* 折り返しOK */
  word-break: break-word;     /* 英単語や長いURLも折り返す */
  overflow-wrap: anywhere;    /* どこでも折り返し許可 */
}

.custom-table th {
  background-color: #f0f0f0;
  font-weight: bold;
}

.custom-table a {
  text-decoration: none;
  color:#f17500;
}

.custom-table a:hover{
  color:#ffc011;
}

.custom-table td:first-child,
.custom-table th:first-child {
  width: 35%; /* 左列だけ広くする */
}

/*会社概要テーブルデザイン*/
.simple-table {
  width: 100%;
  max-width: 600px;
  margin: 2em auto;
  border-collapse: collapse;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  background-color: #fff;
}

.simple-table th,
.simple-table td {
  padding: 16px 20px;
  vertical-align: top;
  font-size: 15px;
  line-height: 1.6;
  border-bottom: 1px solid #ddd;
}

.simple-table th {
  text-align: left;
  width: 35%;
  font-weight: 600;
  color: #222;
  background-color: #fff;
}

.simple-table td {
  color: #333;
  background-color: #fff;
}

/*会社概要マップ*/
.map {
  max-width: 900px;
  margin: 2em auto;
  aspect-ratio: 16 / 9;
  text-align: center;
}
.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}


/* ===== エクセルではない商品説明テーブル ===== */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1em;
}

.table-responsive .table {
  width: 100%;
  border-collapse: collapse;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  background: #fff;
  color: #111;
  font-size: 14px;
  line-height: 1.4;
  border: 1px solid #ddd;
  min-width: 600px;
}

/* 枠線 */
.table-responsive .table th,
.table-responsive .table td {
  border: 1px solid #ddd;
  padding: 8px 10px;
  text-align: center;
  vertical-align: middle;
}

/* ヘッダー行（落ち着いたグレーにオレンジライン） */
.table-responsive .table th {
  background: #f2f2f2;   /* グレー基調 */
  color: #111;
  font-weight: 600;
  border-bottom:1px solid #f19f42; /* オレンジは下線で控えめに */
}

/* 2行目以降の見出しセル（厚みなど） */
.table-responsive .table tr th.table-secondary {
  background: #f7f7f7; /* 薄グレー */
  color: #111;
  font-weight: 600;
}

/* データセル */
.table-responsive .table td {
  color: #333;
}

/* 交互の行に薄い背景 */
.table-responsive .table tr:nth-child(even) td {
  background: #fafafa;
}

/* ✅ ホバー効果なし */


/* youtubeのスタイル */
/* アスペクト比 16:9 のレスポンシブラッパー */
.embed-responsive-16by9 {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 の比率 → 9/16 = 0.5625 */
  height: 0;
  overflow: hidden;
}

.embed-responsive-16by9 iframe,
.embed-responsive-16by9 video,
.embed-responsive-16by9 object,
.embed-responsive-16by9 embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* 下マージン 2（Bootstrap の mb-2 相当） */
.mb-2 {
  margin-bottom: 0.5rem; /* Bootstrap 4 は 1rem = 16px として 0.5rem = 8px */
}
