/**  Mixins */
/*------------------------------------*\
    breakpoint vars
\*------------------------------------*/
/*------------------------------------*\
    breakpoint mixin
\*------------------------------------*/
/** Break desktop first**/
/** Global **/
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Noto+Serif+JP:wght@200..900&display=swap");
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-family: meiryo UI, sans-serif;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

article,
aside,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section {
  display: block;
}

body {
  margin: 0;
  font-family: meiryo UI, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
}

[tabindex="-1"]:focus {
  outline: 0 !important;
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

abbr[title],
abbr[data-original-title] {
  text-decoration: underline;
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted;
  cursor: help;
  border-bottom: 0;
  -webkit-text-decoration-skip-ink: none;
  text-decoration-skip-ink: none;
}

address {
  margin-bottom: 1rem;
  font-style: normal;
  line-height: inherit;
}

ol,
ul,
dl {
  margin-top: 0;
  margin-bottom: 1rem;
}

ol ol,
ul ul,
ol ul,
ul ol {
  margin-bottom: 0;
}

dt {
  font-weight: 700;
}

dd {
  margin-bottom: 0.5rem;
  margin-left: 0;
}

blockquote {
  margin: 0 0 1rem;
}

b,
strong {
  font-weight: bolder;
}

small {
  font-size: 11px;
}

sub,
sup {
  position: relative;
  font-size: 75%;
  line-height: 0;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

a {
  color: #6096c4;
  text-decoration: none;
}
a:hover {
  opacity: 0.8;
}

a:not([href]):not([tabindex]) {
  color: inherit;
  text-decoration: none;
}

a:not([href]):not([tabindex]):hover,
a:not([href]):not([tabindex]):focus {
  color: inherit;
  text-decoration: none;
}

a:not([href]):not([tabindex]):focus {
  outline: 0;
}

pre,
code,
kbd,
samp {
  font-family: meiryo UI, sans-serif;
  font-size: 1em;
}

pre {
  margin-top: 0;
  margin-bottom: 1rem;
  overflow: auto;
}

figure {
  margin: 0;
  padding: 0;
}

img {
  vertical-align: middle;
  border-style: none;
}

svg {
  overflow: hidden;
  vertical-align: middle;
}

table {
  border-collapse: collapse;
}

caption {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  color: #6c757d;
  text-align: left;
  caption-side: bottom;
}

th {
  text-align: inherit;
}

label {
  display: inline-block;
  margin-bottom: 0.5rem;
}

button {
  border-radius: 0;
}

button:focus {
  outline: 1px dotted;
  outline: 5px auto -webkit-focus-ring-color;
}

input,
button,
select,
optgroup,
textarea {
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

button,
input {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

select {
  word-wrap: normal;
}

button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

button:not(:disabled),
[type=button]:not(:disabled),
[type=reset]:not(:disabled),
[type=submit]:not(:disabled) {
  cursor: pointer;
}

button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  padding: 0;
  border-style: none;
}

input[type=radio],
input[type=checkbox] {
  box-sizing: border-box;
  padding: 0;
}

input[type=date],
input[type=time],
input[type=datetime-local],
input[type=month] {
  -webkit-appearance: listbox;
}

textarea {
  overflow: auto;
  resize: vertical;
}

fieldset {
  min-width: 0;
  padding: 0;
  margin: 0;
  border: 0;
}

legend {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
  line-height: inherit;
  color: inherit;
  white-space: normal;
}

progress {
  vertical-align: baseline;
}

[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

[type=search] {
  outline-offset: -2px;
  -webkit-appearance: none;
}

[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  font: inherit;
  -webkit-appearance: button;
}

output {
  display: inline-block;
}

summary {
  display: list-item;
  cursor: pointer;
}

template {
  display: none;
}

[hidden] {
  display: none !important;
}

:root {
  --white: #ffffff;
  --black: #000000;
  --smoke: #f4f5ef;
  --gray: #e5e5e5;
  --blue-600: #666;
  --blue-400: #aaa;
  --blue-300: #ccc;
  --blue-100: #eee;
  --bg-600: #BED7FF;
  --bg-400: #aaa;
  --bg-300: #ccc;
  --bg-100: #eee;
  --primary: #666;
  --second: #E5F0FF;
  --text-body: #666;
  --radius: 5px;
}

/* Base Setting
---------------------------------------- */
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-size: 1rem;
  font-family: meiryo UI, sans-serif;
  overflow-wrap: break-word;
  font-weight: 400;
  color: var(--text-body);
  overflow-x: hidden;
  line-height: 1.5;
  position: relative;
  width: 100%;
  background: var(--white);
  /*
  letter-spacing: 0.05em;
  */
}

a {
  transition: all 0.3s;
  color: var(--primary);
  outline: none !important;
}
a:hover {
  opacity: 0.7;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: meiryo UI, sans-serif;
  font-weight: 500;
  color: var(--primary);
}

h1 {
  font-size: 1.625rem;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

h2 {
  font-size: 1.5rem;
  line-height: 1.5;
  font-weight: 400;
}

h3 {
  font-size: 1.375rem;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

h4 {
  font-size: 1.25rem;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

h5 {
  font-size: 1.125rem;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

h6 {
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

img {
  max-width: 100%;
  vertical-align: bottom;
}

.favorites__item--featured ul, .favorites__top--tabs ul, .site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.favorites__item--options-item span, .favorites__item--options-item label {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.simulation__image .sticky-padding {
  padding: 24px 0px 0px 0px;
}
@media only screen and (max-width: 767px) {
  .simulation__image .sticky-padding {
    padding: 0px;
  }
}

.simulation__image .btn-bookmark path, .page-back a path {
  fill: var(--text-body);
}

input[type=text],
input[type=email],
input[type=password],
input[type=phone],
input[type=search],
textarea,
select {
  border: 1px solid var(--gray);
  border-radius: var(--radius);
  padding: 11px 48px 11px 12px;
  outline: none !important;
  border-radius: 0;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--primary);
}

select {
  border: 1px solid var(--blue-300);
  -webkit-appearance: none;
  -moz-appearance: none;
  background: url("../images/arrow-select.svg") no-repeat calc(100% - 18px) 50% var(--white);
}

.btn, .btn-second {
  transition: all 0.3s;
  padding: 8px 14px;
  min-width: 184px;
  text-align: center;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  gap: 8px;
  outline: none !important;
  border-radius: 0;
  background: var(--blue-400);
  text-transform: uppercase;
  border: 0;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.08em;
  justify-content: center;
}
.btn:focus, .btn-second:focus, .btn:active, .btn-second:active, .btn:hover, .btn-second:hover {
  opacity: 0.7;
  color: var(--white) !important;
  background: var(--blue-400) !important;
}

.btn-second {
  border: 1px solid var(--blue-300);
  background: var(--blue-100);
  color: var(--primary);
  min-height: 31px;
  min-width: 120px;
  padding: 5px 15px;
}

.btn-outline {
  transition: all 0.3s;
  color: var(--primary);
  padding: 15px 25px;
  min-width: 230px;
  text-align: center;
  font-weight: 700;
  display: inline-block;
  outline: none !important;
  border-radius: var(--radius);
  background: none;
  text-transform: uppercase;
  border: 1px solid var(--primary);
}
.btn-outline:hover {
  opacity: 0.9;
  color: var(--white);
}
.btn-outline svg {
  margin-right: 15px;
  max-height: 20px;
}
.btn-outline.btn-white {
  border-color: var(--white);
  color: var(--white);
}

.container {
  padding: 0 15px;
  max-width: 1130px;
}

.container-fluid {
  max-width: 1910px;
}
@media (min-width: 48em) {
  .container-fluid {
    padding: 0 64px;
  }
}

.text-sm {
  font-size: 0.75rem;
  line-height: 1.5;
  letter-spacing: 0.08em;
}

.text-xs {
  font-size: 0.625rem;
  line-height: 1.5;
  letter-spacing: 0.125em;
}

.bg-element {
  background: var(--bg-600);
}

.bg-element--400 {
  background: var(--bg-400);
}

.bg-element--300 {
  background: var(--bg-300);
}

.bg-element--100 {
  background: var(--bg-100);
}

.hamburger {
  position: relative;
  width: 28px;
  height: 18px;
  line-height: 1;
  cursor: pointer;
  display: block;
  right: 0;
  z-index: 99;
  opacity: 1;
}
.hamburger span {
  width: 28px;
  height: 2px;
  background: #555555;
  backface-visibility: hidden;
  position: absolute;
  display: block;
  margin: auto;
  transition: 0.3s all ease;
  transform: rotate(0deg);
  border-radius: 5px;
  top: calc(50% - 1px);
  left: calc(50% - 14px);
}
.hamburger span::before, .hamburger span::after {
  content: "";
  transform-origin: center center;
  width: 100%;
  height: 2px;
  background: #555555;
  backface-visibility: hidden;
  position: absolute;
  left: 0;
  top: 8px;
  transition: 0.3s all ease;
  border-radius: 5px;
  opacity: 1;
}
.hamburger span::after {
  top: -8px;
}
.hamburger.active span {
  transform: rotate(225deg);
}
.hamburger.active span::before {
  transform: rotate(-90deg);
  top: 0;
}
.hamburger.active span::after {
  opacity: 0;
}

@media screen and (min-width: 1024px) {
  .pcbr {
    display: block;
  }
  .spbr {
    display: none;
  }
}
@media screen and (max-width: 1024px) {
  .pcbr {
    display: none;
  }
  .spbr {
    display: block;
  }
}
.slick-slider .slick-arrow {
  width: 32px;
  height: 32px;
  transition: all 0.3s;
  opacity: 0.5;
  z-index: 6;
  min-width: auto;
  border-radius: 0;
}
.slick-slider .slick-arrow::before {
  display: none;
}
.slick-slider .slick-arrow.slick-prev {
  left: 24px;
  background: url("../images/arrow-left.svg") no-repeat 50% 50%/10px #D9D9D9;
}
.slick-slider .slick-arrow.slick-next {
  right: 24px;
  background: url("../images/arrow-right.svg") no-repeat 50% 50%/10px #D9D9D9;
}
.slick-slider .slick-arrow:hover {
  opacity: 1;
}

.page-back {
  font-size: 10px;
  line-height: 1.6;
  font-weight: 500;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}
@media only screen and (min-width: 768px) {
  .page-back {
    margin-bottom: 32px;
  }
}
.page-back a {
  display: inline-flex;
  align-items: center;
}

.tooltip {
  --bs-tooltip-bg: var(--primary);
  --bs-tooltip-padding-y: 4px;
  --bs-tooltip-padding-x: 8px;
}
.tooltip .tooltip-inner {
  color: var(--white);
  border-radius: 2px;
  font-size: 10px;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.site-header__inner {
  padding-block: 10px;
}
@media only screen and (min-width: 768px) {
  .site-header__inner {
    padding-block: 24px;
  }
}
.site-header__logo a {
  display: block;
  width: 128px;
}
.site-header__logo img {
  display: block;
  width: 128px;
}

.site-footer {
  font-size: 10px;
  line-height: 2;
}
.site-footer__top {
  padding-block: 7px;
}
@media only screen and (min-width: 768px) {
  .site-footer__top {
    padding-block: 10px;
  }
}
.site-footer__top ul li + li::before {
  content: "/";
  margin: 0 5px;
}
.site-footer__top ul li a.active {
  text-decoration: underline;
}
.site-footer__main {
  padding-block: 16px;
}
@media only screen and (min-width: 768px) {
  .site-footer__main {
    padding-block: 32px 24px;
  }
}
.site-footer__main ul {
  gap: 16px;
  margin-bottom: 32px;
}
@media only screen and (min-width: 768px) {
  .site-footer__main ul {
    gap: 16px 40px;
    margin-bottom: 16px;
  }
}
.site-footer__main ul li a {
  text-decoration: underline;
}
.site-footer__main p {
  text-align: right;
  margin: 0;
}

/** pages */
.site-main {
  padding-block: 16px 48px;
}
@media only screen and (min-width: 768px) {
  .site-main {
    padding-block: 24px 48px;
  }
}

@media only screen and (max-width: 767px) {
  .simulation__image {
    position: sticky;
    top: 0;
    z-index: 9;
    background: var(--white);
    padding: 0;
    box-shadow: 0 2px 5px 0 rgba(102, 102, 102, 0.05);
  }
}
.simulation__image--inner {
  position: relative;
}
.simulation__image--inner > h3 {
  margin: 0;
  width: 100%;
  text-align: center;
  background: var(--bg-100);
  z-index: 9;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.75;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  color: var(--bg-400);
  max-width: 100%;
}
@media only screen and (min-width: 768px) {
  .simulation__image--inner > h3 {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    padding: 6px 12px;
  }
}
.simulation__image--inner > h3 strong {
  font-weight: 500;
  font-size: 12px;
  color: var(--primary);
  letter-spacing: 0.04em;
}
.simulation__image--body {
  position: relative;
}
.simulation__image .btn-bookmark {
  position: absolute;
  z-index: 9;
  background: rgba(255, 255, 255, 0.5);
  top: 16px;
  right: 16px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media only screen and (min-width: 768px) {
  .simulation__image .btn-bookmark {
    top: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
  }
}
.simulation__image .btn-bookmark svg {
  width: 16px;
}
@media only screen and (min-width: 768px) {
  .simulation__image .btn-bookmark svg {
    width: 21px;
  }
}
.simulation__image .btn-select-type {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 9;
  font-size: 10px;
  line-height: 2;
  padding: 2px 40px 2px 12px;
  border: 0;
  border-radius: 0;
  min-width: 160px;
  min-height: 32px;
}
@media only screen and (min-width: 768px) {
  .simulation__image .btn-select-type {
    bottom: 24px;
    right: 24px;
    min-width: 168px;
  }
}
.simulation__image .slick-slider .slick-arrow {
  top: auto;
  bottom: 12px;
  transform: none;
}
@media only screen and (min-width: 768px) {
  .simulation__image .slick-slider .slick-arrow {
    bottom: 24px;
  }
}
.simulation__image .slick-slider .slick-arrow.slick-prev {
  left: 12px;
}
@media only screen and (min-width: 768px) {
  .simulation__image .slick-slider .slick-arrow.slick-prev {
    left: 24px;
  }
}
.simulation__image .slick-slider .slick-arrow.slick-next {
  right: auto;
  left: 52px;
}
@media only screen and (min-width: 768px) {
  .simulation__image .slick-slider .slick-arrow.slick-next {
    left: 72px;
  }
}
.simulation__image--nav {
  position: absolute;
  z-index: 1;
  top: 16px;
  left: 16px;
  display: flex;
  gap: 16px;
}
@media only screen and (min-width: 768px) {
  .simulation__image--nav {
    top: 40px;
    left: 40px;
  }
}
.simulation__image--nav a {
  font-size: 10px;
  letter-spacing: 0.01em;
  text-align: center;
  color: var(--text-body);
}
.simulation__image--nav a span {
  width: 32px;
  height: 32px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 5px;
}
@media only screen and (min-width: 768px) {
  .simulation__image--nav a span {
    width: 36px;
    height: 36px;
  }
}
.simulation__image--nav a span svg {
  width: 18px;
}
.simulation__image--nav a:hover {
  text-decoration: none;
}
.simulation__image--item {
  display: block !important;
}
.simulation__image--controls {
  gap: 8px 18px;
  padding: 16px;
}
@media only screen and (min-width: 768px) {
  .simulation__image--controls {
    gap: 8px;
    padding: 16px 0;
  }
}
.simulation__image--controls-main {
  gap: 8px;
}
.simulation__image--controls-main a {
  padding: 6px;
  min-height: auto;
  height: 28px;
  align-items: center;
  justify-content: center;
  min-width: auto;
  gap: 10px;
  font-size: 12px;
}
@media only screen and (min-width: 768px) {
  .simulation__image--controls-main a {
    font-size: 10px;
  }
}
@media only screen and (min-width: 992px) {
  .simulation__image--controls-main a {
    font-size: 12px;
  }
}
@media only screen and (min-width: 1200px) {
  .simulation__image--controls-main a {
    padding: 10px 14px;
    gap: 10px;
    height: 40px;
    min-width: 192px;
  }
}
.simulation__image--controls-main a svg {
  max-height: 18px;
}
.simulation__image--controls-more {
  gap: 8px;
}
@media only screen and (min-width: 768px) {
  .simulation__image--controls-more {
    gap: 16px;
  }
}
@media only screen and (min-width: 1200px) {
  .simulation__image--controls-more {
    gap: 20px;
  }
}
.simulation__image--controls-more a {
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--bg-400);
}
.simulation__option {
  padding-top: 24px;
}

@media only screen and (min-width: 768px) {
  .simulation__image--controls-more a {
    font-size: 8px;
  }
}
@media only screen and (min-width: 992px) {
  .simulation__image--controls-more a {
    font-size: 11px;
  }
}
@media only screen and (max-width: 767px) {
  .simulation__option {
    padding-top: 18px;
  }
  .simulation__option .page-back {
    margin-top: 14px;
  }
}
.simulation__option--top {
  display: none;
  justify-content: flex-end;
  margin: 0 -15px 22px;
  position: sticky;
  top: 0;
  z-index: 99;
}
@media only screen and (min-width: 768px) {
  .simulation__option--top {
    margin: 0 0 20px;
    display: flex;
  }
}
.simulation__option > h3 {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.5;
  margin: 0 0 40px;
}
.simulation__option--buttons {
  margin: 0 0 40px;
  gap: 16px;
}
.simulation__option--buttons a {
  flex-basis: 0;
  flex-grow: 1;
  background: none;
  font-weight: 500;
  min-height: 35px;
}
.simulation__option--group + .simulation__option--group {
  margin-top: 20px;
}
.simulation__option--group > h3 {
  font-size: 13px;
  line-height: 1.7;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--blue-300);
  margin: 0;
}
.simulation__option--group > h3 small {
  font-size: 11px;
  font-weight: 400;
}

.simulation__option--group > h3[class="guide"] {
  font-size: 10px;
  border-top: 1px solid var(--blue-300);
  border-bottom: 0px solid var(--blue-300);
  margin-top: 8px;
}

.simulation__option--group-inner {
  padding: 10px;
}
.simulation__option--group-inner h4 {
  margin: 0 0 4px;
  font-weight: 500;
  font-size: 10px;
  line-height: 1.6;
  letter-spacing: 0.08em;
  color: var(--bg-400);
}
.simulation__option--group-inner span {
  font-size: 10px;
  font-weight: 400;
  line-height: 17.5px;
  /*letter-spacing: 0.1em;*/
  letter-spacing: -0.08em;
  text-align: left;
}
.area_mouse_over{
    background-color: #DFE5E9;
}

.simulation__option--group-inner select {
  width: 100%;
  margin-bottom: 20px;
}
.simulation__option--group.simulation__option--group-spacing {
  margin-top: 40px;
}
.simulation__choose {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 8px;
}
.simulation__choose--item {
  width: calc(50% - 4px);
}
.simulation__choose--item label {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
}
.simulation__choose--item-body {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 10px;
  line-height: 1.75;
  letter-spacing: 0.08em;
  align-items: center;
}
.simulation__choose--item-body img {
  width: 40px;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--bg-100);
}
.shape__buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.shape__buttons a {
  border: 1px solid var(--blue-300);
  font-size: 11px;
  line-height: 1.75;
  letter-spacing: 0.08em;
  min-height: 35px;
  padding: 5px 4px;
  /*flex-basis: 0;*/
  /*flex-grow: 0;*/
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 75px;
  background-color: #FFF;
  white-space: nowrap;
}
.shape__buttons a.active, .shape__buttons a:hover {
  background: #DFE5E9;
  color: var(--text-body);
  border: 1px solid #e27c1d;
}
.shape__buttons.button-min-spacing {
  gap: 8px;
}

/* 2つのボタンの場合、それぞれが50%の幅を占める */
.shape__buttons.two-buttons a {
    flex-basis: calc(50% - 8px); /* 16pxのgapを考慮 */
    flex-grow: 0;
}

/* 3つ以上のボタンの場合、1行に3つ */
.shape__buttons.multiple-buttons a {
    flex-basis: calc(33.333% - 10.67px); /* 16pxのgapを考慮 */
    flex-grow: 0;
}

.simulation__options-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, 1fr);
}
.simulation__options-grid a {
  border: 1px solid #ccc;
  padding: 2px;
  background: var(--white);
  position: relative;
}
.simulation__options-grid a img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--bg-100);
}
.simulation__options-grid a::before, .simulation__options-grid a::after {
  content: "";
  position: absolute;
}
.simulation__options-grid a::before {
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  bottom: 7px;
  right: 4px;
  width: 9px;
  height: 5px;
  z-index: 1;
  transform: rotate(-45deg);
  opacity: 0;
  transition: all 0.3s;
}
.simulation__options-grid a::after {
  width: 16px;
  height: 16px;
  right: 1px;
  bottom: 1px;
  background: var(--white);
}
.simulation__options-grid a.active {
  background: #FF9900;
  border-color: #FF9900;
}
.simulation__options-grid a.active::before {
  opacity: 1;
}
.simulation__options-grid a.active::after {
  background: #FF9900;
}

.simulation__options-grid.matomete_mode a::after {
    content: "";
    display: none;
}

.simulation__close {
  position: absolute;
  top: 100%;
  right: 0;
}
@media only screen and (min-width: 768px) {
  .simulation__close {
    display: none;
  }
}
@media only screen and (max-width: 767px) {
  .simulation--2 .simulation__option {
    padding-top: 54px;
  }
}

.favorites__top--btn {
  text-align: right;
}
.favorites__top--pdf {
  position: sticky;
  top: 0;
  z-index: 9;
  margin-top: -40px;
}
@media screen and (min-width: 768px) {
    .favorites__top--pdf {
        width: 50vw;
        margin-left: auto;
        min-height: 40px;
        overflow: hidden;
    }
    .favorites__top--pdf__wrap {
        width: 100vw;
        position: absolute;
        right: 0;
        height: 40px;
    }
}
.favorites__top--pdf .container {
  display: flex;
  justify-content: flex-end;
}
.favorites__top--pdf .btn, .favorites__top--pdf .btn-second {
  min-width: auto;
}
@media only screen and (max-width: 767px) {
  .favorites__top--pdf .btn, .favorites__top--pdf .btn-second {
    position: relative;
    bottom: 0;
    right: -15px;
  }
}
.favorites__top--heading {
  position: relative;
}
.favorites__top--heading .page-back {
  margin: 0;
}
@media only screen and (min-width: 768px) {
  .favorites__top--heading .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .favorites__top--heading .container > * {
    flex-basis: 0;
    flex-grow: 1;
  }
}
.favorites__top--heading h2 {
  margin: 24px 0 0;
  font-weight: 500;
  font-size: 18px;
  line-height: 2;
  letter-spacing: 0.02em;
  text-align: center;
}
@media only screen and (min-width: 768px) {
  .favorites__top--heading h2 {
    margin: 0;
    font-size: 20px;
  }
}
.favorites__top--tabs {
  max-width: 768px;
  margin: 40px auto 44px;
}
@media only screen and (min-width: 768px) {
  .favorites__top--tabs {
    margin: 64px auto;
  }
}
.favorites__top--tabs h3 {
  margin: 0 0 12px;
  font-weight: 500;
  font-size: 10px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  color: #aaa;
}
.favorites__top--tabs ul {
  display: flex;
}
.favorites__top--tabs ul li {
  flex-basis: 0;
  flex-grow: 1;
}
.favorites__top--tabs ul li a {
  font-size: 12px;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: #aaa;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 9px;
  line-height: 1.5;
  background: var(--bg-100);
}
@media only screen and (min-width: 768px) {
  .favorites__top--tabs ul li a {
    font-size: 14px;
    line-height: 1.58;
  }
}
.favorites__top--tabs ul li.active a {
  color: var(--white);
  background: var(--blue-600);
}
.favorites__heading {
  margin-bottom: 32px;
}
@media only screen and (min-width: 992px) {
  .favorites__heading {
    display: none;
  }
}
.favorites__heading h3 {
  margin: 0 0 12px;
  font-weight: 500;
  font-size: 10px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  color: #aaa;
}
.favorites__heading--list {
  display: flex;
}
.favorites__heading--list h4 {
  flex-basis: 0;
  flex-grow: 1;
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  line-height: 1.5;
  margin: 0;
  font-size: 13px;
  color: var(--bg-300);
  padding: 13px 12px 13px 14px;
  background: #eee;
  flex-basis: 0;
  flex-grow: 1;
  position: relative;
}
.favorites__heading--list h4::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  border: 1px solid #ccc;
  border-bottom: 0;
  pointer-events: none;
}
.favorites__heading--list h4 + h4 {
  margin-left: -1px;
}
.favorites__heading--list h4 strong {
  font-weight: 700;
}
.favorites__heading--list h4 a {
  color: #aaa;
  font-size: 10px;
  font-weight: 400;
  display: flex;
  align-items: center;
}
.favorites__heading--list h4.active {
  background: var(--white);
  z-index: 1;
}
.favorites__heading--list h4.active::before {
  border-color: #666;
}
.favorites__heading--list h4.active strong {
  color: var(--primary);
}
.favorites__item {
  position: relative;
  padding-inline: 0.5px;
  display: none;
}
.favorites__item:first-child {
  display: block;
}
@media only screen and (min-width: 992px) {
  .favorites__item {
    display: block !important;
  }
}
.favorites__item--close {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 10px;
  line-height: 2;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--bg-400);
  align-items: center;
  display: none;
}
@media only screen and (min-width: 992px) {
  .favorites__item--close {
    right: 16px;
    display: flex;
  }
}
.favorites__item > h3 {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.5;
  margin: 0;
  padding: 5px 40px 5px 0;
  display: none;
}
@media only screen and (min-width: 992px) {
  .favorites__item > h3 {
    display: block;
    padding: 5px 50px 5px 16px;
  }
}
.favorites__item > figure {
  background: var(--blue-300);
  margin-bottom: 24px;
}
@media only screen and (min-width: 768px) {
  .favorites__item > figure {
    margin-bottom: 16px;
  }
}
.favorites__item > figure img {
  aspect-ratio: 1.3;
  object-fit: cover;
  width: 100%;
}
.favorites__item--featured {
  padding: 8px;
  background: var(--blue-100);
  margin-bottom: 24px;
}
@media only screen and (min-width: 768px) {
  .favorites__item--featured {
    padding: 16px 24px;
    margin-bottom: 16px;
  }
}
.favorites__item--featured ul {
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.1em;
}
.favorites__item--featured ul li {
  display: flex;
  gap: 16px;
  padding-left: 18px;
  position: relative;
}
.favorites__item--featured ul li::before {
  content: "";
  width: 3px;
  height: 3px;
  border-radius: 100%;
  background: var(--primary);
  position: absolute;
  top: 7px;
  left: 7px;
}
.favorites__item--featured ul li + li {
  margin-top: 8px;
}
.favorites__item--featured ul li label {
  margin: 0;
  min-width: 133px;
  width: 133px;
}
@media only screen and (min-width: 768px) {
  .favorites__item--options {
    padding-inline: 24px;
  }
}
.favorites__item--options h4 {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.75;
  letter-spacing: 0.08em;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--blue-300);
}
.favorites__item--options-group + .favorites__item--options-group {
  margin-top: 20px;
}
.favorites__item--options-item {
  display: flex;
  padding-inline: 8px;
  gap: 8px;
  align-items: center;
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 0.08em;
  margin-top: 8px;
}
.favorites__item--options-item label {
  width: 143px;
  margin-right: 8px;
  font-weight: 500;
  margin: 0;
}
.favorites__item--options-item figure img {
  width: 30px;
  height: 15px;
  object-fit: cover;
  display: block;
  background: var(--blue-100);
  border: 1px solid var(--blue-300);
}
.favorites__item--options-item span {
  width: calc(100% - 197px);
}
.favorites__item--back {
  font-size: 10px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  color: var(--bg-400);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 40px;
}
@media only screen and (min-width: 768px) {
  .favorites__item--back {
    margin-top: 32px;
  }
}
.favorites__print {
  margin-top: 24px;
}
@media only screen and (min-width: 768px) {
  .favorites__print {
    margin-top: 32px;
  }
}

