@charset "utf-8";

* {
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
}

body.lock {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
  color: #fff;
}

.sp {
  display: none;
}

/* ローディング画面 */
#loading {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  background: #fff;
  text-align: center;
}

#loading_box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#loading .kvArea {
  width: 100%;
}

#loading .kvArea .img_box {
  text-align: center;
}

#loading .kvArea .img_box img {
  max-width: 100%;
  height: auto;
}

.fadeUp {
  animation-name: fadeUpAnime;
  animation-duration: 1.2s;
  animation-delay: 1.2s;
  animation-fill-mode: forwards;
  opacity: 1;
}

@keyframes fadeUpAnime {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 0;
    transform: translateY(-100px);
  }
}

/* フェードイン */
.fade-in {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s ease;
}

.fade-in-right.show {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease;
}

.fade-in-left.show {
  opacity: 1;
  transform: translateX(0);
}

.line {
  content: "";
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, #796a56, #c8bb9b, #796a56);
}

#header {
  position: absolute;
  width: 100%;
  z-index: 1;
  background-color: rgba(255, 255, 255, 0.5);
  border-bottom: 10px solid #796a56;
  border-image: linear-gradient(to right, #796a56, #c8bb9b, #796a56);
  border-image-slice: 1;
}

#navigation {
  padding: 1rem 0;
}

#navigationList {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
}

.navigationListItem {
  font-size: 1.5rem;
  text-align: center;
}

.navCaption {
  background: linear-gradient(to right, #796a56, #c8bb9b 20%, #796a56);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: "adobe-garamond-pro", serif;
  font-weight: bold;
  font-style: italic;
}

.navName {
  color: #302115;
  padding: 0 2.75rem;
  font-family: YuMincho, 'Yu Mincho', serif;
  font-weight: bold;
  position: relative;
}

.navName::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  width: 15%;
  aspect-ratio: 4 / 1;
  transform: translate(-50%, 0);
  background-image: url(../h2_after.png);
  background-size: contain;
  background-repeat: no-repeat;
}

.navName::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(-50%, 50%);
  width: 3px;
  height: 50%;
  background-color: #302115;
  border-radius: 10px;
}

.navigationListItem:last-child .navName::after {
  width: 0;
}

#contentsWrapper {
  max-width: 1920px;
  margin: 0 auto;
}

#mainVisual {
  position: relative;
}

#mainVisualText {
  width: 100%;
  position: absolute;
  bottom: 0%;
  left: 50%;
  transform: translate(-50%, -40%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 3rem;
}


#h1 {
  font-size: 4.125rem;
  color: #fff;
  font-family: YuMincho, 'Yu Mincho', serif;
}

.contentsInner {
  max-width: 1440px;
  width: 90%;
  margin: 0 auto;
}


#no1 {
  background-color: #302115;
}

#no1 img {
  margin: 0 auto;
  display: block;
}

#overview {
  padding: 10rem 0;
  position: relative;
  background: url(../overview_top_bg.jpg), top center, linear-gradient(to bottom, #D9D0C1, #fff);
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 1;
}

#overview h2 {
  color: #302115;
  text-align: center;
  font-size: 3.5rem;
  font-family: YuMincho, 'Yu Mincho', serif;
  position: relative;
  padding-top: 3.5rem;
  margin-bottom: 10rem;
}

#overview h2::before {
  content: "About Hotelmattress";
  font-size: 2rem;
  background: linear-gradient(to right, #796a56, #c8bb9b 20%, #796a56);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: "adobe-garamond-pro", serif;
  font-weight: bold;
  font-style: italic;
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translate(-50%, 0);
}

#overview h2::after {
  content: "";
  width: 300px;
  aspect-ratio: 1/1;
  background-image: url(../overview_bg.png);
  background-size: cover;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: -1;
}

#overviewBg {
  aspect-ratio: 1/1;
  width: 100%;
  max-width: 442px;
  position: absolute;
  top: 50%;
  right: 7%;
  transform: translateY(-50%);
}

#overview p {
  font-family: "toppan-bunkyu-mincho-pr6n", serif;
  font-style: normal;
  color: #302115;
  font-size: 1.5rem;
  margin-bottom: 2rem;
  line-height: 2;
}

