/*
Theme Name: STINGER8 Child
Template: stinger8
Version: 20170614
*/

.st-main {
    padding: 0;
    margin: 80px 0 0 0;
}

/*----------------------COMMON SETTINGS↓-----------------------*/

body {
    min-width: 320px;
    word-wrap: break-word;
    background-color: #fff;
}

.wrap1000 {
    max-width: 1000px;
    margin: 0 auto;
}

.pc_only {
    display: block;
}

.sp_only {
    display: none;
}

* {
    font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif !important;
    box-sizing: border-box;
}

p {
    font-size: 17px;
    margin: 0;
    line-height: 1.8em;
    text-align: justify;
}

.m50 {
    padding: 50px 0;
}

.mt50 {
    padding-top: 50px;
}

.m100 {
    padding: 100px 0;
}

.mb100 {
    padding-bottom: 100px;
}

a {
    text-decoration: none;
}

/*
a {
	-webkit-transition: 0.5s;
	transition: 0.5s;
}

a:hover {
	opacity: 0.6;
}
*/

.btn_header {
    display: inline-block;
    width: 200px;
    text-align: center;
    background-color: #074398;
    border: 2px solid #074398;
    font-size: 18px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    padding: 15px;
    -webkit-transition: .5s;
    transition: .5s;
    letter-spacing: 0.1em;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
    border-radius: 100px;
    transition: ease .3s;
}

.blue_bg {
    background-color: #F2F8FF;
}

.white_bg {
    background-color: #fff;
}

/*----------------------------------------↑COMMOM SETTINGS END*/



/*--------------------------HEADER↓---------------------------*/

#top-head {
    height: 80px;
    line-height: 1;
    z-index: 999;
    top: 0px;
    position: fixed;
    width: 100%;
    margin: 0 auto;
    background-color: #ffffff;
    -webkit-box-shadow: 0px 1px 11px -5px #333333;
    box-shadow: 0px 1px 11px -5px #333333;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.header_inner {
    width: 1280px;
    margin: auto;
    padding: 0 15px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

h1.header_logo {
    margin: 0;
}

h1.header_logo img {
    width: 300px;
}

#top-head a {
    text-decoration: none;
}

#global-nav ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
}

#global-nav ul li {
    margin-right: 20px;
    list-style: none;
}

#global-nav ul li:last-child {
    margin-right: 0px;
}

#global-nav ul li a {
    color: #000;
    font-weight: bold;
}

a.btn_contact {
    border: 2px solid #074398;
    background-color: #074398;
    padding: 15px;
    color: #fff;
    font-weight: bold;
    border-radius: 100px;
    width: 200px;
    text-align: center;
}

.btn_contact:hover {
    border: 2px solid #074398;
    background-color: #fff;
    color: #074398;
    transition: all .3s;
}

nav#global-nav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

/*Toggle Button */
div#nav-toggle {
    display: none;
}

#nav-toggle div {
    position: relative;
}

#nav-toggle span {
    display: block;
    position: absolute;
    height: 4px;
    width: 100%;
    background: #074398;
    left: 0;
    -webkit-transition: .35s ease-in-out;
    transition: .35s ease-in-out;
}

#nav-toggle span:nth-child(1) {
    top: 0;
}

#nav-toggle span:nth-child(2) {
    top: 11px;
}

#nav-toggle span:nth-child(3) {
    top: 22px;
}

#page-top {
    position: fixed;
    z-index: 9999;
    bottom: 20px;
    right: 20px;
    font-size: 20px;
}

/*------------------------------------------↑HEADER END*/



/*-----------------------MAIN↓-----------------------*/
div#st-ami {
    padding: 0;
    margin: 80px 0 0 0;
}

