/*
 * MeishiShop static full-shell
 * Version: 1.0.0
 * Scope: root static pages using .ms-site-header and .ms-site-footer
 * Basis: index.html / paid.html public v1.0.1
 */

.ms-skip-link {
  position: fixed;
  z-index: 10000;
  top: 10px;
  left: 10px;
  min-height: 48px;
  padding: 11px 18px;
  color: #fff;
  background: #003f7d;
  border-radius: 8px;
  transform: translateY(-160%);
  transition: transform .15s ease;
}

.ms-skip-link:focus {
  transform: translateY(0);
}

.ms-site-header,
.ms-site-header *,
.ms-site-footer,
.ms-site-footer * {
  box-sizing: border-box;
}

.ms-site-header {
  position: relative;
  z-index: 40;
  color: #172334;
  background: rgba(255,255,255,.98);
  border-bottom: 1px solid #d7e0e8;
  box-shadow: none;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    "Yu Gothic",
    Meiryo,
    sans-serif;
  line-height: 1.75;
}

.ms-site-header :focus-visible {
  outline: 3px solid #003f7d;
  outline-offset: 3px;
}

.ms-shell-container {
  width: min(calc(100% - 40px), 1180px);
  margin-inline: auto;
}

.ms-site-header .utility {
  color: #fff;
  background: #003f7d;
  font-size: .8rem;
}

.ms-site-header .utility-inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.ms-site-header .utility p {
  margin: 0;
  font-weight: 800;
}

.ms-site-header .utility ul {
  display: flex;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ms-site-header .utility a {
  color: #fff;
  text-decoration: none;
}

.ms-site-header .header-main {
  min-height: 82px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 0;
}

.ms-site-header .brand {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
}

.ms-site-header .brand img {
  width: 150px;
  max-width: 100%;
  height: auto;
}

.ms-site-header .global-nav ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px,2.2vw,30px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.ms-site-header .nav-details > summary {
  display: none;
}

.ms-site-header .nav-details:not([open]) > ul {
  display: flex;
}

.ms-site-header .global-nav a {
  position: relative;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  color: #172334;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.ms-site-header .global-nav a::after {
  position: absolute;
  right: 0;
  bottom: 8px;
  left: 0;
  height: 2px;
  content: "";
  background: #005bac;
  transform: scaleX(0);
  transition: transform .16s ease;
}

.ms-site-header .global-nav a:hover::after,
.ms-site-header .global-nav a:focus-visible::after {
  transform: scaleX(1);
}

.ms-site-header .global-nav [aria-current="page"] {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  padding-inline: 10px;
  color: #003f7d;
  background: #f3f9fd;
  border-bottom: 3px solid #005bac;
  font-weight: 900;
  white-space: nowrap;
}

.ms-site-header .account {
  min-width: 225px;
}

.ms-site-header .account-mobile {
  display: none;
}

.ms-site-header .account-raw,
.ms-site-header .member-raw {
  display: none !important;
}

.js .ms-site-header .account:not(.is-ready) .account-actions,
.js .ms-site-header .account:not(.is-ready) .account-logged {
  visibility: hidden;
}

.ms-site-header .account-actions,
.ms-site-header .account-logged {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
}

.ms-site-header .member-identity {
  display: grid;
  min-width: 0;
  max-width: 210px;
  min-height: 0;
  gap: 0;
  padding: 5px 10px;
  color: #003f7d;
  background: #fff;
  border: 1px solid #cdddf1;
  border-radius: 13px;
  font-weight: 900;
  line-height: 1.35;
  white-space: normal;
}

.ms-site-header .member-company {
  min-width: 0;
  font-size: .7rem;
  overflow-wrap: anywhere;
}

.ms-site-header .member-person-line {
  display: flex;
  min-width: 0;
  align-items: baseline;
  gap: 2px;
  flex-wrap: wrap;
}

.ms-site-header .member-name {
  min-width: 0;
  max-width: none;
  overflow: visible;
  font-size: .76rem;
  white-space: normal;
  text-overflow: clip;
  overflow-wrap: anywhere;
}

.ms-site-header .member-sama {
  font-size: .7rem;
}

.ms-site-header .member-point {
  margin-left: 5px;
  color: #59687a;
  font-size: .68rem;
  white-space: nowrap;
}

.ms-site-header .account-link {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 7px 11px;
  color: #003f7d;
  background: #fff;
  border: 1px solid #7896b7;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  box-shadow: none;
  transform: none;
}

.ms-site-header .account-link.order {
  color: #fff;
  background: #f08a00;
  border-color: #f08a00;
}

.ms-site-header .account-link.guide {
  color: #fff;
  background: #005bac;
  border-color: #003f7d;
}

.ms-site-header .account-cart.has-items {
  position: relative;
  gap: 5px;
  padding-right: 13px;
  padding-left: 30px;
  color: #fff;
  background: #005bac;
  border-color: #003f7d;
}

.ms-site-header .account-cart.has-items::before {
  position: absolute;
  left: 9px;
  width: 16px;
  height: 16px;
  content: "";
  background: center / contain no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 4h2l2.1 9.2a2 2 0 0 0 2 1.6h7.8a2 2 0 0 0 1.9-1.4L21 7H6.1M10 19.2h.01M17 19.2h.01' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.ms-site-header .account-cart.has-items::after {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 10px;
  height: 10px;
  content: "";
  background: #f08a00;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #003f7d;
}

@media (hover:hover) {
  .ms-site-header .account-link:hover {
    color: #003f7d;
    background: #eaf4ff;
    box-shadow: none;
    transform: none;
  }

  .ms-site-header .account-link.order:hover {
    color: #fff;
    background: #dc7700;
    border-color: #dc7700;
  }

  .ms-site-header .account-link.guide:hover,
  .ms-site-header .account-cart.has-items:hover {
    color: #fff;
    background: #004b91;
    border-color: #003f7d;
  }
}

.ms-site-header .account-link:active {
  color: #003f7d;
  background: #eaf4ff;
  box-shadow: none;
  transform: none;
}

.ms-site-header .account-link.order:active {
  color: #fff;
  background: #d87500;
  border-color: #d87500;
}

.ms-site-header .account-link.guide:active,
.ms-site-header .account-cart.has-items:active {
  color: #fff;
  background: #003f7d;
  border-color: #003f7d;
}

.ms-site-footer {
  margin-top: 28px;
  padding: 28px 16px 24px;
  color: #fff;
  background:
    linear-gradient(90deg,rgba(16,35,63,.92),rgba(33,51,62,.86)),
    url("../images/lp010_bg_cta.jpg") center/cover no-repeat;
  border-top: 0;
  text-align: left;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    "Yu Gothic",
    Meiryo,
    sans-serif;
}

.ms-site-footer :focus-visible {
  outline: 3px solid #f6c344;
  outline-offset: 3px;
}

.ms-site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1.15fr;
  gap: 16px;
  max-width: 1120px;
  margin-inline: auto;
}

