@charset "UTF-8";
/*
Theme Name: itc
Author: 株式会社アイ・ティ・シー
Author URI: https://www.e-itc.co.jp
Date: 2024-07
*/




/* ============================================================
   ITC Web Theme - サイト共通スタイル
   ============================================================ */

/* ----------------------------------------------------------
   ITC ブランドカラー変数
   ---------------------------------------------------------- */
body {
  --blue: #2563EB;
  --blue800: #193cb8;
  --blue-dark: #1D4ED8;
  --light-sky: #74d4ff;
  --pink: #e60076; /* pink-600 style.css em 用 */
  --navy:      #0D1B4E;
  --light-bg:  #EEF2FB;
  --itc-text:  #1A1A1A;
  --itc-sub:   #737373;
  --itc-bg:    #DCE1EF;
  --itc-border:#E5E7EB;
  --color_link: var(--blue); /* base.css a 用 */
  --btn:       var(--blue);   /* base.css .btn 用 */
  --ya_sen:    var(--itc-sub); /* base.css .faq 矢印用 */
  --tx_waku: var(--itc-border); /* base.css .tx_waku 用 */
  --tx_belt: var(--itc-text); /* base.css .tx_belt 用 */
  --tx_line: var(--itc-text); /* base.css .tx_line 用 */
  --tx_bar: var(--itc-text); /* base.css .tx_bar 用 */
}

/* ----------------------------------------------------------
   不足しているmargin-top ユーティリティ
   ---------------------------------------------------------- */
body .mt8  { margin-top: 8px; }
body .mt12 { margin-top: 12px; }
body .mt16 { margin-top: 16px; }
body .mt24 { margin-top: 24px; }
body .mt32 { margin-top: 32px; }

/* ----------------------------------------------------------
   背景ユーティリティ
   ---------------------------------------------------------- */
body .bg_light { background-color: var(--light-bg); }

/* ----------------------------------------------------------
   共通コンポーネント
   ---------------------------------------------------------- */

/* 画像プレースホルダー */
.img_placeholder {
  background: #D9E3F5;
  border-radius: 8px;
  width: 100%;
}

/* タグバッジ（カテゴリ等） */
.tag_badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--light-bg);
  color: var(--blue);
  border: 1px solid var(--blue);
  text-decoration: none;
}

/* ニュースバッジ */
.news_badge {
  display: inline-block;
  padding: 2px 12px;
  background: var(--light-bg);
  color: var(--blue);
  font-size: 1.2rem;
  border: 1px solid var(--blue);
  border-radius: 6px;
  text-decoration: none;
  flex-shrink: 0;
}
.icon48 {
  display: block;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
}
.icon60 {
  display: block;
  width: 60px;
  height: 60px;
  margin-bottom: 16px;
}

/* ----------------------------------------------------------
   Hero
   ---------------------------------------------------------- */
.home_hero { width: 100%; overflow: hidden; }

.home_hero_bg {
  position: relative;
  height: 600px;
  background: url('../assets/images/heroback_pc.webp') center / cover no-repeat;
  display: flex;
  align-items: center;
}
.home_hero_bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.15);
  z-index: 0;
}
.home_hero_inner {
  position: relative;
  z-index: 1;
}
.home_hero_inner h1,
.home_hero_inner p {
  color: #fff;
}


/* スマホ */
@media (max-width: 767px) {
  .home_hero_bg {
    height: 400px;
	background: url('../assets/images/heroback_sp.webp') center / cover no-repeat;
  }
	.home_hero_bg::before {
  background-color: rgba(0, 0, 0, 0.35);
}
}

/* ----------------------------------------------------------
   Stats
   ---------------------------------------------------------- */
.home_stats { padding: 36px 0; }

