﻿/* Forest/Healing Design System */
@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@400;500;700&display=swap');

:root {
    --primary: #8d7b68;
    /* Muted Brown */
    --secondary: #5a7c65;
    /* Forest Green */
    --accent: #c8bca7;
    /* Beige Accent */
    --background: #fdfcf8;
    /* Paper White */
    --surface: #f4f1ea;
    /* Warm Beige */
    --text-main: #4a4036;
    /* Dark Brown Text */
    --text-muted: #8c8279;

    --font-serif: 'Shippori Mincho', 'Hiragino Mincho ProN', serif;

    --radius-sm: 4px;
    --radius-md: 8px;
}

/* Reset */
.yt-site-wrapper * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body（LP外側の背景だけ担当） */
body {
    margin: 0;
    background-color: #E8E4DE; /* 外側の余白の色 */
    overflow-x: hidden;
}

/* LP本体 */
.yt-site-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 100vh;

    font-family: var(--font-serif);
    color: var(--text-main);
    line-height: 2.0;
    letter-spacing: 0.05em;

    background-color: var(--background);

    /* Subtle paper texture effect */
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.5' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.05'/%3E%3C/svg%3E");

    box-shadow: 0 0 40px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

/* Typography Utilities */
h1,
h2,
h3 {
    font-weight: 500;
    letter-spacing: 0.05em;
}

.yt-text-center {
    text-align: center;
}

/* Screen reader only (visually hidden) */
.yt-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}


/* Image Placeholders (since generation failed) */
.yt-placeholder-img {
    background-color: #dcd7cd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    position: relative;
    overflow: hidden;
}

.yt-placeholder-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(90, 124, 101, 0.2), rgba(141, 123, 104, 0.2));
}

/* Hero Section */
.yt-hero {
    position: relative;
    height: 60vh;
    min-height: 300px;
    width: 100%;
    overflow: hidden;
}

.yt-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Local image reference */
    background: url('https://reha.nanki-cr.com/wp-content/uploads/2026/03/hero_w.webp') center/cover no-repeat;
    filter: brightness(0.9);
}

/* Brand/Nav */
.yt-global-header {
    background-color: #F9F8F6;
    padding: 1.5rem 0;
    width: 100%;
}

.yt-nav-container {
    padding: 0 2rem;
    display: flex;
    justify-content: flex-end;
    /* or center, depending on previous layout */
}

.yt-nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.yt-nav-menu li a {
    color: var(--text-main);
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    padding-bottom: 5px;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.yt-nav-menu li a:hover,
.yt-nav-menu li a.yt-active {
    border-bottom-color: var(--text-main);
}

/* Intro Text Section */
.yt-intro-section {
    padding: 3rem 1rem;
    /* Compressed vertical space */
    text-align: center;
}

.yt-intro-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.yt-intro-text {
    font-size: 1rem;
    color: var(--text-main);
    margin-bottom: 2rem;
}

.yt-btn-gold {
    display: inline-block;
    background: #8d7b68;
    /* より深みのある土色に変更 */
    color: #fff !important;
    padding: 1.2rem 3.5rem;
    font-size: 1.1rem;
    font-weight: 500;
    font-family: sans-serif;
    /* 文字の可読性のためにゴシック体を推奨 */
    letter-spacing: 0.15em;
    border-radius: 50px;
    /* 角丸を強くして「安心感」を演出 */
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 15px rgba(141, 123, 104, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.yt-btn-gold:hover {
    background: #7a6a59;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(141, 123, 104, 0.4);
    opacity: 1;
}

/* ボタンにさりげない光の筋が通る演出（信頼の輝き） */
.yt-btn-gold::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
    z-index: -1;
}

.yt-btn-gold:hover::after {
    left: 100%;
}

/* =========================================
   Checklist Section
   ========================================= */
.yt-checklist-section {
    padding: 4rem 1rem;
    /* Reduced from 7.5rem */
    background-color: var(--surface);
}

.yt-checklist-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: #fdfcf8;
    /* Subtle box background */
    border: 1px solid #e6e2d8;
    /* Thin border */
    border-radius: 12px;
    padding: 3rem;
    /* Inner spacing */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    /* Very subtle shadow */
}

.yt-checklist-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--text-main);
    font-weight: 500;
    text-align: center;
    /* Title centered */
}

