:root {
  --navy: #102a56;
  --primary: #1c4489;
  --accent: #fe8a11;
  --text: #181c1e;
  --muted: #5b6470;
  --line: #cfd5dd;
  --bg: #f7fafc;
  --panel: #fff;
  --pale: #eef3f8;
}

/* =====================================================
   Base
===================================================== */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family:
    "Helvetica Neue",
    Arial,
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    Meiryo,
    sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
}

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

.container {
  width: min(1080px, calc(100% - 40px));
  margin: auto;
}

/* =====================================================
   Header
===================================================== */

.site-header {
  height: 80px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}

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

.logo {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .01em;
}

.nav {
  display: flex;
  gap: 36px;
  font-weight: 700;
}

.nav a {
  color: #5a6270;
  padding: 24px 0 18px;
  border-bottom: 3px solid transparent;
}

.nav a.active {
  color: var(--navy);
  border-color: var(--navy);
}

/* =====================================================
   Hero
===================================================== */

.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  color: #fff;
  background: url("../img/main-visual.jpg") center/cover no-repeat;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(16,42,86,.95) 0%,
    rgba(16,42,86,.72) 45%,
    rgba(16,42,86,.32) 100%
  );
}

.hero-content {
  position: relative;
  max-width: 780px;
}

.label {
  display: inline-block;
  background: var(--primary);
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.25;
  margin: 0 0 24px;
  font-weight: 700;
}

.hero p {
  font-size: 20px;
  max-width: 700px;
  margin: 0;
  color: rgba(255,255,255,.9);
}

/* =====================================================
   Section
===================================================== */

.section {
  padding: 88px 0;
}

.section-white {
  background: #fff;
}

.section-title {
  border-left: 5px solid var(--primary);
  padding-left: 22px;
  margin-bottom: 44px;
}

.section-title h2 {
  font-size: 34px;
  line-height: 1.35;
  margin: 0;
  color: var(--primary);
}

.section-title p {
  margin: 4px 0 0;
  color: #7b8490;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .1em;
}

.lead {
  font-size: 20px;
  color: #444f5d;
  margin: 0 0 42px;
}

/* =====================================================
   Cards
===================================================== */

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

.card {
  position: relative;
  padding: 30px;
  background: var(--pale);
  border: 1px solid var(--line);
}

.num {
  position: absolute;
  top: 14px;
  right: 20px;
  font-size: 44px;
  font-weight: 700;
  color: rgba(28,68,137,.15);
}

.card h3 {
  margin: 0 0 12px;
  font-size: 20px;
  color: var(--navy);
}

.card p {
  margin: 0;
  color: #4f5966;
}

/* =====================================================
   Categories
===================================================== */

.categories {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 34px;
  margin-top: 64px;
}

.category h3 {
  margin: 0 0 14px;
  padding-bottom: 14px;
  font-size: 18px;
  color: var(--navy);
  border-bottom: 1px solid var(--line);
}

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

.category li {
  padding: 8px 0;
  color: #4f5966;
}

/* ---------- Category Icons ---------- */

.category-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.category-title::before {
  content: "";
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--primary);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 17px;
}

.icon-room::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11L12 4l9 7'/%3E%3Cpath d='M5 10v10h14V10'/%3E%3Cpath d='M9 20v-6h6v6'/%3E%3C/svg%3E");
}

.icon-common::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='3' width='14' height='18' rx='1'/%3E%3Cpath d='M9 7h.01M15 7h.01M9 11h.01M15 11h.01M9 15h.01M15 15h.01'/%3E%3Cpath d='M11 21v-3h2v3'/%3E%3C/svg%3E");
}

.icon-support::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3a7 7 0 0 0-7 7v4'/%3E%3Cpath d='M19 14v-4a7 7 0 0 0-7-7'/%3E%3Crect x='3' y='13' width='4' height='6' rx='2'/%3E%3Crect x='17' y='13' width='4' height='6' rx='2'/%3E%3Cpath d='M17 19c0 1.1-2.2 2-5 2'/%3E%3Cpath d='M12 21h-1'/%3E%3C/svg%3E");
}

/* =====================================================
   Company
===================================================== */

.page-title {
  padding: 82px 0;
  color: #fff;
  background: var(--navy);
}

.page-title h1 {
  margin: 0 0 6px;
  font-size: 36px;
}

.page-title p {
  margin: 0;
  font-size: 18px;
  color: #afc6ff;
}

.page-title .bar {
  width: 96px;
  height: 4px;
  margin-top: 12px;
  background: var(--accent);
}

.profile-box {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.profile-head {
  padding: 20px 24px;
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  background: #eef3f8;
  border-bottom: 1px solid var(--line);
}

.profile-row {
  display: grid;
  grid-template-columns: 260px 1fr;
  border-bottom: 1px solid var(--line);
}

.profile-row:last-child {
  border-bottom: none;
}

.profile-row:nth-child(odd) {
  background: #f5f8fb;
}

.profile-label {
  padding: 22px 24px;
  font-weight: 700;
  color: var(--navy);
  border-right: 1px solid var(--line);
}

.profile-value {
  padding: 22px 24px;
}

/* =====================================================
   Footer
===================================================== */

.site-footer {
  background: #eef3f8;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 20px;
}

.footer-links {
  display: flex;
  gap: 22px;
  font-size: 13px;
  color: #4f5966;
}

.copyright {
  font-size: 12px;
  color: #4f5966;
}

/* =====================================================
   Responsive
===================================================== */

@media (max-width:760px) {

  .site-header,
  .header-inner {
    height: auto;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 0;
  }

  .nav {
    gap: 22px;
  }

  .hero {
    min-height: 560px;
  }

  .section {
    padding: 60px 0;
  }

  .cards,
  .categories {
    grid-template-columns: 1fr;
  }

  .profile-row {
    grid-template-columns: 1fr;
  }

  .profile-label {
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding-bottom: 10px;
  }

  .profile-value {
    padding-top: 14px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 0;
  }

  .logo {
    font-size: 20px;
  }
}