/* ========== Variables ========== */
/* Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Tenor+Sans&family=Zen+Kaku+Gothic+Antique&family=Zen+Old+Mincho&display=swap");

/* ========== Base Styles ========== */
/* リセット・共通設定 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ========== Color Variables & Fonts ========== */
:root {
  /* メインカラー */
  --color-bg-dark: #212121;
  --color-bg-light: #f4f4f4;
  --color-text-main: #ffffff;
  --color-text-sub: #212121;
  --color-text-sub-light: #595757;
  --color-accent: #c9a063;
  --color-border-dark: #393939;
  --color-border-light: #fff;

  /* 追加カラー */
  --color-cta-light: #f5f0e8;
  --color-cta-dark: #111;
  --color-gradient-start: rgba(255, 255, 255, 0);
  --color-gradient-middle: rgba(255, 255, 255, 0.4);
  --color-gradient-end: rgba(181, 139, 139, 0);

  /* フォント */
  --font-base: "Zen Old Mincho", "Tenor Sans", sans-serif;
  --font-alt: "Zen Kaku Gothic Antique", sans-serif;
  --font-eng: "Tenor Sans", sans-serif;

  /* スペーシング */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;

  /* トランジション */
  --transition-base: 0.3s ease;
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========== Base ========== */
body {
  background-color: var(--color-bg-dark);
  color: var(--color-text-main);
  font-family: var(--font-base);
  letter-spacing: 0.1em;
}

/* reCAPTCHAのマークを非表示 */
.grecaptcha-badge {
  visibility: hidden !important;
}

.zen-kaku {
  font-family: var(--font-alt);
}

/* 英字だけTenor Sansに自動で切り替え */
.eng-font {
  font-family: var(--font-eng);
  font-weight: normal;
  letter-spacing: 4px;
}

/* もしくは JS + CSS で英字だけをクラス指定して制御する手法もある */
a {
  color: var(--color-text-main);
  text-decoration: none;
  transition: opacity 0.3s;
}
a:hover {
  opacity: 0.7;
}

/* ========== Components ========== */
/* Title */
.section-title {
  margin-bottom: 2.5em;
  text-align: left;
}
.section-title h2 {
  font-family: var(--font-eng);
  font-size: 2.75rem;
  letter-spacing: 0.2em;
  margin-bottom: 1.125rem;
  font-weight: normal;
}
.section-title .subtitle {
  font-size: 1rem;
  margin-bottom: 0;
  font-family: var(--font-alt);
}
.section-title h3 {
  font-family: var(--font-base);
  font-size: 2.125rem;
  font-weight: normal;
  line-height: 1.25;
  letter-spacing: 0.2em;
  margin-bottom: 4rem;
  text-align: center;
}
.section-catch {
  font-family: var(--font-eng);
  font-size: 3.375rem;
  font-weight: normal;
  line-height: 1.1;
  letter-spacing: 10px;
  text-align: center;
  margin-bottom: 5rem;
}
.section-catch.small {
  font-size: 1.1rem;
  font-family: var(--font-base);
  font-style: normal;
  line-height: 1.7;
  letter-spacing: 3.2px;
  margin-bottom: 0;
}
.section-lead {
  color: var(--color-accent);
  font-size: 1.375rem;
  margin-bottom: 3em;
  line-height: 1.82;
  letter-spacing: 4.4px;
}
/* Buttons */
.btn-primary,
.btn-secondary {
  color: var(--color-text-main);
  font-family: var(--font-alt);
  transition: color 0.3s ease;
  display: inline-flex;
  align-items: center;
  letter-spacing: 3.2px;
}

.btn-primary:hover {
  color: var(--color-accent);
}

/* アクセシビリティ */
.btn-primary:focus-visible,
.btn-secondary:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.btn-primary::after,
.btn-secondary::after {
  content: "";
  display: inline-block;
  width: 1.2em;
  height: 1.2em;
  margin-left: 2em;
  vertical-align: middle;
  background: url("../img/icon_arrow.svg") no-repeat center center/contain;
  transition: transform 0.3s, filter 0.3s;
  filter: none;
}

.btn-primary:hover::after {
  transform: translateX(8px);
  filter: brightness(0) saturate(100%) invert(73%) sepia(24%) saturate(749%)
    hue-rotate(7deg) brightness(95%) contrast(92%);
}

.btn-secondary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  background: var(--color-accent);
  padding: 1em 2em;
  margin: auto;
  width: fit-content;
  min-width: 200px;
  min-height: 50px;
}
.btn-secondary:hover {
  background: #c9a063;
  color: #fff;
  opacity: 0.9;
}
.btn-secondary:hover::after {
  transform: translateX(8px);
}
/* table */
.section-table {
  background: var(--color-bg-light);
  border-radius: 0;
  margin: 6.5rem auto 0 auto;
  max-width: 1200px;
  padding: 5rem 6rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  box-shadow: none;
}
.section-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--color-border-dark); /* 2px to rem */
  padding: 1.25rem 0;
}
.section-cell {
  flex: 1;
  text-align: left;
  font-family: var(--font-alt);
  color: var(--color-text-sub);
  letter-spacing: 0.08em;
}
.section-label {
  font-weight: bold;
  max-width: 300px;
  padding: 0 2rem;
}
.section-value {
  text-align: left;
  padding-left: var(--spacing-lg);
}

