/* ============================================================
   ふくい文化創造センター アーツカウンシル
   common.css — 全ページ共通スタイル
   更新: 2026-04-15
   ============================================================ */


/* ===== Google Fonts 読み込み =====
   各HTMLの<head>内に下記を記述してください：
   <link rel="preconnect" href="https://fonts.googleapis.com">
   <link href="https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@300;400;600;700&family=Noto+Sans+JP:wght@300;400;500;700&family=Shippori+Mincho:wght@400;600;700&display=swap" rel="stylesheet">
============================================================ */


/* ===== カラー変数（臙脂ベース） ===== */
:root {
  --en:      #8B1A1A;   /* 臙脂・メイン */
  --en-deep: #5C0F0F;   /* 深い臙脂 */
  --en-mid:  #A83030;   /* やや明るい臙脂 */
  --en-pale: #F2E6E6;   /* 臙脂の極淡 */
  --en-mist: #EDD8D8;   /* 臙脂のミスト */

  --ink:     #1E1A18;   /* 墨・テキスト */
  --ink-mid: #5C5450;   /* 中間グレー */
  --ink-lt:  #9C9490;   /* 薄いグレー */

  --paper:   #FAF7F4;   /* 紙白 */
  --paper2:  #F3EDE8;   /* 少し温かみある白 */
  --paper3:  #EAE2DC;   /* ベージュ */

  --gold:    #C8A86B;   /* アクセント金 */
}


/* ===== リセット・ベース ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 50%;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  font-family: 'BIZ UDPGothic', sans-serif;
  background: #fff;
  color: var(--ink);
  overflow-x: hidden;
}


/* ===== フェードイン ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade   { opacity: 0; animation: fadeUp 0.8s ease forwards; }
.fade-1 { animation-delay: 0.1s; }
.fade-2 { animation-delay: 0.25s; }
.fade-3 { animation-delay: 0.4s; }
.fade-4 { animation-delay: 0.55s; }
.fade-5 { animation-delay: 0.7s; }


/* ===== ナビゲーション ===== */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--paper3);
  display: flex;
  align-items: center;
  padding: 0 40px;
  height: 72px;
  gap: 0;
}
    /* ===== レスポンシブ（768px） ===== */
    @media screen and (max-width: 767px) {
      nav { padding: 0 10px; }
    }

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-right: auto;
  text-decoration: none;
}

.nav-logo-full{
  width: 320px;
  aspect-ratio: calc(755/155);
}
    /* ===== レスポンシブ（768px） ===== */
    @media screen and (max-width: 767px) {
        .nav-logo-full{
          width: 50vw;
        }
    }
/*
.nav-logo-mark {
  width: 38px;
  height: 38px;
}

.nav-logo-text {
  color: var(--ink);
  letter-spacing: 0.04em;
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.nav-logo-org {
  font-size: 10px;
  color: var(--ink-mid);
  letter-spacing: 0.04em;
  font-weight: 400;
}

.nav-logo-center {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.04em;
}
*/

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  height: 72px;
}

.nav-links a {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 18px;
  /*font-size: 12px;*/
  font-size: 14px;
  /*color: var(--ink-mid);*/
  text-decoration: none;
  letter-spacing: 0.05em;
  position: relative;
  transition: color 0.2s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 18px; right: 18px;
  height: 2px;
  background: var(--en);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.nav-links a:hover { color: var(--en); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--en); }
.nav-links a.active::after { transform: scaleX(1); }

.nav-lang {
  margin-left: 16px;
  padding: 5px 12px;
  border: 1px solid var(--ink-lt);
  /*font-size: 11px;*/
  font-size: 12px;
  color: var(--ink-mid);
  letter-spacing: 0.1em;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}
.nav-lang:hover { border-color: var(--en); color: var(--en); }

    /* ===== レスポンシブ（768px） ===== */
    @media screen and (max-width: 767px) {
      .nav-lang  { margin-left: 0;}
    }


