:root {
  --color-primary: rgb(20, 109, 199);
  --color-primary-light: rgb(3, 154, 255);
  --color-white: #ffffff;
  --color-black: #000000;
  --font-main: 'Noto Sans JP', sans-serif;
  --font-accent: 'Shippori Antique B1', sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  color: var(--color-black);
  background: var(--color-white);
  min-width: 320px;
}

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

ul {
  list-style: none;
}

/* ===== HEADER / FV ===== */

.fv {
  width: 100%;
  height: 290px;
  background: linear-gradient(rgba(20, 109, 199, 0.45), rgba(20, 109, 199, 0.45)),
              url('assets/hero-bg-299b2a.png') center/cover no-repeat;
  background-color: var(--color-primary);
  position: relative;
  overflow: hidden;
}

/* Navigation */
.nav {
  width: 100%;
  height: 90px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.1));
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
}

.nav-inner {
  max-width: 1440px;
  height: 100%;
  margin: 0 auto;
  padding: 15px 16px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  width: 168px;
}

.logo-icon {
  width: 60px;
  height: 60px;
  border: 4px solid var(--color-white);
  border-radius: 50%;
  flex-shrink: 0;
}

.logo-icon--dark {
  border-color: var(--color-black);
}

.logo-text {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  font-weight: 400;
  line-height: 20.27px;
  color: var(--color-white);
}

.logo-text--dark {
  color: var(--color-black);
}

.nav-links {
  display: flex;
  gap: 16px;
  flex: 1;
  justify-content: center;
  flex-wrap: nowrap;
}

.nav-links a {
  font-size: 16px;
  font-weight: 700;
  line-height: 23.17px;
  color: var(--color-white);
  text-shadow: 4px 4px 4px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
}

.nav-links a:hover {
  opacity: 0.8;
}

