@charset "utf-8";
@media screen and (max-width:767px){
/* スマホ用リセットCSS */
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
li{
  list-style: none;
}
img{
    display: block;
    width: 100%;
    height: auto;
  }
  a{
    text-decoration: none;
    color:#fff;
  }
  html, body {
    width: 100%;
  }
  body{
    font-family: "YuGothic", "Meiryo", sans-serif;
    background-color: #000;  
    color: #fff;
    padding: 0 16px;
  }
.sp{
    display: block;
  }
.pc{
    display: none;
  }
.hidden-sp{
    display: none;
  }
header {
  width: 100%;
  height: auto;
  padding: 20px 0;
  text-align: center;
  font-family: "Josefin Sans", sans-serif;
  font-style: normal;
  color: #fff;
}
h1 span {
  font-weight: 700;
  font-size: 53px;
  display: block;
  margin-top: 40px;
}
h1 small {
  font-weight: 600;
  font-size: 16px;
  display: block;
  margin-top: 3px;
}
main {
  padding: 0 1.2rem;
  height: 1170px;
  font-family: "Noto Sans JP", serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-size: 10px;
}
.news_category {
    position: relative;
    text-align: center;
  }
  time{ 
     display: inline-block;
     font-size: 15px;
     margin-bottom: 10px;
  }
  h2 {
    font-size: 22px;
    line-height: 1.5;
    padding: 0 10px;
  }
  .photo {
      display: flex;
      justify-content: center;
      align-items: center;
      margin: 40px auto 20px;
      width: 100%;
      max-width: 800px;
      height: auto;
      position: relative;
  }
  .photo img {
      width: 100%;
      height: auto;
      object-fit: contain;
      border-radius: 10px;
      border: 4px solid #fff;
      box-shadow: 0 0 25px rgba(255, 255, 255, 0.3);
  }
  .comment {
    margin-top: 20px;
    padding: 7px;
    text-align: left;
}
.comment p {
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.6;
  }
.comment strong {
    color: #c93ce5;
}
.comment .message {
    font-size: 1.2em;
    font-weight: bold;
    color: #bdff2f;
    text-align: center;
    margin-top: 2em;
}
  footer{
    display: flex;
    justify-content: center; /* 中央揃え */
    align-items: center; /* 縦方向にも中央 */
    height: 80px;
    text-align: center;
    font-family: "Josefin Sans", sans-serif;
    font-weight: 600;
  }
  .back_button a{
    color: #000;
  }
  .back_button{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #000;
    font-size: 15px;
    font-weight: bold;
    background: #fff;
    padding: 18px 30px;
    border-radius: 18px;
    transition: .3s;
    }
  .back_button:active {
    background: #454eff;
    color: #000;
    box-shadow: 0 0 5px rgba(30, 0, 179, 0.6);
  }
}