@import url('https://fonts.googleapis.com/css2?family=BIZ+UDPGothic&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Huninn&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap');


/* Futura PT Font Face Declarations */
@font-face {
    font-family: 'Futura PT';
    src: url('../fonts/Futura PT Book.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Futura PT';
    src: url('../fonts/Futura PT Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Futura PT';
    src: url('../fonts/Futura PT Heavy.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* A-OTF Ryumin Pro Font Face Declarations */
@font-face {
    font-family: 'A-OTF Ryumin Pro';
    src: url('../fonts/A-OTF Ryumin Pro L-KL.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'A-OTF Ryumin Pro';
    src: url('../fonts/A-OTF Ryumin Pro M-KL.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'A-OTF Ryumin Pro';
    src: url('../fonts/A-OTF Ryumin Pro B-KL.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'A-OTF Ryumin Pro';
    src: url('../fonts/A-OTF Ryumin Pro H-KL.otf') format('opentype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'A-OTF Ryumin Pro';
    src: url('../fonts/A-OTF Ryumin Pro EB-KL.otf') format('opentype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'A-OTF Ryumin Pro';
    src: url('../fonts/A-OTF Ryumin Pro EH-KL.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'A-OTF Ryumin Pro';
    src: url('../fonts/A-OTF Ryumin Pro U-KL.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Futura PT", sans-serif;
}

img {
    max-width: 100%;
}

.title-jp {
    font-size: 22px;
    font-weight: 450;
    color: #fff;
    text-align: center;
    margin-bottom: 0;
    font-family: "A-OTF Ryumin Pro", sans-serif;
}

.title-en {
    font-size: 40px;
    font-weight: 450;
    color: #fff;
    text-align: center;  
    font-family: "A-OTF Ryumin Pro", sans-serif;
    margin-bottom: 0;
}

.title-wrap {
    text-align: center;
}

.title-wrap img {
    max-width: 100%;    
}

.txt-black {
    color: #000;
}

/*=======  Common=========*/
.container {
    max-width: 1460px;
}

.sp-show {
    display: none;
}

.sp-none {
    display: inline-block;
}

.mgt-10 {
    margin-top: 10px;
}

.mgt-20 {
    margin-top: 20px;
}

.mgt-30 {
    margin-top: 30px;
}

.mgt-40 {
    margin-top: 40px;
}

.mgt-60 {
    margin-top: 60px;
}

.mgt-80 {
    margin-top: 80px;
}

.mgt-100 {
    margin-top: 100px;
}

.mgb-10 {
    margin-bottom: 10px;
}

.mgb-20 {
    margin-bottom: 20px;
}

.mgb-30 {
    margin-bottom: 30px;
}

.mgb-40 {
    margin-bottom: 40px;
}

.mgb-60 {
    margin-bottom: 60px;
}

.mgb-80 {
    margin-bottom: 80px;
}

/*======= Header =========*/
/* .btn-contact {
    background: #fff;
    color: rgba(205, 116, 116, 1)!important;  
    font-weight: 700;
    padding: 12px 30px!important;
    border: 1px solid rgba(205, 116, 116, 1);
    border-radius: 35px;
    text-decoration: none;
    width: fit-content!important;
}

.btn-contact:hover {
    color: rgba(205, 116, 116, 1)!important;
} */

/*======= Main FV =========*/
#main {
    position: relative;   
    height: 100%;
    width: 100%;  
    z-index: 2;
    overflow: hidden;    
}

#main .container-fluid {
    padding: 0;
}

#main h2 img {
       
}

#main h2 .main-img { 
    width: 100%;   
    position: relative;
}

.btn-top {
    position: absolute;
    top: 65px;
    right: 0;
    z-index: 1;
    color: #fff;
    background: linear-gradient(to right,rgba(142, 2, 0, 1), rgba(191, 40, 38, 1));
    font-size: 16px;
    font-weight: 400;
    padding: 0 40px 0 0;
}

.btn-top:hover {
    text-decoration: none;
    color: #fff;
}

.btn-top img:last-child {
    margin-left: 10px;
    height: 15px;
}

.main-content-wrapper {
    position: relative;
}

.main-content {
    position: absolute;
    top: 50%;
    width: 100%;
    text-align: center;
    transform: translateY(-50%);    
}

.main-content-text {
    display: inline-block;
    text-align: left;
}

.main-content-text p {
    color: #fff;
    font-size: 48px;
    font-weight: 700;
    font-family: "A-OTF Ryumin Pro", sans-serif;
    margin-bottom: 0;
    text-align: center;
}

.main-content-text p.main-small {
    color: #fff;
    font-size: 25px;
    font-weight: 700;
    font-family: "A-OTF Ryumin Pro", sans-serif;
    text-align: center;
}

.btn-trial {
    border: 1px solid rgba(205, 116, 116, 1);
    background: rgba(205, 116, 116, 1);
    color: #fff;
    font-weight: 700;
    padding: 12px 30px;
    border-radius: 35px;
    text-decoration: none;
    width: fit-content;
    display: inline-block;
    margin-top: 40px;
}

.btn-trial:hover {
    background: rgba(205, 116, 116, 1);
    color: #fff;
    text-decoration: none;
}

/* ========== Top Search Form ==========*/
.top-search-wrap {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1000px;
    z-index: 10;
}

.top-search-inner {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid rgba(142, 2, 0, 1);
    border-radius: 4px;
    padding: 40px 200px;
    gap: 20px;
}

.top-search-label {
    color: #000;
    font-size: 16px;
    font-weight: 400;
    margin: 0;
    white-space: nowrap;
    font-family: "A-OTF Ryumin Pro", sans-serif;
}

.top-search-select-wrapper {
    flex: 1;
    position: relative;
}

.top-search-select {
    width: 100%;
    padding: 10px 40px 10px 15px;
    border: 1px solid rgba(217, 217, 217, 1);
    border-radius: 0;
    background: #fff;
    color: #000;
    font-size: 16px;
    font-family: "A-OTF Ryumin Pro", sans-serif;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23000' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
}

.top-search-select:focus {
    outline: none;
    border-color: rgba(142, 2, 0, 1);
}

.top-search-select option {
    color: #000;
}

.top-search-button {
    /* background: rgba(142, 2, 0, 1); */
    background: linear-gradient(to right,rgba(142, 2, 0, 1), rgba(191, 40, 38, 1));
    color: #fff;
    border: none;
    padding: 10px 40px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 1px;
    cursor: pointer;
    white-space: nowrap;
    font-family: "A-OTF Ryumin Pro", sans-serif;
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-search-button:hover {
    background: rgba(191, 40, 38, 1);
}

.top-search-button img {
    height: 13px;
    width: auto;
}

/* ========== Lower Banner ==========*/
.banner-lower {
    position: relative;
    padding: 0;
    height: 600px;
}

.banner-img img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.banner-txt {
    position: absolute;
    top: 50%;   
    /* left: 50%; */
    /* transform: translate(-50%, -50%); */
    transform: translateY(-50%);
    color: #fff;
    font-size: 40px;
    font-weight: 400;
    width: 100%;
    /* text-align: center; */
    /* text-shadow: 2px 2px 2px rgba(255, 255, 255, 0.7); */
    font-family: "Huninn", sans-serif;
    padding-left: 40px;
}

/*======= Selection Articles Section =========*/
#selection-articles {
    padding: 80px 0 80px;    
    background-image: url('../images/bg-selection.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    margin-top: -10px;
}

.selection-articles-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    gap: 20px; 
}

.selection-articles-item {
    width: calc((100% - 2 * 20px) / 3); /* 3 items per row, 2 gaps */
    padding: 10px;
    background: #000;
    border: 1px solid;
    border-image: linear-gradient(to right, rgba(83, 81, 81, 1), rgba(217, 217, 217, 1)) 1;
}

.selection-articles-item-content1 {
    text-align: center;
    color: #fff;
    margin: 20px auto;
}

.selection-articles-item-location {
    background: rgba(59, 57, 57, 1);
    color: #fff;
    font-family: Futura PT, sans-serif;
    padding: 5px 20px;
    margin-right: 10px;
}

.selection-articles-item-company {
    font-weight: 600;
}

.selection-articles-item-content2 {
    margin: 20px auto;
    text-align: center;
    color: #fff;
}

.selection-articles-item-more {
    margin: 20px auto;
    text-align: center;
}

/*======= Premium Partners Section =========*/
#premium-partners {
    padding: 80px 0 80px;    
    background-image: url('../images/bg1.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    margin-top: -10px;
}

.premiun-partners-intro {
    text-align: center;
    color: #fff;
    font-size: 20px;
    font-family: 'Futura PT', sans-serif;
}

.premium-partners-item {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
}

.premium-partners-item-img {
    flex: 100%;
    max-width: calc(30% - 30px);
    margin: 0 30px 30px 0;
}

.premium-partners-item-img img {
    width: 100%;
}

.premium-partners-item-text {
    flex: 100%;
    max-width: calc(70% - 30px);
    margin: 0 30px 30px 0;
    color: #fff;
}

/* Alternate order for every second premium-partners-item */
.premium-partners-item:nth-child(even) .premium-partners-item-img {
    order: 2;
}

.premium-partners-item:nth-child(even) .premium-partners-item-text {
    order: 1;
}

.pp-name {
    font-size: 20px;
    font-weight: 400; 
    border-bottom: 1px solid rgba(90, 88, 88, 1);   
    padding-bottom: 15px;
}

.pp-location {
    font-size: 16px;
    font-weight: 400;
    color: #fff;
    background: rgba(59, 57, 57, 1);
    margin-right: 10px;
    padding: 5px 20px;
}

p.pp-desc {
    margin: 20px 0 40px;
}

a.btn-pp {
    color: rgba(191, 40, 37, 1);
    font-weight: 400;
    font-size: 16px;
    text-decoration: none;   
    padding: 12px 40px;
    border: 1px solid transparent;
    border-image: linear-gradient(to right, rgba(191, 40, 38, 1), rgba(142, 2, 0, 1)) 1;    
}

.btn-pp img {
    height: 13px;
    margin-left: 10px;
}

/*======= Search Job Section =========*/
#search-job {
    padding: 80px 0 80px;
    background-image: url('../images/bg-search.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

a.btn-search-job {
    color: #fff;
    text-decoration: none;
    border: 1px solid #fff;
    padding: 12px;
    display: block;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

a.btn-search-job img {
    height: 13px;
    margin-left: 20px;
    position: relative;
    top: -2px;
}

/*======= New Job Listing Section =========*/
#new-job-listing {
    padding: 80px 0 80px;
    background-image: url('../images/bg2.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.job-opening-wrap {
    display: flex;
    flex-wrap: wrap;
    width: 100%;    
    max-width: 1460px;
    margin: 0 auto;
    justify-content: flex-start;
    align-items: flex-start;    
    gap: 40px;
    box-sizing: border-box;
}

.job-opening-item {
    width: calc((100% - 2 * 40px) / 3); /* 4 items per row, 3 gaps */
    color: #000;
    /* box-shadow: 2px 4px 4px rgba(0, 0, 0, 0.2);
    background: #fff; */
}

.job-opening-item:last-child {
    margin-right: 0;
}


.job-opening-item:hover {
    text-decoration: none;
    color: #000;
}

.job-opening-item-img img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.job-opening-item-content {
    padding: 20px 0;    
}

.job-opening-item-table table {
    width: 100%;
}

.job-opening-item-table table tr {
    margin-bottom: 10px;
    /* Adjust value as needed */
    display: block;
    /* Required for margin to work on tr elements */    
}

.job-opening-item-table-row {
    border-bottom: 1px solid rgba(90, 88, 88, 1);  
    padding-bottom: 5px;  
}

.job-opening-item-table-row:first-child {
    padding-top: 10px;
    padding-bottom: 10px;
}

.job-opening-item-table table th:first-child {
    background: rgba(59, 57, 57, 1);
    color: #fff;
    border: 1px solid rgba(59, 57, 57, 1););
    width: 100px;
    padding: 5px 10px;
    text-align: center;
    margin: 0 15px 0 0;
    font-weight: 400;
}

.job-opening-item-table table th:last-child {    
    color: #000;  
    padding: 5px 10px;    
    font-weight: 400;
}

.job-opening-item-table table td:first-child {
    border: 1px solid rgba(90, 88, 88, 1);    
    color: #000;
    width: 100px;
    padding: 5px 10px;
    text-align: center;
    margin: 0 15px 0 0;
    display: inline-block;
    /* Required for margin to work on td elements */
}

.job-opening-item-table table td:last-child {
    display: inline-block;
    vertical-align: top;
    padding-top: 4px;
    width: calc(100% - 120px);
}

.job-opening-item-table-td {   
    width: auto!important;
}

.job-opening-item-title {
    border: none!important;
    text-align: left!important;
    padding-left: 0!important;
    font-weight: 600;
    width: 100%!important;
}

.job-opening-job-details {
    margin: 40px auto;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}

a.btn-more {
    color: rgba(191, 40, 37, 1);    
    font-weight: 400;
    font-size: 16px;
    text-decoration: none;   
    padding: 12px 40px;  
    display: inline-block;
    border: 1px solid transparent;
    border-image: linear-gradient(to right, rgba(191, 40, 38, 1), rgba(142, 2, 0, 1)) 1;
}

.btn-more img {
    height: 13px;
    margin-left: 10px;   
}

/* ======= Wrecker Section =========*/
#wrecker {
    padding: 80px 0 80px;
    background-image: url('../images/bg3.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}


.blog-wrapper {
    margin-top: 60px;
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.blog-item {
    flex: 100%;
    max-width: calc(100% / 3 - 30px);
    margin: 0 30px 30px 0;
}

.blog-item:nth-child(3n) {
    margin: 0 0 30px 0;
}

.blog-wrapper2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    gap: 40px; 
    padding: 20px 0;
    box-sizing: border-box;
}

.blog-item2 {
    width: calc((100% - 1 * 40px) / 2); /* 2 items per row, 1 gaps */   
    box-sizing: border-box;
}

.blog-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-img2 img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}


.blog-content {
    margin-top: 15px;    
    padding: 5px 10px;   
    color: #fff;
    position: relative;
    display: block;
    text-decoration: none; 
    border: 1px solid #fff;
}

.blog-content:hover {
    text-decoration: none;
    color: #fff
}

.blog-date {
    display: inline-block;
    margin-right: 30px;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 16px;
    font-weight: 700;
}

.blog-title {
    display: inline-block;     
    color: #fff; 
    font-weight: 400;
    font-size: 16px;
}

.blog-name {
    margin-top: 20px;
    display: block;
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    font-size: 16px;
}

.blog-name:hover {
    color: #fff;
    text-decoration: none;
}

.blog-excerpt {
    display: block;
    color: #fff;
    text-decoration: none;
    font-weight: 400;    
    margin-bottom: 10px;
}

.blog-excerpt:hover {
    color: #fff;
    text-decoration: none;
}

.blog-more {
    text-align: center;
    margin-top: 30px;
}

.blog-more .btn-more {
    color:rgba(191, 40, 37, 1);
}

/*======= Road24 Section =========*/
#road24 {
    padding: 80px 0 80px;    
}

.road24-item-img img {
    width: 100%;
}

.road24-item-content-text img {
    margin-right: 10px;
}

.road24-item-title {
    color: rgba(191, 40, 37, 1);
    font-size: 28px;
    font-weight: 500;
}

.road24-item-content-desc {
    margin-top: 20px;
}

/*======= Instagram Section =========*/
#instagram {
    padding: 80px 0 80px;
    background-image: url('../images/bg2.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.instagram-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    gap: 40px;    
    box-sizing: border-box;
}

.instagram-item {
    width: calc((100% - 4 * 40px) / 5); /* 4 items per row, 3 gaps */
    text-align: center;
    box-sizing: border-box;
}

.instagram-item img {
    width: 100%;
}

/*======= Footer Section =========*/
footer {
    background: #000;
    color: #fff;
    padding: 80px 0 40px;  
}

.footer-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    gap: 40px;
    box-sizing: border-box;
    max-width: 1460px;
    margin: 0 auto;
    padding: 0 15px;
}

.footer-left {
    width: calc((100% - 1 * 40px) / 2); /* 2 items per row, 1 gaps */
    display: flex;    
    flex-wrap: wrap;
}

.footer-left1 {
    flex: 100%;
    max-width: calc(30% - 30px);
    margin: 0 30px 30px 0;
}

.footer-left2 {
    flex: 100%;
    max-width: calc(70% - 30px);
    margin: 0 30px 30px 0;
}

.footer-right {
    width: calc((100% - 1 * 40px) / 2); /* 2 items per row, 1 gaps */
}

.ft-menu1 ul li {
  list-style: none;
  margin-bottom: 15px;
}

.ft-menu1 ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
}

.ft-menu1 ul li a .menu-jp {
    width: 130px;
    display: inline-block;
}

.ft-menu1 ul li a .menu-en {
    color: rgba(191, 40, 37, 1);
    font-family: "A-OTF Ryumin Pro", sans-serif;
    font-size: 16px;
    font-weight: 450;
}

.ft-menu2 {
    width: 90%;
}

.ft-menu2 ul li {
    list-style: none;
    border-bottom: 1px solid rgba(90, 88, 88, 1);
    padding-bottom: 5px;
    margin-bottom: 30px;
  }

.ft-menu2 ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
}

.ft-sns-wrap {
    margin-top: 30px;
    padding: 0 0 0 40px;
}

.ft-sns {
    display: inline-block;
    margin-right: 10px;
}

.ft-sns img {
    height: 36px;
    width: auto;
}

.copyright {    
    padding: 40px 0 0;
    text-align: center;
    font-size: 16px;
}


/*======= Contact Section =========*/
#contact {
    padding: 80px 0 80px;
    background: rgba(255, 250, 250, 1);
}

.contact-desc {
    text-align: center;    
}

.contact-form {
    width: 80%;
    margin: 40px auto 0;    
}

.line-icon img {
    max-width: 100%;
}

.form-group {
    /* display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
    gap: 15px;
    flex-wrap: wrap; */
    /* Adds consistent spacing between label and input */
}

.form-group p {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    gap: 15px;
    flex-wrap: wrap;
}

.form-group p label {
    flex: 100%;
    min-width: 260px;
    max-width: 20%;
    /* Adjust based on your longest label */
    white-space: nowrap;
    /* Prevents label from wrapping */
}

.form-group3 p label {
    /* min-width: 200px; */
}

.form-group .required {
    color: #fff;
    background: rgba(205, 116, 116, 1);    
    margin-left: 5px;
    font-size: 16px;
    padding: 3px 20px;
    float: right;
    font-family: "BIZ UDPGothic", sans-serif;
}

.form-group p .wpcf7-form-control-wrap {
    flex: 1;
    padding: 8px;
    border: 1px solid #000;
    border-radius: 0;
    background-color: #fff;
    color: rgba(89, 89, 89, 1);
}

.form-group3 p .wpcf7-form-control-wrap {
    flex: 1;
    padding: 8px;
    border: none;
    border-radius: 0;
    background-color: transparent;
    color: rgba(89, 89, 89, 1);
}

input.wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required.form-control {
    background: #fff;
    border: none;
    color: #000;
}

textarea.wpcf7-form-control.wpcf7-textarea.wpcf7-validates-as-required.form-control02 {
    background: #fff;
    border: none;
    width: 100%;
    color: #000;
}

.form-group .form-control02 {
    flex: 1;
    /* Takes up remaining space */
    padding: 8px;
    border: 1px solid #000;
    background-color: transparent;
    color: #000;
}

/* Special styling for textarea */
.form-group textarea {
    height: 140px;
    flex: 1;
    color: #000;
    /* Adjust height as needed */
    resize: vertical;
    /* Allows vertical resizing */
    border: none
}

.wpcf7-list-item {
    width: 210px;
}

.btn-submit {
    /* display: block;
    margin: 20px auto 0; */
    cursor: pointer;
    /* background: transparent;
    border: none; */
}

.wpcf7-form-control-wrap {
    display: inline-block;
}

.wpcf7-text:focus,
.wpcf7-textarea:focus {
    outline: none !important;
}

/* Remove blue glow/outline from Contact Form 7 inputs */
.wpcf7-form-control:focus {
    box-shadow: none !important;
    outline: none !important;
    border-color: #ccc !important;
}

/* Specifically target input and textarea elements */
.wpcf7 input:focus,
.wpcf7 textarea:focus {
    box-shadow: none !important;
    outline: none !important;
    border-color: #ccc !important;
}

/* Override autofill background color */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px transparent inset !important;
    -webkit-text-fill-color: #000 !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* For Firefox */
input:autofill,
input:autofill:hover,
input:autofill:focus,
input:autofill:active {
    box-shadow: 0 0 0 30px transparent inset !important;
    -webkit-text-fill-color: #000 !important;
}

.btn-submit:focus {
    outline: -webkit-focus-ring-color none;
}

.btn-submit {
    background: rgba(205, 116, 116, 1);
    color: #fff;   
    font-weight: 400;
    padding: 15px 30px;    
    text-decoration: none;
    width: fit-content!important;
    margin: 40px auto 0;
    border: none;
    box-shadow:rgba(0, 0, 0, 0.25) 2px 2px 2px 0px;
}

.btn-submit:hover {
    color: #fff!important;
    text-decoration: none;
}

input[type=radio] {
    height: 20px;
    width: 20px;
    vertical-align: middle;
    appearance: none;
    border-radius: 50%;
    background-clip: content-box;
    border: 2px solid rgba(217, 217, 217, 1);
    background-color: rgba(217, 217, 217, 1);
}

input[type="radio"]:checked {
    background-color: #000;
    padding: 4px;
    border: 2px solid #000;
}

select.wpcf7-form-control.wpcf7-select.wpcf7-validates-as-required.form-control {
    border: none!important;
}

/*======= LP1 Section =========*/
#lp1 {
    padding: 80px 0 80px;
    background: url('../images/bg-lp1.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    margin-top: -22px;
}

.lp1-wrap {
    text-align: center;
}

.lp1-content {
    display: inline-block;
    text-align: center;
}

.lp1-title {
    text-align: center;
    color: #fff;
    font-size: 32px;
    font-weight: 700;
}

.lp1-subtitle {
    display: block;
    text-align: right;
    color: #fff;
    font-weight: 700;
    margin-top: 10px;
}

.lp1-subtitle img {
    margin-right: 10px;
}

.lp1-wrap2 {
    margin-top: 40px;
}

.lp1-desc {
    color: #fff;
    text-align: center;
}

.lp1-wrap3 {
    text-align: center;
    margin-top: 40px;
}

a.btn-yellow {
    color: #000;
    background: rgba(250, 204, 21, 1);
    text-decoration: none;
    border: 1px solid rgba(250, 204, 21, 1);
    padding: 10px 30px;
    display: inline-block;
    font-size: 20px; 
    font-weight: 700;
    border-radius: 5px
}

a.btn-yellow img {
    width: 12px;
    height: 12px;
    margin-left: 10px;
    position: relative;
    top: -2px;
}

/*======= Problem Solution Section =========*/
#problem-solution {
    padding: 80px 0 80px;
    background: #000;
}

.title-wrap-lp {
    text-align: center;    
}

.title-jp-lp {
    font-size: 20px;
    font-weight: 700;
    color: rgba(250, 204, 21, 1);
    position: relative;
    display: inline-block;
}

.title-jp-lp::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -60px;
    width: 50px;
    height: 1px;
    background: rgba(250, 204, 21, 1);
    transform: translateY(-50%);
}

.title-jp-lp::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -60px;
    width: 50px;
    height: 1px;
    background: rgba(250, 204, 21, 1);
    transform: translateY(-50%);
}