/* ===== ハンバーガー・モバイルメニュー ===== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  margin-left: 16px;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  transition: all 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0; right: 0;
  background: var(--paper);
  border-bottom: 2px solid var(--en);
  z-index: 99;
  flex-direction: column;
  padding: 16px 0;
}
.mobile-menu a {
  padding: 14px 40px;
  font-size: 14px;
  color: var(--ink-mid);
  text-decoration: none;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--paper3);
}
.mobile-menu a:hover,
.mobile-menu a.active { color: var(--en); }
.mobile-menu.open { display: flex; }


/* ===== フローティングボタン ===== */
.floating-btns {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 90;
}

.float-btn {
  text-decoration: none;
  border: none;
  outline: none;
  writing-mode: vertical-rl;
  background: var(--en);
  color: #fff;
  font-size: 11px;
  font-size: 12px;
  padding: 14px 10px;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background 0.2s;
  box-shadow: 0 2px 12px rgba(139,26,26,0.25);
}
.float-btn:hover { background: var(--en-deep); }
.float-btn.sub { background: var(--ink); font-size: 10px; }
.float-btn.sub:hover { background: #000; }




/* ===== パンくずナビ ===== */
.BreadCrumb{padding:12px 56px;font-size:11px;color:var(--ink-lt);letter-spacing:0.08em;border-bottom:1px solid var(--paper3);max-width: initial;}
.BreadCrumb a{color:var(--ink-lt);text-decoration:none;}
.BreadCrumb span.Partition{transform: scale(0.5);}

    /* ===== レスポンシブ（768px） ===== */
    @media screen and (max-width: 767px) {
        .BreadCrumb{
          padding: 12px 20px;
          font-size:10px;
          letter-spacing:0;
          width: 100%;
        }
    }




/* ===== セクション共通 ===== */
.section {
  padding: 64px 56px;
  border-bottom: 1px solid var(--paper3);
}

.section-header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 32px;
}

.section-label {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.05em;
}

.section-label-en {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--en);
  text-transform: uppercase;
}

.section-link {
  margin-left: auto;
  font-size: 11px;
  color: var(--en);
  text-decoration: none;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}
.section-link:hover { gap: 8px; }

.link-button {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--en);
  border: 1px solid var(--en); padding: 12px 24px;
  text-decoration: none; transition: all 0.2s; margin-top: 16px;
  background: #fff;
  width: fit-content;
}
.link-button:hover { background: var(--en); color: #fff; }






/* ===== 一覧に戻るリンク ===== */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--ink-mid);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.2s, gap 0.2s;
}

.back-link::before {
  content: '←';
}

.back-link:hover {
  color: var(--en);
  gap: 10px;
}


/* ===== .page-hero ===== */
.page-hero{
  padding:64px 56px 56px;
  border-bottom:1px solid var(--paper3);
}
.page-hero-en{
  font-size:11px;
  letter-spacing:0.2em;
  color:var(--en);
  margin-bottom:12px;
}
.page-hero-title{
  font-size:32px;
  font-weight:600;
  color:var(--ink);
  letter-spacing:0.05em;
}
    /* ===== レスポンシブ（768px） ===== */
    @media screen and (max-width: 767px) {
        .page-hero{
          padding: 40px 24px;
        }
        .page-hero-en{
        }
        .page-hero-title{
          font-size: 24px;
          margin-bottom:12px;
        }
    }

    
/* ===== アイキャッチ フル幅表示 ===== */
.DefaultLink{
  background-image: linear-gradient(180deg, currentColor, currentColor);
  color: currentColor!important;
}
/* ===== アイキャッチ フル幅表示 ===== */
.eyecatch-full{
  border: 1px solid var(--paper3);
  padding: 30px;
}
.eyecatch-full img{
  width: 100%;
  height: auto;
}


/* ===== お知らせ共通（news-item） ===== */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 720px;
}

.news-item {
  border-bottom: 1px solid var(--paper3);
  text-decoration: none;
  color: var(--ink);
  transition: all 0.2s;
}
.news-item:hover { padding-left: 8px; }
.news-item:hover .news-title { color: var(--en); }

.news-header{
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
}


.news-date {
  font-size: 11px;
  color: var(--ink-lt);
  white-space: nowrap;
  letter-spacing: 0.05em;
  min-width: 80px;
}

