@charset "UTF-8";

/* =========================================================
   Design tokens / reset
========================================================= */

:root{
  --article-navy:#061b3d;
  --article-blue:#086df3;
  --article-blue-dark:#0756d9;
  --article-line:rgba(6,27,61,.12);
  --article-soft:#f5f9ff;
  --article-serif:"Noto Serif JP","Yu Mincho",serif;
  --article-sans:"Noto Sans JP","Yu Gothic",sans-serif;
}

*,
*::before,
*::after{
  box-sizing:border-box;
}

body{
  margin:0;
  color:var(--article-navy);
  background:#fff;
  font-family:var(--article-sans);
}

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

/* =========================================================
   Common layout
========================================================= */

.article-page{
  width:100%;
  max-width:1620px;
  margin-inline:auto;
  overflow:hidden;
}

.article-inner{
  width:100%;
  padding-inline:clamp(18px,3.2vw,52px);
}

.article-section{
  padding-bottom:48px;
}

.article-section-title{
  position:relative;
  margin:0 0 42px;
  color:var(--article-navy);
  font-family:var(--article-serif);
  font-size:30px;
  font-weight:600;
  line-height:1.5;
  letter-spacing:.05em;
  text-align:center;
}

.article-section-title::after{
  content:"";
  position:absolute;
  bottom:-13px;
  left:50%;
  width:46px;
  height:3px;
  border-radius:999px;
  background:var(--article-blue);
  transform:translateX(-50%);
}

/* =========================================================
   HERO: shared typography
========================================================= */

.article-hero{
  position:relative;
  isolation:isolate;
  overflow:hidden;
}

.article-hero__inner{
  position:relative;
  z-index:2;
}

.article-hero__content{
  position:relative;
  z-index:3;
}

/* HERO画像は疑似要素で表示するため、HTML側の画像は非表示 */
.article-hero__visual{
  display:none;
}

.article-kicker{
  margin:0 0 20px;
  padding-left:18px;
  border-left:5px solid var(--article-blue);
  color:var(--article-navy);
  font-family:var(--article-serif);
  font-size:15px;
  font-weight:600;
}

.article-hero h1{
  margin:0;
  color:var(--article-navy);
  font-family:var(--article-serif);
  font-size:54px;
  font-weight:500;
  line-height:1.48;
}

.article-hero h1 span{
  color:var(--article-navy);
}

.article-hero__subtitle{
  margin:18px 0 0;
  font-family:var(--article-serif);
  font-size:25px;
  line-height:1.7;
}

.article-hero__text{
  margin:24px 0 0;
  font-family:var(--article-serif);
  font-size:16px;
  line-height:2;
}

/* =========================================================
   Benefits
========================================================= */

.article-benefits{
  padding:10px 0;
}

.article-benefit-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
}

.article-benefit-grid article{
  min-height:98px;
  padding:14px 26px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:22px;
  border-right:1px solid var(--article-line);
}

.article-benefit-grid article:last-child{
  border-right:0;
}

.article-benefit-grid img{
  width:68px;
  flex:0 0 68px;
}

.article-benefit-grid h2{
  margin:0;
  font-family:var(--article-serif);
  font-size:18px;
}

/* =========================================================
   Problems
========================================================= */

.article-problem-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:20px;
}

.article-problem-card{
  min-height:150px;
  padding:26px;
  display:flex;
  align-items:center;
  gap:22px;
  border:1px solid var(--article-line);
  border-radius:12px;
  background:#fff;
}

.article-problem-card img{
  width:72px;
  flex:0 0 72px;
}

.article-problem-card h3{
  margin:0 0 10px;
  font-family:var(--article-serif);
  font-size:18px;
}

.article-problem-card p{
  margin:0;
  font-size:13px;
  line-height:1.8;
}

/* =========================================================
   Before / After
   PC・タブレット：Before → After の横並び
   スマートフォン：縦並び
========================================================= */

.article-comparison-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) 64px minmax(0,1fr);
  align-items:stretch;
  gap:24px;
  max-width:1220px;
  margin-inline:auto;
}

.article-comparison-card{
  min-width:0;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  border:1px solid var(--article-line);
  border-radius:16px;
  background:#fff;
}

