/*
Theme Name: RIALL
Theme URI: https://www.rosella.co.jp
Author: Rosella Inc.
Description: Corporate website theme for RIALL Inc.
Version: 1.1.0
Text Domain: riall
*/

:root {
  --blue: #008ee6;
  --blue-dark: #0069ca;
  --blue-navy: #042544;
  --green: #9dd300;
  --green-dark: #7fa800;
  --green-text: #6b8f00;
  --ink: #111820;
  --ink-light: #334150;
  --muted: #556270;
  --line: #d6e6f2;
  --card-border: #bfddf2;
  --pale-bg: #f4f9fd;
  --pale-blue: #eef7fc;
  --max: 1160px;
  --radius: 8px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 15px;
  line-height: 1.85;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; transition: color 150ms ease, opacity 150ms ease; }
img { display: block; max-width: 100%; height: auto; }
.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }

/* ==========================================================================
   Site Header
   ========================================================================== */
.site-header {
  height: 78px;
  display: flex;
  align-items: center;
  background: #ffffff;
  border-bottom: 1px solid #eef4f9;
  position: relative;
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  width: min(1280px, calc(100% - 40px));
  margin: auto;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
}
.brand-mark {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 800;
  font-size: 38px;
  line-height: 1;
  color: var(--blue);
  letter-spacing: -6px;
}
.brand-mark span {
  color: var(--green);
  font-size: 29px;
  margin-left: 2px;
}
.brand-copy {
  display: flex;
  flex-direction: column;
}
.brand-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.brand-tagline {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-top: 2px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 42px;
  font-weight: 700;
  font-size: 14px;
}
.site-nav a {
  position: relative;
  padding: 27px 0;
  white-space: nowrap;
  color: var(--ink);
}
.site-nav a:hover {
  color: var(--blue);
}
.site-nav a[aria-current="page"] {
  color: var(--blue);
}
.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  height: 3px;
  background: var(--blue);
  border-radius: 2px;
}
.mobile-contact-link { display: none; }

.contact-nav {
  align-self: stretch;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 28px 0 36px;
  background: var(--green);
  color: #1a2900;
  font-size: 14px;
  font-weight: 800;
  clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%, 8% 50%);
  transition: opacity 160ms ease, transform 160ms ease;
}
.contact-nav:hover {
  opacity: 0.92;
}
.contact-nav-icon { display: grid; place-items: center; }
.contact-nav-icon svg { width: 18px; height: 18px; }

.mobile-toggle {
  display: none;
  position: relative;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(0, 105, 202, 0.18);
  border-radius: 50%;
  background: linear-gradient(145deg, var(--blue), var(--blue-dark));
  color: #ffffff;
  box-shadow: 0 7px 18px rgba(0, 105, 202, 0.2);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 140ms var(--ease-out), box-shadow 160ms ease, filter 160ms ease;
}
.mobile-toggle span {
  position: absolute;
  left: 13px;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform-origin: center;
  transition: transform 180ms var(--ease-out), top 180ms var(--ease-out), opacity 120ms ease, width 180ms var(--ease-out);
}
.mobile-toggle span:nth-child(1) { top: 16px; }
.mobile-toggle span:nth-child(2) { top: 22px; width: 12px; }
.mobile-toggle span:nth-child(3) { top: 28px; }
.mobile-toggle:active { transform: scale(0.96); }
.mobile-toggle:focus-visible { outline: 3px solid rgba(0, 142, 230, 0.28); outline-offset: 3px; }
.mobile-toggle[aria-expanded="true"] { box-shadow: 0 5px 14px rgba(0, 105, 202, 0.16); }
.mobile-toggle[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.mobile-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: translateX(-4px); }
.mobile-toggle[aria-expanded="true"] span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

@media (hover: hover) and (pointer: fine) {
  .mobile-toggle:hover { filter: brightness(1.06); box-shadow: 0 9px 22px rgba(0, 105, 202, 0.26); }
}

/* ==========================================================================
   Top Page - Hero
   ========================================================================== */
