@charset "UTF-8";

/*!
Theme Name: Simplicity2 child
Template:   simplicity2
Version:    20161002
*/

/* Simplicity子テーマ用のスタイルを書く */
#header-kotei {
  background: #fff;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 199999;
}

/* 既存の1列600pxにする場合は不要。綺麗に見せたい場合のみ追加CSS等へ */
.tomozou-yt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 2rem;
}

.tomozou-yt-item {
    margin: 0 !important;
    width: 100% !important;
}

.tomozou-yt-item img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}

.tomozou-yt-item figcaption {
    margin-top: 8px;
    font-size: 0.95rem;
    line-height: 1.4;
}