/* ============================================================
   TOPLUS - 下層ページ共通スタイル
============================================================ */

/* ============================================================
   COMPANY PAGE
============================================================ */

/* Message セクション (代表挨拶) */
.p-c-message {
  padding: 140px 0;
  background: var(--paper);
}
.p-c-message__grid {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 96px;
  align-items: start;
}
.p-c-message__visual {
  position: relative;
  aspect-ratio: 3 / 4;
}
.p-c-message__visual-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(135deg, rgba(232,80,26,0.05) 0%, rgba(4,30,77,0.1) 100%),
    var(--cream-deep);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 48px;
  border: 1px dashed var(--line);
  z-index: 1;
}
.p-c-message__visual-placeholder-icon {
  width: 80px; height: 80px;
  border: 2px solid var(--orange);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  color: var(--orange);
}
.p-c-message__visual-placeholder-icon svg { width: 40px; height: 40px; }
.p-c-message__visual-placeholder-label {
  font-family: 'Cormorant Garamond', serif;
  font-style: normal;
  font-size: 0.95rem;
  color: var(--orange);
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}
.p-c-message__visual-placeholder-text {
  font-size: 0.78rem;
  color: var(--text-mute);
  line-height: 1.8;
}
.p-c-message__visual-frame {
  position: absolute;
  bottom: -24px; right: -24px;
  width: 70%; height: 70%;
  border: 6px solid var(--orange);
  z-index: 0;
}
.p-c-message__visual-name {
  position: absolute;
  bottom: 24px; left: 24px;
  z-index: 2;
  background: var(--ink);
  color: #fff;
  padding: 16px 24px;
}
.p-c-message__visual-name-position {
  font-family: 'Cormorant Garamond', serif;
  font-style: normal;
  font-size: 0.85rem;
  color: var(--orange);
  letter-spacing: 0.12em;
  margin-bottom: 2px;
}
.p-c-message__visual-name-jp {
  font-family: 'Noto Serif JP', serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.16em;
}
.p-c-message__visual-name-jp strong {
  font-size: 1.15rem;
  margin-left: 8px;
  letter-spacing: 0.2em;
}
.p-c-message__label {
  font-family: 'Cormorant Garamond', serif;
  font-style: normal;
  font-size: 1.25rem;
  color: var(--orange);
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}
.p-c-message__title {
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  font-size: clamp(1.7rem, 2.8vw, 2.3rem);
  line-height: 1.9;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin-bottom: 44px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
  word-break: keep-all;
}
.p-c-message__title > span { display: block; }
.p-c-message__text {
  font-size: 0.96rem;
  line-height: 2.3;
  color: var(--text);
  margin-bottom: 24px;
}
.p-c-message__signature {
  margin-top: 40px;
  text-align: right;
  font-family: 'Noto Serif JP', serif;
  font-size: 0.95rem;
  color: var(--ink);
  letter-spacing: 0.1em;
}
.p-c-message__signature strong {
  font-size: 1.2rem;
  margin-left: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
}


