html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  box-sizing: border-box;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  -webkit-font-smoothing: antialiased; /* Macで細めに */
  text-rendering: optimizeLegibility;
  line-height: 1.5;
  letter-spacing: 0.25em;
  background-color: #f2f0eb;
  justify-content: center;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
}
/* pc背景 */
@media screen and (max-width: 959px) {
  .contents-wrapper {
    display: block;
  }

  .pc-bg_left,
  .pc-bg_right {
    display: none;
  }
}
/* メインコンテンツ */
.maincontents {
  width: 100%;
  max-width: 390px;
  margin: 0 auto;
  justify-content: center;
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
}
.header {
  width: 100%;
  height: auto;
}
.header h1 {
  width: 130px;
  padding: 12px 0 12px 20px;
}
.top {
  width: 100%;
  height: auto;
}
.cm h2 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 5.4px;
  line-height: 1.75;
  color: #3d3131;
  text-align: center;
  margin: 50px auto 30px;
}
.cm__video {
  position: relative;
  max-width: 640px;
  aspect-ratio: 16 / 9;
  cursor: pointer;
  background-color: #000;
  margin: 20px 20px 0;
  border-radius: 5px;
  overflow: hidden;
}
.cm__video iframe,
.cm__video div[id^="yt-player-"] {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
}

.video-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  pointer-events: none;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border: 1px solid #ffffff;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.play-icon {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 8px 0 8px 12px;
  border-radius: 1px;
  border-color: transparent transparent transparent white;
  margin: 12px 0 2px 5px;
}

.play-text {
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 1px;
  margin-left: 4px;
}

.cm__video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: none;
}
.feature {
  margin-top: 70px;
}
.anchorButton {
  margin: 30px 20px 0;
  display: flex;
  justify-content: center;
  gap: 6px;
}
.anchorButton__button {
  width: 33.33333333%;
  text-align: center;
}
.anchorButton__button a {
  display: block;
  text-align: center;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: #3d3131;
  height: auto;
  border-radius: 5px;
  background-color: #ffffff;
  overflow: hidden;
}

.anchorButton__button a .anchorButton-img {
  margin: 14px 19px;
}
.anchor_d-rise-en {
  height: 10px;
  margin-top: -6px;
}
.anchor_d-rise-en img {
  height: 100%;
  margin: 0 auto;
}
.anchor_pure-dream-en {
  height: 8px;
  margin-top: -6px;
}
.anchor_pure-dream-en img {
  height: 100%;
  margin: 0 auto;
}
.anchorButton__button a span {
  display: block;
  font-weight: 700;
}

.anchorButton__button a svg {
  width: 17px;
  height: 17px;
  margin-top: 8px;
  margin-bottom: 12px;
}