.article-comparison-image{
  position:relative;
  min-width:0;
  margin:28px 28px 0;
  overflow:hidden;
  border-radius:12px;
  background:#f4f8ff;
}

.article-comparison-label,
.article-comparison-image > span{
  position:absolute;
  top:8px;
  left:8px;
  z-index:4;
  padding:8px 18px;
  border-radius:999px;
  color:#fff;
  background:#263653;
  box-shadow:0 4px 12px rgba(6,27,61,.18);
  font-family:var(--article-sans);
  font-size:15px;
  font-weight:700;
  line-height:1.2;
}

.article-after .article-comparison-label,
.article-after .article-comparison-image > span{
  background:linear-gradient(135deg,var(--article-blue-dark),var(--article-blue));
  box-shadow:0 4px 12px rgba(8,109,243,.22);
}

.article-comparison-image img{
  width:100%;
  height:auto;
  min-height:0;
  aspect-ratio:16 / 9;
  object-fit:cover;
  object-position:center;
}

.article-comparison-content{
  min-width:0;
  flex:1;
  padding:24px 30px 30px;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
}

.article-comparison-content h3{
  min-height:3.1em;
  margin:0 0 16px;
  font-family:var(--article-serif);
  font-size:20px;
  line-height:1.55;
}

.article-after .article-comparison-content h3{
  color:#075dd8;
}

.article-comparison-content ul{
  padding:0;
  margin:0;
  list-style:none;
}

.article-comparison-content li{
  position:relative;
  margin-top:12px;
  padding-left:42px;
  font-size:15px;
  line-height:1.7;
}

.article-comparison-content li:first-child{
  margin-top:0;
}

.article-comparison-content li::before{
  content:"×";
  position:absolute;
  top:.08em;
  left:0;
  width:28px;
  height:28px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  color:#fff;
  background:#5f708e;
  font-family:Arial,sans-serif;
  font-size:20px;
  font-weight:700;
  line-height:1;
}

.article-after .article-comparison-content li::before{
  content:"✓";
  background:var(--article-blue);
  font-size:18px;
}

.article-comparison-arrow{
  position:relative;
  min-width:0;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:0;
}

.article-comparison-arrow::before{
  content:"";
  width:44px;
  height:6px;
  border-radius:999px;
  background:#000;
}

.article-comparison-arrow::after{
  content:"";
  width:17px;
  height:17px;
  margin-left:-18px;
  border-top:6px solid #000;
  border-right:6px solid #000;
  transform:rotate(45deg);
}

/* After画像の実績バッジ */
.article-after-result{
  position:absolute;
  left:clamp(12px,1.2vw,18px);
  bottom:clamp(12px,1.2vw,18px);
  z-index:4;
  width:clamp(88px,7vw,106px);
  aspect-ratio:1;
  padding:9px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(8,109,243,.28);
  border-radius:50%;
  color:var(--article-navy);
  background:rgba(255,255,255,.94);
  box-shadow:
    0 10px 24px rgba(6,27,61,.15),
    inset 0 0 18px rgba(8,109,243,.06);
  -webkit-backdrop-filter:blur(7px);
  backdrop-filter:blur(7px);
  text-align:center;
  pointer-events:none;
}

.article-after-result p{
  margin:0 0 2px;
  font-family:var(--article-serif);
  font-size:clamp(9px,.72vw,11px);
  font-weight:700;
  line-height:1;
}

.article-after-result strong{
  display:block;
  margin:0;
  color:#075dd8;
  font-family:var(--article-serif);
  font-size:clamp(20px,1.7vw,28px);
  font-weight:700;
  font-variant-numeric:tabular-nums;
  line-height:1;
  letter-spacing:-.055em;
  white-space:nowrap;
}

.article-after-result small{
  display:block;
  margin-top:4px;
  font-size:clamp(7px,.58vw,9px);
  font-weight:600;
  line-height:1;
  white-space:nowrap;
}

/* =========================================================
   Features
========================================================= */

.article-feature-grid{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
}

.article-feature-grid article{
  min-height:245px;
  padding:28px 18px;
  border-right:1px solid var(--article-line);
  text-align:center;
}

.article-feature-grid article:last-child{
  border-right:0;
}

.article-feature-grid img{
  width:78px;
  margin:0 auto 22px;
}

.article-feature-grid h3{
  margin:0 0 18px;
  font-family:var(--article-serif);
  font-size:18px;
}

