/*
Theme Name: XEA Solutions
Theme URI: https://xea.co.jp/
Author: XEA Solutions LLC
Description: 合同会社XEAソリューションズ様の公式サイト用ブロックテーマ。固定ページの内容はすべてWordPress標準ブロック（見出し・段落・カラム・グループ・ボタン・ショートコード等）で直接編集できます。サイトエディターでヘッダー／フッター／配色も編集可能です。
Version: 2.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: xea-solutions
*/

/* ==========================================================
   このファイルは主に theme.json でカバーしきれない
   カスタムブロックスタイル（下記 functions.php で登録）の
   見た目を定義する補助スタイルシートです。
   通常の色・文字サイズ・余白は「外観 > エディター（サイトエディター）」
   の theme.json 設定から変更できます。
   ========================================================== */

.wp-site-blocks { overflow-x: clip; }

/* --- ヘッダー --- */
.site-header-part {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(5, 5, 5, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--wp--preset--color--line);
}
.site-header-part .wp-block-navigation a {
  color: #d7d7da;
}
.site-header-part .wp-block-navigation a:hover {
  color: var(--wp--preset--color--gold);
}
.brand-mark img {
  border-radius: 8px;
  object-fit: cover;
}

/* --- ヒーロー --- */
.is-style-hero-section {
  position: relative;
  isolation: isolate;
  padding-top: clamp(120px, 14vw, 160px) !important;
}
.is-style-hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 72% 34%, rgba(255, 130, 0, 0.20), transparent 31%),
    radial-gradient(circle at 35% 75%, rgba(255, 176, 0, 0.10), transparent 35%),
    linear-gradient(135deg, #030303 0%, #080808 55%, #111 100%);
}
h1 span.hero-heading-gradient,
.hero-heading-gradient {
  background-image: linear-gradient(100deg, #ffffff 0%, #ffd766 45%, #ff6b00 100%) !important;
  background-repeat: no-repeat !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: #ffb000 !important; /* fallback color if background-clip:text is unsupported */
  display: inline-block;
}
@supports ( (background-clip: text) or (-webkit-background-clip: text) ) {
  h1 span.hero-heading-gradient,
  .hero-heading-gradient {
    color: transparent !important;
  }
}
.hero-logo-figure img,
.hero-logo-figure video {
  width: 100%;
  display: block;
  border-radius: 20px;
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.6), 0 0 60px rgba(255, 120, 0, 0.13);
}

/* --- セクション見出し（kicker） --- */
.is-style-kicker {
  color: var(--wp--preset--color--gold) !important;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 12px !important;
}

/* --- 英語補足テキスト（小さく・控えめ） --- */
.is-style-en-note {
  color: #86868c !important;
  font-size: 0.82em !important;
  margin-top: 4px !important;
}

/* --- サービスカード --- */
.is-style-card {
  background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
  border: 1px solid var(--wp--preset--color--line);
  border-radius: 20px !important;
  padding: 30px !important;
}

/* --- 会社概要テーブル行 --- */
.is-style-info-row {
  border-bottom: 1px solid var(--wp--preset--color--line);
  padding-top: 20px !important;
  padding-bottom: 20px !important;
}
.is-style-info-row:first-child {
  border-top: 1px solid var(--wp--preset--color--line);
}

/* --- お問い合わせパネル --- */
.is-style-panel {
  position: relative;
  overflow: hidden;
  background: linear-gradient(140deg, #121214, #080808) !important;
  border: 1px solid var(--wp--preset--color--line) !important;
  border-radius: 28px !important;
  padding: clamp(28px, 5vw, 64px) !important;
}

/* --- お問い合わせフォーム（ショートコードブロックで出力） --- */
.xea-form { display: grid; gap: 14px; max-width: 560px; }
.xea-form label { display: block; font-size: 13px; color: #b8b8bd; }
.xea-form input,
.xea-form textarea {
  width: 100%;
  margin-top: 6px;
  background: #050505;
  color: #fff;
  border: 1px solid var(--wp--preset--color--line);
  border-radius: 10px;
  padding: 13px 14px;
  font: inherit;
}
.xea-form textarea { min-height: 130px; resize: vertical; }
.xea-form input:focus,
.xea-form textarea:focus {
  outline: 2px solid rgba(255, 176, 0, .3);
  border-color: var(--wp--preset--color--gold);
}
.xea-form .form-check { display: flex; align-items: flex-start; gap: 10px; color: #8f8f95; font-size: 12px; }
.xea-form .form-check input { width: auto; margin-top: 5px; }
.xea-form .form-submit { margin-top: 6px; }
.xea-form-message {
  padding: 12px 14px;
  border-radius: 10px;
  margin-bottom: 18px;
  max-width: 560px;
}
.xea-form-message.is-success { background: rgba(40,180,100,.13); border: 1px solid rgba(40,180,100,.4); }
.xea-form-message.is-error { background: rgba(230,70,70,.13); border: 1px solid rgba(230,70,70,.4); }

/* --- ボタン --- */
.wp-block-button__link {
  border-radius: 999px !important;
  font-weight: 700 !important;
  transition: transform .2s ease;
}
.wp-block-button__link:hover { transform: translateY(-2px); }
.wp-block-button.is-style-outline .wp-block-button__link:hover {
  color: var(--wp--preset--color--gold) !important;
  border-color: var(--wp--preset--color--gold) !important;
}

/* --- フッター --- */
.site-footer-part {
  border-top: 1px solid var(--wp--preset--color--line);
  color: #77777d;
  font-size: 13px;
}

@media (max-width: 600px) {
  .is-style-info-row { padding-top: 12px !important; padding-bottom: 12px !important; }
}
