@charset "UTF-8";
@import url(reset.css);

.pc {
  display: inherit !important;
}

.pc {
  display: none !important;
}

.sp {
  display: none !important;
}

.sp {
  display: inherit !important;
}

html,
body {
  -webkit-text-size-adjust: 100%;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 30%;
  line-break: strict;
  text-align: justify;
  overflow-wrap: break-word;
  word-wrap: break-word;
  background: #FFF;
  overflow-x: hidden;
  vertical-align: baseline;
}

.st {
  position: relative;
}

.st:after {
  position: absolute;
  left: calc(50% - 4.2rem);
  bottom: -8.4rem;
  content: "";
  border-top: 4.2rem solid #60C66A;
  border-right: 4.2rem solid transparent;
  border-bottom: 4.2rem solid transparent;
  border-left: 4.2rem solid transparent;
}

.center {
  text-align: center;
}

.container {
  width: 100%;
  max-width: 750px;
  margin: 0 auto;
}

.container header {
  display: flex;
  align-items: center;
  justify-content: center;
}

.container #consultation h2 {
  color: #60C66A;
  font-size: 9.8rem;
  font-weight: bold;
  line-height: 1.15;
  margin-bottom: 1.2rem;
}

.container #consultation h2 span {
  display: block;
  font-size: 6.2rem;
  letter-spacing: 0;
  left: 1;
}

.container #consultation .t-under {
  background: #FCE254;
  color: #4D4D4D;
  border-radius: 2.4rem;
  display: inline-block;
  font-size: 2.8rem;
  line-height: 1.28;
  font-weight: bold;
  padding: 0.5rem 2.4rem;
}

.container #consultation .btn {
  padding: 4rem;
}

.container #consultation .btn a {
  display: block;
}

.container #consultation .btn a:first-child {
  margin-bottom: 3.4rem;
}

.container #voice {
  background: #E6E8EC;
  padding-bottom: 8rem;
}

.container .t-top {
  background-color: #60C66A;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 7rem 0;
  margin-bottom: 6rem;
}

.container .t-top .inner {
  position: relative;
  max-width: 80rem;
  margin: 0 auto;
}

.container .t-top .inner h3 {
  color: #FFF;
  font-size: 6.4rem;
  text-align: center;
}

.container #voice .box {
  max-width: 62.8rem;
  margin: 0 auto 4.8rem;
}

.container #voice .box .tab {
  background: #60C66A;
  padding: 1.1rem 0 0.8rem;
  border-radius: 1.6rem 1.6rem 0 0;
  width: 17.2rem;
}

.container #voice .box .tab p {
  text-align: center;
  color: #FFF;
  line-height: 1;
  font-size: 2.4rem;
  font-weight: bold;
}

.container #voice .box .tab p span {
  font-size: 4.8rem;
}

.container #voice .box .white {
  max-width: 62.8rem;
  background: #FFF;
  padding: 3.2rem;
  border-radius: 0 3.2rem 3.2rem 3.2rem;
  margin: 0 auto;
}

.container #voice .box .white .profile {
  display: flex;
  margin-bottom: 3.2rem;
}

.container #voice .box .white .profile li:first-child {
  margin-right: 3.2rem;
}

.container #voice .box .white .profile li:first-child img {
  max-width: 14.4rem;
}

.container #voice .box .white .profile li:last-child {
  width: calc(100% - 17.6rem);
  padding-top: 3.2rem;
}

.container #voice .box .white .profile li:last-child span {
  position: relative;
  display: inline-block;
  color: #393939;
  font-size: 2.8rem;
  font-weight: bold;
  line-height: 1;
  padding-left: 2.4rem;
  margin: 0 1.6rem 1.3rem 0;
}

.container #voice .box .white .profile li:last-child span:after {
  content: "";
  position: absolute;
  left: 0;
  top: calc(50% - 0.8rem);
  width: 1.6rem;
  height: 1.6rem;
  background: #E26464;
}

.container #voice .box .white .text {
  font-size: 3rem;
  line-height: 1.6;
  color: #393939;
}