.article-feature-grid p{
  margin:0;
  font-size:13px;
  line-height:1.8;
}

/* =========================================================
   Steps
========================================================= */

.article-step-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
}

.article-step-card{
  display:grid;
  grid-template-columns:64px minmax(0,1fr);
  grid-template-rows:auto 1fr;
  overflow:hidden;
  border:1px solid var(--article-line);
  border-radius:12px;
  background:#fff;
}

.article-step-card > span{
  grid-column:1;
  grid-row:1;
  width:40px;
  height:40px;
  margin:14px 10px 14px 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:6px;
  color:#fff;
  background:linear-gradient(135deg,var(--article-blue-dark),var(--article-blue));
  font-size:18px;
  font-weight:700;
}

.article-step-card > div{
  grid-column:2;
  grid-row:1;
  min-width:0;
  min-height:92px;
  padding:15px 10px 12px 4px;
}

.article-step-card h3{
  margin:0 0 6px;
  font-family:var(--article-serif);
  font-size:17px;
}

.article-step-card p{
  margin:0;
  font-size:15px;
  line-height:1.65;
}

.article-step-card img{
  grid-column:1 / -1;
  grid-row:2;
  width:100%;
  aspect-ratio:1.55 / 1;
  object-fit:cover;
}

/* =========================================================
   Scenes
========================================================= */

.article-scene-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
}

.article-scene-grid article{
  overflow:hidden;
  border:1px solid var(--article-line);
  border-radius:12px;
  background:#fff;
}

.article-scene-grid img{
  width:100%;
  aspect-ratio:1.65 / 1;
  object-fit:cover;
}

.article-scene-grid article > div{
  padding:18px 22px 22px;
}

.article-scene-grid h3{
  margin:0 0 10px;
  font-family:var(--article-serif);
  font-size:19px;
}

.article-scene-grid ul{
  padding-left:20px;
  margin:0;
  font-size:15px;
  line-height:1.8;
}

/* =========================================================
   Strengths
========================================================= */

.article-strength-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
}

.article-strength-grid article{
  padding:12px 26px;
  display:flex;
  align-items:flex-start;
  gap:18px;
  border-right:1px solid var(--article-line);
}

.article-strength-grid article:last-child{
  border-right:0;
}

.article-strength-grid img{
  width:64px;
  flex:0 0 64px;
}

.article-strength-grid h3{
  margin:0 0 8px;
  font-family:var(--article-serif);
  font-size:17px;
}

.article-strength-grid p{
  margin:0;
  font-size:15px;
  line-height:1.8;
}

/* =========================================================
   CTA
========================================================= */

.article-cta{
  padding:34px 0 42px;
  background:
    linear-gradient(180deg,rgba(244,249,255,.78),rgba(225,240,255,.96)),
    url("../img/ai-article-generation/article-wave.png") center bottom / cover no-repeat;
  text-align:center;
}

.article-cta h2{
  margin:0 0 10px;
  font-family:var(--article-serif);
  font-size:30px;
  font-weight:500;
  line-height:1.55;
}

.article-cta p{
  margin:0 0 22px;
  font-size:13px;
}

