@charset "UTF-8";

/* グローバルスタイル */
/* 全体に適用するスタイル*/
body {
  font-family: "DIN2014", "Helvetica", "Arial", sans-serif, /* 英語用フォント */
               "Yu Gothic", "Noto Sans JP", "Meiryo", sans-serif; /* 日本語用フォント */
  color: #4B4D37; /* 文字色 */
  background-color: #FFFFFF; /* 白背景 */
}

/* メインの本文のスタイル */
p.large {
  font-size: 18px; /* フォントサイズ */
  font-weight: medium; /* 細字 */
  line-height: 1.5; /* 行間 */
  letter-spacing: 0.em; /* 文字間 */
}

/* ボタンのスタイル */
.button-primary {
  display: inline-block; /* インラインブロック表示 */
  margin-top: 60px; /* 上に余白を追加 */
  padding: 20px 30px; /* ボタンの内側の余白を追加 */
  background-color: #D2986A; /* 背景色 */
  color: #fff; /* 文字色 */
  text-decoration: none; /* テキスト装飾を削除 */
  font-size: 18px;
  font-weight: 600; /* 太字 */
  letter-spacing: 0em; /* 文字間 */
  border-radius: 6px; /* 角を丸くする */
  text-align: center; /* テキストを中央揃え */
  transition: background-color 0.3s; /* 背景色の遷移を追加 */
}

/* ボタンのホバー時のスタイル */
.button-primary:hover {
  background-color: #B57D58; /* ホバー時の背景色 */
} 


/* レイアウト: コンテナと全体のレイアウト設定 */
/* コンテンツ幅 */
.container {
  max-width: 1120px; /* コンテナの最大幅を1120pxに設定 */
  margin: 0 auto; /* 中央揃え */
}

.section-title { 
  text-align: center; /* 中央揃え */
  margin-bottom: 60px; /* 見出しの下に余白を追加 */
  position: relative; /* 親要素に相対配置 */
}

/* セクションの英語見出しのスタイル設定 */ 
.title-en {
  font-size: 64px; /* 英語表記のフォントサイズ */
  font-weight: bold; /* 太字 */
  line-height: 1.3; /* 行間 */
  letter-spacing: 0em; /* 文字間 */
  display: block; /* ブロック表示で日本語の上に配置 */
  margin-bottom: 10px; /* 英語表記と日本語表記の間に余白を追加 */
}

/* セクションの日本語見出しのスタイル設定 */
.title-ja-wrapper {
  display: flex;
  justify-content: center; /* 中央揃え */
  align-items: center;
  position: relative; /* 親要素に相対配置 */
}

/* 日本語見出しの詳細スタイル設定 */
.title-ja {
  font-size: 24px; /* 日本語表記のフォントサイズ */
  font-weight: bold; /* 太字 */
  line-height: 1.3; /* 行間 */
  letter-spacing: 0em; /* 文字間 */
  position: relative; /* 日本語表記の相対配置で装飾線を調整 */
  padding: 0 12px; /* 日本語表記の前後に12pxの余白を追加 */ 
}

/* 日本語表記の装飾線 */
.title-ja:before, .title-ja:after {
  content: ""; /* 空のコンテンツを追加 */
  position: absolute;
  top: 50%; /* 縦中央に配置 */
  transform: translateY(-50%);
  height: 1px; /* 線の高さを設定 */
  width: 35px; /* 線の幅を35pxに設定 */
  background-color: #4B4D37; /* 線の色を設定 */
}

/* 左側の装飾線 */
.title-ja::before {
  left: -47px; /* 左側に配置 */
}

/* 右側の装飾線 */
.title-ja::after {
  right: -47px; /* 右側に配置 */
}

/* ヘッダーについて */
/* ヘッダー全体のスタイル */
.header {
  background-color: #fff; /* 必要に応じて背景色を設定 */
  height: 90px;
  padding: 30px;
  display: flex; 
  justify-content: center; /* 子要素を中央揃え */ 
  align-items: center; /* 垂直方向も中央揃え */
  position: fixed; /* 固定位置に設定 */ 
  top: 0; /* 上部に固定 */ 
  left: 0; /* 左側に固定 */ 
  width: 100%; /* 幅を100%に設定 */
  z-index: 1000; /* 最前面に表示 */
}

/* ナビゲーションバーのスタイル */ 
.nav { 
  display: flex; 
  justify-content: center; /* ナビゲーションを中央揃え */ 
  align-items: center; /* 垂直方向も中央揃え */ 
}

/* ナビゲーションリストのスタイル */
.nav-list {
  list-style: none;
  display: flex;
  gap: 60px; /* ナビゲーション間のスペース */
  padding: 0;
  margin: 0;
}

/* ナビゲーションアイテムのスタイル */ 
.nav-item {
  text-align: center;
}

/* ナビゲーションリンクの基本スタイル */
.nav-link {
  text-decoration: none;
  color: #4B4D37;
  display: inline-block;
  transition: color 0.3s ease;
}

/* 英語表記のスタイル */
.nav-en {
  font-size: 24px;
  font-weight: 600;
  font-style: normal;
  display: block; /* ブロック要素で日本語の上に配置 */
  line-height: 1.2;
  letter-spacing: 0em;
}

/* 日本語表記のスタイル */
.nav-ja {
  font-size: 14px;
  color: #4B4D37; /* 英語表記より控えめな色にする */
  display: block;
  line-height: 1.2;
  letter-spacing: 0em;
  font-weight: normal;
  margin-top: 4px; /* 英語表記との間隔を調整 */
}

/* ホバー時のスタイル */
.nav-link:hover {
  color: #D2986A; /* ホバー時にリンク色を変更 */
}

/* ハンバーガーメニューのスタイル */ 
.menu-icon { 
  display: none; 
  flex-direction: column; 
  justify-content: space-around; 
  align-items: flex-end; 
  width: 30px; 
  height: 30px; 
  cursor: pointer;
  position: absolute; 
  right: 20px;  
  z-index: 1001; /* 最前面に表示 */ 
  transition: transform 0.3s ease; /* アニメーションの追加 */
} 

.menu-line { 
  width: 100%; 
  height: 4px; 
  background-color: #4B4D37; 
  transition: all 0.3s ease; /* アニメーションの追加 */
}

.menu-icon.active .menu-line:nth-child(1) { 
  transform: translateY(10px) rotate(45deg); /* 上の線を斜めにする */ 
} 

.menu-icon.active .menu-line:nth-child(2) { 
  opacity: 0; /* 真ん中の線を非表示にする */ 
} 

.menu-icon.active .menu-line:nth-child(3) { 
  transform: translateY(-10px) rotate(-45deg); /* 下の線を斜めにする */ 
}

.menu-content {
  display: none; 
  position: fixed; 
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100vh; 
  background-color: #fff; 
  z-index: 999; 
  justify-content: center; 
  align-items: center; 
  flex-direction: column; 
} 

/* ハンバーガーメニューが開いた時のナビゲーションのスタイル */
.menu-content ul { 
  list-style: none; 
  padding: 0; 
}

.menu-content li { 
  margin: 20px 0; /* 余白を20pxに設定 */ 
}

