/*
Theme Name: 伴建設株式会社
Theme URI:
Author: 伴建設株式会社
Description: 伴建設株式会社コーポレートサイト用WordPressクラシックテーマ
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bankensetsu
*/

/* ========================================
   Reset & Base
======================================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: #333;
  line-height: 1.8;
  background: #fff;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ========================================
   共通
======================================== */
.inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-label {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: #2a7b4f;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: #1a3a4a;
  line-height: 1.5;
  margin-bottom: 16px;
}

.section-lead {
  font-size: 0.95rem;
  color: #555;
  line-height: 2;
  max-width: 680px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header .section-lead {
  margin: 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 4px;
  transition: all 0.3s ease;
  letter-spacing: 0.05em;
}

.btn-primary {
  background: #2a7b4f;
  color: #fff;
  border: 2px solid #2a7b4f;
}

.btn-primary:hover {
  background: #1e5f3c;
  border-color: #1e5f3c;
}

.btn-outline {
  background: transparent;
  color: #2a7b4f;
  border: 2px solid #2a7b4f;
}

.btn-outline:hover {
  background: #2a7b4f;
  color: #fff;
}

.btn-arrow::after {
  content: '\2192';
  font-size: 1.1em;
  transition: transform 0.3s ease;
}

.btn-arrow:hover::after {
  transform: translateX(4px);
}

/* ========================================
   Header
======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-logo-icon {
  width: 36px;
  height: 36px;
  background: #2a7b4f;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  font-size: 1.1rem;
}

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

.header-logo-text {
  font-family: 'Noto Serif JP', serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: #1a3a4a;
  letter-spacing: 0.05em;
}

.header-logo-sub {
  font-size: 0.65rem;
  font-weight: 400;
  color: #888;
  letter-spacing: 0.02em;
  display: block;
  margin-top: -2px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header-nav a {
  font-size: 0.85rem;
  font-weight: 500;
  color: #444;
  letter-spacing: 0.05em;
  position: relative;
  transition: color 0.3s ease;
}

.header-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #2a7b4f;
  transition: width 0.3s ease;
}

.header-nav a:hover {
  color: #2a7b4f;
}

.header-nav a:hover::after {
  width: 100%;
}

/* wp_nav_menu support */
.header-nav .menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-nav .menu li a {
  font-size: 0.85rem;
  font-weight: 500;
  color: #444;
  letter-spacing: 0.05em;
  position: relative;
  transition: color 0.3s ease;
}

.header-nav .menu li a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #2a7b4f;
  transition: width 0.3s ease;
}

.header-nav .menu li a:hover {
  color: #2a7b4f;
}

.header-nav .menu li a:hover::after {
  width: 100%;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #1a3a4a;
  transition: all 0.3s ease;
}

/* ========================================
   Hero / First View
======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #e8f4f8 0%, #d4eaf0 30%, #c5e3ec 60%, #b8dce8 100%);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* 空と雲の表現 */
.hero-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 60%;
  background: linear-gradient(180deg, #7ec8e3 0%, #a8dce8 40%, #c5e8f0 70%, #d8eff5 100%);
}

/* 水面の表現 */
.hero-bg::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 45%;
  background: linear-gradient(180deg, #89c4d8 0%, #6bafc8 30%, #5a9db8 60%, #4a8da8 100%);
  opacity: 0.7;
}

/* 装飾パズルピース */
.hero-puzzle {
  position: absolute;
  z-index: 2;
  opacity: 0.15;
}

.hero-puzzle-1 {
  top: 15%;
  left: 5%;
  width: 80px;
  height: 80px;
  border: 3px solid #2a7b4f;
  border-radius: 8px;
  transform: rotate(15deg);
}

.hero-puzzle-2 {
  top: 25%;
  right: 8%;
  width: 60px;
  height: 60px;
  background: #2a7b4f;
  border-radius: 6px;
  transform: rotate(-20deg);
}

.hero-puzzle-3 {
  bottom: 20%;
  left: 8%;
  width: 50px;
  height: 50px;
  border: 3px solid #2a7b4f;
  border-radius: 6px;
  transform: rotate(30deg);
}

.hero-puzzle-4 {
  bottom: 30%;
  right: 15%;
  width: 40px;
  height: 40px;
  background: #2a7b4f;
  border-radius: 4px;
  transform: rotate(-10deg);
}

.hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(18, 50, 65, 0.65) 0%,
    rgba(18, 50, 65, 0.45) 40%,
    rgba(18, 50, 65, 0.15) 70%,
    rgba(18, 50, 65, 0.05) 100%
  );
  z-index: 3;
}

.hero-content {
  position: relative;
  z-index: 4;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  padding-top: 72px;
}

.hero-copy {
  max-width: 600px;
}

.hero-sub {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.15em;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-sub::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: rgba(255, 255, 255, 0.6);
}

.hero-main-copy {
  font-family: 'Noto Serif JP', serif;
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.5;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.hero-desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 2;
  margin-bottom: 40px;
  max-width: 480px;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.7), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.3; transform: scaleY(0.5); }
  100% { opacity: 1; transform: scaleY(1); }
}

/* ========================================
   News / お知らせ
======================================== */
.news {
  padding: 80px 0;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.news-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.news-header-left {
  display: flex;
  align-items: center;
  gap: 24px;
}

.news-header-left .section-title {
  margin-bottom: 0;
}

.news-more {
  font-size: 0.85rem;
  font-weight: 500;
  color: #2a7b4f;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.3s ease;
}

.news-more:hover {
  gap: 10px;
}

.news-more::after {
  content: '\2192';
}

.news-list {
  border-top: 1px solid #e5e5e5;
}

.news-item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid #e5e5e5;
  transition: background 0.3s ease;
}

.news-item:hover {
  background: #f8faf9;
  padding-left: 16px;
  padding-right: 16px;
  margin: 0 -16px;
}

.news-date {
  font-size: 0.85rem;
  color: #888;
  min-width: 110px;
  font-weight: 400;
  letter-spacing: 0.03em;
  padding-top: 2px;
}

.news-tag {
  font-size: 0.7rem;
  font-weight: 600;
  color: #2a7b4f;
  background: #e8f5ee;
  padding: 3px 12px;
  border-radius: 3px;
  min-width: 70px;
  text-align: center;
  letter-spacing: 0.05em;
}

.news-title {
  font-size: 0.95rem;
  color: #333;
  flex: 1;
}

.news-title:hover {
  color: #2a7b4f;
}

/* ========================================
   About / 伴建設について
======================================== */
.about {
  background: #f7faf8;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text .section-label {
  text-align: left;
}

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

.about-text .section-lead {
  margin-bottom: 32px;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: #444;
}

.about-feature-icon {
  width: 20px;
  height: 20px;
  min-width: 20px;
  background: #2a7b4f;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 3px;
}

.about-feature-icon::after {
  content: '\2713';
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
}

.about-image {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #c5e3ec 0%, #89b8cc 50%, #6a9eb5 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image-accent {
  position: absolute;
  bottom: -8px;
  right: -8px;
  width: 120px;
  height: 120px;
  border: 3px solid #2a7b4f;
  border-radius: 8px;
  opacity: 0.2;
  z-index: 0;
}

/* ========================================
   Service / 事業内容
======================================== */
.service {
  background: #fff;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.service-card {
  background: #fff;
  border: 1px solid #e8ede9;
  border-radius: 8px;
  padding: 40px 28px 32px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: #2a7b4f;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  background: #f0f7f3;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  transition: background 0.3s ease;
}

.service-card:hover .service-icon {
  background: #e0f0e7;
}

.service-name {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a3a4a;
  margin-bottom: 12px;
}

.service-desc {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.8;
  margin-bottom: 24px;
}

.service-link {
  font-size: 0.8rem;
  font-weight: 500;
  color: #2a7b4f;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.3s ease;
}

.service-link:hover {
  gap: 8px;
}

.service-link::after {
  content: '\2192';
}

/* ========================================
   Strength / 選ばれる理由
======================================== */
.strength {
  background: #1a3a4a;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.strength::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border: 1px solid rgba(42, 123, 79, 0.15);
  border-radius: 50%;
}

.strength::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 500px;
  height: 500px;
  border: 1px solid rgba(42, 123, 79, 0.1);
  border-radius: 50%;
}

.strength .inner {
  position: relative;
  z-index: 1;
}

.strength .section-label {
  color: #5cb88a;
}

.strength .section-title {
  color: #fff;
}

.strength .section-lead {
  color: rgba(255, 255, 255, 0.7);
}

.strength-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.strength-item {
  text-align: center;
  padding: 36px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  transition: all 0.3s ease;
}

.strength-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(42, 123, 79, 0.3);
}

