/* ==============================================
   YU CORPORATION - Main Stylesheet
   ============================================== */

/* ---------- リセット & ベース ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --c-red: #C8102E;
  --c-red-dark: #A30D25;
  --c-gray: #5F5E5A;
  --c-gray-dark: #3D3D3A;
  --c-gray-light: #B4B2A9;
  --c-bg: #F1EFE8;
  --c-bg-warm: #FAF8F2;
  --c-ink: #1A1A1A;
  --c-white: #FFFFFF;
  --c-border: #D3D1C7;

  --f-jp: "Noto Serif JP", "游明朝", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --f-jp-sans: "Noto Sans JP", "游ゴシック", "Yu Gothic", "Hiragino Sans", sans-serif;
  --f-en: "Cormorant Garamond", "Times New Roman", serif;
  --f-en-sans: "Inter", "Helvetica Neue", sans-serif;

  --max-w: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--f-jp-sans);
  color: var(--c-ink);
  background: var(--c-white);
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt" 1;
}

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

a { color: inherit; text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.7; }

button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---------- 共通レイアウト ---------- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: clamp(80px, 12vw, 160px) 0;
}

.section-tag {
  font-family: var(--f-en);
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0.15em;
  color: var(--c-red);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.section-title {
  font-family: var(--f-jp);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}

.section-title-en {
  font-family: var(--f-en);
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--c-gray-light);
  margin-bottom: 12px;
}

/* ---------- ヘッダー ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px var(--gutter);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s;
}

.header.scrolled {
  border-bottom-color: var(--c-border);
  padding: 12px var(--gutter);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.logo img {
  width: 40px;
  height: 40px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-text-en {
  font-family: var(--f-en-sans);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.18em;
  color: var(--c-ink);
}

.logo-text-jp {
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--c-gray);
  margin-top: 4px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-list {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-list a {
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--c-ink);
  position: relative;
  padding: 4px 0;
}

.nav-list a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--c-red);
  transition: width 0.3s;
}

.nav-list a:hover::after { width: 100%; }
.nav-list a:hover { opacity: 1; }

.nav-cta {
  display: inline-block;
  padding: 12px 24px;
  background: var(--c-ink);
  color: var(--c-white);
  font-size: 12px;
  letter-spacing: 0.15em;
  transition: background 0.3s;
}

.nav-cta:hover {
  background: var(--c-red);
  opacity: 1;
}

.nav-toggle {
  display: none;
  width: 32px;
  height: 24px;
  position: relative;
  cursor: pointer;
}

.nav-toggle span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--c-ink);
  transition: all 0.3s;
}

.nav-toggle span:nth-child(1) { top: 4px; }
.nav-toggle span:nth-child(2) { top: 12px; }
.nav-toggle span:nth-child(3) { top: 20px; }

.nav-toggle.open span:nth-child(1) { top: 12px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { top: 12px; transform: rotate(-45deg); }

/* ---------- ヒーロー ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  background-color: #1a1a1a;
  overflow: hidden;
}

/* 画像は全面に */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 30%;
  filter: brightness(1.18) contrast(1.05) saturate(0.95);
}

/* 左側に強めのグラデーションをかけてテキストを読ませる(分割なし・グラデで段階的) */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(95deg,
      rgba(15, 15, 15, 0.55) 0%,
      rgba(20, 20, 20, 0.3) 30%,
      rgba(20, 20, 20, 0.05) 60%,
      rgba(20, 20, 20, 0) 80%),
    linear-gradient(180deg,
      rgba(0, 0, 0, 0.15) 0%,
      rgba(0, 0, 0, 0) 25%,
      rgba(0, 0, 0, 0) 45%,
      rgba(10, 10, 10, 0.55) 75%,
      rgba(5, 5, 5, 0.85) 100%);
}

/* 旧テキスト用バックグラウンド(分割の左面)を非表示 */
.hero-text-bg {
  display: none;
}

