/*ヘッダーメニュー内ページテキスト　中央配置　display部分をflexから変更*/
.wp-block-navigation .wp-block-navigation-item {
	align-items: center;
	background-color: inherit;
	display: grid;
}


/* 管理バーがあるときVK BLOCKS 固定表示ブロックを下げる　上固定の場合 */
body.admin-bar .vk_fixed-display-position-top {
  top: 32px !important;
}
@media (max-width: 782px) {
  body.admin-bar .vk_fixed-display-position-top {
    top: 46px !important;
  }
}


/*----------------------------------------------------------------------------------------------------*/

/*フォントサイズ流動変化*/
:root {
  --min-font: 0.75rem;
  --max-font: 1rem;
  --fluid-font: calc(0.5rem + 0.5vw);
}

html {
  font-size: clamp(var(--min-font), var(--fluid-font), var(--max-font));
}


/*フォント指定*/
html {font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;}
body {font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;}
h1,h2,h3,h4,h5,h6 {font-family: "Noto Serif JP", "Hiragino Mincho ProN", serif;}
.gothic {font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;}
.mincho {font-family: "Noto Serif JP", "Hiragino Mincho ProN", serif;}


/*個別　テキストシャドウ 黒影*/
.xshadb {text-shadow:0.1rem 0.1rem 0 rgb(51, 51, 51, 1.0);}
/*個別　テキストシャドウ 灰影*/
.xshadg {text-shadow:0.1rem 0.1rem 0 rgb(221, 221, 221, 1.0);}
/*個別　テキストシャドウ 白影*/
.xshadw {text-shadow:0.1rem 0.1rem 0 rgb(255, 255, 255, 1.0);}


/*----------------------------------------------------------------------------------------------------*/


/*画面遷移フェードインエフェクト*/
body {
  animation: fadeIn 1s ease-in-out forwards;
}
@keyframes fadeIn {
  0.1% { opacity: 0; }
  100% { opacity: 1; }
}


/*----------------------------------------------------------------------------------------------------*/

/*iPhoneカバーブロックパララックスCSSのみ版*/

/* カバーブロックの基本設定 */
.wp-block-cover.has-parallax {
  -webkit-clip-path: inset(0);
  clip-path: inset(0);
  position: relative;
  overflow: hidden;
}

/* 背景画像の設定 */
.wp-block-cover__image-background.has-parallax {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100vh;
  object-fit: cover;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  will-change: transform;
}

/* オプション：モバイルデバイスでの最適化 */
@media screen and (max-width: 781.98px) {
  .wp-block-cover__image-background.has-parallax {
    transform: none;
    -webkit-transform: none;
  }
}

/*----------------------------------------------------------------------------------------------------*/

/*モバイルメニュークローズボタン位置調整　X-T9*/
.wp-block-navigation__responsive-container-close {
  position: absolute;
  right: 10px;
  top: 20px;
  z-index: 2;
}

/*----------------------------------------------------------------------------------------------------*/

/*reCAPTCHA非表示*/
.grecaptcha-badge {
visibility:hidden;
}

/*----------------------------------------------------------------------------------------------------*/

/*CF7送信ボタンなど　X-T9では!importantが必要なところあり*/
.wpcf7-submit {
    background-color: black !important; /* ボタンカラー */
    color: white !important;
    font-size: 1.125rem; /* フォントサイズを少し大きく */
    font-weight: bold;
    padding: 0.875rem 1.75rem; /* 余白を大きく */
    border-radius: 0px;
    border: 1px solid black !important;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    text-align: center;
    display: inline-block;
    cursor: pointer;
    width: 100%; /* ボタンの幅を広げる（適宜変更） */
    max-width: 300px; /* 必要なら最大幅を指定 */
    transition: background-color 0.3s ease, color 0.3s ease; /* 色変更のみ */
    margin-bottom: 5px; /* ボタン下の余白を調整 */
}
/*ボタンホバーカラー*/
.wpcf7-submit:hover {
    background-color: white !important;
    color: black !important;
    /*border: 1px solid black;*/
}

