
  /* common setting
  ----------------------------------- */
  /* 各セクションを高さいっぱいに設定 */
  section {
    height: 100vh; /* ビューポートの高さを占有 */
    display: flex; /* 中央寄せにするためフレックスボックスを使用 */
    flex-direction: column;
    justify-content: center; /* 横方向中央寄せ */
    align-items: center; /* 縦方向中央寄せ */
    text-align: center;
    padding: 20px; /* 内側の余白 */
    box-sizing: border-box; /* パディングを含めて高さを計算 */
    scroll-snap-align: start; /* 各セクションのスナップ位置を設定 */
  }

  
  
  /* スクロールした際の背景色の変化をつけると効果的 */
  .about-section {
    background-color: #f4f4f4;
  }
  
  .portfolio-section {
    background-color: #fff;
  }
  
  .contact-section {
    background-color: #222;
    color: #fff;
  }

/* fv
-------------------------------------- */

body, html {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
  }
  
  .fv-container {
    position: relative;
    height: 150vh; /* 150%の高さでスクロールスペースを確保 */
    background-color: #eae4e4; /* 背景色 */
  }
  
  .frame {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 500px;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    z-index: 10;
    transition: all 0.5s ease; /* アニメーション効果 */
  }
  
  .content {
    width: 100%;
    height: 100%;
    background: #868585;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    font-size: 2rem;
  }
  
  .frame.fullscreen {
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    transform: none;
    border-radius: 0;
    z-index: 1;
  }
  


/* FVのフルスクリーン機能
---------------------------------------------- */
.fv-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #cecece;
    z-index: 10;
    transition: opacity 1s ease, transform 1s ease;
  }
  
  .fv-container.hidden {
    opacity: 0;
    pointer-events: none;
  }
  
  .frame {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 500px;
    border-radius: 20px;
    background-color: #000;
    transition: all 0.5s ease;
  }
  
  .frame.fullscreen {
    width: 100vw;
    height: 100vh;
    border-radius: 0;
    transform: none;
  }
  
  /* メインコンテンツのフェードイン */
  .main-container {
    opacity: 0;
    transition: opacity 1s ease;
  }
  
  .main-container.visible {
    opacity: 1;
  }


  /* FVのタイピングテキスト
  ------------------------------------- */
  /* タイピングテキストの見た目 */
  #typing-text {
    font-family: 'Playfair Display', serif;
    font-size: 3rem; /* 適切なフォントサイズ */
    font-weight: 700;
    color: #fff; /* テキストが背景に埋もれていないか確認 */
    text-align: center;
    white-space: nowrap; /* 文字列が改行されないようにする */
    overflow: hidden; /* タイピング中の文字が見切れるのを防ぐ */
    border-right: 3px solid #fff; /* タイピングカーソル */
    display: inline-block;
  }
  


#typing-text {
  animation: blink 0.7s step-end infinite;
}

@keyframes blink {
  from, to {
    border-right-color: transparent;
  }
  50% {
    border-right-color: #fff;
  }
}


/* subtext */
#sub-text {
  opacity: 0; /* 初期状態は非表示 */
  transition: opacity 1s ease; /* フェードインアニメーション */
  font-size: 1rem;
  font-weight: 400;
}
#sub-text.visible {
  opacity: 1; /* 表示状態 */
}

#sub-text {
  font-size: 1rem; /* 適切なフォントサイズ */
  font-weight: 400;
  color: #fff; /* サブテキストの色 */
  text-align: center;
  white-space: nowrap; /* 改行を防ぐ */
  overflow: hidden; /* タイピング中の文字が見切れるのを防ぐ */
  border-right: 3px solid #fff; /* タイピングカーソル */
  display: inline-block;
  opacity: 1; /* 最初から表示する */
}

  


  /*  main contents
  ------------------------------------- */
  /* メインコンテンツ全体のスタイル */
.main-container {
    opacity: 0; /* 初期状態は非表示 */
    transition: opacity 1s ease; /* フェードインのアニメーション */
    margin-top: 100vh;
  }
  
  .main-container.visible {
    opacity: 1; /* FV非表示後にフェードイン */
  }
  

  

  /* About
  ------------------------------------ */

/* Aboutセクション全体 */
.about-section {
  padding: 60px 20px;
  background-color: #f4f4f4;
  text-align: center;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 20px;
}

.about-content p {
  font-family: 'Noto Sans JP', sans-serif;
  color: #666;
  line-height: 1.8;
  margin-bottom: 40px;
}

/* カードコンテナ */
.about-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

