/* ============================================
   Index Page - Main CSS Entry Point
   ============================================ */

/* Base */
/* ============================================
   CSS Variables
   ============================================ */
:root {
  /* Colors */
  --header-color: #e9e2d2;
  --header-color-reverse: #414a47;
  --beige-100: rgb(231 226 215);
  --beige-80: rgb(233 226 210);
  --beige-80-50per: rgb(233 226 210 / 0.5);
  --black-100: rgb(14 25 21);
  --black-100-30per: rgb(14 25 21 / 0.3);
  --black-100-80per: rgb(14 25 21 / 0.8);
  --black-90: rgb(65 74 71);
  --black-80: rgb(95 101 96);

  /* SP Grid System (base: 390px) */
  --base-width: 390;
  --space-side: calc(100% * 16 / var(--base-width));
  --space-grid-number: 4;
  --space-gutter-number: 3;
  --space-gutter: calc(100% * 16 / var(--base-width));
  --space-grid-w-all: calc(100vw - (var(--space-side) * 2) - (var(--space-gutter) * var(--space-gutter-number)));
  --space-grid-w: calc(var(--space-grid-w-all) / var(--space-grid-number));
  --grid-start-1: var(--space-side);
  --grid-start-2: calc(var(--space-side) + (var(--space-grid-w) + var(--space-gutter)) * 1);
  --grid-start-3: calc(var(--space-side) + (var(--space-grid-w) + var(--space-gutter)) * 2);
  --grid-start-4: calc(var(--space-side) + (var(--space-grid-w) + var(--space-gutter)) * 3);
  --grid-width-1: calc(var(--space-grid-w) * 1);
  --grid-width-2: calc(var(--space-grid-w) * 2 + var(--space-gutter) * 1);
  --grid-width-3: calc(var(--space-grid-w) * 3 + var(--space-gutter) * 2);
  --grid-width-4: calc(var(--space-grid-w) * 4 + var(--space-gutter) * 3);
  --grid-width-5: calc(var(--space-grid-w) * 5 + var(--space-gutter) * 4);

  /* Header Height */
  --head-height-sp: 62px;
}

@media (min-width: 768px) {
  :root {
    /* PC Grid System (base: 1440px) */
    --base-width: 1440;
    --space-side: calc(100% * 46 / var(--base-width));
    --space-grid-number: 12;
    --space-gutter-number: 11;
    --space-gutter: calc(100% * 20 / var(--base-width));
    --space-grid-w-all: calc(100% - (var(--space-side) * 2) - (var(--space-gutter) * var(--space-gutter-number)));
    --space-grid-w: calc(var(--space-grid-w-all) / var(--space-grid-number));
    --grid-start-1: var(--space-side);
    --grid-start-2: calc(var(--space-side) + (var(--space-grid-w) + var(--space-gutter)) * 1);
    --grid-start-3: calc(var(--space-side) + (var(--space-grid-w) + var(--space-gutter)) * 2);
    --grid-start-4: calc(var(--space-side) + (var(--space-grid-w) + var(--space-gutter)) * 3);
    --grid-start-5: calc(var(--space-side) + (var(--space-grid-w) + var(--space-gutter)) * 4);
    --grid-start-6: calc(var(--space-side) + (var(--space-grid-w) + var(--space-gutter)) * 5);
    --grid-start-7: calc(var(--space-side) + (var(--space-grid-w) + var(--space-gutter)) * 6);
    --grid-start-8: calc(var(--space-side) + (var(--space-grid-w) + var(--space-gutter)) * 7);
    --grid-start-9: calc(var(--space-side) + (var(--space-grid-w) + var(--space-gutter)) * 8);
    --grid-start-10: calc(var(--space-side) + (var(--space-grid-w) + var(--space-gutter)) * 9);
    --grid-start-11: calc(var(--space-side) + (var(--space-grid-w) + var(--space-gutter)) * 10);
    --grid-start-12: calc(var(--space-side) + (var(--space-grid-w) + var(--space-gutter)) * 11);
    --grid-width-5: calc(var(--space-grid-w) * 5 + var(--space-gutter) * 4);
    --grid-width-6: calc(var(--space-grid-w) * 6 + var(--space-gutter) * 5);
    --grid-width-7: calc(var(--space-grid-w) * 7 + var(--space-gutter) * 6);
    --grid-width-8: calc(var(--space-grid-w) * 8 + var(--space-gutter) * 7);

    /* Header Height */
    --head-height-sp: 80px;
  }
}

/* ============================================
   Reset & Base Styles
   ============================================ */
*,
::before,
::after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: #e5e7eb;
}

::before,
::after {
  --tw-content: "";
}

html,
:host {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -moz-tab-size: 4;
  tab-size: 4;
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-feature-settings: normal;
  font-variation-settings: normal;
  -webkit-tap-highlight-color: transparent;
}

html {
  background-color: var(--beige-100);
}

