*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {

  scroll-behavior: auto !important;
}

:root {

  --latin: "Jost", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;

  --nav-bg: #04124d;

  --nav-fg: #ffffff;

  --nav-fg-weak: #e6ebff;

  --hero-navy: #0b1e83;

  --hero-subnavy: #0a1775;

  --footer-bg: #06086d;

  --footer-fg: #ffffff;
  --footer-weak: #c9d2ff;
}

body {
  font-family: var(--latin), var(--jp);
  line-height: 1.7;
  color: #111;
  background: #fff;
}

.container {
  max-width: 1200px;
  padding: 0 16px;
  margin: 0 auto;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  border: none;
  z-index: 100;
}

.header-inner {
  width: 100%;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  display: block;
  height: 40px;
  width: auto;
}

.menu-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.menu-toggle::before {
  content: "";
  position: absolute;
  width: 22px;
  height: 24px;

  background: linear-gradient(#04124d 0 0) center/22px 2px no-repeat,

    linear-gradient(#04124d 0 0) center/22px 2px no-repeat,

    linear-gradient(#04124d 0 0) center/22px 2px no-repeat;

  background-position: center center,

    center calc(50% - 8px),

    center calc(50% + 8px);

}

.menu-toggle .bar {
  display: none !important;
}

.nav,
.nav-list {
  display: none !important;
}

.hero {
  min-height: 100vh;

  background-image: url("images/backgroundimg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
}

.hero__content {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;

  align-items: center;
  gap: 12px;

  padding: 8vh 16px 18vh;

  text-align: center;
}

@media (max-height: 700px) {
  .hero__content {
    padding: 6vh 16px 12vh;
  }
}

.hero__content h1 {
  font-family: var(--jp);
  font-weight: 900;

  letter-spacing: -0.02em;
  line-height: 1.18;
  color: var(--hero-navy);
  font-size: clamp(32px, 5.6vw, 72px);
  margin: 0 0 12px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "palt" 1;
}

.hero__content p {
  font-family: var(--latin), var(--jp);

  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.6;
  color: var(--hero-subnavy);
  font-size: clamp(16px, 2.1vw, 28px);
  margin: 0;
}
.only-sp { display: inline; }
@media (min-width: 641px) { .only-sp { display: none; } }


.section {
  padding: 64px 0;
  border-bottom: 1px solid #f0f0f0;
}

.section h2 {
  margin: 0 0 12px;
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 700;
}

.section p {
  margin: 0;
}

.content-area {
  font-size: clamp(16px, 0.9vw + 12px, 18px);
  line-height: 1.9;
  color: #111;
}

.content-area .content-section p {
  font-size: clamp(16px, 0.6vw + 14px, 18px);
  line-height: 1.95;
  margin: 0 0 0.9em;
  color: #222;
}

.content-area .content-section li {
  font-size: clamp(15px, 0.55vw + 13px, 17px);
  line-height: 1.9;
  color: #222;
}

.content-area .lead {
  font-size: clamp(22px, 1.25vw + 20px, 36px);
  font-weight: 800;
  line-height: 1.7;
  text-align: center;
  margin-bottom: 22px;
}

.content-blank {
  padding-top: clamp(60px, 40vw, 120px);
}

#about-us .section-eyebrow,
#our-services .section-eyebrow {
  display: flex;
  justify-content: center;

  align-items: baseline;
  gap: 0.75em;
  text-align: center;
  margin: 0 auto clamp(14px, 3.2vw, 20px);
  color: #1e3a8a;
}

#about-us .section-eyebrow .en,
#our-services .section-eyebrow .en {
  font-weight: 800;
}

#about-us .section-eyebrow .jp,
#our-services .section-eyebrow .jp {
  font-weight: 600;
  opacity: 0.9;
}

@media (min-width: 960px) {
  #about-us .section-eyebrow .en,
  #our-services .section-eyebrow .en {
    font-size: clamp(14px, 1.6vw, 20px);
  }

  #about-us .section-eyebrow .jp,
  #our-services .section-eyebrow .jp {
    font-size: clamp(12px, 1.2vw, 14px);
  }
}

