/*
Theme Name: 羽田国際中学校・羽田国際高等学校（公式）オリジナルテーマ
Author: 株式会社新和プランニング
Description: NEWS & TOPICS
*/

@charset "utf-8";
/* WP自動出力されたhtmlの調整CSS ----------------------------------------------------------------*/

/* ページ送り */
/* スクリーンリーダー読み込み非表示 */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
  background-color: #eee;
  clip: auto !important;
  clip-path: none;
  color: #444;
  display: block;
  font-size: 1em;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
  /* Above WP toolbar. */
}

.page-numbers a {
  text-decoration: none;
  color: #0d99da;
}

#pager ul {
  display: flex;
  justify-content: center;
}

#pager .prev,
#pager .next {
  border: none;
  position: relative;
}

#pager .prev {
  transform: rotate(180deg);
}

#pager a,
.current {
  display: block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  background: #0d99da;
  color: #fff;
  border-radius: 800px;
  margin: 0 10px;
  transition: 0.5s;
}

.current {
  border: solid 1px #0d99da;
  background: transparent;
  color: #0d99da;
}

#pager .dots {
  color: #0d99da;
  line-height: 40px;
}

#pager a:hover {
  opacity: 0.8;
}

@media screen and (max-width: 768px) {
  #pager {
    margin-bottom: 50px;
  }

  #pager a,
  .current {
    margin: 0 5px;
  }
}

/* ページ送りここまで */

/* 動画用CSS ----------*/
.movie {
  height: 0;
  width: 100%;
  overflow: hidden;
  padding-bottom: 56.25%;
  position: relative;
}

.movie iframe {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
}

/* テーブル用CSS ----------20204.1.8*/
.tdw20top {
  width: 20%;
  vertical-align: top;
}
.tdw80top {
  width: 80%;
  vertical-align: top;
  padding-left: 30px;
}
@media screen and (max-width: 768px) {
  th,
  td {
    /*display: inline-block;*/
     /*width: 100%;*/
    /* float: none;*/
  }
  .tdw20top {
    width: 100%;
    vertical-align: top;
    text-align: center;
    padding: 0% 25%;
  }
  .tdw80top {
    width: 100%;
    vertical-align: top;
    padding-top: 10px;
    padding-left: 0px;
  }
}

/* footer固定ボタン */
@media screen and (max-width: 768px) {
  #footerLink .post1 {
    width: 100%;
    height: 40px;
    margin-bottom: 0;
  }
  #footerLink .post2 {
    width: 50%;
    height: 40px;
    margin-bottom: 0;
  }
}
