@charset "UTF-8";
/* CSS Document */

/*************************************************************************************
                                      　グローバル設定
*************************************************************************************/
html {
    overflow-x: hidden;
    font-size: 62.5%;
    height: calc( var(--vh) * 100 );
    height: -webkit-fill-available;
}
body {
  margin: 0;
  padding: 0 15px;
}
body {
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    color: #333;
    position: relative;
    min-height: 100vh;
    /* mobile viewport bug fix */
    min-height: -webkit-fill-available;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
}
body.fixed {
    position: fixed!important;
    bottom: 0;
    left: 0;
    width: 100%;
    min-height: calc( var(--vh) * 100 );
    min-height: -webkit-fill-available;
    height: calc( var(--vh) * 100 );
    overflow: hidden;
}
p{
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif; 
    font-size: 13px;
    font-size: 1.3rem;
    line-height: 2;
    letter-spacing: 0;
}
.sp{
    display: block;
}
.tab{
    display: none;
}
.pc{
    display: none;
}
.pc2{
    display: none;
}

main {
    padding-top: 60px;
}
h2 {
  text-align: center;
  font-size: 1.6rem;
  margin-bottom: 40px;
}
.search {
    display: flex;
    position: relative;
    flex-flow: column;
}
.freeword {
    margin: 0;
    position: absolute;
    top: -26px;
    font-size: 1.4rem;
}
.clear {
  font-size: 1.4rem;
  display: block;
  margin: 5px 0 0;
}
.image-list {
  padding: 0;
  display: flex;
  justify-content: flex-start;
  flex-flow: row wrap;
}
#searchform-area {
  text-align: center;
  margin: 30px auto;
}
#searchform{
  display: flex;
  justify-content: center;
  flex-flow: row nowrap;
  align-items: center;  
}
#serchtext {
  font-size: 1.8rem;
  padding: 5px 10px;
}
#searchsubmit {
    padding: 8px 20px;
    margin-left: 10px;
}
.thumbnail-list {
    width: 50%;
    position: relative;
    overflow: hidden;
}
.thumbnail-list::before {
    position: relative;
    content: "";
    padding-top: 100%;
    display: block;
    width: 100%;
    overflow: hidden;
    top: 0;
    left: 0;
}
.thumbnail-link {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 20px 20px 45px 20px;
  box-sizing: border-box;
  border: 1px solid #999;
  border-right: 1px solid #999;
  border-top: 0px solid #999;
}
.thumbnail-list:nth-child(1) .thumbnail-link{
   border-right: 0px solid #999;
   border-bottom: 1px solid #999; 
   border-top: 1px solid #999;
}
.thumbnail-list:nth-child(2) .thumbnail-link{
   border-top: 1px solid #999;
}
.thumbnail-list:nth-child(2n) .thumbnail-link{
   border-left: 0px solid #999;
   border-bottom: 1px solid #999; 
}
.thumbnail-list:not(:last-child) .thumbnail-link{
   border-right: 1px solid #999; 
}
.thumbnail-list:last-child .thumbnail-link{
   border-right: 1px solid #999; 
}
.thumbnail-link h3 {
  position: absolute;
  bottom: 10px;
  left: 0;
  text-align: center;
  width: 100%;
  margin: 0;
  font-size: 1.3rem;
  padding: 10px 10px 0;
  box-sizing: border-box;
    line-height: 1.1;
}
.thumbnail-link img {
  margin: 0 auto;
  width: 100%;
  height: 100%;
  object-fit: contain;
  box-sizing: border-box;
  filter: drop-shadow(0px 0px 5px #000);
  max-width: 100%;
  border: none;
}
.thumbnail-link img.noimage{
   filter: drop-shadow(0px 0px 5px #555); 
}
.list {
  width: 100%;
  padding: 0;
}
.list-inner div {
  display: flex;
  border-bottom: 1px solid #000;
  margin-bottom: 10px;
  padding-bottom: 10px;
}
.list-inner div h4 {
  margin: 0;
  width: 140px;
}
.thumbnail {
  margin: 0 auto 60px;
  text-align: center;
  padding: 60px 30px;
  background-color: #eee;
}
.wp-post-image {
  margin: 0 auto;
  width: 100%;
  height: auto;
  max-width: 400px;
  border: 1px solid #999;
}
table {
    border-collapse: collapse;
    width: 100%;
    font-size: 1.4rem;
}
th {
  border-bottom: 1px dotted #000;
  padding: 10px 15px;
  border-right: 0px solid #000;
  background-color: #757575;
}
tr {
  display: flex;
  flex-flow: column;
}
tr:first-child th {
  border-top: 1px solid #000;
}
th h4 {
    margin: 0;
    text-align: left;
    color: #fff;
}
td {
  border-bottom: 1px solid #000;
  padding: 15px;
}
tr:first-child td {
  border-top: 0px solid #000;
}
td ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-flow: row wrap;
}
td ul li:not(:first-child){
    margin-left: 15px
}
td .pdf-image {
    height: auto;
    border: 1px solid #999;
    width: 100%;
    max-width: 280px;
    margin: 0 auto 10px;
}
.pdf-icon {
  display: flex;
  align-items: center;
}
.pdf-icon img {
  height: 40px;
}
.flex {
  display: flex;
  flex-flow: column;
  justify-content: space-between;
  align-items: center;
}
footer {
  margin-top: 60px;
}
@media screen and (min-width:768px){
p {
    font-size: 1.6rem;
}
.sp{
    display: none;
}
.tab{
    display: block;
}
.pc{
    display: none;
}
.pc2{
    display: none;
}
h2 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 40px;
}
.search {
    display: flex;
    position: relative;
    flex-flow: row nowrap;
}
.freeword {
    margin: 0;
    position: relative;
    top: auto;
    font-size: 1.6rem;
}
.clear {
  font-size: 1.4rem;
  display: block;
  margin: 5px 0 0;
}
.thumbnail-list {
    width: calc(100% / 3);
    position: relative;
    overflow: hidden;
}
.thumbnail-list:not(:last-child) .thumbnail-link {
  border-right: 1px solid #999;
  border-left: 0px;
}
.thumbnail-list:last-child .thumbnail-link {
  border-right: 1px solid #999;
  border-left: 0px solid #999;
}
.thumbnail-list:nth-child(2n) .thumbnail-link {
  border-left: 0px solid #999;
  border-bottom: 1px solid #999;
}
.thumbnail-list:nth-child(3n-1) .thumbnail-link {
  border-left: 0px solid #999;
  border-bottom: 1px solid #999;
}
.thumbnail-list:nth-child(3n-2) .thumbnail-link {
  border-left: 1px solid #999;
  border-bottom: 1px solid #999;
}
.thumbnail-list:nth-child(3) .thumbnail-link{
   border-top: 1px solid #999;
   border-left: 0px solid #999;
}
table {
    font-size: 1.6rem;
}
tr {
  display: table-row;
  flex-flow: column;
}
th {
    border-bottom: 1px solid #000;
    padding: 20px;
    border-right: 1px solid #000;
    background-color: transparent;
    width: 140px;
}
th h4 {
    color: #000;
}
td {
  border-bottom: 1px solid #000;
  padding: 20px;
}
tr:first-child td {
  border-top: 1px solid #000;
}
.flex {
  display: flex;
  flex-flow: column;
  justify-content: space-between;
  align-items: flex-start;
}
td .pdf-image {
    height: auto;
    width: 100%;
    max-width: 100%;
    margin: 0 0 10px;
}
}

