@charset "utf-8";

*, article, aside, canvas, details, figcaption, figure,
header, footer, hgroup, nav, section, summary {
  margin: 0;
  padding: 0;
}

html,body{ height:100%;}

/* 背景 */
body {
  height: 100%;
  line-height: 1.7;
  color: #333333;
  font-family: Arial, Roboto, "Droid Sans",  "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "游ゴシック", YuGothic,sans-serif;
  font-size: 90%;
  overflow: auto;
}

body:after {/*擬似要素をつくる*/
  position: fixed;/*固定配置*/
  top: 0; left: 0;/*左上に固定*/
  width: 100%; height: 100%;/*画面全体を覆う*/
  content: "";
  background: #7bbf49;/*保険用*/
    background: -moz-linear-gradient(top,rgba(255, 255, 255, 1), rgba(123, 191, 73, 1));/*古いFireFox向け*/
  background: -webkit-linear-gradient(top,rgba(255, 255, 255, 1), rgba(123, 191, 73, 1));/*古いSafari・Chrome向け*/
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#7bbf49',GradientType=0 );/*IE9以下への対応*/
  background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 500px, rgba(123, 191, 73, 1));/*正規のプロパティ*/
    z-index: -1;/*背景にするため*/
}
/* 画像全体 */
img {
  border: 0;
  vertical-align: top;
  max-width: 100%;
}

/* 見出し */
h1, h2, h3, h4, h5, h6 {
  font-size: 100%;
  font-weight: normal;
}

/* リスト */
ol, ul, li {
  list-style-image: none;
  list-style-position: outside;
  list-style-type: none;
}
ol > li > ul > li {
  list-style:disc;
}

/* テーブル */
table {
  border-collapse: collapse;
}

/* HTML5 */
article, aside, canvas, details, figcaption, figure,
header, footer, hgroup, nav, section, summary, main {
  display: block
}

/* コンテンツ全体 */
#contents_all {
  position: relative;
  width: 960px;
  height: auto !important;
  height: 100%;
  margin: 0 auto;
  min-height: 784px;
  background-color: #ffffff;
  box-shadow: 0px 0px 8px 4px rgba(100,100,100,0.9);
}

/* コンテンツ */
#contents {
  position: relative;
  margin:0 auto;
  width: 960px;
  display: flex;
  justify-content: start;
  align-items: stretch;    /*メニュー背景色を下まで伸ばすため*/
}

/* ヘッダー */
header {
  width:730px;
  height: 120px;
  margin:0;
  background-color: #ffffff;
  text-align: center;
}
header img {
  margin: 16px;
}

/* クリアフィクス */
.clearfix:after {
  content: ".";
  display: block;
  clear: both;
  height: 0;
  visibility: hidden;
}

/* 左コンテンツ */
#contents_l {
  width: 230px;
  display: flex;
  flex-direction: column;
}
/* メニュー */
nav {
  width:226px;
  margin: 12px 0 0 0;
}
ul.menu {
  width:226px;
}
ul.menu > li{
  margin:0 auto;
}
ul.menu > li > a{
  padding-left: 6px;
  height: 42px;
  display: flex;
  align-items:center;
  position: relative;
  overflow: hidden;
  background-color: #b9b9e6;
  font-size: 14px;
  line-height: 1.2;
  color: #3c3c3c;
  box-sizing:border-box;
  margin-bottom: 6px;
  font-weight: bold;
}

ul.menu > li > a.on,
ul.menu > li > a:hover {
  background-color: #7bbf49;
  color: #ffffff;
  text-decoration: none;
}

/* ここからmain部分 */

/* 右コンテンツ */
#contents_r {
  width: 730px;
  min-height: 934px;
  background-color: #6167ae;
}

/* 新着情報 */
#news {
  width: 680px;
  box-sizing: border-box;
  background-color: #ffffff;
  margin: 8px auto 0;
  padding-top: 5px;
}
#news h2{
  width: 650px;
  height: 36px;
  color:#6167ae;
  border-bottom: 1px solid #6167ae;
  font-size:22px;
  line-height: 1.5;
  box-sizing: border-box;
  text-align: left;
  margin: 0 auto;
  padding-left: 10px;
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-weight: 800;
  font-style: normal;
}

#news_flame {
  padding: 10px;
  width: 660px;
  height:220px;
  overflow: auto;
  line-height: 1.5;
  box-sizing: border-box;
  font-size: 15px;
  margin: 0 auto;
}
#news_flame dt {
  float: left;
  color: #6167ae;
  font-weight: bold;
}
#news_flame dd {
  padding-bottom: 7px;
  padding-left: 5.75em;
}

