@charset "UTF-8";

/* ==========================================================================
   WORK (About) - Simple Style Clean & Minimal Design
   ========================================================================== */

/* ==========================================================================
   1. Page Hero Section (Title, Catchphrase, Right-aligned Description, Banner)
   ========================================================================== */
.work-page-hero {
  background: #ffffff;
  padding: 44px 0 0;
}

.work-page-hero__inner {
  max-width: var(--layout-max-width, 1480px);
  margin: 0 auto;
  padding: 0 var(--container-gutter, 16px);
  box-sizing: border-box;
}

/* 1. Title Group: 事業案内 (左寄せ・水色) */
.work-page-hero__title-group {
  margin-bottom: 16px;
  text-align: left;
}

.work-page-hero__title {
  margin: 0;
}

.work-page-hero__title-ja {
  font-family: var(--font-serif, "Shippori Mincho", "Noto Serif JP", serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: #00a6e6;
  letter-spacing: 0.12em;
  line-height: 1.2;
  display: inline-block;
}

/* 2. Body Area (Catchphrase + Right-aligned Description + Watermark Background) */
.work-page-hero__body {
  position: relative;
  padding: 24px 0 32px;
  margin-bottom: 24px;
}

/* 背景文字: SERVICE & SOLUTION (左右の余白で途切れないようにコンテナ幅内に収まるサイズで配置) */
.work-page-hero__bg-text {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  font-family: var(--font-heading, "Cinzel", "Playfair Display", serif);
  font-size: clamp(1.8rem, 5.2vw, 5.5rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
  color: rgba(0, 166, 230, 0.12);
  background: linear-gradient(135deg, rgba(0, 166, 230, 0.16) 0%, rgba(2, 132, 199, 0.05) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  line-height: 1;
}

/* Catchphrase: 左寄せ・大きなフォント・付け足しなし */
.work-page-hero__catch-wrap {
  margin-bottom: 32px;
  text-align: left;
  position: relative;
  z-index: 1;
}

.work-page-hero__catch {
  font-family: var(--font-serif, "Shippori Mincho", "Noto Serif JP", serif);
  font-size: 2.5rem;
  line-height: 1.45;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  letter-spacing: 0.03em;
}

/* Description Block: 画面右寄せ・説明文のみ */
.work-page-hero__desc-wrap {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}

.work-page-hero__desc {
  max-width: 760px;
  font-family: var(--font-sans, "Outfit", "Noto Sans JP", sans-serif);
  font-size: 1.05rem;
  line-height: 2.05;
  color: #334155;
  margin: 0;
  letter-spacing: 0.03em;
  text-align: left;
}

/* 4. Featured Image Banner (hero_top_3.jpg) */
.work-featured-banner {
  margin-bottom: 0;
}

.work-featured-banner__frame {
  width: 100%;
  height: 480px;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  position: relative;
  border: 1px solid #e2e8f0;
  border-bottom: none;
  background: #f1f5f9;
}

.work-featured-banner__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ==========================================================================
   2. Work Subbar (Sticky Bar: Left Breadcrumb / Right In-page Navigation)
   ========================================================================== */
.work-subbar {
  position: relative;
  background: #edf5fc;
  border-bottom: 1px solid #dce8f5;
  z-index: 10;
  margin-bottom: var(--space-2xl, 64px);
  box-shadow: 0 1px 4px rgba(16, 72, 135, 0.04);
  transition: all 0.3s ease;
}

.work-subbar__container {
  max-width: var(--layout-max-width, 1480px);
  margin: 0 auto;
  padding: 0 var(--container-gutter, 16px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  box-sizing: border-box;
}

.work-subbar .breadcrumb {
  background: transparent !important;
  border: none;
  padding: 14px 0;
  width: auto;
  margin-bottom: 0 !important;
}

.work-subbar .breadcrumb__container {
  padding: 0;
  max-width: none;
}

.work-subbar .breadcrumb__link {
  color: #475569;
}

.work-subbar .breadcrumb__link:hover {
  color: var(--secondary-color, #0284c7);
}

.work-subbar .breadcrumb__separator {
  color: #94a3b8;
}

.work-subbar .breadcrumb__current {
  color: #0f172a !important;
  font-weight: 700;
}

.work-subbar .work-nav {
  position: static;
  background: transparent;
  border: none;
  box-shadow: none;
  margin: 0;
  width: auto;
}

.work-nav__list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 4px;
}

.work-nav__item {
  margin: 0;
}

.work-nav__link {
  display: inline-flex;
  align-items: center;
  padding: 14px 18px;
  font-family: var(--font-sans, "Outfit", "Noto Sans JP", sans-serif);
  font-size: 14px;
  font-weight: 700;
  color: #334155;
  text-decoration: none;
  letter-spacing: 0.03em;
  position: relative;
  transition: color 0.25s ease;
}

.work-nav__link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--secondary-color, #0284c7);
  transition:
    width 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    left 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 3px 3px 0 0;
}

.work-nav__link:hover {
  color: var(--secondary-color, #0284c7);
}

.work-nav__link:hover::after,
.work-nav__link.is-active::after {
  width: 100%;
  left: 0;
}

/* --- Container & Spacing --- */
.work-container {
  max-width: var(--layout-max-width, 1480px);
  margin: 0 auto;
  padding: 0 var(--container-gutter, 16px) var(--space-3xl);
  box-sizing: border-box;
}

/* ==========================================================================
/* ==========================================================================
   STRENGTH SECTION (OUR STRENGTHS - イラスト×縦書きレイアウト)
   ========================================================================== */
.work-section--strength {
  position: relative;
  padding: 30px 0 60px;
}

/* ==========================================================================
   Section Headings - Modern Simple Clean Design (Top Blue Line + Dual Titles + Big Catch)
   ========================================================================== */
.work-sec-head {
  border-top: 2px solid #0077b6;
  padding-top: 24px;
  margin-bottom: 44px;
  text-align: left;
}

.work-sec-head__category {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-bottom: 14px;
  text-align: left;
}

.work-sec-head__en {
  font-family: var(--font-sans, "Outfit", "Noto Sans JP", sans-serif);
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  font-weight: 700;
  color: #0077b6;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.work-sec-head__ja {
  font-family: var(--font-sans, "Outfit", "Noto Sans JP", sans-serif);
  font-size: clamp(0.95rem, 1.2vw, 1.15rem);
  font-weight: 600;
  color: #0077b6;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.work-sec-head__title {
  font-family: var(--font-sans, "Outfit", "Noto Sans JP", sans-serif);
  font-size: clamp(1.95rem, 2.9vw, 2.75rem);
  font-weight: 700;
  color: #0f172a;
  line-height: 1.45;
  letter-spacing: 0.02em;
  margin: 0;
  text-align: left;
  display: block;
}

/* ==========================================================================
   3つの強み セクション (水平カード配置＋大数字＆エディトリアルレイアウト)
   ========================================================================== */
.work-section--strength {
  position: relative;
}

/* 3つの強み グリッド (真横に均等配置) */
.strength-items-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  align-items: stretch;
  margin-top: 48px;
}

/* 各強みカード本体 */
.strength-card {
  position: relative;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 14px 38px -6px rgba(15, 23, 42, 0.07),
              0 2px 6px rgba(0, 0, 0, 0.02);
  border: 1px solid #e2e8f0;
  padding: 44px 32px 36px;
  display: flex;
  flex-direction: column;
}

/* カード左側の縦書き英字テキスト (FEATURE 01 等) */
.strength-card__tag {
  position: absolute;
  left: -24px;
  bottom: 32px;
  writing-mode: vertical-rl;
  font-family: var(--font-english);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--theme-work-border, #bae6fd);
  text-transform: uppercase;
  user-select: none;
  opacity: 0.85;
}

/* カード上部：左端に数字を配置 */
.strength-card__top {
  display: flex;
  align-items: flex-start;
  margin-bottom: 24px;
}

/* 左上の巨大な紺色数字 */
.strength-card__num {
  font-family: var(--font-english);
  font-size: 3.8rem;
  font-weight: 900;
  line-height: 0.9;
  color: var(--secondary-color, #006699);
  letter-spacing: -0.02em;
  user-select: none;
}

/* タイトル行（タイトル＋バッジの横並び） */
.strength-card__title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

/* ワンポイントバッジ（タイトル行の右端） */
.strength-card__badge {
  display: inline-block;
  flex-shrink: 0;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.2;
  padding: 3px 10px;
  border-radius: 4px;
  color: var(--theme-work-primary, #0284c7);
  background: var(--theme-work-light, #f0f9ff);
  border: 1px solid var(--theme-work-border, #bae6fd);
}

/* タイトル */
.strength-card__title {
  font-family: var(--font-sans);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--theme-work-dark, #0f172a);
  letter-spacing: 0.05em;
  line-height: 1.4;
  margin: 0;
}

/* 説明テキスト */
.strength-card__text {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  line-height: 1.88;
  color: #475569;
  text-align: justify;
  margin: 0;
  letter-spacing: 0.02em;
  flex-grow: 1;
}

/* レスポンシブ対応 (992px以下) */
@media (max-width: 992px) {
  .strength-items-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 100%;
    margin: 32px auto 0;
    padding: 0 24px;
  }

  .strength-card__tag {
    left: -18px;
    font-size: 0.6rem;
    opacity: 0.6;
  }

  .strength-card {
    padding: 32px 20px 32px;
  }

  .strength-card__num {
    font-size: 3.2rem;
  }
}

/* --- Section Structure --- */
.work-section {
  margin-bottom: var(--space-3xl, 96px);
  scroll-margin-top: 140px;
}

/* --- Sub-Section Headings (Clean modern sans-serif with subtle background watermark) --- */
.work-sub-head {
  position: relative;
  margin: 56px 0 32px;
  padding: 16px 0 14px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.work-sub-head__en {
  position: absolute;
  right: 0;
  bottom: 2px;
  font-family: var(--font-sans, "Outfit", "Noto Sans JP", sans-serif);
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  color: rgba(16, 72, 135, 0.11);
  text-transform: uppercase;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  text-align: right;
}

.work-sub-head__title {
  position: relative;
  z-index: 1;
  font-family: var(--font-sans, "Outfit", "Noto Sans JP", sans-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: 0.03em;
  margin: 0;
  line-height: 1.3;
}

/* --- Alternating Item List (Simple contBox-bizArea Style) --- */
.work-item-list {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.work-item {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 16px;
  padding: 36px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  gap: 48px;
}

.work-item__img-wrap {
  order: -1;
  flex: 0 0 320px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #edf2f7;
}

.work-item__content {
  flex: 1;
  min-width: 0;
}

.work-item__title {
  font-family: var(--font-serif, "Shippori Mincho", "Noto Serif JP", serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 14px;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.work-item__lead {
  font-family: var(--font-sans, "Outfit", "Noto Sans JP", sans-serif);
  font-size: 0.95rem;
  line-height: 1.85;
  color: #334155;
  margin: 0 0 16px;
}

.work-item__detail-box {
  background: #f8fafc;
  border: 1px solid #edf2f7;
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 0.88rem;
  line-height: 1.75;
  color: #475569;
}

.work-item__detail-box p {
  margin: 0 0 6px;
}

.work-item__detail-box p:last-child {
  margin-bottom: 0;
}

.work-item__tag-label {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
  background: transparent;
  padding: 0;
  margin-right: 8px;
  vertical-align: baseline;
}

.work-item__notes {
  margin-top: 10px;
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.6;
}

.work-item__notes .note-mark {
  color: #ef4444;
  font-weight: bold;
  margin-right: 2px;
}

.work-item__img {
  max-width: 85%;
  max-height: 85%;
  object-fit: contain;
}

/* --- Section Note (Sub Note) --- */
.work-section-note {
  margin-top: 24px;
  font-size: 0.88rem;
  color: #64748b;
  text-align: right;
}

.work-section-note .note-mark {
  color: #ef4444;
  font-weight: bold;
  margin-right: 4px;
}

/* --- Manufacturer List (Minimal Chips / Tag Grid) --- */
.mfr-container {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 36px 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.mfr-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  line-height: 1.6;
}

.mfr-tag {
  display: inline-block;
  padding: 6px 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 0.85rem;
  color: #334155;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.mfr-note {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed #e2e8f0;
  font-size: 0.85rem;
  color: #64748b;
}

.mfr-note .note-mark {
  color: #ef4444;
  font-weight: bold;
  margin-right: 4px;
}

/* --- Development Results (Clean Flat Tables) --- */
.results-block {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.results-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.results-card__header {
  position: relative;
  background: #f8fafc;
  padding: 16px 24px;
  border-bottom: 1px solid #e2e8f0;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.results-card__en {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-sans, "Outfit", "Noto Sans JP", sans-serif);
  font-size: clamp(1.2rem, 2.2vw, 1.85rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  color: rgba(16, 72, 135, 0.11);
  text-transform: uppercase;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  white-space: nowrap;
}

.results-card__title {
  position: relative;
  z-index: 1;
  font-family: var(--font-sans, "Outfit", "Noto Sans JP", sans-serif);
  font-size: 1.12rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.03em;
}

.results-card__title::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #104887;
  border-radius: 50%;
}

.results-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.results-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.results-table th,
.results-table td {
  padding: 14px 20px;
  border-bottom: 1px solid #f1f5f9;
}

.results-table th {
  background: #ffffff;
  font-family: var(
    --font-heading,
    "Cinzel",
    "Playfair Display",
    "Outfit",
    sans-serif
  );
  color: #64748b;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 2px solid #e2e8f0;
  white-space: nowrap;
}

.results-table tbody tr:last-child td {
  border-bottom: none;
}

.results-table td:nth-child(1) {
  font-weight: 600;
  color: #1e293b;
  width: 32%;
}

.results-table td:nth-child(2) {
  color: #104887;
  font-weight: 600;
  width: 28%;
}

.results-table td:nth-child(3) {
  color: #475569;
  width: 40%;
}

/* --- Responsive Media Queries --- */
@media (max-width: 900px) {
  .work-page-hero {
    padding: 32px 0 0;
  }

  .work-page-hero__inner {
    padding: 0 var(--container-gutter, 16px);
  }

  .work-page-hero__title-ja {
    font-size: 1.25rem;
  }

  .work-page-hero__body {
    padding: 16px 0 24px;
    margin-bottom: 16px;
  }

  .work-page-hero__bg-text {
    font-size: clamp(1.6rem, 4.8vw, 3.2rem);
    left: 0;
  }

  .work-page-hero__catch {
    font-size: 1.8rem;
    line-height: 1.45;
  }

  .work-page-hero__desc-wrap {
    justify-content: flex-start;
  }

  .work-page-hero__desc {
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.95;
  }

  .work-featured-banner__frame {
    height: 300px;
    border-radius: 12px 12px 0 0;
  }

  .work-item {
    flex-direction: column !important;
    padding: 28px;
    gap: 24px;
  }

  .work-item__img-wrap {
    width: 100%;
    flex: 0 0 180px;
  }

  .work-subbar {
    margin-bottom: var(--space-xl, 48px);
  }

  .work-subbar__container {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0 var(--container-gutter, 16px);
  }

  .work-subbar .breadcrumb {
    padding: 10px 0 6px;
  }

  .work-subbar .work-nav {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .work-subbar .work-nav::-webkit-scrollbar {
    display: none;
  }

  .work-nav__list {
    white-space: nowrap;
    padding-bottom: 8px;
  }

  .work-nav__link {
    padding: 8px 12px;
    font-size: 13px;
  }

  .work-sec-head {
    padding-top: 20px;
    margin-bottom: 36px;
  }

  .work-sec-head__en {
    font-size: 1.45rem;
  }

  .work-sec-head__ja {
    font-size: 0.95rem;
  }

  .work-sec-head__title {
    font-size: 1.85rem;
    line-height: 1.4;
  }

  .work-container {
    padding-bottom: var(--space-2xl, 64px);
  }

  .work-section {
    margin-bottom: var(--space-2xl, 64px);
  }
}

@media (max-width: 640px) {
  .work-page-hero {
    padding: 24px 0 0;
  }

  .work-page-hero__title-ja {
    font-size: 1.1rem;
  }

  .work-page-hero__body {
    padding: 12px 0 18px;
    margin-bottom: 12px;
  }

  .work-page-hero__bg-text {
    font-size: clamp(1.15rem, 5.2vw, 2.1rem);
    left: 0;
  }

  .work-page-hero__catch-wrap {
    margin-bottom: 20px;
  }

  .work-page-hero__catch {
    font-size: 1.32rem;
    line-height: 1.5;
  }

  .work-page-hero__desc {
    font-size: 0.92rem;
    line-height: 1.85;
  }

  .work-featured-banner__frame {
    height: 220px;
    border-radius: 10px 10px 0 0;
  }

  .work-sec-head {
    padding-top: 16px;
    margin-bottom: 28px;
  }

  .work-sec-head__en {
    font-size: 1.15rem;
  }

  .work-sec-head__ja {
    font-size: 0.82rem;
  }

  .work-sec-head__title {
    font-size: 1.45rem;
    line-height: 1.45;
  }

  .work-subbar {
    margin-bottom: var(--space-lg, 32px);
  }

  .work-nav__link {
    padding: 6px 10px;
    font-size: 12px;
  }

  .work-container {
    padding-bottom: var(--space-xl, 48px);
  }

  .work-section {
    margin-bottom: var(--space-xl, 48px);
  }

  .work-item {
    padding: 20px;
  }

  .mfr-container {
    padding: 20px;
  }

  .results-table th,
  .results-table td {
    padding: 12px 14px;
    font-size: 0.85rem;
  }
}
