/*【「1dp」を「px」に変換したの場合の例】*/
@media screen and (-webkit-min-device-pixel-ratio: 3.0) {
  :root {
    /* ピクセル密度2.0以上 =【xxdpi（超超高解像度）】の指定 */
    --dp: 3px;
  }
  :root.android {
    --vh: calc(100vh - var(--dp)*8 - var(--dp)*16 - 48px - 56px);
  }
}
@media screen and (-webkit-max-device-pixel-ratio: 2.0) {
  :root {
    /* ピクセル密度2.0以下 =【xdpi（超高解像度）】の指定 */
    --dp: 2px;
  }
  :root.android {
    --vh: calc(100vh - var(--dp)*12 - var(--dp)*24 - 48px - 56px);
  }
}
@media screen and (-webkit-max-device-pixel-ratio: 1.5) {
  :root {
    /* ピクセル密度1.5以下 =【hdpi（高解像度）】の指定 */
    --dp: 1.5px;
  }
  :root.android {
    --vh: calc(100vh - var(--dp)*16 - var(--dp)*32 - 48px - 56px);
  }
}
@media screen and (-webkit-max-device-pixel-ratio: 1.0) {
  :root {
    /* ピクセル密度1.0以下 =【mdpi（中解像度）】の指定 */
    --dp: 1px;
  }
  :root.android {
    --vh: calc(100vh - var(--dp)*24 - var(--dp)*48 - 48px - 56px);
  }
}
@media screen and (-webkit-max-device-pixel-ratio: 0.75) {
  :root {
    /* ピクセル密度0.75以下 =【ldpi（低解像度）】の指定 */
    --dp: .75px;
  }
  :root.android {
    --vh: calc(100vh - var(--dp)*32 - var(--dp)*64 - 48px - 56px);
  }
}

:root.ios {
  --vh: calc(100vh - 20pt - 44pt - 48px - 56px);
}

:root.android {
  --vh: calc(100vh - 72px - 48px - 56px);
}

@media screen and (display-mode: standalone) {
  :root.sp.android {
    --vh: calc(100vh - 72px -48px);
  }
}

:root {
  --mask: #2296f3;
}

@font-face {
  font-family: 'Material Icons';
  font-display: swap;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
	height: 100%;
	overflow-y: scroll;
}

html {
  -ms-touch-action: manipulation;
  touch-action: manipulation;
}

body {
	color: #666;
	font-size: 9.5pt;
  font-family: 'Roboto','Helvetica','Arial',sans-serif;
  /*text-align: center;*/
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  max-width: 100%;
  min-height: 100vh;
  padding: 0;
  margin: 0;
}

@media (max-width: 700px) and (orientation: portrait) {
  .tb body {
    font-size: 7.8pt;
  }
}

@media (max-width: 375px) and (orientation: portrait) {
  .sp body {
    font-size: 7.8pt;
  }
}

body {
    animation: fadeIn 2s ease 0s 1 normal;
    -webkit-animation: fadeIn 2s ease 0s 1 normal;
}

@keyframes fadeIn {
    0% {opacity: 0}
    100% {opacity: 1}
}

@-webkit-keyframes fadeIn {
    0% {opacity: 0}
    100% {opacity: 1}
}

header {
  width: 100%;
}

ul.navbar {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #2196F3;
}

ul.navbar > li > a {
  float: left;
  display: block;
  color: white;
  text-align: center;
  padding: 14px 16px;
}

article {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: normal;
  flex-wrap: wrap;
  width: 100%;
  /*padding: 56px 8px 130px;*/
  box-sizing: border-box;
}

.fullpage article {
  display: block;
  /*padding: 0 8px;*/
}

article section {
  margin: 0 0 15px 0;
}

section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

/* Above the hold (First View) */
.sp .ath,
.tb .ath {
  min-height: 100vh;
}

#sharebar {
  background-color: #2296f3;
  background-color: #fff;
  text-align: center;
  display: flex;
  align-content: center;
  justify-content: center;
  /*justify-content: space-evenly;*/
  align-items: center;
  width: 100%;
  height: 100%;
  padding-bottom:80px;
  position: fixed;
  bottom: -100%;
  z-index: 1000;
  transform: translate3d(0, 0, 0);
  /*transition: bottom .2s cubic-bezier(0, 0.64, 0.14, 1.32);*/
  transition: bottom .2s ease-in-out .3s;
}

