/*
Theme Name: Kato Bijutsu (加藤美術)
Theme URI: 
Author: Generated Theme
Author URI: 
Description: 加藤美術のHTMLソースを基にしたWordPressテーマファイルです。
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: katobijutsu
*/
@charset "utf-8";
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css");
@import url('https://fonts.googleapis.com/css2?family=Reddit+Sans:ital,wght@0,200..900;1,200..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');
/* =========================================
   変数の定義
   ========================================= */ :root {
  --text-color: #664747;
  --primary-color: #f0ebe3;
  --primary-inverse-color: #a79981;
  --global-space: 5vw;
}
/* =========================================
   アニメーション (Keyframes)
   ========================================= */
@keyframes animation1 {
  0% {
    left: -200px;
  }
  100% {
    left: 0px;
  }
}
@keyframes opa1 {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
/* =========================================
   ベーススタイル・リセット
   ========================================= */
body * {
  box-sizing: border-box;
}
html, body {
  height: 100%;
  font-size: 14px;
}
@media screen and (min-width: 900px) {
  html, body {
    font-size: 16px;
  }
}
body {
  margin: 0;
  padding: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", Meiryo, "メイリオ", "Osaka", "MS PGothic", "ＭＳ Ｐゴシック", sans-serif;
  font-optical-sizing: auto;
  -webkit-text-size-adjust: none;
  background: #fff;
  color: var(--text-color);
  line-height: 2;
}
figure, dd, nav, ul, li, ol {
  margin: 0;
}
nav, ul, ol {
  padding: 0;
}
nav ul {
  list-style: none;
}
section li {
  margin-left: 1rem;
}
table {
  border-collapse: collapse;
}
img {
  border: none;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
video {
  max-width: 100%;
}
iframe {
  width: 100%;
}
input {
  font-size: 1rem;
}
section + section {
  margin-top: 3rem;
}
a {
  color: var(--text-color);
  transition: 0.3s;
}
a:hover {
  text-decoration: none;
  color: var(--primary-color);
}
/* =========================================
   全体レイアウト
   ========================================= */
body:not(.home) #container {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
#contents {
  flex: 1;
  padding: 0 var(--global-space);
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  padding: 1vw 3vw;
  font-family: "Reddit Sans", "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  position: fixed;
  z-index: 1;
  width: 100%;
  background-color: rgba(0, 100, 0, 0.5);
}
#logo img {
  display: block;
  width: 160px;
}
#logo a {
  display: block;
  text-decoration: none;
  font-size: 1.6rem;
  font-weight: 800;
}
/* =========================================
   ナビゲーションメニュー
   ========================================= */
#menubar {
  display: none;
}
#menubar ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
#menubar a {
  display: block;
  text-decoration: none;
}
.large-screen #menubar {
  display: block;
}
.small-screen #menubar.display-block {
  display: block;
}
#menubar_hdr.display-none {
  display: none;
}
.ddmenu_parent ul {
  display: none;
}
a.ddmenu {
  cursor: default;
}
a.ddmenu::before {
  font-family: "Font Awesome 6 Free";
  content: "\f078";
  font-weight: bold;
  margin-right: 0.5em;
}
/* --- PCサイズメニュー --- */
.large-screen #menubar > nav > ul {
  display: flex;
  font-size: 1.2rem;
  gap: 0.5rem;
}
.large-screen #menubar li a {
  border-radius: 100px;
  padding: 0.2rem 1rem;
  background: #ff8c00;
}
.large-screen #menubar li a:hover {
  background: #fff;
  color: #FF6600;
}
.large-screen #menubar ul ul, .small-screen #menubar ul ul {
  animation: opa1 0.5s 0.1s both;
}
.large-screen #menubar ul ul {
  position: absolute;
  z-index: 100;
}
.large-screen #menubar ul ul a {
  margin-top: 0.4rem;
}
/* --- スマホサイズメニュー --- */
.small-screen #menubar.display-block {
  position: fixed;
  overflow: auto;
  z-index: 100;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  padding-top: 90px;
  background: rgba(0, 0, 0, 0.7);
  animation: animation1 0.2s both;
}
.small-screen #menubar nav ul li {
  border: 1px solid #ccc;
  margin: 1rem;
  border-radius: 5px;
  padding: 0 2rem;
}
.small-screen #menubar a {
  padding: 1rem;
}
.small-screen #menubar, .small-screen #menubar a {
  color: #fff;
}
#menubar .sh {
  font-weight: normal;
  padding: 1rem 2rem 2rem;
}
/* --- ハンバーガーメニューボタン --- */
#menubar_hdr {
  animation: opa1 0s 0.2s both;
  position: fixed;
  z-index: 101;
  cursor: pointer;
  right: 3vw;
  top: 1vw;
  padding: 16px 14px;
  width: 46px;
  height: 46px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
