/*
    デザインの色についてはまた後日
*/

#kumiaiin{
     margin: 1em 0;/*他の文字との余白*/
    padding: 0.5em;/*文字周りの余白*/
    color: #333333;/*文字色*/
    background: #FFF4E0;/*背景色*/
    border-left: solid 5px #FFC679;/*左線（実線 太さ 色）*/
}

#membercolumn{
    max-width: 960px;
    margin: 0 auto;
}
#comment{
}

.flexflame{
    width: 100%;
}
.titlecontainer{
    display: grid;
    background: #FFC679;
    float: left;
    grid-template-rows: 40px;
    grid-template-columns: 2.5fr 1.7fr 0.9fr 1.1fr;
    width: 98%;
    margin-left: 1%;
    margin-right: 1%;
    /*border: solid 1px #333;*/
    border-collapse: collapse; 
}
.flexcontainer{
    display: grid;
    float: left;
    grid-template-rows: 50px;
    grid-template-columns: 2.5fr 1.7fr 0.9fr 1.1fr;
    width: 98%;
    margin-left: 1%;
    margin-right: 1%;
    border: solid 1px #fff;
    border-collapse: collapse;       
}
.flex-box{
    grid-row: 1  ;    
    font-weight: bold;    
    /*border-bottom: solid 1px #333;*/
    display: flex;
    align-items: center;
    -webkit-align-items: center; /* 縦方向中央揃え（Safari用） */
    justify-content: center;
    -webkit-justify-content: center; /* 横方向中央揃え（Safari用） */ 
    font-size: 0.85em;
}
.flex-name{
    grid-column: 1 / 2;
    background: #fad09e;
    /*background: #ebf6f7 ;*/
    justify-content: left;
    -webkit-justify-content: left; /* 横方向中央揃え（Safari用） */ 
    padding-left: 2em;
}
.flex-name a{
    text-decoration:underline;
    text-decoration-color:#555;
    color:#333;
    font-size: 1.05em;
}
.flex-name a:hover{
   color: #607a99; 
}
.flex-name p{
    color:#333;
    font-size: 1.05em;
}
/*.flex-name a:after{
    font-family: "Font Awesome 5 Free";
    content: '\f35d';
    font-weight: 900;
    color: #2e4b71;
}*/
.flex-address{
    grid-column: 2 / 3;
    background: #f9eddb;
    /*background: #ebf6f7;*/
    justify-content: left;
    -webkit-justify-content: left; /* 横方向中央揃え（Safari用） */ 
    padding-left: 2em;
}
.flex-address p{
    font-size: 0.9em;
}
.flex-tel{
    grid-column: 3 / 4;
    background: #f9eddb;
    /*background: #ebf6f7;*/
}
/*.flex-tel p{
    width:100%;
    font-size:1em;
    text-align:center;
    padding:8px 0 10px;
    color:#fff;
    background-color:#49a9d4;
    border-radius:13px;
}
.flex-tel p:before{
    font-family: "Font Awesome 5 Free";
    content: '\f095';
    font-weight: 900;
    margin-right: 2px;
}*/
.flex-intro{
    grid-column: 4 / 5;
    background: #f9eddb;*/
    
    padding-left: 0; 
}
.flex-intro a{    
    color: #333;
}
.flex-intro a::before{
    font-family: "Font Awesome 5 Free";
    content: '\f1c1';
    font-weight: 900;
    color: #2e4b71;
}
/*.flex-intro a::after{
    font-family: "Font Awesome 5 Free";
    content: '\f0c1';
    font-weight: 900;
    color: #2e4b71;
}*/