@media screen and (min-width: 768px) {
  .container #voice .box {
    max-width: 90%; /* Increase maximum width for PC view */
    width: 90%; /* Ensure full width usage */
    margin: 0 auto 4.8rem;
    padding: 0 2rem; /* Add some side padding */
  }

  .container #voice .box .white {
    max-width: 100%; /* Allow full width of the container */
    display: flex;
    align-items: center;
    padding: 3.2rem;
  }

  .container #voice .box .white .profile {
    display: flex;
    align-items: center;
    margin-bottom: 0;
  }

  .container #voice .box .white .profile li:first-child {
    margin-right: 3.2rem;
    flex-shrink: 0;
  }

  .container #voice .box .white .profile li:last-child {
    width: auto;
    padding-top: 0;
    flex-grow: 1;
  }

  .container #voice .box .white .text {
    margin-left: 5rem;
    margin-top: 1.6rem;
    width: 70%;
  }
}

.container #strength {
  background: #E6E8EC;
  padding-bottom: 8rem;
}

.container #strength .top {
  background-color: #60C66A;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 7rem 0;
  margin-bottom: 6rem;
}

.container #strength .top h3 {
  color: #FFF;
  font-size: 6.4rem;
  text-align: center;
}

.container #strength .box .strength-list {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  padding: 4rem 3rem;
}

.container #strength .box .strength-list > li {
  background: #FFF;
  border-radius: 1.6rem;
  padding: 3.2rem 4rem;
  text-align: left;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  position: relative;
}

.container #strength .box .strength-list > li::before {
  position: absolute;
  top: 3.2rem;
  right: 2rem;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background-color: #60C66A;
  opacity: 0.2;
}

.container #strength .box .strength-list > li h3 {
  color: #60C66A;
  font-size: 4rem;
  margin-bottom: 1.6rem;
  font-weight: bold;
}

.container #strength .box .strength-list > li p {
  color: #4D4D4D;
  font-size: 3rem;
  line-height: 1.5;
}

.strength-list > li {
  display: flex;
  align-items: center;
  background: #FFF;
  border-radius: 1.6rem;
  padding: 3.2rem 4rem;
  margin-bottom: 3rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.strength-icon {
  flex-shrink: 0;
  margin-right: 4rem;
}

.strength-icon img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.strength-content {
  flex-grow: 1;
}

.strength-content h3 {
  color: #60C66A;
  font-size: 4rem;
  margin-bottom: 1.6rem;
  font-weight: bold;
}

.strength-content p {
  color: #4D4D4D;
  font-size: 3rem;
  line-height: 1.5;
}

@media screen and (max-width: 767px) {
  .strength-list > li {
    flex-direction: column;
    text-align: center;
    padding: 2.4rem;
  }
  
  .strength-icon {
    margin: 0 0 2rem 0;
  }
  
  .strength-icon img {
    width: 64px;
    height: 64px;
  }
}

.container #example-image {
  background: #E6E8EC;
  padding-bottom: 8rem;
}

.container #example-image .top {
  background-color: #60C66A;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 7rem 0;
  margin-bottom: 6rem;
}

.container #example-image .top h3 {
  color: #FFF;
  font-size: 6.4rem;
  text-align: center;
}

.example-images .image-grid {
  display: flex;
  justify-content: space-between;
  margin: 0 10rem; /* Add left and right margins */
}

.example-images .image-grid .image-wrapper {
  /* Create a white border effect */
  padding: 10px;
  background-color: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  
  /* Slight rotation to add visual interest */
  transform: rotate(-2deg);
  transition: transform 0.3s ease;
  
  /* Set width to create space between images */
  width: 30%;
}

/* Hover effect to slightly lift the image */
.example-images .image-grid .image-wrapper:hover {
  transform: rotate(-2deg) scale(1.05);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

/* Ensure images maintain 4:3 aspect ratio and fill their container */
.example-images .image-grid .image-wrapper img {
  width: 100%;
  object-fit: cover;
  border-radius: 8px; /* Soft rounded corners */
}

/* Alternate slight rotations for each image for a more organic look */
.example-images .image-grid .image-wrapper:nth-child(2) {
  transform: rotate(2deg);
}

.example-images .image-grid .image-wrapper:nth-child(3) {
  transform: rotate(-1deg);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .example-images .image-grid {
    flex-direction: column;
    margin: 0 5rem;
  }
  
  .example-images .image-grid .image-wrapper {
    width: 100%;
    margin-bottom: 2rem;
    transform: none;
  }
  
  .example-images .image-grid .image-wrapper:hover {
    transform: scale(1.02);
  }
}

.container #faq {
  background-color: #E6E8EC;
  padding-bottom: 8rem;
}

