@charset "UTF-8";

/* --------------------------------------
ボタン
---------------------------------------*/
.link_btn {
    width: 200px;
    padding: 0.75rem;
    display: inline-block;
    box-sizing: border-box;
    text-align: center;
}

.link_btn_large {
    width: 250px;
    max-width: 250px;
    text-align: center;
    padding: 1.5rem 0;
    display: inline-block;
    box-sizing: border-box;
    font-size: 1.25rem;
}

.btn_blue {
    background-color: #127cb2;
    border: #127cb2 1px solid;
    color: #fff!important;
    transition: 0.5s;
}

.btn_blue:hover {
    background-color: #fff;
    border: #127cb2 1px solid;
    color: #000!important;
    transition: 0.5s;
}

/* 詳しくはこちら */
.btn01 {
    background-color: #fff;
    border: #000 1px solid;
    color: #000!important;
    /* font-weight: 600; */
    transition: 0.5s;
}
.btn01:hover {
    background-color: #127cb2;
    border: #127cb2 1px solid;
    color: #fff!important;
    transition: 0.5s;
}

@media screen and (max-width: 768px) {
    .link_btn {
        width: 100%;
        text-align: center;
    }
    .link_btn.btn01 {
        display: block;
        width: 100%;
        max-width: 200px;
        margin: auto;
    }
    .link_btn_large {
        display: block;
        margin: auto;
    }
}

/* --------------------------------------
動くボタン
---------------------------------------*/
.square_btn_wrap_left {
    display: flex;
    justify-content: left;
}
.square_btn_wrap_center {
  display: flex;
  justify-content: center;
}
@media screen and (max-width: 768px) {
  .square_btn_wrap_left {
    justify-content: center;
  }
}

a.square_btn {
    display: inline-block;
    min-width: 200px;
    line-height: 40px;
    color: #000;
    position: relative;
    background-color: #fff;
    border: 1px solid #c8c8c3;
    box-sizing: border-box;
    border-radius: 2rem;
    padding: 0 3rem;
    box-sizing: border-box;
    text-align: center;
}
a.square_btn::before {
    font-family: "Font Awesome 5 Free";
    content: '\f054';
    font-weight: 900;
    bottom: 0;
    margin: auto;
    position: absolute;
    right: 1.5rem;
    top: 0;
    transition: right .3s;
    /* アイコン細く */
    -webkit-font-smoothing: antialiased;
    -webkit-text-stroke-color: #fff;
    -webkit-text-stroke-width: 1px
}
a.square_btn:hover::before {
    right: 1rem;
    -webkit-text-stroke-color: #c8c8c3;
}
a.square_btn:hover {
    background-color: #c8c8c3;
}

/* --------------------------------------
動くボタン丸
---------------------------------------*/
a.maru_btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  color: #000;
  background-color: #fff;
  border: 1px solid #c8c8c3;
  box-sizing: border-box;
  border-radius: 50%;
  margin-right: 0.5rem;
}
a.maru_btn i {
    /* アイコン細く */
    -webkit-font-smoothing: antialiased;
    -webkit-text-stroke-color: #fff;
    -webkit-text-stroke-width: 1px
}
a.maru_btn:hover {
  background-color: #c8c8c3;
  margin-right: 0;
}
a.maru_btn:hover i {
  -webkit-text-stroke-color: #c8c8c3;
}

/* --------------------------------------
トップへ戻る
---------------------------------------*/
/*リンクの形状*/
#page-top a {
    display: flex;
    justify-content: center;
    align-items: center;
    /* border: 1px solid #c8c8c3; */
    background: #fff;
    color: #000;
    width: 50px;
    height: 50px;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 0.6rem;
    transition: all 0.3s;
}
i.fas.fa-angle-up {
  font-size: 2rem;
}
#page-top a i {
  /* アイコン細く */
  -webkit-font-smoothing: antialiased;
  -webkit-text-stroke-color: #fff;
  -webkit-text-stroke-width: 2px
}
#page-top a:hover {
    /* border: 1px solid #c8c8c3; */
    background: #c8c8c3;
    color: #fff;
}
#page-top a:hover i{
  -webkit-text-stroke-color: #c8c8c3;
  -webkit-text-stroke-width: 2px
}
/*リンクを右下に固定*/
#page-top {
    position: fixed;
    right: 10px;
    bottom: 10px;
    z-index: 2;
    /*はじめは非表示*/
    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);
    }
}
@media screen and (max-width: 768px) {
    /*リンクを右下に固定*/
    #page-top {
        position: fixed;
        right: 10px;
        bottom: 10px;
        z-index: 2;
        /*はじめは非表示*/
        opacity: 0;
        transform: translateY(200px);
    }
    /*　上に上がる動き　*/
    #page-top.UpMove {
        animation: UpAnime 0.5s forwards;
        bottom: 100px;
        transition: 0.5s;
    }
    @keyframes UpAnime {
        from {
            opacity: 0;
            transform: translateY(200px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    /*　下に下がる動き　*/
    #page-top.DownMove {
        animation: DownAnime 0.5s forwards;
        bottom: 10px;
        transition: 0.5s;
    }
    @keyframes DownAnime {
        from {
            opacity: 1;
            transform: translateY(0);
        }
        to {
            opacity: 1;
            transform: translateY(200px);
        }
    }
}

/* --------------------------------------
追従問い合わせボタン
---------------------------------------*/
a.auto_btn {
  position: fixed;
  right: -100px;
  bottom: 80px;
  writing-mode: vertical-rl;
  text-orientation: upright;
  z-index: 1;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 600;
  padding: 2rem 1rem;
  box-sizing: border-box;
  background-color: #3f74b0;
  color: #fff;
  border-top-left-radius: 1rem;
  border-bottom-left-radius: 1rem;
}
a.auto_btn span {
  display:block;
  font-size: 0.8rem;
  font-weight: 400;
  margin-right: 0.5rem;
}
a.auto_btn:hover {
  background-color: #fff;
  color: #3f74b0;
}
@media screen and (max-width: 768px) {
    a.auto_btn {
        display: none;
    }
}