@charset "UTF-8";

/* =====================================================================
   映心動 Webサイト - メインスタイルシート
   TCD ISSUE (v1.5.1) デザインの1px精度再現
   ===================================================================== */

/* ----------------------------------------------------------------------
   CSS Custom Properties
   ---------------------------------------------------------------------- */
:root {
  /* Colors */
  --color-main: #35363b;
  --color-dark: #17181d;
  --color-light: #535458;
  --color-lighter: #717276;
  --color-link: #1578d6;
  --color-accent: #dd5a5a;
  --color-bg: #f5f5f5;
  --color-white: #ffffff;
  --color-border: #ddd;
  --color-text: #35363b;
  --color-text-light: #717276;

  /* Typography */
  --font-family: Arial, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "游ゴシック", "Yu Gothic", "メイリオ", Meiryo, sans-serif;
  --font-size-base: 16px;
  --font-size-sm: 14px;
  --font-size-xs: 12px;
  --font-size-lg: 18px;
  --font-size-xl: 22px;
  --font-size-2xl: 26px;
  --font-size-3xl: 36px;
  --font-size-hero: 70px;
  --line-height: 2;
  --line-height-tight: 1.4;
  --line-height-heading: 1.6;

  /* Spacing */
  --header-height: 70px;
  --section-padding: 120px;
  --section-padding-mobile: 60px;
  --content-width: 1200px;
  --content-narrow: 900px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.6s ease;
  --transition-slider: 1.5s ease;

  /* Z-index layers */
  --z-loader: 9999;
  --z-header: 1000;
  --z-drawer: 2000;
  --z-side-button: 500;
  --z-return-top: 500;
}


/* ----------------------------------------------------------------------
   Web Fonts (Icon Fonts from TCD ISSUE)
   ---------------------------------------------------------------------- */
@font-face {
  font-family: 'normal_icon';
  font-weight: normal;
  font-style: normal;
  font-display: swap;
  src: url('/assets/fonts/normal_icon.woff') format('woff');
}

@font-face {
  font-family: 'sns_icon';
  font-weight: normal;
  font-style: normal;
  font-display: swap;
  src: url('/assets/fonts/sns_icon.woff') format('woff');
}


/* ----------------------------------------------------------------------
   Reset & Base
   ---------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  word-wrap: break-word;
  word-break: break-word;
}

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: var(--line-height);
  color: var(--color-text);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  touch-action: manipulation;
}

body.home #container {
  margin-top: calc(-1 * var(--header-height));
}

a {
  color: var(--color-link);
  text-decoration: none;
  transition: opacity var(--transition-fast);
}

a:hover {
  opacity: 0.7;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

ul, ol {
  list-style: none;
}

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


/* ----------------------------------------------------------------------
   Utility Classes
   ---------------------------------------------------------------------- */
.clearfix::after {
  content: '';
  display: table;
  clear: both;
}

.pc { display: block; }
.mobile { display: none; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.content-width {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 50px;
}

.content-narrow {
  max-width: var(--content-narrow);
  margin: 0 auto;
  padding: 0 50px;
}


/* ----------------------------------------------------------------------
   Loader
   ---------------------------------------------------------------------- */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-dark);
  z-index: var(--z-loader);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-inner {
  text-align: center;
}

.loader-logo img {
  width: 200px;
  height: auto;
  animation: loaderPulse 1.5s ease-in-out infinite;
}

@keyframes loaderPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}


/* ----------------------------------------------------------------------
   Header
   ---------------------------------------------------------------------- */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: var(--z-header);
  background: var(--color-white);
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

#header.header-transparent {
  background: transparent;
}

#header.header-scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 30px;
}

/* Logo */
#header_logo a {
  display: flex;
  align-items: center;
  height: 100%;
}

#header_logo img {
  height: 30px;
  width: auto;
  transition: opacity var(--transition-fast);
}

.logo-dark { display: block; }
.logo-light { display: none; }

.header-transparent .logo-dark { display: none; }
.header-transparent .logo-light { display: block; }
.header-scrolled .logo-dark { display: block; }
.header-scrolled .logo-light { display: none; }


/* Hamburger Menu Button */
#drawer_menu_button {
  position: relative;
  width: 30px;
  height: 20px;
  cursor: pointer;
  z-index: calc(var(--z-drawer) + 1);
}

#drawer_menu_button span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-dark);
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.header-transparent #drawer_menu_button span {
  background: var(--color-white);
}

.header-scrolled #drawer_menu_button span {
  background: var(--color-dark);
}

#drawer_menu_button span:nth-child(1) { top: 0; }
#drawer_menu_button span:nth-child(2) { top: 50%; transform: translateY(-50%); }
#drawer_menu_button span:nth-child(3) { bottom: 0; }

#drawer_menu_button.active span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  background: var(--color-white);
}

#drawer_menu_button.active span:nth-child(2) {
  opacity: 0;
}

#drawer_menu_button.active span:nth-child(3) {
  bottom: auto;
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
  background: var(--color-white);
}


/* Drawer Menu */
#drawer_menu_wrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: var(--z-drawer);
  visibility: hidden;
  pointer-events: none;
}

#drawer_menu_wrap.active {
  visibility: visible;
  pointer-events: auto;
}

#drawer_menu_overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity 0.4s ease;
  cursor: pointer;
  z-index: 1;
}

#drawer_menu_wrap.active #drawer_menu_overlay {
  opacity: 1;
}

#drawer_menu_inner {
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  max-width: 100%;
  height: 100vh;
  background: var(--color-dark);
  padding: 80px 40px 30px;
  overflow-y: auto;
  z-index: 2;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  -webkit-overflow-scrolling: touch;
}

@media (max-height: 760px) {
  #drawer_menu_inner {
    padding: 70px 40px 20px;
  }
  #drawer_menu li a {
    padding: 14px 0;
  }
  #drawer_menu ul {
    margin-bottom: 24px;
  }
}

#drawer_menu_wrap.active #drawer_menu_inner {
  transform: translateX(0);
}

#drawer_menu_close_button {
  position: absolute;
  top: 25px;
  right: 30px;
  width: 30px;
  height: 30px;
  cursor: pointer;
}

#drawer_menu_close_button span {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 2px;
  background: var(--color-white);
}

#drawer_menu_close_button span:nth-child(1) {
  transform: rotate(45deg);
}

#drawer_menu_close_button span:nth-child(2) {
  transform: rotate(-45deg);
}

#drawer_menu ul {
  margin-bottom: 0;
}

#drawer_menu li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#drawer_menu li a {
  display: block;
  padding: 18px 0;
  color: var(--color-white);
  font-size: var(--font-size-sm);
  letter-spacing: 0.1em;
  transition: opacity var(--transition-fast);
}

#drawer_menu li a:hover {
  opacity: 0.7;
}

#drawer_menu li.active a {
  color: var(--color-accent);
}


/* ----------------------------------------------------------------------
   ドロワーメニュー内 CTAボタン
   ---------------------------------------------------------------------- */
.drawer-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.drawer-cta__btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 18px;
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  letter-spacing: 0.05em;
  text-decoration: none;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  width: 100%;
}

.drawer-cta__btn--primary {
  background: var(--color-accent);
  color: var(--color-white);
  box-shadow: 0 8px 24px rgba(221, 90, 90, 0.35);
}

.drawer-cta__btn--primary:hover {
  background: #c84545;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(221, 90, 90, 0.5);
  opacity: 1;
}

.drawer-cta__btn--ghost {
  background: transparent;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.drawer-cta__btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--color-white);
  opacity: 1;
}

.drawer-cta__badge {
  display: inline-block;
  padding: 2px 8px;
  background: rgba(0, 0, 0, 0.25);
  color: var(--color-white);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-radius: 999px;
  margin-right: 2px;
}

.drawer-cta__arrow {
  transition: transform 0.25s ease;
}

.drawer-cta__btn:hover .drawer-cta__arrow {
  transform: translateX(4px);
}


/* SNS List (shared: drawer + footer)
   TCD ISSUE の sns_icon.woff フォントを使用（元サイトと同じ） */
.sns-list {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
}

#mobile_sns.sns-list {
  gap: 10px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sns-list li {
  list-style: none;
}

.sns-list li a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--color-white);
  text-decoration: none;
  overflow: hidden;
  transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.sns-list li a::before {
  font-family: 'sns_icon', 'normal_icon';
  font-size: 16px;
  line-height: 1;
  display: block;
  color: inherit;
  -webkit-font-smoothing: antialiased;
  transition: opacity var(--transition-fast);
}

.sns-list li a:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.6);
  opacity: 1;
  transform: translateY(-2px);
}

/* SNS Icon Characters (TCD ISSUE 元サイトと同じ unicode マッピング)
   元サイト: https://ashindor.com/ の sns_button_list 準拠 */
.sns-list .insta a::before     { content: '\ea92'; font-size: 15px; }
.sns-list .tiktok a::before    { content: '\e94d'; font-size: 16px; }
.sns-list .twitter a::before   { content: '\e950'; font-size: 15px; }
.sns-list .facebook a::before  { content: '\e944'; font-size: 18px; }
.sns-list .pinterest a::before { content: '\e905'; font-size: 18px; }
.sns-list .youtube a::before   { content: '\ea9d'; font-size: 18px; }
.sns-list .contact a::before   { content: '\e900'; font-size: 20px; }

.sns-list li a span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* Side Button */
#side_button {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: var(--z-side-button);
  writing-mode: vertical-rl;
}

.side-contact-btn {
  display: block;
  padding: 24px 14px;
  background: var(--color-accent);
  color: var(--color-white) !important;
  font-size: var(--font-size-sm);
  font-weight: 700;
  letter-spacing: 0.25em;
  box-shadow: -4px 0 16px rgba(221, 90, 90, 0.35);
  transition: background var(--transition-fast), box-shadow var(--transition-fast);
}

