body {
	font-family: sans-serif ;
	background-image:url("/static/images/bg.png"); 
	user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

label {
	cursor:pointer; /*iOS用*/
}

/* ブラウザ標準スタイルをリセット */
button, input{ 
	background-color: transparent;
	border: none;
	outline: none;
	padding: 0;
	appearance: none;
}

#container{
	display: block;
    text-align: center;
    padding-top: 1%;
    padding-bottom: 5%;
    padding-left: 6vmin;
	padding-right: 2vmin;
}

input[type=radio]{
	display: none;
}

label.label{
	position: relative;
    color: rgba(255,255,255,1);
	text-decoration: none;
	text-align: center;
    background-color: rgba(219,87,5,1);
    font-weight: 700;
    font-size: 8vmin;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 3vmin;
	margin-right: 2vmin;
	margin-left:2vmin;
	margin-bottom: 5vmin;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    -webkit-box-shadow: 0px 9px 0px rgba(219,31,5,1), 0px 9px 25px rgba(0,0,0,.7);
    -moz-box-shadow: 0px 9px 0px rgba(219,31,5,1), 0px 9px 25px rgba(0,0,0,.7);
    box-shadow: 0px 9px 0px rgba(219,31,5,1), 0px 9px 25px rgba(0,0,0,.7);
	width: 44vmin;
	height: 8vmax;
	text-align: center;
	
	-webkit-transition: all .1s ease;
	-moz-transition: all .1s ease;
	-ms-transition: all .1s ease;
	-o-transition: all .1s ease;
	transition: all .1s ease;
	cursor: pointer; /* iOS用 */
}

label:active /*クリック時アクション*/{
    -webkit-box-shadow: 0px 3px 0px rgba(219,31,5,1), 0px 3px 6px rgba(0,0,0,.9);
    -moz-box-shadow: 0px 3px 0px rgba(219,31,5,1), 0px 3px 6px rgba(0,0,0,.9);
    box-shadow: 0px 3px 0px rgba(219,31,5,1), 0px 3px 6px rgba(0,0,0,.9);
    position: relative;
    top: 6px;
}

input[type=button]{
	position: relative;
    color: rgba(255,255,255,1);
    text-decoration: none;
    background-color: rgba(219,87,5,1);
    font-weight: 700;
    font-size: 2em;
    display: block;
    padding: 4px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    -webkit-box-shadow: 0px 9px 0px rgba(219,31,5,1), 0px 9px 25px rgba(0,0,0,.7);
    -moz-box-shadow: 0px 9px 0px rgba(219,31,5,1), 0px 9px 25px rgba(0,0,0,.7);
    box-shadow: 0px 9px 0px rgba(219,31,5,1), 0px 9px 25px rgba(0,0,0,.7);
	width: 22vmin;
	height: 10vmin;
	text-align: center;
	-webkit-appearance: none;
    outline: none;
    border: none;
	/* -webkit-appearance: button-bevel; */
	cursor: pointer;

	-webkit-transition: all .1s ease;
	-moz-transition: all .1s ease;
	-ms-transition: all .1s ease;
	-o-transition: all .1s ease;
	transition: all .1s ease;
}

input[type=submit]{
	position: relative;
	margin: 0 auto;
	top: 9vmin;
    color: rgba(255,255,255,1);
    text-decoration: none;
	background-color: rgba(219,87,5,1);
	font-weight: 700;
    font-size: 8vmin;
    /* font-weight: 700;
    font-size: 2em; */
    display: block;
    padding: 4px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    -webkit-box-shadow: 0px 9px 0px rgba(219,31,5,1), 0px 9px 25px rgba(0,0,0,.7);
    -moz-box-shadow: 0px 9px 0px rgba(219,31,5,1), 0px 9px 25px rgba(0,0,0,.7);
	box-shadow: 0px 9px 0px rgba(219,31,5,1), 0px 9px 25px rgba(0,0,0,.7);
	width: 44vmin;
	height: 8vmax;
	/* width: 22vmin;
	height: 10vmin; */
	text-align: center;
	-webkit-appearance: none;
    outline: none;
    border: none;
	/* -webkit-appearance: button-bevel; */
	cursor: pointer;

	-webkit-transition: all .1s ease;
	-moz-transition: all .1s ease;
	-ms-transition: all .1s ease;
	-o-transition: all .1s ease;
	transition: all .1s ease;
}

input[type=button]:active{
    -webkit-box-shadow: 0px 3px 0px rgba(219,31,5,1), 0px 3px 6px rgba(0,0,0,.9);
    -moz-box-shadow: 0px 3px 0px rgba(219,31,5,1), 0px 3px 6px rgba(0,0,0,.9);
    box-shadow: 0px 3px 0px rgba(219,31,5,1), 0px 3px 6px rgba(0,0,0,.9);
    position: relative;
	top: 6px;
}

