@charset "UTF-8";

/*-----------------------------------------------------	*/
/*	基本設定					                         */
/*-----------------------------------------------------	*/

html {
  -webkit-overflow-scrolling: touch; /* iosバグ回避　スマホスクロールスムーズにする */
  scroll-behavior: smooth; /* スムーススクロール */
}

body {
  font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
  margin: 0px;
  font-size: 1.1em;
  font-weight: 500;
  line-height: 1.9em;
  letter-spacing: 0.05em;
  background: #f2fcff;
}

img {
	width:100%;
	max-width: 100%;
	height: auto;
	vertical-align:bottom;
	border: 0px;
}

/*
ul {
    list-style-type: none;
    padding: 0px;
    margin: 0px;
	letter-spacing: -.40em;
}

ol {
    list-style-type: none;
    padding: 0px;
    margin: 0px;    
}

ul li {
	list-style-type: none;
	letter-spacing: normal;\
}

h1,h2,h3,h4,h5 {
    font-weight: 500;
}

h1,h2,h3,h4,h5,p {
  margin: 0px;
}

img {
	width:100%;
	max-width: 100%;
	height: auto;
	vertical-align:bottom;
	border: 0px;
}


*, *:before, *:after {
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
         -o-box-sizing: border-box;
        -ms-box-sizing: border-box;
        box-sizing: border-box;
}*/

/* テーブル 
table {
    width: 100%;
}

table th {
    font-weight: 400;
}

table th,table td {
    line-height: 1.4em;
}*/

/* リンク設定
a:link		{ color:#333333; text-decoration: none; }
a:visited	{ color:#333333; }
a:hover		{ color:#5a5758; }
a:active	{ color:#333333; }

 */

/* フォーカスした際に線が入るのを消す処理 
*:focus {
  outline: none;
}
*/

/*
@media screen and (max-width: 767px) {
    body {
      font-size: 70%;
    }   
}
*/

/*-----------------------------------------------------	*/
/*	共通					                               */
/*-----------------------------------------------------	*/

/* 見出し */
.big-title01 {
    margin-top: 60px;
    text-align: center;
}

.big-title01 h2 {
    display: inline-block;
    padding-bottom: 10px;
    border-bottom: 1px solid #062f5e;
}

/* ヘッダ－ */
#header-out {
    background: #062f5e;
    text-align: center;
    padding-top: 15px;
    padding-bottom: 10px;
}

#header-out img {
    max-width: 546px;
}

#header-out h1 {
    margin-bottom: 0px;
}

/* TOPページに戻る TOPのみ */
#official-link {
    position: relative;
    top: -15px;
    display: inline-block;
    margin-left: 30px;
    vertical-align: middle;
}

#top-header a {
    display: inline-block;
}

#official-link a {
    color: white;
    font-family: "游ゴシック体", "游ゴシック", "YuGothic", "Yu Gothic", "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "MS Pゴシック", "MS PGothic", sans-serif;
    font-size: 0.35em;
    padding: 4px 10px 3px;
    border: 1px solid white;
    text-decoration: none;
    vertical-align: middle;
}

@media screen and (min-width: 850px) {
    #top-header h1 {
        position: relative;
    }

    #official-link {
        position: absolute;
        top: 0px;
        bottom: 0px;
        right: 0px;
        margin: auto;
    }
}

@media screen and (max-width: 730px) {
    #header-out #top-header #logo {
        width: 70%;
    }

    #top-header #logo img {
        max-width: 100%;
    }

    #official-link {
        top: -10px;
        margin-left: 20px;
    }
}

@media screen and (max-width: 540px) {
    #header-out #top-header #logo {
        width: 75%;
    }

    #official-link {
        top: -5px;
        margin-left: 15px;
    }
}

@media screen and (max-width: 410px) {
    #official-link a {
        top: 0px;
        font-size: 0.3em;
        padding: 4px 3px 3px 5px;
    }
}

@media screen and (max-width: 400px) {
    #header-out #top-header #logo {
        width: 75%;
    }

    #top-header #logo img {
        vertical-align: middle;
    }
}

