/* メイン画面の案内リンクと日本語固定の案内ページ */
.information-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-left: auto;
}

.information-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 15px;
  border: 1px solid #cbd8d2;
  border-radius: 10px;
  color: var(--green-deep);
  background: rgba(255, 255, 255, 0.86);
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
  transition:
    border-color 150ms ease,
    background 150ms ease;
}

.information-link:hover,
.information-link:focus-visible {
  border-color: var(--green);
  background: var(--green-soft);
}

.information-link:focus-visible {
  outline: 3px solid rgba(23, 75, 99, 0.24);
  outline-offset: 2px;
}

.information-page {
  --brand: #93d9d7;
  --brand-hover: #7bc9c6;
  --brand-deep: #174b63;
  --brand-soft: #e5f7f6;
  --ink: #173b4b;
  --muted: #61757d;
  --green: var(--brand);
  --green-deep: var(--brand-deep);
  --green-soft: var(--brand-soft);
  --paper: #ffffff;
  --line: #d6e5e7;
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: #eaf5f6;
  font-family:
    "Yu Gothic UI", "Hiragino Sans", "Noto Sans JP", system-ui, sans-serif;
}

.information-page *,
.information-page *::before,
.information-page *::after {
  box-sizing: border-box;
}

.information-page a {
  font: inherit;
}

.information-background {
  min-height: 100vh;
  padding: clamp(16px, 4vw, 56px);
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 255, 255, 0.92), transparent 31%),
    linear-gradient(145deg, #f8fcfc 0%, #deeff1 100%);
}

.information-site-header,
.information-main,
.information-footer {
  width: min(100%, 960px);
  margin-inline: auto;
}

.information-site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.information-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.information-page .brand-mark {
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(23, 75, 99, 0.2);
}

.information-page .eyebrow,
.information-page .app-name {
  display: block;
}

.information-page .eyebrow {
  color: var(--green-deep);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.information-page .app-name {
  margin-top: 1px;
  font-size: 1.05rem;
  font-weight: 750;
  letter-spacing: 0.02em;
}

.return-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 15px;
  border: 1px solid #cbd8d2;
  border-radius: 10px;
  color: var(--green-deep);
  background: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: none;
}

.return-link:hover,
.return-link:focus-visible {
  border-color: var(--green);
  background: var(--green-soft);
}

.return-link:focus-visible,
.information-brand:focus-visible,
.official-link:focus-visible {
  outline: 3px solid rgba(23, 75, 99, 0.24);
  outline-offset: 3px;
}

.information-main {
  overflow: hidden;
  border: 1px solid rgba(23, 75, 99, 0.1);
  border-radius: 26px;
  background: var(--paper);
  box-shadow:
    0 20px 55px rgba(23, 75, 99, 0.1),
    0 2px 6px rgba(23, 75, 99, 0.05);
}

.information-hero {
  padding: clamp(30px, 6vw, 54px);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(115deg, rgba(229, 247, 246, 0.85), rgba(255, 255, 255, 0.25));
}

.information-kicker,
.information-hero h1,
.information-hero > p:last-child,
.content-section h2,
.content-section h3,
.content-section p,
.important-note h2,
.important-note p,
.reference-card h3,
.reference-card p {
  margin: 0;
}

.information-kicker,
.section-number,
.reference-source {
  color: var(--green-deep);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.information-hero h1 {
  margin-top: 8px;
  font-size: clamp(1.9rem, 5vw, 3rem);
  line-height: 1.25;
  letter-spacing: -0.035em;
}

.information-hero > p:last-child {
  max-width: 700px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.9;
}

.information-content {
  padding: clamp(24px, 5vw, 48px);
}

.important-note {
  padding: 20px 22px;
  border: 1px solid #e4c680;
  border-left: 6px solid #d98b32;
  border-radius: 14px;
  color: #5f451f;
  background: #fff9e9;
}

.important-note h2 {
  font-size: 1rem;
}

.important-note p {
  margin-top: 8px;
  font-size: 0.84rem;
  line-height: 1.8;
}

.important-note .checked-date {
  color: #7a6444;
  font-size: 0.74rem;
  font-weight: 750;
}

.content-section {
  margin-top: 46px;
}

.content-section h2 {
  margin-top: 5px;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  line-height: 1.4;
}

.section-description {
  margin-top: 10px !important;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.7;
}

.check-list,
.plain-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.plain-list li {
  position: relative;
  padding-left: 28px;
  color: #3e514c;
  font-size: 0.88rem;
  line-height: 1.8;
}

.check-list li::before,
.plain-list li::before {
  position: absolute;
  top: 0.34em;
  left: 0;
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 50%;
  color: var(--green-deep);
  background: var(--green-soft);
  content: "✓";
  font-size: 0.68rem;
  font-weight: 900;
}

.plain-list li::before {
  top: 0.68em;
  width: 7px;
  height: 7px;
  background: var(--green);
  content: "";
}

.step-list {
  display: grid;
  gap: 0;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: guide-step;
}

.step-list > li {
  position: relative;
  min-height: 72px;
  padding: 0 0 26px 58px;
  counter-increment: guide-step;
}

.step-list > li:not(:last-child)::after {
  position: absolute;
  top: 38px;
  bottom: 0;
  left: 19px;
  width: 2px;
  background: var(--green-soft);
  content: "";
}

.step-list > li::before {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 12px;
  color: var(--green-deep);
  background: var(--green);
  content: counter(guide-step, decimal-leading-zero);
  font-size: 0.72rem;
  font-weight: 850;
}

.step-list > li > h3 {
  padding-top: 2px;
  font-size: 1rem;
}

.step-list > li > p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.75;
}

