@charset "UTF-8";
/* コンテンツ最大幅 */
/* color */
/* ============================================ */
/* font */
/* ============================================ */
.circle {
  border-radius: 50%;
  overflow: hidden;
}
@media all and (max-width: 1025px) {
  .circle {
    border-radius: 999px;
  }
}
.circle a {
  min-height: 64px;
}

.form__ttl-bottom {
  font-size: 1.8rem;
}

/* =========================
   テーブル共通セクション
========================= */
.table-section {
  margin: 60px auto;
}

/* タイトル */
.table__ttl {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 10px;
}

.table__ttl-wrap {
  background: #f8f7f2;
  padding: 20px;
  margin-bottom: 30px;
  text-align: center;
}

/* =========================
   テーブル基本スタイル
========================= */
.table-section table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}

.table-section th,
.table-section td {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  border: 1px solid #ccc;
  padding: 6px 10px;
}

.table-section th {
  background: #494a47;
  color: #fff;
  font-weight: normal;
  text-align: center;
}

.table-section td {
  vertical-align: middle;
  text-align: center;
}

/* =========================
   親行・開閉
========================= */
.parent-row {
  background: #fff;
}

.product-name {
  font-weight: bold;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  cursor: pointer;
  border-top: none !important;
  border-right: none !important;
  border-left: 1px solid #ccc !important;
  border-bottom: 1px solid #ccc !important;
  box-sizing: border-box;
  text-align: left !important;
}

.product-text {
  display: block;
  margin-left: 5px;
  font-weight: 600;
}

.toggle-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
}

.toggle-btn {
  width: 22px;
  height: 22px;
  border: 1px solid #333;
  text-align: center;
  line-height: 20px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  margin-top: 3px;
}

.summary-table {
  width: 300px !important;
  margin: 15px 0 0 auto;
  min-width: auto !important;
}

.summary-table th {
  background: #f8f7f2;
  color: #333;
  border: 1px solid #ccc;
  padding: 5px;
  text-align: center;
}

.summary-table td {
  border: 1px solid #ccc;
  padding: 5px;
}

/* =========================
   子行
========================= */
.child-row {
  display: none;
  background: #f9f9f9;
}

.child-row.is-open {
  display: table-row;
}

.child-row td:first-child {
  border-top: none !important;
}

.child-row.is-open > td:nth-child(2) {
  text-align: left !important;
  padding: 6px 16px !important;
}

/* =========================
   フォーム要素
========================= */
[type=number] {
  width: 100%;
  border: 1px solid #ccc;
  background: #fff;
  padding: 5px;
  font-size: 16px;
  line-height: 1.2;
}

/* =========================
   リンク（寸法図）
========================= */
.link-dim {
  font-size: 14px;
  color: #0066cc;
  text-decoration: underline;
  cursor: pointer;
}

/* =========================
   レスポンシブ
========================= */
.sp-scroll {
  display: none;
}

@media (max-width: 1180px) {
  .table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .table-section table {
    min-width: 900px;
  }
  .table__ttl {
    font-size: 20px;
  }
  .sp-scroll {
    display: block;
    margin-top: 6px;
  }
}
/* =========================
   モーダル
========================= */
#modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1000;
}

.modal-div {
  background: #fff;
  width: 90%;
  max-width: 600px;
  padding: 10px;
  position: fixed;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
          box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.modal-close {
  position: absolute;
  top: 0;
  right: 0;
  padding: 6px 10px;
  background: #000;
  color: #fff;
  cursor: pointer;
}

.product-detail {
  margin: 60px 0;
  border: 3px solid #CCC;
  padding: 20px 40px;
}
@media all and (max-width: 600px) {
  .product-detail {
    padding: 20px;
  }
}
.product-detail h4 {
  text-align: center;
  font-size: 20px;
  margin-bottom: 15px;
  font-weight: 600;
}
.product-detail p {
  margin-bottom: 8px;
}
.product-detail p:last-child {
  margin-bottom: 0;
}

/* ソーラー金具の部材名セル */
.solar-item-cell {
  vertical-align: middle !important;
  background-color: #fff !important;
  border-right: 1px solid #ccc !important;
}

.panel-size-label {
  vertical-align: middle !important;
  line-height: 1.3;
  padding: 10px !important;
  border-right: 1px solid #ccc !important;
}
.panel-size-label p {
  margin-bottom: 12px;
  font-size: 14px !important;
  /* 文字を少し小さくして収まりを良くする */
  text-align: left;
}

@media all and (max-width: 1367px) {
  .child-row.is-open > td.panel-size-content {
    padding: 6px !important;
  }
}

/* 入力エリアの横並びを確実に */
.panel-size-inputs {
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
  -webkit-box-orient: horizontal !important;
  -webkit-box-direction: normal !important;
      -ms-flex-direction: row !important;
          flex-direction: row !important;
}

.item-pack {
  padding: 14px 10px !important;
}

.size-field {
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
  -webkit-box-align: center !important;
      -ms-flex-align: center !important;
          align-items: center !important;
}
.size-field:last-child {
  margin-right: 0 !important;
}

.size-input {
  width: 50% !important;
  /* 少し細くして横並びを安定させる */
  height: 28px !important;
  margin: 0 5px !important;
}
@media all and (max-width: 600px) {
  .size-input {
    margin: 0 3px !important;
  }
}

.mn-span {
  font-size: 14px;
}

/* 一応明示的に太字指定 */
select optgroup {
  font-weight: bold;
}

#selectedText {
  font-size: 18px;
  margin-left: 5px;
}

