/* =============================================
   Reset & Base Styles
   ============================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.8;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

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

/* =============================================
   Container & Layout
   ============================================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

/* =============================================
   Header & Navigation
   ============================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.nav {
    padding: 15px 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #1a1a1a;
    margin-bottom: 2px;
}

.logo-subtitle {
    font-size: 0.7rem;
    color: #666;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    font-weight: 500;
    color: #333;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
}

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: #333;
    transition: all 0.3s ease;
}

/* =============================================
   Hero Section
   ============================================= */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: #fff;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 30px;
    line-height: 1.3;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.1rem;
    font-weight: 300;
    margin-bottom: 40px;
    line-height: 2;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
}

/* Animations */
.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease-out 0.3s both;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1s ease-out 0.6s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Button */
.btn {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: #fff;
    color: #667eea;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 10;
}

.scroll-indicator span {
    width: 2px;
    height: 15px;
    background: rgba(255, 255, 255, 0.8);
    animation: scrollDown 1.5s ease-in-out infinite;
}

.scroll-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.scroll-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes scrollDown {
    0%, 100% {
        opacity: 0;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateY(10px);
    }
}

/* =============================================
   Section Headers
   ============================================= */
.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    margin: 0 auto 15px;
    border-radius: 2px;
}

.section-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 3px;
    color: #999;
    text-transform: uppercase;
}

/* =============================================
   Mission Section
   ============================================= */
.mission-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.mission-statement {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
}

.mission-text-container {
    background: linear-gradient(135deg, #0f2540 0%, #1a3a5c 100%);
    padding: 60px 80px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(15, 37, 64, 0.3);
    position: relative;
    overflow: hidden;
}

.mission-text-container::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: shimmer 8s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(-30px, -30px) rotate(180deg);
    }
}

.mission-text-line {
    font-size: 1.4rem;
    font-weight: 500;
    color: #fff;
    line-height: 2.2;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.mission-text-line:last-child {
    margin-bottom: 0;
}

/* Mission Diagram */
.mission-diagram {
    max-width: 1000px;
    margin: 0 auto;
}

/* Top Section */
.diagram-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.content-holder-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.content-holder-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
}

.content-holder-icon i {
    font-size: 2rem;
    color: #fff;
}

.content-holder-label {
    text-align: center;
}

.content-holder-text {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
}

.mission-box {
    background: #0f2540;
    color: #fff;
    padding: 20px 60px;
    border-radius: 8px;
    text-align: center;
    position: relative;
    box-shadow: 0 5px 20px rgba(15, 37, 64, 0.3);
}

.mission-box-label {
    font-size: 0.75rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.mission-box-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.mission-box-subtitle {
    font-size: 0.9rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
}

/* Arrow Designs */
.arrow-down {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 25px 0;
}

.arrow-line {
    display: none;
}

.arrow-triangle {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-top: 40px solid #b8bec4;
    filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.15));
    position: relative;
}

.mission-arrow {
    margin-top: 25px;
    margin-bottom: 15px;
}

.mission-arrow .arrow-triangle {
    border-top-color: #b8bec4;
}

.core-arrow {
    margin-top: 15px;
    margin-bottom: 25px;
}

.core-arrow .arrow-triangle {
    border-left: 70px solid transparent;
    border-right: 70px solid transparent;
    border-top: 45px solid #667eea;
}

/* Platform Frame */
.platform-frame {
    position: relative;
    border: 3px dashed #999;
    border-radius: 20px;
    padding: 80px 40px 50px;
    margin-bottom: 30px;
    background: #fff;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.platform-label {
    position: absolute;
    top: 15px;
    left: 30px;
    background: #0f2540;
    color: #fff;
    padding: 8px 25px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Main Diagram Content */
.diagram-main {
    display: grid;
    grid-template-columns: minmax(200px, 280px) minmax(240px, 280px) minmax(200px, 280px);
    gap: 40px;
    align-items: center;
    justify-content: center;
    position: relative;
    max-width: 100%;
}

/* Bubble Cards */
.bubble-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #fff;
    border: 2px solid #0f2540;
    border-radius: 15px;
    padding: 15px 20px;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 2px 10px rgba(15, 37, 64, 0.1);
    margin-bottom: 20px;
    min-width: 0;
}

