@charset "UTF=8";
/*body{
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}*/

html, body {
  overflow-x: hidden; /* ✅ 横スクロール防止 */
  background-color: #FFFEFA;
}

/* ✅ 全体ラッパー：スマホサイズを基準に固定*/
.wrapper {
  max-width: 430px;
  margin: 0 auto;
  width: 100%;       /* 横幅は親に合わせる */
  height: auto;      /* 縦横比を維持 */
  transform-origin: top;  /* 上端を基準に拡大 */
}

/* 画像を親幅いっぱいに */
img {
  width: 100%;       /* 親幅に合わせる */
  height: auto;      /* 縦横比を維持 */
  display: block;    /* 下の余白をなくす */
}


.button{
    width: 75%;
    margin-left: auto;
    margin-right: auto;
}
.button{
    animation: zoomin 1.5s cubic-bezier(0.25,1,0.5,1)infinite;
}

.content{
    position: relative;
}

#CTA-1{
    position: absolute;
    top: 54%;
    left: 50%;
    transform: translateX(-50%);
}

#CTA-2{
    position: absolute;
    bottom: 6.5%;
    left: 50%;
    transform: translateX(-50%);
}

#CTA-3{
    position: absolute;
    bottom: 4%;
    left: 50%;
    transform: translateX(-50%);
}

#CTA-4{
    position: absolute;
    bottom: 4%;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
}

#j06{
    margin-right: 10px;
}

.footer{
    width: 50%;
    margin: 0 auto;
    display: block;
    margin-bottom: 10px;
    padding: 20px 0;
}

li{
    text-align: center;
    font-family: "Noto Serif JP", serif;
    font-weight: 600;
    font-size: 16px;
    padding: 10px;
    color: #2B1F00;
}

p{
    color: #2B1F00;
    font-family: "Noto Serif JP", serif;
    font-size:0.7rem;
    padding: 4px;
    margin-top: 20px;
}

a{
    color: #2B1F00;
}

details {
padding:0 12px;
	background-color: #FFFFFF;
      font-family: "Noto Serif JP", serif;
}

summary{
  text-align: center;
 display: flex;
  justify-content: space-between; /* 左右に配置 */
  align-items: center;           /* 垂直中央揃え */
  background-color: #fff;
  color: #2B1F00;
  cursor: pointer;
  font-size: 16px;
  padding: 12px 0px;
  border-top: #2B1F00 0.5px solid;
}

summary::-webkit-details-marker {
  display: none;
}
summary::before {
  content: "Q.";
  color: #948E7D;
  font-family: "Noto Serif JP", serif;
  position: relative;
  font-size: 20px;
    left: 4px;
}

summary::after {
  content: "+";
  color: #2B1F00;
font-size:20px;
position: relative;
}

details[open] summary::after {
  content: "−";
}

.answer {
  color: #2B1F00;
padding: 12px;
font-family: "Noto Sans";
font-size: 14px;
margin: 0;
background-color: #E9E2D7;
border-top: #2B1F00 0.5px solid;
}

#last-summary{
    border-bottom: 0.5px solid #2B1F00;
}

#last-answer{
    border-top: none;
  border-bottom: 0.5px solid #2B1F00;
}

iframe{
    position: absolute;
    z-index: 1;
    left: 50%;
    transform: translateX(-50%);
    bottom: 40px;

}

/*@keyframes zoomin {
    0% {
        transform: translateX(-50%) scale(0.8);
    }
    100% {
        transform: translateX(-50%) scale(1);
    }
}*/

.form{
    margin-top: 10%;
    display: grid;
    justify-items: center;
    background-color: #c6eeff;
}