@charset "utf-8";

body {
  font-family: 'Noto Sans JP', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f5f5f5;
  color: #333;
  overflow-x: hidden;
}

html {
  overflow-x: hidden;
}

.site-header {
  background-color: #ffffff;
  color: #000;
  padding: 12px 0;
  font-size: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid #ddd;
  width: 100%;
  box-sizing: border-box;
}

.header-inner {
  max-width: 1200px;
  width: 100%;
  padding: 0 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
}

.logo {
  height: 36px;
}

.header-phone {
  text-align: right;
  font-size: 13px;
  line-height: 1.4;
}

.header-phone strong {
  display: block;
  font-size: 22px;
  font-weight: bold;
  margin-top: 2px;
}

.container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

/* 繧ｹ繝斐リ繝ｼ */
.btn-spinner {
  border: 2px solid #fff;
  border-top: 2px solid #be1e2d;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  animation: spin 0.8s linear infinite;
  display: inline-block;
  vertical-align: middle;
  margin-left: 10px;
}

.hidden {
  display: none;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.form-section {
  flex: 1;
  background-color: #ffffff;
  border-radius: 8px;
  padding: 24px;
  width: 100%;
  box-sizing: border-box;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  min-width: 320px;
}

.form-step {
  display: none;
}



#step-1,
#step-2 {
  text-align: center;
}

/* index.htmlのStep-1とStep-2の設問見出しは左揃えのまま */
.index-page #step-1 label,
.index-page #step-2 label {
  text-align: left;
}

.form-caption {
  font-weight: bold;
  margin-bottom: 12px;
  text-align: center;
}

/* webinar_questionnaire.html専用のスタイル */
.webinar-questionnaire .form-caption {
  font-size: 1.2em;
}

.form-subcaption {
  font-weight: normal;
  margin-bottom: 20px;
  text-align: center;
  color: #666;
  line-height: 1.6;
}

.step-indicator {
  text-align: center;
  margin: 12px 0 24px;
}

.step-label {
  color: #47a169;
  font-weight: bold;
  margin-right: 8px;
}

.step {
  display: inline-block;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #ccc;
  color: white;
  font-size: 13px;
  line-height: 24px;
  text-align: center;
  margin-right: 6px;
}

.step-active {
  background-color: #47a169;
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: bold;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  box-sizing: border-box;
  margin-bottom: 12px;
}

input::placeholder {
  color: #aaa;
}

select::placeholder {
  color: #aaa;
}

fieldset {
  border: none;
  padding: 0;
  margin-top: 1px;
}

fieldset label {
  display: block;
  margin-bottom: 16px;
  font-size: 16px;
  cursor: pointer;
}

legend {
  font-weight: bold;
  font-size: 14px;
  margin-bottom: 6px;
}

button {
  background: #47a169;
  border-radius: 4px;
  color: #FFFFFF;
  font-weight: bold;
  text-align: center;
  font-size: 16px;
  padding: 12px 20px;
  cursor: pointer;
  border: none;
  margin-top: 8px;
  margin-right: 8px;
  width: 100%;
  box-sizing: border-box;
}

button:hover {
  background: #3b8e57;
}

button.back {
  background: none;
  color: #666;
  font-size: 13px;
  font-weight: normal;
  text-decoration: underline;
  margin-top: 8px;
  margin-left: 0;
  padding: 0;
  width: auto;
  display: block;
  text-align: left;
}

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

.back-link a {
  font-size: 14px;
  color: #555;
  text-decoration: underline;
  cursor: pointer;
}

.privacy-link {
  font-size: 12px;
  display: block;
  margin-bottom: 8px;
  color: #0056b3;
  text-decoration: underline;
}

.consent-text {
  text-align: center;
  color: #999;
  font-size: 13px;
  font-weight: normal;
  margin-top: 16px;
  margin-bottom: 4px;
}

.consent-text .consent-link {
  color: #999;
  text-decoration: underline;
  font-weight: normal;
}