/* 基本枠 */
.inner-width {
    max-width: 1200px;
    margin: 0px auto;
}

@media screen and (max-width: 1240px) {
    .inner-width {
        margin-left: 20px;
        margin-right: 20px;
    }
}

/* パンくず */
#pankuzu {
    margin-top: 20px;
    font-size: 0.9em;
}

#pankuzu li {
    color: black;
    vertical-align: middle;
}

#pankuzu a {
    text-decoration: none;
    color: black;
}

/* ラジオボタン */
.input-radio-out {
    display: flex;
    flex-wrap: wrap;
    margin-top: 10px;
}

.input-radio-out .radio {
    margin-right: 20px;
}

/* テーブル */
.basic-table01 {
    margin-bottom: 0px;
    border: 1px solid #dbdbdb;
    border-collapse: collapse;
}

.basic-table01 th,.basic-table01 td {
    border-collapse: collapse; 
    overflow-wrap: break-word;
    word-wrap: break-word;
    white-space: normal;
    vertical-align: middle;
    line-height: 1.6em;
}

.basic-table01 th {
    width: 20%;
    background: #062f5e;
    color: white;
    text-align: center;
    vertical-align: middle;
}

.basic-table01 td {
    padding: 5px 15px;
}

.input-text-tr td {
    padding: 15px;
}

@media screen and (max-width: 767px) {
    .basic-table01 th,.basic-table01 td {
        display: block;
        width: 100%;
    }
    
    .basic-table01 th {
        line-height: 1em;
    }
}

/* ボタン */
.basic-btn01 {
    position: relative;
    padding: 0;
    border: none;
    outline: none;
    font: inherit;
    color: white;
    padding: 10px 70px 7px;
    letter-spacing: 0.2em;
    margin: 0px 5px;
}

.basic-btn01 i {
    margin-right: 10px;
}

/* 戻るボタン */
#back-btn-out {
    text-align: center;
}

#back-btn {
    background: #062f5e;
    padding: 10px 30px 7px;
    transition: 0.5s;
}

#back-btn:hover {
    opacity: 0.8;
}

@media screen and (max-width: 1024px) {
    #back-btn-out {
        margin-top: 30px;
    }
    
    #back-btn {
        padding: 7px 30px 7px;
    }
}

/* フッター */
#footer-out {
    text-align: center;
    color: white;
    margin-top: 150px;
    padding: 5px 10px;
    background: #062f5e;
    color: white;
    font-family: "游ゴシック体", "游ゴシック", "YuGothic", "Yu Gothic", "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "MS Pゴシック", "MS PGothic", sans-serif;
}

#footer-out #copyright {
    font-size: 0.6em;
}

@media screen and (max-width: 480px) {
    #footer-out {
        margin-top: 120px;   
    }
}

/*-----------------------------------------------------	*/
/*	Bootstrap上書き				                　　　 */
/*-----------------------------------------------------	*/

/* ページネーションの色を変更 */
.pagination .page-link {
  color: #062f5e;            /* 通常時の文字色 */
}

/* ホバー時 */
.pagination .page-link:hover {
  color: #062f5e;
  background-color: #e9ecef; /* Bootstrap標準のhover背景 */
}

/* アクティブページ */
.pagination .page-item.active .page-link {
  color: #fff;               /* 文字色は白 */
  background-color: #062f5e; /* 背景を指定色 */
  border-color: #062f5e;
}

/* 無効状態 */
.pagination .page-item.disabled .page-link {
  color: #6c757d;            /* グレーのまま（必要なら変更） */
}

/*-----------------------------------------------------	*/
/*	TOP 検索				                               */
/*-----------------------------------------------------	*/

#input-out {
    margin-top: 10px;
}

#fumei-checkbox {
    vertical-align: middle;
}

#saisyubi-tr div {
    margin-top: 0px;
}

#saisyubi-tr select {
    display: inline;
    width: 19%;
}

#saisyubi-tr .year-select {
    width:26%;
}

#saisyubi-tr td {
    padding-top: 10px;
}