/*top*/
.top_wrap {
    position: relative;
    min-height: calc(100vh - 80px);
    width: 100%;
    background-image: url(images/top_v.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: left;
}

.top_v_message {
    position: absolute;
    top: 50%;
    right: 0%;
    transform: translate(-50%, -50%);
    width: 28vw;
    max-width: 600px;
    min-width: 200px;
}

.top_v_message img {
    width: 100%;
    vertical-align: middle;
}

.top_v_message h2,
.top_v_message h3,
.top_v_message h4 {
    text-align: center;
}

.top_v_message h2,
.top_v_message h3 {
    font-family: "Roboto" !important;
}

.top_v_message h2 {
    background-color: transparent;
    color: #fff;
    border: 0;
    padding: 0;
    margin: 0;
    font-size: 13vw;
}

.top_v_message h3 {
    color: #fff;
    font-size: 4.5vw;
}

.top_v_message h4 {
    font-size: 5.2vw;
    color: #fff;
}

.area_ttl {
    text-align: center;
    color: #074398;
    font-weight: bold;
    margin-bottom: 15px;
}

.area_ttl h5 {
    font-family: "Roboto";
    font-size: 35px;
    letter-spacing: 3px;
}

.area_ttl p {
    font-size: 18px;
    text-align: center;
}

.area_ttl_underline {
    border: 1px solid #074398;
    width: 100px;
    margin: auto;
    margin-bottom: 50px;
}

.concept_l_inner img {
    width: 350px;
}

.concept_l_inner img img {
    width: 100%;
}

.concept_r_inner ul li {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.concept_r_inner ul li:last-child {
    margin-bottom: 0px;
}

.concept_flexbox {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 50px;
}

.concept_r_inner h4 {
    width: 200px;
    text-align: center;
    color: #fff;
    margin-right: 20px;
    font-size: 30px;
    border-radius: 5px;
    font-weight: bold;
    padding: 10px;
    background-color: #074398;
    margin-right: 20px;
}

.concept_r_inner p {
    width: 320px;
    color: #074398;
    border: 1px solid #074398;
    padding: 15px;
    border-radius: 5px;
    background-color: #fff;
    font-size: 18px;
}

span.f_blue {
    color: #074398;
    font-weight: bold;
}

.mission_text h6 {
    font-weight: bold;
    font-size: 50px;
    color: #074398;
    text-align: center;
    margin-bottom: 50px;
}

.notice_flexbox {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-bottom: 100px;
}

.notice_flexbox:after {
    display: block;
    content: "";
    width: calc(100% / 3 - 20px);
}

.notice_flexbox:(3n) {
    justify-content: none;
}

.notice_flexbox:last-child {
    padding-bottom: 0px;
}

.notice_inner {
    width: calc(100% / 3 - 20px);
}

.notice_inner:nth-child(3n) {
    margin-bottom: 50px;
}


.notice_inner p {
    color: #074398;
    font-weight: bold;
}

.notice_border_left {
    border-left: 2px solid #074398;
    margin-top: 10px;
    padding-left: 10px;
}

.company_name {
    padding-bottom: 30px;
}

.company_name p {
    color: #333;
    font-size: 24px;
}

.btn_main,
input.wpcf7-form-control.has-spinner.wpcf7-submit {
    display: inline-block;
    width: 100%;
    text-align: center;
    background-color: #074398;
    border: 2px solid #074398;
    font-size: 17px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    padding: 20px 15px;
    -webkit-transition: .5s;
    transition: .5s;
    letter-spacing: 0.1em;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
    border-radius: 100px;
    transition: ease .3s;
}

.btn_main:after,
input.wpcf7-form-control.has-spinner.wpcf7-submit:after {
    content: '';
    /*絶対配置で矢印の位置を決める*/
    position: absolute;
    top: 38%;
    right: 25px;
    /*矢印の形状*/
    width: 12px;
    height: 12px;
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
    transform: rotate(45deg);
    /*アニメーションの指定*/
    transition: all .3s;
}

.btn_main:hover,
input.wpcf7-form-control.has-spinner.wpcf7-submit:hover {
    background-color: transparent;
    border-color: #074398;
    color: #074398;
    opacity: 1;
}

.w_50,
input.wpcf7-form-control.has-spinner.wpcf7-submit {
    width: 50%;
    margin: auto;
    display: block;
}

.btn_main:hover:after,
input.wpcf7-form-control.has-spinner.wpcf7-submit:hover:after {
    right: 20px;
    color: #074398;
    border-top: 1px solid #074398;
    border-right: 1px solid #074398;
}

/*会社概要*/
table.table_history {
    width: 100%;
}

table tr td,
table th {
    border-bottom-color: #074398 !important;
}

.table_history th {
    color: #074398;
    font-weight: bold;
}

.table_history td {
    color: #000;
    font-weight: normal;
}

.table_history th,
.table_history td {
    vertical-align: middle;
    font-size: 17px;
    border-left: none;
    padding: 20px 0;
}

/*楽天市場*/
.product_flexbox {
    display: flex;
    justify-content: center;
    align-items: center;
}

.product_l_inner img {
    width: 380px;
}

.product_l_inner,
.product_r_inner {
    width: 45%;
}

.product_r_inner {
    text-align: center;
}

.product_r_inner p {
    font-size: 23px;
    margin-bottom: 20px;
    text-align: center;
}

/*お問い合わせ*/
.contact_inform {
    margin-bottom: 50px;
}

.contact_inform p {
    font-size: 23px;
    text-align: center;
}

a.cnt_tel {
    color: #c1272d;
    font-weight: bold;
    font-size: 20px;
}

.contact_message {
    text-align: center;
    margin-bottom: 20px;
}

table.inquiry {
    margin-top: 100px;
}

input#formbtn {
    color: #333333;
    background-color: #ffffff;
    border-radius: 100px;
    border: 1px solid #333333;
}

input#formbtn:hover {
    color: #ffffff;
    background-color: #333333;
    transition: 0.5s;
}

