@charset "UTF-8";
/*
  TODA custom styles (MU plugin).
  Theme files remain untouched.
*/
:root {
  --toda-accent: #b58b4f;
  --toda-text: #222;
  --toda-muted: #666;
  --toda-border: #ddd;
  --toda-bg-soft: #f8f6f2;
}

/* ======================================================================
   Custom Styles - TODA BOXING GYM
   ====================================================================== */
/* Header logo */
#header {
  display: block;
  background: black;
}

body.home.menu_type2.hide_header_logo.hide_global_menu #header {
  display: block !important;
}

#header_logo .logo {
  padding: 0 0 10px;
}

#header_logo .logo_image {
  height: 58px;
  width: auto;
}
@media screen and (max-width: 750px) {
  #header_logo .logo_image {
    height: 50px;
  }
}

#footer_sns {
  display: none;
}

/* --------------------------------------------------
   トップページ: header_slider 画像フィット
   PC画像: 1920x1200 (16:10) → contain表示で見切れなし
   SP画像: 1919x2560 (3:4)  → contain表示で見切れなし
   -------------------------------------------------- */
/* PC: アスペクト比 1920:1200 = 16:10 → 62.5vw */
body.home #header_slider_wrap {
  height: auto !important;
  overflow: hidden;
}

body.home #header_slider {
  height: auto !important;
  overflow: hidden;
}

body.home #header_slider .item.image_item {
  width: 100%;
  height: 0 !important;
  padding-top: 62.5%; /* 1200 / 1920 = 0.625 */
  position: relative;
  overflow: hidden;
}

body.home #header_slider .item.image_item .bg_image {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-size: contain !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

/* Slickスライダー高さ上書き */
body.home #header_slider .slick-list,
body.home #header_slider .slick-track {
  height: auto !important;
}

/* SP: アスペクト比 1919:2560 ≈ 3:4 → 133.4% */
@media screen and (max-width: 750px) {
  body.home #header_slider .item.image_item {
    padding-top: 133.4%; /* 2560 / 1919 ≈ 1.334 */
  }
  body.home #header_slider .item.image_item .bg_image.pc {
    display: none;
  }
  body.home #header_slider .item.image_item .bg_image.mobile {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-size: contain !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
  }
}
/* Free-space common heading block */
#cb_content_1 .post_content > div,
#index_flow .post_content > div,
#flow .post_content > div,
#index_price .post_content > div,
#price .post_content > div,
#access_section .post_content > div,
#access .post_content > div {
  text-align: center;
  padding: 60px 20px;
}

#cb_content_1 .post_content > div {
  padding-top: 0;
}

/* FLOW */
#index_flow .post_content > div > div,
#flow .post_content > div > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

#index_flow .post_content > div > div > div,
#flow .post_content > div > div > div {
  flex: 1;
  min-width: 240px;
  max-width: 280px;
}

#index_flow .post_content > div > div > div > div:first-child,
#flow .post_content > div > div > div > div:first-child {
  width: 42px;
  height: 42px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--toda-accent);
  color: #fff;
  font-weight: 700;
  line-height: 42px;
}

#index_flow h3,
#flow h3 {
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 1.5;
}

#index_flow h3 + p,
#flow h3 + p {
  margin: 0;
  color: var(--toda-muted);
  font-size: 14px;
  line-height: 1.9;
  text-align: left;
}

/* PRICE */
#index_price .post_content > div,
#price .post_content > div {
  background: var(--toda-bg-soft);
}

#index_price .post_content > div > div,
#price .post_content > div > div {
  max-width: 640px;
  margin: 0 auto;
}

#index_price table,
#price table,
#access_section table,
#access table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  background: #fff;
}

#index_price th,
#index_price td,
#price th,
#price td,
#access_section th,
#access_section td,
#access th,
#access td {
  border-bottom: 1px solid var(--toda-border);
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.7;
}

#index_price th,
#price th {
  background: #f1ede4;
  font-weight: 700;
}

#index_price .toda-price-band,
#price .toda-price-band,
.post_content .toda-price-band {
  display: block;
  width: 100%;
  margin: 22px 0 0;
  padding: 11px 14px;
  background: #111;
  box-sizing: border-box;
  color: #fff;
  text-align: center;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: 0.06em;
}

#index_price .toda-price-section:first-child .toda-price-band,
#price .toda-price-section:first-child .toda-price-band,
.post_content .toda-price-section:first-child .toda-price-band {
  margin-top: 0;
}

