html, body {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body.page-template-page-top {
  background-color: #ffffff;
}

[data-header*="type-1"] .ct-header [data-row*="top"] {
  margin-bottom: 10px;
}

.page-template-page-top .shadow-line {
  display: none !important;
}

.page-template-page-top .page-title {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 0;
  overflow: hidden;
}

.page-template-page-top .page-title h1 {
  display: none;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.page-template-page-top #main-content {
  padding: 0;
  background: #ffffff;
}

.page-template-page-top .container {
  width: 80%;
  max-width: 1100px;
  margin: 0 auto;
  padding-right: 0 !important;
  position: relative;
  overflow: visible;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.page-template-page-top .content-block {
  margin-top: 0;
  margin-bottom: 0;
}

.page-template-page-top .main-visual {
  position: relative;
  width: 100%;
  overflow: visible;
  padding-left: 20px;
}

html, body {
  margin: 0 !important;
  padding: 0 !important;
}

/* メイン画像の調整 */
.page-template-page-top .image-container {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: visible;
}

.page-template-page-top .image-container img {
  position: absolute;
  top: 0px;
  right: -150px;
  height: 100%;
  object-fit: cover;
  width: auto;
  max-width: none;
  transform: scale(1.4);
  transform-origin: top right;
}

.page-template-page-top .main-visual .block-title h2 {
  font-size: 28px;
  font-weight: bold;
  color: #000;
}

/* メインビジュアルに重なるテキストの設定 */
.page-template-page-top .overlay-text {
  position: absolute;
  top: 60%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  z-index: 2;
  padding: 0 10px;
  box-sizing: border-box;
  color: #000;
}

.page-template-page-top .overlay-text h2 span,
.page-template-page-top .overlay-text p span {
  line-height: 1.1;
  background-color: rgba(255,255,255,1);
  padding: 0.2em 0.3em;
  display: inline;
}

/* メインビジュアルの h2 p のフォントサイズ設定 */
.page-template-page-top .overlay-text h2 {
  font-size: 36px;
  max-width: 60vw;
  margin-top: 100px;
  color: #000;
}

/* そのDXの悩み、まずは話してみませんか？ の調整 */
.page-template-page-top .dx-trouble-inner {
  margin-top: 40px !important;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 30px;
  justify-content: flex-start;
}

.page-template-page-top .dx-trouble-text {
  flex: 3 1 0;
  max-width: none;
}

.page-template-page-top .dx-trouble-text .block-title h2 {
  font-size: 25px;
  margin: 30px 0 30px 0;
  text-align: left;
  color: #000;
}

.page-template-page-top .dx-trouble-text .block-body p {
  font-size: 16px;
  line-height: 1.7;
  color: #000;
}

.page-template-page-top .dx-trouble-image {
  flex: 1 1 auto;
  margin-left: 30px;
  max-width: 40%;
  text-align: left;
  padding-left: 0;
  overflow: visible;
}

.page-template-page-top .dx-trouble-image img {
  width: 120%;
  height: auto;
  max-width: none;
  display: block;
  margin-left: -60px;
  padding-left: 0;
}

/* 必要なのは、”導入”ではなく、”定着” の調整 */
.page-template-page-top .only-pc {
  display: block;
}

.page-template-page-top .only-sp {
  display: none;
}

.page-template-page-top .dsettle-not-just-introduce-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.page-template-page-top .dsettle-left {
  flex: 1;
}

.page-template-page-top .dsettle-not-just-introduce-image {
  flex: 1;
  text-align: center;
}

.page-template-page-top .dsettle-not-just-introduce-image img {
  max-width: 100%;
  height: auto;
  margin-left: -80px;
}

.page-template-page-top .dsettle-not-just-introduce-text {
  flex: 1;
  width: 50%;
  max-width: none;
  margin-left: -80px;
  padding-left: 0;
  text-align: left;
  min-width: 280px;
  color: #000;
}

html body.page-template-page-top .dsettle-not-just-introduce-text h2#fix-target {
  font-size: 25px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  font-weight: bold;
  margin-bottom: 20px;
  white-space: nowrap;
  color: #000;
}

.page-template-page-top .dsettle-left p {
  font-size: 16px;
  line-height: 1.6;
  color: #000;
}

/* 人と業務がスムーズにつながる、活気ある職場へ。 の調整 */
.page-template-page-top .dx-smooth-inner.only-pc {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  max-width: 1200px;
  margin: 50px auto 0;
  overflow-x: hidden;
  box-sizing: border-box;
}

.page-template-page-top .dx-smooth-inner .only-sp {
  display: none;
}

.page-template-page-top .dx-smooth-inner {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-template-page-top .dx-smooth-workplace {
  margin-top: 100px;
  box-sizing: border-box;
}

.page-template-page-top .dx-smooth-text {
  flex: 1 1 50%;
  min-width: 280px;
  box-sizing: border-box;
}

.page-template-page-top .dx-smooth-text .block-title {
  display: flex;
  justify-content: flex-start;
}

.page-template-page-top .dx-smooth-text .block-title h2 {
  font-size: 25px;
  font-weight: bold;
  margin-bottom: 20px;
  white-space: normal;
  color: #000;
}

.page-template-page-top .dx-smooth-text .dx-smooth-body p {
  font-size: 16px;
  line-height: 1.6;
  color: #000;
}

.page-template-page-top .dx-smooth-image {
  flex: 1 1 50%;
  display: flex;
  justify-content: flex-end;
  box-sizing: border-box;
}

.page-template-page-top .dx-smooth-image img {
  width: 100%;
  height: auto;
  max-width: 600px;
  object-fit: contain;
}

/* FunApps FlexSupport の調整 */
.page-template-page-top .flexsupport {
  margin-bottom: 80px;
  margin-top: 50px !important;
}

.page-template-page-top .flexsupport > .block-title {
  margin-bottom: 10px;
  width: 600px;
}

.page-template-page-top .flexsupport > .block-title h2 {
  font-size: 37px;
  font-weight: bold;
  margin-bottom: 0px;
  margin-right: -40px;
  color: #000;
}

.page-template-page-top .flexsupport > .block-body {
  margin-bottom: 40px;
  font-size: 15px;
  line-height: 1.8;
}

.page-template-page-top .flexsupport > .block-body p {
  font-size: 16px;
  line-height: 1.7;
  max-width: 600px;
  margin-left: 0px;
  margin-bottom: 20px;
  margin-top: 20px;
  color: #000;
}

.page-template-page-top .flexsupport-inner {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.page-template-page-top .flexsupport-left {
  flex: 1 1 45%;
  margin-left: -45px;
  margin-top: 40px;
  width: auto !important;
}

.page-template-page-top .flexsupport-image {
  position: relative;
  top: -45px;
  width: 110% !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

.page-template-page-top .flexsupport-image img {
  width: 100% !important;
  height: auto;
  border-radius: 8px;
}

.page-template-page-top .flexsupport-right {
  flex: 1 1 50%;
  margin-top: 10px;
  margin-left: 15px;
}

.page-template-page-top .flexsupport .support-block {
  margin-bottom: 20px;
}

.page-template-page-top .flexsupport .support-block h3 {
  font-size: 23px;
  font-weight: bold;
  color: #9f8530;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}

.page-template-page-top .flexsupport .support-block h3 span {
  font-weight: bold;
  font-size: 20px;
  margin-right: 6px;
  color: #9f8530;
}

.page-template-page-top .flexsupport .support-block p {
  font-size: 16px;
  line-height: 1.7;
  max-width: 100%;
  color: #000;
}

.page-template-page-top .flexsupport-right hr {
  border: none;
  border-top: 1px solid #000000;
  margin: 20px 0;
}

.page-template-page-top .flexsupport-button-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 0px;
}

.page-template-page-top .flexsupport .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 22px 67px;
  background-color: #9f8530;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  border-radius: 40px;
  font-size: 16px;
  line-height: 1;
  transition: background-color 0.3s;
  margin-top: 30px;
  box-sizing: border-box;
}

.page-template-page-top .only-pc {
  display: block;
}

.page-template-page-top .only-sp {
  display: none;
}

/* FunApps Tools の調整 */
.page-template-page-top .content-block.tools {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}

.page-template-page-top .tools-inner {
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.page-template-page-top .tools-text > .block-title {
  margin-bottom: 10px;
}

.page-template-page-top .tools-text > .block-title h2 {
  font-size: 37px;
  font-weight: bold;
  margin-bottom: 10px;
  max-width: 1000px;
  color: #000;
}

.page-template-page-top .tools-text > .block-body {
  margin-bottom: 40px;
  font-size: 15px;
  line-height: 1.7;
}

.page-template-page-top .tools-text > .block-body p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #000;
}

.page-template-page-top .tools-cards {
  display: flex;
  flex-wrap: nowrap;
  padding-left: 0;
  padding-right: 0;
  margin-left: 0;
  margin-right: 0;
  gap: 40px;
  justify-content: flex-start;
  width: 100%;
  box-sizing: border-box;
  min-height: 220px;
}

.page-template-page-top .tool-card {
  flex: 1 1 calc((100% - 20px * 4) / 5.5);
  max-width: calc((100% - 20px * 4) / 5.5);
  background: #fff;
  padding: 10px;
  border-radius: 6px;
  text-align: center;
  border: 2px solid #A18941;
  box-sizing: border-box;
  margin-right: 0;
}

.page-template-page-top .tool-card img {
  width: 80%;
  height: auto;
  max-height: 60px;
  object-fit: contain;
  margin-bottom: 6px;
  margin-top: 10px;
}

.page-template-page-top .tool-card:first-child img {
  max-height: 80px;
  margin-top: -5px;
}

.page-template-page-top .tool-card:first-of-type h3 {
  margin-top: 0px;
}

.page-template-page-top .tool-card h3 {
  font-size: 17px;
  margin-bottom: 7px;
  color: #A18941;
  margin-top: 5px;
}

.page-template-page-top .tool-card p {
  font-size: 13px;
  line-height: 1.6;
  text-align: left;
  color: #000;
}

.page-template-page-top .tools-button-wrapper {
  text-align: center;
  margin-top: 70px;
}

.page-template-page-top .tools-button-wrapper .btn {
  display: inline-block;
  padding: 17px 67px;
  background-color: #9f8530;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  border-radius: 30px;
  font-size: 16px;
  transition: background-color 0.3s;
}

/* お知らせ調整 */
.page-template-page-top .only-pc {
  display: block;
}

.page-template-page-top .only-sp {
  display: none;
}

.news .block-title h2 {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 30px;
  margin-top: 50px;
  color: #000;
}

.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.news-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  border-bottom: 1px solid #000;
  padding-bottom: 10px;
}

.news-thumb img {
  width: 220px;
  height: 120px;
  height: auto;
  object-fit: cover;
  height: 120px;
  margin-top: 0px;
  margin-bottom: 10px;
}

.news-text {
  display: flex;
  flex-direction: column-reverse;
  color: #000;
}

.news-date {
  font-size: 12px;
  color: #000000;
  margin: 0 0 5px 0;
  margin-top: 5px;
}

.news-title {
  font-size: 16px;
  font-weight: bold;
  color: #000000;
  margin: 0;
}

.news-title a {
  color: #000000;
  text-decoration: none;
}

.page-template-page-top .news-button-wrapper {
  text-align: center;
  margin-top: 60px;
}

.page-template-page-top .btn {
  display: inline-block;
  padding: 17px 67px;
  background-color: #9f8530;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  border-radius: 30px;
  font-size: 16px;
  transition: background-color 0.3s;
}

.news-list .news-item:last-child {
  border-bottom: none;
}

/* 相談・お問合せの調節 */
.page-template-page-top .content-block.contact {
  padding-left: 0;
  padding-right: 0;
  margin-left: 0;
  margin-right: 0;
  margin-top: 100px;
  margin-bottom: 80px;
}

.page-template-page-top .contact .btn {
  position: relative;
  display: block;
  padding: 17px 67px 17px 0;
  background-color: transparent;
  color: #000;
  font-weight: bold;
  text-decoration: none;
  border-radius: 16px;
  font-size: 50px !important;
  transition: color 0.3s;
  overflow: visible;
  padding-bottom: 10px;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

.page-template-page-top .contact .btn::after {
  content: '\2192';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 80px;
  color: #000;
  z-index: 10;
  background: transparent;
}

.page-template-page-top .contact .block-title h2 {
  font-size: 35px;
  font-weight: bold;
  color: #000 !important;
  margin-bottom: 12px;
}

.page-template-page-top .contact .block-body p {
  font-size: 15px;
  line-height: 1.6;
  font-weight: normal;
  margin-bottom: 9px;
}

.page-template-page-top .content-block.contact .block-title,
.page-template-page-top .content-block.contact .block-body {
  max-width: none;
  padding-left: -60px;
  margin-left: 0;
  text-align: left;
}

.page-template-page-top .content-block.contact .btn::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background-color: #000;
  border-radius: 0;
  z-index: 1;
}

/* スマホ向け */
@media screen and (max-width: 745px) {
  [data-header*="type-1"] .ct-header [data-row*="top"] {
    margin-bottom: 10px;
  }

  .page-template-page-top #main-content {
    padding-bottom: 20px;
  }

  .page-template-page-top .content-block:last-child {
    margin-bottom: 50px;
  }

  .page-template-page-top .container {
    width: 95%;
    padding: 0 10px;
  }

  .page-template-page-top .content-block.main-visual {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 0;
  }

  .page-template-page-top .main-visual {
    width: 100vw;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
  }

  .page-template-page-top .main-visual .container {
    padding-left: 0 !important;
    margin-left: 0 !important;
    width: 100% !important;
    max-width: none !important;
  }

  .page-template-page-top .image-container {
    position: relative;
    width: 100vw;
    height: 110vh;
    overflow: hidden;
    margin: 0;
    padding: 0;
  }

  .page-template-page-top .image-container img {
    position: absolute !important;
    top: 40% !important;
    left: 50% !important;
    transform: translate(calc(-50% + 0px), -50%) !important;
    height: 80% !important;
    width: auto !important;
    object-fit: cover !important;
    border-radius: 0 !important;
  }

  .page-template-page-top .overlay-text {
    top: 55% !important;
    left: 0 !important;
    right: 0 !important;
    padding: 0 15px !important;
    background-color: transparent !important;
    width: 100% !important;
    max-width: none !important;
    text-align: left !important;
    z-index: 2 !important;
    margin-top: -30px;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .page-template-page-top .overlay-text h2 {
    font-size: 23px;
    margin: 0 !important;
    padding: 0 10px !important;
    position: relative;
    top: -30px;
    text-align: left !important;
    white-space: normal;
    max-width: 100%;
    box-sizing: border-box;
    font-weight: bold;
  }

  .page-template-page-top .overlay-text p {
    font-size: 16px;
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
    top: 30px;
    text-align: left !important;
    white-space: normal;
    max-width: 100%;
    box-sizing: border-box;
    line-height: 1.6;
    display: inline-block;
    background-color: transparent !important;
    font-weight: bold;
  }

  .page-template-page-top .overlay-text p + p {
    margin-top: 0 !important;
  }

  .page-template-page-top .overlay-text h2::before {
    content: "";
    position: absolute;
    top: 0;
    left: -80px;
    width: 100vw;
    height: 100%;
    background-color: rgba(255, 255, 255, 1);
    z-index: -1;
    display: none;
  }

  .page-template-page-top .overlay-text h2 span {
    line-height: 1 !important;
    background-color: rgba(255,255,255,1);
    display: inline-block;
    padding: 0.5em 1em;
    margin-left: -20px;
    position: static;
  }

  .page-template-page-top .overlay-text p span {
    line-height: 1 !important;
    background-color: rgba(255,255,255,1) !important;
    display: inline-block;
    padding: 5px 8px;
    margin-left: 0;
    position: static;
    max-width: 100%;
    box-sizing: border-box;
    word-break: break-word;
    text-align: left;
  }

  .page-template-page-top .overlay-text p::before {
    content: "";
    position: absolute;
    top: 0;
    left: -40px;
    width: calc(100vw - 200px);
    height: 100%;
    background-color: rgba(255, 255, 255, 1);
    z-index: -1;
    display: block;
  }

  .page-template-page-top .dx-trouble-inner,
  .page-template-page-top .dsettle-not-just-introduce-inner,
  .page-template-page-top .dx-smooth-inner,
  .page-template-page-top .flexsupport-inner {
    flex-direction: column;
    gap: 20px;
  }

  .page-template-page-top .dx-trouble {
    padding-top: 0 !important;
    margin-top: -100px;
    margin-right: 10px;
  }

  .page-template-page-top .dx-trouble-inner {
    flex-direction: column;
    gap: 20px !important;
    margin-top: 0 !important;
  }

  .page-template-page-top .dx-trouble-image {
    order: 1;
    margin: 0 auto !important;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    overflow: visible;
    flex: none !important;
  }

  .page-template-page-top .dx-trouble-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: inline-block;
    margin: 0 auto;
    margin-top: -30px;
  }

  .page-template-page-top .dx-trouble-text .block-body {
    order: 2;
  }

  .page-template-page-top .dx-trouble-text {
    display: contents;
    flex: none !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    text-align: left !important;
    margin-left: 0 !important;
  }

  .page-template-page-top .dx-trouble-text .block-title {
    order: 0;
    padding-left: 10px;
    padding-right: 10px;
    box-sizing: border-box;
    width: 100%;
  }

  .page-template-page-top .dx-trouble .block-title h2 {
    font-size: 24px;
    display: block;
    width: 105%;
    box-sizing: border-box;
    text-align: left;
    white-space: normal;
    padding: 0;
  }

  .page-template-page-top .dx-trouble .block-body p {
    font-size: 16px;
    margin: -5px 0;
    line-height: 1.4;
    margin-top: -30px;
  }

  .page-template-page-top .dx-trouble {
    margin-bottom: 10px;
  }

  .page-template-page-top .only-pc {
    display: none;
  }

  .page-template-page-top .only-sp {
    display: block;
    padding-right: 13px;
  }

  .page-template-page-top .dsettle-not-just-introduce-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 50px;
  }

  .page-template-page-top .dsettle-not-just-introduce.only-sp h2 {
    font-size: 24px;
    display: inline-block;
    text-align: left !important;
    margin-left: 0 !important;
    width: 100%;
    color: #000;
  }

  .page-template-page-top .dsettle-not-just-introduce-image {
    margin-bottom: 20px;
  }

  .page-template-page-top .dsettle-not-just-introduce-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin-top: -20px;
    margin-left: 0px;
  }

  .page-template-page-top .dx-smooth-text-inner {
    flex-direction: column;
  }

  .page-template-page-top .dsettle-not-just-introduce-text {
    width: 100%;
    text-align: left !important;
    margin-left: 0 !important;
  }

  .page-template-page-top .dsettle-not-just-introduce.only-sp p {
    font-size: 16px;
    text-align: left !important;
    margin-left: 0 !important;
    margin-top: -20px;
    color: #000;
  }

  .page-template-page-top .dx-smooth-text-text,
  .page-template-page-top .dx-smooth-text-image {
    flex: 1 1 100%;
  }

  .page-template-page-top .only-pc {
    display: none;
  }

  .page-template-page-top .only-sp {
    display: block;
    padding-right: 13px;
  }

  .page-template-page-top .dx-smooth-inner {
    flex-direction: column;
    align-items: flex-start !important;
    text-align: left !important;
    margin-top: -70px;
  }

  .page-template-page-top .dx-smooth-text {
    text-align: left !important;
    margin-left: 0 !important;
  }

  body.page-template-page-top .dx-smooth-workplace h2 {
    font-size: 24px !important;
    text-align: left !important;
    margin-left: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    word-break: break-word;
    overflow-wrap: break-word;
    color: #000;
  }

  .page-template-page-top .dx-smooth-text-image {
    margin-bottom: 20px;
  }

  .page-template-page-top .dx-smooth-text-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
  }

  body.page-template-page-top .dx-smooth-workplace p {
    font-size: 16px;
    text-align: left !important;
    margin-left: 0 !important;
    margin-top: 0px !important;
    max-width: 100%;
    width: 100%;
    white-space: normal;
    word-break: break-word;
    color: #000;
  }

  .page-template-page-top .dx-smooth-text-inner {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
  }

  .page-template-page-top .flexsupport .only-pc {
    display: none;
  }

  .page-template-page-top .flexsupport .only-sp {
    display: block;
    padding-left: 15px !important;
    padding-right: 15px !important;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
  }

  .page-template-page-top .flexsupport {
    margin-top: 80px;
  }

  .page-template-page-top .flexsupport.only-sp .block-body {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .page-template-page-top .flexsupport.only-sp .support-block {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .page-template-page-top .flexsupport.only-sp .block-title h2 {
    font-size: 33px;
  }

  .page-template-page-top .flexsupport.only-sp img {
    margin: -20px 0;
    margin-left: -15px;
    margin-top: 30px;
  }

  .page-template-page-top .flexsupport.only-sp .block-body p {
    font-size: 16px;
    line-height: 1.4;
    max-width: 100%;
    margin: 0;
    padding: 0;
    text-align: left;
    word-break: normal;
  }

  .page-template-page-top .flexsupport.only-sp .support-block h3 {
    font-size: 22px;
    line-height: 1.6;
    padding: 0 10px;
    margin-bottom: 12px;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .page-template-page-top .flexsupport.only-sp .support-block p {
    font-size: 16px;
    line-height: 1.4;
    padding: 0 10px;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .page-template-page-top .flexsupport.only-sp hr {
    border: none;
    border-top: 1px solid #000000;
    background-color: transparent;
    height: 0;
    box-shadow: none;
    width: 100%;
    margin: 20px auto;
  }

  .page-template-page-top .flexsupport-button-wrapper .btn {
    margin-top: 10px;
  }

  .page-template-page-top .content-block.tools {
    padding-left: 10px;
    padding-right: 10px;
    margin-top: 80px;
  }

  .page-template-page-top .tool-card-inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
  }

  .page-template-page-top .tools-cards {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 100vw;
    width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
    margin: 0 auto;
    align-items: stretch;
  }

  .page-template-page-top .tool-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    width: 100%;
    box-sizing: border-box;
    border: 2px solid #A18941;
    border-radius: 6px;
    padding: 8px 13px;
    background: #fff;
    min-height: auto;
    max-width: 100%;
  }

  .page-template-page-top .tool-card img {
    width: 80px;
    height: auto;
    border-radius: 6px;
    flex-shrink: 0;
  }

  .page-template-page-top .tool-card-text {
    flex: 1;
    text-align: left;
  }

  .page-template-page-top .tool-card-text h3 {
    min-height: 30px;
    margin: 0 0 4px;
    line-height: 1.3;
    font-size: 21px;
  }

  .page-template-page-top .tool-card-text p {
    margin: 0;
    line-height: 1.4;
    font-size: 14px;
    word-break: break-word;
    margin-top: 10px;
    color: #000;
  }

  .page-template-page-top .tools .block-title h2 {
    font-size: 35px;
    color: #000;
    margin-bottom: 0;
    padding-left: 10px;
  }

  .page-template-page-top .block-body p {
    font-size: 16px;
    margin-top: 8px;
    line-height: 1.4;
    padding-left: 10px;
  }

  .page-template-page-top .tool-card-1 .tool-card-text p {
    margin-top: 0;
  }

  .page-template-page-top .tool-card.tool-card-1 img {
    margin-top: 0px !important;
  }

  .page-template-page-top .tool-card-3 .tool-card-text p {
    margin-top: 3px;
  }

  .page-template-page-top .tool-card-4 .tool-card-text p {
    margin-top: 3px;
  }

  .page-template-page-top .tool-card-5 .tool-card-text p {
    margin-top: 3px;
  }

  .page-template-page-top .tools-button-wrapper {
    margin-top: 50px;
  }

  .page-template-page-top .only-pc {
    display: none !important;
  }

  .page-template-page-top .only-sp {
    display: block !important;
    padding-right: 13px;
    margin-right: 0;
    box-sizing: border-box;
  }

  .page-template-page-top .news.only-sp .block-title h2 {
    margin-top: 80px;
    margin-bottom: 30px !important;
    font-size: 32px;
  }

  .page-template-page-top .only-sp .news-list {
    padding: 0;
    margin: 0;
    list-style: none;
    margin-bottom: -45px;
  }

  .page-template-page-top .only-sp .news-item {
    display: flex;
    flex-direction: column;
    gap: 0px;
    border-bottom: 1px solid #000000;
    padding: 15px 0;
    margin-bottom: 30px;
  }

  .page-template-page-top .only-sp .news-date {
    font-size: 17px;
    color: #000;
    margin: -10px -10px;
    margin-bottom: 10px;
    order: 1;
  }

  .page-template-page-top .only-sp .news-title {
    font-size: 23px;
    font-weight: bold;
    color: #000;
    margin-top: -10px;
    margin-bottom: 10px;
    order: 2;
  }

  .page-template-page-top .only-sp .news-list .news-item:last-child {
    border-bottom: none;
  }

  .page-template-page-top .news.only-sp .news-title a {
    color: #000;
    text-decoration: none;
  }

  .page-template-page-top .news.only-sp .news-title a:hover {
    text-decoration: underline;
  }

  .page-template-page-top .content-block.contact {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-template-page-top .only-sp .news-thumb {
    width: 100%;
    max-width: 100%;
    margin-top: -10px;
    margin-bottom: 10px;
  }

  .page-template-page-top .only-sp .news-thumb img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 0;
  }

  .page-template-page-top .only-sp .news-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .page-template-page-top .only-sp .news-text {
    width: 100%;
    text-align: left;
    display: flex;
    flex-direction: column;
  }

  .page-template-page-top .contact .btn {
    font-size: 24px !important;
  }

  .page-template-page-top .contact .btn::after {
    content: "\2192";
    position: absolute;
    right: 13px;
    font-size: 45px;
    top: 56%;
  }

  .page-template-page-top .contact .btn::before {
    left: 20px;
    right: 20px;
  }

  .page-template-page-top .contact .block-title h2 {
    font-size: 26px;
    margin-left: -6px;
    margin-bottom: 19px;
  }

  .page-template-page-top .contact .block-body p {
    font-size: 15px;
    line-height: 1.6;
    margin-left: -16px;
    margin-right: 3px;
    margin-bottom: 6px;
  }

  .page-template-page-top .content-block.contact .btn::before {
    left: -6px;
    right: 13px;
  }

  .page-template-page-top .content-block:last-child {
    margin-bottom: 60px;
  }
}

@media screen and (max-width: 1280px) and (min-width: 768px) {
  .main-visual .image-container {
    height: 500px;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(-50vw + 65%);
  }

  .main-visual .image-container img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: top;
    display: block;
  }

  .main-visual .overlay-text h1 {
    font-size: 2rem;
  }

  .main-visual .overlay-text p {
    font-size: 1rem;
  }

  .main-visual .overlay-text {
    top: 50%;
    left: -10px;
  }
}

