* {
  box-sizing: initial;
}

#container {
  background-color: #FFFFFF;
  font-family: 'Zen Kaku Gothic New', 'Helvetica', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro W3', 'Lucida Grande', 'Verdana', 'メイリオ', 'Meiryo', 'ＭＳ Ｐゴシック', sans-serif;
}

.header, .page-btm-row {
  box-sizing: border-box;
  font-family: "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, sans-serif;
}

body #contents {
  /*font-size: 9rem!important;*/
  font-family: 'Zen Kaku Gothic New', 'Helvetica', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro W3', 'Lucida Grande', 'Verdana', 'メイリオ', 'Meiryo', 'ＭＳ Ｐゴシック', sans-serif;
}

#contents {
  background-color: #FFFFFF;
}

#contents .footer {
  background-color: #000;
}

.anton {
  font-family: 'Anton', 'Helvetica', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro W3', 'Lucida Grande', 'Verdana', 'メイリオ', 'Meiryo', 'ＭＳ Ｐゴシック', sans-serif;
}

.hover_bg * {
  transition: all 0.3s ease 0s;
}

.hover_bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  transition: all 0.3s ease 0s;
  background-color: #00A0DC;
}

@media (hover:hover) {
  .hover_bg:hover::before {
    width: 100%;
  }
}

/* Configurator canvas */
.mainCanvas {
  width: 100%;
}


/* PCレイアウト */

/* Header */

.c_main {
  position: relative;
  max-width: 1366px;
  height: 120px;
  margin: 0 auto;
}

.c_main .recommend_customize {
  position: absolute;
  left: 85px;
  top: 57px;
  z-index: 2;
}

.c_main .recommend_customize p.line1 {
  font-size: 32px;
  line-height: 32px;
}

.c_main .recommend_customize p.line2 {
  font-size: 80px;
  line-height: 80px;
}

.angle {
  position: sticky;
  max-width: 1366px;
  margin: 0 auto;
  top: 40px;
  height: 0;
  z-index: 4;
}

.angle_container {
  width: 178px;
  height: 64px;
  position: absolute;
  top: 0;
  right: 83px;
  background-color: #000000;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

/*.angle .square {*/
/*  width: 32px;*/
/*  height: 32px;*/
/*  position: absolute;*/
/*  top: 16px;*/
/*  left: 16px;*/
/*  background-color: #FFFFFF;*/
/*  transition: all 300ms 0s ease;*/
/*}*/

.angle .square.rear {
  left: 80px;
}

.angle .angle_front {
  position: absolute;
  top: 18px;
  width: 50%;
  left: 0;
  text-align: center;
  transition: all 300ms 0s ease;
  /*opacity: 0;*/

  font-size: 20px;
  color: #FFFFFF;
}

.angle .angle_front.active {
  color: #00A0DC;
}

.angle .angle_rear {
  position: absolute;
  top: 18px;
  width: 50%;
  right: 0;
  text-align: center;
  transition: all 300ms 0s ease;
  /*opacity: 0;*/

  font-size: 20px;
  color: #FFFFFF;
}

.angle .angle_rear.active {
  color: #00A0DC;
}

.angle .angle_divider {}

.c_main .grade {
  position: absolute;
  left: 83px;
  bottom: 114px;

  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: column;
}

.grade-selection {
  display: grid;
  grid-template-columns: repeat(auto-fit, 238px);
  gap: 17px;
}

.grade_button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: 48px;
  border: 4px solid #000;
  background: #fff;
  color: #000;
  font-weight: 500;
  font-size: 20px;
  box-sizing: border-box;
  transition: all 0.3s ease 0s;
}

.grade_button.active {
  background: #000;
  color: #fff;
}

@media (hover:hover) {
  button.grade_button.active:hover {
    color: #000;
  }
}

.main-viewport {
  height: 483px;
  max-width: 1366px;
  margin: -40px auto 0;
}