.title-en-lp {
    font-size: 48px;
    font-weight: 700;
    font-family: "Oswald", sans-serif;
    color: #fff;
}

.problem-solution-intro {
    color: #fff;
}

.problem-solution-intro-title {
    font-weight: 700;
    font-size: 20px;
}

.problem-solution-item {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
}

.problem-solution-item-content {
    flex: 100%;
    max-width: calc(100% / 3);
    margin: 0 0 30px 0;    
    background: rgba(76, 76, 76, 0.8);
    padding: 15px;
    border: 5px solid rgba(76, 76, 76, 1);
    border-radius: 5px;
    color: #fff;
}

.problem-solution-item-img img {
    height: 94px;
}

.problem-solution-item-content-text-title {
    font-size: 24px;
    font-weight: 900;
}

.problem-solution-item-content-text-desc {
    
}

/*======= Strategy Section =========*/
#strategy {
    padding: 80px 0 80px;
    background: url('../images/bg-strategy.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.strategy1 {
    border-left: 5px solid rgba(250, 204, 21, 1);
    padding-left: 20px;
}

.strategy1-title h4 {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
}

.strategy1-content {
    color: #fff;
}

.strategy1-sns a {
    display: inline-block;
    margin-right: 10px;
}

.strategy1-sns a img {
    height: 48px;
}