.yt-checklist-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: table;
    /* Centers the list block */
    text-align: left;
}

.yt-checklist-list li {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    /* Reduced spacing (half) */
    padding-left: 2.5rem;
    /* Increased from 2rem to move text right relative to bullet */
    position: relative;
    line-height: 1.8;
    color: var(--text-main);
}

/* =========================================
   Stacked Banner Layout System
   ========================================= */

/* =========================================
   Stacked Banner Layout System (Side-by-Side)
   ========================================= */

.yt-banner-section {
    position: relative;
    margin: 6rem auto;
    max-width: 900px;
    /* Reduced width */
    background: #fff;
    /* Ensure background if needed */
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    /* Default: Image Left, Text Right */
    align-items: stretch;
    /* Stretch to matching height */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.yt-banner-bg {
    width: 50%;
    object-fit: cover;
    min-height: 400px;
}

/* Fallback */
.yt-banner-bg:not([src]),
.yt-banner-bg[src=""] {
    background-color: #e0e0e0;
    min-height: 400px;
}

/* Content Positioning */
.yt-banner-content {
    position: relative;
    /* No longer absolute */
    transform: none;
    top: auto;
    width: 50%;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #fff;
    /* Ensure text background */
    text-shadow: none;
    /* Remove text shadow */
}

.yt-banner-content h3 {
    font-size: 1.6rem;
    /* Increased font size */
    margin-bottom: 1.5rem;
    color: var(--text-main);
    font-weight: 500;
}

.yt-banner-content p {
    font-size: 1.2rem;
    /* Increased font size */
    color: var(--text-main);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.yt-emphasis-text {
    font-size: 1.25em;
    font-weight: 500;
    color: inherit;
}

/* Alignment Modifiers */
.yt-banner-left {
    flex-direction: row;
    /* Image Left */
}

.yt-banner-right {
    flex-direction: row-reverse;
    /* Text Left, Image Right */
}

/* Clean up unused selectors */
.yt-banner-left .yt-banner-content {
    left: auto;
    text-align: left;
}

.yt-banner-right .yt-banner-content {
    right: auto;
    text-align: left;
}


/* Thoughts Section (Grid) */
.yt-thoughts-section {
    padding: 7.5rem 1rem;
    text-align: center;
}

.yt-thoughts-title {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    color: var(--text-main);
    letter-spacing: 0.1em;
    font-weight: 500;
}

.yt-thoughts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.yt-thought-item {
    aspect-ratio: 3/2;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    border-radius: 12px;
}

.yt-thought-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    filter: sepia(0.2) brightness(0.9);
}

.yt-thought-item:hover img {
    transform: scale(1.05);
    filter: sepia(0) brightness(1);
}

/* Text Overlay */
.yt-thought-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    color: white;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.8;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
    pointer-events: none;
    z-index: 2;
    /* Ensure legibility */
    background: rgba(0, 0, 0, 0.2);
    padding: 1rem;
    border-radius: 8px;
    backdrop-filter: blur(2px);
    transition: background 0.3s ease;
}

.yt-thought-item:hover .yt-thought-text {
    background: rgba(0, 0, 0, 0.4);
}

