/* ベーススタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
}

body {
    font-size: 1.6rem;
    background-color: white;  /* サブページ背景を白に設定 */
    font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, sans-serif;
}

/* メディアクエリ */
@media (max-width: 767px) {
    .br-pc-only {
        display: none;
    }
}

@media (max-width: 1200px) {
    .br-tb-only {
        display: none;
    }
}

@media (min-width: 768px) {
    .br-sp-only {
        display: none;
    }
}

/* ボタンスタイル */
a.btn_blue {
    display: block;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    width: 200px;
    margin: 35px 0;
    padding: 1rem 4rem;
    font-weight: bold;
    border: 2px solid #003b6b;
    background: #003b6b;
    color: #fff;
    border-radius: 100vh;
    transition: 0.5s;
}

a.btn_blue:hover {
    color: #003b6b;
    background: #fff;
}

a.btn_white {
    display: block;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    width: 200px;
    margin: 35px auto;
    padding: 1rem 4rem;
    font-weight: bold;
 
    background: #fff;
    color: #003b6b;
    border-radius: 100vh;
    transition: 0.5s;
}

a.btn_white:hover {
    color: #003b6b;
    background: rgba(255, 255, 255, 0.7);
}
img {
  max-width: 100%;
  height: auto;
}


/* ヘッダースタイル */
.header {
    position: fixed;
    top: 0;
    left: 50%;
    width: 100%;
    background: rgba(0, 0, 0, 0.0);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
    transform: translateX(-50%);
    transition: background-color 0.3s ease;
}

/* サブページのみヘッダーの背景を白に変更 */
.sub-page .header {
    background: #fff; /* 背景を白に */
    color: black; /* 文字色を黒に */
	
}



.header_inner {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
    max-width: 1800px;
    padding: 15px 20px;
}

.sub-page .header {
    margin-bottom: 0; /* 余白を完全に0にする */
    padding-bottom: 0; /* 余白があればこれも0に */
}

.sub-page .header .header_inner {
    margin-bottom: 0; /* header_innerの余白を消す */
}

.header h1 img {
    width: 220px;
    height: auto;
}

/* トップページ: スクロール後の背景変更 */
.top-page .header.scrolled {
    background-color: white;
}

.top-page .header.scrolled .nav-links a {
    color: black;
}

.top-page .header.scrolled .hamburger div {
    background: black;
}

/* サブページ: 最初から黒 */
.sub-page .nav-links a {
    color: black;  /* サブページでは最初から文字色を黒に */
}

.sub-page .hamburger div {
    background: black;  /* サブページではハンバーガーボタンを黒に */
}

/* ナビリンク */
.nav-links {
    display: flex;
}

.nav-links a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #f1c40f;
}

/* スマホ用ハンバーガーメニュー */
@media (max-width: 768px) {
    .header {
        width: 100%;
    }

    .header_inner {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        z-index: 10;
        padding: 0px;
    }

    .header h1 {
        margin: -15px 0 0 0;
    }

    .header h1 img {
        width: 35%;
    }
}

/* ハンバーガーメニュー */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    height: 30px;
    width: 40px;
    justify-content: space-between;
    z-index: 15;
    position: absolute;
    right: 20px;
    top: 20px;
    border: 2px solid white;
    border-radius: 8px;
    padding: 5px;
}

.hamburger div {
    width: 100%;
    height: 2px;
    background: white;
    transition: transform 0.3s ease, opacity 0.3s ease;
    border-radius: 2px;
}

.hamburger.active div:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active div:nth-child(2) {
    opacity: 0;
}

.hamburger.active div:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        width: 200px;
        text-align: right;
        padding: 10px;
        border-radius: 8px;
		text-align: left; /* 全体を左寄せ */
    }




.nav-links a:last-child {
  border-bottom: none; /* 最後だけ線なしにしたい場合 */
}

.nav-links a {
  position: relative;
  padding-left: 20px; /* 三角マーク分の余白 */
  color: black;
  text-align: left;
  border-bottom: 1px solid #CCC; /* 下線 */
  padding-top: 10px;   /* 上の余白 */
  padding-bottom: 10px; /* 下の余白 */
  display: inline-block; /* 下線が文字幅に合わせて引かれる */
	color: #222;/* 黒」 */

}

.nav-links a::before {
  content: '▶'; /* 三角形 */
  color: #f1c40f; /* 黄色 */
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%); /* 縦中央に配置 */
  font-size: 0.8em; /* 必要に応じて調整 */
}
.nav-links a:hover {
        padding-left: 20px;
        color: #f1c40f;
    }

  /* メニュー開いたら常に手前＆黒文字 */
  .hamburger.active + .nav-links {
    display: flex;          /* 既存仕様どおり */
    z-index: 9999;          /* 上に重ねる保険（消える/隠れる対策） */
    color: #111;            /* 子孫は継承で黒 */
  }

  /* aタグの白化を完全ブロック（visited/activeまで） */
  .hamburger.active + .nav-links a,
  .hamburger.active + .nav-links a:link,
  .hamburger.active + .nav-links a:visited,
  .hamburger.active + .nav-links a:active {
    color: #111 !important;
  }

  /* スクロール時に付くクラスがあっても“開いてる間は黒”を維持 */
  body.scrolled .hamburger.active + .nav-links a,
  .header--scrolled .hamburger.active + .nav-links a,
  .is-scrolled .hamburger.active + .nav-links a {
    color: #111 !important;
  }
}

#footer{
    background-color: #fbe44c;	
}

#wrap_footer{
	width: 95%;
	max-width: 1200px;
    text-align: center;
	margin:0px auto;
	padding:2% 0;
	
}
#wrap_footer h2{
	margin:0 0 5px 0;
}

#wrap_footer h3{
    margin: 0 0 15px 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.5rem;
}


#wrap_footer ul{
	list-style: none;
}

#wrap_footer li{
    font-size: 1.6rem;
    list-style-type: none;
    
}

.i_insta{
	width: 40px;
	margin:15px auto;
}

@media (min-width: 768px) {
}
#wrap_footer h2{
	margin:15px 0 5px 0;
	 font-size: 1.8rem;
}

#wrap_footer h3{
    margin: 0 0 15px 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.4rem;
}

}