body {
    font-size: 16px; /* ←これ重要 */
    font-family:"Hiragino Kaku Gothic ProN","Hiragino Sans","游ゴシック","Yu Gothic","メイリオ",Meiryo,sans-serif;
    overflow-x: hidden; /* ←これだけでOK */
    /*overflow: scroll; */
}

.page-wrap{
    width:100%;
    max-width:800px;
    margin:0 auto;
    background:#fff;
    min-height:100vh;
}


body.menu-open {
  overflow: hidden;
}

/* ===== ヘッダー ===== */
.header {
  position: fixed;
  width: 100%;
  top: 0px;
  background: #fff;
  border-bottom: 3px solid #840f70;
  z-index: 1000;
  box-shadow: 0 5px 15px rgba(0,0,0,0.12);
  position: sticky;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
}

.header.scrolled {
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.h-title {
  display: flex;
  align-items: center;
}

.h-title img {
  width: 40px;
  margin-right: 8px;
}


/* ===== 三本線 ===== */
.menu-trigger {
  width: 30px;
  height: 22px;
  position: relative;
  cursor: pointer;
}

.menu-trigger span {
  position: absolute;
  width: 100%;
  height: 3px;
  background: #333;
  left: 0;
  transition: 0.3s;
}

/* 3本線の位置 */
.menu-trigger span:nth-child(1) { top: 0; }
.menu-trigger span:nth-child(2) { top: 9px; }
.menu-trigger span:nth-child(3) { bottom: 0; }

/* ===== ✕アニメーション ===== */
.menu-trigger.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 9px;
}

.menu-trigger.active span:nth-child(2) {
  opacity: 0;
}

.menu-trigger.active span:nth-child(3) {
  transform: rotate(-45deg);
  bottom: 9px;
}


/* ===== スライドメニュー ===== */
.bento-slide {
  position: fixed;
  top: 60px;
  height: calc(100vh - 60px);
  border-top: 1px solid #eee; /* ←追加 */
  right: -100%;
  width: 90%;
  height: 100vh;
  background: #fff;
  z-index: 2000;
  transition: 0.3s;
  padding: 20px;
  box-shadow: -3px 0 10px rgba(0,0,0,0.1); /* 横影 */
  border-top-left-radius: 12px;
}

.bento-slide.active {
  right: 0;
}

/* ===== グリッド ===== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 60px;
}

/* ===== アイテム ===== */
.bento-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 90px;
  border-radius: 12px;
  border: 1px solid #eee;
  text-decoration: none;
  color: #333;
  font-size: 14px;
}

/* CTA */
.bento-item.cta .icon i {
  font-size: 20px;
}


.icon i {
  font-size: 24px;
  margin-bottom: 4px;
}

/* ===== 背景 ===== */
.overlay {
  position: fixed;
  width: 100%;
  height: 100vh;
  background: rgba(0,0,0,0.5);
  top: 0;
  left: 0;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 998;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* パンくずリスト　*/
.breadcrumb {
  margin-top: 100px;
  font-family:"Hiragino Kaku Gothic ProN","Hiragino Sans","游ゴシック","Yu Gothic","メイリオ",Meiryo,sans-serif;
  font-size: 14px;
  margin: 10px 0 20px;
  color: #666;
  z-index: 100;
}

.breadcrumb a {
  color: #0dbfc9;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span {
  margin: 0 6px;
}

.breadcrumb .current {
  color: #333;
  font-weight: bold;
}
/* パンくずリスト　*/

/* フッター */
.footer{
  background: #840f70;
  color: #fff;
  margin-top: 40px;
}

/* 中身 */
.footer-inner{
  padding: 20px;
  text-align: center;
}

/* 会社情報 */
.footer-company h3{
  margin-bottom: 8px;
}

.footer-company p{
  font-size: 14px;
  margin: 2px 0;
}

/* メニュー */
.footer-menu{
  margin-top: 15px;
}

.footer-menu a{
  display: inline-block;
  margin: 5px 10px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}

/* コピー */
.footer-copy{
  text-align: center;
  padding: 10px;
  font-size: 12px;
  background: #7e026a;
}

.footer-menu a:last-child{
  background: #ff6b00;
  padding: 8px 12px;
  border-radius: 6px;
}

@media (min-width: 960px){

  .menu-trigger{
    width:24px;
    height:18px;
  }

  .menu-trigger span{
    height:2px;
  }

  .menu-trigger span:nth-child(2){
    top:8px;
  }

  .bento-slide{
    width:400px;
  }

  .bento-slide.active{
    right: calc((100vw - 800px) / 2);
  }

}