/* ===================================
   Basic Reset
=================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN",
               "Hiragino Kaku Gothic Pro", "Meiryo", sans-serif;
  color: #333;
  line-height: 1.8;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

/* ===================================
   Theme Colors (青系)
=================================== */
:root {
  --primary: #3a7bd5;		/* メイン青 */
  --primary-dark: #005bac;	/* Hover / 強調 */
  --primary-light: #f0f7ff;	/* 背景用淡青 */
  --primary-background: #f0f7ff;/* 背景用淡青 */
  --text: #333;
}

/* ===================================
   Header
=================================== */
.header {
  position: fixed;
  width: 100%;
  background: white;
  padding: 15px 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  z-index: 1000;
}

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

/* Logo */
.logo-area {
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo-area img {
  height: 58px;
  width: auto;
}

.company-name {
  font-size: 25px;
  font-weight: 500;
  color: #555;
}

.nav {
  display: flex;
  gap: 25px;
}

.nav a {
  margin-left: 25px;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}

.nav a.contact-btn {
  padding: 8px 16px;
  background: var(--primary);
  color: white;
  border-radius: 4px;
  transition: background 0.3s;
}

.nav a.contact-btn:hover {
  background: var(--primary-dark);
}

/* ハンバーガーメニュー用ボタン */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

/* ===================================
   Hero Section
=================================== */
.hero {
  padding: 180px 0 120px;
  background: linear-gradient(to bottom right, var(--primary-light), #d7e7ff);
  text-align: center;
}

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

.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 12px 28px;
  border-radius: 6px;
  text-decoration: none;
  margin: 20px auto 0;
  text-align: center;
  transition: background 0.3s;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

/* Center buttons */
.center {
  text-align: center;
}

/* ===================================
   Section Common
=================================== */
.section {
  padding: 100px 0;
}

.section-title {
  font-size: 32px;
  margin-bottom: 20px;
  text-align: center;
  color: var(--primary);
}

.section-lead {
  text-align: center;
  margin-bottom: 50px;
  color: #555;
}

/* ===================================
   Services
=================================== */
.service-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.service-item {
  background: white;
  padding: 25px;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.service-item h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: var(--primary-dark);
}

.service-item ul {
  margin-top: 10px;
  padding-left: 20px;
}

/* Sub-section title */
.sub-section-title {
  margin-top: 100px;
  font-size: 28px;
  text-align: center;
  margin-bottom: 40px;
}

/* Reasons */
.reasons {
  display: flex;
  gap: 30px;
  justify-content: center;
  margin-bottom: 80px;
}

.reason-item {
  background: var(--primary-background);
  padding: 20px;
  border-radius: 6px;
  width: 30%;
}

/* Consultation CTA */
.consult-cta {
  margin-top: 80px;
  text-align: center;
  background: var(--primary-light);
  padding: 40px;
  border-radius: 8px;
}

/* ===================================
   About / Company Info
=================================== */
.company-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 40px;
  background: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  border-radius: 6px;
  overflow: hidden;
}

.company-table th,
.company-table td {
  padding: 16px;
  border-bottom: 1px solid #ddd;
}

.company-table th {
  width: 200px;
  background: var(--primary-background);
  font-weight: bold;
  color: var(--primary-dark);
}

/* ===================================
   Recruit
=================================== */
.recruit-section {
  text-align: center;
}

.recruit-section .btn-primary {
  display: inline-block;
  padding: 12px 28px;
  font-size: 16px;
  margin: 30px auto 0;
  text-align: center;
}

/* ===================================
   Contact Form
=================================== */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
  max-width: 500px;
  margin: auto;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.contact-form button {
  margin: auto;
  background: var(--primary);
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-form button:hover {
  background: var(--primary-dark);
}

/* ===================================
   Footer
=================================== */
.footer {
  padding: 40px 0;
  background: var(--primary-dark);
  color: white;
  text-align: center;
}

.footer a {
  color: #dcdcff;
  margin-left: 15px;
}

/* ===================================
   Responsive
=================================== */
@media (max-width: 1280px) {
  .logo-area img {
    height: 46px;
  }

  .company-name {
    font-size: 22px;
  }

  .nav {
    position: fixed;
    top: 70px;
    right: -250px; /* 初期は非表示 */
    width: 200px;
    height: calc(100vh - 70px);
    background: white;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    box-shadow: -2px 0 8px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    z-index: 999;
  }

  .nav.active {
    right: 0;
  }

  .menu-toggle {
    display: flex;
  }

  .nav a {
    margin: 0;
  }

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

  .reasons {
    flex-direction: column;
    width: 100%;
    align-items: center;
  }

  .reason-item {
    width: 80%;
  }
}