/* 各カードのスタイル */
.about-card {
  background-color: #fff;
  border-radius: 10px;
  width: 300px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* アイコンのスタイル */
.about-card i {
  font-size: 3rem;
  color: #444;
  margin-bottom: 15px;
}

/* カード内タイトル */
.about-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 10px;
}

/* カード内テキスト */
.about-card p {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
}

/* ホームページ制作カードのスタイル */
.about-card:nth-child(1) {
  background-color: #fce4ec; /* ピンク系 */
  color: #333; /* テキストの色を濃い目に */
}

/* オンライン授業カードのスタイル */
.about-card:nth-child(2) {
  background-color: #e3f2fd; /* ブルー系 */
  color: #333; /* テキストの色を濃い目に */
}

/* カード内テキストの色調整 */
.about-card:nth-child(1) p,
.about-card:nth-child(2) p {
  color: #555; /* 読みやすい濃さに調整 */
}

/* カード内アイコンの色調整 */
.about-card:nth-child(1) i {
  color: #d81b60; /* ピンク系アイコン */
}

.about-card:nth-child(2) i {
  color: #1976d2; /* ブルー系アイコン */
}


/* liをカテゴリとして背景色で囲むスタイル */
.about-card ul li {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.8rem;
  line-height: 1.6;
  color: #666; /* テキスト色 */
  margin-bottom: 10px;
  padding: 10px 15px; /* 内側の余白 */
  background-color: #cecece;
  border-radius: 5px; /* 角を丸くする */
  text-align: center;
	align-items: center; /* アイコンとテキストを中央揃え */
  text-align: left; /* テキストを左揃え */
  
}

/* ホバー時の色変更 */
.about-card ul li:hover {
  background-color: #0056b3; /* ホバー時の背景色 */
}

.about-card:nth-child(1) ul li {
  /*background-color: #28a745;*/ /* 緑系 */
}

.about-card:nth-child(2) ul li {
  /*background-color: #007BFF;*/ 
}

.about-card ul li::before {
  content: "✔"; /* 任意のアイコン */
  margin-right: 10px;
  color: #666; /* テキスト色 */
}

.about-card ul {
  padding-left: 20px; /* リスト全体のインデント */
  list-style: none; /* デフォルトのリストスタイルを削除 */
}

  
  /* works
  ------------------------------------ */
/* Worksセクション全体 */
/* Worksセクション全体 */
.works-section {
  text-align: center;
  padding: 60px 20px;
  background-color: #f9f9f9;
}

.works-section h2 {
  font-family: 'Playfair Display', serif;
  color: #333;
  margin-bottom: 20px;
}

.works-section p {
  font-family: 'Noto Sans JP', sans-serif;
  color: #666;
  margin-bottom: 40px;
}

/* 横長のカードスタイル */
.works-slider {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  scroll-snap-type: x mandatory;
}

.work-card {
  display: flex;
  flex: 0 0 100%; /* カードが1カラムで表示される */
  scroll-snap-align: start;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.work-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* 左側の画像部分 */
.work-image {
  flex: 1; /* 左右で均等に分ける */
}

.work-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 右側のコンテンツ部分 */
.work-content {
  flex: 1;
  padding: 20px;
  text-align: left;
}

.work-content h3 {
  font-family: 'Playfair Display', serif;
  margin-bottom: 15px;
  color: #333;
}

.work-content p {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 15px;
  color: #666;
}

.work-content ul {
  list-style: disc;
  padding-left: 20px;
}

.work-content ul li {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1rem;
  color: #555;
}

/* 強調表示（ハイライト） */
.highlight {
  background-color: #ffeb3b;  /* 黄色の背景 */
  padding: 2px 6px;
  border-radius: 4px;
}

  

  /*  contact
  ----------------------------------------- */
  /* Contactセクション */
  .contact-section form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }
  
  .contact-section input,
  .contact-section textarea {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
  }

  .btn-input{
    background: none;
  }
  .contact-section textarea {
    height: 150px;
  }
  
  .contact-section button {
    padding: 15px;
    background-color: #444;
    color: #fff;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  
  .contact-section button:hover {
    background-color: #666;
  }
  
  

/*20250111
--------------------------------------*/
/* FV内のコンテンツ（ふわっと表示対象） */
#content {
  opacity: 0; /* 初期状態で非表示 */
  transform: scale(0.8) rotateX(-10deg); /* 少し縮小して回転 */
  transform-origin: center center; /* 回転の基準を中央に */
  transition: opacity 1.5s ease, transform 1.5s ease; /* ふわっと表示のトランジション */
}

#content.visible {
  opacity: 1; /* 表示状態 */
  transform: scale(1) rotateX(0); /* 元の位置に戻る */
}