@media (max-width: 959.98px) {
  #about-us .section-eyebrow,
  #our-services .section-eyebrow {
    flex-direction: column;

    gap: 6px;

  }

  #about-us .section-eyebrow .en,
  #our-services .section-eyebrow .en {
    font-size: clamp(16px, 5.4vw, 22px);
    line-height: 1.2;
  }

  #about-us .section-eyebrow .jp,
  #our-services .section-eyebrow .jp {
    font-size: clamp(11px, 3.6vw, 13px);
    line-height: 1.2;
  }
}

.about__inner {
  text-align: center;
  max-width: 960px;
}

.about__lead {

  font-size: clamp(28px, 4.5vw, 40px) !important;
  font-weight: 500 !important;
  line-height: 1.55 !important;
  margin-bottom: 24px !important;
  color: #0b1e83;
}

.about__desc {
  font-size: clamp(16px, 2.8vw, 18px);
  line-height: 1.9;
  color: #222;

  display: block;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem;
  text-align: center;
}

@media (min-width: 769px) {
  .about__desc {
    font-size: clamp(16px, 1.1vw + 12px, 22px) !important;
  }
}

.services {
  padding-top: 56px;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 48px;
  align-items: start;
}

.service-card {
  position: relative;
  overflow: hidden;

  background: #fff;
  border: 1px solid #e8ebf3;
  border-radius: 14px;
  padding: 24px 24px 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-card__title {
  margin: 0 0 12px;
  font-size: clamp(18px, 1.05vw + 14px, 24px);
  font-weight: 100;
}

.service-card__list {
  margin: 0 0 12px 1.1em;
  padding: 0;
}

.service-card__list li {
  margin: 0 0 0.6em;
}

.service-card__contact {
  margin: 10px 0 0;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.service-card__contact .tel {
  font-size: 1.4rem;
  font-weight: 700;
  color: #6b7280;
}


.services__note {
  margin-top: 18px;
  text-align: left;
  font-size: clamp(14px, 0.45vw + 12px, 16px);
  color: #5b6475;
}

.svc-illus {
  position: absolute;
  right: clamp(8px, 2.4vw, 24px);
  bottom: clamp(8px, 2.4vw, 24px);
  width: min(28%, 230px);

  opacity: 0.8;

  pointer-events: none;
  user-select: none;
  z-index: 0;

}

.svc-card--auto .svc-illus {
  bottom: clamp(24px, 3vw, 36px);
}

.svc-card--sms .svc-illus {
  bottom: clamp(8px, 2vw, 20px);
}

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

  .svc-illus {
    width: min(40vw, 200px);
    opacity: 0.6;
  }
}

@media (max-width: 480px) {
  .svc-illus {
    opacity: 0.6;
  }
}

#compliance {


  padding: clamp(24px, 6vw, 56px) 0;
}

#compliance .compliance__inner {
  width: min(1120px, 92vw);
  margin: 0 auto;
  display: grid;
  gap: clamp(20px, 4vw, 40px);
}

#compliance .compliance__media {
  margin: 0;
  border-radius: 0;

  overflow: visible;
  box-shadow: none;

}

#compliance .compliance__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  border-radius: 0;

}

#compliance .compliance__content {
  display: grid;
  align-content: start;
  gap: clamp(12px, 2.5vw, 20px);
}

#compliance .compliance__eyebrow {
  margin: 0;
  font-size: clamp(12px, 1.6vw, 14px);
  letter-spacing: 0.04em;
  color: #1e3a8a;
  font-weight: 600;
  display: flex;
  gap: 0.75em;
}

#compliance .compliance__eyebrow .en {
  font-weight: 700;
}

#compliance .compliance__eyebrow .jp {
  opacity: 0.8;
}

#compliance .compliance__title {
  margin: 0;
  line-height: 1.35;
  font-weight: 100;
  font-size: clamp(20px, 4.6vw, 32px);
  letter-spacing: 0.02em;
  color: #222;
}

#compliance .compliance__lead {
  margin: 0;
  font-size: clamp(14px, 3.4vw, 16px);
  line-height: 1.9;
  color: #2b2b2b;
  font-weight: 500;
}

#compliance .compliance__text {
  margin: 0;
  font-size: clamp(16px, 2.8vw, 18px);
  line-height: 1.9;
  color: #333;
}



