/* ================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   Customized to include a flexible grid system, flexible image
   ================================================================ */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
  font-family: "メイリオ","Meiryo","ＭＳ Ｐゴシック","Hiragino Kaku Gothic Pro","ヒラギノ角ゴ Pro W3",sans-serif;
  font-size: 0.9em;
  line-height: 1.3;
  background: #000000;
}

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

img {
  vertical-align: middle;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

textarea {
  resize: vertical;
}

.chromeframe {
  margin: 20px;
  padding: 20px;
  background: #ffae00;
  border: 4px solid #ffe98e;
  color: #000;
}

.chromeframe a {
  padding: 3px;
  background: #00CCFF;
  color: #00CCFF;
}

.chromeframe a:hover {
  text-decoration: underline;
  color: #00CCFF;
}

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

/* ================================================================
   Author's custom styles
   ================================================================ */

/* ボックスモデルの指定 */
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

/* ================================================================
   ヘッダー
   ================================================================ */

header {
  margin-top: 2em; 
}

header img {
  width: 100%; 
}

#header_navi {
  background: none repeat scroll 0 0 #000000;
  position: fixed;
  width: 100%;
  z-index:100;
}

#header_navi p {
  padding: 0 0.5em;
  font-size: 1em;
  text-align: center;
  color: #FFFFFF;
}

#header_navi a:link    {color:#FFFFFF;}
#header_navi a:visited {color:#FFFFFF;}
#header_navi a:hover   {color:#00CCFF;}
#header_navi a:active  {color:#FFFFFF;}

/* ================================================================
   共通ページ要素スタイル
   ================================================================ */

#main {
  background: #000000;  
}

#main h1 {
  margin: 0.3em 0;
  padding: 0.5em 1em;
  border-bottom: 1px solid #FFFFFF;
  text-align: center;
  font-size: 1.1em;
  color: #005d9c;
}

#main h2 {
  margin: 0.3em 0;
  padding: 0.5em 1em;
  border-bottom: 1px solid #FFFFFF;
  text-align: center;
  font-size: 1.1em;
  color: #FFFFFF;
}

#main p {
  padding: 0 1em 0;
  color: #FFFFFF;
}

a {
  text-decoration: underline;
  color: #FFFFFF;
}

a:hover {
  text-decoration: underline;
  color: #00CCFF;
}

.modal-content {
  width: 600px ;
  top: 50% ;
  left: 50% ;
  -webkit-transform: translate(-50%,-50%) ;
  -moz-transform: translate(-50%,-50%) ;
  transform: translate(-50%,-50%) ;
  margin: 0 auto ;
  padding: 10px ;
  border: 2px solid #aaa ;
  background: #000 ;
  position: fixed ;
  display: none ;
  z-index: 2 ;
}

@media screen and (max-width:49.25em){
.modal-content {
  width: 350px ;
  top: 100% ;
  left: 50% ;
  -webkit-transform: translate(-50%,-50%) ;
  -moz-transform: translate(-50%,-50%) ;
  transform: translate(-50%,-50%) ;
  margin: 0 auto ;
  padding: 10px ;
  border: 2px solid #aaa ;
  background: #000 ;
  position: absolute ;
  display: none ;
  z-index: 2 ;
}
}

#modal-overlay {
  z-index: 1 ;
  display: none ;
  position: fixed ;
  top: 0 ;
  left: 0 ;
  width: 100% ;
  height: 120% ;
  background: #000 ;
  opacity: 0.9 ;
  filter: alpha(opacity = 90) ;
}

/* 基本テーブル */
table.schedule {
  width: 100%;
  font-size: 1em;
  margin: 0 auto;
  border-collapse: separate;
  border-spacing: 0px 1px;
}
 
table.schedule th {
  padding: 10px;
  vertical-align: middle;
  text-align: left;
  border-bottom: #FFFFFF 1px solid;
  color: #fff;
}
 
