@charset "UTF-8";
/* ==================================================
 CSS変数
================================================== */
:root {
  /* ▼ フォントファミリー */
  --ff-01: Arial, "Hiragino Sans", "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "游ゴシック", YuGothic, "メイリオ", Meiryo, sans-serif;
  --ff-02: "Times New Roman", "游明朝", "Yu Mincho", "游明朝体", "YuMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "HiraMinProN-W3", "HGS明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;
  /* ▼ サイズ 375-1920 */
  --size-0-60: clamp(0px, -14.563px + 3.88vw, 60px);
  --size-5-10: clamp(5px, 3.786px + .32vw, 10px);
  --size-10-15: clamp(10px, 8.786px + .32vw, 15px);
  --size-10-20: clamp(10px, 7.573px + .65vw, 20px);
  --size-10-30: clamp(10px, 5.146px + 1.29vw, 30px);
  --size-15-20: clamp(15px, 13.786px + .32vw, 20px);
  --size-15-21: clamp(15px, 13.544px + .39vw, 21px);
  --size-15-24: clamp(15px, 12.816px + .58vw, 24px);
  --size-15-25: clamp(15px, 12.573px + .65vw, 25px);
  --size-15-30: clamp(15px, 11.359px + .97vw, 30px);
  --size-15-60: clamp(15px, 4.078px + 2.91vw, 60px);
  --size-16-20: clamp(16px, 15.029px + .26vw, 20px);
  --size-16-21: clamp(16px, 14.786px + .32vw, 21px);
  --size-16-24: clamp(16px, 14.058px + .52vw, 24px);
  --size-17-24: clamp(17px, 15.301px + .45vw, 24px);
  --size-18-21: clamp(18px, 17.272px + .19vw, 21px);
  --size-18-24: clamp(18px, 16.544px + .39vw, 24px);
  --size-18-26: clamp(18px, 16.058px + .52vw, 26px);
  --size-18-28: clamp(18px, 15.573px + .65vw, 28px);
  --size-19-32: clamp(19px, 15.845px + .84vw, 32px);
  --size-20-24: clamp(20px, 19.029px + .26vw, 24px);
  --size-20-30: clamp(20px, 17.573px + .65vw, 30px);
  --size-20-36: clamp(20px, 16.117px + 1.04vw, 36px);
  --size-20-40: clamp(20px, 15.146px + 1.29vw, 40px);
  --size-20-45: clamp(20px, 13.932px + 1.62vw, 45px);
  --size-20-50: clamp(20px, 12.718px + 1.94vw, 50px);
  --size-20-60: clamp(20px, 10.291px + 2.59vw, 60px);
  --size-20-120: clamp(20px, -4.272px + 6.47vw, 120px);
  --size-21-40: clamp(21px, 16.388px + 1.23vw, 40px);
  --size-24-30: clamp(24px, 22.544px + .39vw, 30px);
  --size-24-40: clamp(24px, 20.117px + 1.04vw, 40px);
  --size-25-45: clamp(25px, 20.146px + 1.29vw, 45px);
  --size-28-70: clamp(28px, 17.806px + 2.72vw, 70px);
  --size-30-40: clamp(30px, 27.573px + .65vw, 40px);
  --size-30-60: clamp(30px, 22.718px + 1.94vw, 60px);
  --size-30-66: clamp(30px, 21.262px + 2.33vw, 66px);
  --size-30-150: clamp(30px, .874px + 7.77vw, 150px);
  --size-34-40: clamp(34px, 32.544px + .39vw, 40px);
  --size-40-60: clamp(40px, 35.146px + 1.29vw, 60px);
  --size-40-80: clamp(40px, 30.291px + 2.59vw, 80px);
  --size-45-90: clamp(45px, 34.078px + 2.91vw, 90px);
  --size-45-120: clamp(45px, 26.796px + 4.85vw, 120px);
  --size-50-150: clamp(50px, 25.728px + 6.47vw, 150px);
  --size-60-90: clamp(60px, 52.718px + 1.94vw, 90px);
  --size-60-120: clamp(60px, 45.437px + 3.88vw, 120px);
  --size-70-270: clamp(70px, 21.456px + 12.94vw, 270px);
  --size-90-120: clamp(90px, 82.718px + 1.94vw, 120px);
  --size-180-270: clamp(180px, 158.155px + 5.83vw, 270px);
  --size-210-270: clamp(210px, 195.437px + 3.88vw, 270px);
  /* ▼ サイズ 375-1280 */
  --size-45-60: clamp(45px, 38.785px + 1.66vw, 60px);
  /* ▼ サイズ 801-1920 */
  --size-40-130: clamp(40px, -24.424px + 8.04vw, 130px);
  /* ▼ カラー */
  --tp: transparent;
  --logo-blue: #00529f;
  --logo-red: #e60024;
  --logo-red-tone-down: #d90f2f;
  --logo-green: #1eac4b;
  --logo-green-tone-down: #229d49;
  --logo-black: #231815;
  /* ▼ トランジション */
  --ts-02: all .2s ease;
  --ts-03: all .3s ease;
  --ts-04: all .4s ease;
  --ts-06: all .6s ease;
}

/* ==================================================
 TABLE OF CONTENTS
  - COMMON
    - レスポンシブ表示制御
    - ブロック
    - コンテンツ幅
    - 余白
    - フォント、テキスト
    - 色
    - 別タブ
    - dl表
    - 沿革
    - 名前
    - .engage
    - .frame
    - .btn
    - .bdb-green-red
  - LAYOUT
  - INDEX
  - PAGE
    - 共通
    // - 一覧
    - 会社概要
    - 品質管理・環境配慮・認証資格
    - 事業の特徴/数字で見るアストロ電機
    - 拠点案内
    - 実績・事例紹介
    - よくあるご質問
  - #side_col があるページは #side_col を追随
  - お問い合わせ
    - Contact Form 7
================================================== */
/* ==================================================
 COMMON
================================================== */
body {
  font-family: var(--ff-01) !important;
  font-weight: 500 !important;
  letter-spacing: 0.05em !important;
  color: var(--logo-black) !important;
}

