@charset "UTF-8";

/* -------------------------------------------------------------------- */
/* reset(基本触らない) ------------------------------------------------ */
/* -------------------------------------------------------------------- */

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-style: normal;
  font-weight: normal;
  font-size: 100%;
  vertical-align: baseline;
}
table {
  border-collapse: collapse;
  border: none;
  border-spacing: 0;
}
img {
  vertical-align: bottom;
  width: 100%;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

html {
  overflow-y: scroll;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

input,
textarea {
  margin: 0;
  padding: 0;
}

ol,
ul {
  list-style: none;
}

a:focus {
  outline: none;
}

/* 汎用clear ---------------------------------------------------------- */

.clfix:after {
  content: ".";
  display: block;
  visibility: hidden;
  height: 0.1px;
  font-size: 0.1em;
  line-height: 0;
  clear: both;
}
.clfix {
  zoom: 100%;
}

.clear {
  clear: both !important;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-size: 16px;
}

body {
  font-family: "Noto Sans JP", Arial, sans-serif;
  line-height: 1.6;
}

h2 {
  font-size: 24px;
}

.contain {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.pc {
  display: flex;
}

.sp {
  display: none;
}
body.no-scroll {
  position: fixed;
  width: 100%;
  overflow: hidden;
  top: 0;
}

@media screen and (max-width: 750px) {
  .pc {
    display: none !important;
  }

  .sp {
    display: flex !important;
  }
}

/* Header */

.header {
  margin: 0 calc(50% - 50vw);
  width: 100vw;
  padding: min(calc(50 / 1920 * 100vw), 50px) min(calc(20 / 1920 * 100vw), 20px)
    min(calc(40 / 1920 * 100vw), 40px);
  /* background: linear-gradient(to right, #0076d7, #29c7f4, #0076d7); */
  /* height: 226px; */
  background-image: url("../img/common/headerbg-pc.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.top-page .header {
  background: none;
}
.header_inner {
  display: flex;
  max-width: 1000px;
  width: 90%;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
}
.logo {
  line-height: 0;
  width: min(30%, 327px);
  /* width: min(calc(327 / 1920 * 100vw), 327px); */
}

.nav {
  width: min(67%, 670px);
}

.nav ul {
  display: flex;
  font-size: 24px;
  width: 100%;
  justify-content: flex-end;
}

nav ul li:not(:first-child) {
  margin-left: min(9%, 60px);
}

nav ul li a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  transition: all 0.3s ease;
  font-family: "Lato", sans-serif;
  font-size: 24px;
}

@media screen and (max-width: 850px) {
  nav ul li a {
    font-size: 20px;
  }
}

.nav a:hover {
  opacity: 0.7;
  transform: opacity scale(1.05);
}

/* Footer */
.footer {
  /* background: #333; */
  color: #fff;
  padding: 15px 0;
  font-size: 10px;
  text-align: center;
  font-family: "Lato", sans-serif;
  line-height: 1;
}
#about-page .footer,
#solution-page .footer,
#contact-form .footer {
  background: #101129;
  margin: 0 calc(50% - 50vw);
  width: 100vw;
}

/* Page Top Button */
.page-top {
  position: fixed;
  bottom: min(calc(110 / 1920 * 100vw), 110px);
  right: min(calc(140 / 1920 * 100vw), 140px);
  border: none;
  cursor: pointer;
  display: none;
  z-index: 999;
  font-family: "Lato", sans-serif;
  font-size: 16px;
  color: #0e196d;
  background: none;
  font-weight: bold;
  padding-top: min(calc(50 / 1920 * 100vw), 50px);
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}
.page-top::before {
  content: "";
  display: block;
  width: 48px;
  height: 26px;
  background-image: url("../img/common/up-arrow-pc.webp");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin: 0 auto;
  margin-bottom: min(calc(23 / 1920 * 100vw), 23px);
}

/* .page-top::before,
.page-top::after {
  content: "";
  position: absolute;
  top: 0;
  left: calc(50% - 2px);
  width: 4px;
  height: min(calc(47 / 1920 * 100vw), 47px);
  border-radius: 9999px;
  background-color: #0e196d;
  transform-origin: 50% 2px;
}
.page-top::before {
  transform: rotate(45deg);
}

.page-top::after {
  transform: rotate(-45deg);
} */
@media (max-width: 750px) {
  .page-top {
    padding-top: calc(20 / 375 * 100vw);
    color: #095fc3;
    bottom: min(calc(62 / 375 * 100vw), 62px);
    font-size: 10px;
    right: min(calc(35 / 375 * 100vw), 35px);
  }
  /* .page-top::before,
  .page-top::after {
    height: calc(18 / 375 * 100vw);
    background-color: #095fc3;
  } */
  .page-top::before {
    width: 30px;
    height: 17px;
    background-image: url("../img/common/up-arrow-sp.webp");
    margin-bottom: min(calc(10 / 375 * 100vw), 10px);
  }
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  transition: all 0.3s;
}

.hamburger span.text {
  background: none;
  font-size: 3.2vw;
  color: #fff;
  transition: all 0s;
}

/* Main Content */
.main {
  /* padding: 100px 0 0; */
}

.container {
  max-width: 1000px;
  width: 90%;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  color: #0e196d;
}

body {
  opacity: 0;
  transition: all 2.5s;
}

body.pageLoaded {
  opacity: 1;
}

.active-cont {
  opacity: 1;
}

.hexagon img {
  width: 100%;
}

/* Responsive */
@media (max-width: 750px) {
  .header {
    padding: 3vw 0 3vw;
    background-image: url("../img/common/headerbg-sp.webp");
  }

  .logo {
    width: calc((86 / 375) * 100vw);
    /* margin-left: 6vw; */
  }

  .hamburger {
    display: grid;
    position: fixed;
    right: 5vw;
    top: 3vw;
    width: 9vw;
    z-index: 101;
    height: 8vw;
    line-height: 1;
    /* align-items: start; */
    align-items: center;
    /* justify-content: flex-start; */
    justify-content: center;
    flex-direction: column;
    flex-wrap: wrap;
  }

  .hamburger.active span {
    background: #0e196d;
  }

  .hamburger.active span:nth-child(1) {
    transform: translateY(2.8vw) rotate(45deg);
  }

  .hamburger.active span:nth-child(2) {
    transform: translateY(0.2vw) rotate(-45deg);
  }

  .hamburger.active span:nth-child(3) {
    opacity: 0;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 65.6%;
    /* background: #f1f3f4; */
    background: #fff;
    opacity: 0.95;
    padding: calc((112 / 375) * 100vw) calc((30 / 375) * 100vw) 0
      calc((50 / 375) * 100vw);
    transform: translateX(100%);
    transition: transform 0.3s;
    height: 100%;
    z-index: 100;
    /* box-shadow: 0 0 2px rgba(0, 0, 0, 0.75); */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  }

  nav ul {
    font-size: calc((20 / 375) * 100vw);
    flex-direction: column;
  }

  nav ul li:not(:first-child) {
    margin-left: 0;
  }

  nav ul li {
    margin: 0 0 5vw 0;
  }

  nav ul li a {
    position: relative;
    color: #0e196d;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }

  nav ul li a::after {
    position: absolute;
    content: "";
    width: 11px;
    height: 20px;
    color: #0e196d;
    right: 0;
    background: url(../img/common/menu-link-arrow.svg) no-repeat center;
  }

  .nav.active {
    transform: translateX(0);
  }

  .footer {
    color: #fff;
    padding: 3vw 0;
    font-size: calc((10 / 375) * 100vw);
    text-align: center;
  }

  .header.scrolled .hamburger {
    position: fixed;
    right: 5vw;
    /* align-items: end; */
  }

  .header.scrolled .hamburger span.text {
    opacity: 0;
  }

  .header.scrolled .hamburger span {
    background: #0e196d;
  }
}

/* Different distances */
.long-slide-up {
  transform: translateY(50px);
}

.animated.long-slide-up {
  transform: translateY(0);
}

.long-slide-left {
  transform: translateX(-50px);
}

.animated.long-slide-left {
  transform: translateY(0);
}

.long-slide-right {
  transform: translateX(50px);
}

.animated.long-slide-right {
  transform: translateY(0);
}

.animate {
  transition: all ease-in 1s;
  opacity: 0;
}

.animated {
  opacity: 1;
}

.animate-delay-1 {
  transition-delay: 0.25s;
}

.animate-delay-2 {
  transition-delay: 0.5s;
}