#sharebar.show {
  bottom: 0;
  transition: bottom .2s ease-in-out;
}

#sharebar .wrapper {
  /*
  display: flex;
  align-content: center;
  justify-content: center;
  align-items: center;
  */
  position: relative;
}

#sharebar .wrapper.filter::before {
  content: ' ';
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 200;
}

@media (orientation: portrait) {
  #sharebar .snsBtn {
    display: block;
  }
  
  #sharebar .snsBtn:first-child {
    margin-top: 32px;
  }
  
  #sharebar .snsBtn:not(:last-child) {
    margin-bottom: 32px;
  }
}

@media (orientation: landscape) {
  #sharebar .wrapper {
    display: inline-block;
  }
  
  #sharebar .snsBtn:not(:last-child) {
    margin-right: 32px;
  }
}

#sharebar .snsBtn {
  color: #fff;
  font-size: 1.2rem;
  line-height: 2;
  text-decoration: none;
  width: 10em;
  height: 3em;
  padding: .5em 1em;
  border: solid 0 #fff;
  box-shadow: inset 0 0 30px rgba(255,255,255,0);
  outline: 2px solid;
  outline-color: rgba(255,255,255,1);
  outline-offset: 0;
  transition: all 1s cubic-bezier(0.19,1,.22,1);
  position: relative;
  transform: scale(1);
}

#sharebar .snsBtn.active {
  color: #000;
  border: solid 2px #fff;
  box-shadow: inset 0 0 20px rgba(255,255,255,.5), 0 0 30px rgba(255,255,255,.2);
  outline-color: rgba(255,255,255,0);
  outline-offset: 30px;
  z-index: 100;
}

#sharebar .snsBtn.fadeout {
  transform: scale(0);
}

#sharebar .social-icon {
  color: #2296F8;
  min-width: 32px;
  min-height: 32px;
  position: absolute;
  top: 16px;
  left: 16px;
}

#sharebar .addBtn {
  color: #2296F8;
  font-size: 96px;
  background-color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform .1s ease-in-out;
  opacity: 1;
}

#sharebar .wrapper .addBtn.active {
  transform: translate(-50%, -50%) scale(1);
  transition: transform .5s ease-in-out .5s;
}

#sharebar .inner {
  background-color: #2296f3;
  width: 0;
  height: 0;
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: -1;
  border-radius: 50%;
  transform: translate(50%, 50%);
}

#sharebar #ityped {
  font-size: 48px;
}

header.mdc-bottom-app-bar #snsCloseBtn {
  z-index: 1000;
}

a {
  font-weight: 400;
  color: #2196F3;
  /*text-decoration: underline;*/
  text-decoration: none;
}

h1 {
  color: #444;
  font-size: 6vw;
  font-weight: 500;
  padding: .5em;
  /*margin: 0.5em;*/
  width: 100%;
}

h2 {
  color: #4c4c4c;
  margin: 10px;
  padding: 0;
}

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

p {
  color: #444;
  font-size: 1em;
  font-weight: 300;
  line-height: 1.6em;
  margin: 0 auto 1em auto;
  text-align: justify;
}

li {
  list-style-type: none;
}

.vertical-list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0;
}

.horizontal-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  padding: 0 1em;
}

.horizontal-list * {
  text-align: left;
}

.horizontal-list dt {
  width: 8em;
}

.horizontal-list dd {
  width: calc(100% - 8em);
  padding-bottom: .5em;
}

.list-title {
  margin: 10px 0;
}

.profile-icon {
  float:right;
  padding: 10px 16px
}

.column {
  width: 100%;
}

.img-container {
  /*padding-top: 10px;*/
}

.list-item {
  padding: 5px 0;
}

.footer-link {
  color: white;
}

@media (max-width: 799.9999px) and orientation: portrait) {
  section {
    display: block;
    overflow-y: scroll!important
  }
}

@media (min-width: 800px and orientation: portrait) {
  .column {
     width: calc(50% - 20px);
  }

  .left {
    padding-right: 10px;
  }

  .right {
    padding-left: 10px;
  }
}

@media(orientation: landscape) {
  .column {
    padding-right: env(safe-area-inset-right)!important;
    padding-left: env(safe-area-inset-left)!important;
  }
}

.padded {
  padding: 0 10%;
}

.back-link {
  padding-bottom: 10%;
}
