@font-face {
  font-family: "Open Sans";
  src: url(../fonts/open-sans-v40-latin-300.woff2) format("woff2");
}
@font-face {
  font-family: "Noto";
  src: url("../fonts/converted-noteosans.woff2") format("woff2");
}
:root,
:host {
  --fa-style-family-classic: "Font Awesome 6 Pro";
  --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Pro";
  --fa-style: var(--fa-font-regular);
}

@font-face {
  font-family: "Font Awesome 6 Pro";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("../fonts/fa-regular-400.woff2") format("woff2"), url("../fonts/fa-regular-400.ttf") format("truetype");
}
.far,
.fa-regular {
  font-weight: 400;
}

* {
  box-sizing: border-box;
}

body,
html {
  height: 100%;
  margin: 0;
  color: #555;
  line-height: 1.6;
  font-family: "Open Sans", Noto, sans-serif;
  overflow: hidden;
}
body > section,
html > section {
  position: relative;
  padding: 0 0 4rem;
  border-bottom: 1px solid #333;
}
body > section header h2,
html > section header h2 {
  padding-top: 4rem;
  text-align: center;
  font-size: 240%;
  margin: 0;
  text-shadow: 0 2px 10px #000, 0 2px 2px #000;
  font-family: serif;
}

body {
  background-color: #525252;
  font-size: 100%;
}

img {
  vertical-align: middle;
}

figure,
figcaption {
  margin: 0;
}

figure img {
  max-width: 100%;
}

