﻿@charset "UTF-8";
/* CSS Document */
html{
 font-size: 62.5%;
}

*,*::before, *::after{
 box-sizing: border-box;
}

body{
 background: #f4ffff;
 background-size: cover;
 color: #000;
 font-size: 1.4rem;
 font-family:  Raleway,"Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
 text-align:center;
 min-width: 1024px;
}

body {
  background-color: #eaffff;
  background-image: linear-gradient(115deg, transparent 75%, #d6ffff 75%),
                    linear-gradient(245deg, transparent 75%, #d6ffff 75%),
                    linear-gradient(115deg, transparent 75%, #d6ffff 75%),
                    linear-gradient(245deg, transparent 75%, #d6ffff 75%);
  background-position: 0 0, 0 0, 10px -20px, 10px -20px;
  background-size: 20px 40px;
}

.header{
 padding: 170px 40px 80px;
}

p{
  color:#fff;
 background-color:#000080;
}

h2{
	position: relative;
	padding:10px 80px;
	font-size:30px;
	color:#FFF;
	background: #325A8C;
	box-shadow:0 1px 3px rgba(0,0,0,0.25);
  z-index:0;
}
h2::before,
h2::after{
	content: "";
	position: absolute;
	top: 100%;
	height: 0;
	width: 0;
	border: 5px solid transparent;
	border-top: 5px solid #1A3654;
}
h2::before{
	right: 0;
	border-left: 5px solid #1A3654;
}
h2::after{
	left: 0;
	border-right: 5px solid #1A3654;
}


h3{
color:#0000ff;
font-family:'arial unicode ms';
line-height: 0;
}

h4{
  color:#000080;
  padding-bottom: 14px;
  text-align: left;
  position: relative;
  left:527px;
  font-family:serif;
}

li {
    float: center;
}

#nav {
  list-style: none;
  display: flex;
}

ul {
    width: 1000px;
    overflow: hidden;
}

li {
    float:left;
    width: 115px;
    list-style-type: none;
    padding:0 10px 0 0;
    margin:10px 18px;
    position: relative;
    top:5px;
    left:221px;
}

 a {
    display: block;
    padding: 15px 0;
    text-align: center;
    font-weight: bold;
    text-decoration: none;
    /*background-color: #00a1e9;*/
    color: #fff;
    line-height: 20px;
}
a img{
  border:none;
}

a:hover {
    background-color: #0086d3;
}

.button {
  display:block;
  position: static;
  right:5px;
  border-radius: 4px;
  color: #fff;
  background-color: #00a1e9;
  line-height:18px;
  -webkit-transition: none;
  transition: none;
  box-shadow: 0 3px 0 #f7ba59;
  text-shadow: 0 1px 1px rgba(0, 0, 0, .4);
  font-family:'arial unicode ms';
}

.button:hover {
  top: -4px;
  box-shadow: 0 7px 0 #0068b7;
}
.button:active {
  top: 3px;
  box-shadow: none;
}

#page_top{
  width: 60px;
  height: 60px;
  position: fixed;
  right: 0;
  bottom: 0;
  opacity: 0.6;
}
#page_top a{
  width: 60px;
  height: 60px;
  text-decoration: none;
}
#page_top a::before{
  font-family: FontAwesome;
  content: '\f139';
  font-size: 60px;
  color: #3fefee;
}

.footer{
 padding: 12px 0;
 font-size: 1.3rem;
}


.link{
  width: 260px;
/*background-color:#f4ffff;*/
color:#1e90ff;
text-decoration: none;
text-align: left;
display: block;
list-style: none;
position: relative;
left:527px;
font-family:serif;
}

.link:hover{
color:#f8f8ff;
}

h5{
  font-size:15px;
font-family:serif;
line-height:2em;
margin:0;
}

.button-bottom{
  width:125px;
  border-radius: 4px;
  background-color: #00a1e9;
display:block;
float:center;
position: relative;
left:575px;
font-family:'arial unicode ms';
box-shadow: 0 3px 0 #f7ba59;
text-shadow: 0 1px 1px rgba(0, 0, 0, .4);
}

.button-bottom:hover{
  top: -4px;
box-shadow: 0 7px 0 #0068b7;
}

.button-bottom:active {
  top: 3px;
  box-shadow: none;
}

.font_space{
  letter-spacing: 0.1em
}

/*ここからスライドショーのCSS*/

.photo-show {
    height: 400px; /*表示したい大きさ*/
    margin: 10px auto 80px auto; /*縦余白30pxは任意*/
    max-width: 50%;
    position: relative;
    top:25px;
    right:315px;
    float:center;
    width: 1000px; /*表示したい大きさ、height と合わせる*/
}

.photo-show img {
    animation: show 28s infinite;
    -webkit-animation: show 28s infinite;
    /*border-radius: 50%;*/
    height: 400px;
    max-width: 630px;
    opacity: 0;
    position: absolute; /*画像を全て重ねる*/
    top:5px;
}

/*アニメーション*/

@keyframes show {
    0% {opacity:0}
    5% {opacity:1}
    10% {opacity:1}
    20% {opacity:0}
 }

@-webkit-keyframes show {
    0% {opacity:0}
    5% {opacity:1}
    10% {opacity:1}
    20% {opacity:0}
}

/*各画像のアニメーションの開始時間をずらす*/

.photo-show img:nth-of-type(1) {
    animation-delay: 0s;
    animation-delay: 0s;
}

.photo-show img:nth-of-type(2) {
    animation-delay: 4s;
    animation-delay: 4s;
}

.photo-show img:nth-of-type(3) {
    animation-delay: 8s;
    animation-delay: 8s;
}

.photo-show img:nth-of-type(4) {
    animation-delay: 12s;
    animation-delay: 12s;
}
.photo-show img:nth-of-type(5) {
    animation-delay: 16s;
    animation-delay: 16s;
}
.photo-show img:nth-of-type(6) {
    animation-delay: 20s;
    animation-delay: 20s;
}
.photo-show img:nth-of-type(7) {
    animation-delay: 24s;
    animation-delay: 24s;
}
/*マウスが画像に重なった際、動きを止めて四角くする*/

.photo-show img {
    transition: 0.2s;
    -webkit-transition: 0.2s;
}

.photo-show:hover img {
    animation-play-state: paused;
    -webkit-animation-play-state: paused;
    border-radius: 0;
}

/*スライドショーはここまで*/

.rogo{
  position: absolute;
  width:86px;
  height:85px;
　display:block;
  padding:10px 10px;
  z-index:1;
  left:30px;
  top:15px;
}

.katurogo{
    position: absolute;
    width:86px;
    height:85px;
  　display:block;
    padding:10px 10px;
    z-index:1;
    left:30px;
    top:15px;
  }

.rogoicon{
background:none;
position:absolute;
top:2px;
}

.box1 {
    position: relative;
    margin: 2em 0;
    padding: 0.5em 1em;
    border: solid 3.8px #60afff;
    border-radius: 8px;
    background-color:#fff;
    height: 120%;
}

.sample1 {
    background-color: #6bb6ff;
    /*height:10px;*/
}
/*スマホ表示*/

/*@media(max-width)*/
