@charset "UTF-8";
:root {
  color-scheme: light dark;
  --bg: #f4f6fb;
  --panel: #fff;
  --ink: #13203a;
  --muted: #536079;
  --line: #d7deec;
  --brand: #1556df;
  --soft: #e8efff;
  --shadow: 0 16px 50px #1732690b;
  font-family:
    system-ui,
    -apple-system,
    'Segoe UI',
    'Noto Sans JP',
    sans-serif;
}
:root[data-theme='dark'] {
  --bg: #091222;
  --panel: #111f34;
  --ink: #f2f6ff;
  --muted: #bdc9df;
  --line: #33445f;
  --brand: #8cb6ff;
  --soft: #1a3155;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #091222;
    --panel: #111f34;
    --ink: #f2f6ff;
    --muted: #bdc9df;
    --line: #33445f;
    --brand: #8cb6ff;
    --soft: #1a3155;
  }
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.75;
}
img {
  max-width: 100%;
  object-fit: contain;
}
a {
  color: var(--brand);
  text-underline-offset: 4px;
}
button,
input,
select,
textarea {
  font: inherit;
  max-width: 100%;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button,
.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 9px 19px;
  color: var(--ink);
  background: var(--panel);
  text-decoration: none;
  font-weight: 650;
}
button:not(.primary):not(:disabled):hover,
.secondary:hover {
  background: var(--soft);
}
.primary {
  background: #1556df;
  color: #fff;
  border-color: #1556df;
}
.primary:not(:disabled):is(:hover, :active) {
  background: #1044b4;
  border-color: #1044b4;
  color: #fff;
}
.apps-hero .primary:is(:hover, :active) {
  background: #e8efff;
  border-color: #e8efff;
  color: #123f9e;
}
.primary:disabled,
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
:focus-visible {
  outline: 3px solid #da9f19;
  outline-offset: 4px;
}
.skip {
  position: fixed;
  top: -100px;
  background: var(--panel);
  padding: 12px;
  z-index: 20;
}
.skip:focus {
  top: 0;
}
.apps-header {
  display: flex;
  align-items: center;
  gap: 22px;
  max-width: 1160px;
  margin: auto;
  padding: 22px 28px;
}
.apps-header > a:nth-child(2) {
  margin-left: auto;
  font-size: 14px;
  white-space: nowrap;
}
.apps-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-size: 21px;
  font-weight: 750;
  line-height: 1.3;
}
.apps-brand small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  margin-top: 5px;
  letter-spacing: 0.04em;
}
.apps-main {
  max-width: 1100px;
  margin: auto;
  padding: 20px 28px 60px;
  min-height: 60vh;
}
.apps-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(125deg, #0d338d, #1556df 60%, #357af0);
  color: #fff;
  border-radius: 30px;
  padding: 60px;
  min-height: 390px;
}
.apps-hero p {
  position: relative;
  z-index: 1;
  max-width: 510px;
}
.apps-hero .primary {
  background: #fff;
  color: #1556df;
  position: relative;
  z-index: 1;
}
.hero-mark {
  position: absolute;
  right: 50px;
  top: 10px;
  font-size: 280px;
  line-height: 1.5;
  font-weight: 800;
  opacity: 0.15;
  letter-spacing: -0.15em;
}
.hero-mark span {
  font-size: 120px;
}
h1,
h2,
h3 {
  line-height: 1.35;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
h1 {
  font-size: clamp(28px, 5vw, 54px);
  letter-spacing: -0.035em;
  margin: 14px 0 22px;
}
h2 {
  font-size: clamp(23px, 3vw, 32px);
}
h3 {
  font-size: 21px;
}
.eyebrow {
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
section {
  margin-bottom: 36px;
}
#applications {
  margin-top: 50px;
}
.app-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.app-card {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  align-items: start;
  gap: 18px;
  padding: 26px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  min-width: 0;
}
.app-card h2,
.app-card h3 {
  margin: 0 0 8px;
  font-size: 22px;
}
.app-card p {
  margin: 7px 0;
  color: var(--muted);
}
.app-card a {
  display: inline-block;
  margin-top: 10px;
  min-height: 44px;
}
.app-icon {
  border-radius: 24%;
  background: var(--soft);
  aspect-ratio: 1;
}
.badge {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 2px 8px;
  font-size: 13px;
}
.notice {
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand);
  border-radius: 14px;
  padding: 22px;
  margin-top: 28px;
}
.notice h2 {
  font-size: 21px;
  margin-top: 0;
}
.notice p:last-child {
  margin-bottom: 0;
}
.detail-head {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 32px 0;
}
.detail-head h1 {
  font-size: clamp(28px, 4vw, 42px);
  margin: 8px 0;
}
.detail-head .app-icon {
  flex: 0 0 112px;
}
.feature-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
  padding: 0;
}
.feature-list li {
  background: var(--panel);
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.apps-nav {
  display: flex;
  justify-content: center;
  gap: 36px;
  border-top: 1px solid var(--line);
  padding: 20px;
  background: var(--panel);
}
.apps-nav a {
  min-height: 44px;
  display: flex;
  align-items: center;
  text-decoration: none;
  font-weight: 650;
}
.apps-footer {
  text-align: center;
  padding: 24px 24px 40px;
  color: var(--muted);
  font-size: 13px;
}
.apps-footer p {
  margin: 6px;
}
label {
  display: block;
  margin: 14px 0 6px;
}
input:not([type='checkbox']),
textarea,
select {
  display: block;
  width: 100%;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  color: var(--ink);
}
textarea {
  min-height: 120px;
}
input[type='checkbox'] {
  width: 22px;
  height: 22px;
  vertical-align: middle;
  margin-right: 10px;
}
form {
  max-width: 650px;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: var(--panel);
  padding: 20px;
  border-radius: 16px;
}
dialog {
  background: var(--panel);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  width: min(90%, 480px);
}
dialog::backdrop {
  background: #07152caa;
}
#install-help button {
  width: 100%;
}
.staff-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.skeleton {
  min-height: 220px;
  border-radius: 24px;
  background: linear-gradient(100deg, var(--line), var(--panel), var(--line));
  background-size: 220% 100%;
  animation: shimmer 1.8s ease-in-out infinite;
}
.apps-main {
  animation: enter 0.22s ease-out;
}
@keyframes shimmer {
  to {
    background-position: -220% 0;
  }
}
@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
[hidden] {
  display: none !important;
}
[data-result]:empty {
  display: none;
}
[data-result] {
  border-left: 3px solid var(--brand);
  padding: 16px;
  background: var(--panel);
  overflow-wrap: anywhere;
}
@media (max-width: 700px) {
  .apps-header {
    padding: 18px;
    gap: 12px;
  }
  .apps-header > a:nth-child(2) {
    display: none;
  }
  .apps-header button {
    margin-left: auto;
  }
  .apps-main {
    padding: 12px 18px 32px;
  }
  .apps-hero {
    padding: 30px 26px;
    min-height: 350px;
    border-radius: 22px;
  }
  .apps-hero h1 {
    font-size: 40px;
  }
  .hero-mark {
    right: 12px;
    top: 85px;
    font-size: 200px;
  }
  .app-grid {
    grid-template-columns: 1fr;
  }
  .app-card {
    padding: 22px;
    grid-template-columns: 64px minmax(0, 1fr);
  }
  .app-card .app-icon {
    width: 64px;
    height: 64px;
  }
  .detail-head {
    gap: 20px;
    align-items: flex-start;
  }
  .detail-head .app-icon {
    width: 80px;
    height: 80px;
    flex-basis: 80px;
  }
  .feature-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .apps-nav {
    position: sticky;
    bottom: 0;
    z-index: 5;
    gap: 0;
    justify-content: space-around;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
    box-shadow: 0 -6px 24px #122a6008;
  }
  .apps-nav a {
    font-size: 13px;
    padding: 5px;
  }
  .apps-footer {
    padding-bottom: 28px;
  }
  .apps-brand {
    font-size: 19px;
  }
  .apps-brand small {
    font-size: 10px;
  }
}
@media (max-width: 360px) {
  .detail-head {
    flex-direction: column;
  }
  .apps-header {
    padding: 12px;
  }
  .app-card {
    gap: 12px;
    padding: 18px;
  }
  .apps-hero h1 {
    font-size: 34px;
  }
  .feature-list {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.apps-nav a[aria-current='page'] {
  color: var(--brand);
  background: var(--soft);
  border-radius: 10px;
  padding-inline: 12px;
}
.apps-nav a:not([aria-current]) {
  color: var(--muted);
}

/* 認証メールの受信サービス別ヘルプ。 */
.auth-mail-help{margin:20px 0;padding:16px 20px;border:1px solid var(--border,#cad7e7);border-radius:10px;background:var(--surface,#fff);color:var(--ink,#173452);line-height:1.9}
.auth-mail-help>summary{min-height:44px;cursor:pointer;font-weight:700;line-height:1.7;padding-block:8px}
.auth-mail-help p{margin:12px 0;font-size:1rem;line-height:1.9}
.auth-mail-help label{display:block;margin:16px 0 8px;font-weight:700}
.auth-mail-help select{display:block;width:100%;max-width:340px;min-height:44px;font:inherit;padding:8px 12px;color:inherit;background:var(--surface,#fff);border:1px solid var(--border,#cad7e7);border-radius:6px}
.auth-mail-help ol{list-style:decimal;padding-left:1.5em;margin:16px 0;line-height:1.9}
.auth-mail-help li+li{margin-top:10px}
@media(max-width:600px){.auth-mail-help{padding:14px 16px}}
