/*
Theme Name: Custom Theme
Author:  Mark Gold
Version: 1.0
*/

html {
    margin: 0 !important;
}

body {
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    font-size: 14px;
    color: #111;
    text-align: center;
    position: relative;
    -webkit-text-size-adjust: 100%;
}

img {
    max-width: 100%;
    height: auto;
}

input,
textarea {
    border: 1px solid #ffcc00;
    border-radius: 2px;
    padding: 5px 10px;
    outline: none;
}

body a{
    color: #ff6600;
    text-decoration: none;
}
body a:hover {
    color: #ba4c04;
    text-decoration: none;
}

.btn.btn-default {
    color: #fff;
    background: linear-gradient(to right bottom, #ff6600 40%, #fb8739 70%);
    transition: 0.4s !important;
    padding: 10px;
    min-width: 200px;
}
.btn.btn-default:hover{
    color: #fff;
    transform: translateY(-3px);
    box-shadow: rgba(0, 0, 0, 0.2) 0px 10px 20px;
    background: linear-gradient(to right bottom, #fb8739 40%, #ff6600 70%);
}
.btn.btn-grey  {
    color: #fff;
    background: linear-gradient(to right bottom, #9d9b9b 40%, #8b8b8b 70%);
    transition: 0.4s !important;
    padding: 10px;
    min-width: 200px;
}
.btn.btn-grey:hover{
    color: #fff;
    transform: translateY(-3px);
    box-shadow: rgba(0, 0, 0, 0.2) 0px 10px 20px;
    background: linear-gradient(to right bottom, #8b8b8b 40%, #9d9b9b 70%);
}


.loader-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
    background-color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}
.loader-wrapper h1 {
    margin: 0;
    padding: 0;
    position: relative;
    width: 300px;
}
.loader-wrapper h1 img {
    display: block;
}
.loader-wrapper h1 i {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    background: #ffffffb5;
}
  
/* Progress Bar */
.progress-area {
    display: flex;
    gap: 10px;
    align-items: center;
}
.progress-bar {
    width: 300px;
    height: 8px;
    background: #ddd;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}
.progress {
    height: 100%;
    width: 0;
    background: #4caf50;
    transition: width 0.3s ease;
}
.progress-text {
    font-size: 16px;
    color: #333;
}

header {
    position: relative;
    background-color: #000000e6;

}
.home header {
    width: 100%;
    z-index: 1000;
    top: 0;
    background: none;
    margin-bottom: 0;
    min-height: 46px;
    border: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background-color: transparent;
    transition: background-color 0.3s ease;
}
header.scrolled {
  background-color: #000000c2;
}
header h1 {
    margin: 0;
}
header h1 img {
    display: block;
    height: 60px;
}

.navbar-light .navbar-toggler {
    color: #fff;
    border-color: #fff;
    background: #fff;
    padding: 5px;
}

#sideMenu {
    display: none;
}
.home #sideMenu {
    position: fixed;
    z-index: 1000;
    bottom: 0;
    background: #ff6600;
    padding: 25px 0;
    border-top-right-radius: 5px;
    display: block;
}
#sideMenu ul {
    display: flex;
    gap: 35px;
}
#sideMenu ul li {
    position: relative;
}
#sideMenu ul li:after{
    content: "/";
    color: #fff;
    position: absolute;
    bottom: -27px;
    font-size: 16px;
    left: 50%;
    transform: translateX(-50%);
}
#sideMenu ul li:last-child:after {
    display: none;
}
#sideMenu a {
    color: #fff;
    -webkit-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    font-size: 20px;
    padding: 0 20px;
    position: relative;
    letter-spacing: 2px;
}
#sideMenu a:after {
    content: "";
    display: block;
    width: 0.3rem;
    height: 100%;
    background-color: #111;
    position: absolute;
    top: 0;
    left: -0.3rem;
    z-index: 1;
    -webkit-transition: left 0.5s cubic-bezier(0.19,1,0.22,1), background-color 0.5s cubic-bezier(0.19,1,0.22,1);
    transition: left 0.5s cubic-bezier(0.19,1,0.22,1), background-color 0.5s cubic-bezier(0.19,1,0.22,1);
}
#sideMenu a:hover {
    color: #111;
}
#sideMenu a:hover:after {
    left: 0;
}

#menu-top {
    display: flex;
    gap: 30px;
    align-items: center;
}
#menu-top li {
    position: relative;
}
#menu-top li:after {
    content: "/";
    color: #fff;
    position: absolute;
    right: -18px;
    top: 50%;
    transform: translateY(-50%);
}
#menu-top li:last-child:after {
    display: none;
}

