.pc-screen { display: block !important; }
.sp-screen { display: none !important; }

.menu-sumaho table{
  width: 100%; 
}

.cs-example{
    text-align: right;
    padding: 10px 0 0;
  　text-decoration:underline!important;
}

.heading_h3{
  padding: .5em .7em;
  border-left: 1px solid #2f2e33;
  margin: 25px 0;
}

summary.coating-qa {
    font-size: 14px;
    font-weight: bold;
    padding: 5px 0;
}

.heading-25 {
    position: relative;
    padding-top: 50px;
  	margin:10px;
    color: #2f2e33;
}

.heading-25::before {
    position: absolute;
    bottom: .10em;
    left: 0;
    z-index: -1;
    color: #2f2e33;
    font-size: 25px;
    line-height: 1;
    content: attr(data-word);
    pointer-events: none;
}

/******************************/
/* テキストボックス */
/******************************/

.box-013 {
    max-width: 700px;
    margin: 0 auto;
    border: 2px solid #2f2e33;
    border-radius: 3px;
}

.box-013 span {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: .5em 0;
    background-color: #2f2e33;
    color: #fff;
    font-weight: 600;
}

.box-013 p {
    margin: 0;
    padding: 1em 1.5em;
    color: #2f2e33;
    text-align: left;
}


/******************************/
/* テキストボックス */
/******************************/



/******************************/
/* 吹き出し */
/******************************/
/*
.balloon2 {
  position: relative;
  margin: 1.5em auto;
  padding: 15px 20px;
  min-width: 120px;
  max-width: 90%;
  color: #d70026;
  font-size: 16px;
  background: #FFF;
  border: solid 3px #2f2e33;
  box-sizing: border-box;
  border-radius: 10px;
}

.balloon2:before {
  content: "";
  position: absolute;
  bottom: -24px;
  left: 50%;
  margin-left: -15px;
  border: 12px solid transparent;
  border-top: 12px solid #FFF;
  z-index: 2;
}

.balloon2:after {
  content: "";
  position: absolute;
  bottom: -30px;
  left: 50%;
  margin-left: -17px;
  border: 14px solid transparent;
  border-top: 14px solid #2f2e33;
  z-index: 1;
}

.balloon2 p {
  margin: 0 auto;
  padding: 0;
  font-size: 25px;
  font-weight: bold;
  color: #2f2e33;
  text-align: center;
}
*/
.saitansagyoubi {
  color: #d70026;
  font-size: 31px;
  text-decoration:underline double 3px #d70026;
}

.balloon2 {
  position: relative;
  margin: 1.5em auto;
  padding: 15px 0;
  min-width: 120px;
  max-width: 90%;
  color: #d70026;
  font-size: 16px;
  background: #FFF;
  border: solid 3px #2f2e33;
  box-sizing: border-box;
  border-radius: 10px;
}

/* 上に出る白い三角形 */
.balloon2:before {
  content: "";
  position: absolute;
  top: -24px; /* 上に移動 */
  left: 50%;
  margin-left: -15px;
  border: 12px solid transparent;
  border-bottom: 12px solid #FFF; /* 下方向の白 */
  z-index: 2;
}

/* 上に出る外側の黒い縁 */
.balloon2:after {
  content: "";
  position: absolute;
  top: -30px; /* 上に移動 */
  left: 50%;
  margin-left: -17px;
  border: 14px solid transparent;
  border-bottom: 14px solid #2f2e33; /* 下方向の黒 */
  z-index: 1;
}

.balloon2 p {
  margin: 0;
  padding: 0;
  font-size: 36px;
  font-weight: bold;
  color: #2f2e33;
  text-align: center;
}

/******************************/
/* 吹き出し終わり */
/******************************/

/******************************/
/* 吹き出し内装飾 */
/******************************/
/*
.heading-16 {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}

.heading-16::before,
.heading-16::after {
    width: 3px;
    height: 40px;
    background-color: #fff;
    content: '';
}

.heading-16::before {
    transform: rotate(-35deg);
    margin-right: 30px;
}

.heading-16::after {
    transform: rotate(35deg);
    margin-left: 30px;
}
*/

.balloon2 .diagonal-table {
  width:100%;
}

.balloon2 .diagonal-table th {
  position: relative;
  width: 50%;
  vertical-align: top;
  text-align: center;
  padding: 20px;
  vertical-align: middle;
}

.balloon2 .diagonal-table .left-th::after {
  content: "";
  position: absolute;
  top: 10%;
  right: -5px;
  width: 2px;
  height: 80%;
  background-color: #2f2e33;
  transform-origin: top right;
  pointer-events: none;
}

/******************************/
/* 吹き出し内装飾終わり */
/******************************/

.heading b {
  font-size:20px;
}

.info_detail_lists {
  font-size:16px;
  margin: 10px 0;
}


/******************************/
/* メーカー別のボタン */
/******************************/

.button-36 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 95%;
    margin: 5px auto;
    padding: .9em 2em;
    border: 2px solid #2f2e33;
    border-radius: 5px;
    background-color: #f4f4f4;
    color: #2f2e33;
    font-weight: 600;
    font-size: 20px;
}

