@charset "utf-8";

/* Block: page-visual */
.page-visual {
  z-index: 1;
  background-image: url("../img/page-visual/page-visual_equipment.jpg");
}

/* section--links */
.equipment__links {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.equipment__link-btn {
  padding: 16px 32px;
}

/* section--equipment */
.section--equipment {
  padding: 104px 0 48px 0;
}

.section--equipment01 {
  background-color: #fff;
}

.section--equipment02 {
  background-color: #d9eaf2;
}

.section--equipment03 {
  background-color: #fcfae8;
}

.equipment__process {
  margin-bottom: 24px;
  padding: 8px 16px;
  border-left: 4px solid #0082c8;
}

.equipment__process-label {
  font-weight: normal;
}

.equipment__process-desc {
  font-size: 1.2em;
}

.equipment__info {
  margin-bottom: 16px;
}

.equipment__info-list {
  display: flex;
  gap: 20%;
  justify-content: center;
  padding: 24px;
  background-color: #fff;
  border-radius: 8px;
}

.equipment__info-item {
  font-size: 1.4em;
  color: #0082c8;
}

/* テーブル本体 */
.equipment__table-wrap {
  position: relative;
  z-index: 0;
}

.equipment__table-wrap::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  border: 1px solid transparent;
  border-radius: 8px;
}

.section--equipment01 .equipment__table-wrap::after {
  border-color: #0082c8;
}

.section--equipment03 .equipment__table-wrap::after {
  border-color: #f6d65c;
}

.equipment__table {
  width: 100%;
  border-collapse: collapse;
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden; /* 角丸を反映させる */
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}

.equipment__table th,
.equipment__table td {
  position: relative;
  z-index: 1;
  width: 25%;
}

/* ヘッダー */
.equipment__table-head {
  background-color: #cce5f6; /* 薄い青 */
}

.equipment__table-heading {
  padding: 16px;
  text-align: center;
  font-weight: normal;
  color: #0082c8;
  border-right: 1px solid #0082c8;
}

.equipment__table-heading:last-child {
  border-right: none;
}

.equipment__table-cell {
  border-right: 1px solid #0082c8;
}

.equipment__table-cell:last-child {
  border-right: none;
}

/* 行 */
.equipment__table-row {
  border-bottom: 1px solid #0082c8;
}

/* セル */
.equipment__table-cell {
  padding: 16px;
  color: #0082c8;
  vertical-align: middle;
}

/* 最終行は下線なし */
.equipment__table-body .equipment__table-row:last-child {
  border-bottom: none;
}

.equipment__factory {
  margin-top: 40px;
}

.equipment__factory-gallery {
  display: flex;
  gap: 24px;
}

.equipment__factory-gallery__figure {
  position: relative;
  padding-top: 32px;
  padding-right: 32px;
}

.equipment__factory-gallery__caption {
  position: absolute;
  top: 0;
  right: -8px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  text-align: center;
  color: #0082c8;
  background-color: rgba(255, 255, 255, 0.6);
  border: 1px solid #0082c8;
  border-radius: 100vw;
}

.equipment__factory-gallery__image {
  border-radius: 15%;
}

.equipment__access {
  overflow: hidden;
  margin-top: -80px;
  padding-top: 120px;
}

.equipment__access-map {
  margin-bottom: -13px;
  width: 100%;
  border-radius: 24px;
}

.equipment__guide {
  margin-top: 40px;
  border-radius: 24px;
}

.equipment__guide-wrap {
  display: flex;
  overflow: hidden;
  border-radius: 24px;
}

.equipment__guide-map {
  width: 55%;
}

.equipment__guide-desc {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 45%;
  padding: 32px;
  background-color: #fff;
}

.equipment__guide-icon {
  display: inline-block;
  width: 6%;
  margin-top: -1px;
}

.equipment__guide-icon img {
  width: 18px;
  height: auto;
}

.equipment__guide-text {
  font-size: 1.1em;
  color: #0082c8;
}

.section--equipment02 .equipment__guide-item {
  display: flex;
  margin-bottom: 16px;
}

.section--equipment02 .equipment__guide-item:last-child {
  margin-bottom: 0;
}

.section--equipment02 .equipment__guide-text {
  width: 94%;
}

.equipment__guide-supplement {
  margin-top: 40px;
  padding-left: 1em;
}

.section--equipment03 .equipment__guide-item {
  margin-bottom: 32px;
}

.section--equipment03 .equipment__guide-item:last-child {
  margin-bottom: 0;
}

.section--equipment01 .equipment__info-list {
  border: 1px solid #0082c8;
}

.section--equipment03 .equipment__info-list {
  border: 1px solid #f6d65c;
}

.section--equipment03 .equipment__guide-wrap
{
  border: 1px solid #f6d65c;
}


/* section--process */
.process__heading {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #0082c8;
}

.process__heading-title {
  font-size: 1.4em;
}

 /* 横スクロール対応の加工フローコンテナ */
 .process__wrapper {
  position: relative;
  overflow: hidden;
  margin: 0 -20px; /* コンテナの余白を打ち消し */
}

.process__scroll-container {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 40px 20px;
  gap: 60px;
  /* スクロールバーを非表示にする */
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.process__scroll-container::-webkit-scrollbar {
  display: none;
}

/* 各工程のアイテム */
.process__item {
  flex: 0 0 auto;
  width: 80%;
  position: relative;
}

.process__inner {
  display: flex;
  gap: 40px;
}

.process__visual {
  width: 50%;
}

.process__desc {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  width: 50%;
  padding: 5% 0;
}

/* ナンバリング */
.process__number {
  font-size: 1.4em;
  margin-bottom: 24px;
  transition: color 0.3s ease;
}

.process__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 40px;
}