.breadcrumbs {
    margin: 0 auto;
}
.breadcrumbs nav {
    background: none;
    gap: 10px;
    font-size: 15px;
    margin: 0;
}



.parallax-section {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}
.parallax-section::before{
    content: "";
    position: absolute;
    background-color: #00000091;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
.main_img {
    height: 100vh;
}
.main_img h1 {
    color: #fff;
    text-align: center;
    line-height: 1.5;
    font-size: 30px;
    width: 100%;
    padding: 0;
}
.main_img > .container {
    position: relative;
    display: flex;
    gap: 50px;
    top: 50%;
    align-items: center;
    transform: translateY(-50%);
}
.main_img > .container img {
    width: 500px;
    height: 500px;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 50%;
}
.main_img .custom-flex-row {
    display: flex; 
    gap: 50px;
}
.main_img .fixed-500 {
    flex: 0 0 500px;
    max-width: 500px;
}
.main_img .flex-fill {
    flex: 1;
    min-width: 0;
}
.main_img h2 {
    font-size: 50px;
    color: #ffffff;
}

.main_img .mousescroll {
    width: 27px;
    height: 70px;
    text-align: center;
    z-index: 10;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}
.main_img .mousescroll .mouse {
    height: 41px;
    width: 27px;
    border-radius: 15px;
    transform: none;
    border: 2px solid white;
}
.main_img .mousescroll .mouse .wheel {
    animation-name: scroll;
    animation-duration: 2.2s;
    animation-timing-function: cubic-bezier(.15,.41,.69,.94);
    animation-iteration-count: infinite;
    height: 5px;
    width: 2px;
    display: block;
    margin: 5px auto;
    background: white;
    position: relative;
}
@keyframes scroll {
    0% { opacity: 0; }
    10% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(15px); opacity: 0;}
}


section {
    padding: 100px 0;
}
section h2 {
    font-size: 30px;
    margin: 0 0 40px 0;
    padding: 0 0 15px 0;
    position: relative;
    text-align: center;
    color: #fff;
}
section.animate h2 {
    display: inline-block;
    /*animation: textReveal 0.5s ease forwards;
    animation-delay: 1.5s;*/
}
section.animate h2:before {
    /*content: "";
    display: block;
    width: 100%;
    height: 100%;
    background-color: #fff;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    transform: scaleX(0); 
    transform-origin: left;
    animation: coverAnimation 2.5s ease forwards;*/
}
section p {
    line-height: 1.8;
}



section#news{
    background-color: #333333;
}
section#news ul.news_list {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    width: 600px;
}
section#news ul.news_list li {
    padding: 15px;
    border-bottom: 1px solid #ffcc00;
}
section#news ul.news_list li a {
    display: flex;
    gap: 20px;
    color: #fff;
}
section#news ul.news_list li a:hover {
    color: #ccc;
}
section#news ul.news_list li a strong {
    font-weight: normal;
    font-size: 12px;
    background: #ff6600;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    border-radius: 5px;
}
section#news .btn {
    display: block;
    margin: 50px auto 0;
    width: 200px;
}
section#news.animate .slideUp {
  opacity: 0;
  transform: translateY(20px);
  animation: slideUp 0.5s ease forwards;
  animation-delay: var(--delay, 0s);
}

.division {
    display: flex;
    gap: 30px;
}
.division .division_left {
    width: 250px;
}
.division .division_left h5 {
    color: #ffcc00;
    margin-bottom: 10px;
}
.division .division_left ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.division .division_left ul li a {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 5px;
    background-color: transparent;
    border: 1px solid #ff6600;

}
.division .division_left ul li.active a {
    color: #fff;
    background-color: #ff6600;
}


section#news .division > ul.news_list {
    width: calc(100% - 280px);
}
section#news .division .right_side {
    width: calc(100% - 280px);
}


section#company::before,
section#recruitment::before{
    background-color: #000000d4;
}
section#company table,
section#recruitment table{
    width: 700px;
    margin: auto;
    position: relative;
}
section#recruitment table{
    width: 767px;
}
section#company table td,
section#recruitment table td {
    border: 1px solid #ffcc00;
    padding: 16px;
    font-size: 16px;
    color: #fff;
    vertical-align: top;
}
section#company table td:first-child,
section#recruitment table td:first-child {
    width: 200px;
}
section#company.animate tr,
section#recruitment.animate tr {
  opacity: 0;
  animation: fadeIn 1s;
  animation-delay: calc(0.1s * var(--index));
  animation-fill-mode: forwards;
}