@media (min-width: 960px) {
  #compliance .compliance__inner {
    grid-template-columns: 1.1fr 1fr;

    align-items: start;
    gap: clamp(28px, 5vw, 56px);
  }

  #compliance .compliance__media img {


  }

  #compliance .only-pc {
    display: inline;
  }
}

@media (max-width: 959.98px) {
  #compliance .only-pc {
    display: none;
  }
}

#sms-safety {

  padding: clamp(24px, 6vw, 56px) 0;
}

#sms-safety .sms__inner {
  width: min(1120px, 92vw);
  margin: 0 auto;
  display: grid;
  gap: clamp(20px, 4vw, 48px);
}

#sms-safety .sms__content {
  display: grid;
  align-content: start;
  gap: clamp(12px, 2.4vw, 20px);
}

#sms-safety .sms__eyebrow {
  margin: 0;
  font-size: clamp(12px, 1.6vw, 14px);
  letter-spacing: 0.04em;
  color: #1e3a8a;
  font-weight: 600;
  display: flex;
  gap: 0.75em;
}

#sms-safety .sms__eyebrow .en {
  font-weight: 700;
}

#sms-safety .sms__eyebrow .jp {
  opacity: 0.8;
}

#sms-safety .sms__title {
  margin: 0;
  line-height: 1.35;
  font-weight: 100;
  font-size: clamp(20px, 4.6vw, 32px);
  letter-spacing: 0.02em;
  color: #222;
}

#sms-safety .sms__body p {
  margin: 0 0 1em;
  font-size: clamp(16px, 2.8vw, 18px);
  line-height: 1.9;
  color: #333;
}

#sms-safety .sms__hr {
  border: 0;
  height: 1px;
  background: rgba(0, 0, 0, 0.12);
  margin: clamp(12px, 3vw, 20px) 0;
}

#sms-safety .sms__contact {
}

#sms-safety .sms__media {
  margin: 0;
}

#sms-safety .sms__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;

}

@media (min-width: 960px) {
  #sms-safety .sms__inner {
    grid-template-columns: 1fr 1.05fr;

    align-items: start;
  }

  #sms-safety .only-pc {
    display: inline;
  }

  #sms-safety .only-sp {
    display: none;
  }
}

@media (max-width: 959.98px) {
  #sms-safety .sms__media img {

  }

  #sms-safety .only-pc {
    display: none;
  }

  #sms-safety .only-sp {
    display: inline;
  }
}

#election-calendar-head {
  padding: clamp(24px, 6vw, 56px) 0 0;

  background: transparent;

}

#election-calendar-head .ec__inner {
  width: min(960px, 92vw);
  margin: 0 auto;
  text-align: center;
  display: grid;
  gap: clamp(10px, 2vw, 16px);
}

#election-calendar-head .ec__eyebrow {
  display: flex;

  justify-content: center;

  align-items: center;
  margin: 0 auto clamp(10px, 2vw, 16px);

  font-size: clamp(12px, 1.6vw, 14px);
  letter-spacing: 0.04em;
  color: #1e3a8a;
  font-weight: 600;
  gap: 0.75em;
  text-align: center;
}

#election-calendar-head .ec__eyebrow .en {
  font-weight: 700;
}

#election-calendar-head .ec__eyebrow .jp {
  opacity: 0.8;
}

#election-calendar-head .ec__title {
  margin: 0;
  font-size: clamp(22px, 4.6vw, 36px);
  line-height: 1.45;
  font-weight: 800;
  color: #222;
}

#election-calendar-head .ec__lead {
  margin: clamp(4px, 1vw, 8px) auto 0;
  max-width: 72ch;
  font-size: clamp(16px, 2.8vw, 18px);
  line-height: 1.9;
  color: #333;
}

#election-calendar-head .ec__note {
  margin: 0 auto;
  max-width: 1200px;
  font-size: clamp(12px, 2.5vw, 14px);
  line-height: 1.9;
  color: #5b6470;
}

.gcal-wrap {
  position: relative;
  width: 100%;
  max-width: 1200px;

  margin: 0 auto;
}

.gcal-wrap::before {
  content: "";
  display: block;
  padding-top: 75%;
}

.gcal-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

