/* ============================================================
 WOOVE - common.css
 全ページ共通スタイル
 ============================================================ */

:root {
--brand:      #11a8b8;
--brand-dark: #0d8a98;
--brand-pale: #e8f8fa;
--brand-mid:  #c2edf1;
--ink:        #0f1923;
--ink-mid:    #2d3a47;
--ink-light:  #5a6a7a;
--border:     #dde6ea;
--bg:         #ffffff;
--bg-soft:    #f7fafb;
--bg-tint:    #eef7f9;
--white:      #ffffff;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  overflow-x: clip; /* clipはスクロールコンテナを作らないためstickyを妨げない */
}
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  overflow-x: clip;
  max-width: 100%;
}

/* ===== NAV ===== */
nav {
position: fixed; top: 0; left: 0; right: 0; z-index: 100;
display: flex; align-items: center; justify-content: space-between;
padding: 10px 60px;
background: rgba(255,255,255,1);
border-bottom: 1px solid var(--border);
transition: background 0.4s, padding 0.4s, border-color 0.4s, backdrop-filter 0.4s;
}
nav2 {
z-index: 100;
display: flex; justify-content: space-between;
padding: 0px 0px;
background: rgba(255,255,255,1);
border-bottom: 1px solid var(--border);
transition: background 0.4s, padding 0.4s, border-color 0.4s, backdrop-filter 0.4s;
}

nav.scrolled {
padding: 12px 60px;
background: rgba(255,255,255,0.82);
border-bottom-color: var(--border);
backdrop-filter: blur(14px);
}
.nav-logo-img { height: 22px; width: auto; display: block; }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
color: var(--ink-light); text-decoration: none;
position: relative; padding: 4px 2px; transition: color 0.25s;
}
.nav-links a::after {
content: '';
position: absolute; bottom: 0; left: 50%; right: 50%;
height: 2px; background: var(--brand);
transition: left 0.3s cubic-bezier(0.22,1,0.36,1), right 0.3s cubic-bezier(0.22,1,0.36,1);
}
.nav-links a:hover, .nav-links a.active { color: var(--brand); }
.nav-links a:hover::after, .nav-links a.active::after { left: 0; right: 0; }
.nav-cta {
font-size: 11px; letter-spacing: 0.08em; padding: 10px 20px;
background: var(--brand); color: var(--white); text-decoration: none;
text-transform: uppercase; font-weight: 500; transition: all 0.25s;
}
.nav-cta:hover { background: var(--brand-dark); transform: translateY(-1px); }
.nav-hamburger {
  display: none;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
  width: 32px;
  height: 32px;
  position: relative;
}
.nav-hamburger span {
  display: block;
  position: absolute;
  left: 4px;
  width: 24px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  transform-origin: center;
}
.nav-hamburger span:nth-child(1) { top: 10px; }
.nav-hamburger span:nth-child(2) { top: 18px; }

/* open時：2本が中央で×に */
.nav-hamburger.open span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* モバイルオーバーレイ */
.nav-mobile-overlay {
position: fixed; inset: 0;
background: rgba(15,25,35,0.45);
z-index: 98; opacity: 0; visibility: hidden;
transition: opacity 0.35s ease, visibility 0.35s;
}
.nav-mobile-overlay.open { opacity: 1; visibility: visible; }

/* モバイルメニュー */
.nav-mobile-menu {
position: fixed; top: 0; right: 0; bottom: 0;
width: 75%; max-width: 320px;
background: var(--white); z-index: 99;
display: flex; flex-direction: column; align-items: flex-start;
justify-content: center; gap: 8px; padding: 80px 40px 60px;
transform: translateX(100%);
transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
box-shadow: -8px 0 40px rgba(15,25,35,0.12); visibility: hidden;
}
.nav-mobile-menu.open { transform: translateX(0); visibility: visible; }
.nav-mobile-menu a {
font-size: 18px; letter-spacing: 0.2em; text-transform: uppercase;
color: var(--ink); text-decoration: none; font-weight: 500;
padding: 14px 0; width: 100%; border-bottom: 1px solid var(--border);
opacity: 0; transform: translateX(16px);
transition: color 0.2s, padding-left 0.2s, opacity 0.35s, transform 0.35s;
}
.nav-mobile-menu.open a { opacity: 1; transform: translateX(0); }
.nav-mobile-menu.open a:nth-child(1) { transition-delay: 0.08s; }
.nav-mobile-menu.open a:nth-child(2) { transition-delay: 0.14s; }
.nav-mobile-menu.open a:nth-child(3) { transition-delay: 0.20s; }
.nav-mobile-menu.open a:nth-child(4) { transition-delay: 0.26s; }
.nav-mobile-menu.open a:nth-child(5) { transition-delay: 0.32s; }
.nav-mobile-menu a:hover { color: var(--brand); padding-left: 6px; }
.nav-mobile-menu .mobile-cta {
display: block;
font-size: 14px; /* 指定のサイズを維持 */
font-weight: 500;
text-align: center;
padding: 12px 10px; /* 左右の余白（10px）を削って幅を確保 */
letter-spacing: -0.02em; /* 文字間をわずかに詰め、一行に収める */
white-space: nowrap; /* 絶対に改行させない */
background: var(--brand);
color: var(--white);
margin: 20px auto;
width: 90%; /* 画面幅に対して余裕を持たせる */}
.nav-mobile-menu .mobile-cta:hover { background: var(--brand-dark); padding-left: 32px; }

