body {
position: relative;
margin: 0;
background:url("../images/bg_img.jpg") 0 0 repeat;
font-weight: 400;
font-size: 0.9rem;
line-height: 1.8;
letter-spacing: 0.02em;
}
*,
*::before,
*::after {
box-sizing: border-box;
}

html {
color: #333;
font-family: "Noto Sans JP", sans-serif;;
}

h1,h2,h3,h4,h5 {
margin: 0;
padding: 0;
}

img {
max-width: 100%;
margin: 0;
border: 0;
vertical-align: top;
}

.pc {
display: block;
}

.sp {
display: none;
}

.inner-block {
width: 100%;
margin: auto;
position: relative;
}

.min-jp{
font-family: "Noto Serif JP", serif;
}

.en{
font-family: "Playfair", serif;
}

.copy{
font-size: .8rem;
text-align: center;
font-weight: 500;
}


@media screen and (max-width:761px) {
.pc {
display: none;
}
.sp {
display: block;
}
.ib {
display: inline-block;
}
.inner-block {
padding: 0 15px;
width: 100%;
}
}

.wrap {
width: 1000px;
margin: 60px auto 120px;
background:url("../images/bg.jpg") center center no-repeat;
background-size: cover;
border-radius: 20px;
box-shadow: 0 0 20px rgb(0 0 0 / 7%);
padding: 60px 55px;
position: relative;
border: 1px solid #231816;
}

.title-wrap .title {
width: 240px;
margin: 0 auto 30px;
}

.red_txt1{
font-size: 1.6rem;
font-weight: 800;
line-height: 1.5;
text-align: center;
margin: 0;
color: #FFF;
}

.red_txt2{
width: 80%;
background-color: #954e2a;
border-radius: 20px;
padding:15px;
box-sizing: border-box;
margin: 40px auto 0;
font-weight: 800;
color: #FFF;
text-align: center;
}

@media screen and (max-width:761px) {
.wrap {
width: 90%;
margin: 30px auto 20px;
background:url("../images/bg.jpg") center center no-repeat;
background-size: cover;
border-radius: 10px;
box-shadow: 0 0 20px rgb(0 0 0 / 7%);
padding: 30px 20px;
position: relative;
border: 1px solid #231816;
}

.title-wrap .title {
width: 200px;
margin: 0 auto 30px;
}

.red_txt1{
font-size: 1.2rem;
font-weight: 800;
line-height: 1.5;
text-align: center;
margin: 0;
color: #FFF;
}

.red_txt2{
width: 100%;
background-color: #954e2a;
border-radius: 10px;
padding:10px;
box-sizing: border-box;
margin: 30px auto 0;
font-weight: 800;
color: #FFF;
text-align: left;
}


.diagnose-wrap {
width: 100%;
}

}

/* ボックス */
.box-wrap {
position: absolute;
width: 100%;
top: 0;
left: 0;
margin-top: 50px;
}
.box-wrap.is-inactive {
position: relative;
}
.box-wrap.is-inactive .box {
position: relative;
}
.box-wrap .box {
background: #FFF;
border-radius: 20px;
padding: 60px 50px;
box-sizing: border-box;
position: relative;
margin: auto;
width: 100%;
display: none;
}
.box-wrap .box.is-inactive {
position: absolute;
}

.box-wrap .box.result .title {
}

.box-wrap .box .txt {
font-size: 1rem;
font-weight: 600;
margin: 0 0 40px;
}

.btn01{
margin: 0 0 60px;
}

.btn01 a{
display:block;
padding:15px 20px;
font-size: 1.2rem;
font-weight: 800;
line-height: 1;
color: #fff;
background-color: #830e00;
text-align: center;
text-decoration: none;
border-radius: 50rem;
border: 2px solid #830e00;
}

.btn02{
margin: 30px 0 0;
text-align: center;
}

.btn02 a{
width: 100%;
display:block;
padding: 10px 20px;
font-weight: 800;
color: #fff;
background-color: #954e2a;
text-align: center;
text-decoration: none;
border-radius: 50rem;
border: 2px solid #954e2a;
}

.btn03{
margin: 30px 0 0;
text-align: center;
}

.member_box{
border: 1px dotted #954e2a;
border-radius: 1rem;
padding: 20px;
box-sizing: border-box;
margin: 0 auto 40px;
}

.member_box .member_txt{
color: #954e2a;
font-weight: 500;
margin: 0;
}

.thumbnail{
width: 300px;
margin: 0 auto 20px;
}

