/* =========================================================
   サーバー登録ガイド 専用スタイル
   ../css/style.css を継承した上での追加スタイル
   ========================================================= */

body { padding-top: 64px; }

/* ===== ヒーロー ===== */
.guide-hero {
  background: linear-gradient(160deg, var(--red) 0%, var(--red-dark) 70%, var(--red-deep) 100%);
  color: #fff;
  padding: 56px 0 72px;
}
.guide-hero__crumb {
  font-size: .88rem;
  margin-bottom: 24px;
}
.guide-hero__crumb a {
  color: rgba(255,255,255,.85);
  border-bottom: 1px solid rgba(255,255,255,.5);
  padding-bottom: 2px;
}
.guide-hero__crumb a:hover { color: #fff; border-bottom-color: #fff; }
.guide-hero__en {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: .85rem;
  letter-spacing: .3em;
  color: rgba(255,255,255,.88);
  margin-bottom: 12px;
}
.guide-hero__title {
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 24px;
}
.guide-hero__lead {
  font-size: 1rem;
  line-height: 1.95;
  max-width: 700px;
}

.guide-hero__toc {
  background: rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 12px;
  padding: 22px 28px;
  margin-top: 36px;
  max-width: 560px;
}
.guide-hero__toc-h {
  font-weight: 800;
  font-size: .95rem;
  letter-spacing: .06em;
  margin-bottom: 12px;
}
.guide-hero__toc ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.guide-hero__toc a {
  color: #fff;
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(255,255,255,.3);
  display: block;
  transition: color .2s, border-color .2s;
}
.guide-hero__toc a:hover { color: #ffe14d; border-bottom-color: rgba(255,225,77,.6); }

/* ===== セクション見出し ===== */
.guide-section__head {
  text-align: center;
  margin-bottom: 56px;
}
.guide-section__head .section__en {
  display: inline-block;
  width: 56px; height: 56px;
  line-height: 56px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 1.4rem;
  letter-spacing: 0;
  margin-bottom: 20px;
  font-family: "Montserrat", sans-serif;
}
.guide-section__head .section__title {
  font-size: clamp(1.3rem, 3.6vw, 1.9rem);
}
.guide-section__head .section__desc {
  max-width: 660px;
  margin: 20px auto 0;
  line-height: 1.9;
}

/* ===== Step リスト ===== */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 880px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 30px;
  box-shadow: 0 4px 14px rgba(0,0,0,.04);
  transition: box-shadow .3s, transform .3s;
}
.step:hover {
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
  transform: translateY(-2px);
}
.step__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--line);
}
.step__num {
  flex: none;
  width: 48px; height: 48px;
  line-height: 48px;
  text-align: center;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
}
.step__head h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.5;
  margin: 0;
}
.step__body {
  padding-left: 8px;
}
.step__body p { margin-bottom: 12px; font-size: .95rem; line-height: 1.9; }

.step__link {
  display: inline-block;
  color: var(--red);
  font-weight: 700;
  border-bottom: 1px solid var(--red);
  padding-bottom: 2px;
  margin: 4px 0 12px;
  transition: opacity .2s;
}
.step__link:hover { opacity: .7; }

.step__shot {
  margin: 20px 0 12px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  border: 1px solid var(--line);
}
.step__shot img {
  width: 100%;
  height: auto;
  display: block;
}
.step__shot figcaption {
  background: #f7f5f2;
  padding: 12px 16px;
  font-size: .85rem;
  color: var(--text-light);
  text-align: center;
  border-top: 1px solid var(--line);
}
.step__shot figcaption strong { color: var(--ink); }

/* チェックリスト */
.checklist {
  list-style: none;
  padding: 16px 20px;
  margin: 8px 0 16px;
  background: #fdf6f5;
  border-left: 4px solid var(--red);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.checklist li {
  font-size: .93rem;
  line-height: 1.7;
  color: var(--ink);
}

/* Tip */
.tip {
  background: #fff8e6;
  border: 1px solid #f0d590;
  border-radius: 8px;
  padding: 12px 18px;
  font-size: .9rem;
  line-height: 1.8;
  margin: 14px 0 4px;
}
.tip strong { color: #7a5a10; }
.tip--warn {
  background: #ffeaea;
  border-color: #f0a5a5;
}
.tip--warn strong { color: #a02020; }

/* 送信情報 */
.send-info {
  background: #f7f5f2;
  border: 2px dashed var(--red);
  border-radius: 12px;
  padding: 22px 24px;
  margin: 16px 0 12px;
}
.send-info__label {
  font-weight: 800;
  color: var(--red);
  margin-bottom: 12px;
  font-size: .98rem;
}
.send-info__list {
  padding-left: 22px;
  margin: 0 0 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.send-info__list li { line-height: 1.7; }
.send-info__note {
  font-size: .84rem;
  color: var(--text-light);
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  margin: 0;
}
.send-info__note a { color: var(--red); border-bottom: 1px solid var(--red); padding-bottom: 1px; }

/* ゴールStep */
.step--goal {
  border: 2px solid var(--red);
  background: linear-gradient(135deg, #fff 0%, #fff8f6 100%);
}
.step--goal .step__num {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
}

/* ===== Q&A ===== */
.qa { display: flex; flex-direction: column; gap: 14px; }
.qa__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 4px 0;
  transition: box-shadow .25s;
}
.qa__item[open] { box-shadow: 0 6px 18px rgba(0,0,0,.06); }
.qa__item summary {
  cursor: pointer;
  padding: 16px 22px;
  font-weight: 700;
  font-size: .98rem;
  color: var(--ink);
  list-style: none;
  position: relative;
  padding-right: 42px;
}
.qa__item summary::-webkit-details-marker { display: none; }
.qa__item summary::after {
  content: '+';
  position: absolute;
  right: 20px; top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--red);
  font-weight: 700;
  transition: transform .3s;
}
.qa__item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}
.qa__item p {
  padding: 4px 22px 20px;
  font-size: .92rem;
  line-height: 1.95;
  color: var(--text);
}
.qa__item a { color: var(--red); border-bottom: 1px solid var(--red); padding-bottom: 1px; }

/* ===== レスポンシブ ===== */
@media (max-width: 720px) {
  .guide-hero { padding: 40px 0 48px; }
  .guide-hero__toc { padding: 18px 20px; }
  .step { padding: 22px 20px; }
  .step__head { gap: 12px; }
  .step__num { width: 40px; height: 40px; line-height: 40px; font-size: 1rem; }
  .step__head h3 { font-size: 1.02rem; }
  .send-info { padding: 18px 18px; }
  .qa__item summary { padding: 14px 18px; padding-right: 38px; font-size: .93rem; }
  .qa__item p { padding: 4px 18px 16px; }
}
