@charset "utf-8";

/*** オリジナル設定 ***/
body {
  font-family: 'Noto Sans JP', sans-serif;
  position: relative;
}

#receipt_destination {
  transition: 0.3s;
}

#unitPrice,
#total_amount,
#electricity_charges,
#outlet_fee,
#spotlight_fee,
#catalog_stand_fee,
#total_charge,
#online_exhibition_fee,
#total_pop {
  background-color: #97CBFF;
  border: 1px solid #97CBFF;
  text-align: right;
}

#quantity {
  text-align: right;
}

#categories label,
#field label {
  margin-right: 1em;
}

tr.tableTitle {
  margin-top: 1em;
}

.tableTitle th {
  background-color: #CBEEC6;
  border-color: #CBEEC6;
  font-size: 1.125em;
  width: 220px;
}

.tableTitle td {
  background-color: #CBEEC6;
  color: #ff0000;
  font-size: 0.9em;
}

h1 {
  font-size: 25px;
  line-height: 140%;
  font-weight: bold;
  padding: 24px;
}

#mainImg {
  width: 893px;
  margin: 0 auto; /* センター合わせ */
  border: 1px solid #DDD;
}

/* 修正: 各見出しの最大幅をトップ画像に統一 */
h2 {
  max-width: 893px;
  margin: 20px auto 10px auto; /* センター合わせ */
  font-size: 16px;
  line-height: 140%;
  font-weight: normal;
  border-bottom: 4px solid #900;
  padding: 10px 5px 5px 5px;
  text-align: left;
  background-color: initial;
  color: initial;
  box-sizing: border-box;
}

.material ul {
  margin: 20px 0 15px 0;
  padding: 0 10px;
}

ul, ol {
  list-style: none;
}

.contact dl {
  width: 47%;
  text-align: left;
  margin: 20px;
  padding: 20px;
  background-color: #EFEFEF;
  display: inline-block;
}

.contact dl:nth-child(2) {
  margin: 0;
}

.contact dd {
  font-size: 14px;
  line-height: 180%;
}

.contact dd span {
  width: 5em;
  display: inline-block;
}

form {
  margin: 0;
}

input[type="radio"],
input[type="checkbox"] {
  position: relative;
  top: 5px;
}

/* 修正: テーブル全体の横幅を893pxに固定してセンターへ */
#appDueDate {
  width: 893px;
  margin: 0 auto;
}

#appDueDate th {
  text-align: left;
  padding: 1em;
}

#appDueDate td {
  padding-left: 1em;
}

.categoriesHeaderSpan {
  display: inline-block;
  float: initial;
  width: initial;
  text-align: justify;
  font-weight: normal;
  color: #000;
  background-color: initial;
  text-indent: -1em;
  padding-left: 1em;
}

/* 修正: リンク表示エリアの横幅をトップ画像と同期 */
.links-section {
  max-width: 893px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

footer {
  width: 100%;
  max-width: 893px;      /* 全体の基準幅 893px に統一 */
  margin: 40px auto 0 auto; /* 上部に余白を空けて中央寄せ */
  line-height: 25px;
  text-align: center;    /* テキストおよびアイコンを中央揃え */
  display: flex;
  flex-direction: column;
  align-items: center;   /* 子要素を中央に集める */
}

/* 修正: お問い合わせエリアの幅を893pxへ修正・調整 */
.contactCol {
  width: 100%;
  max-width: 893px;
  margin: 0px auto 20px auto;
  text-align: center;    /* お問い合わせ先テキストもすべてセンター合わせに */
}

#footerWrap {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1em;
}

footer a img {
  margin: 10px auto;     /* Xのアイコン画像も中央寄せ */
  display: block;
}


/* --- WEBからのお申し込みはこちらボタン設定 --- */
/* 修正: セクションエリアの最大幅を893pxにしてセンター寄せ */
.registration-section {
  max-width: 893px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.appBtnWrap {
  display: flex;
  justify-content: center;
  gap: 40px; 
  margin: 20px 0;
}

.appBtnWrap a {
  text-decoration: none;
  display: inline-block;
  width: 250px; /* 修正: 2つ並びでバランスが良いサイズに拡張 */
}

.appBtn {
  cursor: pointer;
  text-align: center;
  color: #fff;
  font-weight: bold;
  font-size: 18px; /* 修正: 文字がハッキリ目立つように拡大 */
  line-height: 1.4;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70px; /* 修正: 資料ダウンロード側と高さを統一 */
  box-sizing: border-box;
  border: none;
  border-radius: 4px;
  box-shadow: 2px 2px 4px #ddd;
  padding: 5px 10px;
  transition: all 0.3s;
}

.appBtn:hover {
  text-decoration: none;
}

.tooltipContent {
  display: block;
  background: #ffc;
  border: 1px solid #fc6;
  text-align: center;
  margin: 0;
  padding: 10px;
  z-index: 2;
  width: 350px;
  height:100px;
  display: none;
}

.aboutElPriceImg {
  cursor: pointer;
}

#watts,
#outlet,
#spotlight,
#catalog_stand,
#online_exhibition {
  text-align: right;
}

