@charset "UTF-8";
/* Executo 米国株 LP
   参考トーン: mdolp.autore.jp（Sawarabi Gothic + ティール + 帯交互）
   本体UIブランドの紺(#0a2855)も差し色で取り入れる */

:root {
  --color-text: #333;
  --color-muted: #666;
  --color-border: #ccc;
  --color-bg: #ffffff;
  --color-bg-alt: #EEF2F2;
  --color-accent: #04A6AA;       /* CTA */
  --color-accent-strong: #0F8279;
  --color-accent-bullet: #06BFBF;
  --color-navy: #0a2855;         /* 本体UIに合わせた紺 */
  --color-navy-deep: #043A75;
  --color-blue-mid: #0984AA;
  --color-blue-light: #5AB5D1;
  --color-highlight: #DAF955;
  --color-footer: #313233;
  --color-card: #f9f9f9;
  --shadow-card: 1px 1px 3px #ccc;
  --shadow-btn: 3px 3px 0 #333;
  --max-width: 1000px;
}

* { box-sizing: border-box; }

body {
  color: var(--color-text);
  font-family: "Sawarabi Gothic", "ヒラギノ角ゴ ProN W3",
               "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ Pro W3",
               "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo",
               Helvetica, Arial, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-size: 1.06rem;
  line-height: 1.6;
  margin: 0 auto;
  padding: 0;
  -webkit-text-size-adjust: 100%;
  font-weight: 300;
  background-color: #fff;
}

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

a { color: var(--color-blue-mid); }
a:hover { text-decoration: none; }

strong {
  background: linear-gradient(transparent 60%, var(--color-highlight) 60%);
  font-weight: normal;
}

/* === Layout === */
section.contents,
section.contents-alt {
  margin: 0 auto 60px;
  padding: 6%;
}
section.contents-alt {
  background-color: var(--color-bg-alt);
}

.inbox {
  margin: 0 auto;
}

/* === Header / Hero === */
.site-header {
  margin: 0 auto;
  padding: 0;
  background:
    linear-gradient(180deg, rgba(10, 40, 85, 0.55), rgba(10, 40, 85, 0.85)),
    url("../img/hero-chart.svg") center / cover no-repeat,
    var(--color-navy);
  color: #fff;
}
.main-lead {
  margin: 0 auto;
  text-align: center;
  padding: 12% 5% 8%;
}
.main-lead .eyebrow {
  margin: 0 0 6px;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  opacity: 0.9;
}
.main-lead .ttl-main {
  margin: 0;
  padding: 16px 0 4px;
  line-height: 1.35;
  text-align: center;
  font-size: clamp(1.5rem, 3.6vw, 2.4rem);
}
.main-lead .ttl-main .brand-logo {
  display: inline-block;
  width: auto;
  height: clamp(34px, 6.4vw, 60px);
  vertical-align: middle;
  margin-right: 0.18em;
}
.main-lead .ttl-main .brand-sub {
  vertical-align: middle;
  font-weight: bold;
}
.main-lead .ttl-main small {
  display: block;
  font-size: 0.55em;
  opacity: 0.85;
  margin-top: 8px;
  letter-spacing: 0.06em;
}
.main-lead .hero-cta {
  display: inline-flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
  justify-content: center;
}
.main-lead .hero-cta a {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: var(--shadow-btn);
}
.main-lead .hero-cta a.primary {
  background: var(--color-accent);
  color: #fff;
}
.main-lead .hero-cta a.ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.4);
}

/* === Titles === */
.ttl-second {
  position: relative;
  margin: 0 0 1.4em;
  text-align: center;
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  line-height: 1.45;
}
.ttl-third {
  text-align: center;
  border-top: 2px dotted var(--color-border);
  padding-top: 40px;
  margin-top: 60px;
}
.ttl-normal {
  margin: 0 5px 6px;
  font-size: 100%;
}

