/* FUJITA ACOUSTIC GUITAR | ホーム専用CSS */

.fgh-home {
  --fgh-ink: #17334a;
  --fgh-muted: #64737a;
  --fgh-green: #3d6544;
  --fgh-cream: #fcf9f2;
  --fgh-gold: #d5aa68;
  background: linear-gradient(180deg, #fffdf8, #ffffff 52%);
  color: var(--fgh-ink);
  padding: 24px 20px 70px;
}

.fgh-home *,
.fgh-home *::before,
.fgh-home *::after {
  box-sizing: border-box;
}

.fgh-home a {
  text-decoration: none;
}

.fgh-home a:focus-visible {
  outline: 3px solid #cb9848;
  outline-offset: 4px;
}

.fgh-home__inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

/* ==========================
   ヒーロー
========================== */

.fgh-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: min(1180px, 100%);
  margin: 0 auto 60px;
  min-height: 450px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  background: #e5e4df;
  box-shadow: 0 16px 42px rgba(31,49,54,.09);
}

.fgh-hero__image {
  position: absolute;
  z-index: -2;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 49%;
}

.fgh-hero__shade {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(250,248,240,.98) 0%,
    rgba(250,248,240,.96) 26%,
    rgba(250,248,240,.82) 43%,
    rgba(250,248,240,.12) 72%,
    rgba(250,248,240,0) 100%
  );
}

.fgh-hero__content {
  width: min(555px, 62%);
  padding: 60px 0 60px clamp(28px, 6.5%, 86px);
}

.fgh-hero__eyebrow,
.fgh-section__eyebrow {
  font-size: 11px;
  letter-spacing: .22em;
  font-weight: 800;
  color: var(--fgh-green);
  margin: 0 0 15px;
}

.fgh-hero h1 {
  font-size: clamp(32px, 4vw, 53px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: .03em;
  color: #112b3d;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
}

.fgh-hero__lead {
  margin: 22px 0 29px;
  color: #304956;
  font-size: clamp(14px, 1.5vw, 17px);
  font-weight: 600;
  line-height: 1.9;
}

.fgh-hero__button {
  width: fit-content;
  min-width: 230px;
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 13px 23px;
  border: 1px solid #385a40;
  border-radius: 999px;
  background: #3e6845;
  color: #fff !important;
  font-size: 17px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(36,78,41,.19);
  transition: background .18s ease, transform .18s ease;
}

.fgh-hero__button:hover {
  color: #fff !important;
  background: #2e5437;
  transform: translateY(-2px);
}

.fgh-hero__button svg {
  width: 21px;
  height: 21px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  flex: 0 0 auto;
}

/* ==========================
   共通セクション
========================== */

.fgh-section {
  margin: 0 auto 67px;
}

.fgh-section__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 21px;
}

.fgh-section__eyebrow {
  margin: 0 0 8px;
}

.fgh-section__title {
  margin: 0;
  padding: 0 0 0 17px;
  border: none;
  background: none;
  color: #142f41;
  font-size: clamp(23px, 2.4vw, 29px);
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: .02em;
  position: relative;
}

.fgh-section__title::before {
  content: '';
  position: absolute;
  left: 0;
  top: .15em;
  bottom: .08em;
  width: 5px;
  background: var(--fgh-gold);
  border-radius: 3px;
}

.fgh-section__intro {
  margin: 10px 0 0;
  color: #69777c;
  font-size: 13px;
  line-height: 1.65;
}

.fgh-section__more {
  flex: 0 0 auto;
  color: #3b6443;
  font-weight: 800;
  font-size: 13px;
  padding-bottom: 3px;
}

.fgh-section__more:hover {
  color: #1c472b;
  text-decoration: underline;
}

/* ==========================
   おすすめ曲
========================== */

.fgh-featured__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 15px;
}

.fgh-pick-card {
  color: var(--fgh-ink) !important;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: white;
  border: 1px solid #e6e5e0;
  border-radius: 14px;
  box-shadow: 0 4px 13px rgba(26,42,45,.055);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}

