/*top-bnr-column*/
.editor-styles-wrapper .top-bnr-column .wp-block-column{
 position: relative;
}
.editor-styles-wrapper .top-bnr-column .wp-block-image{
 position: relative;
}
.editor-styles-wrapper .top-bnr-column .wp-block-image img{
 width: 100%;
}
.editor-styles-wrapper .top-bnr-column .wp-block-column span{
 position: absolute;
 top: 0;
 left: 0;
 background: #b6baa7;
 padding: 0.1em 0.3em 0.1em 1em;
 margin: 0;
 color: #fff;
 font-size: 1.3em;
 z-index:1;
}
.editor-styles-wrapper .top-bnr-column .wp-block-column span span {
    z-index: -1;
    transform-origin: bottom;
    transform: skewX(24deg);
    content:’’;
    width: 0.8em;
    height: 100%;
    top: 0;
    left: 100%;
    display: block;
    position: absolute;
    background-color: inherit;
}

/*list indent*/
.list_indent li{
 text-indent: -1em;
 padding-left: 1em;
 font-size: 10px;
}
.list_indent_num li{
 position: relative;
 padding-left: 2em;
 font-size: 10px;
}
.list_indent li *,
.list_indent_num li *{
 text-indent: 0;
}
.list_indent_num li span:first-child{
 position: absolute;
 left: 0;
}
.list_indent a,
.list_indent_num a{
 margin: 0;
}

/*noicon */
a.noicon{
 padding: 0;
 word-break: break-all;
 border-bottom: 1px solid #333;
 font-size: inherit;
 
  -webkit-transition: border-bottom-color .2s ease-out, color .2s ease-out;
  transition: border-bottom-color .2s ease-out, color .2s ease-out
}
a.noicon:hover{
    color: #dc0032;
    border-bottom-color: transparent
  }
a.noicon .arrow,
a.noicon:before,
a.noicon:after{display: none;}

/*dl_wrap*/
.dl_wrap{
 border: 1px #333 solid;
 padding:20px;
}
.editor-styles-wrapper .dl_wrap .wp-block-column p:only-child{
 margin-bottom: 0;
}
.editor-styles-wrapper .wp-block-column .originalDownloadButton a{ 
 box-sizing: border-box;
 display: inline-block;
 width: 100%;
 padding: 20px 10px;
 margin: 0 auto 0;
 border-bottom: none;
 border: 1px solid #DC0032;
 color: #DC0032;
 font-size: inherit;
 text-align: center;
 transition: border-bottom-color .2s ease-out, color .2s ease-out;
}
.wp-block-column .originalDownloadButton a:before{
 display: none;
}
.editor-styles-wrapper .wp-block-column .originalDownloadButton a:hover {
 color: white; background-color: #DC0032;
 transition: border-bottom-color .2s ease-out, color .2s ease-out;
}
.dl_wrap.wp-block-columns + ul{
 margin-top: -23px;
}

/*title lead*/
.editor-styles-wrapper .title-lead{
position: relative;
margin-top:-132px;
font-size:1.5rem;
}
@media screen and (min-width:479px) and (max-width:959px) {
.editor-styles-wrapper .title-lead{
margin-top:-68px;
font-size:1.3rem;
}
}
@media screen and (max-width:478px) {
.editor-styles-wrapper .title-lead{
margin-top:-60px;
font-size:1rem;
}
}

/*img-title-head*/
.editor-styles-wrapper .wp-block-image.img-title-head{
margin-bottom:-134px;
}
@media screen and (min-width:479px) and (max-width:959px) {
.editor-styles-wrapper .wp-block-image.img-title-head{
margin-bottom:-88px;
}
}
@media screen and (max-width:478px) {
.editor-styles-wrapper .wp-block-image.img-title-head{
margin-bottom:-88px;
}
}

