@charset "UTF-8";

/* =============================================
   CSS変数
   ============================================= */
:root {
  --color-black: #000;
  --color-white: #fff;
  --color-yellow: #ffef8a;
  --color-gray-bg: #ececec;
  --font-size-s: 1.8rem;
  --font-size-m: 2.4rem;
  --font-size-l: 4.6rem;
}

/* =============================================
   Base
   ============================================= */
* {
  font-feature-settings: "palt";
  letter-spacing: 0.025em;
}
html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}
body {
  width: 100vw;
  height: 100vh;
  font-size: 1.8rem;
  line-height: 1.667;
  overflow: hidden;
  font-family:
    "Helvetica Neue", "Arial", "hiragino-kaku-gothic-pron", "Hiragino Sans", "ヒラギノ角ゴシック",
    YuGothic, "Yu Gothic", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}
img {
  width: 100%;
  vertical-align: top;
}
a {
  color: var(--color-black);
  text-decoration: none;
}
ul {
  list-style: none;
}
h2 {
  font-size: 10rem;
  line-height: 1;
  margin-bottom: 2rem;
}
h3 {
  display: inline;
  font-size: 2.4rem;
  line-height: 1;
  background-image: linear-gradient(
    0deg,
    transparent 0.38em,
    #ffef8a80 0.38em,
    #ffef8a80 0.76em,
    transparent 0.76em
  );
}

/* =============================================
   ユーティリティ
   ============================================= */
.u-futura {
  font-family:
    "futura-pt", "Helvetica Neue", "Helvetica", "Arial", "Hiragino Sans", "ヒラギノ角ゴシック",
    YuGothic, "Yu Gothic", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-weight: 700;
  font-style: normal;
}
.u-futura-bold {
  font-family:
    "futura-pt-bold", "Helvetica Neue", "Helvetica", "Arial", "Hiragino Sans", "ヒラギノ角ゴシック",
    YuGothic, "Yu Gothic", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-weight: 700;
  font-style: normal;
}
.u-source-bold {
  font-family: "source-han-sans-japanese", sans-serif;
  font-weight: 700;
  font-style: normal;
}
.u-pc-only {
  display: block;
}
.u-sp-only {
  display: none;
}

/* =============================================
   State
   ============================================= */
.no-scroll {
  overflow: hidden;
}
.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* =============================================
   Layout: wrapper / container
   ============================================= */
.wrapper {
  display: flex;
  flex-direction: column;
  width: 100vw;
  height: 100vh;
  position: relative;
}
.container {
  flex: 1;
  background-color: rgba(255, 255, 255, 1);
  overflow-y: scroll;
  overflow-x: hidden;
}

/* =============================================
   Block: header
   ============================================= */
header {
  width: 100vw;
  max-width: 1200px;
  height: 89px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  mix-blend-mode: difference;
  z-index: 10;
}
.header__inner {
  width: 100%;
  max-width: 1200px;
  display: flex;
  align-items: center;
}
.header__logo {
  width: 164px;
  margin-right: auto;
}
.header__logo a {
  color: var(--color-white);
  text-decoration: none;
  font-size: 2.4rem;
}
.header__nav {
  display: flex;
  font-size: 2rem;
  column-gap: 2rem;
  align-items: center;
}
.header__menu,
.header__contact {
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 1rem;
  cursor: pointer;
}
.header__menu {
  color: var(--color-white);
}
.header__contact {
  background-color: #001075;
  color: var(--color-white);
  border-radius: 22px;
  width: 140px;
  height: 45px;
}
.header__contact-icon::before {
  content: url("../images/contact_mail.svg");
  display: block;
  width: 21px;
  height: 15px;
  line-height: 0;
}
.header__menu-icon {
  background: var(--color-white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  row-gap: 0.6rem;
}
.header__menu-line {
  width: 17px;
  height: 0.5px;
  background-color: var(--color-black);
  transition: all 0.3s ease;
}
.header__menu-line:nth-child(1) {
  position: relative;
  right: 2px;
}
.header__menu-line:nth-child(2) {
  position: relative;
  left: 2px;
}
.header__menu-line:nth-child(3) {
  position: relative;
  right: 2px;
}

/* =============================================
   Block: menu（全画面オーバーレイ）
   ============================================= */
.menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100vw;
  height: 100vh;
  background: var(--color-white);
  z-index: 999;
  display: flex;
  overflow: hidden;
}
.menu__container {
  display: flex;
  width: 100%;
  height: 100%;
}

