/*
 Theme Name:   Lightning Child
 Template:     lightning
*/


input[type=text], input[type=email], input[type=tel], input[type=url] { width: auto; }
input[type=number] { width: 50px; }


/*--------------------------------------
  基本
--------------------------------------*/

body {
    -webkit-text-size-adjust: 100%;
}
 
input,
textarea,
select {
    font-size:16px;
}

h2 {
	font-size:25px;
	color:#00437a;
	font-weight:bolder;
	margin-top:50px;
}

h3 {
	color:#00437a;
	font-size:23px;
	font-weight:bolder;
	margin-top:50px;
	margin-left:5px;
}

h4,h5 {
	color:#00437a;
	font-size:19px;
	font-weight:bolder;
	margin-left:7px;
}

h6 {
	color:#00437a;
	font-size:18px;
	font-weight:bolder;
	margin-left:10px;
}

p {
	margin-left:10px;
}


h3.childPage_list_title{
	color:#00437a;	
}


figcaption{
	
	font-size:12px;
	text-align:center;
	
}

/*----------------------------------------*/
/*         コピーライト削除               */
/*----------------------------------------*/
footer .copySection p:nth-child(2) {
	display:none !important;
}

/*----------------------------------------*/
/*    トップスライドショー文字サイズ調整  */
/*----------------------------------------*/
/* デバイズブラウザ幅が480px以下 */
@media (max-device-width:480px) {
	.slide-text-title{
		font-size:9vw
	}
	.slide-text-caption{
		font-size:4.5vw
	}
	.slide .btn-ghost{
		font-size:4.5vw
	}
}

/*--------------------------------------
  フォーム
--------------------------------------*/

input[type=checkbox],input[type=radio]
{
    width: 15px;
    height: 15px;
    vertical-align: middle;
}

@media (max-device-width:480px) {
	input[type=checkbox],input[type=radio]
	{
	    width: 25px;
	    height: 25px;
	    vertical-align: middle;
	}
	
}


.form-cmt{
	color:#707070;
	font-size:12px;
}


/*--------------------------------------
  フォーム用テーブル
--------------------------------------*/

table.ftbl {
  width: 95%; 
  margin-left: auto;
  margin-right: auto;
}

table.ftbl th {
  padding: 10px;
  border: 1px solid #ccc;
  background: #eee;
  text-align: left;
}

@media (max-device-width:480px) {
  table.ftbl {
  }
    table.ftbl th{
    display: block;
  }
  table.ftbl td{
    display: block;
    padding: 10px;
  }
}