.bubble-card::after {
    content: '';
    position: absolute;
    height: 2px;
    background: #0f2540;
}

/* Left side cards */
.diagram-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.diagram-left .bubble-card::after {
    right: -40px;
    top: 50%;
    width: 40px;
    transform: translateY(-50%);
}

/* Right side cards */
.diagram-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.diagram-right .bubble-card::after {
    left: -40px;
    top: 50%;
    width: 40px;
    transform: translateY(-50%);
}

.bubble-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(15, 37, 64, 0.25);
}

.bubble-card i {
    font-size: 1.5rem;
    color: #0f2540;
    min-width: 35px;
    flex-shrink: 0;
}

.card-title-jp {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 3px;
    line-height: 1.4;
    white-space: nowrap;
}

.card-title-en {
    font-size: 0.75rem;
    color: #666;
    font-weight: 400;
}

/* Left Side */
.diagram-left {
    display: flex;
    flex-direction: column;
}

/* Right Side */
.diagram-right {
    display: flex;
    flex-direction: column;
}

/* Center Circle */
.diagram-center {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.center-circle {
    width: 100%;
    max-width: 280px;
    aspect-ratio: 1;
    border: 3px solid #0f2540;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fff;
    padding: 25px;
    text-align: center;
    position: relative;
    box-shadow: 0 5px 20px rgba(15, 37, 64, 0.15);
}

/* Remove old connection lines from circle */
.center-circle::before,
.center-circle::after {
    display: none;
}

.center-people {
    margin-bottom: 20px;
}

.center-people i {
    font-size: 3rem;
    color: #0f2540;
}

.logo-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-bottom: 8px;
}

.center-logo .logo-p {
    font-size: 2rem;
    font-weight: 900;
    color: #0f2540;
    letter-spacing: 0;
    margin: 0;
}

.center-logo .logo-text-en {
    font-size: 0.75rem;
    font-weight: 700;
    color: #0f2540;
    letter-spacing: 1px;
    margin: 0;
}

.center-logo .logo-text-jp {
    font-size: 0.65rem;
    color: #333;
    line-height: 1.4;
    font-weight: 400;
    margin: 0;
}

/* Core Message Box */
.core-message-box {
    background: #b8bec4;
    color: #333;
    padding: 12px 40px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    margin: 0 auto;
    width: fit-content;
}

/* Bottom Section */
.diagram-bottom {
    display: flex;
    justify-content: center;
}

.impact-box {
    background: #0f2540;
    color: #fff;
    padding: 15px 60px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
}

/* =============================================
   CEO Section
   ============================================= */
.ceo-section {
    background: #fff;
}

.ceo-content {
    display: flex;
    flex-direction: column;
    gap: 50px;
    align-items: stretch;
}

.ceo-info {
    display: flex;
    align-items: center;
    gap: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.3);
}

.ceo-photo-wrapper {
    flex-shrink: 0;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.ceo-photo {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.ceo-name-card {
    flex: 1;
    background: transparent;
    padding: 0;
    border-radius: 0;
    text-align: left;
    color: #fff;
    box-shadow: none;
}

.ceo-name-jp {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 10px;
    letter-spacing: 4px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.ceo-name-en {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 3px;
    margin-bottom: 25px;
    opacity: 0.95;
    text-transform: uppercase;
}

.ceo-title {
    font-size: 1rem;
    line-height: 1.8;
    font-weight: 400;
    opacity: 0.95;
    padding-top: 15px;
    border-top: 2px solid rgba(255, 255, 255, 0.3);
}

.ceo-message {
    width: 100%;
}

.message-card {
    background: #f9f9f9;
    padding: 50px 40px;
    border-radius: 15px;
    border-left: 5px solid #667eea;
}

.message-card p {
    margin-bottom: 25px;
    font-size: 1.05rem;
    line-height: 2;
    color: #555;
}

.message-card p:last-child {
    margin-bottom: 0;
}

/* Achievements Section */
.achievements-section {
    margin-top: 40px;
    padding-top: 35px;
    border-top: 2px solid #e0e0e0;
}

.achievements-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 25px;
    text-align: center;
    letter-spacing: 1px;
}

.achievements-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.achievements-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.9;
    color: #555;
}

.achievements-list li:last-child {
    margin-bottom: 0;
}

.achievements-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #667eea;
    font-weight: 900;
    font-size: 1.3rem;
}

