@charset "UTF-8";

/* =========================================================
   RECORD PAGE
========================================================= */
.record-page h1 em {
  color: #7fe89f;
  font-style: normal;
}

/* Lower-page box rule */
.record-page .against-card { border-radius: 0; box-shadow: none; }

.record-overview {
  padding: clamp(90px, 8vw, 140px) 0 clamp(90px, 7vw, 120px);
  background: #fff;
}

.record-heading {
  margin-bottom: 48px;
}

.record-label {
  margin: 0 0 14px;
  color: #12ad52;
  font: 800 12px/1 Arial, sans-serif;
  letter-spacing: .14em;
}

.record-heading h2,
.record-map-heading h2 {
  margin: 0;
  color: #161616;
  font-size: clamp(32px, 3vw, 48px);
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: -.025em;
}

/* -------------------------
   実績サマリー
------------------------- */
.record-summary {
  display: grid;
  grid-template-columns: 1fr 1fr 1.15fr;
  gap: 18px;
}

.record-summary article {
  position: relative;
  min-height: 180px;
  padding: 32px 30px;
  display: grid;
  place-content: center;
  text-align: center;
  overflow: hidden;
  border: 0;
  border-radius: 20px;
  background: #f7faf8;
}

.record-summary article::before {
  content: "";
  position: absolute;
  top: -52px;
  right: -46px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(18, 173, 82, .07);
}

.record-summary article:nth-child(2)::before {
  background: rgba(194, 218, 0, .10);
}

.record-summary article:nth-child(3)::before {
  background: rgba(41, 148, 100, .055);
}

.record-summary p {
  position: relative;
  z-index: 1;
  margin: 0;
}

.record-summary__value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px !important;
}

.record-summary__value strong {
  color: #151515;
  font: 500 clamp(52px, 4.8vw, 72px)/1 Arial, sans-serif;
  letter-spacing: -.05em;
}

.record-summary__value span {
  color: #12ad52;
  font-size: 20px;
  font-weight: 600;
}

.record-summary article > p:last-child {
  color: #556159;
  font-size: 13px;
  line-height: 1.7;
}

.record-summary__areas > p:first-child {
  margin-bottom: 13px;
  color: #1d2420;
  font-size: clamp(18px, 1.45vw, 23px);
  line-height: 1.55;
}

/* -------------------------
   全国マップ
------------------------- */
.record-map-section {
  position: relative;
  overflow: hidden;
  padding: clamp(95px, 8vw, 140px) 0 90px;
  background:
    radial-gradient(circle at 50% 54%, rgba(18,173,82,.075), transparent 30%),
    linear-gradient(180deg, #f7faf8 0%, #f1f6f3 100%);
}

.record-map-section::before {
  content: "6 AREAS";
  position: absolute;
  right: -1vw;
  top: 55px;
  color: rgba(16, 105, 55, .035);
  font: italic 900 clamp(90px, 12vw, 210px)/1 Arial, sans-serif;
  white-space: nowrap;
  pointer-events: none;
}

.record-map-heading {
  position: relative;
  z-index: 2;
  margin-bottom: 36px;
}

.record-map-layout {
  position: relative;
  z-index: 1;
  min-height: 840px;
  max-width: 1220px;
  margin-inline: auto;
}

/* 地図をしっかり主役に */
.record-japan {
  position: absolute;
  left: 50%;
  top: 49%;
  width: min(42%, 520px);
  transform: translate(-50%, -50%);
}

.record-japan::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 52%;
  width: 94%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255,255,255,.72);
  transform: translate(-50%, -50%);
  filter: blur(.2px);
}

.record-japan img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 18px 24px rgba(26, 83, 49, .10));
}

/* 地域カード：枠線で囲わず、面と影で整理 */
.record-area {
  --area-color: #12ad52;
  position: absolute;
  width: clamp(235px, 21vw, 285px);
  min-height: 130px;
  padding: 23px 24px 21px 28px;
  border: 0;
  border-radius: 16px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 14px 40px rgba(23, 79, 45, .08);
  transition: transform .25s ease, box-shadow .25s ease;
}

.record-area::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 4px;
  border-radius: 0 999px 999px 0;
  background: var(--area-color);
}

.record-area::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 21px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--area-color);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--area-color) 12%, transparent);
}

.record-area:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(23, 79, 45, .13);
}

.record-area h3 {
  margin: 0 0 16px;
  color: var(--area-color);
  font-size: 17px;
  line-height: 1.45;
  font-weight: 700;
}

.record-area dl,
.record-area dt,
.record-area dd {
  margin: 0;
}

.record-area dl {
  display: grid;
  gap: 7px;
}

.record-area dl > div {
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: baseline;
  gap: 10px;
}

.record-area dt {
  color: #69736d;
  font-size: 13px;
  font-weight: 500;
}

.record-area dd {
  color: #1c231f;
  font-size: 14px;
  font-weight: 700;
}

.record-area--tohoku {
  --area-color: #3288dc;
  top: 50px;
  right: 60px;
}

