
@charset "utf-8";


/* =Reset default browser CSS.
Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.php
-------------------------------------------------------------- */
php, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {border: 0;font-family: inherit;font-size: 100%;font-style: inherit;font-weight: inherit;margin: 0;outline: 0;padding: 0;vertical-align: baseline;}
:focus {outline: 0;}

ol, ul {list-style: none;}
table {border-collapse: separate;border-spacing: 0;}
caption, th, td {font-weight: normal;text-align: left;}
blockquote:before, blockquote:after,q:before, q:after {content: "";}
blockquote, q {quotes: "" "";}
a img{border: 0;}
figure{margin:0}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display: block;}
/* -------------------------------------------------------------- */

body{
color:#333;
font:12px verdana,"ヒラギノ丸ゴ ProN W4","Hiragino Maru Gothic ProN","メイリオ","Meiryo","ＭＳ Ｐゴシック","MS PGothic",Sans-Serif;
line-height:1.5;
background:#f8f4f1;
-webkit-text-size-adjust: none;
}

php{background:#3f4360;}


/* リンク設定
------------------------------------------------------------*/
a{color:#3f4360;text-decoration:none;}
a:hover{color:#292d48;}
a:active, a:focus{outline:0;}


/* 全体
------------------------------------------------------------*/
#wrapper{
margin:0 auto;
padding:0 1%;
width:98%;
position:relative;
}

.inner{
margin:0 auto;
width:100%;
}


/*************
/* ヘッダー
*************/
#header{
padding:10px 0 15px;
overflow:hidden;
background:#3f4360;
border-bottom:1px solid #292d48;
}

* php #header{height:1%;}

#header h1{
font-size:12px;
font-weight:normal;
color:#fff;
}


/*************
/* ロゴ
*************/
#header .logo{
float:left;
padding:20px 0 0;
}

.logo a{
font-size:20px;
font-weight:bold;
line-height:1;
color:#fff;
}

.logo span{
font-size:12px;
font-weight:normal;
}


/**************************
/* トップナビゲーション
**************************/
ul#topnav{
float:right;
overflow:hidden;
}

* php ul#topnav{height:1%;}

ul#topnav li{
float:left;
margin:0 5px;
text-align:center;
}

ul#topnav a{
font-size:13px;
display:block;
padding:20px 10px;
color:#fff;
}

ul#topnav span{
color:#cdcdcd;
font-size:10px;
}

ul#topnav li.active a,ul#topnav a:hover{
background:#292d48;
border-radius:5px;
}


.slider {
    position: relative;
    width: 100%;
    height: 350px;
    margin: 30px auto;
    overflow: hidden;
    border-radius: 3px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}


/**************************
/* メイン画像（トップページ+サブページ）
**************************/
#mainBanner{
margin:30px auto;
padding:0;
width:100%;
position:relative;
line-height:0;
}

#mainBanner img{
max-width:100%;
height:auto;
border-radius:3px;
}

.slogan{
position:absolute;
max-width:100%;
height:auto;
bottom:0;
left:0;
padding:5px 10px;
line-height:1.4;
background:url(images/tp.png);
}

.slogan h2{
padding-bottom:5px;
color:#333;
font-size:20px;
}

.slogan h3{
font-size:14px;
color:#666;
}

/* サブページ スローガンの背景・黒*/
.subImg .slogan{background:url(images/tp2.png);}

.subImg .slogan h2{color:#fff;}
.subImg .slogan h3{color:#ccc;}



/**************************
/* グリッド
**************************/
.gridWrapper{
padding-bottom:20px;
overflow: hidden;
}

* php .gridWrapper{height:1%;}
	
.grid{
float:left;
border-radius:5px;
background:#fff;
}

.grid h3{
padding:20px 5px;
text-align:center;
color:#fff;
border-radius:5px 5px 0 0;
background:#292d48;
}

.grid p{
padding:5px 10px;
}

.gridWrapper img{
max-width:100%;
height:auto;
}

/* フッター内のグリッド(3カラム) */
#footer .grid{
color:#fff;
background:transparent;
}

#footer .grid p{padding:0;}


/*************
メイン コンテンツ
*************/
section.content{
padding:19px;
margin-bottom:20px;
border:1px solid #ebebeb;
border-radius:6px;
background:#fff;
overflow:hidden;
font-size:14px;
}

* php section.content{height:1%;}

section.content p{margin-bottom:5px;}

h3.heading{
padding-left:7px;
margin-bottom:10px;
font-size:16px;
border-left:5px solid #3f4360;
color:#3f4360;
}

section.content img{
max-width:90%;
height:auto;
}

.alignleft{
float:left;
clear:left;
margin:3px 10px 10px 0;
}

.alignright{
float:right;
clear:right;
margin:3px 0 10px 10px;
}

img.frame,#gallery img{
border:4px solid #fff;
box-shadow:0 0 2px rgba(0, 0, 0, 0.5);
-webkit-box-shadow:0 0 2px rgba(0, 0, 0, 0.5);
}

