/* New sections are isolated from the original site's fluid rem sizing. */
.p-update { font-size: 16px; line-height: 1.85; letter-spacing: .02em; }
.p-update *, .p-update *::before, .p-update *::after { box-sizing: border-box; }
.p-update [id], .p-update[id] { scroll-margin-top: 100px; }
.p-update__inner { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
.p-update__eyebrow { font-family: "Red Hat Display", sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .16em; margin-bottom: 16px; }
.p-update__heading { font-size: clamp(28px, 3.2vw, 44px); line-height: 1.45; font-weight: 700; letter-spacing: .03em; }
.p-update__lead { font-size: 16px; margin-top: 22px; }
.p-update__button { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 52px; padding: 14px 24px; border-radius: 999px; font-size: 15px; font-weight: 700; background: #fee500; color: #282d27; text-decoration: none; }
.p-update__button::after { content: "→"; font-size: 20px; line-height: 1; }
.p-update a:focus-visible { outline: 3px solid #282d27; outline-offset: 6px; }
.p-update__button:hover { background: #f4d900; }
.p-update__badge { display: inline-block; width: fit-content; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; background: #f5f0e7; }
.p-services { padding: 80px 0 64px; background: #fffdf6; }
.p-services__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 38px; }
.p-services__card { display: flex; flex-direction: column; align-items: flex-start; padding: 30px; border-radius: 24px; background: #fff; }
.p-services__card--pinote { background: #fff; }
.p-services__card h3 { font-size: 24px; line-height: 1.5; font-weight: 700; margin: 22px 0 14px; }
.p-services__card p { font-size: 15px; margin-bottom: 24px; }
.p-services__card a { margin-top: auto; font-size: 14px; font-weight: 700; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.p-pinote { padding: 64px 0 96px; background: #fffdf6; }
.p-pinote__grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 70px; align-items: center; }
.p-pinote__title-part { display: inline-block; }
.p-pinote__name { font-size: 18px; font-weight: 700; margin-bottom: 18px; }
.p-pinote__facts { display: flex; gap: 12px; margin: 26px 0; flex-wrap: wrap; }
.p-pinote__facts span { background: #fff; border-radius: 12px; padding: 10px 18px; font-size: 14px; }
.p-pinote__facts strong { font-size: 22px; font-weight: 700; margin: 0 3px; }
.p-pinote__note { font-size: 12px; line-height: 1.8; color: #505650; margin-top: 22px; max-width: 500px; }
.p-pinote__visual { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; align-items: center; }
.p-pinote__visual img { display: block; width: 100%; height: auto; border-radius: 18px; }
.p-pinote__visual img:first-child { transform: rotate(-5deg); }
.p-pinote__visual img:nth-child(2) { transform: rotate(5deg) translateY(30px); }
.p-pinote__visual figcaption { grid-column: 1/-1; text-align: center; font-size: 12px; color: #505650; margin-top: 25px; }
@media (max-width: 900px) {
  .p-services__grid { gap: 14px; }
  .p-services__card { padding: 24px 20px; }
  .p-services__card h3 { font-size: 21px; }
  .p-pinote__grid { gap: 36px; }
}
@media (max-width: 767px) {
  .p-update__inner { width: calc(100% - 40px); }
  .p-services, .p-pinote { padding: 56px 0; }
  .p-services__grid, .p-pinote__grid { grid-template-columns: 1fr; }
  .p-services__card { padding: 28px; }
  .p-services__card h3 { margin-top: 16px; font-size: 24px; }
  .p-pinote__visual { width: min(100%, 400px); margin: 12px auto 0; gap: 18px; padding: 0 8px; }
  .p-update__button { max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Compact mobile LINE entry: retain the link without covering the full width. */
@media (max-width: 768px) {
  .c-fixedbutton { width: 52px; left: auto; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
  .c-fixedbutton a { width: 52px; height: 52px; margin: 0; padding: 6px; border-radius: 50%; justify-content: center; box-shadow: 0 2px 10px #282d271a; }
  .c-fixedbutton a img { width: 40px; height: 40px; margin: 0; }
  .c-fixedbutton a p { display: none; }
  .c-fixedbutton a:focus-visible { outline: 3px solid #282d27; outline-offset: 4px; }
}

/* Additional explanations, guides and news share the same quiet palette. */
.p-services__grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.p-pinote__details { margin-top: 64px; }
.p-rich-block + .p-rich-block { margin-top: 44px; }
.p-rich-title { margin: 0; font-size: clamp(22px,2.2vw,30px); line-height: 1.5; font-weight: 700; }
.p-rich-intro { margin: 14px 0 24px; font-size: 15px; color: #505650; }
.p-rich-cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; margin-top: 26px; }
.p-rich-card { padding: 26px; border-radius: 20px; background: #fff; }
.p-rich-number { display: block; color: #646b63; font-family: "Red Hat Display",sans-serif; font-size: 14px; letter-spacing: .1em; margin-bottom: 15px; }
.p-rich-card h4, .p-rich-card h3 { font-size: 20px; line-height: 1.5; font-weight: 700; margin: 0 0 12px; }
.p-rich-card p { font-size: 15px; line-height: 1.9; }
.p-rich-card a { display: inline-block; margin-top: 18px; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
.p-rich-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; list-style: none; padding: 0; margin: 24px 0 0; }
.p-rich-steps li { display: flex; align-items: flex-start; gap: 14px; border-top: 1px solid #dedbd2; padding-top: 24px; }
.p-rich-step-number { flex: 0 0 32px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #f5f0e7; font-size: 14px; font-weight: 700; }
.p-rich-steps h4 { margin: 2px 0 10px; font-size: 17px; font-weight: 700; }
.p-rich-steps p { font-size: 14px; margin: 0; }
.p-rich-question { margin-top: 12px; background: #fff; border-radius: 14px; }
.p-rich-question summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 24px; cursor: pointer; font-size: 16px; font-weight: 700; list-style: none; }
.p-rich-question summary::-webkit-details-marker { display: none; }
.p-rich-question summary::after { content: "+"; flex: 0 0 20px; text-align: center; font-size: 22px; font-weight: 400; }
.p-rich-question[open] summary::after { content: "−"; }
.p-rich-question summary:focus-visible { outline: 3px solid #282d27; outline-offset: 3px; border-radius: 14px; }
.p-rich-question p { margin: 0; padding: 0 24px 24px; font-size: 15px; }
.p-rich-closing { margin-top: 36px; text-align: center; }
.p-rich-closing p { margin-bottom: 18px; font-size: 16px; }
.p-daily-records { background: #f5f0e7; padding: 72px 0; }
.p-rich-guide-banner { display: flex; align-items: center; justify-content: space-between; gap: 26px; background: #fff; padding: 30px; margin-top: 28px; border-radius: 20px; }
.p-rich-guide-banner h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.p-rich-guide-banner p { font-size: 15px; }
.p-rich-guide-banner a { flex-shrink: 0; }
.p-rich-note { font-size: 13px; margin-top: 22px; color: #505650; }
.p-news-updated { padding: 64px 0; background: #fffdf6; }
.p-news-updated__header { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.p-news-updated__header a { font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
.p-news-updated__item { display: grid; grid-template-columns: 110px 90px 1fr auto; align-items: center; gap: 20px; padding: 26px 0; border-top: 1px solid #dedbd2; border-bottom: 1px solid #dedbd2; }
.p-news-updated__item time { font-size: 14px; color: #505650; }
.p-news-updated__item strong { font-size: 17px; }
.p-news-updated__item:hover strong { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 1023px) {
 .p-services__grid { grid-template-columns: 1fr; }
 .p-rich-cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .p-rich-steps { grid-template-columns: 1fr; gap: 18px; }
 .p-rich-guide-banner { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 600px) {
 .p-rich-cards { grid-template-columns: 1fr; gap: 14px; }
 .p-rich-card { padding: 24px; }
 .p-pinote__details { margin-top: 40px; }
 .p-rich-block + .p-rich-block { margin-top: 32px; }
 .p-rich-question summary { padding: 18px; font-size: 15px; }
 .p-rich-question p { padding: 0 18px 20px; font-size: 14px; }
 .p-daily-records, .p-news-updated { padding: 48px 0; }
 .p-rich-guide-banner { padding: 24px; }
 .p-news-updated__item { grid-template-columns: auto 1fr auto; gap: 12px; }
 .p-news-updated__item strong { grid-column: 1 / 3; grid-row: 2; }
 .p-news-updated__item > span:last-child { grid-column: 3; grid-row: 2; }
}
@media (min-width: 769px) {
 body.is-home .c-fixednav__menu .c-fixednav__list > .c-fixednav__item { margin-top: 8rem; }
 body.is-home .c-fixednav__menu .c-fixednav__list > .c-fixednav__item:first-child { margin-top: 0; }
}

.p-simple-link { display: inline-block; font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 5px; }
.p-condition, .p-rich-card .p-condition { margin: 14px 0 0; padding: 10px 12px; border-left: 2px solid #a4a99d; background: #faf9f5; color: #505650; font-size: 12px; line-height: 1.8; }

.p-news-pending { font-size: 12px; color: #616660; }
