/* =====================================================
   MIINT — SP Stylesheet  (375px base)
   ===================================================== */

/* ── Reset & Base ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  min-height: 100%;
  background-color: #e8e6e3;
  transition: background-color 0.05s linear;
}

body {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  background: transparent;
  color: #333;
  width: 100%;
  /* SP fixed width */
  min-height: 100%;
  margin: 0 auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

button {
  cursor: pointer;
}

/* ── CSS Variables ── */
:root {
  --mint: #D2F5F0;
  --mint-light: #9AE0D8;
  --mint-light2: #CDF3EE;
  --mint-blue: #ACC2D8;
  --mint-dark: #68DACD;
  --text-dark: #111111;
  --text-mid: #666666;
  --text-light: #999999;
  --bg: #FAFAF8;
  --white: #ffffff;
  --header-h: 52px;
}

/* =====================================================
   HEADER
   ===================================================== */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: var(--header-h);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  transition: background 0.4s, box-shadow 0.4s;
}

#header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.07);
}

.header-logo {
  display: flex;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

#header.header-visible .header-logo {
  opacity: 1;
  pointer-events: auto;
}

.header-logo img {
  height: 22px;
  width: auto;
  display: block;
}

/* Hamburger */
.menu-btn {
  background: none;
  border: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 8px;
}

.menu-btn span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--text-dark);
}

/* =====================================================
   MENU OVERLAY  (full screen)
   ===================================================== */
.menu-overlay {
  position: fixed;
  inset: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 375px;
  z-index: 200;
  background: var(--white);
  display: flex;
  flex-direction: column;
  padding: 28px 24px 40px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.35s ease, visibility 0s linear 0.35s;
  overflow-y: auto;
}

.menu-overlay.open {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.35s ease, visibility 0s linear 0s;
}

/* Menu header row */
.menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 48px;
}

.menu-logo {
  display: flex;
  align-items: center;
}

.menu-logo img {
  height: 20px;
  width: auto;
  display: block;
}

.menu-close-btn {
  background: none;
  border: none;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Nav items */
.menu-nav {
  display: flex;
  flex-direction: column;
  margin-bottom: 40px;
}

.menu-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 4px;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 300;
  font-size: 18px;
  letter-spacing: 0.2em;
  color: var(--text-dark);
  border-bottom: 1px solid #e8e8e8;
}

.menu-nav a:first-child {
  border-top: 1px solid #e8e8e8;
}

.menu-nav a .arrow {
  font-size: 14px;
  color: var(--text-mid);
}

.menu-nav-coming {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 4px;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 300;
  font-size: 18px;
  letter-spacing: 0.2em;
  color: var(--text-dark);
  border-bottom: 1px solid #e8e8e8;
  opacity: 0.35;
  cursor: default;
}

.menu-nav-coming .arrow {
  font-size: 14px;
  color: var(--text-mid);
}

/* CTA */
.menu-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(90deg, var(--mint-dark) 0%, var(--mint-blue) 100%);
  color: var(--white);
  padding: 18px 24px;
  border-radius: 50px;
  font-size: 14px;
  letter-spacing: 0.1em;
  margin-bottom: 36px;
}

/* Social icons */
.menu-social {
  display: flex;
  gap: 24px;
  justify-content: center;
}

.menu-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--text-dark);
  opacity: 0.75;
}

.menu-social svg {
  width: 22px;
  height: 22px;
}

/* =====================================================
   HERO / KV
   ===================================================== */
.hero {
  position: relative;
  width: 100%;
  padding-top: var(--header-h);
  overflow: hidden;
  background: #e8e6e3;
}

.kv-slider {
  position: relative;
}

/* 非アクティブ: absolute で重ねてフェードアウト（高さに影響しない） */
.kv-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.6s ease-in-out, visibility 0s linear 1.6s;
}

/* アクティブ: relative でフロー内に置き、高さを決める */
.kv-slide.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transition: opacity 1.6s ease-in-out, visibility 0s linear 0s;
}

.kv-slide img {
  width: 100%;
  height: auto;
  display: block;
}

/* SCROLL indicator */
.scroll-indicator {
  position: absolute;
  bottom: 11px;
  right: 39px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  z-index: 10;
}

.scroll-label {
  writing-mode: vertical-rl;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-dark);
}

.scroll-line {
  position: relative;
  width: 1px;
  height: 102px;
  background: var(--text-dark);
  animation: scrollDown 2.2s ease-in-out infinite;
  transform-origin: top;
}

.scroll-line::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 20px;
  height: 1px;
  background: var(--text-dark);
  transform-origin: left center;
  transform: rotate(-45deg);
}

@keyframes scrollDown {
  0% {
    transform: scaleY(0);
    opacity: 0;
    transform-origin: top;
  }

  45% {
    transform: scaleY(1);
    opacity: 1;
  }

  46% {
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(0);
    opacity: 0;
    transform-origin: bottom;
  }
}

/* =====================================================
   MAIN CONTENT
   ===================================================== */
#mainContent {
  background: transparent;
}

/* ── Letter Section ── */
.letter-section {
  padding: 60px 0 56px;
}

.letter-container {
  padding: 0 24px;
}

.letter-lead {
  font-size: 14px;
  font-weight: 400;
  line-height: 2.1;
  margin-bottom: 40px;
  color: var(--text-dark);
}

