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

/* ========== ↓ 基本共通設定 ↓ ========== */
/* 文字サイズ修正 */
body {
	font-size: 16px;
}
.global-nav-list>li .global-nav-name {
	font-size: 18px!important;
}
.localNavi a {
	font-size: 16px;
}
.breadcrumb {
	font-size: 16px;
}
table {
	font-size: 16px;
}
.footer-nav a {
	font-size: 14px;
}
.site-footer-content {
	font-size: 14px;
}
.site-footer-content .widget_nav_menu a {
	font-size: 14px;
}
/* コピーライト非表示 */
.site-footer-copyright p:nth-child(2) {
	display: none;
}
/* 投稿者名 非表示 */
.entry-meta-item-author {
	display: none;
}
/* ファイルダウンロードボタンの修正 */
.wp-block-file a {
	font-size: 16px;
}
/* FireFox対策 */
.wp-block-table :is(table,thead,tbody,tfoot,th,td) {
	border-color: rgba(0,0,0,0.06);
}
/* 通常ボタンスタイルの変更（統一） */
/*  「ファイル」ブロック、更新情報「続きを読む」 */
/* 　背景なし→ありの場合
.vk_post_btn {
	color: var(--wp--preset--color--vk-color-primary-dark);
	background-color: unset;
	border: 1px solid var(--wp--preset--color--vk-color-primary-dark);
	transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out;
}
.vk_post_btn:hover {
	color: #fff!important;
	background-color: var(--wp--preset--color--vk-color-primary-dark)!important;
}
.wp-block-file__button {
	color: var(--wp--preset--color--vk-color-primary-dark)!important;
	background-color: unset!important;
	border: 1px solid var(--wp--preset--color--vk-color-primary-dark)!important;
	transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out;
}
.wp-block-file__button:hover {
	color: #fff!important;
	background-color: var(--wp--preset--color--vk-color-primary-dark)!important;
}
*/
/* ========== ↑ 基本共通設定 ↑ ========== */

/* ========== ↓ 個別設定 ↓ ========== */
/* ページトップのカバー背景色ありの場合 */
/*
body.home .site-body {
	padding-top: 0;
}
*/
/* ページトップボタンの修正 */
/*
.page_top_btn {
	
}
*/
/* お問い合わせ */
/* 
input,
textarea {
	font-family: inherit;
	font-size: inherit;
}
*/
/* Contact Form 7 導入時ボタン
.wpcf7-submit {
	color: var(--wp--preset--color--vk-color-primary-dark)!important;
	background-color: unset!important;
	border: 1px solid var(--wp--preset--color--vk-color-primary-dark)!important;
	transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out;
}
.wpcf7-submit:hover {
	color: #fff!important;
	background-color: var(--wp--preset--color--vk-color-primary-dark)!important;
}
*/
/* ========== ↑ 個別設定 ↑ ========== */

/* --------- 追加沼内 ------------- */
.tenant {
	width: 350px;
	margin-left: auto;
	margin-right: auto;
}
.center-iframe {
	display: block; /* inline のままだと margin:auto が効かない場合があるため */
	margin: 0 auto; /* 上下余白0、左右自動で中央 */
	border: 1px #CCC solid;
	overflow: hidden;
}

/* --------- 追加沼内 ------------- */
h5.tabaco-h5 {
	text-align: center;
	max-width: 250px;
	margin-left: auto;
	margin-right: auto;
}
p.tabaco-p {
	max-width: 250px;
	margin-left: auto;
	margin-right: auto;
}
.global-nav-list li a {
	font-size: 16px;
}
.wp-block-group.is-layout-flex.tenantnav {
	gap: 3px!important;
}
.page_top_btn {
	width: 44px;
	height: 44px;
	background-color: #27847b; /* 背景色 */
	border-radius: 50%; /* 丸くする */
}
/*.page_top_btn:hover {
	transform: translateY(-3px);
	opacity: 0.95;
}*/
.site-footer {
	background-color: #ffffff;
}

/* -------- フェイスブックレスポンシブ ----------- */
.fb-responsive {
	height: 50vw;
	max-height: 640px;
}

.fb-responsive iframe {
	display: block;
	margin: 0 auto;
	max-width: 400px;    /* 必要に応じて上限を調整 */
	width: 100%; 
	max-height: 640px;
	height: 100%; 
}

@media (min-width: 481px) and (max-width: 781px) {
	.fb-responsive {
		height: 600px!important;
		min-height: 500px;
	}
}
@media (max-width: 480px) {
	.fb-responsive {
		height: 580px!important;
		min-height: 400px;
	}
}

/* -----------　銘柄画像レスポンシブ　----------- */
.meigara-container {
  display: grid!important;
  gap: 24px; /* 要素間の隙間 /
  grid-template-columns: repeat(1, 1fr); / デフォルトは1列（スマホ） */
  max-width: 1300px;
  margin: 0 auto;
}

/* タブレット：2カラム（例: 幅 >= 481px） */
@media (min-width: 481px) and (max-width: 781px) {
  .meigara-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* PC：3カラム（例: 幅 >= 782px） */
@media (min-width: 782px) {
  .meigara-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* 各アイテムの見た目調整（任意） */
.item {
  background: #f2f2f2;
  padding: 24px;
  border-radius: 4px;
  text-align: center;
/*	flex: 0 0 100%; /* デフォルト：1列（スマホ） */
}

/* 店舗画像 */
.tempo_img {
	max-width: 280px;
	max-height: 150px;
}
