/*ホームページを選ぶ*/
.ec-searchnavRole,.ec-select select,.ec-pager {
    font-family: '新ゴ DB';
    /*font-weight: bold;*/
    color: #333;
}
.ec-pager {
    padding: 65px 0 20px!important;
}
@media screen and (max-width: 1200px) {
.tab2-position1 {
    bottom: 10%;
}
}
@media only screen and (min-width: 768px) {
.ec-searchnavRole {
    max-width: none;
}
}
@media screen and (max-width: 767px) {
.sp-f14 {
    font-size: 12px !important;
}
.order-by, .disp-number {
    font-size: 13px !important;
}
}

/*.mb-4-template figure img:first-child {*/
/*    width: 74%*/
/*}*/
/*.mb-4-template figure img:last-child {*/
/*    width: 26%;*/
/*}*/

/* ===========================================
 * 全体
 * ======================================== */
html {
    font-size: initial;
}

body {
    font-family: initial !important;
      /*box-sizing : border-box;*/
}

.ec-layoutRole {
    color: #333333;
    font-style: normal;
}

/*基礎*/
.d-flex {
    display: flex;
}
.d-grid {
    display: grid;
}
.justify-center {
    justify-content: center;
}
.align-items-center {
    align-items: center;
}

.pointer {
    cursor: pointer;
}

.relative {
    position: relative;
}

.d-none {
    display: none;
}

/*非表示*/
.pc_none {
    display: none !important;
}

.ipad_br {
    display: none !important;/*928px以下で表示*/
}

.sp_br {
    display: none;/*767px以下で表示*/
}
/*既存のハンバーガーメニュー*/
.ec-headerNavSP{
    display: none!important;
}

/*スクロールで表示するアニメーション*/
.sa {
  opacity: 0;
  transition: all 1s ease;
}
.sa.show {
  opacity: 1;
  transform: none;
}
.sa--lr {
  transform: translate(-100px, 0);
}
.sa--rl {
  transform: translate(100px, 0);
}
.sa--up {
  transform: translate(0, 150px);
}
.sa--down {
  transform: translate(0, -100px);
}
.sa--scaleUp {
  transform: scale(.5);
}
.sa--scaleDown {
  transform: scale(1.5);
}
.sa--rotateL {
  transform: rotate(180deg);
}
.sa--rotateR {
  transform: rotate(-180deg);
}


/*横幅*/
.container {
    max-width: 100%;
}

.ec-layoutRole .ec-layoutRole__contents {
    max-width: 100%;
    padding: 80px 5%;
    background-color: #fff;
}

.ec-layoutRole {
    background: initial;/*背景色なし*/
}

/*文字*/
.ec-layoutRole p {
    text-align: initial;
    padding: initial;
    font-size: 14px;
    font-family: "新ゴ DB";
    line-height: 1.7;
}

h1 {
    margin: 0;
    font-family: "新ゴ U";
}

h2 {
    text-align: initial;
    padding: initial;
    font-family: "新ゴ U";
    font-size: 25px;
    margin-bottom: initial;
}

h3 {
    font-family: "新ゴ U";
    font-size: 18px;
    margin-bottom: initial;
}

h4 {
    font-family: "新ゴ U";
    font-size: 16px;
    margin-bottom: initial;
}

/*■アイコン*/
.fa-square {
    margin-right: 0.2em;
    margin-left: 0.07em;
}

/*利用規約・プライバシーポリシー・特定商取引に関する法律に基づく表記*/
.ec-off1Grid__cell {
    font-family: "新ゴ DB";
}

/*新ゴ*/
.font-u {
    font-family: "新ゴ U";
}
.font-db {
    font-family: '新ゴ DB', sans-serif;
}
.font-noto-jp {
    font-family: "Noto Sans JP", sans-serif;
}
.font-noto-jp-i {
    font-family: "Noto Sans JP", sans-serif !important;
}
input.font-noto-jp-i::placeholder {
    font-family: "Noto Sans JP", sans-serif !important;
}

