:root {
  --black: #050505;
  --ink: #141414;
  --charcoal: #242424;
  --muted: #666;
  --line: #ded8cf;
  --soft: #f4f0ea;
  --white: #fff;
  --gold: #b89b5e;
  --green: #5f7d6b;
  --rose: #b57777;
  --shadow: 0 20px 50px rgba(0, 0, 0, .12);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Hiragino Mincho ProN", "Hiragino Mincho Pro", serif !important;
  line-height: 1.8;
  letter-spacing: 0;
  overflow-x: hidden;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  min-height: 78px;
  padding: 10px 0;
  color: var(--white);
  background: rgba(5, 5, 5, .92);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 0;
  width: min(1180px, calc(100% - 40px));
  min-height: 58px;
  margin: 0 auto;
}

.header-logo {
  display: block;
  width: 86px;
  margin-right: 10px;
  flex: 0 1 auto;
}

.header-logo img {
  width: 86px;
  height: 54px;
  object-fit: contain;
  object-position: left center;
}

.header-brand-name {
  flex: 0 0 auto;
  margin-right: 32px;
  color: var(--white);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}

.global-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(12px, 2vw, 28px);
  margin-left: auto;
  width: 100%;
  font-family: "Hiragino Mincho ProN", "Hiragino Mincho Pro", serif !important;
  font-size: 13px;
}

.global-nav a {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  white-space: nowrap;
  padding: 8px 0;
  color: rgba(255, 255, 255, .86);
}

.global-nav span {
  color: var(--gold);
  font-size: 12px;
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 1002;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 1px solid rgba(255,255,255,.28);
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 1px;
  margin: 6px auto;
  background: var(--white);
  transition: transform .25s ease, opacity .25s ease;
}

.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero {
  position: relative;
  min-height: 92vh;
  padding: 160px clamp(20px, 6vw, 88px) 82px;
  color: var(--white);
  background: var(--black);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 78px 0 0;
  background: linear-gradient(90deg, rgb(93 92 92 / 92%) 0%, rgba(0, 0, 0, .72) 45%, rgb(46 45 45 / 28%) 100%), url(../img/service-salon.png) center / cover no-repeat;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 850px;
}

.section-kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-family: "Hiragino Mincho ProN", "Hiragino Mincho Pro", serif !important;
  font-size: 30px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero .section-kicker {
  font-size: 13px;
}

#products .section-kicker,
#instagram .section-kicker {
  color: var(--gold);
}

h1, h2, h3, p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 28px;
  font-family: "Hiragino Mincho ProN", "Hiragino Mincho Pro", serif !important;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 24px;
  font-family: "Hiragino Mincho ProN", "Hiragino Mincho Pro", serif !important;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 16px;
  font-size: 22px;
  line-height: 1.45;
}

.hero p {
  max-width: 720px;
  color: rgba(255,255,255,.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button,
.line-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 22px;
  border: 1px solid var(--black);
  border-radius: 4px;
  font-weight: 700;
  cursor: pointer;
}

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

.button-outline {
  color: var(--white);
  border-color: rgba(255,255,255,.62);
}

.section {
  padding: clamp(78px, 10vw, 130px) clamp(20px, 5vw, 72px);
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.section-head {
  max-width: 760px;
  margin-bottom: 44px;
}

.contents-strip {
  padding-top: 26px;
  padding-bottom: 26px;
  background: var(--black);
  color: var(--white);
}

.contents-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.2);
}

.contents-grid a {
  display: block;
  min-height: 70px;
  padding: 16px;
  background: var(--black);
  font-family: "Hiragino Mincho ProN", "Hiragino Mincho Pro", serif !important;
  line-height: 38px;
  white-space: nowrap;
}

.contents-grid span {
  display: inline;
  margin-right: 1em;
  color: var(--gold);
  font-size: 14px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

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

.visual-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--soft);
}

.card-body {
  padding: 28px;
}

.card-number,
.target-label {
  margin-bottom: 8px;
  color: var(--gold);
  font-family: "Hiragino Mincho ProN", "Hiragino Mincho Pro", serif !important;
  font-weight: 700;
}

.visual-card ul {
  padding-left: 1.2em;
  margin: 18px 0 0;
}

.section-dark {
  color: var(--white);
  background: var(--black);
}