table.schedule td {
  padding: 10px;
  vertical-align: middle;
  text-align: left;
  border-bottom: #FFFFFF 1px solid;
  font-size: 0.9em;
  color: #fff;
}
 
table.schedule th.r1,
table.schedule td.r1 {
  width: 12%;
  border-right: #FFFFFF 1px solid;
  background: #000000;
}
 
table.schedule th.r2,
table.schedule td.r2 {
  width: 16%;
  border-left: #FFFFFF 1px solid;
  border-right: #FFFFFF 1px solid;
  background: #000000;
}

table.schedule th.r3,
table.schedule td.r3 {
  width: 40%;
  border-left: #FFFFFF 1px solid;
  border-right: #FFFFFF 1px solid;
  background: #000000;
}
 
table.schedule th.r4,
table.schedule td.r4 {
  width: 32%;
  border-left: #FFFFFF 1px solid;
  background: #000000;
}

table.schedule a {
  color: #fff;
  text-decoration: underline;
}

table.schedule a:link {
  color: #fff;
  text-decoration: underline;
}

table.schedule a:visited {
  color: #fff;
  text-decoration: underline;
}

table.schedule a:active {
  color: #fff;
  text-decoration: underline;
}

table.schedule a:hover {
  color: #00CCFF;
  text-decoration: underline;
}

@media screen and (max-width:49.25em){
#top {
  padding-top: 4em;
  padding-bottom: 0px;
}
}

.wrapper{
  position: relative;
  width: auto;
  height: 100%;
  border: 0;
}

.twitter {
  position: absolute;
  top: 60%;
  left: 78%;
}

@media screen and (max-width:49.25em){
.twitter {
  position: absolute;
  top: 105%;
  left: 0%;
}
}

.block{
    margin:2em 0;
    position: relative;
    padding: 0.5em 1.5em;
    border-top: solid 2px #ffffff;
    border-bottom: solid 2px #ffffff;
}

.block:before, .block:after{
    content: '';
    position: absolute;
    top: -10px;
    width: 2px;
    height: -webkit-calc(100% + 20px);
    height: calc(100% + 20px);
    background-color: #ffffff;
}

.block:before {left: 10px;}
.block:after {right: 10px;}

.block p {
    margin: 0; 
    padding: 0;
}

/* ----------
   フレキシブル・メディア
   ---------- */
img {
  width: 100%;
  max-width: 100%;
}

video {
  max-width: 100%;
  height: auto;
}

iframe{
  width:100%;
}

/* Opera用の指定 */
.ad p,.ads p {
  text-align: center;
  margin:1em auto;
}

/* レスポンシブ・イメージ用 */
.res-image {
  margin-bottom: 1em;
}

/* ----------
   フォーム
   ---------- */
/* Select */
input, select, textarea {
  width: 94%;
  margin-bottom: 0.4em;
}

/* ================================================================
   フッター
   ================================================================ */

