* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
p, a {
    font-size: 16px;
    line-height: 1.875;
    color: #142A43;
}
body {
    font-family: "Roboto", sans-serif;
    color: #142A43;
    background-color: #fff; 
}

h1, h2, h3, h4, p, a {
    font-family: "Roboto", sans-serif;
}

.min-h-650 {
    min-height: 650px;
}

/*-----------------
 ヘッダー
------------------*/
header {
    height: 112px;
    background-color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
	border-bottom: 2px solid #E50011;
}
#header {
    max-width: 1280px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    padding: 1rem 0;
    font-weight: bold;
}
.logo {
    height: 2.5rem;
}
.header-content {
    display: flex;
}
.header-nav {
    position: absolute;
    right: 0;
    left: 0;
    top: 0;
    width: 100%;
    height: auto;
    padding: 6rem;
    transform: translateX(100%); 
    background-color: #fff;
    transition: ease .4s;
}
.header-tel {
    text-align: right;
    font-size: 24px;
    font-weight: 400;
    height: 40px;
    margin-right: 1rem;
}
.header-telnumber::before {
    content: "";
    display: inline-block;
    width: 22px;
    height: 22px;
    margin-right: 8px;
    background-image: url('../images/tel-icon.png'); 
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle;
}

/* ハンバーガーメニュー */
.header-hamburger {
    width: 45px;
    height: 100%;
}
.hamburger {
    background-color: transparent;
    border-color: transparent;
    z-index: 9999;
}
.hamburger span {
    width: 100%;
    height: 2px;
    border-radius: 8px;
    background-color: #E50011;
    position: relative;
    transition: ease .4s;
    display: block;
}
.hamburger span:nth-child(1) {
    top: 0;
}
.hamburger span:nth-child(2) {
    margin: 7px 0;
}
.hamburger span:nth-child(3) {
    top: 0;
}
.header-nav.active {
    transform: translateX(0);
}
.hamburger.active span:nth-child(1) {
    top: -6px;
    left: 0;
    transform: translateY(620%) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    top: -12px;
    left: 0;
    transform: translateY(5%) rotate(-45deg);
}
.nav-items {
    padding-top: 250px;
    padding-bottom: 200px;
}
#js-nav {
    transition: all 0.6s ease;
}

/* ナビのリンク */
.nav-items-item a {
    color: #000;
    width: 100%;
    display: block;
    text-align: left;
    font-size: 2rem;
    margin-bottom: 2rem;
    padding: 1rem 3rem;
    font-size: 14px;
}
.nav-items-item:last-child a {
    margin-bottom: 0;
}
.nav-items-item > a:hover, .pc-nav-item > a:hover, .footer-nav-item >:hover {
    color: #E50011;
}

/* ナビゲーションのリンクがアクティブな時の色 */
.pc-nav-item a.is-active,
.nav-items-item a.is-active {
    color: #E50011;
}

.header-border {
    border: none;
    border-top: 4px solid #E50011;
    height: 0;
    margin: -2px 0 0;
    }

/* header レスポンシブ */
@media screen and (min-width: 1140px) {
  .pc-nav {
        width: 100%;
        display: flex;
        text-align: center;
        justify-content: space-between;
  }
  .pc-nav-item {
        margin: auto 1rem;
  }
  .header-nav, .hamburger {
        display: none;
  }
  a[href*="tel:"] {
        pointer-events: none;
        cursor: default;
        text-decoration: none;
}
}
@media screen and (max-width: 1400px) {
    #header {
        justify-content: space-around;
    }
}

@media screen and (max-width: 1139px) {
    .pc-nav {
        display: none;
    }
    #header {
        padding: 1rem 0 .3rem;
    }
    header {
        height: 90px;
    }
    .logo {
        padding: 0 2rem;
    }
    .sp-nav-icon {
        display: flex;
        margin: 0 auto;
        width: 30px;
        height: 30px;
    }
    .nav-items-item a {
        font-size: 16px;
        font-weight: 400;
        margin-bottom: 0;
        padding: 1rem;
    }
    .header-nav {
        padding: 1rem 0;
		margin-top: 90px;
		overflow-y: auto; 
    -webkit-overflow-scrolling: touch;
    }
    .header-flex {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin: 1rem 2rem;
        border-bottom: 1px solid #f2f2f2;
    }
    .hamberger-border {
        border: none;
        border-top: 2px solid #E50011;
        height: 0;
        margin: 1.3rem auto 2rem;
    }
    .header-border {
        border-top: 2px solid #E50011;
        margin: 4px 0 0;
    }
}
@media screen and (max-width: 650px) {
	 #header {
        padding: 1rem;
    }
	header {
		border-bottom: none;
		height: 76px;
	}
	.header-nav {
		margin-top: 76px;
		height: 85vh;
	}
    .logo {
        height: 28px;
        width: auto;
        padding: 0;
    }
    .logo-js {
        padding: 0 2rem;
    }
}

