@charset "UTF-8";

html, body { height: 100vh; }

:root {
  --bulma-body-color: #000;
  --bulma-text: #000;
  --bulma-box-color: #000;
  --bulma-shadow: 0 10px 8px rgba(82, 68, 14, 0.15);
  --bulma-content-line-height: 1.8;
  --bulma-body-line-height: 1.8;
  --bulma-info-h: 209deg;
  --bulma-info-s: 100%;
  --bulma-info-l: 30%;
  --bulma-info-invert-h: 0deg;
  --bulma-info-invert-s: 0%;
  --bulma-info-invert-l: 100%;
  --bulma-success-h: 115deg;
  --bulma-success-s: 36%;
  --bulma-success-l: 48%;
  --bulma-success-invert-h: 0deg;
  --bulma-success-invert-s: 0%;
  --bulma-success-invert-l: 100%;
  --bulma-link-h: 0deg;
  --bulma-link-s: 0%;
  --bulma-link-l: 4%;
  --bulma-link-invert-h: 0deg;
  --bulma-link-invert-s: 0%;
  --bulma-link-invert-l: 4%;
}

.page-wrap {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.swiper {
  margin-top: 0;
  padding-top: 0;
}

.hero-swiper {
  height: 65vh;
  width: 100vw;
  overflow: hidden;
  position: relative;
}
@media screen and (max-width: 1216px) {
  .hero-swiper {
    height: auto;
  }
}
@media screen and (max-width: 768px) {
  .hero-swiper {
    height: 30vh;
  }
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  width: 100%;
  height: auto;
  object-fit: cover;
  max-height: 100%;
}

.swiper-button-prev,
.swiper-button-next {
  color: white;
  top: 50%;
  transform: translateY(-50%);
}


footer.footer {
  margin-top: auto;
}

.estimate-modal {
  display: flex;
  position: fixed;
  z-index: 1500;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.4);
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.estimate-modal.show {
  opacity: 1;
  pointer-events: auto;
}
.estimate-modal-content {
  position: relative;
  background: white;
  padding: 30px;
  border-radius: 24px;
  max-width: 540px;
  width: 90%;
  overflow-y: auto;
  max-height: 90vh;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  transform: scale(0.95);
  transition: transform 0.3s ease;
}
.estimate-modal.show .estimate-modal-content {
  transform: scale(1);
}
.close-icon {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  background: #ccc;
  border-radius: 50%;
  text-align: center;
  line-height: 32px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
}
.logo-box { text-align: center; margin-bottom: 12px; }
.logo-box img { max-height: 50px; }
.logo-box h2 { margin: 8px 0 20px; font-size: 1.4em; font-weight: bold; text-align: center;}
label { display: block; margin: 15px 0 5px; font-weight: bold;}
.label { color: #000; font-size: 14px;}
input[type="number"], select {
  width: 100%; padding: 10px 14px; border: 1px solid #ccc; border-radius: 999px;
  font-size: 1em; box-sizing: border-box;
}
input::placeholder { color: #999; }
.required-tag {
  display: inline-block; background: red; color: white; font-size: 0.75em;
  padding: 2px 6px; border-radius: 999px; margin-left: 8px;
}
.option-group { margin: 20px 0; }
.radio-group { display: flex; gap: 20px; margin-top: 8px; }
.radio-group label { font-weight: normal; }
.result {
  background: #fff; padding: 16px; border-radius: 8px; border: 1px solid #ccc;
  margin-top: 20px; text-align: center;
}
.result h3 {
  font-size: 1.2em;
  margin-bottom: 10px;
  border-bottom: 1px solid #000;
  padding-bottom: 4px;
  width: 100%;
  display: inline-block;
}
.breakdown-line {
  display: flex; justify-content: space-between; font-size: 0.95em;
  margin: 4px 0; font-family: monospace;
}
.total-box {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 360px;
  margin: 16px auto 0 auto;
  padding: 0 8px;
  gap: 8px;
}
.total-left {
  /* flex: 1; */
  display: flex;
  justify-content: flex-start;
}
.total-value {
  font-size: 1.4em;
  font-weight: bold;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 16px;
  padding: 10px 10px;
  width: 160px;
  text-align: right;
  box-sizing: border-box;
  font-family: sans-serif;
}
.total-right {
  width: 140px;
  display: flex;
  justify-content: flex-start; 
}
.total-label {
  font-size: 1em;
  font-weight: bold;
  white-space: nowrap;
  font-family: sans-serif;
  text-align:left;
}
@media (max-width: 480px) {
  .total-box {
    flex-direction: column;
    align-items: center;
  }
  .total-left {
    justify-content: center;
    width: 100%;
    margin: 4px 0 0 0;
  }
  .total-right {
    justify-content: center;
    width: 100%;
    /* margin: 2px 0; */
  }
  .total-value {
    text-align: center;
  }
}

.has-border {
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 1rem;
}

.has-border-top    { border-top: 1px solid rgba(255, 255, 255, 0.15); }
.has-border-right  { border-right: 1px solid rgba(255, 255, 255, 0.15); }
.has-border-bottom { border-bottom: 1px solid rgba(255, 255, 255, 0.15); }
.has-border-left   { border-left: 1px solid rgba(255, 255, 255, 0.15); }

@media (min-width: 769px) {
  .has-border .has-border-top .has-border-right .has-border-bottom .has-border-left {
    border: none;
  }
}

.container .content a {
  color: #777;
}

.container .content h1,
.container .content h2,
.container .content h3,
.container .content h4,
.container .content h5 {
  color: #000;
}

.content h1,
.content h2,
.content h3,
.content h4,
.content h5,
.content h6 {
    font-weight: 400;
}

.content h2 {
    padding-top: 3rem;
}

.content h3,
.content h4,
.content h5,
.content h6 {
    margin-top: 2rem;
}

footer .container .content h1,
footer .container .content h2,
footer .container .content h3,
footer .container .content h4,
footer .container .content h5 {
  color: #fff;
}

.container .content strong {
  color: #000;
}

.content ul.list-no-bullet {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

.content a.tag {
  color: #fff;
}

a.has-text-white:hover {
  color: hsl(171 100% 41%) !important;
}

img.navbar-logo {
  max-height: 3rem;
  height: auto;
}

@media screen and (max-width: 1023px) {
  .navbar-menu.is-active .navbar-end {
    flex-direction: column;
    align-items: flex-start;
  }

  .navbar-menu.is-active .buttons {
    flex-direction: column;
    width: 100%;
    gap: 0.5rem;
  }

  .navbar-menu.is-active .buttons .button {
    width: 100%;
  }
}

#back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  display: none;
  z-index: 50;
}

.button-cta {
  width: 400px;
}

.hero.is-first {
  padding-top: 0 !important;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2; /* 表示する行数 */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 拡大エフェクト用のカスタムクラス */
.hover-zoom {
  overflow: hidden;
  position: relative;
}

.hover-zoom img {
  transition: transform 0.3s ease;
  will-change: transform;
}

.hover-zoom:hover img {
  transform: scale(1.2); /* 拡大率を調整可能 */
}

.blogcard-title{
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;/* 行数制限 */
}

.faq-section {
  /* background-color: #f5f5f5; */
  padding: 3em 1em;
  border-radius: 12px;
  margin-top: 4em;
  margin: 4em auto 0 auto;
  /* max-width: 860px; */
}
.faq-section h2 {
  text-align: center;
  font-size: 2.5em;
  font-weight: bold;
  margin-bottom: 1.5em;
  line-height: 1.2;
}
.faq-title-en {
  font-size: 2.5em;
  font-weight:700;
  color: #999;
  display: block;
  letter-spacing: 0.05em;
  text-align:center;
}
.faq-title-jp {
  font-size: 2.5em;
  font-weight:700;
  color: #333;
  display: block;
  text-align:center;
}
.faq-title-jp .highlight {
  color: #0070ff;
}
.faq-item {
  /* margin-bottom: 2em; */
  border-bottom: 1px solid #ccc;
  padding-top: 1em;
  padding-bottom: 1em;
}
.faq-list {
  border-top: 1px solid #ccc;
}
.faq-question {
  background: none;
  border: none;
  font-size: 1.2em;
  font-weight: bold;
  width: 100%;
  color: #000;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5em 0;
}
.faq-question::before {
  content: 'Q';
  color: #0070ff;
  font-weight: bold;
  margin-right: 1em;
  font-size: 1.4em;
}
.faq-text {
  text-align: left;
  flex-grow: 1;
  font-weight: bold;
}
.toggle-icon {
  font-weight: bold;
  font-size: 1.8em;
  color: #0070ff;
  display: flex;
  align-items: center;
}
.faq-label {
  font-size: 1.8em;
  font-weight: bold;
  display: inline-block;
  margin-right: 0.3em;
  color: #333;
}
.faq-answer {
  display: none;
  font-size: 1rem;
  color: #333;
  margin-top: 0.5em;
  line-height: 1.7;
  /* padding-left: 1.5em; */
}
.faq-answer.show {
  display: block;
}
.faq-answer ul {
  list-style-type: disc;
  padding-left: 1.5em;
  margin: 0.5em 0 0 0;
}
.faq-answer li {
  margin-bottom: 0.3em;
}
@media (max-width: 600px) {
  .btnCV {
        font-size: 5px; /* 必要に応じて調整 */
      }
    }
/* 初期状態：PCでは短縮テキストを非表示 */
.short-text {
  display: none;
}
/* スマホビューで切り替える */
@media (max-width: 600px) {
  .full-text {
    display: none;
  }
  .short-text {
    display: inline;
  }
}

.card {
  background-color: #fff;
  color: #000;
}