@charset "utf-8";

body{
    background:#fff;
    font-family: YuGothic,'Yu Gothic','Hiragino Kaku Gothic ProN','Noto Sans JP','ヒラギノ角ゴ ProN W3',sans-serif;
	color: #333;
	font-size:1rem;
	line-height:1.6;
    font-weight: 500;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-webkit-text-size-adjust: 100%; 
	word-wrap: break-word;
}

img{
	vertical-align: middle;
}

/* topページ */

.top-main{
	background-image: url(../img/back-top-pc.jpg);
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	/* padding-top: 50vw; */
}

img.fullimg{
	width: 100%;
	max-width: 100%;
}

.top-flex{
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.top-flex-l{
	width: 46%;
	text-align: center;
	padding: 6.9vw 0 4vw 4.8vw;
}

.top-flex-r{
	width: 40%;
}

.top-ttl{
	margin-bottom: 3vw;
	padding-bottom: 1.5vw;
	border-bottom: 0.2vw solid #004893;
}

.top-ttl img{
	padding-right: 14vw;
	filter: drop-shadow(5px 5px 5px #fff);
}

.top-flex-l h1{
	width: 100%;
	margin-bottom: 3vw;
}

.top-flex-l h1 img:first-child{
	padding-bottom: 3vw;
}

.top-flex-l h1 img:last-child{
	padding-right: 7vw;
}

.top-link{
	display: block;
	transition: all 0.3s;
	text-align: center;
	margin: 0 auto 2vw;
	
}

a.top-link{
	display: inline-block;
	position: relative;
	width: 40%;
	background-color: #fff;
	border-radius: 10vw;
}

a.top-link:hover{
	background-color: #FFFF96;
}

.top-flex-r img{
	display: none;
}


@media (orientation: portrait) and (max-width:820px) {

	.top-main{
		background-image: url(../img/back-top1.jpg),url(../img/back-top2.png),url(../img/back-top3.jpg);
		background-repeat: no-repeat;
		background-position: top, bottom, bottom 20vw right 0;
		background-size: 100%, 100%, 100%;
		min-height: 700px;
		padding-bottom: 20vw;
		padding-top: 10vw;
	}

	.top-ttl{
		padding-bottom: 3.5vw;
		border-bottom: 0.8vw solid #004893;
	}

	.top-ttl img{
		padding-right: 23vw;
	}

	.top-flex{
		width: 70%;
		margin: 0 auto;
		height: 100vh;
		min-height: 700px;
	}

	.top-flex-l{
		width: 87%;
		padding: 8vw 0 0 0;
	}

	.top-flex-r{
		width: 6.3%;
	}

	.top-flex-r img{
		display: block;
	}

	.top-flex-l h1{
		width: 100%;
		margin: 6vw auto;
	}
	
	.top-flex-l h1 img:first-child{
		padding-bottom: 5.5vw;
	}

	.top-flex-l h1 img:last-child{
		padding-left: 0;
	}

	a.top-link{
		width: 70%;
	}

}

@media (orientation: portrait) and (max-width:767px) {
	.top-main{
		height: 100vh;
		min-height: 500px;
		padding-bottom: 0;
		padding-top: 0;
		position: relative;
	}

	.top-flex{
		width: 85%;
		margin: 0 auto;
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%,-50%);
		height: 100vh;
		min-height: 500px;
		padding-bottom: 2em;
	}
}


/* ヘッダー */

header{
	background-color: #004893;
	color: #fff;
}

.head-ttl{
	width: 95%;
	max-width: 1000px;
	margin-left: auto;
	margin-right: auto;
	display: flex;
	align-items:baseline;
	height: auto;
	padding-top: 0.5em;
	padding-bottom: 0.2em;
}

.head-ttl h1{
	width: 10%;
	height: auto;
	max-width: 100px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.head-ttl h2{
	padding-left: 0.5em;
	font-weight: normal;
	font-size: 1em;
}

@media screen and (max-width:767px) {
	.head-ttl h1{
		width: 18%;
	}
}

/* main */

#formWrap {
	width: 95%;
	max-width:800px;
	margin:3rem auto;
}

p.form-txt{
	margin-bottom: 0.5em;
}

.kojin-jyoho h3{
	font-size: 1em;
	padding-bottom: 0.5em;
}

.kojin-jyoho p{
	font-size: 0.8em;
	margin-bottom: 0.8em;
}

.kojin-jyoho a{
	text-decoration: none;
	color: #333;
}

.submit-btn {
	/* buttonタグのリセットCSS */
	background-color: transparent;
	border: none;
	cursor: pointer;
	outline: none;
	appearance: none;
  
	color: #fff;
	padding: 8px 24px;
	background-color: #3abec1;
	cursor: pointer; /* ポインターカーソルを表示 */
  }
  

  .submit-btn[disabled] {
	background-color: #ccc;
	cursor: not-allowed; /* クリック不可のカーソルを表示 */
  }

/* フォームのテーブル */

table.formTable{
	width:100%;
	margin:0 auto 1em;
	border-collapse:collapse;
}

table.formTable td,table.formTable th{
	border:1px solid #333;
	padding:0.8em 1em;
	text-align: left;
}

table.formTable th{
	width:30%;
	min-width: 250px;
	font-weight:normal;
	background:#efefef;
	padding:0.8em 0.5em 0.8em 1em;
}

.th-txt{
	font-size: 0.75em;
	padding-left: 0.3em;
	padding-top: 0.5em;
}

.td-txt{
	padding-top: 0.2em;
	padding-left: 0;
	font-size: 0.75em;
}

/* フォームの各要素 */

button, input, select, textarea{
	border: 1px solid #333;
}

input[type="text"],input[type="email"],input[type="tel"], select, textarea{
	width: 100%;
}

input[type="text"],input[type="email"],input[type="tel"]{
	padding-left: 0.5em;
	padding-right: 0.5em;
}

input[type="submit"], input[type="button"], button[type="submit"]{
	background-color: skyblue;
	color: #fff;
	border: none;
	font-size: 1.5em;
	line-height: 2.5;
	padding:0 2em;
	transition: all 0.5s;
	margin-top: 1em;
}

input[type="submit"]:hover, input[type="button"]:hover, button[type="submit"]:hover{
	opacity: 0.7;
}

/* チェックボックス */

#alert-txt, #confirm-txt{
	color: #df0019;
}

  label{
	line-height: 2.3;
  }

  label, input[type="checkbox"] {
    cursor: pointer;
}

  /* チェックボックスデザイン */
