/*!
 * Start Bootstrap - Agency v1.1.0 (http://startbootstrap.com/template-overviews/agency)
 * Copyright 2013-2016 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap/blob/gh-pages/LICENSE)
 */
html,body{
    font-family: "Noto Sans JP", sans-serif;
}

body {
    overflow-x: hidden;
    transition: background-color 1.0s ease;
    margin: 0;
    webkit-tap-highlight-color: #cc0000;
}

.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    background: #222;
    overflow: hidden;
    margin: 0 auto;
}

#heroCanvas {
    position: absolute;
    inset: 0;
}

.hero-text {
    position: relative;
    inset: 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    opacity: 0;
    transition: opacity 1.2s ease;
    pointer-events: none;
}

.hero-text.show { opacity: 1; }

.hero-text h1, .hero-text p {
    text-shadow: 0 4px 12px red;
}


.text-muted {
    color: #777777;
}

.text-muted_midashi {
    color: #CC0000;
    font-size: 1.3em;
    font-weight: bold;
}

.text-muted_midashi2 {
    color: #ccac00;
    font-size: 1.3em;
    font-weight: bold;
}

.text-primary {
    color: #CC0000;
}

p {
    font-size: 14px;
    line-height: 1.75;
}

p.large {
    font-size: 16px;
}

a,
a:hover,
a:focus,
a:active,
a.active {
    outline: none;
}

a {
    color: #cc0000;
}

a:hover,
a:focus,
a:active,
a.active {
    color: #cc0000;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    text-transform: uppercase;
    font-weight: 700;
}

.img-centered {
    margin: 0 auto;
}

.bg-media {
    margin-top: 100px;
    width: 40%;
}

.bg-light-gray {
    background-color: #eeeeee;
}

.bg-darkest-gray {
    background-color: #222222;
}


