:root {
  color-scheme: light;
  --paper: #fffdfe;
  --pink: #fbe7f3;
  --blue: #dff4f8;
  --ink: #29344b;
  --muted: #626b7d;
  --accent: #83559b;
  --line: #eae5ee;
  --font-body: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.8; -webkit-font-smoothing: antialiased; }
body, button { font-family: var(--font-body); }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
button, input { font: inherit; }
button[hidden] { display: none; }
img, svg { display: block; }
svg { flex-shrink: 0; }
p, h1, h2, h3, figure { margin: 0; }
h1, h2, h3 { line-height: 1.4; }
::selection { background: var(--pink); color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
main:focus { outline: none; }
.container { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 16px; z-index: 20; padding: 10px 18px; border-radius: 8px; background: var(--ink); color: white; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid rgba(234, 229, 238, .75); background: rgba(255, 253, 254, .96); }
.header-inner { min-height: 90px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 21px; font-weight: 700; letter-spacing: .02em; }
.brand-mark { width: 32px; height: 32px; color: var(--accent); }
.site-nav { display: flex; align-items: center; gap: 34px; }
.site-nav a { padding: 9px 0; color: var(--muted); font-size: 15px; transition: color .15s ease; }
.site-nav a:hover { color: var(--accent); }
.menu-toggle { display: none; }

.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 52px; padding-block: 76px 88px; }
.greeting { margin-bottom: 24px; font-size: 17px; color: var(--accent); font-weight: 500; }
.hero h1 { font-size: clamp(36px, 4.15vw, 58px); font-weight: 750; letter-spacing: -.045em; line-height: 1.3; }
.hero-description { max-width: 440px; margin-top: 25px; color: var(--muted); font-size: 17px; line-height: 1.95; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 26px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 11px 22px; border: 1px solid transparent; border-radius: 10px; font-size: 15px; font-weight: 600; line-height: 1.6; transition: background-color .15s ease, border-color .15s ease; }
.button-primary { background: var(--accent); color: white; }
.button-primary:hover { background: #704487; }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 15px; font-weight: 500; }
.text-link:hover { color: var(--accent); }
.text-link svg, .button svg, .footer-inner svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.hero-note { display: flex; align-items: baseline; gap: 9px; max-width: 400px; margin-top: 31px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.hero-note span { flex: 0 0 6px; width: 6px; height: 6px; border-radius: 50%; background: #b99dc8; }
.hero-art { padding-top: 10px; }
.art-frame { border: 6px solid white; border-radius: 28px 28px 28px 8px; overflow: hidden; box-shadow: 0 9px 35px rgba(93, 63, 113, .08); outline: 1px solid #f0e6f2; }
.art-frame img { width: 100%; height: auto; }
.hero-art figcaption { margin-top: 17px; padding-right: 5px; color: var(--muted); text-align: right; font-size: 12px; }

.section { padding-block: 70px; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
h2 { font-size: clamp(28px, 3vw, 36px); font-weight: 700; letter-spacing: -.03em; }
.section-heading > p, .interests-intro > p, .about-heading > p { color: var(--muted); font-size: 14px; }
.learning-section { padding-top: 51px; border-top: 1px solid var(--line); }
.learning-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px; }
.learning-item { padding-right: 20px; }
.topic-icon { width: 30px; height: 30px; margin-bottom: 21px; fill: none; stroke: var(--accent); stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
h3 { font-size: 21px; font-weight: 650; letter-spacing: -.015em; }
.learning-item > p { margin-top: 14px; color: var(--muted); font-size: 15px; line-height: 1.9; }
.learning-status { display: inline-block; margin-top: 19px; padding-bottom: 2px; border-bottom: 2px solid var(--pink); color: var(--accent); font-size: 12px; }

.work-section { padding-top: 62px; }
.diary-product { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 30px; align-items: center; padding: 48px 54px; border-radius: 22px; background: var(--blue); }
.product-kind { margin-bottom: 12px; color: #4d6d7c; font-size: 13px; }
.product-copy h3 { font-size: 38px; font-weight: 700; letter-spacing: -.035em; }
.product-description { max-width: 550px; margin-top: 17px; font-size: 16px; line-height: 1.95; }
.product-features { display: flex; flex-wrap: wrap; gap: 12px 22px; margin: 26px 0 0; padding: 0; list-style: none; }
.product-features li { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; }
.product-features svg { width: 18px; height: 18px; fill: none; stroke: #4d6d7c; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.product-illustration { display: flex; flex-direction: column; align-items: center; }
.calendar-art { width: min(100%, 270px); height: auto; }
.product-illustration > p { color: #4d6d7c; font-size: 13px; }
.channel-row { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 20px; padding: 26px 34px; border-radius: 14px; background: #fcf1f8; }
.channel-intro { display: flex; align-items: center; gap: 20px; }
.channel-icon { width: 43px; height: 43px; fill: none; stroke: var(--accent); stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; }
.channel-intro h3 { font-size: 18px; }
.channel-intro p { margin-top: 5px; color: var(--muted); font-size: 13px; }
.button-secondary { flex-shrink: 0; border-color: #d3bbde; background: transparent; color: var(--accent); }
.button-secondary:hover { border-color: var(--accent); background: white; }

.interests-section { display: grid; grid-template-columns: .85fr 1.7fr; gap: 90px; padding-top: 72px; border-top: 1px solid var(--line); margin-top: 38px; }
.interests-intro > p, .about-heading > p { margin-top: 12px; }
.rhythm-art { display: grid; grid-template-columns: repeat(4, 28px); gap: 9px; align-items: end; height: 110px; width: fit-content; margin-top: 40px; padding: 0 12px 12px; border-bottom: 2px solid var(--line); }
.rhythm-art > span { width: 28px; border-radius: 7px 7px 3px 3px; background: var(--pink); height: 43px; }
.rhythm-art > span:nth-child(2) { height: 67px; background: #cdeaf0; }
.rhythm-art > span:nth-child(3) { height: 91px; background: #dcc9e7; }
.rhythm-art > span:nth-child(4) { height: 61px; background: #f1d4e6; }
.interests-copy { display: grid; gap: 28px; }
.interests-copy h3 { font-size: 19px; }
.interests-copy p { max-width: 660px; margin-top: 10px; font-size: 15px; color: var(--muted); line-height: 1.95; }

.about-section { display: grid; grid-template-columns: .85fr 1.7fr; gap: 90px; margin-top: 18px; padding-bottom: 84px; border-top: 1px solid var(--line); }
.about-heading svg { width: 68px; height: 68px; margin-top: 33px; color: #e9d6ee; }
.about-copy { max-width: 720px; color: #4d586c; font-size: 16px; line-height: 1.95; }
.about-copy > p + p { margin-top: 23px; }
.about-copy .about-motto { margin-top: 36px; color: var(--accent); font-family: Georgia, "Times New Roman", serif; font-size: clamp(24px, 2.5vw, 32px); line-height: 1.6; letter-spacing: -.025em; }
.about-motto strong { font-weight: 500; }
.about-copy .about-ending { margin-top: 24px; color: var(--ink); }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 90px; color: var(--muted); font-size: 12px; }
.footer-inner a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.footer-inner a:hover { color: var(--accent); }

@media (min-width: 768px) and (max-width: 1023px) {
  .hero { gap: 28px; padding-block: 64px 70px; }
  .hero h1 { font-size: 38px; }
  .hero-description { font-size: 15px; }
  .hero-actions { gap: 16px; }
  .learning-grid { gap: 24px; }
  .learning-item { padding-right: 0; }
  .learning-item h3 { font-size: 19px; }
  .diary-product { padding: 36px; gap: 18px; }
  .interests-section, .about-section { gap: 44px; grid-template-columns: .8fr 1.8fr; }
}

@media (max-width: 767px) {
  html { scroll-padding-top: 90px; }
  .container { width: calc(100% - 40px); }
  .header-inner { min-height: 74px; flex-wrap: wrap; gap: 0; padding-block: 13px; }
  .brand { gap: 8px; font-size: 18px; }
  .brand-mark { width: 27px; height: 27px; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-width: 68px; min-height: 44px; padding: 8px 0 8px 8px; background: transparent; border: 0; border-radius: 5px; cursor: pointer; }
  .menu-toggle-label { font-size: 12px; }
  .menu-toggle-icon { display: flex; width: 18px; height: 18px; flex-direction: column; justify-content: center; gap: 5px; }
  .menu-toggle-icon > span { display: block; width: 18px; height: 1.5px; background: var(--ink); transition: transform .15s ease; }
  .menu-toggle[aria-expanded="true"] .menu-toggle-icon > span:first-child { transform: translateY(3.25px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle-icon > span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
  .site-nav { flex-basis: 100%; justify-content: space-between; gap: 12px; margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--line); }
  .site-nav a { min-height: 44px; padding: 9px 4px; font-size: 14px; }
  .js .site-nav { display: none; }
  .js .site-nav[data-open="true"] { display: flex; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 38px; padding-block: 44px 46px; }
  .greeting { margin-bottom: 20px; font-size: 15px; }
  .hero h1 { font-size: clamp(34px, 8.8vw, 48px); letter-spacing: -.04em; }
  .hero-description { margin-top: 22px; font-size: 15px; }
  .hero-actions { gap: 20px; margin-top: 24px; }
  .hero-note { margin-top: 24px; font-size: 11px; }
  .hero-art { width: 100%; max-width: 540px; margin-inline: auto; padding-top: 0; }
  .art-frame { border-width: 4px; border-radius: 20px 20px 20px 6px; }
  .hero-art figcaption { margin-top: 13px; font-size: 11px; text-align: center; }
  .section { padding-block: 46px; }
  .section-heading { display: block; margin-bottom: 28px; }
  .section-heading > p { margin-top: 10px; font-size: 13px; }
  .learning-grid { grid-template-columns: minmax(0, 1fr); gap: 29px; }
  .learning-item { padding-right: 0; }
  .topic-icon { width: 26px; height: 26px; margin-bottom: 15px; }
  .learning-item h3 { font-size: 20px; }
  .learning-item > p { margin-top: 10px; font-size: 14px; }
  .learning-status { margin-top: 12px; }
  .diary-product { grid-template-columns: minmax(0, 1fr); gap: 25px; padding: 28px 24px; border-radius: 18px; }
  .product-copy h3 { font-size: 32px; }
  .product-description { margin-top: 13px; font-size: 15px; }
  .product-features { gap: 12px 18px; margin-top: 20px; }
  .calendar-art { width: 215px; max-width: 100%; }
  .product-illustration > p { font-size: 12px; }
  .channel-row { flex-direction: column; align-items: stretch; gap: 20px; padding: 24px; }
  .channel-intro { gap: 15px; }
  .channel-icon { width: 35px; height: 35px; }
  .channel-intro h3 { font-size: 16px; }
  .channel-row .button { align-self: flex-start; }
  .interests-section, .about-section { grid-template-columns: minmax(0, 1fr); gap: 29px; margin-top: 12px; }
  .interests-intro { position: relative; padding-right: 85px; }
  .rhythm-art { position: absolute; right: 0; bottom: 0; grid-template-columns: repeat(4, 13px); height: 64px; gap: 5px; margin: 0; padding: 0 5px 7px; }
  .rhythm-art > span { width: 13px; height: 26px; border-radius: 4px 4px 2px 2px; }
  .rhythm-art > span:nth-child(2) { height: 39px; }
  .rhythm-art > span:nth-child(3) { height: 53px; }
  .rhythm-art > span:nth-child(4) { height: 34px; }
  .interests-copy { gap: 25px; }
  .interests-copy h3 { font-size: 17px; }
  .interests-copy p { font-size: 14px; }
  .about-heading { position: relative; padding-right: 75px; }
  .about-heading svg { position: absolute; top: 2px; right: 4px; width: 53px; height: 53px; margin: 0; }
  .about-copy { font-size: 15px; }
  .about-copy > p + p { margin-top: 22px; }
  .about-copy .about-motto { margin-top: 31px; }
  .footer-inner { min-height: 82px; gap: 15px; font-size: 11px; }
}

@media (max-width: 359px) {
  .container { width: calc(100% - 32px); }
  .hero-actions { gap: 14px; }
  .hero-actions .button { padding-inline: 16px; font-size: 14px; }
  .hero-actions .text-link { gap: 5px; font-size: 13px; }
  .diary-product { padding-inline: 22px; }
  .interests-intro > p { max-width: 180px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