.menu-content a { 
  font-size: 24px; /* フォントサイズを24pxに設定 */ 
  color: #4B4D37; 
  text-decoration: none; 
  padding: 10px 20px; /* 内側余白を追加 */ 
  display: block; /* ブロック要素にして全体をクリック可能にする */ 
  transition: background-color 0.3s ease; /* 背景色の遷移を追加 */ 
}

/* ファーストビュー */
/* ファーストビュー全体 */
.first-view {
  position: relative;
  height: 100vh; /* 高さを固定 */
  width: 100%; /* 幅を100%に設定 */
  display: flex; 
  flex-direction: column; 
  justify-content: center; /* 縦方向で中央揃え */ 
  align-items: center; /* 横方向で中央揃え */ 
  text-align: center;
  overflow: hidden; /* コンテンツのはみ出しを防ぐ */
}

/* 背景のラッパー */
.background {
  position: absolute; /* 背景を絶対配置 */
  top: 0;
  left: 0;
  width: 100%; /* 横幅を100%に設定 */
  height: 100%; /* 全体の高さをカバー */
  z-index: -1; /* 最背面に配置 */
  display: flex;
  flex-direction: column; /* 上下に分割 */
}

/* 上部の背景色 */
.top-color {
  background-color: #FFF6EC;
  height: 42%; /* 背景上部の高さ */
  width: 100%;
}

/* 下部の背景色 */
.bottom-color {
  background-color: #D2986A;
  height: 58%; /* 背景下部の高さ */
  width: 100%;
}

/* テキストコンテンツ */
.text-content {
  position: absolute;
  bottom: 65px; /* 下端からの余白 */
  left: 65px; /* 左端からの余白 */
  z-index: 10; /* テキストを前面に表示 */
  display: flex;
  flex-direction: column; /* 縦方向に配置 */
  align-items: flex-start; /* 左揃え */
}

/* 区切り線のアニメーション */
@keyframes slideInLine {
  0% {
    width: 0;
  }
  100% {
    width: 107%; /* サブコピーの文字の終わりまで長さを出す */
  }
}

/* メインタイトルのアニメーション */
@keyframes slideInFromBottom {
  0% {
    transform: translateY(100px);
    opacity: 0; /* 初期状態では透明 */
  }
  80% {
    transform: translateY(-10px);
    opacity: 1; /* 徐々に表示 */
  }
  100% {
    transform: translateY(0);
    opacity: 1; /* 完全に表示 */
  }
}

/* サブコピーのアニメーション */
@keyframes slideInFromTop {
  0% {
    transform: translateY(-100px);
    opacity: 0; /* 初期状態では透明 */
    }
  80% {
    transform: translateY(10px);
    opacity: 1; /* 徐々に表示 */
    }
  100% {
    transform: translateY(0);
    opacity: 1; /* 完全に表示 */
  }
}

/* 区切り線の初期スタイルとアニメーション */
.divider {
  width: 0%;
  height: 3px;
  background-color: #fff;
  box-shadow: 4px 4px 10px rgba(162, 118, 82, 0.2);
  margin: 10px 0;
  margin-left: -65px;
  animation: slideInLine 1s forwards 1s; /* 1秒後に1秒間かけてスライドイン */
}

/* メインタイトルの初期スタイルとアニメーション */
.main-title {
  font-size: 64px; /* フォントサイズ */
  font-weight: 700; /* 太字 */
  color: #fff;
  line-height: 1.2; /* 行間 */
  letter-spacing: 0.2em; /* 文字間 */
  margin: 0;
  text-shadow: 4px 4px 10px rgba(162, 118, 82, 0.2);
  text-align: left; /* 左揃え */
  opacity: 0; /* 初期は透明 */
  animation: slideInFromBottom 1s ease-out forwards 1.5s; /* 1.5秒後に1秒間かけてスライドイン */
}

/* サブコピーの初期スタイルとアニメーション */
.sub-copy {
  font-size: 25px; /* フォントサイズ */
  font-weight: 500; /* Demi */
  color: #fff;
  line-height: 1.2; /* 行間 */
  letter-spacing: 0.2em; /* 文字間 */ 
  text-shadow: 4px 4px 10px rgba(162, 118, 82, 0.2);
  margin: 10px 0 0 0;
  text-align: left; /* 左揃え */
  opacity: 0; /* 初期は透明 */
  animation: slideInFromTop 1s ease-out forwards 1.5s; /* 1.5秒後に1秒間かけてスライドイン */
}

.sub-copy.mobile { 
  display: none; /* デフォルトでは非表示 */ 
}

/* 画像コンテナ */
.image-container {
  position: absolute; /* 親要素内で自由配置 */
  top: 55%; /* 垂直方向で中央揃え */
  right: 65px; /* 右端からの余白 */
  transform: translateY(-50%); /* 垂直方向で中央揃え */
  z-index: 1; /* テキストより後ろ */
}

/* 窓枠の画像 */
.window-image {
  max-width: 640px; /* 画像の幅を制限 */
  max-height: 660px; /* 画像の高さを制限 */
  width: auto; /* 比率を維持 */
  height: auto; /* 比率を維持 */
  object-fit: contain; /* 比率を保ちながら収める */
}

/* ABOUTセクション*/
/* ABOUTセクションのコンテンツ配置 */
section#about {
  position: relative;
  padding-top: 130px;
}

.about-content {
  display: flex;
  align-items: center; /* 縦中央揃え */
  justify-content: space-between; /* コンテンツの間にスペースを配置 */
  gap: 80px; /* 画像とテキストの間にスペースを追加 */ 
  position: relative; /* 相対配置で装飾帯を配置 */
  margin-top: 60px; /* 日本語見出しと画像の間に60pxの余白を追加 */
}

/* 画像のスタイル */
.about-image {
  max-width: 50%; /* 画像の幅を50%に設定 */
  height: auto; /* 画像の高さを自動調整 */ 
}

/* テキストのスタイル */
.about-text {
  max-width: 50%; /* テキストコンテナの幅を50%に設定 */
  padding: 20px; /* カラム内に20pxの余白を追加 */ 
  position: relative; /* 相対配置でボタンを調整 */
}

/* ABOUTセクションのVIEW MOREボタンを右揃えに配置 */
.about-text .button-primary {
  position: absolute;
  right: 0;
  margin-top: 80px; /* pタグの下に80pxの余白を追加 */
}  

/* セクションの帯のスタイル */
.section-band {
  width: 100%; /* 幅を画面いっぱいに設定 */
  height: 115px; /* 高さを115pxに設定 */
  background-color: #FFF6EC; /* 帯の背景色 */
  position: absolute; /* 絶対配置 */
  bottom: -75px; /* セクションの下部に配置 */
  left: 0; /* 左端から配置 */
  z-index: -1; /* 他のコンテンツの背面に配置 */ 
}

/* WORKSセクション */
section#works {
  padding-top: 200px;
}

