:root {
  --ink: #332216;
  --muted: #655748;
  --orange: #f59b0a;
  --orange-dark: #db8200;
  --facebook: #2368db;
  --line: #20b930;
  --cream: #fff8e6;
  --light-line: #ece8df;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-width: 320px;
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: "Noto Sans TC", "Microsoft JhengHei", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  min-height: 86px;
  border-bottom: 1px solid rgba(102, 78, 49, 0.08);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 4px 18px rgba(59, 43, 26, 0.04);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  width: min(1440px, 100%);
  min-height: 86px;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  margin: 0 auto;
  padding: 10px clamp(22px, 4.5vw, 70px);
}

.brand,
nav a {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-weight: 900;
}

.brand { font-size: clamp(16px, 1.65vw, 24px); }

nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  object-position: center;
}

nav a {
  min-height: 48px;
  padding: 0 12px;
  border-radius: 14px;
  color: var(--orange-dark);
  font-size: clamp(15px, 1.45vw, 21px);
  transition: background 160ms ease, transform 160ms ease;
}

nav .about-link { color: var(--ink); }

.about-menu {
  position: relative;
  display: flex;
  align-items: center;
}

.about-preview {
  position: absolute;
  z-index: 50;
  top: calc(100% + 10px);
  right: 0;
  visibility: hidden;
  overflow: auto;
  width: min(620px, calc(100vw - 32px));
  max-height: calc(100vh - 120px);
  padding: 22px 25px 23px;
  border: 1px solid rgba(205, 160, 80, .28);
  border-radius: 18px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 18px 45px rgba(65, 45, 23, .2);
  color: var(--muted);
  opacity: 0;
  pointer-events: none;
  text-align: left;
  transform: translateY(-7px);
  transition: opacity 140ms ease, transform 140ms ease, visibility 140ms ease;
}

.about-preview::before {
  position: absolute;
  top: -7px;
  right: 32px;
  width: 14px;
  height: 14px;
  border-top: 1px solid rgba(205, 160, 80, .28);
  border-left: 1px solid rgba(205, 160, 80, .28);
  background: white;
  content: "";
  transform: rotate(45deg);
}

.about-preview-identity {
  margin: 0 0 17px;
  padding: 0 0 16px;
  border-bottom: 1px solid rgba(205, 160, 80, .28);
}

.about-preview-identity h2 {
  margin: 0 0 7px;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.35;
  letter-spacing: .04em;
}

.about-preview .about-preview-registration {
  margin: 0 0 6px;
  color: #8c6328;
  font-size: 14px;
}

.about-preview .about-preview-english {
  margin: 0;
  color: #4f3b2b;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.45;
}

.about-preview p {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 16px;
}

.about-preview ol {
  margin: 0;
  padding-left: 1.55em;
}

.about-preview li {
  padding-left: .3em;
  font-size: 14px;
  line-height: 1.6;
}

.about-preview li + li { margin-top: 4px; }

.about-link:hover + .about-preview,
.about-link:focus-visible + .about-preview {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

nav a img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
}

nav a:hover,
nav a:focus-visible {
  background: #fff5de;
  outline: none;
  transform: translateY(-2px);
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 74% 30%, rgba(255,255,255,.92), transparent 28%),
    linear-gradient(135deg, #fff6da 0%, #fffdf6 55%, #fff3ce 100%);
}

.banner-hero {
  background: #fff8e8;
}

.banner-hero::before,
.banner-hero::after {
  display: none;
}

.hero-banner {
  width: 100%;
  height: auto;
}

.hero::before,
.hero::after {
  position: absolute;
  z-index: -1;
  width: 330px;
  height: 330px;
  border: 34px solid rgba(246, 184, 47, 0.1);
  border-radius: 50%;
  content: "";
}

.hero::before { top: -210px; left: -180px; }
.hero::after { right: -210px; bottom: -220px; }

