/* =====================================================
   MIINT — PC Stylesheet  (min-width: 1280px)
   ===================================================== */

/* ── 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;
  min-width: 1280px;
  min-height: 100%;
  -webkit-font-smoothing: antialiased;
}

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: 64px;
}

/* =====================================================
   HEADER
   ===================================================== */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: transparent;
}

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

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

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

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

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

.menu-btn:hover span {
  background: var(--mint);
}

/* =====================================================
   SOCIAL SIDEBAR (fixed right)
   ===================================================== */
.social-sidebar {
  position: absolute;
  right: 0;
  top: 42%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 20px 90px;
}

.social-sidebar a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: var(--text-dark);
  opacity: 0.7;
  transition: opacity 0.2s;
  margin-bottom: 26px;
}

.social-sidebar a:hover {
  opacity: 1;
}

.social-sidebar svg {
  width: 48px;
  height: 48px;
}

/* =====================================================
   MENU OVERLAY
   ===================================================== */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0s linear 0.45s;
}

.menu-overlay.open {
  visibility: visible;
  pointer-events: auto;
  transition: visibility 0s linear 0s;
}

/* Blurred KV background (left 60%) */
.menu-bg {
  flex: 1;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.menu-bg::before {
  content: '';
  position: absolute;
  inset: -30px;
  background: url('../docs/PC/MIINT-KV1-PC_260401.png') center / cover no-repeat;
  filter: blur(14px) brightness(0.75);
}

.menu-overlay.open .menu-bg {
  opacity: 1;
}

/* Right panel */
.menu-panel {
  width: 420px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  padding: 48px 48px 40px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-overlay.open .menu-panel {
  transform: translateX(0);
}

.menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 56px;
}

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

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

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

.menu-close-btn:hover {
  opacity: 0.5;
}

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

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

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

.menu-nav a:hover {
  color: var(--mint);
}

.menu-nav a .arrow {
  font-size: 13px;
}

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

.menu-nav-coming .arrow {
  font-size: 13px;
}

/* CTA button in menu */
.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: 17px 28px;
  border-radius: 50px;
  font-size: 14px;
  letter-spacing: 0.1em;
  margin-bottom: 32px;
  box-shadow: 0 4px 20px rgba(109, 207, 196, 0.35);
  transition: opacity 0.25s, transform 0.25s;
}

.menu-cta:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

.menu-cta:hover .btn-arrow {
  transform: translateX(6px);
}

/* Social icons in menu */
.menu-social {
  display: flex;
  gap: 18px;
  justify-content: center;
  margin-top: auto;
}

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

.menu-social a:hover {
  opacity: 1;
}

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

/* =====================================================
   HERO / KV
   ===================================================== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #e8e4da;
}

.kv-slider {
  position: absolute;
  inset: 0;
}

.kv-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  /* opacity が 0 になり切ってから visibility を hidden に */
  transition: opacity 1.6s ease-in-out, visibility 0s linear 1.6s;
}

.kv-slide.active {
  opacity: 1;
  visibility: visible;
  /* active になった瞬間に visibility を visible に */
  transition: opacity 1.6s ease-in-out, visibility 0s linear 0s;
}

.kv-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

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

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

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

.scroll-line::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 38px;
  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: 100px 0 80px;
}

.letter-container {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 40px;
}

.letter-lead {
  font-size: 16px;
  font-weight: 400;
  line-height: 2.0;
  margin-bottom: 48px;
  color: var(--text-dark);
}

.letter-body {
  font-size: 15px;
  font-weight: 350;
  line-height: 2.5;
  color: var(--text-dark);
  margin-bottom: 24px;
}

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

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

/* ── Share Buttons ── */
.share-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-bottom: 36px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid #d8d8d8;
  border-radius: 50px;
  padding: 11px 22px;
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--text-dark);
  transition: border-color 0.2s, background 0.2s;
}

.share-btn:hover {
  border-color: var(--mint);
  background: #f5fdfb;
}

.share-btn svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* ── Social Row (in content) ── */
.social-row {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin: 56px 0 40px;
}

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

