@charset "UTF-8";
/* =============================================== 
  選定ツール
=============================================== */
#tool .container {
  max-width: 860px;
  margin: 0 auto;
}

.lead_text {
  font-size: 18px;
  margin-bottom: 60px;
  line-height: 1.8;
}
@media screen and (max-width: 768px) {
  .lead_text {
    font-size: 16px;
    margin-bottom: 40px;
  }
}

.tool_section {
  margin-bottom: 80px;
}
@media screen and (max-width: 768px) {
  .tool_section {
    margin-bottom: 60px;
  }
}
.tool_section .tool_content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 30px;
}
@media screen and (max-width: 768px) {
  .tool_section .tool_content {
    gap: 20px;
    margin-bottom: 20px;
  }
}
.tool_section .tool_image {
  width: 100%;
}
.tool_section .tool_image img {
  width: 100%;
  height: auto;
  display: block;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.tool_section .tool_text {
  width: 100%;
}
.tool_section .tool_title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #2A68B0;
  text-align: left;
}
@media screen and (max-width: 768px) {
  .tool_section .tool_title {
    font-size: 20px;
    margin-bottom: 15px;
  }
}
.tool_section .tool_description {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 25px;
}
@media screen and (max-width: 768px) {
  .tool_section .tool_description {
    font-size: 14px;
    margin-bottom: 20px;
  }
}
.tool_section .tool_buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}
@media screen and (max-width: 768px) {
  .tool_section .tool_buttons {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }
}
.tool_section .tool_button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 300px;
  height: 50px;
  background-color: #2A68B0;
  color: #fff;
  text-decoration: none;
  border-radius: 25px;
  font-weight: bold;
  text-align: center;
  border: 2px solid #2A68B0;
  box-sizing: border-box;
  overflow: hidden;
  z-index: 1;
  position: relative;
}
.tool_section .tool_button::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: #fff;
  transform-origin: 100% 50%;
  transform: scaleX(0);
  transition: transform ease 0.3s;
  z-index: -1;
  border-radius: 25px;
}
.tool_section .tool_button span {
  position: relative;
  z-index: 1;
}
.tool_section .tool_button:hover {
  color: #2A68B0;
  opacity: 1;
}
.tool_section .tool_button:hover::before {
  transform-origin: 0% 50%;
  transform: scaleX(1);
}
@media screen and (max-width: 768px) {
  .tool_section .tool_button {
    width: 100%;
    max-width: 300px;
    font-size: 14px;
  }
}
.tool_section .tool_button.secondary {
  background-color: #fff;
  color: #2A68B0;
  border: 2px solid #2A68B0;
}
.tool_section .tool_button.secondary::before {
  background: #2A68B0;
}
.tool_section .tool_button.secondary:hover {
  color: #fff;
}