/* === Buttons === */
.btn-row {
  margin: 40px auto 0;
  text-align: center;
}
.btn-row a,
.btn {
  background: var(--color-accent);
  border-radius: 6px;
  color: #fff;
  display: inline-block;
  font-weight: bold;
  text-decoration: none;
  box-shadow: var(--shadow-btn);
  padding: 14px 28px;
  text-align: center;
  position: relative;
}
.btn-row a::after,
.btn::after {
  content: " →";
}
.btn-row a:hover,
.btn:hover {
  margin: 4px 0 0 4px;
  box-shadow: 0 0 0 transparent;
}
.btn-back {
  margin: 60px auto 30px;
  text-align: center;
}
.btn-back a {
  display: inline-block;
  border: 1px solid #efefef;
  border-radius: 6px;
  color: #333;
  font-weight: bold;
  text-decoration: none;
  box-shadow: var(--shadow-btn);
  padding: 14px 24px;
}

/* === Lists === */
ol.canlist {
  list-style: none;
  margin: 0;
  padding: 0;
}
ol.canlist > li {
  margin-bottom: 60px;
}
ol.canlist > li:last-child {
  margin-bottom: 0;
}
ol.canlist > li h3 {
  box-shadow: var(--shadow-card);
  background-color: var(--color-card);
  padding: 10px 14px;
  text-align: center;
  margin: 0 0 24px;
  font-size: 1.1rem;
  border-left: 4px solid var(--color-accent);
}

ol.flow {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: flow;
}
ol.flow > li {
  margin-bottom: 40px;
  position: relative;
  padding-left: 0;
}
ol.flow > li h3 {
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.15rem;
}
ol.flow > li h3::before {
  counter-increment: flow;
  content: counter(flow);
  background-color: var(--color-accent-bullet);
  border-radius: 999px;
  padding: 2px 12px 4px;
  color: #fff;
  font-size: 0.95em;
  display: inline-block;
  min-width: 1.7em;
  text-align: center;
}
ol.flow li p {
  margin: 0 0 6px;
}
ol.flow .step-screenshot {
  margin: 16px 0 0;
  border: 1px solid #e3e6ea;
  box-shadow: 4px 4px 0 #efefef;
}

/* === Tables === */
.scrollbox {
  display: block;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 30px;
}
.spmemo {
  font-size: 90%;
  margin: 0;
  padding: 5px 0;
  color: var(--color-muted);
}

