/* ===== KAITAKU LP STYLES ===== */

/* Base Button Styles */
.btn .btn_content {
  cursor: pointer;
  color: #fff;
  border: none;
  font-size: 18px;
  font-weight: 700;
  position: relative;
  width: 320px;
  height: 72px;
  line-height: 72px;
  letter-spacing: 1px;
  padding: 0 32px;
  margin: 0 auto;
  display: block;
  text-align: left;
  border-radius: 72px;
  -webkit-border-radius: 72px;
  -moz-border-radius: 72px;
  -ms-border-radius: 72px;
  -o-border-radius: 72px;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  -o-box-sizing: border-box;
  transition: all 0.3s;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s
}

.btn .btn_content .btn_icon {
  background-color: rgba(255, 255, 255, 0.32);
  position: absolute;
  top: 50%;
  right: 12px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  transform: translate(0, -50%);
  -webkit-transform: translate(0, -50%);
  -moz-transform: translate(0, -50%);
  -ms-transform: translate(0, -50%);
  -o-transform: translate(0, -50%);
  transition: all 0.3s;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s
}

.btn .btn_content .btn_icon svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%)
}

.btn .btn_content .btn_icon svg .cls-1 {
  fill: #fff;
  transition: all 0.3s;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s
}

/* Button Variants */
.btn.ora_btn .btn_content {
  background-color: #FF8924;
  border: 1px solid #FF8924
}

@media screen and (min-width: 769px) {
  .btn.ora_btn .btn_content:hover {
    color: #FF8924;
    background-color: #fff
  }
  .btn.ora_btn .btn_content:hover .btn_icon {
    background-color: rgba(255, 137, 36, 0.32)
  }
  .btn.ora_btn .btn_content:hover .btn_icon svg .cls-1 {
    fill: #FF8924
  }
}

.btn.blu_btn .btn_content {
  background-color: #1458E4;
  border: 1px solid #1458E4;
}

@media screen and (min-width: 769px) {
  .btn.blu_btn .btn_content:hover {
    color: #1458E4;
    background-color: #fff
  }
  .btn.blu_btn .btn_content:hover .btn_icon {
    background-color: rgba(20, 88, 228, 0.32)
  }
  .btn.blu_btn .btn_content:hover .btn_icon svg .cls-1 {
    fill: #1458E4
  }
}

/* Layout Styles */
.section {
  position: relative;
  padding: 64px 16px;
  overflow: hidden
}

.gre_sec {
  background-color: #F4F7FA
}

.inner {
  max-width: 1200px;
  width: 100%;
  height: 100%;
  margin: 0 auto
}

.common_heading {
  margin-bottom: 48px;
  text-align: center
}

.common_heading .common_text {
  color: #1458E4;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px
}

.common_heading .common_title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 1px;
  padding-top: 12px
}

/* Form Styles */
.form_list {
  background-color: #F4F7FA;
  padding: 40px 16px
}

.form_list .form_content {
  max-width: inherit
}

.form_content {
  max-width: 880px;
  margin: 0 auto
}

.form_content table {
  width: 100%
}

.form_content table tr {
  margin-bottom: 48px;
  display: block
}

.form_content table tr th, .form_content table tr td {
  font-size: 16px;
  font-weight: 700;
  display: block;
  text-align: left
}

.form_content table tr th span {
  color: #fff;
  background-color: #FF8924;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 16px;
  margin-left: 16px;
  border-radius: 4px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  -o-border-radius: 4px
}

.form_content table tr td {
  margin-top: 16px
}

.form_content table tr td .radius {
  background-color: #fff;
  border: 1px solid #fff;
  outline: 0;
  font-size: 14px;
  width: 100%;
  height: 48px;
  padding: 16px;
  margin: 0;
  border-radius: 4px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  -o-border-radius: 4px;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  -o-box-sizing: border-box
}

.form_content table tr td .radius:placeholder-shown {
  color: rgba(17, 17, 17, 0.4);
  font-size: 14px
}

