@charset "UTF-8";
.u-modal[aria-hidden=true] {
  display: none;
}

.u-modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
}

.u-modal__overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.45);
}

/* 本体：角丸でクリップ＋縦レイアウト */
.u-modal__dialog {
  position: relative;
  width: 92vw;
  max-width: 960px;
  max-height: 82vh;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  padding: 16px;
  display: flex;
  flex-direction: column;
  overflow: hidden; /* 角で切る */
  margin-top: 8px;
  opacity: 0;
  transition: opacity 0.18s ease, margin-top 0.18s ease;
}

.u-modal[aria-hidden=false] .u-modal__dialog {
  opacity: 1;
  margin-top: 0;
}

/* ヘッダー：タイトル左／✕右（横並び固定） */
.u-modal__head {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-bottom: 1px solid #eee;
  padding: 16px 20px 0.75rem;
  min-height: 56px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  overflow: hidden;
}

.u-modal__title {
  margin: 0;
  padding: 0;
  border: 0;
  flex: 1 1 auto;
  font-size: 1.25rem;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.u-modal__title::before, .u-modal__title::after {
  content: none !important;
}

.u-modal__close {
  position: relative;
  margin-left: auto;
  transform: none;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 50%;
  background: #f1f1f1;
  color: #333;
  font-size: 22px;
  cursor: pointer;
}

.u-modal__close:hover {
  background: #e5e5e5;
}

/* 本文 */
.u-modal__body {
  overflow: auto;
  padding-bottom: 0.5rem;
}

.u-modal__body a:hover {
  text-decoration: none;
}

body.is-modal-open {
  overflow: hidden;
}

/* モバイル微調整 */
@media (max-width: 599px) {
  .u-modal__dialog {
    border-radius: 8px;
    max-height: 88vh;
  }
  .u-modal__head {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    min-height: 48px;
    padding: 12px 16px 0.5rem;
  }
}
:root {
  --font-serif: "Noto Serif JP", "Noto Serif CJK JP", "Source Han Serif",
                "游明朝体", "YuMincho", "Yu Mincho",
                "ヒラギノ明朝 ProN", "Hiragino Mincho ProN",
                "MS P明朝", "MS PMincho", "MS 明朝", "MS Mincho",
                serif;
}

/* 見出し */
h1, h2, h3, h4, h5, h6,
.vk_heading .vk_heading_title,
.entry-title, .page-title, .page-header-title, .site-header-logo span {
  font-family: var(--font-serif);
  font-weight: 600; /* 太見出し：必要なら700 */
}

.cf7-table {
  display: flex;
  flex-direction: column;
}
.cf7-table .cf7-row {
  display: flex;
  flex-wrap: wrap;
}
.cf7-table .cf7-row .cf7-label {
  width: 30%;
  background: #f0f0f0;
  padding: 15px;
  font-weight: bold;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  box-sizing: border-box;
}
.cf7-table .cf7-row .cf7-field {
  flex: 1;
  padding: 15px;
  box-sizing: border-box;
}
.cf7-table .cf7-row .cf7-field input,
.cf7-table .cf7-row .cf7-field textarea {
  width: 100%;
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.cf7-table .cf7-row .cf7-field textarea {
  min-height: 120px;
}
.cf7-table .cf7-row .cf7-field p {
  margin: 0;
  line-height: 1.5;
}
.cf7-table .cf7-row .required-label {
  background: #c00;
  color: #fff;
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 3px;
  white-space: nowrap;
  margin-left: 0.5em;
}
.cf7-table .cf7-row .wpcf7-list-item {
  display: inline-block;
  margin: 0;
}
.cf7-table .cf7-row .submit {
  text-align: center;
  padding-top: 3em;
}
.cf7-table .cf7-row .submit input[type=submit] {
  font-size: 1.25rem;
  padding: 1em 3em;
  width: auto;
  min-width: 300px;
  display: inline-block;
  margin: 0 auto;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}
.cf7-table .cf7-row .submit .wpcf7-spinner {
  display: none;
  margin: 1em auto 0;
  text-align: center;
  float: none;
}
.cf7-table .cf7-row .submit input.has-spinner + .wpcf7-spinner {
  display: block;
}
.cf7-table .cf7-row .submit .file-note {
  font-size: 0.75rem;
  color: #666;
  margin-top: 0.5em;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .cf7-table .cf7-row {
    flex-direction: column;
  }
  .cf7-table .cf7-row .cf7-label {
    width: 100%;
    justify-content: flex-start;
    padding: 8px;
  }
  .cf7-table .cf7-row .cf7-label p {
    margin-bottom: 0 !important;
  }
  .cf7-table .cf7-row .cf7-field {
    width: 100%;
    padding: 10px 0;
  }
}
@media (max-width: 768px) {
  input[type=submit] {
    font-size: 1rem;
    padding: 0.5em 1em;
    width: 100%;
  }
}
.vk_custom_css_2 {
  position: absolute;
  left: calc(50% - 38px) !important;
  bottom: 10px;
  transform: translateY calc(-50% - 38px) !important;
  height: 50px;
}