@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/



/* アイキャッチ画像を 2:1 の比率に固定 */
.entry-card-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 2.5 / 1;
  overflow: hidden;
}

.entry-card-thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* 画像の切り抜きで比率維持 */
}



/* ▼▼▼ Forminatorの送信ボタン（Submit）を非表示にする ▼▼▼ */
/* このクラスは、すべてのForminatorフォームの「送信ボタン」に適用されます */
.forminator-button-submit {
  display: none !important;  /* ボタンを画面に表示しないようにする */
}
/* ▲▲▲ 送信ボタン 非表示ここまで ▲▲▲ */



/* フォームのHTMLブロックのラベルを非表示にする */
.forminator-custom-form .custom-hide-label .forminator-label {
  display: none !important;
}



/* ラベルとセレクトボックスを横並びにし、縦方向中央に揃える */
.forminator-row .forminator-field {
  /* 子要素（ラベルと入力）を横並びにする */
  display: flex;

  /* 子要素を垂直方向に中央揃えにする */
  align-items: center;
}

/* ラベルの表示スタイルを整える */
.forminator-row .forminator-label {
  /* ラベルの横幅を固定（文字揃えのため） */
  width: 150px;

  /* ラベルと入力要素の間に余白をつける */
  margin-right: 10px;

  /* 横幅指定を有効にするため、インラインブロック表示に */
  display: inline-block;

  /* ラベル内のテキストを中央に配置（左右中央揃え） */
  text-align: center;

  /* テキストの折り返しを防止（1行表示） */
  white-space: nowrap;

  /* ラベルの文字サイズを設定（px, emなど単位変更も可） */
  font-size: 14px;

  /* ラベルの文字を少し太めに（400=標準、600=やや太い） */
  font-weight: bold;
}


/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}
