@charset "UTF-8";

/* 文字色 */
.lighting header #detailCategory,
.lighting header h2 {
  color: var(--lighting-dark);
}

.optics header #detailCategory,
.optics header h2 {
  color: var(--optics-dark);
}

.lighting header h2 span {
  color: var(--lighting);
}

.optics header h2 span {
  color: var(--optics);
}

/* header */
#examContent header {
  position: relative;
}

#examContent header h2 {
  margin: 10px 0 0 -20px;
  text-indent: 20px;
}

#examContent header h2::after {
  display: none;
}

#examContent header h2 span {
  padding-left: 20px;
  font-size: 80%;
  font-weight: normal;
  display: inline-block;
  text-indent: 0;
}

#examContent header h2.newIcon {
  padding-left: 46px;
}

#examContent header h2.newIcon::before {
  content: "";
  display: block;
  position: absolute;
  left: 15px;
  top: 0;
  width: 44px;
  height: 100%;
  background: url(../img/new_icon.svg) 0 50% / 100% auto no-repeat;
}

#examContent header p {
  margin: 0;
}

#examContent header #detailCategory {
  padding-left: 46px;
  min-height: 32px;
}

/* アイコン */
.road header #detailCategory { background: url(../img/icon_road_on.png) 0 0 / 32px 32px no-repeat; }
.crimeprevention header #detailCategory { background: url(../img/icon_crimeprevention_on.png) 0 0 / 32px 32px no-repeat; }
.tunnel header #detailCategory { background: url(../img/icon_tunnel_on.png) 0 0 / 32px 32px no-repeat; }
.park header #detailCategory { background: url(../img/icon_park_on.png) 0 0 / 32px 32px no-repeat; }
.scene header #detailCategory { background: url(../img/icon_scene_on.png) 0 0 / 32px 32px no-repeat; }
.sports header #detailCategory { background: url(../img/icon_sports_on.png) 0 0 / 32px 32px no-repeat; }
.factory header #detailCategory { background: url(../img/icon_factory_on.png) 0 0 / 32px 32px no-repeat; }
.highbay header #detailCategory { background: url(../img/icon_highbay_on.png) 0 0 / 32px 32px no-repeat; }
.signlight header #detailCategory { background: url(../img/icon_sign_on.png) 0 0 / 32px 32px no-repeat; }
.commerce header #detailCategory { background: url(../img/icon_commerce_on.png) 0 0 / 32px 32px no-repeat; }
.infodisplay header #detailCategory { background: url(../img/icon_infodisplay_on.png) 0 0 / 32px 32px no-repeat; }
.sterilize header #detailCategory { background: url(../img/icon_sterilize_on.png) 0 0 / 32px 32px no-repeat; }
.watertreatment header #detailCategory { background: url(../img/icon_watertreatment_on.png) 0 0 / 32px 32px no-repeat; }
.environmentsim header #detailCategory { background: url(../img/icon_environmentsim_on.png) 0 0 / 32px 32px no-repeat; }
.halogenheating header #detailCategory { background: url(../img/icon_halogenheating_on.png) 0 0 / 32px 32px no-repeat; }
.plantraising header #detailCategory { background: url(../img/icon_plantraising_on.png) 0 0 / 32px 32px no-repeat; }
.control header #detailCategory { background: url(../img/icon_control_on.png) 0 0 / 32px 32px no-repeat; }

#examContent header .addMyList {
  display: block;
  color: #fff;
  background: #0B183D;
  border-radius: 5px;
  padding: 8px 10px;
}

/* スライダー */
/* 画像とサムネイル */
#overviewPhoto {
  background: #fff;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 10%);
  box-sizing: border-box;
}

#overviewPhoto .slider {
  margin: 0;
  padding: 0;
  list-style: none;
  background-color: transparent !important;
}

#overviewPhoto .slider li {
  margin: 0;
}

#overviewPhoto .table-cell {
  height: 570px !important;
  /* height: 800px !important; */
}

#overviewPhoto .table-cell span {
  display: flex;
  align-items: center;
  height: 570px !important;
  /* height: 800px !important; */
}

#overviewPhoto .table-cell span img {
  margin: auto;
  max-width: 960px !important;
  max-height: none !important;
}

