@charset "UTF-8";

/* ---------------------------------- */
/* 寄居の古文書 ご意見募集入力画面    */
/* ---------------------------------- */
* { 
        margin: 0;
        padding: 0;
        /* box-sizing: border-box; */
}

body{
        width: 900px;
        /* ackground-color: #fffdeb; */
        
        /* border: solid 2px; */
}

input[type="text"] {
	border: 3px solid #ccc;
	border-radius: 5px;
	background: #ccffff;
    
}

input[type="text"]:focus {
	border-color: #007BFF;
	box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
	outline: none;
}

textarea{
	border: 3px solid #ccc;
	border-radius: 5px;
	background: #ccffff;
    
}

textarea:focus {
	border-color: #007BFF;
	box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
	outline: none;
}

input[type="checkbox"] {
	width:  20px;
	height: 20px;
	
}

input[type="submit"]{
	border-top:    5px solid #ddd;
	border-right:  5px solid #888;
	border-bottom: 5px solid #888;
	border-left:   5px solid #ddd;
	
	border-radius: 5px;
       
       font-size: 20px;
       padding: 3px 5px 3px 5px;
       text-align: center;
}

input[type="button"]{
	border-top:    5px solid #ddd;
	border-right:  5px solid #888;
	border-bottom: 5px solid #888;
	border-left:   5px solid #ddd;
	
	border-radius: 5px;
       
       font-size: 20px;
       padding: 3px 5px 3px 5px;
       text-align: center;
}


/* -------------------------------- */
/* 全体構成の定義                　 */
/* -------------------------------- */
div#wrapper{
	display: grid;
	grid-template-columns: 30px 850px 30px;
	grid-template-rows: 60px 50px auto auto 80px 50px;
}

div#wrapper div#top_link{
	grid-column: 2 / 3;
	grid-row:    1 / 2;
	
	/* border: solid 2px; */
}

div#wrapper div#gamen_title{
	grid-column: 1 / 4;
	grid-row:    2 / 3;
	
	/* border: solid 2px; */
}

div#wrapper div#message_area{
	grid-column: 2 / 3;
	grid-row:    3 / 4;
	
	/* border: solid 2px; */
}

div#wrapper div#rfc_area{
	grid-column: 2 / 3;
	grid-row:    4 / 5;
	
}

div#wrapper div#rfc_link{
	grid-column: 2 / 3;
	grid-row:    5 / 6;
	
	/* border: solid 2px; */
}

div#wrapper footer{
	grid-column: 1 / 4;
	grid-row:    6 / 7;
	
	margin: 0 10px 0 10px;
	
	background: #6666ff;
	
	font-size: 16px;
	color: #ffffff;
	padding: 5px 15px 0 0;
	text-align: right;

}

/* -------------------------------- */
/*                               　 */
/* -------------------------------- */
div#top_link{
	padding: 15px 0 0 15px;
}

/* -------------------------------- */
/*                               　 */
/* -------------------------------- */
div#gamen_title{
	color:#333;
	
	margin: 0 10px 0 10px;
        padding: 15px 0 0 30px;
        border-bottom: 3px solid #333;
}

div#gamen_title h1{
        font-size:  28px;
	font-weight:bold;
	
}

/* -------------------------------- */
/*                               　 */
/* -------------------------------- */

div#message_area{
	padding: 10px 0 10px 0;
}

div#message_area div#box_message {
	overflow : hidden;
	color    : #FF4500;
	font-size: 16px;
	padding  : 2px 0 2px 2px;
	border   : 3px double #FF4500;
}

div#message_area p.explain {
	
	margin: 5px 0 5px 10px
	;
	font-size: 20px;
	line-height: 1.2em;
	
}



/* -------------------------------- */
/*                               　 */
/* -------------------------------- */
div#wrapper div#rfc_link{
	display: grid;
	grid-template-columns: 260px 260px 260px auto;
	grid-template-rows: auto;
	
}

div#wrapper div#rfc_link div#rfc_link_01{
	grid-column: 1 / 2;
	grid-row:    1 / 2;
	
	padding: 10px 0 0 10px;
	
	/* border: solid 2px; */
	
}

div#wrapper div#rfc_link div#rfc_link_02{
	grid-column: 2 / 3;
	grid-row:    1 / 2;
	
	padding: 10px 0 0 10px;
	
	/* border: solid 2px; */
	
}

div#wrapper div#rfc_link div#rfc_link_03{
	grid-column: 3 / 4;
	grid-row:    1 / 2;
	
	padding: 10px 0 0 10px;
	
	/* border: solid 2px; */
	
}


/* -------------------------------- */
/*                               　 */
/* -------------------------------- */



/* -------------------------------- */
/*  問い合わせフォームの定義     　 */
/* -------------------------------- */
div#wrapper div#rfc_area{
	display: grid;
	grid-template-columns: 280px 560px;
	grid-template-rows: auto auto auto auto;
	
	border: double 5px;
	
}

div#wrapper div#rfc_area div#rfc_name{
	grid-column: 1 / 2;
	grid-row:    1 / 2;
	
	padding: 10px 0 10px 5px;
	font-size: 20px;
	font-weight: bold;
	
	background:#99ff99;
	
	border-right:  double 5px;
	border-bottom: double 5px;
}

div#wrapper div#rfc_area div#rfc_name_input{
	grid-column: 2 / 3;
	grid-row:    1 / 2;
	
	padding: 10px 0 10px 10px;
	font-size: 20px;
	
	border-bottom: double 5px;
}

div#wrapper div#rfc_area div#rfc_comment{
	grid-column: 1 / 2;
	grid-row:    2 / 3;
	
	padding: 25px 0 10px 5px;
	font-size: 18px;
	font-weight: bold;
	line-height: 1.2em;
	
	background:#99ff99;
	
	border-right:  double 5px;
	border-bottom: double 5px;
}
div#wrapper div#rfc_area div#rfc_comment_input{
	grid-column: 2 / 3;
	grid-row:    2 / 3;
	
	padding: 10px 0 10px 10px;
	font-size: 18px;
	
	border-bottom: double 5px;
}

div#wrapper div#rfc_area div#rfc_email{
	grid-column: 1 / 2;
	grid-row:    3 / 4;
	
	padding: 10px 0 10px 5px;
	font-size: 20px;
	font-weight: bold;
	
	background:#99ff99;
	
	border-right:  double 5px;
	border-bottom: double 5px;
}
div#wrapper div#rfc_area div#rfc_email_input{
	grid-column: 2 / 3;
	grid-row:    3 / 4;
	
	padding: 10px 0 10px 10px;
	font-size: 18px;
	
	border-bottom: double 5px;
}

div#wrapper div#rfc_area div#rfc_copy{
	grid-column: 1 / 2;
	grid-row:    4 / 5;
	
	padding: 10px 0 10px 5px;
	font-size: 18px;
	font-weight: bold;
	line-height: 1.2em;
	
	background:#99ff99;
	
	border-right:  double 5px;
}

div#wrapper div#rfc_area div#rfc_copy_input{
	grid-column: 2 / 3;
	grid-row:    4 / 5;
	
	
	padding: 25px 0 10px 10px;
	font-size: 20px;
	

}