@charset "UTF-8";

/* スクロールダウンアニメーション */
@import url("https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@300;400&display=swap");
* {
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  /* leave room for sticky header when jumping to anchors */
  scroll-padding-top: 80px;
}
.scroll_down {
  position: relative;
  width: 100%;
  height: 100vh;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: cover;
}

.scroll_down:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80%;
  background: linear-gradient(
    180deg,
    rgba(#000, 0) 0,
    rgba(#000, 0.8) 80%,
    rgba(#000, 0.8) 100%
  );
}

.scroll_down a {
  display: inline-block;
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;

  padding: 10px 10px 110px;
  color: #585257;
  font-size: 20px;
  font-family: "Josefin Sans", sans-serif;
  line-height: 1;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  writing-mode: horizontal-tb;
  transition: 0.2s;
  overflow: visible;
  margin: auto auto -30px;
  text-align: center;
}

.scroll_down a:before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 2px;
  height: 100px;
  background: #585257;
  transform: translateX(-50%);
}

.scroll_down a:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 2px;
  height: 100px;
  background: #585257;
}

.scroll_down a:hover {
  opacity: 0.5;
}

#type01 a:after {
  animation: sdl01 1.5s cubic-bezier(1, 0, 0, 1) infinite;
}

@keyframes sdl01 {
  0% {
    transform: scale(1, 0);
    transform-origin: 0 0;
  }
  50% {
    transform: scale(1, 1);
    transform-origin: 0 0;
  }
  50.1% {
    transform: scale(1, 1);
    transform-origin: 0 100%;
  }
  100% {
    transform: scale(1, 0);
    transform-origin: 0 100%;
  }
}

/* 共通 */
body {
  background-image: url(../img/noise.jpg);
  font-family: "RooneySans", "Tsukushi A Round Gothic", Sans-serif;
  font-weight: 400;
  color: #585257;
  font-style: normal;
  font-feature-settings: "palt";
  max-width: 1440px;
  letter-spacing: 0.07em;
}

img {
  vertical-align: bottom;
}

.heading__title {
  font-size: 32px;
  color: #436663;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
}

.navi {
  list-style: none;
  display: flex;
  gap: 45px;
  font-size: 20px;
  margin-left: auto; /* PCでは右端に寄せる */
}

/* ハンバーガーボタンはPCでは表示しない */
.header__hamburger {
  display: none;
}

.navi__inner {
  text-decoration: none;
  color: #585257;
}

/* フォント指定 */
.font__ooney {
  font-family: "RooneySans", serif;
}

/* ヘッダー */
.header {
  background-color: #f4f5f7;
  height: 70px;
  max-width: 1440px;
  position: sticky;
  top: 0;
  z-index: 9999;
}

.header__title {
  font-size: 24px;
  color: #436663;
}

.header__wrap {
  max-width: 1295px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  height: 100%;
}

.header__humburger {
  display: none;
}

h1 {
  font-size: 24px;
  font-weight: bold;
  color: #436663;
}

.header__navi {
  word-spacing: 59px;
}

.header__link {
  text-decoration: none;
  color: #333;
  font-size: 18px;
  position: relative;
}

.header__link::after {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  border-bottom: 2px solid rgba(0, 0, 0, 0.5);
  bottom: 0;
  left: 0;
  transform: scale(0, 1);
  transform-origin: top left;
  transition: transform 0.3s;
}

.header__link:hover::after {
  transform: scale(1, 1);
}

/* mv */
.mv {
  max-width: 1440px;
  max-height: 740px;
  position: relative;
  height: 100vh;
  overflow: hidden;
  margin-bottom: 160px;
}

.mv__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;
}

.mv__inner {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  z-index: 3;
  color: #f4f5f7;
}

/* 白シャドウ部分 */
.mv::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(
    to top,
    #ffffffd9 0%,
    #ffffff80 50%,
    #ffffff00 100%
  );
  z-index: 2;
  pointer-events: none;
}

.mv__name {
  font-size: 80px;
  letter-spacing: 0.03em;
}

.mv__profile {
  font-size: 48px;
  letter-spacing: 0.02em;
  line-height: 25px;
}

.scroll_down {
  position: absolute;
  bottom: 72px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
}

/* About */
.about {
  margin: 160px 0px;
  scroll-margin-top: 90px;
}

.about__text {
  font-size: 18px;
  font-weight: normal;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 45px;
  letter-spacing: 0.1em;
}

