

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  background: #f5f5f5;
  color: #333;
  overflow-x: clip;
}

.l-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 20px 30px;
  z-index: 1000;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

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

.l-header__logo {
  display: block;
}

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

.l-header__title {
  display: block;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.l-header__title img {
  height: 12px;
  width: auto;
  transition: filter 0.3s ease;
}

.l-header__title:hover {
  opacity: 0.7;
}

.l-header.is-scrolled .l-header__title img {
  filter: brightness(0) saturate(100%);
}

.l-header__btn {
  position: relative;
  width: 48px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  padding: 0;
  margin-top: 10px;
}

.l-header__btn span {
  display: block;
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #fff;
  transition: all 0.3s ease;
}

.l-header__btn span {
  top: 50%;
  transform: translateY(-50%);
}

.l-header__btn span::before,
.l-header__btn span::after {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #fff;
  transition: all 0.3s ease;
}

.l-header__btn span::before {
  top: -8px;
}

.l-header__btn span::after {
  top: 8px;
}

.l-header__btn.is-active span {
  background-color: transparent;
}

.l-header__btn.is-active span::before {
  top: 0;
  transform: rotate(45deg);
  background-color: #333;
}

.l-header__btn.is-active span::after {
  top: 0;
  transform: rotate(-45deg);
  background-color: #333;
}

.l-header.is-scrolled .l-header__btn span,
.l-header.is-scrolled .l-header__btn span::before,
.l-header.is-scrolled .l-header__btn span::after {
  background-color: #333;
}

.l-header.is-scrolled .l-header__btn.is-active span {
  background-color: transparent;
}

.l-header__nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #fff;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

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

.l-header__nav__inner {
  display: flex;
  width: 100%;
  height: 100%;
}

.l-header__nav__img {
  position: relative;
  flex: 0 0 50%;
  max-width: 50%;
}

.l-header__nav__img > img:first-child {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.l-header__nav__img__logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  max-width: 400px;
  height: auto;
}

.l-header__nav__body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 40px 40px;
  background-color: #E1D6C9;
}

.l-header__nav__body__inner {
  max-width: 400px;
}

.l-header__nav__logo {
  width: 200px;
  height: auto;
  margin-bottom: 40px;
  filter: brightness(0);
}

.l-header__nav__list {
  list-style: none;
}

.l-header__nav__item {
  margin-bottom: 16px;
}

.l-header__nav__link {
  display: inline-block;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
  letter-spacing: 0.05em;
}

.l-header__nav__link:hover {
  color: #8b7355;
}

.l-header__nav__sec-list {
  list-style: none;
  margin-top: 8px;
  padding-left: 16px;
}

.l-header__nav__sec-item {
  margin-bottom: 8px;
}

.l-header__nav__sec-link {
  font-size: 0.85rem;
  color: #666;
  text-decoration: none;
  transition: color 0.3s ease;
}

.l-header__nav__sec-link:hover {
  color: #8b7355;
}

.l-header__nav__sub-list {
  list-style: none;
  margin-top: 40px;
}

.l-header__nav__sub-item {
  margin-bottom: 16px;
}

.l-header__nav__sub-item:last-child {
  margin-bottom: 0;
}

.l-header__nav__sub-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
  letter-spacing: 0.05em;
}

.l-header__nav__sub-link:hover {
  color: #8b7355;
}

.l-header__nav__sub-link__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.7em;
  height: 0.7em;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.l-header__nav__sub-link__icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.l-header__nav__sub-link:hover .l-header__nav__sub-link__icon {
  transform: translate(2px, -2px);
}

@media (max-width: 768px) {
  .l-header {
    padding: 15px 20px;
  }

  .l-header__brand {
    gap: 6px;
  }

  .l-header__logo img {
    height: 32px;
  }

  .l-header__title {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
  }

  .l-header__btn {
    width: 35px;
    height: 17px;
    margin-top: 8px;
  }

  .l-header__btn span::before {
    top: -7px;
  }

  .l-header__btn span::after {
    top: 7px;
  }

  .l-header__nav {
    background-color: #E1D6C9;
  }

  .l-header__nav__img {
    display: none;
  }

  .l-header__nav__body {
    width: 100%;
    padding: 120px 30px 40px;
    justify-content: flex-start;
    align-items: center;
    background-color: #E1D6C9;
  }

  .l-header__nav__body__inner {
    width: 100%;
    max-width: 100%;
    text-align: center;
  }

  .l-header__nav__logo {
    width: 200px;
    margin: 0 auto 40px;
    filter: brightness(0);
  }

  .l-header__nav__list {
    text-align: left;
    margin-top: 0;
    padding-left: 30px;
  }

  .l-header__nav__item {
    margin-bottom: 20px;
  }

  .l-header__nav__link {
    font-size: 1rem;
    color: #333;
  }

  .l-header__nav__link:hover {
    color: #666;
  }

  .l-header__nav__sec-list {
    margin-top: 10px;
    padding-left: 20px;
  }

  .l-header__nav__sec-item {
    margin-bottom: 10px;
  }

  .l-header__nav__sec-link {
    font-size: 0.9rem;
    color: #555;
  }

  .l-header__nav__sec-link:hover {
    color: #888;
  }

  .l-header__nav__sub-list {
    margin-top: 30px;
    padding-left: 30px;
    text-align: left;
  }

  .l-header__nav__sub-item {
    margin-bottom: 14px;
  }

  .l-header__nav__sub-link {
    font-size: 0.85rem;
    color: #333;
  }

  .l-header__nav__sub-link__icon {
    width: 0.65em;
    height: 0.65em;
  }

  
  .l-header__btn.is-active span::before,
  .l-header__btn.is-active span::after {
    background-color: #333;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .l-header {
    padding: 15px 25px;
  }

  .l-header__nav__img {
    flex: 0 0 40%;
    max-width: 40%;
  }

  .l-header__nav__body {
    padding: 80px 30px 40px;
  }
}

