@charset "UTF-8";
#articleContent {
  width: 800px;
  margin: auto;
  padding: 60px 0 30px;
  color: #434343;
}

@media (max-width: 1000px) {
  #articleContent {
    width: 86%;
    padding: 50px 0 30px;
  }
}
div#sectionInfo {
  display: flex;
  margin-bottom: 20px;
}

#articleContent p#sectionCategory {
  margin-right: 10px;
  margin-bottom: 0;
}

#articleContent p#sectionCategory > a {
  color: #434343;
}

#articleContent p#sectionDate {
  margin-left: 10px;
  margin-bottom: 0;
}

#articleContent h1 {
  font-size: 36px;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 30px;
}

#articleContent h2 {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 30px;
}

#articleContent h3 {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
  padding-bottom: 10px;
  margin-bottom: 30px;
  border-bottom: solid 1px #ddd;
}

@media (max-width: 800px) {
  #articleContent h1 {
    font-size: 18px;
  }

  #articleContent h2 {
    font-size: 16px;
  }

  #articleContent h3 {
    font-size: 14px;
  }
}
#mainImg {
  width: 100%;
  margin: auto;
  margin-bottom: 30px;
}

#mainImg > img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 20px;
}

.articleImg {
  width: 100%;
  margin: auto;
  margin-bottom: 30px;
}

.articleImg > img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 20px;
}

@media (max-width: 800px) {
  #mainImg > img {
    height: 280px;
  }

  .articleImg > img {
    height: 280px;
  }
}
#articleContent p {
  font-size: 15px;
  color: #434343;
  line-height: 1.5;
  letter-spacing: 0.5px;
  margin-bottom: 30px;
}

#articleContent p.imgCaption {
  font-size: 13px;
  font-weight: 200;
  letter-spacing: 0;
  position: relative;
  top: -10px;
}

#articleContent p.quoteTxt {
  background-color: #f1f1f1;
  padding: 50px 40px;
  position: relative;
}

#articleContent p.quoteTxt::before {
  content: "“";
  position: absolute;
  top: -0.1em;
  left: 0.2em;
  color: #aaa;
  font-size: 64px;
  font-weight: 400;
  font-family: "Noto Sans JP", sans-serif;
}

#articleContent p.externalLink > a {
  color: #434343;
  display: inline-block;
  position: relative;
}

#articleContent p.externalLink > a:hover {
  color: #009944;
}

#articleContent p.externalLink > a::before {
  content: "";
  width: 100%;
  height: 1px;
  background-color: #434343;
  bottom: 1px;
  left: 0;
  position: absolute;
}

#articleContent p.externalLink > a:hover::before {
  animation: lineExtend 0.5s ease-in-out;
  transform-origin: left bottom;
}

#articleContent p.externalLink > a::after {
  content: "";
  width: 14px;
  height: 11px;
  background: url("../image/iconExternal.png");
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  top: 5px;
  right: -18px;
}

#articleContent p.pdfLink > a {
  color: #434343;
  display: inline-block;
  position: relative;
}

#articleContent p.pdfLink > a:hover {
  color: #009944;
}

#articleContent p.pdfLink > a::before {
  content: "";
  width: 100%;
  height: 1px;
  background-color: #434343;
  bottom: 1px;
  left: 0;
  position: absolute;
}

#articleContent p.pdfLink > a:hover::before {
  animation: lineExtend 0.5s ease-in-out;
  transform-origin: left bottom;
}

#articleContent p.pdfLink > a::after {
  content: "";
  width: 12px;
  height: 15px;
  background: url("../image/iconPdf.png");
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  top: 5px;
  right: -18px;
}

@keyframes lineExtend {
  0% {
    transform: scale(0, 1);
  }
  100% {
    transform: scale(1, 1);
  }
}
#articleContent p.cautionTxt {
  font-size: 14px;
  color: #777;
  font-weight: 300;
}

#articleContent p.tagLink {
  margin-bottom: 30px;
}

#articleContent p.tagLink > a {
  font-size: 14px;
  color: #009944;
  display: inline-block;
  margin-right: 20px;
  position: relative;
}

#articleContent p.tagLink > a::after {
  content: "";
  width: 100%;
  height: 1px;
  background-color: #009944;
  left: 0;
  bottom: 0;
  position: absolute;
  transform: scale(0, 1);
  transform-origin: left bottom;
  transition: all 0.5s ease-in-out;
}

#articleContent p.tagLink > a:hover::after {
  transform: scale(1, 1);
}

@media (max-width: 800px) {
  #articleContent p {
    font-size: 12px;
  }

  #articleContent p.imgCaption {
    font-size: 11px;
  }

  #articleContent p.quoteTxt::before {
    font-size: 40px;
  }

  #articleContent p.cautionTxt {
    font-size: 10px;
  }

  #articleContent p.tagLink > a {
    font-size: 12px;
  }
}
#articleContent ol {
  list-style-type: decimal;
  padding-left: 1em;
  margin-bottom: 30px;
}

#articleContent ol > li {
  font-size: 15px;
  line-height: 1.3;
  padding-bottom: 10px;
}

