/*
Theme Name: Smile Cargo
Theme URI: 
Template: lightning
Description: 
Author: 
Tags: 
Version: 0.6.0
*/


.vk-mobile-nav-menu-btn {
    border-radius: 5px;
}

@media (min-width: 992px) {
    .site-header-logo {
        padding-top: 1.4rem;
    }
}
.site-header-sub {
    margin-top: 1.2rem;
}
.vk-mobile-nav-menu-btn.vk-mobile-nav-menu-btn {
    position: fixed;
    top: 10px;
    left: 10px;
}
.vk-mobile-nav {
    padding: 60px 10px;
}
.vk-mobile-nav nav ul li a {
    padding: 1.2em 0.5em;
}
li {
    line-height: 1.75;
}

.vkp-table-underline :is(td,th) {
  border: none;
  padding: 1rem;
}

/*table style*/
.vkp-table-underline tr td:nth-of-type(1)  {
  padding-left: 0;
  border-top-color: var(--vk-color-primary);
  /*X-T9対応用*/
  border-right: none;
  border-bottom: none;
  border-left: none;
}
.vkp-table-underline tr:last-child td:nth-of-type(1)  {
  border-bottom:1px solid var(--vk-color-primary);
}

/*contact form style*/
.basic_table,
.basic_table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
    margin: 2em 0;
    border: none;
}

.basic_table th {
    border-top: 1px solid #1f3c87;
    border-bottom: 1px solid #1f3c87;
    border-left: none;
    border-right: none;
    padding: 25px 16px;
    vertical-align: middle;
    text-align: left;
    width: 30%;
    background-color: #fff;
    font-weight: bold;
    color: #000;
    white-space: nowrap;
    position: relative;
}

.basic_table td {
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    border-left: none;
    border-right: none;
    padding: 25px 16px;
    vertical-align: middle;
    text-align: left;
}

/* 必須マークをth内に統一 */
.basic_table th.required {
    white-space: nowrap;
}
.basic_table th.required::after {
    content: " 必須";
    background-color: #b71c1c;
    color: #fff;
    font-size: 12px;
    padding: 2px 6px;
    margin-left: 8px;
    border-radius: 3px;
    display: inline-block; /* ← ブロックではなくインライン */
    vertical-align: middle;
    line-height: 1;
}

.basic_table td {
    width: 70%;
}

.basic_table input[type="text"],
.basic_table input[type="email"],
.basic_table input[type="tel"],
.basic_table textarea {
    width: 100%;
    padding: 10px;
    margin: 0;
    font-size: 16px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    border-radius: 3px;
}

/* 送信ボタン */
.basic_table .send_column {
    text-align: center;
    padding: 20px 0;
    border: none;
}

.basic_table input[type="submit"] {
    background-color: #1c2d5a;
    color: #fff;
    font-size: 16px;
    padding: 10px 30px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.wpcf7-spinner {
    display: block;
    margin: 10px auto 0;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
    .basic_table,
    .basic_table tbody,
    .basic_table tr,
    .basic_table th,
    .basic_table td {
        display: block;
        width: 100%;
        border: none;
    }

    .basic_table tr {
        margin-bottom: 0px;
        border: none;
    }

    .basic_table th {
        padding-bottom: 5px;
        margin-bottom: 10px;
        border: none;
    }

    .basic_table td {
        border-bottom: 1px solid #e5e5e5;
        padding-bottom: 30px;
        padding-top: 0;
    }

    .basic_table th.required::after {
        display: inline-block; /* 落ちないように指定明示 */
        margin-left: 6px;
    }
}