/* 赤い三角アクセント */
.hero-accent {
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(225deg,
    var(--c-red) 0%,
    var(--c-red) 40%,
    rgba(200, 16, 46, 0) 80%);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
}

.hero-accent-line {
  position: absolute;
  top: 50%;
  left: 0;
  width: 40px;
  height: 1px;
  background: var(--c-red);
  z-index: 5;
  transform: translateY(-50%);
}

.hero-num {
  position: absolute;
  right: 5%;
  top: 30%;
  z-index: 5;
  font-family: var(--f-en);
  font-style: italic;
  font-size: clamp(80px, 12vw, 160px);
  line-height: 1;
  color: rgba(255, 255, 255, 0.08);
  font-weight: 400;
  letter-spacing: -0.04em;
  pointer-events: none;
  user-select: none;
}

.hero-inner {
  position: relative;
  z-index: 5;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter) 120px;
  width: 100%;
  color: var(--c-white);
  display: flex;
  align-items: flex-end;
  min-height: 100vh;
}

.hero-content {
  width: 55%;
  max-width: 600px;
  padding-right: 40px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--f-en);
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.2em;
  margin-bottom: 36px;
  opacity: 0.95;
  animation: fadeIn 1s ease 0.2s both;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
  white-space: nowrap;
}

.hero-tag::before {
  content: "";
  display: block;
  width: 28px;
  height: 1px;
  background: var(--c-red);
  flex-shrink: 0;
}

