/* umizu 紹介ページ
   配色は海図から取る。夜の海＝深い紺、等深線＝白〜水色、自船＝オレンジ。
   アプリ本体（css/app.css の helm スキン）と地続きに見えることを優先する。 */

:root {
  --deep:    #061A2C;   /* 最も深い海 */
  --ink:     #0B2740;   /* アプリのバー色 */
  --line:    #2E86C8;   /* 等深線 */
  --shoal:   #7FC4E8;   /* 浅場 */
  --cyan:    #23D5F0;   /* ロゴの波 */
  --signal:  #FF6B35;   /* 自船・記録 */
  --paper:   #F2F7FB;
  --paper-d: #B9CBDC;

  --font-en: "Chakra Petch", "Yu Gothic UI", sans-serif;
  --font-ja: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic UI", sans-serif;

  --pad: clamp(20px, 5vw, 64px);
  --maxw: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--deep);
  color: var(--paper);
  font-family: var(--font-ja);
  font-weight: 400;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

/* ========== 起動演出 ========== */
.loader {
  position: fixed; inset: 0; z-index: 100;
  background: var(--ink);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .6s ease, visibility .6s ease;
}
.loader.done { opacity: 0; visibility: hidden; }
.loader-inner { text-align: center; width: min(300px, 70vw); }
.loader-wave { width: 108px; height: 27px; color: var(--cyan); margin: 0 auto 10px; }
.loader-wave path { stroke-dasharray: 220; stroke-dashoffset: 220; animation: draw 1.1s ease .15s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.loader-name {
  margin: 0; font-family: var(--font-en); font-size: 44px; font-weight: 700;
  letter-spacing: .04em; text-shadow: 0 0 20px rgba(35,213,240,.45);
  opacity: 0; animation: fadeUp .7s ease .2s forwards;
}
.loader-gauge {
  margin: 22px auto 10px; height: 2px; background: rgba(242,247,251,.16);
  opacity: 0; animation: fadeUp .5s ease .5s forwards;
}
.loader-bar { display: block; height: 100%; width: 0; background: var(--cyan); }
.loader-depth {
  margin: 0; font-family: var(--font-en); font-size: 26px; font-weight: 600;
  color: var(--shoal); letter-spacing: .02em;
  opacity: 0; animation: fadeUp .5s ease .5s forwards;
}
.loader-depth i { font-style: normal; font-size: 14px; margin-left: 2px; opacity: .7; }
.loader-label {
  margin: 2px 0 0; font-family: var(--font-en); font-size: 11px; font-weight: 600;
  letter-spacing: .42em; color: rgba(242,247,251,.45);
  opacity: 0; animation: fadeUp .5s ease .7s forwards;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ========== ヒーロー ========== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(72px, 12vh, 120px) var(--pad) clamp(48px, 8vh, 80px);
  background:
    radial-gradient(120% 80% at 50% 0%, #0E3557 0%, var(--deep) 62%),
    var(--deep);
  overflow: hidden;
}
.hero-chart { position: absolute; inset: 0; opacity: .5; }
.hero-chart svg { width: 100%; height: 100%; }
.hero-chart path, .hero-chart ellipse {
  fill: none; stroke: var(--line); stroke-width: 1.4;
}
.hero-chart .c1 { opacity: .5; animation: drift 34s ease-in-out infinite alternate; }
.hero-chart .c2 { opacity: .38; animation: drift 46s ease-in-out infinite alternate-reverse; }
.hero-chart .c3 { opacity: .26; animation: drift 58s ease-in-out infinite alternate; }
.hero-chart .shoal { opacity: .34; stroke: var(--shoal); animation: drift 40s ease-in-out infinite alternate-reverse; }
@keyframes drift { from { transform: translate3d(-14px, 6px, 0); } to { transform: translate3d(18px, -8px, 0); } }

.hero-inner {
  position: relative; z-index: 1;
  width: 100%; max-width: 760px; text-align: center;
}
.hero-eyebrow {
  margin: 0 0 clamp(34px, 7vh, 60px);
  font-family: var(--font-en); font-weight: 600;
  font-size: clamp(10px, 2.6vw, 12px); letter-spacing: .38em;
  color: var(--shoal); text-transform: uppercase;
  opacity: 0; animation: fadeUp .8s ease var(--in, .1s) forwards;
}

/* --- 羅針図 --- */
.rose {
  position: relative;
  width: min(380px, 76vw); aspect-ratio: 1;
  margin: 0 auto clamp(46px, 8vh, 64px);
  opacity: 0; animation: roseIn 1.1s cubic-bezier(.2,.7,.2,1) .25s forwards;
}
@keyframes roseIn { from { opacity: 0; transform: scale(.86) rotate(-14deg); } to { opacity: 1; transform: none; } }
.rose-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.rose-ring { fill: none; stroke: rgba(127,196,232,.34); stroke-width: 1; }
.rose-ring.thin { stroke: rgba(127,196,232,.16); stroke-dasharray: 2 7; }
.rose-legend {
  font-family: var(--font-en); font-size: 12.5px; font-weight: 600;
  letter-spacing: .18em; fill: rgba(242,247,251,.55);
  transform-origin: 200px 200px;
  animation: spin 90s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.rose-star path { fill: rgba(242,247,251,.9); }
.rose-star .minor { fill: rgba(127,196,232,.35); }
.rose-star { filter: drop-shadow(0 0 18px rgba(35,213,240,.28)); }

.rose-core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 33%; aspect-ratio: 1; border-radius: 50%;
  background: var(--signal);
  color: #fff; text-decoration: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px;
  box-shadow: 0 0 0 7px rgba(6,26,44,.85), 0 0 0 8px rgba(255,107,53,.35), 0 14px 40px rgba(0,0,0,.45);
  transition: transform .25s ease, box-shadow .25s ease;
}
.rose-core:hover { transform: translate(-50%, -50%) scale(1.06); box-shadow: 0 0 0 7px rgba(6,26,44,.85), 0 0 0 11px rgba(255,107,53,.55), 0 18px 48px rgba(0,0,0,.5); }
.rose-core-label { font-size: clamp(12.5px, 3.2vw, 15px); font-weight: 700; line-height: 1.3; }
.rose-core-sub {
  font-family: var(--font-en); font-size: clamp(7px, 1.7vw, 8.5px);
  letter-spacing: .04em; opacity: .8;
}

.arm {
  position: absolute; text-decoration: none;
  display: flex; flex-direction: column; align-items: center; line-height: 1.25;
  color: var(--paper); transition: color .2s ease;
}
.arm b {
  font-family: var(--font-en); font-size: 11px; font-weight: 700;
  letter-spacing: .2em; color: var(--shoal);
}
.arm span { font-size: clamp(12px, 3vw, 14px); font-weight: 500; }
.arm:hover { color: var(--cyan); }
.arm-n { left: 50%; top: -13%; transform: translateX(-50%); }
.arm-s { left: 50%; bottom: -13%; transform: translateX(-50%); }
.arm-w { left: -6%; top: 50%; transform: translate(-100%, -50%); }
.arm-e { right: -6%; top: 50%; transform: translate(100%, -50%); }

.hero-title {
  margin: 0 0 14px;
  font-size: clamp(26px, 6.4vw, 46px); font-weight: 900; line-height: 1.45;
  letter-spacing: .01em;
  opacity: 0; animation: fadeUp .8s ease .8s forwards;
}
.hero-lead {
  margin: 0 auto; max-width: 34em;
  font-size: clamp(13px, 3.4vw, 15.5px); color: var(--paper-d);
  opacity: 0; animation: fadeUp .8s ease .95s forwards;
}
.hero-note {
  margin: 10px auto 0; max-width: 34em;
  font-size: clamp(11.5px, 3vw, 13px); color: rgba(185,203,220,.72);
  opacity: 0; animation: fadeUp .8s ease 1.05s forwards;
}
.hero-scroll {
  margin: clamp(28px, 6vh, 52px) 0 0;
  opacity: 0; animation: fadeUp .8s ease 1.2s forwards;
}
.hero-scroll span {
  font-family: var(--font-en); font-size: 10px; font-weight: 600;
  letter-spacing: .4em; color: rgba(242,247,251,.4);
}
.hero-scroll::after {
  content: ""; display: block; width: 1px; height: 44px; margin: 10px auto 0;
  background: linear-gradient(rgba(127,196,232,.7), transparent);
}

/* ========== 流れる帯 ========== */
.marquee {
  border-top: 1px solid rgba(127,196,232,.2);
  border-bottom: 1px solid rgba(127,196,232,.2);
  background: rgba(11,39,64,.6);
  overflow: hidden; padding: 11px 0;
}
.marquee-track {
  display: flex; align-items: center; gap: 26px; width: max-content;
  animation: slide 46s linear infinite;
}
.marquee-track span {
  font-family: var(--font-en); font-weight: 600; font-size: 12px;
  letter-spacing: .26em; color: rgba(242,247,251,.62); white-space: nowrap;
}
.marquee-track i { color: var(--signal); font-size: 8px; font-style: normal; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ========== 機能 ========== */
.feature { padding: clamp(64px, 12vh, 132px) var(--pad); }
.feature.alt { background: linear-gradient(180deg, rgba(11,39,64,.55), rgba(11,39,64,0)); }
.feature-grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 6vw, 80px); align-items: center;
}
.feature.alt .shot { order: 2; }

.phone {
  width: min(280px, 74vw); margin: 0 auto;
  border-radius: 30px; padding: 8px;
  background: linear-gradient(160deg, #24384c, #0d1b26);
  box-shadow: 0 26px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(127,196,232,.16);
}
.phone img { border-radius: 23px; }
.phone.small { width: min(220px, 62vw); }

.bearing {
  margin: 0 0 14px; display: flex; align-items: center; gap: 10px;
  font-family: var(--font-en); font-size: 12px; font-weight: 600; letter-spacing: .3em;
  color: var(--shoal);
}
.bearing b {
  display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid rgba(127,196,232,.45);
  font-size: 12px; color: var(--paper); letter-spacing: 0;
}
.feature-text h2 {
  margin: 0 0 16px;
  font-size: clamp(21px, 4.6vw, 33px); font-weight: 900; line-height: 1.5;
}
.feature-text > p {
  margin: 0 0 22px; color: var(--paper-d);
  font-size: clamp(13.5px, 3.2vw, 15.5px);
}
.spec { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(127,196,232,.18); }
.spec li {
  padding: 11px 0; border-bottom: 1px solid rgba(127,196,232,.18);
  font-size: clamp(12.5px, 3vw, 14px); line-height: 1.7; color: var(--paper-d);
}
.spec b {
  display: inline-block; min-width: 6.2em; margin-right: 10px;
  font-weight: 700; color: var(--paper); font-size: .92em;
}

/* ========== 見返す ========== */
.review { padding: clamp(64px, 12vh, 132px) var(--pad); background: rgba(11,39,64,.5); }
.review-inner { max-width: 860px; margin: 0 auto; text-align: center; }
.review-inner h2 { margin: 0 0 14px; font-size: clamp(21px, 4.6vw, 33px); font-weight: 900; line-height: 1.5; }
.review-inner > p { margin: 0 auto; max-width: 34em; color: var(--paper-d); font-size: clamp(13.5px, 3.2vw, 15.5px); }
.review-shots {
  margin-top: clamp(30px, 6vh, 54px);
  display: flex; justify-content: center; gap: clamp(16px, 4vw, 40px); flex-wrap: wrap;
}

/* ========== 使い方 ========== */
.steps { padding: clamp(64px, 12vh, 132px) var(--pad); }
.steps-inner { max-width: var(--maxw); margin: 0 auto; text-align: center; }
.section-eyebrow {
  margin: 0 0 clamp(26px, 5vh, 44px);
  font-family: var(--font-en); font-size: 11px; font-weight: 600;
  letter-spacing: .38em; color: var(--shoal); text-transform: uppercase;
}
.step-list {
  margin: 0; padding: 0; list-style: none; text-align: left;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 32px);
}
.step-list li {
  padding: 26px 24px 28px;
  border: 1px solid rgba(127,196,232,.2); border-radius: 16px;
  background: rgba(11,39,64,.42);
}
.step-no {
  display: block; font-family: var(--font-en); font-size: 34px; font-weight: 700;
  color: var(--signal); line-height: 1;
}
.step-list h3 { margin: 12px 0 8px; font-size: 17px; font-weight: 700; }
.step-list p { margin: 0; font-size: 13.5px; color: var(--paper-d); line-height: 1.85; }
.steps-tip { margin: clamp(24px, 4vh, 34px) 0 0; font-size: 13.5px; color: var(--paper-d); }
.steps-tip b { color: var(--paper); }
.steps-cta { margin: clamp(22px, 4vh, 34px) 0 0; }
.btn {
  display: inline-block; padding: 15px 42px; border-radius: 999px;
  background: var(--signal); color: #fff; text-decoration: none;
  font-size: 16px; font-weight: 700; letter-spacing: .02em;
  box-shadow: 0 12px 30px rgba(255,107,53,.28);
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(255,107,53,.36); }

/* ========== 注意 ========== */
.notice { padding: clamp(56px, 10vh, 110px) var(--pad); background: var(--ink); }
.notice-inner { max-width: var(--maxw); margin: 0 auto; }
.notice-title {
  margin: 0 0 clamp(24px, 4vh, 38px); text-align: center;
  font-size: clamp(17px, 3.6vw, 22px); font-weight: 700; letter-spacing: .04em;
}
.notice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 28px); }
.note-card { padding: 22px 22px 24px; border-left: 2px solid var(--signal); background: rgba(6,26,44,.5); }
.note-card h3 { margin: 0 0 8px; font-size: 15px; font-weight: 700; }
.note-card p { margin: 0; font-size: 13px; line-height: 1.85; color: var(--paper-d); }

