@charset "utf-8";

/*------------------------------------------
	Base
------------------------------------------*/

body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,
form,input,p,blockquote,th,td {
	margin:0;
	padding:0;
}

img{
	border:0;
	vertical-align: top;
    max-width:100%;
	height:auto;
}

body{
	margin: 0 auto;
	height: 100%;
	min-height: 100%;
	background:#ffffff;
	color:#333;
	font-size: 95%;
	font-family:'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'ＭＳ Ｐゴシック',sans-serif;
	line-height:1.2;
}

a{
	outline: none;
	color:#333;
	text-decoration:none;
}

a:link,
a:visited,
a:active{
	text-decoration:none;
}

a:hover{
	color:#007bbb;   /*開催事務局指定色より事務局選色*/
	text-decoration:none;
}

a[target="_blank"] {
  padding-right: 20px;
  background: url(../images/ico_link_blank.png) no-repeat center right;
}

a[href ^="mailto:"] {
  padding-right: 20px;
  background: url(../images/ico_link_mail.png) no-repeat center right;
}

/*a[href$=".pdf"] {
	padding-right: 20px;   
	background: url(../images/ico_pdf.png) no-repeat center right;  
}  
* html a.pdf{
	padding-right: 20px; 
	background: url(../images/ico_pdf.png) no-repeat center right;
}  */


ul,ol{
	list-style: none;
}


/*clearfix*/
.clearfix:after{  
	visibility:hidden;
	height:0;
	display: block;
	font-size: 0;  
	content: " ";  
	clear: both;  
}

* html .clearfix{
	zoom: 1;
}

*:first-child+html .clearfix{
	zoom: 1;
}

p,dd{
	/*font-size:1.2em;*/
}

h1{
}

h1 a{
    display:block;          /* 幅制御可能にする */
    width:100%;             /* 親幅に収める */
    box-sizing:border-box;  /* padding込みで幅計算 */
    
	padding: 0px 0px 6px 0px;
	color: #007bbb;   /*開催事務局指定色より事務局で選色*/
	font-family: times, Times New Roman, times-roman, georgia, serif;
	font-size:4.2em;
	font-weight: bold;
	line-height: 0.9;
	letter-spacing: -2px;
    
     word-break: break-word;
}

h1 a:hover{
	color:#388DBA;     /*開催事務局指定色より事務局で選色*/
}

h2{
	margin:20px 0;
	padding-bottom:2px;
	color:#666;       /*開催事務局指定色より事務局で選色*/
	border-bottom:3px solid #aaaaaa;
	font-family:'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'ＭＳ Ｐゴシック',sans-serif;
	font-size:1.4em;
}

h3{
	margin-top:-10px;
	margin-bottom:20px;
	color:#666;
	font-family:'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'ＭＳ Ｐゴシック',sans-serif;
	font-size:1.2em;
}


span{
	font-size:0.6em;
	text-transform:uppercase;

}

a img { 
	border: none;
}

img {
	max-width: 100%;
	width: auto;
	height: auto;	
}

hr {
    height:0;
    border-top:1px solid #ccc;
    border-bottom:1px solid #333;
}

video{
	max-width: 100%;
	padding-left:30px;
	height: auto;
}


/*------------------------------------------
	Layout
------------------------------------------*/

#wrapper {
	margin:0 auto;
	width:90%; /* 960px/1024px  */
	overflow:hidden;/* #sidebarと#contentsの高さを揃える */
}

#sidebar{
	width:20%; /* 180px/960px */
	float:left;
	background-color:#A0D8EF ;       /*開催事務局指定色*/

padding-bottom: 10000px; /* #sidebarと#contentsの高さを揃える */
margin-bottom: -10000px; /* #sidebarと#contentsの高さを揃える */

}

#contents{
	margin-top:20px;
	margin-bottom:20px;
	width:76%;
	float:right;
}


header {
	margin:5px 0 0 10px;
    width:auto;
}

section {
	margin-top:50px;	/*footerのアイコンの高さ*/
}

section { margin-top: 50px\9; }
section { margin-top/*\**/: 50px\9; }


