/*
Theme Name: hairwork Deep
Description: hairwork Deep トップページテーマ。Figma「Deep_PC_TOP」(1512px) を再現。
Version: 1.0.0
Author: hairwork Deep
Text Domain: hairwork-deep
*/

/* ==========================================================
   Design tokens (Figma Deep_PC_TOP)
   ========================================================== */
:root {
  --c-bg: #f8eef0;      /* frame background */
  --c-panel: #f5e7ea;   /* pink panel */
  --c-accent: #d89898;  /* main pink */
  --c-sub: #957878;     /* sub text */
  --c-text: #5a4848;    /* body text */
  --font-serif: 'Noto Serif JP', serif;
}

/* ==== Reset ==== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
a { text-decoration: none; color: inherit; }

html { overflow-x: auto; }
body {
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 16px;
  line-height: 2;
}

/* Fixed 1512px canvas — faithful to Deep_PC_TOP */
.site {
  width: 1512px;
  margin: 0 auto;
  background: var(--c-bg);
  position: relative;
}

/* ==== Common parts ==== */
.section-title {
  font-size: 42px;
  font-weight: 500;
  letter-spacing: 16.8px;
  text-indent: 16.8px;
  color: var(--c-accent);
  text-align: center;
  line-height: normal;
}
.section-sub {
  font-size: 16px;
  letter-spacing: 4px;
  text-indent: 4px;
  color: var(--c-sub);
  text-align: center;
  margin-top: 13px;
}

.btn-more {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 250px;
  height: 56px;
  background: #fff;
  border: 1px solid var(--c-accent);
  color: var(--c-accent);
  font-size: 16px;
  letter-spacing: 4px;
  text-indent: 4px;
  transition: opacity .3s;
}
.btn-more:hover { opacity: .7; }
.btn-more .arrow {
  position: absolute;
  right: 14px;
  letter-spacing: 0;
  text-indent: 0;
}
.btn-more--center { margin-left: auto; margin-right: auto; }

/* Logo (header / footer) */
.logo {
  color: var(--c-accent);
  text-align: center;
  line-height: normal;
  display: inline-block;
}
.logo .logo-sub {
  display: block;
  font-size: 16.2px;
  letter-spacing: .65px;
}
.logo .logo-main {
  display: block;
  font-size: 56.7px;
  letter-spacing: 2.27px;
  line-height: 1.1;
  margin-top: 2px;
}

/* ==========================================================
   Header
   ========================================================== */
.site-header {
  position: relative;
  height: 254px;
}
.menu-toggle { display: none; }
.copyright { display: none; }
.site-header .logo {
  position: absolute;
  left: 60px;
  top: 44px;
}
.gnav {
  position: absolute;
  right: 60px;
  top: 79px;
}
.gnav ul {
  display: flex;
  gap: 50px;
  font-size: 18px;
  letter-spacing: .72px;
  color: var(--c-text);
  line-height: normal;
  white-space: nowrap;
}
.gnav a { transition: color .3s; }
.gnav a:hover { color: var(--c-accent); }
.header-tel {
  position: absolute;
  right: 60px;
  top: 116px;
  font-size: 24px;
  letter-spacing: 6px;
  color: var(--c-accent);
}

/* ==========================================================
   Hero + MESSAGE
   ========================================================== */
.hero {
  position: relative;
  height: 1055px;
}
.hero::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 44px;
  width: 1000px;
  height: 1011px;
  background: var(--c-panel);
}
.hero-img {
  position: absolute;
  left: 0;
  top: 0;
  width: 962px;
  height: 656px;
  object-fit: cover;
}
.hero-message {
  position: absolute;
  left: 1069px;
  top: 68px;
  width: 346px;
}
.hero-message .section-title {
  text-align: left;
  text-indent: 0;
}
.hero-message .en-sub {
  font-size: 14px;
  letter-spacing: .56px;
  color: var(--c-sub);
  margin-top: 10px;
}
.hero-message .message-body {
  margin-top: 87px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 16px;
  letter-spacing: .64px;
  color: var(--c-text);
  white-space: nowrap;
}
.hero .btn-more {
  position: absolute;
  left: 1069px;
  top: 533px;
}
.hero-gallery {
  position: absolute;
  left: 122px;
  top: 746px;
  display: flex;
  gap: 2px;
}
.hero-gallery img {
  width: 346px;
  height: 230px;
  object-fit: cover;
}

