@charset "UTF-8";

/* =========================================================
   Taihei LP - Common CSS
   ---------------------------------------------------------
   共通トークン / ベース / 見出し / ボタン / header / drawer /
   footer / animation / responsive 共通部品
========================================================= */

/* =========================================================
   0. Base Reset
========================================================= */
html,
body {
  overflow-x: hidden;
}

body.taihei-lp {
  overflow-x: clip;
}

html.lp-noscroll,
html.lp-noscroll body {
  overflow: hidden;
}

/* =========================================================
   1. Design Tokens
========================================================= */
body.taihei-lp {
  --color-primary: #f06400;
  --color-primary-light: #ffdcaa;
  --color-danger: #c30d23;
  --color-success: #2d6f35;

  --color-menu-homemade: #ff6446;
  --color-menu-packaged: #fa3219;

  --color-bg: #fff5e1;
  --color-surface: #ffffff;
  --color-surface-alt: #ffffff;

  --color-text: #244267;
  --color-text-light: #ffffff;
  --color-text-muted: #6b7788;

  --color-gray-200: #e6e6e6;
  --color-gray-300: #dcdcdc;
  --color-border-strong: rgba(36, 66, 103, 0.12);
  --color-overlay: rgba(30, 22, 15, 0.42);

  --shadow-sm: 0 4px 12px rgba(36, 66, 103, 0.14);
  --shadow-md: 0 10px 28px rgba(36, 66, 103, 0.16);
  --shadow-lg: 0 16px 40px rgba(36, 66, 103, 0.12);

  --font-base: "Noto Sans JP", "メイリオ", Meiryo, "Yu Gothic", "Hiragino Sans", sans-serif;
  --container: 1160px;
  --header-height: 92px;

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-pill: 9999px;

  --transition: 0.28s ease;

  --space-2xs: 4px;
  --space-xs: 6px;
  --space-sm: 8px;
  --space-md: 10px;
  --space-lg: 12px;
  --space-xl: 14px;
  --space-2xl: 16px;
  --space-3xl: 18px;
  --space-4xl: 20px;
  --space-5xl: 22px;
  --space-6xl: 24px;
  --space-7xl: 26px;
  --space-8xl: 28px;
  --space-9xl: 30px;
  --space-10xl: 32px;
  --space-11xl: 34px;
  --space-12xl: 38px;
  --space-13xl: 40px;
  --space-14xl: 44px;
  --space-15xl: 48px;
  --space-16xl: 54px;
  --space-17xl: 68px;
  --space-18xl: 72px;
  --space-19xl: 84px;
  --space-20xl: 92px;
  --space-21xl: 96px;

  --fz-xs: 10px;
  --fz-sm: 11px;
  --fz-base-sm: 12px;
  --fz-base: 13px;
  --fz-md: 14px;
  --fz-md-lg: 15px;
  --fz-lg: 16px;
  --fz-xl: 17px;
  --fz-2xl: 18px;
  --fz-3xl: 19px;
  --fz-4xl: 20px;
  --fz-5xl: 22px;
  --fz-6xl: 24px;
  --fz-7xl: 28px;
  --fz-8xl: 30px;
  --fz-9xl: 36px;

  --lh-tight: 1;
  --lh-sm: 1.1;
  --lh-md: 1.4;
  --lh-base: 1.5;
  --lh-relaxed: 1.6;
  --lh-loose: 1.75;
  --lh-copy: 1.8;
  --lh-copy-lg: 1.9;
  --lh-double: 1.95;

  --section-space: var(--space-19xl);
  --section-space-tight: var(--space-18xl);
  --section-space-wide: var(--space-20xl);
  --section-header-gap: var(--space-12xl);

  --button-height: 56px;
  --button-height-large: 64px;
}

/* =========================================================
   2. Global Base
========================================================= */
body.taihei-lp {
  margin: 0;
  color: var(--color-text);
  background: var(--color-surface);
  font-family: var(--font-base);
  font-size: var(--fz-xl);
  line-height: var(--lh-copy);
  letter-spacing: 0.02em;
  font-weight: 500;
}

body.taihei-lp *,
body.taihei-lp *::before,
body.taihei-lp *::after {
  box-sizing: border-box;
}

body.taihei-lp img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

body.taihei-lp a {
  color: inherit;
  text-decoration: none;
  transition: all var(--transition);
}

