/*
Theme Name: Lightning Child
Theme URI: https://lightning.vektor-inc.co.jp/en/
Template: lightning
Author: Vektor,Inc.
Author URI: https://www.vektor-inc.co.jp
Description: Lightning is a very simple &amp; easy to customize theme which is based on the Bootstrap. It is also very friendly with custom post types and custom taxonomies. When you add a new one, the breadcrumbs will be adjusted and posts will look beautifully without editing or adding a template files.
Tags: blog,one-column,custom-background,custom-colors,custom-logo,custom-menu,editor-style,featured-images,footer-widgets,full-width-template,sticky-post,theme-options,threaded-comments,translation-ready,block-styles,wide-blocks
Version: 15.29.6.1747472144
Updated: 2025-05-17 17:55:44

*/

img.auto-featured-image {
  border-radius: 6px;
  display: block;
  width: 100%;
  height: auto;
}

/* 投稿がある日のセルの背景色を変更 */
#wp-calendar td a {
  display: block;
  background-color: #37474F; /* 添付画像の色 */
  color: #ffffff;            /* 日付の文字色を白に */
  font-weight: bold;         /* 太文字 */
  text-align: center;
  border-radius: 4px;
  padding: 4px;
}

/* カーソルホバー時の装飾（任意） */
#wp-calendar td a:hover {
  background-color: #546E7A; /* 少し明るめの青でホバー感出す */
}

/* 枠線やテイストの調整 */
#wp-calendar {
  border-collapse: collapse;
  width: 100%;
  font-family: sans-serif;
}

#wp-calendar th,
#wp-calendar td {
  border: 1px solid #ccc;
  padding: 6px;
  text-align: center;
}

/* 今日の日付（id="today"）の装飾が被らないようにリセット */
#wp-calendar td#today a {
  background-color: #FF7043; /* 例：今日の日付はオレンジに */
  color: #fff;
}


/* ===== アイキャッチ画像の丸み・フィット調整 ===== */
img.auto-featured-image {
  border-radius: 6px;
  display: block;
  width: 100%;
  height: auto;
}

/* ===== カレンダーの投稿日装飾 ===== */
#wp-calendar td a {
  display: block;
  background-color: #37474F;
  color: #ffffff;
  font-weight: bold;
  text-align: center;
  border-radius: 4px;
  padding: 4px;
}

#wp-calendar td a:hover {
  background-color: #546E7A;
}

#wp-calendar {
  border-collapse: collapse;
  width: 100%;
  font-family: sans-serif;
}

#wp-calendar th,
#wp-calendar td {
  border: 1px solid #ccc;
  padding: 6px;
  text-align: center;
}

#wp-calendar td#today a {
  background-color: #FF7043;
  color: #fff;
}

/* --- PCサイズ（デフォルト高さ300px） --- */
.lightning_swiper {
  height: 300px !important;
  max-height: 300px !important;
  overflow: hidden;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightning_swiper .ltg-slide-item-img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain !important;
  object-position: center center;
  display: block;
  margin: 0 auto;
}

/* --- タブレット（～767px） --- */
@media (max-width: 767px) {
  .lightning_swiper {
    height: 220px !important;
    max-height: 220px !important;
  }
}

/* --- スマホ（～479px） --- */
@media (max-width: 479px) {
  .lightning_swiper {
    height: 160px !important;
    max-height: 160px !important;
  }
}