@charset "UTF-8";
:root {
  --blue-light: #1ba1e6;
  --blue: #004c97;
  --blue-deep: #0d0e5b;
  --orange: #ff7a00;
  --box-blue-light: #daecff;
  --box-blue: #95d2f1;
  --white: #ffffff;
  --sumi: #1a1a1a;
  --gray-deep: #e9e9e9;
  --note-blue-: #f6f9ff;
  --gray: #f8f8f8;
  --border-light: rgba(255, 255, 255, 0.3);
  --transition: 0.3s;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family:
    "Hiragino Sans",
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    "YuGothic",
    "Meiryo",
    sans-serif;

  color: var(--blue-deep);
  line-height: 1.9;
  letter-spacing: 0.12em;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}
.container {
  width: min(1400px, 92%);
  margin: auto;
}

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

ul {
  list-style: none;
}

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

.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--white);
  border-bottom: 1px solid var(--gray-deep);
  z-index: 100;
}
.header-inner {
  height: 80px;
  display: flex;
  align-items: center;
  width: 95%;
}
.logo img {
  margin-top: 5px;
  display: block;
  height: 70px;
  width: auto;
}

.logo a:hover {
  opacity: 0.7;
}

.nav {
  display: flex;
  align-items: center;
  margin-left: auto;
  margin-right: 30px;
  gap: 60px;
}

.nav a {
  position: relative;
  color: var(--blue-light);
  transition: var(--transition);
  font-weight: 600;
}

.nav a:not(.line-btn):not(.sp-menu-btn)::after {
  content: "";
  position: absolute;
  left: 49%;
  bottom: -8px;
  width: 0;
  height: 1px;
  background: var(--blue-light);
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.nav a:not(.line-btn):not(.sp-menu-btn):hover::after {
  width: 100%;
}

.nav a.active::after {
  width: 100%;
}

.nav .line-btn {
  display: none;
}

.line-btn {
  background: var(--line-color);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 0;
  transition: opacity 0.3s;
}

.line-btn:hover {
  opacity: 0.9;
}

.line-btn img {
  width: 24px;
  height: 24px;
  display: block;
}

.line-btn .btn-arrow {
  transition: transform 0.3s ease;
}

.line-btn:hover .btn-arrow {
  transform: translateX(5px);
}

.sp-menu-btn-contact {
  background: var(--blue-light);
  color: var(--white) !important;
}

.sp-menu-btn-download {
  background: var(--white);
  color: var(--blue-light) !important;
  border: 1px solid var(--blue-light);
}

/* Hamburger menu */
.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  position: relative;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 2px;
  background: #032650;
  margin: 6px auto;
  transition: var(--transition);
}

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

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

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

.hamburger:hover {
  opacity: 0.7;
}

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

.hero {
  position: relative;
  margin-top: 80px;
  height: 82vh;
  min-height: 900px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(40px, 4.5vw, 72px);
  line-height: 1.5;
  color: var(--blue-deep);
  font-weight: 700;
}

.hero-logo {
  width: clamp(200px, 20vw, 400px);
  margin-bottom: 24px;
}

.hero-sub {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(1.8rem, 4vw, 4.4rem);
  line-height: 1.3;
  letter-spacing: 0.03em;
  font-weight: 700;
  max-width: 11em;
  text-shadow:
    1px 1px 2px rgba(255, 255, 255, 0.8),
    -1px 1px 2px rgba(255, 255, 255, 0.8),
    1px -1px 2px rgba(255, 255, 255, 0.8),
    -1px -1px 2px rgba(255, 255, 255, 0.8);
}

.hero-text {
  margin-top: 22px;
  font-size: clamp(18px, 3vw, 20px);
  font-weight: 700;
  line-height: 1.8;
  max-width: 38em;
  text-shadow:
    1px 1px 2px rgba(255, 255, 255, 0.8),
    -1px 1px 2px rgba(255, 255, 255, 0.8),
    1px -1px 2px rgba(255, 255, 255, 0.8),
    -1px -1px 2px rgba(255, 255, 255, 0.8);
}

.hero-buttons {
  display: flex;
  gap: 24px;
  margin-top: 60px;
}

.hero-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 260px;
  height: 64px;
  border-radius: 8px;
  font-size: 17px;
  font-weight: 700;
  transition: 0.35s;
}

.hero-btn-contact {
  background: var(--orange);
  color: var(--white);
}

.hero-btn-contact:hover {
  background: #ff9336;
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(255, 122, 0, 0.25);
}

.hero-btn-download {
  background: var(--white);
  color: var(--blue-deep);
  border: 1px solid #d8d8d8;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.hero-btn-download:hover {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 76, 151, 0.18);
}

.sp-menu-buttons {
  display: none;
}

.sp-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 280px;
  height: 56px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  transition: 0.3s;
}

.header-buttons {
  display: flex;
  gap: 18px;
  margin-left: 40px;
}

.header-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 0 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  transition: 0.3s;
}

.header-btn-contact {
  background: var(--blue-light);
  color: var(--white);
}

.header-btn-contact:hover {
  background: var(--blue);
}

.header-btn-download {
  background: var(--white);
  color: var(--blue-light);
  border: 1px solid var(--blue-light);
}

.header-btn-download:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.sp-menu-btn-contact {
  background: var(--blue-light);
  color: var(--white);
}