.strategy1-sns a:last-child {
    margin-right: 0;
}

.strategy2 {
    border-left: 5px solid rgba(250, 204, 21, 1);
    padding-left: 20px;
    display: flex;
    width: 100%;
    flex-wrap: wrap;
}

.strategy2-img {
    flex: 100%;
    max-width: calc(20% - 30px);
    margin: 0 30px 0 0;
}

.strategy2-img img {
    width: 100%;
}

.strategy2-content {
    flex: 100%;
    max-width: calc(80% - 30px);
    margin: 0 30px 0 0;
}

.strategy2-content-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

.strategy2-content-desc {
    color: #fff;
    margin-bottom: 0;
}

/*======= Visual Section =========*/
#visual {
    padding: 80px 0 80px;
    background: url('../images/bg-visual.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.visual-intro {
    color: #fff;
}

.visual-item-img img {
    width: 100%;
}

.visual-btn {
    text-align: center;
}

.visual-btn a {
    color: #fff;
    background: #000;
    text-decoration: none;
    border: 1px solid #fff;
    padding: 15px 30px;
    display: inline-block;
    border-radius: 5px;
}

.visual-btn a img {
    margin-left: 10px;
}

/*======= Portal Section =========*/
#portal {
    padding: 80px 0 80px;
    background: #000;
}