/* WORKSセクションのコンテンツ配置 */
.works-content {
  display: grid; /* グリッドレイアウトに変更 */
  grid-template-columns: repeat(3, 1fr); /* 3カラムに設定 */
  gap: 20px; /* 各作品の間にスペースを追加 */
  justify-content: center; /* コンテンツを中央揃え */
  max-width: 100%; /* 親要素の幅に対して最大幅を設定 */
  box-sizing: border-box;
}

/* 各作品のスタイル */
.work-item-container {
  display: block; /* ブロック要素にする */
  align-items: center; /* 中央揃え */
  margin-bottom: 40px; /* 下の余白40pxに設定 */
  width: 100%; /* コンテナの幅を100%に設定 */
  box-sizing: border-box; /* パディングとボーダーを含めてサイズを計算 */
}

/* 四角のオブジェクトのスタイル */
.work-item {
  background-color: #FFF6EC; /* 四角のオブジェクトの背景色 */
  width: 100%; /* 四角のオブジェクトの幅 */
  height: 240px; /* 四角のオブジェクトの高さ */
  display: flex; /* フレックスボックスで配置 */
  justify-content: center; /* 中央揃え */
  align-items: center; /* 中央揃え */
  padding: 20px; /* 内側に余白を追加 */
  border-radius: 10px; /* 角を丸くする */
  text-align: center; /* テキストを中央揃え */
  margin-bottom: 10px; /* 下に余白を追加 */
  box-sizing: border-box; /* パディングとボーダーを含めてサイズを計算 */
}

/* 画像コンテナのスタイル */
.work-image-container {
  display: flex; /* フレックスボックスで配置 */
  justify-content: center; /* 中央揃え */
  align-items: center; /* 中央揃え */
  width: 100%; /* 画像コンテナの幅を100%に設定 */
  height: 100%; /* 画像コンテナの高さを100%に設定 */
  margin-bottom: 10px; /* 画像とタイトルの間に余白を追加 */
}

/* バナーやLPのサムネイル画像 */
.work-image {
  max-width: 100%; /* 画像の最大幅を100%に設定 */
  max-height: 100%; /* 画像の最大高さを100%に設定 */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* ドロップシャドウを追加 */
  object-fit: cover; /* 画像の比率を保つ */
  transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.work-image-spacing {
  margin-left: 10px; 
}

/* ホバー時のスタイル */
.work-image:hover {
  transform: scale(1.05); /* 画像を少し大きくする */
}

/* 画像タイトル */
.work-title {
  font-size: 16px; /* タイトルのフォントサイズ */
  color: #4B4D37; /* タイトルの文字色 */
  font-weight: 500; /* ミディアム */
  margin-top: 10px; /* タイトルの上に余白を追加 */
  text-align: center; /* テキストを中央揃え */
}

/* CONTACTセクション */
section#contact {
  padding: 100px 0;
}

/* CONTACTセクションのコンテンツ配置 */
.contact-content {
  display: flex; /* フレックスボックスで配置 */
  justify-content: center; /* コンテンツを中央揃え */
  align-items: center; /* 縦中央揃え */
  flex-direction: column; /* 縦に配置 */
  text-align: center; /* テキストを中央揃え */
}

.large {
  margin: 0 auto ; /* 上下に余白を追加し、中央揃え */ 
}


/* フッター */
/* フッターのスタイル */
footer {
  background-color: #FFF6EC; /* フッターの背景色 */
  padding: 56px 0; /* 上下に56pxの余白を追加 */
  text-align: center; /* テキストを中央揃え */
}

/* フッターナビゲーションのスタイル */
.footer-nav {
  display: flex; /* フレックスボックスで横並び */
  justify-content: center; /* 中央揃え */
  margin-bottom: 12px; /* ナビゲーションとコピーライトの間に余白を追加 */ 
  flex-wrap: nowrap; /* 改行を防ぐ */
}

/* フッターリンクのスタイル */
.footer-link {
  font-size: 20px; /* フォントサイズ */
  font-weight: 600; /* Demi相当 */
  margin: 0 40px; /* 両端に40pxの余白を追加（合計80px間隔） */
  color: #4B4D37; /* リンクの色 */
  text-decoration: none; /* テキスト装飾を削除 */
  transition: color 0.3s; /* カラー遷移 */
  flex-wrap: nowrap; /* 改行を防ぐ */
}

/* フッターリンクのホバースタイル */
.footer-link:hover {
  color: #D2986A; /* ホバー時のリンク色 */ 
}

/* コピーライトのスタイル */
.footer-copy {
  font-size: 14px; /* フォントサイズ */
  font-weight: 400; /* レギュラーサイズ */
  color: #4B4D37; /* 文字色 */ 
}

/* 	ABOUTページの自己紹介文のセクション */
/* ABOUTページ専用のスタイル */
.about-page {
  padding-top: 150px; /* ヘッダーの高さ分 + 余裕を持たせたマージン */
}

#self-introduction { 
  margin-bottom: 130px; /* 下に130pxの余白を追加 */
  display: flex;
  flex-direction: column;
}

/* 	ABOUTページの名前部分の茶色の背景の帯 */
.name-title {
  display: flex;
  align-items: center; /* 垂直方向の中央揃え */
  justify-content: center; /* 水平方向の中央揃え */
  color: #fff;
  background-color: #D2986A;
  padding: 15px 20px;
  border-radius: 4px;
  margin: 20px 200px; 
  max-width: 670px; /* 最大幅を670pxに固定 */ 
  width: 100%; /* 幅を100%に設定 */ 
  box-sizing: border-box; /* パディングを含む */
  position: relative;
}

/* 	名前英語表記 */
.name-en {
  font-size: 32px;
  letter-spacing: 0.2em;
  font-weight: 600; 
}

/* 	名前日本語表記 */
.name-ja {
  font-size: 18px;
  font-weight: 700; /* Bold */
  margin-left: 75px; /* 英語と日本語の間の余白 */
}

/* 	ABOUTページの写真 */
.profile-image { 
  max-width: 100%; 
  height: auto; 
  width: 720px; /* 画像の最大幅を720pxに設定 */ 
  max-height: 560px; /* 画像の最大高さを560pxに設定 */ 
  display: block; 
  margin: -40px auto 0; /* 上側をマイナスにして重なるように調整し、中央揃え */ 
  box-sizing: border-box; /* パディングを含む */
}

/* 	ABOUTページの自己紹介文の下の帯 */
.profile-text-wrapper {
  position: relative; /* 親要素に対して相対位置を設定 */
  max-width: 720px; /* 最大幅を720pxに設定 */
  margin: -30px auto;
  padding: 20px; /* 内部余白を追加 */
  background-color: #FFF6EC; /* 下の帯の色を設定 */
  border-radius: 6px; /* 角を丸くする */
  box-sizing: border-box; /* パディングを含む */
  color: #4B4D37; /* テキストの色を白に設定 */
  margin-right: 115px;
}

/* 	ABOUTページの自己紹介文の上の帯 */
.profile-text-overlay {
  position: absolute; /* 絶対位置を設定 */
  top: 15px; /* 少しずらす */
  left: 15px; /* 少しずらす */
  right: -25px; /* 少しずらす */
  bottom: -25px; /* 少しずらす */
  background-color: #FFF6EC; /* 乗算モードの色を設定 */
  opacity: 0.8; /* 色を濃くするための透明度を設定 */
  mix-blend-mode: multiply; /* 乗算モードを設定 */
  border-radius: 6px; /* 角を丸くする */
}

