/*
Theme Name: Lightning Child
Theme URI:
Template: lightning
Description:
Author:
Tags:
Version: 0.6.1
*/
@charset "UTF-8";
@import url("../lightning/style.css");
@import url("https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&family=Zen+Kaku+Gothic+Antique:wght@300;400;500;700;900&family=Zen+Kaku+Gothic+New:wght@300;400;500;700;900&display=swap");

:root {
  --navy: #003840;
  --gray: #d0d0d0;
  --red: #d86f37;
  --yellow: #ffdc50;
  --lgreen: #90c030;
  --blue: #62c7d7;
  --black: #3a3535;
  --palelgreen: #f1f8e3;
  --paleblue: #dceaec;
  --paleyellow: #fefcdf;
  --brown: #974a20;
}

/*wakayama 上記Rroot importの順番変えると反映されなくなるので注意*/
ul li {
  list-style: none;
  list-style-type: unset !important;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  width: 100%;
}
a:hover,
a:active,
a:focus {
  opacity: 0.7;
  text-decoration: none;
  transition: 1s;
  color: var(--lgreen);
}
br {
  line-height: 0;
}
body a:where(:not(.wp-element-button)) {
  text-decoration: none;
}
.pt-05 {
  padding-top: 0.5em !important;
}
.pt-1 {
  padding-top: 1em !important;
}
.pt-2 {
  padding-top: 2em !important;
}
.pt-3 {
  padding-top: 3em !important;
}
.pt-5 {
  padding-top: 5em !important;
}
.pt-10 {
  padding-top: 10em !important;
}
.pt-15 {
  padding-top: 15em !important;
}
.py-1 {
  padding-top: 1em !important;
  padding-bottom: 1em !important;
}
.py-2 {
  padding-top: 2em !important;
  padding-bottom: 2em !important;
}
.py-3 {
  padding-top: 3em !important;
  padding-bottom: 3em !important;
}
.py-5 {
  padding-top: 5em !important;
  padding-bottom: 5em !important;
}
.py-10 {
  padding-top: 10em !important;
  padding-bottom: 10em !important;
}
.py-15 {
  padding-top: 15em !important;
  padding-bottom: 15em !important;
}
.pb-0 {
  padding-bottom: 0em !important;
}
.pb-1 {
  padding-bottom: 1em !important;
}
.pb-2 {
  padding-bottom: 2em !important;
}
.pb-3 {
  padding-bottom: 3em !important;
}
.pb-5 {
  padding-bottom: 5em !important;
}
.pb-10 {
  padding-bottom: 10em !important;
}
.mt-0 {
  margin-top: 0 !important;
}
.mt-1 {
  margin-top: 1em !important;
}
.mt-2 {
  margin-top: 2em !important;
}
.mt-3 {
  margin-top: 3em !important;
}
.mt-4 {
  margin-top: 4em !important;
}
.mt-5 {
  margin-top: 5em !important;
}
.mt-5 {
  margin-top: 5em !important;
}
.mt-10 {
  margin-top: 10em !important;
}
.mt-minus-5 {
  margin-top: -5em;
}
.mb-minus-1 {
  margin-bottom: -1em !important;
}
.mb-0 {
  margin-bottom: 0 !important;
}
.mb-1 {
  margin-bottom: 1em !important;
}
.mb-2 {
  margin-bottom: 2em !important;
}
.mb-3 {
  margin-bottom: 3em !important;
}
.mb-4 {
  margin-bottom: 4em !important;
}
.mb-5 {
  margin-bottom: 5em !important;
}
.my-0 {
  margin-bottom: 0 !important;
  margin-top: 0 !important;
}
.mx-5 {
  margin-left: 5% !important;
  margin-right: 5% !important;
}
.px-1em {
  padding-left: 1em !important;
  padding-right: 1em !important;
}
.px-5 {
  padding-left: 5% !important;
  padding-right: 5% !important;
}
.px-57 {
  padding-left: 5.7% !important;
  padding-right: 5.7% !important;
}
.mx-5 {
  margin-left: 5%;
  margin-right: 5%;
}
.mx-minus-5 {
  margin-left: -5.7% !important;
  margin-right: -5.7% !important;
}
.mx-minus-1 {
  margin-left: -1% !important;
  margin-right: -1% !important;
}
.flex {
  display: flex;
}
.flex img {
  min-width: 0;
}
.flex-between {
  gap: 3%;
  justify-content: space-between;
}
.link-btn .pc,
br.pc {
  display: block;
}
.link-btn .sp,
br.sp {
  display: none;
}
@media (max-width: 768px) {
  .sp-px-5 {
    padding-left: 5%;
    padding-right: 5%;
  }
  .sp-mx-5 {
    margin-left: 5%;
    margin-right: 5%;
  }
  .sp-mb-2 {
    margin-bottom: 2em !important;
  }
  .sp-mb-3 {
    margin-bottom: 3em !important;
  }
  .sp-mb-5 {
    margin-bottom: 5em !important;
  }
  .sp-mt-2 {
    margin-top: 2em;
  }
  .sp-mt-10 {
    margin-top: 10em;
  }
  br.pc {
    display: none;
  }
  .link-btn .sp,
  br.sp {
    display: block;
  }
}
/*文字サイズ*/
.f03em {
  font-size: 0.3em !important;
}
.f04em {
  font-size: 0.4em !important;
}
.f05em {
  font-size: 0.5em !important;
}
.f06em {
  font-size: 0.6em !important;
}
.f07em {
  font-size: 0.7em !important;
}
.f08em {
  font-size: 0.8em !important;
}
.f09em {
  font-size: 0.9em !important;
}
.f10em {
  font-size: 1em !important;
}
.f11em {
  font-size: 1.1em !important;
}
.f12em {
  font-size: 1.2em !important;
}
.f13em {
  font-size: 1.3em !important;
}
.f14em {
  font-size: 1.4em !important;
}
.f15em {
  font-size: 1.5em !important;
}
.f16em {
  font-size: 1.6em !important;
}
.f17em {
  font-size: 1.7em !important;
}
.f18em {
  font-size: 1.8em !important;
}
.f19em {
  font-size: 1.9em !important;
}
.f20em {
  font-size: 2em !important;
}
.f21em {
  font-size: 2.1em !important;
}
.f22em {
  font-size: 2.2em !important;
}
.f23em {
  font-size: 2.3em !important;
}
.f24em {
  font-size: 2.4em !important;
}

@media (max-width: 550px) {
  .sp-f13em {
    font-size: 1.3em !important;
  }
  .sp-f15em {
    font-size: 1.5em !important;
  }
  .sp-f16em {
    font-size: 1.6em !important;
  }
  .sp-f09em {
    font-size: 0.9em !important;
  }
}
@media (max-width: 768px) {
  .flex-sp100 {
    flex-direction: column !important;
  }
  .flex-sp100-wrap {
    width: 100% !important;
  }
}
/*wakayama*/
body,
body header.siteHeader,
body footer {
  color: var(--black);
  font-family: "Zen Kaku Gothic Antique", sans-serif;
  font-family: "Zen Kaku Gothic New", sans-serif;
	font-weight:500;
}
@media (max-width: 1440px) {
  html body {
    font-size: calc((100vw - 320px) / 280 + 14px) !important; /* 18px~14px */
  }
}
h1.no-text-title{
	font-size:0;
}
.veu_socialSet {
  margin-bottom: 0;
  display: none;
}
h2 {
  border-top: none;
  border-bottom: none;
}
.font-en {
  font-family: "Roboto Condensed", sans-serif;
}
/*TOPページ*/
/*一時的*/
#wpadminbar {
  display: none;
}

