/*
==============================================
�֭��:���� - qCSS
design-sample Ƕ��WordPress��ki(
==============================================
*/

/* ===============================
   Global Reset & Base Styles
=============================== */
* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #F5F9FF;
  min-height: 100vh;
}

/* ===============================
   WordPress Layout Overrides
=============================== */
#breadcrumb {
	display: none;
}

.l-mainContent__inner > .post_content {
	padding: 0;
}

.l-content {
	padding-top: 0;
	margin-bottom: 0;
}

.subtitle {
	line-height: 0;
}

.l-header__bar {
	display: none;
}

.-txt .c-headLogo__link {
	font-size: 16px;
	font-weight: 400;
}

.-series .l-header__logo {
	padding: 0;
}

.l-header__inner {
	padding: 6px 68px;
}

.l-footer .l-container {
	padding: 0 68px;
}

#before_footer_widget {
	margin-top: 0;
}

/* ===============================
   design-sample Container System
=============================== */
.container {
  max-width: 767px;
  margin: 0 auto;
  background-color: #fff;
  min-height: 100vh;
  position: relative;
}
@media (max-width: 767px) {
  .container {
    max-width: 100%;
  }
}

/* ===============================
   Header Styles (design-sample)
=============================== */
.header {
  padding: 0px 20px 0;
  text-align: center;
}
.header__logo {
  font-size: 32px;
  font-weight: bold;
  color: #333;
  margin-bottom: 8px;
}
.header__catch {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
}
.header__sub-catch {
  background-color: #777;
  color: white;
  padding: 6px;
  font-size: 14px;
  border-radius: 0;
  margin: 0 -20px;
}
.header__sub-catch span {
  color: #cee5fa;
}

/* ===============================
   Main Visual & Search Section
=============================== */
.main-visual {
  position: relative;
  overflow: hidden;
}
.main-visual:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  pointer-events: none;
  z-index: 1;
}
.main-visual__image {
  width: 100%;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

.search-section {
  background: #357abd;
  padding: 8px;
  text-align: center;
  position: relative;
}
.search-section::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 10px solid #357abd;
  z-index: 2;
}
.search-section__content {
  color: white;
  font-size: 16px;
  font-weight: bold;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 10px;
}
@media (max-width: 767px) {
  .search-section__content {
    font-size: 14px;
    gap: 8px;
  }
}

/* ===============================
   Step Navigation
=============================== */
.steps {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 8px;
  padding: 30px 20px 20px;
  background-color: #f8f8f8;
}

.step-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 15px;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  background-color: #ddd;
  color: #999;
  font-size: 12px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.step-item.step, .step-item.time {
  background: none;
  color: #4886BC;
  font-weight: 600;
  width: auto;
  padding: 0;
}
.step-item.active {
  background-color: #4886BC;
  color: white;
}

/* ===============================
   Form Section & Question Title
=============================== */
.form-section {
  padding: 10px 20px;
  text-align: center;
  position: relative;
  min-height: 65vh;
}

.step00 .form-section {
  min-height: 0;
}
.step00 .radio-options {
  margin-bottom: 0px;
}
.step00 .index__space {
  height: 55vw;
  background: rgba(0, 0, 0, 0.3);
  display: block;
}

.question-title {
  font-size: 18px;
  color: #4886BC;
  background-color: #CFEBF9;
  padding: 15px 20px;
  border-radius: 25px;
  display: inline-block;
  margin-bottom: 10px;
  font-weight: bold;
  width: 80%;
}
@media (max-width: 767px) {
  .question-title {
    width: 100%;
  }
}

/* ===============================
   Mascot Animation System
=============================== */
.mascot {
  z-index: 9999;
  position: absolute;
  top: 40px;
  right: 12%;
  -webkit-transition: top 0.8s cubic-bezier(0.4, 0, 0.2, 1), right 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  transition: top 0.8s cubic-bezier(0.4, 0, 0.2, 1), right 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-animation: mascot-move-x 1s infinite alternate ease-in-out;
          animation: mascot-move-x 1s infinite alternate ease-in-out;
}
.mascot__image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
}
@media (max-width: 767px) {
  .mascot {
    right: 2%;
  }
}
.step00 .mascot {
  top: 100px;
  right: -3%;
  -webkit-animation: mascot-move-radio 3s infinite ease-in-out;
          animation: mascot-move-radio 3s infinite ease-in-out;
}
@media (max-width: 767px) {
  .step00 .mascot {
    right: 2%;
  }
}
.mascot.moved-to-button {
  -webkit-animation: none;
          animation: none;
  -webkit-transform: none;
          transform: none;
}

/* Mascot Animations */
@-webkit-keyframes mascot-move-x {
  0% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
  100% {
    -webkit-transform: translateX(10px);
            transform: translateX(10px);
  }
}
@keyframes mascot-move-x {
  0% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
  100% {
    -webkit-transform: translateX(10px);
            transform: translateX(10px);
  }
}
@-webkit-keyframes mascot-move-radio {
  0% {
    -webkit-transform: translateY(0px);
            transform: translateY(0px);
  }
  50% {
    -webkit-transform: translateY(var(--mascot-move-distance, 80px));
            transform: translateY(var(--mascot-move-distance, 80px));
  }
  100% {
    -webkit-transform: translateY(0px);
            transform: translateY(0px);
  }
}
@keyframes mascot-move-radio {
  0% {
    -webkit-transform: translateY(0px);
            transform: translateY(0px);
  }
  50% {
    -webkit-transform: translateY(var(--mascot-move-distance, 80px));
            transform: translateY(var(--mascot-move-distance, 80px));
  }
  100% {
    -webkit-transform: translateY(0px);
            transform: translateY(0px);
  }
}

/* ===============================
   Radio Options - Vertical Layout
=============================== */
.radio-options {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 15px;
  margin-bottom: 40px;
}

.radio-option {
  cursor: pointer;
}
.radio-option input[type=radio] {
  display: none;
}
.radio-option__content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 20px;
  border: 2px solid #e0e0e0;
  border-radius: 25px;
  background-color: white;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  position: relative;
}
@media (max-width: 767px) {
  .radio-option__content {
    padding-left: 5px !important;
  }
}
.radio-option__content:hover {
  border-color: #4886BC;
  background-color: #fff5f5;
}
.radio-option__icon {
  width: 50px;
  height: auto;
  margin-right: 5px;
  border-radius: 50%;
}
.radio-option__text {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  font-size: 18px !important;
  color: #333;
  text-align: left;
  font-weight: bold;
}
.radio-option__arrow {
  color: #4886BC;
  font-size: 18px;
  margin-left: 10px;
}
/* 
input[type=radio]:checked + .radio-option__content {
  border-color: #4886BC;
  background-color: #CFEBF9;
}
input[type=radio]:checked + .radio-option__content .radio-option__text {
  color: #4886BC;
  font-weight: bold;
} */

/* ===============================
   Radio Options - Grid Layout
=============================== */
.radio-options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-bottom: 40px;
}