.wpcf7-spinner {
    display: none;
}

/*デフォルトで設定してあったもの*/
.submit_btn {
    padding: 50px 0 0 0;
}

/*送信後にボタンを削除する設定*/
.sent .after_submit {
    display: none;
}

/*送信後にフォームを削除する設定*/
form.sent table {
    display: none;
}

.wpcf7 form.sent .wpcf7-response-output {
    background-color: #46b450;
    color: #ffffff;
    padding: 10px;
    text-align: center;
    margin: 0;
    border: 0;
    padding: 30px;
}

span.inquiry,
span.unnecessary {
    font-weight: normal;
}

table.inquiry_parent {
    width: 100%;
    margin-top: 0;
}

table.inquiry_parent,
th.inquiry,
td.inquiry {
    border: none;
}

table tr .inquiry {
    padding: 0 0 20px 0 !important;
}

.inquiry_parent tr:last-child th,
.inquiry_parent tr:last-child td {
    padding-bottom: 0 !important;
}

th.inquiry {
    padding: 0px;
}

span.inquiry,
span.unnecessary,
input.wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required.text,
textarea.wpcf7-form-control.wpcf7-textarea.wpcf7-validates-as-required.content {
    font-size: 17px;
}

span.inquiry:before {
    content: "必須";
    border-radius: 3px;
    color: #ffffff;
    background: #cc0000;
    padding: 5px 10px;
    margin-right: 10px;
    font-size: 13px;
}

span.unnecessary:before {
    content: "任意";
    border-radius: 3px;
    background: #666666;
    color: #ffffff;
    margin-right: 10px;
    font-size: 13px;
    padding: 5px 10px;
}

.wpcf7 form.invalid .wpcf7-response-output {
    background-color: #c1272d;
    text-align: center;
    color: #ffffff;
    margin: 0;
    padding: 20px;
    border: none;
}

.pre h2 {
    background: none;
    font-size: 25px;
}

.pre {
    border: 1px solid #333;
    padding: 50px;
    margin: 100px 0px;
}



/*スクロール時表示されるボタン*/
#page-top a {
    text-decoration: none;
    background: #fff;
    border: 1px solid #074398;
    color: #074398;
    border-radius: 100px;
    text-align: center;
    display: block;
}

