@charset "utf-8";

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

html,body{ height:100%;}

/* 背景 */
body {
  line-height: 1.7;  color: #333333;
  font-family: Arial, Roboto, "Droid Sans", "メイリオ", Meiryo, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 90%;
  text-autospace: normal;
  background: #5a646e;
}

/* 画像全体 */
img {
  border: 0;
  vertical-align: top;
  max-width: 100%;
  height: auto;
}

/* 見出し */
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;
}

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

/* HTML5, 5.1 で追加 */
article, aside, canvas, details, figcaption, figure, footer,
header, hgroup, main, menu, nav, picture, section, summary {
  display: block;
}

/* コンテンツ全体 */
#contents_all {
  max-width:960px;
  width: 100%;
  height:auto !important;
  height:100%;
  margin:0 auto;
  min-height:684px;
  box-shadow: 0px 3px 15px 0px rgba(0, 0, 0, 0.8);
}

/* hamburger ボタン */
.hamburger {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border: 0;
  cursor: pointer;
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 10;
  background: #2864b4;
  border-radius: 9999px;
}
.hamburger_line {
  position: relative;
  width: 25px;
  height: 3px;
  background: #FFFFFF;
}
.hamburger_line::before,
.hamburger_line::after {
  position: absolute;
  content: "";
  display: block;
  width: 25px;
  height: 3px;
  background: #FFFFFF;
  transition: 0.3s all;
}
.hamburger_line::before {
  top: -8px;
}
.hamburger_line::after {
  bottom: -8px;
}
/* 閉じる */
.hamburger.active .hamburger_line {
  background: transparent;
}
.hamburger.active .hamburger_line::before {
  top: 0;
  transform: rotate(45deg);
}
.hamburger.active .hamburger_line::after {
  bottom: 0;
  transform: rotate(-45deg);
}

.hamburger {
  display: none;
}

/* コンテンツ */
#contents {
  width: 100%;
  margin:0 auto;
  display: flex;
}

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

/* 左コンテンツ */
#contents_l {
  max-width: 222px;
  width: 100%;
  background: #d2d6da;
}
#contents_l.top {
  display: flex;
  flex-direction: column;
}

/* メニュー */
nav {
  width: 100%;
  margin:10px auto ;
}
ul.menu {
  width: 100%;
}
ul.menu > li > a {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  width: 204px;
  min-height: 32px;
  background: #e6ebf0;
  color: #000000;
  text-decoration: none;
  font-weight: bold;
  font-size: 13px;
  line-height: 1.2;
  padding:0 5px 0 7px;
  box-sizing: border-box;
  border: 1px solid #000000;
  border-radius: 4px;
  margin: 0 auto 4px;
}
ul.menu > li a.on,
ul.menu > li a:hover {
  background: #ffffff;
  color: #f04646;
}

/* 通常のバナー掲載 */
.banner_container {
  text-align: center;
}
.banner_container img {
  margin-bottom: 20px;
}

/* ここからmain部分 */

/* 右コンテンツ */
#header {
  display: block;
  text-align: center;
}
#header.top {
  margin: 10px auto 660px;
}
#contents_r {
  max-width: 738px;
  width: 100%;
  background:  url("../images/img_background.png") no-repeat right top #ffffff;
}
.movie {
  width: 60%;
  display: block;
  margin: 10px auto;
  padding:40% 0 0 0;
  position:relative;
}

/* 新着情報 */
#news {
  max-width:738px;
  width: 100%;
  padding: 0 3.9%;
  text-align:left;
  margin: 0 auto 15px;
  box-sizing: border-box;
}
h3.news_title {
  background: #2864b4;
  color: #FFFFFF;
  height: 34px;
  line-height: 34px;
  font-size: 24px;
  font-weight: bold;
  text-align: left;
  border-radius: 8px 8px 0 0;
  border-top: 1px solid #5a646e;
  border-right: 1px solid #5a646e;
  border-left: 1px solid #5a646e;
  padding: 4px 0 3px 6px;
}
#news_frame {
  width: 100%;
  margin:0 auto;
  font-size: 13px;
  height:150px;
  padding:10px 20px 5px;
  overflow:auto;
  box-sizing: border-box;
  background: #FFFFFF;
  border-radius: 0 0 8px 8px;
  border-bottom: 1px solid #5a646e;
  border-right: 1px solid #5a646e;
  border-left: 1px solid #5a646e;
}
#news_frame dl {
  overflow: hidden;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1em 1.5em;
  box-sizing: border-box;
}
#news_frame dl dt {
  color: #a01414;
}

