/* ==========================================
   株式会社ライクネス CM制作サービスサイト
   ========================================== */

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

html {
    scroll-behavior: smooth;
    /* スクロールパディング（ヘッダー固定時用） */
    scroll-padding-top: 100px;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #302F2F;
    background-color: #FFFFFF;
    font-weight: 400;
}

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

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

ul, ol {
    list-style: none;
}

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

/* ===== ヘッダー ===== */
.header {
    background-color: #FFFFFF;
    border-bottom: 1px solid #E7E4DA;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

.logo a {
    font-size: 18px;
    font-weight: 700;
    color: #302F2F;
    display: block;
}

.logo-img {
    height: 50px;
    width: auto;
    display: block;
    transition: opacity 0.3s ease;
}

.logo a:hover .logo-img {
    opacity: 0.8;
}

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

.nav-list a {
    font-size: 15px;
    font-weight: 500;
    color: #302F2F;
    position: relative;
}

.nav-list a:hover,
.nav-list a.active {
    color: #FFDE00;
}

.nav-list a.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #FFDE00;
}

.header-cta {
    display: flex;
    gap: 12px;
}

/* ハンバーガーメニュー */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #302F2F;
    transition: all 0.3s ease;
}

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

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* モバイルメニュー */
.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    height: calc(100vh - 72px);
    background-color: #FFFFFF;
    z-index: 999;
    padding: 40px 20px;
    overflow-y: auto;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu ul {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mobile-menu a {
    display: block;
    font-size: 18px;
    font-weight: 500;
    color: #302F2F;
    padding: 12px;
    border-bottom: 1px solid #E7E4DA;
}

.mobile-menu .mobile-cta {
    background-color: #FFDE00;
    color: #302F2F;
    text-align: center;
    border-radius: 8px;
    border: none;
    font-weight: 700;
}

/* ===== ボタン ===== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: #FFDE00;
    color: #302F2F;
    border: 2px solid #FFDE00;
}

.btn-primary:hover {
    background-color: #302F2F;
    color: #FFFFFF;
    border-color: #302F2F;
    transform: translateY(-3px);
    box-shadow: 4px 6px 0 rgba(0, 0, 0, 0.15);
}

.btn-primary:active {
    background-color: #FFDE00;
    color: #302F2F;
    border-color: #FFDE00;
    transform: translateY(0);
    box-shadow: none;
}

.btn-secondary {
    background-color: #302F2F;
    color: #FFFFFF;
    border: 2px solid #302F2F;
}

.btn-secondary:hover {
    background-color: #FFFFFF;
    color: #302F2F;
    border-color: #302F2F;
    transform: translateY(-3px);
    box-shadow: 4px 6px 0 rgba(0, 0, 0, 0.15);
}

.btn-secondary:active {
    background-color: #302F2F;
    color: #FFFFFF;
    border-color: #302F2F;
    transform: translateY(0);
    box-shadow: none;
}

.btn-dark {
    background-color: #302F2F;
    color: #FFFFFF;
    border: 2px solid #302F2F;
}

.btn-dark:hover {
    background-color: #FFFFFF;
    color: #302F2F;
    border-color: #302F2F;
    transform: translateY(-3px);
    box-shadow: 4px 6px 0 rgba(0, 0, 0, 0.15);
}

.btn-dark:active {
    background-color: #302F2F;
    color: #FFFFFF;
    border-color: #302F2F;
    transform: translateY(0);
    box-shadow: none;
}

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

.btn-text {
    display: inline-block;
    padding: 18px 48px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    background-color: #302F2F;
    color: #FFFFFF;
    border: 2px solid #302F2F;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-text:hover {
    background-color: #FFFFFF;
    color: #302F2F;
    border-color: #302F2F;
    transform: translateY(-3px);
    box-shadow: 4px 6px 0 rgba(0, 0, 0, 0.15);
}

.btn-text:active {
    background-color: #302F2F;
    color: #FFFFFF;
    border-color: #302F2F;
    transform: translateY(0);
    box-shadow: none;
}

/* ===== ファーストビュー（Hero）- LinguaHackers風 ===== */
.hero {
    position: relative;
    min-height: 100vh;
    background-color: #FFDE00;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0 140px;
}

/* 背景の巨大タイポグラフィ */
.hero-bg-typo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.04;
    pointer-events: none;
    overflow: hidden;
}

.typo-line {
    position: absolute;
    left: 0;
    white-space: nowrap;
    font-size: 150px;
    font-weight: 900;
    color: #302F2F;
    display: flex;
    letter-spacing: 0.1em;
    font-style: italic;
    line-height: 1;
}

.typo-line-1 {
    top: 2%;
    transform: rotate(-5deg);
    animation: scrollTextRight 140s linear infinite;
}

.typo-line-2 {
    top: 21%;
    transform: rotate(4deg);
    animation: scrollTextLeft 120s linear infinite;
}

.typo-line-3 {
    top: 40%;
    transform: rotate(-3deg);
    animation: scrollTextRight 130s linear infinite;
    animation-delay: -20s;
}

.typo-line-4 {
    top: 59%;
    transform: rotate(4deg);
    animation: scrollTextLeft 110s linear infinite;
    animation-delay: -30s;
}

.typo-line-5 {
    top: 78%;
    transform: rotate(-5deg);
    animation: scrollTextRight 125s linear infinite;
    animation-delay: -40s;
}

@keyframes scrollTextRight {
    0% {
        transform: translateX(0) rotate(-5deg);
    }
    100% {
        transform: translateX(-50%) rotate(-5deg);
    }
}

@keyframes scrollTextLeft {
    0% {
        transform: translateX(-50%) rotate(4deg);
    }
    100% {
        transform: translateX(0) rotate(4deg);
    }
}

