@charset "utf-8";
/* CSS Document */

html {
  font-size: 100%;
}
img{
  width: 100%;
  height: auto;
}

body {
  font-family: '小塚ゴシック Pr6N','メイリオ','Yu Gothic','Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3', 'Meiryo','ＭＳ ゴシック',sans-serif;
  color:#434343;
}
a {
  text-decoration: none;
}


* {
  margin: 0;
  padding: 0;
  /*box-sizing: border-box;*/
}

/* 共通の幅設定 */
.common-width {
  margin: 200px auto;
  max-width: 750px;
}
@media (max-width: 1024px) {
  .common-width {
  margin: 200px 40px;
} 

}

.header {
 background-color: #C8E7AE;
 padding: 10px 0px 0; /* 高さを固定せず、コンテンツに応じて調整 */
 width: 100%;
 position: fixed;
 top: 0;
 z-index: 1000;
}
.header a {
 color: #765110;
 text-decoration: none;
 text-align: center;

}

.logo {
  display: flex;
  align-items: center; /* テキストと画像を垂直中央に揃える */
  margin: 0; /* 余計なマージンをリセット */
  font-size: 2vw;
  color: #765110;
}
.logo-img {
  width: 75px;
  margin-left: 20px;
}
.wrapper-header {
  padding: 0 10px 0;
}
.wrapper-header-logo {
  display: flex;
  justify-content: center; /* 水平中央揃え */
  align-items: center; /* 垂直中央揃え */
}
.logo a {
  display: flex;
  align-items: center; /* リンク内の要素も垂直中央揃え */
  text-decoration: none;
}





@media (max-width: 750px) {
  .wrapper-header {
    flex-direction: column; /* ロゴと連絡先メニューを縦に */
    align-items: center;
  }
  .contact-menu {
    margin: 20px 0 0 0; /* ロゴとの間隔 */
    justify-content: center;
  }
}

/* ヘッダーの電話番号とお問合せメニューボタン　*/
.contact-menu {
  display: flex;
  margin: 0px 0px 0px auto;
  justify-content: right;
  text-decoration: none;
}
.contact-menu-a {
  display: flex;
  align-items: center; /* アイコンとテキストを垂直中央に揃える */
}
.contact-menu-li-tel,.contact-menu-li-mail  {
  color: #765110;
  font-size: 20px;
  background-color: #F2CF8B;
  padding: 10px 20px;
  margin-left: 20px;
  border-radius: 30px;
  text-decoration: none;
}

.contact-menu, .nav-ul {
  list-style-type: none;
}

.contact-menu-mail-img {
  width: 30px;
  padding-right: 10px;
  vertical-align: middle; /* アイコンとテキストの位置揃え */
}
.contact-menu-tel-img {
  width: 30px;
  max-width: 30px;
  padding-right: 10px;
  vertical-align: middle; /* アイコンとテキストの位置揃え */
}
.wrapper-header {
  display: flex;
  justify-content: space-between;
  background-color: #C8E7AE;
  align-items: center; /* ロゴと連絡先メニューを垂直方向に中央揃え */
  max-width: 1400px; /* 最大幅を設定 */
  margin: 0px auto; /* 中央揃え */
}

.contact-menu-li-mail:hover {
  background: #F7AE1F;
}


/*スマホの時のみ電話番号をリンク*/
@media (min-width: 751px) {
.header a[href^="tel:"] {
    pointer-events: none;
    cursor: default;
 }
}



/* ナビゲーションメニュー　*/
.nav {
  max-width: 1400px; /* 最大幅を設定 */
  margin: 0 auto;
}
.nav-ul {
  display: flex;
  margin: 0px 0px 0px auto;
  justify-content: right;
}
.nav-li {
  padding: 15px 20px;
  font-size: 1.3rem;
  text-decoration: none;
}
.nav-a:hover {
  color: #F7AE1F;
}
.nav {
  padding-right: 10px;
}


.drawer__nav__menu {
  display: none;
}

/* PC（751px以上） */
@media (min-width: 751px) {
  .header a[href^="tel:"] {
    pointer-events: none;
    cursor: default;
  }
}

/* タブレット（751px～1024px） */
@media (max-width: 1024px) {
  .logo {
    font-size: 21px;
  }
  .logo-img {
    width: 50px;
    margin-left: 10px;
  }
  .contact-menu-li-tel, .contact-menu-li-mail {
    font-size: 18px;
    padding: 12px 20px;
    margin-left: 10px;
  }
  .contact-menu-mail-img, .contact-menu-tel-img {
    width: 22px;
    padding-right: 6px;
  }
  .nav-li {
    padding: 12px;
    font-size: 1.1rem;
  }
}

