/*
Theme Name: Lightning Child
Theme URI: 
Template: lightning
Description: 
Author: 
Tags: 
Version: 0.6.0
*/


/* 投稿ページの「次の記事」「前の記事」のボタン領域を非表示にする */
.next-prev {
display: none;
}
/* 投稿ページのタイトル下部の「投稿日」「編集日」「投稿者」の表記を非表示にする
.entry-meta {
display: none;
}
*/
/* 投稿ページのタイトル下部の「編集日」の表記を非表示にする */
.entry-meta-item.entry-meta-item-updated {
display: none;
}
/* 投稿ページのタイトル下部の「投稿者」の表記を非表示にする */
.entry-meta-item.entry-meta-item-author {
display: none;
}
/* 投稿ページのタイトル下部の「投稿日」「編集日」「投稿者」の表記を非表示にする（条件：FAQカテゴリ） */
.single-post.category-faq .entry-meta {
display: none;
}
/* 投稿ページの右カラム「最新の投稿」のアイキャッチ画像を非表示にする */
.vk_post_imgOuter.media-img {
display: none;
}
/* 投稿ページの右カラム「最新の投稿」の記事投稿日を非表示にする
.vk_posts .vk_post_dates {
display: none;
}
*/
/* 投稿ページの一覧ページと右カラムの記事投稿日を非表示にする（条件：FAQカテゴリ） */
.vk_post.category-faq .vk_post_dates {
display: none;
}
/* 投稿ページの右カラム「最新の投稿」のタイトル領域のmargin-bottomの値を修正する */
.sub-section-title {
margin-bottom: 0px;
}
/* 投稿ページの右カラム「最新の投稿」の上下のpaddingを変更する */
.vk_post.media {
padding-top:12px; padding-bottom:5px;
}
/* 投稿ページの右カラム「最新の投稿」の一番上の罫線を非表示にする */
.media.vk_post:first-child {
border-top: none;
}
/* 投稿ページの右カラム「最新の投稿」の記事タイトルの下線を非表示にする。下の余白を7pxから2pxへ変更する */
.vk_post_title.media-title {
border-bottom: none;
padding-bottom: 2px;
}
/* 投稿ページの右カラム「最新の投稿」の投稿日のpaddingを変更する */
.vk_post_dates {
padding-bottom: 5px;
}
/* 投稿ページの右カラム「検索窓」の表示を非表示にする */
aside.widget.widget_search {
display: none;
}
/* お知らせページの「タイトル」の上にテキストを表示させる */
.single-post .entry-title::before {
/* content: "お知らせ"; */
display:block;
font-weight: bold;
font-size:24px;
padding-bottom: 8px;
margin-bottom: 24px;
border-bottom: 1px solid #000;
}
/* お知らせページの「タイトル」の上にテキストを表示させる（条件：新着カテゴリ） */
.single-post.category-posts .entry-title::before {
content: "お知らせ";
}
/* お知らせページの「タイトル」の上にテキストを表示させる（条件：FAQカテゴリ） */
.single-post.category-faq .entry-title::before {
content: "よくある質問";
}
/* 投稿ページの最下部に表示される「カテゴリ」の領域を非表示にする */
.entry-meta-data-list {
display: none;
}
/* ICTソリューションズ お問い合わせフォーム */
.ict-form {
--navy: #0b3a6b;
--blue: #1a6fc4;
--orange: #f7891f;
--red: #e8533f;
--line: #cfdcec;
--bg-soft: #eef5fc;
--text: #1d2b3a;
--placeholder: #9aa9bb;
max-width: 840px;
color: var(--text);
}
/* 行レイアウト：左ラベル / 右入力欄 */
.ict-form__row {
display: grid;
grid-template-columns: 200px 1fr;
gap: 16px;
align-items: start;
margin-bottom: 28px;
}
.ict-form__label {
display: flex;
align-items: center;
gap: 12px;
padding-top: 12px;
font-weight: 700;
color: var(--navy);
}
.ict-form__label label {
font-weight: 700;
}
/* 必須バッジ */
.ict-form__required {
display: inline-block;
padding: 2px 8px;
border-radius: 3px;
background: var(--red);
color: #fff;
font-size: 11px;
font-weight: 700;
line-height: 1.6;
}
/* 入力欄 */
.ict-form__field input[type="text"],
.ict-form__field input[type="email"],
.ict-form__field input[type="tel"],
.ict-form__field textarea {
box-sizing: border-box;
width: 100%;
padding: 12px 14px;
border: 1px solid var(--line);
border-radius: 3px;
background: #fff;
font-size: 15px;
color: var(--text);
}
.ict-form__field textarea {
min-height: 130px;
resize: vertical;
}
.ict-form__field ::placeholder {
color: var(--placeholder);
}
.ict-form__field input:focus,
.ict-form__field textarea:focus {
outline: 2px solid var(--blue);
outline-offset: 1px;
border-color: var(--blue);
}
/* 電話番号：mwform_tel が複数の入力欄に分割される場合に横並びにする */
.ict-form__field .mwform-tel-field {
display: flex;
align-items: center;
gap: 8px;
}
.ict-form__field .mwform-tel-field input[type="text"],
.ict-form__field .mwform-tel-field input[type="tel"] {
width: 100%;
min-width: 0;
}
/* エラーメッセージ（MW WP Form が出力） */
.ict-form__field .error {
display: block;
margin-top: 6px;
color: var(--red);
font-size: 13px;
}
/* 送信ボタン */
.ict-form__submit {
margin: 36px 0 32px;
text-align: center;
}
.ict-form__submit input[type="submit"] {
width: 100%;
max-width: 360px;
padding: 16px 24px;
border: 0;
border-radius: 3px;
background: linear-gradient(90deg, #ff9a2e, var(--orange));
color: #fff;
font-size: 17px;
font-weight: 700;
cursor: pointer;
}
.ict-form__submit input[type="submit"]:hover {
filter: brightness(1.05);
}
.ict-form__submit input[type="submit"]:focus-visible {
outline: 3px solid var(--navy);
outline-offset: 2px;
}
/* 個人情報の取り扱い */
.ict-form__privacy {
padding: 18px 22px;
border-radius: 3px;
background: var(--bg-soft);
font-size: 13px;
line-height: 1.8;
color: #4a5a6c;
}
.ict-form__privacy p {
margin: 0;
}
.ict-form__privacy-title {
margin-bottom: 4px !important;
font-weight: 700;
color: var(--navy);
}
.ict-form__privacy a {
color: var(--blue);
text-decoration: underline;
}
/* スマートフォン */
@media (max-width: 640px) {
.ict-form__row {
grid-template-columns: 1fr;
gap: 8px;
}
.ict-form__label {
padding-top: 0;
}
.ict-form__submit {
margin-left: 0;
}
.ict-form__submit input[type="submit"] {
max-width: none;
}
}
/* ===== 確認画面用 追加CSS（前回のCSSの後ろに追記） ===== */
/* 画面ごとの表示切り替え
※ MW WP Form が出力するラッパー要素のクラス
(mw_wp_form_input / mw_wp_form_confirm) を利用しています */
.mw_wp_form_input .ict-form__actions--confirm,
.mw_wp_form_confirm .ict-form__submit--input {
display: none;
}
/* 確認画面：行を表（テーブル）風に表示 */
.mw_wp_form_confirm .ict-form__rows {
border: 1px solid var(--line);
border-radius: 4px;
overflow: hidden;
margin-bottom: 40px;
}
.mw_wp_form_confirm .ict-form__row {
grid-template-columns: 200px 1fr;
gap: 0;
margin-bottom: 0;
border-bottom: 1px solid var(--line);
}
.mw_wp_form_confirm .ict-form__row:last-child {
border-bottom: 0;
}
.mw_wp_form_confirm .ict-form__label {
align-self: stretch;
padding: 18px 20px;
background: var(--bg-soft);
border-right: 1px solid var(--line);
}
/* 確認画面では必須バッジを非表示 */
.mw_wp_form_confirm .ict-form__required {
display: none;
}
.mw_wp_form_confirm .ict-form__field {
padding: 18px 20px;
line-height: 1.8;
word-break: break-all;
}
/* wpautop が自動挿入する <p> / <br> 対策 */
.ict-form p {
margin: 0;
}
.ict-form p:empty {
display: none;
}
.ict-form__label > p,
.ict-form__field > p,
.ict-form__actions > p,
.ict-form__submit > p {
display: contents;
}
.ict-form > br,
.ict-form__rows > br,
.ict-form__row > br,
.ict-form__label br,
.ict-form__actions br,
.ict-form__submit br {
display: none;
}
/* 確認画面の値は左揃え */
.mw_wp_form_confirm .ict-form__field {
text-align: left;
}
/* 確認画面のボタン：戻る(1) : 送信する(2) */
.ict-form__actions {
display: flex;
gap: 20px;
margin: 0 0 32px;
}
.ict-form .ict-btn {
box-sizing: border-box;
padding: 16px 24px;
border-radius: 3px;
font-size: 17px;
font-weight: 700;
cursor: pointer;
appearance: none;
}
.ict-form .ict-btn--back {
flex: 1;
border: 1px solid var(--navy);
background: #fff;
color: var(--navy);
}
.ict-form .ict-btn--send {
flex: 2;
border: 0;
background: linear-gradient(90deg, #ff9a2e, var(--orange));
color: #fff;
}
.ict-form .ict-btn:focus-visible {
outline: 3px solid var(--navy);
outline-offset: 2px;
}
@media (max-width: 640px) {
.mw_wp_form_confirm .ict-form__row {
grid-template-columns: 1fr;
}
.mw_wp_form_confirm .ict-form__label {
border-right: 0;
padding-bottom: 8px;
}
.mw_wp_form_confirm .ict-form__field {
padding-top: 8px;
}
.ict-form__actions {
flex-direction: column;
}
}

/* ============================================================
   【B】ICTソリューションズ 共通パーツ（全ページ共通）
   ------------------------------------------------------------
   ・各ページの「個別CSS」に重複して入っていたものを、ここに集約しました。
   ・デスクトップ（901px以上）の見た目は、これまでと同じになるようにしてあります。
   ・レスポンシブの分岐点は次の3つに統一しています。
       900px以下 … タブレット／スマートフォン
       600px以下 … スマートフォン
       480px以下 … 小さいスマートフォン
   ・ページごとに値を変えたいものは、本文の一番外側の div に付けた
     ページ識別クラス（ict-page--top / --erase / --buyback / --company / --contact）
     を使って、各ページの個別CSS側で上書きします。
   ============================================================ */

/* ---------- デザイントークン ---------- */
:root{
  --c-navy:#0A2A66;        /* 見出し・ネイビーボタン・アイコン線 */
  --c-navy-deep:#00205B;   /* もっとも濃い紺（装飾用） */
  --c-blue:#0DA0E2;        /* 明るいアクセントブルー（アイコン・リンク） */
  --c-orange:#F5820A;      /* CTAボタン */
  --c-bg-tint:#EAF2FC;     /* 淡いブルー背景 */
  --c-bg-tint2:#F4F8FD;
  --c-text:#1C2333;
  --c-text-sub:#5B6B8C;
  --c-white:#FFFFFF;
  --c-border:#E2E8F4;
  --radius:14px;
  --radius-sm:10px;
  --shadow:0 10px 30px rgba(10,42,102,0.08);
  --font-jp:"Noto Sans JP","Hiragino Kaku Gothic ProN","Hiragino Sans","Yu Gothic",Meiryo,sans-serif;
  --ict-bg-alt:#F1F3F6;    /* 落ち着いたブルーグレーのセクション背景 */
  --ict-gold:#B8863B;      /* 「価値」を示すアクセント */
  --ict-gold-bg:rgba(184,134,59,.12);
}

/* ---------- ベース ---------- */
html, body{ overflow-x:hidden; }

/* Lightningのページタイトルバー／パンくずを非表示（各ページ専用のヒーローを使うため） */
.page-header,
.breadSection{
  display:none !important;
}

.ict-page{
  /* セクション上下余白（ページごとに上書き可）。デスクトップは従来値のまま */
  --sec-pt:40px;
  --sec-pb:140px;
  color:var(--c-text);
  font-family:var(--font-jp);
  line-height:1.8;
  overflow-wrap:break-word;   /* メールアドレスなど長い文字列がはみ出さないように */
}
.ict-page *{box-sizing:border-box;}
.ict-page img{max-width:100%;}
.ict-page section{padding:var(--sec-pt) 20px var(--sec-pb);}
.ict-page .ict-inner{max-width:1100px;margin:0 auto;}
.ict-page [id]{scroll-margin-top:var(--ict-offset,0px);}

/* 本文内の余白だけを変えたいセクション用（HTMLのインラインstyleの置き換え） */
.ict-page .ict-sec--compact{--sec-pt:40px;--sec-pb:40px;}     /* 上下とも40px */
.ict-page .ict-sec--mid{--sec-pt:90px;--sec-pb:90px;}         /* 上下とも90px */
.ict-page .ict-sec--top-lg{--sec-pt:110px;}                   /* 上だけ110px */

/* 背景は画面いっぱい、中身は .ict-inner の max-width で中央寄せ（「全幅はみ出し」テクニック） */
.ict-page .ict-white,
.ict-page .ict-alt,
.ict-page .ict-strengths-bg,
.ict-page .ict-cta-bar,
.ict-page .oak-cta-navy,
.ict-page .velta-voice-section,
.ict-page .ict-company-section,
.ict-page .ict-sub-hero,
.ict-page .ict-split-banner,
.ict-page .ict-hero-inner{
  position:relative;
  width:100vw;
  left:50%;
  margin-left:-50vw;
}
.ict-page .ict-white{background:var(--c-white);}
.ict-page .ict-alt{background:var(--c-bg-tint2);}
.ict-page .ict-strengths-bg{background:var(--c-bg-tint);}

/* ---------- 見出し共通 ---------- */
.ict-eyebrow-hero{
  text-align:center;
  font-size:14px;
  font-weight:700;
  letter-spacing:.18em;
  color:var(--c-blue);
  margin-top:60px;
  margin-bottom:-10px;
}
.ict-eyebrow{
  text-align:center;
  font-size:14px;
  font-weight:700;
  letter-spacing:.18em;
  color:var(--c-blue);
  margin-bottom:10px;
}
.ict-heading{
  position:relative;
  text-align:center;
  font-size:clamp(24px,3vw,30px);
  font-weight:700;
  color:var(--c-navy);
  margin:0 0 20px;
  padding-bottom:18px;
  border:none;
  background:none;
}
.ict-heading::after{
  content:"";
  position:absolute;
  bottom:0;
  left:50%;
  transform:translateX(-50%);
  width:36px;
  height:3px;
  background:var(--c-orange);
  border-radius:2px;
}
.ict-heading-no-bar::after{display:none;}
.ict-heading-no-bar{padding-bottom:40px;}
.ict-lead{
  text-align:center;
  color:var(--c-text-sub);
  font-size:14px;
  margin-bottom:50px;
}
.ict-lead-2{
  color:var(--c-text-sub);
  font-size:14px;
  margin-bottom:50px;
}
.ict-eyebrow-left{text-align:left;}
.ict-heading-left{
  text-align:left;
  padding-bottom:0;
  margin-bottom:16px;
}
.ict-heading-left::after{display:none;}
/* h3 などに付く「下線なし」指定（テーマ側の線を打ち消す） */
.ict-h3-noline{border-bottom:none !important;}
.ict-h3-noline::after{display:none !important;content:none !important;}
.ict-voice-tag{
  display:inline-block;
  font-size:11px;
  color:#08839C;
  background:rgba(11,156,185,.1);
  padding:4px 12px;
  border-radius:999px;
}

/* ---------- ボタン／リンク ---------- */
.ict-btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:14px 30px;
  border-radius:6px;
  font-weight:700;
  font-size:14px;
  text-decoration:none;
  transition:opacity .2s, transform .2s;
  white-space:nowrap;
}
.ict-btn span{font-size:13px;}
.ict-btn:hover{opacity:.85; transform:translateY(-2px);}
.ict-btn-navy{background:var(--c-navy); color:#fff !important;}
.ict-btn-blue{background:var(--c-blue); color:#fff !important;}
.ict-btn-orange{background:var(--c-orange); color:#fff !important;}
.ict-btn-orange{background:var(--c-orange); color:#fff !important;}
.ict-btn-outline{
  background:#fff;
  color:var(--c-navy) !important;
  border:1px solid var(--c-navy);
}
.ict-link-arrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-weight:700;
  font-size:14px;
  text-decoration:none;
}
.ict-link-arrow:hover{opacity:.75;}
.oak-btn{
  display:inline-block;
  padding:14px 40px;
  border-radius:6px;
  font-weight:700;
  font-size:16px;
  text-decoration:none;
  transition:opacity .2s, transform .2s;
}
.oak-btn:hover{ opacity:.88; transform:translateY(-2px); }
.oak-btn-filled{
  background:var(--c-orange);
  color:#fff !important;
}
.oak-btn-outline{
  background:transparent;
  color:var(--c-orange) !important;
  border:2px solid var(--c-orange);
}
/* キーボード操作時のフォーカス表示 */
.ict-page a:focus-visible,
.ict-page summary:focus-visible{
  outline:3px solid var(--c-blue);
  outline-offset:3px;
  border-radius:4px;
}

/* ---------- 下層ページ用ヒーロー（斜めカット） ----------
   背景画像は HTML 側の style="--hero-img:url('…')" で指定します。
   ページごとの違いは変数で上書きします。
     --hero-max    … ヒーローの最大高さ（既定600px）
     --hero-w      … 文字エリアの最大幅（既定680px）
     --hero-lead-w … リード文の最大幅（既定none）            */
.ict-page .ict-sub-hero{
  max-height:var(--hero-max,600px);
  min-height:340px;
  padding:var(--sec-pt) 20px var(--sec-pb);
  display:flex;
  align-items:flex-start;
  overflow:hidden;
  background-image:var(--hero-img);
  background-size:100% auto;
  background-position:right center;
  background-repeat:no-repeat;
}
/* 斜め色面（左60%だけ。右側は下の背景画像が見える） */
.ict-sub-hero-shape{
  position:absolute;
  top:0;
  left:0;
  bottom:0;
  width:60%;
  background-image:url('http://ict-solutions.co.jp/wp-content/uploads/2026/10/bg_rblue_1.webp');
  background-size:cover;
  background-position:right center;
  background-repeat:no-repeat;
}
.ict-sub-hero-content{
  position:relative;
  z-index:2;
  width:100%;
  max-width:var(--hero-w,680px);
  padding:20px clamp(20px,4vw,80px);
}
.ict-sub-hero .ict-breadcrumb{
  font-size:14px;
  color:var(--c-navy);
  font-weight:700;
}
.ict-sub-hero .ict-breadcrumb a{ color:var(--c-navy); text-decoration:underline; }
.ict-sub-hero .ict-breadcrumb span{ margin:0 8px; color:var(--c-navy); font-weight:400; }
.ict-sub-hero .ict-eyebrow-left{ color:var(--c-navy); }
.ict-sub-hero-title{
  font-size:48px;
  font-weight:700;
  color:var(--c-text);
  margin:8px 0 40px;
}
.ict-sub-hero-lead{
  font-size:16px;
  line-height:2;
  max-width:var(--hero-lead-w,none);
  color:var(--c-text);
}

/* ---------- 「ICTソリューションズの強み」カード ---------- */
.ict-strength-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:20px;
  margin-top:50px;
}
.ict-strength-card{
  background:var(--c-white);
  border:1px solid var(--c-border);
  border-radius:var(--radius);
  padding:32px 20px;
  text-align:center;
}
.ict-strength-icon{
  width:44px;
  height:44px;
  object-fit:contain;
  margin-bottom:20px;
}
.ict-strength-card h3{
  font-size:15px;
  font-weight:700;
  color:var(--c-navy);
  margin-bottom:10px;
}
.ict-strength-card p{
  font-size:12px;
  color:var(--c-text-sub);
}

/* ---------- ご利用の流れ（02・03共通） ----------
   列数は --flow-cols で切り替え（既定6。複合機買取ページは5）。 */
.ict-flow-grid{
  position:relative;
  display:grid;
  grid-template-columns:repeat(var(--flow-cols,6),1fr);
  gap:16px;
  margin-top:50px;
}
/* アイコンの高さの位置に、全体をつなぐ点線を通す */
.ict-flow-grid::before{
  content:"";
  position:absolute;
  top:56px;
  left:5%;
  right:5%;
  border-top:2px dashed var(--c-border);
  z-index:1;
}
.ict-flow-item{
  position:relative;
  z-index:2;
  text-align:center;
}
.ict-flow-step{
  display:block;
  font-size:11px;
  font-weight:700;
  letter-spacing:.06em;
  color:var(--c-text-sub);
  margin-bottom:10px;
}
.ict-flow-icon{
  display:flex;
  align-items:center;
  justify-content:center;
  width:56px;
  height:56px;
  margin:0 auto 16px;
  background:var(--c-white);
  border-radius:50%;
}
.ict-flow-icon img{
  width:28px;
  height:28px;
  object-fit:contain;
}
.ict-flow-item h3{
  font-size:14px;
  font-weight:700;
  color:var(--c-navy);
  margin-bottom:8px;
}
.ict-flow-item p{
  font-size:12px;
  color:var(--c-text-sub);
}

/* ---------- 料金目安（価格表） ---------- */
.ict-pricing-lead{
  font-size:13px;
  line-height:1.9;
  color:var(--c-text-sub);
  text-align:left;
  margin:0 0 40px;
}
.ict-pricing-table{
  width:100%;
  border-collapse:collapse;
  table-layout:fixed;
  font-size:14px;
}
.ict-pricing-table th{
  width:50%;
  font-weight:700;
  color:#FFFFFF;
  text-align:left;
  padding:14px 20px;
  border-top:1px solid var(--c-border);
  border-bottom:1px solid var(--c-border);
}
.ict-pricing-table th:first-child{ background:#4496D3; }
.ict-pricing-table th:last-child{ background:#003F8E; }
.ict-pricing-table td{
  width:50%;
  padding:14px 20px;
  border-top:1px solid var(--c-border);
  border-bottom:1px solid var(--c-border);
  color:var(--c-text);
}
.ict-pricing-table td:first-child{ background:#EAF2FC; }
.ict-pricing-table td:last-child{ background:#FFFFFF; }
.ict-pricing-notes{
  list-style:none;
  margin:20px 0 0;
  padding:0;
  font-size:12px;
  line-height:1.8;
  color:var(--c-text-sub);
}

/* ---------- よくあるご質問（アコーディオン）----------
   <details>/<summary> なので JS なしでも開閉できます。
   JS を読み込んでいる場合は、開閉がなめらかにアニメーションします。 */
.ict-faq{
  max-width:720px;
  margin:0 auto;
}
.ict-faq-heading{
  font-size:18px;
  font-weight:700;
  color:var(--c-navy);
  text-align:left;
  margin:0 0 8px;
}
.ict-faq-item{
  border-bottom:1px solid var(--c-border);
}
.ict-faq-item summary{
  list-style:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:18px 4px;
  font-size:14px;
  font-weight:700;
  color:var(--c-navy);
  cursor:pointer;
}
.ict-faq-item summary::-webkit-details-marker{ display:none; }
.ict-faq-item summary::marker{ content:""; }
.ict-faq-q-icon{
  color:var(--c-blue);
  margin-right:8px;
}
.ict-faq-chevron{
  flex-shrink:0;
  width:12px;
  height:12px;
  border-right:2px solid var(--c-text-sub);
  border-bottom:2px solid var(--c-text-sub);
  transform:rotate(45deg);
  transition:transform .2s;
  margin-top:-4px;
}
.ict-faq-item[open] .ict-faq-chevron{
  transform:rotate(225deg);
  margin-top:4px;
}
.ict-faq-answer{
  padding:0 4px 20px 28px;
  font-size:13px;
  line-height:1.9;
  color:var(--c-text-sub);
}
.ict-faq-footer{
  text-align:center;
  font-size:13px;
  color:var(--c-text-sub);
  margin-top:24px;
}

/* ---------- CTAバー（ネイビー→ブルーの帯） ---------- */
.ict-page .ict-cta-bar{
  background:linear-gradient(120deg,var(--c-navy) 0%,#0B4FA8 55%,var(--c-blue) 100%);
  padding:0;
}
.ict-cta-bar-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:24px;
  padding:44px 20px;
}
.ict-cta-bar-left{
  display:flex;
  align-items:center;
  gap:20px;
}
.ict-cta-bar-icon{
  flex-shrink:0;
  width:56px;height:56px;
  border-radius:50%;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
}
.ict-cta-bar-left p{
  color:#fff;
  font-size:16px;
  font-weight:700;
  margin:0;
}

/* ============================================================
   動き（モーション）
   ------------------------------------------------------------
   ・「動きを減らす」設定のOS／ブラウザでは、すべて無効になります。
   ・スクロール連動のものは、共通JS（ict-common.js）が読み込まれている
     ときだけ有効です。読み込まれていなくても表示は崩れません。
   ============================================================ */
@keyframes ict-rise{
  from{opacity:0; transform:translateY(14px);}
  to{opacity:1; transform:none;}
}
@media (prefers-reduced-motion:no-preference){
  /* ヒーローの文字：ページ表示時に上から順にふわっと表示（CSSのみ） */
  .ict-sub-hero-content > *,
  .ict-hero-text-inner > *{
    animation:ict-rise .8s cubic-bezier(.22,.8,.3,1) both;
  }
  .ict-sub-hero-content > *:nth-child(2),
  .ict-hero-text-inner > *:nth-child(2){animation-delay:.08s;}
  .ict-sub-hero-content > *:nth-child(3),
  .ict-hero-text-inner > *:nth-child(3){animation-delay:.16s;}
  .ict-sub-hero-content > *:nth-child(4),
  .ict-hero-text-inner > *:nth-child(4){animation-delay:.24s;}
  .ict-sub-hero-content > *:nth-child(n+5),
  .ict-hero-text-inner > *:nth-child(n+5){animation-delay:.32s;}

  /* スクロールで画面に入ったとき：カード類が順番に表示される */
  .ict-js .ict-reveal{
    opacity:0;
    transform:translateY(18px);
    transition:opacity .7s ease, transform .7s cubic-bezier(.22,.8,.3,1);
    transition-delay:var(--ict-d,0ms);
  }
  /* 隠す瞬間はアニメーションさせず、一瞬で透明にする（最初から見えている要素でも動いて見せるため） */
  .ict-js .ict-reveal:not(.is-visible){
    transition:none;
  }
  .ict-js .ict-reveal.is-visible{
    opacity:1;
    transform:none;
  }
}

/* ホバーできる端末（マウス）だけで、カードを少し持ち上げる */
@media (hover:hover) and (prefers-reduced-motion:no-preference){
  .ict-strength-card,
  .ict-flow-icon{
    transition:transform .25s ease, box-shadow .25s ease;
  }
  .ict-strength-card:hover{
    transform:translateY(-4px);
    box-shadow:0 14px 30px rgba(10,42,102,.10);
  }
}

/* ============================================================
   レスポンシブ（共通部分）
   ============================================================ */
@media (max-width:900px){
  .ict-page{
    --sec-pt:32px;
    --sec-pb:88px;
    word-break:auto-phrase;      /* 日本語を文節単位で改行（対応ブラウザのみ） */
  }
  .ict-page .ict-sec--compact{--sec-pt:32px;--sec-pb:32px;}
  .ict-page .ict-sec--mid{--sec-pt:64px;--sec-pb:64px;}
  .ict-page .ict-sec--top-lg{--sec-pt:72px;}

  .ict-heading,
  .ict-lead{ text-wrap:balance; }
  .ict-lead{ margin-bottom:36px; }
  .ict-lead-2{ margin-bottom:32px; }

  /* 下層ヒーロー：斜めカットを解除し「画像 → 文字」の縦積みにする */
  .ict-page .ict-sub-hero{
    flex-direction:column;
    align-items:stretch;
    min-height:0;
    max-height:none;
    padding:0;
    background-image:none;
  }
  .ict-sub-hero::before{
    content:"";
    display:block;
    aspect-ratio:16/9;
    background-image:var(--hero-img);
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
  }
  .ict-sub-hero-shape{ display:none; }
  .ict-sub-hero-content{
    max-width:none;
    background:var(--c-white);
    padding:28px 24px 36px;
  }
  .ict-sub-hero .ict-breadcrumb{ font-size:12px; margin-bottom:6px; }
  .ict-sub-hero .ict-breadcrumb span{ margin:0 6px; color:var(--c-text-sub); }
  .ict-sub-hero .ict-eyebrow-left{ color:var(--c-blue); }
  .ict-eyebrow-hero{ margin-top:16px; margin-bottom:0; font-size:13px; }
  .ict-sub-hero-title{
    font-size:clamp(26px,6.4vw,40px);
    line-height:1.45;
    margin:6px 0 20px;
  }
  .ict-sub-hero-lead{
    font-size:14px;
    line-height:1.9;
    max-width:none;
    color:var(--c-text-sub);
  }

  /* 強みカード */
  .ict-strength-grid{ grid-template-columns:repeat(3,1fr); }

  /* ご利用の流れ */
  .ict-flow-grid{ grid-template-columns:repeat(3,1fr); row-gap:40px; }
  .ict-flow-grid::before{ display:none; }

  /* CTAバー */
  .ict-cta-bar-inner{ justify-content:center; text-align:center; }
  .ict-cta-bar-left{ flex-direction:column; gap:14px; }
}

@media (max-width:600px){
  .ict-page{
    --sec-pt:28px;
    --sec-pb:64px;
  }
  .ict-page .ict-sec--compact{--sec-pt:28px;--sec-pb:28px;}
  .ict-page .ict-sec--mid{--sec-pt:48px;--sec-pb:48px;}
  .ict-page .ict-sec--top-lg{--sec-pt:56px;}

  /* PC用の手動改行は、スマホでは無効にして自然に折り返す */
  .ict-lead br,
  .ict-lead-2 br,
  .ict-heading br,
  .ict-sub-hero-lead br,
  .ict-faq-answer br{ display:none; }

  .ict-heading{
    font-size:clamp(20px,5.6vw,24px);
    padding-bottom:14px;
    margin-bottom:16px;
  }
  .ict-heading-no-bar{ padding-bottom:24px; }
  .ict-eyebrow{ font-size:12px; }
  .ict-lead{ margin-bottom:28px; }

  /* ボタンは折り返し可・押しやすい大きさに */
  .ict-btn{
    white-space:normal;
    justify-content:center;
    text-align:center;
    padding:14px 22px;
  }
  .oak-btn{ padding:14px 28px; }

  .ict-sub-hero-content{ padding:24px 20px 32px; }

  /* 強みカード：横並び（アイコン左・文章右）の1列に */
  .ict-strength-grid{ grid-template-columns:1fr; gap:12px; margin-top:32px; }
  .ict-strength-card{
    display:flex;
    align-items:center;
    gap:16px;
    text-align:left;
    padding:18px 16px;
  }
  .ict-strength-icon{ margin:0; flex-shrink:0; }
  .ict-strength-card h3{ margin:0; }

  /* ご利用の流れ：縦のタイムライン */
  .ict-flow-grid{ grid-template-columns:1fr; row-gap:0; margin-top:32px; }
  .ict-flow-item{
    display:grid;
    grid-template-columns:56px 1fr;
    column-gap:16px;
    align-content:start;
    text-align:left;
    padding-bottom:28px;
  }
  .ict-flow-item:not(:last-child)::after{
    content:"";
    position:absolute;
    left:27px;
    top:64px;
    bottom:8px;
    border-left:2px dashed var(--c-border);
  }
  .ict-flow-icon{
    grid-column:1;
    grid-row:1 / span 3;
    margin:0;
    border:1px solid var(--c-border);
  }
  .ict-flow-step,
  .ict-flow-item h3,
  .ict-flow-item p{ grid-column:2; }
  .ict-flow-step{ margin-bottom:2px; }

  /* 価格表 */
  .ict-pricing-table{ font-size:13px; }
  .ict-pricing-table th,
  .ict-pricing-table td{ padding:10px 12px; }

  /* FAQ */
  .ict-faq-item summary{ padding:16px 2px; }
  .ict-faq-answer{ padding:0 2px 18px 24px; }

  /* CTAバー：ボタンを横いっぱいに */
  .ict-cta-bar-inner{ padding:36px 20px; }
  .ict-cta-bar-inner > .ict-btn{ width:100%; }
}

/* ============================================================
   【C】お問い合わせフォーム：レスポンシブ補足（追記）
   ------------------------------------------------------------
   ・上の「ICTソリューションズ お問い合わせフォーム」の続きです。
   ============================================================ */
/* フォームが <center> の中でも、幅いっぱい（最大840px）に広がって中央に配置されるようにする */
.ict-form{
  width:100%;
  margin-left:auto;
  margin-right:auto;
}

@media (max-width:900px){
  .ict-form__row{ grid-template-columns:160px 1fr; }
  .mw_wp_form_confirm .ict-form__row{ grid-template-columns:160px 1fr; }
}

@media (max-width:640px){
  /* iPhoneは文字サイズが16px未満の入力欄をタップすると画面が勝手に拡大されるため、16pxにする */
  .ict-form__field input[type="text"],
  .ict-form__field input[type="email"],
  .ict-form__field input[type="tel"],
  .ict-form__field textarea{ font-size:16px; }
  .ict-form__row,
  .mw_wp_form_confirm .ict-form__row{ grid-template-columns:1fr; }
  .ict-form__row{ margin-bottom:22px; }
  .ict-form__label{ flex-wrap:wrap; }
  .ict-form__privacy{ padding:16px 16px; }
  /* 確認画面：ラベル行と値行の境界線を整える */
  .mw_wp_form_confirm .ict-form__label{ padding:12px 16px 8px; }
  .mw_wp_form_confirm .ict-form__field{ padding:8px 16px 16px; }
  .ict-form .ict-btn{ width:100%; }
}

/* 入力中の行をわずかに強調（共通JSが is-focus を付けます） */
.ict-form__row.is-focus .ict-form__label{ color:var(--blue); transition:color .2s; }


/* ============================================================
   【D】フッター（全ページ共通）
   ------------------------------------------------------------
   ・「00_サイト共通CSS」の末尾に追記してください。
   ・色の変数（--c-navy など）は共通CSSの :root を使っています。
   ============================================================ */
.ict-footer{
  position:relative;
  width:100vw;
  left:50%;
  margin-left:-50vw;
  box-sizing:border-box;
  padding:56px 5% 28px;
  color:#fff;
  font-family:var(--font-jp);
  line-height:1.8;
  background:
    url('http://ict-solutions.co.jp/wp-content/uploads/2026/10/toppage_bg.webp') center/cover no-repeat,
    var(--c-navy);
}
.ict-footer *{box-sizing:border-box;}
.ict-footer__inner{
  max-width:1100px;
  margin:0 auto;
  display:grid;
  grid-template-columns:2fr 1fr 1fr;     /* 元の 50% : 25% : 25% と同じ比率 */
  gap:32px 40px;
}
.ict-footer__logo{display:inline-block;margin-bottom:20px;}
.ict-footer__logo img{display:block;width:180px;max-width:100%;height:auto;}
.ict-footer__address{
  font-style:normal;
  font-size:14px;
  line-height:2;
  color:rgba(255,255,255,.8);
}
.ict-footer__title{
  margin:0 0 10px;
  padding:0;
  border:none;
  font-size:16px;
  font-weight:300;
  letter-spacing:1px;
  color:#fff;
}
.ict-footer__nav ul{
  list-style:disc;
  margin:0;
  padding-left:1.2em;
  font-size:14px;
}
.ict-footer__nav li{margin:0 0 6px;list-style:disc;display:list-item;}
.ict-footer a{
  color:#fff;
  text-decoration:none;
}
.ict-footer__nav a:hover,
.ict-footer__address a:hover{text-decoration:underline;}
.ict-footer a:focus-visible{
  outline:3px solid #fff;
  outline-offset:3px;
  border-radius:3px;
}
.ict-footer__copy{
  max-width:1100px;
  margin:32px auto 0;
  padding-top:20px;
  border-top:1px solid rgba(255,255,255,.35);
  text-align:center;
  color:#fff;
}
.ict-footer__copy small{
  font-size:11px;
  letter-spacing:.2em;
}

@media (max-width:900px){
  .ict-footer{padding:44px 24px 24px;}
  .ict-footer__inner{grid-template-columns:1fr 1fr;}
  .ict-footer__brand{grid-column:1 / -1;}
}
@media (max-width:600px){
  .ict-footer__inner{grid-template-columns:1fr;gap:28px;}
  /* 指で押しやすいよう、リンクの高さを確保 */
  .ict-footer__nav a{display:inline-block;padding:6px 0;}
  .ict-footer__nav li{margin:0;}
  .ict-footer__copy{margin-top:28px;}
  .ict-footer__copy small{letter-spacing:.08em;}
}


/* ===== 404ページ専用 ===== */

/* メッセージ部分 */
.error404 .main-section-no-posts{
  text-align:center;
  padding:80px 20px 100px;
}

/* 大きな「404」の数字 */
.error404 .main-section-no-posts::before{
  content:"404";
  display:block;
  font-size:clamp(80px,16vw,160px);
  font-weight:700;
  line-height:1;
  letter-spacing:.04em;
  color:var(--c-accent,#000000);
  margin-bottom:24px;
}

.error404 .main-section-no-posts p{
  margin:0;
  font-size:clamp(16px,2.2vw,20px);
  font-weight:700;
  color:var(--c-text,#262627);
}

/* 補足文 */
.error404 .main-section-no-posts p::after{
  content:"URLが変更されたか、ページが削除された可能性があります。";
  display:block;
  margin-top:16px;
  font-size:14px;
  font-weight:400;
  color:var(--c-text-sub,#5B5F5E);
}