@charset "utf-8";
/* CSS Document */


.nmthx_contents{
  background: #fff;
  padding: 72px 100px;
  display:block;
}

.nmthx_contents h2{
  font-weight: bold;
  font-size: clamp(1.125rem, 0.875rem + 0.83vw, 1.5rem);/*1200-480 18pt-24pt*/
  color: #404040;
  margin: 0 auto 2em;
  width: fit-content;
  line-height: 1.4;
}
.nmthx_contents h3{
  font-weight: bold;
  font-size: clamp(1rem, 0.833rem + 0.56vw, 1.25rem);/*1200-480 16pt-20pt*/
  line-height: 2;
  color: #cc2525;
  margin-bottom: 0.5em;
}

.nmthx_contents h3::before{
  display: block;
  height: 7rem;
  margin-top: -7rem;
  content: "";
}

.nmthx_contents p{
  line-height: 1.8;
  margin-bottom: 2em;
}
.nmthx_intro{ margin-bottom: 2em;}

.nmthx_rulelist{margin-bottom: 2em;}
.nmthx_rulelist li::before{
  content: "";
  width: 10px;
  height: 10px;
  display: inline-block;
  border-radius: 100vh;
  background: #cc2525;
  margin-right: 8px;
}
.nmthx_rulelist li{
  padding-left: 1em;
  text-indent: -1em;
  line-height: 1.6;
}
.nmthx_rulelist li:nth-last-of-type(n+2){  margin-bottom: 16px;}

.nmthx_faqbox{
  background: url("../img/titlebg.png") #ffe987 no-repeat top center;
  background-size: contain;
  padding: 58px 120px;
  margin-top:0;
}

.nmthx_faqboxnavi{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 48px;
}

.nmthx_faqboxnavi li a{
  display: block;
  padding: 0.5em 2em;
  font-weight: bold;
  font-size: 0.875rem;
  line-height: 2;
  color: #747e04;
  background: #FFF;
  border-radius: 100vh;
  margin: 0 4px;
  text-decoration: none;
}
.nmthx_faqboxnavi li:nth-last-of-type(n+2){margin-bottom: 0.5em;}

.nmthx_contents.nmthx_faqbox h3{
  text-align: center;
  color: #404040;
  font-size: clamp(1.375rem, 1.125rem + 0.83vw, 1.75rem);/*1200-480 22pt-28pt*/
}
.nmthx_contents.nmthx_faqbox h3:nth-of-type(n+2){margin-top: 2em;}


.nmthx_faqlist dt{
  display: flex;
  align-items: center;
  font-weight: bold;
  font-size: clamp(1rem, 0.917rem + 0.28vw, 1.125rem);/*1200-480 16pt-18pt*/
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-align: left;
  color: #444;
  background: #f5f5f5;
  border: 1px solid #bebebe;
  padding: 20px 2em 20px 16px ;
  border-radius: 8px;
  box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.39);
  
  position: relative;
  cursor: pointer;
  user-select: none;
}
.nmthx_faqlist dt.open{/*上記分開けた時に変化させたいcss*/
  border-radius: 8px 8px 0 0;
  box-shadow: none;
}

.nmthx_faqlist dt::before{
  display: block;
  content: "";
  background: url("../img/ico_q.svg") no-repeat center center;
  background-size: contain;
  width: 2em;
  min-width:32px; 
  height: 2em;
  min-height:32px;
  margin-right: 8px;
}

.nmthx_icon-wrap {
  position: absolute;
  right: 0.5em;
  top: 50%;
  transform: translatey(-50%);
  width: 32px;
  height: 32px;
}
.nmthx_icon {
  position: relative;
  display: inline-block;
  width: 100%;
  height: 100%;
}
/* プラスアイコン */
/* ２本の線を.icon-wrapの中央に並行に重ねる */
.nmthx_icon:before,
.nmthx_icon:after {
  position: absolute;
  content: "";
  display: block;
  transition: all 0.4s;
  background: #000;
  left: 50%;
  top: 50%;
  width: 50%;
  height: 2px;
  transform: translate(-50%, -50%);
}
/* そのうち1本を縦にする */
.nmthx_icon:before {
  transform: translate(-50%, -50%) rotate(90deg);
}

/* プラスアイコンクリック後、マイナスにする */
.nmthx_icon.open:before {
  transform: translate(-50%, -50%) rotate(0deg);
}

dl.nmthx_faqlist:nth-last-of-type(n+2){margin-bottom: 1em;}
.nmthx_faqlist dd{
  display: none;
  border-radius: 0 0 8px 8px;
  padding: 20px 1em 20px 3.5em;
  background: #fff;
  border-left: 1px solid #bebebe;
  border-right: 1px solid #bebebe;
  border-bottom: 1px solid #bebebe;
  position: relative;
  line-height: 1.6;
}

.nmthx_faqlist dd::before{
  display: block;
  position: absolute;
  content: "";
  background: url(../img/icp_a.svg) no-repeat center center;
  background-size: contain;
  top: 1em;
  left: 1em;
  width: 2em;
  height: 2em;
}

@media screen and (min-width:801px) { 
.nmthx_faqboxnavi li a:hover{
  color: #FFF;
  background: #70771b;
}
}


@media screen and (max-width:800px) {
  .nmthx_contents {padding: 10vw 5vw;}
}



