/* Afterservice Page KV - Same style as Reason Page */

@import url('https://fonts.googleapis.com/css2?family=Pinyon+Script&display=swap');

/* Hide table of contents */
body#afterservice #toc_container {
  display: none !important;
}

/* PC styles */
@media only screen and (min-width: 769px) {
  body#afterservice .p-kv {
    background: #fff;
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
    min-height: 700px !important;
  }

  body#afterservice .p-kv::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 800px;
    background: url(/images/kv/kv_bg_pc.png) no-repeat center top / 100% auto;
    z-index: -1;
  }

  body#afterservice .p-kv__inner {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0 !important;
    padding: 0 0 80px 100px !important;
    position: relative;
    min-height: 500px;
  }

  body#afterservice .p-kv__content {
    position: relative;
    z-index: 3;
    max-width: 600px;
    padding: 80px 0 0 0 !important;
    margin: 0 !important;
  }

  body#afterservice .p-kv__title {
    margin-bottom: 40px;
  }

  body#afterservice .p-kv__title p {
    font-size: 15rem !important;
    font-weight: 300 !important;
    font-style: italic !important;
    color: #8b6f47 !important;
    margin-bottom: 10px !important;
    letter-spacing: 0.05em !important;
    font-family: 'Pinyon Script', serif !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  body#afterservice .p-kv__title h1 {
    font-size: 3.6rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 0;
    letter-spacing: 0.1em;
  }

  body#afterservice .p-kv__text {
    margin-top: 40px;
    margin-bottom: 60px;
  }

  body#afterservice .p-kv__text h2 {
    display: none;
  }

  body#afterservice .p-kv__text p {
    font-size: 1.4rem;
    line-height: 1.8;
    color: #333;
    letter-spacing: 0.05em;
  }

  body#afterservice .p-kv__image {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    width: 75% !important;
    height: 700px !important;
    max-width: none !important;
    z-index: 2 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body#afterservice .p-kv__image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 600px;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 30%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
    pointer-events: none;
  }

  body#afterservice .p-kv__image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    position: relative !important;
    z-index: 0 !important;
  }

  body#afterservice .p-kv__desc {
    display: none;
  }
}

/* KV Section for Afterservice Page - Mobile */
@media screen and (max-width: 768px) {
  body#afterservice .breadcrumbs,
  body#afterservice .c-breadcrumbs {
    margin-bottom: 0 !important;
  }

  body#afterservice main {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  body#afterservice .p-kv {
    overflow: visible !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  body#afterservice .p-kv::after {
    display: none !important;
  }

  body#afterservice .p-kv__inner {
    padding: 0 20px 5px 0 !important;
    min-height: auto;
    position: relative;
    overflow: visible !important;
    margin-top: 0 !important;
  }

  body#afterservice .p-kv__image {
    position: absolute !important;
    top: 0;
    right: 0;
    width: 55%;
    height: 210px;
    z-index: 1 !important;
    display: block !important;
    margin: 0 -5vw 0 0 !important;
  }

  body#afterservice .p-kv__image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 120px;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 25%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
    pointer-events: none;
    border-radius: 4px 0 0 4px;
  }

  body#afterservice .p-kv__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  body#afterservice .p-kv__content {
    position: relative;
    max-width: 100%;
    padding: 20px 0 0 0 !important;
    z-index: 5;
    box-shadow: none !important;
    background: none !important;
  }

  body#afterservice .p-kv__title {
    margin-bottom: 10px;
    position: relative;
    padding-top: 0 !important;
    width: 45%;
  }

  body#afterservice .p-kv__title p {
    font-size: 5rem !important;
    margin-bottom: 5px !important;
    font-family: 'Pinyon Script', serif !important;
    white-space: nowrap !important;
  }

  body#afterservice .p-kv__title h1 {
    font-size: 1.4rem;
    font-weight: 400;
    white-space: nowrap;
    color: #000 !important;
  }

  body#afterservice .p-kv__text {
    margin-top: 0;
    margin-bottom: 0;
    width: 60%;
    padding: 0;
  }

  body#afterservice .p-kv__text p {
    font-size: 0;
    line-height: 1.5;
    padding: 0;
  }

  body#afterservice .p-kv__text p::before {
    content: '使うほど小傷や汚れ、彫りの摩耗は避けられません。WAIOLIは工房併設で、チェーン切れなどの小修理は最短10分、洗浄・新品仕上げも当日対応。定期メンテと充実のアフターで、購入後も長く安心を支えます。';
    font-size: 12px;
    display: block;
  }

  body#afterservice .p-kv__text p br {
    display: none;
  }
}

/* Afterservice Content Sections */
body#afterservice .afterservice {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 40px;
}

body#afterservice .afterservice .section {
  margin-bottom: 60px;
  padding-top: 40px;
  border-top: 1px solid #333;
}

body#afterservice .afterservice .section:first-child {
  border-top: none;
  padding-top: 0;
}

body#afterservice .afterservice h2,
body#afterservice .afterservice h3 {
  font-size: 2rem;
  font-weight: 500;
  color: #333;
  margin-bottom: 20px;
  text-align: left;
}

body#afterservice .afterservice h2 span,
body#afterservice .afterservice h3 span {
  font-size: inherit;
  font-weight: inherit;
}

body#afterservice .afterservice p {
  font-size: 1.4rem;
  line-height: 2;
  color: #666;
  margin-bottom: 0;
}

/* Mobile styles for afterservice content */
@media screen and (max-width: 768px) {
  body#afterservice .afterservice {
    padding: 0 20px;
    margin: 40px auto;
  }

  body#afterservice .afterservice .section {
    margin-bottom: 40px;
    padding-top: 30px;
  }

  body#afterservice .afterservice h2,
  body#afterservice .afterservice h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
  }

  body#afterservice .afterservice p {
    font-size: 1.4rem;
    line-height: 1.8;
  }
}

