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

:root {
    --primary-light: #FF8C42;
    --primary-dark: #FF6B35;
    --secondary-light: #FFB347;
    --secondary-dark: #FFA500;
    --accent-orange: #F4A460;
    --gray-900: #1a202c;
    --gray-800: #2d3748;
    --gray-700: #4a5568;
    --gray-600: #718096;
    --gray-400: #cbd5e0;
    --gray-200: #e2e8f0;
    --gray-100: #FFF8F0;
    --white: #ffffff;
    --warm-bg: #FFFAF5;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--gray-900);
    background: var(--warm-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

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

.section-label {
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--gray-600);
    margin-bottom: 20px;
}

.section-title {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 10px;
    color: var(--gray-900);
}

.section-subtitle {
    font-size: 20px;
    font-weight: 500;
    color: var(--primary-light);
    margin-bottom: 30px;
}

.center {
    text-align: center;
}

/* Header */
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Oswald', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-900);
    cursor: pointer;
    text-align: left;
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray-700);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-light);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-light), var(--secondary-light));
    transition: width 0.3s ease;
}

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

.cta-button {
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 140, 66, 0.4);
}

/* ハンバーガーメニューボタン */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--gray-900);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* モバイル用CTAボタン - 完全削除 */

/* Hero Section */
#hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    background: var(--white);
    margin-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 中央に小さな三角形を残すマスク */
.hero-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    clip-path: polygon(
        /* 外周 */
        0 0,
        100% 0,
        100% 100%,
        0 100%,
        0 0,
        /* 三角形の穴（反時計回り） */
        15% 15%,
        15% 65%,
        65% 15%,
        15% 15%
    );
    z-index: 2;
}

.hero-content {
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    text-align: left;
}

.hero-japanese {
    font-size: 48px;
    font-weight: 700;
    margin: 0 0 20px 0;
    color: var(--gray-900);
}

.hero-japanese .highlight {
    color: var(--primary-light);
    font-weight: 900;
}

.hero-english {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-top: 10px;
}

.dynamic-word-container {
    position: relative;
    display: inline-block;
    width: 280px;
    height: 90px;
}

.dynamic-word {
    font-family: 'Oswald', sans-serif;
    font-size: 80px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.5s ease;
}

.dynamic-word.care {
    opacity: 1;
    animation: careAnimation 8s infinite;
}

.dynamic-word.support {
    opacity: 0;
    animation: supportAnimation 8s infinite;
}

@keyframes careAnimation {
    0%, 45% { opacity: 1; }
    50%, 95% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes supportAnimation {
    0%, 45% { opacity: 0; }
    50%, 95% { opacity: 1; }
    100% { opacity: 0; }
}

.static-word {
    font-family: 'Oswald', sans-serif;
    font-size: 80px;
    font-weight: 700;
    color: var(--gray-900);
    display: inline-block;
}



@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* About Section */
#about {
    padding: 150px 0;
    background: var(--white);
    position: relative;
}

.philosophy-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.philosophy-text {
    padding-right: 50px;
}

.section-description {
    font-size: 16px;
    line-height: 2;
    color: var(--gray-700);
    margin-bottom: 40px;
}

.more-button {
    padding: 12px 40px;
    background: var(--white);
    border: 2px solid var(--gray-400);
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    color: var(--gray-700);
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.more-button:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
    border-color: transparent;
    color: var(--white);
    transform: translateY(-2px);
}

.more-button.large {
    padding: 16px 50px;
    font-size: 16px;
    margin-top: 50px;
}

.arrow {
    transition: transform 0.3s ease;
}

.more-button:hover .arrow {
    transform: translateX(5px);
}

.philosophy-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.glass-blob {
    width: 450px;
    height: 450px;
    background: linear-gradient(135deg, rgba(255, 154, 158, 0.2), rgba(250, 208, 196, 0.3));
    border-radius: 50% 40% 60% 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(20px);
    animation: blobMorph 8s ease-in-out infinite;
    position: relative;
    box-shadow: 0 20px 60px rgba(255, 154, 158, 0.2);
}

@keyframes blobMorph {
    0%, 100% { border-radius: 50% 40% 60% 50%; }
    25% { border-radius: 40% 50% 50% 60%; }
    50% { border-radius: 60% 50% 40% 50%; }
    75% { border-radius: 50% 60% 50% 40%; }
}

.blob-text {
    font-family: 'Oswald', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-light);
    letter-spacing: 4px;
    transform: rotate(-15deg);
}

/* Service Section */
#service {
    padding: 150px 0;
    background: var(--gray-100);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin: 80px 0;
}

