@charset "utf-8";
/* リセット部分 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
img {
  width: 100%;
  vertical-align: bottom;
}
a {
  text-decoration: none;
  color: #fff;
}
li {
  list-style: none;
}

/* 共通部分 */
html {
  scroll-behavior: smooth;
}
body {
  font-size: 16px;
  font-family: "Aboreto", "Noto Serif JP", serif;
  line-height: 2.25;
  letter-spacing: 0.1em;
  color: #fff;
  background-color: #1f2a31;
}
h1 {
  font-size: 50px;
  font-weight: normal;
}
.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.section-title {
  margin: 100px auto 100px;
  text-align: center;
  font-size: 48px;
  font-weight: normal;
  position: relative;
  width: fit-content;
  line-height: 1.75;
}
.section-title::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  padding: 0 20px;
  background-color: #fff;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.section-title_2 {
  margin: 150px auto 100px;
  text-align: center;
  font-size: 48px;
  font-weight: normal;
  position: relative;
  width: fit-content;
  line-height: 1.75;
}
.section-title_2::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  padding: 0 20px;
  background-color: #fff;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}
.section-title2 {
  margin-top: 50px;
  font-size: 48px;
  font-weight: normal;
  position: relative;
  text-align: center;
}
.section-title2::after {
  content: "";
  width: 300px;
  height: 1px;
  background-color: #fff;

  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
}

.title {
  margin-top: 50px;
  font-size: 38px;
  font-weight: normal;
}
/* view-moreボタン */
.view-more-btn {
  width: 195px;
  text-align: center;
  font-family: "Noto Serif JP", serif;
  border: 1px solid #fff;
  position: relative;
  z-index: 2;
}
.btn-img {
  width: 40px;
  position: absolute;
  top: 12px;
  right: 0;
}

/* ボタン全体 */
.view-more-btn a {
  display: inline-flex; /* 横並び */
  align-items: center; /* 縦中央 */
  gap: 10px; /* 文字と画像の間隔 */
  padding: 14px 40px;
  text-decoration: none;
  width: 100%;
  height: 100%;
}

/* 画像部分 */
.btn-img {
  transition: transform 0.3s ease; /* アニメーション */
}

/* ホバー時 */
.view-more-btn a:hover .btn-img {
  transform: translateX(5px); /* 右に少し移動 */
}

.breadcrumb-item {
  transition: 0.3s;
}

.breadcrumb-item:hover {
  opacity: 0.5;
}

.view-more-btn2 {
  width: 195px;
  margin: 0 auto;
  text-align: center;
  font-family: "Noto Serif JP", serif;
  border: 1px solid #fff;
  position: relative;
}

.view-more-btn2 a {
  display: inline-flex; /* 横並び */
  align-items: center; /* 縦中央 */
  gap: 10px; /* 文字と画像の間隔 */
  padding: 14px 40px;
  text-decoration: none;
  width: 100%;
  height: 100%;
}

.view-more-btn2 a:hover .btn-img {
  transform: translateX(5px); /* 右に少し移動 */
}

.skills-logo {
  width: 110px;
}
.last-child {
  margin-bottom: 0;
}
/* ヘッダー部分 */
.hamburger-menu {
  display: none;
}
.header {
  width: 100%;
  position: relative;
  width: 100%;
  height: auto;
}
.header__wrap {
  position: absolute;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  z-index: 3;
}
.main-logo {
  width: 165px;
}
.main-logo img {
  transition: opacity 0.3s ease;
}
.main-logo img:hover {
  opacity: 0.5;
}

.header ul {
  text-shadow: 4px 5px 10px #bbb;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
}
/* .header ul li {
  border-bottom: 1px solid #fff;
} */

.header__wrap--type02 {
  background-color: #d9d9d9;
}

.header-nav2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header-nav2 ul li a {
  color: #1f2a31;
}

.pd {
  padding: 0 20px;
}
.main-logo2 {
  width: 165px;
  margin-bottom: 20px;
}
.main-logo2 img {
  transition: opacity 0.3s ease;
}
.main-logo2 img:hover {
  opacity: 0.5;
}
.header-nav,
.header-nav2 {
  font-size: 20px;
}
.header2 ul {
  text-shadow: 4px 5px 10px #bbb;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
}

