/* Business Page Specific Styles */

/* Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Section animations */
.about-section,
.services-section,
.promises-section,
.awards-section {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease, transform 1s ease;
}

.about-section.animate-in,
.services-section.animate-in,
.promises-section.animate-in,
.awards-section.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Service item animations */
.service-item {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.service-item.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.service-item.service-right {
    transform: translateX(30px);
}

.service-item.service-right.animate-in {
    transform: translateX(0);
}

/* Promise item staggered animation */
.promise-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.promise-item.animate-in {
    opacity: 1;
    transform: translateY(0);
}


/* Main */
.business-main {
    padding-top: 80px;
    min-height: 100vh;
}

/* About Section */
.about-section {
    padding: 140px 180px 100px;
    background: #FFFFFF;
}

.about-label {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.5em;
    letter-spacing: 0.15em;
    color: #E70012;
    text-align: center;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.about-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.about-section .section-title {
    font-family: 'Inter', sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.111em;
    color: #E70012;
    text-align: center;
}

.about-section .section-title::after {
    content: '';
    display: block;
    width: 72px;
    height: 1px;
    background: #E70012;
    margin: 16px auto 0;
}

.about-content {
    max-width: 1080px;
    margin: 0 auto;
}

.about-text-box {
    background: #f8f8f8;
    padding: 40px;
    border-radius: 4px;
}

.about-text {
    font-family: 'Noto Serif JP', serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 2em;
    letter-spacing: 0.05em;
    color: #0D0D0D;
    text-align: center;
    margin: 0;
}

/* Services Section */
.services-section {
    padding: 100px 0 120px;
    background: #FFFFFF;
    border-top: 1px solid #e0e0e0;
}

.services-section .section-header {
    text-align: center;
    padding: 0 180px;
    margin-bottom: 60px;
}

.services-section .section-title {
    font-family: 'Inter', sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.111em;
    color: #E70012;
    text-align: center;
}

.services-section .section-title::after {
    content: '';
    display: block;
    width: 72px;
    height: 1px;
    background: #E70012;
    margin: 16px auto 0;
}

.services-intro {
    max-width: 1080px;
    margin: 0 auto 60px;
    padding: 0 180px;
}

.services-intro-text {
    font-family: 'Noto Serif JP', serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 2em;
    letter-spacing: 0.05em;
    color: #0D0D0D;
    text-align: center;
    margin: 0;
}

/* Service Item */
.service-item {
    display: flex;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto 120px;
    padding: 0 120px;
    align-items: flex-start;
}

.service-item:not(:first-child) {
    margin-top: 120px;
}

.service-right {
    flex-direction: row-reverse;
}

.service-image {
    flex: 0 0 480px;
}

.service-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.service-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.service-title {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.4em;
    letter-spacing: 0.08em;
    color: #E70012;
    padding-bottom: 12px;
    border-bottom: 2px solid #E70012;
}

.service-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5em;
    letter-spacing: 0.05em;
    color: #333;
}

.service-description {
    font-family: 'Noto Serif JP', serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.9em;
    letter-spacing: 0.05em;
    color: #0D0D0D;
}

.service-list-box {
    background: #f8f8f8;
    padding: 30px;
    margin-top: auto;
    border-radius: 4px;
    border-left: 3px solid #E70012;
}

.service-list {
    list-style: none;
    padding: 0;
}

.service-list li {
    font-family: 'Noto Serif JP', serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 2em;
    letter-spacing: 0.05em;
    color: #0D0D0D;
    padding: 8px 0 8px 24px;
    position: relative;
}

.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20px;
    width: 6px;
    height: 6px;
    border: 2px solid #E70012;
    border-radius: 50%;
    background: #FFFFFF;
}

/* 5つのお約束セクション */
.promises-section {
    padding: 80px 180px 100px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.promises-header {
    text-align: center;
    margin-bottom: 60px;
}

.promises-header .section-title {
    margin-bottom: 20px;
}

.promises-subtitle {
    font-family: 'Noto Serif JP', serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.8em;
    letter-spacing: 0.02em;
    color: #333;
    max-width: 800px;
    margin: 0 auto;
}

.promises-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.promise-item {
    background: #ffffff;
    border-radius: 8px;
    padding: 35px 30px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(231, 0, 18, 0.1);
    position: relative;
    transition: all 0.3s ease;
}

.promise-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(231, 0, 18, 0.12);
    border-color: rgba(231, 0, 18, 0.2);
}

.promise-number {
    position: absolute;
    top: -18px;
    left: 30px;
    background: #E70012;
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(231, 0, 18, 0.25);
}

.promise-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5em;
    letter-spacing: 0.05em;
    color: #E70012;
    margin: 25px 0 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
}

