/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Dec 02 2026 | 08:26:59 */
/* ----------------------------------------------------------------------
 mw wp form - レイアウト
---------------------------------------------------------------------- */
/* フォーム全体の枠組み */
.mw_wp_form .mw-wp-form__list {
    display: flex !important;
    flex-wrap: wrap !important;
    margin-bottom: 80px;
    padding: 0;
    list-style: none;
}

/* 自動挿入されるPタグや改行を無効化 */
.mw_wp_form .mw-wp-form__list p,
.mw_wp_form .mw-wp-form__list br {
    display: none !important;
}

/* 項目名（左側）の固定 */
.mw-wp-form dt {
    width: 320px !important;
    padding: 20px 0 !important;
    font-weight: normal !important;
    line-height: 1.75;
    margin: 0 !important;
    display: block !important;
    box-sizing: border-box;
}

/* 入力エリア（右側）の固定 */
.mw-wp-form dd {
    display: flex !important;
    align-items: center !important;
    width: calc(100% - 320px) !important;
    padding: 10px 0 !important;
    margin: 0 !important;
    box-sizing: border-box;
    min-height: 70px; /* 高さの最低ラインを揃える */
}

/* ラベル（必須・任意）の装飾 */
.mw-wp-form__label {
    margin-right: 15px;
    padding: 4px 16px !important;
    border-radius: 2px;
    color: #fff;
    font-size: 13px;
    display: inline-block;
}
.mw-wp-form__label--req { background: #BE1D1D !important; }
.mw-wp-form__label--opt { background: #ccc !important; }

/* 入力フィールド全般のスタイル */
.mw-wp-form dd input[type="text"],
.mw-wp-form dd input[type="email"],
.mw-wp-form dd input[id="zip"],
.mw-wp-form dd textarea,
.mw-wp-form dd select {
    box-sizing: border-box !important; /* content-boxから修正 */
    width: 100% !important;
    padding: 12px 15px !important;
    background: #F5F5F5 !important;
    border: 1px solid #ccc !important;
    font-size: 16px;
}
/* プレースホルダーの色も他と合わせる */
.mw-wp-form dd input[id="zip"]::placeholder {
    color: #797979 !important;
}
/* 電話番号（3分割）の調整 */
.mw-wp-form dd.tel {
    justify-content: flex-start !important;
}
.mw-wp-form dd.tel input[type="text"] {
    width: 100px !important; /* 電話番号の箱を小さく */
    margin: 0 5px !important;
}

/* 送信ボタンの装飾 */
.submit-btn {
    text-align: center;
    margin-top: 40px;
}
.mw-wp-form button[type="submit"] {
    display: inline-block !important;
    width: 360px !important;
    height: 60px !important;
    background-color: #275387 !important;
    color: #fff !important;
    border: none !important;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}
.mw-wp-form button[type="submit"]:hover {
    opacity: 0.7;
}

/* --- レスポンシブ（1299px以下：タブレット・スマホ） --- */
@media screen and (max-width: 1299px) {
    .mw-wp-form dt {
        width: 100% !important;
        padding-bottom: 5px !important;
    }
    .mw-wp-form dd {
        width: 100% !important;
        padding-top: 0 !important;
        margin-bottom: 25px !important;
    }
    .mw-wp-form button[type="submit"] {
        width: 100% !important;
        max-width: 300px;
    }
	/* セレクトボックスの角丸リセットを追記 */
    .mw-wp-form dd select {
        -webkit-appearance: none;
        appearance: none;
        border-radius: 0 !important;
    }
}
/* --- 送信・確認ボタンのデザイン（角丸＆カラー） --- */
.mw-wp-form .submit-btn [type="submit"],
.mw-wp-form__buttons input[type="submit"],
.mw-wp-form__buttons button[type="submit"] {
    display: block !important;
    width: 360px !important;
    height: 60px !important;
    margin: 40px auto 0 !important;
    background-color: #275387 !important; /* メインの青 */
    color: #fff !important;
    border: none !important;
    border-radius: 50px !important; /* ボタンのみ角丸を適用 */
    font-weight: bold !important;
    font-size: 18px !important;
    cursor: pointer !important;
    transition: background-color 0.3s ease !important;
}

/* ボタンホバー時 */
.mw-wp-form .submit-btn [type="submit"]:hover,
.mw-wp-form__buttons button[type="submit"]:hover {
    background-color: #526eea !important; /* ホバー時の明るい青 */
    opacity: 1 !important;
}

/* 戻るボタンもボタンなので角丸を適用 */
.mw-wp-form input[value="戻る"],
.mw-wp-form .mw-wp-form__backButton {
    display: inline-block !important;
    border-radius: 50px !important;
    border: 1px solid #275387 !important;
    color: #275387 !important;
    background: transparent !important;
    padding: 10px 40px !important;
    cursor: pointer;
}

/* スマホ・タブレット（1299px以下）のボタン調整 */
@media screen and (max-width: 1299px) {
    /* 送信・確認ボタンの下に30pxの余白を追加 */
    .mw-wp-form .submit-btn [type="submit"],
    .mw-wp-form__buttons input[type="submit"],
    .mw-wp-form__buttons button[type="submit"] {
        width: 100% !important;
        max-width: 300px !important;
        margin: 40px auto 30px auto !important; /* 下(bottom)に30pxを確保 */
    }

    /* 戻るボタンがある場合も下に余白を作る */
    .mw-wp-form .mw-wp-form__backButton,
    .mw-wp-form input[value="戻る"] {
        margin-bottom: 30px !important;
        display: inline-block !important;
    }
}
// スマホの時だけ改行させるクラス
.br-sp {
    display: none;
}

@media (max-width: 769px) {
    .br-sp {
        display: block;
    }
	/* 電話番号の親要素(dd)の設定 */
.mw-wp-form dd.tel {
    display: flex !important;
    flex-wrap: nowrap !important; /* 折り返しを禁止 */
    align-items: center !important;
    justify-content: space-between !important;
    gap: 4px; /* 入力欄とハイフンの間の絶妙な隙間 */
}

/* 入力欄の幅を％で可変にする */
.mw-wp-form dd.tel input[type="text"] {
    flex: 1 !important; /* 3つの入力欄で横幅を分け合う */
    width: 0 !important; /* flex:1を機能させるための魔法 */
    min-width: 0 !important; /* ブラウザの最小幅設定を無視 */
    padding: 12px 5px !important; /* 左右の余白を少し削る */
    text-align: center;
}
}

/* ----------------------------------------------------------------------
テーブル
---------------------------------------------------------------------- */
.table-type3 {
  border-collapse: collapse;
  justify-content: center; 
  font-size:14px;
}


 .table-type3 td {
  padding: 10px;
  text-align: left;
  border-collapse: collapse;
  border-top: none; /* 上部の境界線を削除 */
  border-left: none; /* 左側の境界線を削除 */
  border-right: none; /* 右側の境界線を削除 */
  border-bottom: 1px solid #cccccc; 
}
.table-type3 tr {
  text-align: left;
  border-collapse: collapse;
  border-top: none; /* 上部の境界線を削除 */
  border-left: none; /* 左側の境界線を削除 */
  border-right: none; /* 右側の境界線を削除 */
  border-bottom: none ; 
}
.title-3a{
 color:#275387;
 font-weight:bold;
  border-collapse: collapse;
  border-top: none; /* 上部の境界線を削除 */
  border-left: none; /* 左側の境界線を削除 */
  border-right: none; /* 右側の境界線を削除 */
  border-bottom: none ; 
}

@media only screen and (max-width: 767px) {

.table-type3 tr {
  width:100%;
  border-collapse: collapse;
  display: block;
  border-top: none;
  border-left: none; 
  border-right: none; 
  border-bottom: 1px solid #cccccc ; 
  justify-content: center;
  }
.table-type3 td {
  width:100%;
  border-collapse: collapse;
  display: block;
  border-top: none;
  border-left: none; 
  border-right: none; 
  border-bottom: none ; 
  justify-content: center;
  }
  } 

@media only screen and (max-width: 767px) {
.title-3a {
  width: 100%;
  border-collapse: collapse;	
  border-top: none;
  border-left: none;
  border-right: none; 
 border-bottom: 1px solid #cccccc ; 
  justify-content: center;
 } 
 } 
@media only screen and (max-width: 767px) {
.title-3b {
  width: 100%;
  border-collapse: collapse;	
  border: none;
  justify-content: center;
 } 
 } 

.table-type4 {
  border-collapse: collapse;
  justify-content: center; 
  font-size:14px;
}
.table-type4 td {
  padding: 10px;
  text-align: left;
  border-collapse: collapse;
  border-top: 1px solid #cccccc;
  border-left: 1px solid #cccccc;
  border-right: 1px solid #cccccc;
  border-bottom: 1px solid #cccccc; 
}
.table-type4 tr {
  text-align: left;
  border-collapse: collapse;
  border-top: 1px solid #cccccc;
  border-left: 1px solid #cccccc;
  border-right: 1px solid #cccccc;
  border-bottom: 1px solid #cccccc;
}
.text4a{
 color:#fff;
	width:70%;
 font-weight:nomal;
  border-collapse: collapse;
  border: 1px solid #cccccc;
}
.icon4a{
 color:#fff;
	width:30%;
 font-weight:nomal;
  border-collapse: collapse;
  border: 1px solid #cccccc;
}

@media only screen and (max-width: 767px) {
.title-4b {
  width: 100%;
  border-collapse: collapse;	
  border: none;
  justify-content: center;
 } 
 } 
/* 企業情報カスタム投稿タイプ詳細ページ */
.single-company #side_col {
    display: none;
}
.single-company #main_col {
    width: 1150px;
}
.single-company #main_contents:after {
    width: 0px;
}
.single-company #post_image2 { display: none; }/* PC表示時 */
 
