/* ==================================================
   共通スタイル
================================================== */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Shippori Mincho B1', 'Crimson Text', serif;
  line-height: 1.8;
  color: #2c2c2c;
  margin: 0;
  padding: 0;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.inline-block {
  display: inline-block;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.sp {
  display: none;
}

@media (max-width: 599px) {
  .sp {
    display: block;
  }
}

.section-title-top {
  font-size: 2.2rem;
  margin-bottom: 60px;
  color: #14244B;
  font-weight: 500;
  font-family: 'Shippori Mincho B1', 'Crimson Text', serif;
  letter-spacing: 0.05em;
  text-align: center;
}

.section-subheading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: -28px;
  font-size: 1.4rem;
  font-weight: 600;
  color: #B89B63;
  letter-spacing: 0.12em;
  text-align: center;
}

.section-subheading::before,
.section-subheading::after {
  content: '';
  display: block;
  width: 64px;
  height: 1px;
  background: rgba(184, 155, 99, 0.45);
}

@media (max-width: 599px) {
  .section-subheading {
    gap: 12px;
    margin-bottom: -20px;
    letter-spacing: 0.08em;
    font-size: 1.2rem;
  }

  .section-subheading::before,
  .section-subheading::after {
    width: 40px;
  }
}

.section {
  padding: 80px 0;
}

.section.bg-white {
  background: #ffffff;
}

.section.bg-light {}

.company-page .section.bg-light {
  background: #f8f9fa;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 60px;
  color: #14244B;
  font-weight: 500;
  font-family: 'Shippori Mincho B1', 'Crimson Text', serif;
  letter-spacing: 0.05em;
  position: relative;
  text-align: center;
}

.section-title--left {
  text-align: left;
}

.section-title--left::before {
  display: none;
}

.btn {
  display: inline-block;
  padding: 16px 32px;
  background: #B89B63;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn:hover {
  background: #a08651;
  box-shadow: 0 8px 25px rgba(184, 155, 99, 0.3);
}

.btn-secondary {
  display: inline-block;
  padding: 16px 32px;
  background: transparent;
  color: #14244B;
  text-decoration: none;
  border: 2px solid #14244B;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.btn-secondary:hover {
  background: #14244B;
  color: white;
}

/* ==================================================
   ヘッダー
================================================== */
.header {
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 20px 0;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo img {
  max-height: 35px;
  width: auto;
}

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

.header-nav a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.header-nav a:hover {
  color: #14244B;
}

/* ハンバーガーメニュー */
.hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  position: relative;
}

.hamburger-menu span {
  width: 100%;
  height: 3px;
  background-color: #333;
  transition: all 0.3s ease;
}

.hamburger-menu.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* メニューオーバーレイ */
.menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.menu-overlay.active {
  display: block;
}

/* スクロール時のボディ固定 */
body.menu-open {
  overflow: hidden;
}

