@charset "utf-8";
:root {
  --site-red: #e80707;
  --site-dark-1: #272121;
  --site-dark-2: #443737;
  --site-light: #fcf3cf;
}
body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  color: #111;
  line-height: initial; /* hacking Bootstrap 5 */
  font-family: Meiryo, "Noto Sans JP", sans-serif;
  font-weight: 400;
  overflow-x: hidden;
}
*,
:after,
:before,
dl,
dt,
li,
span,
ul,
h1,
h2 {
  margin: 0;
  padding: 0;
}
h1,
h2,
h3,
p.heading {
  font-weight: 700;
  font-family: "Noto Sans JP", sans-serif;
}
ul {
  list-style-type: none;
}
a {
  text-decoration: none;
  transition: 0.3s;
}
a:hover {
  opacity: 0.8;
}
img {
  width: 100%;
  height: auto;
  vertical-align: middle;
}
.large {
  font-size: 1.25em;
}
.small {
  font-size: 0.7em;
}
@media screen and (max-width: 767px) {
  .flow img {
    width: 50%;
    height: auto;
  }
}
/**************************************************
*
* Header
*
***************************************************/
header {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 250px;
  height: auto;
  opacity: 1;
  text-align: center;
}
.page header {
  height: 50vh;
}
.page header img {
  position: absolute;
  bottom: 24px;
  right: 24px;
  width: 100px;
  height: auto;
}
.profile header {
  background: url(../img/office.webp);
  background-size: cover;
  background-position: center center;
}
.space header {
  background: url(../img/space.webp);
  background-size: cover;
  background-position: center center;
}
.consulting header {
  background: url(../img/consulting.webp);
  background-size: cover;
  background-position: center center;
}
.form header {
  background: url(../img/room.webp);
  background-size: cover;
  background-position: center center;
}
.page header h1 {
  font-size: 60px;
  letter-spacing: 6px;
  color: #bc002d;
  text-shadow: 0px 1px 2px rgb(251, 250, 252);
}
header h1 img {
  position: relative;
  width: 200px;
  height: auto;
  z-index: 2;
}
header p {
  position: relative;
  margin-top: 1em;
  margin-bottom: 0;
  z-index: 2;
}
header span {
  position: absolute;
  right: 1em;
  bottom: 1em;
}
header .heading {
  margin-top: 12px;
  font-size: 30px;
  font-weight: 400;
  color: #222;
}
header img.logo {
  width: 100px;
  height: 31px;
}
.leading {
  position: relative;
  height: 50vh;
  display: grid;
  place-content: center;
  text-align: center;
  color: #fff;
  background: #bc002d;
}
.leading h2 {
  /* font-weight: 400; */
  color: #fff;
  letter-spacing: 3px;
}
.leading h2 > span {
  font-size: 1.2em;
  letter-spacing: 5px;
}
.nav {
  /* bootstrap hack */
  display: grid;
}
nav {
  display: grid;
  place-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  transform: translateX(100%);
  transition: transform 0.3s ease-in;
  background: #ffff99;
  z-index: 10;
}
nav.active {
  transform: translateX(0);
}
nav ul {
  list-style: none;
}
nav li {
  position: relative;
}
nav a {
  text-decoration: none;
  color: #bc002d;
  padding: 1em;
  display: block;
  letter-spacing: 0.1em;
  font-weight: normal;
}
nav a:hover {
  opacity: 0.8;
}
.open-btn {
  display: inline-block;
  position: absolute;
  z-index: 11;
  top: 10px;
  right: 10px;
  cursor: pointer;
  width: 46px;
  height: 46px;
  border: thin solid #bc002d;
}
.open-btn span {
  display: inline-block;
  transition: all 0.4s;
  position: absolute;
  left: 10px;
  height: 1px;
  background-color: #bc002d;
  width: 50%;
}
.open-btn span:nth-of-type(1) {
  top: 14px;
}
.open-btn span:nth-of-type(2) {
  top: 23px;
}
.open-btn span:nth-of-type(3) {
  top: 31px;
}
.open-btn.active span:nth-of-type(1) {
  top: 16px;
  left: 14px;
  transform: translateY(6px) rotate(-45deg);
  width: 35%;
}
.open-btn.active span:nth-of-type(2) {
  opacity: 0;
}
.open-btn.active span:nth-of-type(3) {
  top: 28px;
  left: 14px;
  transform: translateY(-6px) rotate(45deg);
  width: 35%;
}
@media screen and (min-width: 768px) {
  .open-btn {
    display: none;
  }
  nav {
    position: fixed;
    width: 100%;
    height: auto;
    display: flex;
    justify-content: flex-end;
    transform: none;
    background: transparent;
    z-index: 10;
  }
  nav ul {
    display: flex;
  }
  nav a {
    color: #bc002d;
  }
}

