@charset "utf-8";
/* CSS Document */

/* パンくずリスト余白 */
.navitopicpath_ {
  margin: 1rem auto 2rem;
  padding: 0 2rem;
}

/* 全体レイアウト余白 */
#outer {
  width: 1260px;
  margin: 0 auto;
}

/* 見出し（h1）装飾 */
.top_txt h1 {
  
  position: relative;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid skyblue;
  font-size: 2.4em;
  font-weight: bold;
  line-height: 1.4;
  margin-bottom: 1.5rem;
  margin-top: 1rem;
}

.top_txt h1::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 30%;
  border-bottom: 3px solid #ffc778;
}

.top_txt p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  margin-top: -0.2rem;
}

.top_parts {
  margin-bottom: 2rem;
}

/* キーワードリンク群 */
.keywords {
  font-size: 14px;
  word-break: break-word;
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.keywords a {
  text-decoration: none;
  color: #0066cc;
  margin: 0 2px;
  white-space: nowrap;
}

.keywords a:hover {
  text-decoration: underline;
}

.pipe {
  color: #aaa;
  margin: 0 4px;
  user-select: none;
  pointer-events: none;
}
.search-icon {
  font-size: 0.9em;
  margin-left: 0.5em;
  color: #666;
}


a.pinpoint-btn {
  position: relative;
  display: inline-block;
  padding: 0.6rem 1.5rem;
  margin: 0.4rem;
  font-size: 14px;
  font-weight: 500;
  color: #212529;
  background: #fff;
  text-decoration: none;
  border: 1px solid #ccc;
  border-radius: 0;
  overflow: hidden;
  transition: color 0.3s ease, border-color 0.3s ease;
  z-index: 0;
  white-space: nowrap;
}

a.pinpoint-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: skyblue;
  transform: translateX(-100%);
  transition: transform 0.4s ease;
  z-index: -1;
}

a.pinpoint-btn:hover::before {
  transform: translateX(0);
}

a.pinpoint-btn:hover {
  color: #fff;
  border-color: skyblue;
  text-decoration: none !important; /* ← 下線を完全に消す */
}






@media screen and (max-width: 768px) {
  
  .navitopicpath_ {
    padding: 0 1rem;
  }

  #outer {
    width: 100%;
    padding: 0 1.2rem;
    box-sizing: border-box;
  }

  .contents_ {
    width: 100%;
    min-width: unset;
    padding: 0 1.2rem;
    box-sizing: border-box;
  }

  .top_txt h1 {
    font-size: 1.5em;
    padding-bottom: 0.5rem;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
  }

  .top_txt p {
    font-size: 0.75rem;
    line-height: 1.4;
    margin-top: -0.2rem;
    margin-bottom: 1.5rem;
  }

  .keywords {
    font-size: 13px;
    margin-bottom: 1.5rem;
  }

  .keywords a {
    margin: 0 2px;
  }
}
