/* -----------------------------
   共通リセット・基本
------------------------------ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans', sans-serif;
    color: #444;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

/* コンテナ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ボタンスタイル */
.btn {
    display: inline-block;
    padding: 10px 40px;
    text-decoration: none;
    border-radius: 9999px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background-color: #FF7F00;
    color: white;
}

.btn-primary:hover {
    background-color: #812b03;
    /* transform: translateY(-2px); */
}

/* .btn-secondary {
    background-color: #6B9BD8;
    color: white;
    margin: 8px;
}

.btn-secondary:hover {
    background-color: #5A8BC7;
} */

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

.contact-margintop a.btn {
    display: inline-block;
    margin-top: 60px !important;
}



/* -----------------------------
   ハンバーガーメニュー
------------------------------ */
.menu-toggle {
    display: none;
    /* PC表示では非表示 */
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    /* メニューより手前に表示 */
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #444;
    transition: all 0.3s ease-in-out;
}


/* セクションタイトル */

.h2_sub {
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    /* margin-bottom: 60px; */
    color: #444;
    line-height: 1.4;
}

.section-title {
    font-size: 34px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 60px;
    color: #444;
    line-height: 1.4;
}

.section-title .color_blue {
    color: #4490E8;
}


/* -----------------------------
   ヘッダー
------------------------------ */
.header {
    background-color: rgba(255, 255, 255, 0.7); /* 半透明の白 */
    backdrop-filter: blur(10px); /* 背景ぼかし */
    -webkit-backdrop-filter: blur(10px); /* Safari対応 */
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
}
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}
    
/* ロゴ */
.logo a {
    font-size: 1.5rem;
    font-weight: 400;
} 

.logo h1 {
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 0.2em;
}

.logo h1 a {
    display: inline-block;
    text-decoration: none;
    color: #444;
    transition: transform 0.2s ease;
}


.logo h1 a:hover {
    opacity: 60%;
}

.nav {
    display: flex;
    gap: 20px;
}


.nav-list {
    display: flex;
    list-style: none;

}

.nav-list li {
    position: relative;
}

.nav-list a {
    display: block;
    padding: 8px 20px;
    text-decoration: none;
    color: #444;
    font-weight: 500;
    font-size: 14px;
    border-radius: 6px;
    transition: all 0.3s ease;
}


.nav-list a:hover {
    text-decoration: underline;
    text-underline-offset: 10px;
    /*アンダーラインの位置を下げる */
    text-decoration-thickness: 2px;
    /* 下線の太さを3ピクセルにする */
}



/* メインビジュアル/ヒーローセクション */
.hero {
    padding: 120px 0 80px;
    /* background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%); */
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-text {
    flex: 1;
}

.hero-title {
    font-size: 48px;
    font-weight: 600;
    color: #444;
    margin-bottom: 24px;
    line-height: 1.3;
}

.hero-description {
    font-size: 18px;
    color: #444;
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.top_lead {
    font-size: 16px;
    color: #444;
    line-height: 2;
    margin-bottom: 60px;
}

/* 課題提起セクション */
.problems {
    padding: 80px 0;
    background-color: #f8fafc;
}

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

.problem-card {
    background: white;
    padding: 30px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.problem-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #444;
    line-height: 1.4;
}

.problem-card p {
    color: #444;
    font-size: 16px;
    line-height: 1.6;
    margin-top: 20px;
}
.portfolio-contact {
    text-align: center;
    margin-top: 60px;
}

/* 相談セクション */
.consultation {
    padding: 80px 0;
    background-color: #fff;
    text-align: center;
}


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

.consultation-card {
    background: #ddebfb;
    padding: 30px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.consultation-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #444;
    line-height: 1.4;
}

.consultation-card p {
    color: #444;
    font-size: 16px;
    line-height: 1.6;
}


/* 基本サービスセクション */
.services {
    padding: 80px 0;
    background-color: #f8fafc;
}

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

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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


.service-card h3 {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    color: #444;
}

.service-card p {
    color: #444;
    font-size: 16px;
    line-height: 1.6;
    text-align: left;
    margin-top: 20px;
}

.services-li {
    color: #444;
    font-size: 16px;
    line-height: 1.6;
    text-align: left;
    padding-left: 1em;
    margin-top: 1em;
}

/* 制作実績セクション */
.portfolio {
    padding: 80px 0;
    background-color: #fff;
}

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

.portfolio-item {
    margin-bottom: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: #e2e8f0;
}

/* 制作フローセクション */
.workflow {
    padding: 80px 0;
    background-color: #f8fafc;
}

.workflow-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.workflow-step {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;

    text-align: center;
    position: relative;
}

.step-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: #4A90E2;
    color: white;
    border-radius: 50%;
    line-height: 40px;
    font-weight: 600;
    margin-bottom: 16px;
}


.workflow-step h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #444;
}