body.taihei-lp p,
body.taihei-lp h1,
body.taihei-lp h2,
body.taihei-lp h3,
body.taihei-lp h4,
body.taihei-lp figure {
  margin: 0;
}

body.taihei-lp .l-container {
  width: min(calc(100% - var(--space-10xl)), var(--container));
  margin-inline: auto;
}

body.taihei-lp .lp-page-main {
  overflow: clip;
}

body.taihei-lp .lp-skip {
  display: none !important;
}

/* =========================================================
   3. Common Typography / Components
========================================================= */
body.taihei-lp .c-heading-main {
  font-size: clamp(42px, 4.6vw, 72px);
  font-weight: 900;
  line-height: 1.18;
  color: var(--color-text);
  text-wrap: balance;
  letter-spacing: 0.01em;
}

body.taihei-lp .c-heading-section {
  font-size: clamp(30px, 2.7vw, 48px);
  font-weight: 900;
  line-height: 1.42;
  color: var(--color-text);
  letter-spacing: 0.01em;
}

body.taihei-lp .c-heading-section--light {
  color: var(--color-text-light);
}

body.taihei-lp .c-heading-card {
  font-size: var(--fz-6xl);
  font-weight: 900;
  line-height: 1.5;
  color: var(--color-text);
}

body.taihei-lp .c-lead {
  font-size: var(--fz-2xl);
  line-height: var(--lh-copy-lg);
  font-weight: 500;
  color: var(--color-text);
}

body.taihei-lp .c-lead--light {
  color: rgba(255, 255, 255, 0.96);
}

body.taihei-lp .c-lead--accent {
  color: var(--color-primary);
  font-weight: 800;
}

body.taihei-lp .c-text,
body.taihei-lp .c-text-sub,
body.taihei-lp .c-text-sm {
  color: var(--color-text);
  font-weight: 500;
}

body.taihei-lp .c-text {
  font-size: var(--fz-xl);
  line-height: var(--lh-double);
}

body.taihei-lp .c-text-sub {
  font-size: var(--fz-lg);
  line-height: var(--lh-copy);
}

body.taihei-lp .c-text-sm {
  font-size: var(--fz-lg);
  line-height: var(--lh-copy);
}

body.taihei-lp .c-note {
  font-size: var(--fz-md);
  line-height: var(--lh-copy-lg);
  font-weight: 500;
  color: var(--color-text);
}

body.taihei-lp .c-section-header {
  margin-bottom: var(--section-header-gap);
}

body.taihei-lp .c-section-header > * + * {
  margin-top: var(--space-lg);
}

body.taihei-lp .c-section-header--center {
  text-align: center;
}

body.taihei-lp .c-badge-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xl);
  align-items: center;
}

body.taihei-lp .c-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--space-16xl);
  padding: var(--space-lg) var(--space-4xl);
  font-size: var(--fz-3xl);
  font-weight: 800;
  line-height: var(--lh-tight);
  white-space: nowrap;
  border-radius: 0;
}

body.taihei-lp .c-badge--ghost {
  background: var(--color-primary);
  color: var(--color-text-light);
}

body.taihei-lp .p-taihei-hero__scheme {
  display: inline-flex;
  align-items: stretch;
  gap: 0;
}

body.taihei-lp .c-badge--scheme {
  min-height: var(--space-16xl);
  padding: var(--space-lg) var(--space-4xl);
  background: var(--color-danger);
  color: var(--color-text-light);
  font-size: var(--fz-3xl);
  font-weight: 800;
  line-height: var(--lh-tight);
}

body.taihei-lp .c-badge--scheme-box {
  min-width: var(--space-16xl);
  min-height: var(--space-16xl);
  padding: 0;
  background: var(--color-surface);
  color: var(--color-danger);
  border: 2px solid var(--color-danger);
  margin-left: -2px;
  font-size: var(--fz-3xl);
  font-weight: 800;
  line-height: var(--lh-tight);
}

body.taihei-lp .c-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--button-height);
  padding: 0 var(--space-8xl);
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: var(--fz-lg);
  font-weight: 900;
  line-height: 1.35;
  box-shadow: var(--shadow-sm);
  text-align: center;
  cursor: pointer;
}

body.taihei-lp .c-button__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.45;
}

