/* reset.css */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body { min-width: 320px; }

img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

ul {
  list-style: none;
  padding: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* base.css */
:root {
  --color-navy: #102752;
  --color-red: #d60f1d;
  --color-text: #111;
  --color-sub: #4b5563;
  --color-line: #d8d8d8;
  --color-bg: #ffffff;
  --color-bg-alt: #f6f7fa;
  --shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
  --container: 1200px;
  --radius: 20px;
  --transition: 0.25s ease;
}

body {
  color: var(--color-text);
  background: #ffffff;
  font-family: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  z-index: 1000;
  background: #fff;
  padding: 8px 12px;
  border: 2px solid #000;
}

/* layout.css */
.l-container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.l-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.l-header__top {
  background: var(--color-navy);
}

.l-header__top-inner {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.l-header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.l-global-nav {
  position: relative;
  background: #fff;
  border-bottom: 1px solid var(--color-line);
}

.l-global-nav .l-container {
  position: relative;
}

.l-global-nav__list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  min-height: 60px;
}

.l-page-hero {
  padding: 88px 0 64px;
  background: #fff;
}

.l-lower-hero {
  padding: 64px 0 32px;
  background: #fff;
}

.l-section {
  padding: 0 0 88px;
  background: #fff;
}

.l-section--alt {
  background: var(--color-bg-alt);
  padding-top: 72px;
}

.l-footer {
  background: #fff;
}

.l-footer__main {
  padding: 52px 0 16px;
  border-top: 1px solid #e5e5e5;
  background: #fff;
}

.l-footer__inner {
  text-align: center;
}

.l-footer__bottom {
  background: var(--color-red);
  color: #fff;
  text-align: center;
  padding: 17px 16px;
  font-size: 11px;
  line-height: 1.4;
}

/* component.css */
.c-logo img {
  height: 38px;
  width: auto;
}

.c-footer-logo {
  display: inline-flex;
  justify-content: center;
}

.c-footer-logo img {
  height: 44px;
  width: auto;
  margin-bottom: 14px;
  transition: transform .25s ease, opacity .25s ease;
}

.c-footer-logo:hover img {
  transform: translateY(-3px);
  opacity: .85;
}

.c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  transition: all var(--transition);
  border: 1px solid transparent;
}

.c-btn--contact {
  min-width: 156px;
  min-height: 64px;
  background: var(--color-red);
  color: #fff;
  border-radius: 0;
}

.c-btn--primary {
  background: var(--color-red);
  color: #fff;
}

.c-btn--outline {
  border-color: var(--color-navy);
  color: var(--color-navy);
  background: #fff;
}

.c-btn:hover {
  opacity: .9;
  transform: translateY(-2px);
}

.c-menu-button {
  display: none;
  width: 52px;
  height: 52px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.c-menu-button span {
  display: block;
  width: 28px;
  height: 2px;
  margin: 6px auto;
  background: #fff;
  transition: transform var(--transition), opacity var(--transition);
}

.c-menu-button[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.c-menu-button[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.c-menu-button[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.l-global-nav__list a {
  min-height: 60px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  transition: background-color var(--transition), color var(--transition);
}

.l-global-nav__list a:hover {
  background: #f7f7f7;
}

.l-global-nav__list a.is-current,
.l-global-nav__list a.is-current:hover {
  background: #ffe5e5;
  color: var(--color-red);
  font-weight: 700;
}

.c-hero-card {
  background: linear-gradient(135deg, #f8fafc, #eef2f7);
  border: 1px solid #e5e8ee;
  border-radius: 24px;
  padding: 48px;
}

.c-eyebrow {
  color: var(--color-red);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
}

.c-page-title {
  font-size: clamp(30px, 3.3vw, 46px);
  line-height: 1.3;
  margin-bottom: 20px;
}

.c-page-title--lower {
  margin-bottom: 8px;
}

.c-lead {
  color: var(--color-sub);
  max-width: 64ch;
}

.c-button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.c-section-heading {
  margin-bottom: 28px;
}

.c-section-heading__sub {
  color: var(--color-red);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
}

.c-section-heading__title {
  font-size: 30px;
  line-height: 1.35;
}

.c-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.c-card {
  background: #fff;
  border: 1px solid #e3e3e3;
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.c-card__title {
  font-size: 20px;
  margin-bottom: 12px;
}

.c-card__text {
  color: var(--color-sub);
}

/* NEWS */
.c-news-list {
  display: grid;
  gap: 12px;
}

.c-news-item {
  display: grid;
  grid-template-columns: 120px 84px 1fr;
  gap: 20px;
  align-items: center;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 14px;
  padding: 18px 20px;
  transition: transform .2s ease, box-shadow .2s ease;
}

.c-news-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
}

.c-news-item__date {
  font-weight: 700;
  color: var(--color-red);
}

.c-news-item__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  min-width: 84px;
  height: 32px;
  border: 1.5px solid currentColor;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  writing-mode: horizontal-tb;
  text-orientation: mixed;
}

.c-news-item__label--news {
  color: #16a34a;
}

.c-news-item__label--update {
  color: #2563eb;
}

.c-news-item__text {
  min-width: 0;
}

.c-feature-list {
  display: grid;
  gap: 20px;
}

.c-feature {
  background: #fff;
  border: 1px solid #e4e4e4;
  border-radius: 18px;
  padding: 28px;
}

.c-feature__title {
  font-size: 24px;
  margin-bottom: 10px;
}

.c-feature__text {
  color: var(--color-sub);
}

.c-table {
  width: 100%;
  background: #fff;
  border-top: 1px solid var(--color-line);
}

.c-table th,
.c-table td {
  padding: 18px 16px;
  border-bottom: 1px solid var(--color-line);
  text-align: left;
  vertical-align: top;
}

.c-table th {
  width: 220px;
  background: #fafafa;
}

.c-form {
  display: grid;
  gap: 18px;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 20px;
  padding: 28px;
}

.c-form__row {
  display: grid;
  gap: 8px;
}

.c-form__label {
  font-weight: 700;
}

.c-form__input,
.c-form__textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #cfd4dc;
  border-radius: 12px;
  background: #fff;
}

.c-form__actions {
  padding-top: 8px;
}

.c-footer-company {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
  margin: 16px 0 12px;
}

.c-footer-address {
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.9;
  color: #333;
  margin-bottom: 36px;
}

.c-footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  margin-top: 0;
  padding: 18px 0 8px;
  border-top: 1px solid #d9d9d9;
  font-size: 15px;
  letter-spacing: .01em;
}

.c-footer-nav li {
  position: relative;
  margin: 0;
  border: 0;
}

.c-footer-nav li:not(:last-child)::after {
  content: "｜";
  position: absolute;
  right: -13px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  font-size: 12px;
}

.c-footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: auto;
  padding: 2px 2px;
  margin: 0;
  background: transparent;
  border-radius: 0;
  font-weight: 500;
  transition: color .2s ease;
}

.c-footer-nav a::before {
  display: none;
}

.c-footer-nav a:hover {
  color: var(--color-red);
  background: transparent;
  text-decoration: underline;
  transform: none;
}

/* SP menu contact button */
.c-sp-contact {
  display: none;
}

.c-btn--sp-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  min-height: 56px;
  width: auto;
}