@media screen and (max-width: 767px) {
  .page header h1 {
    font-size: 36px;
  }
  .leading h2 {
    font-size: 24px;
  }
  .leading p {
    margin: 0 auto;
    text-align: left;
    width: 80%;
  }
}
/**************************************************
*
* Section
*
***************************************************/
section {
  position: relative;
  padding-top: 100px;
  padding-bottom: 100px;
}
.mark-right:before {
  position: absolute;
  right: 0;
  bottom: 25%;
  width: 30%;
  height: 60%;
  content: "";
  background: #f9e7e783;
  z-index: -1;
}
.mark-left:before {
  position: absolute;
  left: 0;
  bottom: 10%;
  width: 40%;
  height: 60%;
  content: "";
  background: #f9e7e7;
  z-index: -1;
}
.domain img {
  width: 400px;
  height: auto;
}
.domain a {
  display: inline-block;
  margin: 2em auto 0;
  background: #ffe74c;
  padding: 1em 2em;
}
h2 {
  display: inline-block;
  position: relative;
  margin-bottom: 60px;
  padding-left: 1em;
}
h2:before {
  position: absolute;
  left: 0;
  top: -15px;
  width: 70px;
  height: calc(1em + 40px);
  content: "";
  background: #06d6a0;
  z-index: -1;
}
a.gobutton {
  color: #bc002d;
}
.profile table td {
  background: transparent;
}
/* section:nth-of-type(even) {
  color: #fff;
}
*/
/* .profile section:nth-of-type(even) {
  background: #ffff99;
} */
@media screen and (max-width: 767px) {
  section {
    padding-top: 60px;
  }
}
/**************************************************
*
* Footer
*
***************************************************/
footer {
  position: relative;
  color: #fff;
  background: #bc002d;
  padding: 100px 0;
}
.footer-nav {
  display: flex;
  column-gap: 1.5em;
  justify-content: center;
  margin-top: 1.5em;
}
footer a {
  color: #fff;
  text-decoration: underline;
}
.footer-logo {
  display: grid;
  place-content: center;
  text-align: center;
  height: 100%;
}
.footer-logo img {
  width: 150px;
  height: auto;
  margin-bottom: 12px;
}
footer dd:not(:last-of-type) {
  margin-bottom: 2em;
}
@media screen and (max-width: 767px) {
  .footer-nav {
    margin-bottom: 4em;
  }
}
/**************************************************
*
* Proflie
*
***************************************************/
.profile-box {
  width: 90%;
  margin: 0 auto;
  padding: 3em;
  background: #ffff99;
}
table.company {
  width: 80%;
  margin: 0 auto;
  border-collapse: separate;
  border-spacing: 0px 35px;
}

table.company th,
table.company td {
  padding: 10px;
}

table.company th {
  background: #bc002d;
  vertical-align: middle;
  text-align: left;
  width: 100px;
  overflow: visible;
  position: relative;
  color: #fff;
  font-weight: normal;
}

table.company th:after {
  left: 100%;
  top: 50%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
  border-color: rgba(136, 183, 213, 0);
  border-left-color: #bc002d;
  border-width: 10px;
  margin-top: -10px;
}
/* firefox */
@-moz-document url-prefix() {
  table.company th::after {
    float: right;
    padding: 0;
    left: 30px;
    top: 10px;
    content: " ";
    height: 0;
    width: 0;
    position: relative;
    pointer-events: none;
    border: 10px solid transparent;
    border-left: #bc002d 10px solid;
    margin-top: -10px;
  }
}
table.company td {
  background: #f8f8f8;
  width: 360px;
  padding-left: 20px;
}
.profile-box dt {
  margin-top: 3em;
  margin-bottom: 1em;
}
.profile-box dd ul {
  margin: 1em 0 0 1.25em;
  list-style-type: circle;
}
@media screen and (max-width: 767px) {
  .profile-box {
    width: 95%;
    padding: 1em;
  }
  table.company {
    width: 100%;
    margin: 0 auto;
    border-collapse: separate;
    border-spacing: 0px 15px;
  }
}
/**************************************************
*
* Space Sharing
*
***************************************************/
.space .icon {
  text-align: center;
}
.section-space .icon {
  margin-top: 4em;
}
.section-space img {
  padding: 15%;
}
.section-features img {
  padding: 5%;
  background: #f978e0;
}
.space-market img {
}
.space h3 {
  font-size: 21px;
  text-align: center;
}
.flow h3 {
  position: relative;
  text-align: center;
  margin-top: 3em;
  padding: 1em 1em;
  background: #f978e0;
  color: #fff;
}
.flow span {
  display: inline-block;
  font-size: 21px;
  padding-right: 1em;
}
.flow p {
  padding: 1em;
  margin-bottom: 6em;
}
.sample img {
  margin-bottom: 1.5rem;
  border-radius: 3px;
  box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.2);
}
@media screen and (max-width: 767px) {
  .section-space .icon {
    margin-top: 0;
  }
  .section-features img {
    margin-bottom: 1em;
  }
  .space-market p {
    margin-top: 2em;
  }
}
/**************************************************
*
* GSAP, ScrollTrigger
*
***************************************************/
@media screen and (min-width: 768px) {
  .hero {
    height: 0%;
  }
  .hero img {
    scale: 1.1;
  }
  .logo {
    opacity: 0;
  }
  nav {
    transform: translateY(-100%);
    opacity: 0;
  }
  .page nav {
    transform: translateY(0);
    opacity: 1;
  }
}
