/* ========== Tokens ========== */
:root {
  --bg: #ffffff;
  --fg: #111111;
  --muted: #666666;
  --brand: #F54E70;
  /* TODO: Figmaのブランド色で置換 */
  --brand-ink: #0e8d56;
  --surface: #f7f8f9;
  --border: #e8e8e8;
  --radius: 12px;
  --container: 1200px;
  --space-1: 8px;
  --space-2: 12px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 72px;
}

/* ========== Base ========== */
* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

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

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

button {
  font: inherit;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans JP",
    sans-serif;
  color: var(--fg);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  position: static;
  width: auto;
  height: auto;
  padding: 8px;
  background: #000;
  color: #fff;
}

.container {
  width: 100%;
  max-width: var(--container);
  padding: 0 var(--space-4);
  margin: 0 auto;
}

.eyebrow {
  letter-spacing: 0.12em;
  color: var(--brand-ink);
  font-weight: 700;
  text-transform: uppercase;
}

/* ========== Header ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #fff;
  border-bottom: 1px solid var(--border);
  backdrop-filter: saturate(180%) blur(6px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand__logo {
  height: 28px;
  width: auto;
}

.nav {
  display: flex;
  gap: var(--space-4);
  align-items: center;
}

.nav a {
  color: #333;
  font-weight: 500;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  margin-left: 12px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #333;
  margin: 5px 0;
  transition: 0.2s;
}

/* ========== Buttons ========== */
.btn {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 700;
  text-align: center;
}

.btn--primary {
  background: var(--brand);
  color: #000;
}

.btn--primary:hover {
  filter: brightness(0.95);
}

.btn--secondary {
  background: #fff;
  border-color: #ddd;
}

.btn--ghost {
  background: transparent;
  border-color: #ccc;
}

.btn--lg {
  padding: 14px 24px;
  font-size: 1.125rem;
}

/* ========== Hero ========== */
.hero {
  padding: clamp(56px, 7vw, 112px) 0;
  background: linear-gradient(180deg, #fff, #fafafa);
}

.hero__inner {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}

.hero__title {
  font-size: clamp(28px, 4.2vw, 44px);
  line-height: 1.2;
  margin: 0 0 var(--space-3);
}

.hero__lead {
  color: var(--muted);
  margin: 0 0 var(--space-4);
}

.hero__actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.hero__media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
}

/* ========== Sections ========== */
.section {
  padding: clamp(56px, 7vw, 96px) 0;
  background: #fff;
}

.section--alt {
  background: var(--surface);
}

.section__head {
  margin: 0 0 var(--space-5);
  text-align: center;
}

.section__title {
  font-size: clamp(22px, 3vw, 32px);
  margin: 0 0 var(--space-2);
}

.section__desc {
  font-family: "Source Han Sans", "Noto Sans JP", sans-serif;
  font-style: normal;
  letter-spacing: 0%;
  color: var(--muted);
  margin: 60px auto 0 auto;
  max-width: 550px;
  text-align: left;
}

.section__desc h3 {
  font-size: 22px;
  line-height: 31px;
  font-weight: 500;
  font-style: normal;
}

.section__desc ul {
  font-size: 22px;
  line-height: 31px;
  padding-left: 20px;
  margin-left: 0;
  list-style-position: inside;
}

.section__desc ul li {
  font-family: "Source Han Sans", "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 18px;
  line-height: 31px;
  letter-spacing: 0%;
  text-decoration: underline;
  text-decoration-color: #84D09C;
  text-decoration-thickness: 5px;
}

.section__desc-note {
  font-family: "Source Han Sans", "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 20px;
  line-height: 30px;
  letter-spacing: 0%;
  color: #F54E70;
}

.sectioin_inquiry {
  display: flex;
  gap: 1px;
  justify-content: center;
  margin-top: var(--space-5);
}

.sectioin_inquiry > div {
  max-width: 460px;
  flex: 1;
}