#stamp_rally {
  display: flex;
  align-items: flex-start;
}

#stamp_rally div {
  opacity: .3;
}

#stamp_rally_product_name {
  pointer-events: none;
}

#calcBtn {
  display:inline-block;
  background-color: #ccc;
  padding: .25em;
  border-radius: 5px;
  width:5em;
  text-align:center;
  cursor: pointer;
  animation: color-change 2s linear infinite;
}

.calcBtnNote{
  color:red;
  font-weight:bold;
}

@keyframes color-change {
  0%, 100% { background-color: #ccc; }
  50% { background-color: #eb7a7a; }
}

/* --- 資料ダウンロード HTMLベース化設定 --- */
.materials_dl_html {
  max-width: 893px; /* 修正: トップ画像幅に完全にロック */
  width: 100%;
  display: flex;
  gap: 20px; /* 隙間のバランスを最適化 */
  padding: 0;
  margin: 0 auto 20px auto;
  box-sizing: border-box;
}

/* 修正: 1段目（2列）と2・3段目（3列）の並びを完璧にコントロール */
.row_2col {
  justify-content: center;
}

.row_3col {
  justify-content: space-between;
}

/* 修正: 893px幅の枠内で、綺麗に3等分して両端を美しく揃える計算値に修正 */
.materials_dl_html li,
.row_2col li {
  width: 264px;
  list-style: none;
  margin: 0;
}

.pdf_link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  color: #ffffff !important;
  font-weight: bold;
  font-size: 16px; /* 横幅拡大に伴い視認性を向上 */
  line-height: 1.3;
  padding: 5px 12px 5px 15px;
  height: 70px; /* 修正: ゆとりのある70pxに拡張 */
  border-radius: 4px;
  box-sizing: border-box;
  transition: opacity 0.2s;
}

.pdf_link:hover {
  opacity: 0.8;
  text-decoration: none;
}

/* ボタン内部のテキストエリア */
.pdf_text_wrap {
  flex: 1;
  text-align: center;
  padding-right: 4px;
  word-break: break-all;
}

/* PDFアイコン */
.pdf_icon {
  width: auto;
  height: 38px; /* 修正: ボタン拡大に合わせ少し大きく調整 */
  flex-shrink: 0;
}

/* 出展申込書の確定改行用 */
.pdf_block {
  display: block; 
  margin-top: 3px;
}

/* 補足テキスト（バッジ情報） */
.badge {
  color: #ffffff; /* 修正: 背景色に対して圧倒的に読みやすい黄色に変更 */
  font-weight: bold;
  font-size: 10px; /* 視認性を整えるためのリサイズ */
  display: block;
  line-height: 1.2;
  margin-bottom: 2px;
}

/* 各ボタンの背景色設定 */
.bg_green  { background-color: #007d32; }
.bg_cyan   { background-color: #008080; }
.bg_dark   { background-color: #1726ad; }
.bg_purple { background-color: #800080; }
.bg_navy   { background-color: #e59545; }

/* 旧来の画像バナー用設定の残骸はクリーンアップ */
.materials_dl {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

/* WEB申し込み：1つ目のボタンの背景色（ゴールドオレンジ系） */
.appBtnWrap a:nth-child(1) .appBtn {
  background: hsl(51, 93%, 41%);
}
.appBtnWrap a:nth-child(1) .appBtn:hover {
  background-color: hsl(49, 100%, 52%);
}

/* WEB申し込み：2つ目のボタンの背景色（マゼンタピンク系） */
.appBtnWrap a:nth-child(2) .appBtn {
  background-color: #b00a73;
}
.appBtnWrap a:nth-child(2) .appBtn:hover {
  background-color: hsl(311, 100%, 77%);
}

.highlight {
  color: red;
  background-color: transparent;
  font-weight: bold;
}

/* --- セクション下の区切り線（赤線）設定 --- */
/* 修正: 赤い区切り線も最大幅893pxに固定して中央に配置 */
.section-divider {
  max-width: 893px;
  border-bottom: 4px solid #900;
  margin: 40px auto 20px auto; /* センター合わせ */
  width: 100%;
}

/* --- 「募集要項」テキストの個別拡大設定 --- */
.pdf_text_wrap.text_large {
  font-size: 22px;
}