@charset "utf-8";

html,
body{
  margin:0;
  padding:0;
}

body{
  font-family:"Noto Serif JP", serif;
  background-image:url("../images/back.jpg");
  background-repeat:repeat-y;
  background-position:center top;
  background-size:cover;
  overflow-x:hidden;
}

img{
  display:block;
  width:100%;
  height:auto;
  border:0;
}

a{
  text-decoration:none;
}

.nav-toggle{
  position:absolute;
  opacity:0;
  pointer-events:none;
}

/* 左サイドレール */
.side-rail{
  position:fixed;
  top:0;
  left:0;
  width:84px;
  height:100vh;
  background:#f3f3f3;
  border-right:1px solid #d8d8d8;
  z-index:10000;
  display:flex;
  flex-direction:column;
}

.side-rail__menu{
  height:96px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  border-bottom:1px solid #d8d8d8;
  color:#333;
  cursor:pointer;
  box-sizing:border-box;
}

.side-rail__menu-icon{
  font-size:28px;
  line-height:1;
}

.side-rail__menu-text{
  margin-top:8px;
  font-size:10px;
  letter-spacing:0.06em;
  line-height:1;
}

.side-rail__shop{
  flex:1;
  display:flex;
  align-items:center;
  justify-content:center;
  border-bottom:1px solid #d8d8d8;
  box-sizing:border-box;
}

.side-rail__link{
  width:100%;
  height:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:8px;
  color:#1d3e8b;
  transition:background 0.25s ease;
  box-sizing:border-box;
}

.side-rail__link:hover{
  background:rgba(29,62,139,0.05);
}

.side-rail__icon{
  font-size:22px;
  line-height:1;
}

.side-rail__text{
  writing-mode:horizontal-tb;
  text-orientation:mixed;
  font-size:11px;
  font-weight:700;
  text-align:center;
  line-height:1.4;
  letter-spacing:0.04em;
}

.hamburger,
.menu-overlay{
  display:none;
}

/* ページ全体 */
.page-shell{
  margin-left:84px;
  width:calc(100% - 84px);
  min-height:100vh;
  box-sizing:border-box;
}

/* メインビジュアル */
#mainImg{
  width:100%;
  margin:0;
  padding:0;
}

#mainImg img{
  width:100%;
  height:auto;
  display:block;
}

/* ヘッダー下帯 */
.top-bar{
  width:100%;
  height:36px;
  background:#1d3e8b;
  margin:0;
  padding:0;
}

@media screen and (min-width:769px){
  .top-bar{
    height:54px;
  }
}

/* YouTube */
.youtube-section{
  width:100%;
  background:transparent;
  padding:36px 0 56px;
  box-sizing:border-box;
}

.youtube-shell{
  width:100%;
  max-width:1400px;
  margin:0 auto;
  box-sizing:border-box;
}

.youtube-wrap{
  position:relative;
  width:100%;
  max-width:1200px;
  margin:0 auto;
  padding-top:56.25%;
  overflow:hidden;
  border-radius:16px;
  box-shadow:0 8px 24px rgba(0,0,0,0.22);
  background:#1d3e8b;
}

.youtube-wrap iframe{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  border:0;
  display:block;
}

/* レイアウト */
#wrapper{
  width:100%;
  margin:0 auto;
  padding:0;
  box-sizing:border-box;
}

#content{
  width:100%;
  max-width:1400px;
  margin:0 auto;
  padding:0;
  box-sizing:border-box;
}

.content{
  width:100%;
  margin:0 0 42px;
  padding:0;
  box-sizing:border-box;
}

.content:last-child{
  margin-bottom:0;
}

.post01{
  width:100%;
  max-width:1200px;
  margin:0 auto;
  padding:0;
  box-sizing:border-box;
}

.news_box01{
  width:100%;
  padding:0;
  margin:0;
  box-sizing:border-box;
}

.news_box01 img{
  display:block;
  width:100%;
  height:auto;
}

/* リンク付き画像のホバー */
.news_box01 a{
  display:block;
  transition:opacity 0.25s ease, transform 0.25s ease, filter 0.25s ease;
}

.news_box01 a:hover{
  opacity:0.88;
  transform:translateY(-3px);
  filter:brightness(1.04);
}

.news_box01 a img{
  display:block;
  width:100%;
  height:auto;
}

/* フッター直前の余白 */
.corabo-bottom{
  margin-bottom:80px !important;
}

/* SNSボタン */
.footer-sns{
  max-width:1200px;
  margin:0 auto 48px;
  padding:0 20px;
  text-align:center;
  box-sizing:border-box;
}

.footer-sns__title{
  margin:0 0 14px;
  color:#fff;
  font-size:16px;
  font-weight:700;
  letter-spacing:0.08em;
  text-shadow:0 1px 4px rgba(0,0,0,0.35);
}

.footer-sns__buttons{
  display:flex;
  justify-content:center;
  gap:12px;
  flex-wrap:wrap;
}

.footer-sns__buttons a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:130px;
  padding:12px 18px;
  border:1px solid rgba(255,255,255,0.7);
  border-radius:999px;
  background:rgba(255,255,255,0.9);
  color:#1d3e8b;
  font-size:14px;
  font-weight:700;
  box-shadow:0 4px 14px rgba(0,0,0,0.18);
  transition:opacity 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.footer-sns__buttons a:hover{
  opacity:0.9;
  transform:translateY(-2px);
  background:#fff;
}

