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

html,
body {
  width: 100%;
  height: 100%;
}

body {
  font-family: "Noto Serif JP", serif;
  background: #d7d3cc;
  color: #2f2a25;
  overflow-x: hidden;
}

.hero {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 100svh;
  overflow: hidden;
  background: #d7d3cc;
}

/* ===== 背景 ===== */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.bg-picture {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 2.2s ease;
}

.bg-picture.active {
  opacity: 1;
}

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

/* ===== オーバーレイ ===== */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      to right,
      rgba(232, 228, 221, 0.30) 0%,
      rgba(232, 228, 221, 0.18) 24%,
      rgba(232, 228, 221, 0.08) 46%,
      rgba(232, 228, 221, 0.02) 66%,
      rgba(232, 228, 221, 0.00) 100%
    ),
    rgba(214, 209, 201, 0.02);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
}

/* ===== Header ===== */
.site-header {
  position: absolute;
  top: 34px;
  left: 42px;
  right: 42px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.logo-main {
  font-family: "Cormorant Garamond", serif;
  font-size: 56px;
  line-height: 0.9;
  color: #f4f1eb;
  letter-spacing: 0.01em;
}

.logo-sub {
  margin-top: 10px;
  font-size: 16px;
  letter-spacing: 0.22em;
  color: rgba(244, 241, 235, 0.96);
}

.menu-wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 8px;
}

.menu-text {
  font-size: 14px;
  letter-spacing: 0.18em;
  color: #f4f1eb;
}

.menu-button {
  width: 42px;
  height: 28px;
  background: transparent;
  border: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: #f4f1eb;
}

/* ===== Main Copy ===== */
.hero-copy {
  position: absolute;
  left: 42px;
  top: 18vh;
  width: min(38vw, 500px);
}

.hero-copy h1 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: clamp(56px, 4.8vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.01em;
  color: #2d2824;
}

.jp-copy {
  margin-top: 26px;
  font-size: clamp(15px, 1.05vw, 18px);
  line-height: 1.84;
  letter-spacing: 0.08em;
  color: #2f2a25;
}

/* ===== First Bloom ===== */
.first-bloom {
  position: absolute;
  left: 42px;
  bottom: 34px;
  width: min(30vw, 380px);
}

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.18em;
  color: rgba(47, 42, 37, 0.82);
}

.first-bloom h2 {
  margin-top: 14px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(40px, 3.4vw, 58px);
  font-weight: 400;
  line-height: 1;
  color: #2d2824;
  transition: opacity 0.7s ease;
}

.jp-name {
  margin-top: 10px;
  font-size: 15px;
  letter-spacing: 0.14em;
  color: #2f2a25;
  transition: opacity 0.7s ease;
}

.bloom-copy {
  margin-top: 16px;
  font-size: clamp(13px, 0.92vw, 16px);
  line-height: 1.8;
  letter-spacing: 0.08em;
  color: #2f2a25;
  transition: opacity 0.7s ease;
}

.details-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
  padding-bottom: 8px;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.16em;
  color: #2f2a25;
  border-bottom: 1px solid rgba(47, 42, 37, 0.65);
}

.details-link span {
  font-size: 18px;
  line-height: 1;
}

.fade-text {
  opacity: 0;
}

/* ===== PC：写真は右に、文字被りを解消 ===== */
@media (min-width: 769px) {
  .bg-slide {
    object-position: 70% center;
  }
}

/* ===== 小さめPC ===== */
@media (max-width: 1366px) and (min-width: 769px) {
  .site-header {
    top: 28px;
    left: 30px;
    right: 30px;
  }

  .logo-main {
    font-size: 48px;
  }

  .logo-sub {
    font-size: 13px;
    margin-top: 8px;
  }

  .menu-text {
    font-size: 13px;
  }

  .hero-copy {
    left: 30px;
    top: 16vh;
    width: min(40vw, 450px);
  }

  .hero-copy h1 {
    font-size: clamp(48px, 4.4vw, 70px);
  }

  .jp-copy {
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.74;
  }

  .first-bloom {
    left: 30px;
    bottom: 24px;
    width: min(29vw, 320px);
  }

  .first-bloom h2 {
    font-size: clamp(36px, 2.8vw, 50px);
  }

  .jp-name {
    font-size: 14px;
  }

  .bloom-copy {
    margin-top: 14px;
    font-size: 13px;
    line-height: 1.7;
  }

  .details-link {
    margin-top: 16px;
    font-size: 12px;
  }
}

