/* Y&A商事 お掃除ノウハウ V6 */

body.knowledge-page{
  background:#fff;
  letter-spacing:0;
}

body.knowledge-page h1,
body.knowledge-page h2,
body.knowledge-page h3,
body.knowledge-page p,
body.knowledge-page li{
  letter-spacing:0;
}

nav.main a[aria-current="page"]::after{
  transform:scaleX(1);
}

.knowledge-hero{
  position:relative;
  min-height:620px;
  display:flex;
  align-items:flex-end;
  overflow:hidden;
  background:var(--dark-2);
  color:#fff;
}

.knowledge-hero > img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}

.knowledge-hero::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(11,29,44,.92) 0%,rgba(11,29,44,.72) 44%,rgba(11,29,44,.16) 76%);
}

.knowledge-hero .wrap{
  position:relative;
  z-index:1;
  width:100%;
  padding-top:110px;
  padding-bottom:72px;
}

.knowledge-hero .hero-copy{
  max-width:680px;
}

.knowledge-hero .eyebrow{
  display:block;
  margin-bottom:18px;
  font-family:var(--serif);
  font-size:13px;
  font-weight:700;
  color:var(--hl);
}

.knowledge-hero h1{
  margin:0 0 20px;
  max-width:13em;
  font-size:48px;
  line-height:1.35;
  font-weight:900;
}

.knowledge-hero p{
  margin:0 0 28px;
  max-width:620px;
  font-size:17px;
  line-height:2;
  color:var(--on-dark);
}

.knowledge-hero .hero-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.journal-intro{
  padding:52px 0;
  background:var(--paper-2);
  border-bottom:1px solid var(--line);
}

.journal-intro .intro-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:0;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

.journal-intro .intro-item{
  padding:24px 28px;
  border-right:1px solid var(--line);
}

.journal-intro .intro-item:last-child{
  border-right:0;
}

.journal-intro strong{
  display:block;
  margin-bottom:6px;
  color:var(--ink);
  font-size:17px;
}

.journal-intro p{
  margin:0;
  color:var(--ink-2);
  font-size:14px;
  line-height:1.85;
}

.knowledge-list{
  padding:88px 0 104px;
}

.knowledge-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px;
  margin-top:40px;
}

.knowledge-card{
  display:grid;
  grid-template-rows:260px 1fr;
  min-width:0;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:6px;
  background:var(--paper);
  box-shadow:var(--shadow);
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}

.knowledge-card:first-child{
  grid-column:1 / -1;
  grid-template-columns:1.12fr .88fr;
  grid-template-rows:420px;
}

.knowledge-card:hover{
  transform:translateY(-3px);
  border-color:var(--key);
  box-shadow:var(--shadow-lg);
}

.knowledge-card .media{
  position:relative;
  overflow:hidden;
  background:var(--dark-2);
}

.knowledge-card .media img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .45s ease;
}

.knowledge-card:hover .media img{
  transform:scale(1.025);
}

.knowledge-card .body{
  display:flex;
  flex-direction:column;
  padding:26px;
}

.knowledge-card:first-child .body{
  justify-content:center;
  padding:42px;
}

.knowledge-card .tag{
  display:inline-flex;
  align-self:flex-start;
  margin-bottom:12px;
  padding:4px 10px;
  border:1px solid var(--key);
  border-radius:3px;
  color:var(--key-d);
  font-size:11px;
  font-weight:800;
}

.knowledge-card h2,
.knowledge-card h3{
  margin:0 0 12px;
  color:var(--ink);
  font-size:22px;
  line-height:1.55;
}

.knowledge-card:first-child h2{
  font-size:30px;
}

.knowledge-card p{
  margin:0 0 20px;
  color:var(--ink-2);
  font-size:14.5px;
  line-height:1.9;
}

.knowledge-card .meta{
  margin-top:auto;
  color:var(--muted);
  font-size:12px;
  font-weight:700;
}

.knowledge-card .more{
  display:inline-block;
  margin-top:8px;
  color:var(--key-d);
  font-size:13px;
  font-weight:800;
}

.editorial-policy{
  padding:80px 0;
  color:#fff;
  background:var(--dark);
}

.editorial-policy .policy-grid{
  display:grid;
  grid-template-columns:.8fr 1.2fr;
  gap:64px;
  align-items:start;
}

.editorial-policy h2{
  margin:0 0 14px;
  font-size:30px;
  line-height:1.45;
}

.editorial-policy p,
.editorial-policy li{
  color:var(--on-dark);
  font-size:14.5px;
  line-height:1.95;
}

