@charset "utf-8";
/* CSS Document */
#header_box {
  margin-left: auto;
  margin-right: auto;
  margin-top: 5rem;
  width: 100%;
}
#header_box img {
  max-width: 300px;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  display: block;
}
h1 {
  background-color: var(--main_color);
  padding: 2rem;
  width: 100%;
  color: #FFFFFF;
  font-size: 3rem;
  /*font-family: "fot-udmarugo-large-pr6n", sans-serif;*/
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  text-align: center;
  margin-top: -25px;
  font-style: normal;
  font-variant: normal;
  line-height: 1;
}
h1 p {
  font-style: normal;
  font-variant: normal;
  font-weight: normal;
  font-size: 1rem;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  padding: 0;
  margin-top: 5px;
  margin-right: 0;
  margin-left: 0;
  margin-bottom: 0;
  color: #FFFFFF;
  text-align: center;
  line-height: 1;
}
@media (max-width:566px) {
  h1 {
    font-size: 2rem;
    padding-left: 0px;
    padding-right: 0px;
  }
	h1 p {
		margin-top: 10px;
	}
}

.txt {
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 1rem;
  color: #333;
  max-width: 1300px;
  margin-right: auto;
  margin-left: auto;
  margin-top: 6rem;
  line-height: 1.65;
  height: auto;
  font-style: normal;
  font-variant: normal;
  font-weight: normal;
}
.txt p {
  font-size: .75rem;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-style: normal;
  font-variant: normal;
  font-weight: normal;
  color: #333;
}
@media (max-width:1000px) {
  .txt {
    width: 94%;
  }
}


#demo_box{
  max-width: 1300px;
  margin: 3rem auto 0;
  display: flex;
  gap: 2rem;
}

#demo_box .demo_item{
  width: calc((100% - 2rem)/2);
}

#demo_box .demo_item img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  /*box-shadow: 0 6px 16px rgba(0,0,0,.08);*/
}

/* 画像の下にあるが、上に少しだけ重なるボックス */
#demo_box .demo_text{
  width: 94%;
  margin: -60px auto 0;          /* ★この値で「重なり具合」調整 */
  padding: 1.6rem 1.6rem;
  background: rgba(255,255,255,0.92);
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0,0,0,.10);
  position: relative;
  z-index: 2;
}

#demo_box .demo_text h2{
    margin: 0 0 .6rem 0;
    font-size: 2rem;
    line-height: 1.3;
    font-weight: bold;
    font-variant: normal;
    font-style: normal;
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    color: var(--main_color);
    text-align: center;
}

#demo_box .demo_text p{
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.7;
    font-weight: normal;
    font-variant: normal;
    font-style: normal;
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    color: #333;
}

/* スマホ */
@media screen and (max-width: 900px){
  #demo_box{
    flex-direction: column;
  }
  #demo_box .demo_item{
    width: 94%;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 2rem;
  }
  #demo_box .demo_text{
    width: 90%;
    margin-top: -50px;
  }
}


#osusume_box{
    max-width: 1300px;
    margin: 0 auto;              /* 中央寄せ */
    padding: 0;               /* ★内側余白 */
    height: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    box-sizing: border-box;      /* ★padding分ではみ出さない */
}

/* space-between は不要（gapで十分） */
#osusume_box{
  justify-content: flex-start;
}

#osusume_box > div{
    padding: 2rem;
    width: calc((100% - 4rem)/3);
    box-sizing: border-box;      /* ★カードのpaddingで幅が崩れない */
    background: #fff;            /* 任意：カード感 */
    border-radius: 4px;         /* 任意 */
    box-shadow: 0 10px 24px rgba(0,0,0,.10);
    color: #333;
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    font-size: 1.4rem;
	transition: transform 0.3s ease;
}
#osusume_box > div:hover {
    transform: translateY(-5px);
    color: var(--main_color);	
}
@media screen and (max-width: 1000px){
	#osusume_box > div{
		width: calc((100% - 2rem)/2);
	}
}
@media screen and (max-width: 900px){
	#osusume_box > div{
    width: 94%;
    margin-right: auto;
    margin-left: auto;
	}
}


