@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* ===================================================
   両サイドバーレイアウト（左サイドバー＋メイン＋右サイドバー）
   =================================================== */

@media (min-width: 1025px) {
  #content.l-content {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 24px;
  }

  #my-left-sidebar {
    width: 220px;
    flex-shrink: 0;
    order: 1;
  }

  #main_content.l-mainContent {
    flex: 1;
    min-width: 0;
    order: 2;
  }

  #sidebar.l-sidebar {
    width: 220px;
    flex-shrink: 0;
    order: 3;
  }
}

@media (max-width: 1024px) {
  #my-left-sidebar {
    display: none;
  }
}

/* ===================================================
   記事タイル：タイトル左上、サブタイトル右上レイアウト
   =================================================== */

.card-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 6px;
  width: 100%;
}

.card-title-row .p-card__title,
.card-title-row h3,
.card-title-row h2 {
  flex: 1;
  min-width: 0;
  margin-bottom: 0;
}

.card-subtitle {
  font-size: 0.7em;
  color: #888;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 42%;
  padding-top: 3px;
  text-align: right;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .card-title-row {
    flex-direction: column;
    gap: 2px;
  }
  .card-subtitle {
    max-width: 100%;
    text-align: left;
    white-space: normal;
    font-size: 0.65em;
  }
}
