/*
Theme Name: Inspiro Child
Template: inspiro
*/


/* =============================
   介護保険・障害福祉サービス
============================= */
.kaigo-hoken-title-sub {
 display: flex; 
 gap: 5px; 
 padding: 0; 
 margin: 0; 
 }
.kaigo-hoken-title-sub li {
  border:2px #00854E solid; 
  border-radius: 4px; 
  padding:4px 10px 7px; 
  list-style: none!important; 
  color:#00854E; 
  font-size:16px; 
  font-weight:600; 
  line-height:100%;
  }
.service-contents dd {
  margin:0 0 0 2rem;
}
/* PDFボタン */
.service-contents-pdf {
  position: relative; 
  padding-left: 26px;
}
.service-contents-pdf::before {
  content: ""; 
  position: absolute; 
  left: 0; 
  top: 50%; 
  transform: translateY(-50%); 
  width: 0; height: 0; 
  border-left: 16px solid #f5c400; 
  border-top: 9px solid transparent; 
  border-bottom: 9px solid transparent;
}
@media (min-width: 769px) {
 .service-contents-pdf::before {
  top: 30%; 
 }
}
.service-contents-pdf-dl a {
  text-align:left;
}
/* テーブル部分 */
.service-table {
  border-collapse: separate; 
  border-spacing: 5px;
}
.service-table th,.service-table td {
  background: #fff; 
  padding:20px!important;
}
.service-table th {
  white-space: nowrap;
}
@media (max-width: 768px) {
  .service-table {
    display: table;
	  width: max-content;
  }
  .service-table tbody {
    display: table-row-group;
  }
  .service-table tr {
    display: table-row;
	  border:none!important;
  }
  .service-table th,
  .service-table td {
    display: table-cell;
  }
	.service-table th {
    white-space: normal;
	  width: 135px;
  }
}
@media (max-width: 768px) {
  .service-table {
	  width: 100%;
  }
  .service-table tbody {
	  font-size:0.9rem;
	  line-height:1.4rem;
  }
  .service-table th,
  .service-table td {
	  padding:1.2rem!important;
  }
	.service-table th {
	  font-size:1rem;
  }
}
@media (max-width: 500px) {
  .service-table {
		width: 430px;
  }
  .table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* =============================
   自費支援サービス
============================= */
.orange-curve {
  position: relative;
  overflow: hidden;
}
.orange-curve::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 200%;
  background: #FFE69A;
  border-radius: 50%;
  z-index: 0;
}
.orange-curve .orange-curve-inner {
  position: relative;
  z-index: 1;
	width:920px;
	margin:0 auto;
	padding:120px 0 20px;
}
.orange-bg-inner {width:920px!important; margin:0 auto;}
.orange-curve::after {/* PC */
  height: 1600px;
  bottom: -1400px;
}
@media (max-width: 768px) {/* SP */
  .orange-curve::after {
    height: 400px;
    bottom: -200px;
  }
 .orange-curve .orange-curve-inner {
   padding:80px 4% 20px;
  }
 .orange-bg-inner {
  width:100%!important; 
  padding:0 7%;
  }
 .jihishien-price {
  width:100%!important;
  }
}
.jihishien-price {
  width:500px!important; 
  margin:0 auto;
  }
.original-service-dokuritsugata {
  display: flex;
  align-items: flex-start;
  gap: 20px;
	width:640px;
	margin:0 auto;
}
.original-service-dokuritsugata-img {
  flex: 0 0 25px;
}
.original-service-dokuritsugata-text {
	text-align: center;
	font-size:1.1rem;
	font-weight:500;
}
@media (max-width: 768px) {/* SP */
.original-service-dokuritsugata {
  gap: 0px;
	width:100%;
 }
}

