/*画面幅1100px以下の設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/

@media screen and (max-width:1100px) {
  /*container（footer以外を囲むブロック）
---------------------------------------------------------------------------*/
  #container {
    max-width: 100%;
    padding: 0 3%;
    /*上下、左右へのボックス内の余白*/
  }
  /*mainコンテンツ
---------------------------------------------------------------------------*/
  /*トップページでのmainコンテンツへの追加設定*/
  .home #main {
    margin-top: 23%;
    /*上に空けるスペース。スライドショーとのバランスをとって設定して下さい。*/
  }
  #fsize {
    font-size: 18px;
    width: 210px;
  }
}

/*画面幅900px以下の設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/

@media screen and (max-width:900px) {
  .submenu {
    display: none;
  }
  /*ヘッダー（ロゴが入った最上段のブロック）
---------------------------------------------------------------------------*/
  /*ヘッダーブロック*/
  header {
    position: absolute;
    left: 3%;
    /*画面の左からの配置場所指定*/
    top: 0px;
    /*画面の上からの配置場所指定*/
  }
  /*ロゴ画像ブロック*/
  header #logo {
    width: 170px;
    /*ロゴ画像の幅*/
  }
  /*contents
---------------------------------------------------------------------------*/
  /*トップページのcontentsブロック*/
  .home #contents {
    padding-top: 25%;
    /*上のスライドショーとのバランスをとって下さい*/
  }
  /*トップページ以外のcontentsブロック*/
  #contents {
    padding-top: 200px;
  }
  /*メインメニュー
---------------------------------------------------------------------------*/
  /*アニメーションのフレーム設定。全100コマアニメーションだと思って下さい。透明(0%)から色を100%出すアニメーション指定。*/
  @keyframes menu1 {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }
  #counter-s {
    display: block;
  }
  /*スマホ用メニューブロック*/
  #menubar-s {
    display: block;
    overflow: hidden;
    position: absolute;
    top: 0px;
    left: 0px;
    border-top: 1px solid #fff;
    /*上の線の幅、線種、色*/
    width: 100%;
    z-index: 10;
    animation-name: menu1;
    /*上のkeyframesの名前*/
    animation-duration: 0.5S;
    /*アニメーションの実行時間。0.5秒。*/
    animation-fill-mode: both;
    /*アニメーションの完了後、最後のキーフレームを維持する*/
  }
  /*メニュー１個あたりの設定*/
  #menubar-s li a {
    display: block;
    text-decoration: none;
    padding: 15px 10px 15px 20px;
    /*上、右、下、左へのメニュー内の余白*/
    border-bottom: 1px solid #fff;
    /*下の線の幅、線種、色*/
    background: rgba(0, 0, 0, 0.8);
    /*背景色*/
    font-size: 20px;
    color: #fff;
    /*文字色*/
  }
  /*英語表記（飾り文字）*/
  #menubar-s li a span {
    display: block;
    font-size: 12px;
    /*文字サイズ*/
  }
  /*PC用メニューを非表示にする*/
  #menubar {
    display: none;
  }
  /*３本バーアイコン設定
---------------------------------------------------------------------------*/
  /*３本バーブロック*/
  #menubar_hdr {
    display: block;
    position: absolute;
    z-index: 11;
    top: 70px;
    /*上からの配置場所指定*/
    right: 3%;
    /*右からの配置場所指定*/
    border: 1px solid #fff;
    /*枠線の幅、線種、色*/
  }
  /*アイコン共通設定*/
  #menubar_hdr.close, #menubar_hdr.open {
    width: 50px;
    /*幅*/
    height: 50px;
    /*高さ*/
    border-radius: 50%;
  }
  /*三本バーアイコン*/
  #menubar_hdr.close {
    background: #22ac38 url(../images/icon_menu.png?v=5) no-repeat center top/50px;
  }
  /*閉じるアイコン*/
  #menubar_hdr.open {
    background: #22ac38 url(../images/icon_menu.png?v=5) no-repeat center bottom/50px;
  }
  /*header,main,sub
---------------------------------------------------------------------------*/
  header, #main, #sub {
    float: none;
    width: auto;
    overflow: hidden;
  }
  /*その他
---------------------------------------------------------------------------*/
  body.s-n #sub, body.s-n #side {
    display: none;
  }
}