/*-----------------
    バナーリンク関係
-------------------*/
#linkcontainer{
    display: grid;
    background: #FFF;
    float: left;
    grid-template-rows: 1fr 1fr;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    width: 98%;
    margin-top: 1em;
    margin-left: 1%;
    margin-right: 1%;
    margin-bottom: 1em;
    /*border: solid 1px #333;*/
    border-collapse: collapse; 
}
.linktitle{
    grid-row: 1 / 2;
    grid-column: 1 / 5;
    align-items: center;
    -webkit-align-items: center; /* 縦方向中央揃え（Safari用） */
    justify-content: center;
    -webkit-justify-content: center; /* 横方向中央揃え（Safari用） */
}
.linkflame{
    position: relative;
    z-index: 1;
    /*以下囲い枠*/
    margin: 0em 0.5em 0.5em;
    padding: 1.6em;
    box-shadow: 0 0 3px 3px #ffab40,
                0 0 2px 1px #ffab40 inset;
    border-radius: 10px;
    background: #F4F5F7;
}
.linkflame a{
    position: absolute;
    top: 1em;
    left: 0;
    width: 100%;
    height: 100%;    
    z-index: 2;
    text-decoration: none;
    text-align: center;
    color: #333;
    font-weight: bold;
    font-size: 0.75em;
    line-height: 1.2em;
}
.linkbox1{
    grid-row: 2 / 3;
    grid-column: 1 / 2;
}
.linkbox2{
    grid-row: 2 / 3;
    grid-column: 2 / 3; 
}
.linkbox3{
    grid-row: 2 / 3;
    grid-column: 3 / 4; 
}
.linkbox4{
    grid-row: 2 / 3;
    grid-column: 4 / 5; 
}


/*-----------------
    モーダルウィンドウ用
-------------------*/
img{
    max-width: 90%;        
}
.remodal-confirm a {
    color: #fff;
    border-bottom: none;
}

/*---モダールここまで---*/


@media screen and (max-width: 768px){
    #membercolumn{
        width: 100%;
    }
    #comment{
        font-size: 
    }
    .flexframe{
    }
    .titlecontainer{
        display: none;        
    }
    .flexcontainer{
        grid-template-rows: 1.5fr 1fr;
        grid-template-columns: 5fr 3fr;
        border: 0;
        margin-bottom: 1.5em;
    }
    .flex-box{
        align-items: center;
        -webkit-align-items: center; /* 縦方向中央揃え（Safari用） */
        justify-content: center;
        -webkit-justify-content: center; /* 横方向中央揃え（Safari用） */
    }
    .flex-name{
        grid-row: 1 / 2;
        grid-column: 1 / 2;
        padding-left: 0;
    }
    .flex-name a{
        font-size: 1.1em;
    }
    .flex-address{
        grid-row: 2 / 3 ;
        grid-column: 1 / 2;
        padding-left: 0;
    }
    .flex-address p{
        font-size: 1em;
        padding-top: 0.5em;
    }
    .flex-tel{
        grid-row: 3 / 4 ;
        grid-column: 1 / 2;
        border-bottom: 0;
        padding-left: 4em;
    } 
    .flex-tel p{
        width:15em;
    }
    .flex-tel ::before{
        content:"Tel：";        
    }
    .flex-intro{
        grid-row: 1 / 4 ;
        grid-column: 2 / 3;
        border-bottom: 0;
        border-left: solid 1px #333;
    }
    .flex-intro a{
        font-size: 1.2em;
    }
    
    
/*-----------------
    バナーリンク関係
-------------------*/
#linkcontainer{
    display: grid;
    background: #FFF;
    float: left;
    grid-template-rows: 1fr 1fr 1fr;
    grid-template-columns: 1fr 1fr;
}
.linkflame{
    margin: 0 1em 0.5em;
}
.linktitle{
    grid-row: 1 / 2;
    grid-column: 1 / 3;
}
.linkbox1{
    grid-row: 2 / 3;
    grid-column: 1 / 2;
}
.linkbox2{
    grid-row: 2 / 3;
    grid-column: 2 / 3; 
}
.linkbox3{
    grid-row: 3 / 4;
    grid-column: 1 / 2; 
}
.linkbox4{
    grid-row: 3 / 4;
    grid-column: 2 / 3; 
}
    
}
@media screen and (max-width: 481px){
    .comment{
        display: none;
    }
    .flex-name{
        font-size:0.8em;
    }
    .flex-address{
        font-size:0.75em;
    }
    .flex-intro a{
        font-size: 0.9em;
    }
    /*企業個別設定*/
        #carpet a{
        font-size:0.95em;
    }
        #golden a{
        font-size:0.95em;
    }
}
