:root {
  --main-theme-color: #003da2;
}
/* =========================================
    共通
========================================= */
@media (min-width: 769px) {
    .sp_view {
        display: none !important;
    }
}
@media (max-width: 768px) {
    .pc_view {
        display: none !important;
    }
}
body {
  margin: 0;
  color: #333;
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Sans", sans-serif;
}

a {
  text-decoration: none;
}

/* =========================================
    Header
========================================= */

#header {
  background: #fff;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

#header .inner {
  width: 99%;
  /* max-width: 1400px; */
  margin: auto;
  height: 90px;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 40px;
  width: auto;
}

/* menu */

.navi {
  display: flex;
  align-items: center;
  gap: 48px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navi a {
  /* color: #173a73; */
  color: #000;
  font-size: 15px;
}

.navi a:hover {
  color: #0e5dcc;
}

/* button */

.contact-btn a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 54px;
  background: #0e4aa8;
  background: var(--main-theme-color);
  color: #fff;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  transition: 0.3s;
  gap: 10px;
}

.contact-btn a:hover {
  background: #083782;
}

/* =========================================
    Hero
========================================= */

.hero {
  position: relative;
  /* height: 760px; */
  height: calc(100vh);
  /* margin-top: 90px; */
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
/*   background: url(../img/hero.jpg) center center / cover no-repeat; */
}

.hero-overlay {
  position: absolute;
  inset: 0;

  /* background: linear-gradient(90deg, rgba(0, 15, 40, 0.55) 0%, rgba(0, 15, 40, 0.35) 45%, rgba(0, 15, 40, 0.15) 100%); */
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 94%;
  max-width: 1400px;
  height: 100%;
  margin: auto;

  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: 0 40px;
}

.hero h1 {
  color: #fff;

  font-size: 3.8rem;
  font-weight: 700;
  line-height: 1.4;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.4);
  margin: 0 0 35px;
}

.hero p {
  color: #fff;
  font-size: 1.3rem;
  line-height: 2;
  text-shadow: 2px 3px 3px rgba(0, 0, 0, 0.4);
  margin: 0 0 50px;
}

.hero-btn {
  display: flex;
  gap: 20px;
}

.btn {
  width: 250px;
  height: 70px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 18px;
  font-weight: 700;

  transition: 0.3s;
}

.btn.blue {
  background: #0e4aa8;
  color: #fff;
}

.btn.white {
  background: #fff;
  color: #0e4aa8;
}

.btn:hover {
  transform: translateY(-3px);
}
/*************************/
.hero {
  position: relative;
  /* height: 760px;
  margin-top: 90px; */
  height: calc(100vh);
  /* margin-top: 90px; */
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: -80px 0 0;
  height: calc(100% + 160px);
  overflow: hidden;
  will-change: transform;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 0;
  transition: opacity 1.6s ease;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

.hero-slide.prev {
  opacity: 0;
  z-index: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 8s linear;
  will-change: transform;
}

.hero-slide.active img,
.hero-slide.prev img {
  transform: scale(1.08);
}

/* @keyframes heroZoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
} */

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.1) 45%, rgba(0, 0, 0, 0) 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
}
/* =========================================
    Responsive
========================================= */

@media (max-width: 1024px) {
  .navi {
    display: none;
  }

  .hero h1 {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  #header .inner {
    height: 70px;
    padding: 0 20px;
  }

  .hero {
    margin-top: 70px;
    height: 80vh;
  }

  .hero-content {
    padding: 0 20px;
  }

  .hero h1 {
    font-size: 1.7rem;
  }

  .hero p {
    font-size: 1rem;
    line-height: 1.8;
  }

  .hero-btn {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    max-width: 320px;
    height: 60px;
  }

  .contact-btn {
    display: none;
  }
}
/* =========================================
    Reason Bar
========================================= */

.reason-bar {
  background: linear-gradient(135deg, #003a8c 0%, #0058c8 55%, #003a8c 100%);
  color: #fff;
  padding: 78px 0 78px;
}

.reason-inner {
  width: 94%;
  max-width: 1400px;
  margin: auto;
  padding: 0 40px;
}

.reason-bar h2 {
  margin: 0 0 48px;
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.reason-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.reason-item {
  text-align: center;
  padding: 0 38px;
  position: relative;
}

.reason-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 8px;
  right: 0;
  width: 1px;
  height: 120px;
  background: rgba(255, 255, 255, 0.25);
}

.reason-icon {
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 18px;
}

.reason-item h3 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
}