body.taihei-lp .c-button--large {
  min-height: var(--button-height-large);
  padding: var(--space-md) var(--space-12xl);
  font-size: var(--fz-xl);
  font-weight: 900;
  line-height: 1.45;
  white-space: nowrap;
}

body.taihei-lp .c-button--primary {
  background: var(--color-primary);
  color: var(--color-text-light);
}

body.taihei-lp .c-button--secondary {
  min-height: 48px;
  padding: 0 var(--space-5xl);
  font-size: var(--fz-md);
  background: var(--color-surface);
  color: var(--color-primary);
}

body.taihei-lp .c-button--primary:hover,
body.taihei-lp .c-button--secondary:hover,
body.taihei-lp .c-button--menu:hover,
body.taihei-lp .p-taihei-contact .lp-submit input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* =========================================================
   4. Header
========================================================= */
body.taihei-lp .lp-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(36, 66, 103, 0.08);
  backdrop-filter: blur(8px);
}

body.taihei-lp .lp-header.is-scrolled {
  box-shadow: 0 8px 20px rgba(36, 66, 103, 0.08);
}

body.taihei-lp .lp-header__inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4xl);
}

body.taihei-lp .lp-header__brand {
  min-width: 0;
}

body.taihei-lp .lp-header__logos {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
}

body.taihei-lp .lp-header__logo {
  display: inline-flex;
  align-items: center;
}

body.taihei-lp .lp-header__logo img {
  display: block;
  max-height: 48px;
  width: auto;
}

body.taihei-lp .lp-header__separator {
  display: none;
}

body.taihei-lp .lp-header__right {
  display: flex;
  align-items: center;
  gap: var(--space-3xl);
  flex-shrink: 0;
}

body.taihei-lp .lp-header__right > .c-button {
  flex: 0 0 auto;
}

body.taihei-lp .lp-header__tel {
  text-align: right;
  flex: 0 0 auto;
}

body.taihei-lp .lp-header__hours {
  font-size: var(--fz-base);
  line-height: var(--lh-md);
  color: var(--color-text);
  font-weight: 700;
}

body.taihei-lp .lp-header__phone {
  font-size: var(--fz-8xl);
  font-weight: 900;
  line-height: var(--lh-sm);
  color: var(--color-primary);
}

/* =========================================================
   5. Header Menu / Burger
========================================================= */
body.taihei-lp .lp-header__menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xs);
  min-width: 56px;
  flex: 0 0 auto;
  transition: opacity var(--transition);
}

body.taihei-lp .lp-header__menu.is-hidden {
  opacity: 0;
  pointer-events: none;
}

body.taihei-lp .lp-header__menu-label {
  display: block;
  font-size: var(--fz-base-sm);
  font-weight: 800;
  line-height: var(--lh-tight);
  letter-spacing: 0.08em;
  color: var(--color-text);
  margin: 0;
}

body.taihei-lp .lp-burger {
  position: relative;
  width: 32px;
  height: 26px;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  cursor: pointer;
  appearance: none;
}

body.taihei-lp .lp-burger:hover {
  opacity: 0.75;
}

body.taihei-lp .lp-burger:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 4px;
}

body.taihei-lp .lp-burger span {
  position: absolute;
  left: 0;
  width: 32px;
  height: 3px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all var(--transition);
}

body.taihei-lp .lp-burger span:nth-child(1) { top: 0; }
body.taihei-lp .lp-burger span:nth-child(2) { top: 11px; }
body.taihei-lp .lp-burger span:nth-child(3) { top: 22px; }

body.taihei-lp .lp-burger[aria-expanded="true"] span:nth-child(1) {
  top: 11px;
  transform: rotate(45deg);
}

body.taihei-lp .lp-burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

body.taihei-lp .lp-burger[aria-expanded="true"] span:nth-child(3) {
  top: 11px;
  transform: rotate(-45deg);
}

/* =========================================================
   6. Drawer / Backdrop
========================================================= */
body.taihei-lp .lp-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 10000;
  width: min(88vw, 360px);
  max-width: 360px;
  height: 100dvh;
  background: var(--color-surface);
  box-shadow: -8px 0 30px rgba(33, 22, 14, 0.12);
  transform: translate3d(100%, 0, 0);
  visibility: hidden;
  pointer-events: none;
  transition:
    transform var(--transition),
    visibility 0s linear var(--transition);
}

