/* --- スムーズスクロールを有効にする --- */
html {
  scroll-behavior: smooth;
  width: 100%;
  /* overflow-x: hidden; */
}

body {
  padding-top: 80px;
}

body {
  font-family: "Noto Sans JP", "Inter", sans-serif;
  line-height: 1.6;
  color: #000000;
  margin-top: 110px;
  /* padding-top: 110px; */
  /* padding-top: 0px; */
  margin: 0;
  overflow-x: hidden;
  overflow-y: visible;
  width: 100%;
  position: relative;
}

.phone a {
  text-decoration: none;
  color: inherit;
}

/* ===============================================
   ハンバーガーメニュー
=============================================== */

.menu-icon {
  display: none;
  margin: 25px 50px 0 0;
}

.menu-icon01 {
  display: flex;
  gap: 20px;
  margin-bottom: 5px;
}

.menu-icon02 {
  display: flex;
  justify-content: center;
}

.menu-icon03 {
  display: flex;
  gap: 20px;
  margin-top: 5px;
}

.menu-icon .dot {
  width: 8px;
  height: 8px;
  background-color: #000;
  transition: all 0.3s ease;
}

/* 右上を空けて5点にする */
.menu-icon .dot:nth-child(3) {
  grid-column: 3;
  grid-row: 1;
  opacity: 0;
  pointer-events: none;
}

.menu-icon:hover .dot {
  background-color: #0c5;
  /* 緑色に変更 */
  transform: scale(1.3);
}

/* フルスクリーンメニュー */
.full-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #fff;
  z-index: 1000;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  overflow-y: auto;
}

.full-menu.active {
  display: flex;
}

/* ヘッダー部（ロゴ・閉じる） */
.menu-header {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.logo {
  font-weight: bold;
}

.logo_title2 {
  margin-left: 5px;
  margin-right: 25px;
  transition: opacity 0.3s ease;
}

/* スクロール時にロゴ画像を半透明にする */
.main-header.scrolled .logo_title2 {
  opacity: 0.6;
  /* 60%の不透明度にする。0.0(透明)から1.0(不透明)の間で調整してください */
}

.close-btn {
  background: none;
  border: none;
  font-size: 60px;
  cursor: pointer;
  padding: 30px;
}

/* メニューリスト */
.menu-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  font-size: 24px;
  font-weight: bold;
}

.menu-list li {
  margin: 20px 0;
  display: flex;
  align-items: center;
  font-size: 48px;
  gap: 30px;
}

#fullMenu .menu-list span.number {
  font-weight: bold;
  font-size: 20px;
  color: #8e8d8d;
  margin-bottom: 15px;
  font-family: Noto Sans JP;
}

#fullMenu .menu-list span.title {
  font-weight: bold;
  font-size: 48px;
  color: #000;
  font-family: Inter;
}

#fullMenu .menu-list span.title_other {
  font-size: 24px;
  color: #000;
  font-family: Inter;
  margin: 70px 0px 0px 55px;
}

#fullMenu .menu-list span.label {
  font-weight: normal;
  font-size: 20px;
  color: #000;
  margin-top: 50px;
  font-family: Noto Sans JP;
}

#fullMenu .menu-list span.label_kotei {
  font-weight: normal;
  font-size: 20px;
  color: #000;
  margin-top: 50px;
  font-family: Noto Sans JP;
}

main.maintop {
  padding-top: 165px;
}

/* フッター部 */
.menu-footer {
  text-align: center;
  background-color: #e5e8df;
  padding: 30px;
}

.get-in-touch {
  font-size: 70px;
  font-weight: bold;
  font-family: Inter;
}

.phone {
  font-size: 20px;
  font-weight: bold;
  font-family: Inter;
}

.hambager_Copyright {
  font-size: 10px;
  margin-top: 20px;
  font-family: Inter;
}

/* ===============================================
   ヘッダー サブメニュー
=============================================== */

.main-nav ul li.has-submenu {
  position: relative;
}

/* サブメニュー本体 */
.main-nav .submenu {
  visibility: hidden;
  /* 初期状態で非表示 */
  opacity: 0;
  /* 透明 */
  transition: opacity 0.3s, visibility 0.3s;
  position: absolute;
  top: 100%;
  left: 100%;
  /* 中央揃えする場合 */
  transform: translateX(-50%);
  background-color: #fff;
  list-style: none;
  padding: 10px 0;
  margin-top: 15px;
  min-width: 240px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  text-align: left;
}

/* 親メニュー(li)にホバーした時にサブメニュー(ul)を表示 */
.main-nav ul li.has-submenu:hover>.submenu {
  visibility: visible;
  /* ① 見えるようにする */
  opacity: 1;
  /* ② 不透明にする */
}

/* サブメニュー内のリストを block にする */
.main-nav .submenu li {
  display: block;
}

/* サブメニューの各項目(li > a)のスタイル */
.main-nav .submenu li a {
  padding: 8px 20px;
  display: block;
  color: #333;
  /* 文字色 */
  text-align: left;
  text-decoration: none;
  white-space: nowrap;
  /* テキストを折り返さない */
  transition: background-color 0.3s;
  border-bottom: 1px solid #eee;
}

/* 最後の項目だけ線を消す */
.main-nav .submenu li:last-child a {
  border-bottom: none;
}

/* サブメニューの項目にホバーした時のスタイル */
.main-nav .submenu li a:hover {
  background-color: #f0f0f0;
  /* ホバー時の背景色 */
}

.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 1001;
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid #e0e0e0;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

/* スクロール時のヘッダー背景 */
.main-header.scrolled {
  border-color: transparent;
  /* ヘッダー全体を半透明の白にします */
  background-color: rgba(255, 255, 255, 0.5);
  /* ガラスのような「すりガラス効果」を出したい場合は以下のコメントを解除 */

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* スクロール時に、ヘッダー内の子要素の背景を消して、親の透過背景を見せる */
.main-header.scrolled .logo-container,
.main-header.scrolled .main_nav_bg {
  background-color: transparent;
}

.logo_title {
  margin: 0px 15px 0px 15px;
  transition: opacity 0.3s ease;
  /* 透明度の変化を滑らかに */
}

/* スクロール時にロゴ画像を半透明にする */
.main-header.scrolled .logo_title {
  opacity: 0.6;
  /* 60%の不透明度にする。0.0(透明)から1.0(不透明)の間で調整してください */
}

.logo-container {
  display: flex;
  align-items: center;
  color: white;
  background: #fff;
  transition: background-color 0.3s ease;
}

.company-name {
  font-family: "Mplus 1p-Medium", Helvetica;
}

.company-name-small {
  font-size: 20px;
}

.company-name-large {
  font-size: 24px;
}

.main_nav_bg {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  /* 中の要素を右端に寄せる */
  gap: 56px;
  padding-right: 92px;
  /* 外側の余白を内側の余白に変更 */
  flex-grow: 1;
  /* 残りのスペースをすべて埋める */
  background-color: #ffffff;
  /* 白い背景色を指定 */
  transition: background-color 0.3s ease;
  /* 背景色の変化を滑らかに */
}

.main-nav ul {
  list-style: none;
  display: flex;
}

.main-nav li {
  position: relative;
}

.main-nav>ul>li>a {
  display: block;
  padding: 20px 25px;
  text-decoration: none;
  color: #333;
  position: relative;
}

.main-nav>ul>li:hover>a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 10px;
  width: 100%;
  height: 2px;
  background: #333;
}

.has-submenu {
  text-align: left;
}

.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  width: 220px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid #eee;
  z-index: 100;
  text-align: left;
}

