/* 共通 */
:root {
  --main-color: #00a273;
  --accent-color: #ffed4a;
  --beige: #eff0ec;
  --white-green: #f2fbf9;
  --vk-color-bg-inactive: rgba(255, 255, 255) !important;
}
html { scroll-behavior: smooth;}
.site-header-logo img {
  max-height: 70px !important;
}
.section-h2 {
  text-align: center;
  margin-bottom: 60px;
}
.section-h2 p {
  font-size: 62px;
  font-weight: 600;
  display: inline-block;
  position: relative;
  z-index: 1;
}
.section-h2 p::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -20%;
  width: 82px;
  aspect-ratio: 19 / 17;
  background: url("/wp-content/uploads/2026/03/title-accent.svg") no-repeat;
  background-size: 82px 81px;
  z-index: -1;
  transform: translate(-50%, -50%);
}
.section-h2 p::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -50%;
  width: 82px;
  aspect-ratio: 19 / 17;
  background: url("/wp-content/uploads/2026/03/title-accent.svg") no-repeat;
  background-size: 82px 81px;
  z-index: -1;
  transform: translate(-50%, -50%);
}
.section-page {
  padding: 150px 0;
}
.br-sp {
  display: none;
}
.fixed-button__sns {
  position: fixed;
  top: 300px;
  right: -22px;
  margin: auto;
  z-index: 100;
  background-color: #fff;
  border-radius: 10px 0 0 10px;
  z-index: 3;
  padding: 20px 7px 20px 10px;
  width: 80px;
}
.fixed-button__policy-book {
  width: 80px;
  height: max-content;
  position: fixed;
  top: 170px;
  right: -3px;
  margin: auto;
  z-index: 100;
}
.fixed-button__wrapper {
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}
.active {
  opacity: 1;
  visibility: visible;
}
.vk_icons_col.vk_icons_col-justify-right {
  flex-direction: column;
  gap: 10px;
}

@media screen and (max-width: 992px) {
  .section-h2 {
    margin-bottom: 5vw;
  }
  .section-h2 p {
    font-size: 9vw;
  }
  .section-page {
    padding: 12vw 0;
  }
  .section-h2 p::before {
    width: 8vw;
    background-size: 8vw 8vw;
    left: -5vw;
  }
  .section-h2 p::after {
    width: 8vw;
    background-size: 8vw 8vw;
    right: -13vw;
  }
  .br-sp {
    display: block;
  }
  .fixed-button__sns {
    padding: 20px 7px 20px 10px;
    width: 60px;
    top: 260px;
    right: -6px;
  }
  .fixed-button__policy-book {
    width: 60px;
  }
}
@media screen and (max-width: 768px) {
  body {
    p {
      font-size: 4.4vw;
    }
  }
  .section-h2 p {
    font-size: 8vw;
  }
  .section-page {
    padding: 17vw 0;
  }
  .section-h2 p::before {
    width: 10vw;
    background-size: 10vw 10vw;
    left: -8vw;
  }
  .section-h2 p::after {
    width: 10vw;
    background-size: 10vw 10vw;
    right: -16vw;
  }
  .fixed-button__sns {
    top: 300px;
  }
  .fixed-button__policy-book {
    width: 60px;
    top: 200px;
  }
}
/* top */
.section-top {
  background-image: url("/wp-content/uploads/2026/03/top-mv-scaled.webp");
  width: 100vw;
  height: 80vh;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  /* z-index: 100; */
  background-position: 50% 50%;
}
.section-top__title {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  margin-right: 20vw !important;
  width: 33vw;
  max-width: 660px;
  right: 0;
}
.mv-video {
  margin-bottom: 0;
}
@media screen and (max-width: 1200px) {
  .section-top {
    height: 52vh;
  }
}