.strength-number {
  font-family: 'Noto Serif JP', serif;
  font-size: 2rem;
  font-weight: 700;
  color: #2a7b4f;
  margin-bottom: 16px;
  line-height: 1;
}

.strength-item-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #fff;
  line-height: 1.5;
}

.strength-item-desc {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}

/* ========================================
   Client / 主要取引先
======================================== */
.client {
  background: #f7faf8;
}

.client-content {
  text-align: center;
}

.client-note {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 48px;
  line-height: 1.8;
}

.client-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.client-item {
  background: #fff;
  border: 1px solid #e0e8e3;
  border-radius: 6px;
  padding: 20px 36px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #1a3a4a;
  transition: all 0.3s ease;
}

.client-item:hover {
  border-color: #2a7b4f;
  box-shadow: 0 4px 16px rgba(42, 123, 79, 0.08);
}

.client-sub {
  font-size: 0.85rem;
  color: #999;
  margin-top: 8px;
}

/* ========================================
   CTA / 会社概要への導線
======================================== */
.cta {
  padding: 100px 0;
  background: #fff;
  text-align: center;
}

.cta-inner {
  max-width: 700px;
  margin: 0 auto;
}

.cta .section-title {
  margin-bottom: 20px;
}

.cta-desc {
  font-size: 0.95rem;
  color: #666;
  line-height: 2;
  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* ========================================
   Footer
======================================== */
.footer {
  background: #1a3a4a;
  color: rgba(255, 255, 255, 0.8);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo-img {
  height: 36px;
  width: auto;
  margin-bottom: 16px;
}

.footer-company-name {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}

.footer-info {
  font-size: 0.8rem;
  line-height: 2;
  color: rgba(255, 255, 255, 0.6);
}

.footer-nav-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: 0.08em;
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav-list a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s ease;
}

.footer-nav-list a:hover {
  color: #5cb88a;
}

/* wp_nav_menu support for footer */
.footer-nav .menu {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav .menu li a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s ease;
}

.footer-nav .menu li a:hover {
  color: #5cb88a;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  border-color: #5cb88a;
  background: rgba(92, 184, 138, 0.1);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: rgba(255, 255, 255, 0.7);
}

.footer-social a:hover svg {
  fill: #5cb88a;
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.03em;
}

/* ========================================
   Responsive
======================================== */
@media (max-width: 1024px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .strength-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .section {
    padding: 72px 0;
  }

  .hamburger {
    display: flex;
  }

  .header-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
  }

  .header-nav.active {
    display: flex;
  }

  .header-nav .menu {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .header-nav a,
  .header-nav .menu li a {
    font-size: 1.1rem;
  }

  .hero-main-copy {
    font-size: 2rem;
  }

  .hero-content {
    padding: 0 24px;
    padding-top: 72px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-image {
    order: -1;
  }

  .service-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .strength-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 0 auto;
  }

  .news-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .news-item {
    flex-direction: column;
    gap: 8px;
  }

  .news-date {
    min-width: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .client-item {
    padding: 16px 24px;
    font-size: 0.85rem;
  }

  .section-title {
    font-size: 1.5rem;
  }
}

/* ========================================
   Page Hero（下層ページ共通）
======================================== */
.page-hero {
  background: linear-gradient(135deg, #1a3a4a 0%, #2a5a6a 100%);
  padding: 140px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(42, 123, 79, 0.15);
  border-radius: 50%;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 350px;
  height: 350px;
  border: 1px solid rgba(42, 123, 79, 0.1);
  border-radius: 50%;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.page-hero-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: #5cb88a;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.page-hero-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: 0.08em;
}

.page-hero-desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 2;
  max-width: 600px;
  margin: 0 auto;
}

/* ========================================
   Company（会社概要ページ）
======================================== */

/* --- 代表挨拶 --- */
.company-message {
  background: #f7faf8;
}

.company-message-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 60px;
  align-items: start;
}

.company-message-content .section-label {
  text-align: left;
}

.company-message-content .section-title {
  text-align: left;
}

.company-message-text {
  font-size: 0.95rem;
  color: #555;
  line-height: 2.2;
}

.company-message-text p {
  margin-bottom: 20px;
}

.company-message-sign {
  margin-top: 32px;
  font-weight: 600;
  color: #1a3a4a;
  line-height: 1.8;
}

.company-message-visual {
  position: sticky;
  top: 100px;
}

.company-message-visual-inner {
  border-radius: 8px;
  border: 1px solid #d8ece4;
  overflow: hidden;
}

.company-message-visual-inner img {
  display: block;
  width: 100%;
  height: auto;
}

/* --- 会社情報テーブル --- */
.company-info {
  background: #fff;
}

.company-table-wrapper {
  max-width: 860px;
  margin: 0 auto;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
}

.company-table th,
.company-table td {
  padding: 20px 24px;
  border-bottom: 1px solid #e5e5e5;
  font-size: 0.95rem;
  text-align: left;
  vertical-align: top;
  line-height: 1.8;
}

.company-table th {
  width: 160px;
  font-weight: 600;
  color: #1a3a4a;
  background: #f9fbfa;
  white-space: nowrap;
}

.company-table td {
  color: #555;
}

/* --- 沿革 --- */
.company-history {
  background: #f7faf8;
}

.company-timeline {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  padding-left: 120px;
}

.company-timeline::before {
  content: '';
  position: absolute;
  left: 100px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #d8ece4;
}

.company-timeline-item {
  position: relative;
  padding-bottom: 48px;
}

.company-timeline-item:last-child {
  padding-bottom: 0;
}

.company-timeline-item::before {
  content: '';
  position: absolute;
  left: -25px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #2a7b4f;
  border: 3px solid #f7faf8;
  z-index: 1;
}

.company-timeline-year {
  position: absolute;
  left: -120px;
  top: 0;
  width: 80px;
  text-align: right;
  font-family: 'Noto Serif JP', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #2a7b4f;
  line-height: 1.6;
}

.company-timeline-content h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #1a3a4a;
  margin-bottom: 8px;
}