section.section02 {
	padding:2%;
	background: #fff;
	border: 1px solid #fff;
	-webkit-border-radius: 4px; -moz-border-radius: 4px;
	-o-border-radius: 4px; border-radius: 4px;
	box-shadow: 0 1px 4px rgba(0,0,0,.2);
	-webkit-box-shadow: 0 1px 4px rgba(0,0,0,.2);
	-moz-box-shadow: 0 1px 4px rgba(0,0,0,.2);
	-o-box-shadow: 0 1px 4px rgba(0,0,0,.2);
	zoom: 1;
	behavior:url("./js/PIE.htc");
}

.section03 {
	margin-top:20px;
	padding:2%;
	background: #fff;
	border: 1px solid #fff;
	-webkit-border-radius: 4px; -moz-border-radius: 4px;
	-o-border-radius: 4px; border-radius: 4px;
	box-shadow: 0 1px 4px rgba(0,0,0,.2);
	-webkit-box-shadow: 0 1px 4px rgba(0,0,0,.2);
	-moz-box-shadow: 0 1px 4px rgba(0,0,0,.2);
	-o-box-shadow: 0 1px 4px rgba(0,0,0,.2);
	zoom: 1;
	behavior:url("./js/PIE.htc");
}

.section03 dl{
	margin-top:20px;
}

.topnew h3{
	float:left;
	margin-top:0.1em;
	font-weight:normal;
	color:#666;
}

.topnew p{
	float:right;
	font-family: times, Times New Roman, times-roman, georgia, serif;
	color: #007bbb;       /*開催事務局指定色*/;
	margin: 0;
	margin-top:-0.3em;
	padding: 0px;
	font-size: 2.5em;
	/*line-height: 1.5em;*/
	letter-spacing: -2px;
	font-weight: bold;
}

dl.news {
	clear:both;
	overflow: hidden;
	zoom: 1;
}
dl.news dt {
	width: 7em;
	padding: 5px 0 5px 0;
	float: left;
	clear: both;
}
dl.news dd {
	padding: 5px 0 5px 7em;
	border-bottom:1px dotted #ccc;
}



section p{
	margin:20px 10px;
	line-height:1.5em;
}

.section02 p{
	margin-top:1%;
	margin-bottom:1%;
	line-height:1.5;
    font-size:1.2;
}

.floatRight {
	float:right;
	margin:0 0 2% 2%;
}

footer {
	padding:0;
	font-size: 100%;
	margin:0 auto;
	width:90%; 
}


.footer05 {
 color: #808080;
 background: #f0f8ff;
 padding: 30px;
}
.footer05 a {
 color: #808080;
 text-decoration: none;
}
.footer05 li a:hover {
 text-decoration: underline;
}
.footer05 .footer-wrap {
 width: 100%;
 margin: 0 auto;
 display: flex;
 flex-wrap: wrap;
 justify-content: space-between;
}
.footer05 .footer-wrap h3 {
 margin: 0 0 10px 0;
 padding: 0;
 border-bottom: 1px #c4c4c4 solid;
}
.footer05 .footer-wrap p {
 margin: 0;
 padding: 0 0 20px 0;
}
.footer05 .footer-wrap .footer-box {
 width: 22%;
  line-height: 1.4em;
}
.footer05 .footer-wrap .footer-box ul {
 margin: 0;
 padding: 0 0 20px 0;
 list-style: none;
}
.footer05 .footer-wrap .copyright {
 width: 100%;
 padding: 20px 0 0 0;
}

@media only screen and (max-width: 599px) {
.footer05 .footer-wrap {
 width: 100%;
 padding: 0 20px;
 box-sizing: border-box;
}
.footer05 .footer-wrap h3 {
 border: none;
}
.footer05 .footer-wrap .footer-box {
 width: 100%;
}
.footer05 .footer-wrap .footer-box ul {
 border-top: 1px #c4c4c4 solid;
}
.footer05 .footer-wrap .footer-box ul li a {
 display: block;
 padding: 5px 15px;
 /*border-bottom: 1px #c4c4c4 solid;*/
}
}











.icons {
	position:absolute;
	top:5px;
	right:5%;
}

.icons li {
	padding-right:5px;
	list-style:none;
	display:inline-block;
	/display: inline;
	/zoom: 1;
}

.floatRight01 {				/* 理事長あいさつ */
	float: right;
	margin-left:20px;
	margin-top:28px;
    width:150px;
}

.clearfloat { 
	clear:both;
	height:0;
	line-height: 0;
}

.floatRight01 img {
    width:150px;
    height:auto;
}


.img-left150{			/* 事務局代表あいさつ */
    float:left;
    width:150px;
    margin-right:20px;
    margin-top:5px;
}



