@charset "UTF-8";
/**
 * 制作実績（アーカイブ / カテゴリ / シングル）専用スタイル。
 * 既存トップのピンク×パステル世界観に合わせつつ、
 * 添付デザインのレイアウト構造（大きな連番・英語見出し・カードUI・広い余白）を再現する。
 *
 * すべて works- / work-single- プレフィックスに閉じ、既存サイトへ影響させない。
 * 色トークン（参考）:
 *   ピンク       #ef7d8e / 淡ピンク #ef9aaa / ピンク薄 #f7dfe4
 *   ブルー       #8cbbe0 / 淡ブルー #a8cdea
 *   イエロー     #edbc15
 *   文字         #3f3937 / 副次 #6b6461
 *   クリーム背景 #fbf8e9 → #f7f0d7
 *   破線ボーダー #efd4d9 / #efb8c0
 */

/* =========================================================
   共通コンテナ / 背景
   ========================================================= */
.works-archive,
.work-single {
  background-image: linear-gradient(180deg, #fbf8e9 0%, #f7f0d7 100%);
  /* 上部は position:fixed の .portfolio-header（top24px＋高さ約82px）を避けるため広めに確保 */
  padding: 150px 0 96px;
  color: #3f3937;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
}

.works-archive__inner,
.work-single__inner {
  width: min(100%, 1240px);
  margin-inline: auto;
  padding-inline: 24px;
}

/* 英語見出し・連番の共通表現 */
.works-archive__en,
.work-single__en,
.works-nav__en {
  font-family: "Josefin Sans", "Noto Sans JP", sans-serif;
  letter-spacing: 0.14em;
}

/* =========================================================
   アーカイブ / カテゴリ ヘッダー
   ========================================================= */
.works-archive__head {
  text-align: center;
  margin-bottom: 48px;
}

.works-archive__en {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: #ef7d8e;
  letter-spacing: 0.34em;
  margin-bottom: 10px;
}

.works-archive__title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 14px;
}

.works-archive__lead {
  font-size: 14px;
  line-height: 1.9;
  color: #6b6461;
  max-width: 640px;
  margin: 0 auto;
}

/* カテゴリ切り替えナビ */
.works-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.works-nav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 20px;
  border: 1px solid #efc4cb;
  border-radius: 999px;
  background: #fff;
  color: #5a524f;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.works-nav__link .works-nav__en {
  font-size: 12px;
  font-weight: 600;
}

.works-nav__link:hover,
.works-nav__link:focus-visible {
  border-color: #ef9aaa;
  background: #fdeef1;
  color: #d65b6e;
}

.works-nav__link.is-current {
  border-color: #ef7d8e;
  background: #ef7d8e;
  color: #fff;
  box-shadow: 0 6px 14px rgba(239, 125, 142, 0.28);
}

/* =========================================================
   一覧カード（アーカイブ・カテゴリ・関連実績 共通）
   ========================================================= */
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.work-card {
  display: flex;
  height: 100%;
}

.work-card__link {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: #fff;
  border: 1px solid #efd4d9;
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: #3f3937;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.work-card__link:hover,
.work-card__link:focus-visible {
  transform: translateY(-4px);
  border-color: #ef9aaa;
  box-shadow: 0 14px 30px rgba(239, 125, 142, 0.16);
}

.work-card__thumb {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #f7dfe4;
}

.work-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.work-card__link:hover .work-card__img,
.work-card__link:focus-visible .work-card__img {
  transform: scale(1.06);
}

.work-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 22px 24px;
  flex: 1;
}

.work-card__cat {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #ef7d8e;
}

.work-card__title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}

.work-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.work-card__tag {
  font-family: "Josefin Sans", "Noto Sans JP", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #6b9bc4;
  background: #eef5fb;
  padding: 4px 10px;
  border-radius: 6px;
}

.work-card__excerpt {
  font-size: 13px;
  line-height: 1.9;
  color: #6b6461;
}

.work-card__more {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: auto;
  padding-top: 6px;
  color: #ef7d8e;
  font-family: "Josefin Sans", "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.work-card__arrow {
  position: relative;
  width: 26px;
  height: 8px;
  transition: transform 0.3s ease;
}

.work-card__arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 8px;
  height: 8px;
  border-top: 2px solid #ef7d8e;
  border-right: 2px solid #ef7d8e;
  transform: translateY(-50%) rotate(45deg);
}

