:root {
  --bg: #0f1720;
  --bg-soft: #111b26;
  --bg-light: #f4f7fb;
  --text: #1b2430;
  --text-light: #e8edf4;
  --line: #d8e0ea;
  --primary: #1f6feb;
  --primary-dark: #0d4db3;
  --accent: #00b3a4;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --radius: 18px;
  --container: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.skip-link,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  width: auto;
  height: auto;
  margin: 12px;
  padding: 12px 16px;
  clip: auto;
  background: var(--white);
  border: 2px solid var(--primary);
  z-index: 1000;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(216, 224, 234, 0.8);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  color: var(--text);
  text-decoration: none;
  min-width: 0;
}

.logo:hover {
  text-decoration: none;
}

.logo-image {
  width: clamp(180px, 28vw, 260px);
  height: auto;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  padding: 0 11px;
  cursor: pointer;
  flex: 0 0 auto;
}

.nav-toggle span:not(.sr-only) {
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 999px;
}

.site-nav {
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: none;
}

.site-nav.is-open {
  display: block;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 12px 16px 20px;
}

.site-nav a {
  display: block;
  padding: 12px 8px;
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
}

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

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

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

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

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn-nav {
  background: var(--primary);
  color: var(--white) !important;
  text-align: center;
}

.section {
  padding: 72px 0;
}

.section-dark {
  padding: 88px 0 72px;
  background:
    radial-gradient(circle at top right, rgba(0, 179, 164, 0.18), transparent 28%),
    radial-gradient(circle at left center, rgba(31, 111, 235, 0.22), transparent 30%),
    var(--bg);
  color: var(--text-light);
}

.section-dark-alt {
  background: var(--bg-soft);
  color: var(--text-light);
}

.section-accent {
  background: var(--bg-light);
}

.section-contact {
  background: linear-gradient(180deg, #f6f9fd 0%, #ffffff 100%);
}

.section-heading {
  margin-bottom: 32px;
  text-align: center;
}

.section-heading.left {
  text-align: left;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--accent);
}

.section-heading h2,
.hero h1 {
  margin: 0 0 12px;
  line-height: 1.25;
}

.section-heading h2 {
  font-size: clamp(1.8rem, 2vw + 1rem, 2.4rem);
}

.hero-grid,
.profile-grid,
.contact-grid {
  display: grid;
  gap: 32px;
}

.hero-copy h1 {
  font-size: clamp(2rem, 4vw + 0.8rem, 3.9rem);
}

.lead {
  margin: 0;
  font-size: 1rem;
  color: rgba(232, 237, 244, 0.92);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.hero-badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 24px 0 0;
}

.hero-badges li {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.92rem;
}

.hero-visual img {
  width: 100%;
  border-radius: 22px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.card-grid,
.feature-grid,
.gallery-grid {
  display: grid;
  gap: 20px;
}

.card,
.feature-item,
.profile-box,
.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.card h3,
.feature-item h3,
.profile-box h3 {
  margin-top: 0;
  margin-bottom: 12px;
}
.services-grid .card p + p {
  margin-top: 12px;
}


.feature-item {
  position: relative;
  overflow: hidden;
}

.feature-num {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--primary);
}