/* =============================================
   Company Section
   ============================================= */
.company-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.company-content {
    display: grid;
    gap: 50px;
}

.company-info-card {
    background: #fff;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.company-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

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

.company-table tr:last-child {
    border-bottom: none;
}

.company-table th {
    text-align: left;
    padding: 20px;
    font-weight: 700;
    color: #667eea;
    width: 180px;
    vertical-align: top;
}

.company-table th i {
    margin-right: 10px;
}

.company-table td {
    padding: 20px;
    color: #555;
}

.company-table td a {
    color: #667eea;
    font-weight: 500;
}

.company-table td a:hover {
    text-decoration: underline;
}

/* Business Content */
.business-content {
    background: #fff;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.business-title {
    font-size: 1.8rem;
    font-weight: 900;
    color: #1a1a1a;
    margin-bottom: 30px;
    text-align: center;
}

.business-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.business-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.business-item:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    transform: translateX(10px);
}

.business-item i {
    font-size: 1.5rem;
    color: #667eea;
    min-width: 30px;
}

.business-item:hover i {
    color: #fff;
}

.business-item p {
    margin: 0;
    font-weight: 500;
}

/* =============================================
   Legal Pages (Privacy, Tokusho)
   ============================================= */
.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: #fff;
}

.legal-table th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 20px;
    text-align: left;
    font-weight: 600;
    font-size: 0.95rem;
    width: 200px;
    vertical-align: top;
    border-bottom: 3px solid #f5f5f5;
}

.legal-table th i {
    margin-right: 8px;
    opacity: 0.9;
}

.legal-table td {
    padding: 20px 25px;
    border-bottom: 1px solid #e0e0e0;
    line-height: 1.9;
    color: #555;
}

.legal-table tr:last-child td,
.legal-table tr:last-child th {
    border-bottom: none;
}

.legal-table td a {
    color: #667eea;
    font-weight: 600;
    text-decoration: none;
}

.legal-table td a:hover {
    text-decoration: underline;
}

.service-list,
.payment-list {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}

.service-list li,
.payment-list li {
    padding: 8px 0 8px 25px;
    position: relative;
}

.service-list li:before,
.payment-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
    font-size: 1.1rem;
}

.payment-note,
.delivery-note {
    margin-top: 15px;
    padding: 12px 20px;
    background: #f9f9f9;
    border-left: 3px solid #667eea;
    font-size: 0.9rem;
    color: #666;
}

.refund-policy h4 {
    color: #333;
    font-size: 1rem;
    font-weight: 700;
    margin: 20px 0 10px;
    padding-top: 15px;
    border-top: 1px dashed #ddd;
}

.refund-policy h4:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.refund-policy p {
    margin: 8px 0;
    line-height: 1.9;
}

.cancel-policy-list {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.cancel-policy-list li {
    padding: 10px 15px;
    margin: 8px 0;
    background: #f9f9f9;
    border-left: 4px solid #667eea;
    border-radius: 5px;
    line-height: 1.8;
}

.cancel-policy-list li strong {
    color: #667eea;
    display: inline-block;
    min-width: 200px;
}

/* Service Details Section */
.service-details-section {
    margin: 60px 0 40px;
}

.service-details-section > h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 30px;
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 3px solid #667eea;
}

.service-details-section > h3 i {
    color: #667eea;
    margin-right: 12px;
}

.service-detail-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid #e8ecf1;
    transition: all 0.3s ease;
}

.service-detail-card:hover {
    border-color: #667eea;
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.15);
}

.service-detail-card h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e8ecf1;
}

.service-detail-card h4 i {
    margin-right: 10px;
}

.detail-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

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

.detail-table tr:last-child {
    border-bottom: none;
}

.detail-table th {
    background: #f9f9f9;
    color: #333;
    padding: 15px 20px;
    text-align: left;
    font-weight: 700;
    font-size: 0.95rem;
    width: 180px;
    vertical-align: top;
}

