/*
Theme Name: Divi Child
Template: Divi
*/

/* =========================
   Base Typography
========================= */
body,
h1, h2, h3, h4, h5, h6,
p,
input, th, td, textarea, select, a {
  font-family:
    "source-han-sans-cjk-ja",
    "BIZ UDPGothic",
    "Helvetica Neue",
    Arial,
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    Meiryo,
    sans-serif !important;
  font-weight: 200;
  font-style: normal;
  word-wrap: break-word;
}

h1, h2, h3, h4, h5, h6 {
  padding-bottom: 0 !important;
　letter-spacing: 0.04em;
  font-feature-settings: "palt" !important;
}

h1 {
  font-size: 50px;
}

/* =========================
   Post Typography
========================= */

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
  color: #fff !important;
  line-height: 1.3em;
}

.post-content p,
.post-content ol,
.post-content ul {
  color: #fff !important;
  line-height: 1.6em;
}

.post-title h1 {
  font-size: clamp(22px, 5vw + 0.3rem, 45px);
}

.post-content h2 {
  font-size: clamp(22px, 3.5vw + 0.25rem, 38px);
}

.post-content h3 {
  font-size: clamp(20px, 3vw + 0.25rem, 30px);
}

.post-content h4 {
  font-size: clamp(18px, 2.5vw + 0.25rem, 24px);
}

.post-content h5 {
  font-size: clamp(16px, 2vw + 0.25rem, 20px);
}

.post-content h6 {
  font-size: clamp(14px, 1.5vw + 0.25rem, 18px);
}

.post-content p {
  font-size: clamp(16px, 1.2vw + 0.25rem, 18px);
  margin: 1em 0;
}

/* =========================
   Blockquote / Quote
========================= */
blockquote {
  border-color: transparent !important;
  border-left: none !important;
}

.book-quote {
  position: relative;
  padding: 1em !important;
  margin: 2em ;
  background-image: url('/cp-bin/wordpress5/wp-content/uploads/paper_texture_quote_202604.jpeg');
  background-position: center;
  background-repeat: no-repeat;
}

.quote p, .book-quote p {
  font-family: "BIZ UDMincho", Georgia, "Times New Roman", serif !important;
  color: #ffff !important;
}

.wp-block-quote.book-quote cite {
  display: block;
  margin-top: 1.4em;
  text-align: right;
  font-style: normal;
}

.wp-block-quote.book-quote .book-quote-source {
  color: rgba(235,225,210,0.82) !important;
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif !important;
  font-size: clamp(13px, 1vw, 15px) !important;
  line-height: 1.8 !important;
  letter-spacing: 0.02em !important;
  font-style: normal !important;
}


/* source / reference text */
.shutten,
.post-content .ref_text p {
  font-size: 15px !important;
  color: #9fa0a0 !important;
}

/* image caption */
.img_cap p {
  color: #9fa0a0 !important;
  font-size: 15px;
}

/* =========================
   Generic Text Blocks
========================= */
.new-text,
.new-text p {
  font-size: clamp(1rem, 0.6vw + 0.5rem, 1.25rem) !important;
  line-height: 1.7em;
}

.new-text p {
  text-indent: 1em;
}

.new-title h1,
.new-title h2,
.new-title h3 {
  font-size: clamp(1.25rem, 1vw + 1rem, 2.25rem) !important;
  line-height: 1.3em !important;
  font-weight: 700 !important;
  font-family:
    "source-han-sans-cjk-ja",
    "Hiragino Sans",
    Meiryo,
    sans-serif !important;
}

/* =========================
   Page / Hero Titles
========================= */
.page-title h1 {
  text-decoration: none !important;
}

.page_title h1,
.cate-button h1 {
  font-size: clamp(1.75rem, 3vw + 1rem, 4.375rem) !important;
  font-family:
    "source-han-sans-cjk-ja",
    "BIZ UDPGothic",
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    Meiryo,
    sans-serif !important;
  font-weight: 900 !important;
  color: #fff;
  line-height: 1.3em;
}

.cate-button h1 {
  text-decoration: underline solid #fbee6e clamp(0.188rem, 0.56vw, 0.5rem);
}

.page_title_text p {
  font-size: 20px;
}

.cate-page-description p,
.home_cate_description p {
  font-size: clamp(1.25rem, 2vw + 0.25rem, 2.125rem);
  line-height: 1.3em;
  font-family:
    "BIZ UDPGothic",
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    Meiryo,
    sans-serif !important;
}

