@charset "UTF-8";
/*
Theme Name: 協立電設興業
Description: 協立電設興業 オリジナルテーマ（テンプレ①／c2-1ベース）
Version: 2.0
*/
/* =========================================================
   協立電設興業 ― テンプレ①（c2-1）ベース
   青×黄／とっつきやすい丸み／見出しシグネチャ＝「ケーブル＆プラグ」
   BP: $pc:1441px / $tab:1024px / $sp:768px
   ※ style.scss と同内容（Sassコンパイル環境がない場合も style.css 単体で完結）
   ========================================================= */
:root {
  --blue: #1559B0;      /* メイン青（ロゴリング） */
  --navy: #17306A;      /* 紺（見出し・フッター） */
  --yellow: #FFC72C;    /* 差し色の黄 */
  --yellow-d: #E9A800;  /* 黄・濃（ボタン影） */
  --sky: #EEF5FC;       /* 薄青面 */
  --sky2: #DCEAF8;
  --ink: #2A3346;       /* 本文 */
  --mute: #5C6B85;
  --red: #D83B3B;       /* フォーム必須 */
  --white: #fff;
  --grad1: #2C74CC;
  --grad2: #143F86;
  --en: "Comfortaa", "Zen Maru Gothic", sans-serif;
  --jp: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif;
  --r: 14px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 100%; background: var(--white); }
body {
  font-family: var(--jp);
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
  line-height: 1.95;
  letter-spacing: .04em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul, ol { list-style: none; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px;
}
.wrap { width: min(1100px, 88%); margin: 0 auto; }
.en { font-family: var(--en); font-weight: 700; letter-spacing: .04em; }

/* ---------- 改行の工夫（段落ち対策） ---------- */
h1, h2, h3, h4, dt, summary, .ttl .ja, .lead, .fc_lead {
  word-break: auto-phrase;     /* 対応ブラウザは文節で改行 */
  text-wrap: balance;
}
p, dd, li, td { text-wrap: pretty; overflow-wrap: anywhere; word-break: auto-phrase; }   /* 本文も文節で折り返し（「分／電盤」のような切れ方を防ぐ） */
.ib { display: inline-block; }   /* 句読点単位で改行させる（functions.php kd_phrase） */
.nw { white-space: nowrap; }     /* 途中で割らない語（functions.php kd_nobr） */
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* ---------- シグネチャ：ケーブル＆プラグ見出し ---------- */
.ttl { position: relative; padding-bottom: 20px; margin-bottom: 30px; }
.ttl .en { display: block; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.25; color: var(--navy); }
.ttl .ja { display: block; font-size: clamp(14px, 1.15vw, 16px); font-weight: 700; color: var(--blue); letter-spacing: .12em; margin-top: 6px; padding-left: .15em; line-height: 1.6; }
.ttl::after { content: ""; position: absolute; left: 0; right: 24px; bottom: 8px; height: 2px; border-radius: 2px; background: var(--navy); }
.ttl::before {
  content: ""; position: absolute; right: 0; bottom: 1px; width: 28px; height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 16'%3E%3Crect x='1' y='1.5' width='17' height='13' rx='4.5' fill='%23FFC72C' stroke='%2317306A' stroke-width='1.6'/%3E%3Crect x='18' y='4' width='9' height='2.2' rx='1.1' fill='%2317306A'/%3E%3Crect x='18' y='9.8' width='9' height='2.2' rx='1.1' fill='%2317306A'/%3E%3C/svg%3E") no-repeat center / contain;
}
.ttl--c { text-align: center; display: inline-block; }
.ttl--c::after { left: -34px; right: -10px; }
.ttl--c::before { right: -38px; }
.ttl--w .en { color: #fff; }
.ttl--w .ja { color: var(--yellow); }
.ttl--w::after { background: #fff; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--blue); color: #fff; font-weight: 700; font-size: 15px; letter-spacing: .1em;
  padding: 12px 30px 12px 34px; border-radius: 999px; margin-top: 26px; border: 0;
  transition: background .2s, transform .2s;
}
.btn i { font-size: 14px; }
.btn:hover { background: var(--navy); transform: translateY(-2px); }

/* ---------- ローディング ---------- */
#loading {
  position: fixed; inset: 0; background: #fff; z-index: 10000;
  display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s;
}
#loading.active { opacity: 1; visibility: visible; }
#loading .loading_text { display: grid; justify-items: center; gap: 22px; }
#loading .loadinglogo img { width: 220px; }
.pulse-container { display: flex; gap: 10px; }
.pulse-bubble { width: 12px; height: 12px; border-radius: 50%; background: var(--blue); animation: pul .9s ease-in-out infinite alternate; }
.pulse-bubble-2 { background: var(--yellow); animation-delay: .2s; }
.pulse-bubble-3 { animation-delay: .4s; }
@keyframes pul { from { transform: scale(.6); opacity: .4; } to { transform: scale(1); opacity: 1; } }

/* ---------- ヘッダー（PC） ---------- */
#header_pc {
  position: absolute; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: flex-start; padding: 22px 3vw 0;
}
.header_logo a {
  display: block; background: #fff; border-radius: 0 0 var(--r) var(--r);
  padding: 12px 18px 10px; box-shadow: 5px 6px 0 var(--yellow); margin-top: -22px;
  color: var(--navy); font-weight: 900;
}
.header_logo img { width: 240px; }
.header_menu ul { display: flex; align-items: center; gap: 2.2vw; padding-top: 8px; }
.header_menu a {
  color: #fff; font-size: 15px; font-weight: 700; letter-spacing: .08em; text-shadow: 0 1px 3px rgba(0, 0, 0, .45);
  padding: 6px 2px; position: relative; transition: color .2s; white-space: nowrap;
}
.header_menu a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; border-radius: 3px;
  background: var(--yellow); transform: scaleX(0); transition: transform .25s;
}
.header_menu a:hover, .header_menu a.current { color: var(--yellow); }
.header_menu a.current::after, .header_menu a:hover::after { transform: scaleX(1); }
@media (max-width: 1024px) {
  .header_logo img { width: 200px; }
  .header_menu ul { gap: 1.6vw; }
  .header_menu a { font-size: 13.5px; }
}