/*画像*/
figure {
    margin: 0;
    padding: 0;
    box-shadow: 1px 1px 3px 0 rgba(125, 134, 136, .1);
}

figure img {
    margin: 0;
    width: 100%;
    object-fit: cover;
}

/* アンカー */
a {
    color: #333333;
}

.ec-layoutRole__contents a:hover {
    /*opacity: 0.6;*/
    /*color: initial;*/
}

/* ホバー時のアクション */
.expansion_action:hover { /*拡大*/
    transform: scale(1.1);
    transition-duration: 0.3s;
    background: initial;/*背景色なし*/
}
.opacity_action:hover {
    opacity: 0.7;
}

/******** メイン **********/
.container {
    width: 100%;
    box-sizing: border-box;
    max-width: 1800px;
}

.row {
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

/******** メイン：main_top **********/
.col-12 {
    padding: initial;
    padding-right: calc(100%*(32/2000));
    right: 15px;
}

.ec-shelfRole {
    padding-bottom: 80px;
}

/*横線*/
.line {
    background: #ddd;
    flex: none;
    height: 1px;
    width: 100%;
    max-width: 100%;
    margin: 70px 0;
}

.ec-layoutRole__right::before {
    position: absolute;
    top: 0;
    right: 100%;
    margin: 0 1rem;
    content: "";
    width: 1px;
    height: 100%;
    background-color: #ddd;
}

/* ===========================================
 * トップページ
 * ======================================== */
/*モーダルウィンドウ*/
/*モーダル外枠*/

.mymodal, .mymodal2, .myModalBody, .myModalBody2 {
    opacity: 0;
    pointer-events: none;
    transition: all 0.7s;
}
.myModalBody, .myModalBody2 {
    transform: translate(0, -10%);
}
.mymodal.show, .mymodal2.show {
    opacity: 1;
    pointer-events: auto;
}
.myModalBody.show, .myModalBody2.show {
    opacity: 1;
    pointer-events: auto;
    transform: translate(0, 0);
}

  
.mymodal, .mymodal2 {
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 999;
    overflow: hidden;
}
.myModalBody {
    position: fixed;
    /* top: 0;
    bottom: 0;
    right: 0;
    left: 0; */
}
/*MENU*/
.modal-container{
    color: #333333;
    background-color: rgba(246, 207, 0, 0.9);
    border: 3px solid #333333;
    border-radius: 20px;
    padding: 60px 80px;
    width: 100vw;
    max-width: 920px;
    margin: 0 auto;
    z-index: 999;
    /* max-height: 100dvh; */
    max-height: 100%;
    overflow: auto;
}
/*対象業種はこちら*/
.detail-container {
    background-color: #fff;
    border: 3px solid #333333;
    border-radius: 20px;
    padding: 60px 80px;
    width: 50vw;
    margin: 0 auto;
    z-index: 999;
    max-width: 66%;
    max-height: 100vh;
    overflow: auto;
    font-size: min(3.5vw, 15px);
  }

.p-close-btn-flex{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.a-click {
    /*モーダル内のaタグをクリックする処理用のクラス名*/
}

.modal-fade {
    animation-name: fadeIn;
    animation-duration: 0.5s;
    animation-iteration-count: 1;
    animation-direction: normal;
    animation-fill-mode: forwards;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.modal-fadeout {
    animation-name: fadeOut;
    animation-duration: 0.5s;
    animation-iteration-count: 1;
    animation-direction: normal;
    animation-fill-mode: forwards;
}
@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0px);
    }
    to {
        opacity: 0;
        transform: translateY(-30px);
    }
}

