@charset "UTF-8";

/* 施設概要など：h2セクション見出しを見やすく（左ライン・余白） */
.page-business.-recycle .p-detail__copyTitle {
  text-align: left;
  padding: 0.4em 0 0.4em 16px;
  border-left: 4px solid #28a838;
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
  font-weight: 700;
  color: #222;
}
.page-business.-recycle .p-detail__copyTitle:first-of-type {
  margin-top: 0;
}

/* ニュース：縦長画像を中央に、見切れないように表示 */
.p-detail__flex.-center.-vertical {
  justify-content: center;
}
.p-detail__flex.-center.-vertical .p-detail__flexinner {
  width: auto;
  max-width: 480px;
}
.p-detail__flex.-center.-vertical .p-detail__flexinner img {
  width: auto;
  max-width: 100%;
  height: auto;
  aspect-ratio: unset;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

/* リサイクル：有機・無機汚泥の写真を隣同士同じ高さに揃える */
.p-detail__flex.-sameheight .p-detail__flexinner img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

@media (min-width: 48em) {
  .p-top {
    display: block;
    top: 10%;
  }
  .p-top__mainRow {
      display: flex;
  }
  .l-footer__text {
      float: none;
  }
  .l-footer__row {
    display: block;
  }
  .main-visual-container{
    height:100vh;
    overflow:hidden;
  }
}

.box-01 {
    margin: 10px;
    padding: 20px;
    border: 2px solid #da4033;
    border-radius: 8px;
	position:relative;
	
}
.box-01::before {
    background-color: #fff;
    color: #da4033;
    content: "統合・移転のお知らせ";
    font-weight: bold;
    position: absolute;
    padding: 0 10px;
    left: 10px;
    top: -10px;
}
.box-01 a.attention {
    color: white;
}
/* カードリスト：Flexで高さを揃える */
.p-cardList__row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.p-cardList__item.col3 {
  flex: 1 1 calc(33.333% - 16px);
  box-sizing: border-box;
  display: flex;
}

.c-card.-column {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* カード内容を均等に並べる */
.c-card__texts {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* レスポンシブ調整：スマホで縦並び */
@media (max-width: 768px) {
  .p-cardList__item.col3 {
    flex: 1 1 100%;
  }
}
/* ================================================
   イベントページ専用スタイル
   ================================================ */

/* メインビジュアル */
.event-hero {
    position: relative;
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
}

.event-hero-image {
    width: 100%;
    height: 67px;
    object-fit: cover;
}

.event-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 51, 102, 0.8));
    color: white;
    padding: 30px 20px 20px;
}

.event-hero-overlay h3 {
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: bold;
}

.event-hero-overlay p {
    font-size: 16px;
    margin: 0;
}

/* イベントカード */
.event-card {
    display: flex;
    margin: 30px 0;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.event-card-image {
    position: relative;
    flex-shrink: 0;
    width: 200px;
}

.event-card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.event-date-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #003366;
    color: white;
    padding: 8px;
    border-radius: 6px;
    text-align: center;
    font-weight: bold;
}

.event-date-badge .month {
    display: block;
    font-size: 12px;
}

.event-date-badge .day {
    display: block;
    font-size: 18px;
    line-height: 1;
}

.event-card-content {
    flex: 1;
    padding: 20px;
}

.event-card-content h4 {
    color: #003366;
    font-size: 18px;
    margin-bottom: 15px;
}

.event-info {
    margin: 15px 0;
}

.event-info p {
    margin: 5px 0;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.event-info i {
    color: #003366;
    width: 16px;
}

.event-topics {
    margin-top: 15px;
}

.topic-tag {
    display: inline-block;
    background: #f0f5ff;
    color: #003366;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    margin-right: 8px;
    margin-bottom: 4px;
}

/* 過去のイベントギャラリー */
.past-events-gallery {
    margin: 40px 0;
}

.past-events-gallery h4 {
    color: #003366;
    margin-bottom: 20px;
    font-size: 18px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.gallery-item {
    text-align: center;
}

.gallery-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 8px;
}

.gallery-item p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* 定期開催情報 */
.regular-events-section {
    margin: 40px 0;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.regular-events-section h4 {
    color: #003366;
    margin-bottom: 20px;
    text-align: center;
}

.regular-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.regular-event-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: white;
    border-radius: 6px;
}

.regular-event-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: #003366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.regular-event-content h5 {
    color: #003366;
    margin-bottom: 8px;
    font-size: 16px;
}

.regular-event-content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}

/* 講師紹介 */
.speaker-section {
    margin: 40px 0;
    padding: 30px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.speaker-section h4 {
    color: #003366;
    margin-bottom: 25px;
    text-align: center;
    font-size: 20px;
}

.speaker-profile {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.speaker-image {
    flex-shrink: 0;
    width: 150px;
}

.speaker-image img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #f0f0f0;
}

.speaker-info h5 {
    color: #003366;
    font-size: 20px;
    margin-bottom: 8px;
    font-weight: bold;
}

.speaker-title {
    color: #666;
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: bold;
    border-bottom: 2px solid #003366;
    padding-bottom: 8px;
    display: inline-block;
}

.speaker-description {
    margin-bottom: 20px;
}

.speaker-description p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 12px;
    color: #333;
}

.speaker-achievements {
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
}

.speaker-achievements h6 {
    color: #003366;
    font-size: 14px;
    margin-bottom: 10px;
    font-weight: bold;
}

.speaker-achievements ul {
    margin: 0;
    padding-left: 18px;
}

.speaker-achievements li {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 6px;
    color: #555;
}

.speaker-quote {
    padding: 15px;
    background: linear-gradient(135deg, #f0f5ff 0%, #e6f2ff 100%);
    border-left: 4px solid #003366;
    border-radius: 6px;
    position: relative;
}

.speaker-quote::before {
    content: '"';
    font-size: 40px;
    color: #003366;
    position: absolute;
    top: -5px;
    left: 10px;
    font-family: serif;
}

.speaker-quote p {
    font-size: 14px;
    line-height: 1.6;
    color: #003366;
    margin: 0;
    padding-left: 20px;
    font-style: italic;
}

/* お問い合わせセクション */
.contact-info-section {
    margin: 40px 0;
    padding: 20px;
    background: #f5f5f5;
    border-radius: 8px;
}

.contact-info-section h4 {
    color: #003366;
    margin-bottom: 15px;
}

.contact-details {
    margin-top: 15px;
    padding: 15px;
    background: white;
    border-radius: 6px;
}

.contact-details i {
    color: #003366;
    margin-right: 8px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .event-hero-overlay {
        padding: 20px 15px 15px;
    }
    
    .event-hero-overlay h3 {
        font-size: 20px;
    }
    
    .event-card {
        flex-direction: column;
    }
    
    .event-card-image {
        width: 100%;
    }
    
    .event-card-image img {
        height: 150px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .regular-events-grid {
        grid-template-columns: 1fr;
    }
    
    .speaker-profile {
        flex-direction: column;
        text-align: center;
    }
    
    .speaker-image {
        width: 100px;
        align-self: center;
    }
}