@charset "UTF-8";


/*reset*/

body, div, h1, h2, h3, h4, p, ul, ol, li, dl, dt, dd,
header, footer, nav, article, section, adress {
	margin:0;
	padding:0;
}

html {
	font-size: 62.5%; /*10px*/
    height: 100%;
}

h1, h2, h3, h4, p, dl, ul, ol {
	margin:10px 0;
}

ul {
	list-style: inside;
}

img {
	vertical-align:bottom;
}
a img {
	border:0;
}

a { text-decoration: none;}


/* border-box */

* {-webkit-box-sizing: border-box;
   -moz-box-sizing: border-box;
   box-sizing: border-box
  }
  
  table,tr,td{
  border-collapse: collapse;
  }

/* 共通項目 */


body {
	font-size:1.6rem; /* 16px */
	line-height: 2;
	color: #333;
	font-family:'游ゴシック Medium', 'Yu Gothic Medium', '游ゴシック', 'Yu Gothic', '游ゴシック体', YuGothic, 'Hiragino Kaku Gothic ProN', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ ProN W3', 'メイリオ', Meiryo,'ＭＳ ゴシック',sans-serif;
    background:url("../img/bg_l.png") repeat left top;
    /*min-height: 100vh;*/
}

.clearfix:after {
	content: ""; 
	display: block; 
	clear: both;
}


/*ページレイアウト*/

html, body{
height: 100%;
margin: 0;
}

.wrapper{
display: flex;
flex-direction: column;
min-height: 100vh;
margin: 0 0;
padding: 0 0;
}

header{
margin: 0 0;
padding: 0 0;
}

.header_top{
    min-height: 20px;
    background-color: #339933;
	text-align: right;
}

.header_top span {
    display: inline-block;
	font-size: 1.4rem;
	line-height: 1;
	/*color: #fff;
	padding: 0 1em;
	position: relative;
	bottom: 5px;*/
}
.header_top span a {
    display: block;
    margin: 4px 1em;
    padding: 4px 1em;
	color: #333;
    font-weight: bold;
    background-color: #EDEDED;
    border-radius: 4px;
}
.header_top span a:hover {
	background-color: yellow;
}

h1{
padding: 20px 0;
font-size: 3.2rem;
text-align: center;
line-height: 1.4;
}

main{
flex: 1;
padding: 0 32px;
}

footer{
background-color: #339933;
text-align: center;
font-size: 1.4rem;
line-height: 1;
color: #fff;
padding: 4px 0;
}

/* 入口 */

.top_midashi{
text-align: center;
}

.top_midashi h2{
background-color: #339933;
padding: 4px 0;
text-align: center;
border-radius: 16px;
}

.top_button{
height:45vh;/*50vh*/
display: flex;
align-items: center;
justify-content: center;
}

.top_button .button{
font-size: 2.1rem;
line-height: 1.4;
background-color: #fff;
}

.top_button .button a{
display: block;
padding: 20px 1em;
border: 2px solid #999;
border-radius: 8px;
color: #333;
}

.tejun_image{
display: flex;
justify-content: center;
align-items: flex-start;
}

.tejun_image img{
width: 100%;
max-width: 430px;
}

.login_area{
display: flex;
justify-content: flex-end;
align-items: center;
gap: 1em;
margin-bottom: 50px;
}

.login_area p{
line-height: 1.4;
margin-left: 1em;
text-indent: -1em;
}

.login_area .button{
font-size: 1.8rem;
line-height: 1.4;
white-space: nowrap;
background-color: #fff;
}

.login_area .button a{
display: block;
padding: 5px 1em;
border: 2px solid #999;
border-radius: 8px;
color: #333;
}


.top_button .button a:hover,
.login_area .button a:hover{
background-color: #EEFF99;
color: #216443;
}


/* Login Page */

.index_box {
	width: 95%;
	max-width: 730px;
	background-color: #fff;
	border: 1px solid #666;
	border-radius: 10px;
	text-align: center;
	padding: 40px 0 20px;
	margin: 30px auto 10px;
}

.login_form {
	margin: 40px auto;
	width: 90%;
}
.login_form dl {
	display: flex;
	justify-content: flex-start;
}
.login_form dl dt {
	width: 25%;
	text-align: right;
	padding-top: 5px;
}

.login_form dl dd {
	width: 75%;
	text-align: left;
	margin-left: 0;
}
.login_input {
	width: 75%;
	border: 1px solid #666;
	border-radius: 3px;
	padding: 2px 3px;
}

