
/* ===== コンテナ系 ===== */
.container {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100vh;
  width: 100vw;
  position: relative; /* overflow: hidden 削除 */
}
.boxwrap {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  position: relative; /* overflow: hidden 削除 */
}
/* ===== box-wrap & box関連 ===== */
.box-wrap {
  position: relative;
  width: 100%;
  min-height: 0; /* ← 初期は高さなし */
  transition: min-height 0.3s ease;
  padding-top: 25px;
}
.box-wrap.active {
  min-height: 400px; /* ← スタート後に高さ確保 */
}
.box-wrap .box {
  position: relative;
  z-index: 1;
}
.box-wrap .box.active {
  display: block !important;
  z-index: 100;
}
.box-wrap .box.result {
  z-index: 10;
}
@media screen and (max-width: 761px) {
  .box-wrap .box {
    padding: 60px 30px 40px;
  }
}
/* ===== タイトル・テキスト ===== */
.box-wrap .box .title {
  font-size: 26px;
  text-align: center;
  position: relative;
  padding-bottom: 20px;
  margin-bottom: 50px;
}
.box-wrap .box .title::before {
  background: #ffffff2e;
  content: "";
  display: block;
  height: 2px;
  width: 60px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}
.box-wrap .box .title .num {
  font-size: 30px;
}
.box-wrap .box .title .small {
  font-size: 20px;
}
.box-wrap .box .txt {
  text-align: center;
  font-size: 18px;
}
@media screen and (max-width: 761px) {
  .box-wrap .box .title {
    font-size: 20px;
    margin-bottom: 30px;
  }
  .box-wrap .box .title::before {
    width: 40px;
  }
  .box-wrap .box .title .num {
    font-size: 24px;
    display: block;
  }
  .box-wrap .box .title .small {
    font-size: 14px;
    display: block;
  }
}
/* ===== セレクトボタン（選択肢） ===== */
.box-wrap .box .select-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
.box-wrap .box .select-wrap .select {
  box-shadow: 2.8px 2.8px 5px rgba(100, 100, 100, 0.1), -2.8px -2.8px 5px rgba(255, 255, 255, 0.4);
  border-radius: 50px;
  border: none;
  font-weight: bold;
  padding: 20px;
  text-align: center;
  position: relative;
  width: calc((100% - 40px) / 3);
}
.box-wrap .box .select-wrap .select.is-inactive {
  box-shadow: inset 2.8px 2.8px 5px rgba(0, 0, 0, 0.2), inset -2.8px -2.8px 5px rgba(255, 255, 255, 1.0);
}
.box-wrap .box .select-wrap .select.yes, .box-wrap .box .select-wrap .select.no {
  color: #fff;
}
.box-wrap .box .select-wrap .select.yes:hover, .box-wrap .box .select-wrap .select.no:hover {
  color: #4a4a4a;
}
.box-wrap .box .select-wrap .select.vague {
  color: #999;
}
@media screen and (min-width: 761px) {
  .box-wrap .box .select-wrap .select:hover {
    box-shadow: none;
  }
  .box-wrap .box .select-wrap .select + .select {
    margin-left: 20px;
  }
}
@media screen and (max-width: 761px) {
  .box-wrap .box .select-wrap {
    flex-direction: column;
  }
  .box-wrap .box .select-wrap .select {
    padding: 12px;
    width: 100%;
  }
  .box-wrap .box .select-wrap .select + .select {
    margin-top: 20px;
  }
}
.tool-btn.link-btn {
  display: inline-block;
  background: #007bff;
  color: #fff;
  padding: 16px 24px;
  margin: 10px;
  border-radius: 30px;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}