body {
  margin: 0;
  line-height: inherit;
  font-family: ten-mincho-text, serif;
  font-style: normal;
  font-weight: 400;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* Base Font Size */
html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

h1, h2, h3, h4, h5, h6 {
  font-weight: inherit;
}

h1 { font-size: 24px; }
h2 { font-size: 20px; }
h3 { font-size: 18px; }
h4 { font-size: 16px; }
h5 { font-size: 14px; }
h6 { font-size: 12px; }
p  { font-size: 14px; }
small { font-size: 11px; }

@media (min-width: 768px) {
  h1 { font-size: 32px; }
  h2 { font-size: 28px; }
  h3 { font-size: 24px; }
  h4 { font-size: 20px; }
  h5 { font-size: 16px; }
  h6 { font-size: 14px; }
  p  { font-size: 16px; }
  small { font-size: 12px; }
}

a {
  color: inherit;
  text-decoration: inherit;
  -webkit-text-decoration-skip-ink: none;
  text-decoration-skip-ink: none;
  text-underline-position: under;
  cursor: pointer;
}

img, svg, video, canvas, audio, iframe, embed, object {
  display: block;
  vertical-align: middle;
}

img, video {
  max-width: 100%;
  height: auto;
}

button, input, optgroup, select, textarea {
  font-family: inherit;
  font-feature-settings: inherit;
  font-variation-settings: inherit;
  font-size: 100%;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  color: inherit;
  margin: 0;
  padding: 0;
}

button, [role="button"] {
  cursor: pointer;
}

button, input:where([type="button"]), input:where([type="reset"]), input:where([type="submit"]) {
  -webkit-appearance: button;
  background-color: transparent;
  background-image: none;
}

ol, ul, menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

blockquote, dl, dd, h1, h2, h3, h4, h5, h6, hr, figure, p, pre {
  margin: 0;
}

[hidden]:where(:not([hidden="until-found"])) {
  display: none;
}

main {
  min-height: 0px;
}

@media (min-width: 768px) {
  main {
    min-height: 90vh;
  }
}

/* Lenis Smooth Scroll */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: clip;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

/* ============================================
   Layout Utilities
   ============================================ */
.position-center {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.custom-mask-gradient-top {
  -webkit-mask-image: linear-gradient(to top, transparent 40%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.9) 65%, black 100%);
  mask-image: linear-gradient(to top, transparent 40%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.9) 65%, black 100%);
  -webkit-mask-size: 100% 300%;
  mask-size: 100% 300%;
}

.custom-mask-gradient-bottom {
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 85%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 0%, black 85%, transparent 100%);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.custom-bg-black100 {
  background-color: var(--black-100);
}

/* ============================================
   Animation Classes
   ============================================ */
@keyframes ani-text-mask-hover {
  0% { mask-position: 100% 0; }
  100% { mask-position: 0% 0; }
}

@keyframes moveFrom0to100 {
  0% { transform: translateX(0); }
  100% { transform: translateX(100%); }
}

@keyframes moveFrom100to200 {
  0% { transform: translateX(100%); }
  100% { transform: translateX(200%); }
}

@keyframes moveFrom-100to0 {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(0); }
}

.ani-text-mask-hover {
  animation: ani-text-mask-hover 0.55s linear forwards;
  -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 1) 51%, black 100%);
  mask-image: linear-gradient(to left, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 1) 51%, black 100%);
  -webkit-mask-size: 300% 100%;
  mask-size: 300% 100%;
}

.animation-move-line {
  position: relative;
  display: inline-block;
  overflow: hidden;
}

.animation-move-line::before {
  animation: moveFrom100to200 0.3s cubic-bezier(0.09, 0.45, 0.29, 1) forwards;
  position: absolute;
  bottom: 0px;
  left: -100%;
  height: 1px;
  width: 100%;
  border-bottom-width: 1px;
  content: "";
}

@media (hover: hover) and (pointer: fine) {
  .animation-move-line:hover::before {
    animation: moveFrom0to100 0.3s cubic-bezier(0.09, 0.45, 0.29, 1) forwards;
  }
}


/* Common Components */
/* ============================================
   Header
   ============================================ */
.header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--head-height-sp);
  display: flex;
  align-items: center;
  padding: 0 var(--space-side);
  box-sizing: border-box;
  transition: opacity 0.3s;
}

@media (min-width: 768px) {
  .header {
    top: 2px;
    padding-inline: 30px;
  }
}

.header_logoWrapper {
  margin-right: auto;
}

.header_logoLink {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

@media (min-width: 768px) {
  .header_logoLink {
    gap: 10px;
  }
}

.header_logoIcon {
  display: inline-block;
  width: 31px;
  height: 29px;
  transform: translateY(2px);
  background-color: var(--header-color);
  -webkit-mask-image: url("../../svg/flower-icon.svg");
  mask-image: url("../../svg/flower-icon.svg");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  transition: background-color 0.3s;
}

@media (min-width: 768px) {
  .header_logoIcon {
    width: 34px;
    height: 32px;
    transform: translateY(2px);
  }
}

.header_logoText {
  font-family: "Kaisei Decol", serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--header-color);
  transition: color 0.3s;
}

@media (min-width: 768px) {
  .header_logoText {
    font-size: 26px;
  }
}

/* Header - CTA Group */
.header_ctaGroup {
  display: none;
}

@media (min-width: 970px) {
  .header_ctaGroup {
    display: flex;
    gap: 10px;
    margin-right: 30px;
  }
}

.header_cta {
  display: none;
  background-color: var(--header-color);
  border-radius: 9999px;
  width: auto;
  padding: 4px 16px 6px;
  transition: all 0.5s;
  border: 1px solid transparent;
}

@media (min-width: 970px) {
  .header_cta {
    display: block;
    padding: 10px 25px;
    margin-right: 0;
  }
}

@media (hover: hover) and (pointer: fine) {
  .header_cta:hover {
    background-color: var(--header-color-reverse);
    border-color: var(--header-color);
  }
}

.header_ctaInner {
  display: grid;
  grid-template-columns: auto auto;
  gap: 0 12px;
  align-items: center;
  justify-content: space-between;
}

.header_ctaLabel {
  font-size: 15px;
  line-height: 1;
  letter-spacing: 0.05em;
  white-space: nowrap;
  color: var(--header-color-reverse);
  transition: color 0.5s;
}

@media (hover: hover) and (pointer: fine) {
  .header_cta:hover .header_ctaLabel {
    color: var(--header-color);
  }
}

.header_ctaIcon {
  width: 15px;
  height: 15px;
  color: var(--header-color-reverse);
  transition: color 0.5s;
  transform: translateY(-0.5px);
}

