@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;600;700&display=swap");
:root {
  font-family: "Noto Sans JP", sans-serif;
  color: #222;
  background: #f7f7f5;
  font-synthesis: none;
  --line: #e8e8e5;
  --muted: #555;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-underline-offset: 5px;
}
header,
main,
footer {
  max-width: 1240px;
  margin: auto;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 40px;
  border-bottom: 1px solid var(--line);
}
.brand {
  font-size: 29px;
  font-weight: 700;
  letter-spacing: -1.5px;
  text-decoration: none;
}
.brand span {
  font-size: 10px;
  letter-spacing: 2.5px;
  margin-left: 18px;
  font-weight: 500;
}
.header-links {
  display: flex;
  gap: 24px;
  align-items: center;
  font-size: 12px;
}
.badge {
  font-size: 10px;
  letter-spacing: 1px;
  border: 1px solid #d5d5d2;
  padding: 7px 10px;
}
main {
  padding: 64px 40px 40px;
}
.intro {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: end;
  column-gap: 50px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--muted);
}
.intro .eyebrow {
  grid-column: 1/-1;
}
h1 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.45;
  letter-spacing: -1px;
  font-weight: 500;
  margin: 20px 0 0;
}
.intro > p {
  font-size: 14px;
  line-height: 2.2;
  color: var(--muted);
  margin: 0 0 8px;
}
.intro > p::before {
  content: "";
  display: block;
  width: 32px;
  height: 1px;
  background: #222;
  margin-bottom: 22px;
}
nav {
  display: flex;
  gap: 42px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  margin: 42px 0 24px;
  font-size: 12px;
}
nav b {
  font-size: 10px;
  color: #666;
  margin-right: 12px;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}
