/* 
  Reset & Base Styles
*/
:root {
    --color-primary: #1e293b;
    /* 濃いグレー/黒基調 */
    --color-accent: #0f172a;
    /* ネイビー系アクセント */
    --color-accent-light: #2563eb;
    /* リンクやボタンのアクセント */
    --color-bg: #ffffff;
    --color-bg-gray: #f8fafc;
    --color-text: #334155;
    --color-text-muted: #64748b;
    --color-border: #e2e8f0;

    --font-main: 'Noto Sans JP', sans-serif;

    --transition: all 0.3s ease;
    --radius: 4px;
    /* 角丸控えめ */
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    /* 影は薄く */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

@media (max-width: 480px) {
    .logo a {
        font-size: 1.1rem;
    }

    .hero-title {
        font-size: 2rem;
    }
}

a {
    color: var(--color-accent-light);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    opacity: 0.7;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 
  Layout & Utilities
*/
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.bg-gray {
    background-color: var(--color-bg-gray);
}

.bg-dark {
    background-color: var(--color-primary);
}

.text-center {
    text-align: center;
}

.text-white {
    color: #ffffff;
}

.text-muted {
    color: var(--color-text-muted);
}

.mt-4 {
    margin-top: 1.5rem;
}

.mt-5 {
    margin-top: 3rem;
}

.section-header {
    margin-bottom: 60px;
}

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

.section-title.text-white {
    color: #fff;
}

.section-desc {
    color: var(--color-text-muted);
    font-size: 1.05rem;
}

/* 
  Buttons
*/
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--color-primary);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--color-accent);
    color: #fff;
}

.btn-secondary {
    background-color: #06C755;
    /* LINE風グリーンまたはアクセント */
    color: #fff;
}

.btn-secondary:hover {
    background-color: #05a546;
    color: #fff;
}

.btn-outline-sm {
    padding: 8px 16px;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    font-size: 0.9rem;
}

.btn-outline-sm:hover {
    background-color: var(--color-primary);
    color: #fff;
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
    width: 100%;
    max-width: 300px;
}

/* 
  Header
*/
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--color-border);
}

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

.logo a {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 0.05em;
}

.nav {
    display: none;
    /* スマホでは非表示、PCで表示 */
}

@media (min-width: 768px) {
    .nav {
        display: block;
    }

    .nav-list {
        display: flex;
        gap: 24px;
    }

    .nav-list a {
        color: var(--color-text);
        font-size: 0.95rem;
    }

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

/* 
  Hero Section
*/
.hero {
    display: flex;
    flex-direction: column;
    padding-top: 80px;
    /* Header分 */
    min-height: 100vh;
}

@media (min-width: 992px) {
    .hero {
        flex-direction: row;
        align-items: center;
        padding-top: 0;
    }
}

.hero-content {
    padding: 60px 20px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

@media (min-width: 992px) {
    .hero-content {
        text-align: left;
        align-items: flex-start;
        padding-left: 8%;
    }
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--color-primary);
    line-height: 1.4;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 300px;
}

@media (min-width: 768px) {
    .hero-buttons {
        flex-direction: row;
        max-width: none;
    }
}

.hero-image {
    flex: 1;
    height: 50vh;
    overflow: hidden;
}

@media (min-width: 992px) {
    .hero-image {
        height: 100vh;
    }
}

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

/* 
  Empathy Section
*/
.empathy-list {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.empathy-item {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--color-border);
}

.empathy-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.empathy-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    background-color: #e0f2fe;
    /* アクセントカラー(薄いブルー) */
    color: var(--color-accent-light);
    border-radius: 50%;
    font-weight: bold;
    flex-shrink: 0;
}

.empathy-item p {
    font-size: 1.1rem;
    font-weight: 500;
}

/* 
  About (Features)
*/
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.feature-card {
    background: #fff;
    padding: 40px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    transition: var(--transition);
}

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

