@charset "UTF-8";


/* -----------------共通項目---------------------*/

* { 
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.box-row {
	display:flex;
	background-color:#C99;
	flex-direction:row;
	font-size:140%;
}

.box-column {
	display:flex;
	flex-direction:column;
	font-size:140%;
}


::placeholder {
	color:#b4b4b4;
}


:focus {
    outline: none;
}
/* -----------------グローバルフェスタジャパン2024項目---------------------*/

html {
	height:100%;
}

body {   
    min-height: 100vh;
	/*
	font-family: "BIZ UDPGothic", sans-serif;
	font-weight: 700;
	*/

	font-family: "Noto Sans JP", sans-serif;
	font-optical-sizing: auto;
	font-weight:600;
	font-style: normal;
	overflow:hidden;
	background-color:#FFF;
	padding-bottom:5rem;
	position:relative;
	}


#color-line{
	background-color: #666666;
	position:relative;
}

#color-line h1{
	font-size:200%;
	color:#fff;
	padding:0em 1em;
	font-weight:bold;
	line-height:1.4em;
}

#color-line::after {
    content: "";
    position:absolute;
    top:100%;
    bottom: 0%;
    left: 50%;
    width: 100%;
    transform: translate(-50%, -2px);
    z-index: 2;
    line-height: 1;
    background-image: url(../image/wave_top_c.svg);
    background-position: center center;
    background-size: cover;
    background-repeat:repeat-x;
    height: 2.3vw;
}



section {
    width: 100%;
	min-width:375px;
	margin:0;
}

section .inner{
    width:calc(100% - 2em);
	max-width:960px;
	margin:0 auto;
}


/* -----------------キービジュアル---------------------*/

#head-pic {}

#head-pic img{
	display:block;
	width:100%;
	}


/* -----------------カスタムセレクト---------------------*/
/*
.custom-select {
  position: absolute;
  display: inline-block;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
*/
.center {
  position: absolute;
  display: inline-block;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

.custom-select-wrapper {
  position: relative;
  display: inline-block;
  display:block;
  user-select: none;
}
  .custom-select-wrapper select {
    display: none;
  }
  .custom-select {
    position: relative;
    display: inline-block;
	display:block;
	z-index:99;
  }
  
  .custom-select.opened {
    z-index:999;
  }
  
    .custom-select-trigger {
		position: relative;
		display: block;
		/*width: 130px;*/
		padding: 0 2.5em 0 0.5em;
		font-size: 2rem;
		color: #333;
		line-height: 2.5em;
		background: #f4f4f4;
		border: 2px solid #666666;
		border-radius: 0.3em;
		cursor: pointer;
		
		font-family: "Noto Sans JP", sans-serif;
		
    }
	
	.custom-select-trigger::placeholder {
		color: #f00;
		
    }
	
  .custom-select-trigger:after {
	position: absolute;
	display: block;
	content: '';
	width: 10px; height: 10px;
	top: 50%; right: 20px;
	margin-top: -3px;
	border-bottom: 1px solid #666666;
	border-right: 1px solid #666666;
	transform: rotate(45deg) translateY(-50%);
	transition: all .4s ease-in-out;
	transform-origin: 50% 0;
  }
  .custom-select.opened .custom-select-trigger:after {
	margin-top: 3px;
	transform: rotate(-135deg) translateY(-50%);
  }
	  
  .custom-options {
	  height:0;
	  overflow:hidden;
    position: absolute;
    display: block;
    top: 100%; left: 0; right: 0;
    min-width: 100%;
    margin: 2px 0;
    border: 1px solid #b5b5b5;
    border-radius: 4px;
    box-sizing: border-box;
    box-shadow: 0 2px 1px rgba(0,0,0,.07);
    background: #fff;
    transition: all .4s ease-in-out;
    
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-15px);
  }
  .custom-select.opened .custom-options {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateY(0);
	height:auto;
	max-height:25vh;
	overflow:scroll;
  }
  /*オーバーフロースクロールするため不必要*/
  /*
    .custom-options:before {
      position: absolute;
      display: block;
      content: '';
      bottom: 100%; right: 25px;
      width: 7px; height: 7px;
      margin-bottom: -4px;
      border-top: 1px solid #b5b5b5;
      border-left: 1px solid #b5b5b5;
      background: #fff;
      transform: rotate(45deg);
      transition: all .4s ease-in-out;
    }
    .option-hover:before {
      background: #f9f9f9;
    }
	
	*/
	
    .custom-option {
      position: relative;
      display: block;
      padding: 0 22px;
      border-bottom: 1px solid #b5b5b5;
      font-size: 18px;
      color: #b5b5b5;
      line-height: 47px;
      cursor: pointer;
      transition: all .4s ease-in-out;
    }
    .custom-option:first-of-type {
      border-radius: 4px 4px 0 0;
    }
    .custom-option:last-of-type {
      border-bottom: 0;
      border-radius: 0 0 4px 4px;
    }
    .custom-option:hover,
    .custom-option.selection {
      background: #f9f9f9;
    }

