:root {
  --color-main: #1d67c8;
  --color-main-light: #eaf4ff;
  --color-text: #1f2d3d;
  --color-sub: #6c7a89;
  --color-line: #e5edf5;
  --color-white: #ffffff;
  --shadow-soft: 0 12px 40px rgba(29, 103, 200, 0.08);

  --font-base:
    -apple-system,
    BlinkMacSystemFont,
    "Helvetica Neue",
    "Yu Gothic",
    YuGothic,
    "Hiragino Kaku Gothic ProN",
    Meiryo,
    sans-serif;

  --container-width: 1180px;
  --radius: 20px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  color: var(--color-text);
  font-family: var(--font-base);
  line-height: 1.9;
  letter-spacing: 0.04em;
  background: var(--color-white);
  overflow-x: hidden;
}

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

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

ul,
ol {
  list-style: none;
}

.section {
  padding: 120px 0;
}

.section-label {
  margin-bottom: 18px;
  color: var(--color-main);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 60px;
  padding: 0 24px;
  text-align: center;
}

.section-heading h2 {
  margin-bottom: 20px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.section-heading p {
  color: var(--color-sub);
  font-size: 15px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(229, 237, 245, 0.7);
}

.header-inner {
  width: min(100% - 48px, var(--container-width));
  height: 82px;
  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-mark {
  color: var(--color-main);
  font-size: 42px;
  font-family: Georgia, serif;
  line-height: 1;
  letter-spacing: -0.08em;
}

.logo-text {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.global-nav a {
  position: relative;
  font-size: 12px;
  letter-spacing: 0.14em;
  transition: 0.3s ease;
}

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

.menu-button {
  display: none;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;

  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.96) 0%,
      rgba(255, 255, 255, 0.78) 40%,
      rgba(255, 255, 255, 0.18) 100%
    );
}

.hero-inner {
  position: relative;
  z-index: 2;

  width: min(100% - 48px, var(--container-width));
  margin: 0 auto;
  padding-top: 80px;
}

.hero-label {
  margin-bottom: 22px;
  color: var(--color-main);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.hero h1 {
  margin-bottom: 30px;

  color: var(--color-main);

  font-size: clamp(40px, 7vw, 84px);
  line-height: 1.25;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.hero-copy {
  max-width: 620px;

  padding-left: 20px;
  border-left: 2px solid var(--color-main);

  font-size: clamp(15px, 2vw, 18px);
  color: #334155;
}

.scroll-sign {
  position: absolute;
  left: 40px;
  bottom: 40px;
  z-index: 2;
}

.scroll-sign span {
  position: relative;

  display: inline-block;

  color: var(--color-sub);
  font-size: 10px;
  letter-spacing: 0.2em;

  writing-mode: vertical-rl;
}

.scroll-sign span::after {
  content: "";

  display: block;

  width: 1px;
  height: 60px;

  margin: 14px auto 0;

  background: var(--color-main);
}

.concept-inner,
.contact-inner {
  width: min(100% - 48px, var(--container-width));
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.concept-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.concept-content h2 {
  margin-bottom: 36px;

  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.7;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.concept-text p {
  margin-bottom: 22px;
  color: #334155;
}

.service {
  background: #fbfdff;
}

.service-grid {
  width: min(100% - 48px, var(--container-width));
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  padding: 34px 28px;

  background: var(--color-white);

  border: 1px solid var(--color-line);
  border-radius: var(--radius);

  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);

  transition: 0.35s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.service-icon {
  width: 52px;
  margin-bottom: 26px;
}

.service-card h3 {
  margin-bottom: 14px;

  font-size: 17px;
  line-height: 1.6;
}

.service-card p {
  color: var(--color-sub);
  font-size: 14px;
}

.works-grid,
.note-grid {
  width: min(100% - 48px, var(--container-width));
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.work-card,
.note-card {
  transition: 0.3s ease;
}

.work-card:hover,
.note-card:hover {
  transform: translateY(-4px);
}

.work-image,
.note-image {
  overflow: hidden;
  border-radius: 18px;
}

.work-image img,
.note-image img {
  aspect-ratio: 4 / 3;
  object-fit: cover;

  border: 1px solid var(--color-line);

  transition: 0.4s ease;
}

.work-card:hover img,
.note-card:hover img {
  transform: scale(1.04);
}

.work-card h3,
.note-card h3 {
  margin-top: 18px;
  margin-bottom: 8px;

  font-size: 16px;
  line-height: 1.7;
}

.work-card p,
.note-card time {
  color: var(--color-sub);
  font-size: 12px;
  letter-spacing: 0.12em;
}

.contact {
  padding: 120px 0;
  background: linear-gradient(
    180deg,
    #f7fbff 0%,
    #ffffff 100%
  );
}

.contact-content h2 {
  margin-bottom: 28px;

  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.6;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.contact-content p {
  color: var(--color-sub);
}

.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;

  margin-top: 36px;
}

.button {
  min-width: 220px;
  height: 54px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 999px;

  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;

  transition: 0.3s ease;
}

.button-primary {
  color: var(--color-white);
  background: var(--color-main);
}

.button-primary:hover {
  opacity: 0.9;
}

.button-outline {
  color: var(--color-main);
  border: 1px solid var(--color-main);
  background: var(--color-white);
}

.button-outline:hover {
  background: var(--color-main-light);
}

.contact-form {
  padding: 36px;

  background: var(--color-white);

  border: 1px solid var(--color-line);
  border-radius: var(--radius);

  box-shadow: var(--shadow-soft);
}

.form-field {
  margin-bottom: 24px;
}

.form-field label {
  display: block;

  margin-bottom: 10px;

  font-size: 13px;
  font-weight: 700;
}

.form-field input,
.form-field textarea {
  width: 100%;

  padding: 16px 18px;

  border: 1px solid var(--color-line);
  border-radius: 14px;

  background: #fbfdff;

  font-family: inherit;
  font-size: 15px;

  transition: 0.3s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-main);
}

.form-submit {
  width: 100%;
  height: 56px;

  border: none;
  border-radius: 999px;

  background: var(--color-main);

  color: var(--color-white);

  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;

  cursor: pointer;

  transition: 0.3s ease;
}

.form-submit:hover {
  opacity: 0.9;
}

.site-footer {
  border-top: 1px solid var(--color-line);
}

.footer-inner {
  width: min(100% - 48px, var(--container-width));
  margin: 0 auto;

  padding: 40px 0;

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

.footer-nav {
  display: flex;
  gap: 24px;
}

.footer-nav a {
  font-size: 12px;
  letter-spacing: 0.14em;
}

.copyright {
  color: var(--color-sub);
  font-size: 11px;
}

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

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

.pc-only {
  display: inline;
}

@media screen and (max-width: 1024px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .concept-inner,
  .contact-inner {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 768px) {
  .header-inner {
    height: 72px;
  }

  .menu-button {
    width: 44px;
    height: 44px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;

    border: none;
    background: transparent;

    cursor: pointer;
  }

  .menu-button span {
    width: 100%;
    height: 1px;

    background: var(--color-text);

    transition: 0.3s ease;
  }

  .global-nav {
    position: fixed;
    top: 72px;
    left: 0;

    width: 100%;

    padding: 24px;

    display: flex;
    flex-direction: column;
    gap: 0;

    background: rgba(255, 255, 255, 0.97);

    border-bottom: 1px solid var(--color-line);

    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);

    transition: 0.3s ease;
  }

  .global-nav.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .global-nav a {
    padding: 16px 0;
    border-bottom: 1px solid var(--color-line);
  }

  .hero {
    min-height: 92vh;
  }

  .hero-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(255,255,255,0.94) 0%,
        rgba(255,255,255,0.78) 45%,
        rgba(255,255,255,0.35) 100%
      );
  }

  .hero-inner {
    padding-top: 90px;
  }

  .hero h1 {
    line-height: 1.4;
  }

  .hero-copy {
    line-height: 2;
  }

  .section {
    padding: 90px 0;
  }

  .scroll-sign {
    display: none;
  }

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

  .footer-nav {
    flex-wrap: wrap;
  }

  .pc-only {
    display: none;
  }
}

@media screen and (max-width: 560px) {
  .section {
    padding: 72px 0;
  }

  .section-heading {
    margin-bottom: 42px;
  }

  .section-heading h2,
  .concept-content h2,
  .contact-content h2 {
    line-height: 1.6;
  }

  .service-grid,
  .works-grid,
  .note-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 28px 24px;
  }

  .contact-form {
    padding: 28px 22px;
  }

  .contact-buttons {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-inner,
  .section-heading,
  .concept-inner,
  .service-grid,
  .works-grid,
  .note-grid,
  .contact-inner,
  .footer-inner {
    width: min(100% - 32px, var(--container-width));
  }
}