@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;
}

/*******header*******/

header {
  background-image: linear-gradient(#eaf6fd,#f1e2be);
  max-height: 140px;
}

.logo {
  width: 100px;
  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;
}

/*******mainImage*******/

.mainImage {
  margin: 0 auto 100px;
}

.mainImage .imageScroll {
  border: 1px solid #eee;
  border-radius: 3px;
}

.mainImage img {
  display: block;
  margin: 0 auto;
  max-height: 500px;
  max-width: 100%;
}

.mainword {
  text-align: center;
  font-size: 40px;
  margin: 50px 0;
}

.word {
  font-style: italic;
  font-weight: bold;
  text-align: center;
  margin-bottom: 70px;
  font-size: 20px;
}

/*******千鳥写真配置*******/

.chidori img {
  max-width: 100%;
}

main ul {
  /*max-width: 1000px;*/
  margin: 0 auto;
  padding: 0;
}

main ul li {
  display: flex;
}

.chidori img,
.text p {
  justify-content: center;
  align-items: center;
}

main ul li .chidori,
main ul li .text {
  width: 100%;
  box-sizing: border-box;
  align-items: center;
}

ul li:nth-child(even) {
  flex-direction: row-reverse;
}

.text {
  padding: 75px;
  font-weight: bold;
  font-size: 20px;
}

.text span {
  margin-left: 65px;
}

.message {
  text-align: center;
  font-size: 28px;
  background-color: #ffbf1f;
  margin-bottom: 100px;
}

h3 {
  color: #ffffff;
}

.middleimage {
  width: 100%;
  text-align: center;
}

.middleimage img {
  width: 75%;
}

.middletext {
  text-align: center;
  font-size: 25px;
  font-weight: bold;
  border-left: 10px #00a5dd solid;
  margin: 0 auto 100px;
  max-width: 100%;
}

.middleimage1 {
  text-align: center;
  width: 100%;
}

.middleimage1 img {
  width: 75%;
}

.middleimage2 {
  text-align: center;
}

.middleimage2 img {
  width: 50%;
}

.sandimage {
  display:flex;
}


/*******footer*******/

.footer {
  background-color: #b3d0d7;
  text-align: center;
  height: 100px;
}

.footer p {
  font-size: 1.25rem;
  font-weight: bold;
}

/******* モバイル版 *******/
@media (max-width: 600px) {

.mainword {
  font-size: 1.875rem;
}

.word {
  font-size: 1rem;
}

.text {
  font-size: 1rem;
}

.logo img {
  margin: 0 auto;
}

/*ハンバーガーメニュー*/

.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);
}


/* 千鳥配置縦並び */

ul li {
  flex-direction: column;
  text-align: center;
}

ul li:nth-child(even){
  flex-direction: column;
}

.message {
  font-size: 1.25rem;
}

.middletext {
  font-size: 1rem;
  width: 100%;
}
}