.main-viewport .viewport {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.main-viewport .viewport .viewport_main {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;

  /* 位置調整 */
  top: 41px;
  left: 0;
}

.main-viewport .viewport .viewport_main::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0 95%, #FFFFFF),
    linear-gradient(180deg, transparent 0 90%, #FFFFFF),
    linear-gradient(270deg, transparent 0 95%, #FFFFFF);
}

.main-viewport .viewport .viewport_main canvas {
  min-width: 140%;
}

.main-viewport .viewport .viewport_sub {
  position: absolute;
  left: 0;
  top: 60px;
  width: 50%;

  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.main-viewport .viewport .viewport_sub canvas {
  /*width: 470px;*/
  width: calc(250% * 0.34407027818448);
  margin-top: calc(151px - 250% * 0.11);
  margin-right: calc(150px - 250% * 0.11);
}

.viewport_sub img {
  max-width: 100%;
}

.viewport_sub .viewport_front {
  transition: all 500ms 0s ease;
  visibility: hidden;
  opacity: 0;
  height: 0;
}

.viewport_sub .viewport_front.active {
  visibility: visible;
  opacity: 1;
  height: auto !important;
}

.viewport_sub .viewport_rear {
  transition: all 500ms 0s ease;
  visibility: hidden;
  opacity: 0;
  height: 0;
}

.viewport_sub .viewport_rear.active {
  visibility: visible;
  opacity: 1;
  height: auto !important;
}

section.sticky {
  z-index: 5;
  position: sticky;
  bottom: 0;
  width: 100%;
  /*height: 100vh;*/
  background-color: #000000;
}

.price_additional_info {
  text-align: left;
  color: white;
  margin: 0 auto;
  padding: 12px 32px;
  width: auto;
  max-width: min(600px, calc(100% - 64px));
  font-size: 16px;
  font-weight: bold;
  z-index: 4;
  position: relative;
  background-color: #000000;
}

div.status {
  max-width: 1366px;
  height: 96px;
  width: 100%;
  position: relative;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}

div.status .glyph_price {
  position: absolute;
  left: 83px;
  /*bottom: 15px;*/
  height: 100%;
  font-size: 32px;
  color: #FFFFFF;

  justify-content: center;
  align-items: center;
  display: flex;
}

div.status .price_area {
  position: relative;
  /*top: 10px;*/
  right: 122px;
  /*height: 100%;*/
  color: #FFFFFF;
  font-weight: bold;
  font-size: 18px;

  display: none;
  justify-content: flex-end;
  align-items: flex-start;
  /*padding-top: 5px;*/
  gap: 0;

  height: 42px;
  top: inherit;
  padding-top: 0;
}

div.status .price_area .part_price {
  display: grid;
  grid-template-columns: auto 1fr auto;
  justify-content: space-between;
  align-items: center;
  position: relative;
  width: calc(100% - 150px - 139px);
  max-width: 600px;
  gap: 8px;
}

div.status .price_area.package_price.active::before {
  content: "";
  position: absolute;
  width: calc(100% - 150px - 139px);
  height: 2px;
  bottom: -1px;
  background-color: #FFFFFF32;
  left: 290px;
}

div.status .price_area.package_price .package_name_container {
  text-align: right;
}

div.status .price_area.package_price .part_price {
  color: #00A0DC;
}

div.status .price_area.package_price .price_area_info {
  color: #FFFFFF;
}

div.status .price_area.package_price .price_area_label {
  font-size: 12px;
}

div.status .price_area.package_price .package_name {
  text-align: right;
  font-size: 12px;
  line-height: 12px;
}

div.status .price_area.active {
  display: flex;
}

div.status .price_area .price_area_label {
  font-size: 16px;
  text-align: right;
  word-break: auto-phrase;
  overflow-wrap: anywhere;
  display: flex;
  justify-content: flex-end;
  gap: 5px;
}

div.status .price_area .price_area_value {
  font-size: 28px;
  font-weight: 500;
}

div.status .price_area .price_area_info {
  font-size: 10px;
  font-weight: 500;
}

div.status .close_simulation_btn {
  position: absolute;
  width: 80px;
  height: 100%;
  right: 0;
  top: 0;
  border-left: #FFFFFF 2px solid;
  display: flex;
  justify-content: center;
  align-items: center;

  cursor: pointer;
}

div.status .close_simulation_btn img {
  position: relative;
  z-index: 2;
}

@media (hover:hover) {
  div.status .close_simulation_btn:hover img {
    filter: brightness(0);
  }
}

/* customize area */
.c_simulation {
  position: relative;
  max-width: 1366px;
  /*height: 768px;*/
  margin: 0 auto;
  padding-left: 84px;
  box-sizing: border-box;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.c_simulation_configurator {
  display: flex;
  flex-direction: column;
  gap: 40px;
  flex-basis: auto;
  margin-top: 40px;
  flex-grow: 1;
}

.c_simulation_configurator h3 {
  font-size: 24px;
  line-height: 48px;
}

.c_simulation_configurator p {
  font-size: 18px;
  font-weight: 500;
}

.c_simulation_configurator .color_swatches {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(auto-fit, 75px);
  flex-wrap: wrap;
  column-gap: 9px;
  row-gap: 8px;
}

.c_simulation_configurator .color_swatch {
  position: relative;
  cursor: pointer;
}

.c_simulation_configurator .color_swatch.hide {
  display: none;
}

.c_simulation_configurator .color_swatch_btn {
  position: absolute;
  right: 4px;
  top: 4px;
  z-index: 1;
  width: 16px;
  height: 16px;
  background-color: #FFFFFF;
  padding: 2px;
}

.c_simulation_configurator .color_swatch_btn img {
  display: none;
}

.c_simulation_configurator .color_swatch.active .color_swatch_btn img {
  display: block;
  padding: 1px;
  filter: invert(49%) sepia(98%) saturate(2954%) hue-rotate(166deg) brightness(96%);
}

.accessory_section {
  max-width: 747px;
}

.accessory_section>h3 {
  font-size: 24px;
  line-height: 48px;
}

.accessory_section>.accessory_tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, 174px);
  flex-wrap: wrap;
  margin-bottom: 16px;
  gap: 17px;
}

.accessory_section>.accessory_tabs>.accessory_tab {
  position: relative;
  width: 166px;
  height: 40px;
  font-size: 20px;
  line-height: 48px;
  text-align: center;
  border: 4px solid #000;
  /*margin-left: 17px;*/
  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
}

.accessory_section>.accessory_tabs>.accessory_tab.active {
  background-color: #000;
}

.accessory_section>.accessory_tabs>.accessory_tab.active>span {
  color: #FFFFFF;
}

@media (hover:hover) {
  .accessory_section>.accessory_tabs>.accessory_tab:hover>span {
    color: #000 !important;
  }
}

.accessory_section>.accessory_tabs>.accessory_tab>span {
  position: relative;
  z-index: 2;
}

.accessory_section>.accessory_thumbnails {
  display: grid;
  grid-template-columns: repeat(auto-fit, 143px);
  flex-wrap: wrap;
  gap: 7px 8px;
}

.accessory_section>.accessory_thumbnails>.accessory_thumbnail.hide,
.accessory_section>.accessory_thumbnails>.accessory_thumbnail.disabled {
  display: none;
}

.accessory_section>.accessory_thumbnails>.accessory_thumbnail>.accessory_thumbnail_image {
  position: relative;
  cursor: pointer;
}

.accessory_thumbnail_img {
  width: 143px;
}

.accessory_section>.accessory_thumbnails>.accessory_thumbnail>.accessory_thumbnail_image>div>img.accessory_thumbnail_play {
  position: absolute;
  left: 4px;
  bottom: 4px;
  width: 16px;
  height: 16px;
}

.accessory_section>.accessory_thumbnails>.accessory_thumbnail .accessory_thumbnail_btn {
  position: absolute;
  right: 4px;
  top: 4px;
  z-index: 1;
  width: 16px;
  height: 16px;
  background-color: #FFFFFF;
  padding: 2px;
}

.accessory_section>.accessory_thumbnails>.accessory_thumbnail .accessory_thumbnail_btn img {
  display: none;
}

.accessory_section>.accessory_thumbnails>.accessory_thumbnail.active .accessory_thumbnail_btn img {
  display: block;
  padding: 1px;
  filter: invert(49%) sepia(98%) saturate(2954%) hue-rotate(166deg) brightness(96%);
}

.package_section h3 {
  font-size: 24px;
  line-height: 48px;
}

.package_section>.package {
  margin-bottom: 8px;
  display: grid;
  grid-template-columns: 22.5% 77.5%;
  cursor: pointer;
  gap: 24px;
}

.package_section>.package>.package_thumbnail {
  position: relative;
}

.package_section > p.caution {
  display: none;
  font-size: 18px;
  font-weight: 600;
  color: #000;
}
.package_section > p.caution.active {
  display: block;
}

.hover_bg_half>.hover_bg_half_target::before {
  position: absolute;
  content: '';
  left: 0;
  top: 0;
  width: 0;
  height: 100%;
  background-color: #00A0DC66;
  transition: all 0.3s ease 0s;
}

@media (hover:hover) {
  .hover_bg_half:hover>.hover_bg_half_target::before {
    width: 100%;
  }

  .package_section>.package:hover>.package_thumbnail::before {
    width: 100%;
  }
}

.package_section>.package>.package_thumbnail>.package_thumbnail_btn {
  position: absolute;
  right: 4px;
  top: 4px;
  width: 16px;
  height: 16px;
  background-color: #FFFFFF;
  padding: 2px;
}

.package_section>.package>.package_thumbnail>.package_thumbnail_btn img {
  display: none;
}

.package_section>.package.selected>.package_thumbnail>.package_thumbnail_btn img {
  display: block;
  padding: 1px;
  filter: invert(49%) sepia(98%) saturate(2954%) hue-rotate(166deg) brightness(96%);
}

.package_section>.package>.package_title_box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;

  transition: all 0.3s ease 0s;
}

@media (hover:hover) {
  .package_section>.package:hover>.package_title_box {
    /*filter: invert(49%) sepia(98%) saturate(2954%) hue-rotate(166deg) brightness(96%) contrast(102%);*/
    color: #00A0DC;
  }
}

.package_section>.package .package_title_en {
  font-size: 32px;
}

.package_section>.package .package_title_ja {
  font-size: 18px;
  font-weight: 900;
}

.package_section>.package.cant-select {
  position: relative;
  pointer-events: none;
  opacity: 0.5;
}

.package_section>.package .package_cant_select {
  color: #000;
  display: none;
}

.package_section>.package.cant-select > .package_title_box > .package_cant_select {
  display: block;
}

.package_section>.package .package_cant_select p {
  font-size: 12px;
}

/* SP用に当たる */
.package_section>.package > .package_cant_select {
  grid-column: auto / span 2;
}

.package_section>.package > .package_cant_select p {
  font-size: 10px;
}

@media (hover:hover) {
  .package_section>.package:hover>.package_thumbnail::before {
    opacity: 1;
  }
}

.simulation_reset_btn {
  position: relative;
  width: 100%;
  height: 40px;
  text-align: center;
  background-color: #DDE2E6;
  font-size: 16px;
  line-height: 40px;
  margin-top: 32px;
  margin-bottom: 80px;

  cursor: pointer;
}

.simulation_reset_btn>span {
  position: relative;
  z-index: 2;
}

.c_simulation_preview {
  position: sticky;
  z-index: 2;
  top: 0;
  width: 504px;
  min-width: 504px;
  /*background-color: #FFF;*/
  /*height: 318px;*/
  /*overflow: hidden;*/
}

.c_simulation_preview .viewport {
  position: relative;
  width: 100%;
  height: 230px;
  overflow: hidden;
}

.c_simulation_preview .viewport_main {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.c_simulation_preview .viewport_main canvas {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 140%;
  transform: translate(-50%, -50%);
}

.c_simulation_preview .viewport_sub {
  position: absolute;
  left: 0;
  top: 0;
}

.c_simulation_preview .viewport_sub .subCanvas {
  width: 250px;
}

.c_simulation_preview .grade {
  margin-left: 32px;
  font-size: 40px;
  margin-top: 48px;
  height: 64px;
}

.c_simulation_preview_buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
  width: 421px;
}

.c_simulation_preview_buttons>div {
  margin-left: 32px;
  /*margin-right: 83px;*/
}

.c_simulation_preview_button {
  position: relative;
  height: 48px;
  background-color: #000000;

  display: flex;
  justify-content: center;
  align-items: center;

  cursor: pointer;
}

.c_simulation_preview_button span {
  color: #FFFFFF;
  position: relative;
  z-index: 2;
  font-size: 20px;
}

.c_simulation_preview_button img {
  z-index: 2;
  margin-left: 12px;
}

@media (hover:hover) {
  .c_simulation_preview_button:hover span {
    color: #000000;
  }

  .c_simulation_preview_button:hover img {
    filter: brightness(0);
  }

  .pager_button:hover img {
    filter: brightness(0);
  }
}

.c_simulation_stat {
  padding-top: 20px;
  height: calc(100vh - 322px - 80px - 20px);
  overflow-y: scroll;
}

.c_simulation_stat.scrolled_top {}

.c_simulation_stat.scrolled_bottom {}

/* アクセサリ説明欄 */
.accessory_detail {
  padding: 0 0 0 32px;
  margin-bottom: 53px;
  width: 389px;
}

.accessory_detail.template {
  display: none;
}

.accessory_detail_inner {
  position: relative;
}

.accessory_detail_inner h3 {
  font-size: 24px;
  margin-right: 24px;
  font-weight: bold;
}

.accessory_detail_inner>.c_simulation_preview_button {
  margin-top: 8px;
}

.accessory_detail_price {}

.accessory_detail_price_number {
  font-size: 25px;
}

.accessory_detail_price_number span {
  font-size: 18px;
  font-weight: bold;
}

.accessory_detail_price_info {
  font-size: 12px;
  font-weight: bold;
}

.accessory_detail_description {
  font-size: 14px;
}

.accessory_detail_close_button {
  position: absolute;
  top: 4px;
  right: 0;
}

.accessory_detail_close_button:hover {
  cursor: pointer;
}

/* モーダルのスタイル */
.modal {
  /*display: none; !* 初期状態では非表示 *!*/
  visibility: hidden;
  opacity: 0;
  position: fixed;
  z-index: 100000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  /* 背景の半透明黒 */
  transition: all 0.8s ease 0s;
}

.modal.active {
  /*display: block;*/
  visibility: visible;
  opacity: 1;
}

.modal_content {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  width: 90%;
  margin: auto;
  transform: translateY(-50%);
}

.modal_content.movie {
  max-width: 800px;
}

.modal_content.share {
  max-width: 298px;
  padding: 24px 24px 16px;
  background-color: #fff;
  box-sizing: border-box;
}

.modal_content.share h4 {
  margin-bottom: 16px;
  font-size: 64px;
  text-align: center;
}

.modal_content.share .share_sns {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-bottom: 24px;
}

.modal_content.share .share_btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  margin-bottom: 8px;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  background-color: #000;
  cursor: pointer;
}