.side-contact-btn:hover {
  background: #c84545;
  box-shadow: -4px 0 20px rgba(221, 90, 90, 0.5);
  opacity: 1;
}


/* ----------------------------------------------------------------------
   Hero Slider (Top Page)
   ---------------------------------------------------------------------- */
#header_slider_container {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

#header_slider_wrap {
  position: relative;
  width: 100%;
  height: 100%;
}

#header_slider {
  width: 100%;
  height: 100%;
}

#header_slider .swiper-slide {
  overflow: hidden;
  height: 100%;
}

#header_slider .swiper-slide .item-inner {
  width: 100%;
  height: 100%;
  position: relative;
}

#header_slider .swiper-slide .bg_image {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

#header_slider .swiper-slide .bg_image picture {
  display: block;
  width: 100%;
  height: 100%;
}

#header_slider .swiper-slide .bg_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hero slider zoom animation */
#header_slider .swiper-slide-active .bg_image img {
  animation: heroZoom 8s ease-out forwards;
}

@keyframes heroZoom {
  from { transform: scale(1.1); }
  to { transform: scale(1); }
}

#header_slider .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 2;
  pointer-events: none;
}

/* Hero Content */
#header_slider_content {
  position: absolute;
  left: 80px;
  bottom: 150px;
  z-index: 10;
  color: var(--color-white);
}

#header_slider_content .catch {
  font-size: var(--font-size-hero);
  font-weight: 700;
  line-height: var(--line-height-tight);
  letter-spacing: 0.05em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

#header_slider_content .catch .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: catchCharIn 0.6s ease forwards;
}

@keyframes catchCharIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#header_slider_content .desc {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: 0.05em;
  margin-top: 22px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
  opacity: 0;
  animation: fadeInUp 0.8s ease 1s forwards;
}


/* News Ticker */
#news_ticker {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 10;
  height: 50px;
}

#news_ticker .item {
  display: flex;
  align-items: center;
  height: 50px;
  padding: 0 30px;
  color: var(--color-white);
}

#news_ticker .date {
  font-size: var(--font-size-xs);
  margin-right: 20px;
  white-space: nowrap;
}

#news_ticker .title {
  font-size: var(--font-size-sm);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


/* ----------------------------------------------------------------------
   Section Common Styles
   ---------------------------------------------------------------------- */
.section {
  padding: var(--section-padding) 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header .section-title-en {
  display: block;
  font-size: var(--font-size-xs);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-lighter);
  margin-bottom: 15px;
}

.section-header .section-title {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  line-height: var(--line-height-tight);
  color: var(--color-dark);
}

.section-header .section-title-line {
  display: block;
  width: 40px;
  height: 2px;
  background: var(--color-dark);
  margin: 25px auto 0;
}

/* Scroll Content (Full-page sections with sticky) */
.scroll-content {
  position: relative;
}

.scroll-content-section {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.scroll-content-section .content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: var(--color-white);
  padding: 0 50px;
  max-width: 900px;
}

.scroll-content-section .headline {
  font-size: var(--font-size-xs);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.scroll-content-section .catch {
  font-size: 42px;
  font-weight: 700;
  line-height: var(--line-height-tight);
  margin-bottom: 30px;
}

.scroll-content-section .desc {
  font-size: var(--font-size-base);
  line-height: var(--line-height);
}

.scroll-content-section .bg_image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.scroll-content-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}


/* Banner Section */
.cb-banner {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cb-banner .content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: var(--color-white);
  padding: 0 50px;
}

.cb-banner .catch {
  font-size: 56px;
  font-weight: 700;
  line-height: var(--line-height-tight);
}

.cb-banner .desc {
  font-size: var(--font-size-base);
  line-height: var(--line-height);
  margin-top: 20px;
}

.cb-banner .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.cb-banner .image_wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.cb-banner .image_wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* Design Button */
.design-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 280px;
  height: 70px;
  border: 1px solid var(--color-white);
  border-radius: 70px;
  color: var(--color-white);
  font-size: var(--font-size-sm);
  letter-spacing: 0.15em;
  transition: background var(--transition-base), color var(--transition-base);
}

.design-button:hover {
  background: var(--color-white);
  color: var(--color-dark);
  opacity: 1;
}

.design-button.dark {
  border-color: var(--color-dark);
  color: var(--color-dark);
}

.design-button.dark:hover {
  background: var(--color-dark);
  color: var(--color-white);
}

/* 黒背景セクション用：白ボーダー＋白文字、ホバーで反転 */
.design-button--white {
  border-color: var(--color-white);
  color: var(--color-white);
}

.design-button--white:hover {
  background: var(--color-white);
  color: var(--color-dark);
}


/* ----------------------------------------------------------------------
   Content Builder - Service Grid
   ---------------------------------------------------------------------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  background: var(--color-white);
}

.service-card a {
  display: block;
  color: inherit;
}

.service-card .thumbnail {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  overflow: hidden;
}

.service-card .thumbnail img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-card:hover .thumbnail img {
  transform: scale(1.1);
}

.service-card .card-content {
  padding: 25px 0 10px;
}

.service-card .card-title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  line-height: var(--line-height-heading);
  margin-bottom: 8px;
}

.service-card .card-desc {
  font-size: var(--font-size-sm);
  color: var(--color-lighter);
  line-height: 1.8;
}

/* NEW バッジ */
.service-card .service-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  display: inline-block;
  padding: 4px 12px;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-radius: 3px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* サービスタグ */
.service-card .service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.service-card .service-tag {
  display: inline-block;
  padding: 3px 10px;
  background: var(--color-bg);
  color: var(--color-lighter);
  font-size: 11px;
  border-radius: 2px;
  letter-spacing: 0.02em;
}

/* サービスカテゴリ区切り */
.service-category {
  margin-bottom: 80px;
}

.service-category:last-child {
  margin-bottom: 0;
}


/* ----------------------------------------------------------------------
   Staff / Team Carousel
   ---------------------------------------------------------------------- */
.staff-carousel-wrap {
  position: relative;
  overflow: hidden;
}

.staff-carousel .swiper-slide {
  width: 400px;
}


/* ----------------------------------------------------------------------
   Page Header (Sub Pages)
   ---------------------------------------------------------------------- */
.page-header {
  position: relative;
  padding: 160px 0 80px;
  text-align: center;
  background: var(--color-dark);
  color: var(--color-white);
}

.page-header .page-title {
  font-size: 42px;
  font-weight: 700;
  line-height: var(--line-height-tight);
  letter-spacing: 0.05em;
}

.page-header .page-title-en {
  display: block;
  font-size: var(--font-size-xs);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-top: 15px;
  color: var(--color-lighter);
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 25px;
  font-size: var(--font-size-xs);
  color: var(--color-lighter);
}

.breadcrumb a {
  color: var(--color-lighter);
  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--color-white);
  opacity: 1;
}

.breadcrumb .separator {
  color: var(--color-lighter);
}


/* ----------------------------------------------------------------------
   Page Content
   ---------------------------------------------------------------------- */
.page-content {
  padding: var(--section-padding) 0;
}

.page-content .content-width {
  max-width: var(--content-width);
}

/* Mission / Reasons / Flow - Text Sections */
.text-section {
  margin-bottom: 80px;
}

.text-section:last-child {
  margin-bottom: 0;
}

.text-section .section-subtitle {
  font-size: var(--font-size-xs);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-lighter);
  margin-bottom: 15px;
}

.text-section h2 {
  font-size: 32px;
  font-weight: 700;
  line-height: var(--line-height-tight);
  margin-bottom: 25px;
}

.text-section h3 {
  font-size: var(--font-size-xl);
  font-weight: 600;
  line-height: var(--line-height-heading);
  margin-bottom: 20px;
}

.text-section p {
  font-size: var(--font-size-base);
  line-height: var(--line-height);
  margin-bottom: 1.5em;
}

.text-section p:last-child {
  margin-bottom: 0;
}


/* Full-width Image Section */
.full-image-section {
  position: relative;
  width: 100%;
  height: 60vh;
  min-height: 400px;
  overflow: hidden;
}

.full-image-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.full-image-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
}

.full-image-section .content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--color-white);
  z-index: 2;
  width: 90%;
  max-width: 800px;
}


/* ----------------------------------------------------------------------
   Works (Portfolio)
   ---------------------------------------------------------------------- */
/* Tab Navigation */
.works-tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 60px;
  border-bottom: 1px solid var(--color-border);
}

.works-tab {
  padding: 15px 30px;
  font-size: var(--font-size-sm);
  color: var(--color-lighter);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

.works-tab:hover,
.works-tab.active {
  color: var(--color-dark);
  border-bottom-color: var(--color-dark);
}

/* Works Grid */
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.works-item {
  position: relative;
  overflow: hidden;
}

.works-item .thumbnail {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  overflow: hidden;
}

.works-item .thumbnail img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.works-item:hover .thumbnail img {
  transform: scale(1.1);
}

.works-item.has-video {
  cursor: pointer;
}

.works-item .play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  z-index: 2;
  opacity: 0.85;
  transition: transform var(--transition-base), opacity var(--transition-base);
  pointer-events: none;
}

.works-item.has-video:hover .play-icon {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.works-item.has-video:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
}

.works-item .works-info {
  padding: 20px 0 10px;
}

.works-item .works-company {
  font-size: var(--font-size-xs);
  color: var(--color-lighter);
  margin-bottom: 5px;
}

.works-item .works-title {
  font-size: var(--font-size-base);
  font-weight: 600;
  line-height: var(--line-height-heading);
}


/* ----------------------------------------------------------------------
   Flow (Steps)
   ---------------------------------------------------------------------- */
.flow-list {
  counter-reset: flow-step;
}

.flow-item {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  padding: 40px 0;
  border-bottom: 1px solid var(--color-border);
}

