:root {

  --main: #c18d00;
  --main-clear: hsla(44, 100%, 38%, 0.152);
  --b-gray: #777;
  --line: #ccc;
  --border: rgba(0, 0, 0, 0.1);
  --gray: #999;
  --b-left: #bbb5a491;
  --red: #ed4937;
  --orange: #f5a623;
  --brown: #793600;
  --green: #81bc63;
  --koigreen: #36a300;
  --focus: hsla(44, 100%, 38%, 0.071);
  --blue: #2594a1;
  --font-size: 14px;
  --foreground: #241103;
  --card: #fff;
  --card-foreground: #0a0a0a;
  --primary: #130702;
  --primary-foreground: oklch(1 0 0);
  --secondary: #f1f1f1;
  --muted: #f0edec;
  --hover: #fbfaf9;
  --muted-foreground: #827771;
  --input-background: #fbfaf9;
  --input-background2: #eae3dd;
  --radius: 0.625rem;
  --font-weight-medium: 500;
  --font-weight-normal: 400;

}




* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: var(--font-size);
}


/* 全体の背景と文字色の初期設定　上下メニューも含んだ全体*/
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: #ffffff;
  padding: 0;
  margin: 0 auto;
  color: var(--foreground);
  line-height: 1.5;
  width: 100%;
}



ul li {
  list-style: none;
}

a {
  text-decoration: none;
}


/*  メイン内 */

main {
  min-height: 90vh;
  max-width: 650px;
  margin: 0 auto;
}



.container {
  padding: 15px 10px 40px;
  margin: 0 auto;
}

.card-title {
  font-size: 14px;
  font-weight: var(--font-weight-medium);
  color: var(--foreground);
  margin: 0;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--line);
  line-height: 1.5;
}


.card-content {
  padding: 16px;
}

.card-description {
  text-align: center;
  display: block;
  margin: 0 auto;
  padding: 18px;

}

.review-card-content,
.mypage-card-content,
.reveiwPost-card-content,
.pointCharge-card-content,
.offerDetail-card-content,
.offerList-card-content,
.notificationList-card-content,
.notificationDetail-card-content,
.term-card-content,
.performance-card-content,
.planorder-card-content,
.planshop-card-content,
.planDetail-card-content {
  padding: 16px 0 0 0;
}

/*************************************************************  head  ******************************************************************************************/
/*************************************************************  head  ******************************************************************************************/


/* Header styles */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3px;
  background-color: var(--card);
  border-bottom: 1px solid var(--border);
  position: relative; 
  z-index: auto;      /* ← スタッキング　対策 */
}

.header-button {
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: none;
  cursor: pointer;
  padding: 6px 10px;
}


.header-button i,
.close-button i {
  font-size: 18px;
  color: var(--muted-foreground);

}

.logo-container {
  flex: 1;
  display: flex;
  justify-content: center;
}

/*  文字ロゴの場合
.logo {
  padding: 6px 20px;
  font-weight: var(--font-weight-medium);
  color: var(--main);
  font-size: var(--font-size);
}
 */

.logo-container img {
  display: flex;
  width: 100px;
  margin: 0 auto;
}

/* 　メニューのハンバーガー  */


/* サイドバー */
#sidebar {
  display: block;
  position: fixed;
  top: 0;
  right: -1000px;
  width: 280px;
  height: 100%;
  background-color: #fff;
  color: white;
  align-items: unset;
  padding: 10px 6px 10px 6px;
  transition: right 0.3s ease;
  overflow-y: auto;
  z-index: 999;
  font-size: .9em;
  font-weight: 600;
}

#sidebar.active {
  right: 0;
}

#sidebar ul {
  padding: 0;
  margin-top: 10px;
  width: -webkit-fill-available;
}

#sidebar ul li {
  padding: 8px;
  border-bottom: 1px dotted var(--muted);
  color: var(--gray);
  border-radius: 3px;
  text-align: right;
  cursor: pointer;
  width: 100%;
  transition: background-color 0.3s;
}

#sidebar ul li a {
  color: var(--muted-foreground);
  display: block;
  width: 100%;
}

#sidebar div {
  display: block;
  text-align: center;
  padding-top: 50px;
}


#sidebar img {
  width: 100%;
  margin-top: .5em;
}

/* オーバーレイ */
#overlay {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  /* 半透明の黒 */
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 998;
  /* サイドバーの下に配置 */
}

#overlay.active {
  visibility: visible;
  opacity: 1;
}

.menu-button {
  text-align: center;
  z-index: 1000;
  transition: opacity 0.3s ease;
  /* スムーズな表示切り替え */
}


.menu-button.hidden {
  opacity: 0;
  pointer-events: none;
  /* クリックを無効化 */
}

.close-button {
  z-index: 1000;
  position: absolute;
  top: 6px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}



/*************************************************************  menu  ******************************************************************************************/
/*************************************************************  menu  ******************************************************************************************/
/*************************************************************  menu  ******************************************************************************************/

/* 選択中のメニュー */
.menu-item:hover {
  background-color: #e9ebef;
}

.menu-item .active {
  background-color: var(--foreground);
  color: #ffffff;
}

.bottom-navigation .menu-item .active .menu-label {
  color: #fff;
}

.bottom-navigation .menu-item .active img {
  filter: brightness(0) invert(1);
  /* アイコンを白っぽく */
}

/* Bottom Navigation */
.bottom-navigation {
  position: fixed;
  min-width: 100%;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #ffffff;
  border-top: 1px solid var(--border);
  z-index: 100;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 8px;
  height: 120px;
  max-width: 448px;
  margin: 0 auto;
}

