:root {
  --red: #ef233c;
  --main: #2b2d42;
  --text-color: #0d1b2a;

  /* フォント */
  --ja: "Noto Sans JP", sans-serif;
  --en: Poppins, sans-serif;

  /* フォントサイズ */
  --fz10: calc(10 / 16 * 1rem);
  --fz12: calc(12 / 16 * 1rem);
  --fz13: calc(13 / 16 * 1rem);
  --fz14: calc(14 / 16 * 1rem);
  --fz15: calc(15 / 16 * 1rem);
  --fz17: calc(17 / 16 * 1rem);
  --fz18: calc(18 / 16 * 1rem);
  --fz19: calc(19 / 16 * 1rem);
  --fz20: calc(20 / 16 * 1rem);
  --fz22: calc(22 / 16 * 1rem);
  --fz23: calc(23 / 16 * 1rem);
  --fz24: calc(24 / 16 * 1rem);
  --fz25: calc(25 / 16 * 1rem);
  --fz26: calc(26 / 16 * 1rem);
  --fz28: calc(28 / 16 * 1rem);
  --fz30: calc(30 / 16 * 1rem);
  --fz32: calc(32 / 16 * 1rem);
  --fz36: calc(36 / 16 * 1rem);
  --fz38: calc(38 / 16 * 1rem);
  --fz40: calc(40 / 16 * 1rem);
  --fz48: calc(48 / 16 * 1rem);
  --fz60: calc(60 / 16 * 1rem);
  --fz64: calc(64 / 16 * 1rem);
  --fz80: calc(80 / 16 * 1rem);
}

*,
::before,
::after {
  box-sizing: border-box;
  border-style: solid;
  border-width: 0;
  min-width: 0;
}

/* html {
  scroll-behavior: smooth;
} */

body {
  color: var(--text-color);
  font-size: var(--fz14);
  font-family: Poppins, "Noto Sans JP", sans-serif;
  line-height: 1.5;
}

main {
  margin: 0;
  padding: 0;
  color: var(--text-color);
  width: 100%;
}

.footer-wrap:not(.no-responsible) .siteFooter.company .pageTop,
.siteFooter.foreign .pageTop {
  right: 10px;
  bottom: 10px;
  display: none;
}

#topPage .footer-wrap:not(.no-responsible) .siteFooter.company .pageTop,
#topPage .siteFooter.foreign .pageTop {
  bottom: 70px;
}

.footer-wrap:not(.no-responsible) .siteFooter.company .pageTop.show,
.siteFooter.foreign .pageTop.show {
  display: block;
}

.siteFooter.company .pageTop a,
.siteFooter.foreign .pageTop a {
  border-radius: 50%;
  border: 1px solid #c3c3c3;
  width: 56px !important;
  height: 56px !important;
  background: transparent;
  background-image: url("/web3/assets/img/common/arrow_black.svg");
  background-repeat: no-repeat;
  background-size: 20px 20px;
  background-position: center center;
  transform: rotate(-90deg);
  background-color: #fff;
}

.siteFooter.company .pageTop a::after,
.siteFooter.foreign .pageTop a::after {
  content: none;
}

@media (min-width: 768px) {
  body {
    font-size: 1rem;
    width: 100%;
  }
  
  #topPage .footer-wrap:not(.no-responsible) .siteFooter.company .pageTop,
  #topPage .siteFooter.foreign .pageTop {
    bottom: 10px;
  }

  .footer-wrap:not(.no-responsible) .siteFooter.company .pageTop,
  .siteFooter.foreign .pageTop {
    right: 20px;
    bottom: 10px;
    display: none;
  }
}

/* 共通 */

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s;
}

a span {
  text-decoration: none;
}

a:hover,
button:hover {
  opacity: 0.7;
}
.onlyPC {
  display: none;
}

.uppercase {
  text-transform: uppercase;
}

.text-center {
  text-align: center;
}

.palt {
  font-feature-settings: "palt";
}

.pageTop {
  z-index: 99;
}

.btn-contact {
  width: fit-content;
  height: fit-content;
  margin: 26px auto 0;
  background-color: var(--red);
  color: #fff;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 1rem;
  font-weight: 700;
  transition: background-color 0.3s;
  border-radius: 3px;
}

.btn-contact:hover {
  background-color: #fff;
  color: var(--red);
}

.btn-contact:hover .btn-text.has-icon::before {
  background-image: url("/web3/assets/img/top/icon_mail_red.svg");
}

