.contact-top-area {
    display: flex;
    justify-content: space-between;
    max-width: 1000px;
    margin: 40px auto 60px;
    padding: 50px 40px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    position: relative;
    gap: 40px;
}

@media screen and (max-width: 768px) {
    .contact-top-area {
        flex-direction: column;
        padding: 40px 20px;
        gap: 30px;
    }
}

/* 「お急ぎなら」バッジ - 親枠の上に配置 */
.contact-top-area::before {
    content: "お急ぎなら";
    position: absolute;
    top: -20px;
    left: 25%; /* 左側セクションの中央に配置 */
    transform: translateX(-50%);
    background: #ff4500; /* オレンジ */
    color: #fff;
    padding: 10px 40px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.6rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

@media screen and (max-width: 768px) {
    .contact-top-area::before {
        left: 50%;
    }
}

/* 電話セクション */
.phone-top-section {
    flex: 1;
    text-align: center;
    border-right: 1px solid #eee; /* 真ん中の区切り線 */
    padding-right: 20px;
}

@media screen and (max-width: 768px) {
    .phone-top-section {
        border-right: none;
        border-bottom: 1px solid #eee;
        padding-right: 0;
        padding-bottom: 30px;
    }
}

/* バッジのHTML要素は非表示（CSSで擬似要素として配置するため） */
.phone-top-section .badge {
    display: none;
}

.phone-top-section h2 {
    font-size: 2.6rem;
    color: #000;
    font-weight: 900;
    margin-bottom: 20px;
    margin-top: 0;
}

.phone-top-section p {
    color: #333;
    margin-bottom: 0px;
    font-size: 1.4rem;
}

.phone-number {
    margin: 15px 0 20px;
}

.phone-number a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 5.0rem;
    font-weight: 900;
    color: #143d82 !important;
    text-decoration: none !important;
    font-family: 'Lato', sans-serif;
    line-height: 1.1;
}

.phone-number .free-dial {
    width: 60px;
    height: auto;
    margin-right: 15px;
}

.phone-top-section .hours {
    color: #000;
    font-size: 1.4rem;
    font-weight: bold;
}

/* LINEセクション */
.line-top-section {
    flex: 1;
    text-align: center;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

@media screen and (max-width: 768px) {
    .line-top-section {
        padding-left: 0;
    }
}

.line-top-section h2 {
    font-size: 2.6rem;
    color: #000;
    font-weight: 900;
    margin-bottom: 20px;
    margin-top: 0;
}

.line-top-section p {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.4rem;
}

/* LINEボタン */
.line-top-section p:last-child,
.line-top-section .line-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #06c755;
    color: #fff !important;
    padding: 15px 20px;
    border-radius: 5px;
    font-weight: 900;
    font-size: 2.0rem;
    text-decoration: none !important;
    width: 100%;
    max-width: 350px;
    box-sizing: border-box;
    position: relative;
    font-family: "M PLUS 1p", sans-serif;
}

.line-top-section p:last-child i,
.line-top-section .line-btn i {
    display: inline-block;
    font-size: 36px;
    margin-right: 15px;
}

.line-top-section p:last-child::after,
.line-top-section .line-btn::after {
    content: "›";
    position: absolute;
    right: 20px;
    font-size: 2.4rem;
    font-family: sans-serif;
}

.line-top-section p:last-child:hover,
.line-top-section .line-btn:hover {
    opacity: 0.9;
}

/* メールで見積り依頼 見出し */
.contact-h2,
h2.contact-h2 {
    background: #143d82;
    color: #fff;
    padding: 15px;
    text-align: center;
    font-size: 2.0rem;
    border-radius: 5px;
    margin: 60px 0 30px;
    font-weight: 900;
}

@media screen and (max-width: 768px) {
    .phone-number a {
        font-size: 2.8rem;
    }
    .phone-top-section h2, .line-top-section h2 {
        font-size: 2.0rem;
    }
}

/* メールで見積り依頼 見出し */
.contact-h2,
h2.contact-h2 {
    background: #143d82;
    color: #fff;
    padding: 20px 30px;
    text-align: center;
    font-size: 2.0rem;
    border-radius: 8px;
    margin: 40px 0 30px;
}

@media screen and (max-width: 768px) {
    .phone-number a {
        font-size: 2.4rem;
    }
    
    .phone-top-section h2,
    .line-top-section h2 {
        font-size: 1.8rem;
    }
    
    .line-top-section p:last-child {
        padding: 12px 30px;
        font-size: 1.6rem;
    }
}

/* 免許・資格リスト */
.license-list {
	list-style: none;
	padding: 0;
	margin: 0;
}
.license-list li {
	padding-left: 1em;
	text-indent: -1em;
	margin-bottom: 0.3em;
}
.license-list li::before {
	content: "・";
}