.hero-title {
  font-family: var(--f-jp);
  font-size: clamp(32px, 4.5vw, 60px);
  font-weight: 400;
  line-height: 1.45;
  margin-bottom: 48px;
  letter-spacing: 0.05em;
  animation: fadeUp 1s ease 0.4s both;
  text-shadow:
    0 2px 24px rgba(0, 0, 0, 0.7),
    0 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-title .accent {
  color: var(--c-red);
  font-weight: 500;
  text-shadow:
    0 2px 24px rgba(200, 16, 46, 0.4),
    0 1px 6px rgba(0, 0, 0, 0.7);
}

.hero-desc {
  font-size: 15px;
  line-height: 2.1;
  max-width: 480px;
  opacity: 0.95;
  margin-bottom: 48px;
  animation: fadeUp 1s ease 0.6s both;
  padding: 16px 0 16px 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  animation: fadeUp 1s ease 0.8s both;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  right: var(--gutter);
  z-index: 5;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--f-en-sans);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: scrollDown 2s ease infinite;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.hero-scroll::after {
  content: "";
  display: block;
  width: 32px;
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
}

/* ============= タブレット〜スマホ ============= */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    align-items: stretch;
    min-height: auto;
    padding-top: 64px;
  }

  .hero-bg {
    position: relative;
    inset: auto;
    width: 100%;
    height: 88vh;
    min-height: 560px;
    z-index: 0;
  }

  .hero-bg img {
    object-position: 50% 25%;
    filter: brightness(0.92) contrast(1.08);
  }

  .hero-overlay {
    width: 100%;
    height: 88vh;
    min-height: 560px;
    inset: auto;
    top: 64px;
    background:
      linear-gradient(270deg,
        rgba(10, 10, 10, 0.7) 0%,
        rgba(20, 20, 20, 0.45) 30%,
        rgba(20, 20, 20, 0.1) 65%,
        rgba(20, 20, 20, 0) 100%),
      linear-gradient(180deg,
        rgba(0, 0, 0, 0.55) 0%,
        rgba(20, 20, 20, 0.15) 30%,
        rgba(20, 20, 20, 0) 60%,
        rgba(10, 10, 10, 0.85) 92%,
        #1a1a1a 100%);
  }

  .hero-accent {
    width: 70px;
    height: 70px;
  }

  .hero-accent-line {
    display: block;
    top: auto;
    bottom: 35%;
    left: 24px;
    width: 32px;
    transform: none;
    z-index: 6;
  }

  .hero-num {
    display: block;
    top: auto;
    bottom: 28%;
    left: 22px;
    right: auto;
    font-size: 64px;
    color: rgba(255, 255, 255, 0.22);
    z-index: 6;
  }

  /* SP: 縦書きで右側配置 */
  .hero-inner {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    height: 88vh;
    min-height: 560px;
    padding: 0;
    align-items: stretch;
    z-index: 5;
    flex-direction: column;
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
    padding: 0;
    height: 100%;
    position: relative;
  }

  /* 英文タグを左下に水平配置 */
  .hero-tag {
    position: absolute;
    bottom: 26%;
    left: 64px;
    margin-bottom: 0;
    font-size: 10px;
    letter-spacing: 0.18em;
    flex-direction: row;
    z-index: 6;
    writing-mode: horizontal-tb;
  }

  .hero-tag::before {
    display: none;
  }

  /* キャッチコピーを縦書きで右上に配置 */
  .hero-title {
    position: absolute;
    top: 32px;
    right: 24px;
    transform: none;
    margin-bottom: 0;
    font-size: 38px;
    line-height: 1.7;
    letter-spacing: 0.18em;
    writing-mode: vertical-rl;
    -webkit-writing-mode: vertical-rl;
    text-orientation: upright;
    -webkit-text-orientation: upright;
    max-height: calc(100% - 200px);
    z-index: 6;
    text-shadow:
      0 2px 24px rgba(0, 0, 0, 0.85),
      0 1px 6px rgba(0, 0, 0, 0.7);
    font-weight: 500;
  }

  /* <br>を縦書き内で改行に変換 */
  .hero-title br {
    display: block;
    content: "";
    margin: 8px 0;
  }

  /* 2行目「確かな仕事を。」を2文字分下げる */
  .hero-title .line-2 {
    display: inline-block;
    padding-top: 2.5em;
  }

  /* 赤い「確かな仕事」の縦書き調整 */
  .hero-title .accent {
    display: inline-block;
  }

  .hero-desc {
    display: none;
  }

  /* CTAボタンを画像下部に配置 */
  .hero-actions {
    position: absolute;
    bottom: 32px;
    left: 24px;
    right: 24px;
    flex-direction: row;
    gap: 8px;
    z-index: 6;
  }

  .hero-actions .btn {
    flex: 1;
    justify-content: center;
    padding: 14px 12px;
    font-size: 11px;
    letter-spacing: 0.08em;
  }

  .hero-scroll {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-bg,
  .hero-overlay,
  .hero-inner {
    height: 92vh;
    min-height: 580px;
  }

  .hero-title {
    font-size: 34px;
    right: 20px;
    top: 28px;
    line-height: 1.65;
  }

  .hero-tag {
    left: 52px;
    font-size: 9px;
  }

  .hero-num {
    font-size: 56px;
    left: 18px;
  }

  .hero-accent-line {
    left: 20px;
    width: 26px;
  }

  .hero-accent {
    width: 60px;
    height: 60px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 8px;
  }

  .hero-actions .btn {
    width: 100%;
    padding: 13px;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 36px;
  font-size: 13px;
  letter-spacing: 0.15em;
  border: 1px solid currentColor;
  background: transparent;
  color: var(--c-white);
  transition: all 0.3s;
}

.btn-primary {
  background: var(--c-red);
  border-color: var(--c-red);
}

.btn-primary:hover {
  background: var(--c-red-dark);
  border-color: var(--c-red-dark);
  opacity: 1;
}

.btn-outline:hover {
  background: var(--c-white);
  color: var(--c-ink);
  opacity: 1;
}

.btn .arrow {
  display: inline-block;
  transition: transform 0.3s;
}

.btn:hover .arrow { transform: translateX(4px); }

@keyframes scrollDown {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 0.85; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- About / 私たちについて ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 8vw, 100px);
  align-items: center;
}

.about-image-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
}

.about-image-wrap-inner {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--c-gray);
  overflow: hidden;
  z-index: 1;
}