#gallery .grid{padding:5px 0 0;}


/*************
テーブル
*************/
table.table{
border-collapse:collapse;
width:100%;
margin:10px auto;
}

table.table th,table.table td{
padding:5px;
border:1px solid #292d48;
}

table.table th{
text-align:right;
font-weight:bold;
letter-spacing:1px;
white-space:nowrap;
color:#fff;
background:#3f4360;
border-left:#292d48 5px solid
}

table.table td{border-left:#292d48 3px double}



/*************
サブコンテンツ
*************/
#sub ul{padding:10px;}

#sub li{
margin-bottom:10px;
padding-bottom:10px;
border-bottom:1px dashed #ebebeb;
}

#sub li:last-child{
border:0;
margin-bottom:0;
}

#sub li a{display:block;}

#sub ul.list{padding-bottom:7px;}

#sub ul.list li{
clear:both;
margin-bottom:5px;
padding:5px 0;
overflow:hidden;
}

* php #sub ul.list li{height:1%;}

#sub ul.list li img{
float:left;
margin-right:10px;
}

#sub ul.list li{
font-size:12px;
line-height:1.35;
}


/*************
/* フッター
*************/
#footer{
clear:both;
padding:20px 0;
overflow:hidden;
background:#3f4360;
border-top:1px solid #292d48;
}

* php #footer{height:1%;}

.tel strong{
font-size:20px;
font-weight:bold;
}

#footer a{color:#fff;}
#footer a:hover{color:#ccc;}

#footer .copyright{font-size:11px;}


/* PC用 */
@media only screen and (min-width:960px){	
	#wrapper,.inner{
	width:940px;
	padding:0;
	}
	
	#wrapper{padding-bottom:20px;}
	
	/* グリッド全体 */
	.gridWrapper{
	width:960px;
	margin:0 0 0 -20px;
	}
	
	/* グリッド共通 ベース:トップページ4カラム */
	.grid{
	float:left;
	width:220px;
	margin-left:20px;
	}
	
	/* サブコンテンツ + フッター グリッド(3カラム) */
	#sub .grid, #footer .grid{
	width:300px;
	}
	
	/* ギャラリー グリッド(4カラム) */
	#gallery{
	width:920px;
	}
	
  #gallery .grid{
	width:210px;
	}	
}


/* モニター幅940px以下 */
@media only screen and (max-width:940px){
	#header h1{padding:0 0 5px 10px;}
	#header .logo{padding-left:10px;}
	
	.grid{
	float:left;
	width:48%;
	margin:10px 2% 0 0;
	}
	
	.grid img{
	float:left;
	margin-right:5px;
	}
	
	#gallery{padding-left:1px;}
	
	#gallery .grid{
	width:23%;
	margin:0 2% 0 0;
	padding:0;
	}
	
	#gallery .grid img{
	float:none;
	margin:0;
	}
	
	#sub .grid{
	width:32%;
	margin:10px 1%;
	}
	
	#sub .grid:first-child{
	margin-left:0;
	}
	
	#sub .grid:last-child{
	margin-right:0;
	}
	
	#footer .grid{
	float:none;
	width:100%;
	text-align:center;
	}
	
	#footer .grid:last-child{padding-top:20px;}
}


/* iPad 縦 */
@media only screen and (max-width:768px){
  #header{padding-bottom:0;}	

	#header h1{text-align:center;}
	
	#header .logo{
	float:none;
	text-align:center;
	padding:10px 5px 20px;
	}

	ul#topnav{
	clear:both;
	width:100%;
	}

	ul#topnav li{
	width:33%;
	margin:0;
	border-top:1px solid #292d48;
	border-right:1px dashed #292d48;
	 box-sizing:border-box;
  -webkit-box-sizing:border-box;
  -moz-box-sizing:border-box;
	}

	ul#topnav li:nth-child(3n){border-right:0;width:34%;}

	ul#topnav li.active a,ul#topnav a:hover{border-radius:0;}
	
	#sub ul.list{padding:10px 10px 11px;}
	
	#sub ul.list li{
	padding-bottom:10px;
	margin-bottom:8px;
	}
}