/* 事務局等 */
.info {
  /* position: absolute; */
  width: 216px;
  font-size:12px;
  line-height: 1.5;
  /* top: 780px;
  left: 10px; */
  margin: 20px auto 0;
}
.info div{
  margin-bottom:10px;
}
.info address {
  font-style: normal;
  margin-top:1.5em;
}
.info h2 {
  height:20px;
  margin-bottom: 0.5em;
  font-weight:bold;
  text-align: left;
  border-bottom: 1px solid #6167ae;
  font-size: 14px;
  color: #6167ae;
}

/* フッター */
footer {
  margin: 0 auto;
  padding: 3px 0;
  width: 960px;
  font-size: 12px;
  text-align: center;
  color: #FFFFFF;
  background-color: #00288c;
}

/* サブページ内 */
#contents_r h2.pagetitle {
  color: #6167ae;
  border-bottom: 1px solid #6167ae;
  width: 610px;
  margin:0 auto 1em;
  line-height: 1.2;
  min-height: 40px;
  font-size: 28px;
  text-align: left;
  padding-left: 5px;
  display: flex;
  align-items: center;
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-weight: 800;
  font-style: normal;
}
main {
  width: 610px;
  margin: 35px auto 35px;
  min-height:800px;
  background-color: #ffffff;
  padding: 25px;
}
/* サブページ大見出し */
main h3 {
  margin: 2em 0 1em;
  padding: 4px 0 4px 10px;
  background: linear-gradient(90deg, rgba(123,191,73,1) 0%, rgba(221,247,201,1) 100%);
  font-weight: bold;
  font-weight: 600;
  font-size: 130%;
  text-align: left;
  color: #ffffff;
}

/* 一番最初にくる時はアキなしにする場合はここに書き足す */
main h3:first-child, main h4:first-child, main h5:first-child, main p:first-child, main table tr td p:first-child, main blockquote p:first-child {
  margin-top: 0;
}

/* 組み合わせでアキなしする場合はここに書き足す */
main h3 + h4, main h4 + h5, main h3 + p ,main h4 + p, main h5 + p {
  margin-top:0;
}

/* サブページ中見出し */
main h4 {
  margin: 1.5em 0 1em;
  padding:0.4em 0.75em 0.2em;
  border-left: 6px solid #ff9100;
  border-bottom: 1px solid #ff9100;
  color: #ff9100;
  font-size: 110%;
  font-weight: bold;
}

/* サブページ小見出し */
main h5 {
  margin: 1.2em 0 0.7em;
  padding:0 2px 2px;
  font-size: 105%;
  font-weight: bold;
  border-bottom: 1px dotted #333;
}

/* サブページ段落 */
main p {
  margin-top: 1em;
}
main p.zero {
  margin-top: 0;
}
main p.han {
  margin-top: 0.5em;
}

/* サブページリスト */
main ul {
  margin-left: 1em;
}
main ul li {
  list-style: disc;
}
main ul.half li {
  margin-bottom: 0.5em;
}
main ol {
  margin-left: 1.5em;
}
main ol li {
  list-style: decimal;
}

/* 只今準備中です。 */
p.jyunbi {
  text-align: center;
  padding-top: 100px;
}

/* 挨拶 */
main.greet p {
  margin-top: 0.75em;
  text-indent: 1em;
}
div.greet_name{
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin: 0 auto 30px;
}
div.greet_name div.name{
  flex: auto;
}
div.greet_name div.name p{
  text-indent: 0;
  line-height: 1.8;
  text-align: left;
}
div.greet_name div.photo{
  flex: 0 0 150px;
/*  padding: 0 30px 0 0;*/
  padding: 0 10px 0 0;
}

/* 開催概要 */
table.hyou_info {
  width: 100%;
  border: 1px solid #DDDDDD;
}
table.hyou_info th,table.hyou_info td {
  padding: 15px 15px;
  border: 1px solid #DDDDDD;
}
table.hyou_info td {
  background-color: #fff;
}
table.hyou_info th {
  background-color: #E8E8F8;
  vertical-align: top;
  text-align: center;
  white-space: nowrap;
  font-weight:normal;
}

/* 協賛・寄付の申込 */
table.kyousan {
  width: 100%;
  margin: 1em 0;
}
table.kyousan td {
  border: 1px solid #CDCDCD;
  background-color: #FFFFFF;
  padding: 0.5em 1em;
  vertical-align: top;
  text-align: left;
}
table.kyousan td.cen {
  text-align: center;
}
table.kyousan th {
  border: 1px solid #CDCDCD;
  background-color: #E8E8F8;
  padding: 0.5em;
  vertical-align: top;
  text-align: center;
  font-weight: normal;
}

