@charset "utf-8";

#color-shindan * {
	-webkit-box-sizing: border-box;
	-webkit-font-feature-settings: "palt";
	font-feature-settings: "palt";
	box-sizing: border-box;
	color: #485e64;
	line-height: 2;
	font-family: "Noto Sans JP", "メイリオ", Meiryo, "ヒラギノ角ゴ Pro", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ ゴシック", "MS Gothic", sans-serif;
	letter-spacing: 0.1em;
	text-decoration: none;
}

#color-shindan *::before,
#color-shindan *::after {
	box-sizing: border-box;
}

#color-shindan img {
	max-width: 100%;
}

#color-shindan .header {
	display: block;
	width: auto;
	max-width: 500px;
	margin: 0 auto;
}

#color-shindan .header img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	margin: 0 auto;
}

#color-shindan .camp_container {
	max-width: 500px;
	margin: 0 auto;
	padding: 0 0 5%;
	background: #8fe4f3;

}


#color-shindan .header_shita {
    margin: 0 auto 10%;
    font-weight: 500;
    font-size: min(3.2vw, 15px);
    letter-spacing: 0.02em;
    text-align: center;
    line-height: 1.4;
}

#color-shindan .header_p1 {
    margin: 8% auto 4%;
    z-index: 30;	
	position: relative;
}

#color-shindan .marker1 {
    position: absolute;
    width: 52%;
    margin: 0 auto;
    left: 22%;
    bottom: 20%;
	z-index: -1;
}

#color-shindan .header_p2 {
    margin: 6% auto 7%;
    z-index: 30;	
	position: relative;
}

#color-shindan .marker2 {
    position: absolute;
    width: 24%;
    margin: 0 auto;
    left: 20%;
    bottom: 0%;
    z-index: -1;
}

#color-shindan .sindan_btn {
    width: 68%;
    margin: 0 auto;
}


.hidden {
    display: none !important;
}

.shindan-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
}

/* オーバーレイ (背景の半透明) */
.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); 
}

/* モーダル本体 (診断コンテンツ) */
.modal-content {
position: absolute;
    
    top: 0;
    left: 0;
    transform: none; 
    background: #fff;
    padding: 50px 20px 30px; 
    width: 100%;
    max-width: none;
    height: 100%;
    overflow-y: auto; 
    border-radius: 0; 
    box-sizing: border-box;
}

/* 閉じるボタン */
.modal-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 28px;
    line-height: 1;
    border: none;
    background: transparent;
    cursor: pointer;
    color: #888;
}

/* 診断ステップ・結果共通 */
.shindan-step,
.shindan-result {
    font-family: "Noto Sans JP", sans-serif; 
    color: #485e64; 
}
.shindan-step h2, 
.shindan-result h2 {
    text-align: center;
	font-size: min(4vw, 20px);
    font-weight: bold;
}
.shindan-step p, 
.shindan-result p {
	text-align: center;
    font-size: min(3.4vw, 16px);
    font-weight: bold;
    line-height: 1.8;
}

/* 選択肢ボタン */
.choice-btn {
    display: block;
    width: 90%;
    margin: 15px auto;
    padding: 15px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    background: #FFF;
    border: 1px solid #485e64;
    border-radius: 0;
    color: #485e64;
    letter-spacing: 0.1em;
}
.choice-btn:hover {
    background: #e0e0e0; 
}

.prev-btn {
    display: block;
    width: fit-content; 
    margin: 25px auto 10px; 
    padding: 5px 10px;
    font-size: 14px;
    font-weight: normal;
    cursor: pointer;
    background: transparent; 
    border: none; 
    color: #485e64; 
    /*text-decoration: underline; */
}
.prev-btn:hover {
    opacity: 0.7; 
}

.icon_question {
	width: 22%;
    margin: 0 auto 2%;
}
.step_txt{
}

.q1-choice-container {
}

.q1-image-btn {
    background: none;
    border: 0;
    padding: 0;
    width: 100%;
    margin: 4% auto 3%;
	border: 1px solid #FFF;
    border-radius: 0;
    height: auto;
}

.q1-image-btn:hover {
	background: none; 
    border-color: #529794;
    /*opacity: 0.8; 
    transition: opacity 0.2s, border-color 0.2s; */
}

.q1-image-btn img {
    width: 100%;
    display: block;
}

.q3-image-btn {
    background: none;
    border: 0;
    padding: 0;
    width: 100%;
    margin: 4% auto 3%;
	border: none;
    border-radius: 0;
    height: auto;
}

