@charset "utf-8";

/* 共通部分
------------------- */
body {
  height: 100%;
  font-size: 16px;
  font-family: '游ゴシック', YuGothic, 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', 'メイリオ', Meiryo, sans-serif;
  line-height: 1.8;
  letter-spacing: 2px;
  color: #2c2c2c;
}

.wrapper {
  width: 920px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
}

img {
  max-width: 100%;
}

a {
  text-decoration: underline;
}


/* header
------------------- */
/* headerのnav_pcを横並びに */
header {
  height: 120px;
  position: relative;
}


.change-color {
  background-color: #000;
  /* スクロールしたあとのヘッダー背景色 */
  opacity: 0.4;
  transition: 0.5s;
}

.navPc {
  display: flex;
  justify-content: space-between;
  position: fixed;
  width: 80vw;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 100;
  margin-top: 20px;
  margin-bottom: 0;
  margin-left: 0px;
  margin-right: 0px;
}


/* logoのhoverアニメーション */
.navPc .logo {
  width: 75px;
  margin-top: 45px;
  cursor: pointer;
  transition-duration: 0.5s;
  opacity: 1;

}

.topPage .navPc .logo {
  /* logoのhoverアニメーション */
  animation-name: loadinglogoOpacity;
  animation-duration: 2s;
  animation-timing-function: linear;
  animation-iteration-count: 1;
}

@keyframes loadinglogoOpacity {

  /* フェードイン */
  0% {
    transform: rotate(0deg) scale(0);

    opacity: 0
  }

  70% {
    transform: rotate(0deg) scale(0.1);
    opacity: 0
  }

  90% {
    transform: rotate(0deg) scale(0.3);
    opacity: 0
  }

  100% {
    transform: rotate(0deg) scale(1);
    opacity: 1
  }
}


.navPc .logo:hover {
  opacity: 0.5;
  transition-duration: 0.5s;
}

img.logo:hover {
  transition: transform 1s;
  transform: rotate(-360deg);
  transition-timing-function: linear;
}

/* logoとナビゲーションバーを横並びに */
.navFlex {
  display: flex;
  font-size: 1.5rem;
  text-transform: capitalize;
  font-family: 'Oxanium', sans-serif;
  margin-top: 35px;
  margin-right: 0px;
  cursor: pointer;
  list-style: none;
}

.navFlex li {
  margin-left: 50px;
}


.navFlex a {
  text-decoration: none;
  color: #05c6d4;
  transition: .7s;
}

/* ナビゲーションバーのhoverアニメーション */
.navFlex a:hover {
  color: #005359;
  border-bottom: 2px solid #000000;
}

/* footer 
------------------- */
footer {
  height: 100px;
  text-align: right;
  margin: 20px;
}

/* トップへ戻る右下に固定 */
#page-top a {
  font-family: 'Oxanium', sans-serif;
  background-color: #05c6d4;
  color: #fff;
  padding: 20px;
  position: fixed;
  right: 10vw;
  bottom: 0;
}

/* 共通部分ここまで 
------------------- */


/* #topPage
------------------- */
/* loading */
.topPage #loading {
  background-color: #ffffff;
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: grid;
  place-items: center;

}

/* .topPage #loadingscreen {
  background-color: #ffffff;
  position: fixed;
  inset: 0;
  z-index: 9998;
  translate: 0 100vh;

} */

.topPage #loadingLogo img {
  /* 中央寄せ↓ */
  position: absolute;
  inset: 0;
  margin: auto;
  /* 中央寄せここまで */
  opacity: 0;
  width: 400px;
  animation-name: logoRotate;
  animation-duration: 2s;
  animation-timing-function: linear;
  animation-iteration-count: 1;
  z-index: 9999;
}


@keyframes logoRotate {
  0% {
    transform: rotate(0deg) scale(1);
    opacity: 1;
  }

  75% {
    transform: rotate(270deg) scale(0.4);
    opacity: 1;
  }

  100% {
    transform: rotate(360deg) scale(0.1);
    opacity: 1;

  }
}

.topPage .loadingLogoTranslate {
  position: relative;
  animation-name: logoTranslate;
  animation-duration: 2s;
  animation-timing-function: linear;
  animation-iteration-count: 1;
  z-index: 9999;
}