/* ===== 高さが低いPC ===== */
@media (max-height: 760px) and (min-width: 769px) {
  .hero-copy {
    top: 14vh;
    width: min(38vw, 410px);
  }

  .hero-copy h1 {
    font-size: clamp(40px, 3.6vw, 56px);
  }

  .jp-copy {
    margin-top: 16px;
    font-size: 13px;
    line-height: 1.7;
  }

  .first-bloom {
    bottom: 16px;
    width: min(27vw, 270px);
  }

  .eyebrow {
    font-size: 11px;
  }

  .first-bloom h2 {
    font-size: clamp(32px, 2.4vw, 42px);
  }

  .jp-name {
    font-size: 12px;
  }

  .bloom-copy {
    margin-top: 10px;
    font-size: 11px;
    line-height: 1.6;
  }

  .details-link {
    margin-top: 12px;
    font-size: 11px;
  }
}

/* ===== スマホ縦：別写真前提、花を少し左に ===== */
@media (max-width: 768px) and (orientation: portrait) {
  .hero {
    height: 100svh;
    min-height: 100svh;
  }

  .bg-slide {
    object-position: 60% center;
  }

  .hero-overlay {
    background:
      linear-gradient(
        to right,
        rgba(232, 228, 221, 0.14) 0%,
        rgba(232, 228, 221, 0.09) 22%,
        rgba(232, 228, 221, 0.04) 42%,
        rgba(232, 228, 221, 0.00) 60%
      ),
      rgba(214, 209, 201, 0.01);
  }

  .site-header {
    top: 22px;
    left: 20px;
    right: 20px;
  }

  .logo-main {
    font-size: 34px;
  }

  .logo-sub {
    margin-top: 6px;
    font-size: 10px;
    letter-spacing: 0.18em;
  }

  .menu-wrap {
    gap: 12px;
    margin-top: 5px;
  }

  .menu-text {
    font-size: 11px;
  }

  .menu-button {
    width: 32px;
    height: 22px;
  }

  .hero-copy {
    left: 20px;
    top: 20vh;
    width: min(58vw, 240px);
  }

  .hero-copy h1 {
    font-size: clamp(32px, 7.2vw, 46px);
    line-height: 1.04;
  }

  .jp-copy {
    margin-top: 18px;
    font-size: 11px;
    line-height: 1.78;
  }

  .first-bloom {
    left: 20px;
    bottom: 24px;
    width: min(58vw, 240px);
  }

  .eyebrow {
    font-size: 10px;
  }

  .first-bloom h2 {
    margin-top: 10px;
    font-size: clamp(28px, 6vw, 40px);
  }

  .jp-name {
    margin-top: 6px;
    font-size: 11px;
  }

  .bloom-copy {
    margin-top: 12px;
    font-size: 11px;
    line-height: 1.7;
  }

  .details-link {
    margin-top: 14px;
    font-size: 10px;
    gap: 8px;
  }
}

/* ===== スマホ横：PC写真流用 ===== */
@media (max-width: 932px) and (orientation: landscape) {
  .bg-slide {
    object-position: 72% center;
  }

  .hero-overlay {
    background:
      linear-gradient(
        to right,
        rgba(232, 228, 221, 0.42) 0%,
        rgba(232, 228, 221, 0.18) 28%,
        rgba(232, 228, 221, 0.06) 52%,
        rgba(232, 228, 221, 0.00) 100%
      ),
      rgba(214, 209, 201, 0.02);
  }

  .site-header {
    top: 14px;
    left: 16px;
    right: 16px;
  }

  .logo-main {
    font-size: 24px;
  }

  .logo-sub {
    margin-top: 4px;
    font-size: 8px;
    letter-spacing: 0.16em;
  }

  .menu-wrap {
    gap: 10px;
    margin-top: 3px;
  }

  .menu-text {
    font-size: 10px;
  }

  .menu-button {
    width: 28px;
    height: 18px;
  }

  .hero-copy {
    left: 16px;
    top: 18vh;
    width: min(36vw, 210px);
  }

  .hero-copy h1 {
    font-size: clamp(22px, 3.8vw, 30px);
    line-height: 1.03;
  }

  .jp-copy {
    margin-top: 10px;
    font-size: 8px;
    line-height: 1.55;
  }

  .first-bloom {
    left: 16px;
    bottom: 14px;
    width: min(28vw, 170px);
  }

  .eyebrow {
    font-size: 7px;
  }

  .first-bloom h2 {
    margin-top: 6px;
    font-size: clamp(20px, 3vw, 26px);
  }

  .jp-name {
    margin-top: 3px;
    font-size: 8px;
  }

  .bloom-copy {
    display: none;
  }

  .details-link {
    margin-top: 8px;
    font-size: 8px;
    gap: 6px;
    padding-bottom: 4px;
  }
}