.header2 a {
  color: #000;
}

/* topページホバー時に下線 */
/* liの設定 */
.header-nav li {
  position: relative; /* 疑似要素の基準位置 */
  width: fit-content; /* 文字幅に合わせる */
}
/* 下線のスタイル */
.header-nav li::after {
  background-color: #c65a4b; /* 下線の色 */
  bottom: 0; /* 要素の下端からの距離 */
  left: 0; /* 要素の左端からの距離 */
  content: ""; /* 要素に内容を追加 */
  height: 2px; /* 下線の高さ */
  position: absolute; /* 絶対位置指定 */
  transform: scale(0, 1); /* 下線を横方向に0倍、縦方向に1倍に変形（非表示） */
  transform-origin: center top; /* 変形の原点を中央上に指定 */
  transition: transform 0.3s; /* 変形をアニメーション化 */
  width: 100%; /* liの幅いっぱい */
}
/* リンクにホバーした際の下線の表示 */
.header-nav li:hover::after {
  transform: scale(1, 1); /* 下線を横方向に1倍、縦方向に1倍に変形（表示） */
}

/* 下層ページホバー時に下線 */
/* liの設定 */
.header-nav2 li {
  position: relative; /* 疑似要素の基準位置 */
  width: fit-content; /* 文字幅に合わせる */
}
/* 下線のスタイル */
.header-nav2 li::after {
  background-color: #c65a4b; /* 下線の色 */
  bottom: 0; /* 要素の下端からの距離 */
  left: 0; /* 要素の左端からの距離 */
  content: ""; /* 要素に内容を追加 */
  height: 2px; /* 下線の高さ */
  position: absolute; /* 絶対位置指定 */
  transform: scale(0, 1); /* 下線を横方向に0倍、縦方向に1倍に変形（非表示） */
  transform-origin: center top; /* 変形の原点を中央上に指定 */
  transition: transform 0.3s; /* 変形をアニメーション化 */
  width: 100%; /* liの幅いっぱい */
}
/* リンクにホバーした際の下線の表示 */
.header-nav2 li:hover::after {
  transform: scale(1, 1); /* 下線を横方向に1倍、縦方向に1倍に変形（表示） */
}
/* フッター部分 */
.footer {
  position: relative;
}
.instagram-logo img {
  transition: opacity 0.3s ease;
}
.instagram-logo img:hover {
  opacity: 0.5;
}
/* topに戻るボタン */
.btn-icon {
  width: 70px;
  position: fixed;
  bottom: 160px;
  right: 50px;
  display: block;
  position: fixed;
  z-index: 2;
}
.btn-icon a {
  display: block;
}
.btn-icon img {
  width: 100%;
  position: absolute;
  transition: 0.2s;
}
.hover {
  opacity: 0;
}
.btn-icon:hover .normal {
  opacity: 0;
}
.btn-icon:hover .hover {
  opacity: 1;
}

.contact-wrap {
  width: 100%;
  overflow: clip;
}
.contact-box {
  margin-bottom: 30px;
  border-bottom: 1px solid #fff;
}
.contact-text {
  font-size: 96px;
  white-space: nowrap;
  text-shadow: 4px 5px 18px #000;
  display: inline-block;
  padding-right: 15px;
  /* はみ出しの調整 */
  transform: translateX(-50%);
}
.contact-text {
  animation: slide 40s linear infinite;
}

.instagram-logo img {
  min-width: 50px;
}
@keyframes slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.instagram-logo {
  margin: 90px auto;
  width: 50px;
}
.copy {
  text-align: center;
  margin-bottom: 30px;
}
/* パンくずリスト */
.breadcrumb {
  width: 100%;
  max-width: 1290px;
  padding: 0 20px;
  margin: 0 auto;
}
.breadcrumb ol {
  display: flex;
  align-items: center;
}
.ol-img {
  width: 40px;
}

/* 最初は非表示 */
.box {
  opacity: 0;
}

