@import url("./lower.css");

:root {
  --against-green: #188a3d;
  --against-bright: #16ae55;
  --against-lime: #cbe000;
  --against-ink: #211715;
  --against-pale: #effaf4;
  --against-line: #cfe5d7;
  --content-width: 1320px;
  /* 全ページ共通の文字サイズ基準 */
  --type-page-title: clamp(46px, 5vw, 76px);
  --type-section-title: clamp(32px, 3.1vw, 50px);
  --type-subsection-title: clamp(24px, 2.2vw, 34px);
  --type-card-title: 22px;
  --type-body: 16px;
  --type-body-leading: 1.9;
}

html {
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  color: var(--against-ink);
  font-family: "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.85;
}

img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--against-green); }
.tel-link { color: inherit; }

.page-wide {
  width: min(var(--content-width), calc(100% - 120px));
  margin-inline: auto;
}

.site-header .page-wide {
  width: min(1920px, calc(100% - 120px));
}

.site-footer .page-wide {
  width: min(1680px, calc(100% - 120px));
}

.site-header {
  min-height: 112px;
  background: rgba(255,255,255,.97);
  transition: box-shadow .3s ease;
}

.site-header.is-scrolled { box-shadow: 0 5px 22px rgba(0,50,20,.09); }
.site-header__logo { width: clamp(210px, 17vw, 320px); flex: 0 0 auto; }
.site-header .navbar { min-height: 112px; padding: 0; }
.site-header .navbar-nav { gap: clamp(13px, 1.8vw, 34px); }

.site-header .nav-link {
  position: relative;
  min-height: 48px;
  display: flex;
  align-items: center;
  color: var(--against-ink);
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}

.site-header .nav-link::after {
  content: "";
  position: absolute;
  left: .5rem;
  right: 100%;
  bottom: 4px;
  height: 2px;
  background: var(--against-bright);
  transition: right .25s ease;
}

.site-header .nav-link:hover::after,
.site-header .nav-link[aria-current="page"]::after { right: .5rem; }

.header-tel {
  min-width: 220px;
  padding: 10px 18px;
  color: #fff;
  background: #251714;
  border-radius: 11px;
  text-align: center;
  line-height: 1.25;
}

.header-tel strong { display: flex; align-items: center; justify-content: center; gap: 10px; font: italic 700 19px Arial, sans-serif; }
.header-tel__icon { width: 20px; height: 16px; flex: 0 0 20px; }
.header-tel small { font-size: 12px; }

