/* 📌 web/style.css */
/* 📄 Web制作ランディングページ・料金詳細ページ共通のスタイル。 */

.back-link {
  display: inline-flex;
  align-items: center;
  font-size: var(--font-note);
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.back-link:hover {
  opacity: 0.85;
}

/* 🌷 #05 求人検索の例 ストーリー */
.story-flow {
  text-align: center;
}

.story-flow__line {
  margin: 0;
  font-size: var(--font-body);
  line-height: 1.7;
}

.story-flow__line--quote {
  font-weight: 700;
  color: var(--accent);
}

.story-flow__arrow {
  margin: var(--space-8) 0;
  color: rgba(43, 36, 31, 0.4);
}

.quote-line {
  margin: 0;
  font-weight: 700;
}

.quote-line + .quote-line {
  margin-top: var(--space-8);
}

/* 🌷 #08 ヒーロー下の目次 */
.guide-menu {
  margin-top: var(--space-20);
}

.guide-menu__title {
  margin: 0 0 var(--space-8);
  font-size: var(--font-note);
  font-weight: 700;
  color: rgba(43, 36, 31, 0.72);
}

.guide-menu__links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
}

.guide-menu__link {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  padding: 10px var(--space-12);
  border: 1px solid var(--line);
  border-radius: var(--radius-16);
  background: rgba(255, 255, 255, 0.58);
  color: inherit;
  text-decoration: none;
  box-sizing: border-box;
  transition: transform 0.2s ease, background 0.2s ease;
}

.guide-menu__link:hover {
  transform: translateY(-2px);
  background: #ffffff;
}

.guide-menu__label {
  min-width: 0;
  font-size: var(--font-note);
  font-weight: 700;
  line-height: 1.45;
}

.guide-menu__arrow {
  flex: 0 0 auto;
  color: var(--accent);
  font-weight: 700;
}

/* 🌷 #10 Shared small heading used inside panels on this page */
.body-sub-title {
  font-size: var(--font-sub);
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 var(--space-8);
}

/* 🌷 #20 基本料金 price card */
.price-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.price-card__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-8);
  padding: var(--space-8) 0;
  border-bottom: 1px solid var(--line);
}

.price-card__row:last-of-type {
  border-bottom: none;
}

.price-card__label {
  font-size: var(--font-body);
  font-weight: 600;
}

.price-card__value {
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}

.price-card__value small {
  font-size: var(--font-note);
  font-weight: 600;
  margin-left: 2px;
}

.price-card__value--flat {
  color: var(--text);
}

.price-card__note {
  margin-top: var(--space-8);
  font-size: var(--font-note);
  line-height: 1.7;
  color: rgba(43, 36, 31, 0.72);
}

/* 🌷 #30 含まれるもの チェックリスト（webdev-features のドット装飾を踏襲） */
.check-list {
  margin-top: var(--space-8);
}

/* 🌷 #40 なぜこの価格で作れるのか */
.why-list {
  display: grid;
  gap: var(--space-16);
  margin-top: var(--space-16);
}

.why-item {
  display: flex;
  flex-direction: column;
}

/* 🌷 #50 追加料金 テーブル */
.addon-table {
  display: flex;
  flex-direction: column;
}

.addon-table__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-8) var(--space-16);
  padding: var(--space-12) 0;
  border-bottom: 1px solid var(--line);
}

.addon-table__row--with-note {
  flex-direction: column;
  align-items: stretch;
  gap: var(--space-8);
}

.addon-table__row-main {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-8) var(--space-16);
}

.addon-table__desc {
  margin: 0;
  font-size: var(--font-note);
  line-height: 1.7;
  color: rgba(43, 36, 31, 0.72);
}

.addon-table__label {
  font-size: var(--font-body);
  color: var(--text);
}

.addon-table__value {
  font-size: var(--font-body);
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}

.addon-table__value small {
  font-size: var(--font-note);
  font-weight: 600;
  color: rgba(43, 36, 31, 0.72);
  margin-left: 2px;
}

.addon-table__note {
  margin-top: var(--space-12);
  padding-top: var(--space-12);
  font-size: var(--font-note);
  line-height: 1.7;
  color: rgba(43, 36, 31, 0.68);
}

/* 🌷 #60 ご依頼から公開まで フロー */
.flow-list {
  display: flex;
  flex-direction: column;
}

.flow-step {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: var(--space-16);
  padding: var(--space-16) 0;
  border-bottom: 1px solid var(--line);
}