.portal-intro {
    color: #fff;
}

.portal-intro h4 {
    font-size: 20px;
    font-weight: 700;   
}

/*======= Table portal =========*/
.tbl-portal {
    width: 100%;
    border-collapse: collapse;
}

/* Header row - first empty header */
.tbl-portal tr th:first-child {
    background: transparent;
    border: none;
}

/* Header row - 24ROAD.JP column (yellow) */
.tbl-portal tr th:nth-child(2) {
    background: rgba(250, 204, 21, 1);
    color: #000;
    padding: 20px;
    text-align: center;
    font-weight: 700;
    font-size: 20px;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;    
    
}

/* Header row - other columns (grey) */
.tbl-portal tr th:nth-child(3),
.tbl-portal tr th:nth-child(4) {
    background: rgba(169, 169, 169, 1);
    color: #000;
    padding: 20px;
    text-align: center;
    font-weight: 700;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;      
}

.tbl-portal-td {
    border-top-left-radius: 10px;
}

/* Row header cells (first column) */
.tbl-portal tr td:first-child {
    background: rgba(245, 245, 245, 1);
    color: #000;
    padding: 24px;
    text-align: center;    
    border: 5px solid rgba(67, 67, 67, 1);
    font-weight: 900;
}

.tbl-portal tr td:first-child img {
    height: 24px;
    display: block;
    margin: 0 auto 10px;
    vertical-align: middle;
}