/*アラート文字色など*/
.wpcf7-response-output {
    color: red; /* 文字を赤色に */
    font-size: 1rem; /* フォントサイズ調整 */
    font-weight: normal; /* 文字を強調 */
    text-align: center; /* 中央配置 */
    background: none !important; /* 背景色を完全に消す */
    border: none !important; /* 枠線を完全に削除 */
    box-shadow: none !important; /* 影を削除（もし適用されていた場合） */
  margin: 0 !important;
  padding: 0 !important;
}


/*CF7　必須項目です等のメッセージカラー*/
span.wpcf7-not-valid-tip {
color:red;
}

/*CF7　送信完了メッセージカラー*/
.wpcf7 form.sent .wpcf7-response-output {
color:blue;
}


/*スピナーカラー調整*/
.wpcf7-spinner {
    background-color: #fff !important;
}

/*スピナー回転ボールの調整*/
.wpcf7-spinner::before {
  background-color: #ccc !important;
}

/* 送信ボタンを中央に配置 */
.wpcf7 .wpcf7-submit {
  display: block;
  margin: 0 auto;
}

/* スピナーの位置を調整 */
.wpcf7 .wpcf7-spinner {
  display: block;
  margin: 10px auto 0 auto; /* 上に余白をつけて中央揃え */
  position: relative;
}


/*CF7 日付時間ファイル等の行間調整*/
.wpcf7 input {
font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
}


/*CF7　ファイル選択　行間等調整　テキスト部の手のマウスカーソル非表示*/
.wpcf7 input[type="file"] {
width: 50%;
border: none;
margin:0rem 0rem 0rem 0rem;
cursor:initial!important;
font-family: "Noto Sans JP", "Hiragino Sans", sans-serif; /* フォントを統一 */
}

@media (max-width: 991.98px) {
.wpcf7 input[type="file"] {
width: 75%;
border: none;
margin:0rem 0rem 0rem 0rem;
cursor:initial!important;
font-family: "Noto Sans JP", "Hiragino Sans", sans-serif; /* フォントを統一 */
}
}


/* テキストフィールドとテキストエリアのサイズ・フォントを統一 */
.wpcf7-form-control.wpcf7-text, 
.wpcf7-form-control.wpcf7-textarea {
    width: 100%; /* 幅を最大化 */
    max-width: ; /* 必要なら最大幅を設定　設定しない方がいい感じ */
    font-size: 16px; /* フォントサイズ統一 */
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif; /* フォントを統一 */
    padding: 5px; /* 内側の余白調整 */
    border:1px solid #ccc;
    line-height: 1.25;
    letter-spacing: 0.05em;
    color:#333333;
}


/* プレースホルダーのデザイン調整 */
::placeholder {
    font-size: 1rem; /* プレースホルダーの文字サイズを統一 */
    color: #999; /* 視認性を向上するための色調整 */
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif; /* フォントをテキスト欄と統一 */
}


/*CF7　radioの左余白をナシにして右余白アリに変更調整*/
.wpcf7-list-item {
  display: inline-block;
  margin: 0 1rem 0 0 !important;
}

/*CF7　日付項目の上下余白調整など*/
main input, main textarea, main select {
  padding: 0.125rem;
  border: 1px solid var(--wp--preset--color--border-normal);
}

/*CF7　日付項目幅等調整　スマホサイズのみ幅を狭く　X-T9*/
@media (max-width: 575.98px) {
input[type="date"] {
  width: 100%;
  max-width: 25%;
  box-sizing: border-box;
}
}

/*指定　CF7で使用するコアテーブルブロックの項目カラーの変更*/
.xwbtbc .wp-block-table table td:first-child {
  background-color: #fafafa; /* お好みの色に変更してください */
}




