/* =========================================================
   CLEAN WAVE — minimal / editorial style
   色や余白は :root の変数で調整できます
   ========================================================= */
:root {
  --bg: #ffffff;
  --bg-alt: #f5f6f7;
  --ink: #111111;
  --muted: #6f7378;
  --line: #e3e5e8;
  --accent: #0b6fe0;
  --en: "Inter", "Noto Sans JP", sans-serif;
  --ja: "Noto Sans JP", "Inter", sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --header: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--ja);
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { padding: 0 var(--gutter); max-width: 1600px; margin: 0 auto; }
.pc { display: none; }
@media (min-width: 900px) { .pc { display: inline; } }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gutter);
}
/* 背景のぼかしは疑似要素に付ける（header自体に付けると、中の全画面メニューがヘッダー内に閉じ込められるため） */
.header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  opacity: 0; transition: opacity .3s;
}
.header.is-scrolled::before { opacity: 1; }
.menu-open .header::before { opacity: 0; }
.brand { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 10px; font-family: var(--en); font-weight: 600; font-size: 15px; letter-spacing: .08em; }
.brand img { width: 44px; height: auto; }

.nav { display: flex; gap: clamp(18px, 2.2vw, 36px); font-family: var(--en); font-size: 13px; letter-spacing: .04em; }
.nav a { position: relative; padding: 4px 0; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.menu-btn { display: none; }

@media (max-width: 899px) {
  :root { --header: 60px; }
  .menu-btn { display: grid; gap: 7px; width: 44px; height: 44px; place-content: center; margin-right: -10px; position: relative; z-index: 2; }
  .menu-btn span { display: block; width: 24px; height: 1.5px; background: var(--ink); transition: transform .35s var(--ease); }
  .menu-open .menu-btn span:first-child { transform: translateY(4.25px) rotate(45deg); }
  .menu-open .menu-btn span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
  .nav {
    position: fixed; inset: 0; background: var(--bg);
    flex-direction: column; justify-content: center; gap: 6px;
    padding: 0 var(--gutter); font-size: 34px; font-weight: 500; letter-spacing: -.01em;
    opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
  }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .menu-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero { padding-top: calc(var(--header) + clamp(48px, 9vw, 140px)); }
.hero-label { font-family: var(--en); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: clamp(20px, 3vw, 40px); }
.hero-title {
  font-size: clamp(44px, 8.4vw, 132px);
  font-weight: 500; line-height: 1.12; letter-spacing: -.02em;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line { animation: rise 1.1s var(--ease) both; }
.hero-title .line:nth-child(2) { animation-delay: .12s; }
.hero-title .line:nth-child(3) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(40%); } to { opacity: 1; transform: none; } }

.hero-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-top: clamp(32px, 5vw, 72px); padding-bottom: clamp(40px, 6vw, 80px); }
.hero-lead { font-size: clamp(14px, 1.2vw, 16px); color: var(--ink); max-width: 36em; }
.hero-catch { display: block; margin-bottom: 12px; font-size: clamp(19px, 1.9vw, 26px); font-weight: 500; line-height: 1.5; letter-spacing: .04em; color: var(--ink); }
.scroll { font-family: var(--en); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.scroll span { display: inline-block; animation: bob 2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(4px); } }

/* 元画像の文字部分を避け、下側（海と砂浜）だけを見せる */
.sea { position: relative; overflow: hidden; height: clamp(200px, 26vw, 420px); background: #cfe6f7; }
.sea img {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  height: 282%; width: auto; min-width: 100%; max-width: none;
  object-fit: cover; object-position: 50% 100%;
}

/* ---------- Section ---------- */
.section { padding: clamp(80px, 11vw, 160px) 0; border-top: 1px solid var(--line); }
.section-alt { background: var(--bg-alt); border-top: 0; }
.sec-head {
  display: grid; grid-template-columns: 1fr; gap: 8px;
  margin-bottom: clamp(32px, 5vw, 64px);
}
.sec-label { font-family: var(--en); font-size: 13px; letter-spacing: .06em; display: flex; gap: 14px; color: var(--muted); }
.sec-label span { color: var(--ink); }
.sec-title { font-size: clamp(30px, 4.2vw, 60px); font-weight: 500; line-height: 1.25; letter-spacing: -.01em; }
.sec-lead { max-width: 40em; margin: calc(clamp(32px, 5vw, 64px) * -0.5) 0 clamp(32px, 5vw, 56px); color: var(--muted); }

@media (min-width: 900px) {
  .sec-head { grid-template-columns: 3fr 9fr; align-items: baseline; }
  .sec-lead { margin-left: 25%; }
  .stats, .stats-note, .about, .cta-box, .news, .sns, .contact-mail { margin-left: 25%; }
}

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--ink); }
@media (min-width: 700px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 20px 16px 24px 0; border-bottom: 1px solid var(--line); }
.stat-num { font-family: var(--en); font-size: clamp(36px, 4.4vw, 64px); font-weight: 300; line-height: 1.1; letter-spacing: -.02em; }
.stat-num small { font-size: .32em; font-weight: 400; margin-left: 6px; letter-spacing: 0; }
.stat-label { font-size: 13px; color: var(--muted); margin-top: 8px; }
.stats-note { font-size: 12px; color: var(--muted); margin-top: 12px; }

