/* === ヘッダー構造・共通 === */

/*	ヘッダー
---------------------------------*/
header {
	position: relative;
	/*background: url(../images/common/bg_hd.png) center center;*/
}
.hd-contact {
	-webkit-align-items: center;
	align-items: center;
}
.hd-tel {
	margin: 0 20px 0 0;
}

/* bread_crumb_list　パンくず
------------------------------*/
/* WP管理バーとヘッダーの高さ設定 */
:root {
  --adminbar-h: 0px;
/*  --header-h: 76px;*/
}

body.admin-bar {
  --adminbar-h: 32px;
}

@media (max-width: 782px) {
  body.admin-bar {
    --adminbar-h: 46px;
  }
}

@media (max-width: 950px) {
  :root {
    --header-h: 64px;
  }
}

/* ヘッダーが固定されているため、本文の開始位置を調整 */
body {
  padding-top: calc(var(--adminbar-h) + var(--header-h));
}

/* ここが sticky 本体（section には sticky を付けない） */
/* パンくずの吸着も同じ基準に */
.breadcrumb-sticky{
  position: sticky;
  top: calc(var(--adminbar-h) + var(--header-fixed-h));
  z-index: 900;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(160%) blur(6px);
  border-bottom: 1px solid #eee;
}

.breadcrumb-area .section-inner{
  max-width: clamp(1024px, 90vw, 1280px);
  padding: 10px clamp(6px,2vw,9px);
}

.breadcrumb-area .section-inner{
  max-width: clamp(1024px, 90vw, 1280px);
  padding-inline: clamp(6px, 2vw, 9px);
  padding-block: clamp(10px, 1vw, 10px);
}

/* 念のため sticky の妨げになる overflow を解除 */
#local_contents, .breadcrumb-sticky, #sub_contents .breadcrumb-sticky { overflow: visible; }

.breadcrumb-area {
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  padding: 10px 0;
  transition: all 0.3s ease;
}

.bread_crumb_list{ 
	text-align: left;
    font-size: clamp(1.25rem, 1.15rem + 0.2vw, 1.45rem);
}
.bread_crumb_list ul{ margin: 0 auto;}
.bread_crumb li { display:inline;}
.bread_crumb li:after {content : '>>';padding-left:5px;}
.bread_crumb li:last-child:after { content : '';}
.bread_crumb li a { text-decoration:underline;}
.bread_crumb li a:hover{ text-decoration:none;}
.bread_crumb li.current { font-weight:bold;}


/* ヘッダーナビ */
.responsive-header {
	color: #fff;
  position: fixed;
  inset: var(--adminbar-h) 0 auto 0; /* top,right,bottom,left */
  z-index: 950;
  height: var(--header-h);
  backdrop-filter: saturate(160%) blur(6px);
  background: #91689cad;
  border-bottom: 1px solid #9261c1;
}



/* 共通スタイル */
.header-inner{
  display: flex;
  justify-content: space-between;
  align-items: center;

  /* はみ出し防止：vw は使わず 100% ベース */
  width: 100%;
  max-width: 1280px;                 /* 好きな上限に */
  margin-inline: auto;

  /* パディングを加えても横幅を超えない */
  padding-inline: clamp(12px, 2vw, 24px);
  padding-block: clamp(10px, 1vw, 13px);
  box-sizing: border-box;
}

/* === 共通 === */
.header-right-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
}

/* SNS + 問い合わせ */
.header-icons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ハンバーガーは右端 */
.hamburger {
  display: block;
  width: 30px;
  height: auto;
  cursor: pointer;
  z-index: 20;
}

/* バー3本 */
.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #333;
  margin: 5px 0;
  transition: 0.4s;
}