.about-image-wrap img,
.about-image-wrap picture {
  width: 100%;
  height: 100%;
  display: block;
}

.about-image-wrap img {
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-image-wrap:hover img {
  transform: scale(1.03);
}

/* 右下の赤い装飾(画像の外にはみ出る) */
.about-image-wrap::after {
  content: "";
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  background: var(--c-red);
  z-index: 0;
}

/* 左上のサブアクセント */
.about-image-wrap::before {
  content: "";
  position: absolute;
  top: -20px;
  left: -20px;
  width: 60px;
  height: 60px;
  border: 1px solid var(--c-gray-light);
  z-index: 0;
}

.about-content p {
  font-size: 16px;
  line-height: 2;
  color: var(--c-gray-dark);
  margin-bottom: 24px;
}

.about-content p strong {
  color: var(--c-ink);
  font-weight: 500;
}

/* ---------- Strengths / 強み3つ ---------- */
.strengths {
  background: var(--c-bg);
}

.strengths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--c-border);
  margin-top: 60px;
}

.strength-item {
  background: var(--c-bg);
  padding: 48px 32px;
  position: relative;
}

.strength-num {
  font-family: var(--f-en);
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--c-red);
  margin-bottom: 24px;
}

.strength-num::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--c-red);
  vertical-align: middle;
  margin-right: 12px;
}

.strength-title {
  font-family: var(--f-jp);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 20px;
}

.strength-desc {
  font-size: 14px;
  line-height: 2;
  color: var(--c-gray-dark);
}

/* ---------- Service / サービス4つ ---------- */
.service-list {
  display: grid;
  gap: 80px;
  margin-top: 80px;
}

.service-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 8vw, 100px);
  align-items: center;
}

.service-item:nth-child(even) {
  direction: rtl;
}

.service-item:nth-child(even) > * {
  direction: ltr;
}

.service-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--c-gray);
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}

.service-item:hover .service-image img { transform: scale(1.04); }

.service-content {
  padding: 16px 0;
}

.service-num {
  font-family: var(--f-en-sans);
  font-size: 64px;
  font-weight: 300;
  color: var(--c-gray-light);
  line-height: 1;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.service-title {
  font-family: var(--f-jp);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 500;
  margin-bottom: 24px;
  line-height: 1.5;
}

.service-desc {
  font-size: 15px;
  line-height: 2;
  color: var(--c-gray-dark);
  margin-bottom: 32px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.service-tag {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid var(--c-border);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--c-gray-dark);
  background: var(--c-white);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-en);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--c-ink);
  border-bottom: 1px solid var(--c-ink);
  padding-bottom: 4px;
}

.service-link:hover { color: var(--c-red); border-color: var(--c-red); opacity: 1; }

/* ---------- Shop / パネルショップ ---------- */
.shop {
  background: var(--c-ink);
  color: var(--c-white);
  position: relative;
  overflow: hidden;
}

.shop::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 0;
  border-style: solid;
  border-width: 160px 160px 0 0;
  border-color: var(--c-red) transparent transparent transparent;
}

.shop .section-tag { color: var(--c-red); }
.shop .section-title-en { color: rgba(255, 255, 255, 0.15); }

.shop-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 8vw, 100px);
  align-items: center;
  margin-top: 60px;
}

.shop-content p {
  line-height: 2;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 24px;
}

.shop-features {
  list-style: none;
  margin: 32px 0;
}

.shop-features li {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
}

.shop-features li::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  background: var(--c-red);
  flex-shrink: 0;
}

.shop-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.shop-card {
  background: var(--c-gray-dark);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s;
}

.shop-card-image {
  aspect-ratio: 1 / 1.1;
  overflow: hidden;
  background: #1a1a1a;
}

.shop-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transition: transform 0.6s ease;
}

.shop-card:hover {
  transform: translateY(-4px);
}

.shop-card:hover .shop-card-image img {
  transform: scale(1.05);
}

.shop-card-body {
  padding: 18px 20px 22px;
  background: var(--c-gray-dark);
}

