/*
Theme Name: x-t9-child
Template: x-t9
*/
@import url('../x-t9/style.css');

html {
    width: 100vw;
}

p {
    font-size: 18.4px;
    line-height: 1.14;
    font-weight: lighter;
}

body {
    font-family: Helvetica, Arial, sans-serif;
    font-weight: lighter;
}

ul {
    margin-top: 0px;
    margin-bottom: 0px;
    padding-inline-start: 0px;
}

figure {
    display: block;
}

.main-body {
    width: 1100px;
    height: auto;
}

.splitter .alignfull, .splitter .is-layout-constrained .alignfull, .splitter .vk_outer-width-full, .splitter .is-layout-constrained .vk_outer-width-full {
    max-width: none;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/** Header */
.header-area {
    height: 100px;
}
.header-area, .footer-area {
    color: white;
    background-color: black !important;
}

.header-frame {
    border-color: white !important;
    border: solid 1px;
}

/** グローバルナビゲーションのサブメニュー */
.wp-block-navigation__responsive-container:not(.has-modal-open) .wp-block-navigation__submenu-container .wp-block-navigation-item {
    background-color: white !important;
    color: black !important;
}
@media screen and (max-width: 768px) {
    .has-modal-open :where(.wp-block-navigation__container,.wp-block-page-list) li .wp-block-navigation-item__content {
        border-bottom: solid 1px rgba(0, 0, 0, 0.5);
    }
    
}

.hero-img {
    height: 250px;
    width: auto;
    object-fit: cover;
    text-align: center;
}

.hero-img .wp-block-cover__image-background {
    background-size: auto;
}

main {
    background-color: white;
}

.top-hero-img {
    object-fit: cover;
    text-align: center;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 7vw), 0 100%);
}

/** カルーセル */
.bx-wrapper {
    border: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

.bx-wrapper .bx-viewport {
    background-color: #efecec !important;
}

.bx-wrapper .bx-prev, .bx-wrapper .bx-next {
    background: none !important;
    height: 40px !important;
    width: 40px !important;
    background-color: black !important;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
}
.bx-wrapper .bx-prev::before, .bx-wrapper .bx-next::before {
    background: url("bxslider/images/arrow.png") no-repeat 3px center !important;
    background-size: 100% !important;
    content: '' !important;
    display: block !important;
    width: 26px !important;
    height: 32px;
    margin-left: 7px;
    margin-top: 3px;
}

.bx-wrapper .bx-next {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}

.top-hero-img-mid {
    display: none;
}
.top-hero-img-large {
    display: block;
}
.top-hero-img-large > .wp-block-cover__image-background {
    background-size: cover !important;
    background-color: black !important    
}
.top-main-content p {
    font-size: 27px !important;
    line-height: 34px !important;
}
/** iOSでpararaxが効かない */
.wp-block-cover__image-background.has-parallax {
    position: fixed;
    height: 100vh;
    z-index: -1;
}
/** Tablet Top */
@media screen and (max-width: 768px) {
    .top-hero-img-mid {
        width: 100%;
    }
    .top-hero-img-mid > .wp-block-cover__image-background {
        background-size: contain !important;
        background-position: 50% 80px !important;
        background-color: black !important    
    }
    .top-hero-img {
        clip-path: polygon(0 0, 100% 0, 100% calc(100% - 7vw), 0 100%);
    }
    .top-hero-img-large {
        display: none;
    }
    .top-hero-img-mid {
        display: block;
    }
    .hero-img {
        height: 133px;
        width: auto;
    }
    .space-large {
        height: 50px !important;
    }
    .top-main-content p {
        font-size: 21.79px !important;
        line-height: 26px !important;
    }
    .top-keylexman-area {
        display: block;
        text-align: center;
    }
    .top-keylexman-logo {
        display: inline-flex;
        width: 456px;
        height: 100%;
    }
    .top-keylexman-img {
        display: inline-flex;
        width: 573px;
        height: 100%;
    }
}

/** Mobile Top */
@media screen and (max-width: 431px) {
    .top-hero-img-mid {
        width: 100%;
    }
    .top-hero-img-mid > .wp-block-cover__image-background {
        background-size: contain !important;
        background-position: 50% 80px !important;
        background-color: black !important    
    }
    .top-hero-img {
        clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10vw), 0 100%);
    }
    .has-modal-open :where(.wp-block-navigation__container,.wp-block-page-list) li .wp-block-navigation-item__content {
        border-bottom: 1px solid rgba(0, 0, 0, 0.5) !important;
    }
    .top-hero-img-large {
        display: none;
    }
    .top-hero-img-mid {
        display: block;
    }
    .hero-img {
        height: 65px;
        width: auto;
    }
    .space-large {
        height: 30px !important;
    }
    .top-main-content p {
        font-size: 17.47px !important;
    }
    ul.slides {
        padding-top: 15px !important;
        padding-left: 15px !important;
    }
    ul.slides > li {
        width: 223px !important;
        height: 223px !important;
        margin-right: 15px !important;
    }

    ul.slides > li:first-child {
        margin-left: 15px !important;
    }
}