section#business{
    background-color: #333333;
}
section#business ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
}
section#business ul li {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}
section#business ul li img {
    display: block;
    width: 300px;
    height: 250px;
    object-fit: cover;
    object-position: center;
}
section#business.animate ul li img{
    -webkit-animation: element-from-bottom 2s 1 ease-in-out;
    -moz-animation: element-from-bottom 2s 1 ease-in-out;
    animation: element-from-bottom 2s 1 ease-in-out;
}
section#business ul li ._content {
    width: calc(100% - 330px);
    color: #fff;
}
section#business.animate ul li ._content {
    -webkit-animation: moveInLeft 2s ease-in;
    -moz-animation: moveInLeft 2s ease-in;
    animation: moveInLeft 2s ease-in;
}
section#business ul li ._content h3 {
    font-size: 25px;
}

section#contact {
    background-color: #222;
}
section#contact ._contact {
    width: 700px;
    margin: auto;
    position: relative;
    padding: 30px 50px;
    background-color: #f1f1f1;
}
section#contact .inner_form label{
    display: flex;
    gap: 10px;
    align-items: center;
}

span.required {
    color: #fff;
    background-color: #ff0000;
    border-radius: 3px;
    display: inline-block;
    padding: 0 7px;
    font-size: 12px;
}
span.not.required {
    background-color: #8b8b8b;
}

/* Step bar starts */
.step-bar {
  display: flex;
  font-family: sans-serif;
  background: #f2f2f2;
  width: fit-content;
  margin: 20px auto 50px;
  border-radius: 4px;
  overflow: hidden;
}
.step {
  position: relative;
  padding: 18px 30px;
  text-align: center;
  background: white;
  color: #000;
  min-width: 160px;
}
.step:last-child {
  border-right: none;
}
.step.active {
  background: #ffcc00;
  color: #fff;
}
.step.active::after {
  content: '';
  position: absolute;
  top: 0;
  right: -20px;
  width: 0;
  height: 0;
  border-top: 40px solid transparent;
  border-bottom: 40px solid transparent;
  border-left: 20px solid #ffcc00;
  z-index: 1;
}
.step-title {
  font-size: 12px;
  color: #555;
}
.step-label {
  font-size: 18px;
  font-weight: bold;
}
.step.active .step-title {
  color: #fff;
}
/* Step bar end */

main.custom-page-template {
    padding-top: 90px;
}
main section.hero {
    margin: 0;
    padding: 40px 0;
    background-color: #a42e2e;
    color: #fff;
}
main section.hero  h1 {
    font-size: 30px;
    text-align: center;
}
main section.hero  h1 span {
    display: block;
    font-size: 24px;
    margin-top: 5px;
    font-weight: normal;
}

.single article {
    color: #fff;
}
.single article .post-title h6 {
    font-size: 1rem;
    font-weight: 400;
    display: flex;
    gap: 10px;
}
.single article .post-title h6 strong {
    font-weight: normal;
    font-size: 12px;
    background: #ff6600;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    border-radius: 5px;
}
.single article .post-title h1 {
    margin: 20px 0 30px;
    font-size: 2em;
}
.post-navigation {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-top: 1px solid #999;
    border-bottom: 1px solid #999;
    margin-top: 20px;
}
.post-navigation .disabled {
    color: #999;
}

.related-posts {
    margin-top: 80px;
}
.related-posts h3 {
    color: #fff;
}
.related-posts ul.news_list {
    width: 100% !important;
}

.small_container {
    margin: auto;
    max-width: 600px;
    width: 100%;
}
.fit_table tr:first-child td {
    border-top: 1px solid #e5e5e5;
}
.fit_table td {
    border: 0;
    border-bottom: 1px solid #e5e5e5;
    padding: 1em;
}
.fit_table td:first-child{
    width: 150px;
}

.wpcf7-form p > label {
    display: block;
}
.wpcf7-form input,
.wpcf7-form textarea{
    width: 100%;
    max-height: 150px;
    resize: none;
}
.wpcf7-not-valid-tip {
    font-size: .7em;
}
.wpcf7-submit {
    background-color: #a42e2e;
    color: #fff;
    border: 1px solid #a42e2e;
    padding: .5em;
    border-radius: 5px;
    cursor: pointer;
}
.wpcf7-submit:hover {
    background-color: #c33838;
    border: 1px solid #a42e2e;
}

.cf7-step {
  margin-bottom: 20px;
}
.cf7-step.step-2 .inner_form {
    max-width: 510px;
    margin: auto;
}

