/**
 * File: main.css
 * Usage: トップページのスタイルを定義します。
*/

/* ===================
  ファーストビュー
====================== */

.ly_fv {
  height: 100vh;
  position: relative;
  max-height: 1000px;
}

.bl_fvSwiper {
  height: 100%;
}

.bl_fvSwiper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.bl_fvSwiper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bl_fvTxt {
  position: absolute;
  bottom: 20%;
  left: 20px;
  z-index: 2;
  color: #fff;
  font-weight: 500;
  font-size: 28px;
  letter-spacing: 0.1em;
}

.swiper-horizontal > .swiper-pagination-bullets {
  bottom: var(--swiper-pagination-bottom, 50%);
  top: var(--swiper-pagination-top, auto);
  right: 16px;
  left: unset;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: auto;
  transform: translateY(50%);
}

.swiper-horizontal .swiper-pagination-bullet {
  padding: 4px;
  border: 1px solid #fff;
}

.bl_fvBanners {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  display: flex;
  flex-direction: column-reverse;
  gap: 20px;
  z-index: 10;
}

.el_latestInfo {
  color: #fff;
  font-size: 13px;
  text-decoration: underline;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  display: none;
}

.bl_openBanner {
  width: 100%;
  display: flex;
  align-items: center;
  padding: 10px;
  gap: 20px;
  border-radius: 4px;
  background: #edeee9;
  box-shadow: 0px 0px 6px 0px #00000033;
  transition: background 0.3s ease;
}

.bl_openBanner:hover {
  background: #d9d9d9;
}

.bl_openBanner h3 {
  font-weight: 500;
  font-size: 14px;
  line-height: 160%;
  letter-spacing: 0.1em;
}

.bl_openBanner_img {
  aspect-ratio: 88 / 56;
  max-height: 56px;
  border-radius: 2px;
  overflow: hidden;
}

.bl_openBanner_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===================
  about
====================== */

.ly_about {
  padding-block: 80px 160px;
  position: relative;
  overflow: hidden;
}

.bl_aboutTxtWrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 40px;
}

.bl_aboutTxt {
  font-size: 15px;
  line-height: 20px;
  letter-spacing: 0.1em;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bl_about .el_ornament {
  position: absolute;
  z-index: -1;
}

.bl_about .el_ornament_top {
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(21%, -21%);
  z-index: -1;
}

.bl_about .el_ornament_bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  transform: translate(-33%);
  z-index: -1;
}

.el_ornament svg {
  max-width: 160px;
  height: auto;
}

.el_aboutImg {
  position: absolute;
  bottom: 40px;
  right: 0;
  transform: translateX(30%);
  width: 26.7vw;
  height: auto;
  max-width: 385px;
}

.ly_aboutImages {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-column-gap: 16px;
  grid-row-gap: 16px;
  max-width: 840px;
  margin-inline: auto;
  position: relative;
}

.ly_aboutImages .el_ornament {
  position: absolute;
  top: 0;
  right: 0;
  z-index: -1;
  transform: translate(50%, -38%);
}

.ly_aboutImages picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ly_aboutImages picture:first-child {
  grid-area: 1 / 1 / 2 / 3;
}

.bl_shop .el_heading {
  padding-bottom: 40px;
}

.bl_shop .el_md_txtCenter {
  letter-spacing: 0.1em;
}

.bl_shopTtl {
  font-size: 18px;
  font-weight: 500;
  margin-block: 80px 40px;
}

.bl_shopList {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-column-gap: 16px;
  grid-row-gap: 16px;
  margin-bottom: 40px;
}

.bl_shopItem {
  display: flex;
  flex-direction: column;
  gap: 12px;
  letter-spacing: 0;
  font-weight: 500;
  position: relative;
}

.bl_shopItem_ttl {
  font-size: 15px;
}

.bl_shopItem_price {
  font-size: 13px;
}

.bl_shopItem_tags {
  display: flex;
  gap: 8px;
  font-size: 11px;
}

.bl_shopItem_tags li {
  padding: 6px 10px;
  background: var(--text-contrast);
  border-radius: 20px;
}

.bl_shopItem_vars {
  font-size: 11px;
  position: absolute;
  bottom: 0;
  right: 0;
  transform: translateY(-40%);
}

.ly_ImgHashi {
  margin-block: 100px 60px;
  height: 280px;
}

.ly_ImgHashi img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bl_infoList {
  display: flex;
  flex-direction: column;
  padding-block: 40px;
}

.bl_infoItem {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 0px 20px 20px;
  border-top: 1px solid #d9d9d9;
}

.bl_infoItem a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  letter-spacing: 0.05em;
}

.bl_infoItem time {
  /* color: var(--text-secondary); */
  opacity: 0.9;
  font-size: 14px;
}

.bl_infoItem:last-child {
  border-bottom: 1px solid #d9d9d9;
}

.ly_column {
  margin-top: 80px;
}

.bl_columnItem_img {
  display: block;
  aspect-ratio: 27 / 20;
  overflow: hidden;
}

.bl_columnItem_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bl_columnList {
  display: flex;
  flex-direction: column;
  margin-block: 40px;
  gap: 40px;
}