/*ヘッダー*/
.header_logo {
  margin-bottom: 0;
  max-width: 350px;
}
.siteHeadContainer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1.5em;
	padding-top:0.5em;
}
.gMenu_outer .lp-menu {
  display: flex;
  gap: 4%;
  justify-content: flex-end;
  align-items: center;
}
.gMenu_outer .lp-menu li {
  width: fit-content;
}
.gMenu_outer .lp-menu li a {
  font-size: 0.9em;
  font-weight: 500;
  word-break: keep-all;
}
.gMenu_outer .lp-menu li a[href*="contact"], .black-bg ul li a[href*="contact"]{
    background:#ffc21a;
  position: relative;
  font-size: 1em;
  font-weight: 700;
  line-height: 1.5;
  position: relative;
  display: inline-block;
  padding: 0.7em 1em 0.7em 3em;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  color: #fff;
  border-radius: 2em;
	 /* アニメーション追加 */
    animation: pulse-cta 2s ease-in-out infinite;
}
.gMenu_outer .lp-menu li a[href*="contact"]:before ,.black-bg ul li a[href*="contact"]:before{
  position: absolute;
  left: 1.5em;
  font-family: "Font Awesome 5 Free";
  content: "\f0e0";
  margin-top: 2px;
}

/* ゆっくりとした拡大縮小アニメーション */
@keyframes pulse-cta {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}
.gMenu_outer {
  min-width: 794px;
}
@media (min-width: 992px) {
  .siteHeadContainer {
    max-width: 1200px;
  }
}
@media (max-width: 1000px) {
  .siteHeadContainer {
    flex-direction: column;
  }
  .gMenu_outer .lp-menu {
    justify-content: center;
  }
}
/*こんなお悩み*/
section.onayami {
  text-align: center;
  clip-path: polygon(0% 0%, 100% 0%, 100% 95%, 60% 95%, 50% 100%, 40% 95%, 0 95%);
  filter: drop-shadow(2px 2px 3px var(--gray));
}
.gray-back {
  background: #f7f7f7;
}
.max1200 {
  max-width: 1200px;
  margin: 0 auto;
}
.max1000 {
  max-width: 1000px;
  margin: 0 auto;
}
.max830 {
  max-width: 830px;
  margin: 0 auto;
}
.fv img {
  max-width: 1200px;
  margin: 0 auto;
}
.fv {
  position: relative;
  background: url("https://cloudkaikei.sakamori-cpa.com/wp-content/uploads/2025/10/FV-back-scaled.webp") no-repeat;
  background-size: cover;
  background-position: 50% 50%;
  text-align: center;
  padding: 5em 5%;
  z-index: 2;
  border-bottom-left-radius: 100% 10%;
  border-bottom-right-radius: 100% 10%;
}
.sp-fv {
  display: none;
}
.sp-contact-btn.gMenu_outer {
  display: none;
}
@media (max-width: 768px) {
  .fv {
    display: none;
  }
  .sp-fv {
    display: block;
    margin-top: -2em;
  }
  .gMenu_outer {
    display: none;
  }
  .header_logo {
    position: absolute;
    top: 15px;
    left: 5%;
    width: 84%;
        background: #fff;
        padding: 0.5em 0.5em 0;
	  border-radius:5px;
  }
  .gMenu_outer.sp-contact-btn {
    display: block;
	min-width: unset;
  }
  .gMenu_outer.sp-contact-btn .lp-menu {
    justify-content: center;
    padding: 0 0 3em;
	  margin-top:-4em;
  }
  .gMenu_outer.sp-contact-btn .lp-menu li a[href*="contact"] {
    font-size: 1.6em;
padding: 0.7em 2em 0.7em 4em;
  }
  .py-10 {
    padding-top: 4em !important;
    padding-bottom: 4em !important;
  }
}
.balloon {
  position: relative;
  display: inline-block;
  padding: 0.5em 1.5em;
  margin-bottom: 2em;
  max-width: 100%;
  color: #fff;
  font-weight: bold;
  background: #9bba74;
  border-radius: 2em;
}
.balloon:before {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -15px;
  border: 10px solid transparent;
  border-top: 11px solid #9bba74;
}
.balloon span {
  margin: 0;
  padding: 0;
}
ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.onayami-box {
  display: flex;
  flex-direction: column; /* 縦方向に要素を並べる */
  justify-content: center; /* 垂直方向に中央揃え */
  flex: 1; /* 各ボックスを同じ幅にする */
  width: 30%;
  border: 2px solid #bfbfbf;
  border-radius: 2em;
  background: #fff;
  padding: 3em 2em 1.5em;
}
.onayami-box h3 {
  font-size: 1.1em;
  color: var(--red);
  border-bottom: dotted 1px var(--red);
}
h3:where(:not(.wp-block-post-title)):after {
  display: none;
}

ul.onayami-list li {
	font-size:0.9em;
	font-weight:bold;
  border-bottom: dotted 1px var(--gray);
  padding-bottom: 1em;
  margin-top: 0;
  margin-bottom: 1em;
}
section.onayami {
  margin-top: -10em;
}
section.onayami .flex {
  justify-content: center;
  align-items: stretch; /* 各ボックスの高さを揃える */
  gap: 3%;
}
.mt-minus-2 {
  margin-top: -2em !important;
}
.mt-minus-1 {
  margin-top: -1em !important;
}
.onayami-img {
  width: 50%;
  max-width: 650px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  section.onayami {
    margin-top: 0;
    clip-path: polygon(0% 0%, 100% 0%, 100% 98%, 60% 98%, 50% 100%, 40% 98%, 0 98%);
  }
  section.onayami .flex {
    flex-direction: column;
    margin-top: 3em !important;
  }
  .onayami-box {
    width: 100%;
    margin-bottom: 1em;
  }
  section.onayami h2 .f13em {
    font-size: 1em !important;
  }
  .onayami-list.pt-3 {
    padding-top: 0 !important;
  }
  .onayami-img {
    width: 90%;
    margin-top: 0 !important;
  }
	
ul.onayami-list li {
	font-size:1.1em;
	}
}
/*マネーフォワード記帳申告プランでできること*/
section.about-plan {
  margin-top: -10%;
}
.paleyellow-back {
  background: #fcfbf2;
}
.green-roundback {
  display: inline-block;
  background: var(--lgreen);
  color: #fff;
  font-weight: bold;
  border: 2px solid #fff;
  border-radius: 2em;
  padding: 0em 1em;
  margin-right: 0.5em;
  box-shadow: 2px 2px 3px var(--gray);
}
.b {
  font-weight: bold;
}
.f500 {
  font-weight: 500;
}
.lh25 {
  line-height: 2.5;
}
.banzai {
  position: relative;
  display: inline-block;
}
.banzai::before {
  position: absolute;
  left: -1.2em;
  bottom: 0;
  content: "";
  width: 2px;
  height: 2em;
  background-color: var(--black);
  border-radius: 3px;
  transform: rotate(-30deg);
}
.banzai::after {
  position: absolute;
  right: -1.2em;
  bottom: 0;
  content: "";
  width: 2px;
  height: 2em;
  background-color: var(--black);
  border-radius: 3px;
  transform: rotate(30deg);
}
.white-back {
  background: #fff;
}
h2.backgray-title {
  display: inline-block;
  background: #eeeeee;
  color: var(--black);
  font-weight: bold;
  border: 3px solid var(--black);
  border-radius: 2em;
  padding: 0.5em 1em;
  margin-right: 0.5em;
  box-shadow: 2px 2px 3px var(--gray);
}
.r2em {
  border-radius: 2em;
}
.r1em {
  border-radius: 1em;
}
section.about-plan h2 {
  position: relative;
}
.fukidashi-right-btm {
  position: absolute;
  top: -6em;
  left: -6.5em;
  display: inline-block;
  padding: 0 5px;
  width: 9em;
  height: 9em;
  line-height: 90px;
  text-align: center;
  color: var(--navy);
  background: var(--yellow);
  border-radius: 50%;
  box-sizing: border-box;
}
.fukidashi-right-btm:before {
  content: "";
  position: absolute;
  bottom: -3px;
  right: 0;
  margin-top: -15px;
  border: 15px solid transparent;
  border-left: 15px solid var(--yellow);
  z-index: 0;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}
