/* ローディング画面
================================================== */
#loading {
    width: 100vw;
    height: 100vh;
    transition: all 0.5s;
    background: #222;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
}
.spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}
.spinner > div {
    width: 8px;
    height: 8px;
    margin-left: 10px;
    margin-right: 10px;
    background-color: #fff;
    border-radius: 100%;
    display: inline-block;
    -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
    animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}
.spinner .bounce1 {
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}
.spinner .bounce2 {
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}
@-webkit-keyframes sk-bouncedelay {
    0%, 80%, 100% { -webkit-transform: scale(0.5) }
    40% { -webkit-transform: scale(1.0) }
}
@keyframes sk-bouncedelay {
    0%, 80%, 100% {
        opacity: 0;
        -webkit-transform: scale(0.5);
        transform: scale(0.5);
    } 40% {
        opacity: 1;
        -webkit-transform: scale(1.0);
        transform: scale(1.0);
    }
}
.spinner .text {
    margin-left: 8px;
    margin-top: 20px;
    font-family: 'bebas';
    color: #fff;
    font-size: 10px;
    letter-spacing: 0.7em;
    text-align: center;
}
.loaded {
    opacity: 0;
    visibility: hidden;
}



/* スライダー
================================================== */
.slider_wrap {
    position: relative;
}
#slide_layer1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

#slide_layer2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}
#slide_layer1 img, #slide_layer2 img {
    width: 100%;
}

#tp_main_bg h1 {
    font-size: 40px;
    font-weight: bold;
    letter-spacing: 0.1em;
    line-height: 1.4em;
}
@media only screen and (max-width: 767px) {
    .tp_main_en {
        margin-top: 30px;
        font-size: 11px;
        letter-spacing: 0.5em;
        margin-bottom: 30px;
    }
    #tp_main_bg h1 {
        font-size: 28px;
        text-align: center;
    }
}



/* 共通
================================================== */
h2 {
    font-family: "Noto Sans JP", serif;
    font-optical-sizing: auto;
    font-weight: 900;
    font-style: normal;
    color: #0050b0;
    font-size: 50px;
    line-height: 1.2em;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}
h2 small {
    font-family: 'Yu Gothic Medium', '游ゴシック Medium', YuGothic, 'ヒラギノ角ゴ Pro', Hiragino Kaku Gothic Pro, '游ゴシック体', 'メイリオ', Meiryo sans-serif !important;
    font-weight: bold;
    font-feature-settings: "palt";
    color: #222;
    font-size: 24px;
    vertical-align: middle;
}
h3 {
    font-size: 32px;
    font-weight: bold;
    line-height: 1.2em;
    margin-bottom: 20px;
}
@media only screen and (max-width: 767px) {
    h2 {
        font-size: 28px;
        line-height: 1.3em;
        margin-bottom: 15px;
        text-align: center;
    }
    h2 small {
        font-size: 19px;
        line-height: 1.3em;
    }
    h3 {
        font-size: 28px;
        font-weight: bold;
        line-height: 1.2em;
        margin-bottom: 10px;
    }
}

.lead {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
}
@media only screen and (max-width: 767px) {
    .lead {
        font-size: 19px;
        line-height: 1.3em;
        margin-bottom: 15px;
    }
}



/* メイン
================================================== */
body {
    background: #f0f0f0;
}
#tp_main_bg {
    margin-top: -130px;
    padding: 80px 0;
    position: relative;
    z-index: 100;
}
.tp_main {
    background: #222;
    margin-left: calc(50% - 50vw);
}
.tp_main .tp_main_img {
    margin-top: -135px;
    text-align: center;
}
.tp_main .inner {
    padding: 50px;
    max-width: 1200px;
    margin-left: auto;
}
.tp_main .inner .circle {
    margin-top: -135px;
}
.tp_main .inner h2 {
    margin-top: 30px;
    color: #fff;
    font-size: 40px;
    text-align: right;
}
.tp_main .inner p {
    color: #fff;
}
@media only screen and (max-width: 767px) {
    #tp_main_bg {
        margin-top: 0;
        padding: 0 0;
    }
    .tp_main {
        margin-left: 0;
        position: static;
        margin: 0 calc(50% - 50vw);
        width: 100vw;
    }
    .tp_main .tp_main_img {
        margin-top: 0;
        text-align: center;
    }
    .tp_main .inner {
        padding: 20px;
        max-width: auto;
        margin-left: auto;
    }
    .tp_main .inner .circle {
        margin-top: -30px;
    }
    .tp_main .inner h2 {
        margin-top: 20px;
        font-size: 30px;
        text-align: center;
    }
}