@media (hover: hover) and (pointer: fine) {
  .header_cta:hover .header_ctaIcon {
    color: var(--header-color);
  }
}

/* Header - Menu CTA Group */
.header_menuCtaGroup {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 40px;
}

/* Header - Menu CTA */
.header_menuCta {
  display: inline-block;
  background-color: var(--header-color);
  border-radius: 9999px;
  padding: 11px 24px;
  transition: all 0.5s;
  border: 1px solid transparent;
  text-decoration: none;
  margin-top: 0;
}

@media (hover: hover) and (pointer: fine) {
  .header_menuCta:hover {
    background-color: var(--header-color-reverse);
    border-color: var(--header-color);
  }
}

.header_menuCta .header_ctaLabel {
  color: var(--header-color-reverse);
}

@media (hover: hover) and (pointer: fine) {
  .header_menuCta:hover .header_ctaLabel {
    color: var(--header-color);
  }
}

.header_menuCta .header_ctaIcon {
  color: var(--header-color-reverse);
}

@media (hover: hover) and (pointer: fine) {
  .header_menuCta:hover .header_ctaIcon {
    color: var(--header-color);
  }
}

/* Header - Hamburger */
.header_hamburger {
  display: none;
  height: var(--head-height-sp);
  padding: 0;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  z-index: 50;
  transform: translateY(2px);
}

@media (min-width: 768px) {
  .header_hamburger {
    transform: translateY(0px);
  }
}

.header--ham .header_hamburger {
  display: flex;
}

/* --- Hamburger Lines --- */
.header_hamburgerLines {
  position: relative;
  width: 30px;
  height: 16px;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

@media (min-width: 768px) {
  .header_hamburgerLines {
    width: 33px;
  }
}

.header_hamburgerLine {
  position: absolute;
  right: 0;
  height: 1.5px;
  background-color: var(--header-color);
  border-radius: 2px;
  transition:
    width 0.4s cubic-bezier(0.23, 1, 0.32, 1),
    top 0.4s cubic-bezier(0.23, 1, 0.32, 1),
    bottom 0.4s cubic-bezier(0.23, 1, 0.32, 1),
    transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
    opacity 0.3s ease;
}

/* Top line — full width */
.header_hamburgerLine:first-child {
  top: 0;
  width: 100%;
  transition-delay: 0s;
}

/* Middle line — short, right-aligned */
.header_hamburgerLine:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
  width: 50%;
  transition-delay: 0.05s;
}

/* Bottom line — medium, right-aligned */
.header_hamburgerLine:last-child {
  bottom: 0;
  width: 70%;
  transition-delay: 0.1s;
}

/* Hover: scale up */
@media (hover: hover) and (pointer: fine) {
  .header_hamburger:hover .header_hamburgerLines {
    transform: scale(1.3);
  }
}

/* Open state: morph to X */
.header_hamburgerLine.is-open:first-child {
  top: 50%;
  width: 100%;
  transform: translateY(-50%) rotate(45deg);
  transition-delay: 0.1s;
}

.header_hamburgerLine.is-open:nth-child(2) {
  width: 0;
  opacity: 0;
  transition-delay: 0s;
}

.header_hamburgerLine.is-open:last-child {
  bottom: auto;
  top: 50%;
  width: 100%;
  transform: translateY(-50%) rotate(-45deg);
  transition-delay: 0.1s;
}

/* Header - Menu */
.header_menu {
  pointer-events: none;
  opacity: 0;
  overflow: hidden;
  z-index: -10;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  transition: opacity 0s 0.55s;
}

.header_menu.is-open {
  pointer-events: auto;
  opacity: 1;
  transition: opacity 0s 0s;
}

@media (min-width: 768px) {
  .header_menu {
    left: auto;
    right: 0;
    width: 50%;
  }
}

.header_menuContent {
  color: var(--header-color);
  width: 100%;
  height: 100%;
  position: relative;
}

.header_menuBg {
  position: absolute;
  z-index: -10;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--header-color-reverse);
  opacity: 0;
  transform: translateX(100px);
  transition:
    opacity 0.3s ease 0.2s,
    transform 0.3s ease 0.2s,
    background-color 0.3s;
}

.header_menuBg.is-open {
  opacity: 1;
  transform: translateX(0);
  transition:
    opacity 0.3s ease 0s,
    transform 0.3s ease 0s,
    background-color 0.3s;
}

.header_menuInner {
  padding: 100px var(--space-side) 60px var(--space-side);
  height: 100%;
  box-sizing: border-box;
  overflow-y: auto;
  opacity: 0;
  transition: opacity 0.25s ease 0s;
}

@media (min-width: 768px) {
  .header_menuInner {
    padding: 140px 60px 80px 60px;
  }
}

.header_menu.is-open .header_menuInner {
  opacity: 1;
  transition-duration: 0.7s;
  transition-delay: 0.3s;
}

.header_nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 768px) {
  .header_nav {
    gap: 32px;
  }
}

.header_navItem {
  overflow: hidden;
}

.header_navLink {
  display: flex;
  align-items: baseline;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: opacity 0.3s ease;
}

@media (min-width: 768px) {
  .header_navLink {
    gap: 16px;
  }
}

@media (hover: hover) and (pointer: fine) {
  .header_navLink:hover {
    opacity: 0.7;
  }
}

.header_navEn {
  position: relative;
  font-family: "tt-commons-pro", "sans-serif";
  font-size: 20px;
  line-height: 1.55em;
  font-weight: 500;
  letter-spacing: 0.03em;
}

@media (min-width: 768px) {
  .header_navEn {
    font-size: 28px;
  }
}

.header_navEn::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .header_navLink:hover .header_navEn::after {
    transform: scaleX(1);
    transform-origin: left;
  }
}