/* まるぽちのリンク */
#overviewPhoto .slick-dots {
  margin: 20px auto 0;
  padding: 0;
  list-style: none;
}
#overviewPhoto .slick-dots li,
#overviewPhoto .slick-dots li button {
  width: 40px;
}
#overviewPhoto .slick-dots li button:before {
  left: calc(50% - 8px);
  font-size: 1px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
  color: transparent;
  opacity: 1;
}

#overviewPhoto .slick-dots li.slick-active button:before {
  background: #adadad;
}

/* サムネイル */
.thumb-item-nav {
  display: none;
}

/* モーダル */
#modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.80);
  z-index: 1000;
  display: none;
  cursor: pointer;
}
#modal > div {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
}
#modal > div > p {
  margin: auto;
  padding: 20px;
}
#modal span {
  display: inline-block;
  position: relative;
}
#modal img {
  border: 2px solid rgba(255, 255, 255, 0.6);
  max-width: 100%;
  vertical-align: bottom;
}
#modal span:after {
  content: '×';
  font-size: 26px;
  line-height: 40px;
  color: #000;
  position: absolute;
  z-index: 100;
  background: rgba(255, 255, 255, 0.6);
  display: inline-block;
  width: 40px;
  text-align: center;
  vertical-align: bottom;
  top: -40px;
  right: 0;
  border-radius: 5px 5px 0 0;
}

/* 施設概要等 */
#overviewText {
  margin-top: 50px;
}

#fullIndex #overviewText h3 {
  margin: 0;
  font-weight: normal;
  font-size: clamp(16px, 2.08vw, 18px) !important;
}

#fullIndex #overviewText h3:first-child,
#overviewText h3::before,
#overviewText > p:empty {
  display: none;
}

#overviewText dl dt:not(:first-of-type),
#overviewText dl dd:not(:first-of-type),
#fullIndex #overviewText h3,
#overviewText h3 + p {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #b6b6b6;
}

#overviewText dd p {
  margin: 0;
  padding: 0;
}

#overviewText dd {
  overflow: hidden;
}

#overviewText h4 {
  margin: 0;
  padding: 0;
}

#overviewText dd h4 {
  float: left;
}

#overviewText h4::after {
  content:"：";
  background: transparent;
  margin-left: 0 !important;
  padding-left: 0;
  position: static;
  width: 1em;
}

#overviewText p + h4 {
  clear: left;
}

#overviewText .mapLink a {
  display: block;
  text-align: center;
  color: #fff;
  background: #0B183D;
  border-radius: 5px;
  padding: 8px 10px;
  font-size: 90%;
}

#overviewText .mapLink a:hover {
  background: #5b637a;
}

/* お客さまの声 */
#examComment {
  background: #fff;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 10%);
  box-sizing: border-box;
}

#fullIndex #examComment h3 {
  text-align: center;
  margin-top: 0;
  color: #5E3634;
  font-weight: normal;
}

#fullIndex #examComment p + h3 {
  margin-top: 1em;
  padding-top: 1em;
  border-top: 1px solid #5E3634;
}

#fullIndex #examComment h3 strong {
  color: #5E3634;
}

#fullIndex #examComment h3::before {
  display: none;
}

#examComment p:first-child {
  margin-top: 0;
}

/* 施設報告、環境照明賞 */
#examLink {
  margin: 40px 0 0 30px;
  padding: 0;
  list-style: none;
}
#examLink li {
  padding-left: 18px;
}

#examLink li::before {
  background: url(https://www.iwasaki.co.jp/assets/img/btn_arrow_right_gray_ic02.svg) -0.28em center no-repeat;
  background-size: 1.2em auto;
  content: "";
  display: inline-block;
  margin-left: -18px;
  min-height: 20px;
  vertical-align: middle;
  width: 18px;
}

/* 主な納入器具 */
#examEquipment {
  background: #eee;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 10%);
  box-sizing: border-box;
}

#fullIndex #examEquipment h3 {
  margin-top: 0;
  padding: 0 0 5px;
  border-bottom: 2px solid #f6f6f6;
}

#fullIndex #examEquipment h3::before {
  display: none;
}

#examEquipment ul {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  columns: auto 2;
  column-gap: 40px;
}

#examEquipment ul.singleLi {
  columns: auto 1;
}

#examEquipment ul li {
  margin: 0 0 20px;
}

#examEquipment ul li p {
  margin: 0;
  padding: 0;
}

#examEquipment ul li p.child {
  margin-top: 5px;
  padding-left: 1em;
}

#examEquipment ul h4 {
  margin: 0;
  padding: 0;
}