/* ==================================================
   ページヒーロー
================================================== */
.page-hero {
  background: linear-gradient(135deg, rgba(20, 36, 75, 0.6) 0%, rgba(44, 74, 122, 0.6) 100%),
    url(https://picsum.photos/seed/page-hero/1920/600) center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 120px 0 80px 0;
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
}

.page-hero--company {
  background: linear-gradient(135deg, rgba(20, 36, 75, 0.9) 0%, rgba(44, 74, 122, 0.9) 100%),
    url('../images/company.png') center/cover no-repeat;
}

.page-hero--services {
  background: linear-gradient(135deg, rgba(20, 36, 75, 0.9) 0%, rgba(44, 74, 122, 0.9) 100%),
    url('../images/services.png') center/cover no-repeat;
}

.page-hero--news {
  background: linear-gradient(135deg, rgba(20, 36, 75, 0.9) 0%, rgba(44, 74, 122, 0.9) 100%),
    url('../images/news.png') center/cover no-repeat;
}

.page-hero--recruit {
  background: linear-gradient(135deg, rgba(20, 36, 75, 0.9) 0%, rgba(44, 74, 122, 0.9) 100%),
    url('../images/recruit.png') center/cover no-repeat;
}

.page-hero--contact {
  background: linear-gradient(135deg, rgba(20, 36, 75, 0.9) 0%, rgba(44, 74, 122, 0.9) 100%),
    url('../images/contact.png') center/cover no-repeat;
}

.page-hero--privacy {
  background: #14244B;
  min-height: 240px;
  padding: 80px 0 60px 0;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(20, 36, 75, 0.1) 0%, rgba(44, 74, 122, 0.1) 100%);
  z-index: 1;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  font-size: 2.8rem;
  margin: 0 0 20px 0;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-hero p {
  font-size: 1.1rem;
  margin: 0 auto;
  opacity: 0.95;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
  max-width: 600px;
}

.page-hero .breadcrumb {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 20px;
}

.page-hero .breadcrumb a {
  color: white;
  text-decoration: none;
  opacity: 0.7;
}

.page-hero .breadcrumb a:hover {
  opacity: 1;
}

/* パンくずセクション */
.breadcrumb-section {
  background: #f8f9fa;
  padding: 15px 0;
  border-bottom: 1px solid #e0e0e0;
}

.breadcrumb-section .breadcrumb {
  font-size: 0.9rem;
  color: #666;
}

.breadcrumb-section .breadcrumb a {
  color: #14244B;
  text-decoration: none;
  transition: color 0.3s;
}

.breadcrumb-section .breadcrumb a:hover {
  color: #B89B63;
}

/* ==================================================
   お知らせ一覧（アーカイブ）
================================================== */
.news-list-section {
  background: #f8f9fa;
}

.news-list-full {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 900px;
  margin: 0 auto;
}

.news-item {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.news-item:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.news-item a {
  display: flex;
  align-items: center;
  padding: 24px 30px;
  text-decoration: none;
  color: inherit;
  gap: 30px;
}

.news-date {
  font-size: 0.9rem;
  color: #666;
  font-weight: 500;
  flex-shrink: 0;
  width: 100px;
  font-family: 'Courier New', monospace;
}

.news-title {
  color: #14244B;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.6;
  flex: 1;
}

.news-item:hover .news-title {
  color: #0f1a3a;
}

/* ==================================================
   お知らせ詳細（シングル）
================================================== */
.article-section {
  background: white;
}

.article-header {
  text-align: center;
  margin-bottom: 60px;
  padding-bottom: 30px;
  border-bottom: 1px solid #e0e0e0;
}

.article-date {
  font-size: 0.9rem;
  color: #666;
  margin: 0 0 20px 0;
  font-family: 'Courier New', monospace;
  font-weight: 500;
}

.article-title {
  font-size: 2.2rem;
  color: #14244B;
  margin: 0;
  line-height: 1.4;
  font-weight: 700;
}

.article-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
}

.article-content h3 {
  font-size: 1.4rem;
  color: #14244B;
  margin: 40px 0 20px 0;
  font-weight: 600;
  border-left: 4px solid #14244B;
  padding-left: 16px;
}

.article-content p {
  margin-bottom: 24px;
}

.article-content ul {
  margin: 20px 0;
  padding-left: 20px;
}

.article-content li {
  margin-bottom: 12px;
}

.article-content a {
  color: #14244B;
  text-decoration: underline;
  font-weight: 600;
}

.article-content a:hover {
  color: #0f1a3a;
}

.article-content strong {
  color: #14244B;
  font-weight: 700;
}

.article-back-link {
  text-align: center;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid #e0e0e0;
}

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

.pagination {
  display: inline-flex;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.pagination a,
.pagination .current {
  display: inline-block;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 6px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: all 0.3s ease;
}

.pagination a:hover {
  background: #14244B;
  color: white;
  border-color: #14244B;
}

.pagination .current {
  background: #14244B;
  color: white;
  border-color: #14244B;
}

/* ==================================================
   フッター
================================================== */
.footer {
  background: #14244B;
  color: white;
  padding: 60px 0 30px;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 30px;
}

.footer-info {
  flex: 0 0 300px;
}

.footer-logo img {
  max-height: 30px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 20px;
}

.footer-company-name {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 10px 0;
}

.footer-address {
  font-size: 0.9rem;
  opacity: 0.8;
  margin: 0;
  line-height: 1.6;
}

.footer-sitemap {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: flex-end;
  gap: 44px;
  flex: 1;
}

.sitemap-column {
  flex: 1;
  min-width: 90px;
}

.sitemap-column>a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  display: block;
  margin-bottom: 15px;
  font-size: 1rem;
}

.sitemap-column ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.sitemap-column ul li {
  margin-bottom: 10px;
}

.sitemap-column ul li a {
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.sitemap-column ul li a:hover {
  opacity: 1;
}

.footer-bottom {
  text-align: center;
}

.copyright {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* ==================================================
   トップページ
================================================== */
/* ヒーローセクション */
/* ==================================================
   ページヒーロー
================================================== */

.page-hero{
	background: linear-gradient(135deg, rgba(20, 36, 75, 0.6) 0%, rgba(44, 74, 122, 0.6) 100%),
		url(https://picsum.photos/seed/page-hero/1920/600) center/cover no-repeat;
	color: white;
	text-align: center;
	padding: 120px 0 80px 0;
	position: relative;
	min-height: 400px;
	display: flex;
	align-items: center;
}

.page-hero--company {
  background: linear-gradient(135deg, rgba(20, 36, 75, 0.9) 0%, rgba(44, 74, 122, 0.9) 100%),
    url('../images/company.png') center/cover no-repeat;
}

.page-hero--services {
  background: linear-gradient(135deg, rgba(20, 36, 75, 0.9) 0%, rgba(44, 74, 122, 0.9) 100%),
    url('../images/services.png') center/cover no-repeat;
}

.page-hero--news {
  background: linear-gradient(135deg, rgba(20, 36, 75, 0.9) 0%, rgba(44, 74, 122, 0.9) 100%),
    url('../images/news.png') center/cover no-repeat;
}

.page-hero--recruit {
  background: linear-gradient(135deg, rgba(20, 36, 75, 0.9) 0%, rgba(44, 74, 122, 0.9) 100%),
    url('../images/recruit.png') center/cover no-repeat;
}

.page-hero--contact {
  background: linear-gradient(135deg, rgba(20, 36, 75, 0.9) 0%, rgba(44, 74, 122, 0.9) 100%),
    url('../images/contact.png') center/cover no-repeat;
}

.page-hero--privacy {
  background: #14244B;
  min-height: 240px;
  padding: 80px 0 60px 0;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(20, 36, 75, 0.1) 0%, rgba(44, 74, 122, 0.1) 100%);
  z-index: 1;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  font-size: 2.8rem;
  margin: 0 0 20px 0;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-hero p {
  font-size: 1.1rem;
  margin: 0 auto;
  opacity: 0.95;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
  max-width: 600px;
}

.page-hero .breadcrumb {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 20px;
}

.page-hero .breadcrumb a {
  color: white;
  text-decoration: none;
  opacity: 0.7;
}

.page-hero .breadcrumb a:hover {
  opacity: 1;
}

/* パンくずセクション */
.breadcrumb-section {
  background: #f8f9fa;
  padding: 15px 0;
  border-bottom: 1px solid #e0e0e0;
}

.breadcrumb-section .breadcrumb {
  font-size: 0.9rem;
  color: #666;
}

.breadcrumb-section .breadcrumb a {
  color: #14244B;
  text-decoration: none;
  transition: color 0.3s;
}

.breadcrumb-section .breadcrumb a:hover {
  color: #B89B63;
}

.hero-text {
  max-width: 600px;
  text-align: center;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin: 0 0 30px 0;
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  margin: 0 0 40px 0;
  line-height: 1.8;
  opacity: 0.95;
}

/* ミッションセクション */
.mission {
  background: #FBF8F2;
}

.mission-content-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.mission-image {
  text-align: center;
  margin: 40px 0;
}

.mission-image img {
  max-width: 300px;
  width: 100%;
  height: auto;
}

.mission-text {
  text-align: center;
}

.mission-text h3 {
  font-size: 2rem;
  color: #14244B;
  margin: 0 0 30px 0;
  font-weight: 700;
  line-height: 1.4;
}

.mission-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 20px;
}

.mission-text-bold {
  font-weight: 700;
  color: #14244B;
  font-size: 1.2rem;
}

/* ニュースセクション */
.news {
  background: #f8f9fa;
}

.news-list {
  max-width: 800px;
  margin: 0 auto 40px;
  list-style: none;
  padding: 0;
}

.news-more {
  text-align: center;
}

/* サービス概要セクション */
.service {
  background: white;
}

.service.bg-light {
  background: #f8f9fa;
}

.service-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.service-item {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  display: block;
  color: inherit;
  text-decoration: none;
}

.service-item:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  text-decoration: none;
}

.service-item:focus-visible {
  outline: 3px solid #14244B;
  outline-offset: 4px;
}

.service-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-item h3 {
  font-size: 1.3rem;
  color: #14244B;
  margin: 20px;
  font-weight: 700;
}

.service-item p {
  font-size: 1rem;
  line-height: 1.7;
  color: #555;
  margin: 0 20px 20px;
}

/* お客様の声セクション */
.testimonials {
  background: white;
}

.testimonial-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.testimonial-item {
  background: #f8f9fa;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.testimonial-content h3 {
  font-size: 1.2rem;
  color: #14244B;
  margin: 0 0 20px 0;
  font-weight: 700;
}

.testimonial-content p {
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
  margin: 0;
}

/* クライアントセクション */
.clients {
  background: #f8f9fa;
  text-align: center;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #666;
  max-width: 700px;
  margin: 0 auto 50px;
  line-height: 1.8;
}

.client-logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 800px;
  margin: 0 auto;
}

.client-logo-item {
  background: transparent;
  padding: 8px 0;
  border-radius: 0;
  box-shadow: none;
  font-weight: 600;
  color: #14244B;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.client-logo-item::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #b89b63;
  flex-shrink: 0;
}

.client-logo-item span {
  display: block;
}

/* 会社概要テーブル */
.company-profile-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #ddd;
}

