/*
Theme Name: ユー計測株式会社 専用子テーマ
Theme URI: https://u-keisoku.co.jp/
Template: arkhe
Author: ユー計測株式会社
Author URI: https://u-keisoku.co.jp/
Description: 
Tags: 
Version: 1.12.0.1775611981
Updated: 2026-04-08

*/
div,
li,
p,
a,
span {
  font-family: "Noto Sans JP", sans-serif !important;
  font-optical-sizing: auto;
  font-style: normal;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: 'ヒラギノ明朝 Pro W3', 'Hiragino Mincho Pro', '游明朝', 'Yu Mincho', '游明朝体', 'YuMincho', 'ＭＳ Ｐ明朝', 'MS PMincho', serif;
}

/* ---------- メイン画像 ---------- */

div#n2-ss-2 .n2-font-52cad356fad6ead12b36dc9b00f9f710-hover {
  font-family: 'ヒラギノ明朝 Pro W3', 'Hiragino Mincho Pro', '游明朝', 'Yu Mincho', '游明朝体', 'YuMincho', 'ＭＳ Ｐ明朝', 'MS PMincho', serif !important;
  -webkit-text-stroke: 6px white;
  paint-order: stroke;
}

/* ------------ ページヘッダー関連 ------------ */
.c-pageTitle__main {
  color: #222;
  border-bottom: 1px solid #555;
}

@media (min-width: 1000px) {
  .c-pageTitle__main {
    text-align: left;
    width: 100%;
    margin: auto;
    font-size: 2.8rem;
  }

  .l-header[data-pcfix="0"],
  [data-scrolled="false"] .l-header[data-pcfix="1"] {
    background-color: #fff9;
  }
}


/* ------------ メインスライド ------------ */

@media (min-width: 768px) {
  .br_sp1 {
    display: none;
  }
}

@media (max-width: 680px) {
  .n2-ss-slider .n2-ss-text {
    font-size: 1.3rem !important;
  }

  div.n2-ss-slider {
    height: 320px !important;
  }

  div#n2-ss-2 .n2-font-52cad356fad6ead12b36dc9b00f9f710-hover {
    -webkit-text-stroke: 6px #fff !important;
  }
}


/* ------------ トップページ ------------ */
.top_seihin_1 .wp-block-image {
  padding: 20px !important;
  background-color: #fff !important;
  border: 1px solid #F9E9C2;
}

.top_seihin_1 .wp-block-vk-blocks-button {
  margin-top: 10px;
}