.hero-pattern {
  position: absolute;
  top: 20px;
  right: 36px;
  width: 160px;
  height: 120px;
  opacity: .38;
  background-image: radial-gradient(#f3c357 2.5px, transparent 2.5px);
  background-size: 18px 18px;
}

.hero-inner {
  display: grid;
  width: min(1260px, calc(100% - 42px));
  min-height: 620px;
  grid-template-columns: minmax(370px, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(34px, 6vw, 92px);
  margin: 0 auto;
}

.mascot-stage {
  position: relative;
  display: flex;
  height: 580px;
  align-items: flex-end;
  justify-content: center;
}

.mascot-stage::after {
  position: absolute;
  bottom: 18px;
  width: 72%;
  height: 26px;
  border-radius: 50%;
  background: rgba(75, 48, 24, .14);
  filter: blur(18px);
  content: "";
}

.mascot-stage > img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  mix-blend-mode: multiply;
}

.security-badge {
  position: absolute;
  z-index: 3;
  top: 36%;
  left: -2%;
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  border: 3px solid #f0c45f;
  border-radius: 50% 50% 50% 18%;
  background: rgba(255,255,255,.88);
  font-size: 30px;
  transform: rotate(10deg);
}

.hero-copy {
  position: relative;
  z-index: 3;
  text-align: center;
}

.hero-kicker {
  margin: 0 0 10px;
  color: #d98a00;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .26em;
}

h1 {
  margin: 0;
  font-size: clamp(74px, 8.4vw, 122px);
  line-height: 1;
  letter-spacing: .06em;
}

.hero-subtitle {
  margin: 30px 0 32px;
  font-size: clamp(27px, 3.1vw, 43px);
  font-weight: 900;
  letter-spacing: .06em;
}

.hero-subtitle strong { color: var(--orange); }

.trust-line {
  display: grid;
  width: min(540px, 86%);
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  margin: 0 auto 28px;
}

.trust-line span { height: 2px; background: #e8b347; }

.trust-line b {
  display: grid;
  width: 43px;
  height: 48px;
  place-items: center;
  color: var(--orange);
  font-size: 27px;
  line-height: 1;
  border: 3px solid var(--orange);
  border-radius: 11px 11px 17px 17px;
}

.hero-description {
  margin: 0;
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.9;
  letter-spacing: .05em;
}

.hero-description span { display: block; }

.hero-cta {
  display: none;
}

.services {
  padding: 48px clamp(20px, 4vw, 54px) 62px;
  background: #fff;
  scroll-margin-top: 86px;
}

.services-inner { width: min(1280px, 100%); margin: 0 auto; }

.section-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 38px;
}

.section-heading span { color: #cf9a55; font-size: 34px; }

.section-heading h2 {
  margin: 0;
  font-size: clamp(29px, 3.2vw, 42px);
  letter-spacing: .05em;
  text-align: center;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.service-card {
  overflow: hidden;
  border: 1px solid #ece9e1;
  border-radius: 22px;
  background: white;
  box-shadow: 0 14px 35px rgba(72, 54, 35, .10);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 42px rgba(72, 54, 35, .15);
}

.card-visual {
  position: relative;
  height: 320px;
  overflow: hidden;
}

.facebook-visual { background: linear-gradient(145deg, #edf5ff, #dcecff); }
.line-visual { background: linear-gradient(145deg, #f3fbe8, #e7f4dc); }
.sticker-visual { background: linear-gradient(145deg, #fff7df, #fff0c7); }

.card-visual > img:not(.sticker-small) {
  position: absolute;
  z-index: 3;
  right: 5%;
  bottom: 0;
  width: 86%;
  height: 78%;
  object-fit: contain;
}

.card-visual > .card-feature-image {
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
}

.browser-window {
  position: absolute;
  top: 52px;
  left: 8%;
  width: 78%;
  height: 215px;
  border: 4px solid #5c9fe6;
  border-radius: 14px;
  background: rgba(255,255,255,.7);
}

.browser-window > span {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin: 11px 2px 0 8px;
  border-radius: 50%;
  background: #79aee7;
}

.browser-window > div {
  width: 58%;
  height: 11px;
  margin: 24px 0 0 20px;
  border-radius: 8px;
  background: #b8d5ee;
  box-shadow: 0 28px 0 #d2e6f4, 0 56px 0 #d2e6f4;
}

.platform-badge {
  position: absolute;
  z-index: 5;
  top: 64px;
  right: 9%;
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  border-radius: 50%;
  color: white;
  box-shadow: 0 9px 18px rgba(0,0,0,.12);
  font-weight: 900;
}

.facebook-badge {
  background: var(--facebook);
  font-family: Arial, sans-serif;
  font-size: 59px;
  padding-top: 14px;
}

.line-badge { background: var(--line); font-size: 14px; }

.phone {
  position: absolute;
  z-index: 1;
  top: 28px;
  left: 25%;
  width: 50%;
  height: 290px;
  border: 12px solid #161a1e;
  border-bottom-width: 0;
  border-radius: 42px 42px 0 0;
  background: #f8fbff;
}

.phone-speaker {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 42%;
  height: 8px;
  border-radius: 8px;
  background: #34393e;
  transform: translateX(-50%);
}

.chat {
  position: absolute;
  left: 14%;
  width: 66%;
  height: 19px;
  border-radius: 14px;
  background: #dce5ec;
}

.chat-one { top: 70px; }
.chat-two { top: 116px; left: 29%; width: 56%; }
.chat-three { top: 162px; }

.sticker-main {
  right: 7% !important;
  bottom: -5px !important;
  width: 86% !important;
  height: 79% !important;
}

.sticker-small {
  position: absolute;
  z-index: 5;
  width: 115px;
  height: 90px;
  border: 5px solid white;
  border-radius: 24px;
  background: white;
  box-shadow: 0 8px 20px rgba(73, 49, 18, .13);
  object-fit: contain;
}

.sticker-one { top: 24px; right: 16px; transform: rotate(8deg); }
.sticker-two { top: 70px; left: 17px; transform: rotate(-8deg); }

.card-content {
  padding: 34px 30px 30px;
  text-align: center;
}

.card-content h3 {
  margin: 0;
  font-size: clamp(24px, 2.4vw, 32px);
  letter-spacing: .04em;
}

.facebook-card h3 { color: var(--facebook); }
.line-card h3 { color: #13a32b; }
.sticker-card h3 { color: var(--orange-dark); }

.title-line {
  display: block;
  width: 42px;
  height: 4px;
  margin: 18px auto 21px;
  border-radius: 99px;
  background: currentColor;
}

.card-content p {
  min-height: 72px;
  margin: 0 0 28px;
  color: #2f2a25;
  font-size: 16px;
  line-height: 1.8;
}

.card-content > a {
  display: grid;
  min-height: 60px;
  grid-template-columns: 20px 1fr 20px;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 999px;
  color: white;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: .03em;
  transition: filter 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.facebook-button {
  background: linear-gradient(90deg, #3978e5, #2d62d4);
  box-shadow: 0 8px 18px rgba(35, 104, 219, .2);
}

.linebot-button {
  background: linear-gradient(90deg, #4fbd3c, #2fa62d);
  box-shadow: 0 8px 18px rgba(32, 185, 48, .2);
}

.stickers-button {
  background: linear-gradient(90deg, #f7aa29, #ee9416);
  box-shadow: 0 8px 18px rgba(245, 155, 10, .22);
}

.service-button::before {
  content: "";
}

.card-content > a:hover,
.card-content > a:focus-visible {
  filter: brightness(1.07);
  outline: none;
  transform: translateY(-2px);
}

.card-content > a:active {
  filter: brightness(.96);
  transform: translateY(1px) scale(.985);
}

.card-content > a > span:last-child { font-family: Arial, sans-serif; font-size: 32px; line-height: 1; }

.about {
  padding: 64px 24px 70px;
  background: #fff9e8;
  scroll-margin-top: 86px;
}

.about-inner {
  width: min(980px, 100%);
  margin: 0 auto;
  padding: clamp(30px, 5vw, 58px);
  border: 1px solid rgba(205, 160, 80, .22);
  border-radius: 24px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 14px 34px rgba(91, 65, 31, .08);
  text-align: center;
}

.about-label {
  margin: 0 0 12px;
  color: var(--orange-dark);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .16em;
}

.about h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 3vw, 38px);
  letter-spacing: .05em;
}

.registration-number {
  margin: 0 0 18px;
  color: #8c6328;
  font-size: 16px;
}

.about h3 {
  margin: 0 0 26px;
  color: #4f3b2b;
  font-size: clamp(18px, 2.3vw, 25px);
  line-height: 1.45;
}

.about-introduction {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
  text-align: left;
}

footer {
  position: relative;
  overflow: hidden;
  display: grid;
  min-height: 86px;
  place-items: center;
  padding: 28px 20px;
  border-top: 1px solid var(--light-line);
  background: linear-gradient(180deg, #fff, #fff9e8);
}

footer::before,
footer::after {
  position: absolute;
  bottom: -70px;
  width: 290px;
  height: 120px;
  border-radius: 50%;
  background: #b9cc57;
  content: "";
}

footer::before { left: -55px; }
footer::after { right: -55px; }

footer p { position: relative; z-index: 2; margin: 0; font-size: 14px; }

/* LineBot 使用說明頁 */
.linebot-nav-current {
  background: #fff5de;
  box-shadow: inset 0 -3px 0 var(--orange);
}

.linebot-guide {
  padding: 48px 24px 64px;
  background: linear-gradient(180deg, #fff 0%, #fffdf8 100%);
}

.linebot-guide-inner {
  width: min(1380px, 100%);
  margin: 0 auto;
}

.linebot-guide-heading {
  display: grid;
  grid-template-columns: minmax(70px, 1fr) auto auto auto minmax(70px, 1fr);
  align-items: center;
  gap: 16px;
  margin: 0 0 42px;
}

.linebot-guide-heading h1 {
  margin: 0;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.35;
  text-align: center;
  letter-spacing: .04em;
}

.linebot-guide-heading > span:not(.heading-rule) { font-size: 28px; }

.heading-rule {
  height: 1px;
  border-top: 2px dashed rgba(205, 160, 80, .52);
}

.member-guide-grid {
  display: grid;
  align-items: start;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.member-guide {
  --guide-accent: #4d8c3d;
  position: relative;
  min-width: 0;
  padding: 44px 28px 22px;
  border: 2px solid;
  border-radius: 22px;
  background: rgba(255, 255, 255, .84);
}

.guest-guide {
  border-color: rgba(95, 150, 70, .48);
  background: linear-gradient(135deg, rgba(243, 249, 236, .92), rgba(255, 255, 255, .95));
  color: var(--guide-accent);
}

.linebot-phone-preview { margin: 0 0 24px; }
.linebot-phone-preview figcaption {
  margin-bottom: 16px;
  text-align: center;
  font-size: 18px;
  font-weight: 800;
}
.linebot-phone {
  width: min(360px, 100%);
  aspect-ratio: 1 / 2.05;
  display: flex;
  flex-direction: column;
  margin-inline: auto;
  padding: 12px 9px 17px;
  border: 3px solid #505050;
  border-radius: 38px;
  background: #171717;
  box-shadow: 0 10px 22px rgba(35, 65, 30, .14);
}
.linebot-phone-speaker {
  flex: 0 0 5px;
  width: 48px;
  margin: 0 auto 10px;
  border-radius: 8px;
  background: #555;
}
.linebot-phone-screen {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 24px;
  background: #d9dce3;
}
.linebot-screen-header,
.linebot-screen-menu { position: relative; overflow: hidden; flex-shrink: 0; }
.linebot-screen-header { aspect-ratio: 869 / 140; }
.linebot-screen-menu { aspect-ratio: 869 / 697; }
.linebot-official-menu { aspect-ratio: 869 / 1195; }
.linebot-phone-screen img { position: absolute; width: 100%; height: auto; left: 0; }
.linebot-screen-header img { top: 0; }
.linebot-screen-menu img { bottom: 0; }
.linebot-chat-space { flex: 1; }

.official-guide {
  --guide-accent: #ed9706;
  border-color: rgba(245, 155, 10, .58);
  background: linear-gradient(135deg, rgba(255, 250, 237, .96), rgba(255, 255, 255, .96));
  color: var(--guide-accent);
}

.member-guide h2 {
  position: absolute;
  top: 0;
  left: 50%;
  display: flex;
  min-height: 48px;
  width: max-content;
  max-width: calc(100% - 36px);
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 7px 22px;
  border-radius: 999px;
  background: var(--guide-accent);
  color: white;
  font-size: clamp(17px, 1.55vw, 23px);
  line-height: 1.25;
  text-align: center;
  transform: translate(-50%, -50%);
}

.member-guide h2 > span {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border-radius: 50%;
  background: white;
  color: var(--guide-accent);
  font-family: Arial, sans-serif;
  font-size: 23px;
}

.member-guide dl { margin: 0; }

.guide-row {
  display: grid;
  grid-template-columns: minmax(150px, auto) 1fr;
  align-items: center;
  gap: 14px;
  min-height: 72px;
  padding: 13px 0;
  border-bottom: 1px dashed currentColor;
}

.guide-row:last-child { border-bottom: 0; }

.guide-row dt {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 900;
  white-space: nowrap;
}

.guide-row dd {
  min-width: 0;
  margin: 0;
  color: #40362d;
  font-size: 16px;
  line-height: 1.7;
}

.guide-row a { text-decoration: underline; text-underline-offset: 3px; }

.guide-icon {
  display: inline-grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  font-family: Arial, sans-serif;
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
}

.guide-facebook {
  border-radius: 50%;
  background: var(--guide-accent);
  color: white;
  font-size: 27px;
}

.official-guide dl { position: relative; z-index: 2; }

.guide-mascot {
  position: absolute;
  z-index: 1;
  right: -9px;
  bottom: -20px;
  width: 145px;
  height: 145px;
  object-fit: contain;
}

@media (max-width: 920px) {
  .member-guide-grid { grid-template-columns: 1fr; gap: 54px; }
  .linebot-guide { padding-top: 42px; }
}

@media (max-width: 600px) {
  .linebot-guide { padding: 34px 14px 48px; }
  .linebot-guide-heading {
    grid-template-columns: 24px auto 24px;
    gap: 8px;
    margin-bottom: 42px;
  }
  .linebot-guide-heading .heading-rule { display: none; }
  .linebot-guide-heading h1 { font-size: 24px; }
  .linebot-guide-heading > span:not(.heading-rule) { font-size: 21px; }
  .member-guide { padding: 46px 18px 18px; border-radius: 18px; }
  .member-guide h2 {
    width: calc(100% - 24px);
    max-width: none;
    justify-content: center;
    padding-inline: 12px;
    font-size: 16px;
  }
  .member-guide h2 > span { width: 30px; height: 30px; flex-basis: 30px; font-size: 20px; }
  .guide-row { grid-template-columns: 1fr; gap: 4px; min-height: 0; padding: 17px 0; }
  .guide-row dt { font-size: 17px; }
  .guide-row dd { padding-left: 48px; font-size: 15px; }
  .official-guide dl { padding-right: 0; }
  .guide-mascot { display: none; }
}

@media (max-width: 1040px) {
  .hero-inner {
    min-height: 560px;
    grid-template-columns: minmax(300px, .86fr) minmax(0, 1.14fr);
    gap: 26px;
  }

  .mascot-stage { height: 520px; }
  .service-grid { gap: 18px; }
  .card-visual { height: 270px; }
  .card-content { padding: 28px 22px 25px; }
  .card-content > a { font-size: 17px; }
}

@media (max-width: 820px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 56px 0 0;
  }

  .hero-copy { order: 1; }
  .mascot-stage { order: 2; height: 500px; margin-top: 12px; }
  .hero-cta {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    margin-top: 28px;
    padding: 0 24px;
    border-radius: 999px;
    background: var(--orange);
    color: white;
    font-weight: 900;
  }

  .service-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .card-visual { height: 340px; }
  .card-content p { min-height: auto; }
}

@media (max-width: 600px) {
  .site-header,
  .header-inner { min-height: 70px; }

  .header-inner { justify-content: center; gap: 0; padding: 7px 12px; }
  .brand { display: none; }
  nav { width: 100%; justify-content: center; }
  nav a { gap: 5px; padding: 0 4px; font-size: 12px; white-space: nowrap; }
  nav a img { width: 34px; height: 34px; }

  .hero-inner { width: calc(100% - 28px); padding-top: 46px; }
  h1 { font-size: clamp(58px, 19vw, 80px); letter-spacing: .02em; }
  .hero-subtitle { margin: 23px 0; font-size: 25px; }
  .trust-line { margin-bottom: 22px; }
  .hero-description { font-size: 17px; }
  .mascot-stage { height: 410px; }
  .security-badge { top: 28%; left: 1%; width: 58px; height: 58px; font-size: 22px; }

  .services { padding: 38px 15px 46px; scroll-margin-top: 70px; }
  .section-heading { gap: 8px; margin-bottom: 26px; }
  .section-heading span { font-size: 21px; }
  .section-heading h2 { font-size: 24px; line-height: 1.35; }
  .card-visual { height: 285px; }
  .card-content { padding: 28px 20px 24px; }
  .card-content h3 { font-size: 26px; }
  .card-content > a { font-size: 17px; }
  .about { padding: 42px 14px 48px; scroll-margin-top: 70px; }
  .about-inner { padding: 28px 20px; border-radius: 18px; }
  .about-introduction { font-size: 16px; }
}

.query-guide { padding: 0 24px 64px; background: #fffdf8; }
.query-guide-inner {
  width: min(1380px, 100%);
  margin: 0 auto;
  padding: clamp(24px, 4vw, 52px);
  border: 2px solid #ffb452;
  border-radius: 28px;
  background: linear-gradient(135deg, #fffaf0, #fff);
}
.query-guide h2 {
  width: fit-content;
  margin: 0 auto 36px;
  padding: 14px 30px;
  border-radius: 999px;
  background: #ffe5bc;
  font-size: clamp(24px, 3vw, 38px);
  text-align: center;
}
.query-guide-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: center; gap: clamp(28px, 5vw, 72px); }
.query-preview { min-width: 0; margin: 0; }
.query-phone-screen { display: flex; flex: 1; min-height: 0; align-items: center; overflow: hidden; border-radius: 24px; background: #d9dce3; }
.query-phone-screen img { width: 100%; height: 100%; object-fit: contain; }
.query-preview figcaption { margin-top: 18px; color: var(--muted); font-size: 14px; line-height: 1.7; text-align: center; }
.query-copy { min-width: 0; }
.query-copy h3 { margin: 0 0 24px; font-size: clamp(28px, 3.3vw, 46px); line-height: 1.4; }
.query-copy p { margin: 0; font-size: clamp(16px, 1.6vw, 21px); line-height: 1.9; }
.query-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 36px 0; padding: 0; list-style: none; }
.query-steps li { position: relative; display: grid; justify-items: center; gap: 12px; font-size: clamp(16px, 1.8vw, 23px); font-weight: 800; text-align: center; }
.query-steps li + li::before { position: absolute; top: 15px; left: -24px; content: "→"; color: #ee871c; font-size: 30px; }
.query-steps span { display: grid; width: 64px; height: 64px; place-items: center; border-radius: 50%; background: #f58a20; color: #fff; font-size: 30px; }
.query-copy .query-tip { font-size: 16px; }
@media (max-width: 820px) {
  .query-guide-layout { grid-template-columns: 1fr; }
  .query-copy h3 { text-align: center; }
}
@media (max-width: 600px) {
  .query-guide { padding: 0 14px 48px; }
  .query-guide-inner { padding: 26px 18px; border-radius: 18px; }
  .query-guide h2 { padding: 12px 16px; font-size: 22px; }
  .query-steps { gap: 12px; }
  .query-steps span { width: 48px; height: 48px; font-size: 24px; }
  .query-steps li + li::before { top: 9px; left: -18px; font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  nav a, .service-card, .card-content > a { transition: none; }
  .about-preview { transition: none; }
}

@media (hover: none) {
  .about-preview { display: none; }
}

@media (max-width: 600px) {
  .about-preview { display: none; }
}
.mobile-about-dialog {
  width: min(620px, calc(100% - 28px));
  max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px);
  margin: auto;
  padding: 0;
  border: 1px solid #ead4aa;
  border-radius: 22px;
  background: #fffdf8;
  color: var(--ink);
  box-shadow: 0 20px 60px rgba(40, 28, 16, .25);
}
.mobile-about-dialog::backdrop { background: rgba(30, 24, 18, .55); }
.mobile-about-panel { position: relative; display: flex; flex-direction: column; max-height: calc(100vh - 44px); max-height: calc(100dvh - 44px); }
.mobile-about-panel > h2 { flex-shrink: 0; margin: 0; padding: 22px 64px 18px 24px; font-size: 23px; }
.mobile-about-close { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff0d6; color: var(--ink); font-size: 30px; cursor: pointer; }
.mobile-about-content { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 24px 16px; font-size: 16px; line-height: 1.75; }
.mobile-about-content h2 { font-size: 21px; }
.mobile-about-content ol { margin: 0; padding-left: 1.5em; }
.mobile-about-content li + li { margin-top: 10px; }
.mobile-about-content p { margin: 10px 0; }
.mobile-about-content .about-preview-english { overflow-wrap: anywhere; }
.mobile-about-footer { flex-shrink: 0; padding: 16px 24px max(18px, env(safe-area-inset-bottom)); border-top: 1px solid #eadfc9; }
.mobile-about-footer a { display: block; padding: 13px 16px; border-radius: 999px; background: #f5a323; color: #332216; text-align: center; font-weight: 800; }
.mobile-about-close:focus-visible, .mobile-about-footer a:focus-visible { outline: 3px solid #805014; outline-offset: 3px; }
