@charset "utf-8";

:root {
  --theme-color: #76293d;
  --accent-color: #f39800;
  --theme-bg-color: #f9e3ee;
  --sub-color: #f12353;
  --sub2-color: #bf3b78;
}

[data-municipality-color="red"] {
  --theme-color: #c72020;
  --accent-color: #FF9800;
  --theme-bg-color: #ffdfdf;
  --sub-color: #FF2353;
  --sub2-color: #DF3B76;
}
[data-municipality-color="blue"] {
  --theme-color: #0066be;
  --accent-color: #4dc784;
  --theme-bg-color: #dfedfa;
  --sub-color: #0053F1;
  --sub2-color: #3B76BF;
}
[data-municipality-color="orange"] {
  --theme-color: #d78408;
  --accent-color: #f1f50b;
  --theme-bg-color: #fff3e3;
  --sub-color: #F12353;
  --sub2-color: #BF3B76;
}
[data-municipality-color="green"] {
  --theme-color: #259d63;
  --accent-color: #00d4b8;
  --theme-bg-color: #ddfced;
  --sub-color: #2ea921;
  --sub2-color: #5BBF3B;
}
[data-municipality-color="purple"] {
  --theme-color: #6f23d0;
  --accent-color: #da237e;
  --theme-bg-color: #eee1ff;
  --sub-color: #D023F1;
  --sub2-color: #A73BBF;
}
[data-municipality-color="brown"] {
  --theme-color: #753b29;
  --accent-color: #ddba1d;
  --theme-bg-color: #ffebe5;
  --sub-color: #D14B45;
  --sub2-color: #A05A68;
}

/*================================
PC & SP
================================*/
.memo{
  display: block;
  font-size: 0.8rem;
  color: #C00;
  border: 1px solid #C00;
  margin: 10px 0 0 !important;
  padding: 3px 10px;
}
.memo:before{
  content: "開発メモ";
  background: #C00;
  color: #FFF;
  padding: 0 5px;
  margin: 0 10px 0 0;
}
.memo a{
  text-decoration: underline;
}

*{
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%;
}
html,body{
  height: 100%;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}
li{
  list-style: none;
}
img{
  border:none;
  vertical-align:bottom;
}
a{
  text-decoration: underline;
  color: var(--sub2-color);
}
a:hover{
  text-decoration: underline;
}
.over{
  transition: -webkit-opacity .5s ease;
  transition: opacity .5s ease;
}
.over:hover{
  opacity: 0.4;
}


.cf:after{
  content: ".";
  display: block;
  height: 0;
  font-size:0;
  clear: both;
  visibility:hidden;
}

.cf {display: inline-block;}

/* Hides from IE Mac \*/
* html .cf {height: 1%;}
.cf {display:block;}
/* End Hack */


.inner{
  width:1100px;
  margin:0 auto;
  padding: 0 20px;
}

.pagetop{
  position: fixed;
  right: 10px;
  bottom: 10px;
}


/* フッター */
footer{
  margin: 60px 0 0;
  padding: 40px 0;
  background: var(--theme-bg-color);
  background: #f1f1f1;
}
footer .logo{
  width: 200px;
  margin: 0 40px 10px 0;
  display: inline-block;
}
footer .logo img{
  width: 100%;
}
footer .copy{
  display: inline-block;
}


/* サイト内共通部分 */
section{
  margin: 0 0 40px;
}
section h2{
  margin: 0 0 10px;
  padding: 0 0 10px;
  border-bottom: 1px solid var(--theme-color);
  font-size: 1.4rem;
  color: var(--theme-color);
}
section h2 .link{
  display: inline-block;
  background: var(--sub2-color);
  padding: 8px 20px 8px 40px;
  font-size: 0.8rem;
  float: right;
  margin-left: 5px;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  border: 1px solid var(--sub2-color);
  position: relative;
  cursor: pointer;
  transition: all .5s ease;
}
section h2 .link:before{
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 1em;
  content: '\f054';
  display: block;
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
}
section h2 .link:hover{
  background: #fff;
  color: var(--sub2-color);
  text-decoration: none;
}
section .sec-contents{
  padding: 10px 20px;
}
section .sec-contents .step{
  width: 80%;
  margin: 30px auto 60px;
  text-align: center;
}
section .sec-contents .step li{
  display: inline-block;
  margin: 0 20px;
  position: relative;
}
section .sec-contents .step li:after{
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 1.4rem;
  content: '\f30b';
  color: var(--theme-color);
  position: absolute;
  right: -30px;
  top: 5px;
}
section .sec-contents .step li:last-child:after{
  content: '';
}
section .sec-contents .step li span{
  display: inline-block;
  padding: 10px 20px;
  background: #eee;
  border-radius: 20px;
  color: #666;
}
section .sec-contents .step li.now span{
  background: var(--theme-color);
  color: #FFF;
}
section .sec-contents p{
  margin: 0 0 20px;
}
section .sec-contents p.error{
  color: #F00;
}
section .sec-contents .caution{
  color: #F00;
}
section .sec-contents .status{
  color: var(--sub-color);
  font-size: 1.4rem;
  font-weight: bold;
  margin: 20px 0 40px;
}

