* {
  margin: 0px;
  padding: 0px;
}

body{
  font-size: medium;
  font-family: 'Noto Serif JP', serif;
  background-image: url(img/background.png);
  text-shadow:
           1px 1px 0px #fff,
           1px 0px 0px #fff,
           0px 1px 0px #fff;
}

header{
  display: flex;
  width: 100%;
  height: 150px;
  padding-top: 20px;
  padding-bottom: 20px;
  position: fixed;
  background-image: url(img/header.png);
}

header .title{
  margin-left: 20px;
}

header .title a{
  color: black;
  text-decoration: none;
  text-shadow:1px 1px 3px #fff,
              1px -1px 3px #fff,
              -1px 1px 3px #fff,
              -1px -1px 3px #fff;
}

nav{
  writing-mode: vertical-lr;
  -webkit-writing-mode: vertical-lr;
  -ms-writing-mode: tb-lr;
  margin-top: 10px;
  margin-bottom: 10px;
  margin-left: auto;
  margin-right: auto;
}

nav ul li{
  list-style-type: none;
  padding-top: 2px;
  padding-bottom: 2px;
  padding-left: 20px;
  padding-right: 20px;

}

nav ul li a{
  text-decoration: none;
  color: black;

}

.hamburger{
  display: none;
}

.header3{
  margin-top: auto;
  margin-bottom: 10px;
  margin-left: auto;
  margin-right: 20px;
}

main{
  padding-top: 190px;

}

main section{
  width: 960px;
  margin-left: auto;
  margin-right: auto;
}

main img{
  width: 100%;
  height: 750px;
  object-fit: cover;
}


/*ここからindex*/

.indextext{
  display: flex;
  width: 960px;
  margin-top: 25px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 25px;
}

.indextext1{
  width: 650px;
}

.indextext2{
  width: 310px;
  font-size: small;
}