.u-display-pc {
  display: block;
}

.u-display-sp {
  display: none;
}

@media (max-width: 768px) {
  .u-display-pc {
    display: none;
  }

  .u-display-sp {
    display: block;
  }
}

.p-top-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.p-top-hero__background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.p-top-hero__background .splide__track {
  height: 100%;
}

.p-top-hero__background .splide__list {
  height: 100%;
}

.p-top-hero__background .splide__slide {
  height: 100%;
  opacity: 0;
  transition: opacity 4500ms cubic-bezier(0.25, 1, 0.5, 1);
}

.p-top-hero__background .splide__slide.is-active {
  opacity: 1;
}

.p-top-hero__background .splide__slide picture {
  display: block;
  width: 100%;
  height: 100%;
}

.p-top-hero__background .splide__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  
  animation: kenBurns 10s ease-in-out infinite alternate;
}

@keyframes kenBurns {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.08);
  }
}

.p-top-hero__background .splide__slide:nth-child(1) img {
  animation-delay: 0s;
  transform-origin: center center;
}

.p-top-hero__background .splide__slide:nth-child(2) img {
  animation-delay: -3s;
  transform-origin: left center;
}

.p-top-hero__background .splide__slide:nth-child(3) img {
  animation-delay: -6s;
  transform-origin: right center;
}

.p-top-hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background:
    
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.3) 0%,
      rgba(0, 0, 0, 0.1) 30%,
      transparent 50%
    ),
    
    linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.4) 0%,
      transparent 40%
    ),
    
    radial-gradient(
      ellipse at center,
      transparent 40%,
      rgba(0, 0, 0, 0.2) 100%
    );
  pointer-events: none;
}

.p-top-hero__text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  text-align: center;
  color: #fff;
}

.p-top-hero__text__main {
  opacity: 0;
  animation: fadeSlideUp 1.2s cubic-bezier(0.25, 1, 0.5, 1) 0.5s forwards;
}

.hero-title-svg {
  width: clamp(280px, 50vw, 600px);
  height: auto;
  filter: drop-shadow(0 2px 20px rgba(0, 0, 0, 0.5));
}

.p-top-hero__text__desc {
  margin-top: 48px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: 0.1em;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
  opacity: 0;
  animation: fadeSlideUp 1.2s cubic-bezier(0.25, 1, 0.5, 1) 0.9s forwards;
}

.p-top-hero__text__highlight {
  font-weight: 400;
  color: #fff;
}

@media screen and (min-width: 768px) {
  .p-top-hero__text__desc {
    margin-top: 60px;
    font-size: 13px;
    line-height: 1.9;
  }
}

@keyframes fadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.p-top-hero__badge {
  position: absolute;
  bottom: 32px;
  right: 24px;
  z-index: 15;
  opacity: 0;
  animation: fadeIn 1s ease-out 1.2s forwards;
}

.p-top-hero__badge__img {
  width: 90px;
  height: auto;
  filter: brightness(0) invert(1) drop-shadow(0 2px 12px rgba(0, 0, 0, 0.3));
}

