@charset "UTF-8";

/* =======================================================
* 助成金ページのcss
* ======================================================= */
.moreLink a {
  display: inline-block;
  width: 47%;
  padding: 10px 0 10px 35px;
  margin-bottom: 10px;
  background: #f4f5f5;
  position: relative;
  box-sizing: border-box;
  text-decoration: none;
}

.moreLink a li {
  list-style: none;
  margin-left: 0;
}

.moreLink a::before {
  position: absolute;
  content: "▶︎";
  top: 11px;
  left: 15px;
  font-size: 13px;
}

.moreLink a:hover {
  background: #ddd;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.moreLink a.active {
  background: #acd3d3;
}


@media screen and (max-width:768px) {
  .moreLink a {
    width: 49%;
    font-size: 12px;
    padding: 10px 0 10px 20px;
    margin-bottom: 5px;
  }

  .moreLink a::before {
    left: 6px;
    font-size: 11px;
  }
}


/* =======================================================
* 詳細ページ
* ======================================================= */
.jyoseikin {
  margin-top: 30px;
  margin-bottom: 70px;
}

.jyoseikin .ac {
  text-align: center;
}

.jyoseikin .main_ttl {
  background: #acd3d3;
  font-weight: bold;
  font-size: 20px;
  padding: 10px;
  text-align: center;
  letter-spacing: .15em;
  border-bottom: 2px solid #3d6a6a;
}

/* アコーディオンのcss */
.jyoseikin dt {
  position: relative;
  cursor: pointer;
  border-bottom: none;
  font-size: 14px;
  margin-top: 35px;
  margin-bottom: 0;
  line-height: 1.8;
  background: #f4f5f5;
}

.jyoseikin dt .ttl {
  font-weight: bold;
  border-bottom: 1px dotted #3d6a6a;
  position: relative;
  font-size: 16px;
  padding: 10px 0 5px 30px;
}

.jyoseikin dt .ttl::before {
  position: absolute;
  content: "▶︎";
  top: 6px;
  left: 6px;
  font-size: 20px;
  color: #3d6a6a;
}
.jyoseikin dt p {
  margin: 0;
  padding: 10px 20px;
}

/* プラスの横線 */
.jyoseikin dt::before {
  content: "";
  position: absolute;
  background: #333;
  top: 22px;
  right: 20px;
  width: 20px;
  height: 2px;
  transform: translateY(-50%);
  z-index: 1;
}

/* プラスの縦線 */
.jyoseikin dt:after {
  content: "";
  position: absolute;
  background: #333;
  top: 22px;
  right: 29px;
  width: 2px;
  height: 20px;
  transform: translateY(-50%);
  transition: .1s;
}

/* オープン時にopenクラスを付与（縦線を回転させて非表示に） */
.jyoseikin dt.open:after {
  top: 25%;
  opacity: 0;
  transform: rotate(90deg);
}

/* アコーディオンの中身 */
.jyoseikin dd {
  display: none;
  background: #f4f5f5;
  padding: 30px;
}

.jyoseikin dd h5 {
  color: #333;
  font-weight: bold;
  padding: 0 0 0 20px;
  margin-bottom: 10px;
  position: relative;
}

.jyoseikin dd h5::before {
  position: absolute;
  content: "■";
  top: 5px;
  left: 0;
  width: 0;
  height: 0;
  font-size: 16px;
}

.jyoseikin dd .date {
  text-align: right;
  font-size: 13px;
}

@media screen and (max-width:768px) {
  .jyoseikin .main_ttl {
    font-size: 17px;
  }

  .jyoseikin dt .ttl {
    font-size: 14px;
    padding: 10px 35px 10px 30px;
  }

  .jyoseikin dt::before {
    right: 6px;
  }

  .jyoseikin dt:after {
    right: 15px;
  }

  .jyoseikin dd {
    padding: 20px;
    font-size: 14px;
  }
}