a {
  color: var(--logo-black);
  transition: var(--ts-02);
}
a[href^="tel:"] {
  pointer-events: auto;
}

input[type=text],
input[type=email],
input[type=tel],
textarea {
  width: 100%;
  padding: 1em !important;
  font-size: 16px;
  background: #fff;
  border: 1px solid #fff !important;
  border-radius: 5px;
  transition: var(--ts-02);
}
input[type=text]:hover, input[type=text]:focus,
input[type=email]:hover,
input[type=email]:focus,
input[type=tel]:hover,
input[type=tel]:focus,
textarea:hover,
textarea:focus {
  border: 1px solid var(--logo-blue) !important;
  outline: none;
}

textarea {
  height: 180px !important;
}

table {
  width: 100%;
}

/* レスポンシブ表示制御 */
@media (min-width: 601px) {
  .sp-less {
    display: none !important;
  }
}
@media (min-width: 802px) {
  .tab-less {
    display: none !important;
  }
}
@media (min-width: 1101px) {
  .note-less {
    display: none !important;
  }
}
@media (min-width: 1281px) {
  .pc-less {
    display: none !important;
  }
}
@media (min-width: 1921px) {
  .fhd-less {
    display: none !important;
  }
}
@media (max-width: 600px) {
  .sp-more {
    display: none !important;
  }
}
@media (max-width: 801px) {
  .tab-more {
    display: none !important;
  }
}
@media (max-width: 1100px) {
  .note-more {
    display: none !important;
  }
}
@media (max-width: 1280px) {
  .pc-more {
    display: none !important;
  }
}
@media (max-width: 1920px) {
  .fhd-more {
    display: none !important;
  }
}
/* ブロック */
.flex,
.card,
.media {
  display: flex;
}

@media (max-width: 600px) {
  .media {
    flex-direction: column;
  }
}

.media-cont,
.media-tx {
  flex: 1;
}

.card {
  flex-direction: column;
  align-items: center;
}

.grid {
  display: grid;
}

.ai-s {
  align-items: start;
}

.ai-c {
  align-items: center;
}

.ai-e {
  align-items: end;
}

/* コンテンツ幅 */
.w-90p, .w-90p_mxw-1500, .w-90p_mxw-1350, .w-90p_mxw-1200, .w-90p_mxw-1080, .w-90p_mxw-900, .w-90p_mxw-660 {
  width: 90%;
  margin-inline: auto;
}

.w-90p_mxw-660 {
  max-width: 660px;
}

.w-90p_mxw-900 {
  max-width: 900px;
}

.w-90p_mxw-1080 {
  max-width: 1080px;
}

.w-90p_mxw-1200 {
  max-width: 1200px;
}

.w-90p_mxw-1350 {
  max-width: 1350px;
}

.w-90p_mxw-1500 {
  max-width: 1500px;
}

.w-100p, .w-100p_mxw-1500, .w-100p_mxw-1350, .w-100p_mxw-1200, .w-100p_mxw-1080, .w-100p_mxw-900, .w-100p_mxw-660 {
  width: 100%;
  margin-inline: auto;
}

.w-100p_mxw-660 {
  max-width: 660px;
}

.w-100p_mxw-900 {
  max-width: 900px;
}

.w-100p_mxw-1080 {
  max-width: 1080px;
}

.w-100p_mxw-1200 {
  max-width: 1200px;
}

.w-100p_mxw-1350 {
  max-width: 1350px;
}

.w-100p_mxw-1500 {
  max-width: 1500px;
}

/* 余白 */
.m-30-0 {
  margin: var(--size-15-30) 0;
}

.m-60-0 {
  margin: var(--size-30-60) 0;
}

.m-90-0 {
  margin: var(--size-45-90) 0;
}

.mt--60 {
  margin-top: calc(var(--size-30-60) * -1);
}

.mt-10 {
  margin-top: var(--size-5-10);
}

.mt-20 {
  margin-top: var(--size-10-20);
}

.mt-30 {
  margin-top: var(--size-15-30);
}

.mt-45 {
  margin-top: var(--size-20-45);
}

.mt-60 {
  margin-top: var(--size-30-60);
}

.mt-90 {
  margin-top: var(--size-45-90);
}

.mt-120 {
  margin-top: var(--size-45-120);
}

.mb-20 {
  margin-bottom: var(--size-10-20);
}

.mb-30 {
  margin-bottom: var(--size-15-30);
}

.mb-45 {
  margin-bottom: var(--size-20-45);
}

.mb-90 {
  margin-bottom: var(--size-45-90);
}

.mb-1e {
  margin-bottom: 1em;
}

.mb-2e {
  margin-bottom: 2em;
}

.ml-120 {
  margin-left: var(--size-45-120);
}

.p-60 {
  padding: var(--size-30-60);
}

.p-120 {
  padding: var(--size-45-120);
}

.p-60-0 {
  padding: var(--size-30-60) 0;
}

.p-90-0 {
  padding: var(--size-45-90) 0;
}

.p-120-0 {
  padding: var(--size-45-120) 0;
}

.pt-30 {
  padding-top: var(--size-15-30);
}

.pt-60 {
  padding-top: var(--size-30-60);
}

.pt-90 {
  padding-top: var(--size-45-90);
}

.pt-120 {
  padding-top: var(--size-45-120);
}

.pb-60 {
  padding-bottom: var(--size-30-60);
}

.pb-90 {
  padding-bottom: var(--size-45-90);
}

.pb-120 {
  padding-bottom: var(--size-45-120);
}

