/* ============================================================
   SHOUJI PRINT THEME - Editorial Design
   White-base, Swiss Grid, CMYK Accent
   ============================================================ */

/* --- Variables --- */
:root {
  /* Typography - 3 font families */
  --font-display: 'Playfair Display', serif;       /* EN headings, decorative */
  --font-mincho: 'Shippori Mincho', serif;          /* JA headings */
  --font-body: 'Noto Sans JP', sans-serif;          /* Body text */

  /* Type Scale (ratio ~1.33 — Perfect Fourth)
     11 / 13 / 15(base) / 20 / 26 / 34 / 44 / 56 / 72 */
  --text-xs: 11px;
  --text-sm: 13px;
  --text-base: 15px;
  --text-md: clamp(16px, 1.3vw, 20px);
  --text-lg: clamp(20px, 1.8vw, 26px);
  --text-xl: clamp(26px, 2.5vw, 34px);
  --text-2xl: clamp(32px, 3.5vw, 44px);
  --text-3xl: clamp(40px, 5vw, 56px);
  --text-hero: clamp(40px, 6vw, 72px);

  /* Decorative EN (ultra-large, low contrast) */
  --text-deco: clamp(48px, 7vw, 96px);

  /* Colors */
  --color-black: #111;
  --color-white: #fff;
  --color-gray-100: #f7f7f7;
  --color-gray-200: #e8e8e8;
  --color-gray-400: #999;
  --color-gray-600: #555;
  --color-cyan: #00a5bf;
  --color-magenta: #d4145a;
  --color-yellow: #f5c400;

  /* Spacing & Layout */
  --radius: 4px;
  --header-h: 100px;
  --section-py: clamp(64px, 10vw, 120px);
  --container-w: 1120px;
  --container-px: clamp(20px, 5vw, 40px);
}

/* --- Reset --- */
*,*::before,*::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.85;
  color: var(--color-black);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt";
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul,ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* --- Layout --- */
.l-inner,
.l-container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding-left: var(--container-px);
  padding-right: var(--container-px);
}

/* Offset all content below the fixed header so the hero never sits behind it */
.l-main { padding-top: var(--header-h); }

/* ============================================================
   HEADER
   ============================================================ */
