:root{
  --bg: #f6f7f6;
  --paper: #ffffff;
  --ink: #1f2937;
  --muted: #6b7280;
  --line: rgba(17,24,39,.10);
  --brand: #1f6a4a;
  --brand2: #2d8a61;
  --shadow: 0 10px 28px rgba(0,0,0,.08);
  --radius: 18px;
  --radius2: 14px;
  --max: 1240px;
  --sidebarW: 300px;
  --rightW: 280px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body{
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  /* font-family: "M PLUS Rounded 1c", sans-serif; */
}
a{ color: inherit; text-decoration: none; }
img{ max-width: 100%; display: block; }

/* ==================== */
/* =      Layout      = */
/* ==================== */
.app{
  min-height: 100vh;
  display: grid;
  grid-template-columns: var(--sidebarW) 1fr;
}

/* ===== Left Sidebar ===== */
.sidebar{
  position: sticky;
  top: 0;
  height: 100vh;
  /* overflow: auto; */

  background-image: url("assets/sidebar-bg.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center bottom;

  padding: 18px 16px;
  color: #1f2937; /* 白背景寄りなので文字は黒系に */
  box-shadow: 8px 0 20px rgba(0,0,0,.12);
  z-index: 1;
}

/* 上ほど白く、下ほど透明（画像が見える） */
.sidebar::before{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;

    background: linear-gradient(
    to bottom,
    rgba(255,255,255,0.85) 0%,
    rgba(255,255,255,0.6) 35%,
    rgba(255,255,255,0.15) 70%,
    rgba(255,255,255,0) 100%
  );

  z-index: 0;
}

/* サイドバー内の要素を前面に */
.sidebar > *{
  position: relative;
  z-index: 1;
}
.logo p{
    text-align: center;
}
.brand h1{
  font-size: 22px;
  margin: 0;
  letter-spacing: .02em;
}
.brand p{
  margin: 2px 0 0;
  font-size: 12px;
  opacity: .85;
}

.nav{
  margin-top: 10px;
}
.nav a{
  position: relative;          /* ←追加 */
  overflow: hidden;            /* ←追加 */
  isolation: isolate;          /* ←追加（重なり事故防止） */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px;
  background: rgba(255,255,255,.08);
  transition: transform .15s ease, background .15s ease;
}
/* 右から入るグラデ（左側は透明 → アイコンに被らない） */
.nav a::before{
    content: "";
    position: absolute;
    inset: 0;

    /* 左は透明、途中から緑にする（だいたいアイコン+余白分） */
    background: linear-gradient(
    90deg,
    #174c33 0%,
    #1f6a4a 35%,
    #208129 65%,
    #2c9501 100%
    );

    /* 右からスライドしてくる */
    transform: translateX(30%);
    opacity: 0;
    transition: transform .22s ease, opacity .22s ease;

    z-index: 0;
}
.nav a:hover .icon img{
    filter: brightness(0) invert(1);
}


.nav a:hover .label,
.nav a:hover .chev{
color: #fff;
z-index: 1;
}

/* アイコンはグラデに被らない想定なのでそのままでもOK */
.nav .icon{
position: relative;
z-index: 2; /* 念のため一番上 */
}

/* 画像アイコンの見え方を安定させる */
.nav .icon img{
width: 18px;
height: 18px;
object-fit: contain;
display: block;
}
/* ホバーで出す */
.nav a:hover::before{
    transform: translateX(0%);
    opacity: 1;
}
.nav a:active{
    transform: translateY(0px) scale(.99);
}
.nav .label{
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 400;
  letter-spacing: .02em;
}
.nav .icon{
  width: 28px; height: 28px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.14);
  flex: 0 0 auto;
}

.nav a:not(:last-child)::after{
    content:"";
    position:absolute;
    left:5px; /* ←アイコン幅+余白 */
    right:12px;
    bottom:0px;
    height:1px;
    background: rgb(106 31 31 / 6%);
}
.side-actions{
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.16);
  display: grid;
  gap: 10px;
}

/* 特殊ボタン */
.pill{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 12px;
  border-radius: 999px;
  background: rgb(255 255 255 / 75%);
  border: 1px solid rgba(255,255,255,.16);
  font-weight: 500;
}
.pill:hover{ background: rgb(255 252 163); }
.pill small{ font-weight: 500; opacity: .9; }