.reason-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  /* font-weight: 500; */
}

/* =========================================
    Responsive
========================================= */

@media (max-width: 900px) {
  .reason-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 34px 0;
  }

  .reason-item:nth-child(2)::after {
    display: none;
  }
}

@media (max-width: 600px) {
  .reason-bar {
    padding: 32px 0;
  }

  .reason-inner {
    padding: 0 20px;
  }

  .reason-list {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .reason-item {
    padding: 0;
  }

  .reason-item::after {
    display: none;
  }
}
/* =========================================
    Business Section
========================================= */

.business-section {
  padding: 90px 0 100px;
}

.business-inner {
  width: 94%;
  max-width: 1400px;
  margin: auto;
  padding: 0 40px;
}

.section-title {
  text-align: center;
  margin-bottom: 55px;
}

.section-title h2 {
  margin: 0 0 35px;
  color: #0e3f8a;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0 0 20px;
  position: relative;
}
.section-title h2::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100px; /* もしくは任意の長さ（例: 50pxなど） */
  height: 2px; /* 線の太さ */
  background-color: #a87e3f; /* 線の色 */
  margin: auto;
}
.section-title p {
  margin: 0;
  color: #333;
  font-size: 17px;
  /* font-weight: 700; */
}

/* grid */

.business-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.business-card {
  display: block;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  color: #333;
  box-shadow: 0 10px 30px rgba(0, 42, 105, 0.08);
  transition: 0.3s;
}

.business-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 42, 105, 0.15);
}

.business-img {
  height: 220px;
  overflow: hidden;
}

.business-card.large .business-img {
  height: 280px;
}

.business-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* transition: 0.5s; */
}

.business-card:hover .business-img img {
  /* transform: scale(1.06); */
}

.business-text {
  padding: 28px 30px 32px;
}

.business-text h3 {
  position: relative;
  margin: 0 0 14px;
  padding-left: 16px;
  color: #0e3f8a;
  font-size: 24px;
  font-weight: 700;
}

.business-text h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 4px;
  height: 1.1em;
  background: #0e5dcc;
  border-radius: 2px;
}

.business-text p {
  margin: 0 0 22px;
  color: #333;
  font-size: 15px;
  line-height: 1.8;
}

.business-text span {
  color: #0e5dcc;
  font-size: 14px;
  font-weight: 700;
}

.business-text span::after {
  content: " →";
}

/* =========================================
    Responsive
========================================= */

@media (max-width: 1024px) {
  .business-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .business-section {
    padding: 60px 0 70px;
  }

  .business-inner {
    padding: 0 20px;
  }

  .section-title {
    margin-bottom: 35px;
  }

  .section-title h2 {
    font-size: 28px;
    padding: 0 0 20px;
    position: relative;
  }
  .section-title h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50%; /* もしくは任意の長さ（例: 50pxなど） */
    height: 5px; /* 線の太さ */
    background-color: #333; /* 線の色 */
  }

  .section-title p {
    font-size: 15px;
    line-height: 1.8;
  }

  .business-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .business-img,
  .business-card.large .business-img {
    height: 220px;
  }

  .business-text {
    padding: 24px;
  }

  .business-text h3 {
    font-size: 22px;
  }
}

/* =========================================
    Product Category
========================================= */

.product-category-section {
  background: #eef7ff;
  padding: 90px 0 100px;
}

.product-category-inner {
  width: 94%;
  max-width: 1400px;
  margin: auto;
  padding: 0 40px;
}

/* grid */

.product-category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.product-category-card {
  display: grid;
  grid-template-columns: 45% 55%;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 62, 130, 0.08);
  transition: 0.3s;
}

.product-category-card:hover {
  /* transform: translateY(-5px); */
  box-shadow: 0 16px 35px rgba(0, 62, 130, 0.14);
}

.product-category-img {
  min-height: 210px;
  overflow: hidden;
}

.product-category-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}

.product-category-card:hover .product-category-img img {
  transform: scale(1.06);
}

.product-category-text {
  padding: 26px 26px 28px;
}

