/*
brakepoint
*/
@import url("https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@300;400;700&display=swap");

body {
  font-size: 16px;
  background-color: #f8f7f3;
  color: #42210b;
  font-family: "fot-tsukuardgothic-std", sans-serif;
  font-weight: 700;
  font-style: normal;
}

section {
  font-size: 25px;
  color: #42210b;
}

#loader {
  display: none;
}

main h2 {
  display: block;
  font-size: 35px;
  line-height: 1.5;
  margin-bottom: 6%;
}

.set {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
}

.lefttext {
  width: 50%;
  display: flex;
  justify-content: flex-end;
  flex-direction: column;
}

.title {
  text-align: center;
}

.maintext {
  line-height: 2;
  padding-left: 100px;
}

.wave-container {
  position: relative;
  width: 100%;
  line-height: 0;
  margin: -5px 0;
}

.wave-container svg {
  display: block;
  width: 100%;
  height: auto;
}

.waveinversion {
  transform: scaleY(-1); /* 上下反転 */
}

.targets {
  text-align: center;
}

.targetblock {
  width: 80%;
  margin: 0 auto;
}

.targetteext {
  margin: 5% 0;
}

.checklist {
  display: flex;
  align-items: center;
  background-color: white;
  margin: 3% 0;
  border: solid 2px;
  padding: 2%;
}

.targetcheckbox {
  width: 42px;
  margin: 0 2% 0 1%;
}

.points {
  background-color: #f0e9d0;
}

.pointtitle {
  text-align: center;
  line-height: 2;
  font-weight: bold;
  margin-top: 6%;
}

.pointtext {
  padding-left: 2%;
  line-height: 1.5;
}

.pointdescription {
  width: 80%;
  margin: 0 auto;
}

.pointsubtitle {
  background-color: #754c24;
  color: white;
  padding: 2%;
  margin: 7% 0 2% 0;
}

.concepts {
  background-color: #f3e196;
  padding-top: 8%;
}
 .examples {
  padding: 0 2%;
  text-align: center;
 }
 .pconly{
  display: block;
 }
 .sponly{
  display: none;
 }
 .customervoices{
  background-color: #f3e196;
  text-align: center;
 }
 .customervoicerow{
  display: flex;
  justify-content: center;
  margin-top: 5%;
 }
 .customervoice{
  margin: 0 5%;
  width: 30%;
 }
 .voicetitile{
  padding-bottom: 10%;
 }
 .voicetext{
  line-height: 1.3;
  text-align: left;
 }

 .flow {
  text-align: center;
 }

 .flowtext {
  padding-left: 2%;
  line-height: 1.5;
  text-align: left;
}

.flowdescription {
  width: 80%;
  margin: 0 auto;
  text-align: left;
}

.flowsubtitle {
  background-color: #754c24;
  color: white;
  padding: 2%;
  margin: 7% 0 2% 0;
}


 [class^="morecheckbox"] {
  display: none; /* チェックボックスを非表示 */
}

[class^="moretext"] {
  display: none; /* 初期状態は非表示 */
}

[class^="morebutton"] {
  cursor: pointer;
  text-decoration: underline;
  display: inline-block;
}

.cardtitle {
  background-color: #6b4423;
  color: white;
  font-weight: bold;
  padding: 5px 15px;
  border-radius: 15px;
  display: inline-block;
  margin-bottom: 10px;
}
.price {
  font-size: 20px;
  font-weight: bold;
  color: #6b4423;
  margin-top: 10px;
}

/* チェックされたら moretext を表示 */
[class^="morecheckbox"]:checked ~ [class^="moretext"] {
  display: inline;
}

/* チェックされたら morebutton を非表示 */
[class^="morecheckbox"]:checked ~ [class^="morebutton"] {
  display: none;
}

.menu {
  background-color: #f0e9d0;
  text-align: center;
}

.menu img{
  margin-bottom: 2%;
}

.card {
  width: 80%;
  margin: 0 auto;
}

.image-wrapper {
  position: relative;
  display: inline-block;
}

.image-wrapper img {
  width: 100%;
  height: auto;
}

.overlay-text {
  line-height: 1.5;
  position: absolute;
  bottom: 23%;
  left: 40%;
  transform: translateX(-50%);
  width: 65%;
  padding: 10px;
  border-radius: 5px;
}

.questions {
  text-align: center;
}

.questionblock {
  width: 80%;
  margin: 0 auto;
}

.questionstitle {
  margin: 5% 0;
}

.qnadabox{
  align-items: center;
  background-color: white;
  margin: 3% 0;
  border: solid 2px;
  padding: 2%;
}

.mottobutton {
  margin-top: 3%;
  text-align: center;
}

.couponlink {
  text-decoration: none;
  border: solid 2px;
  padding: 1% 4%;
  background-color: #f8f7f3;
  position: relative;
  z-index: 10;
}

.access {
  background-color: #f3e196;
  text-align: center;
}

.access img{
  margin-bottom: 2%;
}

.map {
  margin: 3% 0;
}

.answer{
  display: flex;
  align-items: flex-start;
  margin-top: 3%;
}

.questionmark, .answermark {
  width: 3%;
  height: auto;
}

.questiontext{
  border-bottom: 2px solid;
  text-align: left;
}

.questiontext, .answertext {
  display: flex;
  align-items: center;
  line-height: 1.5;
  text-align: left;
}

.parkingbutoon {
  margin: 3% 0;
  text-align: center;
}
.questionblock {
  margin-bottom: 10px;
}