/* スマホ（780px以下） */
@media (max-width: 780px) {
  .wrapper-header {
    flex-direction: column;
    align-items: center;
  }
  .contact-menu {
    margin: 5px 0 0 0;
    justify-content: center;
    flex-wrap: wrap;
  }
  .contact-menu-li-tel, .contact-menu-li-mail {
    font-size: 16px;
    padding: 10px 15px;
    margin: 5px;
  }
  .contact-menu-mail-img, .contact-menu-tel-img {
    width: 20px;
    padding-right: 5px;
  }
  .logo {
    font-size: 20px;
  }
  .logo-img {
    width: 40px;
    margin-left: 10px;
  }
  .nav {
    display: none; /* スマホではナビゲーションメニューを非表示 */
  }
  .sp-menu {
    display: block; /* ハンバーガーメニューを表示 */
  }
  .sp-menu__box {
    display: block;
    position: fixed;
    top: 20px;
    right: 20px;
  }
  
}




@media (max-width: 780px) {

/* ハンバーガーボタンのデザイン */
.drawer__button {
  position: fixed;
  top: 10px;
  right: 15px;
  width: 3rem;
  height: 3rem;
  background-color: transparent;
  border: none;
  cursor: pointer;
  z-index: 999; /* メニューを開いている時もクリックできるよう設定 */
}
/* ハンバーガーボタン内の線 */
.drawer__button > span {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2rem;
  height: 2px;
  background-color: #765110;
  transform: translateX(-50%);
}
.drawer__button > span:first-child {
  transform: translate(-50%, calc(-50% - 0.5rem));
  transition: transform 0.3s ease;
}
.drawer__button > span:nth-child(2) {
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
}
.drawer__button > span:last-child {
  transform: translate(-50%, calc(-50% + 0.5rem));
  transition: transform 0.3s ease;
}
/* 展開時のデザイン */
.drawer__button.active > span:first-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}
.drawer__button.active > span:nth-child(2) {
  opacity: 0;
}
.drawer__button.active > span:last-child {
  transform: translate(-50%, -50%) rotate(45deg);
}
/* メニューのデザイン */
.drawer__nav {
  position: fixed; /* 追従ヘッダーなどでも表示できるよう設定しておく */
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #765110(0, 0, 0, 0.5);
  transition: opacity 0.3s ease;
  opacity: 0;
  visibility: hidden;
}
.drawer__nav.active {
  opacity: 1;
  visibility: visible;
}
.drawer__nav__inner {
  position: relative;
  width: 80%;
  height: 100%;
  background-color: #C8E7AE;
  padding: 4rem 1.5rem 1rem;
  margin: 0 0 0 auto;
  overflow: scroll;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
.drawer__nav.active .drawer__nav__inner {
  transform: translateX(0);
}
.drawer__nav__menu {
  display: block;
  list-style: none;
  padding-left: 0;
}
.drawer__nav__link {
  display: block;
  color: #765110;
  text-decoration: none;
  padding: 1rem 1rem;
  border-bottom: solid 1px lightgray;
  flex-direction: column;
}
.drawer__nav__link:hover {
  color: #F7AE1F;
}

/* ハンバーガーメニュー展開時、背景を固定 */
body.active {
  height: 100%;
  overflow: hidden;
}
}

/* ↑　ヘッダーここまで　↑　*/










/* お問合せ　*/
.information {
  margin: 200px auto; 
  max-width: 800px;
  background-color: #FDE8C0;
  border-radius: 25px;
  padding: 20px; 
}
.information h2 {
  font-size: 30px;
  color: #765110;
  text-align: center;
  padding: 30px 0 20px;
}
.information > p {
  padding: 0 0 60px;
  text-align: center;
  font-size: 18px;
}

.information-wrapper {
  text-align: left;
  width: 100%;
  max-width: 500px; /* 中央揃えのための幅 */
  margin: 0 auto 60px; /* 中央揃え＋下部マージン */
  font-size: 20px;
  display: block; /* inline-blockから変更して安定性を向上 */
}

.information-wrapper h1 {
  text-align: left;
  text-decoration: none;
  font-size: 30px;
  padding: 100px 20px 0;
  margin: 0;
}

.information-wrapper h1 a {
  color: #765110; /* 希望する色（例: 既存のデザインに合わせた色） */
  text-decoration: none; /* リンクの下線を削除（必要に応じて） */
}

.information-wrapper {
  text-align: left;
  width: 100%;
  max-width: 480px;
  margin: 0 auto 60px;
  font-size: 20px;
  display: block;
}


.contact-info {
  margin-top: 30px; /* h1との間隔 */
}
.info-item {
  display: flex;
  align-items: flex-start; /* テキストを上揃え */
  margin-bottom: 15px; /* 行間の調整 */
}

