@charset "UTF-8";

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.br{
	display: none;
}
@media screen and (max-width: 1100px){
	.br{
		display: block;
	}
	main{
		width: 100%;
		margin: 100px auto 0px;
	}
}
body {
  background-image: linear-gradient(150deg, #fffbf5, #f0fdf3);
}

html {
  scroll-behavior: smooth;
}



/* ロゴ表示切替 */
.logo img {
  max-width: 100%;
  height: auto;
}

.logo-pc, .logo-sp {
  display: none;
}

@media screen and (min-width: 1100px) {
  .logo-pc {
    display: block;
  }
}

@media screen and (max-width: 1099px) {
	.logo img {
  max-width: 70%;

}
  .logo-sp {
    display: block;
	 
  }
}

/*--------------------------------------
  PC表示（1100px以上）2カラムレイアウト
----------------------------------------*/
@media screen and (min-width: 1100px) {
  #main-content {
    display: flex;
    flex-direction: row;
    
  }

  header {
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    height: 100vh;
    background-color: #88bfbf;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 10px;
    z-index: 1000;
	  border-radius: 0 20px 0 0;
	   background-image:
    linear-gradient(rgba(255,255,255,0.5), rgba(255,255,255,0.5)),
    url("../img/back.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  }

  .logo {
    margin-bottom: 40px;
    text-align: center;
  }

  #nav-menu {
    display: flex;
    flex-direction: column;
    list-style: none;
    gap: 20px;
    text-align: center;
    width: 100%;
    padding: 0;
  }

  #nav-menu li a {
    color: #996633;
    font-weight: bold;
    text-decoration: none;
    display: block;
    padding: 10px 0;
    transition: color 0.3s ease;
  }

  #nav-menu li a:hover {
    color: #ffcc00;
  }

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

  main {
    margin-left: 250px;  
    width: calc(100% - 250px);
  }
}
/* ▼ PC幅：flexを無効化し、固定メニューぶんだけmainを右へ */
@media screen and (min-width: 1100px){
  #main-content{
    display: block;     /* ← ここを上書き */
  }
  main{
    margin-left: 250px; /* ← headerと同じ幅 */
    width: auto;        /* calcは不要。autoでOK */
    position: relative; /* 絶対配置の基準にする場合 */
   
  }
}


/*--------------------------------------
  モバイル表示（1099px以下）
----------------------------------------*/
@media screen and (max-width: 1099px) {
   header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #88bfbf;
    padding: 10px 20px;
    position: fixed; /* ← 上部固定に変更 */
    top: 0;          /* ← 画面最上部に */
    left: 0;
    width: 100%;     /* ← 横幅いっぱい */
    z-index: 1000;   /* ← 他の要素より前面 */
    height: auto;
	    background-image:
    linear-gradient(rgba(255,255,255,0.5), rgba(255,255,255,0.5)),
    url("../img/back.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  }

	
  /* 上部固定した分だけメインコンテンツを下げる */
  main {
    padding-top: 60px; /* headerの高さ分マージンを確保 */
  }


  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    height: 3px;
    background: #996633;
    border-radius: 2px;
    transition: 0.4s ease;
  }

  .menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg);
    position: relative;
    top: 10px;
  }

  .menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg);
    position: relative;
    top: -10px;
  }

  #nav-menu {
    display: none;
    flex-direction: column;
    background-color: #88bfbf;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    list-style: none;
    padding: 0;
	    background-image:
    linear-gradient(rgba(255,255,255,0.5), rgba(255,255,255,0.5)),
    url("../img/back.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  }

  #nav-menu.active {
    display: flex;
  }

  #nav-menu li a {
    color: #996633;
    font-weight: bold;
    text-decoration: none;
    display: block;
    padding: 15px;
    transition: color 0.3s ease;
	  margin-left: 20px;
  }

  #nav-menu li a:hover {
    color: #ffcc00;
  }
}

/*--------------------------------------
 SNS
----------------------------------------*/
.sns{
	margin-top: 30px;
	display: flex;
	gap:20px;
}
.sns img{
	width: 40px;
	height: 40px;
}

@media screen and (max-width: 1099px) {
  /* 左にロゴ、右側にSNS→ハンバーガーを固める */
  header {
    justify-content: flex-start; /* 左詰めにして… */
    gap: 0;
  }
  header .logo { order: 1; }

  /* SNSアイコンをハンバーガーの左に移動＆右側へ寄せる */
  header .sns {
    order: 2;
    margin-left: auto;     /* ロゴの次に置いて右側へ押し出す */
	  margin-right: 20px;
    margin-top: 0;         /* 既存の上マージンを打ち消し */
    display: flex;
    align-items: center;
    gap: 12px;             /* アイコン間の余白 */
  }
  /* アイコンサイズ（お好みで調整） */
  header .sns img {
    width: 36px;
    height: 36px;
    display: block;
  }

  /* ハンバーガーはSNSの右（最後） */
  #menu-toggle {
    order: 3;
    margin-left: 10px;     /* SNSとの間隔 */
  }
}


/*--------------------------------------
  フッター
----------------------------------------*/
.site-footer {
  background-color: #f4f4f4;
  padding: 50px 20px;
  text-align: center;
}

.site-footer iframe {
  display: block;
  width: 100%;
  max-width: 1000px;
  aspect-ratio: 16 / 9;  /* レスポンシブ比率 */
  height: auto;
	max-height: 300px;
  margin: 0 auto 20px;
}

.site-footer .footer-logo {
  width: 250px;      /* ここを固定にすると他の img{width:100%} に勝てます */
  height: auto;
  display: block;
  margin: 16px auto;
}

.site-footer p {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
  margin: 12px auto 0;
  max-width: 1000px;
}


