@charset "UTF-8";

/**
 * top
 */
#top {position: relative;}
#top h1 {
  position: absolute; /* 要素の配置 */
  top: 50%; /* 要素を天地中央寄せ */
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  /* width: 15%; */
  text-align: center;
}
.fadeUp {
  animation-name: fadeUpAnime;
  animation-duration: 2.0s;
  animation-fill-mode: forwards;
  opacity: 0;
}
@keyframes fadeUpAnime {
  from {
    opacity: 0;
    transform: translateY(-10%) translateX(-50%);
  }
  to {
    opacity: 1;
    transform: translateY(-50%) translateX(-50%);
  }
}


/**
 * links
 */
#links.box {height: 100%; margin-top: 150px;}
#links .container {width: 800px;}
@media screen and (max-width: 800px) {
  #links.box {margin-top: 150px;}
  #links .container {width: 100%;}
  #links .container p {width: 90%; margin: 0 auto;}
}

/**
 * links-list
 */
#links-list.box {height: 100%; margin-top: 50px;}
#links-list .container {width: 850px;}
#links-list .container > div {
  width: 800px;
  margin: 30px auto 0 auto;
}
#links-list ul li {
  display: flex;
  border-top: 1px solid #333;
  padding: 15px 0;
  /* align-items: center; */
}
#links-list ul li div:first-child {
  width: 300px;
  padding-left: 10px;
  font-weight: 700;
  letter-spacing: 0.1rem; font-size: 1.05rem; line-height: 2;
}
#links-list ul li div:last-child {
  width: 500px;
  letter-spacing: 0.1rem; font-size: 1.05rem; line-height: 2;
}
#links-list ul li div {position: relative;}

.link-content a {
  position: relative;
  display: inline-block;
  padding: 0.1em 0.3em;
  text-decoration: none;
  /* font-weight:bold; */
  font-weight: 700;
  color: #000;
}
.link-content a::after
,.link-content a::before {
  position: absolute;
  bottom: 0;
  content: '';
  transition: all 0.3s ease;
}
/* .link-content a::after {
  right: 50%;
  left: 50%;
  width: 0;
  height: 100%;
  background-color: #006633;
} */
/* .link-content a::before {
  left: 0;
  width: 100%;
  height: calc(100% - 2px);
  border-top: 1px dotted #006633;
  border-bottom: 1px dotted #006633;
} */
.link-content a:hover::after {
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.3;
}
.link-content a:hover::before {
  right: 50%;
  left: 50%;
  width: 0%;
}

@media screen and (max-width: 900px) {  
  #links-list.box {width: 100%;}
  #links-list .container {width: 100%;}
  #links-list ul {width: 90%; margin: 0 auto;}
  #links-list ul li {display: block;}
  #links-list ul li div {width: 100% !important;}
  #links-list ul li div:not(:first-child) {padding-left: 10px; margin-top: 10px;}
  #links-list ul li .br::before {white-space: normal;}

  #links-list .container > div {width: 100%;}
  #links-list .container > div p {width: 90%; margin: 0 auto;}
}


