/**
 * (c) 2025 Passlogy Co., Ltd. All Rights Reserved.
 * 
 * https://www.passlogy.com/pdf/PassLogicEndUserLicenseAgreem_ent_ja.pdf
 * https://www.passlogy.com/pdf/PassLogicEndUserLicenseAgreem_ent_en.pdf
 */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -ms-touch-action: manipulation;
}

.cboth {
    clear: both;
}

.clearfix:after {
    content: "";
    display: block;
    clear: both;
}

.clearfix {
    zoom: 1;
}

.inline_bottom {
    display: inline-block;
    vertical-align: bottom;
    line-height: 1.5;
}

/** basic setting */
/* フッター下部固定のためのプロパティ*/
body {
    font-size: medium;
    color: #333;
    margin: 0;
    padding: 0;
    font-family: "Lucida Grande", "segoe UI", "Hiragino Kaku Gothic ProN", 游ゴシック, Meiryo, Verdana, Arial, sans-serif;
    /* font-family: "Meiryo"; */
    display: grid;
    grid-template-rows: 1fr auto;
    grid-template-columns: 100%;
    min-height: 100vh;
}

input {
    padding: 3px;
    font-family: inherit;
}

button {
    font-family: inherit;
}

/* 共通ボタン。「次へ」「ログイン」「パスワード変更」「設定」「ログアウト」など*/
.passlogic_css_submit {
    height: 44px;
    /*34→44*/
    min-width: 120px;
    padding-left: 10px;
    padding-right: 10px;
    color: #FFF;
    background: #ee780c;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    border: 1px solid #ee780c;
    border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    cursor: pointer;
}

.passlogic_css_submit:hover {
    opacity: 0.8;
}



/** header */
#header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 17px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .12);
    display: flex;
    flex-direction: row;
    background-color: #fff;
    z-index: 70;
}

#header img {
    width: 150px;
    height: auto;
    vertical-align: bottom;
}

#contents {
    width: 90%;
    max-width: 700px;
    text-align: left;
    background-color: transparent;
    padding-top: 3em;
    margin: 63px auto 0;
}

/* メニュー画面のときだけヘッダーの高さが変わるのでコンテンツのmarginを調整*/
#contents:has(div.app_list) {
    margin: 78px auto 0;
}

@media screen and (max-width: 960px) {
    #contents:has(div.app_list) {
        margin: 63px auto 0;
    }
}

#footer {
    width: 100%;
    font-size: small;
    color: #666;
    display: flex;
    justify-content: center;
    margin: 4em 0 0 0;
}

.copyrights {
    text-align: center;
    width: 90%;
    max-width: 700px;
    border-top: solid 1px #e0e0e0;
    padding-top: 15px;
    padding-bottom: 15px;
    /* padding: 10px 0 0 0; */
}

h1 {
    font-size: 18px;
    border-bottom: solid 1px #ee780c;
    padding-bottom: 15px;
    margin-bottom: 1em;
    line-height: 1.5;
}

h1:empty {
    border: unset;
    padding: unset;
}

p {
    margin-bottom: 1em;
    line-height: 1.5;
}

h1:has(+.error-text) {
    margin-bottom: 1em;
}

.mt2em {
    margin-top: 2em;
}

.mb1em {
    margin-bottom: 1em;
}

.mb2em {
    margin-bottom: 2em;
}

.mb3em {
    margin-bottom: 3em;
}

/** 青帯のメッセージ */
#messagebox {
    color: #3a87ad;
    background-color: #d9edf7;
    border-color: #bce8f1;
    font-weight: bold;
    padding: 10px;
    margin-bottom: 10px;
    display: none;
}

/* システム関連のエラーメッセージ*/
div.error-text {
    color: #3a87ad;
    background-color: #d9edf7;
    border-color: #bce8f1;
    font-weight: bold;
    padding: 10px;
    margin: 15px 0px;
}

/* form内の入力に関するエラーメッセージ*/
form span.error-text {
    display: inline-block;
    color: #469de2;
    font-weight: bold;
    margin-top: 10px;
}

/** 
 * ユーザーID入力画面
 */
/* ユーザーID入力画面、パスワード変更の乱数表画面の上側に配置されているテキスト*/
.login-text {
    margin: 0 0 10px 0;
    padding: 5px 0px 7px;
    /* border-left: solid 6px #ee780c; */
    border-bottom: solid 1px #ee780c;
    font-size: 18px;
    font-weight: bold;
}


