@charset "UTF-8";

body {
    font-family: 'メイリオ', Meiryo,'ヒラギノ角ゴシック','Hiragino Sans','Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3','Meiryo UI',sans-serif;
    margin: 0 auto;
    font-size: 1rem;
    width: 390px;
}
a {
    text-decoration: none;
}
ul {
    list-style-type: none;
}
.wrap {
    /* width: 380px; */
    width: 100%;
    margin: 0 auto;
}
header {
    height: 380px;
}
header h1 { 
    margin-top: 0;
}
header h1 img {
    width: 100%;
}
header p {
    width: 88%;
    margin: 0 auto;
    font-weight: bold;
}
.text-red {
    color: #db3232;
    text-align: center;
    font-size: 80%;
    margin-top: 6%;
}
header p span {
    color: #ff0000;
    font-size: 1.5rem;
}
/* -- main -- */
main {
    background-color: #e0ffeb;
    margin: 0 auto;
    width: 100%;
    padding-bottom: 2px;
}
.main-conts {
    width: 96%;
    margin: 0 auto 3%;
    border-radius: 0 0 10px 10px;
    /* background-color: #ffffff; */
}
.main-conts a {
    text-decoration: none;
    color: #333333;
}
.main-conts-name {
    background-color: #51e45e;
    border-radius: 10px 10px 0 0;
    padding: 0 10px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: space-between;
    align-items: center;
}
.main-conts-name h2 {
    margin: 4px 0 2px;
    width: 40%;
    font-size: 1.25em;
}

/* -- キラッと光る -- */
@keyframes shiny {
    0% { left: -20%; }
    10% { left: 120%; }
    100% { left: 120%; }
}
#app {
    width: 150px;
    margin: 0 auto;
    padding: 0;
    line-height: 1.5;
    position: relative;
    left: 30px;
    /* border: 1px solid #ffffff; */
    /* border-radius: 5px; */
    /* background-color: transparent; */
    /* box-shadow: 2px 2px 5px 0px rgb(200 200 200); */
}
.shiny-btn {
    position: relative;
    display: block;
    width: 100%;
    height: 30px;
    margin: 0 auto;
    line-height: 30px;
    text-align: center;
    text-decoration: none;
    color: #fff;
    background-color: #db3232;
    cursor: pointer;
    overflow: hidden;
    border-radius: 10px;
    font-size: 0.7em;
}
.shiny-btn::after {
    content: '';
    position: absolute;
    top: -10%;
    left: -20%;
    width: 40px;
    height: 100%;
    transform: scale(2) rotate(20deg);
    background-image: linear-gradient(100deg, rgba(255, 255, 255, 0) 10%, rgba(255, 255, 255, .5) 100%, rgba(255, 255, 255, 0) 0%);
    animation-name: shiny;
    animation-duration: 3s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}
/* -- キラッと光る end -- */
/* -- スライドイン -- */
@keyframes slideIn {
    0% {
      transform: translateX(180px);
      opacity: 0;
    }
    100% {
      transform: translateX(0);
    }
    40%,100% {
      opacity: 1;
    }
  }
  /* -- スライドイン end　-- */
.main-inner {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    background-color: #ffffff;
    border-radius: 0 0 10px 10px;
}
.main-inner img {
    width: 30%;
    margin: 4% auto;
    height: 100%;
    border-radius: 10px;
}
.item {
    width: 60%;
    height: 160px;
}
.item  ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
    margin: 6% 0 0;
    padding: 2px 0px 0 6px;
    font-size: 0.6em;
}
.item  ul li {
    background-color: #d38131;
    color: #fff;
    border-radius: 5px;
    padding: 0px 4px;
    margin: 0 2% 1% 0;
}
.item p {
    margin: 0 auto 2%;
    padding-left: 8px;
    font-size: 90%;
    position: relative;
}
.box2 {
    padding-right: 20px;
}
.item p::before {
    /* content: url(../images/yajirusi.gif); */
    content: '';
    color: #ff0000;
    font-weight: bold;
    position: absolute;
    top: 0px;
    left: 225px;
    z-index: 1;
    animation: anim 1s;
    display: inline-block;
    /* width: 20px;
    height: 10px;
    top: 0;
    left: 0;
    content: '';
    position: relative;
    z-index: 1;
    color: red; */
    animation: loading 2s infinite;
}
@keyframes loading {
  0% {
    content: '';
  }
  
  20% {
    content: '';
  }
  
  40% {
    content: '>';
  }
  
  60% {
    content: '>';
  }
  
  80% {
    content: '>>';
  }
  
  100% {
    content: '>>';
  }
}
/* -- main end -- */