.btn-primary {
    color: white;
    background-color: #cc0000;
    border-color: #cc0000;
    text-transform: uppercase;
    font-weight: 700;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.open .dropdown-toggle.btn-primary {
    color: white;
    background-color: #fec503;
    border-color: #f6bf01;
}

.btn-primary:active,
.btn-primary.active,
.open .dropdown-toggle.btn-primary {
    background-image: none;
}

.btn-primary.disabled,
.btn-primary[disabled],
fieldset[disabled] .btn-primary,
.btn-primary.disabled:hover,
.btn-primary[disabled]:hover,
fieldset[disabled] .btn-primary:hover,
.btn-primary.disabled:focus,
.btn-primary[disabled]:focus,
fieldset[disabled] .btn-primary:focus,
.btn-primary.disabled:active,
.btn-primary[disabled]:active,
fieldset[disabled] .btn-primary:active,
.btn-primary.disabled.active,
.btn-primary[disabled].active,
fieldset[disabled] .btn-primary.active {
    background-color: #cc0000;
    border-color: #cc0000;
}

.btn-primary .badge {
    color: #cc0000;
    background-color: white;
}

.btn-xl {
    color: white;
    background-color: #cc0000;
    border-color: #cc0000;
    text-transform: uppercase;
    font-weight: 700;
    border-radius: 3px;
    font-size: 18px;
    padding: 20px 40px;
}

.btn-xl:hover,
.btn-xl:focus,
.btn-xl:active,
.btn-xl.active,
.open .dropdown-toggle.btn-xl {
    color: white;
    background-color: #fec503;
    border-color: #f6bf01;
}

.btn-xl:active,
.btn-xl.active,
.open .dropdown-toggle.btn-xl {
    background-image: none;
}

.btn-xl.disabled,
.btn-xl[disabled],
fieldset[disabled] .btn-xl,
.btn-xl.disabled:hover,
.btn-xl[disabled]:hover,
fieldset[disabled] .btn-xl:hover,
.btn-xl.disabled:focus,
.btn-xl[disabled]:focus,
fieldset[disabled] .btn-xl:focus,
.btn-xl.disabled:active,
.btn-xl[disabled]:active,
fieldset[disabled] .btn-xl:active,
.btn-xl.disabled.active,
.btn-xl[disabled].active,
fieldset[disabled] .btn-xl.active {
    background-color: #cc0000;
    border-color: #cc0000;
}

.btn-xl .badge {
    color: #cc0000;
    background-color: white;
}

.navbar-custom.navbar-fixed-top,
.navbar-custom.navbar-shrink,
.navbar-custom.affix {
    padding-top: 10px;
    padding-bottom: 10px;
}

.navbar-custom.navbar-fixed-top .navbar-brand,
.navbar-custom.navbar-shrink .navbar-brand,
.navbar-custom.affix .navbar-brand {
    padding: 15px 10px;
    height: 50px;
    line-height: 20px;
}

.navbar-custom.navbar-fixed-top .nav li a,
.navbar-custom.navbar-shrink .nav li a,
.navbar-custom.affix .nav li a {
    padding-top: 15px;
    padding-bottom: 15px;
    /* margin: 0 0 0 20px; */
    font-size: 25px;
    line-height: 20px;
}

.navbar-custom {
    background-color: #222222;
    border-color: transparent;
}

.navbar-custom .navbar-brand {
    color: #cc0000;
    width: 300px;
    height: 50px;
    padding: 8px 10px;
    font-size: 18px;
    line-height: 20px;
}

.navbar-custom .navbar-brand:hover,
.navbar-custom .navbar-brand:focus,
.navbar-custom .navbar-brand:active,
.navbar-custom .navbar-brand.active {
    color: #fec503;
}

.navbar-custom .navbar-collapse {
    border-color: rgba(255, 255, 255, 0.02);
    padding: 10px 20px;
}

.navbar-custom .navbar-toggle {
    background-color: #cc0000;
    border-color: #cc0000;
    text-transform: uppercase;
    color: white;
    font-size: 12px;
}

.navbar-custom .navbar-toggle:hover,
.navbar-custom .navbar-toggle:focus {
    background-color: #cc0000;
}

.navbar-custom .nav li a {
    text-transform: uppercase;
    font-weight: 400;
    font-size: 30px;
    color: #fff;
}

.navbar-custom .nav li a:hover,
.navbar-custom .nav li a:focus {
    color: #cc0000;
    outline: none;
}

.navbar-custom .navbar-nav > .active > a {
    border-radius: 0;
    color: white;
    background-color: #cc0000;
}

.navbar-custom .navbar-nav > .active > a:hover,
.navbar-custom .navbar-nav > .active > a:focus {
    color: black;
    background-color: #fec503;
}




header {
    background-image: url('../images/top_logo.jpg');
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position: center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
    text-align: center;
    color: white;
}

header .intro-text {
    padding-top: 100px;
    padding-bottom: 50px;
}

header .intro-text .intro-lead-in {
    font-style: italic;
    font-size: 22px;
    line-height: 22px;
    margin-bottom: 25px;
}

header .intro-text .intro-heading {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 50px;
    line-height: 50px;
    margin-bottom: 25px;
}



section {
    padding: 100px, 0px;
}

section h2.section-heading {
    font-size: 40px;
    margin-top: 40px;
    margin-bottom: 15px;
}

section h3.section-subheading {
    font-size: 16px;
    text-transform: none;
    font-style: italic;
    font-weight: 400;
    margin-bottom: 75px;
}

.sp-only {
    display: none;
}

.service-heading {
    margin: 15px 0;
    text-transform: none;
}

/* 130周年記念事業 */

.portfolio-grid {
    display: grid;
    padding-bottom: 20px;
    grid-template-columns: repeat(6, 1fr);
    gap: 40px 10px;
    max-width: 1200px;
    margin: 0 auto;
}

.portfolio-item-wrapper {
    grid-column: span 2;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.portfolio-item-wrapper.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-item-wrapper:nth-child(4) {
    grid-column: span 2;
}

.portfolio-item-wrapper:nth-child(5) {
    grid-column: span 2;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border: 1px solid #eee;
    border-radius: 4px;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
                box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    backface-visibility: hidden;
    -webkit-font-smoothing: subpixel-antialiased;
}

.portfolio-item a {
    display: block;
    background-color: #fff;
}

.portfolio-item .img-responsive {
    max-height: 350px;
}

.portfolio-details-area {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease;
    background: #fff;
}

.portfolio-description {
    padding: 0 20px 20px 20px;
    text-align: center;
    font-size: 1.9rem;
    font-feature-settings: "palt" 1;
    color: #666;
    transform: translateY(10px);
    transition: transform 0.3s ease;
    pointer-events: none;
    background: #fff;
    opacity: 0;
    backface-visibility: hidden;
}

.portfolio-thumb {
    overflow: hidden;
    position: relative;
}

.img-responsive {
    width: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.5s ease;
}

.img-Preparation {
    height: 260px;
}

.portfolio-img {
    margin: auto;
    height: 300px;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.5s ease;
}


.portfolio-caption {
    height: 100px;
    padding: 20px;
    text-align: center;
    background: #fff;
    position: relative;
    z-index: 2;
}

.portfolio-caption h4 {
    margin: 0 0 0px 0;
    font-size: 2.1rem;
    color: #333;
    font-weight: 600;
}

.text-muted_midashi {
    font-size: 1.85rem;
    color: #e63946;
    margin: 0;
}

.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0. 08);
}

