* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  body {
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
  }


  /* hero画像がないページ用に、position変更して固定配置 
  body.no-hero header {
    position: fixed;
    border-bottom: 1px solid #eee;
  }
*/
  /* aboutページでは透けさせない 
  body.about-page .header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  }*/

  /*****************************************/
/* ヘッダー */
/*****************************************/
  header h1 {
    margin: 0 auto;
    font-size: 1rem;
    animation: fadeIn 2s ease-out;
  }
  header h1 img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
  }

  header {
    /*height: 100vh;*/
    /*background: url('../images/main.jpg') center/cover no-repeat;*/
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    /*position: relative;*/
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    z-index: 1000;
    padding: 20px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    height: auto;
  }

  
  
/* トップ画像表示とロゴをふわっとさせる処理 */
.top-image {
  position: relative;
  width: 100%;
  height: 110vh;
  overflow: hidden;
}

.top-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.top-image .top-logo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.top-image .top-logo img {
  height: 280px;       /* 縦のサイズは固定のまま */
  width: auto;         /* 幅は高さに合わせて自動計算 */
  max-width: none;     /* ← 小さくならないように制限を外す */
}

.top-logo {
  animation: fadeIn 1.5s ease-out forwards;
  opacity: 0; /* 初期状態は非表示 */
}

/*****************************************/
/* ナビゲーションメニュー */
/*****************************************/
 /* ヘッダーメニュー共通スタイル */ 
  nav {
    position: fixed;
    top: 0;
    left: 0;
    height: 75px; /* ← 高さを固定 */
    width: 100%;
    background-color: white;
    padding: 10px 20px;
    display: flex;
  justify-content: space-between; /* ← ロゴとナビを左右に分ける */
    align-items: center;
    z-index: 999;

  }


nav a {
  font-size:20px; /* ← ここを好みのサイズに統一（例：1.5rem） */
  font-weight: 400;
  color: #202020;
  text-decoration: none;
  display: inline-block;
  transition: color 0.3s ease;
}

/* ホバー時 */
nav a:hover {
  opacity: 0.6;
}
 
  .nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
  margin-left: auto;
  }
/* ロゴは左寄せのままでOK */
.logo {
  flex-shrink: 0; /* サイズ縮小されないように */
}
  /* ナビゲーション内のロゴ */
  .logo img {
    height: 40px; 
    display: block;
  }
  nav ul li a:hover {
    opacity: 0.6;
  }
/*****************************************/
/* ハンバーガーメニュー */
/*****************************************/
  .hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
  }
  .hamburger span {
    height: 3px;
    width: 25px;
    background: #333;
    display: block;
  }
  .mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    transition: right 0.4s ease, opacity 0.4s ease;
    opacity: 0;
    pointer-events: none;
    z-index: 20;
  }
  .mobile-menu.active {
    right: 0;
    opacity: 1;
    pointer-events: auto;
  }
  .mobile-menu a {
    color: black;
    text-decoration: none;
    font-size: 1.5rem;
  }
  .mobile-menu .close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2rem;
    cursor: pointer;
    color: #333;
  }

  main {
    padding-top: 120px; /* headerの高さ分だけ余白を取る */
    text-align: center;

  }


  
/*****************************************/
/* セクション */
/*****************************************/
  section {
    padding: 60px 20px;
    max-width: 1000px;
    margin: auto;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s ease;
  }
  section.visible {
    opacity: 1;
    transform: none;
  }

  h2 {
    font-size: 2rem;
    margin-bottom: 20px;
  }

/*****************************************/
/* フッター*/
/*****************************************/
footer ul,
footer ul li {
  list-style: none !important;
  padding: 0;
  margin: 0;
}
footer {
  background: #f8f8f8;
  padding: 40px 20px;
}

.footer-container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}


.footer-nav {
  list-style: none;
  display: flex;
  justify-content: center;  /* ← ここが中央揃えの決め手！ */
  gap: 30px;
  padding: 0;
  margin-bottom: 20px;
}

.footer-nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-family: 'Noto Serif JP', serif;
  font-size: 0.8rem;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: #666;
}

.footer-copy {
  color: #777;
  font-family: 'Noto Serif JP', serif;
  font-size: 0.7rem;
}

.footer-nav li {
  list-style: none;
}

#hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.slide.active {
  opacity: 1;
  z-index: 1;
}
.overlay {
  position: relative;
  z-index: 2;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  text-align: center;
}

/*****************************************/
/* ホームのNewsセクション */
/*****************************************/
#news {
  padding: 0px 20px;
  max-width: 800px;
  margin: auto;
}
#news h2 {
  font-size: 2rem;
  font-weight:500;
}

.news-item {
  margin-bottom: 30px;

}
.news-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.1rem !important;
  font-weight:600;
  padding-bottom: 1.5em;
  color: #555;
}

.news-detail {
  font-family: 'Noto Serif JP', serif;
  font-weight:300;
  font-size: 0.9rem !important;
  padding-left: 1.5em;
  padding-bottom: 2em;
  color: #555;
  line-height: 1.6;
  border-left: 3px solid #929292;
  padding-left: 15px;
}

/*****************************************/
/* aboutページ以外専用のヘッダースタイル */
/*****************************************/


.about-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 500;
  margin-bottom: 30px;
  font-family: 'Noto Serif JP', serif;
  
}

.about-body {
  font-family: 'Noto Serif JP', serif;
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
  line-height: 1.8;
  font-size: 1rem;
  padding: 0 20px;
}

.about-page .about-image {
  font-family: 'Noto Serif JP', serif;
  margin-top: 40px;
  text-align: center;
}

.about-page .about-image img {
  max-width: 500px; /* ← サイズを明示的に指定（お好みで調整） */
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
}

/*****************************************/
/*特定商取引法・プライバシーポリシーページレイアウト*/
/*****************************************/
body.plain {
  font-family: 'Noto Serif JP', serif;
  color: #333;
  background-color: #fff;
  line-height: 1.8;
}

body.plain main {
  max-width: 800px;
  margin: 0 auto;
  padding: 100px 20px 60px;
  text-align: left;

}

/* ページタイトル */
.plain h1 {
  font-size: 1.6rem;
  margin-bottom: 40px;
  text-align: center; 
  font-family: 'Noto Serif JP', serif;
}

/* セクション見出し */
.plain h2 {
  font-size: 1rem;
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 600;
}

.plain details {
  font-size: 0.8rem;
}

/*****************************************/
/* フェードエフェクト　*/
/*****************************************/
.fade-slide {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.8s ease, transform 1.8s ease;
}

.fade-slide.visible {
  opacity: 1;
  transform: translateY(0);
}


  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: none; }
  }

  @media (max-width: 768px) {
    .nav-links {
      display: none;
    }
    .hamburger {
      display: flex;
    }
    header h1 {
      font-size: 2rem;
      padding: 0 10px;
    }
  }
  