/* accsess*/

/* 別ページで開く------------------- */

/* 別ページで開くここまで------------------- */

/* 関連リンク */
p.link:before {
  content:url(../images/icon_link.png);
  padding-right: 4px;
  vertical-align:top;
}
p.link a:link,p.link a:visited {
  color:#333333;
  text-decoration:none;
}
p.link a:hover,p.link a:active {
  color:#666666;
  text-decoration:underline;
}

/* 文章中の関連リンク */
a:link, a:visited {
  color: #0066CC;
  text-decoration: none;
}
a:hover, a:active {
  color: #0066CC;
  text-decoration: underline;
}

/* pagetop */
.pagetop {
  display: none;
  position: fixed;
  bottom:20px;
  right:10px;
}
.pagetop a {
  display: block;
  width:100%;
  height:auto;
}
/* 外部関連リンク */
a.external {
  background: url(../images/external.png) no-repeat right center;
  padding-right: 20px;
}

/* テンプレート */
table.hyou_aaa {
  width: 100%;
  margin-bottom: 1em;
}
table.hyou_aaa td {
  border: 1px solid #CDCDCD;
  background-color: #FFFFFF;
  padding: 0.5em;
  vertical-align: top;
  text-align: left;
}
table.hyou_aaa th {
  border: 1px solid #CDCDCD;
  background-color: #E8E8F8;
  padding: 0.5em;
  vertical-align: top;
  text-align: left;
  font-weight: normal;
  width: 20%;
}
table.hyou_aaa tr {
  padding: 0.5em;
  vertical-align: top;
  text-align: left;
}

/* table line_none */
table.non {
  border: none;
}
table.non td {
  text-align: left;
  vertical-align: top;
}
table.non th {
  text-align: left;
  vertical-align: top;
  white-space: nowrap;
  font-weight: normal;
}
/* ※一字下げ */
.kome{
  padding-left:1em;
  text-indent:-1em;
}
dl.katakakko dt {
  float: left;
}
dl.katakakko dd {
  padding-left: 1.5em;
}

.dl_btn {
  text-align:center;
}

.mbm1 {margin-bottom:-1em;}
.mb1 {margin-bottom:1em;}
.mb2 {margin-bottom:2em;}
.mb03 {margin-bottom:0.3em;}
.mb05 {margin-bottom:0.5em;}
.mb15 {margin-bottom:1.5em;}

.pl05 {padding-left:0.5em;}

.ml1 {margin-left:1em;}

.f85 {font-size:85%;}
.f90 {font-size:90%;}
.f95 {font-size:95%;}
.f100 {font-size:100%;}
.f105 {font-size:105%;}
.f110 {font-size:110%;}
.f115 {font-size:115%;}
.f120 {font-size:120%;}

.uchikeshi {
   background:
url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABAQMAAAAl21bKAAAABGdBTUEAAK/INwWK6QAAAANQTFRFAAAAp3o92gAAAApJREFUCB1jYAAAAAIAAc/INeUAAAAASUVORK5CYII=)
0 center repeat-x;
}
.uchikeshi.red {
   background:
url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABAQMAAAAl21bKAAAABGdBTUEAAK/INwWK6QAAAANQTFRF/wAAGeIJNwAAAApJREFUCB1jYAAAAAIAAc/INeUAAAAASUVORK5CYII=
) 0 center repeat-x;
}
.underline {
  text-decoration:underline;
}
.red {color: #FF0000;
}
.blue {color: #1d2777;
}

/* 太字 */
.bold{
  font-style:normal;
  font-weight:bold;
}

.text_r{
  text-align:right;
}
.text_c{
  text-align:center;
}

/* ボタン */
.button {
  width: 270px;
  border-radius: 9999px;
  text-align: center;
  background-color: #ddf7c9;
  border: 2px solid #7bbf49;
  cursor: pointer;
  font-size:18px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
  position: relative;
  height:60px;
}

.button a {
  width: 100%;
  height: 100%;
  color: #7bbf49;
  text-decoration: none;
  font-weight:bold;
  /** 以下中央揃え**/
  display: -webkit-box;
  -webkit-box-align: center;
  -webkit-box-pack: center;
  border-radius: 9999px;/*長円形作成*/
}
.button:hover {
  color: #F8E5E7;
  background-color: #7bbf49;
}
.button:hover a {
  color: #fff;
}
.button_400 {
  width: 400px;
}
.button_190 {
  width: 190px;
}
.button_2line {
  height:60px;
  padding:0;
  line-height: 1.2;
}
.button_3line {
  height:84px;
  padding:0;
  border-radius: 9999px;
  line-height: 1.2;
}

