/* HEADER */
nav {
  font-size: 1.3rem;
}

.header_nav {
  position: relative;
  height: 50px;
  justify-content: space-between;
  box-shadow: 0px 3px 2px rgba(0, 0, 0, .3);
}

.header_line_top {
  text-align: center;
  color: #ffffff;
  font-weight: bold;
  height: 50px;
  position: relative;
}

.header_line_top img {
  top: 16px;
  left: 16px;
  max-width: 145px;
  position: absolute;
}

.header_line_top a {
  display: block;

}

.header_news {
  display: flex;
  font-size: 1.3rem;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 4px 0;
  background-color: #D8D8D8;
  box-shadow: 0px 3px 10px rgba(0, 0, 0, .1);
}

.header_news a {
  text-decoration: underline;
}

.header_submenu {
  font-size: 1.4rem;
  height: 30px;
  padding: 8px 16px;
  color: #6b6b6b;
  display: flex;
  align-items: center;
  background-color: #D9D9D9;
  justify-content: space-between;
}

.header_submenu a {
  color: #ffffff;
}

.header_submenu_item a {
  color: #6b6b6b;
}

.ol_header_submenu {
  width: 100%;
  padding: 8xp 16px;
}

.ol_header_submenu_container {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.ol_header_submenu .header_submenu_item {
  padding: 4px 0;
}

.header_submenu_item a:before {
  content: url(../images/common/arrow_gray.png);
  margin-right: 8px;
}

/* .header_nav_menu_item a:before {
  content: url(../images/common/arrow_wt_2.png);
  margin-right: 8px;
} */

.header_nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}

.header_logo {
  padding-left: 16px;
  font-weight: 500;
  max-width: 160px;
}

.header_logo img {
  vertical-align: middle;
}

.ol_header_nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 24px;
  margin-top: 24px;
  font-size: 1.6rem;
  width: 100%;
}

.ol_header_nav button.bt_cvs {
  margin: 4px 0;
  padding: 0;
}

.ol_header_nav ul {
  width: 100%;
}

.ol_header_nav_sub {
  display: flex;
  flex-wrap: wrap;
}

.ol_header_nav .ol_header_nav_sub .header_nav_menu_item {
  width: 50%;
  border: none;
  font-size: 1.3rem;
  border-top: none;
}

.ol_header_nav .ol_header_nav_sub .header_nav_menu_item:last-child {
  border-bottom: none;
}

.ol_header_nav .header_nav_menu_item {
  padding: 8px 0;
  border-top: 1px solid rgba(255, 255, 255, .2);
}

.ol_header_nav .header_nav_menu_item:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, .2);
}

.ol_header_nav .header_nav_menu_item a {
  display: block;
  width: 100%;
}

.ol_header_nav .nav_button {
  padding: 10px 32px;
}

.header_nav_menu {
  display: none;
  flex-direction: column;
  height: 100%;
}

.header_nav_menu li:nth-child(1) a {
  background-color: #A98B3D;
}

.header_nav_menu li:nth-child(2) a {
  background-color: #2F569A;
}

.header_nav_menu_sp {
  display: flex;
  align-items: center;
  gap: 2px;
}

.header_nav_menu_sp .nav_button {
  position: relative;
  padding: 6px 16px;
  line-height: 20px;
}

.header_nav_menu_sp .nav_button:nth-child(1) {
  background-color: #A98B3D;
}

/* .header_nav_menu_sp .nav_button:nth-child(1)::after {
  display: none;
} */

.header_nav_menu_sp .nav_button:nth-child(2) {
  background-color: #2F569A;
}

.header_nav_menu_sp .nav_button:nth-child(3) {
  background-color: #333333;
}

/* .header_nav_menu_sp .nav_button::after {
  position: absolute;
  right: 0px;
  bottom: 18px;
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-left: 8px;
  vertical-align: middle;
  background-image: url(../images/common/icon_external.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
} */