#menubar_hdr span {
  display: block;
  transition: 0.3s;
  border-top: 1.5px solid #333;
}
#menubar_hdr.ham {
  background: #ff0000;
}
#menubar_hdr.ham span:nth-of-type(1), #menubar_hdr.ham span:nth-of-type(3) {
  transform-origin: center center;
  width: 20px;
  border-color: #fff;
}
#menubar_hdr.ham span:nth-of-type(1) {
  transform: rotate(45deg) translate(3.8px, 5px);
}
#menubar_hdr.ham span:nth-of-type(3) {
  transform: rotate(-45deg) translate(3.8px, -5px);
}
#menubar_hdr.ham span:nth-of-type(2) {
  display: none;
}
/* =========================================
   メインコンテンツ・見出し
   ========================================= */
main h2 {
  font-family: "Reddit Sans", "Noto Sans JP", sans-serif;
  font-size: 3rem;
  letter-spacing: 0.1em;
  color: #bfa594;
}
@media screen and (max-width: 767px) {
  main h2 {
    text-shadow: 1px 1px 0 #fff, -1px 1px 0 #fff, 1px -1px 0 #fff, -1px -1px 0 #fff;
  }
}
.bg1 h2 {
  color: var(--primary-inverse-color);
}
main h2 .hosoku {
  display: block;
  font-weight: normal;
  font-size: 0.6em;
}
main h3 {
  display: inline-block;
  border-bottom: 3px solid var(--text-color);
}
.main-contents {
  margin-bottom: 5rem;
}
@media screen and (min-width: 900px) {
  main.column {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
  }
  .main-contents {
    margin-bottom: 0;
    flex: 1;
  }
  .sub-contents {
    width: 49%;
  }
}
/* =========================================
   店舗一覧・詳細ページ (ショートコード共通)
   ========================================= */
.top-layout, .shop_detail{
	padding-bottom:100px;
}
/* --- サムネイル表示エリア --- */
.top-layout-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-bottom: 80px;
  align-items: center;
}
.top-layout-outline {
  margin-bottom: 20px;
  line-height: 1.6;
}
.top-layout-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}
.top-layout-image-item img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}
.shop-grid-container {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}
.shop-grid-item a {
  text-decoration: none;
  display: block;
}
.shop-thumbnail {
  width: 100%;
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
  border: 1px solid #333333;
}
.shop-thumbnail.has-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  vertical-align: bottom;
}
.shop-title-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  margin: 0;
  padding: 4px 6px;
  background-color: #ffffff;
  color: #000000;
  font-size: 1em;
  line-height: 1.2;
  text-align: center;
  box-sizing: border-box;
}
.shop-thumbnail.no-image {
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  box-sizing: border-box;
}
a:has(.shop-thumbnail.no-image){
  cursor: auto;
}
.shop-title-center {
  color: #000000;
  margin: 0;
  font-size: 1em;
  line-height: 1.2;
  text-align: center;
  font-weight: bold;
}
/* --- 配置図 & 詳細ループエリア --- */
.shoplayout-container {
  margin-bottom: 60px;
  text-align: center;
}
.shoplayout-main-img {
  max-width: 100%;
  height: auto;
}
.shop-details-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.shop-details-main-title {
  grid-column: 1 / -1;
  margin-top: 0;
  margin-bottom: 20px;
  text-align: center;
}
.shop-detail-box {
  position: relative;
  border: 1px solid #333333;
  border-radius: 0;
  padding: 12px;
  background-color: #ffffff;
  box-sizing: border-box;
	text-align:left;
}
.shop-detail-title {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.1em;
  line-height: 1.3;
  display: block;
}
.shop-number {
  position: absolute;
  top: 0;
  right: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: #005528;
  color: #ffffff;
  font-size: 15px;
  font-weight: bold;
  line-height: 1;
}
.shop-content {
  margin-bottom: 15px;
  font-size: 0.95em;
  line-height: 1.6;
}
.shop-acf-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.acf-image-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  vertical-align: bottom;
}
.image-caption {
  margin-top: 5px;
  font-size: 0.8em;
  color: #666;
  line-height: 1.4;
}
/* =========================================
   スライドショー
   ========================================= */
#mainimg {
  width: 100%;
  position: relative;
}
#mainimg .inner {
  width: 45vw;
}
@media screen and (max-width: 767px) {
  #mainimg .inner {
    width: 80vw;
  }
}
.slide {
  width: 100%;
  padding: 5vw;
  display: flex;
  align-items: center;
  opacity: 0;
}
.slide2 {
  background: url('images/bg-hed02.jpg') no-repeat center center / cover;
}
@media screen and (max-width: 1024px) {
  .slide2 {
    padding: 100px 5vw 10vw;
  }
}
.slide1 {
  padding-bottom: 7vw;
  background: url('images/bg-hed01.jpg') no-repeat center center / cover;
  justify-content: center;
  text-align: center;
}
#mainimg h1 {
  margin: 0;
  padding: 0;
  font-size: 6vw;
  line-height: 1.5;
  font-weight: 500;
  text-shadow: 2px 2px 0 #fff, -2px 2px 0 #fff, 1px -1px 0 #fff, -1px -1px 0 #fff;
}
#mainimg p {
  font-size: 2.2vw;
  padding-left: 0.5rem;
  text-shadow: 1px 1px 0 #fff, -1px 1px 0 #fff, 1px -1px 0 #fff, -1px -1px 0 #fff;
}
@media screen and (max-width: 767px) {
  #mainimg p {
    font-size: 5vw;
    font-weight: 500;
  }
}
/* =========================================
   コンポーネント
   ========================================= */
