/* --- 改行制御（スマホのみ有効） --- */
.sp-br {
  display: none;
}

.fo-aka {
color: #ED1C24;
  }

.fo-dai {
font-size: 2.2em;
  }

@media screen and (max-width: 767px) {
  .sp-br {
    display: inline;
  }
}

/* --- ヒーロー背景画像設定 --- */
.hero-section {
  position: relative;
  width: 100%;
  height: 120vh;
  overflow: hidden;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center; /* ←ここを追加！ */
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  }

/* --- コンテンツ配置 --- */
.hero--content {
  position: absolute;
  top: 5%;
  left: 7%;
  right: 10%;
  z-index: 1;
  color: #fff;
  text-align: left;
  width: auto;
  max-width: none;
}

@media screen and (max-width: 767px) {
  .hero--content {
    width: 98%;
    left: 1%;   /* 中央寄せしたい場合 */
    right: 1%;
  top: 5%;
  height: -webkit-fill-available;
  }

  .hero--content {
    transform: none !important;
  }

}

/* --- テキスト各行と帯 --- */
.hero--title .row > span {
  position: relative;
  display: inline-block;
  overflow: hidden;
  color: #fff;
  padding: 0.2em 0.6em;
}

/* グレーの帯 */
.hero--title .row > span::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: -1;
  transition: width 0.8s ease-out;
}
.hero--title.is-show .row > span::before {
  width: 100%;
}

/* --- テキストスライドアニメーション --- */
/* 初期状態（非表示） */
.hero--title.animate-trigger > span,
.hero--title.animate-trigger > span > span {
  clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  transition: clip-path 0.5s ease-out;
}

/* 表示状態 */
.hero--title.animate-trigger.is-show > span,
.hero--title.animate-trigger.is-show > span > span {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

/* 各行の遅延設定 */
.hero--title.animate-trigger > span:nth-of-type(1),
.hero--title.animate-trigger > span:nth-of-type(1) > span {
  transition-delay: 0s;
}
.hero--title.animate-trigger > span:nth-of-type(2),
.hero--title.animate-trigger > span:nth-of-type(2) > span {
  transition-delay: 1s;
}

/* --- 強調テキストスタイル --- */
.hero--title {
  font-size: 28px;
}
.hero--title .strong {
  color: #FFD700;
  font-weight: bold;
  font-size: 32px;
}

@media screen and (max-width: 767px) {
  .hero--title {
    font-size: 18px;
  }
  .hero--title .strong {
    font-size: 24px;
  }
}

/* --- 画像のふわっと出現アニメーション --- */
/* 初期状態（透明・下にずらす） */
.fade-in-target {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: 2s;
  position: relative;
  z-index: 2;
}

.fade-in-target.is-fade-in {
  opacity: 1;
  transform: translateY(0);
}


/* --- 行調整 --- */
.row {
  display: block;
  margin-bottom: 0;
}


.hero-image {
  width: 100%;
  max-width: 1080px;
  height: auto;
  display: block;
  margin: 0 auto 0; /* 中央寄せ + 上余白 */
}

/* --- section-feature --- */

.section-feature {
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
  max-width: 1080px;
  padding: 2rem 1rem;
  gap: 2rem;
}

.column2-l,
.column2-r {
  flex: 1 1 500px;
  min-width: 300px;
}

.main-image-wrapper {
  position: relative;
  display: inline-block;
}

.corner-images {
  position: absolute;
  top: 0;
  right: 0;
}

.bottom-left-image {
  position: absolute;
  bottom: 0;
  left: 0;
}

.img-sub1,
.img-sub2 {
  max-width: 100%;
  height: auto;
}

.hero--title .row > span {
  position: relative;
  display: inline-block;
  overflow: hidden;
  padding: 0.2em 0.6em;
  color: #fff;
}

.hero--title .row > span::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: -1;
  transition: width 0.8s ease-out;
}

.hero--title .row > span.dark-line::before {
  background-color: #222;
}

.hero--title.is-show .row > span::before {
  width: 100%;
}

