@charset “UTF-8”;

/*アコーディオンボックス*/
.half {
  float: none;
  width: 100%;
  margin: 0 auto;
  padding: 0 1em;
}
/* Acordeon styles */
.tab {
  position: relative;
  margin-bottom: -10px;
  width: 100%;
  overflow: hidden;
}
input {
  position: absolute;
  opacity: 0;
  z-index: -1;
}
label {
  position: relative;
  display: block;
  background: -moz-linear-gradient(65deg, #F13F79, #FFC778); /* アコーディオン タブ背景色 */
  background: -webkit-linear-gradient(65deg, #F13F79, #FFC778); 
  background: linear-gradient(25deg, #F13F79, #FFC778); 
  font-weight: bold;
  font-size: 20px;
  color: #fff;
  text-align: center;
  line-height: 45px;
  cursor: pointer;
}

.sptsyo label{
  text-align: left;
  padding: 0 0 0 30px;
}
@media screen and (max-width: 900px) {
   .sptsyo label{
     padding: 0 0 0 10px;
     font-size: 3vw;
   }
}

.blue label { background: #2980b9; }

.tab-content {
  max-height: 0;
  overflow: scroll;
  background: #f2f2f2;/* タブ内背景色 */
  -webkit-transition: max-height .35s;
  -o-transition: max-height .35s;
  transition: max-height .35s;
}

.blue .tab-content { background: #3498db;}

.tab-content img { margin: 0 0 1vw 3vw;}

.tab-content h3{
  font-size: 2.5vw;
}

.tab-content h4 {
  font-size: 1.5vw;
}


.tab-content h5 {
  font-family: 'cursive', cursive;
  font-size: 30px;
  margin: 1vw;
  color:#209700;
}

.tab-content p {
  margin: 0 1em;
  padding: 0 0 0 10px;
  font-size: 1.3vw;
  color: #000000;/* タブ内文字色 */
}

.backcol1{ background: radial-gradient(#005FFF,#00a2ff );}

.backcol2{ background: linear-gradient(to right, #e4d4bc,#f2f2f2 ); }

.backcol3{ background-color: #FFD700; }

/* :checked */
input:checked ~ .tab-content { max-height: 500px;}
/* Icon */
label::after {
  position: absolute;
  right: 0;
  top: 0;
  display: block;
  width: 3em;
  height: 3em;
  line-height: 3;
  text-align: center;
  -webkit-transition: all .35s;
  -o-transition: all .35s;
  transition: all .35s;
}
input[type=checkbox] + label::after { content: "+";}

input[type=radio] + label::after { content: "\25BC";}

input[type=checkbox]:checked + label::after { transform: rotate(315deg);}

input[type=radio]:checked + label::after { transform: rotateX(180deg);}

/*アコーディオンボックス終*/


.hover1 {
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease 0s;
}
.hover1:hover {
  opacity: 0.6;
}


.fwari{
  animation:fwari ease-in-out 2s infinite alternate;
  -webkit-animation:fwari ease-in-out 2s infinite alternate;
  -moz-animation:fwari ease-in-out 2s infinite alternate;
}
@keyframes fwari{
  0%   { transform:translate(0%, 0%); }
  100% { transform:translate(0%, -30px); }
}
@-webkit-keyframes fwari{
  0%   { -webkit-transform:translate(0%, 0%); }
  100% { -webkit-transform:translate(0%, -30px); }
}

@-moz-keyframes fwari{
  0%   { -moz-transform:translate(0%, 0%); }
  100% { -moz-transform:translate(0%, -30px); }
}