.header_navJa {
  font-size: 13px;
  line-height: 1.55em;
  opacity: 0.5;
  letter-spacing: 0.05em;
}

@media (min-width: 768px) {
  .header_navJa {
    font-size: 15px;
  }
}

.header_overlay {
  visibility: hidden;
  opacity: 0;
  position: fixed;
  z-index: -20;
  top: 0;
  left: 0;
  background-color: var(--black-100-80per);
  width: 100%;
  height: 100%;
  transition:
    opacity 0.3s ease 0.2s,
    visibility 0s 0.55s;
}

.header_overlay.is-open {
  visibility: visible;
  opacity: 1;
  transition:
    opacity 0.3s ease 0s,
    visibility 0s 0s;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  color: var(--black-90);
}

.footer_main {
  padding-top: 100px;
  padding-bottom: 80px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: var(--space-gutter);
  padding-left: var(--space-side);
  padding-right: var(--space-side);
  white-space: nowrap;
}

@media (min-width: 768px) {
  .footer_main {
    padding-top: 136px;
    padding-bottom: 120px;
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }
}

.footer_brand {
  grid-column: 1 / 5;
}

@media (min-width: 768px) {
  .footer_brand {
    grid-column: 1 / 5;
  }
}

.footer_logoLink {
  display: block;
  width: 152px;
}

.footer_address {
  margin-top: 44px;
  line-height: 1.55em;
  letter-spacing: 0.12em;
}

@media (min-width: 768px) {
  .footer_address {
    margin-top: 72px;
    font-size: 15px;
  }
}

.footer_phone {
  margin-top: 30px;
}

@media (min-width: 768px) {
  .footer_phone {
    margin-top: 40px;
  }
}

.footer_phoneLabel,
.footer_contentsLabel,
.footer_socialLabel {
  font-family: "tt-commons-pro", "sans-serif";
  font-size: 12px;
  line-height: 1.55em;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.footer_phoneValue {
  margin-top: 16px;
  font-family: "tt-commons-pro", "sans-serif";
  font-size: 15px;
  line-height: 1.55em;
  font-weight: 500;
  letter-spacing: 0.03em;
}

@media (min-width: 768px) {
  .footer_phoneValue {
    margin-top: 24px;
  }
}

.footer_contents {
  grid-column: 1 / 5;
  margin-top: 48px;
}

@media (min-width: 768px) {
  .footer_contents {
    grid-column: 5 / 9;
    margin-top: 0;
  }
}

.footer_contentsNav {
  margin-top: 16px;
  font-family: "tt-commons-pro", "sans-serif";
  font-size: 15px;
  line-height: 1.55em;
  font-weight: 500;
  letter-spacing: 0.03em;
}

@media (min-width: 768px) {
  .footer_contentsNav {
    margin-top: 24px;
  }
}

.footer_contentsNav > li + li {
  margin-top: 2px;
}

@media (min-width: 768px) {
  .footer_contentsNav > li + li {
    margin-top: 0;
  }
}

.footer_contentsLink {
  border-color: var(--black-100);
}

.footer_contentsLink::before {
  border-color: var(--black-100);
}

.footer_social {
  grid-column: 1 / 5;
  margin-top: 40px;
}

@media (min-width: 768px) {
  .footer_social {
    grid-column: 9 / 13;
    margin-top: 0;
  }
}

.footer_socialNav {
  margin-top: 16px;
  font-family: "tt-commons-pro", "sans-serif";
  font-size: 15px;
  line-height: 1.55em;
  font-weight: 500;
  letter-spacing: 0.03em;
}

@media (min-width: 768px) {
  .footer_socialNav {
    margin-top: 24px;
  }
}

.footer_socialNav > li + li {
  margin-top: 2px;
}

.footer_socialLink {
  width: fit-content;
  display: grid;
  grid-template-columns: 15px auto;
  align-items: center;
  gap: 0 6px;
  border-color: var(--black-100);
}

.footer_socialLink::before {
  border-color: var(--black-100);
}


/* Page Sections */
/* ============================================
   Main Visual Section
   ============================================ */
.mainVisualSection {
  position: relative;
  z-index: 20;
  width: 100%;
  height: 100vh;
  background-color: #000;
}

.mainVisualSection_video {
  position: absolute;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.82) contrast(1.05) saturate(1.15);
}

.mainVisualSection_overlay {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  pointer-events: none;
}

.mainVisualSection_grain {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

.mainVisualSection_textWrapper {
  position: sticky;
  z-index: 20;
  top: calc(100svh - 100px);
  height: fit-content;
  padding-bottom: 40px;
}

@media (min-width: 768px) {
  .mainVisualSection_textWrapper {
    top: calc(100svh - 80px);
  }
}

.mainVisualSection_grid {
  color: var(--beige-80);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  padding-left: var(--space-side);
  padding-right: var(--space-side);
}

@media (min-width: 768px) {
  .mainVisualSection_grid {
    grid-template-columns: repeat(12, 1fr);
    align-items: center;
    gap: 0 var(--space-gutter);
  }
}

.mainVisualSection_info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 16px;
  justify-content: start;
  align-items: center;
  font-size: 14px;
  line-height: 2em;
  letter-spacing: 0.1em;
}

@media (min-width: 768px) {
  .mainVisualSection_info {
    grid-template-columns: auto 1px auto;
    grid-column: 1 / 7;
    white-space: nowrap;
    font-size: 24px;
  }
}

.mainVisualSection_divider {
  display: none;
  width: 1px;
  height: 14px;
  border-left: 1px solid var(--beige-80-50per);
}

@media (min-width: 768px) {
  .mainVisualSection_divider {
    display: block;
  }
}

.mainVisualSection_scroll {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .mainVisualSection_scroll {
    grid-column: 7 / 13;
  }
}