.shop-card-num {
  font-family: var(--f-en-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  opacity: 0.55;
  margin-bottom: 8px;
}

.shop-card-name {
  font-family: var(--f-jp);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 4px;
  color: var(--c-white);
}

.shop-card-en {
  font-family: var(--f-en-sans);
  font-size: 10px;
  letter-spacing: 0.15em;
  opacity: 0.5;
  text-transform: uppercase;
}

.shop-cta {
  margin-top: 32px;
}

.btn-shop {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 36px;
  background: var(--c-red);
  color: var(--c-white);
  font-size: 13px;
  letter-spacing: 0.15em;
  transition: background 0.3s;
}

.btn-shop:hover { background: var(--c-red-dark); opacity: 1; }

/* ---------- News ---------- */
.news-list {
  margin-top: 60px;
  border-top: 1px solid var(--c-border);
}

.news-item {
  display: grid;
  grid-template-columns: 140px 120px 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--c-border);
  transition: padding 0.3s;
}

.news-item:hover {
  padding-left: 16px;
}

.news-date {
  font-family: var(--f-en-sans);
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--c-gray);
}

.news-cat {
  font-size: 11px;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border: 1px solid var(--c-border);
  text-align: center;
  color: var(--c-gray-dark);
  background: var(--c-white);
}

.news-title {
  font-size: 15px;
  line-height: 1.7;
}

.news-arrow {
  font-family: var(--f-en);
  font-size: 16px;
  color: var(--c-gray);
}

/* ---------- Contact ---------- */
.contact {
  background: var(--c-bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 8vw, 100px);
  margin-top: 60px;
}

.contact-info p {
  line-height: 2;
  color: var(--c-gray-dark);
  margin-bottom: 32px;
}

.contact-direct {
  background: var(--c-white);
  padding: 32px;
  border-left: 4px solid var(--c-red);
}

.contact-direct-label {
  font-family: var(--f-en);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--c-gray);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.contact-direct-tel {
  font-family: var(--f-en-sans);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--c-ink);
  display: block;
  margin-bottom: 8px;
}

.contact-direct-hours {
  font-size: 13px;
  color: var(--c-gray);
}

/* ---------- Form ---------- */
.form {
  background: var(--c-white);
  padding: clamp(32px, 5vw, 56px);
}

.form-row {
  margin-bottom: 28px;
}

.form-row.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-label {
  display: block;
  font-size: 13px;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
  color: var(--c-ink);
  font-weight: 500;
}

.form-label .req {
  color: var(--c-red);
  margin-left: 6px;
  font-size: 11px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--c-bg-warm);
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 15px;
  color: var(--c-ink);
  transition: border-color 0.2s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--c-red);
  background: var(--c-white);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.7;
}

.form-radio-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.form-radio {
  position: relative;
  cursor: pointer;
}

.form-radio input {
  position: absolute;
  opacity: 0;
}

.form-radio span {
  display: block;
  padding: 14px 16px;
  background: var(--c-bg-warm);
  border: 1px solid transparent;
  font-size: 14px;
  text-align: center;
  transition: all 0.2s;
}

.form-radio input:checked + span {
  background: var(--c-ink);
  color: var(--c-white);
  border-color: var(--c-ink);
}

.form-submit {
  display: block;
  width: 100%;
  padding: 20px;
  background: var(--c-ink);
  color: var(--c-white);
  font-size: 14px;
  letter-spacing: 0.2em;
  cursor: pointer;
  transition: background 0.3s;
  margin-top: 16px;
}

.form-submit:hover { background: var(--c-red); }

.form-note {
  font-size: 12px;
  color: var(--c-gray);
  text-align: center;
  margin-top: 16px;
  line-height: 1.7;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--c-ink);
  color: var(--c-white);
  padding: 80px 0 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo-text-en { color: var(--c-white); }
.footer-brand .logo-text-jp { color: rgba(255, 255, 255, 0.5); }