.feature-number {
    font-size: 2rem;
    font-weight: 300;
    color: var(--color-border);
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 16px;
    color: var(--color-primary);
}

/* 
  Works
*/
.works-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .works-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.work-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

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

.work-card:hover .work-img img {
    transform: scale(1.05);
}

.work-content {
    padding: 24px;
}

.work-category {
    font-size: 0.8rem;
    color: var(--color-accent-light);
    font-weight: 500;
    display: block;
    margin-bottom: 8px;
}

.work-title {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--color-primary);
}

.work-desc {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* 
  Services
*/
.services-list {
    max-width: 800px;
    margin: 0 auto;
}

.services-list ul {
    margin-bottom: 30px;
}

.services-list ul li {
    padding: 16px 0;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .services-list ul li {
        flex-direction: row;
        align-items: center;
    }

    .services-list ul li strong {
        width: 250px;
        flex-shrink: 0;
    }
}

.services-list ul li strong {
    color: var(--color-primary);
    margin-bottom: 8px;
}

.not-available {
    background-color: var(--color-bg-gray);
    padding: 20px;
    border-left: 4px solid var(--color-text-muted);
    font-size: 0.9rem;
}

.not-available ul li {
    padding: 4px 0;
    border: none;
    display: list-item;
    list-style-position: inside;
    list-style-type: disc;
    color: var(--color-text-muted);
}

/* 
  Flow
*/
.flow-steps {
    max-width: 600px;
    margin: 0 auto;
}

.flow-step {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    position: relative;
}

.flow-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 40px;
    left: 20px;
    bottom: -20px;
    width: 1px;
    background-color: var(--color-border);
    z-index: 0;
}

.flow-num {
    width: 40px;
    height: 40px;
    background-color: var(--color-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    flex-shrink: 0;
    z-index: 1;
}

.flow-text h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    margin-top: 8px;
}

.flow-text p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

/* 
  Plans
*/
.plans-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: center;
}

@media (min-width: 768px) {
    .plans-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.plan-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 40px 30px;
    text-align: center;
    position: relative;
}

.plan-card.recommended {
    border: 2px solid var(--color-primary);
    transform: scale(1.05);
    box-shadow: var(--shadow);
}

.plan-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: #fff;
    padding: 4px 16px;
    font-size: 0.8rem;
    border-radius: 20px;
}

.plan-name {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.plan-target {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 24px;
}

.plan-price {
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--color-primary);
    margin-bottom: 30px;
}

.plan-price span {
    font-size: 1rem;
}

.plan-features li {
    padding: 12px 0;
    border-bottom: 1px solid var(--color-bg-gray);
    font-size: 0.9rem;
}

.plan-features li:last-child {
    border-bottom: none;
}

/* 
  FAQ
*/
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    margin-bottom: 16px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.faq-item summary {
    padding: 20px;
    font-weight: 500;
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-right: 40px;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--color-text-muted);
}

.faq-item[open] summary::after {
    content: '-';
}

.faq-answer {
    padding: 0 20px 20px;
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* 
  Profile
*/
.profile-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
    align-items: center;
}

@media (min-width: 768px) {
    .profile-content {
        flex-direction: row;
    }
}

.profile-img {
    flex: 1;
    max-width: 400px;
}

.profile-img img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.profile-text {
    flex: 1;
}

.profile-text h3 {
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 24px;
    color: var(--color-primary);
}

.profile-text p {
    margin-bottom: 16px;
    color: var(--color-text-muted);
}

/* 
  Contact
*/
.contact-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: var(--radius);
    color: var(--color-text);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.required {
    background: #ef4444;
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 2px;
    margin-left: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent-light);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.privacy-note {
    font-size: 0.85rem;
    margin-bottom: 16px;
}

/* 
  Footer
*/
.footer {
    background-color: var(--color-primary);
    color: #fff;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.copyright {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

/* 
  Animations
*/
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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