.work-card__arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 24px;
  height: 2px;
  background: #ef7d8e;
  transform: translateY(-50%);
}

.work-card__link:hover .work-card__arrow,
.work-card__link:focus-visible .work-card__arrow {
  transform: translateX(6px);
}

/* ページネーション / 空表示 */
.works-archive__pagination {
  margin-top: 48px;
}

.works-archive__pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.works-archive__pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #efd4d9;
  border-radius: 10px;
  background: #fff;
  color: #5a524f;
  text-decoration: none;
  font-size: 14px;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.works-archive__pagination .page-numbers:hover,
.works-archive__pagination .page-numbers.current {
  background: #ef7d8e;
  border-color: #ef7d8e;
  color: #fff;
}

.works-archive__empty {
  text-align: center;
  padding: 60px 20px;
  color: #6b6461;
}

/* =========================================================
   シングル 共通（見出し・連番・セクション）
   ========================================================= */
.work-single__article {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.work-single__section {
  scroll-margin-top: 90px;
}

/* セクション見出し（大きな連番＋英語＋日本語） */
.work-single__heading {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 20px;
  margin-bottom: 34px;
  border-bottom: 1px solid #efd4d9;
}

.work-single__number {
  font-family: "Josefin Sans", "Noto Sans JP", sans-serif;
  font-size: clamp(2.6rem, 7vw, 4.2rem);
  font-weight: 700;
  line-height: 1;
  color: #ef7d8e;
  letter-spacing: 0.02em;
}

.work-single__heading-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  /* h2 要素として使用するためブラウザ既定の余白・サイズを打ち消す */
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}

.work-single__en {
  font-size: clamp(1.05rem, 2.4vw, 1.5rem);
  font-weight: 600;
  color: #3f3937;
  letter-spacing: 0.12em;
}

.work-single__jp {
  font-size: 13px;
  color: #8a807c;
  letter-spacing: 0.08em;
}

.work-single__en--sm {
  font-size: 1rem;
}

.work-single__jp--sm {
  font-size: 12px;
}

/* 2カラムグリッド */
.work-single__grid {
  display: grid;
  gap: 40px;
}

.work-single__grid--project {
  grid-template-columns: 1fr 1.1fr;
  align-items: start;
}

/* メイン画像・サブ画像が未登録の場合は 01 を全幅に（右の空白を防ぐ） */
.work-single__grid--project:has(> .work-single__col:only-child) {
  grid-template-columns: 1fr;
}

.work-single__grid--2col {
  grid-template-columns: 1fr 1fr;
  align-items: start;
	margin-bottom: 20px;
}

/* 右カラム（画像・データ等）が未登録で片側しか無い場合は全幅にして右の空白を防ぐ */
.work-single__grid--2col:has(> .work-single__col:only-child) {
  grid-template-columns: 1fr;
}

/* 施策のみ全幅になったときは2カラムで詰めてバランスを取る */
.work-single__grid--2col:has(> .work-single__col:only-child) .work-single__measures {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-content: start;
}

.work-single__col {
  min-width: 0;
}

/* 汎用カード / ブロック */
.work-single__card {
  background: #fff;
  border: 1px solid #efd4d9;
  border-radius: 14px;
  padding: 22px 24px;
}

.work-single__block + .work-single__block {
  margin-top: 28px;
}

.work-single__block-title {
  position: relative;
  font-size: 15px;
  font-weight: 700;
  color: #3f3937;
  padding-left: 14px;
  margin-bottom: 14px;
}

.work-single__block-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 5px;
  height: 1.05em;
  border-radius: 3px;
  background: #ef7d8e;
}

.work-single__text {
  font-size: 14px;
  line-height: 1.95;
  color: #5a524f;
}

/* =========================================================
   01 PROJECT
   ========================================================= */
.work-single__cat {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #ef7d8e;
  margin-bottom: 8px;
}

.work-single__title {
  font-size: clamp(1.4rem, 3.4vw, 2rem);
  font-weight: 700;
  line-height: 1.45;
  margin: 0 0 18px;
}

.work-single__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.work-single__tag {
  font-family: "Josefin Sans", "Noto Sans JP", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #6b9bc4;
  background: #eef5fb;
  padding: 5px 12px;
  border-radius: 7px;
	margin-right: 5px;
}

.work-single__lead {
  font-size: 14px;
  line-height: 2;
  color: #5a524f;
}

