/*
 * Sidebar CSS
 * 2026-04-26
 */
/* =========================
 Sidebar
========================= */

.ak-sidebar{
 width:320px;
 flex-shrink:0;
}

/* =========================
 Sidebar Boxes
========================= */

.ak-side-box{
 background:#fff;
 padding:1.4rem;
 margin-bottom:1.5rem;

 border-radius:18px;

 box-shadow:
 0 4px 14px rgba(0,0,0,.08);
}

.ak-side-box h2{
 margin-top:0;
 font-size:1.1rem;
}


/* 活動実績 */

.ak-achievement-side-list{
 list-style:none;
 padding:0;
 margin:0;
}

.ak-achievement-side-list li{
 display:flex;
 justify-content:space-between;
 align-items:baseline;
 padding:.45rem 0;

 border-bottom:1px solid rgba(0,0,0,.08);
}

.ak-achievement-side-list li:last-child{
 border-bottom:none;
}

.ak-achievement-label{
 font-size:.95rem;
}

.ak-achievement-number{
 font-size:1.35rem;
 font-weight:700;
}

/* サイドバー内リンクメニュー */
.ak-sidebar a {
  display: inline-block;
  color: var(--ak-color-text, #2f2a24);
  text-decoration: none;
  line-height: 1.7;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.ak-sidebar a:hover,
.ak-sidebar a:focus {
  color: var(--ak-color-accent, #8a5a2b);
  border-bottom-color: currentColor;
}

/* サイドバー内リスト */
.ak-sidebar ul {
  list-style: none;
  margin: 0.6rem 0 0;
  padding: 0;
}

.ak-sidebar li + li {
  margin-top: 0.55rem;
}

/* サイドバー内メニューリンク：見出しより少し控えめに */
.ak-sidebar a {
  font-size: 0.9rem;
}

/* =========================
 Sidebar links
========================= */

.ak-side-links,
.ak-side-posts{
 list-style:none;
 padding:0;
 margin:0;
}

.ak-side-links li,
.ak-side-posts li{
 margin-bottom:.7rem;
}


/* Sidebar button */

.ak-button-side{
 display:inline-block;
 padding:.7rem 1rem;

 border-radius:10px;

 text-decoration:none;

 background:#f3f0ea;
}

/* Sidebar layout */

.ak-sidebar{
 flex:0 0 320px;
 width:320px;
 max-width:320px;
}

/* mobile */
@media(max-width:900px){

.ak-sidebar{
 width:auto;
}

}

/* =========================
 Sticky sidebar
========================= */

@media (min-width: 901px) {
  .ak-sidebar {
    position: sticky;
    top: 2rem;
    align-self: flex-start;
  }
}

/* =====================================
   アキケット通信 Blog Sidebar
===================================== */

.akiket-sidebar--blog{
  font-size:.95rem;
  line-height:1.75;
}


/* 各ブロック */
.akiket-sidebar--blog .sidebar-section{
  margin-bottom:2.2rem;
}


/* 見出し */
.akiket-sidebar--blog h2{
  margin:0 0 .9rem;

  font-size:.95rem;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;

  color:#8a6a3d;
}


/* 細い飾り線 */
.akiket-sidebar--blog h2::after{
  content:"";
  display:block;
  width:38px;
  margin-top:.45rem;
  border-bottom:1px solid #d8c7a4;
}


/* リスト */
.akiket-sidebar--blog ul{
  list-style:none;
  margin:0;
  padding:0;
}

.akiket-sidebar--blog li{
  margin-bottom:.55rem;
}


/* リンク */
.akiket-sidebar--blog a{
  text-decoration:none;
  color:#555;
  transition:.2s ease;
}

.akiket-sidebar--blog a:hover{
  color:#8a6a3d;
}


/* 検索フォーム */
.akiket-sidebar--blog input[type="search"]{
  width:100%;
  padding:.6rem .8rem;
  border:1px solid #ddd;
  border-radius:6px;
  font-size:.92rem;
}


/* お問い合わせだけ少しカード風 */
.akiket-sidebar--blog .sidebar-section:last-child{
  padding:1rem 1.1rem;
  background:#faf8f3;
  border:1px solid #e6dcc7;
  border-radius:10px;
}


/*イベント詳細ページ*/
.content-area.with-sidebar {
  width: min(100% - 2rem, 1120px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 2rem;
  align-items: start;
  box-sizing: border-box;
}

.content-area.with-sidebar > article,
.content-area.with-sidebar > main {
  min-width: 0;
}

.content-area.with-sidebar .sidebar,
.content-area.with-sidebar aside {
  min-width: 0;
  max-width: 100%;
}

@media (max-width: 900px) {
  .content-area.with-sidebar {
    width: min(100% - 1.5rem, 720px);
    grid-template-columns: 1fr;
  }
}