/* index.css */
@charset "utf-8";

body {
  font-family: "游ゴシック", sans-serif;
  line-height: 1.8em;
  word-break: auto-phrase;
  margin: 0;
  padding: 0;
}
.header-logo {
  text-align: center;
}
.company-logo {
  display: block;
  margin: 0 auto;
  width: 80%;

  height: auto;
}
.workteam-logo {
  display: block;
  margin: 0 auto;
  width: 100%;
  height: auto;
}
.top-pic {
  text-align: center;
  max-width: auto;
  height: auto;
  margin: 0 auto;
}
.top-pic img {
  width: 100%;
  height: auto;
}
.anywhere-table {
  width: 100%;
  text-align: center;
  margin: auto;
}
.anywhere-table img {
  width: 100%;
  height: auto;
}
.guide-banner {
  margin: 20px auto;
  max-width: 100%;
  text-align: center;
}
.guide-banner img {
  width: 100%;
  height: auto;
  max-width: 1200px;
}
.simu-banner {
  max-width: 100%;
  text-align: center;
  margin-top: 15px;
  padding:0;
}
.simu-banner img {
  width: 100%;
  height: auto;
}
.comical-banner {
  margin: 20px auto;
  width: 100%;
  max-width: 600px;
}
.comical-banner img {
  width: 100%;
}

.insecurity {
  background-image: url("https://lifesupport-saijo.com/wp-content/uploads/2025/07/f3810bf191c7fbd6a11f4e4f98b7d996.png");
  background-color: rgba(255, 255, 255, 0.7);
  padding: 10px;
  background-repeat: no-repeat;
  background-position: center;
}
.insecurity h2 {
  text-align: center;
  font-size: 1.5em;
  border-bottom: solid 2px black;
}
.insecurity p {
  background-color: rgba(0, 0, 0, 0.1);
  width: 80%;
  padding: 10px 20px;
  margin: 20px auto;
  font-size: 1.3em;
  font-weight: bold;
}
details {
  border: solid 1px black;
  margin: 20px auto;
  padding: 10px;
  font-size: 1em;
  text-align: left;
  font-weight: normal;
}
summary {
  padding: 5px;
  font-size: 1.2em;
  font-weight: bold;
}
.red {
  color: rgb(212, 0, 0);
}
.bold {
  font-weight: bold;
}
.big {
  font-size: large;
}
.xbig {
  font-size: x-large;
}
.small {
  font-size: small;
  line-height: normal;
}
.blue-bg {
  background-color: rgb(240, 245, 255);
  padding: 10px;
  text-align: center;
}
.gray-bg {
  background-color: rgb(240, 240, 240);
  padding: 10px;
  text-align: center;
}
.gray-bg li {
  margin-top: 5px;
}
.compare {
  text-align: center;
  padding: 15px;
  background-color: rgb(240, 245, 255);
  font-size: 1.2em;
}
.compare h2 {
  font-size: x-large;
  border-top: solid 2px black;
  border-bottom: solid 2px black;
  padding: 10px 0;
  margin: 20px 30px;
}
.compare img {
  width: 80%;
  margin-top: 20px;
}
/* テーブル表示 */
.table-wrap {
  overflow-x: scroll;
  font-size: large;
}
.compare table {
  border-collapse: collapse;
  margin: 20px auto;
  padding: 0;
  width: 650px;
  table-layout: fixed;
}

.compare table tr {
  background-color: #fff;
  padding: 0.2em;
  border: 2px solid #eee;
}
.compare table tr:last-child {
  border: none;
}
.compare table th {
  padding: 0.2em;
  border-right: 2px solid #fff;
}
.compare table td {
  padding: 0.1em 0.1em;
  border-right: 2px solid #eee;
  text-align: center;
}
.compare table th {
  font-size: 1em;
}
.compare table thead tr {
  background-color: #50535d;
  color: #fff;
}
.compare table tbody th {
  border-right: 2px solid #eee;
}
.compare th.non {
  border-right: none;
}
.compare .txt {
  text-align: left;
  font-size: 0.85em;
}
.compare .price {
  color: #000;
  font-weight: bold;
  font-size: 1.1em;
}
.compare .price span {
  font-size: 0.6em;
}
.compare .red_bk {
  background: #e81010;
}
.compare .red-txt {
  color: #e81010;
}