/* Philosophy (理念) */
.p-c-philosophy {
  padding: 140px 0;
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.p-c-philosophy__bg-kanji {
  position: absolute;
  font-family: 'Noto Serif JP', serif;
  font-weight: 900;
  font-size: 28rem;
  color: rgba(255, 255, 255, 0.03);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.p-c-philosophy__bg-kanji--1 { top: 8%;   left: -3%; }
.p-c-philosophy__bg-kanji--2 { top: 38%;  right: -3%; }
.p-c-philosophy__bg-kanji--3 { bottom: 8%; left: 30%; }
.p-c-philosophy .l-container { position: relative; z-index: 1; }

.p-c-philosophy__main {
  text-align: center;
  margin-bottom: 96px;
}
.p-c-philosophy__catch {
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  letter-spacing: 0.14em;
  color: #fff;
  margin-bottom: 40px;
  line-height: 2;
  word-break: keep-all;
}
.p-c-philosophy__catch > span { display: block; }
.p-c-philosophy__catch em {
  font-style: normal;
  color: var(--orange);
}
.p-c-philosophy__main-text {
  font-size: 1rem;
  line-height: 2.3;
  color: rgba(255, 255, 255, 0.85);
  max-width: 720px;
  margin: 0 auto;
  font-weight: 300;
}
.p-c-philosophy__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.p-c-philosophy__item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 48px 36px;
  transition: background 0.4s, border 0.4s;
}
.p-c-philosophy__item:hover {
  background: rgba(232, 80, 26, 0.1);
  border-color: var(--orange);
}
.p-c-philosophy__item-num {
  font-family: 'Cormorant Garamond', serif;
  font-style: normal;
  font-size: 2.2rem;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 24px;
}
.p-c-philosophy__item-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.p-c-philosophy__item-text {
  font-size: 0.9rem;
  line-height: 2.1;
  color: rgba(255,255,255,0.78);
  font-weight: 300;
}


/* Logo Story */
.p-c-logo-story {
  position: relative;
  padding: 140px 0;
  background: var(--cream);
  overflow: hidden;
}
/* 背景に巨大な英字ロゴタイプ（うっすら） */
.p-c-logo-story__bg-en {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Cormorant Garamond', serif;
  font-style: normal;
  font-weight: 600;
  font-size: clamp(8rem, 22vw, 22rem);
  line-height: 1;
  color: rgba(11, 58, 140, 0.04);
  letter-spacing: 0.04em;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.p-c-logo-story .l-container { position: relative; z-index: 1; }

/* 見出し（中央寄せ） */
.p-c-logo-story__head {
  text-align: center;
  margin-bottom: 56px;
}
.p-c-logo-story__label {
  font-family: 'Cormorant Garamond', serif;
  font-style: normal;
  font-size: 1.15rem;
  color: var(--orange);
  letter-spacing: 0.16em;
  margin-bottom: 14px;
}
.p-c-logo-story__title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.12em;
}

/* 動画ステージ（大きく・主役） */
.p-c-logo-story__stage {
  max-width: 880px;
  margin: 0 auto 56px;
  position: relative;
}
/* 動画の外周にグロー＆枠 */
.p-c-logo-story__stage::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, rgba(232,80,26,0.35), rgba(11,58,140,0.35));
  border-radius: 10px;
  z-index: 0;
  filter: blur(2px);
}
.p-c-logo-story__video {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(11, 58, 140, 0.18);
}
.p-c-logo-story__video img { width: 100%; height: auto; }