.nav-item {
  position: relative;
}
.mainmenu{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px;
  background: rgba(255, 255, 255, .08);
  transition: transform .15s ease, background .15s ease;
  position: relative;
  overflow: hidden;
}

/* サブメニュー（右に出す） */
.submenu {
  position: absolute;
  top: 0;
  left: 100%;
  padding: 5px;
  margin-left: 10px;

  min-width: 220px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);

  opacity: 0;
  visibility: hidden;
  transform: translateX(8px);
  transition: all .2s ease;
  font-size: 15px;
  z-index: 9999;
}




/* グラデレイヤー */
.mainmenu::before {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    90deg,
    #174c33 0%,
    #1f6a4a 35%,
    #208129 65%,
    #2c9501 100%
  );

  transform: translateX(100%);
  transition: transform .22s ease;

  z-index: 0;
}

/* ホバーでサブメニュー表示 */
.nav-item:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* 上に乗せる */
.mainmenu > * {
  position: relative;
  z-index: 1;
}

/* ホバーでスライド */
.nav-item:hover .mainmenu::before {
  transform: translateX(0);
}





.nav-item:hover .label , .nav-item:hover .chev{
    color: #fff;
}
.nav-item:hover .icon img {
    filter: brightness(0) invert(1);
}

.submenu a span {
  position: relative;
  z-index: 1;
}

.submenu a:hover::before {
  transform: translateX(0);
}

.submenu a:hover span {
  color: #fff;
}


@media (max-width: 980px) {
  .sidebar::before{
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.7);
    z-index: 0;
    pointer-events: none;
  }
  .label, .chev {
    color: #fff;
  }
  .nav-item {
    position: static;
  }

  .mainmenu {
    margin-bottom: 0;
    padding: 8px;
  }

.mainmenu::before{
transform: translateX(0);

}

  .submenu {
    position: static;
    left: auto;
    top: auto;
    margin-left: 0;
    margin-top: 0;
    min-width: 0;
    width: 100%;

    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;

    background: #ffffff8a;
    box-shadow: none;
    padding: 0 0 0 18px;
    font-size: 14px;
  }

  .submenu a {
    display: block;
    padding: 6px 12px;
    background: transparent;
  }

  .submenu a:not(:last-child) {
    border-bottom: 1px solid rgba(0,0,0,.06);
  }

}




    /* ===== Main ===== */
    .topbar{
      max-width: var(--max);
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 14px;
      margin: 18px 40px;
    }
    .search{
      display: flex;
      align-items: center;
      gap: 8px;
      background: #fff;
      border: 1px solid var(--line);
      border-radius: 999px;
      padding: 8px 10px 8px 12px;
      box-shadow: 0 6px 16px rgba(0,0,0,.04);
    }
    .search input{
      border: 0;
      outline: none;
      width: min(46vw, 420px);
      font-size: 14px;
    }
    .search button{
      border: 0;
      background: var(--brand);
      color: #fff;
      padding: 8px 12px;
      border-radius: 999px;
      cursor: pointer;
      font-weight: 500;
    }
/* ====== Top Login / Contact Pills ====== */

.toplinks{
  display: flex;
  align-items: center;
  gap: 14px;
}

/* ボタン全体 */
.top-pill{
  display: inline-flex;
  align-items: center;
  gap: 14px;

  padding: 10px 18px;
  border-radius: 999px;

  background: linear-gradient(180deg, #ffffff, #f1f1f1);
  box-shadow: 0 12px 25px rgba(0,0,0,.08);

  font-weight: 500;
  font-size: 18px;
  color: #222;
  text-decoration: none;

  transition: all .2s ease;
}

/* ホバー */
.top-pill:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 35px rgba(0,0,0,.12);
}