.fukidashi-right-btm p {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: pre;
}
ul.plan-list {
  max-width: 830px;
  margin: 0 auto;
  counter-reset: plan-number;
}
ul.plan-list > li,
.plan-price {
  background: var(--blue);
  padding: 2em 2em 3em;
  border-radius: 1em;
  margin-bottom: 2em;
}
ul.plan-list h3 {
  text-align: center;
  border-bottom: none;
  color: #fff;
  font-size: 1.8em;
  margin-bottom: 0.2em;
}
ul.plan-list h3:before {
  content: "";
  counter-increment: plan-number; /* カウンターを増やす */
  content: "0" counter(plan-number); /* 0付きの数字を表示 */
  color: var(--blue);
  background: #fff;
  border-radius: 50%;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 0.9em;
  width: 1.5em;
  height: 1.5em;
  display: inline-block;
  margin-right: 0.5em;
}
ul.plan-list li .flex {
  justify-content: space-between;
  align-items: stretch;
}
ul.plan-list .plan-flex-left,
ul.plan-list .plan-flex-right,
section.plan-price > .flex > div {
  background: #fff;
  border-radius: 1em;
  width: 47.5%;
  padding: 1.5em 1em;
}
ul.plan-list .plan-flex-left {
  display: flex;
  justify-content: center;
  align-items: center; /* 縦方向の中央揃え */
}
ul.plan-list .plan-flex-right {
  position: relative;
  border: 4px solid #abf4ff;
}
ul.plan-list .plan-flex-right::before {
  content: "";
  position: absolute;
  background: #fff;
  clip-path: polygon(0 0, 0% 100%, 35% 50%);
  top: 50%;
  left: -2.5%;
  width: 2.5em;
  height: 3em;
  transform: translate(-50%, -50%);
}
.yellow-underline {
  background: linear-gradient(transparent 60%, #fff8717d 60%);
}
.blue-underline {
  background: linear-gradient(transparent 60%, #9cd3dc8c 60%);
}
.lgreen-underline {
  background: linear-gradient(transparent 60%, var(--palelgreen) 60%);
}
.roundback {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  border-radius: 2em;
  padding: 0.5em 2em;
  box-shadow: 2px 2px 3px var(--gray);
}
ul.checkcircle-list li {
  display: flex;
  align-items: center;
  margin-bottom: 2em;
		font-weight:bold;
}
ul.checkcircle-list li:last-child {
  margin-bottom: 0;
}
ul.checkcircle-list li i {
  font-size: 1.3em;
  color: var(--blue);
}
ul.plan-list > li:nth-child(2) {
  background: var(--red);
}
ul.plan-list > li:nth-child(2) h3:before,
ul.plan-list > li:nth-child(2) i {
  color: var(--red);
}
ul.plan-list > li:nth-child(2) .plan-flex-right {
  border: 4px solid #fec0a0;
}
ul.plan-list > li:nth-child(3) {
  background: var(--lgreen);
}
ul.plan-list > li:nth-child(3) h3:before,
ul.plan-list > li:nth-child(3) i {
  color: var(--lgreen);
}
ul.plan-list > li:nth-child(3) .plan-flex-right {
  border: 4px solid #d8f4a1;
}
.report-box {
  display: flex;
  align-items: center;
  background: var(--paleyellow);
  padding: 1em;
  border-radius: 1em;
  gap: 2%;
}
.report-box p {
  flex: 1;
  margin-bottom: 0;
}
.report-box .clickable-image{
  flex: 2;
}
.red-back {
  background: var(--red);
}
.lgreen-back {
  background: var(--lgreen);
}
.yellow-back {
  background: var(--yellow);
}
.navy-back {
  background: var(--navy);
  color: #fff;
}
.navy2-back {
  background: #35737c;
  color: #fff;
}
.paleblue-back {
  background: var(--paleblue);
}
.paleyellow-back {
  background: var(--paleyellow);
}
.palelgreen-back {
  background: var(--palelgreen);
}
.paleorange-back {
  background: #fff9ef;
}
.text-navy {
  color: var(--navy);
}
.text-white {
  color: #fff;
}
.conversation .flex img {
  width: 20%;
}
.conversation .flex p {
  width: 60%;
}
.conversation .flex {
  justify-content: center;
  align-items: center;
  gap: 3%;
}
.conversation .flex:nth-child(2) {
  flex-direction: row-reverse;
}
.conversation .flex .roundback {
  box-shadow: none;
  padding: 1em 2em;
  text-align: center;
}
section.plan-price > .flex {
  gap: 5%;
}
section.plan-price h3 {
  border-bottom: none;
  color: var(--navy);
  font-size: 1.8em;
}
section.plan-price .roundback {
  box-shadow: none;
  padding: 0.3em 0.8em;
}
section.plan-price .roundback.navy2-back {
  padding: 0 2.5em;
  margin-right: 0.5em;
}
.balloon.yellow-back::before {
  border-top: 11px solid var(--yellow);
}
.flex.about-shokiprice {
  align-items: end;
  justify-content: center;
  gap: 1%;
}
.flex.about-shokiprice p,
.flex.about-shokiprice h4 {
  margin-bottom: 0;
}
span.arrow {
  display: inline-block;
  background: var(--navy);
  clip-path: polygon(0 0, 0% 100%, 55% 50%);
  width: 2em;
  height: 1.8em;
}
.text-red {
  color: var(--red);
}
.mr-05 {
  margin-right: 0.5em !important;
}
/*ボタン*/
a.btn , input[type=submit].wpcf7-sub{
  position: relative;
  font-size: 1em;
  font-weight: 700;
  line-height: 1.5;
  position: relative;
  display: inline-block;
  padding: 1em 2.5em;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  color: var(--navy);
  border-radius: 5px;
}
.squere-btn.btn,input[type=submit].wpcf7-submit {
  border: 2px solid var(--navy);
  background: #fff;
  -webkit-box-shadow: 4px 4px 0 var(--navy);
  box-shadow: 4px 4px 0 var(--navy);
}
.squere-btn.btn:hover ,input[type=submit].wpcf7-submit:hover{
  -webkit-box-shadow: -4px -4px 0 var(--navy);
  box-shadow: -4px -4px 0 var(--navy);
}
.squere-btn.btn::after,input[type=submit].wpcf7-submit::after {
  position: absolute;
  content: "";
  background: var(--navy);
  clip-path: polygon(0 0, 0% 100%, 55% 50%);
  width: 1em;
  height: 1em;
  margin-left: 1em;
  top: 50%;
  transform: translateY(-50%);
}
@media (max-width: 768px) {
  section.about-plan .f20em {
    font-size: 1.3em !important;
  }
  h2.backgray-title {
    font-size: 1.2em;
  }
  .fukidashi-right-btm {
    top: -7.5em;
    left: -2.5em;
    width: 8em;
    height: 8em;
    font-size: 0.7em !important;
  }
  .fukidashi-right-btm:before {
    bottom: -1em;
    right: 0;
    transform: rotate(50deg);
  }
  ul.plan-list li .flex,
  section.plan-price > .flex {
    flex-direction: column;
  }
  ul.plan-list .plan-flex-left,
  ul.plan-list .plan-flex-right,
  section.plan-price > .flex > div {
    width: 100%;
  }
  ul.plan-list .plan-flex-left {
    margin-bottom: 3em;
  }
  ul.plan-list .plan-flex-right::before {
    clip-path: polygon(100% 0, 0 0, 50% 50%);
    top: -1em;
    left: 50%;
    width: 3em;
    height: 2em;
  }
  ul.plan-list h3 {
    font-size: 1.4em;
    letter-spacing: -1px;
  }
  .conversation .flex .roundback {
    flex-grow: 1;
  }
  .conversation .flex .f13em {
    font-size: 1em !important;
  }
  .conversation .flex .roundback,  .conversation .flex .px-5 {
    padding: 1em 0!important;
  }
  section.plan-price {
    font-size: 0.9em;
  }
  section.plan-price > .flex > .flex-left {
    margin-bottom: 1em;
  }
  .flex.about-shokiprice {
    flex-wrap: wrap;
  }
  /* .flex.about-shokiprice h4 {
    font-size: 1em !important;
  } */
  .flex.about-shokiprice {
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    gap: 1.2em;
    padding: 1.5em 0;
  }
  span.arrow {
    clip-path: polygon(100% 0, 0 0, 50% 100%);
    height: 1em;
  }
  .flex.about-shokiprice .f20em {
    font-size: 2.3em !important;
  }
  .flex.about-shokiprice h4 {
    margin-bottom: 0;
    margin-right: 0 !important;
    font-size: 1.4em !important;
  }
	a.btn {
		font-size:1.1em;
	}
}
/*オファー*/
section.offer {
  border-top: 5px solid var(--yellow);
  border-bottom: 5px solid var(--yellow);
}
.hide-text {
  display: none;
}
a.btn--green {
  color: #fff;
  background-color: var(--lgreen);
}
a.btn--green:hover {
  color: #fff;
  background: #c8fa65;
}
a.btn--green.btn--cubic {
  border-bottom: 5px solid #80984f;
}
a.btn--yellow {
  color: #fff;
  background-color: #ffc21a;
}
a.btn--yellow:hover {
  color: #fff;
  background: #ffe499;
}
a.btn--yellow.btn--cubic {
  border-bottom: 5px solid #c2951a;
}
a.btn--cubic:hover {
  margin-top: 3px;
}
a.btn-c {
  display: flex;
  gap: 0.5em;
  align-items: center;
  justify-content: center;
  font-size: 1.4em;
  position: relative;
  padding: 0.5em 1.5em 0.5em 0.8em;
  border-radius: 100vh;
  line-height: 1;
  max-width: 394px;
  min-width: 294px;
  margin: 0 auto;
}
a.btn-c i {
  background: #fff;
  color: var(--lgreen);
  border-radius: 50%;
  padding: 0.6em;
}
.t-shadow {
  text-shadow: 1px 1px 2px #3a353540;
}
.btn-text {
  margin-top: -5px;
}
.flex.btns-wrap {
  justify-content: center;
}
.btns-wrap .btn-box {
  width: 45%;
}
a.btn-c.btn--yellow i {
  color: #ffc21a;
}
a.btn-c.btn--yellow .t-shadow {
  letter-spacing: 0;
}
@media (max-width: 768px) {
  section.offer .f24em {
    font-size: 1.7em !important;
  }
  .flex.btns-wrap {
    flex-wrap: wrap;
    gap: 1.5em;
  }
  .btns-wrap .btn-box {
    width: 100%;
  }
  section.about-plan .white-back {
    padding-bottom: 1em ;
  }
}
/*料金のご案内*/
.flex.kirakira {
  justify-content: center;
  align-items: flex-end;
}
.flex.kirakira img {
  width: 10%;
  object-fit: contain;
  margin-bottom: 3em;
}
.flex.kirakira img:last-child {
  transform: scaleX(-1);
}
.flex.kirakira p {
  width: fit-content;
}
h2.lgreenline-title {
  background: #fff;
  border: 3px solid var(--lgreen);
  padding: 0.5em 1em;
}
section.detail-price h2.lgreenline-title {
  padding: 0.5em 1em 0.5em 0.5em;
}
h2.lgreenline-title .roundback {
  box-shadow: none;
  margin-right: 1em;
  padding: 0.2em 1em;
}
.flex.price-card-flex {
  gap: 2%;
  justify-content: space-between;
  align-items: stretch;
}
.wcard {
  background: #fff;
  box-shadow: 2px 2px 3px var(--gray);
  border-radius: 1em;
}
.price-card {
  width: 31%;
  padding: 0;
}
.text-lgreen {
  color: var(--lgreen);
}
.price-card h3 {
  background: var(--navy);
  color: #fff;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
  padding: 1em 0;
}
.text-left {
  text-align: left;
}
.price-card .text-left {
  padding: 0;
  width: fit-content;
  margin: 0 auto;
}
.price-card .roundback {
  box-shadow: none;
  padding: 0.1em 1em;
  margin-bottom: 1em;
}
section.detail-price .palelgreen-back {
  margin-top: -4em;
}
section.detail-price ul.checkcircle-list li:last-child {
  margin-bottom: 2em;
}
section.detail-price ul.checkcircle-list.flex {
  gap: 5%;
  justify-content: center;
}
.lh13 {
  line-height: 1.3;
}
@media (max-width: 768px) {
  .flex.kirakira p.f22em {
    font-size: 1.6em !important;
  }
  .flex.price-card-flex {
    flex-direction: column;
    gap: 2em;
  }
  section.detail-price h2.lgreenline-title {
    padding: 0.5em 1em;
  }
  .price-card {
    width: 100%;
  }
  section.detail-price ul.checkcircle-list.flex {
    flex-direction: column;
    font-size: 1.1em !important;
    gap: 1em;
  }
  ul.checkcircle-list li {
    margin-bottom: 1.8em;
  }

  section.detail-price ul.checkcircle-list li:last-child {
    margin-bottom: 0;
  }
	section.detail-price ul.checkcircle-list li{
		margin-bottom:0;
		text-align:center;
		justify-content:center;
	}
}
/*特別特典*/
.bright-yellow-back {
  background: #fbffbd;
}
section.special-tokuten {
  border: 2px solid var(--navy);
}
section.special-tokuten h2 {
  background: var(--navy);
  color: #fff;
  position: relative;
  display: inline-block;
  height: 60px;
  line-height: 60px;
  padding: 0 1em;
  text-align: center;
  margin-top: -2em;
}

section.special-tokuten h2::before,
section.special-tokuten h2::after {
  position: absolute;
  top: 0;
  width: 0px;
  height: 0px;
  border-color: var(--navy) transparent;
  border-style: solid;
  content: "";
}

section.special-tokuten h2::before {
  left: -15px;
  border-width: 30px 0px 30px 15px;
}

section.special-tokuten h2::after {
  right: -15px;
  border-width: 30px 15px 30px 0px;
}
.tokuten-card {
  position: relative;
  width: 45%;
  flex-grow: 1;
  padding: 5em 1em 2em;
  overflow: unset;
}
.tokuten-card img {
  width: 19%;
  position: absolute;
  top: -2em;
  left: 50%;
  transform: translateX(-50%);
	max-width:75px;
}
section.special-tokuten .flex {
  gap: 2%;
  justify-content: center;
}
@media (max-width: 768px) {
  section.special-tokuten .flex {
    flex-direction: column;
    gap: 3em;
  }
  .tokuten-card {
    width: 100%;
  }
  section.special-tokuten h2 {
    padding-top: 0.5em;
    font-size: 1.1em;
    line-height: 1.4;
  }
  section.special-tokuten.pb-5 {
    padding-bottom: 2em !important;
  }
}
/*サービス内容*/
ul.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10%;
}
ul.service-list li {
  display: flex;
  align-items: center;
  flex-grow: 1;
  gap: 5%;
  width: 44%;
  margin-bottom: 6em;
	font-weight:bold;
}
ul.service-list li h3 {
  text-align: center;
  margin-top: 1em;
  background: var(--paleyellow);
	font-size: 1.5em;
  padding: 0.5em 0;
}
.service-list-txt {
  width: 85%;
  flex: 2;
  text-align: left;
  font-size: 0.9em;
}
ul.service-list li img {
  width: 23%;
  object-fit: contain;
}
h2.border-title {
  display: inline-block;
  border-bottom: var(--gray) 3px solid;
  padding-bottom: 0.2em;
}
.text-right {
  text-align: right;
}
@media (max-width: 768px) {
  ul.service-list {
    flex-direction: column;
  }
  ul.service-list li {
    width: 100%;
    flex-direction: column;
    margin-bottom: 1em;
  }
  ul.service-list li p {
    text-align: center;
  }
}
/*本プランの対象となる方*/
.definition-list {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-top: 0;
  margin-bottom: 0;
}

.definition-item {
  display: flex;
  align-items: center;
  width: 100%;
  text-align: left;
  margin: 0 auto;
  padding: 1.5em;
  border-bottom: 1px dotted var(--gray);
}

.definition-item dt {
  flex-basis: 40%; /* dtの幅を調整 */
  font-weight: bold;
  text-align: right;
  margin-right: 3em;
}
.definition-item dt span {
  border-radius: 3px;
  padding: 3px;
}
.definition-details {
  flex-basis: 60%; /* ddのコンテナの幅を調整 */
  display: flex;
  flex-direction: column; /* ddを縦に並べる */
}

.definition-details dd {
  margin: 0 0 0.5em;
}
@media (max-width: 768px) {
  .definition-item {
    flex-direction: column;
  }
  .definition-item dt {
    width: 100%;
    text-align: center;
    margin-right: 0;
    margin-bottom: 2em;
  }
  .definition-details dd {
    display: flex;
    align-items: center;
    gap: 0.5em;
    justify-content: left;
  }
  section.target .conversation .f13em {
    font-size: 0.9em !important;
  }
}
section.target .conversation .flex p {
  width: 100%;
}
section.target .conversation .flex div {
  width: 80%;
}
/*オプションプランのご案内*/
ul.option-list {
  display: flex;
  gap: 8%;
}
ul.option-list li {
  width: 30%;
  flex-grow: 1;
	font-weight:bold;
}
ul.option-list li img {
  width: 50%;
  object-fit: contain;
  margin-bottom: 1em;
}
h3.border-title {
  display: inline-block;
  border-bottom: var(--yellow) 3px solid;
  padding-bottom: 0.2em;
}
.option-list h4 {
  background: var(--paleyellow);
}
section.option ul.checkcircle-list {
  padding: 1em 2em;
  border: 3px solid var(--gray);
  border-radius: 1em;
  background: var(--paleyellow);
  text-align: left;
  font-size: 1.1em;
  max-width: 400px;
}

section.option ul.checkcircle-list i {
  color: var(--navy);
}
section.option .flex {
  justify-content: center;
  align-items: center;
}
section.option .flex-left {
  width: 50%;
}
section.option .flex-right {
  width: 50%;
}
section.option .flex-left .roundback {
  box-shadow: none;
  padding: 0.1em 1em;
  margin-right: 1em;
}
section.option .flex-left p {
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 768px) {
  ul.option-list,
  section.option .flex {
    flex-direction: column;
  }
  ul.option-list li,
  section.option .flex-left,
  section.option .flex-right {
    width: 100%;
  }
  ul.option-list li img {
    width: 23%;
  }
  section.option .flex-left p {
    flex-direction: column;
  }
  section.option .flex-left .roundback {
    margin-bottom: 1em;
    margin-right: 0;
  }
  section.option ul.checkcircle-list,
  section.option ul.checkcircle-list li {
    justify-content: center;
    text-align: left;
  }
  section.option ul.checkcircle-list li {
    margin-bottom: 1.5em;
  }
  section.option ul.checkcircle-list li:last-child {
    margin-bottom: 1em;
  }
  section.option ul.checkcircle-list {
    padding: 0.5em;
	  margin: 0 auto;
  }
}
/*1年間の料金例*/
section.oneyear-price .flex {
  align-items: center;
}
section.oneyear-price .flex-left {
  width: 40%;
}
section.oneyear-price .flex-right {
  width: 60%;
}
section.oneyear-price .flex-left img {
  width: 65%;
}
section.oneyear-price .flex-right > p {
  border-top: 2px solid var(--gray);
  padding-top: 0.5em;
}
section.oneyear-price .flex-right > p .red-back,
section.oneyear-price .flex-right > p .lgreen-back {
  padding: 0.1em 0.5em;
}
table.price-table td,
table.price-table th {
  border: none;
  margin-bottom: 0.3em;
  padding: 10px;
  font-size: 1em;
  font-weight: bold;
}

table.price-table {
  border-collapse: separate;
  border-spacing: 0px 1.5em;
}

table.price-table th {
  background: var(--palelgreen);
  vertical-align: middle;
  overflow: visible;
  position: relative;
  min-width: 200px;
  width: 31%;
}
table.price-table th:after {
  left: 100%;
  top: 50%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
  border-color: rgba(136, 183, 213, 0);
  border-left-color: var(--palelgreen);
  border-width: 7px;
  margin-top: -7px;
}
:where(:not(.wp-block-table)) > table {
  border: none;
}
table.price-table td:last-child {
  font-weight: bold;
  text-align: right;
  width: 18%;
  min-width: 88px;
}
.fukidashi-01-07 {
  position: relative;
  width: fit-content;
  margin: -4em auto 0;
  padding: 0.3em 2em;
  border: 2px solid var(--red);
  border-radius: 4em;
  background: #fff;
}
.fukidashi-01-07::after {
  content: "";
  position: absolute;
  top: 0;
  left: 2em;
  width: 17px;
  height: 2px;
  box-sizing: border-box;
  background-color: var(--red);
  box-shadow: 0 2px 0 #ffffff, 0 -2px 0 #ffffff; /* 背景色と同じ色を指定 */
  rotate: 120deg;
}
.fukidashi-01-07-lgr {
  border: 2px solid var(--lgreen);
}
.fukidashi-01-07-lgr::after {
  background-color: var(--lgreen);
}
@media (max-width: 768px) {
  section.oneyear-price .flex {
    flex-direction: column;
    gap: 2em;
  }
  section.oneyear-price .flex-left,
  section.oneyear-price .flex-right {
    width: 100%;
  }
  section.oneyear-price .flex-left img {
    margin-top: 1em;
	  max-width:230px;
  }
  table.price-table,
  table.price-table tbody {
    display: block; /* テーブルの挙動をやめさせる */
    width: 100%;
  }
  table.price-table tr {
    display: grid;
    grid-template-columns: 70% 30%;
    margin-bottom: 20px;
    border: 1px solid #ddd; /* カードのように見せるための枠線（任意） */
    border-radius: 8px; /* 角丸（任意） */
    overflow: hidden; /* 角丸を効かせるため */
  }
  table.price-table th,
  table.price-table td {
    width: auto; /* PC用のwidth指定をリセット */
    min-width: 0; /* PC用のmin-width指定をリセット */
    border: none; /* PC用のborderをリセット */
    text-align: left; /* 中央・右揃えを一旦リセット */
    padding: 12px;
	  font-size:1.05em;
  }
  table.price-table th {
    /* 1行目を使い、2列分を結合して100%幅にする */
    grid-column: 1 / 3;
    background: var(--palelgreen); /* 背景色はそのまま */
    border-bottom: 1px solid #ddd; /* 区切り線 */
    text-align: center;
  }
  table.price-table th:after {
    display: none;
  }
  table.price-table td:nth-of-type(1) {
    grid-row: 2;
    grid-column: 1;
    background: #fff;
    text-align: right;
  }
  table.price-table td:nth-of-type(2) {
    /* 2行目の2列目に配置 */
    grid-row: 2;
    grid-column: 2;
    background: #fff;
    font-weight: bold;
    text-align: right; /* 金額は右揃えにする */
  }
  /* tdが1つしかない行（システム管理料）の調整 */
  table.price-table td:only-child {
    grid-column: 1 / 3; /* 1つしかない場合は2列分結合する */
    text-align: right;
  }
}
/*選ばれる３つの理由*/
.madaragreen-back {
  background: url("https://cloudkaikei.sakamori-cpa.com/wp-content/uploads/2025/09/green-madara-back-scaled.webp") no-repeat;
  background-size: cover;
}
h2.reason-title {
  position: relative;
  display: inline-block;
  line-height: 2.5;
  letter-spacing: 2px;
  border-bottom: 5px solid var(--lgreen);
  padding-right: 6em;
}
h2.reason-title .font-en {
  color: var(--lgreen);
  text-shadow: 3px 3px 0 #fff, -3px -3px 0 #fff, -3px 3px 0 #fff, 3px -3px 0 #fff, 0px 3px 0 #fff, 0 -3px 0 #fff, -3px 0 0 #fff, 3px 0 0 #fff;
}
h2.reason-title::after {
  position: absolute;
  display: block;
  content: "";
  background: url("https://cloudkaikei.sakamori-cpa.com/wp-content/uploads/2025/09/zeirishi-1.webp") no-repeat;
  background-size: contain;
  width: 7em;
  height: 9em;
  bottom: -1.2em;
  right: -1em;
}
ul.reason-list {
  counter-reset: reason-number;
}

ul.reason-list li {
  position: relative;
  background: #fff;
  border: 2px solid var(--gray);
  border-radius: 5px;
  padding: 2.5em 2em 1em;
  margin-bottom: 5em;
}
ul.reason-list .flex > img,ul.reason-list .flex .clickable-image {
	position:relative;
  width: 35%;
  object-fit: contain;
  margin: 0 5%;
}
ul.reason-list .flex .flex-right {
  width: 60%;
}
ul.reason-list li:before {
  position: absolute;
  content: "";
  counter-increment: reason-number; /* カウンターを増やす */
  content: "0" counter(reason-number); /* 0付きの数字を表示 */
  color: #fff;
  background: var(--lgreen);
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 4em;
  font-weight: 900;
  line-height: 1.4;
  text-align: center;
  width: 1.5em;
  height: 1.5em;
  padding: 0.2em 0.1em 0.1em;
  top: -14px;
  left: 0.5em;
}
ul.reason-list li:after {
  position: absolute;
  content: "POINT";
  top: -5px;
  left: 3.5em;
  color: #fff;
  font-weight: bold;
}
ul.reason-list li h3 {
  position: relative;
  color: var(--navy);
  font-size: 1.8em;
}
@media (max-width: 768px) {
  ul.reason-list li .flex {
    flex-direction: column;
  }
  ul.reason-list .flex .flex-right,
  ul.reason-list .flex .flex-left ,
	ul.reason-list .flex .clickable-image{
    width: 100%;
		text-align:center;
  }
  h2.reason-title {
    padding-right: 0;
    letter-spacing: 0;
    line-height: 2;
	  font-size: 1.5em !important;
  }
  h2.reason-title::after {
    width: 3em;
    height: 4em;
    bottom: -0.5em;
    right: 1em;
  }
  .reason-title .green-roundback {
    margin-right: 5px;
    font-size: 0.8em;
  }
  ul.reason-list li:before {
    font-size: 3em;
  }
  ul.reason-list li:after {
    left: 2.3em;
    top: -12px;
  }
  ul.reason-list .flex img,
	ul.reason-list .flex img{
    width: 60%;
    margin: 0 auto 1em;
  }
  ul.reason-list li h3 {
    font-size: 1.3em;
	  text-align:center;
  }
  ul.reason-list li p {
    text-align: justify;
  }
}
/*導入事例*/
.madarablue-back {
  background: url("https://cloudkaikei.sakamori-cpa.com/wp-content/uploads/2025/09/madara-blue-1.webp") no-repeat;
  background-size: cover;
}
ul.case-list {
  counter-reset: case-number;
}
ul.case-list li {
  margin-bottom: 10em;
  padding-bottom: 5em;
  border-bottom: 2px dashed var(--navy);
}
ul.case-list li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
ul.case-list li h3:before {
  position: absolute;
  content: "";
  counter-increment: case-number; /* カウンターを増やす */
  content: "CASE 0" counter(case-number); /* 0付きの数字を表示 */
  color: var(--navy);
  font-family: "Roboto Condensed", sans-serif;
  font-size: 2em;
  top: -1.5em;
  left: 50%;
  transform: translateX(-50%);
}
ul.case-list .flex {
  position: relative;
  gap: 8%;
  align-items: stretch;
}
ul.case-list h3 {
  display: flex;
  background: var(--paleyellow);
  padding: 0.5em;
  border-bottom: none;
  border-radius: 5px;
  font-size: 1.5em;
  width: fit-content;
  justify-content: center;
  align-items: center;
  gap: 5%;
  margin: 0 auto;
}
ul.case-list h3 img {
  width: 15%;
}
.case-txt {
  position: relative;
  width: 46%;
  border: solid var(--gray) 4px;
  padding: 3.5em 2em 0.5em;
  text-align: left;
  border-radius: 5px;
  background: #fff;
}
.case-txt:before {
  position: absolute;
  content: "Before";
  font-family: "Roboto Condensed", sans-serif;
  font-size: 2em;
  color: #fff;
  background: var(--gray);
  padding: 0.3em 0.5em;
  border-radius: 5px;
  top: -0.4em;
  left: -4px;
}
.case-txt.case-after {
  border: solid var(--blue) 4px;
}
.case-txt.case-after:before {
  content: "After";
  background: var(--blue);
}
.case-txt.case-after:after {
  content: "";
  position: absolute;
  top: 50%;
  left: -13%;
  transform: translateY(-50%);
  clip-path: polygon(0 0, 0% 100%, 55% 50%);
  width: 4em;
  height: 7em;
  background: linear-gradient(to right, var(--gray) 0px, var(--blue) 40%);
}
.case-txt p{
	text-align:justify;
}
section.case .wcard {
  background: #ffffff9c;
  margin-top: -4em;
}
section.case .conversation .flex p {
  width: 100%;
}
@media (max-width: 768px) {
  ul.case-list .flex {
    flex-direction: column;
    gap: 4em;
  }
  ul.case-list .flex .case-txt {
    width: 100%;
  }
  ul.case-list li {
    margin-bottom: 6em;
  }
  .case-txt.case-after:after {
    top: -3em;
    left: 50%;
    transform: translateX(-50%);
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    width: 7em;
    height: 2em;
    background: linear-gradient(to bottom, var(--gray) 0px, var(--blue) 60%); /* グラデーションも縦方向に */
  }
  ul.case-list h3 {
    font-size: 1.1em;
  }
  section.case .conversation .f12em {
    font-size: 1em !important;
  }
  section.case .conversation .flex {
    display: block;
    text-align: right;
  }
  section.case .conversation .flex img {
    margin-left: auto;
    margin-top: -1em;
  }
  section.case {
    padding-bottom: 0 !important;
  }
}
/*よくある質問*/
.madarabeige-back {
  background: url("https://cloudkaikei.sakamori-cpa.com/wp-content/uploads/2025/09/madara-beige.webp") no-repeat;
  background-size: cover;
  background-position: 50% 5%;
}
.qa-7 {
  margin-bottom: 2em;
  border: none;
  border-radius: 5px;
  box-shadow: 0 4px 4px rgb(0 0 0 / 2%), 0 2px 3px -2px rgba(0 0 0 / 5%);
  background-color: #fff;
}

.qa-7 summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding: 1.5em 3.5em 1.5em 3em;
  color: var(--brown);
  font-weight: 600;
  cursor: pointer;
  text-align: justify;
}

