@charset "UTF-8";

/* --------------------------------------------------------------------
  よくあるご質問
-------------------------------------------------------------------- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 200px; 
}


.rental-faq .faq_area {margin-top: 80px;}
.rental-faq .faq_area:first-child {margin-top: 60px;}

.rental-faq h2 {
  font-size: 30px;
  margin-bottom: 24px;
  font-weight: bold;
  color: #222;
  text-align: center;
}

 .rental-faq .accordion {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
    margin-bottom: 20px;
  }
 .rental-faq .accordion-item {
    border-bottom: 1px solid #ddd;
  }
 .rental-faq .accordion-item:last-child {
    border-bottom: none;
  }
 .rental-faq .accordion input[type="checkbox"] {
    display: none;
  }
 .rental-faq .accordion label {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 16px;
    font-weight: bold;
    position: relative;
    line-height: 1.5em;
    padding: 16px 30px 16px 16px;
  }
 .rental-faq .accordion label::before {
    content: "Q";
    display: inline-block;
    width: 24px;
    height: 24px;
    background: #004a98;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 22px;
    margin-right: 12px;
    flex-shrink: 0;
  }
 .rental-faq .accordion label::after {
    content: "＞";
    position: absolute;
    right: 16px;
    font-size: 16px;
    transition: transform 0.3s ease;
  }
 .rental-faq .accordion input[type="checkbox"]:checked + label::after {
    transform: rotate(180deg);
  }
 .rental-faq .accordion .content {
     display: flex;
    align-items: center;
    max-height: 0;
    overflow: hidden;
    background: #f5f9fd;
    color: #333;
    padding: 0 16px;
    margin: 0 15px 0px 15px;
    border-radius: 8px;
    line-height: 1.5em;
    transition: max-height 0.5s ease, padding 0.3s ease;
  }

 .rental-faq .accordion .content::before {
    content: "A";
    display: inline-block;
    width: 24px;
    height: 24px;
    background: #6cb8da;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 22px;
    margin-right: 12px;
    flex-shrink: 0;
  }

 .rental-faq .accordion .content ul {
margin: 10px;
}
 .rental-faq .accordion .content ul li{
margin: 0.3em 0;
}

 .rental-faq .accordion .content a{
color: #004a98;
font-weight:bold;
}

 .rental-faq .accordion input[type="checkbox"]:checked ~ .content {
    max-height: 800px; /* 高さは必要に応じて調整 */
    padding: 16px;
    margin-bottom: 15px;
  }



/* --------------------------------------------------------------------
  ご利用規約
-------------------------------------------------------------------- */

.kiyaku  {
line-height: 1.5em;
}

.kiyaku .waku {
box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
padding:20px;
margin:20px 10px;
border-radius: 7px;
}

.kiyaku  h1 {
      font-size: 28px;
      padding-bottom: 10px;
      margin-bottom: 30px;
    }
    .kiyaku  h2 {
      font-size: 20px;
      color: #003399;
      border-left: 5px solid #003399;
padding-left:7px;
      margin-bottom: 20px;
line-height: 1.3em;
    }
    .kiyaku  p {
      margin-bottom: 15px;
    }


/* 共通の初期化 */
    .kiyaku ol {
  list-style: none;
  counter-reset: item;
  margin-left: 1.5em;
  padding-left: 0;
margin-bottom: 5px;

}

/* アルファベット番号対応 */
    .kiyaku ol[type="a"] > li {
  counter-increment: item;
  position: relative;
padding: 3px 0 3px 0.5em;
}

    .kiyaku ol[type="a"] > li::marker {
  content: "(" counter(item, lower-alpha) ")";
  position: absolute;
  left: 0;
  color: #003399; /* お好きな色 */
  font-weight: bold;
}

/* デフォルト番号（数字）の場合 */
    .kiyaku ol:not([type]) > li,
    .kiyaku ol[type="1"] > li {
  counter-increment: item;
  position: relative;
padding: 5px 0 5px 0.5em;
}

    .kiyaku ol:not([type]) > li::marker,
    .kiyaku ol[type="1"] > li::marker {
  content: "(" counter(item) ")";
  position: absolute;
  left: 0;
  color: #003399;
  font-weight: bold;
}


    .kiyaku  a {
      color: #0066cc;
      text-decoration: underline;
    }