@charset "utf-8";

@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css");

@import url('https://fonts.googleapis.com/css2?family=Reddit+Sans:ital,wght@0,200..900;1,200..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');

:root {
  --bg-color: #f0f9ff;
  --txt-color: #606060;
  --placeholder-color: #b0b0b0;

  --msj-blue-color: #0280BA;
  --msj-blue-color-grad: #42C0EA;
  --msj-blue-color-light: #b0dfff;
  --msj-blue-color-light-grad: #d0f8ff;
  --msj-blue-color-dark: #005f7a;
  --msj-blue-color-dark-grad: #207f9a;
  --msj-blue-color-dark-alpha: rgba(0, 95, 122, 0.85);

  --msj-blue-color-header: #ffffff;
  --msj-blue-color-header-grad: #00bfff;
  --msj-blue-color-footer: #00bfff;
  --msj-blue-color-footer-grad: #ffffff;

  --msj-red-color: #E4302F;
  --msj-red-color-grad: #ff605f;

  --msj-gray-color-header: #ffffff;
  --msj-gray-color-header-grad: #808080;
  --msj-gray-color-footer: #808080;
  --msj-gray-color-footer-grad: #ffffff;

  --db-txt-color: #404040;

  --db-green-color: rgb(59, 174, 107);
  --db-green-color-dark: rgb(39, 114, 77);
  --db-green-color-light: rgb(167, 220, 189); /* 追加 */

  --db-white-color: #ffffff;
  --db-white-color-light: #f8f9fa;

}

body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", Meiryo, "メイリオ", "Osaka", "MS PGothic", "ＭＳ Ｐゴシック", sans-serif;
  /*フォント種類（ゴシック）*/
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;

  margin: 0px;
  padding: 0px;
  padding-top: 80px;
  /* 追加: ヘッダーの高さ分パディング */

  /*background: var(--bg-color);*/
  background: #ffffff;

  scroll-behavior: smooth;
  /* 追加: スムーズスクロール */
}

body,
th,
td,
p,
div,
input,
select,
option,
textarea,
label,
a,
span,
font,
b,
i,
h1,
h2,
h3,
h4,
h5,
ul,
li,
ol,
dl,
dt,
dd,
section,
article,
aside,
nav,
header,
footer {
  font-size: 11pt;
  box-sizing: border-box;
}

body,
th,
td,
p,
div,
input,
select,
option,
textarea,
label,
span,
font,
b,
i,
h1,
h2,
h3,
h4,
h5,
ul,
li,
ol,
dl,
dt,
dd,
section,
article,
aside,
nav,
header,
footer {
  color: var(--txt-color);
}

@media(max-width: 840px) {

  body,
  th,
  td,
  p,
  div,
  input,
  select,
  option,
  textarea,
  label,
  a,
  span,
  font,
  b,
  i,
  h1,
  h2,
  h3,
  h4,
  h5,
  ul,
  li,
  ol,
  dl,
  dt,
  dd,
  section,
  article,
  aside,
  nav,
  header,
  footer {
    font-size: 11pt;
  }
}

.margin-top-0 {
  margin-top: 0px;
}

.margin-top-3 {
  margin-top: 3px;
}



.margin-top-20 {
  margin-top: 20px;
}

.margin-bottom-20 {
  margin-bottom: 20px !important;
}

.margin-bottom-100 {
  margin-bottom: 100px;
}

.margin-bottom-200 {
  margin-bottom: 200px;
}

.gap {
  display: flex;
  gap: 20px;
  flex-direction: column;
}

.hide {
  display: none !important;
}

.flex {
  display: flex;
  gap: 20px;
  align-items: center;
}

.flex-pc {
  display: flex;
  gap: 20px;
  align-items: center;
}

@media (max-width: 650px) {
  .flex-pc {
    display: block;
  }
}

.flex-center {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

.flex-between {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
}

.right {
  text-align: right;
}

.center {
  text-align: center;
}

.width-50per {
  width: 50%;
}

@media (max-width: 650px) {
  .width-50per {
    width: 100%;
  }
}

.pc-only {
  display: block;
}

.sp-only {
  display: none;
}

@media (max-width: 650px) {
  .pc-only {
    display: none;
  }

  .sp-only {
    display: block;
  }
}

.clamp3 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.clamp2 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.clamp1 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.separate {
  height: 1px !important;
  background: var(--db-green-color-light);
}



header {
  background: #ffffff;
  position: fixed;
  /* 追加: 固定位置 */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
  /* 追加: 重ね順を高く */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

header .header {
  max-width: 1200px;
  padding: 5px;
  margin: 0 auto;

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

header .logo img {
  height: 70px;
  width: auto;
}

header .logo div {
  font-size: 24px;
  font-weight: 700;
  color: var(--msj-blue-color-dark);
}

header a {
  display: block;
  color: var(--msj-blue-color-dark);
  text-decoration: none;
}

header .menu {
  display: none;
}

header .menu-pc ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 5px;
  color: var(--msj-blue-color-dark);

  flex-wrap: wrap;
  /* 追加: 折り返しを有効化 */
}

header .menu-pc ul li {
  width: 90px;
  text-align: center;
  /*border-radius: 5px;*/
  transition: background-color 0.3s ease;
  cursor: pointer;

  position: relative;
}

header .menu-pc ul li a {
  padding: 5px 10px;
}

header .menu-pc ul li:hover {
  background: linear-gradient(to top, var(--msj-blue-color), var(--msj-blue-color-grad));
}

header .menu-pc ul li a:hover {
  color: #ffffff;
}

header .menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 5px;
  color: var(--msj-blue-color-dark);

  flex-wrap: wrap;
  /* 追加: 折り返しを有効化 */
}

header .menu ul li {
  width: 90px;
  text-align: center;
  /*border-radius: 5px;*/
  transition: background-color 0.3s ease;
  cursor: pointer;

  position: relative;
}

header .menu ul li a {
  padding: 5px 10px;
}

header .menu ul li:hover {
  background: linear-gradient(to top, var(--msj-blue-color), var(--msj-blue-color-grad));
}

header .menu ul li a:hover {
  color: #ffffff;
}

header .menu ul li ul {
  position: absolute;
  left: -5px;
  top: 26px;
  display: none;

  list-style: none;
  padding: 10px;
  margin: 5px;
  gap: 5px;
  font-size: 88%;
  border: solid 1px var(--msj-blue-color-light);
  background: var(--msj-blue-color-light-grad);

  z-index: 2;
}

header .menu ul li ul li {
  text-align: left;
  width: 200px;
}

header .user-icon {
  width: 40px;
  height: 40px;
  border-radius: 20px;
  border: solid 1px var(--db-green-color);
  background: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
}
header .user-icon i {
  font-size: 26px;
  color: var(--db-green-color);
}

footer {
  box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.1);
  background: var(--db-green-color);
  color: #ffffff;

  position: relative;
  overflow: hidden;
  /* 追加: はみ出した部分を非表示 */
}

footer div {
  color: #ffffff;
}

footer a {
  color: #ffffff;
  text-decoration: none;
}

footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

footer .footer-line1 {
  max-width: 1200px;
  padding: 20px;
  margin: 0 auto;

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-weight: 400;
  font-size: 85%;

  flex-wrap: wrap;
  /* 追加: 折り返しを有効化 */
}

footer .footer-line1 .company {
  display: flex;
  gap: 20px;

  flex-wrap: wrap;
  /* 追加: 折り返しを有効化 */
}

footer .company-info div {
  font-size: 85%;
  line-height: 1.8em;
}

footer .logo {
  /*
  background: #ffffff;
  */
}

footer .logo img {
  height: 70px;
  width: auto;
}

footer .certification {
  display: flex;
  gap: 20px;
}

footer .certification img {
  /*
  height: 70px;
  width: auto;
  */
}

footer .footer-line2 {
  max-width: 1200px;
  padding: 20px;
  margin: 0 auto;

  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

footer .menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 20px;
  line-height: 2em;
  font-weight: 500;

  flex-wrap: wrap;
  /* 追加: 折り返しを有効化 */
}

footer .menu ul li {
  cursor: pointer;
  color: #ffffff;
  font-size: 95%;
  text-align: center;
}

footer .menu ul li ul li:hover {
  color: #ffffff;
  text-decoration: underline;
}

footer .menu ul li ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: block;
  gap: 5px;
  font-size: 88%;
  line-height: 2em;
  font-weight: 400;
}

footer .menu ul li ul li {
  cursor: pointer;
  position: relative;
  z-index: 2;
}

footer .menu ul li ul li a {
  font-size: 100%;
}

footer .footer-line4 {
  max-width: 1200px;
  padding: 0px 20px 60px;
  margin: 0 auto;

  display: flex;
  justify-content: center;
  align-items: start;
  gap: 20px;

  position: relative;
}

footer .footer-line4 div {
  font-weight: 400;

  position: relative;
  z-index: 2;
}

footer .footer-line5 {
  max-width: 1200px;
  padding: 0px 20px;
  margin: 0 auto;

  display: flex;
  justify-content: center;
  align-items: start;
  gap: 20px;

  position: relative;
}

footer .footer-line5 i {
  color: #ffffff;
}

footer .pagetop {
  opacity: 0;

  position: fixed;
  bottom: 20px;
  right: 20px;

  display: flex;
  justify-content: center;
  align-items: start;

  background: var(--db-green-color);
  color: #ffffff;
  width: 50px;
  min-width: 50px;
  height: 50px;
  border-radius: 25px;

  text-align: center;

  z-index: 15;
}