.qa-7 summary::before,
.qa-7 p::before {
  position: absolute;
  left: 1em;
  font-weight: 600;
  font-size: 1.3em;
}

.qa-7 summary::before {
  color: var(--brown);
  content: "Q.";
  font-family: "Roboto Condensed", sans-serif;
}
/* 
.qa-7 summary::after {
  transform: translateY(-25%) rotate(45deg);
  width: 9px;
  height: 9px;
  margin-left: 10px;
  border-bottom: 3px solid var(--brown);
  border-right: 3px solid var(--brown);
  content: "";
  transition: transform 0.5s;
} */
.qa-7 summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 1em;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  margin-left: 3px;
  background: url('data:image/svg+xml;utf8,<svg width="16" height="16" xmlns="http://www.w3.org/2000/svg"><polyline points="4,6 8,10 12,6" fill="none" stroke="%23974a20" stroke-width="2"/></svg>')
    no-repeat center/contain;
  background-size: contain;
  transition: transform 0.3s;
}
.qa-7[open] summary::after {
  transform: translateY(-50%) rotate(180deg);
}

.qa-7 p {
  position: relative;
  transform: translateY(-10px);
  opacity: 0;
  margin: 0;
  padding: 0.3em 3em 1.5em;
  color: var(--black);
  transition: transform 0.8s, opacity 0.8s;
  font-weight: 500;
  text-align: justify;
}

