/*
Theme Name: Koki Renewal
Theme URI: https://koki-beauty.com/
Author: KOKI
Description: Renewal theme for KOKI CO., LTD. wholesale, logistics and cross-border EC website.
Version: 1.0.0
Text Domain: koki-renewal
*/

:root {
  --ink: #171717;
  --muted: #62676d;
  --line: #e6e2dc;
  --paper: #f7f5f1;
  --white: #ffffff;
  --red: #d80f1f;
  --blue: #2d75aa;
  --charcoal: #25282b;
  --shadow: 0 18px 54px rgba(25, 25, 25, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.section-pad {
  padding: 104px 0;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 12px 34px;
  color: var(--white);
  transition: background .28s ease, color .28s ease, box-shadow .28s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .08);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 32px;
  height: 48px;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.2;
}

.brand strong {
  font-size: 15px;
  font-weight: 600;
}

.brand small {
  margin-top: 3px;
  font-size: 10px;
  color: currentColor;
  opacity: .72;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  font-weight: 600;
}

.site-nav a {
  opacity: .9;
}

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

.nav-contact {
  padding: 9px 16px;
  border: 1px solid currentColor;
  border-radius: 4px;
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, .74) 0%, rgba(10, 10, 10, .46) 40%, rgba(10, 10, 10, .15) 100%),
    linear-gradient(0deg, rgba(10, 10, 10, .54) 0%, rgba(10, 10, 10, .06) 46%);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(880px, calc(100% - 48px));
  margin: 0 auto;
  padding: 170px 0 96px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.hero .eyebrow {
  color: #fff;
  opacity: .78;
}

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

h1 {
  max-width: 800px;
  margin-bottom: 28px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 54px;
  font-weight: 500;
  line-height: 1.32;
}

h1 span {
  display: block;
}

h2 {
  margin-bottom: 24px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 38px;
  font-weight: 500;
  line-height: 1.42;
}

h3 {
  margin-bottom: 12px;
  font-size: 20px;
  line-height: 1.45;
}

.lead {
  max-width: 620px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, .9);
  font-size: 18px;
}

.lead span {
  display: block;
}

.hero-actions,
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 4px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

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

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

.intro {
  background: var(--paper);
}

.intro-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 72px;
  align-items: start;
}

.intro-grid p:last-child {
  margin: 44px 0 0;
  color: var(--muted);
}

.section-heading {
  margin-bottom: 42px;
}

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

.service-card {
  display: grid;
  grid-template-columns: 44% 1fr;
  min-height: 302px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.service-card img {
  width: 100%;
  height: 100%;
  min-height: 302px;
  object-fit: cover;
}

.service-card div {
  padding: 34px 30px;
}

.service-card span {
  display: block;
  margin-bottom: 22px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
}

.service-card p,
.split-copy p,
.support-grid p,
.partners-head p,
.contact p {
  color: var(--muted);
}

.wholesale {
  background: var(--charcoal);
  color: var(--white);
}

.split {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 76px;
}

.split-copy p {
  color: rgba(255, 255, 255, .72);
}

.strength-list {
  display: grid;
  gap: 16px;
}

.strength-list article {
  padding: 28px 30px;
  border-left: 3px solid var(--red);
  background: rgba(255, 255, 255, .06);
}

.strength-list p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, .72);
}

.warehouse {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
  min-height: 650px;
  background: var(--paper);
}

.warehouse-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.warehouse-panel {
  align-self: center;
  padding: 72px;
}

.stats {
  display: grid;
  gap: 14px;
  margin-top: 38px;
}

.stats div {
  display: grid;
  grid-template-columns: 122px 1fr;
  align-items: baseline;
  gap: 24px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.stats strong {
  color: var(--red);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  line-height: 1;
}

.stats span {
  color: var(--muted);
}

.support {
  background: var(--white);
}

.support-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 84px;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: process;
}

.process-list li {
  position: relative;
  min-height: 96px;
  padding: 24px 22px 22px 62px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  font-weight: 700;
}

.process-list li::before {
  counter-increment: process;
  content: counter(process, decimal-leading-zero);
  position: absolute;
  left: 22px;
  top: 24px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.partners {
  background: var(--paper);
}

.partners-head {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 70px;
  align-items: end;
  margin-bottom: 42px;
}

.partner-wall {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.partner-wall figure {
  display: grid;
  place-items: center;
  height: 86px;
  margin: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.partner-wall img {
  max-width: 100%;
  max-height: 64px;
  object-fit: contain;
}

.company-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 72px;
  align-items: start;
}

.brand-card {
  margin-top: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.company-list {
  margin: 14px 0 0;
  border-top: 1px solid var(--line);
}

.company-list div {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 32px;
  padding: 23px 0;
  border-bottom: 1px solid var(--line);
}

.company-list dt {
  color: var(--muted);
  font-size: 14px;
}

.company-list dd {
  margin: 0;
  font-weight: 700;
}

.contact {
  background: var(--charcoal);
  color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 80px;
}

.contact p {
  color: rgba(255, 255, 255, .72);
}

.phone-link {
  display: inline-block;
  margin-top: 24px;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  line-height: 1.2;
}

.fax {
  margin-top: 10px;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  background: rgba(255, 255, 255, .06);
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form span {
  color: rgba(255, 255, 255, .78);
  font-size: 13px;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 4px;
  padding: 12px 14px;
  color: var(--white);
  background: rgba(255, 255, 255, .08);
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(255, 255, 255, .62);
}

.contact-form textarea {
  resize: vertical;
}

.site-footer {
  padding: 28px 0;
  color: rgba(255, 255, 255, .74);
  background: #151515;
  font-size: 13px;
}

.footer-inner {
  justify-content: space-between;
}

@media (max-width: 980px) {
  .site-header {
    min-height: 70px;
    padding: 10px 22px;
  }

  .nav-toggle {
    position: relative;
    z-index: 25;
    display: grid;
    gap: 7px;
    width: 42px;
    height: 42px;
    place-content: center;
    border: 0;
    border-radius: 4px;
    color: inherit;
    background: transparent;
  }

  .nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
  }

  .site-nav {
    position: fixed;
    inset: 70px 0 auto 0;
    display: none;
    padding: 18px 24px 28px;
    color: var(--ink);
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 18px 34px rgba(0, 0, 0, .1);
  }

  .site-nav.is-open {
    display: grid;
    gap: 16px;
  }

  h1 {
    font-size: 39px;
  }

  h2 {
    font-size: 31px;
  }

  .section-pad {
    padding: 78px 0;
  }

  .intro-grid,
  .split,
  .support-grid,
  .partners-head,
  .company-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .intro-grid p:last-child {
    margin-top: 0;
  }

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

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

  .warehouse-media {
    min-height: 360px;
  }

  .warehouse-panel {
    padding: 54px 24px 68px;
  }

  .partner-wall {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .container,
  .hero-content {
    width: min(100% - 32px, 1120px);
  }

  .hero {
    min-height: 88vh;
  }

  .hero-media img {
    object-position: 55% center;
  }

  .hero-content {
    padding-bottom: 56px;
  }

  h1 {
    font-size: 30px;
  }

  h2 {
    font-size: 27px;
  }

  .lead {
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
  }

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

  .service-card img {
    height: 210px;
    min-height: 210px;
  }

  .process-list,
  .stats div,
  .company-list div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

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

  .contact-form {
    padding: 24px;
  }

  .phone-link {
    font-size: 25px;
  }

  .footer-inner {
    display: grid;
    gap: 8px;
  }
}