.editorial-policy ul{
  margin:0;
  padding-left:1.2em;
}

.editorial-policy a{
  color:var(--hl);
  text-decoration:underline;
}

.breadcrumbs{
  max-width:960px;
  margin:0 auto;
  padding:22px 24px 0;
  color:var(--muted);
  font-size:12px;
}

.breadcrumbs ol{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:0;
  padding:0;
  list-style:none;
}

.breadcrumbs li:not(:last-child)::after{
  content:"/";
  margin-left:8px;
  color:#9aa9b2;
}

.breadcrumbs a{
  text-decoration:underline;
}

.article{
  max-width:920px;
  margin:0 auto;
  padding:52px 24px 96px;
}

.article-head{
  max-width:820px;
  margin:0 auto 36px;
}

.article-head .category{
  display:inline-block;
  margin-bottom:14px;
  color:var(--key-d);
  font-size:12px;
  font-weight:800;
}

.article-head h1{
  margin:0 0 22px;
  color:var(--ink);
  font-size:42px;
  line-height:1.38;
  font-weight:900;
}

.article-head .lead{
  margin:0;
  color:var(--ink-2);
  font-size:17px;
  line-height:2;
}

.article-byline{
  display:flex;
  flex-wrap:wrap;
  gap:8px 18px;
  margin-top:22px;
  padding-top:18px;
  border-top:1px solid var(--line);
  color:var(--muted);
  font-size:12.5px;
}

.article-hero{
  margin:0 0 48px;
}

.article-hero img{
  width:100%;
  aspect-ratio:16 / 9;
  object-fit:cover;
  border-radius:6px;
}

.article-hero figcaption,
.ba-article figcaption,
.detail-gallery figcaption{
  margin-top:8px;
  color:var(--muted);
  font-size:12px;
  line-height:1.7;
}

.answer-band{
  margin:0 -24px 54px;
  padding:34px 42px;
  border-top:3px solid var(--key);
  border-bottom:1px solid var(--line);
  background:var(--paper-2);
}

.answer-band h2{
  margin:0 0 10px;
  color:var(--ink);
  font-size:22px;
}

.answer-band ul{
  margin:0;
  padding-left:1.25em;
}

.answer-band li{
  margin:8px 0;
  color:var(--ink-2);
  font-size:15px;
  line-height:1.85;
}

.article section{
  margin-top:58px;
}

.article section > h2{
  margin:0 0 20px;
  padding-bottom:10px;
  border-bottom:2px solid var(--key);
  color:var(--ink);
  font-size:27px;
  line-height:1.5;
}

.article section > h3{
  margin:34px 0 12px;
  padding-left:12px;
  border-left:4px solid var(--key);
  color:var(--ink);
  font-size:20px;
  line-height:1.55;
}

.article p,
.article li{
  color:var(--ink-2);
  font-size:15.5px;
  line-height:2;
}

.article p{
  margin:0 0 18px;
}

.article ul,
.article ol{
  padding-left:1.35em;
}

.article a:not(.btn){
  color:var(--key-d);
  text-decoration:underline;
  text-underline-offset:3px;
}

.topic-table{
  width:100%;
  border-collapse:collapse;
  table-layout:fixed;
  background:#fff;
}

.topic-table th,
.topic-table td{
  padding:14px 16px;
  border:1px solid var(--line);
  text-align:left;
  vertical-align:top;
  font-size:14px;
  line-height:1.8;
}

.topic-table th{
  width:24%;
  color:var(--ink);
  background:var(--paper-2);
}

.steps{
  margin:0;
  padding:0;
  list-style:none;
  counter-reset:step;
}

.steps > li{
  position:relative;
  min-height:58px;
  padding:0 0 26px 66px;
  counter-increment:step;
}

.steps > li::before{
  content:counter(step);
  position:absolute;
  left:0;
  top:2px;
  width:46px;
  height:46px;
  display:grid;
  place-items:center;
  border-radius:50%;
  color:#fff;
  background:var(--key);
  font-weight:900;
}

.steps strong{
  display:block;
  margin-bottom:4px;
  color:var(--ink);
  font-size:17px;
}

.ba-article{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
  margin:26px 0 0;
}

.ba-article figure{
  margin:0;
}

.ba-article img{
  width:100%;
  height:520px;
  object-fit:cover;
  border-radius:6px;
  background:var(--paper-2);
}

.ba-article .before figcaption{
  color:var(--label-b);
}

.ba-article .after figcaption{
  color:var(--key-d);
}

.detail-gallery{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  margin-top:24px;
}