.section-dark .section-head p,
.section-dark .visual-card p,
.section-dark .visual-card li {
  color: rgba(255,255,255,.82);
}

.dark-card {
  border-color: rgba(255,255,255,.18);
  background: #171717;
}

.section-soft {
  background: var(--soft);
}

.profile-layout,
.contact-layout,
.instagram-layout {
  display: grid;
  grid-template-columns: minmax(280px, .78fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 78px);
  align-items: center;
}

.profile-photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.profile-name {
  font-weight: 700;
}

.profile-message {
  margin-top: 24px;
  font-family: "Hiragino Mincho ProN", "Hiragino Mincho Pro", serif !important;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.35;
}

.text-link {
  display: inline-block;
  color: var(--gold);
  border-bottom: 1px solid currentColor;
  font-weight: 700;
}

.instagram-embed {
  width: 100%;
  max-width: 100%;
  min-height: 360px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 8px;
  background: #151515;
  overflow: hidden;
}

.instagram-embed > div {
  max-width: 100%;
}

.contact-layout {
  align-items: start;
}

.line-link {
  margin-top: 18px;
  color: var(--white);
  border-color: var(--green);
  background: var(--green);
}

.contact-form {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: block;
  margin-bottom: 18px;
  font-weight: 700;
}

.contact-form span {
  color: var(--rose);
  font-size: 12px;
}

input,
select,
textarea {
  width: 100%;
  margin-top: 7px;
  padding: 13px 14px;
  border: 1px solid #cfc8bd;
  border-radius: 4px;
  color: var(--ink);
  background: #fff;
  font-family: "Hiragino Mincho ProN", "Hiragino Mincho Pro", serif !important;
  font: inherit;
}

button {
  font-family: "Hiragino Mincho ProN", "Hiragino Mincho Pro", serif !important;
}

fieldset {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding: 16px;
  border: 1px solid #cfc8bd;
  border-radius: 4px;
}

legend {
  padding: 0 8px;
  font-weight: 700;
}

fieldset label {
  display: flex !important;
  align-items: center;
  gap: 8px;
  margin: 0 !important;
  font-weight: 400 !important;
}

fieldset input {
  width: auto;
  margin: 0;
}

.form-privacy {
  margin-top: 18px;
  margin-bottom: 18px;
}

.form-privacy label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  cursor: pointer;
}

.form-privacy input[type="checkbox"] {
  flex: 0 0 auto;
  width: auto;
  margin: 4px 0 0;
}

.form-privacy span {
  color: var(--ink);
  font-size: inherit;
}

.form-privacy a {
  color: inherit;
  text-decoration: underline;
}

.form-hidden-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.company-list {
  display: grid;
  grid-template-columns: 220px 1fr;
  border-top: 1px solid var(--line);
}

.company-list dt,
.company-list dd {
  margin: 0;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.company-list dt {
  color: var(--muted);
  font-weight: 700;
}

.site-footer {
  padding: 46px clamp(20px, 5vw, 72px);
  color: rgba(255,255,255,.82);
  background: var(--black);
}

.footer-inner {
  display: flex;
  gap: 28px;
  align-items: center;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.footer-logo img {
  width: 76px;
  height: 50px;
  object-fit: contain;
}

.fixed-contact {
  position: fixed;
  top: 50%;
  right: 20px;
  z-index: 900;
  display: grid;
  gap: 6px;
  width: 190px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-50%) translateX(12px);
  transition: opacity .35s ease, visibility .35s ease, transform .35s ease;
}

.fixed-contact.is-show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(-50%) translateX(0);
}

.fixed-contact a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 4px;
  color: var(--white);
  background: rgba(5,5,5,.94);
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
  text-align: left;
  white-space: nowrap;
}

.fixed-contact-icon {
  display: inline-grid;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  place-items: center;
}