/* ---------- About ---------- */
.about { display: grid; gap: 40px; }
@media (min-width: 1100px) { .about { grid-template-columns: 1fr 1fr; gap: 64px; } }
.about-statement { font-size: clamp(24px, 2.8vw, 40px); font-weight: 500; line-height: 1.5; letter-spacing: -.01em; }
.about-body > p { margin-bottom: 40px; }
.about-list { border-top: 1px solid var(--ink); }
.about-list div { display: grid; grid-template-columns: 7.5em 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.about-list dt { font-family: var(--en); color: var(--muted); }

.cta-box {
  display: grid; gap: 28px; align-items: end; padding: clamp(28px, 4vw, 48px);
  background: var(--ink); color: #fff;
}
@media (min-width: 900px) { .cta-box { grid-template-columns: 1fr auto; gap: 48px; } }
.cta-label { font-family: var(--en); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; opacity: .6; }
.cta-title { font-size: clamp(20px, 2.2vw, 30px); font-weight: 500; margin: 8px 0 12px; line-height: 1.5; }
.cta-text { font-size: 14px; opacity: .75; max-width: 40em; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; white-space: nowrap;
  padding: 14px 28px; border: 1px solid currentColor; border-radius: 999px; font-size: 14px;
  transition: background .3s, color .3s;
}
.cta-box .btn:hover { background: #fff; color: var(--ink); }

/* ---------- News ---------- */
.news { border-top: 1px solid var(--ink); }
.news-item { display: grid; grid-template-columns: 5.5em 1fr; gap: 4px 20px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.news-item time { font-family: var(--en); font-size: 13px; color: var(--muted); }
.news-tag { font-family: var(--en); font-size: 11px; letter-spacing: .06em; justify-self: start; padding: 1px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); }
.news-item p { grid-column: 2; }
@media (min-width: 700px) {
  .news-item { grid-template-columns: 6em 8em 1fr; }
  .news-item p { grid-column: auto; }
}

/* ---------- SNS ---------- */
.sns { border-top: 1px solid var(--ink); }
.sns-row {
  position: relative; display: grid; align-items: center;
  grid-template-columns: 40px 1fr auto; grid-template-areas: "icon label arrow" "icon handle arrow" ". text text";
  gap: 2px 16px; padding: 24px 12px; border-bottom: 1px solid var(--line);
  overflow: hidden; isolation: isolate; transition: color .4s var(--ease);
}
.sns-row::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink);
  transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease);
}
.sns-row:hover { color: #fff; }
.sns-row:hover::before { transform: scaleY(1); }
.sns-icon { grid-area: icon; width: 28px; height: 28px; }
.sns-icon svg { width: 100%; height: 100%; }
.sns-label { grid-area: label; font-family: var(--en); font-size: 12px; letter-spacing: .08em; color: var(--muted); transition: color .4s; }
.sns-row:hover .sns-label, .sns-row:hover .sns-text { color: rgba(255,255,255,.7); }
.sns-handle { grid-area: handle; font-family: var(--en); font-size: clamp(18px, 2.6vw, 36px); font-weight: 500; letter-spacing: -.01em; line-height: 1.3; word-break: break-all; }
.sns-text { grid-area: text; font-size: 13px; color: var(--muted); margin-top: 6px; transition: color .4s; }
.sns-arrow { grid-area: arrow; font-size: 24px; transition: transform .4s var(--ease); }
.sns-row:hover .sns-arrow { transform: translate(4px, -4px); }
@media (min-width: 900px) {
  .sns-row { grid-template-columns: 40px 8em 1fr 16em 40px; grid-template-areas: "icon label handle text arrow"; padding: 32px 16px; }
  .sns-text { margin-top: 0; }
}

/* ---------- Contact ---------- */
.contact-mail {
  display: inline-flex; align-items: center; gap: .4em; flex-wrap: wrap;
  font-family: var(--en); font-size: clamp(20px, 3.6vw, 52px); font-weight: 500; letter-spacing: -.02em; line-height: 1.3;
  border-bottom: 1px solid var(--ink); padding-bottom: 8px; word-break: break-all;
  transition: color .3s, border-color .3s;
}
.contact-mail:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #fff; padding: clamp(64px, 8vw, 112px) 0 32px; }
.footer .brand img { filter: brightness(0) invert(1); }
.footer-top { display: grid; gap: 20px; padding-bottom: 48px; }
.footer-copy { font-size: 14px; opacity: .7; }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding: 40px 0; border-top: 1px solid rgba(255,255,255,.18); }
.footer-cols nav { display: flex; flex-direction: column; gap: 6px; font-family: var(--en); font-size: 14px; }
.footer-cols a { opacity: .85; transition: opacity .2s; justify-self: start; }
.footer-cols a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.footer-h { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; opacity: .5; margin-bottom: 8px; }
.footer-bottom { display: flex; justify-content: space-between; font-family: var(--en); font-size: 12px; opacity: .6; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.18); }
@media (min-width: 900px) {
  .footer-top { grid-template-columns: 3fr 9fr; align-items: start; }
  .footer-cols { grid-template-columns: 3fr 3fr 6fr; }
  .footer-cols nav:first-child { grid-column: 2; }
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