.mainVisualSection_scrollIndicator {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  gap: 8px 0;
  align-items: center;
}

.mainVisualSection_scrollText {
  font-family: "tt-commons-pro", "sans-serif";
  font-size: 13px;
  line-height: 1.55em;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.mainVisualSection_scrollLine {
  position: relative;
  width: 2px;
  height: 40px;
  background: var(--beige-80-50per);
}

.mainVisualSection_scrollLine::before {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  width: 9px;
  height: 9px;
  translate: -50% 0;
  border-right: 2px solid var(--beige-80);
  border-bottom: 2px solid var(--beige-80);
  rotate: 45deg;
  opacity: 0.5;
  animation: mainVisualScrollArrow 2.4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.mainVisualSection_scrollLine::after {
  content: '';
  position: absolute;
  left: 50%;
  width: 3px;
  height: 8px;
  translate: -50% 0;
  background: var(--beige-80);
  border-radius: 3px;
  box-shadow: 0 0 8px 1px var(--beige-80);
  animation: mainVisualScrollLine 2.4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes mainVisualScrollArrow {
  0%, 75% {
    opacity: 0.5;
    scale: 1;
    filter: drop-shadow(0 0 0 transparent);
  }
  85% {
    opacity: 1;
    scale: 1.4;
    filter: drop-shadow(0 0 6px var(--beige-80));
  }
  95%, 100% {
    opacity: 0.5;
    scale: 1;
    filter: drop-shadow(0 0 0 transparent);
  }
}

@keyframes mainVisualScrollLine {
  0%, 10% {
    top: -8px;
    opacity: 0;
  }
  25% {
    opacity: 1;
  }
  75% {
    opacity: 1;
  }
  90%, 100% {
    top: 100%;
    opacity: 0;
  }
}

/* ============================================
   Mission Section
   ============================================ */
.missionSection {
  position: relative;
  padding-bottom: calc(200px + 100vh);
  overflow: clip;
}

@media (min-width: 768px) {
  .missionSection {
    padding-bottom: calc(220px + 100vh);
  }
}

.section-mission-bg {
  /* Keep for backward compatibility */
  position: relative;
  padding-bottom: calc(200px + 100vh);
  background-color: #3a4340;
}

@media (min-width: 768px) {
  .section-mission-bg {
    padding-bottom: calc(220px + 100vh);
  }
}

.missionSection_bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.missionSection_textWrapper {
  z-index: 20;
  position: sticky;
  top: 0;
  margin-top: min(120px, 14vh);
  transform: translateY(min(120px, 14vh));
  left: 0;
  width: 100%;
  max-height: calc(100vh - min(120px, 14vh));
  max-height: calc(100dvh - min(120px, 14vh));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transition: transform 0.3s, opacity 0.3s;
  padding-left: var(--space-side);
  padding-right: var(--space-side);
}

@media (min-width: 768px) {
  .missionSection_textWrapper {
    margin-top: 0;
    transform: translateY(clamp(100px, 20vh, 230px));
    max-height: none;
    overflow-y: visible;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    column-gap: var(--space-gutter);
  }
}

.missionTextWrapper {
  /* Keep for backward compatibility */
  z-index: 20;
  position: sticky;
  top: 0;
  margin-top: min(120px, 14vh);
  transform: translateY(min(120px, 14vh));
  left: 0;
  width: 100%;
  max-height: calc(100vh - min(120px, 14vh));
  max-height: calc(100dvh - min(120px, 14vh));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transition: transform 0.3s, opacity 0.3s;
  padding-left: var(--space-side);
  padding-right: var(--space-side);
}

@media (min-width: 768px) {
  .missionTextWrapper {
    margin-top: 0;
    transform: translateY(clamp(100px, 20vh, 230px));
    max-height: none;
    overflow-y: visible;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    column-gap: var(--space-gutter);
  }
}

.missionSection_header {
  grid-column: 1 / 7;
  grid-row-start: 1;
}

.missionSection_title {
  display: flex;
  align-items: center;
  gap: 0 12px;
}

.missionSection_titleIcon {
  width: 9px;
  height: 9px;
  color: var(--beige-80);
}

.missionSection_titleText {
  color: var(--beige-80);
  font-family: "tt-commons-pro", "sans-serif";
  font-size: 20px;
  line-height: 1.55em;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.missionSection_content {
  grid-column: 7 / 13;
  grid-row-start: 1;
  margin-top: min(50px, 5vh);
  color: var(--beige-80);
}

@media (min-width: 768px) {
  .missionSection_content {
    margin-top: 0;
  }
}

.missionSection_heading {
  font-size: clamp(20px, calc(14.3px + 1.79vw), 28px);
  line-height: 1.55em;
  letter-spacing: 0.12em;
}

@media (min-width: 768px) {
  .missionSection_heading {
    font-size: 32px;
  }
}

.missionSection_body {
  margin-top: clamp(16px, 4vh, 40px);
  line-height: 1.8em;
  letter-spacing: 0.12em;
}

@media (min-width: 768px) {
  .missionSection_body {
    line-height: 2.2em;
  }
}

.missionSection_body p + p {
  margin-top: clamp(10px, 2vh, 26px);
}

.missionSection_linkWrapper {
  margin-top: clamp(20px, 5vh, 60px);
}

.missionSection_images {
  position: relative;
  width: 100%;
  overflow: hidden;
}

@media (min-width: 768px) {
  .missionSection_images {
    padding-top: calc(100vw * 344 / 1440);
  }
}

.missionSection_imagesInner {
  position: relative;
  z-index: 10;
}

.missionSection_imagesInner > div {
  overflow: hidden;
}

.missionSection_image {
  width: 100%;
}

.missionSection_image1 {
  width: 72%;
  margin-top: calc(100vw * 120 / 390);
}

@media (min-width: 768px) {
  .missionSection_image1 {
    width: calc(var(--space-side) + var(--grid-width-5));
    margin-top: 0;
  }
}

.missionSection_image2 {
  width: 76%;
  margin-top: calc(100vw * 488 / 390);
  margin-left: auto;
  margin-right: 0;
}

@media (min-width: 768px) {
  .missionSection_image2 {
    width: calc(var(--space-side) + var(--grid-width-5));
    margin-top: calc(-100vw * 235 / 1440);
  }
}

.missionSection_image3 {
  width: 68%;
  margin-top: calc(100vw * 100 / 390);
  margin-left: var(--space-side);
}

@media (min-width: 768px) {
  .missionSection_image3 {
    width: var(--grid-width-4);
    margin-top: calc(100vw * 100 / 1440);
    margin-left: 19%;
  }
}

.missionSection_image4 {
  width: 43.8%;
  margin-top: calc(100vw * 80 / 390);
  margin-left: auto;
  margin-right: var(--space-side);
}

@media (min-width: 768px) {
  .missionSection_image4 {
    width: var(--grid-width-4);
    margin-top: 0;
    margin-right: calc(var(--space-side) + var(--grid-width-1) + var(--space-gutter));
  }
}

.missionSection_image5 {
  width: 68%;
  margin-top: calc(100vw * 80 / 390);
  margin-left: var(--space-side);
}

@media (min-width: 768px) {
  .missionSection_image5 {
    width: var(--grid-width-6);
    margin-top: calc(100vw * 100 / 1440);
  }
}

.missionSection_image6 {
  width: 71.8%;
  margin-top: calc(100vw * 80 / 390);
  margin-left: auto;
  margin-right: 0;
}

@media (min-width: 768px) {
  .missionSection_image6 {
    width: calc(var(--space-side) + var(--grid-width-5));
    margin-top: calc(100vw * 90 / 1440);
  }
}

.missionSection_image7 {
  width: 68%;
  margin-top: calc(100vw * 80 / 390);
  margin-left: var(--space-side);
}

@media (min-width: 768px) {
  .missionSection_image7 {
    width: var(--grid-width-5);
    margin-top: calc(100vw * 100 / 1440);
  }
}

.missionSection_image8 {
  width: 67.7%;
  margin-top: calc(100vw * 80 / 390);
  margin-left: auto;
  margin-right: var(--space-side);
}

@media (min-width: 768px) {
  .missionSection_image8 {
    width: var(--grid-width-4);
    margin-top: calc(100vw * 135 / 1440);
    margin-right: 26.9%;
  }
}

/* Mission Section - Decorations */
.missionSection_decoration1 {
  position: absolute;
  top: calc(100vw * 575 / 390);
  right: 0;
  width: max(calc(100vw * 280 / 390));
}

@media (min-width: 768px) {
  .missionSection_decoration1 {
    top: 0;
    width: calc(100vw * 400 / 1440);
  }
}

.missionSection_decoration2 {
  display: none;
  position: absolute;
  top: calc(100vw * 1100 / 1440);
  left: 0;
  width: calc(100vw * 525 / 1440);
}

@media (min-width: 768px) {
  .missionSection_decoration2 {
    display: block;
  }
}

.missionSection_decoration3 {
  position: absolute;
  top: calc(100vw * 1879 / 390);
  right: calc(-100vw * 126 / 390);
  width: calc(100vw * 343 / 390);
}

@media (min-width: 768px) {
  .missionSection_decoration3 {
    top: calc(100vw * 2470 / 1440);
    right: calc(-100vw * 129 / 1440);
    width: calc(100vw * 778 / 1440);
  }
}

.missionSection_decoration4 {
  display: none;
  position: absolute;
  top: calc(100vw * 3245 / 1440);
  left: 0;
  width: min(100vw * 400 / 1440, 400px * 1600 / 1440);
}

@media (min-width: 768px) {
  .missionSection_decoration4 {
    display: block;
  }
}

/* ============================================
   Slide Section
   ============================================ */
.slideSection {
  position: relative;
  z-index: 0;
  margin-top: -100vh;
}

.slideSection_bgColor {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--black-100);
}

.slideSection_wrapper {
  position: relative;
  color: var(--beige-80);
  height: calc(100vh * 6.5);
}

.slideSection_slidesWrapper {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* Individual Slide Sections */
.slideSection_slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  will-change: transform;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.slideSection_slide--business {
  z-index: 50;
}
.slideSection_slide--technology {
  z-index: 40;
}
.slideSection_slide--products {
  z-index: 30;
}
.slideSection_slide--recruit {
  z-index: 20;
}
.slideSection_slide--farmland {
  z-index: 10;
}

.slideSection_slideImageWrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.slideSection_slideImageWrapper::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.45);
}

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

.slideSection_slideContents {
  position: absolute;
  z-index: 10;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -45%);
  transition: opacity 1.5s;
}

.slideSection_slideTextWrapper {
  -webkit-mask-image: linear-gradient(
    to left,
    transparent 40%,
    rgba(0, 0, 0, 0.2) 50%,
    rgba(0, 0, 0, 0.9) 65%,
    black 100%
  );
  mask-image: linear-gradient(to left, transparent 40%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.9) 65%, black 100%);
  -webkit-mask-size: 300% 100%;
  mask-size: 300% 100%;
  mask-position: 100% 0%;
}