.radio-option-grid {
  cursor: pointer;
}
.radio-option-grid input[type=radio] {
  display: none;
}
.radio-option-grid:hover {
  background-color: #fff5f5;
}
.radio-option-grid.active {
	background-color: #CFEBF9;
}
.radio-option-grid.active .radio-option-grid__content{
	background-color: #CFEBF9;
}
.radio-option-grid__content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 20px 10px;
  /* border: 2px solid #e0e0e0; */
  border-radius: 15px;
  background-color: white;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  text-align: center;
  height: 140px;
}
.radio-option-grid__content:hover {
  border-color: #4886BC;
}
.radio-option-grid__icon {
  width: 60px;
  height: 60px;
  margin-bottom: 10px;
  border-radius: 50%;
}
.radio-option-grid__text {
  font-size: 14px;
  color: #333;
  line-height: 1.3;
  font-weight: 500;
  height: 40px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  text-align: center;
}
/* 
input[type=radio]:checked + .radio-option-grid__content {
  border-color: #4886BC;
  background-color: #CFEBF9;
}
input[type=radio]:checked + .radio-option-grid__content .radio-option-grid__text {
  color: #4886BC;
  font-weight: bold;
} */

/* ===============================
   Form Input Elements
=============================== */
.section-header {
  text-align: center;
  margin-bottom: 30px;
}
.section-header__title {
  background-color: #CFEBF9;
  color: #4886BC;
  padding: 15px 30px;
  border-radius: 25px;
  font-size: 18px;
  font-weight: bold;
  display: inline-block;
  margin-bottom: 10px;
  width: 80%;
}
@media (max-width: 767px) {
  .section-header__title {
    width: 100%;
  }
}

.input-group {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 15px;
  gap: 10px;
}
@media (max-width: 767px) {
  .input-group {
    gap: 5px;
    padding: 0 5px;
  }
}

.postal-code-input {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  padding: 15px;
  font-size: 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  background-color: white;
  -webkit-transition: border-color 0.3s ease;
  transition: border-color 0.3s ease;
  min-width: 0;
}
.postal-code-input:focus {
  outline: none;
  border-color: #4886BC;
}

.text-input {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  padding: 12px;
  font-size: 14px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  background-color: white;
  -webkit-transition: border-color 0.3s ease;
  transition: border-color 0.3s ease;
}
.text-input:focus {
  outline: none;
  border-color: #4886BC;
}

.select-input {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  padding: 12px;
  font-size: 14px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  background-color: white;
  -webkit-transition: border-color 0.3s ease;
  transition: border-color 0.3s ease;
  cursor: pointer;
}
.select-input:focus {
  outline: none;
  border-color: #4886BC;
}

/* ===============================
   Navigation & Buttons
=============================== */
.next-button {
  background-color: #ccc;
  color: #666;
  border: none;
  padding: 15px 40px;
  font-size: 16px;
  border-radius: 25px;
  cursor: not-allowed;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  font-weight: bold;
  display: block;
  width: 200px;
}
.next-button:not(:disabled) {
  background-color: #4886BC;
  color: white;
  cursor: pointer;
}
.next-button:not(:disabled):hover {
  background-color: #e66666;
  -webkit-transform: translateY(-2px);
          transform: translateY(-2px);
  -webkit-box-shadow: 0 4px 12px rgba(255, 122, 122, 0.3);
          box-shadow: 0 4px 12px rgba(255, 122, 122, 0.3);
}

.navigation-buttons {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-bottom: 40px;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  gap: 15px;
}

.back-link {
  color: #999;
  text-decoration: underline;
  font-size: 14px;
  -webkit-transition: color 0.3s ease;
  transition: color 0.3s ease;
}
.back-link:hover {
  color: #4886BC;
}

/* ===============================
   WordPress Integration Styles
=============================== */

/* WordPress Post Content Adjustments */
.post_content .page-title {
	text-align: center;
}

.post_content h3 {
	font-size: 1.3em;
	margin-bottom: .3em !important;
	text-align: center;
}

.lp_form h3 {
	margin-top: 0 !important;
}

.step1_form .page-title h3,
.step2_form .page-title h3,
.step3_form .page-title h3,
.step4_form .page-title h3,
.step5_form .page-title h3 {
	display: inline-block;
	text-align: left;
	margin-top: 1.5em !important;
	margin-bottom: .3em !important;
}

.post_content .page-title h3 span {
	display: block;
	font-size: .5em;
	font-weight: 400;
}

.post_content h3::before {
	display: none;
}

/* WordPress Button Styles with design-sample Integration */
.post_content .swell-block-button a {
	border-radius: 10px;
	font-size: 1.3em;
	display: flex !important;
	justify-content: space-between !important;
	max-width: 80%;
	margin: 0 auto;
	padding: .5em 1em;
}

.post_content .swell-block-button.btn1 {
	margin-bottom: 1.2em;
}

.post_content .swell-block-button.btn1 a {
	background: #4886BC;
}

.post_content .swell-block-button.btn2 a {
	background: none;
	border: 1px solid #4886BC;
	color: #4886BC;
}

/* Form Button Styles Integration */
.post_content .btns {
	display: flex;
	justify-content: center;
	gap: 10px;
	padding: 0 20px;
	margin-bottom: 10px;
}

.post_content .btns .btn {
	padding: 15px 0;
	border-radius: 15px;
	border: 2px solid #e0e0e0;
	background: #fff;
	width: 100%;
	text-align: center;
	transition: all 0.3s ease;
}

.post_content .btns .btn.active {
	background: #CFEBF9;
	border-color: #4886BC;
	color: #4886BC;
	font-weight: bold;
}

.post_content .btns .btn:hover {
	cursor: pointer;
	border-color: #4886BC;
	background-color: #fff5f5;
}

/* Input Styles */
.input-wrap {
	font-size: 1.3em;
	text-align: center;
}

