/* AQUA GIFT shared header/footer for standard SWELL posts and pages. */
body.ag-site-chrome{
  --agc-border:#E4E9EE;
  --agc-ink:#0A1A2B;
  --agc-ink-2:#2A3A4C;
  --agc-muted:#5B6B7D;
  --agc-muted-2:#8794A2;
  --agc-accent:#0B5277;
  --agc-accent-2:#093E5B;
  --agc-max:1320px;
  --agc-pad:48px;
  --agc-ff-jp:'Noto Sans JP',system-ui,-apple-system,sans-serif;
  --agc-ff-en:'Manrope','Inter',system-ui,sans-serif;
}

body.ag-site-chrome #body_wrap>.topbar,
body.ag-site-chrome #body_wrap>header.site,
body.ag-site-chrome #body_wrap>footer{
  font-family:var(--agc-ff-jp);
  font-feature-settings:"palt";
  line-height:1.6;
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
}
body.ag-site-chrome #body_wrap>.topbar *,
body.ag-site-chrome #body_wrap>header.site *,
body.ag-site-chrome #body_wrap>footer *{box-sizing:border-box}
body.ag-site-chrome #body_wrap>.topbar a,
body.ag-site-chrome #body_wrap>header.site a,
body.ag-site-chrome #body_wrap>footer a{color:inherit;text-decoration:none}
body.ag-site-chrome #body_wrap>header.site button{
  appearance:none;
  border:0;
  border-radius:0;
  margin:0;
  padding:0;
  background:none;
  color:inherit;
  cursor:pointer;
  font:inherit;
}
body.ag-site-chrome #body_wrap>.topbar>.container,
body.ag-site-chrome #body_wrap>header.site>.container,
body.ag-site-chrome #body_wrap>footer>.container{
  width:100%;
  max-width:var(--agc-max);
  margin:0 auto;
  padding-right:var(--agc-pad);
  padding-left:var(--agc-pad);
}

/* Announcement bar */
body.ag-site-chrome #body_wrap>.topbar{
  display:flex;
  align-items:center;
  height:36px;
  margin:0;
  background:#0A1A2B;
  color:#E2E8EE;
  font-size:12px;
}
body.ag-site-chrome #body_wrap>.topbar .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
}
body.ag-site-chrome #body_wrap>.topbar .info{display:flex;align-items:center;gap:10px}
body.ag-site-chrome #body_wrap>.topbar .dot{
  width:6px;
  height:6px;
  flex:0 0 6px;
  border-radius:50%;
  background:#F0B43A;
  box-shadow:0 0 0 4px rgba(240,180,58,.18);
}
body.ag-site-chrome #body_wrap>.topbar nav{display:flex;gap:22px}
body.ag-site-chrome #body_wrap>.topbar nav a{display:inline-flex;align-items:center;gap:6px;color:#A8B5C2}
body.ag-site-chrome #body_wrap>.topbar nav a:hover{color:#fff}
body.ag-site-chrome #body_wrap>.topbar .arrow{font-size:10px;opacity:.6}

