/* BIG PAD 特徴セクションレイアウト修正版 CSS */

/* 全体の親コンテナ：横並び（左右2カラム）にする */
.wp-block-columns.bigpad {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 16px !important;
    max-width: 1000px !important;
    margin: 0 auto !important;
}

/* 左側：4つのカードをまとめるエリア */
.wp-block-columns.bigpad > .wp-block-column:first-child,
.wp-block-columns.bigpad > .wp-block-column.point {
    flex: 1.2 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}

/* 2つずつのカード行 */
.wp-block-columns.bigpad .wp-block-columns.cards {
    display: flex !important;
    gap: 16px !important;
    margin: 0 !important;
}

/* 各個別カードの浮き出るようなスタイル（シャドウと角丸） */
.wp-block-columns.bigpad .wp-block-column.card {
    flex: 1 !important;
    background: #ffffff !important;
     border: 1px solid #eee;
    border-radius: 8px;
    padding: 16px !important;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    margin: 0 !important;
}

.wp-block-columns.bigpad .wp-block-column.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px -5px rgba(0, 0, 0, 0.08) !important;
}

/* カード内部の横並び（アイコン＋テキスト） */
.wp-block-columns.bigpad .wp-block-column.card > .wp-block-columns.is-layout-flex {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 !important;
}

 アイコンサイズ調整 
.wp-block-columns.bigpad .wp-block-column.card .wp-block-image img {
    width: 45px !important;
    height: 45px !important;
    object-fit: contain !important;
    margin: 0 !important;
}

/* テキストスタイル */
.wp-block-columns.bigpad .wp-block-column.card p.wp-block-paragraph {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #0f172a !important;
    line-height: 1.4 !important;
    margin: 0 !important;
}

/* 右側：大きなイメージ画像エリア（2枚目の右側のように綺麗に枠＆影をつける） 
.wp-block-columns.bigpad > .wp-block-column:last-child {
    flex: 1.3 !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 12px !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05) !important;
}*/

.wp-block-columns.bigpad > .wp-block-column:last-child img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    border-radius: 8px !important;
}

/* レスポンシブ対応（スマホ画面では縦並びにする） */
@media (max-width: 768px) {
    .wp-block-columns.bigpad {
        flex-direction: column !important;
    }
}





/* 充実のラインナップ セクション全体 */
.lineup-section {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: sans-serif;
}

/* 見出し */
.lineup-title {
    font-size: 18px;
    font-weight: bold;
    color: #0f172a;
    margin-bottom: 20px;
}

/* カードを横並びにするコンテナ */
.lineup-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

/* 個別のカードアイテム */
.lineup-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* 枠で囲まれたサイズ表示部分 */
.lineup-box {
    width: 100%;
    max-width: 220px;
    height: 110px;
    background: #ffffff;
    border: 2px solid #1e3a8a; /* 濃い青色の枠線 */
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    margin-bottom: 12px;
}

/* サイズの文字数字 */
.lineup-box .size {
    font-size: 32px;
    font-weight: bold;
    color: #1e3a8a;
}

/* 「V型」の文字 */
.lineup-box .unit {
    font-size: 16px;
    font-weight: bold;
    margin-left: 2px;
}

/* 下部の説明文 */
.lineup-desc {
    font-size: 13px;
    color: #334155;
    font-weight: 600;
    margin: 0;
}

/* スマホ対応（縦並びにする） */
@media (max-width: 768px) {
    .lineup-container {
        flex-direction: column;
        align-items: center;
    }
    .lineup-box {
        max-width: 100%;
    }
}







/* 全体を2列に並べるコンテナ */
.pb-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  max-width: 660px;
  margin: 0 auto;
}

/* 全体を2列に並べるコンテナ */
.pb-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  max-width: 660px;
  margin: 0 auto;
}

/* 各カードの枠（相対位置の基準） */
.pbBack {
  width: 315px;
  position: relative;
  box-sizing: border-box;
}

/* 背景となる画像を綺麗に表示する設定 */
.pb-bg-img {
  width: 100%;
  height: auto;
  display: block;
}

/* ユーザー様の文字配置設定をそのまま適用 */
.bpTitleLeft{
  text-align: center;
  width: 75px;
  position: absolute;
  margin-left: 20px;
  margin-top: -205px;
  color: white;
  font-weight: bold;
}

.bpTitleRight{
  text-align: center;
  width: 75px;
  position: absolute;
  margin-left: 218px;
  margin-top: -205px;
  color: white;
  font-weight: bold;
}

.bpDetailLeft{
  position: absolute;
  width: 140px;
  height: 50px;
  margin-left: 16px;
  margin-top: -69px;
  color: white;
  font-size: 10.5px;
}

.bpDetailRight{
  position: absolute;
  width: 140px;
  height: 50px;
  margin-left: 163px;
  margin-top: -69px;
  color: white;
  font-size: 10.5px;
}

.bpPointBLeft{
  position: absolute;
  width: 210px;
  height: 20px;
  margin-left: 110px;
  margin-top: -210px;
  font-weight: bold;
  font-size: 16px;
}

.bpPointBRight{
  position: absolute;
  width: 210px;
  height: 20px;
  margin-left: 5px;
  margin-top: -210px;
  font-weight: bold;
  font-size: 16px;
}

.bpPointSLeft{
  position: absolute;
  width: 200px;
  height: 20px;
  margin-left: 110px;
  margin-top: -185px;
  font-size: 10.5px;
}

.bpPointSRight{
  position: absolute;
  width: 200px;
  height: 20px;
  margin-left: 5px;
  margin-top: -185px;
  font-size: 10.5px;
}







.connect_text{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 15px;
/*    color: #ffffff;*/
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    /*background: linear-gradient(to left, #8c8c8c, #383838);*/
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    transition: transform 0.2s;
    margin-bottom: 10px !important;
    margin-top: 10px !important;
}
.left{
	margin-left: 10px !important;
	margin-right: 0 !important;
}
.right{
	margin-right: 10px !important;
	margin-left: 0 !important;
}
/* 左右の説明文カラムの高さを自動で揃える設定 */
connect_card .card1 .wp-block-columns {
    display: flex;
    align-items: stretch; /* 左右の高さを自動的に合わせる */
}

/* カラムの中身（pタグや連結部分）を縦いっぱいに広げる */
.connect_card .card1 .wp-block-columns > .wp-block-column {
    display: flex;
    flex-direction: column;
}

.connect_card .card1 .wp-block-columns > .wp-block-column > p {
    flex: 1; /* 高さを均等に引き伸ばす */
}
/* グレーの丸バッジのスタイル */
.scene-badge {
    position: absolute;
    top: 5px;   /* カードの上からの位置 */
    left: 5px;  /* カードの左からの位置 */
    width: 60px;
    height: 60px;
    background-color: #7b7b7b; /* 落ち着いたグレー */
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    z-index: 2; /* 文字の下に潜り込まないようにする */
}
.badge-offset {
	padding-right:10px;
	padding-left:70px !important;
	margin-left: 0 !important;
	text-align:left !important;
}