/* アイコン丸背景 */
.top-pill .icon{
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.top-pill .icon img{
  width: 18px;
  height: 18px;
  object-fit: contain;
}

/* テキスト */
.top-pill-text{
  white-space: nowrap;
}

/* 矢印 */
.top-pill .chev{
  margin-left: 8px;
  font-weight: 500;
  opacity: .7;
}


/* ===== Hero card ===== */
.hero-media{
    height: clamp(360px, 42vw, 600px);
}
.hero-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.hero-body{
  padding: 16px 18px 18px;
  display: grid;
  gap: 8px;
}
.kicker{
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-weight: 500;
  color: var(--brand);
  letter-spacing: .02em;
  font-size: 13px;
}
.hero h2{
  margin: 0;
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: .02em;
}
.hero p{
  margin: 0;
  color: var(--muted);
  font-weight: 500;
}
.cta{
  margin-top: 8px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 500;
  cursor: pointer;
}
.btn.primary{
  background: linear-gradient(180deg, var(--brand2), var(--brand));
  color: #fff;
  border-color: rgba(0,0,0,.08);
}
.btn:hover{ transform: translateY(-1px); }
.btn:active{ transform: translateY(0px); }

.contents{
    padding: 60px 40px;
    max-width: 980px;
    margin: 0 auto;
}
/* ===== Right quick links ===== */
.quick{
  display: grid;
  gap: 12px;
}
.quick a{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  box-shadow: 0 10px 22px rgba(0,0,0,.06);
  padding: 12px 12px;
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 10px;
  align-items: center;
  transition: transform .15s ease;
}
.quick a:hover{ transform: translateY(-2px); }
.qicon{
  width: 40px; height: 40px;
  border-radius: 14px;
  background: rgba(31,106,74,.12);
  border: 1px solid rgba(31,106,74,.18);
  display: grid;
  place-items: center;
  color: var(--brand);
  font-weight: 500;
}
.qtitle{
  font-weight: 500;
  letter-spacing: .02em;
}
.qsub{
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  margin-top: 1px;
}
.qarrow{ color: var(--muted); font-weight: 500; }



/* ===== お知らせ ===== */
.news{
  padding: 10px;
  background-color: #ffffff;
}
.news-item{
  display: grid;
  grid-template-columns: 120px 150px 1fr;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border-top: 1px solid var(--line);
}

.news-item:first-child{
  border-top: none;
}

.news .date{
  font-size: 16px;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
}

.cats{
  display: flex;
  gap: 6px;
}

.cat{
  font-size: 14px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(31,106,74,.10);
  border: 1px solid rgba(31,106,74,.18);
  color: var(--brand);
  white-space: nowrap;
}

.news-title{
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-title:hover{
  color: var(--brand);
}


.news-footer{
  padding: 16px;
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid var(--line);
}

.news-more{
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--brand2), var(--brand));
  color: #fff;
  transition: transform .2s ease, box-shadow .2s ease;
}

.news-more:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,.12);
}


    /* ===== Mobile ===== */
    .mobile-toggle{
      display: none;
      position: fixed;
      left: 14px;
      bottom: 14px;
      z-index: 999;
      border: 0;
      border-radius: 999px;
      padding: 12px 14px;
      font-weight: 900;
      color: #fff;
      background: linear-gradient(180deg, var(--brand2), var(--brand));
      box-shadow: 0 16px 30px rgba(0,0,0,.18);
      cursor: pointer;
    }

    @media (max-width: 980px){
      .app{
        grid-template-columns: 1fr;
      }
      .sidebar{
        position: fixed;
        inset: 0 auto 0 0;
        width: 300px;
        transform: translateX(-105%);
        transition: transform .22s ease;
        z-index: 1000;
        box-shadow: 20px 0 40px rgba(0,0,0,.18);
        overflow: auto;
      }
      body.nav-open .sidebar{ transform: translateX(0%); }
      .container{
        grid-template-columns: 1fr;
      }
      .topbar{
        justify-content: space-between;
      }
      .search input{ width: min(60vw, 460px); }
      .mobile-toggle{ display: inline-flex; align-items: center; gap: 10px; }
      .backdrop{
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,.35);
        z-index: 999;
      }
      body.nav-open .backdrop{
        display: block;
      }
        /* タイトルを2列分使わせる */
      .news-title{
        grid-column: 1 / -1;
      }
    }




/* PC：topbar表示 / Mobile：m-header表示 */
.m-header{ display:none; }
.topbar{ display:flex; }

@media (max-width: 980px){
  .topbar{ display:none; }
  .m-header{ display:flex; }
  .top-pill{display: none;}
}

/* PCの右寄せ */
.topbar{
  justify-content: flex-end;
}
.top-cta{
  display:flex;
  gap: 14px;
  align-items:center;
}