#overview p:last-child {
  margin-bottom: 0;
}

#overviewText1 {
  width: 50%;
  padding-left: 50%;
  position: relative;
}

#overviewText1::after {
  content: "";
  width: 60%;
  aspect-ratio: 931/626;
  position: absolute;
  top: 50%;
  left: -240px;
  transform: translateY(-50%);
  background-image: url(../overview_bg2.png);
  background-size: cover;
}


#overviewText1 picture {
  position: absolute;
  top: 0;
  left: 0;
  transform: translateY(-30%);
}

#overviewImg {
  position: relative;
  overflow-x: hidden;
}

#overviewImgBg {
  position: absolute;
  top: 0;
  left: 15%;
  width: 20%;
}

#overviewImgBg+picture {
  position: relative;
  z-index: 2;
}

#overviewText2 {
  width: 100%;
}

.gallery {
  padding: 9rem 0;
}

.swiper-wrapper {
  transition-timing-function: linear !important;
}

#mattress h2,
#bottom h2 {
  color: #fff;
  font-family: YuMincho, 'Yu Mincho', serif;
  font-size: 3.5rem;
  font-weight: bold;
  position: relative;
  text-align: center;
  padding: 4rem 0;
  box-shadow: 7px 7px 10px rgba(31, 22, 15, 0.75);
}

#mattress h2 {
  background-color: #62544e;
}

#bottom h2 {
  background-color: #d9d0c1;
  color: #302115;
}

#bottom h2::before {
  background: linear-gradient(to right, #796a56, #c8bb9b 20%, #796a56);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

#mattress h2::before,
#bottom h2::before {
  content: "Line up";
  font-size: 2rem;
  font-family: "adobe-garamond-pro", serif;
  font-style: italic;
  font-weight: normal;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -200%);
}

#mattress h2::after,
#bottom h2::after {
  width: 120px;
  aspect-ratio: 4/1;
  content: "";
  position: absolute;
  bottom: 50%;
  left: 50%;
  transform: translate(-50%, calc(200% + 1rem));
  background-image: url(../h2_after.png);
  background-size: cover;
}

.series {
  padding: 5rem 0;
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;

}

#luxury {
  background-image: url(luxury_bg.jpg);
}

#premium {
  background-image: url(premium_bg.jpg);
}

#basic {
  background-image: url(basic_bg.jpg);
}

#mattress h3 {
  font-size: 3.5rem;
  font-family: "adobe-garamond-pro", serif;
  font-style: italic;
  text-align: center;
  position: relative;
  letter-spacing: 5px;
  color: #fff;
}

#premium h3 {
  text-shadow: 2px 2px 5px rgb(51 51 51 / 75%);
}

#mattress h3::after {
  font-family: "toppan-bunkyu-mincho-pr6n", serif;
  font-size: 2rem;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  -webkit-text-fill-color: initial;
  letter-spacing: 0;
  width: 100%;
}

#luxury h3 {
  background: linear-gradient(to right, #796a56, #c8bb9b 20%, #796a56);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

#luxury h3::after {
  content: "ラグジュアリーシリーズ";
}

#premium h3::after {
  content: "プレミアムシリーズ";
  color: #302115;
  text-shadow: none;
}

#basic h3::after {
  content: "ベーシックシリーズ";
  color: #302115;
}

.seriesDescription {
  font-family: "toppan-bunkyu-mincho-pr6n", serif;
  text-align: center;
  color: #fff;
  font-size: 1.25rem;
  margin: 5rem 0;
}

#premium .seriesDescription,
#basic .seriesDescription {
  color: #302115;
}

.grid2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  text-align: center;
  gap: 2rem;
}

#mattress li {
  transition-duration: .3s;
}

#mattress li:hover {
  transform: scale(1.05);
}

#bottom .grid2 {
  display: flex;
  gap: 3rem;
  text-align: left;
  align-items: center;
}

.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
  gap: 2rem;
}