/* タイピングテキストのスタイル */
#typing-text {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  border-right: 3px solid #fff;
  display: inline-block;
}

/* サブテキストのスタイル */
#sub-text {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.2rem;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  border-right: 3px solid #fff;
  display: inline-block;
  opacity: 0; /* 初期状態で非表示 */
  transition: opacity 1s ease; /* フェード用のトランジション */
}

#sub-text.visible {
  opacity: 1; /* タイピング後に表示 */
}




/* サブテキストのスタイル */
#sub-text {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.2rem;
  color: #fff;
  white-space: nowrap; /* 改行を防ぐ */
  overflow: hidden; /* タイピング中の文字が見切れるのを防ぐ */
  border-right: 3px solid #fff; /* タイピングカーソル */
  display: inline-block;
  opacity: 1; /* 表示状態 */
  transition: opacity 1s ease; /* フェード用のトランジション */
}











  /* スマホ用 */
  /* Worksセクションの横長カード */
.work-card {
  display: flex;
  flex-direction: row; /* デフォルトは横並び */
  flex: 0 0 100%; /* 1カラムで表示 */
  scroll-snap-align: start;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}




/*  20250122
------------------------- */
/* Worksセクション */
.works-section {
  padding: 60px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.works-section h2 {
  font-family: 'Playfair Display', serif;
  color: #333;
  margin-bottom: 20px;
}

.works-section p {
  font-family: 'Noto Sans JP', sans-serif;
  color: #666;
  margin-bottom: 40px;
}

/* Worksコンテナ */
.work-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: flex-start;
}

/* 左側の大きな画像 */
.work-image {
  flex: 1 1 40%;
  max-width: 500px;
}

.work-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* 右側のテキストとサムネイル */
.work-details {
  flex: 1 1 50%;
  text-align: left;
}

.work-details h3 {
  font-family: 'Playfair Display', serif;
  color: #333;
  margin-bottom: 20px;
}

.work-details p {
  font-family: 'Noto Sans JP', sans-serif;
  color: #555;
  line-height: 1.8;
  margin-bottom: 20px;
}

.work-details ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 30px;
}

.work-details ul li {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1rem;
  color: #555;
}