/* メインコンテンツエリア */
.hero .container {
    position: relative;
    z-index: 1;
}

.hero-main {
    max-width: 1000px;
    margin: 0;
    text-align: left;
    opacity: 0;
    animation: fadeInUp 1s ease 0.3s forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* 上部ラベル */
.hero-label-top {
    display: inline-block;
    padding: 0;
    background-color: transparent;
    color: #FFFFFF;
    border-radius: 0;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 20px;
    margin-top: 40px;
    border: none;
    transform: none;
    box-shadow: none;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    opacity: 0;
    animation: fadeIn 0.6s ease 0.4s forwards;
}

/* タイトル（上部・小さめ） */
.hero-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    color: #302F2F;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.5s forwards;
}

.title-line {
    display: inline;
    margin-right: 8px;
}

.title-emphasis {
    position: relative;
    display: inline-block;
    background-color: #FFFFFF;
    padding: 6px 24px;
    border-radius: 8px;
    border: 3px solid #302F2F;
    transform: rotate(-3deg);
    font-weight: 900;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.08);
}

/* メインコピー（巨大） */
.hero-main-copy {
    font-size: 160px;
    font-weight: 900;
    line-height: 1;
    color: #302F2F;
    margin-bottom: 60px;
    display: inline-block;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.7s forwards;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

/* SP版改行用（デフォルトは非表示） */
.sp-break {
    display: none;
}

.copy-with-underline {
    position: relative;
    display: inline-block;
}

.copy-with-underline::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: -12px;
    width: calc(100% + 4px);
    height: 40px;
    background-color: #FFFFFF;
    z-index: -1;
    transform: rotate(-1.5deg) skewX(-2deg);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* サブタイトル */
.hero-subtitle {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 5px;
    color: #302F2F;
    margin-bottom: 56px;
    opacity: 0;
    animation: fadeIn 0.6s ease 0.9s forwards;
}

/* 説明文 */
.hero-description {
    font-size: 26px;
    line-height: 1.7;
    color: #302F2F;
    margin-bottom: 64px;
    font-weight: 700;
    max-width: 800px;
    opacity: 0;
    animation: fadeInUp 0.8s ease 1.1s forwards;
}

/* CTA */
.hero-cta {
    display: flex;
    gap: 20px;
    margin-bottom: 48px;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 0.8s ease 1.3s forwards;
}

.btn-hero-primary {
    background-color: #302F2F;
    color: #FFFFFF;
    border: 3px solid #302F2F;
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.15);
    transform: rotate(-2deg);
    font-size: 18px;
    padding: 22px 56px;
    font-weight: 900;
    border-radius: 8px;
}

.btn-hero-primary:hover {
    background-color: #FFFFFF;
    color: #302F2F;
    transform: rotate(-2deg) translateY(-6px) scale(1.05);
    box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.2);
}

.btn-hero-secondary {
    background-color: #FFFFFF;
    color: #302F2F;
    border: 3px solid #302F2F;
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.08);
    transform: rotate(2deg);
    font-size: 18px;
    padding: 22px 56px;
    font-weight: 900;
    border-radius: 8px;
}

.btn-hero-secondary:hover {
    background-color: #FFDE00;
    color: #302F2F;
    transform: rotate(2deg) translateY(-6px) scale(1.05);
    box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.15);
}

/* タグ */
.hero-tags {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeIn 0.8s ease 1.5s forwards;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px 11px 16px;
    background-color: #FFFFFF;
    border: 2.5px solid #302F2F;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    color: #302F2F;
    transition: all 0.3s ease;
    transform: rotate(-1.5deg);
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.1);
    position: relative;
}

.hero-tag::before {
    content: '';
    width: 20px;
    height: 20px;
    background-color: #302F2F;
    flex-shrink: 0;
}

/* 拠点アイコン（ピンマーク） */
.hero-tag.tag-location::before {
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    position: relative;
}

.hero-tag.tag-location::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: #FFFFFF;
    border-radius: 50%;
    left: 23px;
    top: 17px;
}

/* メディアアイコン（再生ボタン） */
.hero-tag.tag-media::before {
    border-radius: 3px;
    position: relative;
}

.hero-tag.tag-media::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 8px solid #FFFFFF;
    left: 22px;
    top: 15px;
}

/* ウェルカムアイコン（チェックマーク） */
.hero-tag.tag-welcome::before {
    border-radius: 50%;
    position: relative;
}

.hero-tag.tag-welcome::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 8px;
    border-right: 2px solid #FFFFFF;
    border-bottom: 2px solid #FFFFFF;
    transform: rotate(45deg);
    left: 23px;
    top: 14px;
}

.hero-tag:hover {
    background-color: #302F2F;
    color: #FFFFFF;
    transform: rotate(-1.5deg) translateY(-4px) scale(1.03);
    box-shadow: 4px 6px 0 rgba(0, 0, 0, 0.15);
}

.hero-tag:hover::before {
    background-color: #FFDE00;
}

.hero-tag:hover.tag-location::after {
    background-color: #302F2F;
}

.hero-tag:hover.tag-media::after {
    border-left-color: #302F2F;
}

.hero-tag:hover.tag-welcome::after {
    border-right-color: #302F2F;
    border-bottom-color: #302F2F;
}

/* 装飾円 */
.hero-deco-circle {
    position: absolute;
    border-radius: 50%;
    border: 5px solid #302F2F;
    opacity: 0.18;
    animation: float 6s ease-in-out infinite;
}

.hero-deco-circle-1 {
    width: 160px;
    height: 160px;
    top: 15%;
    right: 10%;
    animation-delay: 0s;
    transform: rotate(8deg);
}