@media screen and (max-width: 767px) { 
.single-company #post_image2_wrap {
    display: none; }}/* モバイル表示時 */

/* サービスカスタム投稿タイプ詳細ページ */
.single-service #side_col {
    display: none;
}
.single-service #main_col {
    width: 1150px;
}
.single-service #main_contents:after {
    width: 0px;
}
.single-service #post_image2 { display: none; }/* PC表示時 */
 
@media screen and (max-width: 767px) { 
.single-service #post_image2_wrap {
    display: none; }}/* モバイル表示時 */

/*プロジェクトカスタム投稿タイプ詳細ページ */
.single-project #side_col {
    display: none;
}
.single-project #main_col {
    width: 1150px;
}
.single-project #main_contents:after {
    width: 0px;
}
.single-project #post_image2 { display: block; }/* PC表示時 */
 
@media screen and (max-width: 767px) { 
.single-project #post_image2_wrap {
    display: block; }}/* モバイル表示時 */



.q_custom_button1 { background:#588cc9; } /* ボタン1 */
.q_custom_button2 { background:#275387; } /* ボタン2 */

 /*// 業務のテーブル// */
/*ーーーーーーーーーーーーーーーー*/

.table-type1 {
  border-collapse: collapse;
  justify-content: center;
}
.table-type1 td {
  border: 1px solid #cccccc;  
  padding: 10px;
 text-align: left;
}
.item-a{
 color:#275387;
 font-weight:bold;
 width:30%;
 background: #f5f5f5;
}
.item-b{
 width: 70%;
}

@media only screen and (max-width: 769px) {
.table-type1 tr,
 .table-type1 td {
  display: block;
  justify-content: center;
  width:95%; 
  }
.item-a {
  width: 95%;
  justify-content: center;
  color:#275387;
  font-weight:bold;
  background: #f5f5f5;
  }
.item-b {
  display: block;
  justify-content: center;
  }
  } 
 /*// 業務のテーブル2// */
/*ーーーーーーーーーーーーーーーー*/

.table-type2 {
  border-collapse: collapse;
  justify-content: center;
border: none; 
}
.table-type2 td {
  border: none;  
  padding: 10px;
 text-align: left;
}
.item-2a{
 color:#000;
 font-weight:nomal;
width:50%;
border: none; 
}
.item-2b{
width:50%;
border: none; 
}

@media only screen and (max-width: 769px) {
.table-type2 tr,
 .table-type2 td {
  display: block;
  justify-content: center;
  width:95%; 
  }
.item-2a {
  width: 95%;
  justify-content: center;
  color:#275387;
  font-weight:bold;
  
  }
.item-2b {
  display: block;
  justify-content: center;
	width: 95%;
  }
  } 
 /*// ダウンロード// */
/*ーーーーーーーーーーーーーーーー*/
.w3eden .mb-2, .w3eden .my-2 {
margin-bottom: 1.5rem!important;
font-size:10px;
}

@media screen and (max-width: 750px){
.w3eden .mb-2, .w3eden .my-2 {
margin-bottom: 1.2rem!important;
}
}


 /*// ダウンロードテーブル// */
/*ーーーーーーーーーーーーーーーー*/
.ac-content .c-table { 
width: 100%;
 }
@media screen and (max-width: 750px) { 
.c-table._tablelink tr:last-child { border-bottom: 1px solid #ccc;
} 
}
.c-table._tablelink th { 
width: 20em;
}
@media screen and (max-width: 750px) { 
.c-table._tablelink th { 
display: block; width: 100%; border-bottom: none; 
} 
}
@media screen and (max-width: 750px) {
 .c-table._tablelink td { 
 display: block;
  width: 100%; 
  border-bottom: none; 
 } 
 }
.c-table._tablelink td ul li {
 margin-bottom: 0px;
 padding-left: 30px; 
 background: url("") no-repeat left top 0.4em; 
 background-size: 22px auto; 
 }
.c-table._tablelink td ul li:last-child {
 margin-bottom: 0;
  }
.c-table._tablelink td ul li a {
 text-decoration: none; 
 }
.c-table._tablelink td ul li a:hover {
 text-decoration: underline; 
 }
.c-table th, .c-table td { 
border: 1px solid #ccc; 
vertical-align: middle;
 }
.c-table th { 
width: 5em; 
padding: 5px; 
background-color:#e7ebfe; 
text-align: center; 
font-weight: 700;
font-size:20px;
}
@media screen and (max-width: 750px) { 
.c-table th { width: 3em; padding: 1em; 
} 
}
.c-table td { 
padding: 5px 15px; 
}
@media screen and (max-width: 750px) {
 .c-table td { padding: 0.5em; 
 }
 }
.c-table td.table-link { 
width: 5em; 
}
@media screen and (max-width: 750px) { 
.c-table td.table-link { width: 3em;
} 
}
.c-table td.table-link p { 
position: relative; 
width: 2em; margin: 0 auto; 
}
@media screen and (max-width: 750px) {
 .c-table td.table-link p { 
 width: 1.5em; 
 } 
 }
.c-table td span.dl-new { 
background: #F70000; 
color: #fff; 
padding:0.3em;
margin-left:20px;
font-size: 12px; 
}

 /*// dテーブル// */
/*ーーーーーーーーーーーーーーーー*/
.dl-content .d-table { 
width: 100%;
 }
@media screen and (max-width: 750px) { 
.d-table._dtablelink tr:last-child { border-bottom: none;
} 
}
.d-table tr { 
border: none;
	background:#f5f5f5;

}
.d-table._dtablelink th { 
width: 20em;
}
@media screen and (max-width: 750px) { 
.d-table._dtablelink th { 
display: block; 
width: 100%;
border-bottom: none; 
} 
}
@media screen and (max-width: 750px) {
 .d-table._dtablelink td { 
 display: block;
  width: 100%; 
  border-bottom: none; 

 } 
 }
.d-table._dtablelink td ul li {
 margin-bottom: 0px;
 padding-left: 30px; 
 background: url("") no-repeat left top 0.4em; 
 background-size: 22px auto; 
 }
.d-table._dtablelink td ul li:last-child {
 margin-bottom: 0;
  }
.d-table._dtablelink td ul li a {
 text-decoration: none; 
 }
.d-table._tablelink td ul li a:hover {
 text-decoration: underline; 
 }
.d-table th, .d-table td { 
background:#f5f5f5;
	border-top:none;
border-left:none;
border-right:none;
border-bottom: none; 
vertical-align: middle;
 }
.d-table th { 
width: 5em; 
padding: 5px; 
background-color:#e7ebfe; 
text-align: center; 
font-weight: 700;
font-size:20px;
}
@media screen and (max-width: 750px) { 
.d-table th { width: 3em; padding: 0em; 
} 
}
.d-table td { 
padding: 5px 10px; 

}
@media screen and (max-width: 750px) {
.d-table td { 
padding: 0em; 
border-top:none;
 }
 }
.d-table td.dtable-link { 
width: 5em; 
}
@media screen and (max-width: 750px) { 
.d-table td.dtable-link { width: 3em;
} 
}
.d-table td.dtable-link p { 
position: relative; 
width: 2em; margin: 0 auto; 
}
@media screen and (max-width: 750px) {
 .d-table td.dtable-link p { 
 width: 1.5em; 
 } 
 }
.d-table td span.dl-new { 
background: #F70000; 
color: #fff; 
padding:0.3em;
margin-left:20px;
font-size: 12px; 
}

 /*// lineテーブル// */
/*ーーーーーーーーーーーーーーーー*/
.dl-content .l-table { 
width: 100%;

 }
@media screen and (max-width: 750px) { 
.l-table._l-table-link tr:last-child { border-bottom: 1px solid #ccc;
} 
}
.l-table tr { 
border-bottom: 1px solid #ccc;
	background:#fff;

}
.l-table._l-table-link th { 
width: 20em;
}
@media screen and (max-width: 750px) { 
.l-table._l-table-link th { 
display: block; 
width: 100%;
border-bottom: none; 
border-top: none; 
} 
}
@media screen and (max-width: 750px) {
 .l-table._l-table-link td { 
 display: block;
  width: 100%; 
  border-bottom: none; 

 } 
 }
.l-table._l-table-link td ul li {
 margin-bottom: 0px;
 padding-left: 30px; 
 background: url("") no-repeat left top 0.4em; 
 background-size: 22px auto; 
 }
.l-table._l-table-link td ul li:last-child {
 margin-bottom: 0;
  }
.l-table._l-table-link td ul li a {
 text-decoration: none; 
 }
.l-table._l-table-link td ul li a:hover {
 text-decoration: underline; 
 }
.l-table th, .l-table td { 
background:#fff;
border-left:none;
border-top:none;
border-right:none;
border-bottom: 1px solid #ccc; 
vertical-align: middle;
 }
.l-table th { 
width: 5em; 
padding: 5px; 
background-color:#e7ebfe; 
text-align: center; 
font-weight: 700;
font-size:20px;
}
@media screen and (max-width: 750px) { 
.l-table th { width: 3em; padding: 0em; 
} 
}
.l-table td { 
padding: 5px 10px; 

}
@media screen and (max-width: 750px) {
.l-table td { 
padding: 0em; 
border-top:none;
 }
 }
.l-table td.l-table-link { 
width: 5em; 
}
@media screen and (max-width: 750px) { 
.l-table td.l-table-link { width: 3em;
} 
}
.l-table td.l-table-link p { 
position: relative; 
width: 2em; margin: 0 auto; 
}
@media screen and (max-width: 750px) {
 .l-table td.l-table-link p { 
 width: 1.5em; 
 } 
 }
.l-table td span.dl-new { 
background: #F70000; 
color: #fff; 
padding:0.3em;
margin-left:20px;
font-size: 12px; 
}

.wpdm-file-size {
  display: none !important;
}

.anker_btn {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* 画像の間に余白を設定 */
}
.anker_btn a img {
    width:32% 2%; /* 3列に設定 */
}
@media (max-width: 769px) {
    .anker_btn{
        gap:20px;
    }
    .anker_btn img {
        width:48.5%; /* 2列に設定 */
    }
}

.image-anker {
  display: flex;
  justify-content: space-between; /* 両端に均等配置 */
  
  max-width: 1024px;
  margin: 0 auto;
}

.image-anker a {
  flex: 1 1 0;   /* 1つのアイテムが均等に広がる */
  max-width: 32%; /* 3列になるように最大幅設定 */
  display: block;
}

.image-anker a img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

/* スマホ表示 */
@media (max-width: 768px) {
  .image-anker {
    flex-wrap: wrap;
    flex-direction: column;
  }
  .image-anker a {
    max-width: 90%;
    margin-bottom: 10px; /* アイテム間の余白 */
  }
}
/* スマホのみ改行 */
.br-sp {
    display: none;
}

@media (max-width: 769px) {
    .br-sp {
        display: block;
    }
}

.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* PCは3列 */
  gap: 20px;
}
/* ---- レイアウト ---- */
.solaris-tile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 900px;
  margin: 40px auto;
}