.detail-table td {
    padding: 15px 20px;
    line-height: 1.8;
    color: #555;
    font-size: 0.95rem;
}

/* Mobile Responsive for Legal Tables */
@media (max-width: 768px) {
    .legal-table {
        display: block;
    }
    
    .legal-table thead {
        display: none;
    }
    
    .legal-table tr {
        display: block;
        margin-bottom: 30px;
        border: 1px solid #e0e0e0;
        border-radius: 10px;
        overflow: hidden;
    }
    
    .legal-table th,
    .legal-table td {
        display: block;
        width: 100%;
        padding: 15px;
        text-align: left;
    }
    
    .legal-table th {
        border-bottom: 2px solid #fff;
        font-size: 0.9rem;
    }
    
    .legal-table td {
        border-bottom: none;
        font-size: 0.95rem;
    }
    
    .service-details-section > h3 {
        font-size: 1.4rem;
    }
    
    .service-detail-card {
        padding: 20px 15px;
    }
    
    .service-detail-card h4 {
        font-size: 1.2rem;
    }
    
    .detail-table {
        display: block;
    }
    
    .detail-table tr {
        display: block;
        margin-bottom: 20px;
        padding-bottom: 20px;
        border-bottom: 1px solid #e8ecf1;
    }
    
    .detail-table tr:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }
    
    .detail-table th,
    .detail-table td {
        display: block;
        width: 100%;
        padding: 10px 0;
    }
    
    .detail-table th {
        background: transparent;
        font-size: 0.9rem;
        padding-bottom: 5px;
        color: #667eea;
    }
    
    .detail-table td {
        padding-top: 5px;
        font-size: 0.9rem;
    }
}

/* =============================================
   Contact Page
   ============================================= */
.contact-page .contact-intro {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
    padding: 30px 40px;
    border-radius: 15px;
    margin-bottom: 50px;
    text-align: center;
    border-left: 5px solid #667eea;
}

.contact-page .contact-intro p {
    font-size: 1.05rem;
    line-height: 2;
    color: #555;
    margin: 10px 0;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin: 50px 0;
}

.contact-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(102, 126, 234, 0.2);
    border-color: #667eea;
}

.contact-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.contact-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.contact-description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 25px;
}

.contact-detail {
    background: #f9f9f9;
    padding: 25px 20px;
    border-radius: 12px;
    margin: 25px 0;
}

.email-address,
.phone-number {
    font-size: 1.3rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.email-note,
.holiday-note {
    font-size: 0.85rem;
    color: #999;
    margin: 5px 0;
}

.spam-note {
    font-size: 0.85rem;
    color: #e74c3c;
    font-weight: 600;
    margin-top: 10px;
}

.business-hours {
    font-size: 1rem;
    color: #555;
    margin: 10px 0;
}

.business-hours i {
    color: #667eea;
    margin-right: 8px;
}

.btn-contact {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
    margin-top: 10px;
}

.btn-contact:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-contact i {
    margin-right: 8px;
}

.btn-phone {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.3);
}

.btn-phone:hover {
    box-shadow: 0 8px 25px rgba(46, 204, 113, 0.4);
}

.contact-info-section {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    margin: 50px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.contact-info-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #667eea;
}

.contact-info-section h3 i {
    color: #667eea;
    margin-right: 10px;
}

.address-card {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
    padding: 30px;
    border-radius: 12px;
    border-left: 5px solid #667eea;
}

.postal-code {
    font-size: 1.1rem;
    font-weight: 600;
    color: #667eea;
    margin-bottom: 10px;
}

.address {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.8;
}

.inquiry-types {
    margin: 50px 0;
}

.inquiry-types h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 30px;
    text-align: center;
}

.inquiry-types h3 i {
    color: #667eea;
    margin-right: 10px;
}

.inquiry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.inquiry-item {
    background: #fff;
    padding: 25px 20px;
    border-radius: 12px;
    text-align: center;
    border: 2px solid #e8ecf1;
    transition: all 0.3s ease;
}

.inquiry-item:hover {
    border-color: #667eea;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.15);
}

