﻿@charset "utf-8";

/* ===================================================================
リセット
=================================================================== */
body,div,dl,dt,dd,ul,ol,li,
h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,
p,blockquote,th,td {
  margin: 0;
  padding: 0;
}
html {
  overflow-y: scroll;
}
h1,h2,h3,h4,h5,h6 {
  font-size: 100%;
  font-weight: normal;
}
ol,ul {
  list-style: none;
}
fieldset,img {
  border: 0;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
caption {
  text-align: left_side_menu;
}
address,caption,cite,code,dfn,strong,th,var {
  font-style: normal;
  font-weight: normal;
}
a:active,
a:focus {
  outline: 0;
}
*, *::before, *::after {
  box-sizing: border-box;
}
*, *::before, *::after {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}

/* ===================================================================

=================================================================== */
body {
  font-family:
    Helvetica, "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3",
    "Hiragino Kaku Gothic Pro", Osaka, "ＭＳ Ｐゴシック", "MS PGothic",
    sans-serif;
  color: #333;
  font-size: 16px;
}
p {
  line-height: 150%;
}
p.history {
  margin-left: 50px;
  margin-bottom: 10px;
}
h2 {
  margin: 10px 30px;
  padding-left: 5px;
  color: #3333cc;
  border-bottom: solid 2px #3333cc;
  font-size: 20px;
  font-weight: bold;
}
h3 {
  margin-top: 15px;
  padding: 5px 0px 5px 10px;
  color: #0000ff;
  font-size: 18px;
}
h4 {
  margin-left: 25px;
  font-size: 16px;
}
a {
  text-decoration: none;
}
a:hover {
  color: #aa00aa;
}
a:visited {
  color: #4055b0;
}
.header {
  background-color: #fff;
}
.mainheader img {
  height: 48px;
  width: auto;
}
.mainmenu {
  margin-bottom: 2em;
  background-color: #fff;
}
.contents {
  background-color: white;
}
.column {
  margin: 5px 40px 35px 50px;
}
strong {
  font-weight: bold;
}

/* メニュースタイル改定20260331 */
.wrap {
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
}

.header-outer,
.mainmenu-outer,
.footer-outer {
  width: 100%;
}

.header-outer {
  width: 100%;
  background: #3c4e98;
}

/* =========  ヘッダー　ロゴ＋タイトル＋会員ログインボタン  =========  */
.mainheader {
  position: relative;
  z-index: 1;
  justify-content: space-between;
  display: flex;
  align-items: flex-end;
  gap: 12px;
  color: #fff;
  padding: 30px 20px 15px;
}

.mainheader img {
  display: block;
  height: 50px;
  width: auto;
  background: #3c4e98;
}

/* 右側のボタンエリアのスタイル */
.header-utilities {
  display: flex;
  flex-direction: column;
  align-items:center;
  justify-content: center;
  gap: 5px;
  padding-right: 10px; /* 境界線との余白 */
}

/* ログインボタン */
.login-btn {
  background-color: #f7b500;
  background-color: #d7def5; /* メニューの境界線と同じ色 */
  color: #3c4e98 !important; 
  padding: 6px 15px;
  border-radius: 4px;
  font-weight: bold;
  text-decoration: none;
  font-size: 14px;
  white-space: nowrap;
  border: none;

}

.site-title {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  margin: 0;
}

.site-title span {
  color: #fff;
  line-height: 1.2;
}
.mainmenu {
  border-top: 2px solid #d7def5;
}


/* =========  ヘッダー　ロゴ＋タイトル＋会員ログインボタン  =========  */


/* メインメニュースタイル */
#gnav {
  margin: 0;
  background-color: #ebebeb;
  font-size: 14px;
  white-space: nowrap;
}

#gnav > ul {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  list-style: none;
  padding: 0;
}
li.menu-item {
  position: relative;
  color: #4055b0;
  text-align: center;
  height: 40px;
  line-height: 2.8;
  width: auto;
  flex: 1;
  border-right: solid 1px #fff;
}
li.menu-item:last-child {
  border-right: solid 1px #ebebeb;
}
li.on {
  background-color: #4055b0;
  color: #fff;
}

/* メニューアイテムのホバースタイル */
li.menu-item:hover .drop-menu-list {
  visibility: visible; /* 下層メニューを表示 */
  background-color: #d2ebff;
  opacity: 1; /*フェイドイン 透明度を１に*/
  /*transform: scaleY(1); /*ドロップダウン 高さを１に*/
}
li.menu-item:hover a {
  display: block;
  background-color: #d2ebff;
}
li.menu-item a {
  color: #4055b0;
  text-decoration: none;
  text-align: center;
}