.btn-general {
  background-color: var(--main);
  color: #fff;
  text-align: center;
  font-size: var(--fz15);
  font-weight: 600;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 20px 23px;
  width: clamp(260px, 100%, 335px);
  /* margin: 64px auto 0; */
  position: relative;
  border-radius: 3px;
  transition: all 0.3s;
  border: 2px solid var(--main);
}

.btn-general:hover {
  background-color: #fff;
  color: var(--main);
}

.btn-general .btn-text::before {
  content: none;
}

.btn-general .btn-arrow-container {
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-56%);
}
.btn-arrow-container {
  width: 16px;
  height: 16px;
  overflow: hidden;
  display: block;
  position: relative;
}

.button-area {
  position: relative;
}

.button-area:hover {
  opacity: 1;
}

.btn-arrow-container::before,
.btn-arrow-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
}

.btn-arrow-container::before {
  background-image: url('/web3/assets/img/top/arrow_white.svg');
}

.btn-arrow-container::after {
  background-image: url('/web3/assets/img/top/arrow_black.svg');
}

.btn-contact .btn-arrow-container::after {
  background-image: url('/web3/assets/img/top/arrow_red.svg');

}
.btn-arrow-container::before {
  transform: translateX(0px);
  transition: .5s;
}

.button-area:hover .btn-arrow-container::before{
  transition: .5s;
  transform: translateX(40px);
}

.btn-arrow-container::after {
  transform: translateX(-40px);
  transition: .5s;
}

.button-area:hover .btn-arrow-container::after {
  transition: .5s;
  transform: translateX(0px);
}

/* .btn-arrow,
.btn-arrow-hide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}

.btn-arrow img,
.btn-arrow-hide img {
  display: block;
  width: 100%;
  height: auto;
}

.btn-arrow {
  transform: translateX(0px);
  transition: .5s;
}

.button-area:hover .btn-arrow{
  transition: .5s;
  transform: translateX(40px);
}

.btn-arrow-hide {
  transform: translateX(-40px);
  transition: .5s;
}

.button-area:hover .btn-arrow-hide {
  transition: .5s;
  transform: translateX(0px);
} */

.btn-text {
  display: flex;
  align-items: center;
}

