img {
  vertical-align: middle;
}
button {
  outline: none;
  line-height: 80px;
  margin: 1%;
  background: #E5DECA;
  border-radius: 10px;
  color: #562222;
  font-size: 1.6rem;
}
::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}
::selection {
  background: #b3d4fc;
  text-shadow: none;
}
.page-header {
  background-color: #fff;
}
.page-main {
  position: relative;
}
.page-main > div {
  padding: 50px 0 50px;
}
.page-main > div h2 {
  color: #fff;
  text-align: center;
  margin: 0 0 50px;
  font-weight: normal;
  letter-spacing: 0.15em;
}
#buttons1 {
  background-color: #0D3B2B;
}
#buttons1 .inner {
  width: 100%;
  margin: 0 auto;
}
.page-footer {
  background-color: #656565;
}
.page-footer small {
  display: block;
  color: #fff;
  font-size: 11px;
  text-align: right;
  width: 976px;
  margin: 0 auto;
  height: 120px;
  line-height: 120px;
  letter-spacing: 0.15em;
}
.page-footer a {
  color: #fff;
  text-decoration: none;
}
/*
 * Helpers
 */
/* Clearfix */
.clearfix:before, .clearfix:after {
  content: " ";
  display: table;
}
.clearfix:after {
  clear: both;
}
/* #button1 2行目 */
#buttons1 button {
  border: solid 0px rgba(174, 94, 155, 1.0);
}
/* #button1 2行目 */
#buttons1 button {
  position: relative;
}
#buttons1 button .bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  overflow: hidden;
}
#buttons1 button span span {
  display: block;
  width: 152px;
  height: 80px;
  line-height: 80px;
  color: #fff;
  background-color: #ae5e9b;
  border-radius: 10px;
}
.dev_memo dt {
  margin: 1em;
}
.memo {
  width: 96%;
  margin: 1em auto;
}
.memo th:nth-child(n+2):nth-child(-n+10) {
  min-width: 40px;
}
.cm{
    background:#89C49F;
    padding:1em;
    border-radius:10px;
}
/*キャプション*/
.image_caption .inner {
  display: flex;
  flex-direction: column;
  margin: 0 auto;
}
.image_caption p {
    overflow: hidden;
}
.image_caption img{
    width:100%;
    max-width:600px;
    hieght:auto;
}

.image_caption p strong {
    position: absolute;
    display: block;
    z-index: 2;
    bottom: 0;
    width: 100%;
    max-width:610px;
    height: 30px;
    background: rgba(0, 0, 0, 0.2);
    color:#FFF;
    text-align: left;
    padding:0 20px;
    vertical-align:middle;
}

.image_caption p span {
    position: absolute;
    display: block;
    z-index: 0;
    top: 0;
    width: 100%;
    max-width:600px;
    height: auto;
    box-shadow: inset 0 0 50px rgba(50, 30, 0, 0.6),
                inset 0 0 100px rgba(50, 30, 0, 0.3);
    background: rgba(255, 155, 0, 0.2);
    opacity: 0;
}

.image_caption p:nth-child(1) strong {
    opacity: 0;
    position:relative;
}
.image_caption p:nth-child(2){
    position:relative;
}
.image_caption p:nth-child(2) strong {
    opacity: 0;
    left: -200%;
}
.image_caption p:nth-child(2) span {
    color:#fff;
}
.image_caption p:nth-child(3) strong {
    bottom: -40px;
    left:-200%;
    background: rgba(34, 34, 34, 1);
}

.image_caption p:nth-child(3) strong{
    opacity:0;
}
/*セリフ*/
.serihu {
  width: 94%;
  margin: 0 auto;
}
/*奇数*/
.serihu li:nth-child(odd) {
  color: #E5DECA;
  background: #22558A;
  margin: 0.5em 0;
  padding: 0.5em 1em;
}
/*偶数*/
.serihu li:nth-child(even) {
  color: #470000;
  background: #F29EA2;
  margin: 0.5em 0;
  padding: 0.5em 1em;
}
.contents_list{
    width:100%;
    background:#A5D4AD;
}
.contents_list li{
    padding:0;
}
.contents_list li+li{
    border-top:1px solid #0A3956;
}
.contents_list li a{
    display:block;
    padding:0.5em;
}
.contents_list li a:hover{
    background:#3F5444;
    color:#E5DECA;
    transition:0.8s;
}
@media only screen and (min-width:350px) {
  .btn {
    outline: none;
    width: 20%;
    min-width: 68px;
    line-height: 80px;
  }
  #buttons1 button span span {
    display: block;
    width: 68px;
    height: 80px;
    line-height: 80px;
    color: #fff;
    background-color: #ae5e9b;
    border-radius: 10px;
  }
  .page-main {
    width: 96%;
    min-width: 300px;
    margin: 0 auto;
  }
  .memo {
    table-layout: fixed;
    overflow: scroll;
    width: 96%;
    max-width: 600px;
  }
}
@media only screen and (min-width:767px) {
  .btn {
    outline: none;
    width: 20%;
    min-width: 160px;
    line-height: 80px;
  }
  #buttons1 button span span {
    display: block;
    width: 160px;
    height: 80px;
    line-height: 80px;
    color: #fff;
    background-color: #ae5e9b;
    border-radius: 10px;
  }
  .page-main {
    width: 96%;
    max-width: 760px;
    margin: 0 auto;
  }
}
@media only screen and (min-width:1024px) {
  .btn {
    outline: none;
    width: 20%;
    min-width: 152px;
    line-height: 80px;
  }
  #buttons1 button span span {
    display: block;
    width: 152px;
    height: 80px;
    line-height: 80px;
    color: #fff;
    background-color: #ae5e9b;
    border-radius: 10px;
  }
  .page-main {
    width: 96%;
    max-width: 940px;
    margin: 0 auto;
  }
  .memo {
    table-layout: fixed;
    overflow: scroll;
    width: 96%;
    max-width: 940px;
  }
}