/*---------------
 ボタン
---------------*/
.color-btn {
    display: block;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    text-transform: uppercase;
    color: #fff;
    border-radius: 2rem;
	width: 200px;
    margin: 10px;
    padding: 1em 0;
    background-size: 200% auto;
    color: white;
    box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
    background-image: linear-gradient(to right, #0050AA 0%, #E50011 50%, #0050AA 100%);
    transition: 0.5s;
}
.color-btn > a {
	display: block;
	text-align: center;
    color: #fff;
}
.color-btn:hover {
    background-position: right center;
    color: #fff;
    text-decoration: none;
}
.btn {
    max-width: 320px;
    background-color: #fff;
    border-radius: 2rem;
    border: 2px solid #E50011;
    padding: .6rem 0;
    margin: 1.5rem 0;
    position: relative;
	cursor: pointer;
    transition: all 0.3s ease;
}
.news-btn {
	padding: .6rem;
}
.btn:hover {
    background-color: #E50011;
    border-color: #fff;
}
.btn-center {
    margin: 0 auto;
    padding: .6rem;
}
.btn > a {
	display: block;
	text-align: center;
	padding-right: 48px;
    color: #E50011;
    font-weight: bold;
    transition: all 0.3s ease;
}
.btn:hover > a {
    color: #fff;
}
.btn-red {
    background-color: #E50011;
}
.btn-red:hover {
    background-color: #fff;
    border-color: #E50011;
}
.btn-red > a {
    color: #fff;
}
.btn-red:hover > a {
    color: #E50011;
}
.btn-icon {
    position: absolute;
    right: 2%;
    top: 6%;
    background-color: #E50011;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    transition: all 0.3s ease;
}
.btn:hover .btn-icon {
    background-color: #fff;
}
.arrow-red {
    position: relative;
    width: 20px; 
    height: 2px;
    background-color: #fff;
    margin: 1rem auto;
    transition: all 0.3s ease;
}
.btn:hover .arrow-red {
    background-color: #E50011;
}
.arrow-red::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    width: 10px;
    height: 10px;
    border-bottom: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: translateY(-50%) rotate(-45deg);
    transition: all 0.3s ease;
}
.btn:hover .arrow-red::after {
    border-color: #E50011;
}
.arrow-icon, .next .page-numbers {
    border: 2px solid #E50011;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.arrow-icon-left {
    position: relative;
}
.arrow-icon:hover {
    background-color: #E50011;
}
.arrow-icon-white {
    background-color: #fff;
    transition: all 0.3s ease;
}
.btn-red:hover .arrow-icon-white {
    background-color: #E50011;
}
.arrow, .arrow-left {
    position: relative;
    width: 16px; 
    height: 2px;
    background-color: #E50011;
    margin: 1rem auto;
    transition: all 0.3s ease;
}
.arrow-icon:hover .arrow, .btn-red:hover .arrow, .arrow-icon-left:hover .arrow-left {
    background-color: #fff;
}
.arrow::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    width: 10px;
    height: 10px;
    border-bottom: 2px solid #E50011;
    border-right: 2px solid #E50011;
    transform: translateY(-50%) rotate(-45deg);
    transition: all 0.3s ease;
}
.arrow-left::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 10px;
    height: 10px;
    border-bottom: 2px solid #E50011;
    border-right: 2px solid #E50011;
    transform: translateY(-50%) rotate(-225deg);
    transition: all 0.3s ease;
}
.arrow-icon:hover .arrow::after, .btn-red:hover .arrow::after, .arrow-icon-left:hover .arrow-left::after {
    border-color: #fff;
}