/* ---- 各タイル ---- */
.solaris-tile {
  aspect-ratio: 1 / 1;
  /*background: #d9e6f2;*/
  border: 4px solid #ffffff; /* 白いボーダー */
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  overflow: hidden;
  transition: all 0.3s ease;
}

/* ---- リンク全体をクリック可 ---- */
.solaris-tile a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: #26499d; /* テキストをブルーに */
  font-weight: 600;
}

/* ---- アイコン ---- */
.solaris-icon-container {
  width: 120px;
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
}

.solaris-icon-container img {
  width: 90%;
  height: 90%;
  object-fit: contain;
}

/* ---- テキスト ---- */
.solaris-tile p {
  margin: 0;
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.5;
  color: #000; /* 明示的にブルー */
	font-weight:bold;
}

/* ---- ホバー ---- */
.solaris-tile:hover {
  background: #fff;
  border: 4px solid #26499d; /* ホバー時に青い枠線 */
  box-shadow: 0 6px 15px rgba(0,0,0,0.25);
}

.solaris-tile:hover a {
  color: #000; /* ホバー時にテキスト黒にしてもOK（ブルーのままにしたいなら削除） */
}

/* ---- スマホ2列 ---- */
@media screen and (max-width: 769px) {
  .solaris-tile-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 95%;
  }

  .solaris-icon-container {
    width: 90px;
    height: 90px;
  }

  .solaris-tile p {
    font-size: 0.8rem;
  }
}
/* グローバルメニューを明朝体に＆フォントサイズ調整 */
#global_menu ul li a {
  font-family: "YuGothic", "游ゴシック体", "Yu Gothic", "Yu Gothic UI",
               "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif !important;
  font-size: 14px; /* お好みで調整 */
  font-weight: 600; /* やや細めで上品に */
  letter-spacing: 0.05em; /* 少し字間を広げて可読性UP */
}