/* キャプション（中央寄せ） */
.p-c-logo-story__caption {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.p-c-logo-story__text {
  font-size: 1rem;
  line-height: 2.2;
  color: var(--text);
  margin-bottom: 28px;
}
.p-c-logo-story__text strong {
  color: var(--orange); font-weight: 700;
}
.p-c-logo-story__formula {
  display: flex; align-items: center; justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.p-c-logo-story__formula-chip {
  display: inline-flex; align-items: center;
  padding: 14px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-family: 'Noto Serif JP', serif;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.06em;
  box-shadow: 0 4px 16px rgba(11,58,140,0.06);
}
.p-c-logo-story__formula-chip--accent {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.p-c-logo-story__formula-op {
  font-family: 'Cormorant Garamond', serif;
  font-style: normal;
  font-size: 1.6rem;
  color: var(--orange);
  font-weight: 600;
}


/* Profile (会社概要テーブル) */
.p-c-profile {
  padding: 140px 0;
  background: var(--paper);
}
.p-c-profile__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
}
.p-c-profile__table th,
.p-c-profile__table td {
  padding: 28px 24px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  line-height: 2;
}
.p-c-profile__table tr:first-child th,
.p-c-profile__table tr:first-child td {
  border-top: 1px solid var(--ink);
}
.p-c-profile__table th {
  width: 220px;
  background: var(--cream);
  font-weight: 600;
  font-family: 'Noto Serif JP', serif;
  color: var(--ink);
  letter-spacing: 0.1em;
  position: relative;
}
.p-c-profile__table th::after {
  content: '';
  position: absolute;
  left: 24px; top: 36px;
  width: 8px; height: 8px;
  background: var(--orange);
  border-radius: 50%;
}
.p-c-profile__table th {
  padding-left: 48px;
}
.p-c-profile__table td {
  color: var(--text);
}
.p-c-profile__sublist {
  list-style: none;
  padding: 0;
}
.p-c-profile__sublist li {
  position: relative;
  padding-left: 16px;
  line-height: 2.2;
}
.p-c-profile__sublist li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.95em;
  width: 6px; height: 1px;
  background: var(--orange);
}
.p-c-profile__tag {
  display: inline-block;
  margin-left: 12px;
  padding: 2px 10px;
  background: var(--orange);
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  border-radius: 2px;
}


/* Factory (拠点情報) - 大型表示 */
.p-c-factories {
  padding: 140px 0;
  background: var(--cream);
}
.p-c-factories__list {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.p-c-factories__item {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  background: var(--paper);
  overflow: hidden;
}
.p-c-factories__item:nth-child(2n) {
  grid-template-columns: 1fr 1.2fr;
}
.p-c-factories__item:nth-child(2n) .p-c-factories__visual { order: 2; }
.p-c-factories__item:nth-child(2n) .p-c-factories__body { order: 1; }

.p-c-factories__visual {
  position: relative;
  min-height: 360px;
  overflow: hidden;
}
.p-c-factories__visual img {
  width: 100%; height: 100%; object-fit: cover;
}
.p-c-factories__visual-num {
  position: absolute;
  top: 32px; left: 32px;
  z-index: 2;
  font-family: 'Cormorant Garamond', serif;
  font-style: normal;
  font-size: 2.4rem;
  color: #fff;
  line-height: 1;
  text-shadow: 0 2px 16px rgba(0,0,0,0.5);
}

.p-c-factories__body {
  padding: 64px 56px;
  display: flex; flex-direction: column; justify-content: center;
}
.p-c-factories__en {
  font-family: 'Cormorant Garamond', serif;
  font-style: normal;
  font-size: 1rem;
  color: var(--orange);
  letter-spacing: 0.14em;
  margin-bottom: 8px;
}
.p-c-factories__name {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.1em;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.p-c-factories__info {
  display: grid; grid-template-columns: 80px 1fr;
  gap: 12px 24px;
  font-size: 0.88rem;
  line-height: 1.9;
}
.p-c-factories__info dt {
  font-family: 'Noto Serif JP', serif;
  font-weight: 600;
  color: var(--orange);
  letter-spacing: 0.1em;
}
.p-c-factories__info dd { color: var(--text); }


/* ============================================================
   SERVICE PAGE
============================================================ */
.p-s-intro {
  padding: 140px 0;
  background: var(--paper);
  text-align: center;
}
.p-s-intro__catch {
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  line-height: 2;
  letter-spacing: 0.12em;
  color: var(--ink);
  margin-bottom: 32px;
  word-break: keep-all;
}
.p-s-intro__text {
  max-width: 720px;
  margin: 0 auto;
  font-size: 0.98rem;
  line-height: 2.3;
  color: var(--text);
}

.p-s-detail {
  padding: 0;
  background: var(--paper);
}
.p-s-detail__item {
  padding: 140px 0;
  position: relative;
}
.p-s-detail__item:nth-child(2n) {
  background: var(--cream);
}
.p-s-detail__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.p-s-detail__item:nth-child(2n) .p-s-detail__inner {
  grid-template-columns: 1fr 1fr;
}
.p-s-detail__item:nth-child(2n) .p-s-detail__visual { order: 2; }
.p-s-detail__item:nth-child(2n) .p-s-detail__body { order: 1; }

.p-s-detail__visual {
  position: relative;
  aspect-ratio: 5 / 4;
  overflow: hidden;
}
.p-s-detail__visual img {
  width: 100%; height: 100%; object-fit: cover;
}
.p-s-detail__visual-num {
  position: absolute;
  top: 32px; left: 32px;
  z-index: 2;
  font-family: 'Cormorant Garamond', serif;
  font-style: normal;
  font-size: 3rem;
  color: #fff;
  line-height: 1;
  text-shadow: 0 2px 16px rgba(0,0,0,0.4);
}
.p-s-detail__visual-num small {
  display: block;
  font-size: 0.32em;
  letter-spacing: 0.32em;
  color: var(--orange-soft);
  margin-top: 8px;
}

.p-s-detail__label {
  font-family: 'Cormorant Garamond', serif;
  font-style: normal;
  font-size: 1.2rem;
  color: var(--orange);
  letter-spacing: 0.14em;
  margin-bottom: 16px;
}
.p-s-detail__title {
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: 0.08em;
  color: var(--ink);
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
  word-break: keep-all;
  line-height: 1.5;
}
.p-s-detail__text {
  font-size: 0.96rem;
  line-height: 2.3;
  color: var(--text);
  margin-bottom: 24px;
}
.p-s-detail__features {
  margin-top: 36px;
  padding: 32px;
  background: var(--paper);
  border-left: 4px solid var(--orange);
}
.p-s-detail__item:nth-child(2n) .p-s-detail__features {
  background: var(--cream);
}
.p-s-detail__features-title {
  font-family: 'Cormorant Garamond', serif;
  font-style: normal;
  font-size: 1rem;
  color: var(--orange);
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}
.p-s-detail__features-list {
  display: flex; flex-direction: column; gap: 12px;
}
.p-s-detail__features-list li {
  position: relative;
  padding-left: 24px;
  font-size: 0.9rem;
  line-height: 1.85;
  color: var(--text);
}
.p-s-detail__features-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.85em;
  width: 12px; height: 1px;
  background: var(--orange);
}

/* Quality (R-Grade 大判表記) */
.p-s-quality {
  padding: 140px 0;
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.p-s-quality::before {
  content: 'R';
  position: absolute;
  top: 50%; right: -100px;
  transform: translateY(-50%);
  font-family: 'Cormorant Garamond', serif;
  font-style: normal;
  font-weight: 500;
  font-size: 50rem;
  color: rgba(255,255,255,0.03);
  line-height: 0.8;
  pointer-events: none;
  user-select: none;
}
.p-s-quality .l-container { position: relative; z-index: 1; }
.p-s-quality__inner {
  max-width: 720px;
}
.p-s-quality__label {
  font-family: 'Cormorant Garamond', serif;
  font-style: normal;
  font-size: 1.2rem;
  color: var(--orange);
  letter-spacing: 0.14em;
  margin-bottom: 20px;
}
.p-s-quality__title {
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.85;
  letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  word-break: keep-all;
}
.p-s-quality__title > span { display: block; }
.p-s-quality__title em {
  font-style: normal;
  color: var(--orange);
}
.p-s-quality__text {
  font-size: 0.98rem;
  line-height: 2.3;
  color: rgba(255,255,255,0.85);
  margin-bottom: 24px;
  font-weight: 300;
}
.p-s-quality__cert {
  margin-top: 48px;
  padding: 32px 36px;
  background: rgba(255,255,255,0.05);
  border-left: 4px solid var(--orange);
}
.p-s-quality__cert-label {
  font-family: 'Cormorant Garamond', serif;
  font-style: normal;
  font-size: 0.9rem;
  color: var(--orange);
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}
.p-s-quality__cert-name {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.1em;
}


/* ============================================================
   RECRUIT PAGE
============================================================ */
.p-r-intro {
  padding: 140px 0;
  background: var(--paper);
  text-align: center;
}
.p-r-intro__catch {
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  line-height: 1.95;
  letter-spacing: 0.12em;
  color: var(--ink);
  margin-bottom: 40px;
  word-break: keep-all;
}
.p-r-intro__catch > span { display: block; }
.p-r-intro__catch em {
  font-style: normal;
  color: var(--orange);
}
.p-r-intro__text {
  max-width: 760px;
  margin: 0 auto;
  font-size: 0.98rem;
  line-height: 2.3;
  color: var(--text);
}

/* Voices */
.p-r-voices {
  padding: 140px 0;
  background: var(--cream);
}
.p-r-voices__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.p-r-voices__item {
  background: var(--paper);
  display: flex; flex-direction: column;
  transition: transform 0.4s, box-shadow 0.4s;
}
.p-r-voices__item:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(20, 25, 41, 0.08);
}
.p-r-voices__visual {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
}
.p-r-voices__visual img {
  width: 100%; height: 100%; object-fit: cover;
}
.p-r-voices__num {
  position: absolute;
  top: 24px; left: 24px;
  z-index: 2;
  font-family: 'Cormorant Garamond', serif;
  font-style: normal;
  font-size: 2rem;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.p-r-voices__body {
  padding: 32px 28px;
}
.p-r-voices__meta {
  display: flex; gap: 16px;
  font-size: 0.78rem;
  color: var(--text-mute);
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.p-r-voices__role {
  font-family: 'Noto Serif JP', serif;
  font-weight: 600;
  color: var(--orange);
  letter-spacing: 0.08em;
}
.p-r-voices__quote {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.85;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}
.p-r-voices__text {
  font-size: 0.86rem;
  line-height: 2;
  color: var(--text);
}

/* Lifestyle */
.p-r-lifestyle {
  padding: 0;
  background: var(--paper);
}
.p-r-lifestyle__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: center;
}
.p-r-lifestyle__visual {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.p-r-lifestyle__visual img {
  width: 100%; height: 100%; object-fit: cover;
}
.p-r-lifestyle__body {
  padding: 96px;
}
.p-r-lifestyle__label {
  font-family: 'Cormorant Garamond', serif;
  font-style: normal;
  font-size: 1.2rem;
  color: var(--orange);
  letter-spacing: 0.14em;
  margin-bottom: 16px;
}
.p-r-lifestyle__title {
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  line-height: 1.85;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  word-break: keep-all;
}
.p-r-lifestyle__text {
  font-size: 0.95rem;
  line-height: 2.3;
  color: var(--text);
  margin-bottom: 24px;
}

/* Conditions (募集要項) */
.p-r-conditions {
  padding: 140px 0;
  background: var(--cream);
}
.p-r-conditions__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
  background: var(--paper);
}
.p-r-conditions__table th,
.p-r-conditions__table td {
  padding: 28px 32px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  line-height: 2;
}
.p-r-conditions__table tr:first-child th,
.p-r-conditions__table tr:first-child td {
  border-top: 1px solid var(--ink);
}
.p-r-conditions__table th {
  width: 200px;
  font-family: 'Noto Serif JP', serif;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.1em;
  background: var(--cream);
}
.p-r-conditions__table td {
  color: var(--text);
}


/* ============================================================
   NEWS PAGE
============================================================ */
.p-n-list {
  padding: 100px 0 140px;
  background: var(--paper);
}

/* カテゴリーフィルター */
.p-n-filter {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 64px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.p-n-filter a {
  display: inline-block;
  padding: 14px 32px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-mute);
  letter-spacing: 0.12em;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.3s, border-color 0.3s;
}
.p-n-filter a small {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-style: normal;
  font-size: 0.72rem;
  color: var(--orange);
  letter-spacing: 0.1em;
  margin-bottom: 2px;
  font-weight: 400;
}
.p-n-filter a:hover,
.p-n-filter a.is-active {
  color: var(--ink);
  border-bottom-color: var(--orange);
}

.p-n-list__list {}
.p-n-list__item { border-bottom: 1px solid var(--line); }
.p-n-list__item:first-child { border-top: 1px solid var(--ink); }
.p-n-list__link {
  display: grid;
  grid-template-columns: 160px 130px 1fr 40px;
  gap: 32px;
  align-items: center;
  padding: 32px 8px;
  color: var(--ink);
  transition: background 0.3s, padding 0.3s;
}
.p-n-list__link:hover {
  background: var(--cream);
  padding-left: 24px;
  padding-right: 24px;
}
.p-n-list__date {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  color: var(--ink);
  letter-spacing: 0.05em;
}
.p-n-list__category {
  font-size: 0.72rem;
  padding: 5px 14px;
  border: 1px solid var(--ink);
  letter-spacing: 0.16em;
  color: var(--ink);
  width: fit-content;
}
.p-n-list__title {
  font-size: 0.98rem; font-weight: 500;
  color: var(--ink); line-height: 1.8;
}
.p-n-list__arrow {
  text-align: right;
  font-family: 'Cormorant Garamond', serif;
  font-style: normal;
  color: var(--text-mute);
  font-size: 1.2rem;
}

/* ページネーション */
.p-pagination {
  display: flex; justify-content: center; gap: 8px;
  margin-top: 80px;
}
.p-pagination a, .p-pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  font-family: 'Cormorant Garamond', serif;
  font-style: normal;
  font-size: 1rem;
  color: var(--ink);
  border: 1px solid var(--line);
  transition: all 0.3s;
}
.p-pagination a:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.p-pagination .is-current {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}


/* ============================================================
   NEWS DETAIL PAGE
============================================================ */
.p-nd-single {
  padding: 100px 0 140px;
  background: var(--paper);
}
.p-nd-single__article {}
.p-nd-single__header {
  text-align: center;
  margin-bottom: 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}
.p-nd-single__meta {
  display: flex; justify-content: center; gap: 20px;
  margin-bottom: 24px;
}
.p-nd-single__date {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  color: var(--ink);
  letter-spacing: 0.05em;
}
.p-nd-single__category {
  font-size: 0.72rem;
  padding: 5px 14px;
  border: 1px solid var(--ink);
  letter-spacing: 0.16em;
  color: var(--ink);
}
.p-nd-single__title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.08em;
  line-height: 1.7;
  word-break: keep-all;
}
.p-nd-single__body {
  font-size: 0.96rem;
  line-height: 2.3;
  color: var(--text);
}
.p-nd-single__body h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ink);
  margin: 56px 0 24px;
  padding-left: 16px;
  border-left: 4px solid var(--orange);
  letter-spacing: 0.06em;
}
.p-nd-single__body h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin: 36px 0 16px;
  letter-spacing: 0.06em;
}
.p-nd-single__body p {
  margin-bottom: 24px;
}
.p-nd-single__body a {
  color: var(--orange);
  text-decoration: underline;
}
.p-nd-single__body img {
  margin: 32px auto;
  max-width: 100%;
}