.ms-site-footer .footer-group {
  padding: 18px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 18px;
  box-shadow: none;
}

.ms-site-footer .footer-group h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 1rem;
  line-height: 1.35;
}

.ms-site-footer .footer-group h2::after {
  display: block;
  width: 34px;
  height: 3px;
  margin-top: 8px;
  content: "";
  background: #fee86d;
  border-radius: 999px;
}

.ms-site-footer .footer-group ul {
  display: grid;
  gap: 7px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ms-site-footer .footer-group a {
  display: inline-flex;
  align-items: center;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
  text-decoration: none;
}

.ms-site-footer .footer-group a::before {
  display: inline-flex;
  margin-right: 6px;
  content: "›";
  color: #fee86d;
  font-weight: 900;
}

.ms-site-footer .footer-group a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ms-site-footer .footer-trust {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 1120px;
  margin: 16px auto 0;
  padding: 16px 18px;
  color: #fff;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 18px;
}

.ms-site-footer .footer-pmark {
  display: inline-flex;
  flex: 0 0 auto;
  width: 112px;
  height: 112px;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 14px;
  text-decoration: none;
}

.ms-site-footer .footer-pmark img {
  display: block;
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.ms-site-footer .footer-trust-copy {
  min-width: 0;
  flex: 1;
}

.ms-site-footer .footer-trust strong {
  display: block;
  margin-bottom: 5px;
  color: #fff;
  font-size: 16px;
  line-height: 1.45;
}

.ms-site-footer .footer-trust p {
  margin: 0 0 8px;
  color: rgba(255,255,255,.92);
  font-size: 13px;
  line-height: 1.65;
}

.ms-site-footer .footer-trust-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.ms-site-footer .footer-trust-links a {
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ms-site-footer .footer-bottom {
  max-width: 1120px;
  margin: 16px auto 0;
  padding-top: 14px;
  color: #fff;
  border-top: 1px solid rgba(255,255,255,.18);
  font-size: .75rem;
  text-align: center;
}

.ms-site-footer .footer-bottom p {
  margin: 4px 0;
}

.ms-site-footer .footer-bottom a {
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}

@media (max-width:1220px) {
  .ms-site-header .header-main {
    grid-template-columns: auto 1fr;
    gap: 18px;
    padding-top: 9px;
  }

  .ms-site-header .account-mobile {
    display: block;
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .ms-site-header .account-desktop {
    display: none;
  }

  .ms-site-header .global-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: -4px;
    border-top: 1px solid #d7e0e8;
  }

  .ms-site-header .global-nav ul {
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: thin;
  }
}

@media (max-width:900px) {
  .ms-site-header .account-link {
    min-height: 44px;
  }

  .ms-site-footer {
    padding: 22px 12px calc(92px + env(safe-area-inset-bottom));
  }

  .ms-site-footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ms-site-footer .footer-group {
    padding: 15px;
  }

  .ms-site-footer .footer-group ul {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 8px;
  }

  .ms-site-footer .footer-group a {
    display: flex;
    min-height: 44px;
    padding: 7px 9px;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    font-size: 13px;
    line-height: 1.25;
  }

  .ms-site-footer .footer-trust-links a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    padding: 7px 8px;
  }
}

@media (max-width:860px) {
  .ms-shell-container {
    width: min(calc(100% - 32px), 1180px);
  }

  .ms-site-header .utility ul {
    display: none;
  }

  .ms-site-header .utility-inner {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width:640px) {
  .ms-site-header .utility {
    display: none;
  }

  .ms-shell-container {
    width: min(calc(100% - 28px), 1180px);
  }

  .ms-site-header .header-main {
    min-height: 72px;
    gap: 10px;
    padding-top: 5px;
  }

  .ms-site-header .brand img {
    width: 124px;
  }

  .ms-site-header .account {
    min-width: 0;
  }

  .ms-site-header .account-actions,
  .ms-site-header .account-logged {
    gap: 5px;
  }

  .ms-site-header .account-link {
    min-height: 44px;
    padding: 7px 9px;
    font-size: .7rem;
  }

  .ms-site-header .account-logged {
    display: grid;
    grid-template-columns: repeat(3,auto);
    justify-content: end;
  }

  .ms-site-header .member-identity {
    grid-column: 1 / -1;
    justify-self: end;
    max-width: 100%;
  }

  .ms-site-header .global-nav {
    width: 100%;
    margin: 0;
    padding: 0 0 8px;
    border-top: 0;
  }

  .ms-site-header .nav-details > summary {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 4px 0;
    color: #003f7d;
    cursor: pointer;
    font-size: .79rem;
    font-weight: 900;
    list-style: none;
  }

  .ms-site-header .nav-details > summary::-webkit-details-marker {
    display: none;
  }

  .ms-site-header .nav-summary-inner {
    display: flex;
    width: 100%;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #f3f9fd;
    border: 1px solid #d7e0e8;
    border-radius: 8px;
  }

  .ms-site-header .nav-hamburger {
    position: relative;
    width: 16px;
    height: 12px;
    flex: 0 0 16px;
    border-top: 2px solid #005bac;
    border-bottom: 2px solid #005bac;
  }

  .ms-site-header .nav-hamburger::after {
    position: absolute;
    top: 3px;
    right: 0;
    left: 0;
    height: 2px;
    content: "";
    background: #005bac;
  }

  .ms-site-header .nav-toggle-mark::before {
    content: "＋";
    color: #005bac;
  }

  .ms-site-header .nav-details[open] .nav-toggle-mark::before {
    content: "−";
  }

  .ms-site-header .nav-details:not([open]) > ul {
    display: none;
  }

  .ms-site-header .global-nav ul {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 0;
    padding: 6px 0 0;
    overflow: visible;
  }

  .ms-site-header .global-nav li {
    border-bottom: 1px solid #d7e0e8;
  }

  .ms-site-header .global-nav a {
    min-height: 44px;
    justify-content: flex-start;
    padding: 0 10px;
    font-size: .77rem;
  }

  .ms-site-header .global-nav a::after {
    display: none;
  }

  .ms-site-header .global-nav [aria-current="page"] {
    min-height: 44px;
    justify-content: flex-start;
    padding: 0 10px;
    border-bottom-width: 2px;
    font-size: .77rem;
  }

  .ms-site-footer .footer-trust {
    align-items: flex-start;
    margin-top: 12px;
    padding: 15px;
  }

  .ms-site-footer .footer-pmark {
    width: 106px;
    height: 106px;
  }

  .ms-site-footer .footer-trust-copy strong {
    font-size: 15px;
  }

  .ms-site-footer .footer-trust-links {
    display: grid;
    gap: 7px;
  }
}

@media (max-width:420px) {
  .ms-site-footer .footer-group ul {
    grid-template-columns: 1fr;
  }
}
