@charset "UTF-8";

html {
  font-size: 62.5%;
  /* 16px * 62.5% = 10px */
  width: 100%;
  /* スクロールの動きを滑らかにする */
  scroll-behavior: smooth;
}

body {
  color: #333;
  /* RGB */
  font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ",
    sans-serif;
  font-weight: 500;
  font-size: 1.8em;
  line-height: 1.72;
}

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

.inner {
  max-width: 1280px;
  margin: auto;
  padding: 0 50px;
  /* 指定した範囲の外側にパディングつけたい */
  box-sizing: content-box;
}

/* mobile inner タブレット〜 */
@media (max-width: 959px) {
  .inner {
    padding: 0 20px;
  }
}

/* header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  font-weight: 700;
  z-index: 10000;
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__logo {
  width: 8%;
  padding-top: 10px;
  z-index: 10000;
}

.header-nav ul {
  display: flex;
  gap: 2em;
  text-shadow: 2px 2px 0px #fff;
}

.header-nav li :hover {
  opacity: 0.4;
}

/* ハンバーガーメニュー */
.ham {
  display: none;
}

@media (max-width: 959px) {
  /* ハンバーガーニュークリック後背景 */
  .header-nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20%;
    background-color: rgba(230, 230, 230, 0.5);
    backdrop-filter: blur(10px);
    clip-path: inset(0 0 100% 0);
    transition: clip-path 0.8s ease-out;
  }

  .active .header-nav {
    clip-path: inset(0 0 0% 0);
  }

  .header-nav ul {
    flex-direction: column;
    align-items: center;
    text-shadow: unset;
  }

  .ham {
    display: block;
    width: clamp(25px, 5vw, 50px);
    height: clamp(15px, 3vw, 30px);
    position: relative;
  }

  .ham__line {
    display: block;
    width: 100%;
    height: 20%;
    background-color: #000;
    position: absolute;
    left: 0;
    border-radius: 100px;
    transition: top 0.5s, bottom 0.5s, transform 0.5s;
  }

  .ham__line:first-of-type {
    top: 10%;
  }

  .active .ham__line:first-of-type {
    top: 40%;
    transform: rotate(30deg);
  }

  .ham__line:last-of-type {
    bottom: 10%;
  }

  .active .ham__line:last-of-type {
    bottom: 40%;
    transform: rotate(-30deg);
  }
}

.top-img {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  padding: 15vw 0 10vw;
}

.top-img01 {
  width: 45%;
}

.top-img02 {
  width: 26%;
}

.top-img01 svg {
  width: 100%;
  height: auto;
}

#path-01 {
  opacity: 0;
  animation: path01 0.5s ease 0.3s 1 forwards;
}

#path-02 {
  opacity: 0;
  animation: path01 0.5s ease 0.5s 1 forwards;
}

#path-03 {
  opacity: 0;
  animation: path01 0.5s ease 0.7s 1 forwards;
}

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

  100% {
    opacity: 1;
  }
}

#name {
  clip-path: inset(0 100% 0 0);
  animation: mvName 1.2s ease 0.7s 1 forwards;
}

/* 左▶︎右に名前が出る */
@keyframes mvName {
  0% {
    clip-path: inset(0 100% 0 0);
  }

  100% {
    clip-path: inset(0 0% 0 0);
  }
}

/* トップメッセージ */
.top-msg {
  font-size: clamp(1.4rem, 3.4vw, 3rem);
  padding-bottom: 20vw;
  text-align: center;
}

/* top skills */
.top-skill__bg {
  background-image: url(../img/skill.svg);
  background-repeat: no-repeat;
  padding: 5vw 0;
  background-position: center top;
  background-size: auto 100%;
}

/* バックボタン　web1 web2 下層works */
.back-btn a {
  background: #f8ece6;
  font-weight: bold;
  color: #333;
  padding: 15px 20px;
  border-radius: 10px 0;
  font-size: clamp(1.2rem, 3.4vw, 1.8rem);
}

.back-btn a:hover {
  color: #fff;
  background: #707070;
  transition: 0.3s ease-out;
}

@media (max-width: 480px) {
  .back-btn a {
    padding: 10px 15px;
  }
}

/* 共通セクションタイトル */
.top-sec-ttl {
  text-align: center;
  font-size: clamp(2.4rem, 3.4vw, 4.8rem);
  font-weight: 600;
}

.top-skills___list {
  padding-top: 5vw;
  display: flex;
  justify-content: center;
  flex-direction: column;
  margin: auto;
  max-width: 930px;
}

.top-skills__skill {
  display: flex;
  width: 50%;
  min-width: 505px;
}

.top-skills__icon {
  width: 18%;
}

.top-skills__info {
  width: 74%;
  padding-top: 0.3em;
}

