body {
  background-color: #f2f2f2;
  font-family: '游ゴシック体', 'Yu Gothic', YuGothic, sans-seri,"メイリオ",Meiryo,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",Osaka,"ＭＳ Ｐゴシック","MS PGothic","Noto Sans JP","Lato",sans-serif;
  font-weight: 300;
  font-size: 1.8em;
  color: #555;
  -webkit-font-smoothing: antialiased;
  -webkit-overflow-scrolling: touch;
  margin-top: 110px;
}

#wrapper {
  width:100%;
  overflow:hidden;
}
wrap{
  overflow: hidden;
}

div{
 word-wrap:break-word;
}

img {
  max-width: 100%;
  height: auto;
  border：0;
}
  
header {
	width:100%;
	height:100%;
}

#contents {
	width:100%;
	margin:2px;
}

main {
	width:100%;
}

section {
	margin-bottom:10%;
}


@media screen and (max-width:979px) {
	#contents {
		box-sizing:border-box;
		width:100%;
		padding: 0 5px 0 5px;
	}
}


@media (max-width:750px) { video {
max-width: 100%;
padding: 0 5px 0 5px;
} } 

@media screen and (max-width:750px) {
	h2 {
		margin-top:30px;
	}

	.imgC {
		margin-bottom:30px;
	}
	.imgC img {
		max-width:100%;
	}

	.imgL {
		margin-bottom:30px;
	}
	.imgL img {
		float:none;
		max-width:100%;
		margin-right:0;
	}

	.imgR {
		margin-bottom:30px;
	}
	.imgR img {
		float:none;
		max-width:100%;
		margin-left:0;
	}

	.twoCol {
		margin-right:0;
		margin-bottom:30px;
	}
	.twoColInner {
		margin-right:0;
	}
	.twoColInner div {
		float:none;
		width:100%;
	}

	.threeCol {
		margin-bottom:30px;
	}

	.threeColInner {
		margin-right:0;
	}
	.threeColInner div {
		float:none;
		width:100%;
	}
}


img.miniimage { display: none; }

@media screen and (min-width: 750px) {
   img.miniimage { display: none; } 
   img.mediumimage { display: none; }
   img.bigimage  { display: block; }
   p.resizeimage img { width: 100%; }
}

@media screen and (max-width: 749px) {
   img.miniimage { display: none; } 
   img.mediumimage { display: block; } 
   img.bigimage  { display: none; } 
   p.resizeimage img { width: 100%; }
}
/* ▼表示領域が375px未満の場合 */
@media screen and (max-width: 374px) {
   img.miniimage { display: block; } 
   img.bigimage  { display: none; } 
   img.mediumimage { display: none; } 
   p.resizeimage img { width: 100%; }
}


.text br {
  display: none;
}

@media only screen and (max-width: 500px) {
  .text br {
    display: inline;
  }
}

.text { font-size: 34px; }
@media only screen and (max-width: 540px) {
  .text { font-size:32px }
  }
.text { font-size: 34px; }

.text { font-size: 28px; }
@media only screen and (max-width: 540px) {
  .text { font-size:26px }
  }
.text { font-size: 28px; }
}

.text {
  font-size: 2vw;
}


.video-wrap {
  position: relative;
}
p {
  font-family: serif;          
  color: #fff;
  font-size: 400%;
  position: absolute;
  left: 30%;
  top: 200px;
  z-index: 1;
}


.col-0 {
    display: inline-block;
    padding:0px 10px 10px 0px;
    width: 120px;
    text-align:left;
    /* border: solid 1px; */
}
.col-1 {
    display: inline-block;
    padding:0px 5px 5px 5px;
    width: 200px;
    text-align:left;
    /* border: solid 1px; */
}
.col-2 {
    display: inline-block;
    padding:0px 5px 5px 5px;
    width: 100px;
    text-align:left;
    /* border: solid 1px; */
}
.col-3 {
    display: inline-block;
    padding:0px 5px 5px 0px;
    width: 370px;
    text-align:left;
    /* border: solid 1px; */
}
.col-4 {
    display: inline-block;
    padding:0px 5px 5px 0px;
    width: 100%;
    text-align:left;
    /* border: solid 1px; */
}


