@charset "UTF-8";

/* ============================================================
  FILE: top.css
  DESCRIPTION: トップページ（index.html）専用スタイル
============================================================ */

/* --- アンカーリンク調整 --- */
#work-gallery {
  scroll-margin-top: 100px;
}

/* ==========================================================================
  メインビジュアル (FV)
========================================================================== */
.fv {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}

.fv-swiper,
.fv-swiper .swiper-wrapper,
.fv-swiper .swiper-slide {
  height: 100% !important;
}

.swiper-img {
  width: 100%;
  height: 100%;
}

.swiper-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.fv-title {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 10;
  width: 100%;
  margin: 0;
  text-align: center;
  transform: translate(-50%, -50%);
}

.vertical-text {
  display: inline-block;
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 2.4rem;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.5em;
  color: #fff;
  text-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.scroll {
    position: absolute;
    bottom: 0;
    left: 50%;
    z-index: 20;
    width: 2px;
    height: 140px;
    transform: translateX(-50%);
    /* Windows/ブラウザのレンダリングを安定させるための記述 */
    backface-visibility: hidden;
    perspective: 1000px;
}

.scroll:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.15);
}

.scroll:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(
        to bottom, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 1) 100%
    );
    /* Windowsでアニメーションを強制的に動かすためのヒント */
    will-change: top, opacity;
    transform: translateZ(0);
    /* infiniteを最後に書くことで一部ブラウザのバグを回避 */
    animation: scrollMove 2.5s cubic-bezier(0.7, 0, 0.3, 1) infinite;
}

@keyframes scrollMove {
    0% {
        top: -60px;
        opacity: 0;
    }
    30% {
        top: 0;
        opacity: 1;
    }
    70% {
        top: 80px;
        opacity: 1;
    }
    100% {
        top: 140px;
        opacity: 0;
    }
}

.swiper-slide-active .swiper-img,
.swiper-slide-duplicate-active .swiper-img,
.swiper-slide-prev .swiper-img {
  animation: zoomUp 7s linear 0s normal both;
}



@media (max-width: 768px) {
  .fv {
    height: 100svh !important;
  }
  .vertical-text {
    font-size: 1.8rem;
  }
  .scroll {
        width: 1px;
        height: 80px;
    }
    
    .scroll:after {
        height: 30px;
        animation-name: scrollMoveMobile;
    }
    
    @keyframes scrollMoveMobile {
        0% {
            top: -30px;
            opacity: 0;
        }
        30% {
            top: 0;
            opacity: 1;
        }
        70% {
            top: 50px;
            opacity: 1;
        }
        100% {
            top: 80px;
            opacity: 0;
        }
    }
}

/* ===============================================
  概要 (Concept)
=============================================== */
.concept {
  padding: 80px 0;
  text-align: center;
}

.concept-content {
  position: relative;
  text-align: center;
  max-width: 100%;
  margin: 0 auto;
  padding: 20px 0;
}

.concept-lead {
  margin-bottom: 30px;
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: #333;
}

.concept-text {
  font-size: 1.05rem;
  line-height: 2.3;
  letter-spacing: 0.12em;
  font-feature-settings: "palt";
  color: #444;
}

@media (max-width: 768px) {
  .concept {
    padding: 80px 0;
  }
  .concept-lead {
    font-size: 1.25rem !important;
    text-align: center;
  }
  .concept-text {
    font-size: 0.95rem !important;
    line-height: 2.0 !important;
    letter-spacing: 0.05em !important;
    text-align: justify;
  }
}

/* ===============================================
  繍栄について (Visual Focus)
=============================================== */
.visual-focus {
  width: 100%;
  padding: 120px 0;
  overflow: hidden;
}

.visual-focus_wrapper {
  display: flex;
  gap: 60px;
  align-items: center;
}

.visual-focus_image {
  width: 50%;
  flex-shrink: 0;
}

.image-frame {
  width: 100%;
  overflow: hidden;
}

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

.visual-focus_text {
  flex: 1;
  padding: 30px 0;
}

.focus-title {
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  margin-bottom: 30px;
  color: #333;
}

.focus-desc {
  font-size: 0.95rem;
  line-height: 2.2;
  letter-spacing: 0.08em;
  color: #444;
}

.question {
  font-size: 1.1rem;
  margin: 30px 0 10px;
}

.visual-focus:not(.is-reverse):not(.is-center) .visual-focus_image {
  margin-left: calc(50% - 50vw);
}

.visual-focus.is-reverse .visual-focus_wrapper {
  flex-direction: row-reverse;
  align-items: flex-end;
}

.visual-focus.is-reverse .visual-focus_image {
  flex: 1;
  width: auto;
  max-width: 65%;
  margin-right: calc(50% - 50vw);
  margin-left: -5vw;
}

