@charset "UTF-8";

body {
  font-family: "Ubuntu", "Noto Sans JP", sans-serif;
  color: #2b2b40;
}

#wrap {
  overflow: hidden;
}

#contents {
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.1em;
}

.l-header {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 1000;
  padding: 0;
  background: transparent;
}

.l-header__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.l-header__brand .l-header__logo img {
  height: 30px;
  width: auto;
}

.l-header__brand .l-header__title img,
.l-header__brand .l-header__title svg {
  height: 12px !important;
  max-height: 12px !important;
  width: auto !important;
}

.l-header__brand .l-header__title svg,
.l-header__brand .l-header__title svg path {
  fill: #000 !important;
}

@media screen and (min-width: 768px) {
  .l-header {
    top: 20px;
    left: 20px;
  }

  .l-header__brand .l-header__logo img {
    height: 40px;
  }

  .l-header__brand .l-header__title img {
    height: 12px !important;
    max-height: 12px !important;
  }
}

.realdecoTitModule02 {
  padding: 50px 20px;
  text-align: center;
  background: linear-gradient(135deg,
    #F5F0EB 0%,
    #ECE4DB 25%,
    #E5DCD2 50%,
    #ECE4DB 75%,
    #F5F0EB 100%);
  min-height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.realdecoTitModule02 h1 {
  margin: 0;
  padding: 0;
}

.realdecoTitModule02 img {
  max-width: 180px;
  width: 100%;
  height: auto;
  display: block;
}

@media screen and (min-width: 768px) {
  .realdecoTitModule02 {
    padding: 60px 30px;
    background: linear-gradient(135deg,
      #F5F0EB 0%,
      #ECE4DB 20%,
      #E5DCD2 40%,
      #DFD5CA 60%,
      #ECE4DB 80%,
      #F5F0EB 100%);
    min-height: 260px;
  }

  .realdecoTitModule02 img {
    max-width: 490px;
    width: 100%;
  }
}

.tabs {
  margin-top: 40px;
  background: #fff;
}

@media screen and (min-width: 768px) {
  .tabs {
    margin-top: 90px;
  }
}

.tab-list {
  display: flex;
  align-items: stretch;
}

.tab-list::before,
.tab-list::after {
  content: '';
  border-bottom: 1px solid #e0e0e0;
  display: block;
  width: 20px;
  height: 50px;
}

@media screen and (min-width: 768px) {
  .tab-list::before,
  .tab-list::after {
    width: 10.7142857143%;
    height: 78px;
  }
}

.tab-item {
  box-sizing: border-box;
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f8f8;
  border: 1px solid #e0e0e0;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 0.02em;
  line-height: 1;
  color: #dcdce5;
  cursor: pointer;
  transition: color 0.3s ease;
}

@media screen and (min-width: 768px) {
  .tab-item {
    font-size: 16px;
  }
}

.tab-item:hover {
  color: #2b2b40;
}

.tab-item.is-active {
  border-top: 2px solid #000;
  border-right: 2px solid #000;
  border-bottom: 1px solid transparent;
  background-color: #fff;
  color: #2b2b40;
}

.tab-panel {
  padding-top: 40px;
  height: auto;
}

.tab-panel:not(.is-active) {
  opacity: 0;
  visibility: hidden;
  height: 0;
  padding: 0;
  overflow: hidden;
}

.tab-panel.is-active {
  display: block;
}

@media screen and (min-width: 768px) {
  .tab-panel {
    padding-top: 65px;
  }
}

.no-results {
  display: none;
  width: 100%;
  padding: 60px 20px;
  text-align: center;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  color: #888;
}

.no-results.is-visible {
  display: block;
}

.realdecoListModule01 {
  padding: 30px 20px 40px;
}

.realdecoListModule01 .tabTitle {
  margin-bottom: 40px;
  font-family: 'Ubuntu', sans-serif;
  font-size: 26px;
  font-weight: bold;
  color: #2b2b40;
  text-align: center;
  letter-spacing: 0.02em;
}

@media screen and (min-width: 768px) {
  .realdecoListModule01 .tabTitle {
    margin-bottom: 60px;
    font-size: 34px;
  }
}

.realdecoListModule01 .inner {
  max-width: 1000px;
  margin: 0 auto;
}

.itemList {
  list-style: none;
  margin: 0 auto 20px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 24px 5%;
}

.itemList li {
  display: block;
  width: 30%;
  background: #fff;
}

.itemList li:nth-of-type(3n+2) {
  
}

.itemList li:nth-of-type(3n) {
  
}

.itemList li a {
  display: block;
  text-decoration: none;
  color: #111;
  transition: opacity 0.3s ease;
}

.itemList li a:hover {
  opacity: 0.7;
}

.itemList li .photo {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: #f5f5f5;
}

.itemList li .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.itemList li p.name {
  margin: 10px 0 15px;
  font-family: 'Lato', sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.1em;
  text-align: left;
}

@media screen and (min-width: 768px) {
  .realdecoListModule01 {
    padding: 40px 30px 60px;
  }

  .realdecoListModule01 .inner {
    max-width: 960px;
  }

  .realdecoListModule01 .tabTitle {
    margin-bottom: 30px;
    font-size: 32px;
  }

  .itemList {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 20px 27px;
    margin: 0 0 35px;
  }

  .itemList li {
    width: 170px;
    float: none;
    margin: 0;
  }

  .itemList li:nth-of-type(3n),
  .itemList li:nth-of-type(3n+2) {
    float: none;
    margin: 0;
  }

  .itemList li:nth-of-type(5n) {
    margin: 0;
  }

  .itemList li .photo img {
    width: 170px;
    height: 170px;
  }

  .itemList li p.name {
    margin: 12px 0 35px;
    font-size: 13px;
  }
}

.image-gallery {
  background-color: #fff;
  padding: 90px 20px 120px;
  transition: background-color 0.3s, background-image 0.3s ease-in-out;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}

@media (hover: hover) {
  .image-gallery.is-hover {
    background-color: #2b2b40;
  }
}

.image-gallery.is-hover:not(.is-hover-light) h2.image-gallery__heading {
  color: #fff;
}

.image-gallery.is-hover:not(.is-hover-light) .image-gallery__sub-heading {
  color: #fff;
}

@media (hover: hover) {
  .image-gallery.is-hover:not(.is-hover-light) .image-gallery__list-item:not(:hover) p.image-gallery__list-item-title {
    color: #fff;
  }
}

.image-gallery__inner {
  max-width: 1126px;
  margin: 0 auto;
}

.image-gallery h2.image-gallery__heading {
  font-family: 'Ubuntu', sans-serif;
  font-size: 40px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-align: center;
  line-height: 1.15;
  text-transform: uppercase;
  transition: color 0.3s;
  color: #2b2b40;
}

.image-gallery__heading span.image-gallery__sub-heading {
  display: block;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.12em;
  line-height: 2.857;
  color: #2b2b40;
}

.image-gallery__list {
  margin-top: 80px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  padding: 0;
}

.image-gallery__list-item {
  position: relative;
  width: calc(100% / 5);
  margin-bottom: -1px;
  margin-right: -1px;
}

.image-gallery__list-item:hover {
  z-index: 2;
}

.image-gallery__list-item-link {
  border: 1px solid #ccc;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: 100px;
  text-decoration: none;
  color: #111;
  transition: 0.3s;
}

.image-gallery__list-item-link:hover {
  position: relative;
  z-index: 1;
  background: #fff;
  border: 1px solid #888;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.5);
}

.image-gallery.is-hover-light .image-gallery__list-item-link {
  border-color: #999;
}

.image-gallery.is-hover-light .image-gallery__list-item-link:hover {
  border-color: #555;
}

.image-gallery__list-item p.image-gallery__list-item--sub-title {
  font-family: 'Ubuntu', sans-serif;
  font-size: 10px;
  line-height: 2.2;
  letter-spacing: 0.02em;
  font-weight: 500;
  color: #dcdce5;
  margin: 0;
  min-height: 1em;
}

.image-gallery__list-item p.image-gallery__list-item-title {
  font-family: 'Ubuntu', sans-serif;
  font-size: 14px;
  letter-spacing: 0.02em;
  font-weight: 500;
  color: #2b2b40;
  margin: 0;
  transition: 0.3s;
}

@media screen and (max-width: 767px) {
  .image-gallery {
    padding: 50px 20px 60px;
  }

  .image-gallery h2.image-gallery__heading {
    font-size: 30px;
    line-height: 1.17;
  }

  .image-gallery__heading span.image-gallery__sub-heading {
    font-size: 10px;
    line-height: 2;
    margin-top: 6px;
  }

  .image-gallery__list {
    margin-top: 35px;
  }

  .image-gallery__list-item {
    width: calc(100% / 2);
  }

  .sp {
    display: block;
  }
}

@media screen and (min-width: 768px) {
  .sp {
    display: none;
  }
}

.backLinks {
  margin-top: 100px;
  display: flex;
  justify-content: center;
  background: #fff;
}

.backLinks__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  row-gap: 12px;
  font-size: 12px;
  font-weight: normal;
  letter-spacing: 0.16em;
  color: #111;
  text-decoration: none;
  line-height: 1;
}

.backLinks__item:hover {
  opacity: 0.7;
}

.backLinks__arrow {
  transition: transform 0.4s ease;
}

.backLinks__item:hover .backLinks__arrow {
  transform: translateX(10px);
}

@media screen and (max-width: 767px) {
  .backLinks {
    margin-top: 60px;
  }
}

.l-footer {
  margin-top: 80px;
  padding: 40px 0 83px;
  background: #4b4a48;
  text-align: center;
}

.l-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.l-footer__logo {
  display: block;
}

.l-footer__logo img {
  width: 78px;
  height: auto;
}

.l-footer__copyright {
  margin-top: 10px;
  font-size: 10px;
  color: #fff;
  letter-spacing: 0.05em;
  line-height: 2.8;
}

@media screen and (max-width: 767px) {
  .l-footer {
    margin-top: 60px;
    padding: 30px 0 20px;
  }

  .l-footer__copyright {
    margin-top: 20px;
  }
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.is-active {
  opacity: 1;
  visibility: visible;
}

.modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
}

.modal__content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.modal__close {
  position: absolute;
  top: -45px;
  right: 0;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
}

.modal__close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 2px;
  background: #fff;
  transform: translate(-50%, -50%) rotate(45deg);
}

.modal__close span::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: #fff;
  transform: rotate(90deg);
}

.modal__body {
  text-align: center;
}

.modal__figure {
  margin: 0;
}

.modal__img {
  max-width: 80vw;
  max-height: 70vh;
  object-fit: contain;
}

.modal__code {
  margin: 15px 0 0;
  font-family: 'Ubuntu', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.1em;
}

.modal__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease;
}

.modal__nav:hover {
  background: rgba(255, 255, 255, 0.2);
}

.modal__nav--prev {
  left: -60px;
}

.modal__nav--next {
  right: -60px;
}

.modal__nav span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
}

.modal__nav--prev span {
  transform: translate(-30%, -50%) rotate(-135deg);
}

.modal__nav--next span {
  transform: translate(-70%, -50%) rotate(45deg);
}

@media screen and (max-width: 768px) {
  .modal__nav--prev {
    left: 10px;
  }

  .modal__nav--next {
    right: 10px;
  }
}
