@charset "utf-8";

@import "base_layout.css";
@import "common_parts.css";

#header.test{
	height: 90px;
}
@media screen and (min-width: 980px){
#header.test .sitename .type{
	line-height: 1.2;
	font-size: 12.5px;
	padding-top: 10px;
}
#header.test .sitename .name {
  top: 60px;
}
}
#header.test #globalNav .btn-anq{
	margin: -25px 0 0 auto;
	width: 80%;
	font-size: 15px;
	background: rgb(250,13,63);
	background: linear-gradient(90deg, rgba(250,13,63,0.9009804605435925) 0%, rgba(253,29,29,1) 50%, rgba(252,176,69,1) 100%); 
	text-align: center;
	padding-right: 5px;
	line-height: 1.3;
	border-radius: 3px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
}
#header.test #globalNav .btn-anq a{
	color: #FFF;
	text-decoration: none;
	display: block;
	background: url("../../img/common/ar_white_circle.svg") no-repeat right center;
	padding: 5px 30px 5px 5px;
}
#header.test #globalNav .btn-anq a span.btm{
	display: block;
}
#header.test nav#globalNav ul{
	height: 50px;
}

.box-news .title-box.test{
	display: table;
}
.box-news .title-box.test .ttl{
	display: table-cell;
	padding-right: 1em;
	vertical-align: middle;
	font-weight: bold;
}
.box-news .title-box.test .btn-anq{
	display: table-cell;
	vertical-align: middle;
}
.box-news .title-box.test .btn-anq a{
	font-size: 15px !important;
	text-align: center;
	border-radius: 3px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	color: #FFF !important;
	text-decoration: none;
	display: block;
	padding: 10px 30px 10px 15px;
	background: rgb(250,13,63);
	background: linear-gradient(90deg, rgba(250,13,63,0.9009804605435925) 0%, rgba(253,29,29,1) 50%, rgba(252,176,69,1) 100%); 
	box-shadow:0px 0px 8px #b7b7b7;
	-moz-box-shadow:0px 0px 8px #b7b7b7;
	-webkit-box-shadow:0px 0px 8px #b7b7b7;
}
.box-news .title-box.test .btn-anq a:after{
	content: " »";
}

.mainphoto{
	text-align: center;
    background: url("../../img/toppage/mainph_bg.jpg") no-repeat center center;
    background-size: cover;
}
#slideshow { position:relative; width:1200px; height:500px; margin:auto;}
#slideshow img { position:absolute; top:0; left:0; z-index:8; }
#slideshow img.active { z-index:10; }
#slideshow img.last-active { z-index:9; }


@media screen and (max-width: 979px) {
    #slideshow{
        width: 100%;
        height: auto;
        z-index: 10;
        overflow: hidden;
        text-align: center;
    }
    #slideshow:before {
        content:"";
        display: block;
        padding-top: 41%;
    }
    #slideshow img{
        height: auto;
        width: 100%;
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        margin: auto;
    }
}

#main{
	padding: 50px 0;
}


/*menus
----------------------------------------------------------------------*/
#menus{
	width: 1200px;
	margin: 0 auto 50px;
}
#menus ul{
	display: -webkit-flex;
	display: flex;
	-webkit-flex-flow: row wrap;
	flex-flow: row wrap;
	-webkit-justify-content: left;
	justify-content: left;
}

#menus ul li{
	background: #FFF;
	box-shadow:0px 0px 15px #ccc;
	-moz-box-shadow:0px 0px 15px #ccc;
	-webkit-box-shadow:0px 0px 15px #ccc;
	width: 220px;
	margin: 10px;
	flex: 0 0 auto;
}
#menus ul li .photo{
    aspect-ratio: 1 / 1;
    overflow: hidden;
}
#menus ul li .photo img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#menus ul li .ttl{
	padding: 25px 1em;
	text-align: center;
	font-weight: 500;
	font-size: 18px;
}
#menus ul li a{
	color: #000;
	text-decoration: none;
}
#menus ul li.long{
	flex: 1 1 300px;
	min-width: 300px;
}