/* .portfolio-item:hover .portfolio-img {
    transform: scale(1.05);
    filter: brightness(0.6);
} */

.portfolio-item:hover .portfolio-details-area {
    max-height: 200px;
    opacity: 1;
}

.portfolio-item:hover .portfolio-description {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-item::after {
    font-weight: bold;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 10px 20px;
    border: 1px solid #fff;
    border-radius: 50px;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    opacity: 0;
    z-index: 3;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover::after {
    opacity: 1;
}

.portfolio-caption {
    position: relative;
    padding-right: 40px;
}

.portfolio-caption::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 6px 0 6px;
    border-color: #e63946 transparent transparent transparent;
    z-index: 3;
}

.portfolio-item:hover .portfolio-caption::after {
    border-color: #333 transparent transparent transparent;
}

@media (max-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}


/* 沿革 */
.timeline {
    list-style: none;
    padding: 0;
    position: relative;
    border: #222;
}

.timeline:after {
    content: " ";
    display: table;
    clear: both;
}

.timeline:before {
    top: 0;
    bottom: 0;
    position: absolute;
    content: "";
    width: 2px;
    background-color: #f1f1f1;
    left: 50px;
    margin-left: -1.5px;
}

.timeline>li {
    margin-bottom: 50px;
    position: relative;
    min-height: 50px;
}

.timeline>li:before,
.timeline>li:after {
    content: " ";
    display: table;
}

.timeline>li:after {
    clear: both;
}

.timeline-image.item h4 {
    font-size: 1.4rem;
    line-height: 1.4;
    margin-top: 15px;
    font-weight: bold;
}

.timeline>li:last-child:before {
    content: none;
}

.timeline>li.timeline-inverted:last-child:before {
    display: none !important;
}

.timeline>li .timeline-panel {
    width: 70%;
    float: right;
    padding: 9px 20px 10px 9px;
    position: relative;
    text-align: left;
}

.timeline>li .timeline-panel:before {
    border-left-width: 0;
    border-right-width: 15px;
    left: -15px;
    right: auto;
}

.timeline>li .timeline-panel:after {
    border-left-width: 0;
    border-right-width: 14px;
    left: -14px;
    right: auto;
}

.timeline>li .timeline-image {
    left: 0;
    margin-left: 0;
    width: 100px;
    height: 100px;
    position: absolute;
    z-index: 100;
    background-color: #cc0000;
    color: white;
    border-radius: 100%;
    border: 7px solid #f1f1f1;
    text-align: center;
}

.timeline>li .timeline-image h4 {
    font-size: 10px;
    margin-top: 12px;
    line-height: 14px;
}

.timeline>li.timeline-inverted > .timeline-panel {
    float: right;
    text-align: left;
    padding: 9px 20px 10px 15px;
}

.timeline>li.timeline-inverted > .timeline-panel:before {
    border-left-width: 0;
    border-right-width: 15px;
    left: -15px;
    right: auto;
}

.timeline>li.timeline-inverted > .timeline-panel:after {
    border-left-width: 0;
    border-right-width: 14px;
    left: -14px;
    right: auto;
}

.timeline>li:last-child {
    margin-bottom: 0;
}

.timeline .timeline-heading h4 {
    margin-top: 0;
    margin-bottom: 0;
    color: inherit;
}

.timeline .timeline-heading h4.subheading {
    text-transform: none;
}

.timeline .timeline-body>p,
.timeline .timeline-body>ul {
    margin-bottom: 0;
}

.slider-wrapper {
    width: 100%;
    overflow: hidden;
}

.slider-wrapper .button-area {
    display: block;
    visibility: visible;
    text-align: center;
    margin-top: 20px;
    position: relative;
    z-index: 100;
}

.slider-wrapper .button-area .slide-btn {
    display: inline-block;
    opacity: 1;
    background: #333;
    color: #fff;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
}

.team-member {
    text-align: center;
    margin-bottom: 50px;
}

.team-member img {
    margin: 0 auto;
    border: 7px solid white;
}

.team-member h4 {
    margin-top: 25px;
    margin-bottom: 0;
    text-transform: none;
}

.team-member p {
    margin-top: 0;
}

aside.clients img {
    margin: 50px auto;
}

section#contact {
    background-color: #222222;
    background-image: url('../img/map-image.png');
    background-position: center;
    background-repeat: no-repeat;
}