/* PRICE table column alignment (for free-space HTML with colgroup) */
.post_content .toda-price-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  background: #fff;
}

.post_content .toda-price-table th,
.post_content .toda-price-table td {
  box-sizing: border-box;
  text-align: center;
}

.post_content .toda-price-table-schedule th,
.post_content .toda-price-table-schedule td {
  text-align: left;
}

/* Fixed-width label column keeps the rest of the table fluid,
   so narrow viewports avoid horizontal scroll. */
#index_price table tbody th,
#price table tbody th,
.post_content .toda-price-table tbody th {
  width: 170px;
  min-width: 170px;
  max-width: 170px;
}

#index_price .toda-price-table-ticket thead th:first-child,
#price .toda-price-table-ticket thead th:first-child,
#index_price .toda-price-table-ticket tbody td:first-child,
#price .toda-price-table-ticket tbody td:first-child,
.post_content .toda-price-table-ticket thead th:first-child,
.post_content .toda-price-table-ticket tbody td:first-child {
  width: 170px;
  min-width: 170px;
  max-width: 170px;
}

.post_content .toda-price-table-wrap {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

#access_section .post_content > div > div,
#access .post_content > div > div {
  max-width: 760px;
  margin: 0 auto 24px;
}

#access iframe {
  width: 100%;
  border: 0;
}

@media (max-width: 900px) {
  #index_flow .post_content > div,
  #flow .post_content > div,
  #index_price .post_content > div,
  #price .post_content > div,
  #access_section .post_content > div,
  #access .post_content > div {
    padding: 44px 16px;
  }
  #index_price .toda-price-band,
  #price .toda-price-band,
  .post_content .toda-price-band {
    font-size: 18px;
    padding: 10px 12px;
  }
  /* Shrink label column and cell padding to fit narrower viewports
     without forcing horizontal scroll. */
  #index_price table tbody th,
  #price table tbody th,
  #index_price .toda-price-table-ticket thead th:first-child,
  #price .toda-price-table-ticket thead th:first-child,
  #index_price .toda-price-table-ticket tbody td:first-child,
  #price .toda-price-table-ticket tbody td:first-child,
  .post_content .toda-price-table tbody th,
  .post_content .toda-price-table-ticket thead th:first-child,
  .post_content .toda-price-table-ticket tbody td:first-child {
    width: 140px;
    min-width: 140px;
    max-width: 140px;
  }
  #index_price th,
  #index_price td,
  #price th,
  #price td,
  .post_content .toda-price-table th,
  .post_content .toda-price-table td {
    padding: 12px 12px;
    font-size: 13px;
  }
}
/* Reusable section heading classes (site-wide, high specificity without !important) */
#index_content_builder .post_content div.section_block,
#main_contents .post_content div.section_block,
#article .post_content div.section_block,
.post_content div.section_block {
  text-align: center;
}

#index_content_builder .post_content p.section_label,
#main_contents .post_content p.section_label,
#article .post_content p.section_label,
.post_content p.section_label {
  font-size: 14px;
  letter-spacing: 0.18em;
  color: var(--toda-accent);
  margin: 0 0 6px;
}

#index_content_builder .post_content h2.section_title,
#main_contents .post_content h2.section_title,
#article .post_content h2.section_title,
.post_content h2.section_title {
  font-size: 26px;
  line-height: 1.4;
  padding: 20px 0 60px;
  margin: 0 !important;
  font-weight: 700;
  color: var(--toda-text);
}

@media (max-width: 900px) {
  #index_content_builder .post_content h2.section_title,
  #main_contents .post_content h2.section_title,
  #article .post_content h2.section_title,
  .post_content h2.section_title {
    font-size: 24px;
    padding: 20px 0 30px;
    margin: 0 !important;
  }
}
#index_content_builder .post_content p.section_subtitle,
#main_contents .post_content p.section_subtitle,
#article .post_content p.section_subtitle,
.post_content p.section_subtitle {
  margin: 0 0 32px;
  color: var(--toda-muted);
  font-size: 14px;
  line-height: 1.9;
}

#index_trainer {
  text-align: center;
  background: #000;
}

#index_trainer img {
  margin: 0 auto;
}

#lp_free_space_9 p {
  line-height: 1 !important;
}

/* Display utilities */
.sp-only {
  display: none !important;
}

.pc-only {
  display: block !important;
}

@media (max-width: 900px) {
  .sp-only {
    display: block !important;
  }
  .pc-only {
    display: none !important;
  }
}
/* Contact Form 7 */
.wpcf7 {
  margin: 0 auto;
}

