/*
Theme Name: Twenty Twenty-Five Child
Theme URI: https://wordpress.org/themes/twentytwentyfive/
Template: twentytwentyfive
Author: the WordPress team
Author URI: https://wordpress.org
Description: Twenty Twenty-Five emphasizes simplicity and adaptability. It offers flexible design options, supported by a variety of patterns for different page types, such as services and landing pages, making it ideal for building personal blogs, professional portfolios, online magazines, or business websites. Its templates cater to various blog styles, from text-focused to image-heavy layouts. Additionally, it supports international typography and diverse color palettes, ensuring accessibility and customization for users worldwide.
Tags: one-column,custom-colors,custom-menu,custom-logo,editor-style,featured-images,full-site-editing,block-patterns,rtl-language-support,sticky-post,threaded-comments,translation-ready,wide-blocks,block-styles,style-variations,accessibility-ready,blog,portfolio,news
Version: 1.5.1779883896
Updated: 2026-05-27 21:11:36

*//* ===== FANZA風 グリッドレイアウト ===== */

body {
  background-color: #ffffff;
  color: #333333;
  font-family: 'Helvetica Neue', Arial, sans-serif;
}

/* ヘッダー */
.wp-block-template-part {
  background-color: #ffffff;
  border-bottom: 2px solid #e60033;
}

/* 投稿一覧グリッド */
.wp-block-post-template {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 12px !important;
  padding: 12px !important;
}

/* 各投稿カード */
.wp-block-post {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.2s;
}

.wp-block-post:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* サムネイル（トップページ用） */
.home .wp-block-post-featured-image img {
  width: 100%;
  height: 200px !important;
  aspect-ratio: unset !important;
  object-fit: cover;
}

/* タイトル */
.wp-block-post-title a {
  font-size: 12px !important;
  color: #333 !important;
  text-decoration: none;
  padding: 4px 6px;
  display: block;
}

/* リンク・アクセントカラー */
a {
  color: #e60033;
}

a:hover {
  color: #cc0029;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .wp-block-post-template {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .home .wp-block-post-featured-image img {
    height: 150px !important;
  }
}
/* ===== 商品紹介ページ調整 ===== */

/* 全体の文字サイズを小さく */
.video-detail p {
  font-size: 13px;
  line-height: 1.6;
}

.video-detail strong {
  font-size: 13px;
}

/* サンプル画像を小さく */
.sample-images img {
  width: calc(25% - 6px) !important;
  max-width: 120px !important;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border 0.2s;
}

.sample-images img:hover {
  border: 2px solid #e60033;
}

/* メイン画像 */
.main-image img {
  max-width: 100% !important;
  width: 100% !important;
  height: auto !important;
}


/* タイトルを13文字で切る（トップページのみ） */
.home .wp-block-post-title {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 13em;
}
/* 記事ページのアイキャッチ画像を非表示 */
.single .wp-block-post-featured-image {
    display: none;
}