.company-profile-table th,
.company-profile-table td {
  padding: 20px 25px;
  border-bottom: 1px solid #ddd;
  text-align: left;
}

.company-profile-table th {
  font-weight: 600;
  color: #14244B;
  width: 200px;
  border-right: 1px solid #ddd;
  vertical-align: top;
}

.company-profile-table td {
  color: #555;
  line-height: 1.7;
  vertical-align: top;
}

.company-profile-table tr:nth-child(odd) th,
.company-profile-table tr:nth-child(odd) td {
  background: #ffffff;
}

.company-profile-table tr:nth-child(even) th,
.company-profile-table tr:nth-child(even) td {
  background: #f8f9fa;
}

.company-profile-table td ul {
  margin: 0;
  padding-left: 20px;
}

.company-profile-table td ul li {
  margin-bottom: 8px;
  color: #555;
}

.company-profile-table td ul li:last-child {
  margin-bottom: 0;
}

/* 事業内容ページ */
.services-container {
  display: flex;
  gap: 40px;
  margin: 40px 0;
}

.services-nav {
  flex: 0 0 290px;
  position: sticky;
  top: 100px;
  height: fit-content;
}

.services-navigation {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 30px 20px;
}

.services-navigation h3 {
  margin: 0 0 20px 0;
  color: #14244B;
  font-size: 16px;
}