@media screen and (min-width: 768px) {
  .p-top-hero__badge {
    bottom: 48px;
    right: 48px;
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

#pattern-title,
#case-title {
  scroll-margin-top: 0;
}

.p-design-concept {
  padding: 70px 20px;
  
  background:
    radial-gradient(
      ellipse 140% 90% at 10% 15%,
      rgba(255, 253, 250, 0.9) 0%,
      transparent 45%
    ),
    radial-gradient(
      ellipse 120% 70% at 90% 85%,
      rgba(245, 240, 232, 0.6) 0%,
      transparent 50%
    ),
    linear-gradient(
      160deg,
      #FAF9F7 0%,
      #F7F5F2 20%,
      #F4F1EC 40%,
      #F0ECE6 60%,
      #ECE7E0 80%,
      #E8E2DA 100%
    );
}

.p-design-concept__inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.p-design-concept__img {
  max-width: 100%;
  width: auto;
  height: 21px;
}

@media screen and (min-width: 768px) {
  .p-design-concept__img {
    height: 30px;
  }
}

.p-design-concept__title-wrapper {
  position: relative;
  display: inline-block;
}

.p-design-concept__title-shine {
  position: absolute;
  pointer-events: none;
  opacity: 0;
  
  background: linear-gradient(
    90deg,
    transparent 0%,
    transparent 25%,
    rgba(212, 190, 150, 0.3) 32%,
    rgba(200, 175, 130, 0.5) 38%,
    rgba(225, 200, 160, 0.7) 44%,
    rgba(240, 220, 185, 0.9) 50%,
    rgba(225, 200, 160, 0.7) 56%,
    rgba(200, 175, 130, 0.5) 62%,
    rgba(212, 190, 150, 0.3) 68%,
    transparent 75%,
    transparent 100%
  );
  background-size: 300% 100%;
  background-position: 0% 0;
  
  -webkit-mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: 0 0;
  mask-size: 100% 100%;
  mask-repeat: no-repeat;
  mask-position: 0 0;
}

.p-design-concept__title-wrapper.is-anim .p-design-concept__title-shine {
  opacity: 1;
  animation: title-shine 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes title-shine {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: 0% 0;
  }
}

.p-design-concept__title-wrapper .p-design-concept__img {
  display: block;
  height: 24px;
}

@media screen and (min-width: 768px) {
  .p-design-concept__title-wrapper .p-design-concept__img {
    height: 33px;
  }
}

.p-design-concept__svg {
  height: 24px;
  width: auto;
  display: block;
  margin: 0 auto;
  overflow: visible;
}

@media screen and (min-width: 768px) {
  .p-design-concept__svg {
    height: 33px;
  }
}

[data-anim="float"] .p-design-concept__svg path {
  opacity: 0;
  transform: translateY(20px);
  filter: blur(8px);
  transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              filter 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition-delay: calc(var(--index) * 0.08s);
}

[data-anim="float"].is-anim .p-design-concept__svg path {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.p-design-concept__text {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 2;
  color: #333;
  margin-top: 16px;
}

.p-design-concept__annotation {
  font-size: 12px;
  letter-spacing: 0.09em;
  color: #333;
  margin-top: 8px;
}

.p-design-concept--white {
  background:
    radial-gradient(
      ellipse 130% 80% at 15% 20%,
      rgba(255, 255, 253, 0.95) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse 100% 60% at 85% 80%,
      rgba(248, 245, 240, 0.5) 0%,
      transparent 45%
    ),
    linear-gradient(
      165deg,
      #FDFCFB 0%,
      #FAF9F6 25%,
      #F7F5F1 50%,
      #F4F0EB 75%,
      #F0EBE4 100%
    );
}

.p-design-concept--case {
  background:
    radial-gradient(
      ellipse 120% 75% at 20% 15%,
      rgba(253, 251, 248, 0.85) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse 110% 65% at 80% 90%,
      rgba(242, 238, 232, 0.5) 0%,
      transparent 45%
    ),
    linear-gradient(
      155deg,
      #FBF9F6 0%,
      #F8F5F0 20%,
      #F4F0EA 45%,
      #F0EBE3 70%,
      #ECE6DC 100%
    );
}

@media screen and (min-width: 768px) {
  .p-design-concept {
    padding: 90px 50px;
  }
}

@media screen and (min-width: 1200px) {
  .p-design-concept {
    padding: 100px 60px;
  }
}

.p-top-hero__card {
  position: absolute;
  bottom: 40px;
  right: 40px;
  z-index: 10;
  opacity: 0;
  animation: slideInRight 0.8s cubic-bezier(0.25, 1, 0.5, 1) 1.5s forwards;
}

@keyframes slideInRight {
  0% {
    opacity: 0;
    transform: translateX(50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.c-card-fv {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 8px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
  text-decoration: none;
  color: #333;
  transition:
    transform 0.3s cubic-bezier(0.25, 1, 0.5, 1),
    box-shadow 0.3s ease;
  max-width: 380px;
}

.c-card-fv:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
}

.c-card-fv__body {
  flex: 1;
}

.c-card-fv__title {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 8px;
}

.c-card-fv__sub {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  color: #666;
}

.c-tag-article__tag {
  display: inline-block;
  padding: 2px 8px;
  background: #e8e8e8;
  border-radius: 4px;
  font-size: 0.7rem;
}

.c-card-fv__media {
  flex-shrink: 0;
}

.c-card-fv__media img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .p-top-hero__card {
    bottom: 20px;
    right: 20px;
    left: 20px;
  }

  .c-card-fv {
    max-width: 100%;
  }

  .u-tab-on {
    display: block;
  }
}

@media (min-width: 769px) {
  .u-tab-on {
    display: none;
  }
}

.p-concept {
  position: relative;
  
}

.p-concept__bg {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  z-index: 1;
}

.p-concept__bg__inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.p-concept__bg__item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.p-concept__bg__item.is-active {
  opacity: 1;
}

.p-concept__bg__item picture {
  display: block;
  width: 100%;
  height: 100%;
}

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

.p-concept__bg__item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.1);
  pointer-events: none;
}

.p-concept__content {
  position: relative;
  z-index: 2;
  margin-top: -100vh; 
}

.p-concept__panel {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
}

.p-concept__panel__inner {
  max-width: 800px;
  text-align: center;
  color: #fff;
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1),
    transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.p-concept__panel.is-visible .p-concept__panel__inner {
  opacity: 1;
  transform: translateY(0);
}

.p-concept__title {
  margin-bottom: 1.5rem;
}

.p-concept__title-svg {
  width: clamp(240px, 48vw, 480px);
  height: auto;
  filter: drop-shadow(0 2px 20px rgba(0, 0, 0, 0.5));
}

.p-concept__text {
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 2.2;
  letter-spacing: 0.08em;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}

.p-next-section {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
}

.p-next-section__inner {
  text-align: center;
  padding: 60px 20px;
}

.p-next-section__inner h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #333;
}

.p-next-section__inner p {
  color: #666;
}

