@charset "utf-8";

body {
  font-weight: 500;
  line-height: 1.6;
  color: #535a6e;
}

#contents .wrapper {
  max-width: 1246px;
  padding: 0 20px;
  margin: 0 auto;
}
#contents a {
  text-decoration: none;
}
#contents p {
  margin: 0;
}
#contents img {
  max-width: 100%;
}
#contents a.btn-white:link {
  color: #0f1ed2;
  display: block;
  width: 312px;
  background-color: #fff;
  background-image: url(../img/contact_icon_blue.webp);
  background-repeat: no-repeat;
  background-size: 25px 18px;
  background-position: 33px center;
  font-size: 20px;
  font-weight: bold;
  text-decoration: none;
  padding: 13px 36px 11px 74px;
  border: 1px solid #fff;
  border-radius: 50px;
  letter-spacing: 0;
}
#contents a.btn-white:hover {
  color: #fff;
  background-color: #0f1ed2;
  background-image: url(../img/contact_icon_white.webp);
}
#contents a.btn-white:visited {
  color: #0f1ed2;
}
#contents h2 {
  justify-content: center;
  display: flex;
  flex-direction: column;
  text-align: center;
}
#contents .sec-title__small {
  font-size: clamp(1.2rem, calc(100vw * 20 / 1206), 2rem);
  font-weight: 700;
}
#contents .sec-title__big {
  font-size: clamp(2rem, calc(100vw * 32 / 1206), 3.2rem);
  font-weight: 700;
}
#contents .sp-block {
  display: none;
}
#contents .nav.fixed {
  position: fixed;
  top: 88px;
  left: 0;
  right: 0;
  bottom: auto;
  margin: 0 auto;
  height: auto;
  z-index: 999;
}
#contents .nav.fixed span {
  display: none;
}
#contents .nav.fixed .main-nav__link {
  margin-top: 0;
}
#contents #mainContent {
  min-width: auto !important;
}
/* ======================================================
   mainvisual 
====================================================== */
#contents .mainvisual {
  padding: 90px 0 100px;
  background-image: url("../img/mainvisual.webp");
  background-size: cover;
  color: #fff;
}
#contents .mainvisual__title {
  font-size: clamp(2.4rem, calc(100vw * 32 / 1206), 3.2rem);
  font-size: 3.2rem;
  line-height: 1.4;
  text-align: left;
}
#contents .mainvisual__title span {
  font-size: clamp(1.2rem, calc(100vw * 17 / 1206), 1.7rem);
  font-size: 1.7rem;
}
#contents .mainvisual__text {
  margin-top: 40px;
  font-size: clamp(1.6rem, calc(100vw * 18 / 1206), 1.8rem);
}

#contents .mainvisual .btn-white {
  margin-top: 50px;
}
/* ======================================================
    Main Navigation
====================================================== */
#contents .main-nav {
  padding: 60px 0 20px;
  /* padding-top: 60px; */
  background-color: #fff;
}

#contents .main-nav__title {
  text-align: center;
  margin-bottom: 60px;
}
#contents .main-nav-list-wrap {
  background-color: #fff;
  padding: 10px 0;
}
#contents .main-nav__list {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6.666%;
}
#contents .main-nav__list-sp {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  display: none;
}
#contents .main-nav__item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
}

#contents .main-nav__tag {
  display: inline-block;
  background-color: #0f1ed2;
  color: #fff;
  padding: 7.5px 18px;
  border-radius: 20px;
  line-height: 1;
  font-size: clamp(1rem, calc(100vw * 14 / 1206), 1.4rem);
}
#contents .main-nav__item--transparent span {
  background-color: #fff;
}
#contents a.main-nav__link:link {
  color: #0f1ed2;
  margin-top: 17px;
  font-size: clamp(1.2rem, calc(100vw * 18 / 1206), 1.8rem);
  font-weight: 700;
  position: relative;
  padding-bottom: 16px;
  flex-grow: 1;
  display: flex;
  align-items: center;
  line-height: 1.6;
}
#contents a.main-nav__link::after {
  position: absolute;
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-right: 2px solid #0f1ed2;
  border-bottom: 2px solid #0f1ed2;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
}
#contents .nav li a:hover {
  color: #0f1ed2;
  opacity: 0.7;
}
#contents a.main-nav__item:link,
#contents a.main-nav__item:visited,
#contents a.main-nav__link:visited {
  color: #0f1ed2;
}
/* ======================================================
   About section
====================================================== */
#contents .about {
  background-color: #eff2f6;
  padding: 100px 0;
}
#contents .about__top {
  padding: 0 0 82px 8.2918%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4.643449%;
}
#contents .about__title {
  text-align: left;
}
#contents .about__text {
  width: 48.2820976%;
}

