@charset "UTF-8";
/*****レスポンシブデザイン*****/
#main-in {
  margin: 0 auto;
  max-width: 1040px;
  padding: 0 20px 0 220px;
}
@media screen and (max-width: 767px) {
  #main-in {
    padding-left: 20px;
    margin-top: 80px;
  }
}

body {
  font-family: "Roboto", "Helvetica Neue", sans-serif;
  color: #2c3e50;
  line-height: 1.7;
  margin: 0;
  background: #fafafa;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 1.5rem 1rem;
}
@media screen and (max-width: 767px) {
  .container {
    padding: 0;
  }
}

.news-single h1 {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  color: #34495e;
  margin-bottom: 1rem;
  border-bottom: 3px solid #2980b9;
  padding-bottom: 0.5rem;
}
@media screen and (max-width: 767px) {
  .news-single h1 {
    font-size: 1.2em;
    line-height: 1.6rem;
  }
}

.news-single time {
  color: #7f8c8d;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 2rem;
  font-weight: 500;
}

.news-block {
  margin-bottom: 3rem;
}
@media screen and (max-width: 767px) {
  .news-block {
    margin-bottom: 1rem;
  }
}

.news-block h2 {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 1.4rem;
  line-height: 1.7rem;
  color: #2980b9;
  margin-bottom: 1rem;
  border-left: 5px solid #2980b9;
  padding-left: 0.75rem;
}
@media screen and (max-width: 767px) {
  .news-block h2 {
    font-size: 14px;
    line-height: 1rem;
    padding-left: 0.4rem;
  }
}

.news-flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 1.5rem;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
}

.news-image {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 40%;
          flex: 1 1 40%;
  max-width: 40%;
}

.news-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  -webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
          box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  -o-object-fit: cover;
     object-fit: cover;
}

.news-text {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 60%;
          flex: 1 1 60%;
  color: #34495e;
  font-size: 1rem;
}
@media screen and (max-width: 767px) {
  .news-text {
    font-size: 0.75em;
  }
}

.news-text p {
  margin-bottom: 1rem;
}

.caption {
  padding-top: 5px;
  font-size: 12px;
}
@media screen and (max-width: 767px) {
  .caption {
    font-size: 10px;
  }
}

/* 戻るリンク */
.back-to-news {
  margin-top: 3rem;
}
@media screen and (max-width: 767px) {
  .back-to-news {
    margin: 1rem 0;
  }
}

.back-to-news a {
  color: #2980b9;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  -webkit-transition: border-color 0.3s ease;
  transition: border-color 0.3s ease;
}
@media screen and (max-width: 767px) {
  .back-to-news a {
    font-size: 0.7rem;
  }
}

.back-to-news a:hover {
  border-color: #2980b9;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .news-flex {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .news-image,
  .news-text {
    max-width: 100%;
    -webkit-box-flex: 1;
        -ms-flex: 1 1 100%;
            flex: 1 1 100%;
  }
}
.image-gallery {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 1.5rem;
  margin-top: 3rem;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
@media screen and (max-width: 767px) {
  .image-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 1rem;
  }
}

.image-gallery figure {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 calc(33.333% - 1rem);
          flex: 1 1 calc(33.333% - 1rem);
  margin: 0;
  text-align: center;
  background: #fff;
  border-radius: 8px;
  -webkit-box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
          box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 0.5rem;
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}

.image-gallery img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
  margin-bottom: 0.5rem;
  -o-object-fit: cover;
     object-fit: cover;
}

.image-gallery figcaption {
  font-size: 0.9rem;
  color: #555;
  font-weight: 500;
}

/* スマホ表示 */
@media (max-width: 768px) {
  .image-gallery {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .image-gallery figure {
    -webkit-box-flex: 1;
        -ms-flex: 1 1 100%;
            flex: 1 1 100%;
    margin-bottom: 1.5rem;
  }
  .image-gallery figure:last-child {
    margin-bottom: 0;
  }
}
.sublima-caption {
  font-size: 13px;
}
@media screen and (max-width: 767px) {
  .sublima-caption {
    font-size: 10px;
  }
}