:root {
  --color-main: #1e3a5f;
  --color-accent: #3b82f6;
  --color-accent-hover: #2563eb;
  --color-bg: #ffffff;
  --color-bg-sub: #f5f7fa;
  --color-text: #333333;
  --color-text-sub: #6b7280;
  --shadow: 0 10px 30px rgba(30, 58, 95, 0.08);
  --radius: 16px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Hiragino Sans", "Noto Sans JP", sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
}

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

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

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

.topnote {
  font-size: 12px;
  color: red;
  font-weight: bold;
  text-align: center;
  padding: 0 var(--gutter);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.section {
  padding: 88px 0;
}

.section.-alt {
  background: var(--color-bg-sub);
}

.section__head {
  margin-bottom: 40px;
  text-align: center;
}

.section__eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--color-accent);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section__title {
  margin: 0;
  color: var(--color-main);
  font-size: clamp(1.8rem, 1.2rem + 2vw, 2.6rem);
  line-height: 1.3;
}

.section__lead {
  max-width: 720px;
  margin: 16px auto 0;
  color: var(--color-text-sub);
}

.fade-in {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.is-show {
  opacity: 1;
  transform: translateY(0);
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(30, 58, 95, 0.08);
}

main {
  padding-top: 72px;
}

.header.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 8px 20px rgba(30, 58, 95, 0.08);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  transition: min-height 0.3s ease;
}

.header.is-scrolled .header__inner {
  min-height: 60px;
}

.logo {
  color: var(--color-main);
  font-weight: 800;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
}

.nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}

.nav a {
  color: var(--color-text-sub);
  font-size: 0.95rem;
}

.nav a:hover {
  color: var(--color-main);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: 0.25s ease;
}

.btn.-primary {
  background: var(--color-accent);
  color: #fff;
}

.btn.-primary:hover {
  background: var(--color-accent-hover);
}

.btn.-ghost {
  background: #fff;
  color: var(--color-main);
  border-color: rgba(30, 58, 95, 0.18);
}

.btn.-ghost:hover {
  background: #eff6ff;
}

.hamburger {
  display: none;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 360px;
  background: #fff;
  padding: 60px 20px 40px;
  transition: 0.3s;
  transform: translateX(100%);
}

.drawer a {
  display: block;
  margin-bottom: 20px;
  color: #1e3a5f;
  font-weight: bold;
}

.drawer.open {
  transform: translateX(0);
  box-shadow: -10px 0 20px rgba(0, 0, 0, 0.1);
}

.drawer__close {
  background: none;
  border: none;
  font-size: 28px;
  position: absolute;
  top: 16px;
  left: 16px;
  cursor: pointer;
  color: #1e3a5f;
}

.menu-open {
  overflow: hidden;
}

.hero {
  padding: 88px 0 72px;
}

.hero__inner {
  display: flex;
  flex-direction: row;
  gap: 40px;
  align-items: center;
}

.hero__content {
  flex: 1;
}

.hero__visual {
  flex: 1;
}

.hero__badge {
  display: inline-block;
  margin-bottom: 20px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #eff6ff;
  color: var(--color-accent);
  font-size: 0.875rem;
  font-weight: 700;
}

.hero__title {
  margin: 0;
  color: var(--color-main);
  font-size: clamp(2.2rem, 1.2rem + 3vw, 4rem);
  line-height: 1.2;
}

.hero__text {
  margin: 20px 0 0;
  color: var(--color-text-sub);
  font-size: 1rem;
}

.hero__actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.hero__note {
  margin-top: 20px;
  color: var(--color-text-sub);
  font-size: 0.9rem;
}

.hero__visual {
  padding: 24px;
  border-radius: 28px;
  background: linear-gradient(135deg, #eff6ff, #ffffff);
  box-shadow: var(--shadow);
}

.gallery {
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(30, 58, 95, 0.08);
}

.gallery__bar {
  display: flex;
  gap: 8px;
  padding: 14px 16px;
  background: #f8fafc;
  border-bottom: 1px solid rgba(30, 58, 95, 0.08);
}

.gallery__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
}

.gallery__body {
  padding: 20px;
}

.gallery__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.gallery__hero {
  overflow: hidden;
  border-radius: 18px;
  aspect-ratio: 16/10;
  background: #e5e7eb;
}

.gallery__hero img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.gallery__card {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 14px;
  overflow: hidden;
  background: #f5f7fa;
  cursor: pointer;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.gallery__card img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.gallery__card:hover {
  transform: translateY(-2px);
}

.gallery__card.is-active {
  border-color: var(--color-accent);
}

.grid-3,
.grid-4,
.grid-2 {
  display: grid;
  gap: 24px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  padding: 28px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.card__title {
  margin: 0 0 12px;
  color: var(--color-main);
  font-size: 1.2rem;
}

.card__text {
  margin: 0;
  color: var(--color-text-sub);
}

.number {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border-radius: 50%;
  background: #eff6ff;
  color: var(--color-accent);
  font-weight: 800;
}

.works-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.works-card__thumb {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, rgba(30, 58, 95, 0.95), rgba(59, 130, 246, 0.75));
}

.works-card__thumb img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.4s;
}

.works-card:hover img {
  transform: scale(1.05);
}

.works-card__body {
  padding: 22px;
}

.works-card__tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eff6ff;
  color: var(--color-accent);
  font-size: 0.8rem;
  font-weight: 700;
}

.flow {
  counter-reset: flow;
}

.flow-item {
  position: relative;
  padding: 28px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.flow-item::before {
  counter-increment: flow;
  content: "0" counter(flow);
  display: inline-block;
  margin-bottom: 12px;
  color: var(--color-accent);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.faq {
  display: grid;
  gap: 16px;
}

.faq details {
  padding: 20px 24px;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
}

.faq summary {
  cursor: pointer;
  color: var(--color-main);
  font-weight: 700;
}

.faq p {
  margin: 12px 0 0;
  color: var(--color-text-sub);
}

.contact {
  color: #fff;
  background: var(--color-main);
}

.contact .section__title,
.contact .section__lead {
  color: #fff;
}

.contact__box {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.contact__actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.footer {
  padding: 28px 0;
  background: #142a45;
  color: rgba(255, 255, 255, 0.8);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer__nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .hero__inner,
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .nav {
    display: none;
  }
  .hero {
    padding-top: 56px;
  }
  .hero__inner {
    flex-direction: column-reverse;
  }
  .hamburger {
    width: 40px;
    height: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: none;
    border: none;
  }
  .hamburger span {
    display: block;
    height: 3px;
    background: #1e3a5f;
    border-radius: 2px;
  }
}
@media (max-width: 640px) {
  .section {
    padding: 72px 0;
  }
  .hero__actions,
  .contact__actions {
    flex-direction: column;
  }
  .btn {
    width: 100%;
  }
  .card,
  .flow-item,
  .works-card__body {
    padding: 22px;
  }
}/*# sourceMappingURL=style.css.map */