.hero-deco-circle-2 {
    width: 100px;
    height: 100px;
    bottom: 25%;
    left: 6%;
    animation-delay: 2.5s;
    transform: rotate(-12deg);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(8deg);
    }
    50% {
        transform: translateY(-30px) rotate(20deg);
    }
}

/* 装飾ライン */
.hero-deco-line {
    position: absolute;
    width: 300px;
    height: 8px;
    background-color: #302F2F;
    opacity: 0.12;
    top: 40%;
    right: 15%;
    transform: rotate(-32deg);
    border-radius: 4px;
    opacity: 0;
    animation: slideInDeco 1s ease 0.8s forwards;
}

@keyframes slideInDeco {
    from {
        opacity: 0;
        transform: translateX(60px) rotate(-32deg);
    }
    to {
        opacity: 0.12;
        transform: translateX(0) rotate(-32deg);
    }
}

/* スクロール誘導（削除） */
.hero-scroll {
    display: none;
}

.hero-scroll span {
    display: none;
}

.scroll-line {
    display: none;
}

/* 波型の下端 */
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 1;
}

.hero-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 120px;
}

.hero-wave path {
    fill: #FFFFFF;
}

/* ===== ページヘッダー ===== */
.page-hero {
    padding: 80px 0;
    background-color: #F7F7F5;
    border-bottom: 1px solid #E7E4DA;
    text-align: center;
}

.page-title {
    font-size: 42px;
    font-weight: 900;
    line-height: 1.3;
    color: #302F2F;
    margin-bottom: 16px;
}

.page-subtitle {
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 2px;
    color: #302F2F;
    margin-bottom: 24px;
}

.page-lead {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== 画像プレースホルダ（その他ページ用） ===== */
.image-placeholder {
    background-color: #F7F7F5;
    border: 2px dashed #E7E4DA;
    border-radius: 8px;
    padding: 80px 40px;
    text-align: center;
    color: #302F2F;
    font-size: 14px;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.image-placeholder .placeholder-note {
    display: inline-block;
    margin-top: 12px;
    padding: 6px 16px;
    background-color: #FFDE00;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
}

/* アイコンシルエット用スタイル */
.icon-silhouette {
    width: 80px;
    height: 80px;
    display: inline-block;
    background-color: #302F2F;
    opacity: 0.15;
    border-radius: 50%;
    position: relative;
}

.icon-silhouette::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background-color: #FFFFFF;
    border-radius: 50%;
}

/* カードアイコン用 - シルエットタイプ */
.card-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    background-color: #FFDE00;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.card-icon::before {
    content: '';
    position: absolute;
    background-color: #302F2F;
}

/* 電球アイコン（アイデア） */
.card-icon.icon-idea::before {
    width: 18px;
    height: 24px;
    border-radius: 50% 50% 0 0;
    top: 12px;
}

.card-icon.icon-idea::after {
    content: '';
    position: absolute;
    width: 14px;
    height: 6px;
    background-color: #302F2F;
    bottom: 12px;
    border-radius: 2px;
}

/* 脳アイコン（記憶・覚えやすさ） */
.card-icon.icon-brain::before {
    width: 30px;
    height: 24px;
    border-radius: 50% 50% 40% 40%;
    top: 16px;
}

.card-icon.icon-brain::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 3px;
    background-color: #FFDE00;
    top: 24px;
    box-shadow: 0 6px 0 #FFDE00;
}

/* インパクトアイコン（稲妻・雷） */
.card-icon.icon-impact::before {
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 4px solid transparent;
    border-top: 16px solid #302F2F;
    top: 14px;
    left: 23px;
    background-color: transparent;
}

.card-icon.icon-impact::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 10px solid transparent;
    border-top: 16px solid #302F2F;
    bottom: 14px;
    left: 19px;
    background-color: transparent;
}

/* 目的アイコン（コンパス） */
.card-icon.icon-purpose::before {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 3px solid #302F2F;
    background-color: transparent;
}

.card-icon.icon-purpose::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 12px solid #302F2F;
    top: 18px;
    background-color: transparent;
}

/* ターゲットアイコン */
.card-icon.icon-target::before {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 4px solid #302F2F;
    background-color: transparent;
}

.card-icon.icon-target::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: #302F2F;
    border-radius: 50%;
}

/* スターアイコン */
.card-icon.icon-star::before {
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 20px solid #302F2F;
    top: 14px;
    background-color: transparent;
}

.card-icon.icon-star::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 20px solid #302F2F;
    bottom: 14px;
    background-color: transparent;
}

/* TVアイコン */
.card-icon.icon-tv::before {
    width: 30px;
    height: 22px;
    border-radius: 3px;
    top: 14px;
}

.card-icon.icon-tv::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 4px;
    background-color: #302F2F;
    bottom: 10px;
    border-radius: 0 0 2px 2px;
}

/* Webアイコン（地球） */
.card-icon.icon-web::before {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 3px solid #302F2F;
    background-color: transparent;
}

.card-icon.icon-web::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 28px;
    background-color: #302F2F;
}

/* チャットアイコン */
.card-icon.icon-chat::before {
    width: 26px;
    height: 20px;
    border-radius: 8px 8px 0 8px;
    top: 14px;
}

.card-icon.icon-chat::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 0 solid transparent;
    border-top: 6px solid #302F2F;
    bottom: 14px;
    left: 18px;
    background-color: transparent;
}

/* ドキュメントアイコン */
.card-icon.icon-document::before {
    width: 20px;
    height: 26px;
    border-radius: 2px;
    top: 12px;
}

.card-icon.icon-document::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 2px;
    background-color: #FFDE00;
    top: 22px;
    box-shadow: 0 4px 0 #FFDE00, 0 8px 0 #FFDE00;
}

