@charset "utf-8";

body {
  font-family: "Noto Sans JP", serif;
  color: #3F4D41;
  font-size: 16px;
  font-weight: 600;
  line-height: calc(28.8 / 16);
  letter-spacing: 0.08em;
  background: #fff;
  position: relative;
}

a {
  color: inherit;
  text-decoration: none;
  transition: 0.3s;
}
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

picture, img, a, span {
    display: inline-block;
}

img, svg {
    width: 100%;
    height: 100%;
}

button {
    color: inherit;
    background: transparent;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
ul,
ol,
dl,
li,
dt,
dd,
p,
div,
span,
img,
a,
table,
tr,
th,
td,
small,
button,
time,
figure {
  border: 0;
  margin: 0;
  padding: 0;
  vertical-align: baseline;
}

html {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

li,
dd {
  list-style-type: none;
}

header,
footer,
nav,
section,
article,
main,
aside,
figure,
figcaption {
  display: block;
}

img {
  border: none;
  vertical-align: bottom;
}

.hidden {
  overflow: hidden;
}

.br-sp br,
.br-sp500 br,
.br-sp900 br {
  display: none;
}
@media screen and (min-width: 500px) {
  .br-sp500 br {
    display: inline-block;
  }
}
@media screen and (min-width: 900px) {
  .br-sp900 br {
    display: inline-block;
  }
}
@media screen and (min-width: 1100px) {
  .br-sp br {
    display: inline-block;
  }
}

@media screen and (min-width: 500px) {
  .br-pc500 br{
    display: none;
  }
}
@media screen and (min-width: 900px) {
  .br-pc900 br{
    display: none;
  }
}
@media screen and (min-width: 1100px) {
  .br-pc br{
    display: none;
  }
}

.c-link,
.c-link02 a {
  text-decoration: underline !important;
}
.c-link:hover,
.c-link02 a:hover {
  text-decoration: underline !important;
  opacity: 0.7;
}

.l-inner {
  width: 100%;
  max-width: 550px;
  padding: 0 20px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}
.c-head .l-inner {
  max-width: 100%;
}
@media screen and (min-width: 768px) {
  .l-inner {
    max-width: 1366px;
    height: inherit;
    padding: 0 60px;
  }
}
@media screen and (min-width: 1200px) {
  .l-inner {
    padding: 0 83px !important;
  }
}
@media screen and (min-width: 1200px) {
  .c-head .l-inner {
    max-width: 1366px;
  }
}

.bg-gradation {
  background: linear-gradient(to bottom, rgba(252, 253, 252, 0.2) 0%, rgba(24, 106, 40, 0.2) 100%);
}
.bg-gradation-bottom::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 746px;
  background: linear-gradient(#fcfdfc 0%, #186a28 100%);
  opacity: 0.2;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.title-main {
  width: auto;
  height: 45px;
}
@media screen and (min-width: 768px) {
  .title-main {
    height:50px;
  }
}

.title-sub {
  margin-top: 15px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: calc(20 / 14);
  color: #186A28;
}

.button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 260px;
  background: #FFFFFF;
  border: 1px solid #E1E6E2;
  border-radius: 23px;
  padding: 6px 6px 6px 20px;
  flex-shrink: 0;
}
.button p {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
  color: #186A28;
  text-decoration: none;
}
.button::after {
  content: "";
  background: url('../images/icon-arrow.svg') center / contain no-repeat;
  width: 42px;
  height: 42px;
  transition: background 0.3s;
}
.button:hover {
  background: #D4EADF;
}
.button:hover::after {
  background: url('../images/icon-arrow-white.svg') center / contain no-repeat;
}

.button-gradation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 200px;
  background: linear-gradient(to right, #186a28 0%, #7bb787 100%);
  padding: 6px 6px 6px 20px;
  border-radius: 23px;
  flex-shrink: 0;
  transition: opacity 0.3s;
}
.button-gradation p {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  color: #FCFDFC;
  text-decoration: none;
}
.button-gradation::after {
  content: "";
  background: url('../images/icon-arrow.svg') center / contain no-repeat;
  width: 34px;
  height: 34px;
}
.button-gradation:hover {
  opacity: 0.7;
}

.bg-text__wrap {
  display: flex;
  justify-content: center;
  gap: 50px;
  width: 100%;
  height: auto;
  pointer-events: none;
}
.bg-text {
  font-size: 160px;
  letter-spacing: 0;
  line-height: calc(232 / 160);
  font-weight: 100;
  color: #fff;
  flex-shrink: 0; 
  animation: infinity-scroll-left 50s infinite linear 0.5s both;
  pointer-events: none;
}
@keyframes infinity-scroll-left {
  from {
    transform: translateX(0%);
  }
  to {
    transform: translateX(-100%);
  }
}

.c-head {
  padding: 165px 0 0;
  position: relative;
  background: #FCFDFC;
  overflow: hidden;
}
@media screen and (min-width: 1200px) {
  .c-head {
    padding: 174px 0 0;
  }
}

.c-breadcrumb {
  margin-top: 235px;
  display: flex;
  justify-content: start;
  font-size: 14px;
  color: #4A574C;
  letter-spacing: 0.06em;
  gap: 17px;
}
@media screen and (min-width: 1100px) {
  .c-breadcrumb {
    margin-top: 135px;
  }
}
.c-breadcrumb a {
  transition: text-decoration 0.3s
}
.c-breadcrumb a:hover {
  text-decoration: underline;
}

.c-head__deco {
  position: absolute;
  bottom: -109px;
  right: 0;
  height: 227px;
  width: auto;
  pointer-events: none;
}

.c-head__toc {
  position: absolute;
  bottom: 13%;
  right: 15px;
  background: #ECF2ED;
  padding: 25px 20px;
  border-radius: 10px;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 29px;
  z-index: 5;
}
@media screen and (min-width: 1100px) {
  .c-head__toc {
    bottom: unset;
    top: -5px;
    right: 115px;
    padding: 42px 51px;
  }
}
.c-head__toc-large {
  padding: 32px 40px;
}
@media screen and (min-width: 1100px) {
  .c-head__toc-large {
    padding: 42px 51px;
  }
}
.c-head__toc2 {
  grid-template-columns: repeat(2, 1fr);
  gap: 15px 5px;
}
@media screen and (min-width: 768px) {
  .c-head__toc2 {
  gap: 23px 32px;
}
}

.c-head__title-main {
  height: 45px;
  width: fit-content;
}
@media screen and (min-width: 768px) {
 .c-head__title-main {
  height: 50px;
}
}
.c-head__title-sub {
  margin-top: 16px;
  font-size: 14px;
  line-height: calc(20 / 14);
  letter-spacing: 0.08em;
  font-weight: 700;
  color: #186A28;
}

.c-head__img {
  margin-top: 63px;
  aspect-ratio: 375 / 350;
  width: 100%;
  height: auto;
  position: relative;
  border-radius: 30px;
  overflow: hidden;
}
@media screen and (min-width: 768px) {
  .c-head__img {
    aspect-ratio: 1366 / 460;
  }
}
.c-head__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.c-head__img::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 30px;
  background: #499655;
  opacity: 0.2;
  top: 0;
  left: 0;
  pointer-events: none;
}

.l-detail {
  padding: 120px 0 295px;
}
@media screen and (min-width: 1100px) {
  .l-detail {
    padding: 120px 0 495px;
  }
}
.l-detail-border {
  position: relative;
}
@media screen and (min-width: 1000px) {
  
  .l-detail-inner {
    padding-right: 0 !important;
  }
}

.c-detail__title-main {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: #186A28;
  display: flex;
  align-items: center;
  gap: 10px;
}
.c-detail__title-main::before {
  content: "";
  background: #186A28;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.c-detail__title-sub {
  margin-top: 13px;
  height: 25px;
  width: auto;
}
@media screen and (min-width: 768px) {
  .c-detail__title-sub {
    height: 33px;
  }
}

.article__container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  column-gap: 60px;
  align-items: flex-start;
  position: relative;
}
@media screen and (min-width: 1100px) {
  .article__container {
    column-gap: 100px;
  }
}
@media screen and (min-width: 1000px) {
  .article__container::before {
    content: "";
    position: absolute;
    background: #E1E6E2;
    width: 1px;
    height: calc(100% + 120px + 495px);
    top: -120px; 
    right: 230px;
  }
}

