@charset "utf-8";

/* base ------------------------*/
:root {
  /* 使用色 */
  --color-base :#462d14; /*ベースカラー*/
  --color-sub  :#1fa339; /*アクセントカラー*/
  --color-sub2 :#b68759; /*アクセントカラー*/

  --color-honten:#ff7501; /*枚方本店*/
  --color-nara  :#5f3602; /*奈良店*/
  --color-nara2 :#016932; /*奈良店(店舗関連)*/
  --color-nara3 :#349201; /*奈良店(チラシ・スタッフ等)*/
  --color-oita  :#ae1d20; /*大分店*/

  --color-hontenBg:#ffe0cc; /*枚方本店*/
  --color-naraBg  :#ffe8c5; /*奈良店*/
  --color-oitaBg  :#fcd8d9; /*大分店*/

  --color-hontenBor:#ffb678; /*枚方本店*/
  --color-naraBor  :#ceac79; /*奈良店*/
  --color-naraBor3 :#8cd962; /*奈良店(チラシ・スタッフ等)*/
  --color-oitaBor  :#ffa5a7; /*大分店*/
}

#wrapper { position:relative; overflow: clip; }
.inner { max-width:1280px; margin:0 auto; }
.inner2 { max-width: 1040px; margin:0 auto; }
.inner.narrow { max-width:960px; }

/* header ------------------------*/
#header { position: sticky; top: 0; z-index: 100; background: url(../img/header_bg.jpg); }
.blog #header { width:100% !important; }
#logo_k,#logo_k img { height:100%; }
#logo { position:absolute; top:50%; width:100%; text-align:center; transform: translateY(-50%); }
#logo a { display: block; max-width: 449px; }