.detail-gallery figure{
  margin:0;
}

.detail-gallery img{
  width:100%;
  height:260px;
  object-fit:cover;
  border-radius:6px;
}

.pro-note{
  margin-top:28px;
  padding:24px 28px;
  border-left:5px solid var(--green-d);
  background:#eef7f2;
}

.pro-note strong{
  display:block;
  margin-bottom:8px;
  color:#245b46;
  font-size:16px;
}

.pro-note p{
  margin:0;
}

.safety-note{
  margin-top:28px;
  padding:24px 28px;
  border:1px solid #e8c28a;
  border-left:5px solid #b25f16;
  background:#fff8ee;
}

.safety-note strong{
  display:block;
  margin-bottom:8px;
  color:#713b0c;
  font-size:16px;
}

.safety-note p,
.safety-note li{
  color:#593f27;
}

.article-video{
  max-width:420px;
  margin:26px auto 0;
}

.article-video video{
  display:block;
  width:100%;
  aspect-ratio:9 / 16;
  object-fit:contain;
  border-radius:6px;
  background:var(--dark-2);
}

.source-list{
  margin:0;
  padding-left:1.2em;
}

.source-list li{
  margin:10px 0;
  font-size:13.5px;
  line-height:1.8;
}

.article-cta{
  padding:58px 0;
  color:#fff;
  background:var(--dark);
}

.article-cta .wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:36px;
}

.article-cta h2{
  margin:0 0 8px;
  font-size:27px;
}

.article-cta p{
  margin:0;
  color:var(--on-dark);
  font-size:14.5px;
}

.related{
  padding:72px 0 90px;
  background:var(--paper-2);
}

.related-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
  margin-top:30px;
}

.related-card{
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:6px;
  background:#fff;
}

.related-card img{
  width:100%;
  height:170px;
  object-fit:cover;
}

.related-card span{
  display:block;
  padding:18px;
  color:var(--ink);
  font-size:14px;
  font-weight:800;
  line-height:1.7;
}

.knowledge-footer-link{
  color:var(--hl) !important;
}

@media(max-width:920px){
  .knowledge-card:first-child{
    grid-template-columns:1fr;
    grid-template-rows:320px auto;
  }
  .editorial-policy .policy-grid{
    grid-template-columns:1fr;
    gap:30px;
  }
  .article-cta .wrap{
    align-items:flex-start;
    flex-direction:column;
  }
}

@media(max-width:720px){
  .knowledge-hero{
    min-height:570px;
  }
  .knowledge-hero::after{
    background:linear-gradient(180deg,rgba(11,29,44,.22) 0%,rgba(11,29,44,.9) 66%);
  }
  .knowledge-hero .wrap{
    padding-top:220px;
    padding-bottom:48px;
  }
  .knowledge-hero h1{
    font-size:34px;
  }
  .knowledge-hero p{
    font-size:15px;
  }
  .journal-intro .intro-grid{
    grid-template-columns:1fr;
  }
  .journal-intro .intro-item{
    border-right:0;
    border-bottom:1px solid var(--line);
  }
  .journal-intro .intro-item:last-child{
    border-bottom:0;
  }
  .knowledge-grid{
    grid-template-columns:1fr;
  }
  .knowledge-card:first-child{
    grid-column:auto;
  }
  .knowledge-card,
  .knowledge-card:first-child{
    grid-template-rows:230px auto;
  }
  .knowledge-card:first-child .body{
    padding:26px;
  }
  .knowledge-card:first-child h2{
    font-size:23px;
  }
  .article{
    padding-top:38px;
  }
  .article-head h1{
    font-size:31px;
  }
  .article-head .lead{
    font-size:15.5px;
  }
  .answer-band{
    margin-left:-24px;
    margin-right:-24px;
    padding:28px 24px;
  }
  .article section > h2{
    font-size:23px;
  }
  .topic-table,
  .topic-table tbody,
  .topic-table tr,
  .topic-table th,
  .topic-table td{
    display:block;
    width:100%;
  }
  .topic-table th{
    border-bottom:0;
  }
  .ba-article{
    grid-template-columns:1fr;
  }
  .ba-article img{
    height:auto;
    max-height:640px;
    object-fit:contain;
  }
  .detail-gallery{
    grid-template-columns:1fr;
  }
  .detail-gallery img{
    height:auto;
  }
  .related-grid{
    grid-template-columns:1fr;
  }
}

@media(prefers-reduced-motion:reduce){
  .knowledge-card,
  .knowledge-card .media img{
    transition:none;
  }
}