/* ========== 出典 ========== */
.source { padding: clamp(56px, 10vh, 110px) var(--pad); }
.source-inner { max-width: 820px; margin: 0 auto; text-align: center; }
.source-table { width: 100%; border-collapse: collapse; text-align: left; }
.source-table th, .source-table td {
  padding: 13px 4px; border-bottom: 1px solid rgba(127,196,232,.18);
  font-size: 13px; line-height: 1.7; vertical-align: top;
}
.source-table th { width: 46%; font-weight: 500; color: var(--paper); }
.source-table td { color: var(--paper-d); }

/* ========== フッター ========== */
.foot { padding: clamp(48px, 8vh, 80px) var(--pad) clamp(40px, 6vh, 64px); background: var(--ink); text-align: center; }
.foot-inner { max-width: var(--maxw); margin: 0 auto; }
.foot-brand {
  margin: 0; font-family: var(--font-en); font-size: 30px; font-weight: 700;
  letter-spacing: .04em; text-shadow: 0 0 18px rgba(35,213,240,.35);
}
.foot-sub { margin: 2px 0 0; font-size: 12px; color: var(--paper-d); letter-spacing: .1em; }
.foot-nav { margin: 22px 0 0; display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; }
.foot-nav a { font-size: 13.5px; color: var(--shoal); text-decoration: none; border-bottom: 1px solid rgba(127,196,232,.4); padding-bottom: 2px; }
.foot-nav a:hover { color: var(--cyan); }
.foot-fine { margin: 26px 0 0; font-size: 11.5px; color: rgba(185,203,220,.6); }