.record-area--tokyo {
  --area-color: #09a35a;
  top: 330px;
  right: 0;
}

.record-area--kansai {
  --area-color: #d9be00;
  width: 260px;
  left: 50%;
  margin-left: -130px;
  bottom: 25px;
}

.record-area--chubu {
  --area-color: #78bf2f;
  top: 60px;
  left: 220px;
}

.record-area--chugoku {
  --area-color: #ee9800;
  top: 255px;
  left: 0;
}

.record-area--kyushu {
  --area-color: #e77979;
  left: 45px;
  bottom: 40px;
}

.record-note {
  position: relative;
  z-index: 2;
  max-width: 1220px;
  margin: 20px auto 0;
  color: #7a827d;
  font-size: 12px;
}

/* color-mix 非対応環境でも十分見えるように */
@supports not (background: color-mix(in srgb, red 10%, transparent)) {
  .record-area::after {
    box-shadow: 0 0 0 6px rgba(18,173,82,.08);
  }
}

@media (max-width: 1199.98px) {
  .record-map-layout {
    min-height: 720px;
  }

  .record-area {
    width: 235px;
    padding-inline: 23px;
  }

  .record-japan {
    width: min(43%, 500px);
  }
}

@media (max-width: 991.98px) {
  .record-summary {
    grid-template-columns: 1fr;
  }

  .record-summary article {
    min-height: 145px;
  }

  .record-map-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    min-height: 0;
  }

  .record-japan {
    position: relative;
    left: auto;
    top: auto;
    grid-column: 1 / -1;
    width: min(100%, 540px);
    margin: 0 auto 28px;
    transform: none;
  }

  .record-area {
    position: relative;
    inset: auto;
    width: auto;
    min-height: 128px;
  }
}

