.card-img {
    transition: 1s all;
}

.card-img:hover {
    transform: scale(1.2, 1.2);
    transition: 1s all;
}

#searchbar {
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url("assets/img/top/top.jpg");
    background-size: cover;
    background-position: center;
    padding-top: 8rem !important;
}

b {
    background: linear-gradient(transparent 70%, #ffc800 70%);
}

.showcase-item h3 {
    margin-bottom: 3rem;
    margin-top: 4rem;
    padding: 0.5em;
    color: #494949;
    background: #fffaf4;
    border-left: solid 5px #ffaf58;
}

.showcase-item p {
    margin: 0 0 1.5em;
    font-size: 105%;
}

.showcase-item b {
    background: linear-gradient(transparent 70%, #ffc800 70%);
}


.sr-icons {
    width: 100%;
    max-width: 60px;
}

.accordion-button:not(.collapsed) {
    color: #e6b400;
    background-color: #fffae6;
}

.accordion-button:focus {
    border-color: #ffe480;
    box-shadow: 0 0 0 0.25rem rgb(255 200 0 / 25%);
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23e6b400'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}


/* 日本地図DOM */
.japan_map {
    position: relative;
    box-sizing: border-box;
    display: table;
}

/* 日本地図画像（スマホ対応用） */
.japan_map img {
    max-width: 100%;
    height: 500px;
    width: 400px;
    border: 0;
    webkit-backface-visibility: hidden;
}

/* 日本地図ボタン */
.japan_map .area_btn {
    position: absolute;
}

/* ボタン配置（使用する日本地図画像により微調整） */
.japan_map .area_btn.area1 {
    top: 20%;
    right: 20%;
}

.japan_map .area_btn.area2 {
    top: 40%;
    right: 20%;
}

.japan_map .area_btn.area3 {
    top: 60%;
    right: 25%;
}

.japan_map .area_btn.area4 {
    top: 50%;
    left: 47.5%;
}

.japan_map .area_btn.area5 {
    top: 70%;
    left: 47.5%;
}

.japan_map .area_btn.area6 {
    top: 55%;
    left: 20%;
}

.japan_map .area_btn.area7 {
    top: 70%;
    left: 20%;
}

.japan_map .area_btn.area8 {
    top: 85%;
    left: 20%;
}

.japan_map .area_btn.area9 {
    top: 20%;
    left: 20%;
}

/* オーバーレイ */
.japan_map .area_overlay {
    display: none;
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    background-color: #111;
    opacity: 0.5;
    cursor: pointer;
}

/* 選択前は表示を隠す */
.japan_map .pref_area {
    display: none;
}

/* 地域毎の都道府県リスト */
.japan_map .pref_list {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    -webkit-transform: translateY(-50%) translateX(-50%);
    z-index: 3;
    box-sizing: border-box;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    width: 90%;
    background-color: #FFF;
    color: black;
}

.japan_map .pref_list>div {
    box-sizing: border-box;
    width: 50%;
    border: 1px solid #CCC;
    font-weight: bold;
    text-align: center;
    padding: 0.5em;
    cursor: pointer;
}

@media screen and (max-width: 480px) {

    /* スマホユーザー向けにボタン文字サイズを調整 */
    .japan_map .area_btn {
        font-size: 4vw;
    }
}

.showcase-item h3 {
    margin-bottom: 3rem;
    margin-top: 4rem;
    padding: 0.5em;
    color: #494949;
    font-weight: bold;
    background: #fffaf4;
    border-left: solid 5px #ffaf58;
}

.showcase-item p {
    margin: 0 0 1.5em;
    font-size: 105%;
}

.showcase-item b {
    background: linear-gradient(transparent 70%, #ffc800 70%);
}

#userimage {
    background-color: lightgray;
    background-size: cover;
    background-position: center;
    height: 150px;
}

.bd-placeholder-img {
    font-size: 1.125rem;
    text-anchor: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

@media (min-width: 768px) {
    .bd-placeholder-img-lg {
        font-size: 3.5rem;
    }
}

#loading {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    background: #fff;
}

#loading>div {
    height: 100%;
}

.marker {
    background-position: bottom;
    background: linear-gradient(transparent 70%, #ffc800 80%);
}

th,
td {
    vertical-align: middle !important;
}

.portrait {
    margin: 0 auto;
    width: 130px;
    height: 165px;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    border: 1px solid #e0e0e0;
}

#cardrow {
    max-height: 100vh;
    overflow-y: scroll;
}

#userimage {
    background-color: lightgray;
    background-size: cover;
    background-position: center;
    height: 150px;
}


.timeline {
    list-style: none;
    margin-top: 2rem;

}

    .timeline>li {
        overflow: hidden;
        margin: 0;
        position: relative;
    }

    .timeline-date {
        float: left;
        font-size:large;
        color: #fcc107;
        padding-top: 30px;

    }

    .timeline-content {
        float: left;
        border-left: 3px #e5e5d1 solid;
        padding-left: 20px;
        padding-top: 30px;
    }
    .nav-link {
        font-weight: bold;

    }

    .nav-link:hover {
        color: black;
    }

    a.card-body{
        text-decoration: none;
        color: initial;
    }
    