@charset "UTF-8";

/* --------------------------------
	common
-------------------------------- */
figure {
	padding-top: 40px;
}

#main h2 {
	line-height: 1.4;
	padding-top: min(40px, 2rem) !important;
	font-weight: 500;
	font-size: min(30px, 6.5vw);
	text-align: center;
}

#main p {
	font-size: min(22px, 4.5vw);
	padding-top: 20px!important;
}

#sec02, #sec03, #sec04 {
	padding-bottom: min(80px, 3rem);
}

.marker {
	background-color: #fff6dc;
	font-weight: 400;
}

@media (max-width: 768px) {
	figure {
		padding-top: 3rem;
	}

	#main p {
		padding-top: 1rem!important;
	}
}


/* --------------------------------
	cover
-------------------------------- */


/* --------------------------------
	#sec01
-------------------------------- */
#sec01 {
	padding-top: min(20px, 2rem);
	padding-bottom: min(80px, 4rem);
}

#sec01 p {
	padding-top: min(40px, 2rem)!important;
}

#sec01 div {
	margin-top: min(20px, 2rem);
}

/* --------------------------------
	#sec02
-------------------------------- */
#sec02 h3 {
	font-weight: 500;
    font-size: min(24px, 5.0vw);
	text-align: center;
	/*line-height: 1.8;*/
}
#sec02 table {
	width: 100%;
	margin-top: 20px;
}
#sec02 table th, #sec02 table td {
	font-size: min(20px, 3.5vw);
	padding: 10px 5px;
	border: 1px solid #eee;
	text-align: center;
}

#sec02 table th {
	background-color: #ffd0cf;
}

#sec02 table th.pin {
	padding: 0 0 0 50px;
	background-image: url("../img/pin.png");
	background-repeat: no-repeat;
	background-position: 20px center;
	background-size: auto 60px;
	height: 70px;
	vertical-align: middle;
}

#sec02 table th.pil {
	padding: 0 0 0 50px;
	background-image: url("../img/pil.png");
	background-repeat: no-repeat;
	background-position: 20px center;
	background-size: auto 60px;
	height: 70px;
	vertical-align: middle;
}

#sec02 table td.item {
	background-color: #fff0f0;
	font-weight: 500;
	text-align: left;
}

#sec02 p {
	padding-top: 40px!important;
}

#sec02 p:first-of-type {
	padding-top: 20px!important;
}

.line {
	display: block;
	width: 20%;
	height: 1px;
	margin: 15px auto;
	background-color: #ff7272;
}

@media (max-width: 768px) {
	#sec02 p {
		padding-top: 3rem!important;
	}
	#sec02 table th.pin, #sec02 table th.pil {
		padding: 0 0 0 35px;
		background-position: 15px center;
		background-size: auto 60px;
	}
}

/* --------------------------------
	#sec03
-------------------------------- */

#sec03 {
	padding-bottom: min(80px, 6rem);
}

/* --------------------------------
	#sec04
-------------------------------- */

#sec04 {
	padding-bottom: min(80px, 6rem);
}

#sec04 h3 {
	font-size: 36px;
	font-weight: 500;
	margin-bottom: 15px;
	text-align: center;
}

@media (max-width: 768px) {
	#sec04 h3 {
		font-size: 6vw;
	}
}

/* --------------------------------
	#item_title
-------------------------------- */

#item_title h2 {
	font-size: 34px;
	font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
	padding-bottom: 20px;
	padding-top: 20px;
	line-height: 1.3;
	text-align: center;
}

@media (max-width: 768px) {
	#item_title h2 {
		padding-bottom: 2rem;
		padding-top: 1rem;
		font-size: 6.5vw;
	}
}

.linkbox p.toshop .btn {
	margin: 0 auto;
}
.linkbox  {
	border: 1px solid #a9a9a9;
}


/* --------------------------------
診断
-------------------------------- */
@media (max-width: 768px) {
  .diagnose-wrap {
    width: 100%;
  }
}