section#contact .section-heading {
    color: white;
}

section#contact .form-group {
    margin-bottom: 25px;
}

section#contact .form-group input,
section#contact .form-group textarea {
    padding: 20px;
}

section#contact .form-group input.form-control {
    height: auto;
}

section#contact .form-group textarea.form-control {
    height: 236px;
}

section#contact .form-control:focus {
    border-color: #cc0000;
    box-shadow: none;
}

section#contact::-webkit-input-placeholder {
    text-transform: uppercase;
    font-weight: 700;
    color: #eeeeee;
}

section#contact:-moz-placeholder {
    text-transform: uppercase;
    font-weight: 700;
    color: #eeeeee;
}

section#contact::-moz-placeholder {
    text-transform: uppercase;
    font-weight: 700;
    color: #eeeeee;
}

section#contact:-ms-input-placeholder {
    text-transform: uppercase;
    font-weight: 700;
    color: #eeeeee;
}

section#contact .text-danger {
    color: #e74c3c;
}

ul.social-buttons {
    margin-bottom: 0;
}

ul.social-buttons li a {
    display: block;
    background-color: #222222;
    height: 40px;
    width: 40px;
    border-radius: 100%;
    font-size: 20px;
    line-height: 40px;
    color: white;
    outline: none;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

ul.social-buttons li a:hover,
ul.social-buttons li a:focus,
ul.social-buttons li a:active {
    background-color: #cc0000;
}

.btn:focus,
.btn:active,
.btn.active,
.btn:active:focus {
    outline: none;
}

.portfolio-modal .modal-content {
    border-radius: 0;
    background-clip: border-box;
    -webkit-box-shadow: none;
    box-shadow: none;
    border: none;
    min-height: 100%;
    padding: 100px 0;
    text-align: center;
}

.portfolio-modal .modal-content h2 {
    margin-bottom: 15px;
    font-size: 3em;
}

.portfolio-modal .modal-content p {
    margin-bottom: 30px;
}

.portfolio-modal .modal-content p.item-intro {
    margin: 20px 0 30px;
    font-style: italic;
    font-size: 16px;
}

.portfolio-modal .modal-content ul.list-inline {
    margin-bottom: 30px;
    margin-top: 0;
}

.portfolio-modal .modal-content img {
    margin-bottom: 30px;
}

.portfolio-modal .close-modal {
    position: absolute;
    width: 75px;
    height: 75px;
    background-color: transparent;
    top: 25px;
    right: 25px;
    cursor: pointer;
}

.portfolio-modal .close-modal:hover {
    opacity: 0.3;
}

.portfolio-modal .close-modal .lr {
    height: 75px;
    width: 1px;
    margin-left: 35px;
    background-color: #222222;
    transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    z-index: 1051;
}

.portfolio-modal .close-modal .lr .rl {
    height: 75px;
    width: 1px;
    background-color: #222222;
    transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    z-index: 1052;
}

.portfolio-modal .modal-backdrop {
    opacity: 0;
    display: none;
}

::-moz-selection {
    text-shadow: none;
    background: #0070cc;
}

::selection {
    text-shadow: none;
    background: #cc0000a1;
}

/* #cc0000 */
img::selection {
    background: transparent;
}

img::-moz-selection {
    background: transparent;
}

.frame {
    display: inline-block;
    box-shadow: 0px 0px 20px -5px rgba(0, 0, 0, 0.8);
}

#about {
    background-image: linear-gradient(
    to bottom,
    /* #DDA0DD 0%, */
    #a890d3 15%,
    #ffcc80 60%,
    #9cb9fa 85%,
    #91e691 100%
    ) !important;
    background-size: 100% 100%;
    position: relative;
    /* padding-top: 90px; */
    padding-bottom: 90px;
}