.analysis-panel {
  max-width: 800px;
  margin: 40px auto;
  padding: 40px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.analysis-panel h2 {
  font-size: 1.5rem;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid #333;
}

.effect-item {
  margin-bottom: 24px;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 8px;
}

.effect-item h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: #2c5282;
}

.effect-item ul {
  list-style: none;
  padding-left: 0;
}

.effect-item li {
  padding: 6px 0;
  font-size: 0.9rem;
}

.effect-item li strong {
  color: #666;
  min-width: 100px;
  display: inline-block;
}

.effect-item.highlight {
  background: #e8f4f8;
  border-left: 4px solid #2c5282;
}

.effect-item pre {
  background: #2d3748;
  color: #e2e8f0;
  padding: 12px;
  border-radius: 4px;
  overflow-x: auto;
  font-size: 0.85rem;
}

.effect-item code {
  font-family: "SF Mono", Consolas, monospace;
}

.p-top-hero__background .splide__arrows,
.p-top-hero__background .splide__pagination {
  display: none;
}

.p-category {
  position: relative;
  background: #fff;
}

.p-category__inner {
  position: relative;
  width: 100%;
}

.p-category__content {
  position: relative;
}

.p-category__unit {
  position: relative;
  display: flex;
  width: 100%;
  height: 100vh;
  background: #fff;
}

.p-category__body-wrapper {
  position: relative;
  flex: 0 0 50%;
  width: 50%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
  
  background:
    
    radial-gradient(
      ellipse 120% 80% at 15% 20%,
      rgba(245, 238, 230, 0.7) 0%,
      transparent 50%
    ),
    
    radial-gradient(
      ellipse 100% 60% at 80% 90%,
      rgba(210, 195, 175, 0.4) 0%,
      transparent 45%
    ),
    
    linear-gradient(
      155deg,
      #EDE6DD 0%,
      #E5DCD1 20%,
      #E1D6CA 45%,
      #D8CCBE 70%,
      #CEBFAE 100%
    );
}

.p-category__body {
  max-width: 400px;
  opacity: 0;
  transform: translateY(2em);
  transition: opacity 0.6s ease-out,
              transform 0.6s ease-out;
}

.p-category__unit.is-active .p-category__body {
  opacity: 1;
  transform: translateY(0);
}

.p-category__heading {
  margin-bottom: 0;
}

.p-category__heading__en {
  display: block;
  font-family: 'Ubuntu', sans-serif;
  font-size: 38px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1;
  color: #2b2b40;
}

.p-category__heading__ja {
  display: block;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: #2b2b40;
  margin-top: 15px;
}

.p-category__lineup {
  font-family: 'Ubuntu', 'Noto Sans JP', sans-serif;
  font-size: 18px;
  color: #2b2b40;
  letter-spacing: 0.08em;
  line-height: 1.6363636364;
  margin-top: 35px;
}

.p-category__link-wrapper {
  margin-top: 100px;
}

.p-category__link-wrapper + .p-category__link-wrapper {
  margin-top: 30px;
}

.p-category__link {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  text-decoration: none;
  color: #2b2b40;
  font-family: 'Ubuntu', sans-serif;
  font-size: 12px;
  font-weight: normal;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1;
  transition: opacity 0.4s ease;
}

.p-category__link:hover {
  opacity: 0.8;
}

.p-category__link span {
  position: relative;
}

.p-category__link__arrow {
  width: 145px;
  height: 5px;
  transition: transform 0.4s ease;
}

.p-category__link:hover .p-category__link__arrow {
  transform: translateX(12.5px);
}

.p-category__figure {
  position: relative;
  flex: 0 0 50%;
  width: 50%;
  height: 100%;
  overflow: hidden;
}

.p-category__figure img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.p-category__nav {
  position: fixed;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.p-category__nav.is-visible {
  opacity: 1;
  visibility: visible;
}

.p-category__nav-list {
  list-style: none;
  text-align: right;
}

.p-category__nav-item {
  margin-bottom: 14px;
}

.p-category__nav-item:last-child {
  margin-bottom: 0;
}

.p-category__nav-link {
  display: inline-block;
  font-family: 'Noto Sans JP', 'Ubuntu', sans-serif;
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-decoration: none;
  padding: 4px 0;
  position: relative;
  transition: color 0.3s ease, text-shadow 0.3s ease;
  color: rgba(0, 0, 0, 0.4); 
}

.p-category__nav.is-theme-light .p-category__nav-link {
  color: rgba(255, 255, 255, 0.6);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.p-category__nav.is-theme-light .p-category__nav-link:hover {
  color: rgba(255, 255, 255, 0.9);
}

.p-category__nav.is-theme-light .p-category__nav-item.is-active .p-category__nav-link {
  color: #fff;
  font-weight: 500;
}

.p-category__nav.is-theme-dark .p-category__nav-link {
  color: rgba(0, 0, 0, 0.4);
  text-shadow: none;
}

.p-category__nav.is-theme-dark .p-category__nav-link:hover {
  color: rgba(0, 0, 0, 0.7);
}

.p-category__nav.is-theme-dark .p-category__nav-item.is-active .p-category__nav-link {
  color: #333;
  font-weight: 500;
}

.scroll-top {
  position: fixed;
  z-index: 9999;
  font-size: 14px;
  bottom: 80px;
  right: 140px;
  font-weight: 100;
  transition: 0.4s;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-30px);
  text-decoration: none;
  color: #fff;
}

.scroll-top:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  transform: scale(1.2);
}

