:root {
  --primary-color : #C58761;
  --text-base-color : #3D3936;
  --single-column-width : 880px;
  font-size : 16px;
}
@media(min-width :992px){
  :root {
  font-size : 18px;
}
}

body {
  background : url(/system_panel/uploads/images/back.jpg);
  background-size:cover;
  background-attachment :fixed;
  background-position :center center;
  line-height : 1.6;
  color : var(--text-base-color);
}

/* text style */
.section-heading__sub {
  color : var(--primary-color);
  font-weight : bold;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
  line-height : 1.4;
}
.caption {
  font-size : 0.75em;
}
.text-lead {
  font-size : 1.1rem;
  line-height : 1.4;
}
@media (min-width : 768px) {
  .text-lead {
  	font-size : 1.4rem;
	}
}

/* box style */
.round-corner {
  border-radius : 16px;
  overflow : hidden ;
}
.round-corner--lg {
  border-radius : 32px;
}
.box-shadow {
  box-shadow : 4px 4px 32px rgba(0,0,0,0.05);
}
.bg-opacity-60--white {
  background-color :rgba(255,255,255,0.6);
}
.container.is-thin {
  max-width : var(--single-column-width);
}
.has-borderline > div {
  border-bottom : 1px solid #ccc;
  padding-bottom : 16px;
  clip-path : inset(0 6px 0 6px);
}

/* button style */
.btn {
  border-radius : 12px;
  min-width : 235px;
  text-align : center;
}
.btn.small {
  min-width : unset;
}
.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  transition : filter .3s;
}
.btn-primary:hover,
.btn-primary:not(:disabled):not(.disabled):active {
  filter : brightness(1.1);
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}
.btn-secondary {
  background-color: var(--text-base-color);
  border-color: var(--text-base-color);
  transition : filter .3s;
}
.btn-secondary:hover {
  filter : brightness(1.3);
  background-color: var(--text-base-color);
  border-color: var(--text-base-color);
}
.btn-outline-secondary {
  color : var(--text-base-color);
  border-color: var(--text-base-color);
  transition : .3s;
}
.btn-outline-secondary:hover {
  background-color: var(--text-base-color);
  border-color: var(--text-base-color);
}
.btn:has(a) {
  padding : 0;
}
.btn a {
  padding : .375rem .75rem;
  display : inline-block;
  width : 100%;
  color : inherit;
  text-decoration : none;
}


.has-icon a {
  color : var(--text-base-color);
  text-decoration : none;
  display: flex;
  align-items: center;
}
.has-icon a::after {
  content : "";
  background : url(/system_panel/uploads/images/link-icon.svg);
  background-size :cover;
  display : inline-block;
  width : 7px;
  height : 10px;
  margin-left : 4px;
}
.mini-icon {
  width : 68px;
  height : auto;
  margin-bottom : auto;
}

/* 背景スタイル */
.bg-dark {
  background-color : var(--text-base-color) !important;
}

/* データブロック用 */
.webgene-blog {
  display :grid;
  grid-template-columns: 1fr;
  gap : 1.5rem;
}
@media(min-width : 768px){
  .webgene-blog {
  grid-template-columns: 1fr 1fr 1fr;
  gap : 3rem;
  }
}

.webgene-item a.webgene-item-link {
  display : grid;
  grid-template-columns : 30% 1fr;
  gap : 1rem;
  color : var(--text-base-color);
  text-decoration : none;
  transition : .3s;
}
.webgene-item a.webgene-item-link:hover {
  filter : brightness(1.1);
}
@media (min-width : 768px){
  .webgene-item a.webgene-item-link {
    grid-template-columns : 1fr;
    gap : 0.5rem;
  }
}

.webgene-item img {
  max-width : 100%;
  height : auto;
}
.webgene-item-info {
  display : flex;
  align-items : center;
  gap : 0.5rem;
}
.webgene-item-info p {
  margin : 0;
  font-size : 0.8rem;
  font-weight :bold;
}
.blogItemCategory::before {
  content : "●";
  color : var(--primary-color);
  margin-right : 0.1rem;
}
.blogItemTitle {
  font-size : 1.2rem;
  font-weight :bold;
  margin-top : 0.25rem;
}

