
@charset "UTF-8";

/* ========================
   フォント設定
======================== */

@font-face {
    font-family: "Original Yu Gothic";
    src: local("Yu Gothic");
    font-weight: 300;
}

@font-face {
    font-family: "Original Yu Gothic";
    src: local("Yu Gothic");
    font-weight: 500;
}

@font-face {
    font-family: "Original Yu Gothic";
    src: local("Yu Gothic");
    font-weight: bold;
}

@font-face {
    font-family: "Helvetica Neue";
    src: local("Helvetica Neue Regular");
    font-weight: 100;
}

@font-face {
    font-family: "Helvetica Neue";
    src: local("Helvetica Neue Regular");
    font-weight: 200;
}

html {
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Original Yu Gothic", "Yu Gothic", YuGothic, Verdana, Meiryo, "M+ 1p", sans-serif;
}

/* ========================
   general setting
======================== */
/*   スマホナビ文字大きさ   */
.uk-nav-header {
    font-size: 1.1rem;
    letter-spacing: 2px;
}

p {
   color: #000; 
  font-size: 1rem;
}
.entry p,.post p {
  margin: 0 0.5rem 1rem 1rem;
  line-height: 2;
}

.uk-link, a {
    color: #2563EB;
    text-decoration: none;
    cursor: pointer;
}

:is(.entry, .post) h2 ~ h2,
:is(.entry, .post) h3 ~ h3 {
  margin-top: 2rem;
}
:is(.entry, .post) h4 ~ h4,
:is(.entry, .post) h5 ~ h5 {
  margin-top: 1rem;
}  
.uk-button-default {
    background-color: transparent;
    color: #0c3388;
    border: 1px solid #0c3388;
}
.uk-pagenation {
   clear: both;
}

.uk-pagination .uk-button-default {
    margin: 15px;
    position: relative;
     border: none;
}
.uk-pagination .uk-button-default a {
   display: block;
   margin: 0 auto;
    color: #0c3388;
    text-align: center;
    text-decoration: none;
   font-size: 1.3rem;
}
.uk-navbar-nav.ueb {
    gap: 10px;
}


/* ========================
   UIKit default
======================== */
.uk-card-primary {
    background-color: #0c3388;
    color: #fff;
}


 /* web page section-title h2 */
      .uk-section-large.w-title {
        padding-top: 40px;
        padding-bottom: 40px;
    }

/* ========================
   ヘッダー共通
======================== */

header {
    background-color: rgba(255,255,255,0.5);
    box-shadow: 0 0 0 transparent, 0 0 0 transparent, 2px 2px 4px #ccc, 0 0 0 transparent;
}

.sp-nav,
.pc-nav {
    position: relative;
    overflow: hidden;
}

.logo-lang {
    float: left;
}

/* ========================
   SP版ヘッダー
======================== */
.uk-offcanvas-bar .sp-name {
  overflow: hidden;
  position: relative;
  margin: 40px 0px 0rem 0rem;
}
.sp-name aside.logo-ske {
  display: block;
  width: 85px;
  float: left;
  margin-right: 10px;
}
.sp-name aside.logo-ske img {
  display: block;
  max-width: 100%;
}
.sp-name h1 {
  font-size: 1.1rem;
  margin: 0;
}
.sp-name h1 span {
  display: block;
  font-size: 0.8rem;
  
}

.sp-nav aside img {
    max-width: 60px;
}

.sp-nav h1 {
    font-size: 1.4em;
    margin: 0;
}

.sp-nav h1 span {
    display: block;
    font-size: 0.7em;
}

.sp-nav h2 {
    display: none;
}

.uk-navbar-right.sp-r {
    display: none;
}

.sp-r .uk-navbar-nav > li {
    padding: 0 5px;
}

.sp-r .uk-navbar-nav > li > a {
    min-height: 40px;
    display: flex;
    align-items: center;
}

/* ========================
   SP版 オフキャンバスメニュー
======================== */
/*  オフキャンバスメニュー  */
.uk-offcanvas-bar {
  background: #222;
}
.uk-offcanvas-bar a:hover {
  background: rgba(255,255,255,0.2);
  text-decoration: none;
}


/* ログインボタン */
.sp-menu-login-top {
    padding: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.sp-menu-login-top .uk-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 5px;
}
/* ホームメニュー */
.sp-home {
    font-size: 1.3rem;
    letter-spacing:2px;
}


/* メインメニュー */
ul.sp-main-menu {
    margin: 0;
    padding: 0;
    list-style: none;
   font-size: 1.1rem;
}

.sp-main-menu > li {
    border-bottom: 1px solid rgba(255,255,255,0.3);
}
.sp-main-menu .uk-nav-header:not(:first-child) {
    margin-top: 0px;
}

/* 通常リンク */
.menu-static-link {
    display: block;
    padding: 12px 15px;
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
}

/* アコーディオンタイトル */
#open-off .uk-accordion-title {
    display: block;
    padding: 12px 40px 12px 15px;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    position: relative;
}

#open-off .uk-accordion-title::after {
    content: "";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline fill='none' stroke='%23fff' stroke-width='1.03' points='16 7 10 13 4 7'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.3s ease;
}

#open-off .uk-open > .uk-accordion-title::after {
    transform: translateY(-50%) rotate(180deg);
}

#open-off .uk-accordion-content {
    margin-top: 0;
    padding: 0;
    background: rgba(0,0,0,0.1);
}

/* サブメニュー */
.submenu {
    margin: 0;
    padding: 10px 0;
    list-style: none;
}

.submenu > li > a {
    display: block;
    padding: 12px 30px;
    color: #FFFACD;
    text-decoration: none;
}

/* サブフォルダ */
.subfolder-item {
    padding: 10px 30px 0;
}

