/* Base Variables */
:root {
    --color-bg: #F5F1EA;
    --color-text: #2A2A2A;
    --color-card: #FFFFFF;
    --color-cta: #FF6A00;
    --color-accent: #5BFF4B;
    --color-gray: #787878;
    --container-max: 1000px;
    --spacing-section: 120px;
    --spacing-mobile: 80px;
    --font-base: "Noto Sans JP", sans-serif;
    --font-en: "Outfit", sans-serif;
}

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

a:hover {
    opacity: 0.8;
}

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

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: var(--container-max);
    margin: 0 auto;
}

.section {
    padding: var(--spacing-section) 0;
}

@media (max-width: 768px) {
    .section {
        padding: var(--spacing-mobile) 0;
    }
    
    .container {
        width: 95%;
        margin: 0 auto;
    }
}

/* Typography */
h1,
h2,
h3 {
    font-weight: 700;
    line-height: 1.3;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--color-cta);
    margin: 20px auto 0;
}

.en-title {
    font-family: var(--font-en);
    display: block;
    font-size: 1rem;
    color: var(--color-cta);
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    font-weight: 600;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
        white-space: nowrap;
    }
}

/* Components */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--color-text);
    color: #fff;
    border-radius: 50px;
    font-weight: 700;
    letter-spacing: 0.05em;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background-color: var(--color-cta);
    color: #fff;
    box-shadow: 0 4px 20px rgba(255, 106, 0, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 106, 0, 0.5);
}

.tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: var(--color-accent);
    color: var(--color-text);
    font-size: 0.8rem;
    border-radius: 4px;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Header */
.header {
    padding: 20px 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-en);
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
}

.nav-list {
    display: flex;
    gap: 2rem;
}

@media (max-width: 768px) {
    .nav-list {
        display: none;
        /* シンプル化のためMoblileでは非表示 */
    }
}

/* Hero */
.hero {
    padding: 180px 0 100px;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-sub {
    font-size: 1.1rem;
    color: var(--color-gray);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-image {
    position: relative;
}

.hero-image img {
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.hero-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--color-card);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    max-width: 200px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.hero-badge strong {
    display: block;
    color: var(--color-cta);
    font-size: 1.2rem;
}

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

    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

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

    .hero-image {
        order: -1;
    }

    .hero-image img {
        max-width: 100%;
    }
}

/* Problem */
.problem-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.problem-item {
    background: var(--color-card);
    padding: 2.5rem;
    border-radius: 12px;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: transform 0.3s;
}

.problem-item:hover {
    transform: translateY(-5px);
}

.problem-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--color-cta);
}

.problem-icon img,
.problem-icon2 img,
.problem-icon3 img {
    max-width: 100%;
    height: auto;
}

.problem-item h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.problem-check {
    text-align: center;
    margin-top: 3rem;
    font-size: 1.5rem;
    font-weight: 700;
}

/* Service */
.service-grid {
    margin-top: 3rem;
}

.service-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Image removed for minimal design in some cards, keeping simple */
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}

.service-card:nth-child(even) {
    direction: rtl;
    /* Flip order */
}

.service-card:nth-child(even) .service-text {
    direction: ltr;
    /* Reset text direction */
}

.service-img img {
    border-radius: 8px;
    aspect-ratio: 4/3;
    object-fit: cover;
    width: 100%;
}

.service-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.service-text p {
    color: var(--color-gray);
    margin-bottom: 1.5rem;
}

.service-list li {
    position: relative;
    padding-left: 1.5em;
    margin-bottom: 0.5em;
}

.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 6px;
    height: 6px;
    background-color: var(--color-cta);
    border-radius: 50%;
}


@media (max-width: 768px) {

    .service-card,
    .service-card:nth-child(even) {
        grid-template-columns: 1fr;
        direction: ltr;
        gap: 2rem;
        margin-bottom: 4rem;
    }

    .service-text h3 {
        font-size: 1.5rem;
    }
}

/* Difference */
.diff-container {
    background-color: var(--color-card);
    border-radius: 20px;
    padding: 4rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    text-align: center;
}

.diff-container .section-title {
    left: 25%;
}

.diff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    text-align: left;
}

.diff-item {
    padding: 1rem;
}

.diff-num {
    font-family: var(--font-en);
    font-size: 3rem;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.3);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.diff-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-cta);
}

@media (max-width: 768px) {
    .diff-container {
        padding: 2rem;
    }

    .diff-container .section-title {
        left: 50%;
    }

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

/* Price */
.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.price-card {
    background: var(--color-card);
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s;
}

.price-card.featured {
    border: 2px solid var(--color-cta);
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(255, 106, 0, 0.1);
}

.price-header {
    text-align: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 2rem;
}

.plan-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: var(--font-en);
}

.price-unit {
    font-size: 1rem;
    color: var(--color-gray);
}

.price-features li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
}

.check-icon {
    color: var(--color-accent);
    font-weight: bold;
}

.price-cta {
    margin-top: auto;
    text-align: center;
    padding-top: 2rem;
}

.price-btn {
    display: block;
    width: 100%;
    padding: 1rem;
    border-radius: 8px;
    background: #eee;
    text-align: center;
    font-weight: 700;
}

.price-card.featured .price-btn {
    background: var(--color-cta);
    color: white;
}