/* フォント、テキスト */
.post_content:has(#page-works) {
  overflow: visible;
}
#page_contents .post_content {
  max-width: none;
  padding: 0;
}
.post_content h1,
.post_content h2,
.post_content h3,
.post_content h4,
.post_content h5,
.post_content h6 {
  margin-bottom: 1em;
  line-height: 1.75;
  color: var(--logo-black) !important;
}
.post_content h1 {
  font-size: var(--size-21-40) !important;
}
.post_content h2 {
  font-size: var(--size-20-36) !important;
}
.post_content h3 {
  font-size: var(--size-19-32) !important;
}
.post_content h4 {
  font-size: var(--size-18-28) !important;
}
.post_content h5 {
  font-size: var(--size-17-24) !important;
}
.post_content h6 {
  font-size: var(--size-16-20) !important;
}
.post_content .bdb-green-red {
  position: relative;
  margin-bottom: 0;
  padding-bottom: 0.25em;
  border-bottom: 3px solid var(--logo-red-tone-down);
}
.post_content .bdb-green-red::before {
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 3em;
  height: 3px;
  content: "";
  background: var(--logo-green-tone-down);
}
.post_content p {
  margin: 2em 0 0;
}
.post_content p:empty {
  display: none;
}
.post_content th {
  font-weight: 700;
}

.fz-13 {
  font-size: 13px;
}

.ff-serif {
  font-family: var(--ff-02);
}

.fw-600 {
  font-weight: 600;
}

.fw-700 {
  font-weight: 700;
}

.ta-c {
  text-align: center;
}

.ta-r {
  text-align: right;
}

/* 色 */
.bg-gray {
  background: #f7f7f7;
}

.c-logo-red-tone-down {
  color: var(--logo-red-tone-down);
}

/* 別タブ */
.blank-tab > * {
  background-image: url(../img/blank_tab.svg) !important;
  background-repeat: no-repeat !important;
}

.blank-tab-x > * {
  background-image: url(../img/blank_tab_x.svg) !important;
  background-repeat: no-repeat !important;
}

/* dl表 */
.base-table {
  border-top: 1px solid #ddd;
}
.base-table > dl {
  position: relative;
  display: grid;
  grid-template-columns: 15em 1fr;
  margin: 0;
}
@media (max-width: 801px) {
  .base-table > dl {
    display: block;
  }
}
.base-table > dl > dt,
.base-table > dl > dd {
  margin: 0;
  padding: 1.5em;
  border-bottom: 1px solid #ddd;
}
@media (max-width: 801px) {
  .base-table > dl > dt,
  .base-table > dl > dd {
    padding: 1em;
  }
}
@media (max-width: 600px) {
  .base-table > dl > dt,
  .base-table > dl > dd {
    padding: 0.75em;
  }
}
.base-table > dl > dt {
  color: var(--logo-blue);
}
@media (max-width: 801px) {
  .base-table > dl > dt {
    width: 100%;
    text-align: center;
    background: #f8f8f8;
  }
}
@media (max-width: 600px) {
  .base-table > dl > dt {
    border-top: var(--logo-blue);
    border-bottom: none;
  }
}
@media (max-width: 600px) {
  .base-table > dl > dd {
    border: none;
  }
}
.base-table > dl > dd dt {
  margin-bottom: 1em;
  padding: 0.75em 1em;
  line-height: 1.75;
  background: #f8f8f8;
  border-left: #ddd;
}
.base-table > dl > dd dd {
  margin-bottom: var(--size-30-60);
}
.base-table > dl > dd a {
  text-decoration: underline;
}
.base-table > dl > dd a:hover {
  text-decoration: none;
}
.base-table > dl > dd img {
  margin-bottom: 15px;
  border-radius: 30px;
}
.base-table iframe {
  width: 100%;
  height: 300px;
  margin-top: 20px !important;
}
@media (max-width: 801px) {
  .base-table iframe {
    height: 210px;
  }
}
.base-table ul {
  margin-bottom: 0;
}

/* 沿革 */
.history-table {
  position: relative;
  padding: 20px 0;
}
.history-table::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  content: "";
  background: var(--logo-blue);
}
@media (max-width: 801px) {
  .history-table::before {
    left: 10px;
  }
}
.history-table dl {
  position: relative;
}
.history-table dt,
.history-table dd {
  width: 50%;
}
@media (max-width: 801px) {
  .history-table dt,
  .history-table dd {
    width: 100%;
  }
}
.history-table dt:nth-of-type(odd),
.history-table dd:nth-of-type(odd) {
  padding-right: var(--size-30-60);
}
@media (max-width: 801px) {
  .history-table dt:nth-of-type(odd),
  .history-table dd:nth-of-type(odd) {
    padding: 0 0 0 50px;
  }
}
.history-table dt:nth-of-type(even),
.history-table dd:nth-of-type(even) {
  margin-left: auto;
  padding-left: var(--size-30-60);
}
@media (max-width: 801px) {
  .history-table dt:nth-of-type(even),
  .history-table dd:nth-of-type(even) {
    margin-left: 0;
    padding-left: 50px;
  }
}
.history-table dt {
  position: relative;
  font-size: 20px;
  line-height: 1.5;
}
@media (max-width: 801px) {
  .history-table dt {
    font-size: 13px;
  }
}
.history-table dt::before {
  position: absolute;
  top: 33px;
  width: 16px;
  height: 16px;
  content: "";
  background: var(--logo-blue);
  border-radius: 20px;
}
@media (max-width: 801px) {
  .history-table dt::before {
    top: 19px;
    width: 14px;
    height: 14px;
  }
}
.history-table dt::after {
  position: absolute;
  top: 40px;
  height: 2px;
  content: "";
  background: var(--logo-blue);
}
@media (max-width: 801px) {
  .history-table dt::after {
    top: 25px;
    width: 30px;
  }
}
.history-table dt:nth-of-type(odd)::before {
  right: -9px;
}
@media (max-width: 801px) {
  .history-table dt:nth-of-type(odd)::before {
    right: auto;
    left: 4px;
  }
}
.history-table dt:nth-of-type(odd)::after {
  right: 0;
  width: 270px;
}
@media (max-width: 801px) {
  .history-table dt:nth-of-type(odd)::after {
    right: auto;
    left: 10px;
    width: 30px;
  }
}
.history-table dt:nth-of-type(even)::before {
  left: -7px;
}
@media (max-width: 801px) {
  .history-table dt:nth-of-type(even)::before {
    left: 4px;
  }
}
.history-table dt:nth-of-type(even)::after {
  left: 0;
  width: var(--size-20-50);
}
@media (max-width: 801px) {
  .history-table dt:nth-of-type(even)::after {
    left: 10px;
    width: 30px;
  }
}
.history-table dt span {
  font-size: 2.6em;
}
.history-table dd {
  margin-bottom: 0;
}
@media (max-width: 801px) {
  .history-table dd {
    margin: -5px 0 10px 0;
  }
}
.history-table img {
  margin-top: 20px;
  border-radius: var(--size-20-30);
}
@media (max-width: 801px) {
  .history-table img {
    max-width: 300px !important;
    margin-top: 10px;
  }
}