/* ========== スクロール演出 ========== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ========== レスポンシブ ========== */
@media (max-width: 560px) {
  /* 狭い画面では文の途中で改行すると1〜2文字だけ次行に落ちる。改行は詰める */
  .hero-lead br { display: none; }
}

@media (max-width: 860px) {
  .feature-grid { grid-template-columns: 1fr; gap: 34px; }
  .feature.alt .shot { order: 0; }
  .feature-text { text-align: left; }
  .step-list { grid-template-columns: 1fr; }
  .notice-grid { grid-template-columns: 1fr; }
  .source-table th { width: 42%; }
  .arm-w { left: 2%; transform: translate(-100%, -50%); }
  .arm-e { right: 2%; transform: translate(100%, -50%); }
}

@media (max-width: 480px) {
  /* 4方位すべてを画面に収めつつ、中心のボタンに文字が収まる大きさにする */
  .rose { width: 62vw; }
  .rose-core { width: 40%; }
  .rose-core-label { font-size: 12px; white-space: nowrap; }
  .rose-core-sub { font-size: 6.5px; letter-spacing: 0; white-space: nowrap; }
  .arm span { font-size: 12px; }
  .arm-w { left: -3%; }
  .arm-e { right: -3%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .rose { opacity: 1; }
  .hero-eyebrow, .hero-title, .hero-lead, .hero-note, .hero-scroll, .loader-name, .loader-gauge, .loader-depth, .loader-label { opacity: 1; }
}

/* ========== 下層ページ（ご意見・ご要望） ========== */
.subpage { background: var(--deep); }

.sub-head {
  position: relative;
  padding: clamp(28px, 6vh, 52px) var(--pad) clamp(40px, 8vh, 72px);
  background:
    radial-gradient(120% 90% at 50% 0%, #0E3557 0%, var(--deep) 70%),
    var(--deep);
  border-bottom: 1px solid rgba(127,196,232,.2);
  text-align: center;
}
.sub-back {
  display: inline-block; margin-bottom: clamp(26px, 5vh, 44px);
  font-family: var(--font-en); font-size: 13px; font-weight: 600; letter-spacing: .12em;
  color: var(--shoal); text-decoration: none;
}
.sub-back:hover { color: var(--cyan); }
.sub-eyebrow {
  margin: 0 0 12px; font-family: var(--font-en); font-size: 11px; font-weight: 600;
  letter-spacing: .38em; color: var(--shoal);
}
.sub-title { margin: 0 0 16px; font-size: clamp(24px, 5.4vw, 38px); font-weight: 900; line-height: 1.4; }
.sub-lead { margin: 0 auto; max-width: 34em; font-size: clamp(13.5px, 3.2vw, 15.5px); color: var(--paper-d); }

.sub-main { max-width: 860px; margin: 0 auto; padding: clamp(48px, 9vh, 88px) var(--pad) 0; }

.ways-title, .tips-title {
  margin: 0 0 clamp(20px, 4vh, 32px);
  font-size: clamp(16px, 3.4vw, 20px); font-weight: 700; letter-spacing: .03em;
}
.way-card {
  padding: 26px 26px 28px; margin-bottom: 18px;
  border: 1px solid rgba(127,196,232,.2); border-radius: 16px;
  background: rgba(11,39,64,.45);
}
.way-card.way-primary { border-color: rgba(255,107,53,.45); }
.way-tag {
  margin: 0 0 10px; display: inline-block;
  padding: 4px 12px; border-radius: 999px;
  background: rgba(127,196,232,.14);
  font-size: 11.5px; font-weight: 700; letter-spacing: .08em; color: var(--shoal);
}
.way-primary .way-tag { background: rgba(255,107,53,.18); color: #FFB394; }
.way-card h3 { margin: 0 0 10px; font-size: clamp(15px, 3.4vw, 18px); font-weight: 700; line-height: 1.6; }
.way-card p { margin: 0; font-size: 13.5px; line-height: 1.9; color: var(--paper-d); }
.way-act { margin-top: 18px !important; }
.mail {
  display: inline-block; padding: 12px 24px; border-radius: 999px;
  border: 1px solid rgba(127,196,232,.5); color: var(--paper);
  font-family: var(--font-en); font-size: 15px; font-weight: 600; letter-spacing: .02em;
  text-decoration: none; word-break: break-all;
  transition: border-color .2s ease, color .2s ease;
}
.mail:hover { border-color: var(--cyan); color: var(--cyan); }

.tips { margin-top: clamp(44px, 8vh, 76px); }
.tips-note { margin: 18px 0 0; font-size: 13px; color: var(--paper-d); }

.reply {
  margin: clamp(40px, 7vh, 68px) 0 clamp(48px, 9vh, 88px);
  padding: 20px 22px; border-left: 2px solid var(--shoal); background: rgba(11,39,64,.4);
}
.reply p { margin: 0; font-size: 13px; line-height: 1.9; color: var(--paper-d); }
