/*
 Theme Name: Twenty Twenty-Five Child
 Template: twentytwentyfive
 Description: Child theme for Twenty Twenty-Five. Adds custom styles for WordPress Popular Posts (WPP) 3-column grid.
 Version: 1.0.0
 Author: ChatGPT
 Text Domain: twentytwentyfive-child
*/

*{
	box-sizing:border-box !important;
}
/* ================================
   記事タイトル（WPP / Latest）:
   ================================ */
a{
  font-weight: 600 !important;
  text-decoration: none !important;
}


/* ================================
   WPP: 3-column grid (center section)
   ================================ */
.wpp-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  list-style: none;
  padding: 0;
}
.wpp-grid__item img{
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}
.wpp-thumbnail{ margin: 0; }
.wpp-grid__title{
  display: block;
  margin-top: 0.5rem;
  line-height: 1.4;
}
.wpp-grid__meta{ font-size: 0.85rem; opacity: 0.7; }


/* ================================
   Constrained layout override (site-wide)
   ================================ */
.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)){
  max-width: 1400px;
  margin-bottom: 96px;
}
/* フローティングLINEボタン */
.line-session-btn{
  position: fixed;
  right: 16px;
  bottom: 0;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;                 /* アイコンとテキストの間隔 */
  width: 164px;
  height: 64px;
  box-sizing: border-box;   /* paddingを含めて高さ64pxに収める */
  padding: 16px;
  border-radius: 16px 16px 0 0;
  background: #fff;         /* 背景白 */
  color: #000;              /* テキスト黒 */
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0,0,0,.18); /* 任意：白背景を浮かせる */
}
.line-session-btn__icon{
  width: 32px;              /* アイコン32x32 */
  height: 32px;
  display: block;
  flex: 0 0 auto;
  object-fit: contain;
}
.line-session-btn__label{
  line-height: 1;
}
.line-session-btn:hover{
  opacity: .9;
  text-decoration: none;
}

@media (max-width: 480px){
  .line-session-btn{
    right: 12px;
  }
}



