*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    background: #f5f5f5;    /*ちょっと灰色画面*/
}
body{
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #333;            /*基本の文字は黒より少し白が入ってる*/
}
.container {
    max-width: 960px;
    margin: 100px auto;
    padding: 20px;
}
/* ナビゲーションバーが最上部 */
.nav{
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
    width: 87.5%;
}
.logo{
    margin-left: 0;
    margin-right: auto;
}
a {
    text-decoration: none;
    margin-left: 40px;
}
a:hover {
    color: darkcyan;
}
h1, h2 {
    text-align: center;
    margin: 20px auto;
}
.login__form{
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
}
.submit{
    grid-column: 2/3;
    border-radius: 20px;
    height: 2rem;
    font-weight: bold;
    padding: 0 10px;
    color: #333;
    border-color: #333;
}
.submit:hover{
    color: blue;
    background: azure;
}
.two__column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.two__column_center {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    justify-items: center;
    align-items: center;
}
.three__column {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}
.info {
    display: grid;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
}
.input_value {
    padding: 2px 10px;
    line-height: 1.5;
    font-size: 16px;
    border-radius: 5px;     
    /***** 角が取れる *****/
}
.input_value:focus{
    background: azure;
}
.picture_path {
    padding: 2px 0;
    line-height: 1.5rem;
    font-size: 16px;
    border-radius: 5px;
}
/*********** forms.pyで作った項目のラベルをCSSで使う場合。 ***********/
label[for="email"]{
    font-weight: 700;
}
label{
    font-weight: 700; /*****　全てのLabel　*****/
}
.user__img{
    height: 200px;
    width: 200px;
}
.user__image_small{
    height: 100px;
    width: 100px;
}

.one__column img{
    height: 20px;
    width: 20px;  
}
.error{
    grid-column: 2/3;
    color: red;
}
.out-grid{
    display: block;
    margin-top: 50px;
    margin-left: 0;
    color: green;
}

/* .two__column img{
    width: 200px;
    height: 200px;
} */
.flash {
    text-align: center;
    margin-bottom: 30px;
    color: red;
}
.change {
    display: block;
    margin-top: 50px;
    margin-left: 0;
    color: green;    
}
.list {
    margin-top: 30px;
    display: grid;
    grid-template-columns: 1fr 2fr 2fr 1fr;
    gap: 20px;
}
.one__column,
.load_message {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
.load_message_button{
    color: white;
    border-radius: 20px;
    height: 2rem;
    font-weight: bold;
    padding: 0 10px;
    background: blue;
    font-size: 16px;
    font-weight: bold;
}
.one__column p {
    padding: 0 5px;
    /* 吹き出し内の文字位置 */
}
/*吹き出し　right, right:before, left, left:before*/
.right {
    position: relative;
    display: inline-block;
    min-width: 65%;
    margin-left: auto;
    width: 200px; 
    text-align: left;
    word-wrap: break-word;
    color:#333;
    padding: 3px;
    background-color: darkgreen;
    border-radius: 5px;    
}
.right:before {
    content: '';
    position: absolute;
    display: block;
    z-index: 1;
    border-style: solid;
    border-color: transparent darkgreen;
    border-width: 10px 0 10px 10px;
    top: 50%;
    right: -10px;
    margin-top: -10px;   
}
.left {
    position: relative;
    display: inline-block;
    min-width: 65%;
    margin-right: auto;
    width: 200px; 
    text-align: left;
    word-wrap: break-word;
    color:#333;
    padding: 3px;
    background-color: #f39800;
    border-radius: 5px;    
}
.left:before {
    content: '';
    position: absolute;
    display: block;
    z-index: 1;
    border-style: solid;
    border-color: transparent #f39800;
    border-width: 10px 10px 10px 0;
    top: 50%;
    left: -10px;
    margin-top: -10px; 
}
.twos {
    display: inline-flex;
    flex-direction: row;
    justify-content: space-between;
    margin-right: 10px;
}
.paira {
    padding-left: 10px;
    display: flex;
    flex-direction: row;
}
.pairb {
    padding-right: 10px;
    display: flex;
    flex-direction: row;
}
.text {
    text-align: center;
}
.textarea{
    padding: 2px 10px;
}
.textarea:focus{
    background: azure; 
}
.read {
    margin-left: 25%;
}
.prev {
    grid-column: 1;
    border-radius: 20px;
    height: 2rem;
    font-weight: bold;
    padding: 2px 30px;
    color: white;
    background: blue;
    margin: 0 auto;
}
.next {
    grid-column: 4;
    border-radius: 20px;
    height: 2rem;
    font-weight: bold;
    padding: 2px 30px;
    color: white;
    background: blue;
    margin: 0 auto;
}
@media screen and (max-width: 500px){
    .two__column{
        grid-template-columns: 1fr;
    }
}