/* モーダル全体 */
.modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease;
}
/* 表示時 */
.modal.active {
  opacity: 1;
  visibility: visible;
}
.modal.active .modal-content {
  transform: translateY(0) scale(1);
}
/* 背景暗く */
.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
}
/* 中身 */
.modal-content-wrap {
  position: relative;
  max-width: 700px;
  margin: 10vh auto;
}
.modal-content {
  position: relative;
  width: 90%;
  max-height: 75vh;/* ←高さ制限 */
  display: flex;
  overflow: hidden;
  flex-direction: column;
  margin: 0 auto;
  background: #fff;
  border-radius: 20px;
  transform: translateY(20px) scale(0.98);
  transition: all 0.6s ease;
}
/* スクロール部分 */
.modal-body {
  overflow-y: auto;
  flex: 1;
}
.modal-body::-webkit-scrollbar {
  width: 8px;
}
.modal-body::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}
.modal-body::-webkit-scrollbar-thumb {
  background: #e8ded3;
  border-radius: 10px;
}
.modal-body::-webkit-scrollbar-thumb:hover {
  background: #FF9000;
}
/* 閉じるボタン */
.modal-close {
  position: absolute;
  top: -3rem;
  right: 1rem;
  z-index: 30;
  background: none;
  border: none;
  color:#fff;
  font-size: 1.5rem;
  padding:10px;
  cursor: pointer;
}
.modal-close:hover,
.modal-close:active {
  color: #fff;
}
.modal-footer {
  text-align: center;
}
.modal-close-btn {
  background: #3AAF45;
  color: #fff;
  border:2px #3AAF45 solid;
  padding: 10px 50px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight:bold;
}
.modal-close-btn:hover {
  background: #fff;
  color: #3AAF45;
  border:2px #3AAF45 solid;
}
.modal-body-inner {
  padding:60px;
}
@media (max-width: 768px) {/* pad */
 .modal-body-inner {
	 padding:40px 5%!important;
	}
}
@media (max-width: 500px) {/* SP */
 .modal-body-inner {
	 padding:40px 5%!important;
	}
 .modal-close {
    right: 0!important;
  }
}
.modal-content h2 {
  background:#FFE69A;
  color: #616161;
  padding:50px 0 30px!important;
  margin:0;
  font-size: 1.5rem;
  text-align:center;
}
.modal-content h3 {
  color:#FF9000;
  font-size: 1.4rem;
  margin-top:50px;
}
.modal-table th,.modal-table td {
  border:1px #c6b39e solid; 
  padding:10px!important;
  }
.modal-table th {
  background:#e8ded3;
  }
/* モーダル内は通常テーブルに戻す */
.modal-table {
  display: table;
  width: 100%;
  border-collapse: collapse;
}
.modal-table thead {
  display: table-header-group;
}
.modal-table tbody {
  display: table-row-group;
}
.modal-table tr {
  display: table-row;
}
.modal-table th,
.modal-table td {
  display: table-cell;
  font-size:1rem;
}
.modal-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.modal-table {
  min-width: 500px; /* 好きな幅 */
}

/* =============================
   ヘッダー全体
============================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;
  background: rgba(255, 144, 0, 0.9); 
  z-index: 9999;
}
.header-inner {
  max-width: 960px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
	padding:0 20px;
}
/* ロゴ */
.logo img {
  height: 60px;
}
/* PCナビ */
.global-nav .menu {
  display: flex;
  list-style: none;
  gap: 0;
  margin-top: 22px;
}
.global-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size:0.9rem;
  line-height:120%;
  position: relative;
}
.global-nav .menu > li {
  height: 90px;
  display: flex;
}
.global-nav .menu > li > a {
  display: flex;
  align-items: center;
  padding: 0 15px;
  color: #fff;
  height: 100%;
  transition: 0.3s;
}
.sp-info {
  display: none;
}
/* ホバー時 */
.global-nav .menu > li:hover > a {
  background: #FFF9EC;
  color: #FF9000; 
}
/* サブメニュー */
.has-sub {
  position: relative;
}
.sub-menu {
  position: absolute;
  top: 100%;
  left: -25px;
  background: rgba(255, 144, 0, 0.95);
  list-style: none;
  padding: 0;
  min-width: 340px;
  display: none;
}
.sub-menu li {
  padding: 1px;
}
.has-sub:hover .sub-menu {
  display: block;
}
.sub-menu li a {
  position: relative;
  display: block;
  padding: 10px 35px 10px 20px;
  color: #fff;
  transition: 0.3s;
}
.sub-menu li a::after {
  content: "⇀";
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  transition: 0.3s;
}
.sub-menu li a:hover {
  background: #fff;
  color: #FF9000;
}
/* =============================
   スマホ
============================= */
/* ハンバーガー */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
}
.hamburger span {
  width: 28px;
  height: 3px;
  background: #fff;
  display: block;
  transition: 0.3s;
}
.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}
/* 表示 */
@media (max-width: 768px) {
	.header-inner {
		padding:0 0 0 5%;
	}
	.hamburger {
    display: flex;
  }
  .global-nav {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    position: fixed;
    top: 90px;
    right: -70%;
    width:70%;
    max-width: 330px;
    height: calc(100vh - 90px);
    background: rgba(255, 144, 0, 0.95);
    transition: 0.3s;
  }
  .global-nav.active {
    right: 0;
  }
  .global-nav .menu {
		display: block;
    flex-direction: column;
		margin:0;
		padding:1rem;
  }
  .global-nav .menu > li {
	 display: block;
   height: auto;
	 padding:0;
	 border-bottom:1px #ffa838 solid;
   font-size:1.2rem;
  }
  .global-nav .menu > li > a {
    display: block;
    padding: 0.8rem 0.2rem;
    width: 100%;
  }
  .sub-menu {
    display: block;
    position: static; 
    min-width: auto;
    background: none;
	}
	ul.sub-menu {
    margin-left:0.8rem;
	}
	.sub-menu li a {
		padding:0.3rem  1.8rem 1rem 0;
		display: block;
		font-size:1rem;
	}
  .sub-menu li a::after {
    font-size:0.8rem;
  }	
  .global-nav .menu > li:hover > a,.sub-menu > li:hover > a {
    background: none;
    color: #fff;
  }
  .sub-menu li a::after {
   top: 40%;
  }
  .sp-info {
    display: block;
    margin: 0 1.3rem 1rem;
    padding:1.2rem 1.5rem;
    background: #fff;
    border-radius: 10px;
    color: #333;
    font-size: 1rem;
    line-height: 1.4;
		color:#616161;
  }
  .sp-info01 {
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #ffe4c0;
  }
  .sp-info02 {
    padding-top: 0.5rem;
  }
  .sp-info p {
    margin: 0 0 0.7rem;
  }
  .sp-info p:first-child {
    font-weight: 600;
		font-size:1.1rem;
  }
	.sp-info p a {
		color:#616161;
  }
}

