@charset "UTF-8";
.second-tab-list.center {
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

canvas#databook_chart {
  background-color: #ffffff;
}

.green-frame-area {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  border: 4px solid #41b6a7;
  padding: 3%;
}
.green-frame-area .third-tab-area {
  display: none;
}
.green-frame-area .third-tab-area .active {
  display: block;
}
.green-frame-area .question-area {
  background-color: #f8f8f8;
  padding: 4px;
  display: none;
}
.green-frame-area .question-area #hairsalon {
  display: block;
}
.green-frame-area .question-area li {
  cursor: pointer;
}
.green-frame-area select.third-tab-list {
  display: none;
}
.green-frame-area ul.third-tab-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  border: 1px solid #41b6a7;
  border-radius: 4px;
  margin-bottom: 18px;
  cursor: pointer;
}
.green-frame-area ul.third-tab-list li {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  font-size: 14px;
  line-height: 20px;
  padding: 8px 2px;
  text-align: center;
  color: #666666;
  transition: all 0.5s ease;
}

.green-frame-area ul.third-tab-list li.active, .green-frame-area ul.third-tab-list li:hover {
  color: #fff;
  background: #41b6a7;
  font-weight: bold;
}
.green-frame-area ul.third-tab-list li.esthetic {
  font-size: 11px;
}
.green-frame-area ul.third-tab-list li.esthetic:first-child {
  border-right: 0.5px solid #41b6a7;
}
.green-frame-area ul.third-tab-list li.esthetic:last-child {
  border-left: 0.5px solid #41b6a7;
}
.green-frame-area ul.third-tab-list li.prefesthetic:first-child {
  font-size: 11px;
  padding: 5px 2px;
  line-height: 1.1;
}
.green-frame-area ul.third-tab-list li.prefesthetic:last-child {
  font-size: 12px;
  padding: 7px 2px;
}
.green-frame-area ul.third-tab-list li.fitness {
  font-size: 13px;
}
.green-frame-area ul.third-tab-list li.eachcosme {
  font-size: 13px;
}
.green-frame-area ul.third-tab-list li.eachcosme:first-child {
  border-right: 0.5px solid #41b6a7;
}
.green-frame-area ul.third-tab-list li.eachcosme:last-child {
  border-left: 0.5px solid #41b6a7;
}
.green-frame-area .question-list {
  opacity: 0;
  visibility: hidden;
  height: 0;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}
.green-frame-area .question-list.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  height: auto;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  z-index: 1;
}
.green-frame-area .question-list > li {
  font-size: 16px;
  color: #666666;
}
.green-frame-area .question-list > li.active {
  color: #222222;
}
.green-frame-area .question-list > li.active > ul {
  opacity: 1;
  visibility: visible;
  height: auto;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}