.sectioin_inquiry h3 {
  font-family: "Source Han Sans", "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 17px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
  color: #1A1A1A;
}

.sectioin_inquiry .qr-insta {
  max-width: 160px;
  max-height: 160px;
  display: block;
  margin: 32px auto 0 auto;
  object-fit: contain;
}

.sectioin_inquiry .btn--primary {
  width: 350px;
  height: 56px;
  color: #ffffff;
  opacity: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 32px auto;
  gap: 8px;
}

#contact .btn--primary img {
  width: auto;
  height: auto;
  margin: 0;
  display: inline-block;
}

/* Social section */
#social {
  padding-top: 20px;
}

#social .stack {
  max-width: 922px;
  margin: 0 auto;
}

#social_instagram .section__title {
  font-family: "Source Han Serif", "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-weight: 700;
  font-style: normal;
  font-size: 30px;
  line-height: 100%;
  color: #3B4C6A;
  text-align: center;
}

#social_instagram .btn
{
  margin: 0 auto;
  display: inline-block;
}

#social_instagram_block {
  margin-top: 40px;
  text-align: center;

}

#social_instagram_block img {
  max-width: 576px;
  max-height: 576px;
  margin: 0;
  display: inline-block;
}


.sectioin_inquiry .panel {
  text-align: center;
}

.sectioin_inquiry .panel p {
  width: 350px;
  height: 48px;
  opacity: 1;
  margin: 0 auto;
  font-size: 14px;
  text-align: left;
  color: #464646;
}

.sectioin_inquiry .panel p.text-small {
  width: 350px;
  height: 38px;
  opacity: 1;
  margin: 0 auto;
  font-size: 13px;
}


.stack>*+* {
  margin-top: var(--space-3);
}

/* ========== Grid ========== */
.grid {
  display: grid;
  gap: 40px 20px;
  padding-top: 30px;
}

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

/* ========== Product Cards ========== */
.cards--product .product {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product__media {
  aspect-ratio: 528/225;
  background: #f0f0f0;
}

.product__body {
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.product__title {
  margin: 0;
}

.product__text {
  margin: 0;
}

/* ========== Catalog CTA ========== */
.catalog-cta {
  margin-top: var(--space-6);
  padding: var(--space-4);
  text-align: center;
  justify-content: center;
  display: flex
}

.catalog-cta__inner {
  align-items: center;
  padding: 50px;
  background: #fff;
  border: 1px solid var(--border);
  max-width: 650px;
}

.catalog-cta__qr {
  display: flex;
  justify-content: center;
}

.catalog-cta__qr img {
  width: 200px;
  height: 200px;
  object-fit: contain;
}

/* ========== Maintenance ========== */
#maintenance {
  margin-top: 0;
  padding-top: 0;
}

.panel {
  border: 1px solid var(--border);
  padding: var(--space-4);
  background: #fff;
}

.btn-row {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

/* ========== Contact ========== */
.contact {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(3, 1fr);
}

.contact__card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-4);
  background: #fff;
  text-align: center;
}

.tel {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

/* ========== Footer ========== */
.site-footer {
  padding: var(--space-5) 0;
  color: #555;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.footer-nav {
  display: flex;
  gap: var(--space-4);
}

.small {
  font-size: 0.9rem;
}

/* ========== Responsive ========== */
@media (max-width: 1280px) {
  :root {
    --container: 1120px;
  }
}

@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  :root {
    --container: 92vw;
  }
}

@media (max-width: 768px) {
  .grid--3 {
    grid-template-columns: 1fr;
  }

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

  .nav {
    display: none;
    position: absolute;
    right: 16px;
    top: 64px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px;
    flex-direction: column;
    min-width: 220px;
  }

  .nav.is-open {
    display: flex;
  }

  .nav-toggle {
    display: inline-block;
  }

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

  .catalog-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .sectioin_inquiry {
    flex-direction: column;
    gap: var(--space-5);
  }

  .sectioin_inquiry > div {
    max-width: 100%;
  }

  .sectioin_inquiry .btn--primary {
    width: 100%;
    max-width: 350px;
  }

  .sectioin_inquiry .panel p {
    width: 100%;
    max-width: 350px;
  }

  .sectioin_inquiry .panel p.text-small {
    width: 100%;
    max-width: 350px;
  }
}