.submenu li {
  display: block;
}

.submenu li a {
  display: block;
  padding: 15px 20px;
  text-decoration: none;
  color: #333;
  border-bottom: 1px solid #eee;
  text-align: left;
}

.submenu li:last-child a {
  border-bottom: none;
}

.has-submenu:hover .submenu {
  display: block;
}

.submenu li a:hover {
  background: #f8f8f8;
}

.contact-button {
  background: linear-gradient(90deg,
      rgba(18, 145, 60, 1) 0%,
      rgba(158, 192, 46, 1) 100%);
  color: #ffffff;
  padding: 15px;
  border-radius: 100px;
  text-decoration: none;
  font-size: 15px;
  width: 100%;
  max-width: 167px;
  height: auto;
  display: inline-block;
  white-space: nowrap;
  flex-shrink: 0;
  text-align: center;
  position: relative;
  /* 疑似要素を配置する基準点にする */
  z-index: 1;
  /* テキストなどが疑似要素の背面に隠れないようにする */
  overflow: hidden;
  /* 角丸の外に疑似要素がはみ出さないようにする */
  transition: color 0.4s ease;
  /* 文字色の変化を滑らかに（任意） */
}

/* ホバー時に表示される逆グラデーションを持つ疑似要素 */
.contact-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  /* 逆のグラデーションを設定 */
  background: linear-gradient(90deg,
      rgba(158, 192, 46, 1) 0%,
      rgba(18, 145, 60, 1) 100%);

  z-index: -1;
  /* ボタンの背景になるように背面に配置 */
  opacity: 0;
  /* 通常時は透明にして見えなくする */
  transition: opacity 0.5s ease;
}

/* ボタンにホバーした時に、疑似要素を表示する */
.contact-button:hover::before {
  opacity: 1;
  /* 透明度を1にして、完全に見えるようにする */
}

.header-ruler-out {
  position: absolute;
  top: 0px;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  height: 100%;
  width: 1540px;
  margin: 0 auto;
  border-left: 1px solid #E6E6E6;
  border-right: 1px solid #E6E6E6;
  z-index: -10;
}

.header-ruler-center {
  position: absolute;
  top: 0px;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  height: 100%;
  width: 770px;
  margin: 0 auto;
  border-left: 1px solid #E6E6E6;
  border-right: 1px solid #E6E6E6;
  z-index: -10;
}

.header-ruler-in {
  position: absolute;
  top: 0px;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  height: 100%;
  width: 1px;
  margin: 0 auto;
  background-color: #E6E6E6;
  z-index: -10;
}

/* ヘッダー　ここまで */

/* ===============================================
  TOPページ　メイン
=============================================== */
/* メイン　ここから */

/* スライダー */
.slider {
  position: relative;
  width: 100%;
  /* max-width: 1700px; */
  margin: 0 auto 200px;
  min-height: 1145px;
  display: flex;
  justify-content: space-between;
  overflow-x: hidden;
}

.slider_base {
  width: 770px;
  height: auto;
  margin: 0 auto;
  position: relative;
}

.slider-frame {
  width: 770px;
  height: 910px;
  overflow: hidden;
  border-radius: 10px;
  position: relative;
}

.slider-frame img {
  position: absolute;

  top: 0;
  left: 0;

  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  border-radius: 24px;
  transition: opacity 1s ease-in-out;
}

.slider-frame img.active {
  opacity: 1;

  z-index: 1;
  /* 表示中の画像を一番上に */

}

/* .slider .slider-frame:nth-child(1) {
  transform: translateY(20px);
}

.slider .slider-frame:nth-child(2) {
  transform: translateY(-20px);
}

.slider .slider-frame:nth-child(3) {
  transform: translateY(-60px);
} */

.slider-frame.left {
  position: absolute;
  top: 235px;
  left: -815px;
}

.slider-frame.center {
  position: absolute;
  top: 118px;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
}

.slider-frame.right {
  position: absolute;
  top: 0px;
  right: -815px;
}

/* スライダー */

/* 全体ラッパー */

.hero {
  text-align: unset;
  /* ← これがポイント */
}

.hero2 {
  position: relative;
  max-width: 100%;
  width: 1540px;
  margin: 0 auto;
  height: 200px;
}

/* テキストボックス（1920px基準で配置） */
.hero-text-box {
  position: absolute;
  top: 30%;
  /* left: calc((100vw - 1920px) / 2 + 160px); */
  /* 1920px中央 + 左に300px移動 */
  transform: translateY(-50%);
  max-width: 100%;
  /* white-space: nowrap; */
  margin-top: 50px;
}

/* テキストスタイル */
.hero-title {
  font-size: 70px;
  font-weight: 700;
  line-height: 1.2;
}

/* テキストスタイル */
.hero-title3 {
  font-size: 70px;
  font-weight: 700;
  line-height: 1.2;
  margin-left: 630px;
}

/* 緑色の強調文字 */
.highlight {
  color: #1d943c;
  font-weight: inherit;
  font-family: inherit;
}

@media screen and (max-width: 1024px) {
  .hero-text-box {
    position: static;
    transform: none;
    padding: 0 5%;
    white-space: normal;
  }

  .hero-title {
    font-size: 7vw;
    text-align: center;
  }
}

#slider1 {
  margin-top: 91px;
}

.slider1_wrap {
  position: relative;
}

.slider1_li_box {
  position: relative;
}

.max_img {
  max-width: 100%;
  height: auto;
}

.wrapper {
  position: relative;
  /* min-height: 4600px; */
  height: auto;
}

.swiper-container-wrap {
  margin-bottom: 200px;
}

/*  services　セクション　ここから　*/

.services_main {
  width: 100%;
  height: auto;
  /* max-width: 700px; */
  position: absolute;
  top: 15px;
  right: 0;
  z-index: 10;
  display: flex;
  justify-content: flex-end;
}

.services_main img {
  width: 40%;
  border-radius: 24px 0 0 24px;
}

.content_services {
  padding-left: 190px;
  text-align: left;
  margin: 0 auto 0 0;
  max-width: calc(100% - 50% - 70px);
  width: 100%;
}

.hero-images {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.hero-image {
  max-width: 30%;
  border-radius: 10px;
}

.section-title {
  text-align: left;
  margin-bottom: 1rem;
}

.section-title2 {
  text-align: left;
  /* margin-bottom: 2rem;
  margin-left: 130px; */
}

.section-title-en {
  font-size: 64px;
  font-weight: 900;
  color: #12903c;
}

.section-title-en2 {
  font-size: 64px;
  font-weight: 900;
  color: #000;
}

.section-title-en-p {
  font-size: 64px;
  font-weight: 900;
  color: #12903c;
}

.section-title-en2-p {
  font-size: 64px;
  font-weight: 900;
  color: #000;
}

.section-title-ja {
  font-size: 30px;
  font-weight: 700;
  display: block;
}

.section-description {
  text-align: left;
  font-size: 20px;
  line-height: 2;
  font-weight: bold;
}

#services {
  width: 100%;
  height: auto;
  /* margin-top: 100px; */
  position: relative;
  z-index: 30;
}

#services .heikousihenkei01 {
  width: 100%;
  position: static;
  /* ← フロー内で表示 */
  /* margin-top: 100px; */
  /* ← これで位置調整 */
  background-color: #e5e8df;
  clip-path: polygon(0 0, 100% 23.5%, 100% 100%, 0% 76.5%);
  padding: 180px 0px 430px;
  box-sizing: border-box;
  z-index: 30;
}