.menu-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 10px;
  text-decoration: none;
  color: #717182;
  transition: all 0.2s ease;
}


/*  絵文字の時
.menu-icon {
  font-size: 20px;
  margin-bottom: 4px;
  line-height: 1;
}
   */

.menu-icon img {
  width: 20px;
  height: 20px;
}

.menu-label {
  font-size: 12px;
  line-height: 1;
  text-align: center;
}



footer {
  width: 100%;
  margin: 0 auto;
  padding: 8px 8px 130px 8px;
  color: #fff;
  background-color: var(--main);

}

.onlyforplandetail {
  padding: 8px 8px 185px 8px;
}

.onlyforchat {
  padding: 8px 8px 220px 8px;
}

footer .copyright {
  font-size: 13px;
  text-align: center;
}

footer li {
  padding: .3em 0;
}

footer li a {
  color: #fff;
  text-align: left;
}


nav.footer-menu {
  z-index: 10000;
  position: sticky;
  position: -webkit-sticky;
  top: 100;
  bottom: -1px;
  min-width: 100%;
}

.footer-menu ul {
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  padding: 0 .5em 0 .5em;
  border-top: .5px solid var(--border);
  background-color: #ffffff;
}

.footer-menu ul li {
  width: 25%;
  padding: 0 0 .5em;

}

.footer-menu ul li a {
  display: block;
  width: 100%;
}


.footer-menu ul li img {
  padding: .25em;
  max-width: 40px;

}

.footer-menu ul li p {
  color: var(--mjdrgr);
  font-size: .85em;
  font-weight: 600;

}

.important-notes {
  background: var(--muted);
  border-left: 4px solid var(--b-left);
  padding: 16px;
  border-radius: var(--radius);
}

.important-title {
  color: var(--muted-foreground);
  font-weight: var(--font-weight-medium);
  margin-bottom: 8px;
}

.important-list {
  list-style: none;
  font-size: 12px;
  color: var(--muted-foreground);
  display: grid;
  gap: 4px;
}




/*************************************************************  pagination  ******************************************************************************************/
/*************************************************************  pagination  ******************************************************************************************/
/*************************************************************  pagination  ******************************************************************************************/

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0 8px;
  list-style-type: none;
  padding: 0;
  font-size: 13px;
}

.pagination a {
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 28px;
  height: 28px;
  border-radius: 1px;
  background-color: var(--card);
  border: 1px var(--main) solid;
  color: var(--main);
}

.pagination a:not(:hover) {
  text-decoration: none;
}

.pagination .current a {
  background-color: var(--main);
  color: #fff;
  pointer-events: none;
}

.pagination .prev a,
.pagination .next a {
  gap: 0 4px;
  width: auto;
  padding: 5px 12px;
  line-height: 1;
}

.pagination .prev a::before,
.pagination .next a::after {
  display: inline-block;
  transform: rotate(45deg);
  width: 5px;
  height: 5px;
  content: '';
}

.pagination .prev a::before {
  border-bottom: 1px solid var(--main);
  border-left: 1px solid var(--main);
}

.pagination .next a::after {
  border-top: 1px solid var(--main);
  border-right: 1px solid var(--main);
}

.pagination span.dots {
  pointer-events: none;
  border: none !important;
  width: 28px;
  color: var(--main);
}


/*************************************************************  review  ******************************************************************************************/
/*************************************************************  review  ******************************************************************************************/
/*************************************************************  review  ******************************************************************************************/


/* レビュー全体のボックス */
.review-container {
  background-color: var(--card);
  border-top: 2px solid #ddd;
  padding: 15px 10px;
  margin: auto;
}

.review-card-content .container:first-of-type {
  margin-top: 10px;

}

.review-card-content .container:last-of-type {
  border-bottom: 2px solid var(--line);
}


.review-card-content .user-info {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.review-card-content .user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.review-card-content .user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-card-content .user-details {
  display: flex;
  flex-direction: column;
}

.review-card-content .user-info2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
    margin-bottom: 8px;
}

.review-card-content .stars {
  color: var(--orange);
  font-size: 20px;
  line-height: 1;
}

.review-card-content .user-info {
  font-size: 14px;
  color: var(--muted-foreground);
}

.review-card-content .user-name {
  font-weight: bold;
}

.review-card-content .user-plan {
  color: var(--orange);
}

.review-card-content .date {
  font-size: 14px;
  color: var(--muted-foreground);
  text-align: right;
}

/* レビュー本文 */
.review-box p {
  font-size: 13px;
  white-space: pre-line;
}

/* 画像 */
.img-box {
  padding: 12px 0;
}

.img-box img {
  width: 100%;
  object-fit: cover;
}

/* 返信部分 */
.reply-box {
  padding: 10px;
  margin-top: 15px;
  font-size: 13px;
  background: var(--muted);
  border-left: 4px solid var(--b-left);
  padding: 16px;
  border-radius: var(--radius);
}

.reply-box p:nth-of-type(1) {
  font-weight: bold;
  color: var(--foreground);
  padding: 0 0 5px 0;
}

/* いいね・バッドボタン */
.like-buttons {
  display: flex;
  justify-content: flex-end;
  padding: 10px 0 5px;
  align-items: center;
}

.like-buttons-button {
  display: inline-flex;
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
  color: var(--muted-foreground);
  display: flex;
  align-items: center;
  line-height: 1;
  vertical-align: middle;
  gap: 5px;
}

.like-buttons-button.liked {
  color: var(--red);
}