.video#bgvid {
  position: fixed; right: 0; bottom: 0;
  min-width: 100%; min-height: 100%;
  width: auto; height: auto; z-index: -100;
  background: url(polina.jpg) no-repeat;
  background-size: cover;
}

/* ========SLIDE IMAGE CUSTOMIZE======== */

#stage {
position: relative;
max-width:700px;
float : center;
margin: 0 auto;
background:#f2f2f2;
}
.pic {
position: absolute;
}
.pic img {
width: 100%;
height: auto;
opacity:0;
-moz-animation: imgTrans 80s infinite;
-webkit-animation: imgTrans 80s ease-in infinite;
animation: imgTrans 80s infinite;
}
#photo1 img {
-moz-animation-delay: 0s;
-webkit-animation-delay: 0s;
animation-delay: 0s;
}
#photo2 img {
-moz-animation-delay: 8s;
-webkit-animation-delay: 8s;
animation-delay: 8s;
}
#photo3 img {
-moz-animation-delay: 16s;
-webkit-animation-delay: 16s;
animation-delay: 16s;
}
#photo4 img{
-moz-animation-delay: 24s;
-webkit-animation-delay: 24s;
animation-delay: 24s;
}
#photo5 img {
-moz-animation-delay: 32s;
-webkit-animation-delay: 32s;
animation-delay: 32s;
}

#photo6 img {
-moz-animation-delay: 40s;
-webkit-animation-delay: 40s;
animation-delay: 40s;
}

#photo7 img {
-moz-animation-delay: 48s;
-webkit-animation-delay: 48s;
animation-delay: 48s;
}

#photo8 img {
-moz-animation-delay: 56s;
-webkit-animation-delay: 56s;
animation-delay: 56s;
}

#photo9 img {
-moz-animation-delay: 64s;
-webkit-animation-delay: 64s;
animation-delay: 64s;
}

#photo10 img {
-moz-animation-delay: 72s;
-webkit-animation-delay: 72s;
animation-delay: 72s;
}

@-webkit-keyframes imgTrans {
0% { opacity:0; }
7% { opacity:1; }
18% { opacity:1; }
25% { opacity:0; }
100% { opacity:0; }
}
@-moz-keyframes imgTrans {
0% { opacity:0; }
7% { opacity:1; }
18% { opacity:1; }
25% { opacity:0; }
100% { opacity:0; }
}
@keyframes imgTrans {
0% { opacity:0; }
7% { opacity:1; }
18% { opacity:1; }
25% { opacity:0; }
100% { opacity:0; }
}


/* テキストデザイン */
/* テキストを左揃えのまま中央寄せにする。
html記述は　<div class="center_box">
<p>テキスト部分</p></div> */
.center_box {
text-align: center;
}
.center_box p {
display: inline-block;
text-align: left;
padding: 5px 10px 5px 10px;
font-size: 110%;
}

/* タイトルのhtml記述は<h2 class="title">
  <span class="text">1行目タイトル</span>
  <span class="text">2行目タイトル</span>
</h2>　*/

.title { text-align: center; }
.text { display: inline-block; }

/* テーブル内でのテキストデザイン */
/* html記述は<div class="title">
  <h1 class="heading">タイトル</h1>
  <div class="text">文章例 ピクセルグリッドでは、<br>「JavaScriptを利用したWebアプリ開発・Webサイト制作」を一緒に行う、<br>これはサンプル。</div>
  </div>
</div> */
/* スマートフォン向けの表示ではなるべく高さを取りたくないため、画面幅が500px以下では概要文内のbrをdisplay: none;にし、改行をなくして表示しています。
なお、brのdisplayプロパティの初期値はinlineです。そのため、上記とは逆にbrを「通常は非表示、条件に合わせて表示」としたい場合には、条件に応じて次のようにdisplay: inline;を設定します。 */

@media only screen and (max-width: 500px) {
  .text br {
    display: inline;
  }
}