@media (max-width: 800px) {
  #articleContent ol > li {
    font-size: 12px;
  }
}
#articleContent ul {
  list-style-type: disc;
  padding-left: 1em;
  margin-bottom: 30px;
}

#articleContent ul > li {
  font-size: 15px;
  line-height: 1.3;
  padding-bottom: 10px;
}

@media (max-width: 800px) {
  #articleContent ul > li {
    font-size: 12px;
  }
}
#articleContent p > span.strongTxt {
  display: inline-block;
  position: relative;
  font-weight: 600;
}

#articleContent p > span.strongTxt::before {
  content: "";
  width: 100%;
  height: 5px;
  background-color: #ffff00;
  position: absolute;
  bottom: 2px;
  left: 0;
  z-index: -1;
}

#articleContent table {
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 30px;
}

#articleContent table th {
  background-color: #f1f1f1;
  border: solid 1px #ddd;
  padding: 10px 0;
}

#articleContent table td {
  border: solid 1px #ddd;
  padding: 15px 10px;
  min-width: 100px;
  text-align: center;
  line-height: 1.5;
  word-break: break-word;
}

@media (max-width: 800px) {
  #articleContent table th {
    font-size: 12px;
  }

  #articleContent table td {
    font-size: 12px;
  }
}
#articleLink {
  align-items: center;
  display: grid;
  grid-template-columns: 80px 1fr 80px;
  grid-template-rows: 1fr;
  grid-template-areas: "articlePrev articleAll articleNext";
  margin-top: 80px;
}

#articlePrev {
  grid-area: articlePrev;
}

#articlePrev > a {
  color: #434343;
  letter-spacing: 0.05em;
  display: inline-block;
  position: relative;
  padding-left: 1.2em;
}

#articlePrev > a::before {
  content: "";
  width: 8px;
  height: 8px;
  border-bottom: solid 1px #434343;
  border-left: solid 1px #434343;
  top: 2px;
  left: 0;
  position: absolute;
  transform: rotateZ(45deg);
}

#articlePrev > a::after {
  content: "";
  width: 100%;
  height: 1px;
  background-color: #434343;
  bottom: -3px;
  left: 0;
  position: absolute;
  transform: scale(0, 1);
  transform-origin: left bottom;
  transition: all 0.5s ease-in-out;
}

#articlePrev > a:hover::after {
  transform: scale(1, 1);
}

#articleAll {
  margin: auto;
  grid-area: articleAll;
}

#articleAll > a {
  font-size: 16px;
  letter-spacing: 1px;
  width: 300px;
  height: 40px;
  line-height: 40px;
  display: inline-block;
  text-align: center;
  border: solid 1px #009944;
  background: linear-gradient(to right, #fefefe 50%, #009944 50%);
  background-size: 200% 100%;
  background-position: bottom right;
  color: #fefefe;
  border-radius: 20px;
  transition: all 0.6s ease-in-out;
  box-sizing: solid 1px #009944;
  box-sizing: border-box;
}

#articleAll > a:hover {
  color: #009944;
  background-position: left bottom;
}

#articleNext {
  grid-area: articleNext;
  text-align: right;
}

#articleNext > a {
  color: #434343;
  letter-spacing: 0.05em;
  display: inline-block;
  position: relative;
  padding-right: 1.2em;
}

#articleNext > a::before {
  content: "";
  width: 8px;
  height: 8px;
  border-bottom: solid 1px #434343;
  border-right: solid 1px #434343;
  top: 2px;
  right: 0;
  position: absolute;
  transform: rotateZ(-45deg);
}

#articleNext > a::after {
  content: "";
  width: 100%;
  height: 1px;
  background-color: #434343;
  bottom: -3px;
  right: 0;
  position: absolute;
  transform: scale(0, 1);
  transform-origin: left bottom;
  transition: all 0.5s ease-in-out;
}

#articleNext > a:hover::after {
  transform: scale(1, 1);
}

@media (max-width: 800px) {
  #articleLink {
    grid-template-columns: 50% 50%;
    grid-template-rows: 1fr 1fr;
    grid-template-areas: "articlePrev articleNext" "articleAll articleAll";
    margin-top: 40px;
  }

  #articlePrev, #articleNext {
    padding-bottom: 10px;
  }

  #articlePrev > a {
    font-size: 13px;
  }

  #articleAll > a {
    font-size: 14px;
    width: 200px;
    height: 36px;
    line-height: 36px;
  }

  #articleNext > a {
    font-size: 13px;
  }
}
#snsSection {
  display: flex;
  margin: 100px auto;
  gap: 12px;
}

#snsSection > div > a {
  color: #fefefe;
  font-weight: 400;
  font-size: 13px;
  width: 165px;
  padding-left: 25px;
  height: 40px;
  line-height: 40px;
  display: inline-block;
  text-align: center;
  border-radius: 5px;
  transition: all 0.6s ease-in-out;
}

#snsSection > div > a:hover {
  filter: opacity(0.7);
}

#snsSection > div#linkCopy > a {
  background-color: #999999;
  display: inline-block;
  position: relative;
}

