*, *::before, *::after { box-sizing: border-box; }
body, html {
  margin: 0;
  padding: 0;
  background: #fff;
  width: 100%;
  font-family: 'Noto Serif JP', serif;
  scroll-behavior: smooth;
}

/* ===== HEADER ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 72px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  z-index: 100;
  border-bottom: 1px solid #e0e0e0;
}

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

.header-logo img {
 height: 40px;
}

nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

nav a {
  text-decoration: none;
  color: #595757;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  position: relative;
  padding-bottom: 3px;
}
nav a:not(.nav-contact):not([aria-label])::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: #595757;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
nav a:not(.nav-contact):not([aria-label]):hover::after {
  transform: scaleX(1);
}
nav a:not(.nav-contact):not([aria-label]):hover { color: #000; }

.nav-contact {
  background: #111;
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: opacity 0.2s !important;
}
.nav-contact:hover { opacity: 0.7; }

.nav-icons {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-left: 4px;
}
.nav-icons a {
  color: #595757;
  font-size: 1rem;
  display: flex;
  align-items: center;
}

/* ===== PRIVACY CONTENT ===== */
.privacy-section {
  width: 100%;
  padding: 120px 20px 80px;
  box-sizing: border-box;
}

.privacy-inner {
  max-width: 760px;
  margin: 0 auto;
}

.privacy-heading {
  text-align: left;
  margin: 0 0 40px;
}

.privacy-heading img {
  max-width: 300px;
  height: auto;
}

.privacy-lead {
  font-size: 0.9rem;
  color: #444;
  line-height: 2.0;
  margin: 0 0 32px;
}

.privacy-list-num {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
}

.privacy-list-num li {
  font-size: 0.9rem;
  color: #444;
  line-height: 2.0;
  padding: 12px 0 12px 0;
}

.privacy-block {
  margin: 0 0 32px;
}

.privacy-block-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #595757;
  margin: 0 0 12px;
  letter-spacing: 0.02em;
}

.privacy-block-body {
  font-size: 0.9rem;
  color: #444;
  line-height: 2.0;
  margin: 0 0 12px;
}

.privacy-list-dot {
  list-style: none;
  padding: 0;
  margin: 0 0 8px;
}

.privacy-list-dot li {
  font-size: 0.9rem;
  color: #444;
  line-height: 2.0;
  padding-left: 1em;
}

.privacy-note {
  margin: 0 0 40px;
}

.privacy-note p {
  font-size: 0.88rem;
  color: #555;
  line-height: 2.0;
  margin: 0;
}

.privacy-sign {
  font-size: 0.9rem;
  color: #444;
  line-height: 2.0;
  text-align: left;
  margin: 40px 0 0;
}

/* ===== FOOTER ===== */
.site-footer {
  width: 100%;
  padding: 60px 40px 0;
  box-sizing: border-box;
}

.footer-inner {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin: 0 auto;
  justify-content: center;
  border-bottom: 1px solid #e0e0e0;
  max-width: 750px;
  padding: 30px;
}

.footer-map {
  flex-shrink: 0;
  width: 280px;
  height: 180px;
}

.footer-map iframe {
  width: 100%;
  height: 100%;
  display: block;
  filter: grayscale(40%) saturate(80%);
}

.footer-mail {
  color: #555;
  text-decoration: none;
  border-bottom: 1px solid #aaa;
  transition: color 0.2s, border-color 0.2s;
}

.footer-mail:hover {
  color: #111;
  border-color: #111;
}

.footer-info {
  flex: none;
  width: fit-content;
}

.footer-company {
  font-size: 1rem;
  font-weight: 500;
  color: #595757;
  margin: 0 0 16px;
  line-height: 1.2;
}

.footer-company span {
  font-size: 0.85rem;
  font-weight: 400;
}

.footer-address {
  font-size: 0.85rem;
  color: #595757;
  line-height: 1.6;
  margin: 0;
}

.footer-nav-wrap {
  padding: 20px 0;
}

.footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.footer-nav a {
  text-decoration: none;
  color: #595757;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-contact {
  background: #111;
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 4px;
}

.footer-instagram {
  display: flex;
  align-items: center;
  color: #595757;
}

.footer-copy {
  text-align: center;
  padding: 24px 0;
}

.footer-copy p {
  font-size: 0.75rem;
  color: #999;
  margin: 0;
}

@media (max-width: 768px) {
  header nav a:not(.nav-contact):not([aria-label]) {
    display: none;
  }
  .footer-nav a[href="#works"],
  .footer-nav a[href="#workflow"] {
    display: none;
  }
  .footer-inner {
    gap: 20px;
    padding: 20px;
  }
  .footer-map {
    width: 200px;
    height: 160px;
    flex-shrink: 0;
  }
  .footer-info {
    min-width: 0;
  }
  .footer-address {
    font-size: 0.78rem;
    word-break: break-word;
  }
  .footer-company {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  header {
    padding: 0 12px;
    gap: 8px;
  }
  .header-logo img {
    height: 28px;
  }
  nav {
    gap: 10px;
  }
  .nav-contact {
    padding: 6px 10px;
    font-size: 0.62rem;
  }
  .privacy-section {
    padding: 100px 20px 60px;
  }
  .privacy-heading img {
    max-width: 60%;
  }
  .site-footer {
    padding: 40px 20px 0;
  }
  .footer-inner {
    flex-direction: column;
    align-items: center;
  }
  .footer-map {
    width: 100%;
    height: 200px;
  }
  .footer-nav {
    flex-wrap: wrap;
    gap: 16px;
  }
}