.p-nd-nav {
  margin-top: 80px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: center;
}
.p-nd-nav__prev a, .p-nd-nav__next a {
  display: flex; align-items: center; gap: 16px;
  font-size: 0.88rem; color: var(--text-mute);
  transition: color 0.3s;
}
.p-nd-nav__prev a:hover, .p-nd-nav__next a:hover { color: var(--orange); }
.p-nd-nav__next { text-align: right; }
.p-nd-nav__next a { justify-content: flex-end; }
.p-nd-nav__center a {
  display: inline-flex; align-items: center;
  padding: 14px 32px;
  background: var(--ink);
  color: #fff;
  font-family: 'Cormorant Garamond', serif;
  font-style: normal;
  letter-spacing: 0.12em;
  transition: background 0.3s;
}
.p-nd-nav__center a:hover { background: var(--orange); }


/* ============================================================
   404 PAGE
============================================================ */
.p-404 {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 120px 24px;
  background: var(--paper);
  position: relative;
  overflow: hidden;
}
.p-404__bg {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Cormorant Garamond', serif;
  font-style: normal;
  font-size: 40rem;
  color: var(--cream);
  font-weight: 500;
  line-height: 0.8;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.p-404__inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
}
.p-404__code {
  font-family: 'Cormorant Garamond', serif;
  font-style: normal;
  font-weight: 500;
  font-size: clamp(5rem, 12vw, 9rem);
  color: var(--orange);
  line-height: 1;
  margin-bottom: 24px;
}
.p-404__title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.1em;
  margin-bottom: 28px;
}
.p-404__text {
  font-size: 0.95rem;
  line-height: 2.2;
  color: var(--text);
  margin-bottom: 48px;
}


