@charset "utf-8";

/* style-link.css
 * おまかせプラン ver.7 - v1.0.0
 * 2022-09-01
 * **************************************************
 * Link
 * **************************************************
 */

 /* Link
------------------------------------------------------------------- */
/* Content */
.link .content__inner {
  margin: 70px auto 0 auto;
  padding: 0 50px;
  max-width: 1150px;
}

/* List */
.link .content__layout__section ul {
  display: flex;
  flex-flow: row wrap;
  justify-content: start;
  align-items: center;
  width: 100%;
}
.link .content__layout__section li {
  overflow: hidden;
  position: relative;
  margin: 20px 0 0 0;
  width: -webkit-calc(50% - 10px);
  width: calc(50% - 10px);
  background-color: #fbfaf5;
  -webkit-border-radius: 5px;
  border-radius: 5px;
}
.link .content__layout__section li:nth-child(odd) {
  margin: 20px 20px 0 0;
}

.link .content__layout__section dl {
  margin: 20px 35px 25px 35px;
}
.link .content__layout__section dt {
  position: relative;
  font-size: 1.6em;
  font-weight: 500;
}
.link .content__layout__section dt::after{
  position: absolute;
  top: 2px;
  left: -12px;
  content: '';
  height: 20px;
  border: 2px solid #0058a6;
}
.link .content__layout__section dd {
  font-size: 1.6em;
}
.link .content__layout__section dd a  {
}
.link .content__layout__section dd a:hover {
  text-decoration: none;
}
/* 別サイト リンク */
.link .content__layout__section dd a[target="_blank"][rel="noopener"] {
  position: relative;
}
.link .content__layout__section dd a[target="_blank"][rel="noopener"]:before {
  position: absolute;
  top: 50%;
  right: -20px;
  display: block;
  margin-top: -2px;
  content: "";
  width: 8px;
  height: 8px;
  border-left: 1px solid #000;
  border-bottom: 1px solid #000;
}
.link .content__layout__section dd a[target="_blank"][rel="noopener"]:after {
  position: absolute;
  top: 50%;
  right: -22px;
  display: block;
  margin-top: -4px;
  content: "";
  width: 6px;
  height: 6px;
  border: 1px solid #000;
}

@media screen and (max-width: 767px) {
  /* Link
  ------------------------------------------------------------------- */
  /* Content */
  .link .content__inner {
    margin: 50px 0 0 0;
    padding: 0 15px;
    max-width: none;
  }

  /* List */
  .link .content__layout__section ul {
    display: block;
    flex-flow: nowrap;
    justify-content: flex-start;
    align-items: normal;
  }
  .link .content__layout__section li {
    margin: 20px 0 0 0;
    width: 100%;
  }
  .link .content__layout__section li:nth-child(odd) {
    margin: 20px 0 0 0;
  }
}
