@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;600;700;900&family=Noto+Serif+JP:wght@400;700&display=swap');


/* リセットと基本設定 */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
    html {
      scroll-behavior: smooth;
    }
body {
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fff;
  font-size: 18px;
}

p{
margin-bottom:10px;
}

/* グローバルリセット */
body, main {
  width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* コンテナ */
.container {
  /*max-width: 1400px;
  margin: 0 auto;
  padding: 0 15px;*/
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  box-sizing: border-box;
}


/* ヘッダー */
header {
  background: #fff;
  color: #333;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  border-bottom: 1px solid #ddd;
  padding: 15px 0;
}


.logo {
  display: flex;
  align-items: center;
}


.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
}
.logo-image {
  height: 60px;
  width: auto;
  max-width: 200px;
}
.logo-text {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #333;
  white-space: nowrap;
}

.logo a {
  text-decoration: none;
  border-bottom: none;
}


header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}




/* ヒーローセクション */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  padding: 20px;
  margin-top: 80px;
  z-index: 500;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: -1;
}

.hero-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 4.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.5);
  letter-spacing: 1px;
}

.hero-subtitle {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.4rem;
  max-width: 700px;
  margin: 0 auto;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}


.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 16px;
  background: #0872C7;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  margin: 0.5rem;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  transition: background 0.3s, transform 0.2s;
  border: 1px solid #0A97FB;
  width: 100%;
  max-width: 250px;
  height: 50px;
}

.cta-button:hover {
  background: #0872C7;
  transform: translateY(-2px);
}

.cta-button:active {
  transform: translateY(0);
}

.cta-button i {
  font-size: 1.2rem;
}


.mobile-only {
  display: none;
}


/* セクション */
.section,.section2,.section3,.section4 {
  width: 100%;
  margin: 0;
  padding: 3rem 0;
}

.section,.section3,.section4 {
  padding-top:100px;
  padding-bottom:100px;
}

.section3 {
  background:#f5f7fa;
}


/* 施工事例セクションのみ背景色 */
#projects {
  background: linear-gradient(135deg, #fff 50%, #f5f7fa 50%);
}



/* 見出し */
h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 2.9rem;
  font-weight: 700;
  color: #333;
  position: relative;
  margin: 0 auto 2rem;
  display: block;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 5px;
  padding-bottom: 15px;
}

h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 6px;
  background: linear-gradient(90deg, #0A97FB, #0872C7);
  border-radius: 3px;
}



/* 会社情報 */
#company .container,
#services .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.company-text {
  /*width: 100%;
  max-width: 1000px;*/
  text-align: center;
}

.company-text p {
  /*font-family: 'Noto Sans JP', sans-serif;  font-size: 1.1rem;*/
  margin-bottom: 1.5rem;
}

.company-text .cta-button {
  display: flex; /* inline-flexからflexに変更してブロック要素として扱う */
  margin: 0 auto; /* 中央揃え */
}

/* サービス */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  width: 100%;
}

.service {
  background: #fff;
  padding: 25px;
  border-radius: 8px;
  transition: transform 0.3s;
  text-align: center;
  border: 1px solid #ddd;
}

.service img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}



.service p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}




/* index施工事例 */
.projects-container {
  position: relative;
  overflow: hidden;
}

.projects {
  display: flex;
  gap: 20px;
  animation: infinite-scroll 30s linear infinite;
}

@keyframes infinite-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.project {
  flex: 0 0 calc(33.333% - 13.333px);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: #333;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s;
  border: 1px solid #ddd;
}

.project:hover {
  transform: translateY(-5px);
}

.project img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.project-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.project-content h5 {
  font-family: 'Noto Serif JP', serif;
  font-size:24px;
  color: #0A97FB;
}

.project-content p {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.1rem;
}

.project-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 18px 16px;
  background: #0A97FB;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.3s;
  width: 100%;
  max-width: 200px;
  text-align: center;
  justify-content: center;
}

.project-button:hover {
  background: #0872C7;
}




/* お知らせ */
.news-list {
  list-style: none;
  max-width: 800px;
  margin: 0 auto;
}

.news-list li {
  padding: 15px 0;
  border-bottom: 1px solid #ddd;
  /*font-size: 1.1rem;*/
  display: flex;
  align-items: center;
  gap: 20px;
}

.news-list span {
  display: inline-block;
  width: 120px;
  color: #0A97FB;
  font-weight: 600;
  flex-shrink: 0;
}





/* トップへボタン */
#back-to-top {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #0A97FB;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 1.5rem;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

#back-to-top:hover {
  background: #0872C7;
  transform: translateY(-2px);
}

#back-to-top:active {
  display: flex;
}







/* テーブル */
table#wide {
  width: 100%;
  max-width: 1000px;
  margin: 8px auto;
  border-collapse: collapse;
  color: #2D3748;
  border-top: 1px solid #E2E8F0;
}

/* ヘッダー（th） */
table#wide th {
  font-weight: 600;
  padding: 16px 0px;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid #E2E8F0;
}

/* セル（td） */
table#wide td {
  padding: 1.5rem 2rem;
  vertical-align: middle;
  border-bottom: 1px solid #E2E8F0;
}

/* リンクのスタイル */
table#wide td a {
  color: #0A97FB;
  text-decoration: none;
}




/* テーブル */
table#wide2 {
  width: 100%;
  max-width: 1000px;
  margin: 8px auto;
  border-collapse: collapse;
  border-top: 1px solid #E2E8F0;
    color:#fff;
      text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); /* 影で可読性向上 */
}