.goodsName {
  font-family: YuMincho, 'Yu Mincho', serif;
  font-size: 2.5rem;
  font-weight: bold;
  color: #fff;
  margin-top: 2rem;
}

.goodsDiscription {
  font-family: "toppan-bunkyu-mincho-pr6n", serif;
  font-size: 1.25rem;
  color: #fff;
}

#premium .goodsName,
#basic .goodsName,
#premium .goodsDiscription,
#basic .goodsDiscription {
  color: #302115;
}

#multiHard,
#stationBottom {
  padding: 10rem 0;
}

#multiHard {
  background-color: #dfd7cb;
}

#stationBottom {
  background-color: #EAE3D9;
}

#bottom h3 {
  font-family: YuMincho, 'Yu Mincho', serif;
  font-size: 2.5rem;
  font-weight: bold;
  text-align: left;
  position: relative;
  margin-bottom: 2rem;
  /* padding: 5rem 0 0 0; */
  color: #302115;
  display: inline-block;
}

#bottom h3::after {
  content: "";
  width: 0;
  height: 1px;
  background-color: #302115;
  position: absolute;
  top: 100%;
  left: 0;
  transition-duration: .3s;
}

#bottom a:hover h3.bottomName::after {
  width: 100%;
}

.bottom-contents-inner {
  max-width: initial;
  width: 100%;
}

.bottom-grid {
  align-items: center;
}

#multiHard .bottom-grid {
  justify-content: flex-end;
}

.bottomDescription {
  color: #fff;
  font-family: "toppan-bunkyu-mincho-pr6n", serif;
  font-size: 1.5rem;
  /* width: 75%; */
  text-align: left;
  /* padding-left: 3rem; */
  color: #302115;
}

.bottomImg {
  max-width: 100%;
  overflow: hidden;
  cursor: pointer;
}

#multiHard .bottomImg {
  order: 2;
}

.bottomImg img {
  transform: scale(1);
  transition: .3s ease-in-out;
}

.bottomImg:hover img {
  transform: scale(1.05);
}

#pageTop {
  position: fixed;
  opacity: .7;
  bottom: 2%;
  right: 2%;
  z-index: 10;
  display: block;
  width: 100px;
  aspect-ratio: 1/1;
  border-radius: 50%;
  background-color: #3f341a;
  background-image: url(../pagetop.png);
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
}

@media screen and (max-width:1440px) {
  html {
    font-size: 14px;
  }

  #mainVisualText {
    transform: translate(-50%, -20%);
    gap: 2rem;
  }

  #h1 {
    font-size: 4rem;
  }

  #overview h2::after {
    width: 200px;
  }

  .gallery {
    padding: 10% 0;
  }

  .goodsName {
    font-size: 2rem;
  }
}

@media screen and (max-width:1024px) {
  .navigationListItem {
    font-size: 1.25rem;
  }

  #h1 {
    font-size: 3.5rem;
  }

  .logo.pc {
    display: none;
  }

  #overview .contentsInner {
    width: 100%;
  }

  #overview h2::after {
    top: 50%;
    right: 50%;
    transform: translate(50%, 25%);
    width: 300px;
  }

  #overviewText1 {
    width: 90%;
    padding: 0 5%;
    margin: 20rem auto 45%;
  }

  #overviewText1::after {
    top: 100%;
    left: 0;
    transform: translate(0);
  }

  #overviewImg {
    width: 90%;
    margin: 0 auto;
    padding-top: 10rem;
  }

  #overviewImgBg {
    left: 50%;
    transform: translateX(-50%);
    width: auto;
  }

  #overviewText2 {
    width: 90%;
    margin: 2rem auto 0;
  }

  /* .grid3 {
    grid-template-columns: repeat(2, 1fr);
  } */

  #multiHard,
  #stationBottom {
    padding: 5rem 0;
  }

  #bottom .grid2 {
    display: block;
  }

  #bottom h3 {
    margin: 0;
    padding: 5rem 0 0 0;
    text-align: center;
  }

  .bottomDescription {
    width: 100%;
    padding-left: 0;
  }

  .bottom-grid {
    width: 90%;
    margin: 0 auto;
  }

  #pageTop {
    width: 75px;
  }
}

