/*　CSS */
html {
       overflow-y:scroll;
}

body {
	margin: 0;
	padding: 0;
    background: #f6f8f6 url(../images/image02.gif) repeat-x;
    font-family: -apple-system, "ヒラギノ角ゴ ProN W3", BlinkMacSystemFont, "Helvetica Neue", YuGothic, Hiragino Kaku Gothic ProN, Arial, "メイリオ", Meiryo, sans-serif;
	font-size: 14px;
    color: #1c3e66;}

h1, h2, h3 , h4{
	margin: 0;
	padding: 0;
	text-transform: uppercase;
	font-weight: 300;

}

h1 {
	font-size: 3.8em;
}

h2 {
	font-size: 2.8em;
}

h3 {
	font-size: 1.6em;
}

h4 {
	font-size: 1.2em;
}

p, ul, ol {
	margin-top: 0;
	line-height: 180%;
}

/* Lists */
ul, ol {
/*	margin: 10px;*/
	padding: 0 0;
    font-size: 16px;
    color: #1c3e66;
}
ul { list-style: disc; }
ol { list-style: decimal; }

dt {
  font-weight: bold;	
}
dd {
  padding-left: 20px; 
}

p, dl { margin: 10px 20px; }

a {
	text-decoration: underline;
	color: #4a887d;
}

a:hover {
	text-decoration: none;
	color: #f00;}

#wrapp {
	overflow: hidden;
	background: #f6f8f6;
}

.container {
	width: 800px;
	margin: 0px auto;
}
.container h1 {
    text-transform:none;
	font-size: 1.3em;
    margin-left: 50px;
}

/* Logo */

#logo {
    overflow: hidden;
    margin-top: 30px;
    margin-bottom: 30px;
    width: 700px;
    height: 120px;
    box-shadow: 2px 2px 4px gray;
    background: url(../images/image03.gif) no-repeat;
}

#logo h1, #logo p {
	text-align: left;
}

#logo h1 {
	padding: 15px 0px 0px 0px;
	letter-spacing: 2px;
	text-transform: lowercase;
	font-size: 36px;
}

#logo p {
	margin-top: 0px;
	padding: 0;
	font-size: 20px;
	font-weight: 300;
	color: #2e5e8b;
    
}

#logo p a {
	color: #696969;
}

#logo a {
	border: none;
	background: none;
	text-decoration: none;
	color: #3C342E;
}

#logo img {
    margin-right: 10px;
    float: left;
}

/* Menu */
#menu {  
    height: 50px;
    margin: 0px auto;
    padding: 10px 0;
    text-align: center;
}

#menu ul {    
    display: inline-block;
    list-style: none;
    margin: 0;
    overflow: hidden;
    padding: 0;
    position: relative;
  
    background: -webkit-linear-gradient(#f8f8ff, #cae4db);
    background: -moz-linear-gradient(#f8f8ff, #cae4db);
    background: -ms-linear-gradient(#f8f8ff, #cae4db);
    background: -o-linear-gradient(#f8f8ff, #cae4db);        
    background: linear-gradient(#f8f8ff, #cae4db);
  
    -webkit-box-shadow: inset 0 1px 0 #fff, 0 0px 0 1px #fff;
    -moz-box-shadow: inset 0 1px 0 #fff, 0 0px 0 1px #fff;
    box-shadow: inset 0 1px 0 #fff, 0 0px 0 1px #fff;
}

#menu ul:after {  
    content: '';
    height: 50px;
    left: -50px;
    position: absolute;
    top: -32px;
    width: 120%;
    z-index: 1;
    background: -webkit-linear-gradient(left top, rgba(255,255,255,.1), rgba(255,255,255,.7));
    background: -moz-linear-gradient(left top, rgba(255,255,255,.1), rgba(255,255,255,.7));
    background: -ms-linear-gradient(left top, rgba(255,255,255,.1), rgba(255,255,255,.7));
    background: -o-linear-gradient(left top, rgba(255,255,255,.1), rgba(255,255,255,.7));           
    background: linear-gradient(left top, rgba(255,255,255,.1), rgba(255,255,255,.7));
    -webkit-transform: rotate(-2.4deg);
    -moz-transform: rotate(-2.4deg);
    -ms-transform: rotate(-2.4deg);
    -o-transform: rotate(-2.4deg);         
     transform: rotate(-2.4deg);
}

#menu li {float: left;}

#menu a {
    border-left: 1px solid #fff;
    border-right: 1px solid #eee;
    color: #4f7e5f;
    display: block;
    font-size: 14px;
    height: 45px;
    line-height: 45px;
    padding: 0 20px;
    position: relative;
    text-decoration: none;
    text-shadow: 0 1px 0 #fff;  
    z-index: 2;
    -webkit-transition: all 150ms linear;
    -moz-transition: all 150ms linear;
    -ms-transition: all 150ms linear;
    -o-transition: all 150ms linear;        
    transition: all 150ms linear;
}
#menu .active a {
	background: url(../images/image02.gif) repeat-x left bottom;
}
#menu a:focus {
    outline: 0;
}

