@charset "utf-8";

/*--------------------------------------------------*/
/*		http://
/*		/css/index.css
/*--------------------------------------------------*/
/*		$index
/*--------------------------------------------------*/
/*			$index.......目次
/*			$layout......全体・部分的なレイアウト
/*			$visual......visual部分
/*--------------------------------------------------*/



/*--------------------------------------------------*/
/*			$layout
/*--------------------------------------------------*/
#header h1 a {
  color: #333;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.6);
}

#header li a {
  text-shadow: 0 0 1px rgb(255, 255, 255), 0 0 2px rgb(255, 255, 255), 0 0 3px rgb(255, 255, 255), 0 0 4px rgb(255, 255, 255), 0 0 5px rgb(255, 255, 255);
}

#header li.business a, #header li a:hover {
  text-shadow: none;
}
.sp{
    display: none;
}
@media screen and (max-width: 767px) {
    #header li a{
        text-shadow: none;
    }
    .sp{
        display: block;
    }
}



/*--------------------------------------------------*/
/*			$visual
/*--------------------------------------------------*/
/* #lower-visual{margin-bottom: 30px; background: url(/images/renovation/visual_pc.jpg) no-repeat center top; background-size: cover;}
#lower-visual h2{margin-left: -2em;} */
#lower-visual {
  margin-bottom: 40px;
  background: url(../images/renovation/visual_pc.jpg) no-repeat center top;
  background-size: cover;
}

#lower-visual h2 {
  text-shadow: 0 0 2px rgba(255, 255, 255, 0.9), 0 0 4px rgba(255, 255, 255, 0.9), 0 0 6px rgba(255, 255, 255, 0.9), 0 0 8px rgba(255, 255, 255, 0.9), 0 0 10px rgba(255, 255, 255, 0.9);
  transform: translateX(-50%);
}
@media screen and (max-width: 767px) {
#lower-visual{margin-bottom: 7.8125%; background: url(/images/renovation/visual_sp.jpg) no-repeat center top; background-size: cover;}
#lower-visual h2{text-align: center; width: 93.75%;}
}



/*--------------------------------------------------*/
/*			$article_list
/*--------------------------------------------------*/
#article-list ul{padding-bottom: 1rem;}
#article-list li{padding-bottom: 2rem;}
#article-list dl{-webkit-justify-content: space-between; justify-content: space-between;}
#article-list dt{width: 140px; font-size: 1.6rem;}
#article-list dd{width: 760px; border-bottom: 1px #000 solid;}
#article-list dd a{display: block;}
#article-list dd a:hover{text-decoration: underline;}
#article-list dd h3{font-size: 2rem; word-break: break-all;}
#article-list dd p{padding-bottom: 2rem; font-size: 1.6rem; word-break: break-all;}
#article-list .lx-col-tag {display: inline-block; margin-top: 5px;font-size: 1.4rem;background: #eee;padding: 3px 8px;border-radius: 3px;color: #666;}
@media screen and (max-width: 767px) {
#article-list dl{display: block;}
#article-list dt{width: 100%; font-size: 1rem; margin-bottom: 1%;}
#article-list dd{width: 100%; padding-bottom: 2rem;}
#article-list dd h3{font-size: 1.1rem;}
#article-list dd p{display: none;}
#article-list .lx-col-tag{font-size: 1rem; margin-left: 5px;}
}



/*--------------------------------------------------*/
/*			$article_detail
/*--------------------------------------------------*/
#article-detail .title-box{-webkit-justify-content: space-between; justify-content: space-between; padding-bottom: 40px;}
#article-detail .title-box dt{width: 140px; font-size: 1.6rem;}
#article-detail .title-box dd{width: 790px;}
#article-detail .title-box dd h3,#article-detail .title-box dd h1{font-size: 2rem; word-break: break-all;}
#article-detail article{margin-bottom: 40px; padding: 0 0 40px 170px; border-bottom: 1px #000 solid;}
#article-detail article p{padding-bottom: 2em; font-size: 1.6rem; line-height: 1.6;word-break: break-all;}
#article-detail article ul,#article-detail article ol{padding: 0 0 2em 2em; font-size: 1.6rem; line-height: 1.6;}
#article-detail article ul{list-style: disc;}
#article-detail article ol{list-style: decimal;}
#article-detail article a{text-decoration: underline;}
#article-detail article a:hover{text-decoration: none;}
#article-detail .lx-col-tag {display: inline-block; margin-top: 5px; font-size: 1.4rem;background: #eee;padding: 3px 8px;border-radius: 3px;color: #666;}
@media screen and (max-width: 767px) {
#article-detail .title-box{display: block; padding-bottom: 4.6875%;}
#article-detail .title-box dt{width: 100%; font-size: 1rem; margin-bottom: 1%;}
#article-detail .title-box dd{width: 100%;}
#article-detail .title-box dd h3,#article-detail .title-box dd h1{font-size: 1.1rem;}
#article-detail article{margin-bottom: 7.8125%; padding: 0 0 7.8125% 0;}
#article-detail article p{font-size: 1rem;}
#article-detail article ul,#article-detail article ol{font-size: 1rem;}
#article-detail .lx-col-tag{font-size: 1rem; margin-left: 5px;}
}