.box-border-box {
	 -webkit-box-sizing: border-box;
	 -moz-box-sizing: border-box;
	 -o-box-sizing: border-box;
	 -ms-box-sizing: border-box;
	 box-sizing: border-box;
}
 .disp-flex {
	 display: -webkit-flexbox;
	 display: -moz-flexbox;
	 display: -ms-flexbox;
	 display: -o-flexbox;
	 display: flexbox;
	 display: -webkit-box;
	 display: flex;
}
 .font-mincho {
	 font-family: 'Noto Serif', "游明朝体", "YuMincho", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}
 .bg-cover {
	 background-size: cover;
	 -moz-background-size: cover;
	 -webkit-background-size: cover;
	 -o-background-size: cover;
	 -ms-background-size: cover;
	 background-position: center;
}
 .main-contents {
	 width: 1200px;
	 margin: 0 auto;
}
 @media screen and (max-width: 1200px) {
	 .main-contents {
		 width: 100%;
	}
}
 .sub-contents {
	 width: 1000px;
	 margin: 0 auto;
}
 @media screen and (max-width: 1000px) {
	 .sub-contents {
		 width: 100%;
	}
}
 .slim-contents {
	 width: 900px;
	 margin: 0 auto;
}
 @media screen and (max-width: 900px) {
	 .slim-contents {
		 width: 100%;
	}
}
 @media screen and (min-width: 641px) {
	 .menuNavi__item {
		 display: none;
	}
}
 .thumbnail {
	 background-size: cover;
	 -moz-background-size: cover;
	 -webkit-background-size: cover;
	 -o-background-size: cover;
	 -ms-background-size: cover;
	 background-position: center;
}
 .topics-more {
	 text-align: right;
}
 .topics-more a {
	 width: 50%;
	 display: inline-block;
	 padding: 15px 10px;
	 border: 2px solid #FD9D27;
	 border-radius: 5px;
	 -webkit-border-radius: 5px;
	 -moz-border-radius: 5px;
	 position: relative;
	 color: #FF4500;
	 font-weight: bold;
	 text-align: center;
	 font-size: 140%;
	 -webkit-box-sizing: border-box;
	 -moz-box-sizing: border-box;
	 -o-box-sizing: border-box;
	 -ms-box-sizing: border-box;
	 box-sizing: border-box;
}
 @media screen and (max-width: 640px) {
	 .topics-more a {
		 width: 100%;
	}
}
 .topics-more a:after {
	 content: "〉";
	 position: absolute;
	 line-height: 1em;
	 height: 1em;
	 top: 0;
	 bottom: 0;
	 right: 0;
	 color: #FD9D27;
	 font-size: 120%;
	 margin: auto;
}
 .keyword {
	 padding: 40px 10px;
	 border-top: 3px solid #f3f3f4;
}
 .keyword .title {
	 -webkit-justify-content: center;
	 justify-content: center;
}
 .top-staff {
	 margin-bottom: 30px;
}
 .top-staff li {
	 padding: 10px;
}
 @media screen and (max-width: 1000px) {
	 .top-staff li {
		 padding: 5px;
	}
}
 .top-staff li p {
	 padding: 10px;
	 border: 3px solid #1CAFDD;
	 margin-bottom: 15px;
	 border-radius: 5px;
	 -webkit-border-radius: 5px;
	 -moz-border-radius: 5px;
	 line-height: 1.3em;
	 z-index: 0;
	 position: relative;
	 min-height: 63px;

}
 @media screen and (max-width: 640px) {
	 .top-staff li p {
		 display: none;
	}
}
 .top-staff li p::before {
	 content: "";
	 position: absolute;
	 bottom: -8px;
	 left: 50%;
	 margin-left: -9px;
	 width: 0px;
	 height: 0px;
	 border-style: solid;
	 border-width: 9px 9px 0 9px;
	 border-color: #fff transparent transparent transparent;
	 z-index: 0;
}
 .top-staff li p::after {
	 content: "";
	 position: absolute;
	 bottom: -12px;
	 left: 50%;
	 margin-left: -10px;
	 width: 0px;
	 height: 0px;
	 border-style: solid;
	 border-width: 10px 10px 0 10px;
	 border-color: #1CAFDD transparent transparent transparent;
	 z-index: -1;
}
 .top-staff li .thumbnail {
	 padding-top: 200px;
	 background-size: cover;
	 -moz-background-size: cover;
	 -webkit-background-size: cover;
	 -o-background-size: cover;
	 -ms-background-size: cover;
	 background-position: center;
}
 .top-staff li .thumbnail dl {
	 background-color: rgba(11,95,154,0.8);
	 padding: 15px 10px;
	 color: #FFF;
	 font-weight: bold;
}