.social-row a:hover {
  opacity: 1;
  color: var(--mint);
}

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

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

.btn-arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(90deg, var(--mint-dark) 0%, var(--mint-blue) 100%);
  color: var(--white);
  padding: 18px 52px;
  border-radius: 50px;
  font-size: 15px;
  letter-spacing: 0.12em;
  transition: opacity 0.25s, transform 0.25s;
  box-shadow: 0 4px 20px rgba(109, 207, 196, 0.35);
}

.cta-btn:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

.cta-btn:hover .btn-arrow {
  transform: translateX(6px);
}

.cta-sub {
  margin-top: 14px;
  font-size: 12px;
  color: var(--text-light);
  letter-spacing: 0.05em;
}

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

.campaign-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.campaign-link {
  display: block;
  border-radius: 12px;
  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: 80px 0 100px;
  background: transparent;
}

.blog-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  gap: 72px;
  align-items: flex-start;
}

/* 左カラム: セクションヘッダー */
.blog-header-col {
  width: 240px;
  flex-shrink: 0;
  padding-top: 4px;
}

.blog-title-en {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 300;
  font-size: 22px;
  letter-spacing: 0.2em;
  line-height: 1.25;
  color: var(--text-dark);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.blog-title-en::after {
  content: '';
  display: block;
  flex: 1;
  height: 1px;
  background: var(--mint);
  min-width: 16px;
}

.blog-subtitle-ja {
  font-size: 12px;
  font-weight: 300;
  color: var(--text-mid);
  letter-spacing: 0.06em;
  line-height: 1.8;
  margin-bottom: 32px;
}

.more-blog-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(90deg, var(--mint-dark) 0%, var(--mint-blue) 100%);
  color: var(--white);
  padding: 18px 52px;
  border-radius: 50px;
  font-size: 15px;
  letter-spacing: 0.12em;
  transition: opacity 0.25s, transform 0.25s;
  box-shadow: 0 4px 20px rgba(109, 207, 196, 0.35);
}

.more-blog-btn:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.more-blog-btn:hover .btn-arrow {
  transform: translateX(6px);
}

/* 右エリア: ブログカード2枚 縦積み */
.blog-grid {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.blog-card-link {
  display: flex;
  flex-direction: row;
  text-decoration: none;
  color: inherit;
  width: 100%;
  height: 100%;
}

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

.blog-card {
  display: flex;
  flex-direction: row;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(4px);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 140px;
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

/* 左: サムネイル画像 */
.blog-card-thumb {
  width: 30%;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}

.blog-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-thumb img {
  transform: scale(1.06);
}

/* 右: テキスト */
.blog-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 28px;
}

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

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

.blog-card-cat {
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.12em;
  color: var(--text-mid);
  background-color: var(--mint-light2);
  border: 1px solid var(--mint-light2);
  border-radius: 50px;
  padding: 2px 10px;
  white-space: nowrap;
}

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

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

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

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

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

.price-btn:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

.price-btn:hover .btn-arrow {
  transform: translateX(6px);
}

.price-btn-arrow {
  font-size: 18px;
  letter-spacing: 0;
  opacity: 0.85;
}

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

/* 罫線 */
.footer-rule {
  border: none;
  border-top: 1px solid rgba(0, 0, 0, 0.18);
  margin: 0 0 52px;
}

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

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

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

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

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

.footer-nav a:hover {
  color: var(--mint);
}

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

/* お問い合わせボタン */
.footer-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px;
  border-bottom: 1px solid var(--text-dark);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.18em;
  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: 11px;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  color: var(--text-light);
  letter-spacing: 0.06em;
}

/* =====================================================
   SIDE BANNER（右下固定・事前登録）
   ===================================================== */
.side-banner {
  position: fixed;
  bottom: 36px;
  right: 36px;
  width: 156px;
  height: 156px;
  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:hover .side-banner-main {
  transform: translate(-50%, -50%) scale(1.06);
}

.side-banner:hover .side-banner-ring {
  animation-duration: 4s;
}

/* 回転リング */
.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);
  }
}