/* 在庫リスト */
.tp_stocklist_bg {
    margin-top: 5px;
    background: #0050b0;
    margin-left: calc(50% - 50vw);
}
ul.tp_stocklist {
    max-width: 1200px;
    margin-left: auto;
    padding: 20px 50px 0 0;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
ul.tp_stocklist li.title {
    width: calc(20% - 1px);
    height: 100%;
}
ul.tp_stocklist li.title h3 {
    padding: 70px 0;
    font-family: "Noto Sans JP", serif;
    font-optical-sizing: auto;
    font-weight: 900;
    font-style: normal;
    color: #fff;
    font-size: 34px;
    text-align: center;
    border-right: 1px solid #fff;
}
ul.tp_stocklist li.cont {
    width: calc(80% - 80px);
    padding: 0 40px 15px 40px;
}
ul.tp_stocklist li.cont .box {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 5px;
}
ul.tp_stocklist li.cont .box .type {
    width: 35%;
}
ul.tp_stocklist li.cont .box .type p {
    color: #fff;
    font-weight: bold;
    font-size: 24px;
    line-height: 1.2em;
}
ul.tp_stocklist li.cont .box .type p small {
    font-size: 16px;
}
ul.tp_stocklist li.cont .box .stock {
    width: 65%;
}
ul.tp_stocklist li.cont .box .stock p.state {
    padding: 15px 0;
    color: #333;
    font-size: 40px;
    font-weight: bold;
    background: #fff;
    text-align: center;
    line-height: 1em;
}
ul.tp_stocklist li.cont .box .stock p.state small {
    font-size: 24px;
    vertical-align:middle;
}
ul.tp_stocklist li.cont p.notice {
    margin-top: 10px;
    color: #fff;
    font-size: 13px;
    text-align: right;
}
ul.tp_stocklist li.cont p.notice a {
    font-weight: bold;
    text-decoration: underline;
}
@media only screen and (max-width: 767px) {
    .tp_stocklist_bg {
        margin-top: 3px;
        margin: 0 calc(50% - 50vw);
        margin-top: 3px;
        width: 100vw;
    }
    ul.tp_stocklist {
        padding: 20px 20px 20px 20px;
        display: block;
    }
    ul.tp_stocklist li.title {
        width: 100%;
        height: auto;
    }
    ul.tp_stocklist li.title h3 {
        padding: 0;
        font-size: 20px;
        text-align: center;
        border-right: none;
        margin-bottom: 10px;
        padding-bottom: 10px;
        border-bottom: 1px solid #fff;
    }
    ul.tp_stocklist li.cont {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
        font-size: 20px;
    }
    ul.tp_stocklist li.cont .box {
        display: block;
        margin-bottom: 15px;
    }
    ul.tp_stocklist li.cont .box .type {
        width: 100%;
    }
    ul.tp_stocklist li.cont .box .type p {
        font-size: 20px;
        text-align: center;
    }
    ul.tp_stocklist li.cont .box .type p small {
        font-size: 13px;
    }
    ul.tp_stocklist li.cont .box .stock {
        width: 100%;
    }
    ul.tp_stocklist li.cont .box .stock p.state {
        padding: 10px 0;
        font-size: 30px;
    }
    ul.tp_stocklist li.cont .box .stock p.state small {
        font-size: 16px;
    }
    ul.tp_stocklist li.cont p.notice {
        margin-top: 10px;
        color: #fff;
        font-size: 13px;
        text-align: left;
    }

    ul.tp_stocklist li.stock p.notice {
        margin-top: 5px;
        font-size: 11px;
        text-align: left;
        text-indent: -1em;
        margin-left: 1em;
    }
}



/* 選べる2タイプ
================================================== */
#tp_product_bg {
    padding: 0 0 80px 0;
    background: #f0f0f0;
}
.tp_product {
    position: relative;
}
.tp_product_en {
    position: absolute;
    top: 0;
    right: 0;
    font-family: bebas;
    color: #fff;
    font-size: 150px;
    line-height: 0.8em;
    text-align: right;
}
.tp_product_item {
    display: flex;
    flex-wrap: wrap;
    width: calc(100% + 40px);
    margin-left: -20px;
    position: relative;
    z-index: 1;
}
.tp_product_item .box {
    margin: 0 20px 40px 20px;
    width: calc(50% - 40px);
}
.tp_product_item .box .name {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
}
.tp_product_item .box .price {
    color: #f30;
    font-family: arial;
    font-size: 40px;
    font-weight: bold;
    line-height: 1em;
    text-align: center;
}
.tp_product_item .box .price small {
    font-size: 60%;
}
.tp_product_item .box .size {
    margin-top: -10px;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
}
.tp_product_item .box .tax {
    font-size: 14px;
    font-weight: bold;
    text-align: center;
}
.tp_product .column1 {
    margin-top: 20px;
    padding: 20px;
    background: #fff;
}
@media only screen and (max-width: 767px) {
    #tp_product_bg {
        padding: 0 0 0 0;
    }
    .tp_product {
        position: static;
    }
    .tp_product_en {
        position: static;
        margin-bottom: -10px;
        font-size: 40px;
        text-align: center;
    }
    .tp_product_item {
        width: calc(100% + 20px);
        margin-left: -10px;
    }
    .tp_product_item .box {
        margin: 20px 10px 40px 10px;
        width: calc(50% - 20px);
    }
    .tp_product_item .box .photo {
        text-align: center;
    }
    .tp_product_item .box .name {
        margin-top: 10px;
        font-size: 16px;
    }
    .tp_product_item .box .price {
        font-size: 24px;
    }
    .tp_product_item .box .size {
        font-size: 12px;
    }
    .tp_product_item .box .tax {
        font-size: 12px;
    }
}