ul,
li,
dl,
dt,
dd {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.btn {
  font-weight: bold;
  font-size: 120%;
  display: inline-block;
  text-decoration: none;
  background-color: rgba(32, 38, 74, 0.2);
  color: white;
  padding: 1rem 5rem;
  border-radius: 2px;
  border: 1px solid #20264a;
  text-shadow: 0 2px 10px #000, 0 2px 2px #000;
  transition: 0.2s;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 10px #20264a, 0 0 10px #20264a;
}

button.icon-button {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

.icon-button {
  cursor: pointer;
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 12px;
  border: 1px solid rgba(238, 238, 238, 0.2);
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
}
.icon-button .fa {
  font-size: 1.2rem;
}
.icon-button:hover {
  filter: brightness(1.2);
  opacity: 0.8;
}
.icon-button:active {
  filter: brightness(0.6);
}

.tac {
  text-align: center;
}

.notification {
  position: relative;
}
.notification .badge {
  position: absolute;
  top: -5px;
  right: -8px;
  line-height: 1;
  border-radius: 4px;
  background-color: #f00;
  color: white;
  font-weight: bold;
  text-align: center;
  padding: 4px 4px 2px;
  font-size: x-small;
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: 100dvh;
}
.container > * {
  flex: 1 0 auto;
}
.container > * {
  flex: 1 0 auto;
}

.global_header {
  background-image: linear-gradient(#00174e, #00174e);
  padding: 1.1rem 1.8rem;
  height: 60px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 2px #333;
  color: white;
}
.global_header > * {
  flex: 1 0 auto;
}
.global_header > * {
  transition: 0.2s;
}
.global_header .timer {
  vertical-align: middle;
}
.global_header .timer time {
  font-size: 1.4rem;
}
.global_header .timer .fa {
  position: relative;
  bottom: 3px;
  font-size: 90%;
}
.global_header .logo {
  text-align: center;
  line-height: 1;
}
.global_header .logo img {
  width: 200px;
}
.global_header .etc {
  text-align: right;
}
.global_header .etc > * {
  display: inline-block;
  margin-left: 1rem;
}
.global_header .header_close_btn {
  position: absolute;
  right: 6px;
  top: 6px;
  font-size: 26px;
  display: none;
}
.global_header.hide_close .timer,
.global_header.hide_close .etc {
  opacity: 0;
  visibility: hidden;
}
.global_header.hide_close .header_close_btn {
  display: inline-flex;
}

main {
  width: 100%;
  overflow: auto;
  height: calc(100vh - 60px);
  position: relative;
  scroll-behavior: smooth;
}
main .scroll-wrapper {
  display: flex;
  position: absolute;
  height: 100%;
  padding: 20px 10px;
}

.scroll-buttons {
  position: fixed;
  top: 50%;
  transform: translateY(calc(-50% - 30px));
  z-index: 2;
  width: 100%;
}
.scroll-buttons .icon-button {
  right: -8px;
  position: absolute;
  height: 6rem;
  width: 4rem;
  background-color: rgba(255, 255, 255, 0.3);
  transition: opacity 0.4s, transform 0.4s cubic-bezier(0.47, 1.64, 0.41, 0.8);
}
.scroll-buttons .icon-button[aria-hidden=true] {
  opacity: 0;
  transform: translateX(100%);
}
.scroll-buttons .icon-button.scroll-prev {
  right: auto;
  left: -8px;
}
.scroll-buttons .icon-button.scroll-prev[aria-hidden=true] {
  transform: translateX(-100%);
}

.app_panel {
  box-shadow: 0 2px 2px #333;
  width: 400px;
  box-shadow: 0px 2px 7px 0px rgba(0, 0, 0, 0.8);
  border-radius: 4px;
  background-color: #fff;
  height: 100%;
  margin: 0 10px;
  cursor: pointer;
  transition: 0.2s;
}
.app_panel:hover {
  filter: brightness(1.4);
  cursor: pointer;
}
.app_panel:active {
  filter: brightness(0.8);
  transform: scale(0.97);
}

.chart_panel {
  transition: 0.2s;
  border-radius: 4px;
}
.chart_panel:hover {
  filter: brightness(1.1);
  cursor: pointer;
}
.chart_panel:active {
  filter: brightness(0.8);
  transform: scale(0.97);
}

.chart_temp {
  background: url(../img/thumb_tenp.jpg) center no-repeat;
  background-size: cover;
}

.chart_electro_power {
  grid-row: 2;
  background: url(../img/thumb_power.jpg) center no-repeat;
  background-size: cover;
}

.app_home {
  width: 700px;
  background-image: linear-gradient(-180deg, #353a6b 0%, #181b39 100%);
  color: white;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(4, 1fr);
  grid-column-gap: 0px;
  grid-row-gap: 0px;
}
.app_home .tit {
  color: white;
  text-decoration: none;
  position: relative;
  grid-row: 1/span 2;
}
.app_home .tit .title-content {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
}
.app_home .tit .title-content .tanzanite_logo {
  min-height: 100px;
  height: 46%;
}
.app_home .tit .title-content p {
  font-size: 240%;
  margin: 0;
  text-shadow: 0 2px 10px #000, 0 2px 2px #000;
}
.app_home .params_list {
  padding: 0.8rem;
  grid-row: 3/span 2;
}
.app_home .params_list ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #fff;
  border-radius: 4px;
  height: 100%;
}
.app_home .params_list ul > * {
  flex: 1 0 auto;
}
.app_home .params_list ul li {
  text-align: center;
  border-left: 1px solid #fff;
  width: 25%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  padding: 0.4rem 0;
}
.app_home .params_list ul li:first-of-type {
  border: none;
}
.app_home .params_list ul li em {
  font-style: normal;
}
.app_home .param_icon {
  margin-bottom: 10px;
  display: block;
}
@media screen and (max-height: 520px) {
  .app_home .param_icon {
    display: none;
  }
}
.app_home .param_icon .fa {
  font-size: 240%;
  text-shadow: 0 2px 10px #000, 0 2px 2px #000;
}
.app_home .param_tit {
  font-size: 16px;
  text-shadow: 0 2px 10px #000, 0 2px 2px #000;
}
.app_home .param_value {
  font-size: 160%;
  text-shadow: 0 2px 10px #000, 0 2px 2px #000;
}
@media screen and (min-height: 520px) {
  .app_home .param_value {
    font-size: 220%;
  }
}
.app_home .param_value .unit {
  font-size: 60%;
}
.app_home .param_value img {
  height: 50px;
  position: relative;
  top: -5px;
}
@media screen and (min-height: 480px) {
  .app_home .param_value img {
    height: 40px;
  }
}
.app_home .param_data {
  font-size: 12px;
}

.tit_wrap {
  height: 100%;
  width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.tit_wrap > * {
  flex: 1 0 auto;
}
.tit_wrap::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}
.tit_wrap .tit_wrap_inner {
  z-index: 2;
  width: 80px;
  height: 80px;
  display: block;
  background: url(../img/icon_format.png) center no-repeat;
  background-size: contain;
}
.tit_wrap i {
  font-size: 180%;
  color: white;
  margin-top: 1.6rem;
}
.tit_wrap p {
  position: relative;
  top: 0.5rem;
  margin: 0;
  color: white;
  font-size: 200%;
}

.app_photo {
  background: url(../img/photo_cover.jpg) center no-repeat;
  background-size: cover;
  position: relative;
}
.app_photo #photo_viewer {
  display: block;
  width: 100%;
  height: 100%;
}

.app_video {
  background: url(../img/app_img_video.png) center no-repeat;
  background-size: cover;
}

.app_map {
  background: url(../img/thumb_map.png) center no-repeat;
  background-size: cover;
}

.app_recipe {
  background: url(../img/recipe_cover.jpg) center no-repeat;
  background-size: cover;
}

/*

app detail
*/
#id_ctrl:target {
  opacity: 1;
  transform: scale(1);
  transition: 0.2s;
}

.app_detail {
  width: 100vw;
  height: calc(100dvh - 60px);
  position: fixed;
  top: 60px;
  left: 0;
  z-index: 3;
}
.app_detail.app_home {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 1fr;
  opacity: 0;
  position: absolute;
  transform: scale(0);
  transition: 0.2s;
  padding: 1rem;
  gap: 1rem;
}
.app_detail.app_home .home_ctrl_main_side {
  grid-column: 1/span 2;
  display: grid;
  grid-template-rows: 1.4fr 1fr;
  gap: 1rem;
}
.app_detail.app_home .home_ctrl_main_side .tit {
  margin-top: 0;
  grid-row: 1;
}
.app_detail.app_home .home_ctrl_main_side .tit_inner {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  padding: 0.8rem 0.8rem 0;
}
.app_detail.app_home .home_ctrl_main_side .tit_inner > * {
  flex: 1 0 auto;
}
.app_detail.app_home .home_ctrl_chart_side {
  grid-column-start: 3;
  display: grid;
  grid-template-rows: repeat(2, 1fr);
  gap: 1rem;
}
.app_detail.app_home .ctrl_btns {
  border: 1px solid #525252;
  border-radius: 4px;
  background-color: #fff;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  padding: 0;
}
.app_detail.app_home .ctrl_btns li {
  border-right: 1px solid #525252;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #525252;
  line-height: 1;
  transition: 0.2s;
  cursor: pointer;
}
.app_detail.app_home .ctrl_btns li:nth-child(-n+4) {
  border-bottom: 1px solid #525252;
}
.app_detail.app_home .ctrl_btns li:nth-child(4n+4) {
  border-right: none;
}
.app_detail.app_home .ctrl_btns li span {
  display: block;
  padding: 0.9rem 0 0;
  line-height: 1;
  color: #20264a;
  text-align: center;
}
.app_detail.app_home .ctrl_btns li .fa {
  line-height: 1;
  display: block;
  font-size: 40px;
  text-shadow: none;
  color: #20264a;
  text-align: center;
}
.app_detail.app_home .ctrl_btns li .img_icon {
  text-align: center;
}
.app_detail.app_home .ctrl_btns li .img_icon img {
  width: 40px;
}
.app_detail.app_home .ctrl_btns li:hover {
  background-color: rgba(1, 1, 3, 0.05);
}
.app_detail.app_home .ctrl_btns li:active {
  background-color: rgba(1, 1, 3, 0.2);
}
.app_detail.app_home .ctrl_btns li:active div {
  transform: scale(0.97);
}
.app_detail.app_home .ctrl_btns li.active {
  background-color: rgba(63, 75, 145, 0.2);
}
.app_detail.app_home .params_list {
  padding: 0 !important;
  grid-row: 2;
}
.app_detail.app_home .params_list ul li em {
  font-style: normal;
}

.detail {
  width: 100vw;
  height: 100dvh;
}

.legend_bar > div {
  color: white;
}
.legend_bar > div span {
  background-color: #f5a623;
  width: 20px;
  height: 4px;
  display: inline-block;
  margin-right: 4px;
  position: relative;
  top: -4px;
}
.legend_bar .last_year span {
  background-color: #999;
}

.detail_tit {
  font-size: 60px;
  font-weight: bold;
  color: #f5a623;
  text-align: center;
}
.detail_tit span {
  font-size: 34px;
}

.temp_detail {
  position: relative;
}
.temp_detail .detail_header {
  display: block;
  padding-bottom: 0px;
  padding-top: 50px;
}
.temp_detail .detail_tit {
  font-size: 40px;
  color: #fff;
  text-align: center;
}
.temp_detail .close_btn {
  position: absolute;
  right: 20px;
  top: 36px;
  z-index: 2;
}

.close_btn {
  color: white;
  text-align: right;
}
.close_btn .fa {
  font-size: 26px;
}

.detail_header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 40px 30px 60px;
}
.detail_header > * {
  flex: 1 0 auto;
}

