/* CSS リセット + STUDIO ユーティリティ */

:root {
  --rebranding-loading-bg: #e5e5e5;
  --rebranding-loading-bar: #222;
}

.StudioCanvas {
  display: flex;
  flex-direction: column;
  height: auto;
  min-height: 100dvh;
}

/* ===== リセット ===== */

a, abbr, address, article, aside, audio, b, blockquote, body, button,
canvas, caption, cite, code, dd, del, details, dfn, div, dl, dt, em,
fieldset, figcaption, figure, footer, form, h1, h2, h3, h4, h5, h6,
header, hgroup, html, i, iframe, img, input, ins, kbd, label, legend, li,
main, mark, menu, nav, object, ol, p, pre, q, samp, section, select,
small, span, strong, sub, summary, sup, table, tbody, td, textarea,
tfoot, th, thead, time, tr, ul, var, video {
  border: 0;
  font-family: sans-serif;
  line-height: 1;
  list-style: none;
  margin: 0;
  padding: 0;
  text-decoration: none;
  -webkit-font-smoothing: antialiased;
  -webkit-backface-visibility: hidden;
  box-sizing: border-box;
  color: #333;
  transition: .3s cubic-bezier(.4, .4, 0, 1);
  word-spacing: 1px;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
summary:focus:not(:focus-visible) {
  outline: none;
}

nav ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote::before, blockquote::after,
q::before, q::after {
  content: none;
}

a, button {
  background: transparent;
  font-size: 100%;
  margin: 0;
  padding: 0;
  vertical-align: baseline;
}

ins, mark {
  background-color: #ff9;
  color: #000;
}

ins {
  text-decoration: none;
}

mark {
  font-style: italic;
  font-weight: 700;
}

del {
  text-decoration: line-through;
}

abbr[title], dfn[title] {
  border-bottom: 1px dotted;
  cursor: help;
}

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

hr {
  border: 0;
  border-top: 1px solid #ccc;
  display: block;
  height: 1px;
  margin: 1em 0;
  padding: 0;
}

input, select {
  vertical-align: middle;
}

textarea {
  resize: none;
}

[tabindex]:focus {
  outline: none;
}

[tabindex]:focus-visible {
  outline: 1px solid;
  outline-color: Highlight;
  outline-color: -webkit-focus-ring-color;
}

input[type=email],
input[type=tel],
input[type=text],
select,
textarea {
  -webkit-appearance: none;
}

select {
  cursor: pointer;
}

a,
a.icon,
a.text {
  -webkit-tap-highlight-color: rgba(0, 0, 0, .15);
}

/* ===== ユーティリティ ===== */

.frame {
  display: block;
  overflow: hidden;
}

.frame > iframe {
  height: 100%;
  width: 100%;
}

.image {
  position: relative;
}

.image::before {
  background-position: 50%;
  background-size: cover;
  border-radius: inherit;
  content: "";
  height: 100%;
  left: 0;
  pointer-events: none;
  position: absolute;
  top: 0;
  transition: inherit;
  width: 100%;
  z-index: -2;
}

.material-icons {
  align-items: center;
  display: inline-flex;
  font-family: Material Icons;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  justify-content: center;
  letter-spacing: normal;
  line-height: 1;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.section {
  align-content: center !important;
  align-items: center !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  height: auto !important;
  max-width: 100% !important;
  padding: 0 !important;
  width: 100% !important;
}

.section-inner {
  position: static !important;
}

/* ===== Footer 背景画像 ===== */

.image[data-img="footer-contact-bg"]::before {
  background-image: url(/images/footer-contact-bg.webp);
}

.image[data-img="footer-logo"]::before {
  background-image: url(/images/footer-logo.webp);
}
