/* --------------------- 共通設定 --------------------- */
body {
  font-family: "Helvetica Neue", sans-serif;
  padding: 20px;
  background-color: #f9f9f9;
  color: #333;
}

.table-title {
  text-align: center;
  margin-bottom: 20px;
}

.table-title img {
  max-width: 100%;
  height: auto;
}

.table-container {
  overflow-x: auto;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 10px;
}

table {
  border-collapse: collapse;
  width: 100%;
  min-width: 800px;
  table-layout: fixed;
}

th, td {
  padding: 10px 14px;
  border: 1px solid #ccc;
  text-align: left;
  font-size: 14px;
  word-break: break-word;
}

th {
  background-color: #eee;
}

/* 「RECNAD」列の文字サイズを大きくする */
td.you, th.you {
  font-size: 1.2em;
}

td.you {
  background-color: #e0f7fa;
  font-weight: bold;
}

td.positive {
  color: #2e7d32;
}

td.negative {
  color: #d32f2f;
}

td.icon {
  font-size: 1.2em;
}

.highlight {
  font-weight: bold;
  color: #1976d2;
  font-size: 1.05em;
}

.tagline {
  text-align: center;
  font-size: 1.2em;
  color: #333;
  margin-top: 20px;
  background: #f0f0f0;
  padding: 12px;
  border-radius: 6px;
}

/* --------------------- 申込みボタン --------------------- */
.apply-button {
  display: block;       /* インライン要素をブロックに変更 */
  width: 100%;          /* 横幅を100%に */
  padding: 12px 20px;
  background-color: #007bff;
  color: white;
  text-align: center;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  box-sizing: border-box;
  margin-top: 10px;
}
.apply-button:hover {
  background-color: #0056b3;
}
.tagline + .apply-button {
  display: block;
  text-align: center;
}

/* --------------------- 印刷スタイル --------------------- */
@media print {
  body {
    background: white !important;
    color: black !important;
    padding: 0;
  }

  .table-container {
    box-shadow: none !important;
    background: white !important;
    border-radius: 0 !important;
    padding: 0;
  }

  .tagline {
    background: none;
    color: black;
  }

  img {
    display: none !important;
  }

  table {
    font-size: 12px;
    min-width: auto;
  }

  a::after {
    content: "" !important;
  }

  @page {
    size: A4 landscape;
    margin: 15mm;
  }
}

/* --------------------- サポートセクション --------------------- */
.support-section {
  margin-top: 40px;
  background: #fff3e0;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.support-section h2 {
  margin-top: 0;
  color: #e65100;
  font-size: 1.5em;
}

.support-section ul {
  padding-left: 20px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.support-section li {
  margin-bottom: 6px;
}

/* --------------------- 画像・動画 --------------------- */
.responsive-image {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin-top: 15px;
}

.responsive-video {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  padding-top: 25px;
  height: 0;
  overflow: hidden;
  border-radius: 6px;
}

.responsive-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 6px;
}

.video-carousel {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 10px;
  margin-top: 10px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.video-item {
  flex: 0 0 80%;
  max-width: 320px;
  scroll-snap-align: start;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.video-item iframe {
  width: 100%;
  height: 180px;
  border: none;
}

/* --------------------- 注意書きセクション --------------------- */
.note-section {
  background-color: #fffde7;
  padding: 30px 20px;
  border-radius: 10px;
  margin-top: 40px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.note-section h2 {
  color: #f57f17;
  font-size: 1.5em;
  margin-top: 0;
}

.note-section p {
  margin-bottom: 16px;
  line-height: 1.6;
}

.note-section ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.note-section ul li {
  padding-left: 1em;
  position: relative;
  margin-bottom: 8px;
}

.note-section ul li::before {
  font-weight: bold;
  margin-right: 6px;
  position: absolute;
  left: 0;
}

.note-image {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.note-image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.note-image-grid img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}
 /* 右下に固定表示されるボックス */
    .fixed-box {
      position: fixed;
  bottom: 40px; /* ← ここを調整するだけ */
      right: 20px;
      width: 40vw;
      height: auto;
max-height: 50vh; /* 画面の50%までに制限 */
overflow: auto;   /* はみ出したらスクロール */
      background-color: rgba(255,150,26,0.45);
      color: white;
      padding: 10px;
      box-sizing: border-box;
      border-radius: 8px;
      z-index: 1000;
      box-shadow: 0 0 10px rgba(0,0,0,0.3);
      overflow: hidden; /* はみ出し防止 */
    }

    .fixed-box img {
      max-width: 100%;  /* 横幅はボックスの100%まで */
      height: auto;     /* 高さは自動調整 */
      display: block;
      margin: 10px auto 0;
      border-radius: 4px;
    }

    .content {
      height: 2000px;
      padding: 20px;
    }
