/* 全体の余白とフォント */
.row {
  margin-top: 30px;
}

.content-box {
  padding: 20px;
  background-color: #ffffff;  /* 白背景 */
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);  /* 微細な影を追加 */
  font-family: 'Helvetica Neue', Arial, sans-serif;  /* シンプルなフォント */
  color: #333;  /* ダークグレーで落ち着いた印象 */
}

/* リストのデザイン */
.list_l {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list_l li {
  font-size: 16px;
  color: #333;
  padding-left: 25px;
  margin-bottom: 15px;
  position: relative;
}

/* アコーディオンヘッダーのデザイン */
.accordion-header {
  cursor: pointer;
  padding: 16px;
  background-color: #f4f4f4;  /* ライトグレー背景 */
  color: #333;  /* ダークグレー文字 */
  font-size: 18px;
  font-weight: normal;  /* 普通の太さでシンプル */
  border-radius: 5px;
  margin-bottom: 10px;
  transition: background-color 0.3s ease;
  text-align: left;
  box-shadow: none;  /* 影は使わずシンプルに */
  border: 1px solid #e0e0e0;  /* 薄いグレーのボーダー */
}

.accordion-header:hover {
  background-color: #e0e0e0;  /* ホバー時に少し暗いグレー */
}

/* アコーディオン内容（初期状態では非表示） */
.accordion-content {
  display: none;
  padding: 15px;
  background-color: #fafafa;  /* 非常に薄いグレー背景 */
  border-radius: 5px;
  font-size: 14px;
  margin-top: 10px;
  line-height: 1.6;
  color: #555;  /* 少し明るいグレーで目に優しい */
}

/* アコーディオンの開閉時のアニメーション */
.accordion-content.open {
  display: block;
  animation: slideDown 0.3s ease;
}

/* スライドダウンのアニメーション */
@keyframes slideDown {
  from {
    height: 0;
    opacity: 0;
  }
  to {
    height: auto;
    opacity: 1;
  }
}

.contact-inq { 
    background-color: #f8f5f1;
    padding: 20px;
    text-align: center;
    font-family: "Arial", sans-serif;
    color: #333;
}

.contact-inq p {
    font-size: 20px;  
    font-weight: bold; 
    text-align: center;
    margin-bottom: 15px;
}

.contact-inq p span {
    color: #f7941d;
    font-size: 24px;  
    font-weight: bold;
}


/*
.contact-box {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}
*/
.contact-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.contact-item {
  background: #fff;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
  flex: 1 1 280px; /* 幅に合わせて自動調整 */
  max-width: 400px;
  text-align: center;
  box-sizing: border-box;
}

/*
    .contact-box {
      width: 90%;
  }
*/

.contact-item {
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    flex: 1;
    max-width: 400px;
    text-align: center; /* テキストを中央寄せ */
    margin: 0 auto; 
}

.contact-item h3 {
    font-size: 18px;
    color: #d6761a;
    font-weight: bold;
    margin-bottom: 10px;
}

.contact-phone {
    font-size: 28px;
    font-weight: bold;
    color: #5a3a18;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-phone i {
    font-size: 24px;
    color: #d6761a;
}

.contact-time {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

/* ボタンのデザイン */
.contact-button {
    display: inline-block;
    background-color: #f7941d;
    color: #fff;
    padding: 12px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    transition: background 0.3s;
}

.contact-LINE {
    background-color: #06C755;   
    display: inline-block;
    color: #fff;
    padding: 12px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    transition: background 0.3s;
}

.contact-button:hover {
    background-color: #e68500;
}

  

.quote-card-modern {
  max-width: 400px;
  margin: 40px auto;
  padding: 30px;
  border-radius: 16px;
  background: linear-gradient(135deg, #ffffff, #f0f4ff);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  font-family: 'Segoe UI', sans-serif;
  transition: transform 0.3s ease;
}

.quote-card-modern:hover {
  transform: translateY(-6px);
}

.quote-content {
  text-align: center;
}

.quote-content img {
/*  width: 64px;*/
  margin-bottom: 20px;
}

.quote-content h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #1a1a1a;
}

.quote-content p {
  font-size: 1rem;
  color: #4a4a4a;
  margin-bottom: 24px;
  line-height: 1.5;
}

.quote-button-modern {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background-color: #4f46e5;
  color: #ffffff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.quote-button-modern:hover {
  background-color: #3730a3;
}


.hr1 {
  position: relative;
	height: 1px;
	border-width: 0;
	background-color: #00bcd4;
	background-image: -webkit-linear-gradient( 135deg, #FD6585 10%, #0D25B9 100%);
	background-image: linear-gradient( 135deg, #FD6585 10%, #0D25B9 100%);
}



  .os-img-box {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  }

  .os-img-box img {
    transition: transform 0.3s ease;
    border-radius: 12px;
  }

  .os-img-box:hover img {
    transform: scale(1.05);
  }

  .os-num {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #ff6b6b, #f06595);
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  }

  .i-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin-top: 12px;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
  }

  .i-detal {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    background: #f8f9fa;
    padding: 10px 14px;
    border-left: 4px solid #007bff;
    border-radius: 6px;
    transition: background 0.3s ease;
  }

  .i-detal:hover {
    background: #e9ecef;
  }

.feature-row {
  white-space: nowrap;
  text-align: center;
    margin-top: 12px;

}

.feature-box {
  display: inline-block;
  vertical-align: top;
  width: 23%;
  margin: 0 1%;
  position: relative;
  cursor: pointer;
}

.feature-line-box {
  border-left: 4px solid #f15a24;
  padding-left: 1rem;
  text-align: left;
}

.feature-sub {
  color: #777;
  font-size: 0.85rem;
  margin: 0;
}

.feature-title {
  font-size: 100%;
  font-weight: bold;
  margin: 0.2rem 0 0;
  color: #111;
}

.hover-image {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1;
  width: 100%;

}

.hover-image img {
  width: 450px;
  max-width: 550px;
  border-radius: 8px;
  display: block;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.feature-box:hover .hover-image {
  opacity: 1;
}

.hover-image {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1;
  width: 100%;


  pointer-events: none;
}

.feature-box:hover .hover-image {
  opacity: 1;
}

.feature-box.active .hover-image {
  opacity: 1;
  pointer-events: auto;
}

/* CSS */
.woody-button {
  display: inline-block;
  padding: 12px 28px;
  background: #7b5e3b;
  color: #fff8e7;
  font-family: 'Roboto', sans-serif; /* スマートなサンセリフ体 */
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 6px;
  border: 1px solid #d2b48c;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
      text-align: center;
  min-width: 160px; /* 必要に応じて調整 */
  
}

.woody-button:hover {
  background: #6a4e2d;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
  color: #ffefc2;
}

.button-container {
  text-align: center;
  margin-top: 40px;
}




/* --- レスポンシブ対応 --- */
@media (max-width: 767px) {
  .content-box {
    padding: 15px;
  }

  .accordion-header {
    font-size: 16px;
    padding: 14px;
  }

  .accordion-content {
    font-size: 13px;
    padding: 12px;
  }

  .list_l li {
    font-size: 14px;
  }
}

@media (max-width: 1024px) {
  .content-box {
    padding: 20px;
  }

  .accordion-header {
    font-size: 17px;
    padding: 15px;
  }

  .accordion-content {
    font-size: 14px;
    padding: 13px;
  }

  .list_l li {
    font-size: 15px;
  }
}

@media (min-width: 1025px) {
  .content-box {
    padding: 25px;
  }

  .accordion-header {
    font-size: 18px;
    padding: 16px;
  }

  .accordion-content {
    font-size: 15px;
    padding: 15px;
  }

  .list_l li {
    font-size: 16px;
  }
}
@media screen and (max-width: 680px){
    .contact-box {
        flex-direction: column;
        align-items: center;

}
    .contact-item {
   /*      width: 90%; 幅を90%にして中央寄せ */
        max-width: 100px;
    }
}
@media (max-width: 768px) {
  .feature-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2列 */
    gap: 16px; /* アイテム間の隙間 */
    padding: 0 10px; /* 余白を少し調整 */
  }

  .feature-box {
    width: 100%; /* Gridに合わせて幅100% */
    margin: 0; /* 余計なマージンを削除 */
    box-sizing: border-box;
  }



  .hover-image,
  .feature-box.active .hover-image,
  .feature-box:hover .hover-image {
    display: none !important;
  }
   .hover-image-wrapper {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }

  .feature-box.active .hover-image-wrapper {
    max-height: 500px; /* 画像サイズに応じて調整 */
  }

  .toggle-btn {
    margin-top: 8px;
    background-color: #007bff;
    color: #fff;
    padding: 8px 16px;
    font-size: 14px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
  }

  .toggle-btn:hover {
    background-color: #0056b3;

}  
 .contact-box {
   flex-direction: column;
   align-items: center;

}

  .contact-item {
    flex: 1 1 100%;
    max-width: 100%;
  }
    


  .hover-image {
    position: relative;
    top: auto;
    left: auto;
    opacity: 1 !important; /* ← 常に表示してる指示*/
    pointer-events: none;

  }

  .hover-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
/*    max-height: 100%;*/
  }

  .feature-box.active .hover-image {
    opacity: 1;
    pointer-events: auto;
      
  }
    
