﻿@charset "UTF-8";

html {
    font-size: 62.5%; /* remで指定の際はpxの10分の1remで指定 */
    scroll-behavior: smooth;
}

body {
    color: #333333;
    font-size: rem;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    box-sizing: border-box;
}

ul {
    list-style: none;
}

a {
    color: #251e1c;
    text-decoration: none;
}

a:hover {
    opacity: 0.8;
}

img {
    width: 100%;
}

.inner {
    max-width: 1270px;
    padding: 0 20px;
    margin: 0 auto;
}

.margin_link {
    margin-top: -200px;
    padding-top: 200px;
}

@media screen and (max-width: 1180px) {
    .margin_link {
        margin-top: -80px;
        padding-top: 80px;
    }
}

@media screen and (max-width: 520px) {
    .inner {
        width: 100%;
        padding: 0 26px;
    }

}

/* -------------------
    基本アニメーション
-------------------- */
.fadeIn {
    animation-name: fadeIn; /* ふわっとアニメ */
    animation-duration: 2s;
    animation-fill-mode: forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}



/* -----------------
        共通
------------------- */

p {
    font-size: rem;
    font-weight: normal;
}

.subtitle {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 75px;
}
.subtitle img {
    display: block;
    width: 47px;
}
.subtitle h3 {
    font-size: 3.2rem;
    font-weight: bold;
    color: #01214B;
}

.subtitle .sub_en {
    font-size: 1.6rem;
    font-weight: normal;
    color: #B3DDF2;
    display: block;
}

h4 {
    font-size: 2rem;
    font-weight: bold;
    color: #01214B;
}
h4 img {
    max-width: 50px;
    height: 55px;
    margin-right: 10px;
}

.br-pc {
    display: block;
}
.br-tb {
    display: none;
}
.br-sp {
    display: none;
}

/* contack Tel ボタン */
a img.contact{
    display: block;
    border-radius: 30px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
    opacity: 1;
}

a img.contact:hover {
    opacity: 1;
    transform: translateY(3px);
    transition: all 0.1s;
    box-shadow: none;
}

/* ボタン 共通 */

a.btn {
    width: 325px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    height: 50px;
    padding: 0 40px;
    font-size: 1.6rem;
    font-weight: bold;
    position: relative;
}

a.btn::after {
    content: '';
    width: 12px;
    height: 12px;
    position: absolute;
    top: 18px;
    right: 40px;
    transform: rotate(45deg);
}

/* もっとみる　ボタン */

.btn.andmore {
    color: #fff;
    background-color: #01214B;
    margin: 20px auto 0;
    text-align: left;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
    opacity: 1;
    transition: all 0.5s;
}

.btn.andmore::after {
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
}

.btn.andmore:hover {
    color: #01214B;
    background-color: #fff;
    border: 2px solid #01214B;
    transform: scale(1.02);
    box-shadow: none;
}
.btn.andmore:hover::after {
    border-top: 3px solid #01214B;
    border-right: 3px solid #01214B;
}

/* 施工事例をみる　ボタン */

a.btn.forexample {
    color: #01214B;
    background-color: #fff;
    border: 2px solid #01214B;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
    transition: all 0.5s;
    opacity: 1;
    margin: 20px auto 0;
}
a.btn.forexample::after {
    border-top: 3px solid #01214B;
    border-right: 3px solid #01214B;
}

a.btn.forexample:hover {
    color: #fff;
    background-color: #01214B;
    transform: scale(1.02);
    box-shadow: none;
}
a.btn.forexample:hover::after {
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
}

/* 相談してみる　ボタン */

a.btn.soudan {
    color: #fff;
    background-color: #01214B;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
    opacity: 1;
    margin: 0 auto;
}

a.btn.soudan::after {
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
}

a.btn.soudan img {
    width: 25px;
    margin-right: 15px;
}

a.btn.soudan:hover {
    opacity: 1;
    transform: translateY(5px);
    transition: all 0.1s;
    box-shadow: none;
}

@media screen and (max-width: 960px) {
    a.btn {
        max-width: 325px;
        width: 100%;
    }
    .subtitle {
        margin-bottom: 60px;
    }
}
@media screen and (max-width: 760px) {
    .br-pc {
        display: none;
    }
    .br-tb {
        display: block;
    }
    .subtitle {
        margin-bottom: 45px;
    }
    .subtitle h3 {
        font-size: 2.6rem;
    }
    
    .subtitle .sub_en {
        font-size: 1.4rem;
    }
    .subtitle img {
        width: 36px;
    }
    h4 {
        font-size: 1.8rem;
    }
  
}
    @media screen and (max-width: 520px) {
    .br-sp {
        display: block;
    }
}


