/*汎用クラス*/
.frex{
  display: flex;
}

.is-center{
  align-items: center;
}

.is-between {
  justify-content: space-between;
}

/*===========
header
=============*/

header .inner{
  height: 60px;
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
  background-color: rgb(255, 255, 255);
  
  position: fixed;  /* ← 画面上部に固定 */
  top: 0;  /* ← 上部からの距離 */
  left: 0;
  right: 0;
  z-index: 1000;  /* 他の要素の上に表示 */
  /* box-shadow: 0px 5px 0px 0px rgba(0, 0, 0, 0.1);  影をつけて視認性UP */
}

.main-logo{
  margin-right: auto;
}

.main-logo img{
  width: 150px;
}


/*===========
header end
=============*/


body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: #f8f8f8;
  margin: 0;
  padding: 0;
}

.container {
  width: 80%;
  max-width: 800px;
  margin: 20px auto;
  background: #fff;
  padding: 50px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h1 {
  color: #ff6600;
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 30px;
}

h2 {
  color: #333;
  font-size: 1.5em;
  font-weight: bold;
  margin-top: 30px;
}

h3 {
  color: #ff0000;
  font-size: 1.3em;
  font-weight: bold;
  margin-top: 20px;
}

label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  margin: 10px 0;
  cursor: pointer;
}

input[type="checkbox"], input[type="radio"] {
  appearance: none;
  width: 22px;
  height: 22px;
  border: 2px solid #ff6600;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
input[type="checkbox"]:checked::before,
input[type="radio"]:checked::before {
  content: "✔";
  font-size: 16px;
  color: #ff6600;
  font-weight: bold;
}

input[disabled] + span,
input[disabled] {
    opacity: 0.5;
    pointer-events: none;
}


.faq-toggle {
  cursor: pointer;
  color: #007bff;
}

.faq-content {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.5s ease-in-out, opacity 0.5s ease-in-out, padding 0.5s ease-in-out;
  padding: 0 10px;
  margin-top: 5px;
  opacity: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

.faq-content.faq-open {
  opacity: 1;
  padding: 10px; /* 開いたときの余白を適用 */
}

.faq-button {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid #ff6600;
  border-radius: 10px; /* 丸みを調整 */
  background-color: transparent;
  color: #ff6600;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.faq-button:hover {
  background-color: #ff6600;
  color: white;
}

.faq-content p {
  margin-top: 0;
  padding-top: 5px; /* 上付きにしつつ、少し余白をつける */
}



.grayed-out {
  color: #aaa;
  pointer-events: none;
}


.price-summary {
  position: fixed;
  top: 100px; /*上からの距離*/
  right: 20px; /*右からの距離*/
  background: #fff;
  padding: 15px;
  border-radius: 5px;
  box-shadow: 0 0 10px #ff6600;
  width: 270px;
}

/* 768px以下で price-summary を中央寄せ */
@media (max-width: 768px) {
  .price-summary {
    position: static !important; /* 固定解除 */
    margin: 20px auto !important; /* 自動で中央寄せ */
    width: 90% !important; /* 画面幅の90%に調整 */
    max-width: 400px !important; /* 最大幅を設定 */
    text-align: center; /* コンテンツを中央揃え */
  }
}



.price-summary ul {
  list-style: none;
  padding: 0;
  margin: 0 0 10px 0;
}

.price-summary ul li {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 5px;
  color: #333;
}

.item-price {
  color: #ff6600;
  font-weight: bold;
} 

.email-container {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
}


/* 768px以下で送信ボタンと入力欄の幅を統一 */
@media (max-width: 768px) {
  .email-container {
    width: 100% !important; /* 親要素の幅を制限 */
    max-width: 400px !important; /* 送信ボタンと統一 */
    margin: 0 auto; /* 中央寄せ */
    display: flex;
    flex-direction: column; /* 縦並びにする */
    align-items: center;
  }

  .email-container input {
    width: 100% !important; /* 親要素の幅いっぱいに */
    box-sizing: border-box; /* padding や border を含める */
    max-width: 400px !important; /* 送信ボタンと統一 */
    margin-top: 5px; /* ラベルとの間に少し余白 */
  }

  button {
    width: 100% !important; /* 送信ボタンの幅を入力欄と同じに */
    max-width: 400px !important; /* 最大幅を統一 */
    margin: 10px auto; /* ボタンも中央揃え */
    display: block;
    text-align: center;
  }
}


.email-container label {
  font-size: 18px;
  white-space: nowrap;
}

.email-container input {
  flex-grow: 1;
  height: 20px;
  font-size: 16px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}


button {
  background: #ecb58f;
  color: #fff;
  border: none;
  padding: 12px 20px;
  font-size: 18px;
  cursor: pointer;
  border-radius: 5px;
  display: block;
  width: 100%;
  margin-top: 20px;
  text-align: center;
}

button:hover {
  background: #e65c00;
  transition-timing-function: ease-in;
  transition-duration: 0.3s;
}

.btn-area {
  margin-top: 50px;
}

.recaptcha-container {
  display: flex;
  justify-content: center;
  margin: 20px 0; /* 上下の余白を追加 */
}

/* footer =================================================*/

.footer {
  color: #fff;
  background-color: #333;
  padding: 1em;
  text-align: center;
}

/* footer end =================================================*/
