/*
Theme Name: Lightning Child
Theme URI: 
Template: lightning
Description: 
Author: 
Tags: 
Version: 0.6.0
*/

@import url('./css/contact.css');


.article{
  /* 読みやすい行幅（“字数”基準） */
  max-width: clamp(40ch, 70ch, 80ch);
  margin: 0 auto;
  padding: 0.5rem;
  /* 文字サイズを画面に合わせて */
  font-size: clamp(18px, 2vw + .2rem, 2.6em);
  line-height: 1.3;
}

.clause{
  /* 日本語の行分割を厳密化（句読点の扱いなど） */
  line-break: strict;
  word-break: normal;         /* 日本語はこれでOK */
  overflow-wrap: anywhere;    /* 長い英数（URL等）だけ適宜分割 */
  /* 条番号のぶら下げインデント（法令っぽい組版） */
  text-indent: -1.5em;
  padding-left: 1.5em;
  margin: .5em 0;
}

@media screen and (min-width: 960px) {
    .fontL {
        font-size: 65px;
		  line-height: 1.2;
    }
}

@media screen and (max-width: 960px) {
    .fontL {
    font-size: 2.2rem;
		  line-height: 1.2;		
    }
}

/* PCでは1行に */
.catch { white-space: nowrap; }

/* 改行タグはPCでは無効化 */
.sp-br { display: none; }

/* スマホ幅だけ改行を有効化 */
@media (max-width: 767px) {
  .catch { white-space: normal; } /* 自然な2行に */
  .sp-br { display: inline; }     /* ここで改行される */
}



/* 下部固定バー（Elementorの対象コンテナに .fixed-bottom-bar を付与） */
.fixed-bottom-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: env(safe-area-inset-bottom, 0); /* iOSのホームバー避け */
  width: 100%;
  z-index: 9999;
  /* お好みで見た目 */
  background: #fff;
  box-shadow: 0 -6px 20px rgba(0,0,0,.08);
  border-top: 1px solid rgba(0,0,0,.06);
}

/* コンテンツがバーの下に潜らないよう下余白を確保（バーの高さを合わせる） */
:root {
  --bottom-bar-h: 64px; /* ← あなたのバーの高さに合わせて調整 */
}
.fixed-bottom-bar { height: var(--bottom-bar-h); display: flex; align-items: center; }
body { padding-bottom: var(--bottom-bar-h); }

/* ログイン時の管理バー（WP Admin Bar）を避ける */
body.admin-bar .fixed-bottom-bar {
  bottom: calc(env(safe-area-inset-bottom, 0) + 0px); /* デスクトップの管理バー高さ */
}
@media (max-width: 782px) {
  body.admin-bar .fixed-bottom-bar {
    bottom: calc(env(safe-area-inset-bottom, 0) + 0px); /* モバイル時の管理バー高さ */
  }
}

/* モバイルで少し高めに確保したいときの例（任意） */
@media (max-width: 767px) {
  :root { --bottom-bar-h: 50px; }
}

/* クリックをブロックしてしまうケース対策（必要なら） */
/* バーの下にある要素は操作不可になるので、開閉型なら close ボタンなどを設置してください */



/*---------------------------
 投稿の非表示用
 *---------------------------*/
.next-prev {
    display:none;
}
span.entry-meta-item.entry-meta-item-updated,span.entry-meta-item.entry-meta-item-author{
    display:none;
}


/*---------------------------
 投稿の非表示用
 *---------------------------*/

/*コピーライト削除*/
.site-footer-copyright p:nth-child(2) {
    display:none;
}
/*コピーライト削除*/


