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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    position: relative;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #2563eb;
    flex-shrink: 0;
}

/* PC版グローバルメニュー */
.global-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 40px;
    margin: 0;
    padding: 0;
}

.nav-list li a {
    color: #334155;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
}

.nav-list li a:hover {
    color: #3b82f6;
}

.nav-list li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    transition: width 0.3s ease;
}

.nav-list li a:hover::after {
    width: 100%;
}

.header-cta {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    flex-shrink: 0;
}

.header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

/* Hero Section */
.hero {
    min-height: 600px; /* 高さを指定 */
    background-image:
        linear-gradient(rgba(248, 250, 252, 0.7), rgba(226, 232, 240, 0.7)),
        url('https://bindup.web052.com/image/bind_s_image_00.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    display: flex;               /* 追加 */
    align-items: center;         /* 追加：上下中央揃え */
    justify-content: center;     /* 追加：左右中央揃え */
    padding: 80px 20px;          /* 横にも余白を設定 */
    text-align: center;}

.hero h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #1e293b;
    line-height: 1.2;
}

.hero .subtitle {
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 40px;
    line-height: 1.5;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 6px 25px rgba(59, 130, 246, 0.4);
    margin: 10px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(59, 130, 246, 0.5);
}

.cta-button.secondary {
    background: #fff;
    color: #3b82f6;
    border: 2px solid #3b82f6;
}

.cta-button.secondary:hover {
    background: #f0f9ff;
}

/* Problem Section */
.problems {
    padding: 80px 0;
    background: #fff;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #1e293b;
}

.section-subtitle {
    text-align: center;
    color: #64748b;
    font-size: 1.1rem;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.problem-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: center;
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.problem-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.problem-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #1e293b;
}

.problem-card p {
    color: #64748b;
    line-height: 1.6;
}

/* Service Section */
.service {
    padding: 80px 0;
    background: #f8fafc;
}

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

.service-card {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    text-align: center;
    border: 3px solid transparent;
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: #3b82f6;
    transform: translateY(-8px);
}