/* SNS Links */
.sns-links span {
  display: block;
  font-size: 0.75rem;
  margin-bottom: 15px;
  opacity: 0.6;
}
.sns-links a {
  margin-right: 15px;
  font-size: 1.25rem;
  color: var(--color-text-main);
}
.sns-links a:last-child {
  margin-right: 0;
}

/* ========== Layout ========== */
/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 60px 5rem;
  background-image: linear-gradient(
    to bottom,
    #121212,
    #0f0f0f 36%,
    rgba(9, 9, 9, 0.33) 79%,
    rgba(0, 0, 0, 0)
  );
}

.header-inner {
  /* max-width: 1200px; */
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo img {
  max-height: 32px;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 1.28px;
}
.lang-switch a.active {
  color: var(--color-accent);
}
.hamburger {
  cursor: pointer;
  padding: 10px;
  margin: -10px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1001;
}

/* Menu Panel */
.menu-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 80%;
  max-width: 680px;
  height: 100vh;
  background-color: var(--color-bg-dark);
  color: var(--color-text-main);
  z-index: 1002;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 80px 100px;
  transform: translateX(100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s;
}

.menu-panel.open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
  overflow: auto;
}
.menu-close {
  position: absolute;
  top: 20px;
  right: 50px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  padding: 0;
}

.menu-logo {
  margin-bottom: 35%;
}
.menu-logo img {
  max-width: 120px;
  height: auto;
}

.menu-nav {
  list-style: none;
  padding: 0;
  margin-bottom: 100px;
}
.menu-nav li {
  margin-bottom: 30px;
}
.menu-nav a {
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.cart-icon {
  display: flex;
  align-items: center;
}

/* ========== TOP ========== */
/* KV Section */
.kv {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 80px;
  overflow: hidden;
}

.kv-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* ========== News ========== */
.top-news {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  min-height: 20dvh;
  padding: 2rem 10px 1.2rem;
  z-index: 30;
  background-image: linear-gradient(
    to top,
    #181818 80%,
    rgba(18, 18, 18, 0.85) 90%,
    rgba(0, 0, 0, 0) 100%
  );
}
.top-news__inner {
  max-width: 1200px;
  margin: 0 auto;
}
.top-news__inner .news-list {
  text-align: left;
}
.top-news__inner .news-list__item {
  font-size: 0.875rem;
  line-height: 2;
  letter-spacing: 2.8px;
  font-family: var(--font-alt);
}
.top-news__inner .news-list__item a {
  color: var(--color-text-main);
}
.top-news__inner .news-list__item a:hover {
  color: var(--color-accent);
}
.top-news__inner .news-list__date {
  font-family: var(--font-eng);
  margin-right: 1rem;
}
.top-news__inner .news-list__title {
  display: inline-block;
  max-width: 40em;
  white-space: nowrap;
  overflow: hidden;
  vertical-align: bottom;
  text-overflow: ellipsis;
}

/* Main Sections */
.main-section {
  position: relative;
  width: 100%;
  min-height: 800px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.panel {
  height: 100vh;
  overflow: hidden;
}

.section-content {
  padding: 4rem clamp(15px, 7vw, 100px);
  width: 100%;
}

.section-message {
  font-size: 1rem;
  line-height: 2;
  letter-spacing: 3.2px;
  font-family: var(--font-alt);
  margin-top: 5.5rem;
  margin-bottom: 4rem;
  font-weight: normal;
  max-width: 556px;
}
#service {
  background-image: url("../img/index/bg_service.jpg");
}
#product {
  background-image: url("../img/index/bg_product.jpg");
}
#company {
  background-image: url("../img/index/bg_company.jpg");
}
#distributor {
  position: relative;
  overflow: hidden;
}
.distributor-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}
.distributor-bg-base {
  background-image: url("../img/index/bg_distributor.jpg");
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.6s, transform 0.6s;
  clip-path: inset(0% 0% 0% 0%);
  z-index: 2;
  will-change: transform;
}
.distributor-bg-main {
  background-image: url("../img/index/bg_distributor_main.jpg");
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
}
#distributor .section-content {
  position: relative;
  z-index: 3;
  padding: 15rem 20px 9rem;
  margin: 0 auto;
}
#distributor .section-title h2 {
  font-size: 5rem;
  letter-spacing: 16px;
  font-weight: normal;
  text-align: center;
  margin-bottom: 3.5rem;
}
#distributor .subtitle {
  font-size: 1.375rem;
  margin-bottom: 3.5rem;
  text-align: center;
  font-family: var(--font-base);
}
#distributor .section-message {
  text-align: center;
  letter-spacing: 1.5px;
  line-height: 2.5;
  margin: 0 auto 2.5rem;
  max-width: none;
  font-family: var(--font-base);
}

