@charset "UTF-8";
:root {
  --blue: #06376d;
  --blue-deep: #002751;
  --corporate-color: #428195;
  --line-color: #1dc53f;
  --yellow: #fdcf32;
  --white: #ffffff;
  --gray: #f8f8f8;
  --gray-deep: #d0d0d0;
  --border-light: rgba(255, 255, 255, 0.3);
  --sumi: #555;
  --transition: 0.3s;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: sans-serif;
  color: var(--blue-deep);
  line-height: 1.9;
  letter-spacing: 0.12em;
}
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;
}

body {
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: "Noto Serif JP", serif;
}

/* =========================
   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: 60px;
  gap: 60px;
}

.nav a {
  position: relative;
  transition: var(--transition);
}

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

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

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

.nav a.active {
  color: var(--blue-deep);
}

.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);
}

/* 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;
}

/* =========================
   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 {
  margin-top: 100px;
}

.footer-contact {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  align-items: center;
  gap: 50px;
  background: var(--gray);
  border-left: 1px solid var(--gray-deep);
  padding: 45px 60px;
}

.footer-contact-text small {
  color: var(--blue);
  font-weight: 700;
  letter-spacing: 0.1em;
}

.footer-contact-text h2 {
  margin: 5px 0;
  font-size: clamp(23px, 3vw, 40px);
  color: var(--blue);
}

.footer-contact-text p {
  color: var(--sumi);
}

.footer-phone {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-left: 1px solid var(--gray-deep);
  padding-left: 50px;
}

.footer-phone img {
  width: 30px;
  margin-top: 15px;
}

.footer-phone a {
  font-size: clamp(28px, 7vw, 35px);
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
}

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

.footer-phone p {
  margin-top: 8px;
  font-size: 14px;
  color: var(--sumi);
}

.footer-bottom {
  background: var(--blue-deep);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 60px;
  gap: 40px;
}

.footer-company {
  display: flex;
  align-items: center;
  gap: 25px;
  flex-shrink: 0;
}

.footer-logo img {
  width: 75px;
  height: auto;
  display: block;
}

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

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

.footer-name {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 4px;
}

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

.footer-nav a {
  color: var(--white);
  text-decoration: none;
  font-size: 16px;
  letter-spacing: 0.05em;
  transition: var(--transition);
}

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

.copyright {
  font-size: 13px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}

.copyright-mark {
  font-size: 22px;
  line-height: 1;
  display: inline-block;
  font-weight: 300;
}

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

.sp-br {
  display: none;
}

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

@media (max-width: 1500px) {
  .footer-contact {
    grid-template-columns: 1fr;
    gap: 35px;
    text-align: center;
    padding: 40px 30px;
  }

  .footer-phone {
    border: none;
    padding: 0;
    justify-content: center;
    gap: 5px;
  }

  .footer-contact .line-btn {
    display: flex;
    justify-content: center;
    width: 320px;
    margin: auto;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .footer-company {
    flex-direction: column;
  }

  .footer-nav {
    margin: 0;
    justify-content: center;
    flex-wrap: wrap;
  }

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

  .footer-info::after {
    content: "";
    display: block;
    width: 320px;
    max-width: 100%;
    height: 1px;
    background: var(--border-light);
    margin: 22px auto 0;
  }
}

@media (max-width: 1110px) {
  .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;
  }

  .nav.active {
    right: 0;
  }

  .desktop-btn {
    display: none;
  }

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

  .hamburger {
    display: block;
  }

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

@media (max-width: 768px) {
  .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 {
    margin-top: 60px;
  }

  .footer-nav {
    gap: 25px;
  }

  .footer-contact {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 35px 20px;
    text-align: center;
  }

  .footer-contact-text h2 {
    margin: 5px 0;
    font-size: clamp(23px, 4vw, 40px);
  }

  .footer-contact-text p {
    font-size: 15px;
    text-align: center;
  }

  .footer-phone {
    border: none;
    padding: 0;
    justify-content: center;
  }

  .footer-phone img {
    width: 34px;
  }

  .footer-phone a {
    font-size: clamp(28px, 7vw, 35px);
  }

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

  .footer-company {
    flex-direction: column;
    gap: 18px;
  }

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

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

  .footer-nav {
    margin: 0;
    gap: 25px;
    flex-wrap: wrap;
    justify-content: center;
  }

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

  .copyright {
    font-size: 12px;
    white-space: normal;
    text-align: center;
    margin-top: 30px;
  }
}

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

  .strength-item p br.strength-br {
    display: block;
  }

  .footer-phone {
    display: block;
    text-align: center;
    padding: 0;
    gap: 0;
  }

  .footer-phone img {
    display: none;
  }

  .footer-phone div {
    width: 100%;
  }

  .footer-phone p {
    margin-top: 8px;
    text-align: center;
    line-height: 1.7;
  }

  .footer-contact-text p {
    line-height: 1.7;
  }
}
