@charset "utf-8";

/* media screen --------------------------------------------------------*/
@media screen and (max-width:1360px) {}	/* 横幅1360px以下、TB用 */
@media screen and (max-width:800px) {}	/* 横幅800px以下、SP用 */

/* conmon css
-------------------------------------------------------------------------*/
* {
  margin: 0;
  padding: 0;
}
*,
::before,
::after {
  box-sizing: border-box; /* 1 */
  background-repeat: no-repeat; /* 2 */
}
ul,ol{
  padding-inline-start: 0;
  list-style-position: inside;
}
li {
  list-style: none;
}
a {
  text-decoration: none;
  color: #fff;	/*文字色。css冒頭で指定しているprimary-text-colorを読み込みます*/
	transition: 0.3s;	/*hoverまでにかける時間。0.3秒。*/
}
a:hover {
  color: orange;
  transition: all 0.3s 0.1s ease-in-out;
  filter: brightness(1.1);	/*少し明るくする*/
}
/*CSS 関数  var(--text-color) を指定
---------------------------------------------------------------------------*/
:root {
	--bg-color: #273E84;		/*テンプレートのメインとなる色*/
  --contents-bg-color: #C1CDDF;
	--text-color: #333;		/*メインの上で使うテキスト色*/
    --accent-color: #fff;		/*テンプレートのアクセントとなる色*/
    --accent-text-color: #777;		/*アクセントの上で使うテキスト色*/
}

/* home reyout
----------------------------------------------*/
#container {
width: 100%;
display: flex;
flex-direction: column;
min-height: 100vh;
width: 100%;
height:auto !important; /*IE6対策*/
height: 100%; /*IE6対策*/
min-height: 100%;
}

header {
  width: 100%;
  height: 110vh;
}
#content {
  width: 100%;
  margin: 0 auto;
  text-align: left;
}
main {
  flex: 1;  /*「flex-grow: 1;」、「flex-shrink: 1;」、「flex-basis: 0;」の3つ同時に指定*/
}
footer {
  margin-top: auto;
  width: 100%;
  background-color: #273E84;
  color: #fff;
}


/* common
--------------------------------------------------*/
header.page-link {
  position: fixed;
  top: 0px;
  left: 0px;
  padding: 5px 0 0 30px;
}
header.page-link a {
  text-shadow: 1px 2px 3px #444;
}



/* section
==================================================*/
section {
  clear: both;
}


/* section#top -----------------------------------*/
section#top {
  position: relative;
  height: 100vh;
  margin-top: -48px;  /*高さ調整*/
}

.top-text {
  position: absolute;
  top: 100px;
  left: 5%;
  color: orange;
  font-size: 150%;
  line-height: 1.5em;
  z-index: 2;
}

.cyousen img {
  width: 28%;
  position: absolute;
  top: 230px;
  left: 2%;
  z-index: 2;
}
h1 .hosoku {
  font-size: 3.5em;
}
h1#logo {
	width: 400px;
	margin: 3rem auto;
}
h1#logo {
	position: absolute;z-index: 1;
	top: 400px;
  left: 2%;
	transform: rotate(-8deg); /*傾き*/
	width: 50%;
  z-index: 3;
}

.logo_psw img {
  width: 18%;
  position: absolute;
  bottom: 5px;
  left: 5%;
  z-index: 2;
}

#maining {
  position: relative;
  z-index: 1;
}
#mainimg {
	animation: opa1 1.5s 0.5s both;	/*@keyframesのopa1を1.5秒かけて実行する。実行までの待機時間0.5秒。*/
	position: absolute;
	right: 0;
	width: 100%;	/*画面の半分だけに配置 width: 70%; height: 105%; */
	height: 110%;
	clip-path: polygon(50% 0%, 100% 0%, 100% 100%, 30% 100%);  /*台形*/
	background: url('../images/home.jpg') no-repeat center center / cover;	/*背景画像*/
}

	
	@media screen and (max-aspect-ratio: 1/2) {   /*画面のアスペクト比が1:2以下の場合の追加設定*/

	#mainimg {
		width: 100%;		/*画像が細くなりすぎるので、全画面に出すように変更*/
		clip-path: none;	/*切り抜きをリセット*/
	}

	}



