@charset "UTF-8";

/*トップページのみに反映されるCSS*/
html {
  height: 100%;
  width: 100%
}

body {
  /*width: 90%;*/
  margin: 0 auto;
  line-height: 1.5;
  font-size: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Source Han Sans JP", "Noto Sans JP", "Helvetica Neue", "Hiragino Kaku Gothic ProN", Verdana, Meiryo, sans-serif;
  overflow-wrap: break-word;
  -webkit-text-size-adjust: 100%;
  color: white;
}

/*------記事一覧------*/
.title_link a {
  display: inline-block;
  text-decoration: none;
  color: yellow;
}

.title_link a::after {
  border-bottom: solid 2px blue;
  bottom: 0;
  content: "";
  display: block;
  transition: all .3s ease;
  width: 0;
  margin-top: -5px;
}

.title_link a::first-letter {
  font-size: 1.5em;
  font-weight: 700;
}

.title_link li:hover {
  /*background:rgba(255,255,255,0.8);*/
  transition: all .3s ease;
  color: black;
  border-radius: 33px;
}

.content li {
  transition: all .3s ease;
}

.content li:hover {
  background: rgba(255, 255, 255, 0.8);
  transition: all .3s ease;
  color: black;
  border-radius: 33px;
}

.content li:hover a {
  color: black
}

.content li:hover a::first-letter {
  color: #FF00FF
}

.content li:hover a::after {
  width: 100%
}

.docs li {
  transition: all .3s ease;
}

.docs li:hover {
  background: rgba(255, 255, 255, 0.8);
  transition: all .3s ease;
  color: black;
  border-radius: 33px;
}

.docs li:hover a {
  color: black
}

.docs li:hover a::first-letter {
  color: #FF00FF
}

.docs li:hover a::after {
  width: 100%
}

/*HP背景画像*/
body,
section::before {
  background-image: url("./images/okinoerabu_image.jpg");
  /*--ここを入れ替える httpからのアドレスの場合は「"ここにアドレス"」--*/
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/*背景画像変更による文字等の配色変更*/
a {
  color: yellow
  /*--color: yellow--*/
}

#breadCrumbs.piece a {
  color: yellow
  /*--color: yellow--*/
}

h1 {
  color: black
}

#calendar {
  color: black
}

#calendar a {
  color: #003399
}

.more a {
  color: #003399
}

#commonFooter {
  color: black
}

#container,
#pageFooter {
  background-color: rgba(255, 255, 255, 0);
  background-blend-mode: lighten;
  width: 1200px;
  padding: 5px 5px;
  margin: 0 auto;
}

/*テーブルエリアの設定*/
.tableArea tr {
  color: black
}

.tableArea td {
  background: rgba(255, 255, 255, 0.8)
}

/* ------------------------- */
/* CssSlideshowの設定(HPトップのスライドショーの写真。URLを変更すれば写真が変わります。サイズは画像サイズは1200×700) */
/* ------------------------ */
.CssSlideshow {
  background: white;
  position: relative;
  width: 1200px;
  max-width: 1200px;
  margin: auto;
  overflow: hidden;
  height: 700px;
  margin-bottom: 10px;
  margin-top: -5px;
  transition: all 1s;
}

.CssSlideshowImg {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  opacity: 0;
  animation: bgAnime 25s infinite;
}

@keyframes bgAnime {
  0% {
    opacity: 0;
    transform: scale(1.3, 1.3);
  }

  1% {
    opacity: 1;
    transform: scale(1.3, 1.3);
  }

  5% {
    opacity: 1;
    transform: scale(1.3, 1.3);
  }

  21% {
    opacity: 1;
    transform: scale(1.0, 1.0);
  }

  25% {
    opacity: 1;
    transform: scale(1.0, 1.0);
  }

  26% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

.CssSlideshow .src1 {
  background-image: url("http://www.edu.pref.kagoshima.jp/_files/00034944/slide001.jpg");
  background-size: cover;
  z-index: 1;
}

/*.CssSlideshow .src1 a{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  text-indent:-999px;
  z-index:5;
}*/
.CssSlideshow .src2 {
  background-image: url("http://www.edu.pref.kagoshima.jp/_files/00028387/07.jpg");
  background-size: cover;
  animation-delay: 5s;
}

.CssSlideshow .src3 {
  background-image: url("./images/slide/06.jpg");
  background-size: cover;
  animation-delay: 10s;
}

.CssSlideshow .src4 {
  background-image: url("./images/slide/2.jpg");
  background-size: cover;
  animation-delay: 15s;
}

.CssSlideshow .src5 {
  background-image: url("./images/slide/24.jpg");
  background-size: cover;
  animation-delay: 20s;
}

/*-------------------------------------------------*/
/*    以下keyvisualに関するエフェクト     */
/*-------------------------------------------------*/
#keyvisual {
  width: 100%
}

.menuWrapper {
  font-family: -apple-system, BlinkMacSystemFont, "Source Han Sans JP", "Noto Sans JP", "Trebuchet MS", Arial, sans-serif;
  font-size: 15px;
  position: relative;
  margin-left: 0px;
  /*-25*/
  height: 542px;
  width: 797px;
  min-width: 797px;
  text-align: left;
  background-position: 0px;
  background-repeat: no-repeat;
  background-color: transparent;
  overflow: hidden;
}