/* アクティブ（バツ印） */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* 共通ドロワー */
.drawer {
  position: fixed;
  top: 30px;
  right: -110%;
  width: 85%;
  max-width: 320px;
  border-radius: 15px;
  height: 52vh;
  background-color: #f2f2f2;
  z-index: 1000;
  overflow-y: auto;
  transition: right 0.3s ease;
  border: solid 3px #9261c1;
}
.drawer.open {
  right: 20px;
}
.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4); /* 背景を薄暗く */
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}
.contact-drawer .close-contact {
  font-size: 2rem;
    position: absolute;
    top: 1rem;
    right: 1rem;
    cursor: pointer;
    z-index: 1002;
    border: solid 1px #ccc;
    border-radius: 7px;
    background: #f2f2f2;
}

.contact-drawer {
  z-index: 1002;
}
.telarea {
}
.drawer_ttl {
  font-size: clamp(1.4rem, 1.5rem + 0.5vw, 1.6rem);
  color: #fff;
	color: #333;
	font-weight: bold;
}

.header-logo img {
  height: auto;
  max-height: 60px;
}

/* ナビアイコン */
.header-icons {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.icon {
  display: inline-block;
  width: 36px;
  height: 36px;
  background-size: contain;
  background-repeat: no-repeat;
}

.icon-line {
  background-image: url('https://img.icons8.com/ios-filled/32/line-me.png');
}

.icon-instagram {
  background-image: url('https://img.icons8.com/ios-filled/42/instagram-new--v1.png');
}

.btn-contact {
  background: #007bff;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
}

/* モバイルメニュー */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  height: 100vh;
  background-color: #ffffff;
  transition: right 0.3s ease;
  z-index: 1001;
  box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
}

.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav li {
  margin-bottom: 10px;
}

.mobile-nav a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
}
.mobile-nav {
  right: -100%;
  transition: right 0.3s ease;
}
.mobile-nav.open {
  right: 20px;
}
.hamburger {
  z-index: 1003;
}

.ct_wrap {
	text-align: center;
	padding-block: clamp(10px, 3vw, 40px);
}
.drawer-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  background: none;
  border: none;
  color: #333;
  cursor: pointer;
  z-index: 1100;
}
/* 右寄せ */
#pc-nav {
  margin-left: auto;
  display: flex;
}

#pc-nav ul {
  display: flex;
  gap: 2rem; 
  list-style: none;
  padding: 0;
  margin: 0;
}

.sp-only {
  display: none;
}


/* 共通：Font Awesomeブランドアイコンを正しく表示 */
.header-right .fa-brands.fa-line {
  font-family: "Font Awesome 6 Brands";
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
  font-size: clamp(3.0rem, 0.9rem + 0.8vw, 3.0rem);
}


/* メディアクエリ */
/* PC・タブレット（951px以上） */
@media screen and (min-width: 951px) {
  .header-inner {
    max-width: clamp(1024px, 90vw, 1280px);
    padding-inline: clamp(6px, 2vw, 9px);
    padding-block: clamp(10px, 1vw, 10px);
  }
  .hamburger {
	display: none;
	}
  #pc-nav ul {
    gap: 0rem;
  }
  #pc-nav ul {
    display: flex;
  }

  #pc-nav ul li {
    padding-inline: clamp(10px, 1vw, 13px);
  }

  #pc-nav ul li a {
    font-size: clamp(1.4rem, 0.9rem + 0.8vw, 1.7rem);
  }

  .btn-contact {
  padding-inline: clamp(10px, 4vw, 12px);
  padding-block: clamp(4px, 2vw, 4px);
  font-size: clamp(1.35rem, 0.9rem + 0.8vw, 1.6rem);
  }

  #contact-drawer .ct_wrap .telarea .st-tel {
    width:90%;
    padding: 0.6rem 1.6rem 0.6rem 1.6rem;
    font-size: clamp(1.6rem, 1.45rem + 0.5vw, 1.6rem);
  }	
  #contact-drawer .ct_wrap .telarea .st-tel span{
	font-size: clamp(1.6rem, 1.45rem + 0.5vw, 1.7rem);
  }
  #contact-drawer .ct_wrap .line,
  #contact-drawer .ct_wrap .mailarea {
    padding: 2rem 0rem 1rem 0;
  }
  #contact-drawer .ct_wrap .line .line-link {
    width:90%;
    padding: 0.6rem 1.6rem 1.1rem 1.6rem;
    margin: 0 auto;
    font-size: clamp(1.6rem, 1.45rem + 0.5vw, 1.6rem);
	display: flex;
    justify-content: center;
    align-items: center;
    background: #9261c1;
	border-radius: 4px;
	text-decoration: none;
	border: 2px solid #fff;
	box-shadow: 0 3px 12px rgba(0, 0, 0, 0.10);
	cursor: pointer;
	margin: auto;
}


  #contact-drawer .ct_wrap .mail-link {
    width:90%;
    padding: 0.6rem 1.6rem 1.1rem 1.6rem;
    margin: 0 auto;
    font-size: clamp(1.6rem, 1.45rem + 0.5vw, 1.6rem);
	display: flex;
    justify-content: center;
    align-items: center;
    background: #9261c1;
	border-radius: 4px;
	text-decoration: none;
	border: 2px solid #fff;
	box-shadow: 0 3px 12px rgba(0, 0, 0, 0.10);
	cursor: pointer;
	margin: auto;
  }
}