/* PCナビ 赤ライン */
.nav-underline {
  position: absolute;
  bottom: 0;
  height: 3px;
  background: var(--color-red);
  width: 0;
  left: 0;
  transition: left .35s ease, width .35s ease;
}

/* TOPボタン */
.page-top-btn {
  position: fixed;
  right: 30px;
  bottom: 30px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .20);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition:
    opacity .3s ease,
    transform .3s ease,
    box-shadow .2s ease,
    visibility .3s ease;
  z-index: 70;
}

.page-top-btn::before {
  content: "▲";
  display: block;
  font-size: 12px;
  margin-bottom: 2px;
}

.page-top-btn::after {
  content: "TOP";
  display: block;
  font-size: 10px;
  letter-spacing: .04em;
}

.page-top-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.page-top-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .30);
}

/* responsive */
@media (max-width: 900px) {
  .c-card-grid {
    grid-template-columns: 1fr;
  }

  .c-footer-company {
    font-size: 22px;
  }
}

@media (max-width: 768px) {
  .l-container {
    width: min(100% - 24px, var(--container));
  }

  .l-header__top-inner {
    min-height: 78px;
  }

  .l-global-nav {
    display: block;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition:
      max-height 0.45s ease,
      opacity 0.3s ease,
      transform 0.3s ease,
      visibility 0.3s ease;
    border-bottom: 0;
  }

  .l-global-nav.is-open {
    max-height: 520px;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    border-bottom: 1px solid var(--color-line);
  }

  .l-global-nav__list {
    display: block;
  }

  .l-page-hero {
    padding: 40px 0 44px;
  }

  .l-lower-hero {
    padding: 36px 0 24px;
  }

  .l-section {
    padding-bottom: 56px;
  }

  .l-section--alt {
    padding-top: 40px;
  }

  .l-footer__main {
    padding: 42px 0 18px;
  }

  .c-logo img {
    height: 32px;
  }

  .c-btn--contact {
    display: none;
  }

  .c-menu-button {
    display: inline-block;
  }

  .l-global-nav__list li {
    border-bottom: 1px solid #e5e5e5;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.35s ease, transform 0.35s ease;
  }

  .l-global-nav__list a {
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 16px;
    padding-right: 34px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0;
    position: relative;
    transition:
      background-color var(--transition),
      color var(--transition),
      transform .2s ease;
  }

  .l-global-nav__list a::after {
    content: "›";
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    opacity: .7;
    transition: transform .2s ease, opacity .2s ease;
  }

  .l-global-nav__list a:hover {
    transform: translateX(8px);
  }

  .l-global-nav__list a:hover::after {
    transform: translateY(-50%) translateX(4px);
    opacity: 1;
  }

  .c-sp-contact {
    display: flex;
    justify-content: center;
    padding: 16px 0 20px;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.35s ease, transform 0.35s ease;
  }

  .l-global-nav.is-open .l-global-nav__list li,
  .l-global-nav.is-open .c-sp-contact {
    opacity: 1;
    transform: translateY(0);
  }

  .l-global-nav.is-open .l-global-nav__list li:nth-child(1) { transition-delay: 0.04s; }
  .l-global-nav.is-open .l-global-nav__list li:nth-child(2) { transition-delay: 0.08s; }
  .l-global-nav.is-open .l-global-nav__list li:nth-child(3) { transition-delay: 0.12s; }
  .l-global-nav.is-open .l-global-nav__list li:nth-child(4) { transition-delay: 0.16s; }
  .l-global-nav.is-open .l-global-nav__list li:nth-child(5) { transition-delay: 0.20s; }
  .l-global-nav.is-open .c-sp-contact { transition-delay: 0.24s; }

  .c-hero-card {
    padding: 28px 20px;
    border-radius: 16px;
  }

  .c-page-title {
    font-size: 28px;
  }

  .c-section-heading__title {
    font-size: 24px;
  }

  .c-news-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .c-news-item__label {
    width: 84px;
    height: 30px;
  }

  .c-table th,
  .c-table td {
    display: block;
    width: 100%;
  }

  .c-table th {
    border-bottom: none;
    padding-bottom: 6px;
  }

  .c-footer-logo img {
    height: 38px;
    margin-bottom: 12px;
  }

  .c-footer-company {
    font-size: 18px;
  }

  .c-footer-address {
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 36px;　/* ← ここがSP電話番号下の余白 */
  }

  .c-footer-nav {
    display: block;
    margin-top: 0;
    padding: 0;
    border-top: 1px solid #ddd;
    font-size: 15px;
    text-align: left;
  }

  .c-footer-nav li {
    border-bottom: 1px solid #ddd;
  }

  .c-footer-nav li:not(:last-child)::after {
    display: none;
  }

  .c-footer-nav a {
    display: block;
    padding: 12px 12px;
    margin: 0;
    background: #fff;
    border-radius: 0;
    font-weight: 500;
  }

  .c-footer-nav a:hover {
    background: #ececec;
    color: inherit;
    text-decoration: none;
  }

  .nav-underline {
    display: none;
  }

  .page-top-btn {
    right: 18px;
    bottom: 18px;
    width: 52px;
    height: 52px;
  }

  .l-footer__bottom {
    padding: 16px 12px;
    font-size: 10.5px;
  }
}


/* ===== Hero Slider Enhanced ===== */
.p-top-hero{
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
  background: #d9d9d9;
}

.hero-slider__track{
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slider__slide{
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(100%);
  transition: transform 1.4s ease, opacity 1.4s ease;
  z-index: 1;
  overflow: hidden;
}

.hero-slider__slide.is-active{
  opacity: 1;
  transform: translateX(0);
  z-index: 3;
}

.hero-slider__slide.is-prev{
  opacity: 1;
  transform: translateX(-100%);
  z-index: 2;
}

.hero-slider__image{
  position: absolute;
  inset: 0;
  width: 100%;
  height: calc(100% + 56px);
  top: -28px;
  object-fit: cover;
  transform: translate3d(0, 0, 0) scale(1.02);
  transition: transform 1.8s ease;
  will-change: transform;
}

.hero-slider__slide.is-active .hero-slider__image{
  transform: translate3d(0, 0, 0) scale(1.06);
}

.hero-slider__overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.44) 0%, rgba(0,0,0,.28) 34%, rgba(0,0,0,.12) 58%, rgba(0,0,0,0) 78%);
  z-index: 4;
  pointer-events: none;
}

.hero-slider__content{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 84px;
  z-index: 6;
  color: #fff;
  width: 100%;
  max-width: 1200px;
  padding: 0 40px;
  box-sizing: border-box;
  pointer-events: none;
}