.flow-item:last-child {
  border-bottom: none;
}

.flow-number {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-dark);
  color: var(--color-white);
  font-size: var(--font-size-lg);
  font-weight: 700;
  border-radius: 50%;
}

.flow-content {
  flex: 1;
}

.flow-content h3 {
  font-size: var(--font-size-xl);
  font-weight: 600;
  margin-bottom: 10px;
}

.flow-content .flow-badge {
  display: inline-block;
  padding: 2px 12px;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: var(--font-size-xs);
  border-radius: 3px;
  margin-left: 10px;
}

.flow-content p {
  font-size: var(--font-size-sm);
  color: var(--color-light);
  line-height: 1.8;
}


/* ----------------------------------------------------------------------
   Company Info
   ---------------------------------------------------------------------- */
.company-table {
  width: 100%;
  border-collapse: collapse;
}

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

.company-table th {
  width: 200px;
  padding: 20px 0;
  font-size: var(--font-size-sm);
  font-weight: 600;
  text-align: left;
  vertical-align: top;
  color: var(--color-dark);
}

.company-table td {
  padding: 20px 0;
  font-size: var(--font-size-sm);
  line-height: 1.8;
  color: var(--color-light);
}


/* ----------------------------------------------------------------------
   Contact Form
   ---------------------------------------------------------------------- */
.contact-form {
  max-width: 700px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 30px;
}

.form-label {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-dark);
}

.form-label .required {
  display: inline-block;
  padding: 1px 8px;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: var(--font-size-xs);
  font-weight: 400;
  border-radius: 2px;
  margin-left: 8px;
}

.form-label .optional {
  display: inline-block;
  padding: 1px 8px;
  background: var(--color-lighter);
  color: var(--color-white);
  font-size: var(--font-size-xs);
  font-weight: 400;
  border-radius: 2px;
  margin-left: 8px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--color-border);
  border-radius: 0;
  font-size: var(--font-size-base);
  font-family: var(--font-family);
  color: var(--color-text);
  background: var(--color-white);
  transition: border-color var(--transition-fast);
  -webkit-appearance: none;
  appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-dark);
}

.form-textarea {
  height: 200px;
  resize: vertical;
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='6'%3E%3Cpath d='M0 0l6 6 6-6z' fill='%23717276'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
}

.form-file {
  font-size: var(--font-size-sm);
  color: var(--color-lighter);
}

.form-note {
  font-size: var(--font-size-xs);
  color: var(--color-lighter);
  margin-top: 5px;
}

.form-error {
  font-size: var(--font-size-xs);
  color: var(--color-accent);
  margin-top: 5px;
}

/* Privacy Agreement Checkbox */
.form-agreement {
  text-align: center;
  margin-top: 30px;
}

.checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: var(--font-size-sm);
  color: var(--color-text);
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--color-dark);
  cursor: pointer;
  flex-shrink: 0;
}

.checkbox-label a {
  color: var(--color-link);
  text-decoration: underline;
}

.checkbox-label a:hover {
  opacity: 0.7;
}

.form-submit {
  text-align: center;
  margin-top: 40px;
}

.form-submit button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 280px;
  height: 60px;
  background: var(--color-dark);
  color: var(--color-white);
  font-size: var(--font-size-sm);
  letter-spacing: 0.15em;
  border: none;
  border-radius: 60px;
  cursor: pointer;
  transition: background var(--transition-base);
}

.form-submit button:hover {
  background: var(--color-main);
}

/* Confirm Page */
.confirm-table {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  border-collapse: collapse;
}

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

.confirm-table th {
  width: 200px;
  padding: 15px 0;
  font-size: var(--font-size-sm);
  font-weight: 600;
  text-align: left;
  vertical-align: top;
}

.confirm-table td {
  padding: 15px 0;
  font-size: var(--font-size-sm);
  line-height: 1.8;
}


/* ----------------------------------------------------------------------
   Blog
   ---------------------------------------------------------------------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.blog-card {
  background: var(--color-white);
  overflow: hidden;
}

.blog-card a {
  display: block;
  color: inherit;
}

.blog-card .thumbnail {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  overflow: hidden;
  background: var(--color-bg);
}

.blog-card .thumbnail img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.blog-card:hover .thumbnail img {
  transform: scale(1.1);
}

.blog-card .card-body {
  padding: 20px 0;
}

.blog-card .card-date {
  font-size: var(--font-size-xs);
  color: var(--color-lighter);
  margin-bottom: 8px;
}

.blog-card .card-title {
  font-size: var(--font-size-base);
  font-weight: 600;
  line-height: var(--line-height-heading);
}

/* Blog Detail */
/* 旧 .blog-detail スタイルは削除（body にも適用されてしまうため） */
/* 新2カラムレイアウト用は .blog-detail-layout > .blog-detail で定義 */

.blog-detail .post-header {
  margin-bottom: 40px;
}

.blog-detail .post-date {
  font-size: var(--font-size-sm);
  color: var(--color-lighter);
  margin-bottom: 15px;
}

.blog-detail .post-title {
  font-size: 32px;
  font-weight: 700;
  line-height: var(--line-height-tight);
}

.blog-detail .post-content {
  font-size: var(--font-size-base);
  line-height: var(--line-height);
}

.blog-detail .post-content h2 {
  font-size: var(--font-size-2xl);
  font-weight: 600;
  margin: 3em 0 1.3em;
}

.blog-detail .post-content h3 {
  font-size: var(--font-size-xl);
  font-weight: 600;
  margin: 2.5em 0 1em;
}

.blog-detail .post-content p {
  margin-bottom: 1.5em;
}

.blog-detail .post-content img {
  margin: 2em 0;
}

.blog-detail .post-content a {
  color: var(--color-link);
  text-decoration: underline;
}


/* ======================================================================
   Blog Hero (一覧ページ)
   ====================================================================== */
.blog-hero {
  position: relative;
  width: 100%;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.blog-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.blog-hero__bg img,
.blog-hero__bg picture {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(23, 24, 29, 0.78) 0%, rgba(53, 54, 59, 0.6) 100%);
}

.blog-hero__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--color-white);
  padding: 140px 20px 70px;
}

.blog-hero__en {
  display: block;
  font-size: 12px;
  letter-spacing: 0.4em;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.7);
}

.blog-hero__title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--color-white);
}

.blog-hero__catch {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.9);
}

.blog-hero__breadcrumb {
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
}

.blog-hero__breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
}


/* ======================================================================
   Blog List Section
   ====================================================================== */
.blog-list-section {
  padding: 80px 0;
}

/* カテゴリフィルター */
.blog-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 50px;
}

.blog-category-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: 13px;
  color: var(--color-light);
  cursor: pointer;
  transition: all 0.25s ease;
}

.blog-category-tag:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.blog-category-tag.is-active {
  background: var(--color-dark);
  border-color: var(--color-dark);
  color: var(--color-white);
}

.blog-category-tag .count {
  font-size: 11px;
  opacity: 0.7;
}

/* 新版カードレイアウト（_thumb / _body / _link 構造） */
.blog-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.blog-card__thumb {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  overflow: hidden;
  background: var(--color-bg);
}

.blog-card__thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.blog-card:hover .blog-card__thumb img {
  transform: scale(1.05);
}

.blog-card__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-bg), var(--color-border));
  color: var(--color-lighter);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.blog-card__cat {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-block;
  padding: 4px 12px;
  background: rgba(23, 24, 29, 0.85);
  color: var(--color-white);
  font-size: 11px;
  letter-spacing: 0.05em;
  border-radius: 2px;
  z-index: 2;
}

.blog-card__body {
  padding: 22px 4px 10px;
}

.blog-card__date {
  font-size: 12px;
  color: var(--color-lighter);
  letter-spacing: 0.05em;
  margin-bottom: 10px;
  display: block;
}

.blog-card__title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 12px;
  color: var(--color-dark);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card__desc {
  font-size: 13px;
  color: var(--color-lighter);
  line-height: 1.7;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--color-accent);
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: gap 0.2s ease;
}

.blog-card:hover .blog-card__more {
  gap: 12px;
}

/* フィーチャーカード（1件目を大きく） */
.blog-card--featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  background: var(--color-white);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

.blog-card--featured .blog-card__link {
  display: contents;
}

.blog-card--featured .blog-card__thumb {
  padding-top: 0;
  height: 100%;
  min-height: 360px;
}

.blog-card--featured .blog-card__body {
  padding: 50px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-card--featured .blog-card__title {
  font-size: 24px;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

.blog-card--featured .blog-card__desc {
  font-size: 14px;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

/* 空状態 */
.blog-empty {
  text-align: center;
  padding: 80px 20px;
  background: var(--color-bg);
}

.blog-empty__icon {
  font-size: 56px;
  margin-bottom: 24px;
}

.blog-empty__title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
}

.blog-empty__desc {
  font-size: 15px;
  line-height: 2;
  color: var(--color-light);
  margin-bottom: 30px;
}


/* ======================================================================
   Blog Detail (詳細ページ)
   ====================================================================== */
.blog-detail-hero {
  position: relative;
  width: 100%;
  min-height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.blog-detail-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.blog-detail-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-detail-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(23, 24, 29, 0.82) 0%, rgba(53, 54, 59, 0.65) 50%, rgba(23, 24, 29, 0.82) 100%);
}

.blog-detail-hero__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--color-white);
  padding: 160px 20px 80px;
  max-width: 900px;
}

.blog-detail-hero__cat {
  display: inline-block;
  padding: 6px 16px;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 12px;
  letter-spacing: 0.1em;
  border-radius: 2px;
  margin-bottom: 24px;
}

.blog-detail-hero__title {
  font-size: 38px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 24px;
  color: var(--color-white);
}

.blog-detail-hero__date {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.1em;
  margin-bottom: 30px;
}