/*--------------------------------------
  マーカー風アンダーライン（赤・青・黄）
--------------------------------------*/
.under_r {
  background: linear-gradient(transparent 70%, #ffcccc 70%);
  }
.under_b {
  background: linear-gradient(transparent 70%, #99ccff 70%);
  }

.under_y {
  background: linear-gradient(transparent 70%, #ffff66 70%);
  }

.under_g {
  background: linear-gradient(transparent 70%, #66ffcc 70%);
  }


/*--------------------------------------
  ダウンロード用BOX
--------------------------------------*/
.box_d {
    position: relative;
    margin: 1em 1em;
    padding: 1.5em 1em 1em 1em;
    border: solid 3px #cccccc;
    border-radius: 8px;
}
.box_d .box_d-title {
    position: absolute;
    display: inline-block;
    top: -13px;
    left: 10px;
    padding: 0 9px;
    line-height: 1;
    font-size: 19px;
    background: #FFF;
    color: #cccccc;
    font-weight: bold;
}
.box_d p {
    margin: 0; 
    padding: 0;
}



/*--------------------------------------
  フローチャート
--------------------------------------*/

ul.flow_list{
	list-style: none;
    padding: 0px 20px;
	margin: 0;
	width:90%;
}
ul.flow_list li{
	border: 5px solid #ccc;
    border-radius: 10px;
    margin-bottom: 35px;
    padding: 4px 10px;
    position: relative;
}
ul.flow_list li::after{bottom: -34px;
    color:#ccc;
    content: "▼";
    font-size: 24px !important;
    left: 48%;
    position: absolute;}
ul.flow_list li.last::after{/*最後の▼を外す*/
    content: "";
}
ul.flow_list li h3::first-letter{/*1文字めを大きく*/
    font-family: garamond,times;
    font-size: 2rem;
    font-style: italic;
    letter-spacing: 0.15em;
}

/*----------------------------------------*/
/*     紙風　シャドウ                     */
/*----------------------------------------*/
.box {
    width:95%;
    height:auto;
	background:#fafafa;
    margin:40px auto;
	padding:20px;
	font-size:80%;
	border: 1px solid #c0c0c0;
}

.effect4
{
  position: relative;
}
.effect4:after
{
  z-index: -1;
  position: absolute;
  content: "";
  bottom: 15px;
  right: 10px;
  left: auto;
  width: 50%;
  top: 80%;
  max-width:300px;
  background: #777;
  -webkit-box-shadow: 0 15px 10px #777;
  -moz-box-shadow: 0 15px 10px #777;
  box-shadow: 0 15px 10px #777;
  -webkit-transform: rotate(3deg);
  -moz-transform: rotate(3deg);
  -o-transform: rotate(3deg);
  -ms-transform: rotate(3deg);
  transform: rotate(3deg);
}

.txt_r {
	text-align:right;
}

.txt_c {
	text-align:center;
}



/*----------------------------------------*/
/*               Q&A                      */
/*----------------------------------------*/
/*
.childPage_list_box {
	height:250px;
}

.childPage_list_box_inner{
	height:250px;
}

.childPage_list_body{
	height:120px;
}

.childPage_list_text{
	height:120px;
}

.childPage_list_more btn btn-primary btn-xs{
	margin-top:120px;
}
*/


/*----------------------------------------*/
/*            popup                       */
/*----------------------------------------*/

input#modal {
        display: none;
}
input#modal + label {
        width: 100%;
        height: 120%;
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 2147483646;
        background: rgba(0, 0, 0, 0.5);
        cursor: pointer;
}
input#modal + label div {
        position: fixed;
        width: 500px; /*画像の横幅*/
        top: 50%;
        left: 50%;
        margin: -335px 0 0 -250px; /*画像の高さと幅の半分 marginをマイナス */
        background: none;
        border: none;
}
input#modal + label div::before {
        content: "× Close";
        position: absolute;
        bottom: -25%;
        right: 50%;
        margin: 0 -60px 0 0;
        font-size: 3em;
        font-weight: bold;
        color: #ffffff;
}
input#modal:checked + label {
        display: none;
}

table.tbl-smpl th td{
	border: none;
	border-collapse:collapse;
}

.cat-item.cat-item-XX{display:none;}

a.btn btn-ghost{
	color:red;
	background-color:yellowgreen;

}





/* 251228追加ヘッダーフッター等新デザイン反映 */
body { font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif !important; overflow-x: unset; }
@media (min-width: 1200px) {
	.container, .container-lg, .container-md, .container-sm, .container-xl {
		max-width: 1140px !important;
	}
}
#vk-mobile-nav-menu-btn { display: none; }
	
/* ===============================
   Header (Tailwind→手書き再現)
   影響範囲: .ml-header 配下のみ
================================ */

.ml-header{
  position: sticky; /* sticky top-0 */
  top: 0;
  z-index: 50;
  background: #fff; /* bg-white */
  /* shadow-sm */
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}