/*タイトル*/
.title{
    font-family: "新ゴ U";
    font-size: min(5vw, 26px);
}
/*✖ボタン*/
.modaal-close{
    width: auto;
    font-family: "新ゴ U";
    font-size: min(4.4vw, 24px);
    position: initial;
    color: #333333;
}
.modaal-close:after{
    display: none;
}
.modaal-close:before{
    display: none;
}
/*線*/
.m-line{
    background: #333333;
    flex: none;
    height: 1px;
    width: 100%;
    max-width: 100%;
    margin: 30px 0;
}

@media (max-width: 1280px){
    .modaal-container,.detail-container{
        width: 100%;
        max-height: 90vh;
    }
}

@media (max-width: 928px){
    .modaal-container,.detail-container{
        width: 80vw;
        max-width: 100%;
        max-height: 100%;
    }

    .p-close-btn-flex{
        justify-content: center;
    }
    /*✖ボタン*/
    .modaal-close {
        height: auto;
        position: absolute;
        top: 1em;
        right: 2em;
    }
}
@media (max-width: 767px){
    .modaal-container ,.detail-container {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1;
        width: 100vw;
        height: 100dvh;
        max-width: 100%;
        max-height: 100%;
        padding: 70px 35px;
    }
    /*✖ボタン*/
    .modaal-close {
        height: auto;
        position: absolute;
        top: 2.2em;
        right: 2em;
    }
    
    /*タイトル*/
    .p-close-btn-flex {
        justify-content: center;
    }
}

 
/*ボタン：view-btn*/
.view-btn {
    font-family: "新ゴ U";
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.02em;
    background-color: #eeeeee;
    display: block;
    padding: 6px 0;
    text-align: center;
    width: 8rem;
    color: #333333;
}

.view-btn:hover {
    background-color: #333333;
    color: #ffffff;
}

/******** ホームページを選ぶ **********/
.mb-4-template {
    display: grid;
    grid-template-columns: auto auto auto;
    gap: 40px 30px;
    margin-top: 40px;
}

.mb-4-template article {
    display: grid;
    gap: 5px;
    background: #f4f4f4;
    box-shadow: 3px 3px 6px 0 rgb(0 0 0 / 10%);
}

.tag-lists_top {
    margin: 0.8em 0.6em 0.4em;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-inline-start: 3%;
}
@media screen and (min-width: 1280px) and (max-width: 1470px){
/* .tag-lists_top {
    display: block;
} */
}

.tag-lists_bottom {
    margin: 0.6em;
}

.template_in_btn {
    font-family: "新ゴ DB";
    font-size: 12px;
    display: block;
    border: 1.4px solid #333333;
    text-align: center;
    padding: 1.5em;
}
.template_in_btn:hover {
    opacity: 0.8
}

.mb-4-template figure img{
    object-position: top;
}

.mb-4-template figure{
    aspect-ratio: 2 / 1;
    display: flex;
    gap: 0.2em;
    overflow: hidden;
}
.mb-4-template article a, .mb-9-content figure, .mb-1-area figure{
    cursor: pointer;
    overflow: hidden;
    position: relative;
}

