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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    background-color: #ffffff;
    color: #333333;
    line-height: 1.6;
}

/* Import serif font */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;500;600&family=Shippori+Mincho:wght@400;500;600&family=Kaisei+Tokumin:wght@400;500;700&family=Kaisei+Opti:wght@400;500;700&display=swap');

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

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 56px;
    position: relative;
}

.nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin-left: 60px;
}

.header-actions {
    margin-left: auto;
}


/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon-gradient {
    font-size: 32px;
    background: linear-gradient(135deg, #4fd1c5, #14b8ab);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-text {
    font-family: "Kaisei Opti", serif;
    font-size: 22px;
    font-weight: 500;
    color: #2c3e50;
    text-shadow: none;
    letter-spacing: 0.5px;
}

/* Navigation Styles */
.nav-list {
    display: flex;
    list-style: none;
    gap: 16px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #334155;
    font-weight: 500;
    font-size: 14px;
    padding: 8px 12px;
    transition: all 0.3s ease;
    position: relative;
    outline: none;
}

.nav-link:hover,
.nav-link.active {
    color: #1e293b;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 12px;
    right: 12px;
    height: 2px;
    background: linear-gradient(135deg, #4fd1c5, #14b8ab);
    border-radius: 1px;
}

.nav-link:focus {
    outline: none;
    box-shadow: none;
}
/* Header Actions */
.header-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.login-btn {
    background: transparent;
    border: 2px solid #66d9e8;
    color: #00AFC1;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.login-btn:hover {
    background: rgba(0, 175, 193, 0.1);
    border-color: #009BB0;
    color: #009BB0;
    transform: translateY(-2px);
}

.login-btn:focus {
    outline: none;
}

.signup-btn-header {
    background: linear-gradient(135deg, #33C4D6, #00AFC1);
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.signup-btn-header:hover {
    background: linear-gradient(135deg, #00D4E8, #00AFC1);
    transform: translateY(-2px);
}

.signup-btn-header:focus {
    outline: none;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 4px;
    padding: 8px;
    outline: none;
}

.mobile-menu-btn:focus,
.mobile-menu-btn:active {
    outline: none;
    border: none;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: #2c3e50;
    transition: all 0.3s ease;
}

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

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

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

/* Hero Section */
:root {
    --header-height: 56px;
}

.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    overflow: visible;
    padding: 0px 0 10px;
    background: linear-gradient(135deg, #00AFC1 0%, #70D3DC 50%, #00AFC1 100%);
    background: linear-gradient(135deg, #e6f7f7 0%, #ffffff 50%, #e0f5f5 100%);
    background: linear-gradient(135deg, #00AFC1 0%, #70D3DC 50%, #00AFC1 100%);
    background: linear-gradient(135deg, #00AFC1 0%, #70D3DC 50%, #00AFC1 85%, #fafeff 100%);
    background: linear-gradient(135deg, #00AFC1 0%, #70D3DC 60%,#e0f5f5 85%, #00AFC1 100%);
}

.hero::before {
    content: '';
    position: absolute;
    height: calc(100% - var(--header-height));
    right: 20px;
    width: 70%;
    height: calc(100% - 40px);
    background: url('../img/hero.jpg');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    border-radius: 52px;
    z-index: 1;
}

.hero-content-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    min-height: 600px;
}

.hero-text-box {
    background: white;
    padding: 30px 30px 36px 30px;
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    max-width: 380px;
    position: relative;
    z-index: 10;
    margin-left: -500px;
}

.hero-badge {
    font-size: 14px;
    font-weight: 600;
    color: #00AFC1;
    display: block;
    margin-bottom: 14px;
    letter-spacing: 1.5px;
    background: rgba(0, 175, 193, 0.08);
    padding: 5px 14px;
    border-radius: 12px;
    text-align: center;
}


.hero-title {
    font-size: 45px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 18px;
}

.hero-title-highlight {
    background: linear-gradient(transparent 60%, #ffffcc 60%);
    padding: 0 4px;
    display: inline-block;
    position: relative;
}

.gradient-text {
    background: linear-gradient(135deg, #ffffff, #f0f0f0, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 24px;
    font-family: 'Meiryo', 'メイリオ', sans-serif;
    color: #e0e0e0;
    margin-bottom: 36px;
    font-weight: 400;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-accent {
    font-size: 15px;
    color: #FF6B6B;
    font-weight: 600;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Noto Sans JP', sans-serif;
    border: 2px solid #FF6B6B;
    border-radius: 50px;
    padding: 10px 20px;
    display: block;
    background: rgba(255, 107, 107, 0.1);
    text-align: center;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.hero-title-main {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 16px;
    color: #4a5568;
    letter-spacing: 1px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hero-title-exclusive {
    font-size: 31px;
    font-weight: 700;
}

.hero-title-service {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.hero-title-sub {
    font-size: 22px;
    font-weight: 500;
    line-height: 1.5;
    color: #4a5568;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.hero-title-emphasis {
    font-size: 24px;
    font-weight: 700;
    color: #00AFCA;
    letter-spacing: 1px;
    margin-bottom: 24px;
    text-align: center;
}

.hero-subtitle {
    font-size: 17px;
    color: #718096;
    margin-bottom: 40px;
    font-weight: 400;
    line-height: 1.7;
}

.hero-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #2d3748;
    font-weight: 500;
    line-height: 1.6;
}

.hero-feature-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: #00AFC1;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.age-notice {
    font-size: 11px;
    color: #9ca3af;
    text-align: center;
    line-height: 1.4;
    margin-top: 4px;
}

.signup-btn {
    background: linear-gradient(135deg, #00C4D6 0%, #00AFC1 50%, #009BB0 100%);
    border: none;
    color: white;
    padding: 14px 48px;
    border-radius: 50px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: none;
    text-decoration: none;
}

.signup-btn:hover {
    transform: translateY(-3px);
    box-shadow: none;
    background: linear-gradient(135deg, #00D4E8 0%, #00C4D6 50%, #00AFC1 100%);
}

.signup-btn:focus {
    outline: none;
}

.learn-more-btn {
    background: transparent;
    border: 2px solid #cbd5e0;
    color: #4a5568;
    padding: 12px 28px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.learn-more-btn:hover {
    border-color: #4fd1c5;
    color: #14b8ab;
    transform: translateY(-2px);
}

/* Features Section */
.features {
    padding: 120px 0;
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 48px;
    margin-top: 50px;
}

.feature-card {
    background: rgba(45, 45, 45, 0.5);
    padding: 48px 32px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(117, 117, 117, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(20px);
}


.feature-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #ffffff;
}

.feature-description {
    font-size: 16px;
    color: #b0b0b0;
    line-height: 1.6;
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 56px;
    right: 0;
    width: 100%;
    height: calc(100vh - 56px);
    background: #00AFC1;
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 60px;
    transition: all 0.3s ease;
    z-index: 999;
}

.mobile-nav.active {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
    margin-bottom: 40px;
}

.mobile-nav-link {
    display: block;
    padding: 16px 40px;
    text-decoration: none;
    color: white;
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
}

.mobile-nav-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 300px;
    padding: 0 20px;
}

.mobile-login-btn {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 14px 20px;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    width: 100%;
}

.mobile-login-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.mobile-login-btn:focus {
    outline: none;
}

.mobile-signup-btn {
    background: white;
    border: none;
    color: #00AFC1;
    padding: 14px 24px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

.mobile-signup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.mobile-signup-btn:focus {
    outline: none;
}

/* Mobile menu overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 998;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .header-actions {
        display: none;
    }

    .header-content {
        justify-content: space-between;
    }

    .mobile-menu-btn {
        display: flex;
    }
    
    .hero {
        min-height: auto;
        padding: 0;
        display: block;
    }

    .hero::before {
        position: static;
        display: block;
        width: 100%;
        height: 350px;
        margin: 30px 0 0 0;
        border-radius: 0 0 40px 40px;
    }

    .hero-content-wrapper {
        flex-direction: column;
        min-height: auto;
        position: relative;
        margin-top: -56px;
        padding-bottom: 60px;
    }

    .hero-text-box {
        padding: 24px 20px;
        border-radius: 16px;
        max-width: calc(100% - 32px);
        width: calc(100% - 32px);
        margin: 0 auto;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    }

    .hero-badge {
        font-size: 11px;
        padding: 4px 12px;
        margin-bottom: 10px;
    }

    .hero-title-main {
        font-size: 20px;
    }

    .hero-title-sub {
        font-size: 16px;
    }

    .hero-title-emphasis {
        font-size: 22px;
    }

    .hero-title {
        margin-bottom: 12px;
    }

    .hero-features {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 24px;
        justify-content: space-around;
        align-items: center;
    }

    .hero-feature-item {
        flex-direction: row;
        align-items: center;
        gap: 8px;
        font-size: 16px;
        text-align: center;
        flex: 1;
    }

    .hero-feature-item span {
        line-height: 1.3;
    }

    .hero-feature-icon {
        width: 18px;
        height: 18px;
    }

    .hero-subtitle {
        font-size: 20px;
        margin-bottom: 32px;
    }

    .hero-accent {
        font-size: 11px;
        margin-bottom: 16px;
        padding: 6px 14px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        flex-direction: column;
        gap: 8px;
    }

    .age-notice {
        font-size: 10px;
    }

    .signup-btn,
    .learn-more-btn {
        width: auto;
        min-width: 200px;
        max-width: 280px;
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .feature-card {
        padding: 32px 24px;
    }
    
    .container {
        padding: 0 16px;
    }
}

@media (max-width: 480px) {
    .hero::before {
        height: 300px;
        width: 100%;
        margin: 32px 0 0 0;
        border-radius: 0 0 50px 50px;
    }

    .hero-content-wrapper {
        margin-top: -40px;
    }

    .hero-text-box {
        padding: 20px 16px;
        border-radius: 12px;
        max-width: calc(100% - 32px);
        width: calc(100% - 32px);
        margin: 0 auto;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    }

    .hero-badge {
        font-size: 10px;
        padding: 3px 10px;
        margin-bottom: 8px;
    }

    .hero-title-main {
        font-size: 18px;
    }

    .hero-title-emphasis {
        font-size: 20px;
    }

    .hero-title {
        margin-bottom: 10px;
    }

    .hero-features {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 22px;
        align-items: center;
    }

    .hero-feature-item {
        font-size: 15px;
        gap: 8px;
        flex-direction: row;
        text-align: center;
    }

    .hero-feature-icon {
        width: 16px;
        height: 16px;
    }

    .hero-actions {
        gap: 6px;
    }

    .age-notice {
        font-size: 9px;
    }

    .hero-title-sub {
        font-size: 16px;
    }

    .hero-title-emphasis {
        font-size: 22px;
    }

    .hero-subtitle {
        font-size: 19px;
    }

    .hero-accent {
        font-size: 10px;
        padding: 5px 12px;
    }

    .signup-btn {
        padding: 16px 40px;
        font-size: 16px;
        width: auto;
        min-width: 180px;
        max-width: 260px;
    }

    .learn-more-btn {
        width: auto;
        min-width: 180px;
        max-width: 260px;
    }
    
    .logo-text {
        font-size: 20px;
    }
    
    .header-content {
        height: 60px;
    }

    .mobile-nav {
        top: 60px;
        height: calc(100vh - 60px);
    }
}

/* Tablet Styles */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-accent {
        font-size: 15px;
        margin-bottom: 20px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-title-main {
        font-size: 32px;
        margin-bottom: 14px;
    }
    
    .hero-title-sub {
        font-size: 22px;
        margin-bottom: 7px;
    }
    
    .hero-title-emphasis {
        font-size: 28px;
        margin-bottom: 18px;
    }
    
    .hero-subtitle {
        font-size: 17px;
        margin-bottom: 36px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

/* Large Desktop */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-title {
        font-size: 46px;
    }
    
    .hero-subtitle {
        font-size: 22px;
    }
}

/* Accessibility and Focus States */
button:focus,
a:focus {
    outline: none;
}

/* Smooth scrolling for older browsers */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .hero-overlay {
        background: rgba(0, 0, 0, 0.9);
    }
    
    .nav-link {
        color: #ffffff;
    }
    
    .feature-description {
        color: #e0e0e0;
    }
}


/* philosophy-section */

.philosophy-section {
    padding: 40px 0 35px;
    background: #00AFC1;
    position: relative;
    border-top-left-radius: 150px;
    border-top-right-radius: 280px;
    border-bottom-right-radius: 150px;
    border-bottom-left-radius: 280px;
}

.philosophy-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 5%;
    text-align: center;
}

.philosophy-title {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.8;
    margin-bottom: 18px;
    font-family: 'Noto Sans JP', sans-serif;
}

.philosophy-description {
    font-size: 15px;
    line-height: 2;
    color: #ffffff;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.philosophy-description-highlight {
    display: block;
    font-weight: 600;
    color: #ffffff;
    margin: 24px 0 20px;
    font-size: 16px;
}

.philosophy-note {
    display: block;
    font-size: 13px;
    color: #ffffff;
    margin-top: 24px;
    font-weight: 500;
}

.philosophy-cta-button {
    display: inline-block;
    margin-top: 16px;
    padding: 16px 48px;
    background: #ff6b6b;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.philosophy-cta-button:hover {
    background: #ff5252;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .philosophy-section {
        padding: 30px 0 30px;
        border-top-left-radius: 100px;
        border-top-right-radius: 200px;
        border-bottom-right-radius: 100px;
        border-bottom-left-radius: 200px;
    }

    .philosophy-title {
        font-size: 19px;
        margin-bottom: 16px;
        line-height: 1.7;
    }

    .philosophy-description {
        font-size: 14px;
        line-height: 1.9;
    }

    .philosophy-description-highlight {
        font-size: 15px;
        margin: 20px 0 16px;
    }

    .philosophy-note {
        font-size: 12px;
        margin-top: 20px;
    }

    .philosophy-cta-button {
        margin-top: 14px;
        padding: 14px 40px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .philosophy-section {
        padding: 25px 0 25px;
        border-top-left-radius: 70px;
        border-top-right-radius: 140px;
        border-bottom-right-radius: 70px;
        border-bottom-left-radius: 140px;
    }

    .philosophy-title {
        font-size: 16px;
        margin-bottom: 14px;
    }

    .philosophy-description {
        font-size: 13px;
        line-height: 1.85;
    }

    .philosophy-description-highlight {
        font-size: 14px;
        margin: 16px 0 12px;
    }

    .philosophy-note {
        font-size: 11px;
        margin-top: 16px;
    }

    .philosophy-cta-button {
        margin-top: 12px;
        padding: 12px 32px;
        font-size: 14px;
    }
}


/* features-section */

.features-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

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

.features-main-title {
    font-size: 32px;
    font-weight: 700;
    font-family: 'Noto Sans JP', sans-serif;
    color: #33475b;
    text-align: left;
    margin-bottom: 60px;
    letter-spacing: 1px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: #f0f9fa;
    padding: 24px;
    text-align: left;
    position: relative;
    display: flex;
    flex-direction: column;
    border: 2px solid rgba(0, 175, 193, 0.4);
    border-radius: 12px;
}

.feature-image-wrapper {
    width: 100%;
    height: 180px;
    overflow: hidden;
    position: relative;
    border-radius: 12px;
}

.feature-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}

.feature-card-title {
    font-size: 18px;
    font-weight: 700;
    font-family: 'Noto Sans JP', sans-serif;
    color: #00AFC1;
    margin: 0 0 8px;
    line-height: 1.4;
}

.feature-card-subtitle {
    font-size: 15px;
    font-weight: 500;
    font-family: 'Noto Sans JP', sans-serif;
    color: #5a6c7d;
    margin: 0 0 8px;
    line-height: 1.5;
}

.feature-card-description {
    font-size: 14px;
    font-weight: 400;
    font-family: 'Noto Sans JP', sans-serif;
    color: #5a6c7d;
    line-height: 1.8;
    margin: 0 0 16px;
    padding: 0;
}

@media (max-width: 1024px) {
    .features-section {
        padding: 80px 0;
    }

    .features-container {
        padding: 0 60px;
    }

    .features-main-title {
        font-size: 28px;
        margin-bottom: 50px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }

    .feature-card {
        padding: 20px;
    }

    .feature-image-wrapper {
        height: 160px;
    }

    .feature-card-title {
        font-size: 17px;
        margin: 0 0 8px;
    }

    .feature-card-subtitle {
        font-size: 14px;
    }

    .feature-card-description {
        font-size: 13px;
        margin: 0 0 14px;
    }
}

@media (max-width: 768px) {
    .features-section {
        padding: 60px 0;
    }

    .features-container {
        padding: 0 40px;
    }

    .features-main-title {
        font-size: 24px;
        margin-bottom: 40px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .feature-card {
        padding: 16px;
    }

    .feature-image-wrapper {
        height: 140px;
    }

    .feature-card-title {
        font-size: 15px;
        margin: 0 0 6px;
    }

    .feature-card-subtitle {
        font-size: 13px;
    }

    .feature-card-description {
        font-size: 12px;
        line-height: 1.7;
        margin: 0 0 12px;
    }
}

@media (max-width: 480px) {
    .features-section {
        padding: 50px 0;
    }

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

    .features-main-title {
        font-size: 22px;
        margin-bottom: 32px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .feature-card {
        padding: 14px;
    }

    .feature-image-wrapper {
        height: 120px;
        border-radius: 10px;
    }

    .feature-image {
        border-radius: 10px;
    }

    .feature-card-title {
        font-size: 14px;
        margin: 0 0 6px;
    }

    .feature-card-subtitle {
        font-size: 12px;
    }

    .feature-card-description {
        font-size: 11px;
        margin: 0 0 10px;
    }
}

@media (min-width: 1400px) {
    .features-container {
        max-width: 1400px;
        padding: 0 100px;
    }

    .features-main-title {
        font-size: 36px;
        margin-bottom: 70px;
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }

    .feature-card {
        padding: 28px;
    }

    .feature-image-wrapper {
        height: 200px;
    }

    .feature-card-title {
        font-size: 19px;
        margin: 0 0 10px;
    }

    .feature-card-subtitle {
        font-size: 16px;
    }

    .feature-card-description {
        font-size: 15px;
        margin: 0 0 18px;
    }
}


/* sefty-section */

.safety-section {
    padding: 50px 0 100px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

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

.safety-main-title {
    font-size: 32px;
    font-weight: 700;
    font-family: 'Noto Sans JP', sans-serif;
    color: #33475b;
    text-align: left;
    margin-bottom: 60px;
    letter-spacing: 1px;
}

.safety-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.safety-card {
    background: transparent;
    padding: 0;
    text-align: left;
    position: relative;
    display: flex;
    flex-direction: column;
}

.safety-image-wrapper {
    width: 100%;
    height: 180px;
    overflow: hidden;
    position: relative;
    border-radius: 12px;
}

.safety-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}

.safety-card-title {
    font-size: 18px;
    font-weight: 700;
    font-family: 'Noto Sans JP', sans-serif;
    color: #00AFC1;
    margin: 20px 0 12px;
    line-height: 1.4;
}

.safety-card-description {
    font-size: 14px;
    font-weight: 400;
    font-family: 'Noto Sans JP', sans-serif;
    color: #5a6c7d;
    line-height: 1.8;
    margin: 0;
    padding: 0;
}

@media (max-width: 1024px) {
    .safety-section {
        padding: 50px 0 80px 0;
    }

    .safety-container {
        padding: 0 60px;
    }

    .safety-main-title {
        font-size: 28px;
        margin-bottom: 50px;
    }

    .safety-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }

    .safety-image-wrapper {
        height: 160px;
    }

    .safety-card-title {
        font-size: 17px;
        margin: 18px 0 10px;
    }

    .safety-card-description {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .safety-section {
        padding: 50px 0 60px 0;
    }

    .safety-container {
        padding: 0 40px;
    }

    .safety-main-title {
        font-size: 24px;
        margin-bottom: 40px;
    }

    .safety-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .safety-image-wrapper {
        height: 160px;
    }

    .safety-card-title {
        font-size: 16px;
        margin: 16px 0 10px;
    }

    .safety-card-description {
        font-size: 13px;
        line-height: 1.7;
    }
}

@media (max-width: 480px) {
    .safety-section {
        padding: 50px 0 50px 0;
    }

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

    .safety-main-title {
        font-size: 22px;
        margin-bottom: 32px;
    }

    .safety-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .safety-image-wrapper {
        height: 140px;
        border-radius: 10px;
    }

    .safety-image {
        border-radius: 10px;
    }

    .safety-card-title {
        font-size: 15px;
        margin: 14px 0 8px;
    }

    .safety-card-description {
        font-size: 12px;
    }
}

@media (min-width: 1400px) {
    .safety-container {
        max-width: 1400px;
        padding: 0 100px;
    }

    .safety-main-title {
        font-size: 36px;
        margin-bottom: 70px;
    }

    .safety-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 40px;
    }

    .safety-image-wrapper {
        height: 200px;
    }

    .safety-card-title {
        font-size: 19px;
        margin: 22px 0 14px;
    }

    .safety-card-description {
        font-size: 15px;
    }
}

/* feature hilightsection */

.features-highlight-section {
    padding: 80px 0;
    background: #FAFEFF;
    position: relative;
    overflow: hidden;
}

.features-highlight-section::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 2px solid rgba(0, 175, 193, 0.08);
    top: -100px;
    right: 10%;
    z-index: 0;
}

.features-highlight-section::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 2px solid rgba(0, 175, 193, 0.1);
    bottom: 50px;
    left: 5%;
    z-index: 0;
    background: radial-gradient(circle at center, rgba(0, 175, 193, 0.03) 0%, transparent 70%);
}

.features-highlight-section .circle-decoration-1 {
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 2px solid rgba(0, 175, 193, 0.12);
    top: 40%;
    right: 5%;
    z-index: 0;
    background: radial-gradient(circle at center, rgba(0, 175, 193, 0.04) 0%, transparent 70%);
}

.features-highlight-section .circle-decoration-2 {
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 2px solid rgba(0, 175, 193, 0.09);
    top: 20%;
    left: 8%;
    z-index: 0;
}

.features-highlight-section .circle-decoration-3 {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 2px solid rgba(0, 175, 193, 0.11);
    bottom: 15%;
    right: 15%;
    z-index: 0;
    background: radial-gradient(circle at center, rgba(0, 175, 193, 0.05) 0%, transparent 70%);
}

.features-highlight-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 80px;
    position: relative;
    z-index: 1;
}

.features-highlight-container::after {
    content: '';
    position: absolute;
    right: 80px;
    top: 0;
    bottom: 0;
    width: 80px;
    background: linear-gradient(to left, rgba(255, 255, 255, 0.9), transparent);
    pointer-events: none;
    z-index: 2;
    display: none;
}

.features-highlight-label {
    font-size: 18px;
    color: #00AFC1;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: 2px;
    display: inline-block;
}

.features-highlight-content {
    margin-bottom: 60px;
    text-align: center;
}

.features-highlight-title {
    font-size: 32px;
    font-weight: 700;
    color: #33475b;
    line-height: 1.5;
    margin-bottom: 24px;
    font-family: 'Noto Sans JP', sans-serif;
}

.features-highlight-description {
    font-size: 18px;
    color: #4a4a4a;
    line-height: 1.8;
    margin-bottom: 24px;
}

.features-highlight-note {
    font-size: 16px;
    color: #666;
    font-weight: 400;
    margin-top: 16px;
    font-style: italic;
}

.features-highlight-steps {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    scroll-padding-left: 0;
}

.features-highlight-step {
    flex: 1;
    min-width: 280px;
    max-width: 320px;
    background: linear-gradient(135deg, #f0fcfd 0%, #e8f9fb 100%);
    border-radius: 16px;
    padding: 32px 24px 20px 24px;
    border: 2px solid #00AFC1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.features-highlight-step-number {
    display: inline-block;
    padding: 8px 18px;
    background: #00AFC1;
    color: #fff;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.features-highlight-step-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    align-items: center;
    width: 100%;
}

.features-highlight-step-title {
    font-size: 17px;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.6;
    margin-bottom: 16px;
}

.features-highlight-step-image {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 16px;
}

.features-highlight-step-image-placeholder {
    width: 100%;
    height: 180px;
    background: #f5f5f5;
    border-radius: 12px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #cccccc;
}

.features-highlight-step-description {
    font-size: 15px;
    color: #4a4a4a;
    line-height: 1.7;
    margin: 0 0 4px 0;
    text-align: left;
}

.features-highlight-arrow {
    display: none;
}

.features-highlight-indicators {
    display: none;
}

/* Philosophy Section */
.features-highlight-philosophy {
    margin-top: 60px;
    padding: 60px 20px;
    background: linear-gradient(135deg, #e8f8fa 0%, #d4f1f4 100%);
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    width: 100vw;
    border-radius: 80px 80px 80px 80px;
    box-shadow: 0 4px 20px rgba(0, 175, 193, 0.1);
}

.features-highlight-philosophy-text {
    font-size: 17px;
    line-height: 2;
    color: #2c3e50;
    text-align: center;
    margin: 0 auto;
    max-width: 900px;
    padding: 0 40px;
}

.features-highlight-philosophy-text strong {
    color: #00AFC1;
    font-weight: 700;
    font-style: italic;
}

/* Comparison Table */
.features-highlight-comparison {
    margin-top: 60px;
    padding-top: 60px;
    border-top: 2px solid #e0e0e0;
}

.features-highlight-comparison-title {
    font-size: 24px;
    font-weight: 700;
    color: #33475b;
    text-align: center;
    margin-bottom: 32px;
    font-family: 'Noto Sans JP', sans-serif;
}

.features-highlight-comparison-table-wrapper {
    overflow-x: auto;
    border-radius: 12px;
}

.features-highlight-comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
}

.features-highlight-comparison-table thead tr {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.features-highlight-comparison-table th {
    padding: 16px 14px;
    text-align: center;
    font-weight: 600;
    font-size: 15px;
    border-bottom: 2px solid #e9ecef;
    white-space: nowrap;
}

.comparison-header-item {
    color: #495057;
    background: #f8f9fa;
    width: 25%;
}

.comparison-header-traditional {
    color: #495057;
    background: #f8f9fa;
    width: 37.5%;
}

.comparison-header-ours {
    color: #ffffff;
    background: linear-gradient(135deg, #33c4d6 0%, #2aafbf 100%);
    font-weight: 700;
    font-size: 16px;
    position: relative;
    width: 37.5%;
}

.comparison-header-ours::after {
    content: '✓';
    margin-left: 8px;
    font-size: 18px;
}

.features-highlight-comparison-table tbody tr:nth-child(even) {
    background-color: #fafbfc;
}

.features-highlight-comparison-table td {
    padding: 14px 12px;
    text-align: center;
    font-size: 14px;
    border-bottom: 1px solid #e9ecef;
}

.features-highlight-comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.comparison-item-label {
    font-weight: 600;
    color: #495057;
    background: #f8f9fa;
    text-align: left;
    padding-left: 16px;
}

.comparison-cell-traditional {
    color: #495057;
    background: #ffffff;
    font-weight: 400;
}

.features-highlight-comparison-table tbody tr:nth-child(even) .comparison-cell-traditional {
    background: #f8f9fa;
}

.comparison-cell-ours {
    color: #33c4d6;
    font-weight: 700;
    font-size: 15px;
    background: linear-gradient(135deg, rgba(51, 196, 214, 0.12) 0%, rgba(42, 175, 191, 0.12) 100%);
    position: relative;
}

.comparison-cell-ours::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #33c4d6 0%, #2aafbf 100%);
}

@media (max-width: 768px) {
    .features-highlight-section {
        padding: 60px 0;
    }

    .features-highlight-section::before {
        width: 180px;
        height: 180px;
        top: -60px;
        right: 5%;
    }

    .features-highlight-section::after {
        width: 120px;
        height: 120px;
        bottom: 30px;
        left: 3%;
    }

    .features-highlight-section .circle-decoration-1 {
        width: 100px;
        height: 100px;
        top: 35%;
        right: 3%;
    }

    .features-highlight-section .circle-decoration-2 {
        width: 130px;
        height: 130px;
        top: 15%;
        left: 5%;
    }

    .features-highlight-section .circle-decoration-3 {
        width: 80px;
        height: 80px;
        bottom: 10%;
        right: 10%;
    }

    .features-highlight-container {
        padding: 0 40px;
    }

    .features-highlight-container::after {
        display: none;
    }

    .features-highlight-label {
        font-size: 16px;
        margin-bottom: 16px;
    }

    .features-highlight-title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .features-highlight-description {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .features-highlight-note {
        font-size: 12px;
    }

    .features-highlight-steps {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 16px;
        overflow-x: scroll;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: #00AFC1 #f0f0f0;
        padding: 0 0 16px 0;
        scroll-behavior: smooth;
        scroll-padding-left: 0;
        scroll-padding-right: 40px;
    }

    .features-highlight-steps::-webkit-scrollbar {
        height: 8px;
    }

    .features-highlight-steps::-webkit-scrollbar-track {
        background: #f0f0f0;
        border-radius: 4px;
    }

    .features-highlight-steps::-webkit-scrollbar-thumb {
        background: #00AFC1;
        border-radius: 4px;
    }

    .features-highlight-steps::-webkit-scrollbar-thumb:hover {
        background: #008fa3;
    }

    .features-highlight-step {
        flex: 0 0 75%;
        min-width: 75%;
        max-width: 75%;
        scroll-snap-align: center;
        scroll-snap-stop: always;
    }

    .features-highlight-step:first-child {
        margin-left: 0;
    }

    .features-highlight-step:last-child {
        margin-right: 40px;
    }


    .features-highlight-step-title {
        font-size: 16px;
    }

    .features-highlight-step-description {
        font-size: 14px;
    }

    .features-highlight-comparison {
        margin-top: 40px;
        padding-top: 40px;
    }

    .features-highlight-comparison-title {
        font-size: 18px;
        margin-bottom: 24px;
    }

    .features-highlight-philosophy {
        margin-top: 40px;
        padding: 40px 16px;
        border-radius: 40px 40px 40px 40px;
    }

    .features-highlight-philosophy-text {
        font-size: 14px;
        line-height: 1.9;
        padding: 0 20px;
    }

    .features-highlight-comparison-table th {
        padding: 14px 10px;
        font-size: 12px;
    }

    .features-highlight-comparison-table td {
        padding: 12px 10px;
        font-size: 12px;
    }

    .comparison-header-ours {
        font-size: 12px;
    }

    .comparison-cell-ours {
        font-size: 12px;
    }

    .comparison-item-label {
        padding-left: 12px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .features-highlight-container {
        padding: 0 60px;
    }

    .features-highlight-title {
        font-size: 28px;
    }

    .features-highlight-description {
        font-size: 17px;
    }

    .features-highlight-steps {
        gap: 20px;
    }

    .features-highlight-step {
        min-width: 220px;
    }

    .features-highlight-step-title {
        font-size: 16px;
    }

    .features-highlight-philosophy {
        padding: 50px 20px;
        border-radius: 60px 60px 60px 60px;
    }

    .features-highlight-philosophy-text {
        font-size: 16px;
        padding: 0 30px;
    }
}

@media (max-width: 480px) {
    .features-highlight-container {
        padding: 0 20px;
    }

    .features-highlight-section::before {
        width: 140px;
        height: 140px;
        top: -50px;
    }

    .features-highlight-section::after {
        width: 90px;
        height: 90px;
        bottom: 20px;
    }

    .features-highlight-section .circle-decoration-1 {
        width: 70px;
        height: 70px;
    }

    .features-highlight-section .circle-decoration-2 {
        width: 100px;
        height: 100px;
    }

    .features-highlight-section .circle-decoration-3 {
        width: 60px;
        height: 60px;
    }

    .features-highlight-philosophy {
        margin-top: 32px;
        padding: 32px 12px;
        border-radius: 32px 32px 32px 32px;
    }

    .features-highlight-philosophy-text {
        font-size: 13px;
        line-height: 1.8;
        padding: 0 16px;
    }

    .features-highlight-comparison-table th {
        padding: 10px 6px;
        font-size: 12px;
    }

    .features-highlight-comparison-table td {
        padding: 10px 6px;
        font-size: 12px;
    }

    .comparison-header-ours {
        font-size: 12px;
    }

    .comparison-header-ours::after {
        font-size: 13px;
    }

    .comparison-cell-ours {
        font-size: 12px;
    }

    .comparison-item-label {
        padding-left: 8px;
        font-size: 12px;
    }

    .comparison-cell-ours::before {
        width: 3px;
    }
}

@media (min-width: 1400px) {
    .features-highlight-container {
        padding: 0 100px;
    }

    .features-highlight-philosophy {
        padding: 70px 20px;
        border-radius: 100px 100px 100px 100px;
    }

    .features-highlight-philosophy-text {
        font-size: 18px;
        line-height: 2.1;
        max-width: 1100px;
    }
}


/* Pricing Plans Section Styles - 独立したスタイルシート */
.pricing-plans-section {
    padding: 50px 0 100px 0;
    background: #e6f7f7;
    position: relative;
}

.pricing-plans-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 80px;
}

.pricing-plans-title {
    font-size: 32px;
    font-weight: 700;
    font-family: 'Noto Sans JP', sans-serif;
    color: #33475b;
    text-align: left;
    margin-bottom: 60px;
    letter-spacing: 1px;
}

.pricing-plans-subtitle {
    font-size: 18px;
    color: #5a6c7d;
    text-align: center;
    margin-bottom: 40px;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
}

.pricing-highlight {
    background: linear-gradient(135deg, #10b981, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    font-size: 20px;
}

.pricing-plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 50px;
}

.pricing-plan-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    padding: 24px 20px;
    text-align: center;
    border: none;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.premium-plan {
    background: rgba(255, 255, 255, 0.95);
    transform: scale(1.05);
}

.pricing-plan-badge {
    font-size: 12px;
    color: #34d399;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.9;
}

.basic-plan .pricing-plan-badge {
    color: #6b7280;
}

.special-plan .pricing-plan-badge {
    color: #10b981;
}

.pricing-plan-title {
    font-size: 18px;
    font-weight: 600;
    font-family: 'Noto Sans JP', sans-serif;
    color: #2c3e50;
    margin-bottom: 16px;
    line-height: 1.4;
}

.pricing-plan-price {
    margin-bottom: 24px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.price-amount {
    font-size: 24px;
    font-weight: 700;
    color: #00AFC1;
    font-family: 'Noto Sans JP', sans-serif;
}

.price-unit {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
}

.pricing-plan-features {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.pricing-plan-features li {
    font-size: 14px;
    color: #5a6c7d;
    margin-bottom: 8px;
    padding-left: 28px;
    position: relative;
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.5;
}

.pricing-plan-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 2px;
    color: #ffffff;
    background-color: #00AFC1;
    font-weight: 600;
    font-size: 12px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.pricing-plan-features li:last-child {
    margin-bottom: 0;
}

.pricing-plans-footer {
    font-size: 16px;
    color: #5a6c7d;
    text-align: center;
    line-height: 1.6;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
}

/* レスポンシブデザイン */
@media (max-width: 1024px) {
    .pricing-plans-section {
        padding: 50px 0 80px 0;
    }

    .pricing-plans-container {
        padding: 0 60px;
    }

    .pricing-plans-title {
        font-size: 28px;
        margin-bottom: 50px;
    }

    .pricing-plans-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: 500px;
        margin: 0 auto 50px auto;
    }

    .premium-plan {
        transform: none;
    }
}

@media (max-width: 768px) {
    .pricing-plans-section {
        padding: 50px 0 60px 0;
    }

    .pricing-plans-container {
        padding: 0 40px;
    }

    .pricing-plans-title {
        font-size: 24px;
        margin-bottom: 40px;
    }
    
    .pricing-plans-subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .pricing-highlight {
        font-size: 18px;
    }
    
    .pricing-plan-card {
        padding: 24px 20px;
    }
    
    .price-amount {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .pricing-plans-section {
        padding: 50px 0 50px 0;
    }

    .pricing-plans-container {
        padding: 0 20px;
    }

    .pricing-plans-title {
        font-size: 22px;
        margin-bottom: 32px;
    }
    
    .pricing-plans-subtitle {
        font-size: 15px;
    }
    
    .pricing-highlight {
        font-size: 17px;
    }
    
    .pricing-plan-card {
        padding: 20px 16px;
    }
    
    .pricing-plan-title {
        font-size: 18px;
    }

    .price-amount {
        font-size: 22px;
    }
}

/* タブレット横向き */
@media (min-width: 769px) and (max-width: 1024px) {
    .pricing-plans-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 800px;
    }
    
    .special-plan {
        grid-column: 1 / -1;
        max-width: 380px;
        margin: 0 auto;
    }
}

/* 大画面 */
@media (min-width: 1400px) {
    .pricing-plans-container {
        max-width: 1400px;
        padding: 0 100px;
    }

    .pricing-plans-title {
        font-size: 36px;
        margin-bottom: 70px;
    }
    
    .pricing-plans-subtitle {
        font-size: 20px;
    }
    
    .pricing-highlight {
        font-size: 22px;
    }
    
    .pricing-plans-grid {
        gap: 40px;
    }
    
    .pricing-plan-card {
        padding: 48px 40px;
    }
    
    .pricing-plan-title {
        font-size: 22px;
    }
    
    .price-amount {
        font-size: 28px;
    }

    .pricing-plan-features li {
        font-size: 15px;
    }
    
    .pricing-plans-footer {
        font-size: 18px;
    }
}


/* FAQ Section Styles - 独立したスタイルシート */
.faq-section {
    padding: 50px 0 100px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

.faq-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 80px;
    position: relative;
}

.faq-title {
    font-size: 32px;
    font-weight: 700;
    font-family: 'Noto Sans JP', sans-serif;
    color: #33475b;
    text-align: left;
    margin-bottom: 60px;
    letter-spacing: 1px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    border: 1px solid #00AFC1;
    overflow: hidden;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.95);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: #2c3e50;
    font-size: 18px;
    font-weight: 500;
    font-family: 'Noto Sans JP', sans-serif;
    text-align: left;
    padding: 20px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: #00AFC1;
}

.faq-question-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.faq-question-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #00AFC1;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    border-radius: 50%;
    flex-shrink: 0;
}

.faq-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
    color: #00AFC1;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    background: rgba(248, 249, 250, 0.9);
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer-content {
    padding: 20px 24px;
    color: #4a5568;
    font-size: 16px;
    line-height: 1.7;
    font-family: 'Noto Sans JP', sans-serif;
}

/* レスポンシブデザイン */
@media (max-width: 1024px) {
    .faq-section {
        padding: 50px 0 80px 0;
    }

    .faq-container {
        padding: 0 60px;
    }

    .faq-title {
        font-size: 28px;
        margin-bottom: 50px;
    }
}

@media (max-width: 768px) {
    .faq-section {
        padding: 50px 0 60px 0;
    }

    .faq-container {
        padding: 0 40px;
    }

    .faq-title {
        font-size: 24px;
        margin-bottom: 40px;
    }
    
    .faq-list {
        gap: 12px;
    }
    
    .faq-question {
        font-size: 16px;
        padding: 16px 20px;
    }

    .faq-question-icon {
        width: 28px;
        height: 28px;
        font-size: 16px;
    }
    
    .faq-answer-content {
        padding: 16px 20px;
        font-size: 15px;
    }
    
    .faq-icon {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .faq-section {
        padding: 50px 0 50px 0;
    }

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

    .faq-title {
        font-size: 22px;
        margin-bottom: 32px;
    }
    
    .faq-question {
        font-size: 15px;
        padding: 14px 16px;
    }

    .faq-question-icon {
        width: 26px;
        height: 26px;
        font-size: 15px;
    }

    .faq-answer-content {
        padding: 14px 16px;
        font-size: 14px;
    }
}

/* 大画面 */
@media (min-width: 1400px) {
    .faq-container {
        max-width: 1400px;
        padding: 0 100px;
    }

    .faq-title {
        font-size: 36px;
        margin-bottom: 70px;
    }

    .faq-question {
        font-size: 19px;
        padding: 22px 28px;
    }

    .faq-question-icon {
        width: 36px;
        height: 36px;
        font-size: 20px;
    }

    .faq-answer-content {
        padding: 22px 28px;
        font-size: 17px;
    }
}

/* CTA Second Section Styles - 明るいテーマカラーCTAセクション */
.cta-second-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgb(0, 175, 193) 0%, rgb(0, 150, 180) 50%, rgb(0, 175, 193) 100%);
    background-size: cover;
    background-position: center;
}

.cta-second-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    pointer-events: none;
    z-index: 1;
}

.cta-second-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

.cta-second-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}

.cta-second-image-container {
    position: relative;
    flex-shrink: 0;
    display: flex;
    justify-content: flex-end;
    width: 50%;
}

.cta-second-image {
    width: 100%;
    height: 220px;
    max-width: 400px;
    object-fit: cover;
    border-radius: 20px 64px 20px 64px;
    background: transparent;
}

.cta-second-text-container {
    padding: 20px 0;
    flex: 1;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cta-second-description {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.6;
    font-family: 'Noto Sans JP', sans-serif;
    margin-bottom: 16px;
    text-align: left;
}

.cta-second-title-font {
    font-family: "Kaisei Opti", serif;
    font-weight: 500;
}

.cta-second-hashtags {
    font-size: 18px;
    color: #ffffff;
    font-family: 'Noto Sans JP', sans-serif;
    margin-bottom: 28px;
    text-align: left;
    opacity: 0.9;
    letter-spacing: 0.5px;
    font-style: italic;
}

.cta-second-highlight {
    color: #ffffff;
    font-weight: 600;
}

.cta-second-actions {
    display: block;
}

.cta-second-signup-btn {
    background: rgb(255, 107, 107);
    border: none;
    color: white;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Noto Sans JP', sans-serif;
}

.cta-second-signup-btn:hover {
    transform: translateY(-2px);
    background: rgb(255, 85, 85);
}

/* レスポンシブデザイン */
@media (max-width: 1024px) {
    .cta-second-image {
        height: 200px;
        max-width: 350px;
        border-radius: 18px 56px 18px 56px;
    }
}

@media (max-width: 768px) {
    .cta-second-section {
        padding: 60px 0;
    }
    
    .cta-second-container {
        padding: 0 20px;
    }
    
    .cta-second-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .cta-second-image-container {
        margin-left: 0;
        order: 1;
        width: 100%;
        justify-content: center;
    }
    
    .cta-second-text-container {
        order: 2;
        max-width: none;
    }
    
    .cta-second-image {
        height: 140px;
        max-width: 280px;
        width: 100%;
        border-radius: 16px 48px 16px 48px;
    }
    
    .cta-second-description {
        font-size: 24px;
        font-weight: 700;
        margin-bottom: 12px;
        text-align: center;
    }

    .cta-second-hashtags {
        font-size: 16px;
        margin-bottom: 24px;
        text-align: center;
    }

    .cta-second-signup-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .cta-second-container {
        padding: 0 16px;
    }
    
    .cta-second-content {
        gap: 25px;
    }
    
    .cta-second-image {
        height: 120px;
        max-width: 260px;
        border-radius: 14px 44px 14px 44px;
    }
    
    .cta-second-description {
        font-size: 20px;
        font-weight: 700;
        margin-bottom: 10px;
    }

    .cta-second-hashtags {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .cta-second-signup-btn {
        font-size: 15px;
        padding: 12px 24px;
    }
}

/* タブレット */
@media (min-width: 769px) and (max-width: 1024px) {
    .cta-second-image {
        height: 230px;
        max-width: 420px;
        border-radius: 20px 60px 20px 60px;
    }
}

/* 大画面 */
@media (min-width: 1400px) {
    .cta-second-section {
        padding: 100px 0;
    }

    .cta-second-container {
        max-width: 1400px;
    }

    .cta-second-content {
        gap: 80px;
    }

    .cta-second-image {
        height: 260px;
        max-width: 450px;
        border-radius: 24px 72px 24px 72px;
    }

    .cta-second-description {
        font-size: 32px;
        font-weight: 700;
        margin-bottom: 16px;
    }

    .cta-second-hashtags {
        font-size: 20px;
        margin-bottom: 32px;
    }

    .cta-second-signup-btn {
        padding: 16px 32px;
        font-size: 17px;
    }
}


/* Footer Section Styles */
.footer-section {
    background: linear-gradient(180deg, rgb(240, 250, 252), rgb(230, 245, 250));
    padding: 40px 0 20px;
    position: relative;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
}

/* Footer Top Section */
.footer-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
}

/* Footer Logo */
.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.footer-logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo-text {
    font-family: "Kaisei Opti", serif;
    font-size: 22px;
    font-weight: 500;
    color: #2c3e50;
    letter-spacing: 0.5px;
}

/* Footer Top Links Container */
.footer-top-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    width: 100%;
}

/* Footer Navigation - Primary (larger) */
.footer-nav-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.footer-nav-link-primary {
    color: rgba(44, 62, 80, 0.85);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
    font-family: 'Noto Sans JP', sans-serif;
    white-space: nowrap;
}

.footer-nav-link-primary:hover {
    color: rgb(0, 175, 193);
}

/* Footer Navigation - Secondary (smaller) */
.footer-nav-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 20px;
    margin-bottom: 20px;
}

.footer-nav-link-secondary {
    color: rgba(44, 62, 80, 0.65);
    text-decoration: none;
    font-size: 12px;
    font-weight: 400;
    transition: color 0.3s ease;
    font-family: 'Noto Sans JP', sans-serif;
    white-space: nowrap;
}

.footer-nav-link-secondary:hover {
    color: rgb(0, 175, 193);
}

/* Footer Contact Link */
.footer-contact-link {
    display: flex;
    text-decoration: none;
}

/* Footer Contact Button */
.footer-contact-btn {
    background: transparent;
    color: rgba(44, 62, 80, 0.85);
    border: none;
    padding: 10px 24px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Noto Sans JP', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-contact-btn:hover {
    background: transparent;
    color: rgb(0, 175, 193);
}

/* Footer Divider */
.footer-divider {
    height: 1px;
    background: rgba(0, 175, 193, 0.2);
    margin: 24px 0 20px;
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
}

.footer-copyright {
    color: rgba(44, 62, 80, 0.6);
    font-size: 13px;
    font-weight: 400;
    margin: 0;
    font-family: 'Noto Sans JP', sans-serif;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-container {
        padding: 0 20px;
    }

    .footer-top {
        gap: 20px;
        margin-bottom: 20px;
    }

    .footer-logo {
        margin-bottom: 0;
    }

    .footer-logo-text {
        font-size: 20px;
    }

    .footer-top-links {
        flex-direction: column;
        gap: 16px;
    }

    .footer-nav-primary {
        gap: 20px;
    }

    .footer-nav-link-primary {
        font-size: 14px;
    }

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

    .footer-contact-link {
        margin-left: 0;
    }

    .footer-nav-secondary {
        gap: 16px;
        margin-top: 16px;
        margin-bottom: 16px;
    }

    .footer-nav-link-secondary {
        font-size: 11px;
    }

    .footer-copyright {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .footer-section {
        padding: 30px 0 16px;
    }

    .footer-container {
        padding: 0 16px;
    }

    .footer-top {
        gap: 16px;
        margin-bottom: 18px;
    }

    .footer-logo {
        margin-bottom: 0;
    }

    .footer-logo-text {
        font-size: 19px;
    }

    .footer-top-links {
        flex-direction: column;
        gap: 14px;
    }

    .footer-nav-primary {
        gap: 16px;
    }

    .footer-nav-link-primary {
        font-size: 13px;
    }

    .footer-contact-btn {
        font-size: 13px;
    }

    .footer-contact-link {
        margin-left: 0;
    }

    .footer-nav-secondary {
        gap: 12px;
        margin-top: 14px;
        margin-bottom: 14px;
    }

    .footer-nav-link-secondary {
        font-size: 10px;
    }

    .footer-divider {
        margin: 0;
    }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
    .footer-top {
        gap: 20px;
    }

    .footer-top-links {
        gap: 32px;
    }

    .footer-nav-primary {
        gap: 28px;
    }

    .footer-nav-link-primary {
        font-size: 15px;
    }

    .footer-contact-btn {
        font-size: 15px;
    }

    .footer-nav-secondary {
        gap: 20px;
    }

    .footer-nav-link-secondary {
        font-size: 12px;
    }
}

/* Large Screen */
@media (min-width: 1400px) {
    .footer-container {
        max-width: 1400px;
    }

    .footer-top {
        gap: 28px;
    }

    .footer-top-links {
        gap: 56px;
    }

    .footer-nav-primary {
        gap: 40px;
    }

    .footer-nav-link-primary {
        font-size: 18px;
    }

    .footer-contact-btn {
        font-size: 18px;
    }

    .footer-nav-secondary {
        gap: 32px;
    }

    .footer-nav-link-secondary {
        font-size: 13px;
    }
}


/* About Us Page Styles */

/* Main Container */
.about-us-main {
    background: #fafbfc;
}

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

.about-us-mobile-break {
    display: none;
}

/* Introduction Section */
.about-us-intro-section {
    padding: 140px 0 100px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f5f6f7 100%);
    position: relative;
    overflow: hidden;
}

.about-us-intro-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 15% 15%, rgba(0, 175, 193, 0.1) 0%, transparent 40%),
                radial-gradient(circle at 85% 85%, rgba(0, 201, 217, 0.08) 0%, transparent 40%),
                radial-gradient(circle at 10% 90%, rgba(102, 224, 236, 0.06) 0%, transparent 30%),
                radial-gradient(circle at 90% 10%, rgba(102, 224, 236, 0.05) 0%, transparent 35%);
    pointer-events: none;
}

.about-us-intro-container::before {
    content: '';
    position: absolute;
    top: -40px;
    left: -40px;
    width: 80px;
    height: 80px;
    border: 2px solid rgba(0, 175, 193, 0.2);
    border-radius: 50%;
    pointer-events: none;
}

.about-us-intro-container::after {
    content: '';
    position: absolute;
    top: -35px;
    right: -35px;
    width: 70px;
    height: 70px;
    border: 2px solid rgba(0, 201, 217, 0.18);
    border-radius: 50%;
    pointer-events: none;
}

.about-us-intro-section::after {
    content: '';
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 90px;
    height: 90px;
    border: 2px solid rgba(0, 175, 193, 0.15);
    border-radius: 50%;
    pointer-events: none;
}

.about-us-intro-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

.about-us-intro-title {
    font-size: 24px;
    font-weight: 600;
    font-family: 'Noto Sans JP', sans-serif;
    color: #33475b;
    text-align: center;
    margin-bottom: 32px;
    line-height: 1.6;
    letter-spacing: 0.5px;
}

.about-us-intro-content {
    color: #34495e;
    font-size: 15px;
    line-height: 1.8;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
}

.about-us-intro-paragraph {
    margin-bottom: 16px;
    text-align: left;
    max-width: 100%;
}

.about-us-intro-paragraph:last-child {
    margin-bottom: 0;
}

.about-us-intro-quote {
    color: #00AFC1;
    margin: 16px 0;
    font-size: 15px;
    line-height: 1.7;
    font-weight: 500;
}

.about-us-intro-highlight {
    background: linear-gradient(135deg, #00AFC1, #00C9D9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.about-us-intro-final {
    margin-top: 24px;
    font-size: 16px;
}

/* Comparison Table Section */
.about-us-comparison-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid rgba(0, 175, 193, 0.15);
}

.about-us-comparison-title {
    font-size: 22px;
    font-weight: 600;
    font-family: 'Noto Sans JP', sans-serif;
    color: #33475b;
    text-align: center;
    margin-bottom: 32px;
    letter-spacing: 0.5px;
}

.about-us-comparison-table-wrapper {
    overflow-x: auto;
    border-radius: 12px;
}

.about-us-comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
}

.about-us-comparison-table thead tr {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.about-us-comparison-table th {
    padding: 20px 16px;
    text-align: center;
    font-weight: 600;
    font-size: 15px;
    border-bottom: 2px solid #e9ecef;
    white-space: nowrap;
}

.about-us-comparison-header-item {
    color: #495057;
    background: #f8f9fa;
    width: 25%;
}

.about-us-comparison-header-traditional {
    color: #6c757d;
    background: #f8f9fa;
    width: 37.5%;
}

.about-us-comparison-header-ours {
    color: #ffffff;
    background: linear-gradient(135deg, #00AFC1 0%, #00C9D9 100%);
    font-weight: 700;
    font-size: 16px;
    position: relative;
    width: 37.5%;
}

.about-us-comparison-header-ours::after {
    content: '✓';
    margin-left: 8px;
    font-size: 18px;
}

.about-us-comparison-table tbody tr {
    transition: background-color 0.2s ease;
}

.about-us-comparison-table tbody tr:hover {
    background-color: rgba(0, 175, 193, 0.03);
}

.about-us-comparison-table tbody tr:nth-child(even) {
    background-color: #fafbfc;
}

.about-us-comparison-table tbody tr:nth-child(even):hover {
    background-color: rgba(0, 175, 193, 0.05);
}

.about-us-comparison-table td {
    padding: 18px 16px;
    text-align: center;
    font-size: 14px;
    border-bottom: 1px solid #e9ecef;
}

.about-us-comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.about-us-comparison-item-label {
    font-weight: 600;
    color: #495057;
    background: #f8f9fa;
    text-align: left;
    padding-left: 20px;
}

.about-us-comparison-cell-traditional {
    color: #6c757d;
    font-weight: 400;
}

.about-us-comparison-cell-ours {
    color: #00AFC1;
    font-weight: 600;
    background: linear-gradient(135deg, rgba(0, 175, 193, 0.08) 0%, rgba(0, 201, 217, 0.08) 100%);
    position: relative;
}

.about-us-comparison-cell-ours::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #00AFC1 0%, #00C9D9 100%);
}

/* Services Section */
.about-us-services-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f5f6f7 100%);
    position: relative;
    overflow: hidden;
}

.about-us-services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 20%, rgba(0, 175, 193, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(0, 201, 217, 0.04) 0%, transparent 50%),
                radial-gradient(circle at 15% 85%, rgba(102, 224, 236, 0.03) 0%, transparent 40%);
    pointer-events: none;
}

.about-us-services-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

.about-us-services-title {
    font-size: 28px;
    font-weight: 700;
    font-family: 'Noto Sans JP', sans-serif;
    color: #00AFC1;
    text-align: center;
    margin-bottom: 50px;
    line-height: 1.3;
    letter-spacing: 1.5px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    padding: 20px 0;
}

.about-us-services-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #00AFC1, transparent);
    border-radius: 2px;
}

.about-us-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    align-items: start;
}

.about-us-service-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    border: 2px solid rgba(0, 175, 193, 0.2);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.about-us-service-point {
    font-size: 11px;
    color: #00C9D9;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.9;
    background: linear-gradient(135deg, #00AFC1, #00C9D9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-us-service-card-title {
    font-size: 20px;
    font-weight: 600;
    font-family: 'Noto Sans JP', sans-serif;
    color: #33475b;
    margin-bottom: 16px;
    line-height: 1.4;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-us-service-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 20px;
    order: 2;
}

.about-us-service-description {
    font-size: 14px;
    color: #5a6c7d;
    line-height: 1.6;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    text-align: left;
    flex-grow: 1;
    order: 3;
}

.about-us-service-highlight {
    background: linear-gradient(135deg, #00AFC1, #00C9D9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

/* Steps Section */
.about-us-steps-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f5f6f7 100%);
    position: relative;
    overflow: hidden;
}

.about-us-steps-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 25% 25%, rgba(0, 175, 193, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 75% 75%, rgba(0, 201, 217, 0.12) 0%, transparent 50%),
                radial-gradient(circle at 10% 90%, rgba(102, 224, 236, 0.10) 0%, transparent 40%);
    pointer-events: none;
}

.about-us-steps-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

.about-us-steps-title {
    font-size: 28px;
    font-weight: 700;
    font-family: 'Noto Sans JP', sans-serif;
    color: #00AFC1;
    text-align: center;
    margin-bottom: 50px;
    line-height: 1.5;
    letter-spacing: 1.5px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    padding: 20px 0;
}

.about-us-steps-subtitle {
    display: block;
    font-size: 15px;
    font-weight: 400;
    color: #5a6c7d;
    margin-top: 12px;
    letter-spacing: 0.5px;
    background: none;
    -webkit-text-fill-color: #5a6c7d;
}

.about-us-steps-title::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #00AFC1, transparent);
    border-radius: 2px;
}

.about-us-steps-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-us-steps-image-container {
    position: relative;
}

.about-us-steps-image {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 16px 48px 16px 48px;
}

.about-us-steps-list-container {
    padding: 10px 0;
}

.about-us-steps-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-us-step-item {
    margin-bottom: 36px;
    position: relative;
    padding-left: 70px;
}

.about-us-step-item:last-child {
    margin-bottom: 0;
}

.about-us-step-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 52px;
    height: 52px;
    background: rgba(0, 175, 193, 0.15);
    color: #00AFC1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
}