/* ---------- ヘッダー（SP） ---------- */
#header_sp { display: none; }
@media (max-width: 768px) {
  #header_pc { display: none; }
  #header_sp { display: block; }
  #header_sp .header_logo { position: absolute; top: 0; left: 0; z-index: 50; }
  #header_sp .header_logo a { margin: 0; padding: 10px 14px 8px; box-shadow: 4px 5px 0 var(--yellow); }
  #header_sp .header_logo img { width: 178px; }
  .header_sp_bottom { position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; background: var(--navy); padding-bottom: env(safe-area-inset-bottom, 0px); }
  .header_sp_bottom ul { display: grid; grid-template-columns: repeat(3, 1fr); }
  .header_sp_bottom li > a, .header_sp_bottom .hamburger {
    display: grid; justify-items: center; gap: 4px; padding: 10px 0 8px; color: #fff;
    font: 700 10px/1.2 var(--en); letter-spacing: .08em; background: none; border: 0; width: 100%; height: 100%;
  }
  .header_sp_bottom i { font-size: 19px; }
  .header_sp_bottom li:nth-child(2) > a { background: var(--yellow); color: var(--navy); }
  .header_sp_bottom .hamburger.active i::before { content: "\f00d"; }
  .globalMenuSp {
    position: fixed; inset: 0 0 60px 0; background: rgba(23, 48, 106, .96); z-index: 890;
    display: grid; align-content: center; justify-items: center; gap: 8px; opacity: 0; visibility: hidden; transition: .3s;
  }
  .globalMenuSp.active { opacity: 1; visibility: visible; }
  .globalMenuSp ul { text-align: center; display: grid; gap: 6px; }
  .globalMenuSp a { color: #fff; font-size: 17px; font-weight: 700; letter-spacing: .1em; display: block; padding: 8px 20px; }
  .globalMenuSp .header_sp_policy a { font-size: 13px; opacity: .8; margin-top: 12px; }
  .globalMenuSp .sns a { font-size: 14px; }
  .globalMenuSp .sns i { margin-right: 6px; }
  body { padding-bottom: 60px; }
}

/* ---------- TOP：メインスライダー ---------- */
#top_main { position: relative; height: 100vh; min-height: 560px; overflow: hidden; background: var(--navy); }
#top_main .slider { position: absolute; inset: 0; }
#top_main .slide { position: absolute; inset: 0; overflow: hidden; opacity: 0; transition: opacity 2s ease; }
#top_main .slide.on { opacity: 1; }
#top_main .slide img { width: 100%; height: 100%; object-fit: cover; }
/* フェードアウト中もズームを続ける（.prev）ことで、切替時に拡大がリセットされて「カクッ」となるのを防ぐ */
#top_main .slide.on img, #top_main .slide.prev img { animation: zoomUp 9s linear both; }
#top_main .slide.prev { z-index: 0; }
#top_main .slide.on { z-index: 1; }
@keyframes zoomUp { from { transform: scale(1); } to { transform: scale(1.12); } }
#top_main::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, rgba(23, 48, 106, .45), rgba(23, 48, 106, .25) 45%, rgba(23, 48, 106, .55));
}
.top_main_title {
  position: absolute; z-index: 5; top: 52%; left: 50%; transform: translate(-50%, -50%);
  text-align: center; color: #fff; width: min(92%, 900px); text-shadow: 0 2px 10px rgba(10, 25, 60, .45);
}
#top_text01 { font-size: clamp(34px, 4.6vw, 68px); font-weight: 900; letter-spacing: .12em; line-height: 1.35; opacity: 0; animation: fadeIn 1.6s ease .9s forwards; }
#top_text02 { font-size: clamp(14px, 1.3vw, 19px); font-weight: 500; letter-spacing: .12em; margin-top: 18px; opacity: 0; animation: fadeIn 1.6s ease 1.9s forwards; line-height: 1.9; }
@keyframes fadeIn { to { opacity: 1; } }
.scroll_hint {
  position: absolute; z-index: 5; bottom: 28px; left: 50%; transform: translateX(-50%);
  color: #fff; font: 700 11px/1 var(--en); letter-spacing: .2em; display: grid; justify-items: center; gap: 8px;
}
.scroll_hint::after { content: ""; width: 2px; height: 44px; border-radius: 2px; background: linear-gradient(var(--yellow), transparent); }
@media (max-width: 768px) {
  #top_main { height: calc(100svh - 60px); min-height: 520px; }
  #top_text01 { letter-spacing: .08em; }
  .scroll_hint { bottom: 18px; }
}

