@charset "utf-8";

/* =========================================
   Variables & Reset
========================================= */
:root {
  /* Eclat Plus inspired Palette */
  --color-bg-base: #F8F7F5;
  /* Pale warm gray/beige */
  --color-bg-accent: #EBE8E3;
  /* Slightly darker grayish beige for layers */
  --color-text-main: #54504D;
  /* Soft dark brownish-gray */
  --color-gold: #C2A878;
  /* Muted elegant gold */
  --color-white: #FFFFFF;
  --color-black: #2C2B29;

  /* Typography */
  --font-serif: 'Noto Serif JP', serif;
  --font-sans: 'Noto Sans JP', sans-serif;
  --font-en: 'Cormorant Garamond', 'Noto Serif JP', serif;
  /* Elegant English font fallback */

  /* Layout */
  --content-width: 1100px;
  --header-height: 80px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text-main);
  background-color: var(--color-bg-base);
  line-height: 2;
  letter-spacing: 0.1em;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
}

ul {
  list-style: none;
}

/* =========================================
   Typography & Utilities
========================================= */
.font-en {
  font-family: var(--font-en);
}

.font-serif {
  font-family: var(--font-serif);
}

.container {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 5%;
}

.section {
  padding: 120px 0;
}

/* Elegant Section Titles */
.section-title-wrap {
  text-align: center;
  margin-bottom: 80px;
  position: relative;
}

.section-title-en {
  font-family: var(--font-en);
  font-size: 3rem;
  color: var(--color-gold);
  letter-spacing: 0.15em;
  font-weight: 300;
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-title-ja {
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  color: var(--color-text-main);
}

/* =========================================
   Buttons (Eclat style)
========================================= */
.btn-view-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 40px;
  background-color: transparent;
  color: var(--color-text-main);
  border: 1px solid var(--color-text-main);
  font-family: var(--font-en);
  letter-spacing: 0.2em;
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: color 0.4s;
}

.btn-view-more::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-text-main);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
  z-index: -1;
}

.btn-view-more::after {
  content: '';
  display: inline-block;
  width: 30px;
  height: 1px;
  background-color: var(--color-text-main);
  margin-left: 20px;
  transition: background-color 0.4s, transform 0.4s;
}

.btn-view-more:hover {
  color: var(--color-white);
}

.btn-view-more:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.btn-view-more:hover::after {
  background-color: var(--color-white);
  transform: translateX(5px);
}

/* =========================================
   Header (Overlapping & Transparent)
========================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 100;
  transition: background-color 0.5s ease, padding 0.5s ease;
}

.header.is-scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
  height: 70px;
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  padding: 0 5%;
}

.header__controls {
  display: flex;
  align-items: center;
  gap: 30px;
  z-index: 102;
}

.header__sns {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header__sns a {
  color: var(--color-black);
  font-size: 1.25rem;
  transition: color 0.3s;
}

.header__sns a:hover {
  color: var(--color-gold);
}

@media screen and (max-width: 768px) {
  .header__sns {
    gap: 10px;
  }

  .header__sns a {
    font-size: 1rem;
  }

  .header__controls {
    gap: 15px;
  }
}

.header__logo {
  position: relative;
  z-index: 102;
  display: flex;
  align-items: center;
  height: 100%;
}

.header__logo a {
  display: flex;
  align-items: center;
  height: 100%;
}

.header__logo img {
  height: 35px;
  width: auto;
  transition: transform 0.3s;
  display: block;
}

.header__logo:hover img {
  transform: scale(1.05);
}

/* Hamburger */
.hamburger {
  position: relative;
  z-index: 999;
  /* Changed from 102 to 999 to guarantee it sits above the 101 nav-overlay */
  width: 35px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  outline: none;
}

.hamburger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--color-text-main);
  transition: all 0.4s ease;
}

.hamburger span:nth-of-type(1) {
  top: 0;
}

.hamburger span:nth-of-type(2) {
  top: 50%;
  width: 70%;
  left: 30%;
}

.hamburger span:nth-of-type(3) {
  bottom: 0;
}

