/*
 * overrides.css
 * Reset/base + footer overrides the live site layers on top of common.css (source: add-tab.css / main.css).
 * Load order: AFTER header-footer.css, to mirror the live cascade (common.css -> add-tab.css).
 */
/*------------------------------------
  main.css
--------------------------------------*/
/* ------------------------
  reset
------------------------ */
html,
body {
  height: 100%;
}

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

* {
  margin: 0;
  padding: 0;
  font-size: inherit;
  line-height: inherit;
}

pre,
textarea {
  overflow: auto;
}

template {
  display: none;
}

details,
main,
summary {
  display: block;
}

input[type=number] {
  width: auto;
}

input[type=search] {
  -webkit-appearance: textfield;
}

input[type=search]::-webkit-search-cancel-button,
input[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

progress {
  display: inline-block;
}

small {
  font-size: 75%;
}

sub,
sup {
  position: relative;
  vertical-align: baseline;
  font-size: 75%;
  line-height: 0;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

textarea {
  resize: vertical;
}

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

audio:not([controls]) {
  display: none;
}

img {
  border: 0;
  max-width: 100%;
  height: auto;
}

button,
input,
select,
textarea {
  min-height: 1.5em;
  color: inherit;
  font-family: inherit;
  font-weight: inherit;
  font-style: inherit;
}

button {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

input {
  line-height: normal;
}

button,
html input[type=button],
input[type=reset],
input[type=submit] {
  border-style: none;
  cursor: pointer;
  background-color: transparent;

  -webkit-appearance: button;
}

button[disabled],
html input[disabled] {
  cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  padding: 0;
  border: 0;
}

code,
kbd,
pre,
samp {
  font-family: monospace;
}

ol,
ul {
  list-style: none;
}

select {
     -moz-appearance: none;
  -webkit-appearance: none;
}

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

fieldset {
  border: 0;
}

/* ------------------------
  Base Settings
------------------------ */
main {
  background-color: #fff;
  font-size: inherit;

  --base-font: 2.6667vw;
}
@media (min-width: 768px) {
  main {
    --base-font: 10px;
  }
}

body {
  background-color: #fff;
  word-wrap: break-word;
  color: #333;
  font-family: "Noto Sans JP", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  line-height: 1.6875;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

a {
  text-decoration: underline;
  color: #333;
}
/* a:hover {
  text-decoration: none;
  color: #333;
} */
a:active {
  text-decoration: none;
  color: #333;
}

@media (min-width: 1067px) {
  .mod-footer-maingroup ul {
    width: auto;
    max-width: 1139px;
  }
  .mod-footer-group ul {
    width: auto;
    max-width: 1139px;
  }

/* footer template overrides (from add-tab.css) */
.mod-pageTop { display: none; }        /* live hides the "back to top" link in footer */
.mod-footerInq2 { display: none; }
@media screen and (max-width: 1066px) {
  .sp .footer-box__lowerLayer .footer-nav { height: auto; }
  .sp .footer-box__lowerLayer .footer-nav .footer-nav-copy { margin-bottom: 0; }
}
.sp .footer-box__lowerLayer .footer-nav-list { display: none !important; } /* live hides the static SP sticky CTA */
