/*
Theme Name: kanagawa-kenpo
Theme URI: http://www.kanagawa08.kyoukaikenpo.or.jp/
Author: Your kanagawa-kenpo
Author URI: http://www.kanagawa08.kyoukaikenpo.or.jp/
Description: 令和７年度第１回健康保険委員研修会アンケート
Version: 1.0
*/

/**
 * uaplus.css version 0.0.1
 */

*,
*::after,
*::before {
  box-sizing: border-box
}

:focus-visible {
  outline-offset: 3px
}

:where(html) {
  -webkit-text-size-adjust: none;
  text-size-adjust: none
}

:where(html) {
  line-height: 1.5
}

:where(html) {
  scrollbar-gutter: stable
}

:where(h1) {
  font-size: 2em;
  margin-block: .67em
}

:where(abbr[title]) {
  cursor: help;
  text-decoration-line: underline;
  text-decoration-style: dotted
}

@media (forced-colors:active) {
  mark {
    color: HighlightText;
    background-color: Highlight
  }
}

:where(del, ins, s)::before,
:where(del, ins, s)::after {
  clip-path: inset(100%);
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  width: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  content: "test"
}

:where(s)::before {
  content: "stricken text start "
}

:where(s)::after {
  content: " stricken text end"
}

:where(del)::before {
  content: "deletion start "
}

:where(del)::after {
  content: " deletion end"
}

:where(ins)::before {
  content: "insertion start "
}

:where(ins)::after {
  content: " insertion end"
}

:where(audio, iframe, img, svg, video) {
  max-block-size: 100%;
  max-inline-size: 100%
}

:where(fieldset) {
  min-inline-size: 0
}

:where(label):has(+:where(textarea, input, select)) {
  display: block
}

:where(textarea:not([rows])) {
  min-block-size: 6em
}

:where(button, input, select, textarea) {
  font-family: inherit;
  font-size: inherit
}

:where([type="search"]) {
  -webkit-appearance: textfield
}

@supports (-webkit-touch-callout:none) {
  :where([type="search"]) {
    border: 1px solid -apple-system-secondary-label;
    background-color: canvas
  }
}

:where([type="tel"], [type="url"], [type="email"], [type="number"]):not(:placeholder-shown) {
  direction: ltr
}

:where(table) {
  border-collapse: collapse;
  border: 1px solid
}

:where(th, td) {
  border: 1px solid;
  padding: .25em .5em
}

:where(dialog)::backdrop {
  background: oklch(0% 0 0 / .3)
}

:where(dialog),
:where(dialog)::backdrop {
  opacity: 0;
  transition: opacity 300ms ease-out, display 300ms allow-discrete, overlay 300ms allow-discrete
}

:where(dialog[open]),
:where(dialog[open])::backdrop {
  opacity: 1
}

@starting-style {

  :where(dialog[open]),
  :where(dialog[open])::backdrop {
    opacity: 0
  }
}

[hidden]:not([hidden="until-found"]) {
  display: none !important
}

/* * * * * * * * * * * * * * *
/* フォーム全体の基本スタイル *
 * * * * * * * * * * * * * * */
body {
  font-size: 16px;
  font-size: 1rem;
  font-family: sans-serif;
  line-height: 1.75;
  background-color: #dddddd;
}

p {
  margin: 0 0 1rem 0;
}

hr {
  display: block;
  margin-block-start: 2em;
  margin-block-end: 2em;
}

sup {
  vertical-align: super;
  font-size: smaller;
}

.questionnaire-form {
  padding: 5rem 0.5rem;
}

@media (max-width:767px) {
  .questionnaire-form {
    padding: 3rem 0.5rem;
  }
}

.wrap {
  max-width: 1200px;
  border-radius: 20px;
  background-color: #fff;
  margin: auto;
}

.title {
  font-size: 1.5rem;
  text-align: center;
  margin: 0 0 3rem 0;
}

.inner {
  padding: 2.5rem;
}

.block {
  margin-bottom: 1.25rem;
}

.block-finish {
  text-align: center;
  margin-top: 3rem;
  margin-bottom: 1.25rem;
}

.text-bold {
  font-weight: bold;
}

.text-center {
  text-align: center;
}

.text-head {
  margin-bottom: 2rem;
}

.br-sp {
  display: none;
}

@media (max-width:767px) {
  .br-sp {
    display: block;
  }
}

.question {
  display: inline-flex;
  flex-wrap: wrap;
  max-width: 100%;
  color: #333;
  font-weight: bold;
  align-items: center;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.required {
  color: #fff;
  background-color: #b01f24;
  font-size: 0.75rem;
  font-weight: bold;
  line-height: 1;
  margin-left: 1rem;
  width: max-content;
  border-radius: 6px;
  padding: 0.25rem 0.5rem;
}

.alert {
  font-size: 0.75rem;
}

.wpcf7-list-item {
  margin: 0;
}

.radio-btn {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.check-btn {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.group-section {
  font-weight: bold;
  margin-top: 2rem;
}

/* テキスト入力、メール、テキストエリア */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  background-color: #fff;
  margin: 0;
}

/* テキストエリアの高さ */
.wpcf7 textarea {
  height: 120px;
  resize: vertical;
}

/* チェックボックス */
.wpcf7 form .wpcf7-checkbox {
  margin: 10px 0 20px;
}

.wpcf7 form .wpcf7-checkbox label {
  display: block;
  font-weight: normal;
  cursor: pointer;
}

@media screen and (max-width:768px) {

  .inner {
    padding: 2.5rem 1rem;
  }

  .title {
    font-size: 1.25rem;
    margin-bottom: 2rem;
  }

  .radio-btn,
  .check-btn {
    flex-direction: column;
  }
}

.wpcf7-response-output {
  display: none !important;
}

.wpcf7-not-valid-tip {
  font-size: 0.75em;
  margin-top: 0.25rem;
}

.wpcf7-form-control.wpcf7-not-valid {
  border: 2px solid red !important;
  background-color: #fff5f5;
}

.validate-number,
.validate-code {
  display: none;
}

.validate-number.active,
.validate-code.active {
  display: block;
  color: #dc3232;
  font-size: 1em;
  font-weight: normal;
}

.wpcf7-spinner {
  position: absolute;
}

/********************************
/*ボタンのスタイル
/*
/********************************/
.form-btn {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
  position: relative;
  z-index: 1000;
}

.form-btn__inner {
  display: flex;
  gap: 1.25rem;
  width: 100%;
  justify-content: space-around;
  position: relative;
  z-index: 1000;
}

/* ボタンスタイル */
.form-btn__inner button {
  background-color: #888;
  background-color: #0073aa;
  color: #fff;
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  width: 24vw;
  max-width: 300px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.form-btn__inner .prev-step {
  background-color: #aaa;
}

.form-btn__inner .next-step {
  background-color: #005f8d;
}

.form-btn__inner button {
  background-color: #888;
}

/* 送信ボタンスタイル */

input[type="submit"] {
  background-color: #0073aa;
  color: #fff;
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  width: 24vw;
  max-width: 300px;
  cursor: pointer;
  transition: background 0.3s ease;
}


input[type="submit"]:hover {
  background-color: #fff;
  color: #0073aa;
  border: solid 1px #0073aa;
}


.submit-btn__wrap {
  position: relative;
  z-index: 1001;
  text-align: center;
}