/*
Theme Name: Voistory
Theme URL: https://voistory.jp/
Description: ヴォイストーリー専用のWordPressテーマです。他サイトでの使用を禁じます。
Author: KillyI from Wizard's Wand Works
License: GNU General Public License v2 or later
License URI: LICENSE
*/
/* =========================
   Base / Reset / Tokens
   ========================= */
:root {
  --container-max: 1120px;
  --gutter: 16px;
  --gutter-lg: 24px;

  --font-catch: "Zen Kurenaido", sans-serif;
  --font-base: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", Meiryo, sans-serif;
  --fs-14: 0.875rem;
  --fs-16: 1rem;
  --fs-20: 1.25rem;
  --fs-28: 1.75rem;
  --fs-36: 2.25rem;

  --radius: 8px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, .08);
  --m-bg: #ffffffb3;
	
  --c-bg: linear-gradient(45deg, #52a1dc, #fecde1);
  --c-fg: #111;
  --c-muted: #666;
  --c-border: #e5e7eb;
  --c-accent: #3b82f6;
  --c-accent-contrast: #fff;

  --header-bg: #fff;
  --link: #1063ff;
  /* 青 */
  --link-hover: #ff57b3;
  /* ピンク */
  --pink: #b63da6;

  /* 固定ヘッダーがある場合のジャンプ被り対策 */
  --anchor-offset: 80px;
  /* ヘッダーの高さに合わせて調整 */
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--c-fg);
  background: var(--c-bg);
  font-family: var(--font-base);
  font-size: var(--fs-16);
  line-height: 1.7;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
	min-height: 100svh;   /* iOS等のアドレスバー込み対策 */
  min-height: 100dvh;   /* 対応ブラウザではこちらが優先される */
  display: flex;
  flex-direction: column;
	height: 100%;
}

/* 画像・メディア */
img,
svg,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* アンカー位置のずれ対策 */
[id] {
  scroll-margin-top: var(--anchor-offset);
}