#examEquipment ul h4::after {
  display: none;
}

/* 同カテゴリの納入事例 */
/*  common.css に記述 */

/* 前ページへ戻る */
#fullIndex footer {
  height: 56px;
  margin-top: clamp(60px, 15.625vw, 120px);
  padding-left: 80px;
  position: relative;
}
#fullIndex footer a {
  position: relative;
  top: calc(50% - .9em);
}
#fullIndex footer a::before,
#fullIndex footer a::after {
  content: "";
  display: block;
  margin: auto;
  order: 2;
  position: absolute;
  top: 0;
  bottom: 0;
}
#fullIndex footer a::before {
  margin: auto 36px auto -40px;
  background: url(https://www.iwasaki.co.jp/assets/img/btn_arrow_return_gray_ic01.svg) 50% 50% no-repeat;
  width: 24px;
  height: 24px;
  transition: all .7s;
  right: calc(100% + 8px);
  z-index: 1;
}
#fullIndex footer a::after {
  background-color: #f6f6f6;
  box-shadow: -8px -8px 16px #fff, 8px 8px 8px rgba(11, 24, 61, .24);
  box-sizing: border-box;
  border-radius: 28px;
  width: 56px;
  height: 56px;
  right: calc(100% + 24px);
  z-index: 0;
}
@media(hover) {
    #fullIndex footer a:hover::before {
        transform:rotate(-60deg)
    }
}
/* レスポンシブ */
@media (min-width: 769px) {
/* header */
  #examContent header h2 + p {
    margin-right: 9em;
  }

  #examContent header .addMyList {
    position: absolute;
    right: 0;
    bottom: 0;
  }

  #examContent header .addMyList:hover {
    background: #5b637a;
  }

  /* スライダー */
  /* 画像とサムネイル */
  #overviewPhoto {
    margin-top: 40px;
    padding: 40px 120px;
    border-radius: 40px;
  }

  #overviewPhoto .slick-arrow {
    width: 50px;
    height: 50px;
    background: rgba(91,99,122,40%);
    border-radius: 50%;
    top: calc(50% - 25px) !important;
  }
  
  #overviewPhoto .slick-arrow::before {
    display: none;
  }
  
  #overviewPhoto .slick-prev {
    background: url(../img/arrow_left_white.svg) no-repeat 50% 50% rgba(91,99,122,40%);
    left: -85px;
  }
  
  #overviewPhoto .slick-next {
    background: url(../img/arrow_right_white.svg) no-repeat 50% 50% rgba(91,99,122,40%);
    right: -85px;
  }

  #overviewPhoto .slick-current .table-cell {
    background: #eee;
    border-radius: 30px;
  }

  /* 施設概要等 */
  #overviewText {
    display: grid;
    grid-template-columns: max-content max-content auto 10rem;
  }

  #overviewText dl {
    display: contents;
  }

  #fullIndex #overviewText h3,
  #fullIndex #overviewText dt {
    grid-column: 1 / 2;
    padding-right: 1rem;
  }

  #fullIndex #overviewText > h4 {
    grid-column: 2 / 3;
    padding-right: 1rem;
  }

  #fullIndex #overviewText > h3 + p + h4 {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 2px solid #b6b6b6;
  }

  #fullIndex #overviewText h3 + p,
  #fullIndex #overviewText dd {
    grid-column: 2 / 4;
    margin-right: 1rem;
  }

  #fullIndex #overviewText > h4 + p {
    grid-column: 3 / 4;
    margin: 0;
  }

  #fullIndex #overviewText > h3 + p + h4 + p {
    margin-top: 10px;
    padding-top: 10px;
    margin-right: 1rem;
    border-top: 2px solid #b6b6b6;
  }

  #overviewText .mapLink {
    margin: 0;
    width: 10rem;
    grid-column: 4 / 5;
    grid-row: 1 / 3;
    grid-row-start: 1;
  }

  /* お客さまの声 */
  /* 主な納入器具 */
  #examComment,
  #examEquipment {
    margin-top: 50px;
    padding: 40px;
    border-radius: 40px;
  }
}