/* フッター */
.footer-image{
  width:100%;
  margin:0;
  padding:0;
}

.footer-image img{
  display:block;
  width:100%;
  height:auto;
}

#copyright{
  padding:10px;
  font-size:12px;
  line-height:1.4;
  text-align:center;
  color:#fff;
  background:#333;
  box-sizing:border-box;
}

/* 1200px以下 */
@media screen and (max-width:1200px){

  .page-shell{
    margin-left:0;
    width:100%;
  }

  .side-rail{
    left:-240px;
    width:220px;
    background:rgba(255,255,255,0.98);
    box-shadow:4px 0 20px rgba(0,0,0,0.15);
    transition:left 0.3s ease;
    z-index:10003;
  }

  .side-rail__menu{
    display:none;
  }

  .side-rail__shop{
    border-bottom:none;
    align-items:flex-start;
    justify-content:flex-start;
    padding:84px 16px 16px;
  }

  .side-rail__link{
    width:100%;
    height:auto;
    flex-direction:row;
    justify-content:flex-start;
    gap:12px;
    padding:16px 14px;
    border:1px solid rgba(29,62,139,0.18);
    border-radius:10px;
    background:#fff;
  }

  .side-rail__text{
    font-size:16px;
    line-height:1.4;
    text-align:left;
  }

  .hamburger{
    position:fixed;
    top:16px;
    left:16px;
    width:56px;
    height:56px;
    background:rgba(255,255,255,0.95);
    border:1px solid #d0d0d0;
    border-radius:10px;
    z-index:10004;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:5px;
    cursor:pointer;
    box-shadow:0 4px 12px rgba(0,0,0,0.15);
    box-sizing:border-box;
  }

  .hamburger span{
    display:block;
    width:24px;
    height:2px;
    background:#1d3e8b;
    transition:all 0.3s ease;
  }

  .hamburger em{
    display:block;
    margin-top:2px;
    font-style:normal;
    font-size:10px;
    color:#1d3e8b;
    line-height:1;
    letter-spacing:0.04em;
  }

  .menu-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.35);
    z-index:10002;
    opacity:0;
    visibility:hidden;
    transition:all 0.3s ease;
    display:block;
  }

  .nav-toggle:checked ~ .side-rail{
    left:0;
  }

  .nav-toggle:checked ~ .menu-overlay{
    opacity:1;
    visibility:visible;
  }

  .nav-toggle:checked + .hamburger span:nth-child(1){
    transform:translateY(7px) rotate(45deg);
  }

  .nav-toggle:checked + .hamburger span:nth-child(2){
    opacity:0;
  }

  .nav-toggle:checked + .hamburger span:nth-child(3){
    transform:translateY(-7px) rotate(-45deg);
  }

  .news_box01{
    width:80%;
    margin:0 auto;
  }
}

/* 768px以下 */
@media screen and (max-width:768px){

  .youtube-section{
    padding:24px 0 32px;
  }

  .youtube-wrap{
    border-radius:0;
    box-shadow:none;
  }

  .content{
    margin:0 0 24px;
  }

  .corabo-bottom{
    margin-bottom:48px !important;
  }

  .hamburger{
    top:14px;
    left:14px;
    width:52px;
    height:52px;
  }

  .side-rail{
    width:220px;
    left:-240px;
  }

  .news_box01{
    width:96%;
    margin:0 2%;
  }

  .footer-sns{
    margin:0 auto 32px;
    padding:0 14px;
  }

  .footer-sns__buttons{
    gap:10px;
  }

  .footer-sns__buttons a{
    min-width:100px;
    padding:10px 14px;
    font-size:13px;
  }
}

/* ===============================
   フッターSNS（重ねる）
=============================== */

.footer-image{
  position:relative;
  box-sizing:border-box;
}


.footer-sns-overlay{
  position:absolute;
  top:150px;
  right:420px;
  display:flex;
  gap:24px;
  z-index:10;
}

/* ボタン共通 */
.sns-btn{
  width:56px;
  height:56px;
  border-radius:50%;
  display:block;
  background-size:60%;
  background-repeat:no-repeat;
  background-position:center;
  background-color:rgba(255,255,255,0.9);
  box-shadow:0 6px 16px rgba(0,0,0,0.25);
  transition:all 0.25s ease;
}

/* ホバー */
.sns-btn:hover{
  transform:translateY(-4px);
  box-shadow:0 10px 24px rgba(0,0,0,0.35);
}

/* 各SNS */
.sns-btn.instagram{
  background-image:url("../images/icon_instagram.png");
}

.sns-btn.x{
  background-image:url("../images/icon_x.png");
}

.sns-btn.facebook{
  background-image:url("../images/icon_facebook.png");
}
@media screen and (max-width:768px){

  .footer-image{
    position:relative;
    padding-top:90px !important;
    box-sizing:border-box;
  }

  .footer-sns-overlay{
    position:absolute !important;
    top:18px !important;
    left:50% !important;
    right:auto !important;
    transform:translateX(-50%) !important;
    display:flex !important;
    justify-content:center;
    gap:18px;
    z-index:20;
  }

  .sns-btn{
    width:56px;
    height:56px;
    background-size:60%;
  }

}