@charset "utf-8";

body {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  color: #363636;
  font-size: 13px;
  letter-spacing: 0;
  line-height: normal;
  background: #F5F5F3;
  position: relative;


}
body::before {
    content: "";
    position: absolute;
    background: url('../images/bg.png') center / contain repeat;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 3;
  }

.ff-kosugi {
  font-family: "Kosugi", sans-serif;
}
.ff-rale {
  font-family: "Raleway", sans-serif;
}
.ff-lato {
  font-family: "Lato", sans-serif
}

.hidden {
  overflow: hidden;
}

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;
}

.js-fadeIn {
  translate: 0 0;
  opacity: 1;


}
.js-fadeIn.is-start {
      translate: 0 20px;
      opacity: 0;
  }
  
.js-fadeIn.is-show {
    translate: 0 0;
    opacity: 1;
    transition: all 1s ease;
  }

.br-sp br{
  display: none;
}
@media screen and (min-width: 768px) {
  .br-sp br{
    display: inline-block;
  }
  .br-pc br{
    display: none;
  }
}
@media screen and (min-width: 900px) {
  .br-900 br{
    display: none;
  }
}

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

.l-inner {
  width: 100%;
  max-width: 600px;
  padding: 0 20px;
  margin: 0 auto;
  position: relative;
  z-index: 5;
}
@media screen and (min-width: 768px) {
  .l-inner {
    max-width: 900px;
    height: inherit;
    padding: 0 40px;
  }
}
@media screen and (min-width: 1024px) {
  .l-inner {
    max-width: 1366px;
    padding: 0 70px;
  }
}
@media screen and (min-width: 1100px) {
  .l-inner {
    padding: 0 130px;
  }
  .top-service__inner {
    padding: 0 120px 0 130px;
  }
}

.bg-section {
  background: #FFFFFF;
  border-radius: 40px 40px 0 0;
  position: relative;
  margin-top: -70px;
  position: relative;

}
.bg-section::before {
    content: "";
    position: absolute;
    background: url('../images/bg.png') center / contain repeat;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 3;
  }

.bg-section--gray {
  background: #F5F5F3;
}
.bg-section--gray-all {
  background: #F5F5F3;
  border-radius: 40px;
  z-index: 3;
}

.title-wrap {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-bottom: 9px;
  position: relative;

  &::before,
  &::after {
    content: "";
    position: absolute;
    bottom: 0;
    height: 2px;
  }
  &::before {
    width: 70px;
    background: #3E614D;
    left: 0;
  }
  &::after {
    background: #B8C0C7;
    width: calc(100% - 70px);
    left: 70px;
  }
}
.title-img {
  margin-left: 10px;
  background: url(../images/icon-logo02.png) center / contain no-repeat;
  width: 52px;
  height: 51px;
}
.title-main {
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1;
}

.squareTitle {
  --size: 20px;
  --bg-odd: #3E614D;
  --bg-even: rgba(62, 97, 77, 0.8);
  display: flex;
  line-height: 1.7;
  text-transform: uppercase;
  font-family: "Josefin Sans", sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #fff;
  letter-spacing: 0;
}
.squareTitle--large {
  --size: 30px;
  line-height: 1.5;
  font-size: 24px;
}

.squareTitle span {
  display: grid;
  place-items: center;
  width: var(--size);
  height: var(--size);
  background: var(--bg-odd);
}
.squareTitle span:nth-child(even) {
  background: var(--bg-even);
}
.squareTitle.is-reverse span {
  background: var(--bg-even);
}
.squareTitle.is-reverse span:nth-child(even) {
  background: var(--bg-odd);
}

.button {
  width: 191px;
  background: #3E614D;
  border: 1px solid #3E614D;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 16px;
  padding: 12px 16px;
  flex-shrink: 0;
}
.button p {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1;
  font-family: "Kosugi", sans-serif;
  color: #FFFFFF;
  text-decoration: none;
}
.button::after {
  content: "";
  background: url('../images/icon-arrow.svg') center / contain no-repeat;
  width:24px;
  height: 24px;
  transition: background 0.3s;
}
.button:hover {
  background: #ffffff;
}
.button:hover p {
  color: #3E614D;
}
.button:hover::after {
  background: url('../images/icon-arrow-green.svg') center / contain no-repeat;
}

.button-line {
  padding-right: 34px;
  position: relative;
}
.button-line p {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1;
  font-family: "Kosugi", sans-serif;
  text-decoration: underline;
}
.button-line::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: url('../images/20251111141846949145.svg') center / contain no-repeat;
  width: 24px;
  height: 24px;
  transition: right 0.3s;
}
.button-line:hover::after {
  right: -5px;
}

.c-head {
  padding: 113px 0 0;
  position: relative;
}

.c-head__nav {
  position: absolute;
  top: 39px;
  right: 142px;
  align-items: center;
  gap: 31px;
  display: none;
}
@media screen and (min-width: 768px) {
  .c-head__nav {
    display: flex;
  }
}
.c-head__link p {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1;
}
.c-head__link:hover p {
  color: #32634B;
}

.c-head__wrap {
  display: flex;
  justify-content: space-between;
  gap: 45px;
  padding-bottom: 25px;
  border-bottom: 1px solid #B8C0C7;
  position: relative;
  flex-direction: column;
  align-items: start;

  &::before {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 70px;
    height: 2px;
    background: #32634B;
  }
}
@media screen and (min-width: 1100px) {
  .c-head__wrap {
    gap: 20px;
    flex-direction: row;
    align-items: center;
  }
}