.letter-body {
  font-size: 13.5px;
  font-weight: 400;
  line-height: 2.5;
  color: var(--text-mid);
  margin-bottom: 22px;
}

.letter-quote {
  padding: 22px 20px;
  border-left: 3px solid var(--mint);
  background: #f5fdfb;
  color: var(--text-dark);
  margin: 28px 0;
}

.letter-sign {
  margin-top: 36px;
  font-size: 13px;
  color: var(--text-dark);
}

/* ── Social Row ── */
.social-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin: 48px 0 36px;
}

.social-row a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--text-dark);
  opacity: 0.7;
}

.social-row svg {
  width: 20px;
  height: 20px;
}

/* ── CTA Area ── */
.cta-area {
  text-align: center;
  padding: 0 0 60px;
}

.cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(90deg, var(--mint-dark) 0%, var(--mint-blue) 100%);
  color: var(--white);
  padding: 18px 24px;
  border-radius: 50px;
  font-size: 14px;
  letter-spacing: 0.1em;
  width: 100%;
  max-width: 327px;
  margin: 0 auto;
  box-shadow: 0 4px 18px rgba(109, 207, 196, 0.35);
}

.cta-sub {
  margin-top: 14px;
  font-size: 11px;
  color: var(--text-light);
}

/* ── Campaign Section ── */
.campaign-section {
  padding: 0 0 56px;
}

.campaign-inner {
  padding: 0 16px;
}

.campaign-link {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  transition: opacity 0.25s;
}

.campaign-link:hover {
  opacity: 0.88;
}

.campaign-link img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── Blog Section ── */
.blog-section {
  padding: 48px 0 72px;
  background: transparent;
}

.blog-inner {
  padding: 0 16px;
}

.blog-header-row {
  margin-bottom: 28px;
}

.blog-title-en {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 300;
  font-size: 28px;
  letter-spacing: 0.2em;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.blog-subtitle-ja {
  font-size: 11px;
  font-weight: 300;
  color: var(--text-mid);
}

.blog-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.blog-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.blog-empty {
  color: var(--text-light);
  font-size: 13px;
  letter-spacing: 0.1em;
  padding: 20px 0;
}

.blog-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
}

.blog-card-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.blog-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-card-body {
  padding: 16px 18px 20px;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.blog-card-date {
  font-size: 10px;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  letter-spacing: 0.1em;
  color: var(--text-light);
}

.blog-card-cat {
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--mint);
  border: 1px solid var(--mint);
  border-radius: 50px;
  padding: 2px 8px;
  white-space: nowrap;
}

.blog-card-title {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.85;
  color: var(--text-dark);
}

.blog-more-wrap {
  text-align: center;
  margin-top: 36px;
}

.blog-more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 13px 36px;
  border: 1px solid var(--text-dark);
  border-radius: 50px;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--text-dark);
}

/* =====================================================
   FOOTER
   ===================================================== */
footer {
  background: transparent;
  padding: 0 24px 36px;
  text-align: center;
}

.footer-rule {
  border: none;
  border-top: 1px solid rgba(0, 0, 0, 0.18);
  margin: 0 0 40px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-logo {
  display: flex;
  justify-content: center;
}

.footer-logo img {
  height: 36px;
  width: auto;
  display: block;
}

.footer-nav {
  display: flex;
  gap: 4px;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 11px;
  font-weight: 300;
  color: var(--text-mid);
}

.footer-nav .sep {
  font-size: 11px;
  color: var(--text-light);
}

.footer-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--text-dark);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.15em;
  color: var(--text-dark);
  transition: color 0.2s, border-color 0.2s;
}

.footer-contact-btn:hover {
  color: var(--mint);
  border-color: var(--mint);
}

.footer-copy {
  font-size: 10px;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  color: var(--text-light);
  letter-spacing: 0.05em;
}

/* ── Price Section ── */
.price-section {
  padding: 48px 0 64px;
  text-align: center;
}

.price-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 0 24px;
}

.price-lead {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 2;
  letter-spacing: 0.06em;
}

.price-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(90deg, var(--mint-dark) 0%, var(--mint-blue) 100%);
  color: var(--white);
  padding: 16px 40px;
  border-radius: 50px;
  font-size: 14px;
  letter-spacing: 0.12em;
  box-shadow: 0 4px 18px rgba(109, 207, 196, 0.35);
}

/* ── Share buttons ── */
.share-btns {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 40px 0 32px;
}

.share-btn {
  display: block;
  text-align: center;
  padding: 13px 20px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--text-dark);
  background: rgba(255, 255, 255, 0.6);
}

/* =====================================================
   SIDE BANNER（右下固定・事前登録）
   ===================================================== */
.side-banner {
  position: fixed;
  bottom: 24px;
  right: 20px;
  width: 112px;
  height: 112px;
  z-index: 90;
  display: block;
  text-decoration: none;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
  will-change: transform, opacity;
}

.side-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.side-banner-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: sideBannerSpin 9s linear infinite;
  transform-origin: center center;
  pointer-events: none;
}

.side-banner-main {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68%;
  height: 68%;
  object-fit: contain;
  border-radius: 50%;
  transition: transform 0.3s ease;
  pointer-events: none;
}

@keyframes sideBannerSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}