:root {
  --black: #050505;
  --ink: #141414;
  --charcoal: #242424;
  --muted: #666;
  --line: #ded8cf;
  --soft: #f4f0ea;
  --white: #fff;
  --gold: #b89b5e;
  --green: #5f7d6b;
  --rose: #b57777;
  --circle: #ece5da;
  --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(8px);
}

.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: 20px;
  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;
  z-index: 0;
  background: linear-gradient(90deg, rgba(5, 5, 5, .78) 0%, rgba(5, 5, 5, .52) 46%, rgba(5, 5, 5, .18) 100%), url(../img/hero-kibo.webp) center / cover no-repeat;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(100%, 850px);
  max-width: 850px;
}

.hero-title-line {
  display: block;
  white-space: nowrap;
}

.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%;
  height: auto;
  aspect-ratio: auto;
  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;
}


/* KIBO: PROBLEM / PBS */
.section-white {
  background: var(--white);
}

.section-head-center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.problem {
  position: relative;
  z-index: 0;
  padding: clamp(78px, 10vw, 130px) clamp(20px, 5vw, 72px) 100px;
  overflow: hidden;
}

.problem::before {
  content: "";
  position: absolute;
  top: 130px;
  right: 38px;
  z-index: 0;
  width: 1130px;
  height: 1130px;
  border: solid 80px var(--circle);
  border-radius: 50%;
  opacity: .58;
  pointer-events: none;
  transform: translateX(50%);
}

.problem > * {
  position: relative;
  z-index: 1;
}

