@charset "utf-8";

body{
  margin: 0;
  box-sizing: border-box;
}

a {
  display: block;
  text-decoration: none;
}
#container{
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
}

img{vertical-align:top;}


header {
  background: url(image/firstview.jpg);
  background-repeat:no-repeat;
  background-size: cover ;
  background-position: bottom right;
  height: 100vh;

}
.logo{
  width: 250px;
  position:absolute;
  top: -10px;
  left: 10px;
}
.header ul {
  display: flex;
  justify-content: right;
  margin: 0;
  padding: 0px 20px;
}
.header li {
  font-size: 15px;
  list-style-type: none;
  border-bottom: solid 1px #fff;
  margin-top: 20px;


}
.header li:not(:first-of-type) {
  margin-left: 1rem;
}
.header a {
  color: #fff;
} 


.openbtn1 { /* バーガーアイコン */
  display: none; 
}

.mainvisual img{
  box-sizing: border-box;
  padding: 15px 15px 0 30px;
  max-width: 100%;
  height: auto;
}


section {
  align-items: center;
  display: flex;
  justify-content: center;
  /* font-size: 50px; */
  width: 100%;

}
.section01 {
  background-color: #2C3264;
}
.section02 {
  background: url(image/sc2_bg.jpg);
  background-repeat:no-repeat;
  background-size: cover;
  background-position: bottom right;
  width: 100%;
  height: 100%;
}

  /* background: linear-gradient(rgb(181, 228, 181) 0%, rgb(102, 204, 204) 100%); */
  /* margin-bottom: 1000px; */
 

/* イベント　=============================================== */


.container1{
  display: flex;
  margin: 20px 0;
}
.container1_sub{
  display: flex;
  height: auto;

}

.container1_sub .box{
   max-width: 640px; /*犬＆フリマ、ワークショップ＆FOODのboxでレスポンシブ切替たいので */ 
  color: #fff;
  padding: 20px;
  /* box-sizing: border-box; */
}
.box{
  width: 50%;
}
.box img{
  width: 100%;
  border-radius: 5px;
}

/* プレゼント　=============================================== */

.container2{
  width: 100%;
}
.sc2_present{
  display: flex;
 margin: 20px;
 text-align: center;
}
.sc2_prelogo{
  width: 90%;
}

.sc2_present img{
  width: 90%;
}

.sc2_pre_left p{
  font-weight: bold;
  padding: 0 30px;
}
.sc2_pre_right p{
  font-weight: bold;
  text-align: left;
  padding: 0 80px;
}  
.sc2_present .red_text{
  font-weight: bold;
  color: #f00;
}

  

/* 応募ボタン==================================================== */
.sc2_button{
  background: #fff;
  text-align: center;
}

button{
	padding: 15px 90px;
	background-color: #ffbd06;
	font-size: 18px;
	color: #fff;
  font-weight: bold;
  border-radius: 5px;
	margin: 10px 15px 30px;
	border: none;
	cursor:pointer;/* マウスオンでカーソル指差しマークに */
}

/* コンタクト==================================================== */

/* .contactus{
  width: 100%;
} */
.container3{
  width: 100%;
  height: 100vh;/* ページ内リンクが分かりやすいように下部分を伸ばす */
  background: linear-gradient(#2c3264 0%, #3a5d9e 100%);
  display: flex;
  justify-content:center;
  padding-top: 30px;
  color: #fff;
}
.contact_left,
.contact_right{

  margin: 0 30px;
  font-size: 14px;
}
.container3 dl dt{
  float: left;
  clear: both;

}
.container3 dl dd{
  margin: 0;
  padding: 10px;

}
.container3 a{
  color: #fff;
}
.container3 a:hover{
  text-decoration: underline;
}

.iframeWrapper,
.iframeWrapper2{
  margin-bottom: 20px;
}
/* レスポンシブ用の画像を非表示 */
.iframeWrapper2{
  display: none;
}




/* ページ読み込み時　フェードイン====================================== */
body {
	display: none;
}

/* カーソル変更 ====================================================
#cursor{
  position: fixed;

  /*丸の大きさと色の指定/
  background: #fff;
  border-radius:10px;
  width: 20px;/*〇カーソルのサイズ/
  height: 20px;
  margin: -10px 0 0 -10px;/*真ん中にくるようにマイナスマージンで調整/

  z-index: 2;/*一番手前に来るように/
  pointer-events: none;/*クリックできなくなるのを防ぐため。noneで対応/
  opacity: 0;
}
*/


/* TOPにもどるCSS=================================================*/
html {
  /* scroll-behavior: smooth; ←これあるとアンカーリンクのスピードが影響受けて遅くなる*/
}
.pagetop {
  height: 50px;
  width: 50px;
  position: fixed;
  right: 30px;
  bottom: 30px;
  background: #fff;
  opacity: 0.7;
  border: solid 1px #ccc;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.pagetop_arrow {
  height: 10px;
  width: 10px;
  border-top: 2px solid #555;
  border-right: 2px solid #555;
  transform: translateY(20%) rotate(-45deg);
}
/* TOPにもどる ここまで*/



/* レスポンシブ用 ====================================================*/
  
@media screen and (max-width: 768px) {  /* 768px以下になったら*/
      .logo{
        width: 200px;
      }
      .header nav {
        display: none;
      }
      .openbtn1 { /* バーガーアイコン */
        display: block; 
      }
      .mainvisual img{
        padding-top: 60px;
      }
      /* #cursor{
        display: none;レスポンシブでカーソル元にもどせない
      } */

      /* イベント ******************************/
      .container1{
        display: block;
      }
      .box{
        width: calc(100% / 2);
        box-sizing: border-box;
        width: 100%;
        padding: 30px 30px;
      }

      /* プレゼント *****************************/
      .sc2_present{
        display: block;
      }
      .sc2_pre_left p{
        padding: 0 10px;
      }
      .sc2_pre_right p{
        display: inline-block;
        padding: 0px 20px;
      } 
      /* コンタクト *****************************/ 
      .container3{
        display: block;
        justify-content:center;
      }

}



@media screen and (max-width: 400px) { /* 400px以下になったら*/

  /* メイン　画像 ******************************/
  .mainvisual img{  /* コピー部分 */
    padding: 80px 5px 0 5px;
  }
  /* イベント　boxを1つにする */
  .container1_sub{
    display: block;
  }
  
  .sc2_button button{
    padding: 20px 20px;
    margin: 20px 20px 40px;
    font-size: 90%;
  }
  .iframeWrapper2{
    display: block;
  }
  .iframeWrapper{
    display: none;
  }


}

/* googlemapレスポンシブ用 ====================================================*/

/* .iframeWrapper {
  position: relative;
}

.iframeWrapper::before {
  content: "";
  display: block;
  padding-top: calc(400 / 300 * 100%);
}

.iframeWrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
} */