@charset "UTF-8";
/*
 * common.css
 *
 * コンテナ表示側 共通スタイル（全ページ共有）
 *
 * 構成：
 *   1. リセット／ベース
 *   2. タイポグラフィ
 *   3. リンク／ボタン
 *   4. レイアウト（コンテナ／インナー）
 *   5. ヘッダー
 *   6. グローバルナビ
 *   7. フッター
 *   8. ユーティリティ
 *   9. メディアクエリ
 *
 * 命名：snake_case 全小文字（コーディングガイドライン準拠）
 * 色・フォント：theme.css の CSS 変数を参照
 */
/* ===== 1. リセット／ベース ===== */
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}
/* 横スクロール完全禁止（slick 等のはみ出しを吸収）。
   `overflow-x: clip` は祖先にスクロールコンテナを生成しないため、
   ヘッダーの position: sticky を破壊しない。
   非対応ブラウザ向けに hidden フォールバックを併記。 */
html, body {
  overflow-x: hidden;
  /* legacy fallback */
  overflow-x: clip;
  /* modern: sticky を維持しつつ横スクロール禁止 */
}
body {
  margin: 0;
  font-family: var(--font_base);
  font-size: 16px;
  line-height: 1.75;
  color: var(--c_text);
  background-color: var(--c_bg_base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
ul, ol {
  margin: 0;
  padding: 0;
}
li {
  list-style: none;
}
figure {
  margin: 0;
}
table {
  border-collapse: collapse;
}
button {
  cursor: pointer;
  font-family: inherit;
}
/* ===== 2. タイポグラフィ ===== */
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--font_heading);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.005em;
  color: var(--c_text);
}
p {
  margin: 0 0 1em;
}
p:last-child {
  margin-bottom: 0;
}
.section_title {
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 600;
  text-align: center;
  margin-bottom: var(--space_sm);
  letter-spacing: -0.01em;
}
.section_title_en {
  display: block;
  font-family: var(--font_en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--c_primary);
  margin-bottom: var(--space_sm);
  text-align: center;
  text-transform: uppercase;
}
.section_lead {
  text-align: center;
  color: var(--c_text_muted);
  max-width: 640px;
  margin: 0 auto var(--space_xl);
  line-height: 1.9;
}
/* ===== 3. リンク／ボタン ===== */
a {
  color: var(--c_text_link);
  text-decoration: none;
  transition: color var(--transition_fast);
}
a:hover, a:focus-visible {
  color: var(--c_text_link_hover);
  /* text-decoration: underline をやめて色変化のみで hover を表現。
     a 内のアイコン・矢印（::before/::after や Material Symbols）に
     下線が伝播するのを根本から防ぐ。
     本文中の常時下線が欲しいリンクは .editor a などで個別指定済み。 */
}
a:focus-visible {
  outline: 2px solid var(--c_primary);
  outline-offset: 2px;
}
/* ニュートラル・テック仕様：角は控えめに rounded、ラベルは細め weight。
   英字ボタンの letter-spacing をやや広めに取って SaaS コンソール風に。 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  min-height: 48px;
  padding: 0 28px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: center;
  border: 1px solid transparent;
  border-radius: var(--radius_sm);
  transition: background-color var(--transition_fast), color var(--transition_fast), border-color var(--transition_fast), transform var(--transition_fast);
}
.btn_primary {
  background-color: var(--c_primary);
  color: var(--c_text_inverse);
}
.btn_primary:hover, .btn_primary:focus-visible {
  background-color: var(--c_primary_dark);
  color: var(--c_text_inverse);
  text-decoration: none;
}
.btn_outline {
  background-color: transparent;
  color: var(--c_primary);
  border-color: var(--c_primary);
}
.btn_outline:hover, .btn_outline:focus-visible {
  background-color: var(--c_primary);
  color: var(--c_text_inverse);
  text-decoration: none;
}
.btn_ghost {
  background-color: transparent;
  color: var(--c_text);
  border-color: var(--c_border);
}
.btn_ghost:hover, .btn_ghost:focus-visible {
  background-color: var(--c_bg_section);
  color: var(--c_text);
  text-decoration: none;
}
/* ===== 4. レイアウト ===== */
.l_container {
  width: 100%;
  max-width: var(--max_content_width);
  margin-inline: auto;
  padding-inline: var(--space_lg);
}
.l_inner {
  width: 100%;
  max-width: var(--max_text_width);
  margin-inline: auto;
}
.l_section {
  padding-block: clamp(48px, 7vw, 96px);
}
.l_section_alt {
  background-color: var(--c_bg_section);
}
/* スキップリンク（WCAG 対応） */
.skip_link {
  position: absolute;
  top: -100px;
  left: 0;
  padding: 12px 16px;
  background: var(--c_primary);
  color: var(--c_text_inverse);
  z-index: 9999;
}
.skip_link:focus {
  top: 0;
}
/* ===== 5. ヘッダー ===== */
.site_header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--c_header_bg);
  border-bottom: 1px solid var(--c_header_border);
  color: var(--c_header_text);
}
.site_header_inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header_height_pc);
  padding-inline: var(--space_lg);
  max-width: var(--max_content_width);
  margin-inline: auto;
}
.site_logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 700;
  color: var(--c_header_text);
  text-decoration: none;
  line-height: 1;
}
.site_logo:hover, .site_logo:focus-visible {
  text-decoration: none;
  color: var(--c_primary);
}
.site_logo:focus-visible {
  outline: 2px solid var(--c_primary);
  outline-offset: 2px;
}
/* ロゴ画像（SVG 想定）。大きい画像が入っても枠内に収まるよう上限を設定し、
   object-fit: contain で歪み・はみ出しを防ぐ。 */