.work-single__col--visual {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.work-single__visual {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
/*   border: 1px solid #efd4d9;
  background: #fff; */
}

.work-single__visual img {
  display: block;
  width: 100%;
  height: auto;
}

.work-single__visual--sub {
  width: 60%;
  align-self: flex-end;
}

/* 案件情報カード */
.work-single__info {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 40px 0 0;
}

.work-single__info-card {
  background: #fff;
  border: 1px solid #efd4d9;
  border-radius: 14px;
  padding: 18px 20px;
}

.work-single__info-card dt {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #b78f95;
  margin-bottom: 8px;
}

.work-single__info-card dd {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #3f3937;
  line-height: 1.6;
}

/* =========================================================
   02 BACKGROUND / ISSUE
   ========================================================= */
.work-single__checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.work-single__check-item {
  position: relative;
  padding: 14px 16px 14px 46px;
  background: #fff;
  border: 1px solid #efd4d9;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.7;
  color: #5a524f;
}

.work-single__check-item::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  width: 16px;
  height: 9px;
  border-left: 2.5px solid #ef7d8e;
  border-bottom: 2.5px solid #ef7d8e;
  transform: translateY(-70%) rotate(-45deg);
}

.work-single__col--data {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.work-single__data-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

/* 成果カードが1枚だけのときは、その列いっぱいに広げる */
.work-single__data-grid:has(> .work-single__data-card:only-child) {
  grid-template-columns: 1fr;
}

/* 全幅表示 × 成果カード1枚は、大きくしつつ中央に寄せる */
.work-single__grid--issue-stack .work-single__data-grid:has(> .work-single__data-card:only-child) {
  grid-template-columns: minmax(0, 660px);
  justify-content: center;
}

.work-single__data-card {
  background: #fff;
  border: 1px solid #efd4d9;
  border-radius: 14px;
  padding: 22px 20px;
  text-align: center;
}

.work-single__data-label {
  font-size: 12px;
  color: #8a807c;
  margin-bottom: 10px;
  line-height: 1.6;
}

.work-single__data-value {
  font-family: "Josefin Sans", "Noto Sans JP", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: #ef7d8e;
  line-height: 1.2;
}

/* 増減バッジ（+99.1% など） */
.work-single__data-delta {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 13px;
  border-radius: 999px;
  background: #fdecef;
  color: #d65b6e;
  font-family: "Josefin Sans", "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* 計測期間キャプション */
.work-single__data-period {
  margin-top: 14px;
  text-align: center;
  font-size: 12px;
  color: #8a807c;
  letter-spacing: 0.02em;
  line-height: 1.6;
}

.work-single__data-note {
  background: #fdf6f7;
  margin-top: 16px;
}

/* 成果を全幅で大きく見せる（背景・課題を上段、成果を下段全幅に） */
.work-single__grid--issue-stack {
  grid-template-columns: 1fr;
  gap: 32px;
}

.work-single__grid--issue-stack .work-single__data-head {
  justify-content: center;
}

.work-single__grid--issue-stack .work-single__data-card {
  padding: 30px 24px;
}

.work-single__grid--issue-stack .work-single__data-value {
  font-size: clamp(2rem, 4.5vw, 3rem);
}

/* =========================================================
   03 APPROACH
   ========================================================= */
.work-single__measures {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.work-single__measure {
  display: flex;
  gap: 16px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #efd4d9;
  border-radius: 14px;
}

.work-single__measure-no {
  font-family: "Josefin Sans", "Noto Sans JP", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #ef9aaa;
  line-height: 1.4;
  flex-shrink: 0;
}

.work-single__measure-body {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.work-single__measure-title {
  font-size: 15px;
  font-weight: 700;
  color: #3f3937;
  line-height: 1.5;
}

.work-single__measure-desc {
  font-size: 13px;
  line-height: 1.85;
  color: #6b6461;
}

.work-single__gallery {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.work-single__gallery-item {
  margin: 0;
  border: 1px solid #efd4d9;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.work-single__gallery-item img {
  display: block;
  width: 100%;
  height: auto;
}

/* =========================================================
   04 MY ROLE
   ========================================================= */
.work-single__pills {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.work-single__pill {
  font-size: 13px;
  color: #5a524f;
  background: #fff;
  border: 1px solid #efd4d9;
  border-radius: 999px;
  padding: 7px 15px;
}

.work-single__pills--tools .work-single__pill {
  border-color: #cfe0ef;
  color: #4d6b85;
  background: #f4f9fd;
}

.work-single__points {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.work-single__point {
  padding: 20px 22px;
}

.work-single__point-title {
  position: relative;
  font-size: 15px;
  font-weight: 700;
  color: #3f3937;
  padding-left: 26px;
  line-height: 1.6;
}

.work-single__point-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #f7dfe4;
  box-shadow: inset 0 0 0 4px #ef9aaa;
}

.work-single__point-desc {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.85;
  color: #6b6461;
}

/* TEAM */
.work-single__team {
  margin-top: 34px;
}

.work-single__team-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
}

/* =========================================================
   OTHER WORKS / VIEW ALL
   ========================================================= */
.work-single__section--other {
  margin-top: 20px;
  padding-top: 40px;
  border-top: 1px solid #efd4d9;
}

.work-single__heading--other {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 34px;
}

.work-single__actions {
  display: flex;
  justify-content: center;
  margin-top: 44px;
}

.work-single__viewall {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 15px 34px;
  background: #ef7d8e;
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-family: "Josefin Sans", "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  box-shadow: 0 10px 22px rgba(239, 125, 142, 0.28);
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.work-single__viewall:hover,
.work-single__viewall:focus-visible {
  background: #e96b7e;
  transform: translateY(-2px);
}

.work-single__viewall .work-single__arrow {
  position: relative;
  width: 26px;
  height: 8px;
  transition: transform 0.3s ease;
}

.work-single__viewall .work-single__arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 8px;
  height: 8px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: translateY(-50%) rotate(45deg);
}

.work-single__viewall .work-single__arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 24px;
  height: 2px;
  background: #fff;
  transform: translateY(-50%);
}

.work-single__viewall:hover .work-single__arrow {
  transform: translateX(5px);
}

/* =========================================================
   制作サイトURLコピーカード（シングル内・既存JSと連携）
   ========================================================= */
.work-single .works-single__url-card {
  margin-top: 24px;
  background: #fff;
  border: 1px solid #efd4d9;
  border-radius: 14px;
  padding: 18px 20px;
}

.work-single .works-single__url-kicker {
  font-family: "Josefin Sans", "Noto Sans JP", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #b78f95;
  margin-bottom: 2px;
}

.work-single .works-single__url-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
}

.work-single .works-single__url-copy {
  display: flex;
  gap: 10px;
  align-items: stretch;
  flex-wrap: wrap;
}

.work-single .works-single__url-text {
	flex: 1;
    min-width: 0;
/*     display: block; */
    padding: 10px 12px;
    background: #fbf3f4;
    border: 1px dashed #efb8c0;
    border-radius: 8px;
    font-size: 16px;
    color: #757474;
    word-break: break-all;
}

.work-single .works-single__copy-button {
  flex-shrink: 0;
  padding: 0 18px;
  background: #ef7d8e;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.work-single .works-single__copy-button:hover,
.work-single .works-single__copy-button.is-copied {
  background: #e96b7e;
}

/* .work-single .works-single__url-note {
  margin-top: 10px;
  font-size: 11px;
  line-height: 1.7;
  color: #9a8f8b;
} */

/* .work-single .works-single__copy-status {
  margin-top: 6px;
  font-size: 12px;
  color: #ef7d8e;
  min-height: 1em;
} */

/* =========================================================
   レスポンシブ
   ========================================================= */
@media (max-width: 900px) {
  .works-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }

  .work-single__grid--project,
  .work-single__grid--2col {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

  .work-single__visual--sub {
    width: 48%;
  }
}

@media (max-width: 600px) {
  .works-archive,
  .work-single {
    /* モバイルでも縮小した固定ヘッダー（約88px）を避ける */
    padding: 108px 0 72px;
  }

  .works-archive__inner,
  .work-single__inner {
    padding-inline: 18px;
  }

  .works-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .work-single__heading {
    gap: 14px;
    margin-bottom: 26px;
  }

  .work-single__data-grid,
  .work-single__info {
    grid-template-columns: 1fr;
  }

  .work-single__grid--2col:has(> .work-single__col:only-child) .work-single__measures {
    grid-template-columns: 1fr;
  }

  .work-single__visual--sub {
    width: 60%;
  }

  .work-single__viewall {
    width: 100%;
    justify-content: center;
  }
}