/* 事務局等 */
.wrapper_info {
  width:204px;
  color: #333333;
  margin: 80% auto 0;
}
.wrapper_info h4 {
  padding: 0 10px;
  box-sizing: border-box;
  max-height: 20px;
  line-height: 20px;
  font-size: 13px;
  background: #f04646;
  color: #ffffff;
}
.wrapper_info address {
  font-style: normal;  
  font-size: 11px;
  padding: 5px 0;
  box-sizing: border-box;
  padding-bottom: 1em;
  line-height: 1.4;
}

/* フッター */
footer {
  text-align: center;
  font-size: 12px;
  padding: 5px 0;
  margin: 0 auto;
  width: 100%;
  background: #f04646;
  color: #FFFFFF;
  line-height: 1.4;
}

/* サブページ内 */
main {
  padding: 0 24px;
  margin-top: 4px;
}
main .inner {
  background: rgba(255,255,255,0.93
  );
  max-width: 690px;
  width: 100%;
  margin: 0 auto 20px;
  padding:30px 20px;
  box-sizing: border-box;
  position:relative;
  min-height:960px;
}
main h2 {
  background: #ffffff;
  min-height: 44px;
  font-size: clamp(22px,4vw,30px);
  font-weight: bold;
  color: #f04646;
  max-width: 690px;
  width: 100%;
  margin: auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  line-height: 1;
  padding: 5px 10px 3px;
  box-sizing: border-box;
  letter-spacing: 0.5px;
  text-align: left;
  border: 1px solid #000000;
  border-radius: 4px;
}
/* サブページ大見出し */
main h3 {
  border-left: 10px double#2864b4;
  border-bottom: 2px solid #2864b4;
  font-size: 120%;
  font-weight: bold;
  padding: 5px 10px 4px 10px;
  margin: 2em 0 1em;
  background-color: #E4EEFC;
}

/* 一番最初にくる時はアキなしにする場合はここに書き足す */
main h3:first-child, main h4:first-child, main h5:first-child, main p:first-child, main table tr td 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-top: 1.5em;
  margin-bottom: 0.75em;
  font-size: 110%;
  font-weight: bold;
  background-color: #F0C9C9;
  padding: 0.5em 0.8em 0.25em;
  border-radius: 4px;
}

/* サブページ小見出し  */
main h5 {
  margin: 1em 0 0.5em 0;
  padding:0.1em;
  font-weight: bold;
  border-bottom: 2px dotted #BBBBBB;
}

/* サブページ段落 */
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;
}


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

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

/* 挨拶 */
main.greet p {
  line-height: 1.9;
  text-indent:1em;
}
main .wrapper_greet {
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  margin: 0 0 30px;
}
main .wrapper_greet > p {
  line-height: 1.6;
  text-indent: 0;
  text-align: left;
}
main .wrapper_greet > p:last-child {
  margin-left: 15px;
}
main .wrapper_greet > p.no_image {
  margin-left: 0;
}

/* 開催概要 */
table.hyou_info{
  border-collapse:collapse;
  width:100%;
  border: 1px solid #BBBBBB;
}
table.hyou_info th{
  border-top:1px solid #BBBBBB;
  border-right:1px solid #BBBBBB;
  padding:1em;
  vertical-align:top;
  white-space:nowrap;
  text-align:center;
  background: #EDF1FA;
  color:#555;
  width:10%;
}
table.hyou_info td{
  border-top:1px solid #BBBBBB;
  padding: 1em;
  vertical-align:top;
  text-align:left;
  background-color: #ffffff;
}

/* endai */

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

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

/* kigyo */

/* accsess*/

/* リンク */
p.link {
  background:url(../images/icon_link.png) no-repeat left center;
  padding-left:20px;
  margin-bottom:0;
}
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:40px;
  right:95px;
  z-index: 3;
}
.pagetop a {
  display: block;
  width:44px;
  height:44px;
}

/* 外部リンク */
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 #666666;
  background-color: #FFFFFF;
  padding: 0.5em 1em;
  vertical-align: top;
  text-align: left;
}
table.hyou_aaa th {
  border: 1px solid #666666;
  background-color: #EDF1FA;
  padding: 0.5em 1em;
  vertical-align: top;
  text-align: left;
  font-weight: normal;
  width: 20%;
}
table.hyou_aaa tr {
  padding: 0.5em 1em;
  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;
}

