/* ===============
Fonts

.noto-sans-jp-<uniquifier> {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}


.funnel-display-<uniquifier> {
  font-family: "Funnel Display", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}
================== */

html,
body {
  font-family: "Noto Sans JP", sans-serif;
  color: #000000;
  font-size: 1.05em;
  line-height: 1.75;
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
}

main.wrapper {
  flex: 1 0 auto;
}

footer {
  flex-shrink: 0;
}

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

textarea {
  resize: vertical;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  letter-spacing: 0.125em;
  line-height: 150%;
}

/* ===============
Header 
================== */

header {
  border-bottom: solid 1px #EAEAEA;
}

header .logo {
  width: 140px;
}

header .nav {
  width: 100%;
  height: 100%;
  display: none;
  padding: 20px 0;
}

@media screen and (min-width: 768px) {
  header .nav {
    display: flex;
    align-items: center;
    justify-content: end;
  }
}

header .nav nav {
  height: 100%;
}

header .nav nav ul {
  margin: 0;
  padding: 0;
  display: flex;
  height: 100%;
}

header .nav nav ul li {
  list-style: none;
  margin: 0 15px;
  height: 100%;
  display: flex;
  align-items: center;
}

@media screen and (max-width: 1199px) {
  header .nav nav ul li {
    list-style: none;
    margin: 0 10px;
    height: 100%;
    display: flex;
    align-items: center;
  }
}

header .nav nav ul li a {
  font-family: "Funnel Display", sans-serif;
  color: #000000;
  text-decoration: none;
  padding: 7px 5px;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 1.15rem;
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

header .nav nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background-color: #000000;
  transition: left 0.3s ease;
}

@media screen and (max-width: 991px) {
  header .nav nav ul li a {
    padding: 5px 0px;
    height: 100%;
    display: flex;
    align-items: center;
  }
}

header .nav nav ul li a:hover {
  text-decoration: none;
}

header .nav nav ul li a:hover::after {
  left: 0;
}

header .nav nav ul li.current-menu-item a::after {
  left: 0;
}

header .nav .social-icons {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-left: 30px;
  height: 100%;
}

@media screen and (max-width: 810px) {
  header .nav .social-icons {
    display: none;
  }
}