.device-instruction-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.device-instruction {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fafcfb;
}

.device-instruction summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 50px;
  padding: 11px 14px;
  color: var(--green-deep);
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.device-instruction summary::-webkit-details-marker {
  display: none;
}

.device-instruction summary::after {
  display: grid;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  color: var(--green-deep);
  background: var(--green-soft);
  content: "+";
  font-size: 1rem;
  line-height: 1;
}

.device-instruction[open] summary::after {
  content: "−";
}

.device-instruction summary:hover {
  background: var(--green-soft);
}

.device-instruction summary:focus-visible {
  outline: 3px solid rgba(23, 75, 99, 0.24);
  outline-offset: -3px;
}

.device-instruction-content {
  padding: 13px 16px 16px;
  border-top: 1px solid var(--line);
}

.device-step-list {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: device-step;
}

.device-step-list li {
  position: relative;
  min-height: 38px;
  padding: 8px 0 8px 72px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.65;
  counter-increment: device-step;
}

.device-step-list li::before {
  position: absolute;
  top: 2px;
  left: 0;
  z-index: 1;
  display: grid;
  width: 60px;
  min-height: 34px;
  padding: 4px 6px;
  place-items: center;
  border-radius: 10px;
  color: var(--green-deep);
  background: var(--green);
  font-size: 0.68rem;
  font-weight: 850;
  line-height: 1;
}

.device-step-list-iphone li::before {
  content: "03-i" counter(device-step, decimal-leading-zero);
}

.device-step-list-android li::before {
  content: "03-a" counter(device-step, decimal-leading-zero);
}

.guide-disclosure-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.guide-disclosure {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
}

.guide-disclosure summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 76px;
  padding: 16px 20px;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.guide-disclosure summary::-webkit-details-marker {
  display: none;
}

.guide-disclosure summary::after {
  display: grid;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: var(--green-deep);
  background: var(--green-soft);
  content: "+";
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
}

.guide-disclosure[open] summary::after {
  content: "−";
}

.guide-disclosure summary:hover {
  background: var(--green-soft);
}

.guide-disclosure summary:focus-visible {
  outline: 3px solid rgba(23, 75, 99, 0.24);
  outline-offset: -3px;
}

.guide-summary-text {
  display: grid;
  gap: 4px;
}

.guide-summary-text strong {
  font-size: 1rem;
}

.guide-summary-text > span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 650;
  line-height: 1.5;
}

.guide-disclosure-content {
  padding: 24px 20px;
  border-top: 1px solid var(--line);
  background: #f8fbfc;
}

.guide-action + .guide-action {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.guide-action h3 {
  font-size: 1rem;
}

.guide-action-description,
.warning-explanation p {
  margin-top: 9px !important;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.8;
}

.procedure-step-list {
  display: grid;
  gap: 16px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: procedure-step;
}

.procedure-step-list li {
  position: relative;
  min-height: 36px;
  padding-left: 48px;
  counter-increment: procedure-step;
}

.procedure-step-list li::before {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 9px;
  color: var(--green-deep);
  background: var(--green);
  content: counter(procedure-step);
  font-size: 0.74rem;
  font-weight: 850;
}

.procedure-step-list h4,
.procedure-step-list p {
  margin: 0;
}

.procedure-step-list h4 {
  font-size: 0.88rem;
}

.procedure-step-list p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.75;
}

.warning-explanation {
  padding-left: 14px;
  border-left: 5px solid;
}

.warning-explanation-red {
  border-color: #b63d34;
}

.warning-explanation-yellow {
  border-color: #c58a00;
}

.reference-card {
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
}

.reference-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.reference-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px;
}

.reference-card > div {
  min-width: 0;
}

.reference-card h3 {
  margin-top: 4px;
  font-size: 1.02rem;
  line-height: 1.5;
}

.reference-card div > p:last-child {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.75;
}

.official-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 9px 15px;
  border-radius: 10px;
  color: var(--green-deep);
  background: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
}

.official-link:hover,
.official-link:focus-visible {
  background: var(--brand-hover);
}

.information-footer {
  display: flex;
  justify-content: center;
  padding-top: 22px;
}

@media (max-width: 700px) {
  .app-header {
    flex-wrap: wrap;
  }

  .information-links {
    width: 100%;
    margin-left: 0;
  }

  .information-link {
    flex: 1 1 210px;
  }

  .information-background {
    padding: 14px 10px 24px;
  }

  .information-site-header {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
    padding-inline: 5px;
  }

  .information-site-header .return-link {
    align-self: flex-start;
  }

  .information-main {
    border-radius: 20px;
  }

  .information-hero,
  .information-content {
    padding: 24px 18px;
  }

  .guide-disclosure summary {
    padding: 14px 16px;
  }

  .guide-disclosure-content {
    padding: 20px 16px;
  }

  .reference-card {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
  }

  .official-link {
    align-self: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .information-link {
    transition: none;
  }
}