/*------------------------------------------
	Button
------------------------------------------*/

.btn {
	margin-bottom: 0; 
	*margin-left: .3em;
	padding: 4px 12px;
	display: inline-block;
	*display: inline;
	color: #ffffff;
	font-size: 14px;
	text-align: center;
	vertical-align: middle;
	line-height: 20px;
	cursor: pointer;
	
	background-color: #49afcd;
	*background-color: #75cdd2;
	background-image: -moz-linear-gradient(top, #75cdd2, #5bc0de);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#75cdd2), to(#5bc0de));
	background-image: -webkit-linear-gradient(top, #75cdd2, #5bc0de);
	background-image: -o-linear-gradient(top, #75cdd2, #5bc0de);
	background-image: linear-gradient(to bottom, #75cdd2, #5bc0de);
	background-repeat: repeat-x;

	border: 1px solid #cccccc;
	*border: 0;
	border-color: #e6e6e6 #e6e6e6 #bfbfbf;
	border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
	border-bottom-color: #b3b3b3;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);
	filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
	*zoom: 1;
	-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
	-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
	behavior:url("./js/PIE.htc");
}

.btn:hover{
	background: #49acc7;
	border-top-color: #49acc7;
	color: #ffffff;
}

.btn_01{		/*インストラクターお申込み*/
	font-size:16px;
	font-family:Arial;
	font-weight:normal;
	-moz-border-radius:8px;
	-webkit-border-radius:8px;
	border-radius:8px;
	border:1px solid #dcdcdc;
	padding:9px 18px;
	text-decoration:none;
	background:-moz-linear-gradient( center top, #f9f9f9 5%, #e9e9e9 100% );
	background:-ms-linear-gradient( top, #f9f9f9 5%, #e9e9e9 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f9f9f9', endColorstr='#e9e9e9');
	background:-webkit-gradient( linear, left top, left bottom, color-stop(5%, #f9f9f9), color-stop(100%, #e9e9e9) );
	background-color:#f9f9f9;
	color:#666666;
	display:inline-block;
	text-shadow:1px 1px 0px #ffffff;
 	-webkit-box-shadow:inset 1px 1px 0px 0px #ffffff;
 	-moz-box-shadow:inset 1px 1px 0px 0px #ffffff;
 	box-shadow:inset 1px 1px 0px 0px #ffffff;
}
.btn_01:hover {
	background:-moz-linear-gradient( center top, #e9e9e9 5%, #f9f9f9 100% );
	background:-ms-linear-gradient( top, #e9e9e9 5%, #f9f9f9 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#e9e9e9', endColorstr='#f9f9f9');
	background:-webkit-gradient( linear, left top, left bottom, color-stop(5%, #e9e9e9), color-stop(100%, #f9f9f9) );
	background-color:#e9e9e9;
	color: #333333;
}
.btn_01:active {
	position:relative;
	top:1px;
	color: #333333;
}



/*------------------------------------------
	Pages
------------------------------------------*/

#table{
	margin:0 auto;
	margin-bottom:20px;
	width: 95%;
	border-collapse: collapse;
	font-size:100%;
}

#table td,
#table th{
	padding: 5px;
	border: 1px solid #ccc;
}

#table th{
	width:15%;
	font-weight:normal;
}

#table th{
	background:#F6FAF4;
}

#table td{
	line-height:1.5;
}

#table ul  ul li{
	margin-left:3em;
	text-indent:-1.5em;
}

#table  ul ul li.yoko_01{
	margin-bottom:20px;
	margin-left:2em;
	text-indent:0;
}

#table_02{
	margin:0 auto;
	margin-bottom:20px;
	width: 80%;
	border-collapse: collapse;
	font-size:100%;
}

#table_02 td,
#table_02 th{
	padding: 5px;
	border: 1px solid #ccc;
}

#table_02 th{
	width:20%;
	font-weight:normal;
	text-align:left;
}

#table_02 th{
	background:#ffffff;
}

#table_02 td{
	line-height:1.5;
}

#table_02 caption{
	text-align:left;
	margin-bottom:10px;
}


#aisatsu{
	margin:5px;
}

#aisatsu p{
	margin-top:30px;
	line-height:2em;
}

p.pg_bg{
	font-weight:bold;
}

p.migiyose{
	text-align:right;
}