/*ホバー時に画像表示*/
.mb-4-template article a::after,.mb-9-content figure::after, .mb-1-area figure::after {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    content: '';
    background-repeat: no-repeat, no-repeat;
    background-size: 100%;
    transition: 0.3s;
    pointer-events: none;
    opacity: 0;
}
.mb-4-template article a.pattern1::after,.mb-9-content figure.pattern1::after, .mb-1-area figure.pattern1::after {
    background: url(/html/user_data/assets/img/images/hompeta_hover1.png);
    background-repeat: no-repeat, no-repeat;
    background-size: contain;
    background-position: center;
    left: 0;
    margin-left: 100%;
}
.mb-4-template article a.pattern2::after,.mb-9-content figure.pattern2::after, .mb-1-area figure.pattern2::after {
    background: url(/html/user_data/assets/img/images/hompeta_hover2.png);
    background-repeat: no-repeat, no-repeat;
    background-size: contain;
    background-position: center;
    right: 5%;
    margin-top: 70%;
}
.mb-4-template article a.pattern3::after,.mb-9-content figure.pattern3::after, .mb-1-area figure.pattern3::after {
    background: url(/html/user_data/assets/img/images/hompeta_hover3.png);
    background-repeat: no-repeat, no-repeat;
    background-size: contain;
    background-position: center;
    right: 5%;
    margin-top: 70%;
}
.mb-4-template article a.pattern4::after,.mb-9-content figure.pattern4::after, .mb-1-area figure.pattern4::after {
    background: url(/html/user_data/assets/img/images/hompeta_hover4.png);
    background-repeat: no-repeat, no-repeat;
    background-size: contain;
    background-position: center;
    right: 5%;
    margin-top: 70%;
}
.mb-4-template article a.pattern5::after,.mb-9-content figure.pattern5::after, .mb-1-area figure.pattern5::after {
    background: url(/html/user_data/assets/img/images/hompeta_hover5.png);
    background-repeat: no-repeat, no-repeat;
    background-size: contain;
    background-position: center;
    right: 0;
    margin-right: 100%;
}
.mb-4-template article a.pattern6::after,.mb-9-content figure.pattern6::after, .mb-1-area figure.pattern6::after {
    background: url(/html/user_data/assets/img/images/hompeta_hover6.png);
    background-repeat: no-repeat, no-repeat;
    background-size: contain;
    background-position: center;
    right: 5%;
    margin-top: 70%;
}
.mb-4-template article a.pattern7::after,.mb-9-content figure.pattern7::after, .mb-1-area figure.pattern7::after {
    background: url(/html/user_data/assets/img/images/hompeta_hover7.png);
    background-repeat: no-repeat, no-repeat;
    background-size: contain;
    background-position: center;
    right: -5%;
    margin-top: -70%;
}
/*画像大きさ*/
.mb-4-template article a::after {
    width: 100%;
    height: 60%;
}
.mb-1-area figure::after, .mb-9-content figure::after {
    width: 100%;
    height: 70%;
}
/*パターン1*/
.mb-4-template article a.pattern1:hover::after {
    opacity: 1;
    margin-left: 32%;
}
.mb-9-content figure.pattern1:hover::after,.mb-1-area figure.pattern1:hover::after {
    opacity: 1;
    margin-left: 36%;
}
/*パターン2・3*/
.mb-4-template article a.pattern2:hover::after,.mb-9-content figure.pattern2:hover::after,.mb-1-area figure.pattern2:hover::after,
.mb-4-template article a.pattern3:hover::after,.mb-9-content figure.pattern3:hover::after,.mb-1-area figure.pattern3:hover::after {
    opacity: 1;
    margin-top: 0;
}
/*パターン4*/
.mb-4-template article a.pattern4:hover::after{
    opacity: 1;
    margin-top: 12%;
}
.mb-9-content figure.pattern4:hover::after,.mb-1-area figure.pattern4:hover::after {
    opacity: 1;
    margin-top: 8%;
}
/*パターン5*/
.mb-4-template article a.pattern5:hover::after {
    opacity: 1;
    margin-right: 28%;
}
.mb-9-content figure.pattern5:hover::after,.mb-1-area figure.pattern5:hover::after {
    opacity: 1;
    margin-right: 30%;
}
/*パターン6*/
.mb-4-template article a.pattern6:hover::after {
    opacity: 1;
    margin-top: 33%;
}
.mb-9-content figure.pattern6:hover::after,.mb-1-area figure.pattern6:hover::after {
    opacity: 1;
    margin-top: 22%;
}
/*パターン7*/
.mb-4-template article a.pattern7:hover::after {
    opacity: 1;
    margin-top: -30%;
}
.mb-9-content figure.pattern7:hover::after,.mb-1-area figure.pattern7:hover::after {
    opacity: 1;
    margin-top: -20%;
}
/*▲画像*/

