/* メインビジュアル */
.slider-container {
  position: relative; /* コンテナ内でスライド位置を相対的に設定 */
  width: 100%; /* コンテナ幅を100%に */
  height: auto; /* コンテナの高さを固定 */
  overflow: hidden; /* スライドがコンテナ外に出ないように非表示 */
}

/* 画像の配置 */
.slideimg_sp {
  position: absolute; /* 位置を絶対指定で重ねて配置 */
  inset: 0; /* 親要素内にフルサイズで配置 */
  opacity: 0; /* 初期状態で透明に */
  background-size: cover; /* 画像をスライド全体にカバー */
  animation: slideAnime 12s infinite;
}
.slideimg_pc {
  position: absolute; /* 位置を絶対指定で重ねて配置 */
  inset: 0; /* 親要素内にフルサイズで配置 */
  opacity: 0; /* 初期状態で透明に */
  background-size: cover; /* 画像をスライド全体にカバー */
  animation: slideAnime 12s infinite;
}

/* スライド個別設定 */
.slideimg_sp:nth-of-type(1) {
  background-image: url("../images/top02/sp/mv05_bg01_sp.png");
  animation-delay: 0s;
}
.slideimg_sp:nth-of-type(2) {
  background-image: url("../images/top02/sp/mv05_bg02_sp.png");
  animation-delay: 4s;
}
.slideimg_sp:nth-of-type(3) {
  background-image: url("../images/top02/sp/mv05_bg03_sp.png");
  animation-delay: 8s;
}
.slideimg_pc:nth-of-type(1) {
  background-image: url("../images/top02/pc/mv05_bg01_pc.png");
  animation-delay: 0s;
}
.slideimg_pc:nth-of-type(2) {
  background-image: url("../images/top02/pc/mv05_bg02_pc.png");
  animation-delay: 4s;
}
.slideimg_pc:nth-of-type(3) {
  background-image: url("../images/top02/pc/mv05_bg03_pc.png");
  animation-delay: 8s;
}

.slideimg {
  animation: slideAnime 12s infinite; /* 9秒で1サイクル */
}

@keyframes slideAnime {
  0%,
  63%,
  100% {
    opacity: 0;
  } /* スライドの非表示タイミング */
  20%,
  33% {
    opacity: 1;
  } /* スライドの表示タイミング */
}

/* 各スライドのアニメーションタイミングを均等にずらす */
.slideimg:nth-of-type(1) {
  animation-delay: 0s;
}
.slideimg:nth-of-type(2) {
  animation-delay: 4s;
}
.slideimg:nth-of-type(3) {
  animation-delay: 8s;
}

/* 上に重ねるimgは固定表示 */
.slider_box img {
  position: relative;
  display: block;
  margin: 0 auto;
  width: 80%; /* サイズは調整 */
  height: auto;
}

/* ご相談電話・lineボックス---------------------------------------------------- */

.headline {
  font-size: 1.75rem;
  color: #635647;
  font-weight: bold;
  margin-bottom: 25px;
  line-height: 1.5;
  margin-top: 30px;
}

.framed-text {
  border: 2px solid #5d4037;
  padding: 2px 10px;
  display: inline-block;
  margin: 0 4px;
  color: #635647;
}

.description1 {
  color: #635647;
  font-size: 1.15rem;
  line-height: 1.6;
}
.description1 span {
  font-weight: bold;
}
.dotted-line {
  border-top: 2px dotted #f68b50;
  margin: 10px auto;
  width: 90%;
}

.sub-message {
  color: #e53e3e;
  font-weight: bold;
  font-size: 1rem;
}

@media (max-width: 640px) {
  .headline {
    font-size: 1.4rem;
  }
  .description1 {
    font-size: 1rem;
  }
}

/* ご相談電話・lineボックス---------------------------------------------------- */
/* --- 質問カードセクション --- */