/* ------------------------
        header
------------------------ */

/* アニメーションしない元 */
#header {
    background-color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 1;
    z-index: 100;
    font-size: 18px;
    font-weight: bold;
    /* margin-bottom: 20px; */
}
/*  アニメーションしない元ここまで */


/* #header {
    position: absolute;
    top: -150px;
    left: 0;
    margin: 150px auto 0;
    width: 100%;
    font-size: 18px;
    font-weight: bold;
    color: #000;
}

#header.fixed {
    background-color: #fff;
    position: fixed;
    margin-top: 0;
    top: 0;
    width: 100%;
    left: 0;
    height: 110px;
    opacity: 0.9;
    z-index: 50;
    transition: top 1s ease-in;
} */

.header_upper_container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1700px;
    height: 120px;
    padding: 0 3%;
    margin: 0 auto;
}

.site-title a {
    display: flex;
    justify-content: left;
    align-items: center;
    gap: 15px;
}

.site-title img {
    width: 100%;
    display: inline-block;
}
.site-title img.logomark {
    max-width: 47px;
    align-self: center;
}
.site-title img.logo {
    max-width: 220px;
    align-self: center;
}

.upper_right {
    display: flex;
    align-items: center;
}
.upper_right ul {
    display: flex;
    justify-content: left;
    gap: 15px;
    margin-right: 30px;
}
.upper_right ul li {
    max-width: 40px;
}

.upper_right .contact_tel {
    width: 400px;
}
/* メニュー部分 */
.header_under_container {
    max-width: 1700px;
    width: 100%;
    padding: 0 3%;
    margin: 0 auto 10px;
}

#g-nav {
    /* display: flex;
    justify-content: left;
    align-items: flex-end;
    margin-left: 65px; */
}

#g-nav .nav_menu {
    display: flex;
    justify-content: space-between;
}

#g-nav .nav_menu li {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 48px;
    margin: 0 5px;
    transition: all 0.3s;
    position: relative;
}

#g-nav .nav_menu li::after {
    content: '';
    width: 1px;
    height: 48px;
    background-color: #707070;
    position: absolute;
    top: 0;
    right: -5px;
}
#g-nav .nav_menu li:last-child:after {
    width: 0;
    height: 0;
}
#g-nav .nav_menu li:nth-child(2) {
    flex: 1.2;
}


#g-nav .nav_menu li.is-page,
#g-nav .nav_menu li:hover {
    border-radius: 30px;
}
#g-nav .nav_menu li.is-page:nth-child(1),
#g-nav .nav_menu li:nth-child(1):hover {
    background-color: #C1A2CB;
}
#g-nav .nav_menu li.is-page:nth-child(2),
#g-nav .nav_menu li:nth-child(2):hover {
    background-color: #FCDA97;
}
#g-nav .nav_menu li.is-page:nth-child(3),
#g-nav .nav_menu li:nth-child(3):hover {
    background-color: #B0E2FF;
}
#g-nav .nav_menu li.is-page:nth-child(4),
#g-nav .nav_menu li:nth-child(4):hover {
    background-color: #8FFFAF;
}
#g-nav .nav_menu li.is-page:nth-child(5),
#g-nav .nav_menu li:nth-child(5):hover {
    background-color: #D5D5D6;
}
#g-nav .nav_menu li.is-page:nth-child(6),
#g-nav .nav_menu li:nth-child(6):hover {
    background-color: #94FF8D;
}

#header #sp-menu {
    display: none;
}


@media screen and (max-width: 1300px) {
    #header {
        font-size: 16px;
    }
}