.profile-text {
  position: relative; /* 親要素内で相対位置を設定 */
  font-size: 18px; /* フォントサイズ */
  line-height: 1.5; /* 行間 */
  margin: 0 0 20px 0; /* 各段落の下に20pxの余白を追加 */
}

/* SKILLSセクションのスタイル */ 
#skills { 
  clear: both; /* floatのクリアを追加 */ 
  position: relative; /* 相対配置に設定 */ 
}

.common-section {
  background-color: #FFF6EC; /* 背景色を設定 */
  max-width: 90%; /* 幅を100%に設定 */
  height: auto;
  padding: 50px 40px; /* セクションにパディングを追加 */
  box-sizing: border-box;
  margin: 20px auto;
  border-radius: 6px;
}

.common-container {
  display: flex; /* フレックスボックスで横並びに */
  flex-direction: row; /* 横方向に配置 */
  justify-content: space-between; /* スペースの均等配置 */
  align-items: center; /* 垂直方向の中央揃え */
  max-width: 1200px; /* 最大幅を1200pxに設定 */
  margin: 0 auto; /* 中央揃え */
}

.common-left {
  flex: 20%; 
  word-wrap: break-word; /* 子要素がオーバーフローしないように設定 */
  position: relative;
}

.common-right {
  width: 80%;
  word-wrap: break-word; /* 子要素がオーバーフローしないように設定 */
}


.common-left h4 {
  margin: 0; /* 余白をリセット */
  font-size: 32px; /* フォントサイズを調整 */
  text-align: center; /* フォントサイズを調整 */
}

.common-left span {
  display: block; /* ブロック要素として表示 */
  margin-top: 10px; /* 上に余白を追加 */
  font-size: 20px; /* フォントサイズを調整 */
  color: #4B4D37; /* テキストの色を調整 */
}

.about-divider {
  width: 1px; /* 区切り線の幅を設定 */
  height: 50px; /* 区切り線の高さを設定 */
  background-color: #4B4D37; /* 区切り線の色 */
  margin: 0 20px; /* 左右に余白を追加 */
  animation: none;
}

.common-right p {
  margin: 0; /* 余白をリセット */
  font-size: 18px; /* フォントサイズを調整 */
  line-height: 1.5; /* 行間を調整 */
  padding-left: 40px;
}

.tool-item { 
  margin-bottom: 20px; /* 各項目の間に余白を追加 */ 
  display: flex; /* 横並びに配置 */
  align-items: center; /* 垂直方向の中央揃え */
  flex-direction: row; /* 横方向に配置 */
} 

.tool-title { 
  background-color: #4B4D37; /* 背景色を設定 */ 
  color: #FFF; /* テキストの色を白に設定 */ 
  padding: 10px; /* 内部余白を追加 */ 
  border-radius: 4px; /* 角を丸くする */ 
  font-size: 20px; /* フォントサイズを調整 */ 
  margin-bottom: 10px; /* 項目タイトル下に余白を追加 */
  margin-left: 40px;
  text-align: center; /* テキストを中央揃え */
  width: 120px; /* 幅を一定に設定 */
  flex-shrink: 0; /* 幅が縮まないように設定 */
}

.career-list { 
  list-style: none; /* デフォルトのリストスタイルを削除 */ 
  padding: 0; /* パディングをリセット */ 
  margin: 0; /* マージンをリセット */ 
} 

.career-item { 
  display: flex; /* フレックスボックスで横並びに */ 
  align-items: center; /* 垂直方向の中央揃え */  
} 

.career-date, .career-description { 
  flex: 1; /* フレックスグロースを1に設定して均等に配置 */ 
  padding: 20px 0; /* 内部余白を追加 */ 
} 

.career-divider { 
  width: 20px; /* 区切り線の幅を設定 */ 
  height: 20px; /* 区切り線の高さを設定 */ 
  background-color: #D2986A; /* 区切り線の色 */ 
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%); /* ダイヤの形を作成 */ 
  position: relative; /* 相対配置に設定 */ 
  margin: 0 20px; /* 左右に余白を追加 */ 
} 


.career-date { 
  text-align: left; /* 左揃えに設定 */ 
  font-size: 18px; /* フォントサイズを調整 */
  line-height: 1.5; 
  color: #4B4D37; /* テキストの色を設定 */
  padding-left: 40px;
} 

.career-description { 
  text-align: left; /* 左揃えに設定 */ 
  font-size: 18px; /* フォントサイズを調整 */ 
  color: #4B4D37; /* テキストの色を設定 */ 
  position: relative;
  line-height: 1.5;
}

.career-description::before { 
  content: ''; /* 擬似要素の内容を設定 */ 
  position: absolute; /* 絶対配置に設定 */ 
  top: 0; 
  left: -30px;
  height: 100%;
  width: 1px; 
  background-color: #D2986A; /* 線の色を設定 */ 
}

.about-back-button {
  max-width: 90%;
}

.backーbutton-container {
  text-align: right;
  margin: 40px 0 100px;
}

/* CONTACTページ */
.contact-page {
  padding-top: 150px;
}


/* WORKSページ */
.works-page {
  margin-top: 150px;
}

/* 見出しの下の背景色の四角 */
.background-box {
  width: 100%;
  height: 800px;
  background-color: #FFF6EC;
  position: relative;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
}

/* 子連れ歓迎カフェのモックアップ画像 */
.cafe-mockup {
  max-width: 85%;
  position: relative;
  top: -105px;
  right: -30px;
}

/* エンジニア向け求人サイトのモックアップ画像 */
.engineer-mockup {
  max-width: 90%;
  position: relative;
  top: 140px;
  right: -80px;
}

/*訪問介護ステーションサイトのモックアップ画像 */
.homecare-mockup {
  max-width: 80%;
  position: relative;
  top: 5px;
  right: -15px;
}

.project-container {
  margin: 100px 0;
}

/* プロジェクトグループのスタイル */ 
.project-group { 
  margin-bottom: 30px; /* 下部に余白を追加 */ 
}

/* ダイヤの装飾 */
.diamond {
  display: inline-block;
  width: 20px;
  height: 20px;
  background-color: #D2986A;
  transform: rotate(45deg); /* 正方形を45度回転させてダイヤ形にする */
  margin-right: 10px; /* テキストとの間に余白を追加 */
}

