@charset "utf-8";
/* --- 関数 --- */
:root {
  --contents-max-width: 1060px;
}

/* --- 汎用 --- */
.text-ib {
  display: inline-block;
}

.text-wbr {
  overflow-wrap: anywhere;
  word-break: keep-all;
}

/* --- page --- */
html {
  font-size: 62.5%;
}
body {
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.5;
  background: #F2F5F8;
}

/* --- レイアウトの土台 --- */
.container {
  width: 100%;
  max-width: var(--contents-max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.inner {
  padding: 40px 0;
}

@media (max-width: 767px) {
  .container {
    padding: 0 15px;
  }

}

/* --- メインビジュアル --- */
@media (min-width: 769px) {
  #hero {
    position: relative;
    width: 100%;
    overflow: hidden;
  }
  #hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 70%;
    background: linear-gradient(0deg, rgba(255, 255, 255, 0), rgb(220, 236, 221));
    z-index: -1;
  }
}

#hero .hero-img img {
  max-width: calc(var(--contents-max-width) - 40px);
  width: 100%;
  height: auto;
  margin-inline: auto;
  vertical-align: bottom;
}

#hero .inner {
  padding: 20px 0;
}

#hero .inner p {
  font-size: 1.4rem;
  color: #666;
  text-align: left;
}


/* --- 記事リスト（グリッド） --- */
.article-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px 20px;
}

@media (max-width: 767px) {
  .article-list {
    grid-template-columns: 1fr;
  }
}

/* --- カード単体のスタイル --- */
.article-item {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.article-item > a {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

/* --- 画像エリア --- */
.article-item_img {
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.article-item_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* ホバー時に画像を拡大 */
@media (min-width: 769px) {
  .article-item > a:hover .article-item_img img {
    transform: scale(1.1);
  }
}

/* --- テキストエリア --- */
.article-item_text {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.article-ttl {
  font-weight: bold;
  font-size: 2.4rem;
  margin-bottom: 0.8em;
  line-height: 1.5;
}
.article-ttl > .sub-ttl {
  font-size: 0.65em;
}
.article-ttl + p {
  font-weight: 700;
  line-height: 1.8;
}

.sponsor {
  margin-top: auto;
  padding-top: 15px;
  font-size: 1.2rem;
  color: #999;
  text-align: right;
}

@media (max-width: 767px) {
  .article-item_text {
    padding: 15px;
  }

  .article-ttl {
    font-size: 2rem;
  }
  .article-ttl + p {
    font-size: 1.4rem;
  }
}

/* --- フッター --- */
footer {
  margin-top: 100px;
  padding: 40px 0;
  color: #fff;
  background: #002b36;
}

.footer-container {
  width: 100%;
  max-width: var(--contents-max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* --- アイコンリスト --- */
.link_icon {
  display: flex;
  align-items: center;
  gap: 15px;
  list-style: none;
}
.link_icon li.finasee {
  margin-right: 10px;
}

.link_icon li img {
  height: 24px;
  width: auto;
  display: block;
}

.link_icon li.finasee img {
  height: 32px;
}

/* コピーライト */
.footer-inner p {
  font-size: 1.6rem;
  letter-spacing: 0.05em;
}

@media (max-width: 767px) {
  footer {
    padding: 30px 0;
  }

  .footer-inner {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .link_icon {
    justify-content: center;
    gap: 15px;
  }
  .link_icon li.finasee {
    margin-right: 25px;
  }

  .link_icon li img {
    height: 25px;
  }

  .link_icon li.finasee img {
    height: 35px;
  }
}