/* テキストを下から上へフェードイン */
.fade-text1 {
    font-size: 50px;
    font-weight: bold;
    animation-name: fadein;
    animation-duration: 2s;
    /* animation-iteration-count: infinite; この記述は無限ループの場合 */
}
@keyframes fadein {
from {
    opacity: 0;
    transform: translateY(80px);
}
to {
    opacity: 2;
    transform: translateY(0);
}
}


/* Titles */

h1, h2 {
  font-family: '游ゴシック体', 'Yu Gothic', YuGothic, sans-seri,"メイリオ",Meiryo,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",Osaka,"ＭＳ Ｐゴシック","MS PGothic","Noto Sans JP","Lato",sans-serif;
  font-weight: 800;
  line-height: 1.3;
  color: #555;
  padding-left:  10px;
  padding-right: 10px;
}

h3 {
  font-family: '游ゴシック体', 'Yu Gothic', YuGothic, sans-seri,"メイリオ",Meiryo,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",Osaka,"ＭＳ Ｐゴシック","MS PGothic","Noto Sans JP","Lato",sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.3;
  color: #555;
  padding-left: 10px;
  padding-right:10px;
}

h4{
  font-family: '游ゴシック体', 'Yu Gothic', YuGothic, sans-seri,"メイリオ",Meiryo,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",Osaka,"ＭＳ Ｐゴシック","MS PGothic","Noto Sans JP","Lato",sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.3;
  color: #555;
  padding-left: 10px;
  padding-right:10px;
}

h5, h6 {
  font-family: '游ゴシック体', 'Yu Gothic', YuGothic, sans-seri,"メイリオ",Meiryo,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",Osaka,"ＭＳ Ｐゴシック","MS PGothic","Noto Sans JP","Lato",sans-serif;
  font-weight: 300;
  line-height: 1.3;
  color: #555;
  padding-left: 10px;
  padding-right:10px;
}

h7{
  font-family: '游ゴシック体', 'Yu Gothic', YuGothic, sans-seri,"メイリオ",Meiryo,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",Osaka,"ＭＳ Ｐゴシック","MS PGothic","Noto Sans JP","Lato",sans-serif;
  font-weight: 300;
  font-size: 14px;
  padding: 4px;
  color: #555;
}

/* Paragraph & Typographic */

p {
  font-family: '游ゴシック体', 'Yu Gothic', YuGothic, sans-seri,"メイリオ",Meiryo,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",Osaka,"ＭＳ Ｐゴシック","MS PGothic","Noto Sans JP","Lato",sans-serif;
  font-size: 1.8em;
  line-height: 1.5;
  margin-bottom: 15px;
  padding-left: 5px;
  padding-right: 5px;
}

.centered {
  text-align: center;
}

.p.left {
  text-align: left;
}
.p.right {
  text-align: right;
}

.mt {
  margin-top: 20px;
}

ul {
  list-style: none;
}

/* 画像にテキスト載せ */

.example {/*親div*/
  position: relative;/*相対配置*/
  }
.example p {
  position: absolute;/*absolute;は絶対配置*/
  font-family: '游ゴシック体', 'Yu Gothic', YuGothic, sans-seri,"メイリオ",Meiryo,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",Osaka,"ＭＳ Ｐゴシック","MS PGothic","Noto Sans JP","Lato",sans-serif;
  color:  #ea2304;/*文字色#006400は緑*/
  text-shadow: -1px -1px 1px #ffffff, 1px 1px #ffffff;
  font-size: 110%;
  font-weight: 800;
  top: 12%;
  left:10%;
  right:10%;
  bottom:18%;
  line-height: 1em;
  }

.example img {
  width: 100%;
    margin:  0px 0px 0px 0px;  
    padding: 0px 0px 0px 0px;  
  }

/* 画像にテキスト回り込み */
 
img.left{/* 画像左配置 */
    float:left;
    margin: 1em 0;
    padding: 5px 15px 0px 0px;
    
}
img.right{/* 画像右配置 */
    float: right;
    margin: 1em 0;
    padding: 5px 0px 0px 15px;
    
}


