/* ##########################################
 * pendant-bracket & chandeling の共通CSS
 * - クラス名の先頭に　 pbc- を付ける
 * ##########################################
 */

/* =====================================================
 * compact-lampの インラインstyle
 * =====================================================
 */
 .pc-bland_icon_inner{
}
.pc-bland_icon_text{
  width: 280px;
  margin: 0 auto;
}
.pc-bland_icon_img{
  padding: 32px 0;
  max-width: 540px;
  margin: 0 auto;
}
@media print, screen and (max-width: 640px) {
.pc-bland_icon_inner{
padding: 48px 0;
}
.pc-bland_icon_text{
  width: 235px;
}
.pc-bland_icon_img{
padding: 16px 24px;
}
}


/* ===============================
 * pbc
 * ===============================
 */

:root{
  --inner-space-x: calc(24px / 375px * 100vw);
  --lh-base: 1.5;
}

img{
  max-width: 100%;
}

.nav__item {
  flex:1;
}

.pbc-hero{
  margin-bottom: 64px;
}


.pbc-section-group{
  /* styleなし、グループ化のためのクラス */
}

.pbc-box{
  border-image-source: linear-gradient(#FAFAFA, #FAFAFA);
  border-image-slice: 0 fill;
  border-image-outset: 0 100vw;
  padding: 48px 0;
  margin-bottom: 64px;
}

.pbc-box__inner .headline{
  padding-inline: 0;
}

.pbc-box__head{
  margin-bottom: 32px;
}

.pbc-box__inner{
  background: #fff;
  padding: 32px 12px;
  margin-bottom: 32px;
  margin-inline: 12px;
}

.pbc-box__inner .pbc-box__inner{
  background: #fafafa;
  max-width: 760px;
  margin-inline: auto;
  padding: 32px 12px;
  border-image-outset: 0 0;
}
.pbc-box__inner > *:last-child{
  margin-bottom: 0;
}

.pbc-video-hero {
  margin-bottom: 64px;
  position: relative;
  min-width: 100vw;
  height: auto;
  transform: translateX(-50%);
  left: 50%;
}


.pbc-box__inner .pbc-lead{
  padding-inline: 0;
}

.pbc-lead {
  font-size: 16px;
  text-align: center;
  line-height: var(--lh-base);
  margin-bottom: 32px;
}

.pbc-lead--loose.pbc-lead--lg{
  line-height: 2;
}

.pbc-text-group{
  padding-inline: var(--inner-space-x);
  display: flex;
  flex-direction: column;
  gap:40px;
  
}

.pbc-text-block{
}
.pbc-text-block > *:last-child{
  margin:0;
}

.pbc-desc{
  font-size: 16px;
  line-height: var(--lh-base);
  margin-bottom: 16px;
}

.pbc-note{
  margin-top: 8px;
  font-size: 15px;
  line-height: var(--lh-base);
}

.pbc-sub-ttl{
  font-size: 18px;
  margin-bottom: 16px;
  font-weight: 500;
}

.pbc-sub-ttl--sm{
  font-size: 16px;
}

.pbc-gallery{
  padding-inline: var(--inner-space-x);
}

.pbc-img-wrap{
  padding-inline: var(--inner-space-x);
  text-align: center;
  margin-bottom: 32px;
}



.pbc-img-wrap--240 img {
  max-width: 240px;
}

.pbc-movie-ttl{
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 16px;
}

.pbc-movie-iframe{
  text-align: center;
  padding-inline: var(--inner-space-x);
  margin-bottom:32px;
  
}

.pbc-product{
  display: flex;
  flex-wrap: wrap;
  gap: 48px 16px;
  margin-bottom: 32px;
}

.pbc-product + .headline{
  margin-top: 64px;
}


.pbc-product__col{
}

.pbc-product__col img{
  min-width:0;
}

.pbc-caption{
  margin-top: 16px;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  line-height: var(--lh-base);
}

.pbc-caption--sm{
  font-size: 14px;
  font-weight: 400;
}

.pbc-separator-x{
  margin-block: 32px;
  background-image: url(/jp/lighting/home/series/compact-lamp/pendant-bracket/img/icon_x.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  height: 46px;
}


.pbc-img-list {
  display: flex;
  flex-direction: column;
  gap:32px;
  align-items: center;
}

.pbc-img-list__item {
  
}
.pbc-btn{
  width:100%;
  margin: 0;
  padding-inline: var(--inner-space-x);
  gap:16px;
}

/* 空間イメージ - works */


.pbc-works{
  margin-bottom: 32px;
  padding-inline: var(--inner-space-x);
}

.pbc-works-movie {
  text-align: center;
  margin-bottom: 32px;
  display: flex;
  flex-wrap: wrap;
  gap:32px;
  justify-content: center;
}

.pbc-works-btn {
  background: none;
  outline: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: opacity 0.3s;
  display: inline-block;
}

.pbc-works-btn:hover{
  opacity: 0.7;
}

.pbc-works-figure {

}

.pbc-works-figure__img {
  position: relative;
}

.pbc-works-figure__img::after{
  position: absolute;
  content: '';
  bottom: 8px;
  right: 8px;
  width: 24px;
  height:24px;
  background-image: url(/jp/lighting/home/series/pbc-common/img/icon_magnify.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.pbc-works-btn--movie .pbc-works-figure__img::after{
  width:60px;
  height:40px;
  top:50%;
  left:50%;
  bottom: auto;
  right: auto;
  transform: translate(-50%, -50%);
  background-image: url(/jp/lighting/home/series/pbc-common/img/icon_play.svg);
}


.pbc-works-figure__caption {
  text-align: left;
  margin-top: 8px;
  color: #666;
  font-size: 12px;
  font-weight: 500;
  line-height: var(--lh-base);
  display:grid;
}

.pbc-works-list {
  --card-margin-bottom : 16px;
  column-count: 2;
  column-gap: 16px;
  margin-bottom: calc(var(--card-margin-bottom) * -1);
}

/* itemの数が少なく、中央揃え＆単純に横並びにする場合に使用 */
.pbc-works-list--few {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.pbc-works-list--few .pbc-works-list__item {
  width: 100%;
}


.pbc-works-list__item {
  display: inline-block;
  width:100%;
  break-inside: avoid;
  margin-bottom: var(--card-margin-bottom);
}


.pbc-works-list__item img {
  height: auto;
}

.pbc-works-list__spacer-pc {
  display: none;
}

.pbc-works-list + .headline{
  margin-top: 32px;
}
.pbc-works--grid3-square .pbc-works-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding: 0;
  list-style: none;
}
.pbc-works--grid3-square .pbc-works-list__item {
  margin: 0;
}
.pbc-works--grid3-square .pbc-works-figure__img {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.pbc-works--grid3-square .pbc-works-figure__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pbc-works--grid3-square .pbc-works-list:has(> .pbc-works-list__item:nth-last-child(2):first-child) {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.pbc-works--grid3-square .pbc-works-list:has(> .pbc-works-list__item:nth-last-child(2):first-child) > .pbc-works-list__item {
  flex: 0 0 auto;
  width: calc((100% - 48px) / 3); 
}

.pbc-works--grid3-square .pbc-works-list > .pbc-works-list__item:nth-last-child(2):first-child {
  grid-column: 1;
}

.pbc-works--grid3-square .pbc-works-list > .pbc-works-list__item:nth-last-child(2):first-child + .pbc-works-list__item {
  grid-column: 3;
}
@media (max-width:768px){
  .pbc-works--grid3-square .pbc-works-list{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .pbc-works--grid3-square .pbc-works-list:has(> .pbc-works-list__item:nth-last-child(2):first-child) {
    display: grid;
  }
  .pbc-works--grid3-square .pbc-works-list:has(> .pbc-works-list__item:nth-last-child(2):first-child) > .pbc-works-list__item {
    width: auto;
  }

  .pbc-works--grid3-square .pbc-works-list > .pbc-works-list__item:nth-last-child(2):first-child {
    grid-column: auto;
  }
  
  .pbc-works--grid3-square .pbc-works-list > .pbc-works-list__item:nth-last-child(2):first-child + .pbc-works-list__item {
    grid-column: auto;
  }
}
/* modal */

.pbc-modal {
  max-height: unset;
  max-width: unset;
  overflow: unset;
  border: none;
  padding: 0;
  margin:0;
  width: 100%;
  height: 100dvh;
  background:none;
  
}

.pbc-modal[open]{
  display: grid;
  place-items: center;
}

.pbc-modal::backdrop {
  background: #666;
  opacity:0.7;
}

.pbc-modal__inner{
  position: relative;
  width:auto;
  height: auto;
  padding-top:48px;
  max-width: calc(100dvw - 48px);
}

.pbc-modal__close{
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  position: absolute;
  top: -12px;
  right: -12px;
  width: 48px;
  height: 48px;
  background-image: url(/jp/lighting/home/series/pbc-common/img/icon_close.svg);
  background-size: 24px 24px;
  background-repeat: no-repeat;
  background-position: center;
}

.pbc-modal__content{
  overflow-y:auto;
  padding: 8px;
  background: #fff;
  max-width: clamp(43.5rem, 23.375rem + 46dvh, 55rem);
  max-height: 95dvh;
}

.pbc-modal--narrow .pbc-modal__content{
  max-width: clamp(26.5rem, 15.125rem + 26dvh, 33rem);
}

.pbc-modal__main{
}

.pbc-modal__main  > * {
  max-width:100%;
}

.pbc-modal__main img{  
  width: 100%;
  height: auto;
}

.pbc-modal__main iframe{
  aspect-ratio: 16 / 9;
  width: 1280px;
  max-width: 100%;
  height:auto;
  display: block;
}

.pbc-modal__footer{
  
  margin-top: 4px;
  display: inline-flex;
  /* flex-direction: column; */
  gap: 8px 16px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.pbc-modal__link{
  display: inline-flex;
  gap: 4px;
  align-items: center;
  color:  #0063CC;
  font-size: 14px;
  font-weight: 700;
  line-height: var(--lh-base);
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  transition: opacity 0.3s;
}

.pbc-modal__link::after{
  content:'';
  width:16px;
  height:16px;
  background: #0063CC;
  mask-image: url(/jp/lighting/home/series/pbc-common/img/icon_blank.svg);
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
}

.pbc-modal__link:hover{
  opacity: 0.7;
}

/* feature card */

.pbc-feature-block + .pbc-feature-block{
  margin-top: 64px;
}

.pbc-card-wrap{
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap:40px;
}

.pbc-card{
}

.pbc-card__img{
  margin-bottom: 16px;
}


.pbc-card__ttl{
  font-size: 16px;
  font-weight: 500;
  line-height: var(--lh-base);
  margin-bottom: 16px;
}

.pbc-card__desc{
  font-size: 16px;
  line-height: var(--lh-base);
}

.pbc-feature-video{
  text-align: center;
  margin-block: 32px;
}

.pbc-rc {
  padding-top: 32px;
  background: #F2F2F2;
}

.pbc-rc__img {
  margin-top: 32px;
  text-align: center;
}

.pbc-lineup-ttl{
  position: relative;
  padding-bottom:24px;
}

.pbc-lineup-ttl:after{
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 1px;
  background: #333;
}
.pbc-product__links {
  margin-top: 24px;
  display: grid;
  gap: 24px;
  place-items: center;
  text-align: center;
}

.pbc-product__link {

}


/* ===============================
 * anchor
 * ===============================
*/

.headline[id^="anc-"]{
  margin-top: -32px;
  padding-top: 32px;
}

/* ===============================
 * utility
 * ===============================
 */

.pbc-pc-only{
  display: none;
}

.pbc-px-0{
  padding-inline: 0 !important;
}


/* ===============================
 * SP
 * ===============================
 */

@media (max-width:768px){

  

  .pbc-product--col2-sp .pbc-product__col{
    width: calc( 50% - 16px / 2);
  }
  .pbc-product--col3-sp .pbc-product__col{
    width: calc((100% / 3) - (16px * 2 / 3));
  }
  
  .pbc-product__col img,.pbc-img-list__item img{
    width:100%;
    height:auto;
  }

  .pbc-lead{
    padding-inline: var(--inner-space-x);
  }
  .pbc-works-list--few:has(.pbc-works-list__item:nth-child(2)) .pbc-works-list__item {
    width: calc((100% - 16px) / 2);
  }


  .pbc-card-wrap--head{
    text-align: center;
    padding-inline: var(--inner-space-x);
  }
  .pbc-card-wrap--foot{
    padding-inline: var(--inner-space-x);
  }
  .pbc-rc__img {
    padding-bottom: 32px;
  }
  .pbc-rc__img img{
    width: calc(579 / 375 * 100vw);
  }

  .pbc-px{
    padding-inline: var(--inner-space-x);
  }

  .pbc-img-wrap--sp-180 img{
    max-width: 180px;
  }
 
}

/* ===============================
 * PC
 * ===============================
 */
@media (min-width: 768px){

  .pbc-hero{
    margin-bottom: 120px;
  }

  .pbc-box{
    padding: 64px 0;
    margin-bottom: 120px;
  }
  .pbc-box__head{
    margin-bottom: 64px;
  }
  .pbc-box__inner{
    padding: 64px;
    margin-bottom: 64px;
    margin-inline: 0;
  }

  .pbc-box__inner .pbc-box__inner{
    padding: 32px;
  }


  .pbc-text-group{
    flex-direction: row;
    padding:0;
    max-width: 840px;
    margin-inline: auto;
  }
  .pbc-text-block{
    flex:1;
  }
  .pbc-lead{
    margin-bottom: 48px;
  }
  .pbc-lead--loose.pbc-lead{
    line-height: 2.25;
  }
  .pbc-lead--lg{
    font-size: 20px;
    margin-bottom: 64px;
  }
  
  .pbc-lead--loose--pc.pbc-lead--lg,
  .pbc-lead--loose.pbc-lead--lg{
    line-height: 2.3;
  }

  .pbc-sub-ttl{
    font-size: 20px;
  }
  .pbc-sub-ttl--sm{
    font-size: 18px;
  }
  
  .pbc-gallery{
    padding-inline: 0;
    display: flex;
  }

  .pbc-img-wrap{
    padding-inline: 0;
    margin-bottom: 48px;
  }


  .pbc-gallery img {
    flex: 1;
    min-width: 0;
  }
  .pbc-movie-ttl{
    font-size: 20px;
    margin-bottom: 24px;
  }

  .pbc-product{
    gap:40px;
    margin-bottom: 48px;
    justify-content: center;
  }

  .pbc-product + .headline{
    margin-top: 140px;
  }


  .pbc-product__col{
    
  }
  .pbc-product__col img{
  }

  .pbc-separator-x{
    margin-block: 64px;
  }

  .pbc-img-list{
    flex-direction: row;
    justify-content: center;
  }

  .pbc-works{
    margin-bottom: 64px;
    padding-inline: 0;
  }

  .pbc-works-movie {
    margin-bottom: 48px;
    gap: 24px 16px;
  }

  .pbc-works-movie .pbc-works-btn{
    max-width: calc((100% - 16px) / 2);
  }

  .pbc-works-movie--col3-pc .pbc-works-btn{
    max-width: calc((100% - 16px * 2) / 3);
  }

  .pbc-works-list {
  column-count: 3;
  }

  .pbc-works-list--few .pbc-works-list__item {
    width: calc((100% - 32px) / 3);
  }

  /* masonry layout の順番調整用スペーサー */
  .pbc-works-list__spacer-pc {
    display: block;
    width: 100%;
    height: 0;
    margin: 0;
    padding: 0;
    opacity: 0;
    pointer-events: none;
  }

  .pbc-card-wrap{
    margin-top: 48px;
  }

  .pbc-card{
    max-width: calc((100% / 3) - (40px * 2 / 3));
  }
  .pbc-card-wrap--head{
    margin-inline:auto;
  }
  
  .pbc-card__img{
    margin-bottom: 24px;
  }

  .pbc-card-wrap--head .pbc-card__img,
  .pbc-card-wrap--foot .pbc-card__img{
    margin-bottom: 16px;
  }

  .pbc-card__ttl{
    font-size: 18px;
  }

  .pbc-card__ttl--lg{
    font-size: 20px;
  }

  .pbc-feature-video{
    margin-block:64px;
  }

  .pbc-rc {
    padding-block: 64px;
  }

  .pbc-rc__img img{
    max-width: 634px;
  }

  .pbc-movie-iframe{
    margin-bottom: 64px;
  }

  .pbc-modal__inner{
    padding-top: 0;
  }

  .pbc-modal__close{
    right: -60px;
  }

  .pbc-works-list + .headline{
    margin-top: 48px;
  }


  .headline[id^="anc-"]{
    margin-top: -50px;
    padding-top: 50px;
  }

  /* ===============================
   * utility
   * ===============================
   */
  .pbc-sp-only{
    display: none;
  }
  .pbc-pc-only{
    display: block;
  }
}

.pbc-order-list {
  display: grid;
  gap: 8px;
  list-style: none;
  counter-reset: order-list-counter;
}

.pbc-order-list__item {
  counter-increment: order-list-counter;
  position: relative;
  padding-left: 22px;
}

.pbc-order-list__item::before {
  content: counter(order-list-counter) '.';
  position: absolute;
  top: 0;
  left: 0;
  color: #333; 
}

.pbc-order-list--bg .pbc-order-list__item {
  padding-left: 32px;
  padding-bottom: 16px;
}

.pbc-order-list--bg .pbc-order-list__item::before {
  color: #fff; 
  background: #475C85;
  content: counter(order-list-counter);
  text-align: center;
  min-width: 24px;
  padding-inline: 2px;
  font-weight: bold; 
}

.pbc-order-list--notes .pbc-order-list__item {
  padding-left: 33px;
}

.pbc-order-list--notes .pbc-order-list__item::before {
  content: '※' counter(order-list-counter);
}

.ha-square-works .pbc-works-figure__caption .js-pbc-works-product-num:not(:first-of-type) { display: none; }