.mobile-call {
  margin-top: 24px;
  padding: 18px;
  border-radius: 14px;
  background: #effaf4;
  text-align: center;
}
.mobile-call > span:first-child { display: block; margin-bottom: 8px; color: #52635a; font-size: 13px; font-weight: 700; }
.mobile-call small { display: block; margin-top: 8px; color: #52635a; font-size: 12px; }

.navbar-toggler {
  width: 50px;
  height: 50px;
  border: 1px solid rgba(22,174,85,.3);
  border-radius: 50%;
  box-shadow: 0 7px 22px rgba(0,60,25,.1);
}

.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(22,174,85,.15); }
.navbar-toggler-icon { width: 22px; }

.page-hero {
  position: relative;
  min-height: 430px;
  padding: 190px 0 90px;
  overflow: hidden;
  background: linear-gradient(125deg, #f5fbf7, #fff 68%);
}

.page-hero::before {
  content: attr(data-en);
  position: absolute;
  right: -1%;
  top: 115px;
  color: #f1f4f1;
  font: italic 700 clamp(5rem, 10vw, 11rem)/1 Arial, sans-serif;
  white-space: nowrap;
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -180px;
  top: -160px;
  width: 520px;
  height: 650px;
  border: 72px solid var(--against-bright);
  border-left-color: var(--against-green);
  border-radius: 50%;
  opacity: .92;
  transform: rotate(13deg);
}

.page-hero__inner { position: relative; z-index: 2; }
.page-kicker { margin: 0 0 12px; color: var(--against-green); font: 700 14px/1.2 Arial,sans-serif; letter-spacing: .18em; }
.page-hero h1 { margin: 0; font-size: clamp(38px, 4.2vw, 64px); line-height: 1.25; font-weight: 700; }
.page-hero .lead { margin: 18px 0 0; font-size: clamp(17px, 1.45vw, 22px); font-weight: 600; }

.breadcrumb-wrap { padding: 15px 0; border-bottom: 1px solid #edf1ed; background: #fff; }
.breadcrumb { margin: 0; font-size: 13px; }
.breadcrumb-wrap .breadcrumb.page-wide {
  width: min(calc(var(--content-width) + 120px), 100%);
  margin-inline: auto;
  padding-inline: 60px;
  box-sizing: border-box;
}
.breadcrumb-item + .breadcrumb-item::before { color: #9aaa9f; }

.content-section { position: relative; padding: clamp(80px, 8vw, 130px) 0; overflow: hidden; }
.content-section--pale { background: linear-gradient(120deg, #f2faf7, #f4f4f4); }
.content-section--cream { background: #fbffe9; }
.section-kicker { margin: 0 0 14px; color: var(--against-green); font: 700 13px/1.2 Arial,sans-serif; letter-spacing: .16em; }
.section-title { margin: 0 0 32px; font-size: var(--type-section-title); line-height: 1.5; font-weight: 650; }
.section-lead { font-size: 17px; line-height: 2; }
.body-copy { font-size: 16px; line-height: 2; }

.section-line {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 22px;
  color: #747474;
  font-size: 14px;
}

.section-line::after { content: ""; height: 1px; flex: 1; background: #aaa; }
.visual-image { width: 100%; aspect-ratio: 1.5; object-fit: cover; }

.against-card {
  height: 100%;
  padding: clamp(26px, 3vw, 42px);
  border: 1px solid var(--against-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 35px rgba(23,80,43,.04);
}

.against-card h2,
.against-card h3 { font-size: 22px; line-height: 1.55; font-weight: 700; }
.against-card p:last-child { margin-bottom: 0; }
.icon-visual { height: 150px; object-fit: contain; margin: 0 auto 24px; }

.number-badge {
  display: inline-grid;
  place-items: center;
  min-width: 58px;
  height: 36px;
  padding: 0 12px;
  color: #fff;
  background: var(--against-bright);
  border-radius: 999px;
  font-weight: 700;
}

.against-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-width: 245px;
  min-height: 54px;
  padding: 12px 28px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(90deg, #13aa55, #cfe800);
  font-weight: 700;
  transition: transform .25s ease, box-shadow .25s ease;
}

.against-button::after { content: "•"; margin-left: 25px; }
.against-button:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 10px 24px rgba(21,151,76,.2); }

.scheme-card { position: relative; overflow: hidden; text-align: center; }
.scheme-card::before { content: attr(data-en); position: absolute; left: 4px; top: 50%; color: currentColor; opacity: .08; writing-mode: vertical-rl; transform: translateY(-50%) rotate(180deg); font: italic 700 46px/1 Arial,sans-serif; }
.scheme-card--green { color: #16a953; background: #effff4; }
.scheme-card--orange { color: #ee9b23; background: #fffdf0; }
.scheme-card--blue { color: #1c9fd2; background: #f0fbff; }

.flow-card { border-top: 5px solid var(--against-bright); }
.record-stat { display: grid; place-items: center; min-height: 330px; border-radius: 50%; background: radial-gradient(circle, #fff 0 8%, transparent 9%), linear-gradient(140deg,#effaec,#d9eedb); }
.record-stat strong { color: var(--against-green); font: 700 clamp(80px,12vw,150px)/1 Arial,sans-serif; }
.record-stat span { display: block; color: var(--against-green); font-size: 13px; letter-spacing: .14em; }

.profile-table { margin: 0; border-top: 1px solid var(--against-line); }
.profile-table > :not(caption) > * > * { padding: 22px 20px; border-color: var(--against-line); background: transparent; }
.profile-table th { width: 28%; color: var(--against-green); font-weight: 700; }

.access-card { padding: 28px; border-left: 4px solid var(--against-bright); background: #fff; }

/* Company */
.page-company .company-message { background: #fff; }
.page-company .content-section--pale {
  background: #eaf5ee;
}
.page-company .company-access {
  border-top: 1px solid #edf0db;
  background: #fbfce9;
}
.company-message__heading { margin-bottom: clamp(34px, 4vw, 58px); }
.company-message__layout {
  display: grid;
  grid-template-columns: minmax(290px, .72fr) minmax(0, 1.28fr);
  gap: clamp(48px, 6vw, 96px);
  align-items: center;
}
.company-message__photo { position: relative; margin: 0; }
.company-message__photo::before {
  content: "";
  position: absolute;
  left: -22px;
  bottom: -22px;
  width: 62%;
  height: 55%;
  border-left: 2px solid var(--against-bright);
  border-bottom: 2px solid var(--against-lime);
  z-index: -1;
}
.company-message__photo img {
  display: block;
  width: 100%;
  aspect-ratio: .82;
  object-fit: cover;
  object-position: center top;
}
.company-message__content { max-width: 760px; }
.company-message__content h3 {
  margin: 0 0 30px;
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.65;
  font-weight: 700;
}
.company-message__content p { margin: 0 0 22px; font-size: 15px; line-height: 2.05; }
.company-message__signature { margin-top: 34px !important; text-align: right; font-weight: 700; }
.page-company .profile-table { overflow: hidden; border-top: 2px solid var(--against-green); background: #fff; box-shadow: none; }
.page-company .profile-table th { width: 30%; padding-left: clamp(20px,3vw,42px); color: var(--against-ink); background: #f4faf5; }
.page-company .profile-table td { padding-right: clamp(20px,3vw,42px); }
.company-access { position: relative; overflow: hidden; }
.company-access::before { content: "ACCESS"; position: absolute; right: -1vw; top: 34px; color: #f3f8f4; font: italic 900 clamp(88px,13vw,210px)/1 Arial,sans-serif; pointer-events: none; }
.company-access .page-wide { position: relative; }
.company-map { position: relative; height: clamp(380px, 38vw, 560px); margin-top: 46px; overflow: hidden; border: 1px solid var(--against-line); border-radius: 0; background: #edf4ef; box-shadow: none; }
.company-map::after {
  content: "AGAINST / KITASENJU";
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 11px 22px;
  color: #fff;
  background: var(--against-green);
  font: 700 12px/1.2 Arial, sans-serif;
  letter-spacing: .14em;
  pointer-events: none;
}
.company-map iframe { width: 100%; height: 100%; border: 0; filter: saturate(.78) contrast(.96); }
.company-address-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(18, 173, 82, .45);
  text-underline-offset: .28em;
}
.company-address-link:hover,
.company-address-link:focus-visible { color: var(--against-green); }
.company-address-link__icon {
  display: inline-grid;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--against-green);
}
.company-address-link__icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.company-access__list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(16px,2vw,28px); margin: 34px 0 0; background: transparent; box-shadow: none; }
.company-access__list > div { width: auto; padding: 0; }
.page-company .access-card { position: relative; min-height: 100%; padding: 30px 32px 34px; border: 1px solid var(--against-line); border-top: 3px solid var(--against-bright); border-radius: 0; background: #fff; box-shadow: none; }
.company-access__list > div + div .access-card { border-left: 1px solid var(--against-line); }
.page-company .access-card h3 { display: flex; align-items: center; gap: 16px; margin: 0 0 16px; font-size: 18px; font-weight: 700; }
.page-company .access-card h3 small { display: block; margin-bottom: 5px; color: var(--against-bright); font: 700 10px/1 Arial,sans-serif; letter-spacing: .16em; }
.page-company .access-card p { margin-left: 62px; color: #4b5950; font-size: 14px; line-height: 1.9; }
.access-card__icon { display: inline-grid; place-items: center; flex: 0 0 46px; width: 46px; height: 46px; color: var(--against-green); }
.access-card__icon svg { width: 42px; height: 42px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.contact-card { text-align: center; }
.contact-number { color: var(--against-green); font: italic 700 clamp(26px,3vw,38px)/1.3 Arial,sans-serif; }
.required { display: inline-block; margin-left: 7px; padding: 2px 7px; color: #fff; background: #df5b3c; border-radius: 3px; font-size: 12px; }
.form-label { font-weight: 700; }
.form-control, .form-select { min-height: 52px; border-color: #b9cdbf; border-radius: 7px; }
textarea.form-control { min-height: 190px; }
.form-control:focus, .form-select:focus { border-color: var(--against-bright); box-shadow: 0 0 0 .2rem rgba(22,174,85,.14); }
.privacy-box { max-height: 260px; overflow-y: auto; padding: 24px; border: 1px solid var(--against-line); background: #fff; }

/* Contact */
.page-contact .contact-direct {
  background: #fbfce9;
}
.page-contact .contact-form-section {
  border-top: 1px solid #d7e9dd;
  background: #eaf5ee;
}
.contact-direct__box {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 1120px;
  margin: 48px auto 0;
  border: 1px solid var(--against-line);
  background: rgba(255,255,255,.7);
}
.contact-direct__item { display: flex; align-items: center; justify-content: center; gap: 24px; min-height: 210px; padding: 34px; }
.contact-direct__item + .contact-direct__item { border-left: 1px solid var(--against-line); }
.contact-direct__icon { display: grid; place-items: center; width: 66px; height: 66px; border-radius: 50%; color: #fff; background: linear-gradient(135deg,#18ad56,#cbe000); font: 700 17px/1 Arial,sans-serif; }
.contact-direct__label { margin: 0 0 4px; color: var(--against-green); font: 700 12px/1.2 Arial,sans-serif; letter-spacing: .13em; }
.contact-direct__item small { display: block; margin-top: 8px; color: #66726a; font-size: 13px; }
.contact-form-section > .page-wide > .section-kicker,
.contact-form-section > .page-wide > .section-title,
.contact-guidance { width: 100%; max-width: 1180px; margin-right: auto; margin-left: auto; }
.contact-form-section > .page-wide > .section-title { margin-bottom: 32px; }
.contact-guidance { margin-bottom: 42px; }
.contact-guidance p { margin: 0 0 5px; font-size: 14px; line-height: 1.9; }
.contact-form { max-width: 1180px; margin-inline: auto; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; }
.contact-form-error { width: 100%; max-width: 1180px; margin-inline: auto; }
.contact-form__table { width: 100%; border-collapse: collapse; border-top: 1px solid #b7c9bc; background: #fff; }
.contact-form__table th,
.contact-form__table td { padding: 22px 24px; border-bottom: 1px solid #cfdcd3; vertical-align: middle; }
.contact-form__table th { width: 27%; background: #f1f7e4; font-size: 14px; font-weight: 700; }
.contact-form__table td { width: 73%; }
.contact-form__table .form-control,
.contact-form__table .form-select { width: 100%; max-width: 720px; }
.contact-options { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.contact-options label { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; cursor: pointer; }
.contact-options input,
.contact-consent input { width: 20px; height: 20px; accent-color: var(--against-green); }
.postal-field { display: flex; align-items: center; gap: 12px; }
.postal-field .form-control { max-width: 260px; }
.postal-note { color: #6d7b71; font-size: 12px; }
.contact-form .privacy-box { height: 250px; max-height: 250px; margin-top: 46px; padding: 28px 30px; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; }
.contact-form .privacy-box h3 { margin: 0 0 10px; padding-left: 14px; border-left: 4px solid var(--against-bright); font-size: 19px; font-weight: 700; }
.contact-form .privacy-box h4 { margin: 26px 0 8px; font-size: 16px; line-height: 1.6; font-weight: 700; }
.contact-form .privacy-box p { margin: 0 0 14px; font-size: 14px; line-height: 1.9; }
.privacy-list { margin: 12px 0 18px; padding-left: 1.8em; }
.privacy-list li { margin-bottom: 8px; line-height: 1.9; }
.privacy-content a { color: var(--against-green); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.contact-form .privacy-box__link { padding-top: 8px; }
.contact-form .privacy-box a { color: var(--against-green); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.contact-form .privacy-box:focus-visible { outline: 3px solid rgba(22,174,85,.25); outline-offset: 3px; }
.contact-consent { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; margin: 28px auto 0; cursor: pointer; }
.contact-actions,
.confirm-only { display: flex; justify-content: center; gap: 18px; margin-top: 36px; }
.against-button--back { color: var(--against-ink); background: #e7ece8; }
.against-button--back:hover { color: var(--against-ink); }

.privacy-content { max-width: 1000px; }
.privacy-content h2 { margin: 54px 0 18px; padding-left: 16px; border-left: 4px solid var(--against-bright); font-size: 24px; }

.site-footer { padding: 80px 0 24px; background: var(--against-pale); }
.site-footer__logo { width: min(470px, 100%); }
.site-footer address { margin: 24px 0 0; color: #8a9790; font-size: 13px; line-height: 1.9; font-style: normal; }
.footer-menu { display: grid; grid-template-columns: repeat(2, minmax(150px,1fr)); gap: 16px 60px; width: min(440px,100%); margin-left: auto; }
.footer-menu a { min-height: 36px; font-size: 14px; font-weight: 700; }
.footer-menu a:hover { color: var(--against-green); }
.copyright { margin-top: 60px; padding-top: 20px; border-top: 1px solid #d5e5db; color: #c0cec5; text-align: center; font-size: 12px; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1199.98px) {
  .breadcrumb-wrap .breadcrumb.page-wide {
    width: 100%;
    padding-inline: 30px;
  }
  .page-wide { width: calc(100% - 60px); }
  .site-header .page-wide,
  .site-footer .page-wide { width: calc(100% - 60px); }
  .site-header__logo { width: 230px; }
  .site-header .navbar-nav { gap: 8px; }
  .site-header .nav-link { font-size: 13px; }
  .header-tel { display: none; }
  .footer-menu { gap: 15px 34px; }
}

@media (max-width: 991.98px) {
  .mobile-call .tel-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    padding: 10px 18px;
    border-radius: 999px;
    background: linear-gradient(90deg, #12ad52, #c5df00);
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    text-decoration: none;
  }
  .site-header, .site-header .navbar { min-height: 78px; }
  .site-header__logo { width: 200px; }
  .page-hero { min-height: 350px; padding: 145px 0 70px; }
  .page-hero::before { top: 100px; }
  .page-hero::after { right: -260px; top: -210px; }
  .offcanvas-lg { width: min(420px, calc(100% - 24px)) !important; border-radius: 24px 0 0 24px; }
  .offcanvas-body { padding: 18px 28px 34px; }
  .site-header .navbar-nav { gap: 0; }
  .site-header .nav-link { min-height: 58px; justify-content: space-between; border-bottom: 1px solid #d9e9df; font-size: 16px; }
  .site-header .nav-link::before { content: ""; order: 2; width: 8px; height: 8px; border-top: 2px solid var(--against-green); border-right: 2px solid var(--against-green); transform: rotate(45deg); }
  .site-header .nav-link::after { display: none; }
  .site-header .nav-link[aria-current="page"] {
    margin-inline: -12px;
    padding-inline: 12px;
    border-radius: 8px;
    background: #effaf4;
    color: var(--against-green);
  }
  .site-header .nav-link[aria-current="page"]::before {
    width: 9px;
    height: 9px;
    border: 0;
    border-radius: 50%;
    background: var(--against-bright);
    transform: none;
  }
  .section-title { margin-bottom: 24px; }
  .company-message__layout { grid-template-columns: .8fr 1.2fr; gap: 42px; align-items: start; }
  .company-message__content h3 { font-size: 25px; }
}

@media (max-width: 767.98px) {
  html,
  body,
  body.lower-page {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
  }

  body.lower-page main,
  body.lower-page section,
  body.lower-page footer {
    max-width: 100%;
  }

  :root {
    --type-page-title: clamp(34px, 10vw, 45px);
    --type-page-title-about: clamp(28px, 8.5vw, 34px);
    --type-page-title-long: clamp(28px, 8.5vw, 34px);
    --type-section-title: clamp(28px, 8vw, 36px);
    --type-subsection-title: clamp(22px, 6.8vw, 28px);
    --type-card-title: 20px;
    --type-body: 16px;
  }
  body { font-size: 16px; line-height: 1.8; }
  .page-wide { width: calc(100% - 36px); }
  .breadcrumb-wrap {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }
  .breadcrumb-wrap .breadcrumb.page-wide {
    width: 100% !important;
    margin-right: auto !important;
    margin-left: auto !important;
    padding-right: 18px;
    padding-left: 18px;
    box-sizing: border-box;
  }

  .page-storage .storage-center-title,
  .page-storage .storage-process .storage-heading h2,
  .page-storage .storage-process .storage-heading > p:last-child,
  .page-storage .scheme-detail-card:nth-child(3) h3,
  .page-contact .contact-form-section .section-title,
  .about-page .about-mission__heading h2 > span,
  .about-page .about-vision .about-heading h2 {
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .site-header .page-wide,
  .site-footer .page-wide { width: calc(100% - 36px); }
  .site-header, .site-header .navbar { min-height: 70px; }
  .site-header__logo { width: 155px; }
  .page-hero { min-height: 320px; padding: 122px 0 58px; }
  .page-hero::before { top: 92px; font-size: 64px; }
  .page-hero::after { right: -275px; top: -225px; opacity: .75; }
  .page-hero h1 { font-size: clamp(34px, 10vw, 45px); }
  .page-hero .lead { font-size: 16px; }
  .content-section { padding: 72px 0; }
  .section-title { font-size: clamp(28px, 8vw, 36px); }
  .section-lead, .body-copy { font-size: 16px; line-height: 1.85; }
  .against-card { padding: 26px 20px; }
  .against-card h2, .against-card h3 { font-size: 20px; }
  .against-button { width: 100%; min-width: 0; min-height: 54px; }
  .visual-image { aspect-ratio: 1.35; }
  .profile-table th, .profile-table td { display: block; width: 100%; padding: 12px 10px; }
  .profile-table th { padding-bottom: 2px; border-bottom: 0; }
  .profile-table td { padding-top: 4px; }
  .site-footer { padding-top: 58px; }
  .site-footer__logo { width: min(250px, 80vw); }
  .site-footer address { font-size: 15px; }
  .site-footer .tel-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin: 6px 0;
    padding: 9px 18px;
    border: 1px solid var(--against-bright);
    border-radius: 999px;
    color: var(--against-green);
    background: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
  }
  .site-footer .tel-link::before { content: "☎"; margin-right: 8px; }
  .contact-direct .tel-link { color: inherit; text-decoration: none; }
  .contact-direct__box { display: block; margin-top: 30px; }
  .contact-direct__item { justify-content: flex-start; min-height: 150px; padding: 26px 20px; gap: 16px; }
  .contact-direct__item + .contact-direct__item { border-top: 1px solid var(--against-line); border-left: 0; }
  .contact-direct__icon { width: 52px; height: 52px; flex: 0 0 52px; font-size: 13px; }
  .contact-number { font-size: clamp(24px, 8vw, 32px); }
  .contact-direct .contact-number { font-size: clamp(22px, 7.2vw, 28px); white-space: nowrap; }
  .page-contact .contact-direct .section-title,
  .page-contact .contact-form-section .section-title {
    font-size: clamp(24px, 7vw, 28px);
    line-height: 1.5;
    letter-spacing: -.035em;
    text-wrap: balance;
    word-break: normal;
    overflow-wrap: normal;
    line-break: strict;
  }

  .page-contact .contact-form-section .section-title {
    white-space: nowrap;
  }
  .contact-guidance { margin-bottom: 28px; }
  .contact-guidance p { font-size: 13px; }
  .contact-form__table,
  .contact-form__table tbody,
  .contact-form__table tr,
  .contact-form__table th,
  .contact-form__table td { display: block; width: 100%; }
  .contact-form__table th { padding: 17px 16px 8px; border-bottom: 0; }
  .contact-form__table td { padding: 8px 16px 20px; }
  .contact-options { display: grid; gap: 5px; }
  .contact-options label { min-height: 46px; }
  .postal-field { flex-wrap: wrap; gap: 8px; }
  .postal-field .form-control { width: calc(100% - 28px); max-width: none; }
  .postal-note { width: 100%; padding-left: 28px; }
  .contact-form .privacy-box { height: 250px; max-height: 250px; margin-top: 30px; padding: 22px 18px; }
  .contact-consent { align-items: flex-start; justify-content: flex-start; min-height: 54px; font-size: 14px; }
  .contact-consent input { flex: 0 0 22px; width: 22px; height: 22px; }
  .contact-actions,
  .confirm-only { flex-direction: column; gap: 12px; margin-top: 28px; }
  .contact-actions .against-button,
  .confirm-only .against-button { width: 100%; min-width: 0; min-height: 58px; padding-inline: 20px; }
  .contact-actions .against-button span { font-size: 14px; }
  .footer-menu { display: block; width: 100%; margin-top: 34px; border-top: 1px solid #cfe2d6; }
  .footer-menu a { display: flex; align-items: center; justify-content: space-between; min-height: 56px; padding: 10px 4px; border-bottom: 1px solid #cfe2d6; font-size: 16px; }
  .footer-menu a::after { content: "›"; color: var(--against-green); font-size: 22px; }
  .copyright { margin-top: 42px; padding-top: 0; border-top: 0; }
  .company-message__heading { margin-bottom: 28px; }
  .company-message__layout { display: block; }
  .company-message__photo { margin: 0 0 48px; }
  .company-message__photo::before { left: -10px; bottom: -10px; }
  .company-message__photo img { aspect-ratio: .88; }
  .company-message__content h3 { margin-bottom: 24px; font-size: 23px; line-height: 1.65; }
  .company-message__content p { font-size: 15px; line-height: 1.95; }
  .company-message__signature { margin-top: 28px !important; }
  .company-map { height: 390px; margin-top: 30px; }
  .company-map::after { padding: 9px 14px; font-size: 10px; }
  .company-access::before { top: 56px; font-size: 72px; }
  .company-access__list { grid-template-columns: 1fr; gap: 14px; margin: 22px 0 0; }
  .company-access__list > div + div .access-card { border-left: 1px solid var(--against-line); }
  .page-company .access-card { padding: 24px 20px; }
  .page-company .access-card p { margin-left: 62px; font-size: 15px; }
  .page-company .profile-table th,
  .page-company .profile-table td { display: block; width: 100%; padding-inline: 16px; }
  .page-company .profile-table th { padding-top: 16px; padding-bottom: 5px; }
  .page-company .profile-table td { padding-top: 5px; padding-bottom: 16px; }
  .company-map { height: 320px; }
  .page-company .access-card { min-height: 0; }
}

@media print {
  .site-header { position: static !important; }
  .reveal { opacity: 1; transform: none; }
  .navbar-toggler { display: none; }
}

/* =========================================================
   FINAL BUTTON MOTION
   CodePen reference: bNezXBr
========================================================= */
.against-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 265px;
  min-height: 55px;
  padding: 0 78px 0 48px;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #13aa55, #cfe800);
  color: #fff;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  isolation: isolate;
  transition: box-shadow .55s cubic-bezier(.4,0,.2,1);
}

/* hover時の白背景 */
.against-button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: #fff;
  opacity: 0;
  transition: opacity .55s cubic-bezier(.4,0,.2,1);
}

/* hover時のグラデーション枠 */
.against-button::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  margin: 0;
  padding: 2px;
  border-radius: inherit;
  background: linear-gradient(90deg, #13aa55, #cfe800);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  pointer-events: none;
  transition: opacity .55s cubic-bezier(.4,0,.2,1);
}

.against-button__text {
  position: relative;
  z-index: 2;
  color: #fff;
  white-space: nowrap;
  transition:
    color .55s cubic-bezier(.4,0,.2,1) .08s;
}

/* 通常時の白丸 */
.against-button__circle {
  position: absolute;
  right: 42px;
  top: 50%;
  z-index: 2;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  transform: translateY(-50%);
  opacity: 1;
  transition:
    transform .55s cubic-bezier(.4,0,.2,1),
    opacity .55s cubic-bezier(.4,0,.2,1);
}

/* hover時に入ってくる矢印 */
.against-button__arrow {
  position: absolute;
  right: 36px;
  top: 50%;
  z-index: 2;
  width: 22px;
  height: 14px;
  transform: translate(-10px, -50%);
  opacity: 0;
  transition:
    transform .55s cubic-bezier(.4,0,.2,1),
    opacity .55s cubic-bezier(.4,0,.2,1);
}

.against-button__arrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #13aa55, #cfe800);
  transform: translateY(-50%);
}

.against-button__arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 2px solid #cfe800;
  border-right: 2px solid #cfe800;
  transform: translateY(-50%) rotate(45deg);
}

.against-button:hover,
.against-button:focus-visible {
  color: #fff;
  transform: none;
  box-shadow: none;
}

.against-button:hover::before,
.against-button:focus-visible::before,
.against-button:hover::after,
.against-button:focus-visible::after {
  opacity: 1;
}

.against-button:hover .against-button__circle,
.against-button:focus-visible .against-button__circle {
  transform: translate(40px, -50%);
  opacity: 0;
}

.against-button:hover .against-button__arrow,
.against-button:focus-visible .against-button__arrow {
  transform: translate(0, -50%);
  opacity: 1;
}

.against-button:hover .against-button__text,
.against-button:focus-visible .against-button__text {
  background: linear-gradient(90deg, #13aa55, #cfe800);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.against-button:focus-visible {
  outline: 3px solid rgba(19, 170, 85, .18);
  outline-offset: 4px;
}

/* 戻るボタンだけは既存のグレー表現を維持 */
.against-button--back,
.against-button--back:hover,
.against-button--back:focus-visible {
  background: #e7ece8;
  color: var(--against-ink);
}

.against-button--back::before,
.against-button--back::after,
.against-button--back .against-button__arrow {
  display: none;
}

.against-button--back .against-button__text,
.against-button--back:hover .against-button__text,
.against-button--back:focus-visible .against-button__text {
  background: none;
  color: var(--against-ink);
  -webkit-text-fill-color: currentColor;
}

.against-button--back .against-button__circle,
.against-button--back:hover .against-button__circle,
.against-button--back:focus-visible .against-button__circle {
  background: #7d8981;
  transform: translateY(-50%);
  opacity: 1;
}

@media (max-width: 767.98px) {
  .against-button {
    padding-right: 66px;
    padding-left: 30px;
  }

  .against-button__circle {
    right: 32px;
  }

  .against-button__arrow {
    right: 26px;
  }

  .contact-actions .against-button__text,
  .confirm-only .against-button__text {
    white-space: normal;
    line-height: 1.45;
  }
}

@media (prefers-reduced-motion: reduce) {
  .against-button,
  .against-button::before,
  .against-button::after,
  .against-button__text,
  .against-button__circle,
  .against-button__arrow {
    transition: none;
  }
}

/* =========================================================
   CONTACT / MF01 confirmation buttons
   システム設置後の input ボタン用
========================================================= */
.page-contact .contact-form-section p[style*="text-align:center"] {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin: 36px 0 0;
}

.page-contact .contact-form-section p[style*="text-align:center"] input[type="button"],
.page-contact .contact-form-section p[style*="text-align:center"] input[type="submit"] {
  width: 265px;
  min-height: 55px;
  margin: 0 !important;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, opacity .25s ease;
}

.page-contact .contact-form-section p[style*="text-align:center"] input[type="submit"] {
  color: #fff;
  background: linear-gradient(90deg, #13aa55, #cfe800);
}

.page-contact .contact-form-section p[style*="text-align:center"] input[type="button"] {
  color: var(--against-ink);
  background: #e7ece8;
}

.page-contact .contact-form-section p[style*="text-align:center"] input[type="button"]:hover,
.page-contact .contact-form-section p[style*="text-align:center"] input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(21, 151, 76, .14);
}

.page-contact .contact-form-section p[style*="text-align:center"] input[type="button"]:focus-visible,
.page-contact .contact-form-section p[style*="text-align:center"] input[type="submit"]:focus-visible {
  outline: 3px solid rgba(19, 170, 85, .18);
  outline-offset: 4px;
}

@media (max-width: 767.98px) {
  .page-contact .contact-form-section p[style*="text-align:center"] {
    flex-direction: column;
    gap: 12px;
    margin-top: 28px;
  }

  .page-contact .contact-form-section p[style*="text-align:center"] input[type="button"],
  .page-contact .contact-form-section p[style*="text-align:center"] input[type="submit"] {
    width: 100%;
    min-height: 58px;
  }
}