/* ---- テキストカラー統一 ---- */
.solaris-tile a {
  color: #26499d; /* 通常時：ブルー */
  transition: color 0.3s ease;
}
.solaris-tile:hover a {
  color: #000; /* ホバー時：黒 */
}

/* ===== 各タイルの個別カラー設定（通常：淡背景＋濃ボーダー、ホバー：白背景＋濃ボーダー）===== */

/* --- ① 建築確認検査（青） --- */
.solaris-tile:nth-child(1) {
  background-color: #e6f5fa; /* 淡い水色 */
  border-color: #0077b6; /* 濃い水色 */
}
.solaris-tile:nth-child(1):hover {
  background-color: #ffffff;
  border-color: #0077b6;
}

/* --- ② 省エネ適合判定（緑） --- */
.solaris-tile:nth-child(2) {
  background-color: #f5faf4; /* 淡いグリーン */
  border-color: #009a44; /* 濃いグリーン */
}
.solaris-tile:nth-child(2):hover {
  background-color: #ffffff;
  border-color: #009a44;
}

/* --- ③ 住宅性能評価・長期使用構造等確認（赤） --- */
.solaris-tile:nth-child(3) {
  background-color: #fef7f1; /* 淡い赤 */
  border-color: #e70012; /* 濃い赤 */
}
.solaris-tile:nth-child(3):hover {
  background-color: #ffffff;
  border-color: #e70012;
}

/* --- ④ 住宅性能証明書発行業務（紫） --- */
.solaris-tile:nth-child(4) {
  background-color: #faf5f9; /* 淡いパープル */
  border-color: #6b46c1; /* 濃いパープル */
}
.solaris-tile:nth-child(4):hover {
  background-color: #ffffff;
  border-color: #6b46c1;
}

/* --- ⑤ 適合証明（フラット35）（オレンジベージュ） --- */
.solaris-tile:nth-child(5) {
  background-color: #fef5e6; /* 淡いクリームオレンジ */
  border-color: #f39801; /* 濃いオレンジブラウン */
}
.solaris-tile:nth-child(5):hover {
  background-color: #ffffff;
  border-color: #c05621;
}

/* --- ⑥ 住宅瑕疵担保責任保険（黄色）--- */
.solaris-tile:nth-child(6) {
  background-color: #fefef6 !important; /* ← 通常時の背景を強制 *//* 淡い黄色 */
  border-color: #fff100 !important;/* 濃い黄色 */
}
.solaris-tile:nth-child(6):hover {
  background-color: #ffffff !important; /* ← ホバー時のみ白 */
  border-color: #fff100 !important;
}

/* 念のため共通指定を弱める（6番目だけ上書きされないように） */
.solaris-tile:hover {
  background: inherit;
}


/*.solaris-tile:nth-child(6):hover {
  background-color: #ffffff !important;
  border-color: #fff100 !important;
}*/

#global_menu ul {
    text-align: right;
    margin-right: 50px;
}

/* --- NICE申請システム 外枠設定 --- */
.nice-step {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  background: #fff !important;
  border-radius: 16px;
  padding: 24px 28px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
  position: relative !important;
  margin-top: 50px;
}

/* 1番目のステップ：上の余白と矢印を完全に消す */
/* 1番目(01)の上の矢印を、あらゆる条件を重ねて強制非表示 */
/* サイト全体の「最初のステップ」の矢印を、無理やり背景で塗りつぶすか消去する
.nice-step:first-of-type::before {
    border: none !important;
    background: none !important;
    display: none !important;
    opacity: 0 !important;
} */

/* それでも消えない場合、そもそも矢印が::afterで作られている可能性も考慮 
.nice-step:first-of-type::after {
    content: none !important;
    display: none !important;
}*/
/* 数字アイコン */
.step-num {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #EAF1F7;
  color: #275387;
  font-size: 26px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 25px;
}