@media (max-width: 768px) {
    .price-card.featured {
        transform: scale(1);
    }
}

/* Profile */
.profile-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: center;
    background: #fff;
    padding: 3rem;
    border-radius: 12px;
}

.profile-img img {
    border-radius: 12px;
    width: 100%;
    object-fit: cover;
    aspect-ratio: 1/1;
    filter: grayscale(20%);
}

.profile-text h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.profile-role {
    color: var(--color-cta);
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: block;
}

@media (max-width: 768px) {
    .profile-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .profile-img {
        max-width: 250px;
        margin: 0 auto;
    }

    .profile-text {
        text-align: left;
    }
}

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

.faq-item {
    background: var(--color-card);
    margin-bottom: 1rem;
    border-radius: 8px;
    padding: 1.5rem 2rem;
    border: 1px solid transparent;
    transition: border-color 0.3s;
}

.faq-item:hover {
    border-color: rgba(0, 0, 0, 0.1);
}

.faq-q {
    font-weight: 700;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.faq-q::before {
    content: 'Q.';
    color: var(--color-cta);
    font-family: var(--font-en);
    font-weight: 600;
}

.faq-a {
    padding-left: 2rem;
    color: var(--color-gray);
    font-size: 0.95rem;
}

/* Contact */
.contact-section {
    background-color: #2A2A2A;
    /* Dark theme for contrast */
    color: #fff;
    padding: 6rem 0;
    text-align: center;
}

.contact-section .section-title {
    color: #fff;
    left: 25%;
}

@media (max-width: 768px) {
    .contact-section .section-title {
        left: 40%;
    }
}

.contact-section .section-text {
    color: #ccc;
    margin-bottom: 3rem;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 3rem;
    border-radius: 12px;
    color: var(--color-text);
    text-align: left;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
    font-size: 0.9rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    background: #F9F9F9;
}

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

.form-submit {
    width: 100%;
    padding: 1rem;
    background: var(--color-cta);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 1rem;
}

.form-submit:hover {
    background-color: #e55f00;
}

/* Footer */
.footer {
    background-color: #222;
    color: #888;
    padding: 3rem 0;
    text-align: center;
    font-size: 0.85rem;
}

/* Utilities */
.text-accent {
    color: var(--color-cta);
}

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

.u-mb-lg {
    margin-bottom: 4rem;
}

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

/* -------------------------------------------
   Hamburger Menu & Mobile Nav
------------------------------------------- */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    padding: 10px;
    box-sizing: content-box;
    position: relative;
    z-index: 100;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    /* 少し太くして視認性アップ */
    background-color: var(--color-cta);
    /* サイトカラー(オレンジ)に変更 */
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger span:nth-child(3) {
    bottom: 0;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 50%;
    background-color: var(--color-cta);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
    bottom: auto;
    top: 50%;
    background-color: var(--color-cta);
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-wrapper {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.98);
        display: flex;
        justify-content: center;
        align-items: center;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 90;
    }

    .nav-wrapper.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        display: flex !important;
        /* Override previous display:none */
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        text-align: center;
    }

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

/* -------------------------------------------
   Back to Top Button
------------------------------------------- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 50;
    cursor: pointer;
}

.back-to-top::after {
    content: '';
    width: 10px;
    height: 10px;
    border-top: 2px solid var(--color-cta);
    border-right: 2px solid var(--color-cta);
    transform: rotate(-45deg);
    margin-top: 4px;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--color-cta);
    border-color: var(--color-cta);
}

.back-to-top:hover::after {
    border-color: #fff;
}

/* -------------------------------------------
   Issues & Solutions Section
------------------------------------------- */
.issues-section {
    background-color: var(--color-bg);
}

.issues-lead {
    text-align: center;
    color: var(--color-gray);
    font-size: 1rem;
    margin-top: -1.5rem;
    margin-bottom: 3rem;
}

.issues-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.issue-card {
    background: var(--color-card);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.issue-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

.issue-img {
    width: calc(100% + 4rem);
    margin: -2.5rem -2rem 0;
    border-radius: 16px 16px 0 0;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.issue-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.issue-num {
    font-family: var(--font-en);
    font-size: 3rem;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.08);
    line-height: 1;
}

.issue-block {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.issue-block-label {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 0.3rem 1rem;
    border-radius: 4px;
    width: fit-content;
}

.issue-label {
    background-color: rgba(255, 106, 0, 0.1);
    color: var(--color-cta);
}

.improve-label {
    background-color: rgba(91, 255, 75, 0.15);
    color: #2a8a20;
}

.issue-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.issue-list li {
    font-size: 1rem;
    color: var(--color-text);
    padding-left: 1.2em;
    position: relative;
    line-height: 1.7;
}

.issue-list li::before {
    content: '・';
    position: absolute;
    left: 0;
    color: var(--color-cta);
    font-weight: 700;
}

.issue-change {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: var(--color-bg);
    border-radius: 10px;
    padding: 1rem 1.2rem;
    margin-top: auto;
}

.issue-change-icon {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-cta);
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.issue-change p {
    font-size: 0.88rem;
    color: var(--color-gray);
    line-height: 1.65;
    margin: 0;
}

@media (max-width: 900px) {
    .issues-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .issue-card {
        padding: 2rem 1.5rem;
    }

    .issues-lead {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }
}