/* =============================
   入力フォーム（旧・不要）
============================= */
.text-danger {
	color:#FF9000;
}
.wpcf7 {
	width:700px;
	margin:0 auto 1rem;
}
.wpcf7 th{
	padding:1rem 0 0!important;
}
.wpcf7 td {
	padding:1rem 0 0!important;
}
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
  border:1px #e8ded3 solid;
  outline: none;
}
.kakunin-text {
	border-bottom:2px #FF9000 dotted;
	color:#FF9000;
	font-weight:500;
	font-size:1.3rem;
}
.wpcf7 input[type="checkbox"] {
  transform: scale(1.8);
  margin-right: 8px;
}
@media (max-width: 768px) {
 .wpcf7 {
	 width:100%;
 }
 .wpcf7 input[type="email"] {
  width: 100% !important;
  max-width: 100%;
  box-sizing: border-box;
 }
 .wpcf7 th{
	padding:1rem 0 0!important;
	font-size:1.1rem;
 }
 .wpcf7 td {
	padding:0!important;
 }
}
/* 送信ボタン */
.btn-submit {
  text-align: center;
  margin-top: 30px;
}
.wpcf7 input[type="submit"] {
  background-color: #3AAF45;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 24px;
  cursor: pointer;
  transition: background-color 0.3s ease;
	display: block;
  margin: 0 auto;
}
/* ホバー */
.wpcf7 input[type="submit"]:hover {
  background-color: #FF9000;
}

