@charset "utf-8";
:root {
  --ink: #2d241e;
  --muted: #756a62;
  --accent: #961e23;
  --accent-dark: #7f1d20;
  --gold: #b88638;
}

#e-ose-di {
  color: #333;
  max-height: 100%;
}
#osechi-chartPanel {
  scroll-margin-top: 114px;
}
@media screen and (max-width: 767px) {
  #e-ose-di {
    overflow: hidden;
  }
  #osechi-chartPanel {
    scroll-margin-top: 53px;
  }
}

#e-ose-di .osechi-chart * { box-sizing: border-box; }
#e-ose-di button, #e-ose-di a { font: inherit; }
#e-ose-di button { color: inherit; }
#e-ose-di img { max-width: 100%; height: auto; }
#e-ose-di [hidden] { visibility: hidden; }

#e-ose-di .osechi-chart,
#e-ose-di .text-serif {
  font-family: "Shippori Mincho", serif;
}

#e-ose-di .text-serif2 {
  font-family: "Noto Serif JP", serif;
}

#e-ose-di .text-gothic {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
}

#e-ose-di .osechi-chart {
  max-width: 750px;
  margin: 40px auto;
}

#e-ose-di .osechi-chart__head {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  max-width: 750px;
  width: 100%;
  max-height: 356px;
  height: 47.47vw;
  padding-top: 5.333%;
  background: #efeeed url("../img/ose-di_header.jpg") 50% 50% no-repeat;
  background-size: 100%;
}
@media screen and (min-width: 768px) {
  #e-ose-di .osechi-chart__head {
    max-width: none;
    width: 1200px;
    height: 356px;
    margin-left: -225px;
    background-image: url("../img/ose-di_header_pc.jpg");
  }
}

#e-ose-di .osechi-chart__title {
  min-width: 8.571em;
  width: fit-content;
  padding: .321em;
  margin: 0 auto .821em;
  border-top: solid 1px #d1b163;
  border-bottom: solid 1px #d1b163;
  font-size: 28px;
  font-size: min(7.47vw, 44px);
  font-weight: 500;
  letter-spacing: normal;
  line-height: 1.1;
  text-align: center;
}

#e-ose-di .osechi-chart__lead {
  margin: 0;
  font-size: 15px;
  font-size: min(4vw, 24px);
  font-weight: 500;
  letter-spacing: normal;
  line-height: 1.667;
  text-align: center;
}

#e-ose-di .result__eyebrow,
#e-ose-di .question-wrap__title {
  margin: 0 0 .75em;
  color: var(--accent);
  font-size: 20px;
  font-size: min(5.33vw, 32px);
  font-weight: 500;
  letter-spacing: normal;
  line-height: 1.3;
  text-align: center;
}

#e-ose-di .osechi-chart__panel {
  padding: 6.933% 10%;
}

#e-ose-di .screen { display: none; animation: fadeIn .28s ease; }
#e-ose-di .screen.is-active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

#e-ose-di .screen--start { text-align: center; }

#e-ose-di .primary-button,
#e-ose-di .secondary-button,
#e-ose-di .text-button,
#e-ose-di .answer-button {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

#e-ose-di .primary-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  max-width: 100%;
  width: min(63.2vw, 380px);
  height: min(10.67vw, 64px);
  margin-top: 1.786em;
  border-radius: 5px;
  background: #d1b163;
  color: inherit;
  font-size: 14px;
  font-size: min(3.73vw, 22px);
  font-weight: 500;
  letter-spacing: .05em;
  text-decoration: none;
  transition: .4s;
}
#e-ose-di .primary-button .btn-inner-arrow::after {
  border-left-color: #fff;
}
#e-ose-di .primary-button:hover {
  background: #e3c26e;
}

#e-ose-di .primary-button--link {
  background: var(--accent);
  color: #fff;
}
#e-ose-di .primary-button--link:hover {
  background: var(--accent-dark);
}

#e-ose-di .secondary-button {
  padding: .5em 1em;
  border: 1px solid #ccc;
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  font-size: min(3.47vw, 18px);
  font-weight: 500;
  letter-spacing: normal;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}
#e-ose-di .text-button {
  display: inline-block;
  padding-bottom: .154em;
  border-bottom: solid 1px;
  font-size: 13px;
  font-size: min(3.47vw, 18px);
  letter-spacing: 0.05em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}
#e-ose-di .text-button .btn-inner-arrow {
  padding-right: .8em;
}
#e-ose-di .text-button .btn-inner-arrow.is-rv {
  padding-right: 0;
  padding-left: .8em;
}
#e-ose-di .text-button:hover { color: var(--accent); }

#e-ose-di .block-back-button {
  margin: 30px auto;
  text-align: center;
}
#e-ose-di .btn-allgoods {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  max-width: 100%;
  width: min(72.53vw, 470px);
  height: min(10.67vw, 64px);
  border-radius: 5px;
  border: solid 1px #a00202;
  background: #fff;
  color: inherit;
  font-size: 14px;
  font-size: min(3.73vw, 22px);
  font-weight: 500;
  letter-spacing: .05em;
  text-decoration: none;
  transition: .4s;
}
#e-ose-di .btn-allgoods:hover {
  background: #a00202;
  color: #fff;
}
#e-ose-di .btn-allgoods .btn-inner-arrow::after {
  border-left-color: #a00202;
  transition: .4s;
}
#e-ose-di .btn-allgoods:hover .btn-inner-arrow::after {
  border-left-color: #fff;
}

