@charset "utf-8";
/*
Theme Name: TREE Child
Theme URI: https://tcd-theme.com/tcd081
Description: WordPress theme "TREE" Child Theme - Custom Post Type Information & Content Builder
Template: カジュアル
Author: TCD
Author URI: https://tcd-theme.com/
Version: 1.0.0
Text Domain: tcd-tree-child
*/

/* ==========================================================================
   Information List Styles (Frontend No-Image List)
   Format: Column 1 Date | Column 2 Title / Description with line
   ========================================================================== */

.information_archive_list {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto 50px;
  border-top: 1px solid #e0e0e0;
}

.index_information_list .information_archive_list {
  margin-bottom: 20px;
}

.information_list_item {
  display: flex;
  align-items: flex-start;
  padding: 24px 10px;
  border-bottom: 1px solid #e0e0e0;
  box-sizing: border-box;
  transition: background-color 0.2s ease;
}

.information_list_item:hover {
  background-color: #faf9f8;
}

.information_col_date {
  flex: 0 0 170px;
  max-width: 170px;
  padding-right: 25px;
  box-sizing: border-box;
}

.information_date {
  font-size: 14px;
  font-weight: 700;
  color: #333;
  line-height: 1.5;
  display: block;
  letter-spacing: 0.05em;
}

.information_category_badge {
  display: inline-block;
  font-size: 11px;
  padding: 2px 8px;
  background-color: #828282;
  color: #fff !important;
  border-radius: 2px;
  margin-top: 6px;
  line-height: 1.4;
  text-decoration: none;
  font-weight: 500;
}

.information_category_badge:hover {
  opacity: 0.85;
}

.information_col_content {
  flex: 1 1 auto;
  min-width: 0;
}

.information_title {
  margin: 0 0 8px 0;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 600;
}

.information_title a {
  color: #222;
  text-decoration: none;
  transition: color 0.2s ease;
}

.information_desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #666;
  word-break: break-word;
}

#page_header .headline .main * {
  font-size: 24px !important;
}

/* Category Filter Tabs */
.information_category_list ul li a.active {
  background: #828282;
  color: #fff;
}

/* ==========================================================================
   Front Page Information List (Match Image: Date | Title / Description with line)
   ========================================================================== */
.index_information_post_list .post_list_area {
  padding-bottom: 40px;
}

.front_information_list {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
}

.front_information_item {
  display: flex;
  align-items: flex-start;
  padding: 20px 10px;
  border-bottom: 1px solid #cdcdcd;
  box-sizing: border-box;
}

.front_info_date_col {
  flex: 0 0 auto;
  display: flex;
  align-items: baseline;
  white-space: nowrap;
  margin-right: 14px;
}

.front_info_date {
  font-family: inherit;
  font-size: 16px;
  color: #111;
  letter-spacing: 0.04em;
  line-height: 1.6;
}

.front_info_separator {
  margin-left: 12px;
  color: #333;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.6;
}

.front_info_content_col {
  flex: 1 1 auto;
  min-width: 0;
}

.front_info_title {
  margin: 0 0 6px 0;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 600;
}

.front_info_title a {
  color: #111;
  text-decoration: none;
  transition: color 0.2s ease;
}

.front_info_desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: #222;
  word-break: break-word;
}

.front_info_desc a {
  color: #111;
  text-decoration: underline;
  font-weight: 600;
}


/* Single Information Banner / Ad Blocks */
.single_banner {
  margin: 35px auto;
  text-align: center;
}

.single_banner img.single_banner_image {
  max-width: 100%;
  height: auto;
  display: inline-block;
  vertical-align: middle;
}

.single_banner_top {
  margin-top: 15px;
  margin-bottom: 30px;
}

.single_banner_bottom {
  margin-top: 30px;
  margin-bottom: 20px;
}

@media screen and (max-width: 750px) {
  .front_information_item {
    padding: 16px 0;
  }

  .front_info_date {
    font-size: 14px;
  }

  .front_info_separator {
    margin-left: 8px;
    font-size: 14px;
  }

  .front_info_title {
    font-size: 14px;
    margin-bottom: 4px;
  }

  .front_info_desc {
    font-size: 13px;
    line-height: 1.65;
  }

  .information_list_item {
    flex-direction: column;
    padding: 16px 5px;
  }

  .information_col_date {
    flex: none;
    max-width: 100%;
    width: 100%;
    margin-bottom: 8px;
    padding-right: 0;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .information_category_badge {
    margin-top: 0;
  }

  .information_title {
    font-size: 15px;
    margin-bottom: 6px;
  }

  .information_desc {
    font-size: 13px;
    line-height: 1.6;
  }
}

@media screen and (max-width: 480px) {
  .front_information_item {
    flex-direction: column;
  }

  .front_info_date_col {
    margin-right: 0;
    margin-bottom: 4px;
  }

  .front_info_separator {
    display: none;
  }
}

/* Information Archive - Limit description to 4 lines */
.information_archive_list .information_desc {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Optional: hide read more link when not needed (handled via JS) */