@charset "utf-8";

body{
  font-size:16px;
  font-family: 游ゴシック体,"Yu Gothic",YuGothic sans-serif;
  background-color:#FFFFFF;
  color:#000;
  font-weight: medium;
  max-width: 1920px;
  margin: 0 auto!important;
  position: relative
}

h1,h2,h3,h4,h5{
  letter-spacing: 0.12em;
  font-weight: medium;
  font-family: 游明朝体, "Yu Mincho", YuMincho serif;
}

p{
  line-height:1.5;  
  letter-spacing: 0.06em;
  font-family: 游明朝体, "Yu Mincho", YuMincho serif;
}


a{
  color:#000 !important;
  font-weight:medium;
}

a p{
  line-height:1.3;  
  letter-spacing: 0.12em;
}

a:hover{
  text-decoration:none;
}

img{
  width:100%;
  object-fit: contain;
}

p{
  margin:0;
}

a{
  transition: 0.3s;
  cursor: pointer;
  color:#212529;
}

h1{
  font-size: clamp(1.25rem, 0.795rem + 1.52vw, 2.5rem);
}
h1, h2, h3, h4, h5, h6{
  line-height: 1.2;  
  font-family: 游明朝体, "Yu Mincho", YuMincho serif;
}

.container{
  padding:0 !important;
  max-width: 1536px;
  width: 80%;
}

.row{
  margin:0;
}

.main-title{
  font-size:clamp(1rem, 0.636rem + 1.21vw, 2rem);
  width:fit-content;
  margin:0 auto 2.5rem;
  padding:1% 2rem;
  border-top:2px solid;
  border-bottom:2px solid;
  min-width:270px;
  text-align:center;
  position:relative;
}

.contents-head{
  z-index: 10;
}

.main-title:before,
.main-title:after{
  content:"";
  position:absolute;
  width:13px;
  height:13px;
  background-color:#000;
}

.main-title:before{
  top:0;
  right:0;
}

.main-title:after{
  bottom:0;
  left:0;
}

.footer-contact h3{
  font-size:2rem;
  margin-bottom:1rem;
}

.footer-contact h3 + p{
  font-size:clamp(0.875rem, 0.784rem + 0.3vw, 1.125rem);
  font-weight:bold;
  line-height: 2;
  margin-bottom: 7%;
}

.footer-contact-img{
  width:50%;
}

.footer-contact-img img{
  height: 100%;
  object-fit: cover;
  object-position: 37%;
}

.footer-contact-text{
  width:50%;
  padding: 5rem 5%;
  position: relative;
  background:url(https://s-9601640.smooooth.jp/system_panel/uploads/images/20241016174842159732.png) no-repeat right bottom/cover;
}

@media screen and (max-width: 1024px) {
  .main-title{
    min-width:200px;
  }

  .footer-contact-img{
    width:40%;
  }

  .footer-contact-text{
    width:60%;
    padding: 2.5rem 5%;
  }
}

@media screen and (max-width: 768px) {
  .main-title {
    min-width: 180px;
    padding: 0.5rem 2rem;
    margin-bottom: 1.5rem;
  }
  .footer-contact-img{
    display:none;
  }
  .footer-contact-text{
    width:100%;
    background-position:75% bottom;
  }
  .footer-contact h3{
    text-align:center;
  }

  body{
    font-size:14px;
  }
  .container{
    width: 90% !important;
  }
}
