@charset "utf-8";

/* English-site additions. The base Japanese stylesheet remains untouched. */
body.en-site {
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  line-height: 1.72;
}

/* The Japanese base theme accents only the first character of headings.
   In English this visually splits words (for example, S tatement).
   Move the accent to the whole heading instead. */
.en-site #main h2::first-letter,
.en-site #main h3::first-letter {
  border-left: 0;
  padding-left: 0;
}
.en-site #main h2,
.en-site #main h3 {
  border-left: 3px solid #4deaf3;
  box-sizing: border-box;
}

.en-site header {
  position: relative;
}

.lang-switch {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 10px 8px;
  text-align: right;
  font-size: 13px;
  line-height: 1.4;
}
.lang-switch a {
  display: inline-block;
  padding: 3px 10px;
  border: 1px solid #999;
  border-radius: 3px;
  background: #fff;
  text-decoration: none;
  color: #555;
}
.lang-switch a:hover {
  color: #05719c;
  border-color: #05719c;
}

.en-site #menubar li,
.en-site #menubar-s li {
  letter-spacing: 0;
}
.en-site #menubar li a,
.en-site #menubar-s li a {
  padding-left: 18px;
  padding-right: 18px;
}

/* English hero: source mountain photograph retained, Japanese baked-in text removed by crop. */
#mainimg.en-hero {
  min-height: 315px;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  background: #153663 url("../images/hero-mountains.jpg") center center / cover no-repeat;
}
#mainimg.en-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(8, 33, 76, 0.08), rgba(4, 24, 55, 0.78));
}
.en-hero-copy {
  position: absolute;
  z-index: 1;
  left: 6%;
  right: 6%;
  top: 17%;
  bottom: auto;
  color: #fff;
  text-align: center;
  text-shadow: 0 2px 5px rgba(0,0,0,.72);
}
.en-hero-copy .hero-kicker {
  margin: 0 0 10px;
  padding: 0;
  color: #ffad32;
  font-size: 28px;
  line-height: 1.25;
  font-weight: 600;
}
.en-hero-copy .hero-line {
  margin: 3px 0;
  padding: 0;
  font-size: 23px;
  line-height: 1.35;
  font-weight: 500;
}

.en-intro {
  margin: 0 0 28px;
  padding: 18px 20px;
  border-left: 5px solid #f39800;
  background: #fff;
  box-shadow: 0 2px 9px rgba(0,0,0,.08);
}
#main .en-intro p {
  padding: 0;
  color: #444;
  font-size: 15px;
  line-height: 1.75;
}

.en-note {
  font-size: 12px;
  color: #777;
}