.modal_content.share .share_btn span {
  position: absolute;
  left: 15px;
}

.modal_content.onboard {
  max-width: 800px;
  padding: 72px 56px 0;
  background-color: #F2F2F2;
  box-sizing: border-box;
  max-height: 621px;
  height: 100vh;
  transform: translateY(calc(-50% - 32px));
}

.modal_content.onboard p {
  font-size: 18px;
  font-weight: bold;
}

.x-flip {
  transform: scaleX(-1);
}

.modal_content.onboard .tutorial_item {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.modal_content.onboard .tutorial_item>img {
  max-width: 100%;
}

.modal_content.onboard .tutorial_item>img.l12 {
  max-width: calc(100% + 24px);
  width: calc(100% + 24px);
  left: -12px;
  position: relative;
}

.modal_content.onboard .tutorial_item>img.h318 {
  max-height: 318px;
}

.modal_content.onboard .tutorial_item>img.r6 {
  max-width: calc(100% + 12px);
  position: relative;
  left: 6px;
}


.modal_content.onboard .tutorial_pager {
  background-color: #000000;
  color: #FFFFFF;

  position: absolute;
  right: 0;
  bottom: 0;
  width: 144px;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal_content.onboard .tutorial_pager .pager_button {
  width: 48px;
  height: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.modal_content.onboard .tutorial_pager .pager_nav {
  width: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: bold;
}

.modal_content.onboard .tutorial_pager .pager_nav span {
  font-size: 14px;
}

.modal_content_skip {
  background-color: #fff;
  /*margin: 0 24px;*/
  position: absolute;
  bottom: -64px;
  left: calc(50% - 120px);
  width: 240px;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  gap: 12px;
  cursor: pointer;
}

.modal_content_skip * {
  position: relative;
}

.modal_open {
  cursor: pointer;
}

.modal_close {
  position: absolute;
  top: -25px;
  right: 0;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}

.youtube {
  width: 100%;
  aspect-ratio: 16 / 9;
}

.youtube iframe {
  width: 100%;
  height: 100%;
}

/* simulationのみ、footerの階層が違う */
.footer {
  max-width: 100vw;
}

/* SPレイアウト */
@media screen and (max-width: 768px) {
  .c_main .recommend_customize {
    width: 200px;
    left: 23px;
    top: 26px;
    position: relative;
    z-index: 4;
  }

  .c_main .recommend_customize p.line1 {
    font-size: 20px;
    line-height: 20px;
  }

  .c_main .recommend_customize p.line2 {
    font-size: 48px;
    line-height: 48px;
  }

  .angle {
    top: 32px;
  }

  .angle_container {
    width: 120px;
    height: 48px;
    right: 24px;
  }

  .angle .square.rear {
    left: 60px;
  }

  .angle .angle_front {
    top: 14px;
    left: 8px;
    text-align: left;
    height: 16px;
    font-size: 16px;
  }

  .angle .angle_rear {
    top: 14px;
    right: 8px;
    text-align: right;
    height: 16px;
    font-size: 16px;
  }

  .angle .angle_divider {
    width: 20px;
    margin-left: 6px;
  }

  .c_main {
    /*height: calc(330px + 50vw);*/
    height: 80px;
    max-width: none;
  }

  .c_main .grade {
    left: 0;
    display: block;
    width: 100%;
    padding: 0 24px;
    box-sizing: border-box;
  }

  .grade-selection {
    grid-template-columns: repeat(2, 1fr);
    gap: 7px;
  }

  .grade_button {
    width: 100%;
  }

  .main-viewport {
    margin-top: -80px;
    background-color: #FFFFFF;
    z-index: 3;
    height: calc(60px + 50vw);

    position: sticky;
    top: 0;
  }

  .main-viewport .customize_label {
    font-size: 24px;
    line-height: 28px;
    font-weight: 400;

    position: absolute;
    padding-left: 24px;
    padding-top: 32px;
    display: flex;
    flex-direction: column;

    opacity: 0;
    transition: all .2s ease;
  }

  .main-viewport .customize_label.active {
    opacity: 1;
  }

  .main-viewport .viewport {
    overflow: hidden;
  }

  .main-viewport .viewport.active {
    border-bottom: 1px solid #666;
  }

  .main-viewport .viewport .viewport_main {
    left: 0;
    top: 40px;
  }

  .main-viewport .viewport .viewport_main canvas {
    min-width: 170%;
  }

  .main-viewport .viewport .viewport_sub {
    display: none;
  }

  .c_simulation {
    margin-top: 0;
    max-width: none;
    padding: 0 24px;
  }

  .c_simulation_preview {
    display: none;
  }

  .c_simulation_configurator {
    margin-top: inherit;
  }

  .c_simulation_configurator p {
    margin-bottom: 16px;
  }

  .c_simulation_configurator .color_swatches {
    justify-content: center;
  }

  .accessory_section>.accessory_tabs {
    justify-content: center;
    gap: 7px;
    grid-template-columns: repeat(auto-fit, 160px);
  }

  .accessory_section>.accessory_tabs>.accessory_tab {
    width: 160px;
    height: 48px;
    box-sizing: border-box;
  }

  .accessory_section>.accessory_thumbnails {
    justify-content: center;
    grid-template-columns: repeat(auto-fit, 155px);
    gap: 16px 17px;
  }

  .accessory_section>.accessory_thumbnails>.accessory_thumbnail {
    width: 155px;
    /*height: 96px;*/
  }

  /*.accessory_section > .accessory_thumbnails > .accessory_thumbnail >  {*/
  .accessory_section>.accessory_thumbnails>.accessory_thumbnail>.accessory_thumbnail_image>div,
  .accessory_section>.accessory_thumbnails>.accessory_thumbnail>.accessory_thumbnail_image>div>img {
    width: 100%;
    /*height: 100%;*/
    height: 96px;
  }

  .accessory_detail {
    position: inherit !important;
    display: none;
    padding: 0;
    /* ここの高さはJSで動的に調整 */
    /*height: 250px !important;*/
    margin-bottom: 16px;
  }

  .accessory_detail.active {
    display: block;
    width: auto;
  }

  .accessory_detail_inner {
    position: absolute;
    left: 24px;
    width: calc(100vw - 48px);
    margin-top: 16px;
    font-size: 14px;
  }

  .accessory_detail_inner h3 {
    font-size: 22px;
    line-height: 1.2em;
    margin-bottom: 16px;
  }

  .accessory_detail_price_number {
    font-size: 24px;
  }

  .accessory_detail_description {
    margin: 16px 0;
  }

  .accessory_detail_buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
  }

  .accessory_detail_buttons div {
    position: relative;
    background-color: #000;
    color: #FFFFFF;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;

    width: calc(50% - 4.5px);
  }

  .accessory_detail_buttons div.button_select {
    width: 100%;
    background-color: #FFFFFF;
    color: #000;
    border: #000 4px solid;
    height: 32px;
    cursor: pointer;
  }

  .accessory_detail_buttons div span {
    position: relative;
    z-index: 2;
  }

  @media (hover:hover) {
    .accessory_detail_buttons div:hover {
      color: #000;
    }
  }

  .package_section > p.caution {
    font-size: 12px;
  }

  .package_section>.package {
    grid-template-columns: 100px auto;
    gap: 8px;
    margin-bottom: 12px;
  }

  .package_section>.package .package_title_en {
    font-size: 20px;
    margin-bottom: 0;
  }

  .package_section>.package .package_title_ja {
    font-size: 12px;
    margin-bottom: 0;
  }

  .accessory_detail_buttons div.fw {
    width: 100%;
  }

  .accessory_detail_buttons div.c_simulation_preview_button {
    display: none;
  }

  .accessory_detail_buttons div.c_simulation_preview_button.active {
    display: flex;
  }

  .accessory_detail_buttons div.c_simulation_preview_button span {
    font-size: 14px;
  }

  div.status {
    /*height: 56px;*/
    /*min-height: 50px;*/
    height: auto;
    flex-direction: column;
    justify-content: center;
    gap: 0;
    /*padding: 7px 0 7px 0;*/
  }

  div.status::after {
    content: "";
    width: 100%;
    height: 1px;
    position: absolute;
    bottom: -1px;
    background-color: #000000;
  }

  div.status .glyph_price {
    /*width: 50px;*/
    /*left: 24px;*/
    /*!*bottom: 10px;*!*/
    /*font-size: 24px;*/
    /*height: calc(100% - 14px);*/
    display: none;
  }

  div.status .price_area {
    height: 50px;
    right: 0;
    align-items: center;
    font-size: 18px;
    padding-top: 0;
    top: 0;
    padding-left: 16px;
    padding-right: 16px;
  }

  div.status .price_area .part_price {
    width: 100%;
  }

  div.status .price_area .price_area_label {
    font-size: 14px;
    display: block;
  }

  div.status .price_area .price_area_postfix {
    font-size: 14px;
  }

  div.status .price_area .price_area_value {
    font-size: 24px;
  }

  div.status .price_area.package_price .price_area_label {
    font-size: 10px;
  }

  div.status .price_area.package_price.active::before {
    width: calc(100% - 32px);
    left: 16px;
  }

  div.status .price_area.package_price .package_name {
    font-size: 10px;
    line-height: 10px;
  }

  div.status .close_simulation_btn {
    width: 100%;
    height: 22px;
    position: relative;
    border-left: inherit;
    border-bottom: #FFFFFF 2px solid;
  }

  div.status .close_simulation_btn img {
    width: 12px;
  }

  .price_additional_info {
    font-size: 14px;
    padding: 12px 24px;
    max-width: calc(100% - 48px);
  }

  .c_top_footer {
    padding-top: 12px;
  }

  .modal_content.share {
    max-width: 327px;
  }

  .modal_content.onboard {
    max-width: 327px;
    height: calc(100vh - 64px - 48px);
    max-height: 530px;
    padding: 24px 24px 72px;
    transform: translateY(calc(-50% - 24px));
  }

  .modal_content.onboard .tutorial_item {
    justify-content: center;
    align-items: center;
    /*height: calc(100% - 48px);*/
  }

  .modal_content.onboard .tutorial_item.fh {
    height: 100%;
  }

  .modal_content.onboard .tutorial_pager {
    width: 100%;
    justify-content: space-between;
  }

  .modal_content.onboard p {
    font-size: 14px;
  }

  .modal_content.onboard .tutorial_item>img {
    width: auto;
    max-height: 306px;
  }

  .modal_content_skip {
    width: 100%;
    left: 0;
  }

  .package_section>.package.cant-select > .package_cant_select {
    display: block;
  }
}

@media screen {
  .print_area {
    display: none;
  }
}

@media print {
  /* ヘッダー・フッターは隠す */
  #header {
    display: none;
  }

  #sp_footer_wrap {
    display: none;
  }

  .containerInner {
    display: none;
  }


  .print_area {
    display: block;
  }

  #contents {
    display: none;
  }

  .footer {
    display: none;
  }
}