/*----  SECTION:  HOME > INTRO AND SHORT MSGS   ----*/
.intro {
    text-align: center;
    color: #FFF;
    margin-top: 25%;
    line-height: 65px;
    z-index: 0;
    text-transform:  none;
    font-size: 55px;
    float:none;
}
.intro-text{
    text-align: center;
    color: #FFF;
    line-height: 65px;
    z-index: 0;
    text-transform:  none;
    font-size: 55px;
    float:none;
}
/* Short Messages */
.bottom-message-section {
    margin-top: 14%;
    position: relative;
}
.short-text {
    margin: auto;
    text-align: center;
    color: rgba(255,255,255,0.7);
    text-transform: none;
}




@media screen and (max-width:979px) {
	#contents {
		box-sizing:border-box;
		width:100%;
		padding: 0 5px 0 5px;
	}

.col-0 {
    display: inline-block;
    padding:0px 10px 10px 0px;
    width: 120px;
    text-align:left;
    /* border: solid 1px; */
}
.col-1 {
    display: inline-block;
    padding:0px 5px 5px 5px;
    width: 200px;
    text-align:left;
    /* border: solid 1px; */
}
.col-2 {
    display: inline-block;
    padding:0px 5px 5px 5px;
    width: 100px;
    text-align:left;
    /* border: solid 1px; */
}
.col-3 {
    display: inline-block;
    padding:0px 5px 5px 0px;
    width: 370px;
    text-align:left;
    /* border: solid 1px; */
}
.col-4 {
    display: inline-block;
    padding:0px 5px 5px 0px;
    width: 100%;
    text-align:left;
    /* border: solid 1px; */
}
}




/* Links */
/* Linksボタンやテキストなどの設定 */
a {
  color: #029100;/* グリーン */
  word-wrap: break-word;
  -webkit-transition: color 0.1s ease-in, background 0.1s ease-in;
  -moz-transition: color 0.1s ease-in, background 0.1s ease-in;
  -ms-transition: color 0.1s ease-in, background 0.1s ease-in;
  -o-transition: color 0.1s ease-in, background 0.1s ease-in;
  transition: color 0.1s ease-in, background 0.1s ease-in;
}

a:hover, a:focus {
  color: #f85c37;/* リンク後オレンジ */
  text-decoration: none;
  outline: 0;
}

a:before, a:after {
  -webkit-transition: color 0.1s ease-in, background 0.1s ease-in;
  -moz-transition: color 0.1s ease-in, background 0.1s ease-in;
  -ms-transition: color 0.1s ease-in, background 0.1s ease-in;
  -o-transition: color 0.1s ease-in, background 0.1s ease-in;
  transition: color 0.1s ease-in, background 0.1s ease-in;
}

/* Bootstrap Modifications */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

.navbar {
  font-weight: 800;
  font-size: 14px;
  padding-top: 15px;
  padding-bottom: 15px;
  background-color: #ffffff;
}

.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:hover, .navbar-default .navbar-nav>.active>a:focus {
  color: #ffffff;
  background-color: #AF0808;
}

.navbar-brand {
  font-size: 60px;
  padding-top: 0px;
  padding-bottom: 0px;
}

.btn-theme {
  color: #ffffff;
  background-color: #AF0808;
  border-color: transparent;
}

.btn {
  padding: 10px 30px;
  margin-bottom: 0;
  font-size: 18px;
  border: 5px solid transparent;
  border-radius: 0px;
}

.lead {
  letter-spacing: 1px;
  padding-left: 10px;
  padding-right:10px;
}

.point{
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  color: #333;

}
.point-r{
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  color: #AF0808;
}

/* ボタンの罫線を全て消す指示タグ */

button{
        background-color: transparent;
        border: none;
        cursor: pointer;
        outline: none;
        padding: 0;
        appearance: none;
}

/* ========テーブル(料金表）========= */

table.kakaku {
	    border-collapse : collapse;
}
table.kakau td {
	    border-collapse : collapse;
}
table.kakau {
	    width : 680px;
	    margin : 10px 10px 10px 60px;
}
table.kakau td {
        font-size : 12px;
	    padding : 5px 5px 5px 10px ;
	    border : 1px solid #666666;
	    line-height : 18px;
}
table.kakau td.ko {
        width : 150px;
	    padding : 5px;
	    border : 1px solid #666666;
	    background: #778899;
	    color: #ffffff;
	    text-align : center;
}





