:root{--navy:#153b54;--blue:#176687;--pink:#a32b55;--paper:#fffdf8;--line:#d5e7ec;--text:#20394b;--serif:"Hiragino Mincho ProN","Yu Mincho","Noto Serif CJK JP",serif}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--text);font:1rem/1.85 system-ui,"Hiragino Sans","Yu Gothic",Meiryo,sans-serif;overflow-wrap:anywhere}
img{display:block;max-width:100%;height:auto}
a{color:var(--blue);text-underline-offset:.27em}
a:focus-visible{outline:3px solid var(--pink);outline-offset:5px}
p{margin:0 0 1.15em}
h1,h2,h3{line-height:1.45;margin:0 0 .6em;color:var(--navy)}
h1,h2{font-family:var(--serif);font-weight:800;letter-spacing:.015em}
h2{font-size:clamp(1.75rem,4vw,3rem)}
.shell{width:min(1120px,calc(100% - 52px));margin-inline:auto}
.measure{width:min(762px,calc(100% - 52px));margin-inline:auto}
.header{background:#fffdf9;border-top:5px solid #ef82a4;border-bottom:1px solid var(--line)}
.brand{display:flex;align-items:center;gap:14px;min-height:78px;padding-block:9px;line-height:1.55}
.brand img,.profile>img{border-radius:50%;object-fit:cover}
.brand strong,.brand small{display:block}
.brand strong{color:var(--navy)}
.brand small{color:#445d6b;font-size:.82rem}
.hero{background:radial-gradient(ellipse at 82% 21%,#cdeefa 0%,transparent 54%),linear-gradient(147deg,#e9f7fc 5%,#fffdf5 81%);overflow:hidden;border-bottom:1px solid var(--line)}
.pair{display:grid;grid-template-columns:minmax(0,1.04fr) minmax(0,.96fr);gap:clamp(10px,3vw,52px);align-items:center;min-height:min(620px,calc(100svh - 84px));padding-block:clamp(26px,5vw,62px)}
.hero h1,.final h2{font-size:clamp(2.25rem,4.35vw,4.6rem);line-height:1.38}
mark{background:linear-gradient(transparent 68%,#ffe284 68%,#ffe284 94%,transparent 94%);color:inherit;padding-inline:.04em;box-decoration-break:clone;-webkit-box-decoration-break:clone}
.eyebrow{color:var(--pink);font-weight:750;font-size:.88rem;letter-spacing:.07em;margin-bottom:.8em}
.lede{max-width:30em;font-size:clamp(1rem,1.6vw,1.15rem)}
.button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;background:#145d7d;color:white;text-decoration:none;font-weight:750;border-radius:8px;padding:.65em 1.35em;box-shadow:0 5px 0 #cce4ee;line-height:1.4}
.button:hover{background:#104a64}
.book{position:relative;isolation:isolate;display:flex;justify-content:center;align-items:center}
.book img{width:min(100%,495px);height:auto}
.route{position:absolute;z-index:-1;inset:9% -11% 9% 0;border:2px dashed #8fc6d8;border-radius:50%;transform:rotate(-22deg);opacity:.8}
.route span{position:absolute;right:14%;top:1%;font-size:2.3rem;line-height:1;color:#2d80a2;transform:rotate(13deg)}
.section{padding-block:clamp(46px,7vw,86px)}
.intro{text-align:center}
.intro p:not(.eyebrow){text-align:left;max-width:650px;margin-inline:auto}
.visual{max-width:970px;margin-block:0;overflow:hidden;border:1px solid var(--line);border-radius:18px;box-shadow:0 14px 36px #183b4b12}
.visual img{width:100%}
.section-title{text-align:center;margin-bottom:34px}
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.grid article{padding:24px;border:1px solid var(--line);border-radius:15px;background:#fff}
.grid article p,.profile p:last-child{margin-bottom:0}
.grid h3{font-size:1.19rem}.icon{display:inline-grid;place-items:center;width:42px;height:42px;margin-bottom:12px;background:#e4f4f9;border-radius:50%;color:#185f7c;font-weight:800;font-size:1.25rem}
.story{margin-top:clamp(45px,7vw,82px);background:#eaf7fa;border-block:1px solid var(--line)}
.contents ol{list-style:none;padding:0;margin:1.45rem 0 0;border-top:1px solid var(--line)}
.contents li{display:grid;grid-template-columns:4.5em 1fr;gap:8px;border-bottom:1px solid var(--line);padding:12px 0}
.contents li span{color:var(--blue);font-weight:750}
.author{background:#fcf0f3}
.profile{display:grid;grid-template-columns:150px 1fr;gap:34px;max-width:840px;align-items:start}
.profile>img{width:150px;border:5px solid white;box-shadow:0 8px 24px #57324c19}
.links{display:flex;flex-wrap:wrap;gap:9px}
.links a{background:white;border:1px solid #ead4dc;border-radius:20px;min-height:40px;padding:6px 13px;font-size:.9rem;text-decoration:none}
.links a:hover{text-decoration:underline}
.final .pair{min-height:0}
footer{background:#143d54;color:white;padding:18px 0}
.foot{display:flex;justify-content:space-between;align-items:center;gap:12px}
.foot a{color:#fff;font-size:.9rem}
@media(max-width:670px){
.shell,.measure{width:calc(100% - 32px)}
.brand{gap:9px;min-height:66px}
.brand img{width:38px}
.brand strong{font-size:.83rem}.brand small{font-size:.72rem}
.pair{grid-template-columns:minmax(0,1fr);gap:20px;min-height:0;padding-block:22px 35px}
.hero .book{grid-row:1;width:min(100%,320px);justify-self:center}
.hero-copy{text-align:center}
.hero .lede{margin-inline:auto}
.hero h1,.final h2{font-size:clamp(1.6rem,6vw,2.3rem);line-height:1.48}
.hero .eyebrow{font-size:.74rem;letter-spacing:.015em}
.hero .lede{font-size:.89rem;line-height:1.65;margin-bottom:.9em}
.button{font-size:.84rem;padding:.65em .82em;min-height:44px}
.book img{width:100%}
.hero .hero-line{white-space:normal}
.route{inset:8% -10% 9% 0}.route span{font-size:1.4rem}
.grid{grid-template-columns:1fr;gap:12px}
.grid article{padding:18px}
.visual{border-radius:10px}
.profile{grid-template-columns:65px 1fr;gap:14px}
.profile>img{width:65px;border-width:3px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
@media(min-width:671px){.hero h1{font-size:clamp(2rem,3.5vw,3.85rem)}}
.hero-line{white-space:nowrap}

.intro .visual{margin-block-start:clamp(24px,4vw,44px)}

.trouble .measure{margin-bottom:clamp(26px,4vw,42px)}
.trouble .measure>p{margin-bottom:0}
.intro h2::after,.practical h2::after,.story h2::after,.trouble h2::after,.contents h2::after{
  content:"";
  display:block;
  width:76px;
  height:6px;
  margin-top:16px;
  background:repeating-linear-gradient(115deg,#e584a6 0 11px,transparent 11px 16px,#78bdd3 16px 27px,transparent 27px 32px);
  border-radius:2px;
}
.intro h2::after,.practical h2::after{margin-inline:auto}
.story{
  background:
    radial-gradient(circle,#5799ad33 1px,transparent 1.5px) right top/17px 17px,
    linear-gradient(110deg,#f2fafb,#eaf7fa);
}
.story .measure{
  background:#f5fbfc;
  border:1px solid #d5e7ec;
  border-radius:16px;
  padding:clamp(18px,4vw,38px);
}
.story .measure>p:last-child{margin-bottom:0}
.profile>img{outline:2px dashed #cf839b;outline-offset:5px}
.final{border-top:4px solid transparent;border-image:repeating-linear-gradient(115deg,#df7699 0 15px,#fffdf8 15px 22px,#6fb3cd 22px 37px,#fffdf8 37px 44px) 1}

.contents .visual{margin-block:clamp(20px,4vw,38px)}

:root{--paper:#fff4f7;--line:#f0d4df}
.header{background:#fff5f8}
main>section{
  --panel:#fff3f7;
  --curve:clamp(14px,3vw,34px);
  position:relative;
  isolation:isolate;
  background:var(--panel);
  border:0;
}
main>section+section::before{
  content:"";
  position:absolute;
  z-index:-1;
  top:calc(-1 * var(--curve));
  left:0;
  width:100%;
  height:calc(var(--curve) + 1px);
  border-radius:58% 85% 0 0 / 100% 100% 0 0;
  background:var(--panel);
  pointer-events:none;
}
main>.hero{
  --panel:#ffe9f1;
  background:radial-gradient(ellipse at 76% 30%,#fff9fb,transparent 58%),var(--panel);
}
main>.practical,main>.contents{--panel:#ffedf3}
main>.trouble{--panel:#fff7f9}
main>.story{
  --panel:#fce5ed;
  margin-top:0;
  background:radial-gradient(circle,#d982a040 1px,transparent 1.5px) 0 0/18px 18px,var(--panel);
}
main>.author{--panel:#fce7ee}
main>.final{--panel:#ffeff5;overflow:visible}
.final .book .route{inset:9% 0}
.story .measure,.grid article{background:#fff9fb}
.visual{border:5px solid #fffafb;box-shadow:0 14px 34px #9a416723}
.practical .visual{margin-block-start:clamp(28px,5vw,58px)}
.trouble .eyebrow,.profile .eyebrow{color:var(--pink)}
.section-motif{
  position:absolute;
  z-index:-1;
  right:max(5%,calc((100% - 1120px) / 2));
  top:clamp(18px,3vw,45px);
  display:grid;
  place-items:center;
  width:clamp(35px,6vw,75px);
  aspect-ratio:1;
  border:1px dashed #cf719680;
  border-radius:50%;
  color:#ae537a85;
  font-size:clamp(1rem,2.7vw,2.15rem);
  transform:rotate(-15deg);
  pointer-events:none;
}
.section-motif::after{
  content:"✦";
  position:absolute;
  top:-.45em;
  right:-.4em;
  color:#a68545;
  font-size:.55em;
}
@media(max-width:670px){
  .visual{border-width:3px}
  .section-motif{right:12px;top:12px;opacity:.45}
  .final .book .route{inset:10% 4%}
}

.author-books {max-width:840px;margin-top:clamp(32px,5vw,56px)}
.author-books h3 {font-size:1.25rem;margin:0 0 16px}
.author-book-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.author-book {display:flex;flex-direction:column;align-items:flex-start;padding:18px;background:#fffafb;border:1px solid #edcbd7;border-radius:16px}
.author-book img {align-self:center;width:auto;height:184px;max-width:100%;object-fit:contain;margin-bottom:16px}
.author-book h4 {margin:0;font-size:1rem;line-height:1.55}
.author-book p {margin:8px 0 16px;font-size:.9375rem}
.author-book a {margin-top:auto;padding:7px 12px;border:1px solid #cf839b;border-radius:999px;color:#7e294c;font-size:.875rem;font-weight:700}
.author-book a:hover,.author-book a:focus-visible {background:#fce7ee}
@media(max-width:670px) {
  .author-book-grid {grid-template-columns:1fr}
}

/* Travel accents */
.header {
  border-top:6px solid transparent;
  border-image:repeating-linear-gradient(115deg,#e7759c 0 19px,#fff7fb 19px 26px,#66b6d1 26px 45px,#fff7fb 45px 52px) 1;
}
main>.hero {
  --panel:#fce4ed;
  background:
    radial-gradient(circle at 73% 42%,#fffaf1 0 15%,transparent 46%),
    radial-gradient(circle,#aa4c761d 1.3px,transparent 1.8px) 0 0/21px 21px,
    linear-gradient(124deg,#fff2f6 12%,#f9d5e4 53%,#ccecf3);
}
main>.intro {--panel:#fff4d9}
main>.practical {--panel:#daf2f6}
main>.trouble {--panel:#ffe8ed}
main>.story {--panel:#e7f2df;background:radial-gradient(circle,#54827539 1px,transparent 1.7px) 0 0/18px 18px,var(--panel)}
main>.contents {--panel:#faf0db}
main>.author {--panel:#f8e1ed}
main>.final {--panel:#e0f4f7}
.hero-copy {position:relative;z-index:1}
.book .route {
  border:3px dashed #58a9bf;
  background:radial-gradient(ellipse,#fff9dfaa 22%,#fff3 63%,transparent 64%);
}
.travel-stickers {position:absolute;inset:0;pointer-events:none}
.travel-stickers span {
  position:absolute;display:grid;place-items:center;
  width:clamp(26px,5.5vw,62px);aspect-ratio:1;
  border:3px solid white;border-radius:24%;background:#fff8ed;
  box-shadow:0 5px 12px #633b562c;
  font-size:clamp(.85rem,2.5vw,1.85rem);line-height:1;
}
.travel-stickers span:nth-child(1) {top:7%;left:8%;background:#ffdf82;color:#85541a;transform:rotate(-17deg)}
.travel-stickers span:nth-child(2) {bottom:9%;right:2%;background:#fbd1e2;transform:rotate(12deg)}
.travel-stickers span:nth-child(3) {top:16%;right:8%;background:#d9f1f6;transform:rotate(12deg)}
.section-motif {
  z-index:0;opacity:1;color:#aa5277;background:#fffaf2;
  border:3px double currentColor;box-shadow:0 3px 0 #bb709034;
}
.practical .section-motif,.story .section-motif {color:#34788a}
.visual {border-width:clamp(5px,1vw,10px);background:#fffafb}
.grid article,.author-book {
  --card-color:#f197b7;
  --card-tint:#fff3f7;
  border-top:5px solid var(--card-color);
  background:linear-gradient(155deg,var(--card-tint),#fff 68%);
  box-shadow:0 8px 22px #26475513;
}
:is(.grid article,.author-book):nth-child(2) {--card-color:#6fb8cb;--card-tint:#eaf8fb}
:is(.grid article,.author-book):nth-child(3) {--card-color:#dfb653;--card-tint:#fff5d9}
.grid .icon {background:var(--card-tint);border:1px solid var(--card-color)}
.story .measure {background:#fffdf2;border-color:#c2dac5;box-shadow:0 8px 24px #4676671a}
.contents ol {padding:0 14px;background:#fffaf0;border:1px solid #ebd6aa;border-radius:14px}
.contents li:last-child {border-bottom:0}
.contents li span {align-self:start;padding-inline:8px;border-radius:6px;background:#ffe7a8}
.button {border-radius:999px;background:#ae2b5c;box-shadow:0 5px 0 #f8adcc}
.button:hover {background:#862346}
footer {border-top:4px solid #77c3d7}
@media(max-width:670px) {
  .section-motif {width:31px;top:7px;right:8px;opacity:.74}
  .travel-stickers span {border-width:2px}
  .travel-stickers span:nth-child(1) {top:1%;left:18%}
  .travel-stickers span:nth-child(2) {bottom:2%;right:5%}
  .travel-stickers span:nth-child(3) {top:12%;right:1%}
}

main>.hero::after {
  content:"";
  position:absolute;
  z-index:-1;
  inset:0 0 0 38%;
  background:url("assets/street.webp") right 56% / cover no-repeat;
  opacity:.36;
  mask-image:linear-gradient(to right,transparent,black 52%);
  pointer-events:none;
}
main>.final::after {opacity:.26}

@media(max-width:670px) {
  main>.hero::after {
    left:43%;
    background-position:73% center;
    opacity:.3;
    mask-image:linear-gradient(to right,transparent,black 60%);
  }
  main>.final::after {opacity:.23}
}

main>section {--curve:clamp(38px,7vw,112px)}
main>section.section {padding-bottom:0}
main>section+section::before {
  border-radius:64% 46% 0 0 / 100% 100% 0 0;
}
main>section:nth-child(even)::before {
  border-radius:45% 69% 0 0 / 100% 100% 0 0;
}
.townscape {
  position:relative;
  width:min(100%,1180px);
  height:clamp(82px,15vw,212px);
  margin:clamp(14px,3vw,38px) auto var(--curve);
  background:url("assets/townscape.webp") center bottom / contain no-repeat;
  mix-blend-mode:multiply;
  pointer-events:none;
}
.hero .townscape {margin-top:0}
.final .townscape {margin-bottom:0}
.townscape-2 {transform:scaleX(-1)}
.townscape-3 {width:min(94%,1040px)}

/* Keep the divider inside the section so its lower margin cannot expose the page background. */
main>section:not(.final) {padding-bottom:var(--curve)}
.townscape {margin-bottom:0}
.travel-flags {
  position:absolute;
  right:9%;
  bottom:12%;
  display:flex;
  gap:7px;
}
.travel-flag {
  display:block;
  width:clamp(19px,3.2vw,34px);
  aspect-ratio:3/2;
  border:1px solid #20394b26;
  border-radius:2px;
  box-shadow:0 2px 4px #20394b22;
  transform:rotate(-9deg);
}
.travel-flag+ .travel-flag {transform:rotate(9deg)}
.flag-france {background:linear-gradient(to right,#183f83 33.33%,#fff 33.33% 66.66%,#df4052 66.66%)}
.flag-germany {background:linear-gradient(#272324 33.33%,#d9363e 33.33% 66.66%,#f6c94e 66.66%)}
.flag-vietnam {display:grid;place-items:center;background:#da3438;color:#ffe16d;line-height:1;font-size:clamp(.7rem,1.5vw,.95rem)}
.flag-vietnam::after {content:"★"}
.flag-japan {background:radial-gradient(circle,#c74560 0 29%,#fff 30%)}
@media(max-width:670px) {
  .travel-flags {right:4%;bottom:10%;gap:4px}
}

@media(max-width:670px) {
  main>.hero:first-child .pair {
    gap:10px;
    padding-top:12px;
  }
  main>.hero:first-child .book {
    width:min(100%,270px,39svh);
  }
  main>.hero:first-child .eyebrow {margin-bottom:.35em}
}