#menus ul li .ttl{
	display: table-cell;
	vertical-align: middle;
	text-align: left;
}

#menus .box-news{
	padding: 10px;
}
#menus .box-news .ttl{
	font-size: 21px;
    font-weight: bold;
}
#menus .box-news .scroll{
	height: 110px;
	padding: 10px;
	overflow-y: scroll;
    width: 95%;
    margin: auto;
    box-sizing: border-box;
}
#menus .box-news dl{
	display: -webkit-flex;
	display: flex;
	-webkit-flex-flow: row wrap;
	flex-flow: row wrap;
	-webkit-justify-content: left;
	justify-content: left;
}
#menus .box-news dl dt{
	font-weight: bold;
	width: 9em;
	padding: 5px 0;
	border-bottom: 1px solid #ccc;
}
#menus .box-news dl dd{
	width: calc(100% - 9em);
	padding: 5px 0;
	border-bottom: 1px solid #ccc;
}

@media screen and (max-width: 1200px) {
/*tablet*/
#menus{
	width: 100%;
	margin: 0 auto 50px;
}
#menus ul li{
	width: 19%;
}
}

@media screen and (max-width: 979px) {
/*tablet*/
#menus ul li{
	width: 30%;
}
#menus ul li.long{
	width: calc(100% - 20px);
}
#menus ul li.long .photo{
	width: 40%;
}
#menus ul li.long .photo img{
	max-width: 100%;
	height: auto;
}
#menus ul li .ttl{
	text-align: center;
}
}

@media screen and (max-width: 768px){
/*smart phone*/
#menus ul{
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: flex-start;
	justify-content: flex-start;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
}
#menus ul li{
	width: 32%;
	margin:0 0.5% 10px 0.5%
	-webkit-flex-grow: 1;
	flex-grow: 1;
}
}


@media screen and (max-width: 620px) {
/*sp*/
}
@media screen and (max-width: 480px){
#menus ul li{
	width: 45%;
}
#menus ul li .photo{
	text-align: center;}
#menus ul li .photo img{
	max-width: 100%;
	height: auto;
	margin: 0 auto;
}

} 


/*profiles
----------------------------------------------------------------------*/
#profiles{
	background: url("../../img/toppage/prof_bg2.png") no-repeat #469db6;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	color: #FFF;
	width: 95%;
	margin-left: auto;
	padding-bottom: 60px;
	top: -60px;
	position: relative;
	z-index: 100;
}
#profiles .wrapper{
	padding: 50px 0;
}
#profiles .titlebox{
	width: 290px;
	color: #b9dee9;
	text-align: right;
}
#profiles .titlebox h1{
	font-weight: 400;
	font-size: 48px;
	padding: 0 0 10px 100px;
	line-height: 1;
	border-bottom: 1px solid #b9dee9;
}
#profiles .titlebox .jp{
	font-size: 16px;
	padding: 10px 0 0 100px;
}
#profiles .titlebox .photo{
	padding: 40px 0 0 40px;
}
#profiles .titlebox .photo img{
	max-width: 100%;
	height: auto;
}
#profiles .prof-box{
	width: 860px;
	padding: 0 0 50px 50px;
}
#profiles .prof-box .name{
	font-size: 30px;
	font-weight: 400;
	margin-bottom: 30px;
}
#profiles .prof-box .name span.en{
	font-size: 18px;
	padding-left: 30px;
}
#profiles .prof-box .prof-box-inbox{}
#profiles .prof-box .prof-box-inbox dl{	
	margin-right: 5%;
}
#profiles .prof-box .prof-box-inbox dt{
	font-weight: 700;
	font-size: 18px;
	position: relative;
	display: inline-block;
	margin-bottom: 18px;
	padding-left: 1.5em;
}
#profiles .prof-box .prof-box-inbox dt:before {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	content: '';
	margin: auto;
	width: 1em;
	height: 1px;
	background-color: #FFF;
}
#profiles .prof-box .prof-box-inbox dd ul li{
	margin-bottom: 10px;
}

