/*
 * 認証メール受信設定ヘルプ専用CSS
 * 既存サイトへの影響を避けるため、本文の指定は
 * .koda_section_general_guide の内側に限定しています。
 */

body.emailReceptionPage { margin: 0; padding: 0; }

.koda_section_general_guide {
  --guide-ink: #22272b;
  --guide-muted: #667078;
  --guide-blue: #2f72b8;
  --guide-line: #dbe1e5;
  --guide-wash: #f5f4f0;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  padding: 0 0 28px;
  color: var(--guide-ink);
  background: var(--guide-wash);
  font-family: Arial, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.koda_section_general_guide *,
.koda_section_general_guide *::before,
.koda_section_general_guide *::after { box-sizing: border-box; }
.koda_section_general_guide a:focus-visible,
.koda_section_general_guide button:focus-visible { outline: 3px solid #66b7e5; outline-offset: 4px; }
.koda_section_general_guide button,
.koda_section_general_guide a { font: inherit; }
.koda_section_general_guide .srOnly { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.koda_section_general_guide [hidden] { display: none !important; }

.koda_section_general_guide .guidePageTitle { color: #fff; background: #050505; }
.koda_section_general_guide .guidePageTitle h1 { width: min(940px, calc(100% - 40px)); margin: 0 auto; padding: 10px 0 9px; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: 21px; letter-spacing: .04em; line-height: 1.3; }
.koda_section_general_guide .breadcrumb { max-width: 1040px; margin: 0 auto; padding: 22px 24px 0; }
.koda_section_general_guide .breadcrumb ol { margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 5px 10px; color: var(--guide-muted); font-size: 13px; list-style: none; }
.koda_section_general_guide .breadcrumb li + li::before { content: "/"; margin-right: 10px; color: #7b858c; }
.koda_section_general_guide .breadcrumb a,
.koda_section_general_guide .pageBackNav a { color: #24577f; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.koda_section_general_guide .emailHelpIntro { max-width: 1040px; margin: 0 auto; padding: 52px 24px 42px; }
.koda_section_general_guide .sectionKicker { color: #22639d; font-size: 11px; font-weight: 800; letter-spacing: .18em; }
.koda_section_general_guide .emailHelpIntro p { max-width: 820px; margin: 8px 0 0; color: #4c5861; font-family: "Noto Serif JP", serif; font-size: 14px; font-weight: 600; }
.koda_section_general_guide .emailHelpIntro code,
.koda_section_general_guide .carrierCard code { padding: .08em .3em; color: #174f7f; background: #e8f2fb; border-radius: 4px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .93em; font-weight: 700; overflow-wrap: anywhere; }
.koda_section_general_guide .emailHelpShell { max-width: 1040px; margin: 0 auto; padding: 0 24px 96px; }
.koda_section_general_guide .helpSection,
.koda_section_general_guide .carrierSection { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 22px; align-items: start; }
.koda_section_general_guide .helpSection { padding: 38px 0; background: #fff; }
.koda_section_general_guide .helpSectionNumber { display: grid; place-items: center; width: 42px; height: 42px; color: #fff; background: var(--guide-blue); border-radius: 50%; font-size: 17px; font-weight: 800; }
.koda_section_general_guide .helpSectionNumber.inverse { color: #fff; background: var(--guide-blue); }
.koda_section_general_guide .helpSection h2,
.koda_section_general_guide .carrierSection h2,
.koda_section_general_guide .otherCarrier h2,
.koda_section_general_guide .afterSetting h2,
.koda_section_general_guide .domainPanel h2 { margin: 0; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; line-height: 1.45; }
.koda_section_general_guide .helpSection h2,
.koda_section_general_guide .carrierSection h2 { font-size: 29px; }
.koda_section_general_guide .checkList { margin: 22px 0 0; padding: 0; display: grid; gap: 14px; list-style: none; }
.koda_section_general_guide .checkList li { position: relative; padding-left: 34px; color: #45515a; }
.koda_section_general_guide .checkList li::before { content: "✓"; position: absolute; left: 0; top: .1em; display: grid; place-items: center; width: 23px; height: 23px; color: #185f9a; background: #e5f1fb; border-radius: 50%; font-size: 13px; font-weight: 900; }
.koda_section_general_guide .domainPanel { margin: 28px 0 40px; padding: 16px 40px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 28px; align-items: center; background: #edf5fc; border: 2px solid #bcd5eb; }
.koda_section_general_guide .domainEyebrow { color: #2b628f; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.koda_section_general_guide .domainPanel h2 { font-family: "Noto Sans JP", sans-serif; font-size: 16px; }
.koda_section_general_guide .domainCopyRow { display: flex; align-items: stretch; min-width: 0; overflow: hidden; background: #fff; border: 1px solid #80abd0; }
.koda_section_general_guide .domainCopyRow code { min-width: 0; padding: 7px 9px; display: flex; align-items: center; color: #1f2930; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 16px; font-weight: 700; overflow-wrap: anywhere; }
.koda_section_general_guide .copyButton { border: 0; border-left: 1px solid #80abd0; padding: 5px 18px; color: #fff; background-color: var(--_koda---bg_button); font-size: 12px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.koda_section_general_guide .copyButton:hover { background-color: #32343a; }
.koda_section_general_guide .copyAssist,
.koda_section_general_guide .copyError { grid-column: 1 / -1; margin: 0; color: #52616c; font-size: 14px; }
.koda_section_general_guide .copyError { color: #8b3028; font-weight: 700; }
/* 番号・見出しを持たないため、ドメインパネルと同じ全幅で揃える */
.koda_section_general_guide .carrierSection { grid-template-columns: minmax(0, 1fr); gap: 0; }
.koda_section_general_guide .carrierContent { min-width: 0; }
.koda_section_general_guide .sectionLead { margin: 8px 0 26px; color: #59656d; font-family: "Noto Serif JP", serif; font-size: 14px; font-weight: 600; }
.koda_section_general_guide .carrierGrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.koda_section_general_guide .carrierCard { min-width: 0; padding: 28px; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--_koda---line_title); border-radius: 14px; }
.koda_section_general_guide .carrierCard h3 { margin: 0 0 12px; font-size: 16px; }
.koda_section_general_guide .carrierCard p { margin: 0; color: #4f5b64; font-size: 14px; }
.koda_section_general_guide .externalButton { margin-top: auto; padding: 12px 0 0; display: flex; align-items: center; justify-content: flex-start; gap: 12px; background: transparent; font-size: 14px; font-weight: 700; text-decoration: none; }
.koda_section_general_guide .externalButton:hover { text-decoration: underline; text-underline-offset: 4px; }
.koda_section_general_guide .externalButton small { font-size: 11px; font-weight: 500; white-space: nowrap; }
.koda_section_general_guide .otherCarrier { margin: 30px 0 54px; padding: 25px 28px; background: #fff; border-left: 4px solid #6e7c86; border-radius: 4px 12px 12px 4px; }
.koda_section_general_guide .otherCarrier h2 { font-family: "Noto Sans JP", sans-serif; font-size: 16px; }
.koda_section_general_guide .otherCarrier p { margin: 8px 0 0; color: #56626a; font-size: 14px; }
.koda_section_general_guide .afterSetting { padding: 36px 0; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 22px; align-items: start; color: var(--guide-ink); background: transparent; }
.koda_section_general_guide .afterSetting h2 { font-size: 28px; }
.koda_section_general_guide .afterSetting p { margin: 10px 0 22px; color: #4f5b64; }
.koda_section_general_guide .returnButton { padding: 12px 18px; display: inline-block; color: #fff; background: #2469a7; border-radius: 8px; font-size: 14px; font-weight: 800; text-decoration: none; }
.koda_section_general_guide .returnButton:hover { background: #164f80; }
.koda_section_general_guide .pageBackNav { margin-top: 24px; text-align: center; }
.koda_section_general_guide .pageBackNav a { font-family: "Noto Serif JP", serif; font-weight: 600; }
.koda_section_general_guide .carrierRevisionNote { margin: 28px 16px 0; color: #5e5e5e; font-size: 11px; text-align: center; }

@media (max-width: 820px) {
  .koda_section_general_guide .guidePageTitle h1 { width: calc(100% - 40px); padding: 10px 0; font-size: 19px; }
  .koda_section_general_guide .breadcrumb { padding: 18px 16px 0; }
  .koda_section_general_guide .emailHelpIntro { padding: 38px 16px 30px; }
  .koda_section_general_guide .emailHelpShell { padding: 0 16px 72px; }
  .koda_section_general_guide .helpSection,
  .koda_section_general_guide .carrierSection,
  .koda_section_general_guide .afterSetting { grid-template-columns: minmax(0, 1fr); gap: 15px; }
  .koda_section_general_guide .helpSection { padding: 25px 0; }
  .koda_section_general_guide .helpSection h2,
  .koda_section_general_guide .carrierSection h2 { font-size: 25px; }
  .koda_section_general_guide .domainPanel { margin: 20px 0 48px; padding: 12px 20px; grid-template-columns: minmax(0, 1fr); }
  .koda_section_general_guide .domainCopyRow { width: 100%; margin-top: 8px; }
  .koda_section_general_guide .domainCopyRow code { flex: 1; font-size: 14px; }
  .koda_section_general_guide .copyButton { padding: 5px 14px; }
  .koda_section_general_guide .carrierGrid { grid-template-columns: minmax(0, 1fr); }
  .koda_section_general_guide .carrierCard { padding: 23px 20px; }
  .koda_section_general_guide .otherCarrier { margin: 24px 0 44px; padding: 22px 20px; }
  .koda_section_general_guide .afterSetting { padding: 27px 0; }
  .koda_section_general_guide .returnButton { width: 100%; text-align: center; }
}

@media (max-width: 360px) {
  .koda_section_general_guide .guidePageTitle h1 { width: calc(100% - 32px); }
  .koda_section_general_guide .domainCopyRow { display: grid; }
  .koda_section_general_guide .copyButton { border-top: 1px solid #80abd0; border-left: 0; }
  .koda_section_general_guide .externalButton { align-items: flex-start; flex-direction: column; gap: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  .koda_section_general_guide * { scroll-behavior: auto !important; }
}

/* operation-help-2.html へ組み込む際、掲載枠（.help_section）側の余白・背景に合わせる */
.help_section .koda_section_general_guide {
  padding: 0;
  background: transparent;
}

.help_section .koda_section_general_guide .breadcrumb,
.help_section .koda_section_general_guide .emailHelpIntro,
.help_section .koda_section_general_guide .emailHelpShell {
  max-width: none;
}

.help_section .koda_section_general_guide .breadcrumb {
  padding: 0;
}

.help_section .koda_section_general_guide .emailHelpIntro {
  padding: 16px 0 34px;
}

.help_section .koda_section_general_guide .emailHelpShell {
  padding: 0;
}

.help_section .koda_section_general_guide .carrierRevisionNote {
  margin: 28px 0 0;
}