.l-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-gray-200);
  transition: background .3s;
}
.l-header__inner {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 var(--container-px);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.l-header__logo {
  display: flex;
  align-items: center;
  height: 100%;
}
.l-header__logo a {
  display: flex; align-items: center; gap: 8px;
}
.l-header__logo-text {
  font-family: var(--font-mincho);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: .08em;
}
.l-header__logo-img {
  height: calc(var(--header-h) * 0.28);
  width: auto;
  object-fit: contain;
}
.l-header__nav {
  display: flex; align-items: center; gap: 32px;
}
.l-header__nav ul {
  display: flex; gap: 28px;
}
.l-header__nav ul a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: capitalize;
  transition: color .2s;
}
.l-header__nav ul a:hover { color: var(--color-cyan); }
.l-header__nav-cta { display: flex; }
.l-header__nav-cta .c-btn--primary {
  background: #cc9900;
}
.l-header__nav-cta .c-btn--primary:hover {
  background: #b38800;
}
.l-header__nav-cta .c-btn--primary::before {
  background: radial-gradient(circle, #b38800 0%, #cc9900 70%);
}

/* Hamburger */
.l-header__hamburger {
  display: none;
  width: 44px; height: 44px;
  position: relative; z-index: 110;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.l-header__hamburger-line {
  display: block;
  width: 24px; height: 2px;
  background: var(--color-black);
  transition: transform .3s, opacity .3s;
}
/* open state */
.l-header__hamburger[aria-expanded="true"] .l-header__hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.l-header__hamburger[aria-expanded="true"] .l-header__hamburger-line:nth-child(2) {
  opacity: 0;
}
.l-header__hamburger[aria-expanded="true"] .l-header__hamburger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* PC: show desktop nav, hide mobile nav */
.l-header__nav--mobile {
  display: none;
}

@media (max-width: 768px) {
  /* Hide desktop nav, show hamburger */
  .l-header__nav--desktop { display: none; }
  .l-header__hamburger { display: flex; z-index: 210; }

  /* Mobile nav overlay (outside header, no stacking context issue) */
  .l-header__nav--mobile {
    display: flex;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
    z-index: 200;
  }
  .l-header__nav--mobile.is-open { opacity: 1; pointer-events: auto; }
  .l-header__nav--mobile ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  .l-header__nav--mobile ul a {
    font-size: 20px;
    font-family: var(--font-body);
    font-weight: 700;
    letter-spacing: .08em;
  }
  .l-header__nav--mobile .l-header__nav-cta {
    margin-top: 8px;
  }
  .l-header__nav--mobile .l-header__nav-cta .c-btn--sm {
    padding: 12px 32px;
    font-size: 15px;
  }
}

/* ============================================================
   FOOTER
   ============================================================ */
.l-footer {
  background: #f2f2f2;
  color: #333333;
  padding: 32px 0;
}
/* Contact CTA absorbed into the footer (shares the footer palette) */
.l-footer__cta {
  text-align: center;
  padding: clamp(40px, 6vw, 72px) var(--container-px) clamp(28px, 4vw, 44px);
  margin-bottom: 32px;
}
.l-footer__cta-inner {
  max-width: var(--container-w);
  margin: 0 auto;
}
.l-footer__cta-headline {
  font-family: var(--font-mincho);
  font-size: var(--text-2xl);
  font-weight: 600;
  letter-spacing: .06em;
  color: #333333;
  margin-bottom: 28px;
}
.l-footer__cta-actions {
  /* 2つのボタンを同じ幅（広い方=お問い合わせボタンの幅）に揃える */
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  width: fit-content;
  margin-inline: auto;
  gap: 16px;
}
.l-footer__cta-actions .c-btn {
  width: 100%;
}
@media (max-width: 768px) {
  .l-footer__cta-actions {
    grid-auto-flow: row;
    /* 電話ボタン（2行）に合わせて2つのボタンを同じ縦幅にする */
    grid-auto-rows: 1fr;
    width: 100%;
    max-width: 320px;
  }
}
.l-footer__cta .c-btn--primary { background: #cc9900; color: #fff; }
.l-footer__cta .c-btn--primary:hover { background: #b38800; }
.l-footer__cta .c-btn--primary::before { background: radial-gradient(circle, #b38800 0%, #cc9900 70%); }
.l-footer__cta .c-btn--tel {
  background: #14296b;
  border-color: #14296b;
  color: #ffffff;
}
.l-footer__cta .c-btn--tel:hover,
.l-footer__cta .c-btn--tel:focus-visible {
  background: #253f89;
  border-color: #253f89;
  color: #ffffff;
}
.l-footer__cta .c-btn__tel-number {
  font-family: var(--font-body);
  font-weight: 700;
}
.l-footer__cta-hours {
  font-size: 13px;
  color: #555555;
  margin-top: 20px;
}

/* Footer main: full-width photo band with the company info overlaid on top */
.l-footer__main {
  position: relative;
  width: 100%;
  /* keep roughly the previous rendered height */
  height: clamp(280px, 32vw, 380px);
  margin-bottom: 36px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: clamp(20px, 5vw, 72px);
}
.l-footer__photo {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  /* left-anchored, 60% of the section width */
  width: 60%;
  z-index: 0;
}
.l-footer__photo img {
  width: 100%;
  height: 100%;
  /* fit the width; top/bottom are cropped */
  object-fit: cover;
  object-position: center;
  display: block;
}
.l-footer__info {
  position: relative;
  z-index: 1;
  text-align: center;
  /* opaque panel matching the footer background */
  background: #f2f2f2;
  padding: clamp(20px, 3vw, 32px) clamp(24px, 4vw, 48px);
  border-radius: 4px;
  max-width: min(92%, 520px);
}
.l-footer__info .l-footer__social {
  justify-content: center;
  margin-top: 20px;
}
/* Footer menu: horizontal, bottom */
.l-footer__menu ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  margin-bottom: 24px;
}
.l-footer__menu a {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  color: #333333;
  letter-spacing: .04em;
  transition: color .2s;
}
.l-footer__menu a:hover { color: #000000; }

@media (max-width: 768px) {
  /* SP: 上から フッター画像 → 会社情報ボックス → メニュー の縦並び（重ねない） */
  .l-footer__main {
    display: block;
    position: static;
    height: auto;
    overflow: visible;
    padding-right: 0;
    margin-bottom: 28px;
  }
  .l-footer__photo {
    position: static;
    width: 100%;
    height: clamp(180px, 48vw, 260px);
  }
  .l-footer__info {
    max-width: 100%;
    margin-top: 20px;
    background: transparent;
    padding: 0;
  }
}
.l-footer__inner {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 var(--container-px);
}
.l-footer__content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.l-footer__company {
  font-family: var(--font-mincho);
  font-size: var(--text-md);
  font-weight: 600;
  letter-spacing: .06em;
  margin-bottom: 12px;
}
.l-footer__address, .l-footer__tel, .l-footer__fax {
  font-size: 13px;
  color: #333333;
  line-height: 1.6;
}
.l-footer__tel a { color: #333333; }
.l-footer__tel a:hover { color: #000000; }
.l-footer__title {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .15em;
  margin-bottom: 16px;
}
.l-footer__nav ul { display: flex; flex-direction: column; gap: 8px; }
.l-footer__nav a {
  font-size: 13px;
  color: #333333;
  transition: color .2s;
}
.l-footer__nav a:hover { color: #000000; }
.l-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.l-footer__bottom {
  border-top: 1px solid rgba(0,0,0,.12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #333333;
}
.l-footer__bottom a { color: #333333; transition: color .2s; }
.l-footer__bottom a:hover { color: #000000; }

@media (max-width: 768px) {
  .l-footer__content { grid-template-columns: 1fr; gap: 32px; }
}

/* Fixed CTA (mobile only) */
.l-fixed-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 90;
  background: var(--color-white);
  border-top: 1px solid var(--color-gray-200);
  box-shadow: 0 -2px 8px rgba(0,0,0,.06);
}
.l-fixed-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px;
  font-size: 13px;
  font-weight: 700;
}
.l-fixed-cta__phone {
  /* PC表示のフッター電話ボタンと同じ藍色 */
  background: #14296b;
  color: var(--color-white);
}
.l-fixed-cta__contact {
  background: #cc9900;
  color: var(--color-white);
}

@media (max-width: 768px) {
  .l-fixed-cta { display: grid; grid-template-columns: 1fr 1fr; }
  .l-footer { padding-bottom: 80px; }
}

/* ============================================================
   COMPONENTS
   ============================================================ */

/* --- Buttons --- */
.c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  border-radius: var(--radius);
  transition: background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.c-btn--primary {
  background: var(--color-cyan);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
  z-index: 0;
}
.c-btn--primary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, #0093a8 0%, var(--color-cyan) 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width .5s ease, height .5s ease;
  z-index: -1;
}
.c-btn--primary:hover::before {
  width: 300px;
  height: 300px;
}
.c-btn--primary:hover { background: #0093a8; }
.c-btn--outline {
  border: 1.5px solid var(--color-black);
  color: var(--color-black);
  background: transparent;
}
.c-btn--outline:hover {
  background: var(--color-black);
  color: var(--color-white);
}
.c-btn--tel {
  border: 1.5px solid var(--color-black);
  color: var(--color-black);
  flex-direction: column;
  gap: 2px;
}
.c-btn__tel-label { font-size: var(--text-xs); font-weight: 500; }
.c-btn__tel-number { font-size: var(--text-md); font-family: var(--font-display); font-weight: 400; letter-spacing: .06em; }
.c-btn--sm { padding: 8px 20px; font-size: 13px; }
.c-btn--lg { padding: 16px 36px; font-size: 15px; }

/* --- Section Header --- */
.c-section-header { text-align: center; margin-bottom: 56px; }
.c-section-header__en {
  font-family: var(--font-display);
  font-size: var(--text-deco);
  font-weight: 400;
  font-style: italic;
  letter-spacing: .04em;
  color: var(--color-gray-200);
  line-height: 1;
  text-shadow:
    -10px 5px 0 rgba(0, 165, 191, .12),
    8px -4px 0 rgba(212, 20, 90, .09),
    -5px 8px 0 rgba(245, 196, 0, .07);
  transition: text-shadow 1s ease-out;
}
.c-section-header__en.is-registered {
  text-shadow:
    -2px 1px 0 rgba(0, 165, 191, .06),
    1.5px -1px 0 rgba(212, 20, 90, .04),
    -1px 1.5px 0 rgba(245, 196, 0, .03);
}
.c-section-header__ja {
  font-family: var(--font-mincho);
  font-size: var(--text-lg);
  font-weight: 600;
  letter-spacing: .1em;
  margin-top: 8px;
  text-shadow:
    -8px 4px 0 rgba(0, 165, 191, .4),
    6px -3px 0 rgba(212, 20, 90, .3),
    -4px 6px 0 rgba(245, 196, 0, .25);
  transition: text-shadow 1s ease-out;
}
.c-section-header__ja.is-registered {
  text-shadow:
    -1.5px 0.8px 0 rgba(0, 165, 191, .15),
    1px -0.8px 0 rgba(212, 20, 90, .12),
    -0.8px 1px 0 rgba(245, 196, 0, .08);
}
.c-section-header__lead {
  font-size: var(--text-sm);
  color: var(--color-gray-600);
  margin-top: 16px;
  letter-spacing: .02em;
}

/* --- Page Header (sub pages) --- */
.c-page-header {
  padding: clamp(56px, 10vw, 120px) 0 clamp(36px, 6vw, 64px);
  background: var(--color-gray-100);
  text-align: center;
}
.c-page-header__en {
  font-family: var(--font-display);
  font-size: var(--text-deco);
  font-weight: 400;
  font-style: italic;
  color: var(--color-gray-200);
  letter-spacing: .04em;
  line-height: 1;
}
.c-page-header__title {
  font-family: var(--font-mincho);
  font-size: var(--text-xl);
  font-weight: 600;
  letter-spacing: .08em;
  margin-top: 8px;
}

/* --- Labels --- */
.c-label {
  display: inline-block;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  border: none;
  border-radius: 2px;
  color: #fff;
  background: #aab4be;
}
/* カテゴリ別カラー（パステル調 + 白文字） */
.c-label--company-info,
.c-label--kaisha-jouhou { background: #7ab0d6; }
.c-label--printing,
.c-label--insatsu-gyoumu { background: #e8a0b4; }
.c-label--csr,
.c-label--csr-katsudou  { background: #8cc4a8; }

/* --- Service Card --- */
.c-service-card {
  padding: 28px 24px;
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, transform .2s;
}
.c-service-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
  transform: translateY(-2px);
}
.c-service-card__icon {
  width: 40px; height: 40px;
  color: var(--color-cyan);
  margin-bottom: 16px;
}
.c-service-card__icon svg { width: 100%; height: 100%; }
.c-service-card__title {
  font-family: var(--font-mincho);
  font-size: var(--text-md);
  font-weight: 600;
  letter-spacing: .04em;
  margin-bottom: 8px;
  transition: text-shadow .3s ease;
}
.c-service-card:hover .c-service-card__title {
  text-shadow:
    -2px 1px 0 rgba(0, 165, 191, .2),
    1.5px -1px 0 rgba(212, 20, 90, .15),
    -1px 1.5px 0 rgba(245, 196, 0, .12);
}
.c-service-card__desc {
  font-size: 13px;
  color: var(--color-gray-600);
  line-height: 1.7;
  flex: 1;
}
.c-service-card__link {
  display: inline-block;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-cyan);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  transition: color .2s;
}
.c-service-card__link:hover { color: #0093a8; }

/* --- Work Card --- */
.c-work-card {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-gray-200);
  transition: box-shadow .2s, transform .2s;
  height: 100%;
}
a.c-work-card:hover,
.c-work-card-wrap:hover .c-work-card {
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
  transform: translateY(-2px);
}
.c-work-card__thumb {
  aspect-ratio: 4/3;
  background: var(--color-gray-100);
  overflow: hidden;
}
.c-work-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.c-work-card__no-img {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); color: var(--color-gray-400);
  font-size: 14px; letter-spacing: .1em;
}
.c-work-card__body { padding: 16px 20px 20px; }
.c-work-card__cat {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--color-cyan);
  margin-bottom: 6px;
}
.c-work-card__title {
  font-family: var(--font-mincho);
  font-size: var(--text-base);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .02em;
  margin-bottom: 6px;
}
.c-work-card__excerpt {
  font-size: 13px;
  color: var(--color-gray-600);
  line-height: 1.6;
}

/* --- Archive Card --- */
.c-archive-card { border-radius: var(--radius); overflow: hidden; }
.c-archive-card__link {
  display: block;
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
.c-archive-card__link:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
  transform: translateY(-2px);
}
.c-archive-card__thumb {
  aspect-ratio: 3/2;
  background: var(--color-gray-100);
  overflow: hidden;
}
.c-archive-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.c-archive-card__no-img {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); color: var(--color-gray-400);
  font-size: 13px;
}
.c-archive-card__body { padding: 16px 20px 20px; }
.c-archive-card__body time {
  font-size: var(--text-xs); color: var(--color-gray-400);
  font-family: var(--font-display); letter-spacing: .06em;
}
.c-archive-card__body .c-label { margin-left: 8px; }
.c-archive-card__title {
  font-family: var(--font-mincho);
  font-size: var(--text-base); font-weight: 600;
  margin-top: 8px; line-height: 1.5;
  letter-spacing: .02em;
}
.c-archive-card__excerpt {
  font-size: 13px; color: var(--color-gray-600);
  margin-top: 6px; line-height: 1.6;
}

/* --- Topic Card --- */
.c-topic-card {
  display: block;
  position: relative;
  border-radius: 0;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  transition: box-shadow .3s, transform .3s;
}
a.c-topic-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
  transform: translateY(-3px);
}

/* CMYK accent line per card */
.c-topic-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--accent, var(--color-cyan));
  transition: width .4s cubic-bezier(.4,0,.2,1);
  z-index: 3;
}
a.c-topic-card:hover::after { width: 100%; }

.p-topics__item:nth-child(6n+1) .c-topic-card { --accent: var(--color-cyan); }
.p-topics__item:nth-child(6n+2) .c-topic-card { --accent: var(--color-magenta); }
.p-topics__item:nth-child(6n+3) .c-topic-card { --accent: var(--color-yellow); }
.p-topics__item:nth-child(6n+4) .c-topic-card { --accent: var(--color-cyan); }
.p-topics__item:nth-child(6n+5) .c-topic-card { --accent: var(--color-magenta); }
.p-topics__item:nth-child(6n+6) .c-topic-card { --accent: var(--color-yellow); }

.c-topic-card__thumb {
  aspect-ratio: 1;
  background: var(--color-gray-100);
  overflow: hidden;
  position: relative;
}
.c-topic-card__thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s cubic-bezier(.25,.46,.45,.94);
}
@media (hover: hover) {
  a.c-topic-card:hover .c-topic-card__thumb img {
    transform: scale(1.06);
  }
}

/* Gradient overlay on hover */
.c-topic-card__thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17,17,17,.72) 0%, rgba(17,17,17,0) 55%);
  opacity: 0;
  transition: opacity .35s ease;
  z-index: 1;
}
@media (hover: hover) {
  a.c-topic-card:hover .c-topic-card__thumb::after { opacity: 1; }
}

/* IG icon */
.c-topic-card__ig-icon {
  position: absolute;
  top: 10px; right: 10px;
  width: 32px; height: 32px;
  background: rgba(0,0,0,.45);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  opacity: 0;
  transition: opacity .2s;
  z-index: 2;
}
@media (hover: hover) {
  a.c-topic-card:hover .c-topic-card__ig-icon { opacity: 1; }
}

/* Caption overlay (shown on hover, replaces bottom text) */
.c-topic-card__overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 16px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .35s ease, transform .35s ease;
  pointer-events: none;
  z-index: 2;
}
.c-topic-card__overlay p {
  color: #fff;
  font-size: var(--text-sm);
  line-height: 1.55;
  text-shadow: 0 1px 3px rgba(0,0,0,.5);
}
@media (hover: hover) {
  a.c-topic-card:hover .c-topic-card__overlay {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Body text (visible by default, hidden on hover on desktop) */
.c-topic-card__body { padding: 12px 16px 16px; }
.c-topic-card__date {
  font-size: var(--text-xs); color: var(--color-gray-400);
  font-family: var(--font-display); letter-spacing: .06em;
}
.c-topic-card__caption {
  font-size: var(--text-base); line-height: 1.75;
  margin-top: 4px;
}

/* ============================================================
   HERO — see HERO REBUILD block at end of file
   ============================================================ */

/* ── Print-inspired: Halftone dot pattern (網点) ── */
.has-halftone {
  position: relative;
}
.has-halftone::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(0,165,191,.06) 1px, transparent 1px);
  background-size: 8px 8px;
  pointer-events: none;
  z-index: 0;
}

