﻿html {
	height: 100%;//vh
}
body {
	margin: 0;
	margin-right: auto;
	margin-left: auto;
	padding: 0;
	min-height: 100%;
	display: flex;
	flex-direction: column;
	text-align: center;
	height: 100%;
	background: LemonChiffon;
		-webkit-text-size-adjust:100%;
}
.content {
	flex: 1;
	text-align: center;
	margin-right: auto;
	margin-left: auto;
}
header {
	width: 100%;
	background: #ccdd33;
}
main {
	height: 100%;
	width: 80%;
	margin-right: auto;
	margin-left: auto;
	text-align: center;
	background: LemonChiffon;
		min-width: 270px;
}
mainr {
	height: 100%;
	width: 100%;
	margin-right: auto;
	margin-left: auto;
	text-align: center;
	background: LemonChiffon;
}
footer {
	width: 100%;
	margin: 0;
	background: Crimson;
	color: white;
}
spaceofbutton {
	margin: 0;
	padding-bottom: 40px;
	background: LemonChiffon;
}
.titlelogoimg {
	padding-top: 100px;
	padding-bottom: 360px;
	padding-left: auto;
	padding-right: auto;
	height: 180px;
	max-width: 1200px;
	width: 100%;
}
.logo2img {
	padding-top: 30px;//100px;
	padding-bottom: 30px;
	padding-left: auto;
	padding-right: auto;
	//max-width: 80%;
	width: 80%;
}
.explainimg {
//	padding-top: 100px;
//	padding-bottom: 360px;
	padding-left: auto;
	padding-right: auto;
//	height: 180px;
//	max-width: 1200px;
	width: 100%;
}
//画像と画像の間の空間を制御するボックスを作る
.upsidebox {
	height: 150px;
}
.formcontainer {
	padding-bottom: 30px;
}
.messagecontainer {
	text-align: center;
}
.messagecontainer::after {
  content: "\A" ;
  white-space: pre;
}
.ontheimage {
  margin: 0;
  padding: 0;
  width: auto;//300px;        /* 画像の横幅（自由に指定） */
  height: auto;
  position: relative;  /* 帯の表示位置の基準とする */
  text-align: center;
  margin-bottom: -7px;

}

.ontheimage img {
  width: 100%;
  //height: 100%;
}

.ontheimage p {
	animation-name: fadeupAnime;
	animation-duration: 2s;
	animation-fill-mode: forwards;
	opacity: 0;
  color: #fff;
  text-align: center;
  width: 100%;         /* 画像の幅に合わせるため */
  padding: 30px 0;
  position: absolute;  /* relativeの要素を基準にする */
  left: 0;             /* 基準からみて左寄せ */
  bottom: 40%;//0;           /* 基準からみて下寄せ */
  background: rgba(0,0,0,0.5);  /* 半透明の背景。 */
	margin-right: auto;
	margin-left: auto;
}
@keyframes fadeupAnime {
	from {
		opacity: 0;
		transform: translateY(500px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.btn-square-so-pop {
  position: relative;
  display: inline-block;
  padding: 0.5em 1em;
  text-decoration: none;
  color: #FFF;
  background: #fd9535;/*色*/
  border-radius: 4px;/*角の丸み*/
  box-shadow: inset 0 2px 0 rgba(255,255,255,0.2), inset 0 -2px 0 rgba(0, 0, 0, 0.05);
  font-size: 1.2em;
  font-weight: bold;
  border: solid 2px #d27d00;/*線色*/
}
.btn-square-so-pop:active {
  /*押したとき*/
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.30);
}

.btn-square-so-pop2 {
  position: relative;
  display: inline-block;
  padding: 0.5em 1em;
  text-decoration: none;
  color: #FFF;
  background: #ff66cc;/*色*/
  border-radius: 4px;/*角の丸み*/
  box-shadow: inset 0 2px 0 rgba(255,255,255,0.2), inset 0 -2px 0 rgba(0, 0, 0, 0.05);
  font-size: 1.2em;
  font-weight: bold;
  border: solid 2px #ff0099;/*線色*/
}
.btn-square-so-pop2:active {
  /*押したとき*/
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.30);
}

.btn-square-so-pop3 {
  //text-align: right;
  align: right;
  position: relative;
  display: inline-block;
  margin: 0,0,0,auto;
  padding: 0.5em 1em;
  text-decoration: none;
  color: #FFF;
  background: #fd9535;/*色*/
  border-radius: 4px;/*角の丸み*/
  box-shadow: inset 0 2px 0 rgba(255,255,255,0.2), inset 0 -2px 0 rgba(0, 0, 0, 0.05);
  font-size: 1.2em;
  font-weight: bold;
  border: solid 2px #d27d00;/*線色*/
}
.btn-square-so-pop3:active {
  /*押したとき*/
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.30);
}

input, select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
select {
 text-decoration: none;
 background-color: white;
 border: 2px solid gray;
 color: #000;
 font-size: 1em;
 //position: relative;
 //width: 100%;
 //height: 100%;
 //margin-top: 4px;
 padding-top: 4px;
}