/* 見出しとダイヤの配置 */
.project-overview {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.project-title {
  font-size: 24px;
  font-weight: 700;
}

/* リンクのスタイル */ 
.project-link { 
  text-decoration: none; /* 下線を削除 */ 
} 

.project-link:hover { 
  text-decoration: underline; /* ホバー時に下線を表示 */
  color: #D2986A; /* リンクの色 */  
}

/* 箇条書きのリストスタイル */
.project-list {
  list-style-type: disc; /* ディスク型の点をリストスタイルに適用 */
  padding-left: 20px; /* 左側に余白を追加 */
  font-size: 18px;
  line-height: 1.5;
}

/* フル幅の背景 */ 
.full-width-background { 
  width: 100%; 
  background-color: #FFF6EC; 
  display: flex; 
  justify-content: center; 
  align-items: center; 
  padding: 30px 0; /* 上下に余白を追加 */ 
  box-sizing: border-box; /* ボーダーとパディングを幅に含める */ 
  margin: 40px 0;
}

/* 背景色の四角 */ 
.design-background-box { 
  max-width: 90%;
  height: auto; 
  display: flex; 
  justify-content: space-around; /* 画像を均等に配置 */ 
  align-items: center; 
  position: relative; 
  box-sizing: border-box; /* ボーダーとパディングを幅に含める */
} 

/* モックアップ画像 */ 
.mockup-left { 
  width: 45%; /* 画像を45%の幅に設定 */ 
  height: auto; /* 高さを自動調整 */ 
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* 薄いドロップシャドウを追加 */
  object-fit: contain; 
  align-self: flex-start;
  margin-right: 30px; /* 右側に30pxの余白を追加 */
}

.mockup-right {
  width: 20%;
  height: auto;
  object-fit: contain;
  position: relative;
  align-self: flex-start; /* 画像を上揃えにする */
}

.instagram-mockup {
    max-width: 90%;
}

.instagram-background-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.mockup-instagram {
  max-width: 45%;
  height: auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  object-fit: contain;
}

.banner-background-box {
  width: 100%; 
  height: 800px; /* 高さを指定 */
  background-color: #FFF6EC; 
  display: flex; /* フレックスボックスを使用 */
  justify-content: center; /* 水平方向の中央揃え */
  align-items: center; /* 垂直方向の中央揃え */
  padding: 20px; /* 内部余白を追加 */
  box-sizing: border-box; /* ボーダーとパディングを幅に含める */ 
  margin: 40px 0;
  border-radius: 6px;
  position: relative; /* 子要素の絶対位置を有効にする */
}

.banner-collage {
  width: 90%; /* コンテナの幅を設定 */
  height: auto; /* 高さを自動調整 */
  position: relative; /* 子要素の絶対位置を有効にする */
}

.banner-item {
  position: absolute;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

/* ナチュラル・シンプルなバナーの配置を自由にカスタマイズ */
.natural-item1 {
  width: 50%;
  left: -20px; /* 左に配置 */
  top: 50%; /* 親要素の中央に配置 */
  transform: translateY(-50%); /* 縦方向の中央に揃える */
}

.natural-item2 {
  width: 53%;
  top: -240px; 
  left: 44%; 
  transform: translateX(10%); 
}

.natural-item3 {
  width: 25%;
  top: 40px; 
  left: 481px; 
}

.natural-item4 {
  width: 25%;
  bottom: -242px; 
  right: -23px; 
}

/* ミニマル・モダンなバナーの配置を自由にカスタマイズ */
.minimal-item1 {
  width: 70%;
  top: -300px; 
  left: 50%; /* 親要素の中央に配置 */
  transform: translateX(-50%); /* 水平方向の中央に揃える */
}

.minimal-item2 {
  width: 30%;
  top: 100px; 
  left: 15%; /* 親要素の左端から10% */
}

.minimal-item3 {
  width: 30%;
  top: 100px; 
  left: 55%; /* 親要素の左端から60% */
}

/* 高級感・エレガントなバナーの配置を自由にカスタマイズ */
.elegant-item1 {
  width: 45%; /* バナーの幅を設定 */
  top: 50%; /* 親要素の中央に配置 */
  left: 0; /* 左に配置 */
  transform: translateY(-50%); /* 縦方向の中央に揃える */
}

.elegant-item2 {
  width: 45%; /* バナーの幅を設定 */
  top: 50%; /* 親要素の中央に配置 */
  right: 0; /* 右に配置 */
  transform: translateY(-50%); /* 縦方向の中央に揃える */
}

/* ポップ・カラフルなバナーの配置を自由にカスタマイズ */
.pop-item1 {
  width: 50%; /* バナーの幅を設定 */
  top: -240px;
  left: 0%; /* 親要素の左端から5% */
}

.pop-item2 {
  width: 50%; /* バナーの幅を設定 */
  top: 65px; /* 親要素の上端から55% */
  left: 0%; /* 親要素の左端から5% */
}

.pop-item3 {
  width: 45%; /* バナーの幅を設定 */
  top: -240px; 
  right: 0%;
}

.pop-item4 {
  width: 40%; /* バナーの幅を設定 */
  top: 55%; /* 親要素の上端から55% */
  right: 5%; /* 親要素の右端から5% */
}

/* 和風・伝統的なバナーの配置を自由にカスタマイズ */
.japanese-item1 {
  width: 100%; /* 必要に応じて幅を調整 */
  height: auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* 中央に配置 */
}

/* タブレット用のレスポンシブ対応 */
@media screen and (max-width: 1024px) {
  /* 最大1024pxのデバイスに適用するスタイル */
  .container { 
    max-width: 90%; 
  }

  /* メインの本文のスタイル */
  p.large {
    font-size: 16px; /* フォントサイズ */
    line-height: 1.6; /* 行間 */
  }

  /* ボタンのスタイル */
  .button-primary {
    font-size: 16px;
  }

  /* セクションの英語見出しのスタイル設定 */ 
  .title-en {
    font-size: 40px; /* 英語表記のフォントサイズ */
    line-height: 1.4; /* 行間 */
  }

  /* 日本語見出しの詳細スタイル設定 */
  .title-ja {
    font-size: 22px; /* 日本語表記のフォントサイズ */
    line-height: 1.4; /* 行間 */
  }

  .first-view { 
    height: 100vh; /* 画面の高さ全体 */ 
    display: flex; 
    align-items: center; 
    justify-content: center; 
  }

  /* テキストコンテンツ */
  .text-content {
    bottom: 30px; /* 下端からの余白 */
  }

  /* メインタイトルの初期スタイルとアニメーション */
  .main-title {
    font-size: 48px; /* フォントサイズ */
  }

  /* サブコピーの初期スタイルとアニメーション */
  .sub-copy {
    font-size: 22px; /* フォントサイズ */
  }

  /* ABOUTセクション */
  section#about {
    position: relative;
    padding-top: 100px;
  } 

  .section-band {
    bottom: -85px;
    height: 95px;
  }

  /* WORKSセクション */
  section#works {
    padding-top: 170px;
  }

  .works-content { 
    grid-template-columns: repeat(3, 1fr); /* 3カラム */ 
  } 

  .work-item-container { 
    width: 100%;
    margin-bottom: 40px;
    box-sizing: border-box; /* パディングとボーダーを含めてサイズを計算 */
  }
  
  .work-item { 
    width: 100%; /* 親要素の幅に対して100% */
    height: 240px; /* 高さを固定 */ 
  }

  /* CONTACTセクション */
  section#contact {
    padding: 70px 0;
  }

  /* 画像タイトル */
  .work-title {
    font-size: 14px; /* タイトルのフォントサイズ */
  }

 /* ABOUTページの自己紹介文 */
  .name-title {
    margin: 20px 45px;
  }

  .profile-image-wrapper {
    max-width: 90%;
    margin: 0 auto;
  }

  .profile-text-wrapper {
    max-width: 600px;
    margin-right: 65px;
  }

  .profile-text {
    position: relative; /* 親要素内で相対位置を設定 */
    z-index: 1; /* 重なり順を設定 */
    font-size: 16px; /* フォントサイズ */
    line-height: 1.6; /* 行間 */
    margin: 0 0 20px 0; /* 各段落の下に20pxの余白を追加 */
  }

  .common-left h4 {
    font-size: 27px; /* フォントサイズを調整 */
    line-height: 1.4;
  }

  .common-left span {
    font-size: 16px; /* フォントサイズを調整 */
    line-height: 1.4;
  }

  /* ABOUTページのスキル、ツール文章 */
  .common-right p {
    font-size: 16px;
    line-height: 1.6;
  }

