@charset "utf-8";

html {
  /* ベースフォントサイズを10pxにする */
  font-size: 62.5%;
}
body {
  font-family: "Noto Sans JP", sans-serif;
  /* bodyのfont-sizeは14px */
  font-size: 1.4em;
  max-width: 2400px;
  margin: 0 auto;
}
a {
  color: #202020;
  text-decoration: none;
}
a:hover {
  opacity: 0.8;
}
*,
*:before,
*:after {
  box-sizing: border-box;
}
p {
  font-size: 1.6rem;
  line-height: 1.8;
}
img {
  max-width: 100%;
  height: auto;
}

.sp {
  display: none;
}
.inner {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
}

/* ヘッダー*/

header {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  position: fixed;
  top: 0;
  z-index: 100;
}
.header-inner {
  width: 90%;
  max-width: 1000px;
  height: 80px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-logo {
  position: relative;
  left: -20px;
}
.header-menu {
  width: 65%;
  max-width: 645px;
}
.header-menu ul {
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#header-sp {
  display: none;
}
/* 下層ヘッダー分下げる */
.topVisual,
.newstop,
.page,
#case-page {
  margin-top: 80px;
}
@media screen and (max-width: 959px) {
  #header-pc {
    display: none;
  }
  #header-sp {
    display: block;
    height: 60px;
  }
  .header-inner {
    height: 60px;
  }
  /* 下層ヘッダー分下げる */
  .topVisual,
  .newstop,
  .page,
  #case-page {
    margin-top: 60px;
  }
  .header-logo {
    left: -10px;
  }
  #header-sp .header-sp-top {
    display: flex;
    height: auto;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
  }
  #header-sp .header-logo img {
    width: auto;
    height: 45px;
  }
  /* ハンバーガーボタン */
  .navToggleBtn {
    position: relative;
    /* background-color: #004690; */
    cursor: pointer;
    width: 28px;
    height: 28px;
    z-index: 50;
    /* border-radius: 5px; */
  }
  .navToggleBtn span {
    display: inline-block;
    transition: all 0.3s;
    position: absolute;

    height: 2px;
    border-radius: 5px;
    background-color: #004690;
    width: 100%;
  }
  .navToggleBtn span:nth-of-type(1) {
    top: 0px;
  }
  .navToggleBtn span:nth-of-type(2) {
    top: 8px;
  }
  .navToggleBtn span:nth-of-type(3) {
    top: 16px;
  }

  .navToggleBtn.active span:nth-of-type(1) {
    top: 0px;
    transform: translateY(8px) rotate(-45deg);
  }

  .navToggleBtn.active span:nth-of-type(2) {
    opacity: 0;
  }

  .navToggleBtn.active span:nth-of-type(3) {
    top: 16px;
    transform: translateY(-8px) rotate(45deg);
  }
  .globalMenuSp {
    transform: translateX(100vw);
    top: -60px;
    height: 120vh;
    background: rgba(0, 0, 0, 0.7);
    width: 100vw;
    position: fixed;
    opacity: 0;
    transition: 0.3s ease-in-out;
  }
  .globalMenuSp.open {
    opacity: 1;
    transform: translate(0);
    /* top: -60px; */
    z-index: 10;
  }
  .globalMenuSp ul {
    background-color: #fff;
    width: 70%;
    max-width: 320px;
    height: 100%;
    margin: 0 0 0 auto;
    padding-top: 120px;
  }
  .globalMenuSp ul li {
    padding: 16px 24px;
    border-top: 1px solid #ccc;
    position: relative;
  }
  .globalMenuSp ul li:last-child {
    border-bottom: 1px solid #ccc;
  }
  .globalMenuSp ul li::after {
    content: "";
    width: 7px;
    height: 11px;
    display: inline-block;
    background-image: url(../images/icon-arrow.png);
    position: absolute;
    right: 24px;
  }
}
/* footer */
.sitemapSp {
  display: none;
}
footer {
  background-image: url(../images/footer-bk-img.jpg);
  background-position: center bottom;
  background-repeat: no-repeat;
}
footer .inner {
  position: relative;
}
#page-top {
  background-color: rgba(0, 70, 144, 0.8);
  width: 84px;
  height: 84px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  right: 50px;
  bottom: 50px;
  z-index: 50;
}
#page-top a {
  display: flex;
  flex-direction: column;
  font-size: 10px;
  letter-spacing: 0.05em;
  line-height: 13px;
  text-align: center;
  color: #fff;
  position: relative;
  z-index: 2;
}
.footer-menu-wrap {
  display: flex;
  margin-bottom: 73px;
}
.footer-company-info-area {
  width: 50%;
  padding-left: 5vw;
}