/* ── Print-inspired: CMYK Color Bar (刷り継ぎライン) ── */
.has-cmyk-bar {
  position: relative;
}
.has-cmyk-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: var(--container-px);
  right: var(--container-px);
  height: 3px;
  background: linear-gradient(
    to right,
    var(--color-cyan) 0%, var(--color-cyan) 25%,
    var(--color-magenta) 25%, var(--color-magenta) 50%,
    var(--color-yellow) 50%, var(--color-yellow) 75%,
    var(--color-black) 75%, var(--color-black) 100%
  );
  opacity: .18;
  z-index: 1;
  pointer-events: none;
}

/* ── Print-inspired: Section trim marks (セクション四隅) ── */
.has-trim-corners {
  position: relative;
}
.has-trim-corners > .l-inner {
  position: relative;
}
.has-trim-corners > .l-inner::before,
.has-trim-corners > .l-inner::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  pointer-events: none;
  z-index: 1;
  top: 0;
}
.has-trim-corners > .l-inner::before {
  left: 0;
  border-top: 1px solid rgba(0,165,191,.2);
  border-left: 1px solid rgba(0,165,191,.2);
}
.has-trim-corners > .l-inner::after {
  right: 0;
  border-top: 1px solid rgba(0,165,191,.2);
  border-right: 1px solid rgba(0,165,191,.2);
}

/* ============================================================
   TRUST STRIP
   ============================================================ */
.p-trust {
  background:
    repeating-linear-gradient(
      to bottom,
      transparent,
      transparent 27px,
      rgba(0,0,0,.04) 27px,
      rgba(0,0,0,.04) 28px
    ),
    var(--color-gray-100);
  padding: 40px 0;
}
.p-trust__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.p-trust__item {
  border-top: 3px solid var(--color-gray-200);
  padding-top: 16px;
  transition: border-color .3s;
}
.p-trust__item:nth-child(1) { border-top-color: var(--color-cyan); }
.p-trust__item:nth-child(2) { border-top-color: var(--color-magenta); }
.p-trust__item:nth-child(3) { border-top-color: var(--color-yellow); }
.p-trust__item:nth-child(4) { border-top-color: var(--color-black); }
.p-trust__label {
  display: block;
  font-family: var(--font-mincho);
  font-size: var(--text-base);
  font-weight: 600;
  letter-spacing: .04em;
  margin-bottom: 4px;
}
.p-trust__desc {
  font-size: 12px;
  color: var(--color-gray-600);
}

@media (max-width: 768px) {
  .p-trust__list { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   SERVICES
   ============================================================ */
.p-services {
  padding: var(--section-py) 0;
  background-image:
    linear-gradient(to right, rgba(26,26,46,.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(26,26,46,.04) 1px, transparent 1px);
  background-size: 28px 28px;
}
.p-services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.p-services__footer {
  text-align: center;
  margin-top: 40px;
}

@media (max-width: 768px) {
  .p-services__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   ABOUT US  (replaces former STRENGTHS block — 2026-04-21)
   The anchor id="strengths" is preserved in markup for front-page.php.
   ============================================================ */
.p-about-us {
  padding: var(--section-py) 0;
  background: var(--color-gray-100);
}
.p-about-us__body {
  max-width: 760px;
  margin: clamp(32px, 5vw, 56px) auto 0;
  text-align: center;
}
.p-about-us__block + .p-about-us__divider { margin-top: 40px; }
.p-about-us__divider + .p-about-us__block  { margin-top: 40px; }

.p-about-us__text {
  font-family: var(--font-mincho);
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 2.1;
  letter-spacing: .06em;
  color: var(--color-gray-800, #333);
}

.p-about-us__divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: rgba(0, 165, 191, .55);
  font-size: 12px;
  line-height: 1;
}
.p-about-us__divider::before,
.p-about-us__divider::after {
  content: "";
  width: clamp(48px, 10vw, 100px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,165,191,.35), transparent);
}
.p-about-us__divider-mark {
  font-size: 10px;
  letter-spacing: 0;
}

.p-about-us__emphasis {
  display: inline-block;
  margin-top: 10px;
  font-weight: 600;
  color: var(--color-cyan, #00a5bf);
  letter-spacing: .14em;
}

@media (max-width: 768px) {
  .p-about-us__body { padding: 0 4px; }
  .p-about-us__text {
    font-size: 14px;
    line-height: 2;
    letter-spacing: .04em;
    text-align: left;
  }
  .p-about-us__block + .p-about-us__divider,
  .p-about-us__divider + .p-about-us__block { margin-top: 28px; }
  .p-about-us__divider::before,
  .p-about-us__divider::after { width: 40px; }
}

/* ============================================================
   WORKS
   ============================================================ */
.p-works {
  padding: var(--section-py) 0;
  background-image:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 17px,
      rgba(0,165,191,.05) 17px,
      rgba(0,165,191,.05) 18px
    );
}
.p-works__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.p-works__footer {
  text-align: center;
  margin-top: 40px;
}

@media (max-width: 768px) {
  .p-works__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .p-works__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   SPECIAL PRINTING
   ============================================================ */
.p-special {
  padding: var(--section-py) 0;
  background: var(--color-gray-100);
}
.p-special__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.p-special__feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 28px;
}
.p-special__feature-letter {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  font-style: italic;
  color: var(--color-cyan);
  line-height: 1;
  flex-shrink: 0;
  min-width: 40px;
}
.p-special__feature-title {
  font-family: var(--font-mincho);
  font-size: var(--text-md);
  font-weight: 600;
  letter-spacing: .04em;
  margin-bottom: 6px;
}
.p-special__feature-desc {
  font-size: 13px;
  color: var(--color-gray-600);
  line-height: 1.7;
}
.p-special__diff {
  font-size: 14px;
  color: var(--color-gray-600);
  line-height: 1.8;
  padding: 20px;
  background: var(--color-white);
  border-radius: var(--radius);
  margin-bottom: 24px;
}
.p-special__cta { margin-top: 8px; }
.p-special__visual { border-radius: var(--radius); overflow: hidden; }
.p-special__placeholder {
  aspect-ratio: 4/3;
  background: var(--color-gray-200);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); color: var(--color-gray-400);
  letter-spacing: .1em; border-radius: var(--radius);
}

@media (max-width: 768px) {
  .p-special__body { grid-template-columns: 1fr; }
  .p-special__visual { order: -1; }
}

/* ============================================================
   SYSTEM
   ============================================================ */
.p-system { padding: var(--section-py) 0; }
.p-system__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.p-system__product {
  font-family: var(--font-mincho);
  font-size: var(--text-lg);
  font-weight: 600;
  letter-spacing: .04em;
  margin-bottom: 12px;
}
.p-system__desc {
  font-size: 14px;
  color: var(--color-gray-600);
  line-height: 1.8;
  margin-bottom: 24px;
}
.p-system__features { margin-bottom: 28px; }
.p-system__feature {
  padding: 12px 0;
  border-bottom: 1px solid var(--color-gray-200);
}
.p-system__feature strong {
  font-size: 14px; display: block; margin-bottom: 4px;
}
.p-system__feature p {
  font-size: 13px; color: var(--color-gray-600); line-height: 1.6;
}
.p-system__visual { border-radius: var(--radius); overflow: hidden; }
.p-system__placeholder {
  aspect-ratio: 4/3;
  background: var(--color-gray-100);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); color: var(--color-gray-400);
  letter-spacing: .1em; border-radius: var(--radius);
  border: 1px solid var(--color-gray-200);
}

@media (max-width: 768px) {
  .p-system__body { grid-template-columns: 1fr; }
}

/* ============================================================
   NEWS
   ============================================================ */
.p-news {
  padding: var(--section-py) 0;
  background: var(--color-white);
}
/* News block (frame border removed) */
.p-news__frame {
  padding: 0;
}
.p-news__frame .c-section-header {
  margin-bottom: clamp(20px, 3vw, 36px);
}
/* Card */
.p-news__card {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: clamp(20px, 3vw, 36px);
  align-items: stretch;
  border: 1px solid var(--color-gray-200);
  border-radius: 6px;
  padding: clamp(20px, 2.5vw, 32px);
}
.p-news__card-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.p-news__card-title {
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .02em;
}
.p-news__card-date {
  display: block;
  margin-top: 10px;
  font-size: var(--text-sm);
  color: var(--color-gray-400);
  letter-spacing: .04em;
}
.p-news__card-excerpt {
  margin-top: 14px;
  font-size: var(--text-base);
  line-height: 1.9;
  color: var(--color-gray-600);
}
.p-news__card-more {
  margin-top: auto;
  padding-top: 18px;
  text-align: right;
}
.p-news__card-thumb {
  position: relative;
  display: block;
  align-self: start;
  aspect-ratio: 1 / 1;
  border-radius: 4px;
  overflow: hidden;
  background: var(--color-gray-100);
}
.p-news__card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.p-news__card-noimg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gray-400);
  font-size: var(--text-sm);
  letter-spacing: .08em;
}
/* Genre badge — top-right of the thumbnail */
.p-news__badge {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 11px;
  line-height: 1;
  padding: 5px 10px;
  border-radius: 3px;
  background: rgba(17,17,17,.6);
  color: #fff;
  letter-spacing: .06em;
  backdrop-filter: blur(2px);
}
.p-news__footer {
  text-align: right;
  margin-top: clamp(16px, 2vw, 24px);
}
.p-news__list-btn {
  letter-spacing: .04em;
}

