@charset "UTF-8";

/* 共通部分 */
body {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.6rem;
  color: #000000;
  line-height: 1.6;
  background: #f1f1f1;
  position: relative;

}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

p {
  font-size: 1.25rem;
}

a {
  display: block;
  color: #000000;
}

/* リンクボタン */
.button a {
  text-decoration: none;
  text-align: center;
  border: #FFD472;
  border-radius: 30%;
  background-color: white;
}

.button {
  position: relative;
  padding: 10px;
  display: block;
  border-radius: 40px;
}

.button span::before {
  content: "";
  margin: auto;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 20px;
  width: 13px;
  /* くの字を山なりに見た時、左側の長さ */
  height: 13px;
  /* くの字を山なりに見た時、右側の長さ */
  border-top: 3px solid #F5BE41;
  /* くの字を山なりに見た時、左側の太さと色 */
  border-right: 3px solid #F5BE41;
  /* くの字を山なりに見た時、右側の太さと色 */
  transform: rotate(45deg);
  /* くの字の向き */
}

.button span::after {
  /* 棒の表示設定 */
  content: "";
  margin: auto;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 21px;
  width: 60px;
  /* 棒の長さ */
  height: 3px;
  /* 棒の太さ */
  background: #F5BE41;
  /* 棒の色 */
}

header {
  position:fixed;
  background-color: rgb(0, 0, 0, 0);
  display: flex;
  z-index: 10;
  justify-content: space-between;
  width: 100%;
}

.mv {
  position: relative;
}

.logo {
  top: 0;
  left: 0;
}

.logo_img {
  display: block;
  width: 50%;
}

.logo_img a {
  display: block;
}

.g_nav {
  margin-top: 50px;
  right: 0;
  white-space: nowrap;
  margin-right: 50px;
}

nav {
  width: 100%;
  margin: auto;

}

header nav ul {
  top: 30%;
  display: flex;
  gap: 1rem;
  width: 560px;
  
}

ul li {
  display: block;
  font-weight: bold;
  font-size: 1.875rem;
}

ul li a {
  color: black;
  padding: 10px;
  text-decoration: none;
}

.home {
  display: none;
}

/* @media screen and (max-width: 1201px) {
.logo_img {
    width: 100%;
  }
}  */

@media screen and (max-width: 960px) {

  /* 959px以下に適用されるCSS（タブレット用） */
  .logo_img {
    width: 37%;
  }
  .home {
    display: block;
  }

  .g_nav {
    margin-top: 0;
  }

  .sec_caption {
    text-align: center;
    position: static;
    display: block;
  }

  .nav-toggle {
    display: block;
    position: fixed;
    width: 42px;
    height: 42px;
    right: 20px;
    top: 10px;
    cursor: pointer;
    z-index: 10;
  }

  .nav-toggle span {
    display: block;
    width: 100%;
    border-bottom: 3px solid black;
    position: absolute;
    transition: .35s ease-in-out;
    z-index: 12;
  }

  .nav-toggle span:nth-child(1) {
    top: 5px;
  }

  .nav-toggle span:nth-child(2) {
    top: 18px;
  }

  .nav-toggle span:nth-child(3) {
    top: 32px;

  }

  /* .nav-toggleをクリックして.activeが付与された時 */
  .nav-toggle.active span:nth-child(1) {
    top: 18px;
    transform: rotate(-45deg);
  }

  .nav-toggle.active span:nth-child(2),
  .nav-toggle.active span:nth-child(3) {
    top: 18px;
    transform: rotate(45deg);
  }

  header nav {

    position: absolute;
    text-align: center;
    transition: .5s ease-in-out;
    transform: translateY(-150%);
    top: 100%;
    width: 100%;
    left: 0%;
  }

  header nav ul {
    margin: 0 auto;
    width: auto;
    flex-direction: column;
    align-items: stretch;
    list-style: none;
    gap: 0;
  }

  nav ul li a {
    background: rgba(243, 238, 225, 1);
    display: block;
    max-width: 100%;
    padding: 50px;
    border-bottom: 2px dotted darkgray;
    color: black;
    text-decoration: none;
  }

  /* .nav-toggleをクリックして.activeが付与された時 */
  nav.open {
    transform: translateY(0);
    top: 0;
  }
}

/* footer */
.category_daily .container {
  padding-bottom: 28 0px;
}

footer {
  background-image: url(../images/Group\ 17.png);
  height: 192px;
  width: 100%;
  text-align: center;
  align-items: center;
  display: flex;
  position: absolute;
  bottom: 0;
  left: 0;
}

.copy {
  margin: 0 auto;
  font-weight: bold;
  text-align: center;
}

/* トップへ戻るボタン */
.page_top_btn {
  text-decoration: none;
  position: fixed;
  bottom: 10px;
  right: 10px;
  font-weight: bold;
  font-size: 20px;
  padding: 1.3em;
  text-align: center;
  z-index: 9999;
  color: black;
  transition: 0.3s;
  border-radius: 50%;
  background-color:#f3eee1;
}
/* マウスオーバー時 */

.page_top_btn:hover {
  background: rgb(255, 0, 0, 0.8);
  color: rgb(255, 255, 255, 0.8);
}

.content.white {
  height: 500px;
  background-color: #fff;
}

.content.gray {
  height: 500px;
  background-color: #eee;
}
html{
  scroll-behavior: smooth;
}
@media screen and (max-width:650px) {
  .button span::before {
    display: none;
  }

  .button span::after {
    display: none;
  }
}
@media screen and (max-width:500px) {

  /* 500px以下に適用されるCSS（スマホ用） */
  .button a {
    font-size: 20px;
  }

  .button span::before {
    display: none;
  }

  .button span::after {
    display: none;
  }

  .container {
    padding: 15px;
  }
}