/* ボックス */
.btn-wrap.start {
  width: 100%;
	padding: 30px 50px 40px;
	background: white;
	border: 1px solid #b59d69;
	margin-top: 20px;
	/*box-shadow: 2.8285px 2.8285px 5px 0px rgba(100, 100, 100, 0.1) inset,-2.8285px -2.8285px 5px 0px rgba(255, 255, 255, 1.0) inset;*/
	border-radius: 20px;
}
.box-wrap {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  margin-top: 20px;
}
.box-wrap.is-inactive {
  position: relative;
}
.box-wrap.is-inactive .box {
  position: relative;
}
.box-wrap .box {
  background: #fff0f0;
  /*box-shadow: 2.8285px 2.8285px 5px 0px rgba(100, 100, 100, 0.1) inset,-2.8285px -2.8285px 5px 0px rgba(255, 255, 255, 1.0) inset;*/
  border-radius: 20px;
  padding: 80px 50px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: 100%;
  display: none;
}
.box-wrap .box.is-inactive {
  position: absolute;
}

.box-wrap .box.result {
	background: white;
	border: 1px solid #b59d69;
}

.box-wrap .box.result .title {
  color: #ff6666;
}

.box-wrap .box.result .title span {
	font-size: min(24px, 4.5vw);
	color: black;
}
.box-wrap .box.result .txt {
  text-align: left;
	padding-top: 0!important;
}
.box-wrap .box .txt {
  text-align: center;
  font-size: 18px;
}
@media screen and (max-width:761px) {
  .box-wrap .box {
    padding: 60px 30px 40px;
  }
}

/* 選択肢 */
.box-wrap .box .title {
  font-size: 26px;
  text-align: center;
  position: relative;
  padding-bottom: 20px;
  margin-bottom: 50px;
	font-size: min(30px, 6.0vw)!important;
}
.box-wrap .box .title::before {
  background: #999;
  content: "";
  display: block;
  height: 2px;
  width: 60px;
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
}
.box-wrap .box .title .num {
  font-size: 30px;
}
.box-wrap .box .title .small {
  font-size: 20px;
}
/*.box-wrap .box .select-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}*/
.box-wrap .box .select-wrap .select {
  box-shadow: 2.8285px 2.8285px 5px 0px rgba(100, 100, 100, 0.1),-2.8285px -2.8285px 5px 0px rgba(255, 255, 255, 1.0);
  border-radius: 50px;
  border: none;
  font-weight: bold;
  padding: 20px;
  text-decoration: none;
  text-align: center;
  position: relative;
  /*width: calc((100% - 40px) / 3);*/
	width: 100%;
	background: white;
}
.box-wrap .box .select-wrap .select::after {
  border-radius: 50px;
  content: "";
  display: block;
  height: 100%;
  width: 100%;
  box-shadow: 2.8285px 2.8285px 5px 0px rgba(0, 0, 0, 0.2) inset,-2.8285px -2.8285px 5px 0px rgba(255, 255, 255, 1.0) inset;
  transition: all .2s ease-in-out;
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
}
.box-wrap .box .select-wrap .select.is-inactive {
  box-shadow: 2.8285px 2.8285px 5px 0px rgba(0, 0, 0, 0.2) inset,-2.8285px -2.8285px 5px 0px rgba(255, 255, 255, 1.0) inset;
}
.box-wrap .box .select-wrap .select.yes {
  color: #ff6666;
}
.box-wrap .box .select-wrap .select.no {
  color: #ff6666;
}
.box-wrap .box .select-wrap .select.vague {
  color: #ff6666;
}
@media screen and (min-width:761px) {
  .box-wrap .box .select-wrap .select:hover {
    box-shadow: none;
  }
  .box-wrap .box .select-wrap .select:hover::after {
    opacity: 1;
  }
  .box-wrap .box .select-wrap .select.is-inactive:hover {
    box-shadow: 2.8285px 2.8285px 5px 0px rgba(0, 0, 0, 0.2) inset,-2.8285px -2.8285px 5px 0px rgba(255, 255, 255, 1.0) inset;
  }
  .box-wrap .box .select-wrap .select.is-inactive:hover::after {
    opacity: 0;
  }
  .box-wrap .box .select-wrap .select + .select {
    margin-top: 20px;
  }
}
@media screen and (max-width:761px) {
  .box-wrap .box .title {
    font-size: 20px;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 30px;
  }
  .box-wrap .box .title::before {
    width: 40px;
  }
  .box-wrap .box .title .num {
    font-size: 24px;
    display: block;
  }
  .box-wrap .box .title .small {
    display: block;
    font-size: 14px;
  }
  .box-wrap .box .select-wrap {
    flex-direction: column;
  }
  .box-wrap .box .select-wrap .select {
    padding: 12px;
    width: 100%;
  }
 .box-wrap .box .select-wrap .select + .select {
    margin-top: 20px;
  }
}

