@charset "UTF-8";

/* =========================
  ベース
========================= */
html {
  scroll-padding-top: 100px;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: #2c2c2c;
  background: #F9F9F9;
}

.no-scroll {
  overflow: hidden;
}

img {
  width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* =========================
  ページ遷移アニメーション
========================= */
.page-transition-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #F9F9F9;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease;
}

.is-transitioning {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* =========================
  ヘッダー
========================= */
.header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  height: 80px;
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  background: transparent;
}

.header a {
  pointer-events: auto;
}

.header-nav {
  display: none;
}

/* ハンバーガー */
.menu-button {
  position: fixed;
  top: calc(80px / 2 - 48px / 2);
  right: 10px;
  width: 48px;
  height: 48px;
  border: 1px solid #2c2c2c;
  border-radius: 50%;
  background: #F9F9F9;
  z-index: 1002;
  transition: box-shadow 0.3s;
}

.header.is-scrolled ~ .menu-button {
  box-shadow: 0 2px 10px rgba(44, 44, 44, 0.15);
}

.menu-button span {
  position: absolute;
  left: 50%;
  width: 18px;
  height: 1px;
  background: #2c2c2c;
  transform: translateX(-50%);
  transition: transform 0.35s ease, opacity 0.2s ease;
}

.menu-button.active span:nth-child(1) {
  transform: translate(-50%, 7px) rotate(45deg);
}

.menu-button.active span:nth-child(2) {
  opacity: 0;
}

.menu-button.active span:nth-child(3) {
  transform: translate(-50%, -7px) rotate(-45deg);
}

.menu-button span:nth-child(1) { top: 16px;}
.menu-button span:nth-child(2) { top: 23px;}
.menu-button span:nth-child(3) { top: 30px;}

/* =========================
  ドロワーメニュー
========================= */
.drawer-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #F9F9F9;
  padding: 150px 30px;
  transform: translateX(100%);
  transition: 0.3s;
  z-index: 1001;
}

.drawer-menu.active {
  transform: translateX(0);
}

/* 閉じるボタン */
.menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  border: 1px solid #2c2c2c;
  border-radius: 50%;
}

.menu-close::before,
.menu-close::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 1px;
  background: #2c2c2c;
  top: 50%;
  left: 50%;
}

.menu-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.menu-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.menu-main {
  margin-bottom: 40px;
}

.menu-main li {
  border-top: 1px solid #2c2c2c;
}

.menu-main li:last-child {
  border-bottom: 1px solid #2c2c2c;
}

.menu-sub li {
  margin-bottom: 14px;
}

.menu-main a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 4px;
  font-size: 16px;
}

.menu-main a::after {
  content: "";
  width: 12px;
  height: 12px;
  background: url(../images/arrow1.svg) no-repeat center / contain;
  transition: transform 0.3s ease;
}

.menu-main a:hover::after {
  transform: translateX(5px);
}

.menu-sub a{
  position: relative;
  padding-left: 20px;
  font-size: 14px;
}

.menu-sub a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background: url(../images/arrow2.svg) no-repeat center / contain;
}

/* =========================
  FV
========================= */
.fv {
  height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fv-inner {
  text-align: center;
}

.fv-title {
  font-family: 'Alata', sans-serif;
  font-size: 40px;
  letter-spacing: 0.1em;
}

.fv-title span {
  margin-right: 0.08em;
}

.fv-name {
  margin-top: 4px;
  font-family: rollerscript-smooth, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
}

/* =========================
  セクション共通
========================= */
.section {
  padding: 0  30px 120px;
}

/* 見出し */
.section-header {
  margin-bottom: 60px;
}

.section-title-en {
  position: relative;
  display: block;
  font-family: 'Alata', sans-serif;
  font-size: 28px;
  letter-spacing: 0.1em;
  padding-bottom: 6px;
}

.section-title-en::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 10px;
  width: 100vw;
  height: 1px;
  background: #2c2c2c;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.3s;
}

.section-title-en.is-active::after {
  transform: scaleX(1);
}

.section-title-en span {
  margin-right: 0.08em;
}

.section-title-ja {
  font-size: 12px;
  letter-spacing: 0.1em;
}