/* =============================
   フッターSEOリスト
============================= */
.footer-list-wrap {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 920px;
  width: 100%;
  margin: 0 auto;
}
.footer-list-logo {
  flex-shrink: 0;
}
.footer-list-logo img {
  width: 150px;
  height: auto;
  display: block;
}
.footer-list {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, max-content);
  justify-content: end;
  grid-auto-flow: column;
  grid-template-rows: repeat(4, auto);
  gap: 0 70px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-list li {
  position: relative;
  line-height:1.3rem;
  font-size:0.8rem;
}
.footer-list li a {
  color:#616161;
}
.footer-list li a:hover {
  color:#FF9000;
}
/* タブレット */
@media (max-width: 920px) {
 .footer-list-wrap {
  gap: 30px;
 }
 .footer-list {
  gap: 0 30px;
 }
}
@media (max-width: 800px) {
 .footer-list-wrap {
  gap: 20px;
 }
.footer-list {
  grid-template-columns: repeat(2, max-content);
  grid-template-rows: repeat(6, auto);
  gap: 0 20px;
	}
}
/* スマホ */
@media (max-width: 650px) {
  .footer-list-wrap {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    width:100%;
    padding:0 7%;
  }
  .footer-list-logo img {
    width: 180px;
  }
.footer-list {
  grid-template-columns: repeat(2, max-content);
  grid-template-rows: repeat(6, auto);
  gap: 0 20px;
	}
 .footer-list li {
   line-height:1.6rem;
   font-size:0.8rem; 
  }
}
/* スマホ */
@media (max-width: 500px) {
  .footer-list-wrap {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    width:100%;
    padding:0 7%;
  }
  .footer-list-logo img {
    width: 180px;
  }
  .footer-list {
    grid-template-columns: repeat(1, 1fr);
    grid-auto-flow: row;
    grid-template-rows: none;
    width: 100%;
    gap: 0.5rem;
  }
 .footer-list li {
   line-height:1rem;
   font-size:0.8rem; 
  }
 .footer-list li::before {
   top: 2px;
  }
}
.tell-link a{
	text-decoration:underline;
}
.tell-link div a{
	text-decoration:underline!important;
}

/* =============================
   入力フォーム白猿
============================= */
.form-intro {
  text-align: center;
  border: 2px solid #7f7f7f;
  border-radius: 10px;
  padding: 12px;
  margin:40px 0 40px; 
}
/* 全体幅 */
.custom-form {
  max-width: 700px;
  margin: 0 auto;
}
.snow-monkey-form .smf-progress-tracker {
  margin: 80px 0 20px;
}
/* 項目間にボーダー */
.custom-form .smf-item {
  padding: 15px 0 0;
  border-bottom: 1px solid #e8ded3;
}
/* emailだけ余白調整 */
.custom-form input[type="email"] {
  margin-bottom: 16px; 
  display: block;
}
/* プライバシーポリシー項目だけ中央揃え */
.custom-form .privacy-policy {
    flex-direction: column;
    text-align: center;
	padding-bottom:0.5rem;
  }
  .custom-form .privacy-policy .smf-item__col--label {
    width: auto;
    text-align: center;
    padding-right: 0;
  }
/* チェックボックス拡大 */
.custom-form .privacy-policy .smf-checkbox-control__control {
  width: 30px;
  height: 30px;
  vertical-align: middle;
}
.custom-form .privacy-policy .smf-checkbox-control__label {
  vertical-align: middle;
  margin-left: 6px;
	font-size:1.2rem;
}
/* ------------------------
   PC版
------------------------ */
@media (min-width: 801px) {
  .custom-form .smf-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .custom-form .smf-item__col--label {
    width: 30%;
    text-align: left;
    padding-right: 10px;
		margin-bottom:1rem;
  }
  .custom-form .smf-item__col--controls {
    width: 65%;
  }
}
/* ------------------------
   スマホ版
------------------------ */
@media (max-width: 800px) {
  .custom-form {
    width: 100%;
  }
  .custom-form .smf-item {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid #e8ded3;
  }
  .custom-form .smf-item__col--label,
  .custom-form .smf-item__col--controls {
    width: 100%;
  }
  .custom-form .privacy-policy {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .custom-form input[type="submit"] {
    width: 100%;
    max-width: 400px;
    margin: 20px auto 0 auto;
  }
}

/* 送信ボタン */
.smf-action {
  display: block;
  text-align: center;
	margin-top:2rem;
}
.smf-action .smf-button-control__control[data-action="confirm"],
.smf-action .smf-button-control__control[data-action="complete"] {
	background: #3AAF45;
	color:white;
	border-radius:10px;
	border:#3AAF45 2px solid;
	padding:0.4rem 1.6rem;
	font-size:1.2rem;
	font-weight:600;
}
.smf-action .smf-button-control__control[data-action="confirm"]:hover,
.smf-action .smf-button-control__control[data-action="complete"]:hover {
	background: white;
	color: #3AAF45;
	border: #3AAF45 2px solid;
}
.smf-action .smf-button-control__control[data-action="back"] {
	background: white;
	border-radius:10px;
	padding:0.4rem 1.6rem;
	font-size:1rem;
	margin-bottom:1em;
}


/* ------------------------
   reCAPTCHA関連
------------------------ */
.grecaptcha-badge {
  visibility: hidden;
}
.recaptcha-text{
	margin-top:3rem;
	text-align:center;
	font-size:0.9rem;
}