:root {
  --ink: #071a44;
  --muted: #607086;
  --line: #dbe5ec;
  --paper: #fffdf7;
  --surface: #ffffff;
  --teal: #008d8b;
  --teal-dark: #006f6d;
  --blue: #0c4cc5;
  --amber: #df8700;
  --green: #12824b;
  --violet: #6e3bc2;
  --shadow: 0 20px 52px rgba(7, 26, 68, .08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.announcement-article {
  margin: 0;
  background:
    radial-gradient(circle at 78% 8%, rgba(0, 141, 139, .08), transparent 28%),
    linear-gradient(180deg, #fff 0, var(--paper) 72%, #fff 100%);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  letter-spacing: 0;
  line-height: 1.75;
}

a {
  color: inherit;
}

.aa-header {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 clamp(16px, 4vw, 48px);
  border-bottom: 1px solid rgba(7, 26, 68, .1);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);
}

.aa-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.aa-brand-mark {
  position: relative;
  width: 38px;
  height: 38px;
  border: 3px solid var(--ink);
  border-radius: 12px 4px 4px 12px;
}

.aa-brand-mark::before,
.aa-brand-mark::after {
  content: "";
  position: absolute;
  border: 2px solid var(--ink);
  border-left: 0;
  border-radius: 0 999px 999px 0;
}

.aa-brand-mark::before {
  width: 16px;
  height: 20px;
  left: 27px;
  top: 6px;
}

.aa-brand-mark::after {
  width: 24px;
  height: 30px;
  left: 32px;
  top: 1px;
  opacity: .45;
}

.aa-brand b {
  display: block;
  font-size: 23px;
  line-height: 1.1;
  font-weight: 950;
}

.aa-brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.aa-header nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.aa-header nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  color: #12233f;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
}

.aa-header nav .aa-nav-primary {
  min-width: 148px;
  justify-content: center;
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
  box-shadow: 0 12px 24px rgba(0, 141, 139, .2);
}

.aa-layout {
  width: min(1480px, calc(100% - 42px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 48px;
  align-items: start;
  margin: 0 auto;
  padding: 28px 0 0;
}

.aa-main {
  min-width: 0;
}

.aa-breadcrumb {
  margin: 0 0 20px;
  color: #506079;
  font-size: 15px;
  font-weight: 850;
}

.aa-breadcrumb a {
  text-decoration: none;
}

.aa-breadcrumb span {
  padding: 0 10px;
  color: #99a6b7;
}

.aa-hero {
  min-height: 430px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 28px;
  align-items: center;
}

.aa-kicker {
  width: fit-content;
  margin: 0 0 16px;
  padding: 7px 14px;
  border: 1px solid rgba(0, 141, 139, .25);
  border-radius: 999px;
  background: #effdfc;
  color: var(--teal-dark);
  font-size: 15px;
  font-weight: 950;
}

.aa-hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(56px, 6vw, 90px);
  line-height: 1.04;
  font-weight: 950;
}

.aa-lead {
  width: fit-content;
  margin: 16px 0 0;
  padding-bottom: 4px;
  border-bottom: 8px solid rgba(245, 194, 70, .75);
  color: #0e1f3a;
  font-size: clamp(23px, 2.3vw, 34px);
  line-height: 1.35;
  font-weight: 950;
}

.aa-summary {
  max-width: 800px;
  margin: 18px 0 0;
  color: #273952;
  font-size: 19px;
  font-weight: 760;
}

.aa-hero-actions,
.aa-card-actions,
.aa-row-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.aa-hero-actions {
  margin-top: 26px;
}

.aa-button,
.aa-card-actions a,
.aa-card-actions button,
.aa-row-actions a,
.aa-row-actions button {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 24px;
  font: inherit;
  font-size: 18px;
  font-weight: 950;
  text-decoration: none;
  cursor: pointer;
}

.aa-button-primary,
.aa-card-actions a,
.aa-row-actions a {
  border: 1px solid var(--teal);
  background: linear-gradient(135deg, var(--teal), #00a79e);
  color: #fff;
  box-shadow: 0 14px 28px rgba(0, 141, 139, .18);
}

.aa-button-outline,
.aa-card-actions button,
.aa-row-actions button {
  border: 2px solid var(--teal);
  background: #fff;
  color: var(--teal-dark);
}

.aa-hero-visual {
  position: relative;
  min-height: 260px;
  opacity: .55;
}

.aa-speaker {
  position: absolute;
  right: 28px;
  top: 54px;
  width: 142px;
  height: 130px;
  border: 8px solid #bfc8d2;
  border-radius: 999px 28px 28px 999px;
  transform: rotate(-8deg);
}

.aa-speaker::before {
  content: "";
  position: absolute;
  left: 34px;
  top: 38px;
  width: 52px;
  height: 38px;
  border: 6px solid #bfc8d2;
  border-radius: 50%;
}

.aa-speaker::after {
  content: "";
  position: absolute;
  left: 28px;
  top: 120px;
  width: 70px;
  height: 52px;
  border: 7px solid #bfc8d2;
  border-top: 0;
  border-radius: 0 0 32px 32px;
}

.aa-wave {
  position: absolute;
  border: 5px solid #bfc8d2;
  border-left: 0;
  border-radius: 0 999px 999px 0;
}

.aa-wave-one {
  left: 0;
  top: 105px;
  width: 32px;
  height: 48px;
}

.aa-wave-two {
  left: 36px;
  top: 86px;
  width: 54px;
  height: 86px;
}

.aa-scene-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 6px;
}

.aa-scene-strip a {
  min-height: 110px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 20px;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(7, 26, 68, .04);
}

.aa-scene-strip b,
.aa-scene-strip small {
  display: block;
}

.aa-scene-strip b {
  font-size: 22px;
  line-height: 1.25;
  font-weight: 950;
}

.aa-scene-strip small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 820;
}

.scene-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eef4ff;
}