/* 次の質問へ */
.btn-wrap {
  margin-top: 70px;
}
.btn-wrap .tool-btn {
  background: #b59d69;
  border: 2px solid #b59d69;
  border-radius: 50px;
  box-shadow: 2.8285px 2.8285px 5px 0px rgba(100, 100, 100, 0.1),-2.8285px -2.8285px 5px 0px rgba(255, 255, 255, 1.0);
  color: #fff;
  display: block;
  font-size: 18px;
  font-weight: bold;
  max-width: 400px;
  margin: auto;
  text-align: center;
  text-decoration: none;
  padding: 13px 20px 12px;
  position: relative;
  transition: 0.2s ease-in-out;
  width: 100%;
}
.btn-wrap .tool-btn::before {
  content: "";
  color: #fff;
  border-style: solid;
  display: inline-block;
  border-width: 7px 0 7px 10px;
  border-color: transparent transparent transparent #fff;
  position: absolute;
  top: 18px;
  right: 20px;
}
.btn-wrap .tool-btn.is-inactive {
  pointer-events: none;
  background: #999;
  border-color: #999;
}
.btn-wrap .tool-btn + .tool-btn {
  margin-top: 15px;
}
.btn-wrap.is-inactive {
  display: none;
}
@media screen and (min-width:761px) {
  .btn-wrap button:hover {
    background: #fff;
    color: #b59d69;
    transition: 0.2s ease-in-out;
  }
  .btn-wrap button:hover::before {
    border-color: transparent transparent transparent #b59d69;
  }
}
@media screen and (max-width:761px) {
  .btn-wrap {
    margin-top: 40px;
  }
  .btn-wrap .tool-btn {
    font-size: 16px;
    max-width: 320px;
    padding: 10px;
  }
  .btn-wrap .tool-btn::before {
    border-width: 5px 0 5px 8px;
    top: 16px;
  }
}

/* クローズボタン */
.close-btn {
  color: #999;
  display: block;
  font-weight: bold;
  border-radius: 100px;
  box-shadow: 2.8285px 2.8285px 5px 0px rgba(100, 100, 100, 0.1),-2.8285px -2.8285px 5px 0px rgba(255, 255, 255, 1.0);
  position: absolute;
  top: 25px;
  right: 25px;
  cursor: pointer;
  font-size: 14px;
  padding: 8px 20px;
	background-color: white;
}
.close-btn::after {
  border-radius: 100px;
  content: "";
  display: block;
  height: 100%;
  width: 100%;
  box-shadow: 2.8285px 2.8285px 5px 0px rgba(0, 0, 0, 0.2) inset,-2.8285px -2.8285px 5px 0px rgba(255, 255, 255, 1.0) inset;
  transition: all .2s ease-in-out;
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
	background-color: white;
}
.close-btn .mark {
  position: relative;
  display: block;
  height: 100%;
  width: 100%;
}

@media screen and (min-width:761px) {
  .close-btn:hover {
    box-shadow: none;
  }
  .close-btn:hover::after {
    opacity: 0;
  }
}
@media screen and (max-width:761px) {
  .close-btn {
    font-size: 12px;
    padding: 5px 14px;
  }
}

button {
  cursor: pointer;
  font-family: "游ゴシック", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", YuGothic,
    "游ゴシック", "Yu Gothic", "メイリオ", Meiryo, sans-serif !important;
	font-size: min(22px, 4.5vw);
}

.btn-wrap-title {
	text-align: center;
	padding-top: 0 !important;
	padding-bottom: 20px !important;
}
