@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/


/* =========================
  　   全体設定
========================= */
body {
    margin: 0;
    font-family: 'Georgia', serif;
    font-size: 15px;
    line-height: 1.5;
    color: #000;
}

/* =================
     イントロ
==================== */
.intro {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100svh;
  background: #fff;
  z-index: 9999;
  animation: introFade 4s ease-out forwards;
}

/* ロゴ */
.intro img {
  width: 400px;
  max-width: 80%;
  display: block;
  animation: logoFade 4s ease-out forwards;
}

/* figureを中央に */
.intro figure {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); 
  margin: 0;
  padding: 0;
  line-height: 0;
}

@supports (-webkit-touch-callout: none) {
  .intro figure {
    transform: translate(-50%, -50%) scale(0.8) !important;
  }
}

/* ロゴだけ少し遅れて消える */
@keyframes logoFade {
  0% { opacity: 1; transform: scale(1); }
  60% { opacity: 1; transform: scale(1.02); }
  100% { opacity: 0; transform: scale(1.05); }
}

/* 背景ごとふわっと消える */
@keyframes introFade {
  0% { opacity: 1; }
  70% { opacity: 1; }
  100% { opacity: 0; visibility: hidden; }
}

/* 最初はヘッダー隠す */
.l-header {
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease;
}

/* イントロ終わったら表示 */
body.intro-done .l-header {
  opacity: 1;
  pointer-events: auto;
}

/* トップページの上余白を完全削除 */
.home #content {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* ヘッダーのロゴとナビを完全非表示 */
.c-headLogo,
.c-headLogo__link,
.c-gnav {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* 初回はロゴとメニュー隠す */
body:not(.intro-done) .hero-logo,
body:not(.intro-done) .hero-menu {
  opacity: 0;
}

body.intro-done .hero-logo,
body.intro-done .hero-menu {
  opacity: 1;
  transition: none; /* ← アニメーション消す */
}

body.intro-done .hero-logo {
  transition: none;
}

/* =========================
 　トップ　スライダー
========================= */
/* スライダー全体 */
.slider {
  position: relative;
  width: 100vw; 
  height: 100vh;
  overflow: hidden;
  margin-left: calc(50% - 50vw);
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease;
}

.slide.active {
  opacity: 1;
  z-index: 1;
  transform: scale(1);
}

/* ロゴ */
.hero-logo {
  position: absolute;
  top: 5% !important;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  margin: 0;
}

/* ロゴサイズ強制指定 */
.hero-logo img {
  width: 150px !important;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.7));
}

/* ===== ロゴアニメーション ===== */

/* 初期状態（非表示） */
.hero-logo {
  opacity: 0;
  transform: translate(-50%, 20px); /* ←XとY両方指定が重要 */
  transition: all 1.2s ease;
}

/* 表示 */
body.intro-done .hero-logo {
  opacity: 1;
  transform: translate(-50%, 0);
  transition-delay: 0.3s;
}

/* ナビ */
.hero-menu {
  position: absolute;
  top: calc(15% + 10px); 
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 30px;
  z-index: 10;
}

.hero-menu a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;	
  text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}

/* ===== ナビアニメーション ===== */

.hero-menu {
  opacity: 0;
  transform: translate(-50%, 20px);
  transition: all 1.2s ease;
}

body.intro-done .hero-menu {
  opacity: 1;
  transform: translate(-50%, 0);
  transition-delay: 0.6s;
}

/* 親の制限を無効化 */
.post_content,
.l-content,
.l-main {
  overflow: visible !important;
}

/* SWELLのスライダー消す */
#post_slider {
  display: none !important;
}

/* ============================
 　トップ　スライダー　スマホ
============================ */
@media (max-width: 768px) {

  .slide1 {
    background-image: url("http://miyamoto3838.pya.jp/barber/wp-content/uploads/2026/03/sp_slide_1.webp") !important;
  }

  .slide2 {
    background-image: url("http://miyamoto3838.pya.jp/barber/wp-content/uploads/2026/03/sp_slide_2.webp") !important;
  }

  .slide3 {
    background-image: url("http://miyamoto3838.pya.jp/barber/wp-content/uploads/2026/03/sp_slide_3.webp") !important;
  }

  .slide4 {
    background-image: url("http://miyamoto3838.pya.jp/barber/wp-content/uploads/2026/03/sp_slide_4.webp") !important;
  }

  .hero-menu {
    display: none !important;
  }	
	
	

}

/* ======================
   ABOUTセクション
====================== */
.about-section {
  text-align: center;
  padding: 80px 20px;
  max-width: 700px;
  margin: 0 auto;
}