/* --- Custom overrides --- */
.product__body {
  background: #b7b7b7;
  color: #fff;
}

section {
  scroll-margin-top: 80px;
}

/* ==== User requested overrides (v4) ==== */
.nav {
  font-family: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN",
    "Meiryo", sans-serif;
  font-weight: 500;
  font-style: normal;
  /* 'Medium' maps to 500 weight; CSS uses normal/italic for style */
  font-size: 13px;
  line-height: 100%;
  letter-spacing: 0;
}

.cards--product .product {
  border-radius: 0 !important;
}

#hero {
  background: url("./assets/hero-bg.png") center/cover no-repeat;
  padding: clamp(56px, 7vw, 120px) 0;
  min-height: 706px;
  display: flex;
}

.hero__title {
  text-align: center;
  font-family: "Zen Antique", "Times New Roman", "Hiragino Mincho ProN",
    "Yu Mincho", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 25px;
  line-height: 100%;
  letter-spacing: 0;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

/* ==== User requested overrides (v6) ==== */
#hero .hero__inner {
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}

section[aria-label="お問い合わせ"] {
  background: #6a7076;
  color: #fff;
}

section[aria-label="お問い合わせ"] .contact__card {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

section[aria-label="お問い合わせ"] a {
  color: #fff;
}


section[aria-label="お問い合わせ"] .btn--secondary {
  background: transparent;
  border-color: #fff;
  color: #fff;
}

.section-kv.maintenance-kv {
  background: url("./assets/maintenance-kv.png") center/cover no-repeat;
  height: min(427px, 40vw);
  max-height: 427px;
  border-radius: 0;
}

/* ==== Additional overrides (v7) ==== */
.section__icon {
  display: block;
  margin: 0 auto 8px;
  max-height: 60px;
  object-fit: contain;
}

.section__title--serif {
  font-family: "Source Han Serif", "Noto Serif JP", "Hiragino Mincho ProN",
    "Yu Mincho", serif;
  font-weight: 700;
  font-style: normal;
  /* Bold uses weight in CSS */
  font-size: 36px;
  line-height: 100%;
  letter-spacing: 0;
  color: #3B4C6A;
}

.site-footer {
  background: #3b4c6a !important;
  color: #fff !important;
  text-align: center;
}

.site-footer .footer-inner {
  justify-content: center;
}

.site-footer .small {
  font-family: "Source Han Sans", "Noto Sans JP", "Hiragino Sans", "Meiryo",
    sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 13px;
  line-height: 100%;
  letter-spacing: 0;
}

.products-cta {
  display: flex;
  justify-content: center;
  margin-top: 76px;
}

.btn-purchase {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 350px;
  height: 60px;
  border-radius: 30px;
  box-shadow: 0 3px 6px 0 #00000040;
  background: #111;
  color: #fff;
  text-decoration: none;
  font-family: "Source Han Sans", "Noto Sans JP", "Hiragino Sans", "Meiryo",
    sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 17px;
  letter-spacing: 0;
}

/* ==== Additional overrides (v8) ==== */
.section__icon {
  width: 40px;
  height: 40px;
  display: block;
  margin: 0 auto 8px;
  object-fit: contain;
}

.site-footer {
  height: 45px;
  display: flex;
  align-items: center;
}

.site-footer .footer-inner {
  width: 100%;
}

.maintenance-kv {
  aspect-ratio: 790 / 427;
  max-width: 790px;
  width: 100%;
  max-height: 427px;
  margin: 0 auto;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.btn-purchase {
  background: #f54e70;
}

.product__media {
  position: relative;
}

.product__badge {
  position: absolute;
  left: 8px;
  top: 8px;
  border: 1px solid #909090;
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0);
  font-family: "Source Han Sans", "Noto Sans JP", "Hiragino Sans", "Meiryo",
    sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0;
  color: #111;
  backdrop-filter: blur(0);
  color: #909090;
}

.product__body {
  font-family: "Source Han Sans", "Noto Sans JP", "Hiragino Sans", "Meiryo",
    sans-serif;
  font-weight: 700;
  font-size: 13px;
  line-height: 130%;
  letter-spacing: 0;
  min-height: 83px;
}

/* ==== Additional overrides (v9) ==== */
#products .grid--3 {
  grid-template-columns: repeat(2, 1fr);
}

