@charset "utf-8";

/* ========================================
    reset css
========================================= */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-style:normal;
    font-weight: normal;
    font-size: 100%;
    vertical-align: baseline;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}
html{overflow-y: scroll;}
blockquote, q {quotes: none;}
blockquote:before, blockquote:after,q:before, q:after {content: ''; content: none;}
input, textarea{margin: 0; padding: 0;}
ol, ul{list-style:none;}
table{border-collapse: collapse; border-spacing:0;}
caption, th{text-align: left;}
a:focus {outline:none;}

div#test {
    text-align: center;
    position: absolute;
    top: 0;
    opacity: 0.5;
}

/* micro clearfix */
.cf:before,
.cf:after {
    content: " ";
    display: table;
}
.cf:after {clear: both;}
.cf {*zoom: 1;}

/* ========================================
	common
========================================= */

body{
	color:#555;
	font-size: 14px;
	line-height: 1;
	font-family: "メイリオ", Meiryo;
	background-color: #fff;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

/* ========================================
	wrapper
========================================= */
div#wrapper {
  width: 1000px;
  margin: 0 auto;
  height: auto;
}


/* ========================================
	header
========================================= */
header {
	width: 100%;
  max-width: 1000px;
  height: auto;
  margin-top: 8px;
}

div#header_left {
  float: left;
  width: 100%;
  max-width: 482px;
}
div#header_left img {
  width: 100%;
}

div#header_right {
  float: right;
  margin-top: 50px;
}

header ul li {
  float: left;
  margin-left: 20px;
}

header ul li a {
  line-height: 20px;
  color : #555555;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  background:url(../img/t_arrow.png) no-repeat 2px center;
  padding-left:15px;
  display: block;
}

/* ========================================
	nav(menu navigation)
========================================= */
nav {
  display: block;
  background:linear-gradient(to top,#dadbda,#ffffff);
  margin-bottom: 10px;
  display: table;
  table-layout: fixed;
  width: 100%;
  text-align: center;
}

nav li {
    display: table-cell;
    vertical-align: middle;
    width:166px;
    border-right: 1px solid #bbb;
}

nav li:first-child {
    border-left: 1px solid #bbb;
}

nav li a {
    display: block;
    font-weight: bold;
    color: #000;
    padding: 14px 16px;
    text-decoration: none;
}

nav ul li:nth-child(1) a{border-top:4px solid #d5a5f6;opacity:0.7;}
nav ul li:nth-child(2) a{border-top:4px solid #99cccc;opacity:0.7;}
nav ul li:nth-child(3) a{border-top:4px solid #f3bde0;opacity:0.7;}
nav ul li:nth-child(4) a{border-top:4px solid #b5bff4;letter-spacing:-0.1em;opacity:0.7;}
nav ul li:nth-child(5) a{border-top:4px solid #9ada63;letter-spacing:-0.2em;opacity:0.7;}
nav ul li:nth-child(6) a{border-top:4px solid #f7b064;opacity:0.7;}

nav ul li:nth-child(1) a:hover{border-top:4px solid #d5a5f6;opacity:1;}
nav ul li:nth-child(2) a:hover{border-top:4px solid #99cccc;opacity:1;}
nav ul li:nth-child(3) a:hover{border-top:4px solid #f3bde0;opacity:1;}
nav ul li:nth-child(4) a:hover{border-top:4px solid #b5bff4;letter-spacing:-0.1em;opacity:1;}
nav ul li:nth-child(5) a:hover{border-top:4px solid #9ada63;letter-spacing:-0.2em;opacity:1;}
nav ul li:nth-child(6) a:hover{border-top:4px solid #f7b064;opacity:1;}


/* ========================================
	mainimage
========================================= */
div#mainimage {
	width: 100%;
  margin: 0 auto;
  max-width: 1000px;
  max-height: 300px;
  height: 100%;
  margin-bottom: 10px;
}

div#mainimage img {
  width:100%;
  height:100%;
}


/* ========================================
	left_contents
========================================= */
div#left {
  width: 100%;
  max-width: 698px;
  height: auto;
	float: left;
}

div#left h3 {
  margin-top:10px;
  margin-left: 10px;
}

div#left_top {
  padding: 0.5em 0.5em;
  border: solid 1px #000000;
}

div#left_top h2{
  font-size:16px;
  position: relative;
  color: #000;
  padding:0.5em 0.5em 0.5em 1.4em;
  background:linear-gradient(to top,#dadbda,#ffffff);
  border-radius: 5px;

}
div#left_top h2::after {
  position: absolute;
  top: 50%;
  left:0.1em;
  transform:translateY(-50%);
  content: '';
  width: 5px;
  height:28px;
  background-color:#99cccc;
}

div#left_top iframe {
  padding: 20px;
  border-width:0;
  width: 100%;
  max-width:640px;
  height: 460px;
}


div#left_bottom {
  margin-top: 5px;
  padding: 0.5em 0.5em;
  border: solid 1px #000000;
}

div#left_bottom h2 {
  display: block;
  font-size:16px;
  position: relative;
  color: #000;
  padding:0.5em 0.5em 0.5em 1.4em;
  background:linear-gradient(to top,#dadbda,#ffffff);
  border-radius: 5px;
}
div#left_bottom h2::after {
  position: absolute;
  top: 50%;
  left:0.1em;
  transform:translateY(-50%);
  content: '';
  width: 5px;
  height:28px;
  background-color:#f9853e;
}

div#left_bottom a {
  text-decoration: none;
}

div#left_bottom dl {
  height: 150px;
  width: 100%;
  max-width: 670px;
  overflow: auto;
}
div#left_bottom dt {
  font-size:12px;
  color:#a8a8a8;
  float: left;
  width:94px;
  line-height: 30px;
}

div#left_bottom dd {
  font-size: 13px;
  color:#555555;
  float: left;
  width:556px;
  line-height: 30px;
}