/* 名前 */
.name dl {
  font-size: 1em;
  text-align: right;
}
.name dt {
  font-weight: 500;
}
.name dd {
  font-size: 1.4em;
}
.name span {
  margin-right: 1em;
  font-size: 0.7em;
}

/* .engage */
.engage-wrap {
  padding-bottom: var(--size-30-60);
}
.engage-wrap #engage-contributions-widget-wrapper {
  width: 90% !important;
  max-width: 600px;
  margin: var(--size-30-60) auto 0;
  box-shadow: 0 var(--size-5-10) var(--size-20-30) rgba(0, 0, 0, 0.3);
}
@media (max-width: 801px) {
  .engage-wrap #engage-contributions-widget-wrapper {
    max-width: 450px;
  }
}

/* .frame */
.frame {
  padding: var(--size-10-20) var(--size-20-40);
  background: #f8f8f8;
  border: 1px solid #000;
  border-radius: 15px;
}

/* .btn */
.btn {
  position: relative;
  display: inline-block;
  overflow: hidden;
  padding: var(--size-15-20) var(--size-40-60);
  text-decoration: none !important;
  background: var(--logo-blue);
}
.btn::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 120%;
  height: 100%;
  content: "";
  background: var(--logo-red-tone-down);
  transition: var(--ts-04);
  transform: translateX(-130%) skewX(-25deg);
}
.btn:hover::before {
  transform: translateX(-10%) skewX(-25deg);
}
.btn span {
  position: relative;
  font-weight: 700;
  color: #fff;
}

/* ==================================================
 LAYOUT
================================================== */
#header_logo img,
#header_logo2 img {
  width: var(--size-180-270);
  height: auto;
  max-height: none;
}

@media (max-width: 1280px) {
  #global_menu {
    right: 0;
  }
}

#global_menu > ul > li > a {
  font-size: 16px;
}
@media (max-width: 1280px) {
  #global_menu > ul > li > a {
    padding: 0 15px;
  }
}

#drawer_menu {
  background: var(--logo-black);
}

#footer_logo img {
  width: var(--size-210-270);
  height: auto;
}

/* ==================================================
 INDEX
================================================== */
.home .cb_design_content,
.home .cb_news_list {
  padding: var(--size-50-150) 0;
}
.home .cb_design_content:nth-child(even),
.home .cb_news_list:nth-child(even) {
  background: #f7f7f7;
}
.home .large_headline span {
  font-size: var(--size-30-66);
}
.home .sub_title span {
  font-size: var(--size-15-24) !important;
}
.home .sub_title span::first-letter {
  font-size: 1.25em;
  color: var(--logo-red-tone-down);
}
.home .shutter_image.link_ver .item .headline,
.home .shutter_image.link_ver .item .overlay {
  opacity: 1;
}
.home .shutter_image.link_ver .item .overlay {
  height: 33.3333333333%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0) 100%) !important;
}
.home .shutter_image.link_ver .post_list {
  transform: translate3d(0, 0, 0);
}
.home #cb_content_2 .shutter_image.col2 .item:last-child {
  display: none;
}
.home #cb_content_2 .shutter_image.col2 .item:first-child {
  width: 100%;
  aspect-ratio: 1240/450;
}
@media (max-width: 801px) {
  .home #cb_content_2 .shutter_image.col2 .item:first-child {
    aspect-ratio: 620/450;
  }
}
.home #cb_content_3 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: start;
}
@media (max-width: 801px) {
  .home #cb_content_3 {
    display: flex;
    flex-direction: column;
  }
}
.home #cb_content_3 .title_area,
.home #cb_content_3 .index-our-services {
  width: 100%;
}
.home #cb_content_3 .desc.post_content {
  display: none;
}
.home #cb_content_3 .index-our-services {
  margin-top: 45px;
  padding-left: 0;
}
@media (max-width: 801px) {
  .home #cb_content_3 .index-our-services {
    margin-top: 30px;
  }
}
.home #cb_content_3 .index-our-services br {
  display: none;
}
.home #cb_content_3 .shutter_image {
  width: 100%;
  padding: 0;
}
@media (max-width: 801px) {
  .home #cb_content_3 .shutter_image {
    margin-top: -10px;
    padding: 0 20px;
  }
}
.home #cb_content_3 .shutter_image.col2 .item:last-child {
  display: none;
}
.home #cb_content_3 .shutter_image.col2 .item:first-child {
  width: 100%;
}

/* ==================================================
 PAGE
================================================== */
/* 共通 */
@media (min-width: 802px) {
  #bread_crumb {
    margin-bottom: var(--size-40-130);
  }
}

@media (min-width: 802px) {
  #page_header .desc_area {
    margin-bottom: var(--size-40-130);
  }
}

:is(.design_header, .tcdce-body .design_header) .large_headline {
  font-size: var(--size-28-70) !important;
}

:is(.design_header, .tcdce-body .design_header) .sub_title span,
#archive_header .sub_title span {
  font-size: 21px;
  font-weight: 700;
  color: var(--logo-green-tone-down);
}

#page_header .catch {
  font-weight: 700;
  color: var(--logo-red-tone-down);
}
#page_header .catch + .desc a {
  text-decoration: underline;
  color: var(--logo-blue);
}
#page_header .catch + .desc a:hover {
  text-decoration: none;
}

