/* IDS Corporate — shared header/footer & reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p, h1, h2, h3, h4 { margin: 0; }
table { border-collapse: collapse; width: 100%; }
details summary { list-style: none; cursor: pointer; }
details summary::-webkit-details-marker { display: none; }

:root {
  --ids-navy: #306fb7;
  --ids-navy-deep: #163a70;
  --ids-orange: #f3951c;
  --ids-orange-dark: #d97b02;
  --ids-text: #222222;
  --ids-muted: #555555;
  --ids-line: #e5e5e5;
  --ids-bg: #ffffff;
  --ids-bg-soft: #f6f7f9;
  --ids-max: 1120px;
  --ids-radius: 4px;
  --ids-radius-lg: 8px;
  --ids-space-xs: 8px;
  --ids-space-sm: 16px;
  --ids-space-md: 24px;
  --ids-space-lg: 48px;
  --ids-space-xl: 80px;
}

/* ===== IDS Header ===== */
.ids-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--ids-bg);
  border-bottom: 1px solid var(--ids-line);
}
.ids-header__top {
  width: min(100% - 32px, var(--ids-max));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  padding: 10px 0;
}
.ids-header__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.ids-header__brand img {
  height: 34px;
  width: auto;
  max-width: 140px;
}
.ids-header__tagline {
  display: none;
  font-size: 11px;
  line-height: 1.5;
  color: var(--ids-navy-deep);
  font-weight: 500;
}
@media (min-width: 900px) {
  .ids-header__tagline { display: block; }
}
.ids-header__cta {
  display: none;
  align-items: center;
  gap: 10px;
}
@media (min-width: 900px) {
  .ids-header__cta { display: flex; }
}
.ids-header__phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ids-navy-deep);
  margin-right: 4px;
}
.ids-header__phone-num {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
}
.ids-header__phone-hours {
  font-size: 10px;
  margin-top: 2px;
}
.ids-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  border: 1px solid transparent;
  transition: background 0.15s, border-color 0.15s, opacity 0.15s;
}
.ids-btn--orange {
  background: var(--ids-orange);
  color: #fff;
}
.ids-btn--orange:hover { background: var(--ids-orange-dark); }
.ids-btn--navy {
  background: var(--ids-navy);
  color: #fff;
}
.ids-btn--navy:hover { background: #16559d; }
.ids-btn--outline {
  background: transparent;
  border-color: var(--ids-navy);
  color: var(--ids-navy-deep);
}
.ids-btn--outline:hover { background: var(--ids-bg-soft); }
.ids-btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.ids-header__sp {
  display: flex;
  align-items: center;
  gap: 6px;
}
@media (min-width: 900px) {
  .ids-header__sp { display: none; }
}
.ids-burger {
  width: 40px;
  height: 40px;
  padding: 10px 8px;
}
.ids-burger span {
  display: block;
  height: 2px;
  background: var(--ids-navy-deep);
  margin: 5px 0;
}
.ids-gnav {
  background: var(--ids-navy);
}
.ids-gnav__lists {
  width: min(100% - 16px, var(--ids-max));
  margin: 0 auto;
  display: none;
  flex-wrap: wrap;
  justify-content: center;
}
@media (min-width: 900px) {
  .ids-gnav__lists { display: flex; }
}
.ids-gnav__lists a {
  display: block;
  padding: 11px 14px;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}
.ids-gnav__lists a:hover {
  background: var(--ids-orange);
}
.ids-drawer {
  display: none;
  border-top: 1px solid var(--ids-line);
  background: var(--ids-bg);
}
.ids-drawer.is-open { display: block; }
.ids-drawer a {
  display: block;
  padding: 12px 20px;
  color: var(--ids-navy-deep);
  font-size: 14px;
  font-weight: 500;
  border-bottom: 1px solid #f0f0f0;
}
.ids-drawer a:hover { background: var(--ids-bg-soft); }

/* ===== IDS Footer ===== */
.ids-contacts {
  background: var(--ids-navy);
  color: #fff;
  padding: 48px 20px 56px;
  text-align: center;
}
.ids-contacts__title {
  margin: 0 auto 28px;
  max-width: 42em;
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  font-weight: 700;
  line-height: 1.85;
}
.ids-contacts__card {
  display: grid;
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  color: var(--ids-navy-deep);
}
@media (min-width: 700px) {
  .ids-contacts__card { grid-template-columns: 1fr 1fr; }
}
.ids-contacts__cell {
  padding: 28px 24px 32px;
}
@media (min-width: 700px) {
  .ids-contacts__cell + .ids-contacts__cell { border-left: 1px solid var(--ids-line); }
}
@media (max-width: 699px) {
  .ids-contacts__cell + .ids-contacts__cell { border-top: 1px solid var(--ids-line); }
}
.ids-contacts__label {
  margin-bottom: 14px;
  font-size: 14px;
  font-weight: 700;
}
.ids-contacts__phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(1.3rem, 3vw, 1.65rem);
  font-weight: 700;
  color: var(--ids-navy-deep);
}
.ids-contacts__hours {
  margin-top: 10px;
  font-size: 13px;
}
.ids-footer {
  background: var(--ids-bg);
  padding: 36px 0 28px;
}
.ids-footer__inner {
  width: min(100% - 32px, var(--ids-max));
  margin: 0 auto;
}
.ids-footer__brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-bottom: 20px;
}
.ids-footer__logo { height: 30px; width: auto; }
.ids-footer__text {
  font-size: 12px;
  font-weight: 700;
  color: var(--ids-navy-deep);
}
.ids-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
}
.ids-footer__nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px 4px 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--ids-navy-deep);
}
.ids-footer__nav a::before {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 0 5px 7px;
  border-color: transparent transparent transparent var(--ids-orange);
}
.ids-footer__nav a:hover { text-decoration: underline; }
.ids-footer__copy {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--ids-line);
  font-size: 12px;
  font-weight: 700;
  color: var(--ids-navy-deep);
  text-align: center;
}
