body{
    font-family: "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
}

.main{
    margin: 0 auto;
    max-width: 700px;
    width: 100%;
    height: auto;
    position: relative;
}
.rogo{
    text-align: center;
    margin: 2em auto;
    line-height: 2em;
}
.rogo img{
    width: 290px;
    height: auto;
}
.rogo p{
    text-align: center;
    color: rgb(86, 86, 86);
}
.top_box{
    text-align: center;
    background-color: rgb(233, 233, 233);
    padding: 1em;
    width: 100%;
    height: auto;
    margin: 1em auto;
    font-size: 15px;
}
.top_im{
    width: 100%;
    height: auto;
    margin: -1em auto 0 auto;
}
.top_im img{
    width: 100%;
    height: auto;
}
.bral{
    margin: 0 auto;
    width: 100%;
    padding: 1em;
    text-align: justify;
    background-color: #012556;
    color: white;
    line-height: 2em;
}
.bana{
    width: 90%;
    height: auto;
    margin: 2em auto 1em auto;
}
.bana img{
    width: 100%;
    height: auto;
}
.mike{
    text-align: center;
    margin: 2em auto 0 auto;
    font-size: 15px;
}
.web_form, .web_form a{
    text-align: center;
    color: blue;
    font-weight: bold;
}
.title{
    font-family: "M PLUS 1p", sans-serif;
    font-weight: 400;
    font-style: normal;
    text-align: center;
    margin: 2em auto;
    font-size: 17px;
    line-height: 2em;
}
.title p span{
    font-family: "Playwrite PL", cursive;
    font-optical-sizing: auto;
    font-weight: weight;
    font-style: normal;
    font-size: 11px;
}
.koumoku {
    position: relative;
    padding: 1.3em 0.6em;
    background: #e0edff;
    width: 100%;
    height: auto;
    margin: 1em auto;
    font-size: 15px;
  }
.koumoku:after {
    position: absolute;
    content: '';
    top: 100%;
    left: 30px;
    border: 15px solid transparent;
    border-top: 15px solid #e0edff;
    width: 0;
    height: 0;
  }
  .kou {
    position: relative;
    padding: 1.3em 0.6em;
    background: #d5ffe7;
    width: 100%;
    height: auto;
    margin: 1em auto;
    font-size: 15px;
  }
