﻿@charset "utf-8";

/* CSS Document */

/*
html5doctor.com Reset Stylesheet v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com
*/
html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}
body {
  line-height: 1;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
nav ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
a {
  margin: 0;
  padding: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;

  text-decoration: none;
}

a:link {
  color: #494345;
}

a:visited {
  color: #494345;
}

a:hover {
  /*color:#FF0000; text-decoration: underline;*/
  color: #66cccc;
}

a:active {
  color: #005aa9;
}

/* change colours to suit your needs */
ins {
  background-color: #ff9;
  color: #000;
  text-decoration: none;
}
/* change colours to suit your needs */
mark {
  background-color: #ff9;
  color: #000;
  font-style: italic;
  font-weight: bold;
}
del {
  text-decoration: line-through;
}
abbr[title],
dfn[title] {
  border-bottom: 1px dotted;
  cursor: help;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
/* change border colour to suit your needs */
hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #cccccc;
  margin: 8px 0;
  xmargin: 1em 0;
  padding: 0;
}
input,
select {
  vertical-align: middle;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

footer {
  margin-top: auto;
}

.pc {
  display: block;
}
.sp {
  display: none;
}

@media screen and (max-width: 480px) {
  .pc {
    display: none !important;
  }
  .sp {
    display: block !important;
  }
}

/*Start*/

html,
body {
  /*background-color: #401000;*/
  background-color: #f5f3f1;
  background-image: url(../images/bgm-01.gif);

  font-family: arial, "lucida grande", "lucida sans unicode",
    "bitstream vera sans", "dejavu sans", "trebuchet ms", sans-serif;
}

#header {
  background-color: #6cf;
  background-image: url(../images/hdbg.jpg);
  height: 71px;
  background-position: center top;
  background-repeat: repeat-x;
}

#header .inner {
  width: 100%;
  max-width: 1010px;
  position: relative;
}

@media screen and (max-width: 768px) {
  #header .inner > a img {
    margin-top: 12px !important;
    width: 35%;
  }
}

@media screen and (max-width: 480px) {
  #header {
    height: auto;
    background-size: cover;
  }

  #header .inner {
    padding: 0 0 5% 0;
  }

  #header .inner a img {
    max-width: 90%;
  }

  #header .inner > a img {
    margin-top: 10px !important;
    width: 100%;
  }
}

#topimgArea {
  text-align: center;
  background-color: #6cc;
  background-image: url(../images/bgm-02.png);
  background-repeat: repeat-x;
  background-position: center bottom;
  padding: 5px 0px 15px 0px;
}

#topimgArea img {
  max-width: 100%;
}

#mainmenuArea {
  width: 100%;
  /*height: 180px;*/
  position: absolute;
  top: 78px;
  /*top: 85px;
	padding: 5px 0;*/
}

@media screen and (max-width: 1000px) {
}

@media screen and (max-width: 480px) {
  #topimgArea,
  #mainmenuArea {
    display: none;
  }
}

#mainMenu {
  display: flex;
  justify-content: space-around;
  width: 96%;
  max-width: 960px;
  text-align: center;
  padding: 0;
  margin: 13px auto 20px auto;
  list-style-position: inside;
}
@media screen and (max-width: 999px) {
  #mainMenu {
    margin: 10px auto 20px auto;
  }
}
@media screen and (max-width: 960px) {
  #mainMenu {
    margin: 7px auto 20px auto;
  }
}
@media screen and (max-width: 900px) {
  #mainMenu {
    margin: 0 auto 20px auto;
  }
}

#mainMenu li {
  width: calc(1 / 5 * 94%);
  line-height: 100%;
  margin: 0;
  list-style: none;
}

#mainMenu li.listend {
  padding: 0;
  background-image: none;
}

#mainMenu li img {
  max-width: 100%;
}

/*= 各施設 =*/
#hitomiraiList {
  max-width: 1275px;
  margin: 30px auto 50px;
}

#hitomiraiList li {
  width: 95%;
  margin: 0 0 5% 0;
  background: -moz-linear-gradient(top, #ffffff 50%, #f0f0f0);
  background: -webkit-linear-gradient(top, #ffffff 50%, #f0f0f0);
  background: linear-gradient(to bottom, #ffffff 50%, #f0f0f0);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.7);
  list-style: none;
  height: auto;
  position: relative;
  transition: 0.3s;
}

#hitomiraiList li#facebook {
  background: #4267b2;
  background: -moz-linear-gradient(top, transparent, #3b5c9f), #4267b2;
  background: -webkit-linear-gradient(top, transparent, #3b5c9f), #4267b2;
  background: linear-gradient(to bottom, transparent, #3b5c9f), #4267b2;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.7);
}

#hitomiraiList li#about {
  width: 98.5%;
}

@media screen and (max-width: 1200px) {
  #hitomiraiList li#about {
    width: 95%;
  }
}

#hitomiraiList li#about h2.pc {
  display: flex;
}
#hitomiraiList li#about h2.tb {
  display: none;
}

#hitomiraiList li#access,
#hitomiraiList li#floormap,
#hitomiraiList li#contact,
#hitomiraiList li#about {
  margin: 30px 0 0 0;
  background: #66cccc;
  background: -moz-linear-gradient(top, transparent, rgba(0, 0, 0, 0.16)),
    #66cccc;
  background: -webkit-linear-gradient(top, transparent, rgba(0, 0, 0, 0.16)),
    #66cccc;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.16)),
    #66cccc;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.7);
}

