body{
    background:#FFFAF4;
}

div.wrapper{
  box-sizing:border-box;
}

div.wrapper img.image-flower01{
  width:120px;
  height:auto;
  position:absolute;
  top:-50px;
  right:0px;
}

img.image-flower02{
  width:120px;
  height:auto;
  position:absolute;
  top:60%;
  right:50px;
}

img.image-flower03{
  width:120px;
  height:auto;
  position:absolute;
  top:-120px;
  left:30px;
}

img.image-flower04{
  width:120px;
  height:auto;
  position:absolute;
  top:0;
  right:20px;
}

img.image-flower05{
  width:120px;
  height:auto;
  position:absolute;
  bottom:40px;
  left:30px;
}

img.image-cloud01{
  width:160px;
  height:auto;
  position:absolute;
  top:80px;
  left:0;
}

img.image-cloud02{
  width:160px;
  height:auto;
  position:absolute;
  top:50%;
  right:0px;
}

img.image-cloud03{
  width:160px;
  height:auto;
  position:absolute;
  top:90%;
  left:0;
}

img.image-cloud04{
  width:160px;
  height:auto;
  position:absolute;
  top:-160px;
  right:20px;
}

img.image-cloud05{
  width:160px;
  height:auto;
  position:absolute;
  bottom:0%;
  left:0;
}

img.image-cloud06{
  width:160px;
  height:auto;
  position:absolute;
  top:50%;
  right:0px;
}

img.image-cloud07{
  width:160px;
  height:auto;
  position:absolute;
  top:50%;
  left:0;
}

img.image-cloud08{
  width:160px;
  height:auto;
  position:absolute;
  top:-80px;
  right:20px;
}

img.image-cloud09{
  width:160px;
  height:auto;
  position:absolute;
  bottom:50px;
  left:0;
}



div.senryu-header{
    width:100%;
    max-width:1120px;
    height:auto;
    display:block;
    box-sizing:border-box;
    position:relative;
    padding:24px;
    margin:80px auto;
    border:10px solid #DBBC70;
    border-radius:16px;
    background:#fff;
}

div.senryu-header h1{
    font-size:28px;
    font-family: serif;
    margin:0 0 40px 0;
    text-align: center;
}

div.senryu-header h1 span{
    width:193px;
    height:61px;
    display: block;
    background:url(../images/logo-senryu.png)no-repeat center;
    background-size:100% auto;
    text-indent:-9999px;
    margin:0 auto;

}

div.senryu-header p.senryu-title{
    font-family: serif;
    font-size:24px;
    font-weight:bold;
    margin:0 0 40px 0;
    text-align:center;
    line-height:1;
}


div.senryu-header p.senryu-title span{
    font-size:60px;
    display:block;
    margin-bottom:16px;
}


div.senryu-header p.senryu-caption{
    font-size:18px;
    font-weight: bold;
    margin:0;
}

div.senryu-header p.senryu-caption span{
    display:block;
    font-size:14px;
    font-weight: normal;
}

h2{
    font-family:serif;
    font-size:40px;
    font-weight:bold;
    text-align:center;
    line-height:1;
    letter-spacing:1px;
}

h2 span{
    display:block;
    font-family:sans-serif;
    font-size:16px;
    font-weight:bold;
    text-align:center;
    line-height:1;
    margin-top:16px;
    margin-bottom:8px;
}

section{
  width:100%;
  height:auto;
  display:block;
  box-sizing:border-box;
    padding:80px 0;
    position:relative;
}

section.first{
    background:#FFFAF4;
}

section.second{
    background:#DFCBB9;
    padding:0;
}

div.second-before{
    width:100%;
    height:200px;
    background:url(../images/bg_wave_top.png) top;
    background-size:auto 200px; 
}

div.second-after{
    width:100%;
    height:200px;
    background:url(../images/bg_wave_bottom.png) bottom #F4EDE7;
    background-size:auto 200px; 
}

section.third{
    background:#F4EDE7;
}

section.forth{
    background:#E8C4C4;
}

section.forth p{
    font-family:serif;
    font-size:20px;
    position: relative;
    z-index:1;
}