.compare .btn {
  background: linear-gradient(0deg, red, rgb(255, 160, 160));
  border: 2px solid #e81010;
  color: #fff;
  padding: 0.5em;
  border-radius: 20px;
  display: block;
  font-size: 1em;
  margin: auto;
}
.compare .btn:hover {
  background: #fff;
  border: 2px solid #e81010;
  color: #e81010;
  transition: 0.2s;
}
.compare table .btnarea td {
  padding: 0.2em 0.5em;
  border-right: none;
}
.price {
  text-align: center;
}
h2 {
  font-size: x-large;
  border-top: solid 2px black;
  border-bottom: solid 2px black;
  padding: 10px 0;
  margin: 20px 30px;
  text-align: center;
}
.price table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 20px auto;
  max-width: 800px;
}

.price table th:first-child {
  border-radius: 5px 0 0 0;
}

.price table th:last-child {
  border-radius: 0 5px 0 0;
  border-right: 1px solid #3c6690;
}

.price table th {
  text-align: center;
  color: white;
  background: linear-gradient(#829ebc, #225588);
  border-left: 1px solid #3c6690;
  border-top: 1px solid #3c6690;
  border-bottom: 1px solid #3c6690;
  box-shadow: 0px 1px 1px rgba(255, 255, 255, 0.3) inset;
  width: 25%;
  padding: 10px 0;
}

.price table td {
  text-align: center;
  border-left: 1px solid #a8b7c5;
  border-bottom: 1px solid #a8b7c5;
  border-top: none;
  box-shadow: 0px -3px 5px 1px #eee inset;
  width: 25%;
  padding: 5px 0;
}

.price table td:last-child {
  border-right: 1px solid #a8b7c5;
}

.price table tr:last-child td:first-child {
  border-radius: 0 0 0 5px;
}

.price table tr:last-child td:last-child {
  border-radius: 0 0 5px 0;
}
.price details {
  font-size: medium;
  border: none;
  padding: 0 10%;
  text-align: left;
}
.price summary {
  font-size: medium;
  padding: 0;
  font-weight: bold;
  text-align: center;
}

.thin {
  width: 30%;
}
.greeting {
  text-align: center;
}
.greeting img {
  display: inline-block;
  margin-top: 30px;
  width: 40vw;
  max-width: 300px;
}
.text-block {
  width: 70%;
  text-align: left;
  margin: 0 auto;
}
#flow {
  width: 100%;
  max-width: 800px;
  margin: auto;
}
.flow-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.flow-step {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-bottom: 30px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 15px;
}

.flow-icon {
  width: 80px;
  flex-shrink: 0;
  text-align: center;
  margin-bottom: 10px;
}

.flow-icon img {
  width: 60px;
  height: auto;
}

.flow-text {
  flex: 1;
  min-width: 0;
  padding-left: 15px;
  box-sizing: border-box;
}

.bold {
  font-weight: bold;
}

/* フローティングバナー */
.floating-banner-middle {
  display: none;
}

.floating-banner-mobile {
  display: block;
  position: fixed;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  right: 0%;
  bottom: 0;
  margin: 0px;
  padding: 0px;
  width: 100%;
}
.floating-banner-mobile img {
  width: 100%;
}
.balloon2-left {
  position: relative;
  display: inline-block;
  margin: 1.5em 0 1.5em 15px;
  padding: 7px 10px;
  min-width: 120px;
  max-width: 80%;
  color: #111;
  font-size: 16px;
  background: #fff;
  border: solid 3px #555;
  box-sizing: border-box;
}