ul.menu {
  list-style: none;
  width: 797px;
}

ul.menu>li {
  float: left;
  width: 265px;
  height: 542px;
  border-right: 1px solid #777;
  background-repeat: no-repeat;
  background-color: transparent;
  display: block;
}

ul.menu>li.last {
  border: none
}

/*バックグランドの写真3枚のURLを入れる*/
.bg1 {
  background-image: url("http://www.edu.pref.kagoshima.jp/_files/00034890/top001.jpg");
}

.bg2 {
  background-image: url("http://www.edu.pref.kagoshima.jp/_files/00034906/top002.jpg");
}

.bg3 {
  background-image: url("http://www.edu.pref.kagoshima.jp/_files/00034913/top003.jpg");
}

/* 小さいメニューの背景画 */
ul.menu>li ul {
  list-style: none;
  float: left;
  margin-top: -180px;
  width: 265px;
  height: 100px;
  /*背景画像の高さ*/
  padding-top: 20px;
  background-repeat: no-repeat;
  background-color: transparent;
  margin: 0;
  padding-top: 10px;
  transition: all .3s linear 0s;
}

ul.menu>li ul a {
  transition: all .3s
}

/*詳細メニューの色付き背景画像*/
ul.menu>li ul.sub1 {
  background-image: url("./images/keyvisual/bg3sub.png");
  margin-top: -160px;
}

ul.menu>li ul.sub2 {
  background-image: url("./images/keyvisual/bg2sub.png");
  margin-top: -160px;
}

ul.menu>li ul.sub3 {
  background-image: url("./images/keyvisual/bg1sub.png");
  margin-top: -160px;
}

/*リスト詳細の設定*/
ul.menu>li ul li {
  color: #fff;
  opacity: 1.0;
  line-height: 30px;
  margin-left: 20px;
  list-style: none;
  text-shadow: 1px 1px 1px #444;
  display: block;
  display: none;
  transition: all .3s linear 0s;
  /*ページが変わった時の変化の時間*/
}

/*小さいメニューの各タイトル*/
ul.menu>li ul li a {
  color: #fff;
  text-decoration: none;
  line-height: 30px;
  margin-left: 5px;
  text-shadow: 1px 1px 1px #444;
  font-size: 15px;
  position: relative;
  display: inline-block;
  text-decoration: none;
}

/* 詳細リストをホバリングしたときの下線設定 */
ul.menu>li ul li>a:hover {
  /*transform: scale(1.1, 1.1);  大きさの変更*/
  color: yellow;
  /*--color: yellow--*/
}

ul.menu>li ul li>a {
  transition: all 0.3s
}

/* 詳細のリストホバー時のアンダーライン設定 */
ul.menu>li ul li>a::after {
  border-bottom: solid 2px #00F;
  bottom: 0;
  content: "";
  display: block;
  transition: all .3s ease;
  width: 0;
  margin-top: -5px;
}

.menu li ul li>a:hover::after {
  width: 100%;
}

/*「沖永良部高校について・学科紹介・行事等」の設定 */
ul.menu>li>div {
  float: left;
  width: 265px;
  height: 50px;
  margin-top: 450px;
  text-align: center;
  line-height: 50px;
  color: #ddd;
  background-color: #333;
  letter-spacing: 1px;
  text-decoration: none;
  text-shadow: 0px 0px 1px #fff;
}

/*「沖永良部高校について・学科紹介・行事等」のホバー設定 */
ul.menu>li div:hover {
  color: yellow;
  letter-spacing: 0.5em;
}

ul.menu>li div {
  transition: all 0.3s
}

ul.menu>li ul.sub1 li {
  display: block;
}

/* ------------------------- */
/* トップへ戻るボタン */
/* --------------------------*/
#topbutton {
  position: fixed;
  bottom: 18px;
  right: 18px;
  width: 7em;
  display: none;
  background-color: #2525aa;
  border-radius: 24px;
  border: solid 3px #62c1ce;
  text-align: center;
  font-size: 120%;
  font-weight: bold;
  margin: 0px;
  padding: 10px;
  z-index: 10;
}

#topbutton a {
  color: yellow;
  text-decoration: none;
  transition: all 0.3s;
}

#topbutton a:hover {
  text-decoration: underline;
  transform: scale(1.1, 1.1);
  transition: all 0.3s;
}

#topbutton img {
  width: 40px;
  height: 30px;
}

/*沖Tubeのタイトル*/
.top-midashi-okitube {
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 24px;
  clear: both;
  width: 140px;
  margin: 0;
  border: double 3px blue;
  transition: all .3s ease;
}

.top-midashi-okitube a {
  display: inline-block;
  color: black;
  text-decoration: none;
}

.top-midashi-okitube::first-letter {
  font-size: 1.5em;
  font-weight: 700;
  color: #FF00FF;
}

.top-midashi-okitube:hover {
  color: white;
  background-color: rgba(255, 0, 0, 0.8);
}

.top-midashi-okitube:hover::first-letter {
  color: yellow;
}