/*
Theme Name: Hidden Potential Lab
Theme URI: https://hiddenpotentiallab.jp/
Author: Groove
Description: Hidden Potential Lab theme
Version: 2.1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hidden-potential-lab
*/

.admin-bar header {
    top: 32px;
}

@media (max-width: 782px) {
    .admin-bar header {
        top: 46px;
    }
}

.fv-title {
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
}

.fv-text {
    animation: fadeInUp 1s ease-out 0.5s forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body h2.section-title-large {
    font-weight: 600;
    color: rgba(0, 0, 0, 0.06);
    letter-spacing: 0.05em;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}

body h2.section-title-large.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.service-diagram {
    position: relative;
    width: 600px;
    height: 400px;
    margin: 0 auto;
}

#contact h2.section-title-large {
    color: rgba(255, 255, 255, 0.9);
}

.section-subtitle {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.5s ease-out 0.3s, transform 1.5s ease-out 0.3s;
}

.section-subtitle.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.connector {
    position: absolute;
    width: 2px;
    height: 80px;
    background-color: #1a2332;
}

.connector-1 {
    top: 120px;
    left: 200px;
    transform: rotate(45deg);
}

.connector-2 {
    top: 120px;
    right: 200px;
    transform: rotate(-45deg);
}

@keyframes fadeInZoom {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.fv-image {
    animation: fadeInZoom 1.2s ease-out forwards;
}

@media (min-width: 769px) {
    .section-title-large {
        font-weight: 600;
        color: rgba(0, 0, 0, 0.06);
        letter-spacing: 0.05em;
    }

    .service-diagram {
        width: 100%;
        height: 300px;
    }
}

/* ===============================
   Contact Form 7 - Modern UI
=============================== */

.wpcf7 {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.wpcf7 form {
  display: grid;
  gap: 22px;
}

.wpcf7 p {
  margin: 0;
}

.wpcf7 label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #333;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 input[type="number"],
.wpcf7 input[type="date"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  margin-top: 8px;
  padding: 14px 16px;
  font-size: 16px;
  color: #333;
  background: #f8f8f8;
  border: 1px solid #ddd;
  border-radius: 12px;
  outline: none;
  transition: 0.25s ease;
}

.wpcf7 textarea {
  min-height: 180px;
  resize: vertical;
}

.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
  color: #aaa;
}

.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
  background: #fff;
  border-color: #111;
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.08);
}

.wpcf7 input[type="submit"] {
  width: 100%;
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: #111;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: 0.25s ease;
}

.wpcf7 input[type="submit"]:hover {
  background: #333;
  transform: translateY(-2px);
}

.wpcf7 input[type="submit"]:active {
  transform: translateY(0);
}

/* 必須ラベル */
.required,
.wpcf7-form-control-wrap .required {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  font-size: 12px;
  color: #fff;
  background: #e63946;
  border-radius: 999px;
}

/* エラーメッセージ */
.wpcf7-not-valid-tip {
  margin-top: 6px;
  font-size: 13px;
  color: #e63946;
}

.wpcf7 form .wpcf7-response-output {
  margin: 20px 0 0;
  padding: 14px 16px;
  font-size: 14px;
  border-radius: 10px;
}

/* スピナー位置調整 */
.wpcf7-spinner {
  display: block;
  margin: 12px auto 0;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
  .wpcf7 {
    padding: 24px 18px;
    border-radius: 16px;
  }

  .wpcf7 input[type="text"],
  .wpcf7 input[type="email"],
  .wpcf7 input[type="tel"],
  .wpcf7 select,
  .wpcf7 textarea {
    font-size: 15px;
  }
}
/* ===============================
   Heading / Text Base
=============================== */

h2 {
  position: relative;
  margin: 0 0 32px;
  padding-bottom: 14px;
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;
  color: #111;
    font-family: Noto Serif JP, serif;
}

h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 3px;
  background: #111;
  border-radius: 999px;
}
/* ===============================
   h3 Styling
=============================== */

h3 {
  position: relative;
  margin: 40px 0 16px;
  padding-left: 14px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: #222;
    font-family: Noto Serif JP, serif;
}

/* 左にアクセントライン */
h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 4px;
  height: 70%;
  background: #111;
  border-radius: 999px;
}

/* h2の直後だけ余白詰める（いい感じになる） */
h2 + h3 {
  margin-top: 24px;
}

p {
    font-family: Noto Serif JP, serif;
    font-size: 16px;
    margin-bottom: 20px !important;
  line-height: 1.8;
}
/* ===============================
   Simple List（ドットあり）
=============================== */

/* ===============================
   List class only
=============================== */

ul.list {
  margin: 24px 0 32px;
  padding-left: 1em;
  list-style: disc;
    font-family: Noto Serif JP, serif;
}

ul.list li {
  margin-bottom: 10px;
  font-size: 16px;
  letter-spacing: 0.04em;
  color: #333;
}

ul.list li::marker {
  color: #4b5563;
}