@media screen and (max-width: 1180px) {

    #header #g-nav {
        display: none;
    }

    .header_upper_container {
        display: block;
        height: 60px;
        padding-right: 0;
    }
    

    .site-title {
        height: 60px;
    }
    .site-title a {
        height: 60px;
    }
    .site-title img.logomark {
        max-width: 30px;
    }
    .site-title img.logo {
        max-width: 170px;
    }

    #header .upper_right {
        display: none;
    }
    .header_under_container {
        margin: 0;
    }
    
    #header #sp-menu {
        display: block;
    }

    #sp-menu .toggle_btn {
        display: block;
        width: 60px;
        height: 60px;
        position: absolute;
        top: 0;
        right: 0;
        transition: all 0.5s;
        cursor: pointer;
        background-color: #01214B;
        z-index: 1000;
    }

    #sp-menu .toggle_btn span {
        display: block;
        position: absolute;
        left: 15px;
        width: 30px;
        height: 2px;
        background-color: #fff;
        transition: all 0.5s;
    }
    

    #sp-menu .toggle_btn span:nth-child(1) {
        top: 18px;
    }
    #sp-menu .toggle_btn span:nth-child(2) {
        top: 29px;
    }
    #sp-menu .toggle_btn span:nth-child(3) {
        top: 42px;
    }

    #sp-menu .sp-nav {
        position: absolute;
        top: 0;
        right: -300px;
        background-color: #D4E4F2;
        opacity: 0;
        width: 300px;
        transition: all 0.8s;
        z-index: 100;
    }
    
    #sp-menu .sp-nav ul {
        display: block;
        margin-top: 60px;
        height: inherit;
    }

    #sp-menu .sp-nav li {
        padding: 10px 10px 10px 20px;
        text-align: left;
        border-top: 2px solid #fff;
        transition: all 0.8s;
    }
    #sp-menu .sp-nav li a {
        color: #333;
    }
    #sp-menu .sp-nav li.sp-nav_sns {
        background-color: #01214B;
    }
    #sp-menu .sp-nav li.sp-nav_sns a {
        color: #fff;
    }

    #sp-menu .sp-nav li:hover {
        border-right: 2px solid #fff;
        border-radius: 0 20px 20px 0;
        width: 95%;

    }
    #sp-menu .sp-nav li:nth-child(1):hover {
        background-color: #C1A2CB;
    }
    #sp-menu .sp-nav li:nth-child(2):hover {
        background-color: #FCDA97;
    }
    #sp-menu .sp-nav li:nth-child(3):hover {
        background-color: #B0E2FF;
    }
    #sp-menu .sp-nav li:nth-child(4):hover {
        background-color: #8FFFAF;
    }
    #sp-menu .sp-nav li:nth-child(5):hover {
        background-color: #D5D5D6;
    }
    #sp-menu .sp-nav li:nth-child(6):hover {
        background-color: #94FF8D;
    }
    #sp-menu .sp-nav li.sp-nav_sns:hover {
        background-color: #333;
    }

    /* #sp-menu .sp-nav li a:hover {
        color: #fff;
    } */

    .open #sp-menu .toggle_btn {
        background-color: #D4E4F2;
        opacity: 0.7;
    }
    .open #sp-menu .toggle_btn span:nth-child(1) {
        -webkit-transform: translateY(10px) rotate(-135deg);
        transform: translateY(12px) rotate(-135deg);
        background-color: #333;
    }
    .open #sp-menu .toggle_btn span:nth-child(2) {
        opacity: 0;
    }
    .open #sp-menu .toggle_btn span:nth-child(3) {
        -webkit-transform: translateY(-10px) rotate(135deg);
        transform: translateY(-12px) rotate(135deg);
        background-color: #333;
    }

    .open #sp-menu .sp-nav {
        right: 0;
        opacity: 0.9;
        transition: all 0.5s;
    }

    main {
        margin-top: 60px;       
    }
}


/* ------------------------
        footer
------------------------ */

#footer {
    padding-top: 60px;
}

.footer_container {
    display: flex;
    position: relative;
    margin-bottom: 45px;
}
.footer_container::before {
    content: '';
    width: 3px;
    height: 100%;
    background-color: #BFBFBF;
    position: absolute;
    top: 0;
    left: 40%;
}

.footer_container .footer_left {
    width: 40%;
}
.footer_container .footer_left h1 {
    display: flex;
    align-items: center;
}
.footer_container .footer_left h1 img.drop_mark {
    width: 47px;
    margin-right: 15px;
}
.footer_container .footer_left h1 img.footer_logo {
    width: 200px;
}
.footer_container .footer_left .tel_container {
    margin-bottom: 15px;
    margin-left: 62px;
}
.footer_container .footer_left span {
    font-size: 1.3rem;
}

.footer_container .footer_left img.allfree {
    max-width: 320px;
    margin-bottom: 10px;
    margin-left: 62px;
    
}
.footer_container .footer_left ul {
    display: flex;
    justify-content: left;
    gap: 8px;
    margin-bottom: 10px;
    margin-left: 62px;
}
.footer_container .footer_left ul li {
    width: 30px;
}
.footer_container .footer_left img.contact {
    max-width: 320px;
    margin-left: 62px;
}

.footer_container .footer_right {
    width: 55%;
    text-align: left;
    padding-left: 30px;
}