.qa-card-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  flex-wrap: wrap;
}
.qa-card-container li {
  width: 31%;
  margin-top: 40px;
}
@media (max-width: 768px) {
  .qa-card-container li {
    width: 47%;
  }
  .qa-card {
    border: 6px solid #edb632 !important;
  }
}
@media (max-width: 458px) {
  .qa-card-container li {
    min-height: 200px;
  }
  .qa-card {
    border: 4px solid #edb632 !important;
    min-height: 230px !important;
    padding: 20px !important;
  }

  .qa-title {
    font-size: 1.1rem !important;
  }
}
.qa-card {
  max-width: 450px;
  min-height: 300px;
  background-color: #ffffff;
  border: 8px solid #edb632;
  border-radius: 40px;
  padding: 30px;
  position: relative;
  text-align: center;
  color: #5d4037;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: block;
}

.qa-card:hover {
  opacity: 0.85;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.qa-icon-top-left {
  position: absolute;
  top: 25px;
  left: 25px;
  background-color: #5d4037;
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  font-weight: bold;
}

.pet-illustration {
  width: 150px;
  margin: 0 auto 20px auto;
  display: block;
}

.qa-title {
  font-size: 1.3rem;
  font-weight: normal;
  line-height: 1.4;
  margin-top: 10px;
  color: #635647;
}

.qa-subtitle {
  font-size: 2rem;
  font-weight: bold;
  display: block;
  margin-top: 10px;
}
/* --- 質問カードセクション --- */
/* --- 新規追加：ポイント詳細ボックス --- */
.point-box-container {
  width: 100%;
  flex-wrap: wrap;
  background-color: rgb(255, 255, 255);
  border-radius: 15px;
}
@media screen and (max-width: 650px) {
  .point-box-container {
    flex-direction: column;
  }
  .point-box {
    width: 100% !important;
  }
}
.point-box {
  width: 100%;
  position: relative;
  padding: 30px 20px 30px;
  color: #5d4037;
  margin-top: 30px;
}
.point-boder {
  border-bottom: 1px solid #56422a;
  opacity: 0.3;
  margin: 0 auto;
  width: 85%;
}

.point-label {
  position: absolute;
  top: -30px;
  left: -30px;
  width: 100px;
  height: auto;
  color: white;
  display: flex;
  align-items: center;
  gap: 5px;
}
.point-label2 {
  position: absolute;
  top: -30px;
  right: -30px;
  width: 100px;
  height: auto;
  color: white;
  display: flex;
  align-items: center;
  gap: 5px;
}
@media screen and (max-width: 768px) {
  .point-label {
    width: 90px;
  }
  .point-label2 {
    width: 90px;
  }
}
@media (max-width: 768px) {
  .point-boder {
    display: none;
  }
}
.point-img-container {
  text-align: center;
}
.point-img {
  padding-top: 20px;
  max-width: 600px;
  width: 100%;
  height: auto;
  text-align: center;
}
.point-img2 {
  margin-bottom: 20px;
  max-width: 300px;
  width: 50%;
  height: auto;
  text-align: center;
}
.point-header {
  text-align: center;
  margin-bottom: 25px;
}

.point-header h3 {
  font-size: 1.3rem;
  font-weight: bold;
  color: #e6b02f;
  margin: 0;
  line-height: 1.6;
}

.photo-placeholder {
  width: 100%;
  max-width: 500px;
  margin: 0 auto 20px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #718096;
  position: relative;
}

.info-text {
  max-width: 600px;
  font-size: 0.85rem;
  line-height: 1.6;
  text-align: justify;
  margin: 0 auto;
  padding: 0 10px;
  padding-bottom: 20px;
  font-weight: 600;
}

.illustration-area {
  text-align: center;
  margin: 30px 0;
}

.dog-sleeping-icon {
  width: 280px;
  height: auto;
  margin: 0 auto;
  display: block;
}

.small-note {
  font-size: 0.7rem;
  color: #717171;
  text-align: left;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
  font-weight: 500;
}

.footer-note {
  font-size: 0.8rem;
  padding-top: 15px;
  margin: 0 auto;
  font-weight: 500;
  text-align: left;
  max-width: 600px;
}

/* --- スタッフ紹介セクション --- */
.staff-section {
  width: 100%;
  max-width: 1000px;
  margin-top: 60px;
  color: #5d4037;
}

.section-title {
  text-align: center;
  color: #d17a4d;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 40px;
}

.staff-container {
  display: flex;
  gap: 40px;
  justify-content: center;
  position: relative;
}

.staff-container::after {
  content: "";
  position: absolute;
  top: 10%;
  bottom: 10%;
  left: 50%;
  width: 1px;
  background-color: #ddd;
  display: block;
}

.staff-card {
  flex: 1;
  text-align: center;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.staff-role {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 5px;
}

.staff-name {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 15px;
}

.triangle-down {
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 12px solid #f68b50;
  margin: 0 auto 20px auto;
}

.profile-img-wrapper {
  width: 100%;
  margin: 0 auto;
}

.profile-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ccc;
  font-size: 0.8rem;
}

.license-badge {
  position: absolute;
  bottom: 30px;
  right: 0;
  width: 140px;
  background: white;
  border: 1px solid #999;
  padding: 5px;
  font-size: 0.6rem;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.staff-info {
  text-align: left;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-top: 20px;
}

.staff-qualification {
  font-weight: bold;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.staff-qualification::before {
  content: "◆";
  margin-right: 5px;
}

.staff-message {
  margin-top: 15px;
}

@media (max-width: 768px) {
  .staff-container {
    flex-direction: column;
    gap: 60px;
  }

  .staff-container::after {
    display: none;
  }
  .staff-card {
    padding: 0;
  }
}

.comparison-section {
  width: 100%;
  max-width: 1000px;
  margin-bottom: 60px;
}

.section-title {
  text-align: center;
  color: #d17a4d;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 30px;
}

.table-responsive {
  width: 100%;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.comparison-table th,
.comparison-table td {
  border: 3px solid #d1c8b8;

  padding: 20px 15px;
  text-align: left;
  vertical-align: middle;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #5d4037;
}

.comparison-table th.category-label {
  background-color: #f2d7b1;
  font-weight: bold;
  text-align: center;
  width: 20%;
}

.header-row th {
  text-align: center;
  font-weight: bold;
  color: white;
  padding: 15px;
}

.header-others {
  background-color: #a8a29e;
  width: 25%;
}

.col-highlight {
  width: 30%;
  border: 4px solid #edb632 !important;
  position: relative;
  background-color: #fff;
  box-shadow: 0 10px 20px rgba(237, 182, 50, 0.2);
  z-index: 1;
}

.header-highlight {
  background-color: #edb632;
  color: white !important;
  font-size: 1.2rem;
  position: relative;
}

.header-highlight .logo-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.td-highlight {
  color: #edb632 !important;
  font-weight: bold;
}

.comparison-table td {
  background-color: #fff;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.5rem;
  }
  .td-highlight {
    color: #fa8e15 !important;
  }

  .comparison-table,
  .comparison-table thead,
  .comparison-table tbody,
  .comparison-table tr,
  .comparison-table th,
  .comparison-table td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  .header-row {
    display: none !important;
  }

  .comparison-table tr {
    margin-bottom: 30px;
    border: 1px solid #d1c8b8;

    overflow: hidden;
    background: #fff;
  }

  .comparison-table th.category-label {
    width: 100%;
    background-color: #f2d7b1;
    font-size: 1.3rem;
    padding: 10px;
    border: none;
  }

  .comparison-table td {
    border: none;
    border-bottom: 1px solid #eee;
    background-color: #fff;
    padding: 15px 15px 15px 110px;
    position: relative;
    min-height: 80px;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
  }

  .comparison-table td::before {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 80px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-weight: bold;
    font-size: 1rem;
    color: #fff;
    text-align: center;
  }

  .comparison-table td:nth-of-type(1)::before {
    content: "当社";
    background-color: #fa8e15;
  }

  .comparison-table td:nth-of-type(2)::before {
    content: "他社A";
    background-color: #a8a29e;
  }

  .comparison-table td:nth-of-type(3)::before {
    content: "他社B";
    background-color: #a8a29e;
  }

  .comparison-table td.col-highlight {
    border-top: 6px solid #fa8e15 !important;
    border-bottom: 6px solid #fa8e15 !important;
    border-left: 6px solid #fa8e15 !important;
    border-right: 6px solid #fa8e15 !important;
  }
}
/* 値段の所ーーーーーーーー */
/* --- プランカードセクション --- */
.plan-card-container {
  display: flex;
  align-items: start;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;
}
@media screen and (max-width: 650px) {
  .plan-card-container {
    flex-direction: column;
  }
  .plan-card {
    width: 100% !important;
  }
}
.plan-card {
  width: 32%;
  margin-top: 30px;
}
.plan-card4 {
  width: 90% !important;
  margin: 0 auto;
}
.plan-card4 .plan-image-container {
  height: 680px;
}
.plan-card4 .price-main {
  justify-content: center !important;
  font-size: 3.5rem;
}
.plan-card4 .plan-description {
  text-align: left;
}

.plan-card {
  background-color: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  padding-bottom: 30px;
  transition: opacity 0.3s ease;
  text-decoration: none;
  color: #5d4037;
  display: block;
  border: 1px solid #eee;
}

.plan-label {
  position: absolute;
  top: 20px;
  left: 0;
  background-color: #55b4c4;
  color: white;
  padding: 0px 30px 0px 20px;
  font-size: 1.5rem;
  font-weight: bold;
  border-radius: 0 50px 50px 0;
  z-index: 2;
  box-shadow: 3px 3px 0px rgba(0, 0, 0, 0.1);
}

.plan-image-container {
  width: 100%;
  height: 280px;
  background-color: #fff;
  position: relative;
  overflow: hidden;
}

.plan-image-placeholder {
  width: 90%;
  height: 80%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: 50px;
  background-repeat: no-repeat;
  background: #fff;
  position: absolute;
  top: 52%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.plan-img1 {
  background-image: url(../images/top/sp/price-img1.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.plan-img2 {
  background-image: url(../images/top/sp/price-img2.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.plan-img3 {
  background-image: url(../images/top/sp/price-img3.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.plan-img4 {
  background-image: url(../images/top/sp/price-img4.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.plan-content-box {
  margin: 0 20px 0 20px;
  border-radius: 8px;
  overflow: hidden;
}

.plan-content-header {
  text-align: center;
  padding: 4px;
  font-size: 0.85rem;
  border-bottom: 1px solid #55b4c4;
  color: #444;
}

.plan-items {
  background-color: #fff;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
}

.plan-item {
  width: 50%;
  padding: 10px 5px;
  font-size: 0.95rem;
  font-weight: bold;
}

.plan-item-icon {
  margin-right: 8px;
  color: #5d4037;
}

.price-container {
  padding: 0 25px;
  margin-bottom: 15px;
}
.plan-card1 .plan-item::before {
  content: "";
  display: inline-block;
  width: 1.2em;
  height: 1.2em;
  margin-right: 5px;
  margin-left: 5px;
  vertical-align: middle;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.plan-card1 .plan-item:nth-child(1):before {
  background-image: url("../images/top/sp/plan-icon1.png");
}
.plan-card1 .plan-item:nth-child(2):before {
  background-image: url("../images/top/sp/plan-icon2.png");
}
.plan-card2 .plan-item::before {
  content: "";
  display: inline-block;
  width: 1.2em;
  height: 1.2em;
  margin-right: 5px;
  margin-left: 5px;
  vertical-align: middle;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.plan-card2 .plan-item:nth-child(1):before {
  background-image: url("../images/top/sp/plan-icon1.png");
}
.plan-card2 .plan-item:nth-child(2):before {
  background-image: url("../images/top/sp/plan-icon2.png");
}
.plan-card3 .plan-item::before {
  content: "";
  display: inline-block;
  width: 1.2em;
  height: 1.2em;
  margin-right: 5px;
  margin-left: 5px;
  vertical-align: middle;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.plan-card3 .plan-item:nth-child(1):before {
  background-image: url("../images/top/sp/plan-icon3.png");
}
.plan-card3 .plan-item:nth-child(2):before {
  background-image: url("../images/top/sp/plan-icon1.png");
}
.plan-card3 .plan-item:nth-child(3):before {
  background-image: url("../images/top/sp/plan-icon4.png");
}
.plan-card3 .plan-item:nth-child(4):before {
  background-image: url("../images/top/sp/plan-icon5.png");
}
.plan-card4 .plan-item::before {
  content: "";
  display: inline-block;
  width: 1.2em;
  height: 1.2em;
  margin-right: 5px;
  margin-left: 5px;
  vertical-align: middle;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.plan-card4 .plan-item:nth-child(1):before {
  background-image: url("../images/top/sp/plan-icon3.png");
}
.plan-card4 .plan-item:nth-child(2):before {
  background-image: url("../images/top/sp/plan-icon1.png");
}
.plan-card4 .plan-item:nth-child(3):before {
  background-image: url("../images/top/sp/plan-icon6.png");
}
.plan-card4 .plan-item:nth-child(4):before {
  background-image: url("../images/top/sp/plan-icon4.png");
}
.plan-card4 .plan-item:nth-child(5):before {
  background-image: url("../images/top/sp/plan-icon5.png");
}
/* 各プランの色設定 */
.price1 {
  color: rgb(58, 144, 161);
}
.price2 {
  color: rgb(122, 81, 145);
}
.price3 {
  color: rgb(222, 106, 106);
}
.price4 {
  color: rgb(181, 151, 114);
}
/* boder */
.price1-bd {
  background-color: rgb(86, 184, 204);
}
.price2-bd {
  background-color: rgb(165, 130, 186);
}
.price3-bd {
  background-color: rgb(245, 125, 125);
}
.price4-bd {
  background-color: rgb(171, 154, 133);
}
.plan-bg1 {
  background-color: rgb(218, 241, 245);
  border-bottom: 1px solid #55b4c4;
}
.plan-bg2 {
  background-color: rgb(236, 225, 242);
  border-bottom: 1px solid rgb(165, 130, 186);
}
.plan-bg3 {
  background-color: rgb(250, 227, 222);
  border-bottom: 1px solid rgb(245, 125, 125);
}
.plan-bg4 {
  background-color: rgb(235, 225, 213);
  border-bottom: 1px solid rgb(171, 154, 133);
}
.plan-cbd1 {
  border: 1.5px solid #55b4c4;
}
.plan-cbd2 {
  border: 1.5px solid rgb(165, 130, 186);
}
.plan-cbd3 {
  border: 1.5px solid rgb(245, 125, 125);
}
.plan-cbd4 {
  border: 1.5px solid rgb(171, 154, 133);
}
.plan-card1 .plan-item-child {
  border-left: 1px solid #55b4c4;
}

.plan-card2 .plan-item-child {
  border-left: 1px solid rgb(165, 130, 186);
}
.plan-card3 .plan-item-child {
  border-left: 1px solid rgb(245, 125, 125);
}
.plan-bb1 {
  border-bottom: 1px solid rgb(245, 125, 125);
}
.plan-card4 .plan-item-child {
  border-left: 1px solid rgb(171, 154, 133);
}
.plan-bb2 {
  border-bottom: 1px solid rgb(171, 154, 133);
}
.price-main {
  font-size: 2.5rem;
  font-weight: bold;
  display: flex;
  align-items: baseline;
}

.price-symbol {
  font-size: 2.2rem;
  margin-right: 2px;
}

.price-tax {
  font-size: 1.2rem;
  margin-left: 5px;
  font-weight: normal;
}

.price-suffix {
  font-size: 1.8rem;
  margin-left: 2px;
}

.price-divider {
  border: none;
  border-top: 1px solid #ddd;
  margin: 10px 25px;
}

.plan-description {
  padding: 0 25px;
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.8;
  color: #444;
}
.plan-description .btn {
  padding-top: 20px;
  margin: 0 auto;
}

@media (max-width: 668px) {
  .plan-card4 .plan-image-container {
    height: 280px;
  }
  .plan-card {
    max-width: 400px;
    margin: 0 auto;
    margin-bottom: 30px;
  }
  .plan-section {
    max-width: 100%;
  }
  .plan-label {
    font-size: 1.2rem;
    padding: 2px 20px 2px 15px;
  }
  .plan-content-box {
    margin-bottom: 0;
  }
  .price-container {
    margin-bottom: 0;
  }

  .price-symbol {
    font-size: 1.8rem;
  }
  .price-suffix {
    font-size: 1.4rem;
  }
  .plan-description {
    font-size: 0.95rem;
  }
  .plan-item {
    font-size: 0.85rem;
  }
}
/* お亡くなりご安置 */
/* --- フローカードコンテナ --- */
.flow-container {
  width: 100%;
  margin: 0 auto;
  background-color: #fde6d2;
  border: 1px solid #e0cbb8;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  padding-bottom: 30px;
  transition: opacity 0.3s ease;
  margin-top: 30px;
}

.flow-container:hover {
  opacity: 0.95;
}

.flow-header {
  position: relative;
  width: calc(100% - 30px);
  margin: 15px auto;
  border-radius: 10px;
  overflow: hidden;
}

.flow-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-size: 40px;
}
.flow-illust {
  text-align: center;
}
.flow-illust img {
  width: 50% !important;
}

.flow-number {
  margin-right: 10px;
  font-size: 4rem;
  font-weight: 800;
  color: #f6b93b;
  line-height: 1;
  z-index: 10;
  font-family: "Arial", sans-serif;
}

.flow-title {
  position: absolute;
  padding-left: 10px;
  padding-bottom: 5px;
  font-size: 1.6rem;
  font-weight: bold;
  color: #5d4037;
  z-index: 11;
  text-shadow: 1px 1px 0 white;
  background-color: rgba(255, 255, 255, 0.7);
  width: 100%;
}

.flow-label {
  display: inline-block;
  background-color: #d17a4d;
  color: white;
  padding: 6px 20px;
  border-radius: 10px;
  font-weight: bold;
  margin: 10px 15px 20px;
  font-size: 1.1rem;
}

.flow-content {
  padding: 0 20px;
  color: #5d4037;
}

.flow-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
  line-height: 1.7;
  font-size: 1.05rem;
}

.check-icon {
  color: #d17a4d;
  font-size: 1.4rem;
  margin-right: 10px;
  margin-top: -2px;
  flex-shrink: 0;
}

.flow-illustration {
  width: 80%;
  margin: 20px auto;
  display: block;
}

.tel-link {
  color: #5d4037;
  text-decoration: none;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
}

.tel-link::before {
  content: "☎";
  margin-right: 5px;
}

@media (max-width: 500px) {
  .flow-title {
    font-size: 1.3rem;
  }
  .flow-number {
    font-size: 3rem;
  }
  .flow-label {
    font-size: 1rem;
  }
  .flow-item {
    font-size: 0.95rem;
  }
}
/* --- フローカードコンテナ --- */

.company-container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  background-color: #fff;
  border: 1px solid #d1c8b8;
  border-radius: 24px;
  padding: 40px 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  color: #5d4037;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
}

.company-row {
  display: flex;
  padding: 20px 0;
  border-bottom: 1px dotted #ccc;
  align-items: center;
}

.company-row:last-child {
  border-bottom: none;
}

.company-label {
  width: 140px;
  font-weight: bold;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.company-value {
  flex-grow: 1;
  font-size: 1.1rem;
  line-height: 1.6;
}

.company-value p {
  margin: 0;
}

@media (max-width: 600px) {
  .company-container {
    padding: 25px 20px;
    border-radius: 15px;
  }

  .company-row {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 0;
  }

  .company-label {
    width: 100%;
    margin-bottom: 8px;
    font-size: 1rem;
  }

  .company-value {
    width: 100%;
    font-size: 1rem;
  }
}
/* －－－－－－－－－－　お客様の声　－－－－－－－－－－ */

.review-list {
  display: flex;
  flex-direction: column;

  color: #5d4037;
}
@media (min-width: 768px) {
}

.review-card {
  position: relative;
  background-color: #ffffff;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
@media (max-width: 768px) {
  .review-card {
    padding: 2.5rem;
    margin: 0 auto;
  }
}

.corner {
  position: absolute;
  width: 2rem;
  height: 2rem;
  border-style: solid;
  border-color: #e2ab28;
  border-width: 0;
}
@media (min-width: 768px) {
  .corner {
    width: 3rem;
    height: 3rem;
  }
}

.corner.top-left {
  top: 0;
  left: 0;
  border-top-width: 5px;
  border-left-width: 5px;
  border-top-left-radius: 0.75rem;
}
.corner.top-right {
  top: 0;
  right: 0;
  border-top-width: 5px;
  border-right-width: 5px;
  border-top-right-radius: 0.75rem;
}
.corner.bottom-left {
  bottom: 0;
  left: 0;
  border-bottom-width: 5px;
  border-left-width: 5px;
  border-bottom-left-radius: 0.75rem;
}
.corner.bottom-right {
  bottom: 0;
  right: 0;
  border-bottom-width: 5px;
  border-right-width: 5px;
  border-bottom-right-radius: 0.75rem;
}

@media (min-width: 768px) {
  .corner.top-left {
    border-top-width: 6px;
    border-left-width: 6px;
  }
  .corner.top-right {
    border-top-width: 6px;
    border-right-width: 6px;
  }
  .corner.bottom-left {
    border-bottom-width: 6px;
    border-left-width: 6px;
  }
  .corner.bottom-right {
    border-bottom-width: 6px;
    border-right-width: 6px;
  }
}

.card-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 10;
}
@media (max-width: 768px) {
  .card-content {
    flex-direction: column;
  }
  .card-left,
  .card-right {
    width: 100% !important;
  }
  .card-right {
    margin-top: 15px;
  }
  .review-card {
    padding: 1.5rem;
  }
}

.card-left {
  width: 48%;
}

.user-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.animal-icon {
  width: 50px;
  flex-shrink: 0;
}
.animal-icon svg {
  width: 100%;
  height: 100%;
}

.user-name {
  font-size: 1rem;
  color: #56422a;
  font-weight: bold;
}
@media (min-width: 768px) {
  .user-name {
    font-size: 15px;
  }
}

.user-text {
  font-size: 1rem;
  color: #56422a;
  font-weight: 500;
  line-height: 1.8;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
@media (min-width: 768px) {
  .user-text {
    font-size: 0.875rem;
  }
}

.card-right {
  width: 48%;
}

.questionnaire-paper {
  width: 100%;

  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
@media (min-width: 768px) {
}

.questionnaire-header {
  border-bottom: 2px solid #9ca3af;
  padding-bottom: 0.25rem;
  margin-bottom: 0.5rem;
}

.questionnaire-title {
  font-weight: bold;
  color: #374151;
  font-size: 10px;
  letter-spacing: 0.1em;
}
@media (min-width: 768px) {
  .questionnaire-title {
    font-size: 0.75rem;
  }
}

.handwriting {
  font-family: "Zen Kurenaido", sans-serif;
  color: #1f2937;
  width: 100%;
  padding: 0.25rem 0.25rem 0.5rem 0.25rem;
}

.text-size-1 {
  font-size: 16px;
}
.text-size-2 {
  font-size: 15px;
}

@media (min-width: 768px) {
  .text-size-1 {
    font-size: 19px;
  }
  .text-size-2 {
    font-size: 17px;
  }
}

.ruled-lines-1 {
  line-height: 2.2rem;
  background-image: repeating-linear-gradient(transparent, transparent calc(2.2rem - 1px), #cbd5e1 calc(2.2rem - 1px), #cbd5e1 2.2rem);
}
.ruled-lines-2 {
  line-height: 1.8rem;
  background-image: repeating-linear-gradient(transparent, transparent calc(1.8rem - 1px), #cbd5e1 calc(1.8rem - 1px), #cbd5e1 1.8rem);
}