.about-us-step-content {
    flex: 1;
}

.about-us-step-title {
    font-size: 19px;
    font-weight: 600;
    color: #33475b;
    margin-bottom: 10px;
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.5;
}

.about-us-step-description {
    font-size: 14px;
    color: #5a6c7d;
    line-height: 1.7;
    font-family: 'Noto Sans JP', sans-serif;
}

.about-us-step-highlight {
    background: linear-gradient(transparent 60%, rgba(0, 175, 193, 0.2) 60%);
    font-weight: 600;
    color: #1f2937;
}

.about-us-step-badge {
    display: inline-block;
    padding: 4px 12px;
    background: linear-gradient(135deg, #FFB347 0%, #FFCC80 100%);
    color: #ffffff;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 8px;
    letter-spacing: 0.5px;
    vertical-align: middle;
}

/* Why Section */
.about-us-why-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #fafbfc 0%, #ffffff 50%, #fafbfc 100%);
}

.about-us-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.about-us-why-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 48px 32px;
    box-shadow: 0 4px 24px rgba(148, 163, 184, 0.12);
    border: 1px solid rgba(148, 163, 184, 0.15);
    text-align: center;
    transition: all 0.3s ease;
}

.about-us-why-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(148, 163, 184, 0.2);
}

.about-us-why-icon {
    font-size: 56px;
    margin-bottom: 24px;
}