/* ============================================================
   下層ページ用レスポンシブ
============================================================ */
@media (max-width: 1080px) {
  .p-c-message__grid { grid-template-columns: 1fr; gap: 56px; }
  .p-c-philosophy__list { grid-template-columns: 1fr; }
  .p-c-logo-story { padding: 90px 0; }
  .p-c-logo-story__stage { margin-bottom: 40px; }
  .p-c-logo-story__formula-chip { padding: 11px 16px; font-size: 0.9rem; }
  .p-c-factories__item, .p-c-factories__item:nth-child(2n) { grid-template-columns: 1fr; }
  .p-c-factories__item:nth-child(2n) .p-c-factories__visual { order: 1; }
  .p-c-factories__item:nth-child(2n) .p-c-factories__body { order: 2; }
  .p-c-factories__body { padding: 48px 32px; }
  .p-s-detail__inner, .p-s-detail__item:nth-child(2n) .p-s-detail__inner { grid-template-columns: 1fr; }
  .p-s-detail__item:nth-child(2n) .p-s-detail__visual { order: 1; }
  .p-s-detail__item:nth-child(2n) .p-s-detail__body { order: 2; }
  .p-r-voices__list { grid-template-columns: 1fr; }
  .p-r-lifestyle__inner { grid-template-columns: 1fr; }
  .p-r-lifestyle__body { padding: 64px 32px; }
  .p-n-list__link { grid-template-columns: 1fr; gap: 8px; }
}