.nav_button {
  display: block;
  padding: 14px 16px;
  height: 50px;
}

.ol_header_nav .header_nav_menu_item:before {
  content: none;
}

.header_nav_menu_item:after:last-child {
  content: "|";
  margin: 0 16px;
  color: #E3E3E3;
}

.header_nav_menu_item,
.header_nav_menu_item a {
  display: flex;
  align-items: center;
}

.header_nav_menu_item_cvs {
  height: 100%;
  padding: 0;
  font-size: 1.5rem;
  background-color: #A98B3D;
  vertical-align: middle;
  display: flex;
}

.header_nav_menu_item_cvs a {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  text-decoration: none;
  font-weight: bold;
  font-size: 13px;
  color: #fff;
  /* 文字色 */
  transition: opacity 0.3s;
  min-width: 104px;
  position: relative;
}

.header_nav_menu_item_cvs a:last-child {
  background-color: #333333;
}

.ext-link img {
  display: inline;
  width: 13px;
  position: absolute;
  right: 8px;
  bottom: 20px;
}

.ext-link:last-child img {
  right: 4px;
  bottom: 32px;
}

.header_nav_menu_sp {}

@media screen and (min-width: 768px) {
  .header_nav {
    height: 80px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }

  .header_news {
    gap: 24px;
  }

  .header_nav_menu {
    display: flex;
    flex-direction: row;
    font-size: 1.5rem;
    gap: 16px;
  }

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

  .header_submenu {
    width: 100%;
    justify-content: space-between;
    font-size: 1.4rem;
    height: 30px;
    padding: 8px 64px;
    color: #6b6b6b;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin: auto;
    background-color: #D9D9D9;
  }

  .header_logo {
    padding-left: 32px;
    font-weight: 500;
    max-width: 200px;
    font-size: 4.0rem;
  }

  .header_submenu_container {
    display: flex;
    gap: 16px;
    font-size: 1.3rem;
  }

  .header_nav_menu_sp {
    display: none;
  }

  .header_nav_menu_item_cvs {}

  .header_nav_menu {
    gap: 9px;
    font-size: 1.3rem;
  }

  .header_nav_menu_item_cvs {
    font-size: 1.3rem;
  }
}

@media screen and (min-width: 1000px) {
  .header_logo {
    padding-left: 32px;
    font-weight: 500;
    max-width: 240px;
    font-size: 4.0rem;
  }

  .header_nav_menu {
    gap: 4px;
    font-size: 1.5rem;
  }

  .header_nav_menu_item_cvs {
    font-size: 1.5rem;
  }

  .header_submenu_container {
    display: flex;
    gap: 24px;
    font-size: 1.5rem;
  }

  .header_nav_menu_item {
    font-size: 1.3rem;
  }

  .header_nav_menu_item span {
    font-size: 1.5rem;
    font-weight: bold;
    display: block;
  }
}

@media screen and (min-width: 1200px) {
  .header_nav_menu {
    font-size: 1.5rem;
  }

  .header_nav_menu_item_cvs {
    font-size: 1.5rem;
  }

  .header_logo {
    padding-left: 32px;
    font-weight: 500;
    max-width: 320px;
    font-size: 4.0rem;
  }
}

@media screen and (min-width: 1400px) {
  .header_nav_menu {
    font-size: 1.6rem;
  }

  .header_nav_menu_item_cvs {
    font-size: 1.6rem;
  }
}

/* BUTTON */
button {
  display: block;
  height: 60px;
  width: 100%;
  max-width: 410px;
  border-radius: 4px;
  margin: 24px auto;
  font-size: 1.8rem;
  position: relative;
}

button a {
  display: block;
}

button.bt_wt {
  background-color: #ffffff;
  color: #2F569A;
}

button.bt_wt a,
button.bt_wt a:visited {
  color: #2F569A;
}