/*申請フォーム*/

h2{
width: 95%;
max-width: 950px;
margin: 30px auto;
font-size: 2.1rem;
line-height: 1;
color: white;
text-align: center;
background-color: #053D69;
}

h2 span{
display: inline-block;
color: #053D69;
background-image:url("../img/bg_l.png") ;
padding: 0 20px;
}

.shinsei_box {
	width: 95%;
    max-width: 950px;
	background-color: #fff;
	border: 1px solid #666;
	text-align: left;
	padding: 20px 16px;
	margin: 30px auto 10px;
}

.ichiran_btn{
width: 80%;
max-width: 200px;
text-align: center;
margin: 0 auto 30px auto;
}

.ichiran_btn a{
display: block;
padding: 0px 20px;
border: 1px solid #333;
background-color:#ACE5FF; /*#96B8D8*/
border-radius: 6px;
}

.ichiran_btn a:hover{
background-color: #F8F99A;
}

.sage1{
margin-left: 2em;
text-indent: -2em;
}

.shorui{
display: flex;
align-items: center;
justify-content: center;
gap: 50px;
margin-bottom: 20px;
}

.shoorui div a:link,
.shorui div a:visited{
 color: #507AA1;
}

.shorui div a:hover,
.shorui div a:active{
 color: #C00;
}

/*申請テーブル*/

.shinsei_frame, .shinsei_frame2{
width: 100%;
border: 1px solid #666;
}

.shinsei_frame2{
margin-top: 20px;
}

.shinsei_frame th,
.shinsei_frame td,
.shinsei_frame2 th,
.shinsei_frame2 td{
padding: 5px 5px;
border: 1px solid #666;
}
.shinsei_frame th{
width: 9em;
background-color: #eee;
white-space: nowrap;
}

.shinsei_frame2 th{
width: 12em;
line-height: 1.4;
background-color: #eee;
white-space: nowrap;
}

.shinsei_frame th, .shinsei_frame2 th{
background-color: #eee;
}

.shinsei_frame td input[type="text"],
.shinsei_frame td input[type="tel"],
.shinsei_frame td input[type="email"],
.shinsei_frame2 td input[type="text"]{
width: 90%;
max-width: 20em;
}

#upload{
width: 100%;
}

.shinsei_frame td textarea,
.shinsei_frame2 td textarea{
width: 95%;
}

.jouken_midashi{
margin-bottom: 0px;
}

.jouken{
width: 100%;
border: 3px solid #336633;
padding: 5px 12px;
}

.jouken ol{
text-align: left;
font-size: 1.4rem;
margin-left: 2em;
margin-right: 1em;
list-style-position: outside;
}

/*下部申請関連*/

.check{
text-align: center;
}

.shinsei{
text-align: center;
padding-bottom: 20px;
}

.shinsei button{
opacity: 0.8;
padding: 10px 20px;
pointer-events: none;
}

.shinsei button.active{
opacity: 1;
pointer-events: auto;
cursor: pointer;
}

/*ダウンロード用画像*/

.sentaku_box{
text-align: center;
}

/*サムネイル*/

.image_list{
width: 95%;
max-width: 1040px;
margin: 0 auto;
display: flex;
flex-wrap: wrap;
justify-content:center;
align-items: flex-end;
gap: 10px;
}

/*.image_list img{
opacity: 0.8;
}*/

.noback{
width: 200px;
}

.imgbox{
position:relative;
width: 200px;
height: 200px;
/*overflow: hidden;*/
}

.sample{
position: absolute;
width: 100%;
height: 100%;
object-fit:contain;
object-position: center;
top: 0;
left:0;
z-index: 100;
opacity: 0.8;
}

.thumb{
position: absolute;
width: 100%;
height: 100%;
object-fit:contain;
object-position: center;
top: 0;
left:0;
}


@media screen and (max-width: 720px){

.tejun_image{
flex-direction: column;
justify-content: flex-start;
align-items: center;
}

.top_button{
height:40vh;
}

.shinsei_frame th,
.shinsei_frame td,
.shinsei_frame2 th,
.shinsei_frame2 td{
display: block;
width: 100%;
border: none;
border-bottom: 1px solid #666;
}

.shinsei_frame tr:last-child td,
.shinsei_frame2 tr:last-child td{
border-bottom: none;
}

}

@media screen and (max-width: 450px){

#upload{
font-size: 1.2rem;
}

}