.services-grid,
.portfolio-grid {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  justify-content: center;
  position: relative;
  top: 200px;
}

.services-grid_top {
  overflow-x: auto;
}

.services-grid_top_inner {
  width: 100%;
  max-width: 1545px;
  display: flex;
  gap: 15px;
  margin-bottom: 2rem;
  justify-content: center;
  position: relative;
  margin: calc(0px) auto 5px auto;
  margin-top: 50px;
  padding-right: 20px;
  box-sizing: border-box;
}

.service-item,
.portfolio-image {
  border-radius: 25px;
  overflow: hidden;
  text-align: center;
  border: #ffffff 0px solid;
  background-color: #ffffff;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

.service-title_bg {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.service-title {
  font-size: 20px;
  font-weight: 700;
  margin: 1rem 0;
}

.more-details {
  color: #000;
  text-decoration: none;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-container {
  display: flex;
  justify-content: flex-start;
  gap: 1rem;
  margin: 100px auto 270px;
}

.cta-container_top {
  display: flex;
  justify-content: flex-start;
  gap: 1rem;
}

.cta-container_top2 {
  display: flex;
  justify-content: flex-start;
  gap: 1rem;
}

.cta-container_top2 {
  display: none;
}

.cta-container_top3 {
  display: flex;
  justify-content: flex-start;
  gap: 1rem;
}

.cta-container_portfolio {
  display: flex;
  justify-content: flex-start;
  gap: 1rem;
  margin: 100px auto 280px;
}

.cta-button {
  background-color: #12903c;
  color: #ffffff;
  padding: 0.7rem 1.7rem;
  border-radius: 100px;
  text-decoration: none;
  font-size: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-width: 180px;
}

.cta-button4 {
  background-color: #12903c;
  color: #ffffff;
  padding: 0.7rem 1.2rem;
  border-radius: 100px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 230px;
  height: 55px;
  margin-top: 30px;
}

.cta-button2 {
  background-color: #12903c;
  color: #ffffff;
  padding: 0.7rem 1.2rem;
  border-radius: 100px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 230px;
  height: 55px;
}

.cta-text {
  flex-grow: 1;
  text-align: center;
}

.circle-symbol {
  width: 10px;
  height: 10px;
  background-color: #d9d9d9;
  border-radius: 50%;
  display: inline-block;
  margin-left: 10px;
  flex-shrink: 0;
  transition: transform 0.3s ease-in-out;
}

.cta-button:hover .circle-symbol {
  transform: scale(1.5);
  /* 要素を1.5倍に拡大 */
}

.cta-button2:hover .circle-symbol {
  transform: scale(1.5);
  /* 要素を1.5倍に拡大 */
}

.cta-button03:hover .circle-symbol {
  transform: scale(1.5);
  /* 要素を1.5倍に拡大 */
}

.cta-button4:hover .circle-symbol {
  transform: scale(1.5);
  /* 要素を1.5倍に拡大 */
}

.cta-container:hover .circle-symbol {
  transform: scale(1.5);
  /* 要素を1.5倍に拡大 */
}

.circle-symbol2 {
  width: 8px;
  height: 8px;
  background-color: #000;
  border-radius: 50%;
  display: inline-block;
  margin-left: 10px;
  flex-shrink: 0;
  transition: transform 0.3s ease-in-out;
}

.more-details:hover .circle-symbol2 {
  transform: scale(1.6);
  /* 要素を1.5倍に拡大 */
}

.service-image {
  width: 100%;
  max-width: 505px;
  height: auto;
}

/*  services　セクション　ここまで　*/

/*  portfolio　セクション　ここから　*/

#portfolio {
  position: relative;
  z-index: 25;
}

#portfolio .heikousihenkei01 {
  margin: -350px 0 0 0;
  width: 100%;
  /* position: absolute;
  top: -375px;
  left: 0; */
  background-color: #e5eff1;
  clip-path: polygon(0 22.5%, 100% 0%, 100% 77.5%, 0% 100%);
  padding: 300px 0px 140px;
  box-sizing: border-box;
  z-index: -1;
}

.portfolio_container_bg {
  display: flex;
  justify-content: space-between;
  /* padding: 10px 190px; */
  padding: 10px 0px;
  gap: 150px;
  margin-bottom: 100px;
}

.portfolio_container {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-left: 190px;
}

.portfolio_container_inner {
  display: flex;
  justify-content: center;
  gap: 50px;
  /* margin-left: 190px; */
}

.portfolio_container_text {
  max-width: 600px;
  width: 100%;
  margin-right: 190px;
}

.column {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.column img {
  max-width: 320px;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.column.shifted {
  margin-top: -40px;
  /* margin-left: 20px; */
}

.portfolio_container_btn {
  max-width: 230px;
  width: 100%;
  height: 55px;
}

/*  portfolio　セクション　ここまで　*/

/* Newsセクション　ここから */

#news {
  position: relative;
  width: 100%;
  height: auto;
}

#news .heikousihenkei01 {
  margin: -275px 0 0 0;
  width: 100%;
  background-color: #e5e8df;
  clip-path: polygon(0 0, 100% 23.5%, 100% 100%, 0% 76.5%);
  padding: 355px 190px 400px;
  box-sizing: border-box;
  z-index: -5;
  display: flex;
  justify-content: space-between;
  gap: 50px;
}

.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.news-item {
  position: relative;
  border-bottom: 1px solid #bcbeba;
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.news-list :first-child {
  padding-top: 0;
}

.news-list :last-child {
  margin-bottom: 0;
}

.news-item .news-link {
  width: fit-content;
  display: flex;
  align-items: flex-start;
  gap: 80px;
  /* padding-right: 200px; */
  text-decoration: none;
  color: inherit;
}

.news_kiji01 {
  max-width: 240px;
  width: auto;
  height: 180px;
  border-radius: 14px;
  object-fit: cover;
  display: block;
}

.news-content {
  max-width: 690px;
  width: 100%;
}

.news-date,
.news-category {
  font-size: 15px;
  color: #666666;
  margin-right: 1rem;
  display: inline-block;
  margin-bottom: 15px;
}

.news-category {
  border: #000 1px solid;
  border-radius: 10px;
  padding: 3px 8px;
}

.news-title {
  font-size: 20px;
  font-weight: 700;
}

.news-link {
  color: #12903c;
  text-decoration: none;
}

.all-news-button {
  display: block;
  width: max-content;
  margin: 2rem 0px 0px 190px;
  background-color: #12903c;
  color: #ffffff;
  padding: 0.5rem 1.5rem;
  border-radius: 100px;
  text-decoration: none;
}

.button-container {
  position: absolute;
  /* 文書の流れから切り離す */
  top: 50%;
  /* 親要素(.news-item)の上から50%の位置に */
  right: 0;
  /* 親要素(.news-item)の右端から0pxの位置に */
  transform: translateY(-50%);
  /* ボタン自身の高さの半分だけ上にずらして完全な中央揃えに */
}

/* 1. 円形ボタンの土台 */
.circle-arrow-button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  background-color: transparent;
  border-radius: 50%;
  text-decoration: none;
  border: 1px solid #000;
  position: relative;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

/* 2. 矢印のパーツの共通スタイル */
.circle-arrow-button::before,
.circle-arrow-button::after {
  content: "";
  position: absolute;
  /* ボタンを基準に絶対配置 */
  background-color: #000;
  /* 矢印の色 */
  /* transition: transform 0.5s ease; */
  /* アニメーションの設定 */
  transition: left 1s ease;
}

.circle-arrow-button::before {
  top: 50%;
  transform: translateY(-50%);
  /* 上下中央揃え */
  height: 1px;
  /* ★★★ 初期位置 ★★★ */
  /* 円の左端からスタート */
  left: -10px;
  /* 円の半分くらいの長さに設定 */
  width: 34px;
}

/* 4. 矢印の「先端(>)」部分 (::after) */
.circle-arrow-button::after {
  top: 44%;
  width: 8px;
  /* 先端のサイズ */
  height: 1px;
  /* 先端のサイズ */
  background-color: transparent;
  /* 背景は透明に */
  border-top: 1px solid #000;
  /* 上の線 */
  border-right: 1px solid #000;
  /* 右の線 */
  /* ★先端の形になるように45度回転させ、位置を微調整 */
  transform: rotate(45deg);

  /* ★★★ 初期位置 ★★★ */
  /* 横棒のすぐ右に配置 */
  left: 17px;
}

.circle-arrow-button:hover::before {
  /* 円の中央に配置されるように調整 (円の幅60px / 4 = 15px) */
  left: 14px;
}

.circle-arrow-button:hover::after {
  /* 横棒の動きに合わせて同じ距離だけ移動させる (15px + 25px = 40px) */
  left: 41px;
}

.title_sec2 {
  margin-top: 75px;
  max-width: 1160px;
  width: 100%;
}

/* Newsセクション　ここまで */

/* infoセクション　ここから */

.info-blocks {
  max-width: 1540px;
  width: 100%;
  display: flex;
  margin: -70px auto 325px;
  text-align: center;
  position: relative;
  /* top: 2200px; */
  gap: 80px;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
}

.info-block {
  max-width: 730px;
  width: 100%;
  height: 650px;
  position: relative;
  /* flex: 1; */
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.25);
  /* 影も軽めに */
}

.info-image {
  width: 100%;
  max-width: 730px;
  height: auto;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1000;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  /* なめらかアニメーション */
}

.info-image img {
  width: 100%;
  height: auto;
  display: block;
  /* ← これで余白解消 */
  object-fit: cover;
}

.info-image:hover {
  transform: translateY(-4px) scale(1.02);
  /* 4pxだけ浮かせる & 少し拡大 */
}

.info-content {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  color: #ffffff;
}

.info-title-en {
  font-size: 64px;
  font-weight: 900;
}

.info-title-ja {
  font-size: 30px;
  font-weight: 700;
  display: block;
}

.info-description {
  font-size: 30px;
  font-weight: 700;
  margin: 1rem 0;
}

.info-link {
  color: #ffffff;
  text-decoration: none;
}

/* フッター ここから*/

.main-footer {
  background-color: #232323;
  color: #ffffff;
  padding: 130px 0rem 0px;
  position: relative;
  top: 200px;
}

.main-footer2 {
  background-color: #232323;
  color: #ffffff;
  padding: 130px 0rem 0px;
  position: relative;
}

.footer-info-button {
  max-width: 1000px;
  width: 100%;
  background-color: #232323;
  border-radius: 15px 15px 0px 0px;
  position: absolute;
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  z-index: 30;
}

.footer-info-button-inner {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
}

.footer-info-button h3 {
  font-size: 70px;
  font-weight: bold;
  line-height: 1;
  margin-top: 10px;
  text-align: center;
}

.footer-info-button-move-ico-area {
  position: relative;
  width: 190px;
  height: 90px;
}

.move-ico-base {
  position: absolute;
  left: 0;
  bottom: 0;
}

.move-ico-float {
  position: absolute;
  right: 30px;
  top: 20px;
  transition-duration: 0.8s;
}

.footer-info-button:hover .move-ico-float {
  right: 0px;
  top: 0px;
  transition-duration: 0.8s;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  /* ↓ 全体の幅と左右の余白を管理しやすくする */
  max-width: 1200px;
  /* 例えば最大幅を設定 */
  margin: 0 auto;
  /* 中央寄せにする */
  padding: 0 20px;
  /* 画面端との余白をpaddingで確保 */
}

.footer-left {
  flex: 1;
}

.footer-logo {
  margin-bottom: 25px;
}

.logo-text {
  font-size: 24px;
  font-weight: bold;
  margin: 0;
}

.company-name2 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 25px;
}