.site_logo_img {
  width: auto;
  height: 36px;
  max-height: 36px;
  max-width: 200px;
  object-fit: contain;
  display: block;
}
/* ロゴ右側のサイト名テキスト */
.site_logo_text {
  display: inline-block;
}
@media (max-width: 640px) {
  .site_logo {
    gap: 8px;
    font-size: 17px;
  }
  .site_logo_img {
    height: 30px;
    max-height: 30px;
    max-width: 150px;
  }
}
/* ロゴ画像の下にサイト名称を表示するパターン（site_logo_name がある時だけ縦並び） */
.site_logo:has(.site_logo_name) {
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}
.site_logo_name {
  font-family: var(--font_en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  color: var(--c_text_muted);
  white-space: nowrap;
}
.site_logo:hover .site_logo_name, .site_logo:focus-visible .site_logo_name {
  color: var(--c_primary);
}
/* ===== 6. グローバルナビ ===== */
.global_nav {
  display: flex;
  align-items: center;
}
.global_nav_list {
  display: flex;
  gap: var(--space_xl);
  align-items: center;
}
.global_nav_link {
  display: inline-block;
  padding: 8px 0;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--c_header_text);
  text-decoration: none;
  position: relative;
}
.global_nav_link:hover, .global_nav_link:focus-visible {
  color: var(--c_primary);
  text-decoration: none;
}
.global_nav_link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 0;
  height: 2px;
  background-color: var(--c_primary);
  transition: width var(--transition_base), left var(--transition_base);
}
.global_nav_link:hover::after, .global_nav_link.is_current::after {
  width: 100%;
  left: 0;
}
.global_nav_cta {
  margin-left: var(--space_lg);
}
/* スマホメニュー開閉ボタン */
.menu_toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  position: relative;
}
.menu_toggle_bar {
  display: block;
  position: absolute;
  left: 10px;
  width: 24px;
  height: 2px;
  background-color: var(--c_header_text);
  transition: transform var(--transition_base), opacity var(--transition_base);
}
.menu_toggle_bar:nth-child(1) {
  top: 14px;
}
.menu_toggle_bar:nth-child(2) {
  top: 21px;
}
.menu_toggle_bar:nth-child(3) {
  top: 28px;
}
.menu_toggle[aria-expanded="true"] .menu_toggle_bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu_toggle[aria-expanded="true"] .menu_toggle_bar:nth-child(2) {
  opacity: 0;
}
.menu_toggle[aria-expanded="true"] .menu_toggle_bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
/* ===== 7. フッター ===== */
.site_footer {
  background-color: var(--c_footer_bg);
  color: var(--c_footer_text);
  padding-block: var(--space_2xl) var(--space_lg);
}
.site_footer_inner {
  max-width: var(--max_content_width);
  margin-inline: auto;
  padding-inline: var(--space_lg);
}
.site_footer_top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: var(--space_xl);
  padding-bottom: var(--space_2xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer_brand_logo {
  font-size: 22px;
  font-weight: 700;
  color: var(--c_text_inverse);
  margin-bottom: var(--space_md);
}
.footer_brand_desc {
  font-size: 14px;
  color: var(--c_footer_text_muted);
  line-height: 1.8;
}
.footer_block_title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--c_text_inverse);
  margin-bottom: var(--space_md);
  text-transform: uppercase;
}
.footer_link_list {
  display: flex;
  flex-direction: column;
  gap: var(--space_sm);
}
.footer_link {
  font-size: 14px;
  color: var(--c_footer_text);
  text-decoration: none;
}
.footer_link:hover {
  color: var(--c_text_inverse);
  text-decoration: underline;
}
.site_footer_bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space_lg);
  font-size: 12px;
  color: var(--c_footer_text_muted);
}
.copyright {
  font-family: var(--font_en);
  letter-spacing: 0.05em;
}
.footer_meta_list {
  display: flex;
  gap: var(--space_md);
}
.footer_meta_list a {
  font-size: 12px;
  color: var(--c_footer_text_muted);
}
/* ===== 7-ex. お知らせ一覧（.post_list_mod）：全ページ共通 =====
   mid=26 ページモジュールが出力する HTML 構造をトップ・お知らせ一覧・
   投稿本文の 3 か所で再利用するため、page_module.css から切り出して
   common.css 側に置く。テーマカラー追従は theme.css の --c_* 変数を使う。

   想定構造：
     <div class="post_list_mod">
       <ul>
         <li><a href="…">
           <time datetime="…">2026.05.15</time>
           <span class="cat">お知らせ</span>
           <span class="ttl">記事タイトル</span>
         </a></li>
       …
       </ul>
     </div>
*/
/* lower.css の .post_article_body ul { padding-left: 1.5em } 等が
   詳細度で勝ってしまうため !important で確実にゼロ化。 */