.about-us-why-title {
    font-size: 22px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 20px;
    font-family: 'Noto Sans JP', sans-serif;
}

.about-us-why-description {
    font-size: 15px;
    color: #6b7280;
    line-height: 1.8;
    font-family: 'Noto Sans JP', sans-serif;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-us-services-grid,
    .about-us-why-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about-us-steps-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-us-steps-image-container {
        order: -1;
    }
}

@media (max-width: 768px) {
    .about-us-mobile-break {
        display: inline;
    }

    .about-us-intro-section {
        padding: 120px 0 80px;
    }

    .about-us-intro-container {
        padding: 0 20px;
    }

    .about-us-intro-container::before {
        top: -30px;
        left: -30px;
        width: 60px;
        height: 60px;
    }

    .about-us-intro-container::after {
        top: -25px;
        right: -25px;
        width: 50px;
        height: 50px;
    }

    .about-us-intro-section::after {
        bottom: 20px;
        right: 20px;
        width: 70px;
        height: 70px;
    }

    .about-us-intro-title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .about-us-intro-content {
        font-size: 16px;
    }

    .about-us-intro-paragraph {
        margin-bottom: 14px;
    }

    .about-us-intro-quote {
        font-size: 15px;
    }

    .about-us-comparison-section {
        margin-top: 50px;
        padding-top: 35px;
    }

    .about-us-comparison-title {
        font-size: 20px;
        margin-bottom: 28px;
    }

    .about-us-comparison-table th {
        padding: 16px 12px;
        font-size: 13px;
    }

    .about-us-comparison-table td {
        padding: 14px 12px;
        font-size: 13px;
    }

    .about-us-comparison-header-ours {
        font-size: 14px;
    }

    .about-us-comparison-item-label {
        padding-left: 12px;
    }

    .about-us-services-section {
        padding: 60px 0;
    }

    .about-us-services-container {
        padding: 0 20px;
    }

    .about-us-services-title {
        font-size: 22px;
        margin-bottom: 35px;
        padding: 10px 20px;
    }

    .about-us-services-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about-us-service-card {
        max-width: 600px;
        margin: 0 auto;
        padding: 32px 24px;
    }

    .about-us-service-image {
        height: 180px;
        margin-bottom: 20px;
    }

    .about-us-service-card-title {
        font-size: 20px;
        margin-bottom: 16px;
    }

    .about-us-service-description {
        font-size: 14px;
    }

    .about-us-steps-section {
        padding: 60px 0;
    }

    .about-us-steps-container {
        padding: 0 20px;
    }

    .about-us-steps-title {
        font-size: 22px;
        margin-bottom: 40px;
    }

    .about-us-steps-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-us-steps-image {
        height: 240px;
    }

    .about-us-step-item {
        margin-bottom: 30px;
        padding-left: 60px;
    }

    .about-us-step-number {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }

    .about-us-step-title {
        font-size: 17px;
    }

    .about-us-step-description {
        font-size: 13px;
    }

    .about-us-why-section {
        padding: 60px 0;
    }

    .about-us-why-card {
        padding: 40px 24px;
    }

    .about-us-why-icon {
        font-size: 48px;
    }

    .about-us-why-title {
        font-size: 20px;
    }

    .about-us-why-description {
        font-size: 14px;
    }

}

@media (max-width: 480px) {
    .about-us-intro-section {
        padding: 100px 0 60px;
    }

    .about-us-intro-container {
        padding: 0 16px;
    }

    .about-us-intro-container::before {
        width: 50px;
        height: 50px;
    }

    .about-us-intro-container::after {
        width: 45px;
        height: 45px;
    }

    .about-us-intro-section::after {
        width: 60px;
        height: 60px;
    }

    .about-us-intro-title {
        font-size: 22px;
        margin-bottom: 25px;
    }

    .about-us-intro-content {
        font-size: 14px;
    }

    .about-us-intro-paragraph {
        margin-bottom: 12px;
    }

    .about-us-intro-quote {
        font-size: 14px;
    }

    .about-us-comparison-section {
        margin-top: 40px;
        padding-top: 30px;
    }

    .about-us-comparison-title {
        font-size: 18px;
        margin-bottom: 24px;
    }

    .about-us-comparison-table th {
        padding: 12px 8px;
        font-size: 12px;
    }

    .about-us-comparison-table td {
        padding: 12px 8px;
        font-size: 12px;
    }

    .about-us-comparison-header-ours {
        font-size: 13px;
    }

    .about-us-comparison-header-ours::after {
        font-size: 14px;
    }

    .about-us-comparison-item-label {
        padding-left: 10px;
        font-size: 12px;
    }

    .about-us-comparison-cell-ours::before {
        width: 3px;
    }

    .about-us-services-section {
        padding: 48px 0;
    }

    .about-us-services-container {
        padding: 0 16px;
    }

    .about-us-services-title {
        font-size: 20px;
        margin-bottom: 35px;
        padding: 8px 16px;
    }

    .about-us-service-card {
        padding: 28px 20px;
    }

    .about-us-service-image {
        height: 160px;
        margin-bottom: 18px;
    }

    .about-us-service-card-title {
        font-size: 19px;
        margin-bottom: 14px;
    }

    .about-us-service-description {
        font-size: 14px;
    }

    .about-us-steps-section {
        padding: 48px 0;
    }

    .about-us-steps-container {
        padding: 0 16px;
    }

    .about-us-steps-title {
        font-size: 20px;
        margin-bottom: 35px;
    }

    .about-us-steps-image {
        height: 200px;
    }

    .about-us-step-item {
        margin-bottom: 28px;
        padding-left: 55px;
    }

    .about-us-step-number {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .about-us-step-title {
        font-size: 16px;
    }

    .about-us-step-description {
        font-size: 13px;
    }

    .about-us-why-section {
        padding: 48px 0;
    }

    .about-us-why-card {
        padding: 32px 20px;
    }

    .about-us-why-icon {
        font-size: 40px;
    }

}

/* Company Page Styles */

.company-main {
    background: #FFFFFF;
    padding-top: 80px;
}

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

/* Mission Section */
.company-mission-section {
    padding: 0 0 48px;
    background: #FFFFFF;
}

.company-mission-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
}

.company-mission-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 22px;
    font-weight: 500;
    color: #2C3E50;
    text-align: center;
    margin-bottom: 36px;
    letter-spacing: 0.08em;
}

.company-mission-wrapper {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 48px;
    align-items: start;
}

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

.company-mission-image img {
    width: 100%;
    height: auto;
    border-radius: 16px 80px 16px 80px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.company-mission-content {
    background: transparent;
    padding: 0;
}

.company-mission-text {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 15px;
    line-height: 1.9;
    color: #34495E;
    margin-bottom: 20px;
    letter-spacing: 0.04em;
}

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

/* Company Info Section */
.company-info-section {
    padding: 48px 0 80px;
    background: #FFFFFF;
}

.company-info-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 24px;
}

.company-info-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 22px;
    font-weight: 500;
    color: #2C3E50;
    text-align: center;
    margin-bottom: 32px;
    letter-spacing: 0.08em;
    position: relative;
    padding-top: 24px;
}

.company-info-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 280px;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #00AFC1 20%, #00AFC1 80%, transparent 100%);
}

.company-info-table {
    background: transparent;
}

.company-info-row {
    display: flex;
    padding: 20px 0;
    border-bottom: 1px solid #E0E0E0;
}

.company-info-row:first-child {
    padding-top: 0;
}

.company-info-label {
    flex: 0 0 140px;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #7F8C8D;
    letter-spacing: 0.05em;
}

.company-info-value {
    flex: 1;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    color: #2C3E50;
    line-height: 1.9;
    letter-spacing: 0.02em;
}

.company-contact-link {
    color: #00AFC1;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.company-contact-link:hover {
    border-bottom-color: #00AFC1;
}

/* Responsive Design */
@media (max-width: 900px) {
    .company-mission-wrapper {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .company-mission-image {
        position: relative;
        top: 0;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .company-main {
        padding-top: 60px;
    }

    .company-mission-section {
        padding: 0 0 40px;
    }

    .company-mission-title,
    .company-info-title {
        font-size: 24px;
        margin-bottom: 28px;
    }

    .company-mission-wrapper {
        gap: 28px;
    }

    .company-mission-text {
        font-size: 15px;
        line-height: 1.85;
        margin-bottom: 18px;
    }

    .company-info-section {
        padding: 40px 0 64px;
    }

    .company-info-row {
        flex-direction: column;
        padding: 18px 0;
    }

    .company-info-row:first-child {
        padding-top: 0;
    }

    .company-info-label {
        flex: none;
        margin-bottom: 8px;
        font-size: 13px;
    }

    .company-info-value {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .company-main {
        padding-top: 80px;
    }

    .company-mission-title,
    .company-info-title {
        font-size: 22px;
        margin-bottom: 24px;
    }

    .company-mission-wrapper {
        gap: 24px;
    }

    .company-mission-text {
        font-size: 14px;
        margin-bottom: 16px;
    }

    .company-info-value {
        font-size: 14px;
    }
}

/* contact */
.contact-main {
    background: #fafbfc;
}

.contact-form-section {
    padding: 120px 0 100px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f5f6f7 100%);
    position: relative;
    overflow: hidden;
}

.contact-form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 15% 15%, rgba(0, 175, 193, 0.06) 0%, transparent 40%),
                radial-gradient(circle at 85% 85%, rgba(0, 175, 193, 0.05) 0%, transparent 40%),
                radial-gradient(circle at 10% 90%, rgba(0, 175, 193, 0.04) 0%, transparent 30%);
    pointer-events: none;
}

.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

.contact-form-intro {
    text-align: center;
    margin-bottom: 48px;
}

.contact-page-title {
    font-size: 40px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 24px;
    font-family: 'Noto Sans JP', sans-serif;
    letter-spacing: 1px;
}

.contact-form-intro-text {
    font-size: 14px;
    color: #5a6c7d;
    line-height: 1.8;
    font-family: 'Noto Sans JP', sans-serif;
}

.contact-form {
    background: #ffffff;
    border-radius: 12px;
    padding: 48px;
    border: 1px solid rgba(0, 175, 193, 0.12);
}

.contact-form-group {
    margin-bottom: 28px;
}

.contact-form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
    font-family: 'Noto Sans JP', sans-serif;
}

.contact-form-required {
    display: inline-block;
    background: #00AFC1;
    color: #ffffff;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 3px;
    margin-left: 6px;
    font-weight: 600;
}

.contact-form-input,
.contact-form-select,
.contact-form-textarea {
    width: 100%;
    padding: 14px 16px;
    font-size: 14px;
    border: 1px solid #e1e8ed;
    border-radius: 6px;
    font-family: 'Noto Sans JP', sans-serif;
    transition: all 0.3s ease;
    background: #ffffff;
}

.contact-form-input:focus,
.contact-form-select:focus,
.contact-form-textarea:focus {
    outline: none;
    border-color: #00AFC1;
    box-shadow: 0 0 0 3px rgba(0, 175, 193, 0.1);
}

.contact-form-input::placeholder,
.contact-form-textarea::placeholder {
    color: #94a3b8;
}

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

.contact-form-select {
    cursor: pointer;
}

.contact-form-actions {
    margin-top: 36px;
    display: flex;
    justify-content: center;
}

.contact-form-submit-btn {
    background: #00AFC1;
    border: none;
    color: white;
    padding: 16px 48px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Noto Sans JP', sans-serif;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-form-submit-btn:hover {
    background: #009AB0;
}

.contact-form-submit-btn:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .contact-page-title {
        font-size: 32px;
    }

    .contact-form-section {
        padding: 100px 0 80px;
    }

    .contact-form-container {
        padding: 0 20px;
    }

    .contact-form-intro {
        margin-bottom: 40px;
    }

    .contact-form-intro-text {
        font-size: 13px;
    }

    .contact-form {
        padding: 32px 24px;
    }

    .contact-form-group {
        margin-bottom: 24px;
    }

    .contact-form-submit-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .contact-page-title {
        font-size: 28px;
    }

    .contact-form-section {
        padding: 90px 0 60px;
    }

    .contact-form-container {
        padding: 0 16px;
    }

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

    .contact-form-label {
        font-size: 13px;
    }

    .contact-form-input,
    .contact-form-select,
    .contact-form-textarea {
        padding: 12px 14px;
        font-size: 13px;
    }

    .contact-form-submit-btn {
        padding: 14px 32px;
        font-size: 15px;
    }
}

/* privacy */
.privacy-main {
    min-height: calc(100vh - 80px);
    background: #FFFFFF;
    padding: 80px 0 60px;
}

.privacy-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.privacy-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 22px;
    font-weight: 500;
    color: #2C3E50;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 40px;
}

.privacy-updated {
    text-align: right;
    color: #7F8C8D;
    font-size: 14px;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #E0E0E0;
}

.privacy-intro {
    padding: 0;
    margin-bottom: 40px;
    line-height: 1.8;
    color: #34495E;
}

.privacy-section {
    padding: 0;
    margin-bottom: 32px;
}

.privacy-section-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #2C3E50;
    margin-bottom: 16px;
    padding-bottom: 0;
    border-bottom: none;
}

.privacy-text {
    line-height: 1.8;
    color: #34495E;
    font-size: 15px;
}

.privacy-list {
    list-style: none;
    padding-left: 0;
    margin-top: 12px;
}

.privacy-list li {
    padding-left: 20px;
    position: relative;
    margin-bottom: 10px;
    line-height: 1.8;
    color: #34495E;
    font-size: 15px;
}

.privacy-list li:before {
    content: "・";
    position: absolute;
    left: 0;
    color: #FF6B6B;
    font-weight: bold;
}

.privacy-contact {
    padding: 0;
    margin-top: 12px;
}

.privacy-contact p {
    margin: 6px 0;
    color: #34495E;
    font-size: 15px;
}

@media (max-width: 768px) {
    .privacy-main {
        padding: 60px 0 40px;
    }

    .privacy-container {
        padding: 0 16px;
    }

    .privacy-title {
        font-size: 22px;
    }

    .privacy-intro,
    .privacy-section {
        padding: 0;
    }

    .privacy-section-title {
        font-size: 16px;
    }

    .privacy-text,
    .privacy-list li {
        font-size: 14px;
    }
}

/* terms */
.terms-main {
    min-height: calc(100vh - 80px);
    background: #FFFFFF;
    padding: 80px 0 60px;
}

.terms-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.terms-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 22px;
    font-weight: 500;
    color: #2C3E50;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 40px;
}

.terms-updated {
    text-align: right;
    color: #7F8C8D;
    font-size: 14px;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #E0E0E0;
}

.terms-section {
    padding: 0;
    margin-bottom: 32px;
}

.terms-section-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #2C3E50;
    margin-bottom: 16px;
    padding-bottom: 0;
    border-bottom: none;
}

.terms-text {
    line-height: 1.8;
    color: #34495E;
    font-size: 15px;
}

.terms-list {
    list-style: none;
    padding-left: 0;
    margin-top: 12px;
}

.terms-list li {
    padding-left: 20px;
    position: relative;
    margin-bottom: 10px;
    line-height: 1.8;
    color: #34495E;
    font-size: 15px;
}

.terms-list li:before {
    content: "・";
    position: absolute;
    left: 0;
    color: #FF6B6B;
    font-weight: bold;
}

@media (max-width: 768px) {
    .terms-main {
        padding: 60px 0 40px;
    }

    .terms-container {
        padding: 0 16px;
    }

    .terms-title {
        font-size: 22px;
    }

    .terms-section {
        padding: 0;
    }

    .terms-section-title {
        font-size: 16px;
    }

    .terms-text,
    .terms-list li {
        font-size: 14px;
    }
}


/* tokusho */

.tokusho-main {
    min-height: calc(100vh - 80px);
    background: #ffffff;
    padding: 80px 0 60px;
}

.tokusho-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.tokusho-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 22px;
    font-weight: 500;
    color: #2C3E50;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 40px;
}

.tokusho-updated {
    text-align: center;
    color: #7F8C8D;
    font-size: 14px;
    margin-bottom: 40px;
}

.tokusho-section {
    background: transparent;
    padding: 0 24px 24px 24px;
    border-radius: 0;
    box-shadow: none;
    margin-bottom: 20px;
}

.tokusho-table {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.tokusho-row {
    display: grid;
    grid-template-columns: 180px 1fr;
    border-bottom: 1px solid #E0E0E0;
    padding: 16px 0;
}

.tokusho-row:last-child {
    border-bottom: none;
}

.tokusho-row-with-divider {
    border-bottom: 1px solid #E0E0E0 !important;
    padding-bottom: 20px !important;
    margin-bottom: 4px;
}

.tokusho-label {
    font-weight: 600;
    color: #2C3E50;
    font-size: 15px;
    padding-right: 20px;
}

.tokusho-value {
    color: #34495E;
    font-size: 15px;
    line-height: 1.8;
}

.tokusho-info-section {
    background: transparent;
    padding: 24px;
    border-radius: 0;
    box-shadow: none;
    margin-bottom: 20px;
}

.tokusho-section-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #2C3E50;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #E0E0E0;
}

.tokusho-text {
    line-height: 1.8;
    color: #34495E;
    font-size: 15px;
}

@media (max-width: 768px) {
    .tokusho-main {
        padding: 60px 0 40px;
    }

    .tokusho-container {
        padding: 0 16px;
    }

    .tokusho-title {
        font-size: 22px;
    }

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

    .tokusho-row {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 12px 0;
    }

    .tokusho-label {
        font-size: 14px;
        padding-right: 0;
    }

    .tokusho-value {
        font-size: 14px;
    }

    .tokusho-info-section {
        padding: 20px;
    }

    .tokusho-section-title {
        font-size: 16px;
    }

    .tokusho-text {
        font-size: 14px;
    }
}


/* register */


.register-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.register-header {
    text-align: center;
    margin-bottom: 25px;
    position: relative;
}

.register-back-link {
    position: absolute;
    top: 0;
    left: 0;
    color: #00AFC1;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    transition: opacity 0.3s;
}

.register-back-link:hover {
    opacity: 0.7;
}

.register-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    margin-top: 30px;
}

.register-logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.register-logo-icon-gradient {
    font-size: 48px;
    background: linear-gradient(135deg, #4fd1c5, #14b8ab);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.register-logo-text {
    font-family: "Kaisei Opti", serif;
    font-size: 32px;
    font-weight: 500;
    color: #33475b;
    letter-spacing: 0.5px;
}

.register-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #33475b;
}

.register-subtitle {
    font-size: 15px;
    color: #666;
    margin-bottom: 3px;
}

.register-subtitle-small {
    font-size: 13px;
    color: #888;
}

.register-form {
    max-width: 380px;
    margin: 0 auto;
}

.register-form-group {
    margin-bottom: 18px;
}

.register-form-label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #33475b;
    font-size: 13px;
}

.register-form-input {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s;
    font-family: 'Noto Sans JP', sans-serif;
    background-color: #ffffff;
}

.register-form-input:focus {
    outline: none;
    border-color: #00AFC1;
    box-shadow: 0 0 0 3px rgba(0, 175, 193, 0.1);
}

.register-form-input::placeholder {
    color: #aaa;
}

.register-password-input-wrapper {
    position: relative;
}

.register-password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
}

.register-password-toggle:hover {
    color: #00AFC1;
}

.register-password-toggle i {
    font-size: 18px;
}

.register-checkbox-group {
    margin-bottom: 16px;
}

.register-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.register-checkbox-label input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    margin-top: 3px;
    cursor: pointer;
    width: 18px;
    height: 18px;
    border: 2px solid #d0d0d0;
    border-radius: 3px;
    position: relative;
    background-color: white;
    transition: all 0.3s;
}

.register-checkbox-label input[type="checkbox"]:checked {
    background-color: #80D7E0;
    border-color: #80D7E0;
}

.register-checkbox-label input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 1.5px 1.5px 0;
    transform: rotate(45deg);
}

.register-checkbox-text {
    font-size: 13px;
    color: #555;
    line-height: 1.6;
}

.register-link-text {
    color: #00AFC1;
    text-decoration: none;
    font-weight: 500;
}

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

