@charset "UTF-8";
@media screen and (max-width: 767px) {

  body {
    font-size: 14px;
    line-height: 1.6;
  }

  #concept, #menu, #news, #access, #footerInner {
    width: 100%;
    margin: 80px auto 0;
    padding: 0 5%;
  }

  /* ヘッダー */
  header {
    padding: 10px 5%;
    flex-direction: column;
    align-items: flex-start;
  }

  #gnavi {
    margin: 0;
    width: 100%;
  }

  #gnavi ul {
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
  }

  #gnavi li {
    margin-left: 0;
    font-size: 18px;
  }

  /* ハンバーガー表示エリア */
  #hamburger {
    display: block;
    width: 30px;
    height: 22px;
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
    z-index: 1001;
  }

  /* 三本線 */
  #hamburger span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #4c4c3f;
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  #hamburger span:nth-child(1) { top: 0; }
  #hamburger span:nth-child(2) { top: 9px; }
  #hamburger span:nth-child(3) { top: 18px; }
  
  /* ハンバーガーが開いた状態 */
  #hamburger.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 9px;
  }
  #hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  #hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 9px;
  }
  
  /* ナビゲーションメニュー（スマホ時は左からスライド） */
  #gnavi {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100vh;
    background: #4b3832;
    transition: left 0.3s ease;
    z-index: 1000;
    padding: 60px 20px;
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
  }
  
  #gnavi.active {
    left: 0;
  }
  
  /* ナビ内のリンク配置 */
  #gnavi ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  #gnavi li {
    margin: 20px 0;
  }

  /* メインスライド */
  .main_slide {
    height: auto;
  }
  .main img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
  }

  /* concept セクション */
  #logo_left,
  .concept_text {
    float: none;
    width: 100%;
    margin: 0 auto;
    text-align: center;
  }

  #logo_left img {
    width: 60%;
    max-width: 200px;
    height: auto;
    display: block;
    margin: 0 auto;
  }

  .concept_text {
    margin-top: 40px;
  }

  .concept_text h1 {
    font-size: 18px;
    padding-bottom: 30px;
  }

  .sp_br {
    display: inline;
  }

  /* menuセクション */
  .slide_menu {
    display: flex;
    overflow: hidden;
    width: 100%;
    height: 200px; /* スマホ用に高さ調整 */
    margin: 40px auto;
  }

  .menu_slide1,
  .menu_slide2 {
    display: inline-flex;
    flex: none;
    animation: slide_left 20s linear infinite; /* PCと同じスライド */
  }

  .slide {
    margin: 0 15px;
    display: flex;
    align-items: center;
  }

  .slide img {
    width: auto;
    height: 90%; /* 高さに合わせて縮小 */
    display: block;
  }

  /* newsセクション */
  #news_contents {
    flex-direction: column;
    gap: 30px;
    align-items: center;
    padding: 0 15px;
    margin-top: 40px;
  }

  .news_background {
    width: 100%;
    box-sizing: border-box; /* padding込みで100% */
    padding: 15px;
    height: auto;
  }

  .newsphoto {
    width: 100%;
    height: auto;
    display: block;
    margin: 20px 0 0;
    border-radius: 10px;
  }

  .newsdate,
  .newstext {
    margin-left: 0;
    padding: 0 10px;
    text-align: left;
  }

  .newstext {
    width: 100%;
    margin-top: 15px;
    line-height: 1.6;
    word-break: break-word;
  }

  /* access セクション */
  #accessMap {
    flex-direction: column;
    width: 100%;
    margin-top: 40px;
  }

  #accessMap iframe,
  #access_right {
    width: 100%;
  }

  .open p {
    font-size: 18px;
  }

  .open dl {
    font-size: 14px;
  }

  /* フッター */
  #footerInner {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 0;
    gap: 10px;
  }

  /* 左ロゴと右マークは非表示に */
  #footerlogo_left, #mark_right {
    display: none;
  }

  #copyRight {
    text-align: center;
    font-size: 12px;
  }

/* フローティングバナー（SP用表示） */
  .floating_banner {
    display: none;
  }

  .floating_banner_sp {
    display: block;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    z-index: 9999;
  }

  .banner_glow {
    width: 60px;
    height: 60px;
    font-size: 14px;
  }

  /* スマホでscroll非表示 */
  .scroll {
    display: none;
  }

}