.d-rise {
  margin-top: 70px;
  width: 100%;
  height: auto;
}
.d-rise__title {
  margin: 0 35px;
  max-width: 260px;
}
.d-rise__image-wrapper {
  margin-top: 16px;
  width: 100%;
  height: auto;
}
.d-rise__feature1 {
  margin-top: 22px;
  font-size: 2rem;
  text-align: center;
  font-weight: 600;
  color: #3d3131;
}
.d-rise__feature1 .marker-text {
  background-image: linear-gradient(transparent 80%, #ffd54f 70%);
  font-size: 3rem;
  font-weight: 700;
}
.d-rise__feature1 .feature1_image-title {
  margin-top: 80px;
  font-size: 2rem;
  font-weight: 600;
  color: #3d3131;
  text-align: center;
}
.d-rise__feature1 .feature1_image {
  margin: 10px 20px 0;
}
.d-rise__feature2 {
  margin-top: 80px;
  font-size: 3rem;
  font-weight: 700;
  color: #3d3131;
  text-align: center;
}
.d-rise__feature2 .marker-text {
  background-image: linear-gradient(transparent 70%, #ffd54f 70%);
  margin-top: 80px;
  font-size: 2rem;
  text-align: center;
  font-weight: 600;
  color: #3d3131;
}
.d-rise__feature2 .feature2_image {
  margin: 20px 35px 60px;
}
.reelMovie {
  padding: 50px 0;
  width: 100%;
  height: auto;
  background-color: #bcb2a1;
}
.reelMovie__title {
  color: #ffffff;
  text-align: center;
  font-weight: 500;
  font-size: 1.4rem;
  margin-bottom: 25px;
}
.reelMovie__title-en {
  font-size: 3rem;
  font-weight: 800;
  font-family: "M PLUS 1p", sans-serif;
}

/* カルーセルここから */
.slider {
  max-width: 800px;
  margin: 0 auto;
}

.slider .slick-slide {
  transform: scale(0.6);
  transition: transform 0.3s ease;
  opacity: 0.6;
  min-width: 0;
}

.slider .slick-slide[aria-hidden="false"] {
  transform: scale(1);
  opacity: 1;
}

.slider .slick-cloned {
  transform: scale(0.6);
  opacity: 0.6;
}

.slider img {
  width: 100%;
  height: auto;
  display: block;
}
.slider__text {
  color: #fff;
  margin-top: 6px;
  font-size: 1.1rem;
  text-align: center;
  letter-spacing: 0.6px;
  font-weight: 400;
}

/* ナビゲーション（矢印・ドット）配置 */
.slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-top: 24px;
}

/* 矢印ボタン */
.custom-prev,
.custom-next {
  width: 33px;
  height: 33px;
  background: url("img/arrow.svg") no-repeat center center / contain;
  border: none;
  cursor: pointer;
}

.custom-next {
  transform: rotate(180deg);
}

/* ドットリスト全体 */
.custom-dots .slick-dots {
  position: static !important;
  display: flex !important;
  justify-content: center;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 8px; /* ドット間隔を8pxに */
}

/* 各ドットボタンの配置 */
.custom-dots .slick-dots li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Slickが生成するドットボタン */
.custom-dots .slick-dots button {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
}

/* SVGサイズ（非アクティブ） */
.custom-dot-svg {
  width: 11px;
  height: 11px;
}

.custom-dot-svg circle {
  fill: #fff;
  stroke: none;
}

/* アクティブ状態のSVG（拡大＋白枠＋茶塗り） */
.slick-dots .slick-active .custom-dot-svg {
  width: 17px;
  height: 17px;
}

.slick-dots .slick-active .custom-dot-svg circle {
  fill: #3d3131;
  stroke: #fff;
  stroke-width: 2;
}
/* カルーセルここまで */

.accordion {
  margin: 30px 20px 0;
}
.accordion__mattress {
  margin-top: 10px;
}
.pdf {
  display: flex;
  justify-content: space-between;
  width: 90%;
  height: 115px;
  margin: 20px auto 0;
  gap: 5px;
  background-color: #bcb2a1;
  color: #f5f4eb;
  font-size: 1.5rem;
  padding: 15px;
  border-radius: 5px;
}
.pdf__text {
  display: grid;
  place-items: center;
}
.pdf__image {
  max-width: 120px;
}
.pdf__image img {
  height: 100%;
  object-fit: contain;
  display: block;
}
.company {
  margin: 70px 20px 0;
  background-color: #ffffff;
  color: #00478b;
  border-radius: 10px;
}
.company__text-wrapper {
  padding: 30px 25px;
}
.company__heading {
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 2.4rem;
}
.company__text {
  margin-top: 15px;
  font-size: 1.3rem;
  letter-spacing: 0.5px;
  line-height: 2.5rem;
}
.sitting-image-wrapper {
  margin-top: 40px;
}
.shopList {
  padding-top: 80px;
  background-color: #f4f6f7;
}
.shopList__title {
  display: block;
  font-size: 1.9rem;
  text-align: center;
  font-weight: 700;
  color: #3d3131;
}
.shopList-wrapper {
  margin: 25px 35px 0;
}

.shopList-accordion {
  margin-top: 7px;
}

.shopList-accordion summary {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 10px 30px;
  background-color: #00478b;
  color: #ffffff;
  font-weight: 400;
  font-size: 1.5rem;
  cursor: pointer;
}

.shopList-accordion summary::-webkit-details-marker {
  display: none;
}

.shopList-accordion summary::before,
.shopList-accordion summary::after {
  width: 1px;
  height: 0.9em;
  border-radius: 5px;
  background-color: #ffffff;
  content: "";
}

.shopList-accordion summary::before {
  position: absolute;
  right: 2em;
  rotate: 90deg;
}

.shopList-accordion summary::after {
  position: absolute;
  right: 2em;
  transition: rotate 0.3s;
}

.shopList-accordion[open] summary::after {
  rotate: 90deg;
}

.shopList-accordion div {
  transform: translateY(-10px);
  opacity: 0;
  margin: 0;
  padding: 15px 0;
  color: #000000;
  transition: transform 0.5s, opacity 0.5s;
}

.shopList-accordion[open] div {
  transform: none;
  opacity: 1;
}
.shopList-accordion[open] div:last-child {
  margin-bottom: 20px;
}

.shopList-accordion .shop {
  color: #3d3131;
  border-bottom: 0.5px solid #3d3131;
  font-size: 10px;
  letter-spacing: 1px;
}
.shopList-accordion .shopname {
  display: block;
  margin-bottom: 10px;
  color: #02478a;
  font-size: 1.2rem;
}
.address-wrapper {
  display: flex;
}
.address-title {
  text-wrap: nowrap;
}
.showroom {
  background-color: #f4f6f7;
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2列 */
  gap: 20px; /* 要素間の余白（必要に応じて調整） */
  list-style: none;
  padding: 30px 35px 100px;
  max-width: 390px; /* 中央揃えのために幅制限 */
}
.showroom li {
  overflow: hidden;
}
.contents-title {
  font-size: 1.2rem;
  color: #00478b;
  font-weight: 600;
  letter-spacing: 1.2px;
  padding: 8px 0 5px;
}
.showroom-address {
  font-size: 10px;
  letter-spacing: 0.2px;
  font-weight: 500;
  color: #3d3131;
  padding-bottom: 5px;
}
.map a {
  display: inline-block;
  color: #00478b;
  border-bottom: 1px solid #00478b;
  letter-spacing: 0.2px;
}
.footer {
  background-color: #00478b;
  text-align: center;
}
.footer__logo {
  padding: 40px 0 25px;
  margin: 0 auto;
  width: 130px;
}
.footer__sns {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.footer__sns a img {
  width: 25px;
  height: auto;
}
.copyright {
  padding: 20px 0 10px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  letter-spacing: 0.45px;
}

/* pc背景 */
@media screen and (min-width: 960px) {
  .contents-wrapper {
    display: flex;
    margin: 0 auto;
    gap: 0px;
  }

  .pc-bg_left {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
  }
  .pc-bg_left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .maincontents {
    flex: 1;
    min-width: 390px;
    margin: 0;
  }

  .pc-bg_right {
    min-width: 300px;
  }

  .sticky-nav {
    position: fixed;
    top: 50%;
    right: 2.5%;
    transform: translateY(-50%);
  }
  .pc-bg_logo {
    width: 110px;
    margin: 0 auto;
  }
  .pc-bg_title {
    width: 200px;
    margin: 0 auto 5px;
  }
  .anchorButton.pc-nav {
    flex-direction: column;
  }
  .anchorButton__button.pc-nav {
    width: 215px;
    height: 85px;
  }
  .anchorButton__button.pc-nav a {
    display: flex;
    align-items: center;
    border-radius: 10px;
  }
  .anchorButton__button.pc-nav a .anchorButton-img {
    width: 60px;
    margin: 12px;
  }
  .anchor_text {
    text-wrap: nowrap;
    margin-right: 13px;
    width: 80px;
    text-align: left;
    font-size: 1.6rem;
  }
  .anchor_text .anchor_d-rise-en img {
    margin: 0 0 0 3px;
  }
  .anchor_text .anchor_pure-dream-en img {
    margin: 0 0 0 3px;
  }
  .anchorButton__button.pc-nav a svg {
    width: 22px;
    height: 22px;
    margin: 0;
  }
}
/* TOPに戻るボタン */
.to-top-btn {
  position: fixed;
  bottom: 20px;
  right: 15px; /* 初期値（JSで上書きされる） */
  z-index: 999;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.to-top-btn svg {
  width: 40px;
  height: 40px;
}
.to-top-btn.visible {
  opacity: 1;
  pointer-events: auto;
}
.to-top-btn:hover {
  transform: scale(1.05);
}

/* フェードイン */
/* 初期状態：非表示 */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* 表示状態：フェードイン */
.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}