.green-frame-area .question-list > li.active:before {
  -webkit-transform: rotate(135deg);
          transform: rotate(135deg);
}
.green-frame-area .question-list > li + li {
  margin-top: 12px;
}
.green-frame-area .question-list > li:before {
  content: "";
  display: inline-block;
  margin-right: 8px;
  margin-bottom: 2px;
  width: 8px;
  height: 8px;
  border-top: 1px solid #222222;
  border-right: 1px solid #222222;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}
.green-frame-area .question-list > li > ul {
  position: relative;
  z-index: 1;
  opacity: 0;
  visibility: hidden;
  height: 0;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  margin-left: 1rem;
}
.green-frame-area .question-list > li > ul li {
  font-size: 14px;
  font-weight: normal;
  color: #666666;
  margin-top: 8px;
}
.green-frame-area .question-list > li > ul li.active {
  color: #222222;
  font-weight: bold;
}
.green-frame-left-area {
  width: 220px;
}
.green-frame-area .green-frame-right-area {
  width: 73%;
}
.green-frame-area .switch-btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 12px;
}
.green-frame-area .switch-btn ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.green-frame-area .switch-btn ul + ul {
  margin-left: 20px;
}
.green-frame-area .switch-btn ul li {
  -webkit-box-flex: 1;
  font-size: 14px;
  line-height: 20px;
  padding: 8px 20px;
  word-break: keep-all;
  cursor: pointer;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  font-weight: normal;
}
.green-frame-area .switch-btn ul li.choice {
  font-weight: bold;
}
.green-frame-area .switch-btn select.switch-btn__gender {
  display: none;
}
.green-frame-area .switch-btn ul.switch-btn__gender li:nth-child(1) {
  color: #e84885;
  border: 1px solid #e84885;
  border-radius: 10px 0 0 10px;
}
.green-frame-area .switch-btn ul.switch-btn__gender li:nth-child(2) {
  border: 1px solid #4fc3ef;
  color: #4fc3ef;
  border-radius: 0 10px 10px 0;
}
.green-frame-area .switch-btn ul.switch-btn__gender li.choice:nth-child(1) {
  color: #fff;
  background: #e84885;
}
.green-frame-area .switch-btn ul.switch-btn__gender li.choice:nth-child(2) {
  color: #fff;
  background: #4fc3ef;
}
.green-frame-area .switch-btn .gender-btn-female.pc-only {
  width: 140px;
  height: 38px;
  color: #fff;
  background: #e84885;
  border: 1px solid #e84885;
  border-radius: 10px;
  cursor: default;
  font-weight: bold;
  display: none;
}
.green-frame-area .switch-btn .gender-btn-male.pc-only {
  width: 140px;
  height: 38px;
  color: #fff;
  background: #4fc3ef;
  border: 1px solid #4fc3ef;
  border-radius: 10px;
  cursor: default;
  font-weight: bold;
  display: none;
}
.green-frame-area .switch-btn .gender-btn-pref.pc-only {
  width: 140px;
  height: 38px;
  color: #fff;
  background: #e84885;
  border: 1px solid #e84885;
  border-radius: 10px;
  cursor: default;
  font-weight: bold;
  margin-bottom: 24px;
  display: none;
}
.green-frame-area .pref-pulldown {
  display: none;
  padding: 8px 16px;
  font-size: 18px;
  color: #666666;
  border-radius: 10px;
  background-color: #f7f9fb;
  border: solid 1px #c4cacf;
  box-shadow: 0 3px 3px -2px rgba(3, 29, 41, 0.15);
}
.green-frame-area #map-chart-switch-area {
  display: none;
  margin-right: auto;
  margin-left: 24px;
  height: 62px;
}
.green-frame-area #map-chart-switch-link {
  font-size: 12px;
  text-decoration: underline;
  cursor: pointer;
  text-align: center;
}
.green-frame-area #map-chart-switch-btn {
  width: 160px;
  height: 38px;
  color: #fff;
  background-color: #666666;
  border: 1px solid #666666;
  border-radius: 10px;
  cursor: default;
  font-weight: bold;
  margin-bottom: 3px;
}
.mobile-age-category-dropdown {
  display: none;
}
.switch-btn__pref {
  display: none;
  margin-top: auto;
  margin-left: 20px;
  margin-bottom: 24px;
}
.switch-btn__pref li {
  border: 1px solid #666666;
  color: #666666;
}
.switch-btn__pref li:nth-child(1) {
  border-radius: 10px 0 0 10px;
}
.switch-btn__pref li:nth-child(2) {
  border-radius: 0 10px 10px 0;
}
.switch-btn__pref li.choice {
  color: #fff;
  background: #666666;
}
.search-databook_chart #chart-title {
  font-size: 18px;
  text-align: center;
  font-weight: bold;
  text-decoration: underline;
  color: #666666;
}
.search-databook_chart-footnote p {
  color: #666666;
  font-size: 12px;
  display: none;
}
.search-databook_chart-footnote p.active {
  display: block;
}
.multi-answer-item-area {
  margin-top: 24px;
  margin-bottom: 24px;
}
.multi-answer-item-area ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -webkit-box-align: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
.multi-answer-item-area ul li {
  width: 25%;
  text-align: center;
  color: #222222;
  cursor: pointer;
  border: 1px solid #666666;
  font-size: 14px;
  font-weight: normal;
  color: #666666;
  padding: 4px;
}
.multi-answer-item-area ul li.choice {
  color: #fff;
  background: #41b6a7;
}

