@charset "utf-8";

/*====================================================================================================

  お知らせ

====================================================================================================*/

/*----------------------------------------------------------------------------------------------------

  ブログパターン
  
----------------------------------------------------------------------------------------------------*/

.p-glog {
  text-align:left;
  word-break:break-all;
  overflow: hidden;
}

.p-glog ul,
.p-glog ol {
  list-style:inherit;
  margin-left:2.1rem;
}
.p-glog ol {
  list-style:decimal;
}

.p-glog__img--left,
.p-glog__img--right {
  display:block;
}
.p-glog__img--center {
  display:block;
  text-align:center;
}

.p-glog__img--left {
  float: left;
  margin-right: 24px;
  margin-bottom: 24px;
}
.p-glog__img--right {
  float: right;
  margin-left: 24px;
  margin-bottom: 24px;
}

.p-glog__img--center {
  margin: 0 auto 24px;
  text-align: center;
}

.p-glog__img--left img,
.p-glog__img--right img,
.p-glog__img--center img {
  width: 100% !important;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
}

@media screen and (max-width:750px) {
  .p-glog__img--left,
  .p-glog__img--right {
    float: none;
    width: 100% !important;
    max-width: 700px;
    display: block;
    margin: 0 auto 24px;
  }

  .p-glog__img--center {
    width: 100% !important;
    max-width: 700px;
  }
}

.p-glog__img__cp {
  display:block;
  font-size:0.9em;
  line-height:1.5;
  color:#989691;
  padding-top:0.5em;
  text-align:center;
}

.p-glog__datafile--left,
.p-glog__datafile--right,
.p-glog__datafile--center {
  padding-bottom:1em;
}
.p-glog__datafile--right {
  text-align:left;
}
.p-glog__datafile--right {
  text-align:right;
}
.p-glog__datafile--center {
  text-align:center;
}

.p-glog__datafile {
  display:inline-block;
  padding-top:0.5em;
  padding-bottom:0.5em;
}


/*--------------------------------------------------------------------------------
  非公開
--------------------------------------------------------------------------------*/

.private-alert {
  text-align:center;
  border:3px solid #f24454;
  line-height:1.4;
  color:#f24454;
  padding:1.5em 1em;
}

.private-alert b {
  font-size:1.2em;
}

.private-alert small {
  display:inline-block;
  font-size:0.8em;
  line-height:1.4;
  margin-top:0.2em;
}

@media print,screen and (min-width:641px) {
  .private-alert {
    font-size:1.2em;
    margin-bottom:60px;
  }
}

@media screen and (max-width:640px) {
  .private-alert {
    font-size:1.1em;
    margin-bottom:8%;
  }
}

@media screen and (max-width:500px) {
  .private-alert small {
    font-size:2.9vw;
  }
}


/*--------------------------------------------------------------------------------
  エラー
--------------------------------------------------------------------------------*/

.news-err { line-height:2; }

@media print,screen and (min-width:641px) {
  .news-err {
    padding-top:40px;
    padding-bottom:20px;
    font-size:1.1em;
  }
}

@media screen and (max-width:640px) {
  .news-err {
    padding:12% 6%;
  }
}


/*----------------------------------------------------------------------------------------------------

  一覧
  
----------------------------------------------------------------------------------------------------*

.newsList a { display:block; }
.newsList a,
.newsList a:visited,
.newsList a:hover { color:inherit; text-decoration:none; }
.ua-pc .newsList a:hover { text-decoration:underline; }

.newsList {
  list-style:none;
  text-align:left;
}

.newsList li {
  position:relative;
  line-height:1.5;
}

.newsList li a:after,
.newsList li .inner:after {
  content:"";
  display:block;
  height:0;
  clear:both;
}

.newsList li a,
.newsList li .inner {
  display:block;
  background-color:#fff;
  height:100%;
}

.newsList .photo {
  float:left;
  position:relative;
}

.newsList .photoMask {
  display:block;
  position:relative;
  overflow:hidden;
  z-index:2;
}

.newsList .photoItem {
  display:block;
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
}

.newsList .photoItem img {
  width:auto;
  max-width:none;
}

.newsList li p {
  font-size:1.05em;
}

@media print,screen and (min-width:641px) {
  .newsList-lo {
    padding-top:90px;
    padding-bottom:115px;
  }
  
  .newsList {
    width:1180px;
    margin-left:auto;
    margin-right:auto;
  }
  
  .newsList li {
    width:570px;
    float:left;
  }
  
  .newsList li a,
  .newsList li .inner {
    padding:30px;
  }
  
  .newsList li:nth-child(even) {
    margin-left:40px;
  }
  
  .newsList li:nth-child(n+3) {
    margin-top:40px;
  }
  
  .newsList .photo {
    width:200px;
  }
  
  .newsList .photoItem img {
    min-width:200px;
    height:200px;
  }
  
  .newsList .photo,
  .newsList .photoMask {
    height:160px;
  }

  .newsList li p {
    margin-left:200px;
    padding:5px 5px 5px 30px;
  }

  .ua-pc.csstransitions .newsList .photoItem img {
    -webkit-transition:transform 0.3s ease-out;
    transition:transform 0.3s ease-out;
  }
  
  .ua-pc.csstransitions .newsList a:hover .photoItem img {
    transform:scale(1.08);
  }
}

@media screen and (max-width:640px) {
  .newsList li:not(:last-child) {
    border-bottom:1px solid #e0e0de;
  }
  
  .newsList li a,
  .newsList li .inner {
    padding:5% 4%;
  }
  
  .newsList .s-date {
    margin-bottom:0.6em;
  }
  
  .newsList .photo {
    width:140px;
  }
  
  .newsList .photoItem img {
    min-width:140px;
    height:140px;
  }

  .newsList .photo,
  .newsList .photoMask {
    height:120px;
  }

  .newsList .photoMask:before,
  .newsList .photoMask:after {
    height:48px;
    background-color:#fff;
  }

  .newsList p {
    margin-left:140px;
    padding:1% 1% 1% 5%;
  }
}

@media screen and (max-width:500px) {
  .newsList .photo {
    width:-webkit-calc(180 / 640 * 100vw);
    width:calc(180 / 640 * 100vw);
  }
  
  .newsList .photoItem img {
    min-width:-webkit-calc(180 / 640 * 100vw);
    min-width:calc(180 / 640 * 100vw);
    height:-webkit-calc(180 / 640 * 100vw);
    height:calc(180 / 640 * 100vw);
  }

  .newsList .photo,
  .newsList .photoMask {
    height:-webkit-calc(160 / 640 * 100vw);
    height:calc(160 / 640 * 100vw);
  }

  .newsList .photoMask:before,
  .newsList .photoMask:after {
    height:-webkit-calc(60 / 640 * 100vw);
    height:calc(60 / 640 * 100vw);
  }

  .newsList p {
    margin-left:-webkit-calc(180 / 640 * 100vw);
    margin-left:calc(180 / 640 * 100vw);
    padding:0 0 0 5%;
  }
}


/*----------------------------------------------------------------------------------------------------

  詳細
  
----------------------------------------------------------------------------------------------------*/

#news .newsDetail-lo {
  padding: 48px 0 84px;
  
  .s-date {
    display: block;
  }
  
  .p-glog {
    margin: 48px 0;
  }
  
  .backBtn {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }
}