.tool-btn.link-btn:hover {
  background: #0056b3;
}
.contact-box {
  border: 3px solid #80e686;
  padding: 20px;
  font-family: 'Arial', sans-serif;
  max-width: 800px;
  margin: 20px 15px;
  border-radius: 3px;
  background: white;
}
@media screen and (max-width: 767px) {
.contact-box {
  margin:0 15px;
}
}
.contact-box a {
  text-decoration: unset;
}
.contact-title {
  text-align: center;
  color: #00b300;
  font-weight: bold;
  font-size: 20px;
  margin-bottom: 20px;
}
.contact-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.contact-left {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.dept-label {
  background-color: #00c36c;
  color: white;
  font-size: 14px;
  padding: 6px 10px;
  border-radius: 3px;
  width: fit-content;
  font-weight: bold;
}
.tel-label {
  font-weight: bold;
  font-size: 18px;
}
.tel-number {
  font-size: 28px;
  font-weight: bold;
  color: #000;
}
.hours {
  font-size: 14px;
  color: #444;
}
.contact-right {
  margin-top: 10px;
}
.web-button {
  display: inline-block;
  background-color: #ff00a5;
  color: white;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 25px;
  font-weight: bold;
  font-size: 14px;
}
.contact-items {
  margin-top: 20px;
  background-color: #e6f7e6;
  padding: 15px;
  border-radius: 5px;
}
.contact-items ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.contact-items li {
  position: relative;
  padding-left: 1.2em;
  flex: 1 1 45%;
  font-size: 11px;
}
.contact-items li::before {
  content: "●";
  color: #00b300;
  position: absolute;
  left: 0;
  top: 0;
}
main #page {
  background: #fef4e9;
  padding-top: 40px;
}
/* 全体背景にグラデーションとアニメーション */
#shindan {
  margin: 0;
  padding: 0;
  font-family: sans-serif;
  background: linear-gradient(-45deg, #a8e063, #56ab2f, #a8e063, #56ab2f);
  background-size: 400% 400%;
  animation: gradientAnimation 15s ease infinite;
  color: #fff;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
}
@keyframes gradientAnimation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
/* レイアウトを全幅に */
.boxwrap, .diagnose-wrap, .inner-block, .boxwrap, .diagnose-wrap, .inner-block2 {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 10px 0 10px;
  text-align: center;
}
/* タイトルの装飾 */
.title-wrap .title, .title-wrap2 .title {
  font-size: 2em;
  text-align: center;
  margin-bottom: 30px;
  color: #ffffff;
}
/* 各質問・回答ブロックのスタイル
  background: rgba(255, 255, 255, 0.1);
  padding: 25px;
  
  */
.box {
  border-radius: 12px;
  margin-bottom: 20px;
  backdrop-filter: blur(5px);
}
/* ボタンの共通スタイル */
.tool-btn, .select {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 2px solid #fff;
  padding: 15px 25px;
  margin: 10px;
  font-size: 1em;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.tool-btn:hover, .select:hover {
  background: #ffffff;
  color: #56ab2f;
}
/* ボタン配置の調整 */
.btn-wrap, .btn-wrap2, .select-wrap {
  text-align: center;
  margin: 20px auto;
  max-width: 400px;
  width: 70%;
}
/* h2 タイトルの調整 */
h2.title {
  font-size: 1.5em;
  margin-bottom: 15px;
}
/* グラデーションアニメーション定義 */
@keyframes gradientAnimation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
.title-wrap, .title-wrap2 {
  margin-top: 40px;
}
.title {
  font-family: 'Kosugi Maru', sans-serif; /* or 手書き系フォント */
  font-weight: bold;
  color: white;
  mix-blend-mode: screen;
}
.beer {
  all: unset !important;
  letter-spacing: 0.1em;
  font-size: 2rem !important;
}
.diagnos {
  font-family: "Monsieur La Doulaise", cursive;
  text-align: center;
  color: white;
  font-size: 24px;
  color: rgba(255, 255, 255, 0.4);
}
#page .column_main {
  background: unset;
}
#page .column_txt, #page .column_main h1, #page .column_main h2, #page .column_main h3, #page .column_main h4, #page .column_main h5 {
    margin: 10px 15px !important;}
@media screen and (max-width: 768px) {
  #page .column_main {
    background: unset;
    margin-bottom: 20px;
    padding: 10px 0px !important;
  }
  
  
}
@keyframes floatUpDown {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}
/* ボタンにアニメーションを適用 */
.tool-btn.start-btn {
  animation: floatUpDown 2s ease-in-out infinite;
}
.section {
  max-width: 960px;
  margin: auto;
  padding: 2rem 15px;
}
/*.step {
   background: #fff;
  border-radius: 12px;
  padding: 2rem;
  margin: 1.5rem 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}*/
