﻿:root {
    --main-color: #8495A5;
    --item-min-width: 400px;
}

#layout-body {
    margin: 0;
    color: white;
    min-width: 440px;
    font-family: Arial;
}
#layout-body a {
    color: white;
}

#layout-header {
    background-color: var(--main-color);
    min-height: 200px;
    position: relative;
}

#layout-main {
    min-height: 800px;
}

#layout-footer {
    background-color: var(--main-color);
    min-height: 50px;
    margin-top: 10px;
}

.yukiko-title {
    font-family: 'Aclonica', sans-serif;
    font-size: 60px;
    margin-top: 5px;
    margin-left: 40px;
    display: inline-block;
    vertical-align: top;
}

    .yukiko-title a {
        text-decoration: none;
    }

.yukiko-header-info {
    font-size: 18px;
    margin-right: 40px;
    position: absolute;
    right: 0;
    top: 0;
}

    .yukiko-header-info p {
        margin: 10px;
    }

.yukiko-header-info-address {
    line-height: 25px;
}

.main-info {
    background-size: cover;
    background-position: center center;
    min-height: 400px;
    position: relative;
    text-align: center;
    overflow: hidden;
}

.main-info-others {
    background-position: center 30%;
}

.main-info-siding {
    background-position: center 60%;
}

.main-company-img {
    position: absolute;
    top: 50%;
    left: 50%;
    height: 320px;
    width: auto;
    transform: translate(-50%, -50%);
}

.about-company-img {
    text-align: center;
}
    .about-company-img img {
        width: calc(2 * var(--item-min-width));
    }

.bold {
    font-weight: bold;
}

.main-title {
    max-width: 800px;
    min-width: var(--item-min-width);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -100px);
}

    .main-title h1 {
        font-family: 'Aclonica', sans-serif;
        border-bottom: 15px solid #B5C4D3;
        font-size: 60px;
        margin-bottom: 10px;
    }

    .main-title h2 {
        font-size: 40px;
        margin-top: 10px;
        margin-bottom: 20px;
    }

    .main-title h3 {
        font-size: 30px;
        margin-top: 10px;
    }

.main-subinfo {
    background-color: var(--main-color);
    width: 100%;
    text-align: center;
    padding: 10px 0 10px 0;
}

    .main-subinfo p {
        font-size: 20px;
        margin: 0;
    }

    .main-subinfo p:first-child {
        margin-bottom: 10px;
    }

.second-info {
    background-color: var(--main-color);
    text-align: center;
    margin-top: 10px;
    padding-top: 10px;
}

    .second-info h1 {
        margin: 0;
    }

.second-info-lone {
    padding-top: 0;
}

.second-info-text {
    display: inline-block;
    max-width: 1600px;
    min-width: var(--item-min-width);
    font-size: 20px;
    text-align: justify;
    margin: 10px;
}

.second-images img {
    display: inline-block;
    width: var(--item-min-width);
    margin: 10px;
}

.subcategory-title {
    transform: translate(-50%, -50px);
}

.gloves-info-text {
    max-width: 800px;
    vertical-align: top;
}

.gloves-info-video {
    display: inline-block;
    margin-top: 10px;
    margin-right: 25px;
}

    .gloves-info-video iframe {
        width: var(--item-min-width);
        height: 250px;
    }

.ul-nav-wrapper {
    width: 100%;
    text-align: center;
    position: absolute;
    bottom: 0;
}

    .ul-nav-wrapper ul {
        margin: 0;
        font-size: 0;
        padding: 0;
    }

    .ul-nav-wrapper li {
        display: inline-block;
        font-size: 20px;
        width: 180px;
        line-height: 50px;
    }

    .ul-nav-wrapper a {
        text-decoration: none;
        display: block;
    }

    .ul-nav-wrapper li:hover {
        background-color: #B5C4D3;
    }

.items-container-content {
    text-align: center;
}

.item-content {
    background-color: var(--main-color);
    display: inline-block;
    margin: 10px;
    border-radius: 10px;
    padding: 5px 0 5px 0;
}

