/*================================
 * アキケットフロントページ用CSS
 * 2026-04-26
 =================================*/

/* =========================
   一時的・期間限定CSS
========================= */
.akiket-contest-banner {
  margin: 2rem auto;
  padding: 0 1rem;
  max-width: 960px;
}

.akiket-contest-banner__link {
  display: block;
  padding: 2rem;
  border-radius: 18px;
  background: #fff7e6;
  border: 2px solid #f0b45a;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.akiket-contest-banner__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

.akiket-contest-banner__label {
  display: inline-block;
  margin: 0 0 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: #f0b45a;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
}

.akiket-contest-banner__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.4rem, 4vw, 2rem);
  line-height: 1.4;
}

.akiket-contest-banner__desc {
  margin: 0 0 1.2rem;
  font-size: 1rem;
}

.akiket-contest-banner__button {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  background: #333;
  color: #fff;
  font-weight: 700;
}


/* =========================
   Hero Poster Style
========================= */

.ak-hero-slider{
  width:100vw;
  margin-left:calc(50% - 50vw);

  /* 黒やめる */
  background:#f4f1ea;

  padding:1rem 0;
  margin-bottom:2rem;
  overflow:hidden;
}

.ak-hero-slide{
  text-align:center;
}

.ak-hero-slide img{
  display:block;

  /* 横幅をもっと使う */
  width:min(96vw,1600px);

  height:520px;
  margin:0 auto;

  object-fit:contain;

  /* 軽い紙の上に置いた感じ */
  box-shadow:
     0 6px 18px rgba(0,0,0,.12);
}

/* 少し大きい画面 */
@media (min-width:1200px){
  .ak-hero-slide img{
      height:560px;
  }
}

/* タブレット */
@media (max-width:900px){
  .ak-hero-slide img{
      height:420px;
  }
}

/* スマホは自然比率に戻す */
@media (max-width:767px){

  .ak-hero-slider{
      width:100%;
      margin-left:0;
      padding:0;
      background:none;
  }

  .ak-hero-slide img{
      height:auto;
      max-width:100%;
  }

}

.ak-hero-slide img{
  box-shadow:
    0 10px 30px rgba(0,0,0,.28);
}

/*Side bar*/
.ak-front-layout{
display:flex;
gap:3rem;
align-items:flex-start;
}

.ak-front-main{
flex:1;
min-width:0;
}

@media(max-width:900px){

.ak-front-layout{
display:block;
}

}

/* =========================
 Next Event Card
========================= */

.ak-event-card{
 margin:0 auto 3rem;
}

.ak-event-card-inner{

 max-width:980px;
 margin:auto;

 background:
 var(--wp--preset--color--shirocha,#faf8f3);

 padding:2rem 2.2rem;

 border-radius:24px;

 box-shadow:
 0 8px 24px rgba(0,0,0,.08);

 text-align:center;
}

.ak-event-label{
 margin:0 0 .5rem;
 font-size:.85rem;
 letter-spacing:.08em;
 font-weight:700;
 opacity:.7;
}

.ak-event-title{
 margin:0 0 .7rem;
}

.ak-event-meta{
 margin:0 0 1rem;
}

.ak-event-status{
 display:inline-block;

 margin-bottom:1.4rem;

 padding:.45rem .9rem;

 border-radius:999px;

 background:
 var(--wp--preset--color--leafcore-green,#a8d8b9);
}

.ak-event-buttons{
 display:flex;
 justify-content:center;
 gap:1rem;
 flex-wrap:wrap;
}

.ak-button{
 display:inline-block;

 padding:.8rem 1.2rem;

 border-radius:12px;

 background:
 var(--wp--preset--color--caramel-amber,#d3a454);

 color:#fff;
 text-decoration:none;
}

.ak-button-sub{
 background:#fff;
 color:#333;
 border:1px solid rgba(0,0,0,.1);
}

@media(max-width:767px){

.ak-event-card-inner{
 padding:1.5rem 1.2rem;
}

}

/* トップページ：イベントスケジュール */
.ak-event-schedule {
  margin-bottom: 2.8rem;
}

.ak-event-schedule h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  line-height: 1.4;
}

.ak-event-schedule-card {
  padding: 1.2rem 1.4rem;
  background: #fff;
  border: 1px solid rgba(80, 60, 40, 0.14);
  border-radius: 0.9rem;
}

.ak-event-schedule-date {
  margin: 0 0 0.35rem;
  color: var(--ak-color-muted, #74695f);
  font-size: 0.92rem;
  line-height: 1.6;
}

.ak-event-schedule-title {
  margin: 0 0 0.65rem;
  color: var(--ak-color-text, #2f2a24);
  font-size: 1.18rem;
  line-height: 1.5;
}

.ak-event-schedule-text {
  margin: 0;
  line-height: 1.8;
}

.ak-event-schedule-link {
  margin: 0.8rem 0 0;
}

.ak-event-schedule-link a {
  color: var(--ak-color-text, #2f2a24);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  text-underline-offset: 0.18em;
  transition: color 0.2s ease, border-color 0.2s ease;
}

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


/* トップページ：お知らせ */
.ak-news-list {
  list-style: none;
  margin: 0;
  padding: 0.25rem 1rem;
  background: #fff;
  border: 1px solid rgba(80, 60, 40, 0.14);
  border-radius: 0.9rem;
}

.ak-news-list li {
  display: flex;
  gap: 1rem;
  align-items: baseline;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(80, 60, 40, 0.12);
}

.ak-news-list li:last-child {
  border-bottom: 0;
}


/* トップページ：お知らせリンク */
.ak-news-list a {
  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-news-list a:hover,
.ak-news-list a:focus {
  color: var(--ak-color-accent, #8a5a2b);
  border-bottom-color: currentColor;
}

.ak-news-list time {
  color: var(--ak-color-muted, #74695f);
  font-size: 0.9rem;
  white-space: nowrap;
}

/*スマホ対応*/
@media (max-width: 640px) {
  .ak-news-list li {
    display: block;
    padding: 0.9rem 0;
  }

  .ak-news-list time {
    display: block;
    min-width: 0;
    margin-bottom: 0.25rem;
    font-size: 0.85rem;
  }
}

/* トップページ：イベント予定カード */
.ak-event-schedule-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 280px);
  gap: 1.2rem;
  align-items: center;
  padding: 1.2rem 1.4rem;
  background: #fff;
  border: 1px solid rgba(80, 60, 40, 0.14);
  border-radius: 0.9rem;
}

.ak-event-schedule-body {
  min-width: 0;
}

.ak-event-schedule-image {
  margin: 0;
}

.ak-event-schedule-img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  border-radius: 0.75rem;
}

@media (max-width: 720px) {
  .ak-event-schedule-card {
    grid-template-columns: 1fr;
  }

  .ak-event-schedule-image {
    order: -1;
  }
}

/* トップページ：イベント予定メタ情報 */
.ak-event-schedule-meta {
  margin: 1rem 0 0;
}

.ak-event-schedule-meta div {
  margin: 0.8rem 0 0;
}

.ak-event-schedule-meta dt {
  margin: 0 0 0.25rem;
  font-weight: 600;
}

.ak-event-schedule-meta dd {
  margin: 0;
  line-height: 1.7;
}