@charset "UTF-8";

#top{
  width:100%;
}

#header{
  margin:0 auto;
}

/*h1変更*/
#header .header-wrap { 
   margin:0;
   padding:17px 0 10px;
   font-size:24px;
   color:#333;
}

#menu{
  width: 100%;
  background: #352415;
}

/* ULをセンター寄せ + 最大幅780px */
#menu ul {
  max-width: 780px;
  margin: 0 auto !important;   /* センター寄せ */
  padding: 0 20px;  /* 余白あったほうが綺麗（任意） */
  box-sizing: border-box;
  float:none;
}

#menu li:first-child{
  border-left:#584A3D 1px solid;
}

#menu li:last-child{
  border-right:#584A3D 1px solid;
}


/* main -------------------------------------------------------- */

#main h1 {
   margin:0 0 40px 0;
   font-size:16px;
   color:#000;
   line-height:1.2;
   background:#F2EFEA;
   padding:25px 1em;
   /*width:100%;
   text-indent:1.5em;*/
}

#main h1 span.sub{
	color:#525252;
	font-size:10px;
	text-align:right;
	font-weight:normal;
	float:right;
	display:inline-block;
	display: inline;
	zoom: 1;
	text-indent:0;
	margin:0 30px 0 0;
	vertical-align:baseline;
	line-height:1.8;
}

@media screen and (max-width: 768px) {
    #header .header-wrap {
        padding: 0;
        text-align: left;
        box-sizing: border-box;
        padding-left: .3rem;
    }

    #header .header-wrap img {
      width: 40%;
      height: auto;
      aspect-ratio: 702/233;
    }

  #menu{
  width: 100%;
  background: white;
}
}




/* footer-a ----------------------------------------------------- */


/* 外部リンクバナー全体 */
.ft-bnr-area {
  padding: 40px 20px;
  background: #fff; /* 必要なら変更 */
  border-top:1px solid #f2efea;
}

/* 中身 */
.ft-bnr-list {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.ft-bnr-list li {
  width: 191px; /* ← すべて同じ基準 */
}

/* バナー */
.ft-bnr-list li a {
  display: block;
}

.ft-bnr-list img {
  width: 100%;
  height: auto;
  display: block;
}


/* =========================
   SP：2列表示（奇数は左寄せ）
========================= */
@media (max-width: 768px) {

  .ft-bnr-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    justify-content: start; /* 奇数は左寄せ */
  }

  .ft-bnr-list li {
    width: 100%;
    max-width: 191px;
    margin: 0 auto;
  }

}


/* footer-a ----------------------------------------------------- */


/* フッター全体 */
.site-footer {
  color: #352415;
  font-size: 12px;
  background: #f2efea;
  padding: 0px 20px;
}

/* 中央寄せ max-width */
.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

/* 上段：1:3:1 の横並び */
.footer-a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid #352415;
  padding: 40px 20px;
}

/* カラム比率（左右1、中央3） */
.footer-col-left {
  flex: 1;
  order:0;
}

.footer-col-center {
  flex: 2.5;
  order:1;
}

.footer-col-right {
  flex: 1;
  text-align: right;
  order:2;
}

