@charset "utf-8";


/* h1 */
h1 {
  font-weight: bold;
  background-color: #FFEC9F;
  color: #646464;
  line-height: 50px;
  overflow: hidden;
  margin: 60px 0 20px;
  position: relative;
  padding: 0.5em 4em calc(0.5em - 6px);
  max-width: 925px;
}

h1::before {
  content: "";
  position: absolute;
  bottom: 3px; /* 下端から10px上に白い線を設定 */
  left: 0;
  width: 100%;
  height: 2px; /* 白い線の高さを設定 */
  background-color: #fff;
}

h1::after {
  content: '';
  background-color: #FFE477;
  opacity: 0.3;
  transform: rotate(-65deg);
  position: absolute;
  bottom: -250px;
  right: -250px;
  width: 300px;
  height: 500px;
}

h1 img {
  position: absolute;
  left: 40px; /* 左端からの位置を設定 */
}

h2 {
  border-left: solid 8px #198f72;
  color: #198f72;
  line-height: 40px;
  padding-left: 10px;
}


/*q_navi*/
/*-----------------------------------------------------------*/ 
.q_navi ul {
    border: solid 2px #0C9D9D;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    list-style: none;
    padding: 1rem 2rem .8rem;
    margin: .5rem auto;
    width: 100%;
    max-width: 1000px;
    height: auto;
}
.q_navi ul li {
    display: inline-block;
    margin: .5rem 0;
    padding: 0 1rem;
    position: relative;
}
.q_navi ul li a {
    color: #25947A;
}
.q_navi ul li a:hover {
    text-decoration: underline;
    opacity: 0.7;
} 
.q_navi ul li::before {
    background: #0C9D9D;
    content: "";
    display: block;
    height: .6rem;
    left: 0;
    line-height: 0;
    width: .6rem;
    position: absolute;
    top: .4em;
}
.q_h2 {
    border-left: 8px solid #0C9D9D;
    color: #0C9D9D;
    font-size: 1.6rem;
    margin: 3.5rem 0 1rem;
    padding: .3rem .5rem;
}
.q_h2::first-letter {
    color: #0C9D9D;
}

/*common*/
/*-----------------------------------------------------------*/
#question dl {
    padding: 0 1rem;
    line-height: 1.6;
}
#question dl dt {
    border-top: 1px solid #FFEC9F;
    color: #0C9D9D;
    font-size: 1.1rem;
    font-weight: bold;
    padding-top: 1rem;
}
#question dl dt:first-of-type {
    border-top: none;
}
#question dl dd {
    margin: .5rem 0 1rem 2rem;
}

/* Q&A */
/* ------------------------------------------------------------------ */
dl dd a {
  color: #198f72;
}

dl dd a:hover {
  color: #60b49f;
}

.q_navi ul {
  border: solid 2px #198f72;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  list-style: none;
  padding: 1rem 2rem .8rem;
  margin: .5rem auto;
  width: 100%;
  height: auto;
}
.q_navi ul li {
  margin: .5rem 0;
  padding: 0 1rem;
  position: relative;
}
.q_navi ul li a {
  color: #25947A;
}
.q_navi ul li a:hover {
  text-decoration: underline;
  opacity: 0.7;
} 
.q_navi ul li::before {
  background: #198F72;
  content: "";
  display: block;
  height: .6rem;
  left: 0;
  line-height: 0;
  width: .6rem;
  position: absolute;
  top: .4em;
}

/*common*/
/*-----------------------------------------------------------*/
#question dl {
  padding: 0 1rem;
  line-height: 1.6;
}
#question dl dt {
  border-top: 1px solid #FFEC9F;
  color: #198F72;
  font-size: 1.1rem;
  font-weight: bold;
  padding-top: 1rem;
}
#question dl dt:first-of-type {
  border-top: none;
}
#question dl dd {
  margin: .5rem 0 1rem 2rem;
}

.space {
  margin: 70px 0;
}