section .sec-contents .btn{
  margin: 20px 0 0;
  text-align: center;
}
section .sec-contents .btn a,
section .sec-contents .btn button,
section .sec-contents .btn input[type=submit]{
  display: inline-block;
  width: 260px;
  height: 50px;
  line-height: 50px;
  border: 1px solid var(--sub2-color);
  border-radius: 5px;
  margin: 20px 10px 0;
  font-weight: bold;
  text-align: center;
  background: #fff;
  color: var(--sub2-color);
  cursor: pointer;
  transition: all .5s ease;
  text-decoration: none;
  vertical-align: bottom;
  font-size: 1rem;
  position: relative;
  -webkit-appearance: none;
}
section .sec-contents .btn a.back{
  border: 1px solid #666;
  color: #333;
}
section .sec-contents .btn a:hover,
section .sec-contents .btn button:hover,
section .sec-contents .btn input[type=submit]:hover{
  background: var(--sub2-color);
  color: #fff;
  text-decoration: none;
}
section .sec-contents .btn a.back:hover{
  background: #666;
  color: #fff;
}
section .sec-contents .btn a:before,
section .sec-contents .btn button:before{
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 1rem;
  content: '\f054';
  display: block;
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
}

section .sec-contents .btn button[disabled],
section .sec-contents .btn button[disabled]:hover{
  color: #999;
  border: 1px solid #CCC;
  background: #f1f1f1;
}



section .sec-contents table.stripe{
  width: 100%;
}
section .sec-contents table.stripe tr:nth-child(odd){
  background: var(--theme-bg-color);
}
section .sec-contents table.stripe tr th{
  width: 25%;
  padding: 20px 40px;
  text-align: left;
  position: relative;
  vertical-align: middle;
}
section .sec-contents table.stripe tr th span.required{
  display: inline-block;
  background: var(--sub-color);
  color: #FFF;
  font-size: .5rem;
  font-weight: normal;
  padding: 0 .5rem;
  line-height: 22px;
  vertical-align: middle;
  margin-left: .5rem;
  border-radius: 4px;
  position: absolute;
  right: 0;
}
section .sec-contents table.stripe tr td{
  padding: 20px 20px 20px 40px;
  text-align: left;
  position: relative;
}
section .sec-contents table.stripe tr td .note{
  font-size: 0.8rem;
  color: #666;
  margin: 5px 0 0;
}
section .sec-contents table.stripe tr td label.error{
  display: block;
  font-size: 1rem;
  color: #F00;
}
section .sec-contents table.stripe tr td input[type=text],
section .sec-contents table.stripe tr td input[type=password]{
  width: 80%;
  height: 40px;
  line-height: 40px;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 5px 10px;
  background: #fff;
  -webkit-appearance: none;
}
section .sec-contents table.stripe tr td select{
  height: 40px;
  line-height: 40px;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 5px 10px;
  background: #fff;
}
section .sec-contents table.stripe tr td textarea{
  width: 80%;
  height: 100px;
  line-height: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 5px 10px;
  background: #fff;
}

section .sec-contents table.stripe tr td input[name=member-postal_code],
section .sec-contents table.stripe tr td input[name=facility-postal_code]{
  width: 100px;
}
section .sec-contents table.stripe tr td input[name=facility-address]{
}


