/**
 * Front Page Styles
 * 渋谷文化村通り皮膚科 - トップページ専用CSS
 * 90vh対応版・スキップリンク非表示対応
 */

/* スキップリンクを非表示 */
.skip-link.screen-reader-text,
a.skip-link,
.screen-reader-shortcut,
.skip-content,
.skip-to-content {
    display: none !important;
}

/* Hero Section with 90vh max height */
.hero {
    background: var(--gradient-light);
    padding: 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    height: 90vh;
    max-height: 90vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

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

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(166, 157, 153, 0.05) 0%, transparent 50%);
    z-index: 2;
}

.hero-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 90vh;
}

.hero h1 {
    font-size: clamp(56px, 10vw, 108px);
    font-weight: 200;
    letter-spacing: 0.15em;
    color: white;
    margin-bottom: 30px;
    line-height: 1.1;
    text-transform: lowercase;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-medium);
    margin-bottom: 50px;
    letter-spacing: 0.08em;
    font-weight: 300;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.1);
}

/* スクロールダウンインジケーター */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    color: var(--primary-color);
    font-size: 12px;
    letter-spacing: 0.1em;
    opacity: 0.7;
    animation: bounce 2s infinite;
}

.scroll-indicator::after {
    content: '↓';
    display: block;
    text-align: center;
    margin-top: 10px;
    font-size: 16px;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Feature Images Section */
.feature-images {
    background: var(--white);
    padding: 60px 0;
}

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

.feature-item {
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.feature-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* News Section */
.news {
    background: var(--white);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
}

.more-link {
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 300;
    transition: all 0.3s ease;
}

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

.news-item {
    background: var(--white);
    padding: 40px;
    margin-bottom: 30px;
    border-radius: 4px;
    border: 1px solid rgba(166, 157, 153, 0.1);
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.news-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.news-item h3 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 400;
}

.news-item h4 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 400;
}

.news-item p {
    color: var(--text-medium);
    line-height: 1.8;
    font-weight: 300;
    margin-bottom: 15px;
}

.news-meta {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
    font-weight: 300;
}

.news-content {
    margin-bottom: 20px;
}

.news-more-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 400;
    transition: all 0.3s ease;
}

.news-more-link:hover {
    color: var(--primary-dark);
}

.special-item {
    background: var(--gradient-primary);
    color: white;
    border: none;
}

.special-item::before {
    background: rgba(255, 255, 255, 0.3);
}

.special-item h3,
.special-item h4 {
    color: white;
}

.special-item p {
    color: rgba(255, 255, 255, 0.9);
}

.special-item .news-more-link.special {
    color: white;
    text-decoration: none;
}

.special-item .news-more-link.special:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* Services Section */
.services {
    background: var(--accent-color);
}

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

.service-card {
    background: var(--white);
    padding: 50px;
    border-radius: 4px;
    box-shadow: var(--shadow-light);
    transition: all 0.4s ease;
    border: 1px solid rgba(166, 157, 153, 0.08);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.service-card h3 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 300;
}

.service-badge {
    background: var(--gradient-primary);
    color: white;
    padding: 6px 16px;
    border-radius: 2px;
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 0.05em;
}

.service-description {
    color: var(--text-medium);
    margin-bottom: 40px;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.8;
}

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

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

.service-list li {
    padding: 16px 0;
    border-bottom: 1px solid rgba(166, 157, 153, 0.1);
    transition: all 0.3s ease;
    font-weight: 300;
}

.service-list li:hover {
    background: rgba(166, 157, 153, 0.03);
    padding-left: 20px;
    margin: 0 -20px;
    border-radius: 8px;
}

.service-list li:last-child {
    border-bottom: none;
}

.service-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
}

.service-list li:hover a {
    color: var(--primary-color);
}