input[type="text"],
input[type="tel"],
input[type="number"] {
	background: #fff;
	border: 2px solid #e0e0e0;
	border-radius: 8px;
	padding: 12px 15px;
	max-width: 100%;
	font-size: 16px;
	transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus {
	outline: none;
	border-color: #4886BC;
}

/* Submit Button Styles */
.post_content .btn-submit {
	position: relative;
    width: auto;
    margin: 0;
}

.post_content .wpcf7-submit {
	width: 100%;
	background: #4886BC;
	color: #fff;
	border: none;
	border-radius: 25px;
	font-size: 1.3em;
	font-weight: 700;
	padding: .8em;
	transition: all 0.3s ease;
}


.post_content .wpcf7-submit:not(:disabled):hover {
	background-color: #e66666;
}

/* Previous Button Styles */
.post_content .btn-prev {
	position: relative;
    width: auto;
    margin: 0;
}

.post_content .wpcf7-previous {
	width: 100%;
	background: #fff;
	color: #333;
	border: 1px solid #333;
	border-radius: 10px;
	font-size: 1.3em;
	font-weight: 700;
	padding: .6em;
}

/* ===============================
   Footer Styles
=============================== */
.footer {
  background-color: #f8f8f8;
  padding: 30px 20px;
  text-align: center;
  margin-top: auto;
}
.footer__links {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
.footer__links a {
  color: #666;
  text-decoration: none;
  font-size: 12px;
}
.footer__links a:hover {
  color: #4886BC;
}
.footer__copyright {
  font-size: 11px;
  color: #999;
  line-height: 1.4;
}

/* ===============================
   Pointing Hand Animation
=============================== */
.pointing-hand {
	position: absolute;
	top: 35%;
	right: 3%;
	width: 100px !important;
	display: none;
}

.pointing-hand.active {
	display: block;
	animation: mascot-move-x 1s infinite alternate ease-in-out;
}

.page-id-28 .pointing-hand {
	top: 0px;
	right: -30px;
	width: 60px !important;
	display: none;
}
.page-id-28 .pointing-hand.active {
	display: block;
}

.page-id-309 .pointing-hand {
	top: 0px;
	right: -30px;
	width: 60px !important;
	display: none;
}
.page-id-309 .pointing-hand.active {
	display: block;
}

/* Hide CF7 Response Elements */
.wpcf7-spinner,
.wpcf7-response-output {
	opacity: 0;
}

/* ===============================
   Responsive Design
=============================== */
@media (max-width: 480px) {
  .header__logo {
    font-size: 28px;
  }
  .header__catch {
    font-size: 12px;
  }
  .header__sub-catch {
    font-size: 12px;
    padding: 10px;
  }
  .question-title {
    font-size: 16px;
    padding: 12px 16px;
  }
  .radio-option__content {
    padding: 15px;
  }
  .radio-option__text {
    font-size: 14px;
  }
  .footer__links {
    gap: 15px;
  }
  .radio-options-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .radio-option-grid__content {
    padding: 15px 8px;
    height: 110px;
  }
  .radio-option-grid__icon {
    width: 50px;
    height: 50px;
    margin-bottom: 8px;
  }
  .next-button {
    padding: 12px 30px;
    font-size: 14px;
    width: 180px;
  }
  .pointing-hand {
		top: 32%;
		width: 80px !important;
	}
	.page-id-28 .pointing-hand {
		top: -10px;
		right: -40px;
	}
	.img-step {
		padding: 0 1em;
	}
}

@media not all and (min-width: 960px) {
	.w-header.pc_ {
		display: flex !important;
	}

	.l-header__inner {
		padding: 0 10px;
	}

	.l-header__menuBtn, .l-header__customBtn {
		display: none;
	}

	.l-header__logo {
		order: 0;
	}

	.l-content {
		padding: 0;
	}

	.l-footer .l-container {
		padding: 0;
	}
}

@media (max-width: 430px) {
	.page-id-28 .post_content .btn-submit {
		margin: 1em auto 0;
	}
	.-txt .c-headLogo__link {
		font-size: 12px;
	}
	.w-header__item.widget_text .textwidget p {
		font-size: 12px;
	}
}

@media (min-width: 600px) {
	.post_content h3 {
		font-size: 2em;
	}

	.post_content .swell-block-button a {
		font-size: 2em;
	}
}

/* ===============================
   Complete Page Styles
=============================== */
.complete-simple-section {
  padding: 0 0 10px;
  text-align: center;
  background-color: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: start;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.complete-simple-message {
  max-width: none;
  margin: 0 auto;
  width: 100%;
  background-color: #CFEBF9;
  padding: 20px 20px;
  position: relative;
}

.line-cta {
  background-color: white;
  border: 2px solid #4886BC;
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.line-button {
  position: relative;
  background-color: #00C300;
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 10px;
  text-decoration: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 10px;
  font-weight: bold;
  margin-top: 15px;
  width: 100%;
}

/* Overlay for step 05 */
.step05-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity 0.3s ease, visibility 0.3s ease;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.step05-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Special submit button for final step */
#submit-button.next-button {
  padding: 20px 40px;
  font-size: 20px;
  min-width: 200px;
  max-width: 700px;
  width: 100%;
}
@media (max-width: 767px) {
  #submit-button.next-button {
    padding: 28px 30px;
    font-size: 6.5vw;
  }
}

/* ===============================
   Page-Specific Styles
=============================== */
.lp_form {
	position: relative;
	background: #fff;
	padding: 1em 0;
	z-index: 102;
}

/* Top Page Overlay */
.page-id-17 .l-header::before {
	content: '';
	position: absolute;
	background: rgba(0, 0, 0, .5);
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
	z-index: 101;
}

.page-id-17 .l-mainContent::before {
	content: '';
	position: fixed;
	background: rgba(0, 0, 0, .5);
	left: 0;
	top: 0;
	height: 100vh;
	width: 100vw;
	z-index: 101;
}

.page-id-17 .post_content>* {
	margin-bottom: 0;
}
.page-id-17 .wp-block-spacer {
	position: relative;
	z-index: 1;
}

/* Thanks Page */
.page-id-208 p {
	line-height: 1.4;
}
.page-id-208 .post_content {
	margin-top: 0;
}
.page-id-208 .post_content .wp-block-group {
	padding-top: 0;
	padding-bottom: 5em;
}
.page-id-208 .c-pageTitle {
	text-align: center;
	padding-top: 1.5em;
}
.page-id-208 .c-pageTitle .c-pageTitle__inner {
	font-size: 1.2em;
}

/* SSL Banner */
.ssl-banner {
	background: #fff;
	display: flex;
	justify-content: center;
	gap: 1em;
	padding: 8px 0;
}

.ssl-banner .icon {
	height: 32px;
	width: 34px;
}

.ssl-banner .text {
	font-size: 12px;
}

/* Footer WordPress Overrides */
.l-footer__nav {
	justify-content: space-between;
}

.l-footer__nav li a {
	border-right: none;
	font-size: 16px;
}

.l-footer__nav li:first-child a {
	border-left: none;
}

.l-footer .copyright {
	font-size: 16px;
}

.l-footer__nav {
	padding: 0 0 .5em;
}

.l-footer__foot {
	padding: .5em 0;
}

.l-footer__foot {
	padding: .5em 1em;
}

/* ===============================
   Form Input Focus & Validation
=============================== */
input, select, textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 0;
  font-family: inherit;
  font-size: 16px;
}
@media (max-width: 767px) {
  input, select, textarea {
    font-size: 16px;
  }
}

select {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='%23666' d='m2 0-2 2h4zm0 5 2-2h-4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px;
  padding-right: 36px;
}

.text-input, .postal-code-input, .select-input {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  border: 2px solid #e0e0e0 !important;
  background-color: white !important;
}
.text-input:focus, .postal-code-input:focus, .select-input:focus {
  border-color: #4886BC !important;
  outline: none !important;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
}

/* =====================================
 * Phase 3: Enhanced Visual Radio Options
 * ===================================== */

/* 視覚的ラジオ選択肢コンテナ */
.radio-options-visual {
  margin: 20px 0;
}

.radio-row {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  justify-content: center;
}

.radio-row.single {
  justify-content: center;
}

/* 視覚的ラジオ選択肢 */
.radio-option-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px;
  min-width: 120px;
  max-width: 160px;
  background: #fff;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.radio-option-visual:hover {
  border-color: #4886BC;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(72, 134, 188, 0.2);
}

/* 選択時のスタイル */
.radio-option-visual.active,
.radio-option-visual:has(input:checked) {
  border-color: #4886BC;
  background: #f0f8ff;
  box-shadow: 0 4px 20px rgba(72, 134, 188, 0.3);
}

/* ラジオ選択肢のアイコン */
.radio-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 8px;
  transition: transform 0.3s ease;
}

.radio-option-visual:hover .radio-icon {
  transform: scale(1.05);
}

/* ラジオ選択肢のテキスト */
.radio-text {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: #333;
  margin-bottom: 8px;
}

/* チェックマーク表示 */
.radio-check {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #e0e0e0;
  transition: all 0.3s ease;
}

.radio-option-visual.active .radio-check,
.radio-option-visual:has(input:checked) .radio-check {
  background: #4886BC;
  border-color: #4886BC;
}