input[type=submit]:active{
    -webkit-box-shadow: 0px 3px 0px rgba(219,31,5,1), 0px 3px 6px rgba(0,0,0,.9);
    -moz-box-shadow: 0px 3px 0px rgba(219,31,5,1), 0px 3px 6px rgba(0,0,0,.9);
    box-shadow: 0px 3px 0px rgba(219,31,5,1), 0px 3px 6px rgba(0,0,0,.9);
    position: relative;
	top: 9vmin;
}

#back input{
	float: right;
	margin-right: 5%;
	margin-top: 2vmin;
	margin-bottom: 3vmin;
	font-size: 2vmax;
	clear: both;
}

#submit_info{
	text-align: center;
	position: relative;
	top: 15vmin;
    width: max-content;
	margin: 0 auto;
    font-size: 3vmin;
}

  /* PROGRESS */
.progress {
    background-color: #bfc1c1;
    height: 0.3em;
    position: relative;
    width: 50vmax;
    top: 50%;
    margin: auto;
    /* left: 50%; */
    /* transform: translate(-50%, -50%); */
}

.progress-bar {
    animation-duration: 3s;
    animation-name: width;
    background-image: linear-gradient(to right, #4cd964, #5ac8fa, #007aff, #34aadc, #5856d6, #ff2d55);
    background-size: 50vmax 0.3em;
    height: 100%;
    position: relative;
}

/* ANIMATIONS */
@keyframes width {
    0%, 100% {
        transition-timing-function: cubic-bezier(1, 0, 0.65, 0.85);
    }
    0% {
        width: 0;
    }
    100% {
        width: 100%;
    }
}

input[type=date] {
    background-color: white;
    border: solid;
}

.download {
    background-color:rgba(219,87,5,1);
    border-radius: 4px;
    display: block;
    border: 2px solid black;
    margin: 10px auto;
    color: white;
    padding: 4px;
}

/* iPad用のレスポンシブデザイン */
@media only screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait),
       only screen and (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    
    /* iPad向けのコンテナ全体調整 */
    #container {
        padding-left: 2vmin;
        padding-right: 2vmin;
        padding-top: 0.5%;
    }
    
    /* iPad向けのコンテナ設定 */
    #third1, #third2, #third3, #fourth1 {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: flex-start;
        gap: 3vmin;
        padding: 0 1vmin;
    }
    
    /* iPad向けのラベルサイズ調整 */
    #third1 label.label, #third2 label.label, #third3 label.label, #fourth1 label.label {
        width: calc(50% - 2vmin);
        min-width: 30vmin;
        max-width: 40vmin;
        font-size: 8vmin;
        margin: 1vmin;
        height: 10vmax;
        padding: 4vmin;
    }
    
    /* iPad向けの戻るボタン調整 */
    #back {
        margin-top: 4vmin;
        margin-bottom: 2vmin;
        padding-right: 2vmin;
    }
    
    #back input {
        font-size: 4vmin;
        margin-right: 3vmin;
        padding: 2vmin 4vmin;
        width: auto;
        height: auto;
    }
}

/* iPad Pro用の調整 */
@media only screen and (min-width: 1024px) and (max-width: 1366px) {
    #third1, #third2, #third3, #fourth1 {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: flex-start;
        gap: 3vmin;
        padding: 0 2vmin;
    }
    
    #third1 label.label, #third2 label.label, #third3 label.label, #fourth1 label.label {
        width: calc(50% - 2vmin);
        min-width: 25vmin;
        max-width: 35vmin;
        font-size: 7vmin;
        margin: 1vmin;
        height: 8vmax;
        padding: 3vmin;
    }
    
    /* iPad Pro向けの戻るボタン調整 */
    #back {
        margin-top: 3vmin;
        margin-bottom: 2vmin;
        padding-right: 2vmin;
    }
    
    #back input {
        font-size: 3.5vmin;
        margin-right: 4vmin;
        padding: 2vmin 3vmin;
        width: auto;
        height: auto;
    }
}

/* タブレット全般での追加対応（念のため）
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
    #third1, #third2, #third3, #fourth1 {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        align-items: flex-start !important;
        gap: 2vmin !important;
        padding: 0 2vmin !important;
    }
    
    #third1 label.label, #third2 label.label, #third3 label.label, #fourth1 label.label {
        width: calc(50% - 3vmin) !important;
        min-width: 20vmin !important;
        max-width: 25vmin !important;
        font-size: 6vmin !important;
        margin: 1vmin !important;
        height: 6vmax !important;
        padding: 2vmin !important;
    }
} */