
.break {
    display:inline-block;
}

main {
    font-family: "BIZ UDPGothic", sans-serif;
    font-weight: normal;
}

.intro-btn {
    text-align: center;
    color: white;
    background: #B7282E;
    font-weight: bold;
    padding: 16px;
    width: min(80%, 400px);
    border-radius: 900px;
    margin: 16px auto;
    display: block;
    transition: .2s;
}

.intro-btn:hover {
    background: #790207;
}

/*--------------------------------------------------------------

検索ボックス

---------------------------------------------------------------*/

.search {
    box-shadow: 0 0 10px rgba(0,0,0,.4);
    margin: 32px 16px;
    padding: 24px 16px;
    max-width: 1280px;
}

.search .wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.search .search-area > div {
    display: flex;
    margin: 16px 0;
    align-items: center;
}

.search .search-area > div dt {
    width: 20%;
    min-width: 64px;
    display: block;
    font-weight: 700;
}

.search .search-area > div dd {
    width: 80%;
    cursor: pointer;
}

.search .search-area > div dd select {
    border: none;
    background: #F5F5F5;
    display: block;
    width: 100%;
    padding: 16px;
    color: black;
    font-size: 1em;
    border-radius: 0;
}

.search #check-btn {
    border: none;
    background: #B7282E;
    color: white;
    width: 200px;
    margin: 16px 0 16px auto;
    padding: 16px;
    font-size: 1em;
    font-family: "BIZ UDPGothic", sans-serif;
    display: block;
    cursor: pointer;
    transition: .2s;
}

.search #check-btn:hover {
    background: #790207;
}

.search #list-all {
    border: solid 1px black;
    background: white;
    color: black;
    font-size: 1em;
    padding: 16px 32px;
    width: min(100%, 300px);
    text-align: left;
    box-sizing: border-box;
    position: relative;
    margin: 16px auto;
    cursor: pointer;
    display: block;
}

.search #list-all::before {
    position: absolute;
    content: '';
    width: 30px;
    aspect-ratio: 1/1;
    background: black;
    border-radius: 50%;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    border: solid 1px black;
}

.search #list-all::after {
    position: absolute;
    content: '';
    width: 10px;
    aspect-ratio: 1/1;
    background: white;
    top: 50%;
    right: 32px;
    transform: translateY(-50%) translateX(50%);
    transition: .2s;
}

.search #list-all:hover::after {
    width: 30px;
    border-radius: 50%;
}

@media screen and (min-width: 640px) {

    .search .search-area {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }

    .search .search-area > div {
        display: block;
        width: 45%;
        margin: 16px auto;
        box-sizing: border-box;
    }

    .search .search-area > div dt {
        width: 100%;
        margin-bottom: 4px;
    }

    .search .search-area > div dd {
        margin: 0;
        width: 100%;
    }
}

@media screen and (min-width: 960px) {
    .search .search-area > div {
        width: 23%;
    }
}

@media screen and (min-width: 1024px) {
    .search .wrapper {
        display: flex;
        align-items: flex-end;
    }

    .search .wrapper .search-area {
        width: 80%;
        margin-bottom: 0;
    }

    .search .wrapper #check-btn {
        width: 20%;
    }
}

@media screen and (min-width: 1280px) {
    .search {
        margin: 32px auto;
        box-sizing: border-box;
    }
}

/*******************************************************

真ん中の文字

******************************************************/

.center {
    text-align: center;
}

/*--------------------------------------------------------------

リストアイテム

---------------------------------------------------------------*/

ul.list-item {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0 2%;
}

ul.list-item li  {
    list-style: none;
    padding: 0;
    margin: 24px 0;
}

ul.list-item > li:hover {
    box-shadow: 0 0 10px rgba(0,0,0,.4);
}

ul.list-item li a {
    color: black;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    padding: 8px;
}

ul.list-item li a[href=""] {
    filter: grayscale(1);
}

ul.list-item li .thumbnail {
    width: 100%;
    aspect-ratio: 1/1;
    background: url(cs-square.jpg);
    background-size: cover;
    display: block;
    object-fit: cover;
}