.qa-7[open] p {
  transform: none;
  opacity: 1;
}

.qa-7 p::before {
  color: var(--black);
  line-height: 1.2;
  content: "A.";
  font-family: "Roboto Condensed", sans-serif;
}

/*よくある質問タブ*/
.tab-menu {
  display: flex;
  gap: 1%;
  /* border-bottom: 2px solid #ccc; */
}
.tab-menu button {
  width: 24%;
  background: none;
  border: 2px solid var(--brown);
  border-radius: 5px;
  color: var(--brown);
  padding: 1em;
  cursor: pointer;
  font-size: 1em;
}
.tab-menu button.active {
  position: relative;
  color: #fff;
  font-weight: bold;
  background: var(--brown);
}
.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
}
/* 
.tab-menu button.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -14px;
  transform: translateX(-50%);
  display: inline-block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 15px 16px 0;
  border-color: var(--brown) transparent transparent transparent;
  transition: all 0.3s ease-in-out;
} */

.orange-back {
  background: #dea383;
}

section.faq .conversation .flex p {
  width: 100%;
}

@media (max-width: 768px) {
  section.faq .conversation .flex {
    display: block;
    text-align: right;
  }
  section.faq .conversation .flex p {
    /* text-align: left !important; */
  }
  section.faq .conversation .flex img {
    margin-left: auto;
    margin-top: -4em;
  }
  .tab-menu {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 3%;
    margin-bottom: 1em !important;
  }
  .tab-menu button {
    width: 45%;
    flex-grow: 1;
    margin-bottom: 0.5em;
    font-size: 0.9em;
	    padding: 1em 5px;
  }
  .tab-menu button br {
    display: none;
  }
}
/*事業所概要*/
section.about-office table.price-table th {
  background: #9bba74;
  color: #fff;
  width: 30%;
  min-width: 160px;
  font-weight: 400;
}
section.about-office table.price-table th::after {
  display: none;
}
section.about-office table.price-table td:last-child {
  text-align: left;
  width: 70%;
  padding: 0.5em 0.5em 0.5em 2em;
}
section.about-office table.price-table td {
  font-weight: 400;
}
section.about-office .wcard ,section.contact .wcard{
  margin-top: -4em;
}
.iframe-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}
.iframe-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
@media (max-width: 768px) {
  section.about-office .banzai.f17em {
    font-size: 1.3em !important;
  }
  section.about-office table.price-table tr {
    grid-template-columns: 100%;
  }
  section.about-office table.price-table th {
    min-width: auto;
    width: 100%;
  }
  section.about-office table.price-table td:last-child {
    width: 100%;
  }
  .iframe-wrapper {
    padding-bottom: 100%;
  }
}
/*Footer*/
footer .flex {
  gap: 4%;
}
footer a.btn-c {
  width: 277px;
	min-width:unset;
}
footer h2 {
  font-size: 1.4em;
  width: fit-content;
}
.ls2 {
  letter-spacing: 2px;
}
footer .grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4%;
}
.flex.btns-wrap {
  /* min-width: 550px; */
}
@media (max-width: 1060px) {
  footer .flex.btns-wrap {
    flex-direction: column;
    align-items: flex-end;
    gap: 2em;
  }
  .btns-wrap .btn-box {
    width: 100%;
  }
  footer .grid {
    grid-template-columns: 1fr;
  }
  footer h2 {
    text-align: center;
    margin: 0 auto;
  }
  footer p {
    text-align: center;
  }
}
/*お問い合わせ*/
#about-office{
	font-size:1.1em;
}
.wpcf7-form span.required{
	background:var(--red);
	border-radius:2px;
	color:#fff;
	font-size:0.7em;
	margin:0 1em;
	padding:0.2em;
}
.wpcf7 {
	max-width:500px;
	margin:3em auto 0;
	color: var(--black);
    font-weight: 500;
}
.wpcf7-radio{
	display:flex;
	flex-direction:column;
	gap:1em;
}
input[type=submit].wpcf7-submit{
	    color: var(--navy);
    width: 250px;
}
.contact-btn p{
	text-align:center;
}
/*モーダル*/
/* 既存のreport-boxに追加 */
.report-box .clickable-image {
  position: relative;
  cursor: pointer;
  transition: transform 0.3s ease;
  display: inline-block;
}