/* 説明テキストエリア */
.step-text {
  flex: 1;
  text-align: left;
  margin-right :20px;
}
.step-text h4 {
  margin: 0 0 5px 0;
  font-size: 18px;
  color: #275387;
}
.step-text p {
  margin: 0;
  font-size: 14px;
  color: #333;
  line-height: 1.6;
}

/* 2番目以降の矢印 */
.nice-step:not(:first-of-type)::before {
  content: "";
  position: absolute;
  top: -42px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 18px solid transparent;
  border-right: 18px solid transparent;
  border-top: 22px solid #275387;
  z-index: 5;
}

/* --- ボタンの設定：PC・スマホ共通 --- */
.nice-step .nice-step-btn {
  display: inline-block !important;
  vertical-align: middle !important;
  margin-left: 20px !important; 
}
.nice-step .nice-step-btn:first-of-type {
  margin-left: 0 !important;
}

.maxbutton-9 {
  width: 260px !important;
  min-height: 54px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
}

/* --- レスポンシブ設定：画面幅1299px以下（スマホ・タブレット） --- */
@media screen and (max-width: 1299px) {
  .nice-step {
    flex-direction: column !important;
    padding: 30px 20px;
    text-align: center !important;
  }

  .step-num {
    margin-right: 0 !important;
    margin-bottom: 15px !important;
  }

  .step-text {
    width: 100% !important;
    text-align: center !important;
    margin-bottom: 20px !important;
  }

  /* スマホ配置：強制的に縦に並べて余白を確保 */
  .nice-step .nice-step-btn {
    display: block !important;
    width: 100% !important;
    margin: 0 auto 20px auto !important; /* ★ここを margin に変更して隙間を強制 */
  }

  /* プラグインの枠(container)自体にも隙間を強制 */
  .nice-step .nice-step-btn div[class*="maxbutton-container"] {
    display: block !important;
    width: 300px !important;
    margin: 0 auto !important;
    padding-bottom: 20px !important; /* ★paddingで物理的に距離を取る */
  }

  .nice-step .nice-step-btn:last-child,
  .nice-step .nice-step-btn:last-child div[class*="maxbutton-container"] {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
}

/* --- 以下、共通パーツ --- */
.nice-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin: 40px 0;
}
.nice-card {
  background: #EAF1F7;
  border: 1px solid #DCE5EE;
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}
.card-label {
  font-size: 21px;
  font-weight: 600;
  color: #3F6FA3;
  margin-bottom: 2px;
}
.nice-card h4 {
  margin: 5px 0 14px;
  font-size: 18px;
  color: #275387;
  padding-bottom: 10px;
  border-bottom: 2px solid #275387;
}
.nice-card p {
  font-size: 14px;
  color: #333;
  line-height: 1.5;
}
/* --- セクション背景＆余白CSS（ボタン2カラム対応版） --- */
/* --- セクション背景＆余白CSS--- */
/* セクション共通 */
.nice-section {
    padding: 80px 20px;
    max-width: 1100px; /* 全体の幅を制限 */
    margin: 0 auto;    /* 中央寄せ */
}
/* ★ テキストと画像の幅バランス */
.nice-text { flex: 1; max-width: 550px; }
.nice-image { flex: 1; max-width: 450px; text-align: center; }
.nice-image img { width: 100%; height: auto; }

/* 背景色セクション */
.nice-bg { background: #F4F9FD; }
.nice-white { background: #fff; }

/* 見出し */
.nice-section h2 {
    text-align: center;
    font-size: 32px;
    color: #275387;
    margin-bottom: 12px;
}

.nice-section .sub {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
    font-size: 15px;
}

/* 中央寄せ幅制限 */
.nice-wrap {
  max-width: 1100px;
  margin: auto;
}

/* --- スマホ調整（768px以下） --- */
@media (max-width: 768px) {
    .nice-section { padding: 50px 15px; }
    .nice-section h2 { font-size: 24px; }

/* ★ スマホでは縦並び（イラストを上にする） */
.nice-flex {
        flex-direction: column-reverse !important;
        text-align: center !important;
 }
    .nice-text, .nice-image {
        width: 100% !important;
        max-width: none !important;
}
}
.nice-btn-area {
width: 100% !important;
padding: 20px 20px 80px 20px !important;
box-sizing: border-box !important;
}

.nice-btn-area .btn-inner {
max-width: 1100px;
margin: 0 auto !important;
display: flex !important;
flex-direction: row !important;
justify-content: center !important;
gap: 20px !important;
}

.nice-btn-area .nice-pure-button {
width: 320px !important;
flex-shrink: 0 !important;
margin: 0 !important;
}

@media screen and (max-width: 959px) {
.nice-btn-area .btn-inner {
flex-direction: column !important;
align-items: center !important;
gap: 15px !important;
}
.nice-btn-area .nice-pure-button {
width: 100% !important;
max-width: 350px !important;
}
}
/* Solarisの内側白背景を打ち消す */
.nice-bg .inner,
.nice-bg .container {
  background: transparent !important;
}

.nice-bg {
  background: #F4F9FD;
  margin: 0 calc(50% - 50vw);
  padding: 80px 0;
}

.nice-white {
  margin: 0 calc(50% - 50vw);
  padding: 80px 0;
}
.nice-card .card-label {
  margin-bottom: 2px;   /* ← 今より小さく */
}

/* Solarisの見出し自動余白をPOINTカード内だけ解除 */

.post_content .nice-card h4 {
  margin-top: 8px !important;
}
/* web申請の特徴 */
.web-application-feature {
  max-width: 900px;
  margin: auto;
  padding: 60px 20px;
}

.web-application-feature h2 {
  font-size: 28px;
  color: #275387;
  text-align: center;
  margin-bottom: 24px;
}

.web-application-feature .feature-item {
  margin-bottom: 24px;
}

.web-application-feature .feature-item h3 {
  font-size: 18px;
  color: #275387;
  font-weight: bold;
}

.web-application-feature .feature-item p {
  font-size: 14px;
  color: #333;
  line-height: 1.6;
}
/* 特徴セクションを画面いっぱいに効かせる */
.web-application-feature {
  margin: 0 calc(50% - 50vw) !important;
  padding: 80px 0 !important;
  background: #F4F9FD !important;
}

/* Solaris内側の白背景を無効化 */
.web-application-feature .inner,
.web-application-feature .container {
  background: transparent !important;
}

/* 各ボックス */
.web-application-feature .feature-item {
  background: #fff !important;
  border: 1px solid #DCE5EE !important;
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 16px;
}
/* フル幅背景 */
.web-feature-bg {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: #f5fbff;
  padding: 80px 0;
}

/* 中央コンテンツ幅 */
.web-feature-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* タイトル */
.web-feature-title {
  text-align: center;
  font-size: 28px;
  color: #245da3;
  margin-bottom: 50px;
}

/* カード */
.web-feature-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.feature-item {
  background: #fff;
  border-radius: 14px;
  padding: 28px 32px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
}

.feature-item h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #245da3;
  margin-bottom: 10px;
}

.feature-item p {
  margin: 0 0 0 64px;
  color: #555;
  line-height: 1.7;
}


/* テキスト間 */
/* STEPカード 全体のテキスト間隔を強制調整 */
.step-header {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
}

/* 念のため個別指定 */
.step-num {
  margin-right: 16px !important;
}

/* h4 と p の間 */
.step-text h4 {
  margin-bottom: 10px !important;
}

/* p を3行分の高さに */
.step-text p {
  min-height: 4.5em !important;
  line-height: 1.5 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
.post_content .step-text p {
  min-height: 4.5em !important;
  line-height: 1.5 !important;
  margin: 0 !important;
}

.post_content .step-text h4 {
  margin-bottom: 10px !important;
}
/* WEB申請の特徴：見出しと本文の間を詰める */
/* 本文の1行目を少し離す・タイトルと本文位置 */
.post_content .web-feature-list h3 {
  margin-bottom: 8px !important;
}

.post_content .web-feature-list h3 + p {
  margin-top: 0 !important;
  min-height: 3.6em !important; /* 3行分 */
  line-height: 1.6 !important;
	margin-top: 6px !important;
}
/* 番号とタイトル */
.post_content .web-feature-list h3 {
  display: flex !important;
  align-items: center;
  gap: 11px !important; 
}
.post_content .web-feature-list .feature-title {
  font-weight: 600;
}
body .post_content .web-feature-list h3 {
  gap: 11px !important; /* v2 */
}
.feature-no {
  font-weight: 700;
}
/* --- トップページ：メインビジュアル（2カラム） --- */
.nice-top-main {
    width: 100%;
    padding: 40px 0;
    background: #fff;
}

.nice-top-wrap {
    max-width: 1100px;
    margin: 0 auto;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important; /* 中央寄せ */
    gap: 40px;
}

/* 左側コンテンツ */
.nice-top-content {
    flex: 1;
    max-width: 550px;
}

/* 右側イラスト */
.nice-top-img {
    flex: 1;
    max-width: 450px;
    text-align: center;
}
.nice-top-img img {
    width: 100%;
    height: auto;
}

/* チェックリスト装飾 */
.nice-check-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 20px 0 !important;
}
.nice-check-list li {
    position: relative;
    padding-left: 35px !important;
    margin-bottom: 12px !important;
    font-size: 18px;
    font-weight: bold;
    color: #333;
    line-height: 1.4;
}
/* チェックマーク（画像やアイコンがなければ疑似要素で作成） */
.nice-check-list li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: #fff;
    background: #333;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 14px;
}