button.bt_wt:after {
  content: url(../images/common/arrow_wt.png);
  position: absolute;
  right: 16px;
  top: 20px;
}

.single_special button.bt_bl {
  display: block;
  margin: 40px auto;
  font-size: 1.4rem;
}

.single_special button.bt_bl a {
  background-color: #2F569A;
  color: #ffffff;
}

button.bt_bl {
  background-color: #2F569A;
  color: #ffffff;
}

button.bt_bl:after {
  content: url(../images/common/arrow_bl.png);
  position: absolute;
  right: 16px;
  top: 20px;
}

button.bt_cvs {
  background-color: #A98B3D;
  color: #ffffff;
  height: 50px;
  font-size: 1.6rem;
  margin: 24px 0;
}

button.bt_arrow {
  background-color: #DFD153;
  width: 50px;
  height: 50px;
  margin: 0;
}

button.bt_arrow:after {
  content: url(../images/common/arrow_bk.png);
  position: absolute;
  right: 18px;
  top: 16px;
}

button.bt_special {
  background-color: #A98B3D;
  color: #ffffff;
  height: 50px;
  font-size: 1.7rem;
  letter-spacing: 3px;
  margin: 24px auto;
}

@media screen and (min-width: 768px) {
  button {
    margin: 48px 0;
  }

  button.bt_cvs {
    height: 60px;
    font-size: 1.8rem;
    margin: 24px 0;
  }

  button.bt_arrow {
    background-color: #DFD153;
    width: 40px;
    height: 40px;
    margin: 16px 0;
  }

  button.bt_arrow:after {
    content: url(../images/common/arrow_bk.png);
    position: absolute;
    right: 13px;
    top: 10px;
  }

  button.bt_special {
    margin: 24px 0;
  }
}

@media screen and (min-width: 1000px) {
  button.bt_arrow {
    width: 50px;
    height: 50px;
    margin: 16px 0;
  }

  button.bt_arrow:after {
    right: 20px;
    top: 16px;
  }

  button.bt_cvs {
    height: 60px;
    font-size: 1.8rem;
    margin: 24px 0;
  }
}

@media screen and (min-width: 1200px) {
  button.bt_cvs {
    font-size: 2.0rem;
    margin: 24px 0;
  }

}

@media screen and (min-width: 1400px) {
  button.bt_arrow {
    width: 70px;
    height: 70px;
    margin: 16px 0;
  }

  button.bt_arrow:after {
    right: 26px;
    top: 26px;
  }

  button.bt_cvs {
    height: 70px;
    font-size: 2.2rem;
    margin: 24px 0;
  }
}


/* PAGENATION */
.pagination {
  margin: 80px auto 40px;
}

.page-numbers {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 480px;
  margin: auto;
  text-align: center;
  justify-content: space-between;
}

ul.page-numbers {
  padding: 8px 32px;
}

.page-numbers li {
  height: 32px;
  min-width: 32px;
  line-height: 32px;
  margin: 0 8px;
  text-align: center;
  color: #141414;
}

.page-numbers li a {
  text-align: center;
  color: #141414;
  display: flex;
  align-items: center;
  justify-content: center;

}

.page-numbers li .page-numbers:hover {
  background-color: #2E5193;
  border-radius: 32px;
  color: #ffffff;
}

.page-numbers li .dots:hover {
  border: none;
}

.page-numbers .current {
  width: 32px;
  height: 32px;
  border-radius: 32px;
  line-height: 32px;
  background-color: #2E5193;
  color: #ffffff;
  font-weight: 700;
  text-align: center;
  display: block;
}

.page-numbers li .next,
.page-numbers li .prev {
  padding: 0 8px;
  color: #141414;
  border: none;
  border-radius: 3px;
}

.page-numbers li .next:hover,
.page-numbers li .prev:hover {
  border-radius: 3px;
}

/* HEADER */
.section_header {
  margin-bottom: 48px;
}