#hitomiraiList li#facebook:hover,
#hitomiraiList li#access:hover,
#hitomiraiList li#floormap:hover,
#hitomiraiList li#contact:hover,
#hitomiraiList li#about:hover {
  opacity: 0.8;
  transition: 0.5s;
}

#hitomiraiList li#access h2::after,
#hitomiraiList li#floormap h2::after,
#hitomiraiList li#contact h2::after,
#hitomiraiList li#about h2::after {
  content: url(../images/arrow_w.png);
  margin: 0 0 0 1rem;
}

#hitomiraiList li#access p,
#hitomiraiList li#floormap p,
#hitomiraiList li#contact p,
#hitomiraiList li#about p {
  background: #ffffff;
  background: -moz-linear-gradient(top, transparent 50%, rgba(0, 0, 0, 0.06)),
    #ffffff;
  background: -webkit-linear-gradient(top, transparent 50%, rgba(0, 0, 0, 0.06)),
    #ffffff;
  background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.06)),
    #ffffff;
}

@media screen and (max-width: 480px) {
  #hitomiraiList li#shogaigakushu {
    display: flex;
  }
  #hitomiraiList li#shogaigakushu a:nth-of-type(1) {
    width: 85%;
  }
  #hitomiraiList li#shogaigakushu a:last-child {
    width: 15%;
    background: #66cccc;
    background: -moz-linear-gradient(top, transparent, rgba(0, 0, 0, 0.16)),
      #66cccc;
    background: -webkit-linear-gradient(top, transparent, rgba(0, 0, 0, 0.16)),
      #66cccc;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.16)),
      #66cccc;
    color: #ffffff;
  }

  #hitomiraiList li a.sp {
    display: flex !important;
    align-items: center;
    padding: 5%;
    position: relative;
  }

  #hitomiraiList li a.sp::after {
    content: url(../images/arrow_g.png);
    position: absolute;
    right: 0.5rem;
  }

  #hitomiraiList li#access,
  #hitomiraiList li#floormap,
  #hitomiraiList li#contact,
  #hitomiraiList li#about {
    margin: 0 0 5% 0;
  }

  #hitomiraiList li#shogaigakushu a:last-child::after,
  #hitomiraiList li#access a::after,
  #hitomiraiList li#floormap a::after,
  #hitomiraiList li#contact a::after,
  #hitomiraiList li#about a::after {
    content: url(../images/arrow_w.png);
  }
  #hitomiraiList li#facebook a::after {
    content: url(../images/arrow_b.png);
  }

  #hitomiraiList li#access h2::after,
  #hitomiraiList li#floormap h2::after,
  #hitomiraiList li#contact h2::after,
  #hitomiraiList li#about h2::after {
    content: "";
  }

  #hitomiraiList li h2 {
    margin: 0;
    font-size: 90%;
    text-align: left;
    line-height: 1 !important;
    font-weight: normal;
  }

  #hitomiraiList li:nth-child(n + 2) h2 img {
    max-width: 80% !important;
  }
}

@media screen and (max-width: 320px) {
  #hitomiraiList li h2 {
    font-size: 75%;
  }
}

#hitomiraiList li h2 img {
  max-width: 100%;
}

@media screen and (max-width: 1200px) {
  #hitomiraiList li#access h2 img,
  #hitomiraiList li#floormap h2 img,
  #hitomiraiList li#about h2 img {
    max-width: 65%;
  }
  #hitomiraiList li#contact h2 img {
    max-width: 80%;
  }
}

@media screen and (max-width: 768px) {
  #hitomiraiList li#contact h2 img {
    max-width: 65%;
  }
}

/*= 各施設・リンクボタン =*/
.btnWhite {
  width: 80%;
  margin: 0 auto 5%;
}

.btnGreen {
  width: 80%;
  margin: 0 auto 10%;
}

.btnWhite a,
.btnGreen a {
  display: block;
  position: relative;
  padding: 0.5rem;
  border-radius: 5px;
  box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.16);
  transition: 0.3s;
}

.btnWhite a:hover,
.btnGreen a:hover {
  text-decoration: none;
  opacity: 0.8;
  transform: scale(1.05);
  transition: 0.5s;
}

#shogaigakushu .btnGreen a span {
  display: inline;
  position: relative;
  font-size: 82.5%;
}

.btnWhite a {
  background: #ffffff;
  border: 2px solid #66cccc;
  font-size: 82.5%;
}
.btnWhite a::after {
  content: url(../images/arrow_g.png);
  position: absolute;
  right: 0.5rem;
}

.btnGreen a {
  background: #66cccc;
  color: #ffffff;
}
.btnGreen a::after {
  content: url(../images/arrow_w.png);
  position: absolute;
  right: 0.5rem;
}

#shogaigakushu .btnGreen a::after {
  top: 1rem;
}

#hitomiraiList li:before {
  content: "";
  display: block;
  padding-top: 100%;
}

@media screen and (max-width: 1200px) {
  .btnWhite,
  .btnGreen {
    font-size: 1.5vw;
  }
  .btnWhite a {
    font-size: 90%;
  }
}

/*= 各施設ボックスの縦横比 =*/
/* #hitomiraiList li#khistory:before {
  padding-top: 64%;
}

#hitomiraiList li#facebook:before {
  padding-top: 31%;
} */

