@charset "utf-8";
/* CSS Document */

body{
	font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
}

/* =====================
   ヘッダー
===================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
}

.header-top {
  background: #fff;
  height: 25px;
  padding: 4px 12px;
  font-size: 7px;
  display: flex;
  align-items: flex-end;	
  justify-content:flex-start;
	
  padding-bottom: 4px;
  border-bottom: 1px solid #e5e5e5;
	
}

.header-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.logo span {
  font-size: 10px;
}

.logo strong {
  font-size: 18px;
  margin-left: 6px;
}

.header-icons {
  display: flex;
  gap: 6px;
}

.menu-btn {
  width: 42px;
  height: 42px;
  background: #fff;
  border: 1px solid #aaa;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-btn img {
  width: 38px;
}

.menu-btn {
  flex-direction: column;
  gap: 4px;
}

.menu-btn span {
  width: 18px;
  height: 2px;
  background: #333;
}


.header-icons a{
	transition: 0.3s;
}


/* =====================
   メインビジュアル
===================== */

.main-visual{
	position: relative;
	margin-top: 80px;
	width: 100%;
	height: 600px;
	overflow: hidden;
}


.main-img{
	width: 100%;
	height: auto;
	display: block;
}

.main-text{
	position: absolute;
	top:120px;
	left: 35px;
	z-index: 3;
}

.main-text h1{
	font-family: "yu mincho",serif;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.8;
	color: #000b34;
	margin-top: -43px;
}

.main-text p{
	font-family: "yu mincho",serif;
	margin-top: 27px;
	line-height: 2;
	font-size: 9px;
}


.main-btn{
	display: inline-block;
	padding: 6px 12px;
	margin-top:20px;
	width: 150px;
	height: auto;
}


/* =====================
 	news
===================== */

.news{
	padding: 60px 0 20px;
}