.fixed-contact-icon svg {
  display: block;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.fixed-contact-line .fixed-contact-icon svg path {
  fill: currentColor;
}

.fixed-contact-line .fixed-contact-icon text {
  fill: var(--green);
  stroke: none;
  font-family: "Hiragino Mincho ProN", "Hiragino Mincho Pro", serif !important;
  font-size: 4.6px;
  font-weight: 700;
}

.fixed-contact .fixed-contact-line {
  background: var(--green);
}

.fixed-contact .fixed-contact-instagram {
  background: var(--charcoal);
}

.fixed-contact .fixed-contact-contact {
  background: var(--gold);
}

.page-top {
  position: fixed;
  right: 18px;
  bottom: 24px;
  z-index: 901;
  width: 42px;
  height: 42px;
  border: 1px solid var(--black);
  border-radius: 4px;
  color: var(--black);
  background: var(--white);
  font-size: 14px;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

.page-top.is-show {
  opacity: 1;
  pointer-events: auto;
}

.js-fadein {
  opacity: 0;
  transition: opacity .65s ease, transform .65s ease;
}

.u-fadeinUp { transform: translateY(28px); }
.u-fadeinLeft { transform: translateX(-28px); }
.u-fadeinRight { transform: translateX(28px); }
.js-fadein.is-active {
  opacity: 1;
  transform: translate(0, 0);
}

.u-fadeinLeft.is-active {
  opacity: 1;
  transform: translateX(0);
}

.u-fadeinRight.is-active {
  opacity: 1;
  transform: translateX(0);
}

.section .section-kicker.u-fadeinLeft.is-active,
.section h2.u-fadeinRight.is-active {
  opacity: 1;
  transform: translateX(0);
}

@keyframes fadeinLeft {
  0% {
    opacity: 0;
    transform: translateX(-60px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeinRight {
  0% {
    opacity: 0;
    transform: translateX(60px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .u-fadeinLeft.is-active,
  .u-fadeinRight.is-active {
    animation: none;
  }
}

.privacy-page {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  padding: 110px 0 80px;
}

.privacy-page h1 {
  color: var(--black);
  font-size: clamp(36px, 6vw, 62px);
}

.privacy-page h2 {
  margin-top: 36px;
  font-size: 24px;
}

.privacy-page a {
  color: var(--gold);
  text-decoration: underline;
}

@media (max-width: 960px) {
  .nav-toggle { display: block; }

  .global-nav {
    position: fixed;
    top: 78px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1001;
    display: grid;
    align-content: start;
    gap: 0;
    width: 100%;
    height: calc(100dvh - 78px);
    padding: 28px;
    color: var(--white);
    background: #050505;
    opacity: 0;
    transform: none;
    pointer-events: none;
    overflow-y: auto;
    transition: opacity .25s ease;
  }

  .global-nav.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .global-nav a {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,.14);
    font-size: 18px;
  }

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

  .profile-layout,
  .contact-layout,
  .instagram-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 70px;
    padding: 8px 0;
  }

  .header-inner {
    width: calc(100% - 32px);
    min-height: 54px;
  }

  .header-logo,
  .header-logo img {
    width: 74px;
  }

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

  .header-brand-name {
    max-width: calc(100vw - 164px);
    overflow: hidden;
    font-size: 22px;
    text-overflow: ellipsis;
  }

  .global-nav {
    top: 70px;
    height: calc(100dvh - 70px);
  }

  .hero {
    min-height: 90vh;
    padding: 132px 20px 54px;
  }

  .hero-bg {
    inset: 70px 0 0;
    background: linear-gradient(180deg, rgb(123 123 123 / 90%) 0%, rgb(35 34 34 / 74%) 64%, rgb(0 0 0 / 50%) 100%), url(../img/service-salon.png) center / cover no-repeat;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 34px;
  }

  .contents-grid,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .card-body,
  .contact-form {
    padding: 22px;
  }

  .company-list {
    grid-template-columns: 1fr;
  }

  .company-list dt {
    padding-bottom: 2px;
    border-bottom: 0;
  }

  .company-list dd {
    padding-top: 0;
  }

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

  body {
    padding-bottom: 58px;
  }

  .site-footer {
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .fixed-contact {
    right: 0;
    bottom: 0;
    left: 0;
    top: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    width: 100%;
    padding: 0;
    background: rgba(5,5,5,.24);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .fixed-contact.is-show {
    transform: none;
  }

  .fixed-contact a {
    justify-content: flex-start;
    gap: 6px;
    min-height: 58px;
    padding: 8px 8px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    font-size: 11px;
    text-align: left;
    white-space: normal;
  }

  .fixed-contact-icon {
    flex-basis: 18px;
    width: 18px;
    height: 18px;
  }

  .fixed-contact-icon svg {
    width: 18px;
    height: 18px;
  }

  .page-top {
    right: 12px;
    bottom: 70px;
  }
}