@media (max-width: 768px) {
  .p-c-message, .p-c-philosophy, .p-c-logo-story,
  .p-c-profile, .p-c-factories, .p-s-intro, .p-s-detail__item,
  .p-s-quality, .p-r-intro, .p-r-voices, .p-r-conditions {
    padding: 80px 0;
  }
  .p-c-profile__table th { width: auto; display: block; padding: 16px 24px; }
  .p-c-profile__table td { display: block; padding: 16px 24px; }
  .p-c-profile__table th::after { display: none; }
  .p-c-profile__table th { padding-left: 24px; }
  .p-r-conditions__table th, .p-r-conditions__table td {
    display: block; padding: 16px 24px;
  }
  .p-r-conditions__table th { width: auto; }
  .p-nd-nav { grid-template-columns: 1fr; gap: 16px; text-align: center; }
  .p-nd-nav__next, .p-nd-nav__next a { justify-content: center; text-align: center; }
}


/* ============================================================
   風林火山 背景 (会社紹介 経営理念)
============================================================ */
.p-c-philosophy__furin {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  max-width: 760px;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  opacity: 0.06;
}
.p-c-philosophy__furin img {
  width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 768px) {
  .p-c-philosophy__furin { width: 110%; max-width: none; opacity: 0.05; }
}