/* ========================================
	right_contents
========================================= */
div#right {
  width: 100%;
  max-width: 290px;
  height: 100%;
  max-height: 802px;
  margin-left: 10px;
  float: left;
}

div#fb1 {
  width:280px;
  text-align: center;
}

div#fb2 {
  width:280px;
  height:200px;
  text-align: center;
  margin-top: 15px;
  overflow: hidden;
}

/* ========================================
	clear float
========================================= */
div.clearfix {
  clear:both;
}

/* ========================================
	footer
========================================= */
footer {
  margin-top: 20px;
	width: 100%;
  max-width: 1000px;
	height: 128px;
}

div#footer_top {
  padding-top: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #888;
}

div#footer_top a {
  color :#555555;
  text-decoration: none;
  font-size: 14px;
}

div#footer_navi ul li {
  float: left;
  padding-left: 2px;
  padding-right: 2px;
  border-left: 1px solid #888;
  border-right: 1px solid #888;
}

div#footer_navi ul li+ li {
  border-left: 0;
  border-right: 1px solid #888;
}

div#footer_rtop {
  display: block;
  float: right;
  background: url(../img/r_arrow.png) no-repeat right;
  padding-right: 15px;
}

div#footer_bottom {
  margin-top: 10px;
}
div#footer_address {
  float: left;
  line-height: 15px;
}
div#footer_address a {
  text-decoration: none;
}

div#footer_img {
  float: right;
}

/* ========================================
	media screen for tablet
========================================= */
@media screen and (max-width:1000px) {
  div#wrapper {
    width: 100%;
  }
  
  div#header_right {
    margin-top: 30px;
  }

  div#mainimage img {
    width: 100%;
    height: 100%;
  }
  div#left {
    margin: 0 auto;
    float:none;
    margin-bottom: 15px;
  }

  div#right {
    width:100%;
    max-width:900px;
    margin:0 auto;
  }

  div#fb1 {
    display: block;
    margin-top: 15px;
    margin-left:60px;
    float: left;
    height:250px;
    overflow: hidden;
  }

  div#fb2 {
    display:block;
    margin-right:60px;
    float: right;
    height:250px;
    overflow: hidden;
  }

  div#footer_navi {
    margin-left:10px;
  }
  div#footer_rtop {
    margin-right: 15px;
    padding-right:10px;
  }
  div#footer_address {
    width: auto;
    padding-left: 10px;
    padding-right: 10px;
    display:block;
  }

}
/* ========================================
	media screen for mobile
========================================= */
@media screen and (max-width:640px) {
  div#wrapper {
    width: 100%;
  }

  header {
    margin-top: 0px;
  }
  div#header_right {
    display: none;
  }

  nav {
    margin: 0 0;
  }
  div#mainimage img {
    width: 100%;
    height: 100%;
  }

  div#left {
    margin: 0 auto;
    border: 0px solid ;
    float:none;
  }
  div#left_top {
    border:none;
  }

  div#left_top iframe {
    display: block;
    padding: 0px;
    padding-top:10px;
    margin: 0 auto;
    width: 100%;
  }

  div#left_bottom {
    margin-top: 5px;
    padding: 1em 1em;
    border: none;
    line-height: 20px;
    height: 35%;
  }

  div#right {
    margin-left:0px;
    margin: 0 auto;
    float:none;
  }

  div#fb1 {
    float:none;
    margin:0 auto;
    width:100%;
    height:250px;
    overflow: hidden;
    
  }

  div#fb2 {
    float:none;
    margin:10 auto;
    width:100%;
    height:250px;
    overflow: hidden;
  }

  div#footer_navi ul li {
    float: none;
    display: block;
    text-align: center;
    padding-left: 0px;
    padding-right: 0px;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid #888;
    line-height: 45px;
  }

  div#footer_navi ul li:first-child {
    border-top: 1px solid #888;
  }
  div#footer_navi ul li+ li {
    border-left: none;
    border-right: none;
  }

  div#footer_rtop {
    display: none;
  }

  div#footer_address {
    width: auto;
    padding-left: 10px;
    padding-right: 10px;
    display:block;
  }

  div#footer_img {
    float: none;
    margin: 0 auto;
  }

  div#footer_top {
    border-bottom: none;
  }
}