.register-error-message {
    display: block;
    color: #e53e3e;
    font-size: 13px;
    margin-top: 6px;
    min-height: 0;
}

.register-error-message:empty {
    display: none;
}

.register-form-error {
    background: #fee;
    color: #c33;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 12px;
    display: none;
}

.register-form-error.show {
    display: block;
}

.register-form-success {
    background: #e6f7ed;
    color: #2d7a4d;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 12px;
    display: none;
}

.register-form-success.show {
    display: block;
}

.register-submit-btn {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #4fd1c5, #14b8ab);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Noto Sans JP', sans-serif;
}

.register-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 175, 193, 0.3);
}

.register-submit-btn:active {
    transform: translateY(0);
}

.register-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.register-btn-loader {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: register-spin 0.8s linear infinite;
}

.register-submit-btn.loading .register-btn-text {
    display: none;
}

.register-submit-btn.loading .register-btn-loader {
    display: block;
}

.register-footer{
    margin-bottom:30px;
}

@keyframes register-spin {
    to {
        transform: rotate(360deg);
    }
}

.register-footer {
    margin-top: 30px;
    text-align: center;
}

.register-login-link-text {
    font-size: 14px;
    color: #666;
}

.register-login-link {
    color: #00AFC1;
    text-decoration: none;
    font-weight: 600;
}

.register-login-link:hover {
    opacity: 0.7;
}

@media (max-width: 640px) {
    /*body {
        padding: 20px 15px;
    }*/

    .register-container{
    padding: 20px 15px;
    }

    .register-header {
        margin-bottom: 30px;
    }

    .register-title {
        font-size: 22px;
    }

    .register-logo-text {
        font-size: 26px;
    }

    .register-logo-icon-gradient {
        font-size: 40px;
    }

    .register-back-link {
        position: static;
        justify-content: flex-start;
        margin-bottom: 20px;
    }
}





.login-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.login-header {
    text-align: center;
    margin-bottom: 25px;
    position: relative;
}

.login-back-link {
    position: absolute;
    top: 0;
    left: 0;
    color: #00AFC1;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    transition: opacity 0.3s;
}

.login-back-link:hover {
    opacity: 0.7;
}

.login-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    margin-top: 30px;
}

.login-logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-logo-icon-gradient {
    font-size: 48px;
    background: linear-gradient(135deg, #4fd1c5, #14b8ab);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.login-logo-text {
    font-family: "Kaisei Opti", serif;
    font-size: 32px;
    font-weight: 500;
    color: #33475b;
    letter-spacing: 0.5px;
}

.login-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #33475b;
}

.login-subtitle {
    font-size: 15px;
    color: #666;
    margin-bottom: 3px;
}

.login-form {
    max-width: 380px;
    margin: 0 auto;
}

.login-form-group {
    margin-bottom: 18px;
}

.login-form-label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #33475b;
    font-size: 13px;
}

.login-form-input {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s;
    font-family: 'Noto Sans JP', sans-serif;
    background-color: #ffffff;
}

.login-form-input:focus {
    outline: none;
    border-color: #00AFC1;
    box-shadow: 0 0 0 3px rgba(0, 175, 193, 0.1);
}

.login-form-input::placeholder {
    color: #aaa;
}

.login-password-input-wrapper {
    position: relative;
}

.login-password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
}

.login-password-toggle:hover {
    color: #00AFC1;
}

.login-password-toggle i {
    font-size: 18px;
}

.login-error-message {
    display: block;
    color: #e53e3e;
    font-size: 13px;
    margin-top: 6px;
    min-height: 0;
}

.login-error-message:empty {
    display: none;
}

.login-password-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 28px;
    margin-bottom: 24px;
    gap: 12px;
}

.login-remember-me-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 13px;
    color: #33475b;
}

.login-remember-me-label input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    width: 18px;
    height: 18px;
    border: 2px solid #d0d0d0;
    border-radius: 3px;
    position: relative;
    background-color: white;
    transition: all 0.3s;
}

.login-remember-me-label input[type="checkbox"]:checked {
    background-color: #80D7E0;
    border-color: #80D7E0;
}

.login-remember-me-label input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 1.5px 1.5px 0;
    transform: rotate(45deg);
}

.login-remember-me-text {
    user-select: none;
}

.login-forgot-password-link {
    font-size: 13px;
    color: #00AFC1;
    text-decoration: none;
    white-space: nowrap;
}

.login-forgot-password-link:hover {
    opacity: 0.7;
}

@media (max-width: 480px) {
    .login-password-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 20px;
    }

    .login-forgot-password-link {
        align-self: flex-end;
    }
}

.login-form-error {
    background: #fee;
    color: #c33;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 12px;
    display: none;
}

.login-form-error.show {
    display: block;
}

.login-form-success {
    background: #e6f7ed;
    color: #2d7a4d;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 12px;
    display: none;
}

.login-form-success.show {
    display: block;
}

.login-submit-btn {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #4fd1c5, #14b8ab);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Noto Sans JP', sans-serif;
}

.login-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 175, 193, 0.3);
}

.login-submit-btn:active {
    transform: translateY(0);
}

.login-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.login-btn-loader {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: login-spin 0.8s linear infinite;
}

.login-submit-btn.loading .login-btn-text {
    display: none;
}

.login-submit-btn.loading .login-btn-loader {
    display: block;
}

@keyframes login-spin {
    to {
        transform: rotate(360deg);
    }
}

.login-footer {
    margin-top: 30px;
    text-align: center;
}

.login-register-link-text {
    font-size: 14px;
    color: #666;
}

.login-register-link {
    color: #00AFC1;
    text-decoration: none;
    font-weight: 600;
}

@media (max-width: 640px) {
   /* body {
        padding: 20px 15px;
    }*/
    .login-container{
    padding: 20px 15px;
    }
    .login-header {
        margin-bottom: 30px;
    }

    .login-title {
        font-size: 22px;
    }

    .login-logo-text {
        font-size: 26px;
    }

    .login-logo-icon-gradient {
        font-size: 40px;
    }

    .login-back-link {
        position: static;
        justify-content: flex-start;
        margin-bottom: 20px;
    }
}



.forgot-password-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.forgot-password-header {
    text-align: center;
    margin-bottom: 25px;
    position: relative;
}

.forgot-password-back-link {
    position: absolute;
    top: 0;
    left: 0;
    color: #00AFC1;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    transition: opacity 0.3s;
}

.forgot-password-back-link:hover {
    opacity: 0.7;
}

.forgot-password-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    margin-top: 30px;
}

.forgot-password-logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.forgot-password-logo-icon-gradient {
    font-size: 48px;
    background: linear-gradient(135deg, #4fd1c5, #14b8ab);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.forgot-password-logo-text {
    font-family: "Kaisei Opti", serif;
    font-size: 32px;
    font-weight: 500;
    color: #33475b;
    letter-spacing: 0.5px;
}

.forgot-password-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #33475b;
}

.forgot-password-subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 3px;
    line-height: 1.7;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

.forgot-password-form {
    max-width: 380px;
    margin: 0 auto;
}

.forgot-password-form-group {
    margin-bottom: 18px;
}

.forgot-password-form-label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #33475b;
    font-size: 13px;
}

.forgot-password-form-input {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s;
    font-family: 'Noto Sans JP', sans-serif;
    background-color: #ffffff;
}

.forgot-password-form-input:focus {
    outline: none;
    border-color: #00AFC1;
    box-shadow: 0 0 0 3px rgba(0, 175, 193, 0.1);
}

.forgot-password-form-input::placeholder {
    color: #aaa;
}

.forgot-password-error-message {
    display: block;
    color: #e53e3e;
    font-size: 13px;
    margin-top: 6px;
    min-height: 0;
}

.forgot-password-error-message:empty {
    display: none;
}

.forgot-password-form-error {
    background: #fee;
    color: #c33;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 12px;
    display: none;
}

.forgot-password-form-error.show {
    display: block;
}

.forgot-password-form-success {
    background: #e6f7ed;
    color: #2d7a4d;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 12px;
    display: none;
}

.forgot-password-form-success.show {
    display: block;
}

.forgot-password-submit-btn {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #4fd1c5, #14b8ab);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Noto Sans JP', sans-serif;
}

.forgot-password-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 175, 193, 0.3);
}

.forgot-password-submit-btn:active {
    transform: translateY(0);
}

.forgot-password-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.forgot-password-btn-loader {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: forgot-password-spin 0.8s linear infinite;
}

.forgot-password-submit-btn.loading .forgot-password-btn-text {
    display: none;
}

.forgot-password-submit-btn.loading .forgot-password-btn-loader {
    display: block;
}

@keyframes forgot-password-spin {
    to {
        transform: rotate(360deg);
    }
}

.forgot-password-footer {
    margin-top: 30px;
    text-align: center;
}

.forgot-password-login-link-text {
    font-size: 14px;
    color: #666;
}

.forgot-password-login-link {
    color: #00AFC1;
    text-decoration: none;
    font-weight: 600;
}

.forgot-password-login-link:hover {
    opacity: 0.7;
}

@media (max-width: 640px) {
    /*body {
        padding: 20px 15px;
    }*/
    .forgot-password-container{
     padding: 20px 15px;

    }
    .forgot-password-header {
        margin-bottom: 30px;
    }

    .forgot-password-title {
        font-size: 22px;
    }

    .forgot-password-logo-text {
        font-size: 26px;
    }

    .forgot-password-logo-icon-gradient {
        font-size: 40px;
    }

    .forgot-password-back-link {
        position: static;
        justify-content: flex-start;
        margin-bottom: 20px;
    }

    .forgot-password-subtitle {
        font-size: 13px;
    }
}



/* Mypage V2 Styles - 新しいデザインシステム */

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

/* Header Styles - Mypage独自の細いヘッダー */
.mypage-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    z-index: 1002;
    transition: all 0.3s ease;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.mypage-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 44px;
    position: relative;
}

/* Logo Styles */
.mypage-logo {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: transform 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.mypage-logo:hover {
    transform: scale(1.05);
}

.mypage-logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mypage-logo-icon i {
    font-size: 26px !important;
}

.mypage-logo-text {
    font-family: 'Kaisei Opti', serif;
    font-size: 19px;
    font-weight: 500;
    color: #2c3e50;
    text-shadow: none;
    letter-spacing: 1px;
}

/* Header Actions */
.mypage-header-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.mypage-logout-btn {
    background: transparent;
    border: 1.5px solid #cbd5e1;
    color: #475569;
    padding: 5px 12px;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 12px;
}

.mypage-logout-btn:hover {
    border-color: #FF6B6B;
    color: #FF6B6B;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.2);
}

.mypage-logout-btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 3px rgba(255, 107, 107, 0.15);
}

.mypage-logout-btn:focus {
    outline: none;
    box-shadow: none;
}

.mypage-logout-btn:focus-visible {
    outline: none;
    box-shadow: none;
}

/* Mobile menu button */
.mypage-mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 4px;
    padding: 8px;
    z-index: 1003;
}

.mypage-mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: #2c3e50;
    transition: all 0.3s ease;
}

.mypage-mobile-menu-btn:focus {
    outline: none;
    box-shadow: none;
}

.mypage-mobile-menu-btn:focus-visible {
    outline: none;
    box-shadow: none;
}

.mypage-mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

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

.mypage-mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Main Layout */
.main-layout {
    display: flex;
    min-height: 100vh;
    padding-top: 44px;
    background: #ffffff;
}

/* Left Navigation */
.left-nav {
    width: 240px;
    background: rgb(255, 255, 255);
    backdrop-filter: blur(20px);
    border-top: none;
    border-left: 1px solid rgba(148, 163, 184, 0.25);
    border-right: 1px solid rgba(148, 163, 184, 0.25);
    padding: 30px 0;
    position: fixed;
    top: 44px;
    height: calc(100vh - 44px);
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(148, 163, 184, 0.1);
}

.nav-menu {
    list-style: none;
    padding: 0 20px;
}

.nav-item {
    margin-bottom: 4px;
}

.mypage-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    text-decoration: none;
    color: #33475b;
    font-size: 13px;
    font-weight: 500;
    font-family: 'Noto Sans JP', sans-serif;
    border-radius: 2px;
    position: relative;
    transition: all 0.2s ease;
}

.mypage-nav-link:focus {
    outline: none;
    box-shadow: none;
    border: none;
}

.mypage-nav-link:active {
    outline: none;
    box-shadow: none;
    border: none;
}

.mypage-nav-link:focus-visible {
    outline: none;
    box-shadow: none;
    border: none;
}

.mypage-nav-link:hover:not(.active) {
    background: rgba(0, 175, 193, 0.08);
    color: #00AFC1;
    border-radius: 12px;
}

.mypage-nav-link:hover:not(.active) .nav-icon {
    opacity: 1;
}

.mypage-nav-link.active {
    color: #00AFC1;
    background: linear-gradient(90deg, rgba(0, 175, 193, 0.15) 0%, rgba(0, 175, 193, 0.08) 100%);
    font-weight: 600;
    border-radius: 12px;
}

.nav-icon {
    width: 20px;
    height: 20px;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.mypage-nav-link.active .nav-icon {
    opacity: 1;
}

.mypage-nav-link.active::after {
    display: none;
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: 240px;
    padding: 0 30px 0 30px;
    background: rgb(255, 255, 255);
    border-radius: 0;
   box-shadow: none;
    position: relative;
    z-index: 1;
}

/* Breadcrumb inside Main Content */
.main-content .breadcrumb-wrapper {
    background: rgb(255, 255, 255);
    backdrop-filter: blur(10px);
    padding: 3px 0;
    margin: 0 -30px 10px -30px;
}

.main-content .page-title {
    font-size: 13px;
    font-weight: 400;
    color: #4a5d7a;
    margin: 0;
    text-align: left;
    font-family: 'Noto Sans JP', sans-serif;
    padding: 0 30px;
}

.page-subtitle {
    font-size: 14px;
    color: #6b7280;
    font-weight: 400;
    text-align: left !important;
}

/* 1. マイページナビゲーション（3ステップ） */
.mypage-navigation-section {
    max-width: 850px;
    margin: 0 auto 32px;
    padding: 10px 14px;
    background: linear-gradient(135deg, #FFFAF5 0%, #FFF8F0 100%);
    border-radius: 12px;
    position: relative;
}

.mypage-nav-title {
    font-size: 14px;
    font-weight: 600;
    color: #33475b;
    margin-bottom: 6px;
    text-align: left;
    font-family: 'Noto Sans JP', sans-serif;
}

.mypage-steps-container {
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: stretch;
}

.mypage-step-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 10px;
    background: linear-gradient(135deg, #FFF5E8 0%, #FFF3E4 100%);
    border-radius: 4px;
    position: relative;
}

.mypage-step-number {
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 600;
    color: #EA580C;
    font-family: 'Noto Sans JP', sans-serif;
    white-space: nowrap;
}

.mypage-step-card:first-child .mypage-step-number,
.mypage-step-card:nth-child(2) .mypage-step-number {
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid transparent;
    background-image: linear-gradient(#ffffff, #ffffff), linear-gradient(135deg, #F97316, #EA580C);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    background: linear-gradient(135deg, #F97316, #EA580C);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.mypage-step-card:first-child .mypage-step-number::before,
.mypage-step-card:nth-child(2) .mypage-step-number::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 4px;
    padding: 1px;
    background: linear-gradient(135deg, #F97316, #EA580C);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.mypage-step-title {
    flex: 1;
    font-size: 13px;
    font-weight: 500;
    color: #2c3e50;
    font-family: 'Noto Sans JP', sans-serif;
    text-align: left;
}

.mypage-step-btn {
    flex-shrink: 0;
    background: #FB923C;
    border: none;
    color: #ffffff;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Noto Sans JP', sans-serif;
    width: 90px;
}

.mypage-step-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(251, 146, 60, 0.3);
    background: #F97316;
}

.mypage-step-btn:disabled {
    background: transparent;
    border: 1px solid #d1d5db;
    color: #9ca3af;
    -webkit-text-fill-color: #9ca3af;
    cursor: not-allowed;
}

.mypage-step-btn:focus {
    outline: none;
    box-shadow: none;
}

.mypage-step-btn:focus-visible {
    outline: none;
    box-shadow: none;
}

/* 2. 好きな人の登録・編集 V2 - 新しいカードベースデザイン */
.ryoumoi-search-tag {
    display: inline-block;
    padding: 3px 10px;
    background: linear-gradient(135deg, #FDE2E4 0%, #FAD2E1 100%);
    color: #DB2777;
    font-size: 11px;
    font-weight: 400;
    border-radius: 6px;
    border: 0.5px solid #FBD5DC;
    margin-top: 0;
    margin-bottom: 6px;
    font-family: 'Noto Sans JP', sans-serif;
}

.favorite-people-v2-section {
    max-width: 850px;
    margin: 0 auto 40px;
    padding: 20px 0 32px;
    background: transparent;
    border-radius: 2px;
    border-top: 1px solid #ebf2f2;
}

.favorite-people-v2-header {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 12px;
}

.favorite-people-v2-title {
    font-size: 16px;
    font-weight: 600;
    color: #33475b;
    margin-bottom: 0;
    font-family: 'Noto Sans JP', sans-serif;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-direction: row; /* 明示 */
}

.favorite-people-v2-title .title-icon {
    font-size: 20px;
    color: #00AEC2;
}

.favorite-people-v2-title .subtitle-en {
    font-size: 13px;
    font-weight: 400;
    color: #94a3b8;
    letter-spacing: 0.3px;
    font-family: 'Inter', 'Arial', sans-serif;
    font-style: italic;
}

.favorite-people-v2-description {
    font-size: 14px;
    color: #2c3e50;
    margin: 0;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
}

.favorite-people-v2-notice {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 16px 20px;
    margin-bottom: 24px;
    background: #f0fcfd;
    border-radius: 12px;
}

.notice-icon {
    width: 20px;
    height: 20px;
    color: #64748b;
    flex-shrink: 0;
    margin-top: 2px;
}

.notice-content {
    flex: 1;
}

.notice-content p {
    margin: 0;
    font-size: 13px;
    color: #475569;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    line-height: 1.7;
}

.notice-content p + p {
    margin-top: 6px;
}

.emphasis-number {
    display: inline;
    font-size: 14px;
    font-weight: 700;
    color: #FF6B6B;
}

/* 好きな人登録カードグリッド */
.favorite-people-v2-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

/* 個別の好きな人カード */
.favorite-person-v2-card {
    background: transparent;
    border: 1px solid #dae4e5ff;
    border-radius: 12px;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(79, 209, 197, 0.08);
    min-height: 60px;
}

.favorite-person-v2-card:hover {
    border-color: #4fd1c5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 209, 197, 0.12);
}


/* カード番号 */
.favorite-person-v2-number {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    background: rgba(0, 175, 193, 0.15);
    color: #00AFC1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}

/* カードコンテンツ */
.favorite-person-v2-content {
    flex: 0 1 auto;
    min-width: 180px;
    max-width: 280px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.favorite-person-v2-name {
    font-size: 18px;
    font-weight: 400;
    color: #2c3e50;
    font-family: 'Noto Sans JP', sans-serif;
}

.favorite-person-v2-name.empty {
    color: #9ca3af;
    font-style: italic;
}

.favorite-person-v2-status {
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 500;
    display: inline-block;
    width: fit-content;
}

.favorite-person-v2-status.registered {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    color: #065f46;
}

.favorite-person-v2-status.unregistered {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    color: #991b1b;
}

/* カードコントロール */
.favorite-person-v2-controls {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
    margin-left: auto;
}

/* V2 トグルスイッチ */
.favorite-person-v2-toggle {
    position: relative;
    display: inline-block;
    width: 70px;
    height: 32px;
}

.favorite-person-v2-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.favorite-person-v2-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #cbd5e1;
    transition: all 0.4s ease;
    border-radius: 32px;
}

.favorite-person-v2-slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 3px;
    bottom: 3px;
    background: white;
    transition: all 0.4s ease;
    border-radius: 50%;
}

.favorite-person-v2-toggle input:checked + .favorite-person-v2-slider {
    background: #00AEC2;
}

.favorite-person-v2-slider::after {
    content: 'OFF';
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
    font-weight: 600;
    color: #ffffff;
    transition: all 0.4s ease;
}

.favorite-person-v2-toggle input:checked + .favorite-person-v2-slider::after {
    content: 'ON';
    right: auto;
    left: 8px;
    color: #ffffff;
}

.favorite-person-v2-toggle input:checked + .favorite-person-v2-slider:before {
    transform: translateX(38px);
}

/* V2 編集ボタン */
.favorite-person-v2-edit-btn {
    background: #ffffff;
    border: 2px solid #00AEC2;
    color: #00AEC2;
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Noto Sans JP', sans-serif;
    min-width: 90px;
}

.favorite-person-v2-edit-btn:hover {
    background: #f0f9fa;
    border-color: #008ca0;
    color: #008ca0;
    transform: translateY(-1px);
}

.favorite-person-v2-edit-btn:active {
    transform: translateY(0);
}

.favorite-person-v2-edit-btn:focus {
    outline: none;
    box-shadow: none;
}

.favorite-person-v2-edit-btn:focus-visible {
    outline: none;
    box-shadow: none;
}

/* マッチング精度選択 */
.matching-accuracy-section {
    margin-top: 32px;
    margin-bottom: 32px;
}

.matching-accuracy-header-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.matching-accuracy-title {
    font-size: 16px;
    font-weight: 600;
    color: #33475b;
    margin-bottom: 0;
    font-family: 'Noto Sans JP', sans-serif;
}

.matching-accuracy-description {
    padding: 16px 20px;
    margin-bottom: 24px;
    background: #f8f8f8;
    border-left: 2px solid rgba(0, 175, 193, 0.25);
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.matching-accuracy-toggle {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 6px;
}

.matching-accuracy-toggle:focus {
    outline: none;
    box-shadow: none;
}

.matching-accuracy-toggle:focus-visible {
    outline: none;
    box-shadow: none;
}

.matching-accuracy-arrow {
    width: 18px;
    height: 18px;
    color: #4fd1c5;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.matching-accuracy-toggle.active .matching-accuracy-arrow {
    transform: rotate(180deg);
}

.matching-accuracy-description-title {
    font-size: 14px;
    font-weight: 600;
    color: #33475b;
    margin-bottom: 0;
    font-family: 'Noto Sans JP', sans-serif;
}

.matching-accuracy-description-text {
    font-size: 14px;
    line-height: 1.8;
    color: #5a6c7d;
    margin-bottom: 12px;
    font-family: 'Noto Sans JP', sans-serif;
}

.matching-accuracy-description-text:last-child {
    margin-bottom: 0;
}

.matching-accuracy-tag {
    display: inline-block;
    background: #FFF9E6;
    color: #856404;
    font-size: 11px;
    font-weight: 400;
    padding: 5px 12px;
    border: 1px solid #FFD54F;
    border-radius: 16px;
    font-family: 'Noto Sans JP', sans-serif;
    white-space: nowrap;
}

.matching-accuracy-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, margin-top 0.3s ease;
    margin-top: 0;
}

.matching-accuracy-details.active {
    max-height: 500px;
    margin-top: 14px;
}

.accuracy-table-container {
    margin-bottom: 20px;
    overflow-x: auto;
    border-radius: 12px;
}

.accuracy-table {
    width: 100%;
    border-collapse: collapse;
    background: #f4fbfbff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(79, 209, 197, 0.1);
}

.accuracy-table-header {
    border-bottom: 1px solid rgba(0, 175, 193, 0.25);
}

.accuracy-table-header th {
    padding: 8px 16px;
    text-align: left;
    font-weight: 500;
    font-size: 14px;
    font-family: 'Noto Sans JP', sans-serif;
    text-shadow: 0 0.5px 1px rgba(0, 0, 0, 0.05);
    color: #00AFC1;
}

.accuracy-table-row {
    border-bottom: 1px solid rgba(79, 209, 197, 0.1);
    background: rgb(244, 251, 251);
}

.accuracy-table-row:last-child {
    border-bottom: none;
}

.accuracy-table-row td {
    padding: 12px 16px;
    font-size: 14px;
    color: #374151;
    font-family: 'Noto Sans JP', sans-serif;
}

.level-col {
    width: 120px;
    font-weight: 600;
    color: #2c3e50;
    padding-left: 32px !important;
    padding-right: 0 !important;
}

.level-name {
    display: block;
    margin-bottom: 4px;
}

.basic-badge {
    background: linear-gradient(135deg, #4fd1c5, #14b8ab);
    color: #ffffff;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.content-col {
    color: #5a6c7d;
}

/* レベル選択 */
.level-select-container {
    margin-top: 20px;
}

.level-select-title {
    font-size: 14px;
    font-weight: 600;
    color: #33475b;
    margin-bottom: 8px;
    font-family: 'Noto Sans JP', sans-serif;
}

.level-select {
    width: 100%;
    max-width: 300px;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    color: #374151;
    background: #ffffff;
    font-family: 'Noto Sans JP', sans-serif;
}

.level-select:focus {
    outline: none;
    border-color: #4fd1c5;
    box-shadow: none;
}

.level-select:focus-visible {
    outline: none;
    border-color: #4fd1c5;
    box-shadow: none;
}




/* サーチ開始ボタン */
.search-start-section {
    text-align: center;
    margin-top: 32px;
    border-bottom: 1px solid #ebf2f2;
    padding-bottom: 32px;
}

.search-start-btn {
    background: #ff6b6b;
    border: none;
    color: white;
    padding: 16px 32px;
    border-radius: 28px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Noto Sans JP', sans-serif;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.search-start-btn .btn-icon {
    width: 16px;
    height: 16px;
    fill: white;
    transition: transform 0.3s ease;
}

.search-start-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
}

.search-start-btn:hover .btn-icon {
    transform: translateX(2px);
}

.search-start-btn:focus {
    outline: none;
    box-shadow: none;
}

.search-start-btn:focus-visible {
    outline: none;
    box-shadow: none;
}



/* サーチ中ボタン */
.search-start-section2 {
    text-align: center;
    margin-top: 32px;
    border-bottom: 1px solid #ebf2f2;
    padding-bottom: 32px;
}

.search-start-btn2 {
    background: #24e89c;
    border: none;
    color: white;
    padding: 16px 32px;
    border-radius: 28px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Noto Sans JP', sans-serif;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.search-start-btn2 .btn-icon {
    width: 16px;
    height: 16px;
    fill: white;
    transition: transform 0.3s ease;
}

.search-start-btn2:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
}

.search-start-btn2:hover .btn-icon {
    transform: translateX(2px);
}

.search-start-btn2:focus {
    outline: none;
    box-shadow: none;
}

.search-start-btn2:focus-visible {
    outline: none;
    box-shadow: none;
}









/* 3. サポートセクション */
.support-section {
    max-width: 850px;
    margin: 0 auto 40px;
    padding: 0;
}

.support-title {
    font-size: 16px;
    font-weight: 600;
    color: #33475b;
    font-family: 'Noto Sans JP', sans-serif;
    padding-bottom: 8px;
    margin-bottom: 12px;
    background: none;
    border: none;
    border-bottom: 2px solid #e5e7eb;
    border-radius: 0;
    display: block;
    grid-column: 1;
}

.support-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    background: transparent;
    border: 1px solid #dae4e5ff;
    border-radius: 12px;
    padding: 20px 24px;
}

.support-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.support-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.support-item-card {
    padding: 0;
    display: flex;
    flex-direction: column;
}

.support-image {
    flex-shrink: 0;
    width: 200px;
    height: 100px;
    border-radius: 12px;
    overflow: hidden;
}

.support-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.support-content {
    flex: 1;
    padding-left: 12px;
}

.guide-header {
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    padding: 16px 20px 12px 20px;
    margin-bottom: 0;
    border-bottom: 1px solid #e5e7eb;
    font-family: 'Noto Sans JP', sans-serif;
}

.support-item-body {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 12px;
}

.support-item-title {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    font-family: 'Noto Sans JP', sans-serif;
}

.support-item-description {
    font-size: 14px;
    color: #5a6c7d;
    line-height: 1.7;
    font-family: 'Noto Sans JP', sans-serif;
    margin-bottom: 8px;
}

.support-item-list {
    list-style: none;
    padding: 0;
    margin: 4px 0;
}

.support-item-list li {
    font-size: 14px;
    color: #5a6c7d;
    line-height: 1.8;
    font-family: 'Noto Sans JP', sans-serif;
    margin-bottom: 4px;
    padding-left: 0;
}

.check-icon {
    font-weight: 700;
    background: linear-gradient(135deg, #10b981, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-right: 4px;
}

.cross-icon {
    font-weight: 700;
    background: linear-gradient(135deg, #ef4444, #f87171);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-right: 4px;
}

.support-item-subtitle {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin-top: 20px;
    margin-bottom: 12px;
    font-family: 'Noto Sans JP', sans-serif;
}

/* 4. 人数チェック */
.people-count-section {
    margin-bottom: 40px;
}

.people-count-banner {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.banner-content {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 32px 40px;
}

.banner-image-container {
    flex-shrink: 0;
}

.banner-image {
    width: 200px;
    height: 140px;
    object-fit: cover;
    border-radius: 8px;
}

.banner-text {
    flex: 1;
}

.banner-title {
    font-size: 18px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    font-family: 'Noto Sans JP', sans-serif;
}

.banner-description {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
    font-family: 'Noto Sans JP', sans-serif;
}

.banner-action {
    flex-shrink: 0;
}

.people-count-btn {
    background: linear-gradient(135deg, #10b981, #34d399);
    border: none;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Noto Sans JP', sans-serif;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.people-count-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.people-count-btn:focus {
    outline: none;
    box-shadow: none;
}

.people-count-btn:focus-visible {
    outline: none;
    box-shadow: none;
}

/* 人数チェックバナー */
.count-check-banner {
    max-width: 850px;
    margin: 0 auto 60px;
    padding: 0;
}

.count-check-banner .banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 40px 48px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.5) 100%),
                linear-gradient(135deg, rgba(79, 209, 197, 0.25) 0%, rgba(20, 184, 171, 0.25) 100%),
                url('../img/banner.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    border: 1px solid rgba(79, 209, 197, 0.3);
    position: relative;
    overflow: hidden;
}

.count-check-banner .banner-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.count-check-banner .banner-text {
    flex: 1;
    position: relative;
    z-index: 1;
}

.count-check-banner .banner-title {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
    font-family: 'Noto Sans JP', sans-serif;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.count-check-banner .banner-title .title-icon {
    width: 28px;
    height: 28px;
    stroke: #ffffff;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.count-check-banner .banner-description {
    font-size: 14px;
    color: #ffffff;
    line-height: 1.7;
    font-family: 'Noto Sans JP', sans-serif;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    margin-bottom: 16px;
    opacity: 0.95;
}

.count-check-banner .banner-tagline {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.6;
    font-family: 'Noto Sans JP', sans-serif;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    margin: 8px 0 12px 0;
    letter-spacing: 0.02em;
}

.count-check-banner .banner-cta-text {
    font-size: 15px;
    color: #ffffff;
    line-height: 1.6;
    font-family: 'Noto Sans JP', sans-serif;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    margin-bottom: 0;
    font-weight: 500;
}

.banner-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    color: #0d9488;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Noto Sans JP', sans-serif;
    white-space: nowrap;
    position: relative;
    z-index: 1;
}

.banner-btn .btn-icon {
    width: 16px;
    height: 16px;
    fill: #0d9488;
    transition: transform 0.3s ease;
}

.banner-btn:hover {
    transform: translateY(-2px);
    background: #f0fdfa;
}

.banner-btn:hover .btn-icon {
    transform: translateX(2px);
}

.banner-btn:focus {
    outline: none;
    box-shadow: none;
}

.banner-btn:focus-visible {
    outline: none;
    box-shadow: none;
}

/* Mypage Mobile Navigation */
.mypage-mobile-nav {
    position: fixed;
    top: 44px;
    right: 0;
    width: 300px;
    height: calc(100vh - 44px);
    background: #00AFC1;
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(148, 163, 184, 0.25);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1001;
    box-shadow: none;        /* 非表示時は影なし */
    overflow-y: auto;
}

.mypage-mobile-nav.active {
    transform: translateX(0);
    box-shadow: -4px 0 8px rgba(0, 0, 0, 0.2); /* 表示時だけ影 */
}

.mypage-mobile-nav-list {
    list-style: none;
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mypage-mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    text-decoration: none;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.mypage-mobile-nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
}

.mypage-mobile-nav-link.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.2);
    font-weight: 600;
    border-radius: 12px;
}

.mypage-mobile-nav-link .nav-icon {
    opacity: 0.9;
}

.mypage-mobile-nav-link.active .nav-icon {
    opacity: 1;
}

.mypage-mobile-nav-link:focus {
    outline: none;
}

.mypage-mobile-nav-link:active {
    outline: none;
}

.mypage-mobile-nav-link:focus-visible {
    outline: none;
    box-shadow: none;
}

.mypage-mobile-logout-btn {
    background: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
    padding: 14px 24px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
    margin-left: auto;
    margin-right: auto;
    display: block;
    width: fit-content;
}

.mypage-mobile-logout-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.mypage-mobile-logout-btn:focus {
    outline: none;
    box-shadow: none;
}

.mypage-mobile-logout-btn:focus-visible {
    outline: none;
    box-shadow: none;
}

/* Mypage Mobile menu overlay */
.mypage-mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.05);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.mypage-mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .left-nav {
        display: none;
    }

    .main-content {
        margin-left: 0;
        padding: 0 10px 0 10px;
    }

    .main-content .breadcrumb-wrapper {
        margin: 0 -20px 30px -20px;
    }

    .main-content .page-title {
        padding: 0 20px;
    }

    .mypage-mobile-menu-btn {
        display: flex;
    }

    .mypage-logout-btn {
        display: none;
    }

    .favorite-people-v2-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .mypage-navigation-section {
        padding: 12px 16px;
        margin-bottom: 20px;
    }

    .favorite-people-v2-section {
        padding: 12px 16px 24px 16px;
        margin-bottom: 20px;
    }

    .support-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 20px 8px;
    }

    .support-item {
        flex-direction: column;
        gap: 16px;
    }

    .support-item-body {
        flex-direction: column;
        padding: 12px 0;
    }

    .matching-accuracy-title {
        padding-left: 20px;
    }

    .support-image {
        width: calc(100% - 40px);
        height: 140px;
        order: 1;
        margin: 0 20px;
    }

    .support-content {
        order: 2;
        padding: 0 20px;
    }

    .mypage-nav-title {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .mypage-steps-container {
        flex-direction: column;
        gap: 6px;
    }

    .mypage-step-card {
        padding: 6px 10px;
    }

    .mypage-step-number {
        font-size: 11px;
    }

    .mypage-step-title {
        font-size: 13px;
    }

    .mypage-step-btn {
        padding: 5px 10px;
        font-size: 12px;
        width: 85px;
    }

    .favorite-people-v2-title {
        font-size: 16px;
        align-items: flex-start;
        gap: 6px;
        padding-left: 12px;
        flex-direction: row; /* 明示 */
        align-items: center;
    }

    .favorite-people-v2-title .subtitle-en {
        font-size: 12px;
    }

    .favorite-people-v2-notice {
        padding: 14px 8px;
    }

    .matching-accuracy-description {
        padding: 14px 20px;
    }

    .support-title {
        padding-left: 12px;
    }

    .favorite-people-v2-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .favorite-person-v2-card {
        padding: 16px 12px;
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
        gap: 10px 12px;
        align-items: start;
    }

    .favorite-person-v2-number {
        width: 30px;
        height: 30px;
        font-size: 13px;
        grid-column: 1;
        grid-row: 1 / span 2;
        align-self: center;
    }

    .favorite-person-v2-content {
        margin-bottom: 0;
        min-width: unset;
        max-width: unset;
        grid-column: 2;
        grid-row: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-self: center;
    }

    .favorite-person-v2-name {
        font-size: 16px;
        margin-bottom: 0;
    }

    .favorite-person-v2-controls {
        margin-left: 0;
        justify-content: flex-end;
        width: 100%;
        gap: 12px;
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .favorite-person-v2-toggle {
        width: 80px;
        height: 38px;
    }

    .favorite-person-v2-slider:before {
        height: 30px;
        width: 30px;
        left: 4px;
        bottom: 4px;
    }

    .favorite-person-v2-toggle input:checked + .favorite-person-v2-slider:before {
        transform: translateX(42px);
    }

    .favorite-person-v2-edit-btn {
        padding: 9px 26px;
        font-size: 14px;
        min-width: 95px;
    }

    /* 人数チェックバナー - モバイル縦並び */
    .banner-content {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        gap: 16px;
    }
    
    .banner-image-container {
        order: 1;
        align-self: center;
    }
    
    .banner-image {
        width: 200px;
        height: 140px;
    }
    
    .banner-text {
        order: 2;
    }
    
    .banner-action {
        order: 3;
        align-self: center;
    }
    
    .banner-title {
        font-size: 16px;
    }
    
    .banner-description {
        font-size: 13px;
    }
    
    .people-count-btn {
        padding: 10px 16px;
        font-size: 13px;
    }

    .count-check-banner .banner-content {
        flex-direction: column;
        text-align: center;
        padding: 32px 20px;
        gap: 16px;
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.5) 100%),
                    linear-gradient(135deg, rgba(79, 209, 197, 0.25) 0%, rgba(20, 184, 171, 0.25) 100%),
                    url('../img/banner.jpg');
        background-size: cover;
        background-position: center;
    }

    .count-check-banner .banner-text {
        order: 1;
    }

    .count-check-banner .banner-btn {
        order: 2;
    }

    .count-check-banner .banner-title {
        font-size: 20px;
        margin-bottom: 12px;
        justify-content: center;
    }

    .count-check-banner .banner-title .title-icon {
        width: 24px;
        height: 24px;
    }

    .count-check-banner .banner-tagline {
        font-size: 16px;
        margin: 8px 0 8px 0;
    }

    .count-check-banner .banner-cta-text {
        font-size: 14px;
        margin-bottom: 16px;
    }

    .banner-btn {
        padding: 12px 24px;
        font-size: 14px;
        width: 100%;
        justify-content: center;
        border-radius: 50px;
    }

    .mypage-header-content {
        gap: 4px;
        padding: 0 8px;
        justify-content: space-between;
        height: 48px;
    }

    .mypage-logo-icon i {
        font-size: 22px !important;
    }

    .mypage-logo-text {
        font-size: 18px;
    }

    .mypage-logout-btn {
        padding: 6px 12px;
        font-size: 13px;
    }

    .main-layout {
        padding-top: 48px;
    }

    /*.main-content {
        padding: 0 8px 0 8px;
    }*/

    .main-content .breadcrumb-wrapper {
        padding: 5px 0;
        margin: 0 -8px 20px -8px;
    }

    .main-content .page-title {
        font-size: 11px;
        padding: 0 12px;
    }

    .mypage-mobile-nav {
        top: 44px;
        height: calc(100vh - 44px);
    }

    .mypage-mobile-nav-list {
        padding: 4px 6px;
    }

    .emphasis-number {
        font-size: 15px;
    }

    .level-col {
        width: 80px;
        padding-left: 16px !important;
    }
}

