@charset "utf-8";

/*===============================================
●画面の横幅が769px以上
===============================================*/
@media screen and (min-width : 769px ){
#pc------------------------------------------- {
}
main {
	margin-top: 0px;
}
#helo {
  height: 100vh;
  position: relative;
  background-color: #000;
  overflow: hidden; 
}

#helo .inner {
  position: relative;
  z-index: 10;
}

.bg-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.bg-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  /* 20秒かけてアニメーションを無限ループ（4枚 × 5秒） */
  animation: bgZoomFade 20s linear infinite;
}

/* 各画像のパスと、5秒ごとのズラし設定 */
.slide1 {
  background-image: url("../images/index/h_bg.webp");
  animation-delay: 0s;
}
.slide2 {
  background-image: url("../images/index/h_bg2.webp");
  animation-delay: 5s;
}
/* slide3 削除 */
.slide4 {
  background-image: url("../images/index/h_bg4.webp");
  animation-delay: 10s;
}
.slide5 {
  background-image: url("../images/index/h_bg5.webp");
  animation-delay: 15s;
}

/* ズーム＆フェードのアニメーション設定（20秒周期） */
@keyframes bgZoomFade {
  0% {
    opacity: 0;
    transform: scale(1);
  }
  5% {
    opacity: 1; /* 1秒（20秒の5%）かけて表示 */
  }
  25% {
    opacity: 1; /* 5秒（20秒の25%）時点まで表示を維持 */
  }
  30% {
    opacity: 0; /* 6秒（20秒の30%）時点で完全に透明にする */
    transform: scale(1.1);
  }
  100% {
    opacity: 0;
    transform: scale(1);
  }
}

#helo .inner {
	position: absolute;
	left: 0px;
	right: 0px;
	bottom: 70px;
	width: 90%;
	margin-left: auto;
	margin-right: auto;
	text-align: left;
}
#helo .inner h2 {
	font-size: 36px;
	color: #fff;
	line-height: 1.4em;
}
#helo .inner a {
	width: 250px;
	height: 50px;
	line-height: 50px;
	display: block;
	font-size: 15px;
	text-align: center;
	color: #fff;
	text-decoration: none;
	background-color: #003951;
	margin-top: 20px;
	transition: 0.3s;
}
#helo .inner a:hover {
	opacity: 0.8;
	transition: 0.3s;
}





#ourservice{
	background-color: #fff;
	padding-top: 50px;
}
#ourservice h2 {
	font-size: 24px;
	color: #003850;
	line-height: 1.5em;
	margin-bottom: 20px;
}
#ourservice h2 span {
	display: block;
	font-size: 60px;
	margin-bottom: 18px;
}
#ourservice div {
	width: 1100px;
	margin-left: auto;
	margin-right: auto;
	border-bottom: 1px solid #003850;
	color: #003951;
	padding-bottom: 70px;
	margin-bottom: 25px;
}
#ourservice p {
	font-size: 14px;
}
#ourservice p a {
	display: block;
	background-color: #003951;
	width: 350px;
	height: 80px;
	margin-left: auto;
	margin-right: auto;
	color: #fff;
	text-decoration: none;
	line-height: 80px;
	font-size: 21px;
	transition: 0.3s;
}
#ourservice p a:hover {
	opacity: 0.7;
	transition: 0.3s;
}





main h2.ttl {
	font-size: 44px;
	color: #003951;
	margin-bottom: 40px;
	line-height: 1.3em;
}
main h2.ttl .first {
	color: #c1272d;
}
main h2.ttl em {
	display: block;
	font-size: 21px;
	margin-top: 20px;
	line-height: 1.4em;
}
main .viewmore a {
	font-size: 12px;
	color: #000;
}
#estate {
	margin-top: 120px;
}
#estate .flex {
	display: flex;
	justify-content: space-between;
	flex-direction: row-reverse;
	align-items: center;
}
#estate .flex .box {
	width: 50%;
	text-align: left;
}
#estate .flex .box div {
	margin-left: 70px;
}
#estate .flex .box div p {
	font-size: 14px;
}
#estate .flex .box div .viewmore {
	margin-left: 400px;
	margin-top: 35px;
}
#estate figure {
	width: 50%;
	height: 450px;
	position: relative;
}
#estate figure::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/index/p01.webp");
  background-size: cover;
  background-position: center;
  z-index: 1; /* 一番後ろに配置 */
   transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