/* -----------------メッセージエリア---------------------*/

.message_area{
	width:100%;
	margin:1em auto;
	padding:1em;
	font-size:16px;
	line-height:1.5em;
	background-color:#f4f4f4;
	border-radius:0.5em;
	}
	

.message_area .text_area + .photo_area,
.message_area .photo_area + .text_area{
	margin-top:1em;
}


/* -----------------メッセージエリア---------------------*/

.mein_error{
	width:100%;
	margin:1em auto;
	padding:1em;
	font-size:16px;
	line-height:1.5em;
	background-color:#f4f4f4;
	border-radius:0.5em;
	}

.mein_error p{
	font-size:1.6rem;
	}

.mein_error p::before{
	content:"●";
	margin-right:0.3em;
	}

.mein_error p:last-child{
	margin-bottom:0;
	}
	
/* -----------------画面構成要素---------------------*/

input[type='text'],textarea{
	
	font-family: "Noto Sans JP", sans-serif;
	font-weight:600;
	
}


input[type='text']{
	width:100%;
	margin:0em 0;
	padding:0.5em 0.5em;
	font-size:2rem;
	border: 2px solid #666666;/*
	border-color:#ccc;
	border-width:2px;
	border-style:solid;
	*/
    border-radius: 0.3em;
	background-color:#f4f4f4;
}

/* -----------------年齢入力---------------------*/

.age {
	position:relative;
	display:inline-block;
	
	}
.age input[type='text']{
	width:auto;
}
.age::after{
	content:"歳";
	position:absolute;
	top:50%;
	right:0;
	transform: translate(-50%, -50%);
	font-size:2rem;
}
	
textarea{
	width:100%;
	margin:0em 0;
	padding:0.5em 0.5em;
	font-size:2rem;
	background-color:#f4f4f4;
	border: 2px solid rgba(218,34,28,1);
    border-radius: 0.3em;
}

#wrap {
	display:block;
	width:100%;
}


#color-line {
    margin: 0;
    padding: 2rem 0;
    width: 100%;
}

#color-line .inner{
    width: 100%;
	max-width:1200px;
	margin:0 auto;
	padding:0.5em 1em;
	line-height:1.2em;
	color:#fff;
	font-size:200%;
	text-align:center;
}

#color-line .inner p{
	display:inline-block;
	text-align:left;
}

/*===============================================
●画面の横幅が801px以上
===============================================*/
@media screen and (min-width: 801px){

}
/*===============================================
●画面の横幅が800px以上
===============================================*/
@media screen and (max-width: 800px){

}
/*===============================================
●画面の横幅が320pxまで
===============================================*/
@media screen and (max-width: 320px){

}


/*===============================================
●画面の横幅が801px以上
===============================================*/
@media screen and (min-width: 801px){

}
/*===============================================
●画面の横幅が460pxまで
===============================================*/
@media screen and (max-width: 800px){

}

/*===============================================
●画面の横幅が460pxまで
===============================================*/
@media screen and (max-width: 320px){

}