#page_header .image {
  margin-bottom: var(--size-30-150);
}
@media (max-width: 600px) {
  #page_header .image {
    height: auto;
    aspect-ratio: 2/1;
  }
}

#page_contents {
  padding-bottom: 0;
}
#page_contents .shutter_image {
  margin: var(--size-20-50) 0 !important;
}

.sec-header h2 {
  margin: 0;
}
.sec-header .sub-title {
  margin: 0;
  font-size: var(--size-16-21);
  font-weight: 700;
  line-height: 1.75;
  text-align: center;
  color: var(--logo-red-tone-down);
}
.sec-header .sub-title::first-letter {
  font-size: 1.25em;
  color: var(--logo-green-tone-down);
}

.cta {
  margin-top: 3px;
  background: #ecf6ff;
}
@media (max-width: 1280px) {
  .cta {
    overflow: hidden;
    aspect-ratio: 2/1;
  }
}
@media (max-width: 1100px) {
  .cta {
    aspect-ratio: 2/1.5;
  }
}
@media (max-width: 600px) {
  .cta {
    aspect-ratio: initial;
  }
}
.cta .w-90p_mxw-1350 {
  position: relative;
}
@media (max-width: 1280px) {
  .cta .w-90p_mxw-1350 {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0;
  }
}
@media (max-width: 600px) {
  .cta .w-90p_mxw-1350 {
    padding: 120px 0 45px;
  }
}
.cta img {
  position: absolute;
  top: 0;
  left: 50%;
  height: 100%;
  transform: translateX(-50%);
}
@media (max-width: 1280px) {
  .cta img {
    right: -30%;
    left: auto;
    transform: none;
  }
}
@media (max-width: 1100px) {
  .cta img {
    right: -58%;
  }
}
@media (max-width: 600px) {
  .cta img {
    right: -150px;
    height: 60%;
  }
}
.cta .tx {
  position: relative;
  width: 50%;
  line-height: 2.25;
}
@media (max-width: 801px) {
  .cta .tx {
    width: 75%;
  }
}
@media (max-width: 600px) {
  .cta .tx {
    width: 100%;
  }
}
.cta .cta-contact {
  display: flex;
  flex-direction: column;
  gap: var(--size-15-25);
  align-items: center;
  margin-top: var(--size-10-30);
  padding: var(--size-20-30);
  background: #fff;
  border-radius: var(--size-10-15);
}
.cta h6 {
  font-size: var(--size-18-21);
  line-height: 1;
}
.cta .tel {
  gap: var(--size-5-10);
  align-items: center;
  color: var(--logo-green-tone-down);
}
.cta .tel svg {
  width: var(--size-18-24);
}
.cta .tel a {
  display: block;
  font-size: var(--size-30-40);
  font-weight: 700;
  line-height: 1;
  color: var(--logo-green-tone-down);
}
.cta .tel a:hover {
  color: var(--logo-red-tone-down);
}

/* 会社概要 */
#page-company .company .ta-c {
  margin: var(--size-10-30) 0 var(--size-20-30);
}
#page-company .clients .w-100p_mxw-900 p:first-child {
  margin-bottom: 30px;
}
#page-company .clients .base-table > dl {
  grid-template-columns: 18em 1fr;
}
#page-company .message {
  margin-bottom: var(--size-60-120);
  padding: var(--size-20-120);
}
#page-company .message .grid {
  grid-template-columns: repeat(2, 1fr);
  gap: var(--size-0-60);
  margin-top: var(--size-0-60);
}
@media (max-width: 1100px) {
  #page-company .message .grid {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
  }
}
#page-company .message .intro {
  font-size: var(--size-15-21);
  font-weight: 700;
  text-align: right;
  color: var(--logo-blue);
}
#page-company .message .intro span {
  display: block;
  font-size: var(--size-20-30);
  text-align: left;
}
#page-company .message .shutter_image {
  margin: 0;
}
#page-company .message .name {
  margin-top: 30px;
}

/* 品質管理・環境配慮・認証資格 */
#page-quality .certifications-list .w-100p_mxw-900 p:first-child {
  margin-top: 30px;
}
#page-quality .certifications-list table {
  margin-top: 30px;
}