.hero--title.animate-trigger > span,
.hero--title.animate-trigger > span > span {
  clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  transition: clip-path 0.5s ease-out;
}

.hero--title.animate-trigger.is-show > span,
.hero--title.animate-trigger.is-show > span > span {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.hero--title {
  font-size: 24px;
  margin-bottom: 1rem;
  line-height: 1.8em;
}

@media screen and (max-width: 767px) {
  .section-feature {
    flex-direction: column;
  }
}

.section-feature p {
  font-size: 16px;
  line-height: 1.8em;
  width: 95%;
  max-width: 500px;
  margin: 0 auto;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  box-sizing: border-box;
}

/* fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.delay-1 {
  transition-delay: 0.3s;
}
.fade-in.delay-2 {
  transition-delay: 0.7s;
}
.fade-in.delay-3 {
  transition-delay: 1.1s;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

/* --- section-tsuyomi --- */


.section-tsuyomi ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 2rem auto;
  max-width: 1080px;
}

.section-tsuyomi li.tsuyomi-item {
  flex: 1 1 100%;
  max-width: 450px;
  box-sizing: border-box;
  background: #FFFDE1;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.tsuyomi-box {
  margin-top: 1rem;
  background: #FFFDE1;
  padding: 1rem;
  font-weight: bold;
  color: #000;
  border-left: 11pt solid;
}

.tsuyomi-box .strong {
  color: #ED1C24;
}