/* ============================================================
   経営理念 額縁 (品質方針)
============================================================ */
.p-c-philosophy__statement {
  position: relative;
  max-width: 820px;
  margin: 0 auto 80px;
  padding: 64px 56px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
}
.p-c-philosophy__statement::before,
.p-c-philosophy__statement::after {
  content: '';
  position: absolute;
  width: 24px; height: 24px;
  border-color: var(--orange);
  border-style: solid;
}
.p-c-philosophy__statement::before {
  top: 16px; left: 16px;
  border-width: 1px 0 0 1px;
}
.p-c-philosophy__statement::after {
  bottom: 16px; right: 16px;
  border-width: 0 1px 1px 0;
}
.p-c-philosophy__statement-mark {
  display: inline-block;
  font-family: 'Noto Serif JP', serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--orange);
  padding: 0 0 24px;
  margin-bottom: 8px;
  position: relative;
}
.p-c-philosophy__statement-mark::after {
  content: '';
  position: absolute;
  bottom: 12px; left: 50%;
  transform: translateX(-50%);
  width: 32px; height: 1px;
  background: rgba(255, 255, 255, 0.3);
}
.p-c-philosophy__statement-text {
  font-family: 'Noto Serif JP', serif;
  font-size: 1rem;
  line-height: 2.4;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 28px;
  letter-spacing: 0.06em;
  font-weight: 400;
}
.p-c-philosophy__statement-text:last-of-type { margin-bottom: 0; }
.p-c-philosophy__statement-sign {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.p-c-philosophy__statement-date {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.1em;
}
.p-c-philosophy__statement-name {
  font-family: 'Noto Serif JP', serif;
  font-size: 0.98rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.12em;
}
@media (max-width: 768px) {
  .p-c-philosophy__statement { padding: 40px 24px; }
  .p-c-philosophy__statement-text { font-size: 0.92rem; line-height: 2.1; }
  .p-c-philosophy__statement-text br { display: none; }
  .p-c-philosophy__statement-sign { align-items: center; text-align: center; }
}


/* ============================================================
   事業キャッチコピー (褒められたコピー)
============================================================ */
.p-s-detail__catch {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.08em;
  color: var(--orange);
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  word-break: keep-all;
}