.top-skills__skill:nth-of-type(even) {
  align-self: flex-end;
}

.top-skills__skill + .top-skills__skill {
  margin-top: -20px;
}

.top-skills__ttl {
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  font-weight: 600;
}

.top-skills-text {
  font-size: clamp(1.2rem, 3.4vw, 1.8rem);
}

/* top-skills　mobil */

@media (max-width: 1080px) {
  .top-skills__skill + .top-skills__skill {
    margin-top: 20px;
  }

  .top-skills__info {
    padding-left: 0.6em;
  }
}

@media (max-width: 605px) {
  .top-skills__skill {
    width: 100%;
    min-width: unset;
  }
}

/* top-sukills bg */
@media (max-width: 1540px) {
  .top-skill__bg {
    background-size: auto 100%;
  }
}

.icons8 {
  text-align: center;
  font-size: clamp(1rem, 3.4vw, 1.2rem);
}

/* top works */
.top-works {
  padding-top: 5vw;
  margin: 0 auto;
}

.top-works__bg {
  background-image: url(../img/work__bg.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: right 10% top 0%;
  padding-bottom: 15vw;
}

.top-works__container {
  padding-top: 5vw;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.top-works-item {
  margin: 4%;
  width: calc(30% - 8%);
  justify-content: center;
  align-items: center;
}

.top-works-item a {
  position: relative;
  display: block;
  padding: 20px 20px 10px;
}

.top-works-item {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 7px 6px 16px 0px rgba(0, 0, 0, 0.35);
}

/*top-works more btn 作品増えたら */
/* .more__btn {
  padding-top: 10vw;
  text-align: center;
  font-size: clamp(2.0rem, 3.4vw, 4.2rem);
  font-weight: 600;
} */
/*
.more__btn {
矢印と下線の基点のrelativeを指定
  position: relative;
形状
  display: inline-block;
  padding: 10vw 20px 0;
}

矢印と下線の形状
.more__btn::before {
  content: '';
  絶対配置で下線の位置を決める
  position: absolute;
  bottom: -4px;
  left: 15%;
  下線の形状
  width: 85%;
  height: 4px;
  border-bottom: 4px dashed #333;
アニメーションの指定
  transition: all .3s;
}

.more__btn::after {
  content: '';
絶対配置で矢印の位置を決める
  position: absolute;
  bottom: 1px;
  right: 0;
矢印の形状
  width: 15px;
  height: 4px;
  border-bottom: 4px dashed #333;
  transform: rotate(35deg);
アニメーションの指定
  transition: all .3s;
}

hoverした際の移動
.more__btn:hover::before {
  left: 20%;
}

.more__btn:hover::after {
  right: -5%;
} */

/* top-works mobil */

@media (max-width: 1000px) {
  .top-works__container {
    justify-content: center;
    align-items: center;
  }

  .top-works-item {
    margin: 6%;
    width: calc(50% - 12%);
  }
}

@media (max-width: 605px) {
  .top-works__container {
    flex-direction: column;
  }

  .top-works-item {
    width: calc(70% - 12%);
  }
}

/* top-works hover時 */
.top-works-item img {
  transform: scale(0.8);
  transition: transform 0.3s ease-in-out, filter 0.3s;
}

.top-works-item__ttl {
  position: absolute;
  font-weight: 700;
  opacity: 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  transition: opacity 0.3s;
}

.top-works-item a:hover .top-works-item__ttl,
.top-works-item.is-hovered a .top-works-item__ttl {
  opacity: 1;
  transition: opacity 0.6s;
}

.top-works-item a:hover img,
.top-works-item.is-hovered a img {
  transform: scale(0.9);
  opacity: 0.3;
  filter: blur(5px);
}

/* top-about */
.top-about {
  padding-top: 5vw;
}

.top-about-container {
  padding-top: 5vw;
}

.top-about__bg {
  background-image: url(../img/top-about.svg);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: auto 100%;
}

.top-about__container {
  padding-top: 10vw;
}

.top-about__text01,
.top-about__text02 {
  font-size: clamp(1rem, 3vw, 2.4rem);
  font-weight: 600;
}

.top-about__text01 {
  padding-left: 10vw;
}

.top-about__text02 {
  padding-right: 10vw;
}

.top-about__text02 {
  text-align: right;
}

.top-about__irasuto {
  width: 20%;
  margin: -100px auto 0;
}

.top-about__lead-text {
  text-align: center;
  font-size: clamp(1.2rem, 2.8vw, 2rem);
  color: #333;
  padding: 10vw 0 5vw;
}

.top-about__lead-text p {
  text-align: center;
}

/* top-about-lead 改行 */
.mobil_br {
  display: none;
}

@media (max-width: 959px) {
  .mobil_br {
    display: block;
  }
}

/* top-about__career 経歴 */
.top-about__career {
  background-image: url(../img/keireki__bg.svg);
  background-repeat: no-repeat;
  background-position: bottom right;
  background-size: auto 50%;
  padding-top: 10vw;
  display: flex;
  justify-content: center;
}

.top-about__career-container {
  text-align: left;
}

.top-about__timeseries {
  display: flex;
  padding-left: 60px;
  position: relative;
}

.top-about__timeseries-ttl {
  padding-right: 5rem;
  font-weight: 600;
}

.top-about__timeseries-ttl,
.top-about__timeseries-text {
  font-size: clamp(1.2rem, 3.4vw, 1.6rem);
  max-width: 400px;
}

/* 経歴の隣の記号 */
.top-about__timeseries:not(:last-of-type) {
  padding-bottom: 50px;
}

.top-about__timeseries::before {
  content: "";
  background-image: url(../img/timeseries.svg);
  width: 12%;
  height: 30px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  position: absolute;
  top: 0;
  left: 0;
}

.top-about__timeseries:not(:last-of-type)::after {
  content: "";
  position: absolute;
  top: 31px;
  left: 5.7%;
  width: 0.4%;
  height: calc(100% - 33px);
  background: #5a5a5a;
  border-radius: 100px;
}

@media (max-width: 996px) {
  .top-about__timeseries:not(:last-of-type) {
    padding-bottom: 30px;
  }
}

@media (max-width: 800px) {
  .top-about__timeseries::before {
    height: 25px;
  }
}

@media (max-width: 665px) {
  .top-about__timeseries-ttl {
    padding-right: 2rem;
  }

  .top-about__timeseries {
    padding-left: 45px;
  }

  .top-about__timeseries::before {
    width: 10%;
  }

  .top-about__timeseries:not(:last-of-type)::after {
    top: 26px;
    left: 4.7%;
    width: 0.6%;
    height: calc(100% - 30px);
  }
}

@media (max-width: 480px) {
  .top-about__timeseries:not(:last-of-type) {
    padding-bottom: 20px;
  }

  .top-about__timeseries::before {
    height: 19px;
    top: 2px;
  }

  .top-about__timeseries:not(:last-of-type)::after {
    top: 24px;
    left: 4.6%;
    width: 0.7%;
    height: calc(100% - 24px);
  }
}

/* 経歴内容　改行 */
.career_kaigyou02 {
  display: none;
}

@media (max-width: 1069px) {
  .career_kaigyou02 {
    display: block;
  }
}

@media (max-width: 460px) {
  .career_kaigyou01 {
    display: none;
  }
}

/* フッター */
.footer {
  padding-top: 10vw;
  text-align: center;
}

.copyright {
  text-align: right;
  padding-right: 10px;
}

/* works 下層ページ */
.kasou-ttl {
  background-image: url(../img/kasou__ttl.svg);
  background-repeat: no-repeat;
  background-size: auto 70%;
  background-position: center;
  text-align: center;
  font-size: clamp(3.2rem, 3.4vw, 7.2rem);
  font-weight: 600;
  padding: 20vw;
}

.works-container {
  background-image: url(../img/kasou__bg.webp);
  background-repeat: repeat-y;
  background-size: auto 90%;
  background-position: center top;
}

.works-web {
  display: flex;
  flex-direction: column;
}

.works-item-ttl {
  padding: 10vw 0 5vw 0;
  font-size: clamp(1.2rem, 3.4vw, 3.2rem);
  font-weight: 600;
  text-align: center;
}

.works-web-item-img a {
  display: block;
}

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

.works-web-item img {
  width: 60%;
}

/* works-item hover時 */
.works-item {
  margin: 4%;
  width: calc(30% - 8%);
  justify-content: center;
  align-items: center;
}

.works-web-item-img img {
  transform: scale(0.8);
  transition: 0.3s ease-in-out;
}

.works-web-item a:hover img {
  transform: scale(0.9);
  opacity: 0.6;
}

.works-web-item a {
  padding-bottom: 15vw;
  text-align: center;
  background-color: #fff;
  padding: 2vw 0;
  border-radius: 28px;
  margin: 0 7vw 5vw;
  box-shadow: 7px 6px 16px 0px rgba(0, 0, 0, 0.35);
}

.works-web-item__ttl {
  text-align: center;
  font-size: clamp(1.2rem, 3.4vw, 2rem);
  font-weight: 600;
  padding-top: 3vw;
}

/* works下層　バナー */
.works-banner-item a {
  padding-bottom: 15vw;
  text-align: center;
  background-color: #fff;
  padding: 5vw 0;
  border-radius: 28px;
  margin: 0 20vw 9vw;
  box-shadow: 7px 6px 16px 0px rgba(0, 0, 0, 0.35);
}

.works-banner-item-img a {
  display: block;
}

.works-banner-item-img img {
  width: 40%;
}

/* banner hover時 */
.works-baner-item-img img {
  transform: scale(0.8);
  transition: 0.3s ease-in-out;
}

.works-banner-item a:hover img {
  transform: scale(0.9);
  opacity: 0.6;
}

.works-banner-item__ttl {
  text-align: center;
  font-size: clamp(1.2rem, 3.4vw, 2rem);
  font-weight: 600;
  padding-top: 3vw;
}

/*下層web アメニモマケズ */

.inner02 {
  padding: 0 80px;
}

@media (max-width: 959px) {
  .inner02 {
    padding: 0 30px;
  }
}

.kasou-works01 {
  padding-top: 5vw;
  max-width: 1280px;
  margin: 0 auto;
}

.kasou-works-text {
  text-align: left;
  font-size: clamp(1rem, 3.4vw, 1.6rem);
}

.kasou-works-ttl {
  font-size: clamp(1.2rem, 3.4vw, 2.8rem);
  font-weight: 600;
}

.kasou-works-img {
  text-align: center;
  padding-top: max(10vw, 80px);
}

.kasou-works-img img {
  width: 75vw;
  max-width: 100%;
}

/* バナー画像サイズ */
.kasou-works-banner-img {
  text-align: center;
  padding-top: 10vw;
}

.kasou-works-banner-img img {
  max-width: 300px;
}

.kasou-works-list__row {
  display: flex;
}

.kasou-works-list__term {
  padding-right: 2em;
  flex-shrink: 0;
}

.kasou-works-list__def {
  max-width: 500px;
}

.kasou-works-list__def-list {
  display: flex;
  flex-wrap: wrap;
}

.kasou-works-list__def-list li:not(:last-of-type)::after {
  content: "/";
}

/*web worksのアメニモマケズtop画像*/
.web-works-imgs__ttl {
  position: relative;
  text-align: center;
  margin-top: max(10vw, 100px);
  font-size: clamp(1.2rem, 4vw, 2.8rem);
  font-weight: 600;
}

.web-works-imgs-pc {
  width: 60%;
}

.web-works-imgs-mobile {
  width: 40%;
}

.site-page {
  display: flex;
  font-size: clamp(1.2rem, 3.4vw, 2rem);
  font-weight: 700;
  color: #999;
}

.web-works-imgs-container {
  display: flex;
  gap: 0 50px;
  justify-content: center;
  max-width: 700px;
  margin: 2vw auto 0;
  clip-path: inset(0 0 calc(100% - 400px) 0);
  position: relative;
  transition: clip-path 0.8s, max-height 1s;
  cursor: pointer;
  max-height: 400px;
  overflow: hidden;
}

/* web-works-items-img　長いから隠す */
.web-works-imgs-container::before {
  content: "";
  display: block;
  width: 100%;
  height: 40px;
  position: absolute;
  bottom: calc(100% - 400px);
  background: linear-gradient(transparent 0%, #fff 50%);
  transition: bottom 0.8s, opacity 0.3s;
}

.web-works-imgs-container::after {
  content: "View More";
  display: flex;
  width: 100%;
  height: 40px;
  font-size: 0.7em;
  opacity: 0.8;
  position: absolute;
  bottom: calc(100% - 401px);
  text-align: center;
  justify-content: center;
  align-items: center;
  transition: bottom 0.8s, opacity 0.3s;
}

/* viewmore 開いたとき */
.web-works-imgs-container.open {
  clip-path: inset(0 0 0% 0);
  max-height: 1300px;
}

.web-works-imgs-container.open::before {
  bottom: 0;
  opacity: 0;
}

.web-works-imgs-container.open::after {
  bottom: 0;
  opacity: 0;
}

.web-works-items {
  display: flex;
  text-align: center;
  gap: 0 20px;
}

.kasou-works02 {
  display: flex;
  justify-content: center;
}

.kasou-works-dec {
  max-width: 750px;
  padding-top: 5vw;
}

.kasou-works-dec__ttl {
  font-size: clamp(1.2rem, 3.4vw, 1.8rem);
  padding-top: 0.6em;
}

.kasou-works-dec__text {
  font-size: clamp(1rem, 3.4vw, 1.6rem);
}

.yokosenn {
  border-left: 6px solid #333;
  padding: 10px 20px 10px;
}

/* バックボタン余白 */
.back-btn {
  text-align: center;
  padding-top: 3vw;
}

/* js */
.fade {
  opacity: 0;
  transform: translateY(30px);
}

.fade.active {
  opacity: 1;
  transform: translateY(0px);
}