/* ABOUTページのキャリア部分の日付 */
  .career-date {
    font-size: 16px;
    line-height: 1.6;
  }

  .career-description {
    font-size: 16px;
    line-height: 1.6;
  }

/* WORKS詳細ページのレスポンシブ対応 */
/* 子連れ歓迎カフェのモックアップ画像 */
  .cafe-mockup {
    max-width: 90%;
    position: relative;
    top: -95px;
    right: -30px;
  }

/*訪問介護ステーションサイトのモックアップ画像 */
  .homecare-mockup {
    max-width: 95%;
    right: -10px;
  }

  /* エンジニア向け求人サイトのモックアップ画像 */
  .engineer-mockup {
    max-width: 100%;
    right: -50px;
    top: 110px;
  }

  /* ダイヤの装飾 */
  .diamond {
    width: 15px;
    height: 15px;
  }

  .project-title {
    font-size: 20px;
    line-height: 1.4;
  }

/* 箇条書きのリストスタイル */
  .project-list {
    font-size: 16px;
    line-height: 1.6;
  }

  .banner-background-box {
    height: 600px;
  }

  /* ナチュラル・シンプルな各バナーの配置を自由にカスタマイズ */
  .natural-item2 {
    top: -197px;  
  }

  .natural-item3 {
    left: 391px; 
  }

  .natural-item4 {
    width: 25%;
    bottom: -205px; 
    right: -23px; 
  }

  /* ミニマル・モダンなバナーの配置を自由にカスタマイズ */
  .minimal-item1 {
    top: -260px; 
  }

  .minimal-item2 {
    top: 70px; 
  }

  .minimal-item3 {
    top: 70px; 
  }

  /* ポップ・カラフルなバナーの配置を自由にカスタマイズ */
.pop-item1 {
  top: -210px;
}

.pop-item2 {
  top: 33px; /* 親要素の上端から55% */
}

.pop-item3 {
  top: -210px; 
  right: 0%;
}
}

/* タブレット用のレスポンシブ対応 */
@media screen and (max-width: 768px) {
  /* 	TOPページのABOUTセクション */
  .section-band {
    bottom: -135px;
  }

  /* 	TOPページのWORKSセクション */
  section#works {
    padding-top: 220px;
  }

  .work-item { 
    width: 100%; /* 親要素の幅に対して100% */
    height: 150px; /* 高さを固定 */ 
  }

  .work-image-spacing {
    margin-left: 5px;
  }

  /* WORKS詳細ページ */
  .background-box {
    width: 100%;
    height: 600px;
    background-color: #FFF6EC;
    position: relative;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    padding: 20px;
  }

  .cafe-mockup {
    max-width: 900px;
    position: relative;
    top: -75px;
    right: -15px;
  }

  .banner-background-box {
    height: 450px;
  }

  /* ナチュラル・シンプルな各バナーの配置を自由にカスタマイズ */
  .natural-item2 {
    top: -145px;  
  }

  .natural-item3 {
    left: 288px; 
  }

  .natural-item4 {
    bottom: -165px; 
    right: -13px; 
  }

    /* ミニマル・モダンなバナーの配置を自由にカスタマイズ */
  .minimal-item1 {
    top: -190px; 
  }

  .minimal-item2 {
    top: 50px; 
  }

  .minimal-item3 {
    top: 50px;
  }

      /* ポップ・カラフルなバナーの配置を自由にカスタマイズ */
  .pop-item1 {
    top: -170px;
  }

  .pop-item2 {
    top: 19px; 
  }

  .pop-item3 {
    top: -170px; 
  }

  .pop-item4 {
    top: -8px; 
  }
}

