/* =========================
   CSS Variables
   ========================= */

   :root {
    --color-primary: #246EE7;
    --color-primary-dark: #2967CD;
    --color-primary-light: #E8F0FF;
    --color-primary-lighter: #F4F8FF;
    --color-accent: #BFFF00;
    --color-accent-dark: #A8DD1C;
    --color-text-primary: #333;
    --color-text-secondary: #444;
    --color-text-tertiary: #666;
    --color-bg-white: #fff;
    --color-bg-gray: #F4F6F9;
    --color-bg-light: #F4F8FF;
    --color-border: #E5EAF0;
    --color-border-light: #F0F2F5;
    --transition-base: all 0.2s ease;
    --transition-slow: all 0.3s ease;
  }
  
  /* =========================
     Common Layout
     ========================= */
  
  /* 通常コンテンツ用: 最大1200pxで中央寄せ */
  .container {
    width: calc(100% - 40px);
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .hero .container {
    max-width: none;
    width: 100%;
    margin: 0 0 0 20px;
  }
  
  /* 帯セクション用: 最大1200pxで中央 */
  .container-band {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
  }
  
  .section-title {
    font-size: clamp(24px, 2.92vw, 42px);
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    letter-spacing: 0.02em;
    color: #444;
  }
  
  .section-title-accent { color: var(--color-primary); }
  .section-title-light  { color: #fff; }
  
  .section-subtitle {
    text-align: center;
    font-size: 16px;
    color: var(--color-text-secondary);
    margin-bottom: 60px;
    line-height: 1.9;
  }
  
  .text-underline-dotted {
    display: inline-block;
    border-bottom: 3px dotted currentColor;
    padding-bottom: 4px;
    line-height: 1.4;
  }
  
  /* =========================
     Buttons
     ========================= */
  
  .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    background: var(--color-accent);
    color: #123175;
    font-weight: 700;
    font-size: 24px;
    letter-spacing: 1.2px;
    /* 左: テキストの左余白, 右: 矢印を右端から24px */
    padding: 16px 24px 16px 80px;
    text-decoration: none;
    transition: var(--transition-base);
    border: 2px solid #246EE7;
    white-space: nowrap;
    border-radius: 999px;
    height: 100px;
    width: 485px;
    max-width: 100%;
    box-shadow: 0 0 20px 8px rgba(255,255,255,0.20);
  }
  
  .btn-primary:hover {
    background: #e8ffb0;
    border-color: #246EE7;
    color: #123175;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(191,255,0,0.4);
  }
  
  .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    background: #fff;
    color: #123175;
    font-weight: 700;
    font-size: 24px;
    letter-spacing: 1.2px;
    padding: 16px 24px 16px 80px;
    border: 2px solid #246EE7;
    text-decoration: none;
    transition: var(--transition-base);
    white-space: nowrap;
    border-radius: 999px;
    height: 100px;
    width: 485px;
    max-width: 100%;
    box-shadow: 0 0 20px 8px rgba(255,255,255,0.10);
  }
  
  .btn-secondary:hover {
    background: #e8e8e8;
    border-color: #1a5cc8;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(36,110,231,0.15);
  }
  
  .btn-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: #246EE7;
    border-radius: 50%;
    font-size: 28px;
    font-weight: 700;
    color: var(--color-accent);
    flex-shrink: 0;
    letter-spacing: 1.4px;
  }
  
  .btn-secondary .btn-arrow { color: #fff; background: #246EE7; }
  
  .btn-header {
    display: inline-flex;
    align-items: center;
    background: var(--color-accent);
    color: #123175;
    font-weight: 700;
    font-size: 16px;
    padding: 0 24px;
    height: 48px;
    border-radius: 999px;
    border: 2px solid var(--color-accent);
    text-decoration: none;
    white-space: nowrap;
    transition: var(--transition-base);
  }
  
  .btn-header:hover {
    background: var(--color-accent-dark);
    border-color: var(--color-accent-dark);
  }
  
  /* =========================
     Global Header
     (背景は全幅、コンテンツはmax-width: 1440pxで中央)
     ========================= */
  
  .header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 1px 9px 0 rgba(0,0,0,0.10);
  }
  
  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    width: calc(100% - 160px);
    margin: 0 auto;
  }
  
  .logos .logo-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
  }
  
  .logos img { width: 282px; height: auto; display: block; padding-top: 10px; }
  .logo-irusiru img { width: 100px; height: auto; }
  
  .logo-multiply {
    color: var(--color-text-tertiary);
    font-size: 16px;
  }
  
  .header-nav {
    display: flex;
    align-items: center;
    gap: 30px;
  }
  
  .global-nav { display: flex; align-items: center; }
  
  .global-nav a {
    font-size: 14px;
    font-weight: 700;
    padding: 20px 10px;
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: var(--transition-base);
  }
  
  .global-nav a:hover { color: var(--color-primary); }
  
  .hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    gap: 6px;
    padding: 0;
  }
  
  .hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text-primary);
    transition: var(--transition-base);
    border-radius: 2px;
  }
  
  /* =========================
     Hero Section
     (背景は全幅、コンテンツはmax-none→右端ブリード)
     ========================= */
  
  .hero {
    background: #F4F5F9;
    position: relative;
    overflow: hidden;
  }
  
  .hero-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: clamp(60px, 4.167vw, 80px);
    min-height: 39.93vw; /* 575/1440 — 画面幅に追従して余白なし */
  }
  
  .hero-tagline {
    display: inline-block;
    background: #fff;
    color: var(--color-primary-dark);
    font-size: clamp(18px, 1.25vw, 24px);
    font-weight: 700;
    padding: 0 clamp(20px, 1.389vw, 26.67px);
    line-height: clamp(49px, 3.403vw, 65.33px);
    height: clamp(49px, 3.403vw, 65.33px);
    border-radius: 999px;
    margin-bottom: clamp(32px, 2.222vw, 42.67px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
    position: relative;
    letter-spacing: 0.9px;
    white-space: nowrap;
  }
  
  .hero-tagline::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 40px;
    width: 0;
    height: 0;
    border-left: 14px solid transparent;
    border-right: 14px solid transparent;
    border-top: 18px solid #fff;
    border-radius: 2px;
  }
  
  .hero-text {
    flex: 1;
    min-width: 0;
  }
  
  .hero-title {
    font-size: clamp(32px, 4.44vw, 85.33px);
    font-weight: 700;
    margin-bottom: clamp(24px, 1.667vw, 32px);
    line-height: 1.1;
  }
  
  .hero-title-accent {
    color: var(--color-primary);
    letter-spacing: 3.6px;
  }
  
  .hero-title-sub {
    color: var(--color-text-primary);
    font-size: clamp(24px, 3.33vw, 64px);
    font-weight: 700;
    letter-spacing: 2.4px;
  }
  
  .hero-subtitle {
    font-size: clamp(16px, 1.111vw, 21.33px);
    color: var(--color-text-tertiary);
    line-height: 1.6;
    margin-bottom: clamp(40px, 2.778vw, 53.33px);
    font-weight: 500;
  }
  
  .hero-badges img {
    max-width: clamp(500px, 34.72vw, 666.67px);
    width: 100%;
    height: auto;
  }
  
  .hero-visual {
    position: relative;
    width: 59%;
    flex-shrink: 0;
    align-self: flex-end;
    overflow: hidden;
  }
  
  .hero-visual img {
    width: 100%;
    height: auto;
    display: block;
    vertical-align: bottom;
  }
  
  .hero-cta {
    background: linear-gradient(135deg, #2570E8 30%, #59C5E0 80%, #61FFE4 100%);
    padding: 0 133px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-radius: 20px;
    height: 200px;
    /* cta-band と同様: 左右20px margin で全幅に伸びる */
    margin: 0 20px;
  }
  
  .hero-cta-left { flex-shrink: 0; }
  
  .hero-cta-text {
    font-size: clamp(16px, 1.67vw, 24px);
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    padding: 4px 2px;
    margin-bottom: 16px;
    border-bottom: 2px dashed #fff;
    letter-spacing: 1.2px;
    text-align: center;
  }
  
  .hero-cta-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
  
  .brand-bar-features { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
  
  .brand-bar-feature {
    background: rgba(255,255,255,0.2);
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
  }
  
  /* =========================
     Stats Section (吹き出し)
     ========================= */
  
  .stats {
    background: #fff;
    text-align: center;
    padding: 60px 60px 80px;
    /* 最大964px、それ以上はmax-widthで止まる */
    width: calc(100% - 40px);
    max-width: 964px;
    margin: 100px auto 40px;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 4px 25px rgba(97,187,255,0.20);
  }
  
  .stats::after {
    content: "";
    position: absolute;
    bottom: -28px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 24px solid transparent;
    border-right: 24px solid transparent;
    border-top: 30px solid #fff;
  }
  
  .stats-spacer { height: 60px; }
  
  .stats-title {
    font-size: clamp(20px, 2.22vw, 32px);
    color: var(--color-primary);
    display: inline-block;
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 20px;
    border-bottom: 2px dashed var(--color-primary);
  }
  
  .stats-description {
    font-size: 16px;
    color: var(--color-text-secondary);
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 50px;
  }
  
  .stat-item {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  .stat-item p {
    font-size: clamp(15px, 1.67vw, 24px);
    font-weight: 500;
    line-height: 1.7;
    color: var(--color-text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 0;
  }
  
  .stat-item p::before { display: none; }
  
  .stat-check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 4px;
    margin-right: 20px;
  }
  
  .stat-check-icon svg {
    width: 32px;
    height: 32px;
    display: block;
    flex-shrink: 0;
    border-radius: 4px;
  }
  
  .stat-item span { font-weight: 700; color: var(--color-primary); }

  .stat-item .stat-text {
    flex: 1;
    min-width: 0;
    font-weight: 500;
    color: var(--color-text-secondary);
  }
  
  /* =========================
     CTA Band
     (背景は全幅ではなくmargin 0 20px、コンテンツはcontainer-band)
     ========================= */
  
  .cta-band {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    padding: 0;
    height: 400px;
    display: flex;
    align-items: center;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin: 0 20px;
    border-radius: 20px;
  }
  
  .cta-band::before,
  .cta-band::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url('../images/pattern-circles.png') center / cover no-repeat;
    mix-blend-mode: multiply;
    pointer-events: none;
    z-index: 0;
    opacity: 0.8;
  }
  
  .cta-band > .container-band { position: relative; z-index: 1; }
  
  .cta-band-title_1 {
    font-size: clamp(20px, 2.22vw, 32px);
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 16px;
    letter-spacing: 1.2px;
    white-space: nowrap;
    padding: 4px 0px;
    display: inline-block;
    border-bottom: 2px dashed rgb(255, 255, 255);
  }
  
  .cta-band-title_2 {
    font-size: clamp(20px, 2.22vw, 32px);
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 32px;
    opacity: 0.9;
  }
  
  /* =========================
     Services Section
     ========================= */
  
  .services { padding: 120px 0 100px; }
  
  .services .container { max-width: 1100px; }
  
  .service-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 32px;
  }
  
  .service-block:last-child { margin-bottom: 0; }
  
  .service-block-title {
    font-size: clamp(16px, 1.94vw, 28px); /* 基本28px、accent部分で上書き */
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 30px;
  }
  
  /* 「アイデアをカタチ」部分だけ40px */
  .service-block-title .service-block-title-accent {
    font-size: clamp(22px, 2.78vw, 40px);
    margin-right: 12px;
  }
  
  .service-block-title-accent { color: var(--color-primary); }
  .service-block-title-brand  { color: var(--color-primary); }
  
  .service-text p {
    font-size: 16px;
    color: var(--color-text-secondary);
    line-height: 2.0;
    margin-bottom: 16px;
  }
  
  .text-link {
    display: none;
  }
  
  .service-image_1,
  .service-image_2,
  .service-image_3 {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
  }
  
  .service-image_1 img,
  .service-image_2 img,
  .service-image_3 img { max-width: 100%; height: auto; }
  
  /* サービス見出し: ロゴ+テキスト2行構造 */
  .service-block-title-adglobe {
    font-size: clamp(16px, 1.94vw, 28px); /* 28px @ 1440px */
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  
  .service-title-line1 {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
  }
  
  .title-logo-adglobe {
    height: 48px;
    width: auto;
    vertical-align: bottom;
    display: inline-block;
  }
  
  .title-logo-irusiru-lg {
    width: 210px;
    height: auto;
    vertical-align: bottom;
    display: inline-block;
  }
  
  .service-title-suffix {
    font-size: 1em;
    font-weight: 700;
    color: var(--color-text-primary);
  }
  
  .service-title-line2 {
    font-size: 1em;
    font-weight: 700;
    color: var(--color-text-primary);
    display: block;
  }
  
  /* =========================
     Reasons Section
     (背景はroundedカード、左右80px margin、max-widthで1441px以上は中央止まり)
     ========================= */
  
  .reasons {
    background: #CADEFF;
    padding: 80px 0;   /* Figma: padding 80px */
    color: var(--color-text-primary);
    margin: 80px auto;
    border-radius: 40px; /* Figma: border-radius 40px */
    width: calc(100% - 160px);
    max-width: 1280px;
  }
  
  .reasons > .container-band { position: relative; }
  
  .reasons .section-title { color: #333; }
  
  .brand-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    margin: 0 auto 8px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: -webkit-fit-content;
    width: fit-content;
    white-space: nowrap;
  }
  
  .brand-tag-multiply { opacity: 0.6; }
  
  .reasons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
    margin-bottom: 40px;
    max-width: 1094px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .reason-card {
    background: #fff;
    color: var(--color-text-primary);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 24px;
    box-shadow: 0 4px 25px rgba(97, 187, 255, 0.20); /* Figma shadow */
  }
  
  .reason-title {
    font-size: 20px;   /* Figma: 20px */
    font-weight: 700;
    margin-bottom: 0;
    color: #246EE7;
    letter-spacing: 1px;
  }
  
  .reason-desc {
    font-size: 16px;
    font-weight: 400;
    color: #444;
    line-height: 1.6;
    letter-spacing: 0.8px;
  }
  
  .reason-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 16px; /* Figma: rounded image area */
    flex-shrink: 0;
  }
  
  .reason-card-body { display: flex; flex-direction: column; gap: 12px; }
  
  .reason-visual img { width: 100%; height: 100%; object-fit: cover; }
  
  .reason-visual img.logo-img {
    width: auto;
    height: auto;
    object-fit: contain;
  }
  
  /* 事例ハイライト */
  .case-highlight {
    background: #fff;
    border-radius: 20px; /* Figma: 20px */
    overflow: hidden;
    margin-top: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    border: 2px solid var(--color-primary);
    padding: 40px 40px 30px; /* Figma: pt40 px40 pb30 */
    max-width: 1094px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 4px 25px rgba(97, 187, 255, 0.20);
    width: 100%;
    box-sizing: border-box;
  }
  
  .case-highlight-inner {
    display: flex;
    gap: 40px;
    align-items: center;
    width: 100%;
  }
  
  .case-highlight-text {
    padding: 0;
    width: 480px;
    flex-shrink: 0;
  }
  
  .case-highlight-tag {
    display: inline-block;
    background: var(--color-primary-light);
    color: var(--color-primary);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 12px;
  }
  
  .case-highlight-company {
    font-size: 24px;
    font-weight: 600;
    color: #444;
    margin-bottom: 16px;
    line-height: 1.6;
    letter-spacing: 1.2px;
  }
  
  .case-highlight-title {
    font-size: 42px;   /* Figma: 42px */
    font-weight: 700;
    line-height: 1.6;
    color: #246EE7;    /* Figma: #246EE7 */
    margin-bottom: 16px;
    letter-spacing: 2.1px;
  }
  
  .case-highlight-title strong {
    color: #246EE7;
    display: block;
  }
  
  .case-highlight-desc {
    font-size: 16px;
    font-weight: 400;
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
    letter-spacing: 0.8px;
  }
  
  .case-highlight-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-primary);
    font-weight: 700;
    font-size: 16px;   /* Figma: 16px */
    text-decoration: none;
    border-bottom: 2px solid var(--color-primary);
    padding-bottom: 2px;
    transition: var(--transition-base);
    letter-spacing: 0.8px;
  }
  
  .case-highlight-link:hover { opacity: 0.7; }
  
  .case-highlight-image {
    flex: 1;
    min-width: 0;
    position: relative;
    overflow: hidden;
    min-height: 280px;
    border-radius: 20px;
    aspect-ratio: 497 / 367;
  }
  
  .case-highlight-image img { width: 100%; object-fit: cover; }
  
  .case-highlight-placeholder {
    width: 100%;
    height: 100%;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
  }
  
  .case-highlight-footer {
    display: flex;
    justify-content: flex-end;
    width: 100%;
  }
  
  /* =========================
     FAQ Section
     ========================= */
  
  .faq { padding: 100px 0 180px; }
  
  .faq-list {
    max-width: 1094px;
    margin: 60px auto 0;
  }
  
  .faq-item {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  }
  
  .faq-question {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 24px;
    font-weight: 700;
    font-size: 16px;
    width: 100%;
    max-width: 1094px;
    height: 80px;
    text-align: left;
    background: none;
    border: none;
    font-family: inherit;
    color: inherit;
    box-sizing: border-box;
  }
  
  .faq-q-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: #246EE7;
    border-radius: 4px;   /* 角丸4px正方形 Figma準拠 */
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.8px;
    line-height: 1;
    padding-bottom: 2px;
    /* SVGは使わずCSSで描画 */
  }
  
  .faq-q-mark svg { display: none; }
  
  .faq-q-text {
    flex: 1;
    font-size: 20px;
    color: #246EE7;
  }
  
  .faq-answer-wrap {
    display: grid;
    grid-template-rows: 1fr;
  }
  
  .faq-answer {
    overflow: hidden;
    min-height: 0;
    padding: 0 24px 24px;
    color: var(--color-text-secondary);
    font-size: 16px;
    line-height: 1.6;
    font-weight: 500;
  }
  
  /* =========================
     Contact CTA Section
     ========================= */
  
  .contact-cta {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: #fff;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin: 0 20px;
    border-radius: 20px;
    height: 465px;
  }
  
  .contact-cta::before,
  .contact-cta::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url('../images/pattern-circles.png') center / cover no-repeat;
    mix-blend-mode: multiply;
    pointer-events: none;
    z-index: 0;
    opacity: 0.8;
  }
  
  .contact-cta > .container-band { position: relative; z-index: 1; }
  
  .contact-cta-title {
    font-size: clamp(22px, 2.5vw, 36px);
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: 1.2px;
    white-space: nowrap;
    padding: 12px 0px;
    display: inline-block;
    border-bottom: 2px dashed rgb(255, 255, 255);
  }
  
  .contact-cta-subtitle {
    font-size: 16px;
    line-height: 1.9;
    opacity: 0.9;
    margin-bottom: 24px;
    font-weight: 500;
  }
  
  .contact-cta-features {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 40px;
    flex-wrap: wrap;
  }
  
  .contact-cta-feature { font-size: 20px; font-weight: 700; }
  
  /* =========================
     Global Footer
     ========================= */
  
  .global-footer {
    color: #333;
    background: #F4F5F9; /* Figma: #F4F5F9 */
    padding: 40px 80px;  /* Figma: 40px 80px */
  }
  
  .footer-inner { max-width: 1280px; width: 100%; }
  
  .footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
  }
  
  .footer-logos {
    display: flex;
    align-items: center;
    gap: 4px;          /* Figma: gap 4px */
    margin-bottom: 16px;
    font-size: 18px;
    font-weight: 700;
  }
  
  .footer-logo-adglobe { font-weight: 900; color: #1a2942; }
  .footer-multiply { opacity: 0.4; }
  
  .footer-logo-irusiru {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #1a2942;
  }
  
  .footer-logo-irusiru-mark {
    display: inline-block;
    width: 18px;
    height: 18px;
    background: var(--color-primary);
    border-radius: 50%;
    position: relative;
  }
  
  .footer-logo-irusiru-mark::after {
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 7px; height: 7px;
    background: #fff;
    border-radius: 50%;
  }
  
  .footer-desc {
    font-size: 12px;   /* Figma: 12px */
    line-height: 2;    /* Figma: line-height 2 */
    color: #666;
    letter-spacing: 0.6px;
    max-width: 404px;
    font-weight: 500;
  }
  
  .footer-nav { display: flex; flex-direction: row; gap: 12px; align-items: center; }
  
  .footer-nav a {
    font-size: 14px;   /* Figma: 14px */
    color: #444;
    text-decoration: none;
    transition: var(--transition-base);
    letter-spacing: 0.7px;
    font-weight: 500;
    white-space: nowrap;
  }
  
  .footer-nav a:hover { color: var(--color-primary); }
  
  .footer-bottom {
    border-top: 1px solid var(--color-border);
    padding-top: 40px; /* Figma: gap 40px */
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
  }
  
  .footer-copyright { font-size: 12px; color: #444; letter-spacing: 0.6px; }
  
  .footer-links { display: flex; gap: 20px; }
  
  .footer-links a {
    font-size: 12px;
    color: #666;       /* Figma: #666 */
    text-decoration: none;
    transition: var(--transition-base);
    letter-spacing: 0.6px;
    font-weight: 500;
  }
  
  .footer-links a:hover { color: var(--color-primary); }
  
  /* =========================
     Base overrides (all breakpoints)
     ========================= */
  
  /* hero-cta内のボタンは小さいサイズを維持（横並び） */
  .hero-cta .btn-primary,
  .hero-cta .btn-secondary {
    height: 64px;
    width: auto;
    font-size: 18px;
    letter-spacing: normal;
    padding: 0 18px 0 46px;
    gap: 25px;
  }
  
  .hero-cta .btn-arrow {
    width: 24px;
    height: 24px;
    font-size: 16px;
    margin-left: 0;
    letter-spacing: normal;
  }
  
  .hero-cta .hero-cta-buttons {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
  }
  
  .hero-visual .pc { display: block; }
  .hero-visual .sp { display: none; }
  
  /* case-highlight 内部レイアウト */
  .case-highlight-footer {
    display: flex;
    justify-content: flex-end;
    width: 100%;
  }
  
  /* =========================
     Responsive: min-width 1920px
     ========================= */
  
  @media (min-width: 1920px) {
  
    .hero-cta { padding: 0 200px; }
  
    .hero-cta .btn-primary,
    .hero-cta .btn-secondary {
      display: inline-flex;
      align-items: center;
      justify-content: space-between;
      gap: 0;
      background: var(--color-accent);
      color: #123175;
      font-weight: 700;
      font-size: 24px;
      letter-spacing: 1.2px;
      padding: 16px 24px 16px 80px;
      text-decoration: none;
      transition: var(--transition-base);
      border: 2px solid #246EE7;
      white-space: nowrap;
      border-radius: 999px;
      height: 100px;
      width: 485px;
      max-width: 100%;
      box-shadow: 0 0 20px 8px rgba(255, 255, 255, 0.20);
    }
  
    .hero-cta .btn-secondary { background-color: #fff; }
  
    .hero-cta .btn-arrow { width: 56px; height: 56px; font-size: 28px; margin-left: auto; letter-spacing: 0.8px; }
  
  }
  
  /* =========================
     Responsive: max-width 1280px
     ========================= */
  
  @media (max-width: 1280px) {
  
    .hero-cta { padding: 0 80px; }
  
    .hero-tagline {
      font-size: 14px;
      height: 40px;
      line-height: 40px;
    }
  
    .hero-subtitle { font-size: 13px; }
  
    .services .container { max-width: 860px; }
  
  }
  
  /* =========================
     Responsive: max-width 767px (SP)
     Figma: 1138-1663 (390px) 準拠
     ========================= */
  
  @media (max-width: 1020px) {
  
    .header-inner      { width: calc(100% - 40px); height: 60px; padding: 0; }
    .logos,img  { width: 214px; }
    .logo-irusiru img  { width: 84px; }
    .logo-multiply     { font-size: 14px; color: #222; }
    .global-nav        { display: none; }
    .hamburger         { display: flex; }
    .btn-header        { display: none; }  /* SP非表示 */
    .case-highlight-link{font-size: 14px;}
    .global-nav.is-open {
      display: flex;
      flex-direction: column;
      position: fixed;
      top: 60px;
      left: 0; right: 0;
      background: #fff;
      box-shadow: 0 4px 16px rgba(0,0,0,0.12);
      z-index: 200;
      padding: 16px 0 24px;
      gap: 0;
    }
    .global-nav.is-open a {
      padding: 14px 24px;
      font-size: 14px;
      border-bottom: 1px solid var(--color-border-light);
    }
  
    .hero-inner {
      flex-direction: column;
      min-height: auto;
      padding: 20px 20px 0;
      gap: 20px;
    }
    .hero .container   { width: 100%; max-width: 100%; margin: 0; padding: 32px 20px; box-sizing: border-box; }
    .hero-text         { margin-top: 0; width: 100%; }
    .hero-tagline      {
      font-size: 12px;
      white-space: normal;
      height: 32px;
      line-height: 32px;
      padding: 0 8px;
      border-radius: 999px;
      margin-bottom: 4px;
    }
    .hero-tagline::after { display: none; }
    .hero-title        { font-size: clamp(32px, 10.8vw, 42px); line-height: 1.2; letter-spacing: 1.6px; margin-bottom: 16px; }
    .hero-title-sub    { font-size: clamp(22px, 7.2vw, 28px); letter-spacing: 1px; }
    .hero-subtitle     { font-size: 13px; margin-bottom: 0; color: #444; letter-spacing: 0.5px; white-space: normal; }
    .hero-subtitle br  { display: none; }
    .hero-badges img   { max-width: 100%; height: auto; margin-top: 20px; }
    .hero-visual       { width: calc(100% + 40px); margin: 0 -20px; overflow: hidden; border-radius: 0; }
    .hero-visual .pc   { display: none; }
    .hero-visual .sp   { display: block; }
    .hero-visual img   { width: calc(100% - 40px); margin: auto; }
  
    /* hero CTA: 縦並び、padding 24px, gap 24px, border-radius 20px */
    .hero-cta {
      flex-direction: column;
      align-items: center;
      padding: 24px;
      height: auto;
      width: calc(100% - 40px);
      max-width: none;
      border-radius: 20px;
      gap: 16px;
      margin: 0 20px 20px;
    }
    .hero-cta-left     { width: 100%; display: flex; flex-direction: column; gap: 16px; align-items: center; }
    .hero-cta-text     { font-size: 16px; white-space: normal; text-align: center; margin-bottom: 0; }
    .brand-bar-features { justify-content: center; flex-direction: column; align-items: center; gap: 8px; }
    .brand-bar-feature { font-size: 16px; padding: 4px 24px; }
    .hero-cta-buttons  { flex-direction: column; width: 100%; gap: 12px; }
  
    /* SP ボタン: hero-cta内は元サイズ（16px, width: 100%, gap 10px） */
    .hero-cta .btn-primary,
    .hero-cta .btn-secondary {
      position: relative;
      width: 100%;
      height: auto;
      padding: 16px 44px;
      font-size: 16px;
      letter-spacing: 0.8px;
      gap: 10px;
      justify-content: center;
      border-radius: 999px;
    }
    .hero-cta .btn-arrow { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; font-size: 16px; margin-left: 0; letter-spacing: 0.8px; }
  
    /* 大ボタン（cta-band, contact-cta内）: 16px, padding 16px, width 100% */
    .cta-band .btn-primary,
    .contact-cta .btn-primary {
      position: relative;
      width: 100%;
      height: auto;
      padding: 16px 44px;
      font-size: 16px;
      letter-spacing: 0.8px;
      gap: 10px;
      justify-content: center;
    }
    .cta-band .btn-arrow,
    .contact-cta .btn-arrow { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; font-size: 16px; margin-left: 0; letter-spacing: 0.8px; }
    /* Stats: padding 24px, border-radius 20px */
    .stats {
      padding: 24px;
      margin: 16px 16px 36px 16px;
      width: calc(100% - 40px);
      border-radius: 20px;
    }
    .stats-title       { font-size: 16px; white-space: normal; text-align: center; margin-bottom: 8px; }
    .stats-description { font-size: 12px; margin-bottom: 24px; letter-spacing: 0.6px; white-space: normal; }
    .stats-description .sp { display: none; }
    .stat-item         { gap: 24px; width: -webkit-fit-content; width: fit-content; max-width: 100%; margin: 0 auto; }
    .stat-item p       { font-size: 16px; gap: 8px; display: flex; align-items: flex-start; white-space: normal; }
    .stat-item p::before { display: none; }
    .stat-check-icon   { margin-right: 8px; margin-top: 0; }
    .stat-check-icon svg { width: 30px; height: 30px; position: static; }
    .stats-spacer      { height: 0; display: none; }
  
    /* Section titles */
    .section-title     { font-size: clamp(20px, 6.2vw, 24px); letter-spacing: 1px; white-space: normal; }
    .section-subtitle  { font-size: 12px; margin-bottom: 40px; letter-spacing: 0.6px; color: #666; }
  
    /* CTA Band: padding 40px 24px, gap 24px, border-radius 20px */
    .cta-band          { margin: 0 20px; padding: 40px 0; border-radius: 20px; }
    .cta-band-title_1  { font-size: 22px; letter-spacing: 1.1px; white-space: normal; }
    .cta-band-title_2  { font-size: 14px; letter-spacing: 0.7px; margin-bottom: 24px; white-space: normal; }
    .container-band    { padding: 0 24px; }
  
    /* Services: padding 20px 20px 40px, gap 60px */
    .services          { padding: 60px 0; }
    .service-block     { display: flex; flex-direction: column; gap: 20px; margin-bottom: 60px; }
    .service-body      { display: contents; }  /* 子要素(タイトル/テキスト)をblock直下のflexアイテム化 */
    .service-block-title,
    .service-block-title-adglobe { order: 1; }
    .service-image_1,
    .service-image_2,
    .service-image_3   { order: 2; min-height: auto; }
    .service-text      { order: 3; }
    .service-image_1 img,
    .service-image_2 img,
    .service-image_3 img { max-width: 100%; width: 100%; }
    .service-block-title     { font-size: 24px; margin-bottom: 0; line-height: 2; text-align: center; }
    .service-block-title .service-block-title-accent { font-size: 24px; }
    .service-block-title-adglobe { font-size: 20px; margin-bottom: 0; }
    .title-logo-adglobe      { height: 1.1em; }
    .title-logo-irusiru-lg   { width: 145px; }
    .service-text p    { font-size: 12px; letter-spacing: 0.6px; line-height: 2; }
    .service-block-title-sub { font-size: 20px; }
    .service-title-line1     { margin: 0 auto; }
    .service-title-line2     { text-align: center; }
  
    /* Reasons: padding 20px, border-radius 20px, gap 24px */
    .reasons           { width: calc(100% - 40px); margin: 20px auto; border-radius: 20px; padding: 40px 0; }
    .reasons-grid      { grid-template-columns: 1fr; gap: 20px; margin-top: 24px; max-width: 100%; }
    .reason-card       { border-radius: 16px; height: auto; padding: 20px; gap: 20px; }
    .reason-card-body  { gap: 12px; }
    .reason-visual     { height: 120px; min-height: 120px; border-radius: 8px; }
    .reason-visual img.logo-img { padding: 20px; }
    .reason-title      { font-size: 18px; letter-spacing: 0.9px; white-space: normal; }
    .reason-desc       { font-size: 12px; letter-spacing: 0.6px; }
  
    /* Case highlight: 縦並び、画像上・テキスト下 */
    .case-highlight    { border-radius: 20px; padding: 20px; }
    .case-highlight-inner { flex-direction: column; gap: 20px; }
    .case-highlight-text { width: 100%; }
    .case-highlight-image { min-height: 200px; border-radius: 9px; aspect-ratio: 484/349; }
    .case-highlight-placeholder { min-height: 200px; }
    .case-highlight-company { font-size: 14px; letter-spacing: 0.7px; }
    .case-highlight-title { font-size: clamp(22px, 7.2vw, 28px); letter-spacing: 1px; white-space: normal; }
    .case-highlight-title strong { font-size: 28px; display: inline; }
    .case-highlight-desc { font-size: 12px; letter-spacing: 0.6px; color: #666; }
  
    /* FAQ: padding 20px 20px 40px */
    .faq               { padding: 40px 0; }
    .faq-list          { margin-top: 16px; max-width: 100%; }
    .faq-item          {
      margin-bottom: 16px;
      box-shadow: 0 10px 15px -3px rgba(18,49,117,0.1), 0 4px 6px -4px rgba(18,49,117,0.1);
    }
    .faq-question      { font-size: 15px; padding: 20px 16px; gap: 10px; height: auto; max-width: 100%; align-items: flex-start; }
    .faq-q-mark        { width: 30px; height: 30px; font-size: 14px; }
    .faq-q-text        { font-size: 16px; }
    .faq-answer        { font-size: 12px; padding: 0 20px 24px 20px; letter-spacing: 0.6px; }
  
    /* Contact CTA: padding 40px 24px, gap 40px, border-radius 20px */
    .contact-cta       { margin: 0 20px 20px; border-radius: 20px; padding: 40px 0; }
    .contact-cta-title { font-size: 22px; letter-spacing: 1.1px; white-space: normal; margin-bottom: 8px; }
    .contact-cta-subtitle { font-size: 14px; letter-spacing: 0.7px; }
    .contact-cta-subtitle .sp { display: none; }
    .contact-cta-features { gap: 8px; margin-bottom: 20px; flex-direction: column; align-items: center; }
    .contact-cta-feature { font-size: 16px; background: rgba(255,255,255,0.2); padding: 4px 24px; border-radius: 4px; letter-spacing: 0.8px; }
  
    /* Footer: Figma 1138-1913 */
    .global-footer     { padding: 20px 20px 40px; display: flex; flex-direction: column; gap: 0; }
    .footer-inner      { width: 100%; }
    .footer-top        { flex-direction: column; gap: 0; margin-bottom: 0; }
    .footer-brand      { display: flex; flex-direction: column; gap: 16px; width: 100%; margin-bottom: 0; }
    .footer-logos      { gap: 4px; }
    .footer-desc       { max-width: 100%; font-size: 12px; line-height: 2; letter-spacing: 0.6px; }
    .footer-nav        { flex-direction: column; gap: 8px; align-items: flex-start; margin-top: 60px; }
    .footer-nav a      { font-size: 12px; color: #444; letter-spacing: 0.6px; }
    .footer-bottom     { flex-direction: column; align-items: flex-start; gap: 20px; padding-top: 20px; margin-top: 20px; }
    .footer-links      { flex-direction: column; gap: 8px; }
    .footer-links a    { font-size: 12px; color: #666; letter-spacing: 0.6px; font-weight: 500; }
    .footer-copyright  { font-size: 10px; color: #444; letter-spacing: 0.5px; order: 2; font-weight: 500; }
  
    /* 390px: テキストのオーバーフロー防止 */
    .hero-tagline      { overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
  
  }