
ul, dl, dd {
  margin: 0;
  padding: 0;
}
 
ul {
  list-style: none;
}
 
/* :::::: button :::::: */
 
.tabBtn {
  display: table;
  width: 100%;
  margin: 0 0 5px;
  padding: 0;
  background-color: #20b2aa;
  text-align: right;
}
 
.tabBtn li {
  display: inline-block;
  width: 50px;
  border-left: 1px solid #fff;
  background-color: #20b2aa;
  text-align: center;
  vertical-align: middle;
}
 
.tabBtn li label {
  display: block;
  cursor: pointer;
  height: 18px;
  padding: 9px 0;
  color: #fff;
  transition: background-color .3s;
}
 
.tabBtn li label::before {
  content: "";
  display: inline-block;
  overflow: hidden;
  width: 18px;
  height: 18px;
  background: url(../img/ico_tabs.svg) no-repeat;
}
 
.tabBtn li label[for="normalList"]::before {
  background-position: 0 0;
}
 
.tabBtn li label[for="imageList"]::before {
  background-position: -30px 0;
}
 
.tabBtn li label[for="textList"]::before {
  background-position: -60px 0;
}
 
.tabBtn li label:hover {
  background-color: rgba(205,92,92,.5);
}
 
/* :::::: contents :::::: */
 
.menu li,
.menu dl,
.menu dt,
.menu dd {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
}
 
.menu::after {
  content: "";
  display: block;
  clear: both;
}
 
.menu li {
  float: left;
  width: 25%;
  padding: 2px;
}
 
.menu li a {
  display: block;
  text-decoration: none;
  background-color: #fff;
  transition: color 0.6s, background-color 0.6s, opacity 0.6s;
}
 
.menu dl {
  position: relative;
  overflow: hidden;
  padding: 10px;
}
 
.menu dt,
.menu dd {
  font-size: 1.0em;/* ::::::0.8em :::::: */
  line-height: 1.6;
}
 
.menu img {
  width: 100%;
  vertical-align: middle;
}
 
.menu .date,
.menu .excerpt {
  color: #373039;
}
 
.menu .ttl {
  margin-bottom: 0.3em;
  font-size: 1.2em;/* ::::::1em :::::: */
  line-height: 1.4;
}
 
.menu .excerpt {
  font-size: 1.0em;/* ::::::0.7em :::::: */
}
 
/* :::::: normal :::::: */
 
#normalList:checked ~ .menu li {
  width: 50%;
}
 
#normalList:checked ~ .menu dl {
  height: 140px;
}
 
#normalList:checked ~ .menu a:hover {
  opacity: 0.6;
}
 
#normalList:checked ~ .menu .date {
  height: 20px;
}
 
#normalList:checked ~ .menu .img {
  position: relative;
  float: left;
  overflow: hidden;
  width: 40%;
  height: 100px;
  margin-right: 20px;
  margin-bottom: 0.6em;
}
 
#normalList:checked ~ .menu .img img {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}
 
#normalList:checked ~ .menu .img {
  z-index: 1;
}
 
#normalList:checked ~ .menu dl::after {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3em;
  background-image: -webkit-linear-gradient(bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
  background-image: linear-gradient(bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
}
 
/* :::::: image :::::: */
 
#imageList:checked ~ .menu .date,
#imageList:checked ~ .menu .ttl {
  z-index: 1;
  position: absolute;
  left: 0;
  line-height: 1;
  background-color: rgba(255,255,255,0.9);
}
 
#imageList:checked ~ .menu .date {
  top: 15px;
  padding: 0.3em 5px 0.15em 15px;
}
 
#imageList:checked ~ .menu .ttl {
  bottom: 0;
  width: 100%;
  margin: 0;
  padding: 0.5em 15px 15px;
  font-size: 0.8em;
}
 
#imageList:checked ~ .menu .excerpt {
  display: none;
}
 
#imageList:checked ~ .menu .date,
#imageList:checked ~ .menu .ttl {
  opacity: 0;
  -webkit-transition: opacity 0.3s, -webkit-transform 0.6s;
  transition: opacity 0.3s, transform 0.6s;
}
 
#imageList:checked ~ .menu .date {
  -webkit-transform: translateY(-100%);
  transform: translateY(-100%);
}
 
#imageList:checked ~ .menu .ttl {
  -webkit-transform: translateY(100%);
  transform: translateY(100%);
}
 
#imageList:checked ~ .menu a:hover {
  background-color: rgba(255,255,255,0.3);
}
 