.promise-description {
    font-family: 'Noto Serif JP', serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.9em;
    letter-spacing: 0.03em;
    color: #555;
}

/* Awards Section */
.awards-section {
    background: #f8f8f8;
    padding: 80px 120px 100px;
    border-top: 1px solid #e0e0e0;
}

.awards-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.awards-section .section-title {
    font-family: 'Inter', sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.111em;
    color: #E70012;
    text-align: center;
}

.awards-section .section-title::after {
    content: '';
    display: block;
    width: 72px;
    height: 1px;
    background: #E70012;
    margin: 16px auto 0;
}

.awards-note {
    font-family: 'Noto Serif JP', serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5em;
    letter-spacing: 0.05em;
    color: #666;
    text-align: right;
    margin-bottom: 16px;
}

.awards-table-wrapper {
    overflow-x: auto;
    background: #FFFFFF;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.awards-table {
    width: 100%;
    min-width: 1091.09px;
    border-collapse: collapse;
}

.awards-table thead th {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5em;
    letter-spacing: 0.05em;
    color: #E70012;
    text-align: center;
    padding: 20px 24px;
    border-bottom: 2px solid #E70012;
    background: #f8f8f8;
}

.awards-table tbody td {
    font-family: 'Noto Serif JP', serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.8em;
    letter-spacing: 0.05em;
    color: #0D0D0D;
    padding: 20px 24px;
    border-bottom: 1px solid #e0e0e0;
}

.awards-table tbody tr:hover {
    background: #fafafa;
}

/* Footer Styles */
.footer {
    background: #4A0008;
}

.footer-content {
    display: flex;
    min-height: 500px;
}

.footer-left {
    flex: 1;
    background: #4A0008;
    color: #fff;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.footer-logo {
    width: 160px;
    margin: 0 auto 25px;
}

.footer-logo img {
    width: 100%;
    filter: brightness(0) invert(1);
}

.footer-address {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.footer-contact {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.1em;
    color: #FF5252;
    margin-bottom: 25px;
}

.footer-area {
    margin-top: 30px;
}

.footer-area-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5em;
    letter-spacing: 0.1em;
    color: #fff;
    margin-bottom: 15px;
}

.footer-area-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-area-text {
    font-size: 13px;
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.85);
}

.footer-right {
    flex: 1;
}