/* #indexがついているのはユーザーID入力画面のform */
form#index {
    margin-top: 2.5em;
    background: #f7f7f7;
    padding: 3em;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.20);
    border-radius: 5px;
}

/* ユーザーID入力のinput*/
.passlogic_css_text {
    width: 200px;
    height: 44px;
    margin: 10px 10px 14px 0;
    border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    -webkit-appearance: none;
    border: 1px solid #CCC;
}

/* LDAP連携ユーザーID入力のinput*/
#visible_adpassword {
    display: flex !important;
    margin-top: 10px;
}

#visible_adpassword .passlogic_css_password {
    width: 200px;
    border: solid 2px #ee780c;
    background: #fffadf !important;
    margin-right: 24px;
}

#visible_adpassword .passlogic_css_password:focus {
    outline: none;
    border: solid 2px;
    border: solid 2px #ee780c;
    background: #fffadf !important;
}

#visible_adpassword .passlogic_css_password:disabled {
    background-color: #afafaf !important;
    border: 1px solid #ccc;
}

#domain_select {
    vertical-align: middle;
    padding: 10px;
    cursor: pointer;
}

/*ADパスワード再入力トグルボタン*/
.ad_control {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.ad_control>span {
    font-size: 14px;
    margin-right: 10px;
}

.ad_control_switch {
    position: relative;
}

.ad_control_switch input {
    position: absolute;
    width: 0;
    height: 0;
    display: none;
}

.ad_control_switch .base {
    width: 40px;
    border-radius: 16px;
    height: 20px;
    background-color: #fff;
    border: solid 1px #606060;
    transition: 0.5s;
}

.ad_control_switch .circle {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 12px;
    height: 12px;
    border-radius: 12px;
    background-color: #606060;
    transition: 0.5s;
}

.ad_control_switch input:checked~.base {
    background-color: #005FB8;
    border-color: #005FB8;
    transition: 0.5s;
}

.ad_control_switch input:checked~.circle {
    background-color: #fff;
    left: 24px;
    transition: 0.5s;
}

@media screen and (max-width: 640px) {
    #visible_adpassword {
        flex-direction: column;
    }

    #visible_adpassword .passlogic_css_password {
        width: 100%;
    }

    form[name="index"] select#domain {
        margin-bottom: 20px;
    }

    .ad_control {
        margin-top: 10px;
    }
}

/* ドメイン選択用のselect*/
select {
    color: #666;
    height: 44px;
    min-width: 100px;
    border: 1px solid #ccc;
    background-color: #fff;
    padding: 10px;
    font-size: 16px;
}

form#index .passlogic_css_submit {
    margin-top: 1em;
}

#passthrough_button {
    margin: 1em 3em;
}

#passthrough_button+br {
    display: none;
}

/* 言語選択 */
#lang_select {
    display: flex;
    justify-content: end;
}

/* 言語選択のselectタグ */
#pl_locale_ui {
    height: 30px;
    padding: 0 5px;
    border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
}



/**
 * ログイン時の乱数表画面
 */
/* 乱数表。tableを基点にもろもろの位置調整*/
table#randamNumbar {
    position: relative;
    width: 100%;
}

/* #contents直下にtableがあるのはログイン時の乱数表。パターン変更画面の乱数表には適用されないスタイル。*/
#contents>table#randamNumbar {
    margin-top: 2.5em;
}

table#randamNumbar tr {
    display: flex;
    justify-content: start;
}

table#randamNumbar tr td {
    width: 100%;
    max-width: 250px;
}

/* 列数が1の場合*/
table.randamNumbarWidth tr:has(> :nth-child(1):last-child) {
    width: 25%;
}

/* ガイド付きで2列になる場合*/
table.randamNumbarWidth tr:has(> :nth-child(2):last-child):has(> td[class^="randamNumberBoxGuide"]) {
    width: 40% !important;
}

/* 列数が2の場合*/
table.randamNumbarWidth tr:has(> :nth-child(2):last-child) {
    width: 50%;
}

/* ガイド付きで3列になる場合*/
table.randamNumbarWidth tr:has(> :nth-child(3):last-child):has(> td[class^="randamNumberBoxGuide"]) {
    width: 60% !important;
}

/* 列数が3の場合*/
table.randamNumbarWidth tr:has(> :nth-child(3):last-child) {
    width: 75%;
}