#wpcf7-f33-o1 .wpcf7-response-output,
#wpcf7-f33-o1 .wpcf7-not-valid-tip {
    display: none;
}





footer {
    border-top: 2px solid #ffcc00;
    background-color: #e7e7e7;
    padding: 20px 0 0;
}
footer ._container {
    display: flex;
    justify-content: space-between;
}
footer ._container > img {
    display: block;
    align-self: flex-start;
    width: 200px;
    margin-left: auto;
    
}
footer .logo {
    padding-bottom: 20px;
}
footer .logo a {
    margin: 0;
    padding: 0;
    display: block;
}
footer .logo h1 {
    margin: 0;
    padding: 0;
}
footer .logo img {
    display: block;
    height: 70px;
    padding: 0;
}
footer .address {
    margin: 20px 0;
}
footer .phone p {
    margin: 0;
}
footer .bottom_menu {
    padding: 20px;
    border-top: 1px solid #aaa;
    border-bottom: 1px solid #aaa;
}
footer .bottom_menu ul {
    display: flex;
    gap: 20px 40px;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
}
footer .bottom_menu ul a {
    color: #ffcc00;
}
footer .bottom_menu ul a:hover {
    text-decoration: none;
    color: #333;
}
footer .copyright {
    text-align: right;
    padding: 15px 0;
}
footer .copyright p {
    margin: 0;
    font-size: 13px;
}




.animated-btn, .read-more {
    -webkit-transition: 0.4s;
    -moz-transition: 0.4s;
    transition: 0.4s;
}
.animate-section .animate-left, 
.animate-section.hero-area h2, 
.animate-section.hero-area .btn-default {
    -webkit-animation-name: moveInLeft;
    -moz-animation-name: moveInLeft;
    animation-name: moveInLeft;
    -webkit-animation-duration: 2s;
    -moz-animation-duration: 2s;
    animation-duration: 2s;
    -webkit-animation-timing-function: ease-in;
    -moz-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
}
.animate-section .animate-right, 
.animate-section.hero-area p, 
.animate-section.hero-area .btn-default.btn-default-outline {
    -webkit-animation-name: moveInRight;
    -moz-animation-name: moveInRight;
    animation-name: moveInRight;
    -webkit-animation-duration: 2s;
    -moz-animation-duration: 2s;
    animation-duration: 2s;
    -webkit-animation-timing-function: ease-in;
    -moz-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
}
.animate-section .moveUpDown, 
.animate-section.hero-area img, 
.animate-section .phone-1, 
.animate-section .phone-2 {
    -webkit-animation-name: MoveUpDown;
    -moz-animation-name: MoveUpDown;
    animation-name: MoveUpDown;
    -webkit-animation-duration: 3s;
    -moz-animation-duration: 3s;
    animation-duration: 3s;
    -webkit-animation-iteration-count: infinite;
    -moz-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-direction: alternate;
    -moz-animation-direction: alternate;
    animation-direction: alternate;
}

.element-from-bottom {
    opacity: 0;
}
.element-from-bottom.animate {
    -webkit-animation: element-from-bottom .7s 1 ease-in-out;
    -moz-animation: element-from-bottom .7s 1 ease-in-out;
    animation: element-from-bottom .7s 1 ease-in-out;
    opacity: 1;
    -webkit-backface-visibility: hidden;
}

.animated-btn, .read-more {
    transition: 0.4s;
}
.animated-btn:hover, .read-more:hover {
    transform: translateY(-3px);
    box-shadow: rgba(0, 0, 0, 0.2) 0px 10px 20px;
}