.footer-info {
  margin-top: 24px;
  font-size: 13px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.6);
}

.footer-col h4 {
  font-family: var(--f-en);
  font-size: 12px;
  letter-spacing: 0.2em;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  padding: 6px 0;
  font-size: 14px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--c-red);
  opacity: 1;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

/* ---------- フローティングCTA(モバイル・スクロール時に出現) ---------- */
.floating-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--c-ink);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.floating-cta.visible {
  transform: translateY(0);
  pointer-events: auto;
}

.floating-cta a {
  padding: 16px 12px;
  text-align: center;
  color: var(--c-white);
  font-size: 12px;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.floating-cta a:first-child {
  background: var(--c-red);
}

.floating-cta a:last-child {
  background: var(--c-ink);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.floating-cta a::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.floating-cta a:first-child::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/></svg>");
}

.floating-cta a:last-child::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'/><polyline points='22,6 12,13 2,6'/></svg>");
}

@media (min-width: 901px) {
  .floating-cta {
    display: none;
  }
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 900px) {
  .nav-list { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: block; }

  .nav-list.mobile-open {
    display: flex;
    position: fixed;
    top: 70px;
    left: 0; right: 0;
    background: var(--c-white);
    flex-direction: column;
    padding: 32px var(--gutter);
    gap: 0;
    border-bottom: 1px solid var(--c-border);
  }

  .nav-list.mobile-open li {
    border-bottom: 1px solid var(--c-border);
  }

  .nav-list.mobile-open a {
    display: block;
    padding: 18px 0;
    font-size: 15px;
  }

  .about-grid,
  .service-item,
  .shop-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .news-item {
    grid-template-columns: auto 1fr;
    grid-template-areas: "date cat" "title title" "arrow arrow";
    gap: 8px 16px;
  }
  .news-date { grid-area: date; }
  .news-cat { grid-area: cat; }
  .news-title { grid-area: title; padding-top: 8px; }
  .news-arrow { display: none; }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .form-row.split {
    grid-template-columns: 1fr;
  }

  .service-item:nth-child(even) {
    direction: ltr;
  }
}

@media (max-width: 900px) {
  /* SPでは1枚目と2枚目のみ表示(パンチング+レーザーカット各1枚) */
  .shop-card:nth-child(n+3) {
    display: none;
  }
}

@media (max-width: 600px) {
  .form-radio-group { grid-template-columns: 1fr; }
}

/* ==============================================
   下層ページ共通スタイル (sub-page)
   ============================================== */

.sub-hero {
  position: relative;
  padding: 180px 0 100px;
  background: linear-gradient(180deg, var(--c-ink) 0%, #2a2a28 100%);
  color: var(--c-white);
  overflow: hidden;
}

.sub-hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 160px;
  height: 160px;
  background: linear-gradient(225deg, var(--c-red) 0%, var(--c-red) 35%, transparent 80%);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  pointer-events: none;
}

.sub-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(180deg, transparent 0%, var(--c-bg) 100%);
}

.sub-hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 2;
}

.sub-breadcrumb {
  font-family: var(--f-en-sans);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 32px;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.sub-breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
}

.sub-breadcrumb a:hover {
  color: var(--c-red);
  opacity: 1;
}

.sub-breadcrumb-sep {
  opacity: 0.4;
}

.sub-tag {
  font-family: var(--f-en);
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--c-red);
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-transform: uppercase;
}

.sub-tag::before {
  content: "";
  display: block;
  width: 28px;
  height: 1px;
  background: var(--c-red);
}

.sub-title {
  font-family: var(--f-jp);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.sub-title-en {
  font-family: var(--f-en);
  font-style: italic;
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 300;
  line-height: 1;
  color: rgba(255, 255, 255, 0.15);
  letter-spacing: -0.02em;
  margin-top: 24px;
}

.sub-content {
  padding: 100px 0;
  background: var(--c-bg);
}

.sub-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.sub-container.wide {
  max-width: var(--max-w);
}

/* 会社概要テーブル */
.info-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--c-border);
  background: var(--c-white);
}