.like-buttons span {
  align-items: center;
}


/*************************************************************  review post ******************************************************************************************/



/* プラン名日付星 */
.reveiwPost-card-content .reveiwPost-plan,
.reveiwPost-card-content .date,
.reveiwPost-card-content .rating,
.reveiwPost-card-content .comment,
.offerDetail-card-content .offerDetail-plan,
.offerDetail-card-content .date,
.offerDetail-card-content .comment {
  display: flex;
  flex-direction: column;
  padding: 0 0 5px 0;
}

.reveiwPost-card-content .reveiwPost-plan-label,
.reveiwPost-card-content .date-label,
.reveiwPost-card-content .rating-label,
.reveiwPost-card-content .comment-label,
.offerDetail-card-content .offerDetail-plan-label,
.offerDetail-card-content .date-label,
.offerDetail-card-content .comment-label {
  color: var(--primary);
  font-weight: 500;
  font-size: 14px;
  padding: 0 0 5px;
}


.reveiwPost-card-content .reveiwPost-plan-name,
.reveiwPost-card-content .date-value,
.reveiwPost-card-content .comment-textarea,
.reveiwPost-card-content .image label,
.offerDetail-card-content .offerDetail-plan-name,
.offerDetail-card-content .date-value,
.offerDetail-card-content .comment-textarea {
  border-radius: 8px;
}


.reveiwPost-card-content .reveiwPost-plan-name,
.reveiwPost-card-content .date-value,
.offerDetail-card-content .offerDetail-plan-name,
.offerDetail-card-content .date-value {
  margin: 0;
  padding: 12px 16px;
  background-color: var(--muted);
  color: var(--primary);
  font-weight: 500;
}

.reveiwPost-card-content .star-rating {
  display: flex;
  padding-bottom: 5px;
}

.reveiwPost-card-content .star-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  line-height: 1;
  transition: all 0.2s ease;
}

.reveiwPost-card-content .star-button:hover {
  transform: scale(1.1);
  background-color: #fef3c7;
}

.reveiwPost-card-content .star-icon {
  font-size: 28px;
  transition: color 0.2s ease;
}

.reveiwPost-card-content .star-filled {
  color: #f59e0b;
}

.reveiwPost-card-content .star-empty {
  color: var(--b-left);
}

.reveiwPost-card-content .star-empty:hover {
  color: #fbbf24;
}

.reveiwPost-card-content .comment-textarea,
.offerDetail-card-content .comment-textarea {
  padding: 12px 16px;
  border: 1px solid var(--input-background2);
  resize: vertical;
  white-space: pre-line;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.5;
  transition: border-color 0.2s ease;
  min-height: 100px;
}

.reveiwPost-card-content .comment-textarea:focus,
.offerDetail-card-content .comment-textarea:focus {
  outline: none;
  border-color: var(--main);
  box-shadow: 0 0 0 3px var(--focus);
}

.reveiwPost-card-content .comment-textarea::placeholder,
.offerDetail-card-content .comment-textarea::placeholder {
  color: var(--muted-foreground);
}

/* 画像 */
.reveiwPost-card-content .image label {
  text-align: center;
  display: block;
  width: 100%;
  border: 1px solid var(--input-background2);
}

.reviewscpic {
  padding: 24px 0;
  display: block;
  margin: 0 auto;
  cursor: pointer;
  width: 35px;

}

.reviewpic-delete {
  margin: 8px 0;
  text-align: right;
}


.reviewpic-delete button {
  border: 1px solid var(--input-background2);
  background-color: var(--input-background);
  color: var(--muted-foreground);
  padding: 5px 8px;
  border-radius: 3px;
  cursor: pointer;


}

.reviewpic-delete button i {
  padding-right: 5px;

}

.reviewpic-delete button:focus {
  background-color: var(--muted);
}

.offerDetail-card-content:not(:last-of-type) {
  padding-bottom: 20px;
  border-bottom: 1px dotted var(--line);
}

/*************************************************************  offerList  ******************************************************************************************/
/*************************************************************  offerList  ******************************************************************************************/
/*************************************************************  offerList  ******************************************************************************************/

/* プランカード */
.plan-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  margin-bottom: 16px;
}

.plan-card:hover {
  box-shadow: 0 4px 16px var(--muted);
  transform: translateY(-2px);
}

/* プランヘッダー */
.plan-header {
  padding: 24px 28px 16px 16px;
  background: linear-gradient(135deg, var(--input-background) 0%, #ffffff 100%);
  border-bottom: 1px solid #f0f0f0;
}

.plan-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.plan-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--foreground);
  margin: 0;
}

/* バッジ */
.badge {
  padding: 6px 16px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.badge.published {
  background-color: var(--orange);
  color: #fff;
  box-shadow: 0 2px 4px var(--main-clear);
}

.badge.unpublished {
  background-color: var(--b-gray);
  color: #fff;
  box-shadow: 0 2px 4px var(--muted);
}

/* プランコンテンツ */
.plan-content {
  padding: 20px 28px 28px 28px;
}

.plan-info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 16px;
}

.plan-date {
  font-size: 14px;
  color: var(--b-gray);
  font-weight: 500;
}

/* 照会ボタン */
.inquiry-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background-color: var(--card);
  border: 2px solid var(--main);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--main);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  outline: none;
}

.inquiry-button:hover {
  background-color: var(--main);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px var(--main-clear);
}

.inquiry-button:active {
  transform: translateY(0);
}

.button-icon {
  font-size: 16px;
  transition: transform 0.2s ease;
}

.inquiry-button:hover .button-icon {
  transform: scale(1.1);
}