#page .column_main .step h5 {
  font-size: 1.3rem;
  color: #1c7d32;
  margin-bottom: 1rem;
  border-left: 10px solid #1c7d32;
  padding-left: 1rem;
  background: #e8f9ed;
  display: inline-block;
  margin:10px 0 !important;
}
#page .column_main .step p {
  font-size: 11px;
}
.icons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.icon {
  flex: 1 1 150px;
  background: #fff3a3;
  padding: 1rem;
  border-radius: 10px;
  text-align: center;
  font-weight: bold;
  font-size: 1rem;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}
.achievement {
  background: #198c3c;
  text-align: center;
  padding: 3rem 1rem;
  border-radius: 12px;
  color: white;
}
.achievement h2 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}
.achievement p {
  font-size: 2.8rem;
  font-weight: bold;
  color: #ffe600;
}
.warning {
  background: #ffe8e5;
  color: #c0392b;
  padding: 2rem;
  border-radius: 12px;
  margin-bottom: 3rem;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.05);
}
.warning h2 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.h1box {
  position: relative;
  display: inline-block;
}
.h1box h1 {
  font-size: 28px;
  font-weight: 600;
  position: absolute;
  top: 36%;
  left: 25%;
  transform: translate(-50%, -50%);
  padding: 20px;
  z-index: 50;
  text-shadow:
    0 0 6px white,
    0 0 9px white,
    0 0 12px white;
}
.h1box .mainword {
  font-size: 40px;
  font-weight: 800;
  background: #ffffff;
  color: #3d3d3d;
  padding: 3px 6px;
        margin-right: 4px;
}
.h1box .subword {
  font-size:22px;
  font-weight: 600;
  color: #3d3d3d;
}

@media (max-width: 768px) {
  .h1box h1 {
    font-size: 3.8vw;
	padding-top: 14%;
  }
  .h1box .mainword {
    font-size: 4.4vw;
	
  }
  .h1box .subword {
    font-size: 2.7vw;
  }
  main #page {
    padding-top: 0px;
  }
}
main {
  padding-top: 0px;
}
#page .column_main h2 > span {
  display: block;
  margin: 30px 0 34px;
  padding: 0.7em;
  border-radius: 3px;
  background-color: #fef4e9;
  border-left: unset;
  border-right: unset;
  box-shadow: none;
  color: #4a4a4a;
  font-size: 26px;
  line-height: 1.5;
  font-weight: bold;
}
@media screen and (min-width: 767px) {
  #page .column_main h2 > span {
    display: block;
    margin: 30px 0 34px;
    padding: 0.7em;
    border-radius: 3px;
    background-color: #fef4e9;
    color: #4a4a4a;
    border-left: unset;
    border-right: unset;
    box-shadow: none;
    font-size: 26px;
    line-height: 1.5;
    font-weight: bold;
  }
}
@media screen and (min-width: 767px) {
  .column_main h2 > span {
    display: block;
    margin: 30px 0 34px;
    padding: 0.7em;
    border-radius: 3px;
    background: #ffffff;
    border-left: unset;
    border-right: unset;
    box-shadow: none;
    color: #3ba355;
    font-size: 26px;
    line-height: 1.5;
    font-weight: bold;
  }
}
.shindan {
  margin: 0;
  padding: 0;
  font-family: sans-serif;
  background: linear-gradient(-45deg, #00BCD4, #009688, #18a9b3, #56ab2f);
  background-size: 400% 400%;
  animation: gradientAnimation 15s ease infinite;
  color: #fff;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  margin: 40px 0;
}
@keyframes gradientAnimation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
.boxwrap2 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  position: relative;
}
/* ===== タイトル・テキスト ===== */
.boxwrap2 .title {
  font-size: 30px;
  text-align: center;
  position: relative;
  padding-bottom: 20px;
  margin-bottom: 50px;
  border-left: unset;
}
.boxwrap2 .title .small {
  font-size: 20px;
}
.boxwrap2 .title::before {
  background: #ffffff2e;
  content: "";
  display: block;
  height: 2px;
  width: 60px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}