.subfolder-item strong {
    display: block;
    color: #fff;
    margin-bottom: 5px;
    opacity: 0.9;
}

.page-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.page-list > li > a {
    display: block;
    padding: 12px 0 12px 3rem;
    color: #FFFACD;
    text-decoration: none;
    font-size: 1rem;
}

/* 検索リンク */
.menu-search {
    display: flex;
    align-items: center;
    gap: 8px;
}
.uk-overlay-primary .uk-search-large .uk-search-input.jps-search {
  background-color: rgba(255, 255, 255, 0.7);
  color: #000;
}

/* ========================
    緊急メッセージ
======================== */
ul.uk-container.ema {
  list-style: none;
  border: double 2px red;
  margin: 1rem;
  padding-top:1rem;
  padding-bottom: 1rem;
}
ul.uk-container.ema li a {
  display: block;
  color: red;
  padding-bottom: 1rem;  
}
ul.uk-container.ema li:last-child a {
  padding-bottom: 0rem;  
}

/* ========================
    100周年記念バナー
======================== */
.anniv-banner {
  background-image: url("/images/100img.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 6px;
  overflow: hidden;
}

/* a をバナー全体に広げる */
.anniv-banner a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 30px 20px;
  box-sizing: border-box;
  text-decoration: none;
}
.anniv-banner a:hover {
  text-decoration: none;
}

/* リンクの下線を消す */
.anniv-banner a,
.anniv-banner a:hover {
  display: block;
  text-decoration: none;
}
.anniv-banner a:hover .anniv-banner__text {
  text-decoration: none;
}

.anniv-banner__text {
  margin: 0;
  color: #fff0b0;   /* クリームより少し黄色寄り */
  font-size: 1.75rem;
   font-family: "Noto Serif JP", serif;
  font-weight: 900;  
  font-weight: bold;
  letter-spacing: 0.1em;
  text-align: center;
  text-shadow:
    0 0 6px rgba(255, 248, 200, 0.8),
    0 0 14px rgba(255, 236, 150, 0.6),
    0 0 26px rgba(255, 224, 130, 0.4);
  animation: anniv-glow 1.5s ease-in-out infinite;
}
a h2.anniv-banner__text {
   text-decoration:none;
}

/* ホバーで少し強く光る */
.anniv-banner__link:hover .anniv-banner__text {
  color: #fff6cc;   /* 通常時より少しだけ明るく */
  text-shadow:
    0 0 10px rgba(255, 248, 200, 1),
    0 0 24px rgba(255, 236, 150, 0.9),
    0 0 44px rgba(255, 224, 130, 0.6);
}

.side-nav .anniv-banner {
  width: 300px;
  margin: 0 auto;
}
.side-nav .anniv-banner__text {
        font-size: 1.4rem;
       line-height: 70px;
    }
.side-nav .anniv-banner__text span {
       display: none;
    }

@keyframes anniv-glow {
  0%, 100% {
    text-shadow:
      0 0 6px rgba(255, 248, 200, 0.8),
      0 0 14px rgba(255, 236, 150, 0.6),
      0 0 26px rgba(255, 224, 130, 0.4);
  }
  50% {
    text-shadow:
      0 0 10px rgba(255, 248, 200, 1),
      0 0 22px rgba(255, 236, 150, 0.8),
      0 0 40px rgba(255, 224, 130, 0.55);
  }
}

/* タブレット以上 */
@media (min-width: 640px) {
 
  .anniv-banner__text {
    font-size: 2.5rem;
  }
 
}

/* タブレット以上 */
@media (min-width: 700px) {
  .anniv-banner h2 span {
  display: inline;
}
}

/* ============================================
   JPS 見出しスタイル
   基調色: JPSブルー #0c3388
   ============================================ */

:root {
  /* JPS Blue（基調色）*/
  --jps-blue: #0c3388;
  --jps-blue-80: rgba(12, 51, 136, 0.8);
  --jps-blue-60: rgba(12, 51, 136, 0.6);
  --jps-blue-50: rgba(12, 51, 136, 0.5);
  --jps-blue-40: rgba(12, 51, 136, 0.4);
  --jps-blue-30: rgba(12, 51, 136, 0.3);
  --jps-blue-15: rgba(12, 51, 136, 0.15);
  
 /* JPS Dark Red（濃い赤 - 記事用サブカラー）*/
  --jps-red: #b71c1c;
  --jps-red-brown: #7f1010;
  --jps-red-80: rgba(183, 28, 28, 0.8);
  --jps-red-60: rgba(183, 28, 28, 0.6);
  --jps-red-50: rgba(183, 28, 28, 0.5);
  --jps-red-40: rgba(183, 28, 28, 0.4);
  --jps-red-30: rgba(183, 28, 28, 0.3);
  --jps-red-15: rgba(183, 28, 28, 0.15);
}

/* ============================================
   H1: メインタイトル（共通）
   ============================================ */
h1.page-dai,
h1.page-dai-red {
  position: relative;
  display: block;
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 700;
  padding: 16px 35px 16px 20px;
  margin: 0;
  clip-path: polygon(0 0, 100% 0, calc(100% - 25px) 100%, 0 100%);
  letter-spacing: 0.05em;
  line-height: 1.4;
}

h1.page-dai {
  background: linear-gradient(to top, var(--jps-blue) 0%, var(--jps-blue) 50%, var(--jps-blue-60) 50%, var(--jps-blue-60) 100%);
}

h1.page-dai-red {
  background: linear-gradient(
    to top,
    var(--jps-red-brown) 0%,
    var(--jps-red-brown) 50%,
    var(--jps-red) 50%,
    var(--jps-red) 100%
  );
}

/* ============================================
   H2: セクションタイトル（共通）
   ============================================ */