/* 前年比の装飾 */
.green-frame-area .last_year_value {
  text-align: right;
  font-size: 18px;
  font-weight: bold;
}


/* 矢印のcss参考 https://moru-web.com/?p=114 https://moru-web.com/?p=118 */
/* 長方形 */
.green-frame-area .last_year_value .arrow {
  font-size: 12px;
  position: relative;
  display: inline-block;
  width: 0.6em;
  height: 1em;
  margin-left: 3px;
}

/* 三角 */
.green-frame-area .last_year_value .arrow::before {
  position: absolute;
  left: -0.5em;
  width: 0;
  height: 0;
  content: "";
  border-left: 0.8em solid transparent;
  border-right: 0.8em solid transparent;
}

.green-frame-area .last_year_value .up .arrow::before {
  top: -0.6em;
  border-bottom: 0.8em solid;
}

.green-frame-area .last_year_value .down .arrow::before {
  top: 0.8em;
  border-top: 0.8em solid;
}

/* 概要／詳細の表示切り替えリンク */
.search-databook_chart .overview-detail-link {
  text-align: right;
  color: #333333;
  display: none;
  text-decoration: underline;
  font-size: 12px;
  cursor: pointer;
}

.search-databook_chart .overview-detail-link img {
  margin-right: 3px;
}

.search-databook_chart ,.overview-detail-link.below {
  margin-bottom: 10px;
}

#url-copy-button-wrapper {
  margin-left: auto;
}

#url-copy-button {
  font-size: 14px;
  background: #fff;
  color: #41b6a7;
  font-weight: bold;
  padding: 2.5px 6px;
  border: 2.5px solid #41b6a7;
  border-radius: 5px;
  cursor: pointer;
}

#url-copy-button:hover {
  color: #fff;
  background: #41b6a7;
  font-weight: bold;
}

#url-copy-button.copied {
  font-weight: normal;
  border: none;
  color: #333333;
  cursor: default;
}

#url-copy-button.copied:hover {
  background: #fff;
  color: #333333;
  cursor: default;
}

/* 時系列x年代別の集計表 */
#summary-table-details {
  color: #333333;
  max-width: 100%;
}

#summary-table-details summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

#summary-table-details summary .summary-custom-icon {
  font-size: 12px;
  display: inline-block;
  margin-right: 5px;
  transform: rotate(270deg);
}

#summary-table-details[open] summary .summary-custom-icon {
  transform: rotate(0deg);
}

#summary-table-details .summary-table-unit-note {
  text-align: right;
}

.summary-table {
  overflow-x: scroll;
  overflow-y: scroll;
  max-height: 300px;
}

.summary-table table td {
  min-width: 100px;
  text-align: center;
  padding-right: 10px;
  padding-left: 10px;
}

#summary-table-copy-button {
  font-size: 13px;
  margin: 0px 8px;
}

.pc-age-category-dropdown {
  position: relative;
  width: 180px;
  height: 38px;
  border: 1px solid #666666;
  background-color: #fff;
  cursor: default;
  margin-left: 20px;
  border-radius: 10px;
  display: flex;
  align-items: center; /* 縦方向の中央寄せ */
  padding-right: 10px; /* 右側の三角形のスペースのためのパディング */
  justify-content: space-between; /* コンテンツ間のスペースの最大化 */
}

.pc-age-category-dropdown__icon--triangle-down {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 7px solid #666666; /* 三角形の色 */
  align-self: center; /* 縦方向の中央寄せ */
}

.pc-age-category-dropdown__label,
.pc-age-category-dropdown__option {
  font-size: 14px;
  font-weight: bold;
  text-align: left; /* テキストを左寄せにする */
  padding-left: 10px; /* 左側に少しパディングを追加 */
}

.pc-age-category-dropdown__label {
  padding: 8px 10px 6px;
  color: #666666;
}

.pc-age-category-dropdown__options {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  border: 0.667px solid #666666;
  background-color: #fff;
  width: 100%;
  z-index: 100;
  top: calc(100% + 0.667px);
  border-radius: 5px; /* プルダウン全体に丸みをつける */
  overflow: hidden; /* 子要素のborder-radiusが親のborderを超えないように */
}

