@charset "UTF-8";
/*
Theme Name: theme-marusan
Description: marusanのテーマ
*/
/* PC、スマホ共通スタイル */
body {
    margin: 0 auto 0 auto;
    font-family: 'M PLUS Rounded 1c', sans-serif, "Hiragino Kaku Gothic ProN", Meiryo, Arial, sans-serif;
    background-color: #fffeee;
}
 /* ヘッダー */
 header {
   position: relative;
 }
 header .wrapper {
   position: relative;
 }
#logo {
  display: block;
}
#logo img {
  max-width: 640px; /* 好きな最大サイズ */
  width: 100%;
  height: auto;
}
 
#nav-pc ul {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  background-color: #f9bd5e;
  width: 100%;
  padding: 10px;
  margin: 0;
  list-style: none;
}
 
 #nav-pc li {
   list-style: none;
   color: #725133;
   font-family: 'M PLUS Rounded 1c';
   font-weight: bold;
 }
 
 /* ナビゲーションのリンクの装飾設定 */
 #nav-pc a {
   text-decoration: none;
   color: #725133;
   font-weight: bold;
 }
 
 #nav-pc a:hover {
   text-decoration: underline;
 }
/* ===== ハンバーガーメニュー ===== */
.hamburger {
  display: none; /* PCでは非表示 */
  width: 32px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #725133;
  margin: 5px 0;
}
 /*メインビジュアル*/
.container {
  width: 100%;
}
.container img {
  max-width: 100%;
  height: auto;
}
.wrapper {
  max-width: 1080px;
  margin: 0 auto;
}
 #main-visual{
    width: 100%;
    position: relative;
 }
/* ここから全体マップcss 横並び */
.access-inner {
  display: flex;
}
/* 左右50% */
.access-image,
.access-map {
  width: 50%;
}
/* 画像 */
.access-image img {
  width: 100%;
  height: auto;
  display: block;
}
/* Googleマップ */
.access-map iframe {
  width: 100%;
  height: 100%;
  min-height: 300px;
  border: 0;
  display: block;
}
/* モバイル版：access画像＋Googleマップを縦配置＋正方形 */
@media screen and (max-width: 768px) {
  /* ===== ロゴの幅を調整してハンバーガーと重ならないように ===== */
  #logo {
    max-width: calc(100% - 70px); /* ハンバーガーメニューの分を確保 */
  }
  
  .access-inner {
    flex-direction: column;
  }
  .access-image,
  .access-map {
    width: 100%;
  }
  /* 正方形にする */
  .access-map {
    aspect-ratio: 1 / 1;
  }
  .access-map iframe {
    width: 100%;
    height: 100%;
    min-height: auto; /* ← これが重要 */
  }
  
  /* ===== スマホ版ハンバーガーメニュー ===== */
  .hamburger {
    display: block; /* スマホで表示 */
  }
  
  /* ヘッダーのナビゲーションを初期状態では非表示 */
  header #nav-pc {
    position: fixed;
    top: 0;
    right: -100%; /* 画面外に配置 */
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: #f9bd5e;
    transition: right 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
  }
  
  /* メニューが開いた状態 */
  header #nav-pc.is-open {
    right: 0;
  }
  
  /* ヘッダーのulを縦並びに変更 */
  header #nav-pc ul {
    flex-direction: column;
    justify-content: flex-start;
    padding: 80px 20px 20px;
    gap: 0;
  }
  
  header #nav-pc li {
    width: 100%;
    text-align: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(114, 81, 51, 0.2);
  }
  
  header #nav-pc li:last-child {
    border-bottom: none;
  }
  
  /* ===== フッターナビゲーションを縦並びに ===== */
  footer #nav-pc {
    position: static; /* fixedを解除 */
    width: 100%;
    height: auto;
  }
  
  footer #nav-pc ul {
    flex-direction: column;
    padding: 20px 10px;
    align-items: stretch;
  }
  
  footer #nav-pc li {
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid rgba(114, 81, 51, 0.2);
  }
  
  footer #nav-pc li:last-child {
    border-bottom: none;
  }
}
/* フッター */
 footer {
   background-color: #f9bd5e;
   text-align: center;
   padding: 80px 80px 30px 80px;
 }
 
 #footer-logo {
   margin-bottom: 30px;
 }
footer img {
  display: block;
  margin: 0 auto;
}

.footer-company-info {
  color:#725133
}
/* フッターのロゴを大きく中央配置 */
footer #logo {
  max-width: 100%;
  text-align: center;
  margin-bottom: 40px;
}
footer #logo img {
  max-width: 640px;
  width: 90%;
  height: auto;
  margin: 0 auto;
}
/* フッターナビゲーション */
footer #nav-pc {
  display: block;
  margin: 30px 0;
}
footer #nav-pc ul {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  background-color: #f9bd5e;
  width: 100%;
  padding: 10px;
  margin: 0;
  list-style: none !important;
  padding-left: 0;
}
footer #nav-pc li {
  color: #725133;
  list-style: none !important;
  list-style-type: none !important;
}
footer #nav-pc a {
  color: #725133;
  text-decoration: none;
  font-weight: bold;
}
footer #nav-pc a:hover {
  text-decoration: underline;
}
/* フォーム外枠ごと中央寄せ */
.wpcf7 form {
  max-width: 640px;
  margin: 0 auto;
}
/* 各項目ブロックを中央基準の縦並びにする */
.wpcf7 form p {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
  width: 100%;
  box-sizing: border-box;
}
.wpcf7 form fieldset.hidden-fields-container {
  display: none !important;
}