.import-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 0 0 26px;
  margin-bottom: 8px;
  font-size: 12px;
}
.import-bar strong {
  font-weight: 500;
}
.import-bar p {
  margin: 6px 0 0;
}
.file-label {
  max-width: 260px;
  font-size: 11px;
}
.file-label input {
  font-size: 11px;
  padding: 8px;
  background: transparent;
}
.file-label input::file-selector-button {
  background: #fff;
  border: 1px solid #ccc;
  padding: 7px;
  margin-right: 10px;
  color: #222;
}
.workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
section {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 30px;
  margin-bottom: 24px;
}
.section-heading {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 25px;
}
.section-heading > span {
  color: #666;
  font-size: 11px;
  border-right: 1px solid #ccc;
  padding-right: 14px;
  font-variant-numeric: tabular-nums;
}
h2 {
  font-size: 18px;
  font-weight: 500;
  margin: 0;
  letter-spacing: 0.3px;
}
h3 {
  font-size: 16px;
  font-weight: 500;
  margin: 0 0 8px;
}
.strategy {
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid #222;
  padding: 20px;
  background: #fafaf9;
  position: relative;
}
.strategy p {
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
  margin: 0;
}
.strategy-icon {
  font-size: 28px;
  font-weight: 400;
}
.selected {
  font-size: 10px;
  white-space: nowrap;
  margin-left: auto;
  background: #222;
  color: #fff;
  padding: 4px 8px;
}
.hint,
small {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}
small {
  font-weight: 400;
}
.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 20px;
}
.field-group-title {
  grid-column: 1/-1;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
  margin-top: 8px;
}
.field-group-title:first-child {
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
}
.field-group-title h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}
.field-group-title span {
  font-size: 9px;
  color: #666;
  letter-spacing: 1.5px;
}
.wide {
  grid-column: 1/-1;
}
label {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 13px;
  font-weight: 500;
}
.fields p {
  margin: 0;
}
input,
select {
  font: inherit;
  font-size: 16px;
  color: #222;
  border: 1px solid #d3d3d0;
  border-radius: 2px;
  background: #fff;
  padding: 13px;
  width: 100%;
  min-width: 0;
  min-height: 48px;
}
input:hover,
select:hover {
  border-color: #888;
}
:focus-visible {
  outline: 2px solid #222;
  outline-offset: 4px;
}
input:disabled {
  background: #f4f4f2;
  color: #666;
}
.check {
  flex-direction: row;
  align-items: center;
  padding: 14px;
  background: #f7f7f5;
}
.check input {
  width: 17px;
  height: 17px;
  min-height: 0;
  accent-color: #222;
}
.preview {
  border-top: 3px solid #222;
  background: #fff;
}
.preview .section-heading {
  margin-bottom: 20px;
}
.live {
  font-size: 11px;
  color: #555;
}
.live::first-letter {
  color: #222;
}
#ea-name {
  font-size: 26px;
  font-weight: 500;
  overflow-wrap: anywhere;
  margin: 24px 0 18px;
}
#summary {
  font-size: 13px;
  line-height: 1.95;
  padding: 0;
  list-style: none;
  color: #444;
}
#summary li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  margin: 0;
}
.note {
  font-size: 12px;
  line-height: 1.9;
  background: #f3f3f1;
  border-left: 2px solid #888;
  padding: 14px 16px;
  color: #555;
  margin-top: 20px;
}
button {
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  width: 100%;
  padding: 17px;
  border: 1px solid #222;
  border-radius: 2px;
  background: #222;
  color: #fff;
  margin-top: 22px;
  min-height: 48px;
  transition: background 0.15s;
}
button span {
  float: right;
}
button:hover {
  background: #414141;
}
button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.secondary {
  background: #fff;
  color: #333;
  border: 1px solid #d3d3d0;
  font-size: 12px;
  margin-top: 10px;
  padding: 13px;
}
.secondary:hover {
  background: #f1f1ef;
}
.download-caption {
  text-align: center;
  font-size: 11px;
  color: #555;
  margin: 10px 0 0;
}
.save-group {
  border-top: 1px solid var(--line);
  margin-top: 26px;
  padding-top: 20px;
}
.save-group h3 {
  font-size: 12px;
  margin: 0;
  font-weight: 600;
}
.save-group p {
  margin: 7px 0 4px;
}
.action-link {
  display: block;
  text-align: center;
  font-size: 12px;
  padding: 13px 0;
  margin: 12px 0;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.action-link:hover {
  color: #666;
}
details {
  border-top: 1px solid var(--line);
  margin-top: 22px;
  padding-top: 18px;
  font-size: 13px;
}
summary {
  cursor: pointer;
  line-height: 1.8;
}
details label {
  margin-top: 18px;
}
#errors {
  font-size: 13px;
  color: #b42318;
  line-height: 1.8;
}
#status {
  font-size: 12px;
  color: #333;
  line-height: 1.8;
}
pre {
  max-height: 300px;
  overflow: auto;
  background: #f7f7f5;
  padding: 14px;
  font-size: 11px;
}
.next {
  background: transparent;
  border: 0;
  border-top: 1px solid #ccc;
  padding: 30px 0;
  margin-top: 24px;
}
.next p {
  font-size: 13px;
  line-height: 2;
}
.next h2 {
  font-size: 20px;
}
footer {
  border-top: 1px solid var(--line);
  padding: 25px 40px 35px;
  font-size: 11px;
  color: #555;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  text-align: left;
}
th,
td {
  padding: 12px 8px;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}
