:root {
  --color-yamaha-violet: #4B1E78;
  --color-bright-violet: #7B47D2;
  --color-light-violet-40: #EFDBF7;
  --color-white: #FFFFFF;
  --color-black: #000000;
  --color-border-light: #E5E5E5;
  --color-light-gray-20: #E8E8E8;
}

.starter-guide,
.free-html-markup {
  color: var(--color-black);
}

:is(.free-html-markup, .starter-guide) .pc-only.pc-only {
  display: block;
}

:is(.free-html-markup, .starter-guide) .sp-only.sp-only {
  display: none;
}

@media screen and (max-width: 767px) {
  :is(.free-html-markup, .starter-guide) .pc-only.pc-only {
    display: none;
  }

  :is(.free-html-markup, .starter-guide) .sp-only.sp-only {
    display: block;
  }
}

.starter-guide .container-fluid,
.free-html-markup .container-fluid {
  max-width: 1264px;
  width: 100%;
  margin-inline: auto;
  padding: 0 32px;
  box-sizing: border-box;
}

.container-fluid:has(> .starter-guide) {
  padding-inline: 0;
}

.starter-guide section,
.free-html-markup section {
  padding: 60px 0;
}

@media screen and (max-width: 767px) {
  .starter-guide .container-fluid,
  .free-html-markup .container-fluid {
    padding: 0 16px;
  }

  .starter-guide section,
  .free-html-markup section {
    padding: 20px 0;
  }
}

.starter-guide .section-heading,
.free-html-markup .section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--color-bright-violet);
  padding-top: 32px;
  margin-bottom: 40px;
}

.starter-guide .section-heading__title,
.free-html-markup .section-heading__title {
  font-size: 34px;
  font-weight: 700;
  color: var(--color-yamaha-violet);
  line-height: 1;
  margin: 0;
}

@media screen and (max-width: 767px) {
  .starter-guide .section-heading,
  .free-html-markup .section-heading {
    padding-top: 24px;
  }

  .starter-guide .section-heading__title,
  .free-html-markup .section-heading__title {
    font-size: 24px;
  }
}

:is(.free-html-markup, .starter-guide) .icon-arrow-right {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 8px;
  height: 16px;
}

:is(.free-html-markup, .starter-guide) .icon-arrow-right::before {
  content: "";
  display: block;
  width: 16px;
  height: 8px;
  background-color: currentColor;
  -webkit-mask-image: url(../../images/common/icon_arrow-right.svg);
  mask-image: url(../../images/common/icon_arrow-right.svg);
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  transform: rotate(90deg);
}