/* フォーカスリング（アクセシブル） */
:where(a, button, [tabindex]):focus-visible {
  outline: 3px solid var(--c-accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* リンク */
a {
  color: var(--c-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* 見出し */
h1,
h2,
h3 {
  line-height: 1.3;
  margin: 0 0 .5em;
}

h1 {
  font-size: clamp(2rem, 1.4rem + 2.5vw, var(--fs-36));
}

h2 {
  font-size: clamp(1.5rem, 1.2rem + 1vw, var(--fs-28));
display: flex;
    flex-wrap: nowrap;
    align-content: center;
    align-items: center;
    justify-content: flex-start;
}
h2::before {
	content: "";
	display: block;
	background: var(--pink);
	width: 0.5em;
	height: 1em;
	margin-right: 0.5em;
}

h3 {
  font-size: var(--fs-20);
}

/* コンテナ */
.l-main {
  width: min(100%, var(--container-max));
  margin-inline: auto;
  padding-inline: var(--gutter);
  background: var(--m-bg);
}

@media (min-width: 768px) {
  .l-main {
    padding-inline: var(--gutter-lg);
  }
}

/* スキップリンク */
.u-skip {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.u-skip:focus {
  position: fixed;
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  padding: 8px 12px;
  background: #000;
  color: #fff;
  z-index: 1000;
  clip: auto;
}

/* 視覚的に非表示（SR-only） */
.u-visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* 余白ユーティリティ（必要に応じて拡張） */
.u-mt-0 {
  margin-top: 0 !important;
}

.u-mt-sm {
  margin-top: .5rem !important;
}

.u-mt-md {
  margin-top: 1rem !important;
}

.u-mt-lg {
  margin-top: 2rem !important;
}

/* =========================
   Section（共通）
   ========================= */
.section {
  padding-block: 20px;
  border-top: 1px solid var(--c-border);
}

.section:first-of-type {
  border-top: none;
}

.section__title {
  margin-bottom: 16px;
}

.section__subtitle {
  margin: 1rem 0 .5rem;
  color: var(--c-muted);
  font-weight: 600;
}

.section__text {
  color: inherit;
}

.section__action {
  margin-top: 16px;
}

.link-more {
  font-weight: 600;
}

/* レスポンシブ余白 */
@media (min-width: 768px) {
  .section {
    padding-block: 30px;
  }
}

@media (min-width: 1024px) {
  .section {
    padding-block: 50px;
  }
}

/* =========================
   Header
   ========================= */
.l-header.site-header {
  flex: 0 0 auto;
position: sticky;
	top: 0;
  z-index: 1000;
  background: var(--header-bg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
}

.site-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* PC: 左ロゴ／右ナビ */
  gap: 16px;
}

/* ロゴ画像の高さを軽く制御（必要に応じて調整） */
.site-branding img {
  display: block;
  height: 38px;
  width: auto;
}

/* ナビ（PCデフォルト表示） */
.gnav, .fnav {
  display: block;
  background: transparent;
}

.gnav__list, 
.fnav__list {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
	font-family: var(--font-catch);
	font-weight: bold;
}

.gnav__list a, .fnav__list a {
  position: relative;
  display: inline-block;
  padding: 6px 0;
  text-decoration: none;
  color: var(--link);
  transition: color .25s ease;
  /* フェード */
}

.gnav__list a:hover,
.gnav__list a:focus 
.fnav__list a:hover,
.fnav__list a:focus {
  color: var(--link-hover);
  /* ピンクにフェード */
}

/* アクティブ（任意で強調） */
.gnav__list .current-menu-item>a, .fnav__list .current-menu-item>a {
  font-weight: 600;
}

/* 「メニュー」文字はPCで非表示 */
.gnav__toggle-label, .fnav__toggle-label {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

/* ハンバーガーボタンの見た目（モバイル用。PCでは後で非表示） */
.gnav__toggle {
  position: relative;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
}

/* 3本線（中央は label の疑似バーを使わず、buttonの疑似要素で描画） */
.gnav__toggle::before,
.gnav__toggle::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  height: 2px;
  background: #333;
  transition: transform .25s ease, top .25s ease, opacity .25s ease;
}

.gnav__toggle::before {
  top: 12px;
}

.gnav__toggle::after {
  top: 26px;
}

/* 中央線 */
.gnav__toggle span::before {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  top: 19px;
  height: 2px;
  background: #333;
  transition: opacity .2s ease;
}

/* 開閉時のXアニメ */
.gnav__toggle[aria-expanded="true"]::before {
  top: 19px;
  transform: rotate(45deg);
}

.gnav__toggle[aria-expanded="true"]::after {
  top: 19px;
  transform: rotate(-45deg);
}

.gnav__toggle[aria-expanded="true"] span::before {
  opacity: 0;
}

/* ======== モバイル（～767.98px） ======== */
@media (max-width: 767.98px) {
  .site-header__inner {
    justify-content: center;
    /* ロゴを中央に */
  }

  /* ハンバーガーを右上に固定 */
  .gnav__toggle {
    position: fixed;
    top: 10px;
    right: 12px;
    z-index: 1100;
    display: block;
  }

  /* PCの横並びナビは隠す。モバイル用パネルに切り替え */
  .gnav {
    position: fixed;
    top: 64px;
    /* ヘッダー下から展開（ロゴ高さに合わせ調整可） */
    left: 0;
    right: 0;
    background: var(--header-bg);
    border-top: 1px solid rgba(0, 0, 0, .06);
    transform: translateY(-110%);
    transition: transform .25s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
  }

  .gnav.is-open {
    transform: translateY(0);
  }

  .gnav__list {
    display: block;
    padding: 8px 12px;
  }

  .gnav__list li {
    border-bottom: 1px solid rgba(0, 0, 0, .06);
  }

  .gnav__list li:last-child {
    border-bottom: none;
  }

  .gnav__list a {
    display: block;
    padding: 14px 8px;
  }
}

.site-footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}
nav.fnav {
    width: 100%;
}
ul#footer-menu {
    justify-content: center;
}

.l-footer {
	position: static;
  bottom: auto;
  flex: 0 0 auto;
	background: var(--header-bg);
}
@media (max-width: 767px) {
	.site-footer__inner {
		padding: 0;
	}
	nav.fnav {
    width: 100%;
}
	ul#footer-menu {
    justify-content: center;
    flex-wrap: wrap;
}
	ul#footer-menu li {
    width: 100%;
    text-align: center;
}
}
/* ======== PC（768px～） ======== */
@media (min-width: 768px) {
  .gnav__toggle {
    display: none;
  }

  /* PCではハンバーガー非表示 */
}

/* =========================
   Hero
   ========================= */
.hero {
  position: relative;
  padding-block: 48px 32px;
  /* 画像を背景にせずimg重ねの場合は小さめ余白 */
}

.hero__image {
  position: relative;
  min-height: 40vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  background: #f6f7f9;
  /* 画像読み込み前のプレースホルダ */
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__title {
	position: absolute;
    top: 20%;
    right: 10%;
    padding: 0 1rem;
    font-size: xxx-large;
    font-family: var(--font-catch);
    text-shadow: 0 2px 12px rgb(0 0 0 / 70%);
    color: #fff;
}

.hero__text {
  margin: 16px auto 0;
	text-align: center;
}

.hero__highlight {
  font-weight: 700;
}

@media (min-width: 768px) {
  .hero {
    padding-block: 64px 40px;
  }

  .hero__image {
    min-height: 52vh;
  }

  .hero__text {
    margin-top: 20px;
    font-size: var(--fs-16);
  }
}

/* =========================
   ページ本文
   ========================= */
main#content {
	width: 80%;
	max-width: 1200px;
	margin: auto;
	padding: 30px;
	flex: 1 0 auto;
}
main#content div.main-image {
	
}