/* オプション
================================================== */
#tp_option_bg {
    padding: 0 0 80px 0;
    background: #f0f0f0;
}
.tp_option {
    position: relative;
}
.tp_option_en {
    position: absolute;
    top: 0;
    left: 0;
    font-family: bebas;
    color: #fff;
    font-size: 150px;
    line-height: 0.8em;
    text-align: left;
}
.tp_option_main {
    position: relative;
    z-index: 1;
}
@media only screen and (max-width: 767px) {
    #tp_option_bg {
        padding: 0 0 0 0;
    }
    .tp_option {
        position: static;
    }
    .tp_option_en {
        position: static;
        margin-bottom: -10px;
        font-size: 40px;
        text-align: center;
    }
}



/* 設置事例
================================================== */
#tp_example_bg {
    padding: 150px 0 80px;
    background: #fff;
}
.tp_example_en {
    font-family: bebas;
    color: #f0f0f0;
    font-size: 150px;
    line-height: 0;
    text-align: right;
    margin-bottom: -30px;
}
@media only screen and (max-width: 767px) {
    #tp_example_bg {
        padding: 30px 0;
    }
    .tp_example_en {
        margin-top: 30px;
        font-size: 40px;
        text-align: center;
        margin-bottom: 0;
    }
}

.tp_example {
    margin-top: 30px;
    margin-right: calc(50% - 50vw);
    overflow: hidden;
}
.tp_example_wrap {
  margin-left: auto;
  margin-right: auto;
}
.swiper {
  overflow: visible;
  padding-right: 40px !important;
}
.tp_example .text {
    margin-top: 10px;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 0;
    line-height: 1.3em;
}
.tp_example .text small {
    font-size: 13px;
    font-weight: normal;
    line-height: 1.2em;
}
.swiper_btn_wrap {
    display: flex;
}
.swiper-button-prev,
.swiper-button-next {
    position: static !important;
    margin-top: 0 !important;
    display: block !important;
}
.swiper-button-prev:hover,
.swiper-button-next:hover {
    opacity: 0.8 !important;
}
.swiper-button-prev {
    margin-right: 20px;
}
.swiper-button-prev.swiper-button-disabled,
.swiper-button-next.swiper-button-disabled {
    opacity: 0.2 !important;
}
@media only screen and (max-width: 767px) {
    .tp_example_wrap {
      margin-left: auto;
      margin-right: auto;
    }
    .swiper {
      overflow: visible;
      padding-right: 40px !important;
    }
    .swiper img {
        border-radius: 10px;
    }
    .tp_example .text {
        margin-top: 10px;
        font-size: 16px;
        line-height: 1.3em;
    }
    .tp_example .text small {
        font-size: 13px;
    }
    .swiper_btn_wrap {
        display: none;
    }
}



/* フォトギャラリー
================================================== */
#tp_gallery_bg {
    padding: 170px 0;
    background: url(../img/tp_gallery_bg.jpg) center center no-repeat;
    background-size: cover;
}
#tp_gallery_bg .en {
    font-family: 'bebas';
    color: #fff;
    font-size: 90px;
    text-align: center;
}
#tp_gallery_bg .lead {
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
}
@media only screen and (max-width: 767px) {
    #tp_gallery_bg {
        padding: 100px 0;
    }
    #tp_gallery_bg .en {
        font-size: 40px;
    }
    #tp_gallery_bg .lead {
        font-size: 16px;
    }
}


/* 工場見学
================================================== */
#tp_quality_bg {
    padding: 80px 0;
    background: #f0f0f0;
}
#tp_quality_bg h2 {
    text-align: center;
}
#tp_quality_bg p.notice {
    margin-top: 15px;
    color: #f30;
    font-weight: bold;
}
#tp_quality_bg .column {
    padding: 30px;
    background: #fff;
}
#tp_quality_bg .column p {
    color: #333;
}
@media only screen and (max-width: 767px) {
    #tp_quality_bg {
        padding: 30px 0;
    }
    #tp_quality_bg h3 {
        font-size: 20px;
        text-align: center;
    }
}
