/* SNS運用＆ライティングチューターサービス - Styles */
:root {
    --main-color: #ffffff;
    --base-color: #FAF7F5;
    --accent-color: #D8A7B1;
    --accent-gradient: linear-gradient(135deg, #E6C2D1, #D8A7B1);
    --text-color: #555;
    --heading-color: #333;
    --radius: 20px;
    --shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    --font-base: 'Noto Sans JP', sans-serif;
    --font-heading: 'M PLUS Rounded 1c', sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    transition: all .3s ease-in-out;
}

body {
    font-family: var(--font-base);
    color: var(--text-color);
    background: var(--base-color);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
    display: block;
}

a { color: inherit; text-decoration: none; }
.container { width: 90%; max-width: 1100px; margin: 0 auto; }

/* Header */
.site-header {
    background: var(--main-color);
    position: sticky; top: 0; z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 15px 0; }
.logo { font-size: 1rem; font-weight: 700; color: var(--heading-color); font-family: var(--font-heading);}
.site-nav ul { display: flex; gap: 2.5rem; list-style: none; }
.site-nav a { font-weight: 500; position: relative; padding: 5px 0; font-family: var(--font-heading); }
.site-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width .3s;
}
.site-nav a:hover::after { width: 100%; }
.hamburger { display: none; flex-direction: column; gap: 4px; background: none; border: none; cursor: pointer; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--accent-color); transition: .3s; }
.hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Hero */
.hero {
    background-image: url('https://i.ibb.co/mxTSV6y/Chat-GPT-Image-2025-6-24-16-21-54.png');
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
    padding: 120px 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 65vh;
    position: relative;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(255, 255, 255, 0.4);
}
.hero-content { position: relative; color: var(--heading-color); text-shadow: 0 1px 3px rgba(255,255,255,0.5); }
.hero-title { font-size: 2.5rem; font-weight: 700; margin-bottom: 1rem; line-height: 1.5; font-family: var(--font-heading); }
.hero-subtitle { margin-bottom: 2.5rem; font-size: 1.1rem; font-weight: 500; }
.btn-primary {
    display: inline-block;
    background: var(--accent-gradient);
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: var(--shadow);
    font-family: var(--font-heading);
}
.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.btn-primary.large { font-size: 1.2rem; padding: 1.2rem 3rem; }

/* Sections */
.section { padding: 90px 0; background: var(--main-color); }
.section.alt { background: var(--base-color); }
.section-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 3.5rem;
    position: relative;
    padding-bottom: 1rem;
    letter-spacing: 1px;
    font-family: var(--font-heading);
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}
.card-list { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card {
    background: var(--main-color);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    font-weight: 500;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Benefits Section */
.benefits-list { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.benefit-item { text-align: center; }
.benefit-icon {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    background: var(--accent-gradient);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    box-shadow: var(--shadow);
}
.benefit-title { color: var(--heading-color); font-weight: 600; font-family: var(--font-heading); }
.benefit-desc { line-height: 1.7; }

/* Service Section */
.service-cards { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.service-card {
    background: var(--main-color);
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}
.service-title { font-size: 1.3rem; font-weight: 700; color: var(--heading-color); margin-bottom: .7rem; font-family: var(--font-heading); }

/* Profile */
.profile-inner { display: flex; flex-wrap: wrap; gap: 4rem; align-items: center; justify-content: center;}
.profile-photo { flex: 1 1 320px; max-width: 380px;}
.profile-photo img {
    box-shadow: var(--shadow);
    border-radius: 50%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}
.profile-text { flex: 1 1 450px; }
.profile-text .section-title { text-align: left; }
.profile-text .section-title::after { left: 0; transform: translateX(0); }
.profile-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--heading-color);
    margin: 0.5rem 0 1.5rem 0;
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

/* CTA */
.cta { background: var(--base-color); color: var(--text-color); text-align: center; padding: 100px 0; }
.cta-inner {
    background: var(--main-color);
    padding: 4rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.cta-title { font-size: 1.8rem; font-weight: 700; color: var(--heading-color); margin-bottom: 1.5rem; font-family: var(--font-heading); }
.cta-desc { margin-bottom: 3rem; font-size: 1.1rem; }

/* Footer */
.site-footer { background: #3c3c3c; color: #f0f0f0; padding: 60px 0; font-size: .9rem; text-align: center; }
.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
}
.footer-nav ul { list-style: none; display: flex; gap: 2rem; flex-wrap: wrap; justify-content: center; }
.footer-links { display: flex; gap: 1.2rem; font-size: .8rem; }
.copyright { margin-top: 1.5rem; }

/* Privacy Policy Page */
.privacy-policy {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.policy-content {
    background: var(--main-color);
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    line-height: 1.8;
}

.policy-content h1 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--heading-color);
    font-family: var(--font-heading);
    font-size: 2rem;
}

.policy-content h2 {
    color: var(--heading-color);
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-color);
}

.policy-content p {
    margin-bottom: 1.2rem;
    color: var(--text-color);
}

.policy-content ol,
.policy-content ul {
    margin: 1.5rem 0 1.5rem 2rem;
}

.policy-content li {
    margin-bottom: 0.8rem;
    color: var(--text-color);
}

.policy-updated {
    text-align: right;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 2rem !important;
}

.policy-conclusion {
    text-align: right;
    font-weight: bold;
    margin-top: 3rem !important;
}

@media (max-width: 768px) {
    .policy-content {
        padding: 1.5rem;
    }
    
    .policy-content h1 {
        font-size: 1.6rem;
    }
    
    .policy-content h2 {
        font-size: 1.2rem;
    }
}

/* My Story / Timeline Section */
.timeline {
    max-width: 800px;
    margin: 0 auto;
}
.timeline ul {
    list-style: none;
    position: relative;
}
.timeline ul::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--base-color);
    border-radius: 2px;
}
.timeline li {
    position: relative;
    margin-bottom: 2.5rem;
}
.timeline li::before {
    content: '';
    position: absolute;
    left: 0px;
    top: 5px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--accent-gradient);
    border: 3px solid var(--base-color);
    box-shadow: 0 0 0 3px var(--accent-color);
}
.timeline-content {
    margin-left: 50px;
    background: var(--main-color);
    padding: 1.5rem 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.timeline-content:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.timeline-content h4 {
    font-family: var(--font-heading);
    color: var(--heading-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .timeline ul::before {
        left: 0;
    }
    .timeline li::before {
        left: -10px;
    }
    .timeline-content {
        margin-left: 30px;
    }
    .hero { padding: 100px 0; min-height: auto; }
    .hero-title { font-size: 1.8rem; }
    .hero-subtitle { font-size: 1rem; }
    .section-title { font-size: 1.5rem; margin-bottom: 2.5rem; }
    .site-nav { position: fixed; top: 0; right: -100%; width: 100%; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(5px); height: 100vh; transition: .5s; display: flex; align-items: center; justify-content: center; }
    .site-nav.open { right: 0; }
    .site-nav ul { flex-direction: column; gap: 3rem; text-align: center; font-size: 1.2rem; }
    .hamburger { display: flex; z-index: 1001; position: fixed; top: 20px; right: 20px; }
    .profile-inner { flex-direction: column; text-align: center; }
    .profile-text .section-title { text-align: center; }
    .profile-text .section-title::after { left: 50%; transform: translateX(-50%); }
}

/* Scroll Animation */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-in {
    animation: fadeInUp 1s ease-in-out forwards;
    opacity: 0;
}