.sitemap {
  width: 50%;
  display: flex;
}
.sitemap > ul {
  width: calc(100% / 2);
}
.sitemap > ul > li {
  font-weight: bold;
  font-size: 12px;
  text-align: left;
}
.sitemap ul li + li {
  margin-top: 28px;
}
.sitemap > ul li > ul {
  margin-top: 28px;
  font-weight: normal;
}
.sitemap > ul li > ul li::before {
  content: "";
  width: 0.8em;
  height: 1px;
  display: inline-block;
  background-color: #333;
  position: relative;
  top: -4px;
  margin-right: 0.2em;
}
.footer-logo {
  padding: 65px 0 24px 28px;
}

.address p {
  font-weight: normal;
  font-size: 1.4rem;
  line-height: 25px;
  text-align: left;
}
.address + .address {
  margin-top: 12px;
}
.to-contact-btn {
  width: 100%;
  max-width: 360px;
  background: #004690;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 38px;
  position: relative;
}
.to-contact-btn a {
  font-weight: 500;
  font-size: 18px;
  line-height: 25px;
  text-align: left;
  color: #fff;
  padding: 24px 126px;
}
.to-contact-btn::after {
  content: "";
  width: 7px;
  height: 11px;
  background-image: url(../images/icon_footer_contact.png);
  display: inline-block;
  position: absolute;
  right: 12.5px;
  top: 31.5px;
}
.footercopy {
  background-color: #004690;
  color: #fff;
  text-align: center;
  padding: 5px auto 8px;
}
.footercopy p {
  font-size: 1.2rem;
  padding: 4px 0;
}
@media screen and (max-width: 1024px) {
  .sitemap {
    display: none;
  }
  .footer-company-info-area {
    /* width: 100%; */
  }
  .sitemapSp {
    width: 50%;
    display: flex;
  }
  .sitemapSp > ul {
    /* display: flex;
    flex-direction: column; */
    width: calc(80% / 2);
    margin-left: 15%;
  }

  .sitemapSp > ul > li {
    font-weight: bold;
    font-size: 12px;
    text-align: left;
  }
  .sitemapSp ul li + li {
    margin-top: 28px;
  }
  .to-contact-btn a {
    padding: 24px 70px;
  }
}

@media screen and (max-width: 599px) {
  .footer-menu-wrap {
    flex-direction: column;
  }
  .footer-logo {
    padding: 52px 0 0 0;
  }
  .footer-logo img {
    display: block;
    margin: 0 auto;
  }
  .footer-company-info-area {
    padding-left: 0;
    width: 100%;
  }
  .footer-company-info-area p {
    text-align: center;
  }
  .to-contact-btn a {
    padding: 24px 50px;
  }
  .to-contact-btn {
    margin: 41px auto 0;
  }
  #page-top {
    bottom: 8px;
    right: 8px;
  }
  .address p {
    text-align: center;
  }
  .sitemapSp {
    width: 100%;
    display: flex;
    margin-top: 36px;
    justify-content: center;
  }
  .sitemapSp > ul {
    /* display: flex;
    flex-direction: column; */
    width: calc(85% / 2);
    margin: 0;
  }

  .sitemapSp > ul > li {
    font-weight: bold;
    font-size: 12px;
    text-align: left;
    margin-left: 26px;
  }
  .sitemapSp ul li + li {
    margin-top: 28px;
  }
  .to-contact-btn {
    width: 90%;
  }
  .to-contact-btn a {
    padding: 20px 70px;
  }
}