.info-item .label {
  width: 150px; /* ラベルの固定幅（コロンを揃える） */
  display: inline-block;
  letter-spacing: 0.05em; /* 文字間の微調整 */
}

.info-item .value {
  flex: 1; /* 残りのスペースを埋める */
  letter-spacing: 0.05em; /* 文字間の微調整 */
}
.label {
  text-align: right;
  font-size: 18px;
}
.value {
  font-size: 18px;
  line-height: 1.2;
}
.contact-info p {
  font-size: 14px;
  text-align: center;
}

.information-wrapper img {
  width: 200px;
  padding-top: 30px;
  display: block;
  margin: 0 auto;
}
.information-img-logo {
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}


/* 電話番号とお問合せメニューボタン　*/
.cta_btn09 {
  font-weight: bold; /* 文字の太さ */
  text-align: center;
  letter-spacing: 0.1em;
  display: flex;
  flex-direction: column; /* 縦並び */
  align-items: center; /* 水平中央揃え */
  gap: 20px; /* ボタン間の縦の間隔 */
}


.cta_btn09-contact , .cta_btn09-tel {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  padding: 1em;
  border-radius: 100vh;
  width: 100%;
  max-width: 350px;
  transition: 0.3s;
  position: relative; /* 擬似要素の位置基準 */
}
.cta_btn09-contact {
  background: #f4bf57; /* お問い合わせボタン色 */
}

.cta_btn09-tel {
  background: #89bd5e; /* 電話ボタン色 */
}

.tel-button-flex, .mail-button-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.tel-button, .mail-button {
  width: 40px;
  height: 40px;
  padding-right: 10px;
  object-fit: contain;
}

.cta_btn09 .copy_txt {
  margin-top: 10px; 
  line-height: 1;
  display: inline-block;
  padding: 0.2em 1.5em;
  letter-spacing: 0;
  background: #fff;
  font-size: 120%;
  border-radius: 5px;
  color: #765110; /* 下文字色 */
}

/* マウスオーバーした際のデザイン */
.cta_btn09-contact:hover, .cta_btn09-tel:hover {
  transform: scale(1.05);
}

/* PC表示（768px以上）でボタンを横並び */
@media (min-width: 768px) {
  .cta_btn09 {
    flex-direction: row; /* 横並び */
    justify-content: center; /* ボタンを中央揃え */
    gap: 20px; /* ボタン間の横の間隔 */
  }

  .cta_btn09-contact, .cta_btn09-tel {
    width: 400px; /* 幅を自動調整 */
    max-width: 350px; /* 最大幅を維持 */
  }
}
/*スマホの時のみ電話番号をリンク*/
@media (min-width: 751px) {
.information a[href^="tel:"] {
    pointer-events: none;
    cursor: default;
 }
}
/* スマホ版　お問合せ */
@media (max-width: 850px) {
  .information {
  margin: 150px 10px 80px;
}
  .contact-info span {
    font-size: 14px;
  }
  .information h1 {
    font-size: 20px;
    text-align: center;
  }
  .information h2 {
    font-size: 25px;
  }
}

/* フッター */
.footer {
  background-color: #C8E7AE;
  color: #765110;
  font-size: 20px;
  padding: 40px 60px;
  width: auto;
}

.footer__sns_links-a {
  text-decoration: none;
  color: #765110;
  display: block;
}
.footer__sns_links li {
  list-style: none;
  text-decoration: none;
  padding: 10px 0;
}
.footer__copyright-div {
  text-align: center;
  padding-top: 100px;
}
.footer__sns_links-a:hover {
  color: #89bd5e; /* ホバー時に変更 */
}

#page-top a:hover {
  color: #f4bf57; /* ホバー時に変更 */
}
.footer__copyright {
  font-size: 12px;
}


/*TOPボタン*/
/* 右下に固定 */
#page-top a {
  background-color: #765110;
  bottom: 5%;
  right: 5%;
  color: #fff;
  line-height: 1.5;
  padding: 25px;
  position: fixed;
  border-radius: 50%;
}

/* スマホ版　フッター */
@media (max-width: 751px) {
  .footer {
   padding: 40px 20px;
}
}




$(function () {
  const pageTop = $("#page-top");
  pageTop.hide(); // 最初はボタンを非表示にする
  $(window).scroll(function () {
    if ($(this).scrollTop() > 100) { // 100pxスクロールしたら表示
      pageTop.fadeIn(); // 100px以上スクロールしたらボタンをフェードイン
    } else {
      pageTop.fadeOut(); // 100px以下になったらボタンをフェードアウト
    }
  });
  pageTop.click(function () {
    $("body,html").animate(
      {
        scrollTop: 0, // 上から0pxの位置に戻る
      },
      500 // 500ミリ秒かけて戻る
    );
    return false;
  });
});