@media screen and (min-width: 768px) and (max-width: 1280px) {
  .site-logo-container img {
    max-height: 42px;
    width: auto;
  }

  .page-template-page-top #main-content {
    padding: 0;
    background: #ffffff;
  }

  .page-template-page-top .dx-trouble-inner {
    margin-top: 50px !important;
  }
}

@media screen and (max-width: 420px) {
  .page-template-page-top .overlay-text p span {
    max-width: calc(100% - 20px);
    display: inline-block;
    box-sizing: border-box;
  }

  .page-template-page-top .overlay-text p span:last-child {
    margin-right: 0 !important;
  }
}

@media screen and (min-width: 746px) and (max-width: 1024px) {
  .page-template-page-top .tools-cards {
    flex-wrap: wrap;
    gap: 20px;
  }

  .page-template-page-top .tool-card {
    flex: 1 1 calc(20% - 16px);
    max-width: none;
    min-width: 0;
  }
}

/* =========================
   Main Visual
========================= */
.main-visual {
  padding: 80px 0 20px;
}

.mv-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 60px;
}

.mv-text {
  flex: 1;
}

.mv-text h2 {
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.4;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.mv-text p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 32px;
}

.mv-image {
  flex: 1;
}

.mv-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.mv-cta {
  display: inline-block;
  margin-top: 0;
  background: #9f8530;
  color: #fff;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
}

.mv-cta:hover {
  transform: translateY(-2px);
  background: #7f6a26;
  color: #fff;
}

@media (max-width: 768px) {
  .mv-inner {
    flex-direction: column;
    gap: 40px;
  }

  .mv-text {
    order: 1;
  }

  .mv-image {
    order: 2;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s ease, transform 0.9s ease;
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-right {
  transform: translateX(40px);
}

.reveal-right.is-visible {
  transform: translateX(0);
}

.reveal-left {
  transform: translateX(-40px);
}

.reveal-left.is-visible {
  transform: translateX(0);
}

.reveal-zoom {
  transform: scale(0.92);
}

.reveal-zoom.is-visible {
  transform: scale(1);
}