.blog-detail-hero__breadcrumb {
  justify-content: center;
  color: rgba(255, 255, 255, 0.65);
}

.blog-detail-hero__breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
}

/* ブログ詳細: 本文上部の左寄せパンくず */
.blog-detail-breadcrumb-bar {
  background: var(--color-bg);
  padding: 18px 0;
  border-bottom: 1px solid var(--color-border);
}

.breadcrumb--inline {
  justify-content: flex-start;
  margin-top: 0;
  font-size: 12px;
  color: var(--color-lighter);
  flex-wrap: wrap;
}

.breadcrumb--inline a {
  color: var(--color-light);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb--inline a:hover {
  color: var(--color-accent);
}

.breadcrumb--inline .separator {
  color: var(--color-border);
}

.blog-detail-section {
  padding: 60px 0 80px;
}

.blog-detail__content {
  font-size: 16px;
  line-height: 2.05;
  color: var(--color-dark);
  letter-spacing: 0.02em;
}

.blog-detail__content h2 {
  font-size: 26px;
  font-weight: 700;
  margin: 60px 0 24px;
  padding-left: 16px;
  border-left: 4px solid var(--color-accent);
  line-height: 1.5;
}

.blog-detail__content h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 40px 0 18px;
  color: var(--color-dark);
}

.blog-detail__content p {
  margin-bottom: 1.6em;
}

.blog-detail__content ul,
.blog-detail__content ol {
  margin: 0 0 1.6em 1.5em;
  padding-left: 1em;
}

.blog-detail__content li {
  margin-bottom: 0.7em;
}

.blog-detail__content strong {
  font-weight: 700;
  color: var(--color-accent);
}

.blog-detail__content a {
  color: var(--color-link);
  text-decoration: underline;
}

.blog-detail__content hr {
  margin: 50px 0;
  border: none;
  border-top: 1px solid var(--color-border);
}

.blog-detail__content blockquote {
  margin: 30px 0;
  padding: 20px 30px;
  background: var(--color-bg);
  border-left: 4px solid var(--color-accent);
  font-style: italic;
  color: var(--color-light);
}

.blog-detail__content code {
  background: var(--color-bg);
  padding: 2px 6px;
  border-radius: 2px;
  font-size: 0.9em;
}

/* ブログ本文の表 */
.blog-detail__content table {
  width: 100%;
  margin: 30px 0;
  border-collapse: collapse;
  border: 1px solid var(--color-border);
  font-size: 14px;
  line-height: 1.7;
  background: var(--color-white);
}

.blog-detail__content thead {
  background: var(--color-bg);
}

.blog-detail__content th {
  padding: 14px 16px;
  text-align: left;
  font-weight: 700;
  color: var(--color-dark);
  border: 1px solid var(--color-border);
  border-bottom: 2px solid var(--color-dark);
}

.blog-detail__content td {
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  color: var(--color-light);
  vertical-align: top;
}

.blog-detail__content tbody tr:nth-child(even) {
  background: rgba(245, 245, 245, 0.4);
}

.blog-detail__content tbody tr:hover {
  background: rgba(221, 90, 90, 0.04);
}

/* モバイルで表が長くなったら横スクロール */
@media (max-width: 600px) {
  .blog-detail__content table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    font-size: 13px;
  }
  .blog-detail__content th,
  .blog-detail__content td {
    padding: 10px 12px;
  }
}

/* シェアボタン */
.blog-detail__share {
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.blog-detail__share-label {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--color-lighter);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.share-list {
  display: flex;
  gap: 16px;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.share-list a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  text-decoration: none;
  transition: transform 0.25s ease;
}

.share-list a:hover {
  transform: translateY(-3px);
}

.share-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: var(--color-white);
  font-weight: 700;
  font-size: 16px;
}

.share-icon--x { background: #000; }
.share-icon--fb { background: #1877f2; }
.share-icon--line { background: #06c755; font-size: 11px; }

.blog-detail__back {
  margin-top: 50px;
  text-align: center;
}

.blog-related-section {
  padding: 80px 0;
}


/* ======================================================================
   Blog Detail 2カラムレイアウト（本文 + 右サイドバー）
   ====================================================================== */
.blog-detail-layout {
  display: grid;
  /* 本文を広く取り、右サイドバーは狭めに */
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 50px;
  align-items: flex-start;
  max-width: 1180px;
  margin: 0 auto;
}

.blog-detail-layout > .blog-detail {
  min-width: 0;
  max-width: none;
  width: 100%;
  padding: 0;
  margin: 0;
}

/* サイドバー本体: 通常 block で grid item として stretch される */
.blog-sidebar {
  display: block;
  align-self: stretch;
}

.blog-sidebar > * + * {
  margin-top: 24px;
}

/* CTAボックスは追従させない（裕太郎の指示2026-04-07） */
.blog-sidebar .sidebar-cta {
  position: static;
}

.sidebar-block {
  background: var(--color-white);
  padding: 28px 24px;
  border: 1px solid var(--color-border);
}

.sidebar-block__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--color-accent);
  position: relative;
}

.sidebar-block__title-en {
  display: block;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  margin-bottom: 4px;
  font-weight: 700;
}

/* お問い合わせCTA */
.sidebar-cta {
  background: var(--color-dark);
  color: var(--color-white);
  border-color: var(--color-dark);
  text-align: center;
  padding: 32px 24px;
}

.sidebar-cta__title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 16px;
  color: var(--color-white);
}

.sidebar-cta__text {
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 22px;
}

.sidebar-cta__btn {
  display: inline-block;
  padding: 12px 24px;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.sidebar-cta__btn:hover {
  background: #c84545;
  transform: translateY(-2px);
}

/* 記事リスト */
.sidebar-post-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-post-list li {
  border-bottom: 1px solid var(--color-border);
}

.sidebar-post-list li:last-child {
  border-bottom: none;
}

.sidebar-post-list li a {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s ease;
}

.sidebar-post-list li:first-child a {
  padding-top: 0;
}

.sidebar-post-list li a:hover {
  opacity: 0.7;
}

.sidebar-post__thumb {
  flex-shrink: 0;
  width: 70px;
  height: 50px;
  overflow: hidden;
  background: var(--color-bg);
}

.sidebar-post__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sidebar-post__body {
  flex: 1;
  min-width: 0;
}

.sidebar-post__date {
  display: block;
  font-size: 11px;
  color: var(--color-lighter);
  margin-bottom: 4px;
  letter-spacing: 0.05em;
}

.sidebar-post__title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--color-dark);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* カテゴリリスト */
.sidebar-category-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-category-list li {
  border-bottom: 1px solid var(--color-border);
}

.sidebar-category-list li:last-child {
  border-bottom: none;
}

.sidebar-category-list li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  font-size: 13px;
  color: var(--color-dark);
  text-decoration: none;
  transition: color 0.2s ease;
}

.sidebar-category-list li a:hover {
  color: var(--color-accent);
}

.sidebar-category-list .count {
  font-size: 11px;
  color: var(--color-lighter);
}

/* おすすめサービス */
.sidebar-service-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-service-list li {
  margin-bottom: 8px;
}

.sidebar-service-list li:last-child {
  margin-bottom: 0;
}

.sidebar-service-list li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: var(--color-bg);
  color: var(--color-dark);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border-left: 3px solid var(--color-accent);
  transition: background 0.2s ease, transform 0.2s ease;
}

.sidebar-service-list li a:hover {
  background: var(--color-border);
  transform: translateX(4px);
}

.sidebar-service__arrow {
  color: var(--color-accent);
  font-weight: 700;
}


/* ----------------------------------------------------------------------
   Privacy Policy / Terms
   ---------------------------------------------------------------------- */
.legal-content {
  max-width: var(--content-narrow);
  margin: 0 auto;
  padding: 0 50px;
}

.legal-content h2 {
  font-size: var(--font-size-xl);
  font-weight: 600;
  margin: 2.5em 0 1em;
  padding-bottom: 0.5em;
  border-bottom: 1px solid var(--color-border);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  font-size: var(--font-size-sm);
  line-height: var(--line-height);
  margin-bottom: 1.5em;
}

.legal-content ul, .legal-content ol {
  margin: 1em 0;
  padding-left: 2em;
}

.legal-content li {
  font-size: var(--font-size-sm);
  line-height: 1.8;
  margin-bottom: 0.5em;
  list-style: disc;
}


/* ----------------------------------------------------------------------
   404 Page
   ---------------------------------------------------------------------- */
.error-page {
  text-align: center;
  padding: 120px 50px;
}

.error-page .error-code {
  font-size: 120px;
  font-weight: 700;
  color: var(--color-border);
  line-height: 1;
}

.error-page .error-title {
  font-size: var(--font-size-xl);
  margin: 20px 0;
}

.error-page .error-text {
  font-size: var(--font-size-sm);
  color: var(--color-lighter);
  margin-bottom: 30px;
}


/* ----------------------------------------------------------------------
   Footer
   ---------------------------------------------------------------------- */
/* Footer Banner CTA */
#footer_banner {
  display: block;
}

.footer-banner-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 300px;
  overflow: hidden;
  color: var(--color-white) !important;
}

.footer-banner-content {
  position: relative;
  z-index: 3;
  text-align: center;
}

.footer-banner-title {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  letter-spacing: 0.1em;
}

.footer-banner-subtitle {
  font-size: var(--font-size-xs);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-top: 10px;
  color: var(--color-lighter);
}

.footer-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.footer-banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.footer-banner-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.footer-banner-item:hover .footer-banner-bg img {
  transform: scale(1.05);
}

.footer-banner-item:hover {
  opacity: 1;
}

/* Footer */
#footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 80px 50px;
  background: var(--color-dark);
  color: var(--color-white);
}