/* ガイド付きで4列になる場合*/
table.randamNumbarWidth tr:has(> :nth-child(4):last-child):has(> td[class^="randamNumberBoxGuide"]) {
    width: 80% !important;
}

#formArea {
    margin: 0 auto;
}

#formBox {
    margin: 25px 0 0 0;
}

.formBoxFloat {
    float: left;
}

/* LDAP認証連携の初回ユーザログインのPassLogic Authenticator登録画面*/
form[name="Passclip"] #formBox {
    flex-direction: column;
}
 
form[name="Passclip"] span.error-text {
    display: block;
}

form[name="Passclip"] span.error-text+br{
    display: none;
}

form[name="Passclip"] input.passlogic_css_password {
    margin-top: 10px;
}

form[name="Passclip"] input.passlogic_css_submit {
    margin-top: 2em;
    margin-right: 17px;
}

@media screen and (max-width: 500px) {
    form[name="Passclip"] input[type="submit"] {
        width: 100% !important;
        margin-top: 22px !important;
    }

    form[name="Passclip"] input {
        width: 100% !important;
        margin-top: 16px !important;
    }
}

/* パターン入力のinputを微調整*/
.passlogic_css_password {
    width: 200px;
    height: 44px;
    margin: 0px 10px 0 0;
    border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    -webkit-appearance: none;
    border: 1px solid #CCC;
    border: solid 2px #ee780c;
    background: #fffadf;
}

.passlogic_css_password:focus {
    outline: none;
    border: solid 2px #ee780c;
}

input.passwordForm:focus {
    outline: 1px solid #F90;
}

/**
 *メニュー画面
 */
/* 幅など調整*/
H3 {
    border-left: 2px solid #E3E3E3;
    border-top: 2px solid #E3E3E3;
    border-right: 2px solid #E3E3E3;
    background-color: #E3E3E3;
    padding: 10px 10px 10px 25px;
    border-radius: 5px 5px 0 0;
    -moz-border-radius: 5px 5px 0 0;
    -webkit-border-radius: 5px 5px 0 0;
    position: relative;
}

/* 区分表示にオレンジの縦線を入れる*/
H3::before {
    content: "";
    display: block;
    width: 4px;
    height: 18px;
    background-color: #ee780c;
    position: absolute;
    top: 9px;
    left: 12px;
}

.app-list {
    list-style-type: none;
    margin-bottom: 20px;
}

.app-list li {
    border-left: 2px solid #E3E3E3;
    border-bottom: 2px solid #E3E3E3;
    border-right: 2px solid #E3E3E3;
    margin-top: -1px;
    /* background: url("../images/arrow-black.png") no-repeat 4px 13px; */
}

.app-list li a {
    text-decoration: none;
    display: block;
    padding: 10px 35px 10px 18px;
    color: #ee780c;
    background: url(../images/arrow-black.png) no-repeat;
    background-position: right 15px center;
}

.app-list li a:hover {
    background: #f7f7f7 url("../images/arrow-yellow.png") no-repeat;
    background-position: right 15px center;
}


@media screen and (max-width: 500px) {
    #app-menu input.passlogic_css_submit {
        width: 100%;
    }
}

/**
 * パスワード変更画面 reauth.phpのスタイル
 */
/* reauth.phpのform */
#loginForm>table#randamNumbar {
    margin-top: 2.5em;
    margin-bottom: 25px;
}

form#loginForm .error-text {
    margin-bottom: 10px;
}

/* パスワード変更画面のキャンセルボタン*/
input.passlogic_css_submit[name="cancel"] {
    background: #6c6c6c;
    border: 1px solid #6c6c6c;
}

#loginForm .passlogic_css_submit {
    vertical-align: bottom;
}


/** 
 * パスワード変更画面 chgpasswd_ui.phpのスタイル
 */
.change-password {
    line-height: 1.5;
}

#detail_disp {
    line-height: 1.5;
}

/* 乱数表上の説明部分の初期テンプレートの改行のスタイリング */
#detail_disp+br {
    display: none;
}

#detail {
    margin-top: 1em;
    line-height: 1.5;
}

/* (*)を非表示　*/
.ess {
    display: none;
}

/* ■パスワード変更：入力 2/3 回目、3/3 回目の説明　*/
#loginText {
    line-height: 1.5;
}

#loginText+br {
    display: none;
}

