@charset "utf-8";

@font-face {
	font-family: 'kamakura';
	src: url('font/kamakura.eot'); /* IE9 Compat Modes */
	src: url('font/kamakura.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
	url('font/kamakura.woff') format('woff'), /* Modern Browsers */
	url('font/kamakura.ttf')  format('truetype'); /* Safari, Android, iOS */
}

body {
	height: 100%;
	background-color: #0d0a0a;
	color: black;
	font-family: kamakura;
}

#contents {
	position: relative;
	top: 0;
	width: 590px;
	height: 875px;
	margin: 0 auto 0 auto;
	background-size: 600px;
	background-repeat: no-repeat;
	background-position: center center;
	background-image: url(images/historyXIX.jpg);
}

h1 {
	top: 70vh;
	position: relative;
	width: 100%;
	padding-top: 30px;
	padding-bottom: 30px;
	background: rgba(13, 10, 10, 0.63);
	font-size: 40px;
	text-shadow: 1px 1px 3px #d0b318, 1px -1px 3px #d0b318, -1px 1px 3px #d0b318, -1px -1px 3px #d0b318;
	text-align: center;
	letter-spacing: 25px;
}

h2 {
	position: relative;
	width: 100%;
	padding-top: 10px;
	padding-bottom: 10px;
	color: #d0b318;
	text-align: center;
}

p {
	color: #d8d5c7;
}


a {
	text-decoration: none;
	color: #d0b318;
	font-size: 0.9rem;
}

#cover strong {
	color: #d0b318;
	font-size: 1.5em;
	background: #0d0a0a;
}

/* ハンバーガーアイコンの設定 */

.hamburger {
	position: absolute;
	left: 85%;
	bottom: 5%;
  padding: 15px 15px;
  display: inline-block;
  cursor: pointer;
  transition-property: opacity, -webkit-filter;
  transition-property: opacity, filter;
  transition-property: opacity, filter, -webkit-filter;
  transition-duration: 0.15s;
  transition-timing-function: linear;
  font: inherit;
  color: inherit;
  text-transform: none;
  background-color: transparent;
  border: 0;
  margin: 0;
  overflow: visible; }
.hamburger:hover {
    opacity: 0.7; }

.hamburger-box {
  width: 30px;
  height: 24px;
  display: inline-block;
  position: relative; }

.hamburger-inner {
  display: block;
  top: 50%;
  margin-top: -2px; }
  .hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
    width: 30px;
    height: 4px;
    background-color: #d0b318;
    border-radius: 4px;
    position: absolute;
    transition-property: -webkit-transform;
    transition-property: transform;
    transition-property: transform, -webkit-transform;
    transition-duration: 0.15s;
    transition-timing-function: ease; }
  .hamburger-inner::before, .hamburger-inner::after {
    content: "";
    display: block; }
  .hamburger-inner::before {
    top: -10px; }
  .hamburger-inner::after {
    bottom: -10px; }

/*
 * Stand
 */
.hamburger--stand .hamburger-inner {
  transition: background-color 0s 0.1s linear, -webkit-transform 0.1s 0.22s cubic-bezier(0.55, 0.055, 0.675, 0.19);
  transition: transform 0.1s 0.22s cubic-bezier(0.55, 0.055, 0.675, 0.19), background-color 0s 0.1s linear;
  transition: transform 0.1s 0.22s cubic-bezier(0.55, 0.055, 0.675, 0.19), background-color 0s 0.1s linear, -webkit-transform 0.1s 0.22s cubic-bezier(0.55, 0.055, 0.675, 0.19); }
  .hamburger--stand .hamburger-inner::before {
    transition: top 0.1s 0.1s ease-in, -webkit-transform 0.1s 0s cubic-bezier(0.55, 0.055, 0.675, 0.19);
    transition: top 0.1s 0.1s ease-in, transform 0.1s 0s cubic-bezier(0.55, 0.055, 0.675, 0.19);
    transition: top 0.1s 0.1s ease-in, transform 0.1s 0s cubic-bezier(0.55, 0.055, 0.675, 0.19), -webkit-transform 0.1s 0s cubic-bezier(0.55, 0.055, 0.675, 0.19); }
  .hamburger--stand .hamburger-inner::after {
    transition: bottom 0.1s 0.1s ease-in, -webkit-transform 0.1s 0s cubic-bezier(0.55, 0.055, 0.675, 0.19);
    transition: bottom 0.1s 0.1s ease-in, transform 0.1s 0s cubic-bezier(0.55, 0.055, 0.675, 0.19);
    transition: bottom 0.1s 0.1s ease-in, transform 0.1s 0s cubic-bezier(0.55, 0.055, 0.675, 0.19), -webkit-transform 0.1s 0s cubic-bezier(0.55, 0.055, 0.675, 0.19); }

