@charset "utf-8";

header{
	width:100%;
    height: 150px;
	text-align:center;
	padding:10px 0;
	background-color:#6EE593;
    padding: 3.6em 0;
    line-height: 32px;
}

header a {
    text-decoration:none;
    color: black;
    font-size: 32px;
}

header img {
    width: 100px;
    position: absolute;
    top: 50%;
    left: -114px;
    transform: translateY(-50%);
}

.logo {
    position: relative;
}

main {
    width: 100%;
    background-color: rgb(253, 251, 221);
    padding: 30px;
}

.conte {
    max-width: 1000px;
    margin: 0 auto;
    padding: 30px 0 0 0;
}

.conte p {
    margin-bottom: 1em;
}

.search {
    height: 260px;
    margin: 3em 0;
    padding: 3px;
    text-align: center;
    background:url(../images/21009021.jpg) center center no-repeat;
}

.huto {
    font-size: 22px;
    font-weight: bold;
}

.search_container input[type="search"] {
    padding:10px;
    font-size:1.3em;
    font-family:Arial, sans-serif;
    color:rgb(26, 26, 26);
    border:solid 1px #ccc;
    margin:0 0 10px;
    max-width: 100%;
    background-color: #ffffff;
    border-radius: 3px;
    box-shadow: inset 1px 4px 9px -6px rgba(0,0,0,0.5);
}

.search_container input[type="submit"]{
    padding:4px;
    font-size:1.2em;
    font-family:Arial, sans-serif;
    cursor: pointer;
    color: #ffffff;
    background-color: #3879D9;
    border-radius: 3px;
    box-shadow: inset 1px 4px 9px -6px rgba(0,0,0,0.5);
    margin: 0 0 0 0.6em;
    width: 60px;
}

.no-lot {
    color: red;
}

footer {
    padding: 2em;
}

footer section {
    text-align: center;
}

footer a {
    margin: 1em;
}

footer img {
    object-fit: contain;
    max-width: 100%;
    max-height: 75px;
    border:solid 1px rgb(192, 192, 192);
}

footer p {
    text-align: center;
    margin-top: 1em;
}

/* ---リザルト--- */
.result {
    max-width: 1000px;
    margin: 0 auto;
}

.res-conte {
    max-width: 1000px;
    margin: 0 auto;
    padding: 70px 0 0 0;
    text-align: center;
}

.res-search {
    margin: 2em 0;
    text-align: center;
}

.col5 {
    margin: 0 auto;
}

.col5 ul{
    display: flex;
    flex-wrap: wrap;
}

li {
    width: 190px;
    padding: 0.8em;
    margin: 5px;
    background-color: #ffffff;
    list-style: none;
    border-bottom: solid 2px rgb(255, 206, 116);
}

.no-result {
    border: solid 2px rgb(255, 0, 0);
    background-color: #ffffff;
    text-align: center;
    font-size: 14px;
    line-height: 22px;
    max-width: 500px;
    margin: 0 auto;
    padding: .8em;
}

.pcview {display:block;}
.spview {display:none;}
.pc { display:inline; }
.sp { display:none; }

/*-------------------- レスポンシブ設定 SP --------------------*/
@media screen and (max-width: 668px) {
    .pcview {display:none;}
	/* .spview {display:block;} */
    .pc { display:none;}
    .sp { display:inline;}
    body {min-width:100%;}
    .conte {width: 98%; }
    .res-conte {width: 98%;}
    .result {width: 98%;}
    li {width: 185px;}
}


@media screen and (max-width: 500px) {
    .spview {display:block;}
    .col5 ul {justify-content: space-between;}
    .no-result {width: 98%;}
    .logo {font-size: 25px;}
    header img {width: 80px;left: -85px;}
}

@media screen and (max-width: 415px) {
    .search{height: 310px;}
    .no-lot{margin: 0.5em 0 0 0;}
    .spview {display:none;}
    .col5 ul {justify-content: center;}
    .search_container input[type="search"] {
        font-size:1em;
    }

}


@media screen and (max-width: 376px) {
    .main {
        padding: 10px;
    }
    .logo {
        margin-left: 68px;
        font-size: 20px;
    }
    footer a {
        margin: 0;
    }
}