/*  */
/* =========================================
   記事詳細コンテンツ用CSS
   (#article-detail article 内のみ適用)
   ========================================= */

/* --- 基本テキスト設定 --- */
#article-detail article {
    font-family: "游明朝",YuMincho,"ヒラギノ明朝 ProN W3","Hiragino Mincho ProN","HG明朝E","ＭＳ Ｐ明朝","ＭＳ 明朝",serif;
    line-height: 1.8;
    color: #333;
    font-size: 16px;
}

#article-detail article p.cta {
    padding-bottom: 1.5em!important;
    text-align:center!important;
}

#article-detail article a {
    color: #2c4987;
    text-decoration: underline;
}

#article-detail article a:hover {
    text-decoration: none;
    opacity: 0.8;
}

/* --- 目次 (TOC) --- */
#article-detail article #toc_container {
    background-color: #f7f9fc;
    border: 1px solid #dce3eb;
    border-radius: 4px;
    padding: 20px 25px;
    margin: 30px 0 50px;
    display: inline-block;
    min-width: 50%;
    max-width: 100%;
    box-sizing: border-box;
    text-align:center;
}

#article-detail article .toc_title {
    font-weight: bold;
    text-align: center;
    margin-bottom: 15px;
    font-size: 1.1em;
    color: #2c4987;
}

#article-detail article .toc_list {
    list-style-type: decimal;
    padding-left: 20px;
    margin: 0;
}

#article-detail article .toc_list li {
    margin-bottom: 8px;
}

#article-detail article .toc_list li a {
    text-decoration: none !important;
    color: #444 !important;
    transition: color 0.3s;
}

#article-detail article .toc_list li a:hover {
    color: #2c4987 !important;
    text-decoration: underline !important;
}

/* --- 見出し H2 --- */
#article-detail article h2 {
    background-color: #f3f6fa;
    border-left: 6px solid #2c4987;
    padding: 12px 15px;
    margin-top: 60px;
    margin-bottom: 30px;
    font-size: 24px;
    font-weight: bold;
    line-height: 1.4;
    color: #2c4987;
    clear: both;
    /* 修正: 固定ヘッダー対策 */
    scroll-margin-top: 120px;
}

/* --- 見出し H3 --- */
#article-detail article h3 {
    border-bottom: 2px solid #2c4987;
    padding-bottom: 10px;
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: bold;
    color: #333;
    clear: both;
}
#article-detail article h3.cta {
    border-bottom: 2px solid #2c4987;
    padding-bottom: 10px;
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: bold;
    color: #333;
    clear: both;
    text-align:center!important;
}

/* --- リスト --- */
#article-detail article ul,
#article-detail article ol {
    margin-bottom: 30px;
    padding-left: 25px;
    background: #f9f9f9;
            padding: 20px 20px 20px 40px;
            border-radius: 6px;
}

#article-detail article ul li {
    list-style-type: disc;
    margin-bottom: 10px;
}
#article-detail article ol li {
    list-style-type: decimal;
    margin-bottom: 10px;
}

/* --- Q&A (定義リスト) --- */
#article-detail article dl {
    margin-bottom: 40px;
}

#article-detail article dt {
    background-color: #2c4987;
    color: #fff;
    padding: 12px 15px;
    border-radius: 4px 4px 0 0;
    font-weight: bold;
    position: relative;
    line-height: 1.5;
    margin-top: 20px;
}
#article-detail article dt::before {
    content: "Q.";
    margin-right: 5px;
    font-size: 1.2em;
}

#article-detail article dd {
    margin-left: 0;
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-top: none;
    padding: 20px;
    border-radius: 0 0 4px 4px;
    margin-bottom: 20px;
    position: relative;
}
#article-detail article dd::before {
    content: "A.";
    font-weight: bold;
    color: #d03e3e;
    margin-right: 5px;
    font-size: 1.2em;
}