/* 24ROAD.JP column cells (yellow border) */
.tbl-portal tr td:nth-child(2) {
    background: rgba(255, 255, 255, 1);
    color: #000;
    padding: 24px;
    text-align: center;
    border: 5px solid rgba(250, 204, 21, 1);    
    font-weight: 700;
    z-index: 2;
}

/* Other column cells (grey background) */
.tbl-portal tr td:nth-child(3),
.tbl-portal tr td:nth-child(4) {
    background: rgba(245, 245, 245, 1);
    color: #000;
    padding: 24px;
    text-align: center;   
    border: 5px solid rgba(169, 169, 169, 1);
}

/*======= End table portal =========*/

.portal-table img {
    width: 100%;
}

/*======= Note portal =========*/
.portal-note {
    background: rgba(76, 76, 76, 0.8);
    padding: 20px;   
    color: #fff;
    border: 1px solid rgba(76, 76, 76, 1)
}

.portal-note-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.portal-note-title img {
    margin-right: 20px;
}

.portal-note-content p {
    margin-bottom: 0;
}

/*======= Message Section =========*/
#message-lp {
    padding: 80px 0 80px;
    background: url('../images/bg-strategy.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.message-lp-title {
    color: #fff;
}

.message-lp-title h2 {
    font-size: 48px;
    font-weight: 700;
}

#main-button {
    text-align: center;
}

.btn-main {
    margin: 40px auto;
    display: block;
}

.btn-main img {
    max-width: 100%;
}