@media (max-width: 768px) {
  .p-news__card {
    grid-template-columns: 1fr;
  }
  .p-news__card-thumb {
    grid-row: 1;
    max-width: 320px;
    width: 100%;
    margin: 0 auto;
  }
  .p-news__footer { text-align: center; }
}

/* ============================================================
   TOPICS / INSTAGRAM
   ============================================================ */
.p-topics {
  padding: var(--section-py) 0;
  background: var(--color-gray-100);
}
.p-topics__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
}
.p-topics__header .c-section-header { text-align: left; margin-bottom: 0; }
.p-topics__lead {
  font-size: var(--text-sm);
  color: var(--color-gray-600);
  line-height: 1.7;
  margin-top: 12px;
}

/* Follow CTA block (right side of header) */
.p-topics__follow-cta {
  text-align: right;
  flex-shrink: 0;
}
.p-topics__follow-text {
  font-size: var(--text-xs);
  color: var(--color-gray-600);
  line-height: 1.6;
  margin-bottom: 6px;
}
.p-topics__ig-link {
  font-size: 14px; font-weight: 700;
  color: var(--color-cyan);
  transition: color .2s;
}
.p-topics__ig-link:hover { color: #0093a8; }

/* Editorial grid: 1st and 6th cards span 2 columns */
.p-topics__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  perspective: 800px;
}
.p-topics__item:nth-child(1) {
  grid-column: span 2;
}
.p-topics__item:nth-child(1) .c-topic-card__thumb {
  aspect-ratio: 2 / 1;
}
/* "New" badge on the newest (first) post */
.c-topic-card__new {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 3;
  font-family: var(--font-display);
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .06em;
  padding: 5px 10px;
  border-radius: 3px;
  color: #fff;
  background: var(--color-magenta);
  box-shadow: 0 2px 6px rgba(212,20,90,.35);
}

/* Footer - SNS icons */
.p-topics__footer {
  text-align: center;
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.p-topics__social {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  /* 3 logos separated by ~50px on each side (≈100px between) */
  gap: 100px;
  align-items: flex-start;
  flex-wrap: wrap;
  justify-content: center;
}
.p-topics__social-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: transform .2s ease;
}
.p-topics__social-link:hover {
  transform: translateY(-3px);
}
.p-topics__social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  color: #fff;
  transition: filter .2s ease;
}
.p-topics__social-link:hover .p-topics__social-icon {
  filter: brightness(1.1);
}
.p-topics__social-link--instagram .p-topics__social-icon {
  background: linear-gradient(45deg, #F58529 0%, #DD2A7B 50%, #8134AF 100%);
}
.p-topics__social-link--facebook .p-topics__social-icon {
  background: #1877F2;
}
.p-topics__social-link--x .p-topics__social-icon {
  background: #000;
}
.p-topics__social-label {
  font-size: 11px;
  letter-spacing: .12em;
  padding: 4px 12px;
  border: 1px solid currentColor;
  color: var(--color-text, #111);
  border-radius: 2px;
}

@media (max-width: 768px) {
  .p-topics__header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .p-topics__follow-cta { text-align: left; }

  /* Mobile: horizontal scroll with snap */
  .p-topics__grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    padding-bottom: 16px;
    perspective: none;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  .p-topics__grid::-webkit-scrollbar { display: none; }
  .p-topics__item {
    flex: 0 0 78vw;
    scroll-snap-align: start;
  }
  .p-topics__item:nth-child(1),
  .p-topics__item:nth-child(6) {
    flex: 0 0 78vw;
  }
  .p-topics__item:nth-child(1) .c-topic-card__thumb,
  .p-topics__item:nth-child(6) .c-topic-card__thumb {
    aspect-ratio: 1;
  }

  .p-topics__footer { flex-direction: column; align-items: center; }
  .p-topics__social { gap: 14px; }
  .p-topics__social-icon { width: 60px; height: 60px; }
}

/* ============================================================
   ABOUT
   ============================================================ */
.p-about {
  padding: var(--section-py) 0;
  background-image: radial-gradient(circle, rgba(0,165,191,.06) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
}
.p-about__info {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  padding: 32px;
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius);
}
/* 仕様書風：四隅のトンボマーク */
.p-about__info::before,
.p-about__info::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  pointer-events: none;
}
.p-about__info::before {
  top: 8px;
  left: 8px;
  border-top: 1px solid rgba(0,165,191,.3);
  border-left: 1px solid rgba(0,165,191,.3);
}
.p-about__info::after {
  top: 8px;
  right: 8px;
  border-top: 1px solid rgba(212,20,90,.2);
  border-right: 1px solid rgba(212,20,90,.2);
}
.p-about__row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--color-gray-200);
  font-size: 14px;
}
.p-about__row:last-child { border-bottom: none; }
.p-about__row dt {
  font-family: var(--font-mincho);
  font-weight: 600;
  color: var(--color-gray-600);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.p-about__row dd { line-height: 1.7; }
.p-about__row dd a { color: var(--color-cyan); }
.p-about__business-list { padding-left: 1.2em; }
.p-about__business-list li {
  list-style: disc;
  font-size: var(--text-sm);
  margin-bottom: 4px;
  line-height: 1.6;
}
.p-about__access { margin-top: 48px; }
.p-about__access-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 400;
  font-style: italic;
  letter-spacing: .06em;
  margin-bottom: 12px;
}
.p-about__map-placeholder {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--color-gray-400);
  letter-spacing: .1em;
}
.p-about__map {
  margin-top: 40px;
  height: 300px;
  background: var(--color-gray-100);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--color-gray-400);
  letter-spacing: .1em;
}
.p-about__more {
  text-align: center;
  margin-top: 48px;
}
@media (max-width: 768px) {
  .p-about__row { grid-template-columns: 100px 1fr; gap: 12px; }
}

/* ============================================================
   CTA
   ============================================================ */