#bunrui-tr .input-radio-out {
    margin-top: 5px;
}

#bunrui-tr .checkbox {
    padding-right: 1em;
}

#saisyubi-input {
    display: flex;
}

#from-text {
    position: relative;
    left: 3%;
}

@media screen and (max-width: 1199px) {
    #from-text {
        left: 0.5%;
    }    
}

#search-cation-text {
    text-align:center;
    margin-top: 30px;
    line-height: 1.3em;
    font-size: 95%;
}

#search-cation-text p {
    display: inline-block;
    text-align: left;
    text-indent: -1em;
    padding-left: 1em;
    margin-bottom: 0px;
}

@media screen and (max-width: 1024px) {
    #search-cation-text p {
        margin-bottom: 10px;
    }    
}

/*　検索ページ移動リンク */
#search-link-head {
    text-align: right;
}

.detail-search-link {
    color: black;
    text-decoration: none;
    font-size: 95%;
}

.detail-search-link i {
    margin-right: 5px;
}

#search-link-under {
    margin-top: 15px;
}

@media screen and (max-width: 767px) {
    #search-link-head {
        margin-top: 20px;
    }
    
    #search-link-under {
        line-height: 1em;
    }
}

/* ボタン */
#input-out-btn {
    background: white;
    text-align: center;
    padding: 20px 10px 12px;
    border: 1px solid #dbdbdb;
    border-top: none !important;
}

#input-out-btn.seach-detail-input-btn {
    padding-bottom: 22px;
}

#search-btn {
    background: #003a96;
    border-right: solid #002664 2px;
    box-shadow: 0px 2px #002664;
    transition: .2s ease-in-out;
    top: 0px;
}

#clear-btn {
    background: #009dc0;
    border-right: solid #0f809a 2px;
    box-shadow: 0px 2px #0f809a;
    top: 0px;
    transition: .2s ease-in-out;
}

#search-btn:hover {
    border-right: solid #003a96 2px;
    box-shadow: 0px 0px #003a96;
    top: 2px;
}

#clear-btn:hover {
    border-right: solid #009dc0 2px;
    box-shadow: 0px 0px #0f809a;
    top: 2px;
}

/* OR検索 */
.or-search .orsearch-inner {
    display: flex;
    margin-bottom: 0px;
}

.or-search input {
    width: 77%;
    margin-right: 10px;
}

.or-search .custom-select01 {
    width: 200px;
}
        
/* カスタムセレクト */        
.custom-select01 .select-box { 
  position: relative;
}
.custom-select01 .select-box select {
  outline: none;
  -webkit-appearance: none;
  appearance: none;  
  background: transparent;
  border-radius: 5px; 
  padding: 5px 35px 5px 10px;
  cursor: pointer;  
}
.custom-select01 .select-box select::-ms-expand {/* for IE */
  display: none;
}
.custom-select01 .select-box::before {
  position: absolute;
  top:0;
  right:0;
  content: '';
  width: 27px;
  height: 100%;
  background: #062f5e;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  pointer-events: none;
}
.custom-select01 .select-box::after {
  position: absolute;
  top:42%;
  right:10px;
  content:'';
  width: 0;
  height: 0;
  border-style: solid;
  border-right: 3px solid transparent;
  border-left: 3px solid transparent;
  border-top: 6px solid #ffffff;
  border-bottom: 0;
  pointer-events: none;
}

@media screen and (max-width: 991px) {
    #saisyubi-tr td {
        padding-bottom: 30px;
    }
    
    #from-text {
        position: static;
        display: block;
        text-align: center;
        padding: 10px 6em 0px 0px;
    }
    
    #from-text span {
        writing-mode: vertical-rl;
        display: inline-block;                
    }
}

@media screen and (max-width: 767px) {
    #input-out .basic-btn01 {
        padding: 9px 55px 7px;
    }
}

@media screen and (max-width: 550px) {
    .or-search .orsearch-inner {
        display: block;
    }
    
    .or-search input {
        width: 100%;
    }
    
    .or-search .custom-select01 {
        width: 100%;
        margin-top: 15px;
    }
}