.article__sidebar {
  display: none;
}
@media screen and (min-width: 1000px) {
  .article__sidebar {
    display: block;
    position: sticky;
    top: 95px;
    width: 230px;
  }
}
.article__contents {
  // width: min(900px, 100%);
  // margin-inline: auto;
  flex: 1;
}
.toc {
  width: 190px;
  margin-left: 20px;
}
@media screen and (min-width: 1100px) {
  .toc {
   margin-left: 40px;
    width: 210px;
  }
}
.toc__title {
  font-size: 16px;
  font-weight: 700;
  color: #186A28;
  line-height: calc(24 / 16);
  letter-spacing: 0.08em;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #E1E6E2;
}
.toc li.js-active > a::before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  background: #186A28;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.toc .list_2 {
  counter-reset: li;
}
.toc li:not(:first-of-type) {
  margin-top: 8px;
}
.toc a {
  display: inline-block;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0;
  line-height: calc(35 / 14);
  padding-left: 20px;
  position: relative;
}
@media screen and (min-width: 1100px) {
  .toc a {
   font-size: 14px;
  }
}

.c-table {
  display: flex;
  position: relative;
  padding: 23px 0 22px;
  flex-wrap: nowrap;
  border-top: 1px solid rgba(225, 230, 226, 0.9);
}
.c-table:last-of-type {
  border-bottom: 1px solid rgba(225, 230, 226, 0.9);
}
.c-table__head {
  flex-shrink: 0;
  width: 100px;
}
@media (min-width: 768px) {
  .c-table__head {
    width: 207px;
  }
}
.c-table__body {
  flex-grow: 1;
}

