@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Maven+Pro:wght@400..900&family=Noto+Sans+JP:wght@100..900&display=swap");
/* フォントのメモ
font-family: "Maven Pro", sans-serif;
font-weight: 400 to 900;

font-family: "Noto Sans JP", sans-serif;
font-weight: 100 to 900; */
/* 変数 */
:root {
  --main-bgColor: #d4d4d4;
  --main-minWidth: 1000px;
  --main-maxWidth: 1200px;
  --main-padding: 40px;
}

/* 全ての要素 */
* {
  color: #333333;
  text-decoration: none;
  list-style-type: none;
}

/* body（大枠） */
body {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  overflow-x: hidden;
}

/* header */
header {
  background-color: rgba(62, 84, 124, 0.9);
  position: fixed;
  width: 100%;
  z-index: 9999;
}

.header_wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 56px;
  max-width: var(--main-maxWidth);
  margin: auto;
  font-family: "Maven Pro", sans-serif;
}
.header_wrapper h1 {
  color: #ffffff;
  font-size: 36px;
  font-weight: 600;
}
.header_wrapper ul {
  display: flex;
}
.header_wrapper li {
  color: #ffffff;
  font-size: 24px;
  font-weight: 500;
  text-transform: uppercase;
  margin-right: 20px;
  position: relative;
}
.header_wrapper li:last-child {
  margin-right: 0;
}
.header_wrapper li::after {
  position: absolute;
  bottom: 0;
  content: "";
  display: block;
  border-bottom: 2px solid rgba(255, 255, 255, 0.7);
  width: 0%;
  transition: all 0.3s ease;
}
.header_wrapper li:hover::after {
  width: 100%;
}
.header_wrapper a {
  opacity: 1;
  transition: opacity 1s;
}
.header_wrapper a:hover {
  opacity: 0.2;
}

/* section */
.contents_wrapper {
  min-height: 100vh;
}

/* top */
.top {
  background-image: url(../img/bg_top.jpg);
  background-size: cover;
  background-position: 50% 50%;
}

.contents_top {
  display: flex;
  justify-content: right;
  align-items: center;
}
.contents_top .wrap {
  padding: var(--main-padding);
}
.contents_top h1 {
  color: #ffffff;
  font-size: 36px;
  font-weight: 600;
  padding-bottom: 10px;
  animation: backInRight 1s 1;
}
.contents_top p {
  color: #ffffff;
  font-size: 20px;
  animation: backInRight 1s 1 2s;
  animation-fill-mode: both;
}

/* profile*/
.profile {
  background-color: var(--main-bgColor);
}

.contents_profile {
  display: flex;
  align-items: center;
}
.contents_profile h2 {
  flex: 1;
  color: #ffffff;
  font-size: 36px;
  font-weight: 600;
  padding-left: var(--main-padding);
  margin: 10vh 0;
}
.contents_profile .box_profile {
  flex: 5;
  background-color: rgba(255, 255, 255, 0.8);
  padding: var(--main-padding);
  margin: 10vh 0;
  display: flex;
}
.contents_profile figure {
  width: 150px;
  height: 150px;
  margin-right: 40px;
}
.contents_profile figure img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 50%;
}
.contents_profile .inroduce {
  width: calc(100% - 190px);
  padding-right: var(--main-padding);
}
.contents_profile .inroduce .box {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}
.contents_profile .inroduce .left {
  flex: 1;
  padding-right: var(--main-padding);
}
.contents_profile .inroduce .left h3 {
  display: none;
}
.contents_profile .inroduce .left dt {
  font-size: 40px;
  font-weight: 600;
  margin-bottom: 10px;
}
.contents_profile .inroduce .right {
  flex: 2;
}
.contents_profile .inroduce .right p {
  font-size: 0.8rem;
  margin-bottom: 0.4rem;
}
.contents_profile .skill,
.contents_profile .interest {
  margin-bottom: 20px;
}
.contents_profile .skill h3,
.contents_profile .interest h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 5px;
}
.contents_profile table {
  border-collapse: collapse;
  width: 100%;
}
.contents_profile tr {
  line-height: 2;
}
.contents_profile tr:nth-child(odd) th {
  background-color: #afafaf;
}
.contents_profile tr:nth-child(even) th {
  background-color: var(--main-bgColor);
}
.contents_profile th,
.contents_profile td {
  border: 1px solid var(--main-bgColor);
}
.contents_profile td {
  font-size: 0.9rem;
  padding: 0 5px;
}
.contents_profile .rank {
  text-align: center;
  width: 200px;
}
.contents_profile .interest {
  margin-bottom: 0;
}
.contents_profile .interest li {
  font-size: 0.9rem;
  list-style-type: disc;
}

/* works */
.works {
  /* background-color: var(--main-bgColor); */
  background-image: url(../img/bg_works.jpg);
  background-size: cover;
  background-position: 50% 50%;
  background-color: rgba(50, 50, 50, 0.8);
  background-blend-mode: darken;
}