.detail .chart_area {
  padding: 0 0px;
  position: relative;
}
.detail .chart_area .chart_area_content {
  overflow: hidden;
  width: 680px;
  height: 250px;
  margin: auto;
  position: relative;
  animation: show_chart_animation 1.8s 0s;
}

.temp_detail {
  background-image: linear-gradient(#006a92, #003959);
}
.temp_detail .chart_area .chart_area_content {
  background: url(../img/tempchart_detail_line.png) left top no-repeat;
  background-size: 680px 248px;
}

.power_detail {
  background-image: linear-gradient(#921f00, #592200);
}
.power_detail .chart_area .chart_area_content {
  background: url(../img/powerchart_detail_line.png) left top no-repeat;
  background-size: 680px 248px;
}
.power_detail .detail_header .close-button-wrapper {
  text-align: right;
}

@keyframes show_chart_animation {
  0% {
    width: 0;
  }
  100% {
    width: 680px;
  }
}
.tooltip {
  position: absolute;
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.9);
  text-align: center;
  padding: 1rem;
  top: 0;
  font-size: 14px;
  transition: 0.2s opacity 0.4s;
  visibility: hidden;
  opacity: 0;
  white-space: nowrap;
  transform: translateX(-50%);
}
.tooltip span {
  display: inline-block;
}
.tooltip.show {
  visibility: visible;
  opacity: 1;
}

.touch12monthes {
  position: absolute;
  top: 0;
  left: 0px;
  overflow: hidden;
  width: 100%;
  height: 100%;
}
.touch12monthes li {
  float: left;
  opacity: 0;
  transition: 0.2s;
  width: 61px;
  height: 90%;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  transform: scale(1, 0.9);
  transform-origin: bottom center;
}
.touch12monthes li.active {
  opacity: 1;
  transform: scale(1, 1);
}

.temp_detail .touch12monthes {
  left: 23px;
}
.temp_detail .touch12monthes li {
  width: 79px;
}

.power_detail .touch12monthes {
  left: 5px;
}
.power_detail .touch12monthes li {
  width: 61px;
}

.detail_window {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -10;
  opacity: 0;
  transition: 0.5s 0.2s;
  transform: scale(0.8);
}
.detail_window.show {
  z-index: 10;
  opacity: 1;
  transform: scale(1);
}

.temp_info {
  color: white;
  font-size: 55px;
  text-align: center;
  padding-top: 10px;
}
.temp_info span {
  font-size: 40px;
}
.temp_info img {
  width: 30px;
  height: auto;
  vertical-align: top;
}

.photo_detail {
  background-color: #000;
}
.photo_detail .detail_header {
  padding: 0;
  align-items: center;
  margin-bottom: 1rem;
}
.photo_detail .detail_header .transition_selector {
  flex-grow: 1;
  flex-basis: 0;
}
.photo_detail .detail_header #transition_selection {
  width: 100px;
  font-size: 14px;
  font-family: "Open Sans", sans-serif;
  padding: 6px 12px;
  -moz-appearance: none;
  -webkit-appearance: none;
          appearance: none;
  border: 1px solid #404040;
  background-color: #000;
  border-radius: 4px;
  color: white;
  cursor: pointer;
  position: relative;
  transition: 0.05s;
}
.photo_detail .detail_header #transition_selection:hover {
  opacity: 0.8;
}
.photo_detail .detail_header #transition_selection:active {
  filter: brightness(0.7);
}
.photo_detail .detail_header #transition_selection::after {
  content: " ";
  color: white;
  position: absolute;
  right: 5px;
  top: 2px;
}
.photo_detail .header_close_btn {
  flex-shrink: 1;
  flex-grow: 0;
}
.photo_detail .container_detail {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100dvh;
}
.photo_detail .slider_wrapper {
  overflow: hidden;
  display: flex;
  max-width: 800px;
  margin: auto;
}

