.kh-search-layer,
.kh-search-backdrop {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.kh-search-layer.is-open,
.kh-search-backdrop.is-open {
  display: block;
  opacity: 1;
}

.kh-search-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.kh-search-layer {
  position: absolute;
  top: 105px;
  right: 0;
  transform: translateY(-50%);
  z-index: 1000;
  
  &.is-open {
    display: block;
  }
}

.kh-search {
  display: flex;
  gap: 8px;
  background: #fff;
  padding: 8px;
  border-radius: 4px;
  min-width: 250px;
}

.kh-search__input {
  flex: 1;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
}

.kh-search__submit,
.kh-search__close {
  padding: 8px 16px;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.kh-search__close {
  background: #ccc;
  color: #333;
}

.h-icon{
  width:32px;
}


.single .service-section {
  padding:clamp(20px, 5vw, 40px) clamp(20px, 4vw, 60px)
}

.single .service-section h4 {
  border-left:none !important;
}

.search .container{
 padding-top:clamp(80px, 7vw, 110px) ;
}
.search .page-heading{
  padding-top:clamp(100px, 10vw, 190px) ;
}

.search-card{
  background-color: #fff;
  border-radius: 10px;
}
.card {
  align-self: start;
}








/* お問い合わせフォーム全体 */
.mw_wp_form {
  max-width: 600px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* フォームの各項目 */
.mw_wp_form p {
  margin-bottom: 24px;
}

/* ラベル */
.mw_wp_form label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: #333;
}

/* 必須マーク */
.mw_wp_form .required {
  color: #e74c3c;
  font-size: 12px;
  font-weight: 600;
  margin-left: 8px;
  padding: 2px 8px;
  background: #ffebee;
  border-radius: 3px;
}

/* 入力フィールド共通 */
.mw_wp_form input[type="text"],
.mw_wp_form input[type="email"],
.mw_wp_form input[type="tel"],
.mw_wp_form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.3s;
  box-sizing: border-box;
}

/* フォーカス時 */
.mw_wp_form input[type="text"]:focus,
.mw_wp_form input[type="email"]:focus,
.mw_wp_form input[type="tel"]:focus,
.mw_wp_form textarea:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

/* テキストエリア */
.mw_wp_form textarea {
  min-height: 150px;
  resize: vertical;
}

/* ボタンコンテナ */
.mw_wp_form .mw_wp_form_buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 32px;
}

/* 戻るボタン */
.mw_wp_form .btn-back {
  padding: 12px 32px;
  background: #fff;
  color: #666;
  border: 2px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.mw_wp_form .btn-back:hover {
  background: #f5f5f5;
  border-color: #999;
}

/* 送信ボタン */
.mw_wp_form .btn-submit {
  padding: 12px 48px;
  background: #006bb6;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.mw_wp_form .btn-submit:hover {
  background: #2980b9;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

/* エラーメッセージ */
.mw_wp_form .error {
  color: #e74c3c;
  font-size: 14px;
  margin-top: 8px;
}

/* 確認画面のスタイル */
.mw_wp_form .mw_wp_form_confirm {
  background: #f9f9f9;
  padding: 16px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.mw_wp_form .mw_wp_form_confirm dt {
  font-weight: 600;
  margin-bottom: 4px;
  color: #555;
}

.mw_wp_form .mw_wp_form_confirm dd {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e0e0e0;
}

.mw_wp_form .mw_wp_form_confirm dd:last-child {
  border-bottom: none;
}

/* 完了画面 */
.mw_wp_form .mw_wp_form_complete {
  text-align: center;
  padding: 40px 20px;
}

.mw_wp_form .mw_wp_form_complete h2 {
  color: #006bb6;
  margin-bottom: 16px;
}

/* ボタンを横並びにする */
.mw_wp_form .form-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 32px;
}

/* 戻るボタン */
.mw_wp_form .btn-back {
  padding: 12px 32px;
  background: #fff;
  color: #666;
  border: 2px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.mw_wp_form .btn-back:hover {
  background: #f5f5f5;
  border-color: #999;
}

/* 送信ボタン */
.mw_wp_form .btn-submit {
  padding: 12px 48px;
  background: #006bb6;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.mw_wp_form .btn-submit:hover {
  background: #2980b9;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}




/* 親で一回だけカウンタをリセット */
.award-list {
  counter-reset: award;           /* ← ここで一度だけ */
  margin: 0;
  padding: 0 0 0 0;               /* 左余白いらん場合は0 */
  list-style: none;               /* ブラウザ標準の番号は使わない */
}

/* 各項目でカウンタを進める ＆ レイアウト */
.award-list li {
  counter-increment: award;       /* ← ここで増える */
  display: flex;
  align-items: baseline;
  gap: 1.2em;
  font-size: var(--font-size-sm);
  line-height: 1.8;
  margin-bottom: 16px;
}

/* 擬似要素で番号を表示 */
.award-list li::before {
  content: counter(award) ".";
  font-weight: 700;               /* 好みで normal に */
  margin-right: 0.2em;
  min-width: 2ch;                 /* 桁ズレ防止（任意） */
  text-align: right;              /* 任意 */
}

/* 年の表示 */
.award-list .year {
  font-weight: normal;
  min-width: 4.5em;
  margin-right: 0.3em;
}

@media (max-width: 960px) {
  .award-list li {
    flex-wrap: wrap;              /* 長文で折り返す */
    gap: 0.4em;
    margin-bottom: 20px;
  }
  .award-list li::before {
    font-weight: 700;
    margin-right: 0.4em;
  }
  .award-list .year {
    font-weight: 600;
    margin-right: 0.3em;
  }

	.blog-cards-heading {
    margin-left: 10px;
	}
	
}

main{
	margin-top:-100px;
}