.hero-front {
  min-height: 540px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(110deg, #ffffff 0 48%, #edf8ff 48%);
}
.hero-front::before {
  content: "";
  position: absolute;
  right: 29%;
  top: 92px;
  z-index: 3;
  width: 140px;
  height: 24px;
  border-radius: 8px;
  background: var(--green);
  transform: rotate(-63deg);
}
.hero-front .hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 42% 58%;
  align-items: center;
  min-height: 540px;
}
.hero-copy {
  padding-left: 18px;
  z-index: 2;
}
.hero-copy h1 {
  margin: 0 0 22px;
  font-size: clamp(40px, 4.2vw, 58px);
  line-height: 1.32;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--ink);
}
.hero-copy h1 em {
  color: var(--green);
  font-style: normal;
}
.hero-copy p {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 2;
  color: var(--ink-light);
}
.hero-visual {
  position: absolute;
  right: -7%;
  top: 0;
  width: 64%;
  height: 100%;
  clip-path: polygon(28% 0, 100% 0, 88% 100%, 0 100%);
  z-index: 1;
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-visual::after {
  content: "RIALL";
  position: absolute;
  inset: 23% auto auto -7%;
  color: #ffffff;
  font: 800 clamp(84px, 12vw, 175px)/1 Arial, sans-serif;
  letter-spacing: -0.08em;
  text-shadow: 0 8px 30px rgba(0, 80, 150, 0.2);
}
.slashes {
  position: absolute;
  right: 5%;
  bottom: 34px;
  z-index: 4;
  display: flex;
  gap: 28px;
  transform: skewX(-24deg);
}
.slashes i {
  width: 42px;
  height: 120px;
  border-radius: 9px;
  background: var(--blue);
}
.slashes i:last-child {
  height: 95px;
  background: var(--green);
  opacity: 0.9;
}

/* ==========================================================================
   Section Common
   ========================================================================== */
.section {
  padding: 56px 0;
}
.section-title {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 28px;
  color: var(--blue);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1;
}
.section-title .divider {
  width: 38px;
  height: 2px;
  background: var(--blue);
  border-radius: 1px;
}
.section-title .ja {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.08em;
}

/* ==========================================================================
   Top Page - Strengths (私たちの強み)
   ========================================================================== */
.section-strengths {
  background: linear-gradient(180deg, #f7fbfe 0%, #edf6fc 100%);
  padding-top: 20px;
  padding-bottom: 50px;
}
.strengths-heading-wrap {
  margin-bottom: 34px;
}
.strengths-title {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.strengths-line-dot {
  position: relative;
  width: 46px;
  height: 3px;
  background: var(--green);
  border-radius: 2px;
}
.strengths-line-dot::after {
  content: "";
  position: absolute;
  right: -8px;
  top: -2.5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}
.strengths-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.strength-card {
  padding: 0 26px;
  border-right: 1px solid #d4dfe7;
  text-align: center;
}
.strength-card:first-child { padding-left: 0; }
.strength-card:last-child { border-right: none; padding-right: 0; }

.strength-icon-ring {
  width: 74px;
  height: 74px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1.5px solid var(--blue);
  color: var(--blue);
  transition: transform 180ms ease;
}
.strength-green .strength-icon-ring {
  border-color: var(--green);
  color: var(--green);
}
.strength-icon-ring svg {
  width: 38px;
  height: 38px;
}
.strength-card h3 {
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 10px;
  color: var(--ink);
}
.strength-card p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--ink-light);
  text-align: left;
}

/* ==========================================================================
   Top Page - Service Grid
   ========================================================================== */
.section-service-top {
  background: linear-gradient(180deg, #f7fbfe 0%, #edf6fc 100%);
  padding: 60px 0;
}
.service-grid-top {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.service-row {
  display: grid;
  gap: 16px;
}
.service-row-4 {
  grid-template-columns: repeat(4, 1fr);
}
.service-row-3 {
  grid-template-columns: repeat(3, 1fr);
  width: 75%;
  margin: 0 auto;
}
.service-mini-card {
  min-height: 190px;
  padding: 20px 18px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 3px 12px rgba(0, 60, 120, 0.04);
  transition: transform 160ms var(--ease-out), box-shadow 160ms var(--ease-out);
}
.service-mini-card .card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
}
.service-mini-card .num {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 900;
  font-size: 26px;
  line-height: 1;
  color: var(--green);
}
.service-mini-card .mini-icon {
  color: var(--blue);
  display: flex;
  align-items: center;
}
.service-mini-card .mini-icon svg {
  width: 32px;
  height: 32px;
}
.service-mini-card h3 {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.5;
  margin: 0 0 8px;
  color: var(--ink);
}
.service-mini-card p {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--muted);
}

/* ==========================================================================
   RIALL 光 Banner
   ========================================================================== */
.fiber-banner {
  margin-top: 28px;
  min-height: 118px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--blue);
  border-radius: var(--radius);
  background: linear-gradient(115deg, #ffffff 48%, #c5e9ff 95%);
  box-shadow: 0 4px 18px rgba(0, 110, 200, 0.06);
}
.fiber-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 24px 34px;
  min-height: 118px;
}
.fiber-brand {
  white-space: nowrap;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 38px;
  font-weight: 400;
  line-height: 1;
}
.fiber-logo-riall {
  color: var(--blue-dark);
  font-weight: 700;
}
.fiber-logo-hikari {
  color: var(--green);
  font-weight: 800;
  font-size: 46px;
  font-family: "Noto Sans JP", sans-serif;
}
.fiber-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.fiber-copy strong {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
}
.fiber-copy span {
  font-size: 12.5px;
  color: var(--ink-light);
  font-weight: 600;
}
.fiber-action {
  margin-left: auto;
  z-index: 3;
}
/* ==========================================================================
   Buttons
   ========================================================================== */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: 24px;
  font-weight: 800;
  font-size: 13px;
  line-height: 1.2;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: transform 140ms var(--ease-out), filter 140ms ease, box-shadow 140ms ease;
}
.button:active {
  transform: scale(0.97);
}
.button-message {
  background: var(--blue);
  color: #ffffff;
  border-radius: 20px;
  padding: 10px 20px;
}
.button-message:hover {
  background: var(--blue-dark);
}
.button-fiber {
  background: var(--blue);
  color: #ffffff;
  padding: 12px 26px;
  border-radius: 6px;
  font-size: 13.5px;
}
.button-fiber:hover {
  background: var(--blue-dark);
}
.btn-arrow {
  font-size: 16px;
  line-height: 1;
}