.inquiry-item i {
    font-size: 2rem;
    color: #667eea;
    margin-bottom: 15px;
}

.inquiry-item p {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.contact-notes {
    background: #fff7e6;
    padding: 30px 40px;
    border-radius: 15px;
    margin: 50px 0;
    border-left: 5px solid #f39c12;
}

.contact-notes h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.contact-notes h3 i {
    color: #f39c12;
    margin-right: 10px;
}

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

.notes-list li {
    padding: 12px 0 12px 30px;
    position: relative;
    font-size: 0.95rem;
    line-height: 1.8;
    color: #555;
}

.notes-list li:before {
    content: "•";
    position: absolute;
    left: 10px;
    color: #f39c12;
    font-size: 1.5rem;
    line-height: 1.2;
}

.notes-list li a {
    color: #667eea;
    font-weight: 600;
    text-decoration: underline;
}

.privacy-notice {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    padding: 20px 30px;
    border-radius: 12px;
    text-align: center;
    margin: 40px 0;
    border: 2px solid #4caf50;
}

.privacy-notice p {
    font-size: 0.95rem;
    color: #2e7d32;
    margin: 0;
    line-height: 1.8;
}

.privacy-notice i {
    color: #4caf50;
    margin-right: 8px;
}

.privacy-notice a {
    color: #1b5e20;
    font-weight: 700;
    text-decoration: underline;
}

/* Mobile Responsive for Contact Page */
@media (max-width: 768px) {
    .contact-methods {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .inquiry-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-card {
        padding: 30px 20px;
    }
    
    .contact-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .email-address,
    .phone-number {
        font-size: 1.1rem;
    }
    
    .contact-info-section {
        padding: 25px 20px;
    }
}

/* =============================================
   Footer
   ============================================= */
.footer {
    background: #1a1a1a;
    color: #fff;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.footer-logo p {
    font-size: 0.9rem;
    color: #999;
}

.footer-info p {
    margin-bottom: 10px;
    color: #ccc;
}

.footer-info i {
    margin-right: 10px;
    color: #667eea;
}

.footer-links {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    margin-bottom: 20px;
}

.footer-links a {
    color: #ccc;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #667eea;
}

.footer-links .separator {
    margin: 0 15px;
    color: #666;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
}

.footer-bottom p {
    color: #999;
    font-size: 0.9rem;
}

/* =============================================
   Legal Pages (Privacy Policy, Terms)
   ============================================= */
.legal-section {
    padding: 120px 0 80px;
    background: #f9f9f9;
    min-height: 100vh;
}

.legal-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 60px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    color: #fff;
}

.legal-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.legal-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0.9;
}

.legal-content {
    background: #fff;
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    margin: 0 auto 40px;
}

.legal-intro {
    margin-bottom: 50px;
    padding: 30px;
    background: #f5f7fa;
    border-left: 5px solid #667eea;
    border-radius: 10px;
}

.legal-intro p {
    font-size: 1.05rem;
    line-height: 2;
    color: #555;
}

.legal-article {
    margin-bottom: 50px;
    padding-bottom: 50px;
    border-bottom: 2px solid #e0e0e0;
}

.legal-article:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.article-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #667eea;
}

.article-content p {
    font-size: 1rem;
    line-height: 2;
    color: #555;
    margin-bottom: 20px;
}

.legal-list {
    padding-left: 25px;
    margin: 20px 0;
}

.legal-list li {
    font-size: 1rem;
    line-height: 2;
    color: #555;
    margin-bottom: 15px;
}

.sub-list {
    padding-left: 25px;
    margin: 15px 0;
    list-style-type: lower-alpha;
}

.sub-list li {
    margin-bottom: 10px;
}

.contact-info {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    margin-top: 20px;
}

.contact-info p {
    margin-bottom: 15px;
    font-size: 1rem;
    line-height: 1.8;
}

.contact-info strong {
    color: #667eea;
    font-weight: 700;
}

.contact-info a {
    color: #667eea;
    font-weight: 500;
}

.contact-info a:hover {
    text-decoration: underline;
}

.legal-footer {
    text-align: right;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #e0e0e0;
}

