html {
  overflow: auto;
  font-size: 62.5%;
}
body {
  position: relative;
  font-size: 14px;
  overflow: hidden;
  line-height: 1.8;
  color: #000;
  font-family: "Helvetica Neue",
    Arial,
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    "游ゴシック体",
    YuGothic
    sans-serif;
}
a{
  color: inherit;
}
a:hover,
a:focus {
  opacity: 0.7;
}
/* 共通・ヘルパー */
.sp {
  display: none;
}
/* ========================================
トップ
============================================ */
main{
  position: fixed;
  width: 100vw;
  height: 100vh;
  background-image: url(../img/main_bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  display: flex;
}
.ly_content_left{
  width: 1070px;
  padding: 0 15px;
  margin: 0 auto;
  max-width: 83%;
}
.header{
  padding-top: 15px;
  color: #fff;
}
.bl_naviButton{
  display: none;
}
.bl_navi_list{
  display: flex;
  margin-bottom: 38px;
}
.bl_navi_list > *:not(:last-child){
  margin-right: 42px;
}
.bl_navi_item{
  font-size: 12px;
  letter-spacing: 0.1em;
}
.ly_content_head{
  color: #fff;
}
.bl_content_title{
  font-size: 40px;
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
  font-weight: normal;
}
.bl_content_text{
  margin-bottom: 8px;
  letter-spacing: 0.05em;
  line-height: 1.6;
}
.bl_content_text a,
.bl_content_text_small a{
  text-decoration: underline;
}
.bl_content_text_foot{
  margin-top: 8px;
  text-align: right;
}
.ly_content_body{
  /* 295pxは上部のfixed要素の高さをすべて合計した数値 */
  height: calc(100vh - 262px);
  overflow-y: scroll;
}
.ly_top_pagination{
  margin-bottom: 16px;
}
.pagination{
  color: #fff;
  display: flex;
  align-items: center;
}
.pagination .prevpostslink,
.pagination .nextpostslink{
  width: 16px;
  height: 16px;
}
.pagination .prevpostslink{
  margin-right: 15px;
}
.pagination .nextpostslink{
  margin-left: 15px;
}
.pagination .prevpostslink img,
.pagination .nextpostslink img{
  vertical-align: top;
}
.pagination .page{
  letter-spacing: 0.1em;
  width: 23px;
  height: 23px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  line-height: 1;
  margin: 0 9px;
}
.pagination .page.current{
  border: 1px solid #fff;
}
.ly_bottom_pagination .pagination{
  margin-bottom: 24px;
  justify-content: center;
}
.ly_btn_next{
  margin-bottom: 27px;
  text-align: center;
}
.ly_btn_next a{
  background-color: #fff;
  border-radius: 30px;
  width: 240px;
  height: 56px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}
.bl_letter_list{
  margin-bottom: 68px;
}
.bl_letter_list > *{
  margin-bottom: 68px;
}
.bl_letter_item{
  position: relative;
  list-style: none;
  background-color: rgba(255, 255, 255, 0.8);
}
.bl_letter_inner{
  padding: 48px 50px 115px 50px;
}
.ly_letter_head{
  margin-bottom: 52px;
}
.bl_letter_title{
  font-size: 20px;
  font-weight: normal;
  letter-spacing: 0.05em;
  line-height: 1.5;
  margin-bottom: 12px;
}
.bl_letter_meta{
  display: flex;
  align-items: baseline;
}
.bl_letter_name{
  font-size: 20px;
  letter-spacing: 0.1em;
}
.bl_letter_position{
  font-size: 12px;
  letter-spacing: 0.1em;
  line-height: 1;
}
.ly_letter_content{
  white-space: normal;
  word-break: break-all;
  margin-bottom: 16px;
  text-align: justify;
}
.bl_letter_time{
  position: absolute;
  display: block;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-align: right;
  color: #fff;
  bottom: -30px;
  right: 10px;
}
.footer{
  font-size: 10px;
  color: #fff;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}
.bl_picture_credit{
  margin-bottom: 4px;
}
.copyright{
  display: block;
}
.ly_content_right{
  background-color: rgba(255, 255, 255, 0.8);
  padding: 32px 20px;
  width: 17%;
  max-width: 300px;
  overflow-y: scroll;
  min-width: 220px;
}
.ly_writer_head{
  margin-bottom: 28px;
}
.bl_writer_title{
  letter-spacing: 0.1em;
  margin-bottom: 10px;
  color: #2b5bc6;
}
.bl_writer_text{
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.03em;
}
.bl_writer_year{
  color: #000;
  border-bottom: 1px solid #000;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.bl_writer_year_list{
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.bl_writer_year_item{
  font-size: 12px;
  letter-spacing: 0.05em;
  width: 48%;
  margin-right: 4%;
  list-style: none;
  margin-bottom: 10px;
}
.bl_writer_year_item:nth-of-type(2n){
  margin-right: 0;
}

/* ========================================
PostPage
============================================ */
.single-post .ly_content_head{
  margin-bottom: 20px;
}
.ly_article{
  margin-bottom: 48px;
}
.single-post .bl_content_title{
  margin-bottom: 20px;
}
.single-post .ly_content_body{
  height: calc(100vh - 160px);
  overflow-y: scroll;
}
/* ==============投稿コンテンツ=================== */
.ly_letter_content{
  display: flex;
  flex-direction: column;
}
.ly_letter_content *{
  letter-spacing: 0.05em;
  line-height: 2;
  margin-bottom: 2em;
  max-width: 100%;
  word-wrap: break-word;
}
.ly_letter_content *:last-child{
  margin-bottom: 0;
}
.ly_letter_content a{
  text-decoration: underline;
}


@media screen and (max-width:1269px) {
  .ly_content_body{
    height: calc(100vh - 262px);
  }
}
@media screen and (max-width:1169px) {
  .ly_content_body{
    height: calc(100vh - 284px);
  }
}
@media screen and (max-width:1069px) {
  .ly_content_body{
    height: calc(100vh - 284px);
  }
}
@media screen and (max-width:869px) {
  .ly_content_body{
    height: calc(100vh - 329px);
  }
}

@media screen and (max-width:769px) {
  /* 共通・ヘルパー */
  .pc {
    display: none;
  }
  .sp {
    display: block;
  }

  /* ========================================
  トップ
  ============================================ */
  body{
    position: static;
    overflow: auto;
  }
  main{
    position: relative;
    background-image: none;
    width: auto;
    height: auto;
  }
  main::before{
    content:"";
    display:block;
    position:fixed;
    background-image: url(../img/main_bg_sp.jpg);
    background-repeat:no-repeat;
    background-position:center center;
    background-attachment:fixed;
    background-size:cover;
    top:0;
    left:0;
    z-index:-1;
    width:100%;
    height:100vh;
  }
  .ly_content_left{
    width: 91.4%;
    padding: 0;
    max-width: inherit;
  }
  .header{
    background-color: inherit;
    padding-top: 0;
  }
  .bl_naviButton{
    position: fixed;
    display: block;
    width: 24px;
    height: 16px;
    z-index: 20;
    transition: all 0.4s ease;
    border: none;
    top: 16px;
    left: 16px;
  }
  .bl_naviButton:focus{
    outline: none;
  }
  .bl_naviButton_bar {
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    height: 2px;
    background-color: #2B5BC6;
    transition: all 0.4s ease;
    transform-origin: center;
    border-radius: 2px;
  }
  .bl_naviButton_bar:nth-of-type(1) {
    top: 0;
  }
  .bl_naviButton_bar:nth-of-type(2) {
    top: 7px;
  }
  .bl_naviButton_bar:nth-of-type(3) {
    bottom: 0;
  }
  .bl_naviButton.active .bl_naviButton_bar:nth-of-type(1) {
    -webkit-transform: translateY(7px) rotate(-35deg);
    transform: translateY(7px) rotate(-35deg);
    width: 130%;
  }
  .bl_naviButton.active .bl_naviButton_bar:nth-of-type(2) {
    display: none;
  }
  .bl_naviButton.active .bl_naviButton_bar:nth-of-type(3) {
    -webkit-transform: translateY(-7px) rotate(35deg);
    transform: translateY(-7px) rotate(35deg);
    width: 130%;
  }
  .bl_navi {
    position: fixed;
    left: -100%;
    top: 0;
    bottom: 0;
    z-index: 10;
    width: 170px;
    height: auto;
    transition: all .4s ease;
    background-color: #fff;
  }
  .bl_navi.active{
    left: 0;
  }
  .bl_navi{
    padding-top: 90px;
    padding-left: 16px;
  }
  .bl_navi_list{
    flex-direction: column;
  }
  .bl_navi_list > *:not(:last-child){
    margin-right: 0;
  }
  .bl_navi_item{
    font-size: 16px;
    margin-bottom: 28px;
    color: #000;
  }
  .ly_content_head{
    margin-top: 56px;
    margin-bottom: 0;
  }
  .bl_content_title{
    font-size: 32px;
  }
  .bl_content_textWrap{
    color: #fff;
    margin-bottom: 28px;
  }
  .bl_content_text{
    margin-bottom: 16px;
  }
  .bl_content_text_foot{
    text-align: left;
    line-height: 1.33;
    margin-top: 10px;
  }
  .ly_content_body{
    height: auto;
    overflow: auto;
  }
  .ly_top_pagination{
    margin-bottom: 16px;
  }
  .pagination{
    justify-content: center;
  }
  .pagination .page{
    font-size: 16px;
  }
  .bl_letter_list{
    margin-bottom: 68px;
  }
  .bl_letter_list > *{
    margin-bottom: 64px;
  }
  .bl_letter_item{
    padding-bottom: 20px;
  }
  .bl_letter_inner{
    position: relative;
    padding: 20px 16px 22px 16px;
  }
  .ly_letter_head{
    margin-bottom: 28px;
  }
  .bl_letter_meta{
    flex-wrap: wrap;
  }
  .bl_letter_position{
    line-height: 1.2;
  }
  .ly_letter_content{
    overflow: hidden;
    height: auto;
  }
  .ly_letter_more{
    position: absolute;
    bottom: 21px;
    left: 16px;
    z-index: 2;
  }
  .bl_letter_more_btn{
    position: relative;
    letter-spacing: 0.05em;
    padding-left: 18px;
    transition: .3s;
  }
  .bl_letter_more_btn::before{
    position: absolute;
    content: "";
    background-image: url(../img/arrow_right.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 10px;
    height: 9px;
    left: 0;
    top: 8px;
    transition: .3s;
  }
  .bl_letter_more_btn::after{
    content: "全文を読む";
    font-size: 14px;
    transition: .3s;
  }
  .bl_letter_inner.is-hide .ly_letter_content{
    height: 100px;
    overflow: hidden;
  }
  .ly_letter_more.is-show .bl_letter_more_btn::before{
    transform: rotate(-90deg);
  }
  .ly_letter_more.is-show .bl_letter_more_btn::after{
    content: "折りたたむ";
  }
  .ly_bottom_pagination{
    margin-bottom: 160px;
  }
  .footer{
    margin-bottom: 0;
  }
  .ly_content_right{
    position: fixed;
    right: 0;
    top: 0;
    background-color: inherit;
    backdrop-filter: inherit;
    --webkit-backdrop-filter: inherit;
    padding: 0;
    width: auto;
    max-width: inherit;
    overflow-y:auto;
    min-width: inherit;
    z-index: 200;
  }
  .ly_content_right_sp{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: 46px;
    width: 100px;
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    padding: 0 12px;
    z-index: 110;
    position: relative;
  }
  .activeSide.ly_content_right_sp{
    background-color: rgba(255, 255, 255, 0);
  }
  .ly_content_right_sp_inner{
    position: relative;
    padding-right: 18px;
    width: 60px;
    height: 24px;
  }
  .activeSide .ly_content_right_sp_inner::before{
    content: none;
  }
  .ly_content_right_sp_inner::before{
    position: absolute;
    content: "執筆者";
    font-size: 14px;
    letter-spacing: 0.1em;
    left: 0;
    top: 0;
    color: #2b5bc6;
  }
  .bl_sideButton{
    position: absolute;
    width: 12px;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 120;
  }
  .bl_sideButton_bar{
    position: absolute;
    background-color: #2B5BC6;
    width: 9px;
    height: 2px;
    transition: all 0.4s ease;
    z-index: 120;
  }
  .bl_sideButton_bar:nth-of-type(1){
    transform: rotate(-45deg);
  }
  .bl_sideButton_bar:nth-of-type(2){
    transform: rotate(45deg);
    left: 0;
  }
  .activeSide .bl_sideButton_bar:nth-of-type(1){
    width: 27px;
    transform: translateX(-8.5px) rotate(-35deg);
  }
  .activeSide .bl_sideButton_bar:nth-of-type(2){
    width: 27px;
    transform: translateX(-2px) rotate(35deg);
    left: 0;
  }
  .ly_content_right_inner {
    position: fixed;
    right: -100%;
    top: 0;
    background-color: #fff;
    width: 100%;
    height: 100%;
    transition: all .4s ease;
    padding: 32px 0 32px 4.3%;
  }
  .activeSide + .ly_content_right_inner{
    right: 0;
  }
  .ly_content_right_inner_small{
    overflow-y: scroll;
    height: calc(100vh - 32px);
    padding-bottom: 80px;
    padding-right: 4.3%;
  }
  .ly_writer_head{
    margin-bottom: 56px;
  }
  .bl_writer_year{
    font-size: 16px;
    margin-bottom: 24px;
  }
  .bl_writer_year_item{
    font-size: 16px;
    margin-bottom: 16px;
  }

  /* ========================================
  PostPage
  ============================================ */
  .single-post .ly_content_body{
    padding-bottom: 40px;
  }
  /* ==============投稿コンテンツ=================== */
  .ly_letter_content *{
    font-size: 14px;
    line-height: 1.8;
  }

}


  /* ==============追加CSS=================== */
.letter_image_caption{
  font-size: 0.5em;
}