.fgh-pick-card:hover {
  color: var(--fgh-ink) !important;
  transform: translateY(-4px);
  box-shadow: 0 12px 22px rgba(26,42,45,.11);
}

.fgh-pick-card__image {
  display: block;
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #e9ece7;
}

.fgh-pick-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fgh-pick-card__image--empty {
  display: grid;
  place-items: center;
  color: #71936b;
  font-size: 60px;
  background: linear-gradient(145deg, #eef3e9, #e5ebde);
}

.fgh-pick-card__body {
  display: flex;
  flex-direction: column;
  position: relative;
  flex: 1;
  padding: 15px 14px 17px;
  min-height: 137px;
}

.fgh-pick-card__name {
  font-size: 16px;
  line-height: 1.4;
  font-weight: 800;
  color: #142e43;
  margin-bottom: 10px;
  padding-right: 12px;
}

.fgh-pick-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 10px;
}

.fgh-pick-card__arrow {
  position: absolute;
  right: 13px;
  bottom: 15px;
  color: #66807a;
  font-size: 20px;
}

/* ジャンル・演奏形式 */

.fgh-genre,
.fgh-arrangement {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.1;
}

.fgh-genre {
  color: #2e5b37;
  background: #ecf4e8;
}

.fgh-arrangement {
  color: #72542f;
  background: #f8efdf;
}

/* 難易度バッジ */

.fgh-difficulty {
  display: inline-flex;
  width: fit-content;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .045em;
  border-radius: 6px;
  padding: 4px 7px;
  white-space: nowrap;
}

.fgh-difficulty--1 {
  color: #597321;
  background: #f1f9e2;
}

.fgh-difficulty--2 {
  color: #216b43;
  background: #e5f5e9;
}

.fgh-difficulty--3 {
  color: #82630f;
  background: #fff7d8;
}

.fgh-difficulty--4 {
  color: #a45217;
  background: #fff0df;
}

.fgh-difficulty--5 {
  color: #a52c37;
  background: #fee8ea;
}

/* ==========================
   新着曲
========================== */

.fgh-latest__list {
  border: 1px solid #e6e7e4;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
}

.fgh-latest__item {
  display: grid;
  grid-template-columns: 42px minmax(0,1fr) 24px;
  align-items: center;
  gap: 16px;
  min-height: 74px;
  padding: 11px 21px;
  color: var(--fgh-ink) !important;
  transition: background .18s ease;
}

.fgh-latest__item + .fgh-latest__item {
  border-top: 1px solid #eaece8;
}

.fgh-latest__item:hover {
  background: #f5f9f3;
  color: var(--fgh-ink) !important;
}

.fgh-latest__music {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #eaf2e5;
  color: #47784d;
  font-size: 25px;
}