.sp-menu-btn-contact:hover {
  background: var(--blue);
}

.sp-menu-btn-download {
  margin-top: 16px;
  background: var(--white);
  color: var(--blue-light);
  border: 1px solid var(--blue-light);
}

.sp-menu-btn-download:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

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

/* Page top */

.page-top {
  display: block;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  color: var(--sumi);
  text-decoration: none;
  letter-spacing: 0.1em;
  padding: 30px 0 20px;
  transition: var(--transition);
}

.page-top:hover {
  opacity: 0.7;
}

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

.footer {
  margin-top: 0;
  background: var(--blue-light);
}

.page-top {
  display: block;
  padding: 26px 0;
  text-align: center;
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.15em;
  transition: var(--transition);
}

.page-top:hover {
  opacity: 0.7;
}

.footer-bottom {
  width: min(1400px, 92%);
  margin: 0 auto;
  padding: 50px 0 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
}

/* =========================
note
========================= */

.footer-note {
  width: 380px;
  background: var(--note-blue-);
  border-radius: 18px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--blue-deep);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
  transition: var(--transition);
}

.footer-note:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.16);
}

.note-left {
  flex: 1;
}

.note-logo {
  width: 90px;
  margin-bottom: 18px;
}

.note-left p {
  font-size: 16px;
  line-height: 1.8;
  font-weight: 700;
}

.note-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  padding: 12px 22px;
  background: var(--blue);
  color: var(--white);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  transition: var(--transition);
}

.footer-note:hover .note-btn {
  background: var(--orange);
}

.note-right img {
  width: 120px;
  display: block;
}

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

.footer-company {
  flex: 1;
  text-align: center;
}

.footer-logo {
  display: inline-block;
}

.footer-logo img {
  width: 180px;
  margin: 0 auto;
}

.footer-logo:hover {
  opacity: 0.7;
}

.footer-info {
  margin-top: 20px;
  color: var(--white);
  line-height: 1.8;
}

.footer-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

/* =========================
Navigation
========================= */

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 18px 60px;
}

.footer-nav a {
  color: var(--white);
  font-size: 16px;
  transition: var(--transition);
}

.footer-nav a:hover {
  opacity: 0.7;
}

.pc-br-768px {
  display: block;
}

.sp-br {
  display: none;
}

.sp-br-768px {
  display: none;
}

@media (max-width: 1330px) {
  .hero {
    margin-top: 70px;
    min-height: 0;
    height: 600px;
    padding: 0;
    align-items: center;
  }

  .hero-buttons {
    display: none;
  }

  .header-buttons {
    display: none;
  }

  .nav {
    position: fixed;
    top: 70px;
    right: -100%;
    left: auto;
    width: 100%;
    height: calc(100vh - 70px);
    margin: 0;
    padding: 0;
    gap: 35px;
    background: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.4s ease;
  }

  .sp-menu-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
  }

  .nav.active {
    right: 0;
  }

  .hamburger {
    display: block;
  }

  .header-inner > .line-btn {
    display: none;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 50px;
    padding: 50px 0;
  }

  .footer-note {
    width: 100%;
    max-width: 420px;
  }

  .footer-company {
    order: 2;
  }

  .footer-nav {
    order: 3;
    grid-template-columns: repeat(2, auto);
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 900px) {
  .hero-btns {
    flex-direction: column;
    gap: 18px;
  }

  .hero-btn {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .hero {
    margin-top: 70px;
    height: 480px;
    min-height: 0;
    padding: 0;
    align-items: center;
  }

  .hero-content {
    width: 90%;
    padding-top: 0;
  }

  .hero-btns {
    margin-top: 36px;
  }

  .hero-btn {
    width: 100%;
    min-width: 0;
    height: 58px;
  }

  .hero-logo {
    width: 110px;
    margin-bottom: 25px;
  }

  .hero-sub {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 18px;
    margin-top: 40px;
  }
  .hero-btn {
    width: 100%;
    min-width: 0;
    height: 58px;
    font-size: 16px;
  }

  .hero-content {
    width: 90%;
  }

  .hero-content p {
    line-height: 1.8;
    margin: 0;
  }

  .hero-content p {
    font-size: clamp(15px, 3vw, 20px);
  }

  .pc-br {
    display: none;
  }

  .pc-br-768px {
    display: none;
  }

  .sp-br-768px {
    display: block;
  }

  .header-inner {
    height: 70px;
    width: 92%;
  }

  .logo img {
    height: 55px;
  }

  .line-btn {
    display: none;
  }

  .page-top {
    font-size: 15px;
    padding: 20px 0;
  }

  .footer-bottom {
    padding: 40px 0;
  }

  .footer-note {
    flex-direction: column;
    text-align: center;
    padding: 24px 20px;
  }

  .note-logo {
    margin: 0 auto 18px;
  }

  .note-btn {
    width: 100%;
  }

  .note-right img {
    width: 110px;
  }

  .footer-logo img {
    width: 150px;
  }

  .footer-name {
    font-size: 16px;
  }

  .footer-info {
    font-size: 14px;
  }

  .footer-nav {
    grid-template-columns: repeat(2, max-content);
    gap: 18px 50px;
    justify-content: center;
  }

  .footer-nav a {
    text-align: left;
    font-size: 15px;
  }
}

@media (max-width: 540px) {
  .sp-br {
    display: inline;
  }
}
