html{
  scroll-behavior: smooth;
}

body {
    margin: 0 auto;
    width: 100%;
    background-color: white;
    font-family: "Noto Sans JP", sans-serif;
    font-family: "Yu Mincho", "Hiragino Mincho Pro", "Hiragino Mincho ProN", serif;
    overflow-x: hidden;
}

img{
  width:100%;
  display:block;
}

.pc {
  display: none !important;
}

.sp {
  display: block !important;
}


@media (min-width: 651px) {
  .pc {
    display: block !important;
  }

  .sp {
    display: none !important;
  }
}

.header-wrapper {
  position: relative;
}

.header {
    position: sticky;
    z-index: 1002;
    padding: 0.5% 3% 0.5% 3%;
    box-shadow: 0px 5px 22px 0px rgb(0 0 0 / 25%);
    top: 0;
  }

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area{
  margin-right: auto; 
}

.logo-area img{
  width:60%;
}

.header-wrapper {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  background: #fff;
  z-index: 2000;
}

.header-button{
  width: 36%;
  margin-top: 5px;
  margin-right: 13px;
  display: flex; 
}

@media screen and (max-width: 650px) {
  .logo-area img{
    width: 75%;
  }
  .header {
    height: auto;
    padding: 4% 5% 3% 5%;
  }
  .header-button{
    width:60%;
    margin-right: 20px;
  }
}

/* ハンバーガー */
.hamburger {
    width: 28px;
    height: 21px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    position: relative;
    z-index: 1001;
  }
  
  .hamburger span {
    height: 3px;
    background: #2a2a2a;
    border-radius: 3px;
    transition: 0.3s;
  }
  
  /* ナビ */
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(241, 233, 221, 0.9);
    z-index: 1001;
    opacity: 0.5;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
            transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  }
  
  .nav ul {
    list-style: none;
    padding: 0 20px;
    text-align: right;
  }
  
  .nav li {
    margin-bottom: 20px;
  }
  
  .nav a {
    text-decoration: none;
    color: #2a2a2a;
    font-size: 16px;
  }
  
  /* 表示状態 */
  .nav.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  /* ハンバーガー → × */
  .hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  .cta_area01 {
    position: relative;
  }
  
  .cta_sp {
    position: absolute;
    bottom: 37%;
    left: 50%;
    transform: translateX(-50%);
    width: 90% !important;
  }

  .cta_sp2{
    position: absolute;
    bottom: 52%;
    left: 50%;
    transform: translateX(-50%);
    width: 83% !important;
  }

  .cta_pc {
    position: absolute;
    bottom: 39%;
    left: 50%;
    transform: translateX(-50%);
    width: 38% !important;
  }

  .cta_pc2 {
    position: absolute;
    bottom: 52%;
    left: 50%;
    transform: translateX(-50%);
    width: 38% !important;
}
  .cta_bottom {
    position: absolute;
    bottom: 26%;
    left: 50%;
    transform: translateX(-50%);
    width: 83%;
    display: flex;
  }

  .cta_bottom img{
    width:100%;
    display:block;
  }

  .cta_bottom_02 {
    position: absolute;
    bottom: 11%;
    left: 50%;
    transform: translateX(-50%);
    width: 91%;
    display: flex;
  }

  .cta_bottom_pc {
    position: absolute;
    bottom: 31%;
    left: 50.3%;
    transform: translateX(-50%);
    width: 39.5%;
    display: flex;
    align-items: flex-start;
  }

  .cta_bottom_pc_02 {
    position: absolute;
    bottom: 20%;
    left: 50.5%;
    transform: translateX(-50%);
    width: 39%;
    display: flex;
    align-items: flex-start;
  }
  
  .cta_bottom_pc a{
    width: 50%;
    line-height: 0;
  }
  
  .cta_bottom_pc img{
    width: 100%;
    height: auto;
    display: block;
  }

  .cta_bottom_pc a + a{
    margin-left:-15px;
  }

  .cta_bottom_pc_02 a{
    width: 50%;
    line-height: 0;
  }
  
  .cta_bottom_pc_02 img{
    width: 100%;
    height: auto;
    display: block;
  }

  .cta_bottom_pc_02 a + a{
    margin-left:-15px;
  }

  /* アコーディオン全体 */
