#whitepaper {
    position: relative;
    padding: 1vw 0 15vw;
}
#whitepaper .tag {
    padding: 10vw 5%;
    background: var(--bg-light);
    border-radius: var(--border-radius-md);
    margin-bottom: 60px;
}
#whitepaper .tag .title {
    text-align: center;
    font-weight: bold;
    font-size: 17px;
    margin-bottom: 4vw;
}
#whitepaper .tag .list {
    display: flex;
    flex-wrap: wrap;
}
#whitepaper .tag .list li {
    margin-right: 10px;
}
#whitepaper .tag .list li a {
    color: var(--color2);
    font-weight: bold;
    font-size: 15px;
}
#whitepaper .group .title2 {
    margin-bottom: 20px;
}
#whitepaper .group .sum {
    margin-bottom: 20px;
    text-align: right;
}
#whitepaper .group .list {
    display: flex;
    flex-wrap: wrap;
}

#whitepaper .group .list .item {
    border: 2px solid var(--color1);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    margin-bottom: 8vw;
}
#whitepaper .group .list .item .img {
    height: 60vw;
    margin-bottom: 2vw;
}
#whitepaper .group .list .item .inner {
    padding: 5%;
}
#whitepaper .group .list .item .inner .title {
    font-weight: bold;
    margin-bottom: 6vw;
}
#whitepaper .group .list .item .inner .list-tag {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 6vw;
}
#whitepaper .group .list .item .inner .list-tag li {
    margin-right: 10px;
}
#whitepaper .group .list .item .inner .list-tag li a {
    color: var(--color2);
    font-weight: bold;
}
#whitepaper .group .list .item .inner .btn a {
    background: var(--color1);
    display: block;
    color: #fff;
    font-weight: bold;
    padding: 8px;
    border-radius: var(--border-radius-xl);
    text-align: center;
    position: relative;
    border: 2px solid #E9BA3A;
}
#whitepaper .group.similar .title3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10vw;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 3vw;
}
@media only screen and (min-width: 768px) {
    .wrap {
        padding: 0 20px;
        max-width: 1330px;
    }
    .content-shared {
        align-items: stretch;
        flex-direction: row;
    }
    #whitepaper {
        padding: 14px 0 184px;
    }
    .content-shared .sidebar {
        width: 399px;
    }
    .content-shared .content {
        width: calc(100% - 449px);
    }
    .content-shared .content .detail .title {
        padding-bottom: 45px;
    }
	.content-shared .sidebar{
        position: relative;
	}
	
	/* サイドバー追従（sticky） */
	.content-shared .sidebar .box-contact.is-sticky {
		position: fixed;
		top: 110px;
		width: 399px;
		z-index: 10;
        max-height: 80vh;
        min-height: 400px;
        overflow-y: scroll;
	}
	
	.content-shared .sidebar .box-contact.is-end {
		position: absolute;
		bottom: 0;
		top: auto;
		width: 399px;
        margin-bottom: 0;
	}
    #whitepaper .tag {
        padding: 26px 38px;
        display: flex;
        align-items: center;
        margin-bottom: 100px;
    }
    #whitepaper .tag .title {
        font-size: 18px;
        margin-bottom: 0;
        margin-right: 50px;
    }
    #whitepaper .tag .list li {
        font-size: 16px;
        margin-right: 32px;
        letter-spacing: 1px;
    }
    #whitepaper .tag .list li:last-child {
        margin-right: 0
    }
    #whitepaper .tag .list li a:hover {
        border-bottom: 1px solid;
    }
    #whitepaper .group .title2 {
        font-weight: bold;
        margin-bottom: -30px;
    }
    #whitepaper .group .sum {
        margin-bottom: 49px;
    }
    #whitepaper .group .list {
        flex-wrap: wrap;
        display: flex;
    }
    #whitepaper .group .list .item {
        width: 398px;
        margin-bottom: 50px;
        margin-right: 48px;
        max-width: calc((100% / 3) - 32px);
    }
    #whitepaper .group .list .item:nth-child(3n + 3) {
        margin-right: 0;
    }
    #whitepaper .group .list .item .img {
        margin-bottom: 4px;
        height: calc(min(20vw, 210px));
    }
    #whitepaper .group .list .item .inner {
        padding: 20px 20px 28px;
    }
    #whitepaper .group .list .item .inner .title {
        margin-bottom: 11px;
        transition: all 0.5s;
    }
    #whitepaper .group .list .item .inner .title:hover {
        color: var(--color1);
    }
    #whitepaper .group .list .item .inner .list-tag {
        margin-bottom: 20px;
    }
    #whitepaper .group .list .item .inner .list-tag li a:hover {
        border-bottom: 1px solid;
    }
    #whitepaper .group .list .item .inner .btn a {
        padding: 11px;
    }
    #whitepaper .group .list .item .inner .btn a:hover {
        background: var(--bg-white);
        border: 2px solid var(--color1);
        color: var(--color1);
        transition: var(--transition-slow);
    }
    #whitepaper .group.similar {
        margin-top: 141px;
    }
    #whitepaper .group.similar .title3 {
        padding-bottom: 20px;
        margin-bottom: 50px;
    }
}
@media only screen and (min-width: 768px) and (max-width: 1100px) {
	#whitepaper .tag {
   	 padding: 26px 18px;
	}
	#whitepaper .group .list .item{
		margin-right: 3%;
		max-width: calc((100% / 3) - 2%);
	}
	.content-shared .sidebar{
		width: 290px;
	}
	.content-shared .content {
    width: calc(100% - 318px);
	}
	
	/* サイドバー追従（sticky）- レスポンシブ対応 */
	.content-shared .sidebar .box-contact.is-sticky {
		width: 290px;
	}
	
	.content-shared .sidebar .box-contact.is-end {
		width: 290px;
	}
}

/* Contact Form 7 - 資料ダウンロードフォーム */
.box-contact .wpcf7 form {
    display: flex;
    flex-direction: column;
}

/* メッセージを上部に表示 */
.box-contact .wpcf7-response-output {
    order: -1;
    margin: 0 0 15px 0 !important;
    padding: 15px !important;
    border-radius: 5px;
    text-align: center;
    font-size: 14px;
}

/* 送信成功時のメッセージスタイル */
.box-contact .wpcf7 form[data-status="sent"] .wpcf7-response-output {
    background: #d4edda;
    border-color: #c3e6cb !important;
    color: #155724;
}

/* 送信成功時にフォームを非表示 */
.box-contact .wpcf7 form[data-status="sent"] > *:not(.wpcf7-response-output) {
    display: none;
}

/* エラー時のスタイル */
.box-contact .wpcf7 form[data-status="invalid"] .wpcf7-response-output,
.box-contact .wpcf7 form[data-status="failed"] .wpcf7-response-output {
    background: #f8d7da;
    border-color: #f5c6cb !important;
    color: #721c24;
}