.menu__close-wrap {
  width: 100%;
  max-width: 1200px;
  height: 89px;
  display: flex;
  justify-content: flex-end;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  margin: 0 auto;
  padding-right: 160px;
  z-index: 10001;
}
.menu__close-btn {
  font-size: 2rem;
  color: var(--color-black);
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  column-gap: 18px;
}
.menu__close-icon {
  width: 36px;
  height: 36px;
  position: relative;
  display: inline-block;
}
.menu__close-icon::before,
.menu__close-icon::after {
  content: "";
  background: var(--color-black);
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
}
.menu__close-icon::before {
  transform: translateY(-50%) rotate(20deg);
}
.menu__close-icon::after {
  transform: translateY(-50%) rotate(-20deg);
}

.menu__panel {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding-top: 100px;
  position: relative;
  will-change: transform;
}
.menu__panel--nav {
  background-color: var(--color-white);
  align-items: flex-end;
  padding-right: 60px;
}
.menu__panel--contact {
  background-color: var(--color-yellow);
  align-items: flex-start;
  padding-left: 60px;
}
.menu__panel-inner {
  width: 100%;
  max-width: 550px;
  display: flex;
  flex-direction: column;
}
.menu__heading {
  font-size: 2rem;
  line-height: 1.2;
  padding-bottom: 2rem;
}
.menu__panel--nav .menu__heading {
  border-bottom: 1px solid var(--color-black);
  margin-bottom: 2rem;
}
.menu__list {
  font-size: 2.8rem;
  line-height: 1.2;
  display: flex;
  flex-direction: column;
  row-gap: 1rem;
}
.menu__link-sub {
  font-size: 1.2rem;
  font-weight: bold;
  padding-left: 1.5rem;
}
.menu__desc {
  font-size: 1.6rem;
  margin-bottom: 2rem;
}
.menu__btn {
  color: var(--color-black);
  background-color: transparent;
  border: 1.5px solid var(--color-black);
  text-decoration: none;
  width: 256px;
  padding: 1.2rem 0;
  font-size: 1.8rem;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 8px;
  overflow: hidden;
  position: relative;
  transition:
    color 0.4s ease-in-out,
    border-color 0.4s ease-in-out;
}
.menu__btn:hover {
  color: var(--color-white);
  border-color: var(--color-black);
}
.menu__btn-icon:not(.menu__ripple)::after {
  content: url("../images/mail_white.svg");
  display: block;
  width: 21px;
  height: 15px;
  line-height: 0;
  filter: invert(1);
  transition: filter 0.4s ease-in-out;
}
.menu__btn:hover .menu__btn-icon:not(.menu__ripple)::after {
  filter: invert(0);
}
.menu__ripple {
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  border-radius: 50%;
  background-color: var(--color-black);
  transition:
    width 0.4s ease-in-out,
    height 0.4s ease-in-out;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
}
.menu__btn:hover .menu__ripple {
  width: 576px;
  height: 576px;
}
.menu__btn-text {
  position: relative;
  z-index: 1;
}
.menu__btn-icon {
  position: relative;
  z-index: 1;
}

/* アニメーション初期状態 */
.menu__heading,
.menu__item,
.menu__desc,
.menu__btn {
  opacity: 0;
  transform: translateX(60px);
  clip-path: inset(0 0 0 100%);
  pointer-events: none;
  visibility: hidden;
  transition: none;
}
.menu.is-open .menu__heading,
.menu.is-open .menu__item,
.menu.is-open .menu__desc,
.menu.is-open .menu__btn {
  pointer-events: auto;
  visibility: visible;
}

/* =============================================
   Block: footer
   ============================================= */
.footer {
  width: 100vw;
  height: 500px;
  display: flex;
  background: linear-gradient(
    to right,
    #515151 0%,
    #515151 50%,
    var(--color-black) 50%,
    var(--color-black) 100%
  );
  font-size: 1.4rem;
}
.footer__wrapper {
  width: 100vw;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
}
.footer__left,
.footer__right {
  flex: 1;
  color: var(--color-white);
}
.footer__left {
  text-align: left;
  padding: 4rem 5rem 1.5rem;
}
.footer__nav-list {
  max-width: 345px;
  display: flex;
  flex-wrap: wrap;
  row-gap: 2rem;
}
.footer__nav-item {
  width: 50%;
}
.footer__nav-link {
  color: var(--color-white);
}
.footer__right {
  text-align: right;
  padding: 4rem 5rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.footer__brand {
  display: flex;
  flex-direction: column;
  row-gap: 3rem;
}
.footer__brand-slogan {
  font-size: 8rem;
  font-weight: bold;
  line-height: 1.1;
}
.footer__brand-name {
  font-size: 2rem;
  font-weight: bold;
}
.footer__copyright {
  color: #a4a4a4;
  padding-top: 8rem;
}

/* =============================================
   Block: back-to-top
   ============================================= */
.back-to-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--color-black);
  color: var(--color-white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition:
    opacity 0.4s ease,
    transform 0.4s ease,
    background-color 0.2s ease;
}
.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover {
  background-color: #333;
}
.back-to-top svg {
  width: 22px;
  height: 22px;
  display: block;
}

