@charset "UTF-8";
@tailwind base;

/*----------------------*/
/* Noto Sans JP */

@font-face {
  font-family: "Noto Sans JP";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("/media/files/font/NotoSansJP-900-Black-Subset.woff2") format("woff2");
}

@font-face {
  font-family: "Noto Sans JP";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/media/files/font/NotoSansJP-700-Bold-Subset.woff2") format("woff2");
}

@font-face {
  font-family: "Noto Sans JP";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/media/files/font/NotoSansJP-600-SemiBold-Subset.woff2") format("woff2");
}

@font-face {
  font-family: "Noto Sans JP";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/media/files/font/NotoSansJP-500-Medium-Subset.woff2") format("woff2");
}

@font-face {
  font-family: "Noto Sans JP";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/media/files/font/NotoSansJP-400-Regular-Subset.woff2") format("woff2");
}


/*----------------------*/
/* Noto Serif JP */

@font-face {
  font-family: "Noto Serif JP";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("/media/files/font/NotoSerifJP-Black.woff2") format("woff2");
}

@font-face {
  font-family: "Noto Serif JP";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/media/files/font/NotoSerifJP-Bold.woff2") format("woff2");
}

@font-face {
  font-family: "Noto Serif JP";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/media/files/font/NotoSerifJP-SemiBold.woff2") format("woff2");
}

@font-face {
  font-family: "Noto Serif JP";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/media/files/font/NotoSerifJP-Medium.woff2") format("woff2");
}

@font-face {
  font-family: "Noto Serif JP";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/media/files/font/NotoSerifJP-Regular.woff2") format("woff2");
}

/*----------------------*/
/* 縦書き用 */
@font-face {
  font-family: "Noto Serif JP Vertical";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/media/files/font/NotoSerifJP-SemiBold-Vertical.woff2") format("woff2");
}

@font-face {
  font-family: "Noto Serif JP Vertical";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/media/files/font/NotoSerifJP-Regular-Vertical-Subset.woff2") format("woff2");
}
/*----------------------*/

.sp_hidden {
  transition: 0.5s;
}

html {
}

html.is-spMenu-opened {
  overflow: hidden;
  .sp_hidden {
    @media (min-width: 1272px) {
      opacity: 0;
      pointer-events: none;
    }
  }
  #js-spMenu {
    opacity: 1;
    visibility: visible;
  }
  #js-burger {
    background-color: transparent;
    transition: 0.5s;
    border: none;
  }
  #js-burger-line--1 {
    transition: 0.5s;
    background-color: #000000;
    transform: rotate(45deg);
    top: 16rem;
    right: 0px;
  }
  #js-burger-line--2 {
    transition: 0.5s;
    background-color: transparent;
  }
  #js-burger-line--3 {
    transition: 0.5s;
    background-color: #000000;
    transform: rotate(-45deg);
    top: 16rem;
    right: 0;
  }
}

.sp_menu_open{
header{
}
}
#js-spMenu {
  height: calc(var(--vh, 1vh) * 100 - 0rem);
  @media (min-width: 768px) {
  }
}
.js-details__summary {
  &::before {
    transition: all 0.4s ease-out;
  }
}
.js-details[open] {
  .js-details__summary {
    &::before {
      transform: rotate(90deg);
    }
  }
}
.menu_grid_1 {
  @media only screen and (min-width: 1272px) {
    grid-area: 1 / 1 / 2 / 2;
  }
}
.menu_grid_2 {
  @media only screen and (min-width: 1272px) {
    grid-area: 2 / 1 / 3 / 2;
  }
}
.menu_grid_3 {
  @media only screen and (min-width: 1272px) {
    grid-area: 3 / 1 / 4 / 2;
  }
}
.menu_grid_4 {
  @media only screen and (min-width: 1272px) {
    grid-area: 4 / 1 / 5 / 2;
  }
}
.menu_grid_5 {
  @media only screen and (min-width: 1272px) {
    grid-area: 5 / 1 / 6 / 2;
  }
}
.menu_grid_6 {
  @media only screen and (min-width: 1272px) {
    grid-area: 1 / 2 / 2 / 3;
  }
}
.menu_grid_7 {
  @media only screen and (min-width: 1272px) {
    grid-area: 2 / 2 / 3 / 3;
  }
}
summary::-webkit-details-marker {
  display: none;
}
#pankuzu {
  scrollbar-width: none;
}
.one {
  transition-delay: 0s;
}

.two {
  transition-delay: 0.5s;
}

.three {
  transition-delay: 0.5s;
}

.four {
  transition-delay: 0.5s;
}
.logo-swiper {
  .swiper-slide {
    border: 1px solid #bcbcbc;
    padding: 10rem 30rem;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4/2;
    max-height: 90rem;
    max-width: 250rem;
    img {
      object-fit: contain;
      object-position: center center;
      width: 100%;
      height: 100%;
    }
  }
}


