/*
Theme Name: Progresso Theme
Theme URI: https://progresso.co.jp
Author: Progresso
Description: 株式会社プログレス 公式サイトテーマ
Version: 2.0
*/

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', sans-serif;
  color: #333;
  background: #fff;
  line-height: 1.7;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ===== ヘッダー ===== */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #1a2a4a;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 70px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { height: 44px; width: auto; }
.logo span {
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
#site-nav ul { display: flex; gap: 4px; }
#site-nav ul li a {
  color: #ccd6e8;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
  display: block;
}
#site-nav ul li a:hover,
#site-nav ul li.current-menu-item a {
  background: rgba(255,255,255,0.12);
  color: #fff;
}
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; }

/* ===== ヒーローセクション ===== */
.hero-section {
  position: relative;
  width: 100%;
  height: 480px;
  overflow: hidden;
  background: #1a2a4a;
}
.hero-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}
.hero-overlay h1 {
  font-size: 38px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.08em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
  margin-bottom: 16px;
}
.hero-overlay p {
  font-size: 17px;
  color: #dde8f5;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
  max-width: 680px;
  line-height: 1.9;
}

/* ===== 共通セクション ===== */
.section { padding: 80px 20px; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-title {
  font-size: 30px;
  font-weight: 700;
  color: #1a3a6a;
  text-align: center;
  margin-bottom: 6px;
  letter-spacing: 0.05em;
}
.section-subtitle {
  font-size: 13px;
  color: #7a8fa8;
  text-align: center;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 48px;
}

/* ===== 会社概要 ===== */
.about-section { background: #f5f7fb; }
.about-text {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  font-size: 16px;
  color: #444;
  line-height: 2;
}

/* ===== サービス ===== */
.services-section { background: #fff; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-card {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.13);
}
.service-card img { width: 100%; height: 160px; object-fit: cover; }
.service-card .card-label {
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 700;
  color: #1a3a6a;
  text-align: center;
  border-top: 3px solid #1a3a6a;
}

/* ===== お問い合わせ ===== */
.contact-section { background: #f0f4f9; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-info h3 { font-size: 22px; font-weight: 700; color: #1a3a6a; margin-bottom: 20px; }
.contact-info p { font-size: 15px; color: #444; margin-bottom: 10px; line-height: 1.9; }
.contact-info a { color: #1a3a6a; font-weight: 600; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ccd6e8;
  border-radius: 4px;
  font-size: 15px;
  font-family: inherit;
  margin-bottom: 14px;
  background: #fff;
  transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus { outline: none; border-color: #1a3a6a; }
.contact-form textarea { height: 140px; resize: vertical; }
.contact-form button {
  background: #1a3a6a;
  color: #fff;
  border: none;
  padding: 14px 40px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
  letter-spacing: 0.05em;
}
.contact-form button:hover { background: #0f2550; }
.map-container { margin-top: 60px; }
.map-container iframe { width: 100%; height: 400px; border: none; border-radius: 6px; }

/* ===== ページヒーロー（会社情報・採用情報） ===== */
.page-hero {
  background: linear-gradient(135deg, #1a2a4a 0%, #2a4a8a 100%);
  padding: 60px 20px;
  text-align: center;
}
.page-hero h1 { font-size: 32px; font-weight: 700; color: #fff; letter-spacing: 0.08em; margin-bottom: 8px; }
.page-hero p { font-size: 14px; color: #aac0e0; letter-spacing: 0.15em; }

/* ===== 会社情報テーブル ===== */
.company-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  margin-bottom: 40px;
}
.company-table th,
.company-table td {
  padding: 18px 24px;
  border-bottom: 1px solid #e0e8f0;
  text-align: left;
  vertical-align: top;
  line-height: 1.9;
}
.company-table th {
  width: 200px;
  color: #1a3a6a;
  font-weight: 700;
  background: #f5f7fb;
  white-space: nowrap;
}
.company-table td { color: #444; }

/* ===== 経営理念 ===== */
.philosophy-section {
  background: #1a2a4a;
  color: #fff;
  padding: 60px 20px;
  text-align: center;
}
.philosophy-section h3 { font-size: 22px; font-weight: 700; margin-bottom: 32px; letter-spacing: 0.05em; }
.philosophy-list { max-width: 700px; margin: 0 auto; }
.philosophy-list li {
  font-size: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  letter-spacing: 0.03em;
}
.philosophy-list li:last-child { border-bottom: none; }

/* ===== 資格・許認可 ===== */
.license-section { background: #f5f7fb; }
.license-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.license-box h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1a3a6a;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #1a3a6a;
}
.license-box ul li {
  font-size: 14px;
  color: #444;
  padding: 7px 0 7px 16px;
  border-bottom: 1px solid #e0e8f0;
  position: relative;
}
.license-box ul li::before { content: '・'; position: absolute; left: 0; color: #1a3a6a; }

/* ===== 採用情報 ===== */
.recruit-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  margin-bottom: 50px;
}
.recruit-table th,
.recruit-table td {
  padding: 18px 24px;
  border-bottom: 1px solid #e0e8f0;
  text-align: left;
  vertical-align: top;
  line-height: 1.9;
}
.recruit-table th {
  width: 200px;
  color: #1a3a6a;
  font-weight: 700;
  background: #f5f7fb;
  white-space: nowrap;
}
.recruit-table td { color: #444; }
.recruit-cta {
  text-align: center;
  margin-top: 50px;
  padding: 50px 20px;
  background: #f0f4f9;
  border-radius: 8px;
}
.recruit-cta h3 { font-size: 22px; font-weight: 700; color: #1a3a6a; margin-bottom: 16px; }
.recruit-cta p { font-size: 15px; color: #555; margin-bottom: 28px; }
.recruit-cta .cta-btn {
  display: inline-block;
  background: #1a3a6a;
  color: #fff;
  padding: 16px 50px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 4px;
  letter-spacing: 0.05em;
  transition: background 0.2s;
}
.recruit-cta .cta-btn:hover { background: #0f2550; }
.cta-contact-info {
  margin-top: 20px;
  font-size: 14px;
  color: #555;
  margin-bottom: 0;
}
.cta-contact-info a {
  color: #333 !important;
  font-weight: 400 !important;
  text-decoration: none !important;
  background: none !important;
  background-color: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  display: inline !important;
  letter-spacing: normal !important;
  font-size: 14px !important;
}
.cta-contact-info a:hover {
  text-decoration: underline !important;
  background: none !important;
  background-color: transparent !important;
}

/* ===== フッター ===== */
#site-footer { background: #1a2a4a; color: #ccd6e8; padding: 40px; }
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo img { height: 36px; }
.footer-logo span { font-size: 16px; font-weight: 700; color: #fff; }
.footer-info p { font-size: 13px; color: #aac0e0; line-height: 1.9; margin-bottom: 4px; }
.footer-nav ul { display: flex; flex-direction: column; gap: 10px; }
.footer-nav ul li a { font-size: 13px; color: #aac0e0; transition: color 0.2s; }
.footer-nav ul li a:hover { color: #fff; }
.footer-bottom {
  max-width: 1100px;
  margin: 24px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 12px;
  color: #7a8fa8;
}

/* ===== レスポンシブ ===== */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .license-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
}
@media (max-width: 600px) {
  #site-header { padding: 0 20px; }
  .logo span { font-size: 14px; }
  #site-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #1a2a4a;
    padding: 10px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  }
  #site-nav.open { display: block; }
  #site-nav ul { flex-direction: column; }
  #site-nav ul li a { display: block; padding: 12px 24px; border-radius: 0; }
  .menu-toggle { display: flex; }
  .hero-section { height: 320px; }
  .hero-overlay h1 { font-size: 26px; }
  .hero-overlay p { font-size: 14px; }
  .section { padding: 60px 16px; }
  .section-title { font-size: 24px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .company-table th, .company-table td,
  .recruit-table th, .recruit-table td { display: block; width: 100%; }
  .company-table th, .recruit-table th { background: #1a2a4a; color: #fff; padding: 10px 16px; }
  #site-footer { padding: 30px 20px; }
}