/* ヘッダー（th） */
table#wide2 th {
  font-weight: 600;
  padding: 16px 0px;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid #E2E8F0;
}

/* セル（td） */
table#wide2 td {
  padding: 1.5rem 2rem;
  vertical-align: middle;
  border-bottom: 1px solid #E2E8F0;
  font-color: #fff;
  font-weight: 600;
}






/* タイトルエリア全体 */
#page-title {
  background: linear-gradient(135deg, #0A97FB 0%, #005B99 100%); /* 濃いグラデーションで力強さ */
  padding: 5rem 0; /* より広いエリアで主役感 */
  margin-top: 85px; /* 固定ヘッダーの高さに合わせる */
}

/* ページ全体のタイトル */
h2 {
  font-family: 'Noto Sans JP', sans-serif; /* ゴシック系で力強く */
  font-size: 6rem; /* 超巨大フォント（リングフィット風） */
  font-weight: 900; /* 最大の太さ */
  color: #fff; /* 白で背景とのコントラストを確保 */
  margin: 0 auto; /* 中央揃え、余白はsectionで管理 */
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 14px; /* 広めの字間隔で威厳 */
  line-height: 1.1; /* タイトな行間隔で密度感 */
}



h4 {
  font-family: 'Noto Serif JP', serif;
  	position: relative;
	padding-bottom: 20px;
  font-size: 24px;
	text-align: center;
	margin-top:80px;
		margin-bottom:16px;
}

h4::after {

	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 7px;
	height: 7px;
	background-color: #0A97FB;
	border-radius: 7px;
}




#nagare ol {
	width:95%;
	margin-left:0px;
	margin-top:15px;
}

#nagare ol {
	counter-reset: li; /*olのリストの数字をリセット*/
}

#nagare ol > li {
	list-style: none;
	position: relative;/*リストの項目の位置を基準に*/
	padding-left:1.7em; /*li:before分左に余白を。調整可*/
	margin-bottom:1.2em;/*リストの数字がくっついてしまう場合*/

	letter-spacing: 0.1em;
	line-height:1.2em;/*数字の位置あわせで数値を指定*/
}

#nagare ol > li:before {
	counter-increment: li;
	content: counter(li);
	margin-right:2em;
    background:#0A97FB;
	color: #ffffff; /*白*/
	-moz-border-radius: 50%;
	-webkit-border-radius: 50%;
	border-radius: 50%;
	text-align: center; /*端に寄ってる数字を真ん中に*/
	width: 1.3em; /*幅を決めるheightと同じ数値に*/
	height: 1.3em; /*高さ。widthと同じ数値に。数値変更した場合はline-heightで調整を*/
	position: absolute; /*リストの基準から移動させる*/
	left:0.2em; /*項目の基準、左にあわせる*/
	top:0.01em; /*基準の上から2pxの位置に表示。テーマによって位置がずれる場合は修正を*/
	line-height:1.2em;/*数字の位置あわせで数値を指定*/
}

/* お問い合わせフォーム */
#contact-form {

  margin: 0 auto;
  background: #FFFFFF;
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid #E2E8F0;
}

/* 表形式 */
#contact-table {
  width: 100%;
  border-collapse: collapse;
  /*font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.1rem;*/
  color: #2D3748;
}

#contact-table th {
  /*background: #F7FAFC;
  color: #0A97FB;
  font-weight: 600;*/
  padding: 1.5rem 2rem;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid #E2E8F0;
  width:20%;
}

#contact-table td {
  /*background: #FFFFFF;*/
  padding: 1.5rem 2rem;
  vertical-align: middle;
  border-bottom: 1px solid #E2E8F0;
  width: 80%;
}

/* 入力欄 */
#contact-table input,
#contact-table select,
#contact-table textarea {
  padding: 0.75rem 1rem;
  font-size:16px;
  font-weight: 600;
  color: #2D3748;
  background: #F7FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 4px;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}

#contact-table select,
#contact-table textarea,
#contact-table input[type="text"],
#contact-table input[type="tel"],
#contact-table input[type="email"] {
  width: 100%;
  }

  
#contact-table input:focus,
#contact-table select:focus,
#contact-table textarea:focus {
  outline: none;
  border-color: #0A97FB;
  box-shadow: 0 0 0 2px rgba(10, 151, 251, 0.1);
}



/* 注記 */
#contact-table .note {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.9rem;
  color: #718096;
  margin-top: 0.5rem;
}

/* 送信ボタン */
.form-submit {
  text-align: center;
  margin-top: 2rem;
}

.form-submit button {
  background: #0A97FB;
  color: #FFFFFF;
  font-family: 'Noto Sans JP', sans-serif;
  font-size:18px;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s ease;
  max-width:300px;
}

.form-submit button:hover {
  background: #3182CE;
}

/* 郵便番号入力欄 */
#contact-table .p-postal-code,#contact-table select {
    width: 200px;
}


/* 既存のスタイル（変更なし） */
.radio-group {
    display: flex;
    gap: 20px;
    align-items: center;
}

.radio-group label {
    display: flex;
    align-items: center;
    font-size: 1rem;
    cursor: pointer;
}

.radio-group input[type="radio"] {
    margin-right: 8px;
    width: 16px;
    height: 16px;
}

#contact-table label {
    margin-right: 15px;
    font-size: 1rem;
}

/* エラーメッセージ */
.error-messages {
    background-color: #ffe6e6;
    border: 2px solid #ff3333;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 20px;
    color: #333;
}

.error-messages p {
    font-size: 1.1rem;
    font-weight: bold;
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
}

.error-messages p::before {
    content: "\f071"; /* Font Awesomeの警告アイコン */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #ff3333;
    margin-right: 8px;
}