.company-name3 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 25px;
}

.company-name4 {
  color: #000;
  font-size: 20px;
  font-weight: bold;
  line-height: 1.3;
}

.company-name5 {
  color: #000;
  font-size: 24px;
  font-weight: bold;
  /* display: none; */
}

/* 480px以下で改行を有効にする */
@media screen and (max-width: 480px) {
  .company-name5 {
    display: inline;
  }
}

.company-address {
  font-size: 20px;
  line-height: 1.7;
}

.footer-right {
  display: flex;
  flex-shrink: 0;
}

.footer-nav {
  padding: 0 40px;
  border-left: 1px solid #555;
  border-right: 1px solid #555;
}

.main-menu {
  display: flex;
  gap: 30px;
}

.main-menu>li {
  font-size: 14px;
}

.main-menu a:hover {
  opacity: 0.7;
}

.sub-menu {
  margin-top: 20px;
}

.sub-menu li {
  font-size: 15px;
  margin-bottom: 12px;
}

.sub-menu li a::before {
  content: "└";
  margin-right: 10px;
}

.footer-divider {
  border-left: 1px solid #555;
  padding-left: 50px;
  display: flex;
  align-items: center;
  /* 数字を上下中央に配置 */
}

.divider-number {
  font-size: 70px;
  font-weight: 100;
  /* 細いフォント */
  color: #fff;
}

/* --- コピーライト --- */
.footer-copyright {
  text-align: right;
  font-size: 10px;
  color: #a0a0a0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
}

.footer-title {
  font-family: "Mplus 1p-Medium", Helvetica;
  margin-bottom: 1rem;
}

.footer-title-small {
  font-size: 20px;
}

.footer-title-large {
  font-size: 24px;
}

.footer-address {
  font-style: normal;
  font-size: 13px;
  margin-bottom: 1rem;
}

.footer-motto {
  font-size: 36px;
  font-weight: 700;
}

.footer-logo {
  margin-bottom: 1rem;
}

.copyright {
  font-size: 10px;
}

/* --- トップへ戻るボタン --- */
#page-top-btn {
  position: fixed;
  /* 画面に位置を固定 */
  bottom: 30px;
  /* 下から30pxの位置 */
  right: -40px;
  /* 右から30pxの位置 */
  z-index: 999;
  /* 他の要素より手前に表示 */
  width: 70px;
  /* ボタンの幅 */
  height: 70px;
  /* ボタンの高さ */
  opacity: 0;
  /* 初期状態では非表示 */
  visibility: hidden;
  /* アクセシビリティのため非表示に */
  transition: opacity 0.3s, visibility 0.3s;
  /* ふわっと表示/非表示させるための設定 */
}

#page-top-btn.is-visible {
  opacity: 1;
  /* 表示する */
  visibility: visible;
}

#page-top-btn img {
  height: auto;
}

/* フッターここまで */

/* ===============================================
   Companyページ
=============================================== */

/*  共通メイン上部 */

.hero-area {
  padding-left: 185px;
}

.hero-title2 {
  max-width: 1540px;
  padding: 70px 0px 0px;
  text-align: left;
  margin: 0 auto 0 0;
}

.section-title-en3 {
  font-size: 128px;
  font-weight: 500;
  color: #12903c;
  font-family: Inter;
}

.section-title-en4 {
  font-size: 128px;
  font-weight: 500;
  color: #000;
  font-family: Inter;
}