.hamburger.is-active span:nth-of-type(1) {
  top: 50%;
  transform: rotate(45deg);
}

.hamburger.is-active span:nth-of-type(2) {
  opacity: 0;
}

.hamburger.is-active span:nth-of-type(3) {
  top: 50%;
  transform: rotate(-45deg);
}

/* Overlay Nav */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--color-bg-base);
  z-index: 101;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.header__nav {
  text-align: center;
}

.header__list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

@media screen and (max-width: 900px) {
  .header__list {
    gap: 15px;
  }
}

.header__list a {
  font-family: var(--font-en);
  font-size: 1.8rem;
  color: var(--color-text-main);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color 0.4s, transform 0.4s;
  display: inline-block;
}

.header__list a:hover {
  color: var(--color-gold);
  transform: translateX(10px);
}

/* =========================================
   Concept (Overlapping Layout)
========================================= */
.concept {
  background-color: var(--color-white);
  padding-top: 150px;
}

.concept__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 100px;
}

.concept__img-box {
  width: 55%;
  position: relative;
  z-index: 1;
}

.concept__img-box img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.concept__text-box {
  width: 50%;
  background-color: var(--color-bg-base);
  padding: 60px 50px;
  position: relative;
  margin-left: -5%;
  z-index: 2;
  box-shadow: -10px 20px 40px rgba(0, 0, 0, 0.03);
}

.concept__lead {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--color-black);
  margin-bottom: 30px;
  line-height: 1.8;
  letter-spacing: 0.1em;
}

.concept__text {
  font-size: 0.95rem;
  color: var(--color-text-main);
  line-height: 2;
}

.concept__btn-wrap {
  margin-top: 40px;
}

/* =========================================
   Footer
========================================= */
.footer {
  background-color: var(--color-black);
  color: var(--color-white);
  padding: 80px 0 100px;
  text-align: center;
}

.footer__logo img {
  height: 40px;
  margin-bottom: 30px;
  filter: brightness(0) invert(1);
}

.footer__nav {
  margin-bottom: 40px;
}

.footer__nav ul {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.footer__nav a {
  font-family: var(--font-en);
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.footer__nav a:hover {
  color: var(--color-gold);
}

.footer__sns {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.footer__sns a {
  color: var(--color-white);
  font-size: 1.5rem;
  transition: color 0.3s;
}

.footer__sns a:hover {
  color: var(--color-gold);
}

.footer__copy {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
}

/* =========================================
   Floating Buttons
========================================= */
.btn-floating-line {
  position: fixed;
  bottom: 0;
  right: 0;
  width: 300px;
  background-color: #06C755;
  color: white;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  font-weight: 500;
  font-size: 1rem;
  z-index: 999;
  transition: transform 0.4s, opacity 0.4s, visibility 0.4s;
}

.btn-floating-line.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.btn-floating-line:hover {
  transform: translateY(-5px);
  color: white;
}

/* =========================================
   Animations & Specifics
========================================= */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s cubic-bezier(0.215, 0.61, 0.355, 1), transform 1s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.fade-in-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--color-bg-base);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 1s ease, visibility 1s ease;
}

.loader.is-loaded {
  opacity: 0;
  visibility: hidden;
}

.loader__img {
  width: 150px;
  animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 0.5;
  }

  50% {
    opacity: 1;
  }
}

/* Reveal Text Layering */
.reveal-text {
  display: inline-block;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.5s cubic-bezier(0.22, 1, 0.36, 1), transform 1.5s cubic-bezier(0.22, 1, 0.36, 1);
  color: var(--color-black);
}

.reveal-text::after {
  display: none;
}

.reveal-text.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   Media Queries
========================================= */
@media screen and (max-width: 900px) {
  .concept__inner {
    flex-direction: column;
  }

  .concept__img-box {
    width: 100%;
  }

  .concept__text-box {
    width: 90%;
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    margin-top: -50px;
    padding: 40px 30px;
  }

  .btn-floating-line {
    width: 100%;
  }
}