.news-category a {
    font-size: 16px;
    text-decoration: underline;
}

.news-content p {
    line-height: 22px;
}

.cat-item a, .wp-block-archives-list a {
    font-size: 18.4px;
}

.news-bottom-line {
    height: 0.5px !important;
}

.taxonomy-category a {
    font-weight: bold;
    font-size: 18.4px
}

/** 
ラインナップページ
*/
.product-erea > * > .product-img img {
    width: 100%;
}

@media screen and (max-width: 768px) {
    .product-erea {
        flex-wrap: nowrap !important;
    }
}

@media screen and (max-width: 431px) {
    .product-erea {
        flex-wrap: wrap-reverse !important;
    }
}


/**
製品詳細ページ
*/

.manual-header p{
    display: table-cell;
    vertical-align: middle;
    font-size: 24.33px;
    font-weight: bold;
    height: 50px;
    width: 100%;
}

.manual-button {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    width: 354px;
    height: 80px;
    background-color: black;
    text-decoration: none;
}

.manual-button p {
    color: white;
    font-size: 21.16px;
    font-weight: bold;
}

@media screen and (max-width: 768px) {
    .manual-header p{
        font-size: 16.97px;
    }
    .manual-button {
        width: 220px;
        height: 70px;
    }
    .man-columns {
        display: block;
        gap: 0 15px;
    }
    .man-columns > .wp-block-column {
        flex-grow: inherit;
    }
    .wp-block-group > .man-columns > .wp-block-column {
        flex-basis: auto !important;
    }
}

@media screen and (max-width: 431px) {
    .manual-header p{
        font-size: 15.66px;
        height: 70px;
    }
    .man-columns {
        display: grid !important;
        align-items: center;
        gap: 20px 0;
    }
    .man-columns .wp-block-column {
        margin: 0 auto;
    }
}

/** Destributor */

/** Our Business */
.business * h1, .business * h2 {
    font-size: 32.18px;
    line-height: 37px;
}

.business * h3 {
    font-size: 21.16px;
    line-height: 24px;
}

.business * p {
    font-size: 16px;
    font-weight: lighter;
    line-height: 24px;
}

.business * .desc {
    font-size: 21.16px;
    line-height: 25px;
}

@media screen and (max-width: 768px) {
    .business * h1, .business * h2 {
        font-size: 21.79px;
        line-height: 26px;
    }
    .business * h3 {
        font-size: 19.23px;
        line-height: 22px;
    }
    .business * p {
        font-size: 14.97px;
        line-height: 20px;
    }
    .business * .desc {
        font-size: 16.97px
    }
}

@media screen and (max-width: 431px) {
    .business * h1, .business * h2 {
        font-size: 17.47px;
        line-height: 21px;
    }
    .business * h3 {
        font-size: 17.47px;
        line-height: 21px;
    }
    .business * p {
        font-size: 15.66px;
        line-height: 18px;
    }
    .business * .desc {
        font-size: 15.66px;
        line-height: 19px;
    }
}

/** Mobileで1カラムになってしまう */
@media screen and (min-width: 431px) {
    .business .wp-block-columns  {
        flex-wrap: nowrap !important;
    }
}


/** Privacy Policy */
.privacy-child-list {
    list-style: lower-alpha;
}

/** Contact Us */
.contact-us, .contact-us > * .wp-block-cover__background, .contact-us > * > * {
    background-color: #CCCACA;
}

.contact-figure {
    background-color: white;
}

.contact-required {
    padding-left: 20px;
    font-size: 16px;
    font-weight: bold;
    color: red;
}

.wpcf7-list-item {
    display: inline-flex;
    margin: 0;
    justify-content: space-between;
}

/**
table, table th, table td, .wp-block-table table, .wp-block-table table th, .wp-block-table table td {
    border: 1px solid rgba(0,0,0,0.5) !important;
}
*/

.contact-table > tbody > tr {
    height: 50px;
}

.contact-label {
    font-size: 16px;
}

.contact-radio {
    accent-color: black;
}