/*チェックを入れると兄弟要素に変化させる*/
#radio_check_content01,
#radio_check_content02,
#radio_check_content03,
#radio_check_content04,
#radio_check_content05,
#radio_check_content06,
#radio_check_content07,
#radio_check_content08,
#radio_check_content09,
#radio_check_content10,
#radio_check_content11,
#radio_check_content12,
#radio_check_content13,
#radio_check_content14,
#radio_check_content15,
#radio_check_content16,
#radio_check_content17,
#radio_check_content18,
#radio_check_content19,
#radio_check_content20,
#checkbox_check_content01,
#checkbox_check_content02,
#checkbox_check_content03,
#checkbox_check_content04,
#checkbox_check_content05,
#checkbox_check_content06,
#checkbox_check_content07,
#checkbox_check_content08,
#checkbox_check_content09,
#checkbox_check_content10,
#checkbox_check_content11,
#checkbox_check_content12,
#checkbox_check_content13,
#checkbox_check_content14,
#checkbox_check_content15,
#checkbox_check_content16,
#checkbox_check_content17,
#checkbox_check_content18,
#checkbox_check_content19,
#checkbox_check_content20{
	display:none;
}

input[type=radio]:checked ~ #radio_check_content01,
input[type=radio]:checked ~ #radio_check_content02,
input[type=radio]:checked ~ #radio_check_content03,
input[type=radio]:checked ~ #radio_check_content04,
input[type=radio]:checked ~ #radio_check_content05,
input[type=radio]:checked ~ #radio_check_content06,
input[type=radio]:checked ~ #radio_check_content07,
input[type=radio]:checked ~ #radio_check_content08,
input[type=radio]:checked ~ #radio_check_content09,
input[type=radio]:checked ~ #radio_check_content10,
input[type=radio]:checked ~ #radio_check_content11,
input[type=radio]:checked ~ #radio_check_content12,
input[type=radio]:checked ~ #radio_check_content13,
input[type=radio]:checked ~ #radio_check_content14,
input[type=radio]:checked ~ #radio_check_content15,
input[type=radio]:checked ~ #radio_check_content16,
input[type=radio]:checked ~ #radio_check_content17,
input[type=radio]:checked ~ #radio_check_content18,
input[type=radio]:checked ~ #radio_check_content19,
input[type=radio]:checked ~ #radio_check_content20,
input[type=radio]:checked ~ #radio_check_content21,
input[type=checkbox]:checked ~ #checkbox_check_content01,
input[type=checkbox]:checked ~ #checkbox_check_content02,
input[type=checkbox]:checked ~ #checkbox_check_content03,
input[type=checkbox]:checked ~ #checkbox_check_content04,
input[type=checkbox]:checked ~ #checkbox_check_content05,
input[type=checkbox]:checked ~ #checkbox_check_content06,
input[type=checkbox]:checked ~ #checkbox_check_content07,
input[type=checkbox]:checked ~ #checkbox_check_content08,
input[type=checkbox]:checked ~ #checkbox_check_content09,
input[type=checkbox]:checked ~ #checkbox_check_content10,
input[type=checkbox]:checked ~ #checkbox_check_content11,
input[type=checkbox]:checked ~ #checkbox_check_content12,
input[type=checkbox]:checked ~ #checkbox_check_content13,
input[type=checkbox]:checked ~ #checkbox_check_content14,
input[type=checkbox]:checked ~ #checkbox_check_content15,
input[type=checkbox]:checked ~ #checkbox_check_content16,
input[type=checkbox]:checked ~ #checkbox_check_content17,
input[type=checkbox]:checked ~ #checkbox_check_content18,
input[type=checkbox]:checked ~ #checkbox_check_content19,
input[type=checkbox]:checked ~ #checkbox_check_content20{
	display:block;
}


/* -----------------ステップ表示---------------------*/


#step {
	display:flex;
	justify-content: space-between;
	width:60%;
	min-width:300px;
	height:3em;
	margin:4em auto 2em;
	position:relative;
}

#step::before{
	content:"";
	display:block;
	width:100%;
	height:10%;
	background-color:rgb(40,40,40);
	position:absolute;
	top:50%;
	left:0;
	transform: translate(-0%, -50%);
}

#step > div{
	position:relative;
	border-radius:50%;
	height:3em;
	width:3em;
}