.pc-age-category-dropdown__option {
  padding: 10px;
  color: #666666;
  cursor: pointer;
  border-top: 0.667px solid #e0e0e0; /* 上部に罫線を追加 */
}

.pc-age-category-dropdown__option:hover {
  background-color: #666666; /* ホバー時の背景色 */
  color: #fff; /* ホバー時の文字色 */
}

.pc-age-category-dropdown__option:first-child {
  border-top: none; /* 最初の要素の上部罫線を削除 */
}

.pc-age-category-dropdown:hover .pc-age-category-dropdown__options {
  display: block;
}

.pc-age-category-dropdown__category {
  padding-left: 10px;
  font-weight: 600;
  background-color: #fff;
  color: #a3a3a3;
  pointer-events: none;
}

.pc-age-category-dropdown__subcategory {
  padding-left: 20px;
}

/* in-between */
@media (max-width: 900px) and (min-width: 500px) {
  #map-chart-switch-area {
    margin-left: 6px;
  }
  .green-frame-area #map-chart-switch-btn {
    width: 16vw;
  }
  .green-frame-area .switch-btn .gender-btn-pref.pc-only {
    font-size: 12px;
    width: 16vw;
  }
  .green-frame-area .switch-btn ul + ul {
    margin-left: 6px;
  }
  .green-frame-area .switch-btn ul li {
    padding: 8px 2vw;
  }
  .green-frame-area #map-chart-switch-link {
    font-size: 11px;
  }
  .green-frame-area #map-chart-switch-link span {
    display: none;
  }
  .green-frame-area .last_year_value {
    font-size: 2vw;
  }
  .green-frame-area .last_year_value .arrow {
    font-size: 1.5vw;
  }
  .green-frame-area ul.third-tab-list li {
    font-size: 1.6vw;
  }
  .green-frame-area .switch-btn ul li {
    font-size: 1.6vw;
  }
  .green-frame-area .question-list > li {
    font-size: 1.8vw;
  }
  .green-frame-area .question-list > li > ul li {
    font-size: 1.4vw;
  }
}

