.p-top-logo {
  font-size: 36px;
  line-height: 1.4;
  max-width: 90%;
  margin: 30px auto;
  text-align: center;
}

.p-top-logo a {
  display: block;
  transition: opacity .2s;
  text-decoration: none;
  color: #333;
}

.p-top-logo a:hover {
  opacity: .66;
}

.p-top-logo a:active {
  opacity: 1;
}

#p-slider .bx-controls-direction a {
  z-index: 100;
}

#p-slider .bx-viewport {
  top: 0;
  left: 0;
  border: 0;
  background: #f8f8f8;
  box-shadow: none;
}

#p-slider .bx-wrapper img {
  margin: 0 auto;
}

#p-slider .bx-caption {
  top: 0;
  bottom: auto;
  background: rgba(0, 0, 0, .3);
}

#p-slider .bx-caption span {
  padding: 1.5em;
}

#p-slider .bx-pager {
  bottom: 10px;
  padding-top: 0;
}

#p-slider .bx-pager a {
  background: #fff;
}

#p-slider .bx-pager a:hover,
#p-slider .bx-pager a.active {
  background: #CCCCFF;
}

.p-news {
  line-height: 1.5;
  margin: 0;
}

.p-news::after {
  display: block;
  clear: both;
  content: '';
}

.p-news__label {
  font-size: 14px;
  font-weight: bold;
  line-height: 1.6;
  width: 180px;
  margin: 0;
  letter-spacing: 1px;
}

.p-news__content {
  line-height: 1.6;
  margin: 5px 0 20px 10px;
}

.p-news__content p:nth-child(1) {
  margin-top: 0;
}

.p-news__label {
  font-family: 'Montserrat', sans-serif;
}

.p-news__label::before {
  content: '-';
}

.p-info {
  line-height: 1.5;
}

.p-contents {
  line-height: 1.5;
  margin-bottom: 40px;
}

.p-contents__list {
  margin: 0 0 20px;
  padding: 0;
  list-style-type: none;
}

.p-contents__list::after {
  display: block;
  clear: both;
  content: '';
}

.p-contents__list li {
  position: relative;
  box-sizing: border-box;
  padding: 0 2em 0 1em;
}

.p-contents__list li::before {
  position: absolute;
  top: .5em;
  left: 0;
  content: '-';
}

.p-contents__list a {
  display: block;
  max-width: 100%;
  padding: .5em 0;
  transition: opacity .2s;
  text-decoration: none;
  color: #333;
}

.p-contents__list a:hover {
  opacity: .66;
}

.p-contents__list a:active {
  opacity: 1;
}

.p-custom-banner {
  margin-top: 50px;
  text-align: center;
}

.p-custom-banner__unit {
  background: ;
}

.p-custom-banner__unit--text {
  font-family: 'Montserrat', sans-serif;
  padding: 30px 10px;
  color: ;
  background: #f5f5f5;
}

.p-custom-banner__unit--text a {
  color: ;
}

.p-custom-banner__image {
  width: 100%;
}

.p-custom-banner__heading {
  font-size: 16px;
  padding: 10px 0;
}

.p-custom-banner__body {
  line-height: 1.5;
  padding: 10px 0;
}

.cardUnit {
  box-sizing: border-box;
  max-width: 100%;
  /* display: flex;
  justify-content: start;
  flex-wrap: wrap; */
  padding: 0;
  margin: 0 10px 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.card {
  list-style: none;
  text-decoration: none;
  transition: .25s;
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 3;
  row-gap: 0px;
}

.card.is-hidden {
  display: none;
}

.card:focus, .card:hover {
  opacity: .75;
}

.card--imgWrapper {
  position: relative;
  overflow: hidden;
  margin: 0;
  aspect-ratio: 3/2;
}

.card--imgWrapper > img {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
}

.card--body {
  color: #000;
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 2;
}

.card--ttl {
  font-size: 11.5px;
  margin: 0;
  padding: 8px 0;
  border-bottom: 1px solid #000;
}

.card--txt {
  font-size: 10px;
  margin: 5px 0;
}

.card_btn {
  position: relative;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  background: transparent;
  border-radius: 25px;
  border: solid 1px #c7b370;
  outline: none;
  transition: all 0.2s ease;
  padding: 0!important;
  min-width: 200px!important;
}

.card_btn:hover {
  border-color: transparent;
}

.card_btn span {
  position: relative;
	z-index: 2;
	display: block;
  padding: 10px 30px;
	background:#fff;
	border-radius: 25px;
	color:#c7b370;
  transition: all 0.3s ease;
  text-indent: 0px;
}

.pushdown:before {
  content:"";
  position: absolute;
  z-index: -1;
  top:4px;
  left:0;
  width: 100%;
  height: 100%;
  border-radius: 25px;
  background-color: #c7b370;
}


.pushdown:hover span {
  background-color: #c7b370;
  color: #fff;
  transform: translateY(4px);
}

@media screen and (min-width: 600px) {
  .p-top-logo {
    display: none;
  }

  #p-slider .bx-pager {
    bottom: 30px;
  }

  .p-contents__list li::before {
    top: 0;
  }

  .p-contents__list li {
    float: left;
    width: 50%;
    margin-bottom: 20px;
  }

  .p-contents__list li:nth-child(2n + 1) {
    clear: left;
  }

  .p-contents__list a {
    display: inline-block;
    padding: 0;
  }

  .p-custom-banner {
    display: table;
    width: 100%;
    margin-top: 100px;
    table-layout: fixed;
  }

  .p-custom-banner__unit {
    display: table-cell;
    box-sizing: border-box;
    width: 50%;
    max-width: 50%;
    vertical-align: middle;
    word-break: break-all;
  }

  .p-custom-banner__unit--text {
    padding: 10px 20px;
  }
}

@media screen and (min-width: 960px) {
  .p-news__label {
    float: left;
    clear: left;
    margin-right: 20px;
  }

  .p-news__content {
    overflow: hidden;
    margin: 0 0 20px;
  }

  .p-custom-banner__heading {
    font-size: 26px;
  }
  .cardUnit {
    max-width: 1240px;
    margin: 0 auto 40px;
    padding: 0 20px;
    grid-template-columns: repeat(4, 1fr); 
  }

  .card:nth-child(n+5):nth-child(-n+8) {
    display: grid;
  }

  .card--ttl {
    font-size: 15px;
  }
  
  .card--txt {
    font-size: 12px;
    margin: 4px 0;
  }
}