.slideSection_slideTitle {
  text-align: center;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 56px;
  line-height: 0.9em;
}

@media (min-width: 768px) {
  .slideSection_slideTitle {
    font-size: 82px;
  }
}

.slideSection_slideDescription {
  margin-top: 30px;
  text-align: center;
  font-size: 16px;
  line-height: 1.55em;
  letter-spacing: 0.12em;
}

@media (min-width: 768px) {
  .slideSection_slideDescription {
    margin-top: 46px;
    font-size: 18px;
    line-height: 1.9em;
  }
}

.slideSection_slideLinkWrapper {
  margin: 40px auto 0;
  width: fit-content;
}

@media (min-width: 768px) {
  .slideSection_slideLinkWrapper {
    margin-top: 68px;
  }
}

/* SP/PC共通でLightスタイルを使用 */
.slideSection_slideLinkSp {
  display: none;
}

.slideSection_slideLinkBtn {
  display: block;
}

/* Slide Progress Circle */
.slideSection_progress {
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  position: absolute;
  z-index: 5;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 360px;
  aspect-ratio: 1 / 1;
  rotate: -90deg;
}

@media (min-width: 768px) {
  .slideSection_progress {
    width: 480px;
  }
}

.slideSection_progressSvg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(50%, -50%);
  width: 100%;
  aspect-ratio: 1 / 1;
  transition: all 1s;
}