.home-page-title p,
.home-page-title h2 {
  text-decoration: underline solid #ffe302 clamp(0.188rem, 0.56vw, 0.5rem);
  font-family:
    "BIZ UDPGothic",
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    Meiryo,
    sans-serif !important;
  font-size: clamp(1.5rem, 3vw + 1rem, 4.375rem) !important;
  line-height: 1.3em;
  color: #fff !important;
  margin-bottom: 5px;
}

.home-page-title h3 {
  font-family:
    "BIZ UDPGothic",
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    Meiryo,
    sans-serif;
  font-size: clamp(1.25rem, 4.98vw, 4.5rem) !important;
  line-height: 1.3em;
  color: #fff !important;
  margin-bottom: 5px;
}

/* =========================
   MSW / Category Links
========================= */
.msw-link h3,
.pr_msw_s1 h4,
.pr_msw_s1 .dsm-badges {
  font-family:
    "BIZ UDPGothic",
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    Meiryo,
    sans-serif;
  font-size: clamp(1.25rem, 1vw + 1rem, 1.875rem) !important;
  color: #000;
  font-weight: 700;
  font-style: normal;
}

.msw-link p {
  font-family:
    "BIZ UDPGothic",
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    Meiryo,
    sans-serif;
  font-size: clamp(1.5rem, 5vw - 0.75rem, 3.5rem) !important;
  color: #000;
}

.msw-description p {
  font-size: clamp(1.188rem, 1vw + 0.75rem, 2.375rem);
  line-height: 1.3em;
  font-family:
    "BIZ UDPGothic",
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    Meiryo,
    sans-serif !important;
  color: #000;
}

/* =========================
   Badge / DSM
========================= */
.commx .dsm-text-badges-main {
  display: none;
}

.commx .dsm-badges {
  font-size: clamp(16px, 1vw + 0.75rem, 24px);
  font-weight: bold;
  padding-bottom: 0.3em;
}

/* =========================
   Post Meta / Share
========================= */
.single-post p.et_pb_title_meta_container .et_pb_title_meta_item--visible + .et_pb_title_meta_item--visible:before {
  content: " ";
}

.single-post span.published {
  margin-right: 8px;
}

.single-post .addtoany_list {
  display: flex;
  justify-content: end;
}

.addtoany_content {
  margin: 3px 0;
}

/* =========================
   Layout / Sidebar
========================= */
#main-content .container:before {
  background: none;
}

#sidebar {
  display: none;
}

@media (min-width: 981px) {
  #left-area {
    width: 100%;
    padding: 23px 0 0 !important;
    float: none !important;
  }
}

/* =========================
   Header / Footer
========================= */
.header-text {
  margin-right: 2vw;
}

#footer p a {
  font-size: 14px;
}

/* =========================
   Trial Section
========================= */
.trial p {
  font-size: clamp(1.25rem, 1vw + 1rem, 1.875rem);
  line-height: 1.8em;
}

.trial h2 {
  font-size: clamp(1.375rem, 1.2vw + 1rem, 2.125rem) !important;
}

/* =========================
   PDF Poster / iframe
========================= */
iframe {
  max-height: 980px;
}

/* =========================
   Blog Module
========================= */
.et_pb_post {
  margin-bottom: 15px !important;
}

.et_pb_post .entry-title a {
  line-height: 1.5em;
}

a:hover {
  text-decoration: underline;
}

/* =========================
   Highlight
========================= */
.pa-color-highlight {
  text-decoration: none;
  box-shadow: inset 0 -0.5em 0 rgba(255, 245, 61, 0.75);
  color: inherit;
}

.pa-color-highlight2 {
  text-decoration: none;
  box-shadow: inset 0 -0.5em 0 rgba(66, 255, 113, 0.75);
  color: inherit;
}

/* =========================
   Dot Nav
========================= */
@media screen and (max-width: 981px) {
  ul.et_pb_side_nav.et-visible {
    display: none;
  }
}

/* =========================
   Lists / Alerts
========================= */
.post_content ul {
  list-style: none;
  margin: 0;
}

.entry-content ul {
  line-height: 1.5em;
}

.screen-reader-response {
  display: none;
}