#snsSection > div#linkCopy > a::before {
  content: "";
  width: 15px;
  height: 15px;
  background: url("../image/iconLinkcopy.png");
  background-repeat: no-repeat;
  background-size: contain;
  top: 13px;
  left: 44px;
  position: absolute;
}

#snsSection > div#linkLine > a {
  background-color: #1cbb16;
  display: inline-block;
  position: relative;
}

#snsSection > div#linkLine > a::before {
  content: "";
  width: 17px;
  height: 15px;
  background: url("../image/iconLinkLine.png");
  background-repeat: no-repeat;
  background-size: contain;
  top: 13px;
  left: 46px;
  position: absolute;
}

#snsSection > div#linkFacebook > a {
  background-color: #176aff;
  display: inline-block;
  position: relative;
}

#snsSection > div#linkFacebook > a::before {
  content: "";
  width: 14px;
  height: 14px;
  background: url("../image/iconLinkFacebook.png");
  background-repeat: no-repeat;
  background-size: contain;
  top: 13px;
  left: 58px;
  position: absolute;
}

#snsSection > div#linkX > a {
  background-color: #020202;
  display: inline-block;
  position: relative;
}

#snsSection > div#linkX > a::before {
  content: "";
  width: 13px;
  height: 13px;
  background: url("../image/iconLinkX.png");
  background-repeat: no-repeat;
  background-size: contain;
  top: 13px;
  left: 58px;
  position: absolute;
}

@media (max-width: 1000px) {
  #snsSection {
    flex-wrap: wrap;
    justify-content: center;
    margin: 60px auto;
    gap: 4%;
  }

  #snsSection > div {
    width: 48%;
    max-width: 340px;
    margin-bottom: 10px;
  }

  #snsSection > div > a {
    width: 85%;
    padding-left: 15%;
  }

  #snsSection > div#linkCopy > a::before {
    left: 17%;
  }

  #snsSection > div#linkLine > a::before {
    left: 18%;
  }

  #snsSection > div#linkFacebook > a::before {
    left: 28%;
  }

  #snsSection > div#linkX > a::before {
    left: 28%;
  }
}
#relatedSection {
  margin: auto;
}

#relatedSection > h3 {
  font-size: 48px;
  color: #020202;
  letter-spacing: 0.03em;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  text-align: center;
  margin-bottom: 0;
  position: relative;
  border: none;
}

#relatedSection > h4 {
  font-size: 18px;
  color: #020202;
  letter-spacing: 0.1em;
  text-align: center;
  margin-bottom: 50px;
}

#relatedFlex {
  display: flex;
  column-gap: 4%;
  flex-wrap: wrap;
}

#relatedFlex div {
  width: 48%;
  margin-bottom: 30px;
}

#relatedFlex div.relatedContent {
  margin: auto;
}

#relatedFlex div.relatedContent > a {
  display: flex;
  column-gap: 20px;
  transition: all 0.6s ease-in-out;
}

#relatedFlex div.relatedContent > a:hover {
  filter: brightness(1.1);
}

#relatedFlex div.relatedPhoto {
  width: 180px;
}

#relatedFlex div.relatedPhoto img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
}

#relatedFlex div.relatedTxt {
  width: 180px;
  position: relative;
}

#relatedFlex div.relatedTxt::before {
  content: "";
  background-color: #434343;
  width: 40px;
  height: 1px;
  bottom: 0;
  right: 0;
  position: absolute;
  transition: all 0.6s ease-in-out;
}

#relatedFlex div.relatedContent > a:hover div.relatedTxt::before {
  right: -4px;
}

#relatedFlex div.relatedTxt::after {
  content: "";
  background-color: #434343;
  width: 8px;
  height: 1px;
  bottom: 2px;
  right: 0;
  transform: rotateZ(30deg);
  position: absolute;
  transition: all 0.6s ease-in-out;
}

#relatedFlex div.relatedContent > a:hover div.relatedTxt::after {
  right: -4px;
}

#relatedFlex div.relatedTxt > p {
  font-size: 13px;
  transition: all 0.6s ease-in-out;
}

#relatedFlex div.relatedContent > a:hover div.relatedTxt > p {
  color: #009944;
}

@media (max-width: 1000px) {
  #relatedSection {
    padding: 10px 0 0;
  }

  #relatedSection > h3 {
    font-size: 32px;
    letter-spacing: 0;
  }

  #relatedSection > h4 {
    font-size: 14px;
    line-height: 1.4;
    letter-spacing: 0;
    margin-bottom: 30px;
  }

  #relatedFlex {
    flex-direction: column;
  }

  #relatedFlex div {
    width: 100%;
    margin-bottom: 30px;
  }

  #relatedFlex div.relatedPhoto img {
    height: 110px;
  }

  #relatedFlex div.relatedTxt > p {
    font-size: 11px;
    margin-bottom: 0;
  }
}
figure.wp-block-gallery.has-nested-images {
  margin-bottom: 50px;
}

@media (max-width: 1000px) {
  figure.wp-block-gallery.has-nested-images {
    margin-bottom: 40px;
  }
}