.error-messages ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.error-messages li {
    font-size: 1rem;
    margin-bottom: 5px;
    padding-left: 20px;
    position: relative;
}

.error-messages li::before {
    content: "\f111"; /* Font Awesomeの小さな丸アイコン */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #ff3333;
    position: absolute;
    left: 0;
    top: 4px;
    font-size: 0.6rem;
}



.service--highlight .service-title,
.service--highlight .service-description,
.service--highlight .service-detail,
.service--highlight ul li {
  color: #fff;
}



.service-title {
  font-family: 'Noto Serif JP', serif;
  font-size:24px;
  color: #0A97FB;
  margin: 0;
  display: flex;
  align-items: center;
}


.service-content {
  flex: 2;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  text-align: left;
}


.service-icon {
  margin-right: 0.5rem;
  color: #0A97FB;
  font-size: 1.2rem;
}

.service--highlight {
  background: linear-gradient(135deg, #0A97FB 0%, #005B99 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.service-icon--highlight {
  color: #FFD700; /* 黄色 */
}






.service-content ul,#wide ul {
  width: 90%; /* 背景からはみ出さないように狭める */
  margin: 0 0 0 1rem; /* 左寄せ */
  padding: 0;
  list-style: none;
}

.service-content ul li,#wide ul li {
  color: #333;
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1rem; /* マーク分の余白 */
}

.service-content ul li::before,#wide ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.9rem;
  width: 9px;
  height: 9px;
  background: #ccc; /* 控えめなグレー */
  border-radius: 50%;
}

.service--highlight ul li {
  color: #fff;
}


.service--highlight ul li::before {
  background: #FFD700; /* 強調セクションでは黄色 */
}


/* キャッチコピー */
.catchphrase {
  font-family: 'Noto Serif JP', serif;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin: 1rem 0;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}


/* フローティングCTAボタン */
.floating-cta {
  position: fixed;
  bottom: 80px;
  right: 20px;
  background: #FF4D4D; /* 鮮やかな赤 */
  color: #fff;
  padding: 1rem 2rem; /* パディングを増やしてボタン感を強化 */
  border-radius: 50px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); /* 影を強めに */
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.2rem; /* フォントサイズ拡大 */
  font-weight: 700; /* 太字に */
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 1000;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-cta:hover {
  background: #E60000; /* ホバー時に濃い赤 */
  transform: scale(1.05); /* スケールアップ */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4); /* ホバー時に影を強調 */
}


.newcomer-section {
  padding: 1rem 0;
  background: #f5f7fa; /* 背景色で少し目立たせる */
}




/* 画像サイズ調整
.overview-image img,
.recruitment-image img,
.candidate-image img,
.process-image img, */
.content-image img {
  width: 100%;
  max-width: 400px; /* 最大幅を設定 */
  height: 200px; /* 高さを固定 */
  object-fit: cover; /* 画像が枠に収まるよう調整 */
  border-radius: 8px;
  display: block;
  margin: 0 auto; /* 中央揃え */
}


/* パンくずリスト */
.breadcrumb {
  background: #f5f7fa; /* #projectsセクションの背景色に合わせる */
  padding: 8px 0;
  /*margin-top: 85px;*/ /* 固定ヘッダーの高さに合わせる */
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1rem;
  color: #333;
}

.breadcrumb .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.breadcrumb li {
  display: flex;
  align-items: center;
}

.breadcrumb li:not(:last-child)::after {
  content: '>';
  margin: 0 10px;
  color: #666;
  font-size: 0.9rem;
}

.breadcrumb a {
  color: #0A97FB; /* テーマカラー */
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

.breadcrumb a:hover {
  color: #0872C7; /* ホバー時の濃い青 */
}

.breadcrumb li[aria-current="page"] {
  color: #333;
  font-weight: 600;
}





/* コンテンツアイテム（写真とテキスト） */
.content-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: 1rem;
  background: #fff;
  border-radius: 8px;
  box-sizing: border-box;
  width: 100%;

}

.content-image {
  flex: 1;
  min-width: 200px;
  max-width: 300px;
  width: 100%;
}

.content-image img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #ddd;
  display: block;
}

.content-text {
  flex: 2;
  width: 100%;
  min-width: 0;
}


.content-text h4 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.3rem;
  color: #0A97FB;
  margin: 0 0 0.5rem;
  text-align: left;

}

.content-text ul {
  margin: 0.5rem 0 0 1rem;
  padding: 0;
  list-style: none;
}

.content-text ul li {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1rem;
  color: #333;
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1rem;
  line-height: 2;
}

.content-text ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 6px;
  height: 6px;
  background: #0A97FB;
  border-radius: 50%;
}




.application-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: 1rem;
  border-radius: 8px;
  box-sizing: border-box;
  width: 100%;

}

.application-image {
  flex: 1;
  min-width: 200px;
  max-width: 300px;
  width: 100%;
}

.application-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #ddd;
  display: block;
}

.application-text {
  flex: 2;
  width: 100%;
  min-width: 0;
}


/* 施工事例セクション */
#works .works-lead,.overview-lead {
  text-align: center;
}


#works .works-year {
  margin-top: 8rem;
  margin-bottom: 2rem;
}


#works .work-item {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}


#works .work-item h5 {
  font-family: 'Noto Serif JP', serif;
  font-size:24px;
  color: #333;
  margin-bottom:8px;
}


#works .work-gallery {
  display: flex;
  gap: 16px;
  margin-bottom:16px;
  flex-wrap: wrap;
  justify-content: flex-start;
}