@media (max-width: 480px) {
    .mypage-mobile-nav {
        width: 260px;
    }

    .mypage-mobile-nav-list {
        padding: 20px 15px;
    }

    .mypage-navigation-section {
        padding: 10px 8px;
    }

    .favorite-people-v2-section {
        padding: 12px 12px 24px 12px;
    }

    .favorite-people-v2-title {
        font-size: 16px;
        flex-direction: row;
        align-items: flex-start;
        gap: 4px;
        padding-left: 12px;
        align-items: center;
    }

    .favorite-people-v2-title .subtitle-en {
        font-size: 11px;
    }

    .favorite-people-v2-notice {
        padding: 12px 6px;
    }

    .matching-accuracy-description {
        padding: 12px 20px;
    }

    .matching-accuracy-title {
        padding-left: 0;
    }

    .favorite-people-v2-description {
        padding-left: 12px;
    }

    .support-title {
        padding-left: 12px;
    }

    .support-grid {
        gap: 20px;
        padding: 20px 6px;
    }

    .support-image {
        height: 110px;
    }

    .favorite-person-v2-card {
        padding: 16px 12px;
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
        gap: 8px 12px;
        align-items: start;
    }

    .favorite-person-v2-number {
        width: 32px;
        height: 32px;
        font-size: 14px;
        grid-column: 1;
        grid-row: 1;
        align-self: center;
    }

    .favorite-person-v2-content {
        margin-bottom: 0;
        min-width: unset;
        max-width: unset;
        grid-column: 2;
        grid-row: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-self: center;
    }

    .favorite-person-v2-name {
        font-size: 15px;
        margin-bottom: 0;
    }

    .favorite-person-v2-status {
        font-size: 11px;
        padding: 3px 10px;
    }

    .favorite-person-v2-controls {
        gap: 12px;
        margin-left: 0;
        justify-content: flex-end;
        width: 100%;
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .favorite-person-v2-toggle {
        width: 80px;
        height: 38px;
    }

    .favorite-person-v2-slider:before {
        height: 30px;
        width: 30px;
        left: 4px;
        bottom: 4px;
    }

    .favorite-person-v2-toggle input:checked + .favorite-person-v2-slider:before {
        transform: translateX(42px);
    }

    .favorite-person-v2-edit-btn {
        padding: 9px 26px;
        font-size: 14px;
        min-width: 95px;
    }

    .emphasis-number {
        font-size: 14px;
    }

    .search-start-btn {
        max-width: 280px;
    }
}

/* Footer Styles */
.mypage-footer {
    margin-top: 80px;
    margin-bottom: 0;
    padding: 24px 0 0 0;
    text-align: center;
    border-top: 1px solid rgba(148, 163, 184, 0.15);
}

.mypage-footer p {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 400;
    margin: 0;
    padding-bottom: 0;
    font-family: 'Noto Sans JP', sans-serif;
}

@media (max-width: 768px) {
    .mypage-footer {
        margin-top: 60px;
        margin-bottom: 0;
        padding: 20px 0 0 0;
    }

    .mypage-footer p {
        font-size: 11px;
    }
}



/*favorite register*/
.breadcrumb-wrapper {
    background: rgb(255, 255, 255);
    backdrop-filter: blur(10px);
    padding: 3px 0;
    margin: 0 -30px 10px -30px;
}

.page-title {
    font-size: 13px;
    font-weight: 400;
    color: #4a5d7a;
    margin: 0;
    text-align: left;
    font-family: 'Noto Sans JP', sans-serif;
    padding: 0 30px;
}

.favorite-register-section {
    max-width: 850px;
    margin: 0 auto;
    padding: 20px 28px;
    background: #ffffff;
    border-radius: 2px;
    position: relative;
}

.favorite-register-header {
    margin-bottom: 28px;
    text-align: left;
}

.favorite-register-title {
    font-size: 19px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 12px;
    font-family: 'Noto Sans JP', sans-serif;
    padding-bottom: 12px;
    padding-left: 0;
    position: relative;
    display: flex;
    align-items: center;
}

.favorite-register-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #00AFC1 0%, #00AFC1 90px, #e5e7eb 90px, #e5e7eb 100%);
}

.favorite-register-description {
    font-size: 14px;
    color: #5a6c7d;
    line-height: 1.7;
    font-family: 'Noto Sans JP', sans-serif;
}

.favorite-register-required-note {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #dc2626;
    font-weight: 500;
    margin-top: 8px;
    font-family: 'Noto Sans JP', sans-serif;
    padding: 6px 12px;
    background: linear-gradient(135deg, #fef9f9 0%, #fef2f2 100%);
    border-radius: 3px;
}

.favorite-register-notice-box {
    display: flex;
    gap: 16px;
    padding: 18px;
    background: #f4fbfb;
    border: 1px solid #a7e9e3;
    border-left: 5px solid #4fd1c5;
    border-radius: 16px;
    margin-top: 28px;
}

.favorite-register-notice-icon {
    flex-shrink: 0;
    color: #14b8ab;
    display: flex;
    align-items: flex-start;
    padding-top: 2px;
}

.favorite-register-notice-content {
    flex: 1;
}

.favorite-register-confirm-notice-title {
    font-size: 16px;
    font-weight: 600;
    color: #14b8ab;
    margin-bottom: 12px;
    font-family: 'Noto Sans JP', sans-serif;
}

.favorite-register-notice-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.favorite-register-notice-list li {
    font-size: 14px;
    color: #374151;
    line-height: 1.6;
    padding-left: 20px;
    position: relative;
    font-family: 'Noto Sans JP', sans-serif;
}

.favorite-register-notice-list li::before {
    content: '•';
    position: absolute;
    left: 8px;
    color: #4fd1c5;
    font-weight: bold;
}

.favorite-register-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.favorite-register-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.favorite-register-form-row-compact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.favorite-register-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.favorite-register-form-label {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    font-family: 'Noto Sans JP', sans-serif;
}

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

.favorite-register-form-input,
.favorite-register-form-select {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-size: 14px;
    color: #374151;
    background: #ffffff;
    font-family: 'Noto Sans JP', sans-serif;
    transition: all 0.3s ease;
}

.favorite-register-form-input:focus,
.favorite-register-form-select:focus {
    outline: none;
    border-color: #1cd4c5;
    box-shadow: 0 0 0 3px rgba(28, 212, 197, 0.1);
}

.favorite-register-form-input:hover,
.favorite-register-form-select:hover {
    border-color: #94a3b8;
}

.favorite-register-form-input::placeholder {
    color: #9ca3af;
}

.favorite-register-radio-group {
    display: flex;
    gap: 24px;
    align-items: center;
}

.favorite-register-radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #374151;
    cursor: pointer;
    font-family: 'Noto Sans JP', sans-serif;
    transition: color 0.2s ease;
}

.favorite-register-radio-label:hover {
    color: #1cd4c5;
}

.favorite-register-radio-label input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #FF8A80;
}

.favorite-register-form-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid #e5e7eb;
}

.favorite-register-btn-cancel,
.favorite-register-btn-submit {
    padding: 11px 28px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Noto Sans JP', sans-serif;
    border: none;
}

.favorite-register-btn-cancel {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #5a6c7d;
}

.favorite-register-btn-cancel:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.favorite-register-btn-submit {
    background: linear-gradient(135deg, #00AFC1, #00c5d4);
    color: white;
}

.favorite-register-btn-submit:hover {
    background: linear-gradient(135deg, #009db0, #00b5c5);
    transform: translateY(-1px);
}

.favorite-register-btn-submit:focus,
.favorite-register-btn-cancel:focus {
    outline: none;
}

.favorite-register-btn-submit:active,
.favorite-register-btn-cancel:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .favorite-register-section {
        padding: 18px;
    }

    .favorite-register-title {
        font-size: 17px;
        padding-left: 0;
    }

    .favorite-register-description {
        font-size: 13px;
    }

    .favorite-register-required-note {
        font-size: 12px;
        padding: 5px 10px;
    }

    .favorite-register-required-note svg {
        width: 14px;
        height: 14px;
    }

    .favorite-register-notice-box {
        padding: 16px;
        gap: 12px;
        margin-top: 24px;
    }

    .favorite-register-confirm-notice-title {
        font-size: 15px;
    }

    .favorite-register-notice-list li {
        font-size: 13px;
    }

    .favorite-register-form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .favorite-register-form-row-compact {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .favorite-register-form-actions {
        flex-direction: column-reverse;
    }

    .favorite-register-btn-cancel,
    .favorite-register-btn-submit {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .favorite-register-section {
        padding: 14px;
    }

    .favorite-register-header {
        margin-bottom: 20px;
    }

    .favorite-register-title {
        font-size: 16px;
        padding-left: 0;
    }

    .favorite-register-description {
        font-size: 12px;
    }

    .favorite-register-required-note {
        font-size: 11px;
        padding: 4px 8px;
    }

    .favorite-register-required-note svg {
        width: 12px;
        height: 12px;
    }

    .favorite-register-notice-box {
        padding: 14px;
        gap: 10px;
        margin-top: 18px;
    }

    .favorite-register-notice-icon {
        padding-top: 2px;
    }

    .favorite-register-confirm-notice-title {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .favorite-register-notice-list {
        gap: 6px;
    }

    .favorite-register-notice-list li {
        font-size: 12px;
        padding-left: 16px;
    }

    .favorite-register-notice-list li::before {
        left: 4px;
    }

    .favorite-register-form {
        gap: 18px;
    }

    .favorite-register-form-label {
        font-size: 13px;
    }

    .favorite-register-form-input,
    .favorite-register-form-select {
        padding: 10px 12px;
        font-size: 13px;
    }

    .favorite-register-btn-cancel,
    .favorite-register-btn-submit {
        padding: 10px 20px;
        font-size: 13px;
    }
}
/*my regiser*/
.pr-section {
    max-width: 850px;
    margin: 0 auto;
    padding: 20px 28px;
    background: #ffffff;
    border-radius: 2px;
    position: relative;
}

.pr-header {
    margin-bottom: 28px;
}

.pr-title {
    font-size: 19px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 12px;
    font-family: 'Noto Sans JP', sans-serif;
    padding-bottom: 12px;
    padding-left: 0;
    position: relative;
}

.pr-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, rgb(79, 209, 197) 0%, rgb(79, 209, 197) 90px, #e5e7eb 90px, #e5e7eb 100%);
}

.pr-description {
    font-size: 14px;
    color: #5a6c7d;
    margin-bottom: 8px;
    line-height: 1.7;
    font-family: 'Noto Sans JP', sans-serif;
}

.pr-required-note {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #dc2626;
    font-weight: 500;
    margin-top: 8px;
    font-family: 'Noto Sans JP', sans-serif;
    padding: 6px 12px;
    background: linear-gradient(135deg, #fef9f9 0%, #fef2f2 100%);
    border-radius: 3px;
}

.pr-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pr-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.pr-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pr-form-label {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    font-family: 'Noto Sans JP', sans-serif;
}

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

.pr-form-input,
.pr-form-select {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-size: 14px;
    color: #374151;
    background: #ffffff;
    font-family: 'Noto Sans JP', sans-serif;
    transition: all 0.3s ease;
}

.pr-form-input:focus,
.pr-form-select:focus {
    outline: none;
    border-color: #1cd4c5;
    box-shadow: 0 0 0 3px rgba(28, 212, 197, 0.1);
}

.pr-form-input:hover,
.pr-form-select:hover {
    border-color: #94a3b8;
}

.pr-form-input::placeholder {
    color: #9ca3af;
}

.pr-radio-group {
    display: flex;
    gap: 24px;
    align-items: center;
}

.pr-radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #374151;
    cursor: pointer;
    font-family: 'Noto Sans JP', sans-serif;
    transition: color 0.2s ease;
}

.pr-radio-label:hover {
    color: #1cd4c5;
}

.pr-radio-label input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #17a2b8;
}

.pr-form-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.pr-btn-cancel,
.pr-btn-submit {
    padding: 11px 28px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Noto Sans JP', sans-serif;
    border: none;
}

.pr-btn-cancel {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #5a6c7d;
}

.pr-btn-cancel:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    transform: translateY(-1px);
}

.pr-btn-submit {
    background: linear-gradient(135deg, #4fd1c5, #14b8ab);
    color: white;
}

.pr-btn-submit:hover {
    background: linear-gradient(135deg, #14b8ab, #0e9d92);
    transform: translateY(-1px);
}

.pr-btn-submit:focus,
.pr-btn-cancel:focus {
    outline: none;
}

.pr-btn-submit:active,
.pr-btn-cancel:active {
    transform: translateY(0);
}

.pr-verification-box {
    background: linear-gradient(135deg, rgba(79, 209, 197, 0.05) 0%, rgba(20, 184, 171, 0.05) 100%);
    border: 2px solid #4fd1c5;
    border-radius: 6px;
    padding: 32px;
    margin-top: 28px;
    box-shadow: 0 4px 16px rgba(79, 209, 197, 0.1);
}

.pr-verification-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.pr-verification-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #4fd1c5 0%, #14b8ab 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(79, 209, 197, 0.25);
}

.pr-verification-icon svg path {
    stroke: white;
}

.pr-verification-title {
    font-size: 20px;
    font-weight: 700;
    color: #1F2937;
}

.pr-verification-text {
    font-size: 15px;
    color: #4B5563;
    line-height: 1.7;
    margin-bottom: 16px;
}

.pr-verification-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}

.pr-verification-list li {
    font-size: 14px;
    color: #6B7280;
    padding-left: 24px;
    position: relative;
    margin-bottom: 12px;
    line-height: 1.6;
}

.pr-verification-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #1cd4c5;
    font-weight: bold;
    font-size: 16px;
}

