@charset "UTF-8";
html {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-size: 62.5%;
  font-family: "Noto Sans JP", sans-serif;
}

img {
  width: 100%;
}

/* ===========================
   ヘッダー全体：上下左右中央配置
=========================== */
.header {
  height: 100vh;
  background: #fff;
  display: flex;
  flex-direction: column;      /* 縦方向に積む（ロゴ→テキスト） */
  justify-content: center;     /* 縦方向中央 */
  align-items: center;         /* 横方向中央 */
  position: relative;
  text-align: center;
}

/* ===========================
   WKEYロゴ・アニメ部分
=========================== */
.wkey-loader{
  --w: 320px;
  --bleed: 7.6%;
  width: var(--w);
  aspect-ratio: 520 / 480;
  position: relative;
  margin-bottom: 32px; /* 見出しとの間隔 */
}

.wkey-loader .piece{
  position:absolute; inset:0;
  background: url("img/logo.png") center / contain no-repeat;
  opacity: 0;
  transform: translateY(10px) scale(.98) translateZ(0);
  filter: blur(2px);
  backface-visibility: hidden;
  will-change: clip-path, transform, opacity;
  animation: wkey-reveal .7s cubic-bezier(.2,.7,.2,1) forwards;
  image-rendering: -webkit-optimize-contrast;
}

/* ==== 切り分け（矩形＋オーバーラップ） ==== */
.wkey-loader .left{
  clip-path: inset(calc(0% - var(--bleed)) calc(62% - var(--bleed)) calc(40% - var(--bleed)) calc(0%  - var(--bleed)));
  animation-delay: 0s;
}
.wkey-loader .mid{
  clip-path: inset(calc(0% - var(--bleed)) calc(28% - var(--bleed)) calc(40% - var(--bleed)) calc(26% - var(--bleed)));
  animation-delay: .45s;
}
.wkey-loader .key{
  clip-path: inset(calc(0%  - var(--bleed)) calc(0%  - var(--bleed)) calc(50% - var(--bleed)) calc(72% - var(--bleed)));
  animation-delay: .9s;
}
.wkey-loader .word{
  clip-path: inset(calc(65% - var(--bleed)) calc(0%  - var(--bleed)) calc(0%  - var(--bleed)) calc(0%  - var(--bleed)));
  animation-delay: 1.35s;
}

@keyframes wkey-reveal{
  0%   { opacity:0; transform: translateY(10px) scale(.98); filter: blur(2px); }
  70%  { opacity:1; transform: translateY(0) scale(1); filter: blur(0); }
  100% { opacity:1; transform: translateY(0) scale(1); filter: blur(0); }
}

/* ===========================
   キャッチコピー（中央）
=========================== */
.header_cc h1 {
  font-size: clamp(40px, 3vw, 80px);
  background: #000;
  color: #fff;
  padding: 8px 16px;
  border-radius: 4px;
  opacity: 0.85;
  animation: fadeInAnime 4s forwards;
}

@keyframes fadeInAnime {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}


.side_menu {
  position: fixed;
  top: 40vh;
  right: 5%;
  z-index: 1;
}
.side_menu li:nth-child(n+2) {
  margin-top: 24px;
}
.side_menu li a {
  font-size: 14px;
  font-weight: 700;
  font-family: "din-2014", sans-serif;
  letter-spacing: 0.05em;
}
.side_menu li a:hover {
  opacity: 0.7;
}

.scrolldown {
  position: absolute;
  bottom: 2%;
  right: 50%;
  animation: arrowmove 1s ease-in-out infinite;
}
@keyframes arrowmove {
  0% {
    bottom: 1%;
  }
  50% {
    bottom: 2%;
  }
  100% {
    bottom: 1%;
  }
}
.scrolldown:before {
  content: "";
  position: absolute;
  bottom: 0;
  right: -3px;
  width: 2px;
  height: 10px;
  background: #000000;
  transform: skewX(-31deg);
}
.scrolldown:after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 2px;
  height: 50px;
  background: #000000;
}
.scrolldown span {
  position: absolute;
  left: -20px;
  bottom: 10px;
  font-size: 10px;
  font-weight: 700;
  font-family: "din-2014", sans-serif;
  letter-spacing: 0.05em;
  -ms-writing-mode: tb-rl;
  -webkit-writing-mode: vertical-rl;
  writing-mode: vertical-rl;
}

.bg_black {
  background: #000;
  display: flex;
  justify-content: center;
  padding-top: 128px;
  padding-bottom: 128px;
}

.mission {
  position: relative;
}
.mission::before, .mission::after {
  position: absolute;
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 80px 100vw 0 0;
  left: 0;
  right: 0;
}
.mission::before {
  border-color: #fff transparent transparent transparent;
  top: 0;
}
.mission::after {
  border-color: #000 transparent transparent transparent;
  bottom: -80px;
}

