@charset "utf-8";

/*  =========================================================================

    Individual styles
    -Message

    ========================================================================= */

.container.hero {
/*    background-image: url("../images/message/yamamoto/pgtitle.jpg");*/
    background-image: none;
}

.container section h3.primary {
    margin-bottom: 1.25em;
}
.container section > div.portlait {
    width: 280px;
    margin-left: 1.5em;
    margin-bottom: 1em;
    float: right;
}
.container section > div.portlait.mobile {
    display: none;
}
.container section > div.portlait > div.box {
    padding: .25em 1.5em 1.25em 1.5em;
    background-color: #f1efed;
}
.container section > div.portlait > div.box > p {
    font-size: .9em;
    margin-top: 1em;
    line-height: 1.5;
}
.container section > div.portlait > div.box > p > em {
    font-weight: bold;
    font-size: 1.33em;
}
.container section span.skyblue-bold {
    color: #008ad3;
    font-weight: bold;
}

@media screen and (max-width: 780px) {
    .container section > div.portlait {
        width: 220px;
    }
    .container section > div.portlait > div.box > p > em {
        display: block;
    }
}

@media screen and (max-width: 666px) {
    .container section > div.portlait.mobile {
        display: table;
        table-layout: auto;
        border-collapse: collapse;
        border: .5em solid #f1efed;
        float: none;
        margin-left: -.25em;
        margin-top: 2em;
        width: auto;
        box-shadow: 0 1px 2px 0 rgba(20, 20, 20, 0.25);
        width: 100%;
    }
    .container section > div.portlait.desktop {
        display: none;
    }
    .container section > div.portlait > * {
        display: table-cell;
    }
    .container section > div.portlait > p:first-child {
        min-width: 100px;
        max-width: 120px;
        vertical-align: bottom;
        height: 100%;
    }
    .container section > div.portlait > p:first-child > img {
        display: inline !important;
        vertical-align: bottom;
    }
    .container section > div.portlait > div.box {
        vertical-align: middle;
        padding: 0;
        padding-left: .5em;
    }
    .container section > div.portlait > div.box > p {
        margin-top: 0;
        font-size: .75em;
        line-height: 1.33;
        margin-bottom: .5em;
    }
    .container section > div.portlait > div.box > p:last-child {
        margin-bottom: 0;
    }
}