.scene-icon::before {
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  border: 4px solid currentColor;
}

.scene-icon.close {
  color: var(--blue);
}

.scene-icon.close::before {
  border-radius: 50%;
  box-shadow: inset 8px 0 0 transparent;
}

.scene-icon.sale {
  color: var(--amber);
}

.scene-icon.sale::before {
  border-radius: 6px;
  transform: rotate(45deg);
}

.scene-icon.call {
  color: var(--green);
}

.scene-icon.call::before {
  border-radius: 999px 999px 8px 8px;
  border-bottom-width: 7px;
}

.scene-icon.lost {
  color: var(--violet);
}

.scene-icon.lost::before {
  width: 30px;
  border-radius: 50%;
  box-shadow: 18px 0 0 -7px #fff, 18px 0 0 -3px currentColor;
}

.scene-icon.notice {
  color: #c2471d;
}

.scene-icon.notice::before {
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-bottom: 28px solid currentColor;
  border-top: 0;
}

.aa-card,
.aa-example-card,
.aa-side-box,
.aa-example-row {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 30px rgba(7, 26, 68, .05);
}

.aa-section,
.aa-card,
.aa-answer {
  margin-top: 34px;
}

.aa-answer {
  padding: 24px;
}

.aa-answer h2,
.aa-section-head h2,
.aa-card-head h2,
.aa-tool-band h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.25;
  font-weight: 950;
}

.aa-answer p {
  margin: 10px 0 0;
  color: #2c3d55;
  font-size: 18px;
  font-weight: 760;
}

.aa-formula {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.aa-formula span {
  min-height: 54px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #effdfc;
  color: var(--teal-dark);
  font-size: 18px;
  font-weight: 950;
}

.aa-replace-note {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-top: 16px;
  padding: 16px;
  border: 1px solid rgba(223, 135, 0, .38);
  border-radius: 8px;
  background: #fff9eb;
}

.aa-replace-note b {
  color: #9a5900;
  font-size: 18px;
  font-weight: 950;
}

.aa-replace-note p {
  margin: 0;
  color: #3f4f65;
  font-size: 16px;
  font-weight: 780;
}

.aa-section-head {
  margin-bottom: 18px;
}

.aa-section-head p,
.aa-card-head p,
.aa-tool-band p {
  margin: 0 0 6px;
  color: var(--teal-dark);
  font-size: 16px;
  font-weight: 950;
}

.aa-timeline {
  position: relative;
  display: grid;
  gap: 14px;
}

.aa-timeline::before {
  content: "";
  position: absolute;
  left: 44px;
  top: 18px;
  bottom: 18px;
  width: 4px;
  border-radius: 999px;
  background: var(--teal);
}

.aa-example-row {
  position: relative;
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  min-height: 116px;
  padding: 16px 18px;
}

.aa-time {
  position: relative;
  color: var(--teal-dark);
  font-size: 24px;
  font-weight: 950;
  text-align: right;
}

.aa-time::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 50%;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--teal);
  transform: translateY(-50%);
}

.aa-example-body h3 {
  margin: 0 0 4px;
  font-size: 19px;
  line-height: 1.35;
}

.aa-example-body p,
.aa-example-card > p {
  margin: 0;
  color: #22344d;
  font-size: 17px;
  font-weight: 760;
}

.aa-row-actions {
  justify-content: flex-end;
}

.aa-row-actions a,
.aa-row-actions button {
  min-height: 46px;
  padding: 0 16px;
  font-size: 15px;
  white-space: nowrap;
}

.aa-grid-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.aa-example-card {
  display: grid;
  gap: 16px;
  align-content: start;
  padding: 22px;
}

.aa-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.aa-card-head h2 {
  font-size: 26px;
}

.aa-card-actions a,
.aa-card-actions button {
  min-height: 48px;
  padding: 0 16px;
  font-size: 15px;
}