#access{
	margin:0 0 40px 10px;
}

#access dl{
	margin:20px;
}

#access dt{
	margin-top:20px;
}

#access dd{
	line-height:1.8em;
	text-indent:1em;
}

#syukuhaku dl{
	margin:20px;
}

#syukuhaku dt{
	margin-top:20px;
}

#syukuhaku dd{
	line-height:1.8em;
	margin-left:1.5em;
}




#sendpage p{
	line-height:3em;
}

p.aomoji{
	margin:10px 0;
	color:#0066cc;
	font-weight:bold;
	text-align:center;
	line-height:1.5em;
}

p.form_aomoji{
	color:#0066cc;
	margin-bottom:0px;
}

.aomoji_s{
	font-size:65%;
}

#annai{
	line-height:1.5em;
}



#annai ul li{
	margin-left:2em;
	text-indent:-1.7em;
	margin-bottom:0.8em;
}

p.midoji{
	margin-left:0em;
	margin-top:0;
	margin-bottom:0;
	color:#228B22;
	text-indent:0em;
}
p.futoji{
	margin-left:0em;
	margin-top:0;
	margin-bottom:0;
	font-weight:bold;
	text-indent:0em;
}

.futoji{
	font-weight:bold;
	
}

#annai h3{
	margin-top:2em;
	padding:5px;
	background:#aeaeae;
	color:#333;
	font-weight:normal;
}

#annai-list ul li{
	margin-left:1.5em;
	text-indent:-1em;
	margin-bottom:0.5em;
}

#annai h4{
	margin-top:2em;
	padding:5px;
	color:#228B22;
	/*font-weight:normal;*/
text-indent: 18px;
  background: #fff url(../images/ico_circle.png) no-repeat 3px center;
}

#annai h5{
	margin-top:2em;
	padding:5px;
	color:#0071BC;
	font-size:120%;
text-indent: 18px;
  background: #fff url(../images/ico_circle2.png) no-repeat 3px center;
}


#list_text{
	margin-top:3em;
	line-height:3em;
}

#list_text ul{
	margin:2em 0 0 2em;
}

#list_text ul li{
	/*background:#fff url(../images/ico_text.png) no-repeat 0px center;*/
	/*margin-left:3em;*/
	/*text-indent:3em;*/
	margin-bottom:1.5em;
}

p.line_ao{
	 background-color:#6cf;
    display:inline;

}

p.line_aka{
	 background-color:#f99;
    display:inline;
}

p.line_mido{
	 background-color:#cfc;
    display:inline;
}

p.line_ki{
	 background-color:#ffff00;
    display:inline;
}


dl.item{
	margin:20px 0 0 10px;
}

dl.item dt{
	background: #fff url(../images/ico_circle3.png) no-repeat 3px center;
	margin-top:2em;
	text-indent:1.5em;
	font-size:1.1em;
	cursor: pointer;
}

dl.item dd{
	background:#E8F8FF;
	margin:10px 0 30px 20px;
	padding:10px;
	letter-spacing:0.1em;
	line-height:1.4em;
}


ul.videolist{
	margin:20px;
}

ul.videolist li{
	line-height:2em;
	font-size:120%;
}



.voice{
    margin:10px 0 30px 20px;
    padding:10px;
    background: #f5f8fa;
}

.voice-ttl{
    font-size:1.2em;
    /*color:#007bbb;*/
    /*font-weight: bold;*/
    
}

.img-daihyo{
    width:150px !important;
    height:auto;
    max-width:none;
}

/*------------------------------------------
	Menu
------------------------------------------*/

nav{
	margin:30px 0 40px 10px;
}

nav li {
	width:100%;
	list-style:none;
}

nav li a {
	padding:10px 10px 10px 20px;
	display:block;
	color:#333;
	font-size:130%;
	text-decoration: none;
}

nav li a:hover {
	color: #fff;
	background: #007bbb ;       /*開催事務局指定色から1トーン暗い色 学会事務局選色*/
	border: 1px solid #007bbb ;      /*開催事務局指定色から1トーン暗い色 学会事務局選色*/
	border:1px solid #007bbb ;       /*開催事務局指定色から1トーン暗い色 学会事務局選色*/
	-webkit-border-radius: 4px; -moz-border-radius: 4px;
	-o-border-radius: 4px; border-radius: 4px;
	zoom: 1;
	behavior:url("./js/PIE.htc");
}
nav .active a {
	color:#333;
	background: #d0eff0; border: 1px solid #d0eff0;
	border:1px solid #d0eff0;
	-webkit-border-radius: 4px; -moz-border-radius: 4px;
	-o-border-radius: 4px; border-radius: 4px;
	zoom: 1;
	behavior:url("./js/PIE.htc");
}

