.spo{
display:none;
}

#drawer-close {
display: none;
}

body{
border-top:5px solid #49261D;
}

/*  -----レイアウト-----  */

div#rap_inner{
/*width:1100px;*/
margin:0 auto 0;
background:#ffffff;
		max-width:1200px;
	/*padding:0 40px ;*/
}

div#rap_inner_in{
  padding: 20px 20px 40px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

#header{
/*width: 1100px;*/
/*margin:0 auto 0;*/
padding: 0 0 0 40px;
}
.site_logo {
    text-align: left;
}
.site_logo img {
    width: 350px;
}


/*フッタ領域*/

#footer{
/*width:1100px;*/
margin:0 auto;
text-align:center;
background:#F8F1EF;
border-top:#cccccc dotted 1px;

}

.footer_01{
font-size:2.0em;
margin:5px 0 0;
font-weight:bold;
}

.footer_02{
font-size:1.4em;
margin:0px 0 5px;
}

.copyright{
padding:4px 0;
font-size:1em;
background:#cccccc;
}

/*メイン領域*/

#center_main{
  flex: 1;
  min-width: 0;
  margin: 0;
}

#content{
  margin: 0;
  padding: 0;
}

/*左サイド領域*/

#left_side{
  width: 300px;
  flex-shrink: 0;
  order: -1;
  padding: 0 12px 20px 0;
  position: sticky;
  top: 0;
  align-self: flex-start;
  border-right: 2px solid #EFDFDA;
}

/**/

.top_menu {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  max-width: 960px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.top_menu a {
  display: block;
  overflow: hidden;
  border-radius: 6px;
}

.top_menu img.onM {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.top_menu a:hover img.onM {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* ===== ヒーロースライダー ===== */
.hero {
  position: relative;
  width: 100%;
  max-height: 400px;
  overflow: hidden;
  margin-bottom: 10px;
}
.hero .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-caption {
  position: absolute;
  color: white;
  font-size: 2rem;
  text-shadow: 0 0 8px rgba(0,0,0,0.6);
}

/* ===== ニュースリスト ===== */
.wp-block-latest-posts__list.news_list {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}
.news_list li {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  column-gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #eee;
  transition: background-color 0.2s;
}
.news_list li:last-child {
  border-bottom: none;
}
.news_list .wp-block-latest-posts__post-title {
  font-size: 1rem;
  color: #333;
  text-decoration: none;
  line-height: 1.4;
}
.news_list .wp-block-latest-posts__post-title:hover {
  color: #7D4634;
}
.news_list .wp-block-latest-posts__post-date {
  font-size: 0.85rem;
  color: #999;
  justify-self: end;
  white-space: nowrap;
}
.news_list li:hover {
  background-color: #f9f9f9;
}

/* ===== フローティングボタン ===== */
.floating-btns {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  z-index: 9999;
}

.floating-btn {
  display: flex;
  align-items: stretch;
  text-decoration: none;
  color: white;
  border-radius: 8px 0 0 8px;
  overflow: hidden;
  box-shadow: -3px 3px 12px rgba(0,0,0,0.22);
  transition: box-shadow 0.25s ease;
}

.floating-btn:hover {
  box-shadow: -4px 4px 18px rgba(0,0,0,0.32);
}

.floating-btn__label {
  background: #7D4634;
  color: white;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  max-width: 0;
  padding: 0;
  display: flex;
  align-items: center;
  letter-spacing: 0.05em;
  transition: max-width 0.35s ease, padding 0.35s ease;
}

.floating-btn:hover .floating-btn__label {
  max-width: 140px;
  padding: 0 14px 0 18px;
}

.floating-btn__icon {
  width: 48px;
  height: 48px;
  background: #7D4634;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.25s ease;
}

.floating-btn__icon svg {
  width: 22px;
  height: 22px;
  stroke: white;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.floating-btn:hover .floating-btn__icon {
  background: #5a2f22;
}