/* sp版 */
@media screen and (max-width: 499px) {
  .green-frame-area .question-area {
    background-color: #ffffff;
  }
  .green-frame-area ul.third-tab-list {
    display: none;
  }
  .green-frame-area select.third-tab-list {
    display: flex;
  }
  .green-frame-area .switch-btn ul.switch-btn__gender {
    display: none;
  }
  .green-frame-area .switch-btn select.switch-btn__gender {
    display: flex;
  }
  .mobile-age-category-dropdown {
    display: flex;
  }
  .green-frame-area select.sp-pulldown {
    width: 25%;
    height: 29px;
    margin: 4px 5px 12px 3px;
    padding: 7px 3px;
    font-size: 11px;
    color: #666666;
    border-radius: 4px;
    background-color: #f7f9fb;
    border: solid 1px #666666;
    box-shadow: 0 3px 3px -2px rgba(3, 29, 41, 0.15);
  }
  .green-frame-area select.third-tab-list {
    width: 25%;
  }
  .databook-area .second-tab-list li:last-child {
    border-top: 1px solid #41b6a7;
    border-left: none;
    border-bottom-left-radius: 0;
    border-top-right-radius: 4px;
  }
  .databook-area .second-tab-list .pc-only {
    display: none;
  }
  .green-frame-area {
    display: block;
    margin-bottom: 5%;
    padding: 2%;
  }
  .green-frame-area .w25 {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 9;
  }
  .green-frame-area .third-tab-list {
    margin-bottom: 3px;
  }
  .green-frame-area .third-tab-list li {
    font-size: 12px;
  }
  .green-frame-area .question-menu {
    display: none;
  }
  .green-frame-area .question-menu__inner {
    position: absolute;
    top: 12vh;
    left: 5%;
    height: 70vh;
    width: 90%;
    overflow-y: scroll;
    background: #fff;
    padding: 20px;
    z-index: 2;
  }
  .green-frame-area .question-menu__inner h4 {
    font-size: 20px;
    text-align: center;
    border-bottom: 1px solid #222222;
    margin-bottom: 24px;
  }
  .green-frame-area .question-menu__inner p {
    font-size: 16px;
    font-weight: normal;
    color: #666666;
    margin-top: 12px;
  }
  .green-frame-area .question-menu__inner p.active:before {
    color: #222222;
    -webkit-transform: rotate(135deg);
            transform: rotate(135deg);
  }
  .green-frame-area .question-menu__inner p:before {
    content: "";
    display: inline-block;
    margin-right: 8px;
    margin-bottom: 2px;
    width: 8px;
    height: 8px;
    border-top: 1px solid #222222;
    border-right: 1px solid #222222;
    -webkit-transform: rotate(45deg);
            transform: rotate(45deg);
  }
  .green-frame-area .question-menu__inner .question-area p {
    margin-bottom: 12px;
  }
  .green-frame-area .question-menu__inner .question-area ul {
    margin-left: 2rem;
  }
  .green-frame-area .question-menu__close {
    position: absolute;
    top: 24px;
    right: 20px;
    width: 26px;
    height: 22px;
    cursor: pointer;
  }
  .green-frame-area .question-menu__close:before, .green-frame-area .question-menu__close:after {
    content: "";
    display: block;
    width: 28px;
    height: 2px;
    background: #222222;
    position: absolute;
    top: 10px;
  }
  .green-frame-area .question-menu__close:before {
    -webkit-transform: rotate(45deg);
            transform: rotate(45deg);
  }
  .green-frame-area .question-menu__close:after {
    -webkit-transform: rotate(-45deg);
            transform: rotate(-45deg);
  }
  .green-frame-area .question-menu__overlay {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
  }
  .green-frame-left-area {
    width: auto;
  }
  .green-frame-area .green-frame-right-area {
    width: 100%;
  }
  .green-frame-area .switch-btn {
    margin-left: auto;
    padding-left: 4px;
    margin-bottom: 10px;
    height: 59px;
  }
  .green-frame-area .switch-btn ul + ul {
    margin-left: 5px;
    margin-right: 4px;
    margin-top: 12px;
  }
  .green-frame-area .switch-btn ul li {
    font-size: 12px;
    line-height: 14px;
    padding: 6px 10px;
  }
  .green-frame-area .last_year_value {
    display: none;
  }
  .green-frame-area .switch-btn button {
    display: inline-block;
    background: none;
    border: none;
    color: #222222;
    font-size: 10px;
    line-height: 1.6;
  }
  .green-frame-area .switch-btn button#modal {
    padding-left: 0px;
  }
  /* .green-frame-area .switch-btn button:nth-child(1) {
    padding-top: 23px;
    background: url(../img/back.svg) no-repeat;
    background-position: top center;
    background-size: 20px;
  } */
  .green-frame-area .switch-btn button i {
    font-size: 20px;
  }
  .green-frame-area .switch-btn .sp_only {
    margin-left: auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .search-databook_chart #chart-title {
    font-size: 14px;
  }
  .multi-answer-item-area ul li {
    width: 33%;
    font-size: 10px;
    padding: 4px 1px;
  }
  .green-frame-area #map-chart-switch-area {
    margin-left: 2px;
    margin-top: 12px;
    height: 49px;
  }
  .green-frame-area #map-chart-switch-link {
    font-size: 11px;
    text-decoration: underline;
    cursor: pointer;
    text-align: center;
  }
  .green-frame-area #map-chart-switch-btn {
    width: 75px;
    height: auto;
    font-size: 12px;
    line-height: 14px;
    padding: 6px;
  }
  .switch-btn__pref {
    margin-bottom: 21px;
  }
  .overview-detail-link.above {
    margin-bottom: 3px;
  }
  .pc-age-category-dropdown {
    display: none;
  }

  #summary-table-details summary {
    display: list-item;
  }

  #summary-table-details summary .summary-custom-icon {
    display: none;
  }

  #summary-table-copy-button {
    font-size: 11px;
    margin: 0px 2px;
  }

  #url-copy-button {
    font-size: 11px;
  }
}