@charset "UTF-8";

*, *:before, *:after {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

body{
  position: relative;
  font-family: "ヒラギノ丸ゴ ProN W4";
  color: rgb(0, 0, 0);
}

/*ローディング画面*/
.shutter{
  width: 100%;
  height: 100%;
  position:fixed;
  top:0;
  left:0;
  right:0;
  bottom:0;
  margin: auto;
  background-color:#fff;
  z-index: 150;
  -webkit-animation: byeShutter 6.0s forwards;
  animation: byeShutter 6.0s forwards;
}
.logo {
  position: absolute;
  width: 80%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  -webkit-animation: logo 7.8s forwards;
  animation: logo 5.0s forwards;
  animation-delay: 0.0s;
}
@keyframes byeShutter {
  70% {
    opacity: 1;
  }
  100% {
    display: none;
    opacity: 0;
    z-index: -1;
  }
}
@keyframes logo {
  0% {
    opacity: 1;
  }
  50% {
    transform: rotate(0deg);
  }
  100% {
    transform: scale(0.8);
  }
}
/*ローディング画面終わり*/

img{
  width: 100%;
  object-fit: contain;
}


a.red:link{ color:#CC6666;}
a.red:visited{ color:#CC6666;}
a.red:hover{ color:#FF6600;}
a.red:active{ color:#FF6699;}

.modal__content .black:link{color: rgb(50, 50, 50);}
.modal__content .black:visited{color: rgb(50, 50, 50);}
.modal__content .black:hover{
  color: rgb(0, 0, 0);
  transform: scale(1.2);
  font-weight: bold;
}
.modal__content .black:active{color: rgb(130, 130, 130);}

a{
  text-decoration: none;
  transition: .2s;
  color: rgb(0, 0, 0);
}
/*
a:link{color: rgb(0, 0, 0);}
a:visited{color: rgb(100, 100, 100);}
*/
a:hover {/*マウスが上に乗っている状態*/
  color: rgb(200, 150, 200);
}
a:active {/*クリック中*/
  color: rgb(173, 216, 230);
}

.marubotan{
  font-family: inherit;
  text-align: center;
  display: block;
  background-color: rgb(173, 216, 230);
  border: none;  /* 枠線を消す */
  transition: .2s;
}
.marubotan:hover{
  transform: scale(1.1);
}

.menubotan{
  width: 110px;
  font-size: 13px;
  padding: 8px 0;
  border-radius: 20px;
  position: absolute;
  top: 25px;
  right: 3.5%;
  z-index: 1000 !important;
}

.bigbotan{
  width: 200px;
  font-size: 20px;
  padding: 15px 0;
  border-radius: 35px;
  margin-top: 10px;
  margin-bottom: 18px;
}


.wrapper{
  width: 100%;
  z-index: 900 !important;
}

header{
  background-color: rgb(255, 200, 0); /*クロムイエロー*/
  padding: 15%;
}

.header{
  background-color: rgba(255, 200, 0, 0.7);
  width: 100%;
  height: 80px;
  /*position: fixed;*/
  top: 0;
  left: 0;
  z-index: 1;
}

.tojiru{
  font-size: 3rem;
  position: absolute;
  top: -10px;
  right: 4%;
}


.modal__content .black{
  clear: both;
  display: inline-block; /* インライン要素にすることで横に回り込む */
  vertical-align: middle; /* 上下中央に寄せる */
  font-size: 40px;
  line-height: 1.2;
  letter-spacing: 5px;
  position: absolute;
  bottom: 10%;
  right: 8%;
  margin-top: 10px;
}


.modal{
    display: none;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1010 !important;
}
.modal__bg{
    background-color: rgba(250, 250, 250, 0.8);
    height: 100vh;
    position: absolute;
    width: 100%;
}
.modal__content{
    background-color: rgb(255, 219, 79);
    padding: 2% 6%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 75%;
    height: 40%;
    max-width: 1000px;
    min-height: 600px;
    border-radius: 8px;
}

/*メニュー中身*/
.menubox{
  width: 60%;
  position: absolute;
  top: 10%;
  left: 10%;
}
ul{
  padding:0;
	margin:0;
  list-style-type:none;
  display: flex;
  justify-content: space-between;
}
.namida{
  background-image: url(../image/namida.png);  /* アイコン指定 */
  background-size: contain;
  background-repeat: no-repeat;
  background-position: 0;
  padding-left:25px;
  font-size: 23px;
  font-weight: bolder;
  letter-spacing: 0.3rem;
}

.cat:hover {
	text-decoration: underline;
}
.dropmenu > .cat {
  display: block;
}
.dropmenu > .cat > ul {
	display:none;
  position:absolute;
  padding-top:10px;
	margin:0;
  line-height: 2;
  list-style-type:none;
  font-size: 20px;
}
.dropmenu > .cat:hover ul {
	display:block;
}
.dropmenu > .cat > ul > li:hover{
  text-decoration: none;
}
/*メニュー中身終わり*/


#top{
  display: flex;
}

.headertitle{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50%;
}

.headertitle h1{
  display: inline-block; /* インライン要素にすることで横に回り込む */
  vertical-align: middle; /* 上下中央に寄せる */
  font-size: 8vw;
  line-height: 1.3;
  letter-spacing: 5px;
}

.icon{
  width: 40%;
  margin-right: 10%;
  align-items: center;
  display: flex;
  justify-content: center;
}


main{
  width: auto;
  height: auto;
}

section{
  padding: 10%;
}

h2{
  font-size: 2rem;
}

#explain{
  width: 100%;
  position: relative;
}

#explain p{
  margin: 3.5% 10vw;
  line-height: 2.2;
  font-size: 18px;
}

#category{
  background-color: rgb(255, 219, 79); /*ネープルスイエロー*/
  margin: 0 30px;
}

#category .ichiran{
  display: flex;
  padding-top: 15%;
  padding-bottom: 3%;
}