.footer-info {
  max-width: 350px;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-logo img {
  height: 30px;
  width: auto;
}

#footer_info {
  font-size: var(--font-size-xs);
  line-height: 1.8;
  color: var(--color-lighter);
  margin-bottom: 25px;
}

#footer_sns {
  margin-top: 20px;
}

/* Footer Nav */
.footer-nav-area {
  flex: 1;
  max-width: 500px;
}

.footer-nav ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 30px;
}

.footer-nav a {
  display: block;
  padding: 5px 0;
  color: var(--color-white);
  font-size: var(--font-size-xs);
  letter-spacing: 0.05em;
  transition: opacity var(--transition-fast);
}

.footer-nav a:hover {
  opacity: 0.7;
}


/* Copyright */
#copyright {
  padding: 20px 50px;
  background: var(--color-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: var(--font-size-xs);
  color: var(--color-lighter);
}


/* Return Top */
#return_top {
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: var(--z-return-top);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}

#return_top.visible {
  opacity: 1;
  visibility: visible;
}

#return_top a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--color-dark);
  color: var(--color-white);
  font-size: 0;
  border-radius: 50%;
  transition: background var(--transition-fast);
}

#return_top a::before {
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--color-white);
  border-right: 2px solid var(--color-white);
  transform: rotate(-45deg) translateY(3px);
}

#return_top a:hover {
  background: var(--color-main);
  opacity: 1;
}


/* ======================================================================
   Mission Page Hero
   ====================================================================== */
.mission-hero {
  position: relative;
  width: 100%;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 0;
}

.mission-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.mission-hero__bg img,
.mission-hero__bg picture {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mission-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(23, 24, 29, 0.75) 0%, rgba(53, 54, 59, 0.55) 50%, rgba(23, 24, 29, 0.75) 100%);
}

.mission-hero__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--color-white);
  padding: 160px 20px 80px;
}

.mission-hero__en {
  display: block;
  font-size: 12px;
  letter-spacing: 0.4em;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.7);
}

.mission-hero__title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--color-white);
}

.mission-hero__catch {
  font-size: 22px;
  font-weight: 300;
  letter-spacing: 0.1em;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.92);
}

.mission-hero__breadcrumb {
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
}

.mission-hero__breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
}

.mission-hero__breadcrumb a:hover {
  color: var(--color-white);
}


/* ======================================================================
   Mission Intro Section
   ====================================================================== */
.mission-intro-section {
  padding: 100px 0;
}

.mission-intro__heading {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 30px;
  color: var(--color-dark);
}

.mission-intro__divider {
  width: 60px;
  height: 2px;
  background: var(--color-accent);
  margin: 0 auto 30px;
}

.mission-intro__text {
  font-size: var(--font-size-base);
  line-height: 2.2;
  color: var(--color-light);
  margin-bottom: 40px;
}

.mission-intro__text strong {
  color: var(--color-accent);
  font-weight: 700;
}

/* トップページMISSIONセクション ダーク背景バリエーション
   フッターと同じ黒背景に白文字 */
.mission-intro--dark {
  background: var(--color-dark);
  color: var(--color-white);
  position: relative;
}

.mission-intro--dark .section-title {
  color: var(--color-white);
}

.mission-intro--dark .section-title-en {
  color: rgba(255, 255, 255, 0.55);
}

.mission-intro--dark .section-title-line {
  background: rgba(255, 255, 255, 0.4);
}

.mission-intro--dark .mission-intro__text {
  color: rgba(255, 255, 255, 0.85);
}

.mission-intro--dark .mission-intro__text strong {
  color: var(--color-accent);
}


/* ======================================================================
   MVV Card (MISSION / VISION)
   ====================================================================== */
.mvv-section {
  padding: 100px 0;
}

.mvv-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.mvv-card--reverse {
  direction: rtl;
}

.mvv-card--reverse > * {
  direction: ltr;
}

.mvv-card__image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

.mvv-card__image img,
.mvv-card__image picture {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}

.mvv-card:hover .mvv-card__image img {
  transform: scale(1.05);
}

.mvv-card__body {
  padding: 20px 0;
}

.mvv-card__label {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--color-accent);
  margin-bottom: 8px;
}

.mvv-card__sub {
  display: block;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--color-lighter);
  margin-bottom: 24px;
  text-transform: uppercase;
}

.mvv-card__title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 24px;
  color: var(--color-dark);
}

.mvv-card__divider {
  width: 50px;
  height: 3px;
  background: var(--color-accent);
  margin-bottom: 28px;
}

.mvv-card__desc {
  font-size: var(--font-size-base);
  line-height: 2;
  color: var(--color-light);
}


/* ======================================================================
   Value Cards (5つの価値観 リッチ版)
   ====================================================================== */
.mvv-value-section {
  padding: 100px 0;
  background: var(--color-bg);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.value-card {
  position: relative;
  padding: 50px 30px 40px;
  background: var(--color-white);
  text-align: center;
  border-top: 3px solid var(--color-accent);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.value-card__num {
  position: absolute;
  top: -3px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 6px 16px;
  border-radius: 0 0 8px 8px;
}

.value-card__title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  margin: 14px 0 16px;
  color: var(--color-dark);
}

.value-card__desc {
  font-size: 14px;
  line-height: 1.9;
  color: var(--color-light);
}


/* ======================================================================
   DNA Section (12の心 クリッカブル)
   ====================================================================== */
.dna-section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.dna-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(221, 90, 90, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.dna-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 60px;
}

.dna-item {
  position: relative;
  text-align: center;
  padding: 35px 15px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
  color: inherit;
}

.dna-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(221, 90, 90, 0.5);
  transform: translateY(-4px);
}

.dna-item.is-active {
  background: rgba(221, 90, 90, 0.15);
  border-color: var(--color-accent);
  box-shadow: 0 10px 30px rgba(221, 90, 90, 0.2);
}

.dna-item .dna-kanji {
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 12px;
  color: var(--color-white);
  font-family: "游明朝", "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "MS PMincho", serif;
  transition: color 0.3s ease;
}

.dna-item.is-active .dna-kanji,
.dna-item:hover .dna-kanji {
  color: var(--color-accent);
}

.dna-item .dna-label {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.05em;
}

.dna-item .dna-plus {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.4);
  transition: transform 0.3s ease, color 0.3s ease;
  line-height: 1;
}

.dna-item.is-active .dna-plus {
  transform: rotate(45deg);
  color: var(--color-accent);
}

/* DNA Detail Panel */
.dna-detail {
  margin-top: 50px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(221, 90, 90, 0.4);
  border-radius: 6px;
  padding: 50px 40px;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.dna-detail.is-open {
  opacity: 1;
  transform: translateY(0);
}

.dna-detail__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.dna-detail__close span {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.6);
  transition: background 0.2s ease;
}

.dna-detail__close span:nth-child(1) { transform: rotate(45deg); }
.dna-detail__close span:nth-child(2) { transform: rotate(-45deg); }

.dna-detail__close:hover span {
  background: var(--color-accent);
}

.dna-detail__inner {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 50px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.dna-detail__body {
  min-width: 0;
}

.dna-detail__kanji {
  font-size: 96px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  color: var(--color-accent);
  font-family: "游明朝", "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "MS PMincho", serif;
}

.dna-detail__label {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--color-white);
}

.dna-detail__desc {
  font-size: 15px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.85);
}

.sp-only { display: none; }


/* ======================================================================
   Company Greeting Section
   ====================================================================== */
.company-greeting {
  padding: 100px 0;
}

.greeting-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  align-items: flex-start;
  max-width: 1000px;
  margin: 0 auto;
  margin-top: 60px;
}

.greeting-image {
  position: sticky;
  top: 100px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

.greeting-image picture,
.greeting-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.greeting-body {
  font-size: 15px;
  line-height: 2;
  color: var(--color-light);
}

.greeting-lead {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 30px;
  line-height: 1.6;
}

.greeting-text {
  margin-bottom: 30px;
}

.greeting-sign {
  text-align: right;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
  font-size: 14px;
  color: var(--color-light);
}

.greeting-sign strong {
  font-size: 17px;
  color: var(--color-dark);
  margin-left: 8px;
}

.company-info-section {
  padding: 100px 0;
}


/* ======================================================================
   Service Detail Page (16ページ共通レイアウト)
   ====================================================================== */

/* ----- ヘッダー（page-header の派生: 背景画像 + 暗いオーバーレイ） ----- */
.service-page-header {
  position: relative;
  overflow: hidden;
  padding: 160px 20px 80px;
  background: var(--color-dark);
}

.service-page-header__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.service-page-header__bg img,
.service-page-header__bg picture {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(1px);
}

.service-page-header__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(23, 24, 29, 0.85) 0%, rgba(53, 54, 59, 0.78) 50%, rgba(23, 24, 29, 0.88) 100%);
}

.service-page-header__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--color-white);
  max-width: 800px;
  margin: 0 auto;
}

.service-page-header__category {
  display: inline-block;
  padding: 5px 16px;
  background: var(--accent, var(--color-accent));
  color: var(--color-white);
  font-size: 11px;
  letter-spacing: 0.2em;
  border-radius: 2px;
  margin-bottom: 24px;
}

.service-page-header__title {
  color: var(--color-white) !important;
  margin-bottom: 24px;
}

.service-page-header__title .page-title-en {
  color: rgba(255, 255, 255, 0.55) !important;
}

.service-page-header__catch {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 30px;
  letter-spacing: 0.05em;
}

.service-page-header .breadcrumb {
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0;
}

.service-page-header .breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
}

.service-page-header .breadcrumb a:hover {
  color: var(--color-white);
}


/* ----- 課題セクション（CHALLENGES） ----- */
.service-challenges {
  padding: 100px 0;
}

.challenge-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 60px auto 0;
}

.challenge-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 24px 28px;
  background: var(--color-bg);
  border-left: 3px solid var(--color-accent);
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-dark);
  text-align: left;
}