.post_list_mod ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border-top: 1px solid var(--c_border_light);
}
.post_list_mod li {
  list-style: none !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
  border-bottom: 1px solid var(--c_border_light);
}
.post_list_mod li::marker, .post_list_mod li::before {
  content: none !important;
}
.post_list_mod li a {
  display: grid;
  /* 日付・カテゴリ列はコンテンツ幅にフィット（改行しない最小幅）、タイトルは残り */
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: var(--space_md);
  padding: 14px 4px;
  color: var(--c_text);
  text-decoration: none;
  transition: opacity var(--transition_fast);
}
.post_list_mod li a:hover, .post_list_mod li a:focus-visible {
  opacity: 0.7;
  color: var(--c_text);
  text-decoration: none;
}
.post_list_mod li a:focus-visible {
  outline: 2px solid var(--c_primary);
  outline-offset: 2px;
  opacity: 1;
}
.post_list_mod time {
  font-family: var(--font_en);
  font-size: 13px;
  color: var(--c_text_muted);
  white-space: nowrap;
  /* 日付は改行禁止 */
}
.post_list_mod .cat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--c_primary);
  border: 1px solid var(--c_primary);
  border-radius: var(--radius_sm);
  width: fit-content;
  white-space: nowrap;
}
.post_list_mod .ttl {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--c_text);
}
@media (max-width: 700px) {
  .post_list_mod li a {
    grid-template-columns: auto 1fr;
    grid-template-areas: "date category" "title title";
    gap: 4px var(--space_sm);
    padding: 12px 4px;
  }
  .post_list_mod time {
    grid-area: date;
  }
  .post_list_mod .cat {
    grid-area: category;
    justify-self: start;
  }
  .post_list_mod .ttl {
    grid-area: title;
  }
}
/* ===== 7-ex0. リンク内のアイコン・矢印にはアンダーラインを引かない =====
   親 <a> の text-decoration: underline が ::before / ::after や
   .material-symbols-outlined の Material アイコンに伝播するのを防ぐ。
   下線はテキスト部分にのみ表示される。 */
a::before, a::after {
  text-decoration: none;
}
a .material-symbols-outlined, a .material-icons, a .material-icons-outlined, a > svg, a > img {
  display: inline-block;
  text-decoration: none;
  vertical-align: middle;
}
/* ===== 7-ex1. Google Material Symbols Outlined =====
   管理画面（cms/html/__ctnAdmin）と同じアイコン定義を共通化。
   フロント全ページで <span class="material-symbols-outlined">アイコン名</span>
   形式で利用可能。Google Fonts CDN は各 HTML の <head> から読み込み。 */