/* ベース: まず.flex全体をフェードアップ */
.flex{
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .6s ease, transform .6s ease;
    will-change: opacity, transform;
  }
  
  /* 画面内に入ったら表示 */
  .flex.is-in{
    opacity: 1;
    transform: none;
  }

  .flex .item{
    flex: 0 0 calc(100% - 0px); /* grow=0, shrink=0, basis=33.3333%-gap */
    margin-bottom:40px;
    box-sizing:border-box;
    border:10px solid #405D93;
    background:#fff;
    box-shadow:0 0 16px rgba(0,0,0,0.25);
    padding-top:24px;
  }

  .flex .item span{
    font-family:serif;
    font-size:40px;
    font-weight:bold;
    display:block;
    padding:24px;
    line-height:1;
  }

  .flex.award01 .item{
    border:10px solid #405D93;
  }

  .flex.award02 .item{
    border:10px solid #9B3842;
  }

  .flex.award03 .item{
    border:10px solid #82A975;
  }

  .flex.award02 .item span{
    font-size:24px;
    padding:16px 24px;
  }

  .flex.award03 .item{
    text-align:center;
  }

  .flex.award03 .item span{
    font-size:20px;
    padding:24px 4px;
    display: inline-block;
  }

  p.comment{
    width:100%;
    height:auto;
    display:block;
    box-sizing:border-box;
    padding:12px;
    margin:0;
    color:#fff;
    background:#eee;
    font-size:16px;
    line-height:1.75;
}

.flex.award01 .comment{
    background:#405D93
}
.flex.award02 .comment{
    background:#9B3842
}
.flex.award03 .comment{
    background:#82A975
}

.flex .item p.name{
    text-align:right;
    padding:0 24px;
}
  
  /* 子<span>はデフォルト非表示 */
  .flex .item p span{
    opacity: 0;
    transform: translateY(8px);
  }
  
  /* .flexのフェードが完了してから順番に2秒間隔で表示 */
  @keyframes fadeUp {
    to { opacity: 1; transform: none; }
  }
  
  /* ステップ開始フラグ（JSが付与） */
  .flex.is-step .item p span:nth-child(1){
    animation: fadeUp .6s ease forwards;
    animation-delay: 0s;     /* 1つ目はすぐ */
  }
  .flex.is-step .item p span:nth-child(2){
    animation: fadeUp .6s ease forwards;
    animation-delay: 2s;     /* 2つ目は +2s */
  }
  .flex.is-step .item p span:nth-child(3){
    animation: fadeUp .6s ease forwards;
    animation-delay: 4s;     /* 3つ目は +4s */
  }
  
  /* アニメーションを避けたい環境への配慮 */
  @media (prefers-reduced-motion: reduce){
    .flex{ opacity: 1; transform: none; transition: none; }
    .flex .item p span{ opacity: 1; transform: none; animation: none !important; }
  }

  p.annotaion{
    width: 100%;
    max-width:600px;
    height:auto;
    display:block;
    padding:0 16px;
    margin:0 auto 40px auto;
    font-size:12px !important;
    text-align:center;
  }

  @media screen and (min-width: 768px) {

    img.image-cloud01{
      width:334px;
      position:absolute;
      top:0;
      left:0;
    }
    
    img.image-cloud02{
      width:334px;
      position:absolute;
      top:50%;
      right:0px;
    }
    
    img.image-cloud03{
      width:334px;
      position:absolute;
      top:60%;
      left:0;
    }
    
    img.image-cloud04{
      width:334px;
      position:absolute;
      top:-160px;
      right:80px;
    }
    
    img.image-cloud05{
      width:334px;
      position:absolute;
      bottom:10%;
      left:0;
    }
    
    img.image-cloud06{
      width:334px;
      position:absolute;
      top:500px;
      right:0;
    }
    
    img.image-cloud07{
      width:334px;
      position:absolute;
      top:50%;
      left:0;
    }
    
    img.image-cloud08{
      width:334px;
      position:absolute;
      top:-100px;
      right:100px;
    }
    
    img.image-cloud09{
      width:334px;
      position:absolute;
      bottom:50px;
      left:100px;
    }
    

    
    div.senryu-header h1 span{
        display:block;

    }

    div.senryu-header h1{
        font-size:72px;
        margin-bottom:16px;
        line-height:1.5;
    }

    div.senryu-header p.senryu-caption{
        text-align:center;
    }
    
    .flex .item {
        flex: 0 0 calc(50% - 16px); /* grow=0, shrink=0, basis=33.3333%-gap */
      }

      .flex.award02 .item {
        flex: 0 0 calc(33% - 16px); /* grow=0, shrink=0, basis=33.3333%-gap */
      }

      

  }