/* ---------- TOP：Our Style（NEWS枠を置換） ---------- */
#top_style { background: var(--sky); padding: 72px 0 80px; }
.style_list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.style_list li { background: #fff; border-radius: var(--r); padding: 30px 26px 28px; }
.style_icon { width: 64px; height: 64px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; margin-bottom: 16px; }
.style_icon svg { width: 34px; height: 34px; }
.style_list h3 { font-size: 19px; color: var(--navy); font-weight: 900; letter-spacing: .06em; line-height: 1.5; margin-bottom: 8px; }
.style_list p { font-size: 15px; }
@media (max-width: 1024px) {
  .style_list { grid-template-columns: 1fr; gap: 18px; }
  .style_list li { display: grid; grid-template-columns: 64px 1fr; column-gap: 18px; align-items: start; }
  .style_icon { grid-row: span 2; margin: 0; }
}
@media (max-width: 768px) {
  #top_style { padding: 56px 0 60px; }
  .style_list li { padding: 22px 20px; column-gap: 14px; grid-template-columns: 52px 1fr; }
  .style_icon { width: 52px; height: 52px; }
  .style_icon svg { width: 28px; height: 28px; }
  .style_list h3 { font-size: 17px; }
}

/* ---------- TOP：上コンテンツ ---------- */
#top_contents { position: relative; padding: 96px 0; background-size: cover; background-position: center; background-attachment: fixed; }
#top_contents::after { content: ""; position: absolute; inset: 0; background: rgba(255, 255, 255, .88); }
.contents { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; width: 95%; }
.contents.rev { flex-direction: row-reverse; margin-left: auto; }
.contents_image { width: 50%; height: min(40vw, 560px); }
.contents_image img { width: 100%; height: 100%; object-fit: cover; border-radius: 0 var(--r) var(--r) 0; }
.contents.rev .contents_image img { border-radius: var(--r) 0 0 var(--r); }
.contents_writing { width: 42.5%; padding: 2vw; }
.contents_writing .text p { font-size: 15.5px; }
.contents_writing .text p + p { margin-top: 1.2em; }
@media (max-width: 1024px) {
  #top_contents { background-attachment: scroll; }
  .contents_writing { width: 46%; }
}
@media (max-width: 768px) {
  #top_contents { padding: 0 0 56px; }
  .contents, .contents.rev { flex-direction: column; width: 100%; }
  .contents_image { width: 100%; height: 70vw; }
  .contents_image img, .contents.rev .contents_image img { border-radius: 0; }
  .contents_writing { width: 100%; padding: 40px 7% 0; }
}

/* ---------- TOP：区切り画像（青デュオトーン） ---------- */
.divide_wrap { position: relative; isolation: isolate; }
#contents_divide {
  height: 34vw; max-height: 520px; min-height: 220px; position: relative;
  background-color: var(--blue); background-size: cover; background-position: center; background-attachment: fixed;
  background-blend-mode: luminosity;
}
#contents_divide::after { content: ""; position: absolute; inset: 0; background: var(--navy); opacity: .18; }
@media (max-width: 1024px) { #contents_divide { background-attachment: scroll; } }

/* ---------- TOP：下部コンテンツ（青グラデ＋白カード＋黄シャドウ） ---------- */
#bottom_contents { background: linear-gradient(var(--grad1), var(--grad2)); padding: 96px 0 110px; }
.feature_grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 3.5vw, 48px); align-items: start; }
.feature { background: #fff; border-radius: var(--r); box-shadow: 10px 12px 0 var(--yellow); overflow: hidden; display: flex; flex-direction: column; }
.feature:nth-child(2) { margin-top: 56px; }   /* 2枚目を少し下げて段違いに */
.feature_img { position: relative; aspect-ratio: 16 / 10; }
.feature_img img { width: 100%; height: 100%; object-fit: cover; }
.feature_badge {
  position: absolute; left: clamp(24px, 2.6vw, 40px); bottom: -30px; width: 60px; height: 60px; border-radius: 50%;
  background: var(--yellow); color: var(--navy); display: grid; place-items: center; font-size: 24px;
  box-shadow: 0 0 0 6px #fff;
}
.feature_body { padding: 52px clamp(24px, 2.6vw, 40px) clamp(28px, 3vw, 40px); flex: 1; }
.feature_body .text p { font-size: 15.5px; }
.feature_body .text p + p { margin-top: 1.2em; }
@media (max-width: 768px) {
  #bottom_contents { padding: 56px 0 64px; }
  .feature_grid { grid-template-columns: 1fr; gap: 32px; }
  .feature:nth-child(2) { margin-top: 0; }
  .feature { box-shadow: 7px 8px 0 var(--yellow); }
  .feature_badge { width: 52px; height: 52px; font-size: 21px; bottom: -26px; }
  .feature_body { padding-top: 44px; }
}

/* ---------- TOP：3連バナー ---------- */
#flex_contents { background: var(--grad2); }
#flex_contents ul { display: grid; grid-template-columns: repeat(3, 1fr); }
#flex_contents li a { display: block; position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
#flex_contents .list { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .6s; }
#flex_contents ul { gap: 3px; background: var(--grad2); }
#flex_contents .list::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23, 48, 106, .05) 30%, rgba(23, 48, 106, .85)); transition: opacity .3s; }
#flex_contents a:hover .list { transform: scale(1.06); }
#flex_contents a:hover .list::after { opacity: .85; }
/* 左上の番号 */
.list_num { position: absolute; left: 22px; top: 18px; z-index: 2; color: #fff; font-size: 15px; letter-spacing: .1em; padding-bottom: 6px; border-bottom: 3px solid var(--yellow); }
/* 左下の見出し（黄色の縦ライン付き） */
.list_headline { position: absolute; left: 22px; right: 90px; bottom: 22px; z-index: 2; color: #fff; padding-left: 14px; border-left: 4px solid var(--yellow); }
.list_headline .en { display: block; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.3; }
.list_headline .ja { display: block; font-size: 13px; font-weight: 700; letter-spacing: .1em; margin-top: 4px; color: var(--yellow); }
/* 右下の矢印ボタン */
.list_arrow {
  position: absolute; right: 22px; bottom: 22px; z-index: 2; width: 48px; height: 48px; border-radius: 50%;
  background: var(--yellow); color: var(--navy); display: grid; place-items: center; font-size: 17px;
  transition: transform .25s;
}
#flex_contents a:hover .list_arrow { transform: translateX(4px); }
@media (max-width: 768px) {
  #flex_contents ul { grid-template-columns: 1fr; }
  #flex_contents li a { aspect-ratio: 16 / 8; }
  .list_arrow { width: 42px; height: 42px; font-size: 15px; }
}

/* ---------- フッターお問い合わせ ---------- */
#footer_contact { position: relative; background-size: cover; background-position: center; padding: 88px 0 80px; text-align: center; color: #fff; }
#footer_contact::before { content: ""; position: absolute; inset: 0; background: rgba(23, 48, 106, .82); }
#footer_contact > * { position: relative; }
.fc_lead { font-size: 15.5px; margin: 0 auto 30px; max-width: 40em; }
.fc_btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  background: var(--yellow); color: var(--navy); font: 700 17px/1 var(--en); letter-spacing: .14em;
  padding: 22px 30px; width: min(440px, 100%); border-radius: 999px; box-shadow: 0 6px 0 var(--yellow-d);
  transition: transform .15s, box-shadow .15s;
}
.fc_btn i { font-size: 20px; }
.fc_btn:hover { transform: translateY(3px); box-shadow: 0 3px 0 var(--yellow-d); }
.fc_info { margin-top: 30px; font-size: 14.5px; letter-spacing: .08em; }
.fc_info span { display: inline-block; margin: 0 .6em; }
@media (max-width: 768px) {
  #footer_contact { padding: 64px 0 60px; }
  .fc_lead { text-align: left; }
}

/* ---------- フッター ---------- */
footer { background: var(--navy); color: #fff; padding: 44px 0 34px; text-align: center; }
.footer_menu ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 2.6vw; }
.footer_menu a { font-size: 13.5px; letter-spacing: .08em; opacity: .92; }
.footer_menu a:hover { color: var(--yellow); opacity: 1; }
.footer_menu .footer_sns { margin-top: 14px; gap: 18px; }
.footer_addr { font-size: 12.5px; opacity: .75; margin-top: 18px; }
.copyright { font: 500 11.5px/1 var(--en); letter-spacing: .1em; margin-top: 18px; opacity: .75; }
.back-to-top {
  position: fixed; right: 28px; bottom: 80px; z-index: 800; width: 54px; height: 54px; border-radius: 50%;
  background: var(--yellow); color: var(--navy); display: grid; place-items: center; font-size: 22px;
  box-shadow: 0 4px 0 var(--yellow-d); opacity: 0; visibility: hidden; transition: .3s; border: 0;
}
.back-to-top.show { opacity: 1; visibility: visible; }
@media (max-width: 768px) {
  .back-to-top { display: none; }
  .footer_menu ul { flex-direction: column; gap: 4px; }
  .footer_menu .footer_sns { flex-direction: row; justify-content: center; }
}

/* ---------- 下層共通 ---------- */
#lower { position: relative; margin-bottom: 72px; }
#lower .lower { height: 30vw; min-height: 280px; max-height: 440px; background-size: cover; background-position: center; position: relative; }
#lower .lower::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23, 48, 106, .55), rgba(23, 48, 106, .25)); }
.lower_contents {
  position: absolute; left: 3%; bottom: -34px; z-index: 3; background: #fff; border-radius: var(--r);
  box-shadow: 8px 9px 0 var(--yellow); padding: 22px 40px 18px 32px; min-width: min(380px, 88%); max-width: 94%;
}
.lower_contents .headline { font-size: clamp(24px, 2.4vw, 34px); font-weight: 900; color: var(--navy); letter-spacing: .12em; line-height: 1.4; }
.lower_contents p { font: 700 14px/1 var(--en); color: var(--blue); letter-spacing: .14em; margin-top: 8px; }
.lower_headline {
  position: relative; background: var(--sky); color: var(--navy); font-size: clamp(19px, 1.7vw, 24px); font-weight: 900;
  letter-spacing: .1em; padding: 12px 20px 12px 28px; border-radius: 0 var(--r) var(--r) 0; margin-bottom: 30px; line-height: 1.5;
}
.lower_headline::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: var(--yellow); }
.lower_sec { padding: 40px 0 72px; }
.lower_sec + .lower_sec { padding-top: 8px; }
.lead { font-size: 16.5px; line-height: 2.1; max-width: 46em; }
.lead strong { color: var(--navy); }
@media (max-width: 768px) {
  #lower { margin-bottom: 56px; }
  #lower .lower { height: 56vw; min-height: 200px; }
  .lower_contents { padding: 16px 24px 14px 22px; bottom: -28px; }
  .lower_headline { letter-spacing: .06em; padding: 10px 16px 10px 24px; }
  .lower_sec { padding: 32px 0 56px; }
  .lead { font-size: 15.5px; line-height: 2; }
}

/* ---------- 事業内容 ---------- */
.service_contents { display: grid; gap: 44px; margin-top: 44px; }
.service_item { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--r); overflow: hidden; background: #fff; box-shadow: 0 0 0 2px var(--sky2); }
.service_item:nth-child(even) .service_img { order: 2; }
.service_img { min-height: 360px; background-size: cover; background-position: center; position: relative; }
.service_img .tag { position: absolute; left: 18px; top: 18px; background: var(--yellow); color: var(--navy); font: 700 12px/1 var(--en); letter-spacing: .14em; padding: 8px 14px 7px; border-radius: 999px; }
.service_body { padding: clamp(28px, 3vw, 48px); }
.service_body h2 { font-size: clamp(22px, 2vw, 28px); color: var(--navy); font-weight: 900; letter-spacing: .1em; line-height: 1.4; }
.service_body .sub { font: 700 13px/1 var(--en); color: var(--blue); letter-spacing: .14em; margin: 8px 0 18px; display: block; }
.service_body p { font-size: 15.5px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chips li { background: var(--sky); color: var(--navy); font-size: 14px; font-weight: 700; padding: 5px 14px; border-radius: 999px; letter-spacing: .04em; line-height: 1.6; }
.service_item.is-main { grid-template-columns: 1.1fr 1fr; }
.service_item.is-main .service_img { min-height: 440px; }
.service_item.is-main .chips li { background: var(--yellow); }
@media (max-width: 768px) {
  .service_contents { gap: 28px; margin-top: 32px; }
  .service_item, .service_item.is-main { grid-template-columns: 1fr; }
  .service_item:nth-child(even) .service_img { order: 0; }
  .service_img, .service_item.is-main .service_img { min-height: 56vw; }
  .chips li { font-size: 13px; }
}
.set_box {
  margin-top: 56px; background: var(--navy); color: #fff; border-radius: var(--r); padding: clamp(28px, 3.4vw, 52px);
  display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 3vw, 48px); align-items: center;
}
.set_flow { display: flex; align-items: center; gap: 10px; }
.set_flow .node { width: 96px; height: 96px; border-radius: 50%; background: #fff; color: var(--navy); display: grid; place-items: center; text-align: center; font-weight: 900; font-size: 15px; line-height: 1.3; }
.set_flow .node svg { width: 30px; height: 30px; margin: 0 auto 2px; display: block; }
.set_flow .node.y { background: var(--yellow); }
.set_flow .wire { width: 44px; height: 3px; background: var(--yellow); border-radius: 3px; }
.set_box h3 { font-size: clamp(19px, 1.8vw, 24px); font-weight: 900; letter-spacing: .08em; color: var(--yellow); margin-bottom: 8px; line-height: 1.5; }
.set_box p { font-size: 15.5px; }
@media (max-width: 768px) {
  .set_box { grid-template-columns: 1fr; }
  .set_flow { justify-content: center; }
  .set_flow .node { width: 84px; height: 84px; font-size: 14px; }
}

/* ---------- 工事をお考えの方へ ---------- */
.scene { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.scene li { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 2px solid var(--sky2); border-radius: var(--r); padding: 22px 24px; }
.scene .ic { flex: 0 0 48px; height: 48px; border-radius: 50%; background: var(--sky); display: grid; place-items: center; color: var(--blue); }
.scene .ic svg { width: 26px; height: 26px; }
.scene h3 { font-size: 17px; font-weight: 900; color: var(--navy); letter-spacing: .06em; line-height: 1.5; }
.scene p { font-size: 14.5px; margin-top: 4px; }
.reason { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.reason_img { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: 10px 12px 0 var(--yellow); }
.reason_img img { width: 100%; height: 100%; object-fit: cover; }
.reason dl { display: grid; gap: 22px; }
.reason dt { font-size: 18px; font-weight: 900; color: var(--navy); letter-spacing: .06em; display: flex; align-items: center; gap: 10px; line-height: 1.5; }
.reason dt::before { content: ""; flex: 0 0 14px; height: 14px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 4px rgba(255, 199, 44, .3); }
.reason dd { font-size: 15px; padding-left: 24px; margin-top: 4px; }
.flow { display: grid; max-width: 860px; }
.flow li { display: grid; grid-template-columns: 72px 1fr; gap: 22px; position: relative; padding-bottom: 34px; }
.flow li:not(:last-child)::before { content: ""; position: absolute; left: 35px; top: 72px; bottom: 0; width: 3px; background: repeating-linear-gradient(var(--blue) 0 8px, transparent 8px 14px); }
.flow .num { width: 72px; height: 72px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-content: center; text-align: center; font: 700 11px/1.1 var(--en); letter-spacing: .1em; }
.flow .num b { display: block; font-size: 24px; letter-spacing: 0; margin-top: 2px; }
.flow li:last-child .num { background: var(--yellow); color: var(--navy); }
.flow h3 { font-size: 18px; font-weight: 900; color: var(--navy); letter-spacing: .08em; margin: 10px 0 4px; line-height: 1.5; }
.flow p { font-size: 15px; }
.faq { display: grid; gap: 14px; max-width: 900px; }
.faq details { background: #fff; border: 2px solid var(--sky2); border-radius: var(--r); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 64px; position: relative; font-weight: 700; color: var(--navy); font-size: 16px; line-height: 1.6; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; position: absolute; left: 18px; top: 14px; width: 32px; height: 32px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font: 700 15px/1 var(--en); }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; border-right: 3px solid var(--blue); border-bottom: 3px solid var(--blue); transform: translateY(-70%) rotate(45deg); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .ans { padding: 0 24px 20px 64px; position: relative; font-size: 15px; }
.faq .ans::before { content: "A"; position: absolute; left: 18px; top: -2px; width: 32px; height: 32px; border-radius: 50%; background: var(--yellow); color: var(--navy); display: grid; place-items: center; font: 700 15px/1 var(--en); }
.cta_box { background: var(--sky); border-radius: var(--r); padding: clamp(32px, 4vw, 56px); text-align: center; }
.cta_box h3 { font-size: clamp(19px, 1.9vw, 25px); font-weight: 900; color: var(--navy); letter-spacing: .08em; line-height: 1.6; }
.cta_box p { font-size: 15px; margin-top: 8px; }
@media (max-width: 768px) {
  .scene { grid-template-columns: 1fr; gap: 14px; }
  .scene li { padding: 18px; }
  .reason { grid-template-columns: 1fr; }
  .reason_img { box-shadow: 7px 8px 0 var(--yellow); }
  .flow li { grid-template-columns: 60px 1fr; gap: 16px; }
  .flow .num { width: 60px; height: 60px; }
  .flow .num b { font-size: 20px; }
  .flow li:not(:last-child)::before { left: 29px; top: 60px; }
  .flow h3 { margin-top: 6px; font-size: 17px; }
  .faq summary { padding: 16px 44px 16px 58px; font-size: 15px; }
  .faq .ans { padding: 0 18px 18px 58px; }
  .cta_box p { text-align: left; }
}

/* ---------- 企業情報 ---------- */
.msg { display: grid; grid-template-columns: 1fr 300px; gap: clamp(28px, 4vw, 64px); align-items: start; }
.msg.msg--single { grid-template-columns: 1fr; }
.msg p { font-size: 16px; line-height: 2.1; }
.msg p + p { margin-top: 1.1em; }
.msg .sign { text-align: right; margin-top: 24px; font-weight: 700; color: var(--navy); }
.msg .sign b { font-size: 22px; letter-spacing: .2em; margin-left: .6em; }
.msg_photo { border-radius: var(--r); overflow: hidden; aspect-ratio: 3 / 4; box-shadow: 8px 9px 0 var(--yellow); }
.msg_photo img { width: 100%; height: 100%; object-fit: cover; }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 8px; }
.values li { background: var(--sky); border-radius: var(--r); padding: 26px 28px; }
.values .en { color: var(--blue); font-size: 13px; letter-spacing: .14em; }
.values h3 { color: var(--navy); font-size: 19px; font-weight: 900; letter-spacing: .08em; margin: 2px 0 6px; line-height: 1.5; }
.values p { font-size: 15px; }
@media (max-width: 768px) {
  .msg { grid-template-columns: 1fr; }
  .msg_photo { max-width: 260px; margin: 0 auto; order: -1; }
  .msg p { font-size: 15.5px; line-height: 2; }
  .values { grid-template-columns: 1fr; }
}
.info_table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15.5px; }
.info_table th, .info_table td { padding: 18px 20px; border-bottom: 1px solid var(--sky2); text-align: left; vertical-align: top; }
.info_table th { width: 200px; color: var(--navy); font-weight: 700; background: var(--sky); letter-spacing: .08em; }
.info_table tr:first-child th { border-radius: var(--r) 0 0 0; }
.info_table tr:last-child th { border-radius: 0 0 0 var(--r); }
@media (max-width: 768px) {
  .info_table, .info_table tbody, .info_table tr { display: block; width: 100%; }
  .info_table th, .info_table td { display: block; width: 100%; }
  .info_table th { padding: 10px 16px; border-radius: 8px !important; border: 0; }
  .info_table td { padding: 12px 16px 20px; border: 0; }
}
.map { margin-top: 36px; height: 380px; border-radius: var(--r); overflow: hidden; background: var(--sky); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.sales { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.sales li { background: var(--sky); border-radius: var(--r); padding: 22px 24px; }
.sales h3 { color: var(--navy); font-size: 17px; font-weight: 900; margin-bottom: 6px; }
@media (max-width: 768px) { .map { height: 300px; } }

/* ---------- お問い合わせ（CF7） ---------- */
.form_step { display: flex; justify-content: center; gap: clamp(8px, 3vw, 40px); margin-bottom: 36px; counter-reset: none; }
.form_step li { display: flex; align-items: center; gap: 8px; color: var(--mute); font-weight: 700; font-size: 15px; letter-spacing: .08em; position: relative; }
.form_step li span { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--sky2); color: var(--navy); font: 700 14px/1 var(--en); }
.form_step li.is-current { color: var(--navy); }
.form_step li.is-current span { background: var(--blue); color: #fff; box-shadow: 0 0 0 4px rgba(21, 89, 176, .18); }
.form_step li + li::before { content: ""; width: clamp(16px, 4vw, 48px); height: 2px; background: var(--sky2); margin-right: clamp(0px, 1vw, 8px); }
.contact_text { margin-bottom: 36px; }
.form { background: var(--sky); border-radius: var(--r); padding: clamp(24px, 4vw, 56px); }
.form dl { display: grid; grid-template-columns: 240px 1fr; max-width: 900px; margin: 0 auto; }
.form dt, .form dd { padding: 16px 0; border-bottom: 1px solid var(--sky2); }
.form dt { font-weight: 700; color: var(--navy); display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 15px; line-height: 1.6; }
.form .red, .form .blue { font-size: 11px; font-weight: 700; padding: 2px 10px; border-radius: 999px; letter-spacing: .08em; line-height: 1.6; color: #fff; }
.form .red { background: var(--red); }     /* 必須 */
.form .blue { background: var(--blue); }   /* 任意 */
.form input[type=text], .form input[type=email], .form input[type=tel], .form select, .form textarea {
  width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 2px solid var(--sky2); border-radius: 10px; background: #fff; color: var(--ink);
}
.form input:focus, .form textarea:focus { border-color: var(--blue); outline: none; }
.form textarea { min-height: 180px; resize: vertical; display: block; }
.form .wpcf7-form-control-wrap { display: block; }
.form .wpcf7-radio { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 15px; }
.form .wpcf7-list-item { margin: 0; }
.form .wpcf7-list-item label { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.form input[type=radio], .form input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--blue); }
.form .agree { text-align: center; margin: 28px 0 8px; font-size: 14.5px; }
.form .agree .wpcf7-form-control-wrap { display: inline-block; }
.form .agree label { display: inline-flex; align-items: center; gap: 8px; }
.form .agree a { color: var(--blue); text-decoration: underline; }
.form .submit { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px; margin: 14px auto 0; text-align: center; position: relative; padding-bottom: 36px; }
.form .submit > input, .form .submit > button { flex: 0 0 auto; width: auto; margin: 0; }
.form .submit .wpcf7-spinner { position: absolute; left: 50%; bottom: 0; margin: 0 0 0 -12px; }   /* スピナーでボタンがずれないように */
.form .submit input[type=submit], .form .submit input[type=button], .form .submit button {
  background: var(--blue); color: #fff; border: 0; border-radius: 999px; font: 700 16px/1 var(--jp); letter-spacing: .14em;
  padding: 18px 64px; box-shadow: 0 5px 0 var(--navy); cursor: pointer; transition: transform .15s, box-shadow .15s; -webkit-appearance: none; appearance: none;
}
.form .submit input[type=submit]:hover, .form .submit input[type=button]:hover { transform: translateY(2px); box-shadow: 0 3px 0 var(--navy); }
.form .submit input[type=submit]:disabled { opacity: .5; cursor: not-allowed; }
.form .submit input.wpcf7-previous, .form .submit input.wpcf7-previous:hover { background: #fff; color: var(--navy); box-shadow: 0 5px 0 var(--sky2); border: 2px solid var(--sky2); }
.form .wpcf7-not-valid-tip { color: var(--red); font-size: 13px; margin-top: 6px; }
.form .wpcf7-response-output { border-radius: 10px; margin: 24px auto 0 !important; max-width: 900px; font-size: 14px; }
.form--confirm dd { font-size: 15.5px; white-space: pre-wrap; overflow-wrap: anywhere; }
.thanks_box { background: var(--sky); border-radius: var(--r); padding: clamp(32px, 5vw, 64px); text-align: center; }
.thanks_box h2 { color: var(--navy); font-size: clamp(19px, 2vw, 26px); font-weight: 900; letter-spacing: .08em; line-height: 1.6; margin-bottom: 14px; }
.thanks_box p { font-size: 15.5px; }
@media (max-width: 768px) {
  .form_step li { font-size: 13px; gap: 6px; }
  .form_step li span { width: 28px; height: 28px; }
  .form dl { grid-template-columns: 1fr; }
  .form dt { border: 0; padding-bottom: 6px; }
  .form dd { padding-top: 0; }
  .form .submit input[type=submit], .form .submit input[type=button] { width: 100%; padding: 18px 20px; }
  .thanks_box p { text-align: left; }
}

/* ---------- 採用（予備） ---------- */
.recruit_content { margin-top: 36px; }
.recruit_btn { text-align: center; margin-top: 12px; }

/* ---------- プライバシーポリシー ---------- */
.policy h2 { font-size: 18px; color: var(--navy); font-weight: 900; margin: 34px 0 8px; letter-spacing: .06em; line-height: 1.6; padding-left: 14px; border-left: 5px solid var(--yellow); }
.policy h2:first-child { margin-top: 0; }
.policy p { font-size: 15px; }

/* ---------- フェードイン ---------- */
.fade-in { opacity: 0; transform: translateY(32px); transition: opacity .7s ease, transform .7s ease; }
.fade-in.scroll-in { opacity: 1; transform: none; }
