body {
  position: relative;
  margin: 0;
  background: #fff;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  color: #333;
  font-family: "貂ｸ繧ｴ繧ｷ繝�け", "繝偵Λ繧ｮ繝手ｧ偵ざ Pro W3", "Hiragino Kaku Gothic Pro", YuGothic,
    "貂ｸ繧ｴ繧ｷ繝�け", "Yu Gothic", "繝｡繧､繝ｪ繧ｪ", Meiryo, sans-serif !important;
}
h1,h2,h3,h4,h5 {
  margin: 0;
  padding: 0;
}
img {
  max-width: 100%;
  margin: 0;
  border: 0;
  vertical-align: top;
}
.en{
	  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
}
.pc {
  display: block;
}
.sp {
  display: none;
}
.inner-block {
  margin: auto;
  padding: 0 20px;
  position: relative;
}
.wrap{
	width: 500px;
	margin: 0 auto;
}
	.diagnose-wrap{
		width: 90%;
		margin: 20px auto;
	}
@media screen and (max-width:761px) {
  .pc {
    display: none;
  }
  .sp {
    display: block;
  }
  .ib {
    display: inline-block;
  }
  .inner-block {
    padding: 0 15px;
    width: 100%;
  }
.wrap{
	max-width: 100%;
	margin: 0 auto;
}

}

.wrap {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.title-wrap .title {
  font-size: 30px;
  text-align: center;
}
.title-wrap .title h1{
	margin-bottom: 0;
}
.title_main{
	margin-bottom: -40px;
}
@media screen and (min-width:761px) {
.title_main{
	margin-bottom: -20px;
}
}
@media screen and (max-width:761px) {
  .title-wrap .title {
    font-size: 24px;
  }
  .diagnose-wrap {
    width: 90%;
  }
}

/* 繝懊ャ繧ｯ繧ｹ */
.box-wrap {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
}
.box-wrap.is-inactive {
  position: relative;
}
.box-wrap.is-inactive .box {
  position: relative;
}
.box-wrap .box {
  background: #fff;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: 100%;
  display: none;
margin-bottom: 170px;
}
.box-wrap .box:after{
	content: "";
	position: relative;
	height: 0;
	width: 0;
	clear: both;
}
.box-wrap .box.is-inactive {
  position: absolute;
}
.box-wrap .box.result .title {
  color: #f33d32;
}
.box-wrap .box .txt {
  text-align: center;
  font-size: 18px;
}
.box-wrap .box.result .photo{
	margin: 10px auto -60px auto;
	text-align: center;
}
.box-wrap .box.result .photo img{
	height: 400px;
	object-fit:contain;
}
@media screen and (max-width:761px) {
  .box-wrap .box {
  }
}
.image_photo{
	width: 60%;
	margin: 0 auto;
}
.taste_result{
	margin-bottom: 100px !important;
	display: none;
}
.taste_result h2{
	font-size: 150% !important;
}
.taste_result h3{
	background: #444;
	padding: 5px 10px;
	color: #fff;
	margin-top: 60px;
}
.taste_result p{
	text-align: left !important;
}
/* 驕ｸ謚櫁い */
.box-wrap .box .title {
    font-size: 20px;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 10px;
}
.box-wrap .box .title::before {

}
.box-wrap .box .title .num {
  font-size: 30px;
	display: block;
	  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
}
.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%;
}
.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;
}

@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{
		margin-bottom: 10px;
	}
}
@media screen and (max-width:761px) {
  .box-wrap .box .title {
    font-size: 20px;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
  }
  .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: 10px;
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
}
.btn-wrap .tool-btn {
  background: #f33d32;
  border: 2px solid #f33d32;
  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.gray{
	background-color: #888;
	border: 2px solid #888;
}
.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;
}
.btn-wrap .tool-btn a{
	color: #fff;
	text-decoration: none;
}

/*画像選択*/
.box-wrap .box .select-wrap .select-img{
	justify-content: space-between;
}
.select-img{
    display: flex;
    flex-direction: row !important;
}
.select-img .tool-btn{
    flex-basis: calc(100% / 3 - 10px);
    border-radius: 10px !important;
    margin-top: 0 !important;
    margin-bottom: 5px;
	margin-left: 5px;
	padding: 0 !important;
	overflow: hidden;
}
.select-img .tool-btn:hover,
.select-img .tool-btn:active{
	border-radius: 10px !important;
}
.box-wrap .box .select-wrap.select-img .select::after{
	border-radius: 10px !important;
}
@media screen and (min-width:761px) {
  .btn-wrap button:hover {
    background: #fff;
    color: #f33d32;
    transition: 0.2s ease-in-out;
  }
  .btn-wrap button:hover::before {
    border-color: transparent transparent transparent #f33d32;
  }
}
@media screen and (max-width:761px) {
  .btn-wrap {
    margin-top: 20px;
	  margin-bottom: 20px;
  }
  .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;
  }
}
.result_comment{
    margin-bottom: 60px;
    margin-top: -40px;
    background: #eee;
    padding: 10px 20px;
}
.name_result{
	margin-bottom: 20px;
}
/* 繧ｯ繝ｭ繝ｼ繧ｺ繝懊ち繝ｳ */
.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;
}
.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;
}
.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: 1;
  }
}
@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;
}

.video{
	
}
iframe.youtube-16-9 {
width: 100%;
height: auto;
aspect-ratio: 16 / 9;
}


/*slider*/
.slider {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 44vh;
    overflow: hidden;
}
@media screen and (min-width:761px) {
.slider {
    height: 50vh;
}
}
.slider-item {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.slider-item.active {
    opacity: 1;
}

.slider-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px; /* 正円にするための幅と高さ */
    height: 40px; /* 正円にするための幅と高さ */
    border-radius: 50%; /* 正円にするための設定 */
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10;
}

.slider-button.prev {
    left: 10px;
}

.slider-button.next {
    right: 10px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    cursor: pointer;
}

.slider-dot.active {
    background-color: rgba(0, 0, 0, 0.9);
}

input {
  margin-bottom:10px;
}
textarea {
  height:100px;
  margin-bottom:10px;
}
input:first-of-type
{
  margin-top:35px;
}
input, textarea {
  font-size: 1em;
  padding: 15px 10px 10px;
  font-family: 'Source Sans Pro',arial,sans-serif;
  border: 1px solid #cecece;
  background: #d7d7d7;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  width: 80%;
  max-width: 600px;
}
::-webkit-input-placeholder {
   color: #FAFAFA;
}
:-moz-placeholder {
   color: #FAFAFA;  
}
::-moz-placeholder {
   color: #FAFAFA; 
}
:-ms-input-placeholder {  
   color: #FAFAFA;  
}