:is(.free-html-markup, .starter-guide) .icon-link-arrow {
  display: inline-block;
  flex-shrink: 0;
  width: 8px;
  height: 16px;
  background-color: currentColor;
  -webkit-mask-image: url(../../images/common/icon_link-arrow.svg);
  mask-image: url(../../images/common/icon_link-arrow.svg);
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

:is(.free-html-markup, .starter-guide) .icon-check {
  width: 19.5px;
  height: 15.2px;
  flex-shrink: 0;
}

:is(.free-html-markup, .starter-guide) .icon-external-link {
  width: 15px;
  height: 13.25px;
}

/* ===== MV ===== */
.starter-guide .mv,
.free-html-markup .mv {
  padding: 0;
}

:is(.free-html-markup, .starter-guide) .mv__img {
  width: 100%;
  max-width: 1200px;
  height: auto;
  display: block;
  margin-inline: auto;
}

:is(.free-html-markup, .starter-guide) .mv__img.sp-only {
  max-width: 375px;
}

/* ===== 楽器別のご紹介（ガイドカード） ===== */
.starter-guide .guide-cards,
.free-html-markup .guide-cards {
  padding-top: 80px;
}

:is(.free-html-markup, .starter-guide) .guide-cards__list {
  display: flex;
  flex-wrap: wrap;
  row-gap: 16px;
}

:is(.free-html-markup, .starter-guide) .guide-cards__item {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
}

:is(.free-html-markup, .starter-guide) .guide-cards__item:hover,
:is(.free-html-markup, .starter-guide) .guide-cards__item:focus {
  opacity: 0.8;
  text-decoration: none;
}

:is(.free-html-markup, .starter-guide) .guide-cards__photo {
  width: 100%;
  aspect-ratio: 288 / 180;
  overflow: hidden;
}

:is(.free-html-markup, .starter-guide) .guide-cards__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

:is(.free-html-markup, .starter-guide) .guide-cards__label {
  background-color: var(--color-yamaha-violet);
  color: var(--color-white);
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-grow: 1;
}

@media screen and (min-width: 768px) and (max-width: 1199px) {
  :is(.free-html-markup, .starter-guide) .guide-cards__label {
    padding: 10px 15px;
  }
}

:is(.free-html-markup, .starter-guide) .guide-cards__label-text {
  font-size: 14px;
  line-height: 1.2;
}

:is(.free-html-markup, .starter-guide) .guide-cards__label-text strong {
  display: block;
  font-size: 18px;
  font-weight: 700;
}

:is(.free-html-markup, .starter-guide) .guide-cards__label .icon-link-arrow {
  flex-shrink: 0;
}

@media screen and (max-width: 767px) {
  .starter-guide .guide-cards,
  .free-html-markup .guide-cards {
    padding-top: 40px;
  }

  :is(.free-html-markup, .starter-guide) .guide-cards__label {
    padding: 8px;
  }

  :is(.free-html-markup, .starter-guide) .guide-cards__label-text {
    font-size: 11px;
  }

  :is(.free-html-markup, .starter-guide) .guide-cards__label-text strong {
    font-size: 14px;
  }

  :is(.free-html-markup, .starter-guide) .guide-cards__label .icon-link-arrow {
    width: 4.5px;
    height: 9px;
  }
}

/* ===== ヤマハスタンダードモデルが追求するもの ===== */
:is(.free-html-markup, .starter-guide) .pursuit__photos {
  margin-bottom: 60px;
}

:is(.free-html-markup, .starter-guide) .pursuit__photos-img {
  width: 100%;
  max-width: 1200px;
  height: auto;
  display: block;
  margin-inline: auto;
}

:is(.free-html-markup, .starter-guide) .pursuit__photos-img.sp-only {
  max-width: 335px;
}

:is(.free-html-markup, .starter-guide) .pursuit__point {
  border-bottom: 1px solid #ccc;
  padding-bottom: 40px;
  margin-bottom: 40px;
}

:is(.free-html-markup, .starter-guide) .pursuit__point:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

:is(.free-html-markup, .starter-guide) .pursuit__point-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

:is(.free-html-markup, .starter-guide) .pursuit__point-step-img {
  flex-shrink: 0;
  width: 100%;
  max-width: 60px;
  height: auto;
  display: block;
}

:is(.free-html-markup, .starter-guide) .pursuit__point-lead {
  color: var(--color-yamaha-violet);
}

:is(.free-html-markup, .starter-guide) .pursuit__point-lead-sub {
  font-size: 16px;
  line-height: 1.4;
  margin: 0 0 8px;
}

:is(.free-html-markup, .starter-guide) .pursuit__point-lead-main {
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  margin: 0;
}

:is(.free-html-markup, .starter-guide) .pursuit__point-body {
  margin-bottom: 24px;
}

:is(.free-html-markup, .starter-guide) .pursuit__point-body:last-child {
  margin-bottom: 0;
}

:is(.free-html-markup, .starter-guide) .pursuit__point-body-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.428571429;
  margin: 0 0 8px;
}

:is(.free-html-markup, .starter-guide) .pursuit__point-body-text {
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

:is(.free-html-markup, .starter-guide) .pursuit__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-yamaha-violet);
  text-decoration: none;
  margin-top: 8px;
}

:is(.free-html-markup, .starter-guide) .pursuit__link-text {
  font-size: 15px;
  text-decoration: underline;
}

:is(.free-html-markup, .starter-guide) .pursuit__link:hover,
:is(.free-html-markup, .starter-guide) .pursuit__link:focus {
  opacity: 0.7;
  color: var(--color-yamaha-violet);
  text-decoration: none;
}

:is(.free-html-markup, .starter-guide) .pursuit__link:hover .pursuit__link-text,
:is(.free-html-markup, .starter-guide) .pursuit__link:focus .pursuit__link-text {
  text-decoration: underline;
}

:is(.free-html-markup, .starter-guide) .pursuit__link-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: block;
}

@media screen and (max-width: 767px) {
  :is(.free-html-markup, .starter-guide) .pursuit__photos { margin-bottom: 40px; }
  :is(.free-html-markup, .starter-guide) .pursuit__point-lead-sub { font-size: 14px; }
  :is(.free-html-markup, .starter-guide) .pursuit__point-lead-main { font-size: 18px; }
  :is(.free-html-markup, .starter-guide) .pursuit__point-body-title { font-size: 16px; }
  :is(.free-html-markup, .starter-guide) .pursuit__point-body-text { font-size: 15px; }
}