.pr-verification-btn {
    width: auto;
    max-width: 360px;
    margin: 0 auto;
    display: block;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 700;
    background: linear-gradient(135deg, #4fd1c5 0%, #14b8ab 100%);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Noto Sans JP', sans-serif;
    box-shadow: 0 4px 12px rgba(79, 209, 197, 0.3);
    position: relative;
    overflow: hidden;
}

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

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

.pr-verification-btn:hover {
    background: linear-gradient(135deg, #14b8ab 0%, #0e9d92 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 209, 197, 0.4);
}

@media (max-width: 768px) {
    .pr-section {
        padding: 18px;
    }

    .pr-header {
        margin-bottom: 20px;
    }

    .pr-title {
        font-size: 17px;
        margin-bottom: 8px;
        padding-left: 0;
    }

    .pr-title::after {
        width: 100%;
    }

    .pr-description {
        font-size: 13px;
    }

    .pr-required-note {
        font-size: 12px;
        padding: 5px 10px;
    }

    .pr-form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .pr-form-actions {
        flex-direction: column-reverse;
        gap: 12px;
    }

    .pr-btn-cancel,
    .pr-btn-submit {
        width: 100%;
    }

    .pr-verification-box {
        padding: 20px;
        margin-top: 20px;
    }

    .pr-verification-header {
        gap: 10px;
        margin-bottom: 12px;
    }

    .pr-verification-icon {
        width: 36px;
        height: 36px;
    }

    .pr-verification-icon svg {
        width: 22px;
        height: 22px;
    }

    .pr-verification-title {
        font-size: 16px;
    }

    .pr-verification-text {
        font-size: 13px;
        line-height: 1.6;
        margin-bottom: 12px;
    }

    .pr-verification-list {
        margin-bottom: 20px;
    }

    .pr-verification-list li {
        font-size: 12px;
        padding-left: 20px;
        margin-bottom: 10px;
    }

    .pr-verification-list li::before {
        font-size: 14px;
    }

    .pr-verification-btn {
        width: 100%;
        max-width: 100%;
        padding: 14px 24px;
        font-size: 15px;
    }
}

.mypage-logo-text {
    font-family: 'Kaisei Opti', serif;
}

/*account*/

/* Sections Container */
.account-sections-container {
    max-width: 650px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* Section Styles */
.account-info-section {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.account-section-title {
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 16px;
    font-family: 'Noto Sans JP', sans-serif;
    padding-bottom: 0;
}

/* Info Card */
.account-info-card {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.account-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #dae4e5;
}

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

.account-info-label {
    font-size: 14px;
    font-weight: 500;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 8px;
}

.account-info-icon {
    width: 18px;
    height: 18px;
    color: #64748b;
    flex-shrink: 0;
}

.account-info-value-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.account-info-value {
    font-size: 14px;
    font-weight: 500;
    color: #2c3e50;
}

.account-info-input {
    font-size: 14px;
    font-weight: 500;
    color: #2c3e50;
    padding: 6px 10px;
    border: 1px solid #dae4e5;
    border-radius: 4px;
    background: #f8fafc;
    font-family: 'Noto Sans JP', sans-serif;
    min-width: 200px;
}

.account-info-input:focus {
    outline: none;
    border-color: #4fd1c5;
    background: #ffffff;
    box-shadow: none;
}

.account-info-input:focus-visible {
    outline: none;
    border-color: #4fd1c5;
    background: #ffffff;
    box-shadow: none;
}

.account-edit-btn {
    background: rgb(244, 251, 251);
    border: 1px solid #b8e8e8;
    color: #475569;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Noto Sans JP', sans-serif;
}

.account-edit-btn:hover {
    background: #d0f0f8;
    border-color: #a0d8d8;
}

.account-edit-btn:focus {
    outline: none;
    box-shadow: none;
}

.account-edit-btn:focus-visible {
    outline: none;
    box-shadow: none;
}

.account-save-btn {
    background: #4fd1c5;
    border: 1px solid #4fd1c5;
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Noto Sans JP', sans-serif;
}

.account-save-btn:hover {
    background: #3fbdb1;
    border-color: #3fbdb1;
}

.account-save-btn:focus {
    outline: none;
    box-shadow: none;
}

.account-save-btn:focus-visible {
    outline: none;
    box-shadow: none;
}

/* Subscription Toggle */
.account-subscription-toggle {
    background: rgb(244, 251, 251);
    border: none;
    border-radius: 6px;
    padding: 16px 20px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.account-subscription-toggle:hover {
    background: #d0f0f8;
}

.account-subscription-toggle:focus {
    outline: none;
    box-shadow: none;
}

.account-subscription-toggle:focus-visible {
    outline: none;
    box-shadow: none;
}

.account-subscription-toggle.active .account-toggle-icon {
    transform: rotate(180deg);
}

.account-subscription-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.account-status-label {
    font-size: 14px;
    font-weight: 500;
    color: #475569;
}

.account-status-badge-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.account-plan-status {
    display: inline-flex;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    width: fit-content;
}

.account-status-active {
    background: #ffffff;
    color: #475569;
    border: 1px solid #dae4e5;
}

.account-status-inactive {
    background: #f1f5f9;
    color: #94a3b8;
}

.account-toggle-icon {
    width: 20px;
    height: 20px;
    color: #64748b;
    transition: transform 0.3s ease;
}

.account-plan-price {
    font-size: 20px;
    font-weight: 700;
    color: #1cd4c5;
    font-family: 'Noto Sans JP', sans-serif;
}

/* Subscription Details Wrapper (Accordion) */
.account-subscription-details-wrapper {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.account-subscription-details-wrapper.active {
    max-height: 500px;
}

.account-subscription-details {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 16px 20px 12px 20px;
}

.account-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f0f4f8;
}

.account-detail-row:last-child {
    border-bottom: none;
}

.account-detail-label {
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
}

.account-detail-value {
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
}

.account-cancel-btn {
    background: transparent;
    border: 1px solid #dae4e5;
    color: #64748b;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Noto Sans JP', sans-serif;
    margin: 16px 20px 8px 20px;
}

.account-cancel-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.account-cancel-btn:focus {
    outline: none;
    box-shadow: none;
}

.account-cancel-btn:focus-visible {
    outline: none;
    box-shadow: none;
}

/* No Subscription State */
.account-no-subscription {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.account-subscribe-btn {
    background: #e0f8fc;
    border: none;
    color: #475569;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Noto Sans JP', sans-serif;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.account-subscribe-btn:hover {
    background: #d0f0f8;
}

.account-subscribe-btn:focus {
    outline: none;
    box-shadow: none;
}

.account-subscribe-btn:focus-visible {
    outline: none;
    box-shadow: none;
}

/* Section Header with right-aligned buttons */
.account-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

/* Payment History Link */
.account-view-history-btn {
    display: inline-block;
    background: transparent;
    border: none;
    color: #64748b;
    padding: 0;
    border-radius: 0;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s ease;
    font-family: 'Noto Sans JP', sans-serif;
    text-decoration: underline;
    white-space: nowrap;
}

.account-view-history-btn:hover {
    color: #475569;
}

.account-view-history-btn:focus {
    outline: none;
    box-shadow: none;
}

.account-view-history-btn:focus-visible {
    outline: none;
    box-shadow: none;
}


/* Account Deletion Section */
.account-danger-section {
    border: none;
    background: transparent;
    padding-top: 16px;
    border-top: 1px solid #f0f4f8;
}

.account-danger-section .account-section-title {
    margin-bottom: 8px;
    margin-top: 0;
}

.account-danger-description {
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.6;
    margin: 0;
}

.account-delete-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    padding: 0;
    border-radius: 0;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s ease;
    font-family: 'Noto Sans JP', sans-serif;
    width: fit-content;
    text-decoration: underline;
    white-space: nowrap;
}

.account-delete-btn:hover {
    color: #64748b;
}

.account-delete-btn:focus {
    outline: none;
    box-shadow: none;
}

.account-delete-btn:focus-visible {
    outline: none;
    box-shadow: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    /*.main-content {
        padding: 0 20px 0 20px;
    }*/

    .breadcrumb-wrapper {
        margin: 0 -20px 10px -20px;
    }

    .account-sections-container {
        gap: 16px;
    }

    .account-info-section {
        padding: 16px 16px;
    }

    .account-section-title {
        font-size: 16px;
        margin-bottom: 14px;
    }

    .account-info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .account-info-value-group {
        width: 100%;
        justify-content: space-between;
    }

    .account-subscription-header {
        flex-direction: column;
        gap: 12px;
    }

    .account-plan-price {
        font-size: 20px;
    }

    .account-history-main {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .account-sections-container {
        max-width: 100%;
    }

    .account-info-section {
        padding: 16px;
        border-radius: 12px;
    }

    .account-section-title {
        font-size: 16px;
        margin-bottom: 16px;
    }

    .account-info-item {
        padding: 14px 16px;
    }

    .account-subscription-card {
        padding: 20px;
    }

    .account-plan-name {
        font-size: 16px;
    }

    .account-plan-price {
        font-size: 18px;
    }

    .account-cancel-btn {
        padding: 10px 20px;
        font-size: 13px;
    }

    .account-history-item {
        padding: 16px;
    }

    .account-history-product {
        font-size: 15px;
    }

    .account-history-price {
        font-size: 16px;
    }
}

/*account detele*/

.delete-confirm-container {
    width: 100%;
    max-width: 100%;

     background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;

}

.delete-confirm-dialog {
    background: white;
    border-radius: 12px;
    padding: 40px 32px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.delete-confirm-icon-wrapper {
    width: 56px;
    height: 56px;
    background: #e6f7f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.delete-confirm-icon {
    width: 28px;
    height: 28px;
    color: #00afc1;
}

.delete-confirm-heading {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    text-align: center;
    margin-bottom: 12px;
    line-height: 1.4;
}

.delete-confirm-message {
    font-size: 14px;
    color: #64748b;
    line-height: 1.7;
    text-align: center;
    margin-bottom: 28px;
}

.delete-confirm-actions {
    display: flex;
    gap: 12px;
}

.delete-confirm-button {
    flex: 1;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    border: none;
    font-family: 'Noto Sans JP', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
}

.delete-confirm-cancel {
    background: white;
    color: #475569;
    border: 2px solid #e2e8f0;
}

.delete-confirm-cancel:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.delete-confirm-delete {
    background: #00afc1;
    color: white;
    border: 2px solid #00afc1;
}

.delete-confirm-delete:hover {
    background: #009db0;
    border-color: #009db0;
}

@media (max-width: 480px) {
    .delete-confirm-dialog {
        padding: 32px 24px;
    }

    .delete-confirm-heading {
        font-size: 18px;
    }

    .delete-confirm-message {
        font-size: 13px;
    }

    .delete-confirm-actions {
        flex-direction: column;
    }

    .delete-confirm-button {
        width: 100%;
    }
}


/* Payment History Specific Styles */

.payment-history-section {
    max-width: 650px;
    margin: 0 auto 40px;
    padding: 20px 0 32px;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
    font-family: 'Noto Sans JP', sans-serif;
}

.payment-history-table-wrapper {
    overflow-x: auto;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    background: #ffffff;
}

.payment-history-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Noto Sans JP', sans-serif;
}

.payment-history-table thead {
    background: #f8fafc;
}

.payment-history-table th {
    padding: 12px 16px;
    text-align: left;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    border-bottom: 2px solid #e5e7eb;
}

.payment-history-table td {
    padding: 14px 16px;
    font-size: 14px;
    color: #2c3e50;
    border-bottom: 1px solid #f1f5f9;
}

.payment-history-table tbody tr {
    transition: background-color 0.2s ease;
}

.payment-history-table tbody tr:hover {
    background: #f8fafc;
}

.payment-history-table tbody tr:last-child td {
    border-bottom: none;
}

.payment-history-table td:last-child {
    font-weight: 600;
    color: #10b981;
}

.payment-history-back {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.payment-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid #cbd5e1;
    color: #64748b;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Noto Sans JP', sans-serif;
    text-decoration: none;
}

.payment-back-btn:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #475569;
}

.payment-back-icon {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.payment-back-btn:hover .payment-back-icon {
    transform: translateX(-4px);
}

.payment-back-btn:focus {
    outline: none;
    box-shadow: none;
}

.payment-back-btn:focus-visible {
    outline: none;
    box-shadow: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .payment-history-table th,
    .payment-history-table td {
        padding: 10px 12px;
        font-size: 13px;
    }

    .payment-history-table th {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .payment-history-table th,
    .payment-history-table td {
        padding: 8px 10px;
        font-size: 12px;
    }

    .payment-history-table th {
        font-size: 11px;
    }
}


/* Payment Page Specific Styles */

.payment-products-section {
    max-width: 600px;
    margin: 0 auto;
}

.payment-section-title {
    font-size: 22px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 24px;
    text-align: center;
    font-family: 'Noto Sans JP', sans-serif;
}

.payment-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 24px;
}

/* Product Card */
.payment-product-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid #e5e7eb;
}

.payment-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: #00AEC2;
}

.payment-product-image {
    width: 100%;
    height: 120px;
    overflow: hidden;
    padding: 0;
    position: relative;
}

.payment-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.payment-product-card:hover .payment-product-image img {
    transform: scale(1.05);
}

.payment-product-info {
    padding: 12px 16px 16px;
    text-align: center;
}

.payment-product-name {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 6px;
    font-family: 'Noto Sans JP', sans-serif;
}

.payment-product-description {
    font-size: 12px;
    font-weight: 400;
    color: #64748b;
    margin-bottom: 10px;
    line-height: 1.5;
    font-family: 'Noto Sans JP', sans-serif;
}

.payment-product-price {
    font-size: 17px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 12px;
    font-family: 'Noto Sans JP', sans-serif;
}

.payment-price-unit {
    font-size: 14px;
    font-weight: 400;
    color: #6b7280;
}

.payment-select-btn {
    display: inline-block;
    background: #00AEC2;
    border: none;
    color: white;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Noto Sans JP', sans-serif;
    box-shadow: 0 1px 3px rgba(0, 174, 194, 0.2);
    width: 100%;
    text-align: center;
    text-decoration: none;
}

.payment-select-btn:hover {
    background: #008c9e;
    transform: translateY(-2px);
    box-shadow: 0 2px 6px rgba(0, 174, 194, 0.25);
}

.payment-select-btn:active {
    transform: translateY(0);
}

.payment-select-btn:focus {
    outline: none;
    box-shadow: none;
}

.payment-select-btn:focus-visible {
    outline: none;
    box-shadow: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .payment-cards-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .payment-section-title {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .payment-cards-grid {
        gap: 16px;
    }

    .payment-product-image {
        height: 120px;
    }

    .payment-product-name {
        font-size: 16px;
    }

    .payment-product-price {
        font-size: 17px;
    }
    .payment-products-section{
        padding:0 20px 0 20px
    }
}

@media (max-width: 480px) {
    .payment-product-info {
        padding: 16px 16px 20px;
    }

    .payment-product-name {
        font-size: 15px;
        margin-bottom: 8px;
    }

    .payment-product-price {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .payment-select-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
    .payment-products-section{
        padding:0 20px 0 20px
    }
}



/* Header Styles */
.checkout-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
    z-index: 1002;
    transition: all 0.3s ease;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
}

.checkout-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 44px;
    position: relative;
}

/* Logo Styles */
.checkout-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.checkout-logo:hover {
    transform: scale(1.05);
}

.checkout-logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkout-logo-text {
    font-family: 'Kaisei Opti', serif;
    font-size: 19px;
    font-weight: 500;
    color: #2c3e50;
    text-shadow: none;
    letter-spacing: 1px;
}

/* Header Actions */
.checkout-header-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.checkout-logout-btn {
    background: transparent;
    border: 1.5px solid #cbd5e1;
    color: #475569;
    padding: 5px 12px;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 12px;
}

.checkout-logout-btn:hover {
    border-color: #FF6B6B;
    color: #FF6B6B;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.2);
}

/* Mobile menu button */
.checkout-mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 4px;
    padding: 8px;
}

.checkout-mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: #2c3e50;
    transition: all 0.3s ease;
}

/* Main Layout */
.checkout-main-layout {
    display: flex;
    min-height: 100vh;
    padding-top: 44px;
    background: #ffffff;
}

/* Left Navigation */
.checkout-left-nav {
    width: 240px;
    background: #273449;
    backdrop-filter: blur(20px);
    border-top: none;
    border-left: 1px solid rgba(148, 163, 184, 0.25);
    border-right: 1px solid rgba(148, 163, 184, 0.25);
    padding: 30px 0;
    position: fixed;
    top: 44px;
    height: calc(100vh - 44px);
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(148, 163, 184, 0.1);
}

.checkout-nav-menu {
    list-style: none;
    padding: 0 20px;
}

.checkout-nav-item {
    margin-bottom: 4px;
}

.checkout-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    text-decoration: none;
    color: #b8c5d6;
    font-size: 13px;
    font-weight: 500;
    font-family: 'Noto Sans JP', sans-serif;
    border-radius: 2px;
    transition: all 0.3s ease;
    position: relative;
}

.checkout-nav-link:focus {
    outline: none;
}

.checkout-nav-link:active {
    outline: none;
}

.checkout-nav-link.checkout-active {
    color: #ffffff;
    background: linear-gradient(90deg, rgba(255, 107, 107, 0.2) 0%, rgba(255, 107, 107, 0.15) 100%);
    font-weight: 600;
}

.checkout-nav-icon {
    width: 20px;
    height: 20px;
    opacity: 0.7;
}

.checkout-nav-link.checkout-active .checkout-nav-icon {
    opacity: 1;
}

.checkout-nav-link.checkout-active::after {
    display: none;
}

/* Main Content */
.checkout-main-content {
    flex: 1;
    margin-left: 240px;
    padding: 0 30px 30px 30px;
    background: rgb(255, 255, 255);
    border-radius: 0;
    box-shadow: -2px 0 15px rgba(148, 163, 184, 0.08);
    position: relative;
    z-index: 1;
}

/* Breadcrumb inside Main Content */
.checkout-main-content .breadcrumb-wrapper {
    background: rgb(255, 255, 255);
    backdrop-filter: blur(10px);
    padding: 3px 0;
    margin: 0 -30px 10px -30px;
}

.checkout-main-content .page-title {
    font-size: 13px;
    font-weight: 400;
    color: #4a5d7a;
    margin: 0;
    text-align: left;
    font-family: 'Noto Sans JP', sans-serif;
    padding: 0 30px;
}

/* Form Section */
.checkout-form-section {
    max-width: 850px;
    margin: 0 auto;
}

/* Two Column Layout */
.checkout-two-column {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 32px;
}

/* Column Title */
.checkout-column-title {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 16px;
    font-family: 'Noto Sans JP', sans-serif;
}

/* Specific styling for left column title */
.checkout-product-column .checkout-column-title {
    font-size: 15px;
    margin-bottom: 14px;
}

/* Left Column - Product Info */
.checkout-product-column {
    background: #ffffff;
    border-radius: 4px;
    padding: 20px;
    height: fit-content;
    position: sticky;
    top: 74px;
}

.checkout-product-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 16px;
}

.checkout-product-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.checkout-product-name {
    font-size: 17px;
    font-weight: 600;
    color: #2c3e50;
}

.checkout-product-desc {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
}

.checkout-product-price {
    margin-top: 6px;
}

.checkout-price-currency {
    font-size: 15px;
    font-weight: 600;
    color: #000000;
}

.checkout-price-amount {
    font-size: 17px;
    font-weight: 700;
    color: #000000;
}

.checkout-price-unit {
    font-size: 14px;
    font-weight: 400;
    color: #6b7280;
    margin-left: 4px;
}

/* Total Section */
.checkout-total-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.checkout-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
}