/*---------------
 共通
---------------*/
.inner {
    width: 88.888888%;
    max-width: 1280px;
    margin: 0 auto;
}
section {
    padding: 3rem 0 5rem;
}
.section-title {
    width: auto;
    height: 40px;
    display: block;
    margin: 5rem auto;
}
.flexbox {
    display: flex;
}
.item-center {
    align-items: center;
}
.flex-center {
    justify-content: center;
}
.flex-around {
    justify-content: space-around;
}
.flex-between {
    justify-content: space-between;
}
.reverse {
    flex-direction: row-reverse;
}
.text24 {
    font-size: 24px;
    font-weight: 500;
}
.bold {
    font-weight: bold;
}
.white {
    color: #fff;
}
.img500 {
    max-width: 500px;
}
.height320 {
    max-height: 320px;
}
.textbox {
    width: 45%;
    margin: 0 auto;
    padding: 1rem;
}
.textbox2 {
    padding: 1rem 3rem 1rem 1rem;
}
.border-red {
  border: none;
  border-top: 2px solid #E50011;
  height: 0;
  margin: 2rem 0;
}
.border-red1 {
  border: none;
  border-top: 2px solid #E50011;
  height: 0;
  margin: 1rem 0;
}
.border-blue1 {
  border: none;
  border-top: 2px solid #003D82;
  height: 0;
  margin: 1rem 0;
}
.news-badge {
    display: flex;
    align-items: center;
    background-color: #E50011;
    color: #fff;
    font-size: 14px;
    border-radius: 1rem;
    padding: 0 2rem;
    margin: 0 1rem;
    text-align: center;
}
.date, .news-title {
    font-weight: bold;
}

/*下層ページ見出し*/
#page-title {
    margin-top: 112px;
    position: relative;
}
.page-title-bg {
    width: 100%;
    opacity: 0.3;
    height: auto;
}
.page-title {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    height: 58px;
}
.page-content {
    padding: 6rem;
    position: relative;
}

/*トップへ戻る*/
.top-btn {
    background-color: #fff;
    border: 2px solid #E50011;
    border-radius: 2rem;
    width: 56px;
    height: 97px;
    padding-top: 60px;
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.3s ease;
}
.top-btn:hover {
	background-color: #E50011;
	border-color: #fff;
}
.top-link {
    position: relative;
    font-size: 14px;
    font-weight: bold;
    color: #E50011;
    display: block;
    text-align: center;
}
.top-btn:hover .top-link {
	color: #fff;
}
.top-link > img {
    position: absolute;
    width: 50px;
    height: auto;
    top: -66px;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 10;
}
.top-arrow {
  position: relative;
  width: 0;
  margin: auto;
}
.top-arrow::after {
  content: "";
  position: absolute;
  bottom: -3px;
  width: 10px;
  height: 10px;
  border-bottom: 2px solid #E50011;
  border-right: 2px solid #E50011;
  transform: translateX(-50%) rotate(-135deg);
}
.top-btn:hover .top-arrow::after {
	border-color: #fff;
}

/*---------------
 事例
---------------*/
.case-slider-wrap {
    width: 100%;
    min-width: 0;
}

.case-slider-wrap .uk-position-relative {
    width: 500px;
    height: 320px;
}

.case-slider-wrap .uk-position-relative .uk-slideshow-items {
    width: 100%;
    height: 100%;
    border-radius: 30px;
}

.case-slider-wrap .uk-position-relative .uk-slideshow-items img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

ul.uk-dotnav li a {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #dfdfdf !important;
    margin: 0 5px;
    transition: background-color 0.3s ease;
    border: none;
}

ul.uk-dotnav li.uk-active a {
    background-color: #E50011 !important;
}

a.uk-slidenav-previous, a.uk-slidenav-next {
    margin: 0;
    padding: 0;
}

a.uk-slidenav-previous svg {
    display: none;
}

a.uk-slidenav-next svg {
    display: none;
}

a.uk-slidenav-previous .btn-icon {
    /* transform: rotate(180deg); */
    right: unset;
    left: 20px;
    border: 1px solid #E50011;
}

a.uk-slidenav-previous .btn-icon .arrow::after {
    border-bottom: unset;
    border-right: unset;
    border-top: 2px solid #E50011;
    border-left: 2px solid #E50011;
    right: unset;
    left: 0;
}