@keyframes logoTranslate {
  0% {
    transform: translate(0vw, 50vh);
    opacity: 1;
  }

  75% {
    transform: translate(-20vw, 25vh);
    opacity: 1;
  }

  90% {
    transform: translate(-30vw, 15vh);
    opacity: 0.6;
  }

  100% {
    transform: translate(-40vw, 0);
    opacity: 0;

  }
}


/* main
------------------- */
h1 {
  display: block;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  color: #05c6d4;
  margin-top: 100px;
}

h3 {
  font-size: 1.5rem;
  margin-top: 40px;
}

ul.introLi {
  list-style-type: none;
}

.portfoliobg {
  position: relative;
}

#portfolio {
  display: flex;
  justify-content: center;
  position: relative;
}

#portfoliobgliquid {
  position: absolute;
  top: 420px;
  left: 400px;
  /* 水平・垂直方向の中央揃え */
  margin: -200px 0 0 -200px;
  /* 完全に中央に配置するため、上・左の margin を負の数に設定 */
  width: 400px;
  height: 80px;
  background: #05c6d4;
  color: #fff;
  display: inline-block;
  padding: 2rem 3rem;
  border-radius: 50%;
  z-index: -99;
}

img.me {
  max-height: 300px;
  position: absolute;
  left: 50px;
  z-index: -98;
}



.eyeCatch img {
  position: inherit;
  right: 300px;
  max-width: 500px;
  margin: 20px 0 auto;
  z-index: -90;
}

img.iconFile {
  display: block;
  max-height: 80px;
  max-width: 80px;
  object-fit: cover;
  margin: 0 0;
  padding-right: 5px;
}

.GridSill {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.GridSill h3 {
  display: inline;
  margin-left: 30px;
  font-size: 1.5rem;
  text-align: left;
  padding-bottom: 5px;
}

.skillFlex {
  display: flex;
}

.skillFlex p {
  font-size: 1rem;
}


.worksTmb {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}



.worksTmb input {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: 100%;
}


ul.worksTmb li input {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: 100%;
  /* border: 1px solid #4f4f4f; */

}

.worksTmb h4 {
  font-size: 1.2rem;
  margin-top: 10px;
}

/* 中央寄せコンテナ */
.container {
  text-align: center;

}


/* もっとみるボタン */
.moreBtn {

  text-decoration: none;


  display: inline-block;
  text-align: center;
  border: 3px solid #05c6d4;
  font-size: 1.1rem;
  color: #05c6d4;
  font-family: 'Oxanium', sans-serif;
  border-radius: 50px;
  padding: 10px 40px;
  margin: 10px 0;
  transition: .4s;
  cursor: pointer;
  letter-spacing: 0;
}

.moreBtn:hover {
  background-color: #05c6d4;
  border-color: #05c6d4;
  color: #FFF;
}


/* 小さめもっとみるボタン */
.moreBtnSmall {
  text-align: center;
  border: 2px dotted #05c6d4;
  font-size: 0.8rem;
  color: #05c6d4;
  font-family: 'Oxanium', sans-serif;
  padding: 0px 40px;
  margin: 0px 0;
  transition: .4s;
  cursor: pointer;
  letter-spacing: 0;
}

.moreBtnSmall:hover {
  background-color: #05c6d4;
  border-color: #05c6d4;
  color: #FFF;
}

.introLi {
  /* text-align: center; */
  background-color: #05c6d4;
  border-color: #05c6d4;
  color: #FFF;
  font-size: 0.8rem;

  font-family: 'Oxanium', sans-serif;
  padding: 0px 40px;
  margin: 0px 0;
  transition: .4s;
}


/* モーダルウィンドウ
------------------- */
.modalWindow {
  overflow: scroll;
  overflow-y: auto;
  max-height: 80vh;
}

/* モーダル非表示（初期） */
.modalNoDisp {
  display: none;
}

/* モーダルバックグランド  */
.modalBg {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: radial-gradient(circle at 50% 50%,
      rgba(255, 255, 255, 0.90),
      rgba(255, 255, 255, 0.70));
  z-index: 10;

}

/*  モーダルバックグランド：OPEN時のアニメーション  */
.modalBgOpen {
  animation: bgOpenAnime 0.6s ease;
}

@keyframes bgOpenAnime {

  /* フェードイン */
  0% {
    opacity: 0
  }

  100% {
    opacity: 1
  }
}

/* --- モーダルバックグランド：CLOSE時のアニメーション ---== */
.modalBgClose {
  bottom: 100%;
  animation: bgCloseAnime 0.6s ease;
}

@keyframes bgCloseAnime {

  /* フェードイン */
  0% {
    opacity: 1;
    bottom: 0
  }

  100% {
    opacity: 0;
    bottom: 0
  }
}

/*  モーダルウインドウ */
.modalBg .modalWindow {
  /* モーダルウインド 中心に表示 */
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  /* -webkit-transform: translateY(10%);
  -ms-transform: translateY(10%); */

  /* position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); */
  z-index: 10;
  /* モーダルウインドウの見た目 */
  width: 80vw;
  min-height: 220px;
  background: #fff;
  border: 3px solid #05c6d4;
  border-radius: 10px;
  font-size: 0.86rem;
  text-align: center;
  padding: 0 20px;
}


.modalWindow img {
  max-width: 50vw;
  max-height: 500px;
  object-fit: cover;
}

/* --- モーダルウインド：OPEN時のアニメーション------------= */
.modalBgOpen .modalWindow {
  animation: modalOpenAnime 0.6s ease;
}

@keyframes modalOpenAnime {

  /* 下→中心 */
  0% {
    top: 150%
  }

  100% {
    top: 50%
  }
}

/* --- モーダルウインド：CLOSE時のアニメーション------------ */
.modalBgClose .modalWindow {
  animation: modalCloseAnime 0.6s ease;
}

@keyframes modalCloseAnime {

  /* 中心→上 */
  0% {
    top: 50%
  }

  100% {
    top: -50%
  }
}

/* --- モーダルウインド：CLOSE閉じるボタン------------ */

input.close {
  height: auto;
  background-color: #05c6d4;
  color: #FFF;
  font-size: 1.2rem;
  margin-left: 20px;
  margin-right: 20px;
  margin-bottom: 20px;
}

/* About Me | Noriko Hirataのページ
------------------- */
.CareerWrap {
  display: flex;
}

.CareerWrap dd {
  padding-left: 20px;
  padding-bottom: 10px;
}

.crDt {
  font-size: 1rem;
}

.crDd {
  font-size: 0.8rem;
}

/* worksMore | Noriko Hirataのページ
------------------- */
.worksMore #worksTmbWebMore {
  border: 1px solid #05c6d4;
}