input[type="checkbox"] {
	display: none;
  }

  input[type=checkbox] + span {
	display: inline-block;
	cursor: pointer;
	padding-left: 30px;
	position: relative;
  }

  input[type=checkbox] + span::before {
	content: "";
	display: block;
	width: 20px;
	height: 20px;
	border: 1px solid #333;
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
  }
 
  input[type=checkbox] + span::before {
	content: "";
	display: block;
	width: 20px;
	height: 20px;
	border: 1px solid #333;
	border-radius: 3px;
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
  }
  input[type=checkbox] + span::after {
	content: "";
	display: block;
	width: 20px;
	height: 10px;
	border-bottom: 2px solid #333;
	border-left: 2px solid #333;
	position: absolute;
	left: 2px;
	top: 30%;
	transform: translateY(-50%) rotate(-45deg);
	opacity: 0;
	transition: opacity 0.1s;
  }
  
  input[type=checkbox]:checked + span::after {
	opacity: 1;
  }

/* 選択ボックス */

select{
	cursor: pointer;
	border: none;
	padding-left: 1em;
}

.short-select select{
	padding-left: 130px;
}

.form-select{
	display: block;
    position: relative;
    border: 1px solid #333;
    overflow: hidden;
}

.form-select:before{
	position: absolute;
	content: '';
	background-color: #ccc;
	width: 2rem;
	height: 2rem;
	top: 0;
	right: 0;
	border-left: #333 solid 1px;
	pointer-events: none;
	z-index: -1;
}

.form-select:after {
    position: absolute;
    display: block;
    content: '';
    width: 0;
    height: 0;
    /* ここで下向き矢印指定　今回はCSSで */
    border-top: 6px solid transparent;
    border-left: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #333;
    top: 50%;
    right: 10px;
    margin-top: -3px;
    pointer-events: none;/* クリック出来るよう */
	z-index: 1;
}

.form-select.short-select{
	display: inline-block;
	width: 200px;
}

.select-flex{
	display: flex;
}

.select-flex span{
	padding-left: 0.5em;
}

/* 必須マーク */

span.required{
	display: inline-block;
	background-color: #df0019;
	color: #fff;
	padding: 0.1em 1em 0;
	font-size: 0.8em;
	border-radius: 3px;
	margin-right: 0.5em;
}

span.non{
	background-color: rgba(0, 0, 0, 0);
}

/* Thanks page */

.thanks-ttl{
	font-size: 1.2em;
	margin-bottom: 1em;
}

.thanks-txt{
	/* text-align: left; */
}

/*　簡易版レスポンシブ用CSS（必要最低限のみとしています。ブレークポイントも含め自由に設定下さい）　*/
@media screen and (max-width:767px) {

table.formTable th, table.formTable td {
	width:auto;
	display:block;
}

table.formTable td{
	min-height: 53.19px;
}

table.formTable tr th{
	border-bottom: none;
	padding: 0.5em 1em;
}

table.formTable tr:not(:first-child) th{
	border-top: none;
}

.th-txt{
	padding-top: 0.2em;
	padding-left: 0;
}

span.non{
	display: none;
}

form input[type="text"], form input[type="email"], form textarea {
	font-size:16px;
	display:block;
}

input[type="submit"], input[type="button"]{
	font-size: 1.2em;
}

form input[type="submit"], form input[type="reset"], form input[type="button"] {
	/* display:block; */
	/* width:100%; */
	/* height:40px; */
}
}