main#content div.description {
}


/* =========================
   CTA
   ========================= */
.cta {
  display: grid;
  place-items: center;
  padding-block: 32px 48px;
}

.cta__button {
  display: inline-block;
  padding: 14px 20px;
  border-radius: 999px;
  background: var(--c-accent);
  color: var(--c-accent-contrast);
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  transition: transform .06s ease, filter .2s ease;
}

.cta__button:hover {
  text-decoration: none;
  filter: brightness(1.05);
}

.cta__button:active {
  transform: translateY(1px);
}

table {
    border: 1px solid var(--c-fg);
    border-collapse: collapse;
    margin: auto;
	min-width: 75%;
}
table tr th, table tr td {
    border: 1px solid var(--c-fg);
    padding: 0.5em;
}

/* =========================
   Lists
   ========================= */
/* Reason (dl) を2カラムに */
.reason-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: .5rem 1rem;
}

.reason-list__term {
  font-weight: 700;
}

.reason-list__desc {
  color: var(--c-muted);
}

@media (min-width: 768px) {
  .reason-list {
    grid-template-columns: 1fr 2fr;
    align-items: start;
  }

  .reason-list__term {
    grid-column: 1;
  }

  .reason-list__desc {
    grid-column: 2;
  }
}

/* Service list */
.service-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: .5rem;
  padding-left: 1rem;
}

.service-list__item {
  list-style: disc;
}

/* News list */
.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.news-list__item {
  border-bottom: 1px solid var(--c-border);
  padding-bottom: 12px;
}

.news-list__link {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 12px;
  align-items: baseline;
}

.news-list__date {
  color: var(--c-muted);
  font-variant-numeric: tabular-nums;
}

.news-list__title {
  font-weight: 600;
}

/* =========================
   Utilities / Motion
   ========================= */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ダークモード（任意） */
@media (prefers-color-scheme: dark) {
  :root {
    --c-bg: #0b0c0f;
    --c-fg: #f5f6f8;
    --c-muted: #b4b7be;
    --c-border: #1f2430;
    --c-accent: #60a5fa;
    --c-accent-contrast: #0b0c0f;
  }

  .hero__image {
    background: #141822;
  }

  .hero__title {
    text-shadow: 0 2px 12px rgba(0, 0, 0, .6);
  }
}