.container #faq .top {
  background-color: #60C66A;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 7rem 0;
}

.container #faq .top h3 {
  color: #FFF;
  font-size: 6.4rem;
  text-align: center;
}

.container #faq .top img {
  display: inline-block;
  max-width: 23.2rem;
}

.container #faq .box .question {
  background: #E6E8EC;
  color: #4D4D4D;
  font-size: 2.5rem;
  padding: 4.8rem 0 11.4rem;
}

.container #faq .box .question div {
  position: relative;
  width: 75%;
  margin: 0 auto;
}

.container #faq .box .question div .icon-q {
  position: absolute;
  top: -2.2rem;
  left: -4.4rem;
  width: 8.8rem;
  height: 8.8rem;
}

.container #faq .box .question div p {
  display: block;
  font-size: 3rem;
  line-height: 1.6;
  font-weight: 500;
  padding-left: 6rem;
}

.container #faq .box .question div p span {
  padding-bottom: 0.2rem;
  border-bottom: 0.4rem solid #FCE254;
}

.container #faq .box .answer {
  position: relative;
  background: #FFF;
  border: 0.4rem solid #E26464;
  width: 100%;
  max-width: 84%;
  border-radius: 1.6rem;
  margin: -7.6rem auto 8rem;
  padding: 4rem 2.5rem 2.6rem;
}

.container #faq .box .answer:last-child {
  margin-bottom: 4.8rem;
}

.container #faq .box .answer .icon-a {
  position: absolute;
  top: -4rem;
  right: -4rem;
  width: 8rem;
  height: 8rem;
}

.container #faq .box .answer .t-st {
  font-size: 3rem;
  line-height: 1.3;
  color: #4D4D4D;
  font-weight: bold;
  margin: 0 2rem;
  margin-bottom: 2rem;
}

.container #faq .box .answer .text {
  font-size: 3rem;
  font-weight: 400;
  line-height: 1.6;
  color: #393939;
  padding-bottom: 4rem;
  display: none;
}

.container #flow {
  background: #E6E8EC;
  padding: 5.6rem 0 8rem;
  text-align: center;
}

.container #flow h3 {
  margin: 0 auto;
  color: #60C66A;
  font-size: 6.4rem;
  line-height: 1.1;
  padding-bottom: 1rem;
}

.container #flow h3 span {
  color: #FFF;
  font-size: 3.6rem;
  display: block;
  background: #B14747;
  padding: 0.8rem 0;
  margin-bottom: 0.4rem;
}

.container #flow .arrow {
  max-width: 4rem;
  margin: 1.6rem auto;
}

.container #flow .box {
  position: relative;
  max-width: 84%;
  margin: 0 auto;
  background: #FFF;
  border-radius: 1.6rem;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.32);
  padding: 2.4rem 3.2rem 4rem;
}

.container #flow .box img {
  max-width: 12rem;
  position: absolute;
  left: 3.2rem;
  top: -4rem;
}

.container #flow .box .top {
  display: block;
  border-bottom: 1px solid #60C66A;
  font-size: 3.6rem;
  font-weight: bold;
  color: #60C66A;
  line-height: 1.3;
  padding-bottom: 2.4rem;
  margin-bottom: 2.4rem;
}

.container #flow .box .under {
  font-size: 3.2rem;
  font-weight: 500;
  line-height: 1.3;
  color: #4D4D4D;
  text-align: left;
}

.container #cost {
  background: #60C66A;
  text-align: center;
  padding: 4.8rem 0 9.6rem;
}

.container #cost .icon {
  margin: 0 auto;
  max-width: 8.4rem;
}

.container #cost h3 {
  color: #FFF;
  font-size: 6.4rem;
  line-height: 1.5;
  margin-bottom: 5.2rem;
}

.container #cost .box {
  width: 84%;
  margin: 0 auto;
}

.container #cost .box .top {
  display: block;
  background: #E6E8EC;
  color: #60C66A;
  font-size: 3.2rem;
  font-weight: bold;
  line-height: 1.5;
  padding: 0.4rem 0;
}

.container #cost .box .inner {
  background: #FFF;
}

.container #cost .box .inner .text {
  font-size: 2.8rem;
  color: #393939;
  line-height: 1.4;
  padding-bottom: 4rem;
  font-weight: bold;
}