#contents > div { position: absolute; top: 0; left: 0; }


/* add  */
.lbl_undo, .lbl_redo
{
    width: unset !important;
    height: unset !important;
    background-color: unset !important;
    align-items: unset !important;
}
.disable_btn
{
    cursor:unset;
}
.disable_btn span
{

    color: #CCCCCC !important;
    background: #EEEEEE !important;
}
.disable_btn:hover
{
    opacity: 1 !important;
}

/*ローディング*/
.main-wrap-div{
    position: relative;
    z-index: 1000;
}
/*ローディング*/
#loading_div {
    margin: auto;
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 9999;
    opacity: 0.5;
    background-color: rgb(255, 255, 255);
}
#loading_div img{
    margin: 0 auto;
    position: absolute;
    top: 202.5px;
    right: 166px;
    bottom: 0;
    left: 0;
}

.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.loading-overlay img{
  margin: 0 auto;
  position: absolute;
  top: 202.5px;
  right: 166px;
  bottom: 0;
  left: 0;
}

.loading-overlay img{
  margin: 0 auto;
  position: absolute;
  top: 202.5px;
  right: 166px;
  bottom: 0;
  left: 0;
}
.lotation_alert {
    display: none;
}
@media (orientation: landscape) and (max-height: 450px) {
    header {
        display: none;
    }
    main {
        display: none;
    }
    footer {
        display: none;
    }
    .lotation_alert {
        display: flex; /* スマートフォンで横向きの場合に縦方向アラート画面を表示する */
        /*font-size: 19px;*/
        font-size: 2em; /* テキストを大きくする */dasdsa
        position: fixed;
        align-items: center; /* 縦方向で中央揃え */
        justify-content: center; /* 横方向で中央揃え */
        z-index: 9999; /* 他の要素の上に表示されるようにする */
        text-align: center; /* テキストを中央揃えにする */

        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.9);
        z-index: 9999;
    }
}

.img_variation_ul-box
{
  overflow-y: auto;
  max-height: 475px;
}

.caption-box {
  display: block;
  top: unset !important;
  left: 3px !important;
  bottom: 3px;
}
.caption-box .caption-list {
  position: relative;
  margin-bottom: 0px !important;
  /*
  display: block;
  height: 100%;
  left: 50%;
  top: 50%;
  transform: translate(-50%);
  width: 90%;
  */
}
.caption-box .caption-list__item {
  display: block;
 /* color: #fff;*/
}
.caption-box .caption-list__item:nth-child(n+2) {
  margin-top: 3px;
}
.caption-box .caption-list__item .text {
  font-size: 12px;
  line-height: 1;
}

.l-lg {
  display: block;
}
@media screen and (max-width: 575px) {
  .l-lg {
    display: none;
  }
}

.l-sm {
  display: none !important;
}
@media screen and (max-width: 574px) {
  .l-sm {
    display: block !important;
  }
  .caption-box {
    left: 0px !important;
  }
  .caption-box .caption-list__item .text {
    font-size: 8px !important;
    line-height: 1;
  }
}


.modal-content
{
  max-width: unset !important;
}
@media (min-width: 575px) {
  .modal-colorset {
    max-width: 80%;
  }
}