/* =========================
  LP
========================= */
.lp-list {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.lp-img img {
  width: 100%;
  height: auto;
  box-shadow: 5px 8px 20px -7px rgba(0, 0, 128, 0.2);
}

.lp-title {
  text-align: center;
  font-size: 15px;
  margin: 25px 0;
  letter-spacing: 0.1em;
}

/* ボタン */
.btn {
  display: flex;
  justify-content: center;
  text-align: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid #2c2c2c;
  border-radius: 999px;
  transition: 0.3s;
}

.btn::after {
  content: "";
  width: 10px;
  height: 10px;
  margin-top: 5px;
  background: url(../images/btn-icon.svg) no-repeat center / contain;
  transition: 0.3s;
}

/* =========================
  バナー
========================= */
.banner-list {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.banner-item img {
  width: 100%;
  height: auto;
  box-shadow: 5px 8px 20px -7px rgba(0, 0, 128, 0.2);
}

.banner-title {
  text-align: center;
  font-size: 15px;
  margin-top: 20px;
  letter-spacing: 0.1em;
}

/* =========================
  About
========================= */
.about-container {
  max-width: 700px;
  text-align: center;
}

.about-img {
  width: 200px;
  margin: 0 auto 30px;
}

.about-img img {
  width: 100%;
  height: auto;
  border-radius: 50%;
  /* box-shadow: 5px 8px 20px -7px rgba(0, 0, 128, 0.1); */
  /* border: 1px solid #2c2c2c; */
}

.about-name {
  font-size: 20px;
  letter-spacing: 0.1em;
  margin-bottom: 15px;
}

.about-name span {
  margin: 0 5px;
  color: #2c2c2c;
}

.about-job {
  font-size: 15px;
  letter-spacing: 0.1em;
  margin-bottom: 40px;
}

.about-text {
  font-size: 15px;
  letter-spacing: 0.1em;
  line-height: 1.8;
  margin-bottom: 50px;
}

/* スキルボックス */
.skill-box {
  border: 1px solid #2c2c2c;
  padding: 30px 20px;
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
}

.skill-title {
  font-size: 15px;
  letter-spacing: 0.1em;
  margin-bottom: 15px;
}

.skill-list {
  display: inline-block;
  text-align: left;
}

.skill-list li {
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

/* =========================
  フッター
========================= */
.footer {
  padding: 40px 20px;
  text-align: center;
}

.footer-nav li {
  margin-bottom: 10px;
  font-size: 14px;
}

/* =========================
  PC
========================= */
@media screen and (min-width: 768px) {
  .header {
    top: 0;
    transition: background 0.3s, box-shadow 0.3s;
  }

  .header.is-scrolled {
    background: rgba(249, 249, 249, 0.9);
    box-shadow: 0 2px 10px rgba(44, 44, 44, 0.1);
  }

  .header-nav {
    display: block;
    margin-right: auto;
    margin-left: auto;
    margin-top: 0;
  }

  .header-nav ul {
    display: flex;
    gap: 80px;
  }

  .header-nav a {
    font-size: 15px;
    letter-spacing: 0.1em;
    position: relative;
    padding: 4px 0;
  }

  .header-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: #2c2c2c;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s;
  }

  .header-nav a:hover::after {
    transform: scaleX(1);
  }

  .menu-button {
    position: fixed;
    top: calc(80px / 2 - 48px / 2);
    right: 40px;
    box-shadow: none !important;
  }

  .drawer-menu {
    width: 50%;
    left: auto;
    right: 0;
    padding: 150px 80px;
    box-shadow: -8px 0 20px rgba(0,0,0,0.1);
  }

  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.3);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 1000;
  }

  .overlay.active {
    opacity: 1;
    visibility: visible;
  }

  .section {
    padding: 0  240px 150px;
  }

  .section-title-en {
    font-size: 36px;
  }

  .section-title-en::after {
    bottom: 12px;
    /* width: 100%; */
  }

  .section-title-ja {
    font-size: 14px;
  }

  .fv {
    height: 60vh;
    padding-top: 80px;
  }

  .fv-title {
    font-size: 60px;
  }

  .fv-name {
    font-size: 24px;
  }

  /* LP 横並び */
  .lp-list {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    gap: 60px;
  }

  .lp-item {
    width: calc((100% - 120px) / 3);
    max-width: none%;
    display: flex;
    flex-direction: column;
  }

  .lp-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .btn {
    margin-top: auto;
  }


  /* ボタンホバー */
  .btn:hover {
    background: #2c2c2c;
    color: #F9F9F9;
  }

  .btn:hover::after {
    background: url(../images/btn-icon-hover.svg) no-repeat center / contain;
  }


  /* バナー グリッド */
  .banner-list {
    flex-direction: row;
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
  }

  .banner-item {
    width: calc((100% - 120px) / 3);
  }

  /* About */
  .about-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
  }

  .about-flex-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    margin-bottom: 50px;
  }

  .about-img {
    margin: 0;
    width: 200px;
    flex-shrink: 0;
  }

  .about-info {
    flex: 1;
  }

  .about-name {
    margin-bottom: 15px;
  }

  .about-job {
    margin-bottom: 0;
  }

  .about-text {
    width: 100%;
  }

  .sp {
    display: none;
  }

  /* スキルボックス */
  .skill-box {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
  }

  .skill-title {
    margin-bottom: 0;
    margin-right: 40px;
  }

  .skill-list {
    display: block;
    flex: 1;
    max-width: 450px;
  }

  .skill-list li {
    display: inline-block;
    margin-right: 20px;
  }

  .skill-list li:nth-child(n+4) {
    display: block;
    margin-right: 0;
    margin-top: 5px;
  }

  }