/*contact*/
.editor-styles-wrapper h4{
margin-top: 40px;
}
.editor-styles-wrapper .iconarea-tel,
.editor-styles-wrapper .iconarea-mail{
  display: block;
  text-align: center;
  padding: 40px 0;
  background-color: #7BB757;
  background-image: linear-gradient(#479A16, #A6CE8F);
  border-radius: 5px;
}
.iconarea-tel i {
  margin: 0 !important;
margin-bottom: 20px !important;
margin-block-end: 20px !important;
  padding: 0;
  font-size: 50px;
  line-height: 120px;
  text-align: center;
  color: #FFF;
  display: inline-block;
  width: 120px;
  height: 120px;
  background-color: rgba(255,255,255,0.1);
  border-radius: 50%;
}
.iconarea-mail i {
  margin: 0;
  padding: 0;
  font-size: 50px;
  line-height: 120px;
  text-align: center;
  color: #FFF;
  display: inline-block;
  width: 120px;
  height: 120px;
  background-color: rgba(255,255,255,0.1);
  border-radius: 50%;
}
.editor-styles-wrapper p.tel{
font-weight: bold;
font-size: 38px;
  line-height: 1;
margin-bottom: 20px;
}
.editor-styles-wrapper p.cap{
margin: 0;
font-size: 12px;
}
.bkfrmblock{
border: 3px solid #3E3A39;
}


.bkfrmblock .icon {
  width: 120px;
  border-right: 3px solid #3E3A39;
  text-align: center;
  background-color: #3E3A39;
}

.editor-styles-wrapper .bkfrmblock p,
.editor-styles-wrapper .bkfrmblock .wp-block-image{
margin-bottom:0;
}

/*FAQ*/

#text .q_link .head, 
#text .a .head{
  display: inline-block;
  width: 2em;
  height: 2em;
  margin-right: .3em;
  font-weight: bold;
  font-size: 1.4em;
  color: #333;
  text-align: center;
  line-height: 2;
 text-indent: 0;
}
#text .q_link{
cursor: pointer;
}
#text .q_link p{
position:relative;
}
#text .q_link .btn {
  position: absolute;
  top: 0.5em;
  right: 0;
  display: block;
  width: 1.2em;
  height: 1.2em;
  font-weight: bold;
  font-size: 1.6em;
  color: #fff;
  text-align: center;
  line-height: 1;
  background-image: none;
  background-color: #ccc;
  border-radius: 3px;
text-indent:0
}

#text .a {
display:none
}
#text .a p{
 padding-left: 3.5em;
 text-indent: -3.5em;
}
#text .a .a_indent{
 text-indent: 0;
}
#text .faq_wrap{
border-bottom: 1px solid #ccc;
}