.worksMore #worksTmbWebMore img {
  max-width: 60vw;

}

/* レスポンシブ対応
------------------- */
@media screen and (max-width: 920px) {
  .wrapper {
    max-width: 720px;
  }

  .worksTmb {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  }


}

@media screen and (max-width: 780px) {
  .wrapper {
    max-width: 520px;
  }

  .navFlex {
    display: block;
    gap: 5px;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    margin-top: 160px;
    margin-right: 150px;
  }


  .eyeCatch {
    min-height: 400px;
  }

  .eyeCatch img {
    max-width: 200px;
    position: absolute;
    left: 200px;
    top: 50px;
    /* visibility:hidden  */
  }



  #portfoliobgliquid {
    width: 200px;
    height: 40px;
  }


  .worksTmb {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  }


}

@media screen and (max-width: 420px) {
  .wrapper {
    max-width: 320px;
  }

  .introduce {
    max-width: 60%;
  }

  .navFlex {
    display: block;
    gap: 5px;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    margin-top: 160px;
  }

  .eyeCatch {
    min-height: 300px;
  }

  img.me {
    /* max-height:   00px; */
    position: absolute;
    left: 0px;
    z-index: -98;
  }

  .eyeCatch img {
    max-width: 180px;
    position: absolute;
    left: 100px;
    top: 70px;
    /* visibility:hidden  */
  }

  #portfoliobgliquid {
    visibility: hidden
  }

  .worksTmb {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  }


}

.sr-only{
  position:absolute;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);
  white-space:nowrap;border:0;
}

.skills { max-width: 900px; margin: 0 auto; }
.skills-main { line-height: 1.9; }
.skills-main li { margin: 0.4rem 0; }

.skills-sub { margin-top: 1rem; }
.skills-sub summary {
  cursor: pointer;
  opacity: 0.75;
  font-size: 0.95rem;
}
.skills-sub[open] summary { opacity: 1; }

.skills-sub ul { margin-top: 0.6rem; opacity: 0.75; }
.skills-sub li { margin: 0.25rem 0; }

.GridSillSub{
  display:grid;
  gap:30px;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  margin-top:20px;
}
.skillCard{
  display:block;
}

.skillFlex{
  display:flex;
  gap:15px;
  align-items:flex-start;
}