.home_stats_list li {
  padding: 16px 4px 12px;
  text-align: center;
  box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.home_stats_list em {
  display: block;
  font-style: normal;
  font-size: 12px;
  color: var(--itc-sub);
}
.home_stats_list strong {
  display: block;
  font-size: 40px;
  font-weight:bold;
  color: var(--blue800);
  line-height: 1;
}
.home_stats_list strong span { font-size: 18px; }

/* ----------------------------------------------------------
   Web・アプリ開発事業
   ---------------------------------------------------------- */
.home_service_intro_img .img_placeholder { height: 280px; border-radius: 12px; }

.home_service_grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media screen and (max-width: 767px) {
  .home_service_grid { grid-template-columns: 1fr; }
}
.home_service_card {
  padding: 32px;
  box-shadow: 0 1px 4px rgba(0,0,0,.05);
  border: 1px solid var(--itc-border);
  transition: box-shadow .2s;
}
.home_service_card:hover { box-shadow: 0 4px 16px rgba(37,99,235,.12); }
.home_service_icon { width: 56px; height: 56px; margin-bottom: 16px; }
.home_service_card h3 { color: var(--itc-text); margin: 0 0 10px; }

/* ----------------------------------------------------------
   業界別ソリューション
   ---------------------------------------------------------- */
.home_industry_card {
  padding: 28px 24px;
  box-shadow: 0 1px 4px rgba(0,0,0,.05);
  border: 1px solid var(--itc-border);
  transition: box-shadow .2s;
}
.home_industry_card:hover { box-shadow: 0 4px 16px rgba(37,99,235,.12); }

.home_industry_icon {
  display: block;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
}

.home_industry_card h3 { color: var(--itc-text); margin: 0 0 10px; }


/* ----------------------------------------------------------
   お問い合わせからの流れ
   ---------------------------------------------------------- */
.home_flow_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media screen and (max-width: 767px) {
  .home_flow_grid { grid-template-columns: 1fr; }
}
.home_flow_card {
  padding: 20px 28px 24px;
  border: 1px solid var(--itc-border);
  text-align: center;
}

.home_flow_icon {
  display: block;
  width: 80px;
  height: 80px;
  margin: 12px auto 12px;
}

/* ----------------------------------------------------------
   CASIO ADPS
   ---------------------------------------------------------- */
.home_adps {
  background:
    linear-gradient(120deg, rgba(41, 106, 203, 1) 0%, rgba(49, 186, 193, 0.7) 100%),
    url('../assets/images/bg_adps02.jpg') center / cover no-repeat;
}

.home_adps_logo {
  background: rgba(255,255,255,.08);
  padding: 32px;
}
.home_adps_logo img { width: 120px; height: auto; }

/* ----------------------------------------------------------
   home company
   ---------------------------------------------------------- */
.home_company {
  background:
    linear-gradient(120deg, rgba(41, 76, 203, 0.6) 0%, rgba(49, 186, 193, 0.6) 100%),
    url('../assets/images/hero_main.png') center / cover no-repeat;
	color:white;
}



/* ----------------------------------------------------------
   フッター お問い合わせ CTA
   ---------------------------------------------------------- */
.footer_cta_bg {
  background:
	  
    url('../assets/images/green-grassy-park.jpg') center / cover no-repeat;
}

/* ----------------------------------------------------------
   開発事例
   ---------------------------------------------------------- */
/* 開発事例：横並びフィーチャーカード（トップページ1件・一覧ページ複数件で共通利用） */
.works_feature_list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.works_feature_card {
  display: flex;
  align-items: stretch;
  overflow: hidden;

  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.works_feature_img {
  width: 44%;
  min-height: 320px;
  flex-shrink: 0;
}
.works_feature_img .img_placeholder { height: 100%; border-radius: 0; }
.works_feature_body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 40px;
}
.works_feature_title { color: var(--blue); margin: 8px 0 16px; }
@media screen and (max-width: 767px) {
  .works_feature_card { flex-direction: column; }
  .works_feature_img { width: 100%; min-height: 200px; }
  .works_feature_body { padding: 24px; }
}

/* ----------------------------------------------------------
   コラム
   ---------------------------------------------------------- */
.home_column_card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.home_column_card_img { aspect-ratio: 16 / 10; }
.home_column_card_img .img_placeholder { height: 100%; border-radius: 0; }
.home_column_card_img img { transition: transform 1s ease; }
.home_column_card:hover .home_column_card_img img { transform: scale(1.2); }
.home_column_card_title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.home_column_card_tag { border-radius: 6px; }
.home_column_card_excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ----------------------------------------------------------
   社員ブログ
   ---------------------------------------------------------- */
.home_staffblog_card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.home_staffblog_card_img { height: 200px; }
.home_staffblog_card_img .img_placeholder { height: 100%; border-radius: 0; }
.home_staffblog_card_img img { transition: transform 1s ease; }
.home_staffblog_card:hover .home_staffblog_card_img img { transform: scale(1.2); }
.home_staffblog_card_title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 開発事例詳細：概要テーブル（プロジェクト名・概要・クライアント情報など） */
.works_detail_table {
  border-top: 1px solid var(--itc-border);
}
.works_detail_row {
  display: flex;
  gap: 40px;
  padding: 20px 0;
  border-bottom: 1px solid var(--itc-border);
}
.works_detail_row dt {
  flex-shrink: 0;
  width: 180px;
  color: var(--itc-sub);
}
.works_detail_row dd {
  color: var(--itc-text);
}

/* 開発事例詳細：依頼内容・ご提案・成果セクション（テキスト＋右画像） */
.works_detail_section {
  display: flex;
  align-items: flex-start;
  gap: 60px;
  padding: 60px 0;
  border-top: 1px dashed var(--itc-border);
}
.works_detail_section:first-of-type { border-top: none; }
.works_detail_section_text { width: 55%; }


@media screen and (max-width: 767px) {
  .works_detail_row { flex-direction: column; gap: 4px; }
  .works_detail_row dt { width: 100%; }
  .works_detail_section { flex-direction: column; gap: 24px; padding: 40px 0; }
  .works_detail_section_text { width: 100%; }

}

/* よく開発するシステム */
.home_works_tags {
  padding: 20px 24px;
  box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.home_works_tags_label { color: var(--itc-sub); margin: 0 0 12px; }
.home_works_tags ul li a {
  display: inline-block;
  padding: 5px 14px;
  border: 1px solid var(--itc-border);
  border-radius: 100px;
  color: var(--itc-text);
  text-decoration: none;
  background: #fff;
  transition: border-color .15s, color .15s;
}
.home_works_tags ul li a:hover { border-color: var(--blue); color: var(--blue); }

/* ----------------------------------------------------------
   お客様の声
   ---------------------------------------------------------- */
.home_voice_card {
  overflow: hidden;
  box-shadow: 0 1px 6px rgba(0,0,0,.07);
}
.home_voice_img { background: #D9E3F5; }
.home_voice_img--person { background: #E5EAF5; }

.person_icon {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: #C0CCE8;
  border-radius: 50%;
  overflow: hidden;
}
.person_icon i { font-size: 56px; color: #8FA4CC; margin-bottom: -4px; }

.home_voice_body { padding: 20px 24px 28px; }
.home_voice_company { color: var(--itc-sub); }

.home_voice_hr {
  border: none;
  border-top: 1px solid var(--itc-border);
  margin: 12px 0;
}
.home_voice_title { color: var(--itc-text); margin: 0; }

/* ----------------------------------------------------------
   お知らせ
   ---------------------------------------------------------- */
.topics_list a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 4px;
  text-decoration: none;
  color: var(--itc-text);
  transition: color .15s;
  border-bottom: 1px solid var(--itc-border); 
}
.topics_list a:hover { color: var(--blue); }
.topics_list time {
  white-space: nowrap;
  flex-shrink: 0;
}

/* スマホ：日付＋バッジを左列にまとめ、タイトルを右側に複数行表示 */
@media screen and (max-width: 767px) {
  .topics_list a {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    column-gap: 16px;
    row-gap: 8px;
  }
  .topics_list time {
    grid-column: 1;
    grid-row: 1;
  }
  .topics_list .news_badge {
    grid-column: 1;
    grid-row: 2;
  }
  .topics_list a > .fs18 {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
  }
}
.topics p{
	margin-top:16px;
	line-height:2;
}

/* ----------------------------------------------------------
   サイドバー：カテゴリー
   ---------------------------------------------------------- */
/* wp_list_categories の件数表示（(144)等）がリンクの次の行に折り返されるため、
   リンクと件数を同じ行に並べる（区切り線はli側に移して全幅を維持） */
.cat_nav li {
  display: flex;
  align-items: baseline;
  gap: 6px;
  border-bottom: 1px solid #CCC;
}
.cat_nav li a {
  border-bottom: none;
}

/* ----------------------------------------------------------
   サイドバー：最近の記事
   ---------------------------------------------------------- */
.news_nav li a {
  font-weight: normal;
}

/* ----------------------------------------------------------
   会社案内
   ---------------------------------------------------------- */
.home_company { padding: 96px 0; }

.home_company_title {
  color: var(--itc-text);
  margin: 0;
}
.home_company_img { height: 260px;}

/* ----------------------------------------------------------
   パートナーバナー
   ---------------------------------------------------------- */
.home_partner_banner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 240px;
  height: 60px;
  padding: 0px;
  background: #fff;
  border: 1px solid var(--itc-border);
  box-shadow: 0 4px 14px rgba(0,0,0,.15); 
  transition: box-shadow .2s;
}
.home_partner_banner:hover { box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.home_partner_banner img { max-width: 100%; max-height: 100%; width: auto; height: auto; }

/* ----------------------------------------------------------
   CTA
   ---------------------------------------------------------- */
.home_cta {
  background: url('../assets/images/hero_main.png') center / cover no-repeat;
  position: relative;
}
.home_cta_overlay {
  background: linear-gradient(110deg, rgba(13,27,78,.82) 0%, rgba(20,50,120,.70) 100%);
  padding: 80px 0;
}
.home_cta_inner {
  text-align: center;
}
.home_cta_title {
  letter-spacing: .08em;
  margin: 0;
}
.home_cta_body {
  line-height: 1.75;
  margin: 0;
}
.home_cta_label {
  letter-spacing: .04em;
  margin: 0 0 4px;
}
.home_cta_tel {
  margin: 0;
  letter-spacing: .02em;
}
.home_cta_tel i { font-size: .7em; margin-right: 8px; }
.home_cta_btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--blue);
  text-decoration: none;
  transition: background .18s;
}
.home_cta_btn:hover { background: var(--blue-dark); }

/* ----------------------------------------------------------
   個人情報保護方針ページ（固定ページ slug: privacy）
   ※本文は page.php の .frame 内に出力される（幅指定は不要）
   ---------------------------------------------------------- */
.privacy { line-height: 1.9; color: #4d4d4d; padding: 20px 0 80px; }
.privacy p { margin-bottom: 20px; }

/* 大見出し（１．〜７．）：濃グレーの帯 */
.privacy_belt { background: #4d4d4d; color: #fff; font-weight: bold; font-size: 18px; padding: 12px 18px; margin: 48px 0 20px; }

/* 中見出し（1)〜5)）：下線付き */
.privacy_sub { font-weight: bold; font-size: 16px; color: #222; border-bottom: 1px solid #ccc; padding-bottom: 8px; margin: 32px 0 16px; }

/* 中点リスト */
.privacy_list { list-style: none; margin: 0 0 20px; padding: 0; }
.privacy_list li { padding-left: 1.1em; text-indent: -1.1em; margin-bottom: 6px; }
.privacy_list li::before { content: "・"; }

/* 窓口ラベル（赤） */
.privacy_label { color: #d9004f; font-weight: bold; margin: 28px 0 14px; }

/* 連絡先など行間を詰めるブロック */
.privacy_info { margin-bottom: 24px; }
.privacy_info p { margin-bottom: 4px; }

/* PDFアイコン */
.privacy_pdf { color: #d33; margin: 0 .25em; }

/* 署名（右寄せ） */
.privacy_sign { text-align: right; margin-top: 48px; line-height: 2; }

@media screen and (max-width: 767px) {
  .privacy_belt { font-size: 16px; }
}

/* ----------------------------------------------------------
   セクション見出し（左寄せ＋グラデーションバー）
   ---------------------------------------------------------- */
.section_head { margin-bottom: 40px; }
.section_head_bar {
  width: 200px;
  height: 6px;
  margin-top: 16px;
  border-radius: 100px;
  background: linear-gradient(to right, var(--itc-text) 0%, var(--itc-text) 25%, var(--itc-border) 25%, var(--itc-border) 100%);
}

/* ----------------------------------------------------------
   チェックリスト（青チェックボックスアイコン）
   ---------------------------------------------------------- */
ul.tx_check_box { list-style: none; margin: 0; padding: 0; }
.tx_check_box li {
  line-height: 1.6;
  background: url(images/check_box.svg) left top 0.1em no-repeat;
  background-size: 1.6em;
  padding: 0.2em 0 0.2em 2.2em;
}
.tx_check_box li + li { margin-top: 4px; }

/* ----------------------------------------------------------
   導入までの流れ（ステップフロー）
   ---------------------------------------------------------- */
.step_flow {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 32px 0;
  border-top: 1px dashed var(--itc-border);
}
.step_flow:first-child { border-top: none; padding-top: 0; }
.step_flow_no {
  flex-shrink: 0;
  width: 70px;
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
  color: var(--blue);
  text-align: center;
}
.step_flow_body { width: 100%; }
.step_flow_img { flex-shrink: 0; width: 220px; border-radius: 8px; overflow: hidden; }
.step_flow_img .img_placeholder { height: 140px; }
@media screen and (max-width: 767px) {
  .step_flow { flex-wrap: wrap; gap: 16px; }
  .step_flow_img { width: 100%; order: -1; }
  .step_flow_no { width: 50px; font-size: 40px; }
}

/* ----------------------------------------------------------
   お問い合わせフォーム（Contact Form 7）
   ---------------------------------------------------------- */
.wpcf7-form {
  margin-top: 24px;
}
.cf7_row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--itc-border);
}
.cf7_row_top { align-items: flex-start; }
.cf7_label {
  flex-shrink: 0;
  width: 220px;
  font-weight: 700;
}
.cf7_row_top .cf7_label { padding-top: 10px; }
.cf7_field { width: 100%; }
.req_badge {
  display: inline-block;
  padding: 2px 10px;
  margin-left: 4px;
  background: #E91E63;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 100px;
  vertical-align: middle;
}
.cf7_field .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}
.wpcf7-form-control.wpcf7-text,
.wpcf7-form-control.wpcf7-tel,
.wpcf7-form-control.wpcf7-email,
.wpcf7-form-control.wpcf7-select,
.wpcf7-form-control.wpcf7-textarea {
  width: 100%;
  max-width: 500px;
  padding: 10px 14px;
  border: 1px solid var(--itc-border);
  border-radius: 6px;
  font-size: 15px;
}
.wpcf7-form-control.wpcf7-textarea { max-width: none; min-height: 120px; }
#document-request { gap: 24px; }
.wpcf7-list-item-label { margin-left: 4px; }
[data-name="document-zip"].wpcf7-form-control-wrap,
[data-name="document-pref"].wpcf7-form-control-wrap {
  display: inline-block;
  width: auto;
}
[data-name="document-zip"] .wpcf7-form-control { width: 100px; max-width: 100px; }
[data-name="document-pref"] .wpcf7-form-control { width: 160px; max-width: 160px; }
.cf7_accordion { display: none; }
.cf7_address_row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
}
.cf7_address_label { flex-shrink: 0; width: 80px; color: var(--itc-sub); }
.cf7_zip_note { font-size: 13px; color: var(--itc-sub); }
.cf7_acceptance { display: flex; align-items: center; }
.cf7_privacy_link { margin-top: 8px; }
.cf7_submit_row { text-align: center; margin-top: 40px; }
.cf7_submit_row .wpcf7-form-control.wpcf7-submit {
  padding: 16px 64px;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}
.cf7_submit_row .wpcf7-form-control.wpcf7-submit:hover { background: var(--blue-dark); }
.wpcf7-not-valid-tip { display: block; margin-top: 4px; color: #E91E63; font-size: 13px; }
@media screen and (max-width: 767px) {
  .cf7_row { flex-direction: column; align-items: flex-start; gap: 8px; }
  .cf7_label { width: 100%; }
}

