/* リセット */
* {
    margin: 0;
    padding: 0;
}

body {
    background: #fff;
    font-family: sans-serif;
    -webkit-touch-callout: none; 
    -webkit-user-select: none; 
    line-height: 2;
    max-width: 750px;
    margin: 0 auto;
}

.fwb{
    font-weight: bold;
}

/* タイトル */
h1 {
    margin: 6% 5% 0%;
    color: #454545;
    font-size: 1.3rem;

}

h2 {
    font-weight: bold;
    color: #454545;
    font-size: 1.4rem;
    margin:5%;
}


/* 基本構造 */
p {
    color: #454545;
    font-size: 1.0rem;
    margin: 2em 5%;
}

img {
    margin: 0;
    vertical-align: top;
}

a {
    text-decoration: none;
}

b {
    color: red;
}

blockquote {
    background: #f7f9f9;
    margin: 2em 0.5em;
    padding: 1em;
}

header {
    position: fixed;
    top: 0;
    z-index: 5;
    width: 100%;
    height: 50px;
    background: rgba(250, 250, 250, 1);
}

article {
    margin: 0 auto;
    padding: 0px;
}

section {
    overflow: hidden;
}

.float {
    position: fixed;
    margin: 0 auto;
    padding: 1%;
    text-align: center;
    background: rgba(250, 250, 250, 1);
    left: 0;
    right: 0;
    bottom: 0;
}

footer {
    margin: 0 auto;
    padding: 0.5rem 1em;
    background: #7F7F7F;
    color: #fff;
    font-size: x-small;
    text-align: center;
}

.wrap {
    margin: 0 auto;
    max-width: 750px;
    padding: 0px;
}

/* スタイル */
.title {
    display: flex;
    grid-template-rows: auto;
    grid-template-columns: 2fr 1fr;
    padding: 0 3%;
    align-items: center;
    justify-content: space-between;
}


.title_logo {
    grid-row: 1 / 2;
    grid-column: 1 / 2;
    width: 140px;
    margin: 2.5px 0;
}

.title_btn {
    grid-row: 1 / 2;
    grid-column: 2 / 3;
    margin: 5px 0;
}

.topheart {
    margin: 0 5%;
    color: #ec5471;
}

ul.mokuji {
    position: relative;
    background: #f7f9f9;
    margin: 2em 0.5em;
    padding:3em 3% 0.5em;
    list-style-type: none;
}

ul.mokuji::after {
    position: absolute;
    content: "▼ 目次";
    top: 15px;
    left: 10px;
    font-weight: bold;
    font-size: .8em;
    color: #787c7b;
    padding: 1px 7px;
}

ul.mokuji li {
    margin: 10px;
    color: #858a89;
    border-bottom: 1px solid #eaeaea;
}

ul.mokuji a {
    color: #858a89;
}

.ctabox {
    background: #f7f9f9;
    color: gray;
    padding: 2em 5%;
}

.ctabox p,
img {
    vertical-align: middle;
}

.ctabox_textarea {
    color: #222;
    font-size: 0.8em;
    text-align: center;
}

.ctabox_btnarea {
    background: #fff;
    border-radius: 15px;
    margin: 0 auto;
    padding: 1em 2em;
}

.cbox {
    position: relative;
}

.cbox_child {
    position: absolute;
}

.btn-cta {
    display: block;
    width: 100%;
    color: #ffffff;
    background-color: #2cb696;
    margin: 0 auto;
    padding: 8px 0;
    text-align: center;
    border: none;
    border-radius: 4px;
    font-size: 1.4em;
    font-weight: bold;
    text-decoration: none;
}

.btn-inst {
    display: block;
    width: 100%;
    color: #ffffff;
    background-color: #2cb696;
    margin: 0 auto;
    padding: 8px 10px;
    text-align: center;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    text-decoration: none;
    font-size: 14px;
}

.flexbox {
    display: -webkit-flex;
    display: flex;
    flex-wrap: nowrap;
    margin: 1em 3% 0;
}

.flexitem {
    padding: 1%;
    line-height: 1.5;
}