@media (max-width: 640px) {
  .gcal-wrap::before {
    padding-top: 133.333%;
  }
}

@supports (aspect-ratio: 1) {
  .gcal-wrap {
    aspect-ratio: 4 / 3;
    height: auto;
  }

  @media (max-width: 640px) {
    .gcal-wrap {
      aspect-ratio: 3 / 4;
    }
  }

  .gcal-wrap::before {
    display: none;
  }

  .gcal-wrap iframe {
    position: static;
    height: 100%;
  }
}

#company-profile {
  background: #fff;

  padding: clamp(28px, 6vw, 72px) 0;
}

#company-profile .cp__inner {
  width: min(1120px, 92vw);
  margin: 0 auto;
  display: grid;
  gap: clamp(16px, 3vw, 28px);
}

@media (min-width: 960px) {
  #company-profile .cp__inner {
    grid-template-columns: 1fr 1.8fr;

    align-items: start;
    gap: clamp(20px, 6vw, 72px);
  }
}

#company-profile .cp__eyebrow {
  margin: 0;
  font-weight: 600;
  color: #1e3a8a;
  letter-spacing: 0.04em;
  display: flex;
  gap: 0.75em;
  align-items: baseline;
  font-size: clamp(18px, 3.2vw, 28px);
}

#company-profile .cp__eyebrow .en {
  font-weight: 700;
}

#company-profile .cp__eyebrow .jp {
  font-size: clamp(12px, 1.6vw, 14px);
  opacity: 0.8;
}

#company-profile .cp__list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

#company-profile .cp__row {
  display: grid;
  grid-template-columns: 8em 1fr;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

#company-profile .cp__row:first-child {
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}

#company-profile dt {
  margin: 0;
  color: #4b5563;
  font-weight: 600;
  font-size: clamp(13px, 2.4vw, 14px);
}

#company-profile dd {
  margin: 0;
  color: #1f2937;
  font-size: clamp(14px, 2.8vw, 16px);
  line-height: 1.9;
}

#company-profile .cp__tel {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
}

#company-profile .cp__fax {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
}
@media (max-width: 959.98px) {
  #company-profile .cp__row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 14px 0;
  }
}

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 900;
}

.side-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100dvh;
  width: clamp(300px, 32vw, 420px);
  background: var(--nav-bg);
  color: var(--nav-fg);
  transform: translateX(100%);
  transition: transform 0.28s ease;
  box-shadow: -20px 0 40px rgba(0, 0, 0, 0.25);
  z-index: 1000;
  padding: 80px 28px 40px;
}

.side-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: 0;
  cursor: pointer;
  background: #fff;
  color: var(--nav-bg);
  font-size: 24px;
  line-height: 1;
  border-radius: 8px;
  display: grid;
  place-items: center;
}

.side-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.side-list li + li {
  margin-top: 18px;
}

.side-list a {
  color: var(--nav-fg);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.2px;
  font-size: clamp(16px, 1.6vw, 18px);
}

.side-list a:hover,
.side-list a:focus {
  color: var(--nav-fg-weak);
  outline: none;
}

body.menu-open {
  overflow: hidden;

}

body.menu-open .menu-overlay {
  opacity: 1;
  pointer-events: auto;
}

body.menu-open .side-drawer {
  transform: translateX(0);
}

.site-footer {
  padding: 32px 0;
  background: #fafafa;
  border-top: 1px solid #eee;
}

.brand-footer {
  background: var(--footer-bg);
  color: var(--footer-fg);
  position: relative;
  padding: 36px 0 28px;

}

.footer-inner {
  position: relative;
  max-width: 1200px;
  padding: 0 16px;
  margin: 0 auto;

}

