body {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  color: #333;
  background: #fafafa;
}

/* ===== Header ===== */
.site-header {
  padding: 15px 20px;
    background:linear-gradient(135deg, #ffffff 0%, #eaeaea 100%); /*linear-gradient(90deg, #2bb5ea 0%, #86c6ed 100%);*/
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
}
.logo img {
  height: 50px;
  margin: auto;
  display: block;
}
.main-nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  text-decoration: none;
  color: #264055;
  font-weight: 500;
}
.main-nav a:hover {
  color: #070c10;
}

/* ===== Hero Slider ===== */
.hero-slider {
  position: relative;
  height: 400px;
  overflow: hidden;
}
.hero-slider .slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 2rem;
  text-shadow: 0 2px 5px rgba(0,0,0,0.6);
  opacity: 0;
  animation: slideShow 12s infinite;
}
.hero-slider .slide:nth-child(1) { animation-delay: 0s; }
.hero-slider .slide:nth-child(2) { animation-delay: 4s; }
.hero-slider .slide:nth-child(3) { animation-delay: 8s; }

@keyframes slideShow {
  0%, 100% { opacity: 1; }
}

/* ===== Sections ===== */
section {
  margin: 0px auto;
  padding: 50px 20px 70px;
  text-align:center;
}
.section_innner{
  max-width: 1000px;
  margin:auto;
}
h1, h2, h3 {
  text-align: center;
  margin-bottom: 20px;
}
p { line-height: 1.8; }

.licenseonline .banner {
  display: block;
  max-width: 100%;
  margin: 10px auto 20px;
}
.btn {
  display: inline-block;
  background: #0078d7;
  color: #fff;
  padding: 10px 20px;
  border-radius: 50px;
  text-decoration: none;
}
.btn:hover { background: #005fa3; }

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.link-box {
  background: #5aa3d9;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  padding: 20px;
  width: 280px;
  text-align: center;
}

/* ===== Footer ===== */
.site-footer {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 30px 10px;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin-bottom: 10px;
}
.footer-links a {
  color: #fff;
  text-decoration: none;
}
.footer-links a:hover {
  text-decoration: underline;
}

/* ===== 新着情報 ===== */
.news {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  margin: 20px auto;margin-top:0;margin-bottom:0;
  text-align:left;
}
.news h2 {
  font-size: 1.8rem;
  color: #2bb5ea;
  margin-bottom: 20px;
}
.news ul { list-style: none; padding: 0; }
.news li {
  padding: 10px 0;
  border-bottom: 1px solid #ddd;
  position: relative;
}
.news li:last-child { border-bottom: none; }
.news-date {
  display: inline-block;
  width: 100px;
  font-weight: bold;
  color: #5aa3d9;
}
/* ===== レスポンシブ ===== */
@media screen and (max-width: 600px) {

  .main-nav.active ul { display: flex; }
  .menu-toggle {
    display: block;
    cursor: pointer;
    font-size: 1.5rem;
    color: #fff;
  }
}
/* ハンバーガーメニュー非表示（PC） */
.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  background: none;
  border: none;
  color: #000;
}
/* スマホ用 */
@media screen and (max-width: 600px) {
  .main-nav ul {
    display: none; /* 初期は非表示 */
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 20px;
    width: 180px;
    background: #f9f9f9;
    padding: 10px;
    border-radius: 8px;
    z-index: 1000;
  }
.main-nav a{display:block;}
  .main-nav.active ul {
    display: flex; /* activeで表示 */
  }

  .main-nav ul li {
    margin: 10px 0;
  }

  .menu-toggle {
    display: block; /* スマホのみ表示 */
  }
}
.intro .link-box img{
	width:100px;
	margin:auto;
	display:block;
	filter: brightness(0) invert(1);
}
.licenseonline{
  background-color:#fff;
}
.campaign{
  background-color:#f5f5f5;
}
.intro{
  background-color:#125281;
  color:#fff;
}

.hero-slider {
  position: relative;
  height: 400px;
  overflow: hidden;
}
.hero-slider {
  position: relative;
  height: 400px;
  overflow: hidden;
}

.hero-slider .slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

.hero-slider .slide-text {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 2rem;
  text-align: center;
  text-shadow: 0 2px 5px rgba(0,0,0,0.6);
  width: 90%;
  max-width: 1000px;
}


/* footer */

  .inquiry-section {
  position: relative;
  width: 100%;
  min-height: 400px;
  background: url('images2/33166137_m.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 0px 0 50px;
}

.inquiry-section .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 102, 204, 0.5); /* 青色の半透明マスク */
  z-index: 1;
}

.inquiry-section .inquiry-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
}

.inquiry-section h2 {
  font-size: 2.5rem;
  margin-bottom: 0px;
}

 h2 span{font-size:40%;display: block;}
.inquiry-section p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

.inquiry-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.inquiry-buttons .btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: #203346;
  color: #fff;
  text-decoration: none;
  border-radius:50px;
  transition: background 0.3s;
}

.inquiry-buttons .btn:hover {
  background-color: #2e4760;
}

.intro img{
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    object-position: center 15%;
    margin-bottom: 20px;
}
.campaign img{
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    object-position: center center;
    margin-bottom: 20px;
}






 /* 共通設定 */
section {
  padding: 80px 20px;
  font-family: "Noto Sans JP", sans-serif;
}

.section_inner {
  max-width: 880px;
  margin: 0 auto;
}

/* 会社情報セクション */
.company {
  background-color: #f7f9fc;
  text-align: center;
}

.company h2 {
  font-size: 36px;
  color: #264055;
  margin-bottom: 40px;
}

.company .btn{
  background-color:#264055
}

