﻿#contents{
	margin: 50px auto;
}

#contents .sec {
  padding-bottom: 100px
}
@media screen and (max-width:768px) {
  #contents .sec {
    padding-bottom: 60px
  }
}
#contents p {
  font-size: .875rem;
  line-height: 1.5;
  letter-spacing: .04em;
  margin-bottom: 0
}
@media screen and (max-width:768px) {
  #contents p {
    line-height: 1.2;
    letter-spacing: 0
  }
  #contents p.notes {
    margin-bottom: 20px
  }
}
.note, #contents p.note {
  font-size: 12px;
  line-height: 1.5
}
#contents p.note {
  margin-top: 10px
}

/*-------main visual---------*/

.relative {
    position: relative;
}
#mv{
  width: 100%;
  height: calc(100vh - 250px);
  overflow: hidden;
  background: url(../img/quality/main.jpg);
  background-position: center left;
  background-size: cover;
}
@media screen and (max-width: 768px) {
  #mv{
  background: url(../img/quality/main-sp.jpg);	  
  background-position: top center;
  background-size: cover;
}
}
#mv .mv_img{
  object-fit: cover;
  object-position: center center;
}
#mv .mv_ttl{
  position: absolute;
  width: 41.33vw;
  top: 14.13vw;
}
#mv .mv_copy{
  position: absolute;
  width: 40.13vw;
  bottom: 10.13vw;
  right: 4.4vw;
}
@media screen and (min-width: 480px) {
#mv .mv_copy{
  width: 40.13vw;
}
}
@media screen and (min-width: 768px) {
  .img_note{
		font-size: 1.21vw;
  }

  #mv{
    height: calc(100vh - 105px);
    background: url(../img/quality/main.jpg);
    background-position: top left;
    background-size: cover;
  }
  #mv .mv_ttl{
    width: 15.71vw;
    top: 6.85vw;
  }
  #mv .mv_copy{
    position: absolute;
    width: 51.78vw;
    bottom: 15px;
    right: 3.92vw;
  }
}
@media screen and (min-width: 1400px) {
  .img_note{
		font-size: 17px;
  }

  #mv .mv_ttl{
    width: 220px;
    top: 96px;
  }
  #mv .mv_copy{
    width: 325px;
    right: 55px;
  }
}
@media screen and (max-height: 700px) and (min-width: 768px) {
  #mv .mv_copy {
    width: 40.78vh;
  }
}
@media screen and (min-height: 700px) and (min-width: 768px) {
  #mv .mv_copy {
    width: 25.78vh;
  }
}
@media screen and (max-width: 768px) and (min-width: 520px) {
  #mv{
    background-position: center center;
  }
}