.accordion {
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

.acc-wrap-title{
  width:80%;
  margin:0 auto;
}

.accordion-wrapper{
  padding:10% 5%;
  background-image: url("../img/acc_bg_sp.jpg");
  background-size: 120% auto;   /* ← これが重要 */
  background-position: top center;
  background-repeat: no-repeat;
}

@media (min-width: 651px) {
  .acc-wrap-title {
    width: 44%;
    margin: 0 auto;
    margin-bottom: 40px;
  }
  
  .accordion-wrapper{
    padding:3% 5%;
    background-image: url("../img/acc_bg_pc.jpg");
    background-size: 120% auto;   /* ← これが重要 */
    background-position: top center;
    background-repeat: no-repeat;
  }
}

.accordion-item {
  margin-bottom: 20px;
}

@media (min-width: 651px) {
  .accordion-item {
    width: 60%;
    margin: 0 auto;
    padding-bottom: 30px;
  }
}

.accordion {
  max-width: 650px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

.accordion-title img,
.accordion-content img {
  width: 100%;
  height: auto;
}

/* 開閉部分 */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.accordion-item.active .accordion-content {
  max-height: 2000px; /* 画像より大きめに */
}

.accordion-title {
  cursor: pointer;
}

.accordion-title,
  .accordion-content {
    margin: -1px;
  }

@media (min-width: 651px) {
  .accordion-title,
  .accordion-content {
  padding: 0 !important;
  margin: -3px;
}
}

/* SP / PC 切替 */
.sp{
  display:block;
}

.pc{
  display:none;
}

@media (min-width:651px){
  .sp{
    display:none;
  }
  .pc{
    display:block;
  }
}

.title-open{
  display:none !important;
}

/* アコーディオンコンテンツ */
.accordion-content{
  display:none;
}

.accordion-item.active .accordion-content{
  display:block;
}


/* 親 */
.voice-section {
  position: relative;
  width: 100%;
}

.voice-bg {
  width: 100%;
  display: block;
}

.voice-bg_pc {
  display: none;
}

@media (min-width: 651px) {

  .voice-bg {
    display: none;      /* SPを消す */
  }

  .voice-bg_pc {
    display: block;     /* PCを表示 */
    width: 100%;
  }

}

/* スライダーを重ねる */
.voice-slider {
  position: absolute !important;
  top: 60%;              /* 縦中央 */
  left: 50%;             /* 横中央 */
  transform: translate(-50%, -50%);
  width: 80%;
}

/* 画像 */
.voice-slider img {
  width: 100%;
  display: block;
}

@media (min-width: 651px){

  .voice-slider {
    max-width: 1000px;   /* ← 数字を小さくするほど全体が小さくなる */
    margin: 0 auto;  
    width: 60%;   /* 中央寄せ */
  }

  .voice-slider img {
    width: 100%;
    height: auto;
    display: block;
  }

}

/* ===== ドット ===== */
.slick-dots li button:before {
  font-size: 8px !important;
  color: #fff !important;
}

.slick-dots li {
  margin: 0 !important;
}

.slick-dots li.slick-active button:before {
  color: #fff !important;
}


.slick-prev,
.slick-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 20px !important;
  height: 40px !important;
  padding: 0;
  border: none;
  outline: none;
  background-color: transparent !important;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  font-size: 0;
  line-height: 0;
  z-index: 999;
  cursor: pointer;
  background: none !important;
}


.slick-prev::before,
.slick-next::before {
  content: none !important;
  display: none !important;
}


.custom-prev {
  background-image: url("../img/prev.png") !important;
  left: 10px;
}


.custom-next {
  background-image: url("../img/next.png") !important;
  right: 10px;
}

.custom-prev,
.custom-next {
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: contain !important;
}

.sp-slider{
  display:none;
}

.pc-slider{
  display:block;
}

@media screen and (max-width:650px){

  .sp-slider{
    display:block;
  }

  .pc-slider{
    display:none;
  }

}


.qa-section {
  background-image: url("../img/qa_bg_sp.jpg");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
  padding: 95px 20px 12px;
}

.qa-title {
  position: absolute;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
}


.faq-list {
  max-width: 800px;
  margin: 13% auto;
}

@media (min-width: 651px){
  .qa-title {
    width: 21%;
    margin: 3% auto;
  }
  .qa-section {
    padding: 3% 20px 12px;
}

.faq-list {
  margin: 0 auto;
  padding-top: clamp(180px, 12vw, 160px);
  padding-bottom: clamp(72px, 4vw, 160px);
}
}

.faq-item {
  background: #fff;
  border-radius: 16px;
  margin-bottom: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: 0.3s;
}

.faq-question {
  display: flex;
  align-items: center;
  padding: 20px 20px;
  cursor: pointer;
  font-weight: bold;
  gap: 10px;
}

.faq-q-icon {
  background: #C4A77D;
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  font-size: 14px;
}

.faq-q-text {
  flex: 1;
  margin: 0;
  font-size: 20px;
}

.faq-toggle {
  font-size: 22px;
  transition: 0.3s;
  font-weight: 200;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 20px;
}

.faq-a-text {
  padding: 0 20px 20px 40px;
  margin: 0;
  line-height: 1.8;
  color: #000000;
  font-weight: 400;
}

/* 開いたとき */
.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-item.active .faq-toggle {
  transform: rotate(180deg);
}

@media (min-width: 651px){

}

footer {
  padding: 12% 0% 21%;
  text-align: center;
  background-color: #343434;
}

.footer_rogo{
  width: 46%;
  margin: 0 auto;
  margin-bottom:20px;
}

footer a{
  color: #fff;
  text-decoration: none;
}

footer p{
  line-height: 2.8;
}

@media (min-width: 651px) {
  footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px; /* ロゴとリンクの間隔 */
    text-align: left;
    padding: 2% 3% 2%;
    
  }
  .footer_rogo{
    width: 12%;
    margin: 0;
  }
  footer a{
    margin-right:15px;
  }
}