#step > div{
	background-color:rgb(40,40,40);
	display:block;
}

body#input #step > div:nth-child(1){
	background-color:#bc2e22;
	display:block;
}

body#confirm #step > div:nth-child(2){
	background-color:#bc2e22;
	display:block;
}

body#complete #step > div:nth-child(3){
	background-color:#bc2e22;
	display:block;
}



#step > div p{
	position:absolute;
	top:0;
	left:50%;
	transform: translate(-50%, -130%);
	font-family: "BIZ UDPGothic", sans-serif;
	font-weight:bold;
	font-size:140%;
	font-weight:bold;
}

@media screen and (max-width: 800px){
#step {height:2.5em;}
#step > div{height:2.5em;width:2.5em;}
#step > div p{font-size:150%;}
}

@media screen and (max-width: 600px){
#step {height:2em;}
#step > div{height:2em;width:2em;}
#step > div p{font-size:100%;}
}

/* -----------------コンテンツ---------------------*/

.photo_area {
	width: 100%;
}

.photo_area img{
	width: 100%;
}


/* -----------------NEWSなど＆フリースペース他----------------- */


section#form_content {}

section#form_content .inner {
	padding-bottom:5rem;
}

	
/*コンテンツ内の写真エリア*/
.contents .photo_area{
	width:90%;
	margin:1em auto;
	float:none;
	}
.contents .photo_area img{
	width:100%;
	height:auto;
	margin:0 !important;
	border:none !important;
	
	}


/* -----------------サブミットボタン---------------------*/
#submit_content {}

#submit_content .inner{
	padding:3rem 0;
	border-top:1px solid #666666;
}

.submit {
	margin: 0 auto 1em;
	padding:0px;
	width: 100%;
	min-width:200px;
}

#submit_content .submit:last-child{
	margin: 0 auto 0;
}

.submit .btn{
	width: 100%;
	max-width:20em;
	margin:0 auto 1em;
	position:relative;
}

.submit .btn a{
	display:block;
	width: 100%;
	margin:0;
	padding:1em 1em;
	background-color:#666;
	color:#fff;
	text-align:center;
	font-size:140%;
	font-weight:900;
	border-radius:0.5em;
	cursor: pointer;
	text-decoration:none;
}

.submit .btn a:hover{
	background-color:#f00 !important;
}

.submit .btn #check{
	position:absolute;
	top:50%;
	right:-1em;
	transform: translate(100%, -50%);
	font-size:120%;
}

@media screen and (max-width: 500px){
	
	.submit .btn #check{
	position:relative;
	top:0;
	left:50%;
	margin-top:0em;
	transform: translate(-50%, 0%);
	text-align:center;
}
	
}


/* -----------------アコーディオン---------------------*/

.submit #accordion {
	width:90%;
	max-width:960px;
	margin:0 auto;
	background-color:#f4f4f4;
	padding:2em;
	border-radius:1em;
	display:none;
	position:relative;
}
/*
.submit #accordion u{
	font-weight:900;
	font-size:140%;
	text-decoration:none;
}

.submit #accordion u::before{
	content:"●";
	margin-right:0.5em;
}
*/

.submit #accordion #check{
	display:block;
	width:100%;
	text-align:center;
	padding-top:2em;
}

.submit #accordion #check p{
	background-color:#6CF;
	font-size:120%;
	display:inline-block;
}

.submit #accordion .close{
	display:block;
	width:3rem;
	height:3rem;
	position:absolute;
	top:5px;
	right:5px;
	background-color:#666;
	border:3px solid #fff;
	border-radius:50%;
}

.submit #accordion .close img{
	display:block;
	width:100%;
}



/* -----------------ラジオ装飾---------------------*/

input[type="radio"] + label,
input[type="checkbox"] + label {
	display:inline-block;
	position: relative;
	cursor: pointer;
	padding:0.5em 0 0.5em 2.5em;
	margin:0.3em 0;
	word-break:break-word;
}

input[type="radio"] + label::before,
input[type="radio"] + label::after {
  content: "";
  display: block; 
  border-radius: 50%;
  position: absolute;
  transform: translate(-50%, -50%);
  top: 50%;
}

