@charset "UTF-8";
/*
テキストやコンテンツごとにマージンを設ける場合は 原則 margin-right / margin-bottom のみ
font-weight は数値指定
*/

/* メインビジュアル */
#mainvisual_bg {
    display: table;
    filter: none;
    height: 100vh;
    width: 100%;
}

#mainvisual_bg:after {
    animation-delay: 2s;
    animation-direction: alternate;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
    animation-name: grayscale;
    animation-timing-function: ease-in-out;
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    content: "";
    filter: grayscale(100%);
    display: block;
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: -1;
}

.mainvisual_box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}

.bg_esports::after {
    background-image: url(/wp-content/uploads/2021/11/bg_esports01.jpg);
}

.bg_live::after {
    background-image: url(/wp-content/uploads/2025/10/engoods25_pc.jpg);
}

.bg_running::after {
    background-image: url(/wp-content/uploads/2023/02/bg_running_pc.jpg);
}

.bg_handball::after{
    background-image: url(/wp-content/uploads/2023/07/bg-handball-1.jpg);
}

.bg_sdgs::after{
    background-image: url(/wp-content/uploads/2023/08/bg_sdgs.png);
}

.bg_ecology::after{
    background-image: url(/wp-content/uploads/2023/09/bg_ecology.jpg);
}

.bg_shakai::after{
    background-image: url(/wp-content/uploads/2023/09/bg_shakai.jpg);
}

.bg_baseball::after{
    background-image: url(/wp-content/uploads/2024/06/bg_baseballi.jpg);
}

.bg_heiq_temp::after{
    background-image: url(/wp-content/uploads/2024/08/bg_smarttemp.jpg);
}

  .bg_about::after {
    background: url(/wp-content/themes/tresjapan/assets/images/about/about_mv.jpg);
  }

.bg_veiltech::after{
    background-image: url(/wp-content/uploads/2026/02/bg_veiltech_pc.jpg);
}