/* ==========================================================
   MENU title
   ========================================================== */
.menu-heading {
  margin-top: 101px;
  padding-bottom: 80px;
}

/* ==========================================================
   mieux system (RECOMMEND)
   ========================================================== */
.mieux {
  position: relative;
  height: 556px;
}
.mieux-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}
.mieux-card {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 71px;
  width: 824px;
  height: 435px;
  background: #fff;
  text-align: center;
}
.mieux-ribbon {
  position: absolute;
  top: -21px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 42px;
  background: var(--c-accent);
  border: 1px solid var(--c-accent);
  color: #fff;
  font-size: 16px;
  letter-spacing: 4px;
  text-indent: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mieux-title {
  margin-top: 58px;
  font-size: 36px;
  font-weight: 500;
  letter-spacing: 7.2px;
  text-indent: 7.2px;
  color: var(--c-accent);
  line-height: normal;
}
.mieux-sub {
  margin-top: 14px;
  font-size: 14px;
  letter-spacing: 3.5px;
  text-indent: 3.5px;
  color: var(--c-sub);
}
.mieux-body {
  margin-top: 37px;
  font-size: 16px;
  letter-spacing: .64px;
  color: var(--c-text);
}
.mieux-card .btn-more {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 60px;
}

/* ==========================================================
   Price cards
   ========================================================== */
.prices {
  background: var(--c-panel);
  padding: 80px 0 60px;
}
.price-cards {
  display: flex;
  justify-content: center;
  gap: 26px;
}
.price-card {
  width: 240px;
  height: 380px;
  background: #fff;
  text-align: center;
  padding-top: 56px;
}
.price-card .icon {
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.price-card .icon svg { width: 52px; height: 52px; }
.price-title {
  margin-top: 50px;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 5.6px;
  text-indent: 5.6px;
  color: var(--c-accent);
  line-height: normal;
}
.price-jp {
  margin-top: 8px;
  font-size: 16px;
  letter-spacing: 4px;
  text-indent: 4px;
  color: var(--c-sub);
}
.price-jp--small {
  font-size: 16px;
  letter-spacing: .64px;
  text-indent: 0;
  line-height: 1.4;
}
.price-value {
  margin-top: 34px;
  font-size: 24px;
  letter-spacing: 4.8px;
  color: var(--c-accent);
  line-height: normal;
}
.price-value .unit { font-size: 16px; }
.prices .btn-more { margin-top: 60px; }

/* ==========================================================
   STAFF
   ========================================================== */
.staff {
  position: relative;
  padding-top: 180px;
  padding-bottom: 63px;
}
.staff::before {
  content: "";
  position: absolute;
  right: 0;
  top: 100px;
  width: 928px;
  height: 926px;
  background: var(--c-panel);
}
.staff > * { position: relative; }
.staff-grid {
  display: flex;
  justify-content: center;
  gap: 61px;
  margin-top: 80px;
}
.staff-card { width: 280px; }
.staff-card .staff-photo {
  width: 280px;
  height: 298px;
  object-fit: cover;
  object-position: center 20%;
  background: #d9d9d9;
}
.staff-role {
  margin-top: 40px;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: .64px;
  color: var(--c-sub);
  text-align: center;
}
.staff-name {
  font-size: 24px;
  letter-spacing: .96px;
  color: var(--c-accent);
  text-align: center;
}
.staff-text {
  margin-top: 15px;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: .56px;
  color: var(--c-text);
  height: 68px;
  overflow: hidden;
}
.staff .btn-more { margin-top: 60px; }

/* ==========================================================
   STYLE
   ========================================================== */
.style {
  padding-top: 100px;
  padding-bottom: 123px;
}
.style-grid {
  display: grid;
  grid-template-columns: repeat(5, 258.5px);
  gap: 3px;
  justify-content: center;
  margin-top: 80px;
}
.style-grid img {
  width: 258.5px;
  height: 339px;
  object-fit: cover;
}
.style .btn-more { margin-top: 60px; }

/* ==========================================================
   Contact
   ========================================================== */
.contact {
  background: var(--c-accent);
  height: 340px;
  padding-top: 65px;
  text-align: center;
  color: #fff;
}
.contact-title {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 9.6px;
  text-indent: 9.6px;
  line-height: normal;
}
.contact-boxes {
  margin-top: 37px;
  display: flex;
  justify-content: center;
  gap: 19px;
}
.contact-box {
  width: 643px;
  height: 140px;
  border: 1px solid #fff;
  color: #fff;
  padding-top: 26px;
  transition: background .3s, color .3s;
}
.contact-box:hover { background: #fff; color: var(--c-accent); }
.contact-box .label {
  font-size: 20px;
  letter-spacing: 5px;
  text-indent: 5px;
  line-height: 1.4;
}
.contact-box .value {
  margin-top: 14px;
  font-size: 28px;
  letter-spacing: 7px;
  line-height: 1.4;
}
.contact-box .value--jp {
  font-size: 24px;
  letter-spacing: 6px;
  text-indent: 6px;
  line-height: 1.6;
}

/* ==========================================================
   Footer
   ========================================================== */
.site-footer {
  position: relative;
  height: 450px;
  background: #fff;
}
.site-footer .logo {
  position: absolute;
  left: 57px;
  top: 99px;
}
.footer-address {
  position: absolute;
  left: 62px;
  top: 200px;
  font-size: 14px;
  letter-spacing: .56px;
  color: var(--c-accent);
}
.footer-img-main {
  position: absolute;
  left: 493px;
  top: 0;
  width: 680px;
  height: 450px;
  object-fit: cover;
}
.footer-img-sub1,
.footer-img-sub2 {
  position: absolute;
  left: 1173px;
  width: 339px;
  height: 225px;
  object-fit: cover;
}
.footer-img-sub1 { top: 0; }
.footer-img-sub2 { top: 225px; }

/* ==========================================================
   SP (Deep_SP_TOP) — レスポンシブ
   ========================================================== */
@media (max-width: 767px) {

  body { font-size: 14px; }
  .site { width: 100%; }

  .section-title {
    font-size: 28px;
    letter-spacing: 8px;
    text-indent: 8px;
  }
  .section-sub {
    font-size: 13px;
    letter-spacing: 3px;
    text-indent: 3px;
    margin-top: 8px;
  }
  .btn-more {
    width: 200px;
    height: 48px;
    font-size: 14px;
    margin-left: auto;
    margin-right: auto;
  }

  /* --- Header --- */
  .site-header {
    height: auto;
    padding: 20px 0 16px;
    text-align: center;
  }
  .site-header .logo {
    position: static;
    display: inline-block;
  }
  .logo .logo-sub { font-size: 11px; }
  .logo .logo-main { font-size: 38px; }
  .header-tel { display: none; }

  /* Hamburger */
  .menu-toggle {
    display: block;
    position: absolute;
    right: 16px;
    top: 26px;
    width: 36px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 101;
  }
  .menu-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    margin: 6px auto;
    background: var(--c-accent);
    transition: transform .3s, opacity .3s;
  }
  body.nav-open .menu-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  body.nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .menu-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .gnav {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(248, 238, 240, .97);
  }
  body.nav-open .gnav {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .gnav ul {
    flex-direction: column;
    align-items: center;
    gap: 28px;
    font-size: 16px;
  }

  /* --- Hero + MESSAGE (ギャラリー帯なし) --- */
  .hero {
    height: auto;
    background: var(--c-panel);
    padding-bottom: 56px;
  }
  .hero::before { display: none; }
  .hero-img {
    position: static;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
  }
  .hero-message {
    position: static;
    width: 100%;
    padding: 48px 24px 0;
    text-align: center;
  }
  .hero-message .section-title { text-align: center; text-indent: 8px; }
  .hero-message .en-sub { font-size: 12px; }
  .hero-message .message-body {
    margin-top: 32px;
    gap: 16px;
    font-size: 14px;
    white-space: normal;
  }
  .hero-message .message-body p { white-space: normal; }
  .hero .btn-more {
    position: static;
    margin: 36px auto 0;
  }
  .hero-gallery { display: none; }

  /* --- MENU heading --- */
  .menu-heading {
    margin-top: 64px;
    padding-bottom: 40px;
  }

  /* --- mieux system --- */
  .mieux {
    height: auto;
    padding: 40px 20px 48px;
  }
  .mieux-card {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: 100%;
    height: auto;
    margin: 0 auto;
    padding: 44px 18px 48px;
  }
  .mieux-ribbon {
    width: 170px;
    height: 38px;
    font-size: 14px;
    top: -19px;
  }
  .mieux-title { margin-top: 0; font-size: 22px; letter-spacing: 4.4px; text-indent: 4.4px; }
  .mieux-sub { margin-top: 10px; font-size: 11px; }
  .mieux-body { margin-top: 24px; font-size: 14px; }
  .mieux-card .btn-more {
    position: static;
    transform: none;
    margin: 32px auto 0;
  }

  /* --- Prices --- */
  .prices { padding: 56px 20px; }
  .price-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
  .price-card {
    width: auto;
    height: auto;
    padding: 30px 0 34px;
  }
  .price-card .icon { height: 42px; }
  .price-card .icon svg { width: 40px; height: 40px; }
  .price-title { margin-top: 26px; font-size: 20px; letter-spacing: 4px; text-indent: 4px; }
  .price-jp { margin-top: 4px; font-size: 12px; letter-spacing: 3px; text-indent: 3px; }
  .price-jp--small { font-size: 12px; letter-spacing: .5px; text-indent: 0; }
  .price-value { margin-top: 20px; font-size: 18px; letter-spacing: 3px; }
  .price-value .unit { font-size: 12px; }
  .prices .btn-more { margin-top: 40px; }

  /* --- STAFF --- */
  .staff {
    padding: 64px 20px 56px;
  }
  .staff::before { display: none; }
  .staff-grid {
    flex-direction: column;
    gap: 48px;
    margin-top: 48px;
  }
  .staff-card { width: 100%; }
  .staff-card .staff-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 350 / 300;
  }
  .staff-role { margin-top: 22px; font-size: 13px; }
  .staff-name { font-size: 20px; }
  .staff-text { margin-top: 10px; font-size: 13px; height: auto; }
  .staff .btn-more { margin-top: 48px; }

  /* --- STYLE --- */
  .style { padding: 64px 0 80px; }
  .style-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
    margin-top: 48px;
  }
  .style-grid img {
    width: 100%;
    height: auto;
    aspect-ratio: 258.5 / 339;
  }
  .style .btn-more { margin-top: 48px; }

  /* --- Contact --- */
  .contact {
    height: auto;
    padding: 52px 20px 60px;
  }
  .contact-title {
    font-size: 18px;
    letter-spacing: 5px;
    text-indent: 5px;
    line-height: 1.9;
  }
  .contact-boxes {
    flex-direction: column;
    gap: 16px;
    margin-top: 30px;
  }
  .contact-box {
    width: 100%;
    height: 110px;
    padding-top: 18px;
  }
  .contact-box .label { font-size: 16px; letter-spacing: 4px; text-indent: 4px; }
  .contact-box .value { margin-top: 10px; font-size: 22px; letter-spacing: 4px; }
  .contact-box .value--jp { font-size: 17px; letter-spacing: 3px; text-indent: 3px; }

  /* --- Footer --- */
  .site-footer {
    height: auto;
    padding: 44px 0 0;
  }
  .site-footer .logo {
    position: static;
    display: block;
    width: fit-content;
    margin: 0 0 0 24px;
  }
  .footer-address {
    position: static;
    margin: 14px 24px 0;
    font-size: 12px;
  }
  .footer-img-main {
    position: static;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    margin-top: 32px;
  }
  .footer-img-sub1,
  .footer-img-sub2 { display: none; }

  .copyright {
    display: block;
    background: #fff;
    color: var(--c-accent);
    font-size: 10px;
    letter-spacing: .5px;
    text-align: center;
    padding: 14px 0 18px;
  }
}
