/* ===============================================
  アカウント引き継ぎの手順（案内ページ）
  PCでは幅480pxの別ウィンドウ、SPでは別タブで表示する前提の縦長レイアウト
=============================================== */
:root {
  --guide-navy: #142346;
  --guide-navy-dark: #0d1830;
  --guide-text: #333333;
  --guide-sub: #555555;
  --guide-line: #dfe4ec;
  --guide-fill: #f3f5f8;
  --guide-bg: #ffffff;
}

html {
  font-size: 62.5%;
}

body {
  margin: 0;
  background: var(--guide-bg);
  color: var(--guide-text);
  font-family: -apple-system, BlinkMacSystemFont, "Yu Gothic UI", "游ゴシック体", YuGothic, "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 1.5rem;
  line-height: 1.8;
  -webkit-text-size-adjust: 100%;
}

a {
  color: var(--guide-navy);
}

a:focus-visible,
button:focus-visible {
  outline: 0.2rem solid var(--guide-navy);
  outline-offset: 0.2rem;
}

/* -----------------------------------------------
  ヘッダー（ロゴ・閉じる）
----------------------------------------------- */
.guide-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--guide-line);
  background: rgba(255, 255, 255, 0.96);
}

.guide-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  max-width: 64rem;
  margin: 0 auto;
  padding: 1rem 1.6rem;
}

.guide-header__logo {
  display: block;
  width: 12rem;
}

.guide-header__logo img {
  display: block;
  width: 100%;
  height: auto;
}

.guide-header__close {
  min-height: 4rem;
  padding: 0 1.6rem;
  border: 1px solid var(--guide-navy);
  border-radius: 0.4rem;
  background: #fff;
  color: var(--guide-navy);
  font-family: inherit;
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
}

.guide-header__close:hover {
  background: var(--guide-fill);
}

/* -----------------------------------------------
  本文
----------------------------------------------- */
.guide {
  box-sizing: border-box;
  max-width: 64rem;
  margin: 0 auto;
  padding: 2.4rem 1.6rem 4.8rem;
}

.guide p {
  margin: 0 0 1.2rem;
}

.guide h1 {
  margin: 0 0 1.2rem;
  color: var(--guide-navy);
  font-size: 2.2rem;
  line-height: 1.5;
}

.guide h2 {
  margin: 0 0 1.2rem;
  color: var(--guide-navy);
  font-size: 1.8rem;
  line-height: 1.5;
}

.guide h3 {
  margin: 0 0 0.6rem;
  color: var(--guide-navy);
  font-size: 1.6rem;
  line-height: 1.5;
}

.guide ul {
  margin: 0 0 1.2rem;
  padding-left: 1.5em;
  list-style: disc;
}

.guide-section {
  margin-top: 4rem;
}

/* 所要時間・ポイントの要点 */
.guide-summary {
  margin: 1.6rem 0 0;
  padding: 1.2rem 1.6rem;
  border-radius: 0.6rem;
  background: var(--guide-fill);
}

.guide-summary dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.4rem 1.2rem;
  margin: 0;
}

.guide-summary dt {
  font-weight: 700;
}

.guide-summary dd {
  margin: 0;
}

/* -----------------------------------------------
  ステップ
----------------------------------------------- */
.guide-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.guide-step {
  position: relative;
  padding: 0 0 3.2rem 5.2rem;
}

/* ステップ間をつなぐ縦線 */
.guide-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 4rem;
  bottom: 0.8rem;
  left: 1.7rem;
  width: 0.2rem;
  background: var(--guide-line);
}

.guide-step__num {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  background: var(--guide-navy);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.guide .guide-step__label {
  margin: 0;
  padding-top: 0.6rem;
  color: var(--guide-sub);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}



/* 画面イメージ（準備中の仮の枠） */
.guide-screen {
  margin: 1.2rem 0 0;
}

.guide-screen__placeholder {
  display: grid;
  place-items: center;
  box-sizing: border-box;
  width: 100%;
  max-width: 24rem;
  aspect-ratio: 9 / 16;
  border: 1px dashed #9aa4b2;
  border-radius: 1.2rem;
  background: var(--guide-fill);
  color: var(--guide-sub);
  font-size: 1.3rem;
}

.guide-screen figcaption {
  margin-top: 0.6rem;
  color: var(--guide-sub);
  font-size: 1.3rem;
}

/* 補足 */
.guide-note {
  margin: 0.8rem 0 0;
  padding: 1rem 1.2rem;
  border-left: 0.3rem solid var(--guide-line);
  color: var(--guide-sub);
  font-size: 1.4rem;
}

.guide-note p:last-child,
.guide-note ul:last-child {
  margin-bottom: 0;
}

/* 完了 */
.guide-done {
  padding: 1.6rem;
  border: 1px solid var(--guide-line);
  border-radius: 0.6rem;
  text-align: center;
}

.guide-done p {
  margin: 0;
}

.guide-done strong {
  color: var(--guide-navy);
  font-size: 1.6rem;
}

/* お困りのときは */
.guide-help h3 {
  margin-top: 2rem;
}

.guide-caution {
  padding: 1.2rem 1.6rem;
  border: 1px solid #c9d1dd;
  border-radius: 0.6rem;
}

.guide-caution p:last-child {
  margin-bottom: 0;
}

.guide-contact {
  margin-top: 2.4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--guide-line);
  font-size: 1.4rem;
}

.guide-contact p {
  margin-bottom: 0.8rem;
}

/* 引き継ぎへの導線 */
.guide-cta {
  margin-top: 4rem;
  text-align: center;
}

.guide-cta__button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 48rem;
  min-height: 6.4rem;
  margin: 0 auto;
  padding: 0 2.4rem;
  border-radius: 0.6rem;
  background: var(--guide-navy);
  color: #fff;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
}

.guide-cta__button:hover {
  background: var(--guide-navy-dark);
}

.guide-cta__time {
  margin-top: 0.2rem;
  font-size: 1.3rem;
  font-weight: 400;
}

/* 仮の文言 */
.guide-ph {
  color: var(--guide-sub);
}

/* スクリーンリーダー向けの文字（画面には表示しない）。str2のCSSには定義がないため、こちらで持つ */
.sr-only {
  position: absolute;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
}