/* Mobile headerの横並び */
.m-header{
  position: sticky;
  top: 0;
  z-index: 20;
  align-items: center;
  gap: 10px;
  padding: 10px 10px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.m-logo img{ height: 68px; width:auto; display:block; }
.m-cta{
  margin-left: auto;
  display:flex;
  gap: 10px;
  align-items:center;
}

/* モバイルで文字を省略 */
@media (max-width: 520px){
  .top-pill-text{ display:none; }
  .top-pill{ padding: 10px; }
}
  .m-menu{
    border:0;
    background:#1f6a4a;
    color:#fff;
    width: 42px;
    height: 42px;
    cursor:pointer;
    font-size: 18px;
    font-weight: 900;
  }
/* ==============================
   フッター
============================== */
.space{
  margin-top: 150px;
}
.footer-main {
    margin-top: 36px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #6cc88b 0%, #f1fff7 30%, #d7efdf 65%, #81dea3 100%);
    color: #222;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.footer-main::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.footer-main-inner{
    align-items: center;
    justify-content: space-between;
    padding: 40px 30px 5px 30px;
    height: auto;
}

.footer-logo{
  width: 220px;
  display: inline-block;
  margin-bottom: 10px;
}

.footer-title{
  margin: 0;
  font-weight: 900;
  letter-spacing: .03em;
  font-size: 18px;
}

.footer-sub{
  margin: 6px 0 0;
  font-size: 13px;
  opacity: .85;
  font-weight: 700;
}

.footer-head{
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: .12em;
  opacity: .85;
  font-weight: 900;
}

.footer-links{
  display: grid;
  gap: 8px;
}

.footer-links a{
  color: #fff;
  text-decoration: none;
  opacity: .88;
  font-weight: 800;
  transition: transform .18s ease, opacity .18s ease;
}

.footer-links a:hover{
  opacity: 1;
  transform: translateX(4px);
}

.footer-info p{
  margin: 6px 0;
  font-size: 13px;
  opacity: .88;
  font-weight: 700;
}

.footer-main-bottom{
  padding: 14px 18px;
  font-size: 12px;
  letter-spacing: .06em;
  text-align: center;
  min-width: 280px;
}
.copy{
  font-size: 12px;
}
/* Mobile */
@media (max-width: 980px){
  .footer-main-inner{
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-logo{
    margin-left: auto;
    margin-right: auto;
  }
  .footer-links{
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    justify-items: center;
  }
}

/* main を基準にする */
.main{
  position: relative;
}

/* 犬のラッパー */
.footer-peek-wrap{
  position: relative;
  height: 0; /* レイアウト崩さない */
  z-index: 10;
}

/* 犬本体 */
.footer-peek{
  position: absolute;
  top: -132px; /* ← フッター上に手をかける位置 */
  left: 40px;
  width: 260px;
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 12px 18px rgba(0,0,0,.18));
  z-index: 99;
}

/* フッター側に余白 */
.footer-main{
  position: relative;
  z-index: 1;
  overflow: visible;
  text-align: center;
}



/* ====================================== */
/* 固定ページ */
/* ====================================== */
/* ===== Page hero band ===== */
.page-hero{
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(0,0,0,.12);

  /* 画像＋グラデの雰囲気 */
  background: linear-gradient(90deg, rgb(9 120 15 / 88%) 0%, rgb(83 180 0 / 82%) 55%, rgb(210 194 0 / 70%) 100%), url(assets/page-band.jpg);
  background-size: cover;
  background-position: center;
}

.page-hero-inner{
  padding: clamp(22px, 3vw, 44px) clamp(18px, 3vw, 44px);
  min-height: 120px;
  display: grid;
  align-content: center;
  gap: 8px;
  color: #fff;
}

.page-hero-title{
  margin: 0;
  font-weight: 900;
  letter-spacing: .04em;
  font-size: clamp(22px, 3.2vw, 36px);
}

.page-hero-sub{
  margin: 0;
  font-weight: 700;
  opacity: .92;
  letter-spacing: .12em;
  text-transform: none; /* 英語大文字にしたいなら uppercase */
  font-size: 13px;
}

/* 本文エリア */
.page-wrap{
  padding: 60px;
}

/* モバイル */
@media (max-width: 980px){
  .page-hero{ margin: 0 14px; border-radius: 16px; }
  .page-wrap{ padding: 16px 14px 0; }
}

/* サイドバー */
.page-wrap--has-sidebar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 200px;
  gap: 40px;
  align-items: start;
}

.page-body {
  min-width: 0;
}

.page-sidebar {
  min-width: 0;
}

