@charset 'UTF-8';
/* ーーーー
　　共通
ーーーーーー */

.font-bold {
  font-weight: bold;
}

.mt-30 {
  margin-top: 30px;
}
.mb-30 {
  margin-bottom: 30px;
}

.pc-Only {
  display: block;
}
.sp-Only {
  display: none;
}
@media screen and (max-width: 767px) {
  .pc-Only {
    display: none;
  }
  .sp-Only {
    display: block;
  }
}

body {
  font-size: 14px;
  line-height: 1.5;
}

* {
  padding: 0;
  margin: 0;
}

input,select,textarea {
  background-color: #fff;
}

input {
  width: 100%;
  padding: 15px 5px;
  border-radius: 4px;
  border: 2px solid #BBBBBB;
  box-sizing: border-box;
  outline: none;
  font-size: 16px;
}
input::-webkit-input-placeholder {
  color: #BBBBBB;
}
input:-moz-placeholder {
  color: #BBBBBB;
}
input::-moz-placeholder {
  color: #BBBBBB;
}
input:-ms-input-placeholder {
  color: #BBBBBB;
}
input.check {
  border: 2px solid #fa0103;
  background: #ffdfe0;
}

.select {
  position: relative;
}
.select.pref,
.select.people,
.eventCalendar {
  width: 100%;
  max-width: 500px;
}

.eventCalendar {
  display: flex;
}

#openCalendar {
 width: 60px;
}

#openCalendar img{
  margin-left: 10px;
}

#openCalendar img {
  max-width: 40px;
}

.select:not(.eventCalendar):before {
  content: "";
  position: absolute;
  right: 15px;
  top: 25px;
  margin: auto;
  pointer-events: none;
  border-top: 12px solid #333;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
}

select {
  width: 100%;
  padding: 15px 5px;
  border-radius: 4px;
  border: 2px solid #BBBBBB;
  box-sizing: border-box;
  cursor: pointer;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  font-size: 16px;
}

select::-ms-expand {
  display: none; /* デフォルトのスタイルを無効(IE用) */
}

select.check {
  border: 2px solid #fa0103;
  background: #ffdfe0;
}

textarea {
  width: 100%;
  height: 80px;
  font-size: 22px;
  padding: 15px 5px;
  border-radius: 4px;
  border: 2px solid #BBBBBB;
  box-sizing: border-box;
  outline: none;
}

.message {
  margin-bottom: 10px;
  color: #3C3C3C;
  font-size: 24px;
}

h1 {
  font-size: 32px;
  margin-bottom: 10px;
  color: #0070ba;
  font-weight: normal;
  text-align: left;
}
h1 > br {
  display: none;
}

.apply-supplement,
.topMessage,
.riyuojokenBox {
  margin-bottom: 20px;
}

.apply-supplement {
  padding: 16px;
  background: #F6F4F2;
}
.apply-supplement span:first-of-type{
  display: block;
  margin-bottom: 10px;
}
.topMessage {
  padding: 16px;
  border: #88CFFF 1px solid;
  background: #EEF9FF;
  box-sizing: border-box;
}

.riyuojokenBox {
  display: flex;
  border: #88CFFF 1px solid;
  background-color: #eef9ff;
  padding: 20px 30px;
}
.riyuojokenBox dt {
  position: relative;
  color: #1072c5;
  font-size: 18px;
  font-weight: bold;
  vertical-align: middle;
  width: 30%;
  overflow: hidden;
}

.riyuojokenBox dt p:first-child {
  margin-bottom: 8px;
}
.riyuojokenBox dt p span {
  display: inline-block;
  background-color: #88cfff;
  color: #ffffff;
  vertical-align: middle;
  padding: 2px 8px;
  margin-right: 4px;
}
.riyuojokenBox dt p span:last-child {
  margin-right: 0;
}

.riyuojokenBox dd {
  position: relative;
  display: flex;
  align-items: center;
  width: 70%;
}

.riyuojokenBox dd > ul > li {
  margin-bottom: 5px;
}
.riyuojokenBox dd > ul > li:last-child {
  margin-bottom: 0;
}
.riyuojokenBox dd > ul > li:before {
  content: "";
  background-color: #88cfff;
  border-radius: 100%;
  width: 10px;
  height: 10px;
  display: inline-block;
  margin-right: 5px;
}

@media screen and (max-width: 767px) {
  .riyuojokenBox {
    display: block;
  }
  .riyuojokenBox dt,
  .riyuojokenBox dd {
    width: 100%;
  }
  .riyuojokenBox dt {
    text-align: center;
    margin-bottom: 10px;
  }
}