/* text */
.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: 10px;
  text-align: center;
  background-color: #D2E5FD;
  border: 2px solid #2864b4;
  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: #2864b4;
  text-decoration: none;
  font-weight:bold;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border-radius: 10px;/*長円形作成*/
}
.button:hover {
  background: #033787;
}
.button:hover a {
  color: #FFFFFF;
}
/* 反応しないボタン */
.button_gray {
  width: 270px;
  border-radius: 10px;/*長円形作成*/
  text-align: center;
  background-color: #BBBBBB;
  font-size:18px;
  font-weight: bold;
  color:#FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height:60px;
}

.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: 10px;
  line-height: 1.2;
}

/* ボタン  アイコン */
.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;
  }

  body.active {
    background: #d2d6da;
  }

  /* コンテンツ全体 */
  #contents_all {
    box-shadow: none;
  }

  /* 右コンテンツ */
  #contents_r {
    width: 77%;
    background-size:contain;
  }
  #header.top {
    margin: 10px auto 90%;
    width: 98%;
  }

  /* 左コンテンツ */
  #contents_l {
    width: 23%;
  }
  /* メニュー */
  ul.menu > li > a {
    font-size: 13px;
    width: 96%;
  }

  /* 事務局等 */
  .wrapper_info {
    width:96%;
  }
  .wrapper_info address {
    font-size: 10.5px;
  }

  /* 新着情報 */
  #news_frame {
    height: 200px;
  }

  /* サブページ内 */
  main {
    padding: 0 3.2%;
  }
  main .inner {
    padding:30px 3%;
   
  }

  /* pagetop */
  .pagetop {
    display: none;
    position: fixed;
    bottom:40px;
    right:2.5%;
    z-index: 3;
    }

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

/*------------------------------------------*/
/* スマホ用 767px  下記に575px */
/*------------------------------------------*/
  @media screen and (max-width:767px){
  /* スマホで表示 */
  .sp_only, .pc_none {
    display: inline-block;
  }
  /* スマホでは非表示 */
  .pc_only, .tb_only, .sp_none {
    display: none;
  }

  /* コンテンツ全体 */
  #contents_all {
  }

  /* hamburger ボタン */
  .hamburger {
    display: flex;
  }

  /* ヘッダー */
  header.page {
    transform-origin: left;
    transform: scale(0.9);
  }
  #header.top {
    margin: 2% 0 93% 2%;
    width: 80%;
  }

  /* コンテンツ */
  #contents {
    flex-direction: column;
  }

  /* 左コンテンツ */
  #contents_l {
    max-width: none;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
  }

  /* メニュー */
  nav {
    margin: 68px auto 0;
  }
  ul.menu {
    padding: 0 10px;
    box-sizing: border-box;
  }
  ul.menu > li > a {
    padding-left: 1em;
    font-size: 14px;
  }


  /* ここからmain部分 */

  /* 右コンテンツ */
  #contents_r {
    max-width: none;
    width: 100%;
  }
  .movie {
    width: 96%;
    margin: -12% auto;
    padding:90% 0 0 0;
  }

  /* 新着情報 */
  #news {
    max-width:none;
    padding: 0 5%;
  }
  h3.news_title {
    height: 30px;
    line-height: 30px;
    font-size: 20px;
  }
  #news_frame {
    height: 200px;
    padding: 10px 2.5% 5px;
  }
  #news_frame dl {
    grid-template-columns: 1fr;
    gap: 0; 
  }
  #news_frame dl dd {
    margin-bottom: 1em;
  }

  /* 事務局等 */
  .wrapper_info {
    margin: 10px auto;
    box-sizing: border-box;
  }
  .wrapper_info address {
    font-size: 13px;
  }

  /* サブページ内 */
  main {
    padding: 0 2.5%;
  }
  main .inner {
    padding:30px 2.5%;
    min-height: 450px;
  }

  /* 挨拶 */
  main .wrapper_greet {
    flex-direction: column;
    align-items: center;
    }
  main .wrapper_greet > p {
    margin-bottom: 1em;
    text-align: center;
  }
  main .wrapper_greet > p:last-child {
    margin-left: 0;
    margin-bottom: 0;
  }
  .wrapper_greet p span {
    display: inline-block;
    padding: 0.5em 0 0;
  }

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

@media screen and (max-width:576px){
  /* ヘッダー */
  header.page {
    transform: scale(0.82);
  }
  header.page img {
    padding-left: 10px;
  }

  /* 開催概要 */
  table.hyou_info{
  }
  table.hyou_info th{
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 0.5em 1em;
  }
  table.hyou_info td{
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

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