nav li.nolink a {
	padding:10px 10px 10px 20px;
	display:block;
	color:#999;
	font-size:120%;
	text-shadow: none;
	text-transform:uppercase;
	text-decoration: none;
}

nav li.nolink a:hover {
	background: #F2FBFF;
	border:none;
	color: #999;
}

nav select {
      display: none;
}

select{
	width:200px;
}

.space{
	margin:50px 0 300px 20px;
}

.arrow{
	text-indent:1.6em;
	background: #fff url(../images/ico_arrow.png) no-repeat left 30%;
	margin-bottom:1.5em;
		font-size:1.3em;
	text-align:left;
}

.arrow_s{
	text-indent:1.3em;
	background: #fff url(../images/ico_arrow_s.png) no-repeat left 30%;
	margin-bottom:1.5em;
		font-size:1.3em;
	text-align:left;
}


/*------------------------------------------
	Form
------------------------------------------*/



.must{
	color:#ff0000;
	font-size:100%;
}

.akaji{
	color:#ff0000;
	font-size:120%;
}

.akaji_n{
	color:#ff0000;
  
}
.akaji-f{
	color:#ff0000;
	font-size:100%;
}



.mfp_buttons{
	margin:2em 0 2em 5em;
}
	


/*------------------------------------------
	Media Queries
------------------------------------------*/

/* for 960px or less */
@media screen and (max-width: 980px) {
	#wrapper {
		margin:0 auto;
		width:93.75%; /* 960px/1024px  */
	}
}
/* for 768px or less */
@media screen and (max-width: 768px) {
	 #contents{
		clear:both;
		float:none;
		width:auto;
	}
	
	#sidebar{
		float:none;
		margin-top:0;
		width:auto;
	}
			
	header, section {
		float:none;
		width:auto;
	}
	
	h1 {
		margin-top:1%;
	}
	
	h2 {
		margin:10px 0;
		border-bottom:3px solid #666;       /*開催事務局指定色に合わせて事務局選定*/
		color:#666;
		font-size:1.3em;
	}
	
	nav{
		margin-top:3%;
		margin-left:3%;
		padding:0;
		width:95%;
	}
	
	nav.active {
		display:block;
	}
	
	nav li{
		float:left;
		width:18%;
		border:none;
		font-size:90%;	
		text-align:center;
	}
	
	nav li:nth-child(4n){
		width:25%;
	}

	nav li:nth-child(6n){
		margin-bottom:2%;
	}

	nav li:nth-child(5n+1){
		clear:both;
	}
	
	nav li a{
		padding:0.5em 0;
		height:auto;
		display:block;
		color:#333;
		text-decoration:none;
	}
	
	nav li.active a,
	nav li a:hover {
		color: #ffffff;
		background: #20B35B;　   /*開催事務局指定色から学会事務局選定*/
		border:1px solid #20B35B;　   /*開催事務局指定色から学会事務局選定*/
		-webkit-border-radius: 4px; -moz-border-radius: 4px;
		-o-border-radius: 4px; border-radius: 4px;
		zoom: 1;
	}

	nav .active a {
		color:#ffffff;
		background: #007bbb;       /*開催事務局指定色*/
		border: 1px solid #007bbb;       /*開催事務局指定色*/
		-webkit-border-radius: 4px; -moz-border-radius: 4px;
		-o-border-radius: 4px; border-radius: 4px;
		zoom: 1;
	}
	
	.icons {
		margin-bottom:5px;
		position: inherit;
		text-align:center;
	}

	form > div {
		margin: 0 0 15px 0; 
	}
	
	form > div > label,legend {
		float: none;
		margin: 0 0 5px 0;
		width: 100%;
	}
	
	form > div > div,
	form > div > fieldset > div {
		float: none;
		width: 100%;
	}
	
	input[type=text],
	input[type=email],
	input[type=url],
	input[type=password],
	textarea,
	select {
		width: 100%; 
	}
}

	
/* for 480px or less */
@media screen and (max-width: 480px) {
	#contents{
		float:none;
		width:auto;
	}
	
	#sidebar{
		float:none;
		width:auto;
	}	
	
	#kyosaicopy{
		float:none;
	}

	h1{
		margin-top:0px;
		font-size:100%;
	}
		
	h1  a{
		padding: 0px 0px 6px 0px;
		color: #20B35B; !important	   /*開催事務局指定色*/
		font-family: times, Times New Roman, times-roman, georgia, serif;
		font-size: 8vw;      /*3em;*/
		font-weight: bold;
		line-height: 1.1;
	}
	
	h2 {
		margin:10px 0;
		border-bottom:2px solid /*開催事務局指定色*/
		color:#666;
		font-size:1em;
	}

	address{
		float:none;
		width:auto;
	}
	
	nav {
		margin:3% 0;
	}
	
	nav ul{
		display: none;
	}
	
	nav select {
		display: inline-block;
	}

	#table{
		display: block;
	}
	
	#table thead{
		display: none;
	}
	
	#table tbody{
		display: block;
	}
	
	#table tbody tr{
		margin-bottom: 1.5em;
		display: block;
	}
	
	#table tbody th,
	#table tbody td{
		border: none;
		display: list-item;
	}
	
	#table tbody th{
		margin-bottom: 5px;
		width:100%;
		background: #333;
		list-style-type: none;
		color: #fff;
	}
	
	#table tbody td{
		margin-left: 10px;
		padding: 0;
		list-style-type: none;
	}
	.ico_inq{
		color:#333;
		font-size: 110%;
		text-indent:3em;
	}


	#table_02{
		display: block;
	}
	
	#table_02 thead{
		display: none;
	}
	
	#table_02 tbody{
		display: block;
	}
	
	#table_02 tbody tr{
		margin-bottom: 1.5em;
		display: block;
	}
	
	#table_02 tbody th,
	#table_02 tbody td{
		border: none;
		display: list-item;
	}
	
	#table_02 tbody th{
		margin-bottom: 5px;
		width:100%;
		background: #333;
		list-style-type: none;
		color: #fff;
	}
	
	#table_02 tbody td{
		margin-left: 10px;
		padding: 0;
		list-style-type: none;
	}




}

