/* =====================================
   Business Cards - FULL CSS (Replace All)
   - Spacing: wider
   - Type: larger & readable
   - Hover: lift + zoom + sweep + CTA color change
===================================== */

/* section spacing */
.biz-cards{
  padding: 110px 0;
}

/* grid */
.biz-cards-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
  perspective: 1000px; /* keep for possible tilt */
}

/* card base */
.biz-card{
  position: relative;
  display: block;
  text-decoration: none;
  color: #111;
  overflow: hidden;
  /* border-radius: 18px; */

  background: rgba(255,255,255,.92);
  box-shadow: 0 18px 44px rgba(0,0,0,.10);

  /* scroll reveal initial (PC) */
  opacity: 0;
  transform: translateY(24px);

  transition:
    transform .35s ease,
    box-shadow .35s ease,
    background .35s ease,
    opacity .7s ease;

  will-change: transform;
  transform-style: preserve-3d;
}

/* scroll reveal active */
.biz-card.is-inview{
  opacity: 1;
  transform: translateY(0);
}

/* media */
.biz-card-media{
  position: relative;
  height: 240px;
  overflow: hidden;
  background: #0b1220;
}

/* image */
.biz-card-media img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1);
  transition: transform .7s ease;
}

/* dark overlay for readability */
.biz-card-media::after{
  content:"";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,.42) 100%);
  opacity: .55;
  transition: opacity .5s ease;
  pointer-events: none;
}

/* diagonal highlight (like screenshot) */
.biz-card-media::before{
  content:"";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    rgba(255,255,255,.18) 0%,
    rgba(255,255,255,.10) 18%,
    rgba(255,255,255,0) 42%
  );
  opacity: .55;
  pointer-events: none;
}

/* body */
.biz-card-body{
  padding: 30px 30px 28px;
  background: rgba(255,255,255,.96);
  position: relative;
  z-index: 2;
}

/* top row */
.biz-card-top{
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 14px;
}

.biz-card-icon{
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;

  background: rgba(0,70,127,.08);
  box-shadow: inset 0 0 0 1px rgba(0,70,127,.12);
  font-size: 18px;

  transition: transform .35s ease;
}

/* titles */
.biz-card-titles{ min-width: 0; }

.biz-card-ja{
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1.5;
}

.biz-card-en{
  margin: 7px 0 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .08em;
  color: rgba(17,17,17,.72);
}

/* text */
.biz-card-text{
  margin: 16px 0 18px;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(17,17,17,.86);
}

/* CTA */
.biz-card-more{
  display: inline-flex;
  align-items: center;
  gap: 10px;

  font-weight: 800;
  letter-spacing: .10em;
  font-size: 14px;

  color: rgba(17,17,17,.88);
  transition: color .35s ease;
}

.biz-card-more::after{
  content:"";
  width: 18px;
  height: 2px;
  background: currentColor;
  transform: translateY(1px);
  transition: width .35s ease, transform .35s ease, background-color .35s ease;
  opacity: .9;
}

/* sweep light */
.biz-card::before{
  content:"";
  position: absolute;
  inset: -40%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255,255,255,.10) 35%,
    rgba(255,255,255,.22) 50%,
    rgba(255,255,255,.10) 65%,
    transparent 100%
  );
  transform: translateX(-60%) rotate(8deg);
  transition: transform .9s ease;
  pointer-events: none;
  z-index: 1;
}

/* hover effects */
.biz-card:hover{
  box-shadow: 0 30px 70px rgba(0,0,0,.16);
  background: rgba(255,255,255,.98);
  transform: translateY(-10px);
}

.biz-card:hover .biz-card-media img{
  transform: scale(1.07);
}

.biz-card:hover .biz-card-media::after{
  opacity: .35;
}

.biz-card:hover::before{
  transform: translateX(60%) rotate(8deg);
}

.biz-card:hover .biz-card-icon{
  transform: rotate(-6deg) scale(1.06);
}

/* CTA hover color change (card hover triggers) */
.biz-card:hover .biz-card-more{
  color: #00467F; /* PANTONE 2945 C 近似 */
}

.biz-card:hover .biz-card-more::after{
  width: 30px;
  transform: translate(4px, 1px);
  background-color: #00467F;
}

/* focus ring */
.biz-card:focus-visible{
  outline: 3px solid rgba(0, 70, 127, .30);
  outline-offset: 5px;
  border-radius: 18px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .biz-card, .biz-card *{
    transition: none !important;
  }
  .biz-card{
    opacity: 1 !important;
    transform: none !important;
  }
  .biz-card::before{
    display: none !important;
  }
}

