/* 基本設定 */
* {
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

body {
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background: #ffffff;
  color: #333333;
  font-size: 16px;
}

/* ヘッダーロゴ */
.header-logo {
  text-align: center;
  padding: 10px 0;
  margin-bottom: 20px;
}

.header-logo img {
  max-width: 280px;
  width: 100%;
  height: auto;
}

/* 最初のテキスト部分（枠なし） */
.intro-text {
  padding: 15px 10px;
  margin-bottom: 20px;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}

.intro-text p {
  margin-bottom: 15px;
  line-height: 1.6;
}

.intro-text .free-consultation {
  font-size: 14px;
  font-weight: bold;
  color: #0068b7;
  margin-bottom: 15px;
  line-height: 1.4;
}

.intro-text .orange-text {
  color: #ff6600 !important;
  font-weight: bold;
}

/* PC用CSS */
@media screen and (min-width: 960px) {
  body {
    width: 960px !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }
  
  #landing-page {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 10px;
  }
  
  /* PC用リンク色 */
  a:link, a:visited, a:hover {
    color: #ffffff !important;
    text-decoration: none;
  }
  
  /* PC用フォーム選択肢 - バランス調整 */
  .formSelectList {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 5px;
    flex-wrap: wrap;
  }
  
  .formSelectList__item {
    display: block;
    height: 48px;
    flex: 0 0 auto;
    width: 30%;
    max-width: 200px;
    min-width: 120px;
  }
  
  /* 3つの選択肢の場合の調整 */
  .formSelectList__item:nth-child(1):nth-last-child(3),
  .formSelectList__item:nth-child(2):nth-last-child(2),
  .formSelectList__item:nth-child(3):nth-last-child(1) {
    width: 30%;
  }
  
  /* PC用フォーム見出し調整 */
  .formSelect {
    margin: 20px 0 15px;
  }
  
  .formSelect__ttl {
    margin: 20px 0 12px;
    font-weight: bold;
    border: none !important;
    font-size: 16px !important;
  }
  
  .submitBtn {
    width: 60%;
    height: 110px;
    background: url(../img/btnSubmit.gif) no-repeat;
    border: none;
    background-size: 100%;
  }
}

/* SP用CSS */
@media screen and (max-width: 959px) {
  body {
    width: 100%;
    margin: 0;
    padding: 0 0 100px 0;
  }
  
  #landing-page {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 10px;
  }
  
  /* SP用リンク色 */
  a:link, a:visited, a:hover {
    color: #ffffff !important;
    text-decoration: none;
  }
  
  /* SP用フォーム選択肢 - 横並び3列 */
  .formSelectList {
    width: 100%;
    display: block;
  }
  
  .formSelectList__item {
    display: block;
    height: 48px;
    float: left;
    width: 33%;
  }
  
  /* SP用フォーム見出し調整 */
  .formSelect {
    margin: 15px 0 10px;
  }
  
  .formSelect__ttl {
    margin: 15px 0 8px;
    font-weight: bold;
    border: none !important;
    font-size: 16px !important;
  }
  
  .submitBtn {
    width: 100%;
    height: 90px;
    background: url(../img/btnSubmit.gif) left top no-repeat;
    background-size: 100%;
    border: none;
  }
}

/* 共通スタイル */
#landing-page {
  margin: 0 auto;
  padding: 0 10px;
}

/* 価格セクション */
.price-section {
  background: #fff;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.price-title {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  background: #f0f0f0;
  padding: 10px;
  margin-bottom: 15px;
  border-left: 5px solid #0068b7;
  line-height: 1.4;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 15px;
  font-size: 14px;
}

.price-table th {
  background: #0068b7;
  color: #fff;
  padding: 8px 4px;
  text-align: center;
  border: 1px solid #ccc;
  font-size: 12px;
  line-height: 1.3;
}

