* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background-color: #141414;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.012) 0, rgba(255,255,255,.012) 1px, transparent 1px, transparent 4px);
  color: #242424;
  font-family: Arial, "Meiryo", sans-serif;
  font-size: 13px;
}
a { color: #3e5b78; }
.site-wrap { width: 1040px; margin: 0 auto; }
.site-header { height: 66px; display: flex; align-items: end; gap: 18px; padding: 0 0 8px; }
.site-title { width: 212px; align-self: center; line-height: 1.4; font-size: 15px; font-weight: bold; }
.site-title a { color: #dedede; text-decoration: none; }
.header-nav { display: flex; flex: 1; height: 33px; background: linear-gradient(#424444, #161819); border: 1px solid #0a0a0a; }
.header-nav a { flex: 1; border-right: 1px solid #111; border-left: 1px solid #444; color: #ddd; font-size: 12px; font-weight: bold; text-align: center; line-height: 31px; text-decoration: none; }
.header-nav a:last-child { border-right: 0; }
.header-nav a:hover, .header-nav .selected { background: linear-gradient(#5a5e5e, #2a2c2c); color: white; }
.page-columns { display: flex; align-items: flex-start; gap: 18px; }
.side-menu { width: 212px; flex: none; padding: 10px 8px 16px; background: #202121; color: #ddd; border: 1px solid #0a0a0a; }
.side-heading { background: linear-gradient(#414343,#171819); padding: 8px 10px; font-weight: bold; color: #e3e3e3; margin-bottom: 8px; border-bottom: 2px solid #e66f17; }
.side-menu > a { display: block; padding: 8px 7px 8px 12px; color: #bfc1c1; text-decoration: none; border-bottom: 1px solid #353737; }
.side-menu > a:before { content: '› '; color: #e67b23; }
.side-menu > a:hover, .side-menu > a.now { color: #fff; background: #303232; }
.side-note { color: #797d7d; line-height: 1.8; font-size: 11px; padding: 24px 5px 4px; }
.article { flex: 1; min-width: 0; background: #f1f2f3; padding: 16px 24px 26px; min-height: 1250px; border: 1px solid #bfc1c4; box-shadow: 0 2px 7px #0006; line-height: 1.95; }
.article-label { color: #6a737a; border-bottom: 1px solid #b6bdc1; font-size: 11px; padding-bottom: 5px; }
.article h1 { font-size: 23px; line-height: 1.4; margin: 15px 0 4px; }
.article-date { text-align: right; font-size: 11px; color: #777; border-bottom: 1px dashed #bbb; padding-bottom: 6px; }
.article p { margin: 15px 8px; }
.article .lead { margin: 22px 8px 24px; }
.article h2 { margin: 34px 0 17px; background: #fff; border-left: 4px solid #a1a8ac; border-bottom: 1px solid #c7cbce; padding: 5px 11px; font-size: 16px; line-height: 1.6; }
.photo-placeholder { display: flex; align-items: center; justify-content: center; height: 290px; max-width: 600px; margin: 18px auto; background: #d9dddf; border: 1px solid #b7bec2; color: #858b8e; font-size: 13px; }
.hero-placeholder { height: 260px; max-width: 650px; }
.article .photo-caption { margin: -9px auto 20px; max-width: 600px; color: #777; font-size: 11px; }
.article-bottom { border-top: 1px dashed #aaa; margin-top: 70px; display: flex; justify-content: space-between; padding: 10px 5px 0; font-size: 11px; letter-spacing: 1px; }
.article-bottom a { text-decoration: none; color: #656a6d; }
.footer { margin: 16px 0 30px; text-align: center; color: #757575; font-size: 10px; }
@media (max-width: 1080px) { .site-wrap { width: 96%; } }
@media (max-width: 720px) { .site-header { height: auto; display: block; padding: 15px 0 8px; } .site-title { width: auto; margin-bottom: 12px; } .header-nav { height: auto; flex-wrap: wrap; } .header-nav a { flex: 1 1 50%; } .page-columns { display: block; } .side-menu { display: none; } .article { width: 100%; padding: 15px; } .photo-placeholder { height: 190px; } }


/* v02 追加 */
.article p {
  font-size: 14px;
}

.article strong {
  color: #202020;
}

.memory-year {
  color: #b54d16;
  font-weight: bold;
}

.weapon-name {
  color: #8a3b19;
  font-weight: bold;
}

.memory-point {
  color: #a84418;
  font-weight: bold;
}

.memory-photo {
  display: block;
  max-width: 650px;
  width: 92%;
  height: auto;
  margin: 20px auto 7px;
  border: 1px solid #aeb4b7;
  background: #ddd;
}

.source-link {
  margin: 5px 8px 24px !important;
  font-size: 12px;
}

.source-link a {
  color: #506f8d;
}

.note-box {
  margin: 22px 8px;
  padding: 11px 14px;
  background: #e5e7e8;
  border-left: 4px solid #777e82;
  color: #43484a;
}

.memory-end {
  margin-top: 35px !important;
  font-weight: bold;
  color: #555;
}


/* 追加調整 */
.offevent-photo {
  width: 40%;
  max-width: 40%;
}

.userdata-photo {
  width: 92%;
}

.side-photo {
  margin-top: 18px;
  border: 1px solid #111;
  background: #151819;
}

.side-photo-image {
  min-height: 105px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 12px 8px !important;
  border-bottom: 1px solid #333 !important;
  background: linear-gradient(#273239, #111719);
}

.side-photo-image:before {
  content: none !important;
}

.side-photo-image img {
  display: block;
  width: 90%;
  max-width: 175px;
  height: auto;
}

.side-photo-title {
  padding: 7px 5px;
  color: #bbb;
  font-size: 12px;
  text-align: center;
}

@media (max-width: 720px) {
  .offevent-photo {
    width: 70%;
    max-width: 70%;
  }
}
\n\n/* 思い出の武器本文 */\n.weapon-entry { margin: 0 0 28px; }\n.weapon-entry h2 { display: flex; align-items: center; gap: 8px; }\n.weapon-entry h3 { margin: 18px 8px 5px; padding-left: 8px; border-left: 3px solid #9a9fa2; color: #383d40; font-size: 14px; }\n.weapon-entry p { margin: 10px 8px 13px; }\n.weapon-role { display: inline-block; min-width: 34px; padding: 1px 7px 2px; border: 1px solid #a9adb0; background: #e2e4e5; color: #555b5f; font-size: 10px; line-height: 1.5; text-align: center; vertical-align: middle; }\n.role-pm { border-color: #b78b59; color: #8a5527; }\n.role-rm { border-color: #8a9dac; color: #526b7d; }\n.role-sr { border-color: #8f8f8f; color: #4d4d4d; }\n

/* 兵種ごとのグループ表示 */
.weapon-group {
  margin: 0 0 42px;
}

.weapon-group-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 34px 0 18px;
  padding: 7px 11px;
  border-left: 5px solid #7d858a;
  border-bottom: 1px solid #bcc1c4;
  background: #dfe2e4;
  color: #303538;
  font-size: 17px;
  font-weight: bold;
  letter-spacing: .5px;
}

.weapon-group-mark {
  display: inline-block;
  min-width: 34px;
  padding: 1px 7px 2px;
  border: 1px solid #9ba1a5;
  background: #f1f2f3;
  color: #555c60;
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}

.weapon-group .weapon-entry h2 {
  margin-top: 24px;
}


/* 武器画像 */
.weapon-images {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 8px 15px;
  align-items: flex-start;
}

.weapon-image-item {
  margin: 0;
}

.weapon-card-image {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  border: 1px solid #353a3d;
  background: #22272a;
}

.card-item {
  max-width: 48%;
}

.screenshot-item {
  flex-basis: 100%;
  margin-top: 4px;
}

.weapon-screenshot {
  display: block;
  width: auto;
  max-width: 92%;
  height: auto;
  margin: 0 auto;
  border: 1px solid #aeb4b7;
  background: #ddd;
}

.weapon-entry h3 + .weapon-images {
  margin-top: 9px;
}

@media (max-width: 720px) {
  .weapon-images {
    display: block;
  }
  .card-item {
    max-width: 100%;
    margin-bottom: 8px;
  }
  .weapon-screenshot {
    max-width: 100%;
  }
}