.sidebar-widget {
  padding: 20px;
  margin-bottom: 24px;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 16px;
}

.sidebar-widget-title {
  margin: 0 0 14px;
  font-size: 18px;
  line-height: 1.5;
  color: #222;
}

.page-sidebar ul {
  margin: 0;
  padding-left: 1.2em;
}

.page-sidebar a {
  color: #2f5e9e;
  text-decoration: none;
}

.page-sidebar a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .page-wrap--has-sidebar {
    grid-template-columns: 1fr;
  }
}

/* =============================== */
/* message固定ページ */
/* =============================== */

.message-img{
  margin-top: 16px;
}

/* ====================================== */
/* 投稿ページ */
/* ====================================== */

.post-wrap {
  padding: 60px;
  min-height: 60vh;
}


.post-header {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e5e5e5;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-bottom: 16px;
}

.post-date {
  font-size: 14px;
  line-height: 1.6;
  color: #666;
}

.post-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.post-category {
  display: inline-block;
  padding: 4px 10px;
  font-size: 12px;
  line-height: 1.4;
  color: #2f5e9e;
  text-decoration: none;
  background: #eef4fb;
  border-radius: 999px;
}

.post-category:hover {
  opacity: 0.85;
}

.post-title {
  margin: 0;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.4;
  color: #222;
}

.post-content {
  font-size: 16px;
  line-height: 2;
  color: #333;
}

.post-content > *:first-child {
  margin-top: 0;
}

.post-content a {
  color: #2f5e9e;
  text-decoration: underline;
}

.post-content img {
  max-width: 100%;
  height: auto;
}

/* サイドバー */
.post-wrap--has-sidebar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 40px;
  align-items: start;
}

.post-body {
  min-width: 0;
}

.post-sidebar {
  min-width: 0;
}

.post-sidebar > * {
  margin-bottom: 16px;
}

.post-sidebar > *:last-child {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .post-wrap--has-sidebar {
    grid-template-columns: 1fr;
  }
}
.archive-wrap{
    padding: 60px 40px;
    max-width: 980px;
    margin: 0 auto;
    min-height: 60vh;
}
.archive-news{
  padding: 10px;
}
/* ====================================== */
/* コンタクトフォーム７ */
/* ====================================== */

.contact-form {
  max-width: 760px;
  margin: 0 auto;
}

.contact-form .form-row {
  margin-bottom: 22px;
}

.contact-form .form-label {
  display: block;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.8;
  color: #333;
}

.contact-form .required {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
  background: #d9534f;
  border-radius: 999px;
  vertical-align: middle;
}

.contact-form .form-input,
.contact-form .form-select,
.contact-form .form-textarea {
  width: 100%;
  margin-top: 8px;
  padding: 14px 16px;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background: #fff;
  border: 1px solid #d8d8d8;
  border-radius: 10px;
  box-sizing: border-box;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-form .form-input:focus,
.contact-form .form-select:focus,
.contact-form .form-textarea:focus {
  outline: none;
  border-color: #4f7db8;
  box-shadow: 0 0 0 4px rgba(79, 125, 184, 0.12);
}

.contact-form .form-textarea {
  min-height: 220px;
  resize: vertical;
}

.contact-form .form-submit {
  margin-top: 34px;
  text-align: center;
}

.contact-form .form-button {
  display: inline-block;
  min-width: 220px;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
  background: #2f5e9e;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.contact-form .form-button:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.contact-form .form-button:active {
  transform: translateY(0);
}

.contact-form .wpcf7-not-valid-tip {
  margin-top: 6px;
  font-size: 13px;
  color: #d9534f;
}

.contact-form .wpcf7-spinner {
  display: block;
  margin: 12px auto 0;
}

.contact-form .wpcf7-response-output {
  margin: 24px 0 0;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 14px;
}

.wpcf7 form .wpcf7-response-output {
  margin: 24px 0 0;
  padding: 14px 18px;
  border: 1px solid #e2e6ea;
  border-left: 5px solid #4f7db8;
  border-radius: 8px;
  background: #f8fbff;
  color: #333;
  font-size: 14px;
  line-height: 1.7;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
  border-left-color: #d9534f;
  background: #fff7f7;
}

.wpcf7 form.sent .wpcf7-response-output {
  border-left-color: #4caf50;
  background: #f5fcf5;
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
  border-left-color: #f0ad4e;
  background: #fffaf3;
}