footer .footer-left-image {
  position: absolute;
  bottom: -50px;
  /* フッターの下端から10px */
  left: -15px;
  /* フッターの左端から10px */
  width: 200px;
  /* 小さくするサイズ（必要に応じて調整） */
  height: auto;
  opacity: 0.5;
  z-index: 0;
  /* 必要に応じて重ね順を調整 */
}

footer .pagetop-image {
  position: absolute;
  left: 5px;
  top: 15px;
  width: 40px;
}

footer .pagetop i {
  color: #ffffff;
}

section {
  margin: 0 auto;
  padding: 20px 0px;
  /*
  overflow: hidden;
  */
}
section > div {
  padding: 0px 10px;
}
section div.top-panel-div {
  padding: 0px;
}

section[id] {
  padding-top: 80px;
  /* ヘッダーの高さ分パディング */
  margin-top: -80px;
  /* ネガティブマージンで位置調整 */
}

section > div {
  max-width: 1200px;
  margin: 0 auto;
}

section h2 div {
  max-width: 1200px;
  margin: 0 auto;
}

.menu-popup {
  display: block;
  /* 変更: 常にブロック表示 */
  left: 100%;
  /* 追加: 初期位置を右側 */
  position: fixed;
  top: 0px;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 30;
  overflow-y: auto;
  max-width: 500px;
  border-left: solid 3px var(--db-green-color);
}

.menu-popup a {
  color: var(--db-green-color-dark);
  text-decoration: none;
}

.popup-close {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 20px;
  right: 20px;
  cursor: pointer;
  z-index: 11;
  /* メニューの上に表示 */
  width: 40px;
  height: 40px;
  background: var(--db-green-color);
}

.popup-close i {
  font-size: 36px;
  color: #ffffff;
}

header .header-right {
  display: flex;
  gap: 20px;
  align-items: center;
}

header .menu-pc {
  display: none;
  /* メニューを非表示 */
}

header .menu {
  display: none;
  /* メニューを非表示 */
}

header .hamburger {
  display: block;
  /* ハンバーガーを表示 */
  cursor: pointer;
  margin-right: 20px;
}

header .hamburger i {
  font-size: 36px;
  color: var(--db-green-color);
}

.menu-popup ul {
  position: absolute;
  top: 0px;
  left: 0px;
  /*background: var(--msj-blue-color-light-grad);*/
  background: #ffffff;
  padding: 20px;
  list-style: none;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  overflow: hidden
}

.menu-popup ul li a {
  /*text-align: center;*/
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.menu-popup ul li ul {
  position: static;
  background: none;
  border: none;
  padding: 20px;
  gap: 10px;
  margin: 0px;
}

.menu-popup ul li ul li a {
  text-align: left;
  padding: 5px 0;

  font-size: 16px;
  font-weight: 400;
}

.menu-popup .popup-right-image {
  display: block;
}

.menu-popup .popup-right-image img {
  display: block;
  position: absolute;
  bottom: -50px;
  /* フッターの下端から10px */
  right: -15px;
  /* フッターの右端から10px */
  width: 200px;
  /* 小さくするサイズ（必要に応じて調整） */
  height: auto;
  opacity: 0.5;
  z-index: 0;
  /* 必要に応じて重ね順を調整 */

  transform: scale(-1, 1); /* 画像を左右反転 */
}

.fade-in {
  opacity: 0;
  /* 初期: 非表示 */
  transition: opacity 1s ease;
  /* フェードインアニメーション */
}

.fade-in.visible {
  opacity: 1;
  /* 表示 */
}

/* h2: サブタイトル */
h2 {
  position: relative;
  background: var(--db-green-color);
  /*
  padding-bottom: 0.5rem;
  */
  margin-bottom: 1.5rem;
  overflow: hidden;
  z-index: 2;

  height: max-content;
  padding: 5px;
}

h2 img {
  height: 50px;
  width: auto;
}

h2 div {
  color: #ffffff;
  font-size: 24px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 10px;
}

/* 横長リスト用ブロック */
.row-block {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border: 1px solid #dee2e6;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  margin-bottom: 1rem !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/*
.company-vision:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
*/



.row-block-overview {
  font-size: 1.1rem;
  color: var(--txt-color);
  margin-bottom: 1rem;
  font-weight: 400;
}

.row-block-overview li {
  font-size: 1.1rem;
  color: var(--txt-color);
  margin-bottom: 1rem;
  font-weight: 400;
}

.row-block-overview p {
  font-size: 1.1rem;
  color: var(--txt-color);
  margin-bottom: 1rem;
  font-weight: 400;
}

.row-block-overview b {
  font-size: 1.1rem;
  color: var(--txt-color);
  margin-bottom: 1rem;
  font-weight: 500;
}

/* .caption: キャプション */
.row-block .caption {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--msj-blue-color);
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

.row-block .caption a {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--msj-blue-color);
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

/* .detail: 詳細 */
.row-block .detail {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
  font-weight: 400;
}

.row-block .detail li {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
  font-weight: 400;
}

.row-block .detail p {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
  font-weight: 400;
}



.row-block a {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--msj-blue-color);
  text-decoration: none;
}

.row-block a:hover {
  text-decoration: underline;
}

.row-block a i {
  color: var(--msj-blue-color);
  text-decoration: none;
}

.row-block img {
  max-width: 800px;
}

@media (max-width: 650px) {
  .row-block img {
    max-width: 100%;
  }
}


h1 {
  position: relative;
  /* 追加: 相対位置 */
  top: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  margin-bottom: 2rem;
  height: 300px;
  /* 追加: 高さを固定 */
  overflow: hidden;
  /* 追加: はみ出し隠し */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

h1 img {
  position: absolute;
  /* 追加: 絶対位置 */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 画像をカバー */
  z-index: 1;
  /* 背景に */
  opacity: 0.75;
}

h1 div {
  position: absolute;
  /* 追加: 絶対位置 */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* 中央配置 */
  color: white;
  /* 白文字 */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  /* 黒影で白抜き効果 */
  font-size: 3rem;
  font-weight: 700;
  text-align: center;
  z-index: 2;
  /* 前面に */
}

h1.simple-h1 {
  box-shadow: none;
  height: auto;
}

h1.simple-h1 div {
  position: static;
  transform: none;
  text-shadow: none;
  text-align: left;
  color: var(--msj-blue-color);
  font-size: 2.5rem;
}



.swiper2 {
  height: 600px;
  /* 追加: 高さを固定 */
  width: 100%;

  opacity: 0.5;
}

.swiper5 {
  height: auto;
  /* 追加: 高さを固定 */
  width: 100%;
  position: relative;
}



.swiper-div-img {
  height: 100%;
  /* 追加: 高さを100% */
  width: 100%;
}

.swiper-div-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 追加: 画像を枠に収めてトリミング */
}

.text-on-slide {
  position: absolute;
  /* 追加: 絶対位置 */
  top: 10%;
  /* 追加: 下から50%の位置 */
  left: 50%;
  transform: translate(-50%, 50%);
  /* 追加: 中央配置 */
  text-align: center;
  z-index: 10;
  /* 追加: 前面に */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  /* 追加: 影で読みやすく */
  max-width: 800px;
  width: 800px;
}

.text-on-slide h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: white;
  /* 追加: 白文字 */
}

.text-on-slide div {
  margin-bottom: 1rem;
  color: white;
  /* 追加: 白文字 */
  font-size: 20px;
}

.text-on-slide-detail {
  text-align: left;
}

@media(max-width: 900px) {
  .text-on-slide {
    max-width: 650px;
    width: 650px;
  }

  .text-on-slide h2 {
    font-size: 2rem;
  }
}

@media(max-width: 700px) {
  .text-on-slide {
    max-width: 500px;
    width: 500px;
  }

  .text-on-slide h2 {
    font-size: 1.5rem;
  }
}

@media(max-width: 550px) {
  .text-on-slide {
    max-width: 400px;
    width: 400px;
  }

  .text-on-slide h2 {
    font-size: 1.5rem;
  }

  .text-on-slide div {
    font-size: 1.2rem;
  }
}

@media(max-width: 450px) {
  .text-on-slide {
    max-width: 300px;
    width: 300px;
  }

  .text-on-slide h2 {
    font-size: 1.2rem;
  }

  .text-on-slide div {
    font-size: 1rem;
  }
}

a.button-msj-red {
  display: inline-block;
  color: #ffffff;
  background: linear-gradient(to top, var(--msj-red-color), var(--msj-red-color-grad));
  padding: 10px;
  border-radius: 5px;
  text-decoration: none;
  margin: 1rem;
  text-shadow: none;
  width: 170px;
  cursor: pointer;
  text-align: center;
}

a.button-msj-blue {
  display: inline-block;
  color: #ffffff;
  background: linear-gradient(to top, var(--msj-blue-color), var(--msj-blue-color-grad));
  padding: 10px;
  border-radius: 5px;
  text-decoration: none;
  margin: 0 1rem;
  text-shadow: none;
  width: 170px;
  cursor: pointer;
  text-align: center;
}

.swiper3 .swiper-slide {

  height: 600px;

  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border: 1px solid #dee2e6;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.swiper3 .swiper-slide img {
  width: 100%;
  height: auto;
  margin-bottom: 10px;
  object-fit: cover;
  /* 追加: 画像を枠に収めてトリミング */
}