/* パスワード変更完了画面のテキスト */
#loginText+br+input#back {
    margin-top: 2.5em;
}

/* パスワード変更画面の乱数表エリア*/
#chgpasswd_ui>table#randamNumbar {
    margin-top: 20px;
    margin-bottom: 15px;
}

/* パスワード変更画面のエラーメッセージ*/
form#chgpasswd_ui .error-text {
    margin-bottom: 10px;
}

/* パスワード変更画面の次へボタン*/
#chgpasswd_ui .passlogic_css_submit {
    vertical-align: bottom;
}

@media screen and (max-width: 390px) {
    #chgpasswd_ui .passlogic_css_submit {
        margin-top: 10px;
    }
}

/** 
 * 設定画面 setpass.phpのスタイル
 */
#setpass table th {
    padding-top: 5px !important;
    padding-right: 10px !important;
    vertical-align: middle;
}

#setpass table tr td {
    padding-top: 10px !important;
    white-space: nowrap;
    vertical-align: middle;
    height: 50px;
}

#setpass table tr.passclip_pin td,
#setpass table tr.totp_pin td {
    height: auto;
}

#setpass tr td span.error-text {
    margin-bottom: 10px;
}

#setpass table tr td input.passlogic_css_text,
#setpass table tr td input.passlogic_css_password {
    width: 200px;
    margin: 0px 10px 0px 0px !important;
    border: 1px solid #CCC;
    background: unset;
}

#setpass table tr td input.passlogic_css_checkbox {
    height: 44px;
    width: 25px;
    margin: 0;
    border: 1px solid #CCC;
}


/* 次へボタン*/
#setpass .passlogic_css_submit {
    margin-top: 2em;
}

#setpass input.passlogic_css_submit[name="cancel"] {
    vertical-align: bottom;
}

@media screen and (max-width: 640px) {
    #setpass table tr {
        display: flex !important;
        flex-direction: column;
        margin-bottom: 20px;
    }

    tr:has(#passclip_pin_edit[value='0'])~tr.passclip_pin,
    tr:has(#totp_pin_edit[value='0'])~tr.totp_pin {
        display: none !important;
    }

    #setpass input.passlogic_css_submit[name="cancel"] {
        margin-top: 10px;
    }
}

/** 
 * パターン再発行画面　reminder.phpのスタイル
 */
form[name="Reminder"] {
    margin-top: 2em;
}

form[name="Reminder"] span.error-text {
    display: block;
}

form[name="Reminder"] span.error-text+br {
    display: none;
}

form[name="Reminder"] select#domain {
    vertical-align: baseline;
    border-radius: 2px;
    margin-top: 2px;
    margin-bottom: 10px;
}

form[name="Reminder"] .passlogic_css_submit {
    margin-top: 1em;
}

/** 
 * 証明書の自動発行画面 autopki.phpのスタイル
 */
form[name="autopki"] {
    margin-top: 10px;
}

form[name="autopki"] .passlogic_css_submit {
    vertical-align: baseline;
}

form[name="autopki"] input.passlogic_css_submit {
    /* width: 230px; */
    vertical-align: bottom;
    margin-top: 10px;
    margin-right: 17px;
}

form[name="autopki"]#autopki {
    display: flex;
    justify-content: center;

}

form[name="autopki"]#autopki input.passlogic_css_submit {
    width: 185px;
}

form[name="autopki"]#autopki input.passlogic_css_submit:last-child {
    margin-right: 0;
}

@media screen and (max-width: 500px) {
    form[name="autopki"] input.passlogic_css_submit {
        width: 100%;
        margin-top: 16px;
    }

    form[name="autopki"]#autopki {
        display: block;
    }

    form[name="autopki"]#autopki input.passlogic_css_submit {
        width: 100%;
        margin-top: 16px;
    }
}

form#pkicheck_form {
    margin-top: 2em;
}

/** 
 * 証明書ダウンロード画面 certdownload.phpのスタイル
 */
/* ダウンロードボタン以降を下に持ってくるためにマージンを設定*/
form#certdownload {
    margin-top: 20px;
}

form#certdownload input#cert_password {
    display: block;
    margin-top: 10px;
    /* width: 266px; */
}

input#cert_password {
    width: 185px;
}

form#certdownload input#cert_download,
form#certdownload input#cert_download+input {
    width: 185px;
    margin-top: 2em;
    margin-right: 17px;
    vertical-align: baseline;
}

