@charset "utf-8";

:root{
  --ink:#4a3d35;
  --muted:#7c7169;
  --line:#e8dccc;
  --star:#b58b48;
  --blue:#7480b3;
  --max:880px;
}

*{
  box-sizing:border-box;
}

html{
  font-size:17px;
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:"Hiragino Mincho ProN","Yu Mincho","YuMincho","Noto Serif JP",serif;
  color:var(--ink);
  background:
    radial-gradient(circle at 16% 0%,rgba(187,199,240,.28),transparent 32rem),
    radial-gradient(circle at 84% 8%,rgba(245,220,181,.22),transparent 30rem),
    linear-gradient(180deg,#fffdf8 0%,#faf4ea 100%);
  overflow-x:hidden;
}

img{
  display:block;
  max-width:100%;
  height:auto;
}

.seo-title{
  position:absolute;
  left:-9999px;
  width:1px;
  height:1px;
  overflow:hidden;
  white-space:nowrap;
}

.header{
  width:min(1080px,calc(100% - 32px));
  margin:0 auto;
  padding:10px 0 0;
}

.header-links{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:18px;
  flex-wrap:wrap;
  padding:7px 0 9px;
}

.header-links a{
  color:#5f7772;
  text-decoration:none;
  font-size:16px;
  letter-spacing:.03em;
  overflow-wrap:break-word;
}

.header-links a:hover{
  text-decoration:underline;
}

.back-link{
  display:inline-flex;
  color:#6f5c49;
  text-decoration:none;
  font-size:.95rem;
}

.hero{
  width:min(var(--max),calc(100% - 34px));
  margin:12px auto 34px;
}

.hero img{
  width:100%;
  border-radius:24px;
  box-shadow:0 22px 60px rgba(75,63,52,.14);
}


.intro{
  width:min(var(--max),calc(100% - 34px));
  margin:0 auto 30px;
  text-align:center;
}

.intro p{
  margin:0;
  font-size:1.15rem;
  color:#7c7169;
  letter-spacing:.08em;
  line-height:1.8;
}

.posts{
  width:min(var(--max),calc(100% - 34px));
  margin:0 auto;
  display:grid;
  gap:28px;
}

.post{
  background:rgba(255,255,255,.86);
  border:1px solid var(--line);
  border-radius:24px;
  padding:32px clamp(22px,4vw,44px);
  box-shadow:0 16px 45px rgba(83,66,44,.07);
  overflow:hidden;
}

.post-date{
  color:var(--star);
  letter-spacing:.08em;
  font-size:.92rem;
  margin:0 0 4px;
}

.post h2{
  font-size:clamp(1.35rem,2.5vw,1.8rem);
  margin:0 0 14px;
  color:#46382f;
  line-height:1.55;
  overflow-wrap:break-word;
}

.post p{
  margin:0;
  line-height:1.9;
  overflow-wrap:break-word;
  word-break:normal;
}

.post-image{
  text-align:center;
  margin:24px 0 0;
}

.post-image img{
  width:100%;
  max-width:100%;
  height:auto;
  border-radius:12px;
  display:block;
}

.divider{
  width:84px;
  height:1px;
  background:linear-gradient(90deg,transparent,var(--star),transparent);
  margin:22px 0 0;
}

.pagination{
  width:min(var(--max),calc(100% - 34px));
  margin:46px auto 80px;
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:10px;
}

.pagination a,
.pagination span{
  min-width:44px;
  height:44px;
  padding:0 16px;
  border:1px solid var(--line);
  background:#fff;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  color:#5f5147;
}

.pagination .current{
  background:var(--blue);
  color:#fff;
  border-color:var(--blue);
}

.footer{
  margin-top:18px;
  text-align:center;
  padding:2px 16px 2px;
  color:var(--muted);
  font-size:.95rem;
}

@media(max-width:767px){
  .intro{
    width:calc(100% - 24px);
    margin:0 auto 24px;
  }

  .intro p{
    font-size:1.05rem;
  }


  html{
    font-size:16px;
  }

  .header{
    width:calc(100% - 24px);
    padding-top:12px;
  }

  .hero{
    width:calc(100% - 24px);
    margin:0 auto 24px;
  }

  .hero img{
    border-radius:16px;
    box-shadow:none;
  }

  .posts{
    width:calc(100% - 24px);
    gap:20px;
  }

  .post{
    border-radius:18px;
    padding:22px 18px;
    overflow:hidden;
  }

  .post h2{
    font-size:1.28rem;
    line-height:1.55;
  }

  .post p{
    line-height:1.9;
    overflow-wrap:break-word;
  }

  .post-image{
    margin-top:22px;
  }

  .post-image img{
    width:100%;
    max-width:100%;
    height:auto;
    border-radius:12px;
  }
}

@media(max-width:600px){
  .header-links{
    gap:8px 12px;
    padding:5px 0 7px;
  }

  .header-links a{
    font-size:15px;
  }
}


/* footer links */
.footer-links{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:18px;
  flex-wrap:wrap;
  margin:0 0 10px;
}

.footer-links a{
  color:#5f7772;
  text-decoration:none;
  font-size:16px;
  letter-spacing:.03em;
}

.footer-links a:hover{
  text-decoration:underline;
}

@media(max-width:600px){
  .footer-links{
    gap:8px 12px;
  }

  .footer-links a{
    font-size:15px;
  }
}