.report-box .clickable-image:hover {
  transform: scale(1.02);
}

.click-label {
  position: absolute;
  top: 10%;
  right: 10px;
  background: var(--red);
  color: white;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.7em;
  font-weight: bold;
  animation: pulse-click 2s infinite;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

@keyframes pulse-click {
  0%, 100% { 
    opacity: 1; 
    transform: scale(1);
  }
  50% { 
    opacity: 0.8; 
    transform: scale(1.05);
  }
}

/* モーダルスタイル */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  animation: fadeIn 0.3s ease-out;
}

.modal-overlay.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: white;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 90%;
  max-height: 90%;
  position: relative;
  animation: modalSlideIn 0.3s ease-out;
  overflow: hidden;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  z-index: 1002;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.7);
}

.modal-header {
  padding: 20px 20px 10px;
}

.modal-header p {
  margin: 0;
  color: var(--red);
  font-size: 1.2em;
}

.modal-body {
  padding: 20px;
  text-align: center;
}

.modal-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* アニメーション */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalSlideIn {
  from { 
    opacity: 0; 
    transform: scale(0.9) translateY(-20px);
  }
  to { 
    opacity: 1; 
    transform: scale(1) translateY(0);
  }
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .modal-content {
    max-width: 95%;
    margin: 20px;
  }
  
  .modal-body {
    padding: 15px;
  }
  
  .click-label {
    font-size: 0.6em;
    padding: 3px 6px;
  }
}

