/* =========================================================
   TAMAYURA 導入事例ページ用CSS
   - case/index.html（導入事例TOP）
   - case/01/index.html など（各事例詳細）にも共通利用可能
   ========================================================= */

.case-index-body{
  background:#fff;
}

.case-index-page{
  padding-top:86px;
  background:#fff;
}

.case-container{
  width:min(1160px,calc(100% - 40px));
  margin-inline:auto;
}

.case-kicker,
.case-section-label{
  margin:0 0 16px;
  color:var(--blue);
  font-size:12px;
  font-weight:1000;
  letter-spacing:.22em;
}

.case-kicker::before,
.case-section-label::before{
  content:"";
  display:inline-block;
  width:38px;
  height:3px;
  margin:0 12px 4px 0;
  border-radius:999px;
  background:var(--orange);
}

/* ---------- ヒーロー ---------- */
.case-index-hero{
  position:relative;
  min-height:480px;
  display:grid;
  align-items:end;
  overflow:hidden;
  color:#fff;
  background:
    radial-gradient(circle at 78% 25%,rgba(255,255,255,.14),transparent 30%),
    linear-gradient(125deg,#0b1f3a 0%,#123e6a 58%,#1068b3 100%);
}

.case-index-hero::before{
  content:"CASE STUDY";
  position:absolute;
  right:-22px;
  top:58px;
  color:rgba(255,255,255,.055);
  font-size:min(15vw,190px);
  line-height:1;
  font-weight:1000;
  letter-spacing:.06em;
  white-space:nowrap;
}

.case-index-hero::after{
  content:"";
  position:absolute;
  right:8%;
  bottom:-250px;
  width:520px;
  height:520px;
  border:1px solid rgba(255,255,255,.15);
  border-radius:50%;
}

.case-index-hero__inner{
  position:relative;
  z-index:1;
  padding:88px 0 74px;
}

.case-index-hero .case-kicker{
  color:#fff;
}

.case-index-hero h1{
  margin:0 0 26px;
  color:#fff;
  font-size:clamp(54px,8vw,104px);
  line-height:.95;
  font-weight:1000;
  letter-spacing:.02em;
}

.case-index-hero__lead{
  max-width:720px;
  margin:0;
  color:rgba(255,255,255,.86);
  font-size:17px;
  line-height:2;
  font-weight:700;
}

/* ---------- パンくず ---------- */
.case-breadcrumb{
  background:#fff;
  border-bottom:1px solid var(--line);
}

.case-breadcrumb .case-container{
  min-height:58px;
  display:flex;
  align-items:center;
  gap:10px;
  color:var(--muted);
  font-size:12px;
  font-weight:700;
}

.case-breadcrumb a:hover{
  color:var(--blue);
}

/* ---------- 導入文 ---------- */
.case-index-intro{
  padding:105px 0;
  background:#fff;
}

.case-index-intro__inner{
  display:grid;
  grid-template-columns:.88fr 1.12fr;
  gap:80px;
  align-items:start;
}

.case-index-intro h2,
.case-index-heading h2,
.case-index-cta h2{
  margin:0;
  color:var(--navy);
  font-size:clamp(34px,4.5vw,58px);
  line-height:1.3;
  font-weight:1000;
}

.case-index-intro__inner>p{
  margin:0;
  padding-top:36px;
  color:var(--muted);
  font-size:16px;
  line-height:2.05;
  font-weight:700;
}

/* ---------- 一覧 ---------- */
.case-index-list-section{
  padding:105px 0 120px;
  background:#f4f7fb;
}

.case-index-heading{
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:30px;
  margin-bottom:38px;
}

.case-index-heading>p{
  max-width:430px;
  margin:0;
  color:var(--muted);
  font-size:14px;
  font-weight:700;
  text-align:right;
}

.case-filter{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:38px;
}

.case-filter button{
  min-height:42px;
  padding:8px 18px;
  border:1px solid var(--line);
  border-radius:999px;
  color:var(--navy);
  background:#fff;
  font-size:13px;
  font-weight:900;
  transition:.25s;
}

.case-filter button:hover,
.case-filter button.is-current{
  color:#fff;
  border-color:var(--navy);
  background:var(--navy);
}

.case-index-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
}