/* ふわっと表示 */
.fadeUp {
  animation-name: fadeUpAnime;
  animation-duration: 1.2s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes fadeUpAnime {
  from {
    opacity: 0;
    transform: translateY(100px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 星を出す */
.eachTextAnime span {
  opacity: 0;
  display: inline-block;
}

.eachTextAnime.appeartext span {
  animation: text_anime_on 3s ease-out forwards;
}

@keyframes text_anime_on {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

/* マウスストーカーのスタイル */
.stalker {
  background-color: rgba(255, 255, 255, 0.5); /* 背景色 */
  border-radius: 50%; /* 正円 */
  width: 15px; /* 円の幅 */
  height: 15px; /* 円の高さ */
  left: -15px; /* 円の幅の半分 */
  opacity: 0; /*34px カーソルを画面内に入れるまでは透明 */
  pointer-events: none; /* 直下のリンクをクリック可能にする */
  position: fixed; /* スクロールしてもカーソルの位置で固定 */
  top: -15px; /* 円の高さの半分 */
  transition: all 0.3s ease-out; /* 遅れてついてくる時間 */

  z-index: 999; /* 一番上に来るように */
}
/* リンクにホバーした時のスタイル */
.stalker.js-hover {
  background-color: rgba(
    198,
    90,
    75,
    0.5
  ); /* カーソルがリンク上に乗ったときの背景色 */
  width: 30px; /* カーソルがリンク上に乗ったときの幅 */
  height: 30px; /* カーソルがリンク上に乗ったときの高さ */
  left: -25px; /* 円の幅の半分 */
  top: -25px; /* 円の高さの半分 */
}

.parallax {
  will-change: transform;
  transform: translateZ(0);
}

/* レスポンシブ */

@media screen and (max-width: 768px) {
  /* 共通部分 */
  body {
    font-size: 14px;
    line-height: 2;
  }

  h1 {
    font-size: 40px;
  }
  .section-title {
    font-size: 30px;
  }
  .section-title_2 {
    font-size: 30px;
  }
  .title {
    font-size: 25px;
  }

  .contact-text {
    font-size: 78px;
  }
  .btn-icon {
    width: 50px;
    bottom: 150px;
    right: 10px;
  }
  .instagram-logo {
    margin: 70px auto;
    width: 30px;
  }

  /* view-moreボタン */
  .view-more-btn,
  .view-more-btn2 {
    width: 185px;
  }
  .btn-img {
    width: 35px;
    top: 8px;
  }
  /* ボタン全体 */
  .view-more-btn a,
  .view-more-btn2 a {
    padding: 10px 40px;
  }

  .skills-logo {
    width: 90px;
  }
  /* ==========================
   ハンバーガーメニュー
========================== */

  .main-logo {
    width: 135px;
  }

  .header-nav,
  .header-nav2 {
    display: none;
  }

  .hamburger-menu {
    display: block;
    position: absolute;
    top: 29px;
    right: 20px;
    z-index: 1003;
  }

  .hamburger {
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    cursor: pointer;

    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;

    padding: 0;

    position: fixed;
    z-index: 3;
    top: 33px;
    right: 20px;
  }

  .hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background: #fff;
    border-radius: 999px;
    transition: 0.3s;
  }

  /* × */

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

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

  .hamburger.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
  }

  /* ドロワー */

  .drawer {
    position: fixed;

    top: 0;
    right: 0;

    width: 100%;
    max-width: 320px;
    height: 100vh;

    background: #1f2a31;

    transform: translateX(100%);
    transition: transform 0.3s ease;

    z-index: 2;
  }

  .drawer.open {
    transform: translateX(0);
  }

  .drawer-list {
    margin-top: 100px;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-direction: column;
  }

  .drawer-list li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .drawer-list a {
    display: block;
    padding: 22px 30px;
    color: #fff;
    font-size: 18px;
  }

  /* オーバーレイ */

  .overlay {
    position: fixed;
    inset: 0;

    background: rgba(0, 0, 0, 0.85);

    opacity: 0;
    visibility: hidden;

    transition: 0.3s;

    z-index: 1;
  }

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

@media screen and (max-width: 480px) {
  /* ドロワー */

  .drawer {
    max-width: 100%;
  }
}