.challenge-item p {
  margin: 0;
}

.challenge-check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent);
  color: var(--color-white);
  border-radius: 50%;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
}


/* ----- サービス詳細（DESCRIPTION + DELIVERABLES + PROCESS） ----- */
.service-detail-main {
  padding: 100px 0;
}

.service-description {
  font-size: 16px;
  line-height: 2;
  color: var(--color-light);
  margin-top: 50px;
  margin-bottom: 60px;
  text-align: left;
}

.service-description p {
  margin: 0;
}

.subsection-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-dark);
  margin: 50px 0 24px;
  padding-left: 16px;
  border-left: 4px solid var(--color-accent);
  line-height: 1.4;
}

.deliverables-list {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
}

.deliverables-list li {
  position: relative;
  padding: 14px 16px 14px 36px;
  border-bottom: 1px solid var(--color-border);
  font-size: 15px;
  color: var(--color-light);
  line-height: 1.7;
}

.deliverables-list li::before {
  content: '✓';
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent);
  color: var(--color-white);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

/* プロセス（進め方ステップ） */
.process-flow {
  margin-top: 24px;
}

.process-step {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--color-border);
}

.process-step:last-child {
  border-bottom: none;
}

.process-step__num {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-dark);
  color: var(--color-white);
  font-size: 16px;
  font-weight: 700;
  border-radius: 50%;
  letter-spacing: 0.05em;
}

.process-step__body {
  flex: 1;
  min-width: 0;
}

.process-step__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-dark);
}

.process-step__desc {
  font-size: 14px;
  line-height: 1.8;
  color: var(--color-light);
  margin: 0;
}


/* ----- 価格プラン（PRICE） ----- */
.service-plans {
  padding: 100px 0;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.plan-card {
  position: relative;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  padding: 40px 30px;
  text-align: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.plan-card--highlight {
  border-color: var(--color-accent);
  border-width: 2px;
  box-shadow: 0 10px 40px rgba(221, 90, 90, 0.12);
}

.plan-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-accent);
  color: var(--color-white);
  padding: 5px 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-radius: 999px;
}

.plan-card__name {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-light);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.plan-card__price {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 6px;
  line-height: 1.3;
}

.plan-card__duration {
  font-size: 12px;
  color: var(--color-lighter);
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

.plan-card__features {
  list-style: none;
  margin: 24px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--color-border);
  text-align: left;
}

.plan-card__features li {
  font-size: 13px;
  color: var(--color-light);
  line-height: 1.7;
  padding: 8px 0 8px 22px;
  position: relative;
}

.plan-card__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--color-accent);
  font-weight: 700;
}

.plan-note {
  margin-top: 40px;
  font-size: 12px;
  color: var(--color-lighter);
  line-height: 1.8;
  text-align: center;
}


/* ----- ターゲット（こんな企業におすすめ） ----- */
.service-targets {
  padding: 100px 0;
}

.target-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 60px;
}

.target-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-dark);
}

.target-item p {
  margin: 0;
}

.target-num {
  flex-shrink: 0;
  font-size: 22px;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.05em;
}


/* ----- 参考イメージ（REFERENCE） ----- */
.service-cases {
  padding: 100px 0;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.case-item {
  text-align: center;
}

.case-item__thumb {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  overflow: hidden;
  margin-bottom: 14px;
}

.case-item__thumb img,
.case-item__thumb picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.case-item:hover .case-item__thumb img {
  transform: scale(1.05);
}

.case-item__caption {
  font-size: 13px;
  color: var(--color-lighter);
  line-height: 1.6;
}


/* ----- FAQ（よくあるご質問） ----- */
.service-faqs {
  padding: 100px 0;
}

.faq-list {
  margin-top: 60px;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.faq-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-item:hover {
  border-color: var(--color-lighter);
}

.faq-item[open] {
  border-color: var(--color-dark);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
}

/* Q (summary) 行 */
.faq-item__q {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 64px 22px 26px;
  font-size: 15px;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.6;
  position: relative;
  transition: background 0.2s ease;
}

.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q::marker { content: ''; }

.faq-item__q:hover {
  background: var(--color-bg);
}

/* 開閉アイコン（±を線で描く） */
.faq-item__q::before,
.faq-item__q::after {
  content: '';
  position: absolute;
  right: 26px;
  top: 50%;
  width: 16px;
  height: 2px;
  background: var(--color-accent);
  transition: transform 0.3s ease, opacity 0.2s ease;
}

.faq-item__q::before {
  transform: translateY(-50%);
}

.faq-item__q::after {
  transform: translateY(-50%) rotate(90deg);
}

.faq-item[open] .faq-item__q::after {
  transform: translateY(-50%) rotate(0deg);
  opacity: 0;
}

/* Q/A バッジ（丸） */
.faq-item__mark {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent);
  color: var(--color-white);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  font-family: Arial, sans-serif;
}

.faq-item__qtext {
  flex: 1;
  min-width: 0;
  padding-right: 0;
}

/* A (answer) 行 */
.faq-item__a {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 26px 26px 26px;
  font-size: 14px;
  line-height: 1.95;
  color: var(--color-light);
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
}

.faq-item__a p {
  margin: 0;
  flex: 1;
  padding-top: 4px;
}

.faq-item__a .faq-item__mark {
  background: var(--color-dark);
}


/* ----- 関連サービス（RELATED） ----- */
.service-related {
  padding: 100px 0;
}

.service-related .service-grid {
  margin-top: 60px;
}


/* ----- CTA（cb-banner派生） ----- */
.service-cta {
  margin-top: 0;
}


/* ======================================================================
   Value List (5つの価値観)
   ====================================================================== */
.value-list {
  counter-reset: value-item;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  padding: 40px 0;
  border-bottom: 1px solid var(--color-border);
}

.value-item:last-child {
  border-bottom: none;
}

.value-number {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--color-dark);
  color: var(--color-dark);
  font-size: var(--font-size-xl);
  font-weight: 700;
  border-radius: 50%;
}

.value-content h3 {
  font-size: var(--font-size-xl);
  font-weight: 600;
  margin-bottom: 10px;
}

.value-content p {
  font-size: var(--font-size-sm);
  color: var(--color-light);
  line-height: 1.8;
}


/* ======================================================================
   Reason Cards (5つの理由)
   ====================================================================== */
.reason-section {
  padding: 80px 0;
  border-bottom: 1px solid var(--color-border);
}

.reason-section:last-child {
  border-bottom: none;
}

.reason-header {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  margin-bottom: 30px;
}

.reason-number {
  flex-shrink: 0;
  font-size: 72px;
  font-weight: 700;
  color: var(--color-border);
  line-height: 1;
}

.reason-title {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  line-height: var(--line-height-tight);
}

.reason-body {
  font-size: var(--font-size-base);
  line-height: var(--line-height);
  color: var(--color-light);
}

.reason-image {
  margin-top: 40px;
  overflow: hidden;
}

.reason-image img {
  width: 100%;
  height: auto;
}


/* ======================================================================
   Form Validation UI
   ====================================================================== */

/* Error state for inputs */
.form-input.has-error,
.form-select.has-error,
.form-textarea.has-error {
  border-color: var(--color-accent);
  background: #fff5f5;
}

/* Disabled submit button */
.form-submit button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* File preview */
.file-preview {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding: 8px 12px;
  background: var(--color-bg);
  border-radius: 4px;
  font-size: var(--font-size-sm);
}

.file-preview .file-name {
  color: var(--color-dark);
  font-weight: 500;
}

.file-preview .file-size {
  color: var(--color-lighter);
  font-size: var(--font-size-xs);
}

.file-preview .file-remove {
  margin-left: auto;
  background: none;
  border: none;
  color: var(--color-lighter);
  font-size: var(--font-size-lg);
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
}

.file-preview .file-remove:hover {
  color: var(--color-accent);
}


/* ----------------------------------------------------------------------
   Video Modal (YouTube iframe)
   ---------------------------------------------------------------------- */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.video-modal.active {
  visibility: visible;
  opacity: 1;
}

.video-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  cursor: pointer;
}

.video-modal-content {
  position: relative;
  width: 92%;
  max-width: 1100px;
  z-index: 2;
}

.video-modal-iframe-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
}

.video-modal-iframe-wrap iframe,
.video-modal-iframe-wrap > div iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-modal-close {
  position: absolute;
  top: -50px;
  right: 0;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 3;
}

.video-modal-close span {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-white);
  transition: background var(--transition-fast);
}

.video-modal-close span:nth-child(1) {
  transform: rotate(45deg);
}

.video-modal-close span:nth-child(2) {
  transform: rotate(-45deg);
}

.video-modal-close:hover span {
  background: var(--color-accent);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 800px) {
  .video-modal-content {
    width: 95%;
  }
  .video-modal-close {
    top: -45px;
    width: 36px;
    height: 36px;
  }
}


/* ======================================================================
   2026-04-08 最終ブラッシュアップ（ペルソナレビュー反映）
   ====================================================================== */

/* ----------------------------------------------------------------------
   トップページ：業務領域ストリップ（ヒーロー直下の"3秒理解"セクション）
   ---------------------------------------------------------------------- */
.scope-strip {
  background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
  padding: 80px 0 70px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.scope-strip__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.scope-strip__col {
  text-align: center;
  padding: 0 15px;
  position: relative;
}

.scope-strip__col + .scope-strip__col::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 15%;
  bottom: 15%;
  width: 1px;
  background: rgba(0, 0, 0, 0.08);
}

.scope-strip__en {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 12px;
}

.scope-strip__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 12px;
  line-height: 1.4;
}

.scope-strip__desc {
  font-size: 13px;
  line-height: 1.75;
  color: var(--color-light);
}

