@charset "UTF-8";

/* ===== コンタクトページ ===== */
.contact-section { padding: 100px 0; }

.contact-wrapper { display: grid; grid-template-columns: 1fr 380px; gap: 60px; align-items: start; }

/* サイドバー情報 */
.contact-sidebar { }
.contact-info-box { background: #1a1a1a; border-top: 4px solid var(--primary); padding: 40px 35px; }
.contact-info-box h3 { font-family: "Oswald", sans-serif; font-size: 18px; color: var(--primary); letter-spacing: 0.15em; margin-bottom: 25px; }
.info-list { list-style: none; padding: 0; margin: 0 0 30px; }
.info-list li { padding: 14px 0; border-bottom: 1px solid #333; font-size: 14px; display: flex; gap: 12px; align-items: flex-start; }
.info-list li:last-child { border-bottom: none; }
.info-list .info-label { color: var(--primary); font-weight: bold; flex-shrink: 0; min-width: 60px; font-size: 13px; }
.info-list .info-val { color: #ccc; line-height: 1.7; }
.info-note { font-size: 13px; color: #777; line-height: 1.7; border-top: 1px solid #333; padding-top: 20px; }

/* フォームエリア */
.contact-form-area { }
.contact-form-area h2 { font-size: 28px; font-weight: 900; margin-bottom: 8px; }
.contact-form-area .form-lead { font-size: 15px; color: #666; line-height: 1.8; margin-bottom: 40px; }

/* CF7スタイル上書き */
.wpcf7-form { }
.form-row { margin-bottom: 25px; }
.form-row label { display: block; font-size: 13px; font-weight: bold; color: #333; margin-bottom: 8px; letter-spacing: 0.05em; }
.form-row label .required { color: var(--primary); font-size: 11px; margin-left: 6px; background: var(--primary); color: #fff; padding: 2px 6px; }

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select,
.wpcf7-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    font-size: 15px;
    font-family: inherit;
    background: #fff;
    transition: border-color 0.2s;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    border-radius: 0;
}
.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus { border-color: var(--primary); }

.wpcf7-form select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M0 0l6 8 6-8z' fill='%23FF6600'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; cursor: pointer; }

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

.wpcf7-form .wpcf7-submit {
    display: block;
    width: 100%;
    padding: 20px;
    background: var(--primary);
    color: #fff;
    font-size: 16px;
    font-weight: 900;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    letter-spacing: 0.05em;
    font-family: inherit;
}
.wpcf7-form .wpcf7-submit:hover { background: var(--primary-hover); transform: translateY(-2px); box-shadow: 0 5px 20px rgba(255,102,0,0.3); }

.wpcf7-form .wpcf7-not-valid-tip { font-size: 12px; color: #e53e3e; margin-top: 5px; display: block; }
.wpcf7-form .wpcf7-response-output { padding: 15px 20px; margin-top: 20px; border: 2px solid #e0e0e0; font-size: 14px; }
.wpcf7-form.sent .wpcf7-response-output { border-color: var(--primary); color: var(--primary); }
.wpcf7-form.failed .wpcf7-response-output { border-color: #e53e3e; color: #e53e3e; }

/* プライバシー同意 */
.privacy-check { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 25px; }
.privacy-check input[type="checkbox"] { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; accent-color: var(--primary); }
.privacy-check label { font-size: 13px; color: #555; line-height: 1.7; }
.privacy-check a { color: var(--primary); }

@media (max-width: 900px) {
  .contact-wrapper { grid-template-columns: 1fr; }
  .contact-sidebar { order: 2; }
  .contact-form-area { order: 1; }
  .contact-section { padding: 60px 0; }
}

/* ===== コンタクトページ（フォームのみ） ===== */
.contact-form-wrap { max-width: 720px; margin: 0 auto; }
.contact-lead { margin-bottom: 50px; }
.contact-lead h2 { font-size: 30px; font-weight: 900; margin-bottom: 16px; }
.contact-lead p { font-size: 15px; color: #555; line-height: 1.9; }

/* ===== 会社概要ページ ===== */
.company-section { padding: 100px 0; }

.company-table-wrap { margin: 60px 0; }
.company-table { width: 100%; border-collapse: collapse; }
.company-table th,
.company-table td { padding: 22px 30px; text-align: left; font-size: 15px; line-height: 1.8; border-bottom: 1px solid #e8e8e8; vertical-align: top; }
.company-table th { width: 200px; font-weight: 700; color: #1a1a1a; background: #fafafa; border-left: 4px solid var(--primary); white-space: nowrap; }
.company-table td { color: #444; }
.company-table tr:first-child th,
.company-table tr:first-child td { border-top: 1px solid #e8e8e8; }

.company-cta { text-align: center; padding: 60px 0 0; }
.company-cta p { font-size: 16px; color: #555; margin-bottom: 24px; }
.company-cta .btn { display: inline-block; padding: 18px 50px; background: var(--primary); color: #fff; font-weight: 900; font-size: 15px; letter-spacing: 0.05em; text-decoration: none; transition: 0.3s; }
.company-cta .btn:hover { background: var(--primary-hover); transform: translateY(-2px); box-shadow: 0 5px 20px rgba(255,102,0,0.3); }

@media (max-width: 900px) {
  .company-section { padding: 60px 0; }
  .company-table th { width: 120px; padding: 16px 16px; font-size: 13px; }
  .company-table td { padding: 16px 16px; font-size: 14px; }
  .contact-form-wrap { padding: 0 0; }
  .contact-lead h2 { font-size: 22px; }
}