#works .work-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #ddd;
  transition: transform 0.3s ease;
  display: block;
}



#works .work-image img:hover {
  transform: scale(1.05);
}

#works .work-image {
  flex: 0 0 auto;
  width: 360px;
  max-width: 100%;
  height: 255px;
  overflow: hidden;
  cursor: pointer;
  box-sizing: border-box;
  
}



/* モーダル */
#works .modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

#works .modal.active {
  display: flex;
  opacity: 1;
}

#works .modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 80vh;
  background: #fff;
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#works .modal-content img#modal-image {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 8px;
}

#works .modal-content img#modal-image:not([src]), #works .modal-content img#modal-image[src=""] {
  background: #f5f7fa;
  width: 280px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1rem;
  text-align: center;
}

#works .modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 2rem;
  color: #fff;
  background: #0A97FB;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease;
}

#works .modal-close:hover {
  background: #0872C7;
}

#works #modal-caption {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.1rem;
  color: #333;
  margin-top: 0.5rem;
}


.section4 h3{
  color: #fff; /* 白文字で背景とコントラスト */
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); /* 影で可読性向上 */
}

.section4 p{
  color: #fff; /* 白文字で背景とコントラスト */
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); /* 影で可読性向上 */
}

.intro-text{
	margin-top:24px;
}


/* イントロダクションセクション */
#overview-intro.section3 {
  position: relative;
  background: url('images/overview.jpg') no-repeat center center/cover; /* 背景写真 */
  padding: 100px 0;
  overflow: hidden;
}

#growth-intro.section3 {
  position: relative;
  background: url('images/intro.jpg') no-repeat center center/cover; /* 背景写真 */
  padding: 100px 0;
  overflow: hidden;
}

#ideal-candidate.section4 {
  position: relative;
  background: url('images/job.jpg') no-repeat center center/cover; /* 背景写真 */
  padding: 100px 0;
  overflow: hidden;
}

#company-overview.section4 {
  position: relative;
  background: url('images/recruitbg.jpg') no-repeat center center/cover; /* 背景写真 */
  padding: 100px 0;
  overflow: hidden;
}

#growth-intro::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* 暗いオーバーレイでテキストの可読性向上 */
  z-index: 1;
}

#growth-intro .container {
  position: relative;
  z-index: 2; /* コンテンツをオーバーレイの上に */
}

#growth-intro h3 {
  color: #fff; /* 白文字で背景とコントラスト */
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); /* 影で可読性向上 */

}


#growth-intro .content-item {
  background: rgba(255, 255, 255, 0.9); /* 半透明の白背景 */
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  max-width: 800px; /* テキスト幅を制限 */
  margin: 0 auto; /* 中央揃え */
}

#growth-intro .content-text {
  text-align: center; /* テキスト中央揃え */
}

#growth-intro .content-text p {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.2rem;
  color: #333;
  line-height: 1.8;
}


#overview-intro .content-item {
  background: rgba(255, 255, 255, 0.8); /* 半透明の白背景 */
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  max-width: 630px; /* テキスト幅を制限 */
  margin: 0 auto; /* 中央揃え */
}

#overview-intro .content-text {
  text-align: left; /* テキスト中央揃え */
}

#overview-intro .content-text p {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.2rem;
  color: #333;
  line-height: 1.8;
}





/* 成長ストーリーセクション */
#growth-story .story-lead {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.2rem;
  color: #333;
  text-align: center;
  margin-bottom: 1.5rem;
}

#growth-story .story-timeline {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

#growth-story h4 {
  font-family: 'Noto Serif JP', serif;
  font-size:24px;
  color: #0A97FB;
  text-align: center;
  margin: 2rem 0 1rem;
  position: relative;
  padding-bottom: 8px;
}

#growth-story h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 4px;
  background: #0A97FB;
  border-radius: 2px;
}

#growth-story .story-step {
  width: 100%;
}

#growth-story .content-item {
  display: flex;
  align-items: center; /* 中央揃え */
  gap: 2rem;
  background: #fff;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}



#growth-story .content-image {
  flex: 1;
  min-width: 250px;
  max-width: 350px;
  width: 100%;
}

#growth-story .content-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #ddd;
}

#growth-story .content-text {
  flex: 2;
  min-width: 0;
}

#growth-story .content-text h5 {
  font-family: 'Noto Serif JP', serif;
  font-size:18px;
  color: #0A97FB;
  margin-bottom: 0.75rem;
}

#growth-story .content-text p {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.1rem;
  color: #333;
  line-height: 1.6;
}

#growth-story .story-message {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.2rem;
  color: #333;
  text-align: center;
  margin-top: 2rem;
}

/* サポート体制セクション */
#support .support-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2列 */
  grid-template-rows: repeat(2, auto); /* 2段 */
  gap: 1.5rem;
  margin-top: 2rem;
}

#support .support-item {
  background: #fff;
  border-radius: 8px;
  padding: 1.5rem;
  border: 1px solid #ddd;
  /*transition: transform 0.3s ease, box-shadow 0.3s ease;*/
}


#support .support-item h5 {
  font-family: 'Noto Serif JP', serif;
  font-size:24px;
  color: #0A97FB;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

#support .support-item h5::before {
  /*content: '\f058';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: #0A97FB;
  font-size: 1.2rem;*/
}





/* 若手社員の活躍セクション */
#recruit-projects .projects-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(490px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

#recruit-projects .project-image {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  /*transition: transform 0.3s ease;*/
  cursor: pointer;
}


#recruit-projects .project-image img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-bottom: 1px solid #ddd;
}