/*---------------------------------------------------------------*/
/*  サブソフトメニュー（カードグリッド）                        */
/*---------------------------------------------------------------*/
#sub_soft_menu {
  max-width: 1300px;
  width: 100%;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem 1.2rem;
}
@media (max-width: 980px) {
  #sub_soft_menu {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 566px) {
  #sub_soft_menu {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
#sub_soft_menu .card {
  border: 1px solid #CCC;
  border-radius: 6px;
  background: #fff;
  transition: box-shadow .2s ease, transform .1s ease, border-color .2s ease;
}
#sub_soft_menu .card > a {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.5rem;
  text-decoration: none;
  width: 100%;
  height: 100%;
}
#sub_soft_menu .thumb {
  margin: 0;
  width: 50px;
  height: 50px;
  border-radius: 4px;
  overflow: hidden;
  flex: 0 0 50px;
}
#sub_soft_menu .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
#sub_soft_menu .body {
  flex: 1 1 auto;
  min-width: 0;
}
#sub_soft_menu h2 {
  margin: 0;
  color: #333;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-weight: bold;
  font-size: 1rem;
  line-height: 1.2;
}
#sub_soft_menu p {
  margin: 0;
  color: #333;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: .9rem;
  line-height: 1.2;
}
@media (hover:hover) {
  #sub_soft_menu .card:hover {
    border-color: #bbb;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .08);
    transform: translateY(-5px);
  }

}
@media (hover:none) {
  #sub_soft_menu .card:active {
    box-shadow: 0 3px 10px rgba(0, 0, 0, .08);
  }
}
/*----------------------------
ホバー時に画像がゆらゆら
------------------------------*/
#sub_soft_menu .card:hover .thumb img {
    animation: thumb-pop-bounce .5s ease-out infinite;
    transform-origin: center bottom;
}

.sms_system {
    margin-right: auto;
    padding: 0;
    margin-left: auto;
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    font-style: normal;
    font-variant: normal;
    font-weight: bold;
    font-size: 2.3rem;
    text-align: center;
    margin-top: 10rem;
    color: var(--main_color);
}
/*---------------------------------------------------------------*/
/*  FAQ                                                          */
/*---------------------------------------------------------------*/
.faq-wrap {
  width: min(100%, 1300px);
  margin: 0 auto;
  padding: 0;
}
.faq-wrap .top_margin_Cancel {
  margin-top: 0;
}
.faq-wrap .question {
  position: relative;
  display: block;
  margin: 2.25rem 0 .5rem;
  color: var(--main_color);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.45;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}
.faq-wrap .question::before {
  content: "Q";
  display: inline-flex;
  width: 28px;
  height: 28px;
  margin-right: 12px;
  border-radius: 6px;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .95rem;
  background: #1976CC;
  color: #fff;
}
.faq-wrap .answer {
  position: relative;
  display: block;
  width: 100%;
  padding: 1.5rem 2rem;
  background: #F8FBFF;
  border: 1px solid #DFEAF6;
  border-radius: 4px;
  color: #333;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
  font-size: 1rem;
  overflow-wrap: break-word;
  word-break: normal;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
  margin-bottom: 3.5rem;
}
.faq-wrap .answer:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
  background-color: #ECF4FF;
  color: #000;
}
.faq-wrap .faq-more {
  margin-top: 2rem;
  color: #666;
  text-align: left;
}
@media (max-width: 560px) {
  .faq-wrap {
    padding: 0;
    width: 94%;
  }
  .faq-wrap .answer {
    padding: .9rem 1rem;
    margin: 0;
  }
  .faq-wrap .question {
    margin-top: 5rem;
  }
}



    .container {
    max-width: 1000px;
    margin-top: 30px;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 10rem;
    background: #fff;
    padding: 3rem 8%;
    box-sizing: border-box;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    }




    .step-nav {
      display: flex;
      justify-content: space-between;
      list-style: none;
      padding: 0;
      margin-bottom: 20px;
    }
    .step-nav li {
      flex: 1;
      text-align: center;
      padding: 10px 0;
      background: #e0e0e0;
      border-radius: 4px;
      margin: 0 3px;
      font-weight: bold;
    }
    .step-nav li.active {
      background: #1976CC;
      color: #fff;
    }
    .progress-container {
    width: 100%;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 20px;
    }
    .progress-bar {
      height: 8px;
      width: 0%;
      background: #1976CC;
      transition: width 0.3s ease;
    }
    .step { display: none; }
    .step.active { display: block; }
    label { display: block; margin-top: 10px; }
    main input[type="text"], main input[type="email"], main input[type="date"], main input[type="tel"], main select, main textarea {
      width: 100%;
      padding: 8px;
      margin: 5px 0 15px 0;
      box-sizing: border-box;
      border: 1px solid #ccc;
      border-radius: 4px;
    }
    main input:focus, main select:focus, main textarea:focus {
      border: 2px solid #1976CC;
      outline: none;
    }
    .flex-row {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
    }
    .flex-row input {
      flex: 1;
      min-width: 100px;
    }
    .checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0px;
    margin-bottom: 1rem;
    }
    button, input[type="submit"] {
      background: #1976CC;
      color: #fff;
      border: none;
      padding: 10px 20px;
      margin: 5px;
      cursor: pointer;
      border-radius: 4px;
      font-size: 16px;
    }
    button:hover, input[type="submit"]:hover {
      background: #125a9c;
    }
    .required {
      color: red;
      margin-left: 5px;
    }
    @media screen and (max-width: 600px) {
      .flex-row { flex-direction: column; }
    }