.webgene-pagination {
  margin-top: 50px;
  font-size: 14px;
  justify-self: center;
  grid-column: 1 / -1;
}
@media screen and (min-width: 768px) {
  .webgene-pagination {
    margin-top: 40px;
  }
}

.webgene-pagination a:hover {
  opacity: 0.7;
}

.webgene-pagination ul {
  display: flex;
  list-style: none;
  gap: 10px;
  padding-inline-start: 0;
  justify-content: center;
  align-items: center;
}

.webgene-pagination ul .number a {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  line-height: 2.2;
  border-radius: 50%;
  background-color: #fff;
}

.webgene-pagination ul .number.selected a {
  background: #186A28;
  color: #fff;
  border-radius: 50%;
}

li.next,
li.prev {
  position: relative;
}

li.next a,
li.prev a{
  height: 40px;
  width: 40px;
  padding: 2px;
  position: relative;
}

li.prev:after,
li.next:after {
  pointer-events: none;
  content: "";
  position: absolute;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
}

li.prev:after {
  background-image: url("../images/prev.svg");
  left: 0;
}
li.next:after {
  background-image: url("../images/next.svg");
  right: 0;
}

@media screen and (min-width: 768px) {
  li.next {
    margin-left: 30px;
  }
  li.prev {
    margin-right: 30px;
  }

  li.next a,
  li.prev a{
    margin-top: 3px;
    color: #6F5454;
    width: auto;
    padding-block: 10px;
    z-index: 10;
    line-height: 1;
  }
  li.prev a {
    padding-left: 48px;
  }
  li.next a {
    padding-right: 48px;
  }
  
  li.prev:after,
  li.next:after {
    pointer-events: auto;
  }
}

.detail-box {
  padding: 60px 20px;
  border-radius: 20px;
  background: #fff;
}
@media screen and (min-width: 768px) {
  .detail-box {
    padding: 80px 40px;
  }
}
@media screen and (min-width: 1200px) {
  .detail-box {
    padding: 93px 102px 110px;
  }
}

.post-ttl {
  margin-top: 45px;
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: 0.06em;
  font-weight: 400;
  padding-bottom: 18px;
  border-bottom: 1.5px solid #D0D0D0;
  padding-left: 29px;
  position: relative;
}
@media screen and (min-width: 1200px) {
  .post-ttl {
    font-size: 22px;
  }
}

.post-ttl::before {
  content: "";
  position: absolute;
  background: #196A28;
  width: 8px;
  height: 56%;
  top: 40%;
  transform: translateY(-50%);
  left: 0;
}

.post-detail__content img,
.detail img{
  margin: 40px auto 10px;
  max-width: 550px;
  margin-inline: auto;
  display: block;
  aspect-ratio: 600 / 281;
  border-radius: 10px;
}
@media screen and (min-width: 768px) {
  .post-detail__content img,
  .detail img{
    margin: 81px auto 84px;
    width: min(100%, 591px);
  }
}

.post-detail__content img,
.detail img{
  object-fit: cover;
}

.detail-text {
  padding-block: 32px 60px;
  font-weight: 400;
  font-size: 13px;
}
@media screen and (min-width: 768px) {
  .detail-text {
    padding-block: 42px 100px;
    font-size: 15px;
    line-height: calc(33 / 15);
    letter-spacing: 0.08em;
  }
}

.post-detail__content h3 {
  margin-top: 83px;
  font-size: 18px;
  letter-spacing: 0.06em;
  border-bottom: 1.5px solid #196A28;
  padding-bottom: 5px;
  margin-bottom: 40px;
}

.post-detail__content h2 {
  margin-top: 53px;
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: 0.06em;
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 40px;
}

.post-detail__content h2::before {
  content: "";
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #196A28;
  display: inline-flex;
  flex-shrink: 0;
}

.detail__btn {
  display: block;
  margin-inline: auto;
  width: 219px;
  color: #fff;
  background: #D4EADF;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.05em;
  color: #186A28;
  text-align: center;
  padding: 20px;
  border-radius: 28px;
}
.detail__btn:hover {
  color: #fff;
  background: #186A28;
}