/* ========== Sub Page ========== */
.section-bg-dark {
  background: url("../img/img_bg.jpg") center center/cover no-repeat;
  z-index: 2;
  position: relative;
  padding-bottom: 5rem;
}
.section-bg-white {
  background: url("../img/img_bg_white.jpg") center center/cover no-repeat;
  z-index: 2;
  position: relative;
  color: var(--color-text-sub);
  padding-bottom: 5rem;
}
.sub-page .section-content.pdL {
  padding-top: 10rem;
  padding-bottom: 5rem;
}
.sub-page .section-content.pdM {
  padding: 5.5rem 0;
}
.sub-page .section-content.no-kv {
  padding-top: 12rem;
}

.kv.sub {
  height: 400px;
  padding: 0;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.kv.sub .kv-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* ========== Company ========== */
#company-profile {
  position: relative;
  z-index: 2;
  background-color: var(--color-bg-dark);
}

.president-flex {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 10rem;
  max-width: 1200px;
  margin: 0 auto 5rem;
  flex-wrap: wrap;
}

.president-photo {
  flex: 0 0 329px;
  max-width: 329px;
  min-width: 220px;
  text-align: center;
}
.president-photo img {
  width: 100%;
  height: auto;
}

.president-text {
  flex: 1 1 400px;
  min-width: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.president-message {
  font-size: 18px;
  line-height: 2.22;
  letter-spacing: 3.6px;
}

.president-sign {
  text-align: right;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.president-position {
  font-size: 1rem;
  letter-spacing: 3.2px;
}
.president-name img {
  height: 57px;
  vertical-align: middle;
}

/* Gallery Slider */
.gallery-slider {
  width: 100%;
  overflow: hidden;
  background: transparent;
  position: relative;
}
.gallery-track {
  display: flex;
  width: max-content;
  animation: gallery-scroll 40s linear infinite;
  align-items: center;
  gap: 0;
  will-change: transform;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}
.gallery-slider img {
  height: 440px;
  width: auto;
  object-fit: cover;
}
@keyframes gallery-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Philosophy */
#philosophy {
  position: relative;
  height: 200vh;
}
.philosophy-pin {
  position: sticky;
  top: 10vh;
  height: 100vh;
}
#philosophy .section-title {
  margin-bottom: 0;
}
.philosophy-flex {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 6rem;
  flex-wrap: wrap;
  height: auto;
}

.philosophy-text {
  flex: 1;
  margin-top: 3rem;
  min-width: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.philosophy-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.philosophy-list li {
  font-size: 1.5rem;
  margin-bottom: 1.5em;
  letter-spacing: 0.3em;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.philosophy-list .num {
  font-size: 2rem;
  font-family: var(--font-base);
  letter-spacing: 0;
}

.philosophy-list .desc {
  display: block;
  font-size: 1.125rem;
  margin-top: 0.5em;
  margin-left: 2.75em;
  letter-spacing: 0.225em;
}

.philosophy-image {
  flex: 1;
  margin-right: calc(50% - 50vw);
  min-width: 260px;
  max-width: 550px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;

  /* 重ねるために相対配置 */
  position: relative;
}

.philosophy-image img {
  width: 100%;
  max-width: 960px;
  object-fit: cover;

  /* 画像切り替え用 */
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}

/* special-feature */
#special-feature .section-title {
  margin-bottom: 0;
}
.video-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.video-container iframe {
  width: 780px;
  height: 440px;
  max-width: 100vw;
  max-height: 56vw;
  aspect-ratio: 16/9;
}

/* ========== Service ========== */
#service-intro {
  max-width: 100%;
  overflow: hidden;
}
.service-visual-wrapper {
  position: relative;
}

.service-visual-flex {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  height: 100vh;
  margin: 0 auto 5rem auto;
  position: relative;
}
.service-visual-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex: 1 1 0;
  min-width: 0;
}

.service-visual-col--left,
.service-visual-col--right {
  max-width: 320px;
  z-index: 3;
}
.service-visual-col--center {
  max-width: 420px;
  width: 100%;
  flex: 1 1 auto;
  transition: clip-path 0.3s ease;
  z-index: 4;
}

.service-visual-col img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.service-visual-message {
  position: absolute;
  top: 0;
  z-index: 1;
  font-size: 0.875rem;
  line-height: 1.43;
  letter-spacing: 2.8px;
  font-family: var(--font-eng);
  max-width: 480px;
}

/*  Service Feature  */
#service-content {
  background: var(--color-bg-light);
}
.service-feature-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6vw;
  margin-bottom: 5rem;
}
.service-feature-img {
  flex: 1 1 45%;
  max-width: 48%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
}
.service-feature-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.service-feature-text {
  flex: 1 1 55%;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--color-text-sub);
  font-family: var(--font-alt);
  padding: 2vw 0;
}
.service-feature-label {
  display: inline-block;
  background: var(--color-accent);
  font-size: 1.375rem;
  font-family: var(--font-base);
  line-height: 1.75;
  letter-spacing: 8.8px;
  font-weight: 500;
  padding: 0.1em 0.5em;
  width: fit-content;
  margin-bottom: 1.5rem;
}
.service-feature-desc {
  font-size: 1.125rem;
  line-height: 1.89;
  letter-spacing: 0.225em;
  font-family: var(--font-base);
  color: var(--color-text-sub-light);
}