.fa-angle-up:before {
    /* display: inline-block; */
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/*新着*/

.swiper-container {
    width: 100%;
    position: relative;
}

.news_swiper {
    overflow: hidden;
}

.swiper-wrapper {
    padding-bottom: 50px;
}

.c-container {
    position: relative;
    margin-left: auto;
    margin-right: auto;
}

.swiper-button-prev,
.swiper-button-next {
    color: #074398 !important;
    opacity: .5;
}

.swiper-slide .post__thumb--img a {
    padding-top: 62.5%;
    width: 100%;
    display: block;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

figure.post__thumb--img {
    margin: 0;
}

.content_block,
.meta-block {
    font-size: 16px;
}

.meta-block {
    margin: 5px 0;
}

.text-block {
    font-size: 20px;
    margin-top: 5px;
}

span.inform,
span.product {
    padding: 5px 10px;
    border-radius: 3px;
    margin-left: 5px;
}

span.inform {
    background-color: #1B9A94;
}

span.product {
    background-color: #FFA726;
}

span.cat {
    color: #fff;
    font-size: 12px;
}

span.uncategorized {
    background-color: red;
}

span.notice {
    background: #0075c2;
    padding: 3px 8px;
}

span.global {
    background: #ff6a00;
    padding: 3px 8px;
}

span.event {
    background: #364f6b;
    padding: 3px 8px;
}

span.club {
    background: #3498db;
    padding: 3px 8px;
}

span.date {
    font-weight: bold;
    color: #333;
}

.content_block {
    color: #333;
}

.news_thumbnail {
    margin-bottom: 10px;
}

.news_ttl a {
    text-decoration: none;
    font-weight: bold;
    color: #074398;
    font-size: 22px;
}

/*single.php*/
h1.single_title,
h1.entry-title {
    border-bottom: 4px solid #074398;
    margin: 0 0 30px 0;
}

img.attachment-post-thumbnail.size-post-thumbnail.wp-post-image {
    width: 100%;
    margin-bottom: 30px;
}

.post {
    padding-bottom: 0px;
}

ul.news-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

ul.news-list li {
    width: calc(100% / 3 - 20px);
}

ul.news-list li:nth-child(n+4) {
    margin-top: 50px;
}

ul.news-list li h2 {
    background: none;
    padding: 0;
    font-size: 1em;
    line-height: 1.7em;
    margin: 0;
    border: none;
    color: #074398;
}

ul.news-list li p {
    font-size: 0.8em;
    margin-top: .5em;
    color: #999;
}

span.news-date {
    border-bottom: 1px solid #e0dede;
    display: block;
    margin: .5em 0;
    font-size: .9em;
    color: #ccc;
}

ul.news-list::after {
    content: "";
    display: block;
    width: calc(100% / 3 - 20px);
}

.news-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    /* ← ここで行数指定 */
    overflow: hidden;
}

/* サムネ比率固定 3:2 */
.news-thumb {
    position: relative;
    width: 100%;
    padding-top: 66.666%;
    /* 3:2比率 */
    overflow: hidden;
    margin: 0;
}

.news-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    display: block;
}

/*------------------------------------------↑MAIN END*/



/*--------------------------FOOTER↓---------------------------*/

#footer {
    background-color: #074398;
    color: #fff;
    padding: 0;
}

.footer_flexbox {
    display: flex;
    justify-content: space-between;
    padding: 38px 0;
}

.footer_inner {}

.footer_r_inner,
.footer_l_inner {
    text-align: left;
}

#footer p {
    font-size: 15px !important;
    margin-bottom: 0;
}


ul.foot_sns li {
    width: calc(100% / 3 - 20px);
}

ul.foot_sns {
    display: flex;
    list-style: none;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 260px;
    margin-left: auto;
    margin-bottom: 1em;
}

/*------------------------------------------↑FOOTER END*/