.box-wrapper {
	width: 100%;
	padding-left: auto;
	padding-right: auto;
	text-align: center;
}
.box1 {
	display: inline-block;
	border: #888 1px solid;
	//border: #fff 1px solid;
	//border: #000 1px solid;
	//background: rgba(255, 255, 255, 0.3);
	//background: rgba(255, 255, 255, 0.7);
	//background: rgba(0, 0, 0, 0.3);
	background: rgba(0, 0, 0, 0.1);
	//background-color: #000;
	//color: #fff;
	color: #000;
	border-radius: 0.5em;
	padding-left: 12px;
	padding-right: 12px;
	padding-top: 6px;
	padding-bottom: 6px;
}

.boxguide {
  width: 90%;
  padding: 5%;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  -webkit-backdrop-filter: blur(10px); /* ぼかしエフェクト */
  backdrop-filter: blur(10px);
  box-shadow: 0 0 10px rgba(248, 68, 157, 0.5); /* 薄い影 */
}

.boxctrl {
	display: inline-block;
	//height :
	//text-align: left;
	width: 80%
	//background: MintCream;
	//border: 1px solid;// ,MintCream;
	//background-color: rgba(255, 255, 255, 0.1);
	//border: 1px solid rgba(255, 255, 255, 0.4);
}
.boxctrl::after {
  content: "\A" ;
  white-space: pre;
}
.boxinctrl {
	padding: 3px;
	//font-weight: bold;
	border: solid 1px orange;/**/
	border-radius: 20px;
	background: #fff5e5;/*背景色*/
}
.dashedline {
	border: dashed 1px orange;/**/
	//min-width: 150px
}

.attentionstr {
	color: FireBrick;
}
.required {
	color: Black;//Red;//FireBrick;
}
.required::after {
	color: Red;//FireBrick;
	content: "*";
}
.question {
	height: 16px;
	width: 16px;
	vertical-align: sub;
	//middle;
	//text-bottom;
}