.item-content-admin {
    text-align: center;
    vertical-align: top;
}

.gloves-item {
    width: var(--item-min-width);
    height: 280px;
}

    .gloves-item img {
        height: 150px;
    }

.fibros-item {
    width: var(--item-min-width);
    height: 415px;
}

    .fibros-item img {
        width: 350px;
        margin-left: 18px;
    }

.siding-item {
    width: var(--item-min-width);
    height: 415px;
}

    .siding-item img {
        width: 300px;
        margin-left: 42px;
    }

.complect-item {
    width: var(--item-min-width);
    height: 415px;
}

    .complect-item img {
        width: 350px;
        margin-left: 18px;
    }

.ventilation-item {
    width: var(--item-min-width);
    height: 200px;
}

    .ventilation-item img {
        width: 150px;
    }

.others-item {
    width: var(--item-min-width);
    height: 210px;
}

    .others-item img {
        max-width: 260px;
        max-height: 160px;
    }

.others-title {
    padding: 30px;
}

.gallery-item {
    width: var(--item-min-width);
    height: 350px;
}

    .gallery-item img {
        width: 350px;
        margin-left: 18px;
    }

.news-item {
    min-width: var(--item-min-width);
    height: auto;
    margin-top: 0;
}
.news-image-block {
    float: left;
}
    .news-image-block img {
        max-width: 350px;
        max-height: 350px;
        margin: 10px;
    }
.news-desc {
    width: auto;
    text-align: justify;
    margin: 10px;
    font-size: 20px;
}

.news-content-header {
    display: inline-block;
}
.news-content-items img, video {
    display: inline-block;
    height: 300px;
    max-width: var(--item-min-width);
    margin: 10px;
}

.item-title {
    font-size: 20px;
}

.item-table {
    margin: 5px;
}

.item-desc {
    vertical-align: top;
    white-space: pre-line;
    text-align: justify;
}

.form-frame {
    background-color: var(--main-color);
    border-radius: 10px;
    margin: 10px;
    padding: 10px;
    width: 350px;
    display: inline-block;
}

    .form-frame img {
        width: 150px;
        height: 150px;
    }

    .form-frame label {
        width: 300px;
    }

    .form-frame textarea {
        width: 300px;
        height: 200px;
    }

.a-section {
    margin-top: 10px;
    display: block;
    text-decoration: none;
}

.a-button-wrapper {
    background-color: var(--main-color);
    border-radius: 10px;
    padding: 2px;
    margin: 10px 0 0 10px;
    width: 120px;
    line-height: 20px;
    display: inline-block;
    text-align: center;
}

    .a-button-wrapper a {
        text-decoration: none;
        display: block;
    }

    .a-button-wrapper:hover {
        background-color: #B5C4D3;
    }

.map-element {
    width: 100%;
    height: 600px;
}

.paginator-container {
    text-align: center;
    margin: 10px;
}
.paginator-element {
    background-color: var(--main-color);
    display: inline-block;
    width: 60px;
    line-height: 40px;
    border-radius: 12px;
    margin: 0 5px 0 5px;
}
    .paginator-element a {
        text-decoration: none;
        display: block;
        font-size: 20px;
    }

@media(max-width: 1280px) {
    #layout-header {
        min-height: 250px;
    }
}

@media(max-width: 930px) {
    #layout-header {
        min-height: 350px;
    }

    .yukiko-title {
        margin-left: 10px;
    }

    .yukiko-header-info {
        display: block;
        margin-left: 10px;
        margin-right: initial;
        position: initial;
    }

    .ul-nav-wrapper {
        width: 180px;
        text-align: right;
        right: 0;
    }

        .ul-nav-wrapper ul {
            margin-right: 10px;
        }

        .ul-nav-wrapper li {
            display: initial;
        }

    .main-company-img {
        height: 180px;
    }

    .about-company-img img {
        width: var(--item-min-width);
    }
}

@media(max-width: 700px) {
    .yukiko-title {
        width: 100px;
    }
    .news-image-block {
        float: initial;
    }
    .news-desc {
        display: inline-block;
    }
}