/* --- リストグリッド --- */
.list-grid1 {
  display: grid;
  color: var(--text-color);
}
.list-grid1 .list {
  display: grid;
  padding: 1rem;
  background: #fff;
  grid-template-rows: auto 1fr;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.1);
}
.list-grid1 .list * {
  margin: 0;
  padding: 0;
}
.list-grid1 .list p {
  font-size: 0.85rem;
}
.list-grid1 .list figure img {
  margin-bottom: 0.5rem;
}
@media screen and (min-width: 500px) {
  .list-grid1 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}
@media screen and (min-width: 800px) {
  .list-grid1 {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}
/* --- ボタン --- */
.btn a, .btn-border-radius a {
  display: block;
  text-decoration: none;
  font-size: 1.4rem;
  text-align: center;
  background: #006400 !important;
  color: #fff !important;
  padding: 0.5rem !important;
  margin-top: 1rem !important;
}
.btn a:hover, .btn-border-radius a:hover {
  filter: brightness(2.2);
}
.btn-border-radius a {
  display: inline-block;
  padding: 0.5rem 2rem !important;
  border-radius: 100px;
}
/* --- 背景装飾 (.bg1) --- */
.bg1 {
  position: relative;
  background: var(--primary-color);
  color: var(--primary-inverse-color);
  padding-top: 5vw;
  padding-bottom: 5vw;
  margin-bottom: 10vw;
  margin-left: calc(-1 * var(--global-space));
  margin-right: calc(-1 * var(--global-space));
  padding-left: var(--global-space);
  padding-right: var(--global-space);
}
.bg1 a {
  color: inherit;
}
.bg1::before, .bg1::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: calc(5vw + 1px);
  background: var(--primary-color);
}
.bg1::before {
  top: -5vw;
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}
.bg1::after {
  bottom: -5vw;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
/* =========================================
   ユーティリティクラス
   ========================================= */
.fade-in-text {
  visibility: hidden;
}
.char {
  display: inline-block;
  opacity: 0;
  animation: fadeIn 0.05s linear both;
}
.pagetop-show {
  display: block;
}
.pagetop a {
  display: block;
  text-decoration: none;
  text-align: center;
  z-index: 99;
  position: fixed;
  right: 20px;
  bottom: 20px;
  color: #fff;
  font-size: 1.5rem;
  background: rgba(0, 0, 0, 0.2);
  width: 60px;
  line-height: 60px;
  border-radius: 50%;
}
.clearfix::after {
  content: "";
  display: block;
  clear: both;
}
.color-check, .color-check a {
  color: #ff0000 !important;
}
.l {
  text-align: left !important;
}
.c {
  text-align: center !important;
}
.r {
  text-align: right !important;
}
.ws, .wl {
  width: 95%;
  display: block;
}
.mb0 {
  margin-bottom: 0px !important;
}
.mb30 {
  margin-bottom: 30px !important;
}
.look {
  display: inline-block;
  padding: 0px 10px;
  background: #eee;
  color: #333;
  border: 1px solid #ccc;
  border-radius: 3px;
  margin: 5px 0;
  word-break: break-all;
}
.small {
  font-size: 0.75em;
}
.large {
  font-size: 2em;
  letter-spacing: 0.1em;
}
.pc {
  display: none;
}
.dn {
  display: none !important;
}
.block {
  display: block !important;
}
/* =========================================
   フッター
   ========================================= */
footer {
  font-size: 0.7rem;
  text-align: center;
  padding: 20px;
}
footer small {
  font-size: 100%;
}
footer a {
  color: inherit;
  text-decoration: none;
}
footer .pr {
  display: block;
}
/* =========================================
   全体のレスポンシブ調整
   ========================================= */
@media screen and (min-width: 900px) {
  .ws {
    width: 48%;
    display: inline;
  }
  .sh {
    display: none;
  }
  .pc {
    display: block;
  }
}
@media (max-width: 1024px) {
  .top-layout-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .shop-grid-container {
    grid-template-columns: repeat(3, 1fr);
  }
  .shop-title-overlay, .shop-title-center {
    font-size: 0.95em;
  }
  .shop-details-container {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .top-layout-images {
    grid-template-columns: 1fr;
  }
  .shop-title-overlay, .shop-title-center {
    font-size: 0.8em;
  }
  .shop-details-container {
    grid-template-columns: 1fr;
  }
  .hidden-mobile, .sp-br {
    display: none !important;
  }
}