/*

【CSS記述ルール】

① font-sizeはpxで指定してください
　（rem、%等の指定はしないようお願いいたします）

② xxxxxx はディレクトリ名に変更してください

③ 必ずディレクトリ名が付いたidセレクタを先頭に記述した後に、要素を記述してください
　（例：#oneday .inner、#oneday .page-title 等）

④ CSS内の画像指定パスは、CSSファイルから見た相対パスで指定してください
　（例：../images/ディレクトリ名/画像名.拡張子）

*/

#oneday {
  font-size: 13px;
  line-height: 1.6;
  color: #e1deda;
  font-family: heisei-kaku-gothic-std,Futura,"Century Gothic",游ゴシック体,YuGothic,"ヒラギノ角ゴ ProN W3","Hiragino Kaku Gothic ProN",游ゴシック,"Yu Gothic",メイリオ,Meiryo,sans-serif;
  font-weight: 700;
  background-position: 50% 50%;
}

#oneday * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

#oneday img {
  line-height: 1;
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

#oneday p {
  text-align: left;
}

#oneday .font-alg{
  font-family: alternate-gothic-atf, sans-serif;
  font-weight: 400;
  font-style: normal;
}

#oneday .inline-block{
  display: inline-block;
}

#oneday .inner{
  padding: 0 12px;
}

/*==============================
main-banner
==============================*/
#oneday .main-banner {
 position: relative;
}

#oneday .main-banner .heading {
  position: absolute;
  top: 50%;
  left: 12px;
  z-index: 1;
}

#oneday .main-banner .heading .ttl-en {
  display:block;
  font-size: 20px;
  line-height:1;
}

#oneday .main-banner .heading .ttl-ja {
  display:block;
  margin-top: 6px;
  font-size: 20px;
  line-height:1;
}

/*==============================
content
==============================*/
#oneday .movie{
  position: relative;
  z-index: 0;
  padding: 40px 0;
  background-color: #1e1c1c;
}

#oneday .movie-txt{
  margin-bottom: 15px;
  text-align: center;
  color: #fff;
  font-size: 13px;
}

#oneday .movie-block{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

#oneday .movie-img{
  width: 48.4%;
  text-align: center;
}

#oneday .movie-img a{
  position: relative;
  display: block;
}

#oneday .movie-img a img{
  transition: opacity .3s;
}

#oneday .movie-img a:hover img{
  opacity: .5;
}

#oneday .movie-img a:before{
  position: absolute;
  content: "";
  display: block;
  background-color: #fff;
  width: 100%;
  height: 100%;
  top: 0;
  right: 0;
  z-index: -1;
}

#oneday .profile{
  background-color: #009ce5;
}

#oneday .profile-data{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 40px 12px 34px;
}

#oneday .profile-img{
  width: 28.5%;
}
#oneday .profile-ttl{
  width: 65.5%;
  padding-top: 5px;
}

#oneday .profile-ttl-belong{
  font-size: 14px;
  line-height: 1.07;
}

#oneday .profile-ttl-name{
  margin-top: 10px;
  font-size: 25px;
  line-height: 1;
}

#oneday .profile-ttl-name .period{
  font-size: 13px;
  font-weight: 300;
}

#oneday .profile-ttl-name .year{
  margin-left: 1em;
}

#oneday .profile-txt{
  margin-top: 20px;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.64;
}

#oneday .flow{
  background-color: #071b25;
}

#oneday .flow-list{
  position: relative;
  padding: 30px 0 34px 30px;
}

#oneday .flow-item-box{
  padding: 17px 25px 17px 17px;
  border: 1px solid #f7f1f4;
}

#oneday .flow-item{
  position: relative;
  margin-bottom: 30px;
}

#oneday .flow-item-ttl{
  position: relative;
  padding-bottom: 4px;
  color: #009ce5;
  font-size: 14px;
  line-height: 1;
}

#oneday .flow-item-ttl .time{
  margin-right: 13px;
  font-size: 20px;
  font-weight: 700;
}

#oneday .flow-item-txt{
  margin-top: 16px;
  color: #f7f1f4;
  font-weight: 300;
}

#oneday .flow-img-block{
  max-width: 310px;
  margin: 0 auto;
}

#oneday .flow-img01{
  margin-bottom: 36px;
}

#oneday .flow-img02{
  padding-bottom: 80px;
}

#oneday .flow-img-txt{
  margin-top: 15px;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.38;
}

@media screen and (max-width: 767px) {/* ---------- スマホ以下 ---------- */
	
  #oneday .flow-item:before{
    position: absolute;
    content: "";
    background-color: #009ce5;
    width: 3px;
    height: calc(100% + 32px);
    top: 36px;
    left: -25px;
  }

  #oneday .flow-item:last-of-type{
    margin-bottom: 0;
  }

  #oneday .flow-item:last-of-type:before{
    content: none;
  }

  #oneday .flow-item-ttl:before{
    position: absolute;
    content: "";
    width: 9px;
    height: 9px;
    background-color: #071b25;
    border: 3px solid #009ce5;
    border-radius: 50%;
    bottom: -7px;
    left: -49.5px;
    z-index: 2;
    box-sizing: content-box;
  }

  #oneday .flow-item-ttl:after{
    position: absolute;
    content: "";
    background-color: #009ce5;
    width: calc(100% + 46px);
    height: 1px;
    left: -40px;
    bottom: 0;
    z-index: 1;
  }

  #oneday .flow-item:first-of-type:after{
    position: absolute;
    content: "";
    background-color: #009ce5;
    width: 3px;
    height: 66px;
    top: -32px;
    left: -25px;
  }
}
@media print, screen and (min-width: 768px) {/* ---------- タブレット・PC以上 ---------- */
   #oneday .inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 10px;
  }
  