.about-section p {
  color: #333;
}

.about-section h2 {
  font-size: 24px;
  margin-bottom: 40px;
  position: relative;
  color: #222 !important;
  opacity: 1 !important;
}

/* 下線 */
.about-section h2::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: #c89b6d;
  margin: 10px auto 0;
}

/* 本文 */
.about-container {
    text-align: center;
    line-height: 1.5;
    color: #333;
    padding: 20px 0;
}

.about-main-text {
	margin-bottom: 20px;
}

/* 中段の詳細セクション */
.about-details {
    margin-bottom: 30px;
}

.about-details p {
    margin-bottom: 16px;
}

/* メッセージセクション */
.about-message {
    margin-bottom: 20px;
}

.about-message p {
  margin-bottom: 16px;
}

.about-last {
  margin-top: 40px;
}

.about-container {
  opacity: 0;
  filter: blur(6px);
  transition: opacity 1.2s ease, filter 1.2s ease;
}

.about-container.is-show {
  opacity: 1;
  filter: blur(0);
}

/* PCでは改行を無効化 */
.sp-only {
    display: none;
}

/* ======================
 ABOUTセクション スマホ
====================== */
@media (max-width: 768px) {

/* 全体 */
.about-container {
  font-size: 14px;
  line-height: 2.1;
  letter-spacing: 0.05em;
}

/* 本文共通 */
.about-text,
.about-details p,
.about-message p {
  text-align: center;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* セクション間の余白（←超重要） */
.about-text {
  margin-bottom: 2.5em;
}

.about-details {
  margin-bottom: 3em;
}

.about-message {
  margin-bottom: 2em;
}

/* 1行ごとの余白 */
.about-details p {
  margin: 0.8em 0;
}

/* 長文（読みやすさ少し調整） */
.about-message p {
  line-height: 2.2;
}
	
.about-last {
  margin-top: 20px;
}	
	
.pc-only {
    display: none;
}	

}

/* ======================
   MENUセクション
====================== */
.menu-section {
  text-align: center;
  padding: 80px 20px;
  background-color: #f4f2f0;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* 見出し */
.menu-section h2 {
  font-size: 24px;
  margin-bottom: 40px;
}

/* 下線 */
.menu-section h2::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: #d19f68;
  margin: 6px auto 0;
}

/* スマホだけ改行 */
.sp-only {
  display: none;
}

/* ======================
   MENUセクション スマホ
========================= */
@media (max-width: 768px) {

.menu-section p {
    text-align: left;
    max-width: 320px;
    margin: 0 auto 10px;
  }

.sp-only {
    display: inline;
  }

/* メニュー間の余白 */
.menu-gap {
  display: block;
  height: 10px;
}

}

/* ======================
       3カラム
====================== */
/* 全体ラッパー（横幅いっぱい＋左右余白） */
.top-links {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
  max-width: 100vw;
  padding: 120px clamp(40px, 8vw, 100px) 0;
}

/* カラム全体（均等配置） */
.top-links .wp-block-swell-block-columns,
.top-links .wp-block-columns {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  max-width: none !important;
}

/* 各カラム（完全均等） */
.top-links .wp-block-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 見出し */
.top-links h2 {
  text-align: left;
  width: 320px;
  position: relative;
  padding-bottom: 10px;
  margin: 0 auto 20px;
}

/* 下線は main にだけ付ける */
.top-links h2 .main {
  position: relative;
  display: inline-block;
}

.top-links h2 {
  position: relative;
}

/* 下線 */
.top-links h2 .main::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -5px;
  width: 40px;
  height: 2px;
  background: #c89b6d;
}

/* サブタイトル */
.top-links h2 .sub {
  font-size: 11px;
  color: #777;
  margin-left: 10px;
  letter-spacing: 1px;
}