.top_seihin_1 h3 {
  display: flex;
  align-items: center;
  padding: .5em .7em;
  background-color: #fff;
  color: #333333;
  border: 1px solid #F9DB93;
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.top_seihin_1 h3::before {
  display: inline-block;
  width: 5px;
  height: 1.1em;
  margin-right: .5em;
  background-color: #FD6512;
  content: '';
}

.top_seihin_1.is-style-boundary-line.smb-items>.c-row>.c-row__col {
  border-left: 1px solid #F9E9C2 !important;
}

.top_seihin_1.is-style-boundary-line.smb-items>.c-row--margin>.c-row__col {
  padding-left: 15px !important;
  padding-right: 15px !important;
}

/* ------------ 固定ページ ------------ */

.bunsekiban_box1 figcaption {
  font-size: 0.9rem !important;
  background-color: #F7F3E9;
  padding: 10px;
  color: #000;
  border-radius: 30px;
}

@media (max-width: 680px) {
  .smb-section__title {
    font-size: 1.6rem !important;
  }
}


/* ---------- 製品情報 ---------- */
.page_navi_box a {
  font-size: 0.85rem;
}

.page_navi_box .c-row--margin {
  width: 98% !important;
  margin: auto !important;
}

.page_navi_box.is-style-boundary-line.smb-items>.c-row>.c-row__col {
  border-left: 1px solid #82C2FF;
}
@media (min-width: 768px) {
.service_col_lett_1{
    position: sticky;
  top: 80px; /* ヘッダー高さに合わせて調整 */
  align-self: flex-start;
}
}

@media (max-width: 680px) {
  .page_navi_box .has-text-align-center {
    text-align: left;
  }
}

/* ------------ サービスページ ------------ */
.service_col_left_1 {}

.service_col_right_1 {}

.s_col_left_1 {
  background-color: #f9f9f9;
  padding: 20px;
}

.s_col_right_1 {}

/* ------------ 採用情報ページ ------------ */
.btn_tel_1 .vk_button_link_txt{
  font-size: 1.6rem !important;
}

/* ------------ 投稿 ------------ */
.p-postList.-related.-type-list .p-postList__thumb {
    max-width: 240px;
    display: none;
}
.p-postList.-type-card .p-postList__thumb {
    display: none;
}
.c-bottomSection__title {
  background-color: #f6f6f6;
  padding: 15px;
  line-height: 100%;
}

.-related .p-postList__title {
    border-left: 5px solid #ccc;
    padding: 10px;
    line-height: 100%;
}

body.search .p-postList__title{
  font-size: 1.1rem;
}


/* ------------ ブロック ------------ */
.vk_borderBox.is-style-vk_borderBox-style-solid-kado-tit-inner,
.vk_borderBox.is-style-vk_borderBox-style-solid-kado-tit-onborder,
.vk_borderBox.is-style-vk_borderBox-style-solid-kado-iconFeature {
  border-width: 1px !important;
}

@media (max-width: 640px) {
  .c-container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}

/* ------------ パーツ ------------ */

.contact_p1 {
  font-size: 1.2rem;
}
.section_i1 h3 {
  background-color: #F7F3E9;
  padding: 10px 10px 10px 20px;
  margin-bottom: 20px;
}
.ft_wid1 ul{
  display: flex;
  flex-wrap: wrap;
}
.ft_wid1 ul li{
  width: 50%;
}

@media (min-width: 1024px) {
  .p_ps1 {
    text-align: center;
  }
}

/* ------------ 投稿 ------------ */

body.single h1{
  font-size: 1.8rem;
}


/* ------------ サイドバー ------------ */

#sidebar .widget_block {
  background-color: #fff;
  padding: 30px;
  border: 1px solid #cdcdcd;
}

#sidebar h2 {
  font-size: 1.1rem;
  border-left: 5px solid #E3A200;
  padding: 8px 5px 8px 8px;
  line-height: 100%;
}

.wp-block-search__label {
  font-size: 1.1rem;
  border-left: 5px solid #E3A200;
  padding: 8px 5px 8px 8px;
  line-height: 100%;
  margin-bottom: 15px;
  display: block;
}

/* ------------ 問い合わせページ ------------ */

.contact_item1 h3 {
  background-color: #F7F3E9;
  padding: 10px 10px 10px 20px;
  margin-bottom: 20px;
}

.wpcf7 form.invalid .wpcf7-response-output {
  border-color: #FFF;
  text-align: center;
  color: #ff0000;
  background-color: #fff0ee;
}

.wpcf7-list-item-label {
  font-size: 0.9rem;
  color: #333;
}

#form1>p.formb1>span>span>span>label>input[type=checkbox] {
  width: 15px;
  /* デフォルトは約13〜15px。ここで大きさを指定 */
  height: 15px;
  transform: scale(1.3);
  /* 拡大倍率で微調整も可能 */
  cursor: pointer;
  /* マウスカーソルをポインターに変更 */
}

.iframe_box1 {
  border: solid 1px #ccc;
  width: 100%;
  height: 270px;
  padding: 1.5em;
  overflow: auto;
  margin-top: 10px;
}

.iframe_box1_1 h4 {
  font-size: 1rem !important;
}

.iframe_box1 p {
  font-size: 0.8rem;
}

.iframe_box1 strong {
  display: block;
  margin: 10px 0;
  color: #111 !important;
}

.iframe_box1 ol {
  padding: 10px 0 10px 30px;
}

.toi_box1 {
  font-size: 0.8rem;
  padding: 10px;
}