.hero-slider__content-inner{
  max-width: 620px;
}

.hero-slider__eyebrow,
.hero-slider__title,
.hero-slider__text{
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 1.1s ease,
    transform 1.1s ease;
  will-change: transform, opacity;
}

.hero-slider__slide.is-active .hero-slider__eyebrow{
  opacity: 1;
  transform: translateY(0);
  transition-delay: .28s;
}

.hero-slider__slide.is-active .hero-slider__title{
  opacity: 1;
  transform: translateY(0);
  transition-delay: .48s;
}

.hero-slider__slide.is-active .hero-slider__text{
  opacity: 1;
  transform: translateY(0);
  transition-delay: .72s;
}

.hero-slider__eyebrow{
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 12px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-shadow: 0 2px 10px rgba(0,0,0,.35);
  backdrop-filter: blur(2px);
}

.hero-slider__title{
  font-size: 48px;
  line-height: 1.28;
  font-weight: 700;
  letter-spacing: .02em;
  margin-bottom: 18px;
  text-shadow: 0 2px 10px rgba(0,0,0,.35);
}

.hero-slider__text{
  font-size: 18px;
  line-height: 1.95;
  font-weight: 500;
  text-shadow: 0 2px 8px rgba(0,0,0,.35);
}

.hero-slider__nav{
  position: absolute;
  inset: 0;
  z-index: 7;
  pointer-events: none;
}

.hero-slider__arrow{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 50%;
  background: rgba(16, 39, 82, .64);
  color: #fff;
  cursor: pointer;
  pointer-events: auto;
  transition: background .25s ease, transform .25s ease, opacity .25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.hero-slider__arrow:hover{
  background: rgba(16, 39, 82, .82);
  transform: translateY(-50%) scale(1.04);
}

.hero-slider__arrow--prev{
  left: 28px;
}

.hero-slider__arrow--next{
  right: 28px;
}

.hero-slider__arrow::before{
  content: "";
  width: 12px;
  height: 12px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  display: block;
}

.hero-slider__arrow--prev::before{
  transform: rotate(-135deg);
  margin-left: 5px;
}

.hero-slider__arrow--next::before{
  transform: rotate(45deg);
  margin-right: 5px;
}

.hero-slider__dots{
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 7;
}

.hero-slider__dot{
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,.5);
  padding: 0;
  cursor: pointer;
  transition: transform .25s ease, background .25s ease;
}

.hero-slider__dot:hover{
  transform: scale(1.08);
}

.hero-slider__dot.is-active{
  background: #fff;
}

@media (max-width: 1200px){
  .hero-slider__content{
    padding: 0 32px;
  }
}