/* Header */
body.ag-site-chrome #body_wrap>header.site{
  position:sticky;
  top:0;
  z-index:50;
  width:100%;
  margin:0;
  border-bottom:1px solid var(--agc-border);
  background:rgba(255,255,255,.92);
  backdrop-filter:saturate(140%) blur(10px);
}
body.ag-site-chrome #body_wrap.admin-bar>header.site{top:32px}
body.ag-site-chrome #body_wrap>header.site .row{display:flex;align-items:center;gap:36px;height:84px}
body.ag-site-chrome #body_wrap>header.site .logo{display:flex;align-items:baseline;gap:10px;flex:0 0 auto}
body.ag-site-chrome #body_wrap>header.site .logo .mark{
  position:relative;
  display:grid;
  place-items:center;
  align-self:center;
  width:38px;
  height:38px;
  overflow:hidden;
  border-radius:11px;
  background:linear-gradient(155deg,#0B5277,#062538);
  color:#7ED0E8;
  font-family:var(--agc-ff-en);
  font-size:18px;
  font-weight:800;
  letter-spacing:-.02em;
}
body.ag-site-chrome #body_wrap>header.site .logo .mark::after{
  position:absolute;
  right:-30%;
  bottom:-40%;
  left:-30%;
  height:60%;
  background:radial-gradient(ellipse at center,rgba(126,208,232,.45),transparent 60%);
  content:"";
}
body.ag-site-chrome #body_wrap>header.site .logo .word{
  color:var(--agc-ink);
  font-family:var(--agc-ff-en);
  font-size:22px;
  font-weight:800;
  letter-spacing:-.01em;
  line-height:1;
}
body.ag-site-chrome #body_wrap>header.site .logo .sub{
  margin-left:2px;
  color:var(--agc-muted);
  font-family:var(--agc-ff-en);
  font-size:11px;
  font-weight:500;
  letter-spacing:.18em;
  text-transform:uppercase;
}
body.ag-site-chrome #body_wrap>header.site nav.primary{
  display:flex;
  flex-shrink:0;
  gap:26px;
  margin-left:14px;
}
body.ag-site-chrome #body_wrap>header.site nav.primary a{
  position:relative;
  display:inline-flex;
  flex-direction:column;
  align-items:center;
  gap:1px;
  padding:6px 0;
  color:var(--agc-ink-2);
  font-size:14px;
  font-weight:500;
  line-height:1.25;
  white-space:nowrap;
}
body.ag-site-chrome #body_wrap>header.site nav.primary a small{
  color:var(--agc-muted-2);
  font-family:var(--agc-ff-en);
  font-size:10px;
  font-weight:600;
  letter-spacing:.12em;
  text-transform:uppercase;
}
body.ag-site-chrome #body_wrap>header.site nav.primary a:hover,
body.ag-site-chrome #body_wrap>header.site nav.primary a.active{
  width:auto;
  border-bottom:0!important;
  color:var(--agc-accent);
}
body.ag-site-chrome #body_wrap>header.site nav.primary a.active::after{
  position:absolute;
  right:0;
  bottom:-1px;
  left:0;
  height:2px;
  background:var(--agc-accent);
  content:"";
}
body.ag-site-chrome #body_wrap>header.site .utility{display:flex;align-items:center;gap:10px;margin-left:auto}
body.ag-site-chrome #body_wrap>header.site .mall-btn{
  display:inline-flex;
  flex-shrink:0;
  align-items:center;
  gap:8px;
  padding:9px 14px;
  border-radius:10px;
  color:#fff;
  font-size:12px;
  font-weight:600;
  letter-spacing:.02em;
  line-height:1;
  white-space:nowrap;
}
body.ag-site-chrome #body_wrap>header.site .mall-btn.official{background:var(--agc-accent)}
body.ag-site-chrome #body_wrap>header.site .mall-btn.official:hover{background:var(--agc-accent-2)}
body.ag-site-chrome #body_wrap>header.site .mall-btn.rakuten{background:#BF0000}
body.ag-site-chrome #body_wrap>header.site .mall-btn.rakuten:hover{background:#9F0000}
body.ag-site-chrome #body_wrap>header.site .mall-btn.yahoo{background:#FF0033}
body.ag-site-chrome #body_wrap>header.site .mall-btn.yahoo:hover{background:#D9002B}
body.ag-site-chrome #body_wrap>header.site .mall-btn .mk{
  display:grid;
  place-items:center;
  width:18px;
  height:18px;
  border-radius:5px;
  background:rgba(255,255,255,.18);
  font-family:var(--agc-ff-en);
  font-size:13px;
  font-weight:800;
}
body.ag-site-chrome #body_wrap>header.site .mall-btn .arrow{margin-left:2px;font-size:11px;opacity:.85}
body.ag-site-chrome #body_wrap>.ag-site-chrome-offset{
  position:absolute!important;
  display:block!important;
  width:0!important;
  height:84px!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  visibility:hidden!important;
  pointer-events:none!important;
}

