/*
Theme Name: hitech-test
Author: yuya kawashima
Description: hitech-test
*/

@charset "utf-8";

/*
=================
common styles
=================
*/
body {
  font-family: "Noto Serif JP", serif;
  background: #f6f8f3;
}

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;
  font-size: 100%;
  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;
}

.tel {
  text-decoration: underline;
  transition: opacity 0.3s;
}
.tel:hover {
  opacity: 0.7;
}

.chatbot {
  z-index: 999 !important;
}

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

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

.title-main {
  font-size: 28px;
  line-height: calc(50.4 / 28);
}
.title-sub {
  margin-top: 4px;
  font-size: 14px;
}
.title-main--white {
  color: #fff;
  font-size: 26px;
  line-height: calc(50.4 / 28);
}
@media screen and (min-width: 768px) {
  .title-main--white {
    font-size: 28px;
  }
}

.title-sub--white {
  color: #fff;
  margin-top: 7px;
  font-size: 14px;
}

.button {
  padding: 12px 16px 13px 52px;
  border-radius: 25px;
  border: 1px solid #fff;
  display: flex;
  align-items: center;
  gap: 22px;
  width: fit-content;
}
.button div p {
  color: #fff;
  font-size: 14px;
}
.button::after {
  content: "";
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 14 14"><g id="グループ_5157" data-name="グループ 5157" transform="translate(-1217 -1122)"><g id="矢印アイコン_右3" data-name="矢印アイコン　右3" transform="translate(1220.138 1125.138)"><path id="パス_4498" data-name="パス 4498" d="M16.285,0l-.624.624L18.536,3.5h-5.8v.883h5.8L15.661,7.258l.624.624,3.941-3.941Z" transform="translate(-12.736)" fill="%23fff"/></g><g id="楕円形_7" data-name="楕円形 7" transform="translate(1217 1122)" fill="none" stroke="%23fff" stroke-width="1"><circle cx="7" cy="7" r="7" stroke="none"/><circle cx="7" cy="7" r="6.5" fill="none"/></g></g></svg>');
  background-size: contain;
  background-repeat: no-repeat;
  width: 14px;
  height: 14px;
  display: inline-flex;
}
.button:hover {
  background: #fff;
}
.button:hover.button div p {
  color: #3e4c59;
}
.button:hover.button::after {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 14 14"><g id="グループ_5157" data-name="グループ 5157" transform="translate(-1217 -1122)"><g id="矢印アイコン_右3" data-name="矢印アイコン　右3" transform="translate(1220.138 1125.138)"><path id="パス_4498" data-name="パス 4498" d="M16.285,0l-.624.624L18.536,3.5h-5.8v.883h5.8L15.661,7.258l.624.624,3.941-3.941Z" transform="translate(-12.736)" fill="%23284038"/></g><g id="楕円形_7" data-name="楕円形 7" transform="translate(1217 1122)" fill="none" stroke="%23284038" stroke-width="1"><circle cx="7" cy="7" r="7" stroke="none"/><circle cx="7" cy="7" r="6.5" fill="none"/></g></g></svg>');
}

.button--small {
  padding: 12.5px 16px 12.5px 38px;
  font-size: 14px;
  gap: 10px;
}

.button--black {
  border: 1px solid #284038;
}
.button--black div p {
  color: #284038;
}
.button--black::after {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 14 14"><g id="グループ_5157" data-name="グループ 5157" transform="translate(-1217 -1122)"><g id="矢印アイコン_右3" data-name="矢印アイコン　右3" transform="translate(1220.138 1125.138)"><path id="パス_4498" data-name="パス 4498" d="M16.285,0l-.624.624L18.536,3.5h-5.8v.883h5.8L15.661,7.258l.624.624,3.941-3.941Z" transform="translate(-12.736)" fill="%23284038"/></g><g id="楕円形_7" data-name="楕円形 7" transform="translate(1217 1122)" fill="none" stroke="%23284038" stroke-width="1"><circle cx="7" cy="7" r="7" stroke="none"/><circle cx="7" cy="7" r="6.5" fill="none"/></g></g></svg>');
}
.button--black:hover {
  background: #3e4c59;
}
.button--black:hover.button--black div p {
  color: #fff;
}
.button--black:hover.button--black::after {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 14 14"><g id="グループ_5157" data-name="グループ 5157" transform="translate(-1217 -1122)"><g id="矢印アイコン_右3" data-name="矢印アイコン　右3" transform="translate(1220.138 1125.138)"><path id="パス_4498" data-name="パス 4498" d="M16.285,0l-.624.624L18.536,3.5h-5.8v.883h5.8L15.661,7.258l.624.624,3.941-3.941Z" transform="translate(-12.736)" fill="%23fff"/></g><g id="楕円形_7" data-name="楕円形 7" transform="translate(1217 1122)" fill="none" stroke="%23fff" stroke-width="1"><circle cx="7" cy="7" r="7" stroke="none"/><circle cx="7" cy="7" r="6.5" fill="none"/></g></g></svg>');
}