/* スマートフォン 横(ランドスケープ) */
@media only screen and (max-width:640px){
	#footer .grid p{text-align:center;}
	
	.grid img{
	float:none;
	margin:20px auto 10px;
	}
	
	.grid p,#sub .grid li{text-align:left;}
	
	img.frame,#gallery img{border-width:2px;}

  .alignleft,.alignright{
	float:none;
	display:block;
	margin:0 auto 10px;
	}
}


/* スマートフォン 縦(ポートレート) */
@media only screen and (max-width:480px){
	ul#topnav li{width:50%;}

	ul#topnav li:nth-child(3n){
	border-right:1px dashed #292d48;
	width:50%;
	}
	
	ul#topnav li:nth-child(2n),ul#topnav li:nth-child(6n){border-right:0;}
	
	#mainBanner{margin-left:1px;}
	#mainBanner h2,#mainBanner h3{font-size:80%;}
	
	#sub .grid{
	float:none;
	width:98%;
	}
	
	#sub .grid h3{padding:10px 5px;}
	
	#sub ul.list{padding:10px;}
	
	#sub ul.list li{
	padding-bottom:3px;
	margin-bottom:3px;
	}
	
	#sub ul.list li img{margin:0 5px 0 0;}
}

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

    .slider{
        height:250px;
    }

}

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

    .slider{
        height:180px;
    }

}

/* 活動報告 */

.activity-wrapper{
margin:20px 0;
}

.activity-card{
display:flex;
gap:20px;
margin-bottom:20px;
padding:15px;
border:1px solid #dddddd;
background:#ffffff;
}

.activity-image{
width:250px;
flex-shrink:0;
}

.activity-image img{
width:100%;
height:auto;
display:block;
}

.activity-body{
flex:1;
}

.activity-date{
font-weight:bold;
margin-bottom:10px;
}

.activity-text{
line-height:1.8;
}

.activity-staff{
margin-top:10px;
color:#666;
}

.activity-link{
text-align:right;
margin-top:15px;
}

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

.activity-card{
display:block;
}

.activity-image{
width:100%;
margin-bottom:15px;
}

}


.report-box{
margin-bottom:40px;
padding-bottom:20px;
border-bottom:1px solid #cccccc;
}

.report-photo{
max-width:500px;
width:100%;
height:auto;
margin:10px 0;
display:block;
}
.report-photos{
display:flex;
gap:20px;
margin:10px 0 20px;
flex-wrap:wrap;
}

.report-photo{
width:200px;
height:150px;
object-fit:cover;
border:1px solid #cccccc;
}

.report-photos a{
text-decoration:none;
}
.top-report-photos{
display;
gap:20px;
margin:10px 0;
flex-wrap;
}

.top-report-photo{
width:200px;
height:150px;
object-fit;
border:1px solid #cccccc;
margin-right:15px;
}

.report-title{
font-size:1.2em;
font-weight;
margin:10px 0;
color:#333;
}

.report-title{
font-size:1.4em;
font-weight;
margin:10px 0 15px;
color:#333333;
}

/* トップページ 活動報告 */
.activity-item{
display;
align-items;
gap:20px;
margin:20px 0;
padding-bottom:15px;
}

.top-report-left{
display;
gap:10px;
flex-shrink:0;
}

.top-report-photo{
width:150px;
height:150px;
object-fit;
border:1px solid #cccccc;
}

.top-report-right{
flex:1;
min-width:0;
}

.top-report-title-row{
display;
align-items;
gap:10px;
margin-bottom:8px;
}

.top-report-title{
font-size:18px;
font-weight;
color:#333333;
}

.top-report-new{
display;
background:#d90000;
color:#ffffff;
font-size:12px;
font-weight;
padding:2px 8px;
border-radius:3px;
line-height:1.4;
}

.top-report-date{
font-size:14px;
color:#666666;
margin-bottom:10px;
}

.top-report-text{
font-size:15px;
line-height:1.8;
color:#333333;
}
/* =========================
   トップページ 活動報告3件
========================= */
.activity-item{
    display:flex;
    align-items:flex-start;
    gap:20px;
    margin:20px 0;
    padding-bottom:15px;
}

.top-report-left{
    display:flex;
    gap:10px;
    flex-shrink:0;
}