input[type="radio"] + label::before {
  background-color: #fff;
  border: 1px solid #666666;
  border-radius: 50%;
  width: 1.4em;
  height: 1.4em;
  left: 1em;
}

input[type="radio"] + label::after {
  background-color: #666666;
  border-radius: 50%;
  opacity: 0;
  width: 0.1em;
  height: 0.1em;
  left: 1em;
  transition:all .3s ease;
}

input[type="radio"]:checked + label::after {
  opacity: 1;
  width: 1em;
  height: 1em;
}



input[type="checkbox"] + label::before,
input[type="checkbox"] + label::after {
  content: "";
  display: block; 
  position: absolute;
  transform: translate(-50%, -50%);
  top: 50%;
}

input[type="checkbox"] + label::before {
  background-color: #fff;
  border: 1px solid #666666;
  width: 1.4em;
  height: 1.4em;
  left: 1em;
}

input[type="checkbox"] + label::after {
  border: 5px solid #666666;
  opacity: 0;
  width: 0.1em;
  height: 0.2em;
  top:50%;
  left: 0.7em;
  transform: translate(-10%, -60%) rotate(40deg);
  transition:all .1s ease;
  border-top:none;
  border-left:none;
}

input[type="checkbox"]:checked + label::after {
  opacity: 1;
  top:48%;
  left:0.8em;
  width: 0.4em;
  height: 1.2em;
}

.hidden,
input[type="radio"],
input[type="checkbox"] {
 position: absolute;
 white-space: nowrap;
 border: 0;
 clip: rect(0 0 0 0);
 clip-path: inset(50%);
 overflow: hidden;
 height: 1px !important;
 width: 1px !important;
 margin: -1px;
 padding: 0;
}


/*定員に達した時の対応*/

.disabled input[type="checkbox"],
.disabled input[type="checkbox"] + label,
.disabled input[type="radio"],
.disabled input[type="radio"] + label {
	pointer-events: none;
}
.disabled input[type="checkbox"] + label::before,
.disabled input[type="radio"] + label::before {
    border: 1px solid #969696 !important;
}

.disabled span.limit {
	color:#e00;
	padding-left:1em;
}
.disabled span.limit::before {
	content:"※";
}



.submit #kakunin_btn_disable,
.submit #kakunin_btn_enabled {
    width: 100%;
    max-width: 20em;
    margin: 0 auto 0;
    position: relative;
}

.submit #kakunin_btn_disable a,
.submit #kakunin_btn_enabled a{
	display:block;
	width: 100%;
	margin:0;
	padding:1em 1em;
	background-color:#666666;
	color:#fff;
	text-align:center;
	font-size:140%;
	font-weight:bold;
	border-radius:0.5em;
	text-decoration:none;
}

.submit #kakunin_btn_disable a:hover,
.submit #kakunin_btn_enabled a:hover {
  background-color: #f00 !important;
}


.submit #kakunin_btn_disable.disable a,
.submit #kakunin_btn_enabled.disable a:hover{
	background-color: gray !important;
	cursor: not-allowed;
}


#color-line {
	margin:0;
	padding:0;
	width: 100%;
}


/*個人情報ありの場合*/
#privacy-check {display:block;}
#privacy-submit {display:block;}
#no-privacy-submit {display:none;}

/*個人情報なしの場合*/
.no-privacy #privacy-check {display:none;}
.no-privacy #privacy-submit {display:none;}
.no-privacy #no-privacy-submit {display:block;}






/*----------------------------------------
アンケートページ関係
----------------------------------------*/

.question{
	width:100%;
	margin:0 auto;
	padding: 0 0 5px 0;
}
.question ul {
	display:block;
	margin:0 auto;
	padding:0;
}
.question ul li{
	margin:0;
	padding:0;
	list-style:none;
}


/*横並びするとき*/
.question ul.sbs {
	display:flex;
	justify-content: space-between;
}

.question ul.sbs li {
	width:calc(50% - 0.5em);
}



/* -----------------郵便番号　都道府県入力---------------------*/