/* 事業の特徴/数字で見るアストロ電機 */
@media (max-width: 1280px) {
  #page-features .features .w-90p_mxw-1350 {
    display: flex;
    flex-direction: column;
    gap: var(--size-40-80);
  }
}
#page-features .w-90p_mxw-1200 {
  counter-reset: num;
}
#page-features section {
  align-items: center;
  counter-increment: num;
}
@media (max-width: 1280px) {
  #page-features section {
    flex-direction: column !important;
    align-items: center !important;
  }
}
#page-features section:nth-child(odd) .tx {
  background: #fef3f5;
  border-left: 4px solid var(--logo-red-tone-down);
}
@media (max-width: 1280px) {
  #page-features section:nth-child(odd) .tx {
    border-top: 2px solid var(--logo-red-tone-down);
    border-left: none;
  }
}
#page-features section:nth-child(odd) .tx::before {
  left: 0;
  border-left: 30px solid var(--logo-red-tone-down);
}
@media (max-width: 1280px) {
  #page-features section:nth-child(odd) .tx::before {
    top: 0;
    left: 50%;
    border: 40px solid var(--tp);
    border-top: 20px solid var(--logo-red-tone-down);
    transform: translate(-50%, 0) !important;
  }
}
@media (max-width: 801px) {
  #page-features section:nth-child(odd) .tx::before {
    border: 30px solid var(--tp);
    border-top: 15px solid var(--logo-red-tone-down);
  }
}
#page-features section:nth-child(odd) .value dt {
  color: var(--logo-red-tone-down);
}
#page-features section:nth-child(even) {
  flex-direction: row-reverse;
}
#page-features section:nth-child(even) .tx {
  background: #e8faee;
  border-right: 4px solid var(--logo-green-tone-down);
}
@media (max-width: 1280px) {
  #page-features section:nth-child(even) .tx {
    border-top: 2px solid var(--logo-green-tone-down);
    border-right: none;
  }
}
#page-features section:nth-child(even) .tx::before {
  right: 0;
  border-right: 30px solid var(--logo-green-tone-down);
}
@media (max-width: 1280px) {
  #page-features section:nth-child(even) .tx::before {
    top: 0;
    right: 50%;
    border: 40px solid var(--tp);
    border-top: 20px solid var(--logo-green-tone-down);
    transform: translate(50%, 0) !important;
  }
}
@media (max-width: 801px) {
  #page-features section:nth-child(even) .tx::before {
    border: 30px solid var(--tp);
    border-top: 15px solid var(--logo-green-tone-down);
  }
}
#page-features section:nth-child(even) .value dt {
  color: var(--logo-green-tone-down);
}
#page-features .left-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 33.3333333333%;
}
@media (max-width: 1280px) {
  #page-features .left-header {
    width: 100%;
    margin-bottom: var(--size-10-30);
  }
  #page-features .left-header br {
    display: none;
  }
}
#page-features .left-header::before {
  position: absolute;
  left: 0;
  width: 100%;
  font-size: 270px;
  font-style: italic;
  font-weight: 700;
  text-align: center;
  color: #ecf6ff;
  content: counter(num);
}
@media (max-width: 1280px) {
  #page-features .left-header::before {
    position: static;
    width: auto;
    margin-right: 10px;
    font-size: var(--size-45-60);
    color: #d2e9ff;
  }
}
#page-features .left-header h2 {
  position: relative;
  font-size: var(--size-18-26) !important;
  font-weight: 700;
  text-align: center;
  color: var(--logo-blue) !important;
}
#page-features .tx {
  position: relative;
  flex: 1;
  padding: var(--size-20-60);
}
#page-features .tx::before {
  position: absolute;
  top: 50%;
  content: "";
  border: 60px solid var(--tp);
  transform: translateY(-50%);
}
#page-features .value {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: var(--size-15-30);
  padding: var(--size-15-30);
  background: rgba(255, 255, 255, 0.8);
}
#page-features .value dt {
  margin-bottom: var(--size-5-10);
  font-size: var(--size-16-20);
  text-align: center;
}
#page-features .numbers .ta-c {
  margin-top: var(--size-10-30);
}
#page-features .numbers .grid {
  grid-template-rows: 1fr;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: var(--size-25-45) 0;
}
@media (max-width: 1100px) {
  #page-features .numbers .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  #page-features .numbers .grid {
    display: flex;
    flex-direction: column;
  }
}
#page-features .numbers li {
  display: flex;
  align-items: center;
  aspect-ratio: 1/1;
  list-style: none;
  background: #fff;
}
@media (max-width: 600px) {
  #page-features .numbers li {
    aspect-ratio: initial;
    padding: 30px 0;
  }
}
#page-features .numbers dl {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
#page-features .numbers dt {
  font-size: var(--size-18-26);
  color: var(--logo-blue);
}
#page-features .numbers dd {
  display: flex;
  flex-direction: column;
  align-items: center;
}
#page-features .numbers dd p {
  margin: 0;
  font-size: var(--size-16-24);
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}
#page-features .numbers dd .big {
  font-size: var(--size-21-40);
  color: var(--logo-red-tone-down);
}
#page-features .numbers dd .small {
  font-size: 13px;
  line-height: 1;
}
#page-features .numbers svg {
  width: var(--size-90-120);
  height: var(--size-90-120);
  margin: var(--size-10-15) 0 var(--size-10-30);
  fill: #888;
  stroke-width: 0;
}

/* 拠点案内 */
#page-locations .nagano-prefecture .w-100p_mxw-900 {
  margin-top: 30px;
}
#page-locations .branch-list .shutter_image {
  margin-bottom: 10px !important;
}
#page-locations .branch-list .shutter_image .item {
  line-height: 0;
}
#page-locations .branch-list .grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (max-width: 1280px) {
  #page-locations .branch-list .grid {
    display: flex;
    flex-direction: column;
  }
}
#page-locations .branch-list section {
  padding: var(--size-20-60);
  background: #fff;
}
#page-locations .branch-list section h3 {
  font-size: var(--size-17-24) !important;
  text-align: center;
}
#page-locations .branch-list .base-table > dl {
  grid-template-columns: 9em 1fr;
}

/* 実績・事例紹介 */
#page-works .works .w-100p_mxw-1200 {
  margin-top: var(--size-20-60);
}
#page-works .works .flex {
  align-items: start;
  padding: var(--size-20-60);
  border-top: 1px solid #ddd;
}
@media (max-width: 801px) {
  #page-works .works .flex {
    flex-direction: column;
    padding: var(--size-20-60) 0 0;
  }
}
#page-works .works .flex header {
  position: sticky;
  top: 100px;
  flex: 1;
}
@media (max-width: 801px) {
  #page-works .works .flex header {
    position: static;
    width: 100%;
  }
}
@media (max-width: 801px) {
  #page-works .works .flex header .btn {
    margin-top: 15px;
  }
}
#page-works .works .flex header .btn::after {
  position: absolute;
  top: calc(50% - 8px);
  right: 30px;
  width: 10px;
  height: 10px;
  content: "";
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(135deg);
}
@media (max-width: 801px) {
  #page-works .works .flex header .btn::after {
    right: 16px;
  }
}
#page-works .works .flex h3 {
  font-size: var(--size-18-28) !important;
  color: var(--logo-blue) !important;
}
@media (max-width: 801px) {
  #page-works .works .flex h3 {
    margin-bottom: 0;
  }
  #page-works .works .flex h3 + p {
    margin-top: 0;
  }
  #page-works .works .flex h3 br {
    display: none;
  }
}
#page-works .works .flex .tx {
  flex: 1.8;
  margin-left: 60px;
}
@media (max-width: 801px) {
  #page-works .works .flex .tx {
    width: 100%;
    margin: 20px 0 0;
  }
}
#page-works .works .flex .bdb-green-red {
  font-size: var(--size-17-24) !important;
}
#page-works .works .flex .bdb-green-red + p {
  margin: 0;
  padding: 15px 0 30px 24px;
  line-height: 2;
}
@media (max-width: 801px) {
  #page-works .works .flex .bdb-green-red + p {
    padding: 10px 0 20px 18px;
  }
}
#page-works .case-details h3 {
  margin-top: var(--size-30-60);
  font-size: var(--size-18-28) !important;
  text-align: center;
  color: var(--logo-blue) !important;
}
#page-works .case-details .grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
@media (max-width: 1100px) {
  #page-works .case-details .grid {
    display: flex;
    flex-direction: column;
  }
}
#page-works .case-details .grid section {
  padding: var(--size-20-45);
  background: #fff;
}
#page-works .case-details h4 {
  font-size: var(--size-17-24) !important;
  text-align: center;
}
@media (max-width: 1100px) {
  #page-works .case-details h4 {
    margin-bottom: -1em;
  }
}