/* Mobile */
@media (max-width: 768px) {

    /* Adjust Hero */
    .yt-hero {
        height: 40vh;
        min-height: 250px;
    }

    /* Adjust Intro */
    .yt-intro-section {
        padding: 4rem 1.5rem;
    }

    .yt-intro-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    /* Stack Banners Vertical */
    .yt-banner-section {
        flex-direction: column;
        /* Stack vertically on mobile */
        margin: 2rem auto;
        max-width: 90%;
    }

    .yt-banner-bg {
        width: 100%;
        min-height: 250px;
    }

    .yt-banner-content {
        width: 100%;
        padding: 2rem 1.5rem;
    }

    /* Ensure styles reset for mobile */
    .yt-banner-left,
    .yt-banner-right {
        flex-direction: column;
    }

    /* Thoughts Grid Mobile */
    .yt-thoughts-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    /* Footer adjustments */
    .yt-footer-link-area {
        padding: 3rem 1rem;
        font-size: 1rem;
    }

    /* Nav adjustments for mobile */
    .yt-nav-container {
        padding: 1rem;
        justify-content: center;
    }

    .yt-nav-menu {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .yt-nav-menu li a {
        font-size: 0.8rem;
    }
}

/* =========================================
   Profile & Footer Section
   ========================================= */

.yt-profile-section {
    position: relative;
    background: url('https://reha.nanki-cr.com/wp-content/uploads/2026/03/footer-bg_w.webp') center/cover no-repeat;
    background-color: var(--primary);
    padding: 7.5rem 1rem 0;
    color: var(--text-main);
    overflow: hidden;
}

/* Overlay for readability */
.yt-profile-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.6);
    /* Light overlay to blend with page */
    z-index: 1;
}

.yt-profile-container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto 4rem;
    display: flex;
    align-items: flex-start;
    /* Align top */
    gap: 3rem;
    padding: 3rem;
    /* Inner padding */
    background-color: #f4f1ea;
    /* Warm beige profile background */
    border: 1px solid #e6e2d8;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.yt-profile-image {
    flex-shrink: 0;
    width: 250px;
    /* Increased size */
    height: 300px;
    /* Rectangular portrait */
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.yt-profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: #ccc;
    /* Placeholder color */
}

/* .yt-profile-image removed */

.yt-profile-content {
    flex: 1;
    /* width: 100%; removed */
}

.yt-profile-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.yt-profile-name {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.yt-profile-titles {
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
    line-height: 1.6;
    color: var(--primary);
}

.yt-profile-desc {
    font-size: 1rem;
    line-height: 1.8;
}

/* Footer Bottom Bar */
.yt-site-footer {
    position: relative;
    z-index: 2;
    background: transparent;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    text-align: center;
    padding: 2rem 0;
    font-size: 1.2rem;
    letter-spacing: 0.05em;
    width: 100%;
    margin-top: 4rem;
}

/* Ensure the text is visible on the light overlay */
.yt-site-footer .yt-footer-bar {
    color: var(--text-main);
    font-weight: 500;
}

/* Action Section (Bottom CTA) */
.yt-action-section {
    margin-top: 4rem;
    text-align: center;
    margin-bottom: 4rem;
}

/* Specific styling for the button below profile */
.yt-action-section .yt-btn-gold {
    background-color: var(--primary);
    color: #ffffff;
    padding: 1.2rem 5rem;
    /* Wider left/right padding for stability */
    transition: all 0.4s ease-out;
    /* Smooth transition for hover */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* Subtle shadow for depth */
}

.yt-action-section .yt-btn-gold:hover {
    background-color: #9d8b78;
    /* Slightly lighter/softer brown */
    color: #ffffff;
    transform: translateY(-3px);
    /* Floating effect */
    box-shadow: 0 8px 15px rgba(141, 123, 104, 0.3);
    /* Enhanced shadow on hover */
    opacity: 1;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .yt-profile-container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 2rem 1.5rem;
    }

    .yt-profile-image {
        width: 100%;
        max-width: 250px;
        height: auto;
        aspect-ratio: 1/1;
        margin: 0 auto;
    }

    .yt-profile-name {
        font-size: 1.5rem;
    }
}