#imageList:checked ~ .menu a:hover .date,
#imageList:checked ~ .menu a:hover .ttl {
  opacity: 1;
  -webkit-transform: translateY(0);
  transform: translateY(0);
  transition-duration: 1s, 0.6s;
}
 
#imageList:checked ~ .menu .img {
  overflow: hidden;
  background-color: #593869;
  transition: background-color 0.6s 1s;
}
 
#imageList:checked ~ .menu dl .img img {
  -webkit-transition: opacity 1s, -webkit-transform 0.3s;
  transition: opacity 1s, transform 0.3s;
}
 
#imageList:checked ~ .menu:hover dl .img img {
  transition-duration: 1s;
}
 
#imageList:checked ~ .menu a:hover .img img {
  opacity: .6;
  -webkit-transform: scale(1.2);
  transform: scale(1.2);
}
 
/* :::::: text :::::: */
 
#textList:checked ~ .menu li {
  float: none;
  width: 100%;
}
 
#textList:checked ~ .menu li a {
  background-color: rgba(255,255,255,0.3);
}
 
#textList:checked ~ .menu li a:hover {
  background-color: #fff;
}
 
#textList:checked ~ .menu dl {
  padding: 0;
}
 
#textList:checked ~ .menu dl::after {
  content: "";
  display: block;
  clear: both;
}
 
#textList:checked ~ .menu dt,
#textList:checked ~ .menu dd {
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
  padding: 10px;
}
 
#textList:checked ~ .menu .date {
  float: left;
  width: 12%;
  margin-right: 2px;
  background-color: #fff;
}
 
#textList:checked ~ .menu .date span {
  display: block;
  font-size: 1.0em;/* :::::: 0.8em :::::: */
  line-height: 1.2;
  text-align: center;
}
 
#textList:checked ~ .menu .date .day {
  font-size: 1.4em;/* :::::: 1.2em :::::: */
}
 
#textList:checked ~ .menu .date .week {
  background-color: #f4f4f4;
}
 
#textList:checked ~ .menu .img {
  display: none;
}
 
#textList:checked ~ .menu .ttl,
#textList:checked ~ .menu .excerpt {
  float: right;
  width: calc(88% - 2px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
 
#textList:checked ~ .menu .ttl {
  padding-bottom: 0.3em;
}
 
#textList:checked ~ .menu .excerpt {
  padding: 0 10px;
}
 
/* :::::: media queries :::::: */
 
@media screen and (max-width: 480px) {
  .menu li {
    width: 50%;
  }
  #normalList:checked ~ .menu li {
    float: none;
    width: 100%;
  }
  #textList:checked ~ .menu .date {
    width: 20%;
  }
  #textList:checked ~ .menu .ttl,
  #textList:checked ~ .menu .excerpt {
    width: calc(80% - 2px);
  }
}
 
/* :::::: mechanism :::::: */
 
#normalList:checked ~ .tabBtn li [for="normalList"],
#imageList:checked ~ .tabBtn li [for="imageList"],
#textList:checked ~ .tabBtn li [for="textList"] {
  background-color: #cd5c5c;
}
 
#normalList:checked ~ .menu .date .year::after,
#imageList:checked ~ .menu .date .year::after,
#normalList:checked ~ .menu .date .day::after,
#imageList:checked ~ .menu .date .day::after {
  content:"";
}
 
#normalList:checked ~ .menu .date .day::after,
#imageList:checked ~ .menu .date .day::after {
  margin-right: 0.5em;
}
 
 
/* 略 */
 
.tabBtn li a {
  display: block;
  cursor: pointer;
  padding: 10px 0;
  color: #fff;
  text-decoration: none;
  transition: background-color .3s;
}
 
.tabBtn li a:hover {
  background-color: rgba(205,92,92,.5);
}
 
/* :::::: mechanism :::::: */
 
.tabContents section {
  opacity: 0.1;
  text-align: center;
  transition: opacity 0.3s;
}
 
#tab-1:target ~ .tabBtn li [href="#tab-1"],
#tab-2:target ~ .tabBtn li [href="#tab-2"],
#tab-3:target ~ .tabBtn li [href="#tab-3"],
#tab-4:target ~ .tabBtn li [href="#tab-4"],
#tab-5:target ~ .tabBtn li [href="#tab-5"] {
  background-color: #cd5c5c;
}
 
#tab-1:target ~ .tabContents section:nth-child(1),
#tab-2:target ~ .tabContents section:nth-child(2),
#tab-3:target ~ .tabContents section:nth-child(3),
#tab-4:target ~ .tabContents section:nth-child(4),
#tab-5:target ~ .tabContents section:nth-child(5) {
  opacity: 1;
  background-color: #fff;
}