#estate figure:hover::before {
  transform: scale(1.08); /* 1.08倍にフワッと拡大 */
}
#estate figure a {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 20; /* リンクをクリックできるように最前面へ */
}


#general {
	margin-top: 100px;
}
#general .flex {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
#general .flex .box {
	width: 50%;
	text-align: left;
	display: flex;
	flex-direction: row-reverse;
}
#general .flex .box div {
	margin-right: 70px;
}
#general .flex .box div p {
	font-size: 14px;
}
#general .flex .box div .viewmore {
	margin-left: 400px;
	margin-top: 35px;
}
#general figure {
	width: 50%;
	height: 450px;
	position: relative;
}
#general figure::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/index/p02.webp");
  background-size: cover;
  background-position: center;
  z-index: 1; /* 一番後ろに配置 */
  
  /* 滑らかに拡大させるための魔法（0.6秒かけて変化） */
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
#general figure:hover::before {
  transform: scale(1.08); /* 1.08倍にフワッと拡大 */
}
#general figure a {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 20; /* リンクをクリックできるように最前面へ */
}


#support {
	margin-top: 120px;
}
#support .flex {
	display: flex;
	justify-content: space-between;
	flex-direction: row-reverse;
	align-items: center;
}
#support .flex .box {
	width: 50%;
	text-align: left;
}
#support .flex .box div {
	margin-left: 70px;
}
#support .flex .box div p {
	font-size: 14px;
}
#support .flex .box div .viewmore {
	margin-left: 400px;
	margin-top: 35px;
}
#support figure {
	width: 50%;
	height: 450px;
	position: relative;
}
#support figure::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/index/p03.webp");
  background-size: cover;
  background-position: center;
  z-index: 1; /* 一番後ろに配置 */
  
  /* 滑らかに拡大させるための魔法（0.6秒かけて変化） */
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
#support figure:hover::before {
  transform: scale(1.08); /* 1.08倍にフワッと拡大 */
}
#support figure a {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 20; /* リンクをクリックできるように最前面へ */
}


#buying {
	margin-top: 100px;
}
#buying .flex {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
#buying .flex .box {
	width: 50%;
	text-align: left;
	display: flex;
	flex-direction: row-reverse;
}
#buying .flex .box div {
	margin-right: 70px;
}
#buying .flex .box div p {
	font-size: 14px;
}
#buying .flex .box div .viewmore {
	margin-left: 400px;
	margin-top: 35px;
}
#buying figure {
	width: 50%;
	height: 450px;
	position: relative;
}
#buying figure::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/index/p04.webp");
  background-size: cover;
  background-position: center;
  z-index: 1; /* 一番後ろに配置 */
  
  /* 滑らかに拡大させるための魔法（0.6秒かけて変化） */
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
#buying figure:hover::before {
  transform: scale(1.08); /* 1.08倍にフワッと拡大 */
}
#buying figure a {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 20; /* リンクをクリックできるように最前面へ */
 }




#performance {
	margin-top: 100px;
	background-color: #DEE5E8;
	padding-top: 80px;
	padding-bottom: 80px;
}
#performance h2 {
	font-size: 25px;
	color: #003951;
	line-height: 1.4em;
}
#performance h2 span {
	display: block;
	font-size: 60px;
	margin-bottom: 22px;
}
#performance h2+p {
	margin-top: 30px;
	font-size: 14px;
}
#performance .flex {
	display: flex;
	justify-content: space-between;
	width: 1116px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 60px;
}
#performance .flex div {
	width: 317px;
}
#performance .flex div figure {
	margin-bottom: 15px;
}
#performance .flex div p {
	font-size: 16px;
	line-height: 1.4em;
}
#performance .flex div p span {
	font-size: 14px;
}
#performance .flex div .viewmore {
	font-size: 14px;
	margin-top: 5px;
}