#recruit-projects .project-image p {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1rem;
  color: #333;
  padding: 1rem;
  margin: 0;
  line-height: 1.6;
}

/* ボタンエリア */
#recruit-projects .project-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}


/* 求める人材セクション 
#ideal-candidate .candidate-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}*/

#ideal-candidate .candidate-item {
  background: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid #ddd;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}



#ideal-candidate .candidate-item .reason-icon {
  font-size: 2rem;
  color: #0A97FB;
  margin-bottom: 0.75rem;
}

#ideal-candidate .candidate-item h5 {
  font-family: 'Noto Serif JP', serif;
  font-size:22px;
  color: #0A97FB;
  margin-bottom: 0.75rem;
}

#ideal-candidate .candidate-item p {
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1.8;
}




/* 教育制度セクション */
#education .education-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

#education .education-item {
  background: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid #ddd;
  text-align: center;
  /*transition: transform 0.3s ease, box-shadow 0.3s ease;*/
  display: flex;
  flex-direction: column;
  align-items: center;
}

#education .education-item:hover {
  /*transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);*/
}

#education .education-item .reason-icon {
  font-size: 2rem;
  color: #0A97FB;
  margin-bottom: 0.75rem;
}

#education .education-item h5 {
  font-family: 'Noto Serif JP', serif;
  font-size:24px;
  color: #0A97FB;
}

#education .education-item .education-image {
  width: 100%;
  max-width: 250px;
  margin-bottom: 1rem;
}

#education .education-item .education-image img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #ddd;
}

#education .education-item p {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.1rem;
  color: #333;
  line-height: 1.8;
  margin-bottom: 1rem;
}

#education .education-item ul {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
  text-align: left;
}

#education .education-item ul li {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1rem;
  color: #333;
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1rem;
  line-height: 2;
}

#education .education-item ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 6px;
  height: 6px;
  background: #0A97FB;
  border-radius: 50%;
}

#education .education-lead,.recruitment-lead {
  text-align:center;
}



/* 未経験者向けボタン */
.newcomer-button {
  display: block;
  max-width: 500px;
  margin: 3rem auto; /* 上下の余白を増やす */
  padding: 1rem 2rem;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.4rem; /* フォントサイズ拡大 */
  font-weight: 800; /* さらに太字 */
  color: #000;
  background: #fff100; /* オレンジ */
  border-radius: 4px;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* 影を追加 */
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}


.mission-signature {
  font-family: 'Noto Serif JP', serif;
  font-size:24px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin: 2rem 0;
  padding: 2.5rem; /* パディング増 */
  background: linear-gradient(135deg, #0A97FB 0%, #0033A0 100%); /* 鮮やかに */
  border: 2px solid #fff; /* 白ボーダー */
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  animation: fadeInScale 1.5s ease-in-out forwards;
}
/* 情報ブロック */
.info-blocks {
  padding: 80px 0;
  background: #fff;
}

.info-blocks .container {
  display: flex;
  gap: 30px;
}

.info-block {
  flex: 1;
  background: #333;
  color: #f5f7fa;
  padding: 30px;
  border-radius: 8px;
  display: flex;
  gap: 20px;
  align-items: center;
  transition: background 0.3s;
  border: 1px solid #555;
}

.info-block:hover {
  background: #444;
}

.info-image {
  width: 50%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.info-content {
  width: 50%;
}

.info-block h5 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.info-block p,
.info-block a {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.1rem;
}

.info-block p {
  margin-bottom: 2rem;
}

.info-block .cta-button {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
  font-size: 1rem;
}

.info-block .cta-button:hover {
  background: #fff;
  color: #333;
  transform: none;
}
/* 電話番号のスタイル */
.phone-number {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
}

.tel-desktop-only {
  font-size:26px;
  color: #5FD7FF;
}

/* フッター */
footer {
  background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
  color: #f5f7fa;
  padding: 40px 0;
  border-top:1px solid #0A97FB;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.3);
}

.footer-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}



.sitemap {
    background: #f5f7fa; /* #projectsセクションの背景色に合わせる */
  padding: 50px 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1rem;
  color: #333;

}
.sitemap nav {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.sitemap a {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.1rem;
  color: #000;
  text-decoration: none;
}

.sitemap a:hover {
  color: #0A97FB;
  text-decoration: underline;
}




.footer-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo-image {
  height: 50px;
  width: auto;
  max-width: 150px;
}

.footer-logo-text {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #f5f7fa;
}

.footer-contact {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.footer-contact .cta-button {
  flex: 1;
  min-width: 100px;
  padding: 10px;
  font-size: 1rem;
}

.footer-contact .cta-button i {
  font-size: 1.2rem;
}
.footer-address {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.1rem;
  color: #f5f7fa;
}

.footer-text {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.9rem;
  color: #f5f7fa;
  text-align: center;
  margin-top: 20px;
}


@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.mission-icon {
  color: #fff;
  margin-right: 0.5rem;
}

/* PC版でのメニュー表示 */
nav ul {
  display: flex;
  gap: 25px;
  list-style: none;
  flex-wrap: wrap; /* メニュー項目が画面幅を超える場合は折り返す */
  margin: 0;
  padding: 0;
}

nav a {
  font-family: 'Noto Sans JP', sans-serif;
  color: #333;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: color 0.3s;
}

nav a:hover,
nav a[aria-current="page"] {
  color: #0A97FB;
}

/* メニュートグル（モバイル用） */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  background: none;
  border: none;
}

.menu-toggle span {
  width: 30px;
  height: 4px;
  background: #333;
  margin: 5px 0;
  transition: all 0.3s;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* ドロップダウンメニュー（PC用） */
nav .has-submenu {
  position: relative;
}

nav .submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 220px;
  z-index: 1000;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  margin: 0;
  padding: 0;
}

nav .has-submenu:hover .submenu,
nav .has-submenu:focus-within .submenu {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

nav .submenu li {
  border-bottom: none;
  width: 100%;
  margin: 0; /* 余分なマージンを削除 */
}

nav .submenu li:not(:last-child) {
  border-bottom: 1px solid #eee;
}

nav .submenu a {
  display: block;
  padding: 12px 20px;
  font-size: 1rem;
  color: #333;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
  width: 100%;
  box-sizing: border-box;
  white-space: nowrap; /* テキストを折り返さない */
  overflow: hidden; /* はみ出た部分を隠す */
  text-overflow: ellipsis; /* はみ出た部分を省略記号で表示 */

}

nav .submenu a:hover {
  background: #f5f7fa;
  color: #0A97FB;
  text-decoration: none;
}

  .footer-contact {
    display: none;
  }

/* //////////////////////////////////////////////////////////////////////////////レスポンシブデザイン */
@media (max-width: 1024px) {

#overview-intro.section3 {
  background: url('images/overview-s.jpg') no-repeat center center/cover; /* 背景写真 */
}

#growth-intro.section3 {
  background: url('images/intro-s.jpg') no-repeat center center/cover; /* 背景写真 */

}

#ideal-candidate.section4 {
  background: url('images/job-s.jpg') no-repeat center center/cover; /* 背景写真 */

}

#company-overview.section4 {
  background: url('images/recruitbg-s.jpg') no-repeat center center/cover; /* 背景写真 */

}