.gallery-item {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.profile-name {
  margin-top: 0;
  font-size: 1.25rem;
  font-weight: 700;
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.check-list li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 0.75em;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 700;
}

.profile-heading-block {
  margin-bottom: 24px;
}

.profile-grid-three {
  display: grid;
  gap: 20px;
  align-items: stretch;
}

.profile-box-primary,
.profile-box-summary,
.profile-box-qualifications {
  height: 100%;
	color: #1b2430;
}

.profile-representative {
  margin: 18px 0 10px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #1b2430;
}

.profile-address-block {
  font-style: normal;
  line-height: 1.8;
  color: #344152;
}

.profile-address-block span {
  font-weight: 700;
}

.qualification-list li.placeholder-item::before {
  content: "＋";
}

.profile-photo-placeholder {
  min-height: 280px;
  margin-top: 14px;
  margin-bottom: 18px;
  border: 2px dashed #c7d2e1;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}

.profile-photo-placeholder span {
  display: inline-block;
  margin-bottom: 8px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--primary);
}

.profile-photo-placeholder p {
  margin: 0;
  color: #5a6778;
}

.price-extra-note {
  margin-top: 24px;
  padding: 20px 22px;
  border-radius: var(--radius);
  background: #f8fbff;
  border: 1px solid #d9e5f4;
}

.price-extra-title {
  margin: 0 0 12px;
  font-weight: 800;
}

.price-extra-list {
  margin: 0;
  padding-left: 1.2em;
}

.price-extra-list li + li {
  margin-top: 6px;
}

.price-card {
  text-align: center;
}

.price-note {
  margin: 0 0 8px;
  color: #5a6778;
  font-size: 0.92rem;
}

.contact-meta {
  margin-top: 16px;
}

.contact-links {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-weight: 700;
}

.contact-links a {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.footer-links {
  margin: 0;
  text-align: center;
}

.page-hero {
  padding: 72px 0 36px;
  background:
    radial-gradient(circle at top right, rgba(0, 179, 164, 0.18), transparent 28%),
    radial-gradient(circle at left center, rgba(31, 111, 235, 0.22), transparent 30%),
    var(--bg);
  color: var(--text-light);
}

.page-hero p {
  margin: 0;
  max-width: 760px;
}

.policy-section {
  padding: 56px 0 88px;
}

.policy-layout {
  display: grid;
  gap: 24px;
}

.policy-nav,
.policy-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.policy-nav h2,
.policy-card h2 {
  margin-top: 0;
}

.policy-nav ul {
  margin: 12px 0 0;
  padding-left: 1.1em;
}

.policy-nav li + li {
  margin-top: 8px;
}

.policy-card + .policy-card {
  margin-top: 24px;
}

.policy-card p,
.policy-card li {
  color: #314055;
}

.policy-card ol,
.policy-card ul {
  margin: 12px 0 0;
  padding-left: 1.25em;
}

.policy-note {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #f6f9fd;
  border: 1px solid #d9e5f4;
}

.back-link {
  display: inline-flex;
  margin-top: 20px;
  font-weight: 700;
}

@media (min-width: 992px) {
  .policy-layout {
    grid-template-columns: 280px 1fr;
    align-items: start;
  }

  .policy-nav {
    position: sticky;
    top: 96px;
  }
}


.form-status {
  display: none;
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 700;
}

.form-status.is-error,
.form-status.is-success {
  display: block;
}

.form-status.is-error {
  color: #b91c1c;
  background: #fff1f2;
  border: 1px solid #fecdd3;
}

.form-status.is-success {
  color: #166534;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}

.field-error {
  min-height: 1.4em;
  margin: 8px 0 0;
  color: #dc2626;
  font-size: 0.92rem;
  font-weight: 700;
}

.input-error {
  border-color: #dc2626;
  background: #fff5f5;
}

.form-group {
  margin-bottom: 16px;
}

label {
  display: inline-block;
  margin-bottom: 8px;
  font-weight: 700;
}

.field-note {
  margin: 8px 0 0;
  color: #546171;
  font-size: 0.92rem;
  line-height: 1.5;
}

.field-note-inline {
  font-size: 0.92rem;
  font-weight: 500;
  color: #546171;
}

input,
textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font: inherit;
  color: var(--text);
  background: var(--white);
}

input:focus,
textarea:focus,
button:focus,
a:focus {
  outline: 3px solid rgba(31, 111, 235, 0.22);
  outline-offset: 2px;
}

.site-footer {
  background: var(--bg);
  color: var(--text-light);
  padding: 24px 0;
}

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

.footer-logo {
  display: inline-flex;
  align-items: center;
}

.footer-logo-image {
  width: min(220px, 70vw);
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.96;
}

.footer-copy,
.footer-contact {
  margin: 0;
}

.site-footer a {
  color: var(--text-light);
}

@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

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

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-nav {
    position: static;
    display: block;
    background: transparent;
    border-bottom: 0;
    box-shadow: none;
  }

  .site-nav ul {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
  }

  .site-nav a {
    padding: 10px 12px;
  }

  .nav-toggle {
    display: none;
  }

  .hero-grid,
  .profile-grid,
  .contact-grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
  }

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

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

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

  .footer-inner {
    flex-direction: row;
  }
}

@media (min-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

  .section {
    padding: 88px 0;
  }

  .hero-visual img {
    aspect-ratio: 3 / 2;
  }
}


.field-error {
  margin: 8px 0 0;
  color: #d93025;
  font-size: 0.95rem;
  font-weight: 500;
  min-height: 1.4em;
}

.input-error {
  border-color: #d93025 !important;
  background: #fff7f7;
}

.form-status {
  margin-bottom: 16px;
  padding: 0;
  font-weight: 700;
}

.form-status.is-error {
  color: #d93025;
}

.form-status.is-success {
  color: #0b7a47;
}

body.modal-open {
  overflow: hidden;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 1000;
}

.modal.is-open {
  display: block;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 32, 0.65);
}

.modal-dialog {
  position: relative;
  width: min(100% - 32px, 560px);
  margin: min(12vh, 80px) auto 0;
  background: var(--white);
  color: var(--text);
  border-radius: 20px;
  padding: 28px 24px 24px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: #eef3f9;
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.modal-close:hover {
  background: #dfe8f3;
}

.modal-eyebrow {
  margin-bottom: 6px;
}

.modal-dialog h2 {
  margin: 0 0 12px;
}

.modal-dialog p {
  margin: 0;
}

.modal-actions {
  margin-top: 24px;
  display: flex;
  justify-content: flex-end;
}


.works-section {
  background: #fbfcfe;
}

.works-block + .works-block {
  margin-top: 48px;
}

.subsection-heading {
  margin-bottom: 20px;
}

.subsection-heading h3 {
  margin: 0 0 8px;
  font-size: 1.35rem;
}

.subsection-heading p {
  margin: 0;
  color: #5a6778;
}

.video-grid,
.photo-placeholder-grid {
  display: grid;
  gap: 20px;
}

.video-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.video-frame {
  aspect-ratio: 16 / 9;
  background: #0f1720;
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.video-card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.video-card-body h4 {
  margin: 0;
  font-size: 1.05rem;
}

.btn-video {
  align-self: flex-start;
  background: var(--bg);
  color: var(--white);
}

.btn-video:hover {
  background: #1d2a38;
}

.works-block-photo {
  padding-top: 6px;
}

.photo-placeholder {
  min-height: 220px;
  border: 2px dashed #c7d2e1;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}

.photo-placeholder span {
  display: inline-block;
  margin-bottom: 8px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--primary);
}

.photo-placeholder p {
  margin: 0;
  color: #5a6778;
}

@media (min-width: 640px) {
  .photo-placeholder-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .photo-placeholder-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  .profile-grid-three {
    grid-template-columns: repeat(2, 1fr);
  }

  .profile-box-primary {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1200px) {
  .profile-grid-three {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .profile-box-primary {
    grid-column: auto;
  }
}