/* 画像（統一サイズ＋中央） */
.top-links .wp-block-image img {
  width: 100%;
  max-width: 320px;
  height: 260px;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

.top-links .wp-block-button a {
  background: #d19f68;
  color: #000;
  padding: 12px 28px;
  text-decoration: none;
  font-weight: bold;
  letter-spacing: 1px;
  transition: 0.3s;
}

.top-links .wp-block-button a:hover {
  opacity: 0.8;
}

/* =========================
     MOREボタン
========================= */
.more-btn {
  display: block;
  margin-top: 30px;
  padding: 10px 20px;
  background: #d19f68;
  color: #000;
  font-weight: 700;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
  position: relative;
  width: fit-content;
  margin: 30px auto 0;
}

/* ホバー */
.more-btn:hover {
  background: #000;
  color: #fff;
  transform: translateY(-3px);
}

.more-btn:hover::after {
  transform: translate(0, 0);
}

/* ======================
     3カラム スマホ
====================== */

@media (max-width: 768px) {
  .top-links {
    padding: 60px 20px 0;
  }

  .top-links .swl-has-mb--s {
    margin-bottom: 0 !important;
  }

  .top-links .swell-block-column {
    padding-bottom: 60px;
  }

  .top-links .swell-block-column:last-child {
    padding-bottom: 0;
  }
		
}

/* =====================
 ハンバーガー3本線
======================== */
@media (max-width: 959px) {
.sub-header { display: none !important; } 
	  
/* ハンバーガーメニュー内 ロゴ画像 */
.p-spMenu li:first-child img {
  width: 140px;
  margin: 20px auto;
  display: block;
}
	
/* ロゴ上のネイビーライン削除 */
.c-widget__title.-spmenu {
  background: none !important;
}

/* 矢印を消す */
.p-spMenu a::before {
  display: none !important;
}
	
/* メニュー背景 */
.p-spMenu__body {
  background: #111 !important;
}

/* メニュー全体中央寄せ */
.p-spMenu__nav {
  text-align: center;
  margin-top: 60px;
}

/* 各メニュー */
.p-spMenu a {
  color: #fff !important;
  font-size: 18px;
  letter-spacing: 3px;
  padding: 15px 0;
  display: block; 
}

/* ハンバーガーメニューの下線を消す */
.c-spnav a {
  border-bottom: none !important;
}
	
/* ロゴを上に寄せる */
.p-spMenu li:first-child a {
  margin-top: -80px !important;
}
	
/* メニュー内の日本語を小さく（強制） */
.l-sidebar a {
  font-size: 18px;
}

.l-sidebar a {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
}

/* 2つ目の要素（日本語）を小さく */
.l-sidebar a span,
.l-sidebar a br + * {
  font-size: 10px !important;
  color: #aaa;
}
	
}

/* ======================
    ACCESSページ
====================== */
/* ヘッダーの余白を消す */
html body.page-id-240 {
  padding-top: 0 !important;
}

.page-id-240 #content,
.page-id-240 #main,
.page-id-240 .l-main,
.page-id-240 .l-mainContent,
.page-id-240 .post_content,
.page-id-240 .l-container,
.page-id-240 .is-style-fullwidth {
  margin-top: 0 !important;
  padding-top: 0 !important;
  border-top: none !important;
}

/* SWELLの動的余白計算を完全に無効化 */
.page-id-240 {
  --swl-header_height: 0px !important;
  --swl-header_height_mobile: 0px !important;
}

/* 不要な標準要素を完全に排除 */
.page-id-240 .c-pageTitle,
.page-id-240 .p-breadcrumb {
  display: none !important;
}

/* 【PC】自作ヘッダー */
@media (min-width: 960px) {
  /* 標準ヘッダーを透明化 */
  .page-id-240 #header {
    display: none !important; /* PCは自作するので完全に消してOK */
  }

  .sub-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding-top: 40px;
  }

  .sub-header-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .sub-logo img {
    width: 150px;
    margin-bottom: 25px;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.7));
  }

  .sub-nav {
    display: flex;
    gap: 30px;
  }

  .sub-nav a {
    color: #fff !important;
    text-decoration: none;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
  }
	
}


/* ======================
    ACCESSヒーロー
====================== */
.page-id-240 .access-hero {
  width: 100%;
  height: 450px;
  background: url("http://miyamoto3838.pya.jp/barber/wp-content/uploads/2026/03/access_top.webp") center center / cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0 !important;
}

/* 黒フィルター */
.page-id-240 .access-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.2);
}

/* 中央配置 */
.page-id-240 .access-hero-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 100px;
}