#text .cap ,
.list_text{
  position: relative;
  display: block;
  padding-left: 1em;
 text-indent: 0;
}
#text .cap{
  font-size: 10px;
}
#text .cap .mark ,
.list_text .mark{
  position: absolute;
  left: 0;
}
/*sitemap*/
.sitemap-title {
    margin: 20px 0 40px;
    padding-top: 40px;
    position: relative;
    background-image: url(https://am.denso.com/storagebattery/wp-content/uploads/sites/18/sitemap_title.png);
    background-repeat: no-repeat;
    background-position: top left;
}
.sitemap-title a {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: .05rem;
    line-height: 1.4;
}

/*table border error*/
.wp-block-flexible-table-block-table.wp-block-flexible-table-block-table > table tr th, .wp-block-flexible-table-block-table.wp-block-flexible-table-block-table > table tr td{background-clip: padding-box;}




/* LiDsEYE：見出し4の余白・下線調整 */
h4.lidseye-h4-custom {
    margin-top: 0 !important;
    margin-bottom: 20px !important;
    margin-block-start: 0 !important;
    margin-block-end: 20px !important;
    padding-bottom: 6px !important;
    border-bottom: 1px solid #D6002A !important;
}

/* LiDsEYE：見出し4直下のリスト余白 */
.lidseye-h4-custom + ul {
    padding-top: 5px !important;
}



/* =====================================
   LiDsEYE 工場内の安全監視
===================================== */

/* 共通：右画像下のキャプション */
.lidseye-safety-images > .wp-block-column:nth-child(3) > p {
  background: #000 !important;
  color: #fff !important;
  width: 100% !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 5px 10px !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
}

.lidseye-safety-images > .wp-block-column:nth-child(3) > p * {
  color: #fff !important;
}

/* PC表示 */
@media screen and (min-width: 782px) {

  .lidseye-safety-images.wp-block-columns {
    display: grid !important;
    grid-template-columns: 47% 6% 47% !important;
    gap: 0 !important;
    align-items: start !important;
    width: 100% !important;
  }

  .lidseye-safety-images > .wp-block-column {
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

  /* 左右の写真 */
  .lidseye-safety-images > .wp-block-column:nth-child(1) .wp-block-image,
  .lidseye-safety-images > .wp-block-column:nth-child(3) .wp-block-image {
    width: 100% !important;
    margin: 0 !important;
  }

  .lidseye-safety-images > .wp-block-column:nth-child(1) .wp-block-image img,
  .lidseye-safety-images > .wp-block-column:nth-child(3) .wp-block-image img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
    object-fit: cover !important;
  }

  /* 中央矢印の配置 */
  .lidseye-safety-images > .wp-block-column:nth-child(2) {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    align-self: start !important;
    aspect-ratio: 32 / 141 !important;
    text-align: center !important;
  }

  /* 中央矢印の拡大設定を解除 */
  .lidseye-safety-images > .wp-block-column:nth-child(2) > * {
    margin: 0 !important;
    transform: none !important;
    line-height: 1 !important;
    font-size: 30px !important;
  }

  .lidseye-safety-images > .wp-block-column:nth-child(2) span {
    font-size: inherit !important;
    transform: none !important;
  }

  /* 矢印が画像の場合 */
  .lidseye-safety-images > .wp-block-column:nth-child(2) img,
  .lidseye-safety-images > .wp-block-column:nth-child(2) svg {
    display: block !important;
    width: 30px !important;
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    transform: none !important;
  }
}

/* =====================================
   スマートフォン表示
===================================== */
@media screen and (max-width: 781px) {

  /* カラムを縦並びに */
  .lidseye-safety-images.wp-block-columns {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
  }

  .lidseye-safety-images > .wp-block-column {
    flex: 0 0 auto !important;
    width: 100% !important;
    margin: 0 !important;
  }

  /* 中央矢印カラム */
  .lidseye-safety-images > .wp-block-column:nth-child(2) {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    padding: 12px 0 !important;
    aspect-ratio: auto !important;
  }

  /* PC用矢印を非表示 */
  .lidseye-safety-images > .wp-block-column:nth-child(2) > * {
    display: none !important;
  }


/* ========================================
   スマホ用の下向き矢印（赤色）
   画像URL不要・リンク切れ対策
   ======================================== */

.lidseye-safety-images > .wp-block-column:nth-child(2)::before {
  content: "" !important;
  display: block !important;

  /* 矢印のサイズ */
  width: 22px !important;
  height: 22px !important;

  /* 中央揃え・下余白 */
  margin: 0 auto 15px !important;

  /* 矢印の色と太さ */
  border-right: 4px solid #FF0000 !important;
  border-bottom: 4px solid #FF0000 !important;

  /* 下向きに回転 */
  transform: rotate(45deg) !important;

  /* 背景画像は使用しない */
  background-image: none !important;
}


  /* 左右画像の幅 */
  .lidseye-safety-images .wp-block-image {
    width: 100% !important;
    margin: 0 !important;
  }

  .lidseye-safety-images .wp-block-image img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
  }
}

/* =====================================
   LiDsEYE 左右の天地サイズ統一
   PC表示のみ
===================================== */
@media screen and (min-width: 782px) {

  /* 右カラム全体を左画像と同じ縦横比に */
  .lidseye-safety-images > .wp-block-column:nth-child(3) {
    aspect-ratio: 16 / 9 !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
  }

  /* 右写真：黒帯の高さ分だけ縮小 */
  .lidseye-safety-images > .wp-block-column:nth-child(3) .wp-block-image {
    flex: 1 1 0 !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 !important;
    overflow: hidden !important;
  }

  .lidseye-safety-images > .wp-block-column:nth-child(3) .wp-block-image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: auto !important;
    object-fit: cover !important;
  }

  /* 黒帯テキスト */
  .lidseye-safety-images > .wp-block-column:nth-child(3) > p {
    flex: 0 0 auto !important;
    margin: 0 !important;
  }

}