/* フォルダアイコン */
.card-icon.icon-folder::before {
    width: 28px;
    height: 18px;
    border-radius: 0 2px 2px 2px;
    bottom: 14px;
}

.card-icon.icon-folder::after {
    content: '';
    position: absolute;
    width: 14px;
    height: 4px;
    background-color: #302F2F;
    top: 14px;
    left: 16px;
    border-radius: 2px 2px 0 0;
}

/* カメラアイコン */
.card-icon.icon-camera::before {
    width: 30px;
    height: 20px;
    border-radius: 4px;
    top: 18px;
}

.card-icon.icon-camera::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: #FFDE00;
    border-radius: 50%;
    top: 22px;
}

/* ハサミアイコン */
.card-icon.icon-scissors::before {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    top: 14px;
    left: 16px;
}

.card-icon.icon-scissors::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: #302F2F;
    border-radius: 50%;
    bottom: 14px;
    left: 16px;
}

/* ロケットアイコン */
.card-icon.icon-rocket::before {
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 26px solid #302F2F;
    top: 12px;
    background-color: transparent;
}

.card-icon.icon-rocket::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid #302F2F;
    bottom: 12px;
    left: 19px;
    background-color: transparent;
}

.card-icon-silhouette {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background-color: rgba(48, 47, 47, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.card-icon-silhouette::before {
    content: '';
    position: absolute;
    width: 36px;
    height: 36px;
    background-color: #302F2F;
    opacity: 0.3;
    border-radius: 4px;
    transform: rotate(15deg);
}

/* ===== セクション ===== */
.section {
    padding: 100px 0;
}

.section-compact {
    padding: 60px 0 !important;
}

.section-white {
    background-color: #FFFFFF;
}

.section-gray {
    background-color: #F7F7F5;
}

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

.section-title {
    font-size: 36px;
    font-weight: 900;
    line-height: 1.4;
    color: #302F2F;
    margin-bottom: 16px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    font-size: 13px;
    font-weight: 300;
    letter-spacing: 2px;
    color: #666666;
    margin-bottom: 24px;
}

.section-note {
    font-size: 14px;
    color: #666;
    margin-top: 16px;
}

.section-content {
    max-width: 1200px;
    margin: 0 auto;
}

.section-content > p {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.lead-text {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.8;
    margin-bottom: 32px;
    text-align: center;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.highlight {
    background: linear-gradient(transparent 60%, #FFDE00 60%);
    font-weight: 700;
}

.highlight-yellow {
    color: #302F2F;
    background-color: #FFDE00;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
}

/* ===== カードグリッド ===== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin: 48px 0;
    justify-items: center;
}

/* 1行2列の場合はセンター配置 */
.card-grid > *:nth-last-child(2):first-child,
.card-grid > *:nth-last-child(2):first-child ~ * {
    grid-column: span 1;
}

.card-grid:has(> *:nth-last-child(2):first-child) {
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.card {
    background-color: #FFFFFF;
    border: 1px solid #E7E4DA;
    border-radius: 8px;
    width: 100%;
    padding: 32px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 250px;
}

.section-gray .card {
    background-color: #FFFFFF;
}

.card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #302F2F;
}

.card-text {
    font-size: 15px;
    line-height: 1.8;
    color: #302F2F;
}

/* ===== フローダイアグラム ===== */
.flow-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin: 48px 0;
    flex-wrap: wrap;
}

.flow-item {
    background-color: #FFFFFF;
    border: 2px solid #E7E4DA;
    border-radius: 8px;
    padding: 32px;
    text-align: center;
    flex: 1;
    min-width: 200px;
}

.section-gray .flow-item {
    background-color: #FFFFFF;
}

.flow-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    background-color: #FFDE00;
    color: #302F2F;
    border-radius: 50%;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
}

.flow-item h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.flow-item p {
    font-size: 14px;
    color: #666;
}

.flow-arrow {
    font-size: 32px;
    color: #FFDE00;
    font-weight: 700;
}

/* ===== ハイライトボックス ===== */
.highlight-box,
.warning-box,
.note-box,
.emphasis-box {
    background-color: #ffffff;
    border-left: 4px solid #FFDE00;
    border-radius: 8px;
    padding: 32px;
    margin: 40px 0;
}

.warning-box {
    background-color: #FFF9E6;
    border-left-color: #FFDE00;
}

.box-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #302F2F;
}

.check-list {
    list-style: none;
    padding: 0;
}

.check-list li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 1.8;
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #FFDE00;
    font-weight: 700;
    font-size: 20px;
}

/* ===== ポイントリスト ===== */
.point-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.point-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.point-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    background-color: #FFDE00;
    color: #302F2F;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
}

.point-content h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.point-content p {
    font-size: 15px;
    line-height: 1.8;
}

/* ===== サービスグリッド ===== */
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin: 40px 0;
    justify-items: center;
}

/* 1行2列の場合はセンター配置 */
.service-grid:has(> *:nth-last-child(2):first-child) {
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.service-card {
    background-color: #FFFFFF;
    border: 2px solid #E7E4DA;
    border-radius: 8px;
    padding: 40px;
    width: 100%;
    display: flex;
    flex-direction: column;
    min-height: 280px;
}

.service-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #302F2F;
}

/* ===== ステップグリッド ===== */
.step-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 40px 0;
    justify-items: center;
}