#hitomiraiList li#access:before,
#hitomiraiList li#floormap:before,
#hitomiraiList li#contact:before {
  padding-top: 100%;
}

#hitomiraiList li#about:before {
  padding-top: 33%;
}

#hitomiraiList li span {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  box-sizing: border-box;
  overflow: hidden;
}

/*= 各施設のh2 =*/
#hitomiraiList li span h2 {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 90%;
  height: calc(120% / 190 * 100);
  margin: 0 auto;
}

#hitomiraiList li#facebook h2 {
  height: 100%;
  line-height: 3;
}

#hitomiraiList li#facebook h2 a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

#hitomiraiList li#access h2,
#hitomiraiList li#floormap h2,
#hitomiraiList li#contact h2,
#hitomiraiList li#about h2 {
  height: calc(70% / 190 * 100);
}

#hitomiraiList li span p {
  height: calc(120% / 190 * 100);
  margin: 5px;
  padding: 10px;
  text-align: justify;
  overflow: hidden;
  box-sizing: border-box;
}

/*= お問い合わせ =*/
#hitomiraiList li#contact p {
  font-size: 85%;
  line-height: 1.8;
}
@media screen and (max-width: 768px) {
  #hitomiraiList li#contact p {
    font-size: 75%;
  }
}

/*= ひとみらいについて =*/

#hitomiraiList li#about a > div {
  margin: 5px;
  padding: 10px;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 100;
}

#hitomiraiList li#about a > div img {
  vertical-align: bottom;
}

#hitomiraiList li#about h2 {
  padding: 0 0 0 39%;
}

#hitomiraiList li#about h2 .tb {
  display: none;
}

#hitomiraiList li#about p {
  padding: 10px 10px 10px 39%;
  font-size: 90%;
  line-height: 1.8;
}

@media screen and (max-width: 1200px) {
  #hitomiraiList li#about a > div {
    display: none;
  }

  #hitomiraiList li#about h2 {
    padding: 0;
  }

  #hitomiraiList li#about h2.pc {
    display: none;
  }
  #hitomiraiList li#about h2.tb {
    display: flex;
  }

  #hitomiraiList li#about h2 img {
    margin: 0.25rem 0 0 0;
  }

  #hitomiraiList li#about h2 .tb {
    display: block;
  }

  #hitomiraiList li#about p {
    padding: 10px;
  }
}

@media screen and (max-width: 768px) {
  #hitomiraiList li#about p {
    font-size: 70%;
    line-height: 1.6;
  }
}

#hitomiraiList li#about span p {
  position: relative;
}

#hitomiraiList li#about span p .green {
  display: contents !important;
  position: absolute;
  bottom: 0;
  right: 0;
  background: #ffffff;
  color: #66cccc;
}

#hitomiraiList li#about span p .tb {
  display: none !important;
}

@media screen and (max-width: 1200px) {
  #hitomiraiList li#about span p .tb {
    display: contents !important;
  }
  #hitomiraiList li#about span p .pc {
    display: none !important;
  }
}

@media screen and (max-width: 480px) {
  #hitomiraiList li#about h2 img {
    margin: 0;
  }
}

/*= アクセス・館内図・お問い合わせ =*/
#hitomiraiList li span p span {
  display: block;
  position: relative;
  text-align: left;
}

#hitomiraiList li#access span p span {
  text-align: center;
}

#hitomiraiList li span p span img {
  width: 200%;
}

#hitomiraiList li#access span p span img {
  margin: 0 0 0 -50%;
}

/*= グリッド =*/
#hitomiraiList {
  display: -ms-grid;
  display: grid;
  /*grid-template-columns: repeat(6, 1fr);
	grid-template-rows: 2fr repeat(4, 1fr);*/
  -ms-grid-columns: (0.5fr) [6];
  grid-template-columns: repeat(6, 0.5fr);
  -ms-grid-rows: 0.5fr (0.25fr) [2] 0.5fr;
  /* grid-template-rows: 0.5fr repeat(2, 0.25fr) repeat(2, 0.5fr); */
  grid-column-gap: 0px;
  grid-row-gap: 0px;
}