#growth-intro .content-text {
  text-align: left;
}

  table#wide,table#wide2 {
    margin: 2rem auto;
  }
  table#wide th, table#wide td,table#wid2e th, table#wide2 td {
    padding: 1.2rem 1.5rem;
  }


/* ヒーローセクション */
  .hero-title {
    font-size:40px;
  }

  .hero-subtitle {
    font-size:16px;
  }

.hero {
  margin-top:30px;

}

  /* 見出しサイズを26pxに */
  h3 {
    font-size: 1.625rem; /* 26px（1rem = 16pxなので、26px / 16px = 1.625rem） */
  }

  /* 見出しサイズを26pxに */
  h4 {
    font-size: 1.4rem; /* 20px（1rem = 16pxなので、26px / 16px = 1.625rem） */
  }
  /* サービス */
  .services {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  /* 施工事例 */
  .project {
    flex: 0 0 calc(50% - 10px);
  }

  /* 情報ブロック */
  .info-blocks .container {
    flex-direction: column;
  }

  .info-block {
    flex-direction: column;
    text-align: center;
  }

  .info-image,
  .info-content {
    width: 100%;
  }

  .info-image {
    height: 550px;
  }

  /* フッター（レスポンシブ時） */
  .sitemap {
    display: none; /* メニュー非表示 */
  }

  .footer-contact {
    display: grid !important; /* 既存のスタイルを上書き */
    grid-template-columns: repeat(2, 1fr); /* 2カラム */
    grid-auto-rows: minmax(50px, auto); /* 行の高さを統一 */
    gap: 10px; /* ボタン間の間隔 */
    width: 100%;
    max-width: 500px;
    margin: 0 auto; /* 中央揃え */
  }

  .footer-contact .cta-button {
    min-width: 0; /* 最小幅をリセット */
    width: 100%; /* グリッドセルにフィット */
    height: 50px; /* 高さ統一 */
    font-size: 1rem;
    padding: 10px;
    margin: 0; /* マージンをリセット */
    display: flex; /* アイコンとテキストを中央揃え */
    align-items: center;
    justify-content: center;
    box-sizing: border-box; /* パディングとボーダーを含む */
  }

  .footer-address {
    text-align: center;
  }

  /* 会社情報テキストを左揃えに */
  .company-text {
    text-align: left;
  }

  /* 電話番号ボタンの表示 */
  .mobile-only {
    display: inline-flex;
  }

  .tel-desktop-only {
    display: none;
  }
  #page-title {
    padding: 3rem 0;
  }
  
h2 {
    font-size:50px;
    letter-spacing:2px;
  }

html, body {
    overflow-x: hidden;
    height: 100%;
  }

  nav ul {
  gap:0px;
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-height: 100vh;
    padding: 80px 20px 20px;
    background: #fff;
    overflow-y: auto;
    z-index: 998;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    box-sizing: border-box;
  }



  nav ul.active {
    display: flex;
    transform: translateX(0);
  }

  nav ul li {
    width: 100%;
    border-bottom: 1px solid #ddd;
    display: block;
    position: relative;
    box-sizing: border-box;

  }

  nav ul li a {
    display: block;
    padding: 15px 20px;
    font-size: 1.2rem;
    color: #333;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-top:27px;
    padding-bottom:27px;
  }

  nav .has-submenu {
    position: relative;
    padding-top:12px;
    padding-bottom:12px;
  }


  /* サブメニューのスタイル修正 */
  nav .has-submenu .submenu {
    visibility: hidden;
    opacity: 0;
    position: static;
    background: #f9f9f9;
    width: auto;
    border: none;
    box-shadow: none;
    padding: 0;
    box-sizing: border-box;
    transition: opacity 0.2s ease, visibility 0.2s ease;
  }
  nav .has-submenu .submenu.active {
    visibility: visible;
    opacity: 1;
    background: #f9f9f9;
  }



  .submenu-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 15px 20px;
    background: none;
    border: none;
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    position: relative;
    box-sizing: border-box;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .submenu-toggle::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 1rem;
    width: 20px;
    text-align: center;
    transition: transform 0.3s;
    flex-shrink: 0;
  }

  .submenu-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
  }