.externalLink {
  display: flex;
}
.externalLink img {
  margin-right: 5px;
}

.detailText {
  font-size: 20px;
} 

@media screen and (max-width: 767px) {
  .top-title {
    width: 90%;
    margin: 0 auto;
    position: relative;
  }
  .message {
    font-size: 20px;
    margin: 20px 0;
  }
  h1 {
    font-size: 24px;
  }
  h1 > br {
    display: block;
  }
  .topMessage {
    padding: 1em;
  }
}

.confirm {
  margin: 0 auto;
  cursor: pointer;
  text-align: center;
}

.confirm img {
  width: 100%;
  max-width: 400px;
}

/* ーーーー
　　大枠
ーーーーーー */
.application_form {
  width: 100%;
  max-width: 950px;
  margin: 0 auto 80px;
}

.form {
  width: 100%;
  max-width: 930px;
  margin: 20px auto;
}

.error {
  display: none;
}

.error.show {
  font-size: 16px;
  padding: 20px;
  margin: 20px 0;
  display: block;
  box-sizing: border-box;
  font-weight: bold;
  color: #fa0103;
  border: 2px solid #fa0103;
  background: #ffdfe0;
}

.error li {
  list-style-type: none;
}

@media screen and (max-width: 767px) {
  .form {
    width: 90%;
    padding: 0;
    margin: 0 auto;
  }
}

/* ーーーーーーーーー
　　共通 枠
ーーーーーーーーーーー */
.wrap {
  padding: 40px;
  margin-bottom: 40px;

  box-sizing: border-box;
  background: #F6F4F1;
}

@media screen and (max-width: 767px) {
  .wrap {
    padding: 30px;
  }
}
.wrap .title {
  margin-bottom: 30px;
}
.wrap .notes {
  margin-bottom: 30px;
}
@media screen and (max-width: 767px) {
  .wrap .title {
    margin-bottom: 20px;
  }
}

/* ーーーーーーーーー
　　共通 入力タイトル
ーーーーーーーーーーー */

.wrap .title {
  display: flex;
  align-items: center;
  margin-left: -20px;
  margin-top: -20px;
}

.wrap .title h2 {
  padding: 2px 0 2px 8px;
  margin-right: 10px;

  display: inline-block;

  font-size: 20px;
  font-weight: bold;
  color: #3C3C3C;
  vertical-align: middle;
  
  box-sizing: border-box;

  line-height: 1;
  border-left: solid 4px #0070ba;
}

.wrap .title h2 .anotation {
  font-size: 14px;
}

.wrap .notes {
  display: block;
}

.wrap .required {
  padding: 5px 10px;
  margin-left: 20px;
  background: #fa0103;

  font-weight: bold;
  font-size: 12px;
  text-align: center;
  color: #fff;
  vertical-align: middle;
  white-space: nowrap;
}

@media screen and (max-width: 767px) {
  .wrap .title {
    margin-left: -10px;
    margin-top: -10px;
  }
  .wrap .required {
    margin-right: -10px;
    margin-left: auto;
    padding: 5px 10px;
  }
  .wrap .title h2 {
    font-size: 20px;
    line-height: 1.2;
  }
  .wrap .title h2.detailTitle {
    padding-right: 0;
  }
  .wrap .title h2 .anotation {
    display: block;
  }
}

/* ーーーーーーーーー
　　共通 入力内容部分
ーーーーーーーーーーー */