@media (max-width: 767.98px) {
  .record-heading h2,
  .record-map-heading h2 {
    font-size: clamp(25px, 7.2vw, 30px);
    line-height: 1.5;
    letter-spacing: -.035em;
    text-wrap: balance;
    word-break: normal;
    overflow-wrap: normal;
    line-break: strict;
  }

  .record-heading h2 br,
  .record-map-heading h2 br {
    display: none;
  }

  .record-overview,
  .record-map-section {
    padding: 72px 0;
  }

  .record-heading,
  .record-map-heading {
    margin-bottom: 34px;
  }

  .record-summary article {
    min-height: 132px;
    padding: 26px 20px;
    border-radius: 16px;
  }

  .record-map-section::before {
    top: 35px;
    font-size: 80px;
  }

  .record-map-layout {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .record-japan {
    grid-column: 1;
    width: min(100%, 400px);
    margin-bottom: 20px;
  }

  .record-area {
    min-height: 0;
    padding: 21px 20px 20px 24px;
    border-radius: 14px;
  }

  .record-area h3 {
    margin-bottom: 13px;
    font-size: 16px;
  }

  .record-area dl > div {
    grid-template-columns: 58px 1fr;
  }

  .record-note {
    margin-top: 22px;
  }
}

@media (max-width: 767.98px) {
  .record-map-layout { width: 100%; overflow: visible; }
  .record-area,
  .record-area--tohoku,
  .record-area--tokyo,
  .record-area--chubu,
  .record-area--chugoku,
  .record-area--kansai,
  .record-area--kyushu {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    max-width: 100%;
    margin: 0 !important;
    transform: none !important;
  }
}

/* Unified information-box treatment */
.record-page .against-card,
.record-summary article { border-radius: 0 !important; box-shadow: none !important; }

/* -------------------------
   PC：地域BOXから地図上の該当エリアへライン
------------------------- */
.record-connectors {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.record-connector {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .48;
  vector-effect: non-scaling-stroke;
}

.record-connector-dot {
  stroke: #fff;
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
}

.record-connector--tohoku { color: #3288dc; }
.record-connector-dot--tohoku { fill: #3288dc; }

.record-connector--tokyo { color: #09a35a; }
.record-connector-dot--tokyo { fill: #09a35a; }

.record-connector--chubu { color: #78bf2f; }
.record-connector-dot--chubu { fill: #78bf2f; }

.record-connector--chugoku { color: #ee9800; }
.record-connector-dot--chugoku { fill: #ee9800; }

.record-connector--kansai { color: #d9be00; }
.record-connector-dot--kansai { fill: #d9be00; }

.record-connector--kyushu { color: #e77979; }
.record-connector-dot--kyushu { fill: #e77979; }

/* ラインがカードの下を通り、地図の上では見えるように */
.record-area {
  z-index: 4;
}

.record-japan {
  z-index: 1;
}

.record-japan img {
  z-index: 1;
}

@media (max-width: 991.98px) {
  .record-connectors {
    display: none;
  }
}

/* コネクターライン塗りつぶし防止 */
.record-connectors .record-connector {
  fill: none !important;
  stroke: currentColor;
  stroke-width: 1.35;
  opacity: .62;
}

/* 実績マップ：BOX位置・コネクター最終調整 */
.record-connectors .record-connector {
  fill: none !important;
  stroke-width: 1.15;
  opacity: .52;
}

.record-connectors .record-connector-dot {
  r: 4;
  stroke-width: 2.5;
}

@media (min-width: 992px) {
  .record-area {
    min-height: 126px;
  }
}

/* 実績サマリー：ブランドモチーフ */
.record-summary article::before {
  top: 12px;
  right: 12px;
  width: 112px;
  height: 112px;
  border-radius: 0;
  background-color: transparent;
  background-repeat: no-repeat;
  opacity: .13;
  pointer-events: none;
  transition: transform .35s ease, opacity .35s ease;
}

.record-summary article:first-child::before {
  background-image: url("../images/common/logo.png");
  background-position: left center;
  background-size: 310px auto;
}

.record-summary article:nth-child(2)::before {
  top: -24px;
  right: -16px;
  width: 180px;
  height: 150px;
  background-image: url("../images/top/fv/frame-02-top.svg");
  background-position: center;
  background-size: contain;
  opacity: .16;
  transform: rotate(-8deg);
}

.record-summary article:nth-child(3)::before {
  top: -28px;
  right: -20px;
  width: 170px;
  height: 170px;
  background-image: url("../images/top/fv/frame-top.svg");
  background-position: center;
  background-size: contain;
  opacity: .12;
  transform: rotate(7deg);
}

.record-summary article:hover::before {
  opacity: .22;
  transform: translate(-4px, 4px) scale(1.04);
}

.record-summary article:nth-child(2):hover::before {
  transform: translate(-4px, 4px) rotate(-8deg) scale(1.04);
}

.record-summary article:nth-child(3):hover::before {
  transform: translate(-4px, 4px) rotate(7deg) scale(1.04);
}

@media (max-width: 767.98px) {
  .record-summary article::before {
    width: 92px;
    height: 92px;
    opacity: .11;
  }

  .record-summary article:first-child::before {
    background-size: 255px auto;
  }

  .record-summary article:nth-child(2)::before,
  .record-summary article:nth-child(3)::before {
    width: 135px;
    height: 125px;
  }
}

/* サマリー右上：ロゴマークを大きく見切れさせる */
.record-summary article::before,
.record-summary article:first-child::before,
.record-summary article:nth-child(2)::before,
.record-summary article:nth-child(3)::before {
  top: -35px;
  right: -38px;
  width: 190px;
  height: 168px;
  background-image: url("../images/common/decor/logo-symbol.png");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  opacity: .13;
  transform: none;
}

.record-summary article:hover::before,
.record-summary article:nth-child(2):hover::before,
.record-summary article:nth-child(3):hover::before {
  opacity: .2;
  transform: rotate(5deg) scale(1.035);
}

@media (max-width: 767.98px) {
  .record-summary article::before,
  .record-summary article:first-child::before,
  .record-summary article:nth-child(2)::before,
  .record-summary article:nth-child(3)::before {
    top: -27px;
    right: -30px;
    width: 150px;
    height: 132px;
  }
}

/* サマリー右上：単体で完結する共通ブランドマーク */
.record-summary article::before,
.record-summary article:first-child::before,
.record-summary article:nth-child(2)::before,
.record-summary article:nth-child(3)::before {
  top: 16px;
  right: 18px;
  width: 92px;
  height: 92px;
  border-radius: 0;
  background-color: transparent;
  background-image: url("../images/common/decor/record-summary-mark.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: .14;
  transform: none;
}

.record-summary article:hover::before,
.record-summary article:nth-child(2):hover::before,
.record-summary article:nth-child(3):hover::before {
  opacity: .22;
  transform: rotate(10deg) scale(1.06);
}

@media (max-width: 767.98px) {
  .record-summary article::before,
  .record-summary article:first-child::before,
  .record-summary article:nth-child(2)::before,
  .record-summary article:nth-child(3)::before {
    top: 13px;
    right: 14px;
    width: 76px;
    height: 76px;
  }
}

/* 最終指定：切り出したロゴマークを大きく見切れさせる */
.record-summary article::before,
.record-summary article:first-child::before,
.record-summary article:nth-child(2)::before,
.record-summary article:nth-child(3)::before {
  top: -35px;
  right: -38px;
  width: 190px;
  height: 168px;
  background-image: url("../images/common/decor/logo-symbol.png");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  opacity: .13;
  transform: none;
}

.record-summary article:hover::before,
.record-summary article:nth-child(2):hover::before,
.record-summary article:nth-child(3):hover::before {
  opacity: .2;
  transform: rotate(5deg) scale(1.035);
}

@media (max-width: 767.98px) {
  .record-summary article::before,
  .record-summary article:first-child::before,
  .record-summary article:nth-child(2)::before,
  .record-summary article:nth-child(3)::before {
    top: -27px;
    right: -30px;
    width: 150px;
    height: 132px;
  }
}