#menu li:first-child a {
    border-left: none;
    -webkit-border-radius: 10px 0 0 10px;
    -moz-border-radius: 10px 0 0 10px;
    border-radius: 10px 0 0 10px;
}

#menu li:last-child a {
    border-right: none;
    -webkit-border-radius: 0 10px 10px 0;
    -moz-border-radius: 0 10px 10px 0;
    border-radius: 0 10px 10px 0;
}

#menu ul:hover a {
    color: transparent;
    text-shadow: 0 0 5px #ccc;
}

#menu ul:hover a:hover {
    background: #eaf5e9;
    color: #483D8f;
    line-height: 43px;
    text-shadow: 0 1px 0 #fff;  
}

#menu ul:hover a:active {
    border-left-color: #f0f0f0; 
    color: #999;
    line-height: 47px;
    -webkit-box-shadow: inset 0 0 22px #e9e9e9;
    -moz-box-shadow: inset 0 0 22px #e9e9e9;
    box-shadow: inset 0 0 22px #e9e9e9;
    -webkit-transition: none;
    -moz-transition: none;
    -ms-transition: none;
    -o-transition: none;        
    transition: none;
}

#menu_sub {
    margin-top: 30px;
    height: 0px;
}

/* SubMenu*/
.top-container {
  max-width: 700px;
  margin: auto;
  background-color: #f6f8f6;
  height: 0px;
  border-radius: 10px;
}

.topnav {
  overflow: hidden;
  background-color: rgba(236,236,236,0.9);
/*background-image: -webkit-gradient(linear, 0 0, 100% 100%,color-stop(.25, #F9F9F9), color-stop(.25, transparent),color-stop(.5, transparent), color-stop(.5, #F9F9F9),color-stop(.75, #F9F9F9), color-stop(.75, transparent),to(transparent));
-webkit-background-size: 7px 7px;*/
  list-style: none;    
  color: palevioletred;
  text-align: right;
  position: relative;
}

.topnav #myLinks {
  display: none;
}

.topnav a {
  color: #004400;
  height: 10px;
  padding: 9px 6px;
  text-decoration: none;
  font-size: 14px;
  display: block;
}

.topnav a.icon {
  background: rgba(0,142,71,0.5);
  background-color: #f6f8f6;

  display: block;
  position: absolute;
  right: 0;
  top: 0;
}

.topnav a:hover {
  background-color: rgba(246,248,246,0.8);
  color: #31762c;
}

.activ {
  background-color: #f6f8f6;
  color: white;
}
/* SubMenu end*/

#page {
	overflow: hidden;
}
#page p {
    padding: 10px 0px 0px 20px;
}

#three-box {
	overflow: hidden;
	padding: 0 0 0 50px;
}

#three-box .tbox1 {
	float: left;
	width: 230px;
	margin-right: 15px;
}

#three-box .tbox2 {
	float: left;
	width: 230px;
	margin-right: 15px;
}

#three-box .tbox3 {
	float: left;
	width: 230px;
}

#two-box {
	overflow: hidden;
	padding: 20px 0px 50px 30px;
}

#two-box .tbox1 {
	float: left;
	width: 240px;
	margin-right: 20px;
}

#two-box .tbox2 {
	float: left;
	width: 240px;
	margin-right: 20px;
}
#three-box .tbox3 {
	float: left;
	width: 240px;
	margin-right: 20px;
}

.box-style {
	background: #f6f8f6;
	text-align: center;
}
.box-style a{
	background: #f6f8f6;
	text-align: center;
}

/* Featured Block */
#featured {
    overflow: hidden;
}

#featured a.more-link {
	background: #B4DB6F;
	padding: 5px 10px 5px 10px;
	margin-top: 25px;
	color: #FFF;
	text-decoration: none;
	text-transform: uppercase;
	font-size: 10px;
	font-weight: bold;
	line-height: 20px;	
	float: left;
	display: block;
}
#featured a.more-link:hover {
	background: #008EFD;
	border-color: #007DE2;
}

dl.case1{
    margin:5px;
    padding:0;
    color: #1c3e66;
	font: 14px -apple-system, BlinkMacSystemFont, "Helvetica Neue", YuGothic, "ヒラギノ角ゴ ProN W3", Hiragino Kaku Gothic ProN, Arial, "メイリオ", Meiryo, sans-serif;
    line-height:1.5;

}
dl.case1 dt{
    width:6em;
    float:left;    
    text-align: center;
    margin:0 10px;
    padding:0 0 0 5px;
}
dl.case1 dd{
    margin:0 0 10px;
    padding:0 5px 10px 8em;
    border-bottom:1px dotted #ccc;
}