@media screen and (max-width: 992px) {
  .section-top {
    background-image: url("/wp-content/uploads/2026/03/top-mv-sp.webp");
    height: 80vh;
    background-position: 50% 35%;
  }
  .section-top__title {
    width: 55vw;
    max-width: 400px;
    top: 80%;
    max-width: 660px;
    margin-right: 8vw !important;
  }
}
@media screen and (max-width: 768px) {
  .section-top__title {
    width: 60vw;
    max-width: 400px;
    top: 83%;
  }
}

/* メッセージ */
.section-message {
  background:
    url("/wp-content/uploads/2026/03/bg-rhombus4.svg") repeat,
    linear-gradient(
      138deg,
      rgba(240, 255, 251, 0.83) 0%,
      rgba(213, 247, 232, 1) 100%
    );
  background-size:
    45px 45px,
    cover;
}
.section-message__contents-wrapper {
  position: relative;
}
.section-message__text-wrapper {
  max-width: 1200px !important;
  margin: 0 auto !important;
}
.section-message__text-wrapper p {
  font-size: 20px;
}
.section-message__image {
  position: absolute;
}
.section-message__image.message-image01 {
  width: clamp(250px, 18vw, 275px);
  top: 0;
  left: -5%;
}
.section-message__image.message-image02 {
  width: clamp(180px, 18vw, 225px);
  bottom: 0;
  left: 0;
}
.section-message__image.message-image03 {
  width: clamp(300px, 20vw, 350px);
  bottom: 0;
  right: -7%;
}
.section-message__image.message-image04 {
  width: clamp(180px, 18vw, 220px);
  top: -3%;
  right: 0;
}
@media screen and (max-width: 1200px) {
  .section-message__text-wrapper {
    max-width: 80vw !important;
  }
  .section-message__image.message-image01 {
    width: clamp(180px, 20vw, 220px);
    left: -8vw;
  }
  .section-message__image.message-image02 {
    left: -3vw;
  }
  .section-message__image.message-image03 {
    width: clamp(270px, 18vw, 320px);
    right: -10vw;
  }
  .section-message__image.message-image04 {
    width: clamp(170px, 16vw, 200px);
    top: -4vw;
    right: -6vw;
  }
}
@media screen and (max-width: 992px) {
  .section-message {
    margin-bottom: -35vw;
  }
  .section-message__text-wrapper {
    max-width: 100vw !important;
    margin-bottom: 6vw !important;
  }
  .section-message__image {
    position: relative;
    margin: 0 !important;
  }
  .section-message__image.message-image01 {
    width: 40vw;
    left: 0;
    top: 5vw;
  }
  .section-message__image.message-image02 {
    width: 28vw;
    left: 0;
    top: 20vw;
  }
  .section-message__image.message-image03 {
    width: 50vw;
    right: -40vw;
    top: -32vw;
  }
  .section-message__image.message-image04 {
    width: 28vw;
    top: -50vw;
    right: -55vw;
  }

  .section-message__text-wrapper p {
    font-size: 3.2vw;
  }
  .section-message__text-wrapper {
  }
}
@media screen and (max-width: 768px) {
  .section-message__text-wrapper p {
    font-size: 4.2vw;
  }
  .section-message__image.message-image01 {
    width: 48vw;
    top: 5vw;
  }
  .section-message__image.message-image02 {
    width: 40vw;
    top: 17vw;
  }
  .section-message__image.message-image03 {
    width: 53vw;
    top: -43vw;
  }
  .section-message__image.message-image04 {
    width: 36vw;
    top: -62vw;
    right: -55vw;
  }
}

/* 実績 */
.section-page.section-result {
  background:
    url("/wp-content/uploads/2026/03/bg-rhombus3.svg") repeat,
    linear-gradient(
      180deg,
      rgba(0, 162, 115, 1) 0%,
      rgba(75, 183, 126, 1) 50%,
      rgba(166, 209, 140, 0.9) 100%
    );
  background-size:
    45px 45px,
    cover;
}
.section-h2.h2-result p {
  color: #fff;
}
.section-h2.h2-result p::before {
  left: -18%;
}
.section-h2.h2-result p::after {
  right: -37%;
}
.section-result__catch-copy {
  font-size: 36px;
  color: #fff;
  font-weight: 600;
  margin-bottom: 30px;
  line-height: 1.4;
}
.section-result__contents-wrapper {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  padding: 0;
}