/* タイトル */
.page-id-240 .access-hero-title {
  color: #fff;
  font-size: 40px;
  font-family: "Times New Roman", serif;
  z-index: 2;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

/* ======================
     SHOP SECTION
====================== */
.page-id-240 .shop-section {
  max-width: 1100px;
  padding: 0 20px;
  margin: 60px auto;
}

.page-id-240 .shopinfo {
  display: flex;
  align-items: flex-start;
  gap: 150px;
  width: 100%;
}

/* ======================
  左側：タイトルと画像
====================== */
.page-id-240 .shop-title {
  display: flex;
  align-items: center;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 30px !important;
  border-left: 8px solid #d19f68;
  padding-left: 4px;
}

.page-id-240 .shop-image {
  flex-shrink: 0;
}

.page-id-240 .shop-image img {
  width: 420px;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ======================
  右側：テーブルとボタン
====================== */
.page-id-240 .shopinfo-detail {
  flex: 1;
  max-width: 700px;
}

.page-id-240 .shopinfo table {
  width: 100%;
  border-collapse: collapse;
  border: none !important;
}

.page-id-240 .shopinfo tr {
  border: none !important;
}

.page-id-240 .shopinfo th,
.page-id-240 .shopinfo td {
  padding: 20px 0;
  border: none !important;
  border-bottom: 1px solid #ddd !important;
  background: transparent !important;
  text-align: left;
  vertical-align: middle;
}

.page-id-240 .shopinfo th {
  width: 130px;
  font-size: 15px;
  padding-right: 30px;
}

.page-id-240 .info_reservation p {
  font-weight: bold;
}

.page-id-240 .info_reservation {
  margin-top: 30px;
}

.page-id-240 .resvation_wrap {
  display: flex;
  gap: 30px;
  margin-top: 15px;
}

.page-id-240 .resvation_wrap a {
  display: inline-block;
  padding: 12px 15px;
  background-color: #d19f68;
  color: #000;
  text-decoration: none;
  font-weight: bold;
  font-size: 13px;
  transition: opacity 0.3s;
}

.page-id-240 .resvation_wrap a:hover {
  background: #000;
  color: #fff;
}

/* ======================
     地図
====================== */
.page-id-240 .access-section {
  max-width: 1100px;
  margin: 120px auto 100px; /* ←中央＋余白 */
  padding: 0 20px;
　margin-bottom: 0 !important;
}

/* タイトル */
.page-id-240 .access-title {
  display: flex;
  align-items: center;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 30px !important;
  border-left: 8px solid #d19f68;
  padding-left: 4px;
}

.page-id-240 .post_content h2.access-title {
  margin-bottom: 30px !important;
}

/* 地図ラッパー */
.page-id-240 .map {
  width: 100%;
  margin-bottom: 100px;
}

/* 地図本体 */
.page-id-240 .map iframe {
  width: 100%;
  max-width: 1100px; /* ←中央に揃えるため重要 */
  height: 500px;
  display: block;
  margin: 0 auto;
  border: none;
  filter: grayscale(100%) contrast(95%) brightness(95%);
}

/* ======================
  ACCESSページ スマホ
====================== */
@media (max-width: 768px) {	
  /* ヒーロー全体 */
  .page-id-240 .access-hero-inner {
    padding-top: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
  }

  /* タイトル */
  .page-id-240 .access-hero-title {
    font-size: 28px;
    text-align: center;
    margin: 0 auto;
  }
	
.page-id-240 .access-hero {
  display: flex;
  align-items: center;
  height: 350px;
}
		
/* ======================
     セクション全体
  ====================== */
  .page-id-240 .shop-section {
    padding: 0 20px;
    margin: 40px 0;
  }

  /* ======================
     全体中央寄せ
  ====================== */
  .page-id-240 .shopinfo {
    align-items: center;
    text-align: center;
  }	

  /* ======================
     タイトル
  ====================== */
  .page-id-240 .shop-title {
    font-size: 20px;
    margin-bottom: 20px !important;
  }

  .page-id-240 .shop-bar {
    height: 20px;
  }

  /* ======================
     レイアウト縦並び
  ====================== */
  .page-id-240 .shopinfo {
    flex-direction: column; /* ←これが一番重要 */
    gap: 30px;
  }

  /* ======================
     画像
  ====================== */
  .page-id-240 .shop-image img {
    width: 100%;
    max-width: 100%;
  }

  /* ======================
     右側情報
  ====================== */
  .page-id-240 .shopinfo-detail {
    max-width: 100%;
  }

  /* ======================
     テーブル
  ====================== */
  .page-id-240 .shopinfo th,
  .page-id-240 .shopinfo td {
    display: block;
    width: 100%;
  }

  .page-id-240 .shopinfo th {
    font-size: 13px;
    margin-top: 10px;
  }

  .page-id-240 .shopinfo td {
    font-size: 14px;
    margin-bottom: 10px;
  }

  /* ======================
     完全予約制
  ====================== */
  .page-id-240 .info_reservation p {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
  }
	
/* 完全予約制 */
  .page-id-240 .info_reservation {
    text-align: center;
	 max-width: 300px;
  }
	
  /* ======================
     ボタン
  ====================== */
  .page-id-240 .resvation_wrap {
    flex-direction: column;
    gap: 12px;
	align-items: center; 
  }

  .page-id-240 .resvation_wrap a {
    width: 90%;
	max-width: 300px; 
    text-align: center;
    padding: 8px;
    font-size: 13px;
	white-space: nowrap;
  }
	
  /* ======================
     ACCESSセクション全体
  ====================== */
  .page-id-240 .access-section {
    padding: 0 20px;
    margin: 60px 0;
    text-align: center;
  }

  /* ======================
     タイトル
  ====================== */
  .page-id-240 .access-title {
    font-size: 22px;
    margin-bottom: 20px !important;
  }

  /* 棒も中央寄せ */
  .page-id-240 .access-title::before,
  .page-id-240 .access-bar {
    margin: 0 auto 10px;
  }

  /* ======================
     地図
  ====================== */
  .page-id-240 .map {
    margin-top: 20px;
  }

  .page-id-240 .map iframe {
    width: 100%;
    height: 300px; /* ←スマホちょうどいい高さ */
    border-radius: 6px;
  }

}

/* ======================
   PRODUCTページ
====================== */
/* ヘッダー余白削除 */
html body.page-id-279 {
  padding-top: 0 !important;
}

.page-id-279 #content,
.page-id-279 #main,
.page-id-279 .l-main,
.page-id-279 .l-mainContent,
.page-id-279 .post_content,
.page-id-279 .l-container,
.page-id-279 .is-style-fullwidth {
  margin-top: 0 !important;
  padding-top: 0 !important;
  border-top: none !important;
}

/* SWELL余白リセット */
.page-id-279 {
  --swl-header_height: 0px !important;
  --swl-header_height_mobile: 0px !important;
}

/* タイトル・パンくず削除 */
.page-id-279 .c-pageTitle,
.page-id-279 .p-breadcrumb {
  display: none !important;
}

/* ======================
   PCヘッダー
====================== */
@media (min-width: 960px) {

  .page-id-279 #header {
    display: none !important;
  }

  .page-id-279 .sub-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding-top: 40px;
  }

  .page-id-279 .sub-header-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .page-id-279 .sub-logo img {
    width: 150px;
    margin-bottom: 25px;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.7));
  }

  .page-id-279 .sub-nav {
    display: flex;
    gap: 30px;
  }

  .page-id-279 .sub-nav a {
    color: #fff !important;
    text-decoration: none;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
  }
}