@media (min-width: 768px) {
  .section_header {}
}

/* TTL */
h2 {
  font-size: 2.0rem;
  color: #E6B422;
  font-weight: 700;
  margin: 16px 0;
}

.section_ttl {
  font-size: 2.6rem;
  line-height: 4.0rem;
  font-weight: 500;
}

.section_ttl_sub {
  font-size: 1.7rem;
  letter-spacing: 4px;
  font-weight: 500;
  color: #B08814;
}

.entry .section_ttl {
  font-size: 3.6rem;
  line-height: 6.0rem;
  letter-spacing: 16px;
  text-indent: 16px;
}

.entry .section_ttl_sub {
  color: #ffffff;
  font-size: 1.4rem;
}

.box_ttl {
  font-size: 1.8rem;
  line-height: 3.0rem;
  font-weight: 300;
  margin: 16px 0;
}

.box_ttl_sub {
  font-size: 1.4rem;
  color: #E6B422;
  letter-spacing: 2px;
  font-weight: 500;
  margin-top: 16px;
}

.box_date {
  font-weight: 300;
  text-align: right;
  letter-spacing: 2px;
}

.section_header .box_date {
  text-align: left;
}

.event_ttl,
.event_ttl a {
  font-size: 1.8rem;
  line-height: 2.4rem;
  color: #000000;
  margin: 8px 0;
}

.event_desc p {
  margin: 0;
  font-size: 1.4rem;
  line-height: 2.4rem;
  font-weight: 500;
}

.news_ttl {
  font-size: 1.8rem;
  line-height: 3.4rem;
}

.special_ttl {
  font-size: 1.8rem;
  line-height: 2.5rem;
}

.special_ttl a {
  color: #2c2c2c;
}

.special_ttl_sub {
  color: #E6B422;
  font-weight: 500;
  margin-top: 16px;
}

.mv_ttl {
  font-size: 3.2rem;
  line-height: 4rem;
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
}

.mv_ttl_sub {
  font-size: 1.3rem;
  /* 3.2に対して約2.46倍 */
  line-height: 2.0rem;
  color: #ffffff;
  letter-spacing: 1px;
  margin: 8px 0;
}

@media (min-width: 768px) {
  h2 {
    font-size: 2.4rem;
    color: #E6B422;
    font-weight: 700;
    margin: 24px 0;
  }

  .mv_ttl {
    font-size: 4.2rem;
    line-height: 5.0rem;
  }

  .mv_ttl_sub {
    font-size: 1.7rem;
    /* 変更: 4.2に対して約2.47倍 */
  }

  .section_ttl {
    font-size: 3.0rem;
    line-height: 4.4rem;
    font-weight: 500;
  }

  .box_ttl {
    font-size: 2.0rem;
    line-height: 3.6rem;
    font-weight: 300;
    margin: 16px 0;
  }

  .box_ttl_sub {
    font-size: 1.7rem;
    color: #E6B422;
    letter-spacing: 4px;
    font-weight: 500;
    margin-top: 16px;
  }

  .entry .section_ttl {
    font-size: 5.0rem;
    line-height: 9.0rem;
    letter-spacing: 20px;
    text-indent: 20px;
  }

  .entry .section_ttl_sub {
    font-size: 1.7rem;
  }

  .special_ttl {
    font-size: 1.8rem;
    line-height: 3.0rem;
  }

  .event_ttl,
  .event_ttl a {
    font-size: 1.8rem;
    line-height: 3.4rem;
    color: #000000;
  }
}

@media (min-width: 1000px) {
  .mv_ttl {
    font-size: 5.2rem;
    line-height: 7.0rem;
  }

  .mv_ttl_sub {
    font-size: 2.1rem;
    /* 追記: 5.2に対して約2.47倍 */
  }
}