.subttl {
  color: #958244;
  font-size: 40px;
  letter-spacing: .12em;
  text-align: center;
  margin-bottom: 25px;
  line-height: 1.2
}
@media screen and (max-width:768px) {
  .subttl {
    font-size: 26px;
    margin-bottom: 15px
  }
}
h4.lead {
  margin-bottom: 40px;
  font-size: 20px;
  line-height: 1.2;
  text-align: center;
  letter-spacing: 0
}
@media screen and (max-width:768px) {
  h4.lead {
    margin-bottom: 25px;
    font-size: 16px;
    line-height: 1.6
  }
}
.hd01 {
  color: #958244;
  font-size: 1.125rem;
  letter-spacing: .04em;
  line-height: 1.5;
  margin-bottom: 5px
}
@media screen and (max-width:768px) {
  .hd01 {
    font-size: 1rem;
    letter-spacing: 0
  }
}
#contents img {
  object-fit: cover;
  vertical-align: bottom
}
.img:has(.cap, .imgttl) {
  position: relative
}
.img > .cap, .imgttl {
  position: absolute;
  bottom: 0;
  right: 5px;
  font-size: .6em
}
.cap.wh {
  color: #fff
}
@media screen and (max-width:768px) {
  .img > .cap {
    font-size: .4em;
    bottom: 3px
  }
}
.nav-local.half li {
  width: 50%
}
.main {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 18px
}
.main .img:nth-child(1) {
  grid-area: 1 / 1 / 3 / 4
}
.main .img:nth-child(2) {
  grid-area: 3 / 1 / 5 / 2
}
.main .img:nth-child(3) {
  grid-area: 3 / 2 / 5 / 3
}
.main .img:nth-child(4) {
  grid-area: 3 / 3 / 5 / 4
}
@media screen and (max-width:768px) {
  .main {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px
  }
  .main .img:nth-child(1) {
    grid-area: 1 / 1 / 2 / 2
  }
  .main .img:nth-child(2) {
    grid-area: 1 / 2 / 2 / 3
  }
  .main .img:nth-child(3) {
    grid-area: 2 / 1 / 3 / 2
  }
  .main .img:nth-child(4) {
    grid-area: 2 / 2 / 3 / 3
  }
}
.main .img > .cap {
  right: auto;
  left: 5px;
  bottom: 5px
}
.main .img > .imgttl {
  font-size: 1.3275rem;
  color: rgba(255, 255, 255, .8);
  letter-spacing: .04em;
  text-align: end;
  line-height: 1.5
}
@media screen and (max-width:768px) {
  .main .img > .imgttl {
    font-size: 1.125rem
  }
}
.flex.col-3 {
  display: flex;
  flex-wrap: wrap;
  gap: 30px
}
.flex.col-3 > li {
  width: calc(100% / 3 - 20px)
}
@media screen and (max-width:768px) {
  .flex.col-3 {
    gap: 20px
  }
  .flex.col-3 > li {
    width: calc(100% / 2 - 10px)
  }
}
.flex .img {
  margin: 0;
  margin-bottom: 10px
}
.flex em {
  color: #958244;
  font-size: 1rem
}
.txtlist.hd01 {
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: pre;
  margin-block: 40px 20px
}
.txtlist.hd01:after {
  content: "";
  width: 100%;
  margin-left: .78vw;
  border-top: 1px solid #958244
}
.txtlist.flex.col-3 {
  row-gap: 20px
}
.txtlist.flex.col-3 .hd01 {
  color: #000
}
@media screen and (max-width:768px) {
  .txtlist.hd01 {
    font-size: 1.125rem
  }
  .txtlist.hd01:after {
    margin-left: 10px
  }
  .txtlist.flex.col-3 .hd01 {
    font-size: .875rem
  }
}
@media screen and (max-width:768px) {
  #contents p {
    line-height: 1.5;
  }
}
.annotation {
  padding-left: 0.8em
}
.annotation li {
  text-indent: -0.6em;
}

/*--- 資料請求ボタン ---*/
#entry {
  padding: 9.33vw 0 5vw;
  border-top: 1px solid #c9caca;
  text-align: center;
  padding-bottom: 40px;
}
#entry .entry_txt {
  font-size: 3.2vw;
  font-weight: 500;
  color: #000000;
  margin-bottom: 2em;
}
#entry .entry_btn {
  display: block;
  width: 73.33vw;
  margin-left: auto;
  margin-right: auto;
}
#note {
  width: 93.33vw;
  margin-left: auto;
  margin-right: auto;
  font-size: 2.66vw;
  text-align: justify;
  line-height: 1.25;
  letter-spacing: 0;
  margin-top: 13vw;
  margin-bottom: 6.5vw;
}
@media screen and (min-width: 768px) {
  #entry {
    padding: 6.42vw 0 3vw;
  }
  #entry .entry_txt {
    font-size: 1.21vw;
    margin-bottom: 1.3em;
  }
  #entry .entry_btn {
    width: 42.85vw;
  }
  #note {
    width: 89vw;
    font-size: 0.85vw;
    margin-top: 6.78vw;
    margin-bottom: 5.35vw;
  }
}
/*@media screen and (min-width: 1400px) {
  #entry {
    padding-top: 90px;
  }
  #entry .entry_txt {
    font-size: 17px;
  }
  #entry .entry_btn {
    width: 600px;
  }
  #note {
    width: 1246px;
    font-size: 12px;
    margin-top: 95px;
    margin-bottom: 75px;
  }
}*/
@media screen and (max-width: 768px) {
  #note .note_txt {
    font-size: 2.66vw;
  }
	#quality{
		padding: 0 25px;
	}
	#service{
		padding: 0 25px;
	}
}

.footer{
	text-align: center;
	margin-bottom: 40px;
}

.hd01:nth-child(2){
	font-size: 16.4px;
}