/* 満足度評価のスタイル */
.satisfaction-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  width: 100%;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.rating-label {
  font-size: 12px;
  color: #666;
  white-space: nowrap;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.rating-label:first-child {
  left: 0;
}

.rating-label:last-child {
  right: 0;
}

.rating-options {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rating-options input[type="radio"] {
  display: none;
}

.rating-circle {
  display: inline-block;
  width: 24px;
  height: 24px;
  border: 2px solid #ccc;
  border-radius: 50%;
  text-align: center;
  line-height: 20px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  background-color: #fff;
}

.rating-circle:hover {
  border-color: #47a169;
  background-color: #f0f8f0;
}

.rating-options input[type="radio"]:checked + .rating-circle {
  border-color: #47a169;
  background-color: #47a169;
  color: white;
}

/* はい・いいえのラジオボタンスタイル */
.radio-options {
  display: flex;
  gap: 20px;
  margin-bottom: 12px;
  justify-content: center;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 8px 16px;
  border: 2px solid #ccc;
  border-radius: 20px;
  transition: all 0.2s ease;
}

.radio-option:hover {
  border-color: #47a169;
  background-color: #f0f8f0;
}

.radio-option input[type="radio"] {
  margin: 0;
}

.radio-option input[type="radio"]:checked + .radio-text {
  color: #47a169;
  font-weight: bold;
}

.radio-option input[type="radio"]:checked {
  accent-color: #47a169;
}

.radio-text {
  font-size: 14px;
  font-weight: normal;
}

/* ボタングループのスタイル */
.button-group {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.btn-yes,
.btn-no {
  flex: 1;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-yes {
  background-color: #47a169;
  color: white;
}

.btn-yes:hover {
  background-color: #3b8e57;
}

.btn-no {
  background-color: #6c757d;
  color: white;
}

.btn-no:hover {
  background-color: #5a6268;
}

/* 必須タグのスタイル */
.required-tag {
  background-color: #be1e2d;
  color: white;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 8px;
  font-weight: normal;
}

/* カウンセリング注意書きのスタイル */
.coaching-note {
  color: #be1e2d;
  font-size: 13px;
  margin: 8px 0 16px 0;
  text-align: center;
}

/* webinar_questionnaire.htmlのStep3ラベル専用スタイル（中央揃え） */
.webinar-step3-label {
  text-align: center;
  display: block;
  margin-bottom: 8px;
}

/* 日時入力フィールドのスタイル */
.datetime-inputs {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.datetime-inputs input[type="date"],
.datetime-inputs select {
  flex: 1;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  background-color: #fff;
  height: 48px;
  box-sizing: border-box;
}

.datetime-inputs input[type="date"]::-webkit-calendar-picker-indicator,
.datetime-inputs select {
  cursor: pointer;
}

/* 姓名を横並びにするスタイル */
.name-inputs {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.name-inputs input[type="text"] {
  flex: 1;
  margin-bottom: 0;
}

.success-message {
  display: none;
  color: green;
  margin-top: 20px;
  text-align: center;
}

.pdf-preview {
  width: 400px;
  flex-shrink: 0;
}

.pdf-preview img {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.content-section {
  background-color: #f7f9fb;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  max-width: 420px;
  margin: 0 auto;
  text-align: center;
}

.slide-preview {
  margin-bottom: 16px;
}

.slide-image {
  width: 100%;
  border-radius: 8px;
}

.slide-caption h3 {
  color: #FF6760;
  font-size: 1.1em;
  margin-bottom: 10px;
  text-align: left;
}

.slide-caption ul {
  text-align: left;
  padding-left: 1em;
  color: #333;
  font-size: 0.95em;
  line-height: 1.6;
}

@media (max-width: 767px) {
  .container {
    flex-direction: column;
    padding: 16px;
  }

  .form-section,
  .pdf-preview {
    width: 100%;
  }

  .pdf-preview {
    margin-top: 20px;
  }

  /* スマートフォンでStep2、Step3のときのみPDFセクションを非表示 */
  .content-section.step-hidden {
    display: none;
  }

  button {
    font-size: 16px;
    padding: 14px 20px;
  }

  .header-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .header-phone {
    text-align: right;
    margin-top: 0;
    font-size: 12px;
  }

  .header-phone strong {
    font-size: 18px;
  }
}