.material-symbols-outlined, .material-icons, .material-icons-outlined {
  font-family: "Material Symbols Outlined", "Material Icons Outlined", "Material Icons";
  font-weight: normal;
  font-style: normal;
  font-size: 1em;
  /* 親の font-size に追従、必要に応じて個別指定 */
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  vertical-align: middle;
  font-feature-settings: "liga";
  -webkit-font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Material Symbols 軸変数（filled / weight / grade / optical size） */
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}
/* ===== 7-ex2. スライダー共通フェードイン =====
   slick はロード時に一瞬「縦並び」になるためチラつきが見える。
   .slider クラスを当てて初期は不可視（opacity:0）にしておき、
   slick 初期化完了時に自動付与される .slick-initialized で opacity:1 へ遷移。 */
.slider {
  opacity: 0;
  transition: opacity 0.3s linear;
}
.slider.slick-initialized {
  opacity: 1;
}
/* slick の base スタイル（slick.css を使わない代わりに最小限を自前定義）。
   .slider クラスに対して共通で当て、 .home_events_slider / .banner_slider /
   .logo_banner_slider / .post_related_slider など全てで動作させる。 */
.slider.slick-slider {
  position: relative;
  display: block;
  box-sizing: border-box;
  user-select: none;
  -webkit-touch-callout: none;
  touch-action: pan-y;
}
.slider .slick-list {
  position: relative;
  overflow: hidden;
  display: block;
  margin: 0;
  padding: 0;
}
.slider .slick-list:focus {
  outline: none;
}
.slider .slick-track {
  position: relative;
  top: 0;
  left: 0;
  display: flex;
  align-items: stretch;
}
.slider .slick-track::before, .slider .slick-track::after {
  content: "";
  display: table;
}
.slider .slick-slide {
  display: none;
  float: left;
  min-height: 1px;
  outline: none;
}
.slider.slick-initialized .slick-slide {
  display: block;
}
.slider.slick-loading .slick-slide {
  visibility: hidden;
}
/* ===== 7-ex3. ページトップへ戻るボタン（全ページ共通）
   common.js が DOMContentLoaded で body 末尾に <button class="page_top"> を
   自動挿入。ファーストビュー時は非表示、scrollY > 300px で表示。
   矢印は CSS border 回転で描画（フォント依存なし）。 */
