@charset "UTF-8";

/* =========================
   共通リセット
========================= */
*{
  box-sizing:border-box;
  margin:0;
  padding:0;
}
body{
  font-family:"Hiragino Kaku Gothic ProN","Yu Gothic","Meiryo",sans-serif;
}
img{
  max-width:100%;
  display:block;
  height:auto;
}
a{
  text-decoration:none;
}
a:hover{
  text-decoration:underline;
}

/* =========================
   共通ヘッダー・フッター
   3ページとも同じHTMLなので共通化
========================= */
body{
  background:#f5f8f7;
  color:#1b2730;
}
.container{
  width:min(1120px,calc(100% - 32px));
  margin:0 auto;
}
header{
  background:#fff;
  border-bottom:1px solid #cfdcd7;
}
.header-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  padding:18px 0;
  flex-wrap:wrap;
}
.logo{
  font-size:1.35rem;
  font-weight:700;
  color:#163847;
  letter-spacing:.04em;
}
nav ul{
  list-style:none;
  display:flex;
  gap:22px;
  flex-wrap:wrap;
}
nav a{
  color:#284652;
  font-size:.96rem;
}
footer{
  padding:24px 0 40px;
  color:#5d6b71;
  font-size:.9rem;
}

/* =========================================================
   1. トップページ専用
   起点: .hero / .new-posts / .bottom-layout
========================================================= */
.hero{
  padding:22px 0 14px;
}
.hero-box{
  background:linear-gradient(135deg,#ffffff 0%,#eef5f2 100%);
  border:1px solid #cbd8d3;
  border-radius:20px;
  padding:42px;
}
.hero-label{
  display:inline-block;
  background:#dcebe5;
  color:#225867;
  padding:6px 12px;
  border-radius:999px;
  font-size:.83rem;
  font-weight:700;
  margin-bottom:14px;
}
.hero h1{
  font-size:2.2rem;
  line-height:1.45;
  color:#163847;
  margin-bottom:14px;
}
.hero p{
  color:#3d5059;
  max-width:760px;
  margin-bottom:22px;
  line-height:1.85;
}
.hero-links{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.btn-main,
.btn-sub{
  display:inline-block;
  padding:12px 18px;
  border-radius:10px;
  font-weight:700;
  font-size:.95rem;
}
.btn-main{
  background:#24586c;
  color:#fff;
}
.btn-main:hover{
  background:#1b4556;
  text-decoration:none;
}
.btn-sub{
  background:#e6efec;
  color:#24586c;
  border:1px solid #c7d7d1;
}
.btn-sub:hover{
  background:#dae7e2;
  text-decoration:none;
}
.section{
  padding:18px 0;
}
.section-head{
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:16px;
  margin-bottom:18px;
  flex-wrap:wrap;
}
.section-head h2{
  font-size:1.5rem;
  color:#163847;
}
.section-head p{
  color:#52636b;
  font-size:.95rem;
}
.section-head a{
  color:#1f5c73;
}
.new-posts{
  display:grid;
  grid-template-columns:2fr 1fr;
  gap:24px;
}
.featured{
  background:#fff;
  border:1px solid #c9d7d2;
  border-radius:18px;
  padding:24px;
}
.post-meta{
  font-size:.88rem;
  color:#5e7178;
  margin-bottom:10px;
}
.featured h3{
  font-size:1.55rem;
  line-height:1.5;
  margin-bottom:12px;
}
.featured h3 a{
  color:#1f5c73;
}
.featured p{
  color:#41535b;
  margin-bottom:16px;
  line-height:1.85;
}
.readmore{
  font-weight:700;
  color:#1f5c73;
}
.side-stack{
  display:flex;
  flex-direction:column;
  gap:16px;
}
.mini-card{
  background:#fff;
  border:1px solid #c9d7d2;
  border-radius:16px;
  padding:18px;
}
.mini-card h3{
  font-size:1.05rem;
  line-height:1.5;
  margin-bottom:8px;
}
.mini-card h3 a{
  color:#1f5c73;
}
.mini-card p{
  color:#44565d;
  font-size:.93rem;
  line-height:1.8;
}
.grid-3{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:22px;
}
.theme-card{
  background:#fff;
  border:1px solid #c9d7d2;
  border-radius:16px;
  padding:22px;
}
.theme-card h3{
  color:#163847;
  font-size:1.08rem;
  margin-bottom:8px;
}
.theme-card p{
  color:#465861;
  font-size:.94rem;
  line-height:1.8;
}
.bottom-layout{
  display:grid;
  grid-template-columns:2fr 1fr;
  gap:24px;
}
.about-box,
.bottom-layout .sidebar-box{
  background:#fff;
  border:1px solid #c9d7d2;
  border-radius:18px;
  padding:24px;
}
.about-box h2,
.bottom-layout .sidebar-box h3{
  color:#163847;
  font-size:1.2rem;
  margin-bottom:12px;
}
.about-box p,
.bottom-layout .sidebar-box p{
  line-height:1.85;
  color:#41535b;
}
.tag-list,
.link-list{
  list-style:none;
}
.tag-list li,
.link-list li{
  padding:7px 0;
  border-bottom:1px solid #e4ece8;
}
.tag-list li:last-child,
.link-list li:last-child{
  border-bottom:none;
}
.tag-list a,
.link-list a{
  color:#1f5c73;
}

/* =========================================================
   2. 記事一覧ページ専用
   起点: .page-head / .posts / .pager
========================================================= */
.page-head{
  padding:42px 0 18px;
}
.page-head .breadcrumb{
  font-size:.9rem;
  color:#5f7076;
  margin-bottom:12px;
}
.page-head .breadcrumb a{
  color:#5f7076;
}
.page-head h1{
  font-size:2rem;
  color:#163847;
  margin-bottom:10px;
}
.page-head p{
  color:#43545c;
  line-height:1.85;
}
.layout{
  display:grid;
  grid-template-columns:2fr 1fr;
  gap:24px;
  padding:18px 0 48px;
}
.posts{
  display:flex;
  flex-direction:column;
  gap:18px;
}
.posts .post-item{
  background:#fff;
  border:1px solid #c9d7d2;
  border-radius:18px;
  padding:24px;
}
.posts .post-meta{
  font-size:.88rem;
  color:#60727a;
  margin-bottom:10px;
}
.posts .post-item h2{
  font-size:1.42rem;
  line-height:1.55;
  margin-bottom:10px;
}
.posts .post-item h2 a{
  color:#1f5c73;
}
.posts .post-item p{
  color:#44565d;
  margin-bottom:12px;
  line-height:1.85;
}
.posts .readmore{
  font-weight:700;
  color:#1f5c73;
}
.layout .sidebar{
  display:flex;
  flex-direction:column;
  gap:18px;
}
.layout .sidebar .sidebar-box{
  background:#fff;
  border:1px solid #c9d7d2;
  border-radius:18px;
  padding:22px;
}
.layout .sidebar .sidebar-box h3{
  font-size:1.1rem;
  color:#163847;
  margin-bottom:12px;
}
.layout .sidebar .sidebar-box p{
  line-height:1.85;
  color:#44565d;
}
.layout .sidebar .sidebar-box ul{
  list-style:none;
}
.layout .sidebar .sidebar-box li{
  padding:8px 0;
  border-bottom:1px solid #e4ece8;
}
.layout .sidebar .sidebar-box li:last-child{
  border-bottom:none;
}
.layout .sidebar .sidebar-box a{
  color:#1f5c73;
}
.pager{
  display:flex;
  gap:10px;
  margin-top:8px;
}
.pager a,
.pager span{
  display:inline-block;
  min-width:40px;
  text-align:center;
  padding:10px 12px;
  border-radius:10px;
  border:1px solid #cad8d2;
  background:#fff;
  color:#284652;
}
.pager .current{
  background:#24586c;
  color:#fff;
  border-color:#24586c;
}

/* =========================================================
   3. 記事閲覧ページ専用
   起点: .article-wrap / .article-main / .author-box
========================================================= */
.article-wrap{
  padding:34px 0 52px;
}
.article-wrap .layout{
  display:grid;
  grid-template-columns:2fr 1fr;
  gap:24px;
}
.article-main{
  background:#fff;
  border:1px solid #c9d7d2;
  border-radius:20px;
  padding:32px;
}
.article-main .breadcrumb{
  font-size:.9rem;
  color:#5f7076;
  margin-bottom:14px;
}
.article-main .breadcrumb a{
  color:#5f7076;
}
.article-main h1{
  font-size:2rem;
  line-height:1.55;
  color:#163847;
  margin-bottom:12px;
}
.article-main .meta{
  font-size:.92rem;
  color:#60727a;
  margin-bottom:22px;
}
.article-main .lead{
  font-size:1.06rem;
  color:#35464e;
  margin-bottom:24px;
  line-height:1.9;
}
.article-main .hero-image{
  border-radius:16px;
  overflow:hidden;
  border:1px solid #c8d9d2;
  margin-bottom:24px;
  background:none;
}

.article-main .hero-image img{
  display:block;
  width:100%;
  height:auto;
}
.article-main p{
  margin-bottom:18px;
  color:#24333a;
  line-height:1.95;
}
.article-main h2{
  font-size:1.28rem;
  color:#163847;
  margin:30px 0 14px;
}
.author-box{
  margin-top:28px;
  padding:18px;
  border:1px solid #d1dfd9;
  border-radius:16px;
  background:#f7fbf9;
}
.author-box h3{
  font-size:1rem;
  color:#163847;
  margin-bottom:8px;
}
.author-box p{
  color:#44565d;
}
.prev-next{
  margin-top:22px;
  display:flex;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
}
.prev-next a{
  display:inline-block;
  background:#eef4f1;
  border:1px solid #d0ddd8;
  padding:12px 16px;
  border-radius:10px;
  color:#244652;
}
.article-wrap .sidebar{
  display:flex;
  flex-direction:column;
  gap:18px;
}
.article-wrap .sidebar .sidebar-box{
  background:#fff;
  border:1px solid #c9d7d2;
  border-radius:18px;
  padding:22px;
}
.article-wrap .sidebar .sidebar-box h3{
  font-size:1.08rem;
  color:#163847;
  margin-bottom:12px;
}
.article-wrap .sidebar .sidebar-box p{
  color:#44565d;
  line-height:1.85;
}
.article-wrap .sidebar .sidebar-box ul{
  list-style:none;
}
.article-wrap .sidebar .sidebar-box li{
  padding:8px 0;
  border-bottom:1px solid #e4ece8;
}
.article-wrap .sidebar .sidebar-box li:last-child{
  border-bottom:none;
}
.article-wrap .sidebar .sidebar-box a{
  color:#1f5c73;
}

/* =========================================================
   レスポンシブ
========================================================= */
@media (max-width:920px){
  .new-posts,
  .bottom-layout,
  .grid-3,
  .layout,
  .article-wrap .layout{
    grid-template-columns:1fr;
  }
}
@media (max-width:640px){
  .hero-box,
  .featured,
  .mini-card,
  .theme-card,
  .about-box,
  .bottom-layout .sidebar-box,
  .posts .post-item,
  .layout .sidebar .sidebar-box,
  .article-main,
  .article-wrap .sidebar .sidebar-box{
    padding:18px;
  }
  .hero h1,
  .page-head h1,
  .article-main h1{
    font-size:1.55rem;
  }
  .article-main .hero-image{
    height:220px;
  }
}