/* 公開時間 */
.publish-times {
  background-color: var(--input-background);
  border-radius: 8px;
  padding: 16px;
  margin-top: 4px;
}

.publish-time-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.publish-time-row:last-child {
  margin-bottom: 0;
}

.publish-time-label {
  display: inline-flex;
  align-items: center;
  color: var(--b-gray);
  font-weight: 500;
  font-size: 13px;
}

.publish-start::before {
  line-height: 1;
  content: "●";
  font-size: 18px;
  margin-right: 4px;
  color: var(--green);
}

.publish-end::before {
  line-height: 1;
  content: "●";
  font-size: 18px;
  margin-right: 4px;
  color: var(--red);
}

.publish-time-value {
  color: var(--foreground);
  font-weight: 600;
  font-size: 13px;
}

/*************************************************************  planOrder  ******************************************************************************************/
/*************************************************************  planOrder  ******************************************************************************************/
/*************************************************************  planOrder  ******************************************************************************************/

.planorder-card-content>div {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
}

.event-header {
  background: linear-gradient(to right, var(--main), var(--orange));
  padding: 24px;
  color: white;
}

.event-header h2 {
  font-size: 1.5rem;
  font-weight: var(--font-weight-medium);
  margin-bottom: 8px;
}

.event-header p {
  opacity: 0.9;
}

.planorder-content {
  padding: 10px;
}

.planorder-grid {
  display: grid;
  gap: 16px;
}

.planorder-info {
  display: grid;
  gap: 16px;
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.info-label {
  color: var(--b-gray);
  font-weight: var(--font-weight-medium);
}

.info-value {
  color: var(--primary);
  font-weight: var(--font-weight-medium);
}

.benefits-section {
  background: linear-gradient(to right, var(--green), var(--blue));
  border-radius: var(--radius);
  padding: 16px;
  color: white;
  position: relative;
  overflow: hidden;
}

.benefits-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: -90%;
  width: 100%;
  height: 100%;
  background: linear-gradient(75deg, transparent, rgba(255, 255, 255, 0.317), transparent);
  animation: shine 2.5s ease-in-out infinite;
  animation-delay: .5s;
}

@keyframes shine {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    transform: translateX(100%);
    opacity: 0;
  }
}

.benefits-title img,
.points-title img {
  width: 20px;
  height: 20px;
  align-items: center;
}


.benefits-title {
  font-weight: var(--font-weight-medium);
  display: flex;
  gap: 10px;
  margin-bottom: 8px;
}

.benefits-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.benefits-present {
  font-weight: 700;
}

.points-section {
  background: var(--input-background);
  border-radius: var(--radius);
  padding: 16px;
  border: 1px solid var(--line);
}

.points-title {
  color: var(--primary);
  font-weight: var(--font-weight-medium);
  margin-bottom: 8px;
  display: flex;
  gap: 8px;
}