@media (max-width: 1024px){
  .p-top-hero{
    height: 500px;
  }

  .hero-slider__content{
    bottom: 70px;
  }

  .hero-slider__content-inner{
    max-width: 560px;
  }

  .hero-slider__title{
    font-size: 42px;
  }

  .hero-slider__text{
    font-size: 17px;
    line-height: 1.85;
  }

  .hero-slider__arrow{
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 768px){
  .p-top-hero{
    height: 320px;
  }

  .hero-slider__image{
    height: calc(100% + 24px);
    top: -12px;
  }

  .hero-slider__overlay{
    background: linear-gradient(180deg, rgba(0,0,0,.16) 0%, rgba(0,0,0,.34) 52%, rgba(0,0,0,.50) 100%);
  }

  .hero-slider__content{
    left: 50%;
    transform: translateX(-50%);
    right: auto;
    bottom: 44px;
    max-width: 1200px;
    padding: 0 16px;
  }

  .hero-slider__content-inner{
    max-width: 100%;
  }

  .hero-slider__eyebrow{
    font-size: 9px;
    padding: 4px 8px;
    margin-bottom: 6px;
    letter-spacing: .05em;
  }

  .hero-slider__title{
    font-size: clamp(18px, 5.6vw, 24px);
    line-height: 1.32;
    margin-bottom: 6px;
    word-break: keep-all;
    overflow-wrap: break-word;
  }

  .hero-slider__text{
    font-size: clamp(10px, 3.2vw, 12px);
    line-height: 1.55;
    word-break: keep-all;
    overflow-wrap: break-word;
  }

  .hero-slider__arrow{
    width: 38px;
    height: 38px;
    top: auto;
    bottom: 52px;
    transform: none;
    background: rgba(16, 39, 82, .58);
  }

  .hero-slider__arrow:hover{
    transform: none;
  }

  .hero-slider__arrow--prev{
    left: 10px;
  }

  .hero-slider__arrow--next{
    right: 10px;
  }

  .hero-slider__arrow::before{
    width: 9px;
    height: 9px;
  }

  .hero-slider__dots{
    bottom: 12px;
    gap: 8px;
  }

  .hero-slider__dot{
    width: 9px;
    height: 9px;
  }
}
@media (max-width: 768px){
  .p-top-hero{
    height: 320px;
  }

  .hero-slider__overlay{
    background: linear-gradient(180deg, rgba(0,0,0,.20) 0%, rgba(0,0,0,.38) 58%, rgba(0,0,0,.50) 100%);
  }

  .hero-slider__content{
    left: 20px;
    right: 20px;
    bottom: 26px;
    max-width: none;
  }

  .hero-slider__title{
    font-size: clamp(24px, 7vw, 34px);
    margin-bottom: 10px;
  }

  .hero-slider__text{
    font-size: 13px;
    line-height: 1.75;
  }

  .hero-slider__dots{
    bottom: 12px;
    gap: 8px;
  }

  .hero-slider__dot{
    width: 9px;
    height: 9px;
  }
}


/* ===== Mobile hero caption final fix ===== */
@media (max-width: 768px){
  .p-top-hero{
    height: 300px;
  }

  .hero-slider__content{
    left: 0;
    right: 0;
    transform: none;
    bottom: 56px;
    width: auto;
    max-width: none;
    padding: 0 28px;
  }

  .hero-slider__content-inner{
    max-width: 260px;
  }

  .hero-slider__eyebrow{
    font-size: 8px;
    padding: 3px 7px;
    margin-bottom: 6px;
    letter-spacing: .04em;
  }

  .hero-slider__title{
    font-size: 18px;
    line-height: 1.3;
    margin-bottom: 6px;
    letter-spacing: 0;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .hero-slider__text{
    font-size: 10px;
    line-height: 1.55;
    letter-spacing: 0;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .hero-slider__arrow{
    width: 36px;
    height: 36px;
    bottom: 54px;
  }

  .hero-slider__arrow--prev{
    left: 12px;
  }

  .hero-slider__arrow--next{
    right: 12px;
  }

  .hero-slider__dots{
    bottom: 10px;
  }
}

@media (max-width: 420px){
  .p-top-hero{
    height: 280px;
  }

  .hero-slider__content{
    padding: 0 24px;
    bottom: 52px;
  }

  .hero-slider__content-inner{
    max-width: 220px;
  }

  .hero-slider__title{
    font-size: 16px;
  }

  .hero-slider__text{
    font-size: 9px;
    line-height: 1.5;
  }

  .hero-slider__arrow{
    width: 34px;
    height: 34px;
    bottom: 50px;
  }
}


/* hide arrows on smartphone */
@media (max-width:768px){
  .hero-slider__arrow{
    display:none !important;
  }
}


/* ===== Final polish ===== */

/* smoother hero image movement + subtle Ken Burns */
.hero-slider__image{
  backface-visibility: hidden;
  transform-origin: center center;
  image-rendering: auto;
}

.hero-slider__slide.is-active .hero-slider__image{
  animation: heroKenBurns 7s ease-out both;
}

@keyframes heroKenBurns{
  from{
    transform: translate3d(0, 0, 0) scale(1.03);
  }
  to{
    transform: translate3d(0, -10px, 0) scale(1.08);
  }
}

/* slightly cleaner readability */
.hero-slider__title{
  text-wrap: balance;
}

.hero-slider__text{
  max-width: 34em;
}

/* accessibility / motion reduction */
@media (prefers-reduced-motion: reduce){
  html{
    scroll-behavior: auto;
  }

  .hero-slider__slide,
  .hero-slider__image,
  .hero-slider__eyebrow,
  .hero-slider__title,
  .hero-slider__text,
  .hero-slider__arrow,
  .hero-slider__dot{
    animation: none !important;
    transition: none !important;
  }
}

/* smartphone fine tune */
@media (max-width: 768px){
  .p-top-hero{
    height: 300px;
  }

  .hero-slider__overlay{
    background: linear-gradient(180deg, rgba(0,0,0,.12) 0%, rgba(0,0,0,.30) 48%, rgba(0,0,0,.48) 100%);
  }

  .hero-slider__content{
    bottom: 48px;
    padding: 0 22px;
  }

  .hero-slider__content-inner{
    max-width: 235px;
  }

  .hero-slider__title{
    font-size: 17px;
    line-height: 1.32;
    margin-bottom: 6px;
  }

  .hero-slider__text{
    font-size: 9.5px;
    line-height: 1.55;
    max-width: 100%;
  }
}

@media (max-width: 420px){
  .p-top-hero{
    height: 276px;
  }

  .hero-slider__content{
    bottom: 46px;
    padding: 0 20px;
  }

  .hero-slider__content-inner{
    max-width: 210px;
  }

  .hero-slider__title{
    font-size: 15px;
  }

  .hero-slider__text{
    font-size: 9px;
    line-height: 1.48;
  }
}


/* ===== Arrow / caption overlap fix ===== */
@media (max-width:1200px){

  /* create safe space for arrows */
  .hero-slider__content{
    padding-left:90px;
    padding-right:90px;
  }

  /* move arrows slightly outward */
  .hero-slider__arrow--prev{
    left:14px;
  }

  .hero-slider__arrow--next{
    right:14px;
  }

}

/* slightly transparent arrows on narrower screens */
@media (max-width:1000px){
  .hero-slider__arrow{
    opacity:.7;
  }
}

/* ensure caption always above arrows if overlap happens */
.hero-slider__content{
  z-index:10;
}

.hero-slider__arrow{
  z-index:8;
}


/* ===== Top page final layout polish ===== */

/* scroll cue */
.hero-scroll-cue{
  position:absolute;
  left:50%;
  bottom:18px;
  transform:translateX(-50%);
  z-index:9;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
  color:#fff;
  text-decoration:none;
  opacity:.9;
}

.hero-scroll-cue__label{
  font-size:11px;
  font-weight:700;
  letter-spacing:.14em;
  text-shadow:0 2px 8px rgba(0,0,0,.35);
}

.hero-scroll-cue__line{
  width:1px;
  height:34px;
  background:rgba(255,255,255,.75);
  position:relative;
  overflow:hidden;
}

.hero-scroll-cue__line::after{
  content:"";
  position:absolute;
  left:0;
  top:-12px;
  width:1px;
  height:12px;
  background:#fff;
  animation: heroScrollCue 1.8s ease-in-out infinite;
}

@keyframes heroScrollCue{
  0%{ top:-12px; opacity:0; }
  25%{ opacity:1; }
  100%{ top:34px; opacity:0; }
}

/* hero CTA */
.hero-slider__actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:22px;
  pointer-events:auto;
}

.hero-slider__btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:50px;
  padding:0 24px;
  border-radius:999px;
  font-weight:700;
  transition:transform .25s ease, opacity .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}

.hero-slider__btn:hover{
  transform:translateY(-2px);
}

.hero-slider__btn--primary{
  background:var(--color-red);
  color:#fff;
}

.hero-slider__btn--secondary{
  background:rgba(255,255,255,.14);
  color:#fff;
  border:1px solid rgba(255,255,255,.55);
  backdrop-filter:blur(4px);
}

/* intro band below hero */
.top-intro{
  background:#fff;
  padding:42px 0 34px;
  border-bottom:1px solid #ececec;
}

.top-intro__grid{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:24px 40px;
  align-items:center;
}

.top-intro__lead{
  font-size:clamp(24px, 2.1vw, 34px);
  line-height:1.45;
  font-weight:700;
  color:var(--color-navy);
}

.top-intro__text{
  color:var(--color-sub);
  font-size:15px;
  line-height:1.95;
}

.top-intro__links{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:20px;
}

.top-intro__card{
  background:#f8fafc;
  border:1px solid #e6ebf2;
  border-radius:18px;
  padding:22px 22px;
  box-shadow:0 8px 20px rgba(0,0,0,.04);
}

.top-intro__card-title{
  font-size:14px;
  color:var(--color-red);
  font-weight:700;
  margin-bottom:8px;
}

.top-intro__card-text{
  font-size:14px;
  line-height:1.9;
  color:#334155;
}

@media (max-width: 900px){
  .top-intro__grid{
    grid-template-columns:1fr;
  }
}

@media (max-width: 768px){
  .hero-slider__actions{
    gap:8px;
    margin-top:14px;
  }

  .hero-slider__btn{
    min-height:40px;
    padding:0 16px;
    font-size:12px;
  }

  .hero-scroll-cue{
    bottom:10px;
  }

  .hero-scroll-cue__label{
    font-size:9px;
    letter-spacing:.12em;
  }

  .hero-scroll-cue__line{
    height:22px;
  }

  .top-intro{
    padding:28px 0 24px;
  }

  .top-intro__lead{
    font-size:22px;
  }

  .top-intro__text,
  .top-intro__card-text{
    font-size:13px;
    line-height:1.8;
  }

  .top-intro__card{
    padding:18px 16px;
    border-radius:14px;
  }
}

@media (prefers-reduced-motion: reduce){
  .hero-scroll-cue__line::after{
    animation:none;
    top:10px;
    opacity:1;
  }
}


/* ===== Final CSS tuning patch ===== */

/* hero overall balance */
.p-top-hero{
  height: min(70vh, 640px);
  min-height: 420px;
}

.hero-slider__overlay{
  background: linear-gradient(90deg, rgba(0,0,0,.40) 0%, rgba(0,0,0,.24) 34%, rgba(0,0,0,.10) 58%, rgba(0,0,0,0) 78%);
}

.hero-slider__content{
  bottom: clamp(64px, 9vh, 88px);
  padding-left: 40px;
  padding-right: 40px;
}

.hero-slider__content-inner{
  max-width: 640px;
}

.hero-slider__title{
  font-size: clamp(34px, 3.4vw, 48px);
  line-height: 1.3;
  margin-bottom: 16px;
  letter-spacing: .01em;
}

.hero-slider__text{
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.9;
  max-width: 34em;
}

.hero-slider__actions{
  margin-top: 20px;
}

.hero-slider__btn{
  min-height: 48px;
  padding: 0 22px;
}

.hero-slider__dots{
  bottom: 18px;
}

.hero-scroll-cue{
  bottom: 20px;
}

/* below hero intro */
.top-intro{
  padding: 38px 0 32px;
}

.top-intro__grid{
  gap: 22px 36px;
}

.top-intro__lead{
  font-size: clamp(24px, 2vw, 32px);
  line-height: 1.5;
}

.top-intro__text{
  font-size: 15px;
  line-height: 1.9;
}

.top-intro__card{
  padding: 20px 20px;
  border-radius: 16px;
}

/* narrower desktop / tablet */
@media (max-width: 1200px){
  .hero-slider__content{
    padding-left: 92px;
    padding-right: 92px;
  }

  .hero-slider__arrow--prev{
    left: 14px;
  }

  .hero-slider__arrow--next{
    right: 14px;
  }

  .hero-slider__content-inner{
    max-width: 560px;
  }
}

@media (max-width: 1024px){
  .p-top-hero{
    height: min(62vh, 560px);
    min-height: 400px;
  }

  .hero-slider__content{
    bottom: 74px;
  }

  .hero-slider__title{
    font-size: clamp(30px, 3.6vw, 42px);
  }

  .hero-slider__text{
    font-size: 16px;
    line-height: 1.8;
  }

  .hero-slider__arrow{
    width: 48px;
    height: 48px;
  }

  .top-intro{
    padding: 34px 0 28px;
  }
}

/* smartphone */
@media (max-width: 768px){
  .p-top-hero{
    height: 320px;
    min-height: 0;
  }

  .hero-slider__image{
    height: calc(100% + 20px);
    top: -10px;
  }

  .hero-slider__overlay{
    background: linear-gradient(180deg, rgba(0,0,0,.10) 0%, rgba(0,0,0,.28) 48%, rgba(0,0,0,.48) 100%);
  }

  .hero-slider__content{
    left: 0;
    right: 0;
    transform: none;
    bottom: 44px;
    width: auto;
    max-width: none;
    padding: 0 22px;
  }

  .hero-slider__content-inner{
    max-width: 230px;
  }

  .hero-slider__eyebrow{
    font-size: 8px;
    padding: 3px 7px;
    margin-bottom: 6px;
    letter-spacing: .04em;
  }

  .hero-slider__title{
    font-size: 17px;
    line-height: 1.32;
    margin-bottom: 6px;
    letter-spacing: 0;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .hero-slider__text{
    font-size: 9.5px;
    line-height: 1.55;
    letter-spacing: 0;
    max-width: 100%;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .hero-slider__actions{
    gap: 8px;
    margin-top: 12px;
  }

  .hero-slider__btn{
    min-height: 38px;
    padding: 0 14px;
    font-size: 11px;
  }

  .hero-slider__arrow{
    display: none !important;
  }

  .hero-slider__dots{
    bottom: 10px;
    gap: 8px;
  }

  .hero-slider__dot{
    width: 8px;
    height: 8px;
  }

  .hero-scroll-cue{
    bottom: 8px;
  }

  .hero-scroll-cue__label{
    font-size: 8px;
  }

  .hero-scroll-cue__line{
    height: 18px;
  }

  .top-intro{
    padding: 26px 0 22px;
  }

  .top-intro__lead{
    font-size: 22px;
  }

  .top-intro__text,
  .top-intro__card-text{
    font-size: 13px;
    line-height: 1.8;
  }

  .top-intro__links{
    gap: 10px;
    margin-top: 16px;
  }

  .top-intro__card{
    padding: 16px 16px;
    border-radius: 14px;
  }
}

@media (max-width: 420px){
  .p-top-hero{
    height: 290px;
  }

  .hero-slider__content{
    bottom: 40px;
    padding: 0 18px;
  }

  .hero-slider__content-inner{
    max-width: 210px;
  }

  .hero-slider__title{
    font-size: 15px;
  }

  .hero-slider__text{
    font-size: 9px;
    line-height: 1.48;
  }

  .hero-slider__btn{
    min-height: 36px;
    padding: 0 12px;
    font-size: 10px;
  }
}


/* ===== PICK UP professional animated section ===== */
.p-top-pickup-intro{
  padding:48px 0 34px;
  text-align:center;
  background:#fff;
}
.pickup-intro__title{
  margin:0 0 16px;
  color:#122b56;
  font-size:clamp(28px,2.7vw,42px);
  line-height:1.35;
  letter-spacing:.03em;
  font-weight:700;
}
.pickup-intro__text{
  margin:0 auto;
  max-width:980px;
  font-size:16px;
  line-height:1.8;
  color:#223047;

  font-weight:700;
}

.pickup-head{
  position:relative;
  width:100%;
  margin:36px 0 0;
  height:120px;
}
.pickup-head__band{
  position:absolute;
  left:0;
  right:0;
  top:60px;
  height:80px;
  background:#d80f1f;
}
.pickup-head__title{
  position:absolute;
  left:50%;
  top:0;
  transform:translateX(-50%);
  margin:0;
  width:360px;
  height:120px;
  background:#d80f1f;
  border-radius:180px 180px 0 0;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-size:26px;
  font-weight:700;
  letter-spacing:.08em;
  line-height:1;
  box-shadow:0 6px 18px rgba(0,0,0,.08);
}

.pickup-cards{
  width:min(100% - 100px, 1110px);
  margin:-32px auto 68px;
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:38px;
  position:relative;
  z-index:2;
  background:transparent;
}

.pickup-card{
  position:relative;
  display:block;
  min-height:430px;
  overflow:hidden;
  background:#000;
  color:#fff;
  box-shadow:0 10px 30px rgba(0,0,0,.08);
  transform:translateY(28px);
  opacity:0;
  transition:
    opacity .75s ease,
    transform .4s ease,
    box-shadow .38s ease;
  will-change:transform, opacity;
}
.pickup-card.is-visible{
  opacity:1;
  transform:translateY(0);
}
.pickup-card:hover{
  transform:translateY(-6px);
  box-shadow:0 24px 40px rgba(0,0,0,.16);
}
.pickup-card__media{
  position:absolute;
  inset:0;
}
.pickup-card__image{
  width:100%;
  height:100%;
  object-fit:cover;
  filter:brightness(.84) saturate(1.02);
  transform:scale(1);
  transition:transform .9s ease, filter .35s ease;
}
.pickup-card:hover .pickup-card__image{
  transform:scale(1.045);
  filter:brightness(.74) saturate(1.04);
}
.pickup-card__shade{
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,0) 24%, rgba(0,0,0,.08) 48%, rgba(0,0,0,.28) 100%);
  z-index:1;
}

.pickup-card__tag{
  position:absolute;
  left:0;
  top:0;
  width:100%;
  height:120px;
  pointer-events:none;
  z-index:3;
}
.pickup-card__tag::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    -135deg,
    rgba(18,43,86,.95) 0%,
    rgba(18,43,86,.75) 45%,
    rgba(18,43,86,0) 100%
  );
  clip-path:polygon(0 0, 100% 0, 0 100%);
  transition:background .6s cubic-bezier(.22,1,.36,1);
}
.pickup-card:hover .pickup-card__tag::before{
  background:linear-gradient(
    -135deg,
    rgba(18,43,86,1) 0%,
    rgba(18,43,86,.9) 60%,
    rgba(18,43,86,.7) 100%
  );
}
.pickup-card__tag span{
  position:absolute;
  top:16px;
  left:20px;
  color:#fff;
  font-size:17px;
  font-weight:700;
  letter-spacing:.02em;
  z-index:2;
}