.services-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.services-navigation li {
  margin-bottom: 15px;
}

.services-navigation li:last-child {
  margin-bottom: 0;
}

.services-navigation a {
  color: #14244B;
  text-decoration: none;
  display: block;
  padding: 8px 12px;
  border-radius: 4px;
  transition: all 0.3s;
  font-size: 14px;
}

.services-navigation a:hover {
  background-color: #14244B;
  color: white;
}

.services-content {
  flex: 1;
}

.service-detail .service-image {
  margin-bottom: 30px;
  text-align: left;
}

.service-detail .service-image img {
  width: 100%;
  max-width: 800px;
  height: 400px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.service-text {
  max-width: 800px;
  text-align: left;
}

.service-text p {
  margin-bottom: 20px;
  color: #666;
  line-height: 1.7;
}

.service-text p:last-child {
  margin-bottom: 0;
}

.cta-section {
  padding: 60px 0;
}

.cta-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  margin-bottom: 20px;
  color: #14244B;
}

.cta-content p {
  margin-bottom: 30px;
  color: #666;
  line-height: 1.6;
}

/* お知らせ詳細ページ */
.single-post .post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-bottom: 24px;
}

.single-post .post-date {
  font-size: 0.95rem;
  font-weight: 500;
  color: #666;
}

.single-post .post-categories {
  display: flex;
  gap: 8px;
}