.scroll-top.is-visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.scroll-top__icon {
  position: absolute;
  width: 2px;
  background: #fff;
  height: 40px;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-top__icon:after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  left: -3px;
  transform: translateY(-10px) rotate(-45deg);
  opacity: 0;
  visibility: hidden;
  transition: 0.4s;
}

.scroll-top:hover .scroll-top__icon:after {
  transform: translateY(0) rotate(-45deg);
  opacity: 1;
  visibility: visible;
}

.scroll-top__text {
  font-family: 'Ubuntu', sans-serif;
  font-size: 14px;
  font-weight: 100;
  letter-spacing: 0.1em;
}

@media (max-width: 1200px) {
  .p-category__body-wrapper {
    padding: 50px 40px;
  }

  .p-category__nav {
    right: 15px;
  }
}

@media (max-width: 1024px) {
  .p-category__body-wrapper {
    flex: 0 0 45%;
    width: 45%;
    padding: 40px 30px;
  }

  .p-category__figure {
    flex: 0 0 55%;
    width: 55%;
  }

  .p-category__nav-link {
    font-size: 0.6rem;
  }
}

@media (max-width: 768px) {
  .p-category__unit {
    flex-direction: column;
    height: 100vh;
    min-height: 100vh;
  }

  
  .p-category__body-wrapper {
    flex: none;
    width: 100%;
    height: auto;
    padding: 80px 30px 30px;
    order: 1;
    text-align: center;
    
    background:
      
      radial-gradient(
        ellipse 150% 60% at 50% 0%,
        rgba(245, 238, 230, 0.6) 0%,
        transparent 50%
      ),
      
      linear-gradient(
        180deg,
        #EBE3D9 0%,
        #E1D6CA 40%,
        #D5C8BA 100%
      );
  }

  .p-category__body {
    max-width: 100%;
    opacity: 1;
    transform: none;
  }

  .p-category__heading {
    margin-bottom: 0;
  }

  .p-category__heading__en {
    font-size: 25px;
  }

  .p-category__heading__ja {
    font-size: 10px;
    margin-top: 5px;
  }

  .p-category__lineup {
    font-size: 11px;
    margin-top: 20px;
  }

  .p-category__link-wrapper {
    margin-top: 30px;
  }

  .p-category__link-wrapper + .p-category__link-wrapper {
    margin-top: 20px;
  }

  .p-category__link {
    align-items: center;
  }

  .p-category__link__arrow {
    width: 140px;
  }

  .p-category__figure {
    flex: 1;
    width: 100%;
    height: auto;
    order: 2;
    min-height: 0;
  }

  .p-category__figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: auto;
  }

  .p-category__nav {
    display: none;
  }
}

.popup-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 10001;
  width: 200px;
  height: 200px;
  border-radius: 8px;
  overflow: visible;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  animation: slideIn 0.5s ease forwards;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(20px);
  }
}

.popup-banner.hidden {
  animation: slideOut 0.5s ease forwards;
  pointer-events: none;
}

.popup-banner a {
  display: block;
  line-height: 0;
}

.popup-banner img {
  border-radius: 8px;
}

.popup-banner__close {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #333;
  border: 2px solid #fff;
  cursor: pointer;
  z-index: 1;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup-banner__close::before,
.popup-banner__close::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 2px;
  background: #fff;
}

.popup-banner__close::before {
  transform: rotate(45deg);
}

.popup-banner__close::after {
  transform: rotate(-45deg);
}

.popup-banner__close:hover {
  background: #555;
}

@media screen and (max-width: 768px) {
  .popup-banner {
    width: 250px;
    height: 250px;
    bottom: 15px;
    left: 15px;
  }
}

@media screen and (max-width: 480px) {
  .popup-banner {
    width: 150px;
    height: 150px;
    bottom: 10px;
    left: 10px;
  }

  .popup-banner__close {
    width: 28px;
    height: 28px;
    top: -10px;
    right: -10px;
  }

  .popup-banner__close::before,
  .popup-banner__close::after {
    width: 12px;
  }
}

.p-float {
  position: fixed;
  bottom: 0;
  right: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease;
}

.p-float.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.p-float__item {
  margin: 0;
  padding: 0;
}

.p-float__link {
  display: block;
  transition: background-color 0.3s ease;
}

.p-float__link img {
  display: block;
  width: 110px;
  height: 110px;
  transition: filter 0.3s ease;
}

.p-float__item:first-child .p-float__link {
  background-color: #f5f5f5;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.p-float__item:first-child .p-float__link:hover {
  background-color: #595759;
}

.p-float__item:first-child .p-float__link:hover img {
  filter: brightness(0) invert(1);
}

.p-float__item:first-child .p-float__link img {
  padding: 35px 14px;
}

.p-float__item:last-child .p-float__link {
  background-color: #877255;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.p-float__item:last-child .p-float__link:hover {
  background-color: #595759;
}

.p-float__item:last-child .p-float__link:hover img {
  filter: brightness(0) invert(1);
}

.p-float__item:last-child .p-float__link img {
  padding: 30px;
}

@media screen and (max-width: 768px) {
  .p-float {
    bottom: 0;
    right: 0;
  }

  .p-float__link img {
    width: 80px;
    height: 80px;
  }

  .p-float__item:first-child .p-float__link img {
    padding: 15px 10px;
  }

  .p-float__item:last-child .p-float__link img {
    padding: 16px 18px;
  }

  .scroll-top {
    bottom: 60px;
    right: 100px;
  }
}