.datepicker-container {
  position: relative;
  display: inline-block;
}

.datepicker-container::after {
  content: "";
  position: absolute;
  right: 5px;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  margin-top: -3px;
  width: 7px;
  height: 7px;
  /* 右下（または左下）の2辺だけborderをつけて「くの字」にする */
  border-bottom: 2px solid #333;
  /* 矢印の色と太さ */
  border-right: 2px solid #333;
  /* 45度回転させて下を向かせる */
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
  pointer-events: none;
  /* 矢印を触っても入力を邪魔しない */
}

/* input側の調整（右側に矢印が被らないように余白を作る） */
.form__middle {
  padding-right: 40px !important;
  cursor: pointer;
  /* クリックできる感が出る */
}

.table__ttl-wrap.sec .table__ttl {
  margin-bottom: 0;
}

.table__ttl-wrap.sec {
  padding: 14px;
  margin-top: 40px;
}

.contact__img-blk ul {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  /* gapを0にすることで線を繋げやすくします */
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact__img-blk ul li {
  position: relative;
  text-align: center;
}

/* 数字のアイコン */
.step-num {
  width: 50px;
  height: 50px;
  line-height: 50px;
  background: #555;
  /* ステップが進むにつれて色を変える場合はここを調整 */
  color: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin: 0 auto 20px;
  border-radius: 50%;
  /* 角丸 */
  font-weight: bold;
  font-size: 26px;
  position: relative;
  z-index: 2;
}

/* ステップ間の線 */
.contact__img-blk ul li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 25px;
  /* 数字の中心に合わせる */
  left: 50%;
  /* 数字の真ん中から */
  width: 100%;
  /* 次のアイテムの真ん中まで */
  height: 4px;
  background: #ccc;
  /* 線の色 */
  z-index: 1;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}

.contact__img-blk ul li:nth-child(3)::after {
  background: #9C9C9C;
}

.contact__img-blk ul li:nth-child(4)::after {
  background: #7A7A7A;
}

.contact__img-blk ul li:nth-child(5)::after {
  background: #555555;
}

/* ステップごとの色の変化（例） */
.step-1 .step-num {
  background: #ababab;
}

.step-2 .step-num {
  background: #a3a3a3;
}

.step-3 .step-num {
  background: #8f8f8f;
}

.step-4 .step-num {
  background: #7b7b7b;
}

.step-5 .step-num {
  background: #676767;
}

/* 画像の調整 */
.contact__img-blk ul li img {
  width: 75%;
  max-width: 120px;
  /* 必要に応じて制限 */
  margin: 0 auto 10px;
  height: auto;
  display: block;
}

/* テキストの調整 */
.contact__img-blk ul li p {
  font-size: 15px;
  /* 6列だと少し小さめが綺麗です */
  line-height: 1.4;
  font-weight: 700;
  margin: 0;
}

/* --- スマホ用レイアウト (768px以下) --- */
@media screen and (max-width: 768px) {
  .contact__img-blk ul {
    grid-template-columns: repeat(3, 1fr);
    gap: 36px 16px;
    /* 少し広げる */
  }
  .contact__img-blk ul li:not(:nth-child(3n))::after {
    content: "";
    position: absolute;
    top: 18px;
    left: 50%;
    width: 100%;
    height: 3px;
    /* 線も少し太く */
    background: #ccc;
    z-index: 1;
  }
  .contact__img-blk ul li:nth-child(3n)::after {
    display: none;
  }
  .contact__img-blk ul li .step-num {
    width: 38px;
    /* 30 → 38 */
    height: 38px;
    font-size: 16px;
    margin-bottom: 12px;
  }
  .contact__img-blk ul li img {
    width: 100%;
    max-width: 95px;
    /* 80 → 95 */
  }
  .contact__img-blk ul li p {
    font-size: 14px;
    /* 13 → 14 */
    line-height: 1.4;
    word-break: keep-all;
    /* 日本語ならこっちの方が自然 */
  }
}