html, body {
  height: 100%; /* 高さを100%に設定 */
  margin: 0;
  padding: 0;
  font-family: 'Arial', sans-serif;
  background-color: #faf3e9;
  color: #6c757d;
  box-sizing: border-box;
}



.wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}




header, footer {
  background-color: #A1D6B2;
  color: #ffffff;
  text-align: center;
}



footer p {
  margin: 0;
}

.footer-phrase {
  color: #ffffff;
  text-align: center;
  margin-bottom: 1rem;
}


.other-links a {
  text-decoration: none;
  color: white;
  margin-right: 1rem;
}

.other-links a:hover {
  opacity: 0.7;
}


main {
  flex: 1; /* コンテンツが少ない場合でもフッターを下部に固定するためにフレックスボックスを使用 */
  background-color: #faf3e9;
}






nav {
  width: 100%; /* ナビゲーション全体を幅100%に */
  padding: 0;
  margin: 0;
  background-color: transparent; /* 必要なら背景を透明に */
  display: flex;
  justify-content: center;
  align-items: center;
}




nav h1 {
  margin: 0;
  padding: 0;
  display: inline-block; /* h1を子要素のサイズに合わせる */
  display: flex;
  align-items: center;
  cursor: pointer;
  
}





/* base.css */

/* 既存のスタイルはそのままに、新しいスタイルを追加 */

/* ロゴ画像のスタイル */
.logo {
  max-width: 100%;
  height: 100%;
  object-fit: contain; /* 画像がコンテナ内に収まるように調整 */
  object-position: center;
}

/* <picture>要素内の画像に対する追加スタイルが必要な場合 */
header h1 picture {
  display: flex; /* 必要に応じてブロック要素にする */
  justify-content: center;
  align-items: center;
}





.nav-menu {
  display: flex;
  gap: 1rem;
}



nav ul {
  list-style: none;
  padding: 0;
  padding-right: 5%;
  font-size: 1.25rem;
  font-weight: bold;
}

nav ul li {
  display: inline;
  margin-right: 1rem;
}

nav ul li a {
  color: #ffffff;
  text-decoration: none;
}

main {
  padding: 0 2rem;
}


.btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  margin: 0.5rem 0;
  border: none;
  border-radius: 4px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background-color: #007bff;
  color: #ffffff;
}

.btn-secondary {
  background-color: #6c757d;
  color: #ffffff;
}

form {
  margin-top: 1rem;
}

form input, form textarea {
  width: 100%;
  padding: 0.5rem;
  margin: 0.5rem 0;
  border: 1px solid #ced4da;
  border-radius: 4px;
}

form button {
  width: 100%;
}



.plus-button {
  display: none;
  font-size: 2rem;
  color: #ffffff;
  text-decoration: none;
  /* background-color: #A1D6B2; */
  border-radius: 50%;
  padding: 0.5rem 1rem;
  
}


/* .plus-button:hover {
  background-color: #8bc59b;
} */





/* モバイルナビゲーションのスタイル */
.mobile-nav {
  display: none;
  background-color: white;
  color: #A1D6B2;
  width: 100%;
  z-index: 1000;
}

.mobile-nav ul {
  display: flex;
  justify-content: space-around;
  padding: 0;
  margin: 0;
  list-style: none;
  color: #A1D6B2;
  text-align: center;
}

.mobile-nav ul li {
  flex: 1;
  text-align: center;
  margin: 0;
}

.mobile-nav ul li a {
  display: block;
  padding: 10px 0;
  text-decoration: none;
  font-size: 0.875rem;
  color: #A1D6B2;
}

.mobile-nav ul li a img {
  width: 24px;
  height: 24px;
  display: block;
  margin: 0 auto 5px;
}

.mobile-nav ul li a span {
  display: block;
  font-size: 0.75rem;
}




@media (max-width: 768px) {

  main {
    margin: 0;
    padding: 0;
  }

  .nav-menu {
    display: none; /* Hide the regular menu on small screens */
  }

  
  

  nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    margin: 0;
    height: 7.5rem;
  }


  /* nav h1 {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    height: 100%;
  } */


  .logo {
    height: auto;
    width: 100%;
  }





  



  
  

  
  /* .mobile-nav {
    display: block;
  } */


  
}







.breadcrumbs {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 3px;
  margin-bottom: 1rem;
  border-bottom: 2px solid #A1D6B2;
  padding-bottom: 0.5rem;
  flex-wrap: wrap;
}

.breadcrumbs a {
  color: inherit; /* テキストの色を親要素に合わせる */
  text-decoration: none; /* 下線を消す */
  /* white-space: nowrap; */
  white-space: nowrap; /* aタグ内は1行に固定 */
  display: inline-block; /* aタグの幅をその中の内容に合わせる */
  text-overflow: ellipsis; /* 長すぎるテキストに省略記号をつける（必要に応じて） */
  overflow: hidden; /* 必要に応じて、はみ出た部分を隠す */
}


.breadcrumbs a:hover {
  color: #A1D6B2;
  text-decoration: none; /* 下線を消す */
}



