@charset "utf-8";

/* Google Fonts 読み込み */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap');

/* ベース */
body {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  line-height: 1.7;
  color: #fff;
  background: url("../images/background-002.jpg") center top;
  background-size: 100% auto;
  background-position: center top;
  background-repeat: repeat-y;
  background-attachment: fixed;
  margin: 0;
  padding: 0;
}

/* タブレット・スマホでは背景固定を解除（パフォーマンス対策） */
@media (max-width: 1024px) {
  body {
    background-attachment: scroll;
    background-size: 100% auto;
    background-repeat: repeat-y;
  }
}

@media (max-width: 768px) {
  body {
    background-attachment: scroll;
    background-size: 100% auto;
    background-position: center top;
    background-repeat: repeat-y;
  }
}

.sub-nav {
  max-width: 1200px;
  margin: 40px auto; 
}

.sub-nav ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 24px;
}

.sub-nav a {
  display: block;
  padding: 14px 18px;
  border-radius: 10px;
  text-align: center;
  font-weight: 700;
  font-family: "Noto Sans JP", sans-serif;
  color: #fff;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  
  /* オレンジ→紺の斜めグラデーション */
  background: linear-gradient(135deg, #2E2D59 0%, #2E2D59 20%, #FC5F00 100%);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.sub-nav a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}



/* セクションラッパー */
.section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* セクション見出し */
.section-title {
  font-weight: 700;
  font-size: clamp(20px, 3vw, 28px);
  margin-bottom: 16px;
  border-bottom: 5px solid rgba(255,255,255,0.4);
  padding-bottom: 8px;
  letter-spacing: 0.05em;
}

/* 小見出し（例：Sun=, Nexus=） */
.sub-title {
  font-weight: 700;
  font-size: clamp(16px, 2vw, 20px);
  margin: 12px 0 6px;
}

/* 本文 */
p {
  font-weight: 400;
  font-size: clamp(14px, 1.6vw, 16px);
  margin: 0 0 12px;
  line-height: 1.7;
}

/* 背景付きボックス */
.identity-box {
  background: linear-gradient(135deg, #2E2D59 0%, #FC5F00 100%);
  border-radius: 8px;
  padding: 24px;
  margin-top: 24px;
}

/* ボックス内の見出し */
.identity-box h3 {
  font-weight: 700;
  font-size: clamp(18px, 2.5vw, 22px);
  margin: 0 0 12px;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding-bottom: 6px;
}

.identity-image img {
  max-width: 90%;
  height: auto;
  margin: 0 auto 30px;
  display: block;
  object-fit: cover;
  padding-bottom: 0px;
}

/* PCなど広い画面では上限を設定 */
@media (min-width: 1024px) {
  .identity-image img {
    max-width: 800px;
    padding-bottom: 40px;
  }
}

/* リスト */
.identity-box ul {
  list-style: disc;
  margin: 0 0 16px 20px;
  padding: 0;
}

.identity-box li {
  margin-bottom: 6px;
  font-size: clamp(14px, 1.6vw, 16px);
}

.identity-hero {
  padding-top: 10px;
  padding-bottom: 80px;
}

@media (max-width: 768px){
  .identity-hero {
    margin-bottom: 40px;
  }
}

/* コンテンツ幅を必ず1200pxでセンタリング */
.identity-hero > .identity-inner{
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

/* Googleマップボタンの上余白 */
.map-cta {
  margin-top: 24px;
}