/* ==========================================================================
   Top Page - Message Section
   ========================================================================== */
.section-message {
  background: linear-gradient(110deg, #f2f8fc 0%, #e6f3fb 100%);
  padding: 0;
  overflow: hidden;
}
.message-inner {
  display: grid;
  grid-template-columns: 38% 62%;
  align-items: stretch;
  min-height: 240px;
}
.message-copy {
  padding: 38px 24px 34px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.message-copy .section-title {
  margin-bottom: 14px;
}
.message-text {
  margin: 0 0 20px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.85;
  color: var(--ink);
}
.message-visual-wrap {
  position: relative;
  display: flex;
  align-items: stretch;
}
.message-visual-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   News & Contact Section
   ========================================================================== */
.news-contact {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
  padding-block: 48px;
}
.news-section {
  display: flex;
  flex-direction: column;
}
.news-section .section-title {
  margin-bottom: 18px;
  color: var(--blue);
}
.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.news-list li {
  display: grid;
  grid-template-columns: 90px 76px 1fr;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #dce8f0;
  font-size: 12.5px;
}
.news-list time {
  color: var(--ink-light);
  font-family: Arial, Helvetica, sans-serif;
}
.news-tag {
  display: inline-block;
  text-align: center;
  padding: 2px 6px;
  border: 1px solid var(--blue);
  color: var(--blue);
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
}
.news-link {
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 600;
}
.news-link:hover {
  color: var(--blue);
}
.news-more {
  display: inline-block;
  margin-top: 14px;
  color: var(--blue);
  font-size: 12.5px;
  font-weight: 800;
}
.news-more:hover {
  color: var(--blue-dark);
}

/* Contact Card (Parallelogram CTA) */
.contact-card {
  position: relative;
  background: linear-gradient(110deg, #005bb5 0%, #008ee6 100%);
  color: #ffffff;
  padding: 28px 36px;
  clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%);
  text-align: center;
  box-shadow: 0 12px 32px rgba(0, 100, 200, 0.15);
}
.contact-card-inner {
  max-width: 380px;
  margin: 0 auto;
}
.contact-card-lead {
  margin: 0 0 6px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.contact-card-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 2px 0;
}
.phone-icon {
  display: flex;
  align-items: center;
}
.phone-icon svg {
  width: 26px;
  height: 26px;
  fill: #ffffff;
}
.phone-number {
  color: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.1;
}
.contact-card-hours {
  margin: 4px 0 14px;
  font-size: 11.5px;
  opacity: 0.9;
}
.button-contact-form {
  width: 90%;
  margin: 0 auto;
  background: var(--green);
  color: #192700;
  font-size: 14px;
  font-weight: 800;
  border-radius: 6px;
  padding: 11px 20px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}
.button-contact-form:hover {
  filter: brightness(1.05);
}
.button-contact-form .mail-icon svg {
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   Service Page (事業案内)
   ========================================================================== */
.page-hero-service {
  min-height: 420px;
  position: relative;
  background: #ffffff;
  border-bottom: 1px solid #dcebf6;
  overflow: hidden;
}
.page-hero-service::before {
  content: "";
  position: absolute;
  right: 47%;
  top: 130px;
  z-index: 3;
  width: 140px;
  height: 24px;
  border-radius: 8px;
  background: var(--blue);
  transform: rotate(-63deg);
}
.page-hero-inner {
  display: grid;
  grid-template-columns: 42% 58%;
  align-items: center;
  min-height: 420px;
}
.page-hero-copy h1 {
  font-size: clamp(36px, 4vw, 50px);
  font-weight: 900;
  letter-spacing: 0.06em;
  margin: 0 0 14px;
  color: var(--ink);
}
.title-rule {
  width: 50px;
  height: 3px;
  background: var(--blue);
  margin-bottom: 22px;
  border-radius: 2px;
}
.page-hero-copy p {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.85;
  color: var(--ink-light);
}
.page-hero-service .page-visual {
  position: absolute;
  right: -3%;
  top: 24px;
  width: 56%;
  height: 396px;
  clip-path: polygon(24% 0, 100% 0, 86% 100%, 0 100%);
}
.page-hero-service .page-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-service-detailed {
  background: #ffffff;
  padding: 56px 0 70px;
}
.service-detailed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}
.services-detailed-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}
.service-detail-card {
  display: grid;
  grid-template-columns: 38% 62%;
  min-height: 210px;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 3px 12px rgba(0, 70, 130, 0.03);
}
.service-detail-card .card-thumb {
  position: relative;
  overflow: hidden;
}
.service-detail-card .card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-detail-card .card-body {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.card-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.card-icon-ring {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1.5px solid currentColor;
}
.card-icon-ring svg {
  width: 24px;
  height: 24px;
}
.card-title {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.45;
}
.card-desc {
  margin: 0;
  font-size: 12px;
  line-height: 1.7;
  color: var(--ink-light);
}

/* Alternating Blue / Green Styling for Detailed Cards */
.theme-blue {
  color: var(--blue-dark);
}
.theme-blue .card-title {
  color: var(--blue-dark);
}
.theme-blue .card-icon-ring {
  color: var(--blue);
}

.theme-green {
  color: var(--green-dark);
}
.theme-green .card-title {
  color: var(--green-text);
}
.theme-green .card-icon-ring {
  color: var(--green);
}

.service-detail-deco {
  border: none;
  background: transparent;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}
.service-detail-deco img {
  width: 100%;
  height: auto;
  max-height: 180px;
  object-fit: contain;
}

/* ==========================================================================
   Site Footer
   ========================================================================== */
.site-footer {
  padding: 40px 0 20px;
  background: #ffffff;
  border-top: 1px solid #eef4f9;
}
.footer-inner {
  display: flex;
  align-items: flex-end;
  gap: 32px;
}
.footer-brand {
  margin-right: auto;
}
.footer-address {
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 6px;
}
.footer-links {
  display: flex;
  gap: 32px;
  font-size: 12.5px;
  font-weight: 700;
}
.footer-links a:hover {
  color: var(--blue);
}
.copyright {
  font-size: 11px;
  color: var(--muted);
}

/* ==========================================================================
   Subpages / Contact Page
   ========================================================================== */
.eyebrow {
  display: block;
  margin-bottom: 10px;
  color: var(--blue);
  font: 800 14px/1 Arial, sans-serif;
  letter-spacing: 0.2em;
}
.subpage-heading {
  padding: 60px 0 45px;
  background: linear-gradient(120deg, #f5fbff, #e8f6ff);
}
.subpage-heading h1 { margin: 0 0 10px; font-size: 42px; font-weight: 900; }
.subpage-heading p { margin: 0; color: var(--muted); }

.contact-hero {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-bottom: 1px solid #d7e9f7;
}
.contact-hero::before {
  content: "";
  position: absolute;
  z-index: 3;
  right: 47%;
  top: 130px;
  width: 140px;
  height: 24px;
  border-radius: 8px;
  background: var(--blue);
  transform: rotate(-63deg);
}
.contact-hero > .container {
  display: grid;
  grid-template-columns: 42% 58%;
  align-items: center;
  min-height: 420px;
}
.contact-hero h1 {
  margin: 0 0 16px;
  font-size: 48px;
  letter-spacing: 0.08em;
}
.contact-hero p {
  max-width: 470px;
  font-size: 14px;
  font-weight: 600;
}
.contact-hero .page-visual {
  position: absolute;
  right: -3%;
  top: 24px;
  width: 56%;
  height: 396px;
  clip-path: polygon(24% 0, 100% 0, 86% 100%, 0 100%);
}
.contact-hero .page-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  gap: 50px;
  align-items: start;
}
.contact-aside { position: sticky; top: 28px; padding: 8px 0; }
.contact-aside h2 { margin: 0 0 20px; font-size: 30px; line-height: 1.45; }
.contact-aside p { color: var(--muted); font-size: 13px; }
.contact-phone {
  margin-top: 28px;
  padding: 24px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0069ca, #00a0eb);
  color: #ffffff;
}
.contact-phone small, .contact-phone span { display: block; }
.contact-phone strong {
  display: block;
  margin: 4px 0;
  font-family: Arial, sans-serif;
  font-size: 26px;
  font-weight: 800;
}

.contact-form-card {
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 16px 45px rgba(0, 70, 120, 0.06);
}
.riall-form-grid { display: block; }
.riall-form-grid > p:first-child {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
}
.riall-form-grid > p:first-child > br { display: none; }
.field-wide { grid-column: 1 / -1; }
.riall-form-grid .consent { margin-top: 22px; }
.riall-form-grid .submit-wrap { margin-top: 14px; }
.field > span {
  display: block;
  margin-bottom: 7px;
  font-size: 13px;
  font-weight: 800;
}
.field em {
  margin-left: 7px;
  padding: 2px 7px;
  border-radius: 3px;
  background: #eaf6d0;
  color: #638d00;
  font-size: 10px;
  font-style: normal;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cbdbe7;
  border-radius: 6px;
  background: #fbfdff;
  font: inherit;
  line-height: 1.5;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.field textarea { height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 142, 230, 0.12);
}
.consent { font-size: 13px; text-align: center; }
.submit-wrap { text-align: center; }
.submit-wrap input {
  min-width: 260px;
  padding: 14px 28px;
  border: none;
  border-radius: 7px;
  background: linear-gradient(90deg, var(--blue-dark), var(--blue));
  color: #ffffff;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  transition: transform 140ms var(--ease-out);
}
.submit-wrap input:active { transform: scale(0.97); }

.tag {
  border: 1px solid var(--blue);
  border-radius: 3px;
  color: var(--blue);
  text-align: center;
  line-height: 1.6;
  font-size: 11px;
  font-weight: 700;
}
.news-archive article {
  position: relative;
  display: grid;
  grid-template-columns: 120px 90px 1fr 24px;
  align-items: center;
  gap: 18px;
  padding: 22px 8px;
  border-bottom: 1px solid var(--line);
}
.news-archive-section { padding-top: 48px; }
.news-archive-shell { max-width: 900px; }
.news-archive article {
  grid-template-columns: 110px 82px minmax(0, 1fr) 20px;
  gap: 14px;
  padding: 19px 4px;
}
.news-archive h2 { margin: 0; font-size: 16px; }
.news-archive h2 a:hover { color: var(--blue-dark); }
.news-archive .arrow { color: var(--blue); font-size: 26px; }
.article-shell { max-width: 900px; }
.news-article { padding: 6px 0; }
.article-meta { display: flex; align-items: center; gap: 18px; }
.news-article h1 {
  margin: 18px 0 30px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  font-size: 34px;
  line-height: 1.45;
}
.article-body { min-height: 160px; margin-bottom: 36px; }

/* ==========================================================================
   Company and Access Pages
   ========================================================================== */
.company-page-hero {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: center;
  background: linear-gradient(118deg, #ffffff 0 58%, #edf8ff 58% 100%);
  border-bottom: 1px solid #dcebf6;
}
.company-page-hero::before,
.company-page-hero::after {
  content: "";
  position: absolute;
  border-radius: 7px;
  transform: skewX(-24deg);
}
.company-page-hero::before {
  right: 13%;
  top: -30px;
  width: 38px;
  height: 220px;
  background: var(--blue);
}
.company-page-hero::after {
  right: 7%;
  bottom: -42px;
  width: 30px;
  height: 170px;
  background: var(--green);
}
.company-page-hero-inner { position: relative; z-index: 2; }
.company-page-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(38px, 4.2vw, 52px);
  line-height: 1.25;
  letter-spacing: 0.07em;
}
.company-page-hero p {
  max-width: 650px;
  margin: 0;
  color: var(--ink-light);
  font-size: 14px;
  font-weight: 600;
}
.company-page-hero-image {
  min-height: 420px;
  background: #ffffff;
}
.company-page-hero-image::before {
  right: 47%;
  top: 130px;
  z-index: 3;
  width: 140px;
  height: 24px;
  background: var(--blue);
  transform: rotate(-63deg);
}
.company-page-hero-image::after { display: none; }
.company-page-hero-image .company-page-hero-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 420px;
}
.company-page-hero-visual {
  position: absolute;
  right: -3%;
  top: 24px;
  width: 56%;
  height: 396px;
  clip-path: polygon(24% 0, 100% 0, 86% 100%, 0 100%);
}
.company-page-hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.company-anchor-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.company-anchor-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.company-anchor-inner a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 66px;
  border-right: 1px solid var(--line);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}