ul.list-item li .thum-wrp {
    position: relative;
}

ul.list-item li .thum-wrp .invalid {
    position: absolute;
    background-color: white
    ;
    filter: unset;
    width: fit-content;
    height: fit-content;
    padding: 12px;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    transform: rotate(-30deg);
}

ul.list-item li .thum-wrp .first-time {
    position: absolute;
    background-color: #2da6ed;
    padding: 6px;
    color: #ffffff;
}

ul.list-item li .thum-wrp::before {
    position: absolute;
    content: '';
    width: 33%;
    aspect-ratio: 1/1;
    top: 0;
    right: 0;
    background-color: #B7282E;
    border-radius: 0 0 0 100%;
}

ul.list-item li.yosetsu .thum-wrp::before {
    background-image: url(icon_yosetsu.png);
    background-size: 60%;
    background-position: 80% center;
    background-repeat: no-repeat;
}

ul.list-item li.sessaku .thum-wrp::before {
    background-image: url(icon_sessaku.png);
    background-size: 60%;
    background-position: 80% center;
    background-repeat: no-repeat;
}

ul.list-item li.mokkou-seikatsu .thum-wrp::before {
    background-image: url(icon_mokkou-seikatsu.png);
    background-size: 60%;
    background-position: 80% center;
    background-repeat: no-repeat;
}

ul.list-item li.joho-it .thum-wrp::before {
    background-image: url(icon_joho-it.png);
    background-size: 60%;
    background-position: 80% center;
    background-repeat: no-repeat;
}

ul.list-item li.kikai .thum-wrp::before {
    background-image: url(icon_kikai.png);
    background-size: 60%;
    background-position: 80% center;
    background-repeat: no-repeat;
}

ul.list-item li.bankin .thum-wrp::before {
    background-image: url(icon_bankin.png);
    background-size: 60%;
    background-position: 80% center;
    background-repeat: no-repeat;
}

ul.list-item li.yusou .thum-wrp::before {
    background-image: url(icon_yusou.png);
    background-size: 60%;
    background-position: 80% center;
    background-repeat: no-repeat;
}

ul.list-item li .thum-wrp .num {
    position: absolute;
    content: '0';
    padding: 8px;
    box-sizing: border-box;
    aspect-ratio: 1/1;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #B7282E;
    background: white;
    margin: 0;
    font-weight: 900;
    font-family: 'BIZ UDPGothic', sans-serif;
}

ul.list-item li ul.date {
    padding: 0;
}

ul.list-item li ul.date li {
    display: inline-block;
    width: fit-content;
    padding: 2px 4px;
    margin: 4px 0 8px;
    font-size: 14px;
}

ul.list-item li ul.date li.one {
    background: #fff;
    border: 1px solid #0b9131;
    list-style: none;
}

ul.list-item li ul.date li.two {
    background: #fff;
    border: 1px solid #d7b47b;
    list-style: none;
}

ul.list-item li ul.date li.three {
    background: #1E50A2;
    color: white;
    list-style: none;
}

ul.list-item li .name {
    font-size: min(5vw, 18px);
    font-weight: 900;
    margin: 16px 0;
    line-height: 1.5em;
    letter-spacing: 0.05em;
    flex-grow: 1;
    text-decoration: underline;
    word-break: break-all;
}

ul.list-item li ul.tag {
    padding: 0;
}

ul.list-item li ul.tag li {
    font-size: 12px;
    border: solid .5px black;
    padding: 2px 4px;
    display: inline-block;
    width: fit-content;
    margin: 4px;
}

@media screen and (min-width: 890px) {
    ul.list-item {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media screen and (min-width: 1280px) {
    ul.list-item {
        margin: 0 auto;
    }
}

/******************************************

    エリアマップ

*******************************************/

#area-map {
    padding: 0 16px;
}

#area-map iframe {
    width: min(100%, 1100px);
    margin: 16px auto;
    height: 400px;
    display: block;
}

@media(min-width: 640px) {
    #area-map iframe {
        aspect-ratio: 16/9;
        height: auto;
    }
}