#slider {
  flex-grow: 1;
}
#slider .fluxslider {
  width: 100% !important;
}

#photo_nav {
  flex-shrink: 1;
  padding: 1rem;
}
#photo_nav .thumbnail-list {
  display: flex;
  flex-wrap: wrap;
}
@media screen and (min-width: 480px) {
  #photo_nav [role=tab] {
    width: 25%;
    aspect-ratio: 1;
  }
}
#photo_nav [role=tab] {
  display: block;
  cursor: pointer;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  padding: 0;
  border: none;
  position: relative;
  transition: all 0.6s;
  transition: 0.05s;
}
#photo_nav [role=tab] img {
  width: 100%;
  aspect-ratio: 1;
}
#photo_nav [role=tab]:hover {
  filter: brightness(1.2);
}
#photo_nav [role=tab]:active {
  filter: brightness(0.7);
}
#photo_nav [role=tab][aria-selected=true] {
  outline: 4px solid #fff;
  z-index: 1;
  transform: scale(0.95);
}

.video_app_content .video_detail {
  background-color: #111;
}
.video_app_content .video_detail #video_nav {
  overflow: hidden;
  height: calc(100% - 60px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  grid-column-gap: 8px;
  grid-row-gap: 8px;
}
.video_app_content .video_detail #video_nav .thumb_video {
  position: relative;
  cursor: pointer;
  transition: 0.05s;
}
.video_app_content .video_detail #video_nav .thumb_video:hover {
  filter: brightness(1.2);
}
.video_app_content .video_detail #video_nav .thumb_video:active {
  filter: brightness(0.7);
}
.video_app_content .video_detail #video_nav .thumb_video img {
  width: 100%;
  height: 100%;
  opacity: 0.5;
  -o-object-fit: cover;
     object-fit: cover;
}
.video_app_content .video_detail #video_nav .thumb_video .video_tit {
  position: absolute;
  bottom: 0;
  padding: 0.4rem;
  color: white;
}
.video_app_content .video_detail #video_nav .thumb_video::after {
  position: absolute;
  left: 50%;
  top: 50%;
  content: "\f144";
  font-family: "Font Awesome 6 Pro";
  font-weight: normal;
  font-style: normal;
  display: inline-block;
  color: rgba(255, 255, 255, 0.5);
  font-size: 40px;
  line-height: 0;
  margin-left: -20px;
}
.video_app_content .video_detail header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 60px;
  background-image: linear-gradient(#00174e, #00174e);
  padding-right: 6px;
}
.video_app_content .video_detail header > * {
  flex: 1 0 auto;
}
.video_app_content .video_detail .header_close_btn {
  flex-grow: 0;
}
.video_app_content .video_play_window {
  background-color: #000;
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  transition: 0.2s;
  transform: scale(0);
}
.video_app_content .video_play_window .video_play_window_inner {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.video_app_content .video_play_window .video_play_window_inner > * {
  flex: 1 0 auto;
}
.video_app_content .video_play_window .video_play_window_inner video {
  width: 100%;
  height: auto;
}
.video_app_content .video_play_window .detail_close_btn {
  position: absolute;
  right: 1rem;
  top: 1rem;
  z-index: 2;
  color: white;
  text-shadow: 0 0 2px #000, 0 0 10px #000;
}
.video_app_content.playing .video_play_window {
  transform: scale(1);
}