.hamburger--stand.is-active .hamburger-inner {
  -webkit-transform: rotate(90deg);
          transform: rotate(90deg);
  background-color: transparent;
  transition: background-color 0s 0.22s linear, -webkit-transform 0.1s 0s cubic-bezier(0.215, 0.61, 0.355, 1);
  transition: transform 0.1s 0s cubic-bezier(0.215, 0.61, 0.355, 1), background-color 0s 0.22s linear;
  transition: transform 0.1s 0s cubic-bezier(0.215, 0.61, 0.355, 1), background-color 0s 0.22s linear, -webkit-transform 0.1s 0s cubic-bezier(0.215, 0.61, 0.355, 1); }
  .hamburger--stand.is-active .hamburger-inner::before {
    top: 0;
    -webkit-transform: rotate(-45deg);
            transform: rotate(-45deg);
    transition: top 0.1s 0.12s ease-out, -webkit-transform 0.1s 0.22s cubic-bezier(0.215, 0.61, 0.355, 1);
    transition: top 0.1s 0.12s ease-out, transform 0.1s 0.22s cubic-bezier(0.215, 0.61, 0.355, 1);
    transition: top 0.1s 0.12s ease-out, transform 0.1s 0.22s cubic-bezier(0.215, 0.61, 0.355, 1), -webkit-transform 0.1s 0.22s cubic-bezier(0.215, 0.61, 0.355, 1); }
  .hamburger--stand.is-active .hamburger-inner::after {
    bottom: 0;
    -webkit-transform: rotate(45deg);
            transform: rotate(45deg);
    transition: bottom 0.1s 0.12s ease-out, -webkit-transform 0.1s 0.22s cubic-bezier(0.215, 0.61, 0.355, 1);
    transition: bottom 0.1s 0.12s ease-out, transform 0.1s 0.22s cubic-bezier(0.215, 0.61, 0.355, 1);
    transition: bottom 0.1s 0.12s ease-out, transform 0.1s 0.22s cubic-bezier(0.215, 0.61, 0.355, 1), -webkit-transform 0.1s 0.22s cubic-bezier(0.215, 0.61, 0.355, 1); }

/* オーバーレイ*/

.overlay {
	display: none;
	position: absolute;
	top: 350px;
	left: 30px;
	width: 90%;
	height: 475px;
	border: 2px solid black;
	background: rgba(42, 42, 41, 0.9);
}

/* オーバレイ内のレイアウト */

.overlay h3 {
	text-align: center;
	color: #d0b318;
}

.overlay p {
	color: #d8d5c7;
	font-size: 0.9rem;
}

.overlay p:nth-of-type(2) {
	text-align: center;
}

.overlay a {
	margin-left: 1rem;
	color: #d8d5c7;
}

.overlay img {
	display: block;
	width: 90%;
	margin-left: auto;
	margin-right: auto;
}

/* ここまでハンバーガーアイコン関連*/

.linkRight::after {
	content: "";
	display: inline-block;
	position: relative;
	top: 0;
	left: 5px;
	bottom: 0;
	vertical-align: middle;
	width: 0;
	height: 0;
	border-top: 6px solid transparent;
	border-right: 6px solid transparent;
	border-bottom: 6px solid transparent;
	border-left: 6px solid #d0b318;
}

.linkLeft::before {
	content: "";
	display: inline-block;
	position: relative;
	top: 0;
	left: -5px;
	bottom: 0;
	vertical-align: middle;
	width: 0;
	height: 0;
	border-top: 6px solid transparent;
	border-right: 6px solid #d0b318;
	border-bottom: 6px solid transparent;
	border-left: 6px solid transparent;
}

#cover .menu h2 {
	color: #db2626;
	font-size: 30px;
	letter-spacing: 5px;
}

#cover .menu p {
	color: #db2626;
	font-size: 18px;
	text-align: center;
	letter-spacing: 3px;
}

#area-google-map {
	width: 100%;
	height: 300px;
}

.menu {
	margin-top: 380px;
	padding: 0.1rem;
	background: rgba(13, 10, 10, 0.63);
	color: #d0b318;
}

.message {
	padding: 1rem;
	background: rgba(13, 10, 10, 0.63);
	color: #d8d5c7;
}

.message dl {
	width: 29rem;
	margin-right: auto;
	margin-left: auto;
	
}

.message dt {
	width: 4rem;
	float: left;
	padding-right: 1rem;
}

.message p {
	text-align: center;
}

/* ギャラリーの設定 */

#history {
	position: relative;
	top: 40px;
	display: flex;
	flex-direction: row;
	justify-content: space-around;
	flex-wrap: wrap;
}

#history+a {
	position: relative;
	top: 50px;
	left: 40px;
}