body.taihei-lp .lp-drawer.is-open {
  transform: translate3d(0, 0, 0);
  visibility: visible;
  pointer-events: auto;
  transition:
    transform var(--transition),
    visibility 0s linear 0s;
}

body.taihei-lp .lp-drawer__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  height: 100%;
  padding: var(--space-20xl) var(--space-5xl) var(--space-10xl);
  overflow-y: auto;
}

body.taihei-lp .lp-drawer__inner a {
  display: block;
  padding: var(--space-xl) var(--space-lg);
  border-radius: var(--radius-sm);
  font-weight: 700;
}

body.taihei-lp .lp-drawer__inner a:hover,
body.taihei-lp .lp-drawer__sub a[aria-current="page"] {
  color: var(--color-primary);
  background: var(--color-primary-light);
}

body.taihei-lp .lp-drawer__group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

body.taihei-lp .lp-drawer__sub {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
  padding-left: var(--space-6xl);
}

body.taihei-lp .lp-drawer__sub a {
  padding: var(--space-lg) var(--space-lg);
  font-size: var(--fz-md);
  font-weight: 700;
  color: var(--color-text);
  opacity: 0.9;
}

body.taihei-lp .lp-drawer__close {
  position: absolute;
  top: var(--space-4xl);
  right: var(--space-3xl);
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  appearance: none;
}

body.taihei-lp .lp-drawer__close:hover {
  opacity: 0.75;
}

body.taihei-lp .lp-drawer__close:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 4px;
}

body.taihei-lp .lp-drawer__close span {
  position: absolute;
  top: 18px;
  left: var(--space-xs);
  width: 28px;
  height: 3px;
  background: var(--color-text);
  border-radius: 2px;
}

body.taihei-lp .lp-drawer__close span:nth-child(1) {
  transform: rotate(45deg);
}

body.taihei-lp .lp-drawer__close span:nth-child(2) {
  transform: rotate(-45deg);
}

body.taihei-lp .lp-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: var(--color-overlay);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity var(--transition),
    visibility 0s linear var(--transition);
}

body.taihei-lp .lp-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition:
    opacity var(--transition),
    visibility 0s linear 0s;
}

/* =========================================================
   7. Footer
========================================================= */
body.taihei-lp .lp-footer {
  background: var(--color-primary-light);
  color: var(--color-text);
}

body.taihei-lp .lp-footer__inner {
  padding: var(--space-11xl) 0 var(--space-8xl);
}

body.taihei-lp .lp-footer__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-11xl);
}

body.taihei-lp .lp-footer__brand-group {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: var(--space-7xl);
  flex-wrap: wrap;
}

body.taihei-lp .lp-footer__logo {
  display: block;
  width: auto;
}

body.taihei-lp .lp-footer__logo--taihei {
  max-height: 58px;
}

body.taihei-lp .lp-footer__logo--kozo {
  max-height: 52px;
}

body.taihei-lp .lp-footer__tel {
  text-align: left;
}

body.taihei-lp .lp-footer__hours {
  font-size: var(--fz-base-sm);
  color: var(--color-text);
  font-weight: 700;
}

body.taihei-lp .lp-footer__phone {
  display: inline-block;
  font-size: var(--fz-7xl);
  font-weight: 900;
  line-height: var(--lh-sm);
  color: var(--color-primary);
}

body.taihei-lp .lp-copyright {
  padding: var(--space-xl) 0 var(--space-3xl);
  background: var(--color-text);
  font-size: var(--fz-base-sm);
  color: var(--color-text-light);
  text-align: center;
}

body.taihei-lp .lp-float {
  position: fixed;
  right: var(--space-3xl);
  bottom: var(--space-3xl);
  z-index: 9000;
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-text-light);
  font-size: var(--fz-base-sm);
  font-weight: 900;
  box-shadow: var(--shadow-md);
}