.mini{
    padding-top:13px;
    padding-bottom:13px;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
    background: none;
    border: none;
    cursor: pointer;
  }

  .menu-toggle span {
    width: 30px;
    height: 4px;
    background: #333;
    margin: 5px 0;
    display: block;
    transition: all 0.3s ease;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  
  .service-item--left {
    gap: 1.5rem;
  }

  .service-image {
    min-width: 250px;
    max-width: 350px;
  }

  .service-image img {
    height: 180px;
  }

  .service--highlight .service-title {
    font-size:26px;
  }

  .service-title {
    font-size:26px;
  }

  .service-icon {
    font-size:28px;

  }

  .service-description,
  .service-detail {
  }

  .service-content ul {
    margin-left: 0.8rem;
  }

  .service-content ul li {
    margin-top:8px;
    padding-left:15px;
  }

  .service-content ul li::before {
    top:10px;
    width:8px;
    height:8px;
  }

  .mission-signature {
    font-size: 1.4rem;
    padding: 2rem;
  }

  .floating-cta {
    bottom: 70px;
    right: 15px;
    padding: 0.8rem 1.5rem;
    font-size: 1.1rem;
  }

  .overview-image img,
  .recruitment-image img,
  .candidate-image img,
  .process-image img,
  .content-image img {
    max-width: 350px;
    height: 180px;
  }

  .content-image {
    max-width: 400px;
  }

  .content-image img {
    height: 180px;
  }

  .content-text h4 {
    font-size: 1.2rem;
  }

  .newcomer-button {
    width: 90%;
    font-size: 1.3rem;
    padding: 0.8rem 1.5rem;
  }
  
  
  #growth-intro.section3 {
    padding: 80px 0;
  }

  #growth-intro h3 {
    font-size: 1.625rem; /* 26px */
  }

  #growth-intro .intro-lead {
    font-size: 1.1rem;
  }

  #growth-intro .content-text p {
    font-size: 1.1rem;
  }

  #growth-story h4 {
    font-size: 1.6rem;
  }

  #growth-story .content-item {
    flex-direction: column; /* タブレット以下で縦並び */
    align-items: center;
  }

  #growth-story .content-image {
    max-width: 400px;
  }

  #growth-story .content-image img {
    height: 180px;
  }

  #growth-story .content-text h5 {
    font-size: 1.3rem;
  }

  #support .support-content {
    grid-template-columns: 1fr; /* タブレットで1列 */
    grid-template-rows: auto; /* 自動行 */
  }

  #support .support-item h5 {
    font-size: 1.3rem;
  }

  #support .support-item p {
    font-size: 1rem;
  }




  #recruit-projects .project-image img {
    height: 130px;
  }

  #recruit-projects .project-image p {
    font-size: 0.95rem;
  }

  #ideal-candidate .candidate-grid {
    grid-template-columns: 1fr;
  }

  #ideal-candidate .candidate-item h5 {
    font-size: 1.3rem;
  }

  #ideal-candidate .candidate-item p {
    font-size: 1rem;
  }
  


  #education .education-grid {
    grid-template-columns: 1fr;
  }

  #education .education-item h5 {
    font-size: 1.3rem;
  }

  #education .education-item p {
    font-size: 1rem;
  }

  #education .education-item .education-image img {
    height: 130px;
  }

  #education .education-item ul li {
    font-size: 0.95rem;
  }



#back-to-top{
	display:none;
}

}














/* //////////////////////////////////////////////////////////////////////////////レスポンシブデザイン */
/* レスポンシブ調整 */
@media (max-width: 768px) {

  .info-image,
  .info-content {
    width: 100%;
  }

  .info-image {
    height: 300px;
  }

.logo-image {
  height:45px;
  width: auto;
  max-width:160px;
}
.logo-text {
  font-family: 'Noto Serif JP', serif;
  font-size:24px;
  font-weight: 700;
  color: #333;
  white-space: nowrap;
}

  .breadcrumb {
    padding: 10px 0;
    font-size: 0.9rem;
  }

  .breadcrumb li:not(:last-child)::after {
    margin: 0 8px;
  }


 /* セクションの調整 */
  .section.section2,.section3,.section4 {
    padding: 2rem 0;
  }

  /* コンテナの調整 */
  .container {
    padding: 0 1rem;
  }



  /* すべてのテーブル（共通） */
  table#wide {
      border-top: 0px;
    /*display: block;*/
    width: 100%;
    margin: 2rem 0;
    padding: 0 1rem;
    box-sizing: border-box;
  }
  
  table#wide tr {
    display: block;
    width: 100%;
    margin-bottom: 1.5rem;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    box-sizing: border-box;
  }
  table#wide th, table#wide td {
    display: block;
    width: 100%;
    text-align: left;
    border-bottom: none;
    padding: 1rem 1.5rem;
    box-sizing: border-box;
  }
  table#wide th {
    background: #F7FAFC;
    border-bottom: 1px solid #E2E8F0;
  }




  table#wide2 {
    border-top: 0px;
    width: 100%;
    margin: 2rem 0;
    padding: 0 1rem;
    box-sizing: border-box;
        color:#000;
      text-shadow: 0 0px 0px rgba(0, 0, 0, 0.5); /* 影で可読性向上 */
  }
  
  table#wide2 tr {
    display: block;
    width: 100%;
    margin-bottom: 1.5rem;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    box-sizing: border-box;
  }
  table#wide2 th, table#wide2 td {
    display: block;
    width: 100%;
    text-align: left;
    border-bottom: none;
    padding: 1rem 1.5rem;
    box-sizing: border-box;
  }
  table#wide2 th {
    background: #F7FAFC;
    border-bottom: 1px solid #E2E8F0;
  }