.fgh-latest__body {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.fgh-latest__name {
  color: #172f43;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.fgh-latest__meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.fgh-latest__arrow {
  font-size: 22px;
  color: #6b7e80;
  text-align: right;
}

/* ==========================
   運営者紹介
========================== */

.fgh-about {
  display: grid;
  grid-template-columns: 34% 1fr;
  align-items: stretch;
  gap: 0;
  border-radius: 19px;
  overflow: hidden;
  background: linear-gradient(120deg,#f8f3ea,#fff9f1);
  border: 1px solid #f0e9df;
  min-height: 250px;
}

.fgh-about__image {
  min-height: 245px;
  overflow: hidden;
  background: #34383a;
}

.fgh-about__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 70%;
}

.fgh-about__content {
  padding: 37px 42px;
  align-self: center;
}

.fgh-about .fgh-section__eyebrow {
  margin-bottom: 11px;
}

.fgh-about__brand {
  margin: 17px 0 8px;
  font-size: 17px;
  line-height: 1.4;
  font-weight: 800;
  color: #203342;
}

.fgh-about__text {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.9;
  color: #4b5b60;
}

.fgh-about__link {
  display: inline-flex;
  min-width: 204px;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border: 1px solid #4b7654;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  color: #315e3c !important;
  background: #fffdf9;
}

.fgh-about__link:hover {
  background: #edf4e9;
}

/* ==========================
   タブレット
========================== */

@media (max-width: 940px) {
  .fgh-featured__grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .fgh-hero {
    min-height: 400px;
  }

  .fgh-hero__content {
    width: 65%;
    padding-left: 42px;
  }
}

/* ==========================
   スマートフォン
========================== */

@media (max-width: 640px) {
  .fgh-home {
    padding: 14px 14px 42px;
  }

  .fgh-hero {
    min-height: 500px;
    align-items: flex-start;
    margin-bottom: 48px;
    border-radius: 16px;
  }

  .fgh-hero__image {
    object-position: 68% center;
  }

  .fgh-hero__shade {
    background: linear-gradient(
      180deg,
      rgba(250,248,240,.99) 0%,
      rgba(250,248,240,.97) 34%,
      rgba(250,248,240,.62) 58%,
      rgba(250,248,240,.06) 88%
    );
  }

  .fgh-hero__content {
    width: 100%;
    padding: 35px 24px 0;
  }

  .fgh-hero__eyebrow {
    font-size: 10px;
    margin-bottom: 11px;
  }

  .fgh-hero h1 {
    font-size: clamp(31px,8.2vw,40px);
  }

  .fgh-hero__lead {
    margin: 14px 0 20px;
    font-size: 12px;
    line-height: 1.8;
  }

  .fgh-hero__lead-break {
    display: none;
  }

  .fgh-hero__button {
    width: min(280px,100%);
    justify-content: center;
    min-width: 0;
    gap: 15px;
    font-size: 15px;
    padding: 11px 14px;
  }

  .fgh-section {
    margin-bottom: 49px;
  }

  .fgh-section__heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 17px;
  }

  .fgh-section__title {
    font-size: 23px;
  }

  .fgh-section__more {
    align-self: flex-end;
  }

  .fgh-featured__grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .fgh-pick-card {
    display: grid;
    grid-template-columns: 116px minmax(0,1fr);
    min-height: 112px;
  }

  .fgh-pick-card__image {
    height: 100%;
    aspect-ratio: auto;
  }

  .fgh-pick-card__body {
    min-height: 0;
    padding: 12px 16px;
  }

  .fgh-pick-card__name {
    font-size: 15px;
    margin-bottom: 7px;
  }

  .fgh-pick-card__tags {
    margin-bottom: 6px;
  }

  .fgh-pick-card__arrow {
    right: 12px;
    bottom: 12px;
  }

  .fgh-latest__item {
    grid-template-columns: 35px minmax(0,1fr) 18px;
    gap: 11px;
    min-height: 72px;
    padding: 11px 12px;
  }

  .fgh-latest__music {
    width: 35px;
    height: 35px;
    font-size: 20px;
  }

  .fgh-latest__body {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .fgh-latest__name {
    font-size: 14px;
  }

  .fgh-latest__meta {
    justify-content: flex-start;
    gap: 5px;
  }

  .fgh-latest__arrow {
    font-size: 17px;
  }

  .fgh-about {
    grid-template-columns: 116px minmax(0,1fr);
    border-radius: 14px;
    min-height: 0;
  }

  .fgh-about__image {
    min-height: 205px;
  }

  .fgh-about__content {
    padding: 22px 17px;
  }

  .fgh-about .fgh-section__title {
    font-size: 19px;
    padding-left: 12px;
  }

  .fgh-about__brand {
    font-size: 12px;
    margin-top: 11px;
  }

  .fgh-about__text {
    font-size: 12px;
    line-height: 1.7;
    margin-bottom: 10px;
  }

  .fgh-about__link {
    min-width: 0;
    width: 100%;
    font-size: 11px;
    padding: 8px 10px;
  }
}

/* アニメーションを減らす設定 */

@media (prefers-reduced-motion: reduce) {
  .fgh-home * {
    transition: none !important;
  }
}