.container #cost .box .inner .text large {
  display: inline-block;
  color: #E26464;  /* 赤みがかった色で強調 */
  font-size: 3.6rem;  /* テキストサイズを大きく */
  font-weight: 900;  /* より太い文字に */
  margin: 0 0.5rem;  /* 前後に少しスペースを追加 */
  position: relative;
  transform: translateY(0.2rem);  /* 微調整のため少し下に */
  padding: 0 0.5rem;  /* 文字の左右にパディング */
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);  /* 微かな影をつける */
}

.container #cost .box .inner .text large:hover {
  animation: emphasis 0.5s ease-in-out;
}

.container #cost .box .inner .s-list {
  text-align: center;
  margin: 0 auto;
  padding: 2.4rem 0;
  display: flex;
  align-items: center;
}

.container #cost .box .inner .s-list li.fee {
  width: 37%;
}

.container #cost .box .inner .s-list li.fee.br {
  border-right: 1px solid #E6E8EC;
}

.container #cost .box .inner .s-list li.fee p {
  text-align: center;
  width: 100%;
  display: block;
  font-weight: 500;
  color: #393939;
  font-size: 2.8rem;
  line-height: 1.4;
}

.container #cost .box .inner .s-list li.fee p span {
  color: #E26464;
  font-weight: bold;
  display: block;
  width: 100%;
}

.container #cost .box .inner .s-list li.percent {
  width: 63%;
}

.container #cost .box .inner .s-list li.percent.bl {
  border-left: 1px solid #E6E8EC;
}

.container #cost .box .inner .s-list li.percent p {
  display: flex;
  align-items: center;
  margin: 0 4.8rem;
}

.container #cost .box .inner .s-list li.percent p.u-line {
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid #E6E8EC;
}

.container #cost .box .inner .s-list li.percent p span.ls {
  width: 100%;
  text-align: left;
  font-weight: 400;
  font-size: 2.8rem;
  color: #393939;
  line-height: 1.4;
}

.container #cost .box .inner .s-list li.percent p span.rs {
  width: 34%;
  text-align: right;
  font-family: 'Oswald', sans-serif;
  font-size: 3.6rem;
  font-weight: bold;
  color: #E26464;
}

.container #cost .box .inner .line {
  width: calc(100% - 8.8rem);
  height: 1px;
  margin: 0 auto;
  background: #E6E8EC;
}

.container #cost .box .plus {
  margin: 1.6rem auto;
}

.container #cost .box .plus img {
  width: 3.2rem;
}

.container #cost .list {
  margin-top: 3.2rem;
  text-align: left;
  color: #FFF;
  font-size: 2.4rem;
  font-weight: 400;
  line-height: 1.5;
}

.container #cost .list li {
  margin-bottom: 1.2rem;
  position: relative;
  padding-left: 4rem;
}

.container #cost .list li:last-child {
  margin-bottom: 0;
}

.container #cost .list li:after {
  content: "※";
  position: absolute;
  left: 0;
  top: 0rem;
}

.container footer {
  text-align: center;
}

.container footer .inner {
  width: 93%;
  margin: 6.6rem auto 3.8rem;
}

.container footer .inner p {
  color: #2B2B2B;
}

.container footer .inner p.f-logo {
  display: block;
  border-bottom: 1px solid #C1C1C1;
  padding-bottom: 5rem;
  margin-bottom: 4rem;
}

.container footer .inner p.f-logo img {
  width: 30%;
}

.container footer .inner p.top {
  font-size: 3rem;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 3.8rem;
}

.container footer .inner p.branch {
  font-size: 2.6rem;
  line-height: 1.5;
  margin-bottom: 1.4rem;
  font-weight: 500;
}

.container footer .inner p.address:last-child {
  margin-bottom: 0;
}

.container footer .gray {
  background: #707070;
  color: #FFF;
  font-size: 2.4rem;
  line-height: 1.5;
  padding-top: 4rem;
}

.container #fixed {
  position: fixed;
  z-index: 20000;
  left: calc(50% - 375px);
  bottom: 0;
  width: 750px;
}

.container #fixed {
  width: 100%;
  left: 0;
}

.container #fixed .text {
  color: #FFF;
  font-size: 2.4rem;
  line-height: 1;
  font-size: bold;
  background: #4D4D4D;
  display: block;
  text-align: center;
  padding: 0.6rem 0;
}