/* スクロール制御 */
body.modal-open {
  overflow: hidden;
}
ul.reason-list li .modal-image{
	max-width:60%;
}
/*ハンバーガー*/
.hamb,.black-bg{display:none;}
@media (max-width: 768px) {
.hamb {
	display:block;
  position: fixed;
  cursor: pointer;
  z-index: 300;
  right: 0;
  top: 40px;
  width: 35px;
  height: 22px;
  transform: translate(-50%, -50%);
}

.black-bg ul{
  margin: 0;
  padding: 0;
  position: absolute;
  right: 2em;
  top: 50%;
  transform: translate(0, -50%);
}

.black-bg ul li {
  text-align: right;
  padding: 20px 0;
}

.black-bg ul li a {
  color: var(--black);
  font-size: 18px; 
  font-weight: bold;
  display: block;
  text-decoration: none;
}

.line {
  position: absolute;
  left: 0;
  width: 35px;
  height: 2px;
  background-color: var(--black);
  top: 0px;
}

.line:nth-child(2)  {
  width: 25px;
  top: 10px;
}

.line:nth-child(3)  {
  width: 15px;
  top: 20px;
}

.black-bg {
	display:block;
  position: fixed;
  background: #fff;
  top: 0;
  right: -220px;
  width: 220px;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
	z-index:1;
}

.black-bg.open {
  opacity: 1;
  visibility: visible;
  right: 0;
}

#hamb.active .line {
  background-color: #000;
}

