﻿@charset "utf-8";


/* initial
---------------------------------------------------- */
body {
  margin: 10px 20px 30px 40px;
  padding: 0;
  font-size: small;
  color: #333;
  background: #fff;
}
h1, h2 {
  text-align:center;
  color: #222;
}
h1 {
  font-size: x-large;
}
h2 {
  font-size: medium;
}
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: 450px;
}
footer {
  clear: both;
}
footer section {
  float: right;
  width: 420px;
  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 img {
    float:left;
    margin: 0.4em 7px 0 0;
}
footer article {
  float: left;
  width: 360px;
  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;
}
#logo {
  margin: 20px 0;
}


/* navigation
---------------------*/
.table-ul {
    background-color: #5f9ea0;
    display: table;
    table-layout: fixed;
    text-align: center;
    height:40px;
    width: 860px;
}
.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;
}
/* undefined list
--------------------*/
ul.example li{
  margin-bottom:20px;
}
/* marquee
------------------------ */
.marquee {
overflow:hidden;
margin:0;
padding:0;
background:#669966;
}
.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: 20px 0 20px 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: left;
  margin: 0.4em 7px 0 0;
}

/* 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;
}

/* fonts
----------------------------------------------- */
.f-1{
	font-size:16px;
	font-family:"Times New Roman", Times, serif;
	font-weight:600;
	font-style:italic;
}
#p1 img{
	float:left;
}
/* table
 ----------------------------------- */
table {
    font-size:12px;
    float:left;
    margin: 10px 20px 30px 40px;
    /* border: 5px solid #999; */
}
tr {
    text-align:center;
}
td {
    padding: 0.2em;
    /* border: 3px solid #ccc; */
}
table#sample {
    border-collapse: collapse;
}
/* 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
 -----------------------*/
 .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;
}