.aa-tips {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.aa-tips article {
  min-height: 178px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
}

.aa-tips b {
  display: block;
  margin-bottom: 8px;
  color: var(--teal-dark);
  font-size: 19px;
  line-height: 1.35;
}

.aa-tips p {
  margin: 0;
  color: #4a5b70;
  font-size: 15px;
  font-weight: 760;
}

.aa-check {
  display: grid;
  gap: 12px;
  padding: 24px;
  border: 1px solid #f0cf8a;
  border-radius: 8px;
  background: #fff8ea;
}

.aa-check label {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid #efd28f;
  border-radius: 8px;
  background: #fff;
  color: #2d3d55;
  font-size: 17px;
  font-weight: 850;
}

.aa-check input {
  width: 22px;
  height: 22px;
  accent-color: var(--teal);
  flex: 0 0 auto;
}

.aa-tool-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  align-items: center;
  padding: 24px;
  border: 1px solid rgba(0, 141, 139, .32);
  border-radius: 8px;
  background: #effdfc;
}

.aa-tool-band span {
  display: block;
  margin-top: 8px;
  color: #405168;
  font-size: 17px;
  font-weight: 760;
}

.aa-ref-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.aa-ref-grid a {
  min-height: 132px;
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: #184f8a;
  text-decoration: none;
}

.aa-ref-grid b {
  color: #162b45;
  font-size: 18px;
}

.aa-ref-grid span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 760;
}

.aa-faq details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.aa-faq details + details {
  margin-top: 10px;
}

.aa-faq summary {
  padding: 18px;
  font-size: 18px;
  font-weight: 950;
  cursor: pointer;
}

.aa-faq p {
  margin: 0;
  padding: 0 18px 18px;
  color: #4b5d73;
  font-weight: 760;
}

.aa-side {
  position: sticky;
  top: 16px;
  display: grid;
  gap: 14px;
}

.aa-side-box {
  padding: 20px;
}

.aa-side-box h2 {
  margin: 0 0 14px;
  font-size: 24px;
  line-height: 1.25;
}

.aa-side-check p {
  margin: 0 0 14px;
  color: #35475f;
  font-size: 16px;
  font-weight: 760;
}

.aa-side-check ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.aa-side-check li {
  min-height: 50px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 42px;
  gap: 10px;
  align-items: center;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.aa-side-check span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #eefafa;
  color: var(--teal-dark);
  font-weight: 950;
}

.aa-side-check b {
  font-size: 16px;
}

.aa-side-check em {
  color: var(--green);
  font-style: normal;
  font-weight: 950;
  text-align: right;
}

.aa-side-tool label {
  display: grid;
  gap: 6px;
  margin-top: 12px;
  color: #32445b;
  font-weight: 900;
}

.aa-side-tool select {
  width: 100%;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
}

.aa-side-tool a {
  min-height: 56px;
  display: grid;
  place-items: center;
  margin-top: 16px;
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
  font-weight: 950;
  text-decoration: none;
}

.aa-side-tool p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
}

.aa-side-index a {
  min-height: 40px;
  display: flex;
  align-items: center;
  border-top: 1px solid var(--line);
  color: #29527e;
  font-weight: 900;
  text-decoration: none;
}

.aa-toast {
  position: fixed;
  left: 50%;
  bottom: 20px;
  z-index: 10;
  min-width: 180px;
  padding: 12px 18px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 15px;
  font-weight: 950;
  text-align: center;
  opacity: 0;
  transform: translate(-50%, 14px);
  transition: opacity .2s ease, transform .2s ease;
  pointer-events: none;
}

.aa-toast.is-show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.aa-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-top: 44px;
  padding: 30px 16px;
  border-top: 1px solid var(--line);
  background: #fff;
  color: #5d6877;
  font-size: 14px;
  font-weight: 850;
}

@media (max-width: 1200px) {
  .aa-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .aa-side {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .aa-ref-grid,
  .aa-tips {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .aa-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 12px 14px;
  }

  .aa-header nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .aa-header nav a {
    flex: 0 0 auto;
    min-height: 36px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    white-space: nowrap;
  }

  .aa-header nav .aa-nav-primary {
    border-radius: 999px;
    background: var(--teal);
  }

  .aa-layout {
    width: calc(100% - 20px);
    padding-top: 18px;
  }

  .aa-hero {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
  }

  .aa-hero h1 {
    font-size: 42px;
  }

  .aa-lead {
    font-size: 22px;
  }

  .aa-summary {
    font-size: 17px;
  }

  .aa-hero-visual {
    display: none;
  }

  .aa-hero-actions .aa-button {
    width: 100%;
  }

  .aa-scene-strip,
  .aa-grid-two,
  .aa-formula,
  .aa-replace-note,
  .aa-tool-band,
  .aa-side,
  .aa-ref-grid,
  .aa-tips {
    grid-template-columns: minmax(0, 1fr);
  }

  .aa-example-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding-left: 18px;
  }

  .aa-timeline::before,
  .aa-time::before {
    display: none;
  }

  .aa-time {
    text-align: left;
  }

  .aa-row-actions a,
  .aa-row-actions button,
  .aa-card-actions a,
  .aa-card-actions button {
    width: 100%;
  }

  .aa-check {
    padding: 16px;
  }
}