/* スマホ＋タブレット：950px以下でハンバーガー表示 */
@media screen and (max-width: 950px) {
	#pc-nav {
    display: none;
  }
.btn-contact {
        padding-inline: clamp(10px, 4vw, 12px);
        padding-block: clamp(4px, 2vw, 4px);
        font-size: clamp(1.35rem, 0.9rem + 0.8vw, 1.6rem);
    }
	
.header-left {
    display: flex;
    align-items: center;
    gap: 0.8rem;
  }
.hamburger {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        width: 30px;
        cursor: pointer;
        z-index: 20;
        margin-left: 1rem;
    }
.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #333;
    margin: 5px 0;
    transition: 0.4s;
  }
	
	#contact-drawer .ct_wrap .line,
	#contact-drawer .ct_wrap .mailarea {
        padding: 2rem 0rem 1rem 0;
    }
	#site-header .st-tel {
        width: 90%;
        padding: 0.6rem 1.6rem 0.6rem 1.6rem;
        font-size: clamp(1.4rem, 1.65rem + 0.5vw, 1.75rem);
}
	#site-header .contactarea .line-link {
        width: 90%;
        padding: 0.6rem 1.6rem 0.9rem 1.6rem;
        font-size: clamp(1.6rem, 1.3rem + 0.5vw, 2.2rem);
}
	#site-header .mail-link {
        width: 90%;
        padding: 0.6rem 1.6rem 0.9rem 1.6rem;
        font-size: clamp(1.6rem, 1.3rem + 0.5vw, 2.2rem);
}
	
  .mobile-nav {
    position: fixed;
    top: 30px;
    right: -110%;
    width: 85%;
    max-width: 320px;
    border-radius: 15px;
    height: 70vh;
    background-color: #f2f2f2;
    z-index: 1003;
    overflow-y: auto;
    transition: right 0.3s ease;
    border: solid 3px #9261c1;
	color: #fff;
  }	
	.mobile-nav ul {
    list-style: none;
    margin: 0;
    padding: 2rem 2.5rem 1rem 2.5rem;
		        font-size: clamp(1.4rem, 0.9rem + 0.8vw, 1.7rem);
}
  .pc-nav {
    display: none; /* 初期非表示（JSで開閉） */
  }
}