/* max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 h-16 lg:h-20 flex items-center justify-between */
.ml-header__inner{
  max-width: 80rem; /* 7xl = 1280px */
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;  /* px-4 */
  padding-right: 1rem;
  height: 4rem; /* h-16 */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* sm:px-6 */
@media (min-width: 640px){
  .ml-header__inner{
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}
/* lg:px-8 + lg:h-20 */
@media (min-width: 1024px){
  .ml-header__inner{
    padding-left: 2rem;
    padding-right: 2rem;
    height: 5rem; /* h-20 */
  }
}

/* Logo */
.ml-header__logo{ flex-shrink: 0; }
.ml-header__logoImg{
  height: 1.5rem; /* h-6 */
  width: auto;
  display: block;
}
@media (min-width: 1024px){
  .ml-header__logoImg{ height: 2rem; } /* lg:h-8 */
}

/* Nav PC: hidden lg:flex items-center text-base font-medium */
.ml-header__nav{
  display: none;
  align-items: center;
  font-size: 1rem; /* text-base */
  font-weight: 500; /* font-medium */
  line-height: 1.25rem;
}
@media (min-width: 1024px){
  .ml-header__nav{ display: flex; }
}

/* Links: text-gray-600 hover:text-tw-blue mr-6 */
.ml-header__link{
  color: #4b5563; /* gray-600 */
  text-decoration: none;
  margin-right: 1.5rem; /* mr-6 */
}
.ml-header__link:hover{
  color: #1e4b8f; /* tw-blue相当：ここは実際のブランド色に合わせて調整 */
  text-decoration: none;
}

/* Buttons */
.ml-header__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700; /* font-bold */
  line-height: 1;
  white-space: nowrap;
}

/* ログイン: text-sm bg-white text-tw-blue border border-tw-blue px-2 py-1 rounded-lg hover:bg-blue-50 transition shadow-sm */
.ml-header__btn--ghost{
  font-size: 0.875rem; /* text-sm */
  line-height: 1.25rem;
  background: #fff;
  color: #1e4b8f; /* tw-blue相当 */
  border: 1px solid #1e4b8f;
  padding: 0.25rem 0.5rem; /* px-2 py-1 */
  border-radius: 0.5rem; /* rounded-lg */
  box-shadow: 0 1px 2px rgba(0,0,0,0.06); /* shadow-sm */
  transition: background-color .2s ease, opacity .2s ease, transform .2s ease;
  margin-right: 1rem; /* mr-4 */
}
.ml-header__btn--ghost:hover{
  background: #eff6ff; /* blue-50 */
  text-decoration: none;
}

/* 無料登録: bg-gradient-to-r from-orange-600 to-orange-400 text-white px-6 py-2 rounded-full hover:opacity-90 transition shadow-md */
.ml-header__btn--cta{
  color: #fff;
  padding: 0.5rem 1.5rem; /* px-6 py-2 */
  border-radius: 9999px; /* rounded-full */
  background: linear-gradient(to right, #ea580c, #fb923c); /* orange-600 -> orange-400 */
  box-shadow: 0 4px 6px rgba(0,0,0,0.10); /* shadow-md */
  transition: opacity .2s ease, transform .2s ease, box-shadow .2s ease;
  line-height: 1.25rem;
}
.ml-header__btn--cta:hover{
  opacity: .9; /* hover:opacity-90 */
  color: #fff;
  text-decoration: none;
}

/* マイページ: bg-tw-blue text-white border border-tw-blue px-6 py-3 rounded-full hover:opacity-90 transition shadow-sm */
.ml-header__btn--mypage{
  color: #fff;
  background: #1e4b8f; /* tw-blue相当 */
  border: 1px solid #1e4b8f;
  padding: 0.75rem 1.5rem; /* px-6 py-3 */
  border-radius: 9999px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.06); /* shadow-sm */
  transition: opacity .2s ease, transform .2s ease;
  margin-right: 1rem; /* mr-4（PC側の spacing 再現） */
}
.ml-header__btn--mypage:hover{
  opacity: .9;
  color: #fff;
  text-decoration: none;
}

/* SP right: lg:hidden flex items-center gap-2 */
.ml-header__sp{
  display: flex;
  align-items: center;
  gap: 0.5rem; /* gap-2 */
}
@media (min-width: 1024px){
  .ml-header__sp{ display: none; }
}

/* SP button sizes: text-xs font-bold px-4 py-2 ... */
.ml-header__btn--sp{
  font-size: 0.75rem; /* text-xs */
  line-height: 1.25rem;
  padding: 0.5rem 1rem; /* px-4 py-2 */
  box-shadow: 0 1px 2px rgba(0,0,0,0.06); /* shadow-sm */
}

/* Hamburger button: text-tw-blue focus:outline-none */
.ml-header__menuBtn{
  appearance: none;
  border: none;
  background: transparent;
  color: #1e4b8f; /* tw-blue相当 */
  padding: 0.25rem;
  cursor: pointer;
}
.ml-header__menuBtn:focus{
  outline: none; /* focus:outline-none */
}
.ml-header__menuBtn i{
  font-size: 1.5rem; /* text-2xl */
  line-height: 1;
}
/* ===============================
   Footer (Tailwind→手書き再現)
   影響範囲: .ml-footer 配下のみ
================================ */

.ml-footer{
  background: #fff; /* bg-white */
  border-top: 1px solid #e5e7eb; /* border-gray-200 */
  padding-top: 4rem; /* pt-16 */
  padding-bottom: 2rem; /* pb-8 */
}

.ml-footer__inner{
  max-width: 80rem; /* max-w-7xl */
  margin: 0 auto;
  padding: 0 1rem; /* px-4 */
}
@media (min-width: 640px){
  .ml-footer__inner{ padding: 0 1.5rem; } /* sm:px-6 */
}
@media (min-width: 1024px){
  .ml-footer__inner{ padding: 0 2rem; } /* lg:px-8 */
}

/* top: flex flex-col md:flex-row justify-between gap-10 mb-12 */
.ml-footer__top{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2.5rem; /* gap-10 */
  margin-bottom: 3rem; /* mb-12 */
}
@media (min-width: 768px){
  .ml-footer__top{ flex-direction: row; }
}

/* brand */
.ml-footer__brand{ margin-bottom: 1rem; }
.ml-footer__logo{
  height: 2rem; /* h-8 */
  margin: 0 auto 1rem; /* mb-4 mx-auto */
  display: block;
}

/* grid grid-cols-2 md:grid-cols-4 gap-8 text-gray-600 */
.ml-footer__cols{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem; /* gap-8 */
  color: #4b5563; /* gray-600 */
}
@media (min-width: 768px){
  .ml-footer__cols{ grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* title: text-sm lg:text-base font-bold text-tw-blue mb-3 */
.ml-footer__title{
  font-size: .875rem; /* text-sm */
  font-weight: 700;
  color: #1e4b8f; /* tw-blue相当 */
  margin: 0 0 .75rem; /* mb-3 */
}
@media (min-width: 1024px){
  .ml-footer__title{ font-size: 1rem; } /* lg:text-base */
}

/* list: text-xs lg:text-sm space-y-2 */
.ml-footer__list{
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: .75rem; /* text-xs */
}
@media (min-width: 1024px){
  .ml-footer__list{ font-size: .875rem; } /* lg:text-sm */
}
.ml-footer__list li { margin-bottom: 0; } /* space-y-2 */
.ml-footer__list li + li{ margin-top: .5rem; } /* space-y-2 */

.ml-footer__link{
  color: inherit;
  text-decoration: none;
}
.ml-footer__link:hover{
  color: inherit;
  text-decoration: underline; /* hover:underline */
}

/* bottom: border-t border-gray-100 pt-8 flex ... text-xs text-gray-500 */
.ml-footer__bottom{
  border-top: 1px solid #f3f4f6; /* gray-100 */
  padding-top: 2rem; /* pt-8 */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: .75rem; /* text-xs */
  color: #6b7280; /* gray-500 */
}
@media (min-width: 768px){
  .ml-footer__bottom{
    flex-direction: row;
  }
}

/* meta links: flex flex-wrap gap-4 ... justify-center */
.ml-footer__metaLinks{
  display: flex;
  flex-wrap: wrap;
  gap: 1rem; /* gap-4 */
  justify-content: center;
}
@media (min-width: 768px){
  .ml-footer__metaLinks{ justify-content: flex-start; }
}
.ml-footer__metaLink{
  color: inherit;
  text-decoration: none !important;
}
.ml-footer__metaLink:hover{
  color: inherit;
  text-decoration: underline !important; }

.ml-footer__copy{ text-align: center; }
@media (min-width: 768px){
  .ml-footer__copy{ text-align: right; }
}
.ml-footer__copyLink{
  color: inherit;
  text-decoration: none !important;
}
.ml-footer__copyLink:hover{
  color: inherit;
}

/* ===============================
   SP Menu Overlay (Tailwind→手書き)
   影響範囲: #sp-menu (ml-spmenu) のみ
================================ */

/* hidden fixed inset-0 z-[100] bg-white overflow-y-auto */
.ml-spmenu{
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #fff;
  overflow-y: auto;
}

/* header: h-16 flex items-center justify-between px-4 border-b border-gray-100 */
.ml-spmenu__head{
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  border-bottom: 1px solid #f3f4f6;
}
.ml-spmenu__logo{
  height: 1.5rem;
  width: auto;
  display: block;
}

/* close button: text-gray-400 p-2 */
.ml-spmenu__close{
  appearance: none;
  border: none;
  background: transparent;
  color: #9ca3af; /* gray-400 */
  padding: .5rem;
  cursor: pointer;
}
.ml-spmenu__close:focus{ outline: none; }
.ml-spmenu__close i{
  font-size: 1.5rem; /* text-2xl */
  line-height: 1;
}

/* body p-6 */
.ml-spmenu__body{ padding: 1.5rem; }

/* nav space-y-6 */
.ml-spmenu__nav > * + *{ margin-top: 1.5rem; }

/* main links: block text-xl font-bold text-gray-800 hover:text-tw-blue flex justify-between items-center */
.ml-spmenu__main{ display: grid; gap: .75rem; } /* space-y-3 */
.ml-spmenu__mainLink{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  font-size: 1.25rem; /* text-xl */
  font-weight: 700;
  color: #1f2937; /* gray-800 */
  text-decoration: none;
}
.ml-spmenu__mainLink i{ color: #d1d5db; } /* gray-300 */
.ml-spmenu__mainLink:hover{ color: #1e4b8f; } /* tw-blue相当 */

/* CTA: pt-6 border-t border-gray-100 */
.ml-spmenu__cta{
  padding-top: 1.5rem;
  border-top: 1px solid #f3f4f6;
}

/* CTA buttons */
.ml-spmenu__btn{
  display: block;
  width: 100%;
  text-align: center;
  font-weight: 700;
  text-decoration: none;
  border-radius: 9999px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.10); /* shadow-md寄せ */
}
.ml-spmenu__btn i{ margin-left: .5rem; }

.ml-spmenu__btn--ghost{
  background: #fff;
  color: #1e4b8f;
  border: 1px solid #1e4b8f;
  padding: .5rem 1rem; /* py-2 */
  margin-bottom: 1.5rem; /* mb-6 */
}

.ml-spmenu__btn--cta{
  color: #fff;
  border: 0;
  padding: 1rem 1rem; /* py-4 */
  background: linear-gradient(to right, #ea580c, #fb923c);
}

.ml-spmenu__btn--mypage{
  background: #1e4b8f;
  color: #fff;
  border: 1px solid #1e4b8f;
  padding: 1rem 1rem;
  margin-bottom: 1.5rem;
}

.ml-spmenu__note{
  margin: .5rem 0 0;
  text-align: center;
  font-size: .875rem; /* text-sm */
  color: #6b7280; /* gray-500 */
}

/* sub links: pt-6 grid grid-cols-2 gap-4 text-xs text-gray-600 */
.ml-spmenu__sub{
  padding-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 1rem;
  font-size: .75rem;
  color: #4b5563;
}
.ml-spmenu__subLink{
  color: inherit;
  text-decoration: none;
}
.ml-spmenu__subLink:hover{ text-decoration: underline; }

/* foot: bg-gray-50 p-4 text-center text-xs text-gray-500 mt-8 */
.ml-spmenu__foot{
  background: #f9fafb; /* gray-50 */
  padding: 1rem;
  text-align: center;
  font-size: .75rem;
  color: #6b7280;
  margin-top: 2rem;
}