@charset "UTF-8";

/* 初期状態：すべて表示 */
.js_target {
    display: block !important;
}

/* フィルター後：選ばれていないものだけ非表示 */
.js_target:not(.js_selected) {
    display: none !important;
}

/* 各カテゴリーの色 */
.category-btn.is-active {
    background-color: #26854c;
    color: #ffffff;
}


/* コンテンツ */
.wrap {
    margin-right: auto;
    margin-left: auto;
    position: relative;
}

.inner,
.inner-column,
.category-box {
    padding-right: 10px;
    padding-left: 10px;
    margin-right: auto;
    margin-left: auto;
    max-width: 1200px;
}

.inner h4 {
    font-size: 1.5em;
    color: #fff;
    text-align: center;
    font-weight: 600;
    background-color: #26854c;
    padding: 0.5em 0;
    margin-top: 2em;
}

.top-inner {
    /* max-width: 330px; */
    margin-bottom: 40px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.top-inner p {
    font-size: 12px;
}

.top-title {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.top-title img {
    width: 60px;
    margin-right: 5px;
}

.top-title h1 {
    font-size: 35px;
}

/* タブレット版 */
@media(768px < width) {

    .container {
        padding: 0 50px;
    }

    .sec-top {
        padding-top: 12rem;
    }

    .top-inner {
        text-align: center;
        margin-bottom: 70px;
    }

    .top-title img {
        width: 100px;
    }

    .top-title h1 {
        font-size: 50px;
    }

    .top-inner p {
        font-size: 19px;
    }
}

@media(1400px < width) {
    .top-title {
        align-items: center;
        gap: 1em;
    }

    .top-title h1 {
        font-size: 37px;
    }

    .top-inner p {
        font-size: 17px;
    }
}

.DL-list-inner {
    display: flex;
    justify-content: center;
    font-size: 14px;
    padding: 1em 0;
    background-color: #f5f5f5;
}

.DL-list-inner a {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 250px;
    width: 60%;
    color: #26854c;
    padding: 0.5em;
}

.DL-list-inner a i {
    padding-top: 0.2em;
    padding-bottom: 0.2em;
}

.DL-list-inner a i:first-child {
    font-size: 2.5em;
}

.DL-list-inner a i:last-child {
    font-size: 1.2em;
}

.DL-list-inner a:nth-child(2) {
    border-left: #26854c 2px dotted;
}

.DL-list-inner a:hover {
    opacity: 0.7;
}

.DL-list-inner a:hover i:first-child {
    transform: scale(1.1);
}

.select-container {
    font-size: 14px;
    padding: 1em 0;
    background-color: #f5f5f5;
}

.select-box {
    display: flex;
}

.category-btn {
    color: #26854c;
    margin: 0.5em;
    background-color: #fff;
    padding: 0.2em 0.5em;
    border: #26854c 1px solid;
    border-radius: 5px;
}

.category-btn:hover {
    color: #fff;
    border: #26854c 1px solid;
    background-color: #26854c;
    opacity: 0.8;
}

@media(767px < width) {
    .DL-list-inner {
        font-size: 20px;
    }

    .DL-list-inner a i:first-child {
        font-size: 3em;
    }

    .DL-list-inner a i:last-child {
        font-size: 1.7em;
    }

    .select-container {
        font-size: 20px;
        padding: 1.5em 2em;
    }
}

@media(1300px < width) {
    .DL-list-inner {
        font-size: 16px;
    }

    .select-container {
        font-size: 16px;
    }

    .document-category,
    .DL-list {
        width: 90%;
        margin-right: auto;
        margin-left: auto;
    }
}

/* 資料一覧 */
.document-wrap {
    margin-top: 4em;

}

.document-wrap h2 {
    font-size: 2.8em;
    font-weight: bold;
    padding: 0 3em;
    width: fit-content;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.document-wrap h2::before,
.document-wrap h2::after {
    content: '';
    background: #26854c;
    width: 2em;
    height: 3px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
}

.document-wrap h2::before {
    left: 0;
}

.document-wrap h2::after {
    right: 0;
}

.document-contents {
    margin-top: 4em;
}

.document-title {
    text-align: center;
}

.document-title h3 {
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 0.4em;
    font-size: 2em;
    position: relative;
    padding: 0.1em 1em;
    outline: 2px solid #26854c;
    outline-offset: 5px;
    border: 4px solid #26854c;
    color: #000;
    text-align: center;
    width: fit-content;
    font-weight: 600;
}

/* .document-title h3 {
    font-size: 2.3em;
    font-weight: 600;

} */


.document-box {
    max-width: 350px;
    /* min-width: 200px; */
    border: #26854c 2px solid;
    transition: 0.4s ease;
    margin-right: auto;
    margin-left: auto;
    margin-top: 3em;
    margin-bottom: 4em;
    border-radius: 10px;
}

.document-img {
    border-bottom: #26854c 1.5px solid;
}

.document-img img {
    width: 80%;
    margin: 4em auto;
    box-shadow: 4px 4px 10px -1px rgba(0, 0, 0, 0.4);
}

.document-text {
    width: 80%;
    margin: 2em auto 3em;
}

.category-name {
    color: #fff;
    background-color: #26854c;
    padding: 0.2em 0.5em;
    border: 1px solid;
    border-radius: 5px;
    width: fit-content;
    font-weight: 600;
    font-size: 15px;
}

.document-name {
    font-size: 16px;
    font-weight: 600;
    margin-top: 1em;
    margin-bottom: 2em;
}

.document-text a {
    border-radius: 100px;
    border: #26854c 2px solid;
    width: fit-content;
    margin-right: auto;
    margin-left: auto;
    padding: 0.4em 2em;
    font-size: 17px;
    background-color: #26854c;
    color: #fff;
}

.document-text a:hover {
    background-color: #fff;
    color: #26854c;
}

.document-text a i {
    margin-left: 0.3em;
}

@media(767px < width) {
    .document-box {
        max-width: 350px;
        min-height: 550px;
    }

    .document-box-list ul {
        display: flex;
        justify-content: space-evenly;
        flex-wrap: wrap;
        gap: 1em;
    }

    .document-text,
    .document-text a {
        font-size: 18px;
    }

    .document-name {
        font-size: 20px;
    }
}

@media(1300px < width) {
    .document-wrap h2 {
        font-size: 35px;
    }

    /* .document-title h3 {
        font-size: 30px;
    } */

    .document-title h3 {
        font-size: 25px;
    }

    .document-img img {
        margin: 2em auto;
        width: 70%;
    }

    .document-box {
        max-width: 350px;
        min-height: 400px;
    }

    .document-text {
        margin: 1em auto 1.5em;
    }

    .document-text,
    .document-text a {
        font-size: 17px;
    }

    .document-name {
        font-size: 17px;
    }
}

/* newリボン */
.ribbon-wrapper {
    position: relative;
}

.ribbon {
    display: inline-block;
    position: absolute;
    top: -7.5px;
    right: 10px;
    margin: 0;
    padding: 15px 0;
    z-index: 2;
    width: 60px;
    text-align: center;
    color: #ff4500;
    font-size: 22px;
    font-weight: 700;
    background: linear-gradient(#fff27d 0%, #ffde25 100%);
    border-radius: 2px 0 0 0;
}

.ribbon:before {
    position: absolute;
    content: '';
    top: 0;
    right: -6px;
    border: none;
    border-bottom: solid 7px #c5a801;
    border-right: solid 7px transparent;
}

.ribbon:after {
    content: '';
    position: absolute;
    left: 0;
    top: 100%;
    height: 0;
    width: 0;
    border-left: 30px solid #ffde25;
    border-right: 30px solid #ffde25;
    border-bottom: 10px solid transparent;
}

/* リンクまとめ */
.call-to-action {
    margin-top: 90px;
    margin-bottom: 50px;
    margin-right: auto;
    margin-left: auto;
    max-width: 1200px;
}

.call-to-action h2 {
    font-weight: 600;
    font-size: 2.2em;
    text-align: center;
    margin-bottom: 1em;
}


.link-btn-item {
    padding: 0;
    margin-top: 10px;
}

.offer__fukidashi {
    margin: 1rem auto;
}

.link-btn-item {
    margin: auto;
    width: 65rem;
}

.link-btn-item {
    margin: auto;
    width: 65rem;
}

.link-btn-item {
    width: 65rem;
}

.link-btn-item-column-1 {
    margin-top: 4em;
}

.link-btn-item a {
    margin: 0 auto;
    position: relative;
    width: 65rem;
}

.link-btn-item img {
    position: relative;
    transition: 0.2s;
    z-index: 2;
}

.link-btn-item a:hover img {
    transform: translate(0.5rem, 0.5rem);
}

.link-btn-item a:after,
.link-btn-item-column a:after {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 5.55rem;
    content: "";
    height: 10rem;
    left: 0.5rem;
    position: absolute;
    bottom: -0.5rem;
    width: 100%;
    z-index: 1;
}

.mt-45em {
    margin-top: 4.5em;
}

@media(767px < width) {
    .call-to-action h2 {
        font-size: 30px;
    }

    .call-to-action {
        margin-top: 100px;
        margin-bottom: 100px;
    }

    .mt-0 {
        margin-top: 30px;
    }
}

@media(1200px < width) {
    .link-btn-box {
        flex-direction: column;
    }

    .link-btn-box {
        padding: 10px;
    }

}

@media(900px < width) {
    .link-btn-box {
        display: flex;
        justify-content: space-evenly;
    }

    .link-box-end {
        align-items: end;
    }

    .nocolumn {
        flex-direction: row;
    }

    .link-btn-item a:after,
    .link-btn-item-column a:after {
        height: 8rem;
    }

    .link-btn-item,
    .link-btn-item a {
        width: 45rem;
        margin: 0;
    }

    .link-btn-item a:after,
    .link-btn-item-column a:after {
        height: 7.1rem;
    }

    .mt-8rem {
        margin-top: 0.4em;
    }

    .mt-1em {
        margin-top: 0.4em;
    }
}

@media(1100px < width) {

    .link-btn-item,
    .link-btn-item a {
        width: 52rem;
    }

    .link-btn-item a:after,
    .link-btn-item-column a:after {
        height: 8.3rem;
    }

    .mt-8rem-c {
        margin-top: 4.4rem;
    }
}

@media(1200px < width) {
    .link-box-start {
        align-items: flex-start;
    }

}

/* ==========================
   ダウンロードページ
========================== */

.form {
    margin-top: 10em;
    padding: 2.5em 1em;
}

.form-title h1 {
    font-size: 18px;
    font-weight: 600;
}

.form-title img {
    display: block;
    width: 90%;
    max-width: 600px;
    min-width: 0;
    height: auto;
    margin: 3em auto 4em;
    box-shadow: 4px 4px 10px -1px rgba(0, 0, 0, 0.4);
}

.form-desc {
    width: 95%;
    margin: 0 auto;
    padding: 1em 2em;
    background-color: #ecfaf1;
    font-size: 13px;
    box-sizing: border-box;
}

.form-desc-title {
    font-size: 15px;
    margin-bottom: 0.5em;
    font-weight: 600;
}

.form-overview {
    width: 95%;
    margin: 0 auto;
    padding: 2em;
    font-size: 13px;
    box-sizing: border-box;
}

.form-right-title {
    margin-top: 2em;
    margin-bottom: 1em;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
}

.from-right p {
    font-size: 13px;
    font-weight: 600;
    text-align: center;
}


/* ==========================
   タブレット・PC
========================== */

@media (767px < width) {

    .form-flex {
        display: flex;
        width: 100%;
        gap: 2em;
        align-items: flex-start;
        box-sizing: border-box;
    }

    /* 左：60% */
    .form-left {
        width: calc((100% - 2em) * 0.6);
        flex: 0 0 calc((100% - 2em) * 0.6);
        min-width: 0;
        box-sizing: border-box;
    }

    /* 右：40% */
    .from-right {
        width: calc((100% - 2em) * 0.4);
        flex: 0 0 calc((100% - 2em) * 0.4);
        min-width: 0;
        box-sizing: border-box;
    }

    .form-title h1,
    .form-right-title {
        font-size: 30px;
        text-align: center;
    }

    .form-desc,
    .form-overview,
    .from-right p {
        font-size: 18px;
    }

    .form-desc-title {
        font-size: 22px;
    }

    .form-right-title {
        margin-top: 0;
    }

    .form-title,
    .form-title-img {
        width: 100%;
        box-sizing: border-box;
    }

    .form-title img {
        width: 90%;
        max-width: 600px;
        min-width: 0;
    }

    .from-right iframe {
        display: block;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
}


/* ==========================
   PC
========================== */

@media (1200px < width) {

    .form {
        padding: 0;
    }

    .form-inner {
        padding: 0 0 5em;
    }

    .form-title h1,
    .form-right-title {
        font-size: 28px;
    }

    .form-desc-title {
        font-size: 20px;
    }

    .form-desc,
    .form-overview,
    .from-right p {
        font-size: 16px;
    }
}

/* thanksページ */
.DL_thanks_wrap {
    /* height: 85vh; */
    padding-top: 130px;
    padding-right: 1em;
    padding-left: 1em;
    padding-bottom: 5em;
    background-color: #f8f8f8;
}

.DL_thanks_container {
    max-width: 700px;
    margin: 0 auto 0;
    padding: 40px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.09);
}

.DL_thanks_container h1 {
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
}

/* .inner p {
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 15px;
} */

.note {
    font-size: 13px;
    color: #666;
    margin-top: 30px;
}

@media(1100px < width) {
    .DL_thanks_wrap {
        padding-top: 180px;
    }
}

@media(1200px < width) {
    .DL_thanks_wrap {
        min-height: calc(100vh - 70px);
        /* フッター高さ分引く */
    }
}

/* ボタン */
.DL_top_btn {
    text-align: center;
}

.btn {
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
    text-align: center;
    padding: 12px 24px;
    border-radius: 999px;
    border: 1px solid #26854c;
    background: #26854c;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.btn:hover {
    background: #fff;
    color: #26854c;
}


.br-sp {
    display: none;
}

@media (max-width: 768px) {
    .br-sp {
        display: inline;
    }
}

/* ここから新規 */
:root {
    --primary: #005bac;
    --accent: #ff8c00;
    --bg: #f4f7f9;
}


.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* 検索・フィルタエリア */
.filter-section {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.search-box {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    /* font-size: 1rem; */
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.filter-label {
    font-weight: bold;
    /* font-size: 0.9rem; */
    min-width: 80px;
}

.btn-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-btn {
    border: 1px solid #ddd;
    background: white;
    padding: 6px 15px;
    border-radius: 20px;
    cursor: pointer;
    /* font-size: 0.85rem; */
    transition: 0.2s;
}

.filter-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.tag-btn.active {
    background: #eef4ff;
    color: var(--primary);
    border-color: var(--primary);
}

.grid {
    margin-right: 2em;
    margin-left: 2em;
}

/* グリッド表示：PCで4列 */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

@media (max-width: 1100px) {
    .grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 850px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .grid {
        grid-template-columns: 1fr;
    }
}

/* 既存のCSSに加え、サブキャッチ用の微調整 */
.header-section {
    text-align: center;
    margin-bottom: 40px;
    padding: 0 20px;
}

.header-section h1 {
    font-size: 3rem;
    font-weight: 700;
    margin: 0 0 5.6rem;
    position: relative;
    text-align: center;
}

.header-section h1:after {
    background: #232f3e;
    bottom: -2.5rem;
    content: "";
    display: block;
    height: 0.416rem;
    left: 50%;
    position: absolute;
    transform: translate(-50%, 0);
    width: 14.7rem;
}

.header-section p {
    color: #555;
    font-size: 1.1em;
    line-height: 1.6;
}

.header-section strong {
    color: #26854c;
    border-bottom: 2px solid var(--accent);
}

/* タブ全体のコンテナ */
.category-tabs {
    display: flex;
    gap: 8px;
    /* 少し隙間を空けて独立させると色が映えます */
    margin-bottom: 30px;
}

/* ボタンの基本スタイル（共通） */
.filter-btn {
    padding: 16px;
    /* font-size: 1.1rem; */
    font-weight: bold;
    border: 2px solid transparent;
    /* 選択時に枠線を出すための予約 */
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

/* --- 建築タブ（青系） --- */
.tab-arch {
    background-color: #eef4ff;
    /* 薄い青（常時） */
    color: #005bac;
    /* 文字色も青系に */
}

/* 建築タブ：選択時（濃い青・白抜き） */
.tab-arch.active {
    background-color: #005bac;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 91, 172, 0.3);
    /* 浮き出し効果 */
}

/* --- 土木タブ（オレンジ系） --- */
.tab-civil {
    background-color: #fff4e6;
    /* 薄いオレンジ（常時） */
    color: #e67e22;
    /* 文字色もオレンジ系に */
}

/* 土木タブ：選択時（濃いオレンジ・白抜き） */
.tab-civil.active {
    background-color: #ff8c00;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.3);
    /* 浮き出し効果 */
}

/* ホバー時の微調整（未選択時のみ少し濃くする） */
.filter-btn:hover:not(.active) {
    opacity: 0.8;
    transform: translateY(-2px);
}

/* 建築カードの初期スタイル */
.card[data-cat*="arch"] {
    /* border-top: 10px solid #005bac; */
    /* 青のアクセント */
    border-right: 6px solid #005bac;
}

/* 土木カードの初期スタイル */
.card[data-cat*="civil"] {
    /* border-top: 10px solid #ff8c00; */
    /* オレンジのアクセント */
    border-right: 6px solid #ff8c00;
}


/* 共通資料（両方）の場合は、中間色やグラデーションにするのもアリ */
.card[data-cat*="arch"][data-cat*="civil"] {
    border-top: 4px solid #666;
    /* 共通はグレーなど */
}

/* フィルタセクション全体の調整 */
.filter-section {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 35px;
}

.filter-group {
    display: flex;
    align-items: flex-start;
    /* ラベルが上に来るように */
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.filter-label {
    font-weight: bold;
    /* font-size: 0.9rem; */
    min-width: 85px;
    padding-top: 10px;
    /* ボタンと高さを合わせる */
    color: #555;
}

/* --- カテゴリタブ（青とオレンジ） --- */
.category-tabs {
    display: flex;
    gap: 8px;
    flex: 1;
}

.category-tabs .filter-btn {
    flex: 1;
    padding: 12px;
    font-size: 1.2em;
    font-weight: bold;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

/* 建築：薄い青 → 濃い青 */
.tab-arch {
    background-color: #eef4ff;
    color: #005bac;
}

.tab-arch.active {
    background-color: #005bac;
    color: white;
    box-shadow: 0 4px 10px rgba(0, 91, 172, 0.2);
}

/* 土木：薄いオレンジ → 濃いオレンジ */
.tab-civil {
    background-color: #fff4e6;
    color: #e67e22;
}

.tab-civil.active {
    background-color: #ff8c00;
    color: white;
    box-shadow: 0 4px 10px rgba(255, 140, 0, 0.2);
}

/* --- 目的・機能タグ（sample1.html形式） --- */
.btn-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag-btn {
    border: 1px solid #ddd;
    background: white;
    padding: 6px 15px;
    border-radius: 20px;
    cursor: pointer;
    /* font-size: 0.85rem; */
    color: #666;
    transition: 0.2s;
}

/* タグのアクティブ色（ここは共通の青系で清潔感を） */
.tag-btn.active {
    background: #e8fff0;
    color: #26854c;
    border-color: #26854c;
    font-weight: bold;
}

.tag-btn:hover:not(.active) {
    background: #f8f9fa;
    border-color: #ccc;
}


.card {
    background: white;
    border: #b8b8b8 1px solid;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-5px);
}

.card.hidden {
    display: none;
}

.dl-thumb-wrap {
    width: 100%;
    aspect-ratio: 2 / 1;
    background-color: #eee;
    overflow: hidden;
    border-bottom: 1px solid #eee;
}

.dl-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.card:hover img {
    transform: scale(1.05);
}

.content {
    padding: 12px;
    flex-grow: 1;
}

.content p {
    font-size: 16px;
}

.title {
    font-size: 20px;
    font-weight: bold;
    color: #26854c;
    margin: 0 0 8px;
    min-height: 2.8em;
    line-height: 1.4;
}

.tags-display {
    display: flex;
    gap: 5px;
    margin-bottom: 10px;
}

.tag-label {
    font-size: 14px;
    background: #f0f0f0;
    padding: 2px 6px;
    border-radius: 3px;
}

.footer {
    padding: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    /* background-color: #fafafa; */
}

.dl-link {
    display: inline-block;
    color: #26854c;
    background-color: #fff;
    font-weight: bold;
    text-decoration: none;
    font-size: 1.4em;
    border: 1.5px solid #26854c;
    padding: 6px 0;
    border-radius: 50px;
    transition: 0.2s;
    text-align: center;
    width: 100%;
}

.dl-link:hover {
    background: #26854c;
    color: white;
}


.card-download-all .content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dl-link-top_flex {
    display: flex;
    gap: 15px;
    margin-bottom: 2em;
    flex-direction: column;
    width: 60%;
    margin-right: auto;
    margin-left: auto;
}

.dl-link-top_flex p {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: .6em;
}

.download-sub {
    font-size: 15px;
}

.dl-link-top_flex ul {
    list-style: disc;
    text-align: start;
    width: fit-content;
    margin: 0.5em auto 0;
}

.dl-link-top_kentiku,
.dl-link-top_doboku {
    display: block;
    text-decoration: none;
    position: relative;
    padding: 1em;
    border: 2px solid;
    border-radius: 10px;

    background: #fff;
    cursor: pointer;

    box-shadow: 2px 3px 4px rgba(0, 0, 0, .2);

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        background-color .25s ease,
        color .25s ease;
}


.dl-link-top_kentiku {
    color: #005bac;
    border-color: #005bac;
}

.dl-link-top_kentiku:hover {
    background-color: #005bac;
    color: #fff;
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 91, 172, .25);
}


.dl-link-top_doboku {
    color: #e67e22;
    border-color: #e67e22;
}

.dl-link-top_doboku:hover {
    background-color: #e67e22;
    color: #fff;
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(230, 126, 34, .25);
}

.dl-link-top_kentiku:hover *,
.dl-link-top_doboku:hover * {
    color: inherit;
}

@media(767px < width) {
    .title {
        font-size: 1.1em;
    }

    .content p {
        font-size: 1em;
    }

    .dl-link {
        font-size: 0.9em;
    }

    .tag-label {
        font-size: 0.9em;
    }

    /* .card {
        max-width: 260px;
    } */

    .grid {
        margin-right: 0;
        margin-left: 0;
    }

    .dl-link-top_flex {
        flex-direction: row;
        width: 50%;
    }

    .dl-link-top_kentiku,
    .dl-link-top_doboku {
        font-size: 16px !important;
    }

}

@media(1200px < width) {
    .title {
        font-size: 1em;
    }

    .content p {
        font-size: 0.9em;
        margin-bottom: 0;
    }

    .tag-label {
        font-size: 0.8em;
    }

    .dl-link {
        font-size: 0.8em;
    }
}