.arrow-right {
    color: var(--primary-light);
    font-size: 14px;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.arrow-right::before {
    content: "→";
    font-weight: 200;
}

.service-list li:hover .arrow-right {
    color: var(--primary-color);
    opacity: 1;
    transform: translateX(5px);
}

/* 美容皮膚科の階層構造 */
.cosmetic-services {
    margin: 20px 0;
}

.service-category {
    margin-bottom: 20px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(166, 157, 153, 0.1);
}

.service-category:last-child {
    border-bottom: none;
}

.category-title {
    font-size: 16px;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 10px;
    letter-spacing: 0.05em;
}

.category-title a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.category-title a:hover {
    color: var(--primary-dark);
}

.service-sublist {
    list-style: none;
    margin: 0;
    padding-left: 20px;
}

.service-sublist li {
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-medium);
}

.service-sublist li a {
    color: var(--text-medium);
    font-weight: 300;
    text-decoration: none;
    transition: all 0.3s ease;
}

.service-sublist li:hover a {
    color: var(--primary-color);
}

.service-note {
    margin-top: 30px;
    color: var(--text-medium);
    font-size: 14px;
    font-weight: 300;
}

.service-info-box {
    margin-top: 30px;
    padding: 25px;
    background: rgba(166, 157, 153, 0.05);
    border-radius: 12px;
    font-size: 14px;
    color: var(--text-medium);
    font-weight: 300;
    line-height: 1.6;
}

.price-link {
    font-weight: 400;
}

.main-cta {
    width: auto;
    padding: 18px 50px;
    display: inline-block;
    text-decoration: none;
    color: white;
    border-radius: 2px;
}

/* About Section */
.about {
    background: var(--white);
}

.about-subtitle {
    text-align: center;
    margin-bottom: 30px;
    color: var(--text-medium);
    font-weight: 300;
    font-size: 16px;
    letter-spacing: 0.05em;
}

.about-main-title {
    text-align: center;
    margin-bottom: 70px;
    font-size: 28px;
    color: var(--primary-color);
    font-weight: 300;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.reason-card {
    background: var(--white);
    padding: 40px;
    border-radius: 4px;
    text-align: center;
    border: 1px solid rgba(166, 157, 153, 0.1);
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.reason-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.reason-image {
    width: 250px;
    height: 250px;
    margin: 0 auto 20px;
    border-radius: 4px;
    overflow: hidden;
    background: var(--accent-color);
}

.reason-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reason-card h4 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 400;
}

.reason-card p {
    color: var(--text-medium);
    font-weight: 300;
    line-height: 1.8;
}

/* Concept Section */
.concept {
    background: var(--gradient-primary);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.concept-container {
    position: relative;
    z-index: 2;
}

.concept h2 {
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 200;
    margin-bottom: 15px;
    letter-spacing: 0.08em;
    color: white;
}

.concept-subtitle {
    font-size: 12px;
    margin-bottom: 25px;
    opacity: 0.8;
    font-weight: 300;
}

.concept-main-title {
    font-size: 28px;
    margin-bottom: 30px;
    font-weight: 300;
    letter-spacing: 0.05em;
}

.concept p {
    font-size: 16px;
    line-height: 2;
    opacity: 0.9;
    font-weight: 300;
    max-width: 800px;
    margin: 0 auto;
}

.concept-video {
    margin: 40px 0;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    aspect-ratio: 16/9;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.concept-link {
    display: inline-block;
    margin-top: 40px;
    color: white;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 15px 30px;
    border-radius: 2px;
    transition: all 0.3s ease;
    font-weight: 300;
    letter-spacing: 0.05em;
}

.concept-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    color: white;
}

/* Gallery Section with Slider */
.gallery {
    background: var(--accent-color);
}

.gallery-slider {
    margin-top: 60px;
    overflow: hidden;
    border-radius: 4px;
}

.slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.slider-track {
    display: flex;
    animation: slide 20s infinite linear;
}

.slide {
    flex: 0 0 350px;
    margin-right: 20px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

.slide img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.slide:hover img {
    transform: scale(1.05);
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-350px * 6 - 120px));
    }
}

/* Contact Section */
.contact {
    background: var(--white);
}

.contact-intro {
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-medium);
    font-weight: 300;
    line-height: 1.8;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 60px;
}

.contact-card {
    background: var(--white);
    padding: 50px;
    border-radius: 4px;
    border: 1px solid rgba(166, 157, 153, 0.1);
    box-shadow: var(--shadow-light);
}

.contact-card h3 {
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 24px;
    font-weight: 400;
}

