/* ========================================
   リセット・ベース
======================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-navy: #1B3A6B;
  --color-blue: #2A7FD4;
  --color-blue-light: #4A9FE4;
  --color-text: #1A1A1A;
  --color-text-muted: #5A6478;
  --color-bg: #F5F7FA;
  --color-white: #FFFFFF;
  --color-border: #E2E8F0;
  --color-navy-dark: #122A52;
  --header-height: 72px;
  --transition: 0.3s ease;
  --shadow-sm: 0 2px 8px rgba(27, 58, 107, 0.08);
  --shadow-md: 0 4px 20px rgba(27, 58, 107, 0.12);
  --shadow-lg: 0 8px 40px rgba(27, 58, 107, 0.16);
  --radius: 12px;
}

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

body {
  font-family: 'Noto Sans JP', 'Inter', sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

/* ========================================
   レイアウト
======================================== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

/* ========================================
   フェードインアニメーション
======================================== */
.fade-in {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   ヘッダー
======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ロゴ */
.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-mark {
  width: 44px;
  height: 44px;
  background: var(--color-blue);
  color: var(--color-white);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}

.logo-mark--light {
  background: var(--color-white);
  color: var(--color-blue);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text__main {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.2;
  transition: color var(--transition);
}

.logo-text__sub {
  font-size: 10px;
  font-family: 'Inter', sans-serif;
  color: var(--color-text-muted);
  letter-spacing: 0.3px;
  line-height: 1.4;
  transition: color var(--transition);
}

.logo-text__main--light {
  color: var(--color-white) !important;
}

.logo-text__sub--light {
  color: rgba(255, 255, 255, 0.7) !important;
}

/* ナビ */
.nav__list {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__link {
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
  color: var(--color-text);
}

.nav__link:hover {
  background: var(--color-bg);
  color: var(--color-blue);
}

.nav__link.contact-btn {
  background: var(--color-blue);
  color: var(--color-white) !important;
  padding: 10px 20px;
}

.nav__link.contact-btn:hover {
  background: var(--color-blue-light);
}

/* ハンバーガー */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-navy);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ========================================
   ヒーロー
======================================== */
.hero {
  margin-top: var(--header-height);
  position: relative;
}

.hero__img {
  width: 100%;
  height: auto;
  display: block;
}

.hero__logo {
  position: absolute;
  top: 5%;
  left: 3%;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ========================================
   セクション共通
======================================== */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-label {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--color-blue);
  background: rgba(42, 127, 212, 0.08);
  padding: 4px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  color: var(--color-navy);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 16px;
  color: var(--color-text-muted);
  max-width: 520px;
  margin: 0 auto;
}

/* ========================================
   事業内容
======================================== */
.services {
  background: var(--color-bg);
}

.services__category {
  margin-bottom: 56px;
}

.services__category:last-child {
  margin-bottom: 0;
}

.services__category-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--color-border);
}

.services__category-title svg {
  width: 22px;
  height: 22px;
  color: var(--color-blue);
  flex-shrink: 0;
}

/* カード */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.card--image {
  padding: 0;
  overflow: hidden;
}

.card__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius) var(--radius) 0 0;
}

.card--image .card__body {
  padding: 24px;
}

.services__banner {
  margin-bottom: 56px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

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

.card__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 8px;
  line-height: 1.4;
}

.card__desc {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ========================================
   会社概要
======================================== */
.about {
  background: var(--color-white);
}

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

.about__table {
  width: 100%;
  border-collapse: collapse;
}

.about__table tr {
  border-bottom: 1px solid var(--color-border);
}

.about__table th,
.about__table td {
  padding: 18px 16px;
  text-align: left;
  font-size: 15px;
  line-height: 1.7;
}

.about__table th {
  width: 40%;
  font-weight: 700;
  color: var(--color-navy);
  background: rgba(27, 58, 107, 0.03);
  white-space: nowrap;
}

.about__table td {
  color: var(--color-text);
}

.text-small {
  font-size: 12px;
  color: var(--color-text-muted);
  font-family: 'Inter', sans-serif;
}

.tel-link {
  color: var(--color-blue);
  font-weight: 700;
  font-size: 18px;
  font-family: 'Inter', sans-serif;
}

.tel-link:hover {
  text-decoration: underline;
}

.about__map {
  height: 400px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

.about__map iframe {
  width: 100%;
  height: 100%;
}

/* ========================================
   お問い合わせ
======================================== */
.contact {
  background: var(--color-bg);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: start;
}

.contact__phone-card {
  background: var(--color-navy);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  color: var(--color-white);
}

.contact__phone-icon {
  width: 48px;
  height: 48px;
  color: var(--color-blue-light);
  margin: 0 auto 16px;
}

.contact__phone-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 12px;
}

.contact__phone-number {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--color-white);
  margin-bottom: 8px;
}

.contact__phone-hours {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 32px;
}

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

/* ボタン */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}

.btn--primary {
  background: var(--color-blue);
  color: var(--color-white);
}