.act {
  margin: 10px 40px 10px 40px;
  line-height: 1.5em;
}
.act li {
  list-style-type: decimal;
}
.act2 {
  margin: 10px 40px 10px 70px;
}
.act2 li {
  display: inline-block;
  vertical-align: middle;
}
.list_act {
  margin-left: 40px;
}
.list_act li {
  list-style-type: disc;
  line-height: 1.5em;
}
.list_act li img {
  vertical-align: bottom;
  margin-left: 2px;
}
.list {
  margin-left: 35px;
  line-height: 1.5em;
}
.list li {
  list-style-type: disc;
}
.signup {
  margin: 10px 40px 10px 70px;
}
.signup li {
  display: inline-block;
  vertical-align: middle;
}

/*役員名簿*/
table.A1,
table.A2 {
  margin-left: 30px;
}
table.A1 tr th {
  width: 80px;
  height: 30px;
  text-align: left;
}
table.A1 tr td:nth-child(2),
table.A2 tr td:nth-child(1) {
  width: 100px;
  height: 30px;
}
table.A1 tr td:nth-child(3),
table.A2 tr td:nth-child(2) {
  width: 400px;
}

/*会費表*/
table.B th,
table.B td {
  height: 30px;
  padding: 5px 10px;
  text-align: center;
}
table.B th {
  background-color: aliceblue;
}
table.B th,
table.B td {
  border: solid 1px #ebebeb;
}

/*助成事業一覧*/
.myPro {
  font-size: 96%;
  margin-left: 0.5em;
}
.myPro tr:nth-child(even) td {
  padding-left: 1em;
  padding-bottom: 1.5em;
  font-weight: bold;
}
.myPro tr:nth-child(odd) td {
  padding-bottom: 0.3em;
}
.report {
  font-size: 94%;
  padding-left: 1em;
  font-weight: normal;
}
.report .fas.fa-caret-right {
  color: #0000ff;
}
.myPro_cate1 {
  border-radius: 5px;
  background: lightskyblue;
  padding: 4px 5px;
  margin-left: 1em;
  font-size: 90%;
}
.myPro_cate2 {
  border-radius: 5px;
  background: lightsalmon;
  padding: 4px 5px;
  margin-left: 0.5em;
  font-size: 90%;
}
h3.underline {
  border-bottom: dotted 1px grey;
  padding: 0;
  color: #333;
  margin-bottom: 0.5em;
}

.mark1 {
  color: #aa00aa;
}
span.ind1 {
  margin-left: 20px;
}
span.ind2 {
  margin-left: 60px;
}
span.ind3 {
  margin-left: 100px;
}
span.ind4 {
  margin-left: 180px;
}
span.txt_blue {
  color: #323590;
}


.img_portal {
  display: inline-block;
  vertical-align: bottom;
}
.img_mail {
  display: inline-block;
  vertical-align: top;
}

/*公式サイトのバナーリンク*/
.banner_grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 12px;
}

.banner {
  width: 100%;
  border: solid 1px gainsboro;
  margin-bottom: 0;
  padding: 4px;
  border-radius: 5px;
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.2),
    0 2px 2px rgba(0, 0, 0, 0.19);
  display: flex;
  justify-content: flex-start;
  position: relative;
  align-items: center;
  box-sizing: border-box;
  min-height: 68px;
}

.banner_type {
  padding-left: 10px;
  color: white;
  line-height: 55px;
  width: 58px;
  height: 55px;
  flex: 0 0 58px;
  background-repeat: no-repeat;
  background-position-x: 4px;
}

.banner_type.shiken {
  background-image: url("../images/label_itce_ict.png");
}
.banner_type.kouza {
  background-image: url("../images/lable_elc.png");
}
.banner_type.jyosei {
  background-image: url("../images/label_jyosei.png");
}
.banner_type.books {
  background-image: url("../images/label_books.png");
}

.banner_title {
  position: relative;
  top: 0;
  left: 8px;
  flex-grow: 1;
  min-width: 0;
  padding-right: 8px;
  line-height: 1.4;
  word-break: break-word;
}

.banner a {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
}

.banner_title.jyosei {
  color: #0f93db;
  font-size: 18px;
}

.banner_title.books {
  color: #d85057;
  font-size: 18px;
}