/* gnav ------------------------*/
#gnav {
  position:fixed; top:0; bottom:0; right:0; z-index:1000;
  width:min(100%,600px); color:#000; text-align:center; background:#fff;
  background:#fdf7c5;
  transform:translateY(-100%);
  transition:all 0.6s;
  ul { 
    display:grid; grid-template-columns:repeat(2, 1fr);
    width:100%; margin:0 auto; padding:min(16vw,80px) 0 0;
    li {
      padding:0; font-size:1.1em; list-style-type:none; border-top:1px dotted #333;
      &:nth-child(2n) { border-left:1px dotted #333; }
      &:nth-last-child(2) { border-bottom: 1px dotted #333; border-bottom:1px dotted #333;}
      &:last-child { border-right: 1px dotted #333; border-bottom:1px dotted #333;}
      a {
        display:block; padding:.3em 0; color:#000; text-decoration:none;
        &.small { padding-block:.5em; }
      }
    }
  }
}
/* このクラスを、jQueryで付与・削除する */
#gnav.active {
  transform:translateY(0%);
}

.navContact, .navLine { cursor:pointer;
  display:block; position:absolute; top:50%; right:80px;
  width:60px; height: 60px; text-align:center; transform: translateY(-50%); }
.navContact { right: 160px; }
.navToggle { cursor:pointer; z-index:1001;
  display:block; position:fixed; right:20px; top:.9em;
  width:50px; height:50px; text-align:center;
  word-wrap:normal!important; letter-spacing:0!important; }
.navToggle span {
  display:block; position:absolute; left:10px;
  width:40px;border-bottom:solid 3px #40210f;
  transition:.35s ease-in-out; }
.navToggle span:nth-child(1) { top:5px; }
.navToggle span:nth-child(2) { top:17px; }
.navToggle span:nth-child(3) { top:29px; }
.navToggle span:nth-child(4) {
   top:37px; border:none; color:#40210f; font-size:15px; font-weight:bold; }
/* 最初のspanをマイナス45度に */
.navToggle.active span:nth-child(1) {
  top:9px; left:10px; transform:rotate(-45deg); }

/* 2番目と3番目のspanを45度に */
.navToggle.active span:nth-child(2),
.navToggle.active span:nth-child(3) {
  top:9px; transform:rotate(45deg); }

/* footer------------------------*/
#footer { padding-bottom: min(13vw + 20px,140px); color:#fff; background:#462d14;}
#footer a { color:#fff; text-decoration:none; }
.shop_info { border-top:1px solid rgba(255, 255, 255, 0.4); border-bottom:1px solid rgba(255, 255, 255, 0.4); }
.f_honten,
.f_nara { width:50%!important; padding:10px 0;  }
.f_nara { background:#1ea339;}
.fnav { display:grid; grid-template-columns:repeat(4, 1fr); gap:1em; padding:20px; font-size:.85em; }
.f_sns_link { width:45%; margin:0 auto 7em; justify-content: center; gap: 4em; }
.f_sns_link li { width: 9%; }
#flogo { max-width: 380px; width: 50%; margin-inline: auto;}
.flo_nav { z-index: 999; padding-block: 1em; gap: 1em; position:fixed; bottom:-150px; left:0; right:0; background: rgba(0, 0, 0, .75);}
#nofont-style .flo_nav { display:none; }

#pagetop { position:fixed; z-index:900; margin:0 0 min(14vw + 30px,150px); bottom:-250px; right:20px; }
.copyright { margin:0; padding:1em 0; font-size:.75em; text-align:center; }

/* reCAPTCHA */
.grecaptcha-badge { bottom: min(14vw + 120px,240px)!important; }

/* ポップアップ------------------------*/
.popup-con {
  display: inline-block; position: relative; left: 50%; transform: translateX(-50%);
  .list li + li {margin-top: clamp(20px,3vw,35px); }
  .btn-more { width:min(88vw, 500px); padding-block:.8em; text-align:center; }
}
.popup-btn { cursor: pointer;}
.contact-list li { text-align: center;}
.contact-list li + li {margin-top: clamp(20px,3vw,35px);}
.mfp-close { transform: translateX(100%) translateY(-100%); font-size: 68px !important; color: #fff !important;}


/* パンくず */
#pan { display: flex; flex-wrap: wrap; padding: 1em; font-size: .875em; border-top: 1px solid #ddd;}
#pan > li:not(:last-of-type) { margin-right: 1em;}
#pan > li:not(:first-of-type)::before { margin: 0 1em 0 0; content: ">";}
#pan > li a { text-decoration: none;}

/* common------------------------*/
.col2 { display:-webkit-flex; display:flex; -webkit-flex-wrap:wrap; flex-wrap:wrap; justify-content:space-between; -webkit-justify-content:space-between; }
.col2 > * { width:49%; }

/* tel */

/* title */
.sec_ttl { padding:1.5em 0; }

/* button .buttonは使ってなさそう */
.button { position:relative; z-index:2; display:inline-block; overflow:hidden; min-width:260px;
  padding:.7em 3em .6em 3em; text-align:center; }
.button.icon:before { content:""; display:inline-block; width:1.2em; height:1.2em; margin:.3em .5em 0 0; vertical-align:top; background:no-repeat center / 100%; }

.btn-def {
  display:inline-block; min-width:180px; padding:.3em 1.5em; text-decoration:none;
  font-size:1.2em; font-weight:700; color:#fff; background-color:#ff7500;
  border:3px solid #ffba80; border-radius:3em;
  &:hover { color:#fff; opacity:.8; }
  &.blu { background-color:#0064aa; border-color:#80b1d5; }
  &.lgr { background-color:#82af1e; border-color:#c1d78e; }
}

.btn-more { position:relative;
  display:inline-block; width:min(86%,440px); padding:.5em 1em .6em; text-decoration:none;
  line-height:1;  font-size:min(4.7vw,26px); font-weight:900;
  color:#fff; background:var(--color-honten);
  border:4px solid var(--color-hontenBor); border-radius:2em;
  &:hover { color:#fff; opacity:.8; }
  &::after {
    content:''; width:1.3em; aspect-ratio:1;
    position:absolute; top:50%; right:.5em; transform:translateY(-50%);
    background:url(../img/common/arrow.svg) no-repeat center / contain;
  }
}
.nara .btn-more { background:var(--color-nara); border-color:var(--color-naraBor); }
.oita .btn-more { background:var(--color-oita); border-color:var(--color-oitaBor); }


/* table */
.tbl th,
.tbl td { padding:10px; text-align:center; border-bottom:1px solid #e8e8e8;  background:#fff; }
.tbl th { width:20%; color:#fff; background:#ee9300; }

/* シンプルタブ */
.tabs { margin-top:min(7.3vw,40px); }
.tab-buttons { position:relative; cursor:pointer;
  display:grid; width:100%; gap:10px; border-bottom:3px solid #5cb432;
  &.col2 { grid-template-columns:repeat(2, 1fr); }
  > li { position:relative;
    width:auto; padding-block:.5em; font-size:min(3.7vw,20px); font-weight:700; color:#40210f; text-align:center; background-color:#dedede; border-radius:10px 10px 0 0;
  }
  .selected { color:#fff; background-color:#5cb432; }
  @media screen and (max-width:959px) {
    &::after {
      content:''; display:block; height:3px; background-color:#5cb432;
      position:absolute; bottom:-3px; left:-15px; right:-15px;
    }
  }
}
.tab-content { display:none; padding-block:.5em; }
.tab-content.active { display:block; }


/* ================================================================
  レスポンシブ
=================================================================== */
/* 600以上(PC・タブレット) */
@media screen and (min-width:600px) {
    #header { height:90px; }
    #logo a { margin: auto; }
}

/* 960以上(PC) */
@media screen and (min-width:960px) {
  .menu-button { display:none; }
  .flo_nav { width: 100%; margin:0 auto; }
}



/* ================================================================
  タブレット
=================================================================== */
/* 1200未満600以上 */
@media screen and (max-width: 1199px) {
    /* header------------------------*/
    #logo { top: 50%; transform: translateY(-50%); }
    /* #logo img { max-width: 50%; } */
  }


@media screen and (max-width:959px) {
  body { font-size:15px; }
  .narrow { width:auto; margin:0 24px; }
  .flo_nav li { width: 23%;}


  /* header------------------------*/
    #header { height:70px; }
    #logo img { width:70%; }
    .navContact, .navLine { display: flex; align-items: center; width: 50px; }
    .navContact { right: 125px; }
    .navLine { right: 65px; }
    .navToggle { top:10px; width: 45px; }
    .navToggle span:nth-child(4) { top: 30px; font-size: 13px; }



  /* #gnav------------------------*/


  /* footer ------------------------*/
  /*#footer { padding-bottom:8%; }*/
  #footer .f_btn{justify-content:center;}
  #footer .f_btn a+a{margin-top:10px;}

  /* common ------------------------*/

  /* 959以下 600以上（タブレットのみ） */
  @media screen and (min-width:600px) {



  }
}

/* 750未満600以上 */
@media screen and (max-width: 749px) {
  @media screen and (min-width:600px) {
    /* header------------------------*/
    #logo { width: 90%;}
  }
}

@media screen and (max-width: 1280px) {
  .inner { margin-inline: 15px; }
}

@media screen and (max-width: 1040px){
  .inner2 { margin-inline: 15px; }
}


/* ================================================================
  スマホ
=================================================================== */
@media screen and (max-width:599px){

  body { font-size:14px; }
  /* .inner { padding-inline:15px; } */
  .wide_inner,
  .narrow { margin:0 10px; }
  .narrow > div.index { width:100%; }
  .half { width:50%; }


  /* header------------------------*/
  #logo { left: 3%; }
  #logo img { display: block; max-width: 57%; width: unset; }
  .navContact, .navLine { width: 40px; }
  .navContact { right: 95px; }
  .navLine { right: 50px; }
  .navToggle { right: 10px; }
  .navToggle span { left: 15px; width: 33px; }
  .navToggle span:nth-child(1) { top: 6px; }
  .navToggle span:nth-child(2) { top: 16px; }
  .navToggle span:nth-child(3) { top: 26px; }
  .navToggle span:nth-child(4) { top: 28px; font-size: 11px; }
  .navToggle.active span:nth-child(1) { left: 14px; }

  /* gnav------------------------*/

  /* footer------------------------*/
  #pagetop { width:50px; right:10px; margin-bottom:calc(14vw + 25px); }
  .shop_info { border-top:none; }
  .f_honten,
  .f_nara { width:100%!important; }
  .f_sns_link { margin-bottom:3em; gap: 1.5em; width: 100%; }
  #footer .f_btn{width:50%; margin:auto;}
  #footer .half { width:100%; }
  .fnav { grid-template-columns:repeat(2, 1fr); }
  .flo_nav { gap: .5em;}

  /* reCAPTCHA */
  .grecaptcha-badge { bottom: calc(14vw + 85px)!important; }

  /* ポップアップ------------------------*/
  .popup-con { width: 90%;}
  .mfp-close { transform: translateX(0) translateY(-150%);}

  /* common ------------------------*/

  /* tel */

  /* title */

  /* button */

  /* table */
    .tbl tr,
    .tbl th,
    .tbl td{ display:block; width:100%; border:none; }
    .tbl td { padding:20px 10px; }

}

/*スマホSE以下*/
@media screen and (max-width:320px){
    #gnav ul li a { padding:.2em 0; }
}