.nice-note {
    font-size: 13px;
    color: #666;
    margin-bottom: 30px !important;
}

/* ボタンの並び（PCは縦、または2つ並び） */
.nice-top-btns {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* --- スマホ・タブレット対応（縦並び） --- */
@media screen and (max-width: 959px) {
    .nice-top-wrap {
        flex-direction: column-reverse !important; /* イラストを上にするなら reverse、下に置くなら column */
        text-align: center;
        padding: 0 20px;
    }
    
    .nice-top-content {
        width: 100%;
        max-width: none;
    }
    
    .nice-check-list li {
        display: inline-block;
        text-align: left;
        width: 100%;
        max-width: 320px; /* チェックリストがバラバラにならないように */
    }
    
    .nice-top-btns {
        align-items: center;
    }
}
/* --- NICE申請システム ボタン2カラム --- */
/* --- 1. コンテナ：中央配置 --- */
.button-container-custom {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 840px !important;
    margin: 40px auto !important;
    gap: 30px !important;
}

/* --- メリット部分の再定義（Solarisの干渉を回避） --- */

/* 3カラムを正しく並べる */
.nice-points {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
    gap: 24px !important;
    margin: 40px auto !important;
}

/* カードのデザインを強制適用 */
.nice-card {
    background: #EAF1F7 !important; /* 薄青 */
    border: 1px solid #DCE5EE !important;
    border-radius: 16px !important;
    padding: 28px 24px !important;
    box-shadow: 0 6px 16px rgba(0,0,0,0.15) !important;
    display: block !important;
    text-align: left !important;
}

/* ラベルの間隔を調整 */
.nice-card .card-label {
    display: block !important;
    margin-bottom: 2px !important;
    font-size: 21px !important;
    color: #3F6FA3 !important;
}

/* ボタン専用設定（先ほどの内容と同じです） */
.nice-btn-wrap {
    display: flex !important;
    gap: 12px !important;
    margin-left: auto !important;
}

.nice-pure-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 220px !important;
    height: 54px !important;
    background-color: #555555 !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: bold !important;
    text-decoration: none !important;
    padding-right: 35px !important;
    position: relative !important;
}

.nice-pure-button::after {
    content: '❯' !important;
    position: absolute !important;
    right: 12px !important;
}
/* --- タブレット・スマホ（1299px以下）の共通設定 --- */
@media screen and (max-width: 1299px) {
    /* 1. 外枠を縦並び・中央寄せにする */
    .nice-step {
        flex-direction: column !important;
        text-align: center !important;
        padding: 30px 20px !important;
    }

    /* 2. 数字アイコン */
    .nice-step .step-num {
        margin: 0 0 15px 0 !important;
    }

    /* 3. テキストエリア：Solarisの干渉を切りつつ中央寄せ */
    .nice-step .step-text {
        width: 100% !important;
        padding-right: 0 !important;
        margin-bottom: 20px !important;
        text-align: center !important;
    }
    .nice-step .step-text p, 
    .nice-step .step-text h4 {
        text-align: center !important;
        width: 100% !important;
        max-width: none !important;
    }

    /* 4. ボタンエリア：★ここを中央寄せに変更 */
    .nice-btn-wrap {
        display: flex !important;
        flex-direction: row !important; /* 基本は横並び */
        flex-wrap: wrap !important;     /* 入りきらなければ折り返す */
        justify-content: center !important; /* ★中央寄せ */
        gap: 15px !important;
        width: 100% !important;
        margin-left: 0 !important;
    }

    /* 5. ボタン本体：幅が狭すぎないように調整 */
    .nice-pure-button {
        width: auto !important;          /* 文字量に合わせる */
        min-width: 240px !important;     /* ただし最低幅は確保 */
        max-width: 100% !important;      /* 枠からはみ出さない */
        box-sizing: border-box !important;
    }
}