#contents .about__text p:nth-child(n + 2) {
  margin-top: 2em;
}
#contents .about__content {
  padding: 8.2918%;
  background-color: #fff;
  flex-grow: 1;
  border-radius: 40px;
}

/* --- 初期状態の定義 --- */
#contents .about__title {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 1s ease-out, transform 1s ease-out;
  transition-delay: 0.8s;
}

#contents .about__text p {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
/* --- アニメーション実行後の状態 (is-active クラス) --- */

#contents .about__title.is-active {
  opacity: 1;
  transform: translateY(0);
}

#contents .about__text p.is-active {
  opacity: 1;
  transform: translateX(0);
}

#contents .about__text p:nth-child(1) {
  transition-delay: 1.2s;
}
#contents .about__text p:nth-child(2) {
  transition-delay: 1.6s;
}
#contents .about__text p:nth-child(3) {
  transition-delay: 2s;
}
#contents .about__flow {
  margin-top: 70px;
  text-align: center;
}
/* ----------------------------------
flow1
---------------------------------- */
#contents .about__flow1 {
  margin: 0 auto;
  text-align: center;
  display: inline-block;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 2px solid #000;
  border-radius: 80px;
  padding: 10px 30px;
  position: relative;
  width: 700px;
  font-size: 2.4rem;
  font-size: clamp(1.8rem, calc(100vw * 24 / 1206), 2.4rem);
  height: 100px;
  max-width: 100%;
}
#contents .about__flow1::after {
  position: absolute;
  content: "";
  display: block;
  width: 0;
  height: 0;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  border-top: 22.5px solid #535a6e;
  border-right: 23px solid transparent;
  border-left: 23px solid transparent;
}
#contents .about__flow1 p:last-child {
  font-size: clamp(1.2rem, calc(100vw * 16 / 1206), 1.6rem);
}
/* ----------------------------------
flow2
---------------------------------- */
#contents .about__flow2 {
  position: relative;
  margin-top: 50px;
  background-color: #eff2f6;
  border: 2px solid #0f1ed2;
  padding: 3.976%;
  border-radius: 40px;
}
#contents .about__flow2::after {
  position: absolute;
  content: "";
  display: block;
  width: 0;
  height: 0;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  border-top: 22.5px solid #535a6e;
  border-right: 23px solid transparent;
  border-left: 23px solid transparent;
}
#contents .about__flow2-title {
  font-size: clamp(1.8rem, calc(100vw * 25 / 1206), 2.5rem);
  color: #0f1ed2;
  font-weight: 700;
}
#contents .about__flow2-subtitle {
  font-size: clamp(1.4rem, calc(100vw * 20 / 1206), 2rem);
  flex-grow: 1;
}
#contents .about__flow2-flex {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
  gap: 0.8%;
}
#contents .about__flow2-item {
  /* width: 45.2%; */
  flex: 1;
  max-width: 416px;
  text-align: center;
  display: flex;
  flex-direction: column;
}
#contents .about__flow2-icon {
  display: flex;
  align-items: center;
  width: 5.55314%;
  position: relative;
  transform: translateY(5%);
}
#contents .about__flow2-item-title {
  font-weight: 700;
  margin-bottom: 20px;
  padding: 1.8% 4%;
  background-color: #0f1ed2;
  color: #fff;
  border-radius: 22px;
  font-size: clamp(1.2rem, calc(100vw * 18 / 1206), 1.8rem);
}
#contents .about__flow2-item-title span {
  font-size: clamp(1rem, calc(100vw * 14 / 1206), 1.4rem);
}
#contents .about__flow2-item-subtitle {
  padding: 0 9%;
  font-size: clamp(1.2rem, calc(100vw * 16 / 1206), 1.6rem);
  text-align: left;
}
#contents .about__flow2-img {
  margin-top: 20px;
  margin: 20px auto 0;
}
/* ----------------------------------
flow3 
---------------------------------- */
#contents .about__flow3 {
  color: #fff;
  display: inline-block;
  background-color: #535a6e;
  border-radius: 40px;
  margin-top: 80px;
  margin: 50px auto 0;
  font-size: clamp(1.6rem, calc(100vw * 24 / 1206), 2.4rem);
  max-width: 700px;
  width: 100%;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* ----------------------------------