.text_inner {
  text-align: center;
  padding: 0 16px;
}
.text_inner h2 {
  font-size: clamp(18px, 5vw, 20px);
  font-weight: 700;
  font-family: "din-2014", sans-serif;
}
.text_inner .ttl_border {
  width: 2px;
  height: clamp(18px, 5vw, 40px);
  background: #fff;
  display: inline-block;
  margin: 12px 0;
}
.text_inner ._black {
  background: #000;
}
.text_inner h3 {
  font-size: clamp(24px, 3vw, 48px);
  font-weight: 700;
}
.text_inner p {
  margin-top: 40px;
  line-height: 2;
  font-size: clamp(15px, 3vw, 18px);
}
.text_inner .table {
  font-size: 16px;
}
.text_inner .table_ttl {
  width: clamp(100px, 3vw, 200px);
}
@media screen and (max-width: 768px) {
  .text_inner .table_ttl {
    padding-bottom: 8px;
  }
}
.text_inner tr {
  display: flex;
  padding: 16px 0;
}
@media screen and (max-width: 768px) {
  .text_inner tr {
    flex-direction: column;
    padding: 0;
    padding-bottom: 16px;
  }
}

.btn,
a.btn,
button.btn {
  font-size: 1.6rem;
  font-weight: 700;
  font-family: "din-2014", sans-serif;
  line-height: 1.5;
  position: relative;
  display: inline-block;
  padding: 1rem 4rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  color: #212529;
  border-radius: 0.5rem;
  margin-top: 40px;
}

a.btn_flat {
  overflow: hidden;
  padding: 1.5rem 6rem;
  color: #fff;
  border-radius: 0;
  background: #000;
  border: 1px solid #fff;
}
a.btn_flat span {
  position: relative;
}
a.btn_flat::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: "";
  -webkit-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
  -webkit-transform: translateX(-96%);
  transform: translateX(-96%);
  background: #ffffff;
}
a.btn_flat:hover {
  color: #000;
}
a.btn_flat:hover::before {
  -webkit-transform: translateX(0%);
  transform: translateX(0%);
}

a.btn_white {
  color: #212529;
  background: #fff;
  border: 1px solid #212529;
}
a.btn_white::before {
  background: #212529;
}
a.btn_white:hover {
  color: #fff;
}

.text_white {
  color: #fff;
}

.service {
  display: flex;
  justify-content: center;
  padding-top: 128px;
  padding-bottom: 128px;
}

.js-white {
  color: #fff;
}

.footer {
  background: #000;
  color: #fff;
  font-size: clamp(14px, 3vw, 16px);
}
.footer_menu {
  padding: 24px 0;
}
.footer_menu ul {
  display: flex;
  justify-content: center;
}
.footer_menu li {
  padding: 0 16px;
  padding-left: 10px;
  padding-right: 10px;
}
.footer_menu li:nth-child(n+2) {
  border-left: 1px solid #fff;
}

.js_fade {
  opacity: 0;
  visibility: hidden;
  transform: translateY(50px);
  transition: opacity 1s, visibility 1s, transform 1s;
}

.scroll {
  opacity: 1;
  visibility: visible;
  transform: translateY(0px);
}

.sp_br {
  display: none;
}

.hamburger_menu {
display: none;}

@media screen and (max-width: 768px) {
  .sp_br {
    display: block;
  }
}
.pc_br {
  display: block;
}

@media screen and (max-width: 768px) {
  .pc_br {
    display: none;
  }
}
@media screen and (max-width: 768px) {
  /*ボタン外側※レイアウトによってpositionや形状は適宜変更してください*/
  .openbtn {
    /*ボタン内側の基点となるためrelativeを指定。
    追従するナビゲーションの場合はfixed＋top、rightといった位置をセットで指定*/
    position: relative;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 5px;
    position: fixed;
    top: 3vh;
    right: 5%;
    z-index: 100;
  }
  .openbtn span {
    display: inline-block;
    transition: all 0.4s; /*アニメーションの設定*/
    position: absolute;
    left: 14px;
    height: 2px;
    border-radius: 2px;
    background: #000;
  }
  .openbtn span:nth-of-type(1) {
    top: 15px;
    width: 45%;
  }
  .openbtn span:nth-of-type(2) {
    top: 23px;
    width: 35%;
  }
  .openbtn span:nth-of-type(3) {
    top: 31px;
    width: 20%;
  }
  /*activeクラスが付与されると線が回転して×になる*/
  .openbtn.active span {
    background: #fff;
  }
  .openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-135deg);
    width: 30%;
  }
  .openbtn.active span:nth-of-type(2) {
    opacity: 0;
  }
  .openbtn.active span:nth-of-type(3) {
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(135deg);
    width: 30%;
  }
  .hamburger_menu {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    right: -120%;
    transition: all 0.4s;
    z-index: 10;
    background-color: rgb(26, 26, 26);
    color: #fff;
    padding: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }
  .hamburger_menu li {
    font-size: 16px;
  }
  .hamburger_menu li:nth-child(n+2) {
    margin-top: 64px;
  }
  .hamburger_menu.active {
    right: 0;
  }
  .side_menu {
    display: none;
  }
}/*# sourceMappingURL=style.css.map */