/*
Theme Name: Lightning Child Sample
Template: lightning
Version: 0.5.1
*/
/* =====================

フォントの変更

===================== */

body,html {
	font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
	font-weight:500;
	}	

/* =====================

文字サイズの変更（PC表示時・段落など）

===================== */

@media (min-width: 992px) {
	
#main .entry-body {
	font-size:18px;
	}	
	
}


/* =====================

見出し（H2）のサイズとスタイルの変更（スマホ表示時）

===================== */

@media (max-width: 992px) {
	
h2 {
	font-size: 1.6rem;
	}	

h2.has-background {
	padding: 0.6em 0.8em;
	}

}

/* =====================

見出し（H3）のサイズ変更（スマホ表示時）

===================== */

@media (max-width: 992px) {

h3 {
	font-size: 1.4rem;
	}

}

/* =====================

「スタッフ紹介」ページ：人名の文字サイズ変更（スマホ表示時）

===================== */

@media (max-width: 992px) {

.vk_staff .vk_staff_text .vk_staff_text_name {
	font-size: 1.4rem;
	}
	
}

/* =====================

「スタッフ紹介」ページ：説明文の文字サイズ変更（PC表示時）

===================== */

@media (min-width: 992px) {
	
.vk_staff .vk_staff_text .vk_staff_text_profileText {
	font-size: 16px;
	}	
	
}

/* =====================

文字のリンク色を変更

===================== */	

#main .entry-body p a {
	color:#8E3E03;
	}

#main .entry-body p a:hover {
	color:#EE964B;
	}

/* =====================

ヘッダーの背景色を変更

===================== */	

.site-header {
	background-color:#fffef6;
	}
	

/* =====================

ヘッダーメニューの文字色と下線色を変更

===================== */	

.global-nav .nav li a {
	color:#000000;
	}

.global-nav-list > li::before {
	border-bottom: 1px solid #000000;
	}

/* =====================

フッターのライセンス表記を非表示に変更

===================== */	

.site-footer-copyright p:nth-child(2) {
	display:none;
	}

/* モバイルのヘッダー右ウィジェット */
@media (max-width: 991px) {
    .site-header-sub {
        display: inherit;
        margin: 0;
        padding: 0;
    }
}

/* お問い合わせフォーム */
.cf-area {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	padding: 2em 0;
	border-bottom: 1px dashed #ccc;
	transition: all .3s;
}

.cf-area:last-child {
	border-bottom: none;
}

.cf-area dt {
  width: 200px;
  padding-right: 30px;
  text-align: right;
	line-height:1.5em;
}

.cf-area dd {
    flex: 1;
}

.cf-area input, .cf-area textarea {
  width: 100%;
  padding: 0.8em;
  border: none;
  background-color: #e6e6e6;
  font-size: 16px;
	resize: vertical;
	transition: all .3s;
}

.cf-area input:focus,.cf-area textarea:focus {
	outline: none;
	background: #dde2e9;
}

.cf-required {
	background: #b91e23;
	color: #fff;
	font-size: 0.8em;
	padding: 0 5px 2px;
	border-radius: 2px
}

.cf-send input {
	display: block;
	background: linear-gradient(135deg, #6b7a8e 0%, #3b4a5e 100%);
	width: 300px;
	height: 60px;
	margin: 30px auto 0;
	border: none;
	border-radius: 10px;
	color: #fff;
	box-shadow: 2px 5px 15px 0 rgba(0, 0, 0, .2);
	font-size: 1.3em;
	font-weight: bold;
	transition: all .3s;
}

.cf-send input:hover {
	filter: brightness(1.25);
}

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
	background-color: #fce3e3;
	border: none;
	text-align: center;
}

@media screen and (max-width:768px){
	.cf-area {
		display: block;
	}

	.cf-area dt {
    width: 100%;
		margin-bottom: 5px;
    padding-right: 0;
    text-align: left;
		line-height:1.5em;
	}
}

/* =====================

フッターの背景色

===================== */	
.site-footer {
    background-color: #ebf6f7;
}

/* ====================================
   ヘッダー右側：電話番号エリアのデザイン（アイコン強調版）
==================================== */

/* 電話エリア全体の位置調整 */
.site-header-sub .header-contact-box {
    display: inline-block;
    vertical-align: middle;
    margin-right: 20px; /* ボタンとの間隔を少し広げる */
    text-align: right;
    line-height: 1.3;
}

/* 「お気軽に～」の小さな文字 */
.header-contact-box .contact-msg {
    font-size: 11px !important;
    color: #666;
    margin-bottom: 3px !important;
}

