/*
Theme Name: Lightning Child
Theme URI: 
Template: lightning
Description: 
Author: 
Tags: 
Version: 0.6.0
*/

/* スマホ フォントサイズ*/
@media (max-width: 768px) {
    body,
    p,
    .entry-content {
        font-size: 16px !important;
    }
}
/* メニュー */

/* モバイルメニュー */
@media (max-width: 768px) {
    .vk-mobile-nav-menu-btn {
        width: 50px !important;
        height: 50px !important;
    }
    .vk-mobile-nav-menu-btn span,
    .vk-mobile-nav-menu-btn span::before,
    .vk-mobile-nav-menu-btn span::after {
        width: 28px !important;
    }
	.vk-mobile-nav-menu-btn {
    border-color: #999 !important;
    background: var(--vk-mobile-nav-menu-btn-bg-src) center 50% no-repeat rgba(255, 255, 255, .4);
}
}
/* FVキャッチコピー：スマホ調整 */
@media (max-width: 599px) {
  /* メインキャッチ */
  .main-catch {
    font-size: 2.7rem !important;
    line-height: 1.5 !important;
  }
  
  /* ％の文字サイズも調整 */
  .main-catch .vk_inline-font-size {
    font-size: 1.6rem !important;
  }
  
  /* HANSHIN AREA */
  .vk_animation .has-large-font-size {
    font-size: 14px !important;
  }
  
  /* サブコピー（阪神間エリア限定〜） */
  .vk_animation > p.has-large-font-size {
    font-size: 14px !important;
    line-height: 1.6 !important;
  }
  
  /* FV上部の余白を調整 */
  .vk_spacer-display-mobile {
    margin-top: 6em !important;
  }
}
@media (max-width: 599px) {
  figure.header-logo {
    max-width: 220px !important;
  }
  
  figure.header-logo img {
    width: 100% !important;
    max-width: 220px !important;
    height: auto !important;
  }
}
@media (max-width: 599px) {
  /* カバーブロック内のスペーサーを縮小 */
  .wp-block-cover__inner-container .vk_spacer-type-margin-top .vk_spacer-display-mobile {
    margin-top: 2em !important;
  }
  
  /* ボタン行の下のスペーサーを消す */
  .wp-block-cover__inner-container .wp-block-columns + .vk_spacer {
    display: none !important;
  }
}
/* ===========================
   比較表
=========================== */
.comparison-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 0px;
  font-family: 'Noto Sans JP', sans-serif;
}

/* ヘッダー行 */
.comparison-header {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.comparison-header-item {
  flex: 1;
  padding: 14px 8px;
  text-align: center;
  font-size: 15px;
  font-weight: 500;
  border-radius: 6px;
  background: #f5f5f5;
  color: #333;
}

.comparison-header-item.bg-gray {
  background: #c0c0c0;
  color: #333;
}

.comparison-header-item.bg-black {
  background: #1a1a1a;
  color: #fff;
}

.comparison-header-item.bg-navy {
  background: #1e3a5f;
  color: #fff;
}

/* データ行 */
.comparison-row {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.comparison-cell {
  flex: 1;
  padding: 20px 8px;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid #eee;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* 各セルのスタイル */
.price-cell {
  background: #fafafa;
  color: #333;
}

.normal-cell {
  background: #f0f0f0;
  color: #666;
}

.service-cell {
  background: #1a1a1a;
  color: #fff;
  border: none;
}

.saving-cell {
  background: linear-gradient(135deg, #1e3a5f 0%, #2a4a6f 100%);
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  border: none;
  position: relative;
}

.saving-cell .unit {
  font-size: 14px;
  font-weight: 500;
}

.saving-cell .saving-label {
  display: block;
  font-size: 10px;
  font-weight: 500;
  margin-top: 4px;
  opacity: 0.85;
}

/* 一番お得な行をハイライト */
.saving-cell.highlight {
  background: linear-gradient(135deg, #1e3a5f 0%, #3a5a7f 100%);
  box-shadow: 0 4px 16px rgba(30, 58, 95, 0.3);
  transform: scale(1.03);
}

/* 注釈 */
.comparison-note {
  font-size: 12px;
  color: #888;
  text-align: center;
  margin-top: 16px;
}

/*   スマホ対応　 */
@media (max-width: 599px) {
  .comparison-section {
    padding: 10px 0px;
  }
  
  .comparison-header {
    gap: 4px;
    margin-bottom: 8px;
  }
  
  .comparison-header-item {
    padding: 10px 4px;
    font-size: 10px;
    border-radius: 4px;
  }
  
  .comparison-row {
    gap: 4px;
    margin-bottom: 6px;
  }
  
  .comparison-cell {
    padding: 14px 4px;
    font-size: 12px;
    border-radius: 6px;
  }
  
  .saving-cell {
    font-size: 16px;
  }
  
  .saving-cell .unit {
    font-size: 10px;
  }
  
  .saving-cell .saving-label {
    font-size: 8px;
  }
  
  .saving-cell.highlight {
    transform: scale(1.02);
  }
}

/* ===========================
   FLOW
=========================== */
/* ラージモニター：5列表示 */
@media (min-width: 1400px) {
  .vk_gridColumn .row > .vk_gridColumn_item {
    flex: 0 0 20%;
    max-width: 20%;
  }
}

/* ===========================
   フローティングボタン
=========================== */
.bfb_view_pc a.bfb_btn, .bfb_view_pc a.bfb_btn2 {
    display: inline-block;
    vertical-align: middle;
    padding: 10px 20px;
    margin: 0 auto;
    max-width: 300px;
    box-sizing: border-box;
    background: #f5f5f5;
    background: -moz-linear-gradient(top, #f5f5f5 0%, #fff 100%);
    background: -webkit-linear-gradient(top, #f5f5f5 0%, #fff 100%);
    background: linear-gradient(to bottom, #f5f5f5 0%, #fff 100%);
	border-bottom: none !important;
}

/* ========================================
   form
======================================== */
input[type="password"], input[type="tel"], input[type="text"], input[type="url"], select, textarea {
  font-size: 1rem;
  border: 1px solid var(--vk-color-border-form);
  border-radius: var(--vk-size-radius);
  padding:.8em 1em;
  margin:0 0 0.5rem;
  width:100%;	
  color: var(--vk-color-text-body);
  background-color: #fff;
}
input[type="number"] {
  font-size: 1rem;
  border: 1px solid var(--vk-color-border-form);
  border-radius: var(--vk-size-radius);
  padding:.8em 1em;
  width:100px;
  margin:0 0 .5rem;
  color: var(--vk-color-text-body);
  background-color: #fff;
}
.searchform input[type="submit"] {
  margin: 0 0 0.5rem;
}
.submit{
	margin:20px auto;
	text-align:center;
}
.form p{
	margin-bottom:0px;
}
table.form th {
	text-align:left;
	vertical-align:middle;
	background:#ffffff;
}
table.form td{
  padding:1rem 1rem 0.5rem;
	vertical-align:middle;
}
span.reqire{
	padding:0px 10px;
	font-size:12px;
	background:#990000;
	color:#ffffff;
	margin-left:10px;
	border-radius:3px;
	float:right;
}
span.nini{
	padding:0px 10px;
	font-size:12px;
	background:#ccc;
	color:#ffffff;
	margin-left:10px;
	border-radius:3px;
	float:right;
}
.privacy {
  background: #ffe9e9;
  padding: 5px 20px 5px 0;
}

@media screen and (max-width:760px) {
	table.form tr, table.form th, table.form td{
		display:block;
	}
}