.scope-strip__lead {
  text-align: center;
  margin-top: 50px;
  padding-top: 40px;
  border-top: 1px dashed rgba(0, 0, 0, 0.1);
  font-size: 15px;
  color: var(--color-light);
  letter-spacing: 0.02em;
}

/* ----------------------------------------------------------------------
   トップページ：制作実績のタグ・キャッチ
   ---------------------------------------------------------------------- */
.works-industry-tag {
  display: inline-block;
  font-size: 11px;
  color: var(--color-lighter);
  background: var(--color-bg);
  padding: 3px 10px;
  border-radius: 3px;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}

.works-tagline {
  font-size: 13px;
  color: var(--color-light);
  margin-top: 8px;
  line-height: 1.6;
}

.works-desc-text {
  font-size: 13px;
  color: var(--color-light);
  margin-top: 6px;
  line-height: 1.7;
}

.works-intro {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px;
  padding: 0 20px;
  font-size: 15px;
  line-height: 2;
  color: var(--color-light);
}

.works-intro__note {
  display: inline-block;
  margin-top: 12px;
  font-size: 12px;
  color: var(--color-lighter);
  letter-spacing: 0.02em;
}

@media (max-width: 768px) {
  .works-intro {
    font-size: 13px;
    margin-bottom: 36px;
  }
  .works-intro__note {
    font-size: 11px;
  }
}

/* ----------------------------------------------------------------------
   サービスページ：目的別クイックナビ
   ---------------------------------------------------------------------- */
.service-goal-nav {
  background: var(--color-bg);
  padding: 50px 40px 55px;
  border-radius: 4px;
  margin-bottom: 100px;
}

.service-goal-nav__title {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 35px;
  letter-spacing: 0.05em;
  position: relative;
}

.service-goal-nav__title::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: var(--color-accent);
  margin: 15px auto 0;
}

.service-goal-nav__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 25px;
}

.goal-card {
  display: block;
  background: var(--color-white);
  padding: 28px 24px 26px;
  border-radius: 4px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border-top: 3px solid var(--color-accent);
  position: relative;
}

.goal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.goal-card__icon {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: 10px;
}

.goal-card__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.4;
  margin-bottom: 12px;
}

.goal-card__desc {
  font-size: 13px;
  color: var(--color-light);
  line-height: 1.75;
  margin-bottom: 14px;
}

.goal-card__services {
  display: block;
  font-size: 11px;
  color: var(--color-lighter);
  padding-top: 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  line-height: 1.6;
}

.service-goal-nav__note {
  text-align: center;
  font-size: 13px;
  color: var(--color-lighter);
  margin-top: 10px;
}

.service-goal-nav__note a {
  color: var(--color-accent);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.service-goal-nav__note a:hover {
  opacity: 0.8;
}

/* ----------------------------------------------------------------------
   blog sidebar CTA 強化
   ---------------------------------------------------------------------- */
.sidebar-cta {
  background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-main) 100%);
  color: var(--color-white);
  padding: 28px 24px;
  border-radius: 4px;
  text-align: center;
}

.sidebar-cta__title {
  color: var(--color-white);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.5;
  border-bottom: none;
}

.sidebar-cta__title::after {
  display: none;
}

.sidebar-cta__text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin-bottom: 18px;
}

.sidebar-cta__btn {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-white);
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 30px;
  letter-spacing: 0.05em;
  transition: background 0.25s ease, transform 0.25s ease;
  width: 100%;
  box-sizing: border-box;
}

.sidebar-cta__btn:hover {
  background: #c94a4a;
  transform: translateY(-1px);
}

/* ----------------------------------------------------------------------
   レスポンシブ調整
   ---------------------------------------------------------------------- */
@media (max-width: 900px) {
  .scope-strip {
    padding: 60px 0 50px;
  }
  .scope-strip__inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 35px 25px;
  }
  .scope-strip__col + .scope-strip__col::before {
    display: none;
  }
  .scope-strip__col:nth-child(2n)::before {
    content: "";
    display: block;
    position: absolute;
    left: -12px;
    top: 15%;
    bottom: 15%;
    width: 1px;
    background: rgba(0, 0, 0, 0.08);
  }
  .scope-strip__title {
    font-size: 18px;
  }
  .scope-strip__lead {
    margin-top: 40px;
    padding-top: 30px;
    font-size: 14px;
  }

  .service-goal-nav {
    padding: 40px 20px 45px;
    margin-bottom: 70px;
  }
  .service-goal-nav__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .goal-card {
    padding: 22px 18px 20px;
  }
  .goal-card__title {
    font-size: 16px;
  }
}

@media (max-width: 540px) {
  .scope-strip__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .scope-strip__col + .scope-strip__col::before,
  .scope-strip__col:nth-child(2n)::before {
    display: none !important;
  }
  .service-goal-nav__grid {
    grid-template-columns: 1fr;
  }
  .service-goal-nav__title {
    font-size: 19px;
  }
}

/* ----------------------------------------------------------------------
   Hero サブ説明文
   ---------------------------------------------------------------------- */
.hero-sub-desc {
  margin-top: 24px;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.95;
  color: rgba(255, 255, 255, 0.95);
  max-width: 720px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
  .hero-sub-desc {
    font-size: 12px;
    margin-top: 18px;
    line-height: 1.8;
  }
}

/* ----------------------------------------------------------------------
   Hero CTAボタン
   ---------------------------------------------------------------------- */
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
  opacity: 0;
  animation: fadeInUp 0.8s ease 1.4s forwards;
}

.hero-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  border-radius: 2px;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  min-width: 220px;
  justify-content: center;
}

.hero-cta__btn--primary {
  background: var(--color-accent);
  color: var(--color-white);
  border: 2px solid var(--color-accent);
  box-shadow: 0 10px 30px rgba(221, 90, 90, 0.35);
}

.hero-cta__btn--primary:hover {
  background: #c84545;
  border-color: #c84545;
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(221, 90, 90, 0.5);
}

.hero-cta__btn--ghost {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255, 255, 255, 0.75);
}

.hero-cta__btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--color-white);
  transform: translateY(-3px);
}

.hero-cta__arrow {
  transition: transform 0.25s ease;
}

.hero-cta__btn:hover .hero-cta__arrow {
  transform: translateX(4px);
}

/* ボタン左上の「3営業日以内」バッジ */
.hero-cta__btn {
  position: relative;
}

.hero-cta__badge {
  position: absolute;
  top: -10px;
  left: 12px;
  background: var(--color-dark);
  color: var(--color-white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

button.hero-cta__btn {
  font-family: inherit;
  cursor: pointer;
}


/* ======================================================================
   YouTube 無料レポート請求モーダル
   ====================================================================== */
.yt-modal {
  position: fixed;
  inset: 0;
  z-index: 3500;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 20px;
}

.yt-modal.active {
  visibility: visible;
  opacity: 1;
}

.yt-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  cursor: pointer;
  backdrop-filter: blur(4px);
}

.yt-modal__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 680px;
  max-height: calc(100vh - 40px);
  background: var(--color-white);
  border-radius: 6px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
  transform: translateY(20px);
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.yt-modal.active .yt-modal__content {
  transform: translateY(0);
}

.yt-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 10;
}

.yt-modal__close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 2px;
  background: var(--color-dark);
  transition: background 0.2s ease;
}

.yt-modal__close span:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
.yt-modal__close span:nth-child(2) { transform: translate(-50%, -50%) rotate(-45deg); }

.yt-modal__close:hover span {
  background: var(--color-accent);
}

/* モーダルヘッダー */
.yt-modal__header {
  padding: 50px 40px 30px;
  text-align: center;
  background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
  border-bottom: 1px solid var(--color-border);
}

.yt-modal__badge {
  display: inline-block;
  padding: 5px 14px;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-radius: 999px;
  margin-bottom: 16px;
}

.yt-modal__title {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 14px;
  line-height: 1.4;
}

.yt-modal__lead {
  font-size: 13px;
  line-height: 1.8;
  color: var(--color-light);
  margin-bottom: 24px;
}

/* プログレスバー */
.yt-modal__progress {
  position: relative;
  height: 6px;
  background: var(--color-border);
  border-radius: 999px;
  overflow: visible;
  margin: 0 auto;
  max-width: 400px;
}

.yt-modal__progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-accent), #ff7a7a);
  border-radius: 999px;
  transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.yt-modal__progress-label {
  position: absolute;
  right: 0;
  top: 12px;
  font-size: 11px;
  color: var(--color-lighter);
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* ステップ */
.yt-modal__form {
  padding: 0;
}

.yt-step {
  padding: 40px 40px 20px;
  animation: ytStepIn 0.4s ease;
}

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

.yt-step__q {
  margin-bottom: 28px;
}

.yt-step__num {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  background: rgba(221, 90, 90, 0.1);
  padding: 4px 12px;
  border-radius: 2px;
  margin-bottom: 16px;
}

.yt-step__title {
  font-size: 19px;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.5;
  margin-bottom: 10px;
}

.yt-step__note {
  font-size: 13px;
  line-height: 1.7;
  color: var(--color-lighter);
  margin: 0;
}

.yt-step__field {
  margin-top: 20px;
}

.yt-step__required {
  font-size: 11px;
  color: var(--color-lighter);
  margin-top: 8px;
}

.yt-step__sub-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-dark);
  margin-top: 24px;
  margin-bottom: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--color-border);
}

.yt-step__sub-note {
  font-size: 12px;
  line-height: 1.85;
  color: var(--color-lighter);
  margin: 0 0 12px;
  padding: 12px 14px;
  background: var(--color-bg);
  border-radius: 4px;
}

.yt-step__sub-note strong {
  color: var(--color-dark);
  font-weight: 700;
}

/* 入力要素 */
.yt-input,
.yt-textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  font-family: inherit;
  color: var(--color-dark);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.yt-input:focus,
.yt-textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(221, 90, 90, 0.1);
}