.section-title-ja2 {
  font-size: 30px;
  font-weight: 700;
  display: block;
  text-align: left;
  max-width: 1540px;
  margin: 0 auto 42px 0;
}

.top_main_image {
  width: 100%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: 0;
}

.top_main_image_company {
  width: 100%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: 0;
}

.top_main_image_portfolio {
  width: 100%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: 0;
}

.container {
  display: flex;
  max-width: 1540px;
  margin: 100px auto 300px;
  /* padding: 0 20px; */
  gap: 45px;
  position: relative;
}

.sidebar {
  flex: 0 0 342px;
  /* サイドバーの幅を固定 */
  background-color: #e5e8df;
  /* ご指定の背景色 */
  padding: 45px;
  /* height: fit-content; */
  /* 中身の高さに合わせる */
  position: sticky;
  /* スクロールに追従させる */
  top: 150px;
  /* ヘッダーの高さを考慮した位置 */
  border-radius: 5%;
  width: 342px;
  height: 264px;
  line-height: 3;
}

/* --- サイドバーメニューのスタイル --- */

.sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar li {
  margin-bottom: 1em;
}

.sidebar li a {
  text-decoration: none;
  color: #333;
  font-size: 16px;
  display: flex;
  align-items: center;
  transition: color 0.3s ease;
}

/* 通常時の■のスタイル */
.sidebar li a::before {
  content: "■";
  color: #000;
  /* 通常時の色 */
  margin-right: 12px;
  font-size: 1em;
  /* 通常時のサイズ */
  transition: all 0.3s ease;
}

/* --- ここからが選択時のスタイル --- */
/* 選択されている項目の■のスタイル */
.sidebar li.active a::before {
  color: #5a7a35;
  /* 選択時の色（例：深緑） */
  transform: scale(1.3);
  /* 少し大きくする */
}

/* 選択されている項目のテキストのスタイル */
.sidebar li.active a {
  color: #000;
  /* 選択時のテキスト色 */
  font-weight: bold;
}

.content {
  flex: 1;
  position: relative;
  /* bottom: 200px; */
  /* 残りの幅をすべて使用 */
}

.content-section {
  /* margin-bottom: 80px; */
  /* 各コンテンツセクションの間隔 */
  scroll-margin-top: 100px;
}

.content-section:last-child {
  margin-bottom: 0;
}

.content-section {
  display: none;
}

.content-section.active {
  display: block;
}

/* ごあいさつ・経営理念 */

.greeting_title {
  font-size: 64px;
  color: #12913c;
  margin: 0px 0 20px 0;
  font-family: Noto Sans JP;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 10px;
}

.greeting_text {
  font-size: 24px;
  font-weight: bold;
  margin: 0 0 30px 0;
  font-family: Noto Sans JP;
  line-height: 2.5;
}

.greeting_title02 {
  font-size: 32px;
  margin: 0 0 19px 0;
  font-family: Noto Sans JP;
}

.greeting_text02 {
  font-size: 20px;
  margin: 0 0 227px 0;
  font-family: Noto Sans JP;
  line-height: 42px;
  max-width: 1041px;
}

.greeting_title03 {
  font-size: 32px;
  font-weight: bold;
  margin: 0;
  font-family: Noto Sans JP;
}

.greeting_title04 {
  font-size: 24px;
  font-weight: bold;
  margin: 0 0 16px 0;
  font-family: Noto Sans JP;
}

.greeting_text03 {
  font-size: 20px;
  margin: 0 0 227px 0;
  font-family: Noto Sans JP;
  line-height: 42px;
}

.greeting_text04 {
  font-size: 24px;
  font-weight: bold;
  margin: 0 0 87px 0;
  font-family: Noto Sans JP;
}

.logo_concept {
  display: flex;
  gap: 104px;
}

/* アニメーション全体のコンテナのサイズを広げます */
.animation-wrapper {
  width: 130px;
  height: 130px;
  position: relative;
}

.animation-wrapper img {
  max-width: 100%;
}

/* 各画像の共通スタイル */
.mark-image,
.logo-part {
  animation-duration: 6s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

/* === ここからが配置の調整部分です === */

.pos-1 {
  position: absolute;
  top: 2px;
  left: 22px;
  z-index: 1;
  animation-name: fadeIn1;
}

/* 2つ目（中央）の画像の位置 */
.pos-2 {
  position: absolute;
  top: 17px;
  left: 59px;
  z-index: 2;
  animation-name: fadeIn2;
}

/* 3つ目（右）の画像の位置 */
.pos-3 {
  position: absolute;
  top: 46px;
  left: 66px;
  z-index: 3;
  animation-name: fadeIn3;
}

.c {
  position: absolute;
  top: 65px;
  left: 2px;
  z-index: 4;
  animation-name: addPart4;
}

/* --- キーフレーム（アニメーションの動きの定義） --- */
/* この部分は前回から変更ありません */

@keyframes fadeIn1 {
  0% {
    opacity: 0;
    scale: 2;
  }

  16.7% {
    opacity: 1;
    scale: 1;
  }

  100% {
    opacity: 1;
  }
}

@keyframes fadeIn2 {

  0%,
  16.7% {
    opacity: 0;
    scale: 0.8;
    top: 2px;
    left: 18px;
    transform: rotate(125deg);
  }

  33.3% {
    opacity: 1;
    scale: 1;
    top: 17px;
    left: 59px;
    transform: rotate(0deg);
  }

  100% {
    opacity: 1;
  }
}

@keyframes fadeIn3 {

  0%,
  33.3% {
    opacity: 0;
    scale: 0.8;
    top: 2px;
    left: 18px;
    transform: rotate(90deg);
  }

  50% {
    opacity: 1;
    scale: 1;
    top: 46px;
    left: 66px;
    transform: rotate(0deg);
  }

  100% {
    opacity: 1;
  }
}

/* 4つ目の部品用アニメーション */
@keyframes addPart4 {

  0%,
  50% {
    opacity: 0;
    top: 60px;
    left: -80px;
    transform: rotate(-20deg);
  }

  /* 最初の3秒は待機 */
  75% {
    opacity: 1;
    left: 2px;
    transform: rotate(-20deg);
  }

  80% {
    top: 65px;
    transform: rotate(0deg);
  }

  /* 4秒地点でフェードイン完了 */
  100% {
    opacity: 1;
  }
}

.logo-wrapper {
  display: none;
}

.company_logo {
  margin-top: 50px;
  width: 100%;
  max-width: 345px;
  object-fit: contain;
  margin-bottom: 150px;
}

.greeting_text05 {
  font-size: 20px;
  font-weight: bold;
  line-height: 42px;
  font-family: Noto Sans JP;
  margin: 0 0 20px 20px;
}

.greeting_text06 {
  font-size: 16px;
  margin: 0 0 56px 20px;
  font-family: Noto Sans JP;
  line-height: 42px;
}

.greeting_text07 {
  font-size: 16px;
  margin: 0 0 0px 20px;
  font-family: Noto Sans JP;
  line-height: 42px;
}

.greeting_title05 {
  font-size: 24px;
  font-weight: bold;
  margin: 0 0 20px 0;
  font-family: Noto Sans JP;
}

/* 会社概要・沿革・有資格者 */

.company-info {
  width: 100%;
  max-width: 1070px;
  margin-bottom: 30px;
}

.company-info .info-row:last-child {
  margin: 0;
}

.greeting-info {
  margin-bottom: 150px;
}

.info-row {
  display: flex;
  border-bottom: 1px solid #ddd;
  /* padding: 8px 0; */
  margin-bottom: 20px;
  padding-bottom: 20px;
}

.info-label {
  flex: 0 0 110px;
  font-weight: bold;
  color: #333;
  font-size: 15px;
  margin: 0 100px 0px 100px;
}

.info-label02 {
  flex: 0 0 145px;
  font-weight: bold;
  color: #333;
  font-size: 15px;
  margin: 0 65px 10px 100px;
}

.info-value {
  flex: 1;
  color: #555;
  font-size: 15px;
  margin: 0px 0 0px 0;
  line-height: 1.8;
  font-weight: bold;
}

.outline_hinsitu01,
.outline_hinsitu02 {
  margin-top: 12px;
}

.outline_hinsitu01 {
  margin-right: 13px;
}

.hinsitu_housin_border {
  border: 1px solid #000;
  padding: 20px;
}

.hinsitu_housin {
  font-weight: bold;
  padding: 0;
}

.hinsitu_housin p {
  margin-left: 10px;
}

.kokkusoku_text {
  text-align: right;
  margin-right: 60px;
}

.sikaku_sekkei_bg {
  display: flex;
  font-weight: bold;
}

.sikaku_sekkei01 {
  max-width: 370px;
  width: 100%;
  margin-left: 15px;
}

/* .sikaku_sekkei02 {
  margin-left: 110px;
} */

/* .sikaku_sekkei03 {
  margin-left: 180px;
} */

.info-value2 {
  flex: 1;
  color: #555;
  margin: 0px 0px 0px 30px;
  line-height: 2;
}

.map-container {
  max-width: 100%;
  width: 100%;
  height: 500px;
  position: relative;
  overflow: hidden;
  margin-bottom: 150px;
}

.map-container iframe {
  position: absolute;
  inset: -150px;
  width: calc(100% + 300px);
  height: calc(100% + 300px);
}

/* 表彰・受賞 */

.award_text_01 {
  font-size: 15px;
  font-weight: bold;
  font-family: Noto Sans JP;
  margin: 0 0 31px 0;
}

.award_text_02 {
  font-size: 15px;
  font-family: Noto Sans JP;
  line-height: 42px;
  white-space: nowrap;
}

.award_text_wrapper01,
.award_text_wrapper02,
.award_text_wrapper03,
.award_text_wrapper04,
.award_text_wrapper05 {
  margin-left: 23px;
  /* 例：共通化する */
  flex: 1;
  /* テキスト領域は残りを使う */
}

.award_img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin: 0;
  padding: 0;
}