.radio-option-visual.active .radio-check::after,
.radio-option-visual:has(input:checked) .radio-check::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 12px;
  font-weight: bold;
}

/* レスポンシブ対応 */
@media (max-width: 767px) {
  .radio-row {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  
  .radio-option-visual {
    width: 90%;
    max-width: 300px;
    flex-direction: row;
    padding: 12px 15px;
    text-align: left;
  }
  
  .radio-icon {
    width: 50px;
    height: 50px;
    margin-right: 15px;
    margin-bottom: 0;
  }
  
  .radio-text {
    flex: 1;
    font-size: 14px;
  }
}

/* 性別選択の特別スタイル */
.gender-options .radio-option-visual {
  min-width: 140px;
  padding: 20px 15px;
}

.gender-icon {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 8px;
  transition: transform 0.3s ease;
}

.gender-icon.male {
  color: #4A90E2;
}

.gender-icon.female {
  color: #E24A90;
}

.radio-option-visual:hover .gender-icon {
  transform: scale(1.1);
}

.radio-option-visual.active .gender-icon.male,
.radio-option-visual:has(input:checked) .gender-icon.male {
  color: #2E5CB8;
  text-shadow: 0 2px 4px rgba(46, 92, 184, 0.3);
}

.radio-option-visual.active .gender-icon.female,
.radio-option-visual:has(input:checked) .gender-icon.female {
  color: #B82E5C;
  text-shadow: 0 2px 4px rgba(184, 46, 92, 0.3);
}

/* =====================================
 * Phase 3: Backward Compatibility & Integration
 * ===================================== */

/* 既存の.btnsスタイルとの互換性確保 */
.btns {
  display: flex;
  gap: 10px;
  margin: 20px 0;
  justify-content: center;
  flex-wrap: wrap;
}

.btns .btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px;
  min-width: 120px;
  background: #fff;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.btns .btn:hover {
  border-color: #4886BC;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(72, 134, 188, 0.2);
}

.btns .btn.active {
  border-color: #4886BC;
  background: #f0f8ff;
  box-shadow: 0 4px 20px rgba(72, 134, 188, 0.3);
}

.btns .btn img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 8px;
  transition: transform 0.3s ease;
}

.btns .btn:hover img {
  transform: scale(1.05);
}

.btns .btn .txt {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: #333;
}

/* 性別選択の既存スタイル互換 */
.btns.sex .btn {
  min-width: 140px;
  padding: 20px 15px;
}

/* モバイル対応 */
@media (max-width: 767px) {
  .btns {
    flex-direction: column;
    align-items: center;
  }
  
  .btns .btn {
    width: 90%;
    max-width: 300px;
    flex-direction: row;
    padding: 12px 15px;
    text-align: left;
  }
  
  .btns .btn img {
    width: 50px;
    height: 50px;
    margin-right: 15px;
    margin-bottom: 0;
  }
  
  .btns .btn .txt {
    flex: 1;
    font-size: 14px;
  }
}

/* フォーム送信ボタンの強化 */
.btn-submit {
  display: flex;
  justify-content: center;
  margin: 30px 0;
}

