body {
  font-family: 'Hiragino Kaku Gothic ProN', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f7fa;
  color: #333;
}

.container {
  max-width: 800px;
  margin: 40px auto;
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.container-box {
  max-width: 800px;
  margin: 40px auto;
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
h1, h2 {
  color: #2c3e50;
  margin-top: 0;
}

p {
  line-height: 1.8;
  font-size: 1rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

th, td {
  border: 1px solid #ccc;
  padding: 10px;
  text-align: center;
}

th {
  background-color: #e3f2fd;
}

.section {
  margin-top: 40px;
}

.note {
  font-size: 0.9rem;
  color: #666;
}

/* 📱 スマホ対応：PC版と同じ見た目で調整 */
@media (max-width: 600px) {

  body {
    font-size: 14px;
  }

  .container, .container-box {
    margin: 20px 10px;
    padding: 20px;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.2rem;
  }

  p {
    font-size: 0.9rem;
  }

  table {
    display: table;       /* ブロック表示を解除 */
    width: 100%;
    border-collapse: collapse;
    table-layout: auto;   /* 列幅を自動調整 */
  }

  th, td {
    display: table-cell;  /* 元の横並びに戻す */
    padding: 8px;         /* スマホ用に少し狭く */
    font-size: 12px;      /* 小さめにして収める */
    text-align: center;
    border: 1px solid #ccc;
    word-break: break-word; /* 長い文字も改行 */
  }

  th {
    background-color: #e3f2fd;
    font-weight: bold;
  }

  /* セクションの余白も少し調整 */
  .section {
    margin-top: 30px;
  }

  /* 注釈の文字サイズ */
  .note {
    font-size: 0.8rem;
  }

  /* お問い合わせセクション */
  .contact-section {
    padding: 40px 15px;
  }

  .contact-section h2,
  .contact-section h3 {
    font-size: 20px;
  }

  .contact-section p {
    font-size: 14px;
  }

  .inline-contact-button {
    width: 100%;
    max-width: 300px;
    padding: 10px 20px;
    font-size: 15px;
    border-radius: 25px;
  }
}


.contact-section {
  text-align: center;
  padding: 60px 20px;
  background-color: #f9f9f9;
  border-top: 1px solid #e0e0e0;
}

.contact-section h2,
.contact-section h3 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #333;
}

.contact-section p {
  font-size: 16px;
  color: #555;
  margin-bottom: 20px;
}

.inline-contact-button {
  background-color: #00adb5;
  color: white;
  padding: 12px 30px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s, transform 0.3s;
  display: inline-block;
}

.inline-contact-button:hover {
  background-color: #007b80;
  transform: scale(1.05);
}
.back-to-top {
  position: fixed;
  bottom: 30px;        
  right: 30px;      
  background-color:  #00a0a5; 
  color: #ffffff;       
  padding: 12px 20px;   
  border-radius: 50px;  
  text-decoration: none; 
  font-weight: bold;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  z-index: 9999;        /* 常に最前面に表示 */
}

/* ホバー時（マウスを乗せたとき）のエフェクト */
.back-to-top:hover {
  background-color:#007b80; /* 少し明るく */
  transform: translateY(-3px);
  box-shadow: 0 6px 10px rgba(0,0,0,0.3);
}

