:root{
  --base:#ffff;
  --main:#C4CA46;
  --card:#ffff;
  --accent:#2A3D66;
  --text:#222;
  --muted:#666;
  --container:1100px;
  font-family: "Noto Sans JP", system-ui, -apple-system, "Hiragino Kaku Gothic ProN", "Segoe UI", Roboto, "Helvetica Neue", Arial;
  box-sizing: border-box;
}
*,
*::before,*::after{box-sizing:inherit}
html,body{height:100%}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}

/* レイアウトコンテナ */
.container{
  width: calc(100% - 32px);
  margin: 0 auto;
}

/* ヘッダー */
.site-header{
  height: 69px;
  background:var(--base);
  border-bottom: 5px solid var(--main);
  box-shadow: 0 1px 0 #ffff;
  position:fixed;
  top:0;
  width: 100%;
  z-index: 1000;
}

/*ヘッダー全体設定*/
.header-inner{
  display:flex;
  align-items:center;
  justify-content: space-between;
  padding:0 16px 0 0;
  margin: 0 auto;
  height: 64px;
  background: #ffff;
}

/*ロゴとタイトルの配置*/
.logo-area{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 0;
}

.logo-img{height: 64px;}
.site-name{font-size: 23px;}

.site-name a{
  text-decoration: none;
  color: var(--text);
}


/* PC上でのハンバーガーメニューを非表示 */
@media (min-width: 1200px) {
  .main-nav{
    display: flex;
    gap: 20px;
  }
  .main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .main-nav li {
    margin-left: 20px;
  }
  .nav-toggle { 
    display: none; 
  }
  .dropdown-nav { 
    display: none !important; 
  }
}

/* PC用ヘッダーリンク */
.main-nav a,
.dropdown-nav a {
  text-decoration: none;   
  color: var(--text);            
  font-weight: bold;       
}

/* ホバー時（マウスを乗せたとき） */
.main-nav a:hover,
.dropdown-nav a:hover {
  color: var(--main);     
  text-decoration: none; 
}

.main-nav a.active,
.dropdown-nav a.active{
  border-bottom: 3px solid var(--main);                
  padding-bottom: 4px;
}


/* スマホでは通常ナビを非表示 */
@media (max-width: 1200px) {
  .main-nav {
    display: none;
  }
}

/* ハンバーガーボタン */
.nav-toggle{
  border:0;
  background:transparent;
  padding:8px;
  display:flex;
  align-items:center;
  cursor:pointer;
}
.hamburger{
  width:26px;
  height:2px;
  background:var(--text);
  position:relative;
  display:inline-block;
}
.hamburger::before,
.hamburger::after{
  content:"";
  position:absolute;
  left:0;
  width:26px;
  height:2px;
  background:var(--text);
}
.hamburger::before{top:-8px}
.hamburger::after{top:8px}

/*ドロップダウンメニュー*/
.dropdown-nav{
  position:absolute;
  top: 5px;
  right: 0%;
  width: 250px;
  height: auto;
  background: var(--base);
  
  border-radius: 0%;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.15);
  padding: 40px 20px 20px;
  display: none;
  z-index: 999;
}
.dropdown-nav.open{
    display: block;
}

/*メニューリスト*/
.dropdown-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.dropdown-nav li {
  margin-bottom: 15px;
}
.dropdown-nav a {
  text-decoration: none;
  color: #222;
  font-size: 16px;
  font-weight: bold;
}

/* 閉じるボタン（✕） */
.nav-close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 20px;
  border: none;
  background: transparent;
  cursor: pointer;
}


/* メイン */
/*ページタイトル*/
.title-container{
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
  margin:  10px 16px 10px 16px;
  padding-left: 16px;
}

.title-box{
  display: inline-block;
  width: 20px;
  height: 25px;
  background: var(--main);
  border-radius: 0;
  margin-left: 0;
}

.page-title h1{
    font-size: 25px;
    font-weight: bold;
    margin: 0;
    color: var(--text);
}

/*ページ中身*/
.about-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
}

.about-section .section {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 2px solid var(--main);  /* セクションを区切る線 */
}
.about-section .section:last-child {
  border-bottom: none; /* 最後のセクションだけ線を消す */
}

.about-section h1 {
  font-size: 25px;
  margin-bottom: 30px;
}

.about-section h2 {
  text-align: center;
  font-size: 30px;
  margin-bottom: 20px;
  font-weight: bold;
}

.about-section p {
  font-size: 20px;
  margin-bottom: 20px;
}

  
/* フッター */
.site-footer{
  padding:20px 0;
  text-align:center;
  color:var(--muted);
  font-size:0.9rem;
  margin-top:36px;
}

/* デスクトップ向け*/
@media (min-width:1200px){
  .nav-toggle{display:none}
  .main-nav{display:block}
  .main-nav ul{display:flex; gap:18px; align-items:center; padding:0}
  .main-nav a{padding:18px 0; border-bottom:none}
  .hero{padding:40px 0}
  .hero h2{font-size:1.5rem}
}
  

html {
  scroll-behavior: smooth;
}

body{
  padding-top: 74px;
}