@charset "utf-8";

body{
    margin: 0;
    font-family: arial, "游ゴシック体", YoGothic, "游ゴシック体", "Yugothic", sans-serif;
    background: #A7FCFF; /*全体の背景色*/
    font-weight: 400;
}
html {
    scroll-behavior: smooth;
}

.main {
    background: url(./images/ebe_background.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    min-height: 100vh;
}

.main img {
    width: 100%;
    margin: auto;
    display: block;
}
.line img{
    width: 100%;
    padding: 0;
}
.post_office h1{
    background-color: #34170B;
    border-radius: 50%;
    width: 40vw;
    height: 40vw;
    text-align: center;
    line-height: 40vw;
    font-size: 6em; /*アルファベット文字のサイズ変更*/
    margin-bottom: 0;
}
.post_office a {
    display: block;
    text-decoration: none;
    color: #fff;
}
.post_office a:hover{
    background-color: #fff;
    color: #34170B;
    border-radius: 50%; /*クリックすると白くなる*/
}
.post_office p{
    margin: auto;
    color: #34170B;
    font-size: 1.0em;
    text-align: center;
}

.flex{
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
}

.map{
    margin: 0;
    padding: 4px;
}
.googlemap{
    position: relative;
    overflow: hidden;
}
.map iframe{
    width: 100%;
    height: 90vh;
}

.grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
}

#e_link {
    text-align: right;
    margin-top: 10px;
}

#answer {
    text-align: center;
}

.button {
    font-size: 1.0em;
    background: #62D7E9;
    border-radius: 5px;
    padding: 14px 20px;
}

.button span {
    color: #fff;
}

#e_link:hover {
    animation: shake 500ms ease-in-out forwards;
  }

  .arrow_u {
    position: relative;
    display: inline-block;
    padding-left: 20px;
    color: #333;
    text-decoration: none;
  }
  .arrow_u:before {
    content: '';
    width: 6px;
    height: 6px;
    border: 0;
    border-bottom: solid 2px #333;
    border-right: solid 2px #333;
    position: absolute;
    top: 50%;
    left: 0;
    margin-top: -6px;
    transform: rotate(45deg);
  }  
  
.letter {
    background: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    margin: 26px auto 0;
    max-width: 550px;
    height: auto;
    padding: 24px;
    position: relative;
    width: 80%;
    text-align: left;
    font-size: small;
  }

  #letter-question {
    display: flex;
    flex-direction: column;
    min-height: 82vh;
  }

  .letter:before, .letter:after {
    content: "";
    height: 98%;
    position: absolute;
    width: 100%;
    z-index: -1;
  }
  .letter:before {
    background: #fafafa;
    box-shadow: 0 0 8px rgba(0,0,0,0.2);
    left: -5px;
    top: 4px;
    transform: rotate(-2.5deg);
  }
  .letter:after {
    background: #f6f6f6;
    box-shadow: 0 0 3px rgba(0,0,0,0.2);
    right: -3px;
    top: 1px;
    transform: rotate(1.4deg);
  }
 .letter p{
    text-align: center;
    background:linear-gradient(transparent 75%, #62D7E9 75%);
    font-weight:bold;
    font-size: larger;
  }
.exp{
    margin: 10px;
    padding: 20px;
    font-size: small;
    border: double 1px #62D7E9;
}
#explain .exp{
    display: flex;
    justify-content: center;
}

.letter ul{
    padding-left: 6px;
}
.letter li {
    list-style-type: none;
    line-height: 1.8em;
}
.letter ul .a_ul {
    padding-left: 3em;
}
.letter li .attention {
    list-style-type: disc;
    font-size: small;
}
.letter a {
    color: #62D7E9;
}
.letter small {
    display: block;
}
.notice {
    margin: 10px;
	padding-left:2em;
	text-indent:-2em;
}

.back-top {
    text-align: center;
    padding: 50px 0;
}

.back-top a {
    color: #000000;
}

rt {
    font-weight: normal;
    text-align: justify;
}

footer{
    text-align: center;
    height: auto;
    padding: 30px;
    margin: auto;
    background-color: #34170B;
    color: #fff;
}

@media (min-width: 800px) { 
    
    .grid{
        grid-template-columns: 1fr 1fr 1fr;
     }
     
     .main {
        background: url(./images/ebe_background.png);
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center center;
        min-height: 100vh;
    }

     .main img {
        width: 100%;
        margin: auto;
        display: block;
    }

    .back-logo {
        width: 200px;
    }
    
    .post_office h1{
        border-radius: 50%;
        width: 30vw;
        height: 30vw;
        line-height: 30vw;
        font-size:18em;
    }
    .post_office p{
        font-size: 2em;
    }

    .googlemap{
        padding-bottom: 56.25%;
    }
        .map iframe{
        width: 100%;
        height: 80vh;
    } 

}