section .sec-contents table.stripe tr td input[name=member-name1],
section .sec-contents table.stripe tr td input[name=member-name2],
section .sec-contents table.stripe tr td input[name=member-kana1],
section .sec-contents table.stripe tr td input[name=member-kana2]{
  width: 100px;
}
section .sec-contents table.stripe tr td input[readonly],
section .sec-contents table.stripe tr td input[disabled]{
  background: #EEE;
}
section .sec-contents table.stripe tr td input[name=member-hoikushi_num]{
  width: 100px;
}
@media all and (-ms-high-contrast:none) {
  section .sec-contents table.stripe tr td input[name=member-name1],
  section .sec-contents table.stripe tr td input[name=member-name2],
  section .sec-contents table.stripe tr td input[name=member-kana1],
  section .sec-contents table.stripe tr td input[name=member-kana2],
  section .sec-contents table.stripe tr td input[name=member-hoikushi_num],
  section .sec-contents table.stripe tr td input[name=member-postal_code],
  section .sec-contents table.stripe tr td input[name=facility-postal_code],
  section .sec-contents table.stripe tr td input[type=text],
  section .sec-contents table.stripe tr td input[type=password]{
    padding: 0px 5px 10px;
  }
}

section .sec-contents table.stripe tr td dl.address-set{
  position: relative;
}
section .sec-contents table.stripe tr td dl.address-set dt{
  position: absolute;
  margin: 5px 0 0;
}
section .sec-contents table.stripe tr td dl.address-set dd{
  padding: 0 0 10px 100px;
}



section .sec-contents table.stripe tr td button{
  background: var(--sub2-color);
  color: #fff;
  border: 0;
  margin-left: 20px;
  height: 40px;
  line-height: 40px;
  border-radius: 5px;
  padding: 0 20px;
  cursor: pointer;
}

section .sec-contents .contact{
  width: 80%;
  margin: 30px auto 20px;
  padding: 30px 40px;
  background: #fff5fa;
  border: 3px solid #fff5fa;
  border-radius: 10px;
}
section .sec-contents .contact h3{
  font-weight: bold;
  font-size: 1.2rem;
  color: var(--theme-color);
  margin: 0 0 10px;
}
section .sec-contents .contact p{
  margin: 0;
}
section .sec-contents .contact p strong{
  font-style: normal;
  font-weight: bold;
  display: block;
  margin: 0 0 5px;
}




/* css checkbox */
.checkbox-label{
  cursor: pointer;
  display: inline-block;
}
.checkbox-input{
  display: none;
}
.checkbox-parts{
  padding-left: 20px;
  position:relative;
  margin-right: 20px;
}
.checkbox-parts::before{
  content: "";
  display: block;
  position: absolute;
  top: 4px;
  left: 0;
  width: 15px;
  height: 15px;
  border: 1px solid #999;
  border-radius: 4px;
  background: #fff;
}
.checkbox-input:checked + .checkbox-parts::before{
  background: #fff;
}
.checkbox-input:checked + .checkbox-parts::after{
  content: "";
  display: block;
  position: absolute;
  top: 0px;
  left: 5px;
  width: 7px;
  height: 14px;
  transform: rotate(40deg);
  border-bottom: 3px solid var(--sub-color);
  border-right: 3px solid var(--sub-color);
}

/*css radio*/
.radio-label{
  cursor: pointer;
  display: block;
}
.radio-input{
  display: none;
}
.radio-parts{
  padding-left: 20px;
  position: relative;
  margin-right: 20px;
  display: block;
}
.ng .radio-parts{
  text-decoration: line-through;
}
.radio-parts::before{
  content: "";
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  left: 0;
  width: 15px;
  height: 15px;
  border: 1px solid #999;
  border-radius: 50%;
  background: #fff;
}
.ng .radio-parts::before{
  background: #CCC;
}
.radio-input:checked + .radio-parts::before{
  background: #fff;
}
.radio-input:checked + .radio-parts::after{
  content: "";
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  left: 3px;
  width: 11px;
  height: 11px;
  background: var(--sub-color);
  border-radius: 50%;
}











/* モーダル */
.bgLayer{
  display:none;
  position:fixed;
  left:0;
  top:0;
  height:100%;
  width:100%;
  background: rgba(191,59,120,0.6);
  z-index: 100;
}

