/* ==========================================================================
   kDesign: 8gr3.jp Layout Design System
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  overscroll-behavior-y: none;
}

body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #000;
  background-color: #fff;
  -webkit-text-size-adjust: 100%;
  overscroll-behavior-y: none;
}

/* スマホ表示コンテナ（中央配置・最大幅480px） */
.kdesign-container {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  background: #fff;
}

/* メイン領域 */
.kdesign-main {
  width: 100%;
}

/* ヘッダー */
#header {
  padding: 5px 10px;
  background: #262626;
  color: #fff;
  min-height: 1px;
}

.clearfix::after {
  content: ".";
  display: block;
  clear: both;
  height: 0;
  visibility: hidden;
}

/* ゴールド見出し (Gold Label) */
.label {
  clear: both;
  margin: 0;
}

.label h3.goldlabel {
  clear: both;
  width: 100%;
  margin: 0;
  color: #fff;
  font-weight: bold;
  font-size: 14px;
  text-align: left;
  background-image: -webkit-linear-gradient(top, #fac893, #ff7826);
  background-image: linear-gradient(to bottom, #fac893, #ff7826);
  border-top: 1px solid #666;
  border-bottom: 1px solid #666;
}

.label h3.goldlabel span {
  font-size: 16px;
  font-weight: bold;
  display: block;
  padding: 3px 0 5px 8px;
  border-bottom: 1px solid #fff;
}

/* 余白ラッパー */
.padding_content {
  padding: 10px;
}

/* テキスト枠ボックス */
.txt_cont {
  margin: 6px 0 0 0;
  background: #fff;
  display: block;
  color: #000;
  border: 1px solid #666;
  border-radius: 5px;
  padding: 10px;
  font-size: 13px;
  line-height: 1.6;
}

.txt_cont.text-center {
  text-align: center;
}

.txt_cont a {
  color: #3366ff;
  text-decoration: underline;
  cursor: pointer;
}

/* 3x3 ナビゲーションメニュー */
.topnavi {
  width: 272px;
  padding-top: 10px;
  padding-bottom: 10px;
  margin: 5px auto;
}

.topnavi::after {
  content: ".";
  display: block;
  visibility: hidden;
  height: 0.1px;
  font-size: 0.1em;
  line-height: 0;
  clear: both;
}

.topnavi ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.topnavi li {
  width: 90px;
  height: 70px;
  padding: 10px 0;
  margin: 0;
  list-style-type: none;
  float: left;
  background: #8898ac;
  background-image: -webkit-linear-gradient(rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0.2));
  background-image: linear-gradient(rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0.2));
  font-size: 15px;
  text-align: center;
  line-height: 25px;
  box-shadow: 0 2px 2px rgba(100, 100, 100, 0.5);
  transition: filter 0.15s ease;
}

.topnavi li:hover {
  filter: brightness(1.08);
}

.topnavi li:active {
  filter: brightness(0.92);
}

.topnavi li a {
  width: 100%;
  height: 100%;
  display: block;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}

/* 3x3 の角丸と境界線設定 */
.topnavi li:nth-child(1) {
  border-right: 1px #fff solid;
  border-bottom: 1px #fff solid;
  border-radius: 5px 0 0 0;
}

.topnavi li:nth-child(2) {
  border-bottom: 1px #fff solid;
}

.topnavi li:nth-child(3) {
  border-left: 1px #fff solid;
  border-bottom: 1px #fff solid;
  border-radius: 0 5px 0 0;
}

.topnavi li:nth-child(4) {
  border-right: 1px #fff solid;
  border-bottom: 1px #fff solid;
}

.topnavi li:nth-child(5) {
  border-bottom: 1px #fff solid;
}

.topnavi li:nth-child(6) {
  border-left: 1px #fff solid;
  border-bottom: 1px #fff solid;
}

.topnavi li:nth-child(7) {
  border-right: 1px #fff solid;
  border-radius: 0 0 0 5px;
}

.topnavi li:nth-child(8) {
  /* 中央下 */
}

.topnavi li:nth-child(9) {
  border-left: 1px #fff solid;
  border-radius: 0 0 5px 0;
}

/* 単体ナビゲーション (u_navi_one) */
.u_navi_one {
  margin: 6px 0 0 0;
  background: #fdfdfd;
  display: block;
  color: #333;
  text-shadow: 0 1px 1px #ffffff;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 10px 12px;
  background-image: -webkit-linear-gradient(top, #fff, #f6f6f6);
  background-image: linear-gradient(to bottom, #fff, #f6f6f6);
  transition: background-color 0.15s ease;
}

.u_navi_one:hover {
  background-color: #f0f0f0;
}

.u_navi_one ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* リスト型ナビゲーション (u_navi) */
.u_navi ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.u_navi li {
  background: #fdfdfd;
  display: block;
  color: #332E2C;
  text-shadow: 0 1px 1px #fff;
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  padding: 10px 12px;
  background-image: -webkit-linear-gradient(top, #fff, #e7e7e7);
  background-image: linear-gradient(to bottom, #fff, #e7e7e7);
  transition: background-color 0.15s ease;
}

.u_navi li:first-child {
  border-top: 1px solid #ccc;
  border-radius: 5px 5px 0 0;
}

.u_navi li:last-child {
  border-radius: 0 0 5px 5px;
}

.u_navi li:hover {
  background-color: #f7f7f7;
}

div.subject {
  text-align: left;
  float: left;
}

div.date {
  text-align: right;
}

/* メニューリンク (arrowinmenu) */
.arrowinmenu {
  position: relative;
}

.arrowinmenu a {
  width: 100%;
  height: 100%;
  display: block;
  color: #333;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
}

/* オレンジフッターバー */
.kdesign-footer {
  background: #ff7826;
  height: 42px;
  text-align: center;
  color: #fff;
  padding-top: 10px;
  font-size: 13px;
  flex-shrink: 0;
}

/* フォーム関連 */
.kdesign-input-text {
  padding: 4px 6px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 3px;
  background: #fff;
}

/* トースト通知 (クリック時のフィードバック) */
.kdesign-toast {
  position: fixed;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  padding: 10px 18px;
  border-radius: 20px;
  font-size: 13px;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.kdesign-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(-10px);
}