.footer-left {
  display: grid;
  gap: 14px;
  max-width: 640px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.footer-logo img {
  display: block;
  height: clamp(16px, 4.5vw, 28px);

  width: auto;
}

.footer-brand {
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
  font-size: clamp(13px, 2.7vw, 16px);
}

.footer-address {
  font-style: normal;

  font-size: 14px;
  color: var(--footer-weak);
  line-height: 1.8;
}

.copyright {
  text-align: center;
  font-size: 12px;
  color: var(--footer-weak);
  margin: 24px 0 0;
}

.back-to-top {
  position: absolute;
  top: 16px;
  right: clamp(12px, 2vw, 24px);
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 9999px;
  background: #fff;

  color: var(--footer-bg);

  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  transition: box-shadow 0.2s, filter 0.2s, transform 0.2s;
  z-index: 2;
}

.back-to-top:hover {
  filter: brightness(0.98);
}

.back-to-top:active {
  transform: translateY(1px);
}

.back-to-top svg {
  width: 58%;
  height: 58%;
}

.back-to-top svg path {
  stroke-width: 3;

}

.back-to-top:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.9), 0 6px 18px rgba(0, 0, 0, 0.25);
}

@media (max-width: 600px) {
  .brand-footer {
    padding: 28px 0 24px;
  }

  .footer-brand {
    font-size: 15px;
  }

  .footer-address {
    font-size: 13px;
  }

  .back-to-top {
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
  }
}

@media (max-width: 480px) {
  .logo img {
    height: 34px;
  }

  .side-drawer {
    width: min(84vw, 380px);
  }
}

@media (max-width: 959.98px) {
  #about-us .section-eyebrow,
  #our-services .section-eyebrow,
  #compliance .compliance__eyebrow,
  #sms-safety .sms__eyebrow,
  #election-calendar-head .ec__eyebrow,
  #company-profile .cp__eyebrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 6px;
    margin-inline: auto;
  }

  #about-us .section-eyebrow .en,
  #our-services .section-eyebrow .en,
  #compliance .compliance__eyebrow .en,
  #sms-safety .sms__eyebrow .en,
  #election-calendar-head .ec__eyebrow .en,
  #company-profile .cp__eyebrow .en {
    font-size: clamp(16px, 5.4vw, 22px);
    line-height: 1.2;
    font-weight: 800;
  }

  #about-us .section-eyebrow .jp,
  #our-services .section-eyebrow .jp,
  #compliance .compliance__eyebrow .jp,
  #sms-safety .sms__eyebrow .jp,
  #election-calendar-head .ec__eyebrow .jp,
  #company-profile .cp__eyebrow .jp {
    font-size: clamp(11px, 3.6vw, 13px);
    line-height: 1.2;
    font-weight: 600;
    opacity: 0.9;
  }
}

@media (min-width: 960px) {

  #about-us .section-eyebrow,
  #our-services .section-eyebrow,
  #compliance .compliance__eyebrow,
  #sms-safety .sms__eyebrow,
  #election-calendar-head .ec__eyebrow,
  #company-profile .cp__eyebrow{
    display: inline-flex;
    flex-direction: row;
    align-items: baseline;
    justify-content: center;
    gap: 10px;
    white-space: nowrap;
    text-align: center;
  }

  #about-us .section-eyebrow .en,
  #our-services .section-eyebrow .en,
  #compliance .compliance__eyebrow .en,
  #sms-safety .sms__eyebrow .en,
  #election-calendar-head .ec__eyebrow .en,
  #company-profile .cp__eyebrow .en,
  #about-us .section-eyebrow .jp,
  #our-services .section-eyebrow .jp,
  #compliance .compliance__eyebrow .jp,
  #sms-safety .sms__eyebrow .jp,
  #election-calendar-head .ec__eyebrow .jp,
  #company-profile .cp__eyebrow .jp{
    white-space: nowrap;
  }

  :root{
    --eyebrow-en-dsk: clamp(20px, 1.55vw, 26px);
    --eyebrow-jp-dsk: clamp(12px, 0.95vw, 14px);
  }
  #about-us .section-eyebrow .en,
  #our-services .section-eyebrow .en,
  #compliance .compliance__eyebrow .en,
  #sms-safety .sms__eyebrow .en,
  #election-calendar-head .ec__eyebrow .en,
  #company-profile .cp__eyebrow .en{
    font-size: var(--eyebrow-en-dsk);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: .02em;
  }
  #about-us .section-eyebrow .jp,
  #our-services .section-eyebrow .jp,
  #compliance .compliance__eyebrow .jp,
  #sms-safety .sms__eyebrow .jp,
  #election-calendar-head .ec__eyebrow .jp,
  #company-profile .cp__eyebrow .jp{
    font-size: var(--eyebrow-jp-dsk);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: .03em;
    opacity: .95;
  }
}