.button-green {
  display: block;
  padding: 12px 0 13px;
  border-radius: 25px;
  background: #284038;
  width: 218px;
  font-size: 16px;
  color: #fff;
  text-align: center;
  border: 1px solid transparent;
  transition: background 0.3s, color 0.3s;
}
.button-green:hover {
  background: #fff;
  color: #284038;
  border: 1px solid #284038;
}

.cc-head {
  padding: 101px 30px 93px;
  color: #fff;
  position: relative;
}

.cc-head::after {
  content: "";
  position: absolute;
  width: 4px;
  height: 80px;
  background: linear-gradient(to bottom, #fff 50%, #364943 50%);
  bottom: -80px;
  left: 50%;
  transform: translateY(-50%);
}

.c-head {
  padding: 101px 30px 93px;
  color: #fff;
  position: relative;
}
.c-head::after {
  content: "";
  position: absolute;
  width: 4px;
  height: 80px;
  background: linear-gradient(to bottom, #fff 50%, #364943 50%);
  bottom: -80px;
  left: 50%;
  transform: translateY(-50%);
}

.c-breadcrumb {
  display: flex !important;
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.006em;
  gap: 18px;
}

.c-breadcrumb a {
  border-bottom: 1px solid transparent;
  transition: border-bottom 0.3s, opacity 0.3s;
}

.c-breadcrumb a:hover {
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  opacity: 0.7;
}

.head__title-sub {
  margin-top: 134px;
  font-size: 16px;
  line-height: calc(14 / 16);
  text-align: center;
}
.head__title-main {
  margin-top: 9px;
  font-size: 38px;
  text-align: center;
}

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

.webgene-pagination ul {
  display: flex;
  list-style: none;
  gap: 10px;
  padding-inline-start: 0;
  justify-content: center;
  align-items: center;
}
@media screen and (min-width: 768px) {
  .webgene-pagination ul {
    margin-top: 70px;
  }
}

.webgene-pagination ul .number a {
  width: 30px;
  height: 30px;
  background: #e6e6e6;
  border-radius: 5px;
  color: #424548;
  display: grid;
  place-items: center;
}

.webgene-pagination ul .number.selected a {
  background: #284038;
  color: #fff;
}

li.next {
  margin-left: 30px;
  position: relative;
}

li.prev {
  margin-right: 30px;
  position: relative;
}

li.next a,
li.prev a {
  color: #424548;
  height: 40px;
  padding-block: 10px;
  position: relative;
  z-index: 10;
}

li.prev:after {
  content: "";
  position: absolute;
  background-image: url(../images/icon-prev.svg);
  background-size: 6px 12px;
  background-repeat: no-repeat;
  background-position: center;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border-radius: 5px;
  background-color: #fff;
  border: 2px solid #284038;
}

li.prev a {
  padding-left: 48px;
}

li.next:after {
  content: "";
  position: absolute;
  background-image: url(../images/icon-next.svg);
  background-size: 6px 12px;
  background-repeat: no-repeat;
  background-position: center;
  top: 0;
  right: 0;
  width: 40px;
  height: 40px;
  border-radius: 5px;
  background-color: #284038;
}

li.next a {
  padding-right: 48px;
}

.detail {
  margin-block: 150px 200px;
  padding: 90px 20px 60px 20px;
  border-radius: 5px;
  background: #fff;
}
@media screen and (min-width: 768px) {
  .detail {
    padding: 90px 40px 60px 40px;
  }
}
@media screen and (min-width: 1100px) {
  .detail {
    padding: 90px 110px 60px 104px;
  }
}

.detail-day {
  font-size: 14px;
  margin-right: 35px;
}

.detail-catBtn {
  font-size: 12px;
  padding: 2px 12px;
  border: 1px solid #3e4c59;
}

.post-ttl {
  margin-top: 18px;
  font-size: 20px;
  line-height: calc(50.4 / 28);
  letter-spacing: 0.006em;
  padding-bottom: 19px;
  border-bottom: 1.5px solid #d0d0d0;
  padding-left: 29px;
  position: relative;
}
@media screen and (min-width: 768px) {
  .post-ttl {
    font-size: 28px;
  }
}

.post-ttl::before {
  content: "";
  position: absolute;
  background: #284038;
  width: 8px;
  height: 90%;
  top: -3px;
  left: 0;
}

.post-detail__content img,
.detail img {
  margin: 40px auto 10px;
  max-width: 550px;
  margin-inline: auto;
  display: block;
  aspect-ratio: 700 / 400;
}
@media screen and (min-width: 768px) {
  .post-detail__content img,
  .detail img {
    margin: 65px auto 20px;
    width: calc(700 / 1366 * 100vw);
    max-width: 700px;
  }
}

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

.detail-text {
  padding-block: 50px 62px;
  border-bottom: 1.5px solid #d0d0d0;
}

.post-detail__content h2 {
  margin-top: 83px;
  font-size: 22px;
  letter-spacing: 0.006em;
  padding-bottom: 12px;
  border-bottom: 1.5px solid;
  margin-bottom: 40px;
}

.post-detail__content h3 {
  margin-top: 53px;
  font-size: 20px;
  letter-spacing: 0.006em;
  padding-bottom: 15px;
  border-bottom: 1.5px solid #d0d0d0;
  display: flex;
  gap: 28px;
  align-items: center;
  margin-bottom: 40px;
}

.post-detail__content h3::before {
  content: "";
  width: 13px;
  height: 13px;
  border-radius: 4px;
  background: #284038;
  display: inline-flex;
  margin-top: 3px;
}

.detail__btn {
  margin-top: 50px;
  margin-inline: auto;
}

/*
=================
drawer styles
=================
*/
.drawer__icon {
  position: fixed;
  z-index: 102;
  top: 12px;
  right: 20px;
  width: 24px;
  height: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.drawer__icon--bar {
  width: 100%;
  height: 1px;
  background: #fff;
}

.drawer__icon.js-show {
  .drawer__icon--bar:nth-of-type(1) {
    rotate: 45deg;
    translate: 0 7.5px;
  }
  .drawer__icon--bar:nth-of-type(2) {
    display: none;
  }
  .drawer__icon--bar:nth-of-type(3) {
    rotate: -45deg;
    translate: 0 -7.5px;
  }
}

.drawer {
  position: fixed;
  z-index: 101;
  top: 0;
  right: 0;
  width: 278px;
  height: 100vh;
  height: 100svh;
  background: #001a75;
  overflow-y: scroll;
}
.drawer__body {
  width: 100%;
  height: fit-content;
  padding-block: 88px 40px;
  padding-left: 34px;
}
.drawer__list {
  display: flex;
  flex-direction: column;
  row-gap: 32px;
  margin-bottom: 40px;
  li a {
    color: #fff;
    font-size: 20px;
    font-weight: 400;
    line-height: normal;
  }
}
.drawer__btn {
  display: inline-block;
  padding: 6px 30px;
  background: #fff;
  border-radius: 100vmax;
  color: #001a75;
  font-size: 20px;
  font-weight: 400;
  line-height: normal;
}

/*
=================
header styles
=================
*/
body.is-checked {
  overflow: hidden;
}
.header__overlay {
  background: rgba(61, 61, 61, 0.22);
  cursor: pointer;
  height: 100vh;
  left: 0;
  opacity: 0;
  position: fixed;
  top: 0;
  transition: opacity 0.6s, visibility 0.6s;
  visibility: hidden;
  width: 100%;
  z-index: 0;
}
.header__overlay.is-checked {
  opacity: 0.8;
  visibility: visible;
}

.header {
  position: absolute;
  top: 15;
  left: 0;
  width: 100%;
  height: auto;
  background-color: transparent;
  color: #fff;
  z-index: 999999990;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 16px 15px;
  margin-inline: 20px;
  border-bottom: 0.5px solid #898989;
}
@media screen and (min-width: 768px) {
  .header__inner {
    margin-inline: 31px 46px;
  }
}

.header__logo {
  aspect-ratio: 360 / 43;
  width: 200px;
  height: auto;
  transition: opacity 0.3s;
}
@media screen and (min-width: 768px) {
  .header__logo {
    width: 360px;
  }
}

.header__logo:hover {
  opacity: 0.7;
}

.header__nav {
  display: none !important;
}
@media screen and (min-width: 1300px) {
  .header__nav {
    display: flex !important;
    justify-content: flex-end;
    align-items: center;
    flex-grow: 1;
  }
  .header__open {
    display: block;
    width: 48px;
    height: 25px;
    position: relative;
    z-index: 51;
    margin-left: auto;
  }
}

.header__link {
  padding-inline: 20px;
  border-right: 1px dotted #898989;
  text-align: center;
}
.header__link p {
  transition: opacity 0.3s;
}
.header__link.--last {
  border-right: none;
}
.header__link-head {
  font-size: 14px;
  line-height: 1;
  display: inline-block;
  position: relative;
  transition: color 0.5s;
}
.header__link:hover p {
  opacity: 0.6;
}

.header__link-sub {
  margin-top: 6px;
  font-size: 10px;
  line-height: calc(14 / 10);
}

.header__btn {
  border: 0.5px solid #fff;
  border-radius: 40px;
  padding: 14px 40px 16px 36px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  line-height: 1;
  width: fit-content;
  margin-left: 23px;
}
.header__btn p {
  transition: color 0.3s;
}
.header__btn:before {
  content: "";
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" id="メールの無料アイコンその8" width="19.257" height="15.115" viewBox="0 0 19.257 15.115"><path id="パス_4496" data-name="パス 4496" d="M19.207,57.214a2.664,2.664,0,0,0-.551-1.168,2.3,2.3,0,0,0-.181-.2,2.665,2.665,0,0,0-1.889-.783H2.671a2.669,2.669,0,0,0-1.888.783,2.345,2.345,0,0,0-.181.2,2.632,2.632,0,0,0-.549,1.168A2.584,2.584,0,0,0,0,57.733v9.773a2.656,2.656,0,0,0,.221,1.061,2.618,2.618,0,0,0,.561.827c.06.06.119.114.184.169a2.669,2.669,0,0,0,1.7.614H16.586a2.652,2.652,0,0,0,1.7-.616,2.307,2.307,0,0,0,.184-.167,2.673,2.673,0,0,0,.564-.827v0a2.643,2.643,0,0,0,.219-1.058V57.733A2.745,2.745,0,0,0,19.207,57.214Zm-17.458-.4a1.29,1.29,0,0,1,.922-.383H16.586a1.284,1.284,0,0,1,1.039.519L10.332,63.3a1.07,1.07,0,0,1-1.406,0l-7.29-6.359A.986.986,0,0,1,1.749,56.811ZM1.367,67.506V58.359l5.278,4.6-5.275,4.6A.39.39,0,0,1,1.367,67.506Zm15.219,1.3H2.671a1.287,1.287,0,0,1-.646-.171l5.566-4.85.52.452a2.312,2.312,0,0,0,3.039,0l.519-.452,5.563,4.85A1.288,1.288,0,0,1,16.586,68.81Zm1.3-1.3a.407.407,0,0,1,0,.057l-5.275-4.6,5.278-4.6Z" transform="translate(0 -55.062)" fill="%23fff"/></svg>');
  background-size: contain;
  background-repeat: no-repeat;
  margin-top: 1px;
  width: 19px;
  height: 15px;
  transition: background 0.3s;
}
.header__btn:hover {
  background: #fff;
}
.header__btn:hover p {
  color: #3e4c59;
}
.header__btn:hover:before {
  background: #fff;
  color: #3e4c59;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" id="メールの無料アイコンその8" width="19.257" height="15.115" viewBox="0 0 19.257 15.115"><path id="パス_4496" data-name="パス 4496" d="M19.207,57.214a2.664,2.664,0,0,0-.551-1.168,2.3,2.3,0,0,0-.181-.2,2.665,2.665,0,0,0-1.889-.783H2.671a2.669,2.669,0,0,0-1.888.783,2.345,2.345,0,0,0-.181.2,2.632,2.632,0,0,0-.549,1.168A2.584,2.584,0,0,0,0,57.733v9.773a2.656,2.656,0,0,0,.221,1.061,2.618,2.618,0,0,0,.561.827c.06.06.119.114.184.169a2.669,2.669,0,0,0,1.7.614H16.586a2.652,2.652,0,0,0,1.7-.616,2.307,2.307,0,0,0,.184-.167,2.673,2.673,0,0,0,.564-.827v0a2.643,2.643,0,0,0,.219-1.058V57.733A2.745,2.745,0,0,0,19.207,57.214Zm-17.458-.4a1.29,1.29,0,0,1,.922-.383H16.586a1.284,1.284,0,0,1,1.039.519L10.332,63.3a1.07,1.07,0,0,1-1.406,0l-7.29-6.359A.986.986,0,0,1,1.749,56.811ZM1.367,67.506V58.359l5.278,4.6-5.275,4.6A.39.39,0,0,1,1.367,67.506Zm15.219,1.3H2.671a1.287,1.287,0,0,1-.646-.171l5.566-4.85.52.452a2.312,2.312,0,0,0,3.039,0l.519-.452,5.563,4.85A1.288,1.288,0,0,1,16.586,68.81Zm1.3-1.3a.407.407,0,0,1,0,.057l-5.275-4.6,5.278-4.6Z" transform="translate(0 -55.062)" fill="%233E4C59"/></svg>');
}

.header__open {
  margin-left: 11px !important;
  display: block;
  width: 60px;
  height: 60px;
  position: relative;
  z-index: 51;
  margin-left: auto;
  border: 0.5px solid #fff;
  border-radius: 50%;
  cursor: pointer;
  flex-shrink: 0;
}
.header__open.is-checked {
  border: 0.5px solid #3e4c59;
}
.header__open:hover {
  opacity: 0.6;
}

.header__bar {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 0.5px;
  background: #fff;
  transition: transform 0.3s linear, top 0.3s linear;
}
.header__bar:nth-of-type(1) {
  top: 14.5px;
}
.header__bar:nth-of-type(2) {
  top: 23px;
}
.header__bar:nth-of-type(3) {
  top: 32px;
}
.header__open.is-checked > .header__bar {
  background: #3e4c59;
}
.header__open.is-checked > .header__bar:nth-of-type(1) {
  top: 30px;
  transform: rotate(45deg) translateX(-50%);
  left: 45%;
}
.header__open.is-checked > .header__bar:nth-of-type(2) {
  display: none;
}
.header__open.is-checked > .header__bar:nth-of-type(3) {
  top: 16px;
  transform: rotate(-45deg) translateX(-50%);
  left: 45%;
}

.header__open-text {
  position: absolute;
  bottom: 10px;
  left: 52%;
  transform: translateX(-50%);
  font-size: 10px;
  line-height: 1;
  color: #fff;
  width: max-content;
}
.header__open.is-checked > .header__open-text {
  color: #3e4c59;
}

.header__content {
  width: 100%;
  max-width: 460px;
  height: 100vh;
  height: 100dvh;
  position: fixed;
  top: 0;
  right: 0;
  padding: 100px 50px;
  background: #fff;
  transform: translateX(100%);
  transition: transform 0.3s linear;
  overflow: auto;
}
.header__content.is-checked {
  transform: translateX(0);
}

.header__content-menu {
  display: flex;
  flex-direction: column;
}

.header__content-link {
  color: #3e4c59 !important;
  font-size: 14px;
  padding-block: 20px;
  border-bottom: 1px dotted #898989;
  text-align: center;
}
.header__content-link:hover {
  background: gainsboro;
}
.header__btn--black {
  margin-top: 30px;
  margin-inline: auto;
  border: 1px solid #3e4c59;
  border-radius: 40px;
  padding: 14px 40px 16px 36px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  color: #3e4c59 !important;
  line-height: 1;
  width: fit-content;
}
.header__btn--black:before {
  content: "";
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" id="メールの無料アイコンその8" width="19.257" height="15.115" viewBox="0 0 19.257 15.115"><path id="パス_4496" data-name="パス 4496" d="M19.207,57.214a2.664,2.664,0,0,0-.551-1.168,2.3,2.3,0,0,0-.181-.2,2.665,2.665,0,0,0-1.889-.783H2.671a2.669,2.669,0,0,0-1.888.783,2.345,2.345,0,0,0-.181.2,2.632,2.632,0,0,0-.549,1.168A2.584,2.584,0,0,0,0,57.733v9.773a2.656,2.656,0,0,0,.221,1.061,2.618,2.618,0,0,0,.561.827c.06.06.119.114.184.169a2.669,2.669,0,0,0,1.7.614H16.586a2.652,2.652,0,0,0,1.7-.616,2.307,2.307,0,0,0,.184-.167,2.673,2.673,0,0,0,.564-.827v0a2.643,2.643,0,0,0,.219-1.058V57.733A2.745,2.745,0,0,0,19.207,57.214Zm-17.458-.4a1.29,1.29,0,0,1,.922-.383H16.586a1.284,1.284,0,0,1,1.039.519L10.332,63.3a1.07,1.07,0,0,1-1.406,0l-7.29-6.359A.986.986,0,0,1,1.749,56.811ZM1.367,67.506V58.359l5.278,4.6-5.275,4.6A.39.39,0,0,1,1.367,67.506Zm15.219,1.3H2.671a1.287,1.287,0,0,1-.646-.171l5.566-4.85.52.452a2.312,2.312,0,0,0,3.039,0l.519-.452,5.563,4.85A1.288,1.288,0,0,1,16.586,68.81Zm1.3-1.3a.407.407,0,0,1,0,.057l-5.275-4.6,5.278-4.6Z" transform="translate(0 -55.062)" fill="%233E4C59"/></svg>');
  background-size: contain;
  background-repeat: no-repeat;
  width: 19px;
  height: 15px;
  transition: background 0.3s;
}
.header__btn--black:hover {
  background: #3e4c59;
  color: #fff !important;
}
.header__btn--black:hover:before {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" id="メールの無料アイコンその8" width="19.257" height="15.115" viewBox="0 0 19.257 15.115"><path id="パス_4496" data-name="パス 4496" d="M19.207,57.214a2.664,2.664,0,0,0-.551-1.168,2.3,2.3,0,0,0-.181-.2,2.665,2.665,0,0,0-1.889-.783H2.671a2.669,2.669,0,0,0-1.888.783,2.345,2.345,0,0,0-.181.2,2.632,2.632,0,0,0-.549,1.168A2.584,2.584,0,0,0,0,57.733v9.773a2.656,2.656,0,0,0,.221,1.061,2.618,2.618,0,0,0,.561.827c.06.06.119.114.184.169a2.669,2.669,0,0,0,1.7.614H16.586a2.652,2.652,0,0,0,1.7-.616,2.307,2.307,0,0,0,.184-.167,2.673,2.673,0,0,0,.564-.827v0a2.643,2.643,0,0,0,.219-1.058V57.733A2.745,2.745,0,0,0,19.207,57.214Zm-17.458-.4a1.29,1.29,0,0,1,.922-.383H16.586a1.284,1.284,0,0,1,1.039.519L10.332,63.3a1.07,1.07,0,0,1-1.406,0l-7.29-6.359A.986.986,0,0,1,1.749,56.811ZM1.367,67.506V58.359l5.278,4.6-5.275,4.6A.39.39,0,0,1,1.367,67.506Zm15.219,1.3H2.671a1.287,1.287,0,0,1-.646-.171l5.566-4.85.52.452a2.312,2.312,0,0,0,3.039,0l.519-.452,5.563,4.85A1.288,1.288,0,0,1,16.586,68.81Zm1.3-1.3a.407.407,0,0,1,0,.057l-5.275-4.6,5.278-4.6Z" transform="translate(0 -55.062)" fill="%23fff"/></svg>');
}

/*
=================
footer styles
=================
*/
.footer__map {
  aspect-ratio: 1366 / 377;
  width: 100%;
  height: 350px;
}

.footer__map div {
  height: 100%;
}
.footer__map div iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.footer__inner {
  padding-inline: 20px;
}

.footer__contents {
  max-width: 1450px;
  margin: 0 auto;
}

.footer__top-wrap {
  padding-block: 81px 100px;
  display: flex;
  flex-direction: column;
  border: none;
}
.footer__top-item {
  border-top: 1px solid #d8d8d8;
  width: 100%;
  max-width: 400px;
  height: 250px;
  margin-inline: auto;
  text-align: center;
  display: grid;
  place-items: center;
}
.footer__top-item:hover {
  background: gainsboro;
}

.footer__top-item:last-child {
  border-bottom: 1px solid #d8d8d8;
}
.footer__top-title {
  font-size: 20px;
  line-height: calc(31 / 20);
}
.footer__top-sub {
  margin-top: 7px;
  font-size: 14px;
  line-height: 1;
}
.footer__top-btn {
  margin-top: 42px;
  margin-inline: auto;
  pointer-events: none;
}
.footer__top-tel {
  margin-top: 40px;
  font-size: 34px;
  line-height: calc(31 / 34);
  letter-spacing: 0.004em;
}
.footer__top-tel-sub {
  margin-top: 8px;
  font-size: 10px;
  font-weight: bold;
  line-height: calc(18 / 10);
  letter-spacing: 0.001em;
}

.footer__bottom {
  padding-block: 0 86px;
  border-bottom: 1px solid #d8d8d8;
  display: flex;
  justify-content: space-between;
  flex-direction: column-reverse;
  gap: 50px;
}
@media screen and (min-width: 1100px) {
  .footer__bottom {
    padding-block: 87px 86px;
  }
}

.footer__bottom-left {
  width: 100%;
  flex-shrink: 0;
}

.footer__bottom-img {
  aspect-ratio: 360 / 43;
  width: 100%;
  max-width: 360px;
}
.footer__bottom-add {
  margin-top: 18px;
  font-size: 16px;
  line-height: calc(34 / 16);
}
.footer__bottom-btn {
  margin-top: 30px;
  margin-right: auto;
}
.footer__bottom-right {
  flex-grow: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 37px calc(100 / 1366 * 100%);
  height: 75px;
}
@media screen and (min-width: 768px) {
  .footer__bottom-right {
    gap: 37px calc(50 / 1366 * 100%);
  }
}

.footer__bottom-right a {
  width: max-content;
}

.footer__bottom-list {
  font-size: 14px;
  line-height: 1;
}
.footer__bottom-list p {
  width: fit-content;
  position: relative;
}
.footer__bottom-list p::after {
  background-color: #04705d;
  bottom: -4px;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  transform: scale(0, 1);
  transform-origin: center top;
  transition: transform 0.3s;
  width: 100%;
}
.footer__bottom-list p:hover {
  color: #04705d;
}
.footer__bottom-list p:hover::after {
  transform: scale(1, 1);
}

.footer__copyright {
  padding-block: 25px 40px;
  font-size: 14px;
  line-height: calc(19.2 / 14);
  letter-spacing: 0.005em;
  color: #3e4c59;
}
@media screen and (min-width: 1100px) {
  .footer__copyright {
    padding-block: 25px 54px;
  }
}

@media screen and (min-width: 768px) {
  .footer__inner {
    padding-inline: 100px;
  }
  .footer__map {
    height: 100%;
  }

  .footer__bottom-img {
    width: 360px;
    height: auto;
  }
}

@media screen and (min-width: 1100px) {
  .footer__inner {
    padding-inline: 149px;
  }

  .footer__top-wrap {
    padding: 0;
    display: flex;
    flex-direction: row;
    border-bottom: 1px solid #d8d8d8;
  }
  .footer__top-item {
    padding-block: 133px 159px;
    height: auto;
    flex: 1;
    border-top: none;
    max-width: 100%;
    position: relative;
  }
  .footer__top-item--2 {
    padding-block: 136px 152px;
    height: auto;
    flex: 1;
    border-top: none;
    max-width: 100%;
    position: relative;
  }
  .footer__top-item::before {
    content: "";
    position: absolute;
    background: #d8d8d8;
    top: 50%;
    left: 0;
    right: auto;
    transform: translateY(-50%);
    height: 58%;
    width: 1px;
  }
  .footer__top-item:last-child {
    border-bottom: none;
  }
  .footer__top-item:last-child::after {
    content: "";
    position: absolute;
    background: #d8d8d8;
    top: 50%;
    left: auto;
    right: 0;
    transform: translateY(-50%);
    height: 58%;
    width: 1px;
  }

  .footer__bottom {
    flex-direction: row;
    gap: calc(433 / 1366 * 100%);
  }
  .footer__bottom-left {
    width: calc(390 / 1366 * 100%);
  }
}

/*
=================
topページ styles
=================
*/
.fv {
  padding-block: 210px 273px;
  width: 100%;
  height: 100vh;
  height: 100svh;
}
@media screen and (min-width: 768px) {
  .fv {
    padding-block: 295px 273px;
  }
}
.fv__title {
  color: #fff;
  border: 0.5px solid #fff;
  width: fit-content;
}
.fv__title-sub {
  font-size: 14px;
  line-height: 1;
  padding: 6px 11px 8px 13px;
}
.fv__title-main1 {
  margin-top: 15px;
  font-size: 25px;
  line-height: 1;
  padding: 14px 16px 15px 13px;
}
.fv__title-main2 {
  margin-top: 15px;
  font-size: 25px;
  line-height: 1;
  padding: 13px 20px 16px 13px;
}
.opening__text {
  clip-path: inset(0 100% 0 0);
}
@media screen and (min-width: 768px) {
  .fv__title-main1,
  .fv__title-main2 {
    font-size: 38px;
  }
}

.bg-gradation {
  margin-top: -1px;
  padding-block: 128px 113px;
  background: linear-gradient(
    rgba(32, 51, 45, 0.9) 0%,
    rgba(106, 118, 114, 0.73) 100%
  );
  overflow: hidden;
}

.top-future {
  display: flex;
  flex-direction: column;
  gap: 50px;
  align-items: start;
}
.top-future__title {
  color: #fff;
  flex-shrink: 0;
}
.top-future__text {
  color: #fff;
  font-size: 16px;
  line-height: calc(45 / 18);
}
@media screen and (min-width: 1366px) {
  .top-future__text {
    font-size: 18px;
  }
}
.top-future__btn {
  margin-top: 40px;
  margin-left: auto;
}
@media screen and (min-width: 1100px) {
  .top-future {
    flex-direction: row;
    gap: calc(137 / 1366 * 100%);
    align-items: center;
  }
}

.card__swiper-container,
.card__swiper,
.card__swiper-wrapper,
.card__swiper-slide {
  position: relative;
}
.swiper-wrapper {
  transition-timing-function: linear;
  align-items: flex-start;
}
.swiper__card {
  margin-top: 92px;
  margin-right: calc(50% - 50vw);
  margin-left: 52px;
}
.card__inner {
  position: relative;
}
.card__swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
  aspect-ratio: 607 / 399;
}
.card__swiper-slide img {
  height: 100%;
}

.top-business {
  margin-top: 110px;
  display: flex;
  flex-direction: column;
  gap: 50px;
  align-items: start;
  margin-right: 0;
}
.top-business__img {
  width: 100%;
  max-width: 300px;
  margin-inline: auto;
}

.top-business__left {
  flex-grow: 1;
}
.top-business__text {
  margin-top: 50px;
}
.top-business__text p {
  color: #fff;
  font-size: 16px;
  line-height: calc(28.8 / 16);
}
.top-business__btn {
  margin-top: 25px;
  margin-right: auto;
}

@media screen and (min-width: 1100px) {
  .top-business {
    flex-direction: row;
    align-items: center;
    gap: calc(130 / 1366 * 100%);
    margin-right: 46px;
  }
  .top-business__img {
    flex-shrink: 0;
    aspect-ratio: 511 / 617;
    width: 511px;
    height: auto;
    margin-inline: auto;
    max-width: 100%;
  }
}

.bg-image {
  position: relative;
  height: 300px;
  aspect-ratio: 1366 / 300;
  width: 100%;
}
@media screen and (min-width: 1366px) {
  .bg-image {
    aspect-ratio: 1366 / 523;
    height: 523px;
  }
}
.bg-image__inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  clip-path: inset(0);
}
.bg-image__img {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: url("../images/bg-top.jpg");
  background-size: cover;
  background-position: left;
  z-index: -1;
}

.bg-baige {
  padding-block: 87px 117px;
  background: #f6f8f2;
}

.top-works__wrap > .webgene-blog {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 20px;
}
@media screen and (min-width: 768px) {
  .top-works__wrap > .webgene-blog {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

.top-works__btn {
  margin-top: 42px;
  margin-inline: auto;
}

.works__wrap a {
  width: 100%;
}
.works__wrap:hover .works__body {
  opacity: 0.7;
}
.works__wrap:hover .works__head img {
  transform: scale(1.1);
}
.works__head img {
  transition: transform 0.6s ease;
}

.works__head {
  aspect-ratio: 276 / 276;
  width: 100%;
  height: auto;
  overflow: hidden;
}

.works__body {
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: opacity 0.3s;
}

.works__tag {
  padding: 7px 15px 8px;
  background: #284038;
  color: #fff;
  font-size: 12px;
  line-height: 1;
  width: fit-content;
  border-radius: 3px;
}

.works__title {
  font-size: 14px;
  line-height: calc(28.8 / 16);
}
@media screen and (min-width: 768px) {
  .works__title {
    font-size: 16px;
  }
}

.list-works {
  margin-block: 180px 220px;
}

.list-works__wrap > .webgene-blog {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 20px;
}
@media screen and (min-width: 768px) {
  .list-works__wrap > .webgene-blog {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

.works-category > .webgene-blog {
  display: flex;
  flex-wrap: wrap;
  width: fit-content;
  gap: 20px;
  margin-bottom: 70px;
  justify-content: center;
}
@media screen and (min-width: 768px) {
  .works-category > .webgene-blog {
    justify-content: start;
  }
}

.works-category > .webgene-blog article {
  display: block;
}
@media screen and (min-width: 768px) {
  .works-category > .webgene-blog article {
    display: inline-block;
  }
}

.works__cat {
  width: 150px;
  border: 1px solid #284038;
  background: #fff;
  border-radius: 3px;
  padding-block: 11px 13px;
  font-size: 14px;
  line-height: 1;
  display: block;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .works__cat {
    width: 200px;
    font-size: 16px;
  }
}

.works__cat:hover {
  background: #284038;
  color: #fff;
}

.top-news {
  margin-top: 109px;
  margin-inline: 20px;
  display: flex;
  flex-direction: column;
  gap: 50px;
}
@media screen and (min-width: 1100px) {
  .top-news {
    flex-direction: row;
    gap: calc(265 / 1366 * 100%);
    margin-inline: 35px;
  }
}

.top-news__left {
  flex-shrink: 0;
}

.top-news__btn--pc {
  display: none;
}
@media screen and (min-width: 1100px) {
  .top-news__btn--pc {
    display: flex;
    margin-top: 20px;
    margin-left: auto;
    width: max-content;
  }
}
.top-news__btn--sp {
  margin-left: auto;
  width: max-content;
}
@media screen and (min-width: 1100px) {
  .top-news__btn--sp {
    display: none;
  }
}

.webgene-blog {
  flex-grow: 1;
}

.post__wrap {
  position: relative;
}
.post__wrap::after {
  content: "";
  position: absolute;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 14 14"><g id="グループ_5157" data-name="グループ 5157" transform="translate(-1217 -1122)"><g id="矢印アイコン_右3" data-name="矢印アイコン　右3" transform="translate(1220.138 1125.138)"><path id="パス_4498" data-name="パス 4498" d="M16.285,0l-.624.624L18.536,3.5h-5.8v.883h5.8L15.661,7.258l.624.624,3.941-3.941Z" transform="translate(-12.736)" fill="%23284038"/></g><g id="楕円形_7" data-name="楕円形 7" transform="translate(1217 1122)" fill="none" stroke="%23284038" stroke-width="1"><circle cx="7" cy="7" r="7" stroke="none"/><circle cx="7" cy="7" r="6.5" fill="none"/></g></g></svg>');
  background-size: auto;
  background-repeat: no-repeat;
  width: 14px;
  height: 14px;
  top: 50%;
  transform: translateY(-50%);
  right: 40px;
  transition: right 0.3s;
}
@media screen and (min-width: 1100px) {
  .post__wrap::after {
    right: 100px;
  }
}

.news-post {
  display: flex;
  padding: 20px 10px;
  border-bottom: 1px solid #d8d8d8;
  color: #3e4c59;
  flex-direction: column;
  gap: 10px;
}
@media screen and (min-width: 768px) {
  .news-post {
    padding: 26px 0;
    flex-direction: row;
    align-items: center;
    gap: calc(141 / 1366 * 100%);
  }
}
.webgene-item:first-child .news-post {
  border-top: 1px solid #d8d8d8;
}
.news-post:hover {
  background-color: gainsboro;
}
.news-post:hover .post__wrap::after {
  right: 83px;
}

.post__tag {
  padding: 6px 11px 8px;
  border: 1px solid #3e4c59;
  font-size: 12px;
  font-weight: bold;
  line-height: 1;
  width: fit-content;
}

.post__head {
  flex-shrink: 0;
}

.post__body {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding-right: 80px;
}

.post__date {
  width: 100%;
  font-size: 14px;
}

.post__title {
  font-size: 14px;
}

.news-lists {
  margin-block: 150px 200px;
  padding: 90px 20px;
  background: #fff;
  border-radius: 5px;
}
@media screen and (min-width: 768px) {
  .news-lists {
    padding: 90px 40px;
  }
}
@media screen and (min-width: 1100px) {
  .news-lists {
    padding: 90px 100px;
  }
}

.news-lists > .webgene-blog > .webgene-pagination {
  margin-top: 40px;
}
@media screen and (min-width: 768px) {
  .news-lists > .webgene-blog > .webgene-pagination {
    margin-top: 90px;
  }
}

.main-content {
  margin-top: 150px;
  width: 90vw;
  margin-left: auto;
  margin-right: auto;
}

.content-title {
  font-size: 32px;
  font-weight: bold;
}

.content-caption {
  font-size: 16px;
  margin-top: 12px;
}

.content-form {
  font-size: 16px;
  margin-top: 12px;
}