.c-breadcrumb {
  display: flex;
  align-items: center;
  font-size: 13px;
  color: #6F6F6F;
  font-weight: 400;
  letter-spacing: 0.06em;
  gap: 16px;
  z-index: 91;
}
.c-breadcrumb a {
  transition: text-decoration 0.3s
}
.c-breadcrumb a:hover {
  text-decoration: underline;
}
.c-breadcrumb__border {
  width: 16px;
  height: 1px;
  rotate: -50deg;
  background:#3B5382;
}

.c-head__text-deco {
  position: absolute;
  bottom: 3px;
  transform: translateX(-50%);
  left: 51%;
  width: 95%;
  height: auto;
  z-index: -1;
}
@media screen and (min-width: 1100px) {
  .c-head__text-deco {
    width: auto;
    height: 198px;
  }
}

.c-head__title {
  margin-top: 25px;
  font-family: "Kosugi", sans-serif;
  font-size: 34px;
  line-height: calc(40 / 34);
  letter-spacing: 0.08em;
  font-weight: 400;
}
@media screen and (min-width: 1100px) {
  .c-head__title {
    margin-top: 35px;
  }
}

.c-head__img {
  aspect-ratio: 480 / 240;
  width: 70%;
  height: auto;
  object-fit: cover;
  border-radius: 5px;
  overflow: hidden;
  margin-left: auto;
}
@media screen and (min-width: 1100px) {
  .c-head__img {
    width: 480px;
    margin-left: 0;
  }
}

.c-head__white {
      padding: 175px 0 190px;
      position: sticky;
    top: 0;
    left: 0;
}
.c-head__white,
.c-head__white .c-breadcrumb {
  color: #fff;
}
.c-head__white .c-breadcrumb__border,
.c-head__white .c-head__wrap::before {
  background: #fff;
}
.c-head__white .c-head__img {
  position: absolute;
  top: 0;
  left: 0;
  aspect-ratio: unset;
  width: 100%;
  height: 100%;

  &::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0.49;
    pointer-events: none;
  }
}
.c-head__white .c-head__img img {
    width: 100%;
  height: 100%;
  object-fit: cover;
}
.c-head__white .c-head__wrap {
  padding-bottom: 111px;
}
.c-head__white .c-head__text-deco {
    width: min(60%, 330px);
    bottom: 90px;
    transform: translateX(-50%);
    left: 60%;
}
@media screen and (min-width: 1100px) {
  .c-head__white .c-head__text-deco {
  width: 386px;
    height: auto;
        bottom: 43px;
    left: 36%;
}
}

.c-tag {
  padding: 5px 7px 6px;
  background: #DDDEDD;
  color: #848484;
  border-radius: 12px;
  font-size: 12px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0.08em;
  width: fit-content;
}


.c-category > .webgene-blog {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}
@media screen and (min-width: 1024px) {
  .c-category > .webgene-blog {
    margin-bottom: 90px;
  }
}

.c-cat {
  min-width: 150px;
  background: #FFFFFF;
  border-radius: 5px;
  padding: 18px 20px;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.05em;
  color: #232323;
  transition: background 0.3s;
}
.c-cat:hover {
  background: #32634B;
  color: #fff;
}
.c-cat.is-active {
  background: #32634B;
  color: #fff;
}

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

.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: 1;
  border-radius: 50%;
  background-color: #F8F8F8;
  color: #4B4B4B;
}

.webgene-pagination ul .number.selected a {
  background: #32634B;
  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: #283B54;
    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 {
  background: #fff;
  border-radius: 10px;
  padding: 40px 23px;
  max-width: 1106px;
  margin-inline: auto;
}
@media screen and (min-width: 768px) {
  .detail-box {
    padding: 60px 43px;
  }
}
@media screen and (min-width: 1024px) {
  .detail-box {
    padding: 90px 93px 110px;
  }
}

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

.post-ttl::before {
  content: "";
  position: absolute;
  background: #32634B;
  width: 8px;
  height: 67%;
  top: 40%;
  transform: translateY(-50%);
  left: 2px;
}

.post-detail__content span {
  display: block;
  margin-inline: auto;
}

.post-detail__content img,
.detail img{
  margin: 40px auto 10px;
  max-width: 550px;
  margin-inline: auto;
  display: block;
  height: auto;
}
@media screen and (min-width: 768px) {
  .post-detail__content img,
  .detail img{
    margin: 81px auto 84px;
    width: auto;
  }
}
.post-detail__content img,
.detail img{
  object-fit: cover;
}

.detail-text {
  padding-block: 32px 60px;
  font-weight: 400;
  font-size: 14px;
  line-height: calc(32 / 14);
  letter-spacing: 0;
}
@media screen and (min-width: 768px) {
  .detail-text {
    padding-block: 44px 80px;
  }
}

.post-detail__content h2 {
  margin-top: 53px;
  font-size: 18px;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 35px;
}
@media screen and (min-width: 768px) {
  .post-detail__content h2 {
    gap: 17px;
  }
}

.post-detail__content h2::before {
  content: "";
  background: #32634B;
  border-radius: 3px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

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

.detail__btn {
  display: block;
  margin-inline: auto;
  border: 1px solid transparent;
  width: 183px;
  background: #32634B;
  border: 1px solid #32634B;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
  padding: 14px;
  border-radius:40px;
}
.detail__btn:hover {
  color: #32634B;
  background: #fff;
}