@charset "utf-8";

.top {
  position: relative;
  width: 100%;
  height: 100dvh;
  overflow: hidden;
}

.top-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -1;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.top-overlay {
  width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  line-height: 1.5;
  z-index: 1;
}

.top-overlay h1 {
  font-size: min(3.2vw, 48px);
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8), 2px 2px 8px rgba(0, 0, 0, 0.8);
  line-height: 1.2;
}

.top-overlay h1 span {
  font-size: 80%;
}

.top-text {
  position: absolute;
  width: 100%;
  bottom: 0;
  left: 0;
  padding: 5% 0;
  color: #fff;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8), 2px 2px 6px rgba(0, 0, 0, 0.8);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0));
}

.top-text {
  opacity: 0;
  transition: opacity 1s ease;
}

.top-text.visible {
  opacity: 1;
}

.top-text p {
  line-height: 2;
  text-align: center;
}

.top-catch {
  margin: 0;
  font-size: 18px;
  font-family: "Shippori Mincho", serif;
  text-align: center;
}

.top-name {
  padding: 0 0 .6em;
  font-size: 24px;
  font-family: "Shippori Mincho", serif;
  font-weight: 500;
  text-align: center;
}

.words {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.words-photo {
  position: relative;
  width: 50%;
  height: 100vh;
  background-size: cover;
  background-position: bottom center;
  transition: none;
}

.webp .words-photo {
  background-image: url(../asset/img/common/words.webp);
}

.no-webp .words-photo {
  background-image: url(../asset/img/common/words.jpg);
}

.words-photo-text {
  position: absolute;
  bottom: 3%;
  left: 0;
  width: 100%;
  font-family: "Shippori Mincho", serif;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  text-shadow: 2px 2px 3px #000;
}

.words-text {
  width: 50%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.words-text p {
  font-family: "Shippori Mincho", serif;
  font-size: clamp(16px, 1.2vw, 20px);
  font-style: normal;
  line-height: 2.2;
}

.words-text p span {
  display: block;
  width: 100%;
  padding: .6em 1em 0 0;
  text-align: right;
  font-size: 90%;
}

.fade-in-blur {
  opacity: 0;
  filter: blur(10px);
  animation: fadeInBlur 1s ease forwards;
  animation-delay: 0.5s;
  animation-play-state: paused;
}

@keyframes fadeInBlur {
  0% {
    opacity: 0;
    filter: blur(10px);
  }
  100% {
    opacity: 1;
    filter: blur(0);
  }
}

.garden {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #1b314a;
}

.garden-photo {
  width: 50%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-size: cover;
  background-position: top center;
}

.webp .garden-photo {
  background-image: url(../asset/img/common/garden.webp);
}

.no-webp .garden-photo {
  background-image: url(../asset/img/common/garden.jpg);
}

.garden-photo p {
  color: #fff;
  font-size: 1.6vw;
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.1em;
}

.garden-text {
  width: 50%;
  height: 100vh;
  padding: 6rem 6%;
  line-height: 1.8;
  overflow-y: scroll;
}

.garden-text h2 {
  font-family: "Shippori Mincho", serif;
  color: #fff;
  font-size: 20px;
  font-style: normal;
}

.garden-text p {
  margin: 0 0 3rem;
  color: #fff;
  font-size: 14px;
}


.garden-text p.philosopher {
  margin: 0 0 .5rem;
}

.garden-mashiko {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin: 0 0 3rem;
}

.garden-item {
  width: 50%;
}

.garden-image {
  width: 100%;
  margin: 0 0 3rem;
}

.garden-mashiko p,
.garden-image p {
  width: 100%;
  margin: 0 0 .3rem;
  color: #fff;
  font-size: 12px;
}

.access {
  width: 100%;
  padding: 6rem 6% 6rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}

.access h2 {
  width: 100%;
  font-family: "Shippori Mincho", serif;
  color: #000;
  font-size: 20px;
  font-style: normal;
}

.access-table {
  width: 46%;
  border-collapse: collapse;
  color: #000;
  font-size: 14px;
}

.access-table span {
  display: block;
  font-size: 12px;
}

.access-table th,
.access-table td {
  border: 1px solid #ccc;
  padding: .8rem 1rem;
  vertical-align: middle;
}

.access-table th {
  width: 20%;
  font-weight: 500;
}

.access-map {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 60%;
  margin: 2rem 0 0;
}

.access-map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

@media screen and (min-width: 1px) and (max-width: 743px) {  
  .top-overlay h1 {
    font-size: 9vw;
  }
  
  .top-overlay h1 span {
    font-size: 80%;
  }
  
  .top-text {
    padding: 20% 0 6%;
    text-align: center;
  }

  .top-text p {
    width: 90%;
    margin: 0 auto;
    text-align: left;
  }
  
  .top-catch {
    width: 100%;
    font-size: 4vw;
    padding: 0;
    text-align: center;
  }
  
  .top-name {
    width: 100%;
    padding: 0 0 .6em;
    font-size: 4.6vw;
    letter-spacing: -0.03em;
    line-height: 1;
    text-align: center;
  }

  .words {
    height: 100%;
  }

  .words::before {
    content: ""; 
    display: block; 
    padding-top: 150%; 
  }
  
  .words-photo {
    position: relative;
    width: 100%;
    min-height: auto;
    background-size: cover;
    background-position: bottom center;
    transition: none;
    display: flex;
    justify-content: center;
    align-items: flex-start;
  }

  .words-photo-text {
    bottom: 2%;
    left: 0;
    font-size: 3vw;
  }
  
  .words-text {
    display: none;
  }

  .words-text-sp {
    width: 65%;
    height: auto;
    padding: 25% 0 0;
  }
  
  .words-text-sp p {
    font-family: "Shippori Mincho", serif;
    font-size: 3.5vw;
    font-weight: 600;
    line-height: 2.2;
    text-shadow: 
    0 0 20px rgba(255, 255, 255, 1),
    0 0 20px rgba(255, 255, 255, 1),
    0 0 20px rgba(255, 255, 255, 1),
    0 0 20px rgba(255, 255, 255, 1), 
    0 0 20px rgba(255, 255, 255, 1),
    0 0 20px rgba(255, 255, 255, 1),
    0 0 20px rgba(255, 255, 255, 1),
    0 0 20px rgba(255, 255, 255, 1), 
    0 0 20px rgba(255, 255, 255, 1);
  }
  
  .words-text-sp p span {
    display: block;
    width: 100%;
    padding: .6em 1em 0 0;
    text-align: right;
    font-size: 90%;
  }
  
  .garden {
    width: 100%;
    height: auto;
    display: block;
    background-size: 100% auto;
    background-position: top center;
    background-repeat: no-repeat;
    background-color: #1b314a;
  }

  .webp .garden {
    background-image: url(../asset/img/common/garden-sp.webp);
  }
  
  .no-webp .garden {
    background-image: url(../asset/img/common/garden-sp.jpg);
  }
  
  .garden-photo {
    display: none;
  }
  
  .garden-text {
    width: 100%;
    height: auto;
    padding: 3rem 10% 1rem;
    line-height: 1.8;
    background: rgba(0, 0, 0, 0.3);
    overflow-y: visible;
  }
  
  .garden-text h2 {
    font-size: 18px;
  }
  
  .garden-text p {
    margin: 0 0 2rem;
    font-size: 12px;
  }
  
  .garden-mashiko {
    margin: 0 0 2rem;
  }
  
  .garden-mashiko p,
  .garden-image p {
    margin: 0 0 .3rem;
  }

  .garden-item {
    width: 50%;
  }
  
  .garden-image {
    margin: 0 0 2rem;
  }
  
  .access {
    padding: 3rem 5% 6rem;
  }
  
  .access h2 {
    font-size: 18px;
  }
  
  .access-table {
    width: 100%;
    font-size: 12px;
  }
  
  .access-table span {
    font-size: 90%;
  }
  
  .access-table th,
  .access-table td {
    padding: .6rem .6rem;
  }
  
  .access-table th {
    width: 24%;
  }
  
  .access-map {
    margin: 1rem 0 0;
  }

}

@media screen and (min-width: 744px) and (max-width: 1024px) and (orientation:portrait) {
  .top-overlay h1 {
    font-size: 5.6vw;
  }

  .top-catch {
    font-size: 18px;
  }
  
  .top-name {
    font-size: 24px;
  }

  .garden-text {
    padding: 3rem 5%;
  }

  .access {
    padding: 3rem 5% 6rem;
  }

  .access-table {
    width: 100%;
  }
}

@media screen and (min-width: 1025px) {


}