.indextext2 p strong{
   background: linear-gradient(transparent 60%, #3399ff 60%);
}


.insta2{
  display: none;
}


/*ここまでindex*/
/*ここからこだわり*/

.kodawari{
  margin-top: 30px;
}

.kodawari h2{
  text-align: center;
  width: 960px;
  height: 70px;
  display: table-cell;
  vertical-align: middle;
  background-image: url(img/h2.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;

}

.kodawari img{
  width: 400px;
  height: 300px;
  margin: 25px;
}

.kodawari article{
  width: 460px;
  height: 300px;
  margin: 25px;
}

.kodawari .kodawarileft img{
  float: left;
}

.kodawari .kodawarileft article{
  float: right;
  background-color: rgba(255, 255, 255, 0.5);
  background-image: url(img/kodawariright.png);
  background-size: 60%;
  background-repeat: no-repeat;
  background-position: 100% 100%;
}

.kodawari .kodawariright{
  clear: both;
}

.kodawari .kodawariright img{
  float: right;
}

.kodawari .kodawariright article{
  float: left;
  background-color: rgba(255, 255, 255, 0.5);
  background-image: url(img/kodawarileft.png);
  background-size: 40%;
  background-repeat: no-repeat;
  background-position: 0% 100%;

}

.kodawari .kodawarileft{
  clear: both;
}

.kodawari .kodawarileft article p{
  padding: 10px;
}

.kodawari .kodawariright article p{
  padding: 10px;
}


/*ここまでこだわり*/
/*ここからメニュー*/

.menu{
  margin-top: 30px;
}

.menu h2{
  text-align: center;
  width: 960px;
  height: 70px;
  display: table-cell;
  vertical-align: middle;
  background-image: url(img/h2.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.menu p{
  text-align: center;
  margin-top: 20px;
  margin-bottom: 20px;
}

.menu article{
  width: 300px;
  height: 600px;
  margin: 10px;
  background-color: rgba(255, 255, 255, 0.5);
  background-image: url(img/osusume.png);
  background-size: 70%;
  background-repeat: no-repeat;
  background-position: bottom;
}

.menu article h4{
  text-align: center;
  height: 70px;
  width: 300px;
  display: table-cell;
  vertical-align: middle;
}

.menu article img{
  width: 200px;
  height: 150px;
}

.osusumetext p{
  text-align: left;
  margin: 10px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.menu .osusume1{
  display: flex;
  justify-content: center;
}

.menu .osusume2{
  display: flex;
  justify-content: center;
}

.menuall{
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.menuall section{
  width: 480px;
}

.menuall section a{
  text-align: center;
}

.menuall section article{
  margin: 20px 10px;
}

.menuall section article h3{
  text-align: center;
  padding-top: 15px;
  padding-bottom: 15px;
  background-image: url(img/h4.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}


.menuall section article ul li{
  list-style-type: none;
}

/*ここまでメニュー*/
/*ここからアクセス*/

.access{
  text-align: center;
  margin-top: 30px;
}

.access h2{
  text-align: center;
  width: 960px;
  height: 70px;
  display: table-cell;
  vertical-align: middle;
  background-image: url(img/h2.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.access p strong{
   background: linear-gradient(transparent 60%, #3399ff 60%);
}

.access iframe{
  margin-top: 30px;
  margin-bottom: 20px;
}

.access a p{
  margin-top: 70px;
  margin-bottom: 70px;
}

.access h3{
  margin-top: 15px;
  margin-bottom: 15px;
}


/*ここまでアクセス*/




footer{
  clear: both;
  width: 960px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 15px;
  margin-bottom: 25px;
  text-align: center;
  font-size: x-small;
}


@media screen and (max-width: 959px) {


header{
  width: 100%;
  height: auto;
  position: static;
}

header nav{
  display: none;
}

.header3{
  display: none;
}

main{
  padding-top: 0px;
}

main section{
  width: 100%;
}

/*ここからハンバーガーメニュー*/

.hamburger{
  display: block;
}


.hamburger-menu{
  position: fixed;
  /* 親要素との絶対位置を指定 */
  top: 20px;
  right: 10px;
  font-size: 36px;
  margin-left: 50px;
}

.hamburger-menu div {
  width: 35px;
  height: 5px;
  background-color: black;
  margin: 6px 0;
}

.hamburger-menu + .sidenavs:target {
  overflow-x: visible;
  /* ボックスからはみ出る箇所をそのまま表示 */
  width: 100%;
  display:block;
}
.sidenavs:target {
  overflow-x: hidden;
  /* ボックスからはみ出る箇所を隠す */
  width: 0;
}
/* ハンバーガーメニュー表示時 */
.sidenavs {
  height: 100%;
  width: 0;
  position: fixed;
  /* 画像の配置を指定 */
  z-index: 1;
  top: 0;
  left: 0;
  background-color: gray;
  background-image: none;
  overflow-x: hidden;
  /* 横スクロールを無効にする */
  padding-top: 60px;
  transition: 0.5s;
  /* アニメーションの時間を0.5秒に指定 */
}
/* ハンバーガーメニュー表示時のリンク */
.sidenavs a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 25px;
  color: white;
  text-shadow: none;
  display: block;
  transition: 0.3s;
  /* アニメーションの時間を0.3秒に指定 */
  font-weight:bold;
}
/* マウスオーバー後のリンク */
.sidenavs a:hover {
  color: white;
}
/* クローズボタン */
.sidenavs .close-btn {
  position: absolute;
  /* 親要素との絶対位置を指定 */
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}



/*ここまでハンバーガーメニュー*/
/*ここからindex*/

main img{
  width: 100%;
  height: auto;
}

.indextext{
  display: block;
  width: 100%;
  margin: 0px;
}

.indextext1{
  width: 100%;
}

.indextext1 p{
  margin: 15px;
}

.indextext2{
  width: 100%;
}

.indextext2 h3{
  margin: 15px;
}

.indextext2 p{
  margin: 15px;
}

.insta1{
  display: none;
}

.insta2{
  display: block;
}

/*ここまでindex*/
/*ここからこだわり*/

.kodawari h2{
  margin-bottom: 15px;
}

.kodawari img{
  width: 100%;
  margin: 0px;
}

.kodawari article{
  width: 100%;
  margin: 0px;
}

.kodawari .kodawarileft{
  overflow: hidden;
}

.kodawari .kodawariright{
  overflow: hidden;
}





/*ここまでこだわり*/
/*ここからメニュー*/

.menu .osusume1{
  display: block;
}

.menu .osusume2{
  display: block;
}

.menuall{
  display: block;
}

.menu article{
  width: 100%;
  height: auto;
  margin: 0px;
  margin-top: 20px;
  padding-top: 5px;
  padding-bottom: 5px;
  background-image: none;
}

.menu article h4{
  display: block;
  width: 100%;
  height: auto;
  margin-top: 10px;
  margin-bottom: 10px;
}

.menu article img{
  width: 100%;
  height: auto;
}

.menuall section{
  width: 100%;
}
/*ここまでメニュー*/
/*ここからアクセス*/

.access a p{
  margin-top: 30px;
  margin-bottom: 50px;
}

/*ここまでアクセス*/


footer{
  width: 100%;
  height: 100px;
}

}
