/* hiragana/index.php 固有のスタイル */
body {
  font-family: "Helvetica Neue",
    Arial,
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    Meiryo,
    sans-serif;
  text-align: center;
  height: 100%;
}

h1 a {
  width: 100%;
  text-align: center;
  text-decoration: none;
  color: black;
}

.site-title {
  font-size: 14px;
  color: #666;
  margin-bottom: 5px;
}

.site-title a {
  color: #666;
  line-height: 1.5;
}

div#container {
  text-align: center;
  width: 80%;
  margin: 0 auto -30px;
  height: auto !important;
}

div#container div#footer-s {
  height: 30px;
}

span.sp {
  font-size: 70%;
  color: #333333;
}

p#other {
  padding-left: 20%;
  padding-right: 20%;
}

div.bookmark {
  width: 90%;
  text-align: right;
}

div#container div.bookmark a img {
  text-decoration: none;
  color: #000000;
  border-style: none;
}

div.clear {
  clear: both;
}

a {
  text-decoration: none;
  display: inline-block;
  line-height: 50px;
}

form {
  margin: 1%;
}

ul {
  list-style-type: circle;
}

li {
  font-size: 80%;
}

.count {
  font-size: 80%;
}

.input_main {
  font-size: 150%;
  max-width: 90%;
  font-weight: bold;
}

.submit_main {
  font-size: 150%;
  border-radius: 10px;
}

/* モダンなレスポンシブ対応: max-device-width から max-width に変更 */
@media screen and (max-width: 480px) {
  h1 {
    font-size: 20px;
  }

  div#container {
    width: 95%;
    font-size: 145%;
  }
}

#result span {
  background: linear-gradient(transparent 60%, #ffff8e 70%);
  line-height: 20px;
}

#ad-top {
  position: relative;
  overflow: hidden;
}

#ad-top ul {
  position: relative;
  left: 50%;
  float: left;
}

#ad-top li {
  position: relative;
  left: -50%;
  float: left;
  list-style-type: none;
}

.gray {
  background-color: #f5f5f5;
  padding: 5px;
}

#kr {
  border-radius: 10px;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.faq-section {
  background: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 15px;
  margin: 20px auto;
  max-width: 600px;
  text-align: left;
}

.faq-section h2 {
  font-size: 16px;
  margin-bottom: 15px;
  color: #333;
}

.faq-section details {
  margin-bottom: 10px;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 10px;
}

.faq-section details:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.faq-section summary {
  cursor: pointer;
  font-weight: bold;
  color: #1a73e8;
  line-height: 1.6;
  font-size: 14px;
}

.faq-section summary:hover {
  text-decoration: underline;
}

.faq-section p {
  margin: 10px 0 0 0;
  font-size: 14px;
  line-height: 1.6;
}

.blur,
.blur > img {
  margin: 0;
  padding: 0;
  border: 0;
}

.blur {
  position: relative;
  display: inline-block;
  font-size: 0;
  line-height: 0;
}

.blur:after {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  box-shadow: inset 0px 0px 15px 15px #fff;
  content: " ";
}

/* CTAボタンスタイル */
.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  color: #fff !important;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 16px;
  line-height: 1.5;
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0, 123, 255, 0.3);
  transition: all 0.3s ease;
  margin: 10px 5px;
}

.cta-button:hover {
  background: linear-gradient(135deg, #0056b3 0%, #003d80 100%);
  box-shadow: 0 6px 12px rgba(0, 123, 255, 0.4);
  transform: translateY(-2px);
}

.cta-button.secondary {
  background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
  box-shadow: 0 4px 6px rgba(40, 167, 69, 0.3);
}

.cta-button.secondary:hover {
  background: linear-gradient(135deg, #1e7e34 0%, #155724 100%);
  box-shadow: 0 6px 12px rgba(40, 167, 69, 0.4);
}

/* 広告ラベル */
.ad-label {
  font-size: 60%;
  color: #333333;
}

/* 比較フォーム */
#comparing {
  margin: 15px 0;
  padding: 10px;
  background: #f8f9fa;
  border-radius: 8px;
}

#comparing-button {
  background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

#comparing-button:hover {
  background: linear-gradient(135deg, #495057 0%, #343a40 100%);
  transform: translateY(-1px);
}