.bl_columnList li {
  gap: 16px;
}

.bl_columnItem_txt {
  gap: 8px;
}

.bl_columnItem_txt time {
  font-size: 13px;
  opacity: 0.9;
}

.bl_columnItem_tags {
  display: flex;
  gap: 8px;
}

.bl_columnItem_tags li {
  padding-inline: 12px;
  background: #ae202e;
  color: #fff;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.8;
}

.ly_banner {
  margin-block: 80px;
  width: 100%;
}

.ly_banner a {
  display: block;
  width: 100%;
  height: 100%;
  line-height: 1;
  padding-inline: 20px;
}

.ly_banner svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bl_scrollAnimation {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.scroll {
  position: relative;
  text-align: center;
  padding-bottom: 30px;
  color: #fff;
}

.scroll::before,
.scroll::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 60px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

.scroll::before {
  transform-origin: bottom right;
  animation: arrowLeft 3s infinite;
}

.scroll::after {
  transform-origin: bottom left;
  animation: arrowRight 3s infinite;
}

@keyframes arrowLeft {
  0% {
    opacity: 0;
    transform: translateX(calc(-100%)) translateY(0) rotate(15deg);
  }
  20% {
    opacity: 1;
    transform: translateX(calc(-100%)) translateY(0) rotate(15deg);
  }
  80% {
    opacity: 0;
    transform: translateX(calc(-100%)) translateY(16px) rotate(15deg);
  }
  100% {
    opacity: 0;
    transform: translateX(calc(-100%)) translateY(0) rotate(15deg);
  }
}

@keyframes arrowRight {
  0% {
    opacity: 0;
    transform: translateY(0) rotate(-15deg);
  }
  20% {
    opacity: 1;
    transform: translateY(0) rotate(-15deg);
  }
  80% {
    opacity: 0;
    transform: translateY(16px) rotate(-15deg);
  }
  100% {
    opacity: 0;
    transform: translateY(0) rotate(-15deg);
  }
}

@media screen and (min-width: 768px) {
  .bl_fvTxt {
    bottom: 20%;
    left: 80px;
    font-size: 40px;
  }

  .bl_fvBanners {
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
  }
  
    .bl_openBanner {
	width: fit-content;
  }

  .ly_about {
    padding-block: 120px 160px;
  }

  .bl_aboutTxtWrap {
    flex-direction: row-reverse;
    gap: 30px;
    max-width: fit-content;
    margin-inline: auto;
  }

  .eng .bl_aboutTxtWrap {
    flex-direction: column;
  }

  .eng .bl_aboutTxt {
    padding-top: 0;
  }

  .bl_aboutTxt {
    flex-direction: column;
    gap: 8px;
    padding-top: 40px;
    font-size: 16px;
  }

  .el_ornament svg {
    max-width: 233px;
    height: auto;
  }

  .el_aboutImg {
    position: absolute;
    bottom: 30px;
    right: 0;
    transform: translateX(30%);
    width: 26.7vw;
    height: auto;
    max-width: 385px;
  }

  .ly_aboutImages {
    grid-column-gap: 24px;
    grid-row-gap: 24px;
  }

  .ly_shop {
    margin-top: 120px;
  }

  .bl_shopTtl {
    margin-block: 40px 25px;
    max-width: 880px;
    margin-inline: auto;
  }

  .bl_shopList {
    grid-template-columns: repeat(4, 1fr);
    max-width: 880px;
    margin-inline: auto;
    gap: 3.75%;
  }

  .bl_shop .el_btn {
    margin-top: 80px;
  }

  .ly_ImgHashi {
    height: 500px;
    margin-block: 120px;
  }

  .bl_info {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin-inline: auto;
    gap: 64px;
  }

  .bl_infoList {
    padding-block: 0;
    max-width: 700px;
    width: 100%;
  }

  .bl_infoItem {
    flex-direction: row-reverse;
    justify-content: space-between;
    padding-block: 38px;
  }

  .bl_infoBtn {
    width: 100%;
  }

  .bl_infoBtn .el_btn {
    margin-right: 0;
  }

  .ly_column {
    margin-block: 120px;
  }

  .bl_column {
    max-width: 1200px;
    margin-inline: auto;
  }

  .bl_columnList {
    flex-direction: row;
    gap: 40px;
  }

  .bl_columnList > li {
    flex: 1;
  }

  .bl_column .el_btn {
    margin-top: 64px;
    margin-right: 0;
  }

  .ly_banner a {
    max-width: 700px;
    margin: 120px auto;
    padding: 0;
  }
  
  .el_latestInfo {
  	max-width: 38vw;
	display: block;
  }
}

@media screen and (min-width: 1280px) {
  .bl_aboutTxtWrap {
    gap: 70px;
  }

  .bl_fvBanners {
    left: 32px;
    right: 32px;
    bottom: 26px;
  }
  
  .bl_openBanner {
    padding-right: 54px;
  }

  .bl_aboutTxt {
    gap: 24px;
  }

  .el_latestInfo {
    font-size: 15px;
  }
}