.swiper4 .swiper-slide {

  padding: 1.5rem;
}

.swiper4 .swiper-slide img {
  width: 100%;
  height: 200px;
  margin-bottom: 10px;
  object-fit: cover;
  /* 追加: 画像を枠に収めてトリミング */
}

.panel-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.panel-overview {
  font-size: 1.1rem;
  color: var(--txt-color);
  margin-bottom: 1rem;
  font-weight: 400;
}

.panel-item {
  flex: 1 1 calc(33.333% - 20px);
  /* 最大3つ */
  min-width: 300px;
  /* 最小幅 */
  max-width: calc(33.333% - 20px);
  /* 最大幅 */
  /*height: 600px;*/

  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border: 1px solid #dee2e6;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.panel-item img {
  width: 100%;
  /*height: auto;*/
  height: 200px;
  margin-bottom: 10px;
  object-fit: cover;
  /* 追加: 画像を枠に収めてトリミング */
}

.panel-item .caption {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--msj-blue-color);
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

.panel-item .detail {
  font-size: 1rem;
  color: var(--txt-color);
  font-weight: 400;
}

.panel-item .detail p {
  font-size: 1rem;
  color: var(--txt-color);
  font-weight: 400;
}

.panel-item .detail a {
  font-size: 1rem;
  color: var(--msj-blue-color);
  font-weight: 400;
}

@media (max-width: 1100px) {
  .panel-item {
    flex: 1 1 calc(50% - 20px);
    /* 2つ */
    max-width: calc(50% - 20px);
  }
}

@media (max-width: 650px) {
  .panel-item {
    flex: 1 1 100%;
    /* 1つ */
    max-width: 100%;
  }
}

.both-list-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  flex-direction: column;

  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border: 1px solid #dee2e6;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.both-list-item {
  display: flex;
  gap: 20px;
  align-items: center;

  padding: 1.5rem;
}

.both-list-item img {
  width: 480px;
  min-width: 480px;
  /*height: auto;*/
  height: 360px;
  margin-bottom: 10px;
  object-fit: cover;
  /* 追加: 画像を枠に収めてトリミング */
}

.both-list-item .caption {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--msj-blue-color);
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

.both-list-item .detail {
  font-size: 1rem;
  color: var(--txt-color);
  font-weight: 400;
}

.both-list-item .detail p {
  font-size: 1rem;
  color: var(--txt-color);
  font-weight: 400;
}

.both-list-container .reverse {
  flex-direction: row-reverse;
}

@media (max-width: 900px) {
  .both-list-item img {
    width: 50%;
    min-width: 50%;
  }
}

@media (max-width: 650px) {
  .both-list-item {
    display: block;
    max-width: 100%;
  }

  .both-list-item img {
    max-width: 100%;
    min-width: 100%;
    width: 100%;
    height: 200px;
  }
}

.both-list-overview {
  font-size: 1rem;
  color: var(--txt-color);
  font-weight: 400;
}

.both-list-overview p {
  font-size: 1rem;
  color: var(--txt-color);
  font-weight: 400;
}

.contact-tel-section a {
  font-size: 24px;
}

input.confirm {
  pointer-events: none;
  border: none;
}

select.confirm {
  pointer-events: none;
  border: none;
}

textarea.confirm {
  pointer-events: none;
  border: none;
}

.form_show {
  display: block;
}

.confirm_show {
  display: none;
}


form {
  margin-top: 20px;
}

form label {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--msj-blue-color);
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

form input {
  display: block;
  font-size: 1rem;
  width: 100%;
  padding: 0.5rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  max-width: 400px;
}

form select {
  display: block;
  font-size: 1rem;
  width: 100%;
  padding: 0.5rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  max-width: 400px;
}

form textarea {
  display: block;
  font-size: 1rem;
  width: 100%;
  padding: 0.5rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  height: 150px;
  line-height: 1.25;
  max-width: 400px;
}

button.button-msj-blue {
  display: inline-block;
  color: #ffffff;
  background: linear-gradient(to top, var(--msj-blue-color), var(--msj-blue-color-grad));
  padding: 10px;
  border-radius: 5px;
  text-decoration: none;
  margin: 0 1rem;
  text-shadow: none;
  width: 170px;
  border: none;
  cursor: pointer;
}

button.button-msj-red {
  display: inline-block;
  color: #ffffff;
  background: linear-gradient(to top, var(--msj-red-color), var(--msj-red-color-grad));
  padding: 10px;
  border-radius: 5px;
  text-decoration: none;
  margin: 0 1rem;
  text-shadow: none;
  width: 170px;
  border: none;
  cursor: pointer;
}

form .error div {
  color: var(--msj-red-color);
  font-weight: 700;
  margin-bottom: 1rem;
}

header.admin a {
  display: flex;
  gap: 10px;
  align-items: center;

  color: var(--msj-blue-color-dark);
  text-decoration: none;
}

header.admin .logo img {
  height: 40px;
  width: auto;
}

header.admin {
  background: linear-gradient(to top, var(--msj-gray-color-header), var(--msj-gray-color-header-grad));
  position: fixed;
  /* 追加: 固定位置 */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
  /* 追加: 重ね順を高く */
}

.edit-textarea {
  width: 100%;
  height: 300px;
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.edit-button {
  margin-top: 10px;
  padding: 5px 10px;
  background: linear-gradient(to top, var(--msj-red-color), var(--msj-red-color-grad));
  color: #ffffff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.update-button {
  margin-top: 10px;
  padding: 10px 20px;
  background: linear-gradient(to top, var(--msj-red-color), var(--msj-red-color-grad));
  color: #ffffff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-right: 10px;
}

.cancel-button {
  margin-top: 10px;
  padding: 10px 20px;
  background: linear-gradient(to top, var(--msj-blue-color), var(--msj-blue-color-grad));
  color: #ffffff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-right: 10px;
}

.undo-button {
  margin-top: 10px;
  padding: 10px 20px;
  background: linear-gradient(to top, var(--msj-red-color), var(--msj-red-color-grad));
  color: #ffffff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-right: 10px;
}


/* テーブル形式（スマホ時は縦になる） */
.table-div {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border: 1px solid #dee2e6;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.table-item {
  display: flex;
  gap: 0px;
  /*align-items: center;*/

}

/* .caption: キャプション */
.table-item .caption {
  padding: 1.5rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
  border-bottom: 1px solid #dee2e6;
  background: var(--msj-blue-color);

  width: 225px;
}

/* .detail: 詳細 */
.table-item .detail {
  width: 100%;
  padding: 1.5rem;
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 0.5rem;
  font-weight: 400;
  border-bottom: 1px solid #dee2e6;
}

@media(max-width: 650px) {
  .table-item {
    display: block;
  }

  .table-item .caption {
    width: 100%;
    border-bottom: none;
    border-top: 1px solid #dee2e6;
  }

  .table-item .detail {
    border-bottom: none;
  }
}

/* 沿革の特殊形式（スマホ時は縦になる） */
.history-div {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border: 1px solid #dee2e6;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.history-item {
  display: flex;
  gap: 0px;
  align-items: center;

  position: relative;

}

/* .caption: キャプション */
.history-item .caption {
  padding: 1.5rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--msj-blue-color);
  letter-spacing: 1px;
  border-left: 3px solid var(--msj-blue-color);

  width: 225px;
}

/* .detail: 詳細 */
.history-item .detail {
  width: 100%;
  padding: 1.5rem;
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
  font-weight: 400;
}

.history-item .caption:before {
  content: '';
  position: absolute;
  left: -9px;
  top: 1.8rem;
  width: 15px;
  height: 15px;
  background: var(--msj-blue-color);
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 0 0 3px var(--msj-blue-color);
}

@media(max-width: 650px) {
  .history-item {
    display: block;
  }

  .history-item .caption {
    width: 100%;
    border-bottom: none;
  }

  .history-item .detail {
    border-bottom: none;
    border-left: 3px solid var(--msj-blue-color);
  }
}


.mini-panel-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: left;
}

.mini-panel-overview {
  font-size: 1.1rem;
  color: var(--txt-color);
  margin-bottom: 1rem;
  font-weight: 400;
}

.mini-panel-item {
  flex: 1 1 calc(33.333% - 20px);
  /* 最大3つ */
  min-width: 300px;
  /* 最小幅 */
  max-width: calc(33.333% - 20px);
  /* 最大幅 */
  /*height: 600px;*/

  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border: 1px solid #dee2e6;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mini-panel-item img {
  width: 100%;
  /*height: auto;*/
  height: 200px;
  margin-bottom: 10px;
  object-fit: cover;
  /* 追加: 画像を枠に収めてトリミング */
}

.mini-panel-item .caption {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--msj-blue-color);
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

.mini-panel-item .detail {
  font-size: 1rem;
  color: var(--txt-color);
  font-weight: 400;
}

.mini-panel-item .detail p {
  font-size: 1rem;
  color: var(--txt-color);
  font-weight: 400;
}

.mini-panel-item .detail a {
  font-size: 1rem;
  color: var(--msj-blue-color);
  font-weight: 400;
}

@media (max-width: 1100px) {
  .mini-panel-item {
    flex: 1 1 calc(50% - 20px);
    /* 2つ */
    max-width: calc(50% - 20px);
  }
}

@media (max-width: 650px) {
  .mini-panel-item {
    flex: 1 1 100%;
    /* 1つ */
    max-width: 100%;
  }
}