#shogaigakushu {
  grid-area: 1 / 1 / 2 / 2;
  -ms-grid-row: 1;
  -ms-grid-column: 1;
}
#support {
  grid-area: 1 / 2 / 2 / 3;
  -ms-grid-row: 1;
  -ms-grid-column: 2;
}
#gallery {
  grid-area: 1 / 3 / 2 / 4;
  -ms-grid-row: 1;
  -ms-grid-column: 3;
}
#kokusai {
  grid-area: 1 / 4 / 2 / 5;
  -ms-grid-row: 1;
  -ms-grid-column: 4;
}
#workplaza {
  grid-area: 1 / 5 / 2 / 6;
  -ms-grid-row: 1;
  -ms-grid-column: 5;
}
#youthsta {
  grid-area: 1 / 6 / 2 / 7;
  -ms-grid-row: 1;
  -ms-grid-column: 6;
}
#shonenshien {
  grid-area: 2 / 1 / 4 / 2;
  -ms-grid-row: 2;
  -ms-grid-column: 1;
  -ms-grid-row-span: 2;
}
#fukushi {
  grid-area: 2 / 2 / 4 / 3;
  -ms-grid-row: 2;
  -ms-grid-column: 2;
  -ms-grid-row-span: 2;
}
#kodomo {
  grid-area: 2 / 3 / 4 / 4;
  -ms-grid-row: 2;
  -ms-grid-column: 3;
  -ms-grid-row-span: 2;
}
#kiu {
  grid-area: 2 / 4 / 4 / 5;
  -ms-grid-row: 2;
  -ms-grid-column: 4;
  -ms-grid-row-span: 2;
}
#ouj {
  grid-area: 2 / 5 / 4 / 6;
  -ms-grid-row: 2;
  -ms-grid-column: 5;
  -ms-grid-row-span: 2;
}
#khistory {
  grid-area: 2 / 6 / 3 / 7;
  -ms-grid-row: 2;
  -ms-grid-column: 6;
}
#facebook {
  grid-area: 3 / 6 / 4 / 7;
  -ms-grid-row: 3;
  -ms-grid-column: 6;
}
#access {
  grid-area: 4 / 1 / 6 / 2;
  -ms-grid-row: 4;
  -ms-grid-column: 1;
}
#floormap {
  grid-area: 4 / 2 / 6 / 3;
  -ms-grid-row: 4;
  -ms-grid-column: 2;
}
#contact {
  grid-area: 4 / 3 / 6 / 4;
  -ms-grid-row: 4;
  -ms-grid-column: 3;
}
#about {
  grid-area: 4 / 4 / 6 / 7;
  -ms-grid-row: 4;
  -ms-grid-column: 4;
  -ms-grid-column-span: 3;
}

@media screen and (max-width: 1200px) {
  #hitomiraiList {
    max-width: 95%;
    -ms-grid-columns: (0.5fr) [4];
    grid-template-columns: repeat(4, 0.5fr);
    -ms-grid-rows: 0.5fr 0.5fr (0.25fr) [2] 0.5fr;
    /* grid-template-rows: 0.5fr 0.5fr repeat(2, 0.25fr) 0.5fr; */
  }

  #shogaigakushu {
    grid-area: 1 / 1 / 2 / 2;
    -ms-grid-row: 1;
    -ms-grid-column: 1;
  }
  #support {
    grid-area: 1 / 2 / 2 / 3;
    -ms-grid-row: 1;
    -ms-grid-column: 2;
  }
  #gallery {
    grid-area: 1 / 3 / 2 / 4;
    -ms-grid-row: 1;
    -ms-grid-column: 3;
  }
  #kokusai {
    grid-area: 1 / 4 / 2 / 5;
    -ms-grid-row: 1;
    -ms-grid-column: 4;
  }
  #workplaza {
    grid-area: 2 / 1 / 3 / 2;
    -ms-grid-row: 2;
    -ms-grid-column: 1;
  }
  #youthsta {
    grid-area: 2 / 2 / 3 / 3;
    -ms-grid-row: 2;
    -ms-grid-column: 2;
  }
  #shonenshien {
    grid-area: 2 / 3 / 3 / 4;
    -ms-grid-row: 2;
    -ms-grid-column: 3;
  }
  #fukushi {
    grid-area: 2 / 4 / 3 / 5;
    -ms-grid-row: 2;
    -ms-grid-column: 4;
  }
  #kodomo {
    grid-area: 3 / 1 / 5 / 2;
    -ms-grid-row: 3;
    -ms-grid-column: 1;
    -ms-grid-row-span: 2;
  }
  #kiu {
    grid-area: 3 / 2 / 5 / 3;
    -ms-grid-row: 3;
    -ms-grid-column: 2;
    -ms-grid-row-span: 2;
  }
  #ouj {
    grid-area: 3 / 3 / 5 / 4;
    -ms-grid-row: 3;
    -ms-grid-column: 3;
    -ms-grid-row-span: 2;
  }
  #khistory {
    grid-area: 3 / 4 / 4 / 5;
    -ms-grid-row: 3;
    -ms-grid-column: 4;
  }
  #facebook {
    grid-area: 4 / 4 / 5 / 5;
    -ms-grid-row: 4;
    -ms-grid-column: 4;
  }
  #access {
    grid-area: 5 / 1 / 6 / 2;
    -ms-grid-row: 5;
    -ms-grid-column: 1;
  }
  #floormap {
    grid-area: 5 / 2 / 6 / 3;
    -ms-grid-row: 5;
    -ms-grid-column: 2;
  }
  #contact {
    grid-area: 5 / 3 / 6 / 4;
    -ms-grid-row: 5;
    -ms-grid-column: 3;
  }
  #about {
    grid-area: 5 / 4 / 6 / 5;
    -ms-grid-row: 5;
    -ms-grid-column: 4;
  }
}