#e-ose-di .btn-inner-arrow {
  position: relative;
  display: inline-block;
  padding-right: 1.467em;
}
#e-ose-di .btn-inner-arrow.is-rv {
  padding-right: 0;
  padding-left: 1.467em;
}
#e-ose-di .btn-inner-arrow::after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    right: 0;
    margin-top: -.16em;
    border-style: solid;
    border-top-color: transparent;
    border-right-color: transparent;
    border-bottom-color: transparent;
    border-width: .267em 0 .267em .467em;
    transition: transform .4s;
}
#e-ose-di .btn-inner-arrow.is-rv::after {
  right: auto;
  left: 0;
  border-right-color: inherit;
  border-left-color: transparent;
  border-width: .267em .467em .267em 0;
}
#e-ose-di *:hover > .btn-inner-arrow::after {
  transform: translateX(5px);
}
#e-ose-di *:hover > .btn-inner-arrow.is-rv::after {
  transform: translateX(-5px);
}

#e-ose-di .progress { margin-bottom: 36px; }
#e-ose-di .progress__meta { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 10px; color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .08em; }
#e-ose-di .progress__track { height: 4px; overflow: hidden; border-radius: 999px; background: #eee5d8; }
#e-ose-di .progress__track span { display: block; width: 25%; height: 100%; background: linear-gradient(90deg, var(--accent), var(--gold)); transition: width .25s ease; }

#e-ose-di .question-wrap {
  padding-top: 16px;
  background: url("../img/ose-di_line.png") 0 0 repeat-x;
  background-size: 10px;
}

#e-ose-di .answers { display: grid; gap: 15px; }
#e-ose-di .answer-button {
  width: 100%;
  display: grid;
  grid-template-columns: 3em 1fr 1.875em;/*48px 1fr 30px*/
  align-items: center;
  gap: 0 .4em;
  min-height: min(15.47vw, 93px);
  padding: 0;
  background: #f5efde;
  font-size: 16px;
  font-size: min(4.27vw, 25px);
  font-weight: 500;
  letter-spacing: normal;
  line-height: 1.375;
  text-align: left;
  transition: .4s;
}
#e-ose-di .answer-button.answer-button--image {
  grid-template-columns: min(15.47vw, 92px) 1fr 1.875em;
}
#e-ose-di .answer-button.answer-button--image .answer-button__text {
  padding-left: 20px;
  padding-left: min(5.33vw, 28px);
}
#e-ose-di .answer-button:hover { box-shadow: 6px 6px 8px rgba(59, 44, 31, .08); }
#e-ose-di .answer-button__label {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  color: var(--accent);
  font-size: 1.313em;
}
#e-ose-di .answer-button__text {
    padding: .5em 0;
}
#e-ose-di .answer-button__arrow {
  position: relative;
  font-size: 0;
}
#e-ose-di .answer-button__arrow::before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  right: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 7px;
  height: 7px;
  border-top: solid 1px #d1b163;
  border-right: solid 1px #d1b163;
}
#e-ose-di .question-actions,
#e-ose-di .result-actions { display: flex; justify-content: space-between; align-items: center; gap: 5px 20px; margin-top: 20px; }

#e-ose-di .screen--result { text-align: center; }

#e-ose-di .result-card__visual {
  text-align: center;
}
#e-ose-di .result-card__visual img {
  margin-left: auto;
  margin-right: auto;
}

#e-ose-di .result-card__spec {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 0 15px;
  margin-top: 12px;
}
#e-ose-di .result-card__name {
  margin: 0;
  font-size: 18px;
  font-size: min(4.8vw, 28px);
  font-weight: 500;
  letter-spacing: normal;
  line-height: 1.1;
}
#e-ose-di .result-card__price {
  margin: 0;
  font-size: 11px;
  font-size: min(2.93vw, 17px);
  font-weight: 500;
  letter-spacing: normal;
  line-height: 1;
}
#e-ose-di .result-card__price-num {
  font-size: 1.364em;
}

#e-ose-di .result-actions { justify-content: center; flex-wrap: wrap; }

#e-ose-di .sample-note { margin-top: 34px; padding: 28px; border-left: 3px solid var(--gold); background: rgba(255,255,255,.58); }
#e-ose-di .sample-note h2 { margin: 0 0 12px; font-size: 20px; }
#e-ose-di .sample-note p:last-child { margin: 0; color: var(--muted); line-height: 1.85; }

@media (max-width: 600px) {
  /*#e-ose-di .answer-button { min-height: 66px; padding: 13px 14px; }
  #e-ose-di .answer-button--image { grid-template-columns: 54px 1fr auto; }
  #e-ose-di .answer-button__thumb { width: 54px; }
  #e-ose-di .answer-button--image .answer-button__label { display: none; }
  #e-ose-di .question-actions { align-items: flex-start; flex-direction: column; }*/
}

@media (min-width: 750px) {
  #e-ose-di .question-wrap {
    padding-top: 30px;
    margin-top: 65px;
    background-size: 20px;
  }
  #e-ose-di .answers { gap: 20px; }
  #e-ose-di .answer-button__arrow::before {
    width: 12px;
    height: 12px;
  }
  #e-ose-di .result-card__spec {
    gap: 0 20px;
    margin-top: 20px;
  }
  #e-ose-di .question-actions, #e-ose-di .result-actions { margin-top: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  #e-ose-di * { scroll-behavior: auto !important; animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/*#e-ose-di .choice-image {
  display: block;
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 10px;
  flex: 0 0 auto;
}

@media (max-width: 640px) {
  #e-ose-di .choice-image {
    width: 80px;
    height: 80px;
  }
}*/
