@charset "utf-8";
/* Reusable content components for DC202608 pages */

.page-hero { text-align: center; margin: 30px auto; max-width: 700px; }

/* トップページのみ: ヒーロースライダーの上に重ねて表示する */
.hero .page-hero {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  margin: 0;
  max-width: 90%;
}

.article-list { max-width: 900px; margin: 0 auto; }
.article-list-item {
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}
.article-list-item:last-child { border-bottom: 0; }
.article-list-item h3 {
  font-size: 16px;
  color: var(--text-dark);
  margin: 0 0 10px;
}
.article-list-item p { margin: 0 0 12px; }

.lead-heading {
  text-align: center;
  font-size: 20px;
  line-height: 2;
  color: var(--text-muted);
  font-weight: 700;
  margin: 30px auto;
  max-width: 900px;
}
.lead-heading .accent-orange { color: #e69138; }
.lead-heading .accent-red { color: #e06666; }

.content-block { max-width: 900px; margin: 0 auto 24px; }
.content-block p { margin: 0 0 16px; }
.content-block h4 { font-size: 16px; color: var(--text-dark); margin: 0 0 8px; }
.content-block ul { margin: 0 0 20px; padding-left: 1.4em; }
.content-block ul li { margin-bottom: 8px; }

.enclosure-box {
  max-width: 640px;
  margin: 20px auto;
  padding: 20px 24px;
  border: 1px solid #dddddd;
  background: #fafafa;
}
.enclosure-box p { margin: 0 0 10px; }
.enclosure-box p:last-child { margin-bottom: 0; }

.lead-text { text-align: center; font-size: 16px; margin: 0 auto 20px; max-width: 700px; }

.enclosure-heading {
  border-left: 4px solid var(--teal-deep);
  padding-left: 12px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-muted);
  margin: 46px auto 20px;
  max-width: 900px;
}

.section-title {
  text-align: center;
  font-weight: 700;
  font-size: 22px;
  color: var(--text-dark);
  margin: 0 0 20px;
}

.price-section-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-muted);
  text-align: left;
  max-width: 900px;
  margin: 36px auto 12px;
}

/* ---------- Video embed ---------- */
.video-embed {
  max-width: 800px;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  position: relative;
  background: #000;
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-caption { text-align: center; font-size: 14px; margin-top: 10px; }

/* ---------- CTA banner links ---------- */
.cta-banner { text-align: center; margin: 24px auto; }
.cta-banner img { margin: 0 auto; }

.promo-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: var(--max);
  margin: 0 auto 20px;
}
@media (min-width: 700px) {
  .promo-row { grid-template-columns: 1fr 1fr; }
}

/* ---------- Price tables ---------- */
.price-table-wrap { max-width: 900px; margin: 0 auto 20px; overflow-x: auto; }
table.price-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
}
table.price-table th, table.price-table td {
  border: 1px solid #cccccc;
  text-align: center;
  vertical-align: middle;
  padding: 10px 8px;
  line-height: 1.5;
}
table.price-table thead th {
  background: #cccccc;
  color: #000000;
  font-size: 13px;
}
table.price-table tbody td { background: #ffffff; color: #000000; }

/* ---------- Photo gallery with zoom ---------- */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  max-width: var(--max);
  margin: 0 auto 20px;
}
@media (min-width: 700px) {
  .photo-gallery.cols-4 { grid-template-columns: repeat(4, 1fr); }
  .photo-gallery.cols-3 { grid-template-columns: repeat(3, 1fr); }
}
.photo-gallery figure {
  margin: 0;
  position: relative;
  background: #ffffff;
  box-shadow: 0 1px 14px -3px rgba(0, 0, 0, .3);
  transition: box-shadow .3s ease;
}
.photo-gallery figure:hover { box-shadow: 0 2px 18px -2px rgba(0, 0, 0, .4); }
.photo-gallery a { display: block; cursor: zoom-in; }
.photo-gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  box-sizing: border-box;
  border: 10px solid #ffffff;
}
@media (max-width: 640px) {
  .photo-gallery img { border-width: 8px; }
}
.photo-gallery figcaption {
  text-align: center;
  font-size: 13px;
  padding: 6px 4px;
  background: rgba(255, 255, 255, .85);
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .8);
  z-index: 400;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.lightbox-overlay.is-open { display: flex; }
.lightbox-overlay img { max-width: 90vw; max-height: 80vh; width: auto; }
.lightbox-caption { position: absolute; bottom: 30px; left: 0; right: 0; text-align: center; color: #ffffff; font-size: 15px; }
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  color: #ffffff;
  font-size: 30px;
  line-height: 1;
  background: transparent;
  border: 0;
  cursor: pointer;
}

/* ---------- Tabs (step flow) ---------- */
.tabs { max-width: 900px; margin: 0 auto 20px; }
.tabs-nav { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tabs-nav button {
  flex: 1 1 auto;
  min-width: 140px;
  background: #e0e0e0;
  border: 1px solid #a3a3a3;
  color: var(--text-dark);
  padding: 10px 8px;
  font-size: 13px;
  cursor: pointer;
}
.tabs-nav button.is-active { background: var(--teal); color: #fff; }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; }
.tab-panel h3 { text-align: center; }
.tab-panel img { margin: 0 auto 12px; }
.tab-panel p { color: var(--text-dark); }

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: 900px; margin: 0 auto 20px; }
.faq-item { border-bottom: 1px solid #ddd; }
.faq-question {
  display: block;
  width: 100%;
  text-align: left;
  background: var(--teal-deep);
  color: #fff;
  border: 0;
  padding: 14px 20px;
  font-size: 15px;
  cursor: pointer;
}
.faq-answer {
  display: none;
  padding: 16px 20px;
  background: #fafafa;
}
.faq-answer h4 { margin: 0 0 8px; color: var(--text-dark); }
.faq-answer p { margin: 0; }
.faq-item.is-open .faq-answer { display: block; }

/* ---------- Mini slideshow (company photos) ---------- */
.mini-slideshow { position: relative; height: 300px; max-width: 600px; margin: 20px auto; overflow: hidden; }
.mini-slideshow img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.2s ease;
}
.mini-slideshow img.is-active { opacity: 1; }

/* ---------- Map embed ---------- */
.map-embed { max-width: 900px; margin: 0 auto 20px; }
.map-embed iframe { width: 100%; height: 450px; border: 0; display: block; }

/* ---------- Info / news table ---------- */
.info-table-wrap { max-width: 900px; margin: 0 auto 20px; overflow-x: auto; }
table.info-table { border-collapse: collapse; width: 100%; font-size: 14px; }
table.info-table th, table.info-table td {
  border: 1px solid #dddddd; padding: 10px 14px; text-align: left; vertical-align: top; line-height: 1.6;
}
table.info-table th { background: #ebebeb; color: #616061; width: 22%; white-space: nowrap; }
table.info-table td { background: #ffffff; color: #5c595c; }
table.info-table td p { margin: 0 0 8px; }
table.info-table td p:last-child { margin-bottom: 0; }

/* ---------- Address block ---------- */
.address-block {
  max-width: 900px;
  margin: 0 auto 20px;
  background: #f5e7ce;
  border: 1px solid #cccccc;
  padding: 18px 20px;
  text-align: left;
  font-size: 15px;
  line-height: 1.9;
}

@media (max-width: 640px) {
  .section { padding: 30px 16px; }
  .section-title { font-size: 19px; }
}