/* --- 監修者プロフィールボックス --- */
#article-detail article .profile-box {
    border: 1px solid #ccc;
    padding: 25px;
    margin-top: 40px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

#article-detail article .profile-image {
    flex: 0 0 100px;
    text-align: center;
}

#article-detail article .profile-image img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0;
}

#article-detail article .profile-content {
    flex: 1;
}

#article-detail article .profile-box h3 {
    border: none !important;
    padding: 0 !important;
    margin: 0 0 5px 0 !important;
    font-size: 18px !important;
    color: #2c4987 !important;
}

#article-detail article .profile-role {
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
    display: block;
    font-weight: bold;
}

#article-detail article .profile-dl {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 5px 15px;
    font-size: 14px;
    margin-bottom: 10px;
}

#article-detail article .profile-dl dt {
    background: none !important;
    color: #333 !important;
    padding: 0 !important;
    margin: 0 !important;
    font-weight: bold;
    width: auto;
}
#article-detail article .profile-dl dt::before { content: none !important; }

#article-detail article .profile-dl dd {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
#article-detail article .profile-dl dd::before { content: none !important; }

#article-detail article .profile-msg {
    font-size: 14px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #ddd;
    line-height: 1.6;
}

/* --- CTA (Call To Action) Areas --- */
/* インコンテンツCTA（記事途中用） */
.cta-box-in {
    background-color: #f3f6fa;
    border: 2px solid #2c4987;
    border-radius: 8px;
    padding: 20px; /* パディングを調整して高さを抑制 */
    margin: 40px 0;
    text-align: center;
}

.cta-box-in h3 {
    font-size: 18px !important; /* フォントサイズを少し小さく */
    color: #2c4987 !important;
    border-bottom: none !important;
    margin-top: 0 !important;
    margin-bottom: 10px !important; /* 下マージンを削減 */
    padding-bottom: 0 !important;
}

.cta-box-in p {
    font-size: 14px; /* フォントサイズを少し小さく */
    padding-bottom: 15px !important; /* 下マージンを削減 */
    text-align:center!important;
}

.cta-btn {
    display: inline-block;
    background-color: #2c4987;
    color: #fff !important;
    padding: 10px 30px; /* パディングを調整 */
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none !important;
    font-size: 15px; /* フォントサイズを調整 */
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 3px 6px rgba(0,0,0,0.15);
}

.cta-btn:hover {
    background-color: #1a356e;
    transform: translateY(-2px);
    opacity: 1 !important;
}

.cta-btn i {
    margin-left: 5px;
}

/* 最下部CTA（記事終了後用 - インコンテンツと同じスタイル） */
.cta-box-bottom {
    /* インコンテンツCTAと同じスタイルを適用 */
    background-color: #f3f6fa;
    border: 2px solid #2c4987;
    border-radius: 8px;
    padding: 20px;
    margin: 60px 0 40px;
    text-align: center;
}

.cta-box-bottom h3 {
    /* インコンテンツCTAと同じスタイルを適用 */
    font-size: 18px !important;
    color: #2c4987 !important;
    border-bottom: none !important;
    margin-top: 0 !important;
    margin-bottom: 10px !important;
    padding-bottom: 0 !important;
    text-align:left;
}

.cta-lead {
    /* インコンテンツCTAのpタグに近いスタイルに変更 */
    font-size: 14px;
    color: #333;
    margin-bottom: 15px !important;
    text-align:left;
}

/* --- スマホ表示用の調整 (レスポンシブ) --- */
@media screen and (max-width: 768px) {
    #article-detail article { font-size: 15px; }
    #article-detail article h2 { font-size: 20px; padding: 10px; margin-top: 40px; }
    #article-detail article h3 { font-size: 18px; }
    #article-detail article #toc_container { width: 100%; }

    #article-detail article .profile-box {
        flex-direction: column;
        text-align: left;
    }
    #article-detail article .profile-image {
        margin: 0 auto 15px;
    }

    .cta-box-in { padding: 20px; }
    .cta-btn { width: 100%; box-sizing: border-box; text-align: center;}
}

@media screen and (max-width: 768px) {
#article-detail article p {
    font-size:1.6rem;
}
	#article-detail article ul, #article-detail article ol{
	    font-size:1.6rem;
	}
}
.lead-highlight{background:linear-gradient(transparent 60%, #fbeec3 60%);}