@media screen and (max-width: 500px) {
    form#certdownload input {
        width: 100% !important;
        margin-top: 16px !important;
    }

    form#certdownload input#cert_download {
        margin-top: 22px !important;
    }
}

#titleArea {
    width: 86%;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

@media screen and (max-width: 1070px) {
    #titleArea {
        width: 97%;
    }
}

.pc-menu {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.sp-menu {
    display: none;
}

/* spメニューに切り替え*/
@media screen and (max-width: 960px) {
    .pc-menu {
        display: none;
    }

    .sp-menu {
        display: block;
    }

    #titleArea {
        width: 90%;
    }
}

.pc-menu .expiry-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    border-left: solid 2px #ee780c;
    padding-left: 8px;
    margin-right: 16px;
    height: 100%;
    font-size: 14px;
    white-space: nowrap;
}

.pc-menu .expiry-box span {
    margin-top: 5px;
    margin-bottom: 5px;
}

.pc-menu .expiry-box:has(> :nth-child(2)) span:first-child {
    margin-bottom: 0;
}

.pc-menu .last-login {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    font-size: 14px;
    white-space: nowrap;
    margin-right: 10px !important;
}

.pc-menu .last-login span:first-child {
    font-weight: bold;
    margin-bottom: 3px;
}

#header #chgpasswd,
#header #passChg,
.sp-menu-contents #chgpasswd,
.sp-menu-contents #passChg {
    border: solid 2px #cfcfcf;
    background: #fff;
    color: #a9a9a9;
    border-radius: 5px;
    padding-right: 10px;
    padding-left: 10px;
    font-size: 13px;
    white-space: nowrap;
}

#header #chgpasswd:hover,
#header #passChg:hover,
.sp-menu-contents #chgpasswd:hover,
.sp-menu-contents #passChg:hover {
    border: solid 2px #ee780c;
    color: #ee780c;

}

.pc-menu #chgpasswd,
.pc-menu #passChg {
    width: auto;
    min-width: auto;
    margin-right: 16px;
}

#logout {
    background: #6c6c6c;
    color: #fff;
    border: unset;
    border-radius: 5px;
    width: 120px;
    min-width: auto;
    padding-right: 10px;
    padding-left: 10px;
    font-size: 13px;
    white-space: nowrap;
}

#logout:hover {
    background: #ee780c;
}


.sp-menu-btn {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0px;
    display: flex;
    height: 50px;
    width: 50px;
    justify-content: center;
    align-items: center;
    z-index: 90;
    background-color: #fff;
}

.sp-menu-btn span,
.sp-menu-btn span:before,
.sp-menu-btn span:after {
    content: '';
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background-color: #ee780c;
    position: absolute;
}

@media (hover: hover) {
    .sp-menu-btn:hover span,
    .sp-menu-btn:hover span:before,
    .sp-menu-btn:hover span:after {
        background-color: #ee790cb9;
    }
}

.sp-menu-btn span:before {
    bottom: 8px;
}

.sp-menu-btn span:after {
    top: 8px;
}

#sp-menu-btn-check:checked~.sp-menu-btn span {
    background-color: rgba(255, 255, 255, 0);
}

#sp-menu-btn-check:checked~.sp-menu-btn span::before {
    bottom: 0;
    transform: rotate(45deg);
}

#sp-menu-btn-check:checked~.sp-menu-btn span::after {
    top: 0;
    transform: rotate(-45deg);
}

#sp-menu-btn-check {
    display: none;
}

.sp-menu-contents {
    width: 100%;
    position: fixed;
    top: -100%;
    left: 0;
    /*leftの値を変更してメニューを画面外へ*/
    z-index: 20;
    background-color: #f5f5f5;
    /*アニメーション設定*/
    transition: all 0.5s;
    padding: 2em 2em;
}

/*メニューを画面内へ*/
.sp-menu-contents.checked {
    top: 62px;
}

@media screen and (min-width: 961px) {
    .sp-menu-contents.checked {
        top: -100%;
    }
}

.sp-menu-contents-inner {
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    border-top: solid 2px #ee780c;
    padding: 2em 5em;
}

@media screen and (max-width: 600px) {
    .sp-menu-contents-inner {
        padding: 2em 2em;
    }
}

.sp-menu-contents .setting-btn:has(> :nth-child(2)) input:last-child {
    margin-left: 10px;
}

