@charset "utf-8";
/* CSS Document */

#tss_action{
  background-color: #ECECEC;
  position: relative;
  margin-bottom: calc(132px - 1vw);
  padding-bottom: 24px;
}

.tss_actionmore{
  display:flex;
  gap: 8px 14px;
  justify-content: flex-end;
  padding:0 2vw 0 1em;
  width:100%;
}

.tss_txt_areaselect{
  position:absolute;
  top:-1em;
  font-size:0.875em;
}

.tss_disaster_lvbox{
  width:100%;
  padding:0 7vw 8px;
  font-size: 1rem;
  margin:auto;
  display:flex;
  justify-content: flex-end;
}

.tss_disaster_lvbox > p{
  font-weight:bold;
  padding-bottom:6px;
  text-align:center;
  width:13em;
  font-size:0.875em;
}

.tss_disaster_lvbox > p:first-of-type{
  width:20em;
  padding:0 1.5em 0 3em;
}
.tss_disaster_lvbox > p:first-of-type a{
  display: block;
  line-height: 1;
  padding: 0.65em 1em 0.5em;
  text-align: center;
  font-size: 0.875rem;
  font-weight: bold;
  color: #333333;
  border-radius: 20px;
  background-color: #FFFFFF;
  border: 1px solid #8A8A8A;
}

.tss_disaster_lvbox > p span{
  font-size:0.75em;
  font-weight:normal;
  display:block;
  text-align:right;
}
.tss_disaster_lvbox > p:first-of-type span{
  display:inline;
  font-weight:bold;
}

.tss_disaster_lvbox ul{
  display:flex;
  justify-content:center;
  width:52%;
  padding-left:16px;
}

.tss_disaster_lvbox ul li{
  width:fit-content;
}
.tss_disaster_lvbox ul li img{
  width:100%;
}

.tss_disaster_lv5{
  display:flex;
  position:relative;
}

.tss_disaster_lv5::after{
  white-space: pre;
  content:"災害危険度\A【高】";
  position:absolute;
  top: 50%;
  right: -5.5em;
  transform: translateY(-50%);
  font-weight:bold;
  font-size:0.75em;
  text-align:center;
}

.tss_disaster_risk{
  text-align: center;
  font-size: 0.875rem;
  margin-top: -1.25em;
  padding-bottom: 0.5em;
  pointer-events: none;
}

#tss_action .tss_more {
  right: 0;
  top: 0;
  margin: 0;
}

#tss_action .tss_actionmore .tss_more a{
  border:none;
  background-color:transparent;
  padding:0.75em 0.5em 0.5em;
  text-decoration:underline;
}

.tss_actionmore .tss_more a img{
  margin:0 0 0.125em 4px;
  height: 0.875em;
}

#tss_action .tss_1colmWrap{
  display:block;
}

.tss_preparecontainer{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width:100%;
  gap: 1vw;
}

.tss_preparecontainer .tss_videoBox{
  width: 24%;
  
}

.tss_preparecontainer .tss_videoBox:nth-of-type(n+5) {
  display: none;
}

.tss_wpprepare{
  padding-top:16px;
}

.tss_ttlprepare{
  color:#666;
  text-align:center;
  font-size:1.25em;
  font-weight:bold;
  padding:0.5em 0;
}

#tss_action .tss_videowrap{
  margin-bottom:20px;
}

#tss_action .tss_wpprepare .tss_more {
  margin-left:auto;
  position:relative;
}

@media screen and (min-width:801px) {
  #tss_action .tss_actionmore .tss_more a:hover{
    opacity:1;
    text-decoration:none;
  }
}

@media screen and (max-width:800px) {
  .tss_txt_areaselect{font-size:0.75em;}
  .tss_disaster_lvbox{display:block;}
  .tss_disaster_lvbox > p{
    text-align:left;
    font-size: 0.875em;
    width:100%;
   }
  .tss_disaster_lvbox ul{
    width:80%;
    padding-left:0;
  }
  .tss_actionmore{
    display:block;
    padding-top:8px;
    width: 100%;
  }
  .tss_disaster_lvbox > p span{
    display:inline-block;
    padding-left:1em;
  }
  .tss_disaster_lvbox > p:first-of-type{
    padding-bottom:16px;
  }
  .tss_ttlprepare{font-size: 1em;}
  #tss_action .tss_more{
    margin-left:auto;
  }
  
  .tss_preparecontainer .tss_videoBox{
    width:49%;
    margin: 0 0 2vw;
  }

  
}
.portal-wrap{padding-bottom:6px;}
/* START TOOLTIP STYLES */
[tooltip] {
  position: relative; /* opinion 1 */
}