/* =====================================
   LiDsEYE CASE付き H4見出し
===================================== */

/* H4見出し全体 */
h4.lidseye-case-heading {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin: 0 0 20px !important;
  padding: 0 0 14px !important;
  border: none !important;
  border-bottom: 1px solid #333 !important;
  background: none !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
}

/* 赤帯 CASEラベル */
h4.lidseye-case-heading .lidseye-case-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 100px;
  width: 100px;
  height: 22px;
  box-sizing: border-box;

  background-color: #e6002d;
  color: #fff !important;

  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1 !important;

  /* 右端を斜めにカット */
  clip-path: polygon(
    0 0,
    100% 0,
    90% 100%,
    0 100%
  );
}

/* 見出しタイトル */
h4.lidseye-case-heading .lidseye-case-title {
  font-size: inherit !important;
  font-weight: 700 !important;
  color: #222 !important;
}

/* スマートフォン */
@media screen and (max-width: 781px) {

  h4.lidseye-case-heading {
    font-size: 15px !important;
    gap: 6px !important;
  }

  h4.lidseye-case-heading .lidseye-case-label {
    flex-basis: 85px;
    width: 85px;
    height: 22px;
    font-size: 13px !important;
  }
}


/* =====================================
   LiDsEYE 特長ページ
   カラムレイアウト修正版
===================================== */

/* 外側：アイコン＋右コンテンツ */
.lidseye-feature-row.wp-block-columns {
  display: grid !important;
  grid-template-columns: 170px minmax(0, 1fr) !important;
  gap: 28px !important;
  align-items: start !important;
}

/* 外側カラムの余白をリセット */
.lidseye-feature-row > .wp-block-column {
  margin: 0 !important;
  padding: 0 !important;
  min-width: 0 !important;
  align-self: start !important;
}

/* 左アイコン */
.lidseye-feature-row > .wp-block-column:first-child {
  width: 170px !important;
}

.lidseye-feature-row > .wp-block-column:first-child figure {
  margin: 0 !important;
}

.lidseye-feature-row > .wp-block-column:first-child img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: auto !important;
}

