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;
  }
}