/*画面が暗くなる*/
.mb-4-template article a::before,.mb-9-content figure::before,.mb-1-area figure::before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    background: #000;
    opacity: 0;
    transition: 0.3s;
}

.mb-4-template article a:hover:before,.mb-9-content figure:hover::before,.mb-1-area figure:hover::before {
    opacity: 0.5;
}

/*タグボックス*/
.explanation_box {
    display: inline-block;
    text-align: center;
    font-family: "新ゴ DB";
    font-size: 12px;
    padding: 0.2em 0.6em;
    border: none;
    background-color: #ffffff;
    color: #333333;
    border-radius: 5px;
}
.page-type1, .page-type2, .page-type3{
    display: inline-block;
    white-space: nowrap;
    padding: 0.2em 0.6em;
    border-radius: 5px;
}
.tag-lists_top li {
    white-space: nowrap;
}

/*一度閲覧したホームページ*/
.ml-slider .mb-4-template {
    grid-template-columns: inherit;
    gap: inherit;
}

/******** メイン：side_right **********/
.ec-layoutRole__right {
    position: relative;
    padding: initial;
    left: 15px;
    padding-left: calc(100%*(32/2000));
}

/*対象の業種一覧*/
.fz-6 {
    font-family: "新ゴ U";
    font-size: 25px !important;
    letter-spacing: 0.03em;
}
.py-3 {
    font-family: "新ゴ DB";/*カテゴリーのフォント*/
}
.li_flex img {
    height: 45px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 3px 3px 8px 0px #aaaaaa;
    margin-right: 20px;
}

.li_flex {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #ddd;
    line-height: 2;
}

.bdb {
    border-bottom: none;
}

/*バナー一覧*/
.mb-9-content{
    margin-bottom: 45px;
}
.mb-9-content p{
    font-size: 12px;
    text-align: center;
    margin-top: 10px;
    font-family: "新ゴ DB";
}   
.mb-9-content h2{
    margin-top: 5px;
    text-align: center;
    font-size: 20px;
    font-family: "新ゴ U";
}

button{
    font-family: "新ゴ DB";
}

/* ボタン：ページTOP */
.ec-blockTopBtn {
    font-family: "新ゴ DB";
    background-color: #eeeeee;
    color: #333333;
    width: 140px;
}

/* ボーダー */
.bdt {
    border-top: 0px;
}

/******** フッター **********/
.bgc-main {
    background-color: #333333;
}

/* ===========================================
 * 中ページ
 * ======================================== */
/******** 中ページメインビジュアル **********/
.in_top {
    min-height: 100%;
    background-position: center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    height: 45vh;
}

.in_top::before {
    content: "";
    position: absolute;
    right: 85%;
    top: 0;
    width: 110%;
    height: 45vh;
    z-index: 1;
    background: rgba(245, 206, 0, .8);
    -webkit-transform: skew(-45deg, 0);
    transform: skew(-45deg, 0);
}

.in_top::after {
    content: "";
    position: absolute;
    right: 97%;
    top: 0;
    width: 110%;
    height: 45vh;
    z-index: 1;
    background: rgba(245, 206, 0, .4);
    -webkit-transform: skew(60deg, 0);
    transform: skew(60deg, 0);
}

.in_top_text {
    z-index: 2;
    color: #fff;
    padding-left: 5%;
    padding-top: 5em;
    letter-spacing: 0.1em;
}

.in_top_text h1 {
    font-size: 45px;
}

.in_top_text h1 span {
    font-size: 18px;
}

/*サイトを選ぶバナー*/
.banner_btn {
    margin-top: 140px;
    max-width: 1100px;
    text-align: center;
}

.banner_btn img {
    width: 85%;
}

@media(max-width: 1279px) {
    /******** ホームページを選ぶ **********/
    .mb-4-template {
        grid-template-columns: auto auto;
        gap: 30px 20px;
    }
}

