﻿* {
   box-sizing: border-box;
}
body {
   margin: 0;
   padding: 0;
   font-family: "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", メイリオ, Meiryo, "ＭＳ Ｐゴシック", "Helvetica Neue", Helvetica, Arial, sans-serif;
   background-color: #e6e6e6;
}
header {
   padding: 30px 4% 10px;
   position: fixed;
   top: 0;
   width: 100%;
   background-color: #fff;
   display: flex;
   align-items: center;
}
h1 {
   margin: 0; padding: 0;
   font-size: 20px;
}
a {	
   text-decoration: none;
   color: #4b4b4b;
}
nav {
   margin: 0 0 0 auto;
}
ul {
   list-style: none;
   margin: 0;
   display: flex;
   width: 100%
}
li {
   margin: 0 0 0 15px;
   font-size: 14px;
}
.main-visual {
   display: flex;
   justify-content: center;
   align-items: center;
   height: 80vh;
   background: url('image/hed1.jpg') top center / cover no-repeat;
   //background: url('image/jimutou.jpg') top center / cover no-repeat;
}

h2 {
   margin: 0;
   font-size: 40px;
   font-weight: normal;
   color: #000;
   text-shadow: 0px 0px 5px #444444;
}
.main-visual p{
	position: absolute;
	top: 70%;
	left: 50%;
	-ms-transform: translate(-50%,-50%);
	-webkit-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
	margin:0;
	padding:0;
	text-shadow: 0px 0px 5px #444444;
  /*文字の装飾は省略*/
  }
  

div.main {
    height: 5em;
    position: relative }
div.main p {
    margin: 0;
    background: rgba(128,128,255,0.7);
    position: absolute;
    top: 130%;
    left: 50%;
    margin-right: -50%;<br>
    transform: translate(-50%, -50%);
	text-align: left;
	color: #fff;
	font-size: 16px;
	border-radius: 10px
	text-shadow: 0px 0px 5px #444444;
 }

a:hover{
  color: orange;
}
ul.ddmenu ul {
   display: none;       /* ★1:標準では非表示にする */
   margin: 0px;         /* ★2:サブメニュー外側の余白(ゼロ) */
   padding: 0px;        /* ★3:サブメニュー内側の余白(ゼロ) */
   position: absolute;  /* ★4:絶対配置にする */
}
ul.ddmenu li:hover ul {
   display: block;     /* ★5:マウスポインタが載っている項目の内部にあるリストを表示する */
   background-color: rgba(255,255,255,0.7);
}
p {font-size:20px; text-shadow: -4px -4px 1px #808080,4px 4px 1px #2e8b57; }
/* 点滅 */
@keyframes blinking {
   0% {
   opacity: 0;
   }
   100% {
   opacity: 1;
   }
}

/* 要素にアニメーションを適用 */
.blink {
   animation: blinking 1s ease-in-out infinite alternate;
}