/* ナビを横一列に並べる */
.footer-nav {
  display: flex;
  flex-wrap: wrap;   /* 改行する */
  gap:8px;           /* テキスト間の余白 */
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav li a {
  text-decoration: none;
  color: #352415;
  font-size: 12px;
  white-space: nowrap;  /* 文言途中で折り返さない */
}

/* 画像調整（必要に応じて調整） */
.footer-col-left img,
.footer-col-right img {
  max-width: 100%;
  height: auto;
}


@media (max-width: 768px) {

    /* 上段はロゴ（左）とバナー（右） */
  .footer-a {
    flex-wrap: wrap; /* これが重要！折り返し可 */
    align-items: center;
    flex-direction: column;
  }

  .footer-col-left {
  flex: 1;
  order:0;
}

.footer-col-right {
  flex: 1;
  text-align: right;
  order:1;
}

.footer-col-center {
  flex: 0 0 100%;
  order:2;
  margin-top: 20px; /* 上部に余白（任意） */
}

  /* .footer-nav {
    flex-wrap: wrap;
  } */

    .footer-nav {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 左1カラム + 右1カラム */
    gap: 3px 16px;                  /* 縦8px・横16pxの余白 */
  }

  .footer-nav li {
    list-style: none;
  }

  .footer-nav li a {
    display: block;       /* タップしやすいようブロック化 */
    white-space: normal;  /* 長い文字を折り返しOKに */
    padding: 3px 0;       /* 適度に余白 */
  }

}

/* fotter-b-------------------------------------------------- */

/* 全体 */
.footer-b {
  max-width: 1240px;
  margin: 40px auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* 1行 */
.area-item {
  display: flex;
  padding: 8px 0;
}

/* 左（エリア名） */
.area-left {
  width: 180px;
  font-weight: bold;
  flex-shrink: 0;
}

/* 右（店舗名の塊） */
.area-right {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
}

.area-right a{
  color:#352415;
}


/* .area-right2{
  display: flex;
  flex-direction: row;
  gap: 10px 20px;
} */

.area-right2 {
  display: block;   /* ← これが重要！ flexにしない */
}

/* 括弧内の4店舗を折り返すために flex-wrap を有効化 */
.area-right2 .flex {
  display: flex;
  flex-wrap: wrap;    /* ← これで折り返すようになる */
  gap: 8px 16px;
}

/* 店舗名（横並び） */
.area-right span,
.area-right2 span {
  white-space: normal;
}



/* ------------------------------
   スマホ時（右側を開閉式に）
------------------------------ */

@media (max-width: 768px) {

  .area-item {
    display: block;
    padding: 14px 0;
  }

  .area-left {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
  }

  .area-left::after {
    content: "＋";
    font-size: 16px;
  }

  .footer-b{
    padding:0 1rem;
    margin:0;
  }

  /* ▼ 右側（店舗名）をスムーズに開閉 */
  .area-right {
    max-height: 0;           /* 高さゼロで閉じる */
    overflow: hidden;        /* 中身がはみ出るのを防ぐ */
    transition: max-height 0.35s ease;
    margin-top: 0;           /* 閉じてる時は隙間なし */
    flex-direction: column;
    flex-wrap: nowrap;

  }

  .area-right2{
    flex-direction: row;
  }

  .area-right2 .flex{
flex-direction: column;
  }

  /* 店舗名（横並び） */
  .area-right span, .area-right2 span{
  white-space: wrap;
}

  /* 開いた状態 */
  .area-item.open .area-right {
    margin-top: 10px;        /* 開いた時だけ余白 */
  }

  /* 開閉ボタン切替 */
  .area-item.open .area-left::after {
    content: "−";
  }
}


/* ft-c ------------------------------------------------------- */

.site-footer2 {
  color: #352415;
  font-size: 12px;
  background: white;
  padding: 0px 20px;
}

.footer-inner2{
    max-width: 1240px;
    margin: 0 auto;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.footer-c {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  font-size: 12px;
  color: #35241580;
  flex-wrap: wrap; /* SP時に段落ちOK */
  background-color: white;
  width: 100%;
}

.footer-c .footer-c-right a{
  color: #35241580;
}

/* 左側（総合受付） */
.footer-c-left {
  white-space: nowrap;      /* 行内で途中改行しない */
  overflow-wrap: normal;
}

/* TEL の途中で折れない */
.footer-c-left .nowrap {
  white-space: nowrap;
}

/* 右側（コピーライト） */
.footer-c-right {
  white-space: nowrap;      /* 単語が途中で切れない */
}

/* リンク */
.footer-c-right a {
  color: #352415;
  text-decoration: none;
}

/* ▼ SP（768px以下） */
@media (max-width: 768px) {
  .footer-c {
    flex-direction: column;
    align-items: flex-start;
    gap:10px;
  }
  .footer-c-left,
  .footer-c-right {
    white-space: normal; /* スマホでは折り返しOK（単語中断はNG） */
    align-self: center;
  }


  .footer-c-left .tel {
    white-space: nowrap; /* TEL は絶対に折れない */
  }
}





/* -----------------------------footer-bnr */

.footer-bnr{
    display: flex;
    flex-direction: row;
    flex: 2;
    justify-content: end;
    gap:5px;
  }