/* 電話番号（リンク）のデザイン */
.header-contact-box .contact-number {
    font-size: 28px !important;   /* さらに少し大きく */
    font-weight: 700 !important;
    color: #333 !important;
    font-family: "Lato", sans-serif !important;
    text-decoration: none !important;
    display: block;
    margin: 0;
    line-height: 1;
}

/* ▼▼▼ アイコンをかっこよくする設定 ▼▼▼ */
.header-contact-box .icon-circle {
    display: inline-block;
    width: 36px;            /* 丸の幅 */
    height: 36px;           /* 丸の高さ */
    line-height: 36px;      /* アイコンを縦中央に */
    background-color: #0056b3; /* 紺色の背景 */
    color: #fff;            /* アイコンは白 */
    border-radius: 50%;     /* 完全な丸にする */
    text-align: center;     /* 横中央に */
    font-size: 18px;        /* アイコンの大きさ */
    margin-right: 8px;      /* 番号との隙間 */
    vertical-align: top;    /* 位置調整 */
    box-shadow: 0 3px 6px rgba(0,0,0,0.15); /* 影をつけて浮き上がらせる */
}

/* 電話番号にマウスを乗せた時の動き */
.header-contact-box .contact-number:hover {
    opacity: 0.8;
    color: #0056b3 !important; /* 文字も紺色に */
}

/* 「営業時間」の小さな文字 */
.header-contact-box .contact-hours {
    font-size: 10px !important;
    color: #888;
    margin-top: 3px !important;
    margin-bottom: 0 !important;
}

/* お問い合わせボタンの位置調整 */
.site-header-sub .wp-block-vk-blocks-button,
.site-header-sub .vk_button {
    display: inline-block !important;
    vertical-align: middle !important;
    margin-bottom: 0 !important;
}

/* ▼スマホ表示時の調整▼ */
@media (max-width: 991px) {
    .site-header-sub .header-contact-box {
        display: block;
        text-align: center;
        margin-right: 0;
        margin-bottom: 15px;
    }
    /* スマホではアイコンの装飾を少し控えめに（またはそのままでもOK） */
    .header-contact-box .contact-number {
        font-size: 24px !important;
    }
}
/* =========================================
   相続料金カード デザイン（ズレ解消・完成版）
   ========================================= */

/* --- 1. カード全体の箱 --- */
.souzoku-card {
    background-color: #fff; /* 背景は白 */
    border: 1px solid #E5E5E5; /* 薄いグレーの枠線 */
    border-top: 5px solid #C5A059; /* 上部に太いゴールドのライン（アクセント） */
    border-radius: 5px; /* 角を少し丸く */
    padding: 25px; /* 内側の余白 */
    box-shadow: 0 4px 6px rgba(0,0,0,0.05); /* ふんわりした影 */
    transition: transform 0.3s; /* カーソルを乗せた時の動き用 */
    height: 100%; /* 高さを揃える */
}

/* カーソルを乗せた時に少し浮き上がる演出 */
.souzoku-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}

/* --- 2. カード内のタイトル帯（ここを修正！） --- */
.souzoku-card-title {
    /* ▼ここが修正ポイント：幅の計算を強制的に合わせます */
    width: auto !important; /* 幅100%を解除して自動にする */
    box-sizing: border-box !important;
    
    
    /* 見た目の設定 */
    background-color: #F9F5EA;
    color: #333;
    font-weight: bold;
    font-size: 1.1em;
    text-align: center;
    border-bottom: 1px solid #EFEFEF;
    padding: 15px 10px;
}

/* --- 3. 金額の強調色 --- */
.price-gold {
    color: #A07E00;
    font-weight: bold;
    font-size: 1.5em;
}

/* =========================================
   メニューカラムのスマホ対応（タイル配置）
   ========================================= */

/* PCではそのまま、スマホ（幅768px以下）の時だけ形を変える */
@media (max-width: 768px) {
    
    /* 親枠：折り返しを許可する */
    .wp-block-columns.header-menu-columns {
        flex-wrap: wrap !important; /* 折り返す命令 */
        gap: 10px !important; /* ボタン同士の隙間 */
        margin-bottom: 20px !important;
    }

    /* 子カラム（ボタン）：幅を約半分（2列）にする */
    .header-menu-columns .wp-block-column {
        flex-basis: calc(50% - 10px) !important; /* 隙間を引いて2等分 */
        min-width: 140px !important; /* 縮みすぎ防止 */
        margin-left: 0 !important; /* 余計な余白を消す */
        margin-right: 0 !important;
    }
    
    /* 最後の1個（奇数）だけ中央寄せにしたい場合 */
    .header-menu-columns {
        justify-content: center !important;
    }
}