.case-index-card{
  overflow:hidden;
  background:#fff;
  border:1px solid var(--line);
  border-radius:26px;
  box-shadow:0 16px 44px rgba(11,31,58,.09);
  transition:transform .3s ease,box-shadow .3s ease;
}

.case-index-card:hover{
  transform:translateY(-6px);
  box-shadow:0 24px 54px rgba(11,31,58,.15);
}

.case-index-card>a{
  display:block;
  height:100%;
}

.case-index-card__image{
  position:relative;
  height:245px;
  overflow:hidden;
  background:linear-gradient(135deg,#dbe9f5,#b7d2e8);
}

.case-index-card__image img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .45s ease;
}

.case-index-card:hover .case-index-card__image img{
  transform:scale(1.04);
}

.case-index-card__placeholder{
  width:100%;
  height:100%;
  display:grid;
  place-items:center;
  color:rgba(11,31,58,.28);
  font-size:13px;
  font-weight:1000;
  letter-spacing:.18em;
  background:
    linear-gradient(135deg,rgba(255,255,255,.34),rgba(255,255,255,0)),
    repeating-linear-gradient(45deg,#dce9f3,#dce9f3 12px,#d2e1ed 12px,#d2e1ed 24px);
}

.case-index-card__number{
  position:absolute;
  left:18px;
  bottom:16px;
  min-height:34px;
  display:inline-flex;
  align-items:center;
  padding:6px 13px;
  border-radius:999px;
  color:#fff;
  background:rgba(11,31,58,.86);
  font-size:12px;
  font-weight:1000;
  letter-spacing:.08em;
}

.case-index-card__body{
  padding:26px 26px 28px;
}

.case-index-card__category{
  margin:0 0 10px;
  color:var(--blue);
  font-size:12px;
  font-weight:1000;
  letter-spacing:.08em;
}

.case-index-card h3{
  margin:0 0 14px;
  color:var(--navy);
  font-size:22px;
  line-height:1.45;
  font-weight:1000;
}

.case-index-card__title{
  margin:0;
  color:var(--muted);
  font-size:14px;
  line-height:1.85;
  font-weight:700;
}

.case-index-card__more{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-top:22px;
  padding-top:17px;
  border-top:1px solid var(--line);
  color:var(--navy);
  font-size:13px;
  font-weight:1000;
}

.case-index-card__more::after{
  content:"→";
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  border-radius:50%;
  color:#fff;
  background:var(--orange);
  font-size:17px;
  transition:transform .25s;
}

.case-index-card:hover .case-index-card__more::after{
  transform:translateX(4px);
}

/* ---------- CTA ---------- */
.case-index-cta{
  position:relative;
  overflow:hidden;
  padding:88px 0;
  color:#fff;
  background:
    radial-gradient(circle at 78% 18%,rgba(243,152,0,.35),transparent 30%),
    linear-gradient(135deg,var(--navy),var(--blue));
}

.case-index-cta::before{
  content:"CONTACT";
  position:absolute;
  right:3%;
  top:18px;
  color:rgba(255,255,255,.055);
  font-size:min(13vw,160px);
  line-height:1;
  font-weight:1000;
  letter-spacing:.08em;
}

.case-index-cta__inner{
  position:relative;
  z-index:1;
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:40px;
}

.case-index-cta .case-section-label,
.case-index-cta h2{
  color:#fff;
}

.case-index-cta__inner p:last-child{
  margin:18px 0 0;
  color:rgba(255,255,255,.82);
  font-weight:700;
}

.case-index-cta__button{
  flex:0 0 auto;
  min-height:58px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:14px 28px;
  border-radius:999px;
  color:var(--navy);
  background:#fff;
  font-size:15px;
  font-weight:1000;
  transition:.25s;
}

.case-index-cta__button:hover{
  color:#fff;
  background:var(--orange);
  transform:translateY(-3px);
}

/* ---------- レスポンシブ ---------- */
@media (max-width:900px){
  .case-index-intro__inner{
    grid-template-columns:1fr;
    gap:28px;
  }

  .case-index-intro__inner>p{
    padding-top:0;
  }

  .case-index-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (max-width:820px){
  .case-index-page{
    padding-top:74px;
  }

  .case-container{
    width:min(100% - 28px,1160px);
  }

  .case-index-hero{
    min-height:410px;
  }

  .case-index-hero__inner{
    padding:68px 0 58px;
  }

  .case-index-hero h1{
    font-size:58px;
  }

  .case-index-hero__lead{
    font-size:15px;
  }

  .case-index-intro,
  .case-index-list-section{
    padding:72px 0 78px;
  }

  .case-index-heading{
    display:block;
  }

  .case-index-heading>p{
    margin-top:18px;
    text-align:left;
  }

  .case-index-cta__inner{
    display:block;
  }

  .case-index-cta__button{
    margin-top:28px;
  }
}

@media (max-width:620px){
  .case-index-grid{
    grid-template-columns:1fr;
  }

  .case-index-card__image{
    height:230px;
  }

  .case-index-cta{
    padding:68px 0;
  }

  .case-index-cta__button{
    width:100%;
  }
}

@media (max-width:480px){
  .case-container{
    width:calc(100% - 24px);
  }

  .case-index-hero{
    min-height:360px;
  }

  .case-index-hero h1{
    font-size:46px;
  }

  .case-index-hero__lead br{
    display:none;
  }

  .case-index-intro h2,
  .case-index-heading h2,
  .case-index-cta h2{
    font-size:32px;
  }

  .case-filter{
    gap:8px;
  }

  .case-filter button{
    padding:7px 13px;
    font-size:12px;
  }
}

/* =========================================================
   導入事例 詳細ページ
   case/index01.html など
   ========================================================= */
.case-detail-body{background:#fff}
.case-detail-page{padding-top:86px;background:#fff}
.case-detail-container{width:min(1120px,calc(100% - 40px));margin-inline:auto}
.case-detail-hero{position:relative;min-height:470px;display:grid;align-items:end;overflow:hidden;background:linear-gradient(125deg,#0b1f3a 0%,#123e6a 58%,#1068b3 100%);color:#fff}
.case-detail-hero::before{content:"CASE 01";position:absolute;right:-20px;top:50px;color:rgba(255,255,255,.06);font-size:min(18vw,220px);line-height:1;font-weight:1000;letter-spacing:.06em;white-space:nowrap}
.case-detail-hero__inner{position:relative;z-index:1;padding:92px 0 72px}
.case-detail-kicker{margin:0 0 16px;color:var(--yellow);font-size:12px;font-weight:1000;letter-spacing:.2em}
.case-detail-hero h1{margin:0 0 22px;color:#fff;font-size:clamp(40px,6vw,76px);line-height:1.15;font-weight:1000}
.case-detail-hero__lead{margin:0;color:rgba(255,255,255,.88);font-size:clamp(20px,2.5vw,31px);line-height:1.6;font-weight:900}
.case-detail-breadcrumb{border-bottom:1px solid var(--line);background:#fff}
.case-detail-breadcrumb .case-detail-container{min-height:58px;display:flex;align-items:center;gap:10px;color:var(--muted);font-size:12px;font-weight:700}
.case-detail-breadcrumb a:hover{color:var(--blue)}
.case-detail-content{padding-top:72px;padding-bottom:110px}
.case-detail-main-image{height:min(56vw,620px);min-height:360px;border-radius:28px;overflow:hidden}
.case-detail-placeholder{display:grid;place-items:center;text-align:center;color:rgba(11,31,58,.4);font-weight:900;background:repeating-linear-gradient(45deg,#e5edf4,#e5edf4 14px,#dbe6ef 14px,#dbe6ef 28px)}
.case-detail-placeholder small{font-size:12px;font-weight:700}
.case-detail-summary{display:grid;grid-template-columns:repeat(4,1fr);margin:28px 0 92px;border:1px solid var(--line);border-radius:22px;overflow:hidden;background:#fff;box-shadow:0 14px 34px rgba(11,31,58,.07)}
.case-detail-summary>div{padding:22px;border-right:1px solid var(--line)}
.case-detail-summary>div:last-child{border-right:0}
.case-detail-summary dt{margin-bottom:7px;color:var(--muted);font-size:12px;font-weight:900}
.case-detail-summary dd{color:var(--navy);font-size:16px;font-weight:1000}
.case-detail-section{display:grid;grid-template-columns:190px 1fr;gap:48px;padding:80px 0;border-top:1px solid var(--line)}
.case-detail-section__label{display:flex;align-items:center;gap:14px;color:var(--blue);font-size:12px;letter-spacing:.14em}
.case-detail-section__label span{font-size:42px;line-height:1;font-weight:1000;color:rgba(16,104,179,.25)}
.case-detail-section__body h2{margin:0 0 26px;color:var(--navy);font-size:clamp(30px,4vw,48px);line-height:1.3;font-weight:1000}
.case-detail-section__body>p{margin:0 0 18px;color:var(--muted);font-size:16px;line-height:2;font-weight:700}
.case-detail-item-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.case-detail-item-card{overflow:hidden;border:1px solid var(--line);border-radius:22px;background:#fff;box-shadow:0 12px 30px rgba(11,31,58,.06)}
.case-detail-item-photo{height:220px}
.case-detail-item-card>div:last-child{padding:22px}
.case-detail-item-card h3{margin:0 0 10px;color:var(--navy);font-size:19px;font-weight:1000}
.case-detail-item-card p{margin:0;color:var(--muted);font-size:14px;line-height:1.8;font-weight:700}
.case-detail-point-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.case-detail-point-grid>div{padding:28px;border-radius:22px;background:var(--gray);border:1px solid var(--line)}
.case-detail-point-grid>div>b{display:block;margin-bottom:18px;color:var(--orange);font-size:13px;letter-spacing:.12em}
.case-detail-point-grid h3{margin:0 0 12px;color:var(--navy);font-size:20px;line-height:1.5;font-weight:1000}
.case-detail-point-grid p{margin:0;color:var(--muted);font-size:14px;line-height:1.85;font-weight:700}
.case-detail-voice{display:grid;grid-template-columns:.9fr 1.1fr;gap:0;margin-top:70px;overflow:hidden;border-radius:28px;background:linear-gradient(135deg,var(--navy),var(--navy2));color:#fff}
.case-detail-voice__photo{min-height:420px;border-radius:0}
.case-detail-voice__copy{padding:52px}
.case-detail-voice__copy h2{margin:0 0 24px;color:#fff;font-size:clamp(26px,3vw,40px);line-height:1.5;font-weight:1000}
.case-detail-voice blockquote{margin:0;color:rgba(255,255,255,.82);font-size:15px;line-height:2;font-weight:700}
.case-detail-voice__name{margin:24px 0 0;text-align:right;color:rgba(255,255,255,.7);font-size:13px;font-weight:800}
.case-detail-back{text-align:center;margin-top:64px}
.case-detail-back a{display:inline-flex;min-height:52px;align-items:center;justify-content:center;padding:13px 28px;border-radius:999px;color:#fff;background:var(--navy);font-weight:1000;transition:.25s}
.case-detail-back a:hover{background:var(--orange);transform:translateY(-2px)}

@media(max-width:820px){
  .case-detail-page{padding-top:74px}
  .case-detail-hero{min-height:390px}
  .case-detail-hero__inner{padding:68px 0 54px}
  .case-detail-summary{grid-template-columns:repeat(2,1fr);margin-bottom:62px}
  .case-detail-summary>div:nth-child(2){border-right:0}
  .case-detail-summary>div:nth-child(-n+2){border-bottom:1px solid var(--line)}
  .case-detail-section{grid-template-columns:1fr;gap:22px;padding:60px 0}
  .case-detail-item-grid,.case-detail-point-grid{grid-template-columns:1fr}
  .case-detail-voice{grid-template-columns:1fr}
  .case-detail-voice__photo{min-height:300px}
  .case-detail-voice__copy{padding:34px 26px}
}
@media(max-width:520px){
  .case-detail-container{width:calc(100% - 24px)}
  .case-detail-main-image{min-height:240px;border-radius:18px}
  .case-detail-summary{grid-template-columns:1fr}
  .case-detail-summary>div{border-right:0;border-bottom:1px solid var(--line)!important}
  .case-detail-summary>div:last-child{border-bottom:0!important}
  .case-detail-section__label span{font-size:34px}
}

/* ハマテック事例ページ追加 */
.case-detail-main-image img,
.case-detail-item-photo img,
.case-detail-voice__photo img,
.case-detail-feature__image img{
  width:100%;height:100%;object-fit:cover;display:block;
}
.case-detail-feature{
  display:grid;grid-template-columns:1fr 1fr;overflow:hidden;margin:70px 0 0;
  border-radius:28px;background:#f4f7fb;border:1px solid var(--line);
}
.case-detail-feature__image{min-height:420px}
.case-detail-feature__copy{padding:52px;display:flex;flex-direction:column;justify-content:center}
.case-detail-feature__copy .case-detail-kicker{color:var(--blue)}
.case-detail-feature__copy h2,.case-detail-result h2{margin:0 0 22px;color:var(--navy);font-size:clamp(28px,3.8vw,46px);line-height:1.35;font-weight:1000}
.case-detail-feature__copy p:last-child{margin:0;color:var(--muted);font-size:15px;line-height:2;font-weight:700}
.case-detail-result{margin-top:70px;padding:48px;border-radius:28px;background:#fff;border:1px solid var(--line);box-shadow:0 16px 44px rgba(11,31,58,.08)}
.case-detail-result .case-detail-kicker{color:var(--blue)}
.case-detail-result ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 24px}
.case-detail-result li{position:relative;padding:16px 18px 16px 46px;border-radius:18px;background:var(--gray);color:#40516b;font-weight:800;line-height:1.7}
.case-detail-result li::before{content:"✓";position:absolute;left:18px;top:15px;color:var(--orange);font-weight:1000}
@media(max-width:820px){
  .case-detail-feature{grid-template-columns:1fr}
  .case-detail-feature__image{min-height:300px}
  .case-detail-feature__copy{padding:34px 26px}
  .case-detail-result{padding:30px 24px}
  .case-detail-result ul{grid-template-columns:1fr}
}

/* =========================================================
   導入事例ヒーロー 共通統一設定
   CASE 01、02、03、04以降で同じ枠・背景・装飾を使用
   ========================================================= */
.case-detail-hero{
  position:relative;
  height:470px;
  min-height:470px;
  display:block;
  overflow:hidden;
  box-sizing:border-box;
  color:#fff;
  background:linear-gradient(125deg,#0b1f3a 0%,#123e6a 58%,#1068b3 100%);
}

/* 背景の大きな CASE 番号。HTMLの data-case を表示 */
.case-detail-hero::before{
  content:attr(data-case);
  position:absolute;
  right:-20px;
  top:50px;
  color:rgba(255,255,255,.06);
  font-size:min(18vw,220px);
  line-height:1;
  font-weight:1000;
  letter-spacing:.06em;
  white-space:nowrap;
  pointer-events:none;
}

/* 他のCSSで円形装飾が追加されていても無効化 */
.case-detail-hero::after{
  content:none !important;
  display:none !important;
}

.case-detail-hero__inner{
  position:relative;
  z-index:1;
  width:min(1120px,calc(100% - 40px));
  height:100%;
  margin-inline:auto;
  padding:72px 0 42px;
  box-sizing:border-box;
  display:grid;
  grid-template-rows:20px 176px auto;
  row-gap:14px;
  align-content:start;
}

.case-detail-kicker{
  margin:0;
  align-self:start;
}

.case-detail-hero h1,
.case-detail-hero__title{
  width:100%;
  max-width:1080px;
  margin:0;
  align-self:start;
  color:#fff;
  font-size:clamp(40px,5.2vw,64px);
  line-height:1.12;
  font-weight:1000;
  letter-spacing:0;
  overflow:visible;
  overflow-wrap:normal;
  word-break:keep-all;
  hyphens:none;
}

/* 長い事例名だけ文字サイズを変更。背景や位置は変えない */
.case-detail-hero__title--long{
  font-size:clamp(36px,4.3vw,56px);
}

.case-detail-hero__title--very-long{
  font-size:clamp(30px,3.7vw,48px);
  line-height:1.14;
}

.case-detail-hero__lead{
  margin:0;
  align-self:start;
  color:rgba(255,255,255,.88);
  font-size:clamp(19px,2.1vw,28px);
  line-height:1.5;
  font-weight:900;
}

@media(max-width:820px){
  .case-detail-hero{
    height:390px;
    min-height:390px;
  }

  .case-detail-hero__inner{
    width:min(100% - 28px,1120px);
    padding:54px 0 32px;
    grid-template-rows:18px 145px auto;
    row-gap:12px;
  }

  .case-detail-hero h1,
  .case-detail-hero__title{
    font-size:clamp(34px,7vw,58px);
  }

  .case-detail-hero__title--long{
    font-size:clamp(28px,5.5vw,42px);
  }

  .case-detail-hero__title--very-long{
    font-size:clamp(24px,4.8vw,36px);
  }
}

@media(max-width:520px){
  .case-detail-hero{
    height:350px;
    min-height:350px;
  }

  .case-detail-hero__inner{
    width:calc(100% - 24px);
    padding:42px 0 26px;
    grid-template-rows:18px 125px auto;
    row-gap:10px;
  }

  .case-detail-hero::before{
    top:38px;
    font-size:min(24vw,130px);
  }

  .case-detail-hero h1,
  .case-detail-hero__title{
    font-size:clamp(30px,9vw,44px);
    line-height:1.12;
  }

  .case-detail-hero__title--long{
    font-size:clamp(23px,6.7vw,31px);
    line-height:1.15;
  }

  .case-detail-hero__title--very-long{
    font-size:clamp(20px,5.8vw,27px);
    line-height:1.18;
  }

  .case-detail-hero__lead{
    font-size:clamp(16px,4.7vw,20px);
    line-height:1.45;
  }
}
/* 導入事例 詳細：概要を1列表示に戻す */
.case-detail-summary{
  display:grid;
  grid-template-columns:1fr;
}

.case-detail-summary > div{
  padding:22px 26px;
  border-right:0;
  border-bottom:1px solid var(--line);
}

.case-detail-summary > div:last-child{
  border-bottom:0;
}

.case-detail-summary dt{
  display:block;
  margin:0 0 7px;
  color:var(--muted);
  font-size:12px;
  font-weight:900;
}

.case-detail-summary dd{
  display:block;
  margin:0;
  color:var(--navy);
  font-size:16px;
  font-weight:1000;
}
/* =========================================================
   全事例共通：SPECIAL EVENT / VOICE / MESSAGE の枠高さを整える
   ========================================================= */

@media (min-width:821px){
  .case-detail-feature,
  .case-detail-voice{
    min-height:440px;
    display:grid;
    align-items:stretch;
  }

  .case-detail-feature__image,
  .case-detail-voice__photo{
    height:100%;
    min-height:440px;
  }

  .case-detail-feature__image img,
  .case-detail-voice__photo img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
  }

  .case-detail-feature__copy,
  .case-detail-voice__copy{
    min-height:440px;
    box-sizing:border-box;
    display:flex;
    flex-direction:column;
    justify-content:center;
  }
}
@media (min-width:821px){
  .case-detail-voice,
  .case-detail-voice{
    min-height:440px;
    display:grid;
    align-items:stretch;
  }

  .case-detail-voice__image,
  .case-detail-voice__photo{
    height:100%;
    min-height:440px;
  }

  .case-detail-voice__image img,
  .case-detail-voice__photo img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
  }

  .case-detail-voice__copy,
  .case-detail-voice__copy{
    min-height:440px;
    box-sizing:border-box;
    display:flex;
    flex-direction:column;
    justify-content:center;
  }
}

/* =========================================================
   全事例共通：ヒーロー内の文字位置を少し上げて下余白を確保
   - PC / タブレット / スマホを共通調整
   ========================================================= */

/* PC */
@media (min-width:821px){
  .case-detail-hero__inner{
    padding:54px 0 78px;
    grid-template-rows:20px 156px auto;
    row-gap:14px;
    align-content:start;
  }
}

/* タブレット */
@media (max-width:820px){
  .case-detail-hero__inner{
    padding:46px 0 48px;
    grid-template-rows:18px 132px auto;
    row-gap:12px;
    align-content:start;
  }
}

/* スマートフォン */
@media (max-width:520px){
  .case-detail-hero__inner{
    padding:36px 0 46px;
    grid-template-rows:18px 108px auto;
    row-gap:10px;
    align-content:start;
  }

  .case-detail-hero__lead{
    line-height:1.5;
  }
}

/* =========================================================
   導入事例一覧：導入形態フィルター表示制御
   ALL / フルオーダープラン / カスタムオーダープラン / ブランドコラボ（MJWW）
   ========================================================= */

.case-index-card.is-hidden{
  display:none !important;
}

.case-filter button{
  cursor:pointer;
}

.case-filter button:focus-visible{
  outline:3px solid rgba(243,152,0,.45);
  outline-offset:3px;
}
