* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  background-repeat: no-repeat;
}

html {
  background: #fff;
}

body {
  min-height: 100vh;
  color: #363636;
  background: #fff url("assets/images/fuyu/bg2.jpg") repeat-y 0 0;
  font-family: Arial, Osaka, monospace, sans-serif;
  font-size: 16px;
  letter-spacing: 0;
}

a {
  color: #787878;
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: #f186b8;
}

.page {
  position: relative;
  width: 880px;
  min-height: 760px;
}

.top {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 880px;
  height: 226px;
  background-image: url("assets/images/fuyu/top2.jpg");
}

.brand {
  position: absolute;
  top: 28px;
  left: 20px;
  z-index: 2;
  display: inline-block;
  width: auto;
  height: 121px;
  color: #111;
}

.brand:hover,
.brand:focus-visible {
  color: #111;
}

.brand-main {
  display: flex;
  align-items: center;
  font-family: Arial, Osaka, monospace, sans-serif;
  font-size: 76px;
  line-height: 0.95;
  font-weight: 400;
  letter-spacing: 0;
}

.brand-initial {
  color: #a23a55;
  font-weight: 700;
}

.brand-globe {
  display: inline-block;
  width: 76px;
  height: 76px;
  margin-left: 10px;
  object-fit: contain;
  transform: translateY(6px);
}

.breadlist {
  position: absolute;
  top: 150px;
  left: 275px;
  z-index: 2;
  padding: 3px;
  color: #787878;
  background-color: rgba(255, 255, 255, 0.8);
  font-size: 80%;
}

.leftsection {
  position: absolute;
  top: 225px;
  left: 50px;
  z-index: 2;
  width: 220px;
}

.contitle,
.maintitle {
  color: #a23a55;
  font-family: Georgia, "Times New Roman", serif;
}

.contitle {
  position: relative;
  min-height: 30px;
  margin-top: 5px;
  font-size: 120%;
  font-weight: 900;
}

.square {
  display: inline-block;
  width: 13px;
  height: 13px;
  margin: 3px 6px -1px 0;
  background:
    linear-gradient(90deg, #6c383a 0 46%, transparent 46% 54%, #a23a55 54% 100%),
    linear-gradient(#a23a55, #a23a55);
}

.menu-item {
  position: relative;
  display: block;
  min-height: 36px;
  margin-bottom: 3px;
  clear: both;
  color: #6c383a;
}

.menu-icon {
  float: left;
  width: 30px;
  height: 36px;
  margin-right: 4px;
  background-position: 0 0;
  background-size: 30px auto;
}

.about-us .menu-icon {
  background-image: url("assets/images/fuyu/niponica-s.jpg");
}

.about-us:hover .menu-icon,
.about-us:focus-visible .menu-icon {
  background-image: url("assets/images/fuyu/niponica-sp.jpg");
}

.nsfw .menu-icon {
  background-image: url("assets/images/fuyu/videotopic-s.jpg");
}

.nsfw:hover .menu-icon,
.nsfw:focus-visible .menu-icon {
  background-image: url("assets/images/fuyu/videotopic-sp.jpg");
}

.sfw .menu-icon {
  background-image: url("assets/images/fuyu/factsheet-s.jpg");
}

.sfw:hover .menu-icon,
.sfw:focus-visible .menu-icon {
  background-image: url("assets/images/fuyu/factsheet-sp.jpg");
}

.socials .menu-icon {
  background-image: url("assets/images/fuyu/links-s.jpg");
}

.socials:hover .menu-icon,
.socials:focus-visible .menu-icon {
  background-image: url("assets/images/fuyu/links-sp.jpg");
}

.discord .menu-icon {
  background-image: url("assets/images/fuyu/trendjapan-s.jpg");
}

.discord:hover .menu-icon,
.discord:focus-visible .menu-icon {
  background-image: url("assets/images/fuyu/trendjapan-sp.jpg");
}

.menu-item span:last-child {
  position: relative;
  top: 6px;
  left: 3px;
  font-family: "Courier New", Osaka, monospace;
  font-size: 108%;
  font-weight: 900;
  line-height: 1;
}

.other-nav {
  margin-top: 16px;
}

.small-link {
  position: relative;
  display: block;
  width: 148px;
  min-height: 28px;
  margin-top: 2px;
  color: #6c383a;
  font-size: 92%;
  font-weight: 600;
  line-height: 1;
}

.small-icon {
  float: left;
  width: 24px;
  height: 28px;
  margin-right: 4px;
  background-position: 0 0;
  background-size: 24px auto;
}

.whats-new .small-icon,
.mail-service .small-icon {
  background-image: url("assets/images/fuyu/mail2.jpg");
}

.whats-new:hover .small-icon,
.whats-new:focus-visible .small-icon,
.mail-service:hover .small-icon,
.mail-service:focus-visible .small-icon {
  background-image: url("assets/images/fuyu/mail2-p.jpg");
}

.link-us .small-icon {
  background-image: url("assets/images/fuyu/link2.jpg");
}

.link-us:hover .small-icon,
.link-us:focus-visible .small-icon {
  background-image: url("assets/images/fuyu/link2-p.jpg");
}

.small-link span:last-child {
  display: block;
  min-height: 28px;
  padding-top: 5px;
}

.text-link {
  display: block;
  width: 148px;
  margin-left: 31px;
  color: #00f;
  font-size: 88%;
  font-weight: 700;
  line-height: 1.8;
}

.about-site {
  margin-top: 32px;
}

.leaflet {
  position: relative;
  display: block;
  width: 142px;
  margin-top: 62px;
  padding: 4px 5px 2px;
  border: 1px solid #fff;
  border-bottom: 0;
  color: #787878;
  background-color: rgba(255, 255, 255, 0.25);
  font-size: 90%;
  font-weight: 600;
  text-align: center;
}

.leaflet .pdf {
  display: inline-block;
  min-width: 26px;
  padding: 0 3px;
  color: #fff;
  background-color: #c41813;
  font-size: 85%;
}

.download {
  position: relative;
  display: block;
  width: 142px;
  height: 16px;
  padding-top: 1px;
  border: 1px solid #fff;
  border-top: 0;
  color: #fff;
  background-color: #a23a55;
  font-size: 90%;
  font-weight: 600;
  text-align: center;
}

.copyright {
  margin-top: 32px;
  color: #666;
  font-size: 90%;
  font-weight: 700;
}

.mainsection {
  position: absolute;
  top: 210px;
  left: 260px;
  z-index: 2;
  width: 570px;
}

.maintitle {
  position: relative;
  left: 38px;
  width: 510px;
  padding: 0 8px;
  border-color: #999;
  border-style: solid;
  border-width: 0 0 2px 4px;
  font-size: 120%;
  font-weight: 600;
}

.latest-item {
  clear: both;
  min-height: 220px;
  margin: 16px 0 6px 40px;
  padding-right: 6px;
  padding-bottom: 6px;
  font-size: 90%;
}

.catetitle {
  position: relative;
  display: block;
  margin-top: 18px;
  margin-bottom: 6px;
  padding-left: 16px;
  color: #6c383a;
  font-size: 110%;
  font-weight: 700;
  white-space: nowrap;
}

.catetitle::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 0;
  width: 10px;
  height: 12px;
  background-image: url("assets/images/fuyu/raquo.gif");
}

.work-thumb {
  float: left;
  display: block;
  width: 241px;
  height: 176px;
  margin-right: 8px;
  border: 1px solid rgba(162, 58, 85, 0.35);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(241, 226, 231, 0.42)),
    repeating-linear-gradient(45deg, rgba(162, 58, 85, 0.18) 0 2px, transparent 2px 13px);
}