.visual-focus.is-reverse .image-frame {
  aspect-ratio: 700 / 520;
}

.visual-focus.is-reverse .visual-focus_text {
  flex: 1;
  min-width: 0;
}

.visual-focus.is-center .inner {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.visual-focus.is-center .visual-focus_image {
  width: 80%;
  margin: 0 auto;
}

.visual-focus.is-center .image-frame img {
  height: auto;
  object-fit: contain;
}

.visual-focus:not(.is-reverse) .visual-focus_image.reveal-text {
  transform: translateX(-30px);
}

.visual-focus.is-reverse .visual-focus_image.reveal-text {
  transform: translateX(30px);
}

@media (min-width: 769px) {
  .text-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 480px;
  }
  .visual-focus:not(.is-reverse) .text-content.is-right {
    margin-right: 0;
    margin-left: auto;
  }
  .visual-focus.is-reverse .text-content.is-left {
    margin-right: auto;
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  .visual-focus {
    padding: 60px 0;
  }
  .visual-focus_wrapper,
  .visual-focus.is-reverse .visual-focus_wrapper {
    flex-direction: column !important;
    gap: 30px;
    align-items: flex-start !important;
  }
  .focus-title {
    font-size: 1.25rem !important;
  }
  .focus-desc {
    font-size: 0.95rem !important;
    line-height: 2.0 !important;
    letter-spacing: 0.05em !important;
    text-align: justify;
  }
  .visual-focus:not(.is-reverse):not(.is-center) .visual-focus_image {
    order: -1;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 20px;
  }
  .visual-focus.is-reverse .visual-focus_image {
    order: 1;
    flex: none !important;
    width: 85% !important;
    max-width: none !important;
    margin-right: calc(50% - 50vw) !important;
    margin-left: auto !important;
  }
  .visual-focus.is-reverse .image-frame {
    width: 100%;
    aspect-ratio: 700 / 520 !important;
  }
  .visual-focus.is-center .visual-focus_image {
    width: calc(100% + 40px) !important;
    margin: 0 -20px !important;
    padding: 0 !important;
  }
  .visual-focus.is-center .image-frame img {
    object-fit: cover !important;
  }
}

/* ===============================================
  かたち (Work) / 作品ギャラリー
=============================================== */
.work {
  width: 100%;
  padding: 120px 0;
  text-align: center;
  overflow-x: hidden;
  background: linear-gradient(to bottom, #fff 0%, #efefef 150px, #efefef 100%);
}

.gallery-head {
  text-align: left !important;
  padding-bottom: 30px;
}

.gallery-sub-title {
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  margin-bottom: 30px;
  color: #333;
}

.gallery-desc {
  font-size: 1.05rem;
  line-height: 1.8;
  letter-spacing: 0.12em;
  color: #444;
}

.gallery-swiper {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 40px 0;
  overflow: visible !important;
}

.gallery-swiper .swiper-slide {
  opacity: 0.4;
  transition: opacity 0.6s ease, transform 0.6s ease;
  transform: scale(0.9);
}

.gallery-swiper .swiper-slide-active {
  opacity: 1;
  transform: scale(1);
}

.gallery-swiper .swiper-slide img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 2px;
}

.swiper-navigation-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 92%;
  max-width: 1100px;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.swiper-button-prev,
.swiper-button-next {
  width: 44px !important;
  height: 44px !important;
  background: rgba(255, 255, 255, 0.8) !important;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all .4s cubic-bezier(0.215, 0.61, 0.355, 1);
  pointer-events: auto;
  color: transparent !important;
  font-size: 0 !important;
  outline: none !important;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  display: none !important;
  content: none !important;
}

.swiper-button-prev::before,
.swiper-button-next::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-top: 1px solid #333;
  border-right: 1px solid #333;
}

.swiper-button-prev::before {
  transform: translate(-30%, -50%) rotate(-135deg);
}

.swiper-button-next::before {
  transform: translate(-70%, -50%) rotate(45deg);
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  background: #fff !important;
  transform: scale(1.1);
}

.gallery-controls {
  max-width: 1000px;
  margin: 20px auto 0;
  padding-bottom: 60px;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}

.gallery-controls .swiper-pagination {
  position: static !important;
  width: auto !important;
  margin: 0 !important;
  display: flex !important;
  white-space: nowrap !important;
  font-family: "Georgia", serif;
  font-size: 0.85rem;
  color: #888;
  letter-spacing: 0.15em;
  text-align: left !important;
}

.gallery-link-wrap {
  text-align: right;
  margin-top: 40px;
  width: 100%;
  box-sizing: border-box;
}