#profiles .btn{
	margin: 20px 40px;
	background-color: rgba( 255, 255, 255, 0.75 );
	border-radius: 3px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	font-weight: 700;
	font-size: 18px;
	text-align: center;
	width: calc(100% - 80px);

}
#profiles .btn a{
	color: #000;
	text-decoration: none;
	display: block;
	line-height: 65px;
}
#profiles .btn a img{
	vertical-align: middle;
	margin-left: 15px;
}

@media screen and (max-width: 979px) {
#profiles{
	background: url("../../img/toppage/prof_bg2.png") no-repeat bottom #469db6;
	-moz-background-size: 100% auto;
	-webkit-background-size: 100% auto;
	background-size: 100% auto;
}

#profiles .titlebox{
	width: 35%;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
}
#profiles .titlebox h1{
	padding: 0 0 10px 20px;
}
#profiles .titlebox .jp{
	padding: 10px 0 0 20px;
}
#profiles .prof-box{
	width: 64%;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
}
#profiles .prof-box .prof-box-inbox dl{
	margin: 5% 5% 0 0;
}
}
@media screen and (max-width: 768px){
/*smart phone*/
}
@media screen and (max-width: 620px) {
#profiles .titlebox,
#profiles .prof-box{
	width: 100%;
	text-align: left;
}
#profiles .titlebox .photo{
	padding: 20px;
	text-align: center;
}
#profiles .titlebox .photo img{
	max-width: 70%;
	height: auto;
}
#profiles .btn{
	margin: 20px;
	font-size: 16px;
	width: calc(100% - 40px);

}
}
@media screen and (max-width: 480px){
#profiles .titlebox h1{
	font-size: 28px;
}
}


/*greetings / ご挨拶
----------------------------------------------------------------------*/
#greeting{
	background: url("../../img/toppage/greeting_bg.jpg") no-repeat top;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	width: 95%;
}
#greeting .wrapper{
	padding: 50px 0;
}
#greeting .titlebox{
	color: #FFF;
	width: 300px;
}
#greeting .titlebox h1{
	font-weight: 400;
	font-size: 48px;
	border-bottom: 1px solid #FFF;
}
#greeting .titlebox h1 span.jp{
	font-size: 16px;
	padding-left: 2em;
}
#greeting .greeting-box{
	width: 850px;
	padding: 0 0 50px 50px;
}

/* ご挨拶セクションのスタイル */
#greeting .greeting-content{
	display: -webkit-flex;
	display: flex;
	flex-flow: row wrap;
	gap: 30px;
}
#greeting .greeting-image{
	width: 300px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
}
#greeting .greeting-image img{
	max-width: 100%;
	height: auto;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
}
#greeting .greeting-text{
	width: calc(100% - 330px);
	color: #FFF;
	font-size: 16px;
	line-height: 1.8;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
}
#greeting .greeting-text p{
	margin-bottom: 1em;
}

@media screen and (max-width: 979px) {
#greeting .greeting-content{
	-webkit-flex-direction: column;
	flex-direction: column;
}
#greeting .greeting-image{
	width: 100%;
	max-width: 400px;
	margin: 20px auto;
    text-align: center;
}
#greeting .greeting-text{
	width: 100%;
}
}
@media screen and (max-width: 768px){
/*smart phone*/
#greeting .greeting-box{
	width: 100%;
	padding: 0 20px;
}
#greeting .titlebox{
	width: 100%;
	padding: 0 20px;
}
#greeting .greeting-image{
	max-width: 80%;
}
}
@media screen and (max-width: 620px) {
/*sp*/
#greeting .titlebox h1{
	font-size: 32px;
}
}
@media screen and (max-width: 480px){
}