@charset "utf-8";

*,
::before,
::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
ul, li {
  list-style: none;
  text-decoration: none;
}
a {
  color: inherit;
  text-decoration: none;
}
/* フッターが浮いてしまうため設定 */
html, body {
  height: 100%;  
  width: 100%;
  margin: 0;     
  display: flex; 
  flex-direction: column; 
}
/* 全体のスタイル */
body {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  color: #000000;
  line-height: 1;
  background-color: #ffffff;
  height: 100%;
}
main{
  margin: 100px 0;
  /* height: min(100dvh - 70px); */
}
img {
  max-width: 100%;
} 
.toggle-menu-button {
  display: none; /* 初期状態では非表示 */
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}
.toggle-menu-button .bar {
  width: 30px;
  height: 4px;
  background-color: #000;
  border-radius: 2px;
}
/* 横幅と左右の余白 */
.w-container {
  width: min(92%, 1166px);
  margin: auto;
  position: relative;
}
.titles{
  padding: 40px 0;
  font-size: 30px;

}
/* タイトル */
.titles h2 {
  font-weight: bold;
  text-transform: uppercase;
  text-align: left;
}
/* ------------------------------------------------------------------------------------------------*/
header{
  background-color: #ffffff;
  position: fixed;
  width: 100%;
  height: 70px;
  top: 0;
  z-index: 9999;
}
.header-container{
  width: min(92%, 1166px);  
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header-container img {
  max-height: 60px;  
  width: auto; 
  object-fit: contain; 
}
.header-container ul {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: center;
}

.header-contact-btn {
  background-color: black;
  color: #fff;
  min-width: 100px;
  width: 50%;  /* 必要に応じて調整 */
  height: 30px;  /* ボタンの高さを指定 */
  border-radius: 24px;  /* 丸みをつける */
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;  /* 文字サイズ調整 */
  display: block;  /* aタグ全体をブロック要素にする */
  text-align: center;  /* 文字を中央揃え */
  margin: 0 auto;  /* 上下中央揃え */
  line-height: 30px;  /* 縦方向に中央揃え */
}

.header-contact-btn a {
  display: block;  /* aタグをブロック要素にする */
  text-decoration: none;  /* リンクの下線を消す */
  height: 100%;  /* 高さを親要素に合わせる */
  width: 100%;  /* 幅を親要素に合わせる */
  line-height: 30px;  /* 縦方向に中央揃え */
  color: white;  /* 文字色 */
  text-align: center;  /* 文字を中央揃え */
}

/* ------------------------------------------------------------------------------------------------*/

.profile {
  width: min(92%, 1166px);
  padding-bottom: 70px;
  margin-right: auto;
  margin-left: auto;
}
.profile-container{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 40px;
  gap: 32px;
  height: auto;
  width: 100%;
}
.profile-image {
  width: 100%; /* 親要素の幅に合わせて画像を調整 */
  max-width: 550px; /* 最大幅を設定（必要に応じて調整） */
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.profile-image img {
  width: 200px; 
  height: auto;
  object-fit: cover; /* 比率を保ちながら要素に合わせる */
  object-position: center; /* 画像の中心を表示 */
}
.profile-description {
  min-width: 180px;
  width: 20%;
  display: inline-block;
  justify-content: center;
  text-align: center;
  margin-right: auto;
  margin-left: auto;
  justify-content: center;
  align-items: center;
  width: 50%;
  line-height: 30px;
} 
.profile-name{
  margin-bottom: 20px;
  font-size: 20px;
}
.profile-summary{
  margin-top: 50px;
  width: 80%;          /* 幅を80%に設定 */
  margin: 0 auto;  /* 上下は 0、左右は自動で中央揃え */ /* 左右のマージンを自動に設定 */
}
.profile-summary span{
  font-weight: bold;
}
.profile-container {
  text-align: center; /* 中央揃え */
}
.profile-image {
  width: 100%; /* 親要素に合わせて幅を100%に */
  height: 250px;
  max-height: 250px; /* 高さの最大値を設定 */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden; /* はみ出した部分を隠す */
  object-fit: cover; /* 比率を保ちながら親要素に収める */
  object-position: bottom; /* 画像の下部を表示する */
}
.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 比率を保ちながら親要素に収める */
  object-position: 50% 80%;  /* 親要素に高さがないと動かない*/
}
.profile-description {
  display: flex;
  min-width: 180px;
  width: 20%;
  display: inline-block;
  justify-content: center;
  text-align: center;
  margin-top: 10px;
  justify-content: center;
  align-items: center;
  width:100%;
  line-height: 30px;
  font-size: 16px;
}
.profile-name{
  margin-top: 5px;
  font-size: 18px;
}
.profile-summary{
  margin-top: 50px;
  width: 80%;
}






/* ------------------------------------------------------------------------------------------------*/
.features-area {
  height: 70vh;
  background-color: #F7F7F7;
}
.features-container {
  position: relative;
  width: 500px;
  height: 100px;
  padding-top: 300px;
}

/* 円のスタイル */
.features-container .circle {
  position: absolute;
  width: 300px;  /* 円を大きく */
  height: 300px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  font-weight: bold;
  color: white;
  opacity: 0; /* 初期状態で非表示 */
  margin-top: 70px;
}

/* 左側の円（黒） */
.features-container .circle-left {
  background-color: #444;
  left: -150px;  /* スタート位置 */
  top: 50%;
  transform: translateY(-50%);
}

/* 右側の円（肌色） */
.features-container .circle-right {
  background-color: #A35C7A;
  right: -150px;  /* スタート位置 */
  top: 50%;
  transform: translateY(-50%);
}

/* `.animate` クラスが追加されたらアニメーションを適用 */
.features-container.animate .circle-left {
  animation: appear 1s ease-in-out forwards, moveLeft 1.5s ease-in-out forwards 1s;
}

.features-container.animate .circle-right {
  animation: appear 1s ease-in-out forwards, moveRight 1.5s ease-in-out forwards 1s;
}

/* 円の中のテキスト */
.circle-text-left, .circle-text-right {
  position: absolute;
  font-size: 32px;
  font-weight: bold;
  color: black;
}
/* `.animate` クラスが追加されたらテキストを表示 */
.features-container.animate .circle-text-left {
  animation: moveTextLeft 1.5s ease-in-out forwards 2s;
  opacity: 1;
}
/* `.animate` クラスが追加されたらテキストを表示 */
.features-container.animate .circle-text-right {
  animation: moveTextRight 1.5s ease-in-out forwards 2s;
  opacity: 1;
}
/* 中央のテキスト */
.text-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  opacity: 0;
  margin-top: 70px;
}
/* `.animate` クラスが追加されたらテキストを表示 */
.features-container.animate .text-overlay {
  animation: showText 1s ease-in-out forwards 3s;
}
.small-text {
  font-size: 16px;
  font-weight: bold;
  display: block;
}