.product-category-text h3 {
  position: relative;
  margin: 0 0 16px;
  padding-left: 15px;
  color: #0e3f8a;
  font-size: 21px;
  font-weight: 700;
}

.product-category-text h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25em;
  width: 4px;
  height: 1.15em;
  background: #0e5dcc;
  border-radius: 2px;
}

.product-category-text ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-category-text li {
  position: relative;
  padding-left: 17px;
  margin-bottom: 9px;
  color: #333;
  font-size: 14px;
  line-height: 1.2;
}

.product-category-text li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 5px;
  height: 5px;
  background: #0e5dcc;
  border-radius: 50%;
}

.product-category-text li:last-child {
  margin-bottom: 0;
}

/* button */

.product-category-btn {
  text-align: center;
  margin-top: 50px;
}

.product-category-btn a {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 280px;
  height: 60px;
  padding: 0 38px;

  background: #0e4aa8;
  color: #fff;

  border-radius: 4px;

  font-size: 16px;
  font-weight: 700;

  transition: 0.3s;
}

.product-category-btn a::after {
  content: " →";
  margin-left: 8px;
}

.product-category-btn a:hover {
  background: #083782;
  transform: translateY(-3px);
}

/* =========================================
    Responsive
========================================= */

@media (max-width: 1100px) {
  .product-category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .product-category-section {
    padding: 60px 0 70px;
  }

  .product-category-inner {
    padding: 0 20px;
  }

  .section-title {
    margin-bottom: 35px;
  }

  .section-title h2 {
    font-size: 28px;
  }

  .section-title p {
    font-size: 15px;
    line-height: 1.8;
  }

  .product-category-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .product-category-card {
    grid-template-columns: 1fr;
  }

  .product-category-img {
    height: 200px;
    min-height: auto;
  }

  .product-category-text {
    padding: 24px;
  }

  .product-category-btn {
    margin-top: 36px;
  }

  .product-category-btn a {
    width: 100%;
    min-width: auto;
    height: 58px;
  }
}
/* =========================================
    Topics Section
========================================= */

.topics-section {
  padding: 90px 0 100px;
}

.topics-inner {
  width: 94%;
  max-width: 1400px;
  margin: auto;
  padding: 0 40px;
}
.topics {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
}
.topics ul {
  line-height: 1.8;
}
.topics ul li {
  border-bottom: solid 1px #ddd;
}
.topics ul li a {
  display: block;
  background: url(../img/topics_arrow.svg) no-repeat;
  background-size: 20px 20px;
  background-position: 99% center;
  padding: 10px 25px 10px 5px;
}
.topics ul li a:hover {
  background: url(../img/topics_arrow.svg) no-repeat #f0f3f8;
  background-size: 20px 20px;
  background-position: 99% center;
}
/* =========================================
    Footer
========================================= */

.site-footer {
  position: relative;
}

/* CTA */