.company-timeline-content p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.8;
}

/* --- アクセス --- */
.company-access {
  background: #fff;
}

.company-access-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  align-items: start;
}

.company-access-map {
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  overflow: hidden;
  background: #e8ede9;
  border: 1px solid #ddd;
}

.company-access-map iframe {
  display: block;
}

.company-access-name {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #1a3a4a;
  margin-bottom: 24px;
}

.company-access-detail {
  font-size: 0.9rem;
  line-height: 1.8;
}

.company-access-detail dt {
  font-weight: 600;
  color: #1a3a4a;
  margin-top: 20px;
}

.company-access-detail dt:first-child {
  margin-top: 0;
}

.company-access-detail dd {
  color: #666;
  margin-top: 4px;
}

/* --- Company responsive --- */
@media (max-width: 768px) {
  .company-message-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .company-message-visual {
    position: static;
    order: -1;
    max-width: 240px;
    margin: 0 auto;
  }

  .company-table th {
    display: block;
    width: 100%;
    padding-bottom: 4px;
    border-bottom: none;
  }

  .company-table td {
    display: block;
    padding-top: 0;
    padding-left: 24px;
  }

  .company-timeline {
    padding-left: 32px;
  }

  .company-timeline::before {
    left: 12px;
  }

  .company-timeline-item::before {
    left: -25px;
  }

  .company-timeline-year {
    position: static;
    width: auto;
    text-align: left;
    margin-bottom: 4px;
    font-size: 0.95rem;
  }

  .company-access-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ========================================
   Contact（お問い合わせページ）
======================================== */

/* --- 電話・所在地カード --- */
.contact-info {
  background: #f7faf8;
  padding-bottom: 0;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.contact-info-card {
  background: #fff;
  border: 1px solid #e8ede9;
  border-radius: 8px;
  padding: 40px 36px;
  text-align: center;
}

.contact-info-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background: #f0f7f3;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #1a3a4a;
  margin-bottom: 12px;
}

.contact-info-tel {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #1a3a4a;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.contact-info-address {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.8;
  margin-bottom: 8px;
}

.contact-info-note {
  font-size: 0.8rem;
  color: #999;
}

/* --- フォーム --- */
.contact-form-section {
  background: #f7faf8;
}

.contact-form-wrapper {
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #e8ede9;
  padding: 48px 48px 56px;
}

.contact-form-group {
  margin-bottom: 28px;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.contact-form-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1a3a4a;
  margin-bottom: 8px;
}

.contact-form-required {
  font-size: 0.65rem;
  font-weight: 600;
  color: #fff;
  background: #c0392b;
  padding: 2px 8px;
  border-radius: 3px;
  letter-spacing: 0.05em;
}

.contact-form-input,
.contact-form-select,
.contact-form-textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.9rem;
  color: #333;
  background: #f9fbfa;
  border: 1px solid #dde3df;
  border-radius: 4px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  appearance: none;
  -webkit-appearance: none;
}