/*==============================
main-banner
==============================*/
  #oneday .main-banner .heading {
    width: calc(100% - 20px);
    max-width: 1280px;
    margin: 0 auto;
    left: 50%;
    transform: translateX(-50%);
  }
  
  #oneday .main-banner .heading .ttl-en {
    font-size: 40px;
  }

  #oneday .main-banner .heading .ttl-ja {
    margin-top: 10px;
    font-size: 40px;
  }

/*==============================
content
==============================*/
  #oneday .movie{
    padding: 68px 0 74px;
  }

  #oneday .movie-txt{
    margin-bottom: 50px;
    font-size: 18px;
  }

  #oneday .movie-block{
    max-width: 860px;
    margin: 0 auto;
  }

  #oneday .movie-img{
    width: 50%;
    max-width: 380px;
  }

  
  #oneday .profile-data{
    flex-direction: column;
    justify-content: flex-start;
    height: 400px;
    padding: 100px 10px
  }
  
  #oneday .profile-ttl,
  #oneday .profile-txt{
    width: calc(100% - 260px);
  }
  
  #oneday .profile-img{
    width: 260px;
  }

  #oneday .profile-ttl{
    padding-top: 0;
  }
  
  #oneday .profile-ttl-belong{
    font-size: 18px;
  }

  #oneday .profile-ttl-name{
    margin: 30px 0 0 4px;
    font-size: 40px;
  }

  #oneday .profile-ttl-name .period{
    font-size: 16px;
  }

  #oneday .profile-txt{
    max-width: 770px;
    margin: 16px 0 -20px;
    font-size: 18px;
    line-height: 2;
  }
  
  #oneday .flow-list{
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    padding: 50px 0 80px;
  }
  #oneday .flow-list:before{
    position: absolute;
    content: "";
    width: 6px;
    height:100%;
    background-color: #009ce5;
    top: 0;
    left: calc(50% - 3px);
    z-index: 1;
  }
  
  #oneday .flow-item-box{
        padding: 26px 40px 32px 50px;
    border: solid 2px #e1deda;
  }
  
  #oneday .flow-item{
    width: 42%;
    min-height: 250px;
    margin-bottom: 0;
  }
  
  #oneday .flow-item:nth-of-type(even){
    margin-top: 70px;
  }
  
  #oneday .flow-item:nth-of-type(odd){
    margin-top: -92px
  }
  
  #oneday .flow-item:first-of-type{
    margin-top: 0;
  }
  
  #oneday .flow-item:nth-of-type(2){
    margin-top: 160px;
  }
  
  #oneday .flow-item-ttl{
    display: flex;
    align-items: center;
    padding-bottom: 4px;
    font-size: 20px;
  }
  
  #oneday .flow-item-ttl .time{
    margin-right: 18px;
    font-size: 30px;
  }

  #oneday .flow-item-txt{
    margin-top: 16px;
    font-size: 16px;
    line-height: 2.25;
  }
  
  #oneday .flow-item:after{
    position: absolute;
    content: "";
    width: 18px;
    height: 18px;
    background-color: #071b25;
    border: 6px solid #009ce5;
    border-radius: 50%;
    bottom: -7px;
    right: calc(-19.05% - 15px);
    top: 44px;
    z-index: 1;
    box-sizing: content-box;
  }
  
  #oneday .flow-item:nth-of-type(even):after{
    right: auto;
    left: calc(-19.05% - 15px);
  }
  
  #oneday .flow-item:last-of-type:before{
    position: absolute;
    content: "";
    background-color: #071b25;
    width: 20px;
    height: calc(100% + 30px);
    right: -22%;
    top: 52px;
    z-index: 1;
  }
  
  #oneday .flow-item-ttl{
    position: relative;
    padding-bottom: 4px;
    color: #009ce5;
    font-size: 20px;
    line-height: 1;
  }
  
  #oneday .flow-item-ttl:after{
    position: absolute;
    content: "";
    width: calc(100% + 60px + 23%);
    height: 2px;
    background-color: #009ce5;
    left: -20px;
    bottom: 0;
    z-index: 1;
  }
  
  #oneday .flow-item:nth-of-type(even) .flow-item-ttl:after{
    width: calc(100% + 70px + 23%);
    left: auto;
    right: -20px;
  }
  
  #oneday .flow-img-block{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 100%;
    padding-bottom: 130px;
  }

  #oneday .flow-img01,
  #oneday .flow-img02{
    width: calc(50% - 20px);
    margin-bottom: 0;
    padding-bottom: 0;
  }

  #oneday .flow-img-txt{
    margin-top: 10px;
    padding: 0 10px;
    font-size: 16px;
    line-height: 1.875;
  }
  
  #oneday .content02 .flow-img-block{
    padding-bottom: 240px;
  }
}

@media screen and (min-width: 1025px) {
  #oneday .flow-item{
    min-height: 220px;
  } 
  
  #oneday .flow-item:nth-of-type(odd) {
    margin-top: -76px;
  }
  
  #oneday .flow-item:first-of-type {
    margin-top: 0;
  }
}