/* moveInLeft Animation */ 
@keyframes moveInLeft {
	0%{
        opacity: 0;
        filter: alpha(opacity = 0);
        -webkit-transform: translateX(-50px);
        -moz-transform: translateX(-50px);
        -ms-transform: translateX(-50px);
        -o-transform: translateX(-50px);
        transform: translateX(-50px);
	}
	80%{
		-webkit-transform: translateX(10px);
        -moz-transform: translateX(10px);
        -ms-transform: translateX(10px);
        -o-transform: translateX(10px);
        transform: translateX(10px);
	}
	100%{
		opacity: 1;
        filter: alpha(opacity = 100);
        -webkit-transform: translate(0);
        -moz-transform: translate(0);
        -ms-transform: translate(0);
        -o-transform: translate(0);
        transform: translate(0);
	}
}
/* moveInRight Animation */ 
@keyframes moveInRight {
	0%{
		opacity: 0;
        filter: alpha(opacity = 0);
        -webkit-transform: translateX(50px);
        -moz-transform: translateX(50px);
        -ms-transform: translateX(50px);
        -o-transform: translateX(50px);
        transform: translateX(50px);
	}
	80%{
		-webkit-transform: translateX(-10px);
        -moz-transform: translateX(-10px);
        -ms-transform: translateX(-10px);
        -o-transform: translateX(-10px);
        transform: translateX(-10px);
	}
	100%{
		opacity: 1;
        filter: alpha(opacity = 100);
        -webkit-transform: translate(0);
        -moz-transform: translate(0);
        -ms-transform: translate(0);
        -o-transform: translate(0);
        transform: translate(0);
	}
}
/* MoveUpDown Animation */
@keyframes MoveUpDown {
	0% {
        -webkit-transform: translateY(0);
        -moz-transform: translateY(0);
        -ms-transform: translateY(0);
        -o-transform: translateY(0);
        transform: translateY(0);
	}
	100% {
		-webkit-transform: translateY(30px);
        -moz-transform: translateY(30px);
        -ms-transform: translateY(30px);
        -o-transform: translateY(30px);
        transform: translateY(30px);
    }
}

@keyframes coverAnimation {
    0% {
        transform: scaleX(0);
        transform-origin: left; 
    }
    50% {
        transform: scaleX(1);
        transform-origin: left;
    }
    75% {
        transform: scaleX(1);
        transform-origin: right;
    }
    100% {
        transform: scaleX(0);
        transform-origin: right;
    }
}
@keyframes textReveal {
    from {
        color: transparent;
    }
    to {
        color: #fff; /* Or any color you want for the text */
    }
}

/* moveInBotom Animation */ 
@keyframes element-from-bottom {
    0% {
        opacity: 0;
        transform: translate(0,30%)
    }

    100% {
        opacity: 1;
        transform: translate(0,0)
    }
}

/* moveInTop Animation */ 
@keyframes element-from-top {
    0% {
        opacity: 0;
        transform: translate(0,-30%)
    }

    100% {
        opacity: 1;
        transform: translate(0,0)
    }
}

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.pc-view { display: block; }
.sp-view { display: none !important; }
@media screen and (max-width: 991px) {
    .pc-view { display: none !important; }
    .sp-view { display: block !important; }

    #navbarSupportedContent{
        background: rgb(0 0 0 / 84%);
        position: fixed;
        top: 94px;
        left: 0px;
        right: 0px;
        padding: 10px 0;
    }
    #navbarSupportedContent ul li {
        padding: 10px;
        text-align: center;
    }

    .main_img.parallax-section::before {
        z-index: 1;
    }
    .main_img > .container.sp-view {
        z-index: 2;
    }
    .main_img .fixed-500 {
        position: absolute;
        z-index: 0;
    }
    .main_img .fixed-500:after {
        content: "";
        background-color: #00000091;
        border-radius: 50%;
    }
    .main_img .flex-fill {
        position: relative;
        z-index: 2;
    }

    section#company table, section#recruitment table { 
        width: 100%;
    }

    .home #sideMenu {
        display: none;
    }
    
}

@media screen and (max-width: 767px) {
    header h1 img {
        height: 48px;
    }

    .main_img .fixed-500 {
        flex: 0 0 350px;
        max-width: 350px;
    }
    .main_img > .container img {
        width: 350px;
        height: 350px;
    }

    section#business ul li {
        flex-direction: column;
    }
    section#business ul li img {
        width: 100%;
    }
    section#business ul li ._content {
        width: 100%;
    }

    section#contact ._contact {
        width: 100%;
        padding: 20px;
    }
    .step {
        padding: 18px 10px;
        min-width: 110px;
    }
    .step.active::after {
        display: none;
    }
    .step-label {
        font-size: 12px;
    }

    section#news ul,
    section#news ul.news_list {
        width: 100%;
    }

    .division {
        flex-direction: column;
    }
    .division .division_left {
        width: 100%;
    }
    section#news .division > ul.news_list,
    section#news .division .right_side {
        width: 100%;
    }
    section#news ul {
        flex-direction: row;
        flex-wrap: wrap;
    }
    section#news ul.news_list li a {
        flex-wrap: wrap;
    }

    footer ._container > img {
        width: 100px;
    }
}

@media screen and (max-width: 567px) {
    .main_img h2 {
        font-size: 40px;
    }
    .step {
        padding: 18px 5px;
        min-width: 105px;
    }

    footer .logo img {
        height: 45px;
    }
}