.recruit-flow-item {
  width: 200px;
  border: solid 1px var(--msj-blue-color);
  background: var(--msj-blue-color-light);
  color: var(--msj-blue-color-dark);
  text-align: center;
  padding: 1.5rem 0;
  border-radius: 10px;
  font-size: 20px;
}

.recruit-flow-arrow i {
  font-size: 20px;
  margin-left: 90px;
  padding: 0.5rem 0;
  color: var(--msj-blue-color-dark);
}

.policy h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--msj-blue-color);
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

.policy b {
  font-size: 1.1rem;
  color: var(--msj-blue-color);
  font-weight: 500;
}

.policy img {
  border: 1px solid #dee2e6;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.sdgs-flex {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

.sdgs-flex .img1 {
  height: 80px;
}

.sdgs-flex .img2 {
  margin-right: 108px;
  height: 107px;
}

.sdgs-flex .line {
  width: 1px;
  border-left: solid 2px var(--msj-blue-color-light);
  height: 107px;
}

.sdgs-row {
  display: flex;
  gap: 20px;
  /*flex-wrap: wrap;*/
  justify-content: space-between;
  align-items: center;
  border: solid 1px var(--msj-blue-color-light);
  background: #ffffff;
  padding: 1.5rem;
  margin: 1rem 0;
}

.sdgs-row .sdgs-img {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.sdgs-row .sdgs-img img {
  width: 113px;
  height: 114px;
}

.sdgs-row .sdgs-img .blank {
  width: 113px;
  height: 114px;
}

.sdgs-row .sdgs-text {
  font-size: 1.1rem;
  color: var(--txt-color);
  font-weight: 400;
  width: calc(100% - 399px);
}

@media(max-width: 650px) {
  .sdgs-flex .img1 {
    width: 40%;
    height: auto;
  }

  .sdgs-flex .img2 {
    width: 40%;
    height: auto;
    margin-right: 0
  }

  .sdgs-flex .line {
    height: 80px;
  }

  .sdgs-row {
    flex-wrap: wrap;
  }

  .sdgs-row .sdgs-img .blank {
    display: none;
  }

  .sdgs-row .sdgs-text {
    width: 100%;
  }
}

.footer-sdgs {}

.footer-sdgs {
  width: 174px;
  cursor: pointer;
  color: var(--msj-blue-color-dark);
}

.footer-sdgs a {
  font-size: 15px !important;
  font-weight: 500;
}

.footer-sdgs ul li {
  cursor: pointer;
  position: relative;
  z-index: 2;
}

.footer-sdgs ul li a {
  font-size: 12px !important;
  font-weight: 400;
}

.must {
  font-size: 11px;
  background: var(--msj-red-color);
  color: #ffffff;
  padding: 1px 3px;
  border-radius: 3px;
  margin-left: 1rem;
}

footer.admin {
  /*background: linear-gradient(to top, var(--msj-gray-color-header-grad), var(--msj-gray-color-header));*/
}

.thumbnail-container {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.thumbnail-item {
  position: relative;
  margin-bottom: 15px;
}

.thumbnail-item .delete-button {
  position: absolute;
  bottom: 30px;
  right: 5px;
  background: var(--msj-blue-color);
  color: #ffffff;
  border: solid 1px #ffffff;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.thumbnail-item .delete-button i {
  color: #ffffff;
  font-size: 16px;
}

.thumbnail-item input {
  font-size: 12px;
  width: 100px;
  border: none;
}

.thumbnail-50 {
  width: 50px;
  height: 50px;
  object-fit: cover;
}

.thumbnail-100 {
  width: 100px;
  height: 100px;
  object-fit: cover;
}

/* フレームワーク版 画像拡大ポップアップ */
.img_popup {
  display: inline-block;
  width: calc(33.33333% - 13.33333px);
}

.img_popup img {
  width: 90%;
  -o-object-fit: cover;
  object-fit: cover;
  aspect-ratio: 0.75;
}

.popup_overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 9998;
}

.popup_content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  position: fixed;
  top: 50%;
  left: 0px;
  transform: translate(0%, -50%);
  padding: 20px;
  z-index: 9999;
  overflow: auto;
  text-align: center;
  width: 100%;
  height: 100%;
}

.popup_close {
  position: fixed;
  top: 10px;
  right: 10px;
  cursor: pointer;
  font-size: 26px;
  color: #fff;
  background: #c0c0c0;
  border-radius: 20px;
  width: 40px;
  height: 40px;
  line-height: 40px;
  font-weight: bold;
  z-index: 19999;
  text-align: center;
}

.popup_image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.popup_copyright {
  margin-top: 10px;
  font-size: 12px;
  color: #666;
  text-align: center;
}

.popup_prev {
  position: fixed;
  top: calc(50% - 20px);
  left: 10px;
  z-index: 19999;
  cursor: pointer;
  font-size: 36px;
  color: #fff;
  text-align: center;
}

.popup_prev i {
  color: #fff;
  font-size: 36px;
}

.popup_next {
  position: fixed;
  top: calc(50% - 20px);
  right: 10px;
  z-index: 19999;
  cursor: pointer;
  text-align: center;
}

.popup_next i {
  color: #fff;
  font-size: 36px;
}

/* フレームワーク版 画像拡大ポップアップ ここまで */

/* 画像ファイルアップロード */
.file-upload-container {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

#jquery_upimage_preview {
  display: inline-block;
}

#jquery_upimage_label {
  cursor: pointer;
  color: #ffffff;
  background: var(--db-green-color);
  padding: 10px;
  border-radius: 5px;
  text-decoration: none;
  margin: 0 1rem;
  text-shadow: none;
  width: 170px;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
}

#jquery_upimage_label input {
  display: none;
}

#jquery_upimage_preview img {
  height: 120px;
  margin-right: 4px;
  object-fit: cover;
}

/* 画像ファイルアップロード ここまで */

.login-form {
  width: 400px;
  margin: 0 auto;
}

.login-form .button-div {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.search-box {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  align-items: center;
}

.search-box div {
  margin-right: 10px;
}

.search-box input[type="text"] {
  max-width: 300px;
  margin-bottom: 0px;
}

.search-box input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-bottom: 0px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 16px;
  font-weight: 500;
}

.timestamp {
  font-size: 12px;
  color: #666;
  margin: 5px 0;
  text-align: right;
}

.pager-container {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-top: 20px;
}

.pager-item a {
  display: block;
  color: var(--msj-blue-color);
  font-size: 16px;
  padding: 0px 5px;
  text-decoration: none;
  border-radius: 5px;
}

.pager-item i {
  color: var(--msj-blue-color);
  font-size: 16px;
  cursor: pointer;
}

.pager-container .current a {
  color: var(--db-green-color);
}


/*	同意バー・追従バナー共通
---------------------------------*/
.fixed-box {
  width: 100%;
  position: fixed;
  bottom: 0;
  right: 0;
  z-index: 100;
}

/*	同意バー
---------------------------------*/
.notice-consent {
  width: 100%;
  /*background: rgba(0, 0, 0, .8);*/
  background: var(--msj-blue-color-dark-alpha);
  padding: 2rem 0;
  display: none;
  visibility: hidden;
}

.notice-consent.is-show {
  display: block;
  visibility: visible;
}

.notice-consent-cts {
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.notice-consent-cts__txt {
  color: #fff;
}

/*
.notice-consent-cts__agree {
  width: 120px;
  height: 50px;
  background: linear-gradient(to bottom, #3b85ff 0%, var(--bg_blue) 100%);
  border-radius: 6px;
  color: #fff;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}
*/
.notice-consent-cts a {
  color: var(--msj-blue-color-light);
  text-decoration: underline;
}

.notice-consent-cts a:hover {
  color: #ffffff;
}

.notice-consent-cts .button-msj-blue {
  color: #ffffff;
  text-decoration: none;
}

.notice-consent-cts .button-msj-blue:hover {
  color: #ffffff;
  text-decoration: none;
}

/* パッと消える */
.hide {
  display: none !important;
}

@media screen and (max-width: 767px) {
  .notice-consent {
    padding: 1.2rem .5rem 2.2rem;
    position: relative;
    z-index: 100;
  }

  .notice-consent-cts {
    flex-direction: column;
    gap: 8px;
  }

  .notice-consent-cts__txt {
    font-size: 14px;
    line-height: 1.45;
  }

  .notice-consent-cts__txt br {
    display: none
  }

  .notice-consent-cts__agree {
    width: 100%;
    height: 45px;
    font-size: 14px
  }
}

.link {
  color: var(--db-green-color-dark);
  text-decoration: none;
}
.link:hover {
  color: var(--db-green-color);
  text-decoration: underline;
  text-underline-offset: 2px;
}



.footer-link {
  text-align: center;
}

.footer-link-inner {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-link-inner ul {
  padding: 0px;
}

.footer-link li {
  margin: 10px 0 10px 10px;
  padding: 0;
  list-style: none;
  text-align: left;
  display: inline-block;
  vertical-align: top;
}

.footer-link li a {
  font-size: 12px;
}

.floating-banner {
  color: #ffffff;
  text-align: center;
  padding: 10px 0px;
  /*z-index: 1000;*/
  width: 185px;
  height: 60px;
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  box-shadow: 0px 4px 3px rgba(128, 128, 128, 0.5);
}

.floating-banner img {
  margin-right: 5px;
  height: 50px;
}

.floating-banner div {
  color: #ffffff;
}

.banner1 {
  bottom: 20px;
  background-color: #f8b323;
}

.banner2 {
  bottom: 120px;
  background-color: #91d4f5;
}

.floating-text {
  width: 100px;
  text-align: center;
  font-size: 14px;
}

.full {
  background: #26a69a;
  padding: 4px 8px;
  margin: 0 calc(50% - 50vw);
  width: 100vw;
}

@media (max-width: 800px) {
  header .certification {
    display: none;
  }
}

.no-padding-section {
  padding: 0;
}
.no-padding-section div {
  max-width: 100%;
  margin: 0px;
}


/* --- ベースとなる背景部分 --- */
.hero-container {
  position: relative;
  width: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end; /* フォームを下に配置 */
  justify-content: start;
  padding-bottom: 40px; /* 下枠からの余白 */
  box-sizing: border-box;
}

/* --- 検索フォーム全体（白いボックス） --- */
.search-form {
  background-color: rgba(255, 255, 255, 0.5); /* 少しだけ透過させた白 */
  border-radius: 12px;
  padding: 24px;
  width: 80%;
  max-width: 1000px; /* フォームの最大横幅 */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15); /* フォームを浮かせる影 */
  box-sizing: border-box;
}

/* --- 入力エリアの横並び配置 --- */
.search-form__inner {
  display: flex;
  gap: 16px; /* 入力欄同士の隙間 */
  margin-bottom: 12px;
}

.search-form__group {
  flex: 1; /* 3つの入力欄を均等な幅にする */
  display: flex;
  flex-direction: column;
}

.search-form__label {
  font-size: 14px;
  font-weight: bold;
  color: #333;
  margin-bottom: 6px;
}

/* セレクトボックスと入力欄の共通スタイル */
.search-form__select,
.search-form__input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
  background-color: #fff;
  box-sizing: border-box;
}