.updated-date {
    font-size: 0.95rem;
    color: #999;
    font-weight: 500;
}

.back-to-home {
    text-align: center;
    margin: 40px 0;
}

.back-to-home .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.back-to-home .btn i {
    font-size: 1.1rem;
}

.logo a {
    color: inherit;
    text-decoration: none;
}

@media (max-width: 1200px) {
    .diagram-main {
        grid-template-columns: minmax(180px, 240px) minmax(220px, 260px) minmax(180px, 240px);
        gap: 30px;
    }

    .platform-frame {
        padding: 60px 30px 40px;
    }

    .center-circle {
        padding: 20px;
    }

    .center-logo .logo-p {
        font-size: 1.8rem;
    }

    .center-logo .logo-text-en {
        font-size: 0.7rem;
    }

    .center-logo .logo-text-jp {
        font-size: 0.6rem;
    }

    .card-title-jp {
        font-size: 0.9rem;
    }

    .card-title-en {
        font-size: 0.7rem;
    }

    .bubble-card {
        padding: 12px 15px;
    }

    .bubble-card i {
        font-size: 1.3rem;
        min-width: 30px;
    }
}

/* =============================================
   Responsive Design
   ============================================= */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        width: 100%;
        padding: 30px;
        gap: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .platform-frame {
        padding: 40px 20px 20px;
    }

    .diagram-main {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .bubble-card {
        margin-bottom: 15px;
    }

    .bubble-card::after {
        display: none;
    }

    .diagram-left,
    .diagram-right {
        width: 100%;
    }

    .center-circle {
        width: 240px;
        height: 240px;
        padding: 20px;
        position: static;
    }

    .center-people i {
        font-size: 2.5rem;
    }

    .center-logo .logo-p {
        font-size: 1.8rem;
    }

    .center-logo .logo-text-en {
        font-size: 0.65rem;
    }

    .center-logo .logo-text-jp {
        font-size: 0.6rem;
    }

    .bubble-card {
        padding: 12px 20px;
    }

    .card-title-jp {
        white-space: normal;
    }

    .mission-arrow .arrow-triangle,
    .core-arrow .arrow-triangle {
        border-left: 50px solid transparent;
        border-right: 50px solid transparent;
        border-top: 35px solid #b8bec4;
    }

    .core-arrow .arrow-triangle {
        border-top-color: #667eea;
    }

    .platform-frame {
        padding: 40px 20px 20px;
    }

    .mission-text-line {
        font-size: 1rem;
    }

    .mission-text-container {
        padding: 40px 30px;
    }

    .ceo-content {
        gap: 30px;
    }

    .ceo-info {
        flex-direction: column;
        text-align: center;
        padding: 40px 30px;
        gap: 30px;
    }

    .ceo-photo-wrapper {
        width: 180px;
        height: 180px;
    }

    .ceo-name-card {
        text-align: center;
    }

    .ceo-name-jp {
        font-size: 2rem;
        letter-spacing: 3px;
    }

    .ceo-name-en {
        font-size: 0.9rem;
        letter-spacing: 2px;
    }

    .ceo-title {
        font-size: 0.9rem;
    }

    .message-card {
        padding: 30px 25px;
    }

    .message-card p {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .achievements-title {
        font-size: 1.1rem;
    }

    .achievements-list li {
        font-size: 1rem;
        line-height: 1.8;
        margin-bottom: 18px;
    }

    .achievements-section {
        margin-top: 30px;
        padding-top: 25px;
    }

    .company-table th {
        width: 120px;
        font-size: 0.9rem;
    }

    .company-info-card,
    .business-content {
        padding: 30px 20px;
    }

    .business-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.85rem;
    }

    .logo h1 {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .mission-text-line {
        font-size: 0.9rem;
        line-height: 1.9;
    }

    .mission-text-container {
        padding: 30px 20px;
    }

    .company-table th,
    .company-table td {
        display: block;
        width: 100%;
        padding: 10px 15px;
    }

    .company-table th {
        background: #f5f5f5;
        border-bottom: none;
        padding-bottom: 5px;
    }

    .company-table td {
        padding-top: 5px;
        padding-bottom: 20px;
    }
}