.award_img_01,
.award_img_02 {
  width: 320px;
  height: 225px;
  flex-shrink: 0;
  /* 縮まないように固定 */
  display: flex;
  align-items: center;
  justify-content: center;
}

.award_info .award_info_01:first-child {
  margin-top: 65px;
}

.award_info_01 {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  /* 余白が欲しい場合 */
  flex-wrap: wrap;
  /* スマホで折り返すなら */
  border-bottom: 1px solid #ddd;
  padding-bottom: 30px;
  margin-top: 30px;
}

.award_img_group {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 11px;
}

/* ===============================================
   servicesページ
=============================================== */

.another_service {
  max-width: calc(100% - 365px);
  width: 100%;
  margin: 0 auto;
}

.another_portfolio {
  max-width: calc(100% - 365px);
  width: 100%;
  margin: 0 auto;
}

.another_recruit {
  max-width: calc(100% - 365px);
  width: 100%;
  margin: 0 auto;
}

.another_privacypolicy {
  max-width: calc(100% - 365px);
  width: 100%;
  margin: 0 auto;
}

.another_company {
  max-width: calc(100% - 365px);
  width: 100%;
  margin: 0 auto;
}

.services_container {
  font-size: 20px;
  font-weight: bold;
  font-family: Noto Sans JP;
  margin-top: 50px;
  padding-bottom: 50px;
}

.services_container_recruit {
  font-size: 20px;
  font-weight: bold;
  font-family: Noto Sans JP;
  margin: 100px 0px 80px;
  padding-bottom: 20px;
}

/* --- タブコンテナのスタイル --- */
.tabs-container {
  max-width: 1540px;
}

.tabs-container_portfolio {
  max-width: 1540px;
  margin: 100px 0px;
}

.tabs-container_recruit {
  max-width: 1540px;
  margin: 0px 0 300px 0;
}

/* --- タブナビゲーションのスタイル --- */
.tabs-nav {
  display: flex;
  list-style-type: none;
  padding: 0;
  margin: 0 auto;
  position: relative;
  bottom: -3px;
  justify-content: center;
  gap: 10px;
}

.tabs-nav_port {
  display: flex;
  list-style-type: none;
  padding: 0;
  margin: 0 auto;
  position: relative;
  bottom: -3px;
  justify-content: center;
  gap: 15px;
}

.tab-item {
  cursor: pointer;
  background-color: #f9f9f9;
  border: 3px solid #000;
  border-radius: 10px 10px 0 0;
  position: relative;
  color: #333;
  font-weight: bold;
  width: 480px;
  text-align: center;
  font-size: 20px;
  height: 100px;
  line-height: 100px;
}

.tab-item_port {
  cursor: pointer;
  background-color: #f9f9f9;
  border: 3px solid #000;
  border-radius: 10px 10px 0 0;
  position: relative;
  color: #333;
  font-weight: bold;
  max-width: calc(100% / 3 - 50px);
  width: 100%;
  text-align: center;
  font-size: 20px;
  height: 100px;
  line-height: 100px;
  font-family: Noto Sans JP;
}

.tab-item_port_recruit {
  cursor: pointer;
  background-color: #f9f9f9;
  border: 3px solid #000;
  border-radius: 10px 10px 0 0;
  position: relative;
  color: #333;
  font-weight: bold;
  max-width: calc(100% / 2 - 290px);
  width: 100%;
  text-align: center;
  font-size: 20px;
  height: 100px;
  line-height: 100px;
}

.tab-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -3px;
  bottom: 0;
  width: 1px;
  height: 60%;
  background-color: #ccc;
  transform: translateX(-50%);
}

/* --- アクティブなタブのスタイル --- */
.tab-item.active {
  background-color: #fff;
  border-color: #000;
  z-index: 2;
  border-bottom: none;
  width: 480px;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  height: 100px;
  line-height: 100px;
}

.tab-item_port.active {
  background-color: #fff;
  border-color: #000;
  z-index: 2;
  border-bottom: none;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  height: 100px;
  line-height: 100px;
}

.tab-item_port_recruit.active {
  background-color: #fff;
  border-color: #000;
  z-index: 2;
  border-bottom: none;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  height: 100px;
  line-height: 100px;
}

.tab-item.active .tab-link {
  position: relative;
  display: inline-block;
}

.tab-item.active .tab-link::after {
  content: "";
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 93%;
  height: 3px;
  background-color: #000;
}

/* --- タブコンテンツのスタイル --- */
.tab-content {
  display: none;
  /* 初期状態ではすべてのコンテンツを非表示 */
  padding: 50px 12px 0;
  /* border: 1px solid #ccc; */
  background-color: #fff;
  border-radius: 0 0 10px 10px;
  position: relative;
  z-index: 1;
  scroll-margin-top: 250px;

}

/* アクティブなコンテンツのみ表示 */
.tab-content.active {
  display: block;
}

.tab_shortline {
  width: 100%;
  height: 40px;
  border: 3px solid #000;
  border-bottom: none;
  border-radius: 20px 20px 0px 0px;
  background-color: #fff;
  margin: 0 auto;
}

#tab1 p {
  margin: 0 70px;
  line-height: 42px;
  font-size: 20px;
  font-family: Inter;
  margin-bottom: 25px;
  font-family: Noto Sans JP;
}