.search-form__select-wrapper {
  width: 100%;
}

/* --- 履歴対象チェックボックス --- */
.search-form__checkbox-wrapper {
  margin-bottom: 16px;
}

.search-form__checkbox-label {
  font-size: 13px;
  color: #666;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* --- 検索ボタン --- */
.search-form__submit-wrapper {
  margin-bottom: 20px;
  display: flex;
  justify-content: end;
}

.search-form__submit-btn {
  width: 200px;
  background-color: #007b43; /* 元画像のような深めの緑 */
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 14px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.search-form__submit-btn:hover {
  background-color: #005a30; /* ホバー時に少し暗く */
}

/* --- おすすめの働き方（リンク群） --- */
.search-form__recommend {
  display: flex;
  align-items: center;
  gap: 16px;
  border-top: 1px solid #eee; /* 上部に薄い区切り線 */
  padding-top: 16px;
}

.search-form__recommend-title {
  font-size: 14px;
  font-weight: bold;
  color: #444;
}

.search-form__recommend-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 12px;
}

.search-form__recommend-link {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
  font-weight: bold;
  background-color: #f5f5f5;
  padding: 6px 12px;
  border-radius: 20px; /* 丸いカプセル型 */
  transition: background-color 0.2s;
}

.search-form__recommend-link:hover {
  background-color: #e0e0e0;
}




.top-panel-div {
  display: grid;
  width: 100%;
}

.top-panel-div > * {
  grid-column: 1;
  grid-row: 1;
}

.top-bg-div {
  position: relative;
  overflow: hidden;
  line-height: 0;
  width: 100%;
}

.top-bg-div img {
  display: block;
  width: auto;        /* 画像の幅（調整可能） */
  height: auto;
  margin-left: auto; /* ← これで右寄せ */
}

.top-bg-div::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 80%;
  height: 100%;
  background: linear-gradient(to right,
    rgba(150, 230, 170, 1) 0%,
    rgba(255,255,255,1) calc(100% - 500px),
    rgba(255,255,255,0) 100%
  );
  pointer-events: none;
}

.top-bg-overlay {
  grid-column: 1;
  grid-row: 1;
  align-self: start;  /* ← 上寄せ */
  position: relative;
  z-index: 1;
  width: 100%;
  height: 480px;
  min-width: 0;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 40px 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: start;
  pointer-events: none;
  overflow: hidden;
}

.top-bg-form {
  grid-column: 1;
  grid-row: 1;
  align-self: end;
  position: relative;
  z-index: 1;
  align-self: end;       /* 縦：下寄せ */
  justify-self: start;   /* 横：左寄せ */
  max-width: 1200px !important;
  width: 100%;
  margin: 0 auto !important;
  padding: 0 20px 0px;
  box-sizing: border-box;
}

.top-bg-overlay a,
.top-bg-overlay button,
.top-bg-overlay select,
.top-bg-overlay input {
  pointer-events: auto;
}


.top-bg-div {
  position: relative;
  overflow: hidden;
  line-height: 0;
  width: 100%;
  display: flex;              /* 追加 */
  justify-content: flex-end;  /* 追加: 画像を右寄せ */
  min-height: 300px; /* 追加: 最小高さを確保 */
}

.top-bg-div img {
  display: block;
  width: auto;
  height: auto;
  flex-shrink: 0;  /* 変更: 縮まないようにする */
  /* margin-left: auto は不要になるので削除 */
  min-height: 300px; /* 追加: 画像の最小高さを確保 */
}


.top-bg-caption1 {
  background: var(--db-green-color);
  color: #ffffff;
  padding: 5px 10px;
  border-radius: 5px;
  width: max-content;
  max-width: 100%;
}
.top-bg-caption2 {
  color: var(--db-green-color-dark);
  font-size: 30px;
  line-height: 34px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 5px;
  word-break: break-word;

  text-shadow:
    2px  2px 0 #ffffff,
    -2px  2px 0 #ffffff,
    2px -2px 0 #ffffff,
    -2px -2px 0 #ffffff,
    2px  0px 0 #ffffff,
    -2px  0px 0 #ffffff,
    0px  2px 0 #ffffff,
    0px -2px 0 #ffffff;
}
.top-bg-caption3 {
  color: var(--txt-color);
  padding: 5px 10px;
  border-radius: 5px;

  text-shadow:
    1px  1px 0 #ffffff,
    -1px  1px 0 #ffffff,
    1px -1px 0 #ffffff,
    -1px -1px 0 #ffffff,
    1px  0px 0 #ffffff,
    -1px  0px 0 #ffffff,
    0px  1px 0 #ffffff,
    0px -1px 0 #ffffff;
}


@media (max-width: 800px) {

  /* グリッドの重ね合わせを解除 → 縦並びに */
  /*
  .top-panel-div > * {
    grid-column: auto;
    grid-row: auto;
  }
    */

  /* 画像を全幅表示 */
  /*
  .top-bg-div img {
    width: 100%;
    margin-left: 0;
  }
    */

  /* フェードオーバーレイを非表示 */
  /*
  .top-bg-div::after {
    display: none;
  }
    */

  /* オーバーレイを通常フローに戻す */
  /*
  .top-bg-overlay {
    position: static;
    padding: 20px;
    pointer-events: auto;
  }
    */

  .top-bg-form {
    grid-column: auto;
    grid-row: auto;
    align-self: auto;
    padding: 20px;
    pointer-events: auto;
  }
  .search-form {
    width: 100%;
  }


  /* ...existing code... */

  /* フォーム内を縦並びに */
  .search-form__inner {
    flex-direction: column;
    gap: 8px;
  }

  /* フォーム全体の余白調整 */
  .search-form {
    width: 100%;
    padding: 16px;
    border-radius: 8px;
  }

  /* 検索ボタンを全幅に */
  .search-form__submit-wrapper {
    justify-content: center;
  }

  .search-form__submit-btn {
    width: 100%;
  }

  /* おすすめリンクを縦並びに */
  .search-form__recommend {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .search-form__recommend-list {
    flex-wrap: wrap;
    gap: 8px;
  }

  .top-bg-div::after {
    width: 40%;
  }

}


.driver-badge {
  position: absolute; /* 親要素（.hero-container）を基準に配置 */
  right: 30px;       /* 右端からの距離 */
  bottom: 30px;      /* 下端からの距離（フォームより少し上に） */
  width: 120px;      /* バッジの直径 */
  height: 120px;     /* バッジの直径 */
  background-color: #fff; /* 白い背景 */
  border: solid 2px var(--db-green-color); /* 緑の枠線 */
  border-radius: 50%; /* 完全に丸くする */
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2); /* フォームより少し強めの影で浮かせる */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10; /* フォームより前面に表示したい場合 */
  
  /* 少し傾きをつけてアクセントに（元画像のような雰囲気） */
  transform: rotate(-10deg);
}

.driver-badge__inner {
  text-align: center;
  padding: 10px;
}

/* 王冠アイコン */
.driver-badge__icon {
  display: block;
  font-size: 40px; /* 王冠の大きさ */
  color: #ffb800;  /* 王冠の色（金色） */
  margin-bottom: 5px;
}

/* テキスト */
.driver-badge__text1 {
  margin: 0;
  font-size: 12px;
  font-weight: bold;
  color: #333;
  line-height: 1.4; /* 行間を少し詰める */
}
.driver-badge__text2{
  margin: 0;
  font-size: 15px;
  font-weight: bold;
  color: var(--db-green-color);
  line-height: 1.4; /* 行間を少し詰める */
}
.driver-badge i {
  color: var(--db-green-color);
  font-size: 22px;
}