.company-anchor-inner a:first-child { border-left: 1px solid var(--line); }
.company-anchor-inner a span {
  color: var(--blue);
  font: 800 11px/1 Arial, sans-serif;
}
.company-section { scroll-margin-top: 74px; padding: 72px 0; }
.company-section-heading { margin-bottom: 28px; }
.company-section-heading > span,
.access-label {
  display: block;
  margin-bottom: 8px;
  color: var(--blue);
  font: 800 12px/1 Arial, sans-serif;
  letter-spacing: 0.18em;
}
.company-section-heading h2 {
  position: relative;
  margin: 0;
  padding-bottom: 15px;
  font-size: 30px;
  line-height: 1.3;
}
.company-section-heading h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 54px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--blue) 0 70%, var(--green) 70%);
}
.company-origin { background: linear-gradient(180deg, #f7fbfe, #edf6fc); }
.company-origin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  align-items: center;
  gap: 76px;
}
.company-lead {
  margin: 0 0 24px;
  color: var(--blue-dark);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.7;
}
.company-copy p {
  margin: 0 0 16px;
  color: var(--ink-light);
  font-size: 13.5px;
  line-height: 2;
}
.philosophy-mark {
  position: relative;
  min-height: 360px;
  padding: 42px 38px 36px 124px;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(145deg, #006cca, #00a0e9);
  color: #ffffff;
  box-shadow: 0 18px 46px rgba(0, 89, 166, 0.18);
}
.philosophy-mark > strong {
  position: absolute;
  left: 14px;
  top: -36px;
  color: rgba(255, 255, 255, 0.18);
  font: italic 900 250px/1 Arial, sans-serif;
}
.philosophy-mark ul { position: relative; z-index: 2; list-style: none; margin: 0; padding: 0; }
.philosophy-mark li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  font: 700 13px/1.4 Arial, "Noto Sans JP", sans-serif;
}
.philosophy-mark li span { color: #c8ee59; font-size: 10px; letter-spacing: 0.1em; }
.company-message { background: #ffffff; }
.company-message-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 70px;
}
.company-message-image {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: 12px;
  clip-path: polygon(0 0, 100% 0, 86% 100%, 0 100%);
}
.company-message-image img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; }
.company-message-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 45, 82, 0.55));
}
.company-message-image span {
  position: absolute;
  left: 30px;
  bottom: 28px;
  z-index: 2;
  color: #ffffff;
  font: 800 18px/1 Arial, sans-serif;
  letter-spacing: 0.16em;
}
.company-signature {
  margin: 24px 0 0;
  text-align: right;
  font-size: 19px;
  font-weight: 800;
}
.company-signature span { margin-right: 12px; font-size: 12px; color: var(--muted); }
.company-profile { background: linear-gradient(180deg, #f7fbfe, #edf6fc); }
.company-profile-inner { max-width: 960px; }
.company-data {
  overflow: hidden;
  margin: 0;
  border-top: 2px solid var(--blue);
  background: #ffffff;
  box-shadow: 0 12px 36px rgba(0, 70, 120, 0.06);
}
.company-data > div {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  border-bottom: 1px solid var(--line);
}
.company-data dt,
.company-data dd { margin: 0; padding: 18px 22px; }
.company-data dt { background: #edf7fd; color: var(--blue-dark); font-size: 12.5px; font-weight: 800; }
.company-data dd { color: var(--ink-light); font-size: 13px; }
.company-data ul { margin: 0; padding-left: 1.25em; }
.company-data a { color: var(--blue-dark); font-weight: 800; }
.access-section { background: linear-gradient(180deg, #ffffff, #f4f9fd); }
.access-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  gap: 28px;
  align-items: stretch;
  min-height: 520px;
}
.access-info-card {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 44px;
  padding: 44px 42px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 16px 44px rgba(0, 70, 120, 0.09);
}
.access-info-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 46px;
  width: 4px;
  height: 72px;
  border-radius: 0 4px 4px 0;
  background: linear-gradient(var(--blue) 0 68%, var(--green) 68%);
}
.access-info-card h2 { margin: 0 0 14px; font-size: 27px; }
.access-info-card address { color: var(--ink-light); font-size: 14px; font-style: normal; line-height: 1.9; }
.access-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.access-contact-item {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 7px;
  padding: 16px 17px;
  border: 1px solid #dceaf2;
  border-radius: 10px;
  background: #f7fbfd;
  color: var(--ink);
}
.access-contact-label {
  color: var(--blue);
  font: 700 10px/1 Arial, sans-serif;
  letter-spacing: 0.16em;
}
.access-contact-item strong {
  font: 700 17px/1.25 Arial, sans-serif;
  letter-spacing: 0.015em;
  white-space: nowrap;
}
.access-map-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 14px;
  padding: 10px 10px 10px 17px;
  border: 1px solid #d6e6ee;
  border-radius: 11px;
  background: #ffffff;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: border-color 160ms ease, background-color 160ms ease, transform 120ms ease;
}
.access-map-link-icon {
  display: grid;
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: #ffffff;
  font: 700 15px/1 Arial, sans-serif;
}
.access-map-link:active { transform: scale(0.985); }
.access-map {
  overflow: hidden;
  border-radius: 14px;
  background: #eaf3f8;
  box-shadow: 0 12px 36px rgba(0, 70, 120, 0.09);
}
.access-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 520px;
  filter: grayscale(1) contrast(0.92);
}

@media (hover: hover) and (pointer: fine) {
  .company-anchor-inner a:hover { color: var(--blue-dark); background: #f4faff; }
  .access-map-link:hover { border-color: #afcfdf; background: #f7fbfd; }
}

@media (hover: hover) and (pointer: fine) {
  .service-mini-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 60, 120, 0.08);
  }
}

/* ==========================================================================
   Responsive / Mobile Styles
   ========================================================================== */
@media (max-width: 960px) {
  body.menu-is-open { overflow: hidden; }
  .site-header { height: 68px; z-index: 100; }
  .contact-nav { display: none; }
  .mobile-toggle { display: block; z-index: 103; }
  .site-nav {
    counter-reset: menu;
    display: flex;
    position: fixed;
    z-index: 102;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(88vw, 410px);
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    padding: 92px 34px 36px;
    background: linear-gradient(155deg, #052b50 0%, #006fca 60%, #008ee6 100%);
    color: #ffffff;
    box-shadow: -24px 0 60px rgba(1, 36, 66, 0.28);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(100%);
    transition: transform 260ms var(--ease-drawer), opacity 180ms var(--ease-out), visibility 0s linear 260ms;
  }
  .site-nav::before {
    content: "RIALL";
    position: absolute;
    right: -12px;
    top: 88px;
    color: rgba(255, 255, 255, 0.075);
    font: 800 72px/1 Arial, sans-serif;
    letter-spacing: -0.08em;
    transform: rotate(90deg) translateX(100%);
    transform-origin: top right;
  }
  .site-nav::after {
    content: "";
    position: absolute;
    right: 36px;
    bottom: 28px;
    width: 16px;
    height: 78px;
    border-radius: 5px;
    background: var(--green);
    transform: skewX(-22deg);
    box-shadow: -28px 12px 0 rgba(255, 255, 255, 0.18);
  }
  .site-header.menu-open .site-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
    transition: transform 260ms var(--ease-drawer), opacity 180ms var(--ease-out), visibility 0s;
  }
  .site-nav a {
    counter-increment: menu;
    display: grid;
    grid-template-columns: 40px 1fr;
    align-items: center;
    color: #ffffff;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 19px;
    letter-spacing: 0.06em;
    opacity: 0;
    transform: translateX(14px);
    transition: transform 220ms var(--ease-out), opacity 180ms var(--ease-out);
  }
  .site-nav a::before {
    content: "0" counter(menu);
    color: #8fd5ff;
    font: 700 11px/1 Arial, sans-serif;
    letter-spacing: 0.12em;
  }
  .site-nav a[aria-current="page"]::after { display: none; }
  .site-nav a[aria-current="page"] { color: #ffffff; }
  .site-header.menu-open .site-nav a { opacity: 1; transform: translateX(0); }
  .site-header.menu-open .site-nav a:nth-child(2) { transition-delay: 35ms; }
  .site-header.menu-open .site-nav a:nth-child(3) { transition-delay: 70ms; }
  .site-header.menu-open .site-nav a:nth-child(4) { transition-delay: 105ms; }
  .site-header.menu-open .site-nav a:nth-child(5) { transition-delay: 140ms; }
  .site-nav .mobile-contact-link {
    display: grid;
    margin-top: 18px;
    background: var(--green);
    color: #142000;
    text-align: center;
    border: 0;
    border-radius: 8px;
    padding: 14px 16px;
  }
  .site-nav .mobile-contact-link::before { color: #4a6900; }
  .site-nav .mobile-contact-link[aria-current="page"] { color: #142000; }

  .hero-front, .hero-front .hero-inner { min-height: 620px; }
  .hero-front::before,
  .page-hero-service::before,
  .contact-hero::before,
  .company-page-hero-image::before {
    right: 2%;
    top: 90px;
    width: 112px;
    height: 20px;
  }
  .hero-front .hero-inner { display: block; }
  .hero-copy { position: relative; z-index: 3; padding: 48px 0 0; }
  .hero-copy h1 { font-size: 39px; }
  .hero-visual { top: 270px; right: -14%; width: 100%; height: 350px; opacity: 0.92; }
  .hero-visual::after { top: 17%; left: -3%; font-size: 84px; }
  .slashes { display: none; }
  .page-hero-inner { display: block; padding-top: 44px; }
  .page-hero-service { min-height: 620px; }
  .page-hero-copy h1 { font-size: 40px; }
  .page-hero-service .page-visual { top: 270px; width: 100%; height: 350px; }
  .strengths-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 0;
  }
  .strength-card:nth-child(2) { border-right: none; }
  .strength-card:nth-child(3) { border-right: 1px solid #d4dfe7; padding-left: 0; }

  .service-row-4 { grid-template-columns: repeat(2, 1fr); }
  .service-row-3 { grid-template-columns: repeat(2, 1fr); width: 100%; }

  .fiber-inner { flex-direction: column; text-align: center; gap: 16px; }
  .fiber-action { margin-left: 0; }

  .message-inner { grid-template-columns: 1fr; }
  .message-copy { padding: 30px 0 20px; }

  .news-contact { grid-template-columns: 1fr; }
  .services-detailed-grid { grid-template-columns: 1fr; }
  .service-detail-deco { display: none; }
  .contact-hero > .container { display: block; padding-top: 44px; }
  .contact-hero { min-height: 620px; }
  .contact-hero h1 { font-size: 40px; }
  .contact-hero .page-visual { top: 290px; width: 100%; height: 350px; }
  .contact-layout { grid-template-columns: 1fr; gap: 32px; }
  .contact-aside { position: static; }
  .contact-form-card { padding: 28px; }
  .news-archive article { grid-template-columns: 100px 80px 1fr 18px; }
  .footer-inner { flex-wrap: wrap; }
  .footer-links { width: 100%; flex-wrap: wrap; gap: 18px; }
  .company-origin-grid,
  .company-message-grid { grid-template-columns: 1fr; gap: 42px; }
  .company-message-image { min-height: 380px; }
  .company-message-image img { min-height: 380px; }
  .company-message-copy { order: -1; }
  .company-page-hero-image { display: block; min-height: 620px; }
  .company-page-hero-image .company-page-hero-inner {
    display: block;
    min-height: 0;
    padding-top: 44px;
  }
  .company-page-hero-visual { top: 290px; width: 100%; height: 350px; }
  .access-layout { grid-template-columns: 1fr; min-height: 0; }
  .access-info-card { gap: 26px; padding: 38px 34px; }
  .access-map { border-radius: 12px; }
  .access-map iframe { min-height: 430px; }
}

@media (max-width: 560px) {
  .hero-front::before { right: -7%; }
  .page-hero-service::before,
  .contact-hero::before,
  .company-page-hero-image::before { right: -14%; }
  .hero-copy h1 { font-size: 32px; line-height: 1.38; }
  .hero-copy p { font-size: 13px; }
  .hero-visual { right: -18%; width: 120%; }
  .page-hero-copy p { font-size: 13px; }
  .page-hero-service .page-visual { right: -18%; width: 120%; }
  .strengths-grid { grid-template-columns: 1fr; gap: 24px; }
  .strength-card { border-right: none !important; padding: 0 0 20px !important; border-bottom: 1px solid #e2ecf2; }
  .strength-card:last-child { border-bottom: none; }
  .service-row-4, .service-row-3 { grid-template-columns: 1fr; }
  .service-detail-card { grid-template-columns: 1fr; }
  .service-detail-card .card-thumb { height: 180px; }
  .contact-card { clip-path: none; border-radius: 10px; padding: 24px 18px; }
  .phone-number { font-size: 27px; }
  .contact-hero { min-height: 640px; }
  .contact-hero p { font-size: 13px; }
  .contact-hero .page-visual { top: 330px; right: -18%; width: 120%; }
  .riall-form-grid > p:first-child { grid-template-columns: 1fr; }
  .field-wide { grid-column: auto; }
  .contact-form-card { padding: 22px 16px; }
  .submit-wrap input { min-width: 0; width: 100%; }
  .contact-aside h2 { font-size: 27px; }
  .news-archive article {
    grid-template-columns: auto minmax(0, 1fr) 20px;
    gap: 8px 12px;
    padding: 20px 4px;
  }
  .news-archive time { grid-column: 1; grid-row: 1; }
  .news-archive .tag {
    grid-column: 2;
    grid-row: 1;
    min-width: 70px;
    justify-self: start;
    padding-inline: 8px;
  }
  .news-archive h2 {
    grid-column: 1 / 3;
    grid-row: 2;
    font-size: 15px;
    line-height: 1.55;
  }
  .news-archive h2 a { display: flex; min-height: 44px; align-items: center; }
  .news-archive .arrow { grid-column: 3; grid-row: 1 / 3; }
  .subpage-heading { padding: 46px 0 38px; }
  .subpage-heading h1 { font-size: 36px; }
  .news-article h1 { font-size: 26px; }
  .company-page-hero { min-height: 280px; }
  .company-page-hero::before { right: 2%; opacity: 0.18; }
  .company-page-hero::after { display: none; }
  .company-page-hero h1 { font-size: 38px; }
  .company-page-hero-image { min-height: 640px; }
  .company-page-hero-image::before { right: -14%; top: 90px; width: 112px; height: 20px; opacity: 1; }
  .company-page-hero-image .company-page-hero-visual { top: 330px; right: -18%; width: 120%; }
  .company-anchor-inner a { min-height: 58px; gap: 5px; font-size: 11.5px; }
  .company-anchor-inner a span { display: none; }
  .company-section { padding: 52px 0; }
  .company-section-heading h2 { font-size: 26px; }
  .company-lead { font-size: 20px; }
  .philosophy-mark { min-height: 330px; padding: 34px 24px 28px 90px; }
  .philosophy-mark > strong { left: 0; font-size: 210px; }
  .company-message-image,
  .company-message-image img { min-height: 300px; }
  .company-data > div { grid-template-columns: 1fr; }
  .company-data dt { padding-bottom: 8px; }
  .company-data dd { padding-top: 8px; }
  .access-info-card { padding: 26px 20px; }
  .access-contact-grid { grid-template-columns: 1fr; }
  .access-map iframe { height: 380px; min-height: 380px; }
  .field input, .field select, .field textarea { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .site-nav,
  .site-nav a,
  .mobile-toggle,
  .mobile-toggle span,
  .button,
  .submit-wrap input {
    transition-duration: 1ms !important;
    transition-delay: 0ms !important;
  }
  .site-nav { transform: none; }
}