/* -- aside -- */
aside {
    width: 100%;
}
aside h2 {
    background-color: #4c4c4c;
    color: #ffffff;
    text-align: center;
    font-size: 1em;
    padding: 10px 0;
    margin: 4% auto 0;
}
aside div a {
    text-decoration: none ;
}
aside div a img {
    width: 100%;
}
/* -- aside end -- */

/*========= ページトップのためのCSS ===============*/
/*リンクの形状*/
#page-top a{
	display: flex;
    justify-content: center;
    align-items: center;
    background: rgb(0 0 0 / 30%);
    border-radius: 5px;
    width: 60px;
    height: 60px;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s;
}
#page-top a:hover{
	background: #777;
}

/*リンクを右下に固定*/
#page-top {
	position: fixed;
	right: 10px;
	bottom:10px;
	z-index: 2;
    /*はじめは非表示*/
	opacity: 0;
	transform: translateY(100px);
}

/*　上に上がる動き　*/
#page-top.UpMove{
	animation: UpAnime 0.5s forwards;
}
@keyframes UpAnime{
  from {
    opacity: 0;
	transform: translateY(100px);
  }
  to {
    opacity: 1;
	transform: translateY(0);
  }
}

/*　下に下がる動き　*/
#page-top.DownMove{
	animation: DownAnime 0.5s forwards;
}
@keyframes DownAnime{
  from {
  	opacity: 1;
	transform: translateY(0);
  }
  to {
  	opacity: 1;
	transform: translateY(100px);
  }
}

/* ==== ハンバーガーボタン ==== */
.nav-list {
	/* navの横並び */
	display: flex;
}
.nav-item {
	/* メニューの右側に余白 */
	margin-right: 55px;
}

.burger-btn {
	display: none;
}
/* デフォルトのbuttonスタイルをリセット */
button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: transparent;
    border: 0;
    border-radius: 0;
    color: inherit;
    cursor: pointer;
    font: inherit;
    margin: 0;
    outline: none;
    padding: 0;
    vertical-align: middle;
}
/* 以下、ハンバーガーボタン */
.burger-btn{
    display: block;      
    width: 39px;      
    height: 39px;      
    position: relative;      
    z-index: 3;
    border:none;   
    bottom: 370px;
    left: 350px; 
  }
  .burger-btn img {
    width: 70%;
    margin: 14px auto 0;
  }    
  .bar{      
    width: 20px;      
    height: 1px;        
    display: block;      
    position: absolute;      
    left: 50%;      
    transform: translateX(-50%);      
    background-color: #fff;    
  }    
  /* .bar_top{   
    top: 10px;
  }
  .bar_mid{    
    top: 50%;
    transform: translate(-50%,-50%);
  }
  .bar_bottom{
    bottom: 10px;
  } */
  .burger-btn.close .bar_top{      
    transform: translate(-50%,10px) rotate(45deg);      
    transition: transform .3s;    
  }    
  .burger-btn.close .bar_mid{      
    opacity: 0;       
    transition: opacity .3s;    
  }    
  .burger-btn.close .bar_bottom{      
  transform: translate(-50%,-8px) rotate(-45deg);      
  transition: transform .3s;    
  }
   /* 以下、ハンバーガーメニュー */
.nav-wrapper{      
    visibility: hidden;     
    opacity: 0; 
    width: 100vw;      
    height: 100vh;      
    position: fixed;      
    top: 0;      
    left: 0;
    transition: all .5s;       
    z-index: 2;     
  }     
  .header-nav{        
    width: 100%;        
    height: 100%;        
    background-color: rgb(0 0 0 / 70%);       
    z-index: 2;      
  }     
  .nav-list{        
    display: block;        
    position: absolute;        
    top: 50%;        
    left: 50%;        
    transform: translate(-50%,-50%);        
    /* text-align: center;       */
    padding-left: 0;
  }      
  .nav-item{        
    /* margin-right: 0;        
    margin-bottom: 40px;       */
    margin: 0 auto 20px;
  }
  .nav-item a {
    text-decoration: none;
    cursor: auto;
    color: #ffffff;
  }
  
  /* メニューオープン時 */
  .nav-wrapper.fade {
      visibility: visible;
      opacity: 1;
  }
  .noscroll{
    overflow: hidden;
  }