/*
Theme Name: Astra Child
Template: astra
Description: Astra子テーマ
Version: 1.0
*/

/* スマホではサイドメニューを非表示 */
/* @以降PC表示以上（835px以上）では表示 */
.sp_d_none {
  display: none;
}

@media screen and (min-width: 835px) {
  .sp_d_none {
    display: block;
  }
}

/* スマホ表示のカートアイコン非表示 */
.offcanvas-cart-link {
    display: none;
}


/* 購入ページのいらない要素を消す */
.product_meta {
    display: none;
}

/* CF7調整 */

/* 見出しの文字の大きさ */
label {
    font-size: 20px;
}

/* ラジオボタン全体のコンテナに枠を追加（縦幅を抑える） */
.wpcf7-form-control.wpcf7-radio {
    border: 1px solid #e0e0e0;
    padding: 5px 10px;
    border-radius: 4px;
    background-color: #fff;
    display: block;
}

/* 各ラジオボタンの選択肢の間隔も調整 */
.wpcf7-form-control.wpcf7-radio .wpcf7-list-item {
    margin: 2px 0;
    padding-left: 0.5em;  /* ラジオボタンの左に余白を追加 */
}

.wpcf7-form-control.wpcf7-radio .wpcf7-list-item:first-child {
    margin-top: 0;
}

.wpcf7-form-control.wpcf7-radio .wpcf7-list-item:last-child {
    margin-bottom: 0;
}

/* フォーカス時のスタイル（オプション） */
.wpcf7-form-control.wpcf7-radio:focus-within {
    border-color: #0073aa;
    box-shadow: 0 0 0 1px #0073aa;
}



/* メニューバーのロゴを中央に配置 */
.main-header-bar {
    display: flex;
    justify-content: center;
}

/* 区切り線 */ 
.my_hr_style {
  border-top: 4px solid #0066cc;  /* 落ち着いた青 */
  width: 100%;
}

/* フッター下部固定
html, body {
  height: 100%;
  margin: 0;
}

.site {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

footer {
  margin-top: auto;
}
 */


/* ショップ一覧のカートを消す
.wc-block-mini-cart.wp-block-woocommerce-mini-cart {
    display: none;
}

*/ 

/* ページID 1624・1205専用 - ヘッダー・フッター・メニュー非表示 *1205はいったんなし*/
/* ページID 1624専用 - ヘッダー・メニュー非表示 
.page-id-1624 #masthead {
    display: none !important;
}
.page-id-1624 .offcanvas-navigation.oc-fixed-top{
    display: none !important;
}
*/

/* 上部の余白削除 */
.page-id-1624{
    padding-top: 0 !important;
    margin-top: 0 !important;
}
.page-id-1624 #main,
.page-id-1624 #primary,
.page-id-1624 .site-content{
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* ================================================
   校正モード用スタイル
   URLパラメータ ?preview_hidden=your-secret-key
   を付けてアクセスすると非表示要素が表示される
   ================================================ */

/* 通常時 */
.hidden-for-review {
  display: none;
}

/* 校正モード用 */
body.preview-mode .hidden-for-review {
  display: block;
}

  /* 校正モード時に「準備中」を非表示 */
   body.preview-mode .preparing-message {
     display: none;
   }

/* 商品ページ上部のカテゴリー表示を非表示 */
span.single-product-category {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* 初期状態は非表示 */
#backToTopAfterSend {
    display: none;
    margin-top: 30px;
    text-align: center;
}

/* ボタンデザイン */
#backToTopAfterSend a {
    display: inline-block;
    padding: 12px 28px;
    background-color: #265CAE;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* ホバー */
#backToTopAfterSend a:hover {
    background-color: #11EE06;
    color: #265CAE;
}

/* ===== CF7確認画面 テーブル列幅バランス調整 ===== */

/* テーブル全体を固定レイアウトに 
.wpcf7cf-confirmation table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}*/

/* 左列（項目名） 
.wpcf7cf-confirmation table th {
  width: 35%;
  white-space: normal;
  word-break: break-word;
  vertical-align: top;
}*/

/* 右列（入力内容）
.wpcf7cf-confirmation table td {
  width: 65%;
  word-break: break-word;
} */

/* 演題募集ページの赤文字太字） */
.important-text{
  color:#d63638;
  text-decoration: underline;
}

/* ConfirmPlus 高さ制限を完全解除スマホだけ */

@media (max-width: 768px) {

  .wpcf7cf-step[style],
  .wpcf7cf-confirmation[style] {
      height: auto !important;
      max-height: none !important;
  }

}

#wpcf7cpcnf {
    margin-bottom: 1000px !important;
}


/* ===== ConfirmPlus 強制解除（応急処置） ===== */

@media (max-width: 768px) {

  .wpcf7cf-step {
      overflow: visible !important;
      height: auto !important;
      max-height: none !important;
  }

}