/* 下層TOP画像・タイトル部分 */
.topVisual {
  position: relative;
}
.topVisual-img {
  width: 100%;
  height: 200px;
  position: absolute;
  top: 0;
  z-index: 1;
}
.topVisual-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center;
}
.topVisual .inner {
  position: relative;
  z-index: 2;
  height: 200px;
  display: flex;
  align-items: center;
}
.topVisual h1 {
  font-weight: bold;
  font-size: 4rem;
  text-align: left;
  color: #fff;
  margin-left: 56px;
}
.topVisual h1 span {
  display: block;
  font-size: 1.6rem;
  font-weight: 500;
  margin-top: 12px;
}
@media screen and (max-width: 599px) {
  .topVisual h1 {
    margin-left: 0px;
  }
  .topVisual-img {
    width: 100%;
    height: 150px;
    position: absolute;
    top: 0;
    z-index: 1;
  }
  .topVisual-img img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    object-position: center;
  }
  .topVisual .inner {
    position: relative;
    z-index: 2;
    height: 150px;
    display: flex;
    align-items: center;
  }
}

/* パンくず */
.breadcrumbs {
  padding: 10px 0;
}
.breadcrumbs ul {
  display: flex;
  flex-wrap: wrap;
}
.breadcrumbs ul li,
.breadcrumbs ul li a {
  font-weight: normal;
  font-size: 1.4rem;
  text-align: left;
  color: #717171;
}
.breadcrumbs ul li:not(:last-of-type)::after {
  content: "＞";
  margin: 0 14px;
}
@media screen and (max-width: 599px) {
  .breadcrumbs ul li {
    padding: 2px 0;
  }
  .breadcrumbs ul li:not(:last-of-type)::after {
    margin: 0 8px;
  }
}
/* 下層共通 */
.page-section-title {
  font-weight: bold;
  font-size: 3rem;
  text-align: center;
  color: #004690;
}
/* 施工事例-----------スクロール部分------------- */
.works-scroll-wrap {
  position: relative;
  overflow: hidden;
  /* heightはjsで取得→遅延するのでやめる */
  height: 490px;
  padding: 40px 0;
  box-sizing: content-box;
}

.works-list-scroll-box {
  display: flex;
  flex-wrap: nowrap;
  overflow: hidden;
  position: absolute;
  top: 40px;
  padding-top: 20px;
}
.works-list-scroll-box:first-of-type {
  animation: scrollAnime 20s linear infinite;
}
.works-list-scroll-box:last-of-type {
  animation: scrollAnime2 20s linear infinite;
}
.works-scroll-wrap:hover .works-list-scroll-box {
  animation-play-state: paused;
}
.works-list:hover {
  transform: translateY(-20px);
  box-shadow: 0 3px 10px 0 #bbbbbb;
  opacity: 0.8;
  cursor: pointer;
  border-radius: 8px;
}

.works-list {
  overflow: hidden;
  position: relative;
  margin: 0 14px;
  width: 350px;
  /* width: calc((100vw - 140px) / 5); */
  padding-bottom: 14px;
  transition: 0.2s ease-out;
}
@media screen and (max-width: 1024px) {
  .works-list {
    width: 250px;
    margin: 0 10px;
  }
  .works-scroll-wrap {
    /* heightはjsで取得→遅延するのでやめる */
    height: 370px;
  }
}
@media screen and (max-width: 599px) {
  .works-list {
    width: 200px;
    margin: 0 8px;
  }
  .works-scroll-wrap {
    /* heightはjsで取得→遅延するのでやめる */
    height: 350px;
  }
}
.works-item-textWrap {
  position: relative;
  margin-top: 14px;
  border-left: 1px solid #1d468b;
  padding-left: 20px;
}
.category-tag {
  min-width: 110px;
  text-align: center;
  display: inline-block;
  background: #004690;
  padding: 10px 20px;
  position: absolute;
  top: -34px;
  right: 0;
  color: #fff;
  z-index: 2;
}
.works-item-date {
  font-weight: bold;
  font-size: 12px;
  text-align: left;
  color: #004690;
}
.works-item-name {
  font-size: 14px;
  text-align: left;
  color: #000;
}

@keyframes scrollAnime {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

@keyframes scrollAnime2 {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(0);
  }
}
/* ふわっと */
/* 下から */

.fadeUp {
  animation-name: fadeUpAnime;
  animation-duration: 1s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes fadeUpAnime {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 施工事例が５件未満の時用 */
.case-no-list {
  height: 110px;
  background: linear-gradient(90deg, #fff 0%, #fff 60%, #f0faff 60%, #f0faff 100%);
}
@media screen and (max-width: 599px) {
  .case-no-list {
    background: linear-gradient(90deg, #fff 0%, #fff 70%, #f0faff 70%, #f0faff 100%);
  }
}