.service-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.service-image {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.service-icon-wrapper {
    width: 160px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.body-care-icon {
    background: linear-gradient(135deg, #FF8C42, #FFB347);
}

.life-support-icon {
    background: linear-gradient(135deg, #FFA500, #FFD700);
}

.medical-icon {
    background: linear-gradient(135deg, #FF7F50, #FFA07A);
}

.phone-mockup {
    width: 180px;
    height: 360px;
    background: var(--gray-900);
    border-radius: 30px;
    padding: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    color: var(--white);
    font-size: 24px;
}

.tiget-screen {
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
}

.more-tiget-screen {
    background: linear-gradient(135deg, #4FD1C5, #667EEA);
}

.bizmee-screen {
    background: linear-gradient(135deg, #667EEA, #764BA2);
}

.service-name {
    font-family: 'Oswald', sans-serif;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--gray-900);
}

.service-desc {
    font-size: 14px;
    color: var(--gray-600);
    margin-bottom: 20px;
}

.circle-arrow {
    width: 40px;
    height: 40px;
    border: 2px solid var(--gray-400);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto 0;
    color: var(--gray-600);
    transition: all 0.3s ease;
    cursor: pointer;
}

.service-card:hover .circle-arrow {
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
    border-color: transparent;
    color: var(--white);
    transform: scale(1.1);
}

.makee-banner {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px 0;
    position: relative;
    overflow: hidden;
}

.makee-banner::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: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.makee-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    text-align: center;
}

.makee-content h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
}

.makee-content p {
    font-size: 18px;
}

/* Company Section */
#company {
    padding: 150px 0;
    background: var(--white);
}

.company-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.company-details {
    margin-top: 40px;
}

.company-details dt {
    font-weight: 700;
    color: var(--gray-900);
    margin-top: 30px;
    margin-bottom: 10px;
    font-size: 14px;
    letter-spacing: 1px;
}

.company-details dt:first-child {
    margin-top: 0;
}

.company-details dd {
    color: var(--gray-700);
    line-height: 1.8;
    padding-left: 20px;
    border-left: 3px solid var(--primary-light);
}

.company-image {
    position: sticky;
    top: 120px;
}

.google-map {
    width: 100%;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

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

/* Contact Section */
#contact {
    padding: 150px 0;
    background: var(--gray-100);
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-intro {
    text-align: center;
    font-size: 16px;
    color: var(--gray-700);
    margin: 40px 0 60px;
    line-height: 2;
}

.contact-form {
    background: var(--white);
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--gray-900);
    font-size: 14px;
}

.required {
    color: #FF6B6B;
    margin-left: 4px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    font-size: 15px;
    font-family: 'Noto Sans JP', sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-light);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-submit {
    text-align: center;
    margin-top: 40px;
}

.submit-button {
    padding: 18px 80px;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 154, 158, 0.4);
}

/* Footer */
#footer {
    background: var(--white);
}

.footer-content {
    border-top: 1px solid var(--gray-200);
    padding: 60px 0 40px;
}

.footer-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;
}

.footer-logo-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--gray-900);
}

.footer-description {
    color: var(--gray-600);
    line-height: 1.8;
    font-size: 14px;
}

.footer-nav h4,
.footer-contact h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--gray-900);
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav ul li {
    margin-bottom: 12px;
}

.footer-nav ul li a {
    color: var(--gray-600);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 14px;
}

.footer-nav ul li a:hover {
    color: var(--primary-light);
}

.footer-contact {
    font-size: 14px;
}

.footer-company {
    color: var(--gray-900);
    font-size: 16px;
    margin-bottom: 15px;
}

.footer-company strong {
    color: var(--primary-light);
}

.footer-hours {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 15px;
}

.footer-address {
    color: var(--gray-600);
    line-height: 1.8;
}

.footer-bottom {
    background: var(--gray-900);
    padding: 30px 0;
    text-align: center;
}

.footer-bottom p {
    color: var(--gray-400);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .philosophy-content,
    .company-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .service-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-content {
        right: 5%;
        left: 5%;
        text-align: center;
    }

    .hero-japanese {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .hero-english {
        justify-content: center;
    }

    .dynamic-word-container {
        width: 220px;
        height: 70px;
    }

    .dynamic-word,
    .static-word {
        font-size: 56px;
    }

    .section-container {
        padding: 0 30px;
    }

    #about,
    #service,
    #company,
    #contact {
        padding: 100px 0;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 15px 20px;
        justify-content: flex-end;
    }

    /* ロゴを表示 */
    .logo {
        display: flex;
    }

    /* ハンバーガーメニューを表示 */
    .mobile-menu-toggle {
        display: flex;
    }

    /* ナビゲーションメニュー */
    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        gap: 0;
        padding: 30px 0;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        align-items: stretch;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        padding: 20px 30px;
        border-bottom: 1px solid var(--gray-200);
        font-size: 16px;
    }

    .nav-links a::after {
        display: none;
    }

    /* モバイルCTAボタン削除 */

    .section-container {
        padding: 0 20px;
    }

    .section-title {
        font-size: 32px;
    }

    .hero-content {
        right: 5%;
        left: auto;
        text-align: right;
    }

    .hero-japanese {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .hero-english {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 5px;
        margin-top: 10px;
    }

    .dynamic-word-container {
        width: 100%;
        height: 45px;
        display: flex;
        justify-content: flex-end;
    }

    .dynamic-word,
    .static-word {
        font-size: 32px;
    }
    
    .logo {
        font-size: 16px;
    }

    .contact-form {
        padding: 40px 30px;
    }

    .career-content h3 {
        font-size: 36px;
    }

    .glass-blob {
        width: 300px;
        height: 300px;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .hero-japanese {
        font-size: 20px;
    }

    .dynamic-word-container {
        width: 120px;
        height: 45px;
    }

    .dynamic-word,
    .static-word {
        font-size: 30px;
    }

    .hero-english {
        gap: 8px;
    }

    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    .service-card {
        padding: 30px 20px;
    }

    .contact-form {
        padding: 30px 20px;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Scroll Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