.large-text {
  font-size: 40px; /* "提供価値" をより大きく */
  font-weight: bold;
  display: block;
}

/* 円のフェードイン */
@keyframes appear {
  0% {
      opacity: 0;
  }
  100% {
      opacity: 0.7;
  }
}

/* 左の円が移動 */
@keyframes moveLeft {
  0% {
      left: -130px;
  }
  100% {
      left: 10px;
  }
}

/* 右の円が移動 */
@keyframes moveRight {
  0% {
      right: -130px;
  }
  100% {
      right: 10px;
  }
}

/* 「顧客視点」のテキストを左へ移動 */
@keyframes moveTextLeft {
  0% {
    transform: translateX(0);
    opacity: 1;
  }
  100% {
    transform: translateX(-60px); /* 左側のテキストを左へ */
    opacity: 0.2;
  }
}

/* 「創造性」のテキストを右へ移動 */
@keyframes moveTextRight {
  0% {
    transform: translateX(0);
    opacity: 1;
  }
  100% {
    transform: translateX(60px); /* 右側のテキストを右へ */
    opacity: 0.2;
  }
}




@keyframes moveTextRight {
  0% {
      transform: translateX(0);
      opacity: 1;
  }
  100% {
      transform: translateX(60px); /* 右側のテキストを右へ */
      opacity: 0.2;
  }
}

/* 新しい中央テキストを表示 */
@keyframes showText {
  0% {
      opacity: 0;
  }
  100% {
      opacity:  1;
  }
}

/* ------------------------------------------------------------------------------------------------*/
/* 共通スタイル */
.education, .experience {
  margin-bottom: 100px;
}



/* 各リスト */
.education-list, .experience-list {
  list-style: none;
  padding: 0;
  margin-left: 50px;
}

/* 各項目のスタイル */
.education-list li, .experience-list li {
  font-size: 18px;
  line-height: 2;
  color: #333;
  position: relative;
  padding-left: 120px; /* 日付分のスペース */
  margin-bottom: 15px;
}

/* 日付のスタイル */
.date {
  position: absolute;
  left: 0;
  font-size: 18px;
  font-weight: bold;
  color: #666;
}

/* 受賞のスタイル */
.award {
  color: #f01d98;
  margin-left: 10px;
}

/* セクション間の余白調整 */
.experience {
  margin-top: 80px;
}

/* ------------------------------------------------------------------------------------------------*/
.skills{
  margin-top: 40px;

}

.skills-area {
  /* background-color: #F7F7F7; */
  height: auto;
  padding-top: 30px;
  padding-bottom: 50px;
  margin-left: 0;
  margin-right: 0;
  padding-right: 0;
  padding-left: 0;
}

.skills-container{
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding-top: 30px;
  padding-bottom: auto;
  padding-right: auto;
  padding-left: auto;
}


.skills-container ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  width: 80%;
  height: auto;

}

.skills-container li {
  display: flex;
  justify-content: center;
}

/* ------------------------------------------------------------------------------------------------*/
.interests-container ul {
  list-style: none;
  padding: 0;
  margin-left: 0; /* 余白をリセット */
  display: flex;
  flex-direction: column;
  gap: 20px; /* 各リスト間の余白 */
}

