/* common */
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, input, textarea {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

ul, ol {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

body{
    color: #333333;
}

body:has(.under-header){
    padding-top: 80px;
}

a:hover{
    text-decoration: none;
    color: unset;
}

.pc{
    display: block;
}

.sp{
    display: none;
}

.inner{
    max-width: 1128px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
}

.title{
font-weight: 700;
font-size: 48px;
line-height: 200%;
letter-spacing: normal;
}

.title span{
    color: #0F65EF;
}

.animation{
        /* フェードアップアニメーション用の初期状態 */
        opacity: 0;
        transform: translateY(50px);
        transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animation.fade-up {
    opacity: 1;
    transform: translateY(0);
}


@media screen and (max-width: 768px) {
    .pc{
        display: none;
    }

    .sp{
        display: block;
    }

    .inner{
        padding: 0 15px;
    }

    .title{
        font-weight: 700;
        font-size: 36px;
        line-height: 160%;
        letter-spacing: normal;
        }

        body:has(.under-header) {
            padding-top: 64px;
        }
}


/*footer*/
#footer{clear:both;background-color:#171c61;}
#footerBottom{padding:10px 0 0;}
#copyright{height:30px;background-color:#171c61;color:#fff;text-align:center;font-size:10px;border-top: solid 1px #ccc;line-height: 30px;}
#footer .footer_content{max-width:980px; width:90%;margin:auto;position:relative;}
#footer .footer_content h4{position: absolute;top: -62px; width: 100%; overflow: hidden;}
.footer_content_nav {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	column-gap: 15px;
}

/*footer-widget*/
#footerWrap{background:#eee url(img/footer_widget_area_bg.gif) repeat-y;clear:both;margin:0 auto;min-height:250px;}
#footerWidgetArea{float:left;width:100%;margin:0;}
.footerWidget{float:left;padding:15px;width:205px;margin:0;}
.footerWidget .widgetTitle{margin:0;font-weight:bold;}
.footerWidget ul{margin:0;}
.footerWidget p{margin:0;}

/*footer-menu*/
#footer-menu{clear:both;}
#footer-menu ul{float:left;margin:0;padding:0;}
#footer-menu li{float:left;margin-right:10px;}
#footer-menu a{float:left;}
ul.footer_menu{display:block;width:100%;margin: 50px 5px 50px 5px;}
ul.footer_menu a{color:#fff;font-size: 15px;line-height: 1.25;}
ul.footer_menu li.top_list{border-bottom:dotted 1px #ea5514;height:28px;margin-bottom:5px;}
ul.footer_menu li {margin-bottom:0.5em}
.footer_info{display: flex; justify-content: space-between; margin-bottom:30px;}
.footer_info .logo_img{width:205px;height:60px;}
.footer_info a{color:#ea5514;}
.footer_info img {display: inline-block;}
.footer_info_logo {

}
.footer_info .yokoyama_dis{color: #fff;font-size: 16px;line-height: 1.25;padding-top: 7px;margin-right:40px;}
.footer_info .yokoyama_dis span{font-size:16px;}
.footer_info .yokoyama_tel_mail{color:#fff;font-size:12px;width:fit-content;}
.footer_info .yokoyama_tel_mail span{display:block;}
.footer_info .yokoyama_tel_mail span.sp1{height:auto;font-size: 16px; text-align: right;}
.footer_info .yokoyama_tel_mail span.sp2{height:auto;line-height: 1.25; font-size:38px;font-weight: 700; color: #ea5514; margin-top: 5px;}
.footer_info .yokoyama_tel_mail span.sp2 > span{display: flex;justify-content: flex-end; align-items: baseline;}
.footer_info .yokoyama_tel_mail span.sp2 .label{font-size:20px;margin-right: 10px; font-weight: 400;}
.footer_info .yokoyama_tel_mail span.sp3{height:auto;}
.footer_info .yokoyama_tel_mail span.sp3 > span{display: flex;justify-content: flex-end; margin-top: 5px; align-items: baseline; font-size:25px;font-weight: 700;}
.footer_info .yokoyama_tel_mail span.sp3 .label{font-size:15px;margin-right: 10px; font-weight: 400;}
.footer_info .yokoyama_tel_mail span.sp3 .footer-to-contact {display: block;width: 100%; margin-top: 10px; padding: 5px 10px; font-size: 16px; text-align: center; color: #fff; background: #ea5514; box-sizing: border-box;}

/*-------------------
    ページトップ
-------------------*/
#toTop{text-align:right;font-size:11px;line-height:19px;max-width:910px;width:90%;margin:auto;padding-bottom:60px;margin-top:50px;}
#toTop img{display: inline-block;}
@media (max-width: 991px) {
  #wrap #toTop {
      width:96%;
      margin: auto;
      margin-top: 20px;
  }
}

/*-------------------
    フッター
-------------------*/
@media (max-width: 991px) {
  #footer {
      margin-bottom: 60px;
  }
  #footer .footer_content {
      width: 100%;
      padding-top: 10px;
  }
  #footer .footer_content h4 img {
      display: none;
  }
  #footer .footer_content h4 {
      max-width: 375px;
      left: 50%;
      transform: translateX(-50%);
      width: 100%;
      height: 49px;
      background: url(https://www.yonoji.co.jp/wordpress/wp-content/images/foot_top.png) no-repeat 0;
      background-size: 100%;
      top: -44px;
  }
  #footer .footer_content ul {
      display: none;
  }
  .footer_info {
      flex-direction: column;
  }
  .footer_info .logo_img {
      max-width: 280px;
      width: 60%;
      height: auto;
      margin: auto;
      clear: both;
      float: none;
  }
  .footer_info .yokoyama_dis {
  display: none;
  }
  .footer_info .yokoyama_tel_mail {
      width: 94%;
      margin: auto;
      line-height: 130%;
      clear: both;
      float: none;
  }
  .footer_info .yokoyama_tel_mail span.sp1 {
      height: auto;
      margin: 15px auto;
      font-size: 12px;
      line-height: 160%;
      text-align: center;
      font-weight: bold;
  }
  .footer_info .yokoyama_tel_mail span.sp1 a {
      display: block;
  }
  .footer_info .yokoyama_tel_mail span.sp2 {
      flex-direction: column;
      height: auto;
  }
  .footer_info .yokoyama_tel_mail span.sp2 span,
  .footer_info .yokoyama_tel_mail span.sp3 span {
      justify-content: center;
      margin-bottom: 20px;
  }
  .footer_info .yokoyama_tel_mail span.sp2 span a {
      width: auto;
  }
  .footer_info .yokoyama_tel_mail span.sp2 .label {
      margin-bottom: 0;
  }
  .footer_info .yokoyama_tel_mail span.sp2 a,.footer_info .yokoyama_tel_mail span.sp2 img {
      width: 50%;
  }
  .footer_info .yokoyama_tel_mail span.sp2 a img {
      width: 100%;
  }
  .footer_info .yokoyama_tel_mail span.sp3>span {
      margin: 0;
  }
  .footer_info .yokoyama_tel_mail span.sp3 a:nth-child(1) {
      display: none;
  }
  .footer_info .yokoyama_tel_mail span.sp3 .footer-to-contact {
      display: block;
      width: 280px;
      height: 40px;
      margin: 0px auto 0;
      line-height: 40px;
  }
  #footerBottom #copyright {
      height: auto;
      line-height: 300%;
      clear: both;
  }
}

html {
    scroll-behavior: smooth;
    scroll-margin-top: 120px;
}

body {
    scroll-margin-top: 120px;
}

@media screen and (max-width: 768px) {
    body {
        scroll-padding-top: 64px;
    }
}

#footer .footer_content h4{
    display: none;
}

#toTop{
    display: none;
}