@charset "UTF-8";

/* ==============================================================
   #inspection_section — "こんな点検を行います" block
   ============================================================== */

 #inspection_section + div .inner_item:not(.is-other-group) .checked {
    width: auto;
    margin: 0 auto;
    justify-content: center;
  }

#inspection_section + div {
  background-image: linear-gradient(135deg, #000 25%, #fff 25%, #fff 60%, #000 60%, #000 75%, #fff 75%, #fff) !important;
  background-repeat: repeat !important;
  background-position: 0 0 !important;
  background-size: 3px 3px !important;
  padding: 5px !important;
  margin: 45px auto 120px !important;
  width: 100%;
  max-width: 1000px;
  box-sizing: border-box;
  overflow: visible;
}

#inspection_section + div .content_wrapper {
  background: #fff;
  padding: 8px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: visible;
}

#inspection_section + div .heading.block_header_3 {
  background: unset;
}

#inspection_section + div .heading .h {
  margin: 0;
  text-align: center;
  color: #fff;
  background: #939aa1;
  padding: 14px 0;
  font-size: 20px;
  letter-spacing: 0.2em;
  font-weight: bold;
}

#inspection_section + div .wrapper_item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  margin: 30px 26px 20px;
  padding: 0;
}

/* fixed width + zeroed margin-left overrides the CMS's own
   nth-of-type width:23.5%/margin-left:2% rule (see fixes below) */
#inspection_section + div .inner_item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 160px !important;
  margin-right: 60px;
  margin-left: 0 !important;
  margin-bottom: 0;
  text-align: center;
}

#inspection_section + div .inner_item:last-child {
  margin-right: 0;
}

#inspection_section + div .inner_item > a {
  display: block;
  text-decoration: none;
}

#inspection_section + div .inner_item_img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: #faf8f6;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  overflow: hidden;
  flex-shrink: 0;
  padding: 10px;
  box-sizing: border-box;
}

#inspection_section + div .inner_item_img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
}

#inspection_section + div .inner_item_txt {
  width: 100%;
  text-align: center;
}

#inspection_section + div .inner_item_txt p {
  margin: 0;
}

#inspection_section + div .inner_item_txt p:empty,
#inspection_section + div .inner_item_txt p.cms-junk {
  display: none;
}

/* checkbox + label box — inline-flex so the parent's text-align:center
   handles centering (more reliable than margin:auto across CMS widths) */
#inspection_section + div .checked {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  width: 152px;
  text-align: left;
  font-size: 14px;
  line-height: 1.4;
  min-height: 21px;
  margin: 0;
}

#inspection_section + div .checked::before,
#inspection_section + div .checked > span:first-child {
  margin-top: 2px;
}

/* ---- kill every stray bullet in this block, at every nesting level ---- */
#inspection_section + div .inner_item_txt ul,
#inspection_section + div .inner_item_txt li {
  list-style: none !important;
  list-style-type: none !important;
  margin: 0;
  padding: 0;
  gap: 10px;
}

#inspection_section + div .inner_item_txt ul li::marker {
  content: "";
}

#inspection_section + div .other-group li {
  text-align: center;
}

/* ---- "その他" group (4th item, no icon) ---- */
#inspection_section + div .inner_item.is-other-group {
  width: auto;
  align-items: flex-start;
  text-align: left;
  margin-left: auto;
  margin-right: 0;
}

#inspection_section + div .other-group {
  display: flex;
  flex-direction: column;
}

#inspection_section + div .other-list {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
}

#inspection_section + div .other-group li {
  margin-bottom: 14px;
  display: flex;
}

#inspection_section + div .other-group li:last-child {
  margin-bottom: 0;
}

#inspection_section + div .other-label {
  display: flex;
  align-items: center;
  color: #888;
  font-size: 13px;
  margin-bottom: 14px;
  white-space: nowrap;
}

#inspection_section + div .other-label::after {
  content: "";
  display: block;
  flex: 1;
  height: 1px;
  background: repeating-linear-gradient(to right, #ccc 0, #ccc 2px, transparent 2px, transparent 5px);
  margin-left: 8px;
  width: 60px;
}

#inspection_section + div .other-note {
  text-align: right;
  width: 100%;
  color: #888;
  font-size: 13px;
  margin-top: 6px;
}

/* ==============================================================
   Override CMS's own nth-of-type width/margin-left rule
   (the source of the 759–770px misalignment)
   ============================================================== */
#inspection_section + div .composite_box01 .inner_item:nth-of-type(2):nth-last-of-type(3) {
  margin-left: 0;
}

/* ==============================================================
   SP layout (<= 1010px)
   ============================================================== */
@media (max-width: 1010px) {
  #inspection_section + div {
    padding: 4px !important;
    margin: 24px auto 60px !important;
    width: calc(100% - 32px) !important;
  }

  #inspection_section + div .content_wrapper {
    padding: 6px;
  }

  #inspection_section + div .heading .h {
    font-size: 17px;
    letter-spacing: 0.1em;
    padding: 12px 8px;
  }

  #inspection_section + div .wrapper_item {
    flex-direction: column;
    align-items: center;
    margin: 24px 0 4px;
  }

  #inspection_section + div .inner_item {
    margin-right: 0;
    margin-bottom: 32px;
    width: 100%;
    max-width: 280px;
  }

  #inspection_section + div .inner_item_img {
    width: clamp(95px, 22vw, 160px);
    height: clamp(95px, 22vw, 160px);
    margin-bottom: 14px;
  }

  #inspection_section + div .inner_item.is-other-group {
    width: 100% !important;
    max-width: 280px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 30px !important;
    align-items: center !important;
    text-align: center !important;
  }

  #inspection_section + div .other-list {
    width: 100% !important;
    align-items: center !important;
  }

  #inspection_section + div .other-label {
    width: 100% !important;
    display: block !important;
    justify-content: center !important;
    text-align: center !important;
    margin-bottom: 20px;
  }

  #inspection_section + div .other-label::after {
    display: none;
  }

  #inspection_section + div .other-note {
    width: 100% !important;
    display: block !important;
    text-align: center !important;
  }
}

/* ==============================================================
   Extra CMS nth-of-type override at a second breakpoint (920px)
   ============================================================== */
@media screen and (max-width: 920px) {
  #inspection_section + div .composite_box01 .inner_item:nth-of-type(2):nth-last-of-type(3),
  #inspection_section + div .composite_box01 .inner_item:nth-of-type(4):nth-last-of-type(1) {
    margin-left: 0;
  }
}