@charset "UTF-8";

/* covid */
.covid {
  margin-bottom: 50px;
  border: 5px #a84552 solid;
  padding: 20px;
}
.covid p {
  font-size: 12px;
}
.covid span {
  color: #a84552;
}
.covid h3 {
  color: #a84552;
  margin-bottom: 10px;
  border-bottom: 1px dotted #cccccc;
  text-align: center;
  font-size: 14px;
}
.covid h4 {
  color: #a84552;
  font-size: 14px;
  padding-top: 6px;
}

.goto {
  margin-bottom: 40px;
}
.info-link {
  color: #a84552;
}

/* mainVisual
--------------------------------*/
#mainVisual {
  position: relative;
  width: 100%;
  height: calc(100vh - 120px);
  background: url(../img/index/mv_bg_pc.jpg) no-repeat center center / cover;
}
@media screen and (max-width: 768px) {
  #mainVisual {
    height: 375px;
    background-image: url(../img/index/mv_bg_sp.jpg);
  }
}

/* news
--------------------------------*/
#news {
  position: absolute;
  bottom: 0;
  right: 0;
  padding: 15px 20px;
  /* background: rgba(72,81,94,.22); */
  background: rgba(0, 0, 0, 0.5);
  width: 50%;
  min-width: 460px;
}
#news .secttl {
  color: #fff;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px dotted #fff;
}
#news .list li {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}
#news .list li + li {
  margin-top: 10px;
}
#news .list li .date,
#news .list li .txt {
  font-size: 1rem;
  color: #fff;
}
#news .list li .date {
  flex: none;
  margin-right: 15px;
}
#news .list li .txt a {
  font-size: 1rem;
  color: #fff;
  display: inline-block;
  transition: 0.3s;
}
@media screen and (min-width: 769px) {
  #news .list li .txt a:hover {
    text-decoration: underline;
  }
}
@media screen and (max-width: 768px) {
  #news {
    padding: 10px 3.5%;
    width: 100%;
    min-width: initial;
    background: none;
  }
  #news .secttl {
    font-size: 1.2rem;
    margin-bottom: 10px;
    padding-bottom: 5px;
  }
  #news .list li + li {
    margin-top: 5px;
  }
  #news .list li .date,
  #news .list li .txt {
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    line-height: 1.4;
    font-weight: 500;
  }
  #news .list li .date {
    margin-right: 10px;
  }
  #news .list li .txt a {
    font-size: 0.9rem;
  }
}

/* todo
--------------------------------*/
#todo .bgarea {
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  background: url(../img/index/todo_bg_pc.jpg) no-repeat center center / cover;
}
#todo .bgarea::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 10px;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  border: 3px solid #fff;
  pointer-events: none;
}
#todo .bgarea .inner {
  width: 83%;
  margin: 30px auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#todo .left {
  max-height: 460px;
  width: calc(100% - 300px - 50px);
}
#todo .secttl {
  font-size: 3.9rem;
  color: #fff;
  line-height: 1.1;
}
#todo .secttl strong {
  font-size: 7.8rem;
  display: block;
  white-space: nowrap;
}
#todo .txt {
  font-size: 1.4rem;
  line-height: 1.25;
  color: #fff;
  margin-top: 25px;
}
#todo .iconimg {
  text-align: center;
}
@media screen and (max-width: 768px) {
  #todo .wrap {
    padding-top: 0;
  }
  #todo .bgarea {
    height: auto;
    background-image: url(../img/index/todo_bg_sp.jpg);
  }
  #todo .bgarea::before {
    top: 1.5%;
    left: 1.5%;
    width: calc(100% - 3%);
    height: calc(100% - 3%);
  }
  #todo .bgarea .inner {
    width: 86%;
    margin: 45px auto 30px;
    display: block;
  }
  #todo .left {
    max-height: initial;
    width: 100%;
  }
  #todo .secttl {
    font-size: 2.3rem;
  }
  #todo .secttl strong {
    font-size: 4.6rem;
  }
  #todo .txt {
    font-size: 1rem;
    margin-top: 15px;
  }
  #todo .iconimg {
    width: 55px;
    margin: 15px auto 0;
  }
}

/* access
--------------------------------*/
@media screen and (max-width: 768px) {
  #access .wrap {
    padding-top: 0;
  }
}

/* スカイチケット */
.skyticket {
  position: fixed;
  bottom: 225px;
  right: 0;
  width: fit-content;
}
.skyticket button {
  background: #fff;
  padding: 10px 15px;
}
.skyticket button:hover {
  opacity: 0.8;
}
.skyticket img {
  width: 120px;
}
@media (max-width: 768px) {
  .skyticket {
    bottom: 130px;
  }
}

.open .hidden-down {
  display: none;
}

/* === NEWS & TOPICS セクション === */
.news-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 20px;
  text-align: center;
}

.news-section h2 {
  font-size: 24px;
  letter-spacing: 0.1em;
  margin-bottom: 40px;
  font-weight: 500;
}

/* 3カラム横並び */
.news-list {
  display: flex;
  gap: 24px;
  justify-content: center;
}

/* カードスタイル */
.news-card {
  display: block;
  flex: 1;
  max-width: 340px;
  text-decoration: none;
  color: inherit;
  text-align: left;
  transition: opacity 0.3s ease;
}

.news-card:hover {
  opacity: 0.8;
}

/* サムネイル */
.news-thumb {
  overflow: hidden;
  border-radius: 4px;
  height: 230px;
}

.news-thumb img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.3s ease;
  height: 100%;
}

.news-card:hover .news-thumb img {
  transform: scale(1.05);
}

/* カテゴリ名 */
.news-card .news-category {
  display: inline-block;
  font-size: 11px;
  color: #fff;
  background-color: #333;
  padding: 3px 10px;
  border-radius: 2px;
  margin-top: 12px;
}

/* 日付 */
.news-card time {
  display: block;
  font-size: 12px;
  color: #999;
  margin-top: 8px;
}

/* タイトル（2〜3行で切り捨て） */
.news-card h3 {
  font-size: 14px;
  line-height: 1.6;
  margin-top: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-weight: 500;
}

/* 「さらに見る」ボタン */
.news-more {
  margin-top: 40px;
  text-align: center;
}

.more-link {
  display: inline-block;
  padding: 10px 40px;
  border: 1px solid #333;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.05em;
  transition: background-color 0.3s, color 0.3s;
}

.more-link:hover {
  background-color: #333;
  color: #fff;
}

/* レスポンシブ: SP表示 */
@media (max-width: 768px) {
  .news-list {
    flex-direction: column;
    align-items: center;
  }

  .news-card {
    max-width: 100%;
    width: 100%;
  }

  .news-section {
    padding: 40px 16px;
  }
  
  .news-section h2 {
    font-size: 20px;
    margin-bottom: 30px;
  }
}