.footer-cta {
  background: linear-gradient(135deg, #003a8c 0%, #0058c8 55%, #003a8c 100%);
  color: #fff;
  padding: 50px 3%;
}
.footer-cta h3 {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 35px;
}
.footer-cta-inner {
  max-width: 1200px;
  margin: auto;
  padding: 0 40px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 70px;
}

.footer-tel {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-tel p {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}

.footer-tel a {
  color: #fff;
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.03em;
}

.footer-tel a i {
  margin-right: 12px;
}

.footer-tel span {
  font-size: 13px;
  font-weight: 700;
}

.footer-contact a {
  width: 320px;
  height: 66px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  background: #fff;
  color: #0e4aa8;

  border-radius: 5px;

  font-size: 16px;
  font-weight: 700;

  transition: 0.3s;
}

.footer-contact a:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

/* footer main */

.footer-main {
  background: #fff;
  padding: 32px 0 18px;
}

.footer-main-inner {
  width: 94%;
  max-width: 1400px;
  margin: auto;
  padding: 0 40px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo img {
  height: 40px;
  width: auto;
}

.footer-logo p {
  margin: 6px 0 0;
  color: #555;
  font-size: 13px;
  font-weight: 700;
}

.footer-nav ul {
  display: flex;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav a {
  color: #333;
  font-size: 14px;
  font-weight: 700;
}

.footer-nav a:hover {
  color: #0e5dcc;
}

.copyright {
  margin: 18px 0 0;
  text-align: center;
  color: #333;
  font-size: 12px;
}

/* page top */

.page-top {
  position: absolute;
  right: 24px;
  bottom: 38px;

  width: 46px;
  height: 46px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #777;
  color: #fff;

  border-radius: 4px;

  font-size: 18px;
  transition: 0.3s;
}

.page-top:hover {
  background: #0e4aa8;
}

/* =========================================
    Responsive
========================================= */

@media (max-width: 1100px) {
  .footer-cta-inner {
    flex-direction: column;
    gap: 24px;
  }

  .footer-tel {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .footer-main-inner {
    flex-direction: column;
    gap: 24px;
  }

  .footer-nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px 28px;
  }
}

@media (max-width: 600px) {
  .footer-cta {
    padding: 36px 3%;
  }

  .footer-cta-inner,
  .footer-main-inner {
    padding: 0 20px;
  }

  .footer-tel p {
    font-size: 17px;
    line-height: 1.6;
  }

  .footer-tel a {
    font-size: 30px;
  }

  .footer-contact a {
    width: 100%;
    max-width: 320px;
    height: 60px;
  }

  .footer-nav ul {
    /* display: inline-block; */
    text-align: center;
  }

  .footer-nav li {
    margin-bottom: 12px;
  }

  .page-top {
    right: 16px;
    bottom: 16px;
  }
}


/* =========================================
    Header2階層目
========================================= */
.heroPage {
  position: relative;

}
.heroPage .inner{
	min-height: 300px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.heroPage::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  pointer-events: none; /* 下の要素のクリックなどを妨げない場合 */
}
.heroPage .inner h1{
  font-size: clamp(1.8rem, 5vw, 3.5rem);
  color: #fff;
  position: relative;
  z-index: 9;
  top: 40px;
}
.heroPage .inner.business{
  background: url(../img/header_business.webp) no-repeat;
  background-size: cover;
}
.heroPage .inner.products{
  background: url(../img/header_products.webp) no-repeat;
  background-size: cover;
}
.heroPage .inner.access{
  background: url(../img/header_access.webp) no-repeat;
  background-size: cover;
}
.heroPage .inner.company{
  background: url(../img/header_company.webp) no-repeat;
  background-size: cover;
}
.heroPage .inner.contact{
  background: url(../img/header_contact.webp) no-repeat;
  background-size: cover;
}
.heroPage .inner.news{
  background: url(../img/header_news.webp) no-repeat;
  background-size: cover;
}
/*****************************************
*news
*****************************************/
section.news-list{
	padding: 90px 0;
}
section.news-list .news-item{
	width: 94%;
	max-width: 980px;
	margin: 0 auto;
}
section.topics-section .topics{
	line-height: 2;
}
section.topics-section .topics h2{
	font-size: 1.8rem;
	margin: 0 0 20px;
}
p.single-date{
	text-align: right;
	margin: 30px 0 0;
	color: #666;
}
/* -----------------------------------------
   ページネーション（nav-links）のスタイル
----------------------------------------- */
/* 外枠の配置設定 */
.pagination {
  margin: 40px 0;
  text-align: center;
}

/* リンク・数字を横並びにするブロック */
.pagination .nav-links {
  display: flex;
  justify-content: center; /* 中央寄せ */
  align-items: center;
  flex-wrap: wrap;         /* スマホ等で折り返せるようにする */
  gap: 8px;                /* 各ボタン同士の間隔 */
}

/* 数字および「前へ/次へ」共通スタイル */
.pagination .page-numbers {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #ddd;
  border-radius: 4px;      /* 角を少し丸く */
  background-color: #fff;
  color: #333;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
}

/* ホバー時の効果（マウスをのせたとき） */
.pagination a.page-numbers:hover {
  background-color: #f5f5f5;
  border-color: #999;
  color: #000;
}

/* 現在表示中のページ（カレント） */
.pagination .page-numbers.current {
  background-color: #333;  /* サイトのテーマカラーに合わせて変更してください */
  border-color: #333;
  color: #fff;
  font-weight: bold;
}

/* 「…」（省略記号）のスタイル */
.pagination .page-numbers.dots {
  border: none;
  background: transparent;
  min-width: auto;
  padding: 0 4px;
}