.slideSection_progressBg {
  stroke: rgb(233 226 210 / 0.5);
  fill: transparent;
}

.slideSection_progressBar {
  stroke: #e9e2d2;
  fill: transparent;
  stroke-width: 1.25;
}

/* ============================================
   Common Link Component
   ============================================ */
.slideLink {
  position: relative;
  overflow: hidden;
  width: 208px;
  padding-bottom: 12px;
  display: grid;
  grid-template-columns: auto auto;
  justify-content: space-between;
  align-items: center;
}

.slideLink_labelWrapper {
  display: grid;
  grid-template-columns: auto auto;
  gap: 0 10px;
  align-items: baseline;
}

@media (min-width: 768px) {
  .slideLink_labelWrapper {
    gap: 0 20px;
  }
}

.slideLink_arrowBg {
  display: block;
}

.slideLink_arrowBgDark {
  color: var(--black-100);
}

.slideLink_arrowBgLight {
  color: var(--beige-100);
}

.slideLink_arrowBtn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 16px;
  border-radius: 9999px;
}

.slideLink_arrowBtnDark {
  background-color: var(--black-90);
}

.slideLink_arrowBtnLight {
  background-color: var(--beige-100);
}

.slideLink_arrowContainer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 12px;
  height: 12px;
  overflow: hidden;
}

.slideLink_arrowContainerDark {
  color: var(--beige-100);
}

.slideLink_arrowContainerLight {
  color: var(--black-90);
}

.slideLink_arrow {
  width: 8px;
  transition: transform 0.5s;
}

.slideLink_arrowSecond {
  position: absolute;
  right: 16px;
  transition-delay: 75ms;
}

@media (hover: hover) and (pointer: fine) {
  .slideLink:hover .slideLink_arrow {
    transform: translateX(16px);
  }
}

.slideLink_border {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  border-bottom: 1px solid;
}

.slideLink_borderDark {
  border-color: var(--black-100-30per);
}

.slideLink_borderLight {
  border-color: var(--beige-80-50per);
}

.slideLink_borderHover {
  position: absolute;
  left: -100%;
  bottom: 0;
  width: 100%;
  height: 1px;
  border-bottom: 1px solid;
  transition: transform 0.5s;
}

.slideLink_borderHoverDark {
  border-color: var(--black-100-80per);
}

.slideLink_borderHoverLight {
  border-color: var(--beige-80);
}

@media (hover: hover) and (pointer: fine) {
  .slideLink:hover .slideLink_borderHover {
    transform: translateX(100%);
  }
}

.slideLink_label {
  font-family: "tt-commons-pro", "sans-serif";
  font-size: 15px;
  line-height: 1.55em;
  font-weight: 500;
  letter-spacing: 0.03em;
}

/* ============================================
   Contact Section
   ============================================ */
.contactSection {
  padding-left: var(--space-side);
  padding-right: var(--space-side);
  margin-bottom: 100px;
  color: var(--black-90);
  margin-top: 60px;
}

@media (min-width: 768px) {
  .contactSection {
    margin-bottom: var(--space-side);
    margin-top: 200px;
  }
}

.contactSection_header {
  text-align: center;
  margin-bottom: 48px;
}

@media (min-width: 768px) {
  .contactSection_header {
    margin-bottom: 40px;
  }
}

.contactSection_title {
  margin-bottom: 16px;
  font-size: 24px;
  line-height: 1.55em;
  letter-spacing: 0.12em;
}

@media (min-width: 768px) {
  .contactSection_title {
    font-size: 32px;
  }
}

.contactSection_description {
  color: var(--black-70);
  line-height: 1.9em;
  letter-spacing: 0.12em;
}

.contactSection_profiles {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

@media (min-width: 768px) {
  .contactSection_profiles {
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 60px;
  }
}

.contactSection_profileItem {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 280px;
}

@media (min-width: 768px) {
  .contactSection_profileItem {
    max-width: 260px;
  }
}

.contactSection_imageWrapper {
  width: 100%;
  margin-bottom: 20px;
  aspect-ratio: 262 / 360;
  overflow: hidden;
}

.contactSection_image {
  width: 100%;
  height: auto;
  aspect-ratio: 262 / 360;
  object-fit: cover;
}

.contactSection_profileInfo {
  text-align: center;
}

.contactSection_profileRole {
  color: var(--black-60);
  margin-bottom: 4px;
  font-size: 11px;
  line-height: 1.9em;
  letter-spacing: 0.12em;
}

.contactSection_profileName {
  margin-bottom: 12px;
  font-weight: 500;
  line-height: 1.9em;
  letter-spacing: 0.12em;
}

.contactSection_profileText {
  color: var(--black-70);
  margin-bottom: 16px;
  font-size: 12px;
  line-height: 1.8;
  letter-spacing: 0.12em;
  text-align: left;
}

@media (min-width: 768px) {
  .contactSection_profileText {
    font-size: 16px;
  }
}

.contactSection_mail {
  margin-top: 48px;
  text-align: center;
}

@media (min-width: 768px) {
  .contactSection_mail {
    margin-top: 40px;
  }
}

.contactSection_mailText {
  color: var(--black-70);
  font-size: 12px;
  line-height: 1.9em;
  letter-spacing: 0.12em;
}

@media (min-width: 768px) {
  .contactSection_mailText {
    font-size: 16px;
  }
}

.contactSection_mailLink {
  color: var(--black-90);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.3s;
}

@media (hover: hover) and (pointer: fine) {
  .contactSection_mailLink:hover {
    opacity: 0.7;
  }
}

.contactSection_instagramButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #833AB4 0%, #E1306C 50%, #F77737 100%);
  color: #fff;
  border-radius: 30px;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 15px rgba(225, 48, 108, 0.3);
}