.p-top-feature {
  position: relative;
}

.p-top-feature__title {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 70px 20px;
}

.p-top-feature__title--lineup {
  padding: 80px 60px 50px;
  background: #EFE9E0;
}

@media screen and (min-width: 768px) {
  .p-top-feature__title {
    padding: 90px 50px;
  }
  .p-top-feature__title--lineup {
    padding: 80px 60px 50px;
  }
}

@media screen and (min-width: 1200px) {
  .p-top-feature__title {
    padding: 100px 60px;
  }
  .p-top-feature__title--lineup {
    padding: 80px 60px 50px;
  }
}

.p-top-feature:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(
      ellipse 120% 80% at 15% 20%,
      rgba(245, 238, 230, 0.7) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse 100% 60% at 80% 90%,
      rgba(210, 195, 175, 0.4) 0%,
      transparent 45%
    ),
    linear-gradient(
      155deg,
      #F5EEE6 0%,
      #EDE6DD 20%,
      #EBE4DB 45%,
      #E3DAD0 70%,
      #D8CFC3 100%
    );
}

.p-top-feature__inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px 130px;
}

.p-top-feature__unit {
  display: flex;
  align-items: flex-start;
}

.p-top-feature__unit:nth-child(odd) {
  flex-direction: row;
}

.p-top-feature__unit:nth-child(even) {
  flex-direction: row-reverse;
}

.p-top-feature__unit + .p-top-feature__unit {
  margin-top: 100px;
}

.p-top-feature__figure {
  flex: 0 0 calc(50% + 30px);
  width: calc(50% + 30px);
  margin: 0;
  overflow: hidden;
}

.p-top-feature__figure img {
  width: 100%;
  height: auto;
  display: block;
}

.p-top-feature__body {
  flex: 1;
  padding-top: 80px;
  text-align: center;
}

.p-top-feature__unit:nth-child(odd) .p-top-feature__body {
  padding-left: 60px;
}

.p-top-feature__unit:nth-child(even) .p-top-feature__body {
  padding-right: 60px;
}

.p-top-feature__heading {
  margin: 0;
}

.p-top-feature__heading__ja {
  display: block;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.7;
  color: #000;
}

.p-top-feature__heading__en {
  display: block;
  font-family: 'Ubuntu', sans-serif;
  font-size: 48px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1;
  color: #000;
  margin-top: 15px;
}

.p-top-feature__subtitle {
  font-size: 16px;
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0.08em;
  color: #000;
  margin-top: 35px;
}

.p-top-feature__desc {
  font-size: 13px;
  font-weight: 400;
  line-height: 2.3076923077;
  letter-spacing: 0.08em;
  color: #000;
  margin-top: 20px;
}

.p-top-feature__link-wrapper {
  margin-top: 55px;
}

.p-top-feature__link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: #000;
  text-decoration: none;
  font-family: 'Ubuntu', sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.16em;
  line-height: 1;
  transition: opacity 0.4s ease;
}

.p-top-feature__link:hover {
  opacity: 0.8;
}

.p-top-feature__link__arrow {
  width: 115px;
  height: 5px;
  transition: transform 0.4s ease;
  filter: brightness(0);
}

.p-top-feature__link:hover .p-top-feature__link__arrow {
  transform: translateX(12.5px);
}

@media screen and (max-width: 767px) {
  .p-top-feature:before {
    top: 0;
  }

  .p-top-feature__inner {
    padding: 0 15px 80px;
  }

  .p-top-feature__unit {
    display: block;
  }

  .p-top-feature__unit + .p-top-feature__unit {
    margin-top: 60px;
  }

  .p-top-feature__figure {
    width: calc(100% + 30px);
    margin-left: -15px;
    margin-right: -15px;
  }

  .p-top-feature__body {
    padding-top: 30px;
  }

  .p-top-feature__unit:nth-child(odd) .p-top-feature__body {
    padding-left: 0;
  }

  .p-top-feature__unit:nth-child(even) .p-top-feature__body {
    padding-right: 0;
  }

  .p-top-feature__heading__ja {
    font-size: 11px;
  }

  .p-top-feature__heading__en {
    font-size: 32px;
    margin-top: 10px;
  }

  .p-top-feature__subtitle {
    font-size: 14px;
    line-height: 1.8;
    margin-top: 20px;
  }

  .p-top-feature__desc {
    font-size: 12px;
    line-height: 2.0833333333;
    margin-top: 15px;
  }

  .p-top-feature__link-wrapper {
    margin-top: 30px;
  }

  .p-top-feature__link {
    font-size: 11px;
  }

  .p-top-feature__link__arrow {
    width: 100px;
  }
}

.p-top-pattern {
  padding: 20px 0 100px;
  background-color: #fff;
}

.p-top-pattern__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.p-top-pattern__heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 60px;
}

.p-top-pattern .c-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.p-top-pattern .c-heading__en {
  font-family: 'Ubuntu', sans-serif;
  font-size: 40px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #2b2b40;
}

.p-top-pattern .c-heading__ja {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: #333;
}

.p-top-pattern .c-heading__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 400;
  color: #333;
  text-decoration: none;
  border: 1px solid #333;
  padding: 12px 32px;
  margin-top: 24px;
  transition: all 0.3s ease;
}

.p-top-pattern .c-heading__link:hover {
  background-color: #333;
  color: #fff;
}