/* 交互レイアウト対応（偶数番目は左右反転） */
.service-feature-flex:nth-child(even) {
  flex-direction: row-reverse;
}

.service-oem-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6vw;
  margin-top: 6rem;
}
.service-oem-text {
  line-height: 2.22;
  letter-spacing: 0.225em;
  font-size: 1.125rem;
  max-width: 750px;
  flex: 1 1 55%;
}
.service-oem-img {
  flex: 1 1 45%;
  max-width: 680px;
}
.service-oem-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ========== Product ========== */
.merit-flex {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
  align-items: flex-start;
}
.merit-col {
  flex: 1 1 30%;
  min-width: 260px;
  background: none;
  text-align: left;
}
.merit-title {
  font-size: 1.375rem;
  font-weight: normal;
  letter-spacing: 0.12em;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  text-align: center;
  border-bottom: 1px solid var(--color-accent);
  min-height: 3.7em;
  display: flex;
  align-items: center;
  justify-content: center;
}
.merit-desc {
  font-size: 1.125rem;
  font-family: var(--font-alt);
  line-height: 2.1;
  letter-spacing: 0.225em;
  text-align: left;
}
/*  Product | Line up  */
#product-lineup {
  padding-bottom: 0;
}

.product-section {
  margin-bottom: 5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.product-section + .product-section {
  margin-top: 7rem;
}
.product-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 5rem 7.5rem;
  margin-top: 4rem;
  justify-content: flex-start;
}
.product-col {
  width: calc(50% - 3.75rem);
  gap: 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
}
.product-col-full {
  width: 100%;
}
.product-img {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.product-img img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}
.product-caption {
  color: var(--color-text-main);
  font-family: var(--font-eng);
  letter-spacing: 3.2px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.125rem;
  line-height: 1.67;
  width: 100%;
  transition: color 0.3s ease;
  cursor: pointer;
}

/* 非活性状態のスタイル */
.product-caption.disabled {
  color: var(--color-text-light);
  pointer-events: none;
  cursor: not-allowed;
}

.product-caption.disabled::after {
  content: none;
}

.product-caption::after {
  content: "";
  display: inline-block;
  width: 1.2em;
  height: 1.2em;
  margin-left: 2em;
  vertical-align: middle;
  background: url("../img/icon_arrow.svg") no-repeat center center/contain;
  transition: transform 0.3s, filter 0.3s;
  filter: none;
}

.product-col:hover .product-caption:not(.disabled) {
  color: var(--color-accent);
}

.product-col:hover .product-caption:not(.disabled)::after {
  transform: translateX(8px);
  filter: brightness(0) saturate(100%) invert(73%) sepia(24%) saturate(749%)
    hue-rotate(7deg) brightness(95%) contrast(92%);
}

/* ========== Distributor Wanted ========== */
#distributor-wanted-content {
  padding-top: 30px;
}
.distributor-wanted-content-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.distributor-area {
  margin-bottom: 6rem;
}
.distributor-area:last-child {
  margin-bottom: 0;
}
.distributor-area-title {
  font-family: var(--font-base);
  font-size: 1.375rem;
  font-weight: normal;
  line-height: 1.36;
  letter-spacing: 4.4px;
  display: flex;
  align-items: center;
  margin-bottom: 3rem;
}
.distributor-area-bar {
  display: inline-block;
  width: 3px;
  height: 1.2em;
  background: var(--color-accent);
  margin-right: 10px;
}
.distributor-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem 2.5rem;
  font-size: 1.125rem;
}
.distributor-list li {
  flex-basis: calc((100% - 2 * 2.5rem) / 3);
  max-width: calc((100% - 2 * 2.5rem) / 3);
  min-width: 220px;
  display: flex;
  align-items: center;
  gap: 1.125rem;
  position: relative;
}
.distributor-pref {
  font-weight: bold;
  min-width: 100px;
}
.distributor-pref::before {
  content: "・";
  display: inline-block;
}
.distributor-link {
  color: var(--color-accent);
  line-height: 1.67;
  font-weight: bold;
  transition: opacity 0.2s;
}
.distributor-link:hover {
  opacity: 0.7;
  text-decoration: underline;
}
.distributor-link::after {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-left: 0.4em;
  background: url("../img/icon_blank.svg") no-repeat center center/contain;
  vertical-align: -1px;
}

/* ========== Contact ========== */
#contact-form {
  padding-bottom: 0;
}
.wpcf7 form {
  max-width: 600px;
  margin: 40px auto 0 auto;
  background: transparent;
  padding: 0;
  font-family: var(--font-alt);
  font-size: 1rem;
  line-height: 1.8;
  letter-spacing: 3.2px;
}
.wpcf7-list-item {
  margin: 0;
}
.wpcf7-form-control {
  display: block;
}

.wpcf7-form-control-wrap {
  margin-bottom: 2rem;
  display: block;
}

.wpcf7 .required {
  border-radius: 4px;
  background-color: #e60012;
  color: var(--color-text-main);
  letter-spacing: 0.56px;
  font-size: 0.875rem;
  font-weight: bold;
  padding: 2px 10px;
  margin-left: 0.5rem;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-border-dark);
  background: #fff;
  font-size: 1rem;
  margin-top: 0.5rem;
  box-shadow: none;
  transition: border-color 0.2s;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
  border-color: #b9975b;
  outline: none;
}

