/*
Theme Name: Shinatora Lightning
Theme URI: https://www.shinatora.jp/
Author: OpenClaw
Description: Lightning child theme rebuilt from the current Shinatora static website. Seeds fixed pages with Elementor-editable content while preserving the original CSS, images, and layout.
Template: lightning
Version: 1.3.0
Text Domain: shinatora
*/

body.shinatora-original-layout {
  margin: 0;
  padding: 0;
  background: #000;
}

body.shinatora-original-layout .siteHeader,
body.shinatora-original-layout .siteFooter,
body.shinatora-original-layout .page-header,
body.shinatora-original-layout .breadcrumb,
body.shinatora-original-layout .vk-mobile-nav,
body.shinatora-original-layout .admin-bar,
body.shinatora-original-layout .entry-title {
  display: none !important;
}

body.shinatora-original-layout .site-body,
body.shinatora-original-layout .site-body-container,
body.shinatora-original-layout .main-section,
body.shinatora-original-layout .entry-body,
body.shinatora-original-layout .elementor,
body.shinatora-original-layout .elementor-section,
body.shinatora-original-layout .elementor-container,
body.shinatora-original-layout .elementor-column,
body.shinatora-original-layout .elementor-widget-wrap,
body.shinatora-original-layout .elementor-widget,
body.shinatora-original-layout .elementor-widget-container {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.shinatora-original-layout .elementor-text-editor,
body.shinatora-original-layout .elementor-widget-text-editor {
  color: inherit;
  font: inherit;
}

body.shinatora-original-layout .elementor-text-editor p,
body.shinatora-original-layout .elementor-widget-text-editor p {
  margin: 0;
}

body {
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

#index_bg {
  max-width: 900px;
  width: 100%;
  box-sizing: border-box;
}

#head,
#contents,
#footer {
  max-width: 850px;
  width: calc(100% - 50px);
  box-sizing: border-box;
}

#copy {
  box-sizing: border-box;
}

.shinatora-elementor-shell,
.elementor .shinatora-elementor-shell {
  width: 100%;
}

.shinatora-elementor-shell #index_bg {
  margin-top: 0;
}

#head {
  font-size: 0;
}

#head a,
#head img {
  display: inline-block;
  vertical-align: top;
  line-height: 0;
}

#head img {
  max-width: none;
}

#head_flash {
  width: 850px;
  max-width: 100%;
  height: 350px;
  overflow: hidden;
}

#head_flash img {
  display: block;
  width: 850px;
  max-width: 100%;
  height: 350px;
}

#bt_menu {
  display: block;
  width: 850px;
  max-width: 100%;
  height: 50px;
  font-size: 0;
  overflow: hidden;
}

#bt_menu a {
  display: inline-block;
  line-height: 0;
  vertical-align: top;
}

#bt_menu img {
  max-width: none;
  vertical-align: top;
}

.shinatora-text-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: #1b0d04;
}

.shinatora-text-menu a {
  display: block;
  padding: 15px 18px;
  color: #fff;
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
  background: #5b1c0d;
}

.shinatora-text-menu a:hover {
  background: #8b2c12;
}

#footer ul {
  display: inline;
  margin: 0;
  padding: 0;
  list-style: none;
}

#footer #copy {
  width: 850px;
  max-width: 100%;
  margin: 0;
}

#footer li {
  display: inline;
}

#footer li + li::before {
  content: "｜";
}

.shinatora-news-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.shinatora-news-list li {
  padding: 0 0 8px;
}

.shinatora-news-date {
  display: inline-block;
  min-width: 7em;
  color: #7b1b0d;
  font-weight: bold;
}

#contents_left_push_menu table table tr:last-child td {
  text-align: center;
}

#contents_right_ranking table table td[style*="ranking_01.gif"],
#contents_right_ranking table table td[style*="ranking_02.gif"],
#contents_right_ranking table table td[style*="ranking_03.gif"] {
  text-align: right;
}

#contents_right_ranking img {
  vertical-align: bottom;
}

.shinatora-contact {
  width: 760px;
  max-width: calc(100% - 40px);
  margin: 0 auto;
  padding: 24px 0 34px;
}

.shinatora-contact label {
  display: block;
  margin: 0 0 14px;
  font-weight: bold;
}

.shinatora-contact input,
.shinatora-contact textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin-top: 6px;
  padding: 9px;
  border: 1px solid #b9a78d;
  border-radius: 2px;
  font: inherit;
}

.shinatora-contact button {
  padding: 10px 24px;
  border: 0;
  border-radius: 2px;
  color: #fff;
  font-weight: bold;
  background: #7b1b0d;
  cursor: pointer;
}

.shinatora-contact-notice {
  margin: 0 0 16px;
  padding: 10px;
  color: #184b22;
  background: #edf8ef;
  border: 1px solid #b8dfbf;
}

.shinatora-contact-summary {
  margin: 0 0 18px;
  padding: 12px;
  background: #fff8e8;
  border: 1px solid #d9c69f;
}

.shinatora-contact-summary p {
  margin: 0 0 6px;
}

@media (max-width: 760px) {
  #index_bg {
    padding-top: 0;
  }

  #head,
  #contents,
  #footer {
    width: calc(100% - 20px);
    margin-left: 10px;
    margin-right: 10px;
  }

  #copy {
    width: 100%;
  }

  #contents_left,
  #contents_right,
  #contents_center,
  #contents_left_push_menu,
  #contents_whatnew,
  #store_bg {
    width: 100%;
    box-sizing: border-box;
    margin-left: 0;
    margin-right: 0;
  }

  #contents > table,
  #contents_center > table,
  #contents_left_push_menu table,
  #contents_right_ranking table,
  #store_bg table {
    width: 100% !important;
  }

  #contents > table > tbody > tr,
  #contents > table > tr,
  #contents_center > table > tbody > tr,
  #contents_center > table > tr,
  #store_bg table > tbody > tr,
  #store_bg table > tr {
    display: block;
  }

  #contents > table > tbody > tr > td,
  #contents > table > tr > td,
  #contents_center > table > tbody > tr > td,
  #contents_center > table > tr > td,
  #store_bg table > tbody > tr > td,
  #store_bg table > tr > td {
    display: block;
    width: 100% !important;
    box-sizing: border-box;
  }

  #bt_menu a {
    width: 50%;
  }

  #bt_menu {
    height: auto;
    overflow: visible;
  }

  #head img {
    max-width: 100%;
  }

  #bt_menu img {
    width: 100%;
    max-width: 100%;
  }

  #head_flash {
    height: auto;
  }

  #head_flash img {
    display: block;
    width: 100%;
  }

  .campaignbox {
    width: auto;
    padding: 12px;
  }

  img[width],
  table[width] {
    max-width: 100%;
  }

  .shinatora-text-menu a {
    padding: 12px;
  }
}