/* サムネイル付き「こだわりポイント」 */
.work-thumbnails {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.thumbnail {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding: 20px;
  flex: 1 1 20%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}



.thumbnail img {
  max-width: 100%;
  border-radius: 10px;
  margin-bottom: 10px;
}

.thumbnail p {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: #333;
  margin-bottom: 10px;
}

/* サムネイル内のオプションリスト */
.option-list {
  list-style: disc;
  padding-left: 20px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.9rem;
  color: #555;
  text-align: left;
}

/* モバイル対応 */
@media (max-width: 768px) {
  .work-container {
    flex-direction: column;
  }

  .work-image,
  .work-details {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .work-thumbnails {
    flex-direction: column;
  }

  .thumbnail {
    flex: 1 1 100%;
  }
}





/* モバイル対応: 縦並びにする */
@media (max-width: 768px) {
  .work-card {
    flex-direction: column; /* 縦並び */
  }

  .work-image {
    flex: none; /* フレックスの影響をなくす */
    width: auto; /* 必要に応じて調整 */
}

  .work-content {
    padding: 15px; /* モバイル用のコンテンツ内余白を調整 */
  }
}

/* その他の要素を適宜レスポンシブ対応 */
.works-slider {
  overflow-x: auto;
  gap: 20px;
  scroll-snap-type: x mandatory;
  padding-bottom: 20px; /* スクロールバーの余白を確保 */
}

.work-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* モバイル対応: 余白調整 */
@media (max-width: 768px) {
  .works-section,
  .online-videos-section,
  .media-section {
    padding: 40px 15px;
  }
}




/* 20250131
---------------------------- */
/* Worksセクション全体 */
.works-section {
  text-align: center;
  padding: 60px 20px;
  background-color: #f9f9f9;
}

.works-section h2 {
  font-family: 'Playfair Display', serif;
  color: #333;
  margin-bottom: 20px;
}

.works-section p {
  font-family: 'Noto Sans JP', sans-serif;
  color: #666;
  margin-bottom: 40px;
}

/* メインコンテンツレイアウト */
.work-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

/* 左側の大きな画像 */
.work-image {
  flex: 1 1 50%;
  text-align: center;
}

.work-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* 右側の詳細情報 */
.work-details {
  flex: 1 1 50%;
  text-align: left;
}

.work-details h3 {
  font-family: 'Playfair Display', serif;
  color: #333;
  margin-bottom: 15px;
}

.work-details p {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  color: #666;
}

/* 言語リスト */
.work-details ul {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.work-details ul li {
  background-color: #e0e2e3;
  color: #4b6177;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
}

/* サムネイル一覧 */
.work-thumbnails {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

/* サムネイル個別 */
.thumbnail {
  /* flex: 1 1 30%; */
  text-align: center;
  background: #fff;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.thumbnail:hover {
  /* transform: translateY(-5px); */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.thumbnail img {
  width: 100%;
  max-width: 150px;
  border-radius: 8px;
  height: 85px;
}

.thumbnail p {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1rem;
  /* font-weight: bold; */
  color: #444;
  margin-top: 10px;
}

/* サムネイル内のリスト */
.option-list {
  list-style: none;
  padding: 0;
  margin-top: 10px;
}

.option-list li {
  font-size: 0.9rem;
  color: #666;
  background: #f0f0f0;
  padding: 5px;
  border-radius: 5px;
}

/* スマホ用調整 */
@media (max-width: 768px) {
  .work-container {
    flex-direction: column;
  }

  .work-image img {
    max-width: 100%;
  }

  .work-thumbnails {
    flex-direction: column;
    align-items: center;
  }

  .thumbnail {
    width: 80%;
  }
}


/* モーダル背景 */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
}

/* モーダルコンテンツ */
.modal-content {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  max-width: 80%;
  max-height: 80%;
  position: relative;
}

/* モーダル内の画像 */
.modal-content img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 10px;
}

/* モーダルのクローズボタン */
.close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 2rem;
  color: #333;
  cursor: pointer;
}



/* 20240226
--------------------------------- */
video{
  width: 100%;
}

/* プロフィール
--------------------------------- */
.profile-section {
  padding: 50px 20px;
  background-color: #f9f9f9;
}

.profile-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

/* 名刺風デザイン */
.profile-card {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  width: 300px;
}

.profile-card img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin-bottom: 10px;
  background: antiquewhite;
}

.contact-info {
  list-style: none;
  padding: 0;
}

.contact-info li {
  font-size: 14px;
  margin: 5px 0;
}

.profile-details {
  flex: 1;
}

.career-list {
  list-style: none;
  padding: 0;
}

.career-list li,
.work-content ul li {
  margin-bottom: 8px;
  padding-left: 40px;
  position: relative;
  text-align: left;
}

.career-list li::before {
  content: "•";
  color: #007BFF;
  font-size: 18px;
  position: absolute;
  left: 0;
  top: 2px;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
  .profile-container {
      flex-direction: column; /* 縦並び */
      align-items: center;
      text-align: center;
  }

  .profile-card {
      width: 90%; /* 幅を広げる */
      max-width: 350px;
  }

  .profile-details {
      width: 100%;
      padding-top: 20px;
  }

  .career-list li {
      font-size: 16px; /* 読みやすいサイズ */
      padding-left: 10px;
  }

  .career-list li::before {
      font-size: 16px;
      left: -5px;
  }
}



/* 20250227
--------------------------------------- */
/* 🔹 セクション全体のデザイン */
.section-container {
  padding: 50px 20px;
  background-color: #f9f9f9;
}

.section-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

/* 🔹 カードデザイン（名刺・実績など） */
.card {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  width: 300px;
}

/* 🔹 カード内の画像 */
.card img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin-bottom: 10px;
}

/* 🔹 右側のテキストエリア */
.section-details {
  flex: 1;
}

/* 🔹 リストデザイン */
.section-list {
  list-style: none;
  padding: 0;
}

.section-list li {
  margin-bottom: 8px;
  padding-left: 15px;
  position: relative;
}

.section-list li::before {
  content: "•";
  color: #007BFF;
  font-size: 18px;
  position: absolute;
  left: 0;
  top: 2px;
}

/* 🔹 スマホ対応 */
@media screen and (max-width: 768px) {
  .section-inner {
      flex-direction: column;
      align-items: center;
      text-align: center;
  }

  .card {
      width: 90%;
      max-width: 350px;
  }

  .section-details {
      width: 100%;
      padding-top: 20px;
  }

  .section-list li {
      font-size: 16px;
      padding-left: 10px;
  }

  .section-list li::before {
      font-size: 16px;
      left: -5px;
  }
}



/* プロフィールセクションの背景色を追加 */
.profile-section {
  background-color: #f0f0f0; /* 淡いグレー（変更可能） */
}

/* 他のセクションと背景色を区別 */
.about-section {
  background-color: white;
}

.works-section {
  background-color: #f9f9f9;
}

.online-videos-section {
  background-color: white;
}