/* ======================
    PRODUCTヒーロー
====================== */
.page-id-279 .product-hero {
  width: 100%;
  height: 450px;
  background: url("http://miyamoto3838.pya.jp/barber/wp-content/uploads/2026/04/product_top2.webp") center center / cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 黒フィルター */
.page-id-279 .product-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.15);
}

/* 中央配置 */
.page-id-279 .product-hero-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 100px;
}

/* タイトル */
.page-id-279 .product-hero-title {
  color: #fff;
  font-size: 40px;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

/* ======================
   PRODUCT コンテンツ
====================== */
/* 共通設定 */
.page-id-279 .bland_wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1000px;
  margin: 100px auto;
  padding: 0 20px;
  opacity: 0;
  filter: blur(6px);
  transition: opacity 2s ease, filter 2s ease;
}

.page-id-279 .bland_wrap.show {
  opacity: 1;
  filter: blur(0);
}

/* 共通のリンクデザイン */
.page-id-279 .bland_wrap a {
  color: #000;
  text-decoration: none;
  border-bottom: 1px solid #000;
  font-size: 14px;
  font-weight: bold;
}

.page-id-279 .footer-copy {
  margin-top: 0 !important;
}	

/* ==========================================
  PC版（960px以上）：画像(左)・テキスト(右)
========================================== */
@media (min-width: 960px) {
  /* PCでは外に出したスマホ用タイトルを隠す */
  .page-id-279 .sp-title {
    display: none !important;
  }

  /* PC用タイトルのデザイン */
  .page-id-279 .pc-title {
    display: inline-block !important;
    font-size: 26px;
    font-weight: 600;
    border-bottom: 2px solid #d19f68;
    padding-bottom: 6px;
    margin-bottom: 20px;
  }

  /* 画像(左側) */
  .page-id-279 .bland_img {
    width: 300px !important;
    flex-shrink: 0;
  }

  .page-id-279 .bland_img img {
    width: 100%;
    transform: rotate(-1deg); /* PC特有の斜め */
  }

  /* テキスト(右側) */
  .page-id-279 .bland_text {
    flex: 1;
    padding-left: 60px;
  }
	
/* 説明文 */
.page-id-279 .bland_text p {
  margin-bottom: 20px;
}
	
/* 最後の文章 */
.page-id-279 p:last-child {
  text-align: center;
  margin-top: 80px;
}
	
}