.checkout-total-label {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

.checkout-total-value {
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
}

.checkout-total-currency {
    font-size: 12px;
    font-weight: 500;
}

.checkout-total-final {
    padding-top: 10px;
    border-top: 2px solid #e5e7eb;
}

.checkout-total-final .checkout-total-label {
    font-size: 15px;
    color: #2c3e50;
    font-weight: 600;
}

.checkout-total-final .checkout-total-value {
    font-size: 17px;
    font-weight: 700;
    color: #000000;
}

.checkout-total-final .checkout-total-currency {
    font-size: 14px;
    font-weight: 600;
}

/* Right Column - Payment Form */
.checkout-payment-column {
    background: #ffffff;
    border-radius: 4px;
    padding: 24px;
}

/* Form Container */
.checkout-form-container {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    padding: 24px 28px 28px 28px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.checkout-form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #e5e7eb;
}

.checkout-form-title {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    font-family: 'Noto Sans JP', sans-serif;
}

.checkout-card-icons {
    font-size: 28px;
    color: #cbd5e1;
}

/* Form Styles */
.checkout-payment-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.checkout-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.checkout-form-label {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    font-family: 'Noto Sans JP', sans-serif;
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkout-form-label i {
    font-size: 14px;
    color: #9ca3af;
}

.checkout-form-input {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-size: 15px;
    font-family: 'Noto Sans JP', sans-serif;
    color: #2c3e50;
    transition: all 0.3s ease;
    background: #fafbfc;
}

.checkout-form-input:focus {
    outline: none;
    border-color: #10b981;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.08);
}

.checkout-form-input::placeholder {
    color: #9ca3af;
}

.checkout-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Security Notice */
.checkout-security-notice {
    /* display: flex;
    align-items: center; */
    gap: 10px;
    padding: 12px 16px;
    background: #f4fbfb;
    border: 1px solid #d1fae5;
    border-radius: 4px;
    margin-top: 8px;
}

.checkout-lock-icon {
    font-size: 20px;
    color: #059669;
    flex-shrink: 0;
}

.checkout-security-notice span {
    font-size: 12px;
    color: #065f46;
    font-weight: 500;
}

/* Button Group */
.checkout-button-group {
    display: flex;
    gap: 12px;
    margin-top: 12px;
    justify-content: flex-end;
}

/* Cancel Button */
.checkout-cancel-btn {
    background: transparent;
    border: none;
    color: #6b7280;
    padding: 15px 32px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Noto Sans JP', sans-serif;
}

.checkout-cancel-btn:hover {
    background: transparent;
    color: #4b5563;
}

.checkout-cancel-btn:active {
    transform: translateY(0);
}

/* Submit Button */
.checkout-submit-btn {
    background: #00AEC2;
    border: none;
    color: white;
    padding: 15px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Noto Sans JP', sans-serif;
    box-shadow: 0 2px 6px rgba(0, 174, 194, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.checkout-submit-btn i {
    font-size: 16px;
}

.checkout-submit-btn:hover {
    background: #008fa0;
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(0, 174, 194, 0.25);
}

.checkout-submit-btn:active {
    transform: translateY(0);
}

/* Mobile Navigation */
.checkout-mobile-nav {
    position: fixed;
    top: 44px;
    right: 0;
    width: 300px;
    height: calc(100vh - 44px);
    background: #273449;
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(148, 163, 184, 0.25);
    transform: translateX(100%);
    transition: all 0.3s ease;
    z-index: 1001;
    box-shadow: -4px 0 8px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
}

.checkout-mobile-nav.active {
    transform: translateX(0);
}

.checkout-mobile-nav-list {
    list-style: none;
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.checkout-mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    text-decoration: none;
    color: #b8c5d6;
    font-size: 16px;
    font-weight: 500;
    border-radius: 2px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.checkout-mobile-nav-link.checkout-active {
    color: #ffffff;
    background: linear-gradient(90deg, rgba(255, 107, 107, 0.2) 0%, rgba(255, 107, 107, 0.15) 100%);
    font-weight: 600;
}

.checkout-mobile-nav-link .checkout-nav-icon {
    opacity: 0.7;
}

.checkout-mobile-nav-link.checkout-active .checkout-nav-icon {
    opacity: 1;
}

.checkout-mobile-nav-link:focus {
    outline: none;
}

.checkout-mobile-nav-link:active {
    outline: none;
}

.checkout-mobile-logout-btn {
    background: transparent;
    border: 2px solid #9ca3af;
    color: #9ca3af;
    padding: 14px 24px;
    border-radius: 2px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
    margin-left: auto;
    margin-right: auto;
    display: block;
    width: fit-content;
}

.checkout-mobile-logout-btn:hover {
    border-color: #d1d5db;
    color: #d1d5db;
    transform: translateY(-2px);
}

/* Mobile menu overlay */
.checkout-mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.checkout-mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .checkout-left-nav {
        display: none;
    }

    .checkout-main-content {
        margin-left: 0;
        padding: 0 20px 30px 20px;
    }

    .checkout-main-content .breadcrumb-wrapper {
        margin: 0 -20px 30px -20px;
    }

    .checkout-main-content .page-title {
        padding: 0 20px;
    }

    .checkout-mobile-menu-btn {
        display: flex;
    }

    .checkout-logout-btn {
        display: none;
    }

    .checkout-two-column {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .checkout-product-column {
        position: static;
    }
}

@media (max-width: 768px) {
    .checkout-header .checkout-header-content {
        height: 48px;
    }

    .checkout-main-layout {
        padding-top: 48px;
    }

    .checkout-main-content {
        padding: 0 16px 20px 16px;
    }

    .checkout-main-content .breadcrumb-wrapper {
        padding: 5px 0;
        margin: 0 -16px 20px -16px;
    }

    .checkout-main-content .page-title {
        font-size: 11px;
        padding: 0 16px;
    }

    .checkout-two-column {
        gap: 20px;
    }

    .checkout-column-title {
        font-size: 16px;
        margin-bottom: 16px;
    }

    .checkout-product-column,
    .checkout-payment-column {
        padding: 20px;
    }

    .checkout-product-name {
        font-size: 18px;
    }

    .checkout-product-desc {
        font-size: 13px;
    }

    .checkout-price-currency {
        font-size: 14px;
    }

    .checkout-price-amount {
        font-size: 16px;
    }

    .checkout-form-row {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .checkout-mobile-nav {
        top: 44px;
        height: calc(100vh - 44px);
    }

    .checkout-mobile-nav-list {
        padding: 4px 6px;
    }
}

@media (max-width: 480px) {
    .checkout-form-section {
        max-width: 100%;
    }

    .checkout-main-content {
        padding: 0 12px 20px 12px;
    }

    .checkout-main-content .breadcrumb-wrapper {
        margin: 0 -12px 20px -12px;
    }

    .checkout-main-content .page-title {
        padding: 0 12px;
    }

    .checkout-two-column {
        gap: 16px;
    }

    .checkout-column-title {
        font-size: 15px;
        margin-bottom: 14px;
    }

    .checkout-product-column,
    .checkout-payment-column {
        padding: 18px;
    }

    .checkout-product-name {
        font-size: 17px;
    }

    .checkout-product-desc {
        font-size: 12px;
    }

    .checkout-price-currency {
        font-size: 13px;
    }

    .checkout-price-amount {
        font-size: 15px;
    }

    .checkout-price-unit {
        font-size: 13px;
    }

    .checkout-total-label {
        font-size: 13px;
    }

    .checkout-total-value {
        font-size: 15px;
    }

    .checkout-total-final .checkout-total-label {
        font-size: 15px;
    }

    .checkout-total-final .checkout-total-value {
        font-size: 16px;
    }

    .checkout-total-final .checkout-total-currency {
        font-size: 13px;
    }

    .checkout-form-input {
        padding: 10px 12px;
        font-size: 14px;
    }

    .checkout-form-label {
        font-size: 12px;
    }

    .checkout-button-group {
        flex-direction: column;
        gap: 10px;
    }

    .checkout-cancel-btn,
    .checkout-submit-btn {
        padding: 13px 24px;
        font-size: 15px;
        width: 100%;
    }

    .checkout-security-notice {
        padding: 10px 14px;
    }

    .checkout-security-notice span {
        font-size: 11px;
    }
}


/* Thank You Page Specific Styles */

/* Main Content */
.thankyou-main {
    min-height: calc(100vh - 44px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
}

.thankyou-container {
    max-width: 480px;
    width: 100%;
    margin: 0 auto;
}

.thankyou-content {
    background: #ffffff;
    border-radius: 12px;
    padding: 32px 28px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    text-align: center;
}

/* Success Icon */
.thankyou-icon {
    margin-bottom: 20px;
}

.thankyou-icon i {
    font-size: 48px;
    color: #10b981;
    animation: checkAnimation 0.6s ease-in-out;
}

@keyframes checkAnimation {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Thank You Message */
.thankyou-title {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
    font-family: 'Noto Sans JP', sans-serif;
}

.thankyou-description {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 24px;
    font-family: 'Noto Sans JP', sans-serif;
}

/* Purchase Details */
.thankyou-details {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 24px;
    border: 1px solid #e5e7eb;
}

.thankyou-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.thankyou-detail-row:not(:last-child) {
    border-bottom: 1px solid #e5e7eb;
}

.thankyou-detail-label {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

.thankyou-detail-value {
    font-size: 14px;
    color: #2c3e50;
    font-weight: 600;
}

/* Action Buttons */
.thankyou-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.thankyou-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: 'Noto Sans JP', sans-serif;
}

.thankyou-btn-primary {
    background: #00AEC2;
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 174, 194, 0.2);
}

.thankyou-btn-primary:hover {
    background: #008fa0;
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(0, 174, 194, 0.25);
}

.thankyou-btn-secondary {
    background: #ffffff;
    color: #2c3e50;
    border: 1px solid #e5e7eb;
}

.thankyou-btn-secondary:hover {
    background: #f8f9fa;
    border-color: #d1d5db;
}


/* Tablet Responsive */
@media (max-width: 768px) {
    .thankyou-main {
        padding: 80px 20px 40px;
        align-items: flex-start;
    }

    .thankyou-content {
        padding: 28px 24px;
    }

    .thankyou-icon i {
        font-size: 44px;
    }

    .thankyou-title {
        font-size: 18px;
    }

    .thankyou-description {
        font-size: 13px;
    }

    .thankyou-btn {
        font-size: 13px;
        padding: 11px 20px;
    }
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .thankyou-main {
        padding: 60px 15px 30px;
        align-items: flex-start;
    }

    .thankyou-content {
        padding: 24px 20px;
        border-radius: 10px;
    }

    .thankyou-icon i {
        font-size: 40px;
    }

    .thankyou-title {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .thankyou-description {
        font-size: 13px;
        margin-bottom: 20px;
    }

    .thankyou-details {
        padding: 14px;
    }

    .thankyou-detail-label {
        font-size: 12px;
    }

    .thankyou-detail-value {
        font-size: 13px;
    }

    .thankyou-btn {
        font-size: 13px;
        padding: 10px 20px;
    }
}



/* Header Styles */
.notif-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
    z-index: 1002;
    transition: all 0.3s ease;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
}

.notif-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 44px;
    position: relative;
}

/* Logo Styles */
.notif-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.notif-logo:hover {
    transform: scale(1.05);
}

.notif-logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.notif-logo-text {
    font-family: 'Kaisei Opti', serif;
    font-size: 19px;
    font-weight: 500;
    color: #2c3e50;
    text-shadow: none;
}

/* Header Actions */
.notif-header-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.notif-logout-btn {
    background: transparent;
    border: 1.5px solid #cbd5e1;
    color: #475569;
    padding: 5px 12px;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 12px;
}

.notif-logout-btn:hover {
    border-color: #FF6B6B;
    color: #FF6B6B;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.2);
}

/* Mobile menu button */
.notif-mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 4px;
    padding: 8px;
}

.notif-mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: #2c3e50;
    transition: all 0.3s ease;
}

.notif-mobile-menu-btn:focus {
    outline: none;
    box-shadow: none;
}

.notif-mobile-menu-btn:focus-visible {
    outline: none;
    box-shadow: none;
}

.notif-mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

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

.notif-mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Main Layout */
.notif-main-layout {
    display: flex;
    min-height: 100vh;
    padding-top: 44px;
    background: #ffffff;
}

/* Left Navigation */
.notif-left-nav {
    width: 240px;
    background: rgb(255, 255, 255);
    backdrop-filter: blur(20px);
    border-top: none;
    border-left: 1px solid rgba(148, 163, 184, 0.25);
    border-right: 1px solid rgba(148, 163, 184, 0.25);
    padding: 30px 0;
    position: fixed;
    top: 44px;
    height: calc(100vh - 44px);
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(148, 163, 184, 0.1);
}

.notif-nav-menu {
    list-style: none;
    padding: 0 20px;
}

.notif-nav-item {
    margin-bottom: 4px;
}

.notif-nav-link,
.mypage-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    text-decoration: none;
    color: #64748b;
    font-size: 13px;
    font-weight: 500;
    font-family: 'Noto Sans JP', sans-serif;
    border-radius: 2px;
    transition: all 0.3s ease;
    position: relative;
}

.notif-nav-link.notif-active,
.mypage-nav-link.active {
    color: #2c3e50;
    background: linear-gradient(90deg, rgba(0, 174, 194, 0.15) 0%, rgba(0, 174, 194, 0.08) 100%);
    font-weight: 600;
}

.notif-nav-icon,
.nav-icon {
    width: 20px;
    height: 20px;
    opacity: 0.7;
}

.notif-nav-link:hover .notif-nav-icon,
.notif-nav-link.notif-active .notif-nav-icon,
.mypage-nav-link:hover .nav-icon,
.mypage-nav-link.active .nav-icon {
    opacity: 1;
}

/* Main Content */
.notif-main-content {
    flex: 1;
    margin-left: 240px;
    padding: 0 30px 0 0;
    background: rgb(255, 255, 255);
    border-radius: 0;
    box-shadow: -2px 0 15px rgba(148, 163, 184, 0.08);
    position: relative;
    z-index: 1;
    height: calc(100vh - 44px);
    overflow: hidden;
}

.notif-content-header {
    background: rgb(255, 255, 255);
    backdrop-filter: blur(10px);
    padding: 3px 0;
    margin: 0 -30px 30px -30px;
}

.notif-page-title {
    font-size: 13px;
    font-weight: 400;
    color: #4a5d7a;
    margin: 0;
    text-align: left;
    font-family: 'Noto Sans JP', sans-serif;
    padding: 0 30px;
}

/* Main Container */
.notif-container {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 0;
    height: 100%;
    max-width: 850px;
    margin: 0;
}

/* Match List */
.notif-match-list {
    background: #ffffff;
    border: none;
    border-right: 1px solid #dae4e5;
    border-radius: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: none;
    height: 100%;
}

.notif-list-header {
    padding: 20px 18px;
    border-radius: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    background: #ffffff;
    position: relative;
}

.notif-header-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #00AEC2, #00AEC2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 174, 194, 0.2);
    position: relative;
    flex-shrink: 0;
}

.notif-header-icon svg {
    width: 20px;
    height: 20px;
    color: white;
}

.notif-header-icon i {
    font-size: 20px;
    color: white;
}

.notif-list-title {
    font-size: 16px;
    font-weight: 600;
    color: #0f172a;
    font-family: 'Noto Sans JP', sans-serif;
    text-align: left;
    line-height: 1.3;
    flex: 1;
    letter-spacing: -0.2px;
}

.notif-subtitle {
    display: block;
    font-size: 12px;
    font-weight: 300;
    color: #64748b;
    margin-top: 3px;
    letter-spacing: 0.2px;
    opacity: 0.85;
}

.notif-matches {
    flex: 1;
    overflow-y: auto;
}

.notif-match-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 18px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid #dae4e5;
}

.notif-match-item:hover {
    background: rgba(0, 174, 194, 0.03);
}

.notif-match-item.notif-match-active {
    background: #f4fbfb;
}

.notif-match-name-wrapper {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.notif-match-header {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.notif-heart-icon {
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #00AEC2, #00AEC2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    flex-shrink: 0;
    margin-top: 2px;
}

.notif-heart-icon.bi {
    font-size: 20px;
    line-height: 1;
}

.notif-match-message {
    font-size: 12px;
    color: #64748b;
    font-weight: 400;
    margin-left: 30px;
}

.notif-match-name {
    font-size: 13.5px;
    font-weight: 500;
    color: #2c3e50;
    line-height: 1.55;
    flex: 1;
}

.notif-match-date {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 500;
    text-align: right;
    padding-top: 2px;
}

/* Chat Area */
.notif-chat-area {
    background: #ffffff;
    border: none;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: none;
    position: relative;
    height: 100%;
}


.notif-chat-header {
    padding: 12px 20px;
    padding-top: 15px;
    border-bottom: 1px solid #dae4e5;
    background: #00AEC2;
}

.notif-chat-back-btn {
    display: none ;
}

.notif-chat-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.notif-chat-user-name {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
}

.notif-chat-user-birth {
    font-size: 13px;
    font-weight: 400;
    color: #ffffff;
}

/* Messages */
.notif-chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: #fefefe;
}

.notif-message {
    display: flex;
    animation: notifMessageFadeIn 0.3s ease;
}

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

.notif-message-received {
    align-self: flex-start;
}



.notif-message-sent {
    align-self: flex-end;
    justify-content: flex-end;
    width: 100%;
}

.notif-message-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-width: 75%;
}

.notif-message-received .notif-message-content {
    align-items: flex-start;
}

.notif-message-sent .notif-message-content {
    align-items: flex-end;
}

.notif-message-bubble {
    padding: 12px 16px;
    border-radius: 12px;
    word-wrap: break-word;
}

.notif-message-received .notif-message-bubble {
    background: #f1f5f9;
    color: #2c3e50;
    border-bottom-left-radius: 4px;
}

.notif-message-sent .notif-message-bubble {
    background: #f4fbfb;
    color: #2c3e50;
    border-bottom-right-radius: 4px;
}

.notif-message-bubble p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.notif-message-time {
    font-size: 11px;
    color: #94a3b8;
    padding: 0 4px;
}

/* Chat Input */
.notif-chat-input {
    padding: 20px;
    border-top: 2px solid #dae4e5;
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
}

.notif-message-input {
    flex: 1;
    padding: 12px 18px;
    border: 2px solid #dae4e5;
    border-radius: 20px;
    font-size: 14px;
    font-family: 'Noto Sans JP', sans-serif;
    color: #2c3e50;
    transition: all 0.3s ease;
    outline: none;
}

.notif-message-input:focus {
    border-color: #00AEC2;
    box-shadow: 0 0 0 3px rgba(0, 174, 194, 0.1);
}

.notif-send-btn {
    width: 44px;
    height: 44px;
    border: none;
    background: linear-gradient(135deg, #00AEC2, #00AEC2);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 174, 194, 0.3);
}

.notif-send-btn:hover {
    background: linear-gradient(135deg, #008FA8, #008FA8);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 174, 194, 0.4);
}

.notif-send-btn svg {
    width: 20px;
    height: 20px;
    color: white;
}

/* Mobile Navigation */
.notif-mobile-nav {
    position: fixed;
    top: 44px;
    right: 0;
    width: 300px;
    height: calc(100vh - 44px);
    background: #00AFC1;
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(148, 163, 184, 0.25);
    transform: translateX(100%);
    transition: all 0.3s ease;
    z-index: 1001;
    box-shadow: -4px 0 8px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
}

.notif-mobile-nav.active {
    transform: translateX(0);
}

.notif-mobile-nav-list {
    list-style: none;
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.notif-mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    text-decoration: none;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.notif-mobile-nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
}

.notif-mobile-nav-link.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.2);
    font-weight: 600;
    border-radius: 12px;
}

.notif-mobile-nav-link .notif-nav-icon {
    opacity: 0.9;
}

.notif-mobile-nav-link.active .notif-nav-icon {
    opacity: 1;
}

.notif-mobile-nav-link:focus {
    outline: none;
}

.notif-mobile-nav-link:active {
    outline: none;
}

.notif-mobile-nav-link:focus-visible {
    outline: none;
    box-shadow: none;
}

.notif-mobile-logout-btn {
    background: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
    padding: 14px 24px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
    margin-left: auto;
    margin-right: auto;
    display: block;
    width: fit-content;
}

.notif-mobile-logout-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.notif-mobile-logout-btn:focus {
    outline: none;
    box-shadow: none;
}

.notif-mobile-logout-btn:focus-visible {
    outline: none;
    box-shadow: none;
}

/* Match Notification Overlay */
.match-notification-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 175, 193, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.match-notification-overlay.show {
    opacity: 1;
    visibility: visible;
}

.match-notification-content {
    text-align: center;
    animation: fadeInScale 0.6s ease;
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.match-heart {
    font-size: 120px;
    color: #ffffff;
    margin-bottom: 30px;
    animation: heartBeat 1.2s ease infinite;
}

@keyframes heartBeat {
    0%, 100% {
        transform: scale(1);
    }
    10%, 30% {
        transform: scale(1.1);
    }
    20%, 40% {
        transform: scale(1);
    }
}

.match-message {
    font-size: 32px;
    font-weight: 600;
    color: #ffffff;
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Mobile menu overlay */
.notif-mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.notif-mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .notif-left-nav {
        display: none;
    }

    .notif-main-content {
        margin-left: 0;
        padding: 0;
    }

    .notif-content-header {
        display: none;
    }

    .notif-mobile-menu-btn {
        display: flex;
    }

    .notif-logout-btn {
        display: none;
    }

    .notif-container {
        display: block;
        position: relative;
        height: 100%;
        width: 100%;
        max-width: 100%;
    }

    .notif-match-list {
        display: flex;
        height: 100%;
        width: 100%;
        max-height: none;
        border-right: none;
        border-radius: 0;
    }

    .notif-chat-area {
        display: none !important;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        z-index: 10;
        background: #ffffff;
    }

    .notif-chat-area.notif-mobile-active {
        display: flex !important;
        flex-direction: column;
    }

    .notif-chat-back-btn {
        display: flex !important;
        align-items: center;
        gap: 8px;
        background: none;
        border: none;
        color: #ffffff;
        cursor: pointer;
        font-size: 14px;
        font-weight: 500;
        padding: 0;
        margin-bottom: 4px;
        transition: all 0.2s ease;
    }

    .notif-chat-back-btn:hover {
        opacity: 0.8;
    }

    .notif-chat-back-btn svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 768px) {

    input {
        font-size: 16px !important;
    }
    .notif-header .notif-header-content {
        height: 48px;
    }

    .notif-main-layout {
        padding-top: 48px;
    }

    .notif-main-content {
        padding: 0;
        height: calc(100dvh - 48px);
    }

    .notif-message-input {
        min-width: 0;
    }

    .notif-container {
        height: 100%;
    }

    .notif-match-list {
        height: 100%;
        max-height: none;
    }

    .notif-list-header {
        padding: 18px 12px;
        gap: 12px;
    }

    .notif-header-icon {
        width: 38px;
        height: 38px;
        border-radius: 9px;
    }

    .notif-header-icon::before {
        border-radius: 9px;
    }

    .notif-header-icon svg {
        width: 19px;
        height: 19px;
    }

    .notif-header-icon i {
        font-size: 19px;
    }

    .notif-list-title {
        font-size: 15px;
    }

    .notif-subtitle {
        font-size: 12px;
        margin-top: 3px;
    }

    .notif-match-item {
        padding: 14px 12px;
    }

    .notif-match-header {
        gap: 9px;
    }

    .notif-heart-icon {
        width: 19px;
        height: 19px;
        margin-top: 1px;
    }

    .notif-heart-icon.bi {
        font-size: 19px;
    }

    .notif-match-name {
        font-size: 13px;
    }

    .notif-chat-header {
        padding: 16px;
    }

    .notif-chat-messages {
        padding: 16px;
    }

    .notif-chat-input {
        padding: 16px;
        gap: 8px;
    }

    .notif-message-content {
        max-width: 85%;
    }

    .notif-mobile-nav {
        top: 48px;
        height: calc(100vh - 48px);
    }

    .notif-mobile-nav-list {
        padding: 4px 6px;
    }
}

@media (max-width: 480px) {
    .notif-match-list {
        height: 100%;
        max-height: none;
    }

    .notif-list-header {
        padding: 16px 10px;
        gap: 10px;
    }

    .notif-header-icon {
        width: 36px;
        height: 36px;
        border-radius: 8px;
    }

    .notif-header-icon svg {
        width: 18px;
        height: 18px;
    }

    .notif-header-icon i {
        font-size: 18px;
    }

    .notif-list-title {
        font-size: 14px;
    }

    .notif-subtitle {
        font-size: 11px;
    }

    .notif-match-item {
        padding: 12px 10px;
    }

    .notif-match-header {
        gap: 8px;
    }

    .notif-heart-icon {
        width: 18px;
        height: 18px;
        margin-top: 1px;
    }

    .notif-heart-icon.bi {
        font-size: 18px;
    }

    .notif-match-name {
        font-size: 12.5px;
    }

    .notif-match-date {
        font-size: 11px;
    }

    .notif-chat-user-name {
        font-size: 15px;
    }

    .notif-message-bubble {
        padding: 10px 14px;
    }

    .notif-message-bubble p {
        font-size: 13px;
    }

    .match-heart {
        font-size: 80px;
        margin-bottom: 20px;
    }

    .match-message {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .match-heart {
        font-size: 60px;
        margin-bottom: 16px;
    }

    .match-message {
        font-size: 20px;
    }
}

/* Usage History Page Styles */

/* Main Content Container */
.usage-history-main-content {
    flex: 1;
    margin-left: 240px;
    padding: 0 30px 40px 30px;
    background: rgb(255, 255, 255);
    border-radius: 0;
    box-shadow: -2px 0 15px rgba(148, 163, 184, 0.08);
    position: relative;
    z-index: 1;
}

.usage-history-main-content .breadcrumb-wrapper {
    background: rgb(255, 255, 255);
    backdrop-filter: blur(10px);
    padding: 3px 0;
    margin: 0 -30px 10px -30px;
}

.usage-history-main-content .page-title {
    font-size: 13px;
    font-weight: 400;
    color: #4a5d7a;
    margin: 0;
    text-align: left;
    font-family: 'Noto Sans JP', sans-serif;
    padding: 0 30px;
}

/* Usage History Section */
.usage-history-section {
    max-width: 700px;
    margin: 40px auto;
}

.usage-history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 16px;
    border-bottom: 2px solid rgba(148, 163, 184, 0.15);
}

.usage-history-title {
    font-size: 22px;
    font-weight: 600;
    color: #1f2937;
    font-family: 'Noto Sans JP', sans-serif;
    margin: 0;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 400;
    color: #6b7280;
    text-decoration: none;
    transition: all 0.2s ease;
    font-family: 'Noto Sans JP', sans-serif;
}

.back-link:hover {
    color: #374151;
}

.back-icon {
    width: 18px;
    height: 18px;
}

/* History Table */
.history-table-wrapper {
    background: linear-gradient(135deg, #ffffff 0%, #fefefe 50%, #fafbfc 100%);
    border-radius: 12px;
    padding: 0;
    border: 1px solid rgba(148, 163, 184, 0.12);
    overflow: hidden;
}

.history-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Noto Sans JP', sans-serif;
}

.history-table thead {
    background: linear-gradient(135deg, #f8f9fa 0%, #f3f4f6 100%);
}

.history-table th {
    padding: 16px 24px;
    text-align: left;
    font-size: 13px;
    font-weight: 600;
    color: #4b5563;
    text-transform: none;
    letter-spacing: 0.02em;
    border-bottom: 2px solid rgba(148, 163, 184, 0.15);
}

.history-table th:last-child {
    text-align: center;
}

.history-table tbody tr {
    border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

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

.history-table td {
    padding: 18px 24px;
    font-size: 14px;
    color: #374151;
    font-weight: 400;
}

.history-table td:last-child {
    text-align: center;
}

.people-count {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    color: #0369a1;
    font-weight: 600;
    font-size: 15px;
    border-radius: 20px;
    border: 1px solid rgba(3, 105, 161, 0.15);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .usage-history-main-content {
        margin-left: 0;
        padding: 0 20px 30px 20px;
    }

    .usage-history-main-content .breadcrumb-wrapper {
        margin: 0 -20px 30px -20px;
    }

    .usage-history-main-content .page-title {
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .usage-history-section {
        margin: 30px auto;
    }

    .usage-history-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        margin-bottom: 24px;
    }

    .usage-history-title {
        font-size: 20px;
    }

    .back-link {
        font-size: 13px;
    }

    .back-icon {
        width: 16px;
        height: 16px;
    }

    .history-table-wrapper {
        border-radius: 8px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .history-table {
        width: 100%;
    }

    .history-table th {
        padding: 14px 12px;
        font-size: 12px;
    }

    .history-table td {
        padding: 16px 12px;
        font-size: 13px;
    }

    .people-count {
        padding: 5px 14px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .usage-history-main-content {
        padding: 0 16px 24px 16px;
    }

    .usage-history-section {
        margin: 24px auto;
    }

    .usage-history-title {
        font-size: 18px;
    }

    .history-table {
        width: 100%;
    }

    .history-table th {
        padding: 12px 10px;
        font-size: 11px;
    }

    .history-table td {
        padding: 14px 10px;
        font-size: 12px;
    }

    .people-count {
        padding: 4px 12px;
        font-size: 13px;
    }
}




/*---radio button-----------*/
#Type-B label{
	margin-bottom:15px;
	padding-left:30px;
	display:block;
	font-size:18px;
	cursor:pointer;
	position:relative;
}
#Type-B input{
	position:absolute;
	z-index:-1;
	opacity:0;
}
#Type-B .indicator{
	width:20px;
	height:20px;
	border-radius:50%;
	background:#eee;
	position:absolute;
	top:2px;
	left:0;
}
#Type-B label input:disabled ~ .indicator{
	background:#ccc;
	opacity:0.6;
	pointer-events:none;
}
#Type-B .indicator::after{
	content:"";
	width:0;
	height:0;
	display:block;
	border-radius:50%;
	background:#009adb;
	position:absolute;
	top:50%;
	left:50%;
	transition: all .3s;
}
#Type-B label input:checked ~ .indicator::after{
	width:14px;
	height:14px;
	top:3px;
	left:3px;
}
#Type-B .typeB-radio .indicator::after{

    background:#17a2b8;
}
#Type-B .typeB-checkbox input:disabled ~ .indicator::after,
#Type-B .typeB-radio input:disabled ~ .indicator::after{
	background:#7b7b7b;
}

/*---radio button-----------*/



@media (max-width: 768px) {
    #Type-B label {
        font-size: 3vw;
    }


    #Type-B .indicator{
	width: 3vw;
	height:3vw;
    }


    #Type-B label input:checked ~ .indicator::after{
	width:2vw;
	height:2vw;
	top:0.5vw;
	left:0.5vw;
}


#Type-B label{

	padding-left:4vw;

}
}










/*loading*/
  .spinner {
    border: 2px solid #f3f3f3;
    border-top: 2px solid #3498db;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    margin: auto;
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }




/*明滅*/
#payment-message{
    display:inline-block;
    margin-left:8px;
    animation: breathing 1.6s ease-in-out infinite;
}

@keyframes breathing {
    0%   { opacity: 1; }
    50%  { opacity: 0.35; }
    100% { opacity: 1; }
}


















/* Main Content */
.count-check-main-content {
    flex: 1;
    margin-left: 280px;
    padding: 80px 40px 40px 40px;
    background: #fafbfc;
    position: relative;
    z-index: 1;
}

.count-check-content-header {
    margin-bottom: 40px;
}

.count-check-page-title {
    font-size: 14px;
    font-weight: 400;
    color: #6b7280;
    margin-bottom: 8px;
    text-align: left;
    font-family: 'Noto Sans JP', sans-serif;
}

/* Main Content Container */
.people-count-main-content {
    flex: 1;
    margin-left: 240px;
    padding: 0 30px 0 30px;
    background: rgb(255, 255, 255);
    border-radius: 0;
    box-shadow: -2px 0 15px rgba(148, 163, 184, 0.08);
    position: relative;
    z-index: 1;
}