/*#shogaigakushu { grid-area: 1 / 1 / 2 / 2; }
#support { grid-area: 1 / 2 / 2 / 3; }
#gallery { grid-area: 1 / 3 / 2 / 4; }
#kokusai { grid-area: 1 / 4 / 2 / 5; }
#workplaza { grid-area: 1 / 5 / 2 / 6; }
#youthsta { grid-area: 1 / 6 / 2 / 7; }
#shonenshien { grid-area: 2 / 1 / 4 / 2; }
#fukushi { grid-area: 2 / 2 / 4 / 3; }
#kodomo { grid-area: 2 / 3 / 4 / 4; }
#kiu { grid-area: 2 / 4 / 4 / 5; }
#ouj { grid-area: 2 / 5 / 4 / 6; }
#khistory { grid-area: 2 / 6 / 3 / 7; }
#facebook { grid-area: 3 / 6 / 4 / 7; }
#access { grid-area: 4 / 1 / 6 / 2; }
#floormap { grid-area: 4 / 2 / 6 / 3; }
#contact { grid-area: 4 / 3 / 6 / 4; }
#about { grid-area: 4 / 4 / 6 / 7; }



@media screen and (max-width: 1200px) {
#hitomiraiList {
	max-width: 95%;
}

#shogaigakushu { grid-area: 1 / 1 / 2 / 2; }
#support { grid-area: 1 / 2 / 2 / 3; }
#gallery { grid-area: 1 / 3 / 2 / 4; }
#kokusai { grid-area: 1 / 4 / 2 / 5; }
#workplaza { grid-area: 2 / 1 / 3 / 2; }
#youthsta { grid-area: 2 / 2 / 3 / 3; }
#shonenshien { grid-area: 2 / 3 / 3 / 4; }
#fukushi { grid-area: 2 / 4 / 3 / 5; }
#kodomo { grid-area: 3 / 1 / 5 / 2; }
#kiu { grid-area: 3 / 2 / 5 / 3; }
#ouj { grid-area: 3 / 3 / 5 / 4; }
#khistory { grid-area: 3 / 4 / 4 / 5; }
#facebook { grid-area: 4 / 4 / 5 / 5; }
#access { grid-area: 5 / 1 / 6 / 2; }
#floormap { grid-area: 5 / 2 / 6 / 3; }
#contact { grid-area: 5 / 3 / 6 / 4; }
#about { grid-area: 5 / 4 / 6 / 5; }
}*/

@media screen and (max-width: 480px) {
  #hitomiraiList {
    display: block;
    margin: 0px auto 50px;
  }

  #hitomiraiList li {
    width: 100% !important;
  }

  #hitomiraiList li::before {
    padding-top: 0 !important;
  }

  #hitomiraiList li span {
    position: relative;
  }

  #hitomiraiList li p {
    display: none;
  }
}

/*= facebook =*/
@media screen and (max-width: 480px) {
  #fbBox {
    width: 95%;
    margin: 0 auto 50px;
  }

  #fbBox iframe {
    max-width: 100%;
  }
}

#ggls {
  background-color: #fff;
}

#contents-01 {
  background-image: url("../images/bgm-03.png");
  background-position: center bottom;
  background-repeat: no-repeat;
  bottom: 0;
  padding: 5px;
}

@media screen and (max-width: 1200px) {
  #contents-01 {
    background-size: 135%;
  }
}

#contetns-02 {
  padding: 5px;
  height: 330px;
  background-image: url(../images/bgm-03.png);
  background-position: center bottom;
}

#bottomFooterBg {
  background: url(../images/bgm-03.png);
  background-repeat: no-repeat;
  background-position: center bottom;
  background-color: transparent;
  bottom: 0;
  height: 330px;
  margin-bottom: -1px;
  position: absolute;
  width: 100%;
}
#contents-03 {
  width: 100%;
  max-width: 1000px;
  height: 100%;
  margin: 0 auto;
  padding: 5px;
  background-image: url(../images/bgm-01.gif);
  background-position: center;
  box-sizing: border-box;
}

.cmn2 {
  width: 470px;
  float: left;
  display: block;
  margin: 5px;
  height: 290px;

  background-color: rgba(255, 255, 255, 0.6);
  position: relative;
}

.cmn2Box01 dt {
  font-size: 120%;
  padding: 15px 5px;
  margin-bottom: 5px;
  text-align: center;
  font-weight: bold;
}

.cmn2Box01 dd {
  padding: 5px;
  font-size: 15px;
  xline-height: 145%;
}

.cmn2Box01 .moreLink {
  width: 460px;
  text-align: center;
  background-color: #e6e6e6;
  padding: 8px 0;
  position: absolute;
  bottom: 5px;
}

.cmn3 {
  display: block;
}
.cmn4 {
  width: 220px;
  float: left;
  display: block;
  margin: 5px;
  height: 290px;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.6);
}

.cmn4Box01 dt {
  font-size: 120%;
  padding: 15px 5px;
  margin-bottom: 5px;
  text-align: center;
  font-weight: bold;
}

.cmn4Box01 dd {
  padding: 5px;
  font-size: 16px;
  xline-height: 145%;
}

.leftArea {
  float: left;
}

.rightArea {
  float: right;
}

#footer {
  font-size: 80%;
  color: #fff;
  padding: 10px;
  background-color: #401000;
  bottom: 0;
  xheight: 21px;
}

.inner {
  margin-top: 0px;
  margin-right: auto;
  margin-bottom: 0px;
  margin-left: auto;
  text-align: center;
}
.news {
  text-align: left;
  line-height: 120%;
  xpadding: 5px;
  height: 290px;
  xbackground-color: #cf9;
  width: 460px;
  overflow-y: scroll;
}

.newsTitleArea {
  color: #fff;
  font-size: 120%;
  text-align: center;
  padding: 10px;
  margin: 0 0 15px 0;
}

.news span.day {
  xfont-weight: bold;
  font-size: 90%;
}
.news span.title {
  xmargin-left: 10px;
  font-weight: bold;
}
.news p.kiji {
}
.news span.icon {
  margin-left: 10px;
  font-size: 72%;
  text-align: center;
  font-weight: bold;
  padding: 5px 5px 4px;
  margin-bottom: 5px;

  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;

  /*IE 7 AND 8 DO NOT SUPPORT BLUR PROPERTY OF SHADOWS*/
}