.btn--primary:hover {
  background: var(--color-blue-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(42, 127, 212, 0.4);
}

.btn svg {
  width: 18px;
  height: 18px;
}

/* フォーム */
.contact__form-wrap {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 8px;
}

.required {
  background: #E53E3E;
  color: var(--color-white);
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  color: var(--color-text);
  background: var(--color-white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px rgba(42, 127, 212, 0.12);
}

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

.form-submit {
  width: 100%;
  justify-content: center;
  font-size: 16px;
  padding: 16px;
  margin-top: 8px;
}

.form-status {
  font-size: 14px;
  text-align: center;
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 8px;
  display: none;
}

.form-status--success {
  display: block;
  background: #EBF8EE;
  color: #276749;
  border: 1px solid #9AE6B4;
}

.form-status--error {
  display: block;
  background: #FFF5F5;
  color: #C53030;
  border: 1px solid #FEB2B2;
}

/* ========================================
   採用情報
======================================== */
.recruit {
  background: var(--color-white);
}

.recruit__inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.recruit__job {
  background: var(--color-navy);
  border-radius: var(--radius);
  padding: 40px;
  color: var(--color-white);
}

.recruit__job-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--color-blue-light);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.recruit__job-name {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.4;
}

.recruit__job-detail {
  font-size: 15px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.85);
  max-width: 720px;
}

.recruit__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.recruit__card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px 28px 24px;
}

.recruit__card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-blue);
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-blue);
  display: inline-block;
}

.recruit__card-body {
  font-size: 14px;
  line-height: 2;
  color: var(--color-text);
}

.recruit__note {
  font-size: 12px;
  color: var(--color-text-muted);
}

.recruit__badge {
  display: inline-block;
  background: rgba(42, 127, 212, 0.1);
  color: var(--color-blue);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  margin-right: 4px;
}

.recruit__cta {
  text-align: center;
  padding: 48px 32px;
  background: var(--color-bg);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}

.recruit__cta-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 20px;
}

.recruit__cta-btn {
  font-size: 18px;
  padding: 16px 40px;
  margin-bottom: 12px;
}

.recruit__cta-note {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-top: 12px;
}

@media (max-width: 768px) {
  .recruit__grid {
    grid-template-columns: 1fr;
  }

  .recruit__job {
    padding: 28px 24px;
  }

  .recruit__cta-btn {
    font-size: 16px;
    padding: 14px 24px;
  }
}

/* ========================================
   フッター
======================================== */
.footer {
  background: var(--color-navy-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 64px 0 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 48px;
  align-items: start;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__logo .header__logo {
  display: flex;
}

.footer__info {
  font-size: 14px;
  line-height: 2;
}

.footer__tel {
  color: var(--color-blue-light);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

.footer__nav ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__nav a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition);
}

.footer__nav a:hover {
  color: var(--color-white);
}

.footer__copy {
  text-align: center;
  padding: 24px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  font-family: 'Inter', sans-serif;
}

/* ========================================
   レスポンシブ
======================================== */
@media (max-width: 1024px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .about__inner {
    grid-template-columns: 1fr;
  }

  .about__map {
    height: 320px;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer__logo {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  .section {
    padding: 72px 0;
  }

  /* ハンバーガーメニュー表示 */
  .hamburger {
    display: flex;
  }

  .nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-white);
    padding: 32px 24px;
    transform: translateX(100%);
    transition: transform var(--transition);
    overflow-y: auto;
  }

  .nav.open {
    transform: translateX(0);
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .nav__link {
    color: var(--color-text) !important;
    font-size: 18px;
    padding: 16px 20px;
    border-radius: 8px;
  }

  .nav__link:hover {
    background: var(--color-bg) !important;
    color: var(--color-blue) !important;
  }

  .nav__link.contact-btn {
    background: var(--color-blue) !important;
    color: var(--color-white) !important;
    text-align: center;
    margin-top: 16px;
  }

  /* ヒーロー */
  .hero__content {
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding-bottom: 48px;
  }

  .hero__circle-badge {
    align-self: flex-end;
    width: 130px;
    height: 130px;
  }

  .hero__circle-badge-location {
    font-size: 11px;
  }

  .hero__circle-badge-text {
    font-size: 10px;
  }

  .hero__badges {
    gap: 16px;
  }

  /* カード */
  .cards {
    grid-template-columns: 1fr;
  }

  /* お問い合わせ */
  .contact__inner {
    grid-template-columns: 1fr;
  }

  .contact__phone-number {
    font-size: 28px;
  }

  .contact__form-wrap {
    padding: 28px 24px;
  }

  /* フッター */
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__logo {
    grid-column: auto;
  }

  .footer__nav ul {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .hero__badge {
    gap: 6px;
  }

  .hero__badge svg {
    width: 32px;
    height: 32px;
  }

  .hero__badge span {
    font-size: 12px;
  }

  .section-header {
    margin-bottom: 48px;
  }

  .about__table th {
    width: 35%;
    font-size: 13px;
    padding: 14px 12px;
  }

  .about__table td {
    font-size: 14px;
    padding: 14px 12px;
  }
}