/* --- バナー全体の外枠（背景緑） --- */
.registration-banner {
  background-color: var(--db-green-color-light); /* 元画像のような鮮やかな深緑 */
  width: 100%;
  padding: 30px 0;
  box-sizing: border-box;
  overflow: visible; /* キャラクターを枠外にはみ出させる場合はvisibleに */
  border-radius: 10px;
}

/* --- インナーコンテナ（中央寄せ・横並び） --- */
.registration-banner__container {
  max-width: 1100px; /* サイトの最大幅に合わせて調整してください */
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center; /* 縦方向の中央揃え */
  justify-content: space-between; /* 両端に広げて配置 */
  position: relative;
}

/* --- 左側：キャラクター画像エリア --- */
.registration-banner__character {
  flex-shrink: 0;
  margin-right: 20px;
  position: relative;
}

.registration-banner__char-img {
  height: 120px; /* キャラクターのサイズに合わせて調整 */
  width: auto;
  display: block;
  /* 必要に応じて、以下のように位置を上にはみ出させることができます */
  /* position: absolute; bottom: -30px; */
}

/* --- 中央：テキスト・メリットエリア --- */
.registration-banner__content {
  flex-grow: 1;
  color: #fff; /* 文字色は白 */
  margin-right: 30px;
}

/* メインのキャッチコピー */
.registration-banner__title {
  font-size: 22px;
  font-weight: bold;
  margin: 0 0 15px 0;
  color: var(--db-green-color-dark);
  background: var(--db-green-color-light);
}

/* メリットの箇条書き（横並び） */
.registration-banner__benefits {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 15px 24px; /* メリット同士の隙間（縦・横） */
  color: var(--db-green-color-dark);
}

/* 各メリットの項目（チェックマーク付き） */
.registration-banner__benefit-item {
  font-size: 14px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--db-green-color-dark);
}

/* チェックマーク（CSSの疑似要素で簡易再現） */
.registration-banner__benefit-item::before {
  content: "✔";
  background-color: #fff;
  color: #007b43;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

/* --- 右側：登録ボタンエリア --- */
.registration-banner__action {
  flex-shrink: 0;
}

/* 黄色の登録ボタン */
.registration-banner__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #ffb800; /* 目立つ黄色・オレンジ */
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  padding: 16px 32px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: background-color 0.2s, transform 0.2s;
  min-width: 260px; /* ボタンの最小横幅 */
  box-sizing: border-box;
  color: #ffffff;
}

/* ホバー時の演出 */
.registration-banner__btn:hover {
  background-color: #ffa500; /* 少し濃いオレンジに */
  transform: translateY(-2px); /* わずかに上に浮かす */
}

/* ボタン内の矢印マーク（＞） */
.registration-banner__btn-arrow {
  font-size: 14px;
  margin-left: 10px;
  color: #ffffff;
}

@media (max-width: 650px) {

  /* バナー全体の余白調整 */
  .registration-banner {
    padding: 20px 0;
  }

  /* 縦並びに変更 */
  .registration-banner__container {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  /* キャラクター画像を小さく */
  .registration-banner__char-img {
    height: 80px;
  }

  /* テキストエリアの右マージンを解除 */
  .registration-banner__content {
    margin-right: 0;
    width: 100%;
    text-align: center;
  }

  /* タイトルのフォントサイズを縮小 */
  .registration-banner__title {
    font-size: 18px;
    margin-bottom: 10px;
  }

  /* メリットリストを中央寄せ */
  .registration-banner__benefits {
    justify-content: center;
    gap: 8px 16px;
  }

  /* ボタンを全幅に */
  .registration-banner__action {
    width: 100%;
  }

  .registration-banner__btn {
    width: 100%;
    min-width: unset;
    font-size: 16px;
    padding: 14px 20px;
    justify-content: center;
  }
}

/* --- セクション全体の枠組み --- */
.sns-section {
  width: 100%;
  padding: 40px 0;
  background-color: #f9f9f9; /* 薄いグレーの背景 */
  box-sizing: border-box;
}

.sns-section__inner {
  max-width: 1200px; /* バナーより少し広めに設定 */
  margin: 0 auto;
  padding: 0 20px;
}

/* --- ヘッダー（タイトル）部分 --- */
.sns-section__header {
  margin-bottom: 24px;
}

.sns-section__title {
  font-size: 20px;
  font-weight: bold;
  color: #333;
  margin: 0 0 4px 0;
}

.sns-section__lead {
  font-size: 13px;
  color: #666;
  margin: 0;
}

/* --- SNSリンクのコンテナ（Flexbox） --- */
.sns-section__list {
  display: flex;
  gap: 12px; /* カード同士の間隔 */
  justify-content: space-between;
  flex-wrap: wrap; /* 画面幅が狭くなったら折り返す設定 */
}

/* --- 各SNSカードの共通スタイル --- */
.sns-card {
  flex: 1;
  min-width: 200px; /* カードが縮みすぎないための最小幅 */
  display: flex;
  align-items: center;
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 12px;
  text-decoration: none;
  color: #333;
  box-sizing: border-box;
  transition: box-shadow 0.2s, transform 0.2s;
}

/* ホバー時に少し浮かせる演出 */
.sns-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

/* アイコンの枠 */
.sns-card__icon-wrapper {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  margin-right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sns-card__icon {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* テキストコンテンツエリア */
.sns-card__content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden; /* テキスト溢れ防止 */
}

/* SNS名（LINE、Xなど） */
.sns-card__name {
  font-size: 14px;
  font-weight: bold;
}

/* 説明文 */
.sns-card__desc {
  font-size: 11px;
  color: #777;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis; /* 文字が長すぎる場合は「...」にする */
}

/* 右端の矢印（＞） */
.sns-card__arrow {
  font-size: 12px;
  color: #b3b3b3;
  margin-left: 8px;
  flex-shrink: 0;
}


/* =========================================
   レスポンシブ対応（メディアクエリ）
   ========================================= */

/* タブレット〜横幅が中くらいの画面（5つのカードが2列や3列に綺麗に並ぶよう調整） */
@media (max-width: 1100px) {
  .sns-card {
    flex: calc(33.333% - 12px); /* 3列で並べる */
    min-width: 240px;
  }
}

@media (max-width: 768px) {
  .sns-card {
    flex: calc(50% - 12px); /* スマホ〜小さめタブレットでは2列に */
  }
}

/* スマホ縦画面（1列でゆったり見せる） */
@media (max-width: 480px) {
  .sns-section__list {
    gap: 8px; /* スマホ時は少し隙間を詰める */
  }
  .sns-card {
    flex: 100%; /* 1列（縦並び）にする */
    padding: 14px; /* タップしやすくするために少し広げる */
  }
}

.panel-div-top .panel-item {
  position: relative;
}
.panel-div-top .panel-item .caption {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
  position: absolute;
  top: 200px;
  background: var(--db-green-color);
  border-radius: 5px;
  left: 20px;
  padding: 4px 8px;
}

.panel-div-kyujin .panel-item {
  position: relative;
}
.panel-div-kyujin .panel-item .category {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
  position: absolute;
  top: 200px;
  background: var(--db-green-color);
  border-radius: 5px;
  left: 20px;
  padding: 4px 8px;
}
.panel-div-kyujin .panel-item .caption {
  margin-top: 0.5rem;
}

a.button-db-white {
  display: inline-block;
  color: var(--db-green-color);
  border: solid 1px var(--db-green-color);
  background: #ffffff;
  padding: 10px;
  border-radius: 5px;
  text-decoration: none;
  text-shadow: none;
  width: 100%;
  max-width: 450px;
  cursor: pointer;
  text-align: center;
}
a.button-db-white i {
  color: var(--db-green-color);
}

.pref i {
  color: var(--db-green-color);
  margin-right: 5px;
}
ul.tag {
  list-style: none;
  padding-left: 0px;
}
ul.tag li {
  display: inline-block;
  background: var(--db-green-color-light);
  color: var(--db-green-color-dark);
  padding: 4px 8px;
  border-radius: 5px;
  font-size: 12px;
  margin-right: 5px;
}
ul.tag-big {
  list-style: none;
  padding-left: 0px;
}
ul.tag-big li {
  display: inline-block;
  background: var(--db-green-color-light);
  color: var(--db-green-color-dark);
  padding: 4px 8px;
  border-radius: 5px;
  font-size: 18px;
  margin-right: 5px;
}

.swiper-pickup-kyujin.panel-container {
  display: block;         /* flexを解除 */
  overflow: hidden;       /* Swiperに必須 */
  position: relative;     /* Swiperに必須 */
}

.swiper-pickup-kyujin .swiper-wrapper {
  display: flex;          /* Swiperが管理するflex */
  flex-wrap: nowrap;      /* 折り返し禁止（重要） */
}

.swiper-pickup-kyujin .panel-item {
  flex: none;             /* サイズはSwiperが制御 */
  min-width: unset;
  max-width: unset;
  height: auto;
}

/* ピックアップ求人 矢印ボタン */
.swiper-pickup-kyujin .swiper-button-prev,
.swiper-pickup-kyujin .swiper-button-next {
  width: 44px;
  height: 44px;
  background-color: var(--db-green-color-light); /* サイトのメインカラーに変更 */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 120px; /* 画像の高さ200pxの中央 */
}

.swiper-pickup-kyujin .swiper-button-prev {
  left: 5px;
}

.swiper-pickup-kyujin .swiper-button-next {
  right: 5px;
}

.swiper-pickup-kyujin .swiper-button-prev::after,
.swiper-pickup-kyujin .swiper-button-next::after {
  font-size: 16px;
  color: #fff;
  font-weight: bold;
}

.link-all {
  font-size: 14px;
  color: var(--db-green-color-dark);
  text-decoration: none;
  margin-left: auto; /* 右端に寄せる */
  font-weight: normal;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  margin-bottom: 0.5rem;
}
.link-all i {
  font-size: 14px;
  color: var(--db-green-color-dark);
}

.link-all:hover {
  text-decoration: underline;
}

.button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: background-color 0.2s, transform 0.2s;
  box-sizing: border-box;
}
.button:hover {
  transform: translateY(-2px); /* わずかに上に浮かす */
}

.search-container div {
  margin: 0;
}
.search-container {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  align-items: flex-start; /* 重要: stretchだとstickyが効かない */
}

#form-container {
  position: sticky;
  top: 94px; /* 上からの距離（ヘッダーがある場合はその高さに調整） */
  align-self: flex-start; /* 親がflexの場合に必要 */
  z-index: 10;
}

