@charset "utf-8";

*,
::before,
::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

ul,
ol,
li {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

body {
  font-family: sans-serif;
  font-size: 16px;
  color: #000000;
  line-height: 1;
  background-color: #ffffff;
}

img {
  max-width: 100%;
}

.header {
  background-color: #dae1f1;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  padding: 15px;
  padding-left: 20px;
  padding-right: 20px;
  height: 100%;
  position: relative;
  max-width: 1200px;
  height: 110px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 10px;
  align-items: center;
}

.menu-wrapper {
  position: relative;
}

.header-logo img {
  display: block;
  width: 150px;
}

.menu-lists ul {
  display: flex;
}

.menu-lists ul li {
  margin-left: 20px;
  margin-right: 20px;
}

.menu-lists ul li a {
  font-family: 'Noto Serif JP', serif;
  font-weight: bold;
}

li a:hover {
  color: #777;
}

/* ここからpage_top */

#page-top a {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #00b8f0;
  border-radius: 5px;
  width: 60px;
  height: 60px;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 0.6rem;
  transition: all 0.3s;
}

#page-top a:hover {
  background: #777;
}

/*リンクを右下に固定*/
#page-top {
  position: fixed;
  right: 30px;
  bottom: 10px;
  z-index: 2;
  /*はじめは非表示*/
  opacity: 0;
  transform: translateY(100px);
}

/*　上に上がる動き　*/

#page-top.UpMove {
  animation: UpAnime 0.5s forwards;
}

@keyframes UpAnime {
  from {
    opacity: 0;
    transform: translateY(100px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*　下に下がる動き　*/

#page-top.DownMove {
  animation: DownAnime 0.5s forwards;
}

@keyframes DownAnime {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 1;
    transform: translateY(100px);
  }
}

/* ここまでpage_top */

.footer {
  color: #333031;
  background-color: #dae1f1;
  padding-top: 30px;
  padding-bottom: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 100px;
  font-family: 'Noto Serif JP', serif;
}

.footer-logo {
  display: block;
  width: 235px;
  margin-top: 40px;
}

.footer-h {
  font-size: 26px;
  margin-top: 32px;
}

.footer-tel {
  font-size: 20px;
  margin-top: 20px;
}

.footer-address {
  font-size: 20px;
  margin-top: 20px;
}

.footer-mail {
  font-size: 20px;
  margin-top: 20px;
}

.footer-wlbmark {
  display: block;
  width: 180px;
  margin-top: 40px;
}

.copyright {
  font-size: 14px;
  font-weight: bold;
  margin-top: 30px;
}

.mail:hover {
  color: #777;
}

.br-sp {
  display: none;
}

/* 画像ボタンの設定 */
.picture-btn-area{
  display: flex;
  flex-wrap: wrap; /* 折り返しを許可する */
  justify-content: space-between;
  width: 930px;
  max-width: 95%;
  margin: 25px auto;
}

.picture-btn {
  width: 400px;
  height: 300px;
  position: relative;
  /* display: flex; */
  /* margin: 20px auto; */
  margin-bottom: 30px; /* 上下の画像の間隔 */
}

.picture-btn-title{
  font-size: 50px;
  position: absolute;
  top: 10px;
  left: 10px;
  font-family: 'Noto Serif JP', serif;
}

.picture-btn-detail{
  font-size: 30px;
  position: absolute;
  top: 70px;
  left: 10px;
  font-family: 'Noto Serif JP', serif;
  line-height: 1.2;
}

.picture-btn-img{
  width: 100%;
  height: 100%;
  border: 1px solid rgba(0,0,0,0.3);
}

/* 800px以下の時だけ適用＿ここから */

@media (max-width: 800px) {
  .toggle-menu-button {
    width: 100%;
    display: block;
    width: 39px;
    height: 39px;
    position: absolute;
    right: 0;
    z-index: 999;
    /*追記：いつも一番上*/
  }

  .bar {
    width: 20px;
    height: 2px;
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background-color: #000;
  }

  .bar-top {
    top: -8px;
  }

  .bar-middle {
    top: 0px;
    /* top: 50%;
    transform: translate(-50%, -50%); */
  }

  .bar-bottom {
    top: 8px;
  }

  /* .header-site-menu.is-show {
    pointer-events: auto;
    opacity: 1;
  } */
  .toggle-menu-button.close .bar-top {
    transform: translate(-50%, 10px) rotate(45deg);
    transition: transform .3s;
  }

  .toggle-menu-button.close .bar-middle {
    opacity: 0;
    transition: opacity .3s;
  }

  .toggle-menu-button.close .bar-bottom {
    transform: translate(-50%, -6px) rotate(-45deg);
    transition: transform .3s;
  }

  .menu-lists {
    display: none;
    background:rgba(170, 171, 255, 0.7);
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    padding-top: 60px;
    text-align: center;
  }

  .menu-lists ul {
    display: block;
  }

  .menu-lists li {
    margin-top: 40px;
    font-size: 26px;
  }

  .header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 50px;
    z-index: 10;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
  }

  .header-inner {
    padding: 2px;
    /* ↑合わなかったら消す */
    padding-left: 20px;
    padding-right: 20px;
    height: 100%;
    position: relative;
  }

  /* .header-logo {
    width: 60px;
  } */
  .header-logo img {
    width: 60px;
  }


  .main {
    padding-top: 50px;
  }

  .footer-logo {
    margin-top: 20px;
  }

  .footer-h {
    margin-top: 24px;
    font-size: 20px;
    font-weight: bold;
  }

  .footer-address {
    font-size: 12px;
    margin-top: 10px;
  }

  .footer-tel {
    font-size: 12px;
    margin-top: 10px;
  }

  .footer-mail {
    font-size: 12px;
    margin-top: 10px;
  }

  .copyright {
    margin-top: 30px;
  }

  .br-sp {
    display: block;
  }

  /* 画像ボタンの設定 */

.picture-btn-area {
    width: 100%; /* 親の幅をいっぱいにする */
    flex-direction: column; /* 縦並びを強制 */
    align-items: center;
  }

.picture-btn {
    width: 100%;    /* 横幅いっぱい */
    max-width: 90%; /* 少し左右に余裕を持たせる */
    height: auto;   /* 高さを中身（画像）に合わせる */
    aspect-ratio: 4 / 3; /* 必要に応じて比率を固定、不要なら削除 */
    margin: 10px auto;
  }

.picture-btn-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 画像が歪まないように調整 */
  }

.picture-btn-title{
  font-size: 30px;
}

.picture-btn-detail{
  font-size: 20px;
}

}

/* 800px以下の時だけ適用＿ここまで */


@media (min-width: 751px) {
  a[href*="tel:"] {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
  }
}