/* =============================================
   Block: parallax
   ============================================= */
.parallax {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.parallax__sq {
  position: absolute;
  background-color: var(--color-black);
  will-change: transform;
}

/* =============================================
   Responsive: 1024px以下
   ============================================= */
@media screen and (max-width: 1024px) {
  .header {
    padding: 0 30px;
  }
  .header__inner {
    justify-content: space-between;
  }
  .header__logo {
    width: auto;
    margin-right: 0;
    display: flex;
    align-items: center;
  }
  .header__nav {
    font-size: 2.8rem;
    column-gap: 0;
  }
  .header__contact {
    display: none;
  }
  .header__menu {
    column-gap: 1.5rem;
  }
  .header__menu-icon {
    width: 60px;
    height: 60px;
    row-gap: 0.9rem;
  }
  .header__menu-line {
    width: 30px;
    height: 2px;
  }
  .menu__panel {
    padding: 10rem 3rem 0;
  }
}

/* =============================================
   Responsive: 768px以下
   ============================================= */
@media screen and (max-width: 768px) {
  body {
    font-size: 2.8rem;
  }
  .u-pc-only {
    display: none;
  }
  .u-sp-only {
    display: block;
  }
  .menu__panel--sp {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .menu__contact-item {
    border: 1px solid var(--color-black);
    border-radius: 500px;
    background-color: transparent;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .menu__btn-sp img {
    width: 30px;
  }
  .menu__panel--sp .menu__contact-list {
    display: flex;
    flex-direction: row;
    column-gap: 2rem;
  }
  .menu__link {
    display: flex;
    flex-direction: column;
  }
  .menu__link-sub {
    padding-left: 0;
  }
  .menu__btn-sp {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .footer {
    height: auto;
    background: transparent;
    font-size: 2.4rem;
  }
  .footer__wrapper {
    flex-direction: column;
  }
  .footer__left {
    background-color: #515151;
    padding: 8rem 3rem;
  }
  .footer__right {
    background-color: var(--color-black);
    padding: 7rem 3rem 1.5rem;
  }
  .footer__nav-list {
    max-width: 100%;
    row-gap: 3rem;
  }
  .footer__brand-slogan {
    font-size: 12rem;
  }
  .footer__brand-name {
    font-size: 3.5rem;
  }
  .footer__copyright {
    padding-top: 8rem;
  }
}

/* =============================================
   Responsive: 614px以下
   ============================================= */
@media screen and (max-width: 614px) {
  h2 {
    font-size: 7rem;
  }
}

/* =============================================
   Responsive: 440px以下
   ============================================= */
@media screen and (max-width: 440px) {
  body {
    font-size: 1.8rem;
  }
  .header {
    padding: 0 15px;
  }
  .menu__close-wrap {
    height: 74px;
    padding-right: 1.5rem;
  }
  .menu__container {
    flex-direction: column;
  }
  .menu__panel {
    padding: 2rem 1.5rem 2rem;
  }
  .menu__panel--nav {
    padding-top: 5rem;
    flex: 1;
  }
  .menu__panel--contact {
    flex-grow: 1;
  }
  .menu__link-sub {
    display: none;
  }
  .header__nav {
    font-size: 2rem;
  }
  .menu__heading {
    font-size: 1.8rem;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
  }
  .menu__list {
    font-size: 2.4rem;
    row-gap: 1.5rem;
    text-align: end;
  }
  .menu__panel--sp .menu__heading {
    padding: 0;
  }

  h2 {
    font-size: 6rem;
  }
  .footer__left {
    padding: 4rem 1.5rem;
  }
  .footer {
    font-size: 1.8rem;
  }
  .footer__right {
    padding: 3rem 1.5rem 1.5rem;
  }
  .footer__brand-slogan {
    font-size: 8rem;
  }
  .footer__brand-name {
    font-size: 2.2rem;
  }
  .footer__brand {
    row-gap: 2rem;
  }
  .footer__copyright {
    padding-top: 4rem;
    font-size: 1.4rem;
  }
  .back-to-top {
    right: 15px;
  }
}

/* =============================================
   Responsive: 320px以下
   ============================================= */
@media screen and (max-width: 320px) {
  .header__logo a {
    font-size: 1.8rem;
  }
  .header__nav {
    font-size: 1.8rem;
  }
  .header__menu-icon {
    width: 52px;
    height: 52px;
  }
  .header__menu-line {
    width: 24px;
    height: 2px;
  }
  h2 {
    font-size: 2.6em;
    margin-bottom: 1rem;
  }
  h3 {
    font-size: 1.8rem;
  }
  .footer__nav-list {
    font-size: 1.5rem;
  }
  .footer__brand-slogan {
    font-size: 7rem;
  }
  .footer__brand-name {
    font-size: 1.8rem;
  }
}