@media (max-width: 768px) {
  #examContent header .addMyList {
    margin: 20px auto;
    width: fit-content;
  }

  /* スライダー */
  /* 画像とサムネイル */
  #overviewPhoto {
    margin: 20px 0 0 calc(clamp(20px,5.2vw,40px) * -1);
    padding: 0;
    width: 100vw;
  }

  #overviewPhoto .slick-arrow,
  #overviewPhoto .slick-arrow::before {
    display: none;
  }

  #overviewPhoto .slick-slide {
    width: 100vw !important;
  }

  #overviewPhoto .table-cell,
  #overviewPhoto .table-cell span {
    width: 100vw !important;
    height: 80vw !important;
  }

  #overviewPhoto .table-cell span img {
    max-width: 100vw !important;
    max-height: 80vw !important;
  }

  .table-row + p {
    padding: 0 clamp(20px,5.2vw,40px);
  }

  /* まるぽちのリンク */
  #overviewPhoto .slick-dots li,
  #overviewPhoto .slick-dots li button {
    width: 20px;
  }
  #overviewPhoto .slick-dots li button:before {
    left: calc(50% - 4px);
    width: 8px;
    height: 8px;
  }

  /* 施設概要等 */
  #overviewText {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
  }

  #overviewText dl {
    margin: 0 0 10px calc(clamp(20px,5.2vw,40px) * -1);
    padding: 0 clamp(20px,5.2vw,40px) 10px;
    width: 100vw;
    border-bottom: 2px solid #b6b6b6;
    box-sizing: border-box;
  }

  #overviewText dl dd:not(:first-of-type),
  #fullIndex #overviewText h3,
  #overviewText h3 + p {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
  }

  #overviewText dd,
  #overviewText h3 + p,
  #overviewText h4 + p {
    margin: 0 0 0 1em;
  }

  #overviewText h4 {
    font-size: 1rem;
    font-weight: normal;
  }

  #overviewText .mapLink {
    margin: 10px 0 0 calc(clamp(20px,5.2vw,40px) * -1);
    padding: 20px 0 0 0;
    width: 100vw;
    border-top: 2px solid #b6b6b6;
  }
  #overviewText .mapLink a {
    margin: 0 auto;
    width: 9em;
  }

  /* お客さまの声 */
  /* 主な納入器具 */
  #examComment {
    margin: 30px 0 0 calc(clamp(20px,5.2vw,40px) * -1);
    padding: 20px clamp(20px,5.2vw,40px);
    width: 100vw;
  }
  #fullIndex #examComment h3 {
    text-align: left;
  }
  
  #fullIndex #examComment h3 strong {
    display: block;
  }

  /* 施設報告、環境照明賞 */
  #examLink {
    margin: 30px 0;
  }

  /* 主な納入器具 */
  #examEquipment {
    margin: 0 0 0 calc(clamp(20px,5.2vw,40px) * -1);
    padding: 20px 0;
    width: 100vw;
  }
  #fullIndex #examEquipment h3 {
    padding-left: clamp(20px,5.2vw,40px);
  }
  #examEquipment ul {
    margin: 20px clamp(20px,5.2vw,40px) 0;
    padding: 0;
    columns: 1;
  }
}
/* 印刷用 */
@media print {
  #examContent {
    margin-top: 50px;
  }

  /* 非表示 */
  #examContent header h2.newIcon::before,
  #examContent header .addMyList,
  #overviewPhoto .slick-dots,
  #overviewPhoto .slick-prev,
  #overviewPhoto .slick-next,
  #overviewText .mapLink,
  #fullIndex footer {
    display: none !important;
  }

  /* シャドウなし */
  #overviewPhoto,
  #examComment,
  #examEquipment {
    padding: 0;
    box-shadow: none;
  }

  /* 区切り線 */
  #examComment,
  #overviewText,
  #examEquipment,
  #examSimilar {
    padding-top: 40px;
    border-radius: 0;
    border-top: 2px solid #666;
  }

  /* スライダー */
  #overviewPhoto .table-cell,
  #overviewPhoto .table-cell span {
    height: auto !important;
  }
  #overviewPhoto .slick-current .table-cell {
    background: transparent;
  }
  /* カレントのスライド以外を非表示に */
  .slick-track,
  .slick-slide {
    width: 100% !important;
    height: auto !important;
    transform: none !important;
  }
  .slick-initialized .slick-slide {
    display: none !important;
  }
  .slick-initialized .slick-current {
    display: block !important;
    left: 0 !important;
    opacity: 1 !important;
  }

  /* 施設概要等 */
  #overviewText {
    grid-template-columns: max-content auto;
  }

  /* 主な納入器具 */
  #examEquipment {
    background: transparent;
  }
}