@charset "utf-8";
/*-----------------------------------------------------
	style-features.css
	独自のスタイル
------------------------------------------------------*/
main {
  margin-top:120px;
  position: relative;
}
section {
	padding-top: 120px;
	margin-top:-120px;/*固定ヘッダーのアンカーリンクずれ対策*/
	padding-bottom: 100px;
}

/*h1タイトル*/
section#secTitle {
  background-image: url("../images/features/bg-h1.png");
  background-repeat:no-repeat;
  background-position: top center;
  width: 100%;
  max-width: 1920px;
  max-height: 533px;
  margin:0 auto;
  border-bottom: 10px solid #ff6a00;
  
}
section#secTitle h1 {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.h2_sub {
  display: block;
  color: #ff6a00;
  font-size: 1.6rem;
}

/*メリット*/
section#secMerit {
  padding-bottom: 100px;
  position: relative;
  background-image: url("../images/features/bg-dot04.gif");
  background-repeat: repeat;
  z-index: -1;
}
section#secMerit h2 {
  margin: 100px auto 50px;
}
section#secMerit div.meritBox {
  margin-bottom: 50px;
}
section#secMerit div.meritBox p.pMerit {
  font-size: 1.8rem;
  line-height: 2;
  margin: 15px 30px;
}


/*推薦者の声*/
section#secVoice {
  padding-bottom: 0;
}
section#secVoice div.bg-voice {
  background-color: #fff3eb;
  padding: 50px 0 170px;
  margin-top: -20px;
}
section#secVoice h2 {
  margin: 0;
  padding: 0;
}

/*モーダルウィンドウ内*/
section#secVoice dl.voiceQA dt {
  color: #ff6a00;
  font-weight: bold;
  margin-bottom: 10px;
}
section#secVoice dl.voiceQA dd {
  line-height: 1.8;
}
section#secVoice div.voiceWrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;  
}
section#secVoice div.voiceWrap div.voiceImg {
  width: 200px;  
}
section#secVoice div.voiceWrap div.voiceInfo {
  width: calc( 100% - 200px );
  padding-left: 30px;
}
section#secVoice div.voiceWrap p.bgWhite {
  display: inline-block;
  background: #fff;
  padding: 10px;
  border-radius: 10px;
}
section#secVoice div.voiceWrap div.voiceMessage {
  width: 100%;
  margin-top: 20px;
}
/*モーダルの外側*/
section#secVoice div.openButtonWrap {
  display: flex;
}
section#secVoice div.openButtonWrap div.wrap {
  width: 50%;
  padding: 15px;
  display: flex;
}
section#secVoice div.openButtonWrap div.wrap div.voiceImg {
  width: 200px;  
}
section#secVoice div.openButtonWrap div.wrap div.voiceInfo {
  width: calc( 100% - 200px );
  padding-left: 10px;
}
section#secVoice div.openButtonWrap div.wrap div.voiceBtn{
  margin-left: 20px;
  background: #fff;
  padding: 15px;
  border-radius: 20px;
  text-align: center;
  position: relative;
}
section#secVoice div.openButtonWrap div.wrap div.voiceBtn::after{
  content: "";
  position: absolute;
  top: 30%;
  left: 0;
  border-style: solid;
  border-width: 10px 20px 10px 0;
  border-color: transparent #ffffff transparent transparent;
  translate: -100% -50%;
}
section#secVoice div.openButtonWrap div.wrap p.pVoice,
section#secVoice div.voiceWrap p.pVoice{
  color: #ff6a00;
  font-weight: bold;
}
section#secVoice div.openButtonWrap div.wrap p.pVoice.line-voice,
section#secVoice div.voiceWrap p.pVoice.line-voice{
  background-image: url("../images/features/line-voice.png");
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: auto;
  padding-bottom: 5px;
}

