﻿@charset "utf-8";


/* initial
---------------------------------------------------- */
body {
	font-size:16px;
	font-family: 'Source Code Pro', monospace;
  margin: 10px 20px 30px 40px;
  padding: 0;
  font-size: small;
  color: #333;
  background: #fff;
}
h1, h2, h3, h4 {
  text-align:center;
  color: #222;
}
h1 {
  font-size: large;
}
h2 {
  font-size: medium;
}
h3 {
  font-size: small;
}
h4 {
  font-size: smaller;
}
p {
  line-height: 1.7;
}
a{
display: inline-block;
color: #03c;
-webkit-transition: 0.5s;
-moz-transition: 0.5s;
-o-transition: 0.5s;
-ms-transition: 0.5s;
transition: 0.5s;
}
a:hover {
-webkit-transform: scale(1.5,1.5);
-moz-transform: scale(1.5,1.5);
-o-transform: scale(1.5,1.5);
-ms-transform: scale(1.5,1.5);
transform: scale(1.5,1.5);
}
section, article, aside, nav, header, main, footer {
  display: block;
}

/* page_structure
---------------------------------------------------- */
#page {
  margin: 0 auto;
  width: 900px;
}
main {
  float: left;
  width: 450px;
}
main img {
    float: left;
    margin: 0.4em 7px 0 0;
}
#sub {
  float: right;
  width: 440px;
}
footer {
  clear: both;
}
footer section {
  float: right;
  width: 440px;
  margin: 10px 30px;
  margin: 20px 0 20px 20px;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 7px;
  background-color:#e6ffe9;

}
footer section:nth-child(2) {
  margin: 10px 30px;
  margin: 20px 0 20px 20px;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 7px;
}
footer article {
  float: left;
  width: 340px;
  margin: 10px 30px;
  margin: 20px 0 20px 20px;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 7px;
  background-color:#f5f5f5;
}

#date {
    clear:both;
}
#copyright {
  clear: both;
}

/* header
---------------------------------------------------- */
header img {
  display: block;
}
hgroup {
	text-shadow:3px 6px 8px #999;
}
hgroup h1 {
	text-shadow:3px 6px 8px #999;
}
hgroup h2 {
	text-shadow:3px 6px 8px #999;
}
hgroup h3 {
	text-shadow:3px 6px 8px #999;
}
#logo {
  margin: 20px 0;
}


/* navigation
---------------------*/
.table-ul {
    background-color: #009900;
    display: table;
    table-layout: fixed;
    text-align: center;
    height: 30px;
    width: 850px;
}
.table-ul li {
    border-right: 0;
    display: table-cell;
    vertical-align: middle;
}
.table-ul li:last-child {
    border-right: 0;
}
.table-ul li a {
    color: #fff;
    display: block;
    font-size: 14px;
    text-decoration: none;
    padding: 0 0;
}
.table-ul li a:hover{
	color:#ff0000;
}
/* marquee
------------------------ */
.marquee {
overflow:hidden;
margin:0;
padding:0;
background:#009900;
}
.marquee p {
width:100%;
text-align:center;
display:inline-block;
white-space:nowrap;
color:#fff;
font-size:16px;
font-weight:600;
-moz-animation-name:marquee;
-moz-animation-duration:25s;
-moz-animation-timing-function:linear;
-moz-animation-iteration-count:infinite;
-webkit-animation-name:marquee;
-webkit-animation-duration:25s;
-webkit-animation-timing-function:linear;
-webkit-animation-iteration-count:infinite;
-o-animation-name:marquee;
-o-animation-duration:25s;
-o-animation-timing-function:linear;
-o-animation-iteration-count:infinite;
animation-name:marquee;
animation-duration:25s;
animation-timing-function:linear;
animation-iteration-count:infinite;
}
@-webkit-keyframes marquee {
from {margin-left:100%; width:100%;}
to {margin-left:-100%; width:100%;}
}
@-moz-keyframes marquee {
from {margin-left:100%; width:100%;}
to {margin-left:-100%; width:100%;}
}
@-o-keyframes marquee {
from {margin-left:100%; width:100%;}
to {margin-left:-100%; width:100%;}
}
@keyframes marquee {
from {margin-left:100%; width:100%;}
to {margin-left:-100%; width:100%;}
}