/* ===== FOOTER ===== */
footer {
background: #0b6b77; color: var(--white);
padding: 56px 60px;
display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 40px;
}
.footer-tagline { font-size: 12px; color: rgba(255,255,255,0.45); letter-spacing: 0.08em; margin-bottom: 24px; }
.footer-links { display: flex; gap: 28px; list-style: none; }
.footer-links a {
font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
color: rgba(255,255,255,0.45); text-decoration: none; transition: color 0.25s;
}
.footer-links a:hover { color: var(--brand); }
.footer-right { text-align: right; }
.footer-area { font-size: 12px; color: rgba(255,255,255,0.4); line-height: 2; margin-bottom: 16px; }
.footer-copy { font-size: 11px; color: rgba(255,255,255,0.25); letter-spacing: 0.08em; }

/* ===== 共通ボタン ===== */
.btn-primary {
display: inline-block; padding: 15px 36px; min-width: 230px; min-height: 52px;
background: var(--brand); color: var(--white);
font-size: 13px; letter-spacing: 0.12em; font-weight: 500;
text-decoration: none; transition: all 0.25s;
}
.btn-primary:hover {
background: var(--brand-dark); transform: translateY(-2px);
box-shadow: 0 8px 28px rgba(17,168,184,0.28);
}
.btn-outline-brand {
display: inline-block; padding: 15px 36px; min-width: 230px; min-height: 52px;
border: 1.5px solid var(--brand); color: var(--brand);
font-size: 13px; letter-spacing: 0.12em; font-weight: 500;
text-decoration: none; background: transparent; transition: all 0.25s;
}
.btn-outline-brand:hover {
background: var(--brand); color: var(--white); transform: translateY(-2px);
box-shadow: 0 8px 28px rgba(17,168,184,0.28);
}

/* ===== 共通セクション要素 ===== */
.section-label {
font-size: 10px; letter-spacing: 0.4em; text-transform: uppercase;
color: var(--brand); margin-bottom: 12px;
display: flex; align-items: center; gap: 14px;
}
.section-label::before { content: ''; width: 28px; height: 2px; background: var(--brand); }
.section-title {
font-weight: 700; font-size: clamp(24px, 3vw, 40px);
line-height: 1.4; margin-bottom: 40px; color: var(--ink);
}

/* ===== CTA セクション ===== */
.cta-section {
padding: 100px 60px; background: var(--bg-tint);
text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
content: ''; position: absolute; top: 50%; left: 50%;
transform: translate(-50%,-50%);
width: 500px; height: 500px; border-radius: 50%;
background: radial-gradient(circle, rgba(17,168,184,0.08) 0%, transparent 70%);
}
.cta-label {
font-size: 10px; letter-spacing: 0.4em; text-transform: uppercase;
color: var(--brand); margin-bottom: 20px;
display: flex; align-items: center; gap: 14px; justify-content: center;
}
.cta-label::before, .cta-label::after { content: ''; width: 28px; height: 2px; background: var(--brand); }
.cta-title {
font-size: clamp(24px, 3.5vw, 44px); font-weight: 700;
line-height: 1.55; margin-bottom: 20px; color: var(--brand); position: relative;
}
.cta-sub { font-size: 14px; color: var(--ink-light); line-height: 2.2; margin-bottom: 44px; position: relative; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ===== スクロールリビール ===== */
.reveal {
opacity: 0; transform: translateY(28px);
transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.reveal-left {
opacity: 0; transform: translateX(-28px);
transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.reveal-right {
opacity: 0; transform: translateX(28px);
transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.reveal.visible, .reveal-left.visible, .reveal-right.visible {
opacity: 1; transform: translate(0,0);
}
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ===== ひらがな縮小 ===== */
.kana-sm { font-size: 0.82em; letter-spacing: 0.02em; vertical-align: 0.04em; }

/* ===== アニメーション ===== */
@keyframes fadeUp {
from { opacity: 0; transform: translateY(24px); }
to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
from { opacity: 0; }
to   { opacity: 1; }
}

/* ===== レスポンシブ共通 ===== */
@media (max-width: 900px) {
  nav, nav.scrolled { padding: 16px 20px; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .cta-section { padding: 72px 20px; }
  footer {
    grid-template-columns: 1fr;
    padding: 40px 20px;
    width: 100%;
  }
  .footer-right { text-align: left; }
  .footer-links { flex-wrap: wrap; gap: 16px; }
}
@media (max-width: 599px) {
  nav, nav.scrolled { padding: 14px 16px; }
  .cta-buttons { flex-direction: column; align-items: center; }
  footer { padding: 36px 16px; }
  .footer-links { flex-wrap: wrap; gap: 12px; }
  .footer-tagline { font-size: 11px; }
}