header .nav .social-icons a { 
  background-color: #444444;
  width: 32px; 
  height: 32px;
  padding: 2px;
  margin-left: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

header .nav .social-icons a:hover {
  background-color: #B71C22;
}

header .nav .social-icons a svg {
  width: auto;
  height: 17px;
}

header .nav .social-icons a svg path {
  fill: #ffffff;
}

/* ===============
Section 
================== */

section {
  padding: 100px 0;
}

@media screen and (max-width: 767px) {
  section {
    padding: 50px 0;
  }

}

@media screen and (max-width: 576px) {
  section {
    padding: 30px 0;
  }

}

/* ===============
Post Link
================== */

.post-link {
  display: flex;
  justify-content: center;
}

.post-link a {
  color: #000000;
  text-decoration: none;
  padding: 3px 0px;
  border-bottom: solid 1px #000000;
}


/* ===============
Toggle Nav 
================== */
.toggle-nav {
  display: none;
}

@media screen and (max-width: 767px) {
  .toggle-nav {
    display: flex;
    position: fixed;
    justify-content: center;
    align-items: center;
    top: 20px;
    right: 15px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 9999;
  }
}

/* ===============
Table
================== */

.table tr { 
  border-bottom: solid 1px #000000;
}

.table tr td { 
  padding: 30px 15px;
}

.table tr td:first-child {
  font-weight: bold;
  border-bottom: solid 2px #000000;
}

/* ===============
Background Colors
================== */

.bg-grey { 
  background-color: #eeeeee;
}

/* ===============
Mobile Navigation
================== */

.nav-mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  z-index: 999;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.nav-mobile.active {
  display: flex;
  opacity: 1;
}

.nav-mobile nav {
  display: block;
  flex-direction: column;
  width: 100%;
  padding: 30px;
  text-align: center;
}

.nav-mobile nav ul {
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.nav-mobile nav ul li {
  list-style: none;
  margin: 0 0 20px 0;
}

.nav-mobile nav ul li a {
  color: #000000;
  text-decoration: none;
  font-size: 24px;
  border-bottom: solid 1px #000000;
  display: block;
  width: 100%;
  padding: 6px 0;
}

/* ===============
Footer
================== */

footer {
  background-color: #eeeeee;
  color: #000000;
  padding: 60px 0 40px 0;
}

@media screen and (max-width: 767px) {
  footer {
    padding: 40px 0 30px 0;
  }

}

footer .footer-logo {
  width: 140px;
}

footer .footer-nav {
  height: 100%;
}

footer .footer-nav ul {
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
}

footer .footer-nav ul li {
  list-style: none;
  display: flex;
  flex-basis: 50%;
}

footer .footer-nav ul li a {
  color: #000000;
  text-decoration: none;
  position: relative;
  padding: 10px 0;
  transition: all 0.3s ease;
  overflow: hidden;
}

footer .footer-nav ul li a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background-color: #B71C22;
  transition: left 0.3s ease;
}

footer .footer-nav ul li a:hover {
  text-decoration: none;
  color: #B71C22;
  transform: translateY(-2px);
}

footer .footer-nav ul li a:hover::before {
  left: 0;
}


  .footer-nav ul li a {
                    display: block;
                    margin-bottom: 20px;
                }

                .footer-nav ul li a .english {
                    font-size: 1.15rem;
                    font-weight: bold;
                    display: block;
                }

                .footer-nav ul li a .japanese {
                    font-size: 0.8rem;
                    display: block;
                    text-align: left;
                }

footer .social-icons {
  margin-top: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

footer .social-icons a { 
  background-color: #444444;
  width: 40px; 
  height: 40px;
  padding: 2px;
  margin-left: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

footer .social-icons a:hover {
  background-color: #B71C22;
}

footer .social-icons a svg {
  width: auto;
  height: 17px;
}

footer .social-icons a svg path {
  fill: #ffffff;
}

footer .nav-btn {
                    width: 100%;
                    display: block;
                    text-align: center;
                    padding: 12px 20px;
                    color: white;
                    text-decoration: none;
                    border-radius: 4px;
                    font-weight: bold;
                    transition: background-color 0.3s ease;
                    margin: 0 auto !important;
                }

                footer .nav-btn:hover {
                    color: white;
                    text-decoration: none;
                }

.copyright-bar { 
  background-color: #eeeeee;
  padding: 20px 0;
}


/* Button Design */

.nav-btn {
  padding: 10px 10px;
  border-radius: 30px;
  background-color: #B71C22;
  color: #ffffff;
  margin-left: 20px;
  text-decoration: none;
  transition: all 0.4s ease;
}

.nav-btn:hover {
  background-color: #000000;
  color: #ffffff;
}

.nav-btn.w-100 { 
  display: block;
  width: 100%;
  text-align: center;
}

/* ===============
Main Banner 
================== */

.main-banner img { 
  width: 100%;
  height: auto;
}

/* ===============
Blog List
================== */

.blog-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.blog-date {
    margin-right: 2vw;
    white-space: nowrap;
}

.blog-badge {
  background-color: #6c757d;
  color: white;
  padding: 0.3vw 2vw;
  font-size: 0.9rem;
  margin-right: 2vw;
  border-radius: 0;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
}

.blog-title a {
    color: black;
    text-decoration: none;
}

.blog-title a:hover {
    text-decoration: underline;
}

.blog-meta {
    display: flex;
    align-items: center;
}

@media (max-width: 768px) {
    .blog-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .blog-meta {
        margin-bottom: 10px;
    }

    .blog-date {
        margin-right: 15px;
        margin-bottom: 0;
    }

    .blog-badge {
        margin-right: 0;
        margin-bottom: 0;
    }
}

/* ===============
Brand Listing
================== */

.btn svg {
    fill: white;
    width: 15px;
    height: auto;
    display: inline;
    vertical-align: middle;
    margin-right: 6px;
}

.brand-block {
  background-color: white;
  padding: 40px 20px;
}

@media screen and (max-width: 767px) {
  .brand-block {
    margin-bottom: 20px;
  }
}

.brand-logo img {
    height: 50px;
    width: auto;
}

.brand-block .btn {
    border-radius: 0;
    padding-left: 30px;
    padding-right: 30px;
}

/* ===============
Speech Bubble
================== */

 .speech-bubble {
    position: relative;
    background: #000000;
    color: white;
    border-radius: 2em;
    padding: 10px 20px;
    display: inline-block;
}

.speech-bubble:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 0;
    border: 10px solid transparent;
    border-top-color: #000000;
    border-bottom: 0;
    margin-left: -10px;
    margin-bottom: -10px;
}

/* ===============
Main Banner
================== */

.main-banner {
  min-height: 400px;
  max-height: 800px;
  overflow: hidden;
}

.main-banner img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  max-height: 800px;
  object-fit: cover;
}


/* ===============
Blog Post
================== */

        .blog-post {
          margin-bottom: 40px;
        }
        .blog-post h1 {
          font-size: 2rem;
          margin-bottom: 10px;
          color: #000000;
        }
        .blog-post h2 {
          font-size: 1.75rem;
          margin-bottom: 10px;
          color: #000000;
        }
        .blog-post h3 {
          font-size: 1.5rem;
          margin-bottom: 10px;
          color: #000000;
        }
        .blog-post h4 {
          font-size: 1.25rem;
          margin-bottom: 10px;
          color: #000000;
        }
        .blog-post h5 {
          font-size: 1.125rem;
          margin-bottom: 10px;
          color: #000000;
        }
        .blog-post h6 {
          font-size: 1rem;
          margin-bottom: 10px;
          color: #000000;
        }
        .blog-post p {
          margin-bottom: 20px;
        }
        .blog-post a {
          color: #B71C22;
          text-decoration: underline;
        }
        .blog-post a:hover {
          color: #B71C22;
          text-decoration: underline;
        }
        .blog-post img {
          max-width: 100%;
          height: auto;
          margin-bottom: 20px;
        }
        .blog-post ul {
          list-style: disc;
          padding-left: 20px;
          margin-bottom: 20px;
        }
        .blog-post ul li {
          margin-bottom: 10px;
        }
        .blog-post blockquote {
          border-left: 4px solid #ccc;
          padding-left: 20px;
          margin: 20px 0;
          font-style: italic;
        }
        .blog-post .post-link {
          text-align: center;
          margin-top: 20px;
        }
        .blog-post .post-link a {
          color: #000000;
          text-decoration: none;
          padding: 3px 0px;
          border-bottom: solid 1px #000000;
        }
        .blog-post .post-link a:hover {
          text-decoration: underline;
        }
/* ===============
Blog Post Meta
================== */
.blog-post-meta {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 20px;
}
.blog-post-meta .date {
  font-size: 0.9rem;
  color: #000000;
  margin-right: 15px;
}
.blog-post-meta .author {
  font-size: 0.9rem;
  color: #000000;
  margin-right: 15px;
}
.blog-post-meta .categories {
  font-size: 0.9rem;
  color: #000000;
  margin-right: 15px;
}
.blog-post-meta .tags {
  font-size: 0.9rem;
  color: #000000;
  margin-right: 15px;
}
.blog-post-meta a {
  color: #000000;
  text-decoration: none;
}
.blog-post-meta a:hover {
  text-decoration: underline;
}

/* ===============
Gravity Forms
================== */

.gform_heading {
    display: none !important;
}

.gfield {
    margin-bottom: 0px !important;
}

.gfield_label,
.gform-field-label {
    display: block !important;
    margin-bottom: 8px !important;
    font-weight: normal !important;
    color: #000000 !important;
    font-size: 1.05rem !important;
}

.gfield_select,
.large,
.textarea {
    width: 100% !important;
    padding: 12px 15px !important;
    border-radius: 4px !important;
    font-size: 16px !important;
    transition: border-color 0.3s ease !important;
    box-sizing: border-box !important;
    line-height: 1.5 !important;
    height: auto !important;
    min-height: 35px !important;
}

.gfield_select:focus,
.large:focus,
.textarea:focus,
.textarea.medium:focus {
    outline: none !important;
    border-color: #B71C22 !important;
}

.textarea.medium {
    min-height: 120px !important;
    resize: vertical !important;
}

.gform_button {
    background-color: #B71C22 !important;
    color: white !important;
    padding: 12px 30px !important;
    border: none !important;
    border-radius: 4px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: background-color 0.3s ease !important;
    width: 100% !important;
}

.gform_button:hover {
    background-color: #9a1519 !important;
}


.gfield_required {
    color: #dc3545 !important;
}

.gfield_required_custom {
  background-color: #B71C22 !important;
  color: white !important;
  padding: 2px 8px !important;
  border-radius: 0px !important;
  font-size: 0.75rem !important;
  font-weight: 500 !important;
  display: inline-block !important;
  margin-left: 5px !important;
}

/* ===============
Embed Google Maps 
================== */
.embed-responsive {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
}

.embed-responsive::before {
  display: block;
  content: "";
}

.embed-responsive .embed-responsive-item,
.embed-responsive iframe,
.embed-responsive embed,
.embed-responsive object,
.embed-responsive video {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.embed-responsive-1by1::before {
  padding-top: 100%;
}

.embed-responsive-1by1-25::before {
  padding-top: 125%;
}

.embed-responsive-16by9::before {
  padding-top: 56.25%;
}

/* ===============
Company 
================== */

.large-line-height p {
                line-height: 2.5;
                color: #333;
                margin-bottom: 1.5rem;
            }

            
.company-banner {
    background-image: url('../img/company-banner.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 1199px) {
    .company-banner {
        min-height: 350px;
    }
}

.company-banner h2,
.company-banner h5 {
    color: white !important;
    text-transform: unset !important;
}

.thin-red {
    border: none;
    height: 2px;
    background-color: #b02829;
    width: 80px;
    margin: 1rem 0;
    opacity: 1 !important;
}

/* ===============
Custom Table
================== */

.custom-table {
                border-collapse: collapse;
                padding-top: 3rem;
                padding-bottom: 3rem;
                width: 100%;
            }

            .custom-table td {
                border-bottom: 1px solid #000000 !important;
                padding: 2.75rem 0 !important;
            }

            .custom-table td:first-child {
                font-weight: normal !important;
                width: 250px;
            }

            .custom-table a {
                color: black !important;
                text-decoration: none !important;
            }

            .custom-table a:hover,
            .custom-table a:focus,
            .custom-table a:active,
            .custom-table a:visited {
                color: black !important;
                text-decoration: none !important;
            }

            @media (max-width: 768px) {
                .custom-table td:first-child {
                    width: 150px;
                }

                .custom-table a[href^="tel:"] {
                    color: black !important;
                    text-decoration: none !important;
                }
            }

            @media (max-width: 480px) {
                .custom-table td:first-child {
                    width: 140px;
                }
            }

/* ===============
Company Buttons 
================== */
.company-nav-btn {
  border: 1px solid #000000;
  border-radius: 10px;
  padding: 15px 20px;
  background-color: #ffffff;
  text-decoration: none;
  color: #000000;
  display: block;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.company-nav-subtitle {
  font-size: 0.9em;
  color: #666666;
  margin-top: 4px;
}

.arrow-icon {
  transition: transform 0.3s ease;
  display: inline-block;
}

.arrow-icon svg {
  width: 16px;
  height: 16px;
  fill: #B71C22;
}

.company-nav-btn:hover {
  background-color: #f8f9fa;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  border-color: #B71C22;
  text-decoration: none;
  color: #000000;
}

.company-nav-btn:hover .arrow-icon {
  transform: translateY(4px);
}

.company-nav-btn:hover .arrow-icon svg {
  fill: #B71C22;
}

/* ===============
Button Styles
================== */

.btn-back-to-blog {
        background-color: black !important;
        color: white !important;
        text-decoration: none !important;
        padding: 12px 24px;
      }

.btn-back-to-blog:hover {
        background-color: #B71C22 !important;
        color: white !important;
        text-decoration: none !important;
      }

      /* ===============
      Blog Listing Styling
      ================== */


      .blog-title-link {
            position: relative;
            text-decoration: none;
            color: inherit;
            transition: all 0.3s ease;
            display: inline-block;
        }

        .blog-title-link::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: -2px;
            left: 0;
            background-color: #525252;
            transition: all 0.3s ease;
        }

        .blog-title-link:hover {
            color: #000000;
            text-decoration: none !important;
        }

        .blog-title-link:hover::after {
            width: 100%;
        }