.p-top-pattern .tab-list {
  display: flex;
  margin-bottom: 40px;
  position: relative;
}

.p-top-pattern .tab-list::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 1px;
  background-color: #e0e0e0;
}

.p-top-pattern .tab-item {
  width: 50%;
  font-family: 'Ubuntu', sans-serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: #dcdce5;
  background-color: #f8f8f8;
  border: 1px solid #e0e0e0;
  border-bottom: none;
  padding: 24px 32px;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
  outline: none;
}

.p-top-pattern .tab-item:hover {
  color: #666;
}

.p-top-pattern .tab-item.is-active {
  color: #2b2b40;
  background-color: #fff;
  border-top: 2px solid #000;
  border-left: 2px solid #000;
}

.p-top-pattern .tab-item.is-active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background-color: #fff;
}

.p-top-pattern .tab-panel {
  display: none;
}

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

.p-top-pattern__card-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 56px 64px;
  list-style: none;
  max-width: 1126px;
  margin: 0 auto;
  padding: 100px 20px 0;
}

.p-top-pattern__card-item {
  overflow: hidden;
}

.p-top-pattern__card {
  display: block;
  text-decoration: none;
  color: #333;
}

.p-top-pattern__card__figure {
  margin: 0;
}

.p-top-pattern__card__figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.p-top-pattern__card:hover .p-top-pattern__card__figure img {
  transform: scale(1.05);
}

.p-top-pattern__card__figure .name {
  font-size: 13px;
  font-weight: 400;
  text-align: center;
  margin-top: 12px;
  color: #333;
}

@media screen and (max-width: 1024px) {
  .p-top-pattern__card-list {
    grid-template-columns: repeat(4, 1fr);
    gap: 40px 32px;
    padding-top: 60px;
  }
}

@media screen and (max-width: 900px) {
  .p-top-pattern__card-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 24px;
  }
}

@media screen and (max-width: 768px) {
  .p-top-pattern {
    padding: 60px 0 80px;
  }

  .p-top-pattern__inner {
    padding: 0 20px;
  }

  .p-top-pattern__heading {
    margin-bottom: 30px;
  }

  .p-top-pattern .c-heading__en {
    font-size: 28px;
  }

  .p-top-pattern .c-heading__ja {
    font-size: 13px;
  }

  .p-top-pattern .c-heading__link {
    font-size: 12px;
    padding: 10px 20px;
    margin-top: 16px;
  }

  .p-top-pattern .tab-list {
    margin-bottom: 24px;
  }

  .p-top-pattern .tab-item {
    font-size: 14px;
    padding: 16px 12px;
  }

  .p-top-pattern__card-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px 12px;
    padding-top: 40px;
  }

  .p-top-pattern__card__figure .name {
    font-size: 11px;
    margin-top: 8px;
  }
}

.case {
  background: #f6f3ee;
  padding-inline: 20px;
}

.case__inner {
  max-width: 1126px;
  margin: 0 auto;
  padding: 80px 0 160px;
}

.case__list {
  display: grid;
  grid-template-columns: repeat(3, calc(352 / 1126 * 100%));
  row-gap: 80px;
  justify-content: space-between;
  list-style: none;
  margin: 0;
  padding: 0;
}

.case__list-item {
  transition: 0.3s;
  list-style: none;
}

.case__list-item.not-hover {
  opacity: 0.3;
}

.case__list-item-button {
  display: block;
  position: relative;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: inherit;
  text-align: left;
  width: 100%;
}

.case__list-item-button::after {
  content: "転載禁止";
  position: absolute;
  top: 0;
  right: 0;
  background: #333;
  font-size: 13px;
  color: #fff;
  padding: 5px 6px;
  z-index: 1;
  line-height: 1;
}

.case__list-item-image {
  width: 100%;
  height: auto;
  transition: 0.3s;
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none;
}

.case__list-item.is-hover .case__list-item-image {
  box-shadow: 10px 10px 50px -10px rgb(0 0 0 / 41%);
}

.case__list-item-text {
  font-size: 14px;
  letter-spacing: 0.02em;
  text-align: center;
  margin-top: 20px;
}

@media screen and (max-width: 768px) {
  .case__inner {
    padding: 35px 0 60px;
  }

  .case__list {
    grid-template-columns: repeat(2, calc(160 / 335 * 100%));
    row-gap: 25px;
  }

  .case__list-item-button::after {
    font-size: 10px;
  }

  .case__list-item-text {
    font-size: 11px;
    margin-top: 10px;
  }
}

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

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

.case-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  cursor: pointer;
}

.case-modal__container {
  position: relative;
  width: 90%;
  max-width: 860px;
  max-height: 90vh;
  background: #E1D6C9;
  color: #000;
  border-radius: 0;
  overflow: hidden;
  transform: translateY(20px);
  transition: transform 0.4s ease;
}

.case-modal.is-active .case-modal__container {
  transform: translateY(0);
}

.case-modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
  padding: 0;
  color: #877256;
  transition: opacity 0.3s ease;
}

.case-modal__close:hover {
  color: #877256;
  opacity: 0.7;
}

.case-modal__close svg {
  width: 100%;
  height: 100%;
}

.case-modal__content {
  padding: 50px 60px 40px;
  text-align: center;
  color: #fff;
}

.case-modal__label {
  font-family: 'Ubuntu', sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: #877256;
  margin-bottom: 10px;
}