.container #fixed .link {
  width: 100%;
  display: flex;
}

/* Desktop/PC View */
@media screen and (min-width: 768px) {
  .container #fixed {
    max-width: 750px; /* Set maximum width to 750px */
    left: 50%; /* Center the fixed element */
    transform: translateX(-50%); /* Ensure perfect centering */
  }

  .container #fixed .link {
    display: flex;
    width: 100%;
  }

  .container #fixed .link a {
    width: 50%; /* Keep buttons side by side */
  }
}

/* Mobile/SP View */
@media screen and (max-width: 767px) {
  .container #fixed {
    width: 100%;
    left: 0;
  }

  .container #fixed .link {
    flex-direction: column; /* Stack buttons vertically */
  }

  .container #fixed .link a {
    width: 100%; /* Full width buttons */
    margin-bottom: 1rem; /* Add some space between buttons */
  }

  .container #fixed .link a:last-child {
    margin-bottom: 0; /* Remove margin from last button */
  }
}
/* =========================================================
   2026-11 改修：CTAボタン・ご相談フォーム・固定フッター・Thanks
   デザイン幅 686px 基準で縮尺（--u = 1デザインpx）
   ========================================================= */
.container {
  --u: calc(min(100vw, 750px) / 686);
  --yellow: #FECE2B;
  --brown: #9A4C34;
  --green: #60C66A;
  --text: #4D4D4D;
}

/* --- CTAボタン（電話・フォーム）：既存ボタン画像(628×150)と同じ形・余白 --- */
.container #consultation .cta {
  padding: 4rem 4rem 7rem;
}
.container #consultation .cta.inner {
  padding: 4rem 4rem 5rem;
}
.container #consultation .cta-btn {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 628 / 150;
  background: var(--yellow);
  color: var(--brown);
  border-radius: calc(var(--u) * 7);
  box-shadow: calc(var(--u) * 3) calc(var(--u) * 3) calc(var(--u) * 3) rgba(0, 0, 0, .35);
  text-decoration: none;
  transition: opacity .2s;
}
.container #consultation .cta-btn + .cta-btn {
  margin-top: 3.4rem;
}
.container #consultation .cta-btn:hover { opacity: .85; }
.container #consultation .cta-main {
  display: flex;
  align-items: center;
  gap: calc(var(--u) * 16);
  font-size: calc(var(--u) * 40);
  font-weight: 700;
  line-height: 1.45;
}
.container #consultation .cta-main img {
  width: calc(var(--u) * 58);
  height: calc(var(--u) * 58);
  flex-shrink: 0;
}
.container #consultation .cta-sub {
  font-size: calc(var(--u) * 20);
  font-weight: 500;
  line-height: 1.8;
  margin-top: calc(var(--u) * 4);
}