.gallery-controls.is-flex {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding-bottom: 60px;
  width: 100%;
  box-sizing: border-box;
}

.gallery-controls.is-flex .gallery-link-wrap {
  margin-top: 0;
  width: auto;
}

.gallery-controls .swiper-pagination {
  position: static !important;
  text-align: left !important;
  width: auto !important;
}

.gallery-link {
  display: inline-block;
  font-size: 0.9rem;
  color: #333;
  text-decoration: none;
  transition: opacity 0.3s;
  white-space: nowrap;
}

.gallery-link span {
  margin-left: 5px;
  font-family: serif;
}

.gallery-link:hover {
  opacity: 0.6;
}

@media (max-width: 768px) {
  .work {
    background: linear-gradient(to bottom, #fff 0%, #efefef 60px, #efefef 100%);
    padding: 80px 0;
  }

  .gallery-sub-title {
    font-size: 1.25rem !important;
  }
  .gallery-desc {
    font-size: 0.95rem !important;
    line-height: 2.0 !important;
    letter-spacing: 0.05em !important;
    text-align: justify;
  }
  .gallery-swiper {
    padding: 20px 0 !important;
  }
  .swiper-navigation-container {
    width: 95%;
  }
  .swiper-button-prev,
  .swiper-button-next {
    width: 38px !important;
    height: 38px !important;
  }
  .gallery-controls {
    margin-top: 15px;
  }
  .gallery-link-wrap {
    margin-top: 20px;
  }
  .gallery-controls.is-flex {
    padding-bottom: 40px;
  }
  .gallery-link {
    font-size: 0.85rem;
  }
}

/* ===============================================
  セパレートビジュアル
=============================================== */
.separate-visual {
  position: relative;
  width: 100%;
  height: 38vw;
  min-height: 200px;
  background-image: url(../img/work/bnr.jpg);
  background-position: center center;
  background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;
}

.separate-visual::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .separate-visual {
    height: 50vh;
    background-attachment: scroll;
  }
}

/* ===============================================
  繍入れ (nuiire)
=============================================== */
#nuiire.work.is-bg-gray {
  background: #efefef !important;
  padding: 120px 0;
}

.shishu-grid-container {
  position: relative;
  width: 100%;
  margin-top: 50px;
}

.shishu-scroll-inner {
  width: 100%;
  padding-bottom: 40px;
}

.shishu-list {
  display: flex;
  gap: 40px;
  flex-wrap: nowrap;
}

.shishu-item {
  flex: 0 0 calc(25% - 30px);
}

.shishu-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  margin-bottom: 12px;
  border-radius: 50%;
  background-color: #fff;
  overflow: hidden;
}

.shishu-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.shishu-name {
  margin: 0;
  font-family: 'Noto Serif JP', serif;
  font-size: 0.85rem;
  color: #333;
  letter-spacing: 0.1em;
  text-align: left;
}

@media (hover: hover) {
  .shishu-item:hover img {
    transform: scale(1.05);
  }
}

@media (max-width: 768px) {
  #nuiire.work.is-bg-gray {
    padding: 80px 0;
  }
  .shishu-scroll-inner {
    width: calc(100% + 40px);
    margin: 0 -20px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .shishu-scroll-inner::-webkit-scrollbar {
    display: none;
  }
  .shishu-list {
    padding-left: 20px;
    gap: 30px;
    display: flex;
    flex-wrap: nowrap;
  }
  .shishu-list::after {
    content: "";
    flex: 0 0 5px; 
  }
  .shishu-item {
    flex: 0 0 55% !important;
  }
}

/* ===============================================
  装い (yosooi)
=============================================== */
#yosooi.separate-visual {
  position: relative;
  height: auto !important;
  min-height: 100vh;
  padding: 100px 0;
  background-image: url(../img/work/bg.jpg);
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

#yosooi::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

#yosooi .inner {
  position: relative;
  z-index: 2;
}

#yosooi .gallery-sub-title,
#yosooi .gallery-desc {
  color: #fff !important;
}

