/*
Theme Name: e-stag-e
Text Domain: twentytwenty
Version: 1.6
Requires at least: 4.7
Requires PHP: 5.2.4
Description: This E-STAG-E Theme for The website houkoku-s 
Tags: blog, one-column, custom-background, custom-colors, custom-logo, custom-menu, editor-style, featured-images, footer-widgets, full-width-template, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready, block-patterns, block-styles, wide-blocks, accessibility-ready
Author: E-STAGE(Thailand) Co.,Ltd
Author URI: https://www.e-stag-e.info/houkoku-s
Theme URI: https://www.e-stag-e.info/houkoku-s
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

All files, unless otherwise stated, are released under the GNU General Public
License version 2.0 (http://www.gnu.org/licenses/gpl-2.0.html)

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned
with others.
*/


/* HTML ----------------------------- */

.no-bg {
    background: none;
}


/* Header ----------------------------- */

.esheader .header-titles-wrapper {
    display: block;
    margin: 0 !important;
    padding-left: 3rem !important;
    padding-right: 3rem;
}

.esheader .header-titles-wrapper .site-logo {
    margin: 0 !important;
}

.esheader .header-titles {
    justify-content: unset !important;
    margin: 0 !important;
}

.header-alignleft {
    text-align: left;
    color:#fff;
    text-shadow:2px 2px black;
}


/* .header-max-width {
    max-width: 120rem !important;
    max-width: 80vw !important;
    margin-left: 15vw !important;
} */

.header-max-width{
    padding: 9rem 0;
    
}

.header-background-image {
    background-size: 100%;
    height: 35rem;
}


/*  Estage CSS footer  18. esfooter-img escontact-box
/* -------------------------------------------------------------------------- */

