@charset "UTF-8";

/*******全体*******/
html {
  font-size: 100%;
}

body {
  font-family: "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", sans-serif;
  line-height: 1.7;
  color: #432;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  max-width: 350px;
}

/*******header*******/

header {
  background-image: linear-gradient(#eaf6fd,#f1e2be);
  max-height: 150px;
}

.logo {
  width: 125px;
  margin-top: 0;
}

.navigation {
  display: flex;
  font-size: 1rem;
  font-weight: bold;
  margin-top: 80px;
}

.navigation li {
  margin-left: 36px;
}

.navigation a {
  color: #00a5dd;
}

.navigation a:hover {
  color: #000000;
}

.header-content {
  display: flex;
  justify-content: space-between;
}

.wrapper {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 4%;
}
/* スマホ版表示ハンバーガーメニューの
チェックボックス非表示 */
.nav-unshown {
  display: none;
}

/*******main*******/
.photo-gallery {
  text-align: center;
}

.sec-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.photo-gallery img {
  width: 100%;
}

/*******footer*******/

.footer {
  background-color: #b3d0d7;
  padding: 10px;
  text-align: center;
}

.footer p {
  font-size: 1.25rem;
  font-weight: bold;
}

/******* モバイル版 *******/
@media (max-width: 600px) {

section {
  flex-direction: column;
  text-align: center;
}

/*ハンバーガーメニュー*/

.navigation {
  flex-direction: column;
}

.navigation ul {
  justify-content: space-between;
}

.navigation a {
  font-size: 2rem;
  color: #ffa500;
}

#nav {
  position: relative;
}

/*チェックボックス非表示*/

.nav-unshown {
  display: none;
}

/*アイコンスペース*/

#nav-open {
  display: inline-block;
  width: 30px;
  height: 22px;
  vertical-align: middle;
  margin-top: 100px;
}

/*ハンバーガーメニューアイコン*/

#nav-open span, #nav-open span:before, #nav-open span:after {
  position: absolute;
  height: 3px;
  width: 25px;
  border-radius: 3px;
  background: #ffa500;
  display: block;
  content: '';
  cursor: pointer;
}

#nav-open span:before {
  bottom: -8px;
}

#nav-open span:after {
  bottom: -16px;
}

/*閉じる用　薄い黒幕カバー*/

#nav-close {
  display: none;
  position: fixed;
  z-index: 99;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  opacity: 0;
  transition: .3s ease-in-out;
}

/*中身*/

#nav {
  overflow: auto;
  position: fixed;/*要素位置固定*/
  top: 0;
  left: 0;
  z-index: 9999;/*最前面に*/
  width: 90%;/*右側に隙間を作る*/
  max-width: 330px;/*最大幅*/
  height: 100%;
  background: #00ffff;
  transition: .3s ease-in-out;/*滑らかに表示*/
  -webkit-transform: translatex(-105%);
  transform: translatex(-105%);/*左に隠す*/
}

/*チェックが入ったら表示*/

#nav-input:checked ~ #nav-close {
  display: block;/*カバー表示*/
  opacity: .5;
}

#nav-input:checked ~ #nav {
  -webkit-transform: translatex(0%);
  transform: translatex(0%);/*中身を表示右へスライド*/
  box-shadow: 6px 0 25px rgba(0,0,0,.15);
}



}