.section__head {
  text-align: center;
}

.section__en {
  margin: 8px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: "Source Han Serif", "Noto Serif JP", "Hiragino Mincho ProN",
    "Yu Mincho", serif;
  font-weight: 500;
  font-style: normal;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0;
  color: #8D8D8D;
}

.section__en::before,
.section__en::after {
  content: "";
  display: block;
  width: 50px;
  height: 1px;
  background: #b7b7b7;
}

/* ==== Additional overrides (v10) ==== */

#concept-forge {
  background: url(./assets/forge-kv.png) center / cover no-repeat;
  padding-top: 120px;
  padding-bottom: 160px;
}

#concept-origin {
  padding-top: 180px;
  padding-bottom: 180px;
}

#concept-origin .section__title,
#concept-forge .section__title {
  font-family: "Source Han Serif", "Noto Serif JP", "Hiragino Mincho ProN",
    "Yu Mincho", serif;
  font-weight: 700;
  font-style: normal;
  font-size: 32px;
  line-height: 100%;
  letter-spacing: 0;
  color: #464646
}

.origin-text {
  text-align: center;
  font-family: "Source Han Sans", "Noto Sans JP", "Hiragino Sans", "Meiryo",
    sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 35px;
  letter-spacing: 0;
  color: #464646
}

#concept-forge .forge-text {
  text-align: left;
}

/* ==== Additional overrides (v11) ==== */
.forge-kv {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.forge-kv .forge-text {
  max-width: 960px;
  margin: 0 auto;
  padding: 16px 24px;
  color: #464646;
}

@media (max-width: 480px) {
  .btn {
    width: 100%;
  }

  #hero {
    min-height: 300px;
  }

#concept-forge{
  padding-top: 60px;
  padding-bottom: 90px;
}

  .hero__title {
    font-size: 15px;
  }

  #products .grid--3 {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* ========== Feature ========== */
.feature {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: flex-start;
  margin-top: var(--space-6);
}

.feature > div {
  text-align: center;
}

.feature-scissors {
  width: 100%;
  height: auto;
  max-width: 374px;
  max-height: 318px;
  object-fit: contain;
}

.feature-thinning {
  width: 100%;
  height: auto;
  max-width: 374px;
  max-height: 339px;
  object-fit: contain;
}

/* Mobile responsive for feature */
@media (max-width: 768px) {
  .feature {
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
  }
}

/* Authorized Dealer */
.authorized-dealer {
  padding: var(--space-4) 0;
  background: #ffffff;
  text-align: center;
}

.dealer-text {
  font-family: "Source Han Sans", "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: 0.05em;
  color: #333333;
  margin: 0;
}

@media (max-width: 768px) {
  .dealer-text {
    font-size: 16px;
  }
}

/* Social Instagram link */
#social_insta_link {
  text-align: center;
  margin-top: var(--space-4);
  width: 100%;
}

#social_insta_link a {
  display: inline-block;
  margin: 0 auto;
}

#social_insta_link img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
}

#contact .section__title {
  color: #ffffff;
  font-size: 22px;
}

#contact .section__en {
  color: #ffffff;
}