/* ===== はじめてさんへのアドバイス ===== */
:is(.free-html-markup, .starter-guide) .advice__heading {
  background-color: var(--color-yamaha-violet);
  color: var(--color-white);
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  padding: 10px;
  margin: 0 0 40px;
}

:is(.free-html-markup, .starter-guide) .advice__list {
  background-color: var(--color-light-violet-40);
  padding: 24px;
  display: flex;
  flex-wrap: wrap;
}

:is(.free-html-markup, .starter-guide) .advice__col {
  margin-bottom: 16px;
}

:is(.free-html-markup, .starter-guide) .advice__item {
  background-color: var(--color-white);
  border-radius: 16px;
  padding: 24px;
  height: 100%;
  box-sizing: border-box;
}

:is(.free-html-markup, .starter-guide) .advice__item-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
}

:is(.free-html-markup, .starter-guide) .advice__item-head .icon-check {
  color: var(--color-bright-violet);
}

:is(.free-html-markup, .starter-guide) .advice__item-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-yamaha-violet);
  margin: 0;
}

:is(.free-html-markup, .starter-guide) .advice__item-text {
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

@media screen and (max-width: 767px) {
  :is(.free-html-markup, .starter-guide) .advice__heading {
    font-size: 18px;
    margin-bottom: 20px;
  }

  :is(.free-html-markup, .starter-guide) .advice__list {
    padding: 16px;
  }

  :is(.free-html-markup, .starter-guide) .advice__col {
    margin-bottom: 8px;
  }

  :is(.free-html-markup, .starter-guide) .advice__item {
    padding: 16px;
  }

  :is(.free-html-markup, .starter-guide) .advice__item-head .icon-check {
    width: 14px;
    height: 10.93px;
  }

  :is(.free-html-markup, .starter-guide) .advice__item-title {
    font-size: 16px;
  }

  :is(.free-html-markup, .starter-guide) .advice__item-text {
    font-size: 14px;
  }
}

/* ===== イベント情報 ===== */
:is(.free-html-markup, .starter-guide) .event-info__heading {
  background-color: var(--color-yamaha-violet);
  color: var(--color-white);
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  padding: 10px;
  margin: 0 0 40px;
}

:is(.free-html-markup, .starter-guide) .event-info__lead {
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 40px;
}

:is(.free-html-markup, .starter-guide) .event-info__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 40px;
}

:is(.free-html-markup, .starter-guide) .event-info__item {
  background-color: var(--color-light-violet-40);
  border-radius: 8px;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

:is(.free-html-markup, .starter-guide) .event-info__item-title {
  color: var(--color-yamaha-violet);
  font-size: 20px;
  font-weight: 700;
  flex: 1 1 auto;
  min-width: 160px;
  margin: 0;
}

:is(.free-html-markup, .starter-guide) .event-info__item-detail {
  display: flex;
  margin: 0;
  flex-wrap: wrap;
  gap: 8px;
}

:is(.free-html-markup, .starter-guide) .event-info__item-detail-cell {
  background-color: var(--color-white);
  border-radius: 8px;
  padding: 20px 8px;
  min-width: 160px;
  text-align: center;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

:is(.free-html-markup, .starter-guide) .event-info__item-detail-cell dd {
  margin: 0;
}

:is(.free-html-markup, .starter-guide) .event-info__item-actions {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 140px;
}

:is(.free-html-markup, .starter-guide) .event-info__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background-color: var(--color-yamaha-violet);
  color: var(--color-white);
  border-radius: 4px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

:is(.free-html-markup, .starter-guide) .event-info__btn:hover,
:is(.free-html-markup, .starter-guide) .event-info__btn:focus {
  opacity: 0.8;
  color: var(--color-white);
  text-decoration: none;
}

:is(.free-html-markup, .starter-guide) .event-info__btn .icon-link-arrow {
  width: 6px;
  height: 12px;
}

:is(.free-html-markup, .starter-guide) .event-history {
  border: 1px solid var(--color-yamaha-violet);
  border-radius: 8px;
  padding: 40px;
}

:is(.free-html-markup, .starter-guide) .event-history .collapsing {
  will-change: height;
}

:is(.free-html-markup, .starter-guide) .event-history__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

:is(.free-html-markup, .starter-guide) .event-history__title {
  font-size: 34px;
  font-weight: 700;
  color: var(--color-yamaha-violet);
  margin: 0;
}

:is(.free-html-markup, .starter-guide) .event-history__toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 180px;
  justify-content: center;
  background-color: var(--color-white);
  border: 1px solid var(--color-yamaha-violet);
  border-radius: 4px;
  padding: 8px 20px;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-yamaha-violet);
  cursor: pointer;
}