.question ul.add {
	display:flex;
	justify-content: flex-start;
}

.question ul.add li:first-child {
	width:20rem;
	padding-right:1em;
}

.question ul.add li:first-child > div{
	position:relative;
}

.question ul.add li:first-child input[type='image']{
	display:block;
	position:absolute;
	top:50%;
	right:1rem;
	transform: translateY(-50%) translateX(-0%);
	width:5em;
	background-color:#39C;
	border-radius:0.3em;
}

.question ul li p{
	font-weight:bold !important;
}


/*===============================================
●画面の横幅が801px以上
===============================================*/
@media screen and (min-width: 801px){
	
}
/*===============================================
●画面の横幅が800pxまで
===============================================*/
@media screen and (max-width: 800px){
	
}
/*===============================================
●画面の横幅が320pxまで
===============================================*/
@media screen and (max-width: 320px){
	
}


/*===============================================
●画面の横幅が801px以上
===============================================*/
@media screen and (min-width: 801px){
	
}
/*===============================================
●画面の横幅が321px以上
===============================================*/
@media screen and (min-width: 321px){

}
/*===============================================
●画面の横幅が320pxまで
===============================================*/
@media screen and (max-width: 320px){

}




/*===============================================
●画面の横幅が801px以上
===============================================*/
@media screen and (min-width: 801px){

}
/*===============================================
●画面の横幅が800px以上
===============================================*/
@media screen and (max-width: 800px){

}
/*===============================================
●画面の横幅が320pxまで
===============================================*/
@media screen and (max-width: 320px){

}

/*===============================================
●画面の横幅が801px以上
===============================================*/
@media screen and (min-width: 801px){

}

/*===============================================
●画面の横幅が321px以上
===============================================*/
@media screen and (min-width: 321px){

}

/*===============================================
●画面の横幅が320pxまで
===============================================*/
@media screen and (max-width: 320px){

}
	


/* -----------------設問BOX---------------------*/

.question {
	display:block;
    width: 100%;
    margin: 0 auto;
    padding: 2em 0;
}

.question h2{
    width: 100%;
    margin: 0 auto 1em;
    padding: 0.7em 1em 0.7em 5.5em;
	background-color:#666666;
	border-radius:0.5em;
	position:relative;
	z-index:1;
}

.question h2 span{
	font-size:180%;
	font-weight:bold;
	position:relative;
	color:rgba(255,255,255,1);
	display:inline-block;
	padding-right:0em;
	font-weight:900;
	font-style: normal;

}

.question h2::before{
	content:"";
	display:block;
	position:absolute;
	top:50%;
	left:1em;
	transform: translateY(-50%) translateX(-0%);
	height:1.5em;
	width:3em;
	background-color:#fff;
	margin:0;
	padding:0.2em 0.3em;
	border-radius:0.3em;
	color:#333;
	/*background-image:url(../img/common/q01.svg);*/
	background-repeat:no-repeat;
	background-size:contain;
}

.nonum .question h2::before{
	content:"";
	display:none;
}
.nonum .question h2 {
    padding: 0.7em 1em 0.7em 1em;
}

/*項目説明文*/
.question p.explain {
	font-size:120%;
	margin-bottom:1em;
	line-height:1.4em;
}
/*補足説明文*/
.caution {
	margin:0.5em 0 0;
	font-size:100%;
	line-height:1.4em;
}

/*注意文*/
.warning {
	margin:0.5em 0 0;
	font-size:100%;
	line-height:1.2em;
}

.question .block {
	margin-bottom:1em;
}
.question .block:last-child {
	margin-bottom:0;
}


/* -----------------必須表記---------------------*/

.question.need h2 span{
	padding-right:4em;
}
.question.need h2 span::after {
	content:"【必須】";
	position:absolute;
	font-size:80%;
	top:50%;
	right:0;
	transform: translateY(-50%) translateX(-0%);
}

/* -----------------インプット---------------------*/

body .question li label + input {
	margin-top:0.2em !important;
}

body .question li label{
	font-size:120%;
}

input[type='checkbox'],
input[type='radio'] {
	margin-right:0.5em !important;
}