.boxwrap2 .title .num {
  font-size: 30px;
}
.boxwrap2 .title .small {
  font-size: 20px;
}
@media screen and (max-width: 761px) {
  .boxwrap2 .title {
    font-size: 26px;
    margin-bottom: 30px;
    border-left: none;
  }
  .boxwrap2 .title::before {
    width: 40px;
  }
  .boxwrap2 .title .num {
    font-size: 24px;
    display: block;
  }
}
/* ===== boximg: flexで配置 ===== */
.shindan .boximg {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  margin-top: 60px;
  padding-bottom: 40px;
  position: relative;
}
.boximg img {
  position: static;
  max-width: 100%;
  height: auto;
}
/* 各画像のサイズ調整 */
.boximg .boximg01 {
  width: 60%;
}
.boximg .boximg02, .boximg .boximg03, .boximg .boximg04 {
  width: 30%;
}
/* .absolute-child を必要に応じて調整 */
.absolute-child {
  margin-top: 20px;
  color: #fff;
}
.boximg_left {
  width: 70%;
}
.boximg_right {
  width: 30%;
}
.mainimg_carbike {
  background-image: url(/images/index/bg_fv.png);
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  text-align: center;
  background-position: bottom;
  background-size: cover;
}
/* 初期状態 */
.scroll-animate {
  opacity: 0;
  transform: translateY(50px) scale(1.2);
}
/* delay別に animation を完全指定 */
.scroll-animate.delay-1.active {
  animation: bounceFadeIn 0.8s ease-out 0.2s forwards;
}
.scroll-animate.delay-2.active {
  animation: bounceFadeIn 0.8s ease-out 0.4s forwards;
}
.scroll-animate.delay-3.active {
  animation: bounceFadeIn 0.8s ease-out 0.6s forwards;
}
/* フェードイン＋スケール＋下からバウンド */
@keyframes bounceFadeIn {
  0% {
    opacity: 0;
    transform: translateY(50px) scale(1.2);
  }
  60% {
    opacity: 1;
    transform: translateY(-10px) scale(1.05);
  }
  80% {
    transform: translateY(5px) scale(1.02);
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}
.boximg {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  height: auto; /* 必要なら明示 */
}
/* ←下端を .boximg の下にピッタリ合わせる */
.boximg_right {
  position: absolute;
  bottom: 180%;
  right: 0;
}
.boximg_right img {
  max-width: 100%;
  height: auto;
}
.padding20 {
  padding: 0 20px;
}
.padding15 {
  padding: 0 15px;
}
.column_main h4 {
  border-bottom: none;
}
.icon-text {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.icon-text::before {
  content: "";
  display: inline-block;
  width: 1.5em;
  height: 1em;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
/* アイコン別パターン */
.icon-text.driver::before {
  background-image: url(../images/column/carset/driver.png);
}
.icon-text.money::before {
  background-image: url(../images/column/carset/money.png);
}
.icon-text.phone::before {
  background-image: url(../images/column/carset/phone.png);
}
.h1img {
  max-width: 900px;
  position: relative;
  top: 30px;
}
@media screen and (max-width: 767px) {
.h1img {
  top: 15px;
}
}
.testp{
    color: white;
    text-align: center;
}
@media screen and (min-width: 767px) {
    .column_txt {
        font-size: 15px;
        padding: 0px 0;
    }
}
@media screen and (max-width: 768px) {
    .column_txt {
        font-size: 13px;
        padding: 0px 0px;
        line-height: 1.5 !important;
    }
}
.faq{
font-size:18px;
    font-weight: bold;
    text-align: left;
}
#header {
     overflow-y: unset; 
    overflow-x: unset; 
}
.model{
padding: 20px 0 15px;
    color: #034703;
    font-weight: 600;
}
.result img{
width:30%;
}
@media screen and (max-width: 768px) {
.contact-right{
width:40%;}
.contact-left{
width:60%;}
.web-button {
  padding: 15px 10px;
  font-size: 2.4vw;
}
.tel-label {
  font-size: 3vw;
}
.tel-number {
  font-size: 5vw;
}
.result img{
width:43%;
}
}
.cv_body {
    padding: 5px 0 13px;
    background: gold;
/*
    background: linear-gradient(-45deg, #FFEB3B, #FFC107, #FFEB3B, #FF9800);
    background-size: 400% 400%;
    animation: gradientAnimation 15s ease infinite;
*/

}
.cv_body .box:after {

    bottom: -39px;
}