@charset "utf-8";

/*-------------------------------------
変数
-------------------------------------*/

:root {
  /* フォント */
  --NotoSansJP: "Noto Sans JP", sans-serif;
  --jost: "Jost", sans-serif;
  --lato: "Lato", sans-serif;
  --HiraKakuGoProN: "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN", sans-serif;

  /* カラー */
  --black: #333333;
  --MainBlue: #183B83;
  --gray-light: #f5f5f5;
  --gray-border: #ddd;
}





/*-------------------------------------
共通
-------------------------------------*/

/********************/
/* タグ */
/********************/

.body {
  font-family: var(--NotoSansJP);
  background-color: var(--gray-light);
  font-size: 16px;
  line-height: 1.4;
  color: #333;
}
.body.no-scroll {
  overflow: hidden;
}
@media screen and (min-width: 768px) {
  .body:has(.top-main) {
    background-color: #fff;
  }
}

main {
  margin-top: 60px;
}
main.top-main {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-out;
}
main.top-main.is-show {
  opacity: 1;
  visibility: visible;
}
@media screen and (min-width: 768px) {
  main {
    margin-top: 80px;
  }
  main.top-main {
    margin-top: 0;
  }
}

img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

figure {
  margin: 0;
}



/********************/
/* PC版とsp版で表示非表示の切り替え */
/********************/

.pc-only {
  display: none;
}

@media screen and (min-width: 768px) {
  .pc-only {
    display: block;
  }
  .sp-only {
    display: none;
  }
}

.linebreak{
  display: inline-block;
}



/********************/
/* オープニングアニメーション */
/********************/

.opening {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 9999;
  pointer-events: none;
}

.opening.is-finished {
  display: none;
}

.opening__logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10001;
  width: 260px;
}

@media screen and (min-width: 768px) {
  .opening__logo {
    width: 500px;
  }
}

.opening__logo-img {
  display: block;
  width: 100%;
  height: auto;
  overflow: hidden;
  transition: filter 0.6s ease-out;
}

.opening__logo-img img {
  width: 100%;
  height: auto;
  display: block;
  transform: translateY(101%);
  transition: all 0.3s ease-out;
}

/* ロゴがニョキっと出てくるアニメーション */
.opening__logo.is-show .opening__logo-img img {
  animation: logoPopUp 0.5s ease-out forwards;
}

@keyframes logoPopUp {
  0% {
    transform: translateY(101%);
  }
  100% {
    transform: translateY(0);
  }
}

/* ロゴを白くする */
.opening__logo.is-white .opening__logo-img img {
  -webkit-filter: brightness(0) invert(1);
  filter: brightness(0) invert(1);
}

/* ロゴを非表示にする */
.opening__logo.is-hidden {
  opacity: 0 !important;
  transition: opacity 0.3s ease-out;
}

.opening__bg {
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #183B83;
  z-index: 10000;
}

/* 青い背景が上から下に降りてくるアニメーション */
.opening__bg.is-slide {
  animation: bgSlideDown 1.8s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

@keyframes bgSlideDown {
  0% {
    top: -100%;
  }
  100% {
    top: 100%;
  }
}

/* トップページFVの初期状態（非表示） */
.top-fv {
  opacity: 0;
}

/* FVフェードイン */
.top-fv.is-show {
  animation: fadeIn 0.8s ease-out forwards;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}



/********************/
/* スマホはタップで通話できるが、PCではクリックさせない */
/********************/

@media screen and (min-width: 768px) {
	a[href^="tel:"] {
		pointer-events: none;
	}
}



/********************/
/* ボタン */
/********************/

a {
  display: inline-block;
  transition: 0.3s;
}
@media (hover: hover) {
  a:hover {
    opacity: 0.7;
  }
}

button {
  display: inline-block;
  transition: 0.3s;
}
@media (hover: hover) {
  button:hover {
    opacity: 0.7;
  }
}



/********************/
/* インナー */
/********************/

.common-inner {
  margin-inline: auto;
  padding-inline: min(calc(100vw / 375 * 15), 15px);
}

@media screen and (min-width: 768px) {
  .common-inner {
    max-width: 1440px;
    padding-inline: min(calc(100vw / 1440 * 50), 50px);
  }
}



/********************/
/* アニメーション */
/********************/

.js-fadeIn {
  opacity: 0;
  transition: all 1s;
}
.js-fadeIn.is-active {
  opacity: 1;
}

.js-fadeUp {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.5s;
}
.js-fadeUp.is-active {
  opacity: 1;
  transform: translateY(0);
}

.js-fadeDown {
  opacity: 0;
  transform: translateY(-50px);
  transition: all 0.5s;
}
.js-fadeDown.is-active {
  opacity: 1;
  transform: translateY(0);
}





/*-------------------------------------
header
-------------------------------------*/

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  z-index: 1000;
  transition: all 0.3s;
}

/* スクロール時の背景色 */
.header.js-header-scrolled {
  background-color: var(--gray-light);
}

/* オープニングアニメーション中はヘッダー、main、footerを非表示 */
body:has(.opening:not(.is-finished)) .header {
  opacity: 0;
  pointer-events: none;
}

body:has(.opening:not(.is-finished)) main {
  visibility: hidden;
}

body:has(.opening:not(.is-finished)) .footer {
  visibility: hidden;
}

.header__inner {
  width: 100%;
  height: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 12px;
  padding-right: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  display: flex;
  align-items: center;
  width: 166px;
  height: auto;
  aspect-ratio: 166 / 30;
  position: relative;
  z-index: 9999;
}

.header__logo-link {
  position: relative;
  width: 100%;
  height: 100%;
}

.header__menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  padding-top: 66px;
  padding-inline: min(calc(100vw / 375 * 40), 40px);
  padding-bottom: 80px;
  background-color: var(--gray-light);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 999;
  overflow-y: auto;
}

.header__menu.is-active {
  opacity: 1;
  visibility: visible;
}

.header__nav {
  width: 100%;
}

.header__nav-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  row-gap: 0;
}

.header__nav-item {
  width: 100%;
  border-bottom: 1px solid var(--gray-border);
}

.header__nav-item--contact {
  border-bottom: none;
  margin-top: 24px;
}

.header__nav-item--privacy {
  border-bottom: none;
  margin-top: 24px;
}

.header__nav-link {
  font-weight: 500;
  font-size: 15px;
  line-height: calc(18 / 15);
  letter-spacing: 0.04em;
  color: #333;
  display: block;
  padding-top: 16px;
  padding-bottom: 16px;
}

.header__nav-link--contact {
  display: flex;
  flex-direction: column;
  gap: 3px;
  color: #fff;
  background: var(--MainBlue);
  border-radius: 7px;
  padding-top: 18px;
  padding-bottom: 19px;
  padding-left: 20px;
  padding-right: 20px;
  font-weight: 400;
  font-size: 14px;
  line-height: calc(21 / 14);
  letter-spacing: 0.04em;
  position: relative;
}

.header__nav-link--contact::before {
  display: block;
  content: "CONTACT";
  font-family: var(--HiraKakuGoProN);
  font-weight: 700;
  font-size: 30px;
  line-height: 1;
  letter-spacing: 0.08em;
}

.header__nav-link--contact::after {
  position: absolute;
  top: 37px;
  right: 21px;
  content: "";
  width: 26px;
  height: 26px;
  background-image: url(../image/common/arrow_circle_white.svg);
  background-repeat: no-repeat;
  background-size: contain;
}

.header__nav-link--privacy {
  font-weight: 500;
  font-size: 14px;
  line-height: calc(17 / 14);
  letter-spacing: 0.04em;
  padding: 0;
  width: fit-content;
}

.header__nav-link--sub {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 16px 0;
  position: relative;
}
.header__nav-link--sub.is-active {
  color: var(--MainBlue);
}

.header__nav-link--sub::before {
  content: "";
  width: 12px;
  height: 2px;
  background-color: #183b83;
  border-radius: 1px;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.header__nav-link--sub::after {
  content: "";
  width: 2px;
  height: 12px;
  background-color: #183b83;
  border-radius: 1px;
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
}

.header__nav-link--sub.is-active::after {
  transform: translateY(-50%) rotate(90deg);
}

.header__nav-subList {
  display: none;
}

.header__nav-subList.is-active {
  display: block;
}

.header__nav-subItem {
  border-top: 1px solid var(--gray-border);
}

.header__nav-subLink {
  width: 100%;
  font-weight: 500;
  font-size: 16px;
  line-height: calc(19 / 16);
  letter-spacing: 0.02em;
  padding-top: 16px;
  padding-bottom: 19px;
  padding-left: 44px;
  padding-right: 3px;
  position: relative;
}

.header__nav-subLink::before {
  content: "";
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--MainBlue);
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
}

