/*見出しを明朝体*/
h2{
  font-family:serif;
}


/*グローバルナビの電話番号の背景色*/
header .nav-tel{
  background:#3cd87d;
  border-radius:10px;
}



/*グローバルナビの電話番号の文字色*/
header .nav-tel a{
  color:#fff !important;
}

/*フッターのpowered by wordpressを消す*/
.site-footer-copyright p:nth-child(2){
  display:none;
}


/*予約・お問い合わせ・LINE登録ボタンのCSS*/
.button-wrap-responsive {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  justify-content: center;
  overflow-x: auto;
  margin: 20px 0;
  padding: 0 10px;
}

.custom-btn {
  flex: 1 1 auto;
  white-space: nowrap;
  padding: 10px 14px;
  font-size: 14px;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
  transition: transform 0.2s ease;
  text-align: center;
  min-width: 100px; /* 縮小 */
  max-width: 33%;
}

.custom-btn:hover {
  transform: scale(1.05);
}

.orange-btn {
  background: linear-gradient(45deg, #ff9900, #ff6600);
}

.blue-btn {
  background: linear-gradient(45deg, #007BFF, #0056b3);
}

.green-btn {
  background: linear-gradient(45deg, #00c300, #009900);
}
/*予約・お問い合わせ・LINE登録ボタンのCSS*/



.consult-section {
  width: 100vw;
  margin-left: calc(-50vw + 50%); /* 本文幅をはみ出して全幅にする小ワザ */
  background-color: #E8F7D0;
  padding: 3em 1em;
  box-sizing: border-box;
}
.consult-container {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.consult-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1em;
  margin-top: 2em;
}
.consult-card {
  background: #fff;
  padding: 1em;
  border-radius: 8px;
  text-decoration: none;
  color: #333;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70px; /* 高さはminに変更：2行でも崩れにくい */
  font-weight: bold;
  transition: transform .15s ease, box-shadow .15s ease;
}
.consult-card:hover,
.consult-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
  outline: none;
}
@media (max-width: 768px) {
  .consult-grid { grid-template-columns: repeat(2, 1fr); }
}

/* テーマ依存の表示崩れ対策（必要なら） */
.wp-site-blocks .consult-section,
.entry-content .consult-section { display:block; }

/* 文字化け修正*/
body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
}