/*!
Theme Name: g-ma
Text Domain: g-ma
*/

html {
  scroll-padding-top: 160px;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family:
    "Noto Sans JP", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.6em;
  color: #333;
  background-color: #fff;
}

.mincho {
  /* Mincho */
  font-family: "游明朝", "Yu Mincho", YuMincho, "Hiragino Mincho Pro", serif;
}

.wf-sawarabimincho {
  /* Google Sawarabi Mincho */
  font-family: "Sawarabi Mincho";
}

.wf-notosansjapanese {
  /* Google Noto Sans JP */
  font-family: "Noto Sans JP";
}

img,
picture {
  max-width: 100%;
  display: block;
  height: auto;
  vertical-align: bottom;
}
.elementor .underline a {
  text-decoration: underline;
  text-decoration-color: var(--e-global-color-text);
}
.elementor.page p a {
  color: var(--e-global-color-primary);
  text-decoration: underline;
}
.single-post .elementor .elementor-widget-theme-post-content a {
  text-decoration: underline;
  color: var(--e-global-color-accent);
}

.sp_only {
  display: none;
}
@media (max-width: 768px) {
  .sp_only {
    display: block;
  }
  .pc_only {
    display: none;
  }
}

.wf-notosansjapanese .bdt-navbar-nav > li > a,
.wf-notosansjapanese .bdt-navbar-item,
.wf-notosansjapanese .bdt-navbar-toggle {
  font-family: "Noto Sans JP";
}

/* Elementor ナビの背景対策
--------------------------------------------- */
.elementor-nav-menu a:focus,
.elementor-nav-menu a:active {
  background-color: transparent !important;
}

/* パンくずリスト
--------------------------------------------- */
.topicpath {
  font-size: 14px;
  margin: 16px 0;
}

.topicpath a {
  color: #333;
}

.topicpath a:hover {
  color: #333;
  text-decoration: underline;
}

/* ページトップ
--------------------------------------------- */

#page-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  font-size: 14px;
  line-height: 1;
  z-index: 99;
}

#page-top a {
  background: var(--e-global-color-primary);
  text-decoration: none;
  color: #fff;
  width: 60px;
  padding: 24px 5px;
  text-align: center;
  display: block;
  border-radius: 90px;
  opacity: 0.9;
  transition: all 0.3s ease;
}

#page-top a:hover {
  text-decoration: none;
  opacity: 0.5;
}

/* トップページ　メインビジュアルのタイトル位置
--------------------------------------------- */

.mv_ttlbox {
  max-width: calc(88vw - (100vw - 1200px) / 2);
}

@media (max-width: 1024px) {
  .mv_ttlbox {
    max-width: calc(96vw - (100vw - 1200px) / 2);
  }
}

@media (max-width: 768px) {
  .mv_ttlbox {
    max-width: calc(94vw - (100vw - 1200px) / 2);
  }
}

/* トップページ　メインビジュアルの三連ボックス位置
--------------------------------------------- */
.service_list {
  width: calc(100% + 180px) !important;
}

@media (max-width: 1024px) {
  .service_list {
    min-width: calc(100% + 240px) !important;
  }
}
@media (max-width: 767px) {
  .service_list {
    min-width: calc(100% + 260px) !important;
  }
}

/* トップページ　サービス内容の幅（ボックスの幅＋右余白分）
--------------------------------------------- */

@media (min-width: 1025px) {
  .service_box {
    max-width: calc((100vw - 1400px) / 2 + 1400px);
  }
}

/* トップページ　取引先のspan
--------------------------------------------- */
.support_text span {
  color: var(--e-global-color-primary);
  font-size: 2em;
}

/* フッターのナビゲーション
--------------------------------------------- */
.footer_nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 15px;
  line-height: 2em;
}

.footer_nav ul ul li {
  position: relative;
  padding-left: 1.4em;
}

.footer_nav ul ul li::before {
  content: "-";
  position: absolute;
  left: 0;
  color: #fff;
}

.footer_nav ul a {
  color: #fff;
  text-decoration: none;
}

.footer_nav ul a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .footer_nav ul {
    font-size: 14px;
  }
}

/* Alignments
--------------------------------------------- */
.alignleft {
  /*rtl:ignore*/
  float: left;
  /*rtl:ignore*/
  margin-right: 1.5em;
  margin-bottom: 1.5em;
}

.alignright {
  /*rtl:ignore*/
  float: right;
  /*rtl:ignore*/
  margin-left: 1.5em;
  margin-bottom: 1.5em;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5em;
}