.header__nav-subLink::after {
  content: "";
  width: 8px;
  height: 8px;
  background-image: url(../image/common/arrow_white.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
}

.hamburger {
  display: block;
  position: fixed;
  top: 20px;
  right: 12px;
  width: 24px;
  height: 24px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: 0.3s;
  z-index: 9999;
}

@media (hover: hover) {
  .hamburger:hover {
    opacity: 0.7;
  }
}

.hamburger__line-zone {
  display: inline-block;
  width: 100%;
  height: 100%;
  position: relative;
}

.hamburger__line {
  display: inline-block;
  position: absolute;
  left: 0;
  content: "";
  width: 100%;
  height: 2px;
  background-color: #333;
  border-radius: 2px;
  transition: 0.3s;
}

.hamburger__line:nth-child(1) {
  top: 0;
}

.hamburger__line:nth-child(2) {
  top: 8px;
}

.hamburger__line:nth-child(3) {
  top: 16px;
}

.hamburger.is-active .hamburger__line:nth-child(1) {
  top: 8px;
  transform: rotate(-45deg);
}

.hamburger.is-active .hamburger__line:nth-child(2) {
  opacity: 0;
}

.hamburger.is-active .hamburger__line:nth-child(3) {
  top: 8px;
  transform: rotate(45deg);
}

.no-scroll {
  overflow: hidden;
}

/* PC版スタイル */
@media screen and (min-width: 768px) {
  .header {
    height: 80px;
  }
  .header::after {
    position: absolute;
    bottom: 0;
    left: 0;
    content: "";
    width: 100%;
    height: 1px;
    background-color: var(--MainBlue);
    transition: all 0.3s;
  }

  .header__inner {
    padding-left: 30px;
    padding-right: 0px;
  }

  .header__logo {
    width: min(229px, calc(100vw / 1000 * 229));
    aspect-ratio: 229 / 41;
  }

  .header__menu {
    position: static;
    width: auto;
    height: 100%;
    padding: 0;
    background-color: transparent;
    opacity: 1;
    visibility: visible;
    overflow-y: visible;
    display: flex;
  }

  .header__nav-list {
    height: 100%;
    flex-direction: row;
    align-items: center;
    column-gap: min(48px, calc(100vw / 1440 * 48));
  }

  .header__nav-item {
    width: auto;
    border-bottom: none;
    height: 100%;
    position: relative;
  }

  .header__nav-item--contact {
    padding: 0;
    margin-top: 0;
  }
  .header__nav-item--contact::before {
    position: absolute;
    top: 0;
    left: 0;
    content: "";
    width: 1px;
    height: 100%;
    background-color: var(--MainBlue);
    transition: all 0.3s;
  }

  .header__nav-item--privacy {
    display: none;
  }

  .header__nav-link {
    width: 100%;
    height: 100%;
    font-weight: 700;
    font-size: min(14px, calc(100vw / 1000 * 14));
    line-height: calc(22 / 14);
    letter-spacing: 0em;
    color: var(--MainBlue);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.3s;
  }
  .header__nav-item--contact .header__nav-link {
    padding-inline: min(36px, calc(100vw / 1440 * 36));
  }

  .header__nav-link--contact {
    font-weight: 700;
    font-size: 13px;
    line-height: calc(19 / 13);
    letter-spacing: 0.03em;
    color: var(--MainBlue);
    background: transparent;
    border-radius: 0;
    padding: 0;
    text-transform: none;
  }

  .header__nav-link--contact::before,
  .header__nav-link--contact::after {
    display: none;
  }

  .header__nav-link--sub {
    padding: 0 19px 0 0;
  }

  .header__nav-link--sub::before {
    position: absolute;
    top: 48%;
    right: 0;
    transform: translateY(-50%) rotate(45deg);
    content: "";
    width: 6px;
    height: 6px;
    background-color: unset;
    border-right: 2px solid var(--MainBlue);
    border-bottom: 2px solid var(--MainBlue);
  }

  .header__nav-link--sub::after {
    display: none;
  }

  .header__nav-link--sub.is-active::after {
    transform: none;
  }

  .header__nav-subList {
    position: absolute;
    top: calc(100% - 1px);
    left: -48px;
    background: #fff;
    border-radius: 4px;
    min-width: 320px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: block;
  }

  @media (hover: hover) {
    .header__nav-item--has-submenu:hover .header__nav-subList {
      opacity: 1;
      visibility: visible;
    }
  }

  .header__nav-subList.is-active {
    display: block;
  }

  .header__nav-subItem {
    border-top: none;
    border-bottom: 1px solid var(--gray-border);
  }

  .header__nav-subItem:last-child {
    border-bottom: none;
  }

  .header__nav-subLink {
    font-weight: 500;
    font-size: 14px;
    line-height: calc(18 / 14);
    letter-spacing: 0.02em;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .hamburger {
    display: none;
  }
}

/* PC版TOPページ初期状態のヘッダー */
.header__logo-white {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

@media screen and (min-width: 768px) {
  .header::before {
    position: absolute;
    top: 0;
    left: 0;
    content: "";
    width: 100%;
    height: 100%;
    background: linear-gradient(
      0deg,
      rgba(24, 59, 131, 0.2) 0%,
      rgba(5, 13, 29, 0.6) 100%
    );
    transition: all 0.3s;
    opacity: 0;
    visibility: hidden;
    z-index: -1;
  }
  .header.js-header-white::before {
    opacity: 1;
    visibility: visible;
  }
  .header.js-header-white::after {
    background-color: #fff;
  }
  .js-header-white .header__logo-black {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
  }
  .js-header-white .header__logo-white {
    opacity: 1;
    visibility: visible;
  }
  .js-header-white .header__nav-item--contact::before {
    background-color: #fff;
  }
  .js-header-white .header__nav-link {
    color: #fff;
  }
  .js-header-white .header__nav-link--sub::before {
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
  }
}



/*-------------------------------------
footer
-------------------------------------*/

.footer {
  background-color: #0C1D40;
  padding-top: 30px;
  padding-bottom: 38px;
}

.footer__top {
  margin-inline: auto;
  max-width: 347px;
  position: relative;
}

.footer__top-ja {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: #fff;
}

.footer__body {
  margin-top: 48px;
}

.footer__body-flex {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer__body-logo {
  width: 211px;
}

.footer__body-nav,
.footer__body-contact {
  display: none;
}

.footer__bottom {
  margin-top: 48px;
}

.footer__bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 15px;
}

.footer__bottom-text {
  font-size: 12px;
  line-height: calc(14 / 12);
  color: #fff;
}

@media screen and (min-width: 768px) {

  .footer {
    padding-top: 65px;
    padding-bottom: 37px;
  }

  .footer__top {
    max-width: none;
    width: min(calc(100vw / 1280 * 1135), 1135px);
  }

  .footer__top-ja {
    font-size: 20px;
  }

  .footer__body {
    margin-top: 31px;
    margin-inline: auto;
    max-width: 1440px;
    padding-left: min(calc(100vw / 1440 * 60), 60px);
    padding-right: min(calc(100vw / 1440 * 73), 73px);
  }

  .footer__body-flex {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 36px 82px;
  }

  .footer__body-logo {
    width: 164px;
  }

  .footer__body-nav,
  .footer__body-contact {
    display: block;
  }

  .footer__body-nav {
    width: 571px;
  }

  .footer__body-list {
    display: flex;
    flex-wrap: wrap;
    row-gap: 24px;
  }

  .footer__body-item:nth-child(odd) {
    width: 112px;
  }

  .footer__body-link {
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    color: #fff;
  }

  .footer__body-subList-wrap {
    margin-top: 8px;
    display: flex;
    align-items: flex-start;
    column-gap: 24px;
  }

  .footer__body-subList {
    padding-left: 9px;
    border-left: 1px solid #fff;
  }

  .footer__body-subItem:not(:first-child) {
    margin-top: 15px;
  }

  .footer__body-subLink {
    font-weight: 500;
    font-size: 14px;
    line-height: 1.5;
    color: #D9D9D9;
  }

  .footer__body-contact-link {
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-radius: 10px;
    background-color: var(--MainBlue);
    width: 407px;
    padding: 40px 22px;
    font-size: 16px;
    line-height: 2;
    letter-spacing: 0.04em;
    color: #fff;
    position: relative;
  }
  .footer__body-contact-link::before {
    display: block;
    content: "CONTACT";
    font-family: var(--HiraKakuGoProN);
    font-weight: 700;
    font-size: 42px;
    line-height: calc(50 / 42);
    letter-spacing: 0.08em;
  }
  .footer__body-contact-link::after {
    position: absolute;
    top: 70px;
    right: 36px;
    content: "";
    width: 36px;
    height: 36px;
    background-image: url(../image/common/arrow_circle_white.svg);
    background-repeat: no-repeat;
    background-size: contain;
  }

  .footer__bottom {
    margin-top: 53px;
    border-top: 1px solid #fff;
    padding-top: 33px;
  }

  .footer__bottom-inner {
    margin-inline: auto;
    max-width: 1440px;
    padding-inline: min(calc(100vw / 1440 * 50), 50px);
    flex-direction: row;
    justify-content: space-between;
  }

  .footer__bottom-text {
    font-size: 13px;
    line-height: calc(16 / 13);
  }

}




/*-------------------------------------
TOPページ
-------------------------------------*/

/********************/
/* top-common-title */
/********************/

.top-common-title {
  display: flex;
  flex-direction: column;
  row-gap: 5px;
}

.top-common-title__en {
  font-family: var(--HiraKakuGoProN);
  font-weight: 700;
  font-size: min(calc(100vw / 375 * 60), 60px);
  line-height: 1;
  text-transform: uppercase;
}
.top-common-title__en--firstColor::first-letter {
  color: #BBA66D;
}

.top-common-title__ja {
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.04em;
}

@media screen and (min-width: 768px) {
  .top-common-title__en {
    font-size: min(calc(100vw / 1000 * 62), 62px);
  }
}



/********************/
/* top-fv */
/********************/

.top-fv {
  height: calc(100svh - 60px);
  background-image: url(../image/top/mv.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
  isolation: isolate;
}

.top-fv__en span {
  position: absolute;
  left: calc(50% - min(calc(100vw / 375 * 165), 165px));
  bottom: 7svh;
  width: min(calc(100vw / 375 * 337), 337px);
  mix-blend-mode: overlay;
  display: inline-block;
}

.top-fv__text {
  position: absolute;
  bottom: 3.4svh;
  left: calc(50% - 68px);
  font-weight: 700;
  font-size: min(14px, calc(100vw / 375 * 14));
  line-height: 1.5;
  width: max-content;
  color: #fff;
}

.top-fv__title {
  position: absolute;
  width: 100%;
  height: 1px;
  opacity: 0;
  pointer-events: none;
  z-index: -999;
}

@media screen and (min-width: 768px) {
  .top-fv {
    height: 100vh;
  }

  .top-fv__en span {
    position: absolute;
    left: calc(50% - min(calc(100vw / 1440 * 490), 490px));
    bottom: 12svh;
    width: min(calc(100vw / 1440 * 1007), 1007px);
  }

  .top-fv__text {
    font-size: min(24px, calc(100vw / 1000 * 24));
    bottom: 5.8vh;
    left: auto;
    right: 12%;
  }
}

@media screen and (min-width: 1441px) {
  .top-fv__text {
    left: calc(50% + min(calc(100vw / 1440 * 140), 140px));
    right: auto;
  }
}



/********************/
/* top-lead */
/********************/

.top-lead {
  padding-top: 100px;
  padding-bottom: 60px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.top-lead::before {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  width: 100%;
  height: auto;
  aspect-ratio: 746 / 1280;
  background-image: url(../image/top/top_lead_bg.webp);
  background-repeat: no-repeat;
  background-size: contain;
  z-index: -1;
}

.top-lead__lead {
  width: calc(100% + 10px);
  transform: translateX(-5px);
  max-width: 355px;
  margin-inline: auto;
  text-align: center;
  font-weight: 700;
  font-size: min(24px, calc(100vw / 375 * 24));
  line-height: calc(48 / 24);
  letter-spacing: 0.12em;
}

.top-lead__description {
  margin-top: 40px;
}

.top-lead__description-text {
  font-weight: 400;
  font-size: 15px;
  line-height: calc(30 / 15);
  letter-spacing: 0.04em;
  color: #333333;
}

.top-lead__description-text:not(:first-child) {
  margin-top: 24px;
}

.top-lead__card-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
}

.top-lead__card-item {
  width: 100%;
}

.top-lead__card-item:not(:first-child) {
  margin-top: 3px;
}

.top-lead__card-link {
  display: block;
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 345 / 170;
  overflow: hidden;
  border-radius: 10px;
}

.top-lead__card-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
}

.top-lead__card-image img {
  height: 100%;
}

.top-lead__card-filter {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #183B83;
  mix-blend-mode: multiply;
  opacity: 0.8;
}

.top-lead__card-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  padding-top: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.top-lead__card-title {
  font-weight: 700;
  font-size: min(20px, calc(100vw / 375 * 20));
  line-height: calc(36 / 20);
  letter-spacing: 0.04em;
  color: #ffffff;
  text-align: center;
}

.top-lead__card-link-area {
  margin-top: 24px;
  display: flex;
  align-items: center;
  column-gap: 24px;
  padding-bottom: 8px;
  border-bottom: 1px solid #ffffff;
}

.top-lead__card-link-text {
  font-weight: 500;
  font-size: 14px;
  line-height: calc(17 / 14);
  letter-spacing: 0em;
  color: #ffffff;
}

.top-lead__card-arrow {
  width: 10px;
  height: 10px;
}

@media screen and (min-width: 768px) {
  .top-lead {
    padding-top: 112px;
    padding-bottom: 120px;
  }
  .top-lead::before {
    background-image: url(../image/top/top_lead_bg_pc.webp);
  }

  .top-lead__lead {
    max-width: none;
    font-size: min(32px, calc(100vw / 1000 * 32));
    line-height: calc(64 / 32);
  }

  .top-lead__description {
    max-width: 800px;
    margin-inline: auto;
  }

  .top-lead__description-text {
    font-size: 16px;
    line-height: calc(32 / 16);
    text-align: center;
  }

  .top-lead__card-list {
    margin-top: 60px;
    margin-inline: auto;
    max-width: 1200px;
    flex-direction: row;
    column-gap: 7px;
  }

  .top-lead__card-item {
    width: calc((100% - 7px * 2) / 3);
  }

  .top-lead__card-item:not(:first-child) {
    margin-top: 0;
  }

  .top-lead__card-content {
    padding-top: 38px;
  }

  .top-lead__card-link {
    height: 264px;
  }

  .top-lead__card-title {
    font-size: 24px;
    line-height: calc(43 / 24);
  }
  .top-lead__card-title span {
    display: inline-block;
  }
}



/********************/
/* top-business */
/********************/

.top-business {
  position: relative;
  z-index: 2;
}

.top-business__image img {
  aspect-ratio: 375 / 338;
}

.top-business__content {
  margin-top: -68px;
  position: relative;
  z-index: 1;
}

.top-business__container {
  border-radius: 10px;
  background-color: #ffffff;
  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1);
  padding: 40px min(calc(100vw / 375 * 15), 15px);
}

.top-business .top-common-title {
  color: var(--MainBlue);
}

.top-business__lead {
  margin-top: 32px;
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 0.04em;
}

.top-business__list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  row-gap: 40px;
}

.top-business__item {
  padding-top: 20px;
  padding-bottom: 20px;
  position: relative;
}
.top-business__item:not(:first-child)::before {
  position: absolute;
  top: -20px;
  left: 0;
  content: "";
  width: 100%;
  height: 1px;
  background-color: #d9d9d9;
}

.top-business__item-image {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
}

.top-business__item-content {
  margin-top: 31px;
}

.top-business__item-number-area {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 3px;
}

.top-business__item-number {
  font-family: var(--jost);
  font-weight: 400;
  font-size: 16px;
  line-height: calc(16 / 16);
  letter-spacing: 0.12em;
  color: var(--MainBlue);
}

.top-business__item-line {
  display: block;
  width: 8px;
  height: 1px;
  background-color: var(--MainBlue);
}

.top-business__item-en {
  font-family: var(--HiraKakuGoProN);
  font-weight: 400;
  font-size: 16px;
  line-height: calc(16 / 16);
  letter-spacing: 0.12em;
  color: var(--MainBlue);
  text-transform: uppercase;
}

.top-business__item-heading {
  margin-top: 12px;
}

.top-business__item-ja {
  font-weight: 700;
  font-size: min(20px, calc(100vw / 375 * 20));
  line-height: 1.5;
  letter-spacing: 0.12em;
  padding-right: 34px;
  position: relative;
}
.top-business__item-ja::before {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  content: "";
  width: 26px;
  height: 26px;
  border: 1px solid #959595;
  border-radius: 50%;
}
.top-business__item-ja::after {
  position: absolute;
  top: 50%;
  right: 9px;
  transform: translateY(-50%);
  content: "";
  width: 9px;
  height: auto;
  aspect-ratio: 18 / 15;
  background-image: url(../image/common/arrow_black.svg);
  background-repeat: no-repeat;
  background-size: contain;
}

.top-business__item-text {
  margin-top: 24px;
  font-weight: 400;
  font-size: 14px;
  line-height: calc(25.2 / 14);
  letter-spacing: 0.04em;
  color: #333333;
}

.top-business__loop {
  position: absolute;
  top: calc(100% - 24px);
  left: 0;
  width: 100%;
}

.top-business__loop-wrapper {
  display: flex;
  padding-bottom: 20px;
  overflow: hidden;
}

.top-business__loop-slider {
  animation: top-business-loop-scroll 45s infinite linear .5s both;
  display: flex;
}

.top-business__loop-slide {
  margin-right: 20px;
  width: max-content;
  font-family: var(--HiraKakuGoProN);
  font-weight: 700;
  font-size: 100px;
  line-height: 1;
  color: #D7E4F3;
  text-transform: uppercase;
  opacity: 0.8;
}

@keyframes top-business-loop-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}


