main {
  padding: 10px;
}

a,
a img {
  transition: .3s;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
}

/*===============================
    Header
================================*/
header {
  display: flex !important;
  align-items: center;
  justify-content: space-around;
  background: #fff;
  color: #3e62a0;
  padding: 20px 20px 15px;
}

header #globalnav ul.cc-nav-level-0 {
  display: flex;
  list-style: none;
  margin: 0 0 0 30px;
}

header #globalnav .jmd-nav__list-item-0 a {
  position: relative;
  display: block;
  border: none;
  color: #666;
  text-decoration: none;
  line-height: 1;
  margin: 0 5px;
  padding: 10px 5px;
}

header #globalnav .jmd-nav__list-item-0 a::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  display: block;
  line-height: 1;
  width: 0;
  height: 3px;
  background: #01b5f4;
  transition: .35s ease;
}

header #globalnav .cc-nav-level-0 > li.cc-nav-current a,
header #globalnav .cc-nav-level-0 > li a:hover {
  color: #333;
  background: none;
}

header #globalnav .cc-nav-level-0 > li.cc-nav-current a::before,
header #globalnav .cc-nav-level-0 > li a:hover::before  {
  width: 100%;
}

header #globalnav .cc-nav-level-1 {
  display: none;
  margin: 0;
}

/*画面サイズ 1024px and 1400px */
@media (min-width: 1024px) and (max-width: 1429px) {
  header {
    padding: 15px 20px;
    flex-direction: column;
    align-items: center;
  }
  header #globalnav {
    display: flex;
    flex-wrap: wrap; 
    justify-content: center; 
  }
  header #globalnav var {
    flex: 1 1 150px;
    text-align: center;
    margin: 5px;
  }
  header #globalnav var a {
    display: block;
    padding: 10px;
    font-size: 14px;
    text-decoration: none;
    color: #333;
  }
  .wrap {
    max-width: 1200px;
  }
  a,
  a img {
    transition: .2s;
  }
}


#headaddress {
  background: rgba(0, 104, 179, 1);
  padding: 20px;
  text-align: right;
}

#headaddress img {
  margin: 0 auto;
}

body.index #headaddress {
  position: relative;
  background: rgba(0, 104, 179, .8);
  z-index: 100;
}