.p-cta {
  padding: var(--section-py) 0 48px;
  background: radial-gradient(circle at 85% 50%,
    #1a3a7a 0%,
    #0f2558 35%,
    #061234 75%,
    #020818 100%);
  background-attachment: fixed;
  color: var(--color-white);
  text-align: center;
}
.p-cta__headline {
  font-family: var(--font-mincho);
  font-size: var(--text-2xl);
  font-weight: 600;
  letter-spacing: .06em;
  margin-bottom: 16px;
}
.p-cta__subline {
  font-size: 14px;
  color: var(--color-gray-400);
  margin-bottom: 32px;
}
.p-cta__actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.p-cta__actions .c-btn--primary {
  background: #cc9900;
}
.p-cta__actions .c-btn--primary:hover {
  background: #b38800;
}
.p-cta__actions .c-btn--primary::before {
  background: radial-gradient(circle, #b38800 0%, #cc9900 70%);
}
.p-cta__actions .c-btn--tel {
  border-color: rgba(255,255,255,.3);
  color: var(--color-white);
}
.p-cta__hours {
  font-size: 13px;
  color: var(--color-gray-400);
  margin-top: 20px;
}

/* ============================================================
   SUB PAGES
   ============================================================ */

/* --- Archive Grid --- */
.p-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 48px 0;
}
@media (max-width: 768px) {
  .p-archive-grid { grid-template-columns: 1fr; }
}

/* --- Works Archive Grid --- */
.p-works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 48px 0;
}
@media (max-width: 768px) {
  .p-works-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .p-works-grid { grid-template-columns: 1fr; }
}

/* --- Pagination --- */
.p-pagination {
  text-align: center;
  padding: 32px 0 64px;
}
.p-pagination .nav-links {
  display: flex;
  justify-content: center;
  gap: 4px;
}
.p-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px; height: 40px;
  font-size: 14px;
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius);
  transition: background .2s, color .2s;
}
.p-pagination .page-numbers.current,
.p-pagination .page-numbers:hover {
  background: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
}

.p-no-posts {
  text-align: center;
  padding: 80px 0;
  color: var(--color-gray-400);
}

/* --- Single Article --- */
.p-single__hero {
  max-height: 480px;
  overflow: hidden;
}
.p-single__hero img { width: 100%; height: 100%; object-fit: cover; }
.p-single__header {
  padding: 48px 0 32px;
  border-bottom: 1px solid var(--color-gray-200);
  margin-bottom: 40px;
}
.p-single__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--color-gray-400);
  margin-bottom: 12px;
}
.p-single__meta time { font-family: var(--font-display); letter-spacing: .06em; }
.p-single__cats { display: flex; gap: 6px; }
.p-single__title {
  font-family: var(--font-mincho);
  font-size: var(--text-xl);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .02em;
}
.p-single__content {
  font-size: 15px;
  line-height: 2;
  padding-bottom: 48px;
}
.p-single__content h2 { font-family: var(--font-mincho); font-size: var(--text-lg); font-weight: 600; margin: 48px 0 20px; letter-spacing: .02em; }
.p-single__content h3 { font-family: var(--font-mincho); font-size: var(--text-md); font-weight: 600; margin: 36px 0 14px; }
.p-single__content p { margin-bottom: 20px; }
.p-single__content ul, .p-single__content ol { margin: 16px 0; padding-left: 1.5em; }
.p-single__content li { margin-bottom: 8px; list-style: disc; }
.p-single__content img { border-radius: var(--radius); margin: 24px 0; }

/* --- Works Single --- */
.p-works-single__hero {
  max-height: 520px;
  overflow: hidden;
}
.p-works-single__hero img { width: 100%; height: 100%; object-fit: cover; }
.p-works-single__header {
  padding: 48px 0 32px;
}
.p-works-single__cats { display: flex; gap: 6px; margin-bottom: 12px; }
.p-works-single__title {
  font-family: var(--font-mincho);
  font-size: var(--text-xl);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .02em;
}
.p-works-single__meta {
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 40px;
}
.p-works-single__meta-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-gray-200);
  font-size: 14px;
}
.p-works-single__meta-row:last-child { border-bottom: none; }
.p-works-single__meta-row dt { font-weight: 700; color: var(--color-gray-600); }
.p-works-single__content {
  font-size: 15px;
  line-height: 2;
  padding-bottom: 48px;
}

/* --- Post Navigation --- */
.p-post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 32px 0;
  border-top: 1px solid var(--color-gray-200);
  margin-bottom: 32px;
}
.p-post-nav a { display: block; }
.p-post-nav__label {
  font-size: 12px;
  color: var(--color-gray-400);
  display: block;
  margin-bottom: 4px;
}
.p-post-nav__title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}
.p-post-nav__next { text-align: right; }

.p-back-link {
  text-align: center;
  padding-bottom: 64px;
}

/* --- Contact Page --- */
.p-contact__intro {
  text-align: center;
  font-size: 15px;
  color: var(--color-gray-600);
  padding: 48px 0 40px;
  line-height: 2;
}
.p-contact__grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  padding-bottom: 80px;
}
.p-contact__info h2 {
  font-size: 16px; font-weight: 700;
  margin-bottom: 20px;
}
.p-contact__info dt {
  font-size: 12px; font-weight: 700;
  color: var(--color-gray-600);
  margin-top: 16px;
}
.p-contact__info dd {
  font-size: 14px; line-height: 1.7;
}
.p-contact__info a { color: var(--color-cyan); }
.p-contact__form h2 {
  font-size: 16px; font-weight: 700;
  margin-bottom: 20px;
}
.p-contact__notice {
  padding: 32px;
  background: var(--color-gray-100);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--color-gray-600);
}

/* Contact Form */
.p-contact__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.p-contact__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.p-contact__field--full {
  grid-column: 1 / -1;
}
.p-contact__field label {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-black);
}
.p-contact__required {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--color-white);
  background: var(--color-magenta);
  padding: 1px 6px;
  border-radius: 2px;
  margin-left: 4px;
  vertical-align: middle;
}
.p-contact__field input[type="text"],
.p-contact__field input[type="email"],
.p-contact__field input[type="tel"],
.p-contact__field select,
.p-contact__field textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  font-family: var(--font-body);
  border: 1.5px solid var(--color-gray-200);
  border-radius: var(--radius);
  background: var(--color-white);
  transition: border-color .2s, box-shadow .2s;
  line-height: 1.6;
}
.p-contact__field input:focus,
.p-contact__field select:focus,
.p-contact__field textarea:focus {
  outline: none;
  border-color: var(--color-cyan);
  box-shadow: 0 0 0 3px rgba(0,165,191,.12);
}
.p-contact__field.is-error input,
.p-contact__field.is-error select,
.p-contact__field.is-error textarea {
  border-color: var(--color-magenta);
}
.p-contact__field-error {
  font-size: 13px;
  color: var(--color-magenta);
}
.p-contact__field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.p-contact__field textarea {
  resize: vertical;
  min-height: 160px;
}

/* Checkbox */
.p-contact__checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  cursor: pointer;
  font-weight: 400;
}
.p-contact__checkbox input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.p-contact__checkbox-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--color-gray-200);
  border-radius: 3px;
  flex-shrink: 0;
  transition: background .2s, border-color .2s;
}
.p-contact__checkbox input:checked + .p-contact__checkbox-mark {
  background: var(--color-cyan);
  border-color: var(--color-cyan);
}
.p-contact__checkbox input:checked + .p-contact__checkbox-mark::after {
  content: '';
  display: block;
  width: 6px;
  height: 10px;
  border: solid var(--color-white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-top: -2px;
}
.p-contact__checkbox a {
  color: var(--color-cyan);
  text-decoration: underline;
}
.p-contact__privacy.is-error .p-contact__checkbox-mark {
  border-color: var(--color-magenta);
}

/* Submit */
.p-contact__submit {
  text-align: center;
  padding-top: 8px;
}
.p-contact__submit-btn {
  min-width: 240px;
  background: #cc9900;
}
.p-contact__submit-btn:hover {
  background: #b38800;
}
.p-contact__submit-btn::before {
  background: radial-gradient(circle, #b38800 0%, #cc9900 70%);
}

/* Success / Error messages */
.p-contact__success {
  text-align: center;
  padding: 60px 20px;
}
.p-contact__success-icon {
  color: var(--color-cyan);
  margin-bottom: 20px;
}
.p-contact__success h3 {
  font-family: var(--font-mincho);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: 16px;
}
.p-contact__success p {
  font-size: 15px;
  color: var(--color-gray-600);
  line-height: 1.85;
  margin-bottom: 32px;
}
.p-contact__error-msg {
  background: rgba(212,20,90,.06);
  border: 1px solid rgba(212,20,90,.2);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 24px;
  color: var(--color-magenta);
  font-size: 14px;
}

@media (max-width: 768px) {
  .p-contact__grid { grid-template-columns: 1fr; }
  .p-contact__fields { grid-template-columns: 1fr; }
}

/* --- Company Page --- */
.p-company__section-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 400;
  font-style: italic;
  letter-spacing: .06em;
  margin: 56px 0 28px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--color-black);
}
.p-company__dl {
  margin-bottom: 48px;
}
.p-company__dl dt {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-gray-600);
  padding-top: 16px;
}
.p-company__dl dd {
  font-size: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-gray-200);
  line-height: 1.7;
}
.p-company__dl dd ul { padding-left: 1.2em; }
.p-company__dl dd li { list-style: disc; margin-bottom: 4px; font-size: 13px; }
.p-company__map-placeholder {
  height: 400px;
  background: var(--color-gray-100);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); color: var(--color-gray-400);
  letter-spacing: .1em; border-radius: var(--radius);
  margin: 16px 0 64px;
}