/* ==========================
  PRODUCTページ　スマホ
============================= */
@media (max-width: 768px) {	
.page-id-279 .product-hero-inner {
  padding-top: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.page-id-279 .product-hero-title {
    font-size: 28px;
    text-align: center;
    margin: 0 auto;
  }
	
.page-id-279 .product-hero {
  display: flex;
  align-items: center;
  height: 350px;
}
				
.page-id-279 .bland_wrap {
    flex-direction: column !important;
    align-items: center; 
    margin: 100px auto;
  }

  /* ①スマホ用タイトル */
  .page-id-279 .sp-title {
    display: table !important;
    margin: 0 auto 25px auto !important;
    font-size: 22px;
    font-weight: bold;
    border-bottom: 2px solid #d19f68;
    padding-bottom: 8px;
    text-align: center;
  }

  /* ②画像：中央揃え */
  .page-id-279 .bland_img {
    width: 100% !important;
    text-align: center;
    margin-bottom: 30px;
  }

  .page-id-279 .bland_img img {
    width: 260px;
    margin: 0 auto;
    transform: none;
  }
	
  .page-id-279 .bland_text {
    width: 100%;
    box-sizing: border-box;
    text-align: left;
  }

  .page-id-279 .bland_text p {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: left;
  }

  /* 「公式サイトを見る」リンクを左寄せに */
  .page-id-279 .bland_text a {
    display: inline-block;
    margin: 0;
    text-align: left;
  }
	
.page-id-279 .product-note {
    padding: 0 25px !important;
    margin: 60px auto !important;
    text-align: left !important;
    font-size: 14px;
    line-height: 1.6;
    box-sizing: border-box;
  }
	
.page-id-279 .pc-title {
	display: none;
 }	
}

/* ======================
    RESERVATIONページ
====================== */
/* ヘッダー余白削除 */
html body.page-id-306 {
  padding-top: 0 !important;
}

.page-id-306 #content,
.page-id-306 #main,
.page-id-306 .l-main,
.page-id-306 .l-mainContent,
.page-id-306 .post_content,
.page-id-306 .l-container,
.page-id-306 .is-style-fullwidth {
  margin-top: 0 !important;
  padding-top: 0 !important;
  border-top: none !important;
}

/* SWELL余白リセット */
.page-id-306 {
  --swl-header_height: 0px !important;
  --swl-header_height_mobile: 0px !important;
}

/* 不要要素削除 */
.page-id-306 .c-pageTitle,
.page-id-306 .p-breadcrumb {
  display: none !important;
}


/* ======================
   PCヘッダー
====================== */
@media (min-width: 960px) {

  .page-id-306 #header {
    display: none !important;
  }

  .page-id-306 .sub-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding-top: 40px;
  }

  .page-id-306 .sub-header-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .page-id-306 .sub-logo img {
    width: 150px;
    margin-bottom: 25px;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.7));
  }

  .page-id-306 .sub-nav {
    display: flex;
    gap: 30px;
  }

  .page-id-306 .sub-nav a {
    color: #fff !important;
    text-decoration: none;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
  }
}

/* ======================
   ヒーロー
====================== */
.page-id-306 .reservation-hero {
  width: 100%;
  height: 450px;
  background: url("http://miyamoto3838.pya.jp/barber/wp-content/uploads/2026/04/reservation_top.webp") center bottom / cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0 !important;
}

/* 黒フィルター */
.page-id-306 .reservation-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.2);
}

/* 中央配置 */
.page-id-306 .reservation-hero-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 100px;
}

