@charset "utf-8";

body {
  font-family: "Noto Sans JP", sans-serif;
  color: #555555;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: calc(25 / 14);
  background: #FFFFFF;
}

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

.ff-serif {
  font-family: "Noto Serif JP", serif;
}
.ff-prompt {
  font-family: "Prompt", sans-serif;
}

.hidden {
  overflow: hidden;
}

.word-break {
  word-break: auto-phrase;
}

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

  &.is-start {
    translate: 0 20px;
    opacity: 0;
  }

  &.is-show {
    translate: 0 0;
    opacity: 1;
    transition: all 1s ease;
  }
}

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

@media screen and (min-width: 768px) {
  .br-sp br{
    display: none;
  }
}
@media screen and (min-width: 900px) {
  .br-900 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: 600px;
  padding: 0 20px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}
@media screen and (min-width: 768px) {
  .l-inner {
    max-width: 1366px;
    height: inherit;
    padding: 0 40px;
  }
}
@media screen and (min-width: 1100px) {
  .l-inner {
    max-width: 1366px;
    height: inherit;
    padding: 0 80px;
  }
  .l-inner__narrow {
    padding: 0 123px;
  }
}

.title-wrap {
}

.title-main {
  font-family: "Noto Serif JP", sans-serif;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: calc(35 / 30);
  width: fit-content;
  position: relative;

  &::before {
    content: "";
    background: url('../images/line.svg') left / contain no-repeat;
    width: 120%;
    height: 20px;
    position: absolute;
    bottom: -14px;
    left: 0;
    z-index: -1;
  }
}

.title-sub {
  margin-top: 10px;
  color: #AAA8A6;
  font-family: "Noto Serif JP", sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: calc(20 / 16);
}

.button {
  padding: 20px 26px;
  background: transparent;
  border-radius: 10px;
  border: 1px dotted #377F5E;
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  justify-content: start;
}
.button p {
  color: #333333;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1;
  text-decoration: none;
}

.button::before {
  content: "";
  background: url('../images/arrow-green.svg') center / contain no-repeat;
  width: 12px;
  height: 10px;
  transition: background 0.3s;
}
.button:hover {
  background: #A4D4C2;
  border: 1px solid #A4D4C2;
  p {
    color: #FFFFFF;
  }
  &::before {
    background: unset;
  }
}

.button-reserve {
  width: 221px;
}
.button-reserve p::before {
  content: "";
  background: url('../images/calendar.svg') center / contain no-repeat;
  width: 27px;
  height: 27px;
}


.c-head {
  padding: 90px 0 70px;
  position: relative;
  z-index: 1;
  color: #fff;
}
@media screen and (min-width: 1100px) {
  .c-head__inner { 
    padding: 0 43px 0 85px;
      max-width: 1500px;
  }
}

.c-head__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  &::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #A08C8C;
    opacity: 0.34;
    pointer-events: none;
  }
  
  img {
    object-fit: cover;
  }
}

.c-breadcrumb {
  width: fit-content;
  margin-left: auto;
  display: flex;
  align-items: center;
  font-size: 13px;
  letter-spacing: 0.06em;
  gap: 17px;
  font-weight: 400;
}

.c-breadcrumb a {
  transition: text-decoration 0.3s
}
.c-breadcrumb a:hover {
  text-decoration: underline;
}
.c-breadcrumb__icon {
  width: 6px;
  height: 7px;
  background: #FFFFFF;
  clip-path: polygon(0 0, 0% 100%, 100% 50%);
}

.c-head__wrap {
  margin-top: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  gap: 7px;
}
@media screen and (min-width: 1100px) {
  .c-head__wrap {
    margin-top: 299px;
  }
}

.c-head__title-main {
      margin-top: 6px;
  font-family: "Noto Serif JP", serif;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.c-head__title-sub {
  font-family: "Noto Serif JP", serif;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: 0.06em;
  font-weight: 500;
}

.c-tag {
  padding: 5px 12px;
  background: #fff;
  color: #377E5E;
  border-radius: 30px;
  font-size: 12px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0;
  width: fit-content;
}
.c-tag--news {
  background: #F8F8F7;
  border: 1px solid #D9D9D9;
}

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

.c-cat {
  min-width: 98px;
  background: #FFFFFF;
  border-radius: 100px;
  border: 1px solid #1283BB;
  padding: 9px 18px;
  text-align: center;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.03em;
  color: #1283BB;
  transition: background 0.3s;
}
@media screen and (min-width: 768px) {
  .c-cat {
    font-size: 20px;
  }
}
.c-cat:hover {
  background: #1283BB;
  color: #fff;
}
.c-cat.is-active {
  background: #1283BB;
  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: #C9C9C9;
  color: #FFFFFF;
}

.webgene-pagination ul .number.selected a {
  background: #A4D4C2;
  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: #4B4B4B;
    font-weight: 400;
    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__meta {
      display: flex;
    align-items: center;
    gap: 20px;
}

.detail__date {
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0;
  font-weight: 400;
}

.detail__tag {
  background: #F0FAF6;
}

.post-ttl {
  margin-top: 50px;
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: 0.06em;
  font-weight: 500;
  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: #A4D4C2;
  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 50px;
  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: #A4D4C2;
  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 #A4D4C2;
  margin-bottom: 40px;
}

.detail__btn {
  display: block;
  margin-inline: auto;
  border: 1px solid transparent;
  width: 183px;
  background: #377E5E;
  border: 1px solid #377E5E;
  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: #377E5E;
  background: #fff;
}