/* --- ご相談フォーム --- */
.container .consult-form {
  background: #FFF4CE;
  padding: 32px 16px 56px;
  color: var(--text);
  scroll-margin-top: 0;
}
.container .consult-form__head {
  text-align: center;
  margin-bottom: 24px;
}
.container .consult-form__head h3 {
  color: var(--green);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
}
.container .consult-form__head p {
  font-size: 15px;
  font-weight: 500;
  line-height: 2;
}
.container .form-card {
  box-sizing: border-box;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  padding: 56px;
  background: #FFF;
  border-radius: 8px;
  filter: drop-shadow(0 0 4px #BBB);
}
.container .form-card .fields {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.container .form-card fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.container .form-card .field { display: flex; flex-direction: column; gap: 8px; }
.container .form-card .label-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--text);
}
.container .form-card .badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 1000px;
  color: #FFF;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.45;
}
.container .form-card .badge.req { background: #FA6D6D; }
.container .form-card .badge.opt { background: #B3B3B3; }
.container .form-card .checks { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.container .form-card .checks label {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 16px;
  line-height: 1.5;
  cursor: pointer;
}
.container .form-card .checks input {
  appearance: none;
  -webkit-appearance: none;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  border: 1px solid #CCC;
  border-radius: 4px;
  background: #FFF;
  cursor: pointer;
  position: relative;
}
.container .form-card .checks input:checked {
  background: var(--green);
  border-color: var(--green);
}
.container .form-card .checks input:checked::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid #FFF;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.container .form-card .checks input:focus-visible,
.container .form-card .input:focus { outline: 2px solid var(--yellow); outline-offset: 1px; }
.container .form-card .input {
  box-sizing: border-box;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #CCC;
  border-radius: 4px;
  background: #FFF;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.3;
  color: var(--text);
}
.container .form-card .input::placeholder { color: #8392A1; font-size: 14px; font-weight: 500; }
.container .form-card .input.is-error { border-color: #FA6D6D; background: #FFF6F6; }
.container .form-card .error-msg { color: #E04848; font-size: 13px; line-height: 1.5; }
.container .form-card .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.container .form-card .footer-actions { margin-top: 32px; text-align: center; }
.container .submit-btn,
.container .back-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 320px;
  max-width: 100%;
  height: 72px;
  border: 0;
  border-radius: 1000px;
  background: var(--yellow);
  color: var(--brown);
  font-family: inherit;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .3));
  cursor: pointer;
  transition: opacity .2s;
}
.container .submit-btn:hover,
.container .back-btn:hover { opacity: .85; }

@media screen and (max-width: 767px) {
  .container .form-card { padding: 32px 20px; }
}

/* --- 固定フッターボタン（上書き） --- */
.container #fixed .link {
  display: flex !important;
  flex-direction: row !important;
}
.container #fixed .link a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 50% !important;
  margin: 0 !important;
  box-sizing: border-box;
  aspect-ratio: 628 / 150;
  background: var(--yellow);
  border-radius: calc(var(--u) * 4);
  box-shadow: calc(var(--u) * 2) calc(var(--u) * 2) calc(var(--u) * 2) rgba(0, 0, 0, .35);
  color: var(--brown);
  text-decoration: none;
}
.container #fixed .fixed-main {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: max(14px, calc(var(--u) * 22));
  font-weight: 700;
  line-height: 1.3;
}
.container #fixed .fixed-main img {
  width: max(22px, calc(var(--u) * 34));
  height: auto;
}
.container #fixed .fixed-sub {
  font-size: max(10px, calc(var(--u) * 15));
  font-weight: 500;
  line-height: 1.6;
}
.container footer { padding-bottom: calc(min(100vw, 750px) / 2 * 150 / 628); }
.container.is-thanks footer { padding-bottom: 0; }

/* --- Thanksページ --- */
.container .thanks-header {
  display: block;
  aspect-ratio: 686 / 197;
  overflow: hidden;
}
.container .thanks-header img {
  width: 100%;
  height: auto;
  display: block;
}
.container .thanks {
  background: #FFF4CE;
  padding: 64px 16px;
  text-align: center;
  color: var(--text);
}
.container .thanks h1 {
  color: var(--green);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.6;
}
.container .thanks .thanks-icon { width: 120px; height: 120px; margin: 20px auto; display: block; border-radius: 50%; background: #FFF; }
.container .thanks p {
  font-size: 15px;
  font-weight: 500;
  line-height: 2;
  text-align: center;
}
.container .thanks p + p { margin-top: 1em; }
.container .thanks .back-btn { width: 260px; margin-top: 40px; }
.container .thanks ul.errors { display: inline-block; text-align: left; font-size: 15px; line-height: 2; color: #E04848; }

/* --- ボタン形状を既存画像（btn1/btn2.png 628×150）と同じにする ---
   画像内の黄色部分：左右6px・上下5pxの透明余白、角丸8px、右下に影 */
.container #consultation .cta-btn,
.container #fixed .link a {
  position: relative;
  isolation: isolate;
  container-type: inline-size;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.container #consultation .cta-btn::before,
.container #fixed .link a::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: calc(100cqw / 628 * 5);
  bottom: calc(100cqw / 628 * 5);
  left: calc(100cqw / 628 * 6);
  right: calc(100cqw / 628 * 6);
  background: var(--yellow);
  border-radius: calc(100cqw / 628 * 8);
  box-shadow: calc(100cqw / 628 * 2) calc(100cqw / 628 * 2) calc(100cqw / 628 * 3) rgba(0, 0, 0, .55);
}

/* --- SP：追従ボタンを少し縦長に（628×150 → 628×180 の比率） --- */
@media screen and (max-width: 767px) {
  .container #fixed .link a {
    aspect-ratio: 628 / 180;
  }
  .container footer {
    padding-bottom: calc(100vw / 2 * 180 / 628);
  }
}