@media screen and (min-width: 768px) {

  .top-business__image img {
    aspect-ratio: 1440 / 800;
  }

  .top-business__content {
    margin-top: -290px;
  }

  .top-business__container {
    padding: 143px 20px 37px;
  }

  .top-business .top-common-title {
    align-items: center;
    font-size: min(calc(100vw / 1000 * 100), 100px);
  }

  .top-business__lead {
    text-align: center;
    font-size: 16px;
  }

  .top-business__list {
    margin-top: 64px;
    margin-inline: auto;
    max-width: 1114px;
    row-gap: 79px;
  }

  .top-business__item {
    display: flex;
    align-items: center;
    column-gap: 31px;
  }

  .top-business__item {
    padding-top: 42px;
    padding-bottom: 44px;
    padding-inline: 32px;
  }
  .top-business__item:nth-child(2n) {
    flex-direction: row-reverse;
  }
  .top-business__item:not(:first-child)::before {
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 27px);
  }

  .top-business__item-image {
    width: 240px;
    flex-shrink: 0;
  }

  .top-business__item-content {
    flex: 1;
    margin-top: 4px;
  }

  .top-business__item-ja {
    font-size: 32px;
    line-height: calc(32 / 32);
  }

  .top-business__item-text {
    font-size: 16px;
    line-height: calc(32 / 16);
  }

  .top-business__loop {
    top: calc(100% - 72px);
  }

  .top-business__loop-slider {
    animation: top-business-loop-scroll 77s infinite linear .5s both;
  }

  .top-business__loop-slide {
    font-size: 200px;
    opacity: 1;
  }

  .top-business__loop-wrapper {
    padding-bottom: 45px;
  }
}



/********************/
/* top-column */
/********************/

