/* ニュース（プレスリリース・お知らせ）とお問い合わせの切り替え  BRIDGE 2026-10-07
   色はサイトの全体設定（Elementor のグローバルカラー）に合わせる */
.fr-news-sec, .fr-latest, .fr-news-archive, .fr-art, .fr-ct {
  --fr-green: var(--e-global-color-primary, #009944);
  --fr-green-dark: #007a36;
  --fr-tint: #eef7f1;
  --fr-text: var(--e-global-color-text, #222);
  --fr-sub: #5a5a5a;
  --fr-line: #e6e6e6;
  --fr-gray: #f3f3f3;
  --fr-radius: 14px;
  font-family: "Noto Sans JP", sans-serif;
  color: var(--fr-text);
}
.fr-news-sec em, .fr-news-sec i, .fr-art em, .fr-art i, .fr-ct em, .fr-ct i { font-style: normal; }
/* テーマが引用を斜体にするのを打ち消す（日本語に斜体を使わない） */
.fr-art blockquote, .fr-art blockquote *, .fr-art cite, .fr-art q, .fr-art dfn, .fr-art var, .fr-art address { font-style: normal !important; }
.fr-w { display: inline-block; }

/* 矢印（線で描く） */
.fr-chev { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--fr-tint); position: relative; }
.fr-chev::after { content: ""; position: absolute; left: 10px; top: 10px; width: 8px; height: 8px; border-top: 2px solid var(--fr-green); border-right: 2px solid var(--fr-green); transform: rotate(45deg); }

/* ラベル・日付 */
.fr-lbls { display: flex; gap: 6px; flex-wrap: wrap; row-gap: 6px; }
.fr-lbl { display: inline-flex; align-items: center; justify-content: center; height: 26px; padding: 0 12px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .06em; white-space: nowrap; line-height: 1; }
/* プレスリリースもお知らせと同じ見た目（題名を目立たせるため。長井さん 10/12） */
.fr-lbl--pr { background: var(--fr-tint); color: var(--fr-green-dark); box-shadow: inset 0 0 0 1px rgba(0, 153, 68, .35); }
.fr-lbl--info { background: var(--fr-tint); color: var(--fr-green-dark); box-shadow: inset 0 0 0 1px rgba(0, 153, 68, .35); }
.fr-date { font-variant-numeric: tabular-nums; color: var(--fr-sub); font-size: 14px; letter-spacing: .06em; white-space: nowrap; }

/* 押しどころ（土台） */
.fr-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; align-self: center; min-height: 52px; min-width: 76px; padding: 0 40px; border-radius: 999px; background: var(--fr-green); color: #fff !important; font-weight: 700; font-size: 16px; letter-spacing: .08em; border: 2px solid var(--fr-green); box-sizing: border-box; white-space: nowrap; text-decoration: none !important; line-height: 1.2; }
.fr-btn:hover { background: var(--fr-green-dark); border-color: var(--fr-green-dark); }
.fr-btn .fr-chev { background: rgba(255, 255, 255, .2); width: 24px; height: 24px; }
.fr-btn .fr-chev::after { left: 7px; top: 8px; width: 7px; height: 7px; border-color: currentColor; }
.fr-btn--ghost { background: #fff; color: var(--fr-green) !important; }
.fr-btn--ghost:hover { background: var(--fr-tint); }
.fr-btn-row { display: flex; justify-content: center; margin-top: 40px; }

/* 絞り込みのボタン */
.fr-tabs { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; row-gap: 10px; margin: 0 0 28px; }
.fr-tab { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 76px; padding: 0 24px; border-radius: 999px; border: 2px solid var(--fr-green); background: #fff; color: var(--fr-green) !important; font: 700 15px/1.2 "Noto Sans JP", sans-serif; letter-spacing: .06em; cursor: pointer; text-decoration: none !important; box-sizing: border-box; }
.fr-tab[aria-selected="true"], .fr-tab[aria-current="page"] { background: var(--fr-green); color: #fff !important; }
.fr-tab:focus-visible { outline: 3px solid rgba(0, 153, 68, .35); outline-offset: 2px; }

/* 1列の一覧 */
.fr-news-list { background: #fff; border-radius: var(--fr-radius); box-shadow: 0 2px 18px rgba(0, 0, 0, .06); padding: 8px 32px; list-style: none; margin: 0; }
.fr-news-list li { margin: 0; }
.fr-news-list li + li { border-top: 1px solid var(--fr-line); }
.fr-news-list a { display: grid; grid-template-columns: 112px 200px 1fr 30px; align-items: center; column-gap: 16px; padding: 24px 0; color: var(--fr-text) !important; text-decoration: none !important; }
.fr-news-title { font-size: 16px; line-height: 1.7; word-break: auto-phrase; text-wrap: pretty; }
.fr-news-list a:hover .fr-news-title { color: var(--fr-green); text-decoration: underline; text-underline-offset: 4px; }
.fr-news-empty { text-align: center; color: var(--fr-sub); background: #fff; border-radius: var(--fr-radius); padding: 32px; margin: 0; }

/* トップのニュース欄 */
.fr-news-sec { background: var(--fr-tint); padding: 88px 20px 96px; margin: 64px 0 72px; }
/* 上の理念の文章との間隔：Elementor のタブレットの幅（1024px以下）と同じところで詰める */
@media (max-width: 1024px) { .fr-news-sec { margin-top: 40px; } }
.fr-wrap { max-width: 1040px; margin: 0 auto; }
.fr-sec-ttl { text-align: center; margin: 0 0 40px; line-height: 1.5; }
.fr-sec-ttl__en { display: block; color: var(--fr-green); font-size: 14px; font-weight: 700; letter-spacing: .3em; }
.fr-sec-ttl__ja { display: block; font-size: 30px; font-weight: 700; letter-spacing: .14em; margin-top: 4px; color: var(--fr-text); }
.fr-news-panel[hidden] { display: none; }

/* メイン画像の下端の「最新1件」（メイン画像の下の余白 4% のぶん持ち上げて、下端に重ねる） */
.fr-latest { position: relative; z-index: 3; max-width: 900px; margin: calc(-4vw - 36px) auto 0; padding: 0 20px; }
.fr-latest a { display: flex; align-items: center; gap: 16px; background: #fff; border-radius: 999px; box-shadow: 0 6px 24px rgba(0, 0, 0, .12); min-height: 72px; padding: 12px 16px 12px 28px; color: var(--fr-text) !important; text-decoration: none !important; }
.fr-latest__head { flex: none; color: var(--fr-green); font-weight: 700; font-size: 13px; letter-spacing: .24em; }
.fr-latest__title { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 15px; word-break: auto-phrase; }
.fr-latest a:hover .fr-latest__title { color: var(--fr-green); }

/* 一覧ページ */
.fr-news-archive { max-width: 1040px; margin: 0 auto; }
.fr-pager { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.fr-pager a, .fr-pager span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; border-radius: 999px; border: 2px solid var(--fr-green); color: var(--fr-green); font-weight: 700; text-decoration: none; box-sizing: border-box; }
.fr-pager span { background: var(--fr-green); color: #fff; }

/* 記事ページ */
.fr-art { max-width: 800px; margin: 0 auto; }
.fr-art-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; row-gap: 8px; }
.fr-art-title { font-size: 28px; line-height: 1.6; letter-spacing: .06em; margin: 16px 0 32px; font-weight: 700; color: var(--fr-text); word-break: auto-phrase; text-wrap: pretty; }
.fr-art-eye { margin: 0 0 40px; border-radius: var(--fr-radius); overflow: hidden; }
.fr-art-eye img { width: 100%; height: auto; display: block; }
.fr-art-body { font-size: 16px; line-height: 2; }
.fr-art-body p { margin: 0 0 1.6em; }
.fr-art-body h2 { font-size: 20px; line-height: 1.6; margin: 56px 0 20px; padding: 4px 0 4px 16px; border-left: 5px solid var(--fr-green); font-weight: 700; }
.fr-art-body h3 { font-size: 18px; line-height: 1.6; margin: 40px 0 16px; font-weight: 700; }
.fr-art-body img { border-radius: 10px; height: auto; }
.fr-art-body figure { margin: 0 0 32px; }
.fr-art-body figcaption { font-size: 13px; color: var(--fr-sub); margin-top: 8px; }
/* 記事の中の表（Gutenberg の表のブロック） */
.fr-art-body .wp-block-table { margin: 0 0 32px; overflow-x: auto; }
.fr-art-body .wp-block-table table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.8; }
.fr-art-body .wp-block-table td, .fr-art-body .wp-block-table th { border: 1px solid rgba(0, 153, 68, .25); padding: 12px 16px; vertical-align: top; text-align: left; }
.fr-art-body .wp-block-table tr > :first-child { width: 30%; background: var(--fr-tint); font-weight: 700; color: var(--fr-text); white-space: nowrap; }
@media (max-width: 600px) { .fr-art-body .wp-block-table td, .fr-art-body .wp-block-table th { padding: 10px 12px; font-size: 14px; } .fr-art-body .wp-block-table tr > :first-child { width: 34%; white-space: normal; } }
/* 記事の副題（題の下の1〜2行）と、注記（※で始まる文） */
.fr-art p.fr-art-sub { font-weight: 700; line-height: 1.7; margin: 0 0 8px; color: var(--fr-text); }
.fr-art p.fr-art-sub--lg { font-size: 19px; }
/* 本文の先頭の副題は、題名のすぐ下・写真の上に出す（PHP の the_content。長井さん 11/10） */
.fr-art-lead { margin: -16px 0 32px; }
.fr-art-lead p.fr-art-sub:last-child { margin-bottom: 0; }
.fr-art-body p.fr-art-sub + p:not(.fr-art-sub) { margin-top: 32px; }
.fr-art-body p.fr-art-note { font-size: 13px; line-height: 1.8; color: var(--fr-sub); }
@media (max-width: 600px) { .fr-art p.fr-art-sub--lg { font-size: 17px; } }
/* 見出しの区切りのまとまり（PHP の fr_phrases()）。まとまりの中では、Chrome は言葉の区切りで折り返す */
.fr-art .fr-ph { display: inline-block; }
.fr-art-body h2, .fr-art-body h3, .fr-art p.fr-art-sub { word-break: auto-phrase; text-wrap: pretty; }
.fr-press-box { margin: 64px 0 0; background: var(--fr-tint); border-radius: var(--fr-radius); padding: 32px; border: 1px solid rgba(0, 153, 68, .2); }
.fr-press-box h2 { margin: 0 0 12px; font-size: 18px; line-height: 1.6; font-weight: 700; border: 0; padding: 0; }
.fr-press-box p { margin: 0 0 20px; font-size: 15px; line-height: 1.9; }
.fr-press-box .fr-note { font-size: 13px; color: var(--fr-sub); margin: 16px 0 0; }
.fr-art .fr-btn-row { margin-top: 56px; }

/* お問い合わせ：種類を選ぶ札 */
.fr-ct { max-width: 960px; margin: 0 auto 8px; }
.fr-step { font-size: 20px; font-weight: 700; letter-spacing: .06em; margin: 0 0 20px; line-height: 1.5; color: var(--fr-text); }
.fr-step__no { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--fr-green); color: #fff; font-size: 15px; margin-right: 12px; vertical-align: 2px; }
.fr-types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0 0 56px; padding: 0; border: 0; min-width: 0; }
.fr-type { position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 22px 20px; border: 2px solid var(--fr-line); border-radius: var(--fr-radius); background: #fff; cursor: pointer; margin: 0; }
.fr-type input { position: absolute; opacity: 0; pointer-events: none; }
.fr-type__dot { flex: none; width: 24px; height: 24px; border-radius: 50%; border: 2px solid #b5b5b5; margin-top: 2px; position: relative; background: #fff; box-sizing: border-box; }
.fr-type__t { display: block; font-weight: 700; font-size: 15.5px; line-height: 1.5; letter-spacing: .02em; word-break: auto-phrase; text-wrap: balance; }
.fr-type__d { display: block; font-size: 13px; color: var(--fr-sub); line-height: 1.7; margin-top: 6px; letter-spacing: .02em; word-break: auto-phrase; text-wrap: pretty; }
.fr-type:has(input:checked), .fr-type.is-checked { border-color: var(--fr-green); background: var(--fr-tint); }
.fr-type:has(input:checked) .fr-type__dot, .fr-type.is-checked .fr-type__dot { border-color: var(--fr-green); }
.fr-type:has(input:checked) .fr-type__dot::after, .fr-type.is-checked .fr-type__dot::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--fr-green); }
.fr-type:has(input:focus-visible) { outline: 3px solid rgba(0, 153, 68, .35); outline-offset: 2px; }
.fr-waiting { background: var(--fr-gray); border-radius: var(--fr-radius); padding: 28px; text-align: center; font-size: 15px; color: var(--fr-sub); margin: 0 0 24px; }
/* 種類を選ぶまで、フォームは出さない */
.elementor-widget.fr-form { display: none; }
.elementor-widget.fr-form.is-on { display: block; }
.fr-kari { background: #fff7e8; border: 1px solid var(--e-global-color-accent, #F6AC2D); border-radius: 10px; padding: 12px 16px; font-size: 13px; line-height: 1.7; margin: 0; }

/* スマホ */
@media (max-width: 900px) {
  .fr-news-sec { padding: 56px 16px 64px; margin: 40px 0 48px; }
  .fr-sec-ttl { margin-bottom: 28px; }
  .fr-sec-ttl__ja { font-size: 24px; }
  .fr-news-list { padding: 4px 20px; }
  .fr-news-list a { grid-template-columns: auto 1fr 30px; grid-template-areas: "date lbls chev" "title title chev"; column-gap: 12px; row-gap: 8px; padding: 20px 0; }
  .fr-news-list .fr-date { grid-area: date; }
  .fr-news-list .fr-lbls { grid-area: lbls; }
  .fr-news-list .fr-news-title { grid-area: title; font-size: 15px; }
  .fr-news-list .fr-chev { grid-area: chev; }
  .fr-latest { margin-top: calc(-4vw - 28px); padding: 0 16px; }
  .fr-latest a { border-radius: 18px; flex-wrap: wrap; gap: 6px 10px; padding: 14px 14px 14px 18px; }
  .fr-latest__head { width: 100%; }
  .fr-latest__title { white-space: normal; flex-basis: calc(100% - 44px); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .fr-art-title { font-size: 22px; }
  .fr-press-box { padding: 24px 20px; }
  .fr-press-box h2 { font-size: 16px; }
  .fr-step { font-size: 17px; letter-spacing: .02em; }
  .fr-step__no { width: 28px; height: 28px; font-size: 14px; margin-right: 10px; }
  .fr-types { grid-template-columns: 1fr; gap: 12px; margin-bottom: 44px; }
  .fr-type { padding: 18px 16px; }
}
@media (max-width: 600px) {
  .fr-tabs { flex-wrap: nowrap; gap: 8px; margin-bottom: 20px; }
  .fr-tab { padding: 0 14px; font-size: 14px; letter-spacing: .02em; min-width: 0; }
  .fr-lbl { height: 24px; padding: 0 10px; font-size: 11px; letter-spacing: .04em; }
  .fr-lbls { flex-wrap: nowrap; }
  .fr-btn { padding: 0 26px; font-size: 15px; letter-spacing: .04em; }
}

/* サイト全体の見出しの設定（.elementor-kit-9 h1〜h3）より強く効かせる */
.fr-news-sec h2.fr-sec-ttl, .fr-ct h2.fr-step, .fr-art h1.fr-art-title, .fr-art .fr-press-box h2, .fr-art .fr-art-body h2, .fr-art .fr-art-body h3 { font-family: "Noto Sans JP", sans-serif; text-transform: none; }
.fr-news-sec h2.fr-sec-ttl { font-size: inherit; letter-spacing: normal; color: var(--fr-text); }
.fr-ct h2.fr-step { font-size: 20px; letter-spacing: .06em; color: var(--fr-text); line-height: 1.5; word-break: auto-phrase; }
.fr-art h1.fr-art-title { font-size: 28px; letter-spacing: .06em; color: var(--fr-text); line-height: 1.6; }
.fr-art .fr-press-box h2 { font-size: 18px; letter-spacing: .04em; color: var(--fr-text); line-height: 1.6; }
.fr-art .fr-art-body h2 { font-size: 20px; letter-spacing: .04em; color: var(--fr-text); line-height: 1.6; }
.fr-art .fr-art-body h3 { font-size: 18px; letter-spacing: .04em; color: var(--fr-text); line-height: 1.6; }
@media (max-width: 900px) {
  .fr-ct h2.fr-step { font-size: 17px; letter-spacing: .02em; }
  .fr-art h1.fr-art-title { font-size: 22px; }
  .fr-art .fr-press-box h2 { font-size: 16px; }
  .fr-art .fr-art-body h2 { font-size: 18px; }
}

/* 絞り込みのボタン・ページ番号：ふだん／ホバー／選択中（2026-10-08 前川さんの指定）
   サイト全体のボタンの設定（ホバーで灰色・押すと枠が黒）に負けないよう、状態をすべて強めに決める */
.fr-tabs .fr-tab, .fr-tabs .fr-tab:focus, .fr-tabs .fr-tab:active,
.fr-pager a, .fr-pager a:focus, .fr-pager a:active {
  background: #fff !important; border: 2px solid var(--fr-green) !important; color: var(--fr-green) !important;
  box-shadow: none !important; outline: none; text-decoration: none !important;
  transition: background-color .15s ease, color .15s ease;
}
/* ホバー：枠線は緑のまま、塗りをオレンジ（文字は読みやすい濃い色）。マウスのある端末だけ */
@media (hover: hover) {
  .fr-tabs .fr-tab:hover, .fr-pager a:hover {
    background: var(--e-global-color-accent, #F6AC2D) !important; border-color: var(--fr-green) !important; color: var(--fr-text) !important;
  }
}
/* 選択中：緑ベタに白の枠線（ホバーしても変えない） */
.fr-tabs .fr-tab[aria-selected="true"], .fr-tabs .fr-tab[aria-selected="true"]:hover, .fr-tabs .fr-tab[aria-selected="true"]:focus,
.fr-tabs .fr-tab[aria-current="page"], .fr-tabs .fr-tab[aria-current="page"]:hover, .fr-tabs .fr-tab[aria-current="page"]:focus,
.fr-pager span[aria-current="page"] {
  background: var(--fr-green) !important; border-color: #fff !important; color: #fff !important;
}
/* キーボードで選んだときだけ、外側に目印 */
.fr-tabs .fr-tab:focus-visible, .fr-pager a:focus-visible { outline: 3px solid rgba(0, 153, 68, .35) !important; outline-offset: 2px; }

/* フッターの上のロゴの帯（2026-10-08）：ロゴの高さをそろえ、ロゴとロゴの間を同じ幅で空けて流す */
.fr-marquee { overflow: hidden; width: 100%; }
.fr-marquee__track { display: flex; align-items: center; width: max-content; animation: fr-marquee 60s linear infinite; }
.fr-marquee__item { flex: none; display: flex; align-items: center; margin-right: 72px; }
.fr-marquee__item img { display: block; height: 36px !important; width: auto !important; max-width: none !important; }
.fr-marquee:hover .fr-marquee__track { animation-play-state: paused; }
@keyframes fr-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .fr-marquee__track { animation: none; } }
@media (max-width: 600px) { .fr-marquee__item { margin-right: 44px; } .fr-marquee__item img { height: 28px !important; } }

/* ロゴを押すとそのECサイトへ。マウスを乗せたロゴは少し薄くして、押せることが分かるように */
a.fr-marquee__item { cursor: pointer; transition: opacity .15s ease; }
@media (hover: hover) { a.fr-marquee__item:hover { opacity: .7; } }
a.fr-marquee__item:focus-visible { outline: 3px solid rgba(0, 153, 68, .35); outline-offset: 4px; border-radius: 4px; }

/* パンくずリスト（2026-11-10 前川さんの指示）：字は14px、家のマーク・矢印・文字のすき間はすべて同じ12px
   パンくずの部品（Happy Addons）は家のマークの右に10pxの余白を足し、項目ごとに右へ15pxの余白を付ける。両方を打ち消して gap だけで空ける */
.elementor-widget-ha-breadcrumbs ul.ha-breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; column-gap: 12px; row-gap: 4px; font-size: 14px; line-height: 1.6; }
.elementor-widget-ha-breadcrumbs ul.ha-breadcrumbs li,
.elementor-widget-ha-breadcrumbs ul.ha-breadcrumbs li:last-child { margin: 0; font-size: 14px; }
.elementor-widget-ha-breadcrumbs ul.ha-breadcrumbs span.ha-breadcrumbs-home-icon { margin-right: 0; }
.elementor-widget-ha-breadcrumbs ul.ha-breadcrumbs .ha-breadcrumbs-separator-icon > * { font-size: 11px; }
/* 日本語の字は両脇に1〜2pxの余白を持つので、文字の項目だけ1pxずつ詰め、目で見たすき間も12px前後にそろえる */
.elementor-widget-ha-breadcrumbs ul.ha-breadcrumbs li.ha-breadcrumbs-item:not(.ha-breadcrumbs-start) { margin: 0 -1px; }