/*===============================
    Index
================================*/
body.index .mv {
  background-image:url(https://u.jimcdn.com/cms/o/s528f026cb18a00bd/userlayout/img/mainvisual.jpg?t=1601361637);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-sizing: border-box;
  overflow: hidden;
  width: 99.5vw;
  min-height: 650px;
  margin: -99px calc(50% - 50vw) 50px;
  padding: 250px 50px 50px;
}

body.index .mv-wrap {
  color: #1d7eca;
  font-size: 1.5em;
  font-weight: 600;
  text-align: center;
  text-shadow: 1px 1px 2px #fff, -1px 1px 2px #fff, 1px -1px 2px #fff, -1px -1px 2px #fff, 0 0 10px #fff, 0 0 10px #fff, 0 0 20px #fff;
  line-height: 1.3;
}

body.index .mv .sub > span {
  font-size: 1.8em;
  margin: 0 5px;
}

body.index .mv .co {
  font-size: 2.5em;
}

body.index .mv .co > span {
  font-size: .6em;
  margin-right: 15px
}

/* お困りボタン */
body.index .j-calltoaction-link-style-3,
body.index .trouble-btn {
  display: flex;
  align-items: center;
  background-image:url(https://u.jimcdn.com/cms/o/s528f026cb18a00bd/userlayout/img/index-btn3.png?t=1601366602);
  background-color: #dff2fc;
  background-size: 100%;
  background-repeat: no-repeat;
  border: 0;
  border-radius: 0;
  box-sizing: border-box;
  color: #000 !important;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  height: 75px;
  margin: 0;
  padding: 8px 0 0 80px;
}

/* Contents */
body.index .index-contents {
  position: relative;
}

body.index .index-contents-back {
  position: absolute;
  left: 0;
  right: 0;
  background: #e2f7fc;
  width: 99.5vw;
  height: 590px; /* Contentsの背景の水色の高さ */
  margin: 0 calc(50% - 50vw);
  z-index: -1;
}

/* 理由 */
body.index .index-reason {
  position: relative;
}

body.index .index-reason-back {
  position: absolute;
  left: 0;
  right: 0;
  background: #e2f7fc;
  width: 99.5vw;
  height: 450px; /* Contentsの背景の水色の高さ */
  margin: 0 calc(50% - 50vw);
  z-index: -1;
}

/*===============================
    Common
================================*/
.j-header h1 {
  background: #d7effc;/*背景色*/
  border-radius: 50px;/*角の丸み*/
  border-bottom: solid 3px #516ab6;/*下線*/
  padding: .6em 1.1em;/*文字周りの余白*/
  margin-bottom: 20px;
}

.j-header h2 {
 border: solid #4462a6;
 border-width: 0 0 2px 10px;
 letter-spacing: .1em;
 padding: .2em .6em .3em;
}

.j-header h3 {
  position: relative;
  padding-left: 25px;
  margin: 20px 0 10px;
}

.j-header h3:before {
  position: absolute;
  content: '';
  bottom: -3px;
  left: 0;
  width: 0;
  height: 0;
  border: none;
  border-left: solid 15px transparent;
  border-bottom: solid 15px rgb(0 104 179);
}

.j-header h3:after {
  position: absolute;
  content: '';
  bottom: -3px;
  left: 10px;
  width: calc(100% - 10px);
  border-bottom: solid 3px rgb(0 104 179);
}

main .j-calltoaction-link {
 background-color: #0168b7;
 border-color: #0168b7;
}

/* 施工事例 */
body.sekou a.sekou-btn {
 position: relative;
 display: inline-block;
 box-sizing: border-box;
 color: #67c5ff;
 text-decoration: none;
 padding: .25em .5em;
 margin: 0 5px 10px;
}

body.sekou a.sekou-btn::before {
 content: '';
 position: absolute;
 top: 100%;
 left:0;
 background: #67c5ff;
 border-radius: 5px;
 width: 100%;
 height: 4px;
 transition: .3s;
}

body.sekou a.sekou-btn:hover::before {
 top: calc(100% - 3px);
}

body.sekou .j-calltoaction-link-style-1 {
 background: #f39100;
 border-color: #f39100;
 font-weight: 600;
}

body.sekou .j-header h2 {
 border: none;
 color: #333;
 font-family: serif;
 font-size: 30px;
 text-align: center;
 padding: 30px 0;
}

/*===============================
    Footer
================================*/
footer a:hover,
footer a:hover img {
  opacity: .8;
}

footer > #footerbanner {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  background: #fff;
  padding: 80px 10px 0;
}

body.index footer > #footerbanner {
  display: none;
}

footer > #footersns {
  background: #fff;
  padding: 20px 10px 30px;
}

footer > #footersns ul {
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

footer > #footersns li {
  margin: 0 20px;
}

footer > #address {
  background: #0168b7;
  color: #fff;
  padding: 50px 10px;
}

footer > #address .wrap {
  max-width: 800px;
}

footer > #address .j-header {
  text-align: center;
}

footer > #address .j-header h2 {
  display: inline-block;
  border: 1px solid #fff;
  color: #fff;
  font-size: 1.3em;
  font-weight: 600;
  text-align: center;
  min-width: 200px;
  margin: 0 0 20px;
  padding: 10px 20px;
}

footer > div#contentfooter {
  background: #fff;
  box-sizing: border-box;
  overflow: inherit;
  font-size: 62.5%;
  padding: 50px 10px;
}

footer > div#contentfooter div.leftrow {
  float: none;
  color: #888;
  font-size: 1.5em;
  line-height: 2.5em;
  text-align: center;
  width: 100%;
}

footer > div#contentfooter div.leftrow > a {
  display: inline-block;
  color: #0168b7;
  font-size: 1.1em;
  font-weight: 600;
  text-decoration: none;
  margin: 0 20px;
}



/* ///暫定旧デザイン// */

/* Breadcrumb : パンくずリスト */
body.index #breadcrumb {
 display: none;
}

#breadcrumb {
 display: flex;
 align-items: center;
}

.breadcrumb-home {
 margin: .5em 0;
}

.j-nav-variant-breadcrumb {
 display: flex;
 align-items: center;
}

.j-nav-variant-breadcrumb > ol {
 display: flex;
 list-style: none;
 padding: 0;
}

.j-nav-variant-breadcrumb::before,
.j-nav-variant-breadcrumb li:not(:last-child)::after {
 content: '>';
 display: inline-block;
 margin: 0 8px;
}


@media only screen and (min-width: 768px) {
  .hide-on-pc {
    display: none !important;
  }
}