.mailformp dl {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}


.mailformp dt {
  width: 30%;
  padding-bottom: 20px;
  margin-bottom: 10px;
  background-color: #DADADA;
}

.mailformp dd {
  width: 70%;
  padding-bottom: 20px;
  background-color: #F3F3F3;
  margin-bottom: 10px;
}

p.akaji_z{
	color:#ff0000;
	font-size:100%;
}
p.mt-3{
    margin-top:3em;
}

.kiirobk{
  background-color: #ff9;font-size:100%;
}

.highlight-yellow {
  background-color: #ffff00; 
  color: black;               
  padding: 0.1em;          
}

/* 写真のギャラリー用  サムネイルを横並びに */
.gallery {
 display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    width: 100%;
    margin: 0 auto;
        margin-top:3rem;
}

 .gallery a {
    flex: 1 1 calc(33.333% - 1rem);
    max-width: calc(33.333% - 1rem);
    display: block;
  }

  /* サムネイル */
  .gallery img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    cursor: pointer;
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  }

  /* 拡大表示（モーダル） */
  .lightbox {
    display: none;
    position: fixed;
    top: 0; right: 0; bottom: 0; left: 0;
    background-color: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
    z-index: 10;
  }

  /* クリックで表示されたとき */
  .lightbox:target {
    display: flex;
    animation: fadeIn 0.4s ease;
  }

  /* 拡大画像にふわっとズームアニメーション */
  .lightbox img {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 10px;
    transform: scale(0.8);
    opacity: 0;
    animation: zoomFadeIn 0.5s ease forwards;
  }

  /* 背景フェードイン */
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  /* 画像がふわっと大きくなる */
  @keyframes zoomFadeIn {
    from {
      transform: scale(0.8);
      opacity: 0;
    }
    to {
      transform: scale(1);
      opacity: 1;
    }
  }

  /* 閉じるボタン */
  .lightbox a.close {
    position: fixed;
    top: 1rem;
    right: 1rem;
    color: #fff;
    font-size: 2rem;
    text-decoration: none;
    font-weight: bold;
  }
/* ここまで 写真のギャラリー用  サムネイルを横並びに */
    
    
    
    
    
    
    
    
    
    
    
    