/* responsive */
@media screen and (max-width: 1025px){
  .biz-cards{
    padding: 78px 0;
  }

  .biz-cards-grid{
    grid-template-columns: 1fr;
    gap: 22px;
    perspective: none;
  }

  .biz-card{
    opacity: 1;      /* mobile always visible */
    transform: none; /* mobile no reveal offset */
  }

  .biz-card-media{
    height: 220px;
  }

  .biz-card-body{
    padding: 26px 22px 24px;
  }

  .biz-card-ja{
    font-size: 18px;
  }

  .biz-card-en{
    font-size: 14px;
  }

  .biz-card-text{
    font-size: 14px;
    line-height: 1.5;
  }

  .biz-card-top {
    gap: 0px;
}
}

@media screen and (max-width: 600px){
  .biz-cards{
    padding: 68px 0;
  }

  .biz-card-media{
    height: 210px;
  }

  .biz-card-body{
    padding: 24px 20px 22px;
  }

  .biz-card-icon{
    width: 44px;
    height: 44px;
  }
}


/* ===== Section Heading ===== */
.biz-cards-head{
  margin: 0 auto 34px;
  text-align: center;
  width: min(980px, 92vw);
}

.biz-cards-eyebrow{
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .22em;
  color: #00467F; /* PANTONE 2945 C 近似 */
}

.biz-cards-title{
  margin: 10px 0 12px;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: .04em;
  color: #111;
}

.biz-cards-accent{
  display: inline-block;
  width: 72px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg,
    rgba(0,70,127,0),
    rgba(0,70,127,.9),
    rgba(0,70,127,0)
  );
}

/* responsive heading */
@media screen and (max-width: 1025px){
  .biz-cards-head{ margin-bottom: 26px; }
  .biz-cards-title{ font-size: 28px; }
}

@media screen and (max-width: 600px){
  .biz-cards-title{ font-size: 26px; }
  .biz-cards-eyebrow{ font-size: 13px; }
}

/* =========================
   Section Head (Common)
========================= */
.section-head{
  margin: 0 auto 60px;
  /* text-align: center; */
  width: 100%;
  max-width: 980px;
  box-sizing: border-box;
  font-weight: bold;
  line-height: 1.5;
}


.section-eyebrow{
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .22em;
  color: #00467F; /* コーポレートブルー */
}

.section-title{
  margin: 10px 0 12px;
  font-size: 32px;
  font-weight: 900;
  letter-spacing: .04em;
  color: #111;
}

.section-accent{
  display: inline-block;
  width: 64px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(0,70,127,0),
    rgba(0,70,127,.9),
    rgba(0,70,127,0)
  );
}

/* responsive */
@media (max-width:1025px){
  .section-head{ margin-bottom: 24px; }
  .section-title{ font-size: 22px; }
  .section-lead{ line-height: 1.5; }
}

@media (max-width:600px){
  .section-title{ font-size: 18px; }
  .section-eyebrow{ font-size: 13px; }

  
}


/* =========================
  Heading underline: 統一（下位ページの黄ラインへ）
========================= */

/* 共通：BUSINESSなどの見出し下ライン */
.section-accent{
  display:block;
  height: 4px;
  width: clamp(220px, 56vw, 760px); /* ← 下位ページっぽい“長め” */
  margin: 12px 0 30px;                  /* タイトルとの距離 */
  border-radius: 999px;
  background: #ffe600;              /* ← 下位ページの黄色に合わせる */
  box-shadow: none;
  filter: none;
  opacity: 1;
}

/* 既存のグラデ/短い線を使ってる場合の打ち消し（念のため） */
.section-accent::before,
.section-accent::after{
  content: none !important;
}

/* sec-head（ACCESS/CONTACTなど）の下線も同じにしたい場合 */
/* .sec-head::after{
  content:"";
  display:block;
  height: 4px;
  width: clamp(220px, 56vw, 760px);
  margin: 16px 0 0;
  border-radius: 999px;
  background: #ffe600;
} */

/* NEWSの sec-line も統一（グラデ→黄実線）したい場合 */
.sec-line{
  display:block;
  height: 4px;
  width: clamp(220px, 56vw, 760px);
  margin: 16px auto 0;
  border-radius: 999px;
  background: #ffe600;
  filter: none;
  opacity: 1;
}