.btn-submit input[type="submit"],
.btn-submit button {
  background: linear-gradient(135deg, #4886BC 0%, #3A6FA5 100%);
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(72, 134, 188, 0.3);
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-submit input[type="submit"]:hover,
.btn-submit button:hover {
  background: linear-gradient(135deg, #3A6FA5 0%, #2E5B91 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(72, 134, 188, 0.4);
}

/* =====================================
 * Phase 4: Address Functionality Styles
 * ===================================== */

/* 住所取得通知スタイル */
.address-notification {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: white;
  padding: 10px 15px;
  border-radius: 6px;
  margin: 10px 0;
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 2px 10px rgba(40, 167, 69, 0.3);
  animation: slideInFromTop 0.3s ease-out;
}

@keyframes slideInFromTop {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 郵便番号入力フィールドの強化 */
.input-wrap.postal-code {
  position: relative;
}

.input-wrap.postal-code::after {
  content: '住所を自動取得します';
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 11px;
  color: #666;
  pointer-events: none;
}

.input-wrap.postal-code input:focus::after {
  color: #4886BC;
}

/* 都道府県・市区町村セレクトボックスの強化 */
select[name="prefecture"], 
select[name="city"] {
  width: 100%;
  padding: 10px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  font-size: 14px;
  background: white;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

select[name="prefecture"]:focus, 
select[name="city"]:focus {
  border-color: #4886BC;
  outline: none;
}

select[name="city"]:disabled {
  background: #f5f5f5;
  cursor: not-allowed;
}

/* アドレス入力セクションのレイアウト */
.address-section {
  margin: 20px 0;
}

.address-row {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.address-field {
  flex: 1;
}

.address-field label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
  color: #333;
}

@media (max-width: 767px) {
  .address-row {
    flex-direction: column;
    gap: 10px;
  }
  
  .input-wrap.postal-code::after {
    display: none;
  }
}

/* =====================================
 * Phase 6: Integration Testing & Performance
 * ===================================== */

/* マスコットのエラー・成功アニメーション */
.mascot.error-shake {
  animation: errorShake 0.5s ease-in-out 2;
}

.mascot.success-celebration {
  animation: successCelebration 2s ease-in-out;
}

@keyframes errorShake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
  20%, 40%, 60%, 80% { transform: translateX(5px); }
}

@keyframes successCelebration {
  0%, 100% { transform: scale(1) rotate(0deg); }
  10% { transform: scale(1.1) rotate(-5deg); }
  20% { transform: scale(1.05) rotate(5deg); }
  30% { transform: scale(1.1) rotate(-3deg); }
  40% { transform: scale(1.05) rotate(3deg); }
  50% { transform: scale(1.08) rotate(0deg); }
  60% { transform: scale(1.05) rotate(-2deg); }
  70% { transform: scale(1.02) rotate(2deg); }
  80% { transform: scale(1.01) rotate(0deg); }
}

/* アクセシビリティ向上 */
.radio-option-visual[tabindex="0"]:focus {
  outline: 2px solid #4886BC;
  outline-offset: 2px;
}

/* システム統合テスト用のインジケーター（デバッグ用） */
body[data-debug="1"]::before {
  content: "Debug Mode: LibCareer System Active";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #28a745;
  color: white;
  text-align: center;
  padding: 5px;
  z-index: 10000;
  font-size: 12px;
  font-weight: bold;
}

/* パフォーマンス最適化: レイジーローディング対応 */
.mascot__image[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.mascot__image[loading="lazy"].loaded {
  opacity: 1;
}

/* メディアクエリ統合 - モバイル最適化 */
@media (max-width: 480px) {
  .radio-option-visual {
    padding: 10px;
    min-width: 100px;
  }
  
  .radio-icon, .gender-icon {
    font-size: 40px !important;
    width: 40px !important;
    height: 40px !important;
  }
  
  .radio-text {
    font-size: 12px !important;
  }
}

/* =====================================
 * Thanks Page: Complete.php Integration
 * ===================================== */

/* 完了ページコンテナ */
.complete-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

/* 完了メッセージセクション */
.complete-simple-section {
  margin: 40px 0;
  padding: 30px 20px;
  text-align: center;
}

.complete-simple-message {
  margin-bottom: 30px;
}

.complete-simple-user {
  font-size: 24px;
  font-weight: 700;
  color: #4886BC;
  margin-bottom: 15px;
}

.complete-simple-main {
  font-size: 28px;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
}

.complete-simple-characters {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
}

.simple-character-image {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.complete-simple-submessage {
  margin: 20px 0;
}

.complete-simple-sub {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
}

.complete-caution {
  font-size: 14px;
  color: #e74c3c;
  font-weight: 600;
  margin: 15px 0;
}

/* LINE CTAセクション */
.complete-simple-section.line {
  background: linear-gradient(135deg, #00C300 0%, #00A500 100%);
  border-radius: 15px;
  color: white;
  box-shadow: 0 8px 25px rgba(0, 195, 0, 0.3);
}

.line-cta {
  padding: 20px;
}

.line-cta__header {
  margin-bottom: 15px;
}

.line-cta__label {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 5px;
}

.line-cta__title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
}

.line-cta__description {
  margin-bottom: 20px;
}

.line-cta__text {
  font-size: 16px;
  line-height: 1.4;
}

.line-button {
  display: inline-flex;
  align-items: center;
  background: white;
  color: #00C300;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.line-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  color: #00A500;
}

.line-button__icon {
  margin-right: 10px;
}

.line-icon {
  width: 24px;
  height: 24px;
}

/* お電話面談セクション */
.interview-simple-section {
  background: #f8f9fa;
  border-radius: 15px;
  padding: 40px 30px;
}

.interview-simple-title {
  font-size: 26px;
  font-weight: 700;
  text-align: center;
  color: #333;
  margin-bottom: 30px;
}

.interview-simple-content {
  max-width: 700px;
  margin: 0 auto;
}

.interview-simple-step {
  display: flex;
  margin-bottom: 40px;
  align-items: flex-start;
  gap: 20px;
}

.interview-simple-step__character {
  flex-shrink: 0;
}

.interview-simple-character-image {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.interview-simple-step__content {
  flex: 1;
}

.interview-simple-step__question {
  font-size: 18px;
  font-weight: 700;
  color: #4886BC;
  margin-bottom: 10px;
}

.interview-simple-step__answer {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.interview-simple-step__detail {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* サポートの流れセクション */
.support-simple-section {
  padding: 40px 30px;
}

.support-simple-title {
  font-size: 26px;
  font-weight: 700;
  text-align: center;
  color: #333;
  margin-bottom: 40px;
}

.support-simple-content {
  max-width: 700px;
  margin: 0 auto;
}

.support-simple-step {
  margin-bottom: 50px;
  padding: 30px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.support-simple-step:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
}

.support-simple-step__header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.support-simple-step__number {
  background: linear-gradient(135deg, #4886BC 0%, #3A6FA5 100%);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
}

.support-simple-step__title {
  font-size: 20px;
  font-weight: 700;
  color: #333;
}

.support-simple-step__description {
  font-size: 15px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 20px;
}

.support-simple-step__image {
  text-align: center;
}

.support-simple-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* レスポンシブ対応 */
@media (max-width: 767px) {
  .complete-container {
    padding: 15px;
  }
  
  .complete-simple-section {
    padding: 20px 15px;
    margin: 20px 0;
  }
  
  .complete-simple-user {
    font-size: 20px;
  }
  
  .complete-simple-main {
    font-size: 22px;
  }
  
  .line-cta__title {
    font-size: 26px;
  }
  
  .interview-simple-step {
    flex-direction: column;
    text-align: center;
  }
  
  .interview-simple-step__character {
    align-self: center;
  }
  
  .support-simple-step {
    padding: 20px;
    margin-bottom: 30px;
  }
  
  .support-simple-step__header {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  
  .interview-simple-title, .support-simple-title {
    font-size: 22px;
  }
}

/* =====================================
 * Design-Sample Grid System Integration
 * ===================================== */

/* Grid型ラジオオプション（design-sample準拠） */
.radio-options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin: 30px 0;
}

.radio-option-grid {
  position: relative;
  display: block;
  cursor: pointer;
  border: 2px solid #e0e0e0;
  border-radius: 15px;
  padding: 20px 15px;
  background: white;
  transition: all 0.3s ease;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.radio-option-grid:hover {
  border-color: #4886BC;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(72, 134, 188, 0.2);
}

.radio-option-grid input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* 
.radio-option-grid input[type="radio"]:checked + .radio-option-grid__content {
  color: #4886BC;
  font-weight: 600;
}
.radio-option-grid:has(input:checked) {
  border-color: #4886BC;
  background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
  box-shadow: 0 8px 25px rgba(72, 134, 188, 0.3);
} */

.radio-option-grid__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.radio-option-grid__icon {
  width: 70px;
  height: 70px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.radio-option-grid:hover .radio-option-grid__icon {
  transform: scale(1.08);
}

.radio-option-grid__text {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: #333;
  text-align: center;
}

/* 郵便番号セクション */
.section-header {
  text-align: center;
  margin: 30px 0;
}

.section-header__title {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin-bottom: 8px;
}

.section-header__subtitle {
  font-size: 14px;
  color: #666;
  font-weight: 500;
}

.postal-code-section {
  margin: 30px auto;
}

.input-group {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.input-label {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  min-width: 30px;
}

.postal-code-input {
  flex: 1;
  padding: 15px 20px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 500;
  text-align: center;
  letter-spacing: 2px;
  transition: border-color 0.3s ease;
}

.postal-code-input:focus {
  border-color: #4886BC;
  outline: none;
}

/* アコーディオン */
.accordion-trigger {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 15px;
  background: #f8f9fa;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 15px;
}
/* 
.accordion-trigger:hover {
  background: #e9ecef;
} */

.accordion-trigger__text {
  font-size: 14px;
  color: #4886BC;
  font-weight: 500;
}

.accordion-trigger__arrow {
  font-size: 12px;
  color: #4886BC;
  transition: transform 0.3s ease;
}

.accordion-trigger.active .accordion-trigger__arrow {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-content.active {
  max-height: 200px;
}

/* レスポンシブ対応 */
@media (max-width: 767px) {
  .radio-options-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .radio-option-grid {
    padding: 5px;
  }
  
  .radio-option-grid__content {
    flex-direction: column;
    text-align: left;
    gap: 15px;
  }
  
  .radio-option-grid__icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
  }
  
  .radio-option-grid__text {
    flex: 1;
    font-size: 13px;
  }
  
  .section-header__title {
    font-size: 20px;
  }
  
  .postal-code-section {
    max-width: 100%;
    padding: 0 15px;
  }
}

/* ==================================================
   Accordion Component Styles
   ================================================== */

.accordion {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin: 20px 0;
  background: white;
}

.accordion-header {
  padding: 15px 20px;
  background: #f8f9fa;
  border-bottom: 1px solid #e0e0e0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.accordion-header:hover {
  background: #f0f1f3;
}

.accordion-header.active {
  background: #e3f2fd;
  color: #1976d2;
}

.accordion-content {
  padding: 20px;
  display: none;
}

.accordion-content.active {
  display: block;
}

.accordion-toggle {
  font-size: 20px;
  transition: transform 0.3s ease;
}

.accordion-header.active .accordion-toggle {
  transform: rotate(180deg);
}

/* ==================================================
   Birth Inputs and Unit Styles
   ================================================== */

.birth-inputs {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 20px 0;
}

.birth-inputs .unit {
  font-size: 16px;
  color: #666;
  font-weight: 500;
}

.birth-inputs .select-input {
  flex: 1;
  max-width: 200px;
}

/* Prefecture City Selection */
.prefecture-city-selection {
  display: grid;
  gap: 15px;
  margin-top: 20px;
}

.prefecture-city-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

@media (max-width: 768px) {
  .prefecture-city-row {
    grid-template-columns: 1fr;
  }
}

/* ==================================================
   Steps Section (design-sample Header)
   ================================================== */

.steps {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 30px 0;
  padding: 0 20px;
}

.step-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 2px solid #ddd;
  border-radius: 50%;
  background: white;
  font-size: 14px;
  font-weight: bold;
  color: #999;
  transition: all 0.3s ease;
}

.step-item.step {
  background: transparent;
  border: none;
  font-size: 12px;
  font-weight: normal;
  width: auto;
  height: auto;
}

.step-item.time {
  background: transparent;
  border: none;
  font-size: 10px;
  font-weight: normal;
  width: auto;
  height: auto;
  line-height: 1.2;
}

.step-item.active {
  background: #007cba;
  border-color: #007cba;
  color: white;
}

.step-number {
  font-size: 16px;
  font-weight: bold;
}

@media (max-width: 768px) {
  .steps {
    gap: 8px;
    margin: 20px 0;
  }
  
  .step-item {
    width: 35px;
    height: 35px;
    font-size: 12px;
  }
  
  .step-number {
    font-size: 14px;
  }
  
  .step-item.time {
    font-size: 9px;
  }
}

/* ==================================================
   Design-Sample Override Styles (High Priority)
   ================================================== */

/* Container override for design-sample layout */
.container {
  max-width: 767px !important;
  margin: 0 auto !important;
  background-color: #fff !important;
  min-height: 100vh !important;
  position: relative !important;
}

@media (max-width: 767px) {
  .container {
    max-width: 100% !important;
  }
}

/* Header styles */
.header {
  padding: 0px 20px 0 !important;
  text-align: center !important;
}

.header__sub-catch {
  background-color: #777 !important;
  color: white !important;
  padding: 6px !important;
  font-size: 14px !important;
  border-radius: 0 !important;
  margin: 0 -20px !important;
}
@media (max-width: 767px) {
  .header__sub-catch {
    font-size: 11px !important;
  }
}

.header__sub-catch span {
  color: #cee5fa !important;
}

/* Search section */
.search-section {
  background: #357abd !important;
  padding: 8px !important;
  text-align: center !important;
  position: relative !important;
}

.search-section::after {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  bottom: -10px !important;
  transform: translateX(-50%) !important;
  width: 0 !important;
  height: 0 !important;
  border-left: 20px solid transparent !important;
  border-right: 20px solid transparent !important;
  border-top: 10px solid #357abd !important;
  z-index: 2 !important;
}

.search-section__content {
  color: white !important;
  font-size: 16px !important;
  font-weight: bold !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
}

@media (max-width: 767px) {
  .search-section__content {
    font-size: 14px !important;
    gap: 8px !important;
  }
}

.search-section__icon {
  width: 20px !important;
  height: 20px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.search-section__icon img {
  filter: brightness(0) invert(1) !important;
  width: 20px !important;
  height: 20px !important;
}

/* Steps section override - highest specificity */
.container .steps,
section.steps,
body .container .steps,
body section.steps {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 30px 20px 20px !important;
  background-color: #f8f8f8 !important;
  margin: 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
  flex-wrap: nowrap !important;
}

.container .step-item,
section.steps .step-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  padding: 0 !important;
  border-radius: 50% !important;
  width: 30px !important;
  height: 30px !important;
  justify-content: center !important;
  background-color: #ddd !important;
  color: #999 !important;
  font-size: 12px !important;
  transition: all 0.3s ease !important;
  border: none !important;
  box-sizing: border-box !important;
  flex-shrink: 0 !important;
}

.container .step-item.step, 
.container .step-item.time,
section.steps .step-item.step,
section.steps .step-item.time {
  background: none !important;
  color: #4886BC !important;
  font-weight: 600 !important;
  width: auto !important;
  padding: 0 !important;
  border-radius: 0 !important;
  height: auto !important;
}

.container .step-item.active,
section.steps .step-item.active {
  background-color: #4886BC !important;
  color: white !important;
  border-radius: 50% !important;
}

.container .step-number,
section.steps .step-number {
  font-size: 16px !important;
  font-weight: bold !important;
  line-height: 1 !important;
}

/* Form section */
.form-section {
  padding: 10px 20px 80px !important;
  text-align: center !important;
  position: relative !important;
  min-height: 65vh !important;
}
@media (max-width: 767px) {
  .form-section {
    padding: 10px 10px 60px !important;
  }
}

.question-title {
  font-size: 18px !important;
  color: #4886BC !important;
  background-color: #CFEBF9 !important;
  padding: 15px 20px !important;
  border-radius: 25px !important;
  display: inline-block !important;
  margin-bottom: 10px !important;
  font-weight: bold !important;
  width: 80% !important;
}

@media (max-width: 767px) {
  .question-title {
    width: 100% !important;
  }
}

/* Mascot positioning */
.mascot {
  z-index: 9999 !important;
  position: absolute !important;
  top: 40px !important;
  right: 12% !important;
  transition: top 0.8s cubic-bezier(0.4, 0, 0.2, 1), right 0.8s cubic-bezier(0.4, 0, 0.2, 1) !important;
  animation: mascot-move-x 1s infinite alternate ease-in-out !important;
}

.mascot__image {
  width: 60px !important;
  height: 60px !important;
  border-radius: 50% !important;
}

@media (max-width: 767px) {
  .mascot {
    right: 2% !important;
  }
}

@keyframes mascot-move-x {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(10px);
  }
}

/* Navigation buttons */
.navigation-buttons {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 20px !important;
  margin-top: 30px !important;
  padding: 20px !important;
}

.next-button {
  background: #4886BC !important;
  color: white !important;
  padding: 15px 30px !important;
  border: none !important;
  border-radius: 25px !important;
  font-size: 16px !important;
  font-weight: bold !important;
  cursor: pointer !important;
  transition: background-color 0.3s ease !important;
}

.next-button:hover {
  background: #357abd !important;
}

.back-link {
  color: #666 !important;
  text-decoration: none !important;
  font-size: 14px !important;
  padding: 10px !important;
}

.back-link:hover {
  color: #4886BC !important;
}

/* Footer styles */
.footer {
  background-color: #f8f8f8 !important;
  padding: 20px !important;
  text-align: center !important;
  margin-top: auto !important;
  border-top: 1px solid #e0e0e0 !important;
}

.footer__links {
  margin-bottom: 10px !important;
}

.footer__links a {
  color: #4886BC !important;
  text-decoration: none !important;
  margin: 0 10px !important;
  font-size: 14px !important;
}

.footer__links a:hover {
  text-decoration: underline !important;
}

.footer__copyright {
  font-size: 12px !important;
  color: #666 !important;
  line-height: 1.4 !important;
}

/* CF7 integration fixes */
.step1_form {
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
}

.step1_form .wpcf7-form {
  padding: 0 !important;
  margin: 0 !important;
}

/* Form section内のCF7フォーム調整 */
.form-section .step1_form {
  position: relative !important;
  z-index: 1 !important;
}

/* ==================================================
   Page-LP (Index) Design-Sample Styles
   ================================================== */

/* step00 specific styles */
.step00 .form-section {
  min-height: 0 !important;
}

.step00 .radio-options {
  margin-bottom: 0px !important;
}

.step00 .index__space {
  height: 55vw !important;
  background: rgba(0, 0, 0, 0.3) !important;
  display: block !important;
}

/* Main visual */
.main-visual {
  position: relative !important;
  overflow: hidden !important;
}

.main-visual:after {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: rgba(0, 0, 0, 0.3) !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

.main-visual__image {
  width: 100% !important;
  height: auto !important;
  object-fit: cover !important;
  display: block !important;
}

/* Radio options for index page */
.radio-options {
  display: flex !important;
  flex-direction: column !important;
  gap: 15px !important;
  margin-bottom: 40px !important;
}

.radio-option {
  cursor: pointer !important;
}

.radio-option input[type=radio] {
  display: none !important;
}

.radio-option__content {
  display: flex !important;
  align-items: center !important;
  padding: 20px !important;
  border: 2px solid #e0e0e0 !important;
  border-radius: 25px !important;
  background-color: white !important;
  transition: all 0.3s ease !important;
  position: relative !important;
}

@media (max-width: 767px) {
  .radio-option__content {
    padding: 15px !important;
  }
}

.radio-option__content:hover {
  border-color: #4886BC !important;
  background-color: #fff5f5 !important;
}

.radio-option__icon {
  width: 50px !important;
  height: 50px !important;
  margin-right: 15px !important;
  border-radius: 50% !important;
  flex-shrink: 0 !important;
}

@media (max-width: 767px) {
  .radio-option__icon {
    width: 40px !important;
    height: 40px !important;
    margin-right: 10px !important;
  }
}

.radio-option__text {
  font-size: 16px !important;
  color: #333 !important;
  line-height: 1.3 !important;
  font-weight: 500 !important;
  flex: 1 !important;
}

@media (max-width: 767px) {
  .radio-option__text {
    font-size: 14px !important;
  }
}

.radio-option__arrow {
  color: #4886BC !important;
  font-size: 18px !important;
  margin-left: 10px !important;
}

input[type=radio]:checked + .radio-option__content {
  border-color: #4886BC !important;
  background-color: #CFEBF9 !important;
}

input[type=radio]:checked + .radio-option__content .radio-option__text {
  color: #4886BC !important;
  font-weight: bold !important;
}

/* Mascot animation for step00 */
.step00 .mascot {
  top: 100px !important;
  right: -3% !important;
  animation: mascot-move-radio 3s infinite ease-in-out !important;
}

@media (max-width: 767px) {
  .step00 .mascot {
    right: 2% !important;
  }
}

/* Mascot moved to button state - highest priority */
.container .mascot.moved-to-button,
.step00 .mascot.moved-to-button,
body .mascot.moved-to-button {
  animation: none !important;
  transform: none !important;
  z-index: 10000 !important;
}

/* Mascot moved to second title state - highest priority */
.container .mascot.moved-to-second-title,
.step00 .mascot.moved-to-second-title,
body .mascot.moved-to-second-title {
  animation: none !important;
  transform: none !important;
  z-index: 10000 !important;
}

/* Additional override for move states */
[style*="top"][style*="right"].mascot {
  position: absolute !important;
}

@keyframes mascot-move-radio {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(var(--mascot-move-distance, 80px));
  }
  100% {
    transform: translateY(0px);
  }
}

/* WP Content integration */
.wp-content {
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* CF7 form integration for LP page */
.step00 .lp_form {
  padding: 0 !important;
  margin: 0 !important;
}

.step00 .lp_form .wpcf7-form {
  padding: 0 !important;
  margin: 0 !important;
}

/* Hide WP default elements on LP page */
.step00 .wp-block-group {
  margin: 0 !important;
  padding: 0 !important;
}

.step00 .wp-block-spacer {
  display: none !important;
}

/* Ensure mascot animation works with radio options */
.step00 .swell-block-button {
  margin: 0 !important;
}

.step00 .swell-block-button .c-btnWrap {
  margin: 0 !important;
}

/* Override any conflicting WP styles */
body.step00 {
  background-color: #F5F9FF !important;
}

/* ==================================================
   Fix Duplicate Elements and Design Issues
   ================================================== */

/* Hide duplicate FV image in WP content */
.step00 .wp-content .wp-block-image {
  display: none !important;
}

/* Hide duplicate question title in WP content */
.step00 .wp-content .wp-block-heading {
  display: none !important;
}

/* Hide duplicate mascot in WP content */
.step00 .wp-content .mascot {
  display: none !important;
}

/* Hide pointing hand in WP content */
.step00 .wp-content .pointing-hand {
  display: none !important;
}

/* Hide subtitle with subheader.svg */
.subtitle {
  display: none !important;
}

/* Transform swell-block-button to design-sample radio-option style */
.step00 .swell-block-button {
  display: block !important;
  margin: 0 0 15px 0 !important;
  border: none !important;
  background: none !important;
  padding: 0 !important;
}

.step00 .swell-block-button .swell-block-button__link {
  display: flex !important;
  align-items: center !important;
  padding: 20px !important;
  border: 2px solid #e0e0e0 !important;
  border-radius: 25px !important;
  background-color: white !important;
  transition: all 0.3s ease !important;
  position: relative !important;
  text-decoration: none !important;
  color: #333 !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
  min-height: 70px !important;
}

@media (max-width: 767px) {
  .step00 .swell-block-button .swell-block-button__link {
    padding: 15px !important;
    font-size: 14px !important;
  }
}

.step00 .swell-block-button .swell-block-button__link:hover {
  border-color: #4886BC !important;
  background-color: #fff5f5 !important;
}

.step00 .swell-block-button .swell-block-button__link:before {
  content: "" !important;
  width: 50px !important;
  height: 50px !important;
  margin-right: 15px !important;
  border-radius: 50% !important;
  flex-shrink: 0 !important;
  background-size: cover !important;
  background-position: center !important;
}

@media (max-width: 767px) {
  .step00 .swell-block-button .swell-block-button__link:before {
    width: 40px !important;
    height: 40px !important;
    margin-right: 10px !important;
  }
}

/* Add icons for each button */
.step00 .swell-block-button.btn1 .swell-block-button__link:before {
  background-image: url('/01/wp-content/themes/swell_child/images/step00-1.png') !important;
}

.step00 .swell-block-button.btn2 .swell-block-button__link:before {
  background-image: url('/01/wp-content/themes/swell_child/images/step00-2.png') !important;
}

.step00 .swell-block-button span {
  flex: 1 !important;
  text-align: left;
  font-weight: bold;
}

.step00 .swell-block-button .__icon {
  color: #4886BC !important;
  font-size: 18px !important;
  margin-left: 10px !important;
}

/* Clicked state */
.step00 .swell-block-button:active .swell-block-button__link,
.step00 .swell-block-button.clicked .swell-block-button__link {
  border-color: #4886BC !important;
  background-color: #CFEBF9 !important;
}

.step00 .swell-block-button:active span,
.step00 .swell-block-button.clicked span {
  color: #4886BC !important;
  font-weight: bold !important;
}

/* ==================================================
   Hide SWELL Default Header and Footer Globally
   ================================================== */

/* Hide SWELL Header - More comprehensive */
#header,
#header.l-header,
.l-header,
header.l-header {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
}

.l-header__bar,
.l-header__inner,
.l-header__logo,
.l-header__gnav,
.w-header,
.l-header__customBtn,
.l-header__menuBtn,
.c-headLogo,
.c-gnavWrap,
.c-gnav {
  display: none !important;
  visibility: hidden !important;
}

/* Ensure it's hidden on all our pages */
body .l-header,
body #header {
  display: none !important;
}

/* Hide SWELL Footer */
.l-footer {
  display: none !important;
}

.l-footer__inner,
.l-footer__foot,
.l-footer__nav,
.copyright {
  display: none !important;
}

/* Hide breadcrumb */
.c-breadcrumb {
  display: none !important;
}

/* Hide page title section */
.p-pageHead {
  display: none !important;
}

/* Hide sidebar */
.l-sidebar {
  display: none !important;
}

/* Adjust main content to full width */
.l-mainContent {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.l-mainContent__inner {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Hide any other SWELL elements that might interfere */
.swell-block-fullWide {
  margin: 0 !important;
  padding: 0 !important;
}

/* Ensure body has no default margins/paddings from SWELL */
body {
  margin: 0 !important;
  padding: 0 !important;
  padding-top: 0 !important;
}

/* Remove any top spacing that SWELL might add */
html {
  margin: 0 !important;
  padding: 0 !important;
}

/* Ensure main content starts from top */
#main_content,
.l-mainContent {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* Hide SWELL's default container wrapper but preserve our design-sample containers */
body .l-container:not(.container) {
  margin: 0 !important;
  padding: 0 !important;
  max-width: none !important;
}

/* Ensure our design-sample .container is not affected */
.container {
  max-width: 767px !important;
  margin: 0 auto !important;
  background-color: #fff !important;
  min-height: 100vh !important;
  position: relative !important;
}

/* ===============================
   Step3 Accordion & Info-box Styles
=============================== */

.accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  color: #4886BC;
  font-size: 14px;
  margin-bottom: 15px;
  transition: color 0.3s ease;
  background: none;
  border: none;
}

.accordion-trigger:hover {
  color: #e66666;
}

.accordion-trigger__arrow {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.accordion-trigger.active .accordion-trigger__arrow {
  transform: rotate(180deg);
}

.accordion-trigger__text {
  border-bottom: 1px solid #4886BC;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.accordion-content.active {
  max-height: 200px;
  transition: max-height 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.info-box {
  border: 1px solid #4886BC;
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 30px;
}

.info-box__content {
  display: flex;
  align-items: center;
  gap: 0px;
}

.info-box__text {
  flex: 1;
  font-size: 14px;
  color: #333;
  line-height: 1.5;
  font-weight: 500;
  text-align: left;
}

.info-box__character {
  flex-shrink: 0;
}

.info-box__character-image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
}

@media (max-width: 767px) {
  .info-box__character-image {
    width: 60px;
    height: 60px;
  }
}

.section-header {
  margin-bottom: 20px;
}

.section-header__title {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin-bottom: 5px;
}

.section-header__subtitle {
  font-size: 12px;
  color: #666;
}

/* Override SWELL's article styling */
.l-article {
  margin: 0 !important;
  padding: 0 !important;
}

/* Hide SWELL specific elements that might show up */
.c-catchphrase,
.c-headLogo,
.c-gnavWrap,
.c-gnav,
.c-iconBtn,
.w-header__inner,
.widget_text {
  display: none !important;
}

/* Hide mobile menu button */
.c-iconBtn.-menuBtn {
  display: none !important;
}

/* Make sure our design-sample elements are visible */
.container .header,
.container .footer,
.container .main-visual,
.container .form-section {
  display: block !important;
  position: relative !important;
}

/* Steps needs flex, not block */
.container .steps {
  display: flex !important;
  position: relative !important;
}

/* Specific targeting for pages with our custom templates */
body.page-id-389 .l-header,  /* page-lp01 specific if needed */
body.step00 .l-header,
body.step1 .l-header,
body.step2 .l-header,
body.step3 .l-header,
body.step4 .l-header,
body.step5 .l-header {
  display: none !important;
}

/* Hide WordPress content for step2-5 to prevent duplication */
body.step2 .wp-content,
body.step3 .wp-content,
body.step4 .wp-content,
body.step5 .wp-content {
  display: none !important;
}

/* Show only our custom design-sample structure for step2-5 */
body.step2 .container > .header,
body.step2 .container > .search-section,
body.step2 .container > .steps,
body.step2 .container > .form-section,
body.step2 .container > .footer,
body.step3 .container > .header,
body.step3 .container > .search-section,
body.step3 .container > .steps,
body.step3 .container > .form-section,
body.step3 .container > .footer,
body.step4 .container > .header,
body.step4 .container > .search-section,
body.step4 .container > .steps,
body.step4 .container > .form-section,
body.step4 .container > .footer,
body.step5 .container > .header,
body.step5 .container > .search-section,
body.step5 .container > .steps,
body.step5 .container > .form-section,
body.step5 .container > .footer {
  display: block !important;
}

/* Ensure steps use flex layout for step2-5 */
body.step2 .container > .steps,
body.step3 .container > .steps,
body.step4 .container > .steps,
body.step5 .container > .steps {
  display: flex !important;
}




.next-button:disabled{
	background-color: #ccc!important;
    color: #666!important;
	cursor: not-allowed!important;
}
.next-button:disabled:hover{
	background-color: #ccc!important;
}

.post_content .btn-prev input{
    border: none!important;
    font-weight: 400!important;
    font-size: 13px!important;
    color: #777!important;
    text-decoration: underline!important;
}
.post_content .btn-prev svg{
	display: none!important;
}

.btn-container {
    display: flex;
    justify-content: center;
	align-items: center;
    gap: 1rem;
  }


  .wpcf7-spinner, .wpcf7-response-output{
	width: 0!important;
	margin: 0!important;
	opacity: 0!important;
	visibility: hidden!important;
  }

  .postal-code-section .wpcf7-form-control-wrap{
	width: 100%!important;
  }

  .postal-code-section .postal-code-input{
	width: 100%!important;
	text-align: left!important;
  }

  .accordion-content label{
	font-size: 14px!important;
    width: 80px!important;
    text-align: left!important;
  }

  .accordion-content input{
	width: 100%!important;
  }


  .post_content .btn-submit svg{
	display: none!important;
  }


  .section-header__title {
    font-size: 18px !important;
    color: #4886BC !important;
    background-color: #CFEBF9 !important;
    padding: 15px 20px !important;
    border-radius: 25px !important;
    display: inline-block !important;
    margin-bottom: 10px !important;
    font-weight: bold !important;
    width: 80% !important;
}

.container.step4-container .wpcf7-form-control-wrap{
	width: 100%!important;
}
.container.step4-container .wpcf7-form-control-wrap input,
.container.step4-container .wpcf7-form-control-wrap select{
	width: 100%!important;
	max-width: none!important;
}

.section-header{
	margin-top: 0!important;
}

.container.step5-container .wpcf7-form-control-wrap{
	width: 100%!important;
}
.container.step5-container .wpcf7-form-control-wrap input,
.container.step5-container .wpcf7-form-control-wrap select{
	width: 100%!important;
	max-width: none!important;
}

.container.step5-container .btn-submit{
	width: 100%!important;
}

.container.step5-container .wpcf7-submit{
	padding: 20px 40px!important;
	font-size: 20px!important;
	min-width: 200px!important;
	max-width: 700px!important;
	width: 100%!important;
}