/* #greetings -------------------------------------*/
section#greetings {
  height: 100vh;
}
section#greetings h2 {
  width: 100%;
  margin-bottom: 80px;
}
section#greetings img {
  width: 40%;
  margin-top: 0px;
  float: right;
  overflow: hidden;
}
section#greetings p{
  width: 60%;
}
.greetings-name {
  width: 100%;
  text-align: right;
}
.sign {
  font-size: 1.2em;
}

@media screen and (max-width:800px) {	/* 横幅800px以下、SP用 */
  section#greetings p{
    width: 60%;
    line-height: 1.6em;
  }
}
/* #sect_link ---------------------------------------*/
section.sect_link {
  display: flex;
  flex-direction: row;
  z-index: 999;
}
.sect_link h2 {
  width: 40%;
  display: flex;
  flex-direction: column;
  padding: 0; margin: 0;
}
.sect_link .hosoku {
  font-size: 2em;
}
.sect_link .text-ja {
  margin: 0;
  padding: 0 70px 0 0;
  text-align: right;
}
.sect_link a.slider {
  width: 50%;
}
.sect_link a.ya {
  font-size: 3em;
  color: #aaa;
  padding-left: 15px;
}

@media screen and (max-width:800px) {	/* 横幅800px以下、SP用 */
  section.sect_link {
    display: flex;
    flex-direction: column;
  }
  .sect_link h2 {
    width: 100%;
    margin-bottom: 30px;
  }
  .sect_link a.slider {
    width: 100%;
  }
}

/* .etc_link----------------------------------------*/
section#etc {
  display: flex;
  justify-content: center;
}
.etc_link {
  width: 50%;
  padding: 8px 20px;
    display: flex;
}
.etc_link h2 {
  width: 100%;
}
.etc_link .hosoku {
  font-size: 2em;
}
.etc_link a.ya {
  font-size: 3em;
  color: #aaa;
  z-index: 999;
}

@media screen and (max-width:800px) {	/* 横幅800px以下、SP用 */
  section#etc {
    display: flex;
    flex-direction: column;
  }
  .etc_link {
    width: 100%;
    padding: 8px 20px;
      display: flex;
  }
}



section {
  position: relative;
}
section h2 {
  width: 800px;

}
section h2 span {
float: left;
}
section h2 span.text-ja {
  margin-left: 35px;
  margin-top: 35px;

}

section h2 {
	font-size: 1.5rem;
	font-weight: normal;
	line-height: 1.5;
	display: inline-block;
	text-align: left;
}

.hosoku {
	font-family: "Allura", cursive;
	font-weight: 400;
	font-size: 3em;
	display: block;
	opacity: 0.5;
}



/*mashine
---------------------------------------------------*/






/* page style =========================================================*/

nav.main-menu {
  width: 500px;
}
nav.main-menu ul {
  display: flex;
  flex-wrap: wrap;
}
nav.main-menu ul li {
padding: 8px;
}




/*
*****************************
******************************.
*******************************
240426w4403
*/


section#greetings {

}
#greetings img {
  width: 30%;
  float: right;
  }
#greetings p {
  width: 50%;
  float: left;
}

/*  #greetings p.greetings-name {
  width: 70%;
  text-align: reft;
  margin-right: 50px;
}
  */

/* ham-menu*****************************************************/
.ham-menu {
  display: none;
}

/* ページ内リンクトップに作成 *************************************/
.page-link {
	position: fixed; overflow: auto; z-index: 103;
  top: 10px;
  left: 100px;
  color: #fff;
}
.page-link ul {
  display: flex;
}
.page-link li {
  padding: 5px;
  list-style: none;

}

/* 画像表示 fancybox を設定 ************************************************/
.images-list {
  width: 100%;
}
.images-list ul {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: space-between;
}
.images-list ul li {
  list-style: none;
  width: calc(1140px / 5);
}
.images-list ul li img {
border-radius: 3px;
margin-bottom: 10px;
}