.submit-area {
    text-align: center;
    margin: 16px 0 0 0;
}

.submit-button {
    text-align: center;
    width: 300px;
    font-size: 27.98px;
    font-weight: bold;
}

.submit-button:hover {
    background-color: black;
    color: white;
}

.submit-button:focus, .submit-button.focus {
    outline: auto;
    box-shadow: none;
}

.wpcf7 form .wpcf7-response-output {
    margin-bottom: 0;
    padding-bottom: 0;
}

.dest-headline {
    line-height: 37px;
}

.dest-headline * {
    font-size: 32.18px !important;
}

.dest-desc {
    font-size: 21.16px !important;
    line-height: 24px;
}

@media screen and (max-width: 768px) {
    .submit-button {
        font-size: 19.23px;
    }
    .dest-headline {
        line-height: 20px;
    }
    .dest-headline * {
        font-size: 21.79px !important;
    }
    .dest-desc {
        font-size: 16.97px !important;
        line-height: 20px;
    }
}

@media screen and (max-width: 431px) {
    .submit-button {
        font-size: 17.47px;
    }
    .dest-headline * {
        font-size: 17.47px !important;
    }
    .dest-desc {
        font-size: 15.66px !important;
        line-height: 18px;
    }
}

/** Site Map */
.sitemap-area * a {
    text-decoration: none;
}

/** Post */
.post-footer-next a, .post-footer-back a {
    text-decoration: none;
}


/** Footer */
#footer-erea *, #copyright * {
    color: white !important;
}

#copyright {
    display: block;
    font-weight: lighter;
    text-align: center;
    padding-bottom: 30px !important;
}

#copyright * {
    font-size: 12px !important;
}

#footer-banner {
    width: 260px;
    height: 70px;
}

.footer-nav * span {
    font-size: 18.4px !important;
}

.nav-large-right, .nav-large-left  {
    display: block;
}

.nav-mid {
    display: none;
}

@media screen and (max-width: 768px) {
    .nav-large-right, .nav-large-left  {
        display: none;
    }

    .nav-mid {
        display: block;
    }

    #copyright p {
        font-size: 10px !important;
    }
}

@media screen and (max-width: 431px) {
    .nav-large-right, .nav-large-left  {
        display: none;
    }

    .nav-mid {
        display: block;
    }

    #copyright p {
        font-size: 10px !important;
    }
    
    .sitemap-area .wp-block-group .wp-block-columns {
        gap: unset !important;
    }
}



/** フッターリンクの間隔 */
*[class*=nav--vertical-with-hr] .wp-block-navigation-item>.wp-block-navigation-item__content, *[class*=nav--vertical-with-hr] .wp-block-navigation-item>a.wp-block-navigation-item__content {
    padding: 7.5px 0 7.5px 0 !important;
}

/** JSフェードイン */
.fadein.is-active {
	opacity: 1 !important;
	transform: translateY(0) !important;
}

.fadein {
	opacity: 0;
	transform: translateY(30px) !important;
	transition-property: transform, opacity !important;
	transition-duration: 1.5s !important;
	transition-delay: 0s !important;
}

/** Newのサイドウィジェット */
ul:is(.wp-block-archives-list,.wp-block-categories-list,.vk_ancestorPageList_list,.vk_taxonomy-list,.vk_archive-list) li a {
    border-bottom: 1px solid rgba(0, 0, 0, 0.5);
}

/** ホバー時の色変更 */
ul:is(.wp-block-archives-list,.wp-block-categories-list,.vk_ancestorPageList_list,.vk_taxonomy-list,.vk_archive-list) li a:hover, ul:is(.wp-block-archives-list,.wp-block-categories-list,.vk_ancestorPageList_list,.vk_taxonomy-list,.vk_archive-list) li.current-cat>a, ul:is(.wp-block-archives-list,.wp-block-categories-list,.vk_ancestorPageList_list,.vk_taxonomy-list,.vk_archive-list) li.current_page_item>a, ul:is(.wp-block-archives-list,.wp-block-categories-list,.vk_ancestorPageList_list,.vk_taxonomy-list,.vk_archive-list) li a[area-current=page] {
    background-color: #EFECEC;
    color: black;
}

/** ホバー時の色変更 */
.wp-element-button:hover, .wp-block-button__link:hover, .submit-button:hover, .lineup-button-field:hover, .product-url-button:hover, .manual-button:hover {
    background-color: #CCCACA !important;
    color: black !important;
}
.header-frame a:hover, .wp-block-navigation__submenu-container > .wp-block-navigation-item > a:hover {
    background-color: #CCCACA !important;
    color: black;
}