/* さらに画面が狭いスマホ（768px以下） */
@media screen and (max-width: 768px) {
    .nice-btn-wrap {
        flex-direction: column !important; /* スマホは強制的に縦に並べる */
        align-items: center !important;
    }
    .nice-pure-button {
        width: 100% !important; /* スマホは横幅いっぱい */
    }
}
/* --- NICE申請対象テーブルのデザイン調整 --- */
/* --- テーブルを中央に配置する --- */
.nice-table {
    width: 100%;
    max-width: 840px;      /* ボタン全体の幅に合わせる */
    margin: 30px auto !important; 
    border-collapse: collapse;
    font-size: 15px;
    border: 1px solid #d1d1d1;
    table-layout: fixed;
    background-color: #ffffff; /* 基本の背景は白 */
}

/* 共通の色指定：ヘッダー(上)と1列目(左)を同じ色に */
.nice-table th,
.nice-table td:first-child {
    background-color: #e9ebf5 !important; /* ご指定の薄い青色 */
    font-weight: bold !important;
    color: #333;
}

/* 1列目（業務種別）の幅固定 */
.nice-table th:first-child,
.nice-table td:first-child {
    width: 160px;
}

/* 全体のセル設定 */
.nice-table th, 
.nice-table td {
    padding: 12px 15px;
    border: 1px solid #d1d1d1;
    line-height: 1.6;
    text-align: left;
    word-wrap: break-word;
}

/* 注釈（※構造計算〜） */
.nice-table-note {
    max-width: 840px;
    margin: 0 auto 20px auto !important;
    text-align: left;
    font-size: 14px;
    color: #666;
}

/* スマホ表示 */
@media screen and (max-width: 769px) {
    .nice-table {
        table-layout: auto;
    }
    .nice-table th:first-child,
    .nice-table td:first-child {
        width: 100px;
        font-size: 14px;
    }
}
/* --- [1] 全サイズ共通：ベースリセット --- */
.nice-area-table-container {
    width: 100% !important;
    margin: 20px 0 !important;
    clear: both;
}

table.nice-area-table {
    border-collapse: collapse !important;
    background-color: #fff !important;
    border: 1px solid #e0e0e0 !important;
    table-layout: fixed !important; /* はみ出し防止の要 */
}

/* --- [2] PCサイズ（768px以上）の設定 --- */
@media screen and (min-width: 768px) {
    table.nice-area-table {
        display: table !important; /* PCではテーブル形式を維持 */
        width: 100% !important;
    }
    .nice-area-table thead {
        display: table-header-group !important; /* 見出しを表示 */
    }
    .nice-area-table tr {
        display: table-row !important;
    }
    .nice-area-table th, 
    .nice-area-table td {
        display: table-cell !important; /* セル形式を維持 */
        width: 50% !important;
        padding: 15px !important;
        border: 1px solid #e0e0e0 !important;
        vertical-align: middle;
    }
    .nice-area-table th {
        background-color: #f9f7e2 !important;
        font-weight: bold !important;
        text-align: center;
    }
    /* PCではスマホ用ラベルを隠す */
    .nice-area-table td::before {
        display: none !important;
    }
}

/* --- [3] スマホサイズ（767px以下）の設定 --- */
@media screen and (max-width: 767px) {
    table.nice-area-table {
        display: block !important; /* テーブル形式を解除 */
        width: 98% !important;
        margin: 0 auto !important;
        border: none !important;
    }
    
    .nice-area-table thead {
        display: none !important; /* PC用見出しを完全に消去 */
    }

    .nice-area-table tbody, 
    .nice-area-table tr {
        display: block !important;
        width: 100% !important;
    }

    .nice-area-table tr {
        margin-bottom: 25px !important;
        border: 1px solid #e0e0e0 !important;
        overflow: hidden;
    }
    
    .nice-area-table td {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 15px !important;
        border: none !important;
        border-bottom: 1px solid #e0e0e0 !important;
    }

    .nice-area-table td:last-child {
        border-bottom: none !important;
    }

    /* スマホ専用見出しバー */
    .nice-area-table td::before {
        display: block !important;
        background-color: #f9f7e2 !important;
        color: #333 !important;
        font-weight: bold !important;
        margin: -15px -15px 10px -15px !important;
        padding: 10px 15px !important;
        border-bottom: 1px solid #e0e0e0 !important;
        font-size: 14px !important;
        text-align: left !important;
    }

    .nice-area-table td:nth-of-type(1)::before { content: "業務内容" !important; }
    .nice-area-table td:nth-of-type(2)::before { content: "対象エリア" !important; }
}

/* 注釈 */
.nice-table-note {
    font-size: 14px;
    color: #666;
    margin: 10px auto !important;
    width: 98%;
    line-height: 1.5;
}

/* --- NICE電子システムページ --- */
/* --- レイアウト全体の設定 --- */
.nice-section {
    width: 100%;
    max-width: 1100px; /* Solarisのコンテンツ幅に合わせる */
    margin: 40px auto;
    padding: 0 20px;
}

.nice-flex {
    display: flex;
    flex-wrap: wrap; /* スマホで縦並びにする魔法 */
    justify-content: space-between;
    align-items: center;
}

/* PC表示（992px以上）の設定 */
@media screen and (min-width: 992px) {
    .nice-text {
        width: 55%; /* テキストの幅を半分強に */
        padding-left: 30px; /* 左側の余白 */
    }
    .nice-image {
        width: 40%; /* 画像の幅を40%に抑える（これで横に並びます） */
    }
    .nice-image img {
        width: 100%;
        height: auto;
    }
}

/* スマホ表示（991px以下）の設定 */
@media screen and (max-width: 991px) {
    .nice-text, .nice-image {
        width: 100% !important; /* 1列にする */
        padding: 0 !important;
    }
    .nice-image {
        margin-top: 30px;
        text-align: center;
    }
    .nice-image img {
        width: 100%;
        max-width: 400px; /* スマホで画像が大きすぎないように制限 */
    }
}
@media screen and (max-width: 768px) {

    /* 1. リストの並び順（リストが上、画像が下） */
    .nice-flex {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 30px !important;
    }

    /* 2. チェックマークが上に飛ばないように基準を固定 */
    .custom-check-list li {
        position: relative !important; /* これでチェックをli内に固定 */
        padding-left: 30px !important;
        display: block !important;
        text-align: left !important;
    }

    /* 3. 共通設定のFont Awesomeの位置をスマホで再調整 */
    .custom-check-list li::before {
        position: absolute !important;
        left: 0 !important;
        top: 0 !important; /* 上に飛んでいくのを防止 */
        display: inline-block !important;
    }

    /* 4. ボタン同士の間隔を狭くする */
    .nice-btn-area .btn-inner {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 10px !important; /* 20pxから10pxに */
    }

    /* ボタンの余計なマージンを消して中央寄せを確実に */
    .nice-btn-area .nice-pure-button {
        margin: 0 !important;
        width: 100% !important;
        max-width: 350px !important;
    }
}
/* 注釈（※1） */
.custom-note {
    color: #333 !important;
    font-size: 0.95rem !important;
    font-weight: normal !important; /* 細字に修正 */
    margin-top: 20px !important;
}