footer { background: #000000; }

footer p {
  padding: 1em 0 2em;
  font-size: 0.9em;
  text-align: center;
  color: #FFFFFF;
}


/* ================================================================
   Flexible Grid Sytem
   - Based on Foundation "The Grid" http://foundation.zurb.com/
   ================================================================ */

.row {
  width: 1140px;
  max-width: 100%;
  min-width: 768px;
  margin: 0 auto;
  overflow: hidden;
}

.row .row {
  width: auto;
  max-width: none;
  min-width: 0;
  margin: 0;
}

.cols {
  min-height: 1px;
  padding: 0;
  float: left;
  position: relative;
}

/* カラムのpaddingをなくすcollapseクラス */
.row.collapse .cols, .row.collapse .cols { padding: 0; }
.row .row.collapse { margin: 0; }

[class*="cols"] + [class*="cols"]:last-child { float: right; }
[class*="cols"] + [class*="cols"].end { float: left; }

.row .one { width: 8.33%; }
.row .two { width: 16.66%; }
.row .three { width: 25%; }
.row .four { width: 33.33%; }
.row .five { width: 41.66%; }
.row .six { width: 50%; }
.row .seven { width: 58.33%; }
.row .eight { width: 66.66%; }
.row .nine { width: 75%; }
.row .ten { width: 83.33%; }
.row .eleven { width: 91.66%; }
.row .twelve { width: 100%; }

/* PUSH & PULL */
.push-two { left: 16.66%; }
.pull-two { right: 16.66%; }
.push-three { left: 25%; }
.pull-three { right: 25%; }
.push-four { left: 33.33%; }
.pull-four { right: 33.33%; }
.push-five { left: 41.66%; }
.pull-five { right: 41.66%; }
.push-six { left: 50%; }
.pull-six { right: 50%; }
.push-seven { left: 58.33%; }
.pull-seven { right: 58.33%; }
.push-eight { left: 66.66%; }
.pull-eight { right: 66.66%; }
.push-nine { left: 75%; }
.pull-nine { right: 75%; }
.push-ten { left: 83.33%; }
.pull-ten { right: 83.33%; }

@media screen and (max-width:49.25em){
/* 788px以下向けのモバイル版グリッド・スタイル */
  .cols {
    width: auto !important;
    height: 100%;
    float: none;
  }
  .row { width: auto; min-width: 0; margin-left: 0; margin-right: 0; }
  [class*="cols"] + [class*="cols"]:last-child { float: none; }
  [class*="cols"] + [class*="cols"].end { float: none; }

  /* PUSH & PULLの調整*/
  .push-two, .push-three, .push-four, .push-five, .push-six, .push-seven, .push-eight, .push-nine, .push-ten { left: auto; }
  .pull-two, .pull-three, .pull-four, .pull-five, .pull-six, .pull-seven, .pull-eight, .pull-nine, .pull-ten { right: auto; }

  /* モバイル版4カラムグリッド */
  .row .mobile-one { width: 25% !important; float: left; padding: 0 10px; }
  .row .mobile-one:last-child { float: right; }
  .row .mobile-one.end { float: left; }
  .row.collapse .mobile-one { padding: 0; }

  .row .mobile-two { width: 50% !important; float: left; padding: 0 10px; }
  .row .mobile-two:last-child { float: right; }
  .row .mobile-two.end { float: left; }
  .row.collapse .mobile-two { padding: 0; }

  .row .mobile-three { width: 75% !important; float: left; padding: 0 10px; }
  .row .mobile-three:last-child { float: right; }
  .row .mobile-three.end { float: left; }
  .row.collapse .mobile-three { padding: 0; }

  .row .mobile-four { width: 100% !important; float: left; padding: 0 10px; }
  .row .mobile-four:last-child { float: right; }
  .row .mobile-four.end { float: left; }
  .row.collapse .mobile-four { padding: 0; }

  /* モバイル用 PUSH & PULL */
  .mobile-push-one { left: 25%; }
  .mobile-pull-one { right: 25%; }
  .mobile-push-two { left: 50%; }
  .mobile-pull-two { right: 50%; }
  .mobile-push-three { left: 75%; }
  .mobile-pull-three { right: 75%; }

  /* モバイル用collapseクラス */
  .row.mobile-collapse .cols, .row.mobile-collapse .cols { padding: 0; }
  .row .row.mobile-collapse { margin: 0; }
  .row.mobile-collapse .mobile-one { padding: 0; }
  .row.mobile-collapse .mobile-two { padding: 0; }
  .row.mobile-collapse .mobile-three { padding: 0; }
  .row.mobile-collapse .mobile-four { padding: 0; }
}

@media screen and (max-width:25em){
/* 400px以下で強制的に1カラムにするクラス */
  .row .cols.force-one {
    float: none;
    width: auto !important;
    height: 100%;
  }
}

/* ================================================================
   Media Queries
   ================================================================ */

@media only screen and (min-width: 35em) {

}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 144dpi) {

}

/* ================================================================
   Helper classes
   ================================================================ */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 100%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ================================================================
   Print styles
   ================================================================ */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow:none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}