.contents_works {
  display: flex;
  align-items: center;
}
.contents_works h2 {
  flex: 1;
  color: #ffffff;
  font-size: 36px;
  font-weight: 600;
  padding-left: var(--main-padding);
  margin: 10vh 0;
}
.contents_works .box_works {
  flex: 5;
  background-color: rgba(255, 255, 255, 0.8);
  padding: var(--main-padding);
  margin: 10vh 0;
  display: flex;
  justify-content: space-evenly;
}
.contents_works .box_works .thumbbox {
  width: 265px;
  height: 200px;
}
.contents_works .box_works .thumbbox .image {
  display: flex;
  flex-direction: column-reverse;
}
.contents_works .box_works .thumbbox .image img {
  width: 100%;
  height: 165px;
  -o-object-fit: cover;
     object-fit: cover;
}
.contents_works .box_works .thumbbox .image .img2 {
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 165px;
}
.contents_works .box_works .thumbbox .image .img2 img {
  width: 80%;
  height: 80%;
  -o-object-fit: contain;
     object-fit: contain;
}
.contents_works .box_works .thumbbox .image h3 {
  background-color: #737272;
  color: #ffffff;
  font-size: 1.1rem;
  text-align: center;
  font-weight: 500;
  line-height: 35px;
  border-radius: 0 0 20px 20px;
}

/* footer */
footer {
  background-color: var(--main-bgColor);
}

.footer_wrapper {
  max-width: var(--main-maxWidth);
  margin: auto;
  padding-bottom: 20px;
}
.footer_wrapper h1 {
  color: #ffffff;
  font-size: 36px;
  font-weight: 600;
  text-align: center;
  padding: 120px 0;
}
.footer_wrapper .sns {
  padding-bottom: 60px;
}
.footer_wrapper .sns ul {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding-left: 0;
}
.footer_wrapper .sns ul img {
  height: 40px;
}
.footer_wrapper small {
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 400;
  text-align: center;
  display: block;
}

/* スクロールアニメーション */
.box_profile,
.box_works {
  opacity: 0;
}

.box_fade {
  animation: fadeInRight 1s 1 1s;
  animation-fill-mode: both;
}

.h2_anim {
  animation: fadeInLeft 1s 1 1s;
  animation-fill-mode: both;
}

/* モーダルと背景の指定 */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  background: rgba(0, 0, 0, 0.5);
  padding: 40px 20px;
  overflow: auto;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  box-sizing: border-box;
}

/* モーダルの擬似要素の指定 */
.modal:before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  height: 100%;
  margin-left: -0.2em;
}

/* クラスが追加された時の指定 */
.modal.is-active {
  opacity: 1;
  visibility: visible;
}

/* モーダル内側の指定 */
.modal-container {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  max-width: 600px;
  width: 90%;
}

/* モーダルを閉じるボタンの指定 */
.modal-close {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  top: -20px;
  right: -20px;
  width: 40px;
  height: 40px;
  color: #fff;
  background: #000;
  border-radius: 50%;
  cursor: pointer;
}

/* モーダルのコンテンツ部分の指定 */
.modal-content {
  background: #fff;
  text-align: left;
  line-height: 1.8;
  padding: 20px;
}

/* モーダルのコンテンツ部分のテキストの指定 */
.modal-content p {
  margin: 1em 0;
}

/* ===== Responsive (SP) 追加調整 ===== */
@media (max-width: 768px) {

  /* ヘッダーをスマホ用に */
  .header_wrapper{
    height: auto;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .header_wrapper h1{
    font-size: 20px;
  }

  .header_wrapper li{
    font-size: 14px;
    margin-right: 12px;
  }

  /* Top */
  .contents_top h1{
    font-size: 24px;
  }

  .contents_top p{
    font-size: 14px;
  }

  /* Profile：完全に縦並び */
  .contents_profile{
    flex-direction: column;
  }

  .contents_profile h2{
    margin: 80px 0 16px;
    padding-left: 0;
    text-align: center;
  }

  .contents_profile .box_profile{
    flex-direction: column;
    margin: 0 0 40px;
  }

  .contents_profile figure{
    margin: 0 auto 16px;
  }

  .contents_profile .inroduce{
    width: 100%;
    padding-right: 0;
  }

  .contents_profile .inroduce .box{
    flex-direction: column;
  }

  /* Works：カードを縦に */
  .contents_works{
    flex-direction: column;
  }

  .contents_works h2{
    margin: 40px 0 16px;
    padding-left: 0;
    text-align: center;
  }

  .contents_works .box_works{
    flex-direction: column;
    gap: 16px;
  }

  .contents_works .thumbbox{
    width: 100%;
  }

  /* footer */
  .footer_wrapper h1{
    font-size: 24px;
    padding: 60px 0;
  }
}