.bg_square{
    background-size: 18px 18px;
    background-repeat: repeat;
    background-image: linear-gradient(0deg, transparent calc(100% - 1px), #f0f0f0 calc(100% - 1px)),
                  linear-gradient(90deg, transparent calc(100% - 1px), #f0f0f0 calc(100% - 1px));
    background-color: #fff;
    border-bottom: 1px solid #f0f0f0;
    border-top: 1px solid #f0f0f0;
}

.bg_facebook {
    background: #17f;
}

.bg_twitter {
    background: #222;
}

.bg_line {
    background: #2a3;
}

.bg_instagram {
    background: linear-gradient(12deg,#fd8,#e54,#d36,#739,#35a);
}

.bg_youtube{
    background: #f00;
}

/* 章ごとのレイアウト */
#contentWrap {
    background: #fff;
    left: auto;
    position: relative;
    top: auto;
}

.content_base,
.content_black,
.content_grey,
.content_green,
.content_blank {
    padding: 5vw 0;
    position: relative;
}

.content_base + .content_base{
    padding:0 0 5vw;
}

.content_base_top{
    padding-top:0px;
}

.content_base {
    background: #fff;
    color:#444;
}

.content_black {
    background-color: #222;
    color: #ccc;
}
.content_green {
    background: #0b5;
    color: #fff;
}

.content_grey {
    background-color: #f5f5f5;
}

.content_beige {
    background-color:  #dcc;
}

.content_sand{
    background: #dcb;
}

.inner1600,
.inner1280,
.inner1080,
.inner1000,
.inner960,
.inner768,
.inner640,
.inner480 {
    margin: 0 auto;
    padding: 0 5%;
    width: 100%;
}

.inner1600 {
    max-width: 1600px;
}

.inner1280 {
    max-width: 1280px;
}

.inner1080 {
    max-width: 1080px;
}

.inner1000 {
    max-width: 1000px;
}

.inner960 {
    max-width: 960px;
}

.inner768 {
    max-width: 768px;
}

.inner640 {
    max-width: 640px;
}

.inner480 {
    max-width: 480px;
}

/* flexbox */
.flex, .flex_top,.flex_center {
    align-items: baseline;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.flex_top {
    align-items: flex-start;
}

.flex_center{
    justify-content: center;
}

.flex_lg2_5,
.flex_lg2_5-xs6,
.flex_lg2_5-xs12 {
    margin-bottom: 5vw;
    flex-basis: 18%;
    width: 18%;
}

.flex_lg3,
.flex_lg3-xs12,
.flex_lg3-xs6 {
    margin-bottom: 5vw;
    flex-basis: 22%;
    width: 22%;
}

.flex_lg4-xs6,
.flex_lg4-xs12 {
    margin-bottom: 5vw;
    flex-basis: 30%;
    width: 30%;
}

.flex_lg6,
.flex_lg6-xs12 {
    margin-bottom: 5vw;
    flex-basis: 48%;
    width: 48%;
}

/*空の要素*/
.flex_lg2_5.empty {
    height: 0;
    margin: 0;
    padding: 0;
    border-width: 0;
  }


/* ボタン */
.btn_order,
.btn_white,
.btn_black {
    max-width: 350px;
    margin: 0 auto 5%;
    width: 100%;
}

.btn_order a {
    align-items: center;
    background: #FFF;
    border: 1px solid #444;
    color: #444;
    display: flex;
    justify-content: space-between;
    padding: 10px;
    transition: 0.2s;
}

.btn_order_round a{
    display: block;
    color: #FFF;
    background: #000;
    font-size: 18px;
    line-height: 160%;
    border-radius: 30px;
    border: 2px solid #000;
    transition: 0.2s;
    height: 60px;
    text-align: center;
    font-weight: 700;
    max-width: 320px;
    margin: auto;
    line-height: 56px;
}

.btn_order_round a:hover{
    background:#fff;
    color:#222;
}

.btn_title {
    border-bottom: none;
    font-size: 1.9rem;
    font-weight: 700;
    line-height: 120%;
    margin-bottom: 0;
    padding-bottom: 0;
    white-space: nowrap;
}

.btn_small {
    font-size: 1.2rem;
}

.btn_order a g,
.btn_order a path,
.btn_order a rect {
    transition: 0.2s;
}

.btn_order a .arrow {
    transform: translate(-277px, 2379px);
}

.btn_order a:hover .arrow {
    position: relative;
    right: -10px;
    transform: translate(-236px, 2379px);
}

.btn_order a:hover g.white {
    stroke: #fff;
}

.btn_order a:hover path,
.btn_order a:hover rect.white {
    fill: #fff;
}

.btn_order a:hover,
.btn_white a:hover {
    background: #444;
    border: 1px solid #fff;
    color: #FFF;
}

.btn_black a:hover {
    background: #fff;
    color: #444;
    border:1px solid #444;
}

.btn_round {
    border: 1px solid;
    border-radius: 999px;
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 5px 10px;
}

.btn_white,
.btn_black {
    margin-bottom: 5%;
}

.btn_white a,
.btn_black a {
    display: block;
    line-height: 44px;
    padding: 0 10px;
    text-align: center;
    transition: .2s;
}


.btn_white a {
    background: #fff;
    border: 1px solid #444;
    color: #444;
}


.btn_black a {
    background: #444;
    border: 1px solid #fff;
    color: #fff;
}

.shape_round {
    border-radius: 99%;
}

/* オーダーフロー */
.flow {
    align-items: center;
    border-bottom: 1px solid;
    display: flex;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
}

.flow_step {
    border-right: 1px solid;
    line-height: 120%;
    max-width: 30%;
    text-align: center;
    width: 100%;
}

.flow_number {
    color: #666;
    display: block;
    font-size: 2rem;
}

.flow_title {
    max-width: 70%;
    padding: 0 0 0 5%;
}

.flow_text {
    font-size: 1.3rem;
    line-height: 150%;
}

.tips,
.box_contact {
    border: 1px solid;
    margin-bottom: 5%;
    padding: 3%;
}

.box_contact .box_contact_list {
    font-size: 2rem;
    font-weight: 700;
    display: list-item;
    max-width: 320px;
    margin: auto;
    padding-bottom: 1rem;
    text-align: left;
}

/*table*/
.table table, .table01 table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    overflow-x: auto;
    max-width: 680px;
    margin: 0 auto 1rem;
    position: relative;
}
.table960 table {
    max-width: 960%;
    table-layout: auto;
}

.table th, .table td, .table_scroll th, .table_scroll td{
    border: 1px solid #aaa;
    padding: 10px 5px;
    text-align: center;
}

.table th, .table_scroll th {
    background: #F5F5F5;
    line-height: 140%;
}

.table960 th{
    width: 30%;
}

.table960 td{
    width: 70%;
    text-align: left;
}

.table_list {
    table-layout: auto;
    width: 100%;
}


.table_list th, .table_list td {
    border-bottom: 1px solid #ddd;
    font-size: 1.6rem;
    min-width: 80px;
    padding: 5rem 5px;
    text-align: left;
}

.table_scroll{
    overflow-x: auto;
    width: 100%;
    display: block;
    white-space: normal;
}

.table_scroll table{
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    margin: 0 auto 1rem;
}

.table_scroll th, .table_scroll td{
    width: inherit;
    height: inherit;
}

.sticky {
    position: sticky;
    left: 0;
    z-index: 10;
    min-width: 140px;
}

.sticky:before {
    content: "";
    position: absolute;
    top: -1px;
    left: -1px;
    width: 100%;
    height: 100%;
    border: 1px solid #aaa;
}

.formTable_h th,.formTable_h td {
    width: 100%;
    display: block;
    padding: .1rem;
}

.formTable_h td {
    margin-bottom: 4rem;
}

/* タイトル、テキスト */
.title_top,
.title_copy,
.title_copy_left,
.title_copy_normal,
.title_copy_left_normal {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
}

.title_copy, .title_copy_left {
    border-bottom: 1px solid #444;
    padding-bottom: 2rem;
}

.title_copy_normal, .title_copy_left_normal {
    border-bottom: none;
    padding-bottom: 2rem;
}

.title_copy_left,.title_copy_left_normal {
    text-align: left;
}

.title_copy-small {
    display: block;
    font-size: 1.8rem;
}

.title_subcopy,.title_subcopy_center-xsleft {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.title_subcopy_center-xsleft {
    text-align: center;
}

.title_price, .text_productname {
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 160%;
}

.text_price {
    font-size: 1.4rem;
    font-weight: 700;
}

.text_center, .text_center-xsleft {
    text-align: center;
}

.text_left{
    text-align: left!important;
}

.text_right{
    text-align: right!important;
}

.text_center img {
    margin-bottom: 2%;
}

.text_bold {
    font-weight: 700;
}

.text_normal{
    font-weight: 500;
}

.text_note{
    font-size: 12px;
}

.text_16px{
    font-size: 16px!important;
}


.text_underline{
    text-decoration: underline;
}

.text_blue{
    color:#038;
}

/* kill */
#customOrder {
    height: auto;
}

/*hidden*/
.hidden_lg,.hidden_all {
    display: none;
}

.hidden_top {
    padding-top: 0 !important;
}

/* margin */
.margin_b0{
    margin-bottom: 0;
}

.margin_b2 {
    margin-bottom: 2rem;
}

.margin_b5{
    margin-bottom: 5rem;
}

.margin_10vw{
    margin-bottom: 10vw;
}

.padding_t0{
    padding-top: 0;
}


/*swiper*/
.swiper-pagination-thumbs {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.swiper-pagination-thumb {
    width: 30%;
    height: auto;
    margin-bottom: 5%;
    cursor: pointer;
}

.topswiper .swiper-slide > img {
    object-fit: cover; /* IE: not support */
    width: 100%;
    height: 70vw;
    max-height: 628px
 }

 .slider_thumb_button .swiper-slide {
    flex-basis: 20%;
    margin:5px;
    cursor: pointer;
}

.slider_thumb_button .swiper-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    flex-direction: row;
    width: 100%;
    overflow: visible;
}

.swiper.slider_thumb_button {
    width: 100%;
    overflow: visible;
    margin-bottom: 2rem;
}

.swiper-pagination{
    position: relative;
}

.swiper.thumbswiper p.image:nth-child(2) {
    display: none;
}

.inlineblock {
    display: inline-block;
    vertical-align: middle;
}

/* 絞り込み */
.btn_filter {
    text-align: center;
    border: 1px solid;
    cursor: pointer;
}

input[name='filter-btn'] {
    position: relative;
    display: none;
}

input[name='filter-btn']:checked+label {
    color: #fff;
    background-color: #222;
    transition: .5s;
}

#filter-1:checked~.filter-teims:not(.sports),
#filter-2:checked~.filter-teims:not(.acryic),
#filter-3:checked~.filter-teims:not(.stuffed),
#filter-4:checked~.filter-teims:not(.bag),
#filter-5:checked~.filter-teims:not(.others) {
    display: none;
    transition: .5s;
}

/* 野球固定ヘッダー */
.top_bar {
    background: #555;
    color: #fff;
    display: block;
    height: 60px;
    left: 0;
    margin: 0;
    padding: 0;
    position: fixed;
    top: 75px;
    z-index: 9998;
    width: 100%;
}

.top_bar_title {
    font-size: 1.75rem;
    line-height: 3rem;
    text-align: center;
    color: #fff;
}

.top_bar_btn_list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
}

