* {
  box-sizing:border-box;
}

body {
  margin:0;
  font:1rem/1.55 Geneva,Arial,Helvetica,sans-serif;
  color:#34383a;
  background:#e9edef;
}

a {
  color:#022f68;
  text-underline-offset:.16em;
}

a:hover {
  color:#a9232a;
}

a:focus-visible {
  outline:3px solid #b62a2b;
  outline-offset:3px;
}

h1,h2,h3,p {
  margin-top:0;
}

.bg {
  max-width:1150px;
  margin:0 auto;
  background:#fff;
  min-height:100vh;
  box-shadow:0 0 16px #bcc5c8;
}

#header,#content,#footer > div {
  width:min(1040px,calc(100% - 52px));
  margin:0 auto;
}

#header {
  padding-top:10px;
}

.factory-name {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
  padding:16px 0 19px;
}

.factory-name a {
  display:inline-flex;
  align-items:center;
  gap:12px;
  color:#022255;
  text-decoration:none;
  font-size:clamp(1.3rem,2.6vw,1.95rem);
  font-weight:bold;
  letter-spacing:-.035em;
}

.key {
  max-width:29ch;
  color:#535c64;
  text-align:right;
  line-height:1.3;
  font-size:.94rem;
}

.nav {
  display:flex;
  flex-wrap:wrap;
  background:#26445d;
  border-bottom:4px solid #b62a2b;
}

.nav a {
  color:white;
  text-decoration:none;
  font-weight:600;
  padding:11px 20px;
  border-right:1px solid #6c8293;
}

.nav a:hover {
  background:#345a78;
}

#content {
  padding-top:12px;
}

.banner {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  align-items:center;
  background:#edf3f8;
  border:1px solid #c6d3db;
}

.banner > div {
  padding:clamp(20px,3.5vw,45px);
}

.banner p {
  font-size:.87rem;
  font-weight:700;
  color:#9b2428;
  text-transform:uppercase;
  letter-spacing:.06em;
}

h1 {
  font-size:clamp(2rem,3.8vw,3.1rem);
  line-height:1.08;
  color:#022255;
  letter-spacing:-.038em;
  margin:0;
}

.banner img {
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:1.85;
  object-fit:cover;
}

.catalog-paper {
  display:grid;
  grid-template-columns:minmax(0,2.9fr) minmax(190px,1fr);
  gap:clamp(20px,3vw,40px);
  margin-block:27px 38px;
  align-items:start;
}

.title {
  line-height:1.28;
  font-weight:bold;
  color:#b62a2b;
  background:#eee;
  border-left:5px solid #b62a2b;
  padding:8px 12px;
  font-size:1.35rem;
}

.mainbox {
  margin-bottom:26px;
}

.mainbox p,.mainbody p {
  margin-bottom:1em;
}

.title2 {
  line-height:1.35;
  padding:9px 12px;
  font-weight:bold;
  color:#394958;
  background:#e4eaed;
  border-top:2px solid #708597;
}

.rt {
  padding:0 10px;
  list-style:none;
  margin:0;
  border:1px solid #cdd6dc;
  border-top:none;
}

.rt li {
  border-bottom:1px solid #d5dbdf;
  padding:10px 0;
  font-size:.95rem;
  line-height:1.35;
}

.rt li:last-child {
  border-bottom:0;
}

.box1 {
  display:flex;
  gap:15px;
  align-items:center;
  padding:14px 0;
  border-bottom:1px solid #ccc;
}

.box1 img {
  width:72px;
  height:72px;
  flex-shrink:0;
}

.box1 h3 {
  font-size:1.14rem;
  line-height:1.24;
  margin-bottom:.3em;
}

.box1 p {
  margin:0;
  color:#48515a;
  font-size:.97rem;
}

.cc_title {
  line-height:1.45;
  color:#022255;
  border-bottom:1px solid #ccc;
  font-weight:600;
  font-size:.94rem;
  padding:5px 0 10px;
}

.mainbody h1 {
  margin-bottom:.45em;
}

.product1 {
  padding:13px 15px;
  border-left:4px solid #b62a2b;
  background:#f0f3f5;
  font-size:1.1rem;
  color:#2d414e;
}

.mainbody h2 {
  line-height:1.22;
  font-size:1.45rem;
  color:#313d47;
  border-bottom:1px solid #ccc;
  padding-bottom:5px;
  margin:1.4em 0 .5em;
}

.passport ul {
  padding-left:1.2em;
}

#footer {
  border-top:4px solid #a82b31;
  background:#263c4b;
  color:white;
}

#footer > div {
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:12px;
  padding-block:20px;
}

#footer a {
  color:white;
}

@media (max-width:720px) {
  #header,#content,#footer > div {
    width:calc(100% - 28px);
  }
  .factory-name {
    flex-wrap:wrap;
    gap:8px;
    padding:10px 0 15px;
  }
  .key {
    text-align:left;
    max-width:none;
  }
  .catalog-paper {
    grid-template-columns:1fr;
  }
  .box1 img {
    width:58px;
    height:58px;
  }
  .nav a {
    padding:9px 11px;
    font-size:.94rem;
  }
}

@media (max-width:520px) {
  .banner {
    grid-template-columns:1fr;
  }
  .banner img {
    max-height:230px;
  }
}

.title {
  font-weight: bold;
  color: #b62a2b;
}

.cc_title {
  color: #022255;
  border-bottom: 1px #ccc solid;
  font-weight: 600;
}

#header {
  padding-top: 10px;
}