div.esfooter-img {
    padding: 5rem 0;
    width: 100%;
    height: 380px;
    background-repeat: no-repeat;
    background-size: auto;
    opacity: 1;
    background-image: url(https://www.e-stag-e.info/houkoku-s/wp-content/uploads/2021/04/footer4.jpg);
    background-position: right bottom, left top;
    background-repeat: no-repeat, repeat;
    background-size: cover;
}

.esfooter-box {
    float: inherit;
    padding-top: 50px;
    padding-bottom: 30px;
}

.esfooter-col {
    margin-left: 11.5vw;
    margin-right: -22vw;
    margin-top: auto;
    /*margin-left: 16vw;
    margin-right : -40vw;*/
}

h6.esfoter-con {
    border: 2px solid #fff;
    border-radius: 50px;
    width: 325px;
    height: 70px;
    text-align: center;
    float: left;
    padding: 22px;
    margin-top: 0;
}

.esfooter-box a {
    color: #ffffff;
    text-decoration: none;
}

.esfooter-box a :hover {
    color: #337ab7;
    text-decoration: none;
}

.footer-desktop td {
    /* padding: 0 0 1rem 0; */
    width: 20%;
    vertical-align: baseline;
}

.footer-mobile td {
    /* padding: 0 0 1rem 0; */
    width: 100%;
    vertical-align: baseline;
}

.footer-mobile span {
    font-size: 1.8rem;
}

.footer-box-right-column .main-menu {
    font-weight: bold;
}

.footer-box-right-column .sub-menu {
    padding: 0 2rem;
}

.footer-box-right-column .last-sub-menu {
    padding: 0 0 2rem 2rem;
}

@media screen and (min-width: 1138px) {
    .footer-desktop {
        display: block;
    }
    .footer-mobile {
        display: none;
    }
}

@media screen and (max-width: 1137px) {
    .footer-desktop {
        display: none;
    }
    .footer-mobile {
        display: block;
    }
}


/* End Footer ----------------------------- */

body:not(body[class*=" news"]):not(body[class*=" default-category"]) .header-background-image {
    background-position: center;
    background-repeat: no-repeat;
}

body[class*=" news"] .header-background-image,
body[class*=" default-category"] .header-background-image {
    background-position: center 50%;
}

@media screen and (min-width: 768px) and (max-width: 1366px) {
    .header-alignleft {
        font-size: 4rem;
    }
    .header-max-width {
        padding: 8rem 0;
    }
}

@media screen and (max-width: 991px) {
    .header-background-image {
        background-size: cover;
    }
}

@-ms-viewport {
    width: auto !important;
}


/* Menu ----------------------------- */

.primary-menu li:last-child a {
    display: flex;
    align-items: center;
}

.primary-menu li:last-child a img {
    margin: 0 5px;
}

.custom-logo-link img {
    width: 9rem;
}

.esheader .nav-toggle svg {
    fill: rgb(255, 255, 255);
}

.esheader .nav-toggle svg {
    height: 2rem;
    width: 2rem;
}

.esheader .nav-toggle:focus {
    outline: none;
}

@media screen and (min-width: 1000px) {
    .custom-logo-link img {
        height: 3rem;
    }
}

@media screen and (max-width: 999px) {
    .esheader .header-titles-wrapper {
        padding: 3rem;
    }
    .custom-logo-link img {
        height: auto;
    }
    .esheader .nav-toggle {
        right: -1.5rem !important;
    }
}


/* Category page ----------------------------- */

.entry-header-category {
    padding: 8rem 0;
}

.category-to-newslist-block {
    display: block;
    text-align: center;
    margin: 5rem;
    margin-left: auto;
    margin-right: auto;
}

.category-to-newslist-block p>a {
    display: contents;
    letter-spacing: -0.0275em;
    text-decoration: none !important;
}

.category-to-newslist-block p>a:hover {
    text-decoration: none !important;
}

.category-to-newslist-block .title {
    color: rgb(56, 56, 56);
    font-size: 2rem;
    font-weight: 600;
    text-decoration: none !important;
}

.category-to-newslist-block .title:hover {
    text-decoration-line: none !important;
}

.category-to-newslist-block .title-inner {
    padding-bottom: 5px;
    border-bottom: 2px solid rgb(54, 168, 222);
}

.category-to-newslist-block .title-inner:hover {
    color: rgb(0, 0, 0);
    padding-bottom: 5px;
    border-bottom: 2px solid rgb(54, 168, 222);
}


/* News List page ----------------------------- */

.news-list h2.custom-content-width {
    padding: 0 0 2rem 0;
    border-bottom: 0.2rem solid black;
}

.newspage {
    width: 100%;
    height: auto;
    margin: auto;
    margin-top: 5rem;
    padding: 0;
}

.newspage table th {
    color: #0e6ab4 !important;
    background: white !important;
}

.newspage table thead tr {
    border-bottom: 0px !important;
}

.newspage table tr {
    border-bottom: 1px solid rgb(191, 191, 191) !important;
}

.tablepress {
    max-width: 100% !important;
    width: 100% !important;
}

.tablepress>tbody>tr>td {
    vertical-align: baseline;
    padding: 1rem;
}

.tablepress .column-1 {
    width: 15%;
    border-color: transparent;
    border-bottom-color: rgb(226, 38, 88);
    text-align: left;
}

.tablepress .column-2 {
    width: 15%;
    color: rgb(54, 168, 222);
    border-color: transparent;
    border-bottom-color: rgb(226, 38, 88);
}

.tablepress .column-3 {
    width: 70%;
    border-color: transparent;
    border-bottom-color: rgb(226, 38, 88);
}

.tablepress .column-3 a {
    text-decoration-line: none;
    color: rgb(0, 0, 0);
}

.tablepress .column-3 a:hover {
    text-decoration-line: underline;
    color: rgb(0, 86, 179);
}

.tablepress>tbody>tr>td>p {
    margin: 0;
}

.tablepress>tbody>tr>td>p>a.category-link {
    background-color: rgb(0, 0, 0);
    color: rgb(255, 255, 255);
    text-decoration-line: none;
    display: block;
    width: 100%;
    padding: 1rem;
    text-align: center;
}

.tablepress>tbody>tr>td>p>a.category-link:hover {
    text-decoration-line: underline;
}

.newspage-mobile {
    display: flex;
    border-bottom: 1px solid rgb(209, 209, 209);
}

.newspage-mobile p {
    margin: 0;
    align-items: center;
}

.newspage-category-title {
    color: rgb(255, 255, 255);
}

.newspage-post-date {
    color: rgb(54, 168, 222);
}

.newspage-column {
    display: flex;
}

.newspage-column:nth-child(1),
.newspage-column:nth-child(2) {
    justify-content: center;
}

.newspage-column:nth-child(2),
.newspage-column:nth-child(3) {
    padding: 1rem;
}


/* .newspage-column:nth-child(1),
.newspage-column:nth-child(2) {
    display: flex;
    justify-content: center;
    padding: 1rem;
}

.newspage-column:nth-child(3) {
    display: flex;
    padding: 1rem;
} */

.newspage-category-link {
    background-color: rgb(0, 0, 0);
    color: rgb(255, 255, 255);
    text-decoration-line: none;
    display: block;
    width: 100%;
    padding: 1rem;
    text-align: center;
}

.newspage-category-link:hover {
    text-decoration-line: underline !important;
    text-decoration-color: rgb(255, 255, 255) !important;
    background-color: rgb(54, 168, 222);
}

.newspage-post-link {
    color: rgb(0, 0, 0);
    text-decoration-line: none;
    display: block;
    width: fit-content;
    padding: 1rem;
    text-align: left;
}

.newspage-post-link:hover {
    color: rgb(54, 168, 222);
    text-decoration-line: underline !important;
}

.category-header h2 {
    margin: 0 !important;
    padding: 0 0 2rem 0;
    border-bottom: 2px solid rgb(0, 0, 0);
}

.nav-news-list {
    display: block;
    text-align: center;
    margin: 5rem;
    margin-left: auto;
    margin-right: auto;
}

.nav-news-list .page-numbers {
    margin: 0 1rem;
    font-weight: 500;
    color: rgb(54, 168, 222);
}

.nav-news-list .current {
    color: rgb(0, 0, 0);
}

@media screen and (min-width: 1025px) {
    .newspage-column:nth-child(1) {
        flex-basis: 15%;
    }
    .newspage-column:nth-child(2) {
        flex-basis: 15%;
    }
    .newspage-column:nth-child(3) {
        flex-basis: 70%;
    }
}

@media screen and (min-width: 700px) and (max-width: 1024px) {
    .newspage-column:nth-child(1) {
        flex-basis: 25%;
    }
    .newspage-column:nth-child(2) {
        flex-basis: 25%;
    }
    .newspage-column:nth-child(3) {
        flex-basis: 50%;
    }
}

@media screen and (min-width: 1025px) {
    .newspage-mobile {
        flex-wrap: nowrap;
    }
}

@media screen and (max-width: 699px) {
    .newspage-mobile {
        flex-wrap: wrap;
    }
    .newspage-column {
        flex-basis: 100%;
    }
    .newspage-post-link {
        text-align: center;
    }
}


/* Recruitment page ----------------------------- */


/* .recruit-inline-image {
    margin: 0px;
    display: inline-block;
    width: 30% !important;
}

.recruit-alignleft-image {
    float: left;
}

.recruit-alignright-image {
    float: right;
}

.recruit-aligncenter-image {
    left: 50%;
    position: absolute;
    margin-left: -15% !important;
} */

.recruit-block-buttons .wp-block-button {
    position: relative;
    width: 100% !important;
    height: 35rem;
}

.recruit-block-buttons .wp-block-button__link {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    width: 100% !important;
    height: 100%;
    margin: 0 !important;
    background-color: rgb(0, 0, 0);
}

.recruit-block-buttons .wp-block-button__link:focus {
    outline-style: none;
}

.recruit-block-buttons .wp-block-button__link:hover {
    transition: all 0.15s linear;
    background-color: rgb(54, 168, 222);
}

.recruit-block-buttons .recruit-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.coverbutton a {
    background-color: rgb(0, 0, 0);
}

.coverbutton a:focus {
    outline-style: none;
}

.coverbutton a:hover {
    background-color: rgb(54, 168, 222);
    transition: all 0.15s linear;
}

.buttonrecruit a:focus {
    outline-style: none;
}

.buttonrecruit a:hover {
    opacity: 0.5;
}

.recruit-no-margin {
    margin: 0px !important;
}

.recruit-no-margin>.wp-block-button {
    margin: .5rem 0 !important;
}

.recruit-full-width {
    padding: 0px !important;
}

.recruit-full-width>.wp-block-cover__inner-container {
    width: 100% !important;
}

.recruit-table-cover {
    margin-bottom: 0px !important;
}

.recruit-table-cover>.wp-block-cover__inner-container>.wp-block-table {
    max-width: 90% !important;
}

.recruit-table-cover>.wp-block-cover__inner-container>.wp-block-table>table {
    background-color: rgb(219, 219, 219);
}

.recruit-table-cover>.wp-block-cover__inner-container>.wp-block-table>table>tbody>tr>td {
    border-bottom-color: rgb(226, 38, 88);
    vertical-align: baseline;
}

.recruit-table-cover>.wp-block-cover__inner-container>.wp-block-table>table>tbody>tr>td:nth-child(1) {
    width: 30%;
    border-right-color: transparent;
}


/* ---------------vehicle-inspection----------------- */

.entry-content>h3>.line-mark>strong {
    border-bottom: 10px solid rgb(54 168 222);
}

.vehicle-inspection .line-mark strong {
    background: linear-gradient(180deg, transparent 67%, #36A8DE 0, #36A8DE);
    padding: 3px;
}

.vehicle-work-content-table {
    border-color: transparent;
}

.vehicle-work-content-table tr td {
    vertical-align: baseline;
    padding: 0;
}

.vehicle-work-content-table tr td:nth-child(1) {
    width: 1px;
    text-align: right;
    white-space: nowrap;
}

.vehicle-work-content-table tr td:nth-child(2) {
    padding-left: .5rem;
}


/* Recruitment form page ----------------------------- */

.wpcf7 {
    max-width: 60vw !important;
    width: 100% !important;
    margin: auto;
}

.wpcf7 input[type=file]:focus,
.wpcf7 input[type=checkbox]:focus,
.wpcf7 input[type=radio]:focus {
    outline: 0.1px auto rgba(54, 168, 222, 0.3);
    outline-offset: 1px;
}

.custom-policy {
    display: flex;
    align-items: baseline;
}

.custom-policy-text {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

.custom-policy-text a {
    color: rgb(54, 168, 222);
    text-decoration-line: none;
}

.custom-policy-text a:focus {
    outline: 0.1px auto rgba(54, 168, 222, 0.3);
    outline-offset: 1px;
}

.custom-policy-text a:hover {
    color: rgb(0, 86, 179);
    text-decoration-line: underline !important;
}

.custom-submit-button {
    text-align: center;
    margin-top: 3rem;
}

.wpcf7-submit {
    padding: 1.5rem 5rem !important;
    transition: all 0.15s linear !important;
    background-color: rgb(0, 0, 0) !important;
}

.wpcf7-submit:hover {
    background-color: rgb(54, 168, 222) !important;
}

.wpcf7-submit:focus {
    outline-style: none;
}

span.first,
.custom-policy .wpcf7-list-item:nth-child(1) {
    margin-left: 0 !important;
}

.custom-form-outer {
    margin: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    background-color: rgb(247, 247, 247);
    padding: 5rem;
}

.form-group label {
    font-weight: 600;
}

.recruit-form-contact {
    display: flex;
    justify-content: center;
    align-items: center;
}

.icon-phone {
    margin-right: 1rem;
}

@media screen and (min-width: 700px) {
    .icon-phone {
        height: 4.8rem;
    }
}

@media screen and (max-width: 699px) {
    .icon-phone {
        height: 3.2rem;
    }
}


/* Service page ----------------------------- */

.service-first-line {
    display: inline-block;
    background-color: rgb(0, 0, 0);
    color: rgb(255, 255, 255);
    padding: 2rem 2rem 1rem 2rem;
}

.service-second-line {
    display: inline-block;
    background-color: rgb(0, 0, 0);
    color: rgb(255, 255, 255);
    padding: 1rem 1rem 2rem 2rem;
}

.service-first-line span {
    color: rgb(54, 168, 222);
}

.service-title-column h3,
.service-title-column h6,
.service-title-column .wp-block-button {
    margin-top: 0 !important;
}

.service-title-column a span {
    font-weight: 100;
}

.service-title-alignright {
    text-align: right;
}

.service-title-alignright .wp-block-buttons {
    justify-content: flex-end;
}

.service-main-column {
    margin-top: 0 !important;
}

.service-main-column-left {
    padding: 0 1rem;
    flex-basis: 60vw !important;
}

.service-main-column-right {
    padding: 0 1rem;
    border-left: 0.1rem solid lightgray;
    text-align: right;
    height: 35rem;
    flex-basis: 40vw !important;
}

.service-group-button-width {
    justify-content: center;
}

.service-group-button-width .wp-block-button:nth-child(1) a {
    background-color: rgb(0, 0, 0);
}

.service-group-button-width .wp-block-button:nth-child(2) a {
    background-color: rgb(56, 56, 56);
}

.service-group-button-width .wp-block-button:nth-child(3) a {
    background-color: rgb(5, 96, 123);
}

.service-group-button-width .wp-block-button:nth-child(4) a {
    background-color: rgb(51, 154, 185);
}

.service-group-button-width .wp-block-button a:hover {
    opacity: 0.5;
}

@media (min-width: 1025px) {
    .service-group-button-width .wp-block-button * {
        width: 20rem;
    }
}

@media (min-width: 280px) and (max-width: 1024px) {
    .service-group-button-width .wp-block-button {
        width: 100%;
    }
    .service-group-button-width .wp-block-button a {
        width: 100%;
    }
}

.service-title-column h6 {
    color: rgb(54, 168, 222);
}

.service-title-column a {
    background-color: rgb(54, 168, 222);
    padding: 1.1em 2.44em;
}

.service-title-column a:hover {
    opacity: 0.5;
}

.service-title-column a:focus {
    outline-style: none;
}

.content-rotate {
    position: relative;
    display: flex;
    text-align: left;
    max-width: 100%;
}


/* .content-rotate {
    margin: 0 !important;
    -webkit-writing-mode: vertical-rl;
    -ms-writing-mode: vertical-rl;
    writing-mode: tb-rl;
    writing-mode: vertical-rl;
    text-orientation: upright;
    display: flex;
    text-align: left;
    max-width: 100%;
} */

.service-main-column-right>.wp-block-columns,
.content-rotate-inner {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

@media screen and (min-width: 1367px) {
    /* top service content */
    .service-content-width {
        max-width: 60vw !important;
        width: 100% !important;
    }
    .service-main-column-right {
        padding: 0 5rem;
    }
    .service-main-column-left {
        padding: 0 5rem;
    }
    .service-group-button-width {
        /* max-width: 100rem !important; */
        /* max-width: 65vw !important; */
        max-width: 60vw !important;
        width: 100% !important;
    }
    /* header */
    .header-max-width {
        max-width: 60vw !important;
    }
    /* breadcrumb */
    .custom-breadcrumb {
        max-width: 60vw !important;
    }
    /* news list */
    .newspage {
        max-width: 60vw !important;
    }
    /* other content */
    .custom-content-width {
        max-width: 60vw !important;
        width: 100% !important;
    }
    /* single post */
    .custom-single-post-content {
        max-width: 60vw !important;
        width: 100% !important;
    }
    .custom-single-post-content * {
        max-width: 60vw !important;
        width: 100% !important;
    }
}

@media screen and (min-width: 600px) and (max-width: 1366px) {
    /* top service content */
    .service-content-width {
        max-width: 80vw !important;
        width: 100% !important;
    }
    .service-group-button-width {
        /* max-width: 100rem !important; */
        /* max-width: 90vw !important; */
        max-width: 80vw !important;
        width: 100% !important;
    }
    /* header */
    .header-max-width {
        max-width: 80vw !important;
    }
    /* breadcrumb */
    .custom-breadcrumb {
        max-width: 80vw !important;
    }
    /* news list */
    .newspage {
        max-width: 80vw !important;
    }
    /* other content */
    .custom-content-width {
        max-width: 80vw !important;
        width: 100% !important;
    }
    /* single post */
    .custom-single-post-content {
        max-width: 80vw !important;
        width: 100% !important;
    }
    .custom-single-post-content * {
        max-width: 80vw !important;
        width: 100% !important;
    }
}

@media screen and (min-width: 600px) {
    /* top service content */
    /* .content-rotate {
        align-items: center;
    } */
    .content-rotate {
        align-items: baseline;
        margin: 0 !important;
    }
    .content-rotate-inner {
        position: absolute;
        right: 0;
        width: 0.5em;
    }
    .service-main-column-right {
        margin-left: 0 !important;
    }
    .service-main-column * {
        margin-bottom: 0 !important;
    }
    .right-text {
        line-height: 1.1;
        background-image: linear-gradient(270deg, rgba(255, 200, 0, 0) 50%, rgb(54, 168, 222) 0, rgb(54, 168, 222));
    }
    .service-main-column-right>.wp-block-columns {
        margin-left: 0 !important;
        flex-wrap: nowrap;
    }
}

@media screen and (max-width: 599px) {
    /* service top content */
    .service-main-column .wp-block-columns {
        flex-wrap: wrap-reverse;
    }
    .content-rotate {
        writing-mode: lr-tb;
        margin: 0 !important;
        padding: 0.4rem;
    }
    .service-content-width {
        max-width: 80vw !important;
        width: 100% !important;
    }
    .service-main-column-right {
        margin: 0 0 3.2rem 0 !important;
        height: auto;
    }
    /* service large and arial content */
    .service-wrap-content {
        flex-wrap: wrap;
    }
    /* service small content */
    .service-wrap-reverse-content {
        flex-wrap: wrap-reverse !important;
    }
    .service-wrap-reverse-content .service-title-alignright {
        text-align: left;
        margin-bottom: 3.2rem !important;
    }
    /* service group button */
    .service-group-button-width>div {
        margin-right: 0 !important;
    }
    /* 2nd rotation */
    .content-rotate-inner,
    .content-rotate-inner-reverse {
        margin: 0 !important;
    }
    .right-text {
        width: fit-content;
        background-image: linear-gradient(180deg, rgba(255, 200, 0, 0) 54%, rgb(54, 168, 222) 0, rgb(54, 168, 222));
    }
    .service-main-column {
        flex-wrap: wrap-reverse !important;
    }
    .service-group-button-width {
        /* max-width: 100rem !important; */
        /* max-width: 60vw !important; */
        max-width: 80vw !important;
        width: 100% !important;
    }
    /* header */
    .header-max-width {
        max-width: 80vw !important;
    }
    /* breadcrumb */
    .custom-breadcrumb {
        max-width: 80vw !important;
    }
    /* news list */
    .newspage {
        max-width: 80vw !important;
    }
    /* other content */
    .custom-content-width {
        max-width: 80vw !important;
        width: 100% !important;
    }
    /* single post */
    .custom-single-post-content {
        max-width: 80vw !important;
        width: 100% !important;
    }
    .custom-single-post-content * {
        max-width: 80vw !important;
        width: 100% !important;
    }
    .service-title-column h3 {
        text-align: center;
    }
    .service-title-column .wp-block-buttons {
        justify-content: center;
    }
    .service-content-width:last-child {
        margin-bottom: 4rem !important;
    }
}

@media screen and (min-width: 400px) and (max-width: 499px) {
    .service-first-title {
        font-size: 2rem;
    }
}

@media screen and (max-width: 399px) {
    .service-first-title {
        font-size: 1.5rem;
    }
    .service-first-line {
        width: 100%;
        padding: 1rem 1rem 0.5rem 1rem;
    }
    .service-second-line {
        width: 100%;
        padding: 0.5rem 0.5rem 1rem 1rem;
    }
}


/* Large crane page ----------------------------- */


/* .large-crane-button,
.large-crane-button a {
    display: block !important;
    width: 100% !important;
    margin: 0 0 3rem 0 !important;
}

.large-crane-button a {
    padding: 1rem 2rem;
    background-color: rgb(54, 168, 222);
    color: rgb(255, 255, 255);
    text-decoration-line: none;
} */


/* Small crane page ----------------------------- */

.small-crane-button a {
    text-decoration: none !important;
    padding: 1rem 2rem;
    /* background-color : rgb(226, 38, 88); */
    background-color: rgb(54, 168, 222);
    color: rgb(255, 255, 255);
    text-decoration-line: none;
    transition: all 0.15s linear;
}

.small-crane-button a:focus {
    outline-style: none;
}

.small-crane-button,
.small-crane-button a {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
}


/* Other page ----------------------------- */


/* .custom-content-width {
    max-width: 55vw !important;
    width: 100% !important;
} */

.custom-column-width {
    /* max-width: 120rem !important; */
    max-width: 70vw !important;
    width: 100% !important;
    margin-left: 15vw !important;
}


/* .custom-breadcrumb {
    max-width: 100% !important;
    margin-left: 15vw;
    margin-right: 0;
    padding: 4.5rem;
    color: rgb(163, 163, 163);
    background-color: rgb(219, 219, 219);
} */

.custom-breadcrumb {
    display: flex;
    margin: auto;
    padding: 4.5rem 0;
    background-color: transparent;
}

.custom-breadcrumb p:nth-child(1) {
    margin: 0.5rem 0;
}

.custom-breadcrumb p {
    margin: 0.5rem 0 0.5rem 1.5rem;
}

.custom-breadcrumb .breadcrumb-arrow {
    color: rgb(163, 163, 163);
}

.custom-breadcrumb a {
    color: rgb(0, 0, 0);
    text-decoration-line: none;
}

.custom-breadcrumb a:hover,
.custom-breadcrumb a:focus,
.custom-breadcrumb .breadcrumb-title:hover,
.custom-breadcrumb .breadcrumb-title:focus {
    text-decoration-line: underline;
    color: rgb(0, 86, 179);
}

.custom-breadcrumb a:hover,
.custom-breadcrumb a:focus,
.custom-breadcrumb .breadcrumb-title:hover,
.custom-breadcrumb .breadcrumb-title:focus {
    outline-style: none;
}

.custom-breadcrumb-inner {
    display: flex;
}

.breadcrumb-arrow {
    margin-right: 1.5rem;
}

.breadcrumb-ancestor a {
    font-weight: 600;
}

.breadcrumb-current a {
    text-decoration: underline;
}

.breadcrumb-current .breadcrumb-title {
    font-weight: 500;
}

@media screen and (min-width: 700px) {
    .post-inner {
        padding-top: 0 !important;
    }
}

@media screen and (max-width: 699px) {
    .header-max-width h1 {
        padding: 8rem 0;
    }
    .custom-breadcrumb {
        flex-wrap: wrap;
        padding: 2rem 0;
    }
    .custom-breadcrumb p:nth-child(1) {
        margin: 0.5rem 0 0.5rem 0.5rem;
    }
    .custom-breadcrumb p {
        margin: 0.5rem 1.5rem;
    }
}


/* News Detail post ----------------------------- */

.content-news-detail>.date {
    color: rgb(54, 168, 222);
}

.content-news-detail>.table-title {
    margin-top: 0;
    margin-bottom: 5rem !important;
    font-size: 2.4rem;
    border: none;
}

.content-news-detail>.table-title>tbody>tr>td {
    border-color: rgb(255, 255, 255);
    border-left-color: rgb(163, 163, 163);
    border-left: solid rgb(163, 163, 163);
    padding: 0 0 0 2vw;
    font-weight: bolder;
}

.content-news-detail .category-block a {
    padding: 1rem 2rem;
    /* background-color : rgb(226, 38, 88); */
    background-color: rgb(54, 168, 222);
    color: rgb(255, 255, 255);
    text-decoration-line: none;
}

.content-news-detail .category-block a:focus {
    outline-style: none;
}

.content-news-detail a:hover {
    opacity: 0.5;
    text-decoration-line: underline !important;
}

.nav-news-detail {
    margin-bottom: 8rem;
}

.nav-news-detail .nav-center {
    justify-content: center;
}

.nav-news-detail p {
    align-items: center;
    display: flex;
    flex: 1;
}

.nav-news-detail p>a {
    display: contents;
    /* display     : block; */
    letter-spacing: -0.0275em;
    text-decoration: none !important;
    flex: none;
}

.nav-news-detail p>a:hover {
    text-decoration: none !important;
}

.nav-news-detail .next-post>a {
    flex-direction: row-reverse;
    text-align: right;
}

.nav-news-detail .arrow {
    color: rgb(163, 163, 163);
    font-weight: normal;
}

.nav-news-detail .title {
    color: rgb(56, 56, 56);
    font-size: 2rem;
    font-weight: 600;
    text-decoration: none !important;
}

.nav-news-detail .title:hover {
    text-decoration-line: none !important;
}

.nav-news-detail .news-list .title-inner {
    padding-bottom: 5px;
    border-bottom: 2px solid rgb(54, 168, 222);
}

.nav-news-detail .title-inner:hover {
    color: rgb(0, 0, 0);
    padding-bottom: 5px;
    border-bottom: 2px solid rgb(54, 168, 222);
}

.nav-news-detail .nav-center .title-inner:hover {
    border-bottom: none;
}

@media screen and (min-width: 1024px) {
    .nav-news-detail .nav-alignleft {
        justify-content: flex-end;
    }
}

@media screen and (min-width: 700px) and (max-width: 1023px) {
    .nav-news-detail .nav-alignright {
        justify-content: flex-end;
    }
    .nav-news-detail .nav-alignleft {
        justify-content: flex-start;
    }
}

@media screen and (min-width: 700px) {
    .category-block {
        display: inline-flex;
        margin-right: 1rem;
    }
}

@media screen and (max-width: 699px) {
    .content-news-detail .category-block a {
        display: block;
        width: 100%;
        text-align: center;
    }
    .nav-news-detail>.pagination-single-inner>p {
        justify-content: center;
    }
}