.button-36:hover {
    border: 2px solid #d70026;
    background-color: #d70026;
    color: #fff;
}

/******************************/
/* メーカー別のボタン */
/******************************/

/******************************/
/* ランキング　矢印のボタン */
/******************************/

.button-54 {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 250px;
  margin-top: 20px; /* 画像との間隔 */
  padding: .9em 3em .9em 2em;
  border: 3px solid #2f2e33;
  border-radius: 5px;
  background-color: #2f2e33;
  color: #fff;
  font-size: 1em;
}


.button-54::after {
  position: absolute;
  right: 2em;
  transform: translateY(-50%);
  transform-origin: left;
  width: 2em;
  height: .5em;
  background-color: #fff;
  clip-path: polygon(0 100%, 100% 100%, 70% 40%, 70% 90%, 0% 90%);
  content: '';
  transition: transform .3s;
}

.button-54:hover {
  border: 3px solid #d70026;
  background-color: #d70026;
  color: #fff;
}

.button-54:hover::after {
  transform: translateY(-50%) scaleX(1.4);
}
  /******************************/
/* ランキング　矢印のボタン */
/******************************/
  
  
@media screen and (max-width: 980px){
  .balloon2 p {
    font-size: 16px;
  }
  
  .saitansagyoubi {
      font-size: 25px;
  }
  
}

@media screen and (max-width: 768px){
  .balloon2 .diagonal-table tr {
    display: flex;
    flex-direction: column;
  }

  .balloon2 .diagonal-table th {
    width: 94%;
    border-bottom: none;
    padding: 15px 10px;
  }

  .balloon2 .diagonal-table .left-th::after {
    display: none; /* スマホでは斜め線を非表示に */
  }
}
  .box-013{
    margin: 0;
    max-width: 90%;
  }
  
  .menu-sumaho table {
   width: 93%;
  }
  
  .sumaho-width img {
    width: 75%;
  }
}

@media only screen and (max-width: 550px){
    .pc-screen { display: none !important; }
    .sp-screen { display: block !important; }
  
}

@media only screen and (max-width: 480px){
   .menu-item {
    flex: 1 1 48%;
  }
  
  .col-xs-12 {
    width:auto;
  }
  
  .button-36{
    font-size: 18px;
  }
  
  .button-54 {
    position: relative;
    width: 100%;
    max-width: 150px;
    min-width: auto;
    padding: 0.8em 1em 2em; /* 下にスペース確保（2emなど） */
    text-align: center;
  }

  .button-54::after {
    content: "↓"; /* 下矢印に変更 */
    position: absolute;
    bottom: 0.5em;       /* 下からの位置 */
    left: 50%;           /* 中央に配置 */
    transform: translateX(-50%);
    pointer-events: none;
    font-size: 1.2em;    /* 必要ならサイズ調整 */
  }
}


.iframe-responsive2 {
    position: relative;
    width: 100%;
  }
  .iframe-responsive2 iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }


.sample_h_22{
font-size: 1.5em;/* フォントサイズ */
font-weight: bold;/* フォント太さ */
padding-top: .5em;
padding-bottom: .5em;
padding-left: 55px;
margin-bottom: 2em;
position: relative;
color:#bfaa6f;/* フォント色 */
}

.sample_h_22:before {
position: absolute;
font-family: "Font Awesome 5 Free";
content: "\f005";
font-weight: 900;
font-size: 20px;
top: 50%;
left : 0;
width: 40px;
height: 40px;
padding: 0em;
border-radius: 50%;
text-align: center;
line-height: 40px;
background-color: #c0aa6e;
color: #ffffff;
-webkit-transform: translateY(-50%);
transform: translateY(-50%);
}

.sample_h_22:after {
content: '';
display: block;
position: absolute;
top: 50%;
left: 35px;
height: 0;
width: 0;
border-top: 7px solid transparent;
border-bottom: 7px solid transparent;
border-left: 12px solid #c0aa6e; 
-webkit-transform: translateY(-50%);
transform: translateY(-50%);
}

.heading-31 {
    position: relative;
    padding: .3em 0 .2em 1em;
    border-bottom: 3px solid #db0000;
    color: #333333;
}

.heading-31::before {
    position: absolute;
    top: 0;
    left: .3em;
    transform: rotate(55deg);
    height: 11px;
    width: 12px;
    background: #db0000;
    content: '';
}

.heading-31::after {
    position: absolute;
    transform: rotate(15deg);
    top: .6em;
    left: 0;
    height: 8px;
    width: 8px;
    background: #db0000;
    content: '';
}


.image-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.image-row a {
  flex: 1 1 18%; /* 通常：5枚並ぶように調整 */
  max-width: 100%;
  text-align: center;
}

.image-row img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.3s ease;
}

.image-row a:hover img {
  opacity: 0.7;
}

.image-row .empty-space {
  width: 30%;
}

