/*
 * CSS Reset 2011-12-25
 * https://gist.github.com/gists/1360380
 *
 * Author:  Takeru Suzuki, http://terkel.jp/
 * License: Public domain
 *
 * Inspired by Normalize.css: http://necolas.github.com/normalize.css/
 */
/* HTML5 display definitions */
section, nav, article, aside, hgroup,
header, footer, figure, figcaption, details {
  display: block; }

video, audio, canvas {
  display: inline-block;
  *display: inline;
  *zoom: 1; }

audio:not([controls]) {
  display: none; }

[hidden] {
  display: none; }

/* The root element */
html {
  font-size: 100%;
  overflow-y: scroll;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%; }

/* Sections */
body {
  font-family: Verdana;
  margin: 0; }

h1, h2, h3 {
	font-size: 1.5em;
	margin: 0;
	text-shadow: 0 1px 0 #999999;
}



/* Grouping content */
p, blockquote, dl, dd, figure {
  margin: 0; }

hr {
  color: inherit;
  height: auto;
  -moz-box-sizing: content-box;
  box-sizing: content-box; }

pre {
  font-family: Verdana;
  white-space: pre-wrap;
  word-wrap: break-word;
  margin: 0; }

ol, ul {
  padding: 0;
  margin: 0; }

/* Text-level semantics */
a:focus {
	outline: thin dotted;
}

a:hover, a:active {
	outline: 0;
}

strong, b {
  font-weight: bold; }

small {
  font-size: 0.83em; }

q {
  quotes: none; }

abbr[title] {
  border-bottom: 1px dotted; }

code, samp, kbd {
  font-family: Verdana; }

mark {
  color: black;
  background-color: yellow; }

sub, sup {
  font-size: 0.83em;
  line-height: 0;
  vertical-align: baseline;
  position: relative; }

sub {
  bottom: -0.25em; }

sup {
  top: -0.5em; }

br {
  *letter-spacing: 0; }

/* Embedded content */
img {
	border: 0;
	-ms-interpolation-mode: bicubic;
}

svg:not(:root) {
  overflow: hidden; }

/* Tabular data */
table {
  border-collapse: collapse;
  border-spacing: 0; }

caption {
  padding: 0;
  text-align: left; }

th, td {
  text-align: left;
  vertical-align: baseline;
  padding: 0; }

/* Forms */
form {
  margin: 0; }

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

legend {
  border: 0;
  *margin-left: -7px; }

input, button, select, textarea {
  font-family: Verdana;
  font-size: 1em;
  color: inherit;
  margin: 0; }

input, button {
  line-height: normal;
  vertical-align: inherit;
  *vertical-align: middle; }

input::-moz-focus-inner,
button::-moz-focus-inner {
  border: 0;
  padding: 0; }

input[type="search"] {
  -webkit-appearance: textfield;
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box; }

input[type="search"]:focus {
  outline-offset: -2px; }

input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none; }

input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
  padding: 0; }

input[type="submit"],
input[type="reset"],
input[type="button"],
button {
  cursor: pointer;
  -webkit-appearance: button;
  *overflow: visible; }

select {
  background-color: inherit;
  line-height: normal; }

textarea {
  vertical-align: top;
  overflow: auto;
  *font-family: Verdana; }

body {
	font-family: Verdana;
	line-height: 1.5;
}

a {
  color: #3579b3; }
/*
a:hover {
	color: #999999;
}*/

.all {
	margin: 0 auto;
}

button[disabled] {
  color: #CCC; }

.mod-header {
  background: #eee7d3;
  padding: 20px 0;
  border-bottom: 3px solid #bfb9a9; }
  .mod-header h1 {
    font-size: 56px;
    padding: 0 0 20px 0;
    text-align: center;
    font-family: Verdana; }
  .mod-header h1 a {
    color: #444;
    text-decoration: none; }
  .mod-header nav ul {
    text-align: center;
    font-size: 20px; }
  .mod-header nav li {
    display: inline-block;
    padding: 0 10px; }
  .mod-header nav li a {
    text-decoration: none; }



/* ~~ ポートレイトランドスケイプ ~~ landscape, portrait */
@media all and (orientation:landscape){
.main {
	/*下のwidth ：写真が動く枠の幅 */
  width: 1024px;
}
.demo .wrapper {
  background-image:url(../img/bg_in_l.gif);
  background-repeat:repeat-y;
  margin: 5px auto 15px;
}
}


@media all and (orientation:portrait){
.main {
  /*下のwidth ：写真が動く枠の幅 */
  width: 768px;
}
.demo .wrapper {
  background-image:url(../img/bg_in_p.gif);
  background-repeat:repeat-y;
  margin: 30px auto 30px;
}
#menu_about {
 display:none;
}
}


/*メイン width: 700px; padding: 10px; */
.main {
	padding: 10px 0;
	margin: 0 auto;
}
  
  .main h2 {
    font-size: 30px;
    padding: 10px 0;
    color: #504e47; }
  .main h3 {
    color: #504e47;
    border-bottom: 2px solid #bfb9a9;
    padding: 10px 0; }
  .main section {
    margin-bottom: 20px; }
  .main .note {
    font-size: 12px; }
  .main ul {
    list-style: circle;
    padding: 5px 0 5px 40px; }
  .main li {
    margin: 5px 0; }

.demo .wrapper {
  /*下：写真を見せる横の領域（一番上のレイヤー）width: 1320px; */
  width: 1024px;
  overflow: hidden;
  padding: 30px 0 10px;

/*	background-color: #ABB0B7; */
/*  background: #999;*/
   }

.demo .flipsnap {
  /*下：写真の数に応じて横の幅の長さを調整 width: 5545px; */
  width: 5545px;
  /* 230px(item) * 5 + 45px(padding) */
  
  /*下：枠の中での写真の左位置を調整*/
  padding-left: 45px; }

.demo .item {
	width: 300px;
	margin: 0 10px;
	/* font-size: 50px; */
  text-align: center;
	/*下：写真の上下のパディング*/
  padding: 0 0;
	/* background: #EFEFEF; */
  border: 0 solid #999;
	float: left;
	color: #666;
}

.demo .pointer {
  text-align: center; }

.demo .pointer span {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 8px;
  border: 1px solid #636262; }

.demo .pointer span.current {
  background: #636262; }

.demo .controls {
  text-align: center;
  margin: 0 0 15px 0; }

.demo .controls .num {
  width: 60px; }


#demo-simple .flipsnap {
  width: 960px;
  padding: 0; }
#demo-simple .item {
  width: 310px;
  margin: 0; }

#demo-maxPoint .flipsnap {
  width: 800px;
  /* 80px(item) * 10 */
  padding: 0; }
#demo-maxPoint .item {
  width: 50px;
  font-size: 20px;
  padding: 10px 0; }

#demo-refresh .flipsnap {
  width: 270px; }

#demo-link .item {
  padding: 0; }
#demo-link .item a {
  width: 200px;
  height: 180px;
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  color: #00F;
  font-size: 18px; }

#demo-moveToPoint .flipsnap {
  width: 2345px; }

@media screen and (max-width: 480px) {
  .mod-header h1 {
    font-size: 34px;
    padding-bottom: 10px; }
  .mod-header nav ul {
    font-size: 18px; }

  .main {
    width: 300px; }

  .demo {
    position: relative;
    left: -10px; }

  .demo h3 {
    position: relative;
    left: 10px; }

  .github-ribbon {
    display: none; } }