.article-cta a{
  width:min(100%,520px);
  min-height:64px;
  margin-inline:auto;
  padding-inline:30px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:60px;
  border-radius:999px;
  color:#fff;
  background:linear-gradient(100deg, #123f91 0%, #0874ed 100%);
  box-shadow:0 12px 28px rgba(6,75,190,.22);
  text-decoration:none;
  transition:transform .2s ease,box-shadow .2s ease;
}

.article-cta a:hover{
  transform:translateY(-2px);
  box-shadow:0 16px 32px rgba(6,75,190,.26);
}

.article-cta a span{
  font-family:var(--article-serif);
  font-size:23px;
}

.article-cta a strong{
  font-size:27px;
}

/* =========================================================
   Desktop HERO
========================================================= */

@media screen and (min-width:1037px){

  .article-hero{
    min-height:500px;
    background:
      linear-gradient(180deg,rgba(255,255,255,.02) 0%,rgba(255,255,255,.08) 58%,rgba(255,255,255,.55) 100%),
      url("../img/ai-article-generation/article-wave.png") center bottom / 100% 88% no-repeat,
      #fff;
  }

  .article-hero::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:1;
    background:linear-gradient(
      90deg,
      #fff 0%,
      rgba(255,255,255,.995) 30%,
      rgba(255,255,255,.94) 39%,
      rgba(255,255,255,.68) 48%,
      rgba(255,255,255,.24) 57%,
      rgba(255,255,255,0) 68%
    );
    pointer-events:none;
  }

  .article-hero::after{
    content:"";
    position:absolute;
    top:-72px;
    right:-34px;
    bottom:-72px;
    z-index:0;
    width:62%;
    background:
      url("../img/vector/article-hero.png")
      right center / clamp(720px,52vw,900px) auto no-repeat;
    -webkit-mask-image:linear-gradient(
      90deg,
      transparent 0%,
      rgba(0,0,0,.12) 7%,
      rgba(0,0,0,.52) 16%,
      rgba(0,0,0,.88) 25%,
      #000 34%,
      #000 100%
    );
    mask-image:linear-gradient(
      90deg,
      transparent 0%,
      rgba(0,0,0,.12) 7%,
      rgba(0,0,0,.52) 16%,
      rgba(0,0,0,.88) 25%,
      #000 34%,
      #000 100%
    );
    pointer-events:none;
  }

  .article-hero__inner{
    min-height:500px;
    padding-top:34px;
    padding-bottom:30px;
    display:block;
  }

  .article-hero__content{
    width:48%;
    max-width:660px;
  }
}

/* =========================================================
   Tablet / smartphone
========================================================= */

