.main section:nth-of-type(odd) {
    background-color: #F6F3ED;
}

.main #database_article {
    background-color: #fff;
}

.section_inner {
    padding: 6rem 0 6rem;
}


/*------------------
検索フォーム
------------------*/

    .wrap {
      max-width: 1100px;
      margin: 40px auto;
      padding: 0 16px;
    }

    .heading {
      font-size: clamp(22px, 2.6vw, 32px);
      letter-spacing: .14em;
      text-align: center;
      margin: 0 0 20px;
    }

    
    .tabs {
      background: #ffffff;
      border-radius: 10px;
      box-shadow: 0 2px 12px rgba(0,0,0,.06);
      overflow: hidden;
      border: 1px solid #eee;
    }

    .tablist {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      border-bottom: 2px solid #d8c8a3;
      background: #f2efe7;
    }

    .tab {
      appearance: none;
      background: #DDDDDD;
      border: 0;
      padding: 16px 12px;
      font-size: 16px;
      font-weight: 700;
      cursor: pointer;
      border-right: 2px solid #d8c8a3;
    }
    .tab:last-child { border-right: 0; }
    .tab[aria-selected="true"] {
      background: #A28A3D;
		color: #fff;
    }
    .tab:focus-visible { outline: 3px solid #99c2ff; outline-offset: -3px; }

    /* ========= PANEL / FORM ========= */
    .panel {
      padding: 26px 26px 34px;
      display: none;
    }
    .panel[aria-hidden="false"] { display: block; }

    .search-intro { color: #777; margin: 0 0 16px; }

      .form-grid { grid-template-columns: 1fr; }
      .label { margin-top: 8px; }

    .form-grid .full { grid-column: 1 / -1; }

    .label { font-weight: 700; }

    input[type="text"], input[type="search"], select {
      width: 100%;
      box-sizing: border-box;
      padding: 12px 12px;
      border: 1px solid #ddd;
      border-radius: 6px;
      background: #f6f6f6;
      font-size: 15px;
    }

    .submit-bar {
      margin-top: 28px;
      padding: 18px 16px;
      border-radius: 8px;
      display: flex;
      justify-content: center;
      position: relative;
    }

    .btn {
      appearance: none;
      border: 0;
      background: #a98c4a;
      color: #fff;
      font-weight: 800;
      letter-spacing: .08em;
      padding: 12px 26px;
      border-radius: 999px;
      cursor: pointer;
      box-shadow: 0 4px 10px rgba(0,0,0,.08);
    }
    .btn:hover { background: #8b6f31; }


    @media (min-width: 1200px) {

    .form-grid {
      display: grid;
      grid-template-columns: 180px 1fr 160px 1fr;
      gap: 16px 18px;
      align-items: center;
    }

    }

/*------------------
検索結果
------------------*/
.ul_search {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
	padding: 0;
}
.ul_search li{
	list-style: none;
	width: 21%;
	margin-bottom: 80px;
}
.ul_search .p_thumb_img{
    margin-bottom: 10px;
}
.ul_search li p{
	margin: 0.3rem 0;
}

.ul_search li .more_link{
  	margin-top: 10px;
	background-color: #993333;
	padding: 10px;
	text-align: center;
}
.ul_search li .more_link a {
	color: #fff;
}


/* ページャー*/
.pager_wrapper{
	margin-top: 60px;
}
.pagination_text{
	text-align: center;
}
.pager {
    margin:0;
    text-align: center;
    letter-spacing: -.3em;
    padding-top: 1em;
    border-top: solid 2px #993333;
}

.pager > div {
    display: inline-block;
    width: auto;
    height: 60px;
    line-height: 60px;
    font-size: 1em;
    text-align: center;
    margin: 0 2px;
    min-width: 10%;
}

.pager > div.pager_no {
    display: inline-block;

    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 1em;
    text-align: center;
    margin: 0 .2em;
    min-width: 50px;
}

/*
.pager > div.current, .pager > div.pager_no:first-child, .pager > div.pager_no:last-child, .pager > div.pager_no.current, .pager > div.pager_no.current + div.pager_no, .pager > div.pager_no:has(+ div.current), .pager > .pager_prev + div.pager_no, .pager > div.pager_no:has(+ div.pager_next), .pager > .pager_prev + div.pager_no:has( + div.pager_no + div.current), .pager > div.pager_no.current + div.pager_no + div.pager_no:has( + div.pager_next) {
    display: inline-block !important;
    pointer-events: auto !important;
    width: 56px;
    height: 56px;
    line-height: 56px;
    font-size: 1em;
    text-align: center;
    margin: 0 .2em;
    min-width: 56px;
}
*/
.pager_no a {
    display: block;
    text-decoration: none;
    background-color: #F2F2F2;
    color: #000;
    text-align: center;
    letter-spacing: normal;
}
.pager > div {
    display: inline-block;
    width: auto;
    height: 50px;
    line-height: 50px;
    font-size: 1em;
    text-align: center;
    margin: 0 2px;
    min-width: 10%;
}

.pager a {
    display: block;
    text-decoration: none;
    background-color: #E0C1C0;
    color: #000;
    text-align: center;
    letter-spacing: normal;
}

.pager > div.current a {
    background-color: #993333;
    color: #f2f2f2;
}


.pager_prev a, .pager_next a {
    background-color: #999999;
    color: #fff;
    padding: 0 .5em;
}


/*------------------
記事
------------------*/

/*画像部分*/
.slider-for {
	margin-bottom: 10px;
}
.slider-for div {
	width: 100%;
}
.slider-for div img {
	width: 100%;
}

.slick-prev:before, .slick-next:before{
	color:#333;
}

/*テキスト部分*/
.table_box table {
	margin-top: 80px;
    width: 100%;
    border-collapse: collapse;
}

.table_box td, .table_box th {
    padding: .75rem;
    vertical-align: top;
    border: 1px solid #dee2e6;
}

.table_box table tbody tr th {
    border: 1px solid #fff;
    background-color: #e3e3e3;
    font-weight: 400;
    text-align: center;
}
.table_box ul{
	list-style: none;
	padding: 0;
}

@media (min-width: 1200px) {
	.datebase_detail{
		display: flex;
		justify-content: space-between;;
	}
	.datebase_detail > div{
	width: 48%;
}
	.table_box table {
	margin-top: 0;
}
}