.info-table tr {
  border-bottom: 1px solid var(--c-border);
}

.info-table th,
.info-table td {
  padding: 24px 24px;
  text-align: left;
  vertical-align: top;
  line-height: 1.9;
}

.info-table th {
  width: 220px;
  background: var(--c-bg);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.05em;
  color: var(--c-gray-dark);
  position: relative;
}

.info-table th::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  bottom: 24px;
  width: 2px;
  background: var(--c-red);
}

.info-table td {
  font-size: 15px;
  color: var(--c-ink);
}

@media (max-width: 700px) {
  .info-table th,
  .info-table td {
    display: block;
    width: 100%;
  }
  .info-table th {
    padding: 16px 24px;
    border-bottom: 1px solid var(--c-border);
  }
  .info-table td {
    padding: 16px 24px 24px;
  }
}

/* サービス詳細ページ */
.service-detail-hero-img {
  position: relative;
  aspect-ratio: 16/7;
  overflow: hidden;
  background: var(--c-gray);
  margin-bottom: 60px;
}

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

.service-detail-section {
  margin-bottom: 80px;
}

.service-detail-section h2 {
  font-family: var(--f-jp);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 500;
  margin-bottom: 24px;
  padding-left: 20px;
  border-left: 3px solid var(--c-red);
  line-height: 1.5;
}

.service-detail-section p {
  font-size: 15px;
  line-height: 2.1;
  color: var(--c-gray-dark);
  margin-bottom: 16px;
}

.service-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.service-feature {
  background: var(--c-white);
  padding: 32px 28px;
  border-top: 2px solid var(--c-red);
}

.service-feature-num {
  font-family: var(--f-en-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--c-red);
  margin-bottom: 12px;
}

.service-feature h3 {
  font-family: var(--f-jp);
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 16px;
  line-height: 1.5;
}

.service-feature p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--c-gray-dark);
}

@media (max-width: 700px) {
  .service-feature-grid {
    grid-template-columns: 1fr;
  }
}

/* お知らせ詳細ページ */
.news-detail-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.news-detail-date {
  font-family: var(--f-en-sans);
  font-size: 14px;
  letter-spacing: 0.05em;
  color: var(--c-gray);
}

.news-detail-cat {
  font-size: 11px;
  letter-spacing: 0.1em;
  padding: 5px 14px;
  border: 1px solid var(--c-border);
  color: var(--c-gray-dark);
  background: var(--c-white);
}

.news-detail-title {
  font-family: var(--f-jp);
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--c-border);
}

.news-detail-body {
  font-size: 15px;
  line-height: 2.1;
  color: var(--c-ink);
}

.news-detail-body p {
  margin-bottom: 24px;
}

.news-detail-body h3 {
  font-family: var(--f-jp);
  font-size: 20px;
  font-weight: 500;
  margin: 48px 0 20px;
  padding-left: 16px;
  border-left: 3px solid var(--c-red);
}

.sub-back {
  margin-top: 80px;
  padding-top: 48px;
  border-top: 1px solid var(--c-border);
}

.sub-back a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-en-sans);
  font-size: 13px;
  letter-spacing: 0.15em;
  color: var(--c-ink);
  border-bottom: 1px solid var(--c-ink);
  padding-bottom: 4px;
  transition: all 0.2s;
}

.sub-back a:hover {
  color: var(--c-red);
  border-color: var(--c-red);
  opacity: 1;
}

.sub-back .arrow {
  transition: transform 0.2s;
}

.sub-back a:hover .arrow {
  transform: translateX(-4px);
}

/* CTAセクション(下層共通) */
.sub-cta {
  background: var(--c-ink);
  color: var(--c-white);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.sub-cta::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: linear-gradient(225deg, var(--c-red) 0%, transparent 80%);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
}

.sub-cta-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 2;
}

