@charset "utf-8";

body{
    margin: 0;
    font-family: arial, "游ゴシック体", YoGothic, "游ゴシック体", "Yugothic", sans-serif;
    background: linear-gradient(#E88539,#EEB531);
    font-weight: 400;
}
html {
    scroll-behavior: smooth;
}
.main {
    text-align: center;
    margin-top: 80px;
}
.main img {
    margin-top: 2vh; /*80px;*/
    margin-bottom: 20px;
    width: 80%;
}
.line img{
    width: 100%;
    margin: 0;
}
.post_office h1{
    background-color: #34170B;
    border-radius: 50%;
    width: 40vw;
    height: 40vw;
    text-align: center;
    line-height: 40vw;
    font-size:8em;
    margin-bottom: 0;
}
.post_office a {
    display: block;
    text-decoration: none;
    color: #fff;
}
.post_office a:hover{
    background-color: #fff;
    color: #34170B;
}
.post_office p{
    margin: auto;
    color: #34170B;
    font-size: 1.2em;
}

.flex{
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
}

.map{
    margin: 0;
    padding: 4px;
}
.googlemap{
    position: relative;
/*    padding-bottom: 100%; */
    overflow: hidden;
}
.map iframe{
    width: 100%;
    height: 90vh;
}

.grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
}

#e_link {
    text-align: right;
    margin-top: 10px;
}

#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;
/*    min-height: 300px; */
    height: auto;
    padding: 24px;
    position: relative;
    width: 80%;
    text-align: left;
    font-size: small;
  }
  .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%, #E88539 75%);
    font-weight:bold;
    font-size: larger;
  }
.exp{
    margin: 10px;
    padding: 5px;
    font-size: small;
    border: double 1px #E88539;
}
#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: #E88539;
}
.letter small {
    display: block;
}
.notice {
    margin: 10px;
	padding-left:2em;
	text-indent:-2em;
}

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 img {
        margin-top: 3vh; /*250px;*/
        margin-bottom: 20px;
        width: 60%;
    }
    
    .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;
    }

    .letter .exp{
        padding: 2px;
    }    

}