.banner_title img {
  padding-top: 5px;
  max-width: 100%;
  height: auto;
  display: block;
}

.img_arrow {
  flex: 0 0 30px;
  padding-left: 1em;
  padding-right: 0.5em;
}

.img_arrow img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 確認用ライン 
ul{border:solid 1px aqua}
ol{border:solid 1px lightsalmon}
.column{border:solid 1px darkorchid}
h2{background-color:yellow}
h3{background-color:greenyellow}
h4{background-color:pink}
p{border:solid 1px brown}*/

/* 沿革の経緯　年表 */
/* 沿革テーブル全体のスタイル */
.history-table {
  width: 100%;
  border-collapse: collapse; /* 隣り合う境界線をひとつにする */
  margin: 30px 0;
  line-height: 1.7; /* 行間を広げて読みやすく */
  font-size: 15px;
}

/* 各行の設定 */
.history-table tr {
  border-bottom: 1px dotted #ccc; /* 点線にして少し柔らかい印象に */
}

.history-table tr:last-child {
  border-bottom: none; /* 最後の行の下線は消す */
}

/* 左側：年月の見出し */
.history-table th {
  width: 100px;
  padding: 0.5rem;
  text-align: left;
  vertical-align: top; /* 文字が複数行になっても年を上に固定 */
  background-color: #f8fbfd; /* 非常に薄い青（JNK4のイメージ） */
  font-weight: bold;
  color: #004b87; /* ヘッダーの青に近い色で統一感を出す */
  white-space: nowrap; /* 年月が途中で改行されないように */
}

/* 右側：内容のデータ */
.history-table td {
  padding: 0.5rem;
  vertical-align: top;
  background-color: #fff;
}

/* ※印などの注釈（.note クラス）の装飾 */
.history-table .note {
  display: block;
  font-size: 0.88em;
  color: #666;
  padding-left: 1em;
}

/******2026/04/14追加******/
.footer-outer {
  border-top: 1px solid #336699;
  background: #f5f5f5;
  padding: 20px 0;
}

.footer {
  font-size: 88%;
  color: #333;
}

/* 上段：左2カラム（メニュー）＋右1カラム（Facebook＋ポリシー） */
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr; /* 左：メニュー、右：サイド */
  column-gap: 40px;
  row-gap: 10px;
  align-items: start;
  padding: 0 15px;
}

.footer-nav {
  border-right: solid 1px #ccc;
}
/* メニュー部分：2カラムに見せる */
.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, auto); /* ← 左2カラム */
  column-gap: 20px;
  row-gap: 4px;
}

.footer-nav li a,
.footer-nav li span {
  text-decoration: none;
  color: #336699;
  display: block;
}

.footer-nav li a:hover {
  text-decoration: underline;
}

/* リンクが外れた状態（今のページ）のスタイル */
.footer-nav li span {
    color:#666;
    cursor: default;    /* マウスカーソルを矢印のままにする */
}

/* 右側：公式Facebook＋個人情報保護方針（縦2行） */
.footer-side {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.footer-side a {
  text-decoration: none;
  color: #336699;
}

.footer-side a:hover {
  text-decoration: underline;
}

/* 下段：Copyright */
.footer-bottom {
  margin-top: 10px;
  margin-left: 15px;
}

.footer-bottom p {
  margin: 0;
  text-align: left;
}

@media screen and (max-width: 580px) and (min-width: 481px) {
  /* 全体を2カラムにする */
  .footer-inner {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 左：メニュー、右：SNS/ポリシー */
    column-gap: 20px;
  }

  /* メニューは1列に */
  .footer-nav ul {
    grid-template-columns: 1fr;
  }

  /* 左ブロックの右側に縦棒を残す */
  .footer-nav {
    border-right: 1px solid #ccc;
    padding-right: 15px;
  }

  /* 右ブロックは縦並び */
  .footer-side {
    padding-left: 15px;
    border-left: none; /* ← ここは使わない */
    text-align: left;
  }
}

@media screen and (max-width: 480px) {
  /* 全部1列 */
  .footer-inner {
    grid-template-columns: 1fr;
    row-gap: 0px !important;
  }

  /* メニュー1列 */
  .footer-nav ul {
    grid-template-columns: 1fr;
    text-align: left;
  }

  /* 縦棒を消す */
  .footer-nav {
    border-right: none;
    padding-right: 0;
  }

  /* 右カラムも中央寄せ */
  .footer-side {
    text-align: left;
  }
}

@media screen and (max-width: 680px) {
  #gnav {
    white-space: normal; /* 折り返しを許可 */
  }

  #gnav > ul {
    flex-wrap: wrap; /* 2段に折り返す設定 */
  }

  .mainmenu li.menu-item {
    flex: none;
    width: 33.33%;
    height: auto;
    line-height: 1.4;
    border-right: 1px solid #fff;
    border-bottom: 1px solid #fff;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* 3列目と6列目の右線を消す（綺麗に見せるため） */
  .mainmenu li.menu-item:nth-child(3n) {
    border-right: none;
  }

  .mainmenu li.menu-item a,
  .mainmenu li.menu-item span {
    display: block;
    width: 100%;
    padding: 12px 2px; /* タップ領域を確保 */
    font-size: 13px; /* 3列だと文字が厳しいので少し小さく */
    word-break: break-all; /* 長い単語でも強制改行 */
  }
}