.contact-form-select {
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.contact-form-input:focus,
.contact-form-select:focus,
.contact-form-textarea:focus {
  outline: none;
  border-color: #2a7b4f;
  box-shadow: 0 0 0 3px rgba(42, 123, 79, 0.1);
  background: #fff;
}

.contact-form-input::placeholder,
.contact-form-textarea::placeholder {
  color: #bbb;
}

.contact-form-textarea {
  resize: vertical;
  min-height: 160px;
}

.contact-form-privacy {
  margin-bottom: 32px;
  text-align: center;
}

.contact-form-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: #555;
  cursor: pointer;
}

.contact-form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #2a7b4f;
  cursor: pointer;
}

.contact-form-submit {
  text-align: center;
}

.btn-lg {
  padding: 18px 56px;
  font-size: 1rem;
}

/* --- Contact responsive --- */
@media (max-width: 768px) {
  .contact-info-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-info-card {
    padding: 32px 24px;
  }

  .contact-info-tel {
    font-size: 1.5rem;
  }

  .contact-form-wrapper {
    padding: 32px 20px 40px;
  }

  .contact-form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .btn-lg {
    width: 100%;
    justify-content: center;
  }
}

/* Page Hero compact（詳細ページ用） */
.page-hero--compact {
  padding: 120px 0 40px;
}

/* ========================================
   News Page（お知らせ一覧）
======================================== */
.news-page-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #e5e5e5;
}

.news-page-item {
  display: block;
  padding: 32px 24px;
  border-bottom: 1px solid #e5e5e5;
  transition: background 0.3s ease;
  position: relative;
}

.news-page-item:hover {
  background: #f8faf9;
}

.news-page-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.news-page-date {
  font-size: 0.85rem;
  color: #888;
  letter-spacing: 0.03em;
}

.news-page-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: #1a3a4a;
  margin-bottom: 8px;
  line-height: 1.6;
}

.news-page-item:hover .news-page-title {
  color: #2a7b4f;
}

.news-page-excerpt {
  font-size: 0.88rem;
  color: #777;
  line-height: 1.8;
  max-width: 720px;
}

.news-page-arrow {
  position: absolute;
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.news-page-arrow::after {
  content: '\2192';
  font-size: 0.85rem;
  color: #999;
  transition: color 0.3s ease;
}

.news-page-item:hover .news-page-arrow {
  border-color: #2a7b4f;
  background: #2a7b4f;
}

.news-page-item:hover .news-page-arrow::after {
  color: #fff;
}

/* ========================================
   News Article（お知らせ詳細）
======================================== */
.news-article {
  max-width: 800px;
  margin: 0 auto;
}

.news-article .inner {
  max-width: 800px;
}

.news-article-header {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid #e5e5e5;
}

.news-article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.news-article-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #1a3a4a;
  line-height: 1.6;
}

.news-article-body {
  font-size: 0.95rem;
  color: #444;
  line-height: 2.2;
}

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

.news-article-body h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a3a4a;
  margin-top: 40px;
  margin-bottom: 16px;
  padding-left: 16px;
  border-left: 4px solid #2a7b4f;
}

.news-article-body ul {
  margin-bottom: 24px;
  padding-left: 0;
}

.news-article-body ul li {
  padding-left: 20px;
  position: relative;
  margin-bottom: 8px;
}

.news-article-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  background: #2a7b4f;
  border-radius: 50%;
  opacity: 0.5;
}

.news-article-nav {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid #e5e5e5;
  text-align: center;
}

@media (max-width: 768px) {
  .page-hero--compact {
    padding: 100px 0 32px;
  }

  .news-page-item {
    padding: 24px 16px;
    padding-right: 56px;
  }

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

  .news-page-excerpt {
    display: none;
  }

  .news-page-arrow {
    right: 16px;
  }

  .news-article-title {
    font-size: 1.25rem;
  }

  .news-article-body h3 {
    font-size: 1rem;
  }
}

/* ========================================
   Service Detail（事業詳細セクション）
======================================== */
.service-detail {
  background: #fff;
  border-bottom: 1px solid #eee;
}

.service-detail:nth-child(even) {
  background: #f7faf8;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 60px;
  align-items: start;
}