@media screen and (max-width:1036px){

  .article-page{
    padding-top:72px;
  }

  .article-section{
    padding-bottom:42px;
  }

  .article-section-title{
    margin-bottom:36px;
    font-size:24px;
  }

  /* HERO */
  .article-hero{
    min-height:clamp(235px,68vw,420px);
    background:
      linear-gradient(180deg,rgba(255,255,255,.02),rgba(255,255,255,.10)),
      url("../img/ai-article-generation/article-wave.png") center bottom / cover no-repeat,
      #fff;
  }

  .article-hero::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:1;
    background:
      linear-gradient(
        180deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0) 82%,
        rgba(255,255,255,.20) 91%,
        rgba(255,255,255,.62) 100%
      ),
      linear-gradient(
        90deg,
        rgba(255,255,255,.98) 0%,
        rgba(255,255,255,.94) 32%,
        rgba(255,255,255,.68) 47%,
        rgba(255,255,255,.18) 64%,
        rgba(255,255,255,0) 82%
      );
    pointer-events:none;
  }

  .article-hero::after{
    content:"";
    position:absolute;
    right:clamp(-28px,-5vw,-12px);
    bottom:clamp(-24px,-4vw,-10px);
    z-index:0;
    width:clamp(270px,80vw,650px);
    aspect-ratio:1.52 / 1;
    background:
      linear-gradient(
        90deg,
        rgba(255,255,255,1) 0%,
        rgba(255,255,255,.96) 10%,
        rgba(255,255,255,.72) 22%,
        rgba(255,255,255,.28) 34%,
        rgba(255,255,255,0) 48%
      ),
      /* PC版と同じ実在ファイルを使用し、モバイル時の404を防ぐ */
      url("../img/vector/article-hero.png") center bottom / contain no-repeat;
    -webkit-mask-image:linear-gradient(
      180deg,
      transparent 0%,
      rgba(0,0,0,.08) 5%,
      rgba(0,0,0,.42) 14%,
      rgba(0,0,0,.82) 24%,
      #000 36%,
      #000 100%
    );
    mask-image:linear-gradient(
      180deg,
      transparent 0%,
      rgba(0,0,0,.08) 5%,
      rgba(0,0,0,.42) 14%,
      rgba(0,0,0,.82) 24%,
      #000 36%,
      #000 100%
    );
    pointer-events:none;
  }

  .article-hero__inner{
    min-height:clamp(235px,68vw,420px);
    padding:clamp(8px,2.3vw,18px) 10px 12px;
    display:block;
  }

  .article-hero__content{
    width:78%;
    max-width:620px;
  }

  .article-kicker{
    margin-bottom:clamp(6px,1.8vw,12px);
    padding-left:7px;
    border-left-width:3px;
    font-size:clamp(8px,2.25vw,12px);
    line-height:1.5;
    white-space:nowrap;
  }

  .article-hero h1{
    font-size:clamp(27px,8vw,40px);
    line-height:1.27;
    letter-spacing:.01em;
  }

  .article-hero__subtitle{
    width:78%;
    margin-top:clamp(5px,1.5vw,10px);
    font-size:clamp(10px,3vw,17px);
    line-height:1.55;
    white-space:nowrap;
  }

  .article-hero__text{
    width:60%;
    max-width:360px;
    margin-top:clamp(7px,2vw,14px);
    font-size:clamp(8px,2.35vw,12px);
    font-weight:500;
    line-height:1.75;
    text-shadow:0 1px 5px rgba(255,255,255,.96);
  }

  .article-hero__text br{
    display:block;
  }

  /* Benefits */
  .article-benefit-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    padding-inline:18px;
  }

  .article-benefit-grid article{
    min-height:116px;
    padding:18px 12px;
    gap:12px;
    border-right:1px solid var(--article-line);
    border-bottom:1px solid var(--article-line);
  }

  .article-benefit-grid article:nth-child(2n){
    border-right:0;
  }

  .article-benefit-grid article:nth-last-child(-n+2){
    border-bottom:0;
  }

  .article-benefit-grid img{
    width:52px;
    flex-basis:52px;
  }

  .article-benefit-grid h2{
    font-size:15px;
  }

  /* Problems */
  .article-problem-grid{
    grid-template-columns:1fr;
    gap:12px;
  }

  .article-problem-card{
    min-height:0;
    padding:20px;
  }

  /* Before / After */
  .article-comparison-grid{
    grid-template-columns:minmax(0,1fr) 42px minmax(0,1fr);
    gap:12px;
  }

  .article-comparison-card{
    border-radius:14px;
  }

  .article-comparison-image{
    margin:16px 16px 0;
    border-radius:10px;
  }

  .article-comparison-label,
  .article-comparison-image > span{
    top:6px;
    left:6px;
    padding:6px 13px;
    font-size:13px;
  }

  .article-comparison-content{
    padding:18px 16px 22px;
  }

  .article-comparison-content h3{
    min-height:3.2em;
    margin-bottom:14px;
    font-size:17px;
  }

  .article-comparison-content li{
    margin-top:10px;
    padding-left:34px;
    font-size:13px;
  }

  .article-comparison-content li::before{
    width:24px;
    height:24px;
    font-size:17px;
  }

  .article-after .article-comparison-content li::before{
    font-size:15px;
  }

  .article-comparison-arrow::before{
    width:30px;
    height:5px;
  }

  .article-comparison-arrow::after{
    width:13px;
    height:13px;
    margin-left:-14px;
    border-top-width:5px;
    border-right-width:5px;
  }

  .article-after-result{
    left:10px;
    bottom:10px;
    width:78px;
    padding:7px;
  }

  .article-after-result p{
    font-size:8px;
  }

  .article-after-result strong{
    font-size:18px;
  }

  .article-after-result small{
    margin-top:3px;
    font-size:6px;
  }

  /* Features */
  .article-feature-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .article-feature-grid article{
    min-height:210px;
    padding:24px 10px;
    border-right:1px solid var(--article-line);
    border-bottom:1px solid var(--article-line);
  }

  .article-feature-grid article:nth-child(2n){
    border-right:0;
  }

  .article-feature-grid article:nth-last-child(-n+2){
    border-bottom:0;
  }

  /* Steps */
  .article-step-grid{
    grid-template-columns:1fr;
  }

  .article-step-card{
    grid-template-columns:56px minmax(0,1fr) 38%;
    grid-template-rows:auto;
    align-items:stretch;
  }

  .article-step-card > span{
    grid-column:1;
    grid-row:1;
    margin:12px 8px 12px 12px;
    align-self:center;
  }

  .article-step-card > div{
    grid-column:2;
    grid-row:1;
    min-height:0;
    padding:14px 8px 14px 0;
    align-self:center;
  }

  .article-step-card img{
    grid-column:3;
    grid-row:1;
    height:100%;
    min-height:100px;
    aspect-ratio:auto;
    object-fit:cover;
  }

  /* Scenes: image above, description below */
  .article-scene-grid{
    grid-template-columns:1fr;
    gap:18px;
  }

  .article-scene-grid img{
    height:auto;
    aspect-ratio:auto;
    object-fit:contain;
    object-position:center;
    border-bottom:1px solid var(--article-line);
    background:#f7faff;
  }

  .article-scene-grid article > div{
    padding:18px 20px 22px;
  }

  .article-scene-grid h3{
    font-size:20px;
  }

  .article-scene-grid ul{
    font-size:14px;
    line-height:1.85;
  }

  /* Strengths */
  .article-strength-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .article-strength-grid article{
    padding:18px 10px;
    display:block;
    border-right:1px solid var(--article-line);
    border-bottom:1px solid var(--article-line);
    text-align:center;
  }

  .article-strength-grid article:nth-child(2n){
    border-right:0;
  }

  .article-strength-grid article:nth-last-child(-n+2){
    border-bottom:0;
  }

  .article-strength-grid img{
    margin:0 auto 12px;
  }

  /* CTA */
  .article-cta h2{
    font-size:23px;
  }

  .article-cta a{
    min-height:58px;
    gap:38px;
  }

  .article-cta a span{
    font-size:19px;
  }
}