.wpcf7 textarea {
  height: 180px;
  resize: vertical;
}

.wpcf7-checkbox label {
  margin-right: 1.5em;
  display: inline-block;
  cursor: pointer;
}

.confirm-message {
  font-size: 0.875rem;
  line-height: 1.71;
  letter-spacing: 2.8px;
  margin-bottom: 0.5rem;
}

.wpcf7 input[type="submit"].button {
  display: block;
  border-radius: 30px;
  background-color: var(--color-accent);
  color: var(--color-text-main);
  padding: 15px 0;
  border: none;
  font-size: 1.125rem;
  font-weight: bold;
  cursor: pointer;
  margin: 30px auto 0 auto;
  max-width: 400px;
  width: 100%;
  text-align: center;
  transition: background-color 0.3s;
  font-family: var(--font-alt);
  letter-spacing: 2.5px;
}

.wpcf7 input[type="submit"].button:hover {
  background-color: #a98444;
}

.wpcf7-not-valid-tip {
  color: #d00;
  font-size: 16px;
  margin-top: 4px;
}

.wpcf7-mail-sent-ok {
  background-color: #f0f8e0;
  color: #2a4d14;
  padding: 12px;
  border: 1px solid #d2e0c0;
  margin-top: 1em;
  text-align: center;
}

/* ========== CTA ========== */
.cta-section {
  display: flex;
  width: 100%;
  min-height: 380px;
  background: linear-gradient(
    90deg,
    var(--color-cta-light) 50%,
    var(--color-cta-dark) 50%
  );
  position: relative;
}
.cta-inner {
  max-width: 556px;
  /* margin: 0 auto; */
  width: 100%;
}
.cta-left,
.cta-right {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 7vw;
}
.cta-left {
  background: url("../img/img_cta_bg01.jpg") right center/cover no-repeat;
  color: var(--color-text-sub);
}
.cta-desc {
  line-height: 1.8;
  margin-top: 2.75rem;
}
.cta-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  position: relative;
  background: url("../img/img_cta_bg02.jpg") left center/cover no-repeat;
  color: #bfa472;
  text-decoration: none;
  overflow: hidden;
  transition: filter 0.1s;
  cursor: pointer;
}
.cta-right:hover {
  opacity: 1;
}
.cta-right::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    var(--color-gradient-start) 0%,
    var(--color-gradient-middle) 50%,
    var(--color-gradient-end) 100%
  );
  transform: translateX(-100%) translateY(100%);
  transition: transform var(--transition-slow), opacity var(--transition-base);
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
}
.cta-right:hover::before {
  transform: translateX(100%) translateY(-100%);
  opacity: 0.5;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}
.cta-logo {
  max-width: 257px;
  margin: 3rem auto;
}
.cta-logo img {
  height: auto;
  width: 100%;
}
.cta-right .btn-primary {
  font-size: 1.5rem;
  font-family: var(--font-base);
}

/* Footer */
.site-footer {
  background: var(--color-bg-dark);
  color: var(--color-text-main);
  padding: 64px 0 24px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch;
  /* max-width: 1200px; */
  padding: 0 7vw;
  margin: 0 auto;
  gap: 32px;
}

.footer-left,
.footer-center,
.footer-right {
  flex: 1 1 30%;
  min-width: 240px;
  display: flex;
  flex-direction: column;
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}
.footer-nav li {
  margin-bottom: 1rem;
}
.footer-nav a {
  color: var(--color-text-main);
  font-size: 1.125rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-center img {
  max-width: 180px;
  height: auto;
}
.footer-right {
  justify-content: space-between;
  align-items: flex-end;
  max-width: 250px;
}
.footer-sns a {
  font-size: 1.125rem;
  letter-spacing: 1.44px;
}
.footer-address {
  margin-bottom: 12px;
  line-height: 1.6;
  letter-spacing: 1.28px;
}
.footer-address-title {
  margin-bottom: 1rem;
}

.footer-copy {
  text-align: left;
  font-size: 0.75rem;
  letter-spacing: 2.4px;
  border-top: 1px solid var(--color-border-dark);
  padding-top: 1.5rem;
  margin: 50px auto 0;
}

.footer-copy-inner {
  padding: 0 7vw;
}

.lang-switch-pc {
  display: flex;
}
.lang-switch-sp {
  display: none;
}

/* ========== Utilities ========== */
.only-pc {
  display: block;
}
.only-sp {
  display: none;
}

/* ========== News List ========== */
.news-list-wrap {
  max-width: 1200px;
  margin: 5rem auto 0;
  padding: 0 2vw;
}
.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.news-item {
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--color-border-light);
  padding: 1.5rem 0;
  font-family: var(--font-alt);
  letter-spacing: 0.08em;
}
.news-item a:hover {
  color: var(--color-accent);
}
.news-date {
  min-width: 105px;
  font-size: 1.125rem;
  margin-right: 3.75rem;
  font-family: var(--font-eng);
  letter-spacing: 0.1em;
}
.news-title {
  font-size: 1.125rem;
  line-height: 1.67;
  letter-spacing: 0.225em;
}
.news-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin: 5rem 0 0 0;
  font-family: var(--font-eng);
}
.news-pagination .page-numbers {
  color: var(--color-text-main);
  font-size: 1.1rem;
  padding: 0 0.5em;
  transition: color 0.2s;
}
.news-pagination .current {
  color: var(--color-accent);
  font-weight: bold;
}