/*画面幅600px以下の設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/

@media screen and (max-width:600px) {
  #qr, #qrdamy {
    display: none;
  }
  /*mainコンテンツ
---------------------------------------------------------------------------*/
  #main {
    margin-top: 5%;
  }
  #main p {
    padding: 0px 0.5em 0px;
    /*上、左右、下への余白*/
  }
  /*mainコンテンツのh2タグ設定*/
  #main h2 {
    font-size: 1rem;
    /*文字サイズ*/
    padding: 10px 20px 10px 60px;
    /*上、右、下、左への見出し内の余白*/
  }
  /*PAGE TOP（↑）設定
---------------------------------------------------------------------------*/
  /*ボタンの設定*/
  body.is-fixed-pagetop .nav-fix-pos-pagetop a {
    width: 60px;
    /*幅*/
  }
  #fsize {
    /* left: 40%; */
    right: 60px;
    top: 67px;
    padding-left: 1em;
    width: 40%;
    background-color: transparent;
    box-shadow: none;
  }
  .home #fsize {
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.2);
    right: 2%;
    top: 8px;
    width: 45%;
  }
  .fsize-cap {
    display: none;
  }
  .home #menubar_hdr {
    top: 10px;
  }
}

/*画面幅480px以下の設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/

@media screen and (max-width:480px) {
  /*全体の設定
---------------------------------------------------------------------------*/
  body {
    font-size: 12px;
    font-size: 2.93vw;
  }
  /*ヘッダー（ロゴが入った最上段のブロック）
---------------------------------------------------------------------------*/
  /*ロゴ画像ブロック*/
  header #logo {
    width: 120px;
    /*ロゴ画像の幅*/
  }
  /*contents
---------------------------------------------------------------------------*/
  /*トップページのcontentsブロック*/
  .home #contents {
    padding-top: 60%;
    /*上のスライドショーとのバランスをとって下さい*/
  }
  /*トップページ以外のcontentsブロック*/
  #contents {
    padding-top: 160px;
  }
  /*mainコンテンツ
---------------------------------------------------------------------------*/
  /*mainコンテンツのh2タグ設定 16px*/
  #main h2 {
    font-size: 0.9rem;
    padding: 20px 20px 20px 60px;
    /*上下、左右への見出し内の余白*/
  }
  /*mainコンテンツのh3タグ設定*/
  #main h3::first-letter {
    border-left: none;
    padding-left: 0;
  }
  /*トップページ内「更新情報・お知らせ」ブロック
---------------------------------------------------------------------------*/
  /*ブロック全体の設定*/
  .list dl {
    padding-left: 10px;
    padding-right: 10px;
  }
  /*よく頂く質問
---------------------------------------------------------------------------*/
  .faq {
    padding: 0px;
  }
  .faq dt, .faq dd {
    background-size: 25px;
  }
  /*テーブル（ta1）
---------------------------------------------------------------------------*/
  /*テーブル１行目に入った見出し部分（※caption）*/
  .ta1 caption {
    padding: 5px;
    /*ボックス内の余白*/
  }
  /*ta1設定*/
  .ta1, .ta1 td, .ta1 th {
    padding: 5px;
    /*ボックス内の余白*/
  }
  /*ta1の左側ボックス*/
  .ta1 th {
    width: 100px;
  }
  /*その他
---------------------------------------------------------------------------*/
  .ws, .wl {
    width: 94%;
  }
  .big1 {
    font-size: 18px;
    letter-spacing: normal;
  }
  .sh {
    display: block;
  }
  .pc {
    display: none;
  }
  .ta4, .ta4 td, .ta4 th {
    width: 100%;
    display: inline-block;
    border: none;
    text-align: left;
  }
  .date {
    padding-right: 0em;
  }
  .cshow {
    font-size: 0.9rem;
  }
  .video {
    width: 80%;
  }
  .video .inner {
    flex-wrap: wrap;
  }
  #video-list {
    max-height: 100%;
    overflow: visible;
  }
  table.ta3{
    width: 100% !important;
  }
  article{
    padding: 0 0.5rem !important;
    font-size: 1rem;
  }
}
