@charset "utf-8";

@font-face {
  font-family: "YuGothic-M";
  font-weight: normal;
    src: local("YuGothic-Medium"),
         local("Yu Gothic Medium"),
         local("YuGothic-Regular");
}

@font-face {
  font-family: "YuGothic-M";
  font-weight: bold;
    src: local("YoGothic-Bold"),
         local("Yu Gothic");
}

body {
  background: url(../images/bg-contact.jpg) center center / cover no-repeat fixed;
  font-family: -apple-system, blinkMacSystemFont, YuGothic-M, YuGothic, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  -webkit-text-size-adjust: 100%;
  font-feature-settings: "palt";
}

@media screen and (-webkit-min-device-pixel-ratio:0) {
  ::i-block-chrome, body {
  font-feature-settings: "pkna";
}
}

html {
  overflow-y:scroll;
}

h1,h2,h3,h4,h5,h6 {
  text-align: center;
  color: #FFFFFF;
  font-size: calc(60% + 0.6vw);
  text-shadow:1px 1px 2px #AAAAAA;
  line-height: 2;
}

img {
  border:0;
}

a:link {
  color:#cccccc;
  text-decoration:underline;
}

a:visited {
  color:#cccccc;
  text-decoration:underline;
}

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

a:active {
  color:#FF0000;
}

.small{
  text-align: center;
  font-size: calc(40% + 0.5vw);
  color: #FFFFFF;
  text-shadow:1px 2px 2px #000000;
  line-height: 1.5;
}

.text{
  text-align: center;
  color: #FFFFFF;
  font-size: calc(50% + 0.5vw);
  text-shadow:1px 1px 1px #777777;
  line-height: 2;
}

.box{
  padding: 2em;
  background-color: rgba(0,0,0,0.5);
  width: 100%;
  min-width: 320px;
  max-width: 1000px;
  height: auto;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  box-shadow: 5 5px 5px rgba(0, 0, 0, 0.4);
}

.cp_hr {
  position: relative;
  width: 90%
  min-width: 300px;
  max-width: 800px;
  height: 1px;
  border-width: 0;
  background-image: -webkit-linear-gradient(left,
  transparent 0%,#777777 50%,transparent 100%);
  background-image:         linear-gradient(90deg,
  transparent 0%,#777777 50%,transparent 100%);
}

.resizeimage img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  width: 100%;
  min-width :320px;
  max-width :600px;
  height: auto;
}

header {
        background-color:  rgba(0,0,0,0.4);
}
header .headerTop{
	padding:0;
}
header .siteTitle a{
	display: block;
	font-size: calc(50% + 0.5vw);
	color:  #FFFFFF;
        text-shadow:1px 3px 3px #AAAAAA;
	font-weight: bold;
	text-decoration: none;
}
.navDrawr>ul:after {
	content: ".";
	display: block;
	clear: both;
	height: 0;
	visibility: hidden;
}
.navDrawr>ul>li {
	float: right;
	width: 15%;
	position: relative;
}
.navDrawr a {
	display: block;
	color:  #FFFFFF;
        text-shadow:1px 3px 3px #AAAAAA;
	font-size: calc(50% + 0.5vw);
        text-decoration: none;
	background:  rgba(0,0,0,0.4);
	padding: 5px;
}
.navDrawr .sub li:last-child a {
	border: none;
}
.navDrawr>ul>li>a {
	border-right: 1px solid #333333;
	text-align: center;
}
.navDrawr>ul>li>a:hover {
	background: #300000;
}
.navDrawr .sub {
	position: absolute;
	left: 0;
	right: 0;
	z-index: 9999;
}
.navDrawr .sub a {
	background:  rgba(0,0,0,0.4);
	border-bottom: 1px solid #333333;
	padding: 5px 5px 5px 15px;
}
.navDrawr .sub a:hover {
	background: #300000;
}
#contents{
	padding-top:3px;
}

@media only screen and (max-width: 1000px) {
	#wrapper{
		overflow:hidden;
	}
	.navDrawr {
		background-color:  rgba(0,0,0,0.4);
		position: fixed;
		width: 270px;
		top: 60px;
		bottom: 0;
		right: -270px;
	        z-index: 9999;
		overflow: auto;
		-webkit-overflow-scrolling: touch;
	}
	body.menuOpen #wrapper{
		padding-top:60px;
	}
	.overlay {
		display: none;
		background-color: rgba(0,0,0,0.4);
		position: fixed;
		top: 0;
		bottom: 0;
		left: 0;
		right: 0;
	}
	header {
		position:relative;
		height: 60px;
		padding:0;
	}
	body.menuOpen header{
		position: fixed;
		top:0;
		width: 100%;
	        z-index: 9999;
	}
	header .headerTop{
		padding:inherit;
	}
	header .siteTitle a{
		margin-left: 20px;
		line-height: 60px;
	}
	.navDrawrBtn {
		text-align: right;
	}
	.navDrawrBtn span {
		position: absolute;
		top: 0;
		bottom: 0;
		right: 0;
		margin: auto;
		display: block;
		width: 60px;
		height: 60px;
		cursor: pointer;
	}
	.navDrawrBtn span::before {
		font-family: FontAwesome;
		content: "\f0c9";
		font-size: 24px;
		color: #FFFFFF;
		position: absolute;
		left: 0;
		width: 100%;
		text-align: center;
		line-height: 60px;
	}
	body.menuOpen .navDrawrBtn span::before {
		content: "\f00d";
	}
	.navDrawr a {
		position: relative;
	}
	.navDrawr a::after {
		position: absolute;
		top: 50%;
		margin-top: -10px;
		right: 15px;
		font-family: FontAwesome;
		content: "\f054";
	}
	.navDrawr>ul>li {
		float: none;
		width: auto;
	}
	.navDrawr>ul>li>a {
		text-align: left;
		border-right: none;
		border-bottom: 1px solid #333333;
	}
	.navDrawr .sub {
		position: static;
		display: block!important;
	}
}

ul.imgList{}
ul.imgList::after{
	display: table;
	line-height: 0;
	content: "";
	clear:both;
}
ul.imgList li{
	float: left;
	width: 30%;
	margin: 1%;
}
ul.imgList li .thumbnail{
	background-color:  rgba(0,0,0,0.4);
	padding: 5px;
	border:solid 1px #FFF;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
}
ul.imgList li img{
	margin-bottom:10px;
}
ul.imgList li .caption{}
ul.imgList li .title{
	font-size: 24px;
	font-weight: bold;
	margin-bottom: 10px;
}

@media only screen and (max-width: 480px) {
	ul.imgList li{
		float: none;
		width: 98%;
		margin: 1%;
	}
}