/* ここから施工事例一覧カード風デザイン */
.j-module .j-text, 
.j-module .j-heading, 
.j-module .j-button, 
.j-module .j-image {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  padding: 8px;   /* ← 内側の余白を小さく */
  margin: 4px;    /* ← 外側の余白を小さく */
}
/* ここまでカード風デザイン */

/* ===== Headings: site-wide tidy set ===== */
:root{
  --brand:#1976D2;  /* ブルー */
  --ink:#222;       /* 本文色 */
  --muted:#666;     /* 補助テキスト */
}

/* 見出し共通 */
h1, h2, h3{
  font-family: "HeiseiKakuGo-W5","Noto Sans JP",system-ui,-apple-system,"Segoe UI",Roboto,"Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif;
  line-height: 1.35;
  letter-spacing: .02em;
  margin: 0; /* 個別で調整 */
}

/* H1：大見出し（ページタイトルなど） */
h1{
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  color: var(--ink);
  margin: 32px 0 16px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--brand);  /* ブルーの下線 */
}

/* ===============================
   本文用見出し（施工事例ページなど2025/9/3）
   =============================== */

/* H1：大見出し（ページタイトルなど） */
.j-content h1,
.content h1,
.main h1,
.j-module .j-heading h1 {
  font-family: "HeiseiKakuGo-W5","Noto Sans JP",sans-serif;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  color: #222;
  line-height: 1.35;
  margin: 32px 0 16px;
  padding-bottom: 10px;
  border-bottom: 3px solid #1976D2; /* ブランドブルーライン */
  background: transparent;  /* ヘッダー用の背景色指定を打ち消し */
  border-radius: 0;         /* 角丸もリセット */
}

/* H2：セクション見出し（施工のポイント・ギャラリーなど） */
.j-content h2,
.content h2,
.main h2,
.j-module .j-heading h2 {
  font-family: "HeiseiKakuGo-W5","Noto Sans JP",sans-serif;
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  color: #222;
  margin: 28px 0 12px;
  position: relative;
  padding-left: 14px;
}
.j-content h2::before,
.content h2::before,
.main h2::before,
.j-module .j-heading h2::before {
  content:"";
  position:absolute;
  left:0; top:.2em; bottom:.2em;
  width:4px;
  background: #1976D2;   /* 左バーで強調 */
  border-radius: 2px;
}

/* H3：小見出し（小項目やサブキャプション） */
.j-content h3,
.content h3,
.main h3,
.j-module .j-heading h3 {
  font-family: "HeiseiKakuGo-W5","Noto Sans JP",sans-serif;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  color: #333;
  margin: 22px 0 8px;
}


/* ====== 1) ヘッダーh1は従来デザインのまま保持 ====== */
.j-header h1 {
  background: #d7effc !important;
  border-radius: 50px !important;
  border-bottom: solid 3px #516ab6 !important;
  padding: .6em 1.1em !important;
  margin-bottom: 20px !important;
  color: inherit !important;
}

/* ====== 2) 本文エリアの見出しを統一（大＝h1／中＝h2／小＝h3） ====== */
/* よく使われるコンテナを網羅して当たりを取りにいきます */
.j-content h1, .j-content h2, .j-content h3,
.content h1, .content h2, .content h3,
.main h1, .main h2, .main h3,
#content h1, #content h2, #content h3,
.j-module .j-heading h1, .j-module .j-heading h2, .j-module .j-heading h3 {
  font-family: "HeiseiKakuGo-W5","Noto Sans JP",system-ui,-apple-system,"Segoe UI",Roboto,"Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif !important;
  line-height: 1.35 !important;
  letter-spacing: .02em !important;
  color: #222 !important;   /* H1/H2/H3を同一トーンに */
  margin: 0 !important;     /* 下で個別に付け直す */
  background: transparent !important;  /* ヘッダー用の背景を打ち消し */
  border: none !important;            /* 同上 */
  border-radius: 0 !important;
}

/* H1：大見出し（ページタイトル等） */
.j-content h1, .content h1, .main h1, #content h1, .j-module .j-heading h1 {
  font-size: clamp(26px, 3vw, 36px) !important;
  font-weight: 700 !important;
  margin: 32px 0 16px !important;
  padding-bottom: 10px !important;
  border-bottom: 3px solid #1976D2 !important; /* ブルー下線 */
}