.problem-wrap {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.problem-wrap h3 {
  margin-bottom: 28px;
  color: var(--black);
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.45;
}

.problem-text {
  text-align: left;
  font-weight: 700;
}

.problem-text p + p {
  margin-top: 18px;
}

.problem-list {
  display: inline-grid;
  gap: 14px;
  margin: 42px auto 0;
  padding: 0;
  list-style: none;
  text-align: left;
  font-weight: 700;
}

.problem-list li {
  position: relative;
  padding-left: 26px;
}

.problem-list li:nth-child(1) { transition-delay: .05s; }
.problem-list li:nth-child(2) { transition-delay: .12s; }
.problem-list li:nth-child(3) { transition-delay: .19s; }
.problem-list li:nth-child(4) { transition-delay: .26s; }
.problem-list li:nth-child(5) { transition-delay: .33s; }
.problem-list li:nth-child(6) { transition-delay: .40s; }
.problem-list li:nth-child(7) { transition-delay: .47s; }

.problem-list li::before {
  content: "◆";
  position: absolute;
  top: 0;
  left: 0;
  color: var(--gold);
}

.problem-arrow {
  width: 84px;
  height: 46px;
  margin: 38px auto 28px;
  background: var(--gold);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.problem-message {
  margin-bottom: 18px;
  color: var(--black);
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.6;
  font-weight: 700;
  text-align: left;
}

.problem-solution {
  margin: 0;
  text-align: left;
}

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

.hero-copy {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(20px, 2.3vw, 30px);
  line-height: 1.65;
  font-weight: 700;
}


/* KIBO: PROFILE */
.profile-section {
  color: rgba(255,255,255,.88);
  background: #050505;
}
.profile-section h2,
.profile-section h3,
.profile-section .profile-name,
.profile-section .profile-price-note {
  color: var(--white);
}
.profile-section .section-head p:not(.section-kicker),
.profile-section .profile-content > p:not(.profile-role):not(.profile-price-note),
.profile-section .profile-message-text {
  color: rgba(255,255,255,.82);
}
.profile-layout { display:grid; grid-template-columns:minmax(280px,380px) minmax(0,1fr); gap:clamp(30px,5vw,64px); align-items:start; }
.profile-photo-wrap { border:1px solid rgba(255,255,255,.18); border-radius:8px; overflow:hidden; background:#171717; box-shadow:0 20px 50px rgba(0,0,0,.28); }
.profile-photo { width:100%; height:auto; aspect-ratio:auto; }
.profile-content { min-width:0; }
.profile-role { margin-bottom:6px; color:var(--gold); font-weight:700; }
.profile-name { margin-bottom:20px; color:var(--black); font-size:clamp(28px,4vw,42px); line-height:1.2; }
.profile-content p + p { margin-top:14px; }
.profile-message-box { margin-top:24px; padding:24px; border:1px solid rgba(255,255,255,.18); border-radius:8px; background:#171717; box-shadow:0 20px 50px rgba(0,0,0,.22); }
.profile-message-label,.profile-specialties-title { margin-bottom:10px; color:var(--gold); font-weight:700; }
.profile-message-text { margin:0; }
.profile-specialties { margin-top:24px; }
.profile-tag-list { display:flex; flex-wrap:wrap; gap:10px 12px; margin:0; padding:0; list-style:none; }
.profile-tag-list li { padding:10px 14px; border:1px solid rgba(255,255,255,.22); border-radius:999px; color:rgba(255,255,255,.88); background:#171717; box-shadow:none; font-size:15px; line-height:1.4; }
.profile-price-note { margin-top:24px; color:var(--white); font-weight:700; }

/* KIBO: PRICE */
.price-section {
  background: var(--white);
}

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

.price-card {
  min-height: 250px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.price-card-primary {
  border-color: var(--black);
}

.price-label {
  margin-bottom: 24px;
  color: var(--gold);
  font-weight: 700;
}

.price-value {
  color: var(--black);
  font-size: clamp(23px, 3vw, 34px);
  line-height: 1.35;
}

.price-value strong {
  font-size: 1.22em;
}

.price-note {
  max-width: 900px;
  margin: 36px auto 0;
  text-align: center;
}

/* KIBO: FAQ */
.faq-inner {
  max-width: 980px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 22px 24px;
  color: var(--black);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary span {
  flex: 0 0 auto;
  color: var(--gold);
}

.faq-answer {
  padding: 0 24px 24px 62px;
}

/* KIBO: CONTACT / FLOW */
.contact-intro {
  max-width: 900px;
  margin-bottom: 52px;
}

.contact-intro h3 {
  margin-top: 22px;
  color: var(--black);
  font-size: clamp(24px, 3vw, 34px);
}

.contact-direct {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.contact-direct:first-child {
  border-top: 1px solid var(--line);
}

.contact-direct-label {
  margin-bottom: 8px;
  color: var(--muted);
  font-weight: 700;
}

.contact-phone {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--black);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
}

.contact-mail {
  color: var(--black);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.privacy-link-button,
.footer-privacy-button {
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.flow-wrap {
  margin-top: 70px;
}

.flow-wrap > h3 {
  margin-bottom: 28px;
  color: var(--black);
  font-size: clamp(26px, 3vw, 34px);
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.flow-item {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.flow-item span {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
}

.flow-item h4 {
  margin: 0 0 12px;
  color: var(--black);
  font-size: 20px;
}

.flow-item p {
  margin: 0;
}

/* KIBO: INFO */
.company-section {
  background: #f4f0ea;
}
.company-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .85fr);
  gap: clamp(34px, 6vw, 74px);
  align-items: start;
}

.map-wrap {
  min-height: 520px;
}

.map-wrap iframe {
  width: 100%;
  height: 520px;
  border: 0;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

/* KIBO: footer */
.footer-kibo {
  display: grid;
  justify-items: center;
  gap: 18px;
  text-align: center;
}

.footer-company {
  margin: 0;
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  max-width: 860px;
}

.footer-nav a {
  text-align: left;
}

.footer-privacy-button {
  color: rgba(255,255,255,.82);
}

.wakworks-credit {
  opacity: .72;
}

/* KIBO: privacy modal */
.privacy-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.privacy-modal.is-open {
  display: flex;
}

.privacy-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .72);
}

.privacy-modal-panel {
  position: relative;
  z-index: 1;
  width: min(820px, 100%);
  max-height: min(82vh, 760px);
  padding: 40px;
  border-radius: 8px;
  background: var(--white);
  overflow-y: auto;
  box-shadow: 0 24px 70px rgba(0,0,0,.28);
}

.privacy-modal-panel h2 {
  margin-bottom: 28px;
  color: var(--black);
  font-size: clamp(28px, 4vw, 42px);
}

.privacy-modal-body h3 {
  margin-top: 28px;
  color: var(--black);
}

.privacy-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: 0;
  color: var(--black);
  background: transparent;
  font-size: 30px;
  cursor: pointer;
}

.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%;
  height: auto;
  aspect-ratio: auto;
  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: #171717;
  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-inner.footer-kibo {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  align-items: center;
  gap: 18px;
  width: min(1180px, 100%);
  text-align: center;
}

.footer-kibo .footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 22px;
  width: 100%;
  max-width: none;
}

.footer-kibo .footer-nav a {
  white-space: nowrap;
}

.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: 176px;
  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, .92);
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
  font-size: 12px;
  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-phone {
  background: var(--green);
}

.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;
  }

  .price-grid {
    grid-template-columns: 1fr;
  }

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

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

  .profile-layout { grid-template-columns:1fr; }
  .profile-photo-wrap { max-width:420px; }
}


@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, rgba(5, 5, 5, .90) 0%, rgba(5, 5, 5, .66) 64%, rgba(5, 5, 5, .36) 100%), url(../img/hero-kibo.webp) center / cover no-repeat;
  }

  h1 {
    font-size: clamp(30px, 9.4vw, 38px);
  }

  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(2, 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: 12px;
    text-align: left;
    white-space: normal;
  }

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

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


  .service-grid,
  .price-grid,
  .flow-grid,
  .company-layout {
    grid-template-columns: 1fr;
  }

  .profile-layout { grid-template-columns:1fr; }
  .profile-message-box { padding:20px; }
  .profile-tag-list li { font-size:14px; }

  .profile-layout { grid-template-columns:1fr; }
  .profile-photo-wrap { max-width:420px; }

  .problem {
    padding-top: 74px;
  }

  .problem::before {
    top: 118px;
    right: -700px;
    width: 920px;
    height: 920px;
    border-width: 66px;
    opacity: .48;
    transform: none;
  }

  .problem-wrap {
    padding-right: 0;
    padding-left: 0;
  }

  .problem-message {
    font-size: 20px;
  }

  .problem-arrow {
    width: 72px;
    height: 34px;
    margin: 34px auto 24px;
  }

  .faq-answer {
    padding: 0 20px 22px 20px;
  }

  .faq-item summary {
    align-items: flex-start;
    padding: 20px;
  }

  .privacy-modal {
    padding: 14px;
  }

  .privacy-modal-panel {
    padding: 34px 20px 24px;
  }

  .map-wrap,
  .map-wrap iframe {
    min-height: 380px;
    height: 380px;
  }

  .footer-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(360px, 100%);
  }

  .footer-inner.footer-kibo {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    align-items: center;
  }

  .footer-kibo .footer-nav {
    display: flex;
    width: 100%;
    justify-content: center;
    gap: 12px 18px;
  }

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


@media screen and (max-width: 375px) {
  .header-brand-name {
    max-width: calc(100vw - 106px);
    font-size: 18px;
  }

  .contents-grid a {
    white-space: normal;
  }

  .hero-actions .button {
    width: 100%;
  }

  .contact-phone {
    font-size: 24px;
  }
}
