@charset "UTF-8";

@media (max-width:1280px){
  header nav {
    margin-right: -1.5rem;
  }
  header nav > ul > li > a {
    padding: 0 1.5rem;
  }
  #quickMenu {
    right: 16px;
  }
}
@media (max-width:1024px){
  html,body {font-size: 15px;}

  .lnb-wrap {
    display: none;
  }

  .s-container {
    width: 100%;
  }
}
@media (max-width:968px){
  html,body {font-size: 14px;}
  header nav > ul > li > a {
    padding: 0 0.8rem;
  }
}
@media (max-width:768px){
  html,body {font-size: 13px;}
  .mobile-flex {display: flex;}
  .wrap {
    padding-top: 50px;
  }

  header .header-top,
  header nav {
    display: none;
  }
  header .logo img {
    height: 24px;
  }
  #quickMenu {
    top: auto!important;
    bottom: 0;
    left: 0;
    width: 100%;
    position: fixed;
    padding: 0;
    border-radius: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    -o-border-radius: 0;
}
  #quickMenu .quickcloseBtn,
  #quickMenu h4 {
    display: none;
  }
  #quickMenu ul {
    display: flex;
    flex-flow: row wrap;
    width: 100%;
    padding: 0;
  }
  #quickMenu .line {
    display: none;
  }
  #quickMenu ul li.quick_list {
    width: 33.3334%;
    margin-top: 0;
    position: relative;
    height: 60px;
    display: flex;
    flex-flow: column wrap;
    align-items: center;
    justify-content: center;
  }
  #quickMenu ul li.quick_list::after {
    content: "";
    display: block;
    width: 1px;
    height: 30px;
    background-color: #eee;
    position: absolute;
    top: 15px;
    right: 0;
  }
  #quickMenu ul li.quick_list:last-child:after {
    display: none;
  }
  #quickMenu ul li .icon-wrap img {
    height: 20px;
  }
  #quickMenu ul li p {
    font-size: 12px;
    line-height: 1.41666rem;
    margin-top: 3px;
  }
  .main-visual .img-wrap {
    justify-content: end;
  }
  .main-visual .text-wrap {
    top: 27%;
  }
  .main-visual .text-wrap.flex-text {
    justify-content: center;
  }
  /* .main-visual .img-wrap img {
    height: 51vw;
    width: auto;
  } */
  .main-visual .img-wrap {
    height: 70vh;
    align-items: flex-end;
  }
  .main-visual .img-wrap img {
    width: 100%;
    margin-bottom: -35px;
  }
  .main-visual .text-wrap h3 {
    font-size: 2rem;
    word-break: keep-all;
  }
  .m-content01 .white-box {
    padding: 30px 20px;
  }
  .m-content01 .info-box {
    display: none;
  }
  .m-content01 .info-box:first-child {
    display: block;
    width: 100%;
  }
  .m-content02 .left-box ul li h3 {
    font-size: 16px;
  }
  .m-content02 .left-box ul li p.date {
    font-size: 14px;
  }
  .m-content02 .left-box .top-wrap {
    align-items: center;
  }
  .m-content02 .left-box .top-wrap a {
    margin-top: 0;
  }
  .m-content02 .left-box .top-wrap a img {
    width: 20px;
  }
  .m-content03 .container > .flex-box {
    gap: 23px;
  }
  .m-content03 ul {
    gap: 20px 6.25%;
    width: 100%;
  }
  .m-content03 ul li {
    width: 29.16667%;
  }
  .m-content03 ul li .icon-wrap {
    width: 100%;
    padding-bottom: 100%;
    position: relative;
    height: 0;
  }
  .m-content03 ul li .icon-wrap img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    -o-transform: translate(-50%,-50%);
}
  .m-content03 ul li p {
    font-size: 15px;
  }
  footer .left-wrap {
    justify-content: center;
    gap: 30px;
  }
  footer .footer_logo img {
    height: 24px;
  }
  footer .center-wrap {
    width: 100%;
  }
  footer .center-wrap .footer-menu {
    gap: 20px;
  }
  footer .center-wrap .footer-menu a {
    font-size: 15px;  
  }
  footer .center-wrap .address-wrap h5 {
    font-size: 15px;
    line-height: 1.4;
  }
  footer .center-wrap .address-wrap p {
    font-size: 13px;
    line-height: 1.3846154;
  }
  footer .family_site {
    width: 100%;
    margin-top: 30px;
  }
  footer .family_site button {
    width: 100%;
    font-size: 16px;
    height: 50px;
    padding: 0 20px;
  }
  footer .family_site .link_wrap a {
    font-size: 16px;
    line-height: 50px;
  }

  .table-wrap {
    max-width: 100%
  }
  .s2_1 .information-wrap table colgroup col:first-child,
  .certificate-table table colgroup col:first-child {
    width: 25%;
  }
  .certificate-table table colgroup col:first-child {
    width: 15%;
  }
  .certificate-table tr td.price {
    text-align: left;
  }
  .s3_1 .certificate-table table colgroup col:nth-child(2) {
    width: 30%;
  }
  .s3_1 .certificate-table table colgroup col:nth-child(3) {
    width: 10%;
  }
  .s2_1 .info-input-wrap table {
    width: 100%;
  }
  .s2_1 .info-input-wrap .photo-wrap {
    width: 100%;
  }
  .s2_1 .info-input-wrap .photo-wrap .thum-wrap {
    height: 250px;
  }
  .s2_1 .map-wrap .left-box {
    width: 100%;
    border-bottom: 1px solid #ddd;
  }
  .s2_1 .map-wrap .right-box {
    width: 100%;
    border-left: 0;
  }
  .s5_4 .content-box02 .box {
    width: 100%;
  }
  .s5_4 .content-box01 .adress-wrap .left-box {
    gap: 10px;
  }
  .s5_4 .content-box01 .adress-wrap .left-box {
    flex-flow: nowrap;
  }
  .s5_4 .content-box01 .adress-wrap .left-box img {
    height: 20px;
    padding-top: 0;
  }
  .s5_4 .content-box01 .adress-wrap .left-box h4 br{
    display: none;
  }
  .s5_4 .content-box01 .adress-wrap a {
    margin-top: 20px;
  }

  /* :root {
    --size12: 1.25rem;
    --size13: 1.3125rem;
    --size14: 1.375rem;
    --size15: 1.4375rem;
    --size16: 1.5rem;
    --size18: 1.625rem;
    --size20: 1.75rem;
    --size22: 1.875rem;
    --size24: 2rem;
    --size25: 2.0625rem;
    --size26: 2.125rem;
    --size28: 2.25rem;
    --size30: 2.375rem;
    --size34: 2.625rem;
    --size35: 2.6875rem;
    --size36: 2.75rem;
    --size40: 3rem;
    --size45: 3.3125rem;
    --size50: 3.625rem;
    --size55: 3.9375rem;
    --size60: 4.25rem;
    --size62: 4.375rem;
  } */
}
@media (max-width:480px){
  html,body {font-size: 13px;}

  .m-content02 .right-box .box {
    width: 100%;
    height: 130px;
    background-position: bottom 10px right 20px;
    font-size: 18px;
  }
  .m-content02 .right-box .box01 {background-image: url(/img/mobile/main_content02_1_mobile.png);}
  .m-content02 .right-box .box02 {background-image: url(/img/mobile/main_content02_2_mobile.png);}
  .m-content02 .right-box .box03 {background-image: url(/img/mobile/main_content02_3_mobile.png); background-position: bottom 10px right 10px;}
  .m-content02 .right-box .box04 {background-image: url(/img/mobile/main_content02_4_mobile.png);}
  
}
@media (max-width:350px){
  html,body {font-size: 10px;}
}