.form_content table tr td .radius::-webkit-input-placeholder {
  color: rgba(17, 17, 17, 0.4);
  font-size: 14px
}

.form_content table tr td .radius:-moz-placeholder {
  opacity: 1;
  color: rgba(17, 17, 17, 0.4);
  font-size: 14px
}

.form_content table tr td .radius::-moz-placeholder {
  opacity: 1;
  color: rgba(17, 17, 17, 0.4);
  font-size: 14px
}

.form_content table tr td .radius:-ms-input-placeholder {
  color: rgba(17, 17, 17, 0.4);
  font-size: 14px
}

.form_content table tr td .radius:hover, .form_content table tr td .radius:focus {
  border: 1px solid #f23f4c;
  outline: 0
}

.form_content table tr td textarea.radius {
  height: 240px
}

.form_content .btn {
  margin-top: 24px
}

.form_content .btn .btn_content:focus {
  outline: 0
}

.form_table table tr {
  border-bottom: 1px solid #E0EAFF;
  padding-bottom: 24px;
  margin-bottom: 24px
}

.form_table table tr:nth-child(odd) th, .form_table table tr:nth-child(odd) td, .form_table table tr:nth-child(even) th, .form_table table tr:nth-child(even) td {
  background-color: transparent
}

.form_table table tr th, .form_table table tr td {
  border: none;
  max-width: 660px;
  padding: 0;
  margin: 0 auto;
  display: block
}

.form_table table tr td {
  margin-top: 14px
}

/* Hero Section Styles */
.kaitaku-hero {
  position: relative;
}

.fv_img {
  position: relative;
  z-index: 1;
}

.fv_content {
  position: relative;
  z-index: 2;
}

/* Utility Classes */
.pc {
  display: inline-block
}

.tb, .sp, .sp5 {
  display: none
}

.hidden {
  display: none !important;
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
  .section {
    padding: 64px 16px
  }
  
  .pc {
    display: none
  }
  
  .tb {
    display: inline-block
  }
  
  .form_list {
    padding: 32px 16px
  }
  
  .btn .btn_content {
    width: 100%;
    font-size: 16px;
  }
  
  .common_heading .common_title {
    font-size: 28px;
  }
  
  .form_content table tr td .radius {
    font-size: 16px
  }
  
  .form_content table tr td .radius:placeholder-shown {
    font-size: 16px
  }
  
  .form_content table tr td .radius::-webkit-input-placeholder {
    font-size: 16px
  }
  
  .form_content table tr td .radius:-moz-placeholder {
    opacity: 1;
    font-size: 16px
  }
  
  .form_content table tr td .radius::-moz-placeholder {
    opacity: 1;
    font-size: 16px
  }
  
  .form_content table tr td .radius:-ms-input-placeholder {
    font-size: 16px
  }
}

@media screen and (max-width: 480px) {
  .btn .btn_content .btn_text {
    font-size: 14px;
  }
  
  .common_heading .common_title {
    font-size: 24px;
  }
}

/* ===== MISSING UTILITY CLASSES ===== */

/* Margin and Padding Utilities */
.mlr15 {
  margin-left: 15px;
  margin-right: 15px;
}

.pb10 {
  padding-bottom: 10px;
}

/* Form Message Styles */
.error {
  border: 1px solid #e00f0f;
  background-color: #ffebee;
  color: #e00f0f;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 4px;
  font-size: 14px;
}

.error ul {
  margin: 0;
  padding-left: 20px;
}

.error li {
  list-style-type: disc;
  margin-bottom: 5px;
}

.success {
  border: 1px solid #4caf50;
  background-color: #e8f5e8;
  color: #2e7d32;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 4px;
  font-size: 14px;
}

/* Enhanced Input Focus States */
.form_content table tr td .radius:focus {
  border: 1px solid #1458E4;
  outline: none;
  box-shadow: 0 0 0 2px rgba(20, 88, 228, 0.1);
}

/* Override focus color to match brand */
.form_content table tr td .radius:hover, 
.form_content table tr td .radius:focus {
  border: 1px solid #1458E4;
  outline: 0;
}