.wpcf7 {
  margin: 0 !important;
  padding: 0 !important;
  border: 0px solid #ddd !important;
  background: #fff !important;
  font-size: auto !important;
}

.wpcf7 form {
  margin: 0 !important;
}

.textbox1 input.wpcf7-form-control.wpcf7-text {
  width: 240px;
  margin-left: 5px;
}

#form1 {
  overflow: hidden;
}

#form1 table {
  background-color: #fff;
}

#form1 th,
#form1 td {
  padding: 20px !important;
}

#form1 th {
  position: relative;
  width: 35%;
  text-align: left;
  font-weight: normal;
  vertical-align: middle;
}

div.wpcf7 .wpcf7-spinner {
  display: block;
}

#form1 .form_1 {
  background-color: #f39800;
  padding: 10px;
  color: #fff;
  text-align: center !important;
  margin-bottom: 20px;
}

#form1 .color-botton01 {
  width: 220px;
  margin: 20px auto;
  padding: 15px 5px;
  background-color: #f39800;
  text-align: center;
  border-radius: 30px;
}

#form1 .color-botton01 a {
  color: #fff;
}

@media (min-width: 768px) {
  .wpcf7 {
    width: 100% !important;
  }

  .toi_box1 {
    text-align: center;
  }
}

.wpcf7 {
  margin: 0px auto !important;
  padding: 0px !important;
  padding-bottom: 0px !important;
}

span.wpcf7-list-item {
  display: block !important;
  margin: 0 0 0 1em;
  width: 100%;
}

.must {
  position: absolute;
  right: 10px;
  top: 50%;
  width: 40px;
  height: 20px;
  margin-top: -10px;
  padding: 0;
  background: #DD0000;
  text-align: center;
  line-height: 20px;
  color: #FFF;
  font-size: 12px;
  font-weight: normal;
}

.must1 {
  margin-top: -15px;
  background: #DD0000;
  text-align: center;
  line-height: 20px;
  color: #FFF;
  font-weight: normal;
  padding: 1px 7px 2px;
  font-size: 10px;
}

.free {
  position: absolute;
  right: 10px;
  top: 50%;
  width: 40px;
  height: 20px;
  margin-top: -10px;
  padding: 0;
  background: #999;
  text-align: center;
  line-height: 20px;
  color: #FFF;
  font-size: 12px;
  font-weight: normal;
}

.free1 {
  width: 40px;
  padding: 2px 7px;
  background: #999;
  text-align: center;
  color: #FFF;
  font-size: 12px;
  margin: 0 5px;
}

input.wpcf7-form-control.wpcf7-text,
textarea.wpcf7-form-control.wpcf7-textarea {
  width: 100%;
  padding: 8px 15px;
  margin-right: 10px;
  margin-top: 10px;
  border: 1px solid #d0d5d8;
  border-radius: 3px;
}

textarea.wpcf7-form-control.wpcf7-textarea {
  height: 200px;
}