/* フォーム */
  #contact-form {
    padding: 1.5rem;
    border-radius: 6px;
  }

  .form-group label {
    font-size: 1rem;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 0.9rem;
    padding: 0.6rem 0.8rem;
  }

  .form-submit button {
    font-size: 1rem;
    padding: 0.6rem 1.5rem;
  }

 /* フォーム */
  #contact-form {
    padding: 1.5rem;
    border-radius: 6px;
  }

  /* 表形式をレスポンシブに */
  #contact-table {
    display: block;
    width: 100%;
  }

  #contact-table tr {
    display: block;
    margin-bottom: 1rem;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    background: #FFFFFF;
  }

  #contact-table th,
  #contact-table td {
    display: block;
    width: 100% !important;
    text-align: left;
    padding: 1rem 1.5rem;
    border-bottom: none;
  }

  #contact-table th {
    background: #F7FAFC;
    border-bottom: 1px solid #E2E8F0;
    font-size: 1rem;
  }

  #contact-table td {
    background: #FFFFFF;
  }

  #contact-table input,
  #contact-table select,
  #contact-table textarea {
    font-size: 0.9rem;
    padding: 0.6rem 0.8rem;
  }

  #contact-table .note {
    font-size: 0.8rem;
  }

  .form-submit button {
    font-size: 1rem;
    padding: 0.6rem 1.5rem;

  }


  .service-item--left {
    flex-direction: column;
    gap: 1rem;
  }

  .service-image {
    min-width: 100%;
    max-width: 100%;
  }

  .service-image img {
    height: 150px;
  }





  .mission-signature {
    font-size: 1.2rem;
    padding: 1.5rem;
  }


  .floating-cta {
    bottom: 60px;
    right: 10px;
    padding: 0.6rem 1rem;
    font-size: 1rem;
  }

  .overview-image img,
  .recruitment-image img,
  .candidate-image img,
  .process-image img,
  .content-image img {
    max-width: 100%;
    height: 150px;
  }

  .content-item,.application-item {
    flex-direction: column; /* スマホ版は元々縦並びなので変更なし */
  }

  .content-image,.application-image {
    max-width: 100%;
  }

  .content-image img {
    height: 150px;
  }


  .application-image img {
    height: 300px;
  }
  
  .content-text h4 {
    font-size: 1.1rem;
  }

  .newcomer-button {
    max-width: 100%;
    font-size: 1.2rem;
    padding: 0.6rem 1rem;
  }


  #works .works-year h4 {
    font-size: 1.5rem;
  }

  #works .work-item h5 {
    font-size: 1.3rem;
  }

  #works .work-gallery {
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
  }

  #works .work-image {
    width: 100%;
    max-width: 350px;
    height: 110px;
  }

  #works .work-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
  }

  #works .modal-content {
    max-width: 95vw;
    max-height: 85vh;
    padding: 0.5rem;
  }

  #works .modal-content img#modal-image {
    max-width: 100%;
    max-height: 65vh;
  }

  #works #modal-caption {
    font-size: 1rem;
  }

  #works .modal-close {
    width: 35px;
    height: 35px;
    line-height: 35px;
    font-size: 1.8rem;
  }


  #intro.section3 {
    padding: 60px 0;
    background: url('images/intro-bg-mobile.jpg') no-repeat center center/cover; /* モバイル用背景 */
  }

  #intro .content-item {
    padding: 1rem;
  }

  #intro .content-text p {
    font-size: 1rem;
  }

#intro .content-item .reason-icon {
  font-size: 2rem;
  color: #0A97FB;
  margin-bottom: 0.75rem;
}




  #growth-story h4 {
    font-size: 1.4rem;
  }

  #growth-story .content-image img {
    height: 150px;
  }

  #growth-story .content-text h5 {
    font-size: 1.2rem;
  }

  #growth-story .content-text p {
    font-size: 1rem;
  }

  #support .support-item {
    padding: 1rem;
  }

  #support .support-item h5 {
    font-size: 1.2rem;
  }

  #support .support-item h5::before {
    font-size: 1rem;
  }

  #support .support-item p {
    font-size: 0.95rem;
    line-height: 1.6;
  }
  
  #education .education-item {
    padding: 1rem;
  }

  #education .education-item .reason-icon {
    font-size: 1.8rem;
  }

  #education .education-item h5 {
    font-size: 1.2rem;
  }

  #education .education-item p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  #education .education-item .education-image {
    max-width: 200px;
  }

  #education .education-item .education-image img {
    height: 120px;
  }

  #education .education-item ul li {
    font-size: 0.9rem;
  }


  #recruit-projects .projects-gallery {
    grid-template-columns: 1fr;
  }

  #recruit-projects .project-image img {
    height: 120px;
  }

  #recruit-projects .project-image p {
    font-size: 0.9rem;
  }

  #recruit-projects .project-buttons {
    flex-direction: column;
    align-items: center;
  }

  #recruit-projects .project-buttons .cta-button {
    width: 100%;
    max-width: 300px;
  }

  #ideal-candidate .candidate-item {
    padding: 1rem;
  }

  #ideal-candidate .candidate-item .reason-icon {
    font-size: 1.8rem;
  }

  #ideal-candidate .candidate-item h5 {
    font-size: 1.2rem;
  }

  #ideal-candidate .candidate-item p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

}