/* Footer */
body.ag-site-chrome #body_wrap>footer{
  width:100%;
  margin:0;
  padding:80px 0 32px;
  background:#06121E;
  color:#A8B5C2;
  font-size:13px;
}
body.ag-site-chrome #body_wrap>footer .grid{
  display:grid;
  grid-template-columns:1.4fr repeat(3,1fr);
  gap:48px;
  padding-bottom:60px;
  border-bottom:1px solid rgba(255,255,255,.08);
}
body.ag-site-chrome #body_wrap>footer .brand .word{
  display:flex;
  align-items:center;
  gap:10px;
  margin:0;
  color:#fff;
  font-family:var(--agc-ff-en);
  font-size:24px;
  font-weight:800;
  letter-spacing:-.01em;
}
body.ag-site-chrome #body_wrap>footer .brand .word .mk{
  display:grid;
  place-items:center;
  width:32px;
  height:32px;
  border-radius:9px;
  background:linear-gradient(155deg,#0B5277,#062538);
  color:#7ED0E8;
  font-family:var(--agc-ff-en);
  font-size:15px;
}
body.ag-site-chrome #body_wrap>footer .brand p{max-width:340px;margin:18px 0 0;color:#8FA0B2;line-height:1.85}
body.ag-site-chrome #body_wrap>footer .brand .tel{
  margin-top:18px;
  color:#fff;
  font-family:var(--agc-ff-en);
  font-size:22px;
  font-weight:700;
  letter-spacing:-.01em;
}
body.ag-site-chrome #body_wrap>footer .col h5{
  margin:0 0 18px;
  color:#fff;
  font-size:13px;
  font-weight:600;
  letter-spacing:.06em;
}
body.ag-site-chrome #body_wrap>footer .col a{display:block;padding:6px 0;color:#A8B5C2}
body.ag-site-chrome #body_wrap>footer .col a:hover{color:#fff}
body.ag-site-chrome #body_wrap>footer .bot{
  display:flex;
  justify-content:space-between;
  padding-top:24px;
  color:#5B6B7D;
  font-size:12px;
}

/* Mobile drawer */
body.ag-site-chrome #body_wrap>header.site .burger{
  display:none;
  flex-shrink:0;
  flex-direction:column;
  justify-content:center;
  gap:5px;
  width:44px;
  height:44px;
  margin-left:auto;
}
body.ag-site-chrome #body_wrap>header.site .burger span{
  display:block;
  width:24px;
  height:2px;
  margin:0 auto;
  border-radius:2px;
  background:var(--agc-ink);
  transition:transform .25s ease,opacity .2s ease;
}
body.ag-site-chrome #body_wrap>header.site .burger span.on:nth-child(1){transform:translateY(7px) rotate(45deg)}
body.ag-site-chrome #body_wrap>header.site .burger span.on:nth-child(2){opacity:0}
body.ag-site-chrome #body_wrap>header.site .burger span.on:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
body.ag-site-chrome #body_wrap>header.site .mobile-drawer{display:none}
body.ag-site-chrome #body_wrap>header.site .drawer-close{display:none}
body.ag-site-chrome #body_wrap>header.site :is(a,button):focus-visible{
  outline:3px solid rgba(26,145,189,.42);
  outline-offset:3px;
}