@media (min-width: 960px) {
  #our-services .section-eyebrow{
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 10px;
    margin-inline: auto;
    text-align: center;
    white-space: nowrap;
  }
  #our-services .section-eyebrow .en,
  #our-services .section-eyebrow .jp{
    white-space: nowrap;
  }
}

#our-services .service-card{
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

#our-services .services-grid{
  gap: clamp(16px, 2vw, 28px);
}

#our-services .service-card:hover{
  box-shadow: none !important;
  transform: none !important;
  filter: none !important;
}
.bg-handyphone {
  opacity: 0.25;
  filter: grayscale(100%) contrast(150%);
}

#about-us .about__inner{
  padding-left: 0;
  padding-right: 0;
}

#about-us .about__desc{
  max-width: 840px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem;
  text-align: center;
}

#our-services .services__note{
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem;
  text-align: center;
}
br.only-pc {
  display: none;
}

@media (min-width: 768px) {
  br.only-pc {
    display: inline;
  }
}


@media (max-width:960px){
  .hero_atode{ background-size: auto 92vh !important; } 
}
@media (min-width:961px){
  .hero{ background-size: cover; } 
}

/* ===== Brand color updates (per spec) ===== */
/* 全体背景 */
html, body{
  background: rgb(246,249,252) !important; /* #F6F9FC */
  color: rgb(68,68,68) !important; 
}

.hero__content h1{
  color: rgb(0,0,100) !important;
}
.hero__content p{
  color: rgb(68,68,68) !important; 
}


@media (max-width: 640px){
  .hero__content h1{
    font-size: 8.5vw !important; 
    line-height: 1.3;
  }

  .hero__content p{
    font-size: 4.5vw !important;
    line-height: 1.6;
  }
}


/* =========================
   Smartphone-only tweaks
   ========================= */
@media (max-width: 640px){

  .about__desc{
    text-align: left !important;
    margin-inline: auto;
    max-width: 60ch;
    line-height: 1.9;
  }


  .section-title{
    font-size: clamp(18px, 5.2vw, 22px) !important;
    line-height: 1.3;
    text-align: left;
    margin-inline: auto;
    max-width: 60ch;
  }

  .service-card__title{ font-size: clamp(16px, 4.8vw, 20px); }
  .service-card__list,
  .service-card p{ max-width: 60ch; margin-inline: auto; }
}


h1, h2, h3, h4, h5, h6 {
  font-family: "Noto Sans JP", sans-serif !important;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.services .service-card .service-card__contact{
  font-size: 1.5rem !important;
  line-height: 1.25;
}

.services .service-card .service-card__contact .tel{
  font-size: 1.9rem !important;
  font-weight: 700;
}



@media (min-width: 1024px){
  .services .service-card .summary{ 
    max-width: 800px;
    text-align: left; 
    margin-inline: 0;
    font-size: clamp(18px, 1.6vw, 22px);
    line-height: 1.9;
    text-wrap: balance;
  }
}

.services .service-card{
  text-align: left;
}


.sms__inner{
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

@media (max-width: 768px){
  .sms__inner{
    flex-direction: column;  /* 縦並び */
    gap: 16px;
  }
  .sms__media{
    order: -1;               /* 画像を先頭に */
    margin-bottom: 8px;      /* 画像下の余白 */
  }
  .sms__media img{
    width: 100%;
    height: auto;
    display: block;
  }
}
@media (max-width: 768px){
  .sms__inner{ display: flex; flex-direction: column; }
  .sms__media{ order: -1; }
}

@media (max-width: 768px){
  #election-calendar-head .ec__lead,
  #election-calendar-head .ec__note{
    text-align: left !important;
  }
  br.only-pc { display: none; }
}

@media (min-width: 769px){
  br.only-pc { display: inline; }
}



/* --- Mobile hero background swap (SP用画像に差し替え) --- */
@media (max-width: 960px){
  .hero{
    background-image: image-set(
      url("images/hero-sp.webp") type("image/webp") 1x,
      url("images/hero-sp.jpg")  type("image/jpeg") 1x
    ) !important;

    background-position: top center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-color: #F6F9FC;
  }
}
#about-us .section-eyebrow,
#about-us .section-eyebrow .en,
#about-us .section-eyebrow .jp,
#about-us .about__lead {
  font-family: var(--jp) !important;
  font-synthesis: none !important;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

#about-us .section-eyebrow .en {
  font-weight: 700 !important;
}