/* タイトル */
.page-id-306 .reservation-hero-title {
  color: #fff;
  font-size: 40px;
  font-family: "Times New Roman", serif;
  z-index: 2;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.page-id-306 .wpcf7 p:has(.wpcf7-submit) {
  margin-bottom: 0 !important;
}

.page-id-306 .line-btn-wrap {
  text-align: center;
  margin-top: 20px;
}

.page-id-306 .line-btn {
  display: inline-block;
  background: #d19f68;
  color: #000;
  padding: 14px 40px;
  font-size: 14px;
  text-decoration: none;
  border-radius: 2px;
  transition: 0.3s;
  letter-spacing: 0.05em;
}

.page-id-306 .line-btn:hover {
  background: #000;
  color: #fff;
}

.page-id-306 .or-text {
  font-size: 12px;
  color: #999;
  text-align: center;
}

/* ==========================
  RESERVATIONページ　スマホ
============================= */
@media (max-width: 768px) {
.page-id-306 .reservation-hero-inner {
  padding-top: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.page-id-306 .reservation-hero-title {
    font-size: 28px;
    text-align: center;
    margin: 0 auto;
  }

.page-id-306 .reservation-hero {
  display: flex;
  align-items: center;
  height: 350px;
}	

}

/* ======================
  お問い合わせフォーム
======================== */
/* 全体 */
.page-id-306 .wpcf7 {
  max-width: 520px;
  margin: 0 auto;
  padding: 0 20px; 
}

/* テキスト本体 */
.page-id-306 .reservation-lead {
  display: inline-block;
  margin: 0 auto;
  font-size: 13px;
  color: #d19f68;
  font-weight: bold;
  letter-spacing: 0.1em;
  position: relative;
  margin: 0 auto;
}

.page-id-306 .reservation-lead-wrap {
  text-align: center !important;
  margin-top: 80px !important;
}

/* 下線 */
.reservation-lead::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 1px;
  background: #d19f68;
  transition: width 0.8s ease;
}

/* 表示時に伸びる */
.reservation-lead.is-active::after {
  width: 100%;
}

/* タイトル */
.page-id-306 h2 {
  font-size: 20px;
  letter-spacing: 0.15em;
  text-decoration: underline;
  text-align: center;
  margin-bottom: 50px;
}

/* ラベル */
.page-id-306 .wpcf7 p {	
  margin: 0 0 24px;
  font-size: 13px;
  letter-spacing: 0.05em;
}

.page-id-306 .date-block p {
  margin-bottom: 8px;
}

.page-id-306 .date-block p:first-child {
  margin-bottom: 2px;
}

.page-id-306 .date-block {
  margin-bottom: 24px;
}

/* 入力欄 */
.page-id-306 input,
.page-id-306 textarea,
.page-id-306 select {
  width: 100%;
  padding: 12px 10px;
  border: none;
  border-bottom: 1px solid #ccc;
  background: transparent;
  font-size: 14px;
  outline: none;
}

/* フォーカス時 */
.page-id-306 input:focus,
.page-id-306 textarea:focus,
.page-id-306 select:focus {
  border-bottom: 1px solid #000;
}

/* テキストエリア */
.page-id-306 textarea {
  height: 60px !important;
}

/* 送信ボタン */
.page-id-306 .wpcf7-submit {
  width: 200px;
  margin: 40px auto 0;
  display: block;
  background: #000;
  color: #fff;
  padding: 12px;
  border: none;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: 0.3s;
	margin: 0 auto 0 !important;
}

/* hover */
.page-id-306 .wpcf7-submit:hover {
  background: #333;
}

.page-id-306 .form-note {
  text-align: center;
  font-size: 12px;
  color: #777;
  line-height: 1.8;
}

/* 承諾確認（acceptance）の枠を横並びにする */
.page-id-306 .wpcf7-acceptance {
  display: flex !important;
  justify-content: center; /* 中央寄せにする場合 */
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

/* ラベル内の余計な改行を防ぐ */
.page-id-306 .wpcf7-acceptance .wpcf7-list-item-label {
  display: inline-block;
  white-space: nowrap; /* 折り返し禁止 */
  line-height: 1;
  margin: 0;
}

/* チェックボックス自体の余白をリセット */
.page-id-306 .wpcf7-acceptance input[type="checkbox"] {
  width: auto !important; /* 横幅いっぱいを解除 */
  margin: 0 !important;
  cursor: pointer;
}

.page-id-306 .wpcf7-form-control-wrap[data-name="privacy"] {
  display: block;
  text-align: center;
}

/* ===========================
  お問い合わせフォーム スマホ
============================= */
@media (max-width: 768px) {	
.page-id-306 .form-note {
/* 	border: 3px solid #f00; */
  margin: 0 20px;
  text-align: left;
}
		
}	
	
/* ======================
    POLICYページ
====================== */
/* ヘッダー余白削除 */
html body.page-id-333 {
  padding-top: 0 !important;
}

.page-id-333 #content,
.page-id-333 #main,
.page-id-333 .l-main,
.page-id-333 .l-mainContent,
.page-id-333 .post_content,
.page-id-333 .l-container,
.page-id-333 .is-style-fullwidth {
  margin-top: 0 !important;
  padding-top: 0 !important;
  border-top: none !important;
}

/* SWELL余白リセット */
.page-id-333 {
  --swl-header_height: 0px !important;
  --swl-header_height_mobile: 0px !important;
}

/* 不要要素削除 */
.page-id-333 .c-pageTitle,
.page-id-333 .p-breadcrumb {
  display: none !important;
}


/* ======================
   PCヘッダー
====================== */
@media (min-width: 960px) {

  .page-id-333 #header {
    display: none !important;
  }

  .page-id-333 .sub-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding-top: 40px;
  }

  .page-id-333 .sub-header-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .page-id-333 .sub-logo img {
    width: 150px;
    margin-bottom: 25px;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.7));
  }

  .page-id-333 .sub-nav {
    display: flex;
    gap: 30px;
  }

  .page-id-333 .sub-nav a {
    color: #fff !important;
    text-decoration: none;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
  }
}