@media screen and (max-width:768px) {
  .pc {
    display: none;
  }

  .sp {
    display: block;
  }

  #loading .kvArea .img_box img {
    max-width: 200px;
  }

  #header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    height: 5.5rem;
    border-width: .5rem;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10;
    box-sizing: border-box;
  }

  .navName::before {
    content: none;
  }

  #header.open {
    background-color: #d9d0c1;
    border-color: #d9d0c1;
    border-image: none;
  }

  #h1 {
    text-align: center;
  }

  #spBtn {
    width: 2.5rem;
    height: 3rem;
    position: relative;
  }

  #spBtn::after {
    content: "menu";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    color: #302115;
    font-size: 1.5rem;
    font-family: "adobe-garamond-pro", serif;
    line-height: .5;
  }

  .navLine {
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, #796a56, #c8bb9b 20%, #796a56);
    position: absolute;
    left: 0;
    transform-origin: center;
    transition-duration: .3s;
  }


  .navLine:first-child {
    top: 0;
  }

  .navLine:nth-child(2) {
    top: 25%;
    transform: translateY(-50%);
  }

  .navLine:nth-child(3) {
    top: 50%;
    transform: translateY(-50%);
  }

  #spBtn.open .navLine:first-child {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
  }

  #spBtn.open .navLine:nth-child(2) {
    display: none;
  }

  #spBtn.open .navLine:nth-child(3) {
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
  }

  #spBtn.open::after {
    display: none;
  }

  .naviInner {
    position: fixed;
    top: 5.5rem;
    left: 100%;
    width: 100%;
    height: 100vh;
    background: linear-gradient(to bottom, #d9d0c1, #fff);
    z-index: 9;
    padding: 5rem 0 10rem;
    box-sizing: border-box;
    overflow-y: auto;
    transition-duration: .3s;
  }

  .naviInner.open {
    left: 0;
  }

  #navigation {
    padding: 0;
  }

  #navigationList {
    display: grid;
    gap: 5rem;
    margin-bottom: 10rem;
  }

  .navigationListItem {
    position: relative;
  }

  .navigationListItem::after {
    width: 30%;
    aspect-ratio: 4/1;
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-image: url(../h2_after.png);
    background-position: center;
    background-size: cover;
  }

  .navName {
    padding: 0;
  }

  .navName::after {
    display: none;
  }

  #shop {
    text-align: center;
  }

  #overview h2 {
    font-size: 3rem;
  }

  .grid3 {
    grid-template-columns: repeat(2, 1fr);
  }

  #bottom .grid2 {
    text-align: left;
  }

  #mattress,
  #bottom {
    padding-top: 5.5rem;
    margin-top: -5.5rem;
  }

  #pageTop {
    background-size: 50%;
  }
}

@media screen and (max-width:500px) {
  #h1 {
    font-size: 2.5rem;
  }

  #overview {
    padding: 6.5rem 0;
    background: linear-gradient(to bottom, #D9D0C1, #fff);
  }

  #overview h2 {
    font-size: 2rem;
    padding-top: 1rem;
  }

  #overview h2::before {
    font-size: 1.3rem;
    top: -1rem;
  }

  #overview h2::after {
    width: 250px;
  }

  #overview p {
    font-size: 1.2rem;
  }

  #mattress h2,
  #bottom h2 {
    font-size: 2rem;
    padding: 3rem 0;
  }

  #mattress h2::before,
  #bottom h2::before {
    font-size: 1.5rem;
    transform: translate(-50%, -200%);
  }

  #mattress h2::after,
  #bottom h2::after {
    width: 70px;
  }

  #mattress h3 {
    font-size: 2rem;
  }

  #mattress h3::after {
    font-size: 1rem;
  }

  .grid2,
  .grid3 {
    grid-template-columns: 1fr;
    gap: 5rem;
  }

  .seriesDescription {
    font-size: 1rem;
  }

  .goodsName {
    margin-top: 0;
  }

  .bottomDescription {
    font-size: 1.2rem;
  }

  #bottom h3 {
    font-size: 2rem;
  }

  #pageTop {
    width: 50px;
  }
}