.points-balance {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.points-balance span:first-child {
  color: var(--muted-foreground);
}

.points-balance span:last-child {
  color: var(--primary);
  font-weight: var(--font-weight-medium);
}

.points-select-container {
  display: grid;
  gap: 8px;
}

.points-select-container .select-label {
  font-size: 12px;
  color: var(--muted-foreground);
  font-weight: var(--font-weight-normal);
}

.points-select-container .point-select {
  width: 100%;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: var(--font-size);
  color: var(--primary);
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23777' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 16px;
  padding-right: 40px;
}

.points-select-container .point-select:hover {
  border-color: var(--main);
}

.points-select-container .point-select:focus {
  outline: none;
  border-color: var(--main);
  box-shadow: 0 0 0 2px var(--focus);
}


.ticket-details {
  background: var(--main-clear);
  border-radius: var(--radius);
  padding: 16px;
}

.ticket-title {
  color: var(--main);
  font-weight: var(--font-weight-medium);
  margin-bottom: 16px;
}

.ticket-rows {
  display: grid;
  gap: 12px;
}

.ticket-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ticket-row.discount {
  font-size: 12px;
}

.ticket-row.discount .label {
  color: var(--green);
}

.ticket-row.discount .value {
  color: var(--green);
  font-weight: var(--font-weight-medium);
}

.ticket-row.total {
  border-top: 1px solid var(--main);
  padding-top: 12px;
}

.ticket-row.total .label {
  color: var(--main);
  font-weight: var(--font-weight-medium);
  font-size: 1.125rem;
}

.ticket-row.total .value {
  color: var(--main);
  font-weight: var(--font-weight-medium);
  font-size: 1.25rem;
}

/*************************************************************  free planlist  ******************************************************************************************/
/*************************************************************  free planlist  ******************************************************************************************/
/*************************************************************  free planlist  ******************************************************************************************/
.planfree-list-grid .planshop-image {
  height: 100%;

}

/*************************************************************  planlist  ******************************************************************************************/
/*************************************************************  planlist  ******************************************************************************************/
/*************************************************************  planlist  ******************************************************************************************/

planshop-list-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.planshop-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 0 0 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.planshop-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.planshop-image {
  position: relative;
  width: 100%;
}

.planshop-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.planshop-card-content .title-section {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.planshop-card-content .region-badge {
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: var(--font-weight-medium);
  flex-shrink: 0;
}

.title-section .tihou {
  background-color: var(--brown);

}

.title-section .chuo {
  background-color: var(--koigreen);
}

.planshop-card-content .event-content {
  padding: 16px;
}

.planshop-card-content .event-title {
  color: var(--card-foreground);
  font-size: 16px;
  font-weight: var(--font-weight-medium);
  line-height: 1.4;
}

.planshop-card-content .planshop-info {
  margin-bottom: 8px;
}

.planshop-card-content .planshop-info-item {
  display: flex;
  align-items: center;
  margin-bottom: 6px;
  gap: 8px;
  color: var(--muted-foreground);
  font-size: 14px;
}

.planshop-info-icon img {
  width: 20px;
  height: 20px;
  display: block;
}

/*   border: 1px solid var(--line);  */
.planshop-card-content .price-section {
  margin-bottom: 6px;
  padding: 6px 10px;
  background-color: var(--main-clear);
  border-radius: 6px;
  line-height: 1.4;

  position: relative;
}



.discount-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: var(--red);
  color: white;
  padding: 4px 8px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: var(--font-weight-medium);
}

.planshop-card-content .price-label {
  font-size: 12px;
  color: var(--muted-foreground);
}

.price-container {
  display: flex;
  align-items: baseline;
  gap: 8px;
  justify-content: center;
}

.planshop-card-content .original-price {
  text-decoration: line-through;
  font-size: 13px;
  color: var(--muted-foreground);
}


.planshop-card-content .price-value {
  font-size: 24px;
  text-align: center;
  font-weight: var(--font-weight-medium);
  color: var(--main);
}

.planshop-card-content .action-buttons {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.btn {
  border-radius: 6px;
  font-size: 15px;
  font-weight: var(--font-weight-medium);
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  text-align: center;
  text-decoration: none;

}

.btn a {
  text-decoration: none;
  padding: 12px 16px;
  width: 100%;
  display: block;
}

.planshop-card-content .btn-outline {
  background-color: transparent;
  border: 1px solid var(--border);

}

.planshop-card-content .btn-outline a {
  color: var(--foreground);
}

.planshop-card-content .btn-outline:hover {
  background-color: var(--hover);
  border-color: var(--main);
}

.planshop-card-content .btn-primary {
  background-color: var(--main);
  border: 1px solid var(--main);
}

.planshop-card-content .btn-primary a {
  color: white;
}

.planshop-card-content .btn-primary:hover {
  background-color: #a67900;
  border-color: #a67900;
}

/*************************************************************  plan Detail  ******************************************************************************************/
.planDetail-card-content img {
  width: 100%;
  height: 100%;
}

.chuo {
  color: var(--koigreen);
}

.tihou {
  color: var(--brown);
}

.product-info {
  margin-bottom: 12px;
}

.product-title {
  font-size: 20px;
  font-weight: 500;
  color: var(--primary);
  line-height: 1;
  margin: 12px 0;
}

.planDetail-card-content .price-section {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.planDetail-card-content .current-price {
  font-size: 24px;
  font-weight: 500;
  color: var(--primary);
}

.planDetail-card-content .original-price {
  font-size: 16px;
  color: var(--muted-foreground);
  text-decoration: line-through;
}

.planDetail-card-content .badge {
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  background: var(--red);
  color: white;
}


/* Service Info Cards */
.planDetail-card-content .service-cards {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px 0;
}

.planDetail-card-content .card-content {
  padding: 12px;
}

/* 特典 */
.benefit-card {
  background: var(--main-clear);
}

.service-card {
  background: var(--hover);
}

.benefit-card,
.service-card {
  align-items: center;
  gap: 8px;
  border-radius: var(--radius);
}

.benefits-card img {
  width: 20px;
  height: 20px;
}

/*  内容の行中心　 */
.service-cards span {
  display: inline-flex;
}

.service-cards img {
  width: 20px;
  height: 20px;
}


/*  絵文字と文字　 */
.service-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

/*  推定~　 */
.service-section {
  display: flex;
  gap: 8px;
}

.service-title {
  font-size: 14px;
}

.planDetail-discription-content {
  white-space: pre-line;
}


/* Bottom Purchase Bar */
.purchase-bar {
  position: fixed;
  bottom: 121px;
  left: 0;
  right: 0;
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: 16px;
  z-index: 50;
}

.purchase {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}

.purchase-btn {
  justify-items: center;
  align-items: center;
  border: none;
}

.purchase-btn a {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  background-color: var(--red);
  color: var(--card);
}

/*************************************************************  notification Detail  ******************************************************************************************/
/*************************************************************  notification Detail  ******************************************************************************************/
/*************************************************************  notificationList  ******************************************************************************************/

/* 記事リスト */
.notification-list {
  background-color: #ffffff;
  border-radius: 3px;
  box-shadow: 0 1px 3px var(--border);
  overflow: hidden;
}

/* 記事アイテム */
.notification-item {
  padding: 16px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.notification-item:last-child {
  border-bottom: none;
}

.notification-item:hover {
  background-color: var(--hover);
}

/* 未読記事 */
.notification-item.unread {
  background-color: var(--main-clear);
}

.notification-item.unread:hover {
  background-color: var(--main-clear);
}

/* 記事コンテンツ */
.notification-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.notification-info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

/* 未読マーク */
.unread-mark {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--main-clear);
  flex-shrink: 0;
}

.notification-item.unread .unread-mark {
  background-color: var(--main);
}

/* 記事タイトル */
.notification-title {
  font-size: 14px;
  font-weight: 400;
  color: var(--gray);
  margin: 0;
}

.notification-item.unread .notification-title {
  color: var(--foreground);
  font-weight: 600;
}

/* 日付 */
.notification-date {
  font-size: 12px;
  color: var(--gray);
  margin-left: 16px;
  flex-shrink: 0;
}


/*************************************************************  notification Detail  ******************************************************************************************/


/* 記事ヘッダー */
.article-header {
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);

}

.article-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--foreground);
}