/* ======================
   ヒーロー
====================== */
.page-id-333 .policy-hero {
  width: 100%;
  height: 450px;
  background: url("http://miyamoto3838.pya.jp/barber/wp-content/uploads/2026/04/policy_top.webp") center center / cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0 !important;
}

/* 黒フィルター */
.page-id-333 .policy-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.2);
}

/* 中央配置 */
.page-id-333 .policy-hero-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 100px;
}

/* タイトル */
.page-id-333 .policy-hero-title {
  color: #fff;
  font-size: 40px;
  font-family: "Times New Roman", serif;
  z-index: 2;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

/* ======================
  POLICY 本文デザイン
====================== */
.page-id-333 .post_content {
  max-width: 800px;
  margin: 80px auto;
  padding: 0 20px;
  line-height: 2;
  font-size: 15px;
  color: #333;
}

/* メインタイトル */
.page-id-333 .post_content h2 {
  font-size: 24px;
  margin-bottom: 30px;
  letter-spacing: 0.08em;
  font-weight: 600;
  text-align: left;
  margin-top: 80px !important;
}

/* セクションタイトル（1.とか） */
.page-id-333 .post_content h3 {
  font-size: 18px;
  margin-top: 40px;
  margin-bottom: 10px;
  border-left: 4px solid #d19f68;
  padding-left: 10px;
  font-weight: 600;
}

/* リスト */
.page-id-333 .post_content ul {
  margin: 10px 0 20px 20px;
}

.page-id-333 .post_content li {
  margin-bottom: 5px;
}

/* 段落 */
.page-id-333 .post_content p {
  margin-bottom: 15px;
}

/* お問い合わせ部分 */
.page-id-333 .post_content strong {
  display: block;
  margin-top: 10px;
}

.sp-only {
  display: none;
}

/* ==========================
  policyページ　スマホ
============================= */
@media (max-width: 768px) {	
.page-id-333 .policy-hero-inner {
  padding-top: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  }
	
.page-id-333 .policy-hero-title {
    font-size: 28px;
    text-align: center;
    margin: 0 auto;
  }
	
.page-id-333 .policy-hero {
  display: flex;
  align-items: center;
  height: 350px;
}
	
.sp-only {
    display: block;
  }
	
.page-id-306 .wpcf7-acceptance label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.wpcf7-list-item input {
    margin-right: 5px;   /* チェックボックス右の隙間を狭く */
  }
	
}	
	
/* ======================
        フッター
======================== */
.footer-inner {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
  max-width: 100vw;
  display: flex;
  flex-direction: column;
  align-items: center; /* ←これが超重要 */
  padding: 10px 20px !important;
  background: #000;
  color: #fff;
  box-sizing: border-box;
}

/* ロゴ */
.footer-logo img {
  width: 160px;
  margin-bottom: 16px;
}

/* 住所 */
.footer-address a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.map-icon {
  width: 16px;
}

/* ボタン */
.footer-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
}

.footer-btn {	
  border: 1px solid #d19f68;
  color: #d19f68;
  padding: 10px 24px;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
}

.l-footer .footer-btn {
  color: #d19f68;
}

.footer-btn:hover {
  background: #d19f68;
  color: #000;
}

/* SNS */
.footer-sns img {
  width: 50px;
  margin: 10px 0;
}

/* コピーライト */
.footer-copy {
  font-size: 12px;
  color: #ccc;
}

.l-footer__foot {
  display: none !important;
}

.l-footer {
  padding-bottom: 0 !important;
}

/* コピーライトを黒で統一 */
.l-footer,
.l-footer__foot,
.l-footer__foot * {
  background-color: #000 !important;
  color: #fff !important;
}

/* 余白と線を調整 */
.l-footer__foot {
  margin: 0 !important;
  padding: 20px 0 !important;
  border-top: none !important;
}

/* ======================
    フッター  スマホ
======================== */
/* スマホ */
@media (max-width: 768px) {
  .footer-buttons {
    flex-direction: column;
    align-items: center;
  }
}