.sp-menu-contents .expiry-box {
    display: flex;
    flex-direction: column;
    font-size: 14px;
}

.sp-menu-contents .expiry-box>span {
    margin-bottom: 10px;
}

.sp-menu-contents .setting-btn {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.sp-menu-contents .last-login {
    display: block;
    font-size: 14px;
    margin-right: 0px !important;
    line-height: 1.3;
}

.sp-menu-contents .last-login span {
    white-space: nowrap;
}

.sp-menu-contents .last-login span:last-child {
    margin-bottom: 10px;
    display: inline-block;
}

.sp-menu-contents .last-login span:first-child {
    font-weight: bold;
}

.sp-menu-contents .setting-btn>input {
    width: 100%;
    margin-bottom: 20px;
}

.sp-menu-contents #logout {
    width: 100%
}

@media screen and (max-width: 400px) {
    .sp-menu-contents {
        padding: 1.5em 1em;
    }

    .sp-menu-contents-inner {
        padding: 1em;
    }

    .sp-menu-contents .setting-btn {
        flex-direction: column;
        align-items: start;
    }

    .sp-menu-contents .setting-btn>input {
        margin-bottom: 16px;
    }

    .sp-menu-contents .setting-btn>input:last-child {
        margin-bottom: 20px;
    }

    .sp-menu-contents .setting-btn:has(> :nth-child(2)) input:last-child {
        margin-left: 0px;
    }
}

/* メニュー画面*/
.app_list {
    display: flex;
    flex-direction: column;
    margin-bottom: 3em;
}

.app_label {
    width: 100%;
    background-color: #f1f1f1;
    padding: 10px;
    border-radius: 3px;
    margin-bottom: 30px;
}

.app_label span {
    border-left: solid 4px #ee780c;
    padding-left: 8px;
    font-size: 18px;
    font-weight: bold;
}

.icon-list {
    display: flex;
    flex-wrap: wrap;
    row-gap: 50px;
}

.icon-list a {
    position: relative;
    width: 25%;
    padding-left: 24px;
    padding-right: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    color: #333333;
    text-decoration: none;
    transition: all 0s;
}

.icon-list a:not(:nth-child(4n)):before {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    width: 1px;
    height: 80px;
    background-color: #e3e3e3;
}

.icon-list a:hover {
    color: #ee780c;
    transition: all 0.5s;
}

.icon-list a img {
    width: 56px;
    transition: all 0s;
}

.icon-list a:hover img {
    filter: invert(40%) sepia(35%) saturate(5000%) hue-rotate(5deg) brightness(100%) contrast(100%);
    transition: all 0.5s;
}

.icon-list a span {
    width: 100%;
    text-align: center;
    word-break: break-all;
    overflow: hidden;
    padding-bottom: 2px;
    line-height: 1.1;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.icon-list a span.visible_hover {
    visibility: hidden;
    font-size: 12px;
    opacity: 0;
    white-space: normal;
    position: absolute;
    top: 100%;
    z-index: 10;
    color: #ee780c;
    background-color: #fff5ed;
    border: solid 1px #ee780c;
    padding: 3px;
    overflow: visible;
    -webkit-line-clamp: unset;
    transition: all 0s;
}

.icon-list a:hover span.visible_hover {
    visibility: visible;
    display: block;
    opacity: 1;
    transition-delay: 0.6s;
    transition-duration: 1s;
}

@media screen and (max-width: 750px) {
    .icon-list a {
        width: 33%;
    }

    .icon-list a:not(:nth-child(4n)):before {
        content: unset;
    }

    .icon-list a:not(:nth-child(3n)):before {
        content: "";
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        width: 1px;
        height: 80px;
        background-color: #e3e3e3;
    }

    .icon-list a span {
        font-size: 14px;
        padding: 2px;
        -webkit-line-clamp: 3;
    }
}


@media screen and (max-width: 500px) {

    .icon-list a {
        width: 50%;
    }

    .icon-list a:not(:nth-child(4n)):before,
    .icon-list a:not(:nth-child(3n)):before {
        content: unset;
    }

    .icon-list a:not(:nth-child(2n)):before {
        content: "";
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        width: 1px;
        height: 80px;
        background-color: #e3e3e3;
    }

    .icon-list a span {
        font-size: 14px;
        padding: 2px;
        -webkit-line-clamp: 3;
    }
}