/* ========テーブル(アイテムリスト）========= */


table.item {
  border-collapse: collapse;
  width:  100%;
  height:auto;
}
table.item {
	    width : 100%;
	    height:auto;
	    margin : 10px 0px 0px 0px;
}
table.item th {
        font-size : 15px;
	    padding : 8px 2px 8px;
	    border : 1px solid #666666;
	    line-height : 18px;
	    color : #333;
	    font-weight : normal;
	    text-align : center;
	    background: #fff;
}
table.item th.thistle {
        font-size : 15px;
	    padding : 8px 2px 8px;
	    border : 1px solid #666666;
	    line-height : 18px;
	    background : #D8BFD8;
	    color : #333;
	    text-align : center;
}
table.item th.powderblue {
        font-size : 15px;
	    padding : 8px 2px 8px;
	    border : 1px solid #666666;
	    line-height : 18px;
	    background : #B0E0E6;
	    color : #333;
	    text-align : center;
}
table.item th.pink {
        font-size : 15px;
	    padding : 8px 2px 8px;
	    border : 1px solid #666666;
	    line-height : 18px;
	    background : #ffc0cb;
	    color : #333;
	    text-align : center;
}
table.item th. 	paleturquoise {
        font-size : 15px;
	    padding : 8px 2px 8px;
	    border : 1px solid #666666;
	    line-height : 18px;
	    background : #AFEEEE;
	    color : #333;
	    text-align : center;
}
table.item th. 	palegoldenrod {
        font-size : 15px;
	    padding : 8px 2px 8px;
	    border : 1px solid #666666;
	    line-height : 18px;
	    background : #EEE8AA;
	    color : #333;
	    text-align : center;
}
table.item th. mistyrose {
        font-size : 15px;
	    padding : 8px 2px 8px;
	    border : 1px solid #666666;
	    line-height : 18px;
	    background : #FFE4E1;
	    
	    color : #333;
	    text-align : center;
}
table.item th. palegreen {
        font-size : 15px;
	    padding : 8px 2px 8px;
	    border : 1px solid #666666;
	    line-height : 18px;
	    background : #98FB90;
	    color : #333;
	    text-align : center;
}
table.item td {
        font-size : 15px;
	    padding : 8px;
	    border : 1px solid #666666;
	    line-height : 18px;
	    text-align : center;
}
table.item td.sub_t {
	    padding : 8px;
	    border : 1px solid #666666;
	    background: #fff;
	    color : #333;
	    font-weight : normal;
	    font-size : 15px;
	    text-align : left;
}
table.item td.base {
	    padding : 8px 2px 8px;
	    border : 1px solid #666666;
	    color : #333;
	    font-weight : normal;
	    text-align : center;
	    font-size : 15px;
	    background : #fff;
}
table.item td.syukyaku {
	    padding : 8px 2px 8px;
	    border : 1px solid #666666;
	    color : #333;
	    font-weight : normal;
	    text-align : center;
	    font-size : 15px;
	    background : #ffdead;
}
table.item td.rikai {
	    padding : 8px 2px 8px;
	    border : 1px solid #666666;
	    color : #333;
	    font-weight : normal;
	    text-align : center;
	    font-size : 18px;
	    background : #f0e68c;
}
table.item td.f_b15 {
       font-size : 16px;
       line-height : 16px;
       background: #fff;
       }


/* Table */

table {
  margin: 5px;
  padding: 5px;
  width:  100%;
  height:auto;
  text-align: center;
  font-size: 18px;
  background: #cdf2cb;
  border: solid 2px #222;
  opacity: 2;
  vertical-align: middle;
}

th { space: nowrap; } 

table.table th {
  width:  100%;
  height:auto;
  border-collapse: collapse;
  border: 1px solid #222;
  vertical-align: middle;
}