.flexitem img {
    width: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.flexitem p {
    color: #282828;
    font-size: small;
    margin: 0;
}

/* 動的表現 */
.pulse {
    animation: pulse;
    animation-duration: 2s;
    animation-iteration-count: infinite;
}


.result_wrapper{
    margin: 0 auto;
    width: 80%;
}

.result_wrapper img{
    width: 100%;
    margin-bottom: 30px;
}

/* 追加分 */
.icon img{
    border-radius: 50%;
}

img{
    width: 100%;
}

h1{
    font-weight: bold;
}

.download{
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    margin: 5%;
    padding: 5%;
    border-radius: 5px;
}


.download_top{
    display: flex;
}

.file_icon{
    width: 15%;
    margin-right: 3%;
}

.donwload_name{
    font-weight: bold;
    line-height: 1.3;
    margin-bottom: 4%;
}

.donwload_name span{
    font-size: 12px;
    color: #7b7b7b;
    font-weight: normal;
}

.download_btn{
    display: flex;
    padding: 2% ;
    justify-content: center;
    color: #fff;
    align-items: center;
    border-radius: 5px;
    background: #43AA8B;
    font-weight: bold;
    position: relative;
    overflow: hidden;
    transition: 300ms;
}

.download_btn:before{
    position: absolute;
    content: '';
    display: inline-block;
    top: -180px;
    left: 0;
    width: 30px;
    height: 100%;
    background-color: #b5e7ff;
    transition: 300ms;
    animation: shinyshiny 2.5s ease-in-out infinite;
}

.download_btn:hover{
    text-decoration: none;
    color: #fff;
    box-shadow: none;
    -webkit-transform: translateY(3px);
}

@-webkit-keyframes shinyshiny {
    0% { -webkit-transform: scale(0) rotate(45deg); opacity: 0; }
    80% { -webkit-transform: scale(0) rotate(45deg); opacity: 0.5; }
    81% { -webkit-transform: scale(4) rotate(45deg); opacity: 1; }
    100% { -webkit-transform: scale(50) rotate(45deg); opacity: 0; }
}


.download_icon{
    width: 8%;
    margin-right: 3%;
}

/* 離脱防止 */

.emergency-area {
    display: none;
    width: 90%;
    max-width: 600px;
    height: auto;
    background:#fff;
    position: fixed;
    z-index: 9999;   
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
  }
  
  
  .e-title{
    width: 100%;
    background: rgb(2,0,36);
    background-image: linear-gradient(to top, #f77062 0%, #fe5196 100%);
    align-items: center;
    font-size: 20px;
    color: #fff;
    font-weight: bold;
    justify-content: center;
    display: flex;
    padding: 8px 0;
  
  }
  
  .e-message{
    margin-left: 8px;
  }
  .e-emergency-icon{
  width: 30px;
  }
  
  .e-chat-icon{
    width: 20px;
  }
  
  .e-main-area{
    margin-top: 20px;
    justify-content: center;
    margin: 24px 0;
  }
  
  .e-img{
    width: 60%;
  }
  
  .e-name{
    position: relative;
    font-size: 20px;
    font-weight: bold;
    padding-bottom: 8px;
    margin-bottom: 12px;
  }
  
  .e-name:after{
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  content: '';
  background-image: -webkit-repeating-linear-gradient(135deg, #FD6585   ), #FD6585  1px, transparent 2px, transparent 5px);
  background-image: repeating-linear-gradient(-45deg, #FD6585     , #FD6585      1px, transparent 2px, transparent 5px);
  background-size: 7px 7px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  
  }
  
  .e-profile{
    padding: 0 0px 0 8px;
    width: 35%;
  }
  
  .e-prof-wrapper{
    font-size: 12px;
    margin-bottom: 12px;
    padding-bottom: 4px;
    align-items: center;
  }
  
  .e-tag{
    position: relative;
    font-size: 12px;
    display: inline-block;
    padding: 4px 8px 4px 16px;
    color: #fff;
    border-radius: 100vh;
    background-image: linear-gradient( 135deg, #FFD3A5 10%, #FD6585 100%);
    margin-right: 8px;
  }
  
  .e-tag:before{
    position: absolute;
    top: calc(50% - 4px);
    left: 4px;
    width: 7px;
    height: 7px;
    content: '';
    border-radius: 50%;
    background: #fff;
  }
  
  .e-prof-wrapper:last-of-type{
    margin-bottom: 0px;
  }
  
  .fa-comment{
    font-size: 32px;
    color: #fff;
    margin-right: 8px;
  }
  .e-comment{
    margin-bottom: 8px;
  }
  
  .e-main-comment{
    line-height: 1.2;
  }
  .e-button-wrapper{
    display: block;
    width: 90%;
    background-image: linear-gradient(to top, #f77062 0%, #fe5196 100%);
    margin: 0 auto;
    margin-bottom: 24px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 0;
    }
  
    .e-button-message{
        padding-left: 4px;
    }
  
    .e-button-message{
        color: #fff;
        font-weight: bold;
        font-size: 20px;
    }
  
    .pop-anime {
        animation: anime 2.4s ease-out infinite;
        opacity: 1;
      }
      @keyframes pop-anime {
        0%, 40%, 60%, 80% {
          transform: scale(1.0);
        }
        50%, 70% {
          transform: scale(0.9);
        }
      }

      .close-btn{
          position: absolute;
          cursor: pointer;
            top: -54px;
            right: 0px;
      }
      
  /* 背景色 */
  .cover-eml {
    background:rgba(0,0,0,0.9);
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 999;   
    top:0;
    right:0;
    bottom:0;
    left:0;
  }
  
  /* ボタン */
  .btn-close{
    display: inline-block;
    padding: 25px 0;
  }
  
  .btn-close::before,
  .btn-close::after {
  display: block;
  content: "";
  width: 30px;
  height: 1px;
  background: #fff;
  }

  .btn-close::before {
  transform: rotate(-45deg);
  }
  .btn-close::after {
  transform: rotate(45deg);
  }

  #dateOutput{
    display: inline;
    color: #abaeb4;
  }