/* ========================================
   Common Components - 通用组件样式
   ======================================== */

/* Base Styles - 基础样式 */
body {
    font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    line-height: 1.6;
    background-color: #f8f9fa;
}

/* Header - 头部 */
.header-logo {
    height: 80px;
}

.payment-icons img {
    height: 80px;
    margin: 0 2px;
}

/* Footer - 页脚 */
.footer {
    background-color: #333;
    color: white;
    padding: 20px 0;
    margin-top: 50px;
}

/* Forms - 表单 */
.inquiry-form {
    max-width: 960px;
    margin: 0 auto;
    padding: 20px;
}

.form-label {
    font-weight: bold;
    color: #333;
}

.required {
    color: #dc3545;
}

.btn-submit {
    background-color: #4285f4;
    border: none;
    padding: 12px 40px;
    font-size: 16px;
}

/* Buttons - 按钮 */
.btn-outline-danger {
    color: #dc3545;
    border-color: #dc3545;
}

.btn-outline-danger:hover {
    background-color: #dc3545;
    border-color: #dc3545;
    color: white;
}

/* Dropdown - 下拉菜单 */
.dropdown-menu .dropdown-item.active,
.dropdown-menu .dropdown-item.active:focus,
.dropdown-menu .dropdown-item.active:hover {
    background-color: #0d6efd;
    color: #fff;
}

/* Language Dropdown - 语言下拉菜单 */
.lang-dropdown-btn {
    min-width: 100px !important;
    padding: 6px 12px !important;
    font-size: 14px !important;
    border-radius: 5px !important;
    background-color: #4a4a9e !important;
    color: #fff !important;
    border: none !important;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-dropdown-btn:hover,
.lang-dropdown-btn:focus {
    background-color: #3f3f8a !important;
    color: #fff !important;
}

/* Payment Block - 支付方式区块 */
.block.payment {
    background-color: #f9f9f9;
    padding: 60px 20px;
}

.block.payment h2 {
    letter-spacing: .4rem;
    padding: 0 15px;
    border-left: 4px #0f0177 solid;
    border-right: 4px #0f0177 solid;
}

.block.payment .inner p img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto 0;
}

@media (min-width: 992px) {
    .block.payment .inner {
        max-width: 1000px;
    }
}

/* Font Size Adjustments - 字体大小调整 */
html {
    font-size: 62.5% !important;
}

body {
    font-size: 1.8rem !important;
}

header, footer {
    font-size: 1.6rem !important;
}

header .btn, footer .btn,
header button, footer button,
header input, footer input,
header select, footer select,
header textarea, footer textarea {
    font-size: 1.4rem !important;
}

/* "今すぐお見積もり" Button - 立即询价按钮 */
section .btns .now {
    font-size: 3rem !important;
}

@media screen and (max-width: 767px) {
    section .btns .now {
        font-size: 2rem !important;
    }
}

/* toBiz Link - 商务链接 */
.toBiz {
    text-align: center;
    margin-top: 20px;
    font-size: 1.6rem;
}

.toBiz a {
    color: #D4AF37;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.toBiz a:hover {
    color: #B8941F;
    text-decoration: underline;
}

.toBiz i {
    margin-right: 8px;
}

/* CV Block - 转化区块 */
.cv-block {
    background: #f9f9f9;
    padding: 40px 20px;
    text-align: center;
}

.cv-text {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.cv-btn-01 {
    display: inline-block;
    background-color: #D4AF37;
    color: #fff;
    padding: 15px 30px;
    font-size: 1.6rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.cv-btn-01:hover {
    background-color: #B8941F;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.cv-btn-01 span {
    display: inline-block;
}

/* Contents Inner - 内容容器 */
.contents-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.column-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

.l-col2 {
    flex: 0 0 calc(50% - 10px);
}

@media (max-width: 768px) {
    .l-col2 {
        flex: 0 0 100%;
    }

    .column-wrap {
        gap: 15px;
    }
}

/* Review Section - 评论区块 */
.review-ttl {
    font-size: 2.4rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

.review-sub-ttl {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #0f0177;
}

.body-copy {
    font-size: 1.6rem;
    line-height: 1.8;
    color: #555;
}

.body-copy-sml {
    font-size: 1.4rem;
    line-height: 1.7;
    color: #555;
}

/* Header Styles - Header样式 */
header {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Navigation Links - 导航链接 */
nav a {
    font-weight: 500;
    transition: color 0.2s ease;
}

nav a:hover {
    color: #0d6efd !important;
}

/* Header Navigation Active State - 导航菜单激活状态 */
.nav-link-item {
    color: #333 !important;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link-item:hover {
    color: #0f0177 !important;
}

.nav-link-item.active {
    color: #0f0177 !important;
    font-weight: bold !important;
}

/* PC端导航 - 下划线效果 */
@media (min-width: 992px) {
    .nav-link-item.active::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        right: 0;
        height: 3px;
        background-color: #0f0177;
        border-radius: 2px;
    }
}

/* 移动端导航 - 背景高亮效果 */
@media (max-width: 991px) {
    .nav-link-item.active {
        background-color: rgba(15, 1, 119, 0.1);
        padding-left: 15px !important;
        border-left: 4px solid #0f0177;
    }
}



.dropdown:hover .dropdown-toggle {
    background-color: #5a5aae !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.dropdown-item.hover-effect:hover {
    background-color: #4a4a9e !important;
    color: white !important;
    transform: translateX(5px);
    padding-left: 20px !important;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-radius: 8px;
    overflow: hidden;
}

.dropdown-item {
    border-bottom: 1px solid #f0f0f0;
    font-size: 16px !important;
}

.dropdown-item:last-child {
    border-bottom: none;
}

/* FAQ Styles - FAQ样式 */
.faq .inner ul li dl dd {
    display: none;
}

.faq dt {
    position: relative;
    padding-right: 2.6em;
    cursor: pointer;
}

.faq dt::after {
    content: '▼';
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #4a4a9e;
    font-size: 1.8em;
    line-height: 1;
    transition: transform 0.2s ease, color 0.2s ease;
}

.faq dt.open::after {
    content: '▲';
}

/* Hygiene Section - 卫生管理区块 */
.hygiene {
    background: #000;
}

.hygiene .block {
    padding: 20px 0;
}

.hygiene h4 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.hygiene p {
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.6em;
    color: #333;
}

.hygiene > .block .inner {
    display: flex;
    background: #F4DFDD;
    padding: 20px;
    margin: 0 auto;
    max-width: 1000px;
}

.hygiene > .block .inner img {
    width: 100%;
    vertical-align: bottom;
}

.hygiene > .block .inner div:first-of-type {
    margin-right: 15px;
    width: 35%;
}

@media screen and (max-width: 767px) {
    .hygiene > .block .inner {
        background: #F4DFDD;
    }

    .hygiene > .block .inner div:first-of-type,
    .hygiene > .block .inner .hygiene-image {
        display: none;
    }

    .hygiene p {
        font-weight: bold;
    }
}