input[type="radio"] {
  position: relative;
  width: 16px;
  height: 16px;
//  border: 1px solid #000;
  border: 1px solid orange;
  border-radius: 50%;
  vertical-align: -2px;
  //padding-bottom: 3px;
  //margin-bottom: 2px;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

input[type="radio"]:checked:before {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
//  background: #000;
  background: orange;
  content: '';
}

.form-input-label {
//	display:inline-block;
	margin: 0.4rem 0;
//	margin-bottom: 0.4em;
}
//.form-input-label::after {
//	white-space: pen;
//}
.form-input1 {
//	display:inline-block;
//	margin: 0.4rem 0;
	margin-top: 0.4em;
	margin-bottom: 1em;
}
.form-inputi {
	border: inset 2px;
	border-radius: 0.5em;
	font-size: 16px;
	ime-mode: inactive;
}
.form-inputi:focus {
	border: inset 2px;
	border-radius: 0.5em;
	font-size: 16px;
	box-shadow: 0 0 10px 1px rgba(100,100,65, .5);
}
.form-inputa {
	border: inset 2px;
	border-radius: 0.5em;
	font-size: 16px;
	ime-mode: active;
}
.form-inputa:focus {
	border: inset 2px;
	border-radius: 0.5em;
	font-size: 16px;
	box-shadow: 0 0 10px 1px rgba(100,100,65, .5);
}
.form-inputd {
	border: inset 2px;
	border-radius: 0.5em;
	font-size: 16px;
	ime-mode: inactive;
		min-width: 100px;
		height: 16px;
}
.form-inputd:focus {
	border: inset 2px;
	border-radius: 0.5em;
	font-size: 16px;
	box-shadow: 0 0 10px 1px rgba(100,100,65, .5);
}

.select-box8 {
	display: inline-block;
	position: relative;
	border: inset 2px;
	border-radius: 0.5em;
	font-size: 16px;
	margin-top: 0;//3px;
	padding-top: 0;//1px;
	padding-bottom: 0;//1px;
	background: #fff;
	//text-align: left;
	width: 9em;//100px;//4.5em;
}
.select-box8::before {
	content: "";
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 5px 5px 0 5px;
	border-color: orange transparent transparent transparent;
	position: absolute;
	top: 50%;
	right: 5px;
	transform: translateY(-50%);
	pointer-events: none;
}
.select-box4 {
	display: inline-block;
	position: relative;
	border: inset 2px;
	border-radius: 0.5em;
	font-size: 16px;
	margin-top: 0;//3px;
	padding-top: 0;//1px;
	padding-bottom: 0;//1px;
	background: #fff;
	//text-align: left;
	width: 55px;//4.5em;
}
.select-box4::before {
	content: "";
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 5px 5px 0 5px;
	border-color: orange transparent transparent transparent;
	position: absolute;
	top: 50%;
	right: 5px;
	transform: translateY(-50%);
	pointer-events: none;
}
.select-box2 {
	display: inline-block;
	position: relative;
	border: inset 2px;
	border-radius: 0.5em;
	font-size: 16px;
	margin-top: 0;//3px;
	padding-top: 0;//1px;
	padding-bottom: 0;//1px;
	background: #fff;
	//text-align: left;
	width: 38px;//4.5em;
}
.select-box2::before {
	content: "";
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 5px 5px 0 5px;
	border-color: orange transparent transparent transparent;
	position: absolute;
	top: 50%;
	right: 5px;
	transform: translateY(-50%);
	pointer-events: none;
}
.form-select {
	//border-radius: 5px, 5px, 5px, 5px;//50%;
	//border-color: #000;
	border-radius: 8%;

	border: none;
	font-size: 16px;
	margin-top: 0px;
	margin-bottom: 0px;
	padding-top: 0;//1px;
	padding-bottom: 1px;
	padding-left: 2px;
	width:100%;
}
.form-select::-ms-expand {
	display: none;
}
.form-select:focus {
	//border: inset 2px;
	//border-radius: 0.5em;
	//font-size: 16px;
	box-shadow: 0 0 10px 1px rgba(100,100,65, .5);
}
table {
	border-collapse: collapse;
	border: solid 2px orange;/*表全体を線で囲う*/
	background: white;
}
table th, table td {
	border: solid 1px orange;/**/
	/*破線 1px オレンジ*/
}
th {
	//color: #FF9800;/*文字色*/
	background: #fff5e5;/*背景色*/	
}
tr {
	//color: #FF9800;/*文字色*/
	//background: AntiqueWhite;/*背景色*/	
	//background: Line;/*背景色*/	
	background: FloralWhite;/*背景色*/	
	//background: GhostWhite;/*背景色*/	
}

@media screen and (max-width: 959px) {
	/* 959px以下に適用されるCSS（タブレット用） */
 .titlelogoimg {
	padding-top: 100px;
	//padding-bottom: 150px;
	max-width: 80%;
		height: 100px;
		width: 100%;//auto;
 }
 .logo2img {
	padding-top: 30px;//100px;
	padding-bottom: 30px;
	max-width: 80%;
		height: 30px;
		width: 100%;//auto;
 }
//select {
//  -webkit-appearance: none;
//  -moz-appearance: none;
//  appearance: none;
//}
 select {
	text-decoration: none;
	background-color: white;
	border: 1px solid gray;
	border-radius: 5px;
	color: #000;
	font-size: 1em;
	//position: relative;
	//width: 100%;
	//height: 100%;
 }
 span.notreturn {
	display: inline-block;
 }
}
@media screen and (max-width: 640px) {
	/* 480px以下に適用されるCSS（スマホ用(iPhone5s)） */
 .titlelogoimg {
	padding-top: 100px;
	padding-bottom: 150px;
	//max-width: 80%;
	height: 130px;
	width: 100%;//auto;
 }
 .logo2img {
	padding-top: 0;
	padding-bottom: 30px;
	max-width: 80%;
	height: 30px;
	width: 100%;//auto;
 }
}
@media screen and (max-width: 480px) {
	/* 480px以下に適用されるCSS（スマホ用） */
 .titlelogoimg {
	padding-top: 100px;
	padding-bottom: 150px;
//	max-width: 80%;
	height: 130px;
		width: 100%;//auto;
 }
 .logo2img {
	padding-top: 0;
	padding-bottom: 10px;
	max-width: 80%;
	height: 40px;
		width: 100%;//auto;
 }
}
@media screen and (max-width: 400px) {
	/* 400px以下に適用されるCSS（スマホ用） */
 .titlelogoimg {
	padding-top: 50px;
	padding-bottom: 70px;
	max-width: 90%;
	height: 130px;
	width: 100%;//auto;
 }
 .logo2img {
	padding-top: 0;
	padding-bottom: 10px;
	max-width: 70%;
	height: 40px;
	width: 100%;//auto;
 }
}
@media screen and (min-width:960px) { 
    /*　画面サイズが960pxからはここを読み込む　*/
main {
	max-width: 1024px;
		min-width: 800px;
}
.titlelogoimg {
	//padding-top: 100px;
	//padding-bottom: 360px;
	padding-bottom: 100px;
}
 .ontheimage {
	padding: 0;
//	margin-bottom: -7px;
//	max-width: 150%;
	width: auto;//60%;//300px;        /* 画像の横幅（自由に指定） */
	height: auto;//100%;//auto;
	position: relative;  /* 帯の表示位置の基準とする */
	text-align: center;
	zoom: 150%;
	margin-left: 10%;
	margin-right: 10%;
 }
}
@media screen and (max-height: 600px) {
	/* 400px以下に適用されるCSS（スマホ用） */
 .titlelogoimg {
	padding-top: 0px;
	padding-bottom: 30px;
	max-width: 90%;
	height: 130px;
	width: 100%;//auto;
 }
 .logo2img {
	padding-top: 0;
	padding-bottom: 10px;
	max-width: 70%;
	height: 40px;
	width: 100%;//auto;
 }
}