.clear {
  clear: both;
}

/*Color*/
.bo-glay {
  border: 10px solid #999;
}

.bo-ebi {
  border: 10px solid #998b99;
}

.bo-rglay {
  border: 10px solid #b2b2b2;
}

.bo-green {
  border: 10px solid #58c272;
}

.bo-pink {
  border: 10px solid #ddabd3;
}

.bo-purple {
  border: 10px solid #d2abdb;
}

.bo-orange {
  border: 10px solid #edc098;
}

.bo-bgreen {
  border: 10px solid #abd27f;
}

.bo-blue {
  border: 10px solid #8bd2e8;
}

.bo-yellow {
  border: 10px solid #e5de89;
}

.bo-red {
  border: 10px solid #e2a09a;
}

.bo-brown {
  border: 10px solid #d3c9ba;
}

.bo-cblue {
  border: 10px solid #83dddd;
}

.bo-egreen {
  border: 10px solid #8eddce;
}

.bo-ygreen {
  border: 10px solid #c8dd8e;
}

.bo-eblue {
  border: 10px solid #50afed;
}

.bg_gray {
  -moz-text-shadow: 0px 0px 4px #000000;
  -webkit-text-shadow: 0px 0px 4px #000000;
  text-shadow: 0px 0px 4px #000000;
  /*IE 7 AND 8 DO NOT SUPPORT BLUR PROPERTY OF SHADOWS*/

  background-color: #999;
}

.bg_gray a {
  color: #fff;
  text-decoration: none;
}

.bg_ebi {
  -moz-text-shadow: 0px 0px 4px #000000;
  -webkit-text-shadow: 0px 0px 4px #000000;
  text-shadow: 0px 0px 4px #000000;
  /*IE 7 AND 8 DO NOT SUPPORT BLUR PROPERTY OF SHADOWS*/

  background-color: #998b99;
}

.bg_ebi a {
  color: #fff;
  text-decoration: none;
}

.bg_green {
  -moz-text-shadow: 0px 0px 4px #000000;
  -webkit-text-shadow: 0px 0px 4px #000000;
  text-shadow: 0px 0px 4px #000000;
  /*IE 7 AND 8 DO NOT SUPPORT BLUR PROPERTY OF SHADOWS*/
  background-color: #58c272;
}

.bg-rglay {
  -moz-text-shadow: 0px 0px 4px #000000;
  -webkit-text-shadow: 0px 0px 4px #000000;
  text-shadow: 0px 0px 4px #000000;
  /*IE 7 AND 8 DO NOT SUPPORT BLUR PROPERTY OF SHADOWS*/

  background-color: #b2b2b2;
}

.bg-rglay a {
  color: #fff;
  text-decoration: none;
}

.bg-pink {
  -moz-text-shadow: 0px 0px 4px #000000;
  -webkit-text-shadow: 0px 0px 4px #000000;
  text-shadow: 0px 0px 4px #000000;
  /*IE 7 AND 8 DO NOT SUPPORT BLUR PROPERTY OF SHADOWS*/

  background-color: #ddabd3;
}

.bg-pink a {
  color: #fff;
  text-decoration: none;
}

.bg-purple {
  -moz-text-shadow: 0px 0px 4px #000000;
  -webkit-text-shadow: 0px 0px 4px #000000;
  text-shadow: 0px 0px 4px #000000;
  /*IE 7 AND 8 DO NOT SUPPORT BLUR PROPERTY OF SHADOWS*/

  background-color: #d2abdb;
}

.bg-purple a {
  color: #fff;
  text-decoration: none;
}

.bg-orange {
  -moz-text-shadow: 0px 0px 4px #000000;
  -webkit-text-shadow: 0px 0px 4px #000000;
  text-shadow: 0px 0px 4px #000000;
  /*IE 7 AND 8 DO NOT SUPPORT BLUR PROPERTY OF SHADOWS*/

  background-color: #edc098;
}

.bg-orange a {
  color: #fff;
  text-decoration: none;
}

.bg-bgreen {
  -moz-text-shadow: 0px 0px 4px #000000;
  -webkit-text-shadow: 0px 0px 4px #000000;
  text-shadow: 0px 0px 4px #000000;
  /*IE 7 AND 8 DO NOT SUPPORT BLUR PROPERTY OF SHADOWS*/

  background-color: #abd27f;
}

.bg-bgreen a {
  color: #fff;
  text-decoration: none;
}

.bg-blue {
  -moz-text-shadow: 0px 0px 4px #000000;
  -webkit-text-shadow: 0px 0px 4px #000000;
  text-shadow: 0px 0px 4px #000000;
  /*IE 7 AND 8 DO NOT SUPPORT BLUR PROPERTY OF SHADOWS*/

  background-color: #8bd2e8;
}

.bg-blue a {
  color: #fff;
  text-decoration: none;
}

.bg-yellow {
  -moz-text-shadow: 0px 0px 4px #000000;
  -webkit-text-shadow: 0px 0px 4px #000000;
  text-shadow: 0px 0px 4px #000000;
  /*IE 7 AND 8 DO NOT SUPPORT BLUR PROPERTY OF SHADOWS*/

  background-color: #e5de89;
}

.bg-yellow a {
  color: #fff;
  text-decoration: none;
}