.section-result__contents-wrapper li {
  position: relative;
  list-style: none;
  padding: 14px;
  /* background: linear-gradient(180deg,rgba(255, 255, 255, 0.9) 0%, rgba(209, 255, 244, 0.9) 100%); */
  background-color: #fff;
  border-radius: 4px;
}

.section-result__contents-wrapper li::marker {
  display: none !important;
}
.section-result__contents {
  padding: 20px;
  background-color: var(--beige);
  border-radius: 4px;
}
.section-result__contents-text {
  text-align: center;
  margin-top: 30px;
  margin-bottom: 7px;
  height: 140px;
}
.section-result__contents-text p {
  font-weight: 600;
  font-size: 24px;
  margin: 0;
  color: #333 !important;
  font-feature-settings: "palt";
}
.section-result__youtube-button {
  width: 42px;
  aspect-ratio: 1 / 1;
  position: absolute;
  bottom: 0;
  right: 5px;
  background-color: #fff;
  padding: 6px 0px 5px 6px;
  border-radius: 17px 0px;
}
.section-result__contents-image {
  position: relative;
}
.section-result__contents-image img {
  border-radius: 4px;
}
/* .section-result__contents-image::after {
  content: "";
  position: absolute;
  background: url("/wp-content/uploads/2026/03/youtube-button.svg") no-repeat;
  bottom: -4%;
  right: -7%;
  width: 60px;
  aspect-ratio: 1 / 1;
  background-size: 60px 60px;
} */
/* モーダル */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* 開いた状態 */
.modal.is-active {
  opacity: 1;
  visibility: visible;
}

/* モーダルの中身 */
.modal-container {
  position: relative;
  width: 90%;
  max-width: 400px; /* ←ショート動画用に縦寄り */
}
.modal-content {
  width: 100%;
}

.modal-content iframe {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  border: none;
}
.modal-caption {
  position: absolute;
  text-align: center;
  color: #fff;
  font-weight: bold;
  margin-bottom: 10px;
  top: -60px !important;
  left: 50% !important;
  transform: translateX(-50%);
  font-size: 20px;
  width: 100%;
  text-align: center !important;
}
.modal-video {
  position: relative;
  width: 100%;
  padding-top: 177.77%; /* 9:16 */
  background: #000;
  border-radius: 10px;
  overflow: hidden;
}

.modal-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
/* 閉じるボタン */
.modal-close {
  position: absolute;
  top: -30px;
  right: -30px;
  color: #000;
  font-size: 20px;
  cursor: pointer;
  background-color: #fff;
  border: #000 solid 2px;
  border-radius: 50%;
  width: 50px;
  aspect-ratio: 1 / 1;
  display: flex;
  z-index: 100;
  align-items: center;
  justify-content: center;
}

.js-modal-open {
  display: block;
  width: 100%;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}
