@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: #202020;

  --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;
  
}

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-20 { margin-top: 20px; }
.margin-bottom-100 { margin-bottom: 100px; }
.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-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;
}

header {
  background: linear-gradient(to top, var(--msj-blue-color-header), var(--msj-blue-color-header-grad));
  position: fixed; /* 追加: 固定位置 */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20; /* 追加: 重ね順を高く */
}
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 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;
}

footer {
  background: linear-gradient(to top, var(--msj-blue-color-footer), var(--msj-blue-color-footer-grad));
  color: var(--msj-blue-color-dark);

  position: relative;
  overflow: hidden; /* 追加: はみ出した部分を非表示 */
}
footer div{
  color: var(--msj-blue-color-dark);
}
footer a {
  color: var(--msj-blue-color-dark);
  text-decoration: none;
}
footer a:hover {
  color: var(--msj-blue-color);
  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 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: space-between;
  align-items: center;
  gap: 20px;
}
footer .menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 5px;
  line-height: 2em;
  font-weight: 500;

  flex-wrap: wrap; /* 追加: 折り返しを有効化 */
}
footer .menu ul li {
  width: 174px;
  cursor: pointer;
  color: var(--msj-blue-color-dark);
  font-size: 95%;
}
footer .menu ul li ul li:hover {
  color: var(--msj-blue-color);
  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: right;
  align-items: start;
  gap: 20px;

  position: relative;
}
footer .footer-line4 div {
  font-size: 80%; 
  font-weight: 400;

  position: relative;
  z-index: 2;
}
footer .pagetop {
  opacity: 0;

  position: fixed;
  bottom: 20px;
  right: 20px;

  display: flex;
  justify-content: center;
  align-items: start;

  background: var(--msj-blue-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: -15px;
  top: 10px;
  width: 80px;
}
footer .pagetop i {
  color: #ffffff;
}

section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 10px;
  overflow: hidden;
}
section[id] {
  padding-top: 80px; /* ヘッダーの高さ分パディング */
  margin-top: -80px; /* ネガティブマージンで位置調整 */
}

.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;
}
/*
.menu-popup {
  display: none;
}
*/
header .hamburger {
  display: none;
}
header .popup-close {
  display: none;
}
.popup-right-image {
  display: none;
}

.fade-in {
  opacity: 0; /* 初期: 非表示 */
  transition: opacity 1s ease; /* フェードインアニメーション */
}
.fade-in.visible {
  opacity: 1; /* 表示 */
}

/* h2: サブタイトル */
h2 {
  position: relative;
  font-size: 2rem;
  font-weight: 600;
  /*color: #333;*/
  color: var(--msj-blue-color);

  border-bottom: 3px solid var(--msj-blue-color); 
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
  overflow: hidden;
  z-index: 2;
}
h2 img {
  display: block;
  position: absolute;
  bottom: -38px; /* フッターの下端から10px */
  right: -15px; /* フッターの右端から10px */
  width: 150px; /* 小さくするサイズ（必要に応じて調整） */
  height: auto;
  opacity: 0.5;
  z-index: -1; /* 必要に応じて重ね順を調整 */
}

/* 横長リスト用ブロック */
.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;
  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: 1100px) {
  .both-list-item {
    flex: 1 1 calc(50% - 20px); /* 2つ */
    max-width: calc(50% - 20px);
  }
}
@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: 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;
  text-align: center;
}
#jquery_upimage_label input{
    display: none;
}
#jquery_upimage_preview img{
  height: 120px;
  margin-right: 4px;
  object-fit: cover;
}
/* 画像ファイルアップロード ここまで */

.login-form {
  width: 600px;
  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(--msj-red-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
  }
}