table.t-broker {
  border-right: 1px solid #B3B3B3;
  width: 100%;
  border-collapse: collapse;
}
table.t-broker th {
  border-left: 1px solid #fff;
  background-color: var(--color-accent-strong);
  color: #fff;
  padding: 16px;
  text-align: center;
  white-space: nowrap;
}
table.t-broker td {
  border-left: 1px solid #B3B3B3;
  border-bottom: 1px solid #B3B3B3;
  padding: 12px;
  text-align: center;
  white-space: nowrap;
}
table.t-broker td.gy { background-color: #F2F2F2; color: var(--color-muted); }

table.t-price {
  width: 100%;
  border-collapse: collapse;
}
table.t-price th {
  font-weight: normal;
  padding: 1.5%;
  text-align: center;
}
table.t-price td {
  padding: 1.5%;
  text-align: center;
  border-bottom: 1px solid #ccc;
  border-right: 1px solid #ccc;
  background: #fff;
}
table.t-price td:first-child { border-left: 1px solid #ccc; }
table.t-price tr:first-child td { border-top: 1px solid #ccc; }
table.t-price .ggy { background-color: #CCCCCC; }
table.t-price .bl1 { background-color: #85C8DD; }
table.t-price .bl2 { background-color: #5AB5D1; }
table.t-price .bl3 { background-color: var(--color-blue-mid); color: #fff; }
table.t-price .bl4 { background-color: var(--color-blue-mid); color: #fff; }
table.t-price .bl5 { background-color: var(--color-navy-deep); color: #fff; }

table.t-meta {
  width: 100%;
  border-collapse: collapse;
  border-bottom: 1px solid #ccc;
  border-right: 1px solid #ccc;
}
table.t-meta th {
  background-color: #cccccc;
  border-top: 1px solid #ccc;
  border-left: 1px solid #ccc;
  padding: 1.2%;
  font-weight: normal;
}
table.t-meta td {
  padding: 1.2%;
  border-top: 1px solid #ccc;
  border-left: 1px solid #ccc;
  background-color: #fff;
  text-align: center;
}

/* === Misc === */
.annotation {
  margin: 0;
  padding: 4px 0;
  color: var(--color-muted);
  font-size: 0.92em;
}
.notice {
  border: 1px solid #d8e0e2;
  background: #f5f9fa;
  padding: 16px 20px;
  border-radius: 6px;
  margin: 20px 0;
}
.notice h3 {
  margin: 0 0 8px;
  color: var(--color-accent-strong);
  font-size: 1rem;
}
.notice ul, .notice ol {
  margin: 0;
  padding-left: 1.4em;
}

.codebox {
  background: #0e1116;
  color: #f0f4f7;
  padding: 14px 16px;
  border-radius: 6px;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.95em;
  overflow-x: auto;
  margin: 12px 0;
  white-space: pre;
}

.flow-summary {
  list-style: decimal inside;
  background: #fff;
  border: 1px solid #d8e0e2;
  border-radius: 6px;
  padding: 18px 22px;
  margin: 0 0 20px;
}
.flow-summary li { margin-bottom: 6px; }

.lead {
  font-size: 1.05em;
  margin: 0 0 1.4em;
}

.figure {
  margin: 18px 0;
}
.figure img {
  border: 1px solid #e3e6ea;
  box-shadow: 4px 4px 0 #efefef;
  width: 100%;
}
.figure figcaption {
  font-size: 0.9em;
  color: var(--color-muted);
  margin-top: 6px;
  text-align: center;
}

.flow-toc {
  background: #fff;
  border: 2px dashed #cdd5d8;
  padding: 18px 24px;
  border-radius: 6px;
  margin: 20px auto 30px;
}
.flow-toc h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}
.flow-toc ol {
  margin: 0;
  padding-left: 1.4em;
}
.flow-toc ol li { margin-bottom: 4px; }

.cta-banner {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-strong));
  color: #fff;
  padding: 28px 24px;
  border-radius: 8px;
  text-align: center;
  margin: 30px auto;
}
.cta-banner h3 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 1.2rem;
}
.cta-banner p {
  margin: 0 0 18px;
  opacity: 0.92;
}
.cta-banner a {
  background: #fff;
  color: var(--color-accent-strong);
  padding: 12px 28px;
  border-radius: 4px;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  box-shadow: 3px 3px 0 rgba(0,0,0,0.2);
}

/* === Footer === */
.site-footer {
  background-color: var(--color-footer);
  color: #fff;
  font-size: 0.78em;
  padding: 24px 4%;
}
.site-footer .footer-logo {
  display: block;
  height: 26px;
  width: auto;
  margin: 0 auto 14px;
  opacity: 0.92;
}
.site-footer ul {
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
}
.site-footer ul li a {
  text-decoration: none;
  color: #fff;
}
.site-footer ul li a:hover { text-decoration: underline; }
.site-footer ul.legal {
  gap: 8px 16px;
  margin-top: 4px;
  font-size: 0.92em;
  opacity: 0.82;
}
.site-footer ul.legal li {
  position: relative;
}
.site-footer ul.legal li + li::before {
  content: "｜";
  position: absolute;
  left: -10px;
  opacity: 0.5;
}
.site-footer .copyright {
  text-align: center;
  margin-top: 8px;
  opacity: 0.75;
}

/* === Responsive === */
br.pc { display: none; }

@media screen and (min-width: 768px) {
  br.sp { display: none; }
  .spmemo { display: none; }
  .site-header { padding: 4%; text-align: center; }
  .main-lead { padding: 8% 5% 6%; }
  section.contents,
  section.contents-alt {
    padding-left: 12%;
    padding-right: 12%;
  }
  ol.canlist > li { margin-bottom: 90px; }
  ol.flow > li { margin-bottom: 50px; }
}

@media screen and (min-width: 980px) {
  body { line-height: 1.8; }
  br.pc { display: block; }
  .inbox,
  section.contents,
  section.contents-alt {
    width: 100%;
  }
  section.contents > .inbox,
  section.contents-alt > .inbox {
    max-width: var(--max-width);
    margin: 0 auto;
  }
  section.contents,
  section.contents-alt {
    padding-left: 0;
    padding-right: 0;
    padding-top: 64px;
    padding-bottom: 64px;
  }
}