/* 反応しないボタン */
.button_gray {
  width: 270px;
  border-radius: 9999px;/*長円形作成*/
  text-align: center;
  background-color: #BBB;
  font-size:18px;
  font-weight: bold;
  color:#fff;
  /** 以下中央揃え**/
  display: -webkit-box;
  -webkit-box-align: center;
  -webkit-box-pack: center;
  position: relative;
  height:60px;
}

/* ボタン  アイコン */
.pdf_icon a::after {
  content: '';
  display: inline-block;
  position: absolute;
  top: calc(50% - 12px);
  right: 20px;
  background: url('../images/icon_pdf-25px.png') no-repeat;
  width:25px;
  height:25px;
}

.dl_box {
  display: flex;
  justify-content:space-around;
  flex-wrap: wrap;
  margin:1em 0;
}
.dl_item {
  margin: 10px;
}

/* PCで表示 */
.pc_only {
  display: inline-block;
}

/* PCでは非表示 */
.sp_only, .tb_only, .pc_none {
  display: none;
}

/*------------------------------------------*/
/* タブレット用 */
/*------------------------------------------*/
@media screen and (max-width:959px){


  /* タブレットで表示 */
  .tb_only, .pc_none {
    display: inline-block;
  }

  /* タブレットでは非表示 */
  .pc_only, .sp_only {
    display: none;
  }

  /* コンテンツ全体 */
  #contents_all {
    width: 100%;
    max-width: 959px;
  }

  /* コンテンツ */
  #contents {
    max-width: 100%;
  }
  /* ヘッダー */
  header {
    width:100%;
    height: 100%;
    box-sizing: border-box;
    text-align: left;
  }
  header img {
    margin: 2% ;
    width: 95%;
  }
  /* 左コンテンツ */
  #contents_l {
    width: 25%;
  }
  /* メニュー */
  nav {
    margin: 0;
    width: 100%;
  }
  ul.menu {
    width:95%;
    margin: 6% 0 0 0;
  }
  ul.menu > li > a{
    height: 36px;
    display: flex;
    align-items:center;
    font-size: 11.5px;
    line-height: 1.3;
  }
  /* ここからmain部分 */

  /* 右コンテンツ */
  #contents_r {
    width: 75%;
    max-width: 820px;
    background-size: 100% auto;
    height: 100%;
    min-height: 860px;
  }
  #top_contents {
    width: 100%;
  }
  #contents_r .top_info {
    margin: 30% auto 40%;
    width: 50%;
  }

  /* 新着情報 */
  #news {
    margin-bottom: 0;
    width:90%;
  }
  #news h2 {
    width:94%;
    font-size: 24px;
    height: 36px;
  }
  #news_flame {
    width: 96%;
    height: 190px;
    padding: 12px;
    font-size: 90%;
    line-height: 1.4;
  }
/* 事務局等 */
  .info{
    /* width: 22%; */
    width: 91%;
    /* margin:20px auto 20px; */
    box-sizing: border-box;
    top: 570px;
    font-size: 10.5px;
  }
  .info h2 {
    font-size: 12px;
  }
  /* サブページ内 */
  #contents_r h2.pagetitle {
    margin: 0 2% 1em;
    font-size: 22px;
    height: 32px;
    width:auto;
    display:block;
    line-height: 1.6;
  }
  main {
    width:auto;
    margin: 5%;
    min-height: 660px;
  }

  /* pagetop */
  .pagetop {
    bottom:2%;
    right:2%;
  }
  footer{
    width: 100%;
  }

  .dl_box {
    gap: 20px 30px;
  }

/* 下記は削除しない */
}