.yosooi-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.yosooi-card {
  display: flex;
  background-color: #fdfdfb;
  border: 1px solid rgba(180, 160, 120, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  padding: 20px;
  gap: 40px;
}

.card-img {
  flex: 0 0 40%;
}

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

.card-body {
  flex: 1;
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left !important;
  align-items: flex-start;
}

.card-title {
  font-size: 1.2rem;
  letter-spacing: 0.15em;
  margin-bottom: 15px;
}

.card-desc {
  font-size: 0.9rem;
  line-height: 1.8;
  letter-spacing: 0.08em;
}

.card-price {
  color: #333;
  font-size: 0.9rem;
  margin-top: 20px;
  text-align: center !important;
}

.price-num {
  font-size: 1.6rem;
  font-weight: 500;
}

.yosooi-btn-wrap {
  text-align: center;   
  margin-top: 60px;
}

.yosooi-btn {
  display: inline-block;
  background: transparent;
  color: #fff;
  padding: 18px 80px;
  border: 1px solid #fff;
  letter-spacing: 0.2em;
  transition: all 0.4s ease;
  min-width: 250px;
}

.yosooi-btn:hover {
  color: #333;
  background: #fff;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.yosooi-card.is-coming-soon {
  position: relative;
  min-height: 300px;         /* 作品一覧のComing Soonと高さを合わせる */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: #fafafa; /* 背景色を統一 */
  border: 1px solid rgba(180, 160, 120, 0.1); 
  overflow: hidden;
}

/* Coming Soonの時は中身（画像やテキスト）を隠す */
.is-coming-soon .card-img,
.is-coming-soon .card-body {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* 作品一覧と共通のデザインを擬似要素で作成 */
.is-coming-soon::before {
  content: "Coming Soon";
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Georgia', serif;
  font-size: 1.6rem;
  letter-spacing: 0.3em;
  color: #b4a078;
  text-transform: uppercase;
}

.is-coming-soon::after {
  content: "現在、新しい装いを準備しております。";
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: #888;
  width: 100%;
}

.yosooi-margin-spacer {
  width: 100%;
  height: 250px;
  background-color: #efefef;
}

.site-header.is-white-section .menu_line {
  background-color: #fff !important;
}

@media (max-width: 768px) {
  #yosooi.separate-visual {
    background-image: none !important;
    background-attachment: scroll;
    position: relative;
    z-index: 0;
    clip-path: inset(0);
    padding: 80px 0;
  }
  #yosooi.separate-visual::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../img/work/bg-sp.jpg);
    background-size: cover;
    background-position: center top;
    z-index: -1;
    will-change: transform;
    pointer-events: none;
  }
  .yosooi-card {
    flex-direction: column;
    padding: 10px;
    gap: 20px;
  }
  .card-img {
    width: 100%;
  }
  .card-body {
    text-align: center !important;
    align-items: center !important;
  }
  .yosooi-margin-spacer {
    height: 150px;
  }
  
  .yosooi-card.is-coming-soon {
    min-height: 220px;
    padding: 0;
  }
  .is-coming-soon::before {
    font-size: 1.2rem;
    top: 42%;
  }
  .is-coming-soon::after {
    font-size: 0.75rem;
    top: 58%;
  }

  .yosooi-btn-wrap {
    margin-top: 40px;
  }

  .yosooi-btn {
    padding: 16px 0;
    font-size: 0.9rem;
  }

}

/* ===============================================
  ニュース / 限定体験 (News Section)
=============================================== */
.news-section {
  width: 100%;
  padding: 120px 0;
  background-color: #fff;
}

.news-swiper-container {
  position: relative;
  width: 100%;
  margin-top: 40px;
}

.news-swiper {
  width: 100%;
  padding: 10px 0;
  overflow: hidden;
}

.news-item {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s ease;
}

.news-img {
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 2px;
  margin-bottom: 20px;
  background-color: #f9f9f9;
}

.news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.news-item:hover .news-img img {
  transform: scale(1.06);
}

.news-date {
  font-family: "Georgia", serif;
  font-size: 0.8rem;
  color: #999;
  margin-bottom: 10px;
  letter-spacing: 0.1em;
}

.news-title {
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 400;
  color: #333;
}

.news-swiper .swiper-navigation-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 96%;
  height: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.news-swiper .swiper-button-disabled {
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden;
}

.news-prev,
.news-next {
  width: 44px !important;
  height: 44px !important;
  background: rgba(255, 255, 255, 0.7) !important;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all .4s cubic-bezier(0.215, 0.61, 0.355, 1);
  pointer-events: auto;
  cursor: pointer;
}

.news-prev:hover,
.news-next:hover {
  background: rgba(255, 255, 255, 1) !important;
  transform: scale(1.1);
}

@media (min-width: 769px) {
  .news-swiper .swiper-button-disabled {
    opacity: 0.2 !important;
    visibility: visible !important;
    pointer-events: none !important;
  }
}

@media (max-width: 768px) {
  .news-section {
    padding: 80px 0;
  }
  .news-swiper {
    overflow: visible;
  }
  .news-item {
    opacity: 0.4;
  }
  .news-swiper .swiper-slide-active {
    opacity: 1;
  }
  .news-swiper .swiper-navigation-container {
    width: 98%;
  }
  .news-prev,
  .news-next {
    width: 38px !important;
    height: 38px !important;
    background: rgba(255, 255, 255, 0.8) !important;
  }
}