.share_sns a[target="_blank"]:not(.icn-none):after, a[href*=".pdf"]:not(.icn-none):after {
  display: none;
}

/* 印刷用 */
.print_area {
  background-color: #FFFFFF;
  max-width: 100vw;
}

.print_area canvas {
  width: 150%;
  height: auto;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  object-fit: contain;
}

.print_area_inner {
  display: grid;
  padding: 20px;
  background-color: #FFFFFF;
  grid-template-columns: auto 1fr;
  gap: 20px;
}

.print_area .print_area_left {
  width: 140px;
  overflow: hidden;
}

.print_area .heading {
  font-size: 14px;
}

.print_area .print_area_right>p {
  text-align: right;
  margin-right: 4px;
}

.print_area .print_area_right p {
  font-size: 14px;
  font-weight: 600;
}

.print_area table {
  width: 100%;
}

.print_area table thead {
  text-align: center;
  letter-spacing: 1px;
}

.print_area table tr th:nth-child(1) {
  padding: 0;
  width: 10%;
  max-width: 80px;
}

.print_area table tr td:nth-child(1) img {
  max-width: 100%;
}

.print_area table tr th:nth-child(2) {
  width: 20%;
}

.print_area table tr th:nth-child(3) {
  width: 10%;
  text-align: right;
}