.yt-textarea {
  resize: vertical;
  font-family: inherit;
  line-height: 1.7;
}

.yt-textarea--large {
  min-height: 140px;
}

/* チェックボックス */
.yt-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--color-light);
  margin-top: 12px;
  cursor: pointer;
}

.yt-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--color-accent);
  cursor: pointer;
}

.yt-checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.yt-check-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-size: 13px;
  color: var(--color-dark);
  cursor: pointer;
  transition: all 0.2s ease;
}

.yt-check-box:hover {
  border-color: var(--color-accent);
  background: rgba(221, 90, 90, 0.04);
}

.yt-check-box:has(input:checked) {
  border-color: var(--color-accent);
  background: rgba(221, 90, 90, 0.08);
}

.yt-check-box input[type="checkbox"] {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  accent-color: var(--color-accent);
  cursor: pointer;
}

/* フォームグループ（Step 6 連絡先） */
.yt-form-group {
  margin-bottom: 18px;
}

.yt-form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 6px;
}

.yt-required {
  display: inline-block;
  font-size: 10px;
  background: var(--color-accent);
  color: var(--color-white);
  padding: 2px 8px;
  border-radius: 2px;
  margin-left: 6px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.yt-optional {
  display: inline-block;
  font-size: 10px;
  background: var(--color-border);
  color: var(--color-light);
  padding: 2px 8px;
  border-radius: 2px;
  margin-left: 6px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.yt-privacy {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--color-border);
}

.yt-privacy a {
  color: var(--color-accent);
  text-decoration: underline;
}

/* ナビゲーション */
.yt-modal__nav {
  display: flex;
  gap: 12px;
  padding: 20px 40px 40px;
  justify-content: space-between;
  align-items: center;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  position: sticky;
  bottom: 0;
}

.yt-nav-btn {
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
  letter-spacing: 0.05em;
}

.yt-nav-btn--back {
  background: transparent;
  color: var(--color-light);
  border: 1px solid var(--color-border);
}

.yt-nav-btn--back:hover {
  border-color: var(--color-dark);
  color: var(--color-dark);
}

.yt-nav-btn--next,
.yt-nav-btn--submit {
  background: var(--color-accent);
  color: var(--color-white);
  margin-left: auto;
  box-shadow: 0 6px 20px rgba(221, 90, 90, 0.3);
}

.yt-nav-btn--next:hover,
.yt-nav-btn--submit:hover {
  background: #c84545;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(221, 90, 90, 0.45);
}

.yt-nav-btn--submit {
  padding: 14px 36px;
  font-size: 15px;
}

.yt-nav-btn--submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* 送信完了画面 */
.yt-step--done {
  padding: 60px 40px;
  text-align: center;
}

.yt-step__done-icon {
  width: 72px;
  height: 72px;
  background: var(--color-accent);
  color: var(--color-white);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 24px;
  box-shadow: 0 10px 30px rgba(221, 90, 90, 0.3);
}

.yt-step__done-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 18px;
}

.yt-step__done-lead {
  font-size: 14px;
  line-height: 1.9;
  color: var(--color-light);
  margin-bottom: 24px;
}

.yt-step__done-lead strong {
  color: var(--color-accent);
  font-weight: 700;
}

.yt-step__done-note {
  background: var(--color-bg);
  border-left: 3px solid var(--color-accent);
  padding: 18px 22px;
  text-align: left;
  font-size: 13px;
  line-height: 1.8;
  color: var(--color-light);
  border-radius: 2px;
}

.yt-step__done-note p {
  margin: 0 0 6px;
}

.yt-step__done-note p:last-child {
  margin-bottom: 0;
}

.yt-step__done-note strong {
  color: var(--color-accent);
}

/* モバイル対応 */
@media (max-width: 600px) {
  .yt-modal {
    padding: 0;
    align-items: stretch;
  }
  .yt-modal__content {
    max-width: 100%;
    max-height: 100vh;
    border-radius: 0;
  }
  .yt-modal__header {
    padding: 40px 24px 24px;
  }
  .yt-modal__title {
    font-size: 20px;
  }
  .yt-modal__lead {
    font-size: 12px;
  }
  .yt-step {
    padding: 30px 24px 20px;
  }
  .yt-step__title {
    font-size: 17px;
  }
  .yt-checkbox-grid {
    grid-template-columns: 1fr;
  }
  .yt-modal__nav {
    padding: 16px 24px 24px;
  }
  .yt-nav-btn {
    padding: 13px 22px;
    font-size: 13px;
  }
  .yt-nav-btn--submit {
    padding: 13px 24px;
    font-size: 14px;
  }
  .yt-step--done {
    padding: 50px 24px;
  }
}

/* ----------------------------------------------------------------------
   Contact Step Form（/contact/ ページ版）
   yt-modal の視覚スタイルを流用しつつ、モーダル特有の制約
   （max-height / sticky nav / overflow）を解除した通常ページ版
   ---------------------------------------------------------------------- */
.contact-step-section {
  padding-top: 60px;
  padding-bottom: 100px;
}

.contact-step-wrap {
  position: relative;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  background: var(--color-white);
  border-radius: 6px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  overflow: visible;
}

.contact-step__header {
  padding: 48px 48px 28px;
  text-align: center;
  background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
  border-bottom: 1px solid var(--color-border);
  border-radius: 6px 6px 0 0;
}

.contact-step__title {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 14px;
  line-height: 1.4;
}

.contact-step__lead {
  font-size: 13px;
  line-height: 1.8;
  color: var(--color-light);
  margin-bottom: 24px;
}

.contact-step__progress {
  position: relative;
  height: 6px;
  background: var(--color-border);
  border-radius: 999px;
  max-width: 400px;
  margin: 0 auto;
}

.contact-step__progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-accent), #ff7a7a);
  border-radius: 999px;
  transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.contact-step__progress-label {
  position: absolute;
  right: 0;
  top: 12px;
  font-size: 11px;
  color: var(--color-lighter);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.contact-step__form {
  padding: 0;
}

/* ナビゲーション：sticky を外して通常のフロー配置に */
.contact-step-wrap .yt-modal__nav {
  position: static;
  padding: 24px 48px 40px;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  border-radius: 0 0 6px 6px;
}

/* チェックボックスグリッドに単列バリアント追加 */
.yt-checkbox-grid--single {
  grid-template-columns: 1fr;
}

/* contact-step 内のチェックボックスグリッドは auto-fit でシンプルに。
   ラベルの文字数で改行されたり、最終行が中途半端にならないよう minmax を広めに */
.contact-step-wrap .yt-checkbox-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.contact-step-wrap .yt-checkbox-grid--single {
  grid-template-columns: 1fr;
}

.contact-step-wrap .yt-check-box {
  min-height: 48px;
  line-height: 1.5;
}

/* サブラベル（動画のイメージ / 尺 / 配信先 等）の上マージン */
.contact-step-wrap .yt-step__sub-label {
  margin-top: 22px;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-dark);
}

.contact-step-wrap .yt-step__sub-label:first-child {
  margin-top: 0;
}

/* モバイル */
@media (max-width: 800px) {
  .contact-step-section {
    padding-top: 40px;
    padding-bottom: 60px;
  }
  .contact-step__header {
    padding: 36px 24px 22px;
  }
  .contact-step__title {
    font-size: 20px;
  }
  .contact-step-wrap .yt-checkbox-grid {
    grid-template-columns: 1fr;
  }
  .contact-step-wrap .yt-modal__nav {
    padding: 18px 24px 28px;
  }
}

/* ----------------------------------------------------------------------
   CTA Button Group + Ghost variant
   ---------------------------------------------------------------------- */
.cta-btn-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.design-button--ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: var(--color-white);
}

.design-button--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  border-color: var(--color-white);
}

.design-button.dark.design-button--ghost {
  background: transparent;
  border-color: var(--color-dark);
  color: var(--color-dark);
}

.design-button.dark.design-button--ghost:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--color-dark);
}

@media (max-width: 540px) {
  .cta-btn-group .design-button {
    min-width: 240px;
  }
}

/* ----------------------------------------------------------------------
   Flow page (動画制作フロー)
   ---------------------------------------------------------------------- */
.flow-intro {
  text-align: center;
  margin-bottom: 70px;
}

.flow-intro__heading {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.flow-intro__heading::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: var(--color-accent);
  margin: 14px auto 0;
}

.flow-intro__lead {
  font-size: 15px;
  line-height: 2;
  color: var(--color-light);
  margin-bottom: 35px;
}

.flow-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 720px;
  margin: 0 auto;
}

.flow-stat {
  background: var(--color-bg);
  padding: 24px 20px;
  border-radius: 6px;
  text-align: center;
  border-top: 3px solid var(--color-dark);
}

.flow-stat--accent {
  border-top-color: var(--color-accent);
}

.flow-stat__label {
  font-size: 11px;
  color: var(--color-lighter);
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}

.flow-stat__value {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.2;
  margin-bottom: 8px;
}

.flow-stat--accent .flow-stat__value {
  color: var(--color-accent);
}

.flow-stat__note {
  font-size: 11px;
  color: var(--color-lighter);
  line-height: 1.5;
}

.flow-next {
  margin-top: 80px;
  padding: 50px 30px 55px;
  background: var(--color-bg);
  border-radius: 6px;
  text-align: center;
}

.flow-next__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 14px;
}

.flow-next__lead {
  font-size: 14px;
  line-height: 1.9;
  color: var(--color-light);
  margin-bottom: 28px;
}

@media (max-width: 768px) {
  .flow-stats {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .flow-intro__heading {
    font-size: 22px;
  }
  .flow-intro__lead {
    font-size: 14px;
  }
  .flow-next {
    padding: 40px 20px 45px;
    margin-top: 60px;
  }
  .flow-next__title {
    font-size: 19px;
  }
}