.news-inner{
	width: 80%;
	max-width: 1000px;
	margin: 0 auto;
	padding: 50px;
	background: #fff;
	border-radius: 10px;
	border: 1px solid #e5e5e5;
	box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.news h2{
	font-size: 36px;
	margin-bottom: 30px;
}

.news h2 span{
	color: #8a5a5a;
	font-size: 20px;
	margin-left: 10px;
}

.news-empty{
	magin-top:30px;
}


/* =====================
 	事業内容
===================== */

.service{
	padding: 10px 0;
}

.section-title{
	text-align: center;
	margin-bottom: 60px
}

.section-title h2{
	font-size: 48px;
	font-weight: bold;
	margin-bottom: 10px;
	color: #333;
}

.section-title span{
	display: block;
	font-size: 20px;
	color: #8a5a5a;
	margin-bottom: 25px;
}

.section-title p{
	font-size: 18px;
	line-height: 2;
	color: #555;
}



.service-list{
	max-width: 800px;
	margin: 50px auto;
	display: grid;
	grid-template-columns: repeat(2,1fr);
	gap:20px;
}


.service-list a{
	display: block;
	transition: all 0.3s ease;
}


.service-list img{
	width: 100%;
	height: auto;
	display: block;
}



.service-list a:hover{
	transform: translateY(-5px);
}

.service-list a:active{
	transform: scale(0.98);
}


.card-area{
	width: 90%;
	max-width: 1100px;
	margin: 50px auto 0;
	display: grid;
	grid-template-columns: repeat(4,1fr);
}





.card{
	position: relative;
	aspect-ratio:1/1;
	overflow: hidden;
	transition: .3s;
}


.card img{
	width: 100%;
	height: 100%px;
	object-fit: cover;
	display: block;
}


.card-text{
	position: absolute;
	left: 0;
	bottom: 60px;
	width: 100%;
	text-align: center;
	}


.card-text h3{
	margin: 0;
	font-size: 14px;
	}


.card-text p{
	margin-bottom: -12px;
	font-size: 12px;
	padding-top: 5px;
}


.card:hover{
	transform: translateY(-5px);
	box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}


.more-btn{
	display: block;
	width: fit-content;
	margin: 60px auto;
}

.more-btn img{
	display: block;
	width: 450px;
	height: auto;
	transition: .3s;
}


.more-btn:hover img{
	transform: translateY(-3px);
	opacity: 0.9;
}

.more-btn:active img{
	transform: scale(0.98);
}





/* =====================
 	お問い合わせ
===================== */

.contact{
	position: relative;
	width: 90%;
	max-width: 700px;
	text-align: center;
	margin: 80px auto;
}


.contact-bg{
	width: 100%;
	max-width: 700px;
	height: auto;
	display: block;
	margin: 0 auto;
}

.contact-content{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	width: 100%;
	text-align: center;	
}


.contact-content{
	position: absolute;
	top:50%;
	left: 50%;
	
	transform: translate(-50%,-50%);
	
	width: 100%;
	text-align: center;
}



.contact strong{
	display: block;
	font-size: 40px;
	font-weight: 700;
	margin: 25px 0;
}

.contact span{
	display: block;
	font-size: 16px;
	margin-bottom: 8px;
}



.contact strong{
	display: block;
	font-size: 42px;
	font-weight: 700;
	margin: 25px 0;
}

.contact p{
	font-size: 16px;
	line-height: 2;
	margin-bottom: 20px;
}


.contact a img{
	width:250px;
	height: auto;
	margin-top:35px;
}

/* =====================
 	フッター
===================== */

.footer{
	background: #eaf5fb;
	text-align: center;
	padding: 20px 10px;
	padding-bottom: 90px;
	margin-top: 60px;
}

footer p{
	margin: 0;
	font-size: 13px;
	color: #333;
}


/* =====================
 	固定footer
===================== */

.fixed-footer{
	position: fixed;
	bottom: 0;
	left: 0;
	
	width: 100%;
	
	display: flex;
	justify-content: flex-end;
	
	gap:15px;
	padding: 10px 40px;
	box-sizing: border-box;
	
	background: rgba(255,255,255,0.8);
	backdrop-filter:blur(8px);
	z-index: 9999;
}

.fixed-footer a{
	flex: none;
}
.fixed-footer img{
	max-width: 200px;
	height: auto;
	display: block;
}



/* ======================
   スマホ版 767px以下
====================== */
@media screen and (max-width: 767px){

  body{
    background:#f7fbfc;
    padding-bottom:80px;
  }
	
	
 .header-main span{
		font-size: 12px;
	}

  .main-visual{
    margin-top:70px;
  }

  .main-visual img{
    width:100%;
    height:auto;
    display:block;
  }

  .main-text{
    top:18%;
    left:8%;
  }

  .main-text h1{
    font-size:14px;
    line-height:1.8;
	  margin-top: -40px;
  }

  .main-text p{
    font-size:8px;
    line-height:1.8;
  }

  .main-btn img{
    width:130px;
  }

  .dots{
    display: none;
  }

  .news{
    margin-top: -350px;
	}

  .news-inner{
    width:88%;
    margin:0 auto;
    padding:22px 18px;
    border-radius:6px;
  }
  
.news-inner h2{
		font-size: 15px;
	}
	
.news-inner h2 span{
		font-size: 12px;
	}
	
.news-inner p{
		font-size: 12px;
	}

.service{
    padding:40px 0 30px;
  }

  .section-title h2{
    font-size:20px;
  }

  .section-title span{
    font-size:13px;
  }

  .section-title p{
    font-size:13px;
    line-height:2;
  }

  /* 事業内容ボタン：縦1列 */
  .service-list{
    width:72%;
    max-width:none;
    margin:30px auto 50px;
    display:grid;
    grid-template-columns:1fr;
    gap:12px;
  }

  .service-list img{
    width:100%;
    height:auto;
    display:block;
  }

  .center-line{
    width:80px;
    height:1px;
    background:#777;
    margin:10px auto 20px;
  }

  /* 画像カード：横2列 */
  .card-area{
    width:92%;
    max-width:none;
    margin:0 auto 60px;
    display:grid;
    grid-template-columns:repeat(2, 1fr);
    gap:16px;
  }

  .card{
    aspect-ratio:1 / 1;
  }

	.card-text{
		position: absolute;
		bottom: 20px;
	}

  .card-text h3{
    font-size:11px;
  }

  .card-text p{
    font-size:9px;
    line-height:1.6;
	margin-bottom: 0px;
  }

  .more-btn{
    display:block;
    width:72%;
    margin:20px auto 60px;
  }

  .more-btn img{
    width:100%;
    height:auto;
    display:block;
  }

  .contact{
    width:86%;
    max-width:none;
    margin:0 auto 70px;
  }

  .contact-content{
    width:100%;
  }

  .contact p{
    font-size:9px;
    line-height:1.8;
	  margin-top: 90px
  }

  .contact strong{
    font-size:13px;
    margin:18px 0;
  }

  .contact span{
    font-size:9px;
    margin-bottom:6px;
  }

  .contact a img{
    width:130px;
  }

  .footer{
    padding:18px 10px;
  }

  .footer p{
    font-size:8px;
  }

  /* 下固定フッター */
  .fixed-footer{
    position:fixed;
    left:0;
    bottom:0;
    width:100%;
    display:flex;
    gap:6px;
    padding:6px;
    box-sizing:border-box;
    background:#bfe3f5;
    z-index:9999;
  }

  .fixed-footer a{
    flex:1;
  }

  .fixed-footer img{
    width:100%;
    max-width:none;
    height:auto;
    display:block;
  }
}
	
	
	
	
	
	




.sp-menu{
    display:none;

    position:absolute;
    top:70px;
    right:15px;

    background:#fff;
    border-radius:10px;
    padding:15px 20px;

    box-shadow:0 3px 15px rgba(0,0,0,0.15);

    z-index:9999;
}

.sp-menu.active{
    display:block;
}

.sp-menu ul{
    list-style:none;
    margin:0;
    padding:0;
}

.sp-menu li{
    margin:10px 0;
}

.sp-menu a{
    text-decoration:none;
    color:#333;
    font-size:15px;
}
	

body{
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp{
    from{
        opacity: 0;
        transform: translateY(20px);
    }

    to{
        opacity: 1;
        transform: translateY(0);
    }
}