/* スマホ（768px以下） */
@media screen and (max-width: 768px) {
  .header-inner {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    max-width: 90vw;
    padding-inline: clamp(6px, 2vw, 12px);
    padding-block: 10px;
    position: relative;
  }
  .header-logo img {
    height: auto;
    max-height: 50px;
  }	
  #pc-nav {
    display: none;
  }
	
  .icon {
   width: 36px;
   height: 36px;
  }	
	
  .mobile-nav {
    position: fixed;
    top: 50px;
    right: -110%;
    width: 85%;
    max-width: 320px;
    border-radius: 15px;
    height: 70vh;
    background-color: #f2f2f2;
    z-index: 1003;
    overflow-y: auto;
    transition: right 0.3s ease;
    border: solid 3px #9261c1;
  }	
  .mobile-nav.open {
	  right: 0;
  }
  .hamburger {
  position: relative; 
    top: 0;
    left: 0;
    transform: none;
    width: 30px;
    cursor: pointer;
    z-index: 20;
	  margin-left: 1rem;
  }
  .hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #333;
  margin: 5px 0;
  transition: 0.4s;
  }
  .header-icons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto; /* 右寄せ */
  }
	/* バツ印に変化するスタイル */
	.hamburger.active span:nth-child(1) {
	  transform: rotate(45deg) translate(5px, 5px);
	}

	.hamburger.active span:nth-child(2) {
	  opacity: 0;
	}

	.hamburger.active span:nth-child(3) {
	  transform: rotate(-45deg) translate(6px, -6px);
	}
	
	
#contact-drawer.telarea {
		color: #f00;
	}	
	
  .btn-contact {
    padding-inline: clamp(10px, 4vw, 10px);
    padding-block: clamp(5px, 4vw, 5px);
    font-size: clamp(1.4rem, 0.9rem + 0.8vw, 1.45rem);
  }
  #contact-drawer .ct_wrap .telarea .st-tel {
	width:90%;
	padding: 0.6rem 0.6rem 0.6rem 0.6rem;
	font-size: clamp(0.6rem, 1.3rem + 0.5vw, 2.2rem);
   }	
   #contact-drawer .ct_wrap .line, #contact-drawer .ct_wrap .mailarea {
	padding: 2rem 0rem 1rem 0;
	}
   #contact-drawer .ct_wrap .line .line-link {
	width:90%;
	padding: 0.6rem 1.6rem 1.1rem 1.6rem;
	margin: 0 auto;
	}
    #contact-drawer .ct_wrap .mail-link {
	width:90%;
	padding: 0.6rem 1.6rem 1.1rem 1.6rem;
	margin: 0 auto;
	}
	#contact-drawer .ct_wrap .line .line-link,#contact-drawer .ct_wrap .mail-link {
    width:90%;
    padding: 0.6rem 1.6rem 1.1rem 1.6rem;
    margin: 0 auto;
    font-size: clamp(1.6rem, 1.45rem + 0.5vw, 1.6rem);
	display: flex;
    justify-content: center;
    align-items: center;
    background: #9261c1;
	border-radius: 4px;
	text-decoration: none;
	border: 2px solid #fff;
	box-shadow: 0 3px 12px rgba(0, 0, 0, 0.10);
	cursor: pointer;
	margin: auto;
}
}

/* スマホ専用表示 */
@media screen and (max-width: 425px) {
	.btn-contact{
	  display: none;
	}
	.sp-only {
      display: block;
	  padding-inline: 6vw;
	  color: #333;
	}
	.mobile-contact-group a {
	  color: #fff;
	}
	
	#mobile-nav .st-tel{
	  padding-inline: 2vw;
      padding-block: 1.5vh;
      border-radius: 10px;
      color: #fff;
  	  text-align: center;
      background: #9261c1;
	  font-size: clamp(1.6rem, 1.3rem + 0.5vw, 2.2rem);
      transition: background 0.2s, box-shadow 0.2s;
      box-shadow: 0 3px 12px rgba(0, 0, 0, 0.10);
      line-height: 1.4;
	  width: 100%;
	  margin-bottom: 2vh;
	}
    #mobile-nav .linearea a, #mobile-nav .mailarea a {
	  display: block;
	  padding-inline: 2vw;
      padding-block: 1.5vh;
      border-radius: 10px;
      border: 2px solid #fff;
	  color: #fff;
  	  text-align: center;
      background: #9261c1;
	  font-size: clamp(1.6rem, 1.3rem + 0.5vw, 2.2rem);
      transition: background 0.2s, box-shadow 0.2s;
      box-shadow: 0 3px 12px rgba(0, 0, 0, 0.10);
      line-height: 1.4;
	  width: 100%;
	  margin-bottom: 2vh;
	}
}