/* Enhanced Button Padding */
#lp .btn .btn_content {
  padding: 0 24px;
}

/* Hero Section Enhancement */
.kaitaku-hero {
  background: linear-gradient(135deg, #1458E4, #0c3b9e);
  color: #fff;
}

/* Fix for any potential text sizing issues */
.fv_title, .fv_text {
  color: #fff;
}

/* Ensure proper sizing for mobile */
@media screen and (max-width: 768px) {
  .fv_title {
    font-size: 28px !important;
  }
  
  .fv_text {
    font-size: 16px !important;
  }
}

/* ===== MOBILE MENU STYLES (FAXDM COMPATIBLE) ===== */

/* Mobile menu visibility control */
@media screen and (max-width: 1023px) {
  /* Initially hidden menu */
  header #sp_menu {
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    z-index: 9998;
    margin-top: 64px;
  }
  
  /* Show menu when header has active class */
  header.active #sp_menu {
    opacity: 1;
    visibility: visible;
  }
  
  /* Hamburger menu button container (FAXDM style) */
  header #sp_btn {
    position: absolute;
    top: 50%;
    right: 16px;
    width: 32px;
    height: 18px;
    transform: translate(0, -50%);
    -webkit-transform: translate(0, -50%);
    -moz-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    -o-transform: translate(0, -50%);
  }
  
  header #sp_btn a {
    position: relative;
    width: 100%;
    height: 100%;
    display: block;
  }
  
  /* Hamburger menu spans (FAXDM style) */
  header #sp_btn span {
    background-color: #fff;
    position: absolute;
    width: 100%;
    height: 2px;
    display: block;
    border-radius: 2px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    -ms-border-radius: 2px;
    -o-border-radius: 2px;
    transition: all 0.3s;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
  }
  
  header #sp_btn span:nth-child(1) {
    top: 0;
  }
  
  header #sp_btn span:nth-child(2) {
    top: 8px;
  }
  
  header #sp_btn span:nth-child(3) {
    bottom: 0;
  }
  
  /* Hamburger animation when active (FAXDM style) */
  header.active #sp_btn span:nth-child(1) {
    transform: translateY(7.8px) rotate(-45deg);
    -webkit-transform: translateY(7.8px) rotate(-45deg);
    -moz-transform: translateY(7.8px) rotate(-45deg);
    -ms-transform: translateY(7.8px) rotate(-45deg);
    -o-transform: translateY(7.8px) rotate(-45deg);
  }
  
  header.active #sp_btn span:nth-child(2) {
    opacity: 0;
  }
  
  header.active #sp_btn span:nth-child(3) {
    transform: translateY(-7.8px) rotate(45deg);
    -webkit-transform: translateY(-7.8px) rotate(45deg);
    -moz-transform: translateY(-7.8px) rotate(45deg);
    -ms-transform: translateY(-7.8px) rotate(45deg);
    -o-transform: translateY(-7.8px) rotate(45deg);
  }
  
  /* Mobile menu styling */
  #sp_menu nav ul {
    list-style: none;
    padding: 40px 20px;
    margin: 0;
  }
  
  #sp_menu nav ul li {
    margin-bottom: 0;
    border-bottom: 1px solid #e5e5e5;
  }
  
  #sp_menu nav ul li:last-child {
    border-bottom: none;
  }
  
  #sp_menu .sp_title {
    margin: 0;
    padding: 0;
  }
  
  #sp_menu .sp_title_inner {
    margin: 0;
    padding: 0;
  }
  
  #sp_menu .sp_title_inner a {
    color: #1458E4;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    display: block;
    padding: 20px 0;
    border-bottom: none;
  }
  
  #sp_menu .sp_title_inner a:hover {
    color: #0c3b9e;
    background-color: rgba(20, 88, 228, 0.05);
  }
}

/* Hide mobile menu on desktop */
@media screen and (min-width: 1024px) {
  #sp_menu, #sp_btn {
    display: none !important;
  }
}