.q3-image-btn:hover {
	background: none; 
    border-color: #529794;
    opacity: 0.8; 
    transition: opacity 0.2s, border-color 0.2s; 
}

.q3-image-btn img {
    width: 100%;
    display: block;
}
.shindan-result {

}

.shindan-type {
    width: 14%;
    display: block;
    margin: 0 auto;
}
.shindan-te {
    font-size: min(4.4vw, 22px) !important;
	color: #31b1aa;
    text-align: center;
    font-weight: bold;
    letter-spacing: 1px;	
    line-height: 1.5 !important;
    margin: 5% auto;	
}
.shindan-mi {
    text-align: center;
    font-size: min(3.4vw, 16px) !important;
    color: #485e64;
	line-height: 1.5;
}

.kotira_osusume{
    width: 56%;
    margin: 0 auto 6%;
    display: block;
}

.osusume_syo{
    padding: 7%;
    border-radius: 1em;
    border: solid 0.2em #529793;	
}

.osusume_syo img{
    width: 100%;
}

.osusume_syo h4{
	font-size: min(4vw, 20px) !important;
    margin: 0 auto;
    line-height: 1.5;	
    text-align: center;
}

.osusume-te{
    text-align: center;
    font-size: min(3.4vw, 16px);
    font-weight: 500 !important;
    margin: 5% auto;
    line-height: 1.8;
}

.mouichido_btn{
    width: 78%;
    margin: 8% auto;
    display: block;
}


.shindan-step,
.shindan-result {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
@media screen and (min-width: 600px) {

    .modal-content {
        top: 0;
        left: 0;
        right: 0;		
        transform: none;
        margin-left: auto;
        margin-right: auto;
        width: 100%;
        max-width: 500px; 
        height: 100%; 
        overflow-y: auto; 
        padding: 50px 20px 30px;
        
        border-radius: 0; 
    }

    .shindan-step,
    .shindan-result {
        max-width: none;
        margin-left: 0;
        margin-right: 0;
    }
}


.buy_data {
  /* background: #fff; */
  margin: 8% auto 0;
  max-width: 980px;
  position: relative;
  width: 90%;
}

.buy_cart {
  left: 0;
  margin: 0;
  opacity: 0;
  position: absolute;
  right: 0;
  top: 0;
  transition: all 0.3s;
  width: 100%;
}

.buy_cart.is_active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
  z-index: 2;
}

.buy_name {
  color: #24272a;
  font-size: 1.1rem;
  letter-spacing: 0.13em;
  margin: 5% auto 0;
  text-align: center;
}

.sm_cellbox {
  color: #fe5757;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-top: 15px;
  text-align: center;
}

.sm_box_name {
  color: #24272a;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.3rem;
  font-weight: 400;
}

.sm_devide {
  color: #fe5757;
  font-size: 23px;
  font-weight: bold;
  font-weight: 400;
}

.sm_color {
  color: #dbb03f;
  font-weight: 500;
}

.buy_pointwrap {
  display: flex;
  justify-content: center;
  position: relative;
}

.buy_point {
  border: solid 1px #24272a;
  display: inline-block;
  font-size: min(4.2vw, 18px);
  font-weight: 500;
  left: 0;
  letter-spacing: 0.18em;
  margin: 10px auto 0;
  max-width: 100%;
  opacity: 0;
  padding: 5px 8px;
  position: absolute;
  right: 0;
  top: 0;
  width: 90%;
  text-align: center;
}

.buy_point.is_active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
  z-index: 2;
}

.buy_point span:first-of-type {
  margin: 0;
  white-space: nowrap;
}

.buy_point span:nth-child(2) {
  margin: 0;
  white-space: nowrap;
}

.setprice_wrap {
  display: flex;
  justify-content: center;
  position: relative;
}

.set_price {
  left: 0;
  line-height: 1;
  margin: 5% 0 0;
  opacity: 0;
  position: absolute;
  right: 0;
  width: 100%;
}

.set_price.is_active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
  z-index: 2;
}

/* スペック
--------------------------------------- */
.selectbox {
  margin-top: 10px;
}

.selectbox input,
.selectbox option {
  color: #666666;
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ ゴシック", "MS Gothic", sans-serif;
  font-size: 12px;
  letter-spacing: 0;
  line-height: 1.8;
}