#tab1 .omonna {
  margin: 0 0 25px 100px;
}

.tab-content_gazou01 {
  display: flex;
  flex-wrap: wrap;
  gap: 25px 30px;
  max-width: 1515px;
  width: 100%;
  margin: 30px auto;
  padding: 0 12px;
  justify-content: flex-start;
}

.image-box {
  width: calc(100% / 4 - 23px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.image-box img {
  max-width: 360px;
  width: 100%;
  max-height: 250px;
  height: 100%;
  aspect-ratio: 360 / 250;
  display: block;
  border-radius: 13px;
  object-fit: cover;
}

.image-box .image-box_kouzou {
  width: 360x;
  height: 250px;
  display: block;
  border-radius: 13px;
  object-fit: cover;
}

.image-box .image-box_kouzou2 {
  width: 360x;
  height: 250px;
  display: block;
  border-radius: 13px;
  object-fit: cover;
}

.image-caption {
  font-size: 16px;
  margin-top: 13px;
  line-height: 1;
  color: #333;
}

.gazou_meisyou {
  background-color: #eaede7;
  border: 1px solid #eaede7;
  border-radius: 78px;
  white-space: normal;
  width: 95%;
  max-width: 1150px;
  height: auto;
  margin: 0px auto 67px;
  line-height: 30px;
}

.gazou_meisyou .gazou_meisyou_text {
  font-size: 16px;
  font-family: Noto Sans JP;
  font-weight: 400;
  text-align: center;
}

.gazou_meisyou .gazou_meisyou_text03 {
  font-size: 16px;
  font-family: Noto Sans JP;
  font-weight: 400;
  text-align: center;
}

.cta-button02 {
  background-color: #12903c;
  color: #ffffff;
  padding: 0.7rem 1.7rem;
  border-radius: 100px;
  text-decoration: none;
  font-size: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-width: 150px;
  margin: 0 auto;
}

#tab2 p {
  margin-left: 84px;
  line-height: 42px;
  font-size: 20px;
  font-family: Inter;
  margin-bottom: 25px;
  font-family: Noto Sans JP;
}

#tab3 p {
  margin-left: 84px;
  line-height: 42px;
  font-size: 20px;
  font-family: Inter;
  margin-bottom: 25px;
  font-family: Noto Sans JP;
}

/* ===============================================
   Portfolioページ
=============================================== */

.portfolio-row {
  display: flex;
  border-bottom: 1px solid #ddd;
}

.portfolio-row:last-child {
  border-bottom: none;
}

.portfolio-row.header {
  color: #000;
  font-weight: bold;
}

.portfolio-col {
  padding: 10px;
  word-break: break-all;
  /* white-space: nowrap; */
  /* display: flex; */
  justify-content: center;
  align-items: center;
}

.portfolio-col.title,
.portfolio-col.summary,
.portfolio-col.client {
  justify-content: flex-start;
}

.year {
  flex: 0 0 10%;
}

.title {
  flex: 0 0 40%;
}

.summary {
  flex: 0 0 30%;
}

.client {
  flex: 0 0 20%;
}

.cta-button03 {
  background-color: #12903c;
  color: #ffffff;
  padding: 0.7rem 1.7rem;
  border-radius: 100px;
  text-decoration: none;
  font-size: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-width: 150px;
  margin: 0px auto;
}

/* ===============================================
   Recruitページ
=============================================== */

.recruit_main_image {
  width: 100%;
  margin: 0 auto;
  position: relative;
  display: block;
  overflow-x: auto;
  margin-bottom: 120px;
}


.recruit_main_image_inner {
  width: 2020px;
  display: flex;
  gap: 20px;
  justify-content: center;
  padding: 0px;
  box-sizing: border-box;
  height: auto;
}

.recruit_main_images {
  width: 320px;
  height: 320px;
  object-fit: cover;
}

.services_main_text_last {
  margin-bottom: 130px;
}

.recruit_main_text {
  margin-bottom: 31px;
  font-size: 32px;
  font-family: Noto Sans JP;
}

.services_main_text,
.services_main_text_last {
  font-size: 20px;
  font-family: Noto Sans JP;
  line-height: 42px;
  font-weight: bold;
}

.recruit_top_main_image {
  width: 100%;
  max-width: 100%;
  height: auto;
  position: relative;
  display: block;
}

#tab1 .koujichuu {
  margin-top: 100px;
  font-size: 40px;
  font-weight: bold;
  color: red;
  text-align: center;
  font-family: Noto Sans JP;
}

#tab2 .koujichuu {
  margin-top: 100px;
  font-size: 40px;
  font-weight: bold;
  color: red;
  text-align: center;
  font-family: Noto Sans JP;
}

.detail_table01 {
  border-collapse: collapse;
  width: 100%;
  max-width: 100%;
  margin: 0px auto 0px;
}

.detail_table01_td01 {
  width: 260px;
  padding: 15px 0 15px 20px;
  border-bottom: #000 2px solid;
  font-size: 15px;
  color: #000;
  line-height: 27px;
  text-align: left;
  vertical-align: middle;
}

.detail_table01 tr:first-child .detail_table01_td01 {
  border-top: #000 2px solid;
}

.detail_table01_td02 {
  width: calc(100% - 280px - 50px);
  padding: 15px 0 15px 50px;
  border-bottom: #bbb 1px solid;
  font-size: 15px;
  color: #000;
  line-height: 27px;
  text-align: left;
  vertical-align: middle;
}

.detail_table01 tr:first-child .detail_table01_td02 {
  border-top: #bbb 1px solid;
}

/* ===============================================
   Privacy Policyページ
=============================================== */

.jyouhou {
  max-width: 880px;
  margin: 0px auto 360px;
  padding: 0 0px;
  text-align: left;
}

.kojinjyouhou {
  max-width: 880px;
  margin: 100px auto 200px;
  padding: 0 0px;
  text-align: left;
}

.kojinjyouhou_title,
.joyuhou_title {
  font-size: 24px;
  font-weight: bold;
  font-family: "Noto Sans JP", sans-serif;
  margin-bottom: 20px;
  line-height: 60px;
}

.kojinjyouhou_text,
.jyouhou_text {
  font-size: 15px;
  font-family: "Noto Sans JP", sans-serif;
  line-height: 60px;
  /* 適切な行間に調整 */
  margin-bottom: 1.5em;
  padding: 0 15px;
}

.kojinjyouhou_subtitle,
.jyouhou_subtitle {
  font-size: 16px;
  font-weight: bold;
  font-family: "Noto Sans JP", sans-serif;
  margin: 30px 0 10px;
}

/* セキュリティ画像の配置エリア */
.gazou_haiti {
  display: flex;
  align-items: center;
  gap: 20px;
}

.gazou_haiti img {
  max-width: 150px;
  height: auto;
}