.wrap .detail {
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

.wrap .detail.block {
  display: block;
}
.wrap .detail.block > dl{
  width: 100%;
}
.wrap .detail dl {
  width: 40%;
  display: flex;
  flex-direction: column;
  margin-right: 20px;
}
.wrap .detail dl:last-child {
  margin-right: 0;
}

.wrap .detail dl dt {
  font-size: 18px;
  margin-bottom: 10px;
}
.wrap .detail dl dt > .valid {
  color: #fa0103;
  font-size: 12px;
}

.wrap .detail dl dd + dd {
  margin-top: 10px;
}

.wrap .detail p.value {
  width: 100%;
  font-size: 16px;
  font-weight: bold;
}

@media screen and (max-width: 767px) {
  .wrap .detail {
    display: block;
  }
  .wrap .detail dl {
    width: 100%;
  }
  .wrap .detail dl dt {
    font-size: 16px;
  }
}

/* ーーーー
  お名前
ーーーーーー */
.wrap .detail .name {
  flex-direction: column;
}
.wrap .detail .name dl,
.wrap .detail .name dl dt
.wrap .detail .name dl dd {
  width: 100%;
}
.wrap .detail .name dl dd {
  display: flex;
}
.wrap .detail .name dl dd > div {
  width: 40%;
}
.wrap .detail .name dl dd > div:first-of-type {
 margin-right: 10px;
}

@media screen and (max-width: 767px) {
  .wrap .detail .name dl dd {
    flex-direction: column;
  }
  .wrap .detail .name dl dd div {
    width: 100%;
  }
  .wrap .detail .name dl dd div:first-of-type {
   margin-right: 0;
   margin-bottom: 10px;
  }
}

/* ーーー
　　住所
ーーーーー */
.wrap .detail .address {
  flex-direction: column;
}

.wrap .detail .address dl {
  width: 100%;
}

.wrap .detail .address dl + dl {
  margin-top: 30px;
}

.wrap .detail .address .postal {
  display: flex;
  align-items: center;
}

.wrap .detail .address .postal .first {
  width: 100px;
  margin: 0 10px;
}

.wrap .detail .address .postal .latter {
  width: 120px;
  margin-left: 10px;
}

.wrap .detail .address .postal .search-address {
  margin-left: 30px;
  cursor: pointer;
}

.wrap .detail .address dd a {
  color: gray;
  cursor: pointer;
  display: block;
}

.wrap .detail .address .ziperror {
  color: #fa0103;
  font-weight: bold;
}

@media screen and (max-width: 767px) {
  
  .wrap .detail .address .postal {
    align-items: flex-start;
  }
  .wrap .detail .address .postal .first {
     width: 35%;
     margin: 0 0 10px 0;
  }
  .wrap .detail .address .postal .latter {
    width: 45%;
    margin:0 0 10px 0;
  }
  .wrap .detail .address .postal .search-address {
    margin-left: 10px;
  }
}


/* ーーーー
　　連絡先
ーーーーーー */
.wrap .detail.tel > dl {
  width: 100%;
}

.timeTtl::before {
  content: "";
  display: inline-block;
  background-color: #999999;
  width: 10px;
  height: 10px;
  margin-right: 5px;
}

.time {
  display: flex;
  align-items: center;
}

.time .box > input {
  display: none;
}

.time .box label {
  margin-right: 20px;
  display: flex;
  align-items: center;
  position: relative;
  cursor: pointer;
}

.time .box label:before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 28px;
  background: #fff;
  border: 2px solid #888;
  margin-right: 10px;
  box-sizing: border-box
}
.time .box label:after {
  content: '';
  display: inline-block;
  opacity: 0;
  width: 12px;
  height: 15px;
  background: transparent;
  border-right: 4px solid #fff;
  border-bottom: 4px solid #fff;
  transform: rotate(45deg);
  position: absolute;
  left: 8px;
  top: 3px;
}

#time.rec .box label:before {
  border: 2px solid #fa0103;
  background: #ffdfe0;
}
#time.rec .box label:after {
  border-right: 4px solid #fa0103;
  border-bottom: 4px solid #fa0103;
}

input[type=checkbox]:checked + label::before {
  background: #2675ff;
  border: none;
}
input[type=checkbox]:checked + label::after {
  opacity: 1;
}

@media screen and (max-width: 767px) {
  .time {
    flex-wrap: wrap;
    align-items: start;
  }
  .time:last-child {
    margin-bottom: -10px;
  }
  .time .box + .box {
    margin-left: 0;
  }
  .time .box{
    margin-bottom: 10px;
  }
}

/* ーーーーーー
　メールアドレス
ーーーーーーーー */
.mail {
  flex-direction: column;
}

.wrap .detail.mail > dl {
  width: 100%;
  margin-right: 0;
}

/*
以下、ヘッダフッタ用CSS追記
*/