.top_bar_btn {
    background: #fff;
    color: #222;
    width: 33.3%;
    border: .5px solid #222;
    text-align: center;
    height: 60px;
}

.top_bar_btn a {
    display: block;
    font-size: 1.5rem;
}


.first_content {
    padding-top: 80px;
}

/*iframe*/
.iframewrap {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
  }

  .iframewrap iframe{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .lum-lightbox.lum-open{
    z-index: 9999;
}

a.bnrlink.luminous {
    position: relative;
    display: block;
}


a.bnrlink.luminous::after {
    content: "";
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: url(https://tres.co.jp/wp-content/themes/tresjapan/assets/images/zoom.svg);
    width: 15px;
    height: 15px;
}

/* form */
.hissu::after {
    content: "必須";
    color: #fff;
    background: #222;
    margin-left: 1rem;
    padding: 3px;
    font-size: 12px;
}

/* simu page */
.image_02 {
    display: none;
}

/* read more button */
.readmore_box *,
.readmore_box *:before,
.readmore_box *:after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.readmore_box {
    position: relative;
}

.readmore_box label {
    position: absolute;
    z-index: 1;
    bottom: 0;
    width: 100%;
    height: 140px; /* グラデーションの高さ */
    left: 0;
    cursor: pointer;
    text-align: center;
    /* 以下グラデーションは背景を自身のサイトに合わせて設定してください */
    background: linear-gradient(to bottom, rgba(250, 252, 252, 0) 0%, rgba(250, 252, 252, 0.95) 90%);
}

.readmore_box input:checked+label {
    background: inherit; /* 開いた時にグラデーションを消す */
}

.readmore_box label:after {
    line-height: 2.5rem;
    position: absolute;
    z-index: 2;
    bottom: 20px;
    left: 49%;
    width: 16rem;
    content: ' 続きをよむ';
    transform: translate(-50%, 0);
    letter-spacing: 0.05em;
    color: #222;
    border: 1px solid;
}

.readmore_box input {
    display: none;
}

.readmore_box .cp_container {
    overflow: hidden;
    height: 250px; /* 開く前に見えている部分の高さ */
    transition: all 0.5s;
}

.readmore_box input:checked+label {
    /* display: none ; 閉じるボタンを消す場合解放 */
}

.readmore_box input:checked+label:after {
    content: ' 閉じる';
}

.readmore_box input:checked~.cp_container {
    height: auto;
    padding-bottom: 80px; /* 閉じるボタンのbottomからの位置 */
    transition: all 0.5s;
}

/* owlスライダーの矢印撤去 */
.baseball .owl-nav.disabled{
    display: none!important;
}

.agenda {
    background: #eee;
    padding: 25px;
}

.agenda li {
    list-style: auto;
    margin-bottom: 1rem;
}


@media screen and (min-width:768px){
    .order2 {
    order: 2;
}
}

@media screen and (max-width:1400px) {
    .top_bar {
        top: 105px;
    }

    .content_base_top {
        padding-top: 65px;
    }
}

@media screen and (max-width:1080px) {
    .table_scroll{
        overflow-x: scroll;
        white-space: nowrap;
    }
    .table_scroll th, .table_scroll td{
    width: 235px;
    height: 75px;
}
}

@media screen and (max-width: 767px) {
    .bg_running::after {
        background-image: url(/wp-content/uploads/2023/02/bg_running_sp.jpg);
    }
    .bg_live::after {
        background-image: url(/wp-content/uploads/2025/10/engoods25_sp.jpg);
    }
    .bg_veiltech::after{
        background-image: url(https://tres.co.jp/wp-content/uploads/2026/02/bg_veiltech_sp.jpg);
    }

    .bg_about::after {
    background: url(/wp-content/themes/tresjapan/assets/images/about/about_mv_sp.jpg);
  }

    .content_base,
    .content_black,
    .content_grey,
    .content_green {
        padding: 10vw 0;
    }

    .content_base + .content_base{
        padding: 0 0 10vw;
    }

    .flex_lg4-xs6,
    .flex_lg2_5-xs6,
    .flex_lg3-xs6 {
        flex-basis:48%;
        width: 48%;
    }

    .flex_lg2_5-xs12,
    .flex_lg3-xs12,
    .flex_lg4-xs12,
    .flex_lg6-xs12 {
        flex-basis: 100%;
        margin-bottom: 10vw;
        width: 100%;
    }
    .title_top,
    .title_copy,
    .title_copy_left,
    .title_copy_normal,
    .title_copy_left_normal {
        font-size: 2rem;
    }

    .title_copy,.title_copy_normal,.title_subcopy_center-xsleft {
        text-align: left;
    }

    .hidden_lg {
        display: unset;
    }

    .hidden_xs {
        display: none;
    }

    .lum-img {
        max-width: 100vw !important;
        max-height: 85vh !important;
    }
    .first_content{
        padding-top: 155px;
    }
    .text_center-xsleft{
        text-align: left;
    }
}

@media screen and (max-width:480px) {
    .top_bar {
        top: 61px;
        z-index: 9998;
    }

    .top_bar_title {
        font-size: 1.5rem;
        line-height: 2rem;
    }

    .first_content {
        padding-top: 105px;
    }

    .top_bar_small {
        letter-spacing: -1px;
        font-size: 12px;
    }

    .text_annotation{
        font-size: 1.2rem;
        line-height: 150%;
    }
    .content_base_top {
        padding-top: 45px;
    }
}