/* 1行2列の場合はセンター配置 */
.step-grid:has(> *:nth-last-child(2):first-child) {
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.step-card {
    background-color: #FFFFFF;
    border: 1px solid #E7E4DA;
    border-radius: 8px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    flex-direction: column;
    min-height: 220px;
    justify-content: flex-start;
}

.section-gray .step-card {
    background-color: #FFFFFF;
}

.step-card:hover {
    border-color: #FFDE00;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.step-number {
    display: inline-block;
    padding: 8px 20px;
    background-color: #FFDE00;
    color: #302F2F;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.step-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.step-card p {
    font-size: 14px;
    color: #666;
    margin-bottom: 0; /* p下の余白を削除 */
}

/* ===== 代表紹介セクション ===== */
.section-producer {
    background: linear-gradient(135deg, #F7F7F5 0%, #FFFFFF 100%);
}

.producer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
}

.producer-image {
    position: relative;
}

.producer-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #302F2F;
}

.producer-text p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* ===== 事例（ケーススタディ） ===== */
.case-study {
    margin-bottom: 80px;
    padding-bottom: 80px;
    border-bottom: 1px solid #E7E4DA;
}

.case-study:last-child {
    border-bottom: none;
}

.case-header {
    margin-bottom: 32px;
}

.case-label {
    display: inline-block;
    padding: 6px 16px;
    background-color: #FFDE00;
    color: #302F2F;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.case-title {
    font-size: 28px;
    font-weight: 700;
    color: #302F2F;
}

.case-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
}

.case-placeholder {
    min-height: 300px;
}

.case-section {
    margin-bottom: 24px;
}

.case-section h4 {
    font-size: 16px;
    font-weight: 700;
    color: #302F2F;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 2px solid #FFDE00;
}

.case-section p {
    font-size: 15px;
    line-height: 1.8;
}

/* ===== クライアントロゴスクロール ===== */
.section-logo-scroll {
    padding: 30px 0 20px 0 !important;
}

.logo-scroll-container {
    overflow: hidden;
    padding: 20px 0;
    background-color: #FFFFFF;
    position: relative;
}

.logo-scroll {
    display: flex;
    gap: 60px;
    animation: scroll-left 30s linear infinite;
}

.logo-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
}

.logo-item img {
    max-height: 100px;
    max-width: 280px;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 1;
    transition: transform 0.3s ease;
}

.logo-item img:hover {
    transform: scale(1.05);
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.logo-scroll-container:hover .logo-scroll {
    animation-play-state: paused;
}


/* ===== 選ばれる理由グリッド ===== */
.reason-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin: 40px 0;
}

.reason-card {
    background-color: #FFFFFF;
    border: 2px solid #E7E4DA;
    border-radius: 8px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.reason-card:hover {
    border-color: #FFDE00;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.reason-icon {
    display: inline-block;
    width: 60px;
    height: 60px;
    line-height: 60px;
    background-color: #FFDE00;
    color: #302F2F;
    border-radius: 50%;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.reason-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

/* ===== 料金カードグリッド ===== */
.cost-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 40px 0;
}

.cost-card {
    background-color: #FFFFFF;
    border: 1px solid #E7E4DA;
    border-radius: 8px;
    padding: 32px;
    transition: all 0.3s ease;
}

.cost-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.cost-icon {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background-color: #FFDE00;
    color: #302F2F;
    border-radius: 50%;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cost-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.cost-card p {
    font-size: 14px;
    line-height: 1.8;
    color: #302F2F;
}

/* ===== デプロイメントボックス ===== */
.deployment-box {
    background-color: #F7F7F5;
    border: none; /* 枠線削除 */
    border-radius: 8px;
    padding: 40px;
    margin: 40px 0;
}

.deployment-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin: 24px 0;
}

.deployment-item {
    background-color: #FFFFFF;
    border: 1px solid #E7E4DA;
    border-radius: 8px;
    padding: 24px;
}

.deployment-item strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #302F2F;
}

.deployment-item p {
    font-size: 14px;
    color: #666;
}

.deployment-note {
    font-size: 15px;
    line-height: 1.8;
    margin-top: 24px;
    font-weight: 500;
}

/* ===== プラングリッド ===== */
.plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin: 40px 0;
}

.plan-grid-2col {
    grid-template-columns: repeat(2, 1fr);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.plan-card {
    background-color: #FFFFFF;
    border: 2px solid #E7E4DA;
    border-radius: 8px;
    padding: 40px;
    position: relative;
    transition: all 0.3s ease;
}

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

.plan-featured {
    border-color: #FFDE00;
    border-width: 3px;
}

.plan-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background-color: #FFDE00;
    color: #302F2F;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.plan-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #666;
    margin-bottom: 12px;
}

.plan-title {
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 16px;
    color: #302F2F;
}

.plan-price {
    font-size: 20px;
    font-weight: 700;
    color: #302F2F;
    margin-bottom: 20px;
}

.price-note {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: #666;
    margin-top: 8px;
}

.plan-description {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
    color: #302F2F;
}

.plan-features {
    list-style: none;
    padding: 0;
}

.plan-features li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    font-size: 15px;
}

.plan-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #FFDE00;
    font-weight: 700;
    font-size: 18px;
}

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

.faq-item {
    background-color: #FFFFFF;
    border: 1px solid #E7E4DA;
    border-radius: 8px;
    padding: 32px;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.section-gray .faq-item {
    background-color: #FFFFFF;
}

.faq-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.faq-question {
    font-size: 18px;
    font-weight: 700;
    color: #302F2F;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 2px solid #FFDE00;
}

.faq-answer p {
    font-size: 15px;
    line-height: 1.8;
}

/* ===== お問い合わせセクション ===== */
.section-contact {
    background-color: #F7F7F5;
}

.contact-intro {
    text-align: center;
    font-size: 16px;
    margin-bottom: 24px;
}

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

.contact-form-box {
    background-color: #FFFFFF;
    border: 2px solid #E7E4DA;
    border-radius: 8px;
    padding: 48px;
    max-width: 800px;
    margin: 0 auto;
}

.form-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #302F2F;
    text-align: center;
}