/* ========== News Detail ========== */
.news-detail {
  max-width: 800px;
  position: relative;
  margin: 3.125rem auto 0;
}
.news-detail-header {
  display: flex;
  align-items: center;
  gap: 1em;
  margin-bottom: 2rem;
}
.news-detail-meta {
  text-align: left;
}
.news-detail .news-date {
  margin-right: 1rem;
}
.news-detail-title {
  font-size: 1.125rem;
  font-family: var(--font-alt);
  font-weight: bold;
  letter-spacing: 0.18em;
  line-height: 1.5;
  text-align: left;
}
.news-detail-thumb {
  margin-bottom: 2.5rem;
  text-align: center;
}
.news-detail-thumb img {
  width: 100%;
  height: auto;
  border-radius: 0;
  box-shadow: none;
  display: inline-block;
}
.news-detail-content {
  font-size: 1.125rem;
  line-height: 1.67;
  letter-spacing: 0.225em;
  color: var(--color-text-sub);
  font-family: var(--font-alt);
  text-align: left;
}
.news-detail-content a {
  color: var(--color-text-sub);
  font-weight: bold;
  text-decoration: underline;
}
.news-detail-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2.5rem;
  margin-top: 2.5rem;
  padding-top: 1rem;
  font-family: var(--font-eng);
  border-top: 1px solid var(--color-border-dark);
  color: var(--color-text-sub);
}
.news-detail-nav .to-list {
  color: var(--color-text-sub);
  font-size: 1rem;
  transition: color 0.2s;
}
.news-detail-nav .to-list:hover {
  color: var(--color-accent);
}
.news-detail-nav .prev,
.news-detail-nav .next {
  opacity: 1;
  display: flex;
  align-items: center;
  gap: 0.3em;
}
.news-detail-nav .prev::before {
  content: "";
  display: inline-block;
  width: 1.2em;
  height: 1.2em;
  margin-right: 0.3em;
  background: url("../img/icon_arrow_black.svg") no-repeat center center/contain;
  transform: rotate(180deg);
  vertical-align: middle;
  color: var(--color-text-sub);
}
.news-detail-nav .next::after {
  content: "";
  display: inline-block;
  width: 1.2em;
  height: 1.2em;
  margin-left: 0.3em;
  background: url("../img/icon_arrow_black.svg") no-repeat center center/contain;
  vertical-align: middle;
  color: var(--color-text-sub);
}
.news-detail-nav .prev a,
.news-detail-nav .next a {
  color: var(--color-text-sub);
  transition: color 0.2s;
}
.news-detail-nav .prev a:hover,
.news-detail-nav .next a:hover {
  color: var(--color-accent);
}