:is(.free-html-markup, .starter-guide) .event-history__toggle:hover,
:is(.free-html-markup, .starter-guide) .event-history__toggle:focus {
  opacity: 0.7;
}

:is(.free-html-markup, .starter-guide) .event-history__toggle .icon-arrow-right {
  width: 12px;
  height: 6px;
}

:is(.free-html-markup, .starter-guide) .event-history__toggle .icon-arrow-right::before {
  width: 12px;
  height: 6px;
  transform: rotate(180deg);
  transition: transform 0.2s ease;
}

:is(.free-html-markup, .starter-guide) .event-history__toggle[aria-expanded="true"] .icon-arrow-right::before {
  transform: rotate(0deg);
}

:is(.free-html-markup, .starter-guide) .event-history__body .event-info__list {
  padding-top: 24px;
  margin-bottom: 0;
}

:is(.free-html-markup, .starter-guide) .event-history__body .event-info__item {
  background-color: var(--color-light-gray-20);
}

@media screen and (max-width: 767px) {
  :is(.free-html-markup, .starter-guide) .event-info__heading {
    font-size: 18px;
    margin-bottom: 20px;
  }

  :is(.free-html-markup, .starter-guide) .event-info__lead {
    font-size: 15px;
    margin-bottom: 20px;
  }

  :is(.free-html-markup, .starter-guide) .event-history__title { font-size: 18px; }

  :is(.free-html-markup, .starter-guide) .event-info__item {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    min-width: 0;
    gap: 8px;
    padding: 16px;
  }

  :is(.free-html-markup, .starter-guide) .event-info__item-title {
    font-size: 18px;
    margin-bottom: 8px;
  }

  :is(.free-html-markup, .starter-guide) .event-info__item-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
  }

  :is(.free-html-markup, .starter-guide) .event-info__item-detail-cell {
    min-width: 0;
    padding: 8px;
    font-size: 12px;
  }

  :is(.free-html-markup, .starter-guide) .event-info__item-detail-cell:nth-child(3) {
    grid-column: 1 / -1;
  }

  :is(.free-html-markup, .starter-guide) .event-info__item-actions {
    flex-direction: row;
    width: 100%;
    min-width: 0;
  }

  :is(.free-html-markup, .starter-guide) .event-info__btn {
    flex: 1 1 0;
    min-width: 0;
    gap: 16px;
    padding: 8px 16px;
  }

  :is(.free-html-markup, .starter-guide) .event-history {
    padding: 16px;
  }

  :is(.free-html-markup, .starter-guide) .event-history__heading {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    text-align: center;
  }

  :is(.free-html-markup, .starter-guide) .event-history__toggle {
    width: 160px;
    padding: 8px 16px;
    font-size: 14px;
  }
}

/* ===== はじめてさんにおすすめのページ ===== */
:is(.free-html-markup, .starter-guide) .recommend {
  border-top: 1px solid #ccc;
}

:is(.free-html-markup, .starter-guide) .recommend__heading {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-yamaha-violet);
  margin: 0 0 24px;
}

:is(.free-html-markup, .starter-guide) .recommend__list {
  display: flex;
  flex-wrap: wrap;
}

:is(.free-html-markup, .starter-guide) .recommend__col {
  margin-bottom: 24px;
}

:is(.free-html-markup, .starter-guide) .recommend__item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  color: var(--color-black);
}

:is(.free-html-markup, .starter-guide) .recommend__item:hover,
:is(.free-html-markup, .starter-guide) .recommend__item:focus {
  opacity: 0.8;
  text-decoration: none;
  color: var(--color-black);
}

:is(.free-html-markup, .starter-guide) .recommend__item-photo {
  width: 100%;
  aspect-ratio: 274 / 110;
  border: 1px solid var(--color-border-light);
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

:is(.free-html-markup, .starter-guide) .recommend__item-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

:is(.free-html-markup, .starter-guide) .recommend__item-text {
  font-size: 16px;
  line-height: 1.4;
  margin: 0;
}

@media screen and (max-width: 767px) {
  :is(.free-html-markup, .starter-guide) .recommend__col {
    margin-bottom: 16px;
  }

  :is(.free-html-markup, .starter-guide) .recommend__item {
    gap: 8px;
  }

  :is(.free-html-markup, .starter-guide) .recommend__item-text {
    font-size: 13px;
  }
}