.form-note {
    font-size: 14px;
    color: #666;
    text-align: center;
    margin-bottom: 40px;
}

.contact-form {
    max-width: 100%;
}

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

.form-group label {
    display: block;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #302F2F;
}

.required {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    background-color: #FFDE00;
    color: #302F2F;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #E7E4DA;
    border-radius: 8px;
    font-size: 15px;
    font-family: 'Noto Sans JP', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FFDE00;
    box-shadow: 0 0 0 3px rgba(255, 222, 0, 0.1);
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.radio-label {
    display: flex;
    align-items: center;
    font-weight: 400;
    cursor: pointer;
}

.radio-label input[type="radio"] {
    margin-right: 8px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.form-submit {
    text-align: center;
    margin-top: 40px;
}

.form-privacy {
    font-size: 12px;
    color: #666;
    text-align: center;
    margin-top: 24px;
}

.contact-alternative {
    text-align: center;
    margin-top: 40px;
    padding: 32px;
    background-color: #F7F7F5;
    border-radius: 8px;
}

.contact-alternative p {
    font-size: 14px;
    line-height: 1.8;
}

/* ===== CTAセクション ===== */
.section-cta {
    background-color: #FFDE00;
    color: #302F2F;
    padding: 80px 0;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 36px;
    font-weight: 900;
    line-height: 1.4;
    margin-bottom: 16px;
}

.cta-subtitle {
    font-size: 13px;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 24px;
}

.cta-text {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.cta-inline {
    text-align: center;
    margin: 48px 0;
}

/* ===== フッター ===== */
.footer {
    background-color: #302F2F;
    color: #FFFFFF;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-info p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 8px;
}

.footer-nav ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav a {
    font-size: 14px;
    color: #FFFFFF;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #FFDE00;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 12px;
    color: #999;
}

/* ===== レスポンシブデザイン ===== */
@media (max-width: 1024px) {
    .typo-line {
        font-size: 90px;
    }
    
    .hero-main-copy {
        font-size: 110px;
    }
    
    .copy-with-underline::after {
        height: 28px;
        bottom: 2px;
        left: -10px;
        width: calc(100% + 4px);
    }
    
    .hero-deco-circle-1 {
        width: 110px;
        height: 110px;
    }
    
    .hero-deco-circle-2 {
        width: 80px;
        height: 80px;
    }
    
    .producer-content {
        gap: 40px;
    }
    
    /* タブレット：グリッドを2列に */
    .card-grid,
    .service-grid,
    .step-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }
    
    .case-content {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
    
    .case-video {
        order: -1;
    }
}

@media (max-width: 768px) {
    /* コンテナ：両サイドに28pxパディング（さらに1px狭める） */
    .container {
        padding: 0 25px;
        max-width: 370px;
        margin: 0 auto;
    }
    
    /* 最小フォントサイズ */
    body {
        font-size: 14px;
    }
    
    p, li, span {
        font-size: max(10px, 1em);
    }
    
    /* ヘッダー */
    .nav, .header-cta {
        display: none;
    }
    
    .header-inner {
        gap: 20px;
    }
    
    .hamburger {
        display: flex;
    }
    
    /* Hero */
    .hero {
        min-height: auto;
        padding: 50px 0 80px;
    }
    
    .hero-bg-typo {
        opacity: 0.03;
    }
    
    .typo-line {
        font-size: 55px;
    }
    
    .logo-img {
        height: 40px;
    }
    
    .hero-main {
        text-align: center;
        margin: 0 auto;
    }
    
    .hero-label-top {
        position: static;
        transform: none;
        margin-bottom: 12px;
        margin-top: 0;
    }
    
    .hero-title {
        font-size: 24px;
        margin-bottom: 20px;
        line-height: 1.2;
    }
    
    .title-emphasis {
        font-size: 24px;
        padding: 4px 16px;
    }
    
    .hero-main-copy {
        font-size: 56px;
        gap: 12px;
        justify-content: center;
        line-height: 1.1;
    }
    
    .copy-with-underline::after {
        height: 16px;
        bottom: 0px;
        left: -6px;
        width: calc(100% + 2px);
    }
    
    .hero-subtitle {
        font-size: 11px;
        letter-spacing: 2px;
        margin-top: -16px;
        margin-bottom: 24px;
    }
    
    .hero-description {
        font-size: 17px;
        margin-bottom: 36px;
        max-width: 100%;
        line-height: 1.75;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 16px;
        margin-bottom: 36px;
    }
    
    .hero-cta .btn {
        width: 100%;
        text-align: center;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        transform: rotate(0) !important;
        padding: 18px 40px;
        font-size: 16px;
    }
    
    .btn-hero-primary:hover,
    .btn-hero-secondary:hover {
        transform: translateY(-3px) !important;
    }
    
    .hero-tags {
        justify-content: center;
    }
    
    .hero-deco-circle,
    .hero-deco-line {
        display: none;
    }
    
    .hero-scroll {
        bottom: 30px;
    }
    
    .hero-wave svg {
        height: 80px;
    }
    
    /* ページヘッダー */
    .page-hero {
        padding: 40px 0 40px;
    }
    
    .page-title {
        font-size: 26px;
        line-height: 1.4;
    }
    
    .page-lead {
        font-size: 15px;
    }
    
    /* 料金ページ：上部ボタンを横並びに */
    .page-cta {
        display: flex !important;
        flex-direction: row !important;
        gap: 12px !important;
        justify-content: center;
    }
    
    .page-cta .btn {
        flex: 1;
        padding: 14px 20px !important;
        font-size: 14px !important;
        white-space: nowrap;
    }
    
    /* セクション */
    .section {
        padding: 50px 0;
    }
    
    .section-header {
        margin-bottom: 20px;
    }
    
    /* 覚えやすいCMセクションの下部余白を詰める */
    .cta-inline {
        margin: 30px 0 0 0 !important;
    }
    
    .section-title {
        font-size: 24px;
        line-height: 1.4;
        margin-bottom: 3px !important;
    }
    
    .section-subtitle {
        margin-top: 0 !important;
        margin-bottom: 24px;
    }
    
    /* 説明文を左寄せに */
    .section-content > p {
        text-align: left !important;
    }
    
    .lead-text {
        text-align: left !important;
    }
    
    .page-lead {
        text-align: left !important;
    }
    
    .lead-text {
        font-size: 16px;
    }
    
    /* カードグリッド */
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        justify-items: center;
    }
    
    .card-grid > * {
        width: 100%;
    }
    
    /* 奇数個の場合の最後の要素を中央配置 */
    .card-grid > *:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        max-width: 50%;
        justify-self: center;
    }
    
    /* サービスグリッド */
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        justify-items: center;
    }
    
    .service-grid > * {
        width: 100%;
    }
    
    /* 奇数個の場合の最後の要素を中央配置 */
    .service-grid > *:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        max-width: 50%;
        justify-self: center;
    }
    
    /* フローダイアグラム */
    .flow-diagram {
        flex-direction: column;
        gap: 8px;
        margin: 24px 0;
    }
    
    .flow-item {
        padding: 16px 20px;
        min-width: auto;
    }
    
    .flow-number {
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .flow-item h3 {
        font-size: 16px;
        margin-bottom: 4px;
    }
    
    .flow-item p {
        font-size: 12px;
    }
    
    .flow-arrow {
        transform: rotate(90deg);
        font-size: 20px;
    }
    
    /* ステップグリッド */
    .step-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        justify-items: center;
    }
    
    .step-grid > * {
        width: 100%;
    }
    
    /* 奇数個の場合の最後の要素を中央配置 */
    .step-grid > *:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        max-width: 50%;
        justify-self: center;
    }
    
    /* ロゴスクロール */
    .section-logo-scroll {
        padding: 20px 0 15px 0 !important;
    }
    
    .logo-scroll-container {
        padding: 15px 0;
    }
    
    .logo-scroll {
        gap: 50px;
    }
    
    .logo-item {
        height: 80px;
    }
    
    .logo-item img {
        max-height: 80px;
        max-width: 220px;
    }
    
    /* コンパクトセクション */
    .section-compact {
        padding: 40px 0 !important;
    }
    
    /* 代表紹介 */
    .producer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    /* 事例 */
    .case-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .case-title {
        font-size: 22px;
    }
    
    /* 選ばれる理由 */
    .reason-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    /* 料金カード */
    .cost-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* プラングリッド */
    .plan-grid,
    .plan-grid-2col {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    /* CTA */
    .cta-title {
        font-size: 24px;
        line-height: 1.5;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    /* フォーム */
    .contact-form-box {
        padding: 32px 20px;
    }
    
    .radio-group {
        gap: 8px;
    }
    
    /* 制作の流れセクション：タブレット版 */
    .step-card p {
        margin-bottom: 0 !important;
    }
    
    .step-title {
        margin-bottom: 8px !important;
    }
    
    /* フッター */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
    
    /* フッターロゴをSP版で正しく表示 */
    .footer-logo img {
        height: 40px !important;
        width: auto !important;
        max-width: 100% !important;
        object-fit: contain !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 25px;
        max-width: 370px;
        margin: 0 auto;
    }
    
    /* 最小フォントサイズ */
    body {
        font-size: 13px;
    }
    
    p, li, span {
        font-size: max(10px, 1em);
    }
    
    /* SP版：ヒーロータイトル改行 */
    .sp-break {
        display: block;
    }
    
    /* SP版：認知→検索→問い合わせのボックスを2列2行配置 */
    .flow-diagram {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
        justify-items: center;
    }
    
    .flow-item {
        width: 100%;
        padding: 20px 16px !important;
    }
    
    .flow-arrow {
        display: none !important; /* 矢印を非表示 */
    }
    
    /* SP版：制作の流れセクションのpを9pxに */
    .step-card p {
        font-size: 9px !important;
        line-height: 1.4 !important;
        margin-bottom: 0 !important; /* p下の余白をゼロに */
    }
    
    .step-card {
        padding: 14px 12px !important; /* 上下を14pxに統一、左右12px */
        min-height: auto !important; /* min-heightを解除してコンテンツに合わせる */
    }
    
    .step-title {
        font-size: 12px !important;
        margin-bottom: 4px !important;
    }
    
    .step-number {
        margin-bottom: 8px !important; /* 番号下の余白を縮小 */
    }
    
    /* 極小画面：グリッドを2列維持（最小サイズでも見やすく） */
    .card-grid,
    .service-grid,
    .step-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        justify-items: center;
    }
    
    .card-grid > *,
    .service-grid > *,
    .step-grid > * {
        width: 100%;
    }
    
    /* 奇数個の場合の最後の要素を中央配置 */
    .card-grid > *:last-child:nth-child(odd),
    .service-grid > *:last-child:nth-child(odd),
    .step-grid > *:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        max-width: 50%;
        justify-self: center;
    }
    
    .hero {
        padding: 40px 0 70px;
    }
    
    .typo-line {
        font-size: 42px;
    }
    
    .logo-img {
        height: 32px;
    }
    
    /* ロゴスクロール（極小画面） */
    .section-logo-scroll {
        padding: 15px 0 10px 0 !important;
    }
    
    .logo-scroll-container {
        padding: 10px 0;
    }
    
    .logo-scroll {
        gap: 40px;
    }
    
    .logo-item {
        height: 70px;
    }
    
    .logo-item img {
        max-height: 70px;
        max-width: 160px;
    }
    
    /* コンパクトセクション */
    .section-compact {
        padding: 30px 0 !important;
    }
    
    .hero-label-top {
        font-size: 10px;
        padding: 7px 18px;
        margin-bottom: 16px;
        margin-top: 0;
    }
    
    .hero-title {
        font-size: 18px;
        margin-bottom: 16px;
    }
    
    .title-emphasis {
        font-size: 18px;
        padding: 2px 10px;
    }
    
    .hero-main-copy {
        font-size: 42px;
        gap: 8px;
        line-height: 1.1;
    }
    
    /* SP版：改行を無効化 */
    .sp-break {
        display: none;
    }
    
    .copy-with-underline::after {
        height: 14px;
        bottom: 0px;
        left: -5px;
        width: calc(100% + 2px);
    }
    
    .hero-subtitle {
        font-size: 9px;
        letter-spacing: 1px;
        margin-top: -18px;
        margin-bottom: 12px;
    }
    
    .hero-description {
        font-size: 14px;
        margin-bottom: 28px;
    }
    
    .hero-cta {
        gap: 12px;
        margin-bottom: 32px;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        padding: 16px 36px;
        font-size: 15px;
    }
    
    .hero-wave svg {
        height: 60px;
    }
    
    .hero-scroll {
        display: none;
    }
    
    .page-title {
        font-size: 22px;
        line-height: 1.4;
    }
    
    .section-title {
        font-size: 20px;
        line-height: 1.4;
        margin-bottom: 0px !important;
    }
    
    .section-subtitle {
        margin-top: 0 !important;
        margin-bottom: 20px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .btn-large {
        padding: 14px 32px;
        font-size: 15px;
    }
    
    /* フローダイアグラム（極小画面） */
    .flow-diagram {
        gap: 6px;
        margin: 20px 0;
    }
    
    .flow-item {
        padding: 12px 16px;
    }
    
    .flow-number {
        width: 36px;
        height: 36px;
        line-height: 36px;
        font-size: 14px;
        margin-bottom: 6px;
    }
    
    .flow-item h3 {
        font-size: 14px;
        margin-bottom: 2px;
    }
    
    .flow-item p {
        font-size: 10px;
    }
    
    .flow-arrow {
        font-size: 16px;
    }
    
    .deployment-list {
        grid-template-columns: 1fr;
    }
    
    /* CTA（480px以下） */
    .cta-title {
        font-size: 20px;
        line-height: 1.5;
    }
    
    .footer {
        padding: 30px 0 15px;
    }
    
    /* フッターロゴをSP小画面で正しく表示 */
    .footer-logo img {
        height: 35px !important;
        width: auto !important;
        max-width: 100% !important;
        object-fit: contain !important;
    }
}