.workflow-step p {
    color: #444;
    font-size: 16px;
    line-height: 1.6;
    text-align: left;
}

/* 制作料金セクション */
.pricing {
    padding: 80px 0;
    background-color: #fff;
}

.pricing-table {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.pricing-category {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 30px;
}

.pricing-category h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 24px;
    color: #444;
    text-align: center;
    padding-bottom: 16px;
    border-bottom: 2px solid #e2e8f0;
}

.pricing-item-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pricing-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
}


.pricing-item:last-child {
    border-bottom: none;
}

.item-name {
    font-weight: 500;
    color: #444;
}

.item-price {
    font-weight: 600;
    color: #4A90E2;
}

.pricing-note {
    text-align: center;
    margin-top: 40px;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}
/* 料金表下のボタンを中央揃え（PC・スマホ共通） */
.pricing-contact {
    text-align: center;   /* 子要素を中央に配置 */
    margin-top: 40px;     /* 上に余白を追加 */
}

.pricing-contact .btn {
    display: inline-block;  /* 中央揃えを有効化 */
    padding: 12px 28px;     /* ボタンサイズ調整 */
    font-size: 16px;
    transition: background 0.3s;
}

/* ボタンホバー時の効果 */
.pricing-contact .btn:hover {
    background-color: #812b03; /* 色はお好みで変更 */
    color: #fff;
}

/* プロフィールセクション */
.about {
    padding: 80px 0;
    background-color: #f8fafc;
}

.about-content {
    display: flex;
    align-items: flex-start; /* 上揃え */
    gap: 60px;
    max-width: 800px;
    margin: 0 auto;
}

.about-image {
    flex-shrink: 0;
}

.about-image img {
    width: 120px;
    /* height: 200px;
    border-radius: 50%; */
    /* object-fit: cover; */
    /* background-color: #e2e8f0; */
}

.about-text h3 {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 8px;
    color: #444;
}

.about-role {
    font-size: 16px;
    margin-top: 20px;
    color: #4A90E2;
    font-weight: 700;
}

.about-role-02 {
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: 700;
}

.about-description {
    color: #444;
    line-height: 1.7;
    font-size: 15px;
}

/* -----------------------------
  お問い合わせフォームセクション
------------------------------ */
.contact {
    padding: 80px 0;
    background-color: #fff;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #444;
}

.required {
    color: #e53e3e;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4A90E2;
}

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

.contact-form .btn {
    width: 100%;
    margin-top: 16px;
}

/* -----------------------------
   モーダル
------------------------------ */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
    display: none; /* 初期状態は非表示 */
    z-index: 1000;
}

.modal-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    max-width: 400px;
    width: 90%;
    text-align: center;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
}
/* -----------------------------
   フッター
------------------------------ */
.footer {
    background-color: #444;
    color: white;
    padding: 40px 0;
    text-align: center;
}

.footer p {
    font-size: 14px;
    opacity: 0.8;
}

/* -----------------------------
   レスポンシブデザイン
------------------------------ */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    header {
        background: rgba(255, 255, 255, 0.7);
        backdrop-filter: blur(8px);
    }

    .header-container {
        padding: 10px 15px;
    }

    .header-content {
        flex-direction: row;
        justify-content: space-between;
        padding: 12px 0;
    }

    .menu-toggle {
        display: flex;
    }

    /* ナビゲーション */
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 16px;
        transition: right 0.5s ease;
    }

    .nav.is-active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 16px;
        text-align: center;
        width: 100%;
        padding: 0;
    }

    .nav-list a {
        font-size: 18px;
    }

    .menu-toggle.is-active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle.is-active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.is-active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    /* ヒーロー・セクション */
    .hero {
        padding: 100px 0 60px;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .hero-title {
        font-size: 30px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-image img {
        width: 60vw;
        height: auto;
    }

    .speech-bubbles {
        width: 300px;
        height: 225px;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .problems-grid,
    .consultation-grid,
    .services-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .workflow-steps {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .pricing-table {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .about-content {
        flex-direction: column;
        text-align: center;
        gap: 32px;
    }
}

    /* ボタン調整（必要なら） */
    /* .btn-secondary { margin: 4px 0; width: 280px; } */

/* 小さい画面用（480px以下） */
@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .section-title {
        font-size: 28px;
    }

    .problem-card,
    .consultation-card,
    .service-card {
        padding: 30px 20px;
    }

    .pricing-category {
        padding: 20px;
    }
}

    /* -----------------------------
   スクロールアニメーション
------------------------------ */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

.fade-up.active {
  opacity: 1;
  transform: translateY(0);
}