/*------------------------------------------*/
/* スマホ用 767px 320px */
/*------------------------------------------*/
@media screen and (max-width:767px){

  /* スマホで表示 */
  .sp_only, .pc_none {
    display: inline-block;
  }

  /* スマホでは非表示 */
  .pc_only, .tb_only, .sp_none, .img_l {
    display: none;
  }
  /* スマホ-button- */
  #btn {
    width: 40px;
    height: 40px;
    position: absolute;
    top: 0;
    right: 5px;
    margin-left: auto;
    z-index: 999;
  }
  #menu-collapser {
    display: block;
    width: 26px;
    height: 2px;
    background: #6167ae;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    transition: 0.1s;
  }
  #menu-collapser:before {
    display: block;
    content: "";
    width: 26px;
    height: 2px;
    background: #6167ae;
    position: absolute;
    top: -20px;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    transition: 0.1s;
  }
  #menu-collapser:after {
    display: block;
    content: "";
    width: 26px;
    height: 2px;
    background: #6167ae;
    position: absolute;
    top: 0;
    right: 0;
    bottom: -20px;
    left: 0;
    margin: auto;
    transition: 0.1s;
  }
  #menu-collapser.click {
    background: transparent;
  }
  #menu-collapser.click:before {
    top: 0;
    transform: rotate(45deg);
  }
  #menu-collapser.click:after {
    bottom: 0;
    transform: rotate(135deg);
  }
  /* コンテンツ */
  #contents_all {
    width: 100%;
    max-width: 480px;
    min-height:100%;
    margin: 0 auto;
    overflow:hidden;
  }
  #contents {
    margin:0 auto;
    width: 100%;
    position: relative;
    overflow:hidden; /* contents_lと contents_rの高さを揃える*/
  }
  /* ヘッダー */
  header{
    position: fixed;
    width: 100%;
    margin: 0 auto;
    z-index: 100;
  }
  header img {
    width: 85%;
    margin: 1% 0 0 2%;
  }
  
  /* 左コンテンツ */
  #contents_l {
    float: none;
    width: 100%;
  }

  /* メニュー */
  nav {
    float: none;
    width: 100%;
    margin: auto;
    background-color: #ffffff;
  }
  nav.add {
    padding-top: 16%;
  }
  ul.menu {
    width: 100%;
    display: none;
    margin: 3% 0 0 0;
  }
  ul.menu > li > a{
    height: 45px;
    font-size: 105%;
    box-shadow: none;
  }
  ul.menu > li > a:before {
    padding-right: 6px;
  }

  /* ここからmain部分 */

  /* 右コンテンツ */
  #contents_r {
    margin-left: -100%;
    width: 100%;
    height: 100%;
    margin-top: 60px;
    min-height: 800px;

  }
  #top_contents{
    display: block;
    margin: 5% auto;
    width: 90%;
  }
  #contents_r .top_info {
    margin: 30% auto 40%;
    width: 50%;
  }

  /* 新着情報 */
  #news{
    width: 92%;
    margin: 2% auto 3%;
  }
  #news h2{
    width:100%;
    font-size: 18px;
    height: 28px;
    line-height: 1.7;
  }
  #news_flame {
    width:100%;
    height:160px;
    padding: 12px;
    background-color: #fff;
  }
  #news_flame dt {
    float: none;
    padding: 0;
  }
  #news_flame dd {
    padding: 0 0 1em;
  }

  /* 事務局等 */
  .info{
    display:block;
    margin: 10px auto 0;
    width: 100%;
    padding:5%;
    font-size: 84%;
    background-color: #ffffff;
  }
  .info h2 {
    font-size: 105%;
  }
  footer{
    width: 100%;
    font-size: 10px;
  }

  /* サブページ内 */
 header {
    position: fixed;
    min-width: 100%;
    height: 60px;
  }
header h1 {
  width: 100%;
  }
#contents_r h2.pagetitle {
    padding: 4px 0;
    font-size: 22px;
    min-height: 30px;
    height: 100%;
    line-height: 1.4;
  }
  main {
    margin: 5%;
    min-height: 500px;
    padding: 15px;
  }

  /* 挨拶 */
  div.greet_name{
    display: block;
    margin: 0 auto 1.5em;
  }
  div.greet_name{
    display: flex;
    flex-direction: column;
    margin: 0 auto 20px;
  }
  div.greet_name div.name{
    order: 2;
    margin:0 auto;
  }
  div.greet_name div.name p{
    text-align: center;
    line-height: 1.6;
  }
  div.greet_name div.photo {
    margin: 0 auto;
    padding: 0;
    order: 1;
  }
  div.greet_name div.photo img {
      margin: 0 5%;
/*      width: 90%;
      height: auto;*/
  }
/*  main.greet p{
    margin: 0 0 5px 0;
  }*/

  /* 開催概要 */
  table.hyou_info th,table.hyou_info td {
    padding: 0.7em;
  }

  /* pagetop */
  .pagetop {
    bottom:7%;
    right:3%;
  }
  #contents_r .pagetop img {
    max-width:90%;
  }

  /* 下記は削除しない */
}

/*------------------------------------------*/
/* スマホ用 320px以下 */
/*------------------------------------------*/
@media screen and (max-width:320px){

  /* ヘッダー */
  #contents_r {
    min-height: 100%;
  }

  /* 下記は削除しない */
}