table.table tr {
  width:  100%;
  height:auto;
  border-collapse: collapse;
  border-top: 1px solid #222;
  border-bottom: 1px solid #222;
  vertical-align: middle;
}

table.table td {
  width:  100%;
  height:auto;
  border: 1px solid #222;
  padding: 1px;
    vertical-align: middle;
}

.p {
  font-size: 18px;
  font-weight: bold;
  text-align:  center;
  margin: 5px auto px;
    vertical-align: middle;
}

 
@media screen and (max-width: 500px) {
  .last td:last-child {
    border: solid 1px #222;
    width: 100%;
      text-align:  center;
        style="font-size: 16px !important; line-height: 24px !important;">: middle;
  }
}

section table { width: 100%; }
section th, section td  { padding: 10px; border: 1px solid #ddd; }
section th  { background: #f4f4f4; }




/* テーブルレシポンシブ */

.flex_table{
  width:  100%;
  height:auto;
  padding: 0;
  border: 1px solid #999;
  text-align: center;
}
.flex_table li{
  list-style: none;
}
.flex_table li ul{
  padding: 0;
}
.flex_table > li:first-child li{
  background: #eee; 
}
.flex_table li ul li + li{
  border-left: 1px solid #999;
}
.flex_table li ul{
  display: flex;
}
.flex_table li ul li{
  flex-basis: 20%;
  padding: .5em 1em;
}
.flex_table > li + li{
  border-top: 1px solid #999;
}
@media (max-width: 650px) {
  .flex_table{
    display: flex;
  }
  .flex_table > li{
    flex-basis: calc( 100% / 3 );
  }
  .flex_table > li + li{
    border-left: 1px solid #999;
    border-top: none;
  }
  .flex_table li ul{
    display: block;
  }
  .flex_table li ul li + li{
    border-top: 1px solid #999;
    border-left: none;
  }
}


/* ========#menunavi======== */

#dropmenu{
  list-style-type: none;
  width:  100%;
  height: 30px;
  margin: 5px;
  padding: 1px 0px 1px 0px;
  border-bottom: 0px solid #fff;
  border-radius: 0px;
}
#dropmenu li{
  position: relative;
  width: 30%;
  height: auto;
  float: left;
  margin:  5px 0px 0px 2px;
  padding: 0px;
  text-align: center;
}
#dropmenu li a{
  display: block;
  margin: 1px 0px 0px 0px;
  padding: 1px 0px 0px 0px;
  width:  100%;
  height: 20px;
  color: #555;
  font-size: 14px;
  font-weight: bold;
  line-height: 1;
  text-decoration: none;
}
#dropmenu li ul{
  list-style: none;
  position: absolute;
  z-index:2;
  top: 100%;
  left: 0px;
  margin: 0;
  padding: 0;
  border-radius: 0;
}
#dropmenu li:last-child ul{
  left: 0%;
  width: 100%
}
#dropmenu li ul li{
  overflow: hidden;
  width: 96%;
  height: 0;
  color: #fff;
  -moz-transition: .2s;
  -webkit-transition: .2s;
  -o-transition: .2s;
  -ms-transition: .2s;
  transition: .2s;
}
#dropmenu li ul li a{
  width: 100%;
  height: 30px; 
  padding: 2px 0px 0px 0px;
  margin: 1px 0px 0px 0px;
  background: #d6d0b8;
  text-align:center;
  font-size: 13px;
  font-weight: bold;
}
#dropmenu li:hover > a{
  background: #d6d0b8;
  color: #fc3002;
}
#dropmenu > li:hover > a{
  border-radius: 0;
}
#dropmenu li:hover ul li{
  overflow: visible;
  height: 30px;
  border-top: 0px solid #fff;
  border-bottom: 0px solid #fff;
}
#dropmenu li:hover ul li:first-child{
  border-top: 0;
}
#dropmenu li:hover ul li:last-child{
  border-bottom: 0;
}
#dropmenu li:hover ul li:last-child a{
  border-radius: 0;
}


/* SUBMENU CUSTOMIZE */

.submenu h3 {
    position:relative;
    display: flex;
  justify-content: center;
    text-align:center;
   margin: 5px ;
    padding: 15px 0px 15px 0px ;
    line-height:0.5;
    color:#fff;
    border:none;
    background:#808080;
}