/* =========================
   Read More Button
========================= */
.read-button:hover {
  transform: scale(1.05) translateY(-3px);
  box-shadow: 1px 15px 35px -10px rgba(0, 0, 0, 0.4);
}

/* =========================
   Mobile Column Reorder
========================= */
@media all and (max-width: 980px) {
  .custom_row {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
  }

  .et_pb_column .new-title {
    margin-bottom: 20px;
  }

  .first-on-mobile {
    -webkit-order: 1;
    order: 1;
  }

  .second-on-mobile {
    -webkit-order: 2;
    order: 2;
  }

  .third-on-mobile {
    -webkit-order: 3;
    order: 3;
  }

  .fourth-on-mobile {
    -webkit-order: 4;
    order: 4;
  }

  .custom_row:last-child .et_pb_column:last-child {
    margin-bottom: 30px;
  }
}

/* =========================
   Hamburger Menu
========================= */
@media (min-width: 980px) {
  .custom-menu .et_mobile_nav_menu {
    display: block !important;
  }

  .custom-menu .et_pb_menu__menu {
    display: none !important;
  }

  .custom-menu .et_pb_menu__wrap {
    justify-content: flex-end !important;
  }
}

/* =========================
   WPForms
========================= */
.inquiry_form .wpforms-submit-container {
  width: 100% !important;
  display: inline-block;
  text-align: center;
}

.send_ja {
  width: 80% !important;
  background-color: #009adc !important;
  color: #fff !important;
  font-size: clamp(1rem, 0.6vw + 0.65rem, 1.25rem) !important;
}

.wpforms-disclaimer-description {
  font-size: 15px !important;
}

.wpforms-form .wpforms-list-inline ul li {
  width: 100% !important;
}

.wpforms-form input[type="checkbox"] {
  width: 10% !important;
}

/* =========================
   Misc
========================= */
.dfh-23-hamburger-icon .et_pb_blurb_container h4 {
  font-size: clamp(1.125rem, 1.4vw + 0.25rem, 1.688rem) !important;
}

.dfh-23 .et-menu .seminor {
  background: #d82115;
}

.dhf-23 ul li a {
  font-size: 17px !important;
}

/* =========================
   Responsive Table
========================= */
.responsive-table-wrapper {
  overflow-x: auto;
  position: relative;
  border: 0 solid #ccc;
  margin-top: 0;
  margin-bottom: 1em;
}

.responsive-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.responsive-table thead {
  background-color: #f0f0f0;
}

.responsive-table th,
.responsive-table td {
  border: 1px solid #ccc;
  padding: 8px;
  text-align: center;
  color: #fff;
}

.responsive-table th {
  white-space: nowrap;
  font-size: 17px;
  font-weight: bold;
  color: #111 !important;
}

.responsive-table td {
  font-size: 17px;
  white-space: nowrap;
}

.responsive-table td[colspan] {
  text-align: left;
}

.align-left,
.furi {
  text-align: left !important;
}

.post-table-title strong {
  font-size: clamp(16px, 1.2vw, 20px);
}

.post-table-title + table {
  margin-top: 0;
}

@media screen and (max-width: 768px) {
  .responsive-table th {
    font-size: 15px !important;
  }

  .responsive-table td {
    font-size: 15px !important;
    padding: 6px;
  }
}

/* =========================
   Tablet
========================= */
@media only screen and (max-width: 980px) and (min-width: 768px) {
  h1 {
    font-size: 40px !important;
  }

  #breadcrumbs span,
  #breadcrumbs a {
    font-size: 14px;
  }

  .et_pb_post {
    margin-bottom: 10px !important;
  }

  .et_pb_post .entry-title a {
    font-size: 25px !important;
  }

  iframe {
    max-height: 660px !important;
  }
}

/* =========================
   Mobile
========================= */
@media only screen and (max-width: 767px) {
  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 5vw !important;
  }

  .page_title_text p {
    font-size: 16px;
  }

  #breadcrumbs span,
  #breadcrumbs a {
    font-size: 12px;
  }

  .header-text {
    display: none;
  }

  .header-icon {
    font-size: 15px !important;
    margin-right: 2vw;
  }

  .et_pb_post {
    margin-bottom: 10px !important;
  }

  .et_pb_post .entry-title a,
  .et_pb_post .entry-title h2 {
    font-size: 20px !important;
  }

  iframe {
    max-height: 360px !important;
  }
} 