@media screen and (max-width:360px){

  .article-hero__content{
    width:82%;
  }

  .article-hero__text{
    width:62%;
  }

  .article-hero::after{
    right:-16px;
  }
}

/* =========================================================
   SHARED TOP BACKGROUND
   TOP画面と同じ抽象ブルー背景をページ全体へ固定表示
========================================================= */
html{
  background:#f7fbff;
}

body{
  position:relative;
  isolation:isolate;
  min-height:100vh;
  background:transparent!important;
}

body::before,
body::after{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
}

body::before{
  z-index:-2;
  background-image:url("../img/top/top-page-background-v1.png");
  background-image:image-set(
    url("../img/top/top-page-background-v1.webp") type("image/webp"),
    url("../img/top/top-page-background-v1.png") type("image/png")
  );
  background-position:center center;
  background-size:cover;
  background-repeat:no-repeat;
  opacity:.78;
}

body::after{
  z-index:-1;
  background:linear-gradient(
    180deg,
    rgba(255,255,255,.24) 0%,
    rgba(248,252,255,.34) 52%,
    rgba(255,255,255,.46) 100%
  );
}

@media(max-width:900px){
  body::before{
    background-position:72% center;
    opacity:.73;
  }

  body::after{
    background:linear-gradient(
      180deg,
      rgba(255,255,255,.32) 0%,
      rgba(248,252,255,.42) 52%,
      rgba(255,255,255,.54) 100%
    );
  }
}

@media(max-width:640px){
  body::before{
    background-position:84% center;
    opacity:.69;
  }
}


.article-page,
.article-benefits,
.article-problems,
.article-comparison,
.article-features,
.article-steps,
.article-scenes,
.article-strengths{
  background:transparent!important;
}
.article-problem-card,
.article-comparison-card,
.article-feature-grid article,
.article-step-card,
.article-scene-grid article,
.article-strength-grid article{
  background-color:rgba(255,255,255,.84)!important;
  -webkit-backdrop-filter:blur(3px);
  backdrop-filter:blur(3px);
}

/* =========================================================
   GLOBAL FOOTER — browser zoom / scale stability
   ブラウザの表示倍率を変更してもフッターを画面幅いっぱいに維持
========================================================= */
html,
body{
  min-height:100%;
}

body{
  min-height:100vh;
  display:flex;
  flex-direction:column;
}

body > #header{
  flex:0 0 auto;
}

body > main{
  width:100%;
  flex:1 0 auto;
}

body > #footer{
  position:relative;
  z-index:10;
  width:100%;
  max-width:none!important;
  margin-top:auto;
  margin-right:0!important;
  margin-left:0!important;
  align-self:stretch;
  flex:0 0 auto;
  box-sizing:border-box;
}

/* footer.htmlから読み込まれる一番外側の要素だけ固定幅を解除 */
body > #footer > *,
body > #footer > footer,
body > #footer > .footer{
  width:100%!important;
  max-width:none!important;
  margin-right:0!important;
  margin-left:0!important;
  box-sizing:border-box;
}