/* FAQ Section - Base styles */
.p-hawaiianFaq {
  background-color: #fff;
  padding: 60px 20px;
}

.p-hawaiianFaq__inner {
  max-width: 720px;
  margin: 0 auto;
}

.p-hawaiianFaq__title {
  font-size: 2.2rem;
  font-weight: 400;
  text-align: center;
  margin-bottom: 40px;
  color: #000;
  letter-spacing: 0.15em;
}

.p-hawaiianFaq__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid #d5d5d5;
  border-bottom: 1px solid #d5d5d5;
}

.p-hawaiianFaq__item {
  border: none;
  border-bottom: 1px solid #d5d5d5;
  border-radius: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.p-hawaiianFaq__item:last-child {
  border-bottom: none;
}

.p-hawaiianFaq__question {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 25px 20px;
  background-color: transparent;
  cursor: pointer;
  transition: opacity 0.3s;
  position: relative;
}

.p-hawaiianFaq__question:hover {
  opacity: 0.7;
}

.p-hawaiianFaq__icon {
  font-size: 1.4rem;
  font-weight: 500;
  color: #c8a165;
  flex-shrink: 0;
  width: 30px;
}

.p-hawaiianFaq__questionText {
  font-size: 1.4rem;
  font-weight: 500;
  color: #333;
  flex: 1;
  line-height: 1.8;
}

.p-hawaiianFaq__arrow {
  width: 10px;
  height: 10px;
  border-right: 2px solid #c8a165;
  border-bottom: 2px solid #c8a165;
  transform: rotate(45deg);
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: auto;
  display: block;
}

.p-hawaiianFaq__item.is-open .p-hawaiianFaq__arrow {
  transform: rotate(-135deg);
}

.p-hawaiianFaq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: transparent;
}

.p-hawaiianFaq__item.is-open .p-hawaiianFaq__answer {
  max-height: 500px;
  padding: 0 20px 25px 60px;
}

.p-hawaiianFaq__answerIcon {
  display: none;
}

.p-hawaiianFaq__answerText {
  font-size: 1.4rem;
  line-height: 1.8;
  color: #666;
}

/* Contact Section - Base styles */
.p-hawaiianContact {
  background-color: #fff;
  padding: 60px 20px;
}

.p-hawaiianContact__inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.p-hawaiianContact__title {
  font-size: 2.4rem;
  font-weight: 300;
  margin-bottom: 20px;
  color: #c9a961;
  letter-spacing: 0.15em;
}

.p-hawaiianContact__subtitle {
  font-size: 1.4rem;
  font-weight: 400;
  color: #333;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.p-hawaiianContact__text {
  font-size: 1.4rem;
  line-height: 2;
  color: #333;
  margin-bottom: 30px;
}

.p-hawaiianContact__buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: center;
}

.p-hawaiianContact__btn {
  display: inline-block;
  padding: 15px 35px;
  color: #fff;
  text-decoration: none;
  border-radius: 3px;
  font-size: 1.4rem;
  font-weight: 400;
  transition: all 0.3s;
  min-width: 150px;
  width: 100%;
  max-width: 300px;
}

.p-hawaiianContact__btn:hover {
  opacity: 0.85;
}

.p-hawaiianContact__btn.is-phone {
  background: linear-gradient(90deg, rgb(247, 227, 194) 0%, rgb(238, 187, 103) 100%);
}

.p-hawaiianContact__btn.is-phone:hover {
  background: linear-gradient(90deg, rgb(247, 227, 194) 0%, rgb(238, 187, 103) 100%);
}

.p-hawaiianContact__btn.is-line {
  background: linear-gradient(90deg, rgb(247, 227, 194) 0%, rgb(238, 187, 103) 100%);
}

.p-hawaiianContact__btn.is-line:hover {
  background: linear-gradient(90deg, rgb(247, 227, 194) 0%, rgb(238, 187, 103) 100%);
}

.p-hawaiianContact__btn.is-email {
  background: linear-gradient(90deg, rgb(247, 227, 194) 0%, rgb(238, 187, 103) 100%);
}

.p-hawaiianContact__btn.is-email:hover {
  background: linear-gradient(90deg, rgb(247, 227, 194) 0%, rgb(238, 187, 103) 100%);
}

.p-hawaiianContact__note {
  font-size: 1.4rem;
  color: #666;
  margin-top: 20px;
  line-height: 1.8;
}

/* PC specific FAQ and Contact styles */
@media only screen and (min-width: 769px) {
  .p-hawaiianFaq {
    padding: 90px 30px;
  }

  .p-hawaiianFaq__title {
    font-size: 3.8rem;
    margin-bottom: 55px;
  }

  .p-hawaiianFaq__icon {
    font-size: 1.7rem;
  }

  .p-hawaiianFaq__questionText {
    font-size: 1.7rem;
    line-height: 2;
  }

  .p-hawaiianFaq__answerText {
    font-size: 1.5rem;
    line-height: 2;
  }

  .p-hawaiianContact {
    padding: 80px 30px;
  }

  .p-hawaiianContact__title {
    font-size: 4rem;
  }

  .p-hawaiianContact__subtitle {
    font-size: 1.6rem;
    margin-bottom: 30px;
  }

  .p-hawaiianContact__text {
    font-size: 1.3rem;
    margin-bottom: 50px;
  }

  .p-hawaiianContact__buttons {
    flex-direction: row;
    margin-bottom: 30px;
  }

  .p-hawaiianContact__btn {
    width: auto;
    max-width: none;
  }

  .p-hawaiianContact__note {
    font-size: 1.2rem;
    margin-top: 25px;
  }
}