.submenu h5 {
    position:relative;
    display: flex;
  justify-content: center;
    text-align:center;
   margin: 5px ;
    padding: 15px 0px 15px 0px ;
    line-height:0.5;
    color:#fff;
    border:none;
    background:#808080;
}

.submenu h4 {
    padding:5px;
    font-weight:normal;
    font-size:14px;
    background:#f1f1f1;
}  　　　
.submenu ul {
    display: flex;
  justify-content: center;
    text-align:center;
    margin:0px;
    padding:5px;
}
.submenu li {
    margin:5px;
    padding:0px 0px 0px 0px;
    list-style:none;
    border-bottom:1px dotted #ddd;
    background:no-repeat left 50%;
}
.submenu li a {
    display:block;
    padding:5px;
    text-decoration:none;
}

.submenu p {
    margin:5px;
}

.img {
    margin:5px 5px 5px 5px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* ========MENU CUSTOMIZE======== */
#menu ul {
    margin:5px;
    padding:5px;
    list-style:none;
}

#menu li {
    overflow:hidden;
    float:left;
    margin:0;
    padding:0 0 0 10px;
}

#menu li a {
    display:block;
    color:#006400;
    text-decoration:none;
}

#menu li a:hover {
    color:#CC3300;
    border-bottom:3px solid #917700;
    text-decoration:none;
}

section table { width: 100%; }
section th, section td  { padding: 10px; border: 1px solid #ddd; }
section th  { background: #f4f4f4; }


/* Contact Form */

.contact-form {
  padding-bottom: 40px;
}

.contact-form label {
   color: #999;
}

.contact-form input, .contact-form textarea {
  padding: 10px 12px;
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
  height: auto;
}

.contact-form .form-send {
  text-align: center;
}

.button_wrapper{
   text-align:center;
}

.contact-form .form-send button  {
  background: #AF0808;
  border: 0;
  padding: 10px 30px;
  color: #fff;
  transition: 0.4s;
  cursor: pointer;
}

.contact-form .form-send button:hover {
  background: #f5f5f5;
}

.contact-form .validate {
  display: none;
  color: red;
  margin: 0 0 15px 0;
  font-weight: 400;
  font-size: 13px;
}

.contact-form .loading {
  display: none;
  color: #555;
  background: #fff;
  text-align: center;
  padding: 15px;
  margin: 15px 0;
}

.contact-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  -webkit-animation: animate-loading 1s linear infinite;
  animation: animate-loading 1s linear infinite;
}

@-webkit-keyframes animate-loading {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes animate-loading {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

.contact-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: center;
  padding: 15px;
  font-weight: 600;
  margin: 15px 0;
}

.contact-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  font-weight: 600;
  margin: 15px 0;
}


/* Toiawase back */

#toiawase-back {
  background-color: #888;
  padding-top:15px;
  padding-bottom: 15px;
  margin-top: 15px;
  border-radius: 10px; 
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
}

#toiawase-back h3 {
  color: white;
}

#toiawase-back p {
  color: white;
  font-weight: 400;
}


/* Footer */

#f {
  padding-top: 20px;
  background-color: #AF0808;
}

#f p {
  color: #fff;
  text-align: center;
  font-weight: 400;
}

/* Image Opacity */

.grid img {
  opacity: .7;
}

.grid img:hover {
  opacity: 1;
}


/* ========FOOTMENU CUSTOMIZE======== */
#footMenu ul {
    margin:5px 0;
    padding:0px 0;
    text-align:center;
    border-top:1px solid #ddd;
}

#footMenu li {
    display:inline;
    margin:0 0 0 20px;
    list-style:none;
}

#footMenu li a {
    color:#000;
    text-decoration:none;
}

#footMenu li a:hover {
    color:#666;
    text-decoration:underline;
}

.copyright {
    font-style:normal;
    font-size:18px;
    color:#029100;
    line-height:1.0;
    text-align:center;
    padding-bottom:20px;
}
.credits {
  color: #fff;
}
}