@media screen and (max-width: 1200px) {
  .section-result__contents-wrapper {
    grid-template-columns: repeat(4, 1fr);
  }
  .section-result__contents-wrapper p {
    font-size: 20px;
  }

  .section-result__contents-wrapper p span {
    font-size: clamp(14px, 3vw, 18px);
    padding: 0 0.4em;
  }
  .section-result__contents-text {
    height: 110px;
  }
}
@media screen and (max-width: 992px) {
  .section-result__catch-copy {
    font-size: 4vw;
  }
  .section-result__contents-wrapper {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.6vw;
  }
  .section-result__contents-wrapper li {
    padding: 2.2vw;
    border-radius: 0.4vw;
  }

  .section-result__contents-wrapper p {
    font-size: 3.4vw;
  }
  .section-result__youtube-button {
    width: 6.4vw;
    padding: 0.8vw 0px 0.5vw 0.8vw;
  }
  .section-result__contents-image img {
    border-radius: 0.4vw;
  }
  .section-result__contents-text {
    margin-top: 2vw;
    margin-bottom: 2vw;
  }
  .section-result__contents-text {
    height: 20vw;
  }
  /* モーダル */
  .modal-caption {
    font-size: clamp(18px, 5.6vw, 20px) !important;
    top: -6vw !important;
  }
}
@media screen and (max-width: 768px) {
  .section-result__catch-copy {
    font-size: 6vw;
  }
  .section-result__contents-wrapper li {
    padding: 2.4vw;
  }
  .section-result__contents-wrapper p {
    font-size: clamp(14px, 3.8vw, 20px);
  }
  .section-result__youtube-button {
    width: 8.5vw;
    max-width: 50px;
  }
  /* モーダル */
  .modal-container {
    width: 70%;
  }
  .modal-close {
    top: -6vw;
    right: -7vw;
    font-size: 6vw;
    width: 12vw;
  }
  .modal-caption {
    font-size: clamp(14px, 3.6vw, 18px) !important;
    top: -9vw !important;
  }
}

/* 実績グラフ */
.section-finances-result__explanation-text {
  color: #fff;
}
.section-result-graph__category-title {
  font-size: 30px;
  font-weight: 600;
  margin: 0 !important;
  font-feature-settings: "palt";
}
.section-result-graph__category-title.result-title__saving {
  color: #e15643;
}
.section-result-graph__category-title.result-title__debt {
  color: #285fac;
}
.section-result-graph__summary {
  color: #fff;
  background-color: var(--main-color);
  font-size: 24px;
  font-weight: 600;
  padding: 15px 0;
  border-radius: 4px;
  line-height: 1.2;
  margin-bottom: 20px !important;
}
.section-result-graph__graph-name {
  font-size: 18px;
  font-weight: 600;
  font-feature-settings: "palt";
}
.section-result-graph__graph {
  margin-top: 50px;
}
.section-result-graph__item {
  margin-top: 20px !important;
}
.section-result-graph__graph-column {
  padding: 30px;
  background-color: #fff;
  border-radius: 4px;
}
.section-result-graph__graph-column.graph-column__debt {
  background-color: #fff;
}
.section-finances-result__wrapper {
  margin-top: 60px !important;
}
@media screen and (max-width: 1200px) {
  .section-result-graph__category-title {
    font-size: 26px;
  }
}
@media screen and (max-width: 992px) {
  .section-finances-result__wrapper {
    margin-top: 7vw;
  }
  .section-result-graph__graph-column {
    padding: 3vw;
  }
  .section-result-graph__category-title {
    font-size: 2.2vw;
  }
  .section-result-graph__item {
    margin-top: 3vw !important;
  }
  .section-result-graph__summary {
    font-size: 2vw;
    padding: 1.2vw 0;
    margin-bottom: 2vw !important;
    border-radius: 4px;
  }
  .section-result-graph__graph-name {
    font-size: 1.8vw;
    margin-bottom: 1.2vw !important;
  }
}
@media screen and (max-width: 782px) {
  .section-finances-result__contents-column {
    flex-wrap: wrap !important;
  }
  .section-finances-result__wrapper {
    margin-top: 8vw;
  }
  .section-result-graph__graph-column {
    padding: 5vw;
  }
  .section-result-graph__category-title {
    font-size: 5vw;
  }
  .section-result-graph__summary {
    font-size: 3.8vw;
    padding: 1.8vw 0;
    margin-bottom: 2vw !important;
  }
  .section-result-graph__graph-name {
    font-size: 3.8vw;
  }
  .section-result-graph__item {
    margin-top: 6vw !important;
  }
}

/* 実績詳細 */
.section-result-detail__wrapper {
  margin-top: 60px !important;
}
/* タブ */

.section-result-detail__tab-wrapper li {
  color: #333 !important;
}