.page_top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--c_primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color var(--transition_fast);
  appearance: none;
  -webkit-appearance: none;
  box-shadow: var(--shadow_md);
}
/* スクロール後に表示 */
.page_top.is_visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.page_top:hover, .page_top:focus-visible {
  background: var(--c_primary_dark);
  outline: none;
}
.page_top:focus-visible {
  outline: 2px solid var(--c_primary);
  outline-offset: 2px;
}
/* 上向き矢印を border 回転で描画 */
.page_top_arrow {
  display: block;
  width: 12px;
  height: 12px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(-45deg);
  margin-top: 4px;
  /* 視覚的な中央調整 */
}
@media (max-width: 640px) {
  .page_top {
    right: 16px;
    bottom: 16px;
    width: 44px;
    height: 44px;
  }
}
/* prefers-reduced-motion 配慮：アニメ無効化 */
@media (prefers-reduced-motion: reduce) {
  .page_top {
    transition: opacity 0.01s, visibility 0.01s;
  }
}
/* ===== 8. ユーティリティ ===== */
.u_sr_only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.u_text_center {
  text-align: center;
}
.u_mb_md {
  margin-bottom: var(--space_md);
}
.u_mb_xl {
  margin-bottom: var(--space_xl);
}
/* ===== 9. メディアクエリ：1024px以下（iPad横） ===== */
@media (max-width: 1024px) {
  .l_container {
    padding-inline: var(--space_md);
  }
  .global_nav_list {
    gap: var(--space_lg);
  }
  .global_nav_cta {
    margin-left: var(--space_md);
  }
}
/* ===== メディアクエリ：900px以下（タブレット） ===== */
@media (max-width: 900px) {
  .site_footer_top {
    grid-template-columns: 1fr 1fr;
  }
}
/* ===== メディアクエリ：640px以下（スマホ） ===== */
@media (max-width: 640px) {
  /* iOS Safari の自動拡大防止：フォーム要素のフォントは16px固定 */
  body {
    font-size: 15px;
  }
  .site_header_inner {
    height: var(--header_height_sp);
    padding-inline: var(--space_md);
  }
  .menu_toggle {
    display: block;
  }
  .global_nav {
    position: fixed;
    top: var(--header_height_sp);
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 320px;
    background-color: var(--c_header_bg);
    border-left: 1px solid var(--c_border);
    transform: translateX(100%);
    transition: transform var(--transition_base);
    overflow-y: auto;
  }
  .global_nav.is_open {
    transform: translateX(0);
    box-shadow: var(--shadow_lg);
  }
  .global_nav_list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--space_md);
  }
  .global_nav_link {
    display: block;
    padding: 14px var(--space_md);
    border-bottom: 1px solid var(--c_border_light);
  }
  .global_nav_link::after {
    display: none;
  }
  .global_nav_cta {
    margin-left: 0;
    margin-top: var(--space_md);
    padding-inline: var(--space_md);
  }
  .global_nav_cta .btn {
    width: 100%;
  }
  .site_footer {
    padding-block: var(--space_xl) var(--space_md);
  }
  .site_footer_top {
    grid-template-columns: 1fr;
    gap: var(--space_lg);
    padding-bottom: var(--space_xl);
  }
  .site_footer_bottom {
    flex-direction: column;
    gap: var(--space_sm);
    text-align: center;
  }
  .btn {
    min-width: 0;
    width: 100%;
  }
  input, select, textarea, button {
    font-size: 16px;
  }
}
/* ===== 10. サイト内検索（ヘッダー） ===== */
.ctn-search-form {
  display: flex;
  flex-direction: column;
  gap: var(--space_xs);
  margin-left: var(--space_lg);
}
.ctn-search-form__label {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  white-space: nowrap;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
}
.ctn-search-form__row {
  display: flex;
  align-items: stretch;
  gap: var(--space_xs);
}
.ctn-search-form__input {
  width: clamp(132px, 13vw, 188px);
  height: 40px;
  padding: 0 12px;
  font-family: var(--font_base);
  color: var(--c_text);
  background-color: var(--c_bg_card, #fff);
  border: 1px solid var(--c_border_strong);
  border-radius: var(--radius_sm);
  appearance: none;
  -webkit-appearance: none;
  transition: border-color var(--transition_base), box-shadow var(--transition_base);
}
.ctn-search-form__input::placeholder {
  color: var(--c_text_muted);
}
.ctn-search-form__input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}
.ctn-search-form__input:focus-visible {
  outline: none;
  border-color: var(--c_primary);
  box-shadow: 0 0 0 3px var(--c_primary_light);
}
.ctn-search-form__btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 18px;
  font-family: var(--font_base);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
  color: var(--c_text_inverse);
  background-color: var(--c_primary);
  border: 1px solid var(--c_primary);
  border-radius: var(--radius_sm);
  cursor: pointer;
  transition: background-color var(--transition_base), border-color var(--transition_base);
}
.ctn-search-form__btn:hover, .ctn-search-form__btn:focus-visible {
  background-color: var(--c_primary_dark);
  border-color: var(--c_primary_dark);
}
.ctn-search-form__btn:focus-visible {
  outline: 2px solid var(--c_primary);
  outline-offset: 2px;
}
/* 1024px 以下：ナビが詰まるため検索入力を一段コンパクトに */
@media (max-width: 1024px) {
  .ctn-search-form {
    margin-left: var(--space_md);
  }
  .ctn-search-form__input {
    width: clamp(120px, 11vw, 150px);
  }
  .ctn-search-form__btn {
    padding: 0 14px;
  }
}
/* 641〜1100px：フルナビ表示中はヘッダーが詰まるため検索を非表示
   （640px 以下のモバイルドロワー内では再表示される） */
