/*
Theme Name: ICS Corporate
Author: ICS
Description: 合同会社ICSのコーポレートサイト用クラシックテーマ。経営支援・デザイン・アプリケーション開発の5ページ構成に対応します。
Version: 1.3.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: ics-corporate
*/

.nav-links { list-style: none; margin: 0; padding: 0; }
.nav-links li { margin: 0; }
.nav-links .current-menu-item > a { color: var(--blue); }
.nav-links .nav-cta { display: inline-flex; }

.contact-form .wpcf7-form { margin: 0; }
.contact-form .wpcf7-form-control-wrap { display: block; }
.contact-form .wpcf7-not-valid-tip { margin-top: 7px; color: #d92d20; font-size: 11px; }
.contact-form .wpcf7-response-output { margin: 20px 0 0 !important; padding: 14px 16px !important; border: 0 !important; border-radius: 12px; background: #eef4ff; color: #1849a9; font-size: 12px; }
.contact-form .wpcf7-spinner { vertical-align: middle; }
.contact-form input[type="submit"] { display: inline-flex; min-height: 54px; padding: 0 25px; border: 0; border-radius: 999px; color: #fff; background: linear-gradient(110deg, var(--blue), #6941c6); box-shadow: 0 15px 28px rgba(75, 71, 220, .24); font-size: 13px; font-weight: 800; cursor: pointer; }
.contact-form .wpcf7-acceptance label { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.contact-form .wpcf7-acceptance input { width: auto; margin-top: 3px; }
.contact-admin-note { padding: 20px; border-radius: 14px; background: #fff7ed; color: #9a3412; font-size: 13px; line-height: 1.8; }

.entry-content { color: var(--muted); line-height: 2; }
.entry-content > * { max-width: 780px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 60px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom .copyright { margin: 0; padding: 0; border: 0; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px 22px; }
.footer-legal a { color: #667085; font-size: 10px; transition: color .2s ease; }
.footer-legal a:hover { color: #d0d5dd; }
.footer-cookie-settings { appearance: none; padding: 0; border: 0; color: #667085; background: transparent; font-size: 10px; cursor: pointer; transition: color .2s ease; }
.footer-cookie-settings:hover { color: #d0d5dd; }
.cookie-banner[hidden] { display: none; }
.cookie-banner { position: fixed; z-index: 9999; right: 24px; bottom: 24px; left: 24px; }
.cookie-banner-inner { display: flex; align-items: center; justify-content: space-between; gap: 34px; width: min(1120px, 100%); margin: 0 auto; padding: 22px 24px; border: 1px solid rgba(255,255,255,.8); border-radius: 20px; background: rgba(255,255,255,.94); box-shadow: 0 22px 70px rgba(16,24,40,.22); backdrop-filter: blur(18px); }
.cookie-banner-copy { max-width: 690px; }
.cookie-banner-copy strong { display: block; margin-bottom: 7px; color: var(--ink); font-size: 14px; }
.cookie-banner-copy p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.8; }
.cookie-banner-copy a { color: var(--blue); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.cookie-banner-actions { display: flex; flex-shrink: 0; gap: 10px; }
.cookie-button { min-height: 43px; padding: 0 17px; border-radius: 999px; font-size: 11px; font-weight: 800; cursor: pointer; }
.cookie-button-primary { border: 0; color: #fff; background: linear-gradient(110deg,var(--blue),#6941c6); box-shadow: 0 10px 22px rgba(75,71,220,.2); }
.cookie-button-secondary { border: 1px solid var(--line); color: var(--ink); background: #fff; }
.policy-content { width: min(860px, calc(100% - 48px)); margin: 0 auto; }
.policy-intro { margin-bottom: 58px; color: var(--muted); font-size: 15px; line-height: 2.1; }
.policy-section { margin-top: 50px; }
.policy-section h2 { margin-bottom: 18px; font-size: clamp(24px, 3vw, 32px); }
.policy-section p, .policy-section li { color: var(--muted); font-size: 14px; line-height: 2; }
.policy-section ul, .policy-section ol { padding-left: 1.5em; }
.policy-section li + li { margin-top: 8px; }
.policy-date { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); color: #98a2b3; font-size: 12px; line-height: 1.9; }
.legal-table { margin: 0; border-top: 1px solid var(--line); }
.legal-row { display: grid; grid-template-columns: 210px 1fr; gap: 30px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.legal-row dt { color: var(--ink); font-size: 13px; font-weight: 800; line-height: 1.8; }
.legal-row dd { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.9; }

@media (max-width: 900px) {
  .nav-links li { width: 100%; }
  .nav-links .nav-cta { display: flex; justify-content: center; }
  .footer-bottom { display: block; }
  .footer-legal { justify-content: flex-start; margin-top: 18px; }
  .legal-row { grid-template-columns: 1fr; gap: 7px; }
  .cookie-banner { right: 12px; bottom: 12px; left: 12px; }
  .cookie-banner-inner { display: block; padding: 20px; border-radius: 18px; }
  .cookie-banner-actions { margin-top: 16px; }
  .cookie-button { flex: 1; }
}