/*アニメーション*/
.animation {
  transition: all .6s;
}
}
/* ========================================
   404ページ専用の装飾（Lightningテーマ用）
======================================== */

/* サイドバー・アーカイブ・カテゴリー等を非表示 */
body.error404 .sub-section,
body.error404 .site-body-bottom,
body.error404 .widget_link_list,
body.error404 .widget_block,
body.error404 .breadcrumb {
  display: none !important;
}

/* 背景をやや明るく */
body.error404 {
  background: #f7f7fa;
}

/* ページヘッダー */
body.error404 .page-header {
  background-color: var(--lgreen);
  padding: 40px 0;
}

body.error404 .page-header-title {
  color: #fff !important;
  font-size: 2.5rem;
  font-weight: bold;
  margin: 0;
  text-align: center;
}


/* 画面いっぱい＆中央寄せ */
body.error404,
body.error404 .site-body,
body.error404 .site-body-container {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
}

body.error404 .site-body {
  flex: 1 0 auto;
  justify-content: center;
  padding: 40px 0;
}

body.error404 .site-body-container {
  flex: 1 0 auto;
  justify-content: center;
  align-items: center;
  display: flex;
}

/* メインコンテンツを中央寄せ＆幅調整 */
body.error404 .main-section {
  float: unset;
  margin: 0 auto;
  max-width: 520px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  padding: 50px 40px;
  text-align: center;
  width: 100%;
}

/* メッセージ文 */
body.error404 .main-section-no-posts p {
  font-size: 1.15em;
  color: #666;
  line-height: 1.8;
  margin-bottom: 30px;
}

/* ホームへ戻るボタン風（疑似要素） */
body.error404 .main-section-no-posts::after {
  content: "トップページへ戻る ›";
  display: inline-block;
  padding: 14px 32px;
  background: var(--lgreen);
  color: #fff;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

body.error404 .main-section-no-posts:hover::after {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* スマホ対応 */
@media (max-width: 600px) {
  body.error404 .page-header {
    padding: 30px 0;
  }
  
  body.error404 .page-header-title {
    font-size: 1.5rem;
  }
  
  body.error404 .page-header-title::before {
    font-size: 3.5rem;
  }
  
  body.error404 .main-section {
    padding: 30px 20px;
    margin: 0 16px;
    max-width: calc(100vw - 32px);
    border-radius: 12px;
  }
  
  body.error404 .main-section-no-posts p {
    font-size: 1em;
  }
  
  body.error404 .main-section-no-posts::after {
    padding: 12px 24px;
    font-size: 0.95em;
  }
	body.error404	#vk-mobile-nav-menu-btn{
		display:none;
	}
}