.single-post .post-category {
  background: #B89B63;
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 500;
}

.post-main {
  max-width: 800px;
  margin: 0 auto;
}

.post-thumbnail {
  margin-bottom: 40px;
}

.post-thumbnail img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.post-body {
  line-height: 1.8;
  color: #555;
}

.post-body h2,
.post-body h3,
.post-body h4 {
  color: #14244B;
  margin: 40px 0 20px 0;
}

.post-body p {
  margin-bottom: 20px;
}

.post-body img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 20px 0;
}

.post-tags {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid #eee;
}

.post-tags h4 {
  color: #14244B;
  margin-bottom: 15px;
  font-size: 1rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-item {
  background: #f8f9fa;
  color: #666;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.3s;
}

.tag-item:hover {
  background: #14244B;
  color: white;
}

/* 記事ナビゲーション */
.post-navigation-section {
  background: #f8f9fa;
  padding: 60px 0;
}

.post-navigation {
  max-width: 800px;
  margin: 0 auto;
}

.nav-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.nav-previous,
.nav-next {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-label {
  display: block;
  font-size: 0.85rem;
  color: #999;
  margin-bottom: 8px;
}

.nav-previous a,
.nav-next a {
  color: #14244B;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-previous a:hover,
.nav-next a:hover {
  color: #B89B63;
}

.back-to-news {
  text-align: center;
}

/* 関連記事 */
.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.related-post-item {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
}

.related-post-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.related-post-item a {
  text-decoration: none;
  color: inherit;
}

.related-post-thumbnail {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
}

.related-post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-post-thumbnail.no-image {
  color: #999;
  font-size: 0.9rem;
}

.related-post-content {
  padding: 20px;
}

.related-post-date {
  display: block;
  font-size: 0.85rem;
  color: #999;
  margin-bottom: 8px;
}

.related-post-title {
  font-size: 1.1rem;
  color: #14244B;
  margin: 0;
  line-height: 1.4;
}

/* CTAセクション */
.cta {
  background: linear-gradient(135deg, #14244B 0%, #2c4a7a 100%);
  color: white;
  text-align: center;
  padding: 80px 0;
}

.section-title--white {
  color: white;
}

.cta p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.8;
  opacity: 0.95;
}

.cta .btn {
  background: white;
  color: #14244B;
}

.cta .btn:hover {
  background: #f0f0f0;
}

/* ==================================================
   レスポンシブ（768px以下）
================================================== */
@media (max-width: 768px) {

  /* ヘッダーのモバイル対応 */
  .header {
    padding: 15px 0;
  }

  .hamburger-menu {
    display: flex !important;
  }

  .header-nav {
    display: none;
    position: fixed;
    right: -100%;
    top: 0;
    width: 280px;
    height: 100vh;
    background: white;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1000;
    padding-top: 80px;
    overflow-y: auto;
  }

  .header-nav.active {
    display: block;
    right: 0;
  }

  .header-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .header-nav li {
    border-bottom: 1px solid #f0f0f0;
  }

  .header-nav a {
    display: block;
    padding: 15px 20px;
    font-size: 1.1rem;
  }

  .header-logo img {
    max-height: 30px;
  }

  /* ページヒーローセクション */
  .page-hero {
    padding: 100px 0 60px 0;
    min-height: 300px;
  }

  .page-hero h1 {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .page-hero p {
    font-size: 1rem;
    padding: 0 15px;
  }

  /* フッターのモバイル対応 */
  .footer {
    padding: 40px 0 20px;
  }

  .footer-main {
    flex-direction: column;
    gap: 40px;
    padding-bottom: 30px;
  }

  .footer-info {
    flex: 1 1 auto !important;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 30px;
  }

  .footer-logo {
    display: flex;
    justify-content: center;
  }

  .footer-logo img {
    margin-bottom: 15px;
  }

  .footer-sitemap {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .sitemap-column {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
  }

  .sitemap-column:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .sitemap-column>a {
    margin-bottom: 12px;
    font-size: 1.1rem;
  }

  .sitemap-column ul {
    margin-bottom: 0;
  }

  .sitemap-column ul li {
    margin-bottom: 8px;
  }

  .sitemap-column ul li a {
    font-size: 0.95rem;
    display: inline-block;
    padding: 5px 10px;
  }

  .footer-bottom {
    padding-top: 20px;
  }

  .copyright {
    font-size: 0.85rem;
  }

  /* セクション共通 */
  .section {
    padding: 60px 0;
  }

  .section-title-top {
    font-size: 1.8rem;
    margin-bottom: 40px;
  }

  .section-title {
    font-size: 1.8rem;
    margin-bottom: 40px;
  }

  /* ボタン */
  .btn,
  .btn-secondary {
    padding: 14px 28px;
    font-size: 0.95rem;
    width: 100%;
    text-align: center;
  }

  /* ニュースリスト */
  .news-item a {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 20px;
  }

  .news-date {
    width: auto;
    font-size: 0.85rem;
  }

  .news-title {
    font-size: 1rem;
  }

  /* 記事詳細 */
  .article-header {
    margin-bottom: 40px;
    padding-bottom: 20px;
  }

  .article-title {
    font-size: 1.6rem;
  }

  .article-content {
    font-size: 1rem;
    padding: 0 15px;
  }

  .article-content h3 {
    font-size: 1.2rem;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .article-content p {
    margin-bottom: 20px;
  }

  .article-content ul,
  .article-content ol {
    padding-left: 25px;
    margin-bottom: 20px;
  }

  .article-content li {
    margin-bottom: 10px;
  }

  /* プロフィールレイアウトのモバイル対応 */
  .profile-flex {
    flex-direction: column !important;
    gap: 30px !important;
  }

  .profile-image {
    flex: 1 1 auto !important;
    width: 100% !important;
  }

  .company-profile-table th,
  .company-profile-table td {
    display: block;
    width: 100% !important;
    border-right: none !important;
    padding: 15px 20px;
  }

  .company-profile-table th {
    font-size: 0.95rem;
    border-bottom: none !important;
    padding-bottom: 8px;
  }

  .company-profile-table td {
    font-size: 0.9rem;
    padding-top: 8px;
  }

  /* フォームのモバイル対応 */
  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    font-size: 16px !important;
  }

  .form-submit button {
    width: 100%;
  }

  /* トップページ モバイル対応 */
  .hero {
    min-height: 500px;
    padding: 80px 0;
  }

  .hero h1 {
    font-size: 2.2rem;
    margin-bottom: 20px;
  }

  .hero p {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  .mission-image img {
    max-width: 200px;
  }

  .mission-text h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }

  .mission-text p {
    font-size: 1rem;
  }

  .mission-text-bold {
    font-size: 1.1rem;
  }

  .service-items {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-item img {
    height: 180px;
  }

  .service-item h3 {
    font-size: 1.2rem;
    margin: 15px;
  }

  .service-item p {
    font-size: 0.95rem;
    margin: 0 15px 15px;
  }

  .testimonial-items {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .testimonial-item {
    padding: 20px;
  }

  .testimonial-content h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
  }

  .testimonial-content p {
    font-size: 0.95rem;
  }

  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  .client-logos {
    gap: 15px;
  }

  .client-logo-item {
    padding: 6px 0;
    font-size: 1rem;
    flex: 0 1 calc(50% - 10px);
  }

  .cta {
    padding: 60px 0;
  }

  .cta p {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  /* 事業内容ページのモバイル対応 */
  .services-container {
    flex-direction: column;
    gap: 20px;
    margin: 20px 0;
  }

  .services-nav {
    flex: none;
    position: static;
    order: -1;
  }

  .services-navigation {
    padding: 20px;
  }

  .services-navigation h3 {
    font-size: 14px;
    margin-bottom: 15px;
  }

  .services-navigation a {
    font-size: 13px;
    padding: 6px 10px;
  }

  .service-detail .service-image img {
    height: 250px;
  }

  .service-text p {
    font-size: 0.9rem;
    margin-bottom: 15px;
  }

  .cta-content h2 {
    font-size: 1.8rem;
  }

  .cta-content p {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  /* お知らせ詳細ページのモバイル対応 */
  .single-post .post-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .nav-links {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .related-posts-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .related-post-thumbnail {
    height: 150px;
  }

  .related-post-content {
    padding: 15px;
  }

  .related-post-title {
    font-size: 1rem;
  }

}

/* ==================================================
   レスポンシブ（480px以下）
================================================== */
@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .section {
    padding: 40px 0;
  }

  .section-title-top {
    font-size: 1.5rem;
    margin-bottom: 30px;
  }

  .section-title {
    font-size: 1.5rem;
    margin-bottom: 30px;
  }

  .page-hero {
    padding: 80px 0 50px 0;
    min-height: 250px;
  }

  .page-hero h1 {
    font-size: 1.6rem;
    margin-bottom: 12px;
  }

  .page-hero p {
    font-size: 0.9rem;
    padding: 0 20px;
  }

  .page-hero .breadcrumb {
    font-size: 0.8rem;
    margin-bottom: 15px;
  }

  /* ヘッダー調整 */
  .header-logo img {
    max-height: 25px;
  }

  .header-nav {
    width: 90%;
  }

  /* ボタン調整 */
  .btn,
  .btn-secondary {
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  /* ニュース */
  .news-item {
    margin-bottom: 15px;
  }

  .news-item a {
    padding: 15px;
  }

  /* 記事詳細 */
  .article-title {
    font-size: 1.4rem;
  }

  .article-content {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .article-content h3 {
    font-size: 1.1rem;
  }

  /* フッター */
  .footer {
    padding: 30px 0 15px;
  }

  .footer-main {
    gap: 30px;
  }

  .footer-info {
    padding-bottom: 25px;
  }

  .footer-logo img {
    max-height: 25px;
  }

  .footer-company-name {
    font-size: 0.95rem;
  }

  .footer-address {
    font-size: 0.85rem;
  }

  .sitemap-column {
    padding-bottom: 15px;
  }

  .sitemap-column>a {
    font-size: 1rem;
    margin-bottom: 10px;
  }

  .sitemap-column ul li a {
    font-size: 0.9rem;
  }

  .copyright {
    font-size: 0.8rem;
    line-height: 1.4;
  }

  /* トップページ */
  .hero {
    min-height: 400px;
    padding: 60px 0;
  }

  .hero h1 {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }

  .hero p {
    font-size: 0.95rem;
    margin-bottom: 25px;
    line-height: 1.6;
  }

  .hero p br {
    display: none;
  }

  .mission-image {
    margin: 30px 0;
  }

  .mission-image img {
    max-width: 150px;
  }

  .mission-text h3 {
    font-size: 1.3rem;
  }

  .mission-text p {
    font-size: 0.95rem;
  }

  .mission-text-bold {
    font-size: 1rem;
  }

  .service-item img {
    height: 150px;
  }

  .service-item h3 {
    font-size: 1.1rem;
  }

  .service-item p {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .testimonial-item {
    padding: 15px;
  }

  .testimonial-content h3 {
    font-size: 1rem;
  }

  .testimonial-content p {
    font-size: 0.9rem;
    line-height: 1.7;
  }

  .client-logo-item {
    padding: 6px 0;
    font-size: 0.9rem;
    flex: 1 1 100%;
  }

  .cta {
    padding: 50px 0;
  }

  .cta p {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .company-profile-table th {
    padding: 12px 15px 6px 15px;
    font-size: 0.9rem;
  }

  .company-profile-table td {
    padding: 6px 15px 15px 15px;
    font-size: 0.85rem;
  }

  /* 事業内容ページの480px以下対応 */
  .services-container {
    margin: 15px 0;
    gap: 15px;
  }

  .services-navigation {
    padding: 15px;
  }

  .services-navigation h3 {
    font-size: 13px;
    margin-bottom: 12px;
  }

  .services-navigation li {
    margin-bottom: 10px;
  }

  .services-navigation a {
    font-size: 12px;
    padding: 5px 8px;
  }

  .service-detail .service-image {
    margin-bottom: 20px;
  }

  .service-detail .service-image img {
    height: 200px;
  }

  .service-text p {
    font-size: 0.85rem;
    margin-bottom: 12px;
    line-height: 1.6;
  }

  .cta-section {
    padding: 40px 0;
  }

  .cta-content h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
  }

  .cta-content p {
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.5;
  }

  /* お知らせ詳細ページの480px以下対応 */
  .post-thumbnail {
    margin-bottom: 20px;
  }

  .post-tags {
    margin-top: 30px;
    padding-top: 30px;
  }

  .tag-list {
    gap: 6px;
  }

  .tag-item {
    font-size: 0.8rem;
    padding: 3px 10px;
  }

  .post-navigation-section {
    padding: 40px 0;
  }

  .nav-links {
    gap: 15px;
    margin-bottom: 30px;
  }

  .nav-previous,
  .nav-next {
    padding: 15px;
  }

  .nav-previous a,
  .nav-next a {
    font-size: 0.9rem;
  }

  .related-posts-grid {
    gap: 15px;
  }

  .related-post-thumbnail {
    height: 120px;
  }

  .related-post-content {
    padding: 12px;
  }

  .related-post-title {
    font-size: 0.9rem;
    line-height: 1.3;
  }

  .related-post-date {
    font-size: 0.8rem;
  }
}

/* ラッパー */
.contact-form {}

/* 各フィールドブロック */
.contact-form .form-group {
  margin-bottom: 30px;
}

/* ラベル */
.contact-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
}

/* 必須アスタリスク等（任意） */
.contact-form .req,
.contact-form .form-group .form__required,
.contact-form .form-group .required {
  color: #e74c3c;
}

/* 共通入力スタイル（text, tel, email など） */
.contact-form .input,
.contact-form .select,
.contact-form .textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  background: #fff;
  box-sizing: border-box;
}

/* テキストエリアのリサイズ */
.contact-form .textarea {
  resize: vertical;
}

/* プライバシー同意エリア */
.contact-form .privacy-check label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.contact-form .privacy-check span {
  color: #555;
  line-height: 1.6;
  font-size: 0.9rem;
}

/* プライバシーリンク */
.contact-form .privacy-check a {
  color: #14244B;
  text-decoration: underline;
}

/* 送信ボタン */
.contact-form .form-submit {
  text-align: center;
}

.contact-form .btn {
  background: #14244B;
  color: #fff;
  border: none;
  padding: 16px 40px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
  min-width: 200px;
}

/* ホバー／フォーカスの軽微なアクセシビリティ強化（任意） */
.contact-form .btn:hover,
.contact-form .btn:focus {
  filter: brightness(1.05);
  outline: none;
}

.contact-form .input:focus,
.contact-form .select:focus,
.contact-form .textarea:focus {
  outline: none;
  border-color: #bbb;
  box-shadow: 0 0 0 2px rgba(20, 36, 75, 0.08);
}
/* ===== TOP HERO (restore) ===== */
.hero {
  background: linear-gradient(135deg, rgba(20, 36, 75, 0.45) 0%, rgba(44, 74, 122, 0.45) 100%),
    url('http://fwbj.co.jp/wp-content/uploads/2026/03/fwj-top.png') center/cover no-repeat;
  color: white;
  min-height: 600px;
  display: flex;
  align-items: center;
  padding: 100px 0;
	.hero h1, .hero p
.hero h1, .hero p
}


