@import url('https://fonts.googleapis.com/css?family=Noto+Sans+JP');

html, body {
  font-family: 'Coming Soon', 'Noto Sans JP', sans-serif;
  color: #555;
  background: url('https://img07.shop-pro.jp/PA01349/874/etc_base64/YmFjaw.jpg?cmsp_timestamp=20250530172055') fixed center/cover;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 1080px;
  background-color: rgba(255,255,255,0.85);
  margin: 0 auto;
  padding: 50px;
  border-radius: 10px;
  box-sizing: border-box;
}

a { color: #36bfb1; text-decoration: none; }
a:hover { color: #ff7590; }

/* ヘッダー */
#header {
  text-align: center;
  margin-bottom: 30px;
}

.header-logo img {
  width: 80px;
}

.pc-menu ul {
  display: flex;
  justify-content: center;
  padding: 0;
}

.pc-menu li {
  list-style: none;
  margin: 0 10px;
}

.pc-menu li a {
  color: #36bfb1;
  font-size: 15px;
}

/* メインコンテンツとサイドバー */
.main-wrapper {
  display: flex;
  gap: 40px;
}

#side {
  width: 25%;
  padding: 15px;
  box-sizing: border-box;
}

#side h3 {
  border-bottom: 2px dashed #ffb74d;
  color: #ff7590;
  padding-bottom: 5px;
}

#side ul {
  padding: 0;
  list-style: none;
}

#side ul li {
  margin-bottom: 10px;
}

#contents {
  width: 75%;
  padding: 15px;
  box-sizing: border-box;
}

/* フッター */
#footer {
  text-align: center;
  border-top: 1px solid #a8e8e0;
  padding-top: 20px;
}

#footer ul {
  display: flex;
  justify-content: center;
  padding: 0;
}

#footer ul li {
  list-style: none;
  margin: 0 10px;
}

/* ハンバーガーメニュー（スマホ用） */
#hamburger-toggle {
  display: none !important;
}

.hamburger-menu {
  position: fixed;
  top: 15px;
  left: 15px;
  width: 28px;
  height: 22px;
  cursor: pointer;
  z-index: 1000;
}

.hamburger-menu span {
  display: block;
  height: 2px;
  background: #555;
  margin-bottom: 5px;
}

/* スマホ用サイドバーメニュー */
.sp-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 80%;
  height: 100vh;
  background: rgba(255,255,255,0.95);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  padding-top: 60px;
  overflow-y: auto;
  z-index: 999;
}

.sp-menu-inner ul {
  padding: 0 20px;
  list-style: none;
}

.sp-menu-inner ul li {
  margin-bottom: 15px;
}

.sp-menu-inner ul li a {
  color: #555;
  font-size: 16px;
}

/* ハンバーガーメニュー開閉 */
#hamburger-toggle:checked + .hamburger-menu + .sp-menu {
  transform: translateX(0);
}

/* PC表示時設定 */
@media (min-width: 769px) {
  .hamburger-menu, .sp-menu {
    display: none !important;
  }
  #side {
    display: block !important;
  }
}

/* スマホ表示時設定 */
@media (max-width: 768px) {
  .main-wrapper {
    flex-direction: column;
  }

  #side {
    display: block !important;
    width: 100%;
    order: 2;
    margin-top: 20px;
  }

  #contents {
    width: 100%;
    order: 1;
  }

  .pc-menu {
    display: none !important;
  }

  .container {
    padding: 20px;
    width: 95%;
  }
}
@media screen and (max-width: 768px) {
  .container, 
  .main-wrapper, 
  #contents {
    width: 100% !important;
    padding: 0 4px!important; /* 余白を完全に消します */
    margin: 0 !important;  /* マージンも完全に消します */
    box-sizing: border-box;
  }

  #side {
    display: none !important;
  }

  body {
    margin: 0;
    padding: 0;
  }
}
/* スマホ用ハンバーガーメニューの中身をスクロール可能にする */
.sp-menu-inner {
  max-height: calc(100vh - 60px); /* 上の余白60pxぶんを引いた高さ */
  overflow-y: auto;
  padding-bottom: 40px; /* 一番下の余白を確保 */
  -webkit-overflow-scrolling: touch; /* iPhoneなどのスムーズスクロール */
}