/* Applies to all tooltips */
[tooltip]::before,
[tooltip]::after {
  text-transform: none; /* opinion 2 */
  font-size: .9em; /* opinion 3 */
  line-height: 1;
  user-select: none;
  pointer-events: none;
  position: absolute;
  display: none;
  opacity: 0;
}
[tooltip]::before {
  content: '';
  border: 5px solid transparent; /* opinion 4 */
  z-index: 1001; /* absurdity 1 */
}
[tooltip]::after {
  content: attr(tooltip); /* magic! */
  
  /* most of the rest of this is opinion */
  font-family: Helvetica, sans-serif;
  
  /* 
    Let the content set the size of the tooltips 
    but this will also keep them from being obnoxious
    */
  width: 24em;
  padding: 1ch 1.5ch;
  border-radius: .3ch;
  box-shadow: 0 1em 2em -.5em rgba(0, 0, 0, 0.35);
  background: #333;
  color: #fff;
  z-index: 1000; /* absurdity 2 */
  line-height:1.375;
}

/* Make the tooltips respond to hover */
[tooltip]:hover::before,
[tooltip]:hover::after {
  display: block;
}

/* don't show empty tooltips */
[tooltip='']::before,
[tooltip='']::after {
  display: none !important;
}

/* FLOW: UP */
[tooltip]:not([flow])::before,
[tooltip][flow^="up"]::before {
  bottom: 100%;
  border-bottom-width: 0;
  border-top-color: #333;
}
[tooltip]:not([flow])::after,
[tooltip][flow^="up"]::after {
  bottom: calc(100% + 5px);
}
[tooltip]:not([flow])::before,
[tooltip]:not([flow])::after,
[tooltip][flow^="up"]::before,
[tooltip][flow^="up"]::after {
  left: 70%;
  transform: translate(-50%, -.5em);
}

/* KEYFRAMES */
@keyframes tooltips-vert {
  to {
    opacity: .9;
    transform: translate(-50%, 0);
  }
}

@keyframes tooltips-horz {
  to {
    opacity: .9;
    transform: translate(0, -50%);
  }
}

/* FX All The Things */ 
[tooltip]:not([flow]):hover::before,
[tooltip]:not([flow]):hover::after,
[tooltip][flow^="up"]:hover::before,
[tooltip][flow^="up"]:hover::after,
[tooltip][flow^="down"]:hover::before,
[tooltip][flow^="down"]:hover::after {
  animation: tooltips-vert 300ms ease-out forwards;
}

[tooltip][flow^="left"]:hover::before,
[tooltip][flow^="left"]:hover::after,
[tooltip][flow^="right"]:hover::before,
[tooltip][flow^="right"]:hover::after {
  animation: tooltips-horz 300ms ease-out forwards;
}


@media screen and (max-width:800px) {
  [tooltip]::after {
    width: 10em;
    font-size:0.75rem;
  }
  .tss_disaster_lv2 [tooltip]::after{width:16em;}
  .tss_disaster_lv3 [tooltip]::after{width:24em;}
  .tss_disaster_lv4 [tooltip]::after{width:24em;}
  .tss_disaster_lv5 [tooltip]::after{width:24em;}
  
  .tss_disaster_lv1 [tooltip]:not([flow])::after{left:16vw;}
  .tss_disaster_lv2 [tooltip]:not([flow])::after{left:16vw;}
  .tss_disaster_lv3 [tooltip]:not([flow])::after{left:16vw;}
  .tss_disaster_lv4 [tooltip]:not([flow])::after{left:8vw;}
  .tss_disaster_lv5 [tooltip]:not([flow])::after{
    right:0;
    left:4vw;
  }

select {
  color: #000;
}