/* 会社概要・事業紹介・お知らせを、トップページと同じ白基調にそろえる上書き用。
   各ページの最後に読み込む。水色はボタンだけに使う。 */
@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@400;500;700;900&display=swap');

:root {
  --w-ink: #1c1c1c;
  --w-sub: #5c5c5c;
  --w-line: #e9e9e6;
  --w-field-line: #cfcfcb;
  --w-cyan: #58c3e8;
  --w-cyan-hover: #3fb2da;
  --w-font: 'Zen Kaku Gothic New', 'Hiragino Sans', 'Yu Gothic', sans-serif;
  --w-gutter: clamp(20px, 5vw, 64px);
  --w-radius: 8px;

  /* 既存の CSS が使っている変数を、白基調の値に置き換える */
  --paper: #fff;
  --ink: var(--w-ink);
  --red: var(--w-ink);
  --line: var(--w-line);
  --serif: var(--w-font);
  --round: var(--w-font);
  --black: var(--w-ink);
  --gray: var(--w-sub);
  --muted: var(--w-sub);
  --offwhite: #fff;
  --ice: #fff;
  --sky: #fff;
  --cyan-pale: #fff;
  --cyan-dark: var(--w-ink);
  --yellow-soft: #fff;
  --orange-soft: #fff;
  --purple-soft: #fff;
  --green-soft: #fff;
  --action-paper: #fff;
  --action-border: var(--w-field-line);
  --action-ink: var(--w-ink);
  --action-hover: #fff;
  --action-hover-border: var(--w-ink);
  --action-primary-hover: var(--w-cyan-hover);
}