/* ========== Media Queries ========== */
@media (max-width: 768px) {
  .only-pc {
    display: none !important;
  }
  .only-sp {
    display: block !important;
  }
  /* 共通・タイトル・ボタン */
  .section-title h2 {
    font-weight: normal;
    font-size: 2rem;
    margin-bottom: 0.75rem;
    letter-spacing: 0.1em;
  }
  .section-title h3 {
    font-size: 1.5rem;
    margin-bottom: 0;
    letter-spacing: 0.1em;
  }
  .section-title .subtitle {
    font-size: 0.875rem;
  }
  .section-catch {
    font-size: 2rem;
    margin-bottom: 2rem;
    letter-spacing: 0.1em;
  }
  .section-catch.small {
    font-size: 1rem;
    letter-spacing: 1.5px;
    text-align: left;
  }
  .section-lead {
    font-size: 1rem;
    margin-bottom: 2rem;
    letter-spacing: 2.4px;
  }
  .section-table {
    margin: 0 auto;
    padding: 1.5rem 1rem;
    width: 100%;
  }
  .section-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.875rem 0;
  }
  .section-cell {
    text-align: left;
    font-size: 1rem;
    padding: 0.125rem 0;
  }
  .section-label {
    font-size: 1.05rem;
    margin-bottom: 0.125rem;
  }
  .section-value {
    padding-left: 0;
  }
  .btn-primary {
    font-size: 1rem;
  }
  .btn-primary::after {
    width: 1.2em;
    height: 1.2em;
    margin-left: 0.7em;
  }
  .sns-links span {
    margin-bottom: 10px;
  }
  .sns-links a {
    font-size: 1rem;
  }

  /* ヘッダー・メニュー */
  .site-header {
    position: fixed;
    padding: 20px 20px 3rem;
  }
  .site-logo img {
    max-height: 24px;
  }
  .hamburger > svg {
    width: 24px;
    height: 16px;
  }
  .header-controls .lang-switch {
    display: none;
  }
  .menu-panel {
    width: 100%;
    padding: 75px 20px 25px;
  }
  .menu-close {
    top: 20px;
    right: 20px;
  }
  .menu-close svg {
    width: 24px;
    height: 24px;
  }
  .menu-logo {
    margin-bottom: 20%;
  }
  .menu-logo img {
    max-width: 140px;
  }
  .menu-nav {
    margin-bottom: 50px;
  }
  .menu-nav a {
    font-size: 1rem;
  }
  .menu-nav li {
    margin-bottom: 20px;
  }
  .menu-panel .lang-switch {
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
    font-size: 0.8rem;
  }

  /* KVセクション */
  .kv {
    height: 90dvh;
    background-color: var(--color-bg-dark);
  }
  .kv-bg {
    top: 15dvh;
    height: 60dvh;
  }

  /* ========== Top News ========== */
  .top-news {
    padding: 3.5rem 10px 3rem;
    background-image: linear-gradient(
      to top,
      #181818 80%,
      rgba(18, 18, 18, 0.85) 90%,
      rgba(0, 0, 0, 0) 100%
    );
  }
  .top-news__inner .news-list__date {
    margin-right: 0.25rem;
  }
  .top-news__inner .news-list__title {
    max-width: 18em;
  }

  /* メインセクション */
  .main-section {
    min-height: 400px;
    align-items: flex-start;
  }
  .panel {
    height: 100dvh;
  }
  .section-content {
    margin-left: 0;
    padding: 75px 15px;
    max-width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .section-message {
    font-size: 0.875rem;
    margin: 1rem auto 3rem;
    letter-spacing: 1.5px;
  }
  /* Distributor Section */
  .distributor-bg-base {
    background-image: url("../img/index/bg_distributor_sp.jpg");
  }
  .distributor-bg-main {
    background-image: url("../img/index/bg_distributor_main_sp.jpg");
  }
  #distributor .section-content {
    padding: 75px 15px;
  }
  #distributor .section-title h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
  }
  #distributor .subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
  }
  #distributor .section-message {
    font-size: 0.875rem;
    line-height: 2;
  }

  /* ========== Sub Page ========== */
  .sub-page {
    /* padding-bottom: 3rem; */
  }

  .sub-page .section-content.pdL {
    padding-top: 5rem;
    padding-bottom: 2rem;
  }
  .sub-page .section-content.pdM {
    padding: 3rem 0;
  }

  .sub-page .section-content.no-kv {
    padding-top: 8rem;
  }
  .kv.sub {
    top: 18dvh;
    height: 55vh;
    /* aspect-ratio: 16 / 4; */
  }
  .kv.sub .kv-bg {
    object-position: center center;
  }

  /* Company */
  .president-flex {
    gap: 2rem;
    margin-bottom: 0;
  }
  .president-message {
    font-size: 1rem;
    line-height: 1.8;
  }
  .president-position {
    font-size: 0.875rem;
  }
  .president-name img {
    height: 46px;
  }
  /* .slide */
  #slide {
    position: relative;
    z-index: 2;
  }
  .gallery-slider img {
    height: 200px;
  }
  /* philosophy */
  #philosophy .section-content {
    padding: 3rem 15px;
    position: relative;
    overflow: visible;
  }
  #philosophy {
    height: auto;
  }
  .philosophy-pin {
    position: relative;
    height: auto;
  }
  #philosophy .section-title {
    z-index: 5;
    position: relative;
  }
  .philosophy-flex {
    position: relative;
    flex-direction: column;
    gap: 1.5rem;
    align-items: stretch;
    min-height: auto;
  }
  .philosophy-image {
    position: absolute;
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
  }
  .philosophy-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.3);
  }
  .philosophy-text {
    position: relative;
    z-index: 2;
    background: transparent;
  }
  .philosophy-list {
    margin-bottom: 0;
  }
  .philosophy-list li {
    font-size: 1.125rem;
    margin-bottom: 1.5em;
    letter-spacing: 0.225em;
  }
  .philosophy-list .num {
    font-size: 1.25rem;
  }
  .philosophy-list .desc {
    font-size: 0.875rem;
    margin-left: 2em;
  }
  /* special-feature */
  #special-feature .section-title {
    margin-bottom: 2.5rem;
  }
  .video-container iframe {
    width: 100%;
  }

  /* ========== Service ========== */
  #service-intro {
    padding-bottom: 0;
  }

  .service-visual-col--left,
  .service-visual-col--right {
    position: absolute;
  }
  .service-visual-message {
    font-size: 0.5rem;
    max-width: none;
  }

  /* service-feature */
  .service-feature-flex {
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2.5rem;
  }
  .service-feature-flex:nth-child(even) {
    flex-direction: column;
  }
  .service-feature-img,
  .service-feature-text {
    max-width: 100%;
    flex: 1 1 100%;
    padding: 0;
  }
  .service-feature-label {
    font-size: 1.125rem;
    letter-spacing: 0.1em;
    padding: 0.1em 0.5em;
    margin-bottom: 1rem;
  }
  .service-feature-desc {
    font-size: 0.875rem;
  }

  .service-oem-flex {
    flex-direction: column;
    gap: 1rem;
    margin-top: 0;
  }
  .service-oem-img,
  .service-oem-text {
    max-width: 100%;
    flex: 1 1 100%;
    padding: 0;
  }
  .service-oem-img img {
    width: 100%;
  }
  .service-oem-text {
    font-size: 1rem;
    line-height: 1.8;
    letter-spacing: 0.1em;
  }

  /* ========== Product ========== */
  .merit-flex {
    flex-direction: column;
    gap: 2.5rem;
  }
  .merit-title {
    min-height: 0;
    font-size: 1.125rem;
  }
  .merit-desc {
    font-size: 1rem;
  }
  .product-section + .product-section {
    margin-top: 3rem;
  }
  .product-flex {
    flex-direction: column;
    gap: 1.2rem 0;
    max-width: 100%;
    margin: 0 auto;
  }
  .product-col,
  .product-col-full {
    width: 100%;
    margin-bottom: 1.2rem;
    align-items: center;
  }
  .product-img {
    width: 100%;
    max-width: 340px;
    margin: 0 auto 0.3rem auto;
    overflow: hidden;
  }
  .product-caption {
    font-size: 1rem;
  }

  /* ========== Distributor Wanted ========== */
  .distributor-area {
    margin-bottom: 3rem;
  }
  .distributor-area-title {
    margin-bottom: 1rem;
  }
  .distributor-list {
    font-size: 1rem;
  }
  .distributor-list li {
    flex-direction: column;
    align-items: flex-start;
    font-size: 1rem;
    letter-spacing: 1.2px;
    gap: 0.3rem;
    text-indent: -1em;
    padding-left: 1em;
    margin-left: 1em;
  }

  /* ========== CTA ========== */
  .cta-section {
    flex-direction: column;
    min-height: unset;
    background: linear-gradient(180deg, #f5f0e8 50%, #111 50%);
  }
  .cta-left,
  .cta-right {
    padding: 75px 15px;
    flex: 1 1 100%;
  }
  .cta-left {
    background-position: center;
  }
  .cta-right {
    background-position: center;
  }
  .cta-inner {
    max-width: 100%;
  }
  .cta-desc {
    font-size: 0.875rem;
  }
  .cta-logo {
    max-width: 180px;
    margin: 0 auto 30px;
  }
  .cta-right .btn-primary {
    font-size: 1.25rem;
  }

  /* フッター */
  .lang-switch-pc {
    display: none;
  }
  .lang-switch-sp {
    display: flex;
    justify-content: center;
    margin-bottom: 2.5rem;
  }
  .site-footer {
    padding: 75px 0 25px;
  }
  .footer-inner {
    gap: 40px;
    padding: 0 15px;
  }
  .footer-left,
  .footer-center,
  .footer-right {
    flex: 1 1 100%;
    min-width: 100%;
  }
  .footer-nav {
    margin-bottom: 0;
  }
  .footer-nav a {
    font-size: 1rem;
  }
  .footer-center {
    margin-top: 2rem;
  }
  .footer-center img {
    max-width: 140px;
  }
  .footer-right {
    align-items: flex-start;
    max-width: 100%;
  }
  .footer-sns {
    margin-bottom: 3rem;
  }
  .footer-sns a {
    font-size: 1rem;
  }
  .footer-address {
    margin-bottom: 0;
  }
  .footer-copy {
    margin-top: 40px;
  }
  .footer-copy-inner {
    padding: 0 15px;
  }

  /* ========== News List (SP) ========== */
  .news-list-wrap {
    margin: 0;
  }
  .news-list {
    margin: 0;
    padding: 0;
  }
  .news-item {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.1rem 0 1.1rem 0;
    border-bottom: 1px solid var(--color-border-light);
    gap: 0.2rem;
  }
  .news-date {
    min-width: unset;
    font-size: 1rem;
    margin-right: 0;
    margin-bottom: 0.2rem;
    letter-spacing: 0.08em;
  }
  .news-title {
    font-size: 1rem;
    line-height: 1.6;
    letter-spacing: 0.12em;
    white-space: normal;
    width: 100%;
  }
  .news-pagination {
    font-size: 1rem;
    margin: 2.5rem 0 0 0;
    gap: 0.2rem;
  }
  .news-pagination .page-numbers {
    font-size: 1rem;
    padding: 0 0.3em;
  }

  /* ========== News Detail (SP) ========== */
  .news-detail {
    width: 100%;
    max-width: 100%;
    margin-top: 0;
  }
  .news-detail-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
  }
  .news-detail-thumb {
    margin-bottom: 1.2rem;
  }
  .news-detail-content {
    font-size: 1rem;
    line-height: 1.67;
    letter-spacing: 0.225em;
  }
  .news-detail-nav {
    gap: 0.7rem;
    margin-top: 1.5rem;
    font-size: 0.875rem;
  }
  .news-detail-nav .to-list {
    margin: 0;
    font-size: 0.875rem;
  }
}

/* ========== English ========== */
html[lang="en"] {
  .distributor-pref {
    min-width: 160px;
  }
  .distributor-list li {
    flex-basis: calc((100% - 2.5rem) / 2);
    max-width: calc((100% - 2.5rem) / 2);
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  html[lang="en"] {
    .distributor-list li {
      flex-basis: 100%;
      max-width: none;
    }
  }
}