/* 内部コンテンツの中央寄せは維持 */
body > #footer .footer-inner,
body > #footer .footer__inner,
body > #footer .footer-container,
body > #footer .footer__container{
  margin-right:auto!important;
  margin-left:auto!important;
}

/* 縮小表示時の横スクロール発生を防ぐ */
body > #footer,
body > #footer > *{
  min-width:0;
}

/* =========================================================
   GLOBAL PAGE POSITION — zoom stability / left anchored
   ブラウザの表示倍率を下げても、ページ本体を中央へ移動させず、
   通常時と同じ左基準位置に維持する
========================================================= */
html,
body{
  width:100%;
  min-width:320px;
}

body{
  align-items:stretch;
}

/* 各ページの最外側ラッパーを左基準へ固定 */
.affiliate-page,
.article-page,
.formx-page,
.other-page,
.dr-growth-page,
.business-ai-page,
.strategy-page,
.page-image-wrap,
.page-image-cta-wrap{
  width:min(100%,1620px);
  max-width:1620px;
  margin-right:auto!important;
  margin-left:0!important;
}

/* 各ページ内の中央コンテナも、縮小時に画面中央へ移動しない */
.affiliate-inner,
.article-inner,
.formx-inner,
.formx-container,
.other-inner,
.dr-wide,
.business-ai-container,
.strategy-inner,
.privacy-inner{
  margin-right:auto!important;
  margin-left:0!important;
}

/* プライバシー・フォームなど main が直接レイアウトを持つページ */
body > main{
  max-width:1620px;
  margin-right:auto;
  margin-left:0;
}

/* お問い合わせ・資料請求 */
.diagnosis{
  margin-right:auto!important;
  margin-left:0!important;
}

/* フッターは背景だけ全幅、内容は元の左位置を維持 */
body > #footer{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
}

body > #footer .footer{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
}

body > #footer .footer-info{
  margin-right:auto!important;
  margin-left:40px!important;
}

/* PCのみ位置固定。スマホでは既存レスポンシブ設定を優先 */
@media(max-width:1036px){
  .affiliate-page,
  .article-page,
  .formx-page,
  .other-page,
  .dr-growth-page,
  .business-ai-page,
  .strategy-page,
  .page-image-wrap,
  .page-image-cta-wrap,
  body > main{
    width:100%;
    max-width:none;
    margin-right:0!important;
    margin-left:0!important;
  }

  .affiliate-inner,
  .article-inner,
  .formx-inner,
  .formx-container,
  .other-inner,
  .dr-wide,
  .business-ai-container,
  .strategy-inner,
  .privacy-inner{
    margin-right:auto!important;
    margin-left:auto!important;
  }

  body > #footer .footer-info{
    margin-left:0!important;
  }
}


/* Vector hero rendering */
img[src$=".svg"]{
  image-rendering:auto;
}

/* MOBILE: hero bottom spacing */
@media screen and (max-width:767px){
  .article-hero,.article-hero__inner{min-height:clamp(300px,92vw,350px)}
  .article-hero__inner{padding-bottom:0}
  .article-benefits{padding-top:0}
}

/* MOBILE: shared hero typography */
@media screen and (max-width:767px){
  .article-kicker{font-size:12px;line-height:1.4;font-weight:600}
  .article-hero h1{font-size:clamp(28px,7.5vw,36px);line-height:1.45;font-weight:500}
  .article-hero__subtitle{font-size:clamp(20px,5.6vw,26px);line-height:1.65;font-weight:500}
  .article-hero__text{font-size:13px;line-height:1.9;font-weight:500}
}

/* MOBILE: Before / After を縦並びに切り替え */
@media screen and (max-width:767px){
  .article-comparison-grid{
    grid-template-columns:1fr;
    gap:16px;
    max-width:560px;
  }

  .article-comparison-arrow{
    min-height:34px;
    transform:rotate(90deg);
  }

  .article-comparison-image{
    margin:14px 14px 0;
  }

  .article-comparison-content{
    padding:18px 18px 22px;
  }

  .article-comparison-content h3{
    min-height:0;
    font-size:18px;
  }

  .article-comparison-content li{
    padding-left:36px;
    font-size:14px;
  }

  .article-comparison-content li::before{
    width:25px;
    height:25px;
  }

  .article-after-result{
    width:82px;
  }
}