.tsuyomi-box.border1 { border-color: #92C41D; }
.tsuyomi-box.border2 { border-color: #00B2B3; }
.tsuyomi-box.border3 { border-color: #F08E94; }
.tsuyomi-box.border4 { border-color: #00A0E9; }
.tsuyomi-box.border5 { border-color: #EC664F; }

@media screen and (min-width: 901px) {
  .section-tsuyomi li.tsuyomi-item {
    flex: 1 1 calc(50% - 1rem);
  }
}

@media screen and (max-width: 900px) {
  .section-tsuyomi ul {
    flex-direction: column;
    align-items: center;
  }
  .section-tsuyomi li.tsuyomi-item {
    width: 98%;
  }
}

.tsuyomi-item {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1.4s ease;
  will-change: opacity, transform;
}

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

/* --- section-midashi --- */


.section-midashi {
background: linear-gradient(135deg, #7dc05c 0%, #9ad97c 50%, #5cad85 100%);
text-align: center;
padding: 1px 0 1px;
margin-bottom: 25px;
}

.section-midashi h2{
font-size: 32px;
color: #fff;
}

@media screen and (max-width: 768px) {

.section-midashi {
padding: 1px 0 20px;
}

.section-midashi h2{
font-size: 22px;
}

}



/* --- section-kodawari --- */

.section-kodawari {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin: 2rem auto;
  max-width: 1080px;
  padding: 0 1rem;
}
.kodawari {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.kodawari-img {
  position: relative;
  width: 100%;
  max-width: 559px;
}

.kodawari-img {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1.4s ease;
  will-change: opacity, transform;
}

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



.kodawari-image {
  width: 100%;
  height: auto;
  display: block;
}
.kodawari-overlay {
  position: absolute;
  top: 10%;
  left: 5%;
  right: 5%;
  background-color: rgba(176, 224, 59, 0.85);
  color: #fff;
  padding: 1.2rem;
  border-radius: 1rem;
  font-weight: bold;
  font-size: 1.1rem;
  box-sizing: border-box;
  z-index: 2;
}
@media screen and (max-width: 767px) {
  .kodawari-overlay {
    top: auto;
    bottom: 5%;
  }
}
@media screen and (min-width: 768px) {
  .kodawari {
    flex-direction: row;
    justify-content: center;
  }
  .kodawari-img {
    width: 100%;
  }
  .kodawari-overlay-left {
    left: -10%;
    right: auto;
    top: 25%;
  }
  .kodawari-overlay-right {
    right: -10%;
    left: auto;
    top: 25%;
  }
  .kodawari-overlay {
    font-size: 1.3rem;
    padding: 1.5rem;
  }
}



.review-container {
  background-color: #fff;
  border-radius: 1rem;
  width: 90%;
  max-width: 880px;
  margin: 3rem auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.review-box {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.review-img img {
  max-width: 100%;
  height: auto;
}
.review-text {
  flex: 1;
  text-align: center;
  color: #000;
}
.review-count {
  font-size: 1.5rem;
  font-weight: bold;
}
.review-number {
  font-size: 2.5rem;
  color: #ED1C24;
  display: block;
}
.review-date {
  font-size: 0.9rem;
  color: #666;
  margin-top: 0.5rem;
}
@media screen and (max-width: 767px) {
  .review-box {
    flex-direction: column;
    text-align: center;
  }
}

/* --- contact-form7-wrapper --- */

.contact-form7-wrapper {
  max-width: 720px;
  margin: 3rem auto;
  background-color: #fff;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  font-family: 'Helvetica Neue', sans-serif;
  color: #333;
}
.contact-title {
  font-size: 1.8rem;
  font-weight: bold;
  color: #B0E03B;
  text-align: center;
  margin-bottom: 1rem;
}
.contact-description {
  font-size: 1rem;
  text-align: center;
  margin-bottom: 2rem;
}
.contact-box input[type="text"],
.contact-box input[type="email"],
.contact-box input[type="tel"],
.contact-box textarea {
  width: 100%;
  padding: 0.8rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  font-size: 1rem;
  box-sizing: border-box;
}
.contact-box label {
  font-weight: bold;
  display: block;
  margin-bottom: 0.3rem;
  color: #000;
  position: relative;
  padding-left: 4rem;
  text-align: left;
}
.contact-box label.required::before {
  content: "必須";
  position: absolute;
  left: 0;
  top: 0.1rem;
  background-color: orange;
  color: #fff;
  font-size: 0.65rem;
  padding: 0.2rem 0.4rem;
  border-radius: 0.3rem;
  font-weight: bold;
  line-height: 1;
}
.contact-box fieldset {
  border: none;
  padding: 0;
  margin-bottom: 1.5rem;
  text-align: left;
}
.contact-box fieldset legend {
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #000;
  font-size: 1rem;
  padding-left: 4rem;
  position: relative;
}
.contact-box fieldset legend::before {
  content: "必須";
  position: absolute;
  left: 0;
  top: 0.1rem;
  background-color: orange;
  color: #fff;
  font-size: 0.65rem;
  padding: 0.2rem 0.4rem;
  border-radius: 0.3rem;
  font-weight: bold;
  line-height: 1;
}
.contact-box fieldset label {
  display: block;
  margin: 0.5rem 0;
  padding-left: 0;
  text-align: left;
}
.contact-box .wpcf7-submit {
  background-color: #B0E03B;
  color: #fff;
  padding: 0.8rem 2rem;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
}
.contact-box .wpcf7-submit:hover {
  background-color: #9ace31;
}

/* --- section-jirei --- */


.jirei-container {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
}

.jirei-midahi {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 0.5em 1em;
  border-radius: 5px;
  font-size: 1.2em;
  line-height: 1.4;
  font-weight: bold;
}

@media screen and (max-width: 600px) {
  .jirei-midahi {
    font-size: 1em;
    bottom: 10px;
    left: 10px;
    padding: 0.4em 0.8em;
  }
}

/* --- 会社概要 --- */

.company-profile {
  max-width: 900px;
  margin: 0 auto;
  padding: 2em;
  font-size: 16px;
  line-height: 1.8;
  background: #f9f9f9;
  border-radius: 8px;
}
.company-profile h2 {
  font-size: 1.8em;
  margin-bottom: 1em;
  border-bottom: 2px solid #333;
  padding-bottom: 0.2em;
}
.profile-block {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid #ccc;
  padding: 0.5em 0;
}
.profile-block dt {
  width: 30%;
  font-weight: bold;
  color: #333;
}
.profile-block dd {
  width: 70%;
  margin: 0;
}
@media (max-width: 768px) {
  .profile-block dt,
  .profile-block dd {
    width: 100%;
  }
}


/* --- フッター追従 --- */


.footer_area {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 10000;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.footer_area.visible {
  transform: translateY(0);
  opacity: 1;
}

.footer_area .footer_area_inner {
    position: relative;
    margin: 0px auto;
    padding: 10px 0 0;
	margin-right: 0px;
	text-align: center;
}
.footer_area .footer_area_inner .footer_area_inner_btn {
    padding: 11px 0;
    font-size: 20px;
    font-weight: bold;
    margin-left: 15px;
	line-height: 1.3;
    
}
.inquiry_btn {
    display: inline-block;
    padding: 0;
}
.inquiry_btn:link, .inquiry_btn:visited {
    color: #FFFFFF !important;
}
.footer_area_inner span{
	color: #fff;
}

.footbot_tel {
width: 100%;
min-height: 50px;
background-color: #ffda00;
}

.footbot_tel table{
margin: 0 auto;
}


.footbot_tel table td{
min-height: 55px;
vertical-align: middle;
font-size: 18px;
font-weight: bold;
}

.footbot_tel table td a{
color: #000;
font-size: 18px;
}

.footbot_line {
display: inline-block;
width: 50%;
min-height: 60px;
background-color: #00b900;
float: left;
}

.footbot_yoyaku {
display: inline-block;
width: 50%;
min-height: 60px;
background-color: #ff7bac;
}

@media screen and (max-width: 800px){

.footbot_tel table td,
.footbot_line,
.footbot_yoyaku
{
padding: 10px 0;
}

}

/* --- サンクスページ --- */

.thanks-container {
  max-width: 800px;
  margin: 4em auto;
  padding: 2em;
  background: #f7f7f7;
  border-radius: 10px;
  text-align: center;
  font-size: 1.1em;
  line-height: 1.8;
}
.thanks-container h1 {
  font-size: 2em;
  color: #333;
  margin-bottom: 0.5em;
}
.thanks-container p {
  margin-bottom: 1.5em;
}
.thanks-btn {
  display: inline-block;
  padding: 0.8em 2em;
  font-size: 1em;
  background-color: #C6EF45;
  color: white;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s ease;
}
.thanks-btn:hover {
  background-color: #B0E03B;
}

/* --- ショップページの基本メニュー --- */


.shop-subnav {
  background: #f8f8f8;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}

.shop-subnav ul {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.shop-subnav li {
  flex: 1;
  text-align: center;
  border-right: 1px solid #ccc;
}

.shop-subnav li:last-child {
  border-right: none;
}

.shop-subnav a {
  display: block;
  padding: 12px 0;
  text-decoration: none;
  color: #333;
  font-weight: bold;
  transition: background 0.3s, color 0.3s;
}

.shop-subnav a:hover {
  background: #e0e0e0;
  color: #000;
}

/* --- 口コミ --- */


.review-set {
width: 85%;
max-width: 880px;
margin: 20px auto;
  border: 2px solid #ccc;
  border-radius: 10px;
  padding: 20px;
  background-color: #fff;
}

.review-set2 {
width: 85%;
background: #fff8f0;
    padding: 24px;
    border: 1px solid #f1c48e;
    border-radius: 10px;
    max-width: 700px;
    margin: 40px auto;
    font-family: sans-serif;
    font-size: 16px;
    }


.review-header {
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 16px;
  color: #444;
}

.review-block {
  border-top: 1px dashed #ccc;
  padding-top: 12px;
  margin-top: 12px;
}

.review-block:first-of-type {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.review-block h4 {
  font-size: 1rem;
  margin-bottom: 6px;
  color: #333;
  display: flex;
  align-items: center;
  gap: 0.5em;
}

.stars {
  color: #f5b301;
  font-size: 1rem;
  letter-spacing: 0.05em;
}

.review-block p {
  margin: 0;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* --- 口コミ --- */

.shop-content {
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
  padding: 24px 16px;
  background-color: #fff;
  max-width: 800px;
  margin: 0 auto;
}

.shop-content h2,
.shop-content h3,
.shop-content h4 {
  font-weight: bold;
  margin-top: 2em;
  margin-bottom: 0.5em;
  line-height: 1.4;
  color: #222;
}

.shop-content h2 {
  font-size: 1.5rem;
  border-left: 5px solid #f7931e;
  padding-left: 0.6em;
}

.shop-content h3 {
  font-size: 1.3rem;
  border-bottom: 1px solid #ccc;
  padding-bottom: 0.2em;
}

.shop-content p {
  margin-bottom: 1.2em;
}

.shop-content ul {
  margin-left: 1.5em;
  margin-bottom: 1.5em;
  list-style: disc;
}

.shop-content li {
  margin-bottom: 0.5em;
}

.shop-content strong {
  font-weight: bold;
  color: #f7931e;
}

.shop-content .cta-button {
  margin-top: 30px;
  text-align: center;
}

.shop-content .cta-button .btn {
  background: #f7931e;
  color: #fff;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  display: inline-block;
  transition: background 0.3s;
}

.shop-content .cta-button .btn:hover {
  background: #a00;
}

ul.tag-list {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 16px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

ul.tag-list li {
  background-color: #f0f4f8;
  color: #333;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
  white-space: nowrap;
  border: 1px solid #c0d2e0;
  transition: background 0.3s;
}

ul.tag-list li:hover {
  background-color: #dbe9f5;
}


/* --- フォーム全体のデザイン --- */
.wpcf7 form.cf7-review-form {
  background: #f9f9f9;
  padding: 24px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-family: sans-serif;
  font-size: 16px;
  line-height: 1.6;
  max-width: 700px;
  margin: auto;
}

.cf7-review-form h3 {
  margin-top: 40px;
  font-size: 20px;
  border-left: 5px solid #f7931e;
  padding-left: 10px;
  color: #333;
}

.cf7-review-form .form-group {
  margin-bottom: 30px;
  padding: 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #fff;
}

.cf7-review-form .form-group h4 {
  margin-top: 0;
  font-size: 18px;
  color: #333;
  border-bottom: 1px solid #ddd;
  padding-bottom: 6px;
  margin-bottom: 10px;
}

.cf7-review-form p {
  margin-bottom: 20px;
}

.cf7-review-form input[type="text"],
.cf7-review-form input[type="email"],
.cf7-review-form input[type="date"],
.cf7-review-form textarea {
  width: 100%;
  max-width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
  font-size: 15px;
}

.cf7-review-form textarea {
  min-height: 100px;
  resize: vertical;
}

.cf7-review-form input[type="submit"] {
  background-color: #f7931e;
  color: #fff;
  border: none;
  padding: 12px 24px;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.cf7-review-form input[type="submit"]:hover {
  background-color: #a83838;
}

/* --- 星評価用スタイル --- */
.rating-group {
  display: inline-block;
  font-size: 28px;
  cursor: pointer;
  color: #ccc;
  user-select: none;
}
.rating-group .rating-star {
  margin-right: 5px;
  transition: color 0.2s ease;
}
.rating-group .rating-star.active,
.rating-group .rating-star.hover {
  color: #FFD700;
}

/* --- レビューボタンスタイル --- */


.review-submit-button {
  display: inline-block;
  background-color: #f7931e;
  color: #fff;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.review-submit-button:hover {
  background-color: #e27e00;
}

.cf7-estimate-form {
  background: #fff8f0;
  padding: 24px;
  border: 1px solid #f1c48e;
  border-radius: 10px;
  max-width: 700px;
  margin: 40px auto;
  font-family: sans-serif;
  font-size: 16px;
}

.cf7-estimate-form h3 {
  font-size: 20px;
  border-left: 5px solid #f7931e;
  padding-left: 10px;
  color: #333;
  margin-bottom: 20px;
}

.cf7-estimate-form p {
  margin-bottom: 20px;
}

.cf7-estimate-form input[type="text"],
.cf7-estimate-form input[type="email"],
.cf7-estimate-form input[type="tel"],
.cf7-estimate-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
  box-sizing: border-box;
}

.cf7-estimate-form input[type="submit"] {
  background-color: #f7931e;
  color: #fff;
  border: none;
  padding: 12px 24px;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.cf7-estimate-form input[type="submit"]:hover {
  background-color: #e27e00;
}

/* 口コミフォーム全体の背景と枠線をオレンジに */
.wpcf7 form.cf7-review-form {
  background: #fff7ef; /* 薄いオレンジ背景 */
  border: 2px solid #f7931e; /* オレンジ枠線 */
  padding: 24px;
  border-radius: 10px;
  font-family: sans-serif;
  font-size: 16px;
  line-height: 1.6;
  max-width: 700px;
  margin: auto;
}

/* 各評価ブロック（.form-group）の枠もオレンジに統一 */
.cf7-review-form .form-group {
  margin-bottom: 30px;
  padding: 16px;
  border: 1px solid #f7931e;
  border-radius: 8px;
  background-color: #fff;
}

/* トップメッセージ全体 */
.top-message {
  background-color: #fffaf5;
  border: 2px solid #f7931e;
  border-radius: 12px;
  padding: 30px;
  margin: 40px auto;
  max-width: 880px;
  color: #333;
  line-height: 1.8;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* 見出し（大） */
.top-message h2 {
  font-size: 24px;
  color: #f7931e;
  margin-bottom: 20px;
  border-left: 6px solid #f7931e;
  padding-left: 12px;
}

/* 見出し（小） */
.top-message h3 {
  font-size: 20px;
  color: #444;
  margin-top: 30px;
  margin-bottom: 12px;
  border-bottom: 2px solid #f7931e;
  display: inline-block;
  padding-bottom: 4px;
}

/* 段落 */
.top-message p {
  margin-bottom: 20px;
  font-size: 16px;
}

/* 強調 */
.top-message strong {
  color: #f7931e;
  font-weight: bold;
}

/* リスト */
.top-message ul {
  padding-left: 20px;
  margin-bottom: 20px;
}
.top-message ul li {
  list-style: disc;
  margin-bottom: 10px;
  font-size: 16px;
}

/* スマホ対応（任意） */
@media screen and (max-width: 768px) {
  .top-message {
    padding: 20px;
    font-size: 15px;
  }
  .top-message h2 {
    font-size: 20px;
  }
  .top-message h3 {
    font-size: 18px;
  }
}

.sayu-block {
  display: flex;
  align-items: center; /* 縦中央揃え */
  justify-content: space-between;
  margin: 2rem 0;
  gap: 1.5rem;
}

.block-left,
.block-right {
  flex: 1;
}

.block-left img,
.block-right img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* スマホ時は縦並び */
@media screen and (max-width: 768px) {
  .sayu-block {
    flex-direction: column;
    text-align: left;
  }

  .block-left,
  .block-right {
    width: 95%;
    margin: 0 auto;
  }
}

/* ==== Color Scheme ==== */
:root {
  --qa-primary: #00af99;  /* メインアクセント */
  --qa-bg: #f6f1cf;       /* 背景系 */
  --qa-text: #333333;
  --qa-border: #ef9f97;   /* 少し濃いめの境界色 */
  --qa-white: #ffffff;
}

/* ==== Layout ==== */
.qa-wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
  background: var(--qa-bg);
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.qa-title {
  margin: 0 0 1.25rem;
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  color: var(--qa-text);
  line-height: 1.3;
  text-align: center;
}

/* ==== QA Items ==== */
.qa-item {
  background: var(--qa-white);
  border: 2px solid var(--qa-primary);
  border-radius: 14px;
  margin: 1rem 0;
  overflow: clip;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.qa-item[open] {
  border-color: var(--qa-border);
  box-shadow: 0 6px 14px rgba(247,186,179,0.25);
}

/* summary をボタン風に */
.qa-q {
  list-style: none;         /* 既定の?マーカーを消す */
  cursor: pointer;
  position: relative;
  padding: 1rem 3.25rem 1rem 1.1rem;
  background: linear-gradient(0deg, #00af99 0%, #f8c7c1 100%);
  color: #612d28;           /* 読みやすい濃色 */
  font-weight: 700;
  line-height: 1.5;
  user-select: none;
}

/* + / ? アイコン */
.qa-q::after {
  content: "+";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--qa-white);
  color: var(--qa-primary);
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1;
  border: 2px solid var(--qa-primary);
}

.qa-item[open] > .qa-q::after {
  content: "?";
  color: #b85f56;
  border-color: var(--qa-border);
}

/* キーボード操作の可視フォーカス */
.qa-q:focus-visible {
  outline: 3px solid #b85f56;
  outline-offset: 2px;
  border-radius: 12px;
}

/* 回答本文 */
.qa-a {
  padding: 1rem 1.1rem 1.2rem;
  background: linear-gradient(0deg, #fff 0%, #fff 65%, #fff8f7 100%);
  color: var(--qa-text);
  line-height: 1.9;
  font-size: 0.98rem;
}

.qa-a p {
  margin: 0.25rem 0 0.9rem;
}

.qa-a p:last-child {
  margin-bottom: 0.2rem;
}

.qa-a small {
  color: #666;
}

/* 追記文 */
.qa-note {
  margin-top: 1.2rem;
  padding: 0.9rem 1rem;
  background: #fff5f4;
  border-left: 6px solid var(--qa-primary);
  border-radius: 10px;
  color: #4a4a4a;
  font-size: 0.96rem;
}

/* ==== Responsive ==== */
@media (min-width: 768px) {
  .qa-wrap {
    padding: 2.2rem 2rem 3rem;
  }
  .qa-q {
    padding: 1rem 3.5rem 1rem 1.25rem;
    font-size: 1.05rem;
  }
  .qa-a {
    font-size: 1rem;
  }
}


/* ==== Base Colors ==== */
:root {
  --flow-accent: #00af99;
  --flow-bg: #f6f1cf;
  --flow-text: #333;
  --flow-white: #fff;
}

/* ==== Wrapper ==== */
.flow-wrap {
  background: var(--flow-bg);
  padding: 2.5rem 1rem 3rem;
  border-radius: 16px;
  max-width: 1100px;
  margin: 0 auto;
}

.flow-title {
  text-align: center;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  margin-bottom: 2rem;
  color: var(--flow-text);
}

/* ==== Steps ==== */
.flow-steps {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.flow-step {
  flex: 1 1 22%;
  background: var(--flow-white);
  border: 2px solid var(--flow-accent);
  border-radius: 14px;
  padding: 1rem;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.flow-img img {
  max-width: 140px;
  height: auto;
  margin: 0 auto 0.75rem;
  display: block;
}

.flow-step-title {
  font-size: 1.05rem !important;
  margin: 0.5rem 0 !important;
  color: #612d28 !important;
  width: 100% !important;
  padding: 0 !important;
}

.flow-step-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--flow-text);
}


/* ==== Responsive ==== */
@media (max-width: 768px) {
  .flow-steps {
    flex-direction: column;
    gap: 1.2rem;
  }
  .flow-step {
    flex: 1 1 100%;
    text-align: left;
    padding: 1.2rem;
  }
  .flow-img img {
    max-width: 120px;
    margin-bottom: 0.5rem;
  }
}

.anshin-block strong {
    font-size: 20px;
    color: #fe779b;
  }

/* 横スクロール対応 */
.custom-table-wrapper {
  overflow-x: auto;
  margin: 20px 0;
}

/* テーブルデザイン */
.custom-table {
  width: 100%;
  min-width: 500px;
  border-collapse: collapse;
  border: 2px solid #00af99;
  font-size: 15px;
  background-color: #fff;
}

/* 月（th）のセル */
.custom-table th {
  background: linear-gradient(135deg, #7dc05c 0%, #9ad97c 50%, #5cad85 100%);
  color: #333;
  padding: 12px 15px;
  text-align: left;
  width: 100px;
  white-space: nowrap;
  border: 1px solid #ddd; /* ←ここを修正 */
}

/* 内容（td）のセル */
.custom-table td {
  padding: 12px 15px;
  background-color: #f6f1cf;
  color: #333;
  border: 1px solid #ddd; /* ←tdも合わせて見た目を統一 */
  line-height: 1.6;
}

/* ホバー時の効果 */
.custom-table tr:hover td {
  background-color: #fff;
}
