@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@500&display=swap');
/* RESET
----------------------------------------------------------------------------------------------------*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video,picture {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  /*font: inherit;*/
  vertical-align: baseline;
  line-height: 1.5em;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}

table {
  margin : 0;
  border-collapse: collapse;
  border-spacing: 0;
  empty-cells: show;
}

img {
  vertical-align: bottom;
  border: none;
}
picture {
  display: block;
}
/* ----------------------------------------------

 * 設定をしなおす

---------------------------------------------- */
html {
  -webkit-font-smoothing: antialiased;
}
body {
  margin: 0 auto;
  padding: 0;
  font-size: 15px;
  line-height: 1.8em;
  color: #2f2f2f;
  height: 100%;
  /*font-family: yu-mincho-pr6, "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝",'Noto Serif JP', serif;*/
  font-family: 'Noto Serif JP',yu-mincho-pr6, "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
  font-weight: 500;
}
@media only screen and ( max-width : 949px ) {
  body {
    font-size: 17px;
  }
}

h1,h2,h3,h4,h5,h6 {
  font-weight: 500;
}

sup,sub {
  font-size: 70%;
}
sup {
  vertical-align: top;
}


table {
  margin : 0;
  border-collapse: collapse;
  border-spacing: 0;
  empty-cells: show;
}

img {
  vertical-align: bottom;
  border: none;
  max-width: 100%;
  height: auto;
}
main {
  display: block;
  position: relative;
}

a {
  outline:none;
  color: #2f2f2f;
}

a:hover {
  text-decoration: none;
}


a,a:hover,a:hover img,button,input {
  -webkit-transition: 0.5s;
  transition: 0.5s;
  text-decoration: none;
}

a:hover {
  filter: alpha(opacity=80);
  -moz-opacity:0.80;
  opacity:0.80;
}

* {
  -webkit-box-sizing:border-box;
  -moz-box-sizing:border-box;
  box-sizing:border-box;
  *behavior:url(/scripts/boxsizing.htc);
}
/* -----------------------------------------------
 * COMMON
----------------------------------------------- */
.clr {
  zoom:1;
  display:inline-table;
}
.clr:after {
  content:".";
  display:block;
  height:0;
  clear:both;
  visibility:hidden;
  font-size:0;
  line-height:0;
  }

* html .clr {
  height:1%;
  display:inline-table;
  display:block;
  height:1%;
}
.clr {
  display:block;
}
.fit {
  object-fit: cover;
  font-family: 'object-fit: cover;';
  width: 100%;
  height: 100%;
}
.container {
  margin: 0 auto;
}
@media only screen and ( max-width : 959px ) {
  .container {
    padding: 0 15px;
    max-width: 520px;
  }
  .section {
    padding: 40px 0;
  }
  .br_pc {
    display: none;
  }
  .box {
    margin-bottom: 30px;
  }
  .sbox {
    margin-bottom: 15px;
  }
  .sp_none {
    display: none;
  }
}

@media print, screen and ( min-width : 960px ) {
  .section {
    padding: 80px 0;
  }
  .br_sp {
    display: none;
  }
  .box {
    margin-bottom: 60px;
  }
  .sbox {
    margin-bottom: 30px;
  }
  .sp {
    display: none;
  }
  .container {
    min-width: 960px;
    max-width: 1000px;
  }
}
/* ---------------------------------------------------------------------------------------------

　   HEADER

--------------------------------------------------------------------------------------------- */
header {
  width: 100%;
  position: absolute;
  z-index: 100;
  left: 0;
  top: 0;
}

@media only screen and ( max-width : 959px ) {
  #header_logo {
    width: 200px;
  }
}

@media print, screen and ( min-width : 960px ) {
}



/* ---------------------------------------------------------------------------------------------

　   FOOTER

--------------------------------------------------------------------------------------------- */
#footer {
  background: #2f2f2f;
  color: #fff;
  text-align: center;
}
.copy {
  padding: 10px;
  font-size: 13px;
}
#fixed_link {
  position: fixed;
  z-index: 99;
}
#fixed_link a {
  color: #fff;
}
.fixed_link_estimate {
  background: #926959;
}
.fixed_link_contact {
  background: #615a56;
}
.fixed_link_tel {
  background: #1d966b;
}
#fixed_link a i img {
  display: block;
}

#totop {
  margin-top: 40px;
  text-align: center;
}

#totop a {
  color: #fff;
  text-decoration: underline;
}

