@charset "UTF-8";

/* メインビジュアル全体 */
.main-visual {
  position: relative;
  width: 100%;
  height: 45vh; 
  background: url("../../img/tairyuji/top/tairyuji-main-visual.jpg") no-repeat center center / cover;
  background-position: center 80%;  
}

/* 背景の上にかける半透明レイヤー */
.main-visual::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3); /* 暗くして文字を見やすくする */
}

/* テキスト部分 */
.main-visual .overlay {
  position: relative; /* ::before の上に置くため */
  z-index: 1;
  color: #fff;
  top: 50%;
  left: 43%;
  transform: translate(-50%, -50%);
  padding: 0 1rem;
  max-width: 800px;
}

/* タイトル */
.main-visual h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

/* 説明文 */
.main-visual p {
  font-size: 1.2rem;
  line-height: 1.6;
}

/* スマホ用レスポンシブ */
@media (max-width: 768px) {
.main-visual .overlay{
  left: 50%;
}

  .main-visual h1 {
    font-size: 2rem;
  }
  .main-visual p {
    font-size: 1rem;
  }
}


#today_service_status {
  display: flex;
  height: 65px;
}

@media (max-width: 768px) {
#today_service_status {
 display: block;
 padding:1.5em 0 1em 0;
         height: auto;
}
}


#today_service_status > div {
  display: flex;
  align-items: center; /* 縦中央 */
  padding: 0 40px;
}

@media (max-width: 768px) {
#today_service_status > div {
  padding: 0;
}
}


#today_service_status .service_name {
  background-color: #006400;
  color: #fff;
  font-weight: bold;
}

@media (max-width: 768px) {
#today_service_status .service_name {
  padding: 1em 0;
  text-align:center;
  display:block;
  margin: 0 0 1em 0;
}
}


#today_service_status .todaytime,
#today_service_status .operation_status {
  gap: 15px; /* ラベルと値の間の余白 */
}

#today_service_status .time,
#today_service_status .situation {
font-size: 1.4rem;
  font-weight: bold;
}


#information{
padding: 4em 0 0 0;
}


#information h2 {
  position: relative;
  font-size: 24px; /* フォントサイズ */
  font-weight: bold;
  color: #006400; /* テキストカラー */
  text-align: center;
  margin: 0; /* 上下の余白 */
  padding:;
}

#information h2::before,
#information h2::after {
content: "";
  position: absolute;
  top: 50%;
  width: 35%;
  height: 1px;
  background-color: #56b356;
  transform: translateY(-50%);
}


@media (max-width: 768px) {
#information h2::before,
#information h2::after {
  width: 10%;
}
  }
  
  
#information h2::before {
  left: 0; /* 左側に配置 */
}

#information h2::after {
  right: 0; /* 右側に配置 */
}




/*更新お知らせ部分*/
#news {
  /*max-width: 800px;*/
  margin: 0 auto;
  padding: 1.5rem;
      text-align: center;
}

#news h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid #ccc;
  padding-bottom: 0.5rem;
}

#news ul {
  list-style: none;
  padding: 0;
  margin: 0;
      text-align: left;
}

#news li {
  display: flex;
  align-items: flex-start;
  padding: 0.75rem 0;
  border-bottom: 1px solid #eee;
}

#news .news-date {
  flex: 0 0 155px; /* 固定幅 */
  font-weight: bold;
  color: #666;
}

#news .news-text {
  flex: 1;
}

/* --- レスポンシブ --- */
@media (max-width: 768px) {
  #news li {
    flex-direction: column;
  }
  #news .news-date {
    margin-bottom: 0.25rem;
	flex: 0;
  }
}




#button-group {
  display: flex;
  gap: 20px; /* ボタン間の隙間 */
  flex-wrap: wrap; /* スマホで折り返し */
  justify-content: center;
      padding: 3em 0;
}

#button-group .btn-link {
  display: flex;
    flex-direction: column; /* ここを追加 */
  align-items: center;    /* 中央揃え */
  width: 300px;
  padding: 12px 20px;
  background-color: #006400;
  color: #fff;
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: bold;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
#button-group .btn-link {
  width: 90%;
  }
}



#button-group .btn-link:hover,
#button-group .btn-link:focus {
  background-color: #004d00;
}

#button-group .btn-icon {
  width: 60px; /* アイコンのサイズ調整 */
  height: 60px;
   margin: 0 0 8px 0; /* 下にマージン */
  object-fit: contain;
}

/* レスポンシブ：スマホで幅を狭める */
@media (max-width: 480px) {
#button-group .btn-link {
    width: 100%;
    justify-content: center;
  }
}

#about-ropeway {
  position: relative;
  background: url('../../img/tairyuji/top/about-bg.jpg') no-repeat center center / cover;
  color: #000;
  padding: 3em 2em;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap; /* スマホ対応 */
  min-height: 250px; /* 適宜調整 */
   z-index: 0;/*オーバーレイ用*/
      margin: 2em 0 0 0;
}
/* オーバーレイ用 */
#about-ropeway::before {
  content: "";
  position: absolute;
  inset: 0; /* top:0; right:0; bottom:0; left:0; */
  background-color: rgba(255, 255, 255, 0.6); /* 白の半透明（調整可能） */
  z-index: -1; /* 背景より前、テキストより後ろ */
}


/* テキスト部分 */
#about-ropeway .content {
  max-width: 600px;
}

#about-ropeway .subtitle {
  color: #006400; /* 緑 */
  font-weight: 700;
  font-size: 0.9rem;
}

#about-ropeway .title {
  font-weight: 900;
  font-size: 1.8rem;
  margin: 0 0 0.5em 0;
}

#about-ropeway .description {
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

#about-ropeway .btn-detail {
  position: absolute;       /* 追加 */
  bottom: 20px;             /* 下から20px */
  right: 20px;              /* 右から20px */
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
#about-ropeway .btn-detail {
  position: static;
          margin: 0 auto;
  }
  

}



#photogallery{
margin: 5em 0 0 0;
border: 1px solid #006400;
}

#photogallery .photogallery-link{
display:flex;
align-items:center;
justify-content: space-between;
}


@media (max-width: 768px) {
#photogallery .photogallery-link{
display:block;
  }
}


#photogallery .title{color:#006400;padding: 0 0 0 2em;}

#photogallery .title h3{font-size: 2.3rem;}

#photogallery .title p{
}

#photogallery .img{width: 45%;}


@media (max-width: 768px) {
#photogallery .img{
        width: 90%;
        margin: 0 auto;
        padding: 1em 0 0 0;
  }
}













