/* extracted style block 1 from pages/link.blade.php */
.page-home .section-inner {
    max-width: 55%;
    padding-left: 0%;
}
.menu-container {
    width: 100%;
    padding: 0;
    box-sizing: border-box;
    margin-top: 6%;
    margin-bottom: 2%;
}

/* メニューリスト */
.menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2vw;
}

/* メニューアイテム */
.menu-item {
    background: #ffdab9;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, background 0.3s ease;
    display: flex; /* フレックスボックスを適用 */
    align-items: center; /* 垂直方向中央揃え */
    justify-content: center; /* 水平方向中央揃え */
    height: 8vw; /* 高さを指定 */
}

/* リンクのスタイル調整 */
.menu-item a {
    text-decoration: none;
    color: #333;
    font-size: 1vw;
    font-weight: bold;
    display: block;
}


/* 背景色を変える */
.item1 { background: #ffddaa; }
.item2 { background: #ffd4b2; }
.item3 { background: #ffcc99; }

/* ホバー時のエフェクト */
.menu-item:hover {
    transform: scale(1.05);
    background: #ffb380;
}

/* レスポンシブ設定 */
@media screen and (max-width: 768px) {
    .menu-list {
        display: block;
    }
    .menu-item {
        margin-bottom: 15px;
    }
.page-home .section-inner {
    max-width: 85%;
    padding-left: 0%;
}
.menu-item a {
    text-decoration: none;
    color: #333;
    font-size: 13px;
    font-weight: bold;
    display: block;        line-height: 22px;
}
    h2.led {
        font-size: 13px;
        letter-spacing: 1px;
        background: #ffffff;
        color: #000;
        font-weight: 600;
        padding: 1% 0%;
        margin-bottom: 5%;
    }
}

/* =========================
   Reference List (Base)
========================= */
.reference-list {
  list-style: none;
  padding: 0;
  margin: 0;
  background: #ffffff;
}

/* 各項目 */
.reference-item {
    font-size: 1.1vw;
    letter-spacing: 1px;
    color: #000;
    font-weight: 600;
    padding: 1% 0%;
    margin-bottom: 1rem;
    list-style: disc;
    margin-left: 2rem;
}

/* リンク */
.reference-link {
  color: #000;
  text-decoration: none;
  display: block;
  line-height: 1.6;
}

/* hover（PC想定） */
.reference-link:hover {
  opacity: 0.7;
}

/* 発行元 */
.reference-org {
  font-weight: 400;
  font-size: 0.9em;
  display: inline-block;
  margin-top: 0.3em;
}
span.bline {
    text-decoration: underline;
}
/* =========================
   Tablet（目安）
========================= */
@media screen and (max-width: 1024px) {
  .reference-item {
    font-size: 1.6vw;
    padding: 1.5% 0;
    margin-bottom: 5%;
  }
}

/* =========================
   Smartphone
========================= */
@media screen and (max-width: 768px) {
  .reference-item {
    font-size: 1rem;       /* vwはやめて可読性重視 */
    letter-spacing: 0.5px;
    padding: 4% 0;
    margin-bottom: 6%;
  }

  .reference-link {
    line-height: 1.7;
  }

  .reference-org {
    font-size: 0.85rem;
  }
    .reference-item {
        font-size: 12px;
        letter-spacing: 0.5px;
        padding: 4% 0;
        margin-bottom: 0%;
    }
}

/* =========================
   Small Smartphone
========================= */
@media screen and (max-width: 390px) {
  .reference-item {
    font-size: 0.95rem;
  }
}

/* extracted style attributes */
.csp-s-b75fad0009{margin-bottom: 20px;}
.csp-s-cad980f4b7{width:100%;}
