@charset "utf-8";

/*** 共通 ***/
main#article {
  position: relative;
}

main#article::before {
  content: "";
  display: block;
  background: url(../images/bg_main_upper.jpg) no-repeat;
  background-size: contain;
  position: absolute;
  top: 0;
  left: auto;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 1;
  opacity: 1;
  border-radius: 0;
}

.article_wrap {
  /* display: flex;
  align-items: flex-start;
  justify-content: center;
  max-width: 1366px;
  padding: 4em 1em;
  margin: 0 auto;
  gap: 2em; */
  position: relative;
  margin: 0 0 6em;
}

.article_container {
  position: relative;
  padding: 4em 0 6em;
}

.article_container::after {
  content: "";
  display: block;
  background: url(../images/bg_main_lower.jpg) no-repeat;
  background-size: contain;
  position: absolute;
  top: auto;
  left: auto;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 1;
  opacity: 1;
  border-radius: 0;
  bottom: 0;
  z-index: -1;
}

.article_box {
  width: 960px;
  padding: 2em;
  margin: 0 auto;
  border-radius: 2em;
  background: #fff;
  filter: drop-shadow(0.1em 0.1em 0.25em #999);
}

.article_box h1 {
  max-width: none;
  margin: 0 0 1.5em;
  font-size: 1.8em;
  font-weight: 600;
  color: #FF6A00;
}

.article_box h1 img:nth-of-type(1) {
  width: 12rem;
  padding: 0;
  margin: 0 1em 0 0;
}

.article_box h1 img:nth-of-type(2) {
  width: 24rem;
  padding: 0;
}

.article_box h2 {
  color: #333;
  margin: 0 0 0.25em;
}

.article_date {
  font-size: 1.1em;
  display: flex;
  align-items: baseline;
  justify-content: right;
}

.article_date i {
  color: #666;
  margin: 0 0.25em 0 0;
  font-size: 1.25em;
}

.article_video {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  margin: 0.5em auto 0;
}

.article_video iframe {
  vertical-align: bottom;
  position: absolute;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
}

.article_body {
  font-size: 1.2em;
  margin: 3rem 0;
}

.pdf_link {
  margin: 1em 0 0;
}

.article_pankuzu {
  padding: 1em 0;
  border-bottom: 0.2rem dashed #999;
}

.article_pankuzu ul {
  display: flex;
  /* align-items: center; */
  align-items: baseline;
  justify-content: end;
  font-size: .9em;
  color: #333;
}

.article_pankuzu li {
  position: relative;
}

.article_pankuzu li:nth-of-type(1),
.article_pankuzu li:nth-of-type(2) {
  min-width: fit-content;
}

.article_pankuzu li:nth-of-type(n+2) {
  margin: 0 0 0 1.5em;
}

.article_pankuzu li:nth-of-type(n+2)::before {
  content: "/";
  position: absolute;
  width: 1em;
  height: 1em;
  left: -1em;
}

.article_share {
  margin: 0 0 2em;
  text-align: center;
  padding: 2em 0 0;
}

.article_share h4 {
  margin: 0 0 1em;
  display: inline-block;
}

.article_share h4 span {
  font-size: 1.2em;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  font-weight: 500;
  font-style: italic;
}

.article_share h4 span::before,
.article_share h4 span::after {
  position: absolute;
  content: "";
  width: 2em;
  height: 0.12em;
  background: #000000;
  bottom: 0.75em;
}

.article_share h4 span::before {
  left: -2em;
  transform: rotate(45deg);
}

.article_share h4 span::after {
  right: -2em;
  transform: rotate(-45deg);
}

.article_share h4 span i {
  margin: 0 0 0.5em 0.25em;
  font-size: 1.25em;
}

.article_share ul {
  display: flex;
  justify-content: space-around;
}

.article_share li {
  width: 12%;
  text-align: center;
  position: relative;
}

.article_share li a,
.article_share li.copy button {
  display: block;
  color: #ffffff !important;
  font-size: 1.2em;
  padding: 0.25em 0;
  border-radius: 0.5em;
}

.article_share li.x a {
  background: #000000;
}

.article_share li.facebook a {
  background: #1877f2;
}

.article_share li.b-hatena a {
  background: #00A4DE;
}

.article_share li.pocket a {
  background: #ee4056;
}

.article_share li.line a {
  background: #00B900;
}

.article_share li.copy button {
  border: none;
  cursor: pointer;
  outline: none;
  width: 100%;
  height: 100%;
  background: #001935;
}

.article_links {
  border-top: 2px dashed #f5f5f5;
  padding: 2em;
  border-bottom: 2px dashed #f5f5f5;
  overflow: hidden;
}

.article_links li {
  width: 45%;
  position: relative;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.article_links li.linkPrev {
  float: left;
  margin: 0 0 0 1em;
}

.article_links li.linkNext {
  float: right;
  margin: 0 1em 0 0;
  justify-content: right;
}

.article_links li.linkPrev::before {
  position: absolute;
  content: "≪";
  width: 1em;
  left: -2em;
}

.article_links li.linkNext::after {
  position: absolute;
  content: "≫";
  width: 1em;
  right: -2em;
}

.article_links li.linkPrev > span,
.article_links li.linkNext > span {
  font-size: 90%;
  margin: 0 0 0.25em;
  color: #444444;
}

.article_links li a {
  position: relative;
  width: 100%;
}

.article_links li a span {
  display: -webkit-box;
  overflow: hidden;
  word-break: break-all;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.article_links li.linkNext a span {
  text-align: right;
}

.archive_box {
  margin: 4em 2em 0;
}

.archive_box h2 {
  color: #60cfe2;

}

.archive_box ul {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 2em 0;
}

.archive_box li {
  position: relative;
  width: 23%;
  background: #fff;
  filter: drop-shadow(0.1em 0.1em 0.25em #666);
  border-radius: 1em;
}

.archive_box li:nth-of-type(n+5) {
  margin: 2em 0 0;
}

.archive_box li a {
  display: block;
  padding: 0 0 1em;
}

.archive_box li img {
  object-fit: cover;
  aspect-ratio: 16 / 9;
  border-radius: 1em 1em 0 0;
}

.archive_box li a > div {
  padding: 0.5em 0.5em 1em;
}

.archive_box .archiveTitle {
  display: block;
  display: -webkit-box;
  overflow: hidden;
  word-break: break-all;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.archive_box .archiveDate {
  position: absolute;
  right: 1em;
  bottom: 0.5em;
}

.linkTop {
  text-align: center;
}

.linkTop a {
  border: 0.2rem solid #0052a4;
  display: inline-block;
  padding: 0.5em 4em;
  font-size: 1.4em;
  border-radius: 0.5em;
  font-weight: 500;
}

@media screen and (max-width: 899px) {

  .article_box {
    width: auto;
    margin: 0 1em;
  }

  .article_box h1 {
    display: flex;
    flex-wrap: wrap;
  }

  .article_box h1 img:nth-of-type(1) {
    width: 9rem;
    margin: 0 1em 1em;
  }

  .article_box h1 img:nth-of-type(2) {
    width: 18rem;
  }

  .article_pankuzu ul {
    flex-wrap: wrap;
  }

  .article_links li {
    float: none;
    width: 100%;
  }

  .article_links li.linkNext {
    margin: 1em 1em 0 0;
  }

  .archive_box {
    margin: 2em 1em 0;
  }

  .archive_box ul {
    gap: 1em;
  }

  .archive_box li {
    width: calc(50% - 0.5em);
  }

  .archive_box li:nth-of-type(n+5) {
    margin: 0;
}
}