.article-date {
  color: var(--muted-foreground);
  /* muted-foreground色 */
  font-size: 14px;
  display: block;
  text-align: right;

}

/* 記事コンテンツ */
.article-content {
  margin-bottom: 32px;
  max-width: none;
}

.article-content p {
  font-size: 1rem;
  line-height: 1.7;
  white-space: pre-line;
}

.article-content h2 {
  font-size: 1.5rem;
  /* 24px */
  font-weight: 500;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.article-content h3 {
  font-size: 20px;
  font-weight: 500;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--foreground);
}

.article-content ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.article-content li {
  margin-bottom: 8px;
}

/* おすすめセクション */
.recommended-section {
  padding-top: 16px;
}

.recommended-title {
  font-size: 14px;
  font-weight: var(--font-weight-medium);
  color: var(--foreground);
  margin: 0;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--line);
  line-height: 1.5;
}

/* おすすめ記事グリッド */
.recommended-grid {
  margin-top: 12px;
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr;
}

/* おすすめ記事アイテム */
.recommended-item {
  display: block;
}

.recommended-link {
  display: block;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s ease;
}

.recommended-link:hover {
  background-color: var(--hover);
  border-color: var(--main);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.recommended-item-title {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--foreground);
  transition: color 0.2s ease;
}

.recommended-link:hover .recommended-item-title {
  color: var(--primary)
}

.recommended-item-excerpt {
  color: var(--muted-foreground);
  font-size: 12px;
  line-height: 1.5;
}

/*************************************************************  pointCharge  ******************************************************************************************/
/*************************************************************  pointCharge  ******************************************************************************************/
/*************************************************************  pointCharge  ******************************************************************************************/

/* 現在のポイント表示 */
.point-card-header,
.package-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: background-color 0.2s ease;
  color: var(--card);
}

.point-card-header {
  background: linear-gradient(to right, var(--main), #845a00);
  margin-bottom: 12px;
}

.point-card-band {
  display: grid;
  gap: 16px;
}

/* パッケージアイテム */
.package-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.package-item:hover {
  background-color: var(--hover);
  border-color: var(--main);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}


.points-number {
  font-size: 30px;
  font-weight: 500;
  color: var(--card);
}

.points-value {
  font-size: 14px;
  color: var(--muted-foreground);
}

/* パッケージ情報 */
.package-info {
  flex: 1;
}

.package-header {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
}

.package-points {
  font-size: 20px;
  font-weight: 500;
  color: var(--primary);
}

.package-price {
  font-size: 14px;
  color: var(--muted-foreground);
}

.package-item button {
  border: none;


}

/* 購入ボタン */
.buy-button {
  background-color: var(--primary);
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  margin-left: 16px;
  transition: background-color 0.2s ease;
}

.buy-button:hover {
  background-color: var(--foreground);
}

.buy-button:active {
  background-color: var(--card-foreground);
}

.package-item .select {
  background-color: #57240f;
}

.payment {
  display: grid;
  gap: 12px;
}

.payment p {
  text-align: center;
  display: block;
  width: 100%;
}

.payment i {
  padding: 0 5px 0 0;
}

.payment button {
  background-color: var(--card);
  width: 100%;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--primary);
}

.payment img {
  margin: 0 auto;
  width: 20%;
  padding-top: 8px;
  display: block;
}

.point-card-history {
  width: 100%;
  margin: 0 auto 16px;
  text-align: center;
  border: none;

}

.point-card-history a {
  background-color: var(--red);
  transition: background-color 0.2s;
  border-radius: 8px;
  padding: 16px 0;
  display: block;
  color: #fff;
  width: 100%;
  cursor: pointer;
}

/*************************************************************  point history  ******************************************************************************************/

.history-list {
  list-style: none;
  padding: 0 0 16px;
  margin: 0;
  display: grid;
  gap: 12px;
}

.history-item {
  background-color: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.history-item:hover {
  background-color: var(--hover);
  border-color: var(--main);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.history-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.history-item-title {
  font-size: 16px;
  font-weight: var(--font-weight-medium);
  color: var(--foreground);
  margin: 0;
}

.history-item-points {
  font-size: 18px;
  font-weight: var(--font-weight-medium);
  margin: 0;
}

.history-item-points.positive {
  color: var(--green);
}

.history-item-points.negative {
  color: var(--red);
}

.history-item-description {
  font-size: 14px;
  color: var(--muted-foreground);
  margin: 0 0 12px 0;
  line-height: 1.4;
}

.history-item-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.history-item-date {
  font-size: 12px;
  color: var(--gray);
  margin: 0;
}

.positive-board {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background-color: var(--green);
}

.negative-board {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background-color: var(--red);
}

/*************************************************************  performance List  ******************************************************************************************/
/*************************************************************  performance List  ******************************************************************************************/
/*************************************************************  performance List  ******************************************************************************************/


/*  要素要素の隙間　   */
.performance-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}

.performance-card {
  background-color: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 10px 10px 10px 16px;
  transition: background-color 0.2s ease;
}

.performance-card:hover {
  background-color: var(--hover);
}

.performance-content {
  display: flex;
  gap: 16px;
}

.performance-image-container {
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  /* 縦中央 */
  justify-content: center;
  /* 横中央 */

}

.performance-image {
  width: 122px;
  height: 80px;
  object-fit: cover;
  border-radius: 3px;
  background-color: var(--muted);
}

/*  画像の場合  */
.hit-badge {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 60px;
  /* バッジサイズ */
  height: 60px;
}

.hit-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* 比率を保つ */
}