/* =========================================================
   8. Scroll Animation
========================================================= */
body.taihei-lp .js-fadeup {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

body.taihei-lp.js-anim-ready .js-fadeup {
  opacity: 0;
  transform: translateY(28px);
  will-change: opacity, transform;
}

body.taihei-lp.js-anim-ready .js-fadeup.is-visible {
  opacity: 1;
  transform: translateY(0);
}

body.taihei-lp .js-fadeup--delay1 { transition-delay: 0.08s; }
body.taihei-lp .js-fadeup--delay2 { transition-delay: 0.16s; }
body.taihei-lp .js-fadeup--delay3 { transition-delay: 0.24s; }

/* =========================================================
   9. Responsive
========================================================= */
@media (max-width: 860px) {
  body.taihei-lp {
    --header-height: 76px;
    --section-space: var(--space-17xl);
    --section-space-tight: var(--space-16xl);
    --section-space-wide: var(--space-18xl);
    --section-header-gap: var(--space-10xl);
    font-size: var(--fz-lg);
  }

  body.taihei-lp .l-container {
    width: min(calc(100% - var(--space-6xl)), var(--container));
  }

  body.taihei-lp .lp-header__logo img {
    max-height: 34px;
  }

  body.taihei-lp .lp-header__tel,
  body.taihei-lp .lp-header__right .c-button {
    display: none;
  }

  body.taihei-lp .c-heading-main {
    font-size: 40px;
  }

  body.taihei-lp .c-heading-section {
    font-size: 30px;
  }

  body.taihei-lp .c-heading-card {
    font-size: var(--fz-5xl);
  }

  body.taihei-lp .c-lead,
  body.taihei-lp .c-text,
  body.taihei-lp .c-text-sub,
  body.taihei-lp .c-text-sm {
    font-size: var(--fz-lg);
  }

  body.taihei-lp .c-badge,
  body.taihei-lp .c-badge--scheme,
  body.taihei-lp .c-badge--scheme-box {
    min-height: 44px;
    font-size: var(--fz-md-lg);
  }

  body.taihei-lp .c-badge {
    padding: var(--space-sm) var(--space-xl);
  }

  body.taihei-lp .c-badge--scheme {
    padding: var(--space-sm) var(--space-xl);
  }

  body.taihei-lp .c-badge--scheme-box {
    min-width: 44px;
  }

  body.taihei-lp .c-button--large {
    min-height: 72px;
    padding: 0 var(--space-6xl);
    font-size: var(--fz-md-lg);
    white-space: normal;
  }

  body.taihei-lp .lp-footer__brand-group {
    gap: var(--space-3xl);
  }

  body.taihei-lp .lp-footer__tel {
    text-align: center;
  }

  body.taihei-lp .lp-header__menu {
    min-width: 48px;
  }

  body.taihei-lp .lp-header__menu-label {
    font-size: var(--fz-xs);
  }

  body.taihei-lp .lp-burger {
    width: 28px;
    height: 22px;
  }

  body.taihei-lp .lp-burger span {
    width: 28px;
  }

  body.taihei-lp .lp-burger span:nth-child(1) { top: 0; }
  body.taihei-lp .lp-burger span:nth-child(2) { top: 9px; }
  body.taihei-lp .lp-burger span:nth-child(3) { top: 18px; }

  body.taihei-lp .lp-burger[aria-expanded="true"] span:nth-child(1) { top: 9px; }
  body.taihei-lp .lp-burger[aria-expanded="true"] span:nth-child(3) { top: 9px; }

  body.taihei-lp .lp-drawer {
    width: min(88vw, 340px);
    max-width: 340px;
  }
}

@media (max-width: 640px) {
  body.taihei-lp {
    --section-space: var(--space-16xl);
    --section-space-tight: var(--space-15xl);
    --section-space-wide: var(--space-17xl);
    --section-header-gap: var(--space-9xl);
  }

  body.taihei-lp .c-heading-main {
    font-size: var(--fz-9xl);
  }

  body.taihei-lp .c-button--large {
    width: 100%;
    min-height: 64px;
    font-size: var(--fz-lg);
  }

  body.taihei-lp .lp-footer__inner {
    padding: var(--space-8xl) 0 var(--space-5xl);
  }

  body.taihei-lp .lp-footer__logo--taihei {
    max-height: 46px;
  }

  body.taihei-lp .lp-footer__logo--kozo {
    max-height: 40px;
  }

  body.taihei-lp .lp-footer__phone {
    font-size: var(--fz-6xl);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.taihei-lp .js-fadeup,
  body.taihei-lp .js-fadeup.is-visible,
  body.taihei-lp .js-fadeup--delay1,
  body.taihei-lp .js-fadeup--delay2,
  body.taihei-lp .js-fadeup--delay3 {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}