#category p{
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  padding-right: 5%;
  text-align: center;
}

#category .gazou{
  display: flex;
  justify-content: space-around;
}

#category .box{
  position: relative;
  margin-right: 4%;
  width: auto;
  height: 20vh;
  background-color: #ffffff;
  align-items: center;
  display: flex;
  justify-content: center;
}
#category .box img{
transform: scale(0.85,0.85);
transition-duration: 0.3s;
}
#category .box img:hover{
  transform: scale(1.1,1.1);
  transition-duration: 0.3s;
}


.migi{
  text-align: right;
}

#test{
  padding-bottom: 180px;
}
#test div{
  margin-left: 20px;
}
#test p{
  font-size: 18px;
  line-height: 2.2;
  margin: 30px 0;
}
#test p span{
  font-size: 22px;
  font-weight: bold;
  margin-right: 5px;
}


.yokochuou{
  display: flex;
  align-items: center;
  justify-content: center;
}

.footertitle{
  display: table-cell;
  vertical-align: middle;
  font-size: 18px;
}
.footertitle span{
  font-size: 24px;
  font-weight: bold;
  margin-right: 25px;
}
footer{
  width: 100%;
  height: 70px;
  display: table;
  padding: 0 3%;
  background-color: rgb(255, 200, 0); /*クロムイエロー*/
  position: absolute;
  bottom: 0px;
}


/*投稿ボタン */
.page {
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
}
/* add default color for animation start  */

/* toggle this class */
.color-bg-start {
  background-color: salmon;
}

/* toggle class bg-animate-color */
.bg-animate-color {
  animation: random-bg .5s linear infinite;
}


/* add animation to bg color  */
@keyframes random-bg {
  from {
    filter: hue-rotate(0);
  }
  to {
    filter: hue-rotate(360deg);
  }
}

.fun-btn {
  /* change bg color to get different hues    */
  background-color: salmon;
  color: white;
  padding: 1.3em 2em;
  border: none;
  transition: all .3s ease;
  border-radius: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  outline: none;
  align-self: center;
  cursor: pointer;
  font-size: 18px;
  font-family: inherit;
  font-weight: bold;
  margin:20px;
}

.fun-btn:hover {
  animation: random-bg .5s linear infinite, grow 1300ms ease infinite;
}

.start-fun {
  background-color: #fff !important;
  /* change color of button text when fun is started   */
  color: salmon !important;
}

/* pulsating effect on button */
@keyframes grow {
  0% {
    transform: scale(1);
  }
  14% {
    transform: scale(1.3);
  }
  28% {
    transform: scale(1);
  }
  42% {
    transform: scale(1.3);
  }
  70% {
    transform: scale(1);
  }
}
/*投稿ボタン終了 */

@media screen and (max-width: 600px) { /*ウィンドウ幅が最大600pxまでの場合に適用*/
  .logo {
    width: 90%;
  }

  .menubox{
    width: 68%;
    position: absolute;
    top: 10%;
    left:8%;
  }
  .namida{
    font-size: 15px;
    letter-spacing: 0.1rem;
    padding-left:15px;
  }
  .dropmenu > .cat > ul {
    padding-top:8px;
    line-height: 2;
    font-size: 14px;
  }
  .tojiru{
    font-size: 2rem;
    position: absolute;
    top: -5px;
    right: 4%;
  }
  .modal__content .black:hover{
    transform: scale(1.1);
  }
  .modal__content{
      width: 80%;
      height: 45%;
      max-width: 600px;
      min-height: 300px;
  }
  .header{
    height: 55px;
  }
  .menubotan{
    width: 90px;
    font-size: 12px;
    padding: 5px 0;
    border-radius: 20px;
    position: absolute;
    top: 15px;
    right: 3%;
  }
  #explain p{
    margin: 2.5% auto;
    line-height: 2;
    font-size: 16px;
  }
  h2{
    font-size: 1.5rem;
  }

  #test p{
    line-height: 2;
    font-size: 16px;
  }

  .fun-btn {
    padding: 1.2em 1.5em;
  }
}

@media screen and (max-height: 600px) { /*ウィンドウ高さが最大600pxまでの場合に適用*/
  .modal__content{
      width: 80%;
      height: 70%;
      max-width: 600px;
      min-height: 300px;
  }
}
