
body {
  font-family: 'Helvetica', 'Arial', sans-serif;
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.5;
  margin: 0;
  padding: 10px;
}

header {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

nav {
  background-color: #eef1f5;
  padding: 15px;
  border-radius: 8px;
  width: 100%;
  max-width: 800px;
  margin: 0 auto 30px auto;
  
}

nav h2 {
  margin-top: 0;
}

nav ul {
  padding-left: 0;
}


.back-top-page {
  display: inline-block;
  margin-top: 30px;
}






h1 {
  color: #2c3e50;
  border-bottom: 2px solid #ccc;
  padding-bottom: 10px;
}

h2 {
  display: inline-block;
  color: #34495e;
  margin-top: 30px;
  border-bottom: 2px solid #34495e;
  padding-bottom: 10px;
}

h3 {
  margin-top: 20px;
  color:  #34495e;
}

h4 {
  color:#34495e;
  margin-left: 10px;
}

p {
  font-size: 17px;
  margin-bottom: 30px;
  letter-spacing: 1px;
  line-height: 1.6;
}

.siteLink {
  color: rgb(8, 172, 236);

}


section {
  /* background-color: #fff; */
  margin-right: auto;
  margin-left: auto;
  padding: 20px;
  margin-bottom: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.05);
  width: 100%;
  max-width: 800px;
}

article h3 {
  padding-left: 20px;
  
  border-left: 2px solid #2c3e50;
}



ul {
  list-style-type: none;
  padding-left: 10px;
}

ul li {
  margin-top: 12px;
}

ol {
  list-style-type: none;
  margin-bottom: 60px;
}





table {
  /* width: 30%; */
  width: 100%;
  max-width: 800px;
  border-collapse: collapse;
  margin-top: 30px;
  margin-bottom: 40px;
}

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

th {
  background-color: #ecf0f1;
}

section table {
  margin-bottom: 30px;
}


a {
  color: #2c3e50;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}


.instruction {
  border-bottom: 2px solid #2c3e50;
}

.instruction:hover {
  text-decoration: none;
}


select {
  background-color: transparent;
  border: none;
  padding: 0;
  margin: 0 5px;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-decoration: none; /* 通常時はアンダーラインなし */
}

select:hover {
  border-bottom: 1px solid #34495e; /* ホバー時にアンダーライン追加 */
}

.copy-cell {
  display: flex;
  align-items: center;
}

.copy-button {
  border: 1px solid #c7c7ce;
  padding: 6px 10px;
  font-size: 10px;
  border-radius: 6px;
  cursor: pointer;
  margin-left: auto;
}

textarea {
  display: block;
  margin: 10px 0;
  width: 100%;
  font-size: 20px;
  padding: 10px;
}

#copy-textarea-button {
  font-size: 15px;
  padding: 5px;
}

.back-table {
  padding: 0;
  text-align: right;
}

.back-table a {
  text-decoration: none;  
  color: #333;
  margin-right: 15px;
}

/* プライバシーポリシー */
.contact-button {
  color: #34495e;
}

/* 記事一覧 */

.article-wrapper {
  max-width: 500px;
  margin: 30px 0;
  padding: 0;
  background-color: #2c3e50;
  background-color: #fff;
  opacity: 1;
  transition: background-color 0.3s, opacity 0.3s;
}

.article-wrapper a {
  display: block;
}

.article-wrapper a:hover {
  background-color: #f9f9f9;
  opacity: 0.8;
}

.article {
  display: flex;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.article img {
  width: 150px;
  height: auto;
  margin-right: 8px;
  border-radius: 3px;
  display: block;
}

.article-content {
  flex: 1;
}

.article-description p {
  margin-left: 10px;
  font-size: 16px;
  line-height: 1;
  margin-bottom: 16px;
}

.back-top {
  padding: 0;
  text-align: center;
}

.back-top a {
  text-decoration: none;  
  color: #333;
  margin-right: 15px;
}

footer {
  background-color: #555454;
  border-radius: 4px;
  height: 100px;
  margin-top: 40px;
}

footer a {
  display: inline-block;
  font-size: 13px;
  margin: 20px;
  text-decoration: none;
  color: #fff;
}

footer p {
  font-size: 15px;
  color: #fff;
  padding: 10px;
}

/* ツールチップ */
.copy-button {
  position: relative;
  cursor: pointer;
}

/* ツールチップテキストのスタイル */
.tooltip-text {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: 125%; /* ボタンの下に表示 */
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
  color: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  white-space: nowrap;
  font-size: 12px;
  z-index: 1;
  transition: opacity 0.3s;
}

/* ホバー時にツールチップを表示 */
.tooltip:hover .tooltip-text {
  visibility: visible;
  opacity: 0.8;
}


/* お問い合わせ */

/* .input-form input {
  border-radius: 3px;
}

.textarea-form textarea {
  border-radius: 3px;
} */

.contact-form input, textarea{
  border-radius: 3px;
}





/* ====================
   レスポンシブ対応
==================== */
@media screen and (max-width: 768px) {
  body {
    padding: 10px;
  }
  header,
  nav,
  section {
    padding: 15px;
    width: 95%;
  }
  h1 {
    font-size: 20px;
  }

  h2 {
    font-size: 18px;
  }

  h3 {
    font-size: 16px;
  }
  
  
  p, li {
    font-size: 16px;
  }

  table {
    font-size: 14px;
    width: 100%;
    display: block;
    overflow-x: auto;
  }

  th, td {
    padding: 8px;
    white-space: nowrap;
  }

  nav ul {
    padding-left: 10px;
  }

  textarea {
    font-size: 16px;
    padding: 0;
  }

  #copy-textarea-button {
    font-size: 16px;
    padding: 10px;
  }

  .contact-button {
    width: 100%;
    padding: 10px;
    text-align: center;
  }

  .contact-button a {
    display: block;
    width: 100%;
  }

  .back-link {
    text-align: center;
    margin-top: 20px;
  }

  footer {
    text-align: left;
    font-size: 14px;
    margin-top: 40px;
  }
}