#ounermagazine {
}
#ounermagazine .flex {
	display: flex;
	justify-content: space-between;
}
#ounermagazine .flex .box {
	background-image: url("../images/index/owner_bg.webp");
	background-position: center center;
	background-size: cover;
	height: 500px;
	width: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	color: #fff;
}
#ounermagazine .flex .box+.box {
	background-image: url("../images/index/gaku_bg.webp");
}
#ounermagazine .flex .box h2 {
	font-size: 21px;
	margin-bottom: 25px;
}
#ounermagazine .flex .box h2 span {
	font-size: 44px;
	display: block;
	margin-bottom: 10px;
	line-height: 0.8em;
}
#ounermagazine .flex .box p {
	font-size: 14px;
}
#ounermagazine .flex .box p a {
	display: block;
	width: 400px;
	height: 50px;
	line-height: 50px;
	background-color: #fff;
	border-radius: 12px;
	margin-top: 45px;
	margin-left: auto;
	margin-right: auto;
	text-decoration: none;
	font-size: 14px;
	color: #000000;
	transition: 0.3s;
}
#ounermagazine .flex .box p a:hover {
	background-color: #003951;
	color: #fff;
	transition: 0.3s;
}





#news{
	background-color: #fff;
	padding-top: 70px;
}
#news h2 {
	font-size: 24px;
	color: #003850;
	line-height: 1.4em;
	margin-bottom: 50px;
}
#news h2 span {
	font-size: 60px;
	display: block;
	margin-bottom: 20px;
}
#news article {
	border-bottom: 1px solid #000;
}
#news article ul {
	width: 1100px;
	margin-left: auto;
	margin-right: auto;
	text-align: left;
}
#news article ul li {
	margin-bottom: 25px;
}
#news article ul li time {
	font-size: 16px;
	margin-right: 70px;
}
#news article ul li a {
	text-decoration: none;
	color: #000;
	font-size: 16px;
}
#news article ul li a:hover {
	text-decoration: underline;
}
}



/*===============================================
●画面の横幅が768pxまで
===============================================*/
@media screen and (max-width:768px){
	
/*===============================================
●sp-tablet
===============================================*/
#sptablet------------------------------------------- {
}
#helo {
  height: 100vh;
  position: relative;
  background-color: #000;
  overflow: hidden; 
}

#helo .inner {
  position: relative;
  z-index: 10;
}

.bg-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.bg-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  /* 20秒かけてアニメーションを無限ループ（4枚 × 5秒） */
  animation: bgZoomFade 20s linear infinite;
}

/* 各画像のパスと、5秒ごとのズラし設定 */
.slide1 {
  background-image: url("../images/index/h_bg_sp.webp");
  animation-delay: 0s;
}
.slide2 {
  background-image: url("../images/index/h_bg2_sp.webp");
  animation-delay: 5s;
}
/* slide3 削除 */
.slide4 {
  background-image: url("../images/index/h_bg3_sp.webp");
  animation-delay: 10s;
}
.slide5 {
  background-image: url("../images/index/h_bg5_sp.webp");
  animation-delay: 15s;
}

/* ズーム＆フェードのアニメーション設定（20秒周期） */
@keyframes bgZoomFade {
  0% {
    opacity: 0;
    transform: scale(1);
  }
  5% {
    opacity: 1; /* 1秒（20秒の5%）かけて表示 */
  }
  25% {
    opacity: 1; /* 5秒（20秒の25%）時点まで表示を維持 */
  }
  30% {
    opacity: 0; /* 6秒（20秒の30%）時点で完全に透明にする */
    transform: scale(1.1);
  }
  100% {
    opacity: 0;
    transform: scale(1);
  }
}

#helo .inner {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 5.333vw;
	width: 96%;
	margin-left: auto;
	margin-right: auto;
	text-align: left;
}
#helo .inner h2 {
	font-size: 8.067vw;
	color: #fff;
	line-height: 1.4em;
}
#helo .inner a {
	width: 66.667vw;
	height: 13.333vw;
	line-height: 13.333vw;
	display: block;
	font-size: 4vw;
	text-align: center;
	color: #fff;
	text-decoration: none;
	background-color: #003951;
	margin-top: 5.333vw;
	transition: 0.3s;
	box-shadow: 3px 3px 5px rgba(0,0,0,0.30);
	-webkit-box-shadow: 3px 3px 5px rgba(0,0,0,0.30);
}
#helo .inner a:hover {
	opacity: 0.8;
	transition: 0.3s;
}