.price-table td {
  padding: 8px 4px;
  text-align: center;
  border: 1px solid #ccc;
  font-size: 12px;
  line-height: 1.3;
}

.price-table td.highlight {
  font-weight: bold;
  color: #ff0000;
}

.attention {
  font-size: 11px;
  color: #666;
  margin-bottom: 20px;
  line-height: 1.4;
}

.free-consultation {
  font-size: 14px;
  font-weight: bold;
  color: #0068b7;
  margin-bottom: 15px;
  line-height: 1.4;
}

.orange-text {
  color: #ff6600 !important;
  font-weight: bold;
}

.cta-button {
  display: block;
  width: 90%;
  margin: 15px auto;
  padding: 15px;
  background: #ff6600;
  color: #fff !important;
  text-align: center;
  font-weight: bold;
  border-radius: 5px;
  text-decoration: none;
  box-shadow: 0 3px 5px rgba(0,0,0,0.2);
  font-size: 14px;
}

.cta-button:hover {
  opacity: 0.9;
}

/* フォーム */
.formBox {
  margin: 0 auto 30px;
  background: #fff;
  width: 90%;
  padding: 20px;
  box-shadow: 0px 0px 5px rgba(0,0,0,0.3);
}

.formItem {
  margin-bottom: 20px;
}

.formItem__ttl {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #333;
}

.formItem__ttl:before {
  content: "●";
  color: #00adf3;
  margin-right: 3px;
}

.formItem__ttl span {
  display: inline-block;
  margin-left: 4px;
  font-size: 12px;
  color: #FF0004;
}

.formItem__disc input,
.formItem__disc select {
  display: block;
  width: 100%;
  padding: 8px;
  border: solid 1px #dcdcdc;
  font-size: 16px;
  box-sizing: border-box;
  height: 50px;
}

/* フォーム選択セクション */
.formSelect {
  margin: 15px 0 10px;
}

.formSelect__ttl {
  margin: 15px 0 8px;
  font-weight: bold;
  border: none !important;
  font-size: 16px !important;
  color: #333;
}

.formSelect__ttl:before {
  content: "●";
  color: #00aeef;
  margin-right: 3px;
}

.formSelect__ttl:first-child {
  margin-top: 0;
}

.formSelect__disc {
  height: 100%;
  margin-bottom: 16px;
}

.formSelectList__item:last-child {
  margin-right: 0;
}

.formSelectList__item input {
  display: none;
}

.formSelectList__item label {
  display: block;
  width: 100%;
  cursor: pointer;
  padding: 16px 0 16px 10px;
  background: #9a9a9a;
  color: #fff;
  font-weight: bold;
  border: solid 1px #FFF;
  box-sizing: border-box;
  font-size: 14px;
}

.formSelectList__item input[type="radio"]:checked + label {
  background: #ffa800;
  color: #fff;
}

.submit {
  text-align: center;
  margin: 20px 0;
}

/* フッター */
.l-footer {
  background: #f5f5f5;
  padding: 20px 10px;
  text-align: center;
  margin-top: 30px;
}

.l-footer small {
  font-size: 11px;
  color: #666;
  line-height: 1.6;
}

.l-footer a {
  color: #ffffff !important;
  text-decoration: none;
}

/* clearfix */
.clearfix:after {
  content: " ";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

/* 下部固定バー用のpadding */
.count-submit {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background-color: rgb(255 255 255 / 90%);
  text-align: center;
  margin: 10px;
  padding: 8px 3px;
  border-radius: 1px;
  margin-bottom: 1px;
}

.count-submit p {
  line-height: 1;
  margin: 0;
  padding: 0;
  font-weight: bold;
  font-size: 95%;
}

.count-submit a {
  display: inline-block;
  width: 70%;
  font-size: 16px;
  color: #fff !important;
  text-decoration: none;
  font-weight: bold;
  margin: 7px 5px 0 5px;
  padding: 5px;
  background: #ff8c00;
}