@charset "Shift_JIS";
/* header */
.headerSection {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    height: 100px;
}
.headerSection .headerLayout {
    padding: 1%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.headerSection .header_right nav ul {
    display: flex;
    align-items: flex-end;
}
.headerSection .header_right nav ul li {
    margin-left: 15px;
}
.headerSection .about {
    height: 30px;
    aspect-ratio: 4.4 / 1;
}
.headerSection .news {
    height: 30px;
        aspect-ratio: 3 / 1;
}
.headerSection .searchAndlist {
    height: 30px;
    aspect-ratio: 4.3 / 1;
}
/* コンテンツ内共通（リスト表示） */
.infoTitle {
  color: var(--color-dark);
  font-size:48px;
  margin-bottom: var(--margin-half);
}
.infoText {
  color: var(--gray-middle);
  font-size:24px;
  margin-bottom: 1em;
}
.infoPanel {
    display: flex;
    flex-direction: column;
    border: gray solid 1px;
    border-radius: 5px;
    padding: 1em 5%;
}
.infoPanel li {
    border-bottom: solid .5px gray;
    position: relative;
    padding-bottom: 2em;
    padding-top: 2em;
}
.infoPanel li:last-child{
    border-bottom: none;

}
.infoPanel .rightarrow {
    width: 43px;
    display: block;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}
.infoPanel h4 {
    margin: .5em 0;
}
.infoPanel p {
    font-size: 14px;
    margin: 0 5px;
}
@media (max-width: 900px) {
.infoTitle {
  font-size:28px;
}
.infoText {
  font-size:16px;
}
.infoPanel li {
    padding-bottom: 1em;
    padding-top: 1em;
}
.infoPanel h4 {
    padding-right: 42px;
}
.infoPanel p {
    padding-right: 42px;
}

}

/* コンテンツ内共通（タグ） */
.SearchResultsTag ul li {
    background: var(--gray-middle);
    color: white;
    font-size: 14px;
    padding: .2em;
}
.SearchResultsTag ul li button {
    color: white;
}


/* イントロ */
section#top_intro {
    padding-top: 7em;
}
section#top_intro h2 {
  color: var(--color-dark);
  font-size:48px;
  margin-bottom: var(--margin-half);
}
section#top_intro h3 {
  color: var(--gray-middle);
  font-size:24px;
}
section#top_intro .mainImage {
    margin-top:var(--margin-wide);
}
section#top_image {
    margin-top: -3em;
}
@media (max-width: 900px) {
section#top_intro h2 {
  font-size:28px;
}
}


/*書店を探す*/
section#top_search {
    background: var(--color-middle);
    padding-top: var(--margin-wide);
}
.search_tab {
    display: flex;
    flex-wrap: wrap;
	width: 90%;
    margin: 0 auto;
    padding: 2em;
        justify-content: flex-start;
}
.search_tab h2 {
    color: #a39e00;
}

.search_tab > label {
    order: -1;
    width:calc(100% / 3);
    padding: .6em 1em;
    color:var(--color-dark);
    font-size: .9em;
    text-align: center;
    cursor: pointer;
        border: solid 2px var(--color-dark);
}
.search_tab > label.labelSearchWord {
    border-right: 0;
    border-radius: 3px 0 0 3px;
}
.search_tab > label.labelSearchArea {
}
.search_tab > label.labelSearchCategory {
    border-left: 0;
    border-radius: 0 3px 3px 0;
}
.search_tab > label:hover {
    opacity: .8;
}
.search_tab input {
    display: none;
}
.search_tab > div {
    display: none;
    width: 100%;
    padding: .5em 0;
    }
.search_tab label:has(:checked) {
background: white;
}

.search_tab label:has(:checked) + div {
    display: block;
}
.search_tab label:has(input:checked){
  position:relative;
}

.search_tab > label:has(input:checked)::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:-10px;
  transform:translateX(-50%);
  border-width:10px 10px 0;
  border-style:solid;
  border-color:#fff transparent transparent;
}

.search_tab > label:has(input:checked)::before{
  content:"";
  position:absolute;
  left:50%;
  bottom:-13px;
  transform:translateX(-50%);
  border-width:12px 12px 0;
  border-style:solid;
  border-color:var(--color-dark) transparent transparent;
}

/*検索フォーム*/

.search_tab .searchWord .search-form-1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
    border: 2px solid var(--color-dark);
    border-radius: 5px;
}
.search_tab .searchWord form label{
    width: 100%;
}
.search_tab .searchWord .search-form-1 input {
	display:block;
    width: 100%;
    height: 45px;
    padding: 5px 15px;
    border: none;
    box-sizing: border-box;
    font-size: 1em;
    outline: none;
}

.search_tab .searchWord .search-form-1 input::placeholder{
    color: #777777;
}

.search_tab .searchWord .search-form-1 button {
    width: 16%;
    height: 45px;
    background-color: var(--color-dark);
    cursor: pointer;
    color: white;
}
.search_tab .searchWord .search-form-1 button::after {
    width: 24px;
    height: 24px;
    background-image: url("../img/magnifying-glass-solid-full.svg");
    background-repeat: no-repeat;
    content: '';
}
.search_tab .searchWord .SearchResultsTag ul {
    display: flex;
}
.search_tab .searchWord .SearchResultsTag ul li {
    margin: 1em;
}
/*検索カテゴリー*/