@media (hover: hover) and (pointer: fine) {
  .contactSection_instagramButton:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(225, 48, 108, 0.4);
    color: #fff;
  }
}

.contactSection_instagramLabel {
  font-family: "tt-commons-pro", "sans-serif";
  font-size: 15px;
  line-height: 1.55em;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.contactSection_instagramIconButton {
  width: 22px;
  height: 22px;
  filter: brightness(0) invert(1);
}

@media (min-width: 768px) {
  .contactSection_instagramButton {
    padding: 16px 32px;
  }
}


/* Page Specific */
/* ============================================
   Loading Screen - 視点変化の演出
   ============================================ */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  overflow: hidden;
}

#loading-screen.fade-out {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease-out;
}

#loading-screen.hidden {
  display: none;
}

/* ----------------------------------------
   動画コンテナ（ズーム制御用）
   ---------------------------------------- */
#loading_videoContainer {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  transform: scale(1) translateY(0);
  transition: transform 0.15s ease-out;
}

#loading-video {
  height: 100vh;
  width: auto;
  max-width: none;
  object-fit: contain;
}

/* ----------------------------------------
   ビネット効果（焦点を中央に誘導）
   ---------------------------------------- */
#loading_vignette {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    ellipse at center,
    transparent 30%,
    rgba(0, 0, 0, 0.3) 70%,
    rgba(0, 0, 0, 0.7) 100%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease-out;
  z-index: 2;
}

#loading_vignette.active {
  opacity: 1;
}

/* ビネットの強調（ズームが進むにつれて） */
#loading_vignette.intense {
  background: radial-gradient(
    ellipse at center,
    transparent 20%,
    rgba(0, 0, 0, 0.4) 50%,
    rgba(0, 0, 0, 0.85) 100%
  );
}

/* ----------------------------------------
   キャッチコピー
   ---------------------------------------- */
#loading-catchcopy {
  position: absolute;
  bottom: 15%;
  left: 50%;
  transform: translateX(-50%);
  color: #e9e2d2;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 2;
  text-align: center;
  letter-spacing: 0.15em;
  white-space: nowrap;
  text-shadow:
    0 0 20px rgba(0, 0, 0, 0.8),
    0 0 40px rgba(0, 0, 0, 0.6),
    0 2px 4px rgba(0, 0, 0, 0.9);
  opacity: 0;
  visibility: hidden;
  z-index: 5;
}

#loading-catchcopy.show {
  visibility: visible;
  animation: fadeInUp 1s ease-out forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* ============================================
   PC用レスポンシブ
   ============================================ */
@media (min-width: 768px) {
  #loading-catchcopy {
    font-size: 2rem;
    bottom: 12%;
  }
}

/* PC: 横長画面での動画フィット調整（aspect-ratio は機能クエリとして使用。幅ブレークポイントではない） */
@media (min-width: 768px) and (min-aspect-ratio: 16/9) {
  #loading-video {
    height: auto;
    width: 100vw;
  }
}


/* Libraries */
/* ============================================
   Splide Core (Library)
   ============================================ */
@keyframes splide-loading{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.splide__track--draggable{-webkit-touch-callout:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.splide__track--fade>.splide__list>.splide__slide{margin:0!important;opacity:0;z-index:0}.splide__track--fade>.splide__list>.splide__slide.is-active{opacity:1;z-index:1}.splide--rtl{direction:rtl}.splide__track--ttb>.splide__list{display:block}.splide__container{box-sizing:border-box;position:relative}.splide__list{backface-visibility:hidden;display:-ms-flexbox;display:flex;height:100%;margin:0!important;padding:0!important}.splide.is-initialized:not(.is-active) .splide__list{display:block}.splide__pagination{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-pack:center;justify-content:center;margin:0;pointer-events:none}.splide__pagination li{display:inline-block;line-height:1;list-style-type:none;margin:0;pointer-events:auto}.splide:not(.is-overflow) .splide__pagination{display:none}.splide__progress__bar{width:0}.splide{position:relative;visibility:hidden}.splide.is-initialized,.splide.is-rendered{visibility:visible}.splide__slide{backface-visibility:hidden;box-sizing:border-box;-ms-flex-negative:0;flex-shrink:0;list-style-type:none!important;margin:0;position:relative}.splide__slide img{vertical-align:bottom}.splide__spinner{animation:splide-loading 1s linear infinite;border:2px solid #999;border-left-color:transparent;border-radius:50%;bottom:0;contain:strict;display:inline-block;height:20px;left:0;margin:auto;position:absolute;right:0;top:0;width:20px}.splide__sr{clip:rect(0 0 0 0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.splide__toggle.is-active .splide__toggle__play,.splide__toggle__pause{display:none}.splide__toggle.is-active .splide__toggle__pause{display:inline}.splide__track{overflow:hidden;position:relative;z-index:0}

