/* =========================================
   TOP_画像下のメニューボタン
   ========================================= */




/*ホバー時*/
.top-shadow:hover {
  background-color: rgba(255, 255, 255, 0.15);
}
.top-shadow:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}
.top-shadow {
  transition: 
    opacity 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}


/*ボタン２つ左右の余白*/
.wp-site-blocks,
body .is-layout-constrained {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/*カラム内コンテンツ中央寄せ*/
.topmenu1 {
  display: flex;
  justify-content: center;
}

/*サイズ*/
/* =========================================
   TOP_画像下のメニューボタン
   ========================================= */
.menutext {
  color: #fff;
  line-height: 1;
}

.btext {
  font-size: 11px !important;
  color: #fff;
  font-weight: 100 !important;
}

/* ドロップシャドウ */
.top-shadow {
  box-shadow:
    2.5px 2.5px 4px rgba(0, 0, 0, 0.32),
    0 1px 0 rgba(0, 0, 0, 0.06);
  padding-top: 13px !important;
  padding-bottom: 10px !important;
  border-radius: 2px;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

/* ホバー時 */
.top-shadow:hover {
  background-color: rgba(255, 255, 255, 0.15);
  opacity: 0.85;
  transform: translateY(-1px);
}

/* 左右余白リセット */
.wp-site-blocks,
body .is-layout-constrained {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* =========================================
   PC（半分サイズ）
   ========================================= */
/* PC（スマホ比の半分） */
@media (min-width: 768px) {
  .topmenu1 {
    display: flex;
    justify-content: center;
    column-gap: 3.214%;
    row-gap: 1.012%;
  }

  .topmenu1 > .wp-block-column {
    flex: 0 0 21.429% !important;
    max-width: 21.429% !important;
  }

  .topmenu1 > .wp-block-column > .wp-block-cover {
    min-height: 0 !important;
    aspect-ratio: 180 / 65 !important;
  }

  .topmenu1 > .wp-block-column > * {
    height: 100%;
  }
}

/* スマホ */
@media (max-width: 767px) {

  .wp-block-cover__inner-container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .news-cover > .wp-block-cover__inner-container {
    padding-left: 5px !important;
    padding-right: 5px !important;
  }

  .topmenu1 {
    display: flex;
    justify-content: center;
    column-gap: 6.429%;
    row-gap: 2.024%;
  }

  .topmenu1 > .wp-block-column {
    flex: 0 0 42.857% !important;
    max-width: 42.857% !important;
  }

  .topmenu1 > .wp-block-column > .wp-block-cover {
    min-height: 0 !important;
    aspect-ratio: 180 / 65 !important;
  }

  .topmenu1 > .wp-block-column > * {
    height: 100%;
  }
}



/* =========================================
   TOPページ_NEWS欄
   ========================================= */


   /* Dancing Script を細くする */
.font-dancing{
  font-weight: 400 !important; /* 400（最細） */
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.01em;
   }

   h2.font-dancing {
        font-size: 22px  !important;
   }


/* News見出し：文字も線も中央固定 */
.news.short-line{
  display: block;              /* inline-block をやめる */
  width: 100%;
  text-align: center !important;
  margin: 0 auto;
  padding-bottom: 0px;
  line-height: 1.3;
}

/* 短い線 */
.news.short-line::after{
  content: "";
  display: block;
  width: 50px;
  height: 1px;
  background-color: #c6b6a6;
  margin: 0px auto 0;         /* ←線は中央 */
}


/*info-list全体の余白調整*/
.info-list {
  padding-top: 10px !important;
  padding-bottom: 0px !important;
}

/* info-list（区切り線スタイル）の余白調整 */
.info-list.is-style-divider-line {
  padding-bottom: 10px;
  padding-top: 0px;
}

/*タイトル日付等の位置調整*/
.info-list-item-content {
   margin-bottom: 0px !important;
   font-size: 14px !important;
   line-height: 1.5 !important;
}

span.info-list-item-date {
   margin-right: 10px !important;
}

/* NEWS 各記事ブロックの上下余白を調整 */
.info-list-item {
  padding-top: 3px !important;
  padding-bottom: 5px !important;
}

/* NEWS 各記事の区切り線（記事の下） */
.info-list-item {
  border-bottom: 1px solid #e0e0e0;
}

/* NEWS一覧：1番上にも区切り線を表示 */
#content .info-list .info-list-item:first-child {
  border-top: 1px solid #e0e0e0 !important;
}

/* カテゴリーページ 一番上の区切り線 */
body.category .info-list-item:first-child {
  border-top: none !important;
  position: relative;
}

/* NEWS一覧：タイトル左右に余白 */
#content .info-list .info-list-item-content{
  padding: 0 16px !important; /* ← 好みで 12 / 16 / 20 */
  padding-left: 22px !important;
  box-sizing: border-box;
}

/* TOPニュースのカテゴリラベル縦中央 */
.info-list-item-categorys {
  display: inline-flex;
  align-items: center;
}

.info-list-item-categorys .entry-category{
  display: inline-flex !important;
  align-items: center;
  line-height: 1px;
  height: 15px !important;
}

/* 日付＋カテゴリ行にも左右余白を付与 */
#content .info-list .info-list-item-meta{
  padding: 0 16px;
  padding-left: 22px !important;
  box-sizing: border-box;
}ß


/* NEWS一覧：全体左右の余白をなくす */
#content .info-list{
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 8px;
}

/* NEWS一覧：各記事の上下余白をなくす */
#content .info-list-item{
  padding-top: 2px;
  padding-bottom: 5px;
}

/* NEWS一覧：記事タイトルリンクだけを全体化 */
.doux-newsitem{
  position: relative;
}

.doux-newsitem h2 a,
.doux-newsitem h3 a{
  position: static;
}

.doux-newsitem h2 a::after,
.doux-newsitem h3 a::after{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 10;
}

/*newsカテゴリラベルの余白*/
.entry-category {
  padding: 0px 5px !important;
}


/*全体の余白*/
.info-list-box.block-box {
   margin-bottom: 0px;
}

.viewmore {
   font-size: 10px !important;
   margin-bottom: 5% !important;
}

ß
/*カテゴリラベルの文字サイズ*/
.entry-category{
  font-size: 8px !important;
}

/* ===============================
/*日付・カテゴリーラベルの位置調整
==================================*/

.info-list-item-date{
  position: relative !important;
  top: 2.5px !important;
}

.info-list-item-meta {
  line-height: 1.5px !important;
  font-size: 10px !important;
}

/*カテゴリーラベルのサイズ調整*/
/* カテゴリーラベルを上下細くする */
.info-list-box .info-list-item-categories .entry-category {
  height: 16px !important;
  line-height: 14px !important;
  padding: 0 5px !important;
  box-sizing: border-box !important;
}

