/* ============================================================
   Color Variables
   ============================================================ */
:root {
  --color-base:       #FAF8F5; /* ウォームホワイト */
  --color-bg-section: #EDE3D7; /* セクション背景ベージュ */
  --color-accent:     #5C3D2E; /* モカブラウン */
  --color-text-head:  #2E1F17; /* 見出しテキスト */
  --color-text-body:  #7A6A62; /* 本文グレージュ */
  --color-gold:       #C9A96E; /* 差し色ゴールド */
  --color-line:       #9B8979; /* 線・サブテキスト */
}

/* ============================================================
   Font Utility
   ============================================================ */
.ff-ja {
  font-family: 'Shippori Mincho B1', serif;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.1em;
}

.ff-en {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  line-height: 1.4;
  letter-spacing: 0.25em;
}

.lead_text {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  line-height: 1.4;
  letter-spacing: 0.25em;
}

.custom_title {
  font-family: 'Shippori Mincho B1', serif;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.1em;
}

h2.wp-block-heading,
h3.wp-block-heading {
  color: #2e1f17;
  margin-top: 0 !important;
  font-weight: 500 !important;
  line-height: 1.7 !important;
  letter-spacing: 0.1em !important;
}

.fz-12 { font-size: 12px !important; }
.fz-64 { font-size: 64px !important; }

/* ============================================================
   Default
   ============================================================ */
p,
li {
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
  font-size: 15px !important;
  line-height: 2 !important;
  letter-spacing: 0.1em;
}

.wp-block-list {
  list-style-position: inside;
  padding-left: 0;
}

.wp-block-cover {
  width: 100vw;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding: 0 5% !important;
}

/* ボタン類 */
.lw-pr-fv-14 .fv_inner .cta_wrap a:first-of-type {
  border-radius: 0 !important;
}
.lw-pr-fv-14 .fv_inner .cta_wrap a:hover {
  opacity: 1 !important;
  filter: brightness(1.1);
}

.lw-button-02 .a_inner {
  border-radius: 0 !important;
}
.lw-button-02 .a_inner:hover {
  filter: brightness(1.6);
}

.lw-pr-button-6 .lw-pr-button-6__wrap .lw-pr-button-6__item:first-child:hover {
  background-color: transparent !important;
  color: var(--color-text-head);
  opacity: 1 !important;
}
.lw-pr-button-6 .lw-pr-button-6__wrap .lw-pr-button-6__item:last-child {
  background-color: transparent !important;
  color: var(--color-text-head);
}
.lw-pr-button-6 .lw-pr-button-6__wrap .lw-pr-button-6__item:last-child:hover {
  background-color: var(--color-text-head) !important;
  color: #fff;
  opacity: 1 !important;
}

.paid-block-content-6 .this_wrap .cont a.btn,
.paid-block-content-6 .this_wrap .cont .btn {
  border: 1px solid var(--color-text-head) !important;
  color: var(--color-text-head) !important;
}
.paid-block-content-6 .this_wrap .cont a.btn:hover,
.paid-block-content-6 .this_wrap .cont .btn:hover {
  background: var(--color-text-head);
  color: #fff !important;
}

/* 共通レスポンシブ（本文・カバー） */
@media (max-width: 500px) {
  p { line-height: 1.8 !important; }

  .wp-block-cover { padding: 0 20px !important; }
}

/* ============================================================
   Footer
   ============================================================ */
.footer_ptn_2 .logo a img {
  width: auto !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain;
}
@media (max-width: 1080px) {
  .footer_ptn_2 .logo a img { height: 64px !important; }
}
@media (max-width: 500px) {
  .footer_ptn_2 .logo a img { height: 56px !important; }
}

.footer_ptn_2 .copyright p {
  font-size: 12px !important;
}

/* ============================================================
   FV（下層ページ共通: .fv-2）
   ============================================================ */
.fv-2 {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    to bottom,
    #2e1f17 0%,
    #5c3d2e 100%
  ) !important;
}

/* ブロック本体のCSS（min-height）がレイアウト設定のmin-h-*クラスより
   後に読み込まれて上書きするため、詳細度を上げて明示的に効かせる */
.fv-2.min-h-pc-400px {
  min-height: 400px !important;
}
@media (max-width: 800px) {
  .fv-2.min-h-tb-300px { min-height: 300px !important; }
}
@media (max-width: 500px) {
  .fv-2.min-h-sp-200px { min-height: 200px !important; }
}

.fv-2 h1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 3rem !important;
  font-weight: 400 !important;
  opacity: 0;
  transform: translateY(16px);
  animation: fv-fadein 1.2s ease-out 0.3s forwards;
}
.fv-2 h1:after {
  display: none !important;
}
.fv-2 h1::before {
  content: var(--page-slug, "");
  text-transform: uppercase;
  order: 1;
  font-size: 1.5rem;
  font-family: 'Cormorant Garamond', serif;
  line-height: 1.4;
  letter-spacing: 0.25em;
}