@media only screen and ( max-width : 959px ) {
  #footer {
    padding-bottom: 60px;
  }
  .copy {
    font-size: 10px;
  }

  #fixed_link {
    width: 100%;
    left: 0;
    bottom: 0;
    display: flex;
    height: 90px;
    box-shadow: 0 0 10px rgba(0,0,0,.16);
    background: #fff;
  }
  #fixed_link a {
    display: block;
    height: 90px;
    width: 33.3%;
    text-align: center;
    font-size: 14px;
  }

  .fixed_link_estimate,.fixed_link_contact {
    padding-top: 20px;
  }
  .fixed_link_tel {
    padding-top: 10px;
  }
  /* #fixed_link .fixed_link_estimate {
    width: 46%;
  }
  #fixed_link .fixed_link_contact {
    width: 54%;
  } */
  #fixed_link a i,#fixed_link a i{
    margin-right: 5px;
    color: #a8956b;
    max-height: 24px;
  }
  #fixed_link a i img {
    display: inline;
  }
}

@media print, screen and ( min-width : 960px ) {
  .copy {
    font-size: 13px;
  }
  #fixed_link {
    right: 0;
    top: 20%;
    width: 60px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0,0,0,.16);
    background: #fff;
  }
  #fixed_link a {
    display: flex;
    flex-direction: column;
    height: 200px;
    align-items: center;
    padding: 20px 0;
    color: #fff;
  }
  #fixed_link a span {
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    font-size: 16px;
  }
  #fixed_link a i {
    color: #a8956b;
    margin-bottom: 10px;
  }
}




/* ---------------------------------------------------------------------------------------------

　   COMMON

--------------------------------------------------------------------------------------------- */
@media only screen and ( max-width : 959px ) {
  h2 {
    font-size: 24px;
  }
  h2 span {
    font-size: 20px;
  }
}
@media print, screen and ( min-width : 960px ) {
  h2 {
    font-size: 36px;
  }
  h2 span {
    font-size: 30px;
  }
}


/* ---------------------------------------------------------------------------------------------

　   ANIMATION

--------------------------------------------------------------------------------------------- */

.zoomout {
  transform: scale(1.1, 1.1);
  opacity: 0;
  transition: 2s;
}
.zoomout.zoomout__active {
  transform: scale(1, 1);
  opacity: 1;
  transition-delay: .2s;
}

.fadein {
  opacity: 0;
  transition: .8s;
}
.fadein.fadein__active {
  opacity: 1;
  transition-delay: .1s;
}
.fadein_up {
  opacity: 0;
  transition: .8s;
  animation-timing-function:cubic-bezier(0.34, 1.56, 0.64, 1);
}
.fadein_up.fadein_up__active {
  opacity: 1;
  animation-name: fadein_up__active;
  animation-duration: 1.2s;
}
@media screen and (min-width:768px) {
  .order2_anim .fadein_up.fadein_up__active:nth-child(2n) {
    transition-delay: .3s;
    animation-delay: .3s;
  }
  .order3_anim .fadein_up.fadein_up__active:nth-child(3n+2) {
      transition-delay: .3s;
      animation-delay: .3s;
  }
  .order3_anim .fadein_up.fadein_up__active:nth-child(3n) {
      transition-delay: .6s;
      animation-delay: .6s;
  }
}
@keyframes fadein_up__active {
    from {
        transform: translateY(15px);
    }
    to {
        transform: translateY(0);
    }
}


/* ---------------------------------------------------------------------------------------------

　   MODAL

--------------------------------------------------------------------------------------------- */


.modal {
  visibility: hidden;
  overflow-y: auto;
  opacity: 0;
  position: fixed;
  z-index: 99999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 0 20px;
  transition: opacity 0.3s, visibility 0s 0.3s;
  background: rgba(0, 0, 0, 0.8);
}
.modal.is-active {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.3s, visibility 0s 0s;
}

.modal_container {
  display: flex;
  min-height: 100%;
  justify-content: center;
  align-items: center;
}

.modal_inner {
  margin: 20px auto;
  width: 100%;
}

.modal_content {
  display: none;
  background: #fff;
  overflow: hidden;
  position: relative;
  text-align: center;
}
.is-active .modal_content {
  display: block;
}

.modalClose {
  border: none;
  background: #fff;
  cursor: pointer;
  position: absolute;
  right: 20px;
  top: 20px;
  width: 40px;
}
.modalClose:hover {
}

@media only screen and ( max-width : 959px ) {
  .modal {
    padding: 0;
  }
  .modalClose {
    top: 10px;
    right: 10px;
  }
  .modal_inner {
    max-width: 520px;
    width: 100%;
  }
}

@media print, screen and ( min-width : 960px ) {
  .modal_inner {
    width: 840px;
  }
}