.selectbox .ttl_bg {
  display: block;
  text-align: center;
  background-color: #444444;
  margin-top: 0;
  margin-bottom: 10px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.selectbox .pulldown_tr {
  display: table;
  font-size: 14px;
  width: 100%;
  margin-top: 5px;
  margin-bottom: 10px;
  padding: 5px 10px 5px 10px;
}

.selectbox .pulldown_tr th {
  display: table-cell;
  width: 30%;
}

.selectbox .pulldown_tr td {
  display: table-cell;
  width: 70%;
}

.selectbox .pulldown_tr td select {
  width: 95%;
  font-size: 14px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding: 0;
  margin: 0;
  height: 30px;
  background: transparent;
  position: relative;
  z-index: 1;
  padding: 0 40px 0 10px;
  border: 2px solid #e1e1e1;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  -ms-border-radius: 0px;
  -o-border-radius: 0px;
  border-radius: 0px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.selectbox .pulldown_tr td select::-ms-expand {
  display: none;
}

.selectbox .pulldown_tr td {
  position: relative;
}

.selectbox .pulldown_tr td.pldwn::before {
  content: '';
  position: absolute;
  z-index: 0;
  top: 2px;
  bottom: 0;
  margin: auto 0;
  right: 16px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 6px 0 6px;
  border-color: #545454 transparent transparent transparent;
}

.selectbox .pulldown_tr td.pldwn::after {
  content: '';
  position: absolute;
  z-index: 0;
  top: 0;
  bottom: 0;
  margin: auto 0;
  right: 16px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 6px 0 6px;
  border-color: #ffffff transparent transparent transparent;
}

.selectbox .ttl_bg .ttl_txt {
  display: block;
  color: #ffffff;
  font-size: 14px;
  padding: 4px 10px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.selectbox table {
  width: 100%;
}

.selectbox .pulldown {
  width: 225px;
}

.selectbox .pulldown_ttl {
  font-size: 12px;
  font-weight: bold;
  color: #ffffff;
  background-color: #444444;
  padding: 4px 10px;
  text-align: center;
}

.selectbox .pulldown_body {}

.selectbox .pulldown_body .ttl {
  display: inline-block;
  width: 80px;
  padding: 4px 10px;
  margin-top: 6px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.selectbox .right_eye {
  background: #fff;
}

.selectbox .left_eye {
  background: #fff;
}

.selectbox .pulldown_body .data {}

.selectbox .tbl .right_eye .pulldown_ttl,
.selectbox .tbl .right_eye .pulldown_body {
  margin-right: 5px;
}

.selectbox .tbl .left_eye .pulldown_ttl,
.selectbox .tbl .left_eye .pulldown_body {
  margin-left: 5px;
}

.cart_btn {
  display: block;
  color: #ffffff;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  background: #e60b27 url(/sp/img/common/sp_cartbtn_bg.png) no-repeat 20% center;
  background-size: 24px;
  width: 100%;
  padding: 10px;
  margin-top: 10px;
  padding-left: 22px;
  margin-bottom: 10px;
  border: 0;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  -o-border-radius: 3px;
  border-radius: 3px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-appearance: none;
}

.qieto_note {
  color: #727272;
  font-size: 2.6vw;
  margin: 2% auto 8%;
  text-align: center;
}
.appendtext {
  position: fixed;
  top: 50%;
  left: 0;
  width: 100%;
  padding: 15px 0;
  background-color: #444444;
  font-size: 14px;
  line-height: 1;
  color: #ffffff;
  text-align: center;
  z-index: 2147483647;
  transform: translateY(-50%);
}

.togglecontent span.is-selected {
  background-color: #e25f28 !important; 
  color: white !important;  
}

/*
#va_banner {
    display: none;
} */

.product_contents .product {
    display: none;
}

.product_contents .product.is_active {
    display: block; 
}


.buy_list li {
    /* display: block; */
    width: 25%;
    padding: min(1%, 2%) 3% 0;
    transition: all .3s ease;
    margin-bottom: 5%;    
    cursor: pointer; 
}

.buy_list li.is_active {
    border: 2px solid #e25f28; 
    border-radius: 5px; 
    opacity: 1;
}

 .buy_list li:not(.is_active) {
     opacity: 0.7; 
     border: 2px solid transparent; 
 }


.buy_list li span {
    display: block;
    line-height: 1.4;
    font-size: min(2.4vw, 12px); 
    font-weight: 900;
    text-align: center;
    margin: 5px -3% 0;
    width: 106%;
}
.buy_list li .lens_name_v { color: #9e1a7b; }
.buy_list li .lens_name_n { color: #ea4e13; }
.buy_list li .lens_name_a { color: #121969; }
.buy_list li .lens_name_b { color: #e8ad10; }
.buy_list li .lens_name_s { color: #a52c38; }
.buy_list li .lens_name_sw { color: #f57cb2; }
.buy_list li .lens_name_c { color: #54bfcb; }

.buy_list li img {
    display: block;
    width: auto;
    max-width: 100%;
    margin: 0 auto;
}

.color_selector_wrap {
    background: #fff; 
    border-radius: 1.5em; 
    padding: 4% 5% 2%;    
    margin-bottom: -1.5em;
    position: relative; 
    /*z-index: 50;*/
}

.color_selector_wrap .color_choice {
    margin-top: 0; 
    margin-bottom: 3%; 
    padding-top: 0; 
}
.color_selector_wrap .buy_list {
    margin-top: 0; 
    margin-bottom: 0; 
}

.product_contents {
    margin-top: 0;      
    position: relative; 
    z-index: 0;
}

.product_contents .product.is_active {
   border-top-left-radius: 0;
   border-top-right-radius: 0;
}

.product_area:not(:has(.color_selector_wrap)) .product {
    border-radius: 1.5em; 
}
.qieto_box_pricewrap {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 3%;
    line-height: 1;
}

.qieto_box_price1 {
  font-size: min(4vw, 20px);
    line-height: 1;
    font-weight: 500;
    padding: 0;
    margin: 0 10px 0 0;
    text-align: center;
    letter-spacing: .15em;
}
.qieto_box_price2 {
    color: #e60b27;
    font-size: min(8vw, 40px);
    font-weight: 700;
}

.qieto_box_price2 span {
  color: #e60b27;
  font-size: min(6vw, 30px);
  font-weight: 700;
}

.qieto_pointwrap {
	margin: 0 auto;
	text-align: center;	
}

.osusume_syo .product_exp {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s ease-out, opacity 0.3s ease-out 0.2s; 
}

.osusume_syo .product_exp.is_active {
    max-height: 1000px;
    opacity: 1; 
}


.osusume_syo img[src*="osusume_"] {
    cursor: pointer;
    transition: opacity 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes fadeInZoom {
  from {
    opacity: 0;
    transform: scale(1.05);
  }
  to {
    opacity: 1;
    transform: scale(1); 
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes drawMarker {
  from {
    opacity: 0; 
    transform: scaleX(0); 
  }
  to {
    opacity: 1; 
    transform: scaleX(1);
  }
}

#color-shindan .header, 
#color-shindan .header_p1,
#color-shindan .marker1,
#color-shindan .header_p2,
#color-shindan .marker2,
#color-shindan .sindan_btn {
  opacity: 0; 
}

#color-shindan .header {
  animation: fadeInUp 1.0s ease-out 0.3s forwards;
}

#color-shindan .header_p1 {
  animation: fadeInUp 1.0s ease-out 0.7s forwards;
}

#color-shindan .marker1 {
  animation: fadeIn 1.0s ease-in-out 1.1s forwards;
}

#color-shindan .header_p2 {
  animation: fadeInUp 1.0s ease-out 1.4s forwards;
}

#color-shindan .marker2 {
  animation: fadeIn 1.0s ease-in-out 1.8s forwards;
}

#color-shindan .sindan_btn {
  animation: scaleIn 0.8s ease-out 2.1s forwards;
}


.shindan-step h2,
.shindan-step .choice-btn,
.shindan-step .step_txt,
.shindan-step .prev-btn,
.shindan-result h3,
.shindan-result .kotira_osusume,
.shindan-result .osusume_syo,
.shindan-result .mouichido_btn {
    opacity: 0;
}

.shindan-step.is-visible h2,
.shindan-result.is-visible h3 {
     animation: fadeInUp 0.8s ease-out 0.1s forwards;
}

.shindan-step.is-visible .choice-btn,
.shindan-step.is-visible .step_txt,
.shindan-step.is-visible .prev-btn,
.shindan-result.is-visible .kotira_osusume,
.shindan-result.is-visible .osusume_syo,
.shindan-result.is-visible .mouichido_btn {
    animation: fadeInUp 0.8s ease-out 0.25s forwards;
}

.osusume-img-wrap {
    position: relative; 
    cursor: pointer;
    transition: opacity 0.2s ease; 
}

.osusume-img-wrap:hover {
     opacity: 0.8;
}

.osusume-img-wrap::after {
    content: '▶';
    position: absolute;
    z-index: 2;
    color: #fff;
    font-size: min(3.2vw, 15px);
    right: 5%;
    bottom: 8%;
    transition: transform 0.3s ease-out;
}


.osusume-img-wrap.is_active::after {
    transform: rotate(90deg); 
}