ul.timeline li {
    background: transparent;
    padding: 50px 0;
    margin-bottom: 0;
}

#about h2.section-heading {
    color: #ffffff;
}

#about .section-subheading {
    color: rgba(255, 255, 255, 0.7);
}

ul.timeline::before {
    background-color: rgba(255, 255, 255, 0.25);
}

.item {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
    margin-bottom: 50px;
}

.item.is-show {
    opacity: 1;
    transform: translateY(0);
}

.fixed-bg-text {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 19vw;
    font-weight: bold;
    color: rgba(221, 255, 255, 0.2);
    z-index: -1;
    pointer-events: none;
    white-space: nowrap;
}

.timeline-panel {
    background: white;
    padding: 20px;
    border: 2px solid #222;
}

.heading-container {
    padding: 40px 0;
    position: relative;
}

.anniversary-header {
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.section-heading {
    font-size: 3.5rem;
    font-weight: 900;
    font-family: "Noto Serif JP", sans-serif;
    letter-spacing: 0.1em;
    background: linear-gradient(to bottom,
        #8a0000 0%,
        #e60000 45%,
        #ff4d4d 50%,
        #e60000 55%,
        #8a0000 100%
        );
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        filter: drop-shadow(0px 4px 8px rgba(0, 0, 0, 0.4));
        margin: 10px 0;
}

#mainNav .brand-flex-container {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1000;
}

#mainNav .navbar-header a.navbar-brand {
    padding-right: 10px;
    margin-right: 0;
    float: none;
    height: auto;
    display: flex;
    align-items: center;
}

/* フッター */
footer {
    padding: 15px 0;
    text-align: center;
    clear: both;
    display: block;
    position: relative;
    z-index: 10;
    background-color: #cc0000;
    color: whitesmoke;
    font-size: 10px;
}

footer span.copyright {
    line-height: 40px;
    text-transform: uppercase;
    text-transform: none;
}

footer ul.quicklinks {
    margin-bottom: 0;
    line-height: 40px;
    text-transform: uppercase;
    text-transform: none;
}

@media (max-width: 1024px) {
    .col-md-4 { padding: 5px; }

    .portfolio-item { margin: 0 5px; }

    .bg-media {
        margin-top: 200px;
        width: 60%;
    }

    footer {
        padding: 30px 0;
        font-size: 24px;
    }

    .portfolio-img {
        width: 100%;
        height: auto;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        max-width: 92%;
        margin: 0 auto;
    }

    .portfolio-item-wrapper {
        grid-column: auto;
    }

    .portfolio-item-wrapper:nth-child(4),
    .portfolio-item-wrapper:nth-child(5) {
        grid-column: auto;
    }

    .portfolio-item .img-responsive {
        height: auto;
    }

    .portfolio-caption h4 {
        font-size: 2rem;
    }

    .portfolio-details-area {
        max-height: none;
        opacity: 1;
        overflow: visible;
        transform: none;
        transition: none;
    }

    .portfolio-description {
        font-size: 1.8rem;
        opacity: 1;
        transform: translateY(0);
        transition: none;
    }

    .portfolio-caption::after {
        display: none;
    }
}