flow4
---------------------------------- */
#contents .about__flow4 {
  margin-top: 80px;
}
#contents .about__flow4 h2 {
  display: flex;
  flex-direction: row;
  align-items: center;
}
#contents .about__flow4-title {
  font-size: clamp(1.6rem, calc(100vw * 20 / 1206), 2rem);
}
#contents .about__flow4-subtitle {
  margin-left: 10px;
  font-size: clamp(2rem, calc(100vw * 30 / 1206), 3rem);
}
#contents .about__flow4-subtitle span {
  font-size: clamp(3.2rem, calc(100vw * 41 / 1206), 4.1rem);
}
#contents .about__flow4-content {
  margin-top: 60px;
  display: flex;
  justify-content: space-between;
  gap: 1.988%;
}
#contents .about__flow4-item {
  flex: 1;
  text-align: left;
}
#contents .about__flow4-item h3 {
  font-size: clamp(1.6rem, calc(100vw * 20 / 1206), 2rem);
  color: #0f1ed2;
}
#contents .about__flow4-item p {
  margin-top: 10px;
  font-size: clamp(1rem, calc(100vw * 16 / 1206), 1.6rem);
}
/* ======================================================
introduction section
====================================================== */
#contents .introduction {
  padding: 100px 0;
}

#contents .introduction_flex {
  max-width: 1017px;
  margin: 60px auto 0;
  display: flex;
  gap: 7.6696%;
  position: relative;
}
#contents .introduction__img {
  flex: 0 0 55.06%;
  border-radius: 20px;
  overflow: hidden;
}
#contents .introduction__img img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
  transform: scale(1);
  object-fit: cover;
}
#contents .introduction__img a:hover img,
#contents .animation img {
  opacity: 1;
  transform: scale(1.1);
}
#contents .introduction__img span {
  font-size: clamp(1.2rem, calc(100vw * 16 / 1206), 1.6rem);
  position: absolute;
  border-radius: 10px;
  padding: 11px 25px;
  background-color: #0f1ed2;
  color: #fff;
  top: 0;
  left: 23px;
  transform: translateY(-50%);
}

#contents .introduction__texts {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
#contents .introduction__texts h3 {
  font-size: clamp(2.4rem, calc(100vw * 32 / 1206), 3.2rem);
  font-weight: 500;
  line-height: 1;
}
#contents .introduction__texts p:first-of-type {
  margin-top: 4%;
  font-size: clamp(1.6rem, calc(100vw * 20 / 1206), 2rem);
}
#contents .introduction__texts p {
  line-height: 1.6;
}
#contents .introduction__texts p sup {
  font-size: 1rem;
  font-weight: 400;
}
#contents a.btn-detail:link,
#contents a.btn-detail.animation:link {
  margin-top: 7.74647%;
  color: #fff;
  background-color: #0f1ed2;
  width: 182px;
  font-size: 16px;
  padding: 12.5px 30px;
  font-weight: bold;
  border-radius: 50px;
  color: #0f1ed2;
  background: #fff;
  border: 1px solid #0f1ed2;
  line-height: 1.3;
  text-decoration: none;
  word-wrap: break-word;
  position: relative;
  display: inline-block;
  cursor: pointer;
  transition: 0.2s ease;
}
#contents a.btn-detail::before {
  -webkit-mask-image: url(/nf_global/v3/common/img/2021/icn/arrow-white.svg);
  mask-image: url(/nf_global/v3/common/img/2021/icn/arrow-white.svg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: top center;
  mask-position: top center;
  -webkit-mask-size: cover;
  mask-size: cover;
  background-color: #0f1ed2;
  position: absolute;
  top: calc(50% - 12px);
  right: 30px;
  transform: translateX(50%);
  bottom: auto;
  display: block;
  width: 24px;
  height: 24px;
  margin: auto;
  content: "";
  transition: 0.2s ease;
}
#contents a.btn-detail:hover::before,
#contents a.btn-detail.animation::before {
  background-color: #fff;
}
#contents a.btn-detail:hover,
#contents a.btn-detail.animation {
  color: #fff !important;
  background: #535a6e !important;
  border: 1px solid #535a6e !important;
}
#contents a.btn-detail:hover::before,
#contents a.btn-detail.animation::before {
  right: 20px;
  left: auto;
}
#contents a.btn-detail:visited {
  color: #0f1ed2;
}
#contents .introduction__texts p:last-of-type {
  margin-top: 9.683%;
  font-size: 1.2rem;
  line-height: 1.66;
}