.kou:after {
    position: absolute;
    content: '';
    top: 100%;
    left: 30px;
    border: 15px solid transparent;
    border-top: 15px solid #d5ffe7;
    width: 0;
    height: 0;
  }
  .setumei{
    margin: 2em auto;
    width: 95%;
    text-align: justify;
    line-height: 1.8em;
  }
  .setumei span{
    color: #456da4;
  }
  .zyosei_fre{
    display: flex;
    margin: 1em auto;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .zyosei_fre img{
    width: 60%;
    height: auto;
  }
  .zyosei {
    border-bottom: solid 3px #f3d0dc;
    position: relative;
    padding: 0.5em;
  }
  
  .zyosei:after {
    position: absolute;
    content: " ";
    display: block;
    border-bottom: solid 3px #f59cbb;
    bottom: -3px;
    width: 20%;
  }

  .cor{
    margin: 1em auto;
    width: 100%;
    height: auto;
    background-color: #fff7fb;
    padding: 4em 0 2em 0;
    margin-top: -7.5em;
  }
  .flow_design09 {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .flow09 {
    padding-left: 0;
    border-bottom: solid 1px #E1E8ED;
  }
  
  .flow09 > li {
    list-style-type: none;
    display: flex;
    padding: 20px 0;
    border-top: solid 1px #E1E8ED;
  }
  
  .flow09 > li dl dt {
    font-size: 1.2em;
    line-height: 2;
    font-weight: bold;
    margin-bottom: 10px;
  }
  
  .flow09 > li .icon09 {
    line-height: 1;
    font-size: 2em;
    font-weight: bold;
    color: #5f84d3;
    text-align: center;
    width: 70px;
    position: relative;
    margin-top: 0;
  }
  
  .flow09 > li .icon09::before {
    content: 'STEP';
    font-size: 0.3em;
    display: block;
    margin-bottom: 3px;
    letter-spacing: 1px;
  }
  
  .flow09 > li .icon09::after {
    content: "";
    display: block;
    width: 1px;
    height: calc(100% - 40px);
    background-color: #858585;
    position: absolute;
    left: 0;
    right: 0;
    top: 60px;
    margin: auto;
  }
  
  .flow09 > li dl dd {
    margin: 0;
  }
  
  .flow09 > li dl {
    width: calc(100% - 70px);
    margin-top: 0.8em;
  }
@media screen and (max-width: 767px) {
    .top_box{
        font-size: 13px;
    }
  }

  .faq {
    display: grid;
    gap: 1.5em;
    padding-block-start: 2em;
    max-inline-size: 60em;
    margin: auto;
  }
  .faq-title {
    font-size: 2em;
    text-align: center;
  }
  .faq-title:before {
    content: "- FAQ -";
    display: block;
    font-size: 0.5em;
    font-weight: normal;
    color: #666;
  }
  /* FAQ content */
  .faq-content {
    --accent-color: #3388ff;
    --v-rythm: 1.6em;
    --gap: 1em;
    position: relative;
    background: #eee;
    border-radius: 1em;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
    margin: 2em auto;
    line-height: 1.8em;
  }
  .faq-content:after {
    content: "";
    position: absolute;
    inset-block-start: 1.25rem;
    inset-inline-end: 0.75rem;
    display: block;
    inline-size: 1rem;
    aspect-ratio: 1;
    background: #666;
    overflow: hidden;
    rotate: 0deg;
    transition: rotate 0.4s 0s ease;
    clip-path: polygon(25% 10%, 25% 90%, 75% 50%);
  }
  .faq-content[open]:after {
    rotate: 90deg;
  }
  .faq-content[open] .faq-q:after {
    content: "";
    position: absolute;
    inset: 0;
    display: block;
  }
  /* Q */
  .faq-q {
    font-weight: bold;
    line-height: var(--v-rythm);
    display: flex;
    gap: var(--gap);
    padding: 1rem 2rem 1rem 1.5rem;
  }
  .faq-q::-webkit-details-marker {
    display: none;
  }
  .faq-q:hover {
    color: var(--accent-color);
  }
  .faq-q:before {
    content: "Q.";
    display: block;
    color: var(--accent-color);
    font-size: var(--v-rythm);
  }
  /* A */
  .faq-a {
    margin: 0;
    display: flex;
    gap: var(--gap);
    padding: 0 1.5rem 1rem;
  }
  .faq-a:before {
    content: "A.";
    font-weight: bold;
    color: var(--accent-color);
    font-size: var(--v-rythm);
  }
  .fot{
    margin-top: 2em;
    margin-bottom: 8em;
    padding: 1em;
    text-align: center;
    background-color: #4c76b1;
    color: white;
  }
  .fot_kote{
    position: fixed;
    bottom: 0;
    left: 0;
    margin: 0 auto;
  }
  .fot_kote>.web_form{
    background-color: white;
    padding-bottom: 1em;
    padding-top: 10px;
    margin-top: -17px;
  }

  .fot_kote>.bana{
    width: 100%;
  }
  .zenkoku {
    margin: 1em auto;
    width: 90%;
    line-height: 2em;
    text-align: center;
}
.zenkoku img{
  width: 90%;
  height: auto;
  margin: 0.5em auto;
}
hr.sen{
  border: solid 3px #afc6e7;
    margin: 2em auto;
    width: 100%;
}


/* 外枠となるflexbox, ラジオボタンの間隔や配置を調整 */
.radio-btn-area {
  max-width: 400px;
  width: 100%;
  height: auto;
  margin: 1em auto;
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

/* ラジオボタン1つの大枠, ラジオボタンの大きさを調整 */
.radio-btn {
  width: 100%;
  height: 45px;
}

/* プリセットのラジオボタンを削除 */
.radio-btn input {
  display: none;
}

/* 未選択状態のラジオボタンの背景色やボーダーの指定 */
.radio-btn label {
  display: flex; /* 中の文字の上下中央揃えを行うための設定 */
  width: 100%; /* ラジオボタンを大枠いっぱいに広げるための設定 */
  height: 100%; /* ラジオボタンを大枠いっぱいに広げるための設定 */
  background-color: #f4f4f4;
  border: #cacaca solid 1px;
  border-radius: 3px;
  align-items: center; /* 中の文字の上下中央揃えを行うための設定 */
  position: relative; /* 疑似要素の位置調整のための設定 */
}

/* 中の文字列の位置調整 */
.radio-btn span {
  display: block; /* ラジオボタン内の文字の上下中央揃えを行うための設定 */
  width: 100%;
  padding-left: 26px; /* 左側のボタン設置スペース確保のための設定 */
  padding-right: 4px; /* 文字列が右側にギリギリにならないようにするための設定 */
}

/* 選択/未選択時の両方に存在する白い丸を作成 */
.radio-btn label::before,
.radio-btn input:checked + label::before {
  content: "";
  width: 16px; /* 白い丸の横の長さ */
  height: 16px; /* 白い丸の縦の長さ */
  border-radius: 50%; /* 丸くするための設定 */
  background-color: #ffffff; /* 丸の色の設定 */
  position: absolute; /* 位置調整の起点をlabelの左上の角とするための設定 */
  top: 50%;
  left: 13px;
  transform: translate(-50%, -50%); /* topとleftが丸の中心を基準とするための設定 */
  z-index: 10;
}

/* 選択時のみに存在する青い丸を作成, 基本は白い丸とすべて同じ */
.radio-btn input:checked + label::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #3988de;
  position: absolute;
  top: 50%;
  left: 13px;
  transform: translate(-50%, -50%);
  z-index: 11; /* 白い丸より確実に前面に配置されるように調整 */
}

/* 選択時のみのlabelのデザイン指定 */
.radio-btn input:checked + label {
  color: #ffffff;
  font-weight: bold;
  background-color: #1e6cc0;
  z-index: 8;
}
.form_tio{
  text-align: center;
  margin: 2em auto 1em auto;
  font-weight: bold;
  font-size: 18px;
}
.lav{
  font-weight: bold;
  margin: 4em auto 1em auto;
}
.lav span, .form_tio span{
  background-color: #dd5454;
  padding: 5px 1em;
  text-align: center;
  font-size: 10px;
  color: white;
  font-weight: normal;
  margin-left: 1em;
  border-radius: 5px;
}
input.form_inp, select.form_inp, textarea.form_inp{
  width: 100%;
  height: auto;
  background-color: #f4f4f4;
  border: solid 1px #cacaca;
  padding: 1em;
}
textarea.form_inp{
  height: 150px;
}
input::placeholder {
  color: #bbbbbb;
}
button.but{
  background-color: #dd5454;
  width: 100%;
  height: auto;
  text-align: center;
  max-width: 250px;
  padding: 1em;
  margin: 1em auto;
  color: white;
  border-radius: 15px;
}

.center{

  text-align: center;
  margin: 1em auto;
}

.progressbar {
  position: relative;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.progressbar li {
  position: relative;
  list-style-type: none;
  text-align: center;
  text-transform: uppercase;
  width: 33.333%;
  color: #999999;
  font-weight: bold;
}
.progressbar li:before {
  display: block;
  width: 18px;
  height: 18px;
  margin: 7px auto 20px auto;
  content: '';
  text-align: center;
  border-radius: 50%;
  background-color: #F5F5F5;
}
.progressbar li:after {
  position: absolute;
  z-index: 3;
  top: 15px;
  left: -50%;
  width: 100%;
  height: 2px;
  content: '';
  background-color: #F5F5F5;
}
.progressbar li:first-child:after {
  content: none;
}
.progressbar li.active,
.progressbar li.complete{
  color: #0070BD;
  z-index: 5;
}
.progressbar li.active:before,
.progressbar li.complete:before {
  background-color: #0070BD;
}
.progressbar li.active:after,
.progressbar li.complete:after {
  background-color: #0070BD;
}

.mese {
  color: red;
  text-align: center;
  max-width: 324px;
  margin: 1em auto;
  font-weight: bold;
  line-height: 2em;
  font-size: 20px;
}