@charset "UTF-8";
/* CSS Document */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans JP', sans-serif !important;
	color: #4C4C4D;
	font-size:16px;
  background:#fff;
}


/* --------------- 下層見出し一式 --------------- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@700&display=swap');

.section {
  position: relative;
  background-size: cover;
  background-position: center;
  height:auto;
  color:#00275B;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  overflow: hidden;
  margin-top:100px;
}
@media screen and (max-width:1030px) {/* sp */
	.section { margin-top:50px; }
}

.tech-inner {
  position: relative;
  z-index: 2;
  width: 1000px;
}
@media screen and (max-width:1030px) {/* sp */
	.tech-inner { width:90%; }
}

.tech-label-2 {
  font-size:20px;
  margin-bottom: 10px;
  font-weight: 600;
  color: #00275B;
}
@media screen and (max-width:1030px) {/* sp */
	.tech-label-2 { font-size:18px; }
}

.tech-title {
  font-family: 'Poppins', sans-serif;
  font-size: 83px;
  font-weight: 700;
  color: #E3D14A;
  margin-bottom: 24px;
}
@media screen and (max-width:1030px) {/* sp */
	.tech-title { font-size:48px; }
}

.tech-subtitle-2 {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 30px;
  color: #00275B;
}
@media screen and (max-width:1030px) {/* sp */
	.tech-subtitle-2 { font-size:22px; line-height:40px; }
}

.tech-description-2 {
  font-size: 16px;
  line-height: 2;
  margin-bottom: 40px;
  color: #4C4C4D;
}

.tech-buttons {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}
@media screen and (max-width:1030px) {/* sp */
	.tech-buttons { row-gap: 5vw; column-gap: 5%; }
}

.main-img-wrapper {
  width: 100vw; 
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 70px;
}

.main-img {
  width: 100%;
  height: auto;
  display: block;
}


.main-line-wrapper {
  width: 100vw; 
  height: 66px;
  background-color: #00275B;
  display: flex;
  align-items: center;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
}

.main-line-moji {
  width: 1000px; 
  padding-left: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  margin: 0 auto;
}
@media screen and (max-width:1030px) {/* sp */
	.main-line-moji { width:90%; margin-left:5%;  }
}


/* -----ボタン2------ */
.tech-btn-2 {
  position: relative;
  display: inline-block;
  overflow: hidden;
  color: #fff;
  background: #00275B;
  font-weight: bold;
  border-radius: 15px;
  width:230px;
  padding: 20px 30px;
  border: none;
  text-decoration: none;
  transition: color 0.3s ease;
  z-index: 1;
}
@media screen and (max-width:1030px) {/* sp */
	.tech-btn-2 { width:47%;  font-size: 15px;  padding: 20px 20px; }
}

.tech-btn-2::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: #DACA4D; /* ホバー時の色 */
  transform: translateX(-100%);
  transition: transform 0.4s ease;
  z-index: 0;
}

.tech-btn-2:hover::before {
  transform: translateX(0);
}

.tech-btn-2 {
  position: relative;
  z-index: 1;
}

.tech-btn-2::before {
  z-index: 0; 
}

.tech-btn-2 span {
  position: relative;
  z-index: 2;
}


/* --------------- news --------------- */
.section-inner {
  background-color: #ECECEF;
  padding-top:60px;
  padding-bottom:100px;
}
@media screen and (max-width:1030px) {/* sp */
	.section-inner { padding-top:50px; padding-bottom:40px; }
}

.news-list {
  max-width: 1000px;
  margin: 0 auto;
  border-top: 1px solid #ccc; /* 上の線 */
  border-bottom: 1px solid #ccc; /* 下の線（これ追加！） */
}
@media screen and (max-width:1030px) {/* sp */
	.news-list { max-width:90%;  }
}

.news-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 20px 0; /* ← 上下の余白を均等に！ */
  border-bottom: 1px solid #ccc;
}
@media screen and (max-width:1030px) {/* sp */
  .news-row  { 
    flex-direction: column;  /* 日付とタイトルを縦並びにする */
    align-items: flex-start; /* 左寄せにする */
   }
}

.news-row:last-child {
  border-bottom: none; /* ← 下線が2重になるのを防ぐ */
}

.news-date {
  width: 100px;
  font-size: 14px;
  color: #444;
  flex-shrink: 0;
  margin-left:30px;
}
@media screen and (max-width:1030px) {/* sp */
	.news-date { 
    width: auto; /* 日付の幅を自動調整 */
    margin-left: 0; /* スマホでは左のマージンをリセット */
    margin-top: 0; /* 日付の上のスペースをなくす */
    margin-bottom: 8px;
   }
}

.news-title a {
  font-size: 16px;
  color: #000;
  text-decoration: none;
  margin-right:30px;
}
@media screen and (max-width:1030px) {/* sp */
	.news-title a { 
    font-size: 16px;
    color: #000;
    text-decoration: none;
    margin-right: 0; /* スマホ表示時は右マージンをリセット */
   }
}

.news-buttons {
  display: flex;
  justify-content: flex-end; /* ← 右寄せ！ */
  margin-top:50px;
}


/* ---- ページネーション ---- */
.pagination {
  text-align: center;
  margin-top: 60px;
}

/* 横並びレイアウト */
.page-numbers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-numbers li {
  margin: 0 4px;
}

/* 共通スタイル */
.page-numbers a,
.page-numbers span {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  border: 2px solid #00275B;
  font-size: 18px;
  color: #00275B;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.15s linear;
}

/* ホバー */
.page-numbers a:hover {
  background: #DACA4D;
  color: #00275B;
}

/* 現在のページ */
.page-numbers .current {
  background: #DACA4D;
  color: #00275B;
  pointer-events: none;
}

/* レスポンシブ（スマホ） */
@media screen and (max-width: 757px) {
  .page-numbers a,
  .page-numbers span {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
}



/* --------------- single --------------- */
.section-hako {
  width:1000px;
  right:0;
  left:0;
  margin:auto;
}
@media screen and (max-width:1030px) {/* sp */
  .section-hako {  width:90%; }
}

.single-title {
  font-size: 35px;
  font-weight: 600;
  color: #00275B;
  margin-bottom:20px;
}
@media screen and (max-width:1030px) {/* sp */
  .single-title  {  font-size: 23px; margin-bottom:10px; }
}


.single-date {
  font-size: 16px;
  font-weight: 600;
  color: #00275B;
  margin-bottom:40px;
}
@media screen and (max-width:1030px) {/* sp */
  .single-date { font-size: 14px; }
}

.pager {
  margin-top: 100px;
  padding: 20px 0;
  background: #F5F5F5;
  border: 2px solid #DACA4D;
  border-radius: 15px;
  text-align: center;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.pager__list {
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0 30px;
  gap: 10px;
}

.pager__item a {
  display: inline-block;
  font-size: 16px;
  color: #00275B;
  text-decoration: none;
  font-weight: bold;
}

.pager__item a:hover {
  text-decoration: underline;
}


.single-1 p {
  font-size:16px;
  line-height:32px;
  margin-bottom:20px;
}