@media screen and (min-width:960px){
p {
    font-size: 1.8rem;
}
.sp{
    display: none;
}
.tab{
    display: none;
}
.pc{
    display: block;
}
.pc2{
    display: none;
}
main {
    padding-top: 0px;
    font-size: 1.6rem;
    margin: 0 auto;
    max-width: 1100px;
}
.thumbnail-list {
    width: 25%;
    position: relative;
    overflow: hidden;
}
.thumbnail-list:last-child .thumbnail-link {
  border-right: 1px solid #999;
  border-left: 0px solid #999;
}
.thumbnail-list:nth-child(3n-1) .thumbnail-link {
  border-left: 0px solid #999;
  border-bottom: 1px solid #999;
}
.thumbnail-list:nth-child(3n-2) .thumbnail-link {
  border-left: 0px solid #999;
  border-bottom: 1px solid #999;
}
.thumbnail-list:nth-child(4n-3) .thumbnail-link {
  border-left: 1px solid #999;
  border-bottom: 1px solid #999;
}
.thumbnail-list:nth-child(4) .thumbnail-link {
  border-top: 1px solid #999;
  border-left: 0px solid #999;
}
th {
    width: 200px;
}
.flex {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: center;
}
td .pdf-image {
  margin: 0;
  max-width: 400px;
}
.pdf-icon {
  padding-left: 20px;
}
}

