.toppage ol li a p {
margin-top: 20px;
text-align: center;
}
#menu_archive.toppage {margin-top: 20px;}
/* ギャラリーページ１ */
#gallery-1.gallery{ margin-top: 40px;}
#gallery-2.gallery{ margin-top: 40px;}
#gallery-3.gallery{ margin-top: 40px;}
#gallery-4.gallery{ margin-top: 40px;}
#menu_archive .gallery dl.gallery-item dt.gallery-icon { position:relative; display:block; border:14px solid #e6e3dc; margin:0 0 15px 0; }
#menu_archive .gallery dl.gallery-item dt.gallery-icon a img { display:block;}
#menu_archive .gallery dl.gallery-item dt.gallery-icon a:after {
   content:"";  box-shadow:inset 0 0 0 0 rgba(255,255,255, 0); position:absolute; top:0; left:0; bottom:0; right:0;
   -webkit-transition: all 0.2s ease-in-out; -moz-transition: all 0.2s ease-in-out; -o-transition: all 0.2s ease-in-out; -ms-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out;
}
#menu_archive .gallery dl.gallery-item dt.gallery-icon a:hover:after { box-shadow:inset 0 0 0 10px rgba(255,255,255, 0.3); }
#menu_archive.toppage ol li a:hover {text-decoration: none;}

h2.mg50 {
text-align:center;
margin-bottom: 50px;
}
#flexbox {
display: -webkit-flex;
display: -moz-flex;
display: -ms-flex;
display: -o-flex;
display: flex;
flex-wrap: wrap;
width: 100%;
}
#flexbox article {
 width: 33.33%;
 list-style: none;
 padding: 0px 20px 15px;
 box-sizing: border-box;
 text-align: center;
 margin-bottom: 40px;
}
#flexbox article .img {
 border-radius: 50%;
}
.name {
font-weight: bold;
}

table.company {
margin: 0 auto;
border-collapse: separate;
border-spacing: 0px 15px;
font-size: 12px;
}

table.company th,
table.company td {
padding: 10px;
}

table.company th {
background: #049d9d;
vertical-align: middle;
text-align: left;
width: 166px;
overflow: visible;
position: relative;
color: #fff;
font-weight: normal;
font-size: 15px;
}

table.company th:after {
left: 100%;
top: 50%;
border: solid transparent;
content: " ";
height: 0;
width: 0;
position: absolute;
pointer-events: none;
border-color: rgba(136, 183, 213, 0);
border-left-color: #049d9d;
border-width: 10px;
margin-top: -10px;
}
/* firefox */
@-moz-document url-prefix() {
table.company th::after {
float: right;
padding: 0;
left: 30px;
top: 10px;
content: " ";
height: 0;
width: 0;
position: relative;
pointer-events: none;
border: 10px solid transparent;
border-left: #049d9d 10px solid;
margin-top: -10px;
}
}

table.company td {
background: #f8f8f8;
width: 360px;
padding-left: 20px;
text-align: left;
}

/*h2.mg50 {
text-align:center;
margin-bottom: 50px;
}
#flexbox {
display: -webkit-flex;
display: -moz-flex;
display: -ms-flex;
display: -o-flex;
display: flex;
flex-wrap: wrap;
width: 100%;
}
#flexbox article {
 width: 33.33%;
 list-style: none;
 padding: 0px 20px 15px;
 box-sizing: border-box;
 text-align: center;
}
#flexbox article .img {
 border-radius: 50%;
}
#flexbox article table {
text-align: center;
}
.name {
font-weight: bold;
}
.text-left {
text-align: left;
}
@media screen and (max-width: 768px) and (min-width: 481px){
 #flexbox article {
        width: 50%;
        max-width: 50%;}
}
@media screen and (max-width: 480px){
 #flexbox article {
        width: 100%;
        max-width: 100%;}
}
}
*/
@media screen and (max-width:768px){
/* ----------------------------------------------------------------------
 ギャラリー１ mobile
---------------------------------------------------------------------- */
#menu_archive .gallery dl.gallery-item dt.gallery-icon { position:relative; display:block; border:7px solid #e6e3dc; margin:0 0 15px 0; }
#menu_archive .gallery dl.gallery-item dt.gallery-icon a img { display:block; width:100%; height:auto; }
#menu_archive.toppage ol {padding: 10px 0px;}
#menu_archive.toppage ol li {margin: 0px auto; width: 80%; float: none; text-align: center;}
#menu_archive.toppage ol li a.lightbox {width: 100%; height:auto; box-sizing: border-box; margin:0px 0px 20px 0px;}
#menu_archive.toppage ol li a.lightbox p {margin: 10px 0px;}
#index_blog ul li {margin: 20px 0px 0px 0px;}
.post_content h2.mg50 {margin-bottom: 50px;}
#flexbox article {width: 100%; max-width: 100%;}
table.company th {width: 115px;}
}