section#secVoice button.button-open {
	display: block;
	text-align: center;
	vertical-align: middle;
	text-decoration: none;
	position: relative;
	width: 160px;
	margin: 0 auto;
	padding: 10px 20px;
	font-weight: bold;
	color: #ff6a00;
	background: #ffe2d2;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: 0.2s;
}
section#secVoice button.button-open:hover {
  background: #ff6a00;
  color: #fff;
}
section#secVoice button.button-open:focus {
  border: none;
  outline: none;
}

/* モーダルウィンドウ */
.modal-window {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 1000px;
  width: 90%;
  height: 70%;
  background-color: #fff3eb;
  border-radius: 10px;
  z-index: 99999;
  padding: 30px;
  overflow: hidden;
  overflow-y: scroll;
}
/* 閉じるボタン */
.button-close {
  width: 150px;
  margin: 15px auto;
  padding: 5px;
  background-color: #ff6a00;
  color: #fff;
  border-radius: 20rem;
  cursor: pointer;
  border: 1px solid #ff6a00;
  display: block;
  transition: 0.2s;
}
.button-close:hover {
  color: #ff6a00;
  background: #fff;
}
.button-close:focus {
  border: none;
  outline: none;
}
/* オーバーレイ */
.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 100%;
  z-index: 10;
}
/* 表示領域外へはスクロールさせない */
.no_scroll {
  overflow: hidden;
}




/*PC画面調整*/
@media (max-width: 1024px) {
  /*h1タイトル*/
  section#secTitle {
    background-size: cover;
  }
  section#secTitle h1 img{
    height: 100px;
    width: auto;
  }
  /*推薦者の声*/
  section#secVoice div.openButtonWrap {
    display: block;
    width: 100%;
  }
  section#secVoice div.openButtonWrap div.wrap{
    width: 100%;
    max-width: 700px;
    margin: 0 auto 20px;
  }
}


@media (max-width: 768px) {
  main {
    margin-top:75px;
  }
  section {
    padding-top: 75px;
    margin-top:-75px;/*固定ヘッダーのアンカーリンクずれ対策*/
    padding-bottom: 50px;
  }
  /*h1タイトル*/
  section#secTitle h1 img{
    height: 80px;
    width: auto;
  }
  
	
}
@media (max-width: 575px) {
  main {
    margin-top:72px;
  }
  section {
    padding-top: 72px;
    margin-top:-72px;/*固定ヘッダーのアンカーリンクずれ対策*/
    padding-bottom: 50px;
  }
  /*h1タイトル*/
  section#secTitle {
    background-size: 100%;
    margin: 0;
    padding: 0;
    border-bottom: 7px solid #ff6a00;
  }
  section#secTitle h1 {
    margin: 4vh 0;
    padding: 0;
    text-align: center;  
  }
  section#secTitle h1 > img {
    height: 40px;
    width: auto;
  }
  h2 > img {
    height: 30px;
    width: auto;
  }
  /*メリット*/
  section#secMerit h2 {
    margin: 30px auto;
  }
  section#secMerit div.meritBox {
    margin-bottom: 30px;
  }
  section#secMerit div.meritBox p.pMerit {
    font-size: 1.8rem;
    line-height: 1.8;
    margin: 15px;
  }
  /*推薦者の声*/
  section#secVoice h2 > img {
    width: auto;
    height: 70px;
  }
  section#secVoice div.openButtonWrap div.wrap {
    display: block;
  }
  section#secVoice div.openButtonWrap div.wrap div.voiceImg {
    text-align: center;
    width: 100%;
  }
  section#secVoice div.openButtonWrap div.wrap div.voiceInfo {
    width: 100%;
  }
  /*モーダルウィンドウ内*/
  section#secVoice div.voiceWrap {
    display: block;
  }
  section#secVoice div.voiceWrap div.voiceImg {
    width: 150px;
    margin: 0 auto;
  }
  section#secVoice div.voiceWrap div.voiceInfo {
    width: 100%;
    padding-left: 0;
  }
}






/*-----------------------------------------------------
	ページ名/部品名
------------------------------------------------------*/
/*　section名　*/