/* よくあるご質問 */
#page-faq .sec-header {
  margin-bottom: 30px;
}

/* ==================================================
 #side_col があるページは #side_col を追随
================================================== */
#main_content:has(#side_col) {
  align-items: start;
}
#main_content:has(#side_col) #side_col {
  position: sticky;
  top: 120px;
}
@media (max-width: 1100px) {
  #main_content:has(#side_col) #side_col {
    justify-content: center;
  }
  #main_content:has(#side_col) #side_col .widget_content {
    margin-right: 0;
  }
}

.widget_headline {
  background: var(--logo-blue);
}

/* ==================================================
 お問い合わせ
================================================== */
.contact-page-contents .mail-form-intro {
  text-align: center;
}
.contact-page-contents .mail-form-intro .for-phone {
  margin-bottom: var(--size-20-40);
  text-align: center;
}
.contact-page-contents .mail-form-intro .for-phone dt {
  font-size: var(--size-18-28);
  font-weight: 600 !important;
}
.contact-page-contents .mail-form-intro .for-phone br {
  display: none;
}
.contact-page-contents .mail-form-intro .for-phone dd p {
  margin-top: 0;
}
.contact-page-contents .mail-form-intro .for-phone dd p:first-child {
  margin-top: 10px;
}
.contact-page-contents .mail-form-intro .for-phone dd .memo p {
  margin-top: 0;
  font-size: 14px;
  line-height: 1.75;
  color: #555;
}
.contact-page-contents .mail-form-intro .for-phone dd .memo br {
  display: block;
}
.contact-page-contents .mail-form-intro .for-phone a {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--size-34-40);
  font-weight: 700;
  line-height: 1.75;
  color: var(--logo-blue);
  transition: var(--ts-02);
}
.contact-page-contents .mail-form-intro .for-phone a:hover {
  text-decoration: none;
  color: var(--logo-red-tone-down);
}
.contact-page-contents .mail-form-intro .for-phone svg {
  width: var(--size-20-24);
  height: var(--size-20-24);
  margin-right: 10px;
  color: var(--logo-green-tone-down);
}
.contact-page-contents .mail-form-intro ul {
  margin: 0 0 var(--size-20-40) 0;
}
.contact-page-contents .mail-form-intro li {
  font-size: 14px;
  font-weight: 700 !important;
  list-style: none;
}
.contact-page-contents .mail-form-intro .req {
  margin-right: 10px;
}
.contact-page-contents .mail-form-intro .desc {
  font-size: 14px;
}
@media (max-width: 600px) {
  .contact-page-contents .mail-form-intro .desc {
    text-align: left;
  }
}
.contact-page-contents .req {
  position: relative;
  top: -2px;
  display: inline-block;
  padding: 0 10px;
  font-size: 12px;
  line-height: 1.75;
  color: #fff;
  background: var(--logo-red-tone-down);
  border-radius: 100px;
}
.contact-page-contents fieldset dt p {
  margin: 0;
}
.contact-page-contents fieldset dd {
  margin-top: 0 !important;
}
.contact-page-contents .mb-20 {
  margin-bottom: var(--size-10-20) !important;
}
.contact-page-contents .privacy {
  overflow-y: scroll;
  height: 300px;
  margin: 45px 0 20px;
  padding: var(--size-15-30);
  background: #fff;
  border: #000;
}
.contact-page-contents .privacy h3,
.contact-page-contents .privacy h4 {
  margin: 15px 0 0 !important;
  font-size: var(--size-16-20) !important;
  font-weight: 500 !important;
}
.contact-page-contents .privacy h3:first-child,
.contact-page-contents .privacy h4:first-child {
  margin-top: 0 !important;
}
.contact-page-contents .privacy p {
  margin-top: 0;
  font-size: 13px;
  line-height: 1.75;
}
.contact-page-contents .complete-msg {
  margin-bottom: 120px;
}
.contact-page-contents .complete-msg a {
  margin: 0 10px;
}
.contact-page-contents .form-cont dt {
  font-weight: 600;
}
.contact-page-contents .form-cont fieldset dt {
  display: flex;
  align-items: center;
  font-size: 16px;
}
.contact-page-contents .form-cont .wpcf7-list-item {
  margin-left: 0;
  line-height: 2.2;
}
.contact-page-contents .form-cont dd {
  margin: 5px 0 0 20px;
}
.contact-page-contents .form-cont .req {
  margin-left: 5px;
}
.contact-page-contents .form-cont .note {
  display: block;
  margin-top: 10px;
  font-size: 0.8em;
  line-height: 1.75;
  color: #888;
}
.contact-page-contents .form-cont .agreement {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 15px;
}
@media (max-width: 600px) {
  .contact-page-contents .form-cont .agreement {
    flex-direction: column;
  }
  .contact-page-contents .form-cont .agreement dd {
    margin: 0;
  }
}
.contact-page-contents .form-cont .agreement .req {
  top: 0;
  margin-left: 0;
}
.contact-page-contents .wpcf7 {
  margin-bottom: var(--size-60-120) !important;
  padding: var(--size-20-40);
  background: #f8f8f8;
  border: none;
}
.contact-page-contents .wpcf7 form {
  margin: 0;
}
.contact-page-contents .wpcf7 select,
.contact-page-contents .wpcf7 .wpcf7-list-item-label {
  font-size: inherit;
}
.contact-page-contents .form-btns {
  justify-content: center;
  margin-top: 20px;
}
.contact-page-contents .form-btns .form-btn span {
  display: block;
}
.contact-page-contents .form-btns .form-btn input {
  display: inline-block;
  height: auto;
  margin: 10px;
  padding: 18px 50px;
  font-size: 18px;
  font-weight: 700 !important;
  letter-spacing: 0.1em;
  color: #fff;
  cursor: pointer;
  background: var(--logo-blue);
  border: 2px solid var(--logo-blue) !important;
  transition: var(--ts-02);
}
.contact-page-contents .form-btns .form-btn input:hover {
  color: var(--logo-blue);
  background: #fff;
}
.contact-page-contents .wpcf7-not-valid-tip,
.contact-page-contents .wpcf7-response-output {
  font-size: 14px;
  font-weight: 600;
  color: var(--logo-red-tone-down) !important;
}
.contact-page-contents .wpcf7-response-output {
  margin: 0 !important;
  padding: 10px !important;
  line-height: 1.75;
  color: #fff !important;
  background: var(--logo-red-tone-down);
}
.contact-page-contents:has(.wpcf7cp-form-hide) .wpcf7cp-form-hide,
.contact-page-contents:has(.wpcf7cp-form-hide) .mail-form-intro {
  display: none;
}
.contact-page-contents:has(.wpcf7cp-form-hide) #wpcf7cpcnf {
  position: static;
}
.contact-page-contents:has(.wpcf7cp-form-hide) #wpcf7cpcnf table,
.contact-page-contents:has(.wpcf7cp-form-hide) #wpcf7cpcnf tr,
.contact-page-contents:has(.wpcf7cp-form-hide) #wpcf7cpcnf th,
.contact-page-contents:has(.wpcf7cp-form-hide) #wpcf7cpcnf td {
  display: block;
  padding: 0;
  text-align: left;
  border: none;
}
.contact-page-contents:has(.wpcf7cp-form-hide) #wpcf7cpcnf tr + tr {
  margin-top: 20px;
}
.contact-page-contents:has(.wpcf7cp-form-hide) #wpcf7cpcnf th {
  font-weight: bold;
}
.contact-page-contents:has(.wpcf7cp-form-hide) #wpcf7cpcnf td {
  margin-left: 20px;
  background: var(--tp);
}
.contact-page-contents:has(.wpcf7cp-form-hide) #wpcf7cpcnf td p {
  line-height: 1.75;
}
.contact-page-contents:has(.wpcf7cp-form-hide) .wpcf7cp-btns {
  display: flex;
  justify-content: center;
}
@media (max-width: 600px) {
  .contact-page-contents:has(.wpcf7cp-form-hide) .wpcf7cp-btns {
    flex-direction: column-reverse;
    align-items: center;
  }
}
.contact-page-contents:has(.wpcf7cp-form-hide) .wpcf7cp-btns button {
  display: inline-block;
  width: auto;
  height: auto;
  margin: 10px;
  padding: 18px 50px;
  font-size: 18px;
  font-weight: 700 !important;
  letter-spacing: 0.1em;
  color: #fff;
  cursor: pointer;
  background: var(--logo-blue);
  border: 2px solid var(--logo-blue) !important;
  transition: var(--ts-02);
}
@media (max-width: 600px) {
  .contact-page-contents:has(.wpcf7cp-form-hide) .wpcf7cp-btns button {
    min-width: 230px;
  }
}
.contact-page-contents:has(.wpcf7cp-form-hide) .wpcf7cp-btns button:hover {
  color: var(--logo-blue);
  background: #fff;
}
.contact-page-contents:has(.wpcf7cp-form-hide) .wpcf7cp-btns .wpcf7cp-cfm-edit-btn {
  background: #999;
  border-color: #999 !important;
}
.contact-page-contents:has(.wpcf7cp-form-hide) .wpcf7cp-btns .wpcf7cp-cfm-edit-btn:hover {
  color: #999;
}