.about__line {
  width: 70%;
  height: 2px;
  background-color: #778c83;
  margin: 65px auto 0px;
}

.box__title {
  font-size: 24px;
  font-weight: bold;
  color: #436663;
}

.boxes {
  display: flex;
  justify-content: center;
  align-items: center;
}

.box {
  width: 18%;
  max-width: 950px;
  font-weight: normal;
  color: #585257; /*文字色*/
  background: #f4f5f7;
  border-radius: 30px; /*角の丸み*/
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  padding: 25px 0;
  margin: 65px 25px 0px;
}

.box__text {
  font-size: 18px;
  margin: 2px;
  padding: 0;
}

/* career */
.career {
  margin-bottom: 160px;
  background-color: #d3dcd8;
  scroll-margin-top: 90px;
}

.career__wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 96px 0;
}

.timeline {
  width: 80%;
  margin: 0 auto;
}

.timeline__item {
  display: flex;
  align-items: start;
  justify-content: flex-start;
  gap: 24px; /* アイコンとテキストの間隔 */
  margin: 0 auto;
}

.career__img {
  flex-shrink: 0;
  width: 28px;
  align-self: stretch;
  display: flex;
  flex-direction: column;
}

.career__img::before {
  content: "";
  display: block;
  width: 25px;
  height: 25px;
  background-color: #436663;
  border-radius: 50%;
  margin: 0 auto;
}

.career__img::after {
  content: "";
  display: block;
  width: 2px;
  flex-grow: 1;
  background-color: #585257;
  margin: 0 auto;
}

.career__inner {
  padding: 0px 0px 30px;
}

.career__subheading {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 22px;
}

.item__text {
  font-size: 18px;
  line-height: 25px;
}

/* hobby */
.hobby {
  max-width: 1050px;
  background: #f4f5f7;
  padding: 60px 160px;
  margin: 0 195px 160px;
  border-radius: 80px; /*角の丸み*/
}

.hobby__items {
  display: flex;
  justify-content: center; /* 全体を中央に */
}

.img__wrap {
  display: flex;
  gap: 36px;
  justify-content: center;
}

.hobby__name {
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  margin: 15px auto 40px;
}

.hobby__img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
}

.hobby__text {
  font-size: 16px;
  line-height: 40px;
  text-align: center;
  line-height: 35px;
}

/* footer */
.footer {
  background-color: #d3dcd8;
  padding: 54px 195px 50px;
}
.footer__wrap {
  max-width: 1050px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  min-height: 150px;
}
.footer__inner {
  display: flex;
  max-width: 1050px;
  justify-content: space-between;
  align-items: flex-start;
}

.copyright {
  text-align: center;
  margin: auto;
  margin-bottom: 0px;
}
/* 
/* スクロール時のアニメーション */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
  will-change: opacity, transform;
}
.animate-on-scroll.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* 　拡大縮小アニメーション */
.animate-scale {
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  transition:
    opacity 0.9s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.animate-scale.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .animate-on-scroll,
  .animate-scale {
    transition: none;
    transform: none;
    opacity: 1;
  }
}

.sp-br {
  display: none;
}
.pc-br {
  display: inline;
}

.sp-block {
  display: inline;
}