#ourservice{
	background-color: #fff;
	padding-top: 8vw;
}
#ourservice h2 {
	font-size: 5.6vw;
	color: #003850;
	line-height: 1.5em;
	margin-bottom: 5.333vw;
}
#ourservice h2 span {
	display: block;
	font-size: 12.8vw;
	margin-bottom: 2.667vw;
}
#ourservice div {
	margin-left: auto;
	margin-right: auto;
	border-bottom: 1px solid #003850;
	color: #003951;
	padding-bottom: 8vw;
	margin-bottom: 8vw;
}
#ourservice p {
	font-size: 3.733vw;
}
#ourservice p a {
	display: block;
	background-color: #003951;
	width: 83.333vw;
	height: 18.333vw;
	margin-left: auto;
	margin-right: auto;
	color: #fff;
	text-decoration: none;
	line-height: 18.333vw;
	font-size: 5.6vw;
	transition: 0.3s;
}
#ourservice p a:hover {
	opacity: 0.7;
	transition: 0.3s;
}


main h2.ttl {
	font-size: 6.4vw;
	color: #003951;
	margin-bottom: 4vw;
	line-height: 1.3em;
}
main h2.ttl .first {
	color: #c1272d;
}
main h2.ttl em {
	display: block;
	font-size: 3.2vw;
	margin-top: 2.667vw;
	line-height: 1.4em;
}
main .viewmore a {
	font-size: 2.933vw;
	color: #000;
}

#estate {
	margin-top: 16vw;
}
#estate .flex {
	display: flex;
	flex-direction: column-reverse;
	width: 93.333vw;
	margin-left: auto;
	margin-right: auto;
}
#estate .flex .box {
	text-align: left;
	display: flex;
	justify-content: center;
}
#estate .flex .box div {
	margin-top: 10.667vw;
}
#estate .flex .box div p {
	font-size: 2.933vw;
	line-height: 1.9em;
}
#estate .flex .box div .viewmore {
	margin-top: 4vw;
	text-align: center;
}
#estate figure {
	height: 60vw;
	position: relative;
}
#estate figure::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/index/p01.webp");
  background-size: cover;
  background-position: center;
  z-index: 1; /* 一番後ろに配置 */
   transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
#estate figure:hover::before {
  transform: scale(1.08); /* 1.08倍にフワッと拡大 */
}
#estate figure a {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 20; /* リンクをクリックできるように最前面へ */
}

#general {
	margin-top: 5.333vw;
}
#general .flex {
	display: flex;
	flex-direction: column-reverse;
	width: 93.333vw;
	margin-left: auto;
	margin-right: auto;
}
#general .flex .box {
	text-align: left;
	display: flex;
	justify-content: center;
}
#general .flex .box div {
	margin-top: 10.667vw;
}
#general .flex .box div p {
	font-size: 2.933vw;
	line-height: 1.9em;
}
#general .flex .box div .viewmore {
	margin-top: 4vw;
	text-align: center;
}
#general figure {
	height: 60vw;
	position: relative;
}
#general figure::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/index/p02.webp");
  background-size: cover;
  background-position: center;
  z-index: 1; /* 一番後ろに配置 */
   transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
#general figure:hover::before {
  transform: scale(1.08); /* 1.08倍にフワッと拡大 */
}
#general figure a {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 20; /* リンクをクリックできるように最前面へ */
}


#support {
	margin-top: 5.333vw;
}
#support .flex {
	display: flex;
	flex-direction: column-reverse;
	width: 93.333vw;
	margin-left: auto;
	margin-right: auto;
}
#support .flex .box {
	text-align: left;
	display: flex;
	justify-content: center;
}
#support .flex .box div {
	margin-top: 10.667vw;
}
#support .flex .box div p {
	font-size: 2.933vw;
	line-height: 1.9em;
}
#support .flex .box div .viewmore {
	margin-top: 4vw;
	text-align: center;
}
#support figure {
	height: 60vw;
	position: relative;
}
#support figure::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/index/p03.webp");
  background-size: cover;
  background-position: center;
  z-index: 1; /* 一番後ろに配置 */
   transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
#support figure:hover::before {
  transform: scale(1.08); /* 1.08倍にフワッと拡大 */
}
#support figure a {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 20; /* リンクをクリックできるように最前面へ */
}


#buying {
	margin-top: 5.333vw;
}
#buying .flex {
	display: flex;
	flex-direction: column-reverse;
	width: 93.333vw;
	margin-left: auto;
	margin-right: auto;
}
#buying .flex .box {
	text-align: left;
	display: flex;
	justify-content: center;
}
#buying .flex .box div {
	margin-top: 10.667vw;
}
#buying .flex .box div p {
	font-size: 2.933vw;
	line-height: 1.9em;
}
#buying .flex .box div .viewmore {
	margin-top: 4vw;
	text-align: center;
}
#buying figure {
	height: 60vw;
	position: relative;
}
#buying figure::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/index/p04.webp");
  background-size: cover;
  background-position: center;
  z-index: 1; /* 一番後ろに配置 */
   transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