/* タブの中身 */
.section-result-detail__contents-item {
  margin-bottom: 60px !important;
}
.wp-block-group.vk_block-margin-0--margin-top.vk_block-margin-0--margin-bottom.has-border-color.has-background.is-layout-flow.wp-block-group-is-layout-flow {
  background-image:
    linear-gradient(
      0deg,
      transparent calc(100% - 1px),
      #f9f9f9 calc(100% - 1px)
    ),
    linear-gradient(
      90deg,
      transparent calc(100% - 1px),
      #f9f9f9 calc(100% - 1px)
    );
  background-size: 13px 13px;
  background-repeat: repeat;
  background-position: center center;
  padding: 20px;
}
.section-result-detail__tab-wrapper img {
  border-radius: 4px;
}

.section-result-detail__h2 {
  margin-bottom: 30px;
}
.section-result-detail__h2 p {
  font-size: 24px;
  font-weight: 600;
  display: inline;
}
.section-result-detail__h2-number p {
  font-size: 42px;
  line-height: 1;
  font-weight: 600;
  color: var(--main-color);
}

.section-result-detail__h2 p.result-detail__green {
  background: linear-gradient(transparent 70%, #27cc99 0%);
}
.section-result-detail__h2 p.result-detail__blue {
  background: linear-gradient(transparent 70%, #44b6fc 0%);
}
.section-result-detail__h2 p.result-detail__light-green {
  background: linear-gradient(transparent 70%, #d0f44a 0%);
}
.section-result-detail__h2 p.result-detail__pink {
  background: linear-gradient(transparent 70%, #ff827e 0%);
}
.section-result-detail__h2 p.result-detail__yellow {
  background: linear-gradient(transparent 70%, #ffe048 0%);
}
.section-result-detail__contents-list li {
  background-color: inherit !important;
}
.section-result-detail__contents-list.result-detail__lists-green li::marker {
  color: #27cc99;
}
.section-result-detail__contents-list.result-detail__lists-blue li::marker {
  color: #44b6fc;
}
.section-result-detail__contents-list.result-detail__lists-light-green
  li::marker {
  color: #d0f44a;
}
.section-result-detail__contents-list.result-detail__lists-pink li::marker {
  color: #ff827e;
}
.section-result-detail__contents-list.result-detail__lists-yellow li::marker {
  color: #ffe048;
}

@media screen and (max-width: 992px) {
  .section-result-detail__wrapper {
    margin-top: 7vw;
  }
  .section-result-detail__contents-item {
    margin-bottom: 5vw !important;
  }
  .section-result-detail__h2 {
    margin-bottom: 2vw;
  }
  .section-result-detail__h2 p {
    font-size: 2.4vw;
  }
}
@media screen and (max-width: 768px) {
  .section-result-detail__wrapper {
    margin-top: 8vw;
  }
  .section-result-detail__h2 {
    margin-bottom: 4vw;
  }
  .section-result-detail__h2 p {
    font-size: 5.4vw;
  }
}

/* SNS */
.section-sns {
  background:
    url("/wp-content/uploads/2026/03/bg-rhombus4.svg") repeat,
    radial-gradient(
      circle,
      rgba(255, 255, 237, 0.85) 0%,
      rgba(213, 247, 232, 0.9) 80%
    );
  background-size:
    45px 45px,
    cover;
}
.section-h2.h2-sns p::before {
  left: -54%;
}
.section-h2.h2-sns p::after {
  right: -115%;
}
.section-sns__contents-column {
  margin-bottom: 100px !important;
}
.section-sns__sns-title {
  font-size: 28px;
  font-weight: 600;
  text-align: center;
  padding: 10px 0;
  border-radius: 4px;
}
.section-sns__sns-title.sns-x {
  background-color: #000;
  color: #fff;
}
.section-sns__sns-title.sns-ig {
  background-color: #cf2e92;
  color: #fff;
}
.section-sns__sns-title.sns-fb {
  background-color: #1877f2;
  color: #fff;
}
.section-sns__contents {
  height: 930px;
}
.section-sns__youtube {
  position: relative;
  display: inline-block;
}
.section-sns__youtube-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: 0.3s;
  width: 80px;
}
.section-sns__youtube:hover .section-sns__youtube-icon {
  opacity: 1;
}
.section-sns__contents-under {
  height: 570px;
}
.section-sns__sns-title.sns-youtube {
  background-color: #ff0033;
  color: #fff;
}
.section-sns__sns-title.sns-tiktok {
  background-color: #000;
  color: #fff;
}
.section-sns__youtube-image img {
  width: 100% !important;
}
@media screen and (max-width: 992px) {
  .section-sns__contents-column {
    flex-wrap: wrap !important;
    flex-direction: column;
  }
  .section-sns__contents,
  .section-sns__contents-under {
    height: inherit;
  }
  .section-sns__contents-item {
    margin-bottom: 10vw !important;
  }
  .section-sns__sns-title {
    font-size: 2.8vw;
    padding: 1.2vw 0;
  }
  .section-sns__contents.sns-contents__fb,
  .sns-contents__youtube {
    margin-bottom: 2.4vw !important;
  }
  .section-sns__contents-column {
    margin-bottom: 0 !important;
  }
  .section-sns__youtube-icon {
    width: 7vw;
  }
}
@media screen and (max-width: 768px) {
  .section-sns__contents-item {
    margin-bottom: 12vw !important;
  }
  .section-sns__sns-title {
    font-size: 5.6vw;
    padding: 1.4vw 0;
    border-radius: 1vw;
    margin: 0 !important;
  }
  .section-sns__youtube-icon {
    width: 30vw;
  }
}

/* プロフィール */
.section-h2.h2-profile p::before {
  left: -17%;
}
.section-h2.h2-profile p::after {
  right: -39%;
}
.section-profile__name {
  font-size: 30px;
  font-weight: 600;
}
.section-profile__subtitle {
  border-left: 8px solid var(--main-color);
  font-weight: 600;
  font-size: 20px;
  padding: 0 0 0 10px;
  margin-bottom: 10px !important;
}
@media screen and (max-width: 992px) {
  .section-profile__name {
    font-size: 3.4vw;
  }
  .section-profile__subtitle {
    font-size: 2.2vw;
    padding: 0 0 0 1vw;
    margin-bottom: 1vw !important;
  }
}
@media screen and (max-width: 768px) {
  .section-profile__name {
    font-size: 8.4vw;
  }
  .section-profile__subtitle {
    font-size: 5.2vw;
    margin-bottom: 2vw !important;
  }
}

/* 事務所住所 */
.section-access {
  background:
    url("/wp-content/uploads/2026/03/bg-rhombus4.svg") repeat,
    linear-gradient(
      138deg,
      rgba(240, 255, 251, 0.83) 0%,
      rgba(213, 247, 232, 1) 100%
    );
  background-size:
    45px 45px,
    cover;
}
.section-h2.h2-access p::before {
  left: -25%;
}
.section-h2.h2-access p::after {
  right: -49%;
}
/* お問い合わせ */
input[type="submit"] {
  border: inherit !important;
  background-color: var(--main-color) !important;
  padding: 1.2em 0 !important;
  width: 60% !important;
  font-weight: 600;
  display: flex;
  text-align: center;
  justify-content: center;
  margin: 0 auto !important;
}
.section-h2.h2-contact p::before {
  left: -18%;
}
.section-h2.h2-contact p::after {
  right: -41%;
}
/* フッター */
.site-footer {
  background: linear-gradient(
    337deg,
    rgba(0, 74, 116, 1) 32%,
    rgba(0, 179, 158, 1) 100%
  ) !important;
}
.footer__lists-wrapper ul {
  list-style: none;
}
.footer__lists-wrapper ul li {
  font-size: 18px;
}
.grecaptcha-badge {
  visibility: hidden;
}
@media screen and (max-width: 768px) {
  .footer__lists-wrapper ul li {
    font-size: 4vw;
  }
}