@media (max-width: 670px) {
  .banner_title.jyosei {
    font-size: 16px;
  }
  .banner_title.books {
    font-size: 16px;
  }
  h2 {
    margin: 10px 7px;
  }
  .list_act {
    margin-left: 10px;
  }
  .signup {
    margin: 10px 40px;
  }
}

@media only screen and (max-width: 580px) {
  .mainmenu {
    margin-bottom: 0;
  }

  h3 {
    padding-left: 3px;
    font-size: 113%;
  }
  h4 {
    margin-left: 3px;
    font-size: 100%;
  }

  .column {
    margin: 5px 20px 20px 20px;
  }

  p.history {
    margin-left: 20px;
  }
  .act,
  .act2 {
    margin: 10px 25px;
  }
  .list {
    margin-left: 25px;
  }
  span.ind1,
  span.ind2,
  span.ind3,
  span.ind4 {
    margin-left: 0;
  }
  .signup li {
    display: block;
  }
  .signup li.larrow {
    display: none;
  }
  .banner_title img {
    width: 90%;
  }
}

/* ########### 550px以下 ########### */

@media screen and (max-width: 500px) {
  /* ヘッダー全体の並びを縦方向に変更 */
  .mainheader {
    flex-direction: column;
    align-items: flex-start; /* 左寄せにする */
    gap: 10px;
    padding: 10px;
  }

  /* サイトタイトル（ロゴ＋法人名）の調整 */
  .site-title {
    flex-wrap: wrap; /* 法人名が長ければさらにロゴの下へ */
    gap: 8px;
  }

  .mainheader h1 {
    margin: 0; /* 余計な余白をカット */
  }

  .site-title span {
    font-size: 13px; /* 小さな画面に合わせてフォントを微調整 */
    display: block;
  }

  /* 2行目：ログインとSNSボタンのエリア */
  .header-utilities {
    flex-direction: row; /* 横並びに戻す */
    align-items: center;
    justify-content: flex-end; /* 右側に寄せる */
    width: 100%; /* 横幅いっぱい使って右寄せを強調 */
    gap: 15px;
    padding-right: 0;
    margin-top: 5px;
    border-top: 1px solid rgba(255, 255, 255, 0.2); /* 境界線を薄く入れると綺麗です */
    padding-top: 10px;
  }

  .head-login-btn {
    padding: 6px 15px; /* ボタンを少しコンパクトに */
    font-size: 13px;
  }
}

@media (max-width: 500px) {
  p.banner_type {
    font-size: 14px;
  }
  .banner_type {
    padding-left: 10px;
    color: white;
    line-height: 55px;
    background-repeat: no-repeat;
    background-position-x: 0px;
  }
  .banner_title {
    flex-basis: 70%;
  }
  .banner_title img {
    width: 100%;
  }
  .img_arrow {
    flex-basis: 10%;
  }
}

@media (max-width: 480px) {
  table.A1,
  table.A2 {
    margin-left: 10px;
  }
  .A1 th,
  .A1 td {
    display: block;
    width: 100% !important;
    padding: 3px 5px;
    font-size: 96%;
  }
  .A1 th {
    background-color: aliceblue;
  }
  .A1 td {
    background-color: #ececec;
  }
  .A1 th {
    border-top: solid 1px #ccc;
    border-bottom: solid 1px #ccc;
  }
  .A1 tr:last-child td:last-child {
    border-bottom: solid 1px #ccc;
  }
  table.A2 {
    font-size: 96%;
  }
  table.A2 tr td:nth-child(1) {
    width: 25%;
    height: 3em;
  }
}