.contact-section-title {
    color: var(--primary-color);
    margin: 30px 0 30px 0;
    font-size: 24px;
    font-weight: 400;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    color: var(--text-medium);
    font-weight: 300;
}

.contact-detail .material-icons {
    color: var(--primary-color);
    font-size: 20px;
    margin-top: 2px;
    flex-shrink: 0;
}

.contact-link {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: var(--primary-color);
}

.contact-note {
    margin-top: 15px;
    color: var(--text-medium);
    font-weight: 300;
    font-size: 14px;
    line-height: 1.6;
}

.map-container {
    margin-top: 30px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

.reservation-btn {
    background: var(--gradient-primary);
    color: white;
    padding: 18px 35px;
    border: none;
    border-radius: 2px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    margin-top: 30px;
    transition: all 0.3s ease;
    font-weight: 300;
    letter-spacing: 0.05em;
    box-shadow: var(--shadow-light);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.reservation-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
    color: white;
}

/* Group Section */
.group {
    background: var(--accent-color);
}

.group-description {
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-medium);
    font-weight: 300;
    line-height: 1.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.group-clinics {
    display: flex;
    justify-content: center;
}

.group-clinic {
    display: flex;
    align-items: center;
    gap: 30px;
    background: var(--white);
    padding: 40px;
    border-radius: 4px;
    box-shadow: var(--shadow-light);
    max-width: 800px;
    transition: all 0.3s ease;
}

.group-clinic:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.clinic-image {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 4px;
    overflow: hidden;
    background: var(--accent-color);
}

.clinic-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.clinic-info {
    flex: 1;
}

.clinic-name {
    color: var(--primary-color);
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 15px;
}

.clinic-description {
    color: var(--text-medium);
    font-weight: 300;
    line-height: 1.8;
    font-size: 15px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero {
        height: 90vh;
        max-height: 90vh;
        min-height: 500px;
    }

    .hero-container {
        min-height: 80vh;
        padding: 0 30px;
    }

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

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

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

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

@media (max-width: 768px) {
    .hero {
        height: 90vh;
        max-height: 90vh;
        min-height: 450px;
    }

    .hero-container {
        padding: 0 20px;
        min-height: 85vh;
    }

    .hero h1 {
        font-size: clamp(40px, 10vw, 70px);
    }

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

    .scroll-indicator {
        bottom: 20px;
        font-size: 11px;
    }

    .section {
        padding: 80px 0;
    }

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

    .service-card {
        padding: 30px;
    }

    .contact-card {
        padding: 30px;
    }

    .reasons-grid {
        gap: 30px;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .group-clinic {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }

    .clinic-image {
        width: 100px;
        height: 100px;
    }

    .video-container {
        margin: 0 -20px;
        border-radius: 0;
    }

    .concept h2 {
        font-size: clamp(24px, 5vw, 32px);
    }

    .concept-main-title {
        font-size: 24px;
    }

    .slide {
        flex: 0 0 280px;
    }

    @keyframes slide {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(calc(-280px * 6 - 120px));
        }
    }
}

@media (max-width: 480px) {
    .hero {
        height: 90vh;
        max-height: 90vh;
        min-height: 400px;
    }

    .hero-container {
        min-height: 80vh;
    }

    .hero h1 {
        font-size: clamp(32px, 8vw, 50px);
    }

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

    .feature-item img {
        height: 200px;
    }

    .slide {
        flex: 0 0 250px;
    }

    @keyframes slide {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(calc(-250px * 6 - 120px));
        }
    }
}

/* 縦画面の場合の追加調整 */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        min-height: 400px;
        height: 90vh;
        max-height: 90vh;
    }

    .hero-container {
        min-height: 70vh;
    }

    .scroll-indicator {
        display: none;
    }
}

/* 非常に小さい画面の場合 */
@media (max-height: 500px) {
    .hero {
        min-height: 350px;
        height: 85vh;
        max-height: 85vh;
    }

    .hero-container {
        min-height: 60vh;
    }

    .hero h1 {
        font-size: clamp(28px, 8vw, 45px);
        margin-bottom: 20px;
    }

    .hero-subtitle {
        font-size: 14px;
        margin-bottom: 30px;
    }
}