@charset "utf-8";

body {
  font-family: "Noto Sans JP", serif;
  color: #343434;
  font-size: 14px;
  font-weight: 400;
  line-height: calc(34.8 / 16);
  letter-spacing: 0;
  background: linear-gradient(#f9fafc 0%, #ecf4fc 100%);
}
@media screen and (min-width: 768px) {
  body {
    font-size: 16px;
  }
}

.ff-serif-jp {
  font-family: "Noto Serif JP", serif;
}
.ff-serif {
  font-family: "Noto Serif", 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;
}

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

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

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

.l-inner {
  width: 100%;
  max-width: 100%;
  padding: 0 20px;
  position: relative;
}

@media screen and (min-width: 768px) {
  .l-inner {
    position: relative;
    width: 100%;
    max-width: 1366px;
    height: inherit;
    padding: 0 100px;
    margin: auto !important;
  }
}

.title-main {
  margin-top: 5px;
  font-family: "Noto Serif JP", serif;
  font-size: 20px;
  line-height: calc(36 / 24);
  font-weight: 500;
  color: #002855;
}
@media screen and (min-width: 768px) {
  .title-main {
    margin-top: 15px;
    font-size: 24px;
    line-height: calc(50 / 24);
  }
}

.title-sub {
  font-family: "Noto Serif", serif;
  font-size: 43px;
  letter-spacing: 0.04em;
  color: #D0E4ED;
  line-height: calc(82 / 60);
}
@media screen and (min-width: 768px) {
  .title-sub {
    font-size: 60px;
  }
}

.button {
  width: 248px;  
  border: 1px solid #D2D7D8;
  background: #FFFFFF;
  padding: 10px 27px;
  border-radius: 30px;
  position: relative;
}
.button p {
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  line-height: calc(38 / 16);
  color: #002855;
}
.button::after {
  content: "";
  position: absolute;
  background: url('../images/arrow-blue.svg') center / contain no-repeat;
  width: 10px;
  height: 10px;
  top: 50%;
  transform: translateY(-50%);
  right: 27px;
}
.button:hover {
  background: #002855;
}
.button:hover p {
  color: #fff;
}
.button:hover::after{
  background: url('../images/arrow-white.svg') center / contain no-repeat;
}

.button-contact {
  width: 265px;  
  border: 1px solid #D2D7D8;
  background: #FFFFFF;
  padding: 9px 27px 11px 55px;
  border-radius: 30px;
  display: flex !important;
  gap: 7px;
  align-items: center;
  position: relative;
}
.button-contact p {
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  line-height: calc(38 / 16);
  color: #002855;
}
.button-contact::before {
  content: "";
  background: url('../images/icon-mail.svg') center / contain no-repeat;
  width: 17px;
  height: 13px;
}
.button-contact::after {
  content: "";
  position: absolute;
  background: url('../images/arrow-blue.svg') center / contain no-repeat;
  width: 10px;
  height: 10px;
  top: 50%;
  transform: translateY(-50%);
  right: 27px;
}
.button-contact:hover {
  background: #002855;
}
.button-contact:hover p {
  color: #fff;
}
.button-contact:hover::before{
  background: url('../images/icon-mail-white.svg') center / contain no-repeat;
}
.button-contact:hover::after{
  background: url('../images/arrow-white.svg') center / contain no-repeat;
}

.c-head {
  padding: 110px 0 0;
  margin-bottom: 110px;
  position: relative;
  overflow: hidden;
}
@media screen and (min-width: 768px) {
  .c-head__inner {
    padding: 0 20px !important;
  }
}

@media screen and (min-width: 768px) {
  .c-head__top {
    padding-left: 60px;
  }
}

.c-breadcrumb {
  display: flex;
  font-size: 14px;
  color: #6F5454;
  font-family: "Noto Sans JP", serif;
  font-weight: 300;
  letter-spacing: 0.006em;
  gap: 17px;
  position: relative;
  z-index: 10;
  margin-left: 5px;
}
.c-breadcrumb a {
  transition: text-decoration 0.3s
}
.c-breadcrumb a:hover {
  text-decoration: underline;
}

.c-head__title-sub {
  margin-top: 71px;
  font-size: 22px;
  line-height: calc(29 / 22);
  letter-spacing: 0.03em;
  color: #2372BF;
  font-family: "Noto Serif", serif;
}
.c-head__title-main {
  font-size: 36px;
  line-height: calc(54.4 / 36);
  letter-spacing: 0.1em;
  color: #09305B;
  font-family: "Noto Serif JP", serif;
}

.c-head__deco {
  margin-top: 80px;
  font-size: 60px;
  line-height: calc(108 / 80);
  letter-spacing: 0.03em;
  color: #D0E4ED;
  text-align: right;
  font-family: "Noto Serif", serif;
}
@media screen and (min-width: 800px) {
  .c-head__deco {
    margin-top: -38px;
    font-size: 80px;
  }
}

.c-head__img {
  aspect-ratio: 1326 / 400;
  width: 100%;
  height: 300px;
  border-radius: 10px;
  object-fit: cover;
  overflow: hidden;
  position: relative;
}
@media screen and (min-width: 800px) {
  .c-head__img {
    margin-top: 19px;
    height: auto;
  }
}
.c-head__img img {
  object-fit: cover;
}

.webgene-pagination {
  margin-top: 30px;
  font-size: 14px;
  justify-self: center;
  grid-column: 1 / -1;
}

.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;
  font-family: "Noto Serif JP", serif;
}

.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: #09305B;
  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 {
  padding: 50px 20px 80px;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
  font-family: "Noto Sans JP", serif;
}
@media screen and (min-width: 768px) {
  .detail-box {
    padding: 70px 40px 100px;
  }
}
@media screen and (min-width: 1200px) {
  .detail-box {
    padding: 83px 150px 100px;
  }
}

.detail-catBtn {
  margin-top: 17px;
  padding: 4px 10px 5px;
  background: #E0ECF5;
  color: #09305B;
  border: 1px solid #09305B;
  font-size: 13px;
  border-radius: 3px;
  text-align: center;
  line-height: 1;
  width: fit-content;
  min-width: 120px;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-left: 25px;
}
.detail-day {
  color: #555555;
  line-height: 1;
  font-size: 14px;
  letter-spacing: 0.05em;
}

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

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

.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: 65px auto 20px;
    width: calc(600 / 1366 * 100vw);
    max-width: 600px;
  }
}

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

.detail-text {
  padding-block: 32px 60px;
  font-weight: 400;
}
@media screen and (min-width: 768px) {
  .detail-text {
    padding-block: 44px 100px;
  }
}

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

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

.post-detail__content h2::before {
  content: "";
  width: 16px;
  height: 17px;
  border-radius: 5px;
  background: #09305B;
  display: inline-flex;
  flex-shrink: 0;
}

.detail__btn {
  display: block;
  margin-top: 50px;
  margin-inline: auto;
  border: 1px solid transparent;
  width: 216px;
  background: #E0ECF5;
  color: #09305B;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.05em;
  text-align: center;
  padding: 14px;
  border-radius:20px;
}
.detail__btn:hover {
  color: #fff;
  background: #09305B;
}