@media screen and (max-width: 768px) {
  .image-row a {
    flex: 1 1 48%; /* 各画像を2列並びにする */
    max-width: 48%; /* 念のため */
  }

  .image-row img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
  }
}

.construction-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

/* ■ PC：5 枚／行 × 2 行 = 10 枚まで */
.construction-item {
  flex: 0 1 calc(20% - 10px);  /* 100 ÷ 5 列 &#8211; gap */
  max-width: calc(20% - 10px);
  display: flex;
  flex-direction: column;      /* 上：画像／下：キャプション */
  align-items: center;
  text-decoration: none;
  color: #333;
}

.construction-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.3s ease;
}

.construction-caption {
  margin-top: 6px;
  font-size: 0.8rem;
  line-height: 1.4;
}

.construction-item:hover img {
  opacity: 0.7;
}

/* ▼ 11 件目以降を自動で非表示にしたい場合 ─────────── */
/* .construction-item:nth-of-type(n+11) {display: none;} */

/* ■ スマホ（〜768px）：既存レイアウトを踏襲（2 列可変） */
@media screen and (max-width: 768px) {
  .construction-item {
    flex: 0 1 48%;
    max-width: 48%;
  }
}

.category-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap; /* 折り返ししたくない場合は wrap を nowrap に変更 */
  gap: 10px; /* 画像の間隔 */
}

.category-row a {
  flex: 1 1 25%; /* 4枚横並びを想定 */
  max-width: 100%;
  text-align: center;
}

.category-row img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.3s ease; /* ホバー時の滑らかな変化 */
}

/* ホバー時に透明度を0.7に下げる */
.category-row a:hover img {
  opacity: 0.7; /* ホバー時の透明度（70%表示） */
}

@media screen and (max-width: 768px) {
  .category-row a {
    flex: 1 1 48%; /* 各画像を2列並びにする */
    max-width: 48%; /* 念のため */
  }

  .category-row img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
  }
}

.menu-sumaho {
  width: 100%;
  margin: 0 auto;
  padding: 10px;
}

/* 盗難車ランキング  */

.menu-item-sumaho {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 100%;
  margin: 0 auto;
  padding: 10px;
}
.menu-item {
  flex: 1 1 calc(33.333% - 20px);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  padding: 10px;
}

.menu-item img {
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: auto; /* 自動で上方向に押し上げる */
}

/* スマホ向け：幅768px未満では1列表示に変更 */
@media screen and (max-width: 768px) {
  .menu-item {
    flex: 1 1 calc(100% - 20px);
  }

  
.top_title{
 font-size:1.4em; 
 margin:0; 
}
  .top_title{
 font-size:1em; 
}
}

/* ====== FAQ アコーディオン ====== */
.faq details {                 /* 要素全体 */
  border-bottom: 1px solid #e0e0e0;
}

.faq details:last-child {      /* 最後の Q&A に下線を入れない */
  border-bottom: none;
}

.faq summary {                 /* 質問行 */
  list-style: none;            /* ブラウザ既定の三角を消す */
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 1rem 0;
  font-size: .9rem;
  font-weight: 700;
}

.faq summary::-webkit-details-marker { /* Safari/Chrome 対応 */
  display: none;
}

/* 「Q」アイコン */
.faq summary::before {
  content: 'Q';
  color: #3a6abb;             /* お好みで変更可 */
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* 右側の矢印 */
.faq summary::after {
  content: '';
  margin-left: auto;           /* 右端に押し出す */
  border: solid #666;
  border-width: 0 2px 2px 0;
  width: .5rem;
  height: .5rem;
  transform: rotate(45deg);    /* ▼ */
  transition: transform .3s ease;
}

.faq details[open] summary::after {
  transform: rotate(-135deg);  /* ▲ （開いているとき） */
}

.faq details p{
  display:flex;               /* アイコンと本文を横並び */
  align-items:flex-start;     /* A を上端合わせ */
  gap:.55rem;                 /* アイコンと本文の間隔 */
  padding:0 .2rem;             /* 左右余白をコンパクトに */
  font-size: .9rem;
  line-height:1.7;
}

/* A アイコン */
.faq details p::before{
  content:'A';
  flex-shrink:0;              /* アイコン幅を固定して本文の折返しを阻害しない */
  color:#e55858;
  font-size: 1.5rem;
  font-weight:700;
  line-height:1;              /* アイコン自身の上下余白を最小に */
}
@media (max-width:780px){
.faq summary{
   font-size: .75rem;
}
.faq details p {
  font-size: .75rem;
}
.heading_h3{
  font-size: 15px;
  }
}


/* インフォメーション */

.news_category {
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 0px;
  display: inline-block;
  color: white;
  font-size: 0.9em;
}

.news_category.campaign {
  background-color: #d70026; /* 赤：キャンペーン */
}

.news_category.security {
  background-color: #800080; /* 紫：カーセキュリティー */
}

.news_category.coating {
  background-color: #2e8b57; /* 緑：コーティング */
}

.news_category.notice {
  background-color: #005bac; /* 青：お知らせ */
  
  
  /* スマホ版　インフォ改行用 */


}