th {
  font-weight: 500;
  width: 45%;
  color: #555;
}
.guide-page {
  max-width: 960px;
  font-size: 14px;
  line-height: 2;
}
.guide-page > p {
  color: #555;
}
.guide-page section {
  padding: 36px;
  scroll-margin-top: 24px;
}
.guide-page h2 {
  margin-bottom: 24px;
}
.guide-page h3 {
  margin-top: 30px;
}
.guide-page nav {
  flex-wrap: wrap;
  gap: 24px;
}
.guide-page li {
  margin: 14px 0;
  padding-left: 5px;
}
.guide-page dt {
  font-weight: 600;
  margin-top: 28px;
}
.guide-page dd {
  margin: 8px 0;
  color: #555;
}
.guide-page code {
  overflow-wrap: anywhere;
}
.guide-page .action-link {
  background: #222;
  color: #fff;
  padding: 15px;
  max-width: 260px;
  margin: 30px auto;
  text-decoration: none;
}
@media (min-width: 1000px) and (min-height: 1000px) {
  .workspace > aside {
    position: sticky;
    top: 20px;
  }
}
@media (max-width: 900px) {
  header {
    padding: 24px;
  }
  main {
    padding: 40px 24px;
  }
  .workspace {
    gap: 20px;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  }
  section {
    padding: 22px;
  }
  .intro {
    column-gap: 24px;
  }
  .intro > p {
    font-size: 12px;
  }
  .fields {
    gap: 20px 14px;
  }
  .selected {
    display: none;
  }
}
@media (max-width: 700px) {
  header {
    padding: 20px;
  }
  .brand {
    font-size: 25px;
  }
  .brand span {
    font-size: 8px;
    margin-left: 12px;
  }
  .header-links {
    font-size: 11px;
  }
  .header-links .badge {
    display: none;
  }
  main {
    padding: 36px 20px;
  }
  .intro {
    grid-template-columns: 1fr;
  }
  .intro > p {
    font-size: 13px;
    margin-top: 24px;
  }
  .intro > p::before {
    display: none;
  }
  h1 {
    font-size: 36px;
    letter-spacing: -0.6px;
  }
  nav {
    margin: 30px 0 22px;
    gap: 18px;
    font-size: 11px;
  }
  nav b {
    margin-right: 7px;
  }
  .workspace {
    grid-template-columns: 1fr;
  }
  .import-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
  }
  .file-label {
    max-width: 100%;
  }
  section {
    padding: 24px 20px;
  }
  .selected {
    display: block;
  }
  .strategy {
    padding: 16px;
    gap: 10px;
  }
  .strategy p {
    font-size: 11px;
  }
  .strategy h3 {
    font-size: 14px;
  }
  .strategy-icon {
    font-size: 22px;
  }
  footer {
    padding: 24px 20px;
    flex-direction: column;
    gap: 10px;
  }
  .guide-page section {
    padding: 24px 20px;
  }
  .guide-page nav {
    gap: 14px;
  }
  .guide-page ol {
    padding-left: 22px;
  }
}
@media (max-width: 380px) {
  .fields {
    grid-template-columns: 1fr;
  }
  .selected {
    display: none;
  }
  .brand span {
    letter-spacing: 1px;
  }
  .field-group-title span {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  button {
    transition: none;
  }
}
/* Readable, calm teal theme */
:root {
  color: #252b33;
  background: #f7f9f9;
  --line: #dfe5ec;
  --muted: #505c6b;
  --accent: #107777;
  --soft: #eef6f5;
  font-size: 16px;
}
a {
  color: #107777;
}
.brand {
  color: #252b33;
}
.brand span {
  font-size: 12px;
  letter-spacing: 1.5px;
}
.header-links {
  font-size: 14px;
}
.badge {
  font-size: 12px;
  border-color: #bfd8d5;
  color: #107777;
  background: #eef6f5;
  border-radius: 5px;
}
.eyebrow {
  font-size: 14px;
  letter-spacing: 1px;
  color: #107777;
}
.intro > p {
  font-size: 16px;
  color: #505c6b;
}
.intro > p::before {
  background: #107777;
  width: 40px;
  height: 2px;
}
h1 {
  font-weight: 600;
}
nav {
  font-size: 15px;
  gap: 36px;
}
nav b {
  font-size: 14px;
  color: #107777;
  font-weight: 600;
}
section {
  border-radius: 8px;
}
.section-heading > span {
  font-size: 14px;
  color: #107777;
  border-color: #bfd8d5;
}
h2 {
  font-size: 20px;
  font-weight: 600;
}
h3 {
  font-size: 18px;
}
.strategy {
  border: 2px solid #107777;
  background: #eef6f5;
  border-radius: 6px;
}
.strategy-icon {
  color: #107777;
}
.strategy p {
  font-size: 14px;
  color: #505c6b;
}
.selected {
  display: block;
  background: #107777;
  font-size: 12px;
  border-radius: 4px;
  padding: 5px 9px;
}
.hint,
small {
  font-size: 14px;
  line-height: 1.9;
  color: #505c6b;
}
.fields {
  gap: 26px 20px;
}
label {
  font-size: 16px;
}
.field-group-title h3 {
  font-size: 17px;
  color: #107777;
}
input,
select {
  font-size: 17px;
  min-height: 52px;
  border-radius: 5px;
  border-color: #b8c3d0;
  color: #252b33;
}
input:hover,
select:hover {
  border-color: #107777;
}
:focus-visible {
  outline-color: #107777;
}
input:disabled {
  color: #56616f;
  background: #f0f3f6;
}
.check {
  background: #eef6f5;
  border-radius: 5px;
  line-height: 1.8;
}
.check input {
  width: 21px;
  height: 21px;
  accent-color: #107777;
  flex-shrink: 0;
}
.preview {
  border-top: 4px solid #107777;
}
.live {
  font-size: 14px;
  color: #107777;
}
#ea-name {
  font-size: 28px;
}
#summary {
  font-size: 15px;
  line-height: 2;
  color: #3c4755;
}
.note {
  font-size: 14px;
  background: #eef6f5;
  border-left: 3px solid #107777;
  color: #414f60;
}
.note strong {
  display: block;
  font-weight: 600;
  color: #252b33;
  margin-bottom: 6px;
}
button {
  font-size: 16px;
  background: #107777;
  border-color: #107777;
  border-radius: 5px;
  min-height: 52px;
}
button:hover {
  background: #0b6060;
}
.secondary {
  background: #fff;
  color: #107777;
  border-color: #bfd8d5;
  font-size: 14px;
}
.secondary:hover {
  background: #eef6f5;
}
.download-caption {
  font-size: 14px;
  color: #505c6b;
}
.save-group h3 {
  font-size: 15px;
}
.action-link {
  font-size: 15px;
}
.import-bar {
  font-size: 15px;
  background: #eef6f5;
  border: 1px solid #dfe5ec;
  border-radius: 7px;
  padding: 20px;
  margin-bottom: 28px;
}
.file-label {
  font-size: 14px;
  max-width: 310px;
}
.file-label input {
  font-size: 13px;
  background: white;
}
.file-label input::file-selector-button {
  border-color: #b8c3d0;
  color: #107777;
  min-height: 38px;
  border-radius: 3px;
}
details {
  font-size: 15px;
}
summary {
  padding: 5px 0;
}
#errors {
  font-size: 15px;
}
#status {
  font-size: 14px;
  color: #107777;
}
table {
  font-size: 14px;
}
th {
  color: #505c6b;
}
.next p {
  font-size: 15px;
}
.next h2 {
  font-size: 22px;
}
footer {
  font-size: 13px;
  color: #505c6b;
}
.guide-page {
  font-size: 16px;
}
.guide-page > p,
.guide-page dd {
  color: #505c6b;
}
.guide-page .action-link {
  background: #107777;
  font-size: 16px;
}
.workspace > aside {
  position: static;
}
@media (max-width: 1050px) {
  .workspace {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }
  section {
    padding: 24px;
  }
  .intro {
    column-gap: 24px;
  }
  .intro > p {
    font-size: 15px;
  }
}
@media (max-width: 850px) {
  .workspace {
    grid-template-columns: 1fr;
  }
  .import-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .file-label {
    max-width: 100%;
  }
  .intro {
    grid-template-columns: 1fr;
  }
  .intro > p {
    margin-top: 24px;
  }
  .intro > p::before {
    display: none;
  }
  .selected {
    display: block;
  }
}
@media (max-width: 700px) {
  .brand span {
    font-size: 10px;
    letter-spacing: 1px;
  }
  .header-links {
    font-size: 14px;
  }
  .eyebrow {
    font-size: 13px;
  }
  .intro > p {
    font-size: 16px;
  }
  nav {
    gap: 18px;
    font-size: 14px;
    justify-content: space-between;
  }
  nav span {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }
  nav b {
    font-size: 14px;
  }
  .strategy {
    flex-wrap: wrap;
  }
  .strategy h3 {
    font-size: 17px;
  }
  .strategy p {
    font-size: 14px;
  }
  .strategy > div {
    flex: 1;
    min-width: 150px;
  }
  .selected {
    font-size: 12px;
  }
  .fields {
    grid-template-columns: 1fr;
  }
  section {
    padding: 24px 20px;
  }
  .guide-page nav {
    justify-content: flex-start;
  }
  .note {
    padding: 14px;
  }
  .import-bar {
    padding: 18px;
  }
  footer {
    font-size: 13px;
  }
  h1 {
    font-size: 34px;
  }
}