@media screen and (max-width: 501px) {
    #input-out-btn {
        padding: 10px 10px 12px;
    }
    
    #input-out-btn.seach-detail-input-btn {
        padding-bottom: 10px;
    }
    
    #input-out .basic-btn01 {
        display: block;
        width: 100%;
        margin-left: 0px;
        margin-right: 0px;
    }
    
    #clear-btn {
        margin-top: 10px;
    }    
}

@media screen and (max-width: 480px) {
     #from-text {
        padding-right: 0px;
    }
}

@media screen and (max-width: 350px) {
     #saisyubi-tr .year-select {
        width:23%;
    }           
}

/*-----------------------------------------------------	*/
/*	検索一覧　　　			                               */
/*-----------------------------------------------------	*/

 /* ソート部分 */
 #sort-out {
     flex-wrap: wrap;
     margin-top: 45px;
     font-size: 95%;
 }
 
 #sort-display-out {
     float: right;
     display: flex;
     justify-content: flex-end;
     width: 80%;
     padding-right: 20px;
 }
 
 #sort-out label {
     font-size: 95%;
     margin-bottom: 0px;
 }
 
 #sort-out select {
     display: inline-block;
 }
 
 #sort-display {
    display: flex; 
    align-items: center;
    width: 220px;
 }
 
 #sort-display label {
     vertical-align: middle;
 }
 
 #sort-display select {
     width: 55%;
     margin-left: 10px;
 }
 
 #sort01 {
    display: flex; 
    align-items: center;
    width: 250px;
 }
 
 #sort01 select {
     width: 55%;
     margin-left: 10px;
 }
 
 #sort-display-text {
     float: left;
     font-size: 95%;
 }

/* 検索結果一覧 */
#search-result-list {
    margin-top: 25px;
}

.search-result-con {
    display: flex;
    width: 100%;
    background: white;
    padding: 5px;
    box-shadow: 0px 0px 12px -8px #95a8ae;
    text-decoration: none;
    transition: 0.5s;
    margin-bottom: 20px;
}

.search-result-con:hover {
    opacity: 0.75;
}

.search-result-left {
    width: 28%;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

#search-result-img {
    position: relative;
    margin-bottom: 0px;
}

#search-result-img img {
    height: 166px;
    object-fit: cover;
}

.search-result-num {
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 3;
    display: inline-block;
    text-align: center;
    padding: 2px 1px 1px;
    color: white;
    font-size: 80%;
    line-height: 1.5em;
    min-width: 25px;
    background: #062f5d;
}

.search-result-right {
    width: 97%;
    display: flex;         
    flex-direction: column;
    margin-top: 45px;
}

.search-result-text {
    display: grid;
    grid-template-columns: 0.6fr 1fr;
    list-style-type: none;
    margin-bottom: 0px;
    color: black;
    padding-left: 60px;
}

.search-result-text li {
    padding-right: 1em;
    line-height: 1.4em;
    margin-bottom: 15px;
}

.search-result-text > *:first-child {
    order: 1;
}

.search-result-text > *:first-child+* {
    order: 3;
    margin-bottom: 0px;
}

.search-result-text > *:first-child+*+* {
    order: 2;
}

.search-result-text > *:first-child+*+*+* {
    order: 4;
    margin-bottom: 0px;
}

.search-result-link {
    text-align: right;
    margin-top: auto;
}

.search-result-link {
    color: #062f5e;
    text-decoration: none;
    font-size: 90%;
}

@media screen and (max-width: 1024px) {
    .search-result-num {
        padding: 1px 1px 1px;
    }    
}

/* 検索内容 */
#search-word-out {
    margin-top: 30px;
    padding: 15px;
    background: white;
    border: 1px solid #062f5e;
}

#search-word-title {
    text-align: center;
}

#search-word-title h3 {
    display: inline-block;
    font-size: 100%;
}

#search-word-title i {
    color: #062f5e;
    margin-right: 10px;
}

#search-word-out #search-word {
    text-align: center;
}

