:root {
  --ink: #0a1626;
  --ink-2: #1f2937;
  --ink-soft: #5a6477;
  --ink-mute: #8b94a3;
  --paper: #ffffff;
  --rule: #e6e3da;
  --accent: #1f4ba0;
  --accent-deep: #14336f;
  --gold: #c2a25b;
  --side-w: 240px;
  --serif: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", system-ui, sans-serif;
  --english: Georgia, "Times New Roman", serif;
  --pad-x: clamp(20px, 4vw, 56px);
  --max: 1100px;
}

.fuei-common-shell {
  display: grid;
  grid-template-columns: var(--side-w) minmax(0, 1fr);
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.8;
}

.fuei-common-main {
  min-width: 0;
}

.fuei-common-side {
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
  background: var(--paper);
  border-right: 1px solid var(--rule);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  overflow-y: auto;
  z-index: 20;
}

.fuei-common-side .brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fuei-common-side .brand .mark {
  width: 42px;
  height: 42px;
  object-fit: contain;
  object-position: center;
  background: transparent;
}

.fuei-common-side .brand .name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 18px;
  font-feature-settings: "palt";
  line-height: 1.4;
}

.fuei-common-side .brand .name small {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  color: var(--ink-soft);
  font-weight: 400;
  letter-spacing: .15em;
  margin-top: 4px;
}

.fuei-common-side .snav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fuei-common-side .snav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  font-size: 13px;
  color: var(--ink-2);
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  transition: .15s;
}

.fuei-common-side .snav a:last-child {
  border-bottom: 0;
}

.fuei-common-side .snav a:hover {
  color: var(--accent);
  padding-left: 6px;
}

.fuei-common-side .snav a .en {
  font-family: var(--english);
  font-style: italic;
  font-size: 11px;
  color: var(--ink-mute);
  margin-left: auto;
}

.fuei-common-side .snav a.is-active {
  color: var(--accent);
}

.fuei-common-side .snav a.is-active::before {
  content: "";
  width: 6px;
  height: 1px;
  background: var(--accent);
}

.fuei-common-side .scontact {
  font-size: 12px;
  color: var(--ink-soft);
}

.fuei-common-side .scontact .lbl {
  font-family: var(--english);
  font-style: italic;
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: .1em;
  margin-bottom: 4px;
}

.fuei-common-side .scontact .tel {
  font-family: var(--english);
  font-weight: 500;
  font-size: 22px;
  color: var(--ink);
  letter-spacing: .04em;
  line-height: 1.2;
  margin-bottom: 2px;
}

.fuei-common-side .scontact .hours {
  font-size: 11px;
  color: var(--ink-soft);
}

.fuei-common-side .s-cta {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--accent);
  color: #fff !important;
  -webkit-text-fill-color: #fff;
  padding: 12px 14px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .05em;
  border: 0;
  border-radius: 0;
  width: 100%;
  text-decoration: none !important;
}

.fuei-common-side .s-cta:hover {
  background: var(--accent-deep);
}

.fuei-common-side .s-cta::before {
  content: "";
  width: 14px;
  height: 10px;
  border: 1px solid currentColor;
  border-radius: 1px;
  box-sizing: border-box;
  flex: 0 0 auto;
}

.fuei-common-side .s-foot {
  margin-top: auto;
  font-size: 10px;
  color: var(--ink-mute);
  line-height: 1.7;
  letter-spacing: .05em;
}

.fuei-common-footer {
  background: var(--ink-2);
  color: rgba(255, 255, 255, .7);
  padding: 50px var(--pad-x) 28px;
}

.fuei-common-footer .inner {
  max-width: var(--max);
  margin: 0 auto;
}

.fuei-common-footer .foot-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.fuei-common-footer h5 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 12px;
  color: #fff;
  margin: 0 0 12px;
  letter-spacing: .15em;
}

.fuei-common-footer p {
  margin: 0;
  font-size: 12px;
  line-height: 1.9;
}

.fuei-common-footer .brand-f {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fuei-common-footer .brand-f .name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 18px;
  color: #fff;
}

.fuei-common-footer .brand-f .small {
  font-size: 11px;
  color: rgba(255, 255, 255, .5);
  line-height: 1.7;
}

.fuei-common-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
}

.fuei-common-footer a {
  color: rgba(255, 255, 255, .7);
  text-decoration: none;
}

.fuei-common-footer a:hover {
  color: #fff;
}

.fuei-common-footer .foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 11px;
  color: rgba(255, 255, 255, .5);
  flex-wrap: wrap;
  gap: 14px;
}

.fuei-common-footer .foot-bottom .links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.fuei-common-footer .foot-bottom .sns {
  display: flex;
  gap: 10px;
}

.fuei-common-footer .foot-bottom .sns a {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, .2);
  display: grid;
  place-items: center;
  font-size: 13px;
}

.fuei-common-footer .foot-bottom .sns a:hover {
  border-color: #fff;
  color: #fff;
}

.fuei-common-main .special-site__content > .shell {
  display: block !important;
  grid-template-columns: none !important;
  min-height: 0 !important;
}

.fuei-common-main .special-site__content > .shell > .side,
.fuei-common-main .special-site__content > .shell > .main > footer.foot {
  display: none !important;
}

.fuei-common-main .special-site__content > .shell > .main {
  width: 100%;
  min-width: 0;
}

@media (max-width: 980px) {
  :root {
    --side-w: 0px;
  }

  .fuei-common-shell {
    display: block;
  }

  .fuei-common-side {
    display: none;
  }

  .fuei-common-footer .foot-top {
    grid-template-columns: 1fr 1fr;
  }

  .fuei-common-footer .foot-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .fuei-common-footer .foot-top {
    grid-template-columns: 1fr;
  }
}