/* profile */
#profile {
	width: 800px;	
	padding-top: 20px;
}

#profile p {
    font-size: 16px;
    color: #1c3e66;
    margin: 20px;
    letter-spacing: 1.3px;
    line-height: 1.5;
}

#profile h2 {
    font-size: 24px;
    color: #1c3e66;
    margin: 20px;
    letter-spacing: 1.3px;
    line-height: 1.5;
}

#profile h3 {
  margin-top: 30px;	
  color: #1c3e66;
  text-align: center;
  padding: 0.25em;
  border-top: solid 2px #64aa8e;
  border-bottom: solid 2px #3d7ec7;
  background: -webkit-repeating-linear-gradient(-45deg, #cae4db, #cae4db 3px,#e9f4ff 3px, #e9f4ff 7px);
  background: repeating-linear-gradient(-45deg, #cae4db, #cae4db 3px,#e9f4ff 3px, #e9f4ff 7px);
}
#profile h4 {
    color: #25329e;
	padding: 10px 0 0 10px;
    letter-spacing: 1.0px;
    line-height: 1.3;
}

#profile li {
    margin: 0 0 0 70px;
    padding: 10px;
    border-bottom: 1px solid #DFEAF0;
}

/* image zoom */
imzoom img {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
}
imzoom:hover img {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

/* start - table */
table {
    color: #1c3e66;
	border-collapse: collapse;
	margin: 10px 40px;		
}
tr { background: #FFF; }
tr.altrow { background: #F9F9F9;	}
th, td {
	text-align: left;			
	border-width: 1px;
  	border-style: solid;
}
th {
	background: #F0FBFF; 
	padding: .8em 1em;	
  	border-color: #D8EBF5 #D8EBF5 #B9DBEE #D8EBF5;	
}
td {
	border-color: #EFEFEF;	
	padding: .7em 1em;	
}

/* Footer */
#footer {
	height: 100px;
	margin: 0 auto;
	padding: 50px 0px 0px 0px;
}

#footer p {
	margin: 0;
	padding-top: 10px;
	line-height: normal;
	text-align: center;
	text-shadow: 1px 1px 0px #FFFFFF;
	color: #909090;
}

#footer a {
	text-decoration: none;
	color: #666;
}

#footer a:hover {
	text-decoration: underline;
	color: #BA55D3;
}

/* top image */
.photos{
  height: 215px;
  position: relative;
}

.photos img{
  position: absolute;
  left: 0;
  right: 0;
  margin: 30px auto;
  animation: photo 25s infinite;
  opacity: 0;
}

@keyframes photo{
  0%{ opacity: 0;}
  15%{ opacity: 1;}
  20%{ opacity: 1;}
  35%{ opacity: 0;}
  100%{ opacity: 0;}
}

.photos img:nth-of-type(1) {
    animation-delay: 0s;
}
.photos img:nth-of-type(2) {
    animation-delay: 5s;
}
.photos img:nth-of-type(3) {
    animation-delay: 10s;
}
.photos img:nth-of-type(4) {
    animation-delay: 15s;
}
.photos img:nth-of-type(5) {
    animation-delay: 20s;
}

/* language change */
.language {
  font-family: "Yu Gothic", YuGothic, Verdana, 'Hiragino Kaku Gothic ProN','Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', 'メイリオ', Meiryo, sans-serif;
  text-align: right;
  padding-top: 5px;
  width: 800px;
  margin: 0px auto;

}

.btn-animation-02 {
  display: inline-block;
  width: 80px;
  text-align: center;
  background-color: #C78E91;
  border: 2px solid #C78E91;
  font-size: 16px;
  color: #BB7679;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
  position: relative;
}
/*#9ec34b*/
.btn-animation-02 span {
  position: relative;
  z-index: 1;
}

.btn-animation-02::before,
.btn-animation-02::after {
  content: "";
  display: block;
  background-color: #FFF;
  width: 50%;
  height: 100%;
  position: absolute;
  top: 0;
  transition: .2s;
}
.btn-animation-02::before {
  left: 0;
}
.btn-animation-02::after {
  right: 0;
}

.btn-animation-02:hover:before,
.btn-animation-02:hover:after {
  width: 0;
  background-color: #FFF;
}

.btn-animation-02:hover {
  color: #FFF;
}

.marker_linep { background:linear-gradient(transparent 60%, #fec1fe 0%); }
.marker_liney { background:linear-gradient(transparent 70%, #ffff00 0%); }
.marker_lineb { background:linear-gradient(transparent 60%, #00d2ff 0%); }

.boxwm {
    width: 650px;
    padding: 0em 0.5em;
    margin: 2em 0;
    background: #fefefe;
    border-left: solid 7px #54dbbf;
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.33);
}
.boxwm p {
    margin: -30px 0; 
    padding: 0;
}