@media (min-width: 1200px) {
  .mv_ttl {
    font-size: 6.6rem;
    line-height: 8.4rem;
    margin-bottom: 24px;
  }

  .mv_ttl_sub {
    font-size: 2.7rem;
    /* 変更: 6.6に対して約2.44倍 */
  }
}

@media (min-width: 1400px) {
  .mv_ttl {
    font-size: 7.2rem;
    line-height: 9.0rem;
  }

  .mv_ttl_sub {
    font-size: 3.0rem;
    /* そのまま: 7.2に対して2.4倍 */
  }
}

/* BOX */
.box_img {
  position: relative;
}

.box_img img {
  border-radius: 4px;
}

.box_img_icon {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 34px;
  height: 34px;
}

.article .box_img .box_img_icon {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 34px;
  height: 34px;
}

.article .box_img .box_img_icon img {
  width: 34px;
  height: 34px;
}

.special_archive .box_img .box_img_icon img {
  width: 34px;
  height: 34px;
}

/* TAGS */
.tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.tags img {
  display: block;
}

.tag_event {
  border-radius: 4px;
  padding: 0 4px;
}

.tag_area,
.tag_area a {
  color: #A98B3D;
}

.event_txt .tag_area,
.event_txt .tag_area a {
  color: #ffffff;
  background-color: #A98B3D;
  border-radius: 3px;
  padding: 0 8px;
}

.tag_blue {
  background-color: #2E63B1;
  color: #ffffff;
}

.tag_green {
  background-color: #389C28;
  color: #ffffff;
}

/* TABLE */
table {
  border-collapse: separate;
  border-spacing: 0 16px;
}

table th {
  display: block;
  width: 100%;
  color: #A98B3D;
  font-size: 1.6rem;
  adding-bottom: 8px;
  font-weight: 700;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(169, 139, 61, .4);
  vertical-align: top;
}

table td {
  display: block;
  width: 100%;
  font-size: 1.6rem;
  line-height: 3.2rem;
  margin-bottom: 16px;
  font-weight: 500;
  word-wrap: break-word;
  /* for older browsers */
  overflow-wrap: break-word;
  /* for modern browsers */
  word-break: break-all;
  /* to break long words or URLs */
}

table td a,
table td a:visited {
  font-size: 1.6rem;
  line-height: 2.2rem;
  color: #2E63B0;
  text-decoration: underline;
}

table td p {
  font-weight: 500;
}

@media (min-width: 900px) {
  table th {
    display: inline-block;
    width: 200px;
    font-size: 1.8rem;
    border-bottom: none;
  }

  table td {
    display: inline-block;
    font-size: 1.8rem;
    line-height: 3.2rem;
    font-weight: 500;
    width: auto;
    max-width: 570px;
  }

  table td p {
    margin-top: 0;
  }
}


.sml-action-links-register a {
  color: #ffffff;
}

.sml-action-links-lostpassword a {
  color: #ffffff;
}

/* FORM */
input[type='text'] {
  background-color: #ffffff;
}

input[type='password'] {
  background-color: #ffffff;
}


/* TABLE FORM */
.tableForm {
  width: 100%;
  border-collapse: separate;
  border-spacing: 10px 20px;
}

.tableForm th {
  width: 100%;
  display: block;
  vertical-align: top;
  padding-top: 6px;
  text-align: left;
  border-bottom: none;
}

.tableForm td {
  width: 100%;
  display: block;
  margin-top: 10px;
}

.tableForm td span {
  color: grey;
}

.tableForm_2 th {
  width: 100%;
}

.tableForm_2 td {
  width: 100%;
}

.tableForm .header {
  border-bottom: 1px solid #ffffff;
  padding-bottom: 5px;
  text-align: left;
  font-weight: 700;
  color: yellow;
}

.tableForm input,
.tableForm select {
  width: 100%;
  line-height: 40px;
  background-color: #ffffff;
  border: 1px solid #B3B3B3;
  text-indent: 20px;
  border-radius: 5px;
  color: #000000;
}

