/*
 Theme Name:   Neve Child
 Template:     neve-fse
 Version:      1.0
*/

@charset "UTF-8";

/* すべての画像リンクにマウスオーバーで明るくなる効果を適用 */
a img {
  transition: all 0.3s ease;
}
a img:hover {
  filter: brightness(120%);
  transform: scale(1.05) translateY(-3px);
}
/* すべてのテキストリンクにマウスオーバーで色変化の効果を適用 */
a {
  transition: color 0.3s ease !important;
  text-decoration: none;
  color: inherit !important; /* または希望の初期色を指定 */
}

a:hover {
  color: #79fddc !important; /* ホバー時の色（お好みで変更可） */
}
/* カバー画像上のリンクの通常色とホバー色を指定 */
.wp-block-cover a {
  color: inherit; /* 通常色 */
  text-decoration: none;
  transition: color 0.3s ease !important;
}
/* ナビゲーション内のすべてのリンクのホバー色を変更 */
.wp-block-navigation a:hover,
.wp-block-navigation .is-style-default a:hover,
.wp-block-navigation .is-style-underline a:hover,
.wp-block-navigation .is-style-hover-effect a:hover {
  transition: color 0.3s ease;
  color: #79fddc !important; /* ← 好きな色に変更、!importantで強制 */
}
/* モバイルでカラムの順番を逆にする */
@media screen and (max-width: 768px) {
  .reverse-on-mobile {
    display: flex;
    flex-direction: column-reverse !important;
  }
}
/* 仮査定フォーム */
.expand-box {
  height: 2.5em;  /* 初期：1行分の高さ */
  transition: height 0.3s ease;
  resize: none;   /* ユーザーによる手動リサイズ無効にしたい場合 */
  overflow: hidden;
}

/* フォーカス時に10行分に拡大 */
.expand-box:focus {
  height: 15em; /* 約10行（1行 = 約1.5em想定）*/
}
.center-text {
  text-align: center;
  margin-top: 1em;
  margin-bottom: 1em;
}
.center-text input[type="submit"] {
  display: block;
  margin: 1em auto; /* 上下に余白を入れつつ中央揃え */
}
/*　クーポンボタン */
.cf7-coupon-box {
  background:#4caf50;     /* 薄い緑 */
  border:2px solid #e6f7ea;
  padding:15px;
  border-radius:8px;
  margin:15px 0;
  font-weight:bold;
}