.top-column {
  padding-top: 145px;
  padding-bottom: 60px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.top-column::before {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  content: "";
  width: 100%;
  height: auto;
  aspect-ratio: 377 / 922;
  background-image: url(../image/top/top_column_bg.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top center;
  z-index: -1;
}

.top-column__inner {
  padding-left: 16px;
  padding-right: 16px;
}

.top-column__slider-container {
  margin-top: 39px;
}

.top-column__swiper {
  overflow: hidden;
  padding-left: min(calc(100vw / 375 * 15), 15px);
  padding-bottom: 20px;
}

.top-column__slide {
  width: 320px;
}

.top-column__card {
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(51, 51, 51, 0.08);
}

.top-column__card-image {
  border-radius: 10px 10px 0px 0px;
  overflow: hidden;
}

.top-column__card-image img {
  aspect-ratio: 326 / 184;
}

.top-column__card-content {
  padding: 16px;
  background-color: #ffffff;
  border-radius: 0px 0px 10px 10px;
}

.top-column__card-date {
  font-family: var(--jost);
  font-size: 12px;
  line-height: calc(24 / 12);
  letter-spacing: 0.08em;
}

.top-column__card-title {
  margin-top: 8px;
  font-weight: 500;
  font-size: 16px;
  line-height: calc(24 / 16);
}

.top-column__navigation {
  margin-top: 18px;
  margin-inline: auto;
  max-width: 375px;
  padding-inline: min(calc(100vw / 375 * 15), 15px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

.top-column__nav-button {
  width: 58px;
  height: 58px;
  border: 1px solid #333;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.top-column__nav-button img {
  width: 19px;
}

.top-column__nav-button--prev {
  transform: rotate(180deg);
}

.top-column__pagination {
  flex: 1;
  text-align: center;
  font-family: var(--jost);
  font-weight: 500;
  font-size: 20px;
  line-height: calc(29 / 20);
  letter-spacing: 0em;
  color: #333333;
}

.top-column__button-area {
  margin-top: 40px;
  text-align: center;
}

.top-column__button {
  border-radius: 50px;
  border: 1px solid #333;
  padding: 16px 38px 16px 24px;
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0.04em;
  color: #333333;
  position: relative;
}

.top-column__button::after {
  position: absolute;
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
  content: "";
  width: 10px;
  height: auto;
  aspect-ratio: 18 / 15;
  background-image: url(../image/common/arrow_black.svg);
  background-repeat: no-repeat;
  background-size: contain;
}

.swiper-pagination-current {
  margin-right: -5px;
}
.swiper-pagination-total {
  margin-left: -5px;
}

@media screen and (min-width: 768px) {
  .top-column {
    padding-top: 306px;
    padding-bottom: 210px;
  }
  .top-column::before {
    top: -105px;
    aspect-ratio: 1440 / 922;
    background-image: url(../image/top/top_column_bg_pc.webp);
  }

  .top-column__pcFlex {
    display: flex;
    justify-content: space-between;
    gap: min(calc(100vw / 1440 * 40), 40px);
    max-width: 1440px;
    margin-inline: auto;
    padding-left: min(calc(100vw / 1440 * 50), 50px);
  }

  .top-column__pcFlex .common-inner {
    width: min(calc(100vw / 1440 * 265), 265px);
    margin-inline: 0;
    padding-inline: 0;
    padding-top: 50px;
  }

  .top-column .top-common-title__en {
    font-size: min(calc(100vw / 1440 * 62), 62px);
  }

  .top-column__slider-container {
    margin-top: 0;
    width: min(calc(100vw / 1440 * 1052), 1052px);
    position: relative;
  }

  .top-column__swiper {
    padding-left: min(calc(100vw / 1440 * 15), 15px);
    padding-right: min(calc(100vw / 1440 * 13), 13px);
  }

  .top-column__card-content {
    padding: 12px 16px 16px;
  }

  .top-column__card-date {
    font-size: 14px;
    line-height: calc(17 / 14);
  }

  .top-column__card-title {
    margin-top: 6px;
    font-size: 18px;
    line-height: calc(24 / 18);
  }

  .top-column__navigation {
    position: absolute;
    left: max(calc(-100vw / 1440 * 338), -338px);
    top: 190px;
    width: min(calc(100vw / 1000 * 215), 215px);
    margin-top: 0;
    padding-inline: 0;
  }

  .top-column__nav-button {
    width: min(calc(100vw / 1000 * 58), 58px);
    height: min(calc(100vw / 1000 * 58), 58px);
  }

  .top-column__pagination {
    padding-inline: 0;
  }

  .top-column__button-area {
    margin-top: 66px;
  }

  .top-column__button {
    padding-block: 11px;
  }
}



/********************/
/* top-about */
/********************/

.top-about__inner {
  padding-inline: 8px;
}

.top-about__flex {
  border-radius: 10px;
  padding: 60px min(calc(100vw / 375 * 22), 22px);
  background-image: url(../image/top/top_about_bg.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.top-about .top-common-title {
  color: #fff;
}

.top-about .top-common-title__en {
  font-size: min(calc(100vw / 375 * 32), 32px);
}

.top-about__container {
  margin-top: 38px;
}

.top-about__image img {
  border-radius: 8px;
}

.top-about__content {
  margin-top: 40px;
}

.top-about__item {
  display: flex;
  padding-bottom: 20px;
  border-bottom: 1px solid #fff;
}
.top-about__item:not(:first-child) {
  margin-top: 20px;
}

.top-about__link {
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
  letter-spacing: 0.12em;
  color: #fff;
  padding-block: 3px;
  padding-right: 34px;
  position: relative;
}
.top-about__link::after {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
  content: "";
  width: 26px;
  height: 26px;
  background-image: url(../image/common/arrow_circle_white.svg);
  background-repeat: no-repeat;
  background-size: contain;
}

@media screen and (min-width: 768px) {

  .top-about__inner {
    padding-inline: min(calc(100vw / 1440 * 50), 50px);
  }

  .top-about__flex {
    padding: 108px min(calc(100vw / 1440 * 66), 66px) 108px min(calc(100vw / 1440 * 165), 165px);
    background-image: url(../image/top/top_about_bg_pc.webp);
    display: flex;
    align-items: center;
    column-gap: min(calc(100vw / 1440 * 114), 114px);
  }

  .top-about__pcLeft {
    width: min(calc(100vw / 1280 * 417), 417px);
  }

  .top-about .top-common-title__en {
    font-size: min(calc(100vw / 1280 * 52), 52px);
  }

  .top-about__pcRight {
    flex: 1;
  }

  .top-about__container {
    margin-top: 75px;
  }

  .top-about__content {
    margin-top: 0;
  }

  .top-about__item {
    padding-bottom: 34px;
  }
  .top-about__item:not(:first-child) {
    margin-top: 34px;
  }

  .top-about__link {
    font-size: 26px;
    line-height: 1;
    padding-block: 0;
  }


}







/*-------------------------------------
下層ページ
-------------------------------------*/

/********************/
/* 共通mv */
/********************/

.sub__mv{
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 281px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sub__mv--company {
  background-image:
      linear-gradient(rgba(16,54,133,0.8), rgba(16,54,133,0.8)),
      url(../image/company/company-fv_image.webp);
}

.sub__mv--project {
  background-image:
      linear-gradient(rgba(16,54,133,0.8), rgba(16,54,133,0.8)),
      url(../image/project/project-fv_image.webp);
}

.sub__mv--contact {
  background-image:
      linear-gradient(rgba(16,54,133,0.8), rgba(16,54,133,0.8)),
      url(../image/contact/contact-fv_image.webp);
}

.sub-mv__title-wrap{
  text-align: center;
  color: #fff;
}

.sub-mv__title{
  display: block;
  text-transform: uppercase;
  font-size: min(60px, 100vw / 375 * 60);
  font-family: var(--HiraKakuGoProN);
  font-weight: 700;
  line-height: calc(72/60);
}
@media screen and (min-width: 768px) {
  .sub__mv {
    min-height: 400px;
  }
}

.sub-mv__subtitle{
  display: block;
  margin-top: 5px;
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.04em;
}



/********************/
/* page-service */
/********************/

.service-fv__title{
  margin-top: 24px;
  color: var(--MainBlue);
  font-size: 26px;
  font-weight: 700;
  line-height: calc(31/26);
  letter-spacing: 0.04em;
}

.service-intro{
  margin-top: 60px;
}

.service-intro-revitalization{
  margin-top: 139px;
}

.service-intro__title{
  position: relative;
  padding-left: 40px;
  color: var(--MainBlue);
  margin-bottom: 46px;
}
.service-intro__title::before{
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 33px;
  height: 100%;
  background-color: var(--MainBlue);
}

.service-intro__title--en{
  display: block;
  text-transform: uppercase;
  font-family: var(--HiraKakuGoProN);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
}

.service-intro__title--ja{
  display: block;
  margin-top: 5px;
  line-height: 2;
  letter-spacing: 0.04em;
}

.service-intro__textarea{
  margin-top: -31px;
  padding-block: 40px;
  padding-inline: 15px;
  background-color: #fff;
  border-radius: 10px;
  filter: drop-shadow(0 0 20px rgba(0,0,0,0.1));
}

.service-intro__text{
  line-height: calc(32/16);
  letter-spacing: 0.04em;
}

.service-intro__text:not(:first-child){
  margin-top: 32px;
}

.service-intro__link-wrap{
  margin-top: 24px;
  display: flex;
  justify-content: flex-end;
}

@media screen and (max-width:374.98px) {
  .healthcare .service-fv__title{
      font-size: 25px;
  }
}



/* サービス内容 */
.service-contents{
  margin-top: 66px;
}

.service-sub__title--center{
  text-align: center;
}

.service-sub__title--en{
  display: block;
  text-transform: uppercase;
  font-size: min(60px, calc(100vw / 375 * 60));
  font-weight: 700;
  line-height: calc(72/60);
}

.service-sub__title--ja{
  margin-top: 6px;
  display: block;
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.04em;
}

.service-contents .top-common-title {
  align-items: center;
}
@media screen and (min-width: 768px) {
  .service-contents .top-common-title {
    align-items: flex-start;
  }
  .service-contents .top-common-title__en {
    font-size: min(calc(100vw / 1440 * 62), 62px);
  }
}

.service-contents .top-column__card {
  box-shadow: none;
}

.service-contents .top-column__card-image {
  border-radius: 10px;
}
.service-contents .top-column__card-image img {
  aspect-ratio: 315 / 205;
}

.service-contents .top-column__card-content {
  padding: 14px 0;
  background-color: unset;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.top-column__card-number {
  font-family: var(--jost);
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0.12em;
  color: var(--MainBlue);
  padding-right: 12px;
  position: relative;
}
.top-column__card-number::after {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  content: "";
  width: 8px;
  height: 1px;
  background-color: var(--MainBlue);
}

.service-contents .top-column__card-title {
  margin-top: 12px;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0.12em;
}

.top-column__card-description {
  margin-top: 18px;
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.04em;
}


/* 当社の強み */
.service-strengths{
  margin-top: 70px;
}

.service-strengths__inner{
  margin-inline: auto;
  padding-inline: 9px;
}

.service-strengths .service-sub__title--en{
  font-family: var(--HiraKakuGoProN);
  font-size: min(calc(100vw / 375 * 60), 60px);
}

@media (hover: hover) and (pointer: fine) {
  .service-strengths .service-sub__title--en {
    font-size: min(calc(100vw / 375 * 50), 50px);
  }
}

.strengths-list{
  margin-top: 41px;
  padding-inline: 6px;
}

.strengths-item{
  padding-bottom: 24px;
  border-bottom: 1px solid #d9d9d9;
}
.strengths-item:not(:first-child){
  margin-top: 30px;
}

.strengths-item__titlearea{
  display: flex;
  align-items: center;
  column-gap: 20px;
}

.strengths-item__image{
  width: 110px;
  aspect-ratio: 1/1;
}

.strengths-item__image img{
  border-radius: 2.55px;
}

.strengths-item__title{
  flex: 1;
}

.strengths-item__heading{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 3px;
}

.strengths-item__number,
.strengths-item__title--en{
  color: var(--MainBlue);
  line-height: 1;
  letter-spacing: 0.12em;
}
.strengths-item__number{
  font-family: var(--jost);
}
.strengths-item__title--en{
  font-family: var(--HiraKakuGoProN);
}

.strengths-item__line{
  position: relative;
  width: 8px;
  height: 1px;
}

.strengths-item__line::after{
  position: absolute;
  display: block;
  content: "";
  width: 8px;
  height: 1px;
  background-color: var(--MainBlue);
}

.strengths-item__title--en{
  text-transform: uppercase;
}

.strengths-item__title--ja{
  display: block;
  margin-top: 10px;
  font-weight: 500;
  line-height: calc(28/16);
  letter-spacing: 0.04em;
}

.strengths-item__textarea{
  margin-top: 20px;
}

.strengths-item__text{
  font-size: 14px;
  line-height: calc(24/14);
  letter-spacing: 0.02em;
}

/* こんな方におすすめです */
.recommend{
  margin-top: 70px;
}

.recommend__inner{
  margin-inline: auto;
  padding-inline: 15px;
}

.recommend__body{
  padding-block: 40px;
  padding-inline: 15px;
  background-color: var(--MainBlue);
  border-radius: 10px;
}

.recommend__title{
  text-align: center;
  color: #fff;
  font-size: 26px;
  font-weight: 700;
  line-height: calc(52/26);
  letter-spacing: 0.04em;
}

.recommend__list{
  margin-top: 40px;
  padding-inline: 15px;
}

.recommend__item{
  padding-left: 12px;
  position: relative;
  color: #fff;
  line-height: calc(32/16);
  letter-spacing: 0.04em;
}
.recommend__item::before{
  content: "";
  position: absolute;
  top: 13px;
  left: 0;
  width: 8px;
  height: 8px;
  background-color: #fff;
  border-radius: 50%;
}
.recommend__item:not(:first-child){
  margin-top: 20px;
}



/********************/
/* cta */
/********************/

.cta{
  margin-top: 89px;
  margin-bottom: 79px;
}

.cta__inner {
  padding-inline: 8px;
}

.cta__image{
  margin-inline: -8px;
}

.cta__image img{
  width: 100%;
  border-radius: 3.87px;
}

.cta__card{
  margin-top: -132px;
  margin-left: 0;
  width: 100%;
  padding-block: 38.5px 48.5px;
  padding-inline: 24px;
  background-color: var(--black);
  border-radius: 10px;
  position: relative;
  z-index: 2;
}

.cta__title{
  color: #fff;
}

.cta__title--en{
  display: flex;
  justify-content: center;
  text-transform: uppercase;
  font-size: min(calc(100vw / 375 * 60), 60px);
  font-family: var(--HiraKakuGoProN);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
}

.cta__first-letter{
  color: #BBA66D;
}

@media (hover: hover) and (pointer: fine) {
  .cta__title--en {
    display: block;
    font-size: min(calc(100vw / 375 * 50), 50px);
  }
}

.cta__title--ja{
  display: block;
  margin-top: 4px;
  line-height: 2;
  letter-spacing: 0.04em;
}

.cta__text{
  margin-top: 30px;
  line-height: 2;
  letter-spacing: 0.04em;
  color: #fff;
}

.cta__button{
  margin-top: 30px;
  text-align: center;
}

.cta__link{
  border: 1px solid #fff;
  color: #fff;
  padding-block: 16.5px;
  padding-inline: 12px;
  border-radius: 32px;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.04em;
  width: 100%;
  max-width: 312px;
  text-align: center;
}

.cta__arrow{
  position: relative;
  width: 18px;
  height: 18px;
  display: inline-block;
  margin-left: 4px;
}
.cta__arrow::after{
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 100%;
  height: 100%;
  background-image: url(../image/common/arrow_white.svg);
  background-size: contain;
  background-repeat: no-repeat;
  transition: left 0.3s;
}

@media screen and (min-width: 768px) {
  .cta {
    margin-top: 120px;
    margin-bottom: 120px;
  }

  .cta__inner {
    max-width: 1440px;
    margin-inline: auto;
    padding-inline: min(calc(100vw / 1440 * 50), 50px);
  }

  .cta__container {
    position: relative;
    width: 100%;
  }

  .cta__image {
    width: min(calc(100vw / 1280 * 923), 923px);
    overflow: hidden;
    border-radius: 10px;
  }

  .cta__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
  }

  .cta__card {
    position: absolute;
    top: 72px;
    right: 0;
    width: min(calc(100vw / 1000 * 808), 808px);
    margin-top: 0;
    margin-left: 0;
    padding-top: min(calc(100vw / 1440 * 68), 68px);
    padding-bottom: min(calc(100vw / 1440 * 80), 80px);
    padding-left: min(calc(100vw / 1440 * 110), 110px);
    padding-right: min(calc(100vw / 1440 * 110), 110px);
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .cta__title--en {
    font-size: 62px;
    line-height: calc(62 / 62);
    text-align: left;
  }

  .cta__text {
    max-width: 485px;
  }

  .cta__button {
    margin-top: 32px;
    text-align: right;
  }

  .cta__link {
    padding-top: 16px;
    padding-bottom: 16px;
    padding-left: 32px;
    padding-right: 32px;
    width: auto;
    max-width: none;
    display: inline-flex;
    align-items: center;
  }

  /* service-fv */

  .service-fv__image img {
    width: 100%;
    height: auto;
    aspect-ratio: 1440 / 480;
    object-fit: cover;
  }

  .service-fv__title {
    margin-top: 40px;
    font-size: 42px;
    line-height: calc(52 / 42);
  }

  /* service-intro */
  .service-intro {
    margin-top: 100px;
  }

  .service-intro-revitalization {
    margin-top: 180px;
  }

  .service-intro__title {
    padding-left: 60px;
    margin-bottom: 60px;
  }

  .service-intro__title::before {
    width: 50px;
  }

  .service-intro__title--en {
    font-size: 62px;
  }

  .service-intro__title--ja {
    font-size: 18px;
    margin-top: 8px;
  }

  .service-intro__image {
    max-width: 1440px;
    padding-inline: min(calc(100vw / 1440 * 50), 50px);
    margin-inline: auto;
  }

  .service-intro__image img {
    width: 100%;
    aspect-ratio: 1440 / 460;
    object-fit: cover;
  }

  .service-intro__textarea {
    margin-top: -120px;
    padding-block: 60px;
    padding-inline: min(calc(100vw / 1440 * 80), 80px);
    width: 90%;
    max-width: 940px;
    margin-inline: auto;
  }

  .service-intro__text {
    font-size: 18px;
    line-height: calc(36 / 18);
  }

  .service-intro__text:not(:first-child) {
    margin-top: 40px;
  }

  /* service-strengths */
  .service-strengths {
    margin-top: 120px;
  }

  .service-strengths__inner {
    max-width: 1040px;
    padding-inline: min(calc(100vw / 1440 * 50), 50px);
  }

  .service-strengths .service-sub__title {
    text-align: center;
  }

  .service-strengths .service-sub__title--en {
    font-size: 62px;
  }

  .service-strengths .service-sub__title--ja {
    font-size: 18px;
  }

  .strengths-list {
    margin-top: 60px;
    padding-inline: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px 40px;
  }

  .strengths-item {
    padding-bottom: 0;
    border-bottom: none;
  }

  .strengths-item:not(:first-child) {
    margin-top: 0;
  }

  .strengths-item__titlearea {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .strengths-item__image {
    width: 100%;
    max-width: 200px;
    aspect-ratio: 1 / 1;
  }

  .strengths-item__image img {
    border-radius: 5px;
  }

  .strengths-item__title {
    flex: auto;
  }

  .strengths-item__number,
  .strengths-item__title--en {
    font-size: 18px;
  }

  .strengths-item__title--ja {
    margin-top: 12px;
    font-size: 20px;
    line-height: calc(32 / 20);
  }

  .strengths-item__textarea {
    margin-top: 24px;
  }

  .strengths-item__text {
    font-size: 16px;
    line-height: calc(28 / 16);
  }

  /* recommend */
  .recommend {
    margin-top: 100px;
  }

  .recommend__inner {
    max-width: 1040px;
    padding-inline: min(calc(100vw / 1440 * 50), 50px);
  }

  .recommend__body {
    padding-block: 60px;
    padding-inline: min(calc(100vw / 1440 * 50), 50px);
  }

  .recommend__title {
    font-size: 32px;
    line-height: calc(52 / 32);
  }

  .recommend__list {
    margin-top: 48px;
    padding-inline: 40px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 40px;
  }

  .recommend__item {
    font-size: 18px;
    line-height: calc(36 / 18);
    padding-left: 20px;
  }

  .recommend__item::before {
    top: 16px;
    width: 10px;
    height: 10px;
  }

  .recommend__item:not(:first-child) {
    margin-top: 0;
  }
}



/********************/
/* 会社概要 */
/********************/

.company{
  margin-top: 60px;
}

.company-inner{
  margin-inline: auto;
  padding-inline: 32px;
}

.company-list{
  padding-bottom: 23px;
  border-bottom: 1px solid #DDDDDD;
}

.company-list:last-child{
  padding-bottom: 0;
}

.company-list:last-child{
  border-bottom: none;
}

.company-list:not(:first-child){
  margin-top: 24px;
}

.company-title{
  font-size: 16px;
  font-weight: 700;
  line-height: calc(26/16);
  letter-spacing: 0.02em;
}

.company-data-zone{
  margin-top: 8px;
}

.company-data{
  font-size: 15px;
  line-height: calc(24/15);
  font-weight: 400;
  letter-spacing: 0.02em;
}

.company-data-item{
  display: flex;
  column-gap: 14px;
}
.company-data-item span:first-child {
  width: 100px;
}
.company-data-item span:last-child,
.company-data-item a:last-child {
  flex: 1;
}

/* greeting */
.greeting{
  margin-top: 60px;
  padding-block: 60px;
  background-image:
      linear-gradient(rgba(16,54,133,0.8), rgba(16,54,133,0.8)),
      url(../image/company/greeting_bg.webp);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.greeting__inner{
  margin-inline: auto;
  padding-inline: 14px;
}

.greeting__title{
  text-align: center;
  color: #fff;
}

.greeting__title--en{
  display: block;
  text-transform: uppercase;
  font-size: min(60px, 100vw / 375 * 60);
  font-family: var(--HiraKakuGoProN);
  font-weight: 700;
  line-height: 1;
}

.greeting__title--ja{
  margin-top: 5px;
  display: block;
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.04em;
}

.greeting__image{
  margin-top: 40px;;
}

.greeting__image img{
  border-radius: 10px;
}

.greeting__textarea{
  margin-top: 24px;
  margin-inline: 15px 14px;
  color: #fff;
}

.greeting__text{
  font-size: 14px;
  line-height: calc(25/14);
  letter-spacing: 0.04em;
}

.greeting__text:not(:first-child){
  margin-top: 12px;
}

.greeting__name{
  margin-top: 24px;
  text-align: right;
  font-size: 16px;
  line-height: calc(24/16);
  letter-spacing: 0.02em;
  color: #fff;
}

.philosophy{
  margin-top: 40px;
  padding-block: 30px;
  padding-inline: 15px;
  background-color: #fff;
  border-radius: 10px;
}

.philosophy__title{
  text-align: center;
}

.philosophy__title--en{
  display: block;
  text-transform: uppercase;
  font-family: var(--HiraKakuGoProN);
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0.12em;
  color: var(--MainBlue);
}

.philosophy__title--ja{
  display: block;
  margin-top: 12px;
  font-size: 28px;
  line-height: 1;
  letter-spacing: 0.12em;
  font-weight: 700;
}

.philosophy__textarea{
  margin-top: 20px;
}

.philosophy__text{
  font-size: 14px;
  line-height: calc(24/14);
  letter-spacing: 0.02em;
}

.philosophy__text:not(:first-child){
  margin-top: 12px;
}


/* PC版レスポンシブ */
@media screen and (min-width: 768px) {

  .company {
    margin-top: 80px;
  }

  .company-inner {
    max-width: 1440px;
    padding-inline: min(calc(100vw / 1440 * 50), 50px);
  }

  .company-content {
    max-width: 1000px;
    margin-inline: auto;
  }

  .company-list {
    display: flex;
    column-gap: min(calc(100vw / 1440 * 40), 40px);
    padding-bottom: 32px;
  }

  .company-list:not(:first-child) {
    margin-top: 32px;
  }

  .company-title-zone {
    width: 280px;
    flex-shrink: 0;
  }

  .company-title {
    font-size: 18px;
    line-height: calc(28/18);
  }

  .company-data-zone {
    flex: 1;
    margin-top: 0;
  }

  .company-data {
    font-size: 16px;
    line-height: calc(26/16);
  }

  .greeting {
    margin-top: 100px;
    padding-block: 100px;
  }

  .greeting__inner {
    max-width: 1440px;
    padding-inline: min(calc(100vw / 1440 * 50), 50px);
  }

  .greeting__title--en {
    font-size: min(62px, calc(100vw / 1000 * 62));
  }

  .greeting__title--ja {
    font-size: 18px;
  }

  .greeting__content {
    max-width: 1100px;
    margin-inline: auto;
  }

  .greeting__image {
    margin-top: 60px;
    max-width: 700px;
    margin-inline: auto;
  }

  .greeting__textarea {
    margin-top: 40px;
    margin-inline: auto;
    max-width: 900px;
    padding-inline: 0;
  }

  .greeting__text {
    font-size: 16px;
    line-height: calc(32/16);
  }

  .greeting__text:not(:first-child) {
    margin-top: 24px;
  }

  .greeting__name {
    margin-top: 40px;
    margin-inline: auto;
    max-width: 1100px;
    font-size: 18px;
    line-height: calc(27/18);
  }

  .philosophy {
    margin-top: 60px;
    margin-inline: auto;
    max-width: 1100px;
    padding-block: 60px;
    padding-inline: min(calc(100vw / 1440 * 60), 60px);
  }

  .philosophy__title--en {
    font-size: 18px;
  }

  .philosophy__title--ja {
    margin-top: 16px;
    font-size: 32px;
  }

  .philosophy__textarea {
    margin-top: 32px;
    max-width: 900px;
    margin-inline: auto;
  }

  .philosophy__text {
    font-size: 16px;
    line-height: calc(32/16);
  }

  .philosophy__text:not(:first-child) {
    margin-top: 24px;
  }

}



/********************/
/* 実績紹介 */
/********************/

.project-body {
  margin-top: 60px;
  margin-bottom: 60px;
}

.project-body__inner {
  margin-inline: auto;
  padding-inline: min(calc(100vw / 375 * 16), 16px);
}

.project-body__current-category {
  font-size: 16px;
  margin-bottom: 24px;
}

.project-body__current-category span {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.04em;
}

.project-body__list {
  padding-inline: 8px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.project-body__link {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0px 4px 10px 0px rgba(51, 51, 51, 0.08);
  overflow: hidden;
}

.project-body__image img {
  aspect-ratio: 327 / 180;
}

.project-body__content {
  background-color: #fff;
  padding: 24px 16px 16px;
}

.project-body__info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  column-gap: 16px;
}

.project-body__time {
  font-family: var(--jost);
  font-size: 12px;
  line-height: 2;
  letter-spacing: 0.08em;
}

.project-body__category {
  border-radius: 999px;
  border: 1px solid var(--MainBlue);
  padding: 4px 20px;
  font-size: 12px;
  line-height: calc(14 / 12);
  letter-spacing: 0.04em;
  text-align: center;
  color: var(--MainBlue);
}

.project-body__title {
  margin-top: 9px;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.08em;
}

.project-body__pagination {
  margin-top: 34px;
}

.project-body__pagination .page-numbers {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: min(8px, calc(100vw / 375 * 8));
  list-style: none;
}

.project-body__pagination .page-numbers li {
  list-style: none;
}

.project-body__pagination .page-numbers a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: min(40px, calc(100vw / 375 * 40));
  height: min(40px, calc(100vw / 375 * 40));
  background-color: #e8f2ff;
  border-radius: 4px;
  font-family: var(--jost);
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0.04em;
  color: #333333;
}

.project-body__pagination .page-numbers .current {
  display: flex;
  justify-content: center;
  align-items: center;
  width: min(40px, calc(100vw / 375 * 40));
  height: min(40px, calc(100vw / 375 * 40));
  background-color: var(--MainBlue);
  border-radius: 4px;
  font-family: var(--jost);
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0.04em;
  color: #ffffff;
}

.project-body__pagination .page-numbers .dots {
  background-color: transparent;
  color: #333333;
}

.project-body__pagination .page-numbers a.prev,
.project-body__pagination .page-numbers a.next {
  background-color: unset;
  width: min(20px, calc(100vw / 375 * 20));
}

.project-body__pagination-arrow {
  display: block;
  width: 8px;
  height: 8px;
  border-left: 2px solid #333333;
  border-bottom: 2px solid #333333;
}

.project-body__pagination-arrow--prev {
  transform: rotate(45deg);
}

.project-body__pagination-arrow--next {
  transform: rotate(-135deg);
}

.project-body__other {
  margin-top: 60px;
}

.project-body__other-title {
  font-weight: 700;
  font-size: 18px;
  line-height: calc(22 / 18);
  letter-spacing: 0.04em;
}

.project-body__other-list {
  margin-top: 12px;
  padding: 20px 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  background-color: var(--gray-border);
  border-radius: 10px;
}

.project-body__other-link {
  padding: 5px 9px 6px;
  background-color: #ffffff;
  border-radius: 2px;
  border: 1px solid var(--gray-border);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.04em;
}

.project-body__related-title {
  margin-bottom: 32px;
  font-weight: 700;
  font-size: 18px;
  line-height: calc(22 / 18);
  letter-spacing: 0.04em;
}

.single-project {
  padding-top: 40px;
  padding-bottom: 60px;
}

.single-project__title {
  margin-top: 26px;
  font-weight: 700;
  font-size: 26px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: var(--MainBlue);
}

.single-project__image {
  margin-top: 26px;
}

.single-project__content {
  margin-top: 16px;
}

.single-project__content > * {
  margin-bottom: 16px;
}

.single-project__content p {
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.04em;
}

.single-project__content .wp-block-table.original {
  margin-left: -5px;
  width: calc(100% + 10px);
}
.single-project__content .wp-block-table.original table{
  border-color: #999;
}
.single-project__content .wp-block-table.original td:first-child{
  width: 120px;
  background-color: #e8f2ff;
  padding: 16px;
  vertical-align: top;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  text-align: left;
  color: #183b83;
  border-color: #999;
}
.single-project__content .wp-block-table.original td:not(:first-child) {
  background-color: #fff;
  padding: 16px;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  text-align: left;
  color: #333333;
  border-color: #999;
}

.single-project__pagination {
  padding-top: 40px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.single-project__pagination-prev,
.single-project__pagination-next {
  width: 44px;
  height: 44px;
  border-radius: 4px;
  background-color: var(--MainBlue);
  position: relative;
}
.single-project__pagination-prev::before {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-45%, -50%) rotate(45deg);
  content: "";
  width: 7px;
  height: 7px;
  border-bottom: 2px solid #fff;
  border-left: 2px solid #fff;
}
.single-project__pagination-next::before {
  position: absolute;
  top: 50%;
  right: 50%;
  transform: translate(45%, -50%) rotate(45deg);
  content: "";
  width: 7px;
  height: 7px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
}

.single-project__pagination-all {
  background-color: #e8f2ff;
  border-radius: 4px;
  padding: 14px 15px;
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
}

.project-body__related-title {
  margin-top: 56px;
  margin-bottom: 12px;
  font-weight: 700;
  font-size: 18px;
  line-height: calc(22 / 18);
  letter-spacing: 0.04em;
}

@media screen and (min-width: 768px) {

  .project-body {
    margin-top: 100px;
    margin-bottom: 100px;
  }

  .project-body__inner {
    max-width: 1100px;
    padding-inline: min(calc(100vw / 1440 * 50), 50px);
  }

  .project-body__current-category {
    font-size: 20px;
    margin-bottom: 32px;
  }

  .project-body__current-category span {
    font-size: 24px;
  }

  .project-body__list {
    padding-inline: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 24px;
  }

  .project-body__link {
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  .project-body__image img {
    aspect-ratio: 326 / 184;
  }

  .project-body__content {
    flex: 1;
    padding: 24px 16px 20px;
  }

  .project-body__time {
    font-size: 12px;
  }

  .project-body__category {
    font-size: 12px;
  }

  .project-body__title {
    margin-top: 12px;
    font-size: 16px;
  }

  .project-body__pagination {
    margin-top: 60px;
  }

  .project-body__pagination .page-numbers {
    gap: 12px;
  }

  .project-body__pagination .page-numbers a {
    width: 44px;
    height: 44px;
  }

  .project-body__pagination .page-numbers .current {
    width: 44px;
    height: 44px;
  }

  .project-body__pagination .page-numbers a.prev,
  .project-body__pagination .page-numbers a.next {
    width: 24px;
  }

  .project-body__pagination-arrow {
    width: 10px;
    height: 10px;
  }

  .project-body__other {
    margin-top: 100px;
  }

  .project-body__other-title {
    font-size: 24px;
    line-height: calc(29 / 24);
  }

  .project-body__other-list {
    margin-top: 20px;
    padding: 32px 24px;
    gap: 12px;
  }

  .project-body__other-link {
    padding: 8px 16px;
    font-size: 16px;
  }

  .project-body__related-title {
    margin-bottom: 20px;
    font-size: 24px;
    line-height: calc(29 / 24);
  }

  .single-project__article .common-inner {
    max-width: 1100px;
    padding-inline: min(calc(100vw / 1440 * 50), 50px);
  }

  .single-project__content .wp-block-table.original td:first-child {
    width: 240px;
  }

}



/********************/
/* privacy-policy */
/********************/

.privacy-policy {
  padding-top: 40px;
  padding-bottom: 60px;
}

.privacy-policy__content {
  max-width: 800px;
  margin-inline: auto;
}

.privacy-policy__text {
  font-weight: 400;
  font-size: 14px;
  line-height: calc(28 / 14);
  letter-spacing: 0.04em;
  color: #333333;
}

.privacy-policy__text:not(:first-child) {
  margin-top: 16px;
}

.privacy-policy__section {
  margin-top: 40px;
}

.privacy-policy__heading {
  font-weight: 700;
  font-size: 18px;
  line-height: calc(27 / 18);
  letter-spacing: 0.04em;
  color: #333333;
}

.privacy-policy__subheading {
  margin-top: 24px;
  font-weight: 700;
  font-size: 16px;
  line-height: calc(24 / 16);
  letter-spacing: 0.04em;
  color: #333333;
}

@media screen and (min-width: 768px) {

  .privacy-policy {
    padding-top: 80px;
    padding-bottom: 100px;
  }

  .privacy-policy__text {
    font-size: 16px;
    line-height: calc(32 / 16);
  }

  .privacy-policy__section {
    margin-top: 60px;
  }

  .privacy-policy__heading {
    font-size: 24px;
    line-height: calc(36 / 24);
  }

  .privacy-policy__subheading {
    margin-top: 32px;
    font-size: 18px;
    line-height: calc(27 / 18);
  }

}



/********************/
/* 404 */
/********************/

.p-404 {
  min-height: calc(100svh - 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.p-404__title {
  text-align: center;
  font-weight: 700;
  font-size: 24px;
  text-transform: uppercase;
}

.p-404__text {
  margin-top: 32px;
  text-align: center;
  font-size: 16px;
}

.p-404__back {
  margin-top: 40px;
}

.p-404__back-link {
  border-radius: 50px;
  border: 1px solid #333;
  padding: 10px 24px;
  font-size: 16px;
}

@media screen and (min-width: 768px) {
  .p-404__title {
    font-size: 28px;
  }
  .p-404__text {
    font-size: 20px;
  }
  .p-404__back {
	  margin-top: 64px;
	}
  .p-404__back-link {
    font-size: 18px;
  }
}



/********************/
/* contact */
/********************/

.contact-body {
  margin-top: 60px;
  margin-bottom: 60px;
}

.contact-inner {
  margin-inline: auto;
  padding-inline: min(calc(100vw / 375 * 16), 16px);
}

/* ステップ表示 */
.p-contact-step {
  margin-inline: auto;
  max-width: 342px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
}
.p-contact-step::before {
  position: absolute;
  top: 50%;
  left: 2px;
  transform: translateY(-50%);
  content: "";
  width: calc(100% - 4px);
  height: 1px;
  background-color: var(--gray-border);
  z-index: -1;
}

.p-contact-step__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border-radius: 50%;
  width: 74px;
  height: 74px;
  border: 4px solid #E6E6E6;
  background-color: #fff;
  transition: all 0.3s;
}
.p-contact-step__item.p-contact-step__item--active {
  border: 4px solid var(--MainBlue);
  background-color: var(--MainBlue);
}

.p-contact-step__number {
  font-family: var(--jost);
  font-size: 12px;
  color: #777;
  line-height: 1;
  letter-spacing: 0.04em;
  transition: all 0.3s;
}
.p-contact-step__item--active .p-contact-step__number {
  color: #fff;
}

.p-contact-step__text {
  font-weight: 500;
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.04em;
  color: #959595;
  transition: all 0.3s;
}
.p-contact-step__item--active .p-contact-step__text {
  color: #fff;
}

.p-contact-lead {
  margin-top: 24px;
  text-align: center;
  font-size: min(calc(100vw / 375 * 12), 12px);
  line-height: 1.8;
  letter-spacing: 0.04em;
}


/* 必須・任意ラベル */
.p-contact-form__required,
.p-contact-form__optional {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 2px;
  font-size: 10px;
  line-height: 1;
  color: #fff;
  margin-right: 8px;
}
.p-contact-form__required {
  background-color: var(--MainBlue);
}
.p-contact-form__optional {
  background-color: #959595;
}

.p-contact-form {
  margin-top: 40px;
}

.p-contact-form__list:not(:first-child) {
  margin-top: 22px;
}

.confirm_area .p-contact-form__list {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray-border);
}
.confirm_area .p-contact-form__list:not(:first-child) {
  margin-top: 20px;
}
.confirm_area .confirm_textarea {
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

.p-contact-form__label-zone {
  display: inline-block;
}
.p-contact-form__list--must .p-contact-form__label-zone {
  position: relative;
}

.p-contact-form__label {
  display: flex;
  align-items: center;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.p-contact-form__data {
  margin: 8px 0 0 0;
}

.p-contact-form__input {
  width: 100%;
  border-radius: 8px;
  padding: 11px;
  text-align: left;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  background-color: var(--gray-border);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: textfield;
}
/* .p-contact-form__input::placeholder {
  text-align: left;
  font-size: 16px;
  color: var(--gray-border);
} */

.p-contact-form__textarea {
  width: 100%;
  height: 240px;
  padding: 11px;
  border-radius: 8px;
  border: 1px solid var(--gray-border);
  background-color: var(--gray-border);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  resize: vertical;
}
/* .p-contact-form__textarea::placeholder {
  font-weight: 400;
  font-size: 16px;
  color: var(--gray-border);
} */

/* ラジオボタン */
input[type="radio"] {
  opacity: 0;
  position: absolute;
  visibility: hidden;
}
.p-contact-form__radio-label {
  padding-top: 6px;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 20px;
}
.p-contact-form__radio-label .wpcf7-list-item {
  margin-left: 0;
}
.p-contact-form__radio-label .wpcf7-list-item label {
  display: flex;
  align-items: center;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  cursor: pointer;
}
.p-contact-form__radio-label .wpcf7-list-item-label {
  display: flex;
  align-items: center;
}
.p-contact-form__radio-label .wpcf7-list-item-label::before {
  content: "";
  width: 23px;
  height: 23px;
  border: 1px solid #959595;
  border-radius: 50%;
  background-color: unset;
  display: inline-block;
  margin-right: 12px;
}
.p-contact-form__radio-label .wpcf7-list-item input[type="radio"]:checked + .wpcf7-list-item-label::before {
  background-color: #959595;
  box-shadow: inset 0 0 0 4px #F5F5F5;
}

/* セレクトボックス */
.p-contact-form__select-zone {
  position: relative;
}
.p-contact-form__select-zone::before {
  position: absolute;
  top: 20px;
  right: 14px;
  content: "";
  width: 12px;
  height: 9px;
  background-color: #000;
  clip-path: polygon(50% 100%, 0% 0%, 100% 0%);
  pointer-events: none;
  z-index: 2;
}
.p-contact-form__select {
  width: 100%;
  padding: 10px 35px 10px 5px;
  border-radius: 0;
  border: 1px solid #000;
  background-color: #fff;
  font-weight: 400;
  font-size: 16px;
  color: #000;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}
.p-contact-form__select option {
  color: #000;
}

/* プライバシーポリシーチェック */
input[type="checkbox"] {
  opacity: 0;
  position: absolute;
  visibility: hidden;
}
.p-contact-form__check {
  margin-top: 22px;
  display: flex;
  justify-content: center;
}
.p-contact-form__check-label {
  display: inline-block;
}
.p-contact-form__check-label .wpcf7-list-item {
  margin-left: 0;
}
.p-contact-form__check-text {
  padding-left: 25px;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.08em;
  position: relative;
  cursor: pointer;
}
.p-contact-form__check-label span.wpcf7-list-item-label {
  display: flex;
  align-items: flex-start;
}
.p-contact-form__check-label .wpcf7-list-item-label::before {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  content: "";
  width: 20px;
  height: 20px;
  border: 1px solid var(--gray-border);
  border-radius: 3px;
  background-color: #fff;
  vertical-align: middle;
}
.p-contact-form__check-label input[type="checkbox"]:checked + .wpcf7-list-item-label::before {
  background-color: var(--gray-border);
}
.p-contact-form__check-label input[type="checkbox"]:checked + .wpcf7-list-item-label::after {
  position: absolute;
  top: 6px;
  left: 4px;
  content: "";
  width: 12px;
  height: 6px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
  cursor: pointer;
}
.p-contact-form__policy-link {
  display: inline-block;
  text-decoration: underline;
}

/* エラーメッセージ */
.Form .wpcf7-not-valid-tip,
.hiragana-error,
.email-match-error {
  color: red;
  font-size: 14px;
}
.p-contact-form__select-zone:has(.wpcf7-not-valid-tip) {
  margin-bottom: 36px;
}
.p-contact-form__list.p-contact-form__list--dummy {
  position: absolute;
  margin-top: 0;
  width: 0;
  height: 0;
  opacity: 0;
  z-index: -9;
  pointer-events: none;
}

/* ボタン */
.p-contact-form__submit {
  margin-top: 55px;
  display: flex;
  justify-content: center;
  column-gap: 12px;
}

/* 確認画面のボタンエリアはSP版で縦並び */
.confirm_area__bottom .p-contact-form__submit {
  flex-direction: column;
  align-items: center;
  row-gap: 16px;
}

.p-contact-form__submit-buttonZone {
  position: relative;
}
.p-contact-form__submit-button {
  width: 240px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  background-color: var(--MainBlue);
  padding: 16px;
  text-align: center;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: #fff;
  transition: all 0.3s;
  cursor: pointer;
}
.p-contact-form__back-buttonZone {
  position: relative;
}
.p-contact-form__back-button {
  width: 240px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid var(--MainBlue);
  border-radius: 50px;
  background-color: #fff;
  padding: 16px;
  text-align: center;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--MainBlue);
  transition: all 0.3s;
  cursor: pointer;
}
.p-contact-form__submit-button:disabled {
  cursor: not-allowed;
}
.Form:has(.hiragana-error) .p-contact-form__submit-buttonZone,
.Form:has(.email-match-error) .p-contact-form__submit-buttonZone {
  cursor: not-allowed;
}
.Form:has(.hiragana-error) .p-contact-form__submit-button,
.Form:has(.email-match-error) .p-contact-form__submit-button {
  pointer-events: none;
}
.p-contact-form:has(input[data-honeypot-filled="true"]) .p-contact-form__submit-button {
  pointer-events: none;
}
@media (hover: hover) {
  /* ボタンホバー */
  .p-contact-form__submit-button:hover {
    opacity: 0.7;
  }
  /* エラーがある時のボタンホバー */
  .p-contact-form__submit-buttonZone:has(.p-contact-form__submit-button:disabled) .p-contact-form__submit-button:hover {
    background-color: var(--MainBlue);
    opacity: 1;
  }
  .Form:has(.hiragana-error) .p-contact-form__submit-button:hover,
  .Form:has(.email-match-error) .p-contact-form__submit-button:hover {
    background-color: var(--MainBlue);
    opacity: 1;
  }
  /* 戻るボタンホバー */
  .p-contact-form__back-button:hover {
    opacity: 0.7;
  }
}
.p-contact-form__submit-buttonZone .wpcf7-spinner {
  display: none;
}

/* 最初は確認画面を非表示 */
.confirm_area {
  display: none;
}

/*デフォルトのサンクスメッセージを非表示*/
.wpcf7-response-output{
  display: none;
}


/* PC版レスポンシブ */
@media screen and (min-width: 768px) {

  .contact-inner {
    max-width: 800px;
    padding-inline: min(calc(100vw / 1440 * 50), 50px);
  }

  .contact-body {
    margin-block: 80px;
  }

  /* ステップ表示PC版 */
  .p-contact-step {
    gap: 32px;
    margin-bottom: 56px;
    max-width: 400px;
  }

  .p-contact-step__item {
    width: 90px;
    height: 90px;
    gap: 5px;
  }

  .p-contact-step__number {
    font-size: 21px;
  }

  .p-contact-step__text {
    font-size: 14px;
  }

  /* リードテキストPC版 */
  .p-contact-lead {
    margin-top: 32px;
    font-size: 16px;
    line-height: 2;
  }

  /* 必須・任意ラベルPC版 */
  .p-contact-form__required,
  .p-contact-form__optional {
    padding: 3px 10px;
    font-size: 13px;
  }

  /* ボタンエリアPC版 */
  .confirm_area__bottom .p-contact-form__submit {
    flex-direction: row;
    row-gap: 0;
  }

  .p-contact-form__back-button,
  .p-contact-form__submit-button {
    width: 300px;
  }

}



/********************/
/* 送信完了ページ */
/********************/

.thanks {
  margin-top: 60px;
  margin-bottom: 60px;
}

.thanks__inner {
  margin-inline: auto;
  padding-inline: min(calc(100vw / 375 * 15), 15px);
  max-width: 600px;
}

.thanks__title {
  margin-top: 25px;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.04em;
  text-align: center;
}

.thanks__content {
  margin-top: 24px;
}

.thanks__text {
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

.thanks__text:not(:first-child) {
  margin-top: 24px;
}

.thanks__button {
  margin-top: 40px;
  text-align: center;
}

.thanks__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 240px;
  padding: 16px;
  border-radius: 50px;
  background-color: var(--MainBlue);
  color: #fff;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  position: relative;
  transition: all 0.3s;
}

.thanks__link::after {
  content: "";
  width: 15px;
  height: 15px;
  background-image: url(../image/common/arrow_white.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

@media screen and (min-width: 768px) {

  .thanks {
    margin-top: 80px;
    margin-bottom: 80px;
  }

  .thanks__inner {
    max-width: 800px;
    padding-inline: min(calc(100vw / 1440 * 50), 50px);
  }

  .thanks__title {
    margin-top: 60px;
    font-size: 26px;
    line-height: calc(42 / 26);
  }

  .thanks__content {
    margin-top: 60px;
  }

  .thanks__text {
    font-size: 16px;
    line-height: calc(32 / 16);
  }

  .thanks__text:not(:first-child) {
    margin-top: 24px;
  }

  .thanks__button {
    margin-top: 80px;
  }

  .thanks__link {
    width: 300px;
    padding: 18px;
    font-size: 18px;
  }

}

