:root {
  --text: #222;
  --line: #d9e3ef;
  --blue: #1f65ad;
  --footer: #102a44;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--text);
  background: #f7f9fc;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo img {
  width: min(288px, 100%);
  height: auto;
  display: block;
}

.top-global-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 18px;
}

.top-global-nav a {
  color: #333;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.5;
}

.top-global-nav a:hover,
.top-global-nav a:focus-visible {
  color: var(--blue);
}

.lp-main {
  padding: 24px 0 44px;
}

.lp-image-link {
  position: relative;
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.lp-image {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #e2e9f3;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(16, 42, 68, 0.08);
  transition: filter .2s ease, box-shadow .2s ease, transform .2s ease;
}

.lp-image-link:hover .lp-image,
.lp-image-link:focus-visible .lp-image {
  filter: brightness(1.05);
  box-shadow: 0 14px 28px rgba(16, 42, 68, 0.14);
}

.site-footer {
  background: var(--footer);
  color: #dbe7f2;
  padding: 28px 0 30px;
}

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

.footer-logo {
  width: 180px;
  height: auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.footer-links a {
  color: #dbe7f2;
  text-decoration: none;
  font-size: 13px;
  line-height: 1.6;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #fff;
}

.mobile-menu-toggle {
  display: none;
}

@media (max-width: 1080px) {
  .top-global-nav {
    gap: 10px 14px;
  }

  .top-global-nav a {
    font-size: 13px;
  }
}

@media (max-width: 780px) {
  .container {
    width: min(1120px, calc(100% - 40px));
  }

  .header-inner {
    min-height: 62px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 0;
  }

  .top-global-nav {
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 6px;
    gap: 14px;
    flex-wrap: nowrap;
    justify-content: flex-start;
  }

  .top-global-nav a {
    display: inline-block;
    white-space: nowrap;
  }

  .lp-main {
    padding: 14px 0 26px;
  }

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

@media (max-width: 640px) {
  .mobile-menu {
    position: relative;
    z-index: 30;
    width: 100%;
  }

  .mobile-menu-toggle {
    box-sizing: border-box;
    width: 100%;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 18px;
    border: 1px solid #b7d9ee;
    border-radius: 999px;
    color: #111;
    font: inherit;
    font-weight: bold;
    letter-spacing: .04em;
    background: rgba(255,255,255,.92);
    box-shadow: 0 8px 22px rgba(0,76,118,.12);
    cursor: pointer;
  }

  .mobile-menu-toggle__icon {
    width: 25px;
    display: flex;
    flex-direction: column;
    gap: 5px;
  }

  .mobile-menu-toggle__icon span {
    display: block;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform .2s ease, opacity .2s ease;
  }

  .mobile-menu-toggle__text {
    flex: 1;
    text-align: left;
  }

  .mobile-menu.is-menu-open .mobile-menu-toggle__icon span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .mobile-menu.is-menu-open .mobile-menu-toggle__icon span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu.is-menu-open .mobile-menu-toggle__icon span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .mobile-menu .top-global-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 80;
    display: none;
    overflow: visible;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    border: 1px solid #b7d9ee;
    border-radius: 18px;
    background: rgba(255,255,255,.97);
    box-shadow: 0 18px 42px rgba(0,58,94,.22);
    white-space: normal;
  }

  .mobile-menu.is-menu-open .top-global-nav {
    display: flex;
  }

  .mobile-menu .top-global-nav a {
    box-sizing: border-box;
    width: 100%;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    border: 1px solid #b7d9ee;
    border-radius: 12px;
    background: #fff;
    color: #333;
    text-align: center;
  }

  .lp-image {
    border-radius: 10px;
  }

}
