@charset "UTF-8";
/* CSS Document */
:root {
  --blue: #0f2b54;
  --red: #ff0000;
  --grey: #c5c5c5;
  --grey-dark: #464646;
  --yellow: #978c00;
  --beige: #eeece1;
  --grey-light: #e1e9ee;
  --green-light: #eef1b2;
}
.white {color: white !important;}
.navy {color: var(--blue) !important;}
.red {color: var(--red) !important;}
.bc-navy {background-color: var(--blue) !important;}
.bc-line {background-color: #00ba52 !important;}


/* ヘッダー */
header {
  padding-top: 14px;
  padding-right: 20px;
  padding-bottom: 0px;
  padding-left: 20px;
  margin-bottom: 14px;
}
@media (min-width: 768px) {
  header {
    padding-top: 22px;
    padding-right: 38px;
    padding-left: 38px;
    margin-bottom: 22px;
  }
} 
.logo-sp {
  display: block;
}
.logo-pc {
  display: none;
}
@media (min-width: 768px) {
  .logo-sp {
   display: none;
  }
  .logo-pc {
    display: block;
  }
} 

/* TOP画像 */
.top-wrapper{
	background-image: url(../img/common/top-kagu-back.jpg);
	background-position: left top;
	background-repeat: no-repeat;
	background-size: 100% auto;
	background-attachment: fixed;
	height: 35vw;
}
@media (min-width: 1000px) {
.top-wrapper{
	background-image: url(../img/common/top-kagu-back.jpg);
	background-position: left center;
	background-repeat: no-repeat;
	background-size: 100% auto;
	background-attachment: fixed;
	height: 26vw;
  }
}  
.top-wrapper img{
  position: relative;
  top: 0vw;
  filter: drop-shadow(0 0.8vw 1.5vw rgba(0, 0, 0, 0.6)); /* drop-shadow( X方向 Y方向 ぼかし量 色 ) */
}
@media (min-width: 768px) and (max-width: 1000px) {
.top-wrapper img{
  position: relative;
  top: 2vw;
  }
}  
@media (min-width: 1000px) {
.top-wrapper img{
  position: relative;
  top: 0vw;
  }
}  

.top-line{
  border-top: 1px solid #dddddd;
}

.top-logo {
  display: block;
  margin-right: auto;
  margin-left: auto;
  width: 80vw;
}
@media (min-width: 1000px) {
  .top-logo {
    display: block;
    margin-right: auto;
    margin-left: auto;
    width: min(70vw, 700px);
  }
}  

.sub-logo {
  display: block;
  margin-top: 30px;
  margin-right: auto;
  margin-left: auto;
  width: 50vw;
}
@media (min-width: 768px) {
	.sub-logo  {
    display: block;
    margin-top: 40px;
    margin-right: auto;
    margin-left: auto;
    width: min(30vw, 300px);
  }
}  

/* スライダー */
		.swiper-container{
			text-align: center;
		}
		.swiper-container .swiper-slide img{
			max-width: 100%;
			height: auto;
		}

/* サイドメニュー */
/* ===== スマホでは非表示 ===== */
.sidebar {
  display: none;
}

/* ===== PC（768px以上）で表示 ===== */
@media (min-width: 768px) {
  .layout {
    display: flex;
    align-items: flex-start;
  }

  .sidebar {
    display: block;
    width: 200px;
    flex-shrink: 0; /* 幅固定で押し出されないようにする */
    padding: 20px;
  }

  .main-content {
    flex: 1;           /* 残りの幅を自動で使う */
    padding: 0px;
    margin: 0;         /* ← ← これが重要！（右にずれる原因を消す） */
    width: min(60vw, 800px);
  }

}


/* ===== サイドバー内のナビ装飾 ===== */
.sidebar__nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
  /* 各項目の区切り線 */
  .sidebar__nav li {
    border-bottom: 1px solid #ddd; /* 常時区切り線 */
  }

/* リンク部分のスタイル */
  .sidebar__nav a {
    display: block;
    padding: 14px 16px;
    color: #333;
    text-decoration: none;
  }



/* 各アイテムをカード化 */
.card {
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 1rem;
  box-shadow: none;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
@media (min-width: 768px) {
.card {
  background: #fff;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: none;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
	}
}
	
/* 768px以上でカードっぽくする */
@media (min-width: 768px) {
  .card {
    box-shadow: 0 0.4rem 1rem rgba(0, 0, 0, 0.15);
    border: 1px solid #eee;
    border-radius: 10px;
  }

  /* hoverでふわっと浮く感じ */
  .card:hover {
    box-shadow: 0 0.8rem 1.5rem rgba(0, 0, 0, 0.25);
    transform: translateY(-4px);
  }
}

/* フッター */
.footer-wrapper{
	max-width:90vw;
	margin: auto;
}
.footer-logo-sp {
  display: block;
  margin-top: 32px;
  margin-right: auto;
  margin-left: auto;
}
.footer-logo-pc {
  display: none;
}
.footer-text {
  margin-top: 10px;
  margin-bottom: 20px;
  font-weight: 300;
  font-size: 9px;
  text-align: center;
}
.adress{
  margin-top: 24px;
  font-size: 0.8rem;
  text-align: center;
  line-height: 20px;
}
@media (min-width: 980px) {
  .footer-logo-sp {
    display: none;
  }
  .footer-logo-pc {
    display: block;
    margin-top: 54px;
    margin-right: auto;
    margin-left: auto;
  }
  .footer-text {
    margin-top: 20px;
    font-size: 11px;
  }
  .adress{
    margin-top: 24px;
    font-size: 0.8rem;
    text-align: center;
    line-height: 20px;
  }
}

/* フッターサービスリスト */

/* service */
.lists {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--beige);
  padding-right: 24px;
  padding-left: 24px;
}

.service_lists {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* PCは4列固定 */
  gap: 20px;
  padding-top: 20px;
	padding-bottom: 20px;
  font-size: 0.8rem;
  letter-spacing: 0;
}

.service_lists dl {
  margin: 0;
}

.service_lists dt,
.service_lists dd {
  margin: 0;
  padding-right: 30px; /* 左位置を統一 */
}

.service_lists dt {
  font-weight: bold;
  line-height: 2rem;
}

.service_lists dd {
  line-height: 1.4rem;
}

/* スマホ（600px以下）は2列固定 */
@media(max-width: 600px) {
  .service_lists {
    grid-template-columns: repeat(2, 1fr);
  }
  .service_lists dt,
  .service_lists dd {
  margin: 0;
  padding-right: 10px; /* 左位置を統一 */
  }
}