@media screen and (min-width: 992px) {
    .custom-note {
        padding-left: 0; /* リストの文字位置と揃える */
    }
}
/* PC表示（992px以上）の設定：現状を維持 */
@media screen and (min-width: 992px) {
    .nice-text {
        width: 55%; 
        padding-left: 30px; 
    }
    .nice-image {
        width: 40%; 
    }
    .nice-image img {
        width: 100%;
        height: auto;
    }
}

/* --- スマホ表示（991px以下）の最適化設定 --- */
@media screen and (max-width: 991px) {
    .nice-section {
        padding: 0 10px !important; /* 画面端の余白を最小限に */
    }

    .nice-text {
        width: 100% !important;
        padding-left: 0 !important; /* リストを左端ギリギリまで寄せる */
    }

    /* リスト項目の調整：文字を少し小さく、チェックとの距離を詰める */
    .custom-check-list li {
        font-size: 1.0rem !important; 
        padding-left: 1.7em !important; /* アイコンとの距離をさらに密に */
        margin-bottom: 10px !important;
        line-height: 1.4 !important;
    }

    /* 注釈（※1）も左に寄せる */
    .custom-note {
        font-size: 0.85rem !important;
        padding-left: 0 !important;
        margin-top: 15px !important;
    }

    /* 画像エリア：ご要望通り大きく（90%）表示 */
    .nice-image {
        width: 100% !important;
        margin-top: 30px;
        text-align: center;
    }
    .nice-image img {
        width: 90% !important; /* 画像を大きく表示 */
        max-width: none !important; /* 制限を解除 */
        height: auto;
    }
}

/* --- 以下、リスト装飾（共通） --- */
/* チェック付きリスト */
.nice-text .custom-check-list {
    margin: 0 0 15px !important;
    padding: 0 !important;
}

.nice-text .custom-check-list > .custom-check-item {
    display: block !important;
    list-style: none !important;
    position: relative !important;
    margin: 0 0 12px !important;
    padding: 0 0 0 30px !important;
    font-size: 1.15rem !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
}

.nice-text .custom-check-item::before,
.nice-text .custom-check-item::after {
    content: "" !important;
    position: absolute !important;
    display: block !important;
    box-sizing: border-box !important;
}

.nice-text .custom-check-item::before {
    top: calc(0.75em - 9px) !important;
    left: 0 !important;
    width: 18px !important;
    height: 18px !important;
    background: #333 !important;
    border-radius: 2px !important;
}

.nice-text .custom-check-item::after {
    top: calc(0.75em - 4px) !important;
    left: 4px !important;
    width: 10px !important;
    height: 6px !important;
    border: solid #fff !important;
    border-width: 0 0 2px 2px !important;
    transform: rotate(-45deg) !important;
}

/* --- NICEテーブル全体のスタイル --- */
/* --- テーブル全体のレイアウト --- */
.nice-table-section {
    width: 100%;
    margin: 20px 0 40px;
}

.nice-device-table {
    width: 100%; /* これで見出し(h4)と同じ幅に広がります */
    border-collapse: collapse;
    border: 1px solid #d1d1d1;
}

.nice-device-table th, 
.nice-device-table td {
    border: 1px solid #d1d1d1;
    padding: 15px 20px;
    text-align: left;
    font-size: 1.05rem;
}

/* PC：左側の項目列の幅と色 */
@media screen and (min-width: 992px) {
    .nice-device-table th {
        width: 30%; /* お好みに合わせて調整してください */
        background-color: #ebf0f7; /* 薄い青系グレー */
        color: #333;
    }
    .nice-device-table td {
        background-color: #fff;
    }
}

/* --- スマホ表示（991px以下）：縦並びに変更 --- */
@media screen and (max-width: 991px) {
	/* --- 【PC版】横幅をh4に合わせる設定 --- */
.nice-table-section {
    width: 100% !important;
    margin: 20px 0 40px !important;
}

.nice-device-table {
    width: 100% !important;
    border-collapse: collapse !important;
    border: 1px solid #d1d1d1 !important;
}

.nice-device-table th, 
.nice-device-table td {
    border: 1px solid #d1d1d1 !important;
    padding: 15px 20px !important;
    text-align: left !important;
}

.nice-device-table th {
    background-color: #ebf0f7 !important;
    width: 30% !important;
}

/* --- 【スマホ版】ここを丸ごと上書き！ --- */
@media screen and (max-width: 991px) {
    /* 1. テーブル全体の隙間を完全に殺す */
    .nice-device-table {
        display: block;
        width: 100% ;
        border: 1px solid #d1d1d1; /* 全体を囲う枠 */
        border-spacing: 0;
        border-collapse: collapse ;
        margin: 0 auto;
    }

    .nice-device-table tbody {
        display: block ;
        width: 100% ;
    }

    /* 2. 行(tr)の余計な隙間と線を消す */
    .nice-device-table tr {
        display: block ;
        width: 100% ;
        margin: 0 ;
        padding: 0 ;
        border: none !important;
        border-bottom: 1px solid #e0e0e0; /* 行ごとの区切り線 */
    }

    .nice-device-table tr:last-child {
        
    }

    /* 3. 各セル(th, td)の隙間を消して連結 */
    .nice-device-table th, 
    .nice-device-table td {
        display: block;
        width: 100%   !important;
        margin: 0 ;
        box-sizing: border-box;
        word-break: break-all ;
        padding: 12px 15px ;
        
    }

    /* 4. 項目(th)と内容(td)の間の境界線 */
    .nice-device-table th {
        background-color: #ebf0f7 ;
        font-size: 0.95rem;
        border-bottom: 1px solid #e0e0e0 !important; /* 項目名直下の細い線 */
    }

    .nice-device-table td {
        background-color: #fff ;
        font-size: 0.95rem ;
		border-bottom: 1px solid #e0e0e0 !important; /* 項目名直下の細い線 */
    }
}