/* ===========================
   table05
============================== */
#table05 th,
#table05 td {
  text-align: center;
  width: 20%;
  min-width: 130px;
  padding: 10px;
  height: 60px;
}

#table05 th {
  background-color: #f0f0f0;
}

#table05 .head {
  background-color: #e2e2e2;
}

/* table05: mobile */
@media only screen and (max-width: 768px) {
  #table05 {
    display: block;
    white-space: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* sticky はチェッカーに嫌われやすいので一旦OFF */
  #table05 .fixed {
    position: relative;
    left: 0;
    z-index: 1;
    background: #fff;
  }

  #table05 .fixed::before {
    content: "";
    position: absolute;
    top: 0;
    left: -1px;
    right: -1px;
    bottom: 0;
    border-left: 1px solid #707070;
    border-right: 1px solid #707070;
    pointer-events: none;
  }
}

/* ==============================
   icons
============================== */
.insta::before,
.moushikomi::before {
  display: inline-block;
  position: relative;
  top: 5px;
  margin: 0 10px 0 0;
  vertical-align: middle;
}

.insta::before {
  content: url("https://ac-animo.com/wp-content/uploads/2022/11/insta.png");
}

.moushikomi::before {
  content: url("https://ac-animo.com/wp-content/uploads/2022/11/moushikomi.png");
}

/* ==============================
   headings
============================== */
h2 {
  position: relative;
  display: inline-block;
  font-size: 1.8em;
  font-weight: bold;
}

h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 7px;
  background: repeating-linear-gradient(
    -45deg,
    #ff0000,
    #ff0000 2px,
    #fff 2px,
    #fff 4px
  );
}

h3 {
  font-size: 1.5em;
  border-bottom: 2px dotted #ff0000;
  border-left: 10px solid #ff0000;
  padding: 7px;
}

/* ==============================
   Table (general)
============================== */
table.Table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 16px;
}

@media screen and (max-width: 768px) {
  table.Table {
    font-size: 12px;
  }
}

.Table-Head {
  background: #eee;
}

.Table-Head-Row-Cell {
  padding: 0.75em 0.5em;
}

.Table-Body-Row:nth-child(even) {
  background: #eee;
}

.Table-Body-Row-Cell {
  padding: 0.75em 0.5em;
}

/* ==============================
   design02 table
============================== */
.design02 {
  width: 100%;
  text-align: center;
  border-collapse: collapse;
  border-spacing: 0;
  border: solid 1px #778ca3;
}

.design02 tr {
  border-top: dashed 1px #778ca3;
}

.design02 th {
  padding: 10px;
  background: #f0f0f0;
}

.design02 td {
  padding: 10px;
}

/* ==============================
   h6 balloon
============================== */
h6 {
  font-size: 1.5em;
  position: relative;
  padding: 0.6em;
  background: repeating-linear-gradient(
    -45deg,
    #fff5df,
    #fff5df 4px,
    #ffe4b1 3px,
    #ffe4b1 8px
  );
  border-radius: 7px;
}

h6::after {
  position: absolute;
  content: "";
  top: 100%;
  left: 49%;
  border: 15px solid transparent;
  border-top: 15px solid #ffebbe;
  width: 0;
  height: 0;
}

/* ==============================
   table08
============================== */
#table08 {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
  font-size: 1rem;
}

#table08 th,
#table08 td {
  vertical-align: middle;
  border: 1px solid #707070;
}

#table08 th {
  font-weight: normal;
  background-color: #f0f0f0;
}

#table08 th,
#table08 td {
  text-align: center;
  width: 20%;
  min-width: 130px;
  padding: 10px;
  height: 60px;
}

/* table08: mobile */
@media only screen and (max-width: 768px) {
  .table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  #table08 {
    display: block;
    white-space: nowrap;
  }
}

/* ==============================
   header width fix
============================== */
#header {
  width: 100% !important;
  max-width: 100% !important;
}

#header-wrap {
  width: 100% !important;
}

/* ==============================
   mobile full-width adjustments
   ※ var(--frame) を使わず “5px直書き” に変更
============================== */
@media (max-width: 680px) {
  html,
  body {
    margin: 0 !important;
    padding: 0 !important;
  }

  #pagewrap,
  #body,
  #layout,
  #content,
  .pagewidth {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
  }

  .module_row,
  .tb_section {
    position: relative !important;
    left: 50% !important;
    width: 100vw !important;
    margin-left: -50vw !important;
  }

  .module_row > .row_inner,
  .tb_section > .section_inner,
  .tb_section > .section-inner,
  .module_row > .tb_row,
  .tb_section > .tb_row {
    padding-left: 5px !important;
    padding-right: 5px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
  }

  img,
  video,
  iframe {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .tb_section[data-anchor="home"] > .section_inner,
  .tb_section[data-anchor="home"] > .section-inner,
  .module_row[data-anchor="home"] > .row_inner {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .tb_section[data-anchor="home"] .module_column,
  .module_row[data-anchor="home"] .module_column {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .tb_section[data-anchor="home"] .tb_fullwidth_row,
  .tb_section[data-anchor="home"] .tb_row,
  .module_row[data-anchor="home"] {
    background-size: contain !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
  }

  .tb_section[data-anchor="home"] img,
  .module_row[data-anchor="home"] img {
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
  }
}

/* ==============================
   logo mobile
============================== */
@media (max-width: 768px) {
  #site-logo img.site-logo-image {
    height: 40px !important;
    width: auto !important;
    max-width: 100% !important;
  }

  #site-logo {
    padding-left: 10px !important;
  }
}

/* ==============================
   themify text + footer padding
   ※ ここ、閉じカッコ } が抜けると保存死ぬので必ず閉じる
============================== */
@media (max-width: 768px) {
  .themify_builder_content-12 .tb_ab05cb7.module-text .tb_text_wrap {
    font-size: 15px !important;
    line-height: 1.7 !important;
  }

  /* フッター全体の上の余白を縮める */
  #footerwrap {
    padding-top: 30px !important;
    padding-bottom: 16px !important;
  }
}