/*===============================================
|                  H tag style                   |
================================================*/
/* *{
	border: solid 1px #f3f1ee;
} */
/* 即時に遷移する */
html {
	scroll-behavior: auto;
}

/* ゆっくり遷移する */
html {
	scroll-behavior: smooth;
}
.sp-wrap{
	display: none;
}
.txt-box{
	 padding: 1rem;
	 border-radius: 5px;
    background: repeating-linear-gradient(-45deg, #bef1e6 0 4px, #fff 1px 8px);    
}
/* CNAHOMEカメラロゴ画像 */
.bl_security-camera-img{
    width: 150px;
    max-width: calc(100% - 1rem);
    margin: 0 auto;
    margin-bottom: 2rem;
}

.txt-box-body {
    padding: 1rem;
    border-radius: 5px;
    background-color: white;
}


h2.pagettl { border-top: 6px solid #462b0b; }
h2.ttl { color: #462b0b; }
h3 {
	margin-top: 4rem;
    text-align: center;
    font-size: 2.5rem;
	border-top: none;
    border-right: none;
    border-bottom: none;
	position: relative;
	margin-bottom: 2.5rem;
}
h3:before {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    width: 55px;
    height: 4px;
    content: "";
    border-radius: 3px;
    background: #5bb19c;}

h4 {
position: relative;
    padding: 30px 20px;
    border: none;
    border-left: solid 100px #5bb19c;
    font-size: 1.75rem;
    position: relative;
    background-color: #e4f7f3;
    border-radius: 3px;
    margin-top: 6rem;
    margin-bottom: 1.75rem;
}
h4::before{
    position: absolute;
    font-weight: 900;
    color: #fff;
    padding: 0;
    left: -84px;
    top: 50%;
    transform: translateY(-50%);
    position: absolute;
    background-repeat: no-repeat;
    content: '';
    display: block;
    width: 70px;
    height: 70px;
    background-size: contain;
}

h4.icon-catv::before{
	background-image:url(../images/tv.png);
}
h4.icon-camera::before{
	background-image:url(../images/security-camera.png);
}
h4.tv-net::before{
	background-image:url(../images/icon-tv-net.png);
}


h5{
    border-bottom: 1px solid #f3f1ee;
    padding: 10px 0px;
    border-left: solid 7px #462b0b;
    padding: 1rem;
    font-size: 1.5rem;
    border-bottom: none;
    background-color: #f3f1ee;
	border-radius: 0;
	display: block;
	font-weight: bold;
	color: initial;
	border-radius: 3px;
}
h6 { 
	background-color: none;
	font-size: 1.1rem;
    border-bottom: dashed 1px #462b0b;
    padding: 10px 0px;
	padding: .5rem;
	color: initial;
	display: block;
	font-weight:bold;
	border-radius: 0;
 }

.bl_owner h6{
	position: relative;
	text-align: center;
	    background-color: #fbfae2;
    border-bottom: solid 4px #e9e8d1;
	border-radius: 8px;
}
.bl_owner h6::after{
    content: '';
    background-image: url(../images/owner.png);
    background-size: contain;
    width: 80px;
    height: 85px;
    display: block;
    position: absolute;
    right: 0;
    background-repeat: no-repeat;
    bottom: 0;
}
.bl_nyukyosya h6{
	position: relative;
		text-align: center;
	background-color: #fdefe9;
    border-bottom: solid 4px #f1e2dc;
		border-radius: 8px;
}
.bl_nyukyosya h6::after{
    content: '';
    background-image: url(../images/nyukyosya.png);
    background-size: contain;
    width: 80px;
    height: 84px;
    display: block;
    position: absolute;
    right: 0;
    background-repeat: no-repeat;
    bottom: 0;
}



@media screen and (max-width: 768px) {
	.row-content h3 {
        font-size: 1.25rem;
    }
	.row-content h4 {
        font-size: 1.1rem;
        padding: 25px 15px;
    }
	h4::before {
    left: -80px;
    width: 60px;
    height: 60px;
    background-size: contain;
}
    .row-content h5 {
        font-size: 1rem;
    }
	.sp-wrap{
	display: block;
}
}

/* -----------------------------------------------
 TABLE , LIST
-------------------------------------------------- */
table tr td.deco { background: #6A9BEB; }
.row-content table tr th {
    background: #462b0b !important;
    color: #fff !important;
}


/* -----------------------------------------------
 pagenavi
-------------------------------------------------- */
.pagenavi ul { background: #D8E3F5; }
.actives { font-weight: bold; border-bottom: 2px solid #462b0b; }
/* -----------------------------------------------
 header Navigation
-------------------------------------------------- */
nav li a:hover { color: #fff; background-color: #462b0b; }

/* -----------------------------------------------
 Other
-------------------------------------------------- */
.bdbox01 h5{ margin: 10px auto; font-size: 1em; font-weight: bold; }
.col-6 ul, .col-4 ul { padding: 10px 0px; }
.col-6 ul li, .col-4 ul li{ background: url(../../images/mini_ar.png) no-repeat left 10px; padding-left: 10px; line-height: 1.8em; padding-bottom: 6px; border-bottom: 1px dotted #666; }
.linkbtn a { background-color: #462b0b; }
.clbox { border: 3px solid #462b0b; padding: 5px; margin-top: 20px; }


/* -----------------------------------------------
 Main
-------------------------------------------------- */
img.center{
    width: fit-content;
    margin: 0 auto;
    display: block;
}

.text-bold{
	font-weight: bold;
	color: red;
}

.txt-mini{
	font-size: .85rem;
}
.txt-center{
	text-align: center;
}

.txt-large{
	font-size: 1.25rem;
    font-weight: bold;
    /* color: #452806; */
}

/* box */
/* タイトル付きボックス（見出し付きの枠） */
.bl_box {
    margin: 0 auto 2em; /* 外側の余白（上下と中央配置） */
    border: 1px solid #462b0b; /* ボックスの枠線 */
}

.bl_box .box-title {
    background-color: #462b0b; /* タイトル部分の背景色 */
    color: #fff; /* タイトルの文字色（白） */
    padding: .5em 1em; /* タイトル部分の内側余白 */
    text-align: center; /* タイトルを中央揃え */
    font-weight: bold; /* タイトルの太字 */
	    font-size: 1.25em;
}

.bl_ServiceList{
	display: flex;
	gap: 1rem;
}
.bl_Service {
 margin-top: 5rem;
margin-bottom: 4rem;
}

.bl_ServiceList-Item{
    width: calc((100% - 2rem) / 3);
    /* padding: 2.25rem 1rem; */
    border-radius: 10px;
    background-color: #f3f1ee;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}



.bl_ServiceList-Item-inner{
    padding: 1rem 1rem 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}


.bl_ServiceList-Item .plan {
    font-size: 1.35rem;
    font-weight: bold;
    /* color: #ffffff; */
    text-decoration: none;
    text-align: center;
    display: block;
    /* background-color: #d7831e; */
    width: 100%;
    border-radius: 10px 10px 0 0;
    padding: 1rem 1rem 0 1rem;
    color: #367d6b;
	margin-bottom: 0;
	margin-top: 0;
}
.ribbon-txt {
display: inline-block;
    position: relative;
    padding: .25rem 1.5rem;
    font-size: 14px;
    color: #FFF;
    background: #5bb19c;
	font-weight: bold;
    position: absolute;
    left: -20px;
    top: -18px;
}

.ribbon-txt:before {
  position: absolute;
  content: '';
  top: 100%;
  left: 0;
  border: none;
  border-bottom: solid 15px transparent;
  border-right: solid 20px rgb(149, 158, 155);/*折り返し部分*/
}

.ribbon-txt:after{
    position: absolute;
    content: '';
    top: 0;
    right: 0;
    border-width: 18px 10px 18px 0px;
    border-color: transparent #f3eee8 transparent transparent;
    border-style: solid;
}

.Service-icon {
    max-height: 150px;
	margin-bottom: .75rem;
}

.Service-icon img{
height: 100%;
object-fit: contain;
}
.bl_merit_listWrap{
	display: flex;
	flex-wrap: wrap;
	gap: 4rem;
}
.bl_owner,.bl_nyukyosya{
	width: calc((100% - 4rem) / 2);
}


/* 詳しく見るボタン */
.more-btn::before {
content: "";
position: absolute;
top: -1px;
left: -1px;
right: -1px;
bottom: -1px;
}

.bl_ServiceList-Item:has(.more-btn:hover) {
    text-decoration: none;
    color: inherit;
    -webkit-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.2);
	    -webkit-transition: all 0.3s linear;
    transition: all 0.3s linear;
}


.more-btn::after {
content: '';
    width: 10px;
    height: 10px;
    border: 0;
    border-bottom: solid 2px #367d6b;
    border-right: solid 2px #367d6b;
    transform: rotate(45deg);
    position: absolute;
    right: 0;
    left: 0;
    margin: auto;
    bottom: 15px;
}


/* オーナー様メリット */
.owner-merit-list{
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	row-gap: 3rem;
	margin-top: 3rem;
}
.owner-merit-list li {
    width: calc((100% - 1rem) / 2);
    /* border: solid #f3f1ee 1px; */
    aspect-ratio: 1 / 1;
    border-radius: 10px;
    background-color: #fbfae2;
    padding: 1rem;
    display: flex;
    position: relative;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    line-height: 1.5;
    font-size: 14px;
    /* font-weight: bold; */
    line-height: 1.75;
	color: #462b0b;
	justify-content: center;
}
.owner-merit-list img {
    max-width: 100px;
    max-height: 100px;
    height: auto;
}

.bl_nyukyosya .owner-merit-list li{
    background-color: #fdefe9;
}


/* 吹き出し */
.balloon {
    position: relative;
    display: inline-block;
    margin: 0;
    padding: 5px 10px;
    /* min-width: 0px; */
    max-width: 100%;
    font-size: 12px;
    background: #B0AC5A;
    border-radius: 50vh;
    position: absolute;
    top: -30px;
    font-weight: bold;
    text-align: center;
    color: #fff;
    position: absolute;
    right: 0;
    left: 0;
    margin: auto;
    max-width: 100px;
}

.balloon:before {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    /* margin-left: -15px; */
    border: 5px solid transparent;
    border-top: 5px solid #B0AC5A;
}

.bl_nyukyosya .balloon {
    background: #e1866a;
}
.bl_nyukyosya .balloon::before {
    border-top: 5px solid #e1866a;
}

.balloon p {
  margin: 0;
  padding: 0;
}




/* おすすめ！ */
.osusume {
display: flex;
/* justify-content: center; */
align-items: center;
/* align-items: flex-end; */
line-height: 1;
color: #367d6b;
position: absolute;
top: -52px;
font-weight: bold;
gap: 4px;
text-align: center;
}

.osusume::before,.osusume::after {
  width: 2px;
  height: 28px;
  content: "";
  background-color: #367d6b;
}

.osusume::before {
  margin-right: 0.5em;
  transform: rotate(-30deg);
}

.osusume::after {
  margin-left: 0.5em;
  transform: rotate(30deg);
}
.bl_ServiceList-Item-pickup{
	position: relative;
	border: solid 2px #5bb19c;
	background-color: #e4f7f3;
}







.Service-fee tr,.Service-fee tr td{
text-align: center;
}

/* 防犯カメラ */
/* flex-container */
.flex-container {
    display: flex;
    gap: 1rem;
    align-items: center;
}
.bl_media{
	width: 280px;
}
.bl_text {
    width: calc(100% - 280px);
}
.caution{
	padding-left: 2rem;
}

.caution li{
list-style-type: disc;
}

.kinou {
    padding: 0.6em;
    border-radius: 7px;
    max-width: 160px;
    font-weight: bold;
    background-color: #5bb19c;
	position: relative;
	text-align: center;
	color:#fff;
}

.kinou:after {
position: absolute;
    content: '';
    top: 100%;
    left: 63px;
    border: 10px solid transparent;
    border-top: 11px solid #5bb19c;
    width: 0;
    height: 0;
}

@media screen and (max-width: 960px) {
	.bl_merit_listWrap {
    flex-direction: column;
}
.bl_owner, .bl_nyukyosya {
    width: 100%;
}
.owner-merit-list li
 {
    width: calc((100% - 3rem) / 4);
}



/* @media screen and (max-width: 768px) { */
.bl_ServiceList-Item .plan{
	font-size: 1.1rem!important;
}
	.bl_ServiceList {
flex-direction: column;
}
	.bl_ServiceList-Item {
    width: 100%;
    flex-direction: column;
    align-items: center;
    position: relative;
}
.bl_ServiceList-Item-pickup {
    order: -1;
}
.owner-merit-list {
    flex-wrap: wrap;
	row-gap: 2.5rem;
	column-gap:.5rem;
}
.owner-merit-list li {
    width: calc((100% - .5rem) / 2);
	padding: 1rem .5rem;
}
.bl_ServiceList{
	gap: 2.5rem;
}
/* 
.osusume {
    top: -43px;
} */


.flex-container {
    flex-direction: column;
}


.bl_text,.bl_media {
    width:100%;
}
}



/* よくある質問 */
.qa-7 {
    /* max-width: 500px; */
    margin-bottom: 10px;
    border: none;
    border-radius: 25px;
    box-shadow: 0 4px 4px rgb(0 0 0 / 2%), 0 2px 3px -2px rgba(0 0 0 / 5%);
    background-color: #fff;
    border: solid 1px #462b0b3d;
}

.qa-7 summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 1em 2em 1em 3em;
    color: #333333;
    font-weight: 600;
    cursor: pointer;
}

.qa-7 summary::before,
.qa-7 p::before {
    position: absolute;
    left: 1em;
    font-weight: 600;
    font-size: 1.3em;
}

.qa-7 summary::before {
    color: #5bb19c;
    content: "Q";
}

.qa-7 summary::after {
    transform: translateY(-25%) rotate(45deg);
    width: 7px;
    height: 7px;
    margin-left: 10px;
    border-bottom: 3px solid #333333b3;
    border-right: 3px solid #333333b3;
    content: '';
    transition: transform .5s;
}

.qa-7[open] summary::after {
    transform: rotate(225deg);
}

.qa-7 p {
    position: relative;
    transform: translateY(-10px);
    opacity: 0;
    margin: 0;
    padding: .3em 3em 1.5em;
    color: #333;
    transition: transform .5s, opacity .5s;
}

.qa-7[open] p {
    transform: none;
    opacity: 1;
}

.qa-7 p::before {
    color: #e1866a;
    line-height: 1.2;
    content: "A";
}