.news-tag {
  font-size: 9px;
  padding: 2px 8px;
  white-space: nowrap;
  letter-spacing: 0.05em;
}
.news-tag                            {min-width: 7em; text-align: center;color:#fff;}
.news-tag[data-category='募集']      {background:var(--en);}
.news-tag[data-category='お知らせ']  {background:#1A4D8B;}
.news-tag[data-category='助成団体']  {background:#1A6B3A;}
.news-tag[data-category='レポート']  {background:#57b;}
.news-tag[data-category='その他']    {background:var(--ink-mid);}

.news-badge-new{font-size:9px;letter-spacing:0.1em;padding:2px 7px;background:var(--gold);color:#fff;font-weight:700;border-radius:2px;}

a.NoLink{pointer-events: none; }

.news-title {
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}


/* ===== ページャ ===== */

.pagination p{
  margin-top: 2em;
}
.pagination p a{
  color: var(--en) !important;
}
.pagination p a:hover::after,
.pagination p a:focus::after {
  background: var(--en) !important;
}
.pagination p .current::after {
  background: var(--en) !important;
}
.pagination p .first a::after,
.pagination p .last a::after {
  background: var(--en) !important;
}


/* ===== 団体検索 ===== */
.OrganizationSearchFormTable .FormItem .CheckBoxGroup {
  padding: 0;
}
.OrganizationSearchFormTable .OptionGroup {
  margin-top: 1em;
  font-size: smaller
}
.OrganizationSearch .DefaultButton{
  background: #fff!important;
}



/* ===== サイドバー定義 ===== */
.page-contents{
  position: relative;
  display: flex;
}
.page-contents .page-contents-side {
  width: 180px;
  flex-shrink: 0;
  border-right: 1px solid var(--paper3);
  padding: 50px 0;
}
.page-contents .page-contents-side .grant-sidenav{
  position: sticky;
  transform: translateY(0%);
  border-right: none;
  background: none;
}
.page-contents .page-contents-main {
  flex-grow: 2;
  padding-bottom: 50px;
}


    /* ===== レスポンシブ（768px） ===== */
    @media screen and (max-width: 767px) {
        .page-contents{
          flex-direction: column;
        }
        .page-contents .page-contents-side {
          width: 100%;
          border-top: 1px solid var(--paper3);
          padding: 40px 24px;
        }
        .page-contents .page-contents-side .grant-sidenav{
          position: initial;
        }
        .page-contents .page-contents-main {
          border-top: 1px solid var(--paper3);
          padding: 40px 24px;
        }
    }



/* ===== ページトップボタン ===== */
.pagetop {
  position: fixed;
  bottom: 32px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--en);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, background 0.2s;
  z-index: 95;
  box-shadow: 0 2px 12px rgba(139,26,26,0.3);
}
.pagetop.visible {
  opacity: 1;
  pointer-events: auto;
}
.pagetop:hover { background: var(--en-deep); }





/* ===== フッター ===== */
footer {
  background: var(--en-deep);
  color: rgba(255,255,255,0.7);
  padding: 48px 56px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}

.footer-logo-area {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-logo-name {
  font-size: 15px;
  color: rgba(255,255,255,0.9);
  line-height: 1.6;
  letter-spacing: 0.05em;
}

.footer-org {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  line-height: 1.8;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}

.footer-nav a {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}
.footer-nav a:hover { color: rgba(255,255,255,0.9); }

.footer-sns {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
}

.footer-sns a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: all 0.2s;
}
.footer-sns a:hover {
  border-color: rgba(255,255,255,0.7);
  color: rgba(255,255,255,0.95);
  background: rgba(255,255,255,0.08);
}
.footer-sns a .ExtIcon{
  display: none;
}

.footer-sns-label {
  font-size: 9px;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.3);
  margin-right: 4px;
  text-transform: uppercase;
}

.footer-bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 10px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.1em;
}


/* ===== レスポンシブ（768px） ===== */
@media screen and (max-width: 767px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .section { padding: 48px 24px; }

  footer { padding: 40px 24px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-nav { align-items: flex-start; }

  .floating-btns { display: none; }
}