.media-section {
  background-color: #f9f9f9;
}

.contact-section {
  background-color: white;
}



/* 名刺部分の h3 を通常のテキスト風に */
.profile-card h3 {
  font-weight: normal; /* 太字を解除 */
  background: none; /* 背景色をなくす */
  padding: 0; /* 余白をなくす */
  border-radius: 0; /* 角丸をなくす */
  display: block; /* 文章内のように表示 */
}


.profile-details {
  padding: 20px;
  border-radius: 8px;
}


/* 名刺部分をカードタイプにする */
.profile-card {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 名前部分をボタン風にする */
.name-box {
  background-color: #e8effa;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: bold;
  display: inline-block;
  font-size: 18px;
  margin-top: 10px;
}

/* 役職・連絡先を少し整える */
.profile-card p {
  font-size: 14px;
  margin: 8px 0;
}

.contact-info {
  list-style: none;
  padding: 0;
  margin-top: 10px;
}

.contact-info li {
  font-size: 14px;
  margin: 5px 0;
  display: flex;
  align-items: center;
  gap: 5px;
}



/* works改修
------------------------------------- */
.work-image {
  flex: 1 1 300px; /* 画像の幅を固定に近い形に */
  min-width: 200px; /* 最小サイズを設定 */
  max-width: 500px; /* 最大サイズを設定 */
}
.works-section{
  height: 100%;
}
@media screen and (max-width: 768px) {
  .work-image {
      flex: none; /* フレックスの影響をなくす */
      width: auto; /* 必要に応じて調整 */
  }
}



/* contact改修
------------------------------------*/
.contact-section {
  background-color: #868585;
  color: #fff;
}



/* 20250228
------------------------------------ */
/* ボタンのデフォルトスタイル */
.contact-section button {
  background-color: #444; /* フォーム背景と調和するダークグレー */
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 5px;
  transition: background-color 0.3s ease-in-out, transform 0.2s ease-in-out;
}

/* ホバー時のスタイル */
.contact-section button:hover {
  background-color: #666; /* 少し明るめのグレーに */
  transform: scale(1.05); /* わずかに拡大 */
}

/* フォーカス時のスタイル */
.contact-section button:focus {
  outline: 2px solid #999; /* アクセシビリティ対応 */
}


/* ナビゲーションボタンのサイズ調整 */
.scroll-nav {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.scroll-nav button {
  background: rgba(0, 0, 0, 0.6); /* 透明度を少し落とす */
  color: #fff;
  border: none;
  width: 45px;
  height: 45px;
  font-size: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, transform 0.2s ease-in-out;
}

/* ホバー時 */
.scroll-nav button:hover {
  background: rgba(0, 0, 0, 0.8); /* 透明度を少し濃く */
  transform: scale(1.1);
}

/* スクロールナビの透明度を小さく */
.scroll-nav button.inactive {
  opacity: 0.4;
  pointer-events: none;
}



/*  20250306 スマホ対策
------------------------------------- */
/* 共通設定はそのまま */

/* .frame の基本設定 */
.frame {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 500px;
  border-radius: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  z-index: 10;
  transition: all 0.5s ease;
}

/* スマホ向け .frame 調整 */
@media (max-width: 768px) {
  .frame {
    width: 90%;
    border-radius: 10px;
  }
  
  #typing-text {
    font-size: 2rem;
  }
  #sub-text {
    font-size: 1rem;
  }
  
  .profile-container,
  .work-container,
  .works-section,
  .contact-section {
    /* padding: 40px 15px;  */
  }
  
  /* 必要に応じて他のコンテナも幅をパーセンテージ指定に変更 */
}

/* プロフィールカードの例 */
.profile-card {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media screen and (max-width: 768px) {
  .profile-card {
    width: 90%;
    max-width: 350px;
    margin: 0 auto;
  }
  
  .contact-section input, .contact-section textarea{
    width: 80%;
  }
  .contact-section button input{
    width: 100%;
  }

  /*  works
  --------------------------- */
  .thumbnail img {
    width: 100%;
    max-width: 100%;
    border-radius: 8px;
    height: auto;
}





   /*  フォント
  ---------------------------- */
  h3{
    font-size: 1.1em;
  }
  h2{
    font-size: 24px;
  }
  p,
  .work-details p,
  .work-content p,
  .career-list li,
  .career-list li, .work-content ul li{
    font-size: 14px;
    /* text-align: left; */
  }
  
  .work-thumbnails p{
    text-align: center;
  }

  .work-details ul li,{
    font-size: 12px;
  }
  .work-details ul li {
    font-size: 0.8em;
  }
  

 

  
}