#cms-header ul, #cms-header li {
	margin: 0px;
	padding: 0px;
}
#cms-header a:link { color: #000000; }
#cms-header a:visited { color: #800096; }
#cms-header a:hover, #cms-header a:active { color: #CC0000; }
#cms-header {
	padding: 0px;
	padding-bottom: 2rem;
	height: auto;
	width: 850px;
	margin-top: 1px;
	margin-right: 0px;
	margin-bottom: 4px;
	margin-left: 0px;
}
#cms-header #head-navi1 {
	text-align: right;
	margin-top: 5px;
	float: right;
	width: 720px;
}
#cms-header #head-navi2 {
	text-align: right;
	margin-top: 4px;
	float: right;
	width: 720px;
}
#cms-header #head-navi1 ul li, #cms-header #head-navi2 ul li {
	list-style-type: none;
	display: inline;
	background: url(../img/arrow01.gif) no-repeat left center;
	padding: 0px 3px 0px 12px;
	margin: 0px 0px 0px 5px;
}
#cms-header #head-navi1 ul {
	border-right: 1px solid #AAA;
	margin-right: 5px;
	margin-top: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	padding: 0px;
}
#cms-header #head-navi1 ul, #cms-header #head-navi1 form { display: inline; }
#cms-header #head-navi1 form input.query, #cms-header #head-navi1 form input.search {
	vertical-align: middle;
	margin: 0px;
	padding: 0px;
}
#cms-header:after {
	content : ".";
	display : block;
	visibility : hidden;
	clear : both;
	height : 0.1px;
	font-size : 0.1em;
}
#glife, #cms-header, #pan {
	margin: 0 auto !important;
  padding-bottom: 2rem;
	width: 950px !important;
}
#cms-header #logo {
  float: left;
  padding-top: 30px;
  height: 60px;
  width: 270px;
  margin-left: 6px;
}
#logo span {
  display: inline;
  margin: 0;
  padding: 0;
}
#logo span.gas img{
  width: 133px;
  height: 28px;
}
#logo span.home img{
  width: 110px;
  height: 28px;
}
div:after {
  content: ".";
  display: block;
  visibility: hidden;
  height: 0.1px;
  font-size: 0.1em;
  clear: both;
}
#homeFooter {
	clear: both;
	width: auto;
	overflow: hidden;
	margin-top: 50px;
}

#homeFooter #homeFootBg {
	padding-top: 30px;
	background: url(../img/bg_footer_new.gif) repeat-x 0 0 #0060a7;
}

/* cms-footer_small */

.smallfooter #homeFootBg #cms-footer {
	width: 950px;
	margin: 0 auto;
	padding: 0 0 15px;
}
.smallfooter #homeFootBg #cms-footer #footer-info {
	width: 950px;
	margin: 0 auto;
	padding: 0;
	border-top: none;
	overflow: hidden;
}
.smallfooter #homeFootBg #cms-footer #footer-info #copyright {
	box-sizing: border-box;
	width: 420px;
	margin: 1px 0px;
	padding: 5px 5px 0 5px;
	float: left;
	font-family: "メイリオ", Meiryo, Arial, Roboto, "Droid Sans", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", sans-serif !important;
	font-size: 11px;
	color: #fff;
}
.smallfooter #homeFootBg #cms-footer #footer-info #foot-navi {
	font-size: small;
	width: 470px;
	float: right;
	text-align: right;
	margin: 1px 0px;
	padding: 0px;
}

.smallfooter #homeFootBg #cms-footer #footer-info #foot-navi ul li {
	list-style-type: none;
	display: inline;
	background: url(../img/icon_arrowWhite.gif) no-repeat 1px 3px;
	padding: 0 3px 0 12px;
	margin: 0 0 0 5px;
}

.smallfooter #homeFootBg #cms-footer #footer-info #foot-navi ul {
	margin: 0px;
	padding: 0px;
}
/* / cms-footer_small */

/* / cms-footer */

.f_right {
  float: right;
}

#toTop {
  margin: 0 auto;
  text-align: right;
  width: 950px;
}
#toTop img {
  border: none;
  vertical-align: bottom;
}

#homeFooter #homeFootBg #footer-info #foot-navi ul li a {
	color: #fff;
	text-decoration: none;
}
.txtred { color: #CC0000!important; }

@media (max-width:767px) {

	#homeFooter #homeFootBg{
		box-sizing: border-box;
	}
	.smallfooter #homeFootBg #cms-footer #footer-info #foot-navi{
		width: auto;
		text-align: left;
		float: none;
	}
	.smallfooter #homeFootBg #cms-footer #footer-info #foot-navi ul li{
		display: block;
		margin-bottom: 0.5em;

	}
	.smallfooter #homeFootBg #cms-footer #footer-info #copyright{
		text-align: center;
	}

}

@media (max-width:767px) {

  #glife, #cms-header, #form-area, #pan, #cms-footer, #footer-info, #copyright, #form-area .read{
		width: 100% !important;
	}

	#cms-header img{
		width:100%;
		height:auto;
	}
	input:not(.first, .latter), textarea{
		box-sizing:border-box;
		width:100% !important;
	}
	.form-btn input{
		width:auto !important;
	}
	.form-btn a img{
		width:auto;
	}

	/* input[type="checkbox"], */
	input[type="radio"]{
		width:auto !important;
	}

  #toTop {
    width: 50%;
    margin: 0 0 0 auto;
  }
  #toTop img{
		width:100%;
		height:auto;
  }
}