a.uk-slidenav-next .btn-icon {
    right: 20px;
    border: 1px solid #E50011; 
}

.uk-icon:not(.uk-preserve) [stroke*='#']:not(.uk-preserve) {
    stroke: #E50011;
}

/*---------------
 フッター
---------------*/
/*お問い合わせ*/
#contact {
    background-color: #E50011;
    position: relative;
    padding-bottom: 13rem;
}
.icon4 {
    width: 23%;
    position: absolute;
    left: 8%;
    bottom: -1%;
}
.contactbox {
    background-color: #fff;
    border: 2px solid #E50011;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    width: 45%;
}
.tel-icon {
    width: 52px;
    height: auto;
    margin-bottom: 1rem;
}
.mail-icon {
    width: 62px;
    height: auto;
    margin-bottom: 1rem;
}
.contact-telnumber {
    font-size: 48px;
    font-weight: bold;
}
.contact-text {
    margin: 1rem auto;
}
.page-contact .mail-contact {
    display: none;
}

/*フッター*/
footer {
    padding: 4rem 0 2rem;
}
.footer {
    align-items: center;
}
.footer-logo {
    height: 2.5rem;
    margin-bottom: 2rem;
}
.footer-border {
    border: none;
    border-top: 2px solid #f2f2f2;
    height: 0;
    margin: 2rem 0;
    /* ↓追記 */
    max-width: 1280px;
    margin: 2rem auto;
    width: 90%;
}
.footer-nav {
    justify-content: end;
}
.footer-nav-item {
    font-size: 14px;
    font-weight: bold;
    margin: 0 1rem;
}
.copyright {
    font-size: 10px;
}

/*---------------
 レスポンシブ
---------------*/
@media  screen and (min-width: 1140px) {
    .sp {
        display: none;
    }
    .notfound-section {
        padding: 200px 0;
    }
    .textbox2 {
        max-width: 500px;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1599px) {
    .lg-wh {
        max-width: 300px;
        max-height: 200px;
    }
    .textbox2 {
        min-width: 560px;
    }
}

@media screen and (max-width: 1139px) {
    .notfound-section {
        padding: 150px 0;
    }
    .tablet, .sp {
        display: none;
    }
    .img500, .textbox, .contactbox {
        width: 80%;
		margin: 0 auto;
    }
    .flexbox {
        flex-wrap: wrap;
    }
    .btn {
        margin: 1.5rem auto;
    }
    .contactbox {
        padding: 2rem 2rem 1rem;
        margin: 1rem 0;
    }
    #page-title {
        margin-top: 90px;
    }
    .page-content {
        padding: 3rem 1rem;
    }
    .textbox2 {
        padding: 1rem;
    }
}
@media screen and (max-width: 650px) {
    .notfound-section {
        padding: 100px 0;
    }
    .pc {
        display: none;
    }
    .sp {
        display: block;
    }
    section {
        padding: 1rem 0 3rem;
    }
    #contact {
        padding-bottom: 3rem;
    }
	.img500, .textbox, .contactbox {
        width: 100%;
    }
    .icon4 {
        width: 30%;
    }
    .contact-telnumber {
       font-size: 40px;
    }
    .text24 {
        font-size: 16px;
    }
    .small-sp {
        font-size: 14px;
        margin-bottom: 1rem;
    }
    .border-red {
        margin: 1rem auto 2rem;
    }
    .footer-logo {
        height: 2rem;
    }
    .color-btn {
        width: 60%;
        margin: 2rem auto 8rem;
    }
    #page-title {
        margin-top: 76px;
    }
    .page-title {
        height: 36px;
    }
    .page-content {
        padding: 3rem 0;
    }
    .border-red1, .border-blue1 {
        margin-top: 0;
    }
    .case-slider-wrap .uk-position-relative {
        width: auto;
        height: auto;
        max-width: 500px;
        max-height: 320px;
    }

    a.uk-slidenav-previous .btn-icon {
        top: -10px;
        left: 10px;
        width: 36px;
        height: 36px;
    }

    a.uk-slidenav-next .btn-icon {
        top: -10px;
        right: 10px;
        width: 36px;
        height: 36px;
    }
}