.footer_container .footer_right .subtitle {
    justify-content: left;
    margin-bottom: 30px;
}
.footer_container .footer_right .subtitle h3 {
    font-size: 2.5rem;
}
.footer_container .footer_right .subtitle h3.sub_en {
    font-size: 1.2rem;
}
.footer_container .footer_right .subtitle img {
    width: 36px;
}
.footer_container .footer_right h4 {
    margin-left: 50px;
    margin-bottom: 30px;
}
.footer_container .footer_right ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    width: 150px;
    margin-left: 50px;
}
.footer_container .footer_right ul li {
    color: #295996;
    font-size: 1.3rem;
}
.footer_container .footer_right img.area_map {
    position: absolute;
    top: -180px;
    right: -200px;
    max-width: 600px;
}

#footer .copyright {
    width: 100%;
    height: 40px;
    background-color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
}
#footer .copyright span {
    font-size: 1.0rem;
    color: #fff;
}


/* スマホ版で出てくるフッター */

#footer .sp-footer {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    background-color: #fff;
    width: 100%;
    padding: 10px 0;
    z-index: 100;
}
#footer .sp-footer ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
#footer .sp-footer ul li {
    height: 60px;
}
#footer .sp-footer ul li img.contact {
    background-color: transparent;
    max-width: 432px;
    height: 60px;
    
}
#footer .sp-footer ul li img.allfree {
    background-color: transparent;
    max-width: 205px;
    height: 60px;
    border-radius: 10px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
}


@media screen and (max-width: 1470px) {
    .footer_container .footer_right img.area_map {
        right: -80px;
        width: 45%;
    }  
}
@media screen and (max-width: 1300px) {
    .footer_container::before {
        left: 35%;
    }
    
    .footer_container .footer_left {
        width: 35%;
    }

    .footer_container .footer_right {
        width: 60%;
    }

    .footer_container .footer_right img.area_map {
        right: -20px;
        top: -150px;
        width: 40%;
        min-width: 300px;
    }  

}
@media screen and (max-width: 1180px) {
    .footer_container {
        flex-direction: column-reverse;
    }
    .footer_container::before {
        display: none;
    }
    
    .footer_container .footer_left {
        width: 100%;
    }

    .footer_container .footer_right {
        width: 100%;
        margin-bottom: 30px;
    }
    .footer_container .footer_right .subtitle {
        margin-bottom: 20px;
    }
    .footer_container .footer_right h4 {
          margin-bottom: 15px;
    }
    .footer_container .footer_right ul {
        width: 70%;
    }
    .footer_container .footer_right ul li:nth-child(3),
    .footer_container .footer_right ul li:nth-child(6),
    .footer_container .footer_right ul li:nth-child(7) {
        display: none;
    }

    .footer_container .footer_left img.allfree,
    .footer_container .footer_left img.contact,
    .footer_container .footer_left ul {
        display: none;
    }
    #footer .copyright {
        margin-bottom: 80px;
    }

    #footer .sp-footer {
        display: block; /* 表示 */
        animation-name: fadeInAnimeFooter; /* ふわっとアニメ */
        animation-duration: 0.8s;
        animation-fill-mode: forwards;
    }   

    @keyframes fadeInAnimeFooter {
        from {
            opacity: 0;
            transform: translateY(60px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

}
@media screen and (max-width: 760px) {
    .footer_container .footer_right .subtitle h3 {
        font-size: 2rem;
    }
    .footer_container .footer_right .subtitle img {
        width: 28px;
    }
    
    #footer .sp-footer ul {
        flex-direction: column;
    }
}
@media screen and (max-width: 520px) {
    .footer_container .footer_right img.area_map {
        top: -150px;
        width: 40%;
        min-width: 200px;
    }  

    #footer .sp-footer ul li img.contact {
        width: 100%;
        
    }
    #footer .sp-footer ul li img.allfree {
        width: 100%;
    }
    #footer .copyright {
        margin-bottom: 180px;
    }

}
/* ------------------------
        PAGE TOP ボタン
------------------------ */


/*リンクの形状*/
#page-top {
    width: 60px;
    height: 60px;
    transition: all 0.3s;
}
#page-top img {
 width: 100%;
}

  
#page-top a:hover{
    opacity: 0.7;
}

  
/*リンクを右下に固定*/
#page-top {
    position: fixed;
    right: 10px;
    bottom:10px;
    z-index: 100;
      /*はじめは非表示*/
    opacity: 0;
    transform: translateY(100px);
}
  
  /*　上に上がる動き　*/
  
#page-top.UpMove{
    animation: UpAnime 0.5s forwards;
}
  @keyframes UpAnime{
    from {
        opacity: 0;
        transform: translateY(100px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
  }
  
  /*　下に下がる動き　*/
  
  #page-top.DownMove{
    animation: DownAnime 0.5s forwards;
  }
  @keyframes DownAnime{
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 1;
        transform: translateY(100px);
    }
  }
  