.flow-step:last-child {
  border-bottom: none;
}

.flow-step__num {
  position: relative;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-note);
  font-weight: 700;
  color: var(--accent);
}

.flow-step:not(:last-child) .flow-step__num::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  width: 1px;
  height: calc(var(--space-16) * 2);
  background: var(--line);
  transform: translateX(-50%);
}

.flow-step__body {
  min-width: 0;
  padding-top: 8px;
}

.flow-step__title {
  margin: 0 0 4px;
  font-size: var(--font-sub);
  font-weight: 700;
}

.flow-step__desc {
  margin: 0;
  font-size: var(--font-note);
  line-height: 1.7;
  color: rgba(43, 36, 31, 0.78);
}

/* 🌷 #65 公開・サーバーについて アコーディオン */
.disclosure {
  margin-top: var(--space-16);
}

.disclosure__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 var(--space-16);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  color: var(--accent);
  font-size: var(--font-body);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: opacity 0.2s ease;
}

.disclosure__toggle:hover {
  opacity: 0.85;
}

.disclosure__toggle::-webkit-details-marker {
  display: none;
}

.disclosure__toggle::after {
  content: "▾";
  font-size: 11px;
  transition: transform 0.2s ease;
}

.disclosure[open] .disclosure__toggle::after {
  transform: rotate(180deg);
}

.disclosure__body {
  margin-top: var(--space-16);
  padding-top: var(--space-16);
  border-top: 1px solid var(--line);
}

/* 🌷 #67 ヒアリングフォーム案内 */
.hearing-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-12);
  text-align: center;
}

.hearing-panel .hero__actions {
  margin-top: 0;
  justify-content: center;
}

/* 🌷 #70 Works カード */
.work-list {
  display: grid;
  gap: var(--space-16);
}

.work-card {
  display: block;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-20);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.work-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(43, 36, 31, 0.12);
}

.work-card__thumb {
  aspect-ratio: 16 / 9;
  background: var(--surface);
  overflow: hidden;
}

.work-card__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-card__body {
  padding: var(--space-16);
}

.work-card__eyebrow {
  margin: 0 0 6px;
  font-size: var(--font-note);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.work-card__title {
  margin: 0;
  font-size: var(--font-sub);
  font-weight: 700;
}

.work-card__link {
  display: inline-block;
  margin-top: var(--space-8);
  font-size: var(--font-note);
  font-weight: 600;
  color: var(--accent);
}

/* 🌷 #80 効果アップページ */
.tips-entry {
  background: linear-gradient(135deg, #ffffff 0%, var(--surface) 100%);
}

.tips-entry__label,
.tips-cta__label {
  margin: 0 0 4px;
  font-size: var(--font-note);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.tips-entry__title,
.tips-cta__title {
  margin: 0 0 var(--space-8);
  font-size: var(--font-sub);
  line-height: 1.5;
  font-weight: 700;
}

.tips-hero__note {
  margin-top: var(--space-20);
}

.tips-grid {
  display: grid;
  gap: var(--space-12);
}

.tip-card {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: var(--space-12);
  padding: var(--space-16);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-20);
  box-shadow: var(--shadow-soft);
}

.tip-card:nth-child(even) {
  background: var(--surface);
}

.tip-card__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--card);
  font-size: 22px;
  line-height: 1;
}

.tip-card__body {
  min-width: 0;
}

.tip-card__title {
  margin: 0 0 6px;
  font-size: var(--font-sub);
  line-height: 1.45;
  font-weight: 700;
}

.tip-card__text,
.tip-card__note {
  margin: 0;
  font-size: var(--font-note);
  line-height: 1.75;
  color: rgba(43, 36, 31, 0.8);
}

.tip-card__note {
  margin-top: var(--space-8);
  padding-top: var(--space-8);
  border-top: 1px solid rgba(216, 206, 198, 0.8);
  color: rgba(43, 36, 31, 0.68);
}

.tip-card__examples {
  display: grid;
  gap: 4px;
  margin-top: var(--space-8);
  padding-left: 1.1em;
  font-size: var(--font-note);
  line-height: 1.7;
  color: rgba(43, 36, 31, 0.72);
}

.tips-cta {
  background: var(--card);
}

@media (max-width: 375px) {
  .guide-menu__links {
    grid-template-columns: 1fr;
  }

  .tip-card {
    grid-template-columns: 40px 1fr;
    gap: var(--space-8);
  }

  .tip-card__icon {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
}
