@charset "UTF-8";

figure {
  position: relative;
}

/* ページタイトル画像 */
.e-plan {
  background-image: url(../img/quality/quality-main.png);
}

.entry-ttl {
  background-repeat: no-repeat;
  background-size: cover;
  padding: 17% 0;
  position: relative;
}

.entry-ttl .text-position {
  width: 90%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.entry-ttl h2 {
  font-size: 80px;
  color: #fff;
  text-align: center;
  letter-spacing: 8px;
  line-height: 1.4;
}

.entry-ttl .ja {
  font-size: 14px;
  color: #fff;
  text-align: center;
}

.entry-quality-area {
  padding: 0 0 40px 0;
}

.quality-copy {
  padding: 80px 0 0 0;
}

.quality-copy p.ttl {
  font-size: 28px;
  font-family: "EB Garamond", serif;
  font-optical-sizing: auto;
  font-weight: normal;
  font-style: normal;
  letter-spacing: 0.05em;
  line-height: 1.8;
  text-align: center;
  color: #896e3e;
  margin-bottom: 40px;
}

/* flex */
.column2 {
  justify-content: space-between;
  flex-wrap: wrap;
}

.column2 li {
  width: calc((100% - 3.33%) / 2);
}

.column3 {
  justify-content: space-between;
  flex-wrap: wrap;
}

.column3 li {
  width: calc((100% - 6.66%) / 3);
}

.column4 {
  justify-content: space-between;
  flex-wrap: wrap;
}

.column4 li {
  width: calc((100% - 9.99%) / 4);
}

.item {
  margin: 0px 0px 50px 0;
}

/* block */
.block01 figure {
  margin-bottom: 20px;
}

/* テキスト */

h4 {
  box-sizing: border-box;
  /* font-size: min(1.4285714285714286vw, 20px); */
  font-size: 20px;
  margin-bottom: 15px;
  color: #45584f;
  line-height: 1.4;
  letter-spacing: 0.1em;
}

h4.bb-ttl {
  border-bottom: 1px solid #45584f;
  padding-bottom: 10px;
  margin-bottom: 25px;
}

h4.bg-ttl {
  text-align: left;
  padding: 5px 0 5px 10px;
  background: #dde2e6;
}

h4.circle {
  text-indent: -1em;
  padding-left: 1em;
}

h4.lh-narrow {
  line-height: 1.2;
}

h4 span {
  font-size: 12px;
}

h4.flex {
  justify-content: space-between;
  align-items: center;
}

h4 .f-text {
  font-size: 20px;
}

p.txt {
  font-size: 14px;
  line-height: 24px;
  letter-spacing: 0.1em;
}

p.txt span {
  font-size: 12px;
  line-height: 1.3;
}

.attention {
  display: block;
  font-size: 12px;
  text-align: left;
}

.small {
  font-size: 12px;
}

sup {
  font-size: 10px;
  vertical-align: super;
}

/* tab_Area */
.tab_Area {
  width: 96%;
  max-width: 1200px;
  margin: 80px auto 0px;
  gap: 13px;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
}

.tab_Area li {
  width: calc((100% - 39px) / 4);
}


.tab_Area li a {
  display: block;
  width: 100%;
  color: #896e3e;
  font-family: "EB Garamond", serif;
  font-optical-sizing: auto;
  font-weight: normal;
  font-style: normal;
  font-size: 18px;
  text-align: center;
  font-feature-settings: "palt";
  letter-spacing: 0.05em;
  padding: 16px 0;
  background: #fff;
  border: 1px solid #896e3e;
  transition: 0.3s;
  box-sizing: border-box;
}

.tab_Area li a:hover {
  color: #fff;
  background: #896e3e;
  transition: 0.3s;
}

.tab_Area li.here {
  position: relative;
}

.tab_Area li.here a {
  color: #fff;
  pointer-events: none;
  background: #896e3e;
}

/*---------------------------
レイアウト調整
---------------------------*/
@media only screen and (max-width: 960px) {
  .tab_Area li a {
    font-size: 14px;
  }
}



/*---------------------------
sp
---------------------------*/
@media only screen and (max-width: 820px) {

  .entry-ttl {
    padding: 26% 0;
  }

  .entry-ttl h2 {
    font-size: 40px;
  }

  /* テキスト */
  h4 {
    font-size: 18px;
  }

  h4 .f-text {
    font-size: 18px;
  }

  /* flex */
  .column2 li {
    width: 100%;
  }

  .column3 li {
    width: 100%;
  }

  .column4 li {
    width: 100%;
  }

  /* Area */
  .item {
    margin: 0px 0px 40px 0;
  }

  .entry-quality-area {
    padding: 0 0 20px 0;
  }

  .quality-copy {
    padding: 60px 0 0 0;
  }

  .quality-copy p.ttl {
    font-size: 22px;
    margin-bottom: 20px;
  }

  /* tab_Area */
  .tab_Area {
    width: 94%;
    flex-wrap: wrap;
    gap: 10px;
    margin: 50px auto 0;
    justify-content: flex-start;
  }

  .tab_Area li {
    position: relative;
    font-feature-settings: "palt";
    width: calc((100% - 10px) / 2);
  }

  .tab_Area li a {
    position: relative;
    font-size: 14px;
    letter-spacing: 0;
    padding: 16px 0;
  }

  .tab_Area li a {
    line-height: 1.2;
  }


}