details {
  border: solid 2px;
  border-radius: 5px;
  padding: 10px;
  width: 100%;
  background: #f8f9fa;
  margin: 3%;
}

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: bold;
  border-radius: 5px;
  list-style: none;
}

summary::after {
  content: "→";
  margin-left: auto;
}

details[open] summary::after {
  content: "↓";
}

.questionmark {
  margin-right: 10px;
}

/* スマホ用 (最大幅599px) */
@media screen and (max-width: 599px) {
  main h2 {
    font-size: 14px;
    line-height: 1.4;
  }
  .spheader {
    margin-right: 5%;
  }
  .section {
    font-size: 20px;
  }
  .title {
    font-size: 12px;
    line-height: 1.2;
  }
  .maintext {
    font-size: 10px;
    line-height: 2;
    padding-left: 25px;
  }
  .checklist {
    font-size: 10px;
  }

  .pointdescription {
    font-size: 10px;
  }

  .pointsubtitle {
    font-size: 10px;
  }
  .pconly{
    display: none;
   }
  .sponly{
    display: block;
  }
  .rightimg{
    width: 50%;
   }
   .targetcheckbox{
    width: 9%;
   }
   .customervoicetitle{
    width: 50%;
   }
   .customervoice{
    margin: 0 4%;
    width: 30%;
    font-size: 12px;
   }
   .customervoicerow{
    margin: 0 2% 3% 2%;
   }
   .flowtitle{
    width: 30%;
   }
   .couponlink{
    font-size: 14px;
   }
   .accesstitle{
    width: 50%;
   }
   .accesstext{
    font-size: 14px;
   }
   .flow{
    font-size: 14px;
   }
   .overlay-text {
    font-size: 11px;
    line-height: 1.5;
    position: absolute;
    bottom: 26%;
    left: 39%;
    transform: translateX(-50%);
    width: 60%;
    border-radius: 5px;
    padding: 0;
  }
  .card{
    width: 100%;
  }
  .menutitle{
    width: 40%;
  }
  .map {
    width: 80%;
    height: 50%;
  }
  .questiontitle{
    width: 50%;
  }
  .qnadabox{
    font-size: 16px;
  }
  .questionmark, .answermark {
    width: 10%;
    height: auto;
  }
  .questiontext, .answertext {
    font-size: 14px;
  }
  .menu-toggle {
    cursor: pointer;
    width: 30px;
    height: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  .menu-toggle span {
    display: block;
    height: 4px;
    background: #42210b;
    border-radius: 2px;
  }
  
  .nav {
    display: none;
    background-color: #f8f7f3;
    position: absolute;
    top: 50px;
    left: 0;
    right: 0;
  }
  
  .nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  .nav ul li {
    border-bottom: 1px solid #555;
  }
  
  .nav ul li a {
    color: #42210b;
    text-decoration: none;
    display: block;
    padding: 15px;
  }
  
  .nav.show {
    display: block;
  }

  .headermenu {
    display: none;
  }
}

/* タブレット用 (600px～1024px) */
@media screen and (min-width: 600px) and (max-width: 1400px) {
  main {
    font-size: 25px;
  }
  main h2 {
    font-size: 25px;
    line-height: 1.4;
  }
  .spheader {
    margin-right: 5%;
  }
  .section {
    font-size: 20px;
    color: red;
  }
  .title {
    font-size: 25px;
    line-height: 1.5;
  }
  .maintext {
    font-size: 16px;
    line-height: 2;
    padding-left: 50px;
  }
  .checklist {
    font-size: 16px;
  }

  .pointdescription {
    font-size: 16px;
  }

  .pointsubtitle {
    font-size: 16px;
  }
  .pconly{
    display: none;
   }
  .sponly{
    display: block;
  }
  .rightimg{
    width: 50%;
   }
   .targetcheckbox{
    width: 5%;
   }
   .customervoicetitle{
    width: 50%;
   }
   .customervoice{
    margin: 0 4%;
    width: 30%;
    font-size: 16px;
   }
   .customervoicerow{
    margin: 0 2% 3% 2%;
   }
   .flowtitle{
    width: 30%;
   }
   .couponlink{
    font-size: 16px;
   }
   .flow{
    font-size: 16px;
   }
   .overlay-text {
    font-size: 30px;
    line-height: 1.5;
    position: absolute;
    bottom: 28%;
    left: 38%;
    transform: translateX(-50%);
    width: 75%;
    border-radius: 5px;
    padding: 0;
  }
  .card{
    width: 100%;
  }
  .map {
    margin: 5% 0;
  }
  .menu-toggle {
    cursor: pointer;
    width: 30px;
    height: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  .menu-toggle span {
    display: block;
    height: 4px;
    background: #42210b;
    border-radius: 2px;
  }
  
  .nav {
    display: none;
    background-color: #f8f7f3;
    position: absolute;
    top: 50px;
    left: 0;
    right: 0;
  }
  
  .nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  .nav ul li {
    border-bottom: 1px solid #555;
  }
  
  .nav ul li a {
    color: #42210b;
    text-decoration: none;
    display: block;
    padding: 15px;
  }
  
  .nav.show {
    display: block;
  }

  .mainmenu ul {
    display: flex;
    align-items: center;
    gap: 0 10px;
    margin: 0;
    padding: 0;
  }
  
  .mainmenu ul li {
    position: relative;
    height: 100%;
    line-height: 1;
    margin: 0;
    padding: 0;
  }
  
  .mainmenu ul li a {
    position: relative;
    display: grid;
    place-content: center;
    width: 100%;
    height: 100%;
    color: #FFFFFF;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s ease-out;
  }

  .mainmenubox{
    display: none;
  }
   
}