/*Pagenation*/
.pagenation ul {
  padding: 0;
}

.pagenation {
  margin: 1em 0;
}

.pagenation:after,
.pagenation ul:after {
  clear: both;
  content: ".";
  display: block;
  height: 0;
  visibility: hidden;
}

.pagenation ul {
  display: flex;
  justify-content: center;
  margin: 0;
}

.pagenation li {
  list-style: none outside none;
  margin-left: 3px;
}

.pagenation li:first-child {
  margin-left: 0;
}

.pagenation li.active {
  background-color: #337ab7;
  border-radius: 3px;
  color: #FFFFFF;
  cursor: not-allowed;
  padding: 10px 20px;
}

.pagenation li a {
  background: none repeat scroll 0 0 #191b1c;
  border-radius: 3px;
  color: #FFFFFF;
  display: block;
  padding: 10px 20px;
  text-decoration: none;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
}

@media screen and (max-width: 834px) {
  .pagenation li.active {
    padding: 2px 10px;
  }

  .pagenation li a {
    padding: 2px 10px;
  }
}

.pagenation li a:hover {
  background-color: #444444;
  color: #FFFFFF;
  opacity: 0.8;
  transition-duration: 500ms;
  transition-property: all;
  transition-timing-function: ease;
}

/* ============================================================
   Contact Form 7 - Modern Style
   ============================================================ */
.wcp-form {
  max-width: 640px;
  margin: 0 auto;
  padding: 48px 40px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.08);
}

.wcp-form__group {
  margin-bottom: 28px;
}

.wcp-form__label {
  display: flex !important;
  align-items: center !important;
  gap: 8px;
  margin-bottom: 4px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

.wcp-form__required {
  display: inline-block;
  padding: 2px 7px;
  background: #dc2626;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 3px;
  letter-spacing: 0.03em;
  align-self: center;
  vertical-align: middle;
  position: static !important;
  top: auto !important;
  margin: 0 0 0 5px !important;
}

.wcp-form__input,
.wcp-form__textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 1rem;
  color: #111827;
  background: #f9fafb;
  border: 1.5px solid #e5e7eb;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}

.wcp-form__input:focus,
.wcp-form__textarea:focus {
  background: #fff;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.wcp-form__input::placeholder,
.wcp-form__textarea::placeholder {
  color: #9ca3af;
  font-size: 0.9rem;
}

.wcp-form__textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.7;
}

/* CF7 が生成する span への対応 */
.wcp-form .wpcf7-form-control-wrap {
  display: block;
}

/* バリデーションエラー */
.wcp-form .wpcf7-not-valid-tip {
  display: block;
  margin-top: 6px;
  font-size: 0.8rem;
  color: #dc2626;
}

.wcp-form .wpcf7-not-valid .wcp-form__input,
.wcp-form .wpcf7-not-valid .wcp-form__textarea {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

/* 送信レスポンスメッセージ */
.wcp-form .wpcf7-response-output {
  margin: 16px 0 0;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  border: none;
}

.wcp-form .wpcf7-mail-sent-ok {
  background: #ecfdf5;
  color: #065f46;
  border: 1.5px solid #6ee7b7;
  border-radius: 10px;
  padding: 24px 20px;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.03em;
}

.wcp-form .wpcf7-mail-sent-ok::before {
  content: "✓";
  display: block;
  font-size: 2rem;
  margin-bottom: 8px;
  color: #10b981;
}

.wcp-form .wpcf7-validation-errors,
.wcp-form .wpcf7-mail-sent-ng {
  background: #fef2f2;
  color: #991b1b;
}

/* 送信ボタン */
.wcp-form__submit {
  margin-top: 12px;
  text-align: center;
}

.wcp-form__btn {
  display: inline-block;
  padding: 14px 56px;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  background: #2563eb;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  letter-spacing: 0.08em;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.wcp-form__btn:hover {
  background: #1d4ed8;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.4);
  transform: translateY(-1px);
}

.wcp-form__btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.wcp-form__btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* スピナー（送信中） */
.wcp-form .wpcf7-spinner {
  margin-left: 12px;
  vertical-align: middle;
}

/* レスポンシブ */
@media screen and (max-width: 600px) {
  .wcp-form {
    padding: 32px 20px;
    border-radius: 8px;
    box-shadow: none;
    border: 1px solid #e5e7eb;
  }

  .wcp-form__btn {
    width: 100%;
    padding: 14px;
  }
}