.tableForm input[type="checkbox"] {
  width: auto;
}

.tableForm input[type="radio"] {
  width: auto;
}

.tableForm input[type="file"] {
  background-color: transparent;
}

.tableForm_2 {
  width: 100%;
  margin-top: 50px;
}

.tableForm_2 th {
  width: 100%;
  font-weight: bold;
  display: inline-block;
  border-bottom: 1px solid #d7d7d7;
  padding-bottom: 5px;
}

.tableForm_2 td {
  width: 100%;
  display: inline-block;
}

.tableForm .el_inlineBlock span {
  display: inline-block;
  margin-right: 8px;
}

input::placeholder {
  color: orange;
}

input#file-upload-button {
  height: 40px;
  line-height: 40px;
}

.tableForm input::placeholder,
.tableForm select::placeholder {
  color: #d3d3d3;
}

.tableForm textarea {
  width: 100%;
  line-height: 40px;
  background-color: #ffffff;
  border: 1px solid #B3B3B3;
  text-indent: 20px;
  border-radius: 5px;
}

.required {
  font-size: 1.2rem;
  line-height: 1.4rem;
  margin-right: 8px;
  padding: 3px 5px;
  background: #A98B3D;
  color: #ffffff;
  font-weight: bold;
  border-radius: 2px;
}

.attention {
  display: block;
  border-radius: 4px;
  padding: 16px;
  background-color: rgba(255, 255, 255, .2);
}

.el_formSample {
  font-size: 1.3rem;
  color: grey;
}

.tableForm button {
  background-color: #A98B3D;
  color: #ffffff;
}

@media screen and (min-width: 768px) {
  .tableForm th {
    width: 25%;
    display: inline-block;
  }

  .tableForm td {
    width: 75%;
    display: inline-block;
    margin-top: 0;
  }
}

/* --- 修正版: tableForm_company --- */

/* --- 入力エリア(input / textarea)の見た目改善 --- */
.tableForm_company input[type="text"],
.tableForm_company input[type="email"],
.tableForm_company input[type="tel"],
.tableForm_company textarea {
  width: 100% !important;
  max-width: 100%;
  padding: 12px;
  /* 1. 枠線を少し濃くし、背景に薄い色をつける */
  border: 1px solid #bbb;
  background-color: #fafafa;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 16px;
  transition: all 0.3s;
  /* 変化をスムーズにする */
}

/* 2. 入力中（フォーカス時）のスタイル */
.tableForm_company input[type="text"]:focus,
.tableForm_company input[type="email"]:focus,
.tableForm_company input[type="tel"]:focus,
.tableForm_company textarea:focus {
  outline: none;
  /* 枠線をブランドカラー（紺色）に変更 */
  border-color: #1A447E;
  /* 背景を白に戻し、わずかに光っているような影をつける */
  background-color: #fff;
  box-shadow: 0 0 8px rgba(26, 68, 126, 0.2);
}

/* 3. ラジオボタンとチェックボックスのラベルをクリックしやすく */
.tableForm_company .mwform-ctrl-radio label,
.tableForm_company .mwform-ctrl-checkbox label {
  display: inline-block;
  padding: 5px 10px;
  cursor: pointer;
  transition: background 0.2s;
}

.tableForm_company .mwform-ctrl-radio label:hover,
.tableForm_company .mwform-ctrl-checkbox label:hover {
  background-color: #f0f4f8;
  /* ホバー時にうっすら色を変える */
  border-radius: 4px;
}

.tableForm_company {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 40px;
  /* テーブル全体の枠線を消すか、薄くして段差を目立たなくする */
  border-top: 1px solid #ccc;
}

.tableForm_company tr {
  /* 行ごとに境界線を引く */
  border-bottom: 1px solid #ccc;
}