#about-us .section-eyebrow .jp {
  font-weight: 500 !important;
}

#about-us .about__lead {
  font-weight: 500 !important; 
}








@media (max-width: 768px){
  :root{
    --edge: 22px;
  }

  .content-section :where(h1,h2,h3,h4,h5,h6,p,ul,ol,dl,blockquote,.lead,.about__desc,.ec__lead,.cp__lead){
    max-width: calc(100vw - var(--edge) * 2);
    margin-left: auto;
    margin-right: auto;
  }

  .service-card :where(h3,p,ul,ol){
    max-width: calc(100vw - var(--edge) * 2);
    margin-left: auto;
    margin-right: auto;
  }

  .content-section :where(ul,ol),
  .service-card :where(ul,ol){
    padding-left: 1.2em;
  }
}

@media (max-width: 768px){
  :root{ --edge: 22px; } 

  #our-services .summary{
    max-width: calc(100vw - var(--edge) * 2);
    margin-left: auto;
    margin-right: auto;
  }
}


@media (max-width: 768px){
  :root{ --edge: 22px; }

  #our-services .services-grid{
    box-sizing: border-box;
    max-width: calc(100vw - var(--edge) * 2);
    margin-left: auto;
    margin-right: auto;
    padding-left: 0 !important;
    padding-right: 0 !important;
    grid-template-columns: 1fr;
    row-gap: 24px; 
    column-gap: 0;
  }

  #our-services .service-card{
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
  }

  #our-services .service-card :where(h3,p,ul,ol){
    max-width: calc(100vw - var(--edge) * 2);
    margin-left: auto;
    margin-right: auto;
  }

  #our-services .service-card img{
    display: block;
    max-width: 100%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
  }
}
@media (min-width: 769px){
  #about-us .about__lead{
    text-wrap: balance;    
    line-break: strict;    
    word-break: keep-all;   
  }

  .nowrap{ white-space: nowrap; }
}
#election-calendar-head .ec__title {
  margin: 0;
  line-height: 1.35;
  font-weight: 100;
  font-size: clamp(20px, 4.6vw, 32px);
  letter-spacing: 0.02em;
  color: #222;
}


#compliance .compliance__inner {
  display: grid;
  gap: clamp(20px, 4vw, 40px);
}

@media (min-width: 960px) {
  #compliance .compliance__inner {
    grid-template-columns: 1.1fr 1fr;
    align-items: start;
  }
}

@media (max-width: 959.98px) {
  #compliance .compliance__inner {
    display: flex;
    flex-direction: column;
  }
  #compliance .compliance__content { display: contents; }
  #compliance .compliance__eyebrow { order: 1; }
  #compliance .compliance__title   { order: 2; }
  #compliance .compliance__media   { order: 3; }
  #compliance .compliance__text    { order: 4; }
}

@media (max-width: 959.98px){
  #sms-safety .sms__inner{
    display: flex !important;
    flex-direction: column;
    gap: 16px;
  }
  #sms-safety .sms__content{ display: contents; }

  /* 並び順の明示 */
  #sms-safety .sms__eyebrow{ order: 1; } 
  #sms-safety .sms__title  { order: 2; } 
  #sms-safety .sms__media  { order: 3; } 
  #sms-safety .sms__body   { order: 4; } 

  #sms-safety .sms__media img{
    width: 100%;
    height: auto;
    display: block;
  }
}

@media (min-width: 960px){
  #sms-safety .sms__inner{
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    align-items: start;
  }
}


@media (max-width: 768px){

  #our-services .service-card__title{
    text-align: center !important;
  }
}




@media (max-width: 768px){
  #about-us .about__lead{
    display: inline-block;
    margin: 0 auto 24px !important;

    text-align: center !important;

    text-wrap: balance;
    hanging-punctuation: allow-end;
    font-feature-settings: "palt" 1;
  }
}
