/* =====================================================
   Reset / Base
===================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  color: #222;
  background-color: #ffffff;
  line-height: 1.7;
}

img {
  width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* =====================================================
   Breadcrumb
===================================================== */
.breadcrumb {
  background-color: #e3dfd1;
  border-bottom: 1px solid #eeeeee;
  padding: 12px 0;
}

.breadcrumb-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  font-size: 11px;
  color: #333;
}

.breadcrumb-inner a {
  color: #333;
}

/* =====================================================
   Hero
===================================================== */
.hero {
  position: relative;
  width: 100%;
}

.hero img {
  width: 100%;
  height: 206px;
  object-fit: cover;
  display: block;
}

.hero-title {
  position: absolute;
  left: max(24px, calc(50% - 550px + 24px));
  bottom: 20px;
  font-size: 32px;
  font-weight: 500;
  color: #ffffff;
  padding: 8px 0;
//  background: rgba(0, 0, 0, 0.15);
//  border-radius: 4px;
}

/* =====================================================
   Main Content
===================================================== */
.content {
  max-width: 1100px;
  margin: 80px auto 120px;
  padding: 0 24px;
}

/* =====================================================
   News List
===================================================== */
.news-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

/* News Card */
.news-card {
  background-color: #f5f5f5;
  border-radius: 12px;
  padding: 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.news-card:hover {
  transform: translateY(2px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.news-card time {
  display: block;
  font-size: 14px;
  color: #666;
  margin-bottom: 16px;
}

.news-card h3,
.news-card.noLinkD h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.5;
  color: #333;
}

.news-card p,
.news-card.noLinkD p {
  font-size: 13px;
  color: #555555;
  line-height: 1.6;
  margin-bottom: 40px;
  flex: 1;
}

.news-card.noLink:hover,
.news-card.noLinkD:hover {
  transform: none;
  box-shadow: none;
}

.news-card.noLink h3 {
	font-size : 90%;
}

.news-card.noLink a,
.news-card.noLink span {
	display: none;
}

/* Arrow Icon */
.news-icon {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  background-color: #258c99;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  transition: opacity 0.35s ease-in-out;
}

.news-icon::after {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
  margin-left: -4px;
}

.news-icon:hover {
  opacity: 0.5;
}

/* =====================================================
   More Button
===================================================== */
.news-more {
  margin-top: 64px;
  text-align: center;
}

.news-more a {
  display: inline-block;
  padding: 12px 40px;
  border: 1px solid #999;
  font-size: 14px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.news-more a:hover {
  background-color: #999;
  color: #ffffff;
}

/* =====================================================
   Footer
===================================================== */

/* =====================================================
   Responsive
===================================================== */
@media screen and (max-width: 1000px) {

  .news-list {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media screen and (max-width: 768px) {

  .hero-title {
    font-size: 22px;
    left: 24px;
    bottom: 16px;
  }

  .content {
    margin: 48px auto 64px;
  }

  .news-list {
    grid-template-columns: 1fr;
  }

  .nav a {
    margin-left: 0;
    margin-right: 16px;
  }

}


/* =====================================================
   News Detail Page
   ※ news.css の末尾に追記
===================================================== */

/* -----------------------------
   Breadcrumb
------------------------------ */
.breadcrumb a {
  color: #333;
}

.breadcrumb span {
  margin: 0 6px;
}

/* -----------------------------
   News Article
------------------------------ */
.news-article {
  max-width: 1100px;
  margin: 80px auto 0;
  padding: 0 24px;
}

.news-date {
  display: block;
  font-size: 14px;
  color: #666;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.news-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 40px;
  color: #333;
}

.news-supple {
	margin-top: 100px;
}

.news-body p {
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 24px;
}

.news-mb100 {
	margin-bottom: 100px;
}

.news-supple p {
	margin-left: 1em;
}

/* -----------------------------
   News Gallery
------------------------------ */
.news-gallery {
  max-width: 1100px;
  margin: 120px auto 120px;
  padding: 0 24px;
}

.news-gallery-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  list-style: none;
}

.news-gallery-list img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

/* -----------------------------
   Responsive (News Detail)
------------------------------ */
@media screen and (max-width: 1000px) {

  .news-gallery-list {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media screen and (max-width: 768px) {

  .news-title {
    font-size: 20px;
  }

  .news-body p {
    font-size: 14px;
  }

  .news-gallery {
    margin-top: 48px;
  }

  .news-gallery-list {
    grid-template-columns: repeat(1, 1fr);
  }
  
  .news-supple {
  	margin-top: 50px;
  }
  
  .news-mb100 {
	margin-bottom: 0;
}


}