input.wpcf7-submit {
  padding: 10px 80px;
  background: #ff7b00;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}

.formb1 {
  padding: 20px;
  margin-top: 20px;
  font-size: 0.9rem;
  background-color: #ffefd6;
  text-align: center;
}

.formb2,
.formb3 {
  margin-top: 10px;
  text-align: center;
}

span.wpcf7-not-valid-tip,
.wpcf7-response-output.wpcf7-validation-errors {
  color: red;
  font-weight: 600;
}

.wpcf7-form-control.wpcf7c-btn-confirm {
  width: 350px;
  padding: 15px !important;
  color: #fff;
  font-size: 30px !important;
  font-weight: 600;
  border-radius: 50px !important;
  margin-top: 30px !important;
  background: #ffc86a !important;
  background: -moz-linear-gradient(top, #ffc86a 0%, #f39800 100%) !important;
  background: -webkit-linear-gradient(top, #ffc86a 0%, #f39800 100%) !important;
  background: linear-gradient(to bottom, #ffc86a 0%, #f39800 100%) !important;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffc86a', endColorstr='#f39800', GradientType=0) !important;
}

/* ---------- 入力してください。を上部へ フォーム全体 ---------- */
.wpcf7-form p {
  position: relative;
}

/* エラーメッセージ本体 */
.wpcf7-not-valid-tip {
  position: absolute;
  top: -1.6em;
  /* 入力欄の上 */
  left: 0;
  color: #e60000;
  font-size: 13px;
  font-weight: bold;
  line-height: 1.4;
  white-space: nowrap;
}

/* 入力欄に少し余白を確保（重なり防止） */
.wpcf7-form-control-wrap {
  display: block;
}

.wpcf7-not-valid-tip {
  margin-top: 10px;
}

.toi_select1 p {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.toi_select1 input.wpcf7-text {
  width: auto;
  max-width: 200px;
}

.toi_select1 .wpcf7-text {
  width: 100% !important;
}

/* 単位付き入力行 */
.toi_select1 p {
  display: flex;
  align-items: center;
  /* ← これが決定打 */
  gap: 8px;
  margin: 0;
}


/* ---------- ボタンデザイン ---------- */

/* ボタンを中央寄せする */
.btn_click1_wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  position: relative;
}

/* ボタン本体 */
.wpcf7-submit.btn_click1 {
  padding: 14px 36px 14px 58px;
  /* 左余白を広くする（アイコン用） */
  background: #f7931e;
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: .3s ease;
  position: relative;
  font-size: 1.3rem;
  border: 5px solid #FF6347;
}

/* アイコン（ラッパーに付ける ::before） */
.btn_click1_wrap::before {
  content: "\f0a4";
  /* 紙飛行機アイコン */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: calc(50% - 140px);
  /* ボタンの左位置に合わせる */
  top: 40%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  color: #fff;
  pointer-events: none;
  z-index: 5;
}

/* ホバー */
.wpcf7-submit.btn_click1:hover {
  background: #FF6347;
}


@media only screen and (max-width:480px) {
  #form1 {
    width: 96%;
    margin: auto;
  }

  #form1 th,
  #form1 td {
    width: 100% !important;
    display: block;
    border-top: none;
  }

  #form1 tr:first-child th {
    border-top: 1px solid #ddd;
  }

  .kojin_box {
    padding: 10px !important;
  }
}

/* ---------- 記事一覧全体 ---------- */
.custom-post-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

/* ---------- 各行 ---------- */
.custom-post-list .post-item {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #ddd;
  padding: 10px 0;
}

@media (max-width: 640px) {
  .custom-post-list .post-item {
    display: block;
  }
}

/* ---------- 日付 ---------- */
.custom-post-list .post-date {
  font-size: 0.9em;
  min-width: 120px;
  margin-right: 15px;
  color: #666;
}

/* ---------- タイトルエリア ---------- */
.custom-post-list .post-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

/* ---------- タイトルリンク ---------- */
.custom-post-list .post-title a {
  font-size: 1em;
  text-decoration: none;
  color: #333;
  transition: 0.2s;
}

.custom-post-list .post-title a:hover {
  color: #0073aa;
}

/* ---------- NEWマーク ---------- */
.custom-post-list .new-label {
  background: #e60012;
  color: #fff;
  font-size: 0.65em;
  padding: 2px 6px;
  border-radius: 3px;
}

/* ---------- カテゴリ共通 ---------- */
.custom-post-list .post-category {
  font-size: 0.7em;
  padding: 2px 6px;
  border-radius: 3px;
  color: #fff;
  white-space: nowrap;
}

/* ---------- カテゴリ別色 ---------- */
/* お知らせ */
.custom-post-list .cat-news {
  background: #0073aa;
}

/* セミナーのご紹介 */
.custom-post-list .cat-seminar {
  background: #28a745;
}

/* セミナーのご紹介 */
.custom-post-list .cat-blog {
  background: #d37f20;
}

/* その他（予備） */
.custom-post-list .cat-other {
  background: #666;
}