.wpcf7 .wpcf7-form {
  background: #fff;
  border: none;
  border-radius: 0;
  padding: 48px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
  box-sizing: border-box;
  overflow: hidden;
  margin: 1.5em;
}

@media (max-width: 600px) {
  .wpcf7 .wpcf7-form {
    padding: 32px 20px;
  }
}
.wpcf7 label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--toda-text);
  margin-bottom: 8px;
}

.wpcf7 .required-badge {
  display: inline-block;
  background: #c0392b;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  padding: 3px 6px;
  border-radius: 2px;
  margin-left: 8px;
  vertical-align: middle;
  letter-spacing: 0.05em;
}

.wpcf7 input[type=text],
.wpcf7 input[type=email],
.wpcf7 input[type=tel],
.wpcf7 input[type=number],
.wpcf7 textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--toda-text);
  background: var(--toda-bg-soft);
  border: 1px solid transparent;
  border-radius: 4px;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
  box-sizing: border-box;
}

.wpcf7 input[type=text]::placeholder,
.wpcf7 input[type=email]::placeholder,
.wpcf7 input[type=tel]::placeholder,
.wpcf7 input[type=number]::placeholder,
.wpcf7 textarea::placeholder {
  color: #aaa;
}

.wpcf7 input[type=text]:focus,
.wpcf7 input[type=email]:focus,
.wpcf7 input[type=tel]:focus,
.wpcf7 input[type=number]:focus,
.wpcf7 textarea:focus {
  border-color: var(--toda-accent);
  box-shadow: 0 0 0 3px rgba(181, 139, 79, 0.12);
  background: #fff;
}

.wpcf7 textarea {
  min-height: 180px;
  resize: vertical;
}

.wpcf7 p {
  margin: 0 0 24px;
}

.wpcf7 p:last-of-type {
  margin-bottom: 0;
  text-align: center;
  padding-top: 16px;
}

.wpcf7 input[type=submit] {
  display: inline-block;
  min-width: 300px;
  height: auto;
  padding: 20px 60px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.2;
  vertical-align: middle;
  color: #fff;
  background: var(--toda-accent);
  border: 2px solid var(--toda-accent);
  border-radius: 0;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
  box-sizing: content-box;
}

.wpcf7 input[type=submit]:hover {
  background: #9a7340;
  border-color: #9a7340;
  color: #fff;
}

.wpcf7 .wpcf7-spinner {
  display: none;
}

.wpcf7 .wpcf7-not-valid-tip {
  color: #c0392b;
  font-size: 12px;
  margin-top: 6px;
}

.wpcf7 .wpcf7-response-output {
  margin: 24px 0 0 !important;
  padding: 14px 20px !important;
  border: none !important;
  border-radius: 4px;
  font-size: 14px;
  text-align: center;
}

.wpcf7 .wpcf7-mail-sent-ok {
  background: #eafaf1;
  color: #27ae60;
}

.wpcf7 .wpcf7-validation-errors,
.wpcf7 .wpcf7-acceptance-missing {
  background: #fdf2f2;
  color: #c0392b;
}

/* Mobile fixed bottom banner */
.toda-fixed-banner {
  display: none;
}
@media (max-width: 900px) {
  .toda-fixed-banner {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.85);
    padding: 0;
    gap: 0;
  }
}
.toda-fixed-banner a {
  flex: 1;
  display: block;
  line-height: 0;
}
.toda-fixed-banner img {
  width: 100%;
  height: auto;
  display: block;
}

.toda-recruit-band {
  background: #b58b4f;
  display: block;
  padding: 7px !important;
  color: white;
  text-align: center;
  font-size: 18px !important;
}

.interview_list .item {
  padding: 1px;
}

.design_content {
  background: white;
  gap: 1px;
  margin-bottom: 1px;
}
.design_content .image_area {
  width: calc(50% - 1px);
}
.design_content .content_area {
  width: calc(50% - 1px);
}

.box_content {
  background: white;
  gap: 1px;
  margin-bottom: 1px;
}
.box_content .content {
  margin-bottom: 1px;
}

.post_list {
  gap: 1px;
}
.post_list .item {
  width: calc(50% - 1px) !important;
}

.desc {
  font-weight: bold !important;
}

.post_content .toda-price-section th,
.post_content .toda-price-section td {
  font-weight: bold !important;
}

.box_content.num4 .content3 .headline {
  font-size: 16px !important;
  font-weight: bold !important;
}

#container * {
  font-weight: bold !important;
}