.overLayer{
  display:none;
  position: fixed;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 800px;
  margin: 0 auto;
  z-index: 100;
  background: #fff;
  border-radius: 10px;
  padding: 40px 60px;
  max-height: -webkit-calc(100vh - 100px);
  max-height: calc(100vh - 100px);
}
.result_contents{
  display: none;
}
.modal_contents{
}
.overLayer p{
  margin: 0 0 20px;
}
.overLayer .btn{
  margin: 20px 0 0;
  text-align: center;
}
.overLayer .btn button,
.overLayer .btn a{
  display: inline-block;
  width: 200px;
  height: 50px;
  line-height: 50px;
  border: 1px solid var(--sub2-color);
  border-radius: 5px;
  margin: 0px 10px 0;
  font-weight: bold;
  text-align: center;
  background: #fff;
  color: var(--sub2-color);
  cursor: pointer;
  transition: all .5s ease;
  text-decoration: none;
}
.overLayer .btn button.close,
.overLayer .btn a.close,
.overLayer .btn a.black{
  border: 1px solid #666;
  color: #333;
}
.overLayer .btn button:hover,
.overLayer .btn a:hover{
  background: var(--sub2-color);
  color: #fff;
  text-decoration: none;
}
.overLayer .btn button.close:hover,
.overLayer .btn a.close:hover,
.overLayer .btn a.black:hover{
  background: #666;
  color: #fff;
}

.overLayer .scroll{
  /*height: 145px;*/
  max-height: -webkit-calc(100vh - 320px);
  max-height: calc(100vh - 320px);
  overflow: auto;
  margin: 0 0 20px;
  padding: 10px 20px;
  background: #f1f1f1;
}
.overLayer .scroll::-webkit-scrollbar{
  width: 15px;
}
.overLayer .scroll::-webkit-scrollbar-track{
  background: #fff;
  border-left: solid 1px #ececec;
}
.overLayer .scroll::-webkit-scrollbar-thumb{
  background: #C7BECE;
  border-radius: 10px;
  box-shadow: inset 0 0 0 2px #fff;
}

.overLayer .scroll ul li{
  list-style: disc inside;
}






/*================================
for PC
================================*/
@media screen and (min-width: 769px) {
  .is-pc{
    display: block !important;
  }
  .is-sp{
    display: none !important;
  }
}

/*================================
for SP スマホ
================================*/
@media screen and (max-width: 768px) {
  .is-pc{
    display: none !important;
  }
  .is-sp{
    display: block !important;
  }
  .inner{
    width: 100%;
    height: auto;
    margin: 0 auto;
  }
  html, body{
    font-size: 14px;
  }


  /* フッター */
  footer .logo{
    width: 150px;
    margin: 0 auto 0;
    display: block;
  }
  footer .logo img{
    width: 100%;
  }
  footer .copy{
    display: block;
    text-align: center;
    margin: 20px 0 0;
  }

  /* サイト内共通部分 */
  section h2{
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  section h2 .link{
    padding: 4px 6px 4px 16px;
    text-align: center;
    flex: 0 0 auto;
  }
  section h2 .link span{
    display: block;
  }
  section h2 .link:before{
    left: 7px;
  }
  section .sec-contents{
    padding: 10px 0;
  }
  section .sec-contents .contact{
    width: 100%;
    padding: 10px 20px;
  }
  section .sec-contents .btn a,
  section .sec-contents .btn button,
  section .sec-contents .btn input[type=submit]{
    width: 100%;
    max-width: 240px;
    margin: 10px 5px;
  }
  section .sec-contents .step{
    padding: 0;
    margin: 0 0 20px;
    width: 100%;
  }
  section .sec-contents .step li{
    margin: 0 20px 0 0;
  }
  section .sec-contents .step li:last-child{
    margin: 0 0px 0 0;
  }
  section .sec-contents .step li span{
    padding: 5px 10px;
    font-size: 0.8rem;
  }
  section .sec-contents .step li:after{
    right: -20px;
    top: 0;
  }
  section .sec-contents table.stripe tr td input[type=text],
  section .sec-contents table.stripe tr td input[type=password]{
    width: 100%;
  }

  section .sec-contents table.stripe tr{
    display: block;
  }
  section .sec-contents table.stripe tr th{
    padding: 10px 10px 0;
    display: block;
    width: 100%;
  }
  section .sec-contents table.stripe tr th span.required{
    right: 10px;
  }
  section .sec-contents table.stripe tr td{
    padding: 10px 10px 10px;
    display: block;
  }
  .overLayer{
  padding: 20px;
  }
  .overLayer .btn button, .overLayer .btn a{
  min-width: 35%;
  padding: 0 10px;
  width: auto;
  }
  .overLayer .scroll{
  padding: 10px;
  }

}