.work-thumb span {
  display: grid;
  height: 100%;
  place-items: center;
  color: #a23a55;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 700;
  text-transform: lowercase;
}

.arctxt {
  float: right;
  width: 260px;
  color: #363636;
  font-size: 110%;
  line-height: 1.42;
}

.work-kicker {
  margin-bottom: 8px;
  color: #a23a55;
  font-size: 85%;
  font-weight: 700;
  text-transform: uppercase;
}

.subpage-item {
  clear: both;
  min-height: 180px;
  margin: 18px 0 6px 40px;
  padding: 0 10px 12px 0;
  font-size: 90%;
}

.subpage-copy {
  width: 430px;
  margin-top: 12px;
  color: #363636;
  font-size: 110%;
  line-height: 1.5;
}

@media (max-width: 760px) {
  body {
    background-size: 100% 6px;
  }

  .page {
    width: 100%;
    min-height: 0;
    padding-bottom: 32px;
  }

  .top,
  .breadlist,
  .leftsection,
  .mainsection {
    position: relative;
    top: auto;
    left: auto;
  }

  .top {
    width: 100%;
    height: 190px;
    background-position: top left;
    background-size: auto 190px;
  }

  .brand {
    top: 16px;
    left: 18px;
    width: min(476px, calc(100% - 36px));
  }

  .brand-main {
    font-size: 58px;
  }

  .breadlist {
    margin: -24px 20px 18px;
    display: inline-block;
  }

  .leftsection,
  .mainsection {
    width: auto;
    margin: 0 20px;
  }

  .mainsection {
    margin-top: 28px;
  }

  .maintitle {
    left: 0;
    width: 100%;
  }

  .latest-item {
    min-height: 0;
    margin-left: 0;
  }

  .subpage-item {
    min-height: 0;
    margin-left: 0;
  }

  .work-thumb,
  .arctxt,
  .subpage-copy {
    float: none;
    width: 100%;
  }

  .work-thumb {
    max-width: 241px;
    margin-bottom: 10px;
  }
}