/* ======================================================
offering section
====================================================== */
#contents .offering-section {
  padding: 100px 0;
}
#contents .offering-section__top-title {
  font-size: clamp(2.4rem, calc(100vw * 32 / 1206), 3.2rem);
  margin-bottom: 60px;
}
#contents .offering-section__header {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #0f1ed2;
  font-weight: 500;
}
#contents .offering-section__label {
  font-size: clamp(1.4rem, calc(100vw * 20 / 1206), 2rem);
  border: currentColor solid 1px;
  padding: 12px 20px;
  border-radius: 10px;
  flex-shrink: 0;
}
#contents .offering-section__title {
  font-size: clamp(2rem, calc(100vw * 28 / 1206), 2.8rem);
}
#contents .offering-section__items {
  margin-top: 60px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  row-gap: 50px;
}
#contents a.offering-section__item:link {
  display: flex;
  gap: 4.936%;
  width: 45.356%;
  padding-left: 0 !important;
  color: #535a6e;
}
#contents a.offering-section__item:hover {
  opacity: 0.7;
}
#contents a.offering-section__item:visited {
  color: #535a6e;
}
#contents .service-card__img {
  width: 132px;
  width: 24.1316%;
  object-fit: cover;
  flex-shrink: 0;
}
#contents .service-card__title {
  font-size: clamp(1.4rem, calc(100vw * 18 / 1206), 1.8rem);
  font-weight: 700;
}
#contents .service-card__text {
  margin-top: 6px;
  font-size: clamp(1rem, calc(100vw * 16 / 1206), 1.6rem);
}
#contents .service-card__text-sub {
  margin-top: 8px;
  font-size: clamp(0.8rem, calc(100vw * 14 / 1206), 1.4rem);
}
#contents .offering-section__button-wrapper {
  text-align: center;
  margin-top: 76px;
}
#contents .offering-section__button {
  width: 195px;
  background-color: #535a6e;
  text-align: left;
  padding: 13px 21px 13px 34px;
  border-radius: 40px;
  color: #fff;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 700;
}

#contents .offering-section__button::before {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 14px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transform: translateY(-50%);
  transition: background 0.2s;
}
#contents .offering-section__button::after {
  content: "";
  position: absolute;
  right: 26px;
  top: 50%;
  width: 2px;
  height: 14px;
  background: #fff;
  border-radius: 1px;
  transform: translateY(-50%);
  transition: opacity 0.2s;
}
#contents .offering-section--2,
#contents .offering-section--4 {
  background-color: #eff2f6;
}

/* 親要素に is-open がついている時、ボタンの after（縦棒）を透明にする */
#contents .offering-section.is-open .offering-section__button::after {
  opacity: 0;
}
#contents .offering-section__button.active::after {
  opacity: 0;
}

/* JSで「is-hidden」クラスがついた要素は消す */
#contents a.offering-section__item.is-hidden {
  display: none;
}
#contents .offering-section__buttom {
  text-align: right;
  margin-bottom: 47px;
  font-weight: 400;
  font-size: clamp(1.2rem, calc(100vw * 16 / 1206), 1.6rem);
}
/* ======================================================
   contact
====================================================== */

#contents .contact {
  background-image: url("../img/contact_img_bg.webp");
  background-size: cover;
  background-repeat: no-repeat;
  padding: 100px 0;
  color: #fff;
  text-align: center;
}
#contents .contact .btn-white {
  margin: 50px auto 0;
}
#contents .contact .sec-title__big {
  line-height: 1.625;
  font-weight: 500;
}

/* adjust add */
#wrap {
  padding-bottom: 0 !important;
}
.site-main,
.site-footer,
.site-footer-02 {
  margin: 0 !important;
}
