@charset "utf-8";
/** {
  outline: 1px solid red;
}*/
body {
  margin: 0;
}

.navi {
  padding-top: 250px;
}

/*問い合わせ*/
.contact-fixed {
  position: fixed;
  top: 300px;
  right:5%;
  width: 230px;
  z-index: 10;
  transition: opacity 0.3s ease;
  background-color: #365D36;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.7);
  font-family: sans-serif;
}

.taishin-message-section {
  text-align: center;
  margin: 40px 0;
}

.taishin-message-container {
  max-width: 960px;
  margin: 0 auto;
}

.taishin-message-table {
  width: 100%;
  border: none;
}

.taishin-message-title {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-weight: bold;
  font-size: clamp(24px,1.87vw,36px);
  line-height: 1.4;
  margin: 10px 0;
}

.taishin-advice-section {
  text-align: center;
  margin: 40px 0;
  padding: 20px;
}

.taishin-advice-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

.taishin-advice-text {
  font-size: 18px;
  line-height: 1.6;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  margin-bottom: 30px;
}

.taishin-advice-image img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.taishin-comparison-section {
  padding: 40px 20px;
}

.taishin-comparison-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  max-width: 960px;
  margin: 0 auto;
}

.taishin-card {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 5px 5px 5px #333;
}

.taishin-card-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #333;
}

.taishin-card-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}

.taishin-label {
  font-weight: bold;
  color: #0077aa;
  margin-bottom: 5px;
}

.taishin-content {
  font-size: clamp(18px,1.25vw,24px);
  line-height: 1.6;
  color: #444;
}

@media (min-width: 768px) {
  .taishin-comparison-container {
    grid-template-columns: repeat(3, 1fr);
  }

  .taishin-card-row {
    flex-direction: column;
  }
}

.earthquake-methods-section {
  padding: 40px 20px;
}

.earthquake-methods-title {
  text-align: center;
  font-size: clamp(20px,1.87vw,36px);
  font-weight: bold;
  margin-bottom: 40px;
  color: #333;
}

.earthquake-methods-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  max-width: 1080px;
  margin: 0 auto;
}

.method-card {
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 5px 5px 5px #333;
}

.method-image img,
.method-subimage img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 15px;
}

.method-description p,
.method-details p,
.method-details ul {
  font-size: clamp(18px,1.25vw,24px);
  line-height: 1.6;
  color: #444;
  margin-bottom: 10px;
}

.method-details ul {
  padding-left: 20px;
  list-style-type: disc;
}

@media (min-width: 768px) {
  .earthquake-methods-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

.taishin-priority-section {
  padding: 40px 20px;
}

.taishin-priority-container {
  max-width: 794px;
  margin: 0 auto;
  border: 1px solid #8d8989;
  background-color: #ffffe7;
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 100px;
  box-shadow: 5px 5px 5px #333;
}

.taishin-priority-title {
  text-align: center;
  font-size: clamp(24px,1.87vw,36px);
  font-weight: bold;
  margin-bottom: 20px;
  color: #333;
}

.taishin-priority-list {
  list-style-type: decimal;
  padding-left: 20px;
  font-size: 16px;
  line-height: 1.8;
  color: #444;
}

.taishin-priority-list li {
  font-size: clamp(18px,1.25vw,24px);
}