/* Manifest diagrams rebuilt as semantic HTML so English text is searchable and editable. */
.en-figure {
  margin: 24px 0 34px;
  padding: 15px;
  background: #fff;
  border: 1px solid #cfcfcf;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.en-figure figcaption {
  margin: 0 0 16px;
  padding: 10px 14px;
  border-radius: 7px;
  background: #d9f5f5;
  color: #222;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.4;
}
.figure1-equation {
  margin-bottom: 14px;
  padding: 10px 14px;
  border: 3px solid #8f9ba4;
  border-radius: 10px;
  background: #62ff25;
  color: #111;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
}
.ip-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.ip-panel {
  padding: 16px;
  border: 1px solid #555;
  border-radius: 28px;
}
.ip-panel.filing {
  background: #d8fbfb;
}
.ip-panel.nonfiling {
  background: #ffff9b;
}
.ip-panel h4 {
  margin: 0 0 12px;
  padding: 0;
  text-align: center;
  font-size: 18px;
  line-height: 1.4;
}
.ip-panel.filing h4 { color: #064fe4; }
.ip-panel.nonfiling h4 { color: #e32620; }
.ip-panel-content {
  display: grid;
  grid-template-columns: 34% 1fr;
  gap: 14px;
  align-items: stretch;
}
.ip-kind,
.ip-notes {
  padding: 12px 14px;
  border-radius: 14px;
}
.ip-kind {
  background: rgba(255,255,255,.38);
  border: 1px solid #555;
  font-weight: 700;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ip-notes {
  background: rgba(255,255,255,.62);
}
.ip-notes ul,
.process-card ul {
  margin: 0;
  padding-left: 20px;
}
.ip-notes li,
.process-card li {
  margin: 3px 0;
}
.nonfiling-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.nonfiling-row {
  display: grid;
  grid-template-columns: 34% 1fr;
  gap: 14px;
}
.nonfiling-row .ip-kind.copyright {
  color: #e32620;
  background: #fff07d;
}
.nonfiling-row .ip-kind.conduct {
  color: #d31e25;
  background: #f7c8f1;
}
.nonfiling-row .ip-notes.copyright { background: #fff185; }
.nonfiling-row .ip-notes.conduct { background: #f5c7f0; }

.figure2-lead {
  padding: 18px;
  background: #fffbb7;
  text-align: center;
  color: #222;
}
.figure2-lead strong {
  color: #e32620;
}
.figure2-arrow {
  margin: 6px auto;
  width: 0;
  height: 0;
  border-left: 28px solid transparent;
  border-right: 28px solid transparent;
  border-top: 20px solid #7db5ea;
}
.ip-code-example {
  margin: 16px auto 0;
  max-width: 540px;
  padding: 10px 14px;
  border: 1px solid #aaa;
  background: #fff;
  text-align: center;
  font-family: Consolas, "Courier New", monospace;
  color: #333;
}
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 14px;
  background: #f8c7f4;
}
.process-card {
  display: grid;
  grid-template-columns: 145px 1fr;
  gap: 12px;
  padding: 10px 12px;
  background: rgba(255,255,255,.35);
}
.process-card h4 {
  margin: 0;
  color: #111;
  font-size: 16px;
}
.process-card p {
  padding: 0 !important;
  color: #222;
}

.en-site #main p {
  color: #555;
}
.en-site #main h2,
.en-site #main h3,
.en-site #sub h2 {
  letter-spacing: 0;
}
.en-site footer small {
  line-height: 1.6;
}

@media screen and (max-width: 800px) {
  .lang-switch {
    padding-right: 12px;
  }
  #mainimg.en-hero {
    min-height: 300px;
  }
  .en-hero-copy {
    left: 5%;
    right: 5%;
    top: 12%;
    bottom: auto;
  }
  .en-hero-copy .hero-kicker {
    font-size: 21px;
  }
  .en-hero-copy .hero-line {
    font-size: 17px;
  }
  .ip-panel-content,
  .nonfiling-row,
  .process-card {
    grid-template-columns: 1fr;
  }
  .process-card h4 {
    border-bottom: 1px solid rgba(0,0,0,.18);
    padding-bottom: 5px;
  }
}


/* English content utility styles */
.en-site .document-note { margin: 0 0 18px; padding: 11px 14px; background:#f7f7f7; border-left:4px solid #f39800; color:#555; }
.en-site .document-note strong { color:#333; }
.en-site .ta1 td a { overflow-wrap:anywhere; }
.en-site .compact-list { margin: 0; padding-left: 20px; }
.en-site .compact-list li { margin: 5px 0; }
.en-site .resource-list dt { width: 110px; font-weight: 700; }
.en-site .resource-list dd { margin-left: 125px; }
.en-site .contact-form input[type="text"],
.en-site .contact-form input[type="email"],
.en-site .contact-form textarea { width: 96%; box-sizing: border-box; padding: 8px; }
.en-site .contact-form textarea { min-height: 220px; }
.en-site .required { color:#c00; font-weight:700; }
.en-site .button-row { margin-top:18px; text-align:center; }
.en-site .button-row input { padding:10px 28px; cursor:pointer; }
@media screen and (max-width:800px){ .en-site .resource-list dt{width:auto;} .en-site .resource-list dd{margin-left:0;} }