.footer-contact{
  width: min(1200px, 90%);
  max-width: 1100px;
  margin: 30px auto;
  padding: 40px 60px;
  background-color: #FEF1D7;
  border: 8px solid #736357;
  border-radius: 18px;
  font-family: "Kosugi Maru", "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif;
  text-align: center;
}
.footer-contact a{
	text-decoration: none;
	
	color: #E58A34;
}
.footer-contact p{
	font-size: 2rem;
}
.footer-contact a,
.footer-contact a:visited,
.footer-contact a:hover,
.footer-contact a:active {
  text-decoration: none;
  font-size: 2rem;
 color: #E58A34;
}
.footer-contact span{
	font-size: 1.2rem;
}

/* 万一、より強いセレクタで img{width:100%} が当たっている場合の保険 */
/* footer.site-footer img.footer-logo { width: 250px !important; } */


/*--------------------------------------
  追尾ボタン（PC・モバイル共通）
----------------------------------------*/
.contact-button {
  position: fixed;
  right: 0;
  bottom: 40%;
  writing-mode: vertical-rl;
  z-index: 999;
}

.contact-button a {
  background-color: #89c997;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  padding: 12px;
  border-radius: 10px 0 0 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  display: inline-block;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.contact-button a:hover {
  background-color: #ffaa00;
  transform: scale(1.05);
}

/* モバイル時の追尾ボタン（下固定） */
@media screen and (max-width: 700px) {
  .contact-button {
    writing-mode: horizontal-tb;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
    background-color: #89c997;
    padding: 8px 0;
  }

  .contact-button a {
    background-color: transparent;
    color: #fff;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 10px;
    box-shadow: none;
  }

  .contact-button a:hover {
    background-color: #ffaa00;
  }
}



/*❎パンくずリストここから*/
.breadcrumb {
  width: min(1200px, 92%);
  margin: 40px auto 10px;   /* PCの標準マージン */
  font-size: 0.95rem;
  line-height: 1.6;
}

.breadcrumb ul {
  display: flex;
  flex-wrap: wrap;          /* 狭い幅で折り返し */
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  color: #999;              /* デフォルトはグレー（現在ページ用） */
}

.breadcrumb li a {
  display: inline-block;
  text-decoration: none;
  color: #000;              /* リンクは黒 */
  font-weight: 700;
  padding: 6px 2px;         /* クリックしやすく微調整 */
}

.breadcrumb li a:hover,
.breadcrumb li a:focus-visible {
  text-decoration: underline;
}

.breadcrumb li + li::before {
  content: "›";             /* 区切り記号 */
  margin: 0 8px;
  color: #999;
  font-weight: 700;
}

/* 現在ページ（<p>） */
.breadcrumb li p {
  margin: 0;
  color: #999;
  font-weight: 600;
}

/* ===== モバイル（1099px以下）固定ヘッダー考慮 ===== */
@media screen and (max-width: 1099px) {
  .breadcrumb {
    margin: 70px 16px 20px;
    width: auto;
    font-size: 0.9rem;
  }
}



/*❎ぱんくず下ページタイトル*/
.top-title{
  width: min(1200px, 92%);
  margin: 0 auto 10px;   /* ← 中央寄せ。下に余白をつけたい場合 */
  overflow: hidden;      /* はみ出し防止 */
}

.top-title h1 {
  font-size: 3rem;
  font-weight: 900;
  font-family: "Kosugi Maru", "Rounded Mplus 1c", "Hiragino Maru Gothic ProN",
               "Yu Gothic", "Meiryo", sans-serif;
  color: #8fbc8f;

  /* アニメーション設定 */
  opacity: 0;
  transform: translateX(-50px);  /* 左から開始 */
  animation: slideInLeft 1s ease-out forwards;
	line-height: 2.5rem;
}

.top-title span {
  font-size: 1.5rem;
  color: #888084;
  margin-left: 10px;

  /* サブタイトルも同様にアニメーション */
  opacity: 0;
  transform: translateX(-30px);
  animation: slideInLeft 1.8s ease-out forwards;
  animation-delay: 0.3s; /* h1の後に少し遅れて表示 */
}

/* キーフレーム */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}



/*❎TOPイメージ*/
.top-img img {
  max-height: 200px;
  object-fit: cover;
  width: 96%;
  border-radius: 15px 0 0 15px;
  display: block;
  margin-left: auto;
  margin-right: 0;

  /* アニメーションを追加 */
  opacity: 0; /* 最初は非表示 */
  transform: translateX(100px); /* 右にオフセットした状態から */
  animation: slideInRight 1s ease-out forwards;
}

/* アニメーション定義 */
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100px); /* 右外から */
  }
  to {
    opacity: 1;
    transform: translateX(0); /* 通常位置へ */
  }
}


/*❎TOP下*/
/* タイトル */
.title {
  margin: 50px auto;
  width: 80%;
  text-align: center; /* h1(インラインブロック)を中央に */
}

.title h1 {
  display: inline-block; /* テキスト幅に合わせる（下線もテキスト幅） */
  font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 2rem;
  color: #99ab4e;
  border-bottom: solid 3px #99ab4e;
  margin-bottom: 15px;
}

/* 説明文：ボックスは中央、文字は左寄せ */
.title p {
  font-size: 1.3rem;
  line-height: 2.5rem;
  max-width: 900px;  /* 100%だと中央にならないので幅を制限 */
  margin: 0 auto;    /* ボックスを中央配置 */
  text-align: left;  /* 文字は左寄せ */
}

/* お好みでSP時に読みやすく（任意） */
@media (max-width: 700px) {
	.title { width: 92%; }
	.title h2{
		font-size: 1rem;
	}
  .title p { 
	  max-width: 100%;
	  font-size: 0.9rem;
	}
}