.gazou_migiyose {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.top_main_image_right {
  display: block;
  width: 100%;
  max-width: 1740px;
  height: auto;
}

/* ===============================================
   Get in Touchページ
=============================================== */

/* フォーム全体を囲むコンテナ */
.contact-container {
  max-width: 700px;
  margin: 40px auto;
  padding: 30px;
  margin-top: 750px;
  margin-bottom: 400px;
}

/* 上部の案内文エリア */
.contact-header {
  text-align: left;
  margin-bottom: 40px;
}

.contact-header p {
  margin: 0 0 10px 0;
}

.contact-header .note {
  font-size: 0.9em;
}

/* 電話番号と営業時間 */
.contact-info {
  margin-top: 20px;
}

/* フォームの各項目（ラベルと入力欄のセット） */
.form-group {
  margin-bottom: 25px;
  display: flex;
  align-items: flex-start;
}

.form-group label {
  flex: 0 0 150px;
  /* ラベルの幅を150pxに固定 */
  padding-top: 8px;
  /* 入力欄の高さと中央揃えになるよう調整 */
  font-weight: bold;
}

/* 入力欄（input, select, textarea）共通のスタイル */
input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  flex-grow: 1;
  /* 残りの幅をすべて使用 */
  padding: 10px;
  border: none;
  background-color: #f7f7f7;
  /* 画像に近い薄いグレー */
  border-radius: 4px;
  font-size: 1em;
}

/* テキストエリアのサイズ調整を縦方向のみに許可 */
textarea {
  resize: vertical;
}

/* 同意チェックボックスのグループ */

input[type="checkbox"] {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid #333;
  border-radius: 2px;
  appearance: checkbox;
  cursor: pointer;
  accent-color: #0c5;
}

.checkbox-label {
  margin-left: 10px;
  color: #000;
  font-size: 16px;
  white-space: nowrap;
}

.checkbox-group {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}

/* 同意チェックボックスのグループ */
/* .checkbox-group {
  display: flex;
  justify-content: center;

  align-items: center;
  margin-top: 20px;
}

.checkbox-group .checkbox-label {
  flex-basis: auto;
  margin-left: 10px;
  font-weight: normal;
} */

/* 送信ボタンのグループ */
.button-group {
  justify-content: center;
  margin-top: 40px;
}

/* CONNECTボタンのスタイル */
.connect-button {
  background-color: #fff;
  border: 2px solid #555;
  color: #333;
  padding: 12px 60px;
  font-size: 1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}

.connect-button:hover {
  background-color: #f0f0f0;
}

/* 「必須」マークのスタイル */
.required-mark {
  display: inline-block;
  background-color: #e74c3c;
  /* 赤色 */
  color: #fff;
  /* 白色 */
  font-size: 12px;
  padding: 3px 8px;
  /* 内側の余白 */
  border-radius: 4px;
  /* 角を丸くする */
  margin-left: 8px;
  /* ラベルのテキストとの間隔 */
  font-weight: bold;
  vertical-align: middle;
  /* テキストと中央揃え */
  line-height: 1;
  /* 行の高さを調整 */
}

/* ===============================================
   NEWSページ
=============================================== */

/* ニュースセクション全体 */
.news-container {
  max-width: 1500px;
  margin: 124px auto;
  padding: 0 20px;
  margin-top: 750px;
  margin-bottom: 300px;
}

/* カテゴリーナビゲーション */
.news-category-nav {
  display: flex;
  gap: 10px;
  /* ボタン間の余白 */
  margin-bottom: 30px;
  align-items: center;
  flex-wrap: wrap;
  /* スマホで折り返すように */
}

.news-category-nav .category-title {
  font-weight: bold;
  font-size: 24px;
  margin-right: 83px;
  color: #12913c;
}

.news-category-nav a {
  text-decoration: none;
  color: #333;
  padding: 8px 20px;
  border: 1px solid #ccc;
  border-radius: 20px;
  font-size: 0.9em;
  transition: all 0.3s ease;
}

/* アクティブ（現在表示中）およびホバー時のスタイル */
.news-category-nav a.active,
.news-category-nav a:hover {
  background-color: #008000;
  /* デザインに合わせた緑色 */
  color: #fff;
  border-color: #008000;
}

/* 記事一覧 */
.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.news-item {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #a4a4a4;
  padding: 25px 0;
}

.news-item-thumb {
  width: 150px;
  height: 150px;
  background-color: #f2f2f2;
  margin-right: 25px;
  flex-shrink: 0;
  /* コンテンツが長くても縮まないように */
}

.news-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 画像がコンテナに収まるように */
}

.news-item-content {
  flex-grow: 1;
}

.news-item-meta {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.news-item-date {
  font-size: 0.9em;
  color: #555;
  margin-right: 15px;
}

.news-item-cat {
  font-size: 0.8em;
  color: #555;
  background-color: #e0e0e0;
  padding: 3px 12px;
  border-radius: 5px;
  white-space: nowrap;
  /* カテゴリ名が改行されないように */
}

.news-item-title {
  font-size: 1.1em;
  font-weight: bold;
  color: #333;
  text-decoration: none;
}

.news-item-title:hover {
  text-decoration: underline;
}

/* ページネーション */
.pagination-wrapper {
  display: flex;
  justify-content: center;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  padding: 40px 0 0;
  gap: 8px;
  /* 数字間の余白 */
}

.pagination li a,
.pagination li span {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  /* 円形にする */
  text-decoration: none;
  color: #333;
  transition: all 0.3s ease;
}

.pagination li .current,
/* 現在のページ */
.pagination li a:hover {
  background-color: #008000;
  /* デザインに合わせた緑色 */
  color: #fff;
}

.pagination li .dots {
  border: none;
  background: none;
  color: #555;
}

/* 記事全体のコンテナ */
.article-container {
  max-width: 900px;
  margin: 40px auto;
  padding: 20px;
}

/* 記事ヘッダー */
.article-header {
  margin-bottom: 40px;
  border-bottom: 2px solid #333;
  /* タイトルの下の太線 */
  padding-bottom: 20px;
}

.article-title {
  font-size: 2.5em;
  /* 文字サイズ */
  font-weight: bold;
  line-height: 1.4;
  margin: 0;
}

/* 記事本文 */
.article-body {
  font-size: 1em;
  line-height: 2;
  /* 行間を広めにとる */
}

.article-body p {
  margin: 0 0 2em 0;
  /*段落ごとの下の余白*/
}

.article-body p:last-child {
  margin-bottom: 0;
}

/* 記事中の画像 */
.article-image {
  margin: 50px 0;
  /* 画像の上下の余白 */
}

.article-image img {
  width: 100%;
  height: auto;
  display: block;
  /* 余分な隙間ができないように */
}

/* 前後の記事へのナビゲーション */
.post-navigation {
  display: flex;
  margin: 150px auto;
  width: 100%;
  max-width: 350px;
  gap: 250px;
}

.post-navigation .nav-previous-wrapper,
.post-navigation .nav-next-wrapper {
  width: 10%;
  /* 左右均等に領域を確保 */
}

.post-navigation a {
  display: flex;
  align-items: center;
  gap: 20px;
  /* 文字と矢印の間の余白 */
  /* padding: 30px 20px; */
  text-decoration: none;
  font-weight: bold;
  color: #008000;
  /* デザインに合わせた緑色 */
  transition: background-color 0.3s;
}

.post-navigation a:hover {
  background-color: #f5f5f5;
  /* ホバー時に薄いグレーに */
}

.post-navigation .nav-previous {
  justify-content: flex-start;
  /* 左寄せ */
}

.post-navigation .nav-next {
  justify-content: flex-end;
  /* 右寄せ */
}

.nav-prev-arrow,
.nav-next-arrow {
  font-size: 1.2em;
  /* 矢印のサイズ */
}

.sign {
  display: block;
  text-align: right;
  font-family: 'Noto Serif JP', serif;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: #333;
}

.engurafu {
  margin: 25px 0px;
}

.otoiawase_small {
  font-size: 35px;
  font-weight: bold;
  font-family: Inter;
  margin-bottom: 15px;
}

.otoiawase_small2 {
  font-size: 35px;
  font-weight: bold;
}

#my-loader .loader-logo {
  text-align: center;
}