/* ===== Photo Emphasis Box (料金ページ写真付き強調ボックス) ===== */

@media (max-width: 768px) {
    .photo-emphasis-box {
        flex-direction: column !important;
        gap: 0 !important;
    }
    
    .photo-emphasis-box > div:first-child,
    .photo-emphasis-box > div:last-child {
        flex: 1 1 100% !important;
        padding: 24px !important;
    }
    
    .photo-emphasis-box img {
        height: 300px !important;
    }
    
    /* SP版：テキスト部分の上部余白を削除 */
    .photo-emphasis-box > div:last-child {
        padding-top: 16px !important;
    }
}

@media (max-width: 480px) {
    .photo-emphasis-box > div {
        padding: 20px !important;
    }
    
    /* SP版：テキスト部分の上部余白をさらに削除 */
    .photo-emphasis-box > div:last-child {
        padding-top: 12px !important;
    }
    
    .photo-emphasis-box img {
        height: 220px !important;
        margin-bottom: 0 !important;
    }
    
    /* SP版：写真の真下の余白を詰める */
    .photo-emphasis-box > div:first-child {
        margin-bottom: 0 !important;
    }
    
    /* SP版：アイコンを小さく、上部余白を詰める */
    .photo-emphasis-box i {
        font-size: 32px !important;
        margin-bottom: 8px !important;
    }
    
    .photo-emphasis-box > div > div:first-child {
        margin-bottom: 8px !important;
    }
    
    .photo-emphasis-box h3 {
        font-size: 17px !important;
        margin-bottom: 12px !important;
        line-height: 1.4 !important;
    }
    
    .photo-emphasis-box p {
        font-size: 14px !important;
    }
    
    /* 写真エンファシスボックスの間の余白を詰める */
    .photo-emphasis-box {
        margin-bottom: 24px !important;
    }
    
    .section-content .photo-emphasis-box:last-of-type {
        margin-bottom: 0 !important;
    }
}

/* ===== Service Photo Grid (サービス写真カード) ===== */
.service-photo-card {
    cursor: pointer;
}

.service-photo-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12) !important;
}

.service-photo-card img {
    transition: transform 0.5s ease;
}

.service-photo-card:hover img {
    transform: scale(1.08);
}

@media (max-width: 768px) {
    .service-photo-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
    
    .service-photo-card > div:first-child {
        height: 240px !important;
    }
}

@media (max-width: 480px) {
    .service-photo-card > div:first-child {
        height: 200px !important;
    }
    
    .service-photo-card > div:last-child {
        padding: 24px !important;
    }
    
    .service-photo-card h3 {
        font-size: 18px !important;
    }
    
    .service-photo-card p {
        font-size: 14px !important;
    }
}