/* --- Service Page --- */
.p-service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 48px 0;
  border-bottom: 1px solid var(--color-gray-200);
}
.p-service-block:last-child { border-bottom: none; padding-bottom: 80px; }
.p-service-block--reverse .p-service-block__img { order: -1; }
.p-service-block .c-label { margin-bottom: 12px; }
.p-service-block h2 {
  font-family: var(--font-mincho);
  font-size: var(--text-lg); font-weight: 600;
  letter-spacing: .04em;
  margin-bottom: 12px;
}
.p-service-block p {
  font-size: 14px; color: var(--color-gray-600);
  line-height: 1.8;
  margin-bottom: 16px;
}
.p-service-block ul { padding-left: 1.2em; }
.p-service-block li {
  list-style: disc;
  font-size: 13px;
  margin-bottom: 6px;
  color: var(--color-gray-600);
}
.p-service-block__placeholder {
  aspect-ratio: 4/3;
  background: var(--color-gray-100);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); color: var(--color-gray-400);
  letter-spacing: .1em; border-radius: var(--radius);
}
@media (max-width: 768px) {
  .p-service-block { grid-template-columns: 1fr; }
  .p-service-block--reverse .p-service-block__img { order: 0; }
}

/* --- Concept Page --- */
.p-concept__philosophy { padding: 48px 0 64px; }
.p-concept__catch {
  font-family: var(--font-mincho);
  font-size: var(--text-2xl);
  font-weight: 600;
  letter-spacing: .08em;
  text-align: center;
  margin-bottom: 36px;
}
.p-concept__lead {
  font-size: 16px;
  text-align: center;
  color: var(--color-gray-600);
  line-height: 2;
  margin-bottom: 32px;
}
.p-concept__text {
  font-size: 14px;
  color: var(--color-gray-600);
  line-height: 2;
  max-width: 680px;
  margin: 0 auto 20px;
}
.p-concept__vision {
  padding: 64px 0 80px;
  text-align: center;
  border-top: 1px solid var(--color-gray-200);
}
.p-concept__vision-text {
  font-family: var(--font-mincho);
  font-size: var(--text-xl);
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: .06em;
  margin-bottom: 20px;
}
.p-concept__vision-en {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--color-gray-400);
  letter-spacing: .04em;
  line-height: 1.8;
}

/* --- Page Content (generic) --- */
.p-page-content {
  font-size: 15px;
  line-height: 2;
  padding: 48px 0 80px;
}
.p-page-content h2 { font-family: var(--font-mincho); font-size: var(--text-lg); font-weight: 600; margin: 48px 0 20px; }
.p-page-content h3 { font-family: var(--font-mincho); font-size: var(--text-md); font-weight: 600; margin: 36px 0 14px; }
.p-page-content p { margin-bottom: 20px; }
.p-page-content ul { padding-left: 1.5em; margin: 16px 0; }
.p-page-content li { list-style: disc; margin-bottom: 8px; }

/* --- Utility --- */
.u-text-en {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-style: italic;
  color: var(--color-gray-400);
  letter-spacing: .06em;
}

/* ============================================================
   ANIMATIONS
   All initial hiding is done by GSAP via gsap.set().
   CSS only provides the .char style and reduced-motion override.
   ============================================================ */

/* Reduced motion - show everything, no animations */
@media (prefers-reduced-motion: reduce) {
  [data-animate],
  .p-hero__text > *,
  .p-hero__brand > *,
  .c-section-header__en,
  .c-section-header__ja,
  .c-section-header__lead,
  .p-cta__headline {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Body scroll lock for mobile menu */
body.menu-open { overflow: hidden; }

/* --- CTA Note --- */
.p-cta__note {
  font-size: var(--text-sm);
  color: var(--color-gray-400);
  margin-top: 20px;
}
.p-cta__note a {
  color: var(--color-white);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.p-cta__note a:hover { color: var(--color-cyan); }

/* --- Redirect Notice (standalone pages) --- */
.p-redirect-notice {
  text-align: center;
  padding: 80px 0;
  color: var(--color-gray-600);
  font-size: var(--text-base);
}
.p-redirect-notice p { margin-bottom: 20px; }

/* --- CSR & Bulletin (2-column) --- */
.p-csr-bulletin {
  padding: var(--section-py) 0;
  background: var(--color-white);
  background-image:
    linear-gradient(to right, rgba(138,117,96,.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(138,117,96,.06) 1px, transparent 1px);
  background-size: 6px 6px;
}
.p-csr-bulletin__grid {
  display: grid;
  grid-template-columns: 9fr 9fr;
  gap: 48px;
  max-width: 90%;
  margin: 0 auto;
}
.p-csr-bulletin__col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  border: 1.5px solid var(--color-gray-200);
  border-radius: 8px;
  padding: 32px 28px;
  position: relative;
  background: var(--color-white);
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
}
.p-csr-bulletin__col::before {
  content: '';
  position: absolute;
  top: -1.5px;
  left: 20px;
  right: 20px;
  height: 3px;
  border-radius: 2px;
}
.p-csr-bulletin__col:first-child {
  border-color: rgba(0,165,191,.2);
}
.p-csr-bulletin__col:first-child::before {
  background: linear-gradient(90deg, var(--color-cyan), rgba(0,165,191,.3));
}
.p-csr-bulletin__col:nth-child(n+2) {
  border-color: rgba(212,20,90,.2);
}
.p-csr-bulletin__col:nth-child(n+2)::before {
  background: linear-gradient(90deg, var(--color-magenta), rgba(212,20,90,.3));
}
.p-csr-bulletin__col .p-csr-bulletin__body {
  flex: 1;
}
.p-csr-bulletin__col .c-section-header {
  text-align: left;
  margin-bottom: 24px;
}
.p-csr-bulletin__col .c-section-header__en {
  font-size: clamp(32px, 4vw, 56px);
}
.p-csr-bulletin__body {
  font-size: var(--text-base);
  line-height: 1.85;
  color: var(--color-gray-600);
}
.p-csr-bulletin__body > p {
  margin-bottom: 16px;
}
.p-csr-bulletin__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-top: 8px;
}
.p-csr-bulletin__thumb {
  width: 160px;
  height: 100px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
}
.p-csr-bulletin__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- Modal --- */
.c-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.c-modal.is-open {
  opacity: 1;
  visibility: visible;
}
.c-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  cursor: pointer;
}
.c-modal__content {
  position: relative;
  background: var(--color-white);
  border-radius: 8px;
  max-width: 560px;
  width: calc(100% - 32px);
  max-height: 80vh;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 40px 32px 32px;
  box-shadow: 0 16px 48px rgba(0,0,0,.2);
  transform: translateY(16px);
  transition: transform .3s;
}
.c-modal.is-open .c-modal__content {
  transform: translateY(0);
}
.c-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: none;
  background: none;
  font-size: 24px;
  line-height: 1;
  color: var(--color-gray-400);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background .2s, color .2s;
}
.c-modal__close:hover {
  background: var(--color-gray-100);
  color: var(--color-black);
}
.c-modal__label {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-style: italic;
  color: var(--color-cyan);
  letter-spacing: .08em;
  margin-bottom: 4px;
}
.c-modal__title {
  font-family: var(--font-mincho);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: 20px;
}
.c-modal__img {
  width: 100%;
  border-radius: 4px;
  margin-bottom: 20px;
}
.c-modal__body p {
  font-size: var(--text-base);
  line-height: 1.85;
  color: var(--color-gray-600);
  margin-bottom: 16px;
}
.c-modal__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.c-modal__list li {
  position: relative;
  padding-left: 1.2em;
  margin-bottom: 8px;
  font-size: var(--text-base);
  line-height: 1.85;
  color: var(--color-gray-600);
}
.c-modal__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-cyan);
}
.c-modal__content--image {
  max-width: 720px;
  padding: 12px;
  background: var(--color-white);
}
.c-modal__full-img {
  width: 100%;
  display: block;
  border-radius: 4px;
}