.search-container .form-container .search-form {
  width: 360px;
}
.search-container .form-container .search-form__inner {
  flex-direction: column;
}
.search-container .form-container .search-form__submit-btn {
  width: 100%;
}
.search-container .result-container {
  width: 100%;
}
.search-container .sort-container {
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.search-container .sort-container:nth-child(1) {
  margin-left: 1rem;
}
.search-container .pager-container {
  margin-top: 20px;
}

@media (max-width: 1000px) {
  .search-container {
    flex-direction: column;
  }
  .search-container .form-container .search-form__inner {
    flex-direction: row;
  }
  .search-container .form-container {
    width: 100%;
  }
  .search-container #form-container {
    position: static; /* stickyを解除して通常のフローに戻す */
  }
  .search-container .form-container .search-form {
    width: 100%;
  }
  .search-container .form-container .search-form__submit-btn {
    width: 200px;
  }

}

@media (max-width: 650px) {
  .search-container .form-container .search-form__inner {
    flex-direction: column;
  }
}
@media (max-width: 480px) {
  .search-container .form-container .search-form__submit-btn {
    width: 100%;
  }
}

.row-block-text {
  display: flex;
  align-items: center;
  color: var(--db-txt-color);
  font-size: 1rem;
  margin: 1rem 0 !important;
}
ul.row-block-tag-list {
  list-style: none;
  padding-left: 0px;
}
ul.row-block-tag-list li {
  display: inline-block;
  background: var(--db-green-color-light);
  color: var(--db-green-color-dark);
  padding: 4px 8px;
  border-radius: 5px;
  font-size: 12px;
  margin-right: 5px;
}

.row-block-2col-flex {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: start;
}
.row-block-2col-flex > div {
  width: 50%;
}
.row-block-main-image {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border: solid 1px var(--db-green-color);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
@media (max-width: 650px) {
  .row-block-2col-flex {
    flex-direction: column;
  }
  .row-block-2col-flex > div {
    width: 100%;
  }
}

.row-block-3col-flex {
  margin: 1rem 0 !important;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
}
.row-block-3col-flex > div:nth-child(1) {
  width: 25%;
}
.row-block-3col-flex > div:nth-child(2) {
  width: 50%;
}
.row-block-3col-flex > div:nth-child(3) {
  width: 25%;
}
@media (max-width: 650px) {
  .row-block-3col-flex > div:nth-child(1) {
    width: 15%;
  }
  .row-block-3col-flex > div:nth-child(2) {
    width: 70%;
  }
  .row-block-3col-flex > div:nth-child(3) {
    width: 15%;
  }
}

.favorite-icon {
  text-align: right;
}
.favorite-icon a {
}
.favorite-icon i {
  color: var(--db-green-color);
  font-size: 24px;
}

.row-block-mini-index {
  background: var(--db-green-color);
  color: #ffffff;
  padding: 3px 6px;
  border-radius: 5px;
  margin-right: 0.75rem;
  font-size: 90%;
}

.row-block-detail {
  font-size: 14px !important;
  color: var(--db-txt-color);
}

.list-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-toggle-btn {
  width: 100%;
  padding: 10px 16px;
  background: var(--db-green-color);
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: space-between;
}
.form-toggle-btn div,
.form-toggle-btn i,
.form-toggle-btn span {
  color: #ffffff;
}

.form-toggle-btn:hover {
  opacity: 0.85;
}

.form-inner {
  overflow: hidden;
  transition: max-height 0.3s ease;
  max-height: 1000px; /* 開いた状態の最大高さ */
}

.form-inner.closed {
  max-height: 0;
}

/* 検索画面用 */
.search-container .form-container {
  border: solid 1px var(--db-green-color);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15); /* フォームを浮かせる影 */
}
.search-container .search-form {
  padding: 24px;
  width: 80%;
  max-width: 1000px; /* フォームの最大横幅 */
  border-radius: 0px;
}
.search-container form {
  margin: 0px;
}

.swiper-kyujin-image.panel-container {
  display: block;         /* flexを解除 */
  overflow: hidden;       /* Swiperに必須 */
  position: relative;     /* Swiperに必須 */
}

.swiper-kyujin-image .swiper-wrapper {
  display: flex;          /* Swiperが管理するflex */
  flex-wrap: nowrap;      /* 折り返し禁止（重要） */
}

.swiper-kyujin-image .image-item {
  flex: none;             /* サイズはSwiperが制御 */
  min-width: unset;
  max-width: unset;
  height: 200px;

  border: 1px solid #dee2e6;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.swiper-kyujin-image .image-item img {
  width: 100%;
  /*height: auto;*/
  height: 200px;
  margin-bottom: 10px;
  object-fit: cover;
  /* 追加: 画像を枠に収めてトリミング */
}

/* ピックアップ求人 矢印ボタン */
.swiper-kyujin-image .swiper-button-prev,
.swiper-kyujin-image .swiper-button-next {
  width: 44px;
  height: 44px;
  background-color: var(--db-green-color-light); /* サイトのメインカラーに変更 */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 50%; /* 画像の高さ200pxの中央 */
}

.swiper-kyujin-image .swiper-button-prev {
  left: 5px;
}

.swiper-kyujin-image .swiper-button-next {
  right: 5px;
}

.swiper-kyujin-image .swiper-button-prev::after,
.swiper-kyujin-image .swiper-button-next::after {
  font-size: 16px;
  color: #fff;
  font-weight: bold;
}

.detail-menu-container {
  margin-bottom: 20px;
  align-items: flex-start; /* 重要: stretchだとstickyが効かない */
}

#menu-container {
  position: sticky;
  top: 94px; /* 上からの距離（ヘッダーがある場合はその高さに調整） */
  align-self: flex-start; /* 親がflexの場合に必要 */
  z-index: 10;

  margin-bottom: 20px;
}

.detail-menu-tab {
  list-style: none;
  margin: 0;
  padding: 0;

  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.detail-menu-tab li {
  text-align: center;
  cursor: pointer;
  font-size: 18px;
  border-radius: 5px;
  background: var(--db-green-color-light);
  width: 120px;
}
.detail-menu-tab li a {
  width: 100%;
  display: block;
  padding: 10px 16px;
  border: none;
  text-decoration: none;
  color: var(--db-green-color-dark);
}
.detail-menu-tab li.active {
  background: var(--db-green-color);
}
.detail-menu-tab li.active a {
  color: #ffffff;
}

.panel-item-one {
  width: 100%;
  max-width: 100%;
}

@media (max-width: 650px) {
  .detail-menu-tab {
    gap: 2px;
  }
  .detail-menu-tab li {
    width: calc(20% - 2px);
  }
  .detail-menu-tab li a {
    font-size: 12px;
    padding: 8px 8px;
  }
  .detail-menu-tab li.detail-menu-message a {
    padding: 8px 0px;
  }
}

.panel-item .sub-content {
  margin: 2rem 0;
}
.panel-item .sub-caption {
  font-size: 16px;
  font-weight: 700;
  color: var(--db-green-color);
  margin-bottom: 0.5rem;
  border-bottom: solid 1px var(--db-green-color);
}
.panel-item .sub-value {
  font-size: 18px;
  color: var(--db-txt-color);
}
.panel-item .sub-value-long {
  font-size: 16px;
  color: var(--db-txt-color);
}
.panel-item .sub-value-flex {
  font-size: 18px;
  color: var(--db-txt-color);
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin: 1rem 0;
  width: max-content;
}

/* 黄色の登録ボタン */
.oubo-banner__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #ffb800; /* 目立つ黄色・オレンジ */
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  padding: 16px 32px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: background-color 0.2s, transform 0.2s;
  min-width: 260px; /* ボタンの最小横幅 */
  max-width: 360px;
  box-sizing: border-box;
  color: #ffffff;
}

/* ホバー時の演出 */
.oubo-banner__btn:hover {
  background-color: #ffa500; /* 少し濃いオレンジに */
  transform: translateY(-2px); /* わずかに上に浮かす */
}

/* ボタン内の矢印マーク（＞） */
.oubo-banner__btn-arrow {
  font-size: 14px;
  margin-left: 10px;
  color: #ffffff;
}

.mark1 {
  display: inline;
  color: #ffffff;
  background-color: var(--db-green-color);
  padding: 1px 3px;
  font-size: 90%;
  margin-right: 10px;
  border-radius: 3px;
}

/* メッセージポップアップ */
.message-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
}

.message-popup.is-open {
  display: flex;
}