/* service_tag ---------------------------------- */
.service_tag li.elementor-icon-list-item.elementor-inline-item {
  background: var(--e-global-color-268e6ee);
  padding: 0 16px;
  border-radius: 20px;
  margin-bottom: 8px;
}
.service_tag li > span.elementor-icon-list-text {
  padding-inline-start: 0;
}

/* table - price -------------------------------- */
table.price {
  border-spacing: 0;
  width: 100%;
  font-size: 0.9em;
}
.price th,
.price td {
  border: 1px solid #ddd;
  padding: 8px;
}
.price .row-h th {
  background-color: var(--e-global-color-primary);
  color: #fff;
  width: calc(100% / 7);
}
.price .row-h th:first-child {
  border: none;
  background-color: transparent;
}
.price .row-h th:nth-child(2),
.price .row-body:nth-child(2) th {
  border-radius: 10px 0 0 0;
}
.price .row-body:last-child th {
  border-radius: 0 0 0 10px;
}
.price .row-h th:last-child {
  border-radius: 0 10px 0 0;
}
.price .row-body:last-child td:last-child {
  border-radius: 0 0 10px 0;
}
.price .row-body th {
  background-color: #eee;
}
.price .row-body td {
  text-align: right;
}
@media (max-width: 768px) {
  table.price {
  }
  table.price tbody {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
  }
  .price th,
  .price td {
  }
  tr.row-h {
    display: flex;
    flex-direction: column;
    flex: 2;
  }
  tr.row-body {
    display: flex;
    flex-direction: column;
    width: 30%;
  }
  .price .row-h th {
    width: 100%;
  }
  .price .row-body:last-child th {
    border-radius: 0 10px 0 0;
  }
  .price .row-h th:last-child {
    border-radius: 0 0 0 10px;
  }
}

/* contact Form ----------------------- */
.mw_wp_form input[type="email"],
.mw_wp_form input[type="tel"],
.mw_wp_form input[type="text"],
.mw_wp_form textarea {
  padding: 0.8em;
  width: 100%;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 3px;
}
.mw_wp_form p:has(input[type="submit"]) {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}
.mw_wp_form input[type="submit"] {
  font-family: "Noto Sans JP", sans-serif;
  cursor: pointer;
  background-color: var(--e-global-color-primary);
  color: #fff;
  font-size: 1.2em;
  padding: 12px 28px;
  border-radius: 30px;
  border: none;
  box-shadow: 0 0 16px #ff9292;
  transition: 0.5s;
}
.mw_wp_form input[type="submit"]:hover {
  opacity: 0.8;
}
.mw_wp_form input[type="submit"][name="submitBack"] {
  background-color: transparent;
  color: #666;
  text-decoration: underline;
  box-shadow: none;
}
.custom_form .outer .ttl span {
  color: #fff;
  background-color: var(--e-global-color-primary);
  display: inline-block;
  padding: 4px 8px;
  margin-right: 4px;
  font-size: 0.8em;
  line-height: 1em;
  border-radius: 16px;
}
.custom_form .outer {
  padding: 16px;
  background-color: #f1f2f3;
  margin: 0 0 16px 0;
  border-radius: 8px;
}
.custom_form .ttl {
  font-weight: bold;
  margin-bottom: 8px;
}
.custom_form .com {
  font-size: 14px;
}

@media (max-width: 768px) {
  .custom_form table {
    display: block;
  }
}

/* popup 閉じるボタン */
a.dialog-lightbox-close-button,
a.dialog-lightbox-close-button:focus {
  outline: none;
  -moz-outline-style: none;
}

/* FAQ ----------------------- */
.faq summary {
  font-size: 1.3em;
  padding: 1em 2em 1em 0;
  border-bottom: 1px solid var(--e-global-color-primary);
  list-style: none;
  position: relative;
}
.faq summary::marker,
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "";
  position: absolute;
  top: calc(50% - 15px);
  right: 0;
  display: block;
  width: 30px;
  height: 30px;
  background-image: url(images/faq-btn.svg);
  background-repeat: no-repeat;
  background-size: contain;
  transition: all 0.5s;
}

.faq details[open] summary::after {
  transform: rotate(135deg);
}
.faq details div.content {
  overflow: hidden;
}
.faq details div.content_inner {
  padding: 16px;
  background-color: var(--e-global-color-268e6ee);
}

.faq a {
  text-decoration: underline;
  color: var(--e-global-color-primary);
}

@keyframes fadeDown {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(0%);
  }
}


#top_text{
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 1), 0 0 15px rgba(0, 0, 0, 0.8), 0 0 5px rgba(0, 0, 0, 0.8)
}