.balloon2-left:before {
  content: "";
  position: absolute;
  top: 5%;
  left: -24px;
  margin-top: -12px;
  border: 12px solid transparent;
  border-right: 12px solid #fff;
  z-index: 2;
}

.balloon2-left:after {
  content: "";
  position: absolute;
  top: 5%;
  left: -30px;
  margin-top: -14px;
  border: 14px solid transparent;
  border-right: 14px solid #555;
  z-index: 1;
}

.balloon2-left p {
  margin: 0;
  padding: 0;
  text-align: left;
}
.customer-block {
  display: flex;
  max-width: 1000px;
  margin: auto;
}
.customer-block img {
  width: 20%;
  height: 20%;
  max-width: 100px;
}
.faq details {
  background-color: rgb(255, 255, 255);
  background-image: url("https://lifesupport-saijo.com/wp-content/uploads/2025/07/Q-1.png");
  background-position: top left;
  background-repeat: no-repeat;
  font-size: medium;
  border: none;
  text-align: left;
  padding: 30px;
}
.faq summary {
  font-size: medium;
}
.faq p {
  font-size: medium;
  text-align: left;
  width: 70%;
  max-width: 900px;
  margin: auto;
}
.footer {
  padding: 0.1rem 0.5rem;
  border-bottom: 1px solid #ccc;
  z-index: 10;
}
.footer ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2.5rem;
  list-style: none;
  padding: 0;
}
.footer li {
  font-size: small;
}
.footer a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
}
.copyright {
  text-align: center;
  text-decoration: none;
  color: #333;
  margin-top: 2em;
}
.info-section {
  margin: 2rem 0;
  font-family: "Helvetica", sans-serif;
  line-height: 2em;
}
.info-section p {
  width: 90%;
  margin: auto;
  max-width: 700px;
}

.banner {
  margin: 1.5rem 0;
  text-align: center;
}

.banner img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.custom-details {
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 1rem;
  background-color: #f9f9f9;
  max-width: 800px;
  width: 80%;
  margin: 20px auto;
}

.custom-details summary {
  font-weight: bold;
  cursor: pointer;
  font-size: 1.1rem;
  color: #2a2a2a;
  margin-bottom: 0.5rem;
  text-align: center;
}

.details-body {
  margin-top: 1rem;
  line-height: 1.6;
}

.caution-list {
  margin-top: 1rem;
  padding-left: 1.2rem;
}

.caution-list li {
  margin-bottom: 0.5rem;
}

.bold {
  font-weight: bold;
}

.highlight-red {
  color: #c00;
  font-weight: bold;
}

.highlight {
  background-color: #ffffcc;
  padding: 0.1em 0.3em;
  border-radius: 4px;
}

.link-button {
  color: white;
  background-color: #d9534f;
  padding: 0.2em 0.5em;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
}

.link-button:hover {
  background-color: #c9302c;
}

.promise-box {
  background-color: #f4efda;
  border: 3px solid #fd9a4a;
  border-radius: 6px;
  padding: 1rem;
}