.pickup-card__body{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  z-index:4;
  background:linear-gradient(180deg, #122b56 0%, #0d2244 100%);
  padding:28px 28px 30px;
  transition:background .28s ease;
}
.pickup-card:hover .pickup-card__body{
  background:linear-gradient(180deg, #e11525 0%, #bf0c18 100%);
}
.pickup-card__title{
  margin:0 0 9px;
  text-align:center;
  font-size:19px;
  line-height:1.45;
  font-weight:700;
  letter-spacing:.02em;
}
.pickup-card__text{
  margin:0;
  text-align:center;
  font-size:14px;
  line-height:1.85;
  color:rgba(255,255,255,.95);
  padding-right:44px;
}
.pickup-card__arrow{
  position:absolute;
  right:18px;
  bottom:24px;
  width:34px;
  height:34px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.78);
  z-index:5;
  transition:transform .28s ease, background .28s ease, border-color .28s ease;
}
.pickup-card__arrow::before{
  content:"";
  position:absolute;
  left:10px;
  top:9px;
  width:10px;
  height:10px;
  border-top:2px solid #fff;
  border-right:2px solid #fff;
  transform:rotate(45deg);
}
.pickup-card:hover .pickup-card__arrow{
  transform:translateX(4px);
  background:rgba(255,255,255,.12);
  border-color:rgba(255,255,255,.95);
}
.pickup-footer-line{
  display:none;
}

@media (max-width: 1024px){
  .pickup-cards{
    width:min(100% - 60px, 1080px);
    gap:24px;
  }
  .pickup-card{
    min-height:390px;
  }
  .pickup-card__body{
    padding:24px 22px 26px;
  }
  .pickup-card__title{
    font-size:18px;
  }
}

@media (max-width: 768px){
  .p-top-pickup-intro{
    padding:34px 0 22px;
  }
  .pickup-intro__title{
    font-size:29px;
    margin-bottom:12px;
  }
  .pickup-intro__text{
    font-size:14px;
    line-height:1.85;
  
  font-weight:700;
}
  .pickup-head{
    height:90px;
    margin:28px 0 0;
  }
  .pickup-head__band{
    top:45px;
    height:50px;
  }
  .pickup-head__title{
    width:240px;
    height:90px;
    border-radius:120px 120px 0 0;
    font-size:18px;
    letter-spacing:.04em;
  }
  .pickup-cards{
    width:min(100% - 24px, 640px);
    margin:-16px auto 42px;
    grid-template-columns:1fr;
    gap:18px;
  }
  .pickup-card{
    min-height:320px;
  }
  .pickup-card__tag{
    height:92px;
  }
  .pickup-card__tag span{
    top:12px;
    left:16px;
    font-size:15px;
  }
  .pickup-card__body{
    padding:20px 18px 22px;
  }
  .pickup-card__title{
    font-size:18px;
    margin-bottom:6px;
  }
  .pickup-card__text{
    font-size:13px;
    line-height:1.7;
    padding-right:40px;
  }
  .pickup-card__arrow{
    width:30px;
    height:30px;
    right:14px;
    bottom:18px;
  }
  .pickup-card__arrow::before{
    left:9px;
    top:8px;
    width:8px;
    height:8px;
  }
}

@media (prefers-reduced-motion: reduce){
  .pickup-card,
  .pickup-card__image,
  .pickup-card__body,
  .pickup-card__arrow,
  .pickup-card__tag::before{
    transition:none !important;
  }
  .pickup-card{
    opacity:1 !important;
    transform:none !important;
  }
}

/* remove gray background behind pickup banners */
body{background:#ffffff;}
.p-top-pickup-intro,
.pickup-head,
.pickup-cards{
  background:transparent !important;
}

/* ===== values section ===== */
.p-top-values{
  position:relative;
  width:100%;
  background:linear-gradient(#dff2fc, #cfe8f5);
  padding:96px 0 84px;
  overflow:visible;
}
.values-title{
  position:absolute;
  top:0;
  left:50%;
  transform:translate(-50%, -50%);
  width:360px;
  max-width:calc(100% - 32px);
  background:#d80f1f;
  color:#fff;
  text-align:center;
  padding:18px 0 16px;
  font-size:22px;
  font-weight:700;
  line-height:1.2;
  clip-path:polygon(0 0,100% 0,88% 100%,12% 100%);
  box-shadow:0 10px 22px rgba(0,0,0,.16);
  z-index:3;
}
.values-container{
  width:min(1100px, calc(100% - 48px));
  margin:0 auto;
}
.values-grid{
  display:grid;
  grid-template-columns:minmax(300px, 420px) 1fr;
  gap:42px 52px;
  align-items:flex-start;
}
.values-image{
  box-shadow:0 16px 30px rgba(0,0,0,.10);
}
.values-image img{
  width:100%;
  display:block;
}
.values-text{
  padding-right:8px;
}
.value-item{
  margin-bottom:30px;
}
.value-item:last-child{
  margin-bottom:0;
}
.value-item h3{
  margin:0 0 10px;
  font-size:22px;
  line-height:1.4;
  font-weight:700;
  border-bottom:3px solid rgba(255,255,255,.70);
  padding-bottom:10px;
}
.value-item p{
  margin:0;
  font-size:15px;
  line-height:1.9;
}
@media (max-width: 900px){
  .p-top-values{
    padding:82px 0 64px;
  }
  .values-grid{
    grid-template-columns:1fr;
    gap:28px;
  }
  .values-image{
    max-width:620px;
    width:100%;
    margin:0 auto;
  }
  .values-text{
    padding-right:0;
  }
  .value-item h3{
    font-size:20px;
  }
}
@media (max-width: 768px){
  .p-top-values{
    padding:72px 0 52px;
  }
  .values-title{
    width:280px;
    font-size:18px;
    padding:14px 0 13px;
  }
  .values-container{
    width:min(1100px, calc(100% - 24px));
  }
  .value-item{
    margin-bottom:24px;
  }
  .value-item h3{
    font-size:18px;
    padding-bottom:8px;
    margin-bottom:8px;
  }
  .value-item p{
    font-size:14px;
    line-height:1.8;
  }
}


/* ===== values title final fix ===== */
.values-title{
  position:relative !important;
  top:auto !important;
  left:auto !important;
  transform:none !important;
  margin:0 auto 40px !important;
  border:none !important;
}

.values-title::after{
  display:none !important;
}


/* ===== values section bug fix ===== */
.p-top-values{
  padding-top: 56px !important; /* title sits inside blue area */
}

.values-title{
  position: relative !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
  margin: 0 auto 34px !important;
  box-shadow: none !important;
  border: none !important;
  outline: none !important;
}

.values-title::before,
.values-title::after{
  content: none !important;
  display: none !important;
}

.value-item h3{
  border-bottom: none !important; /* remove white line under headings */
  padding-bottom: 0 !important;
  margin-bottom: 12px !important;
}


/* ===== final fix: remove line and attach title to blue background ===== */
.pickup-footer-line{
  display:none !important;
  border:0 !important;
  height:0 !important;
  margin:0 !important;
  padding:0 !important;
}

.p-top-values{
  padding:0 0 84px !important;
  margin:0 !important;
}

.values-title{
  position:relative !important;
  top:0 !important;
  left:auto !important;
  transform:none !important;
  margin:0 auto 40px !important;
  box-shadow:none !important;
}

.values-container{
  padding-top:76px !important;
}

@media (max-width: 900px){
  .p-top-values{
    padding:0 0 64px !important;
  }
  .values-container{
    padding-top:64px !important;
  }
}

@media (max-width: 768px){
  .p-top-values{
    padding:0 0 52px !important;
  }
  .values-title{
    margin:0 auto 28px !important;
  }
  .values-container{
    padding-top:54px !important;
  }
}


/* ===== tighten spacing ===== */
.values-title{
  margin:0 auto 20px !important;
}

.values-container{
  padding-top:40px !important;
}

.values-grid{
  gap:20px 40px !important;
}

.value-item{
  margin-bottom:20px !important;
}


/* ===== scroll fade-in ===== */
.fade-in-up{
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease, transform .8s ease;
  will-change: opacity, transform;
}

.fade-in-up.is-visible{
  opacity: 1;
  transform: translateY(0);
}

.fade-delay-1{ transition-delay: .08s; }
.fade-delay-2{ transition-delay: .16s; }
.fade-delay-3{ transition-delay: .24s; }

@media (prefers-reduced-motion: reduce){
  .fade-in-up{
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}


/* ===== values spacing + white lines restore ===== */
.values-title{
  margin:0 auto 28px !important;
}

.values-container{
  padding-top:52px !important;
}

.values-grid{
  gap:28px 44px !important;
}

.value-item{
  margin-bottom:24px !important;
}

.value-item h3{
  border-bottom:3px solid rgba(255,255,255,.70) !important;
  padding-bottom:10px !important;
  margin-bottom:10px !important;
}

@media (max-width: 768px){
  .values-title{
    margin:0 auto 22px !important;
  }
  .values-container{
    padding-top:42px !important;
  }
  .values-grid{
    gap:22px !important;
  }
  .value-item{
    margin-bottom:20px !important;
  }
  .value-item h3{
    padding-bottom:8px !important;
    margin-bottom:8px !important;
  }
}


/* ===== tighter spacing final ===== */
.values-title{
  margin:0 auto 16px !important; /* 半分くらいに */
}

.values-container{
  padding-top:28px !important; /* かなり詰める */
}

.values-grid{
  gap:18px 40px !important;
}

.values-image{
  margin-bottom:0 !important;
}

@media (max-width: 768px){
  .values-title{
    margin:0 auto 14px !important;
  }
  .values-container{
    padding-top:24px !important;
  }
  .values-grid{
    gap:16px !important;
  }
}


/* ===== reduce bottom spacing ===== */
.p-top-values{
  padding-bottom:42px !important; /* 半分に */
}

@media (max-width:768px){
  .p-top-values{
    padding-bottom:28px !important;
  }
}


/* ===== 新着情報 見出し（左右赤ライン） ===== */
.c-section-heading{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:24px;
  margin:90px 0 40px;
  text-align:center;
}
.c-section-heading::before,
.c-section-heading::after{
  content:"";
  flex:1;
  max-width:260px;
  height:2px;
  background:#d60f1d;
}
.c-section-heading .c-section-heading__title{
  margin:0;
  font-size:30px;
  letter-spacing:.08em;
}

/* ===== CTA parallax + fade ===== */
.c-site-cta{
  position:relative;
  overflow:hidden;
  background:
    linear-gradient(rgba(16,39,82,.72), rgba(16,39,82,.72)),
    url("/images/cta_bg.jpg") center / cover no-repeat;
  background-attachment:fixed;
  padding:88px 20px;
  text-align:center;
  color:#fff;
}
.cta-container{
  position:relative;
  z-index:1;
  max-width:920px;
  margin:0 auto;
}
.cta-title{
  font-size:32px;
  line-height:1.35;
  margin-bottom:18px;
}
.cta-text{
  font-size:16px;
  line-height:1.9;
  margin-bottom:30px;
}
.cta-buttons{
  display:flex;
  justify-content:center;
  gap:16px;
  flex-wrap:wrap;
}
.cta-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:56px;
  padding:0 30px;
  border-radius:999px;
  font-size:16px;
  font-weight:700;
  text-decoration:none;
  transition:transform .28s ease, background .28s ease, opacity .28s ease;
}
.cta-button:hover{
  transform:translateY(-2px);
}
.cta-button--primary{
  background:#d60f1d;
  color:#fff;
}
.cta-button--primary:hover{
  background:#bf0d19;
}
.cta-button--tel{
  background:#fff;
  color:#102752;
}
.cta-button--tel:hover{
  background:#edf1f7;
}
.cta-button__icon{
  width:18px;
  height:18px;
  display:inline-block;
  flex:0 0 18px;
}
.cta-button__icon svg{
  display:block;
  width:100%;
  height:100%;
  fill:currentColor;
}

/* CTA fade */
.fade-up{
  opacity:0;
  transform:translateY(28px);
  transition:opacity .9s ease, transform .9s ease;
  will-change:opacity, transform;
}
.fade-up.is-visible{
  opacity:1;
  transform:translateY(0);
}
.fade-delay-1{ transition-delay:.10s; }
.fade-delay-2{ transition-delay:.22s; }

@media (max-width:768px){
  .c-section-heading{
    gap:14px;
    margin:72px 0 30px;
  }
  .c-section-heading::before,
  .c-section-heading::after{
    max-width:none;
  }
  .c-section-heading .c-section-heading__title{
    font-size:24px;
    letter-spacing:.05em;
  }

  .c-site-cta{
    background-attachment:scroll;
    padding:72px 16px;
  }
  .cta-title{
    font-size:25px;
  }
  .cta-text{
    font-size:14px;
    line-height:1.8;
    margin-bottom:24px;
  }
  .cta-buttons{
    gap:12px;
  }
  .cta-button{
    min-height:58px;
    width:min(100%, 340px);
    padding:0 20px;
    font-size:15px;
  }
}
@media (prefers-reduced-motion: reduce){
  .fade-up{
    opacity:1 !important;
    transform:none !important;
    transition:none !important;
  }
  .c-site-cta{
    background-attachment:scroll !important;
  }
}


/* ===== 新着情報ライン幅調整 ===== */
.c-section-heading{
  width: min(100%, 1110px);
  margin: 90px auto 40px !important;
}
.c-section-heading::before,
.c-section-heading::after{
  max-width: none !important;
}

@media (max-width: 768px){
  .c-section-heading{
    width: min(100%, 640px);
    margin: 72px auto 30px !important;
  }
}


/* ===== 日付とカテゴリだけ詰める（本文はそのまま） ===== */
.c-news-item{
  gap:12px !important; /* 全体は元に戻す */
}

.c-news-item__date{
  margin-right:-6px; /* ←ここで日付だけ詰める */
}


/* ===== values 最適化版 ===== */
.values-grid--perfect{
  display:grid !important;
  grid-template-columns: repeat(3,1fr) !important;
  gap:60px !important;
  text-align:center;
}
.values-grid--perfect .value-item{
  background:none !important;
  box-shadow:none !important;
  padding:0 !important;
}
.values-grid--perfect h3{
  font-size:24px;
  font-weight:700;
  margin-bottom:14px;
}
.values-grid--perfect h3::after{
  content:"";
  display:block;
  width:70%;
  height:2px;
  background:rgba(255,255,255,0.7);
  margin:14px auto 0;
}
.values-grid--perfect p{
  font-size:16px;
  line-height:2;
  margin:18px 0 24px;
}
.values-grid--perfect img{
  width:100%;
  display:block;
}
@media(max-width:768px){
  .values-grid--perfect{
    grid-template-columns:1fr !important;
    gap:36px !important;
  }
}


/* ===== FIX: remove double line ===== */
.value-item h3{
  border-bottom: none !important;
}


/* ===== values animation ===== */
.fade-in-up{
  opacity:0;
  transform:translateY(28px);
  transition:opacity .8s ease, transform .8s ease;
  will-change:opacity, transform;
}
.fade-in-up.is-visible{
  opacity:1;
  transform:translateY(0);
}
.fade-delay-1{ transition-delay:.08s; }
.fade-delay-2{ transition-delay:.16s; }
.fade-delay-3{ transition-delay:.24s; }


/* ===== PICK UP final position fix ===== */
.p-top-pickup-intro{
  padding-bottom: 46px !important;
}
.pickup-head{
  margin: 34px 0 0 !important;
  transform: none !important;
}
.pickup-cards{
  margin: -28px auto 68px !important;
}
@media (max-width: 768px){
  .p-top-pickup-intro{
    padding-bottom: 26px !important;
  }
  .pickup-head{
    margin: 22px 0 0 !important;
    transform: none !important;
  }
  .pickup-cards{
    margin: -12px auto 42px !important;
  }
}


/* ===== PICK UP actual position fix ===== */
.pickup-head__title{
  top: 8px !important;
}
.pickup-head__band{
  top: 68px !important;
}

@media (max-width: 768px){
  .pickup-head__title{
    top: 6px !important;
  }
  .pickup-head__band{
    top: 49px !important;
  }
}


/* ===== PICK UP move UP ===== */
.pickup-head__title{
  top: -4px !important;
}
.pickup-head__band{
  top: 56px !important;
}

@media (max-width: 768px){
  .pickup-head__title{
    top: -3px !important;
  }
  .pickup-head__band{
    top: 41px !important;
  }
}


/* ===== PICK UP fine tune (slightly more up) ===== */
.pickup-head__title{
  top: -7px !important;
}
.pickup-head__band{
  top: 53px !important;
}

@media (max-width: 768px){
  .pickup-head__title{
    top: -5px !important;
  }
  .pickup-head__band{
    top: 39px !important;
  }
}


/* ===== spacing tweak final ===== */
.pickup-head{
  margin:20px 0 0 !important;
}

.c-section-heading{
  margin:30px auto 40px !important;
}


.values-grid--perfect .value-item:nth-child(1) p{
  font-weight:700;
}


.values-grid--perfect .value-item:nth-child(2) p,
.values-grid--perfect .value-item:nth-child(3) p{
  font-weight:700;
}


/* スマホのみ改行 */
.sp-only {
  display: none;
}
@media (max-width: 768px) {
  .sp-only {
    display: inline;
  }
}


/* ===== service page visual + catch ===== */
.p-service-visual{
  width: 100%;
  height: 320px;
  overflow: hidden;
  background: #ddd;
}

.p-service-visual img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.p-service-intro{
  background: #f3f3f3;
  padding: 44px 0 36px;
}

.p-service-intro__inner{
  width: min(100% - 40px, 1120px);
  margin: 0 auto;
  text-align: center;
}

.p-service-intro__title{
  font-size: clamp(34px, 3.4vw, 48px);
  line-height: 1.3;
  letter-spacing: .01em;
  font-weight: 700;
  color: #231815;
  margin: 0 0 16px;
}

.p-service-intro__text{
  margin: 0 auto;
  max-width: 1120px;
  font-size: 16px;
  line-height: 1.95;
  color: #111;
  font-weight: 500;
}

.p-service-intro__text p{
  margin: 0 0 10px;
}
.p-service-intro__text p:last-child{
  margin-bottom: 0;
}

@media (max-width: 768px){
  .p-service-visual{
    height: 120px;
  }

  .p-service-intro{
    padding: 28px 0 24px;
  }

  .p-service-intro__inner{
    width: min(100% - 24px, 1120px);
  }

  .p-service-intro__title{
    font-size: 22px;
    line-height: 1.45;
    margin-bottom: 12px;
  }

  .p-service-intro__text{
    font-size: 13px;
    line-height: 1.85;
    text-align: left;
  }
}