.checkboxItem{
    display: flex;
    align-items: flex-start;     /* 上揃え（2行でもズレない） */
    column-gap: 10px;
    width: 100%;                /* グリッド幅いっぱい使う */
    cursor: pointer;
    line-height: 1.2;
    margin-bottom: 0;
    margin-top: 2rem;
}

.checkboxItem .cb_text{
  display: flex;
  flex-direction: column;     /* ★縦に積む */
  row-gap: 4px;
  min-width: 0;               /* ★折り返し必須ポイント */
  flex: 1;                    /* 右側を伸ばす */
}

.checkboxItem .cb_title{
    font-size: 1rem;
    font-weight: bold;
    color: #333;
    white-space: normal;        /* 折り返しOK */
    word-break: break-word;     /* 長い語でも折る */
    line-height: 1;
    font-variant: normal;
    font-style: normal;
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

.checkboxItem .cb_desc{
    font-size: 0.75rem;
    color: #5F5F5F;
    white-space: normal;        /* 折り返しOK */
    word-break: break-word;
    line-height: 1;
    font-weight: normal;
    font-variant: normal;
    font-style: normal;
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

/* 既存の p スタイルは不要になるので、もし残すなら影響しないように */
.checkboxItem p{ margin: 0; }


.checkbox {
  appearance: none;
  position: relative;
  width: 20px;
  height: 20px;
  border: 1px solid #1976cc;
  border-radius: 4px;
  cursor: pointer;
}

.checkbox:checked {
  background-color: #1976cc;
}

.checkbox:checked::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 12px;
  height: 6px;
  border-bottom: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
  transform: rotate(-45deg);
}


.flatpickr-calendar {
  font-size: 1.2rem;
  transform: scale(1.3);
  transform-origin: top left;
}

.step h3{
    margin-bottom: 3rem;	
}


.sub_titler{
    font-size: 1.1rem;
    font-weight: bold;
	color:#333;
}

.b_type1{
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    display: block;
    margin-top: 3rem;
    padding-top: 10px;
    padding-bottom: 10px;
}

.b_box{
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    height: auto;
    text-align: center;
}
.b_type2{
    width: 48%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 3rem;
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: #999999;
}
.b_type3{
    width: 48%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 3rem;
    padding-top: 10px;
    padding-bottom: 10px;
}


main input[type="text"]:hover,
main input[type="email"]:hover,
main input[type="tel"]:hover,
main textarea:hover,
main select:hover {
  outline: none;
  border: 2px solid #1976CC;
  background-color: #f0f8ff; /* 薄いブルーで背景も強調（任意） */
  box-shadow: 0 0 0 2px rgba(25, 118, 204, 0.3);
}


.mini{
    color: #333333;
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    font-size: 0.75rem;
}
