       body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    color: #333;
}

.main-container {
    width: 90%;
    margin: 0 auto;
    max-width: 1200px;
}

.site-header {
    background-color: #0057FF;
    padding: 20px 0;
    position: relative;
}

.site-logo img {
    height: 50px;
}

.site-menu {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

.menu-item-link {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    margin-left: 20px;
}

.menu-item-link.active {
    border-bottom: 2px solid #fff;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.primary-button {
    background-color: #D32F2F;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    text-decoration: none;
}

.primary-button:hover {
    background-color: #B71C1C;
}

.detail-page-title h1 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #0057FF;
}

.detail-page-content p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.table-wrapper {
    background-color: #fff;
    padding: 20px;
    margin-top: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.rating-table {
    width: 100%;
    border-collapse: collapse;
}

.rating-table th,
.rating-table td {
    padding: 15px;
    border: 1px solid #ddd;
}

.company-link {
    color: #0057FF;
    text-decoration: none;
    font-weight: bold;
}

.company-link:hover {
    text-decoration: underline;
}

.benefits-section {
    margin: 40px 0;
    padding: 20px;
    background-color: #007BFF;
    color: #fff;
    border-radius: 8px;
}

.benefits-title {
    font-size: 24px;
    margin-bottom: 20px;
}

.benefits-item {
    margin-bottom: 20px;
    border: 2px solid white;
    padding: 15px;
    border-radius: 5px;
    background-color: #e6f7ff;
}

.benefits-item-title {
    font-size: 20px;
    margin-bottom: 10px;
    color: #0057FF;
}

.benefits-item-desc {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

    .site-footer {
        background-color: #333;
        color: #fff;
        padding: 20px 0;
    }

    .main-container {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .footer-top {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 20px;
    }

    .footer-info {
        flex: 1;
    }

    .footer-logo a {
        display: block;
        margin-bottom: 10px;
    }

    .footer-slogan {
        font-size: 14px;
        margin: 10px 0;
    }

    .social-links {
        display: flex;
        gap: 15px;
    }

    .social-links a {
        color: #fff;
        text-decoration: none;
        font-size: 16px;
    }

    .footer-menu {
        flex: 1;
    }

    .menu-list {
        list-style: none;
        padding: 0;
        display: flex;
        gap: 15px;
        flex-wrap: wrap;
    }

    .menu-item-link {
        color: #fff;
        text-decoration: none;
        font-size: 16px;
    }

    .menu-item-link:hover {
        text-decoration: underline;
    }

.footer-bottom {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        gap: 10px;
        text-align: center;
        padding: 10px 0;
    }

    .footer-copyright-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }

    .footer-copyright {
        font-size: 14px;
        color: #fff;
    }

    .footer-links a {
        color: #fff;
        text-decoration: none;
        font-size: 14px;
    }

    .footer-links a:hover {
        text-decoration: underline;
    }

/* Breadcrumb styles */
.breadcrumb-container {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 14px;
    margin-top: 20px;
}

.breadcrumb-link {
    color: #0057FF;
    text-decoration: none;
}

.breadcrumb-link:hover {
    text-decoration: underline;
}

.breadcrumb-separator {
    margin: 0 10px;
    color: #333;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-last {
    font-weight: bold;
    color: #333;
}

/* Responsive two-column layout */
.benefits-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.benefits-col {
    flex: 1 1 calc(50% - 20px);
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .benefits-col {
        flex: 1 1 100%;
    }
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 10px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
}

.modal-close {
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.modal-form .form-group {
    margin-bottom: 15px;
}

.modal-form label {
    display: block;
    margin-bottom: 5px;
}

.modal-form input,
.modal-form textarea {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
}

.modal-form .form-check {
    display: flex;
    align-items: center;
}

.modal-form .form-check input {
    margin-right: 10px;
}

.modal-submit {
    background-color: #D32F2F;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    text-align: center;
    width: 100%;
}

.modal-submit:hover {
    background-color: #B71C1C;
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table-responsive::-webkit-scrollbar {
    height: 8px;
}

.table-responsive::-webkit-scrollbar-thumb {
    background-color: #007BFF;
    border-radius: 4px;
}

.table-responsive::-webkit-scrollbar-track {
    background-color: #f1f1f1;
}

.table-wrap .main-container {
    width: 90%;
    margin: 0 auto;
    max-width: 1200px;
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
}

.table-responsive::-webkit-scrollbar {
    height: 8px;
}

.table-responsive::-webkit-scrollbar-thumb {
    background-color: #007BFF;
    border-radius: 4px;
}

.table-responsive::-webkit-scrollbar-track {
    background-color: #f1f1f1;
}

.rating-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.rating-table th,
.rating-table td {
    padding: 15px;
    border: 1px solid #ddd;
    text-align: left;
}

.rating-table th {
    background-color: #f5f5f5;
    font-weight: bold;
    color: #333;
}

.rating-table td {
    background-color: #fff;
}

.rating-table__company a {
    color: #007BFF;
    text-decoration: none;
    font-weight: bold;
}

.rating-table__company a:hover {
    text-decoration: underline;
}

.rating-table__rank {
    text-align: center;
}

.rating-table__points,
.rating-table__rating {
    text-align: right;
}

.update-info {
    text-align: right;
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
}

.benefits-icon {
    display: block;
    margin: 0 auto 15px;
    width: 150px;
    height: 150px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Легкая тень для сглаживания */
    border-radius: 50%; /* Скругление углов, если иконка имеет острые углы */
}

.benefits-item {
    text-align: center;
    padding: 20px;
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.benefits-item:hover {
    background-color: #eaeaea;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.footer-disclaimer {
    text-align: center;
    font-size: 12px;
    color: #777;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #ccc; /* Разделительная линия сверху */
    line-height: 1.5;
}

.footer-disclaimer p {
    margin: 0;
    padding: 0;
}

.contact-section {
    position: relative;
    background-image: url('/image/fos.jpg');
    background-size: cover;
    background-position: center;
    padding: 60px 0;
    color: #fff;
}

.contact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.contact-container {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-title {
    font-size: 36px;
    margin-bottom: 20px;
}

.contact-description {
    font-size: 18px;
    margin-bottom: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form-row {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-input,
.contact-textarea {
    width: 100%;
    padding: 15px;
    border-radius: 5px;
    border: none;
    font-size: 16px;
}

.contact-textarea {
    height: 120px;
    resize: none;
}

.contact-checkbox {
    margin-right: 10px;
}

.contact-label {
    font-size: 14px;
    color: #fff;
}

.contact-label a{
    color: #fff;
}

.contact-button {
    background-color: #D32F2F;
    color: #fff;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.3s ease;
}

.contact-button:hover {
    background-color: #B71C1C;
}

@media (max-width: 768px) {
    .contact-container {
        padding: 0 20px;
    }
    .contact-title {
        font-size: 28px;
    }
    .contact-description {
        font-size: 16px;
    }
    .contact-form {
        gap: 10px;
    }
}


.why-japan-benefit {
  background: #f6f8fa;
  border-radius: 16px;
  padding: 32px 24px;
  margin-bottom: 40px;
  box-shadow: 0 4px 24px rgba(30, 48, 80, 0.05);
  font-family: inherit;
}
.why-japan-benefit h2 {
  margin-top: 0;
  margin-bottom: 24px;
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
}
.wjb-features {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: center;
}
.wjb-feature {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(30,48,80,0.06);
  padding: 18px 16px;
  flex: 1 1 260px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 220px;
}
.wjb-icon {
  font-size: 2rem;
  margin-bottom: 10px;
}
.wjb-feature h3 {
  margin: 0 0 6px 0;
  font-size: 1.15rem;
  color: #2465b3;
}
.wjb-feature p {
  margin: 0;
  font-size: 0.98rem;
}
.wjb-summary {
  margin-top: 28px;
  background: #eaf1fb;
  border-radius: 10px;
  padding: 18px 18px;
  font-weight: 500;
  text-align: center;
  font-size: 1.11rem;
  color: #185fa5;
}
@media (max-width: 900px) {
  .wjb-features {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
}

.purchase-guide {
  background: #f7fafd;
  border-radius: 18px;
  padding: 32px 22px;
  margin-bottom: 38px;
  box-shadow: 0 4px 20px rgba(30, 48, 80, 0.04);
  font-family: inherit;
}
.purchase-guide h2 {
  margin-top: 0;
  margin-bottom: 26px;
  font-size: 2rem;
  text-align: center;
  font-weight: 700;
}
.guide-steps {
  list-style: none;
  padding: 0;
  margin: 0 0 22px 0;
  counter-reset: guide-steps;
}
.guide-steps li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 22px;
  border-left: 4px solid #376eae;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 8px rgba(30,48,80,0.06);
  padding: 16px 18px 16px 14px;
  min-height: 70px;
  transition: box-shadow 0.2s;
}
.guide-steps li:hover {
  box-shadow: 0 2px 18px rgba(30,48,80,0.11);
}
.step-icon {
  background: #376eae;
  color: #fff;
  font-weight: bold;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-right: 18px;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px #f7fafd;
  transition: background 0.2s;
}
.step-content h3 {
  font-size: 1.16rem;
  margin-top: 0;
  margin-bottom: 5px;
  color: #1a5182;
}
.step-content p {
  margin: 0;
  font-size: 1rem;
  color: #323a40;
}
.guide-summary {
  background: #e6f1fc;
  border-radius: 11px;
  padding: 17px 14px;
  text-align: center;
  font-size: 1.10rem;
  color: #185fa5;
  font-weight: 500;
  margin-top: 18px;
}
@media (max-width: 900px) {
  .guide-steps li {
    flex-direction: column;
    align-items: flex-start;
    border-left: 0;
    border-top: 4px solid #376eae;
    padding-left: 10px;
    padding-top: 14px;
  }
  .step-icon {
    margin-bottom: 8px;
    margin-right: 0;
  }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.faq-section {
  background: #f8fbfd;
  border-radius: 16px;
  padding: 32px 22px;
  margin-bottom: 40px;
  font-family: inherit;
  box-shadow: 0 4px 22px rgba(30, 48, 80, 0.06);
}
.faq-section h2 {
  margin-top: 0;
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 28px;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.faq-item {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 6px rgba(30,48,80,0.07);
  padding: 0;
  transition: box-shadow 0.2s;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  background: #eaf1fb;
  border: none;
  outline: none;
  font-size: 1.08rem;
  color: #184da5;
  font-weight: 600;
  padding: 18px 20px;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s;
}
.faq-question:hover,.faq-question:focus {
  background: #d6e9fa;
}
.faq-answer {
  padding: 15px 20px 17px 20px;
  font-size: 1rem;
  color: #1a2330;
  border-top: 1px solid #e2ecf8;
  display: none;
}
.faq-item.open .faq-answer {
  display: block;
}
@media (max-width: 900px) {
  .faq-section {
    padding: 24px 6px;
  }
  .faq-question, .faq-answer {
    font-size: 0.98rem;
    padding-left: 10px;
    padding-right: 10px;
  }
}