input[type='text'].input-tel {
	width:8em;
}

/* -----------------エラー表示---------------------*/

.error {
    color: #e00;
    clear: both;
    font-size: 1.4rem;
    font-weight: 900;
}

p.error {
	margin-bottom:0.5em;
}


/* -----------------日付---------------------*/

#date {
	display:flex;
	justify-content: flex-start;
}
#date #year input[type='text'] {
	display:inline-block;
	width:4em;
}


#date #year > div,
#date #month > div,
#date #day > div{
	position:relative;
	padding-right:3em;
}


#date #year > div::after,
#date #month > div::after,
#date #day > div::after{
	content:"";
	right:0;
	font-size:180%;
	position:absolute;
	top:50%;
	right:0;
	transform: translate(-50%, -50%);
}


#date #year > div::after{
	content:"年";
}

#date #month > div::after{
	content:"月";
}

#date #day > div::after{
	content:"日";
}


/* -----------------フッター---------------------*/


footer {
	width:100%;
	background-color:#0062b0;
	position:absolute;
	top:100%;
	left:0;
	transform: translate(-0%, -100%);
}

footer .inner {
	width:90%;
	max-width:1000px;
	margin:0 auto;
	padding:1.5em 0.5em;
	text-align:center;
	color:#fff;
}

footer .inner #page-top {
    position:fixed;
    top: 100%;
    left: 100%;
    padding: 0;
    margin: 0;
    width: 80px;
    height: 80px;
    border: none;
    border-bottom: none;
    background: rgba(255,0,0,0.5);
    border-radius: 50%;
    color: #fff;
    text-align: center;
    text-shadow: none;
    font-weight: bold;
	transform: translate(-120%, -120%);
	z-index:100;
	overflow:hidden;
}

footer .inner #page-top a {
	display:block;
	height:100%;
	width:100%;
	transition: background 0.5s 0s ease-in-out;
}

footer .inner #page-top a:hover {
	background: rgba(255,0,0,1);
}

footer .inner #page-top a img {
	display:block;
	height:100%;
	width:100%;
}


/* -----------------カスタムセレクト---------------------*/


p.confirm_text,
pre.confirm_text {
	padding:0 1em;
	font-size:160%;
	}
p.confirm_text span {
	display:inline-block;
	margin-right:2em;
	}
p.confirm_text span:last-child {
	display:inline-block;
	margin-right:0em;
	}

p.confirm_text.old span::after {
	content:"歳";
	padding-left:0.3em;
	}

p.confirm_text.birth span:nth-child(1)::after {
	content:"年";
	padding-left:0.3em;
	}
p.confirm_text.birth span:nth-child(2)::after {
	content:"月";
	padding-left:0.3em;
	}
p.confirm_text.birth span:nth-child(3)::after {
	content:"日";
	padding-left:0.3em;
	}

p.confirm_text.era span::after {
	content:"年代";
	padding-left:0.3em;
	}
	


pre.confirm_text {
	padding:0 1em;
	font-size:160%;
	white-space: pre-wrap;
	}
	

/* -----------------カスタムセレクト---------------------*/

.selectdiv {
  position: relative;
  /*Don't really need this just for demo styling*/
  display:inline-block;
}

/* IE11 hide native button (thanks Matt!) */
select::-ms-expand {
display: none;
}

.selectdiv:after {

  position: absolute;
    display: block;
    content: '';
    width: 10px;
    height: 10px;
    top: 50%;
    right: 20px;
    margin-top: -3px;
    border-bottom: 1px solid #666666;
    border-right: 1px solid #666666;
    transform: rotate(45deg) translateY(-50%);
    transition: all .4s ease-in-out;
    transform-origin: 50% 0;
	pointer-events:none;

}

.selectdiv select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  
  display: block;
  width: 100%;
  margin: 0;
  padding: 0 2.5em 0 0.5em;
    font-size: 2rem;
	font-weight:600;
    color: #333;
    line-height: 2.5em;
    background: #f4f4f4;
    border: 2px solid #666666;
    border-radius: 0.3em;
    cursor: pointer;
    font-family: "Noto Sans JP", sans-serif;
}