.footer-map {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.footer-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsive Design */
@media (max-width: 1200px) {
    
    .about-section {
        padding: 60px 60px;
    }
    
    .services-section .section-header,
    .services-intro {
        padding-left: 60px;
        padding-right: 60px;
    }
    
    .service-item {
        padding: 0 40px;
    }
    
    .service-item:not(:first-child) {
        margin-top: 100px;
    }
    
    .promises-section {
        padding: 60px 60px 80px;
    }
    
    .footer-left {
        padding: 60px 40px;
    }
}

@media (max-width: 768px) {
    
    .about-label {
        font-size: 10px;
        margin-bottom: 12px;
    }
    
    .about-section {
        padding: 120px 20px 80px;
    }
    
    .about-section .section-title {
        font-size: 28px;
    }
    
    .about-text-box {
        padding: 24px;
    }
    
    .about-text {
        font-size: 14px;
        line-height: 1.9em;
    }
    
    .services-section {
        padding: 80px 0 100px;
    }
    
    .services-section .section-header,
    .services-intro {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .services-section .section-title {
        font-size: 28px;
    }
    
    .services-intro {
        max-width: 100%;
        margin-bottom: 40px;
    }
    
    .services-intro-text {
        font-size: 14px;
    }
    
    .service-item {
        flex-direction: column !important;
        padding: 0 20px;
        margin-bottom: 80px;
        gap: 24px;
    }
    
    .service-item:not(:first-child) {
        margin-top: 80px;
    }
    
    .service-image {
        flex: none;
        max-width: 100%;
    }
    
    .service-content {
        gap: 16px;
    }
    
    .service-title {
        font-size: 20px;
    }
    
    .service-subtitle {
        font-size: 16px;
    }
    
    .promises-section {
        padding: 60px 20px 80px;
    }
    
    .promises-header {
        margin-bottom: 40px;
    }
    
    .promises-header .section-title {
        font-size: 24px;
    }
    
    .promises-subtitle {
        font-size: 14px;
    }
    
    .promises-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .promise-item {
        padding: 30px 24px;
    }
    
    .promise-number {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .promise-title {
        font-size: 16px;
        margin: 20px 0 12px;
    }
    
    .promise-description {
        font-size: 13px;
    }
    
    .service-description {
        font-size: 14px;
        line-height: 1.8em;
    }
    
    .service-list-box {
        padding: 20px;
    }
    
    .service-list li {
        font-size: 13px;
        line-height: 1.8em;
        padding-left: 20px;
    }
    
    .service-list li::before {
        top: 16px;
    }
    
    .awards-section {
        padding: 60px 20px 80px;
    }
    
    .awards-section .section-title {
        font-size: 28px;
    }
    
    .awards-note {
        font-size: 11px;
    }
    
    .awards-table thead th {
        font-size: 13px;
        padding: 16px 12px;
    }
    
    .awards-table tbody td {
        font-size: 12px;
        padding: 16px 12px;
    }
    
    .footer-content {
        flex-direction: column-reverse;
        min-height: auto;
    }
    
    .footer-left {
        padding: 40px 20px;
    }
    
    .footer-map {
        height: 400px;
    }
}

/* Floating CTA Buttons */
.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    transform: translateX(120px);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.floating-cta.visible {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
}

.cta-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 24px;
    border-radius: 50px;
    font-family: 'Noto Serif JP', serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transition: left 0.5s ease;
    z-index: 1;
}

.cta-btn:hover::before {
    left: 100%;
}

.cta-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.cta-contact {
    background: linear-gradient(135deg, #E70012 0%, #B30010 100%);
    color: #ffffff;
    border: 2px solid transparent;
}

.cta-contact:hover {
    box-shadow: 0 8px 30px rgba(231, 0, 18, 0.4);
}

.cta-recruit {
    background: #ffffff;
    color: #333;
    border: 2px solid #E70012;
}

.cta-recruit:hover {
    background: #E70012;
    color: #ffffff;
    border-color: #E70012;
}

.cta-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.cta-btn:hover .cta-icon {
    transform: scale(1.1) rotate(-5deg);
}

.cta-text {
    white-space: nowrap;
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .floating-cta {
        bottom: 20px;
        right: 20px;
        left: 20px;
        flex-direction: row;
        justify-content: center;
        gap: 10px;
    }
    
    .cta-btn {
        flex: 1;
        justify-content: center;
        padding: 14px 16px;
        font-size: 13px;
        gap: 8px;
    }
    
    .cta-icon {
        width: 18px;
        height: 18px;
    }
    
    .cta-text {
        font-size: 13px;
    }
}

/* ========================================
   Reform Details Section
   ======================================== */
.reform-details-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.reform-details-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 50px;
}

.reform-intro {
    font-family: 'Noto Serif JP', serif;
    font-size: 18px;
    font-weight: 600;
    color: #E70012;
    text-align: center;
    margin: 0 0 30px 0;
    padding: 20px;
    background: rgba(231, 0, 18, 0.05);
    border-radius: 8px;
}

/* Tabs styles */
.tabs-container {
    max-width: 1000px;
    margin: 0 auto;
}

.tabs-nav {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    border-bottom: 2px solid #f0f0f0;
}

.tab-btn {
    background: none;
    border: none;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    font-family: 'Noto Serif JP', serif;
    border-bottom: 3px solid transparent;
}

.tab-btn:hover {
    color: #E70012;
}

.tab-btn.active {
    color: #E70012;
    border-bottom-color: #E70012;
}

.tabs-content {
    position: relative;
}

.tab-content {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tab-content.active {
    display: block;
    opacity: 1;
}

.tab-content-inner {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    padding: 40px 0;
}

.tab-image {
    flex: 0 0 400px;
}

.tab-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.tab-text {
    flex: 1;
}

.tab-title {
    font-size: 24px;
    font-weight: 700;
    color: #1C1C1C;
    margin-bottom: 20px;
    font-family: 'Noto Serif JP', serif;
    line-height: 1.4;
}

.tab-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
}

.tab-text p:last-child {
    margin-bottom: 0;
}

/* Tabs Responsive */
@media (max-width: 1024px) {
    .tabs-nav {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .tab-btn {
        padding: 12px 24px;
        font-size: 15px;
    }
    
    .tab-content-inner {
        gap: 40px;
        padding: 30px 0;
    }
    
    .tab-image {
        flex: 0 0 350px;
    }
}

@media (max-width: 768px) {
    .tabs-nav {
        flex-direction: column;
        gap: 0;
        border-bottom: none;
    }
    
    .tab-btn {
        padding: 16px 20px;
        font-size: 15px;
        border-bottom: 1px solid #e0e0e0;
        border-radius: 0;
        width: 100%;
        text-align: left;
    }
    
    .tab-btn.active {
        border-bottom-color: #E70012;
        background: rgba(231, 0, 18, 0.05);
    }
    
    .tab-content-inner {
        flex-direction: column;
        gap: 30px;
        padding: 30px 0;
        text-align: center;
    }
    
    .tab-image {
        flex: none;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .tab-title {
        font-size: 20px;
    }
    
    .tab-text p {
        font-size: 15px;
    }
    
    .reform-details-container {
        padding: 0 20px;
    }
    
    .reform-details-section {
        padding: 60px 0;
    }
}