/* スマホ用のレスポンシブ対応 */
@media (max-width: 767px) {
  .container { 
    max-width: 90%; 
  }

  /* メインの本文のスタイル */
  p.large {
    font-size: 16px; /* フォントサイズ */
    line-height: 1.6; /* 行間 */
  }

  /* ボタンのスタイル */
  .button-primary {
    font-size: 16px;
  }

  .section-title { 
    text-align: center; /* 中央揃え */
    margin-bottom: 35px; /* 見出しの下に余白を追加 */
    position: relative; /* 親要素に相対配置 */
  }

  /* セクションの英語見出しのスタイル設定 */ 
  .title-en {
    font-size: 28px; /* 英語表記のフォントサイズ */
    font-weight: bold; /* 太字 */
    line-height: 1.3; /* 行間 */
    letter-spacing: 0.1em; /* 文字間 */
    display: block; /* ブロック表示で日本語の上に配置 */
    margin-bottom: 10px; /* 英語表記と日本語表記の間に余白を追加 */
  }

  /* セクションの日本語見出しのスタイル設定 */
  .title-ja-wrapper {
    display: flex;
    justify-content: center; /* 中央揃え */
    align-items: center;
    position: relative; /* 親要素に相対配置 */
  }

  /* 日本語見出しの詳細スタイル設定 */
  .title-ja {
    font-size: 12px; /* 日本語表記のフォントサイズ */
    font-weight: bold; /* 太字 */
    line-height: 1.3; /* 行間 */
    letter-spacing: 0em; /* 文字間 */
    position: relative; /* 日本語表記の相対配置で装飾線を調整 */
    padding: 0 12px; /* 日本語表記の前後に12pxの余白を追加 */ 
  }

  /* 日本語表記の装飾線 */
  .title-ja:before, .title-ja:after {
    content: ""; /* 空のコンテンツを追加 */
    position: absolute;
    top: 50%; /* 縦中央に配置 */
    transform: translateY(-50%);
    height: 1px; /* 線の高さを設定 */
    width: 15px; /* 線の幅を35pxに設定 */
    background-color: #4B4D37; /* 線の色を設定 */
  }

  /* 左側の装飾線 */
  .title-ja::before {
    left: -17px; /* 左側に配置 */
  }

  /* 右側の装飾線 */
  .title-ja::after {
    right: -17px; /* 右側に配置 */
  }

/* ヘッダーのレスポンシブ対応 */
  .header {
    height: 50px;
    padding: 10px;
  }

  .nav { 
    display: none; /* ナビゲーションを非表示 */ 
  }
  
  .menu-icon { 
    display: flex; /* スマホではハンバーガーメニューを表示 */
  }

  .menu-content { 
    display: none; /* 初期状態では非表示 */ 
  }


 /* ファーストビューのレスポンシブ対応 */ 
  .first-view { 
    height: 500px; /* 高さを500pxに設定 */ 
    display: flex; 
    flex-direction: column; 
    justify-content: center; /* 縦方向で中央揃え */ 
    align-items: center; /* 横方向で中央揃え */ 
    text-align: center; /* テキストを中央揃え */ 
    overflow: hidden; /* コンテンツのはみ出しを防ぐ */ 
  }

  .background { 
    height: 100%; /* 背景を全体の高さに合わせる */ 
  }

  .top-color { 
    height: 42%; /* 背景上部の高さ */ 
  }

  .bottom-color { 
    height: 58%; /* 背景下部の高さ */ 
  }

  .image-container { 
    position: absolute; 
    top: 46%; /* 垂直方向で中央より少し上 */ 
    transform: translateY(-50%); /* 中央揃え */ 
    right: 0; 
    left: 0; 
    margin: 0 auto; 
    max-width: 320px; /* 画像の幅をスマホ用に調整 */ 
    max-height: 330px; /* 画像の高さをスマホ用に調整 */ 
  }

  .window-image { 
    width: 100%; /* 幅を100%に設定 */ 
    height: 100%; /* 高さを100%に設定 */ 
    object-fit: contain; /* 比率を保ちながら収める */ 
  }

  .text-content { 
    position: absolute; 
    bottom: 2%; 
    left: 0; 
    right: 0; 
    margin: 0 auto; 
    display: flex; 
    flex-direction: column; /* 縦方向に配置 */ 
    align-items: center; /* 中央揃え */ 
    text-align: center; /* テキストを中央揃え */ 
  }

  .divider { 
    width: 90% !important; /* 幅を90%に設定して短くする */
    height: 1px;
    margin: 5px auto; 
  }

  .main-title { 
    font-size: 32px; /* フォントサイズをスマホ用に調整 */ 
    text-align: center; /* テキストを中央揃え */ 
    line-height: 1.4;
    letter-spacing: 0.05em;
  }

  .sub-copy { 
    font-size: 16px; /* フォントサイズをスマホ用に調整 */ 
    text-align: center; /* テキストを中央揃え */
    margin-top: 0;
    line-height: 1.4;
    letter-spacing: 0.05em;
  }

  .sub-copy.desktop {
    display: none; /* デスクトップ用のサブコピーを非表示 */ 
  }

  .sub-copy.mobile { 
    display: block; /* スマホ用のサブコピーを表示 */ 
  }

  /* ABOUTセクションのレスポンシブ対応 */ 
  section#about {
    padding-top: 50px;
  }

  .about-content { 
    flex-direction: column; /* 縦に配置 */ 
    align-items: center; /* 中央揃え */ 
    gap: 20px; /* 画像とテキストの間にスペースを追加 */
    margin-top: 0; 
  } 

  .about-image, .about-text { 
    max-width: 100%; /* 幅を100%に設定 */ 
    padding: 0; /* パディングをリセット */ 
  } 

  .about-text { 
    align-items: flex-start; /* テキストを左揃え */ 
    text-align: left; /* テキストを左揃え */ 
    width: 100%; /* テキストコンテナの幅を100%に設定 */
  }

  .about-text .button-container { 
    display: flex; /* フレックスボックスで配置 */ 
    justify-content: center; /* 水平方向中央揃え */ 
    width: 100%; /* コンテナの幅を100%に設定 */ 
  }

  .about-text .button-primary { 
    position: static; /* ボタン位置を通常配置に変更 */ 
    margin-top: 20px; /* 余白を調整 */ 
  }

  /* ABUOTセクションのスマホサイズの帯のスタイル */
  .section-band {
    height: 65px; /* 高さを65pxに設定 */
    bottom: -30px; /* セクションの下部に配置 */
  }

 /* WORKSセクションのレスポンシブ対応 */
  .works-content { 
    grid-template-columns: repeat(2, 1fr); /* 2カラムに設定 */ 
    gap: 15px; /* 各作品の間のスペースを少し狭くする */ 
  } 

  .work-item { 
    width: 150px; /* 画像サイズをスマホ用に調整 */ 
    height: 120px; /* 画像サイズをスマホ用に調整 */ 
    margin-bottom: 5px;
    padding: 10px;
  } 

  .work-item-container {
    margin: 0;
  }

  .work-image-container { 
    width: 100%; /* コンテナの幅を100%に設定 */ 
    height: 100%; /* コンテナの高さを100%に設定 */ 
    margin: 0;
  } 
  
  .work-image { 
    max-width: 100%; /* 画像の最大幅を100%に設定 */ 
    max-height: auto; /* 画像の最大高さを100%に設定 */ 
  } 
  
  .work-title { 
    font-size: 14px; /* タイトルのフォントサイズを調整 */
    margin-top: 10px;
  }

  /* CONTACTセクションのレスポンシブ対応 */
  .contact-content { 
    text-align: left; /* テキストを左揃え */ 
    align-items: flex-start; /* コンテンツを左揃え */ 
  } 
  
  .large { 
    margin: 0; /* マージンをリセット */ 
  } 
  
  .button-primary { 
    align-self: center; /* ボタンを中央揃えに設定 */ 
    margin-top: 20px; /* 余白を調整 */ 
  }

  /* フッターののレスポンシブ対応 */
  /* フッターナビゲーションのスタイル */ 
  .footer-link { 
    font-size: 16px; /* フォントサイズを16pxに変更 */ 
    font-weight: 400; /* フォントウェイトをregularに変更 */ 
    margin: 10px  10px 0; /* ナビゲーションの間に25pxの余白を追加 */
  } 
  
  /* コピーライトのスタイル */ 
  .footer-copy { 
    font-size: 10px; /* フォントサイズを10pxに変更 */ 
    font-weight: 300; /* フォントウェイトをlightに変更 */ 
    margin-top: 10px;
  }

  /* ABOUTページのレスポンシブ対応 */
  .about-page {
    padding-top: 100px;
  }

  #self-introduction {
    margin-bottom: 100px;
  }

  /* ABOUTページの名前部分 */
  .name-title { 
    margin: 20px 0; 
    width: 100%; /* 幅を100%に設定 */ 
    max-width: none; /* 最大幅制限を解除 */ 
    padding-left: 0; /* 左パディングをリセット */ 
    padding-right: 0; /* 右パディングをリセット */
    flex-direction: column; 
    order: 2;
  }
  
  .name-en, .name-ja { 
    margin-left: 0; /* 余白をリセット */ 
    text-align: center; /* テキストを中央揃え */ 
  }

  .name-en{
    font-size: 20px;
  }

  .name-ja{
    font-size: 16px;
    margin-top: 10px;
  }

  .profile-image-wrapper {
    margin-bottom: 20px;
    order: 1;
  }

  /* ABOUTページの写真 */
  .profile-image { 
    margin: 0 auto; 
    max-width: 90%; 
  }

  .profile-text-wrapper { 
    max-width: 95%; /* 幅を95%設定 */ 
    margin: 0 auto; /* 中央揃え */
    order: 3;
  }

  .profile-text-overlay { 
    width: 100%; /* オーバーレイがはみ出さないようにする */ 
    box-sizing: border-box; /* パディング込みで幅を計算 */
    left: 10px; 
  } 

  .profile-text {
    font-size: 16px;
  }

  .common-section {
    padding: 30px 0;
  }

  .common-container { 
    display: flex; 
    flex-direction: column; /* 縦並びにする */ 
  }

  .common-left h4 {
    font-size: 20px; /* フォントサイズを調整 */
  }
  
  .common-left span {
    display: block; /* ブロック要素として表示 */
    margin-top: 10px; /* 上に余白を追加 */
    font-size: 12px; /* フォントサイズを調整 */
  }

  .about-divider { 
    width: 5%; /* 幅を5%に設定 */ 
    height: 1px; /* 高さを1pxに設定 */ 
    margin: 20px 0; /* 上下に余白を追加 */ 
  }

  .common-right p {
    font-size: 16px;
    line-height: 1.6;
    padding-left: 0;
  }

  .tool-item {
    flex-direction: column;
  }

  .tool-title {
    margin-left: 0;
    font-size: 16px;
    width: 100px;
  }

  .career-date {
    padding-left: 0;
  }

  /* CONTACTページのレスポンシブ対応 */
  .contact-page {
    padding-top: 100px;
  }

  /* WORKS詳細ページのレスポンシブ対応 */