#buying figure:hover::before {
  transform: scale(1.08); /* 1.08倍にフワッと拡大 */
}
#buying figure a {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 20; /* リンクをクリックできるように最前面へ */
}


#performance {
	margin-top: 18.667vw;
	background-color: #DEE5E8;
	padding-top: 16vw;
	padding-bottom: 1px;
	margin-bottom: 13.333vw;
}
#performance h2 {
	font-size: 5.6vw;
	color: #003951;
	line-height: 1.4em;
}
#performance h2 span {
	display: block;
	font-size: 12.8vw;
	margin-bottom: 2.667vw;
}
#performance h2+p {
	margin-top: 2.667vw;
	font-size: 2.933vw;
}
#performance .flex {
	margin-left: auto;
	margin-right: auto;
	margin-top: 10.667vw;
}
#performance .flex div {
	width: 84.267vw;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 16vw;
}
#performance .flex div figure {
	margin-bottom: 4vw;
}
#performance .flex div p {
	font-size: 4.267vw;
	line-height: 1.4em;
}
#performance .flex div p span {
	font-size: 3.733vw;
}
#performance .flex div .viewmore {
	font-size: 3.733vw;
	margin-top: 1.333vw;
}


#ounermagazine {
}
#ounermagazine .flex {

}
#ounermagazine .flex .box {
	background-image: url("../images/index/owner_bg.webp");
	background-position: center center;
	background-size: cover;
	padding-top: 8vw;
	padding-bottom: 8vw;
	display: flex;
	justify-content: center;
	align-items: center;
	color: #fff;
}
#ounermagazine .flex .box+.box {
	background-image: url("../images/index/gaku_bg.webp");
}
#ounermagazine .flex .box h2 {
	font-size: 5.6vw;
	margin-bottom: 2.667vw;
	line-height: 2em;
}
#ounermagazine .flex .box h2 span {
	font-size: 11.733vw;
	display: block;
	margin-bottom: 1.867vw;
	position: relative;
	line-height: 1.1em;
	top: 0.533vw;
}
#ounermagazine .flex .box p {
	font-size: 2.933vw;
}
#ounermagazine .flex .box p a {
	display: block;
	width: 93.333vw;
	height: 13.333vw;
	line-height: 13.333vw;
	background-color: #fff;
	border-radius: 3.2vw;
	margin-top: 5.333vw;
	margin-left: auto;
	margin-right: auto;
	text-decoration: none;
	font-size: 3.733vw;
	color: #000000;
	transition: 0.3s;
}
#ounermagazine .flex .box p a:hover {
	background-color: #003951;
	color: #fff;
	transition: 0.3s;
}


#news{
	background-color: #fff;
	padding-top: 10.667vw;
}
#news h2 {
	font-size: 5.6vw;
	color: #003850;
	line-height: 1.4em;
	margin-bottom: 13.333vw;
}
#news h2 span {
	font-size: 12.8vw;
	display: block;
	margin-bottom: 1.867vw;
}
#news article {
	border-bottom: 1px solid #000;
	border-top: 1px solid #000;
	padding-top: 4vw;
}
#news article ul {
	margin-left: auto;
	margin-right: auto;
	text-align: left;
}
#news article ul li {
	margin-bottom: 4vw;
	text-align: center;
}
#news article ul li time {
	font-size: 4.267vw;
	display: block;
	margin-bottom: 1.333vw;
}
#news article ul li a {
	text-decoration: none;
	color: #000;
	font-size: 4.267vw;
}
#news article ul li a:hover {
	text-decoration: underline;
}
}



/*===============================================
●画面の横幅が400pxまで
===============================================*/
@media screen and (max-width:400px){
/*===============================================
●sp400
===============================================*/
#sp400------------------------------------------- {
}
}



/*===============================================
●画面の横幅が320pxまで
===============================================*/
@media screen and (max-width:320px){
/*===============================================
●sp320
===============================================*/
#sp320------------------------------------------- {
}
}



/*===============================================
●画面の横幅が481pxから768pxまで
===============================================*/
@media screen and (min-width:481px) and (max-width:768px) {
/*===============================================
●tablet
===============================================*/
#tab------------------------------------------- {
}
}