@keyframes fv-fadein {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.philosophy-lead,
.about-lead {
  font-size: 1.5em !important;
}
.philosophy-text,
.about-text {
  font-size: 1em !important;
  line-height: 2.4 !important;
}

@media (max-width: 1200px) {
  .fv-2 h1 { font-size: 2.5rem !important; }
  .fv-2 h1::before { font-size: 1.25rem; }
}
@media (max-width: 600px) {
  .fv-2 h1 { font-size: 2rem !important; }
  .fv-2 h1::before { font-size: 1rem; }

  .about-lead { font-size: 1.25em !important; }
  .philosophy-lead { font-size: 1em !important; }
  .philosophy-text { font-size: 14px !important; }
  .fs-1-5 { font-size: 1.25em !important; }
}

/* ============================================================
   Header
   ============================================================ */
.lw-pr-fv-14 .fv_in_header .fv_in_nav > ul > li > a::after {
  height: 1px !important;
}

/* ブロックのインラインstyle（height:%）やflex縮小でロゴ画像が
   縦横比を保てず潰れるため、auto+max-heightで固定 */
.lw-pr-fv-14 .fv_in_header .logo a img {
  height: auto !important;
  width: auto !important;
  max-height: 56px;
  flex-shrink: 0;
}

body.home .lw_header_main {
  display: none;
}

.header_ptn_2 .inner {
  background: #2e1f17 !important;
}
.header_ptn_2 .inner .logo a img {
  height: 56px !important;
}

.lw-pr-fv-14:has(.fv_in_header) {
  padding-top: 0 !important;
}

/* 下層ページ ナビ アクティブ・ホバー下線 */
.page .header_ptn_2 .inner::after {
  display: none;
}
.page .header_ptn_2 .header_menu_pc > li > a {
  position: relative;
  color: #fff !important;
}
.page .header_ptn_2 .header_menu_pc > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1px;
  background: #fff;
  transition: width 0.4s ease;
}
.page .header_ptn_2 .header_menu_pc > li > a:hover {
  background: transparent !important;
  color: #fff !important;
}
.page .header_ptn_2 .header_menu_pc > li > a:hover::after,
.page .header_ptn_2 .header_menu_pc > li.current-menu-item > a::after {
  width: calc(100% - 4em);
}

/* 下層ページ ハンバーガー：トップに合わせて2本線 */
body.page:not(.home) .ham_btn {
  background: transparent !important;
}
body.page:not(.home) .ham_btn div:nth-of-type(2) {
  display: none;
}
body.page:not(.home) .ham_btn div:nth-of-type(1) {
  width: 34px !important;
  transform: translateY(-6px) !important;
}
body.page:not(.home) .ham_btn div:nth-of-type(3) {
  width: 34px !important;
  transform: translateY(6px) !important;
}
body.page:not(.home) .ham_btn.active div:nth-of-type(1) {
  display: block;
  width: 24px !important;
  transform: translateY(0) rotate(45deg) !important;
}
body.page:not(.home) .ham_btn.active div:nth-of-type(3) {
  width: 24px !important;
  transform: translateY(0) rotate(-45deg) !important;
}

@media (max-width: 600px) {
  .lw-pr-fv-14 .fv_in_header .logo a img { max-height: 40px; }
  .header_ptn_2 .inner .logo a img { height: 40px !important; }
  .lw-pr-fv-14:has(.fv_in_header) { padding-top: revert !important; }
}

/* ============================================================
   Layout（カラム調整・1200px以下）
   ============================================================ */
