/* ========================================
   共通
======================================== */
/* カラー設定 */
:root {
  --brand: #d90a58;
  --brand-dark: #9d073f;
  --ink: #171414;
  --muted: #6e6663;
  --cream: #f1ede2;
  --sand: #d8cec0;
  --blush: #fbe3d9;
  --white: #ffffff;
  --header-height: 78px;
  --font-sans:
    "Helvetica Neue", "Hiragino Sans", "Yu Gothic", "YuGothic", Arial,
    sans-serif;
  --font-serif:
    "Bodoni 72", Didot, "Times New Roman", "Yu Mincho", "YuMincho", serif;
}

/* フォント設定 */
.hero h1,
.section-title,
.section-number,
.contact-section h2,
.business-title {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.035em;
}

.eyebrow,
.section-label,
.product-card-body h3,
.nav-link {
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  letter-spacing: 0.025em;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

/* ========================================
   ヘッダー・ナビゲーション
======================================== */
.site-header {
  position: fixed;
  z-index: 1030;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(23, 20, 20, 0.08);
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform;
  transition: box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 12px 35px rgba(34, 20, 24, 0.08);
}

.navbar {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.navbar-brand img,
.site-footer img {
  display: block;
  width: auto;
  object-fit: contain;
}

.navbar-toggler {
  border: 0;
  box-shadow: none !important;
}

.nav-link {
  position: relative;
  margin: 0 0.2rem;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.nav-link::after {
  position: absolute;
  right: 0.5rem;
  bottom: 0.15rem;
  left: 0.5rem;
  height: 2px;
  background: var(--brand);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav-link:hover,
.nav-link:focus,
.nav-link.active {
  color: var(--brand);
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.btn {
  font-weight: 700;
  letter-spacing: 0.04em;
}

.btn-brand {
  padding: 5px 35px;
  color: var(--white);
  background: var(--brand);
  border: 1px solid var(--brand);
  border-radius: 5px;
  box-shadow: 0 6px 14px rgba(23, 20, 20, 0.22);
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.btn-brand:hover,
.btn-brand:focus {
  color: var(--white);
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  box-shadow: 0 9px 20px rgba(23, 20, 20, 0.28);
  transform: translateY(-2px);
}

.nav-link span,
.contact-nav span {
  display: block;
}

.nav-ja {
  margin-top: 0.2rem;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-align: center;
}

.navbar .nav-link.active,
.navbar .nav-link.active .nav-ja {
  color: var(--brand);
}

/* ========================================
   トップ
======================================== */
.hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--header-height) + 5rem) 0 6rem;
  background: var(--cream);
}

.hero .container-xl {
  z-index: 1;
}

.hero-copy .btn {
  display: block;
  width: max-content;
  margin-right: 0 !important;
  margin-left: auto !important;
  text-align: center;
}

.eyebrow {
  color: var(--muted);
  margin-bottom: 0.75rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.22em;
}

.style-maker-logo {
  display: block;
  width: clamp(240px, 45vw, 500px);
  height: auto;
}

@media (max-width: 767.98px) {
  .style-maker-logo {
    width: clamp(240px, 70vw, 280px);
  }
}

.hero-lead {
  margin-top: 2rem;
  font-size: clamp(0.95rem, 1.3vw, 1.1rem);
  letter-spacing: 0.08em;
}

.hero-visual {
  position: relative;
  overflow: hidden;
  box-shadow: 22px 22px 0 var(--brand);
}

.hero-visual::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.55);
  content: "";
  pointer-events: none;
}

.hero-visual img {
  display: block;
  width: 100%;
  min-height: 450px;
  object-fit: cover;
}

.hero-square {
  position: absolute;
  display: block;
  background: var(--brand);
  pointer-events: none;
}

.hero-square-top {
  top: -3rem;
  left: 41%;
  width: 11rem;
  height: 11rem;
  opacity: 0.1;
}

.hero-square-bottom {
  right: -1rem;
  bottom: -2.5rem;
  width: 5.5rem;
  height: 5.5rem;
}

/* メインコピー */
.hero-concept {
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.6rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.hero-lead {
  margin-top: 0.85rem;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.3vw, 1.1rem);
  font-weight: 600;
  letter-spacing: 0.08em;
}

/* About usリンク */
.hero-link {
  display: flex;
  width: fit-content;
  margin-left: auto;
  padding-bottom: 0.3rem;
  align-items: center;
  gap: 0.6rem;
  color: var(--brand);
  border-bottom: 1px solid currentColor;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.hero-link::after {
  content: "→";
  transition: transform 0.2s ease;
}

.hero-link:hover,
.hero-link:focus {
  color: var(--brand-dark);
}

.hero-link:hover::after,
.hero-link:focus::after {
  transform: translateX(4px);
}

/* ========================================

   セクション共通

======================================== */
.section {
  padding: 4rem 0;
}

/* セクション見出し */
.section-heading-label {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

/* セクション番号 */
.section-number {
  flex-shrink: 0;
  margin: 0;
  color: var(--brand);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

/* 英語・日本語・ライン */
.section-label-group {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.5rem;
}

.section-label,
.section-label-ja {
  margin: 0;
  line-height: 1;
  white-space: nowrap;
}

/* 英語見出し */
.section-label {
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
}

/* 日本語見出し */
.section-label-ja {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

/* 見出し横のライン */
.section-heading-line {
  display: block;
  flex: 0 0 3rem;
  width: 3rem;
  height: 1px;
  background: var(--brand);
}

/* セクションタイトル */
.section-title {
  margin: 0;
  font-size: clamp(1.3rem, 1.8vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.3;
}

/* OUR PRODUCT 専用 */
.section-heading-label-slash .section-label-group::before {
  content: "/";
  margin-right: 0.5rem;
  color: var(--brand);
  font-size: 2rem;
  font-weight: 300;
  line-height: 1;
  transform: translateY(-1px);
}

/* スマートフォン */
@media (max-width: 575.98px) {
  .section {
    padding: 3.5rem 0;
  }

  .section-heading-label {
    gap: 0.8rem;
  }

  .section-number {
    font-size: 1.7rem;
  }

  .section-label-group {
    gap: 0.65rem;
  }

  .section-title {
    margin-top: 0.5rem;
  }

  .section-label {
    font-size: 0.8rem;
    letter-spacing: 0.16em;
    margin-bottom: 0;
  }

  .section-label-ja {
    font-size: 1rem;
  }

  .section-heading-line {
    flex-basis: 2rem;
    width: 2rem;
  }
}

/* ========================================
   OUR BUSINESS（ビジネスメッセージ）
======================================== */
.business-section {
  padding: 2.5rem 0;
}

.business-label {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--brand);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.22em;
}

.business-label::before {
  content: "/";
  font-size: 2rem;
  font-weight: 300;
  line-height: 1;
  transform: translateY(-1px);
}

.business-title {
  position: relative;
  margin: 0;
  font-size: clamp(27px, 2.2vw, 36px);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.06em;
  margin-top: 1rem;
}

.business-title span {
  position: relative;
  z-index: 0;
}

.business-title span::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: 0.08em;
  height: 0.14em;
  background: rgba(229, 0, 80, 0.14);
  z-index: -1;
}

.business-copy {
  line-height: 2;
}

/* ========================================
   PRODUCTS（取扱商品）
======================================== */
.products-section {
  background: var(--sand);
}

.product-card {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--ink);
}

.product-card::after {
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(transparent, rgba(17, 11, 11, 0.82));
  content: "";
}

.product-card img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.product-card:hover img {
  transform: scale(1.04);
}

.product-card-body {
  position: absolute;
  z-index: 1;
  right: 1.4rem;
  bottom: 1.25rem;
  left: 1.4rem;
  color: var(--white);
}

.product-card-body span {
  color: var(--blush);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.product-card-body h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
}

/* ========================================
   OUR STRENGTH（私たちの強み）
======================================== */
.strengths-section {
  background: var(--cream);
}

.strength-card {
  position: relative;
  height: 100%;
  padding: 15px;
  overflow: hidden;
  background: #fff;
  border-top: 5px solid #dc0050;
}

.strength-head {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* アイコン画像 */
.strength-head img {
  display: block;
  width: 130px;
  height: 130px;
  object-fit: contain;
}

/* 見出し */
.strength-card h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 1.15rem;
  line-height: 1.5;
  font-weight: 700;
}

.strength-card h3 > i {
  color: var(--brand);
  font-size: 13px;
}

/* 説明文 */
.strength-card p {
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.9;
}

/* ========================================
   LINEUP（商品ラインナップ）
======================================== */
.lineup-section {
  background: var(--white);
}

.lineup-grid > div {
  display: flex;
}

.lineup-card {
  width: 100%;
  padding: 10px;
  background: #fff;
  border: 1px solid #e6ded3;
  transition:
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.lineup-card h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: 0.02em;
}

.lineup-card:hover {
  border-color: var(--brand);
  box-shadow: 12px 12px 0 var(--blush);
  transform: translateY(-4px);
}

.lineup-card img {
  display: block;
  width: 86px;
  height: 86px;
  margin: 0 auto 0.2rem;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.lineup-card h3 {
  margin-bottom: 0.7rem;
  color: var(--brand);
  font-size: 1.15rem;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.lineup-card h3 span {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: none;
}

.lineup-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.lineup-items {
  position: relative;
  display: flex;
  min-height: 129px;
  margin: 0;
  padding: 0 0 1.5rem;
  flex-wrap: wrap;
  align-content: flex-start;
  justify-content: center;
  gap: 0.45rem;
  list-style: none;
}

.lineup-items li {
  display: flex;
  min-height: 20px;
  padding: 4px;
  align-items: center;
  background: var(--cream);
  border-radius: 5px;
  font-size: 0.8rem;
  line-height: 1;
  white-space: nowrap;
}

/* 「etc」を右下に統一 */
.lineup-items .lineup-more {
  position: absolute;
  right: 0;
  bottom: 0;
  min-height: auto;
  padding: 0;
  background: transparent;
}

/* ========================================
   COMPANY（会社概要）
======================================== */
.company-section {
  background: #f8f5f0;
}

.company-list > div {
  display: grid;
  grid-template-columns: 10rem minmax(0, 1fr);
  gap: 1.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(23, 20, 20, 0.2);
}

.company-list > div:first-child {
  border-top: 1px solid rgba(23, 20, 20, 0.2);
}

.company-list dt {
  font-weight: 600;
}

.company-list dd {
  margin: 0;
  line-height: 1.7;
}

@media (max-width: 575.98px) {
  .company-list > div {
    grid-template-columns: 1fr;
    gap: 0.35rem;
    padding: 1rem 0;
  }

  .company-list dt,
  .company-list dd {
    margin: 0;
  }
}

/* ========================================
   CONTACT（お問い合わせ）
======================================== */
.contact-section {
  padding: 4rem 0;
  background: var(--cream);
  border-top: 1px solid #e5ddd3;
}

.contact-section .section-label {
  justify-content: center;
  margin-bottom: 1.2rem;
}

/* 見出し全体を中央配置 */
.contact-section .section-heading-label {
  justify-content: center;
  margin-bottom: 1.2rem;
}

.contact-section .section-heading-line {
  background: #8c665f;
}

.contact-section .section-label-ja {
  color: #766c66;
}

.contact-section h2 {
  margin: 0 auto 1.4rem;
  font-size: clamp(1.1rem, 1.4vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.5;
}

/* お問い合わせ説明文 */
.contact-section
  p:not(.section-number):not(.section-label):not(.section-label-ja) {
  margin-bottom: 2rem;
  color: #6f6660;
}

/* お問い合わせボタン */
.contact-section .contact-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(100%, 320px);
  padding: 0.9rem 1.5rem;
  color: #5e4f49;
  background: linear-gradient(135deg, #fff 0%, #fff8f2 100%);
  border: 1px solid #cdbdb2;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.contact-section .contact-button:hover,
.contact-section .contact-button:focus-visible {
  color: #3f3531;
  background: var(--sand);
  border-color: #b9a69a;

  box-shadow:
    0 8px 20px rgba(94, 79, 73, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);

  transform: translateY(-2px);
}

/* キーボード操作時 */
.contact-section .contact-button:focus-visible {
  outline: 2px solid rgba(94, 79, 73, 0.35);
  outline-offset: 4px;
}

/* メールアドレス */
.contact-mail {
  display: block;
  width: fit-content;
  margin: 1rem auto 0;
  text-decoration: none;
}

.contact-mail:hover,
.contact-mail:focus {
  text-underline-offset: 0.25em;
}

/* ========================================
   フッター
======================================== */

.site-footer {
  padding: 1rem 0;
  background: var(--sand);
  border-top: 1px solid #ddd3c8;
}

/* ---------- ページトップ ---------- */
.page-top-wrapper {
  position: fixed;
  z-index: 1020;
  right: 0;
  bottom: 1.3rem;
  left: 0;
  width: 100%;
  pointer-events: none;
  will-change: transform;
}

.page-top {
  border-radius: 5px;
  position: static;
  display: grid;
  width: 58px;
  height: 58px;
  padding: 8px;
  gap: 0;
  place-items: center;
  color: var(--white);
  background: var(--brand);
  border: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    background 0.2s ease;
}

.page-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.page-top:hover,
.page-top:focus-visible {
  background: var(--brand-dark);
}

.page-top-arrow {
  width: 12px;
  height: 12px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
  transform: translateY(2px) rotate(45deg);
}

.page-top-text {
  margin-top: 0;
  font-size: 0.6rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
}

/* ---------- アニメーション ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal-delay-sm {
  transition-delay: 0.08s;
}

.reveal-delay {
  transition-delay: 0.16s;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.section-note {
  margin: 5px;
}

/* ========================================
   タブレット表示
======================================== */
@media (max-width: 991.98px) {
  :root {
    --header-height: 70px;
  }

  .navbar-collapse {
    margin: 0.8rem -0.75rem -0.5rem;
    padding: 0.5rem 0.75rem 1.2rem;
    background: var(--white);
    border-top: 1px solid rgba(23, 20, 20, 0.08);
  }

  .nav-link {
    padding: 0.8rem 0;
    text-align: center;
  }

  .nav-link::after {
    right: auto;
    bottom: 0.35rem;
    left: 50%;
    width: 2rem;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
  }

  .nav-link:hover::after,
  .nav-link:focus-visible::after,
  .nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
  }

  .contact-nav {
    display: block;
    width: fit-content;
    min-width: 224px;
    margin: 0.5rem auto 0;
    text-align: center;
  }

  .hero {
    min-height: auto;
    padding: calc(var(--header-height) + 4rem) 0 5rem;
  }

  .hero h1 {
    font-size: clamp(3.8rem, 12vw, 6rem);
  }

  .hero-visual img {
    min-height: 0;
  }

  .section {
    padding: 6.5rem 0;
  }
}

/* ========================================
   スマホ表示
======================================== */
@media (max-width: 575.98px) {
  body {
    line-height: 1.8;
  }

  .navbar-brand img {
    max-width: 145px;
    height: auto;
  }

  .hero {
    padding: calc(var(--header-height) + 1rem) 12px 1.5rem;
    background: var(--white);
  }

  .hero .container-xl {
    padding: 2rem 1rem 3rem;
    background: var(--cream);
    border-radius: 5px;
  }

  .hero-visual {
    margin-right: 10px;
    box-shadow: 10px 10px 0 rgba(217, 10, 88, 0.18);
  }

  .hero-copy .btn {
    display: block;
    width: max-content !important;
    margin-right: 0;
    margin-left: auto !important;
    padding: 0.5rem 1.4rem;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
    text-align: center !important;
  }

  .hero-square-top {
    display: none;
  }

  .section {
    padding: 2rem 0;
  }

  .business-title {
    font-size: 1.6rem;
    margin-bottom: 5px;
  }

  .product-card,
  .product-card img {
    min-height: 230px;
    height: 230px;
  }

  .product-card-body {
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
  }

  .product-card-body span {
    font-size: 0.8rem;
  }

  .product-card-body h3 {
    font-size: 1rem;
  }

  .strength-card {
    padding: 18px 14px 22px;
  }

  .strength-head {
    min-height: 100px;
  }

  .strength-head img {
    width: 95px;
    height: 95px;
  }

  .strength-card h3 {
    gap: 6px;
    align-items: flex-start;
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .strength-card h3 i {
    margin-top: 0.6em;
    flex-shrink: 0;
    font-size: 0.6rem;
  }

  .strength-card p {
    font-size: 0.78rem;
    line-height: 1.75;
  }

  .lineup-grid > div {
    width: 100%;
  }

  .lineup-items {
    display: flex;
    min-height: auto;
    flex-wrap: wrap;
    justify-content: center;
  }

  .lineup-card h3 {
    font-size: 1.2rem;
  }

  .lineup-card p {
    font-size: 0.82rem;
    line-height: 1.65;
  }

  .company-list > div {
    grid-template-columns: 1fr;
    gap: 0.2rem;
    padding: 0.5rem 0;
  }

  .contact-section {
    padding: 2rem 0;
  }

  .page-top-wrapper {
    bottom: 0.9rem;
  }

  .page-top {
    margin-right: 5px;
  }

  .strength-card {
    padding: 10px;
  }

  .strength-head img {
    width: 110px;
    height: 110px;
  }
  .contact-section .contact-button {
    width: 100%;
    min-width: 0;
    padding: 0.85rem 1.25rem;
    font-size: 0.95rem;
  }
}

/* ========================================
   アニメーション軽減設定
======================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
