body {
    line-height: 1.8;
}

figure.about-corp-logo {
    float: left;
    width: 50px;
    margin-top: 0px;
    margin-left: 5px;
    margin-right: 5px;
    margin-bottom: 0px;
}

p.clear-float {
    clear: left;
}

p.sample-style {
    color: blue;
    font-style: italic;
    margin-left: 25px;
}

span.postscript {
    color: red;
    font-style: bold;
}

span.prev-page {
    margin-top: 25px;
    float: left;
}

span.next-page {
    margin-top: 25px;
    float: right;
}

figure.common-style {
    text-align: center;
}

/* figures side by side */
.figure-row {
    display: flex;
    gap: 1em;
    align-items: flex-start;
}

.figure-row figure {
    flex: 1;
    margin: 0 0 1em 0;
}

.figure-row img {
    width: 100%;
    height: auto;
}

/* 狭い画面では縦に並べる */
@media (max-width: 600px) {
    .figure-row {
        flex-direction: column;
    }
}

/* figure and text side by side */
.media-row {
    display: flex;
    gap: 1.5em;
    align-items: center;
    margin-bottom: 1em;
}

.media-row.reverse {
    flex-direction: row-reverse;
}

.media-row figure {
    flex: 0 0 50%;
    margin: 0;
}

.media-row img {
    width: 100%;
    height: auto;
}

.media-row p {
    flex: 1;
    margin: 0;
}

/* 狭い画面では画像の下に本文を置く */
@media (max-width: 600px) {
    .media-row,
    .media-row.reverse {
        flex-direction: column;
        align-items: stretch;
    }
}

/* share buttons */
.sns_section {
    display: inline-block;
}

.sns_button {
    float: left;
    box-shadow: inset 0 0 0 2px #42464c;
    border-radius: 100%;
    -moz-transition: all 280ms ease;
    -o-transition: all 280ms ease;
    -webkit-transition: all 280ms ease;
    transition: all 280ms ease;
}
.sns_button a {
    display: table-cell;
    width: 44px;
    height: 44px;
    color: #42464c;
    text-align: center;
    vertical-align: middle;
    -moz-transition: all 280ms ease;
    -o-transition: all 280ms ease;
    -webkit-transition: all 280ms ease;
    transition: all 280ms ease;
}
.sns_button i {
    font-size: 18px;
    vertical-align: middle;
}
.sns_button:hover {
    box-shadow: inset 0 0 0 22px #eaeaea;
}

.sns_button + .sns_button {
    margin: 0 0 0 12px;
}

.twitter:hover a {
    color: #1B95E0;
}

.facebook:hover a {
    color: #3B5999;
}

.pocket:hover a {
    color: #EE4056;
}

.hatena:hover a {
    color: #4BA3D9;
}

.fa-hatena:before {
    content: "B!";
    font-family: Verdana;
    font-weight: bold
}