#page-contact .flow-list {
  margin: 30px 0 0;
  counter-reset: step;
}
@media (max-width: 801px) {
  #page-contact .flow-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }
}
#page-contact .flow-list li {
  position: relative;
  margin-top: 3px;
  list-style: none;
  counter-increment: step;
}
#page-contact .flow-list li::before {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  color: rgba(255, 255, 255, 0.3);
  content: counter(step);
}
#page-contact .flow-list li:last-child dl::before, #page-contact .flow-list li:last-child dl::after {
  display: none;
}
#page-contact .flow-list dl {
  position: relative;
  display: flex;
  background: #fff;
}
@media (max-width: 801px) {
  #page-contact .flow-list dl {
    flex-direction: column;
  }
}
#page-contact .flow-list dl::before {
  position: absolute;
  bottom: -50px;
  left: 50%;
  z-index: 1;
  content: "";
  border: 30px solid var(--tp);
  border-top: 20px solid #ddd;
  transform: translateX(-50%);
}
#page-contact .flow-list dt {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  aspect-ratio: 2/1;
  color: #fff;
  background: var(--logo-blue);
}
@media (max-width: 801px) {
  #page-contact .flow-list dt {
    aspect-ratio: initial;
    padding: 10px 0;
  }
}
#page-contact .flow-list dd {
  display: flex;
  flex: 2.5;
  flex-direction: column;
  justify-content: center;
  padding: 0 30px;
}
@media (max-width: 801px) {
  #page-contact .flow-list dd {
    padding: 20px;
  }
}/*# sourceMappingURL=child-custom-style.css.map */