@media screen and (max-width:761px) {
.box-wrap .box {
background: #FFF;
border-radius: 20px;
padding: 20px 15px;
box-sizing: border-box;
position: relative;
margin: auto;
width: 100%;
display: none;
}

.box-wrap .box .txt {
font-size: .9rem;
font-weight: 600;
margin: 0 0 20px;
}


.btn01{
margin: 0 0 30px;
}

.btn01 a{
display:block;
padding:15px;
font-size: 1rem;
font-weight: 800;
line-height: 1.4;
color: #fff;
background-color: #830e00;
text-align: left;
text-decoration: none;
border-radius: 1rem;
border: 2px solid #830e00;
}

.thumbnail{
width: 90%;
margin: 0 auto 20px;
}

.thumbnail img{
width: 100%;
height: auto;
}

}
/* 選択肢 */
.box-wrap .box .title {
font-size: 1.6rem;
font-weight: 800;
text-align: center;
position: relative;
margin-bottom: 30px;
color:#830e00;
}

.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 {
width: 46%;
justify-content: center;
align-items: center;
background-color: #F4F4F7;
border-radius: 6px;
font-weight: 800;
font-size: 1.2rem;
font-weight: 800;
text-decoration: none;
transition: .3s;
box-shadow: -4px -4px 4px #fff, 4px 4px 4px #d4d4db;
text-align: center;
margin: 0;
padding: 10px;
box-sizing: border-box;
border: none;
position: relative;
}
.box-wrap .box .select-wrap .select::after {
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;
border-radius: 6px;

}
.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: #121212;
}
.box-wrap .box .select-wrap .select.no {
color: #121212;
}
.box-wrap .box .select-wrap .select.vague {
color: #999;
}
@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-left: 20px;
}
}
@media screen and (max-width:761px) {
.box-wrap .box .title {
font-size: 16px;
position: relative;
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%;
font-size: 1rem;
}
.box-wrap .box .select-wrap .select + .select {
margin-top: 20px;
}
}

/* 次の質問へ */
.btn-wrap {
margin-top: 70px;
}
.btn-wrap .tool-btn {
background: #FFF;
border: 2px solid #291C19;
border-radius: 50px;
color: #291C19;
display: block;
font-size: 1.2rem;
font-weight:800;
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: #291C19;
border-style: solid;
display: inline-block;
border-width: 7px 0 7px 10px;
border-color: transparent transparent transparent #291C19;
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: #291C19;
transition: 0.2s ease-in-out;
}
.btn-wrap button:hover::before {
border-color: transparent transparent transparent #291C19;
}
}
@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: #291C19;
display: block;
font-weight: bold;
position: absolute;
top: 25px;
right: 25px;
cursor: pointer;
font-size: 12px;
}
.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;
}
}

/* 商品リンク */
.goods-link {
display: inline-block;
padding: 10px 20px;
color: #fff;
background-color: #007bff;
text-align: center;
text-decoration: none;
border-radius: 100vh;
transition: background-color 0.3s ease;
border: 2px solid #007bff;
}

.goods-link:hover {
background: #fff;
color: #007bff;
transition: 0.2s ease-in-out;
}

/* サイトトップリンク */
.sitetop-link {
color: #121212;
font-weight: 600;
text-decoration: none;
text-align: center;
}

/* 会員登録リンク */
.member-link {
display: inline-block;
padding: 10px 20px;
color: #fff;
background-color: #ffc0cb;
text-align: center;
text-decoration: none;
border-radius: 100vh;
transition: background-color 0.3s ease;
border: 2px solid #ffc0cb;
}
.member-link:hover {
background: #fff;
color: #ffc0cb;
transition: 0.2s ease-in-out;
}






.step-progress-wrap {
margin: 0 0 40px;
}

.step-progress {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
gap: 8px;
}

.step-item {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 72px;
padding: 8px 12px;
border-radius: 999px;
background: #f1eee9;
color: #7a6a5e;
font-size: 0.9rem;
font-weight: 700;
line-height: 1.2;
border: 1px solid #d8cec4;
}

.step-item.is-done {
background: #c27a4d;
color: #fff;
border-color: #c27a4d;
}

.step-item.is-current {
background: #830e00;
color: #fff;
border-color: #830e00;
box-shadow: 0 0 0 3px rgba(131, 14, 0, 0.12);
}

.step-arrow {
color: #D2D2D2;
font-size: 1rem;
font-weight: 800;
line-height: 1;
}

.step-label{
display: none;
}

@media screen and (max-width: 761px) {
.step-progress-wrap {
margin: 0 0 14px;
}

.step-progress {
gap: 6px;
}

.step-item {
min-width: 58px;
padding: 6px 8px;
font-size: 0.70rem;
}

.step-arrow {
font-size: .6rem;
}
}