/* H2：セクション見出し（ポイント・ギャラリー等） */
.j-content h2, .content h2, .main h2, #content h2, .j-module .j-heading h2 {
  font-size: clamp(20px, 2.5vw, 28px) !important;
  font-weight: 700 !important;
  margin: 28px 0 12px !important;
  position: relative !important;
  padding-left: 14px !important;
}
.j-content h2::before, .content h2::before, .main h2::before, #content h2::before, .j-module .j-heading h2::before {
  content:"" !important;
  position:absolute !important;
  left:0; top:.2em; bottom:.2em;
  width:4px; background:#1976D2; border-radius:2px;
}

/* H3：小見出し（小項目） */
.j-content h3, .content h3, .main h3, #content h3, .j-module .j-heading h3 {
  font-size: clamp(18px, 2vw, 22px) !important;
  font-weight: 700 !important;
  margin: 22px 0 8px !important;
  /* colorは上の共通 #222 が効きます */
}

/* 補助：見出し直後の本文を少し弱めると整う（任意） */
h2 + p, h3 + p { color: #666 !important; }

.j-module .j-headingTitle,
.j-module .j-headingTitle h1,
.j-module .j-headingTitle h2,
.j-module .j-headingTitle h3 { /* 上記と同じ指定を適用 */ }

/* 本文用の見出しブロック (大見出し=h1) のリセット */
h1.j-module.n.j-header {
  background: transparent !important; /* 背景色を消す */
  border: none !important;           /* 枠線を消す */
  border-radius: 0 !important;       /* 角丸も消す */
  padding: 0 !important;             /* 余白リセット */
  margin: 32px 0 16px !important;
  font-size: clamp(26px, 3vw, 36px) !important;
  font-weight: 700 !important;
  color: #222 !important;
  line-height: 1.35 !important;
  border-bottom: 3px solid #1976D2 !important; /* ブルー下線 */
}


/* ===== 本文エリアの見出しブロックを統一 ===== */
/* H1（大見出し） */
.cc-content-parent .j-module.j-header h1.headline {
  font-family: "HeiseiKakuGo-W5","Noto Sans JP",system-ui,-apple-system,"Segoe UI",Roboto,"Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif !important;
  font-size: clamp(26px, 3vw, 36px) !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  color: #222 !important;

  /* 旧スタイルの打消し */
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;

  /* 新デザイン */
  margin: 32px 0 16px !important;
  padding-bottom: 10px !important;
  border-bottom: 3px solid #1976D2 !important;  /* ブルー下線 */
}

/* H2（中見出し） */
.cc-content-parent .j-module.j-header h2.headline {
  font-family: "HeiseiKakuGo-W5","Noto Sans JP",sans-serif !important;
  font-size: clamp(20px, 2.5vw, 28px) !important;
  font-weight: 700 !important;
  color: #222 !important;
  margin: 28px 0 12px !important;
  position: relative !important;
  padding-left: 14px !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
}
.cc-content-parent .j-module.j-header h2.headline::before {
  content:"" !important;
  position:absolute !important;
  left:0; top:.2em; bottom:.2em;
  width:4px; background:#1976D2; border-radius:2px;
}

/* H3（小見出し） */
.cc-content-parent .j-module.j-header h3.headline {
  font-family: "HeiseiKakuGo-W5","Noto Sans JP",sans-serif !important;
  font-size: clamp(18px, 2vw, 22px) !important;
  font-weight: 700 !important;
  color: #222 !important;
  margin: 22px 0 8px !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
}

/* 見出し直後の本文を少し弱め（任意） */
.cc-content-parent h2.headline + p,
.cc-content-parent h3.headline + p { color:#666 !important; }

/* ==============================
   本文エリアの見出しブロック
   ============================== */

/* H1：大見出し（ページタイトルなど） */
.cc-content-parent .j-module.j-header h1.headline {
  font-family: "HeiseiKakuGo-W5","Noto Sans JP",sans-serif !important;
  font-size: clamp(26px, 3vw, 36px) !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  color: #222 !important;

  /* 旧スタイルの打消し */
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;

  /* 新デザイン */
  margin: 32px 0 16px !important;
  padding-bottom: 10px !important;
  border-bottom: 3px solid #1976D2 !important;  /* ブルーライン */
}

/* H2：中見出し */
.cc-content-parent .j-module.j-header h2.headline {
  font-family: "HeiseiKakuGo-W5","Noto Sans JP",sans-serif !important;
  font-size: clamp(20px, 2.5vw, 28px) !important;
  font-weight: 700 !important;
  color: #222 !important;
  margin: 28px 0 12px !important;
  position: relative !important;
  padding-left: 14px !important;

  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
}
.cc-content-parent .j-module.j-header h2.headline::before {
  content:"" !important;
  position:absolute !important;
  left:0; top:.2em; bottom:.2em;
  width:4px;
  background:#1976D2;
  border-radius:2px;
}

/* H3：小見出し */
.cc-content-parent .j-module.j-header h3.headline {
  font-family: "HeiseiKakuGo-W5","Noto Sans JP",sans-serif !important;
  font-size: clamp(18px, 2vw, 22px) !important;
  font-weight: 700 !important;
  color: #222 !important;
  margin: 22px 0 8px !important;

  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
}

/* 本文エリアの大見出し（h1ブロック） */
.cc-content-parent h1.j-module.j-header {
  font-family: "HeiseiKakuGo-W5","Noto Sans JP",sans-serif !important;
  font-size: clamp(26px, 3vw, 36px) !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  color: #222 !important;

  /* 旧デザインを打ち消し */
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;

  /* 新デザイン */
  margin: 32px 0 16px !important;
  padding-bottom: 10px !important;
  border-bottom: 3px solid #1976D2 !important; /* ブルー下線 */
}

/* 本文エリアの中見出し（h2ブロック） */
.cc-content-parent h2.j-module.j-header {
  font-family: "HeiseiKakuGo-W5","Noto Sans JP",sans-serif !important;
  font-size: clamp(20px, 2.5vw, 28px) !important;
  font-weight: 700 !important;
  color: #222 !important;
  margin: 28px 0 12px !important;
  position: relative !important;
  padding-left: 14px !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
}
.cc-content-parent h2.j-module.j-header::before {
  content:"" !important;
  position:absolute !important;
  left:0; top:.2em; bottom:.2em;
  width:4px;
  background:#1976D2;
  border-radius:2px;
}

/* 本文エリアの小見出し（h3ブロック） */
.cc-content-parent h3.j-module.j-header {
  font-family: "HeiseiKakuGo-W5","Noto Sans JP",sans-serif !important;
  font-size: clamp(18px, 2vw, 22px) !important;
  font-weight: 700 !important;
  color: #222 !important;
  margin: 22px 0 8px !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
}

/* ===== 公開ページでも強制的に本文の見出しを統一　2025/9/3 ===== */

/* H1（大見出し） */
.cc-content-parent h1.j-module.j-header,
h1.j-module.j-header,
.cc-content-parent h1[id^="cc-m-header-"],
h1[id^="cc-m-header-"] {
  font-family: "HeiseiKakuGo-W5","Noto Sans JP",system-ui,-apple-system,"Segoe UI",Roboto,"Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif !important;
  font-size: clamp(26px, 3vw, 36px) !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  color: #222 !important;

  /* 旧デザインの打消し（水色背景・角丸など） */
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;

  /* 新デザイン */
  margin: 32px 0 16px !important;
  padding-bottom: 10px !important;
  border-bottom: 3px solid #1976D2 !important;
}

/* H2（中見出し） */
.cc-content-parent h2.j-module.j-header,
h2.j-module.j-header,
.cc-content-parent h2[id^="cc-m-header-"],
h2[id^="cc-m-header-"] {
  font-family: "HeiseiKakuGo-W5","Noto Sans JP",sans-serif !important;
  font-size: clamp(20px, 2.5vw, 28px) !important;
  font-weight: 700 !important;
  color: #222 !important;
  margin: 28px 0 12px !important;
  position: relative !important;
  padding-left: 14px !important;

  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
}
.cc-content-parent h2.j-module.j-header::before,
h2.j-module.j-header::before,
.cc-content-parent h2[id^="cc-m-header-"]::before,
h2[id^="cc-m-header-"]::before {
  content:"" !important;
  position:absolute !important;
  left:0; top:.2em; bottom:.2em;
  width:4px; background:#1976D2; border-radius:2px;
}

/* H3（小見出し） */
.cc-content-parent h3.j-module.j-header,
h3.j-module.j-header,
.cc-content-parent h3[id^="cc-m-header-"],
h3[id^="cc-m-header-"] {
  font-family: "HeiseiKakuGo-W5","Noto Sans JP",sans-serif !important;
  font-size: clamp(18px, 2vw, 22px) !important;
  font-weight: 700 !important;
  color: #222 !important;
  margin: 22px 0 8px !important;

  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
}