/* Fullscreen modal (CSR / Bulletin) */
.c-modal--fullscreen {
  align-items: center;
  justify-content: center;
}
.c-modal__content--full {
  max-width: 720px;
  width: calc(100% - 32px);
  max-height: calc(100vh - 48px);
  margin: 24px auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 48px 40px 40px;
}
.c-modal__content--full .c-modal__img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 20px;
  display: block;
}
.c-modal__content--full .c-modal__title {
  margin-bottom: 20px;
}
.c-modal__body--decorated {
  border: 2px solid var(--color-gray-200);
  border-radius: 8px;
  padding: 32px 28px;
  position: relative;
  background:
    linear-gradient(135deg, rgba(0,165,191,.03) 0%, transparent 50%),
    linear-gradient(315deg, rgba(212,20,90,.03) 0%, transparent 50%),
    var(--color-white);
}
.c-modal__body--decorated::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 24px;
  right: 24px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-cyan), var(--color-magenta), var(--color-yellow), var(--color-cyan));
  border-radius: 2px;
}
.c-modal__body--csr {
  border-color: rgba(0,165,191,.25);
}
.c-modal__body--bulletin {
  border-color: rgba(212,20,90,.25);
}
.c-modal__body--bulletin::before {
  background: linear-gradient(90deg, var(--color-magenta), var(--color-yellow), var(--color-cyan), var(--color-magenta));
}
.p-csr-bulletin__articles {
  list-style: none;
  padding: 0;
  margin: 0;
}
.p-csr-bulletin__articles li {
  border-bottom: 1px solid var(--color-gray-200);
  padding: 12px 0;
}
.p-csr-bulletin__articles li:first-child {
  border-top: 1px solid var(--color-gray-200);
}
.p-csr-bulletin__articles a {
  display: flex;
  align-items: baseline;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  transition: color .2s;
}
.p-csr-bulletin__articles a:hover {
  color: var(--color-cyan);
}
.p-csr-bulletin__articles time {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  color: var(--color-gray-400);
  letter-spacing: .06em;
  flex-shrink: 0;
}
.p-csr-bulletin__articles span {
  font-size: var(--text-base);
}
.p-csr-bulletin__placeholder {
  color: var(--color-gray-400);
  font-size: var(--text-sm);
}
@media (max-width: 768px) {
  .p-csr-bulletin__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* --- Privacy Policy --- */
.p-privacy {
  padding: var(--section-py) 0;
  background: var(--color-gray-100);
}
.p-privacy__cta {
  text-align: center;
}

/* --- Modal DL (privacy etc.) --- */
.c-modal__dl {
  margin: 0 0 24px;
}
.c-modal__dl-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--color-gray-200);
}
.c-modal__dl-item:first-child {
  border-top: 1px solid var(--color-gray-200);
}
.c-modal__dl-item dt {
  font-weight: 600;
  font-family: var(--font-mincho);
  font-size: var(--text-base);
  color: var(--color-black);
  margin-bottom: 6px;
}
.c-modal__dl-item dd {
  margin: 0;
  font-size: var(--text-sm);
  line-height: 1.8;
  color: var(--color-gray-600);
}
.c-modal__dl-item dd a {
  color: var(--color-cyan);
  text-decoration: none;
}
.c-modal__dl-item dd a:hover {
  text-decoration: underline;
}
.c-modal__note {
  font-size: var(--text-sm);
  color: var(--color-gray-400);
  text-align: right;
  line-height: 1.8;
}
.c-modal__subtitle {
  font-family: var(--font-mincho);
  font-size: var(--text-base);
  font-weight: 600;
  text-align: center;
  margin: 40px 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-gray-200);
  letter-spacing: .08em;
  color: var(--color-black);
}
.c-modal__dl-item dd p {
  margin: 8px 0 0;
}

/* --- Back to Top --- */
.c-back-to-top {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 44px; height: 44px;
  border: none;
  border-radius: 50%;
  background: var(--color-black);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s, visibility .3s, transform .3s, background .2s;
  z-index: 80;
  box-shadow: 0 2px 12px rgba(0,0,0,.15);
}
.c-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.c-back-to-top:hover {
  background: var(--color-cyan);
}
@media (max-width: 768px) {
  .c-back-to-top { bottom: 72px; right: 16px; }
}

/* ============================================================
   MOBILE FIX (768px以下)
   ============================================================ */
@media (max-width: 768px) {

  /* --- Header --- */
  :root {
    --header-h: 64px;
  }
  .l-header__logo-img {
    height: 24px;
  }
  .l-header__nav-cta .c-btn--sm {
    padding: 6px 14px;
    font-size: 12px;
  }

  /* --- Services grid --- */
  .p-services__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* --- CSR / Bulletin --- */
  .p-csr-bulletin__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .p-csr-bulletin__col {
    padding: 24px 20px;
  }
  .p-csr-bulletin__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .p-csr-bulletin__thumb {
    width: 100%;
    height: 140px;
  }

  /* --- CSR / Bulletin fullscreen modal --- */
  .c-modal__content--full {
    width: calc(100% - 16px);
    max-height: calc(100vh - 24px);
    margin: 12px auto;
    padding: 52px 20px 20px;
  }
  .c-modal__content--full .c-modal__img {
    max-height: 240px;
  }
  .c-modal__content--full .c-modal__close {
    width: 44px;
    height: 44px;
    font-size: 28px;
    top: 6px;
    right: 6px;
    z-index: 10;
    background: var(--color-white);
    box-shadow: 0 1px 4px rgba(0,0,0,.1);
  }
  .c-modal__body--decorated {
    padding: 20px 16px;
  }

  /* --- About --- */
  .p-about__info {
    padding: 20px 16px;
  }
  .p-about__row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .p-about__row dt {
    font-size: 12px;
  }
  .p-about__map {
    height: 220px;
    margin-top: 24px;
  }
  .p-about__more {
    margin-top: 32px;
  }

  /* --- CTA --- */
  .p-cta__headline {
    font-size: clamp(20px, 5vw, 28px);
  }
  .p-cta__actions {
    flex-direction: column;
    align-items: center;
  }
  .p-cta__actions .c-btn--lg {
    width: 100%;
    max-width: 320px;
  }

  /* --- Privacy section --- */
  .p-privacy {
    padding: clamp(40px, 8vw, 80px) 0;
  }

  /* --- Modal general --- */
  .c-modal__content {
    width: calc(100% - 16px);
    max-height: 85vh;
    padding: 32px 20px 24px;
  }

  /* --- Footer --- */
  .l-footer__bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  /* --- Contact form --- */
  .p-contact__fields {
    grid-template-columns: 1fr;
  }
  .p-contact__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .p-contact__info {
    display: none;
  }
  .p-contact__submit-btn {
    width: 100%;
  }

  /* --- About Us (formerly Strengths) --- */
  .p-about-us__body {
    margin-top: 28px;
  }
}

/* === FOOTER SNS REBUILD 2026-04-21 === */
.l-footer__social-item {
  margin: 0;
  padding: 0;
}
.l-footer__social-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #333333;
  transition: transform .25s ease, opacity .25s ease;
}
.l-footer__social-link:hover,
.l-footer__social-link:focus-visible {
  transform: translateY(-2px);
  opacity: .9;
  color: #000000;
}
.l-footer__social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
  color: #ffffff;
}
.l-footer__social-icon svg {
  display: block;
}
.l-footer__social-icon--instagram {
  background: linear-gradient(45deg, #F58529 0%, #DD2A7B 50%, #8134AF 100%);
}
.l-footer__social-icon--facebook {
  background: #1877F2;
}
.l-footer__social-icon--x {
  background: #000000;
}
.l-footer__social-icon--youtube {
  background: #FF0000;
}
.l-footer__social-label {
  display: inline-block;
  font-size: 11px;
  line-height: 1;
  letter-spacing: .5px;
  padding: 4px 10px;
  border: 1px solid rgba(0, 0, 0, .25);
  border-radius: 4px;
  color: #333333;
  transition: color .2s, border-color .2s;
}
.l-footer__social-link:hover .l-footer__social-label,
.l-footer__social-link:focus-visible .l-footer__social-label {
  color: #000000;
  border-color: rgba(0, 0, 0, .55);
}
@media (max-width: 768px) {
  .l-footer__social {
    gap: 12px;
  }
  .l-footer__social-icon {
    width: 50px;
    height: 50px;
  }
}

/* === SERVICES LEAD UPDATE 2026-04-21 === */
.p-services__lead {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  /* Matched to .p-about-us__text (「私たちについて」 body) */
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 2.1;
  letter-spacing: .04em;
  text-align: center;
  font-family: var(--font-mincho);
}
@media (max-width: 768px) {
  .p-services__lead {
    text-align: left;
    line-height: 2;
    font-size: 14px;
  }
}

/* === HERO REBUILD 2026-04-21 === */
.p-hero {
  position: relative;
  overflow: hidden;
  min-height: 0;
  height: auto;
  aspect-ratio: 2400 / 906;
  padding: 0;
  color: #14296b;
  background-color: #fff;
  isolation: isolate;
}

/* Background illustration layer — show the full, wide illustration without cropping */
.p-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('../images/hero_mainvisual_20260716.png');
  background-repeat: no-repeat;
  background-position: right top;
  background-size: 80% auto;
  opacity: 0;
  animation: heroBgFade 0.5s ease-out 0.05s forwards;
  pointer-events: none;
}
@keyframes heroBgFade {
  to { opacity: 1; }
}

/* In-flow illustration — used on mobile only (PC uses the bg layer) */
.p-hero__img {
  display: none;
  width: 100%;
  height: auto;
}

/* Catchphrase anchored over the white space at the illustration's bottom-left */
.p-hero__inner {
  position: absolute;
  left: clamp(20px, 5vw, 96px);
  bottom: clamp(10px, 2vw, 36px);
  transform: none;
  width: auto;
  max-width: 88vw;
  padding: 0;
  z-index: 2;
  text-align: left;
}


/* Navy gothic catchphrase — heavy weight, left-aligned */
.p-hero__catch {
  font-family: var(--font-body);
  font-weight: 900;
  color: #14296b;
  font-size: clamp(16.875px, 2.869vw, 35.4375px);
  line-height: 1.5;
  letter-spacing: .06em;
  text-align: left;
  /* White glow around the text (replaces the former white background halo) */
  text-shadow:
    0 0 6px rgba(255,255,255,1),
    0 0 12px rgba(255,255,255,1),
    0 0 20px rgba(255,255,255,.95),
    0 0 32px rgba(255,255,255,.9),
    1px 1px 2px rgba(255,255,255,.95),
    -1px -1px 2px rgba(255,255,255,.95);
}
.p-hero__line--en {
  font-weight: 700;
  font-size: clamp(9.28px, 1.181vw, 15.1875px);
  letter-spacing: .02em;
  margin-top: 0.5em;
  opacity: .92;
}