.service-card.featured {
    border-color: #3b82f6;
    background: linear-gradient(145deg, #fff, #f8fafc);
}

.centered-list {
  width: max-content;      /* コンテンツ幅に合わせる */
  margin: 0 auto;          /* 中央寄せ */
  padding: 0;
  list-style: none;        /* デフォルトの箇条書きを消す（任意） */
  text-align: left;        /* 左揃え */
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #1e293b;
}

.price {
    font-size: 2.5rem;
    font-weight: bold;
    color: #3b82f6;
    margin-bottom: 10px;
}

.price-unit {
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 20px;
}

.features {
    list-style: none;
    margin-bottom: 30px;
}

.features li {
    padding: 8px 0;
    color: #64748b;
    border-bottom: 1px solid #f1f5f9;
}

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

/* Steps Section */
.steps {
    padding: 80px 0;
    background: #fff;
}

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

.step-card {
    text-align: center;
    padding: 30px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px auto;
}

.step-card h3 {
    margin-bottom: 15px;
    color: #1e293b;
    font-size: 1.2rem;
}

/* Differences Section */
.differences {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e293b, #334155);
    color: white;
}

.differences .section-title {
    color: white;
}

.differences .section-subtitle {
    color: #cbd5e1;
}

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

.diff-card {
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.diff-card h3 {
    margin-bottom: 15px;
    color: #60a5fa;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background: #f8fafc;
}

.faq-item {
    background: #fff;
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.faq-question {
    padding: 20px;
    background: #fff;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 0 20px 20px 20px;
    color: #64748b;
    line-height: 1.6;
}

/* Closing Section */
.closing {
    padding: 80px 0;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    text-align: center;
}

.closing h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.closing p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.closing .cta-button {
    background: #fff;
    color: #3b82f6;
    font-size: 1.2rem;
    padding: 20px 50px;
}

.closing .cta-button:hover {
    background: #f0f9ff;
}

/* Footer */
.footer {
    background: #1e293b;
    color: #cbd5e1;
    padding: 40px 0;
    text-align: center;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero .subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .cta-button {
        display: block;
        margin: 10px auto;
        max-width: 280px;
    }

    .header-cta {
        display: none;
    }

    .container {
        padding: 0 15px;
    }

    .service-card,
    .problem-card {
        padding: 25px;
    }

    .price {
        font-size: 2rem;
    }
}

/* About Section */
.about {
    padding: 80px 0;
    background: #fff;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
    margin-top: 50px;
}

.about-profile {
    text-align: center;
    padding: 40px;
    background: linear-gradient(145deg, #f8fafc, #e2e8f0);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.profile-image {
    margin-bottom: 25px;
}

.avatar-placeholder {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.avatar-icon {
    font-size: 3.5rem;
}

.profile-name {
    font-size: 1.8rem;
    font-weight: bold;
    color: #1e293b;
    margin-bottom: 8px;
}

.profile-title {
    color: #64748b;
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.profile-experience {
    display: flex;
    justify-content: space-around;
    gap: 10px;
}

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

.experience-number {
    display: block;
    font-size: 1.8rem;
    font-weight: bold;
    color: #3b82f6;
    margin-bottom: 5px;
}

.experience-label {
    font-size: 0.85rem;
    color: #64748b;
    white-space: nowrap;
}

.about-description {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.description-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border-left: 4px solid #3b82f6;
    transition: all 0.3s ease;
}

.description-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.description-card h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.description-card p {
    color: #64748b;
    line-height: 1.7;
}

.expertise-list {
    list-style: none;
    margin-top: 15px;
}

.expertise-list li {
    padding: 8px 0;
    color: #64748b;
    position: relative;
    padding-left: 20px;
}

.expertise-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #3b82f6;
    font-weight: bold;
}

/* Portfolio Section */
.portfolio {
    padding: 80px 0;
    background: #f8fafc;
}

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

.portfolio-item {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.portfolio-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.portfolio-thumbnail {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 12px; /* 任意：角丸にしたい場合 */
}

.portfolio-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.portfolio-icon {
    font-size: 3rem;
    margin-bottom: 10px;
    opacity: 0.7;
}

.portfolio-type {
    background: rgba(59, 130, 246, 0.9);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.9), rgba(29, 78, 216, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-details {
    text-align: center;
    color: white;
    padding: 20px;
}

.portfolio-details h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.portfolio-details p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.portfolio-info {
    padding: 25px;
}

.portfolio-info h3 {
    font-size: 1.3rem;
    color: #1e293b;
    margin-bottom: 8px;
}

.portfolio-category {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background: #e0f2fe;
    color: #0369a1;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.portfolio-note {
    margin-top: 50px;
    padding: 25px;
    background: rgba(59, 130, 246, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(59, 130, 246, 0.1);
    text-align: center;
}

.portfolio-note p {
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

.portfolio-note strong {
    color: #1e293b;
}

/* Mobile Responsive for About and Portfolio */
@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-profile {
        padding: 30px 20px;
    }
    
    .profile-experience {
        flex-direction: column;
        gap: 20px;
    }
    
    .experience-item {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }
    
    .experience-number {
        margin-bottom: 0;
    }
    
    .description-card {
        padding: 20px;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .portfolio-item {
        max-width: 100%;
    }
    
    .portfolio-image {
        height: 180px;
    }
    
    .portfolio-info {
        padding: 20px;
    }
    
    .portfolio-note {
        padding: 20px;
        margin-top: 30px;
    }
}

@media (max-width: 480px) {
    .avatar-placeholder {
        width: 100px;
        height: 100px;
    }
    
    .avatar-icon {
        font-size: 3rem;
    }
    
    .profile-name {
        font-size: 1.5rem;
    }
    
    .portfolio-tags {
        gap: 5px;
    }
    
    .tag {
        font-size: 0.75rem;
        padding: 3px 8px;
    }
}

/* ハンバーガーメニューボタン */
.mobile-menu-button {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
    z-index: 1001;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background: #334155;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-button.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-button.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-button.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* モバイルメニュー */
.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    border-radius: 0 0 15px 15px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-nav-list {
    list-style: none;
    padding: 20px 0;
    margin: 0;
}

.mobile-nav-list li {
    border-bottom: 1px solid #f1f5f9;
}

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

.mobile-nav-list li a {
    display: block;
    padding: 15px 20px;
    color: #334155;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mobile-nav-list li a:hover {
    background: #f8fafc;
    color: #3b82f6;
    padding-left: 30px;
}

.mobile-nav-list li a.mobile-cta {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    margin: 10px 20px;
    border-radius: 25px;
    text-align: center;
    font-weight: 600;
}

.mobile-nav-list li a.mobile-cta:hover {
    background: linear-gradient(135deg, #1d4ed8, #3b82f6);
    padding-left: 20px;
}

/* グローバルメニュー用レスポンシブ対応 */
@media (max-width: 1024px) {
    .nav-list {
        gap: 30px;
    }
    
    .nav-list li a {
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .global-nav {
        display: none;
    }
    
    .header-cta {
        display: none;
    }
    
    .mobile-menu-button {
        display: flex;
    }
    
    .header-content {
        padding: 12px 0;
    }
    
    .logo {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .mobile-nav-list li a {
        padding: 12px 15px;
        font-size: 0.95rem;
    }
    
    .mobile-nav-list li a.mobile-cta {
        margin: 8px 15px;
        padding: 12px 15px;
    }
}

/* ポートフォリオ画像のスタイル追加 */
.portfolio-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-thumbnail {
    transform: scale(1.05);
}