.top-report-photo{
    width:150px;
    height:150px;
    object-fit:cover;
    border:1px solid #cccccc;
}

.top-report-right{
    flex:1;
    min-width:0;
}

.top-report-title-row{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:8px;
}

.top-report-title{
    font-size:18px;
    font-weight:bold;
    color:#333333;
}

.top-report-new{
    display:inline-block;
    background:#d90000;
    color:#ffffff;
    font-size:12px;
    font-weight:bold;
    padding:2px 8px;
    border-radius:3px;
    line-height:1.4;
}

.top-report-date{
    font-size:14px;
    color:#666666;
    margin-bottom:10px;
}

.top-report-text{
    font-size:15px;
    line-height:1.8;
    color:#333333;
}

/* =========================
   activity.php 一覧ページ
========================= */
.report-box{
    margin:0 0 35px 0;
    padding:0 0 25px 0;
    border-bottom:1px solid #cccccc;
}

.report-title-row{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:8px;
}

.report-title{
    font-size:22px;
    font-weight:bold;
    color:#333333;
}

.report-new{
    display:inline-block;
    background:#d90000;
    color:#ffffff;
    font-size:12px;
    font-weight:bold;
    padding:2px 8px;
    border-radius:3px;
    line-height:1.4;
}

.report-date{
    font-size:14px;
    color:#666666;
    margin-bottom:15px;
}

.report-photos{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    margin-bottom:15px;
}

.report-photo{
    width:240px;
    height:180px;
    object-fit:cover;
    border:1px solid #cccccc;
}

.report-text{
    font-size:15px;
    line-height:1.9;
    color:#333333;
}

/* ===== 活動報告（PC） ===== */

.activity-item{
    display:flex;
    gap:20px;
    margin-bottom:20px;
    padding-bottom:20px;
    border-bottom:1px solid #ddd;
}

.top-report-left{
    width:320px;
    flex-shrink:0;
}

.top-report-right{
    flex:1;
}

.top-report-photo{
    width:150px;
    height:150px;
    object-fit:cover;
    border:1px solid #ccc;
    margin-right:8px;
}

.top-report-title{
    font-size:22px;
    font-weight:bold;
}

.top-report-date{
    color:#666;
    margin:8px 0;
}

.top-report-text{
    line-height:1.8;
}


/* ===== スマホ ===== */

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

.activity-item{
    display:block;
}

.top-report-left{
    width:100%;
    margin-bottom:10px;
    text-align:center;
}

.top-report-right{
    width:100%;
}

.top-report-photo{
    width:46%;
    max-width:160px;
    height:auto;
    margin:2%;
}

.top-report-title{
    font-size:18px;
}

.top-report-date{
    font-size:14px;
}

.top-report-text{
    font-size:15px;
    line-height:1.7;
}

}

/*==================================
 Hero Slider
==================================*/

.hero-slider{

    position:relative;
    width:100%;
    max-width:940px;
    margin:30px auto;
    overflow:hidden;

    aspect-ratio:640 / 158;

    border-radius:4px;

}

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

.hero-slide{

    position:absolute;
    top:0;
    left:0;

    width:100%;
    height:100%;

    opacity:0;

    animation:heroFade 32s infinite;

}

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

.hero-slide img{

    width:100%;
    height:100%;

    object-fit:cover;

    display:block;

    animation:heroMove 32s infinite;

}

/*==================================
 表示タイミング
==================================*/

.src1,
.src1 img{
animation-delay:0s;
}

.src2,
.src2 img{
animation-delay:4s;
}

.src3,
.src3 img{
animation-delay:8s;
}

.src4,
.src4 img{
animation-delay:12s;
}

.src5,
.src5 img{
animation-delay:16s;
}

.src6,
.src6 img{
animation-delay:20s;
}

.src7,
.src7 img{
animation-delay:24s;
}

.src8,
.src8 img{
animation-delay:28s;
}

/*==================================
 Fade
==================================*/

@keyframes heroFade{

0%{opacity:0;}
5%{opacity:1;}
20%{opacity:1;}
25%{opacity:0;}
100%{opacity:0;}

}

/*==================================
 Move
==================================*/

@keyframes heroMove{

0%{

transform:
translateX(-1%)
scale(1.02);

}

50%{

transform:
translateX(1%)
scale(1.05);

}

100%{

transform:
translateX(-1%)
scale(1.02);

}

}

/*==================================
 Smartphone
==================================*/

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

.hero-slider{

width:100%;
margin:15px auto;

}

}