@media screen and (max-width: 1080px) {
    .search-result-left {
        width: 35%;
    }
    
    .search-result-text {
        grid-template-columns: 1fr 1fr;
        padding-left: 30px;
    }
    
    #search-result-img img {
        height: 180px;
    }  
}

@media screen and (max-width: 900px) {
    .search-result-left {
        width: 40%;
    }
    
    .search-result-text {
        padding-left: 25px;
    }
}

@media screen and (max-width: 767px) {
    #sort-display-out {
        width: 100%;
    }
    
    .search-result-con {
        display: block;
    }

    .search-result-left {
        width: 100%;
    }

    .search-result-right {
        width: 100%;
        margin-top: 20px;
    }
    
    #search-result-img img {
        height: auto;
        object-fit: fill;
    }
    
    #search-result-list {
        margin-top: 20px;
    }
    
    .search-result-link {
        margin-top: 20px;
        font-size: 80%;
    }
}

@media screen and (max-width: 650px) {
    #sort-display-out {
        justify-content: flex-start;
    }
    
    #sort-display-out select {
        width: 100%;
    }
    
    #sort-display {
       display: block;
        width: 33.333%;
    }
    
    #sort-display label {
        display: block;
    }
    
    #sort01 {
       display: block;
        width: 33.333%;
        padding-left: 10px;
    }
    
    #sort01 label {
        display: block;
    }
    
    #sort02 {
        display: flex;
        align-items: flex-end;
        padding-left: 10px;
        width: 25%;
    }

    #sort-out select {
        display: inline-block;
        margin-left: 0px;
    }
    
    .search-result-link {
        margin-top: 10px;
    }
}

@media screen and (max-width: 600px) {
    .search-result-text {
        display: block;
        padding-left: 20px;
    }
    
    .search-result-text li {
        margin-bottom: 10px !important;
    }    
}

@media screen and (max-width: 480px) {
    #sort-display-out {
        padding-right: 0px;
    }                
    
    #sort-out {
        font-size: 90%;
    }
    
    #sort-out select {
        font-size: 90%;
    }
    
    #sort-display {
        width: 30%;
    }
    
    #sort01 {
        width: 40%;
    }
    
    #sort01,#sort02 {
        padding-left: 5px;
    }
    
     #sort02 {
        width: 30%;
        justify-content: space-between;
    }
}

/*-----------------------------------------------------	*/
/*	検索結果　　　			                               */
/*-----------------------------------------------------	*/

/* スライダー */
#thumb-slide-out {
    max-width: 575px;
    margin: 0px auto;
    margin-top: 40px;
}

/* テーブル */
#detail-table-out {
    margin-top: 30px;
}

/* 検索結果写真なし */
.no-photo #footer-out {
    margin-top: 260px;
}

/* ポップアップ */
#img-popup {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  display: none;
  z-index: 9999;
}

#img-popup .popup-bg {
  background: rgba(0,0,0,0.8);
  width: 100%; height: 100%;
  position: absolute;
  top: 0; left: 0;
}

#img-popup .popup-content {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  max-width: 90%;
  max-height: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#img-popup img {
  width: auto;
  max-width: 80vw;
  max-height: 80vh;
  border-radius: 4px;
  box-shadow: 0 0 10px #000;
}

.popup-prev,
.popup-next {
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  user-select: none;
  padding: 5px;
  transition: 0.2s;
}
.popup-prev:hover,
.popup-next:hover {
  color: #ccc;
}

.popup-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: #fff;
  font-size: 30px;
  cursor: pointer;
}

@media screen and (max-width: 1024px) {
    .no-photo #footer-out {
        margin-top: 200px;   
    }
    
    #img-popup .popup-content {
        width: 90vw;
    }    
}

@media screen and (max-width: 767px) {
    #thumb-slide-out .theme-default .nivo-controlNav.nivo-thumbs-enabled img {
        width: 20vw;
    }
    
    .no-photo #footer-out {
        margin-top: 120px;   
    }
    
    #detail-table-out .basic-table01 td {
        padding: 10px;
    }
    
    #img-popup .popup-content {
        width: 94vw;
    }
}

