@charset "UTF-8";

html {
  font-size: 62.5%;
}

/* sp */
/* p {
  font-size: 1.4rem;
}

h2 {
  font-size: 1.9rem;
}

h3 {
  font-size: 1.6rem;
} */

body {
  background-color: #ffffff;
  background-image: url("https://www.transparenttextures.com/patterns/absurdity.png");
}

/* sec01 */
.container01 {
  width: 100%;
  height: 45vw;
  position: relative;
  background-image: url(../images/qualitypolicy/06_MV.jpg);
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
}

/* sec02 sec03 */
#sec02 .contents {
/* #sec03 .contents { */
  padding-bottom: max(4rem, 4.5vw);
}

#sec02 .contents h2,
#sec03 .contents h2 {
  margin-bottom: 2rem;
  font-size: 1.9rem;
}

#sec02,
#sec03 {
  line-height: 1.875;
}


.txtrignt {
  text-align: right;
}

.p-top {
  padding-top: 2rem;
}

#sec02 li,
#sec03 li {
  line-height: 2;
}

#sec02 li {
  display: list-item;
  list-style: number;
  padding-block: 1.8rem;
  color: var(--color-main);
  border-top: 1px solid var(--color-main);
  list-style-position: inside;
  text-indent: -1.3em;
  padding-inline: 3.4em 1.4em;
  line-height: 1.875;
}

#sec02 p {
  margin-top: 30px;
}



#sec03 li {
  display: list-item;
  list-style: number;
  padding: 10px 0;
  color: var(--color-main);
  border-top: 1px solid var(--color-main);
  list-style-position: inside;
}


#sec02 li:last-of-type,
#sec03 li:last-of-type {
  border-bottom: 1px solid var(--color-main);
}


.bgc-main {
  color: var(--color-white);
  background-color: var(--color-main);
  padding: 10px 20px;
  margin: 30px 0 16px;

}

.headline {
  position: relative;
  padding-left: 22px;
  margin-bottom: 50px;
  line-height: 1.5;
}

.headline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 7px;
  height: 100%;
  background-color: #00817a;
}

.c-main {
  color: var(--color-main);
  margin: 6rem 0 2rem 0;
}

.flexcontainer {
  display: flex;
  gap: 20px;
  flex-direction: column;
}

.box {
  display: flex;
  width: 100%;
  justify-content: space-between;
  /* 左右に配置 */
  align-items: center;
  /* width: 45em; */
  height: auto;
  border: 1px solid #008080;
  padding: 0 20px;
}



.item_sec03:hover {
  background-color: #f4fadd;
  transition: background-color 0.3s ease;
}

.item_sec03:hover p {
  /* color: #f4fadd; */
  transition: color 0.3s ease;
}


.right-column {
  margin-top: 2rem;
  position: relative;
  top: -8px;
  width: 100%;
}

.left-text {
  margin: 0;
  font-size: 18px;
  color: #006666;
  text-align: left;
}

.icon {
  width: 20px;
  height: auto;
}



/* pc */
@media screen and (min-width: 999.8px) {

  h2 {
    font-size: 3.5rem;
  }

  h3 {
    font-size: 2.6rem;
  }

  #sec02 .contents h2,
  #sec03 .contents h2 {
    font-size: 3.5rem;
  }

  /* sec01 */
  .container01 {
    width: 100%;
    height: 27vw;
    position: relative;
    background-image: url(../images/qualitypolicy/06_MV.jpg);
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
  }


  #sec02 {
    margin-top: 0;
    margin-bottom: 0;
    /* line-height: 2.8; */
  }

  #sec02 {
    margin-top: 12rem;
  }

  /* sec03 sec04 */
  #sec02 .contents,
  #sec03 .contents {
    padding-top: 0;
  }

  #sec02 .contents h2,
  #sec03 .contents h2 {
    margin-bottom: var(--header-margin-bottom);
  }

  /* #sec02,
  #sec03,
  p {
    font-size: 1.6rem;
  } */

  #sec02 li,
  #sec03 li {
    border-top: 1px solid var(--color-main);
  }

  .flexcontainer {
    display: flex;
    gap: 20px;
    flex-direction: row;
    /* デフォルト値 */
  }

  .box {
    display: flex;
    justify-content: space-between;
    /* 左右に配置 */
    align-items: center;
    width: 45em;
    height: auto;
    border: 1px solid #008080;
    padding: 0 20px;
  }



  .flex-container {
    display: flex;
    gap: 40px;
    align-items: flex-start;
  }

  .left-column {
    flex: 1;
    flex-grow: 2;
    padding-right: 10px;
    /* font-size: 16px; */
    color: #008080;
  }

  .left-column ol {
    padding-left: 20px;
    margin: 0;
    margin-block: 2rem;
  }

  .right-column {
    flex: 2;
    padding-left: 10px;
    /* font-size: 16px; */
    /* line-height: 1.6; */
  }



}