.bg-red {
  -moz-text-shadow: 0px 0px 4px #000000;
  -webkit-text-shadow: 0px 0px 4px #000000;
  text-shadow: 0px 0px 4px #000000;
  /*IE 7 AND 8 DO NOT SUPPORT BLUR PROPERTY OF SHADOWS*/

  background-color: #e2a09a;
}

.bg-red a {
  color: #fff;
  text-decoration: none;
}

.bg-brown {
  -moz-text-shadow: 0px 0px 4px #000000;
  -webkit-text-shadow: 0px 0px 4px #000000;
  text-shadow: 0px 0px 4px #000000;
  /*IE 7 AND 8 DO NOT SUPPORT BLUR PROPERTY OF SHADOWS*/

  background-color: #d3c9ba;
}

.bg-brown a {
  color: #fff;
  text-decoration: none;
}

.bg-cblue {
  -moz-text-shadow: 0px 0px 4px #000000;
  -webkit-text-shadow: 0px 0px 4px #000000;
  text-shadow: 0px 0px 4px #000000;
  /*IE 7 AND 8 DO NOT SUPPORT BLUR PROPERTY OF SHADOWS*/

  background-color: #83dddd;
}

.bg-cblue a {
  color: #fff;
  text-decoration: none;
}

.bg-eblue {
  -moz-text-shadow: 0px 0px 4px #000000;
  -webkit-text-shadow: 0px 0px 4px #000000;
  text-shadow: 0px 0px 4px #000000;
  /*IE 7 AND 8 DO NOT SUPPORT BLUR PROPERTY OF SHADOWS*/

  background-color: #50afed;
}

.bg-eblue a {
  color: #fff;
  text-decoration: none;
}

.bg-egreen {
  -moz-text-shadow: 0px 0px 4px #000000;
  -webkit-text-shadow: 0px 0px 4px #000000;
  text-shadow: 0px 0px 4px #000000;
  /*IE 7 AND 8 DO NOT SUPPORT BLUR PROPERTY OF SHADOWS*/

  background-color: #8eddce;
}

.bg-egreen a {
  color: #fff;
  text-decoration: none;
}

.bg-ygreen {
  -moz-text-shadow: 0px 0px 4px #000000;
  -webkit-text-shadow: 0px 0px 4px #000000;
  text-shadow: 0px 0px 4px #000000;
  /*IE 7 AND 8 DO NOT SUPPORT BLUR PROPERTY OF SHADOWS*/

  background-color: #c8dd8e;
}

.bg-ygreen a {
  color: #fff;
  text-decoration: none;
}

#ggls table {
  margin: 10px auto;
}
#ggls table td.vbottom {
  vertical-align: bottom;
}

/* options */
#options li {
  width: 165px;
  height: 62px;
  margin: 0 2px 0 0;
  padding: 0;
  xdisplay: inline;
  float: left;
}
#options li a {
  text-indent: -9999px;
  text-decoration: none;
  display: block;
  height: 60px; /* リンク領域を広げる */
  background-repeat: no-repeat;
  xz-index: 3;
}

#options li#khistory {
  width: 81px;
}
#options li#info {
  width: 82px;
}

#options li a:active {
}
#options li:first-child a {
}
#options li:last-child a {
}
#options li a.enabled {
  background-position: 0 -60px;
  cursor: pointer;
}
#options li a.disabled {
  background-position: 0 -120px;
  /*cursor: not-allowed;*/
  background-color: transparent !important;
}
#options li a:hover {
  text-decoration: none;
  background-position: 0 0;
}
#options li a.selected {
  background-position: 0 0;
}

#hitomiraiList li.enableRed {
  outline: 10px solid rgba(239, 18, 34, 0.75);
  outline-offset: -10px;
  /*animation: flash 1s linear infinite;*/
}
#hitomiraiList li.enableYellow {
  outline: 10px solid rgba(255, 255, 57, 0.85);
  outline-offset: -10px;
}
#hitomiraiList li.enableBlue {
  outline: 10px solid rgba(0, 6, 248, 0.65);
  outline-offset: -10px;
}
#hitomiraiList li.enableOrange {
  outline: 10px solid rgba(255, 116, 35, 0.75);
  outline-offset: -10px;
}
#hitomiraiList li.enableGreen {
  outline: 10px solid rgba(94, 255, 52, 0.75);
  outline-offset: -10px;
}
#hitomiraiList li.disabled {
  outline: none;
}

@keyframes flash {
  0%,
  100% {
    outline-width: 10px;
  }
  50% {
    outline-width: 6px;
  }
}

/*==================== インデックスボタンスタイル（共通） ====================*/

#homeLinkButton {
  position: absolute;
  top: 5px;
  left: 5px;

  width: 50px;
  height: 50px;
}

@media screen and (max-width: 480px) {
  #homeLinkButton {
    display: none;
  }
}

#infoLinkButton {
  position: absolute;
  top: 5px;
  margin-left: 60px;

  width: 50px;
  height: 50px;
}

#indexLinkButton ul {
  list-style-type: none;
}

#indexLinkButton a {
  display: block;
  width: 50px;
  height: 50px;
}

#indexLinkButton a:link {
  background-color: #666;
  -moz-border-radius: 25px;
  -webkit-border-radius: 25px;
  border-radius: 25px;
  /*IE 7 AND 8 DO NOT SUPPORT BORDER RADIUS*/
}