/*   文字の場合
.hit-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: var(--red);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: var(--font-weight-medium);
}
 */

.performance-details {
  flex: 1;
  min-width: 0;
}

.performance-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin: 4px 0;
}

.performance-title {
  font-size: 14px;
  font-weight: var(--font-weight-medium);
  color: var(--foreground);
  margin: 0;
  line-height: 1.25;
}

.performance-date {
  font-size: 12px;
  color: var(--muted-foreground);
  white-space: nowrap;
  margin-left: 8px;
}

.performance-place,
.performance-case {
  font-size: 12px;
  color: var(--muted-foreground);
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/*  的中額の横の隙間  */
.performance-pricing {
  display: flex;
  align-items: baseline;
  gap: 3px;
  justify-content: flex-end;
}

.performance-price {
  font-size: 24px;
  font-weight: 600;
  color: var(--red);
}

.performance-hit-price {
  font-size: 16px;
  font-weight: 600;
  color: var(--red);
}

/*************************************************************  chat support  ******************************************************************************************/
/*************************************************************  chat support  ******************************************************************************************/
/*************************************************************  chat support  ******************************************************************************************/


/* Chat List Styles */
.chat-list {
  flex: 1;
  overflow-y: auto;
}

.chat-item {
  padding: 16px 5px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: background-color 0.2s;
}

.chat-item:hover {
  background-color: var(--hover);
}

.chat-item-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.avatar-container {
  position: relative;
  flex-shrink: 0;
}

.avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.chat-info {
  flex: 1;
  min-width: 0;
}

.chat-header-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.25rem;
}

.chat-name {
  font-weight: var(--font-weight-medium);
  color: var(--foreground);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 1rem;
  line-height: 1.5;
}

.chat-time {
  font-size: 12px;
  color: var(--gray);
  flex-shrink: 0;
  margin-left: 8px;
}

.chat-message-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-message {
  font-size: 12px;
  color: var(--muted-foreground);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  font-weight: var(--font-weight-normal);
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-text-overflow: ellipsis;
  -o-text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.unread-badge {
  margin-left: 8px;
  min-width: 1.25rem;
  height: 1.25rem;
  background-color: var(--main);
  color: white;
  border-radius: 50%;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: var(--font-weight-medium);
}

/* Icon styles */
.icon {
  width: 1.25rem;
  height: 1.25rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/*************************************************************  supportChat  ******************************************************************************************/


.inchat-card-content {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

.inchat-card-content .chat-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  background-color: var(--card);
  display: flex;
  align-items: center;
  gap: 12px;
}

.inchat-card-content .status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--green);
}

.inchat-card-content .header-title {
  margin: 0;
  font-size: 16px;
  font-weight: var(--font-weight-medium);
  color: var(--foreground);
}

.inchat-card-content .chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 10px;
  background-color: var(--input-background);
}

.inchat-card-content .message {
  display: flex;
  align-items: flex-start;
  margin-bottom: 16px;
}

.inchat-card-content .message.user {
  justify-content: flex-end;
}

.inchat-card-content .avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.inchat-card-content .avatar.support {
  margin-right: 10px;
}

.inchat-card-content .message-bubble {
  padding: 12px 16px;
  border-radius: var(--radius);
  max-width: 70%;
  position: relative;
}

.inchat-card-content .message-bubble.support {
  background-color: var(--card);
  border: 1px solid var(--border);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.inchat-card-content .message-bubble.user {
  background-color: var(--main);
  color: white;
}

.inchat-card-content .message-text {
  margin: 0;
  line-height: 1.5;
}

.inchat-card-content .message-time {
  text-align: right;
  font-size: 12px;
  margin-top: 4px;
}

.inchat-card-content .message-bubble.support .message-text {
  color: var(--card-foreground);
}


.inchat-card-content .chat-input-area {
  padding: 10px;
  border-top: 1px solid var(--border);
  background-color: var(--card);
  width: 100%;
  position: fixed;
  left: 0;
  bottom: 121px;
  z-index: 10000;
}

.inchat-card-content .input-container {
  display: flex;
  align-items: flex-end;
  gap: 12px;
}

.inchat-card-content .attach-button {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background-color: var(--input-background);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.inchat-card-content .attach-button i {
  font-size: 20px;
  color: var(--gray);
}

.inchat-card-content .attach-button:hover {
  background-color: var(--hover);
  border-color: var(--main);
}

.inchat-card-content .text-input-wrapper {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: var(--input-background);
  min-height: 40px;
  max-height: 120px;
  position: relative;
  transition: all 0.2s ease;
}

.inchat-card-content .text-input-wrapper.focused {
  border-color: var(--main);
  background-color: var(--focus);
}

.inchat-card-content .text-input {
  width: 100%;
  min-height: 40px;
  max-height: 120px;
  padding: 12px 16px;
  border: none;
  border-radius: var(--radius);
  background-color: transparent;
  color: var(--foreground);
  font-size: var(--font-size);
  font-weight: var(--font-weight-normal);
  line-height: 1.5;
  resize: none;
  outline: none;
  font-family: inherit;
}

.inchat-card-content .text-input::placeholder {
  color: var(--gray);
}

.inchat-card-content .send-button {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  border: none;
  background-color: var(--main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.inchat-card-content .send-button i {
  font-size: 20px;
  color: #fff;
}

.inchat-card-content .send-button:hover {
  background-color: #a67800;
  transform: scale(1.05);
}

.inchat-card-content .send-button:active {
  transform: scale(1);
}

/*************************************************************  mypage  ******************************************************************************************/
/*************************************************************  mypage  ******************************************************************************************/
/*************************************************************  mypage  ******************************************************************************************/

.mypage-card-content .form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mypage-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mypage-form-group .label {
  font-size: 1rem;
  font-weight: var(--font-weight-medium);
  color: var(--foreground);
  margin: 0;
}

.mypage-form-group .input {
  width: 100%;
  padding: 8px 0.75rem;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) - 2px);
  background-color: var(--input-background);
  font-size: 1rem;
  font-weight: var(--font-weight-normal);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.mypage-form-group .input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--border);
}

.mypage-form-group .select {
  position: relative;
  width: 100%;
}

.mypage-form-group .select-trigger {
  width: 100%;
  padding: 8px 0.75rem;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) - 2px);
  background-color: var(--input-background);
  font-size: 1rem;
  font-weight: var(--font-weight-normal);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.mypage-form-group .select-trigger:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--border);
}

