/* PRETAKE JOURNAL — static, framework-free component. 1rem = user default. */
:root {
  --color-background: #E1E6E8;
  --color-ink: #1C1E1F;
  --color-accent: #FD490F;
  --color-white: #fff;
  --color-muted: #555D61;
  --color-line: #C5CCCF;
  --font-jp: "Noto Sans JP", "Yu Gothic", sans-serif;
  --font-en: "Manrope", sans-serif;
  --content-max: 1264px;
  --page-gutter: clamp(24px, 4.8vw, 80px);
  --radius-panel: 28px;
  --radius-image: 16px;
  --space-section: 88px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: smooth; }
body { margin: 0; color: var(--color-ink); background: var(--color-background); font-family: var(--font-jp); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
p, h1, h2 { margin: 0; }
svg { display: block; }
::selection { color: var(--color-ink); background: #FFBAA4; }
:focus-visible { outline: 3px solid var(--color-ink); outline-offset: 6px; }
.skip-link { position: fixed; top: 12px; left: 16px; transform: translateY(-160%); z-index: 10; background: white; padding: 16px; border-radius: 10px; }
.skip-link:focus { transform: none; }
.preview-header { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 30px var(--page-gutter); border-bottom: 1px solid rgba(28,30,31,.13); }
.brand { display: block; width: 164px; aspect-ratio: 2371 / 598; overflow: hidden; position: relative; flex-shrink: 0; }
/* 元PNGの透明な余白を表示枠から外す。画像データは未改変。 */
.brand img { position: absolute; width: 175.749%; height: auto; max-width: none; left: -37.875%; top: -89.298%; }
.preview-header__note { display: flex; gap: 10px; align-items: center; font-size: 12px; font-weight: 500; }
.preview-header__dot { width: 7px; height: 7px; background: var(--color-accent); border-radius: 50%; }
.journal { padding: var(--space-section) var(--page-gutter) 96px; }
.journal__inner { max-width: var(--content-max); margin-inline: auto; }
.journal__header { display: flex; gap: 32px; align-items: flex-end; justify-content: space-between; margin-bottom: 60px; }
.journal__english { font-family: var(--font-en); font-size: clamp(40px, 5.35vw, 78px); font-weight: 300; line-height: 1.1; letter-spacing: -.05em; white-space: nowrap; }
.journal__period { color: var(--color-accent); }
.journal__heading { margin-top: 22px; font-size: 22px; font-weight: 700; letter-spacing: .1em; }
.journal__lead { flex-shrink: 0; font-size: 14px; font-weight: 500; line-height: 2.2; margin-bottom: 1px; letter-spacing: .025em; }
.journal-feature { background: var(--color-white); padding: 20px; border-radius: var(--radius-panel); }
.journal-feature__link { display: grid; grid-template-columns: 1.17fr 1fr; gap: clamp(28px, 3.6vw, 58px); align-items: stretch; border-radius: 16px; }
.journal-feature__visual { overflow: hidden; border-radius: var(--radius-image); min-width: 0; }
.cover { aspect-ratio: 16 / 10; position: relative; overflow: hidden; isolation: isolate; transition: transform 600ms var(--ease-out); container-type: inline-size; }
.cover__sample { position: absolute; z-index: 3; top: 16px; right: 16px; padding: 5px 8px; border: 1px solid rgba(28,30,31,.18); border-radius: 4px; font-size: 10px; line-height: 1.4; font-weight: 500; color: var(--color-ink); background: rgba(255,255,255,.9); letter-spacing: .04em; }
.cover__sample--dark { background: transparent; border-color: rgba(255,255,255,.3); color: white; }
.cover__serial { position: absolute; top: 7.7%; left: 7%; font: 600 2.15cqw / 1 var(--font-en); letter-spacing: .14em; color: rgba(255,255,255,.72); }
.cover__footer { position: absolute; bottom: 7%; left: 7%; font: 600 2.5cqw / 1 var(--font-en); letter-spacing: .1em; }
.cover--question { background: var(--color-ink); color: white; min-height: 100%; }
.cover--question::before { content: ""; position: absolute; width: 49%; height: 120%; background: #F1F0EA; right: -8%; top: -6%; transform: rotate(-8deg); }
.question-cover__title { position: absolute; top: 25%; left: 7%; font-size: 7.5cqw; font-weight: 700; line-height: 1.6; letter-spacing: .015em; }
.question-cover__title span { position: relative; }
.question-cover__title span::after { content: ""; position: absolute; height: 4px; background: var(--color-accent); width: 108%; bottom: -7px; left: -4%; transform: rotate(-3deg); }
.question-cover__note { background: white; color: var(--color-ink); position: absolute; width: 34%; aspect-ratio: 4 / 5; top: 26%; right: 5.5%; transform: rotate(7deg); box-shadow: 0 10px 30px rgba(0,0,0,.08); padding: 4%; display: flex; flex-direction: column; align-items: center; }
.question-cover__note-label { font-size: 2.7cqw; font-weight: 700; white-space: nowrap; }
.question-cover__question { font: 300 20cqw / 1 var(--font-en); color: var(--color-accent); margin-top: 8%; }
.question-cover__line { width: 100%; height: 1px; background: var(--color-line); margin-top: auto; }
.question-cover__note-bottom { font-size: 2.5cqw; font-weight: 500; padding-top: 10%; }
.question-cover__arrow { position: absolute; left: 42%; top: 49%; width: 26%; z-index: 2; color: var(--color-accent); overflow: visible; }
.question-cover__arrow path { fill: none; stroke: currentColor; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.cover--question .cover__footer { font-size: 1.85cqw; color: rgba(255,255,255,.65); }
.journal-feature__body { display: flex; flex-direction: column; padding: 24px 22px 16px 0; }
.journal-feature__meta { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.journal-feature__pickup { display: inline-flex; align-items: center; gap: 8px; font: 700 12px / 1 var(--font-en); letter-spacing: .08em; }
.journal-feature__pickup i { width: 7px; height: 7px; border-radius: 50%; background: var(--color-accent); }
.journal-category { font-size: 12px; font-weight: 500; letter-spacing: .04em; display: inline-flex; align-self: flex-start; line-height: 1.6; padding: 5px 11px; border: 1px solid var(--color-line); border-radius: 999px; }
.journal-feature__title { font-size: clamp(22px, 2.04vw, 30px); line-height: 1.85; font-weight: 700; letter-spacing: .01em; margin-top: 30px; }
.journal-feature__bottom { margin-top: auto; padding-top: 28px; display: flex; align-items: center; justify-content: space-between; font: 600 11px / 1 var(--font-en); letter-spacing: .08em; }
.arrow-circle { display: grid; place-items: center; width: 48px; height: 48px; flex-shrink: 0; background: var(--color-ink); color: white; border-radius: 50%; font-family: var(--font-en); font-size: 24px; font-weight: 400; line-height: 1; transition: background 220ms, color 220ms, transform 350ms var(--ease-out); }
.journal__list-heading { display: flex; justify-content: space-between; align-items: center; margin: 58px 0 22px; padding-bottom: 14px; border-bottom: 1px solid var(--color-line); font: 600 12px / 1.4 var(--font-en); letter-spacing: .1em; }
.journal__list-heading > span { font-weight: 400; color: var(--color-muted); }
.journal__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.journal-card { min-width: 0; border-radius: 20px; background: white; }
.journal-card__link { height: 100%; display: flex; flex-direction: column; border-radius: inherit; }
.journal-card__visual { overflow: hidden; border-radius: 20px 20px 0 0; }
.journal-card__body { padding: 26px 28px 22px; flex: 1; display: flex; flex-direction: column; }
.journal-card__title { font-size: 20px; font-weight: 700; line-height: 1.85; margin-top: 20px; letter-spacing: .01em; }
.journal-card__bottom { margin-top: auto; padding-top: 26px; display: flex; align-items: center; justify-content: space-between; font: 600 10px / 1 var(--font-en); letter-spacing: .08em; }
.journal-card__bottom span:last-child { font-size: 24px; font-weight: 400; transition: transform 250ms; }
.cover--structure { background: #F1F1EC; }
.structure-cover__caption { position: absolute; left: 7%; top: 15%; font-size: 5.8cqw; font-weight: 700; line-height: 1.55; letter-spacing: .025em; z-index: 1; }
.structure-cover__map { position: absolute; width: 48%; top: 27%; right: 4%; transform: rotate(-9deg); }
.cover--structure .cover__footer { font-size: 2cqw; }
.structure-cover__page { width: 27%; aspect-ratio: 4 / 5; background: #fff; border: 1px solid #AEB8BC; padding: 9% 11%; position: relative; box-shadow: 0 5px 9px rgba(0,0,0,.025); }
.structure-cover__page--top { margin: auto; width: 27%; padding: 3% 3%; }
.structure-cover__page i, .structure-cover__page b, .structure-cover__page em { display: block; }
.structure-cover__page i { height: 3px; background: var(--color-ink); width: 45%; margin-bottom: 16%; }
.structure-cover__page b { height: 12px; background: #E1E6E8; margin-bottom: 14%; }
.structure-cover__page em { border-block: 1px solid #C5CCCF; height: 5px; width: 75%; }
.structure-cover__branches { display: flex; justify-content: space-between; }
.structure-cover__branches .structure-cover__page { padding: 3%; }
.structure-cover__page--focus { outline: 3px solid var(--color-accent); outline-offset: 3px; }
.structure-cover__connector { display: block; height: 17px; width: 75%; margin: auto; border-top: 1px solid #969EA1; position: relative; margin-top: 14px; }
.structure-cover__connector::before { content: ""; position: absolute; height: 14px; width: 1px; top: -14px; left: 50%; background: #969EA1; }
.structure-cover__connector::after { content: ""; position: absolute; height: 10px; width: 100%; border-inline: 1px solid #969EA1; top: 0; }
.cover--experience { color: white; background: #252829; }
.cover--experience::after { content: ""; position: absolute; height: 1px; background: #575B5D; width: 150%; top: 39%; left: -10%; transform: rotate(-24deg); z-index: -1; }
.experience-cover__years { position: absolute; left: 8%; top: 12%; display: flex; gap: 8px; align-items: baseline; }
.experience-cover__years span:first-child { font: 400 30cqw / 1 var(--font-en); letter-spacing: -.08em; color: var(--color-accent); }
.experience-cover__years span:last-child { font-size: 4.4cqw; }
.experience-cover__caption { position: absolute; top: 61%; left: 45%; font-size: 4.1cqw; line-height: 1.75; font-weight: 500; }
.cover--experience .cover__footer { color: #C8CFD2; }
.cover--ai { background: #F3D4C9; }
.ai-cover__caption { font-size: 6cqw; position: absolute; top: 12%; left: 7%; font-weight: 700; line-height: 1.55; }
.ai-cover__flow { position: absolute; top: 49%; left: 19%; right: 9%; display: flex; align-items: center; gap: 6%; transform: rotate(-6deg); }
.ai-cover__ai { display: grid; place-items: center; border: 1px solid var(--color-ink); border-radius: 50%; width: 20%; aspect-ratio: 1; font: 500 5cqw / 1 var(--font-en); flex-shrink: 0; }
.ai-cover__dash { height: 1px; width: 8%; background: var(--color-ink); flex-shrink: 0; }
.ai-cover__sheet { background: white; width: 22%; aspect-ratio: 4 / 5; box-shadow: 0 6px 12px rgba(0,0,0,.06); transform: rotate(11deg); padding: 7% 4%; flex-shrink: 0; }
.ai-cover__sheet i { display: block; height: 2px; background: #AAB5BB; margin-bottom: 5px; }
.ai-cover__sheet i:first-child { background: var(--color-ink); width: 60%; }
.ai-cover__next { display: grid; place-items: center; width: 25%; aspect-ratio: 1; border-radius: 50%; border: 2px solid var(--color-ink); outline: 3px solid var(--color-accent); outline-offset: 4px; font-size: 3.6cqw; font-weight: 700; flex-shrink: 0; }
.journal__actions { display: flex; justify-content: center; margin-top: 48px; }
.pill-link { min-height: 64px; width: 296px; padding: 8px 8px 8px 28px; display: flex; justify-content: space-between; gap: 24px; align-items: center; border-radius: 999px; background: white; font-size: 14px; font-weight: 700; }
.preview-footer { padding: 28px var(--page-gutter); border-top: 1px solid var(--color-line); display: flex; align-items: center; justify-content: space-between; gap: 24px; color: var(--color-muted); }
.preview-footer > span { font: 600 11px / 1.8 var(--font-en); letter-spacing: .06em; }
.preview-footer p { font-size: 11px; line-height: 1.8; }
.preview-dialog { color: var(--color-ink); padding: 56px 40px 36px; border: 0; width: min(540px, calc(100% - 40px)); border-radius: 24px; background: white; }
.preview-dialog::backdrop { background: rgba(28,30,31,.6); backdrop-filter: blur(5px); }
.preview-dialog__close { position: absolute; top: 10px; right: 14px; background: none; border: 0; width: 44px; height: 44px; font-size: 28px; }
.preview-dialog__eyebrow { font: 600 11px / 1.5 var(--font-en); letter-spacing: .1em; }
.preview-dialog h2 { font-size: 22px; line-height: 1.8; margin: 20px 0; }
.preview-dialog > p:last-of-type { font-size: 14px; line-height: 2; color: var(--color-muted); }
.preview-dialog__back { margin-top: 28px; border: 0; background: var(--color-ink); color: white; display: flex; align-items: center; justify-content: space-between; width: 100%; border-radius: 99px; padding: 16px 22px; font-size: 14px; }
@media (hover: hover) {
  .journal-feature__link:hover .cover, .journal-card__link:hover .cover { transform: scale(1.035); }
  .journal-feature__link:hover .arrow-circle, .pill-link:hover .arrow-circle { color: var(--color-ink); background: var(--color-accent); transform: rotate(45deg); }
  .journal-card__link:hover .journal-card__bottom span:last-child { transform: translate(3px, -3px); }
}
@media (min-width: 1600px) { .journal__header { gap: 52px; } .journal__lead { font-size: 15px; } }
@media (max-width: 1150px) {
  .journal__header { display: block; }
  .journal__lead { margin-top: 28px; }
  .journal__lead-break { display: none; }
  .journal-feature__link { grid-template-columns: 1.1fr 1fr; gap: 28px; }
  .journal-feature__body { padding-top: 16px; padding-right: 8px; }
  .journal-feature__title { font-size: 23px; margin-top: 22px; }
  .journal-feature__title-break { display: none; }
  .journal-card__body { padding: 24px 22px 20px; }
  .journal-card__title { font-size: 18px; }
}
@media (max-width: 800px) {
  :root { --space-section: 56px; --radius-panel: 22px; }
  .preview-header { padding-block: 24px; }
  .brand { width: 142px; }
  .journal__header { margin-bottom: 36px; }
  .journal__english { font-size: clamp(32px, 6.7vw, 52px); }
  .journal__heading { font-size: 20px; margin-top: 16px; }
  .journal__lead { margin-top: 22px; font-size: 14px; }
  .journal-feature { padding: 12px; }
  .journal-feature__link { grid-template-columns: 1fr; gap: 0; }
  .journal-feature__body { padding: 28px 18px 14px; }
  .journal-feature__title { font-size: 25px; margin-top: 22px; }
  .journal-feature__bottom { padding-top: 24px; }
  .journal__grid { grid-template-columns: 1fr; gap: 24px; }
  .journal-card__link { display: grid; grid-template-columns: 1fr 1fr; }
  .journal-card__visual { border-radius: 20px 0 0 20px; }
  .journal-card .cover { min-height: 100%; }
  .journal-card__title { font-size: 19px; line-height: 1.8; margin-top: 18px; }
  .journal-card__body { padding: 22px; }
  .preview-footer { display: block; }
  .preview-footer p { margin-top: 8px; }
}
@media (max-width: 540px) {
  :root { --page-gutter: 22px; }
  .preview-header__note { font-size: 10px; gap: 6px; }
  .preview-header { padding-block: 21px; gap: 10px; }
  .brand { width: 126px; }
  .journal__english { font-size: clamp(27px, 7.2vw, 39px); letter-spacing: -.055em; }
  .journal__heading { font-size: 19px; }
  .journal__lead { font-size: 13px; line-height: 2.15; letter-spacing: .01em; }
  .journal__lead-break { display: inline; }
  .journal-feature__body { padding: 24px 12px 12px; }
  .journal-feature__meta { gap: 12px; }
  .journal-feature__title { font-size: clamp(18px, 5.4vw, 21px); line-height: 1.85; letter-spacing: 0; }
  .journal-feature__title span { display: inline-block; }
  .journal-feature__title-break { display: inline; }
  .journal-feature__pickup { font-size: 10px; }
  .journal-category { font-size: 12px; }
  .cover__sample { font-size: 9px; top: 12px; right: 12px; padding: 4px 6px; }
  .journal__list-heading { margin-top: 42px; margin-bottom: 20px; font-size: 11px; }
  .journal-card__link { display: flex; }
  .journal-card__visual { border-radius: 20px 20px 0 0; }
  .journal-card .cover { aspect-ratio: 16/10; min-height: auto; }
  .journal-card__body { padding: 24px; }
  .journal-card__title { font-size: 20px; line-height: 1.8; }
  .journal-card__bottom { padding-top: 24px; }
  .journal__actions { margin-top: 32px; }
  .pill-link { min-height: 60px; padding: 7px 7px 7px 24px; width: 286px; font-size: 13px; }
  .pill-link .arrow-circle { width: 46px; height: 46px; }
  .journal { padding-bottom: 64px; }
  .preview-dialog { padding: 48px 24px 28px; }
  .preview-dialog h2 { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .journal-feature__link:hover .cover, .journal-card__link:hover .cover, .journal-feature__link:hover .arrow-circle, .pill-link:hover .arrow-circle { transform: none; }
}
