/* AWT shared styles: core/awt-base.css
   Moved from awt-common.css; values and selector scope preserved, 2026-09-22. */

@import url("https://fonts.googleapis.com/css2?family=Yuji+Syuku&display=swap");

.awt-page {
  color: var(--awt-text);
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Hiragino Sans",
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    "YuGothic",
    "Noto Sans JP",
    sans-serif;
  font-size: 17px;
  line-height: 1.9;
  letter-spacing: .01em;
  overflow-wrap: anywhere;
}

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

.awt-page img {
  display: block;
  max-width: 100%;
  height: auto;
}

.awt-page p {
  margin: 0 0 1.15em;
}

.awt-page strong {
  color: var(--awt-navy);
  font-weight: 800;
}

.awt-page a:not(.awt-btn):not(.awt-card):not(.awt-link-card) {
  color: var(--awt-blue);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
}

.awt-page a:not(.awt-btn):not(.awt-card):not(.awt-link-card):hover {
  color: #1c648f;
}

.awt-page h1 {
  margin: 0 0 18px;
  padding: 0 !important;
  color: var(--awt-navy) !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  font-size: clamp(30px, 3.1vw, 42px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -.02em;
}

.awt-page h1::before,
.awt-page h1::after {
  content: none !important;
  display: none !important;
}

.awt-page h2 {
  margin: 2.4em 0 .85em;
  padding: 2px 0 2px 15px !important;
  color: var(--awt-navy) !important;
  background: none !important;
  border: 0 !important;
  border-left: 4px solid var(--awt-guide-accent, var(--awt-green)) !important;
  box-shadow: none !important;
  font-size: clamp(23px, 2.2vw, 29px);
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: -.015em;
}

.awt-page h2::before,
.awt-page h2::after {
  content: none !important;
  display: none !important;
}

.awt-page h3 {
  margin: 2em 0 .75em;
  padding: 0 0 8px !important;
  color: var(--awt-navy) !important;
  background: none !important;
  border: 0 !important;
  border-bottom: 1px solid var(--awt-border) !important;
  box-shadow: none !important;
  font-size: clamp(19px, 1.8vw, 23px);
  font-weight: 800;
  line-height: 1.5;
}

.awt-page h3::before,
.awt-page h3::after {
  content: none !important;
  display: none !important;
}

.awt-page h4 {
  position: relative;
  margin: 1.7em 0 .65em;
  padding: 0 0 0 14px !important;
  color: var(--awt-navy) !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.55;
}

.awt-page h4::before {
  position: absolute;
  top: .55em;
  left: 0;
  width: 6px;
  height: 6px;
  content: "";
  background: var(--awt-guide-accent, var(--awt-green));
  border-radius: 50%;
}

.awt-page h4::after {
  content: none !important;
  display: none !important;
}

.awt-page :where(ul, ol) {
  margin: 1em 0 1.4em;
  padding-left: 1.5em;
}

.awt-page li {
  margin: .35em 0;
}

.awt-page li::marker {
  color: var(--awt-guide-accent, var(--awt-green));
  font-weight: 800;
}

.awt-page blockquote {
  margin: 1.5em 0;
  padding: 16px 18px;
  color: #4f626c;
  background: var(--awt-bg-soft);
  border: 0;
  border-left: 4px solid var(--awt-border);
  border-radius: 0 var(--awt-radius-sm) var(--awt-radius-sm) 0;
}

.awt-page blockquote > :last-child {
  margin-bottom: 0;
}

.awt-page .awt-table-wrap {
  overflow-x: auto;
  margin: 1.5em 0;
  -webkit-overflow-scrolling: touch;
}

.awt-page table {
  width: 100%;
  min-width: 620px;
  margin: 0;
  border-collapse: collapse;
  background: #fff;
}

.awt-page th,
.awt-page td {
  padding: 12px 14px;
  border: 1px solid var(--awt-border);
  text-align: left;
  vertical-align: top;
}

.awt-page th {
  color: var(--awt-navy);
  background: var(--awt-green-soft);
  font-weight: 800;
}

@media (max-width: 600px) {
.awt-page {
    font-size: 16px;
    line-height: 1.85;
  }
}

@media (max-width: 600px) {
.awt-page h1 {
    margin-bottom: 14px;
    font-size: 28px;
  }
}

@media (max-width: 600px) {
.awt-page h2 {
    margin-top: 2.1em;
    padding-left: 12px !important;
    font-size: 22px;
  }
}

@media (max-width: 600px) {
.awt-page h3 {
    font-size: 19px;
  }
}

@media (max-width: 600px) {
.awt-page h4 {
    font-size: 17px;
  }
}