.nav-cta {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.btn-nav-tel,
.btn-nav-mail {
  width: 230px;
  height: 48px;
  border: 1px solid var(--color-primary);
  border-radius: 50px;
  background: var(--color-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  transition: opacity 0.2s;
}

.btn-nav-tel:hover,
.btn-nav-mail:hover {
  opacity: 0.85;
}

.btn-nav-tel-label {
  font-size: 13px;
  font-weight: 700;
  line-height: 18.82px;
  color: var(--color-primary);
}

.btn-nav-tel-num {
  font-size: 12px;
  font-weight: 700;
  line-height: 17.38px;
  color: var(--color-primary);
}

.btn-nav-mail {
  font-size: 13px;
  font-weight: 700;
  line-height: 18.82px;
  text-align: center;
}

/* FV hero content */
.fv-content {
  position: absolute;
  left: 200px;
  bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fv-subtitle {
  font-size: 18px;
  font-weight: 700;
  line-height: 21.6px;
  color: var(--color-white);
  text-shadow: 0 4px 5px rgba(0, 0, 0, 0.3);
}

.fv-title {
  font-size: 65px;
  font-weight: 700;
  line-height: 78px;
  color: var(--color-white);
  text-shadow: 0 4px 5px rgba(0, 0, 0, 0.3);
}

/* ===== BREADCRUMB ===== */

.breadcrumb {
  width: 100%;
  height: 55px;
  background: linear-gradient(to right, rgba(20, 109, 199, 0.25), rgba(20, 109, 199, 0.08));
  display: flex;
  align-items: center;
}

.breadcrumb-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 220px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.breadcrumb-top {
  font-size: 14px;
  font-weight: 700;
  line-height: 20.27px;
  color: var(--color-primary);
}

.breadcrumb-sep {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-white);
}

.breadcrumb-current {
  font-size: 14px;
  font-weight: 700;
  line-height: 16.8px;
  color: var(--color-white);
}

/* ===== MAIN ===== */

main {
  max-width: 1440px;
  margin: 0 auto;
  padding: 70px 0 90px;
}

.not-found-section {
  padding: 0 330px;
  margin-bottom: 70px;
}

.not-found-title {
  font-size: 42px;
  font-weight: 700;
  line-height: 50.4px;
  color: var(--color-black);
  margin-bottom: 50px;
}

.not-found-body {
  font-size: 16px;
  font-weight: 400;
  line-height: 25.6px;
  color: var(--color-black);
}

.back-btn-section {
  display: flex;
  justify-content: center;
}

.btn-back {
  width: 239px;
  height: 60px;
  border: 1px solid var(--color-primary);
  border-radius: 40px;
  background: linear-gradient(135deg, var(--color-primary), rgba(2, 154, 255, 0.85));
  box-shadow: 2px 4px 0 var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  line-height: 24px;
  color: var(--color-white);
  transition: opacity 0.2s;
}

.btn-back:hover {
  opacity: 0.85;
}

/* ===== FOOTER CTA ===== */

.footer-cta {
  width: 100%;
  background: linear-gradient(135deg, var(--color-primary) 0%, rgba(2, 154, 255, 0.9) 100%);
  padding: 56px 200px;
}

.footer-cta-inner {
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.footer-cta-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.footer-cta-label {
  font-family: var(--font-accent);
  font-size: 18px;
  font-weight: 400;
  line-height: 26.06px;
  color: var(--color-white);
}

.footer-cta-title {
  font-size: 42px;
  font-weight: 700;
  line-height: 60.82px;
  color: var(--color-white);
}

.footer-cta-desc {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: var(--color-white);
  text-align: center;
}

.footer-cta-btns {
  display: flex;
  gap: 24px;
  align-items: center;
  box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.3);
  border-radius: 50px;
}

.footer-cta-btns > * {
  box-shadow: none;
}

.btn-cta-tel,
.btn-cta-mail {
  width: 350px;
  height: 78px;
  background: var(--color-white);
  border-radius: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 16px 24px;
  color: var(--color-primary-light);
  transition: opacity 0.2s;
}

.btn-cta-tel:hover,
.btn-cta-mail:hover {
  opacity: 0.88;
}

.btn-cta-main {
  font-size: 20px;
  font-weight: 700;
  line-height: 28.96px;
  color: var(--color-primary-light);
}

.btn-cta-sub {
  font-size: 14px;
  font-weight: 700;
  line-height: 20.27px;
  color: var(--color-primary-light);
}

.btn-cta-mail {
  font-size: 20px;
  font-weight: 700;
  line-height: 24px;
  border: 1px solid var(--color-white);
}

/* ===== FOOTER ===== */

.footer {
  width: 100%;
  background: var(--color-white);
  padding: 24px 120px;
  display: flex;
  flex-direction: column;
  gap: 41px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-privacy {
  font-size: 16px;
  font-weight: 400;
  line-height: 19.2px;
  color: var(--color-black);
}

.footer-privacy:hover {
  text-decoration: underline;
}

.footer-nav {
  display: flex;
  gap: 40px;
  align-items: center;
}

.footer-nav a {
  font-size: 16px;
  font-weight: 400;
  line-height: 19.2px;
  color: var(--color-black);
}

.footer-nav a:hover {
  text-decoration: underline;
}

.footer-copy {
  font-size: 16px;
  font-weight: 400;
  line-height: 19.2px;
  color: var(--color-black);
  text-align: center;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 768px) {
  .fv {
    height: auto;
    min-height: 180px;
    padding-bottom: 24px;
  }

  .nav {
    position: relative;
    height: auto;
    padding: 12px 16px;
  }

  .nav-inner {
    flex-wrap: wrap;
    gap: 12px;
    padding: 0;
    height: auto;
    max-width: 100%;
  }

  .nav-links {
    display: none;
  }

  .nav-cta {
    flex-direction: column;
    width: 100%;
  }

  .btn-nav-tel,
  .btn-nav-mail {
    width: 100%;
  }

  .fv-content {
    position: relative;
    left: auto;
    bottom: auto;
    padding: 24px 16px 0;
  }

  .fv-title {
    font-size: 40px;
    line-height: 1.2;
  }

  .breadcrumb {
    height: auto;
    padding: 12px 0;
  }

  .breadcrumb-inner {
    padding: 0 16px;
    flex-wrap: wrap;
    gap: 8px;
  }

  main {
    padding: 40px 0 60px;
  }

  .not-found-section {
    padding: 0 16px;
    margin-bottom: 40px;
  }

  .not-found-title {
    font-size: 28px;
    line-height: 1.3;
    margin-bottom: 24px;
  }

  .footer-cta {
    padding: 40px 16px;
  }

  .footer-cta-btns {
    flex-direction: column;
    width: 100%;
    box-shadow: none;
    border-radius: 0;
    gap: 16px;
  }

  .btn-cta-tel,
  .btn-cta-mail {
    width: 100%;
  }

  .footer {
    padding: 24px 16px;
    gap: 24px;
  }

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

  .footer-nav {
    flex-wrap: wrap;
    gap: 16px;
  }
}