@media (max-width: 767px) {
    #mainNav .eternal-bus-lane { display: none; }
    .navbar-custom.navbar-fixed-top .navbar-brand,
    .navbar-custom.navbar-shrink .navbar-brand,
    .navbar-custom.affix .navbar-brand {
        padding: 5px 10px 0 10px;
        height: 50px;
        line-height: 20px;
    }

    .col-md-4 {
        flex: 0 0 100%;
        min-width: 100%;
        padding: 0 20px;
    }

    #loop-track { display: flex; }
    .hero-text h1 {
        font-size: 2.2rem;
        padding-left: 10px;
    }

    .hero-text p {
        font-size: 0.9rem;
        display: flex;
        flex-wrap: wrap;
        align-content: center;
        justify-content: center;
        height: 620px;
    }

    .bg-media {
        margin-top: 90px;
        width: 40%;
    }

    p > .bg-media { width: 60%; }
    #heroCanvas { background-size: cover; }
    .sp-only { display: inline; }
    .section-heading {
        line-height: 1.4;
        text-align: center;
        font-size: 1.5rem;
    }

    .navbar-collapse {
        padding: 15px 30px;
    }

    footer {
        padding: 25px 0;
        font-size: 18px;
    }

    footer span.copyright {
        line-height: 1.5;
        display: block;
        margin-bottom: 10px;
    }

    .timeline {
        padding-bottom: 120px;
    }
}

@media (max-width: 430px) {
    p > .bg-media {
        width: 100%;
    }

    .hero-text h1 { font-size: 1.5rem; }

    footer {
        padding: 20px 0;
        font-size: 14px;
    }

    .portfolio-grid-container {
        padding: 40px 10px;
    }

    .portfolio-grid {
        max-width: 100%;
    }

    .portfolio-caption h4 {
        font-size: 2.0rem;
    }

    .text-muted_midashi {
        font-size: 1.5rem;
    }

    .portfolio-description {
        font-size: 1.6rem;
    }
}

@media (min-width: 768px) {
    .navbar-custom {
        background-color: #222222;
        padding: 12px;
        border-radius: 100px;
        transition: padding 0.3s;
        border: none;
        width: calc(100% - 40px);
        height: 90px;
        top: 6px;
        margin: 0 auto;
    }

    .navbar-custom.navbar-brand {
        font-size: 10em;
        transition: all 0.3s;
    }

    .navbar-custom .navbar-nav > .active > a {
        border-radius: 3px;
    }

    .navbar-custom .navbar-brand {
        font-size: 1.5em;
    }
    header .intro-text {
        padding-top: 300px;
        padding-bottom: 200px;
    }

    header .intro-text .intro-lead-in {
        font-style: italic;
        font-size: 40px;
        line-height: 40px;
        margin-bottom: 50px;
    }

    header .intro-text .intro-heading {
        text-transform: uppercase;
        font-weight: 700;
        font-size: 75px;
        line-height: 75px;
        margin-bottom: 0px;
    }

    /* section { padding: 100px 0; } */

    footer {
        padding: 40px 0;
        font-size: 30px;
    }
}

@media (min-width: 1025px) {
    .timeline:before { left: 50%; }

    .timeline > li {
        margin-bottom: 100px;
        min-height: 170px;
    }

    .timeline > li .timeline-panel {
        width: 37%;
        float: left;
        text-align: right;
        padding: 10px 20px 20px 20px;
    }

    .timeline > li .timeline-image {
        position: absolute;
        left: 50%;
        width: 170px;
        height: 170px;
        margin-left: -85px;
    }

    .timeline > li .timeline-image h4 {
        font-size: 18px;
        margin-top: 40px;
        line-height: 26px;
    }

    .timeline > li.timeline-inverted > .timeline-panel {
        float: right;
        text-align: left;
        padding: 10px 100px 20px 20px;
    }

    footer ul.quicklinks li {
        display: inline-block;
        margin: 0 15px;
    }
}