h2 {
  padding: 1rem 2rem;
  border-left: 5px solid #CC9D2D;
  background: #fffbee;
  max-width: 60%;
  margin: 50px auto;
}

.faq-twice {
  display: flex;
  justify-content: center;
  margin: auto;
  max-width: 60%;
}

.faq-boxtop {
  margin: 20px auto 20px;
  padding: 20px;
  background-color: #fef9e7;
  border-radius: 5px;
  width: 45%;
  gap: 20px
}

.faq-title {
  position: relative;
  color: #000000;
  padding: 10px;
  margin: 0;
  width: 100%;
  font-size: 20px;
  font-weight: bold;
}

.moreview {
  max-width: 60%;
  margin: auto;
  margin-top: 20px;
}

.meny-view {
  max-width: 60%;
  margin: 50px auto 10px;
  font-size: 20px;
  font-weight: bold
}

a:hover {
  color: #C01F17;
}

a {
  color: inherit;
  /* 親要素の色を継承（必要に応じて） */
}

p {
  font-size: 17px;
}

img {
  width: 40px;
}

.faq {
  font-size: 40px;
  text-align: center;
  padding: 20px;
  margin: 100px auto 0px;
  background-color: #CC9D2D;
  font-weight: 700;
  color: #FFF;
  font-family: 'Noto Sans JP', sans-serif;
  border-radius: 8px 8px 0 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}



.faq-box {
  display: flex;
  width: 100%;
}

.container {
  width: auto;
  display: flex;
  max-width: auto;
}

.body {
  width: 100%;
  padding: 100px 0px;
}

.side {
  width: 20%;
  background-color: #F4EDD3;
  padding-top: 50px;
}

.container {
  max-width: 100%;
}

.side ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.side li {
  margin: 20px 10px;
}

.side a {
  text-decoration: none;
  color: #000000;
  font-size: 15px;
  font-weight: 500;
}

.side a span {
  float: right;
  font-weight: normal;
}

.side a:hover {
  display: block;
  color: #212529;
  text-decoration: none;
  padding: 12px 16px;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  font-weight: bold;
  transition: background-color 0.3s;
}

ul {
  text-align: center;
}

.qa-1 {
  max-width: 60%;
  margin: 30px auto;
  border: 1px solid #cc9d2d;
  border-radius: 5px;
}

.qa-1 summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding: 1em 2em 1em 3em;
  color: #333333;
  font-weight: 600;
  cursor: pointer;
}

.qa-1 summary::before,
.qa-1 p::before {
  position: absolute;
  left: 1em;
  font-weight: 600;
  font-size: 1.3em;
}

.qa-1 summary::before {
  color: #CC9D2D;
  content: "Q";
}

.qa-1 summary::after {
  transform: translateY(-25%) rotate(45deg);
  width: 7px;
  height: 7px;
  margin-left: 10px;
  border-bottom: 3px solid #333333b3;
  border-right: 3px solid #333333b3;
  content: '';
  transition: transform .5s;
}

.qa-1[open] summary::after {
  transform: rotate(225deg);
}

.qa-1 p {
  position: relative;
  transform: translateY(-10px);
  opacity: 0;
  margin: 0;
  padding: .3em 3em 1.5em;
  color: #333;
  transition: transform .5s, opacity .5s;
}

.qa-1[open] p {
  transform: none;
  opacity: 1;
}

.qa-1 p::before {
  color: #C01F17;
  line-height: 1.2;
  content: "A";
}



.height-box {
  display: block;
}

.breadcrumb {
  margin: 0;
  padding: 0;
  list-style: none;
  margin-left: 20px;

}

.breadcrumb li {
  display: inline;
  /*横に並ぶように*/
  list-style: none;
  font-size: small;
  margin-left: 17px;

}

.breadcrumb li:after {
  /* >を表示*/
  content: '>';
  padding: 0 0.2em;

}

.breadcrumb li:last-child:after {
  content: '';
}

li[itemprop="itemListElement"] a {
  color: rgb(5, 5, 5);
  text-decoration: none;
}

@media screen and (max-width: 600px) {
  h2 {
    max-width: 90%;
  }

  .meny-view {
    margin: 20px;
  }

  .moreview {
    max-width: 90%;
  }

  .faq-twice {
    max-width: 90%;
    display: block;
    padding: 0px;
  }

  .faq-box {
    width: 90%;
  }

  .faq-box {
    padding: 0px, ;
  }

  .faq-title {
    padding: 0px;
  }

  .qa-1 {
    max-width: 90%;
  }

  h2 {
    max-width: 90%;
  }

  .body {
    padding: 50px 0px;
  }

  .title {
    font-size: 30px;
  }

  .container {
    display: flex;
    flex-direction: column;
  }

  .side {
    order: 2;
    width: 100%;
  }

  .body {
    order: 1;
  }
}