.case-modal__title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.4;
  margin: 0 0 15px;
  color: #000;
}

.case-modal__product {
  font-family: 'Ubuntu', 'Noto Sans JP', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: rgba(0, 0, 0, 0.8);
  margin-bottom: 25px;
}

.case-modal__slider {
  position: relative;
  margin-bottom: 30px;
}

.case-modal__slider-wrapper {
  overflow: hidden;
  border-radius: 0;
}

.case-modal__slider-track {
  display: flex;
  transition: transform 0.4s ease;
}

.case-modal__slider-slide {
  flex: 0 0 100%;
  position: relative;
}

.case-modal__slider-slide img {
  width: 100%;
  height: auto;
  display: block;
  -webkit-user-drag: none;
  user-select: none;
}

.case-modal__slider-slide::after {
  content: "転載禁止";
  position: absolute;
  top: 0;
  right: 0;
  background: #333;
  font-size: 13px;
  color: #fff;
  padding: 5px 8px;
  z-index: 1;
  line-height: 1;
}

.case-modal__slider-arrow {
  position: absolute;
  top: calc(100% + 20px);
  width: 50px;
  height: 50px;
  background: none;
  border: 1px solid #877256;
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  color: #877256;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-modal__slider-arrow:hover {
  border-color: #877256;
  color: #877256;
  opacity: 0.7;
}

.case-modal__slider-arrow svg {
  width: 24px;
  height: 24px;
}

.case-modal__slider-arrow--prev {
  left: calc(50% - 120px);
}

.case-modal__slider-arrow--next {
  right: calc(50% - 120px);
}

.case-modal__slider-pagination {
  position: absolute;
  top: calc(100% + 35px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  align-items: center;
}

.case-modal__slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: none;
  border: 1px solid #877256;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.case-modal__slider-dot.is-active {
  background: #877256;
  border-color: #877256;
}

.case-modal__slider-dot:hover {
  border-color: #877256;
  opacity: 0.7;
}

.case-modal__link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #000;
  text-decoration: none;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.08em;
  margin-top: 60px;
  transition: opacity 0.3s ease;
}

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

.case-modal__link-arrow {
  width: 140px;
  height: 5px;
  transition: transform 0.4s ease;
}

.case-modal__link:hover .case-modal__link-arrow {
  transform: translateX(10px);
}

@media screen and (max-width: 768px) {
  .case-modal__container {
    width: 95%;
    max-height: 85vh;
    overflow-y: auto;
  }

  .case-modal__close {
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
  }

  .case-modal__content {
    padding: 40px 20px 30px;
  }

  .case-modal__label {
    font-size: 12px;
  }

  .case-modal__title {
    font-size: 20px;
  }

  .case-modal__product {
    font-size: 12px;
  }

  .case-modal__slider-arrow {
    width: 40px;
    height: 40px;
  }

  .case-modal__slider-arrow--prev {
    left: calc(50% - 100px);
  }

  .case-modal__slider-arrow--next {
    right: calc(50% - 100px);
  }

  .case-modal__slider-slide::after {
    font-size: 10px;
    padding: 4px 6px;
  }

  .case-modal__link {
    font-size: 12px;
    margin-top: 50px;
  }

  .case-modal__link-arrow {
    width: 120px;
  }
}

.image-fit {
  padding: 80px 0;
  background-color: #F4F1EC;
  border-top: 1px solid #E3DDD4;
}

.image-fit__inner {
  margin: 0 auto;
}

.image-fit__list {
  display: flex;
  flex-direction: column;
  margin-left: auto;
  margin-right: auto;
  gap: 20px;
  max-width: 1020px;
  padding: 0 20px;
  list-style: none;
}

.image-fit__item {
  width: 100%;
  height: 54.6666vw;
  background-size: 100%;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  text-align: center;
  transition: background-size 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-fit__item a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #fff;
  text-decoration: none;
}

.image-fit__item:hover {
  background-size: 110%;
}

.image-fit__item--vr {
  background-image: url('./img/vr_bg.jpg');
}

.image-fit__item--imagefit {
  background-image: url('./img/image_fit_bg.jpg');
}

.image-fit__item-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
}

.image-fit__item-text {
  font-size: 14px;
  line-height: 1.8;
}

@media screen and (min-width: 768px) {
  .image-fit__list {
    flex-direction: row;
    gap: 50px;
  }

  .image-fit__item {
    width: calc((100% - 50px) / 2);
    height: auto;
    aspect-ratio: 980 / 600;
  }
}

@media screen and (min-width: 1028px) {
  .image-fit__list {
    padding: 0;
  }
}

@media screen and (max-width: 767px) {
  .image-fit {
    padding: 40px 0;
  }
}

#common-footer {
  background-color: #fff;
  margin-left: -20px;
  margin-right: -20px;
}

.image-gallery {
  background-color: #fff;
  padding: 0 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.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__inner {
  max-width: 1126px;
  margin: 0 auto;
  padding-top: 90px;
}

.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__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: 0 20px 60px;
  }

  .image-gallery__inner {
    padding-top: 50px;
  }

  .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: 50%;
  }

  .sp {
    display: block;
  }
}

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

.backLinks {
  padding: 100px 0 80px;
  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 {
    padding: 60px 0 60px;
  }
}

.l-footer {
  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 {
    padding: 30px 0 20px;
  }

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