.mypage-form-group .select-trigger::after {
  content: "▼";
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.mypage-form-group .select-content {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) - 2px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  max-height: 200px;
  overflow-y: auto;
  display: none;
}

.mypage-form-group .select-content.open {
  display: block;
}

.mypage-form-group .select-item {
  padding: 8px 0.75rem;
  cursor: pointer;
  transition: background-color 0.2s;
}

.mypage-form-group .select-item:hover {
  background-color: var(--muted);
}

.mypage-form-group .select-item.selected {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.mypage-form-group .birth-date {
  display: flex;
  gap: 8px;
}

.mypage-form-group .birth-date>.select {
  flex: 1;
}

.mypage-form-group .radio-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mypage-form-group .radio-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mypage-form-group .radio-input {
  width: 1rem;
  height: 1rem;
  accent-color: var(--primary);
}

.mypage-form-group .radio-label {
  font-size: 1rem;
  font-weight: var(--font-weight-normal);
  color: var(--foreground);
  cursor: pointer;
}

.button {
  width: 100%;
  padding: 8px 16px;
  background-color: var(--primary);
  color: var(--primary-foreground);
  border: none;
  border-radius: calc(var(--radius) - 2px);
  font-size: 16px;
  font-weight: var(--font-weight-medium);
  cursor: pointer;
  transition: background-color 0.2s;
  margin-top: 8px;
}

.button a {
  color: var(--primary-foreground);
  width: 100%;
}

.button:hover {
  background-color: var(--primary);
}

.button:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--border);
}

.placeholder {
  color: var(--muted-foreground);
}



/*************************************************************  rules terms  ******************************************************************************************/
/*************************************************************  rules terms  ******************************************************************************************/
/*************************************************************  rules terms  ******************************************************************************************/


.rules {
  padding-bottom: 1em;
}

.rule-file {
  line-height: 1.6;
  padding: 0 .5em 2em;
}

.term-card-content .white-space {
  white-space: pre-line;

}

dl.rule-file dt {
  font-weight: 700;
  padding: 1.5em 0 .5em;
}

dl.rule-file dd {
  font-weight: 300;
}

.list-number {
  list-style-position: none;
  padding: 0 0 0 1.5em;
}

.list-number li {
  padding-top: .3em;
}

.list-number li:last-child {
  padding-bottom: .3em;
}

table.law-table {
  width: 100%;
  border: .5px solid var(--line);
  border-collapse: collapse;
  margin: 0 0 2em;
}

table.law-table th {
  width: 30%;
  text-align: left;
  padding: 1em;
  border: 1px solid var(--line);
  border-collapse: collapse;
}

table.law-table td {
  width: 70%;
  text-align: left;
  padding: 1em;
  border: 1px solid var(--line);
  border-collapse: collapse;
}

.qrcode {
  height: 80vh;
  padding: 30px;
  color: var(--bk);
  text-align: center;

}

.qrcode img {
  max-width: 200px;
}

.qrcode .qr-info {
  font-size: 20px;
  padding: 16px 0 24px;
  font-weight: 700;
}

.qrcode .qr-text {
  margin: 0 auto;
  max-width: 360px;
  line-height: 1.6;
}

.br {
  display: block;
}
.strong {
  font-weight: bold;
}
/* ヘッダー */
header {
    background: linear-gradient(135deg, var(--card) 0%, var(--input-background) 100%);
    box-shadow: 0 2px 12px rgba(193, 141, 0, 0.08);
    backdrop-filter: blur(10px);
}

.header-inner {
    padding: 10px;
}


.header-inner .logo img {
    display: block;
    width: 150px;
}


/*************************************************************  pc only  ******************************************************************************************/
/*************************************************************  pc only  ******************************************************************************************/
/*************************************************************  pc only  ******************************************************************************************/
/*************************************************************  pc only  ******************************************************************************************/
/*************************************************************  pc only  ******************************************************************************************/



@media screen and (min-width: 900px) {


  .header {
    padding: 3px 10px;
  }

  .point-card-band {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
  }

  .planorder-card-content>div {
    border: 1px solid var(--line);
  }

  .planorder-content {
    padding: 16px;
  }

  .freeplan .planshop-image {
    height: 100%;
  }

  .freeplan .planshop-card {
    width: 100% !important;
  }

  .planshop-card {
    width: 50%;
  }

  .planshop-list-grid {
    display: flex;
    gap: 5px;
  }

  .freeplan planfree-list-grid {
    display: block;
    gap: 0;
  }

  #sidebar img {
    width: 200px;
  }

}