/* 反転レイアウト: orderで制御（direction:rtlは使わない） */
.service-detail--reverse .service-detail-grid {
  grid-template-columns: 1fr 400px;
}

.service-detail--reverse .service-detail-visual {
  order: 2;
}

.service-detail--reverse .service-detail-content {
  order: 1;
}

/* ビジュアルエリア（SVGアイコン版） */
.service-detail-visual {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  position: relative;
}

.service-detail-visual-inner {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e8f4f0 0%, #d0eae0 50%, #c0e0d4 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border-radius: 8px;
  border: 1px solid #d8ece4;
}

.service-detail-visual-inner svg {
  opacity: 0.6;
}

.service-detail-visual-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #2a7b4f;
  text-transform: uppercase;
  opacity: 0.5;
}

/* ビジュアルエリア（写真版） */
.service-detail-visual--photo {
  background: #e8f0ec;
}

.service-detail-visual--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

/* コンテンツ */
.service-detail-content .section-label {
  text-align: left;
}

.service-detail-content .section-title {
  text-align: left;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.service-detail-desc {
  font-size: 0.95rem;
  color: #555;
  line-height: 2;
  margin-bottom: 32px;
}

/* 対応工事リスト */
.service-works {
  background: #f7faf8;
  border-radius: 8px;
  padding: 28px 32px;
  border: 1px solid #e8ede9;
}

.service-detail:nth-child(even) .service-works {
  background: #fff;
}

.service-works-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1a3a4a;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-works-title::before {
  content: '';
  display: block;
  width: 4px;
  height: 16px;
  background: #2a7b4f;
  border-radius: 2px;
  flex-shrink: 0;
}

.service-works-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 32px;
  list-style: none;
}

.service-works-list li {
  font-size: 0.88rem;
  color: #555;
  padding-left: 20px;
  position: relative;
  line-height: 1.8;
}

.service-works-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background: #2a7b4f;
  border-radius: 50%;
  opacity: 0.5;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .service-detail-grid {
    grid-template-columns: 300px 1fr;
    gap: 40px;
  }

  .service-detail--reverse .service-detail-grid {
    grid-template-columns: 1fr 300px;
  }
}

@media (max-width: 768px) {
  .page-hero {
    padding: 120px 0 48px;
  }

  .page-hero-title {
    font-size: 1.75rem;
  }

  .service-detail-grid,
  .service-detail--reverse .service-detail-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .service-detail--reverse .service-detail-visual {
    order: 0;
  }

  .service-detail--reverse .service-detail-content {
    order: 0;
  }

  .service-detail-visual {
    max-width: 400px;
    margin: 0 auto;
  }

  .service-works-list {
    grid-template-columns: 1fr;
  }

  .service-works {
    padding: 24px 20px;
  }
}

/* ========================================
   Recruit（採用情報ページ）
======================================== */

/* --- 募集要項テーブル --- */
.recruit-requirements {
  background: #fff;
}

.recruit-table-wrapper {
  max-width: 860px;
  margin: 0 auto;
}

.recruit-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid #e5e5e5;
}

.recruit-table th,
.recruit-table td {
  padding: 20px 24px;
  border-bottom: 1px solid #e5e5e5;
  font-size: 0.95rem;
  text-align: left;
  vertical-align: middle;
  line-height: 1.8;
}

.recruit-table th {
  width: 160px;
  min-width: 120px;
  font-weight: 600;
  color: #1a3a4a;
  background: #f9fbfa;
  white-space: nowrap;
  text-align: center;
}

.recruit-table td {
  color: #555;
}

/* --- エントリーフォーム --- */
.recruit-form-section {
  background: #f7faf8;
}

.recruit-form-wrapper {
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #e8ede9;
  padding: 48px 48px 56px;
}

/* --- Recruit responsive --- */
@media (max-width: 768px) {
  .recruit-table th {
    display: block;
    width: 100%;
    padding-bottom: 4px;
    border-bottom: none;
  }

  .recruit-table td {
    display: block;
    padding-top: 0;
    padding-left: 24px;
  }

  .recruit-form-wrapper {
    padding: 32px 20px 40px;
  }
}

@media (max-width: 480px) {
  .hero-main-copy {
    font-size: 1.65rem;
  }

  .hero-desc {
    font-size: 0.85rem;
  }

  .btn {
    padding: 12px 28px;
    font-size: 0.85rem;
    width: 100%;
    justify-content: center;
  }

  .cta-buttons {
    flex-direction: column;
  }
}