/* ---------- 書体と地の色 ---------- */
html body,
html body :where(h1, h2, h3, h4, h5, p, a, li, span, small, strong, em, button, input, select, textarea, label, dt, dd, th, td, figcaption, summary, div, time, blockquote, address) {
  font-family: var(--w-font) !important;
}
html body { background: #fff !important; color: var(--w-ink); }
html body :is(h1, h2, h3, h4) { font-weight: 700 !important; color: var(--w-ink) !important; }

/* 色つき・グラデーションの背景は白にする */
html body :is(
  .about-name-sec, .about-cta, .news-page-cta, .about-cta-inner, .news-list--archive, .news-page-hero-bg,
  .detail-opening, .sister-brands, #retail-section, #oroshi-section, #events, #welfare, #web-section,
  #brand-story, #recruit-section, #greeting, .business-contact, .rt-bg, .or-bg, .ev-bg, .wf-bg, .gr-bg,
  .wf-block, .rt-fc-banner, .fd-tabs, .footer-instagram-menu, #news-more, .news-detail-eyecatch
) {
  background: #fff !important;
}
html body :is(#oroshi-section, .wf-bg, .wf-card, #web-section, #brand-story, #recruit-section, .site-footer)::before { display: none !important; }
html body main > section, html body .about-cta { border-top: 1px solid var(--w-line); }

/* 白い文字だった箇所は、白い地で読める色にする */
html body :is(
  .section-title, .biz-intro-lead, .rt-fc-banner-label, .rt-fc-banner-title, .rt-fc-banner-desc, .rt-fc-num,
  .rt-fc-note, .en-label, .section-desc, .gr-line, .detail-opening h1, .detail-opening p, .detail-opening a
) {
  color: var(--w-ink) !important;
}
html body :is(.news-article-date, .about-cta-label, .n-date, .en-label, .rt-fc-banner-label) { color: var(--w-sub) !important; }

/* ---------- カード ---------- */
html body :is(
  .rt-card, .rt-support-card, .or-card, .wf-card, .or-cta, .ev-portal-notice, .ev-moimoi-content, .rc-banner,
  .bs-letter-card, .bs-finland-inner, .rt-fc-banner
) {
  border: 1px solid var(--w-line) !important;
  border-radius: var(--w-radius) !important;
  background: #fff !important;
  box-shadow: none !important;
}
html body :is(.n-tag, .rt-dept-pill, .rt-card-brand-badge, .ev-recipe-photo-label, .wf-pill) {
  border: 1px solid var(--w-field-line) !important;
  background: #fff !important;
  color: var(--w-ink) !important;
}

/* ---------- ヘッダー ---------- */
html body .header.header {
  position: sticky;
  top: 0;
  z-index: 30;
  max-width: none;
  padding: 14px var(--w-gutter);
  border-bottom: 1px solid var(--w-line);
  background: #fff;
}
html body .header.header .brand img { width: auto; height: 42px; }
html body .header.header nav > a { color: var(--w-ink); font-size: 14px; font-weight: 500; }
html body .header.header nav > a.contact {
  padding: 0 24px;
  border-radius: 999px;
  background: var(--w-cyan);
  color: #fff;
  font-weight: 700;
  transition: background-color .2s ease;
}
html body .header.header nav > a.contact:hover { background: var(--w-cyan-hover); }
html body .mobile-nav-ready .mobile-menu-toggle { border-color: var(--w-field-line); background: #fff; color: var(--w-ink); }

/* ---------- ボタンとリンク ---------- */
html body a.nav-button.nav-button {
  gap: 12px;
  min-height: 44px;
  padding: 10px 0;
  border: 0;
  border-bottom: 2px solid var(--w-ink);
  border-radius: 0;
  background: transparent;
  color: var(--w-ink);
  font-size: 14px;
  font-weight: 700;
}
html body a.nav-button.nav-button:hover { background: transparent; color: var(--w-ink); }
html body a.nav-button > .nav-button-arrow { flex: 0 0 auto; width: auto; height: auto; min-height: 0; transition: transform .25s ease; }
html body a.nav-button:hover > .nav-button-arrow { transform: translateX(4px); }
html body a.nav-button.ev-btn.nav-button { padding: 8px 0; border-bottom-width: 1px; border-radius: 0; font-size: 13px; }
html body a.nav-button:is(.nav-button-primary, .about-cta-btn, .system-primary, .or-cta-btn),
html body .about-access-btn--fill,
html body :is(.ct-submit, .wiq-submit) {
  width: fit-content;
  padding: 14px 32px;
  border: 0;
  border-radius: 999px;
  background: var(--w-cyan);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}
html body a.nav-button:is(.nav-button-primary, .about-cta-btn, .system-primary, .or-cta-btn):hover,
html body .about-access-btn--fill:hover { background: var(--w-cyan-hover); color: #fff; }
html body a.nav-button:is(.nav-button-primary, .about-cta-btn, .system-primary, .or-cta-btn) :is(.nav-button-label, .nav-button-arrow),
html body .about-access-btn--fill * { color: #fff !important; }
html body a.nav-button.about-link-card {
  padding: 18px 20px;
  border: 1px solid var(--w-line);
  border-radius: var(--w-radius);
  background: #fff;
}
html body a.nav-button.about-link-card:hover { border-color: var(--w-ink); }
html body .about-access-btn--outline, html body #news-more, html body :is(select, .ct-input, .ct-textarea, .ct-select) {
  border: 1px solid var(--w-field-line);
  border-radius: var(--w-radius);
  background: #fff;
  color: var(--w-ink);
}
html body :is(a, button, select, summary):focus-visible { outline: 2px solid var(--w-ink); outline-offset: 4px; }

/* ---------- フッター ---------- */
html body footer.site-footer { border-top: 1px solid var(--w-line); color: var(--w-sub); font-size: 13px; }
html body .site-footer .footer-company { border-top: 0; }
html body .footer-instagram, html body .footer-instagram-menu a { color: var(--w-ink); }
html body .footer-instagram summary, html body .footer-instagram-menu a { border-color: var(--w-line); }
html body .footer-instagram-menu { border: 1px solid var(--w-line); border-radius: var(--w-radius); }

@media (max-width: 760px) {
  html body .header.header { padding: 10px var(--w-gutter); }
  html body .header.header .brand img { height: 34px; }
  html body .header.header.mobile-nav-ready nav { background: #fff; border-color: var(--w-line); }
  html body .header.header.mobile-nav-ready { background: #fff; }
}

/* 事業紹介：色つきの地に白文字で置かれていた見出しを、白い地で読める色にする */
html body :is(#businesses, #retail-section, #oroshi-section, #events, #welfare, #web-section, #greeting, #brand-story, #recruit-section) :is(.section-title, .section-desc, .en-label, .biz-intro-lead) {
  color: var(--w-ink) !important;
  -webkit-text-fill-color: currentColor !important;
  text-shadow: none !important;
}
html body :is(#businesses, #retail-section, #oroshi-section, #events, #welfare, #web-section, #greeting, #brand-story, #recruit-section) .en-label { color: var(--w-sub) !important; }
/* 数字を大きく見せる枠は出さない（見出しの「全国10店舗以上」は残す） */
html body .rt-fc-banner-stat { display: none !important; }

/* 会社概要：代表プロフィール */
.about-rep-layout { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 32px 56px; align-items: start; margin-top: 28px; }
.about-rep-photo { width: 100%; height: auto; aspect-ratio: 1; border-radius: var(--w-radius); object-fit: cover; }
.about-rep-body { display: flex; flex-direction: column; gap: 12px; }
.about-rep-message { font-size: 15px; line-height: 2; }
.about-rep-name { font-size: 22px; font-weight: 700 !important; line-height: 1.5; }
.about-rep-role { color: var(--w-sub); font-size: 14px; }
.about-rep-history { margin: 8px 0 0; border-top: 1px solid var(--w-ink); }
.about-rep-history > div { display: grid; grid-template-columns: 4.5em minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--w-line); font-size: 14px; }
.about-rep-history dt { font-weight: 700; }
.about-rep-history dd { margin: 0; }
.about-rep-links { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 8px; font-size: 14px; font-weight: 700; }
.about-rep-links a { padding: 8px 0; border-bottom: 2px solid var(--w-ink); }
@media (max-width: 760px) { .about-rep-layout { grid-template-columns: minmax(0, 1fr); } .about-rep-photo { max-width: 280px; } }