.search_tab .searchPanel {
    margin: 1em;
    background: white;
    padding: 1em;
}
.search_tab .searchPanel h3 {
    border-left: solid 3px #a39e00;
    padding-left: .5em;
    font-size: 16px;
    margin-bottom: 1em;
}
.search_tab .searchPanel .select_list {
    width: fit-content;
}
.search_tab .searchPanel .select_list {
    float: left;
    margin-bottom: 3em;
    margin-right: 1em;
}
.search_tab .searchPanel .select_list.select_list_businessdays {
    margin-bottom: 1em;
}
.search_tab .searchPanel .select_list.select_list_scale,
.search_tab .searchPanel .select_list.select_list_genre{
    clear: both;
}
.search_tab .searchPanel .select_list.select_list_businessdays,
.search_tab .searchPanel .select_list.select_list_businesshour {
    display: flex;
    align-items: center;
}
.search_tab .searchPanel .select_list.select_list_businessdays h3,
.search_tab .searchPanel .select_list.select_list_businesshour h3{
    margin-bottom: 0;
}
.search_tab .searchPanel .select_list.select_list_businessdays ul,
.search_tab .searchPanel .select_list.select_list_businesshour ul {
    display: flex;
}
.search_tab .searchPanel .select_list.select_list_businessdays ul li,
.search_tab .searchPanel .select_list.select_list_businesshour ul li{
    display: flex;
    margin-left: 1em;
    margin-bottom: 0;
}
.search_tab .searchPanel .select_list ul li {
    width: fit-content;
    margin-bottom: .5em;
        font-size: 80%;
}
.search_tab .searchPanel .searchAreaInner {
display: grid;
    justify-content: space-evenly;
    grid-template-columns: 20% 20% 20% 20%;
    }
.search_tab .searchPanel .searchAreaInner .options {
    margin-bottom: 1em;
}
.search_tab .searchPanel input {
    display: inline-block;
}
.searchPanelButton {
    margin: 3em 1em 1em auto;
    text-align: right;
    clear: left;
}
.searchClear {
    border-bottom: solid 1px;
}
.search_tab .searchCategory .searchButton,
.search_tab .searchArea .searchButton
{
    font-size: 13px;
    background: #a39e00;
    padding: .5em 3em;
    color: white;
        margin-left: 1em;
}
/* 書店紹介 */
section#top_pickup .pickupList {
	display: flex;
	  flex-wrap: wrap;
	  justify-content: left;
	  gap: 1em;
}
section#top_pickup .pickupList li {
    width: 90%;
    max-width: 300px;
    position: relative;
}
section#top_pickup .pickupList li p {
    position: absolute;
    bottom: 3px;
    right: 6px;
    color: white;
    text-shadow: 1px 1px black;
}
/* イベント情報 */
section#top_event .eventTitle {
    position: relative;
    margin-right: 70px;
}
section#top_event .eventTitle h4 {
    margin: .5em 0;
    padding-right: 70px;
}
section#top_event .eventTitle .eventLabel {
    background: gray;
    border-radius: 0 0 5px 5px;
    padding: 3px 0px;
    font-size: 10px;
    color: white;
    position: absolute;
    top: 0;
    right: 0;
    width: 70px;
    text-align: center;
}
section#top_event .eventList h5 {
    font-size: 14px;
}
section#top_event .eventList p {
   margin: 1em auto;
}
/* 書店のオススメ書籍 */
#top_select .topSelectList {
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(180px,1fr));
  gap:24px;
      }
#top_select .topSelectList .book{
  display:flex;
  flex-direction:column;
}

#top_select .topSelectList .book-cover{
  aspect-ratio:2/3;
  overflow:hidden;
  background:#f5f5f5;
  border:1px solid #ddd;
}

#top_select .topSelectList .book-cover img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}

#top_select .topSelectList .button{
  margin-top:12px;
  text-align:center;
  text-decoration:none;
  color:#333;
  border:1px solid #333;
  padding:10px;
  background:#fff;
}

#top_select .topSelectList .button:hover{
  background:#333;
  color:#fff;
      transition: 1s;
}

/* カレンダー */
section#top_calendar .calendar {
    width: 100%;
    max-width: 800px;
    border-collapse: collapse;
    table-layout: fixed;
    font-family: sans-serif;
    margin: 20px auto;
  }
section#top_calendar .calendar caption {
    font-size: 20px;
    margin: 1em 0;
}
section#top_calendar .calendar th,
section#top_calendar .calendar td {
    border: 1px solid #ccc;
    text-align: center;
    vertical-align: top;
    padding: 10px;
    height: 80px;
  }
section#top_calendar .calendar th {
    background-color: #f5f5f5;
    font-weight: bold;
  }

section#top_calendar .calendar td {
    background-color: #fff;
  }
section#top_calendar .calendar td:empty {
    background-color: #fafafa;
  }
section#top_calendar .calendar th:first-child,
section#top_calendar .calendar td:first-child {
    color: #d9534f;
  }
section#top_calendar .calendar th:last-child,
section#top_calendar .calendar td:last-child {
    color: #337ab7;
  }
  @media screen and (max-width: 600px) {
section#top_calendar .calendar th,
section#top_calendar .calendar td {
      padding: 6px;
      height: 60px;
      font-size: 12px;
    }
  }
  
/* フッター */

section#top_footer {
    background: var(--color-light);
    text-align: center;
    padding: 5em 0;
}
section#top_footer button {
    background: var(--gray-middle);
    color: white;
    font-size: 24px;
    padding: .5em 3em;
    margin: .5em 0;
}
.copyright {
    text-align: center;
}