.people-count-main-content .breadcrumb-wrapper {
    background: rgb(255, 255, 255);
    backdrop-filter: blur(10px);
    padding: 3px 0;
    margin: 0 -30px 10px -30px;
}

.people-count-main-content .page-title {
    font-size: 13px;
    font-weight: 400;
    color: #4a5d7a;
    margin: 0;
    text-align: left;
    font-family: 'Noto Sans JP', sans-serif;
    padding: 0 30px;
}

/* Introduction Section - Minimal & Stylish */
.count-check-intro-section {
    max-width: 850px;
    background: #f4fbfb;
    border-radius: 8px;
    padding: 16px 28px;
    margin: 24px auto 24px auto;
    position: relative;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.intro-header {
    margin-bottom: 10px;
}

.intro-label {
    display: inline-block;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #999;
    text-transform: uppercase;
    margin-bottom: 4px;
    font-family: 'Noto Sans JP', sans-serif;
}

.count-check-intro-title {
    font-size: 16px;
    font-weight: 600;
    color: #00AEC2;
    margin: 0;
    font-family: 'Noto Sans JP', sans-serif;
    letter-spacing: 0.02em;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 6px;
}

.intro-title-icon {
    width: 18px;
    height: 18px;
    color: #999;
    flex-shrink: 0;
}

.intro-content {
    position: relative;
}

.intro-main-text {
    font-size: 13px;
    color: #333;
    line-height: 1.6;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 0.01em;
}

.intro-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-left: 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: #555;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    line-height: 1.5;
}

.feature-icon {
    width: 20px;
    height: 20px;
    color: #00AEC2;
    flex-shrink: 0;
    stroke-width: 2.5;
}

.feature-marker {
    width: 4px;
    height: 4px;
    background: #00AEC2;
    border-radius: 50%;
    flex-shrink: 0;
}

.intro-quote {
    position: relative;
    padding: 10px 0 0 0;
    margin-top: 12px;
}

.quote-line {
    display: none;
}

.quote-text {
    font-size: 13px;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 4px;
    font-family: 'Noto Sans JP', sans-serif;
    letter-spacing: 0.01em;
    line-height: 1.5;
}

.quote-subtext {
    font-size: 13px;
    color: #666;
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
    font-family: 'Noto Sans JP', sans-serif;
    letter-spacing: 0.005em;
}

/* Usage History Link Section */
.usage-history-section {
    max-width: 850px;
    margin: 20px auto;
}

.usage-history-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 400;
    color: #6b7280;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Noto Sans JP', sans-serif;
}

.usage-history-link:hover {
    color: #374151;
}

.usage-history-icon {
    width: 16px;
    height: 16px;
}

@media (max-width: 768px) {
    .usage-history-section {
        margin: 16px auto;
    }

    .usage-history-link {
        font-size: 13px;
    }

    .usage-history-icon {
        width: 15px;
        height: 15px;
    }

    .count-check-intro-section {
        padding: 14px 18px;
        border-left-width: 2px;
        margin-bottom: 20px;
    }

    .intro-header {
        margin-bottom: 8px;
    }

    .count-check-intro-title {
        font-size: 15px;
    }

    .intro-main-text {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .intro-features {
        gap: 4px;
        margin-bottom: 10px;
    }

    .feature-item {
        font-size: 11px;
        gap: 7px;
    }

    .feature-icon {
        width: 18px;
        height: 18px;
    }

    .intro-quote {
        padding: 8px 0 0 12px;
        margin-top: 10px;
    }

    .quote-text {
        font-size: 12px;
        margin-bottom: 3px;
    }

    .quote-subtext {
        font-size: 10px;
    }
}

/* People Count Check Section */
.count-check-section {
    max-width: 850px;
    background: linear-gradient(135deg, #ffffff 0%, #fefefe 50%, #fafbfc 100%);
    border-radius: 12px;
    padding: 40px 50px;
    margin: 0 auto;
    box-shadow: 0 2px 12px rgba(148, 163, 184, 0.1);
    border: 1px solid rgba(148, 163, 184, 0.12);
    text-align: center;
}

/* Intro Section */
.count-check-intro {
    margin-bottom: 40px;
}

.count-check-title {
    font-size: 16px;
    font-weight: 400;
    color: #1f2937;
    margin-bottom: 16px;
    font-family: 'Noto Sans JP', sans-serif;
    letter-spacing: -0.3px;
}

.count-check-subtitle {
    font-size: 15px;
    color: #6b7280;
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    font-weight: 400;
}

/* Slot Machine Display */
.count-check-counter-container {
    margin: 50px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.count-check-slot-machine {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 50%, #7f1d1d 100%);
    border-radius: 12px;
    padding: 40px 50px;
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.3),
                0 2px 8px rgba(220, 38, 38, 0.2),
                inset 0 2px 8px rgba(255, 255, 255, 0.15);
    border: 3px solid rgba(255, 107, 107, 0.4);
    position: relative;
}

.count-check-slot-machine::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.3), rgba(220, 38, 38, 0.3));
    border-radius: 12px;
    z-index: -1;
    filter: blur(8px);
}

.count-check-slot-wrapper {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #ffffff 0%, #fff5f5 100%);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.15),
                inset 0 -2px 6px rgba(255, 255, 255, 0.4),
                0 2px 6px rgba(255, 107, 107, 0.2);
    border: 3px solid rgba(255, 255, 255, 0.5);
}

.count-check-slot-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.9), transparent);
    z-index: 2;
}

.count-check-slot-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.3), transparent);
    z-index: 2;
}

.count-check-slot-reel {
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: translateY(0);
    transition: transform 2.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.count-check-slot-number {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 56px;
    font-weight: 700;
    color: #dc2626;
    font-family: 'Noto Sans JP', sans-serif;
    text-shadow: 0 2px 6px rgba(220, 38, 38, 0.3);
}

.count-check-slot-unit {
    font-size: 36px;
    color: #ffffff;
    font-weight: 700;
    font-family: 'Noto Sans JP', sans-serif;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
}

.count-check-hearts-result {
    display: none;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    max-width: 800px;
}

.count-check-heart-icon {
    width: 48px;
    height: 48px;
    color: #FF6B6B;
    opacity: 0;
    transform: scale(0) rotate(-180deg);
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.count-check-heart-icon.show {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.count-check-heart-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 4px 8px rgba(255, 107, 107, 0.4));
    animation: countCheckHeartBeat 1.5s ease-in-out infinite;
}

@keyframes slotSpin {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-900px);
    }
}

/* Check Button - ミニマル */
.count-check-action {
    margin: 50px 0;
}

.count-check-btn {
    background: #1f2937;
    border: none;
    color: white;
    padding: 16px 48px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Noto Sans JP', sans-serif;
    box-shadow: 0 4px 20px rgba(31, 41, 55, 0.2);
    letter-spacing: 0.5px;
}

.count-check-btn:hover:not(:disabled) {
    background: #111827;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(31, 41, 55, 0.3);
}

.count-check-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Result Message */
.count-check-result-message {
    margin-top: 60px;
    padding: 40px;
    background: linear-gradient(135deg, rgba(255, 245, 245, 0.3) 0%, rgba(255, 255, 255, 0.5) 100%);
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.1);
    box-shadow: 0 2px 12px rgba(148, 163, 184, 0.08);
}

.count-check-message-content {
    text-align: center;
}

.count-check-message-title {
    font-size: 24px;
    font-weight: 500;
    color: #1f2937;
    margin-bottom: 16px;
    font-family: 'Noto Sans JP', sans-serif;
}

.count-check-message-text {
    font-size: 18px;
    color: #4b5563;
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.5;
}

.count-check-message-text span {
    /* font-size: 48px; */
    font-weight: 300;
    color: #1f2937;
    display: inline-block;
    margin: 0 8px;
}

/* Animations */
@keyframes countCheckPulse {
    0%, 100% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.05);
    }
    50% {
        transform: scale(0.95);
    }
    75% {
        transform: scale(1.03);
    }
}

@keyframes countCheckRotate {
    0% {
        transform: rotate(0deg) scale(1);
        opacity: 1;
    }
    50% {
        transform: rotate(180deg) scale(1.2);
        opacity: 0.5;
    }
    100% {
        transform: rotate(360deg) scale(0);
        opacity: 0;
    }
}

@keyframes countCheckHeartBeat {
    0%, 100% {
        transform: scale(1);
    }
    10% {
        transform: scale(1.1);
    }
    20% {
        transform: scale(1);
    }
    30% {
        transform: scale(1.1);
    }
    40% {
        transform: scale(1);
    }
}

@keyframes countCheckFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Navigation */
.count-check-mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 65vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
}

.count-check-mobile-nav.active {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
}

.count-check-mobile-nav-list {
    list-style: none;
    padding: 100px 30px 30px 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.count-check-mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    text-decoration: none;
    color: #2c3e50;
    font-size: 16px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.count-check-mobile-nav-link:hover {
    color: #2c3e50;
    background: rgba(0, 0, 0, 0.05);
}

.count-check-mobile-logout-btn {
    background: #718096;
    border: none;
    color: white;
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
}

.count-check-mobile-logout-btn:hover {
    background: #4a5568;
    transform: translateY(-2px);
}

/* Mobile menu overlay */
.count-check-mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 998;
}

.count-check-mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .count-check-left-nav {
        display: none;
    }

    .people-count-main-content {
        margin-left: 0;
        padding: 0 20px 30px 20px;
    }

    .people-count-main-content .breadcrumb-wrapper {
        margin: 0 -20px 30px -20px;
    }

    .people-count-main-content .page-title {
        padding: 0 20px;
    }

    .count-check-mobile-menu-btn {
        display: flex;
    }

    .count-check-logout-btn {
        display: none;
    }
}

@media (max-width: 768px) {

    .count-check-intro-section {
        padding: 28px 24px;
        border-radius: 2px;
    }

    .count-check-intro-title {
        font-size: 20px;
    }

    .count-check-intro-text p {
        font-size: 13px;
        line-height: 1.9;
    }

    .highlight-main {
        font-size: 16px;
    }

    .highlight-sub {
        font-size: 12px;
    }

    .count-check-section {
        max-width: 100%;
        padding: 32px 24px;
        border-radius: 10px;
    }

    .count-check-title {
        font-size: 15px;
    }

    .count-check-subtitle {
        font-size: 13px;
    }

    .count-check-intro {
        margin-bottom: 32px;
    }

    .count-check-counter-container {
        margin: 40px 0;
    }

    .count-check-slot-machine {
        padding: 28px 32px;
        gap: 10px;
    }

    .count-check-slot-wrapper {
        width: 70px;
        height: 70px;
    }

    .count-check-slot-number {
        width: 70px;
        height: 70px;
        font-size: 44px;
    }

    .count-check-slot-unit {
        font-size: 28px;
    }

    .count-check-heart-icon {
        width: 40px;
        height: 40px;
    }

    .count-check-action {
        margin: 40px 0;
    }

    .count-check-btn {
        padding: 14px 40px;
        font-size: 15px;
    }

    .count-check-header .header-content {
        height: 55px;
    }

    .count-check-main-layout {
        padding-top: 55px;
    }

    .count-check-mobile-nav {
        top: 55px;
        height: calc(100vh - 55px);
    }
}

@media (max-width: 480px) {
    .count-check-main-content {
        padding: 20px 16px;
    }

    .count-check-intro-section {
        padding: 24px 20px;
        border-radius: 2px;
    }

    .count-check-intro-title {
        font-size: 18px;
    }

    .count-check-intro-text p {
        font-size: 12px;
        line-height: 1.8;
    }

    .highlight-main {
        font-size: 15px;
    }

    .highlight-sub {
        font-size: 12px;
    }

    .count-check-section {
        padding: 28px 20px;
        border-radius: 8px;
    }

    .count-check-title {
        font-size: 14px;
    }

    .count-check-subtitle {
        font-size: 12px;
    }

    .count-check-intro {
        margin-bottom: 28px;
    }

    .count-check-counter-container {
        margin: 32px 0;
    }

    .count-check-slot-machine {
        padding: 24px 28px;
        gap: 8px;
    }

    .count-check-slot-wrapper {
        width: 60px;
        height: 60px;
    }

    .count-check-slot-number {
        width: 60px;
        height: 60px;
        font-size: 36px;
    }

    .count-check-slot-unit {
        font-size: 24px;
    }

    .count-check-heart-icon {
        width: 32px;
        height: 32px;
    }

    .count-check-action {
        margin: 32px 0;
    }

    .count-check-btn {
        padding: 12px 32px;
        font-size: 14px;
    }
}

.mypage-logo-text {
    font-family: 'Kaisei Opti', serif;
}






/* スロット関連 */
.slot {
    /* width: 90%;
    height: 500px; */


    width: 60vw;
    height: 40vw;
    /* overflow: hidden; */
    margin: auto;
    margin-top: 10px;
    border: solid 1px #333;
    background-color: aliceblue;
}
#slot-frame {
    /* height: 500px; */
height:100%;
    margin-left:0%;
    margin-right:0%;
    position: relative;
    overflow: hidden;
    border: solid 1px #333;


}
#slot-frame ul {
    list-style: none;
    padding-left: 2%;
    padding-right: 2%;
}
.reels {
    width: 33.3%;
    position: absolute;
}
.reels:nth-child(1) {

    left: 0;

} 
.reels:nth-child(2) {
    left: 33.3%;
}
.reels22222222222222222:nth-child(3) {
    right: 0;
}
.reels:nth-child(3) {
    left: 66.6%;
}
.reel {
    width:100%;
    aspect-ratio: 1 / 1;



/* 
    height: 270px; */
}

.reel img {
    display: block;
width:100%;
    /* height: 270px; */

}




/* #start-btn {
    position: absolute;
    width:250px;
    border-radius: 20px;
    top:85%;
    padding:10px 40px;
    font-size: 30px;
    line-height: 22px;
    font-weight: 100;
    background-color: #ef6c63;
    background-color: #ff7c73;;
    border: solid 1px #df4c43;

    color: #fff;
    -webkit-transition: 0.3s ease-out;
    transition: 0.3s ease-out;
} */
#start-btn2 {
    position: absolute;
    width:250px;
    border-radius: 20px;
    top:85%;
    padding:10px 40px;
    font-size: 30px;
    line-height: 22px;
    font-weight: 100;
    background-color: #ef6c63;
    background-color: #ff7c73;;
    border: solid 1px #df4c43;

    color: #fff;
    -webkit-transition: 0.3s ease-out;
    transition: 0.3s ease-out;
}
/* #start-btn:hover{
    width:250px;
    border-radius: 20px;
    top:85%;
    padding:10px 40px;
    font-size: 30px;
    line-height: 22px;
    font-weight: 200;
    background-color: #ef6c63;
    background-color: #ff4437;;
    border: solid 1px #d4473f;
  
    color: #fff;
    -webkit-transition: 0.3s ease-out;
    transition: 0.3s ease-out;
  } */
  #start-btn2:hover{
    width:250px;
    border-radius: 20px;
    top:85%;
    padding:10px 40px;
    font-size: 30px;
    line-height: 22px;
    font-weight: 200;
    background-color: #ef6c63;
    background-color: #ff4437;;
    border: solid 1px #d4473f;
  
    color: #fff;
    -webkit-transition: 0.3s ease-out;
    transition: 0.3s ease-out;
  }







#start-btn:active {
    -webkit-transform: translateY(4px);
    transform: translateY(4px);
    border-bottom: none;
}










.tx2222222222222222 {
    position: absolute;
    font-Size: 40px;
    line-height: 60px;
width:100%;
height:24%;

left:50%;
color:rgba(255, 255, 255, 1);

    border:solid 1px #000000;

    background-color:#000000;
    opacity: 0.7;
    z-index: 10;
}


.tx1 {
    position: absolute;
    font-Size: 40px;
    line-height: 60px;
    width:100%;
    height:88%;
    padding-left:3%;
    padding-right:3%;
    top:12%;
    left:100%;
    color:rgba(255, 255, 255, 1);
    background-color:#000000;
    opacity: 0.7;
    z-index: 15;

    white-space: nowrap;
    display: inline-block;
}

.tx2 {
    display: none;
    position: absolute;
    font-Size: 80px;
    line-height: 80px;
    width:100%;
    height:20%;
    top:30%;
    color:rgba(255, 255, 255, 1);
    opacity: 0.9;
    z-index: 200;
}




.mask1 {
    position: absolute;
    font-Size: 56px;
    line-height: 60px;
    width:100%;
    height:20%;
    border:solid 1px #000000;
    background-color:#000000;
    opacity: 0.7;
}
.mask2 {
    position: absolute;
    font-Size: 56px;
    line-height: 60px;
    width:100%;
    height:60%;
    top:20%;
    border:solid 1px #000000;
    background-color:#00ff00;
    opacity: 0.02;
}
.mask3 {
    position: absolute;
    font-Size: 56px;
    line-height: 60px;
    width:100%;
    height:20%;
    top:80%;
    border:solid 1px #000000;
    background-color:#000000;
    opacity: 0.7;
}







@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans&display=swap');

.bg {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
  color: #fff;
}

.bg.-visible:before {
  transform: translate(0, 0);
}

.bg:before {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #a33e46;
  background-color: #00aec2;


  transform: translate(0, 100%);
  transition: transform cubic-bezier(0.215, 0.61, 0.355, 1) .6s;
  content: '';
}

/* テキストのスタイル */
.title {
  display: block;
  color: #fff;
  font-family: 'Josefin Sans', sans-serif;
  text-align: center;
}

.title span {
  display: block;
  opacity: 0;
  transition: transform cubic-bezier(0.215, 0.61, 0.355, 1) 1s, opacity linear 0.7s;
}

.title span:first-child {
  margin-left: 2%;
  transform: translate(0, 40px);
  font-size: 30px;
  line-height: 35px;
  transition-delay: 0.25s;
}
.title span:nth-child(2) {
    margin-left: 2%;
    transform: translate(0, 40px);
    font-size: 30px;
    line-height: 35px;
    transition-delay: 0.25s;
}

.title span:last-child {
  margin-top: 18px;
  margin-left: 2%;
  transform: translate(0, 30px);
  font-size: 18px;
  transition-delay: 0.45s;
}

.bg.-visible .title span {
  opacity: 1;
  transform: translate(0, 0);
}






@media (max-width: 1024px) {






.title span:first-child {
  font-size: 3vw;
}
.title span:nth-child(2) {
    font-size: 3vw;
}
.title span:last-child {
  font-size: 1.8vw;
}

}







/* スロット関連 */





/* 外枠 */
.select2-container--default .select2-selection--single {
    height: 43px !important;
    border: 2px solid #ccc !important ;
    border-radius: 6px;
}

/* 文字部分 */
.select2-container--default .select2-selection--single
.select2-selection__rendered {
    line-height: 43px !important;
}

/* 矢印位置調整 */
.select2-container--default .select2-selection--single
.select2-selection__arrow {
    height: 43px !important;
}


.select2-container--default.select2-container--focus
.select2-selection--single {
    border: 1px solid #1cd4c5 !important;
    box-shadow: 0 0 0 3px rgba(28, 212, 197, 0.1);
}


/* ドロップダウン内の検索input */
.select2-container .select2-search--dropdown .select2-search__field {
    height: 32px;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 0px 0px;
}

.select2-container .select2-search--dropdown .select2-search__field:focus {
    border: 1px solid #1cd4c5 !important;
    box-shadow: 0 0 0 3px rgba(28, 212, 197, 0.1);
    outline: none;
}












/* メッセージボックス */
.favorite-complete-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease;
    z-index: 9999;

}
.favorite-complete-modal.active {
    opacity: 1;
    visibility: visible;
}
.favorite-complete-box {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transform: translateY(20px);
    transition: transform 0.4s ease;
    width: 80%;
    display: flex;
    gap: 16px;
    padding: 18px;
    background: #f4fbfb;
    border: 1px solid #a7e9e3;
    border-left: 5px solid #4fd1c5;
    border-radius: 16px;
    margin-top: 28px;
}

@media (min-width: 768px) {
    .favorite-complete-box {
        width: 30%;
    }
}

.favorite-complete-modal.active .favorite-complete-box {
    transform: translateY(0);
}

.favorite-complete-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.favorite-complete-title {
    margin: 0 0 8px;
    font-size: 18px;
}

.favorite-complete-text {
    font-size: 14px;
    color: #555;
}
/* メッセージボックス */





/* サーチボタン------------------------ */
.btn_my3{
    width:250px;
    border-radius: 20px;
    margin-top:50px;
    padding:10px 40px;
    font-size: 30px;
    line-height: 22px;
    font-weight: 100;
    background-color: #ef6c63;
    background-color: #ff7c73;;
    border: solid 1px #df4c43;

    color: #fff;
    -webkit-transition: 0.3s ease-out;
    transition: 0.3s ease-out;

}


.btn_my3:hover{
    width:250px;
    border-radius: 20px;
    margin-top:50px;
    padding:10px 40px;
    font-size: 30px;
    line-height: 22px;
    font-weight: 200;
    background-color: #ef6c63;
    background-color: #ff4437;;
    border: solid 1px #d4473f;
  
    color: #fff;
    -webkit-transition: 0.3s ease-out;
    transition: 0.3s ease-out;
  }
/* サーチボタン------------------------ */


/* サーチ中ボタン------------------------ */
.btn_my5{
    width:250px;
    border-radius: 20px;
    margin-top:50px;
    padding:10px 40px;
    font-size: 30px;
    line-height: 22px;
    font-weight: 100;
    background-color: #ef6c63;
    background-color: #24e89c;
    border: solid 1px #24e89c;
  
    color: #fff;
    -webkit-transition: 0.3s ease-out;
    transition: 0.3s ease-out;
  }
.btn_my5:hover{
    width:250px;
    border-radius:20px;
    margin-top:50px;
    padding:10px 40px;
    font-size: 30px;
    line-height: 22px;
    font-weight: 200;
    background-color: #ef6c63;
    background-color: #24e89c;;
    border: solid 1px #24e89c;

    color: #fff;
    -webkit-transition: 0.3s ease-out;
    transition: 0.3s ease-out;
}
.blinking{
    -webkit-animation:blink 1.5s ease-in-out infinite alternate;
    -moz-animation:blink 1.5s ease-in-out infinite alternate;
    animation:blink 1.5s ease-in-out infinite alternate;
}
@-webkit-keyframes blink{
    0% {opacity:0.46;}
    100% {opacity:1;}
}
@-moz-keyframes blink{
    0% {opacity:0.46;}
    100% {opacity:1;}
}
@keyframes blink{
    0% {opacity:0.46;}
    100% {opacity:1;}
}
/* サーチ中ボタン------------------------ */
  
  
/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 2rem;
    border-radius: 0;
    width: 90%;
    max-width: 400px;
    transform: translateY(-30px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(28, 212, 197, 0.1);
    position: relative;
    overflow: hidden;
}

.modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, rgb(28, 212, 197), rgb(79, 195, 247));
}

.modal-overlay.active .modal {
    transform: translateY(0) scale(1);
    opacity: 1;
}

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

.modal-header h2 {
    font-size: 1.5rem;
    background: linear-gradient(to right, rgb(28, 212, 197), rgb(79, 195, 247));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
    padding: 0;
    border: none;
}

.modal-close {
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: #64748b;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: rgb(28, 212, 197);
    transform: rotate(90deg);
}

.modal-content {
    margin-bottom: 2rem;
    padding: 1.25rem;
    background: white;
    border-radius: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.modal-content p {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.modal-content p:last-child {
    margin-bottom: 0;
    color: #ef4444;
    font-size: 0.85rem;
    padding: 0.75rem;
    background: #fef2f2;
    border-radius: 0;
    border: 1px solid #fee2e2;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

.modal-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    border-radius: 0;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-btn.primary {
    background: linear-gradient(to right, rgb(28, 212, 197), rgb(79, 195, 247));
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(28, 212, 197, 0.2);
    position: relative;
    overflow: hidden;
}

.modal-btn.primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0) 100%);
    transition: left 0.5s ease;
}

.modal-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(28, 212, 197, 0.3);
}

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

.modal-btn.secondary {
    background: white;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

.modal-btn.secondary:hover {
    background: #f8fafc;
    color: rgb(28, 212, 197);
    border-color: rgb(28, 212, 197);
    transform: translateY(-2px);
}

/* Enhanced Mobile Styles */
@media (max-width: 768px) {
    .modal {
        padding: 1.5rem;
        width: 85%;
        margin: 1rem;
        max-height: calc(100vh - 2rem);
        overflow-y: auto;
    }

    .modal-header h2 {
        font-size: 1.2rem;
    }

    .modal-content {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }

    .modal-content p {
        font-size: 0.9rem;
    }

    .modal-actions {
        flex-direction: column-reverse;
        gap: 0.5rem;
    }

    .modal-btn {
    
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    .modal-close {
        padding: 0.375rem;
    }

    .modal-close svg {
        width: 20px;
        height: 20px;
    }
}

/* Small Mobile Styles */
@media (max-width: 360px) {
    .modal {
        padding: 1.25rem;
        width: 90%;
    }

    .modal-header h2 {
        font-size: 1.1rem;
    }

    .modal-content {
        padding: 0.875rem;
    }

    .modal-content p {
        font-size: 0.85rem;
    }

    .modal-btn {
        padding: 0.625rem 0.875rem;
        font-size: 0.85rem;
    }
}
/* Modal Styles */









.subscription-cancel-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 24px;
}

.cancel-back-button,
.cancel-confirm-button {
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
}

.cancel-back-button {
    background: rgb(244, 251, 251);
    border: 1px solid #b8e8e8;
    color: #475569;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.07s ease;
    font-family: 'Noto Sans JP', sans-serif;
}

.cancel-confirm-button {
    background: rgb(244, 251, 251);
    border: 1px solid #b8e8e8;
    color: #475569;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.07s ease;
    font-family: 'Noto Sans JP', sans-serif;

    
}
.cancel-back-button:hover {
    background: #d0f0f8;
    border-color: #a0d8d8;
}
.cancel-confirm-button:hover {
    background: #ffe4e6;
        background: #ff7486;
        color:#ffffff;
    border-color: #a0d8d8;
}







.slot {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

#slot-frame {
    max-width: 100%;
    box-sizing: border-box;
}


#favorite-register-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}