/* Clear step numbers and deep teal headings */
h1,
h2,
.field-group-title h3 {
  color: #0b6060;
}
nav[aria-label="作成の流れ"] {
  gap: 40px;
}
nav[aria-label="作成の流れ"] > span {
  display: flex;
  align-items: center;
  gap: 12px;
}
nav[aria-label="作成の流れ"] b {
  font-size: 30px;
  line-height: 1;
  font-weight: 600;
  margin: 0;
  color: #107777;
}
.section-heading {
  gap: 18px;
  align-items: center;
}
.section-heading > span {
  font-size: 32px;
  line-height: 1.2;
  font-weight: 600;
  color: #107777;
  border: 0;
  padding: 0;
  min-width: 44px;
}
@media (max-width: 700px) {
  nav[aria-label="作成の流れ"] {
    gap: 12px;
  }
  nav[aria-label="作成の流れ"] > span {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
  }
  nav[aria-label="作成の流れ"] b {
    font-size: 30px;
  }
  .section-heading > span {
    font-size: 30px;
    min-width: 40px;
  }
  .section-heading {
    gap: 14px;
  }
}
.setup-step {
  border-top: 4px solid #107777;
  background: #eef6f5;
}
.setup-step > p {
  font-size: 16px;
  line-height: 1.9;
  color: #414f60;
}
.setup-step > p.hint {
  font-size: 14px;
  margin-bottom: 0;
}
.setup-list {
  padding-left: 24px;
  font-size: 15px;
  line-height: 1.9;
  color: #414f60;
}
.setup-list li {
  padding-left: 4px;
  margin: 12px 0;
}
.guide-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #107777;
  color: #fff;
  border: 1px solid #107777;
  border-radius: 5px;
  min-height: 54px;
  padding: 17px 20px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  margin-top: 24px;
}
.guide-button:hover {
  background: #0b6060;
}
.guide-button:focus-visible {
  outline: 3px solid #0b6060;
  outline-offset: 4px;
}
nav[aria-label="作成の流れ"] {
  flex-wrap: wrap;
  gap: 24px 36px;
}
@media (max-width: 700px) {
  nav[aria-label="作成の流れ"] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }
  .setup-step .section-heading {
    align-items: flex-start;
  }
  .guide-button {
    padding: 16px;
    font-size: 15px;
  }
}
.guide-step-heading {
  display: flex;
  align-items: baseline;
  gap: 18px;
}
.guide-step-number {
  font-size: 32px;
  line-height: 1.2;
  font-weight: 600;
  color: #107777;
  min-width: 44px;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}
@media (max-width: 700px) {
  .guide-step-heading {
    gap: 14px;
  }
  .guide-step-number {
    font-size: 30px;
    min-width: 40px;
  }
}
[hidden] {
  display: none !important;
}
.strategy-options {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.strategy-options legend {
  font-size: 14px;
  color: #505c6b;
  margin-bottom: 14px;
}
.strategy-option {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid #b8c3d0;
  border-radius: 6px;
  margin-bottom: 12px;
  cursor: pointer;
}
.strategy-option:has(input:checked) {
  border: 2px solid #107777;
  background: #eef6f5;
  padding: 17px;
}
.strategy-option input {
  width: 22px;
  height: 22px;
  min-height: 0;
  flex-shrink: 0;
  accent-color: #107777;
}
.strategy-option strong {
  font-size: 17px;
  display: block;
  font-weight: 600;
}
.strategy-option small {
  display: block;
  margin-top: 5px;
}