.tableForm_company th,
.tableForm_company td {
  padding: 24px 20px;
  /* 上下余白を増やしてゆとりを持たせる */
  text-align: left;
  /* ❗重要: thの高さが足りないように見えるのを防ぐため、上揃えに統一 */
  vertical-align: top;
  box-sizing: border-box;
}

/* --- ラベル(th)の修正 --- */
.tableForm_company th {
  width: 30%;
  /* ❗背景色を白にする、または td と同じにする */
  background-color: #fff;
  font-weight: bold;
  font-size: 15px;
  line-height: 1.6;
  /* 右側に細い線を入れると、項目と入力欄の区切りが明確になります */
}

/* --- 入力エリア(td)の修正 --- */
.tableForm_company td {
  width: 70%;
  border-left: 1px solid #eee;
  margin-bottom: 0;
  background-color: #fff;
  /* 背景色を統一 */
}

/* 必須タグのデザイン */
.tableForm_company .required {
  display: inline-block;
  background: #bf0000;
  color: #fff;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 3px;
  margin-right: 8px;
  /* 縦位置の微調整 */
  position: relative;
  top: -1px;
}

.tableForm_company .vertical-item {
  font-size: 1.4rem;
}

.tableForm_company .mwform-checkbox-field-text {
  font-size: 1.4rem;
}

/* ボタンを囲むエリア（任意で追加） */
.form_btn_area {
  text-align: center;
  margin-top: 40px;
  /* テーブルとの間に十分な余白を作る */
}

/* ボタン自体のスタイル */
.tableForm_company+.form_btn_area .form_send,
/* 外に出した場合の指定 */
.form_send {
  display: inline-block;
  width: 360px;
  /* PCでは少し大きめに */
  max-width: 100%;
  padding: 20px;
  background-color: #A98B3D;
  /* 以前提案したミッドナイトブルー */
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
}

.tableForm_company .form_send:hover {
  opacity: 0.8;
  transform: translateY(-2px);
  /* 少し浮き上がる演出 */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* エラーメッセージ全体の調整 */
.mw_wp_form .tableForm_company .error {
  font-size: 13px;
  color: #B70000;
  display: block;
  margin-top: 8px;
  padding: 6px 12px;
  background-color: #FFF2F2;
  /* 薄い赤背景で視認性を高める */
  border-left: 3px solid #B70000;
  /* 左端にラインを入れてアクセントに */
  border-radius: 2px;
  font-weight: bold;
  position: relative;
}

/* 擬似要素で小さな警告アイコン（！マークなど）を出す場合 */
.mw_wp_form .tableForm_company .error::before {
  content: "⚠️";
  /* 絵文字やアイコンフォント */
  margin-right: 6px;
  font-size: 12px;
}

/* 入力欄自体もエラー時に赤枠にする（MW WPformの標準仕様に合わせて） */
.mw_wp_form .tableForm_company .has-error input[type="text"],
.mw_wp_form .tableForm_company .has-error input[type="email"],
.mw_wp_form .tableForm_company .has-error input[type="tel"],
.mw_wp_form .tableForm_company .has-error textarea {
  border-color: #B70000 !important;
  background-color: #FFF9F9 !important;
}

/* スマホでは横幅いっぱいに */
@media screen and (max-width: 768px) {
  .form_send {
    width: 100%;
    font-size: 18px;
  }
}

/* --- スマホ表示の際は背景をリセット --- */
@media screen and (max-width: 768px) {

  .tableForm_company th,
  .tableForm_company td {
    display: block;
    width: 100% !important;
    border-right: none;
    /* スマホでは縦並びなので右線は不要 */
    padding: 15px 4px;
    border-left: none;
  }

  .tableForm_company th {
    background-color: #f5f5f5;
    /* スマホでは項目名に薄く色をつけると見やすい */
    border-bottom: none;
  }

  .tableForm_company td {
    padding-bottom: 30px;
  }
}

.mwform-checkbox-field input,
.mwform-radio-field input {
  margin-top: -2px;
}