.floating-menu {
  display: block;
  background-color: #f49c00;
  padding: 2px 0rem;
  border-bottom: 1px solid #ccc;
  position: sticky;
  top: 0;
  z-index: 10;
  margin-bottom: 10px;
}
.floating-menu ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  gap: 0.5rem 1vw;
  list-style: none;
  padding: 0;
}
.floating-menu li {
  background-color: #ffcc22;
  padding: 2px 2vw;
}
.floating-menu a {
  font-size: min(3.5vw, 20px);
  text-decoration: none;
  color: #333;
  font-weight: bold;
}
.faq details {
  max-width: 800px;
}
#quick-quote {
  max-width: 700px;
  box-sizing: border-box;
  margin: 10px auto;
}
.orange-top {
  border: 5px #f49c00 solid;
  border-radius: 30px 30px 0 0;
  background-color: #ffbb55;
  text-align: center;
  line-height: 2.5em;
  padding: 0;
  margin: 0 2%;
}
.orange-top p {
  color: #fff;
  font-size: min(5vw, 30px);
  font-weight: 800;
  line-height: 1.2em;
}
.orange-body {
  border: 5px #f49c00 solid;
  border-radius: 0 0 30px 30px;
  text-align: center;
  margin: 0 2%;
}
.orange-body label {
  font-size: 1.2em;
  font-weight: bold;
}
.orange-body select {
  font-size: large;
  font-weight: bold;
  padding: 8px;
}
.orange-body .node {
  border: 5px #f49c00 solid;
  border-radius: 10px;
  margin: 2vw 5vw;
  padding: 1em 5vw;
}
.orange-body p {
  font-size: 1.2em;
  margin: 10px auto;
  width: 80%;
}
.attention {
  font-size: small;
  line-height: 1.2em;
  text-align: left;
  margin: 5px 10px;
}
.orange-body h3 {
  font-size: 1.8em;
}
.orange-body img {
  width: 100%;
  margin: 10px auto;
}
.hidden {
  display: none;
}
.toggle_button input {
  padding: 30px;
  background-color: #faa;
  display: block;
}
.estimate-box {
  margin-top: 20px;
  padding: 15px;
  border: 2px solid #f90;
  background: #fffbe6;
  font-size: 1.2em;
  font-weight: bold;
}
#estimate-price {
  font-size: 1.5em;
  color: red;
}
#first-cta {
  max-width: 1200px;
  margin: auto;
}
.button {
  transition-property: opacity;
  transition-duration: 0.5s;
}
.button:hover {
  opacity: 0.6;
}
.carousel-container {
  width: 100%;
  max-width: 600px;    /* 必要に応じて調整 */
  margin: 0 auto;
  overflow: hidden;
  padding: 0 12px;     /* チラ見せ用の左右余白 */
  box-sizing: border-box;
}

.carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  gap: 16px;
  padding: 16px 0;
}

.carousel-item {
  flex: 0 0 72vw;      /* チラ見せ用。60-80vwでお好み調整 */
  max-width: 320px;    /* PC時の上限サイズ */
  scroll-snap-align: center;
  background: #222;
  border-radius: 12px;
  box-shadow: 0 2px 12px #0004;
  position: relative;
  color: #fff;
  transition: box-shadow 0.2s;
}
.carousel-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
}
.label {
  padding: 10px 8px 8px 8px;
  font-size: 1.05em;
  text-align: center;
}
.done {
  display: block;
  color: #ff2222;
  font-weight: bold;
  font-size: 1.15em;
  margin-top: 6px;
}

/* オプション：アクティブ画像をちょっとだけ目立たせる例 */
.carousel-item:active,
.carousel-item:focus-within {
  box-shadow: 0 4px 24px #0008;
}