/* Each line pops up from below, one after another (after the bg has faded in) */
.p-hero__line {
  display: block;
  opacity: 0;
  transform: translateY(0.9em);
  animation: heroLinePop 0.55s cubic-bezier(.34, 1.56, .64, 1) forwards;
}
.p-hero__line:nth-child(1) { animation-delay: 0.55s; }
.p-hero__line:nth-child(2) { animation-delay: 0.75s; }
.p-hero__line:nth-child(3) { animation-delay: 0.95s; }
@keyframes heroLinePop {
  from { opacity: 0; transform: translateY(0.9em); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .p-hero__bg   { opacity: 1; animation: none; }
  .p-hero__line { opacity: 1; transform: none; animation: none; }
}

@media (max-width: 768px) {
  /* SP: stack the centered catchphrase below the complete illustration */
  .p-hero {
    display: block;
    min-height: 0;
    height: auto;
    aspect-ratio: auto;
    overflow: hidden;
    padding: 0;
  }
  .p-hero__bg { display: none; }
  .p-hero__img {
    display: block;
    width: 100%;
    height: auto;
  }
  .p-hero__inner {
    position: static;
    transform: none;
    top: auto;
    right: auto;
    bottom: clamp(8px, 3vw, 16px);
    left: clamp(10px, 4vw, 24px);
    max-width: 82vw;
    padding: 0;
    display: block;
    margin: 10px auto 0;
    text-align: center;
  }
  .p-hero__inner::before { display: none; }
  .p-hero__catch {
    font-size: clamp(17px, 4.8vw, 24px);
    letter-spacing: .04em;
    line-height: 1.55;
    text-align: center;
  }
  .p-hero__line--en {
    /* 1行に収まるようサイズと字間を調整 */
    font-size: clamp(8px, 2.8vw, 14px);
    letter-spacing: 0;
    white-space: nowrap;
  }
}

.p-about-us__domain {
  width: 100%;
  max-width: 720px;
  margin: clamp(48px, 7vw, 80px) auto 0;
}
.p-about-us__domain-button {
  display: block;
  width: 100%;
  cursor: zoom-in;
}
.p-about-us__domain-button:focus-visible {
  outline: 3px solid var(--color-cyan);
  outline-offset: 4px;
}
.p-about-us__domain img {
  width: 100%;
  height: auto;
}

/* --- Lightbox --- */
.c-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5vh 5vw;
  background: rgba(0,0,0,.82);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s, visibility .2s;
}
.c-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}
.c-lightbox__image {
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
}
.c-lightbox__close {
  position: absolute;
  top: clamp(12px, 2vw, 24px);
  right: clamp(12px, 2vw, 24px);
  width: 48px;
  height: 48px;
  color: var(--color-white);
  font-size: 36px;
  line-height: 1;
}
.c-lightbox__close:focus-visible {
  outline: 2px solid var(--color-white);
  outline-offset: 2px;
}
html.is-lightbox-open,
body.is-lightbox-open {
  overflow: hidden;
}

/* === CONCEPT SECTION 2026-04-21 === */
.p-concept {
  padding: var(--section-py) 0;
  background: var(--color-white);
  position: relative;
}
.p-concept__inner {
  text-align: center;
}
.p-concept__body {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(16px, 4vw, 40px) 0;
}
.p-concept__line {
  font-family: var(--font-mincho);
  /* Matched to .p-about-us__text (「私たちについて」 body) */
  font-size: clamp(15px, 1.15vw, 17px);
  color: var(--color-black);
  letter-spacing: .14em;
  line-height: 2.1;
  margin: 0;
  text-align: center;
}
.p-concept__line + .p-concept__line {
  margin-top: 4px;
}
.p-concept__line--accent {
  font-weight: 600;
  color: var(--color-cyan);
  letter-spacing: .16em;
  margin-top: 18px !important;
  margin-bottom: 18px;
  position: relative;
  padding: 14px 0;
}
.p-concept__line--accent::before,
.p-concept__line--accent::after {
  content: '';
  display: block;
  width: 48px;
  height: 1px;
  background: var(--color-cyan);
  margin: 0 auto;
  opacity: .5;
}
.p-concept__line--accent::before { margin-bottom: 14px; }
.p-concept__line--accent::after  { margin-top: 14px; }

@media (max-width: 768px) {
  .p-concept__line {
    font-size: 14px;
    letter-spacing: .08em;
    line-height: 2;
  }
  .p-concept__line--accent {
    letter-spacing: .1em;
  }
}

/* === ABOUT OVERHAUL 2026-04-21 === */
/* 各種認定: 3 certification images side-by-side */
.p-about__cert-list {
  display: flex;
  flex-direction: row;
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: center;
  flex-wrap: wrap;
}
.p-about__cert-list li {
  flex: 1 1 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  padding: 8px;
  border-radius: 4px;
  min-width: 0;
}
.p-about__cert-list img {
  max-height: 90px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Multi-line row (沿革) */
.p-about__row-dd--multiline {
  white-space: normal;
  line-height: 1.8;
}
.p-about__history {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.p-about__history-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.p-about__history-year {
  font-weight: 600;
  color: var(--color-primary, #1a2a4a);
  letter-spacing: .04em;
}
.p-about__history-body {
  padding-left: 1em;
  color: inherit;
}

/* Activities block (CSR + Bulletin absorbed into About) */
.p-about__activities {
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid rgba(0, 0, 0, .08);
}
.p-about__activities-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 768px) {
  .p-about__activities-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

/* About lead (会社概要 「秋田から情報を届け続けて、70年以上。」) — matched to 私たちについて body */
.p-about__lead {
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 2.1;
  color: var(--color-gray-800, #333);
}

/* CSR / 社報 brand area (mark / logo at the bottom-left) */
.p-csr-bulletin__sns-link {
  margin-top: 14px;
}
.p-csr-bulletin__sns-link a {
  display: inline-block;
  color: var(--color-magenta);
  font-weight: 700;
  letter-spacing: .04em;
}
.p-csr-bulletin__sns-link a:hover {
  text-decoration: underline;
}
.p-csr-bulletin__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.p-csr-bulletin__mark {
  width: 76px;
  height: auto;
  flex-shrink: 0;
}
.p-csr-bulletin__mark-cap {
  font-size: 11px;
  line-height: 1.5;
  color: var(--color-gray-600);
  letter-spacing: .02em;
}
.p-csr-bulletin__logo {
  width: clamp(150px, 18vw, 210px);
  height: auto;
}

/* Archive modal content (images-only WP post) */
.c-modal__archive img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  margin: 8px 0;
}

/* Archive modal: 記事一覧アコーディオン */
.c-modal__archive-list {
  margin-top: 16px;
}
.c-modal__archive-item {
  border-bottom: 1px solid var(--color-gray-200);
}
.c-modal__archive-item:first-child {
  border-top: 1px solid var(--color-gray-200);
}
.c-modal__archive-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 32px 14px 8px;
  cursor: pointer;
  list-style: none;
  position: relative;
  font-weight: 700;
  color: var(--color-black);
}
.c-modal__archive-summary::-webkit-details-marker {
  display: none;
}
.c-modal__archive-summary::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-70%) rotate(45deg);
  transition: transform .25s ease;
}
.c-modal__archive-item[open] > .c-modal__archive-summary::after {
  transform: translateY(-30%) rotate(-135deg);
}
.c-modal__archive-summary:hover .c-modal__archive-item-title {
  text-decoration: underline;
}
.c-modal__archive-item-date {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 400;
  color: var(--color-gray-600);
}
.c-modal__archive-item > .c-modal__archive {
  padding: 0 8px 16px;
}

/* 社報モンターヴィレ アーカイブのポップアップは画面の70%まで拡大 */
#bulletin-modal .c-modal__content--full {
  max-width: 70vw;
  width: 70vw;
  max-height: 90vh;
}
@media (max-width: 768px) {
  #bulletin-modal .c-modal__content--full {
    max-width: none;
    width: calc(100% - 16px);
  }
}

@media (max-width: 768px) {
  .p-csr-bulletin__bottom {
    flex-wrap: wrap;
    gap: 14px;
  }
}

/* Mobile tweaks */
@media (max-width: 640px) {
  .p-about__cert-list {
    gap: 12px;
  }
  .p-about__cert-list img {
    max-height: 64px;
  }
}

/* ============================================================
   LEGAL PAGE (Privacy Policy)
   ============================================================ */
.p-legal {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 96px);
}
.p-legal__lead {
  font-size: var(--text-base);
  line-height: 2;
  color: var(--color-gray-600);
  margin-bottom: 40px;
}
.p-legal__section {
  margin-bottom: 32px;
}
.p-legal__section h2 {
  font-size: var(--text-md);
  font-weight: 700;
  letter-spacing: .04em;
  padding-left: 14px;
  border-left: 4px solid var(--color-cyan);
  margin-bottom: 14px;
}
.p-legal__section p {
  line-height: 2;
  color: var(--color-gray-600);
}
.p-legal__section ul {
  list-style: disc;
  padding-left: 1.4em;
  margin-top: 8px;
  line-height: 2;
  color: var(--color-gray-600);
}
.p-legal__section a { color: var(--color-cyan); }
.p-legal__section a:hover { text-decoration: underline; }
.p-legal__date {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--color-gray-200);
  font-size: var(--text-sm);
  line-height: 1.9;
  color: var(--color-gray-600);
}
.p-legal__back {
  margin-top: 40px;
  text-align: center;
}