/*media Queries タブレットサイズ（1024px以下）
----------------------------------------------------*/
@media only screen and (max-width: 1024px) {

    .wrap1000 {
        padding: 0 15px;
    }

    .pc_only {
        display: block;
    }

    .sp_only {
        display: none;
    }

    #top-head {
        top: 0;
        position: fixed;
        margin-top: 0;
    }

    /* Fixed reset */
    #top-head.fixed {
        padding-top: 0;
        background: transparent;
    }

    .header_inner {
        padding: 0;
    }

    h1.header_logo {
        margin-left: 25px;
    }

    h1.header_logo img {
        width: 300px;
    }

    #mobile-head {
        z-index: 999;
        position: relative;
        width: 100%;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        height: 80px;
        background-color: #ffffff;
    }

    #global-nav {
        position: absolute;
        /* 開いてないときは画面外に配置 */
        top: -100vh;
        background: #E3F2FD;
        width: 100%;
        padding: 10px 20px 50px 20px;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        text-align: center;
        -webkit-transition: .6s ease-in-out;
        transition: .6s ease-in-out;
    }

    div#nav-toggle {
        display: block;
    }

    #nav-toggle {
        position: absolute;
        right: 25px;
        top: 28px;
        width: 30px;
        height: 40px;
        cursor: pointer;
        z-index: 9999;
        display: none;
    }

    #global-nav ul {
        width: 100%;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }

    #global-nav ul li {
        border-bottom: 1px solid #074398;
        margin-right: 0;
        width: 100%;
        padding: 20px 0;
    }

    #top-head #global-nav ul li a,
    #top-head.fixed #global-nav ul li a {
        width: 100%;
        display: block;
        color: #074398;
    }

    nav#global-nav {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        padding-top: 80px;
    }

    #nav-toggle {
        display: block;
    }

    /* #nav-toggle 切り替えアニメーション */
    .open #nav-toggle span:nth-child(1) {
        top: 11px;
        -webkit-transform: rotate(315deg);
        transform: rotate(315deg);
    }

    .open #nav-toggle span:nth-child(2) {
        width: 0;
        left: 50%;
    }

    .open #nav-toggle span:nth-child(3) {
        top: 11px;
        -webkit-transform: rotate(-315deg);
        transform: rotate(-315deg);
    }

    /* #global-nav スライドアニメーション */
    .open #global-nav {
        /* #global-nav top + #mobile-head height */
        -webkit-transform: translateY(100vh);
        transform: translateY(100vh);
    }

    a.btn_contact {
        border: none;
        background-color: transparent;
        padding: 20px;
        color: #074398;
    }

    a.btn_contact:hover {
        background-color: transparent;
        border: 0;
    }

    .top_wrap {
        background-position: center;
    }

    .top_v_message {
        width: 40vw;
    }

    .concept_r_inner {
        margin-top: 30px;
    }

    .concept_flexbox {
        flex-direction: column;
    }

    .notice_flexbox {
        flex-wrap: wrap;
    }

    .notice_inner {
        width: calc(100% / 2 - 20px);
    }

    .notice_inner:nth-child(even) {
        margin-bottom: 50px;
    }

    .notice_inner:nth-child(5n),
    .notice_inner:last-child {
        margin-bottom: 0px;
    }

}



/*media Queries SPサイズ（599px以下）
----------------------------------------------------*/
@media only screen and (max-width: 599px) {

    .pc_only {
        display: none;
    }

    .sp_only {
        display: block;
    }

    /*header*/
    h1.header_logo img {
        width: 200px;
    }

    .top_wrap {
        background-image: url(images/top_v_sp.jpg);
        background-position: right;
    }

    .top_v_message {
        top: 50%;
        right: 50%;
        left: 50%;
        transform: translate(-50%, -50%, -50%);
    }

    .concept_l_inner img {
        width: 200px;
    }

    .concept_r_inner ul li {
        flex-direction: column;
    }

    .concept_r_inner h4 {
        width: 100%;
        margin-right: 0px;
        font-size: 20px;
    }

    .concept_r_inner p {
        width: 100%;
        font-size: 17px;
        padding: 10px;
        margin-top: 10px;
    }

    .mission_text h6 {
        font-size: 32px;
    }

    .notice_flexbox {
        flex-direction: column;
        padding-bottom: 0px;
    }

    .notice_inner {
        width: 100%;
        margin-bottom: 50px;
    }

    .notice_inner:nth(6n) {
        margin-bottom: 0px;
    }

    .company_name:nth-child(6n) {
        padding-bottom: 0px;
    }

    .notice_inner:last-child {
        margin-bottom: 0px;
    }

    ul.news-list li {
        width: calc(100% / 1);
    }

    ul.news-list li:nth-child(n+2) {
        margin-top: 50px;
    }

    /*楽天市場情報*/
    .product_flexbox {
        flex-direction: column;
        text-align: center;
    }

    .product_l_inner,
    .product_r_inner {
        width: 100%;
        padding-bottom: 50px;
    }

    .product_r_inner p {
        font-size: 20px;
        padding: 20px 0px;
    }

    product_l_inner img {
        width: 100%;
    }

    /*お問い合わせ*/
    .contact_inform p {
        font-size: 17px;
    }

    .w_50,
    input.wpcf7-form-control.has-spinner.wpcf7-submit {
        width: 100%;
    }

    table.inquiry_parent tr {
        display: flex;
        flex-direction: column;
    }

    /*フッター*/
    .footer_flexbox {
        flex-wrap: wrap;
    }

    .footer_l_inner img {
        width: 200px;
    }

    .footer_flexbox {
        padding: 0;
    }

    .footer_flexbox {
        padding: 18px 0;
    }

    #footer p {
        font-size: 12px;
    }

    ul.foot_sns {
        margin: 20px auto;
    }

    /*-- ここまで --*/
}