.company .btn:hover {
  background-color:#051018}

.company iframe {
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  max-width: 100%;
  margin-bottom:30px;
}

/* 採用情報セクション（茶系背景版） */
.recruit {
  background: url('images2/33745806_m.jpg') center/cover no-repeat;
  color: white;
  text-align: center;
  position: relative;
  padding-bottom: 100px;
}

.recruit::before {
  content: "";
  position: absolute;
  top:0; left:0;
  width:100%; height:100%;
  background-color: rgb(129 96 62 / 60%); /* 茶色マスク */
  z-index: 0;
}

.recruit .section_inner {
  position: relative;
  z-index: 1;
}

.recruit h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.recruit p {
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto 30px auto;
  line-height: 1.6;
}

/* ボタン共通（茶系背景用） */
.recruit .btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: white;
  color: #654321; /* 茶系に合う文字色 */
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.recruit .btn:hover {
  background-color: #e0d6c2;
}

/* ボタン共通 */
.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: #0a74da;
  color: white;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.btn:hover {
  background-color: #075bb5;
}


/* ===== リンクBOX ===== */
.links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.link-box {
  display: block;
  background: #5aa3d9;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
  padding: 25px 20px;
  width: 280px;
  color: #fff;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.link-box:hover {
  background: #6cb4ec;
  transform: translateY(-4px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.link-box img {
  width: 90px;
  margin: 15px auto;
  filter: brightness(0) invert(1);
}

.link-box h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  margin-top: 10px;
}

.link-text {
  display: inline-block;
  margin-top: 15px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.2);
  border-radius: 20px;
  font-weight: 500;
  font-size: 0.95rem;
  color: #fff;
  transition: background 0.3s;
}

.link-box:hover .link-text {
  background: rgba(255,255,255,0.4);
}




/* ===== ページトップボタン ===== */
.pagetop {
  position: fixed;
  bottom: 40px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: #0078d7;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s ease;
  z-index: 999;
}

.pagetop.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.pagetop:hover {
  background-color: #005fa3;
  transform: translateY(-4px);
}



/* ==== 固定ページ ==== */
hr {
  border: none;
  border-bottom: 1px solid #e5ebef;
  margin: 40px 0;
}

/* ------- page section ------- */
.page {
  background: #fff;
  text-align: left;
  padding: 40px 20px 60px;
  font-family: "Noto Sans JP", "メイリオ", sans-serif;
  color: #333;
  line-height: 1.8;
}

/* 見出し */
.page > h2 {
  font-size: 36px;
  color: #0b395e;
  margin-bottom: 25px;
  text-align: center;
  position: relative;
}
.page > h2 span {
  display: block;
  font-size: 14px;
  color: #6aa8cc;
  letter-spacing: 0.15em;
  margin-bottom: 6px;
}

.page > h2 :before {
  border-bottom: 5px solid #dfdfdf;
  width: 80%;
  max-width: 500px;
  content: "";
  display: block;
  margin: auto;
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}
.page > h2:after {
  border-bottom: 5px solid #6aa8cc;
  width: 100px;
  content: "";
  display: block;
  margin: auto;
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}
/* ブロック */
.page .section_inner {
  max-width: 880px;
  margin: 0 auto 50px;
  padding: 40px;
}

/* h3 */
.page h3 {
  font-size: 22px;
  color: #0b395e;
  border-left: 6px solid #2bb5ea;
  padding-left: 12px;
  background: rgba(107,188,226,0.05);
  margin: 25px 0 20px;
  text-align:left;
}

/* 画像2列配置 */
.img-flex,.img-flex2 {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}
.img-box {
  text-align: center;
  max-width: 320px;
}
.img-box.wide img {
  max-width: 300px;
}
.img-box img {
  height: auto;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.img-box .caption {
  font-size: 15px;
  color: #2bb5ea;
  margin: 10px 0;
  font-weight: bold;
}
.img-box .desc {
  font-size: 14px;
  color: #555;
  text-align: left;
  margin-top: 10px;
}
/* スマホ対応 */
@media (max-width: 700px) {
  .page h2 {
    font-size: 26px;
  }
  .page h3 {
    font-size: 18px;
  }
  .img-flex,.img-flex2 {
    flex-direction: column;
    align-items: center;
  }
}
/* staff.php 用調整（forms.css をベースに） */
.page .img-box.wide img {
  max-width: 600px;
}
.page .img-box p {
  font-size: 15px;
  color: #333;
}

/* === 会社情報 採用情報 === */
.img-flex2 {
  width: 100%;
  overflow: hidden; /* はみ出し防止 */
}

.img-flex2 .img-box2.wide {
  width: 100%;
  height: 300px; /* 高さ指定 */
  overflow: hidden;
  max-width: 880px;
}

.img-flex2 .img-box2.wide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 65%;
  display: block;
  max-width: 880px;
}




/* 一覧レイアウト */
.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid #e5ebef;
}

.news-list li {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid #e5ebef;
  padding: 15px 0;
}

.news-list .date {
  width: 140px;
  font-weight: bold;
  color: #2bb5ea;
  flex-shrink: 0;
}

.news-list .text {
  flex: 1;
  padding-left: 10px;
  line-height: 1.7;
}

/* レスポンシブ（スマホ時） */
@media (max-width: 600px) {
  .news-list li {
    display: block;
  }
  .news-list .date {
    width: 100%;
    margin-bottom: 5px;
  }
  .news-list .text {
    padding-left: 0;
  }
}



/* ページ全体のフェード演出 */
main {
  opacity: 0;
  transition: opacity 0.6s ease;
}
main.loaded {
  opacity: 1;
}
.fade-out {
  opacity: 0;
  transition: opacity 0.4s ease;
}