.btn-text.has-icon::before {
  content: "";
  display: block;
  width: 21px;
  height: 17px;
  background-image: url("/web3/assets/img/top/icon_mail.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
  padding-top: 4px;
  margin-right: 10px;
}

.header-underline {
  padding-bottom: 26px;
  border-bottom: 2px solid #E1E1E1;
  position: relative;
}

.header-underline::after {
  content: '';
  width: 85px;
  height: 2px;
  position: absolute;
  left: 0;
  bottom: -2px;
  background: var(--main);
}

@media (min-width: 768px) {
  .onlySP {
    display: none;
  }

  .onlyPC {
    display: block;
  }

  .btn-contact {
    margin-top: 52px;
    padding: 26px 24px 26px 40px;
    font-size: var(--fz20);
    gap: 100px;
  }

  .btn-contact::before {
    width: 22px;
    height: 16.5px;
    margin-right: 12px;
  }
    
  .btn-general {
    width: fit-content;
    max-width: unset;
    min-width: 250px;
  }
}

/* ヘッダー */
header {
  width: 100%;
  height: 67px;
  position: sticky;
  top: 0;
  left: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  padding: 0 10px 0 20px;
}

.header-container {
  max-width: 1200px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
}

.header-logo {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-logo > img {
  display: block;
  width: 100px;
  height: auto;
}

.header-logo button {
  font-family: var(--en);
  font-size: var(--fz17);
  color: var(--text-color);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 11px 25px 11px 16px;
  border-radius: 3px;
  border: 1px solid rgba(13, 27, 42, 0.7);
  cursor: pointer;
  background-color: transparent;
}

.header-logo button .humburger {
  display: block;
  width: 20px;
  height: 13px;
}

.btn-menu {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text-color) !important;
}

.btn-menu::before {
  content: "";
  display: block;
  width: 18px;
  height: 17px;
  background-image: url("/web3/assets/img/common/btn_hamburger.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
  transition: background-image 0.3s;
}

.header-logo button[aria-expanded="true"] .btn-menu::before {
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("/web3/assets/img/common/btn_hamburger_close.svg");
}

header nav {
  display: block;
  position: absolute;
  top: 67px;
  left: 0;
  width: 100%;
  height: calc(100vh - 67px);
  background-color: #fff;
  padding: 20px 20px 247px;
  opacity: 0;
  transition: opacity 0.4s;
  overflow-y: scroll;
}

header nav[inert] {
  display: none;
}

header nav.open {
  opacity: 1;
}

.nav-menu {
  display: flex;
  flex-direction: column;
}

.nav-menu li {
  color: #000;
  font-size: 1rem;
  padding: 0 10px 0 8px;
  border-bottom: 1px solid rgba(141, 153, 174, 0.5);
}

header .btn-contact {
  margin: 66px auto 0;
  border: 2px solid var(--red);
}

.change-language {
  margin: 30px auto 0;
  width: fit-content;
  position: relative;
}

.change-language button {
  display: flex;
  align-items: center;
  cursor: pointer;
  background-color: transparent;
  color: var(--text-color);
  letter-spacing: 0.08em;
}

.change-language button::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  background-image: url("/web3/assets/img/common/icon_globe.svg");
  background-repeat: no-repeat;
  background-size: contain;
  margin-right: 5px;
}

.change-language button::after {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url("/web3/assets/img/common/chevron_down.svg");
  background-repeat: no-repeat;
  background-size: contain;
  margin-left: 2px;
  transition: transform 0.3s;
}

.change-language button[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

.change-language .languages {
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  position: absolute;
  bottom: -5px;
  left: 0;
  transform: translateY(100%);
  width: 100%;
  opacity: 1;
  visibility: visible;
  transition: all 0.3s;
}

.change-language .languages[inert] {
  opacity: 0;
  bottom: -10px;
  visibility: hidden;
}

.change-language .languages > div {
  overflow: hidden;
}

.change-language ul {
  padding: 6px 12px;
  background-color: #fff;
  border-radius: 4px;
}

.change-language ul li a {
  display: block;
  padding: 16px 10px 16px 3px;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.08em;
}

html[lang="ja"] .change-language ul li a span[lang="ja"] {
  color: #C4C4C4;
}
html[lang="en"] .change-language ul li a span[lang="en"] {
  color: #C4C4C4;
}

.change-language ul li:not(:first-of-type) {
  border-top: 1px solid rgba(0, 0, 0, 0.2);
}

.change-language ul li a::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: #8d99ae;
}

.nav-link-item > a {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
}

.nav-link-item > a:hover {
  opacity: 1;
}

html[lang="ja"] .nav-link-item > a::after {
  display: block;
  color: #8d99ae;
  font-size: var(--fz12);
}

html[lang="ja"] .nav-link-item.nav-link-top > a::after {
  content: "Top";
}
html[lang="ja"] .nav-link-item.nav-link-notices > a::after {
  content: "Notices";
}
html[lang="ja"] .nav-link-item.nav-link-services > a::after {
  content: "Services";
}
html[lang="ja"] .nav-link-item.nav-link-case > a::after {
  content: "Case Studies";
}
html[lang="ja"] .nav-link-item.nav-link-faq > a::after {
  content: "FAQ";
}

@media (min-width: 768px) {
  header {
    height: 85px;
    padding: 0 20px;
  }

  .header-logo {
    width: fit-content;
  }

  .header-logo > img {
    width: 120px;
  }

  .header-logo button {
    display: none;
  }

  header nav {
    display: block;
    position: static;
    width: fit-content;
    height: 100%;
    background-color: transparent;
    padding: 0;
    opacity: 1;
    display: flex;
    align-items: center;
    gap: 32px;
    overflow: unset;
  }

  .nav-menu {
    display: flex;
    flex-direction: row;
    gap: 20px;
  }

  .nav-menu li {
    color: #000;
    font-size: 1rem;
    padding: 0;
    border-bottom: none;
  }

  header .btn-contact {
    display: none;
  }

  .change-language {
    margin: 0;
  }

  .change-language button {
    padding: 3px;
  }

  html[lang="ja"] .nav-link-item.nav-link-top > a::after,
  html[lang="ja"] .nav-link-item.nav-link-notices > a::after,
  html[lang="ja"] .nav-link-item.nav-link-services > a::after,
  html[lang="ja"] .nav-link-item.nav-link-case > a::after,
  html[lang="ja"] .nav-link-item.nav-link-faq > a::after {
    content: none;
  }

  
  .nav-link-item > a {
    padding: 0;
    display: flex;
    justify-content: space-between;
  }

  .link-text {
    overflow: hidden;
    color: transparent;
    /* font-size: 60px; */
    text-shadow: 0 -1.5em 0 var(--text-color), 0 0 0 var(--text-color);
    transition: text-shadow 0.3s;
    clip-path: inset(0 0 0 0);
  }

  .link-text:hover {
    text-shadow: 0 0 0 #738792, 0 1.5em 0 #738792
  }
}

@media (min-width:1200px) {
  .nav-menu {
    gap: 32px;
  }
}

/* フッター */
footer {
  padding-top: 20px;
}

/* アンカーリンク */
.anchor-link-target {
  display: block;
  padding-top: 67px;
  margin-top: -67px;
}

@media (min-width:768px) {
  .anchor-link-target {
    padding-top: 85px;
    margin-top: -85px;
  }
}

/* 下層ページ ヘッダ */
.subpage-head {
  padding: 66px 20px 48px;
  background-image: url("/web3/assets/img/common/bg_subpage_head.webp");
  background-repeat: no-repeat;
  background-size: cover;
  font-feature-settings: "palt";
}

html[lang="en"] .subpage-head {
  padding: 66px 20px;
}

.subpage-head > div {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.subpage-head h1 {
  color: #3E4654;
  font-size: var(--fz24);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.05em;
}

.subpage-head p {
  color: #8D99AE;
  font-size: var(--fz14);
  font-weight: 600;
  line-height: 2;
  letter-spacing: 0.84px;
}

@media (min-width:768px) {
  .subpage-head {
    padding: 85px 20px 73px;
  }

  html[lang="en"] .subpage-head {
    padding: 85px 20px;
  }

  .subpage-head h1 {
    font-size: var(--fz36);
  }

  .subpage-head p {
    font-size: var(--fz14);
    letter-spacing: 0.84px;
  }
}

/* 下層ページ パンくずリスト */
.breadcrumb {
  padding: 16px 20px;
}

.breadcrumb ul {
  max-width: 1200px;
  margin-inline: auto;
}

.breadcrumb ul li {
  display: inline;
  line-height: 1.6;
}

.breadcrumb ul li:not(:has(a)) {
  color: #999999;
}

.breadcrumb ul li:not(:last-child)::after {
  content: '';
  display: inline-block;
  width: 8px;
  height: 12px;
  background-image: url("/web3/assets/img/common/breadcrumb_chevron.svg");
  background-repeat: no-repeat;
  background-size: contain;
  margin: 0 14px;
}

@media (min-width:768px) {
  .breadcrumb {
    padding: 24px 20px 0;
  }
}


/* Section: Contact */
.contact .section-title {
  color: #2b2d42;
  font-size: var(--fz23);
  font-weight: 700;
  line-height: 1.5;
  margin-top: 6px;
  position: relative;
}

.contact .section-title::after {
  content: "";
  display: block;
  width: 50px;
  height: 4px;
  background: #fabe00;
  margin-top: 20px;
}

.contact {
  padding: 96px 20px 106px;
  position: relative;
}

.contact::after {
  content: "";
  display: block;
  width: 100%;
  height: 65%;
  background-color: #e8e9ee;
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: -1;
}

.contact .section-title {
  color: #fff;
  text-align: center;
}

.contact .section-title::after {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.contact-inner {
  background-color: var(--main);
  color: #fff;
  max-width: 960px;
  margin: 0 auto;
  padding: 56px 16px 59px;
}

.contact-inner p {
  text-align: center;
  margin-top: 52px;
  font-size: var(--fz15);
  font-weight: 700;
  line-height: 1.92;
}

.contact-inner .btn-contact {
  width: 100%;
  max-width: 303px;
  display: grid;
  place-items: center;
  padding: 25px 12px;
}

.contact-inner .btn-arrow-container {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
}


@media (min-width: 768px) {
  .section-title {
    font-size: var(--fz38);
    line-height: 1.4;
  }

  .section-title::after {
    width: 56px;
    height: 4px;
    margin-top: 28px;
  }

  .contact {
    padding: 160px 20px 106px;
    margin-bottom: 40px;
  }

  .contact::after {
    height: 54%;
  }

  .contact-inner {
    padding: 78px 20px 61px;
  }

  .contact .section-title::after {
    margin-top: 17px;
  }

  .contact-inner p {
    margin-top: 56px;
    font-size: var(--fz16);
  }

  .contact .btn-contact {
    /* gap: 20px; */
    padding: 23px 8px;
    max-width: 357px;
  }


}
