/* 1. 一口馬主ガイド  */
body {
  font-family: "Hiragino Kaku Gothic ProN","ヒラギノ角ゴ ProN", "Helvetica Neue", "Meiryo", "メイリオ", arial, sans-serif;
}
img{
  width: 100%;
  height: auto;
}
.Contents{
  max-width:  480px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .Contents {
    min-width: 768px;
    max-width: 960px;
  }
}
.container {
  background-color: #ebebeb;
  min-height: 100vh;
  position: relative;
  width: 100%;
}
/* Title Section */
.title-section {
  padding: 30px 10px 0;
  text-align: center;
}
.vertical-title {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 12px;
  max-width: 265px;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 768px) {
  .vertical-title {
    max-width: 360px;
  }
}
.vertical-char {
  background-color: #691e1e;
  color: white;
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.3125px;
  padding: 8px 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 25px;
}
@media (min-width: 768px) {
  .vertical-char {
    width: 50px;
    height: 50px;
  }
}
.vertical-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (min-width: 768px) {
  .vertical-icon {
    width: 50px;
    height: 50px;
  }
}
.subtitle {
  margin-top: 20px;
  font-size: 14px;
  color: #444;
  line-height: 25px;
}
@media (min-width: 768px) {
  .subtitle {
    font-size: 16px;
  }
}
.guide-myhorse-regist .subtitle {
  margin: 22px 0 22px 13px;
}
.section-title {
  font-size: 20px;
  font-weight: 600;
  color: #444;
  position: relative;
  display: inline-block;
  line-height: 20px;
}
.section-title-wrapper {
  position: relative;
  padding: 0 10px;
  margin: 40px auto 22px;
}
.section-title-wrapper h2{
  margin-bottom:20px;
}
.underline {
  background-color: #f6db79;
  height: 10px;
  width: 139px;
  position: absolute;
  bottom: 5px;
  left: 0;
  z-index: -1;
}
.divider {
  height: 2px;
  background: #691E1E;
  width: 100%;
  margin-top: 1px;
}
/* CTA Cards */
.cta-card-wrapper {
  padding: 0 10px;
  margin-bottom: 20px;
}
@media (min-width: 768px) {
  .cta-card-wrapper-wrapper {
    display: flex;
  }
}
.cta-card {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  padding: 2px;
  margin-bottom: 20px;
}
.cta-card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 0 0 16px;
  overflow: hidden;
}
.cta-image {
  width: 100%;
  height: 150px;
  background-color: #f2e4e4;
  border-radius: 8px;
}
@media (min-width: 375px) {
  .cta-image {
    height: auto;
  }
}
.cta-image img{
  border-radius: 8px;
}
.cta-image.img-1 img{
  position: relative;
  top: -10px;
}
.cta-text {
  font-size: 15px;
  font-weight: 300;
  color: #444;
  text-align: center;
  line-height: normal;
}
@media (min-width: 768px) {
  .cta-text {
    font-size: 16px;
  }
}
.cta-button {
  text-align: center;
  background-color: #691e1e;
  color: white;
  border: none;
  border-radius: 50px;
  padding: 6px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  width: 283.75px;
  height: 35px;
  margin: 20px auto;
  display: block;
  line-height: normal;
}
@media (min-width: 768px) {
  .cta-button {
    font-size: 16px;
  }
}
/* Sidebar Section */
.sidebar-wrapper {
  padding: 0 10px;
  margin-bottom: 40px;
}
.sidebar {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  width: 355px;
}
.sidebar-header {
  background-color: #d39696;
  color: white;
  font-size: 20px;
  font-weight: 600;
  text-align: center;
  padding: 12px 16px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 20px;
}
.sidebar-item-wrapper {
  background-color: white;
  border-top: 1px solid #cacaca;
  width: 100%;
}
.sidebar-item-wrapper:last-child {
  border-bottom: none;
}
.sidebar-item {
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  background-color: white;
  min-height: 72px;
  cursor: pointer;
}
.sidebar-item.active{
  border-bottom: 1px solid #cacaca;
}
.sidebar-item-wrapper:last-child .sidebar-item {
  border-bottom: none;
}
.sidebar-number {
  background-color: #9f4949;
  color: white;
  font-size: 16px;
  font-weight: 600;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 22px;
}
.sidebar-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sidebar-title {
  font-size: 18px;
  font-weight: 600;
  color: #444;
  line-height: 18px;
}
.sidebar-subtitle {
  font-size: 14px;
  font-weight: 300;
  color: #666;
  line-height: 22px;
}
.sidebar-detail {
  font-size: 16px;
  font-weight: 300;
  color: #444;
  line-height: 25px;
  padding: 10px 20px 15px;
}
.sidebar-image {
  width: calc(100% - 23px);
  margin: 9px auto 0;
  display: block;
}
.toggle-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.arrow-down {
  display: none;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #691e1e;
}
.arrow-down {
  transition: transform 0.3s ease;
}
.arrow-down.active {
  transform: rotate(180deg);
}
/* FAQ Section */
.faq-section {
  padding: 0;
}
.faq-header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}
.faq-title-part {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.more-btn {
  border: 1px solid #bfbfbf;
  color: #666;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 18px;
  border-radius: 14px;
  cursor: pointer;
  height: 27px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: normal;
}
.faq-list {
  border-radius: 10px;
  overflow: hidden;
}
.faq-item {
  background-color: white;
  padding: 15px 10px;
  border-bottom: 1px solid #ddd;
  position: relative;
  min-height: 54px;
}
.faq-item:first-child {
  border-radius: 0;
}
.faq-item:last-child {
  border-radius: 0;
  border-bottom: none;
}
/* .faq-item.expanded {
  padding: 16px 20px 16px 14px;
} */
.faq-question {
  display: flex;
  gap: 7px;
  font-size: 16px;
  font-weight: 600;
  color: #444;
}
@media (min-width: 768px) {
  .faq-question {
    font-size: 18px;
  }
}
.faq-q {
  width: 30px;
  height: 23.724px;
  line-height: normal;
}
.faq-title {
  max-width: 80%;
  flex: 1;
  line-height: normal;
}
.faq-answer {
  font-size: 14px;
  font-weight: 300;
  color: #444;
  padding-left: 38px;
  padding-right: 10px;
  margin-top: 10px;
}
@media (min-width: 768px) {
  .faq-answer {
    font-size: 16px;
  }
}
.faq-answer p {
  margin-bottom: 0;
  line-height: 21px;
}
.faq-link {
  color: #03a;
  text-decoration: none;
}
.faq-expand {
  position: absolute;
  right: 16px;top: 27px;
  transform: translateY(-50%);
  width: 21px;
  height: 21px;
  display: flex;
  justify-content: center;
  cursor: pointer;
  background-color:#691E1E;
}
.faq-expand span{
  color:#fff;
}
/* Contact Section */
.contact-section {
  padding: 0;
}
.contact-text {
  font-size: 16px;
  font-weight: 300;
  color: #444;
  text-align: center;
  line-height: normal;
  display: inline;
}
@media (min-width: 768px) {
  .contact-text {
    font-size: 18px;
  }
}
.contact-link {
  color: #03a;
  font-weight: 600;
  text-decoration: underline;
  margin-left: 0;
}

/* 2. マイホース登録手順  */
.guide-list {
  width: 100%;
  padding-bottom: 40px;
}
.guide-item {
  cursor: pointer;
}
.guide-question {
  display: flex;
  align-items: center;
  padding: 15px;
  background-color: #fff;
  border-bottom: 1px solid #ddd;
}
.guide-item:first-of-type .guide-question{
  border-radius: 10px 10px 0 0;
}
.guide-item:last-of-type .guide-question{
  border-radius: 0 0 10px 10px;
}
.guide-item.expanded:last-of-type .guide-question {
  border-radius: 0;
}
.guide-myhorse-management .guide-item.expanded .guide-question{
  border-radius: 10px 10px 0 0;
  border-bottom: none;
}
.guide-title {
  flex: 1;
  font-size: 18px;
  font-weight: 500;
  color: #333;
}
@media (min-width: 768px) {
  .guide-title {
    font-size: 20px;
  }
}
.guide-item.expanded .guide-title{
  color:#691E1E;
}
.guide-expand {
  width: 21px;
  height: 21px;
  display: flex;
  justify-content: center;
  background-color: #691E1E;
}
.guide-expand .arrow {
  font-weight: bold;
  color: #fff;
}
.guide-answer {
  padding: 20px 15px;
  background-color: #fff;
  border-bottom: 1px solid #ddd;
  border-top: none;
}
@media (min-width: 768px) {
  .guide-answer {
    padding: 20px 35px;
  }
}
.guide-item:last-of-type .guide-answer{
  border-radius: 0 0 10px 10px;
}
.guide-myhorse-management .guide-answer{
  padding: 0 21px 20px;
}
.guide-image {
  width: 100%;
  margin-bottom: 10px;
}
.guide-image:nth-of-type(n+2){
  margin-top: 40px;
}
.guide-image img {
  display: block;
  width: 70%;
  margin: auto;
  height: auto;
}
@media (min-width: 768px) {
  .guide-image img {
    width: 40%;
    margin: auto;
  }
}
.guide-myhorse-regist .guide-item:first-of-type .guide-image:nth-of-type(1) img {
  width: 100%;
}
@media (min-width: 768px) {
  .guide-myhorse-regist .guide-item:first-of-type .guide-image:nth-of-type(1) img  {
    width: 55%;
    margin: auto;
  }
}
.guide-numbar {
  margin:30px 0 10px;
  font-size: 17px;
  font-weight: 600;
  color: #444;
  line-height: 20px;
}
.guide-numbar span {
  display: inline-block;
  width: 21px;
  height: 21px;
  background-color: #444;
  color: #fff;
  padding: 5px 6px 3px;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 600;
  margin-right: 8px;
}
.guide-text {
  font-size: 16px;
  font-weight: 300;
  line-height: 25px;
  color: #444;
  margin: 0 0 10px 0;
}
@media (min-width: 768px) {
  .guide-text {
    font-size: 18px;
  }
}
.guide-text2 {
  font-size: 14px;
  font-weight: 600;
  line-height: 22px;
  color: #444;
  margin: 0 0 10px 0;
}
@media (min-width: 768px) {
  .guide-text2 {
    font-size: 16px;
  }
}
.guide-note {
  display: block;
  font-size: 12px;
  font-weight: 300;
  line-height: 18px;
  color: #444;
}
@media (min-width: 768px) {
  .guide-note {
    font-size: 14px;
  }
}
.guide-note em {
  font-weight: 600;
}
.guide-link {
  color: #03a;
  text-decoration: underline;
}
.guide-link:hover {
  text-decoration: none;
}
.guide-table {
  display: flex;
  flex-wrap: wrap;
  border: 1px solid #bfbfbf;
  margin-bottom: 6px;
}
.guide-table .guide-table-title {
  background-color: #666;
  color: #fff;
  font-weight: 600;
}
.guide-table dt {
  width: 90px;
  padding: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #333;
  line-height: 18px;
  background-color: #D9D9D9;
  border-bottom: 1px solid #bfbfbf;
  border-right: 1px solid #bfbfbf;
}
.guide-table dt:last-of-type {
  border-bottom: none;
}
.guide-table dd {
  width: calc(100% - 90px);
  padding: 8px;
  font-size: 12px;
  font-weight: 300;
  color: #333;
  line-height: 18px;
  border-bottom: 1px solid #bfbfbf;
}
.guide-table dd:last-of-type {
  border-bottom: none;
}
.management-divider {
  height: 30px;
}