footer p a {
  white-space: nowrap;
}

.accordion-content{
  position: relative;
}

.tab-wrap{
  position:relative;
}

/* タブ */

.tab-buttons{
  position:absolute;
  bottom:45%;
  left:50%;
  transform:translateX(-50%);
  display:flex;
  gap:1%;
  width:70%;
  padding:0;
  margin:0;
  justify-content:center; 
}

@media (min-width: 651px) {
.tab-buttons{
  position:absolute;
  bottom:60%;
}
}

.tab-buttons li{
  flex:1;
  text-align:center;

  padding:0 20%;
  line-height:2.2;

  font-size:clamp(10px,1.2vw,16px);
  white-space:nowrap;

  background:#333; /* ← 未選択を黒 */
  color:#fff;
  font-weight:bold;
  cursor:pointer;

  clip-path: polygon(8% 0,92% 0,100% 100%,0 100%);

  opacity:0.3;
  transition:0.3s;
}

.tab-buttons li.active{
  background:#9b7449; /* ← 選択中を茶色 */
  opacity:1;
}

.tab-content{
  display:none;
  position:absolute;
  top: 55%;
  width: 93%;
  left:50%;
  transform:translateX(-50%);
}

.tab-content.active{
  display:block;
}

@media (min-width: 651px) {
.tab-content{
  top: 40%;
}

.tab-content img{
  width:100%;
  display:block;
}
}

.bottom-hamburger{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}

@media (min-width: 585px) {
  .bottom-hamburger{
    margin-top:2%;
  }
}

/* 三本線 */
.bottom-hamburger span{
  display:block;
  width:26px;
  height:3px;
  background:#333;
  border-radius:2px;
  margin:5.5px 0 1px;
  transition:0.3s;
}

/* メニュー文字 */
.menu-text{
  font-size:3.5vw;
  margin-top:3px;
  white-space:nowrap;
}
.bottom-btn img{
  width:100%;
  height:auto;
  display:block;
}

/* × に変形 */
.bottom-hamburger.active span:nth-child(1){
  transform: translateY(9px) rotate(45deg);
}

.bottom-hamburger.active span:nth-child(2){
  opacity:0;
}

.bottom-hamburger.active span:nth-child(3){
  transform: translateY(-9px) rotate(-45deg);
}

/* ボトムナビ */
.bottom-nav{
  position: fixed;
  bottom:0;
  left:0;
  width:100%;

  background:#fff;
  border-top:1px solid #ddd;

  display:flex;
  justify-content:space-around;
  align-items:center;

  padding:10px 0;
  z-index:9999;
}

/* リンク */
.bottom-nav a{
  text-decoration:none;
  color:#333;
  font-size:12px;
}

/* ボトムナビ全体 */
.bottom-nav-menu {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #fff;
  z-index: 2000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
}

.bottom-nav-menu.is-show{
  opacity: 1;
  transform: translateY(0);
  visibility:visible;
}

.bottom-links {
  position: absolute;
  bottom: 100%;
  left: 0;
  width: 100%;
  background: rgba(241, 233, 221, 0.9);
  box-shadow: 0 -4px 10px rgba(0,0,0,0.1);
  padding: 15px;
  margin:0 !important;

  opacity: 0;
  transform: translateY(20px);
  visibility: hidden;

  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* メニュー開いたとき */
#bottomNav.active .bottom-links{
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.bottom-links li{
  list-style:none;
}

.bottom-links a{
  text-decoration:none;
  color:#2a2a2a;
}

.bottom-nav-menu.active .bottom-links {
  display: block;
}

/* ボタンとハンバーガーを横並び */
.bottom-buttons-wrapper {
  display: flex;
  align-items: center;
  margin-left: auto; /* 左寄せメニューの右端に配置 */
}

/* ボタン */
.bottom-btn {
  cursor: pointer;
  width: 26%;
}

.bottom-btn:nth-child(3) {
  margin-right: 16px;
}

@media (min-width: 400px) {
  .bottom-btn:nth-of-type(3){
    margin-right:26px;
  }
}  

/* PCではボトム非表示 */
@media (min-width: 651px) {
  .bottom-nav-menu {
    display: none;
  }
}

/* SPではヘッダー非表示 */
@media (max-width: 650px) {
  .header-wrapper {
    display: none;
  }
}

.title-open{
  display:none;
}

.title-close{
  display:block;
}

.accordion-item.active .title-close{
  display:none;
}

.accordion-item.active .title-open{
  display:block;
}