@media screen and (max-width: 768px) {
  /* ヘッダー */
  .header {
    height: 45px;
    max-width: 100%;
  }

  .header__title {
    font-size: 18px;
    margin: 0;
  }

  /* ヘッダー内の左右に30pxの余白を入れる */
  .header__wrap {
    padding: 0 30px;
    height: 45px;
    align-items: center;
  }

  /* ナビはモバイルでは非表示にする（ハンバーガーで開く） */
  .navi {
    display: none;
  }

  /* ハンバーガーボタン */
  .header__hamburger {
    display: block;
    background: transparent;
    border: none;
    width: 33px; /* 全体幅 */
    height: 22px; /* 全体高さ */
    position: relative;
    margin-left: auto; /* 右寄せ */
    padding: 0;
    cursor: pointer;
  }

  .header__hamburger .hamburger__lines,
  .header__hamburger::before,
  .header__hamburger::after {
    content: "";
    position: absolute;
    left: 0;
    width: 33px;
    height: 2px; /* 線の太さ 2px */
    background: #585257; /* 線の色 */
  }

  /* 上の線 */
  .header__hamburger::before {
    top: 0;
  }

  /* 中央の線 */
  .header__hamburger .hamburger__lines {
    top: 10px; /* 親高さ22pxの中央へ */
  }

  /* 下の線 */
  .header__hamburger::after {
    bottom: 0;
  }

  /* メニューが開いたときの見た目（簡易的なXへの変形） */
  .header.is-open .header__hamburger .hamburger__lines {
    opacity: 0;
  }
  .header.is-open .header__hamburger::before {
    transform: translateY(10px) rotate(45deg);
  }
  .header.is-open .header__hamburger::after {
    transform: translateY(-10px) rotate(-45deg);
  }

  /* 開いたときにナビを表示する */
  .header.is-open .navi {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 45px;
    right: 0;
    left: 0;
    background: #436663;
    padding: 55px 70px;
    gap: 0;
    z-index: 9998;
  }

  .header.is-open .navi .navi__inner {
    display: block;
    padding: 10px 0;
    color: #f4f5f7;
    border-bottom: 1px solid #f4f5f7;
  }

  /* mv */
  .mv {
    width: 100%;
    position: relative;
    height: 130vw;
    overflow: hidden;
    margin-bottom: 80px;
  }

  .mv__name {
    font-size: 36px;
    font-weight: bold;
  }

  .mv__profile {
    font-size: 20px;
    font-weight: bold;
  }

  .mv__inner {
    margin-left: 10px;
    top: 39%;
    left: 5%;
  }

  /* about */
  .heading__title {
    font-size: 20px;
  }
  .about {
    margin: 30px 30px 120px;
  }

  .about__text {
    font-size: 16px;
    line-height: 36px;
  }

  .boxes {
    flex-flow: column;
    max-width: 90%;
    margin: 0 auto;
  }

  .box {
    width: 90%;
    margin: 25px auto 0px;
    justify-content: center;
    max-width: 270px;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    margin: 20px auto 0px;
  }

  .box__title {
    font-size: 18px;
  }

  .box__text {
    font-size: 16px;
    margin: 0;
    padding: 0;
  }

  /* SPのみ本文を中央揃えにする */
  .about__text__inner {
    text-align: center;
  }

  .about__line {
    width: 85%;
    margin: 70px auto 60px;
  }

  .pc-br {
    display: none;
  }

  .sp-br {
    display: inline;
  }

  .sp-block {
    display: block;
    margin: 15px 0;
    line-height: 1.8;
  }

  /* SP: スクロールをコンパクトに（文字小さめ、線短め、幅はそのまま） */
  .scroll_down {
    bottom: 20px;
  }
  .scroll_down a {
    padding: 6px 10px 68px;
    font-size: 16px;
    margin: auto auto 15px;
  }
  .scroll_down a:before,
  .scroll_down a:after {
    height: 60px;
    width: 2px;
  }

  .sp-only {
    display: initial;
  }

  .pc-only {
    display: none;
  }

  /* career */
  .item__date {
    font-size: 18px;
  }

  .item__role {
    font-size: 18px;
    line-height: 1.2em;
  }

  .item__text {
    font-size: 16px;
  }

  /* hobby */
  .hobby {
    margin: 0 30px 80px;
    padding: 65px 40px;
  }

  .img__wrap {
    position: relative;
    height: 105vw;
  }

  .hobby__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
  }

  .hobby__item__center {
    order: 3;
  }

  .hobby__img {
    /* 画像がはみ出さないようにする */
    width: 33vw;
    height: auto; /* 高さは自動調整 */
    aspect-ratio: 1 / 1;
    object-fit: cover;
  }

  .hobby__item--goods {
    top: 50%;
    left: 0;
    transform: translateY(-50%) !important;
  }

  .hobby__item--cafe {
    top: 0;
    right: 0;
  }

  .hobby__item--spa {
    bottom: 0;
    right: 0;
  }

  .hobby__text__inner {
    text-align: left;
  }

  .hobby__name {
    font-size: 16px;
    margin-top: 12px;
    text-align: center;
  }

  .career__subheading {
    line-height: 30px;
  }

  /* footer */
  .footer {
    padding: 25px 45px 20px;
  }

  .footer__wrap {
    display: flex;
    flex-direction: column;
    min-height: 170px;
  }

  .footer__title {
    font-size: 18px;
  }

  .navi {
    flex-flow: column;
    gap: 8px;
  }

  .navi__inner {
    gap: 10px;
    font-size: 18px;
  }

  .footer__navi .navi {
    display: flex;
  }

  .copyright {
    font-size: 10px;
    margin-top: auto;
  }

  /* spここまで */
}