#indexLinkButton a:hover {
  background-color: #333;
  -moz-border-radius: 25px;
  -webkit-border-radius: 25px;
  border-radius: 25px;
  /*IE 7 AND 8 DO NOT SUPPORT BORDER RADIUS*/
}

/*= 交流ウィーク =*/
#koryuWeekButton {
  position: absolute;
  top: 0;
  right: 0;
}

#koryuWeekButton a {
  display: block;
  width: auto !important;
  height: auto !important;
  transition: 0.5s;
}

#indexLinkButton #koryuWeekButton a:link {
  background-color: transparent;
  border-radius: 0;
}

#indexLinkButton #koryuWeekButton a:hover {
  background-color: transparent;
  border-radius: 0;
  opacity: 0.85;
  transition: 0.5s;
}

@media screen and (max-width: 480px) {
  #koryuWeekButton {
    position: inherit;
  }

  #koryuWeekButton img {
    max-width: 60% !important;
  }
}

/* container */

#container {
  margin-top: 0px;
  margin-right: auto;
  margin-bottom: 0px;
  margin-left: auto;
  /*width: 1000px;*/
  /*max-width: 1000px;*/
  text-align: center;
}

h2 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6em;
  margin-bottom: 0.6em;
}
#container p {
  text-align: left;
  line-height: 120%;
  padding: 0 5px 5px;
}
#container .number {
  color: rgba(0, 0, 0, 0.5);
  font-size: 1.25em;
  right: 0.5em;
  top: 0.5em;
  display: none;
}

.author-info {
  display: none;
}
div.entry-meta {
  display: none;
}
/* icon-color */
.icon-pink {
  background-color: #ffb5d6;
}
.icon-purple {
  background-color: #d7bbff;
}
.icon-orange {
  background-color: #ffddc8;
}
.icon-green {
  background-color: #9f3; /*#6CC;*/
}
.icon-bgreen {
  background-color: #d8ffcf;
}
.icon-blue {
  background-color: #cfe7ff;
}
.icon-yellow {
  background-color: #ffeccf;
}
.icon-red {
  background-color: #ffc2b4;
}
.icon-brown {
  background-color: #f3e2c6;
}
.icon-cblue {
  background-color: #97c2e4;
}
.icon-eblue {
  background-color: #8ed2ff;
}
.icon-egreen {
  background-color: #abd6cf;
}
.icon-ygreen {
  background-color: #c6d497;
}

/* =========== フロートバグ補助 =========== */

/* 20110406クラスあり修正版 */
.clearfix {
  zoom: 1;
  overflow: hidden; /* 20121112Dreamweaverプレビュー崩れ対策 */
}
.clearfix:after {
  content: "";
  display: block;
  clear: both;
}

/* =========== レスポンシブテスト =========== */
article img {
  max-width: 100%;
  height: auto;
}

/* =========== 八幡西生涯学習センター =========== */
#post-57 header {
  display: none;
}

#post-57 .flex {
  display: flex;
  justify-content: space-between;
}

#post-57 .flex div {
  width: 47%;
}

@media screen and (max-width: 768px) {
  #post-57 .flex div {
    width: 46%;
  }
}

@media screen and (max-width: 480px) {
  #post-57 .flex {
    display: block;
  }

  #post-57 .flex div {
    width: 100%;
    box-sizing: border-box;
  }

  #post-57 .flex div:first-child {
    margin: 0 0 1em 0;
  }
}

#post-57 .pageBox01 {
  text-align: center;
}

#post-57 #topicsArea {
  max-height: 15rem;
  overflow: scroll;
}

#post-57 h2 {
  margin: 0 0 1em 0;
}

#post-57 .open {
  display: inline-block;
  margin: 0 0 1em 0;
  padding: 1rem;
  border: 1px solid #555555;
}

/* =========== 黒崎歴史ふれあい館 =========== */
#post-199 header {
  display: none;
}

#post-199 h2 {
  margin: 0 0 1em 0;
}

#post-199 .open {
  display: inline-block;
  margin: 0 0 1em 0;
  padding: 1rem;
  border: 1px solid #555555;
}

/* =========== アクセス =========== */
#post-16 h3 {
  color: #58c272;
}

/* =========== ひとみらいプレイスとは =========== */
#post-13 h2 {
  margin: 0 0 1em 0;
}

#post-13 p.aligncenter {
  text-align: center;
}

#post-13 h3 {
  color: #58c272;
}

#post-13 p + h3 {
  padding: 1rem 0 0 0;
  border-top: 1px dashed #dddddd;
}

/* お知らせのカテゴリ名を非表示 */
.archive-header .archive-title {
  display: none;
}

/* 交流マンスボタン */
#LinkButton {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translate(0, -50%);
}

a.button {
  display: inline-block;
  position: relative;
  text-align: center;
  vertical-align: middle;
  padding: 7px 60px;
  font-weight: bold;
  background-image: linear-gradient(to right, rgba(247, 93, 139, 1) 0%, rgba(254, 220, 64, 1) 100%);
  border-radius: 100vh;
  border: 2px solid #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, .2);
  -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, .2);
  transition: filter 0.5s;
}
a.button:hover {
  filter: hue-rotate(180deg);
}
a.button::after {
  content: "";
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 62px;
  background-image: url('../images/koryu-month.png');
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
}

@media screen and (max-width: 480px) {
  #LinkButton {
    position: inherit;
    right: auto;
    top: auto;
    transform: none;
    padding: 10px 0 15px;
  }
}