.bee-zone {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.bee {
  position: absolute;
  width: 80px;
  height: auto;
  pointer-events: none;
  z-index: 10;
  transition: transform 3s linear;
}
.dialog {
  display: none;
  position: fixed;
  z-index: 999999;
  top:2vh;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.45);
  justify-content: center;
  align-items: center;
}
.dialog-content {
  background: #fff;
  border-radius: 20px;
  width: 90vw;
  max-width: 600px; 
  min-width: 310px;
  padding: 18px 12px 72px 12px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
  position: relative;
  max-height: 90vh;
  overflow-y: scroll;
}
.open-btn {
  font-size: 1.2em;
  padding: 18px 32px;
  border-radius: 12px;
  background: #e4b014;
  color: #fff;
  border: none;
  margin: 32px auto;
  display: block;
  font-weight: bold;
}
.close-btn {
  position: absolute;
  top: 12px;
  right: 14px;
  background: #eee;
  border: none;
  border-radius: 10px;
  font-size: 1.1em;
  padding: 6px 22px;
}
.summary {
  margin-bottom: 18px;
  margin-top: 60px;
  font-size: 0.96em;
}
.summary-item {
  background: #f2f7ff;
  border-radius: 9px;
  padding: 7px 11px;
  display: inline-block;
  margin: 0 8px 5px 0;
  cursor: pointer;
  font-size: 0.98em;
  border: 1px solid #bcd;
}
.summary-item:hover {
  background: #cbe5ff;
}
.question-title {
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 5px;
}
.question-desc {
  font-size: 1.5em;
  color: #555;
  margin-bottom: 17px;
}
.estimate-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-bottom: 30px;
}
.estimate-btn {
  flex: 1 1 42%;
  min-width: 48%;
  max-width: 100%;
  padding: 18px 0;
  font-size: 1.5em;
  border-radius: 13px;
  border: none;
  background: #ccc;
  margin-bottom: 8px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 2px 5px #e6e9f3;
  transition: background 0.14s;
}
.estimate-btn.selected {
  background: #f9ce3c;
  color: #333;
  border: 2px solid #e5b400;
}
.estimate-btn:not(.selected) {
  background: #ddd;
  color: black;
}
.estimate-slider {
  width: 99%;
  margin: 19px 0 16px 0;
}
.result {
  /* position: absolute;
  left:50%;
  transform: translateX(-50%);
  bottom: 35px; */
  width: 90%;
  max-width: 500px;
  /* max-width: 410px; */
  background: #ffe980;
  border-radius: 16px;
  box-shadow: 0 4px 12px #dfc43577;
  padding: 10px 9px 0px 11px;
  margin: auto;
  text-align: left;
  z-index: 100001;
  font-family: "Meiryo", "Yu Gothic", sans-serif;
  overflow-y: auto; /* 追加 */
  max-height: 60vh; /* 追加：画面の高さの40%を上限に */
}
.result-total {
  font-size: 2.1em;
  color: #d88e00;
  font-weight: bold;
  margin: 20px ;
  line-height: 1.1;
}
.result-detail {
  font-size: 1.3em;
  color: #664800;
  white-space: pre-line;
  margin-top: 4px;
}
.scale-effect {
  display: block;
  position: relative;
  margin-bottom: 2.667vw;
  padding: 0 1.3333333333vw 0 2.6666666667vw;
  animation: scale 3s ease 0s infinite normal;
  -webkit-animation: scale 3s ease 0s infinite normal; 
}
@keyframes scale {
  0% {
    transform:scale(1,1);box-shadow: 0 }
  25% {
    transform:scale(.95,.95);box-shadow: 0 }
  32% {
    transform:scale(0.96,0.96);box-shadow: 0 }
  36% {
   transform:scale(0.95,0.95);box-shadow: 0 }
  40% {
    transform:scale(1,1);box-shadow: 0 }
}
@media (max-width: 600px) {
  .dialog-content,
  .result {
    font-size: 0.96em;
  }
  .result {
    font-size: 0.98em;
  }
}

/*ウィンドウ幅601px～以上のCSS*/
@media screen and (min-width: 601px) {
  .floating-banner-mobile {
    display: none;
  }
  .floating-banner-middle {
    display: flex;
    position: fixed;
    z-index: 9999;
    bottom: 0;
    margin-bottom: 0;
    width: 100%;
    right: 0;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 0px 0;
    justify-content: center;
    align-items: center;
  }
  .floating-banner-middle img {
    width: 90%;
    max-width: 700px;
    padding: 0 20px;
  }
  .header-logo {
    display: flex;
    justify-content: center;
  }
  .workteam-logo {
    width: 500px;
    height: 100%;
  }
  .workteam-logo img {
    width: 100%;
    height: auto;
  }
  .anywhere-table {
    width: 50%;
  }
  .insecurity p {
    text-align: center;
  }
  .hide {
    display: none;
  }
  .compare table {
    width: 900px;
  }
  .text-block {
    text-align: center;
  }
  .table-wrap {
    scrollbar-width: none;
  }
}