/* side bar
---------------------------------------------------- */
#sub aside {
  margin: 10px 20px;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 7px;
  background-color: #f5f5f5;
  box-shadow: inset 1px 1px 0 #fff, 1px 1px 3px rgba(0, 0, 0, 0.1);
  text-shadow: 1px 1px 0 #fff;
}
#sub h2 {
  clear: both;
  margin-top: 0;
}
#sub img {
  float: center;
  margin: 10px 10px;
}
ul {
	list-style-type: none;
}
p.center {
	text-align: center;
}
/* footer
---------------------------------------------------- */
footer {
  border-top: 1px solid #ccc;
}
#date {
    padding-top: 20px;
    text-align: center;
    color: #999;
}
#copyright {
  padding-top: 20px;
  text-align: center;
  color: #999;
}
/* align
------------------------------------*/
p.gauche{
	float:left;
	margin:10px;
}

/* fonts
----------------------------------------------- */
.f-1{
	font-size:16px;
	font-family:"Times New Roman", Times, serif;
	font-weight:600;
	font-style:italic;
}
#p1 img{
	float:left;
}

/* screen
 -----------------------*/
#container {
    width: 100%;
    text-align: center;
}

#viewer {
    margin: 0 auto;
    width: 900px;
    height: 350px;
    text-align: left;
    overflow: hidden;
    position: relative;
}

#viewer img {
    top: 0;
    left: 0;
    position: absolute;
}
/* misc
 -----------------------*/
 .txt-hide{
 display: none;
 }

 button.more {
 width: 120px;
 margin: 20px auto;
 display: block;
 background-color: #666;
 color: #fff;
 padding:10px 15px;
 border: none;
 outline: 0;
 transition: .5s;
 -erbkit-transition: .5s;
 }

 button.more::after {
 content: "read more";
 transition: .2s;
 -erbkit-transition: .2s;
 }

 button.more.on-click::after{
 content: "close";
 }

 /* この記述は不要です */
 #wrap {
 width: 300px;
 height: 100%;
 font-size:13px;
 }

 /* misc
  -----------------------*/
  .cp_box *, .cp_box *:before, .cp_box *:after {
 	-webkit-box-sizing: border-box;
 	box-sizing: border-box;
 }
 .cp_box {
 	position: relative;
 }
 .cp_box label {
 	position: absolute;
 	z-index: 1;
 	bottom: 0;
 	width: 100%;
 	height: 140px; /* グラデーションの高さ */
 	cursor: pointer;
 	text-align: center;
 	/* 以下グラデーションは背景を自身のサイトに合わせて設定してください */
 	background: linear-gradient(to bottom, rgba(250, 252, 252, 0) 0%, rgba(250, 252, 252, 0.95) 90%);
 }
 .cp_box input:checked + label {
 	background: inherit; /* 開いた時にグラデーションを消す */
 }
 .cp_box label:after {
 	line-height: 2.5rem;
 	position: absolute;
 	z-index: 2;
 	bottom: 20px;
 	left: 50%;
 	width: 16rem;
 	font-family: FontAwesome;
 	content: '\f13a'' read more';
 	transform: translate(-50%, 0);
 	letter-spacing: 0.05em;
 	color: #ffffff;
 	border-radius: 20px;
 	background-color: rgba(27, 37, 56, 1);
 }
 .cp_box input {
 	display: none;
 }
 .cp_box .cp_container {
 	overflow: hidden;
 	height: 250px; /* 開く前に見えている部分の高さ */
 	transition: all 0.5s;
 }
 .cp_box input:checked + label {
 	/* display: none ; 閉じるボタンを消す場合解放 */
 }
 .cp_box input:checked + label:after {
 	font-family: FontAwesome;
 	content: '\f139'' close';
 }
 .cp_box input:checked ~ .cp_container {
 	height: auto;
 	padding-bottom: 80px; /* 閉じるボタンのbottomからの位置 */
 	transition: all 0.5s;
 }