/* 336*280サイズのバナーの画像の背景 */
  .rectangle-background-box {
    height: 350px;
  }

  .rectangle_banner {
    width: 80%;
  }

  /* 1200*1200サイズのバナーの画像 */
  .square_banner {
    width: 80%;
  }

  /* WORKS詳細ページ */ 
  .works-page {
    margin-top: 90px;
  }

  .project-container {
    margin: 50px 0;
  }

  /* WORKS詳細ページの説明文 */ 
  .project-overview {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
  }

   /* WORKS詳細ページのダイヤの装飾 */
  .diamond {
    margin-bottom: 15px;
  }


}

/* 425px以下のデバイス用のレスポンシブ対応 */ 
@media (max-width: 425px) {
  /* 	TOPページのABOUTセクション */
  section#about {
    padding-top: 50px;
  }

  .section-band {
    bottom: -30px;
  }

  /* 	TOPページのWORKSセクション */
  section#works {
    padding-top: 80px;
  }

  .works-content { 
    grid-template-columns: repeat(2, 1fr); /* 2カラム */ 
    gap: 20px; /* ギャップを適切に設定 */ 
  } 

  .work-item {
    width: 180px;
    height: 120px;
  }

  /* 	TOPページのCONTACTセクション */
  section#contact {
    padding: 50px 0;
  }

/* ABOUTページ名前の部分のレスポンシブ対応 */
  h3.name-title {
    border-radius: 0px;
  }

  .profile-text-wrapper {
    max-width: 90%;
  }

  /* WORKS詳細ページの説明文 */
/* 見出しの下の背景色の四角 */
  .background-box {
    height: 350px;
  }

  .cafe-mockup {
    max-width: 900px;
    position: relative;
    top: -35px;
    right: -10px;
  }

  /* エンジニア向け求人サイトのモックアップ画像 */
  .engineer-mockup {
    right: -25px;
    top: 50px;
  }

  .homecare-mockup {
    max-width: 90%;
    right: -3px;
  }

  .project-group {
    text-align: center; /* 中央揃えに */
  }

  ul.project-list {
    text-align: left; /* 箇条書きを左揃えに */
  }

  .banner-background-box {
    height: 300px;
  }

  /* ナチュラル・シンプルな各バナーの配置を自由にカスタマイズ */
  .natural-item2 {
    width: 60%;
    top: -75px;  
    left: 125px;
  }

  .natural-item3 {
    width: 28%;
    left: 145px; 
    top: 35px;
  }

  .natural-item4 {
    width: 28%;
    bottom: -107px; 
  }

  /* ミニマル・モダンなバナーの配置を自由にカスタマイズ */
  .minimal-item1 {
    width: 90%;
    top: -130px; 
  }

  .minimal-item2 {
    width: 40%;
    top: 30px; 
    left: 5%;
  }

  .minimal-item3 {
    width: 40%;
    top: 30px; 
  }

  /* ポップ・カラフルなバナーの配置を自由にカスタマイズ */
  .pop-item1 {
    top: -100px;
  }

  .pop-item2 {
    top: 0px; 
  }

  .pop-item3 {
    top: -100px; 
  }

  .pop-item4 {
    top: -14px; 
  }
}

/* 375px以下のデバイス用のレスポンシブ対応 */ 
@media (max-width: 375px) { 
  .works-content { 
    grid-template-columns: repeat(2, 1fr); /* 2カラム */ 
    gap: 20px; /* ギャップを適切に設定 */ 
  } 

  .work-item {
    width: 160px;
    height: 120px;
  }

  .banner-background-box {
    height: 300px;
  }

  /* ナチュラル・シンプルな各バナーの配置を自由にカスタマイズ */
  .natural-item1 {
    width: 60%;
  }

  .natural-item2 {
    width: 55%;
    top: -80px;  
    left: 130px;
  }

  .natural-item3 {
    width: 26%;
    top: 13px;
  }

  .natural-item4 {
    width: 26%;
    bottom: -72px; 
    right: -25px;
  }

  /* ポップ・カラフルなバナーの配置を自由にカスタマイズ */
  .pop-item1 {
    top: -80px;
  }

  .pop-item3 {
    top: -80px; 
  }

}

/* 320px以下のデバイス用のレスポンシブ対応 */ 
@media (max-width: 320px) {
  /* ファーストビューのメインタイトル */
  .main-title {
    font-size: 28px;
  }

  /* ファーストビューのサブタイトル */
  .image-container {
    top: 44%;
    max-width: 290px;
    max-height: 300px;
  }

  /* 	ABOUTセクションの背景の茶色の帯 */
  .section-band {
    bottom: -35px;
  }

  /* TOPページWORKSセクション */
  .work-item {
    width: 130px;
    height: 110px;
    padding: 10px;
  }

/* ABOUTページ名前の部分のレスポンシブ対応 */
  .profile-text-wrapper {
    max-width: 87%;
  }

  /* WORKS詳細ページのレスポンシブ対応 */
   /* エンジニア向け求人サイトのモックアップ画像 */
  .engineer-mockup {
    right: -20px;
  }

  .background-box {
    height: 270px;
  }

  .banner-background-box {
    height: 250px;
  }

  /* ナチュラル・シンプルな各バナーの配置を自由にカスタマイズ */
  .natural-item1 {
    width: 60%;
  }

  .natural-item2 {
    width: 55%;
    top: -70px;  
    left: 110px;
  }

  .natural-item3 {
    width: 28%;
    left: 120px;
  }

  .natural-item4 {
    width: 28%;
    bottom: -66px; 
  }

  /* ミニマル・モダンなバナーの配置を自由にカスタマイズ */
  .minimal-item1 {
    top: -100px; 
  }

}