@charset "UTF-8";
/*
Theme Name: Miyazaki Portfolio
Author: Miyazaki
Description: 自作のポートフォリオテーマ
Version: 1.0
*/
/* Regular (標準) */
@font-face {
  font-family: "KleeOne";
  src: url("../fonts/KleeOne-Regular.woff2") format("woff2");
  font-weight: 400; /* Regularを指定 */
}
/* SemiBold (太字) */
@font-face {
  font-family: "KleeOne";
  src: url("../fonts/KleeOne-SemiBold.woff2") format("woff2");
  font-weight: 700; /* SemiBoldを指定 */
}
/*色の変数*/
body {
  background-image: url(../img/bg_bg2.webp); /* */
  background-size: cover; /* 1. 画像を画面いっぱいに広げる */
  background-position: right center;
  background-attachment: fixed; /* 3. スクロールしても背景を動かさない（任意） */
  background-repeat: no-repeat; /* 4. 画像を繰り返さない */
}

@media screen and (min-width: 900px) {
  body {
    background-image: url(../img/bg_bg2.webp); /* */
    background-size: cover; /* 1. 画像を画面いっぱいに広げる */
    background-position: right center;
    background-attachment: fixed; /* 3. スクロールしても背景を動かさない（任意） */
    background-repeat: no-repeat; /* 4. 画像を繰り返さない */
  }
}
.body_inner {
  position: relative; /*[cite: 2] */
  display: flex; /*[cite: 2] */
  background-image: url(../img/bg_pc.webp); /*[cite: 2] */
  background-size: cover; /* 追加：画面全体を覆う */
  background-repeat: no-repeat; /* 追加：繰り返し禁止 */
  min-height: 100vh; /* 追加：最低でも画面の高さ分を確保 */
  font-family: "KleeOne", sans-serif; /*[cite: 2] */
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1); /* 柔らかい影 */
  border-left: 1px solid rgba(255, 255, 255, 0.3); /* わずかなハイライト */
}

@media screen and (min-width: 900px) {
  .body_inner {
    position: relative;
    display: flex;
    background-image: url(../img/bg_pc.webp);
    font-family: "KleeOne", sans-serif;
    max-width: 1280px;
    margin-top: 80px;
  }
}
/*ハンバーガーメニュー（３本線の表示）*/
.hamburger {
  z-index: 100;
  width: 32px;
  height: 26px;
  cursor: pointer;
  position: absolute;
  left: 44px;
  top: 24px;
}
.hamburger span {
  position: absolute;
  display: inline-block;
  height: 2px;
  width: 100%;
  background-color: #333333;
  border-radius: 8px;
  transition: all 0.8s;
}
.hamburger span:nth-child(1) {
  top: 0;
}
.hamburger span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}
.hamburger span:nth-child(3) {
  bottom: 0;
}

/*ハンバーガーメニュー（トグル）*/
.hamburger.active {
  transform: translateX(0);
}
.hamburger.active span {
  background-color: #fbf6d9;
}
.hamburger.active span:nth-child(1) {
  transform: translateY(12px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-12px) rotate(-45deg);
}

.is-hidden {
  display: none;
}

.header_nav {
  position: absolute;
  top: 20px;
  left: 40px;
  width: 100px;
  height: 160px;
  background-color: #5c3f0b;
  writing-mode: vertical-rl;
  border-radius: 8px;
  z-index: 90;
}
.header_nav ul li {
  color: #fbf6d9;
  margin-top: 50px;
  margin-right: 5px;
  letter-spacing: 0.5em;
}

.header_nav ul li:hover {
  text-decoration: underline;
  text-decoration-color: #fbf6d9;
  text-decoration-style: solid;
  text-decoration-thickness: 1px;
}