/* 右コンテンツ */
.lidseye-feature-row > .wp-block-column:nth-child(2) {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* H4見出し：アイコンの上端に揃える */
.lidseye-feature-row h4.lidseye-feature-heading {
  margin: 0 0 18px !important;
  margin-block-start: 0 !important;
  padding: 0 0 14px !important;
  border: none !important;
  border-bottom: 1px solid #999 !important;
  background: none !important;
  color: #222 !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
}

.lidseye-feature-row h4.lidseye-feature-heading::before,
.lidseye-feature-row h4.lidseye-feature-heading::after {
  content: none !important;
}

/* H4直下の内側2カラム */
.lidseye-feature-row
> .wp-block-column:nth-child(2)
> .wp-block-columns {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 340px !important;
  gap: 24px !important;
  align-items: start !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* 内側カラム共通 */
.lidseye-feature-row
> .wp-block-column:nth-child(2)
> .wp-block-columns
> .wp-block-column {
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* 左側の説明文 */
.lidseye-feature-description {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #222 !important;
  font-size: 18px !important;
  line-height: 1.6 !important;
}

/* CASEリンク全体 */
.lidseye-feature-link {
  display: block !important;
  position: relative !important;
  width: 100% !important;
  min-height: 86px !important;
  box-sizing: border-box !important;
  border: 1px solid #e6002d !important;
  background: #fff !important;
  overflow: hidden !important;
  text-decoration: none !important;
}

/* CASE番号の赤帯 */
.lidseye-feature-case {
  display: flex !important;
  align-items: center !important;
  width: 158px !important;
  height: 34px !important;
  box-sizing: border-box !important;
  padding-left: 18px !important;
  background: #e6002d !important;
  color: #fff !important;
  font-size: 20px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  clip-path: polygon(
    0 0,
    100% 0,
    80% 100%,
    0 100%
  ) !important;
}

/* CASEタイトル */
.lidseye-feature-link-title {
  display: block !important;
  padding: 12px 40px 12px 12px !important;
  color: #e6002d !important;
  font-size: 18px !important;
  line-height: 1.4 !important;
}

/* リンク右矢印 */
.lidseye-feature-link::after {
  content: "" !important;
  position: absolute !important;
  right: 18px !important;
  top: 50% !important;
  width: 10px !important;
  height: 10px !important;
  border-top: 1.5px solid #e6002d !important;
  border-right: 1.5px solid #e6002d !important;
  transform: translateY(-50%) rotate(45deg) !important;
}

.lidseye-feature-link:hover {
  background: #fff5f7 !important;
}

/* =====================================
   タブレット
===================================== */
@media screen and (min-width: 782px)
and (max-width: 1100px) {

  .lidseye-feature-row
  > .wp-block-column:nth-child(2)
  > .wp-block-columns {
    grid-template-columns: minmax(0, 1fr) 280px !important;
    gap: 16px !important;
  }
}

/* =====================================
   スマートフォン
===================================== */
@media screen and (max-width: 781px) {

  .lidseye-feature-row.wp-block-columns {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .lidseye-feature-row > .wp-block-column:first-child {
    width: 140px !important;
  }

  .lidseye-feature-row > .wp-block-column:nth-child(2) {
    width: 100% !important;
  }

  .lidseye-feature-row
  > .wp-block-column:nth-child(2)
  > .wp-block-columns {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .lidseye-feature-row h4.lidseye-feature-heading {
    font-size: 15px !important;
  }

  .lidseye-feature-description {
    font-size: 15px !important;
  }

  .lidseye-feature-link {
    width: 100% !important;
  }
}


/* LiDsEYE 左アイコンとH4見出しの上端を揃える */
@media screen and (min-width: 782px) {

  /* 親カラムの上揃え */
  .lidseye-feature-row.wp-block-columns {
    align-items: start !important;
  }

  /* 左右カラムの上余白を解除 */
  .lidseye-feature-row > .wp-block-column {
    align-self: start !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  /* H4見出しの上余白を解除 */
  .lidseye-feature-row
  > .wp-block-column:nth-child(2)
  > h4.wp-block-heading {
    margin-top: 0 !important;
    margin-block-start: 0 !important;
    padding-top: 0 !important;
  }

  /* 左アイコン画像の余白を解除 */
  .lidseye-feature-row
  > .wp-block-column:first-child figure {
    margin-top: 0 !important;
  }
}

/* 左画像カラムの上部余白を0に */
.lidseye-feature-row > .wp-block-column:first-child {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* 画像ブロックの上部余白を0に */
.lidseye-feature-row > .wp-block-column:first-child figure,
.lidseye-feature-row > .wp-block-column:first-child img {
  padding-top: 0 !important;
  margin-top: 0 !important;
}


/* ========================================
   共通ボタン：LidsEYE
   ======================================== */

.ddu-contact-button {
  margin: 30px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: 70% !important;
  max-width: 780px !important;
  min-height: 95px;
  padding: 18px 20px;
  box-sizing: border-box;
  border: 2px solid #FF0000;
  background-color: #FFFFFF;
  color: #FF0000 !important;
  text-decoration: none !important;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  transition: background-color 0.2s;
}

/* マウスオーバー */
.ddu-contact-button:hover {
  background-color: #FFF5F5;
  color: #FF0000 !important;
  text-decoration: none !important;
}

/* 矢印アイコン */
.ddu-contact-button svg {
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ボタンテキスト */
.ddu-contact-button .ddu-contact-text {
  color: #FF0000;
}

/* ========================================
   スマートフォン対応
   ======================================== */

@media (max-width: 600px) {
  .ddu-contact-button {
    width: 90% !important;
    max-width: none !important;
    gap: 10px;
    min-height: 80px;
    padding: 15px 10px;
    font-size: 14px;
  }

  .ddu-contact-button .ddu-arrow-icon {
    width: 16px;
    height: 16px;
  }
}


/* ========================================
   LidsEYE 資料ボタン共通
   仕様・外形図 / 取扱説明書
   ======================================== */

.ddu-document-button {
  margin: 30px auto 0;
  display: flex;
  align-items: stretch;
  width: 70% !important;
  max-width: 780px !important;
  min-height: 135px;
  padding: 0;
  box-sizing: border-box;
  border: 1px solid #999999;
  text-decoration: none !important;
  overflow: hidden;
  transition: opacity 0.2s;
}

/* 左側：白背景アイコンエリア */
.ddu-document-button .ddu-document-icon {
  width: 18%;
  flex: 0 0 18%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
}

/* ドキュメントアイコン */
.ddu-document-button .ddu-document-icon svg {
  width: 90px;
  height: 90px;
  fill: none;
  stroke: #111111;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* 右側：赤背景エリア */
.ddu-document-button .ddu-document-content {
  width: 82%;
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 26px;
  box-sizing: border-box;

  background-color: #C91420;
  background-image:
    repeating-linear-gradient(
      160deg,
      transparent 0px,
      transparent 10px,
      rgba(255,255,255,0.035) 11px,
      transparent 14px
    ),
    linear-gradient(
      110deg,
      #D01925 0%,
      #B80F1B 100%
    );
}

/* ボタンテキスト */
.ddu-document-button .ddu-document-text {
  color: #FFFFFF !important;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.4;
  text-decoration: none !important;
}

/* 右矢印 */
.ddu-document-button .ddu-document-arrow {
  width: 26px;
  height: 32px;
  flex-shrink: 0;
  fill: none;
  stroke: #FFFFFF;
  stroke-width: 3.5;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

/* マウスオーバー */
.ddu-document-button:hover {
  opacity: 0.85;
  text-decoration: none !important;
}

/* ========================================
   スマートフォン対応
   ======================================== */

@media (max-width: 600px) {
  .ddu-document-button {
    width: 90% !important;
    max-width: none !important;
    min-height: 95px;
  }

  .ddu-document-button .ddu-document-icon {
    width: 22%;
    flex: 0 0 22%;
  }

  .ddu-document-button .ddu-document-icon svg {
    width: 56px;
    height: 56px;
    max-width: 85%;
  }

  .ddu-document-button .ddu-document-content {
    width: 78%;
    gap: 8px;
    padding: 12px;
  }

  .ddu-document-button .ddu-document-text {
    font-size: 14px;
  }

  .ddu-document-button .ddu-document-arrow {
    width: 16px;
    height: 22px;
  }
}



/* 画像ブロックのキャプションを中央揃え */
.wp-block-image figcaption,
.wp-block-image .wp-element-caption {
  text-align: center !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
  position: relative !important;
  left: -60px !important;
  transform: none !important;
}

/* CASE02専用：左右画像の高さを統一 */
.lidseye-case02 > .wp-block-column:first-child,
.lidseye-case02 > .wp-block-column:last-child {
  position: relative !important;
}

.lidseye-case02 > .wp-block-column:first-child .wp-block-image,
.lidseye-case02 > .wp-block-column:last-child .wp-block-image {
  margin: 0 !important;
}

.lidseye-case02 > .wp-block-column:first-child img,
.lidseye-case02 > .wp-block-column:last-child img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 9 !important;
  object-fit: cover !important;
}

/* 左写真の段落を黒帯キャプションに */
.lidseye-case02 > .wp-block-column:first-child > .wp-block-image + p {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  z-index: 2 !important;

  width: 100% !important;
  margin: 0 !important;
  padding: 8px 10px !important;
  box-sizing: border-box !important;

  background: #000000 !important;
  color: #ffffff !important;
  text-align: center !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
}

/* CASE02 左右の黒帯の高さを統一 */
.lidseye-case02 > .wp-block-column:first-child > .wp-block-image + p,
.lidseye-case02 > .wp-block-column:last-child > .wp-block-image + p {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 32px !important;
  min-height: 32px !important;
  margin: 0 !important;
  padding: 0 10px !important;
  box-sizing: border-box !important;
  background: #000000 !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}



/* CASE02 左側の黒帯だけ高さを微調整 */
.lidseye-case02 > .wp-block-column:first-child > .wp-block-image + p {
  height: 34px !important;
  min-height: 34px !important;
}


/* 外形図の説明文 */
/* 子カラムの幅を確保 */
.lidseye-columns > .wp-block-column {
    min-width: 0;
}

/* 右側の説明文 */
.lidseye-columns .lidseye-spec {
    display: grid;
    grid-template-columns: 7em 2em minmax(0, 1fr);
    column-gap: 0.4em;
    row-gap: 14px;
    align-items: start;
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box;
    font-size: 16px;
    line-height: 2.0;
}

.lidseye-spec > span {
    min-width: 0;
    margin: 0;
    padding: 0;
}

.lidseye-spec > span:nth-child(3n+1),
.lidseye-spec > span:nth-child(3n+2) {
    white-space: nowrap;
}

/* 左側の画像のワイド編集 */

.lidseye-image {
    width: 100% !important;
    max-width: none !important;
}

.lidseye-image img {
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    display: block;
}

/*5つの価値カラム、ピクト直下のマージン調整*/
.wp-block-image.value-pict {
    margin-bottom: 0 !important;
}

.wp-block-image.value-pict + p,
.wp-block-image.value-pict + .wp-block-heading {
    margin-top: 0 !important;
}


/* アンカーリンク遷移先の上部マージン調整 */
h4[id] {
    scroll-margin-top: 30px;
}


/* スマホ表示時のTOPビジュアルをPCと同じ構図にする */
@media screen and (max-width: 767px) {

    .mod-link-slider,
    .mod-link-slider .swiper,
    .mod-link-slider .swiper-container,
    .mod-link-slider .swiper-wrapper,
    .mod-link-slider .swiper-slide {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
    }

    .mod-link-slider .swiper-slide img {
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        object-fit: contain !important;
        display: block !important;
    }

}


/* スマホ表示時のみ改行 */
.sp-br {
    display: none;
}

@media screen and (max-width: 767px) {
    .sp-br {
        display: inline;
    }
}

/* PC専用改行・スマホ時は改行を解除 */
@media screen and (max-width: 767px) {
    .pc-br {
        display: none !important;
    }
}
/* =====================================
   CASE01 左右画像＋黒帯の天地統一
   既存の右カラムの仕組みを左右に適用
===================================== */

/* 左右の黒帯（PC・スマートフォン共通） */
.lidseye-safety-images.lidseye-case01 > .wp-block-column:is(:first-child, :last-child) > .wp-block-image + p {
  position: static !important;
  flex: 0 0 32px !important;
  width: 100% !important;
  height: 32px !important;
  min-height: 32px !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 0 10px !important;
  background: #000 !important;
  color: #fff !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
  text-align: center !important;
  text-indent: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.lidseye-safety-images.lidseye-case01 > .wp-block-column:is(:first-child, :last-child) > .wp-block-image + p * {
  color: #fff !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* PC：左右とも画像＋黒帯で16:9 */
@media screen and (min-width: 782px) {
  .lidseye-safety-images.lidseye-case01 > .wp-block-column:is(:first-child, :last-child) {
    aspect-ratio: 16 / 9 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    overflow: hidden !important;
  }

  .lidseye-safety-images.lidseye-case01 > .wp-block-column:is(:first-child, :last-child) > .wp-block-image {
    flex: 1 1 0 !important;
    min-height: 0 !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    overflow: hidden !important;
  }

  .lidseye-safety-images.lidseye-case01 > .wp-block-column:is(:first-child, :last-child) > .wp-block-image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: auto !important;
    object-fit: cover !important;
  }
}