.interests-container ul li {
  display: flex;
  flex-direction: column; /* 横並びを解除して縦並びに */
  background: #f9f9f9; /* 優しい背景色 */
  padding: 20px;
  border-radius: 10px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.interests-container h3 {
  font-size: 22px;
  color: #333;
  margin-bottom: 10px;
}

.interests-container p {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
}
.interests-container p span {
  font-weight: 600;
  color: #000;
}





/* ------------------------------------------------------------------------------------------------*/


footer {
  width: 100%;
  height: 70px;
  background-color: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative; /* 固定を解除 */
  margin-top: auto; /* フッター上部に余白を追加 */
  padding-top: 50px;
}

.footer-container{
  display: flex;
  justify-content: space-between;
  color: #000000;
}

.footer-container ul {
  display: flex;
  justify-content: center;
  gap: 20px;
}




/* モバイル（768px以下）の場合 ------------------------------------------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  .header-container ul {
    display: none; /* 最初はメニューを非表示 */
    flex-direction: row;
    gap: 15px;
    width: 100%;
    height: 100%;
    text-align: center;
    opacity: 0; /* 初期状態で透明 */
    color: #000000; /* 文字色は白 */
    transition: opacity 1s ease; /* フェードイン・フェードアウトのアニメーション */
    font-size: 14px;
    font-family: 'Noto Sans JP';
  }

  .header-container.active ul {
    display: flex; /* activeクラスが追加された場合にメニューを表示 */
    opacity: 1; /* メニュー表示時に不透明 */
  }
  .toggle-menu-button {
    display: flex;
  }

  .toggle-menu-button {
    display: flex;
    flex-direction: column; /* バーを縦に並べる */
    justify-content: space-between; /* バーの間隔を均等に */
    width: 30px; /* ボタンの横幅を調整 */
    height: 22px; /* ボタンの高さを調整 */
  }

  .toggle-menu-button .bar {
    width: 30px; /* バーの横幅 */
    height: 4px; /* バーの高さ */
    background-color: #000; /* バーの色 */
    border-radius: 2px; /* バーの角を丸くする */
  }
  /* contact ボタンのスタイル */
  .header-contact-btn {
    display: flex;
    background-color: transparent;
    min-width: auto;
    text-align: center;  /* 文字を中央揃え */
    margin: 0 auto;  /* 上下中央揃え */
    line-height: 30px;  /* 縦方向に中央揃え */
  }
  .header-contact-btn a {
    color: #000000; /* 文字色は白 */
    font-family: 'Noto Sans JP';
    padding: 0;
    margin: 0;
  }
  .main-visual {
    height: 60vh; /* メインビジュアルの高さを調整 */
    padding-top: 80px; /* 上の余白を調整 */
  }
  .main-visual-container {
    background-image: url("../images/main-visual2-1.jpg");
    background-position: center;
    background-size: cover;
    position: relative;
    height: 100%;
  }
  .main-visual-container h1 {
    font-size: 24px; /* フォントサイズを調整 */
    text-align: left; /* タイトルを中央揃え */
    z-index: 1;
  }
  .titles, .sub-titles{
    padding-top: 40px;
    font-size: 20px;
  }
  /* プロフィール */
  .profile-container {
    text-align: center; /* 中央揃え */
    gap: 20px;
  }
  .profile-container-box{
    flex-direction: column;
    padding: 0;
  }
  .profile-image{
    width: auto;
  }
  .profile-image img {
    object-fit: contain;
    height: 250px;
  }
  .profile-description {
    width: 80%; 
    margin: 0 auto; 
  }
  .profile-name {
    font-size: 18px;
  }
  .profile-summary {
    margin-top: 30px;
    font-size: 14px; /* フォントサイズを小さく */
  }
  

  .features-container {
    width: auto;
  }
  .features-container .circle {
    width: 250px;  /* 円を大きく */
    height: 250px;
  }
  .circle-text-left, .circle-text-right {
    position: absolute;
    font-size: 24px;
    font-weight: bold;
    color: black;
  }
  .small-text {
    font-size: 16px;
    font-weight: bold;
    display: block;
  }
  .large-text {
    font-size: 30px; /* "提供価値" をより大きく */
    font-weight: bold;
    display: block;
  }


  .skills-area{
    height: auto;
    padding: 0 auto;
  }
  .skills-container{
    padding: 0 auto;
  }
  .skills-container ul {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    width: auto;
  }


  .experience-list {
    margin-left: 0px;
  }
  .experience-list li {
    font-size: 16px;
    padding-left: 100px; /* 日付分のスペース */
  }
  .date {
    position: absolute;
    left: 0;
    font-size: 16px;
    margin-left: 0;
  }


  .interests-container ul {
    gap: 15px; /* モバイルで少し詰める */
  }

  .interests-container ul li {
    padding: 15px;
  }

  .interests-container h3 {
    font-size: 18px;
    margin-bottom: 20px;
  }

  .interests-container p {
    font-size: 14px;
    line-height: 1.8;
  }


  footer {
    padding: 10px;
  }
  .footer-container{
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .footer-container p {
    margin-top: 10px;
  }
}