@media (max-width: 1200px) {
  .wp-block-columns.sanctuary-clm,
  .wp-block-columns.shop-container,
  .wp-block-columns.value-clm,
  .wp-block-columns.menu-clm {
    flex-direction: column !important;
  }
  .wp-block-columns.sanctuary-clm > .wp-block-column,
  .wp-block-columns.shop-container > .wp-block-column,
  .wp-block-columns.value-clm > .wp-block-column,
  .wp-block-columns.menu-clm > .wp-block-column {
    flex-basis: 100% !important;
    width: 100% !important;
  }
  .wp-block-columns.value-clm > .wp-block-column:last-child {
    border-bottom: 1px solid var(--color-line);
  }

  .wp-block-columns.shop-container p {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* shop-container: テキスト → 画像 → ボタン の順に並べる */
  .wp-block-columns.shop-container > .wp-block-column:first-child {
    display: contents;
  }
  .wp-block-columns.shop-container > .wp-block-column:last-child {
    order: 2;
  }
  .wp-block-columns.shop-container .lw-button-02,
  .wp-block-columns.shop-container .wp-block-button {
    order: 3;
  }
  .wp-block-column.borderStyleRight_solid.borderWidthRight_pc_1 {
    border-right: none !important;
    border-bottom: 1px solid var(--color-line) !important;
  }

  .wp-block-media-text.is-stacked-on-mobile {
    grid-template-columns: 100% !important;
    grid-template-rows: auto auto;
  }
  .wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__media {
    grid-column: 1;
    grid-row: 2;
  }
  .wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content {
    grid-column: 1;
    grid-row: 1;
  }
  .wp-block-media-text > .wp-block-media-text__content {
    padding: 0 !important;
  }
}

/* ============================================================
   Top
   ============================================================ */
.lw-pr-fv-14 .fv_inner {
  padding-top: 24em !important;
}

.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding-top: 40px;
}
.scroll-indicator__text {
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--color-line);
  font-family: 'EB Garamond', serif;
}
.scroll-indicator__line {
  display: block;
  width: 1px;
  height: 60px;
  background-color: transparent;
  position: relative;
  overflow: hidden;
}
/* ラインの色ブロックが上から下へ流れる */
.scroll-indicator__line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-line);
  animation: scrollLine 1.8s ease infinite;
}
@keyframes scrollLine {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

.approach-container .wp-block-media-text__media {
  overflow: hidden;
  position: sticky;
}

.lw-content-1__text a {
  margin-top: 24px;
  padding: 0;
  min-height: auto;
  min-width: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.75em;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: #fff;
  padding-bottom: 0.4em;
  background-color: transparent !important;
  position: relative;
  transition: opacity 0.3s;
}
/* 通常時の下線（薄め） */
.lw-content-1__text a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.4);
}
/* ホバー時に左から右へ走る下線 */
.lw-content-1__text a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: #fff;
  transition: width 0.4s ease;
}
.lw-content-1__text a:hover::after {
  width: 100%;
}

.excerpt {
  margin-bottom: 16px !important;
}

/* Instagram */
.wp-block-group.instgram.has-background.lw_padding_right_pc_40 {
  padding-right: 0 !important;
}
.wp-block-group.instgram.has-background.lw_padding_left_pc_40 {
  padding-left: 0 !important;
}
#sb_instagram #sbi_images {
  padding-bottom: 2em;
}
#sb_instagram .sbi_follow_btn svg {
  font-size: 1.75rem;
}
#sb_instagram .sbi_follow_btn a {
  position: relative;
  background: transparent !important;
  color: var(--color-text-head) !important;
  font-size: 1.25rem;
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: 0.25em;
}
#sb_instagram .sbi_follow_btn a::after {
  content: "";
  position: absolute;
  bottom: 1px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% + 7px);
  height: 1px;
  background: var(--color-text-head);
}
#sb_instagram .sbi_follow_btn a:hover {
  box-shadow: none !important;
}

/* Drawer */
.drawer_nav::after {
  opacity: 1 !important;
}
.drawer_nav .inner {
  display: flex;
  flex-direction: column;
}
.drawer_nav .inner .widget_area_drawer_bottom {
  order: -1;
}
.drawer_nav .widget_area_drawer_bottom img {
  max-width: 120px !important;
  width: 120px !important;
  height: auto !important;
}

.shop-container .lw-button-02 {
  justify-content: start !important;
}

@media (max-width: 1200px) {
  #sb_instagram #sbi_images {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 600px) {
  .lw-pr-fv-14 .fv_inner {
    padding-top: 12em !important;
  }
  .lw-pr-fv-14 .fv_inner .cta_wrap {
    flex-direction: column;
    align-items: flex-start !important;
  }
}
@media (max-width: 500px) {
  .lw-pr-fv-14.min-h-sp-100vh {
    min-height: calc(100vh - 100px) !important;
  }
}

/* ============================================================
   About
   ============================================================ */
.concept-marquee {
  overflow-x: hidden;
  overflow-y: visible;
  padding: 0.3em 0 0.2em;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.concept-marquee__track {
  display: inline-flex;
  white-space: nowrap;
  animation: concept-marquee 100s linear infinite;
}
.concept-marquee__track span {
  font-family: 'Cormorant Garamond', serif;
  font-size: 8rem;
  letter-spacing: 0.1em;
  color: var(--color-line);
  line-height: 1.3;
}
@keyframes concept-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (max-width: 1200px) {
  .concept-marquee__track span { font-size: 6rem !important; }
}
@media (max-width: 600px) {
  .concept-marquee__track span { font-size: 4rem !important; }
}

/* ============================================================
   Menu
   ============================================================ */
.menu-time {
  font-size: 16px !important;
}