.message-popup-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.message-popup-content {
  position: relative;
  width: 95%;
  height: 95%;
  margin: auto;
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  z-index: 10000;
}

.message-popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  background-color: #f0f0f0;
  border: 1px solid #ccc;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  z-index: 10001;
  transition: background-color 0.3s;
}

.message-popup-close:hover {
  background-color: #e0e0e0;
}

#messageIframe {
  width: 100%;
  height: 100%;
}

/* トップ背景画像のレスポンシブ対応 */
@media (max-width: 650px) {
  .top-bg-div img {
    width: 100%;
    object-fit: cover;
  }
  .top-bg-overlay {
    height: 700px;
  }
}

.login-flex-center {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
}

@media (max-width: 650px) {
  .login-form {
    width: 100%;
  }
  form input {
    max-width: 100%;
  }
  .login-flex-center {
    flex-direction: column;
    gap: 12px;
  }
}

/* マイページメニュー */
#mypage-menu-container {
  position: sticky;
  top: 94px; /* 上からの距離（ヘッダーがある場合はその高さに調整） */
  align-self: flex-start; /* 親がflexの場合に必要 */
  z-index: 10;
}
.search-container .mypage-menu-container {
  border: solid 1px var(--db-green-color);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15); /* フォームを浮かせる影 */
}
.search-container .mypage-menu-container .search-form {
  padding: 0px;
  width: 100%;
  max-width: 1000px; /* フォームの最大横幅 */
  border-radius: 0px;
}
.search-container .mypage-menu-container form {
  margin: 0px;
}

.search-container .mypage-menu-container .search-form {
  width: 360px;
}
.search-container .mypage-menu-container .search-form__inner {
  flex-direction: column;
}
.search-container .mypage-menu-container .search-form__submit-btn {
  width: 100%;
}
@media (max-width: 1000px) {
  .search-container .mypage-menu-container .search-form__inner {
    flex-direction: row;
  }
  .search-container .mypage-menu-container .form-container {
    width: 100%;
  }
  .search-container #mypage-menu-container {
    position: static; /* stickyを解除して通常のフローに戻す */
  }
  .search-container .mypage-menu-container .search-form {
    width: 360px;
  }
  .search-container .mypage-menu-container .search-form__submit-btn {
    width: 200px;
  }

}

@media (max-width: 650px) {
  .search-container .mypage-menu-container {
    width: 100%;
  }
  .search-container .mypage-menu-container .search-form {
    width: 100%;
  }
  .search-container .mypage-menu-container .search-form__inner {
    flex-direction: column;
  }
}
@media (max-width: 480px) {
  .search-container .mypage-menu-container .search-form__submit-btn {
    width: 100%;
  }
}


.mypage-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mypage-menu li {
  width: 100%;
  height: 50px;
}
.mypage-menu li a {
  display: block;
  padding: 10px 16px;
  color: var(--db-green-color-dark);
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}
.mypage-menu li a:hover {
  background-color: var(--db-green-color-light);
}


/* チャット履歴スタイル */
.chat-history {
  padding: 16px;
  background-color: #f5f5f5;
  max-height: 500px;
  overflow-y: scroll;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* メッセージグループ */
.message-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.message-group-other {
  align-items: flex-start;
}

.message-group-self {
  align-items: flex-end;
}

/* メッセージヘッダー（名前・日時・既読） */
.message-header {
  display: flex;
  gap: 8px;
  font-size: 12px;
  color: #999;
  padding: 0 8px;
}

.message-group-self .message-header {
  flex-direction: row-reverse;
}

.message-name {
  font-weight: 500;
  color: #666;
}

.message-time {
  font-size: 11px;
}

.message-read {
  font-size: 11px;
  color: #4db8ff;
}

/* 吹き出し */
.message-bubble {
  max-width: 70%;
  padding: 8px 12px;
  border-radius: 12px;
  word-wrap: break-word;
}

.message-bubble-other {
  background-color: #fff;
  border: 1px solid #e0e0e0;
}

.message-bubble-self {
  background-color: #ffd966;
  color: #333;
}

/* メッセージテキスト */
.message-text {
  margin: 0;
  line-height: 1.4;
  font-size: 14px;
}

.message-text.clamp3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 続きを読むボタン */
.message-expand-btn {
  background: none;
  border: none;
  color: var(--db-green-color);
  font-size: 12px;
  cursor: pointer;
  padding: 4px 0;
  margin-top: 4px;
  text-decoration: underline;
}

.message-expand-btn:hover {
  opacity: 0.7;
}

.message-expand-btn.expanded {
  display: none;
}

/* スクロール時のアニメーション */
.chat-history {
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* チャットヘッダー */
.chat-header {
  padding: 12px 16px;
  border-bottom: 1px solid #e0e0e0;
  background-color: #fff;
}

.chat-company-name {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
}

.chat-job-title {
  font-size: 13px;
  color: #666;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.chat-job-title-link {
  font-size: 13px;
  color: #666;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-decoration: none;
}

.chat-job-title-link:hover {
  text-decoration: underline;
  color: var(--db-green-color);
}

.form-chat {
  margin-top: 20px;
}
.form-chat textarea {
  width: 100%;
  max-width: 100%;
  min-height: 80px;
  /*
  padding: 8px;
  border-radius: 8px;
  border: 1px solid #ccc;
  */
  resize: vertical;
  /*
  font-size: 14px;
  */
}
.form-chat .up-img-btn {
  padding-bottom: 10px;
}


/* 削除ボタン */
.message-delete-btn {
  background: none;
  border: none;
  color: #999;
  font-size: 16px;
  cursor: pointer;
  padding: 0 4px;
  margin-left: 8px;
  transition: color 0.2s;
  font-size: 12px;
}

.message-delete-btn:hover {
  color: #ff4444;
}

/* ...existing code... */

/* モーダルオーバーレイ */
.cms-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 999;
  animation: fadeIn 0.3s ease-out;
}

.cms-modal-overlay.show {
  display: block;
}

/* モーダルウィンドウ */
.cms-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  display: none;
  min-width: 400px;
  animation: fadeInModal 0.3s ease-out;
}
@keyframes fadeInModal {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.cms-modal.show {
  display: block;
}

.cms-modal-content {
  padding: 24px;
  /*
  text-align: center;
  */
}

.cms-modal-message {
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  word-break: break-word;
}

.cms-modal-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.cms-modal-btn-ok,
.cms-modal-btn-cancel {
  padding: 10px 24px;
  font-size: 14px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.cms-modal-btn-ok {
  background-color: var(--db-green-color);
  color: #fff;
}

.cms-modal-btn-ok:hover {
  opacity: 0.8;
}

.cms-modal-btn-cancel {
  background-color: #e0e0e0;
  color: #333;
}

.cms-modal-btn-cancel:hover {
  background-color: #d0d0d0;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0;
  }
  to {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
}

@media (max-width: 650px) {
  .cms-modal {
    min-width: unset;
    width: calc(100% - 32px);
    max-width: 100%;
  }

  .cms-modal-content {
    padding: 20px;
  }

  .cms-modal-buttons {
    flex-direction: column;
  }

  .cms-modal-btn-ok,
  .cms-modal-btn-cancel {
    width: 100%;
  }
}

/* ファイルダウンロードリンク */
.file-download-link {
  color: var(--db-blue-color);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.file-download-link:hover {
  background-color: rgba(77, 184, 255, 0.1);
  text-decoration: underline;
}

.file-download-link i {
  font-size: 12px;
}

/* チェックボックスボタングループ */
.checkbox-button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
  margin-bottom: 20px;
}

/* チェックボックスボタン */
.checkbox-button {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border: 2px solid #ccc;
  border-radius: 4px;
  background-color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: none;

  margin: 0px;
}

.checkbox-button input {
  display: none;
}

.checkbox-button span {
  margin: 0;
}

/* ホバー時 */
.checkbox-button:hover {
  border-color: #999;
  background-color: #f5f5f5;
}

/* チェック時 */
.checkbox-button input:checked + span {
  color: #fff;
}

.checkbox-button input:checked {
  display: none;
}

.checkbox-button input:checked + span::before {
  content: '✓ ';
  margin-right: 4px;
}

/* チェック時のボタン背景色 */
.checkbox-button input:checked ~ span,
.checkbox-button:has(input:checked) {
  background-color: var(--db-green-color);
  color: #fff;
  border-color: var(--db-green-color-dark);
}

.checkbox-button-confirm {
  background-color: transparent !important;
  border: none !important;
  color: var(--txt-color) !important;
  pointer-events: none;
}
.checkbox-button-confirm span {
  background-color: transparent !important;
  color: var(--txt-color) !important;
  pointer-events: none;
}

/* プレースホルダーの文字色変更 */
input::placeholder,
textarea::placeholder,
select::placeholder {
  color: var(--placeholder-color);
  opacity: 1;
}

/* ブラウザ別対応 */
input::-webkit-input-placeholder {
  color: var(--placeholder-color);
}

input::-moz-placeholder {
  color: var(--placeholder-color);
  opacity: 1;
}

input:-ms-input-placeholder {
  color: var(--placeholder-color);
}

textarea::-webkit-input-placeholder {
  color: var(--placeholder-color);
}

textarea::-moz-placeholder {
  color: var(--placeholder-color);
  opacity: 1;
}

/* swiper-center クラスの中央寄せスタイル */
.swiper-center {
  display: flex;
  justify-content: center;
}

.swiper-center .swiper-wrapper {
  justify-content: center;
}