.print_area table tr th:nth-child(4) {
  width: 20%;
  text-align: right;
}

.print_area table tr th:nth-child(5) {
  width: 40%;
}

.print_area table tr td {
  padding: 2px;
  font-size: 12px;
  line-height: 14px;
}

/*.print_area table tr th:nth-child(2) {*/
/*  font-size: 99px;*/
/*}*/
.print_area table th,
.print_area table td {
  border: #000 1px solid;
}

.print_area .total_price {
  display: flex;
  align-items: self-end;
  justify-content: flex-end;
  margin-top: 4px;
}

.print_area .total_price .total_price_label {
  padding: 4px 16px;
}

.print_area .total_price .total_price_area {
  padding: 4px 0;
}

.print_area .total_price_area {
  text-align: right;
  margin-left: 16px;
}

.tooltip-container {
  position: relative;
  cursor: pointer;
}

.tooltip {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  padding: 4px;
  background-color: #DDE2E6;
  color: #fff;
  font-size: 10px;
  white-space: nowrap;
  transform: translate(0, 100%);
  color: #000;
  font-weight: 900;
  z-index: 100;
}

.tooltip-container:hover .tooltip {
  display: block;
}

@media screen and (max-width: 768px) {
  .tooltip-container {
    position: inherit !important;
    cursor: initial;
  }

  .tooltip {
    display: none !important;
  }
}