@media(max-width: 928px) {
    .in_top_text h1 {
        font-size: 40px;
    }

    .modal-container{
        height: 100%;
        /* max-height: calc(100dvh - 140px); */
        padding: 70px 35px;
        max-width: 600px;
        align-items: flex-start !important;
    }

    
    .m-line{
        margin: 18px 0;
    }

    .info-flex{
        flex-direction: column;
    }
    .in_top_text h1 span {
        font-size: 16px;
    }
    /*バナー一覧*/
    .mb-9-mobile{
        margin-bottom: 70px;
    }
    .mb-9-mobile-container {
        display: grid;
        grid-template-columns: auto auto;
        gap: 40px 30px;
    }
    .mb-9-content {
        margin-bottom: inherit!important;
    }
    .mb-9-mobile-content p{
        font-size: 12px;
        text-align: center;
        margin-top: 10px;
    }   
    .mb-9-mobile-content h2{
        margin-top: 5px;
        text-align: center;
    }
   
    /******** トップページ **********/
    .sp_view-btn {
        margin: 30px auto 0;
        font-family: "新ゴ U";
        font-size: 12px;
        letter-spacing: 0.02em;
        background-color: #eeeeee;
        display: block;
        padding: 1.2em 0;
        text-align: center;
        color: #333333;
        width: 20em;
    }
}

@media(max-width: 767px) {
    
    .modal-container{
        padding: 70px 35px;
        /* max-height: calc(100dvh - 140px); */
        width: 100vw;
        height: 100%;
        align-items: flex-start !important;
    }
    .in_top_text h1 {
        font-size: 30px;
    }

    .in_top_text h1 span {
        font-size: 15px;
    }

    .in_top::after {
        right: 110%;
        transform: skew(57deg, 0);
    }
    
    .m-line{
        margin: 18px 0;
    }
    
    /*バナー一覧*/
    .mb-9-mobile-container {
        display: grid;
        grid-template-columns: auto;
    }
    .mb-9-content h2{
        font-size: 18px !important;
    }

    /*サイトを選ぶバナー*/
    .banner_btn {
        margin-top: 70px;
    }

    .banner_btn img {
        width: 100%;
    }

    /******** ホームページを選ぶ **********/
    .mb-4-template {
        grid-template-columns: auto;
    }
}

/*パンくずリスト*/
.breadcrumb {
    background-color: #fff;
    padding: 0;
    line-height: 3em;
    margin-bottom: 0;
}

.breadcrumb ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    font-family: "新ゴ B";
    font-size: 12px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
    /* padding-left: 5%; */
}

.breadcrumb a:hover {
    opacity: 0.6;
}

/******** 928px以下の場合 **********/
@media (max-width: 928px) {
    .pc_none {
        display: block !important;/*928px以下になったら表示させる*/
    }

    .sp_none {
        display: none !important;/*928px以下で非表示*/
    }

    .ipad_br {
        display: block !important;/*928px以下で表示*/
    }

    /*横幅*/
    .container {
        padding: 0 !important;
    }

    .col-12 {
        padding-right: initial;
        right: 0;
    }

    .ec-layoutRole .ec-layoutRole__right {
        width: 100%
    }

    .ec-layoutRole__right {
        left: 0;
        padding: inherit;
    }

    /*縦線*/
    .row .col-12::after {
        display: none;
    }

    /*文字*/
    h2 {
        font-size: 23px;
    }

    h3 {
        font-size: 17px;
    }

    .ec-layoutRole p {
        font-size: 13px;
    }
}

@media (max-width: 767px) {
    .mobile_none {
        display: none !important;/*767px以下で非表示*/
    }
    .sp_br {
        display: block;
    }

    /*文字*/
    h2 {
        font-size: 20px;
    }

    h3 {
        font-size: 16px;
    }
}