.entry h2,
.post h2 {
  position: relative;
  display: block;
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 700;
  padding: 14px 35px 14px 16px;
  margin: 0 0 25px 0;
  clip-path: polygon(0 0, 100% 0, calc(100% - 25px) 100%, 0 100%);
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.entry h2 {
  background: linear-gradient(to right, var(--jps-blue) 0%, var(--jps-blue-40) 100%);
}

.post h2 {
  background: linear-gradient(to right, var(--jps-red) 0%, var(--jps-red-40) 100%);
}

/* ============================================
   H3: サブセクションタイトル（共通）
   ============================================ */
.entry h3,
.post h3 {
  position: relative;
  display: block;
  font-size: 1.125rem;
  font-weight: 700;
  padding: 12px 35px 12px 14px;
  margin: 0 0 20px 0;
  border-left: 6px solid;
  clip-path: polygon(0 0, 100% 0, calc(100% - 25px) 100%, 0 100%);
  letter-spacing: 0.03em;
  line-height: 1.4;
}

.entry h3 {
  background: var(--jps-blue-15);
  color: var(--jps-blue);
  border-left-color: var(--jps-blue);
}

.post h3 {
  background: var(--jps-red-15);
  color: var(--jps-red);
  border-left-color: var(--jps-red);
}
h3[id] {
  scroll-margin-top: 100px; /* ヘッダーの高さ + 余白 */
}

/* ============================================
   H4: 小見出し（共通）
   ============================================ */
.entry h4,
.post h4 {
  position: relative;
  display: block;
  background: transparent;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 8px 12px 8px 12px;
  margin: 0 0 18px 0;
  border-left: 6px solid;
  border-bottom: 1px solid;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

.entry h4 {
  color: var(--jps-blue);
  border-left-color: var(--jps-blue-60);
  border-bottom-color: var(--jps-blue-30);
}

.post h4 {
  color: var(--jps-red);
  border-left-color: var(--jps-red-60);
  border-bottom-color: var(--jps-red-30);
}

/* ============================================
   H5: ラベル・タグ風（共通）
   ============================================ */
.entry h5,
.post h5 {
  position: relative;
  display: inline-block;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  padding: 6px 35px 6px 10px;
  margin: 0 0 15px 0;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

.entry h5 {
  background: var(--jps-blue-80);
}

.post h5 {
  background: var(--jps-red-80);
}

/* ============================================
   レスポンシブ（モバイルファースト）
   ============================================ */
@media (min-width: 768px) {
  h1.page-dai,
  h1.page-dai-red {
    font-size: 1.625rem;
    padding: 18px 45px 18px 22px;
    clip-path: polygon(0 0, 100% 0, calc(100% - 35px) 100%, 0 100%);
  }
  
  ul.uk-container.ema {
  width: 80%;
  margin: 1rem auto;
}
  
  .entry h2,
  .post h2 {
    font-size: 1.375rem;
    padding: 15px 45px 15px 18px;
    clip-path: polygon(0 0, 100% 0, calc(100% - 35px) 100%, 0 100%);
  }
  
  .entry h3,
  .post h3 {
    font-size: 1.1875rem;
    padding: 13px 45px 13px 16px;
    clip-path: polygon(0 0, 100% 0, calc(100% - 35px) 100%, 0 100%);
  }
}

@media (min-width: 1024px) {
  h1.page-dai,
  h1.page-dai-red {
    font-size: 1.75rem;
    padding: 20px 50px 20px 25px;
    clip-path: polygon(0 0, 100% 0, calc(100% - 40px) 100%, 0 100%);
  }
  
ul.uk-container.ema {
  width:900px;
  margin: 1rem auto;
}
  
  .entry h2,
  .post h2 {
    font-size: 1.5rem;
    padding: 16px 50px 16px 20px;
    clip-path: polygon(0 0, 100% 0, calc(100% - 40px) 100%, 0 100%);
  }
  
  .entry h3,
  .post h3 {
    font-size: 1.25rem;
    padding: 14px 50px 14px 18px;
    border-left-width: 8px;
    clip-path: polygon(0 0, 100% 0, calc(100% - 40px) 100%, 0 100%);
  }
  
  .entry h4,
  .post h4 {
    font-size: 1.125rem;
    padding: 10px 15px 10px 15px;
    border-left-width: 8px;
  }
  
  .entry h5,
  .post h5 {
    font-size: 0.9375rem;
    padding: 8px 50px 8px 12px;
  }
}

/* ========================
  jps button
======================== */
a.b-button, a.r-button,a.b-button-l, a.r-button-l {
    background-color: #0c3388;
    color: #fff;
    padding: 15px 1rem;
    width: 250px;
    display: block;
    margin: 1rem auto;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
     box-shadow: rgb(102, 102, 102) 1px 1px 4px;
      transition: transform 0.25s, box-shadow 0.25s;
}

a.r-button,a.r-button-l {
    background-color: #e83817;
}
a.b-button-l, a.r-button-l {
    display: inline-block;
    margin: 1rem 1rem 0rem;
    width: auto;
    padding: 15px 2rem;
    
}
a:hover.b-button, a:hover.r-button,a:hover.b-button-l, a:hover.r-button-l {
   transform: translateY(-6px);
  box-shadow: 1px 4px 8px #555;
  text-decoration: none;
}

/* ========================
   PC版 ナビゲーションメニュー
======================== */

/* メインメニュー（第一階層） */
.uk-navbar-nav > li > a {
    color: #0c3388;
    font-size: 1.1rem;
    font-weight: 500;
}

.uk-navbar-nav > li > a:hover,
.uk-navbar-nav > li:hover > a {
    color: #e83817;
}

/* ========================
   ドロップダウン共通
======================== */
.uk-navbar-dropdown {
    margin-top: 0 !important;
    top: 100% !important;
    padding: 0;
}

.uk-navbar-nav > li > .uk-navbar-dropdown {
    margin-top: 0 !important;
    top: 100% !important;
}

/* ========================
   パターンA: 通常ドロップダウン（ページのみ）
======================== */
.simple-dropdown {
    width: 250px;
}

.simple-dropdown-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.simple-dropdown-nav > li > a {
    display: block;
    padding: 12px 24px;
    line-height: 1.6;
    color: #0c3388;
    text-decoration: none;
}

.simple-dropdown-nav > li > a:hover {
    background-color: rgba(12, 51, 136, 0.1);
    color: #e83817;
}

/* ========================
   パターンB: メガメニュー（中分類あり）
======================== */
.mega-dropdown {
    width: auto;
    max-width: none;
}

.mega-dropdown > .uk-grid {
    flex-wrap: nowrap;
}

/* 中分類カラム */
.mega-column {
    width: 250px;
    flex-shrink: 0;
}

/* カラム間の区切り線 */
.mega-column:not(:last-child) {
    border-right: 1px solid #e5e5e5;
}

/* 中分類の見出し */
.mega-column-header {
    padding: 16px 24px;
    font-weight: 600;
    color: #0c3388;
    background-color: rgba(12, 51, 136, 0.05);
    border-bottom: 1px solid #e5e5e5;
}

/* 中分類内のナビゲーション */
.mega-column-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* 中分類直下のページリンク */
.mega-column-nav > li > a {
    display: block;
    padding: 12px 24px;
    line-height: 1.6;
    color: #0c3388;
    text-decoration: none;
}

.mega-column-nav > li > a:hover {
    background-color: rgba(12, 51, 136, 0.1);
    color: #e83817;
}

/* ========================
   小分類（アコーディオン）
======================== */
.small-category {
    list-style: none;
}

.small-category > ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.small-category > ul > li {
    list-style: none;
}
.small-category > ul > li > a {
  font-weight: 600;
    color: #0c3388;
    background-color: rgba(12, 51, 136, 0.05);
}

.small-category-title {
    display: block;
    padding: 12px 24px;
    padding-right: 48px;
    color: #666;
    cursor: pointer;
    position: relative;
    line-height: 1.6;
    text-decoration: none;
}

.small-category-title:hover {
    background-color: rgba(12, 51, 136, 0.1);
    color: #e83817;
    text-decoration: none;
}

/* アコーディオンアイコン */
.small-category-title .accordion-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
    font-weight: 600;
    color: #0c3388;
}

.small-category-title:hover .accordion-icon {
    color: #e83817;
}

.small-category .uk-open > .small-category-title .accordion-icon {
    transform: translateY(-50%) rotate(45deg);
}

/* アコーディオンコンテンツ */
.small-category-content {
    margin: 0;
    padding: 0;
}

.small-category-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* 小分類内のページリンク（インデント付き） */
.small-category-content li > a {
    display: block;
    padding: 10px 24px 10px 48px;
    line-height: 1.6;
    color: #0c3388;
    text-decoration: none;
}

.small-category-content li > a:hover {
    background-color: rgba(12, 51, 136, 0.1);
    color: #e83817;
}

/* ========================
   PC版 右側ボタン
======================== */

.uk-navbar-right .uk-navbar-nav > li {
    display: flex;
    align-items: center;
}

/* 検索ボタン */
.uk-navbar-right .uk-navbar-nav > li > a:not(.uk-button-small) {
    padding: 6px 12px;
    border-radius: 4px;
    border: 1px solid #0c3388 !important;
    background-color: transparent !important;
    transition: all 0.3s ease;
    min-height: 36.5px !important;
    height: 36.5px !important;
    display: inline-flex !important;
    align-items: center;
    color: #0c3388;
    font-size: 14px;
    line-height: 1.5;
    box-sizing: border-box;
    letter-spacing: 1px;
}

.uk-navbar-right .uk-navbar-nav > li > a:not(.uk-button-small):hover {
    background-color: #0c3388 !important;
    color: #fff !important;
}

.uk-navbar-right .uk-navbar-nav > li > a:not(.uk-button-small) span[uk-icon] {
    margin-right: 6px;
}

.uk-navbar-right .uk-navbar-nav > li > a:not(.uk-button-small) svg {
    stroke: #0c3388;
    transition: stroke 0.3s ease;
}

.uk-navbar-right .uk-navbar-nav > li > a:not(.uk-button-small):hover svg {
    stroke: #fff;
}

/* 会員ログインボタン */
.uk-navbar-right .uk-navbar-nav > li > .uk-button-small {
    padding: 6px 12px;
    line-height: 1.5;
    min-height: 36.5px !important;
    height: 36.5px !important;
    border-radius: 4px;
    background-color: transparent;
    color: #0c3388;
    border: 1px solid #0c3388;
    transition: all 0.3s ease;
    display: inline-flex !important;
    align-items: center;
    box-sizing: border-box;
}

/* 切り替えボタン */
.uk-navbar-right .uk-navbar-nav > li > .uk-button-small.en-button {
    background-color: #bb2a19;
    color: #fff;
    border: 1px solid #bb2a19;
}
.uk-navbar-right .uk-navbar-nav > li > .uk-button-small.jp-button {
    background-color: #0c3388;
    color: #fff;
    border: 1px solid #0c3388;
}
.uk-navbar-right .uk-navbar-nav > li:hover > .uk-button-small.en-button {
    opacity: 0.8;
}
.uk-navbar-right .uk-navbar-nav > li:hover> .uk-button-small.jp-button {
    opacity: 0.8;
}

.uk-navbar-right .uk-button-small:hover {
    background-color: #0c3388 !important;
    color: #fff !important;
}

.uk-navbar-right .uk-button-small.en-button:hover {
    background-color: #e83817 !important;
    border: 1px solid #e83817 !important;
    color: #fff !important;
}

.uk-navbar-right .uk-button-small span[uk-icon] {
    margin-right: 6px;
}

.uk-navbar-right .uk-button-small span[uk-icon] svg {
    stroke: #0c3388;
    transition: stroke 0.3s ease;
}

.uk-navbar-right .uk-button-small:hover span[uk-icon] svg {
    stroke: #fff;
}
/* ========================
   共通
======================== */
/*  ボタン  */
.b-move {
  box-shadow: rgb(102, 102, 102) 1px 1px 4px;
  transition: transform 0.25s, box-shadow 0.25s;
}
.b-move:hover {
   transform: translateY(-6px);
  box-shadow: 1px 4px 8px #555;
}


/* ========================
   検索オーバーレイ
======================== */

.nav-overlay-pc,
.nav-overlay-sp {
    z-index: 1050;
}

/* PC版 */
.nav-overlay-pc.uk-overlay-primary {
    background-color: rgba(12, 51, 136, 0.8);
    height: 30vh;
}

.nav-overlay-pc .uk-search-input {
    height: 50px;
    font-size: 16px;
    padding: 12px 20px;
    color: #333;
    background-color: rgba(255, 255, 255, 0.8); /* 白80% */
    border: 1px solid #0c3388;
}

.nav-overlay-pc .uk-search-input::placeholder {
    font-size: 14px;
    color: rgba(12, 51, 136, 0.6); /* 青60% */
}

.nav-overlay-pc .uk-close-large {
    color: #fff;
}



/* ========================
   背景色　設定
======================== */
.b-bk {
  background-color:#0c3388;
}
.b-bk20 {
  background-color: rgba(12,51,136,0.2);
}
.light-back {
  background-color:#efefef;
}

/* ========================
   グラデーション背景（共通）
======================== */
.geo-bg,
.geo-bg-grey {
  width: 100%;
  height: auto;
  position: relative;
  overflow: hidden;
}


/* ティール（青緑）グラデーション */
.geo-bg {
  background: linear-gradient(315deg, #0a1a1a 0%, #0d3d3d 30%, #1a8a8a 70%, #20c5c5 100%);
}

/* グレーグラデーション */
.geo-bg-grey {
  background: linear-gradient(315deg, #C25D59 0%, #F07D78 30%, #FAA09A 70%, #FAC2B9 100%);
}

/* ========================
ウェブページ　TOP6
======================== */
/* カード全体＝背景画像コンテナ：中身ぶんの高さに縮む */
a.top-list {
  display: block;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  border-radius: 6px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-decoration: none;
}

/* 白カード：margin + padding で高さが決まる */
.top-list-body {
  position: relative;
  z-index: 1;
  margin: 24px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.88);
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}
a:hover .top-list-body,a:hover .top-side-body {
  background: #FFF3C2;
}

.top-list-body .uk-card-title {
  color: #0c3388;
  margin-bottom: 0.5em;
}

.top-list-body p {
  color: #333;
  margin: 0;
}

@media (max-width: 767px) {
  .top-list-body {
    margin: 16px;
    padding: 16px;
  }
}

/*.   学術雑誌    */
/* 共通：本棚背景バナー */
.journal-banner-ja {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 100px;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  border-radius: 6px;
  background-image: url('/images/banner-back.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-decoration: none;
}
.journal-banner-en {
  display: block;
  min-height: 70px;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  border-radius: 6px;
  background-image: url('/images/bookshelf_bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-decoration: none;
  padding-bottom: 1rem;
}

.journal-banner:hover {
  text-decoration: none;
}
/* 色オーバーレイ（0.7） */
.journal-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* タイトル文字 */
.journal-banner-title {
  position: relative;
  z-index: 2;
  color: #fff;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.08em;
  padding: 0 1em;
  line-height: 1.4;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.journal-banner-en .journal-banner-title {
  display: block;
  position: relative;
  z-index: 2;
  color: #fff;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.08em;
  padding: 0.5rem 1rem 0rem;
  line-height: 1.4;
  margin: 0 auto;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
.journal-banner-en p {
  position: relative;
  z-index: 2;
  color: #fff;
  font-weight: 400;
  padding: 0rem 1rem;
  line-height: 1.2;
  margin: 0;
}

/* 英語バナー：JPSブルー枠＋ブルーオーバーレイ */
.journal-banner-ja {
  border: 4px solid #0c3388;
}
.journal-banner-ja::before {
  background: rgba(12, 51, 136, 0.5);   /* JPSブルー 0.7 */
}
.journal-banner-ja .journal-banner-title {
  font-size: 1.3rem;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 700;
  color: #f5c518;
  text-shadow:
    -2px -2px 0 #1a1a1a,
     2px -2px 0 #1a1a1a,
    -2px  2px 0 #1a1a1a,
     2px  2px 0 #1a1a1a,
     0   -2px 0 #1a1a1a,
     0    2px 0 #1a1a1a,
    -2px  0   0 #1a1a1a,
     2px  0   0 #1a1a1a,
     4px  4px 6px rgba(0,0,0,0.4);
}

/* 日本語バナー：JPS赤枠＋赤オーバーレイ */
.journal-banner-en {
  border: 4px solid #e83817;
}
.journal-banner-en::before {
  background: rgba(232, 56, 23, 0.5);   /* JPS赤 0.7 */
}
.journal-banner-en .journal-banner-title {
  font-size: 1.8rem;
  font-family: 'Noto Serif JP', serif;
}

/* レスポンシブ */
@media (min-width: 960px) {
  .journal-banner { min-height: 100px; }
  .journal-banner-ja .journal-banner-title { font-size: 1.3rem; }
  .journal-banner-en .journal-banner-title { font-size: 2rem; }
}
/*サイドバー*/
.side-nav .journal-banner {
  width: 300px;
  min-height: 100px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.side-nav .journal-banner-title {
    position: relative;
    z-index: 2;
    color: #fff;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0em;
    line-height: 1.2;
    font-size: 1.2rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* ========================
   パンくずリスト　設定
======================== */
.uk-breadcrumb {
    padding: 10px 0px;
    font-size: 1rem;
}

.mgt-2 {
    margin-top: 2rem;
}

/* ========================
リスト
======================== */
.entry ol li,.post ol li {
  line-height: 2;
  margin-bottom: 2rem;
  color: #000;
}
ul.shinyaku-list {
 list-style: none;
  padding-left: 2em;
}
ul.shinyaku-list li {
  position: relative;
  margin: 1.5rem 2rem;
  color: #000;
  line-height: 2;
}
ul.shinyaku-list li::before {
 content: "";
  position: absolute;
  left: -1.6em;
  top: 0.4em;
  width: 18px;      /* 12px × 1.5 */
  height: 9px;      /* 6px × 1.5 */
  background: linear-gradient(to right, #0c3388 50%, #e83817 50%);
  border-radius: 4.5px;  /* 3px × 1.5 */
  transform: rotate(45deg);
}

.a-list a {
    display: block;
    margin: 0px 0px 20px 0px;
    padding: 20px 10px;
    text-align: center;
    border: solid 2px #ccc;
    border-radius: 8px;
    color: #333;
}
.a-list a:hover {
    background-color: rgba(183, 28, 28, 0.15);
    color:rgba(183, 28, 28, 1);
    text-decoration: none;
}
/* ========================
   TOP3
======================== */
.top3-waku {
  position: relative;
  display: flow-root;
}
.top3-box {
  width: calc((100% - 2rem) / 3);   /* gutter1rem×2を引いて3等分 */
  float: left;
  margin: 0 1rem 0 0;
}
.top3-box:last-child {
  margin-right: 0;            /* 右端のmarginを消す */
}
.top3-box img {
  display: block;
  width: 100%;
  border-radius: 6px;          /* 画像自体を角丸に */
}

/* TOP Important NEWS. */
.heading-news {
  font-size: 1.6rem;
  font-weight: 500;
  color: #bb2a19;
  padding: 0px 0px 5px 20px;
  border-bottom: 3px solid transparent;
  background-image: linear-gradient(90deg, #bb2a19 0%, #bb2a19 30%, rgba(187, 42, 25, 0.2) 30%);
  background-size: 100% 3px;
  background-position: bottom;
  background-repeat: no-repeat;
}
.top-info .heading-news {
  color: #0c3388;
  background-image: linear-gradient(90deg, #0c3388 0%, #0c3388 30%, rgba(12, 51, 136, 0.2) 30%);
}

/* リスト */
.tnews-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.top-imp ul li,.top-info ul li,.top-aca ul li {
  position:relative;
  border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}
.top-imp ul li:last-child {
  border-bottom: none;
}
.top-info ul li:last-child {
  border-bottom: solid 3px #0c3388;
}
.top-aca ul li:last-child {
    border-bottom: solid 3px #006400;
}

.tnews-list-item {
  display: block;
  align-items: baseline;
  padding: 12px 1rem;
}
a:hover.tnews-list-item {
  text-decoration: none;
  background: #ededed;
}

/* Hundred NEWS. */
.heading-news.hun-h2 {
  font-size: 1.6rem;
  letter-spacing: 0;
}

/* カテゴリバッジ */
.tnews-cat {
  display: inline-block;
  font-size: 0.9rem;
  line-height: 1;
  padding: 5px 10px;
  background: #bb2a19;
  color: #fff;
  border-radius: 2px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: 20px;
}
.top-info .tnews-cat {
  background: #0c3388;
}

/* タイトル（リンク） */
.tnews-list-item a {
  flex: 1;
  margin-left: 12px;
  font-size: 1rem;
  color: #333;
  text-decoration: none;
}

.tnews-list-item a:hover {
  text-decoration: underline;
  color: #bb2a19;
}

/* 日付 */
.tnews-date {
  font-size: 0.9rem;
  color: #555;
  white-space: nowrap;
  margin-left: 16px;
  flex-shrink: 0;
}
.top-info p,.top-imp p,.top-aca p {
    margin: 0;
    padding: 0.5rem 0rem 0rem 2rem;
    font-size: 1.2rem;
}

/* ========================
   記事ページ
======================== */
.post .uk-list-divider > li a {
    margin-top: 0px;
    padding: 1rem;
}
.post .uk-list-divider > li a:hover {
   background-color:#FFFACD;
   text-decoration: none;
}
.post .uk-list-divider>:nth-child(n+2) {   
    margin-top: 0px;
    padding: 0px;
    border-top: 1px solid #e5e5e5;
}
.post ul a {
  display: block;
  overflow:hidden;
}
.post a .entry-date {
  display: inline-block;
  margin-right: 1rem;
  color: #999;
  line-height: 2;
}
.post a p {
  display: inline-block;
  margin: 0;
  
}
.poster {
  position: relative;
  margin: 1rem 0rem;
}
.poster img {
  display: block;
  margin: 0 auto;
}


/* NEW! バッジ */
.post .uk-list > li {
  position: relative;
}
.new {
  display: block;
  margin-left: 0.5em;
  padding: 0.15em 0.5em;
  position: absolute;
  top: 0;
  left: 0;
  font-size: 0.75em;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #fff;
  background-color: #e83817;
  border-radius: 3px;
  animation: glow-pulse 1.5s ease-in-out infinite;
}
.top-imp ul li .new,.top-info ul li .new {
  top:-8px;
}

@keyframes glow-pulse {
  0%, 100% {
    background-color: #e83817;
    box-shadow: 0 0 4px rgba(232, 56, 23, 0.4);
  }
  50% {
    background-color: #ff5a3d;
    box-shadow: 0 0 12px rgba(232, 56, 23, 0.8);
  }
}

/* ========================
 学術集会　トップ色分け
======================== */
/*  category */
.nen_c {
   background-color: #f5a100;
}
.hoku_c {
   background-color: #F57867;
}
.kan_c {
   background-color: #CD5EEE;
}
.kin_c {
   background-color: #3EA6AD;
}
.sei_c {
   background-color: #619BEA;
}
.top-aca .heading-news {
    color: #006400;
    background-image: linear-gradient(90deg, #006400 0%, #006400 30%, rgba(0, 100, 0, 0.2) 30%);
}

/* ボタンを右揃え */
.heading-news-btnwrap {
  text-align: right;
  margin-top: 10px;
}

/* ボタン共通 */
.heading-news-btn {
  display: inline-block;
  white-space: nowrap;
  padding: 6px 16px;
  font-size: 0.9rem;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.2s;
}
.heading-news-btn:hover {
  color: #fff;
  opacity: 0.85;
}

/* 色分け */
.heading-news-btn--green { background-color: #006400; } /* 学術集会の緑 */
.heading-news-btn--blue  { background-color: #00396c; } /* JPSブルー：要確認 */

/* ========================
   Top side button
======================== */
.top-side-body {
  padding: 1rem;
  border-radius: 5px;
  background-color:rgba(255,255,255,0.88);
}
a .top-side-body h3.uk-card-title {
  font-size: 1.2rem;
  color: #0c3388;
    margin-bottom: 0.5em;
}
.top-side-body p {
 color: #333;
}

/* ========================
   TABLE
======================== */
/*  table. */


/* JPS テーブルスタイル */
.web-page table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #666;
  margin-bottom: 2rem;
  color: #000;
}

.web-page table th,
.web-page table td {
  padding: 0.75em 1em;
  border: 1px solid #ccc;
  text-align: left;
}

.web-page table thead th {
  background-color: #0c3388;
  color: #fff;
  text-align: center;
  font-weight: 700;
}

.web-page table tbody tr:nth-child(even) {
  background-color: #eeeeee;
}
.web-page table.simple tbody tr:nth-child(even) {
  background-color: transparent;
}

/* ========================
   カスタムフィールド出力
======================== */
.prof-img img {
  display: block;
  margin: 0 auto 2rem;
}
.prof-img h6 {
  font-size: 1.2rem;
  font-weight: bold;
  text-align: center;
  margin: 0 auto;
  line-height: 1.5;
}
.prof-img p {
  font-size: 1rem;
  text-align: center;
   line-height: 1.5;
  margin: 0 auto 1rem;
  padding: 0;
}
.entry img {
  margin-bottom: 1rem;
}
/* ========================
   General
======================== */
time {
 margin-right: 0.5rem; 
}

/* ========================
   SIDE NAV Japanese
======================== */
.side-nav {
   margin-top: 2rem; 
}


/*  学術活動　ボタン  */
.gaku-s {
  position:relative;
  display:flow-root;
  background: linear-gradient(to top, var(--jps-blue) 0%, #1a9fe0 100%);
  width: 300px;
  margin: 0rem auto;
  border-radius: 6px;
}
.gaku-s h5 {
   display: block;
  text-align: center;
  letter-spacing: 2px;
  color: #fff;
  margin: 1rem;
  font-weight: 700;
  font-size: 1.2em;
}
.gaku-s a {
  display: block;
  background: linear-gradient(to top, #b87400 0%, #f5a100 50%, #ffc233 100%);
  padding: 1rem;
  margin: 0 1.5rem 1.5rem;
  border-radius: 6px;
  box-shadow: 0px 0px 3px #333;
}
.gaku-s a:hover {
  background:  #ffc233;
  text-decoration: none;
}
.gaku-s h6 {
  color: #fff;
  font-weight: 700;
  font-size: 1.4em;
  text-align: center;
  text-shadow: 0px 1px 0px #333;
}
.gaku-s p {
  color: #fff;
  font-weight: normal;
  font-size: 0.9;
  line-height: 1.5;
  margin-bottom: 0;
  text-shadow: 0px 1px 0px #333;
}
.gaku-s a:hover h6,.gaku-s a:hover p {
  text-shadow: none;
  color:var(--jps-blue);
}

/* SIDE NAV Jp-logo */
.about-jp {
 width: 300px;
  margin: 0 auto;
  position: relative;
  display:flow-root;
}
.about-jp aside {
  width: 120px;
  float: left;
}
.about-jp h3 {
  width: 170px;
  float:right;
  margin: 0;
  font-size: 1.5em;
   letter-spacing: 2px;
    display: block;
}
.about-jp h3 span {
  font-size: 1rem;
    display: block;
  margin-top: 5px;
}
.about-jp address {
    display: flow-root;
  width: 270px;
  margin-left: 30px;
  font-size: 1.2rem;
}
.about-jp address span {
  font-size: 1rem;
    display: block;
}
.about-jp address span.b-name {
  font-size: 1rem;
    display: block;
}

.about-jp a.contact {
  font-size: 1.2em;
    display: block;
    margin: 0 auto;
    background: linear-gradient(to bottom, #e95224, #a12314);
    font-weight: 700;
    color: #fff;
    padding: 1rem;
    text-align: center;
    border-radius: 6px;
    text-shadow: 0px 2px 0px #000;
}
.about-jp a:hover.contact {
   text-decoration: none; 
  background: #e95224;
}

/* SIDE NAV web-button */
.sweb-button a {
  display: block;
  position: relative;
  width: calc(300px - 2rem);
  margin: 0 auto 1rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 6px;
  padding: 1rem;
  text-decoration: none;
}
.sweb-button.top-side a {
  width: 300px;
}

.sweb-button a h6 {
  display: block;
  padding: 1rem;
  background-color: rgba(255,255,255,0.8);
  color: #333;
  font-weight: 700;
  font-size: 1.2rem;
  text-align: center;
  margin: 0;
  letter-spacing: 2px;
  border-radius: 6px;
}
.sweb-button a:hover h6 {
  background-color: #FFF3C2;
  color: #333;
 text-decoration: none;
}
/* SIDE NAV banner */
.side-nav.banner a {
  display: block;
  width: 300px;
  margin: 0 auto 1rem;
}
.side-nav.banner a img {
  display: block;
  margin: 0 auto;
}

/* ========================
   SIDE NAV.
======================== */
/* SIDE NAV En */
.side-nav.about {
  position: relative;
  display: flow-root;
  margin-top: 2rem;
  padding-top: 2rem;
}
.side-nav.about aside {
width: 120px;
  float: left;
}
.side-nav.about aside img {
  display: block;
  margin-right: 1rem; 
}
.side-nav.about h3,.side-nav.about address {
 margin: 10px 0rem 1rem 0px;
}

.side-nav.about a.contact {
  width: 300px;
  display: block;
  margin: 0 auto 2rem;
  background: linear-gradient(to bottom, #e95224, #a12314);
  font-weight: 700;
  color: #fff;
  padding:1rem;
  text-align: center;
  border-radius: 6px;
  text-shadow: 0px 2px 0px #000;
  
}
/*=========
   トップスライダー
======================== */
.sponsor-banner {
    width: 240px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sponsor-banner img {
    max-height: 70px;
    max-width: 100%;
}
.sponsor-slider ul {
    list-style:disc;
    color: #ccc;
}

/* ========================
   footer
======================== */
footer {
   background: linear-gradient(to top, var(--jps-blue) 0%, var(--jps-blue-80) 100%);
}
footer a,footer p {
   color: #ccc;
}
footer p.footer-page {
  text-align: right;
}
footer p.footer-page a {
  margin-left: 1rem;
  color: #fff;
}

/* back to top  */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid #0c3388;
  background-color: rgba(255, 255, 255, 0.7);
  color: #0c3388;
  font-size: 28px;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.back-to-top span {
  display: block;
  padding-top: 5px;
}

.back-to-top:hover {
  background-color: #FFFACD;
  color: #0c3388;
  text-decoration: none;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ========================
   お知らせ一覧のカテゴリ出力
======================== */
.catelist a {
  display: inline-block;
  margin-right: 2rem;
  margin-bottom: 1rem;
  padding: 5px 10px;
  border: solid 1px #0c3388;
  border-radius: 5px;
  color: #0c3388;
}
/* ========================
   search
======================== */
#mt-site-search input[type="search" i] {
  font-size: 1.2rem;
  padding: 3px 5px;

  
}
#mt-site-search button {
  font-size: 1rem;
  padding: 3px;
}
#mt-site-search label {
  font-size: 1rem;
  color: #fff;
  margin-left: 10px;
  margin-right: 20px;
}

/* ========================
   レスポンシブ対応
======================== */

/* 374px以下 - iPhone 5 */
@media only screen and (max-width: 374px) {
}

/* 375px以下 - Small screens */
@media only screen and (max-width: 375px) {
}

/* 460px以上 - タブレット〜PC */
@media only screen and (min-width: 460px) {
}

/* 641px以上 - タブレット〜PC */
@media only screen and (min-width: 40em) {
}

/* 700px以上 - タブレット〜PC */
@media only screen and (min-width: 700px) {
}

/* 960px以上 - PC */
@media only screen and (min-width: 960px) {
 
  /* navigation */ 
  .uk-navbar-nav {
        gap: 15px;
    }
  
    .uk-navbar-right  .uk-navbar-nav {
        gap: 20px;
    }
  /*  ナビの 折り返し防ぐ  */
  .uk-container {
        padding-left: 30px;
        padding-right: 30px;
    }
  
    .pc-nav aside img {
        max-height: 70px;
    }

    .pc-nav h1 {
        font-size: 2em;
        margin: 0;
    }

    .pc-nav h1 span {
        font-size: 0.6em;
    }

    .pc-nav h2 {
        font-size: 1em;
        margin: 0;
    }
   h3[id] {
  scroll-margin-top: 180px; /* ヘッダーの高さ + 余白 */
}
.top3-box {
  width: calc((100% - 4rem) / 3);   /* gutter1rem×2を引いて3等分 */
  margin: 0 2rem 0 0;
}
 .back-to-top {
    right: 30px;
    bottom: 30px;
    width: 72px;
    height: 72px;
    font-size: 36px;
  }
  .back-to-top span {
    padding-top: 6px;
  }  
  
}

/* 1020px以上 - PC */
@media only screen and (min-width: 1020px) {
}

/* 1201px以上 - PC */
@media only screen and (min-width: 1201px) {

  .side-nav.about aside {
  width: 140px;
  float: none;
    margin: 0 auto 0.5rem;
}
 .side-nav.about.s-jp aside {
   width:110px;
  float: left;
    margin: 0 0 0rem 0rem;
}
.side-nav.about aside img {
  display: block;
}
.side-nav.about h3 {
  font-size: 1.5rem;
 margin: 0 0 1rem;
}
  .side-nav.about.s-jp h3 {
  font-size: 1.3rem;
    letter-spacing: 0;
 text-align: center;
}
  .side-nav.about address {
    clear: both;
 margin: 0 1rem 2rem;
    line-height: 1.5;
} 
  
}