@media (min-width: 641px) and (max-width: 1100px) {
  .ctn-search-form {
    display: none;
  }
}
/* 640px 以下：モバイルドロワー内では縦積み・全幅 */
@media (max-width: 640px) {
  .global_nav {
    flex-direction: column;
    align-items: stretch;
  }
  .ctn-search-form {
    margin: var(--space_md) 0 0;
    padding-inline: var(--space_md);
  }
  .ctn-search-form__label {
    position: static;
    width: auto;
    height: auto;
    margin: 0 0 var(--space_xs);
    clip: auto;
    clip-path: none;
    font-size: 12px;
    font-weight: 600;
    color: var(--c_text_muted);
  }
  .ctn-search-form__input {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
  }
}
/* ===== 11. 検索結果ページ（.ctn-search） ===== */
.ctn-search {
  max-width: 880px;
  margin-inline: auto;
  padding-block: clamp(40px, 6vw, 72px);
}
/* 本文内の検索ボックス：ヘッダーのコンパクト版を上書きして大きく見せる */
.ctn-search .ctn-search-form {
  margin: 0 0 var(--space_xl);
  display: block;
}
.ctn-search .ctn-search-form__label {
  position: static;
  width: auto;
  height: auto;
  margin: 0 0 var(--space_sm);
  clip: auto;
  clip-path: none;
  overflow: visible;
  white-space: normal;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--c_text_muted);
}
.ctn-search .ctn-search-form__row {
  gap: var(--space_sm);
}
.ctn-search .ctn-search-form__input {
  flex: 1 1 auto;
  width: auto;
  height: 52px;
  padding-inline: 18px;
  border-radius: var(--radius_md);
}
.ctn-search .ctn-search-form__btn {
  height: 52px;
  padding-inline: 28px;
  border-radius: var(--radius_md);
  font-size: 15px;
}
.ctn-search__summary {
  margin: 0 0 var(--space_lg);
  padding-bottom: var(--space_md);
  border-bottom: 1px solid var(--c_border);
  font-size: 15px;
  color: var(--c_text_muted);
}
.ctn-search__summary strong {
  color: var(--c_text);
  font-weight: 700;
}
.ctn-search__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space_md);
}
.ctn-search__item {
  list-style: none;
}
.ctn-search__link {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas: "badge title" "badge excerpt";
  gap: 6px var(--space_md);
  padding: var(--space_lg);
  background-color: var(--c_bg_card);
  border: 1px solid var(--c_border);
  border-radius: var(--radius_md);
  text-decoration: none;
  transition: border-color var(--transition_base), background-color var(--transition_base), transform var(--transition_base);
}
.ctn-search__link:hover, .ctn-search__link:focus-visible {
  border-color: var(--c_primary);
  background-color: color-mix(in oklab, var(--c_primary) 5%, var(--c_bg_card));
  transform: translateY(-1px);
  text-decoration: none;
}
.ctn-search__badge {
  grid-area: badge;
  align-self: start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font_en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  color: var(--c_primary);
  border: 1px solid var(--c_primary);
  border-radius: var(--radius_sm);
  white-space: nowrap;
}
.ctn-search__title {
  grid-area: title;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--c_text);
}
.ctn-search__excerpt {
  grid-area: excerpt;
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--c_text_muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ctn-search mark {
  background-color: color-mix(in oklab, var(--c_primary) 22%, transparent);
  color: inherit;
  padding: 0 2px;
  border-radius: 2px;
}
.ctn-search__empty {
  padding: var(--space_xl);
  text-align: center;
  color: var(--c_text_muted);
  border: 1px dashed var(--c_border);
  border-radius: var(--radius_md);
}
@media (max-width: 640px) {
  .ctn-search__link {
    grid-template-columns: 1fr;
    grid-template-areas: "badge" "title" "excerpt";
  }
  .ctn-search__badge {
    justify-self: start;
  }
}
/* ===== 検索結果ページネーション ===== */
.ctn-search__pager {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: var(--space_xl);
}
.ctn-search__pager a, .ctn-search__pager span {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  font-family: var(--font_en);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--c_text);
  background-color: var(--c_bg_card);
  border: 1px solid var(--c_border);
  border-radius: var(--radius_sm);
  text-decoration: none;
  transition: border-color var(--transition_base), color var(--transition_base), background-color var(--transition_base), transform var(--transition_base);
}
.ctn-search__pager a:hover, .ctn-search__pager a:focus-visible {
  border-color: var(--c_primary);
  color: var(--c_primary);
  transform: translateY(-1px);
  text-decoration: none;
}
.ctn-search__pager .is-current {
  background-color: var(--c_primary);
  border-color: var(--c_primary);
  color: #fff;
  cursor: default;
}
.ctn-search__pager .is-prev, .ctn-search__pager .is-next {
  padding: 0 18px;
}