/*footer*/
.footer_inner {
  background: #5c3f0b;
  width: 5%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.footer_inner p {
  color: #fbf6d9;
  writing-mode: vertical-rl;
  letter-spacing: 1em;
}

/*main*/
/* style.css */
.main_inner {
  width: 95%;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative; /* 追加：ボタンの配置基準にする */
}

.fv,
.about,
.works,
.info {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 20px;
  margin: 30px 0;
}

.fv_text {
  margin-top: 30px;
}

.info_text {
  margin-top: 50px;
}

.fv_text,
.about_text,
.works_text,
.info_text {
  writing-mode: vertical-rl;
  font-size: 40px;
  padding-top: 80px;
  letter-spacing: 0.4em;
  font-weight: bold;
  cursor: pointer;
  z-index: 70;
  position: absolute;
  transform: rotate(-4deg);
  height: 500px;
}

.about_text,
.info_text {
  transform: rotate(6deg);
}

.fv_text:hover,
.about_text:hover,
.works_text:hover,
.info_text:hover {
  text-decoration: underline;
  text-decoration-color: #333333;
  text-decoration-style: solid;
  text-decoration-thickness: 2px;
}

.img_fv,
.img_about,
.img_works,
.img_info {
  width: 100%;
  position: relative;
}

@media screen and (min-width: 900px) {
  .hamburger {
    left: 85px;
    top: 65px;
  }
}
@media screen and (min-width: 900px) {
  .header_nav {
    left: 80px;
    top: 60px;
    width: 250px;
    height: 340px;
    font-size: 32px;
    margin: 0 auto;
  }
}
@media screen and (min-width: 900px) {
  .nav_list,
  ul {
    padding: 40px;
    align-items: center;
  }
}
@media screen and (min-width: 900px) {
  .img_fv,
  .img_about,
  .img_works,
  .img_info {
    width: 30%;
  }
}
@media screen and (min-width: 900px) {
  .img_fv {
    position: fixed;
    z-index: 100;
    width: 40%;
    max-width: 480px;
  }
}
@media screen and (min-width: 900px) {
  .fv {
    height: 1000px;
    display: flex;
    justify-content: center;
  }
}
@media screen and (min-width: 900px) {
  .about,
  .info {
    display: flex;
    justify-content: flex-end;
  }
}
@media screen and (min-width: 900px) {
  .works {
    display: flex;
    justify-content: flex-start;
  }
}
@media screen and (min-width: 900px) {
  .fv_text,
  .works_text {
    right: 15%;
    transform: rotate(4deg);
    font-size: 500%;
    margin-top: -40px;
    padding-top: 0;
  }
}
@media screen and (min-width: 900px) {
  .about_text,
  .info_text {
    left: 10%;
    transform: rotate(-4deg);
    font-size: 450%;
    margin-top: -30px;
    padding-top: 0;
    height: 450px;
  }
}
@media screen and (min-width: 900px) {
  .fv_text {
    margin-top: 200px;
  }
}
@media screen and (min-width: 900px) {
  .info_text {
    margin-top: 80px;
  }
}
@media screen and (min-width: 900px) {
  .footer_inner {
    font-size: 200%;
    margin: 0;
    padding: 0;
  }
}
/*js_fade-in*/
.is-fade {
  opacity: 0;
  transform: translateY(30px);
  transition: all 3s;
}

/*js_fade-in*/
.is-show {
  opacity: 1;
  transform: translateY(0);
}

/*top-btn*/
/* style.css */
/* top-btn の項目を探して書き換えてください */
.top_btn {
  position: absolute; /* fixed から absolute に変更 */
  bottom: 16px; /* 下からの距離を調整 */
  right: 16px; /* 右からの距離を調整 */
  background: none; /* 背景色がある場合は透明に */
  border: none; /* 枠線を消す */
  cursor: pointer;
  z-index: 100;
}

.img_arrow {
  width: 24px;
  height: 32px;
}

@media screen and (min-width: 900px) {
  .img_arrow {
    width: 48px;
    height: 52px;
  }
}
.img_man,
.img_cat,
.img_tree,
.img_woman {
  display: inline-block;
  padding: 15px;
  background-color: #fff;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
  transform: rotate(-2deg);
  width: 95%;
}

.img_cat,
.img_woman {
  transform: rotate(2deg);
}

.info {
  margin-bottom: 0;
}/*# sourceMappingURL=style.css.map */