@media (max-width:980px){
  body.ag-site-chrome{--agc-pad:24px}
  /* A backdrop filter makes fixed descendants use this sticky header as their
     containing block. Disable it here so the drawer covers the viewport. */
  body.ag-site-chrome #body_wrap>header.site{
    -webkit-backdrop-filter:none;
    backdrop-filter:none;
  }
  body.ag-site-chrome #body_wrap>header.site .row{height:64px;gap:16px}
  body.ag-site-chrome #body_wrap>header.site nav.primary,
  body.ag-site-chrome #body_wrap>header.site .utility{display:none}
  body.ag-site-chrome #body_wrap>header.site .burger{display:flex}
  body.ag-site-chrome #body_wrap>header.site .logo .mark{width:34px;height:34px;font-size:16px}
  body.ag-site-chrome #body_wrap>header.site .logo .word{font-size:19px}
  body.ag-site-chrome #body_wrap>header.site .logo .sub{display:none}

  body.ag-site-chrome #body_wrap>header.site .mobile-drawer{
    position:fixed;
    inset:0;
    z-index:80;
    display:block;
    overflow:hidden;
    visibility:hidden;
    max-width:100vw;
    background:rgba(6,18,30,.45);
    opacity:0;
    pointer-events:none;
    transition:opacity .25s ease,visibility 0s linear .25s;
  }
  body.ag-site-chrome #body_wrap>header.site .mobile-drawer.open{
    visibility:visible;
    opacity:1;
    pointer-events:auto;
    transition-delay:0s;
  }
  body.ag-site-chrome #body_wrap>header.site .mobile-drawer .sheet{
    position:absolute;
    top:0;
    right:0;
    display:flex;
    flex-direction:column;
    gap:24px;
    width:min(86vw,360px);
    max-width:86vw;
    height:100%;
    padding:84px 22px 28px;
    overflow-y:auto;
    background:#fff;
    box-shadow:-12px 0 40px -20px rgba(10,26,43,.5);
    transform:translateX(100%);
    transition:transform .3s cubic-bezier(.4,0,.2,1);
  }
  body.ag-site-chrome #body_wrap>header.site .drawer-close{
    position:absolute;
    top:18px;
    right:18px;
    display:grid;
    place-items:center;
    width:44px;
    height:44px;
    border:1px solid var(--agc-border);
    border-radius:50%;
    background:#fff;
    color:var(--agc-ink);
    font-family:var(--agc-ff-en);
    font-size:26px;
    font-weight:500;
    line-height:1;
  }
  body.ag-site-chrome #body_wrap>header.site .mobile-drawer.open .sheet{transform:translateX(0)}
  body.ag-site-chrome #body_wrap>header.site .m-nav{display:flex;flex-direction:column}
  body.ag-site-chrome #body_wrap>header.site .m-nav a{
    display:flex;
    align-items:baseline;
    gap:10px;
    padding:16px 4px;
    border-bottom:1px solid var(--agc-border);
    color:var(--agc-ink);
    font-size:17px;
    font-weight:600;
  }
  body.ag-site-chrome #body_wrap>header.site .m-nav a small{
    color:var(--agc-muted-2);
    font-family:var(--agc-ff-en);
    font-size:11px;
    font-weight:600;
    letter-spacing:.12em;
    text-transform:uppercase;
  }
  body.ag-site-chrome #body_wrap>header.site .m-nav a.active{
    width:100%;
    border-bottom:1px solid var(--agc-border)!important;
    color:var(--agc-accent);
  }
  body.ag-site-chrome #body_wrap>header.site .m-malls{display:flex;flex-direction:column;gap:10px}
  body.ag-site-chrome #body_wrap>header.site .m-malls .mall-btn{justify-content:center;padding:13px 16px;font-size:13px}
  body.ag-site-chrome #body_wrap>.ag-site-chrome-offset{height:64px!important}

  body.ag-site-chrome #body_wrap>.topbar{height:auto;padding:7px 0}
  body.ag-site-chrome #body_wrap>.topbar .container{flex-direction:column;align-items:flex-start;gap:4px}
  body.ag-site-chrome #body_wrap>.topbar nav{display:none}
  body.ag-site-chrome #body_wrap>.topbar .info{font-size:11px;line-height:1.5}

  body.ag-site-chrome #body_wrap>footer{padding:56px 0 28px}
  body.ag-site-chrome #body_wrap>footer .grid{grid-template-columns:1fr 1fr;gap:32px;padding-bottom:40px}
  body.ag-site-chrome #body_wrap>footer .brand{grid-column:1/-1}
  body.ag-site-chrome #body_wrap>footer .bot{flex-direction:column;align-items:flex-start;gap:8px}
}

@media (max-width:782px){
  body.ag-site-chrome #body_wrap.admin-bar>header.site{top:46px}
}

@media (max-width:560px){
  body.ag-site-chrome{--agc-pad:18px}
  body.ag-site-chrome #body_wrap>footer .grid{grid-template-columns:1fr}
  body.ag-site-chrome #body_wrap>footer .brand{grid-column:auto}
}

@media (prefers-reduced-motion:reduce){
  body.ag-site-chrome #body_wrap>header.site .mobile-drawer,
  body.ag-site-chrome #body_wrap>header.site .mobile-drawer .sheet,
  body.ag-site-chrome #body_wrap>header.site .burger span{transition:none}
}