.pankuzu {
  display: flex;
  gap: 26rem;
  scrollbar-width: none;
  white-space: nowrap;
  overflow-x: scroll;
  align-items: center;
  overflow-x: scroll;
  padding: 12rem 24rem;

  @media (min-width: 1272px) {
    padding: 12rem 48rem;
  }

  li a {
    display: block;
    position: relative;
    font-size: 12rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    line-height: 150%;
    font-family: 'Noto Sans JP';
    color: #444;
  }

  li:first-of-type a {
    position: relative;
    width: 16rem;
    height: 17rem;
    text-indent: -9999px;
    
    font-size: 0;
    line-height: 0;

    &::before{
      content: "";
      display: block;
      background-image: url(/media/images/common/pankuzu-home.svg);
      background-repeat: no-repeat;
      background-size: contain;
      background-position: center;
      position: absolute;
      bottom: 0;
      left: 0;
      width: 16rem;
      height: 17rem;
    }
  }

  li a.last {
    color: #c2170c;
  }

  li a:not(.last):after {
    position: absolute;
    content: "";
    right: -17rem;
    top: calc(50% + 1rem);
    transform: translateY(-50%);
    background-image: url(/media/images/common/pankuzu-arrow.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    width: 6rem;
    height: 11rem;
  }

  li a {
    transition: 0.5s;
  }
  li a.last {
    pointer-events: none;
  }
}

/*----------*/

img.pic-cover{
  object-fit: cover;
  width:100%;
  height:100%;
}

img.pic-contain{
  object-fit: contain;
  width:100%;
  height:100%;
}

/*----------*/
/* ページネーション */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0rem;
  flex-wrap: wrap;

  font-size: 14rem;
  letter-spacing: 0.05em;
  line-height: 120%;
  font-weight: 400;
  font-family: 'Noto Sans JP';
  color: #1e1e1e;

  @media (min-width: 1272px) {
    font-size: 16rem;
  }

  @media (min-width: 1272px) {
    flex-wrap:nowrap;
  }
  li,
  a {
    transition: 0.5s;


  }

  li:not([class]) {
  }
  li {
    span,
    a{
    }
  }
  li.page {
    margin: 4rem;
    @media (min-width: 1272px) {
      margin: 6rem;
    }

    span,
    a{
      border-radius: 100%;
      display: grid;
      place-items: center;
      padding: 0;

      width: 34rem;
      height: 34rem;
      font-size: 13rem;

      @media (min-width: 1272px) {
        width: 36rem;
        height: 36rem;
        font-size: 17rem;
      }
    }

    a{
      @media (min-width: 768px) {
        &:hover {
          opacity:1;
          background-color: #CC3624;
          /* border: 1px solid #7D715F; */
          color: #ffffff;
        }
      }
    }
  }

  li.active {
    span{
      background-color: #CC3624;
      color: #ffffff;
    }
  }

  .prev,
  .next {
    border-radius: 100%;
    position: relative;
    color: #444444;

    span,
    a {
      position: relative;
      display: block;
      width:auto;
      height: 100%;
      background-color:transparent;
      border-radius:0;
      border: none;
      margin-top:0;
      padding-bottom: 0.2em;
      font-size: 12rem;
      line-height: 1.2;

      @media (min-width: 1272px) {
        font-size: 14rem;
      }
      
    }
    
    span::before,
    a::before {
      display:block;
      position: absolute;
      z-index: 1;
      content: "";
      top: calc(50% - 1rem);
      width: 10rem;
      height: 10rem;
      
      @media (min-width: 1272px) {
        width: 12rem;
        height: 12rem;
      }
    }

    &.disabled{
      opacity: 0.5;
    }
  }
  
  .prev{
    margin-right: 16rem;
    @media (min-width: 1272px) {
      margin-right: 36rem;
    }

    span,
    a {
      padding-left: 20rem;
      @media (min-width: 1272px) {
        padding-left: 30rem;
      }
    }

    span::before,
    a::before {
      left: 0;
      transform: translate(0%, -50%);
      background: url("/media/images/common/page_arrow-prev.svg") no-repeat center/contain;
    }
  }
  .next {
    margin-left: 16rem;
    @media (min-width: 1272px) {
      margin-left: 36rem;
    }

    span,
    a {
      padding-right: 20rem;
      @media (min-width: 1272px) {
        padding-right: 30rem;
      }
    }

    span::before,
    a::before {
      transform: translate(0%, -50%);
      right:0;
      background: url("/media/images/common/page_arrow-next.svg") no-repeat center/contain;
    }
  }
}

.bg-tag-renovation{
  background-color:#EBE4C4;
}

.bg-tag-building{
  background-color:#D2E8DA;
}