/* タイトル */
.process__title {
  font-size: 1.4em;
  margin-bottom: 16px;
}

/* 説明文 */

/* スクロールインジケーター */
.process__indicators {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.process__indicator {
  font-size: 1.4em;
  letter-spacing: 2px;
  transition: .3s;
  cursor: pointer;
  opacity: .4;
}

.process__indicator.is-active {
  opacity: 1;
}

.process__forsp {
  display: none;
  padding: 8px 16px;
  color: #0082c8;
  border-radius: 100vw;
  background-color: #fff;
  border: 1px solid #0082c8;
}

/* スクロールボタン */
.process__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  color: #0082c8;
  background: #fff;
  border: 1px solid #0082c8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  z-index: 10;
}

.process__nav:hover {
  background: #0082c8;
  color: #fff;
  transform: translateY(-50%) scale(1.1);
}

.process__nav--prev {
  left: 10px;
}

.process__nav--next {
  right: 10px;
}

.process__nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: translateY(-50%);
}

.process__spec {
  margin-top: 10%;
}

.process__spec-list {
  display: flex;
  align-items: center;
  gap: 16px;
}

.process__desc-title {
  margin-top: 24px;
  font-size: 1.4em;
}

.process__spec-term {
  width: 25%;
  padding: 8px 16px;
  text-align: center;
  font-weight: normal;
  color: #fff;
  background-color: #0082c8;
  border-radius: 100vw;
}

.process__spec-list {
  margin-bottom: 32px;
}

.process__spec-detail {
  font-size: 1.2em;
}

.equipment-list {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid #0082c8;
}

.equipment-list__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0 auto;
  padding: 0 24px;
}

.equipment-list__item {
  display: flex;
  align-items: center;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  line-height: 1.4;
}

.equipment-list__item:hover {
  color: #0082c8;
}

.equipment-list__item.is-active {
  color: #0082c8;
}

.equipment-list__number {
  font-weight: bold;
  margin-right: 16px;
  min-width: 28px;
  font-size: 1.1em;
}

.equipment-list__details {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.equipment-list__name {
  font-weight: 600;
  margin-right: 12px;
}

.equipment-list__manufacturer {
  font-size: 0.9em;
}

.equipment-list__model {
  font-size: 0.9em;
}






/* レスポンシブ対応 */
@media (max-width: 1024px) {
  .equipment__guide-wrap {
    flex-wrap: wrap;
  }

  .equipment__guide-map {
    width: 100%;
  }

  .equipment__guide-desc {
    width: 100%;
  }

  .equipment-list__grid {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 0 16px;
}

.equipment-list__item {
    font-size: 0.9em;
}

.equipment-list__details {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.equipment-list__name {
    margin-right: 0;
}
}

@media (max-width: 767px) {
  /* section--links */
  .equipment__links {
    flex-wrap: wrap;
  }

  /* section--equipment */
  .equipment__table,
  .equipment__table thead,
  .equipment__table tbody,
  .equipment__table th,
  .equipment__table td,
  .equipment__table tr {
    display: block;
    width: 100%;
  }

  /* 行を縦並びにする */
  .equipment__table-row {
    margin-bottom: 16px;
  }

  /* 見出しセルを左に置かず、ラベル化する */
  .equipment__table-heading {
    display: none !important; /* モバイルではヘッダー非表示 */
  }

  .equipment__table-cell {
    display: flex;
    padding: 10px;
    text-align: left;
  }

  /* 疑似要素でラベルをつける */
  .equipment__table-cell:nth-child(1)::before {
    content: "設備名称：";
    font-weight: bold;
    margin-right: 5px;
    color: #5a5a5a;
    flex-shrink: 0;
  }

  .equipment__table-cell:nth-child(2)::before {
    content: "メーカー：";
    font-weight: bold;
    margin-right: 5px;
    color: #5a5a5a;
    flex-shrink: 0;
  }

  .equipment__table-cell:nth-child(3)::before {
    content: "型式：";
    font-weight: bold;
    margin-right: 5px;
    color: #5a5a5a;
    flex-shrink: 0;
  }

  .equipment__table-cell:nth-child(4)::before {
    content: "台数：";
    font-weight: bold;
    margin-right: 5px;
    color: #5a5a5a;
    flex-shrink: 0;
  }

  .equipment__table-cell {
    border-right: 0;
  }

  .equipment__table-head .equipment__table-row {
    border-bottom: 0;
  }


  .equipment__factory-gallery {
    flex-wrap: wrap;
  }

  .equipment__factory-gallery__item {
    width: 100%;
  }

  /* section--gallery */
  /* section--process */
  .process__item {
    width: 240px;
}

.process__scroll-container {
    gap: 40px;

}

.process__number {
    font-size: 36px;
}

.process__image {
    height: 160px;
}

  .process__inner {
    flex-wrap: wrap;
    gap: 0;
  }

  .process__visual {
    width: 100%;
  }

  .process__desc {
    width: 100%;
  }

  .process__number {
    margin-bottom:  0;
  }

  /* section--process */
  .process__wrapper {
    overflow-x: scroll;
    padding-left: 24px;
  }

  .process__indicator {
    display: none;
  }

  .process__forsp {
    display: inline-block;
  }

  .process__nav {
    display: none;
  }

  .process__spec-term {
    width: 40%;
  }

  .process__desc-title {
    font-size: 1.2em;
  }

  .process__spec-detail {
    font-size: 1em;
  }

  .equipment-list {
    display: none;
  }

}