.sub-cta-tag {
  font-family: var(--f-en);
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--c-red);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.sub-cta h2 {
  font-family: var(--f-jp);
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 24px;
}

.sub-cta p {
  font-size: 15px;
  line-height: 2;
  opacity: 0.85;
  margin-bottom: 40px;
}

.sub-cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}


/* ==============================================
   下層ページ — SP最適化(レスポンシブ強化)
   ============================================== */
@media (max-width: 900px) {
  .sub-hero {
    padding: 120px 0 70px;
  }

  .sub-hero::before {
    width: 100px;
    height: 100px;
  }

  .sub-hero::after {
    height: 50px;
  }

  .sub-breadcrumb {
    font-size: 10px;
    margin-bottom: 24px;
    gap: 8px;
  }

  .sub-tag {
    font-size: 12px;
    margin-bottom: 14px;
    gap: 10px;
  }

  .sub-tag::before {
    width: 20px;
  }

  .sub-title {
    font-size: clamp(26px, 7vw, 34px);
    line-height: 1.45;
  }

  .sub-title-en {
    font-size: clamp(36px, 9vw, 48px);
    margin-top: 16px;
  }

  .sub-content {
    padding: 60px 0;
  }

  .sub-container {
    padding: 0 20px;
  }

  /* 会社概要テーブル(縦積み) */
  .info-table th {
    padding: 14px 18px 6px;
    font-size: 12px;
    background: var(--c-bg);
    border-bottom: none;
  }

  .info-table th::before {
    top: 14px;
    bottom: auto;
    height: 14px;
  }

  .info-table td {
    padding: 6px 18px 18px;
    font-size: 14px;
    background: var(--c-white);
    line-height: 1.8;
  }

  /* サービス詳細 */
  .service-detail-hero-img {
    margin-bottom: 36px;
    aspect-ratio: 16/10;
  }

  .service-detail-section {
    margin-bottom: 48px;
  }

  .service-detail-section h2 {
    font-size: clamp(20px, 5vw, 24px);
    padding-left: 16px;
    border-left-width: 3px;
    margin-bottom: 18px;
  }

  .service-detail-section p {
    font-size: 14px;
    line-height: 2;
  }

  .service-feature-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 24px;
  }

  .service-feature {
    padding: 24px 22px;
  }

  .service-feature h3 {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .service-feature p {
    font-size: 13px;
    line-height: 1.85;
  }

  /* お知らせ詳細 */
  .news-detail-meta {
    gap: 12px;
    margin-bottom: 20px;
  }

  .news-detail-date {
    font-size: 13px;
  }

  .news-detail-cat {
    font-size: 10px;
    padding: 4px 10px;
  }

  .news-detail-title {
    font-size: clamp(20px, 5vw, 26px);
    line-height: 1.55;
    margin-bottom: 24px;
    padding-bottom: 24px;
  }

  .news-detail-body {
    font-size: 14px;
    line-height: 2;
  }

  .news-detail-body p {
    margin-bottom: 18px;
  }

  .news-detail-body h3 {
    font-size: 17px;
    margin: 32px 0 14px;
    padding-left: 12px;
  }

  /* 下層ページCTA(SP) */
  .sub-cta {
    padding: 60px 0;
  }

  .sub-cta::before {
    width: 80px;
    height: 80px;
  }

  .sub-cta-tag {
    font-size: 12px;
  }

  .sub-cta h2 {
    font-size: clamp(20px, 5vw, 26px);
  }

  .sub-cta p {
    font-size: 13px;
    line-height: 1.9;
    margin-bottom: 28px;
  }

  .sub-cta-actions {
    flex-direction: column;
  }

  .sub-cta-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* 戻るリンク */
  .sub-back {
    margin-top: 48px;
    padding-top: 32px;
  }

  .sub-back a {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .sub-hero {
    padding: 100px 0 56px;
  }

  .sub-hero::before {
    width: 70px;
    height: 70px;
  }

  .sub-content {
    padding: 48px 0;
  }
}