.webgene-pagination {
  grid-column : 1 / -1;
}
#dataNews .webgene-pagination ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1em;
    list-style: none;
    padding: 0;
}

#dataNews .webgene-pagination a {
    text-decoration: none;
    border: 1px solid var(--text-base-color);
    background-color: #fff;
    color: #534741;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    height: 2rem;
    padding: 0.2em 0.5em;
    transition: .3s;
}

#dataNews .webgene-pagination .selected a,
#dataNews .webgene-pagination a:hover {
    background-color: var(--text-base-color);
    color: #fff;
}

#dataNews .webgene-item-content img {
  aspect-ratio: 16 / 10;
  object-fit : cover;
  
}

/* 雲の装飾　*/
.flow-cloud {
  position : fixed;
  inset: 0;
  pointer-events : none;
  z-index : -1;
}
.flow-cloud--left,
.flow-cloud--right {
  width : 236px;
  height :auto;
  position : absolute;
}

.flow-cloud--right {
  top : 25%;
  right: 1rem;
  animation: swing 3s both infinite;
}
.flow-cloud--left {
  top : 75%;
  left: 1rem;
  animation: swing 4s both infinite;
}
/* 管理画面で邪魔なので固定表示を解除　*/
.gjs-dashed .flow-cloud,
.gjs-dashed .flow-cloud--left,
.gjs-dashed .flow-cloud--right{
  position : static;
  pointer-events : unset;
}

/* fade in */
body:not(.gjs-dashed) .fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 3s ease, transform 1s ease;
}

body:not(.gjs-dashed) .fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* header */
a.header__logo {
  color : inherit;
  text-decoration : none;
  transition : .3s;
}
a.header__logo:hover {
  filter : brightness(1.4);
}
#toggleNav,#closeNav {
  cursor : pointer;
}
.nav-wrapper {
  backdrop-filter : blur(4px);
  background-color : rgba(217,217,217,0.8);
  position : fixed;
  inset : 0;
  overflow-y : auto;
  z-index : 1030;
  opacity : 0;
  pointer-events :none;
  transition : .3s;
}
.nav-wrapper.is-show {
  transform : translateX(0);
  opacity : 1;
  pointer-events :unset;
}


.nav_inner {
  transform : translateX(16px);
  min-height : 100dvh;
  width: clamp(280px, 50vw, 420px);
  display: flex;
  flex-direction: column;
  opacity : 0;
  transition : 1s;
}
.is-show .nav_inner {
  transform : translateX(0);
  opacity : 1;
}

.close-nav {
  width : fit-content;
  margin-left : auto;
}

body:has(.nav-wrapper.is-show) {
  overflow : hidden;
  overscroll-behavior-y: none;
}

.sticky-cta {
  position :fixed;
  bottom : 0;
  left : 0;
  width : 100%;
  border-radius : 0;
  padding : 20px;
  z-index: 1000;
  transition: opacity .3s ease;
}
.sticky-cta.is-hidden {
  opacity: 0;
  pointer-events: none;
}
@media (min-width : 768px) {
	.sticky-cta {
  	position :static;
      border-radius : 12px;
      width : inherit;
      padding : .375rem .75rem;
	}
  .sticky-cta.is-hidden {
  opacity: 1;
  pointer-events: normal;
}
}

.nav_inner .copyright {
  font-size : 0.75em;
}


/* トップページコンテンツ　*/
.top-name-illust {
  width: clamp(100px, 50vw, 300px);
}

/* 店舗情報ページ　*/
.shop-info-table {
  display : grid;
  grid-template-columns : auto 1fr;
  gap : 0.5rem 1rem;
  height : fit-content;
}
.shop-info-table p {
  margin : 0;
}
.shop-info-table > *:nth-child(odd) {
  font-weight : bold;
}
.google-map iframe {
  aspect-ratio: 16 / 9;
  width: 100%;
  height: auto;
  border : none;
  
}

/* google翻訳対応 */
html.translated-ltr .sticky-top,
html.translated-ltr .nav-wrapper{
  top : 38px;
}
html[lang="en"] {
  body {
    line-height : 1.5;
  }
  .h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    line-height : 1.2;
  }
}