/* ==========================================================
   ハサログAI  リニューアル スタイル（style.css の後に読み込み）
   コンセプト：清潔感 × スマート  ── ロゴの3色の青を基調に
   ========================================================== */
:root {
  --ink: #0b2545;          /* 文字・濃色背景 */
  --ink-2: #13375f;
  --brand: #0f6fb8;        /* ロゴ：濃い青 */
  --sky: #2ca8e0;          /* ロゴ：水色 */
  --mist: #7fb8e3;         /* ロゴ：薄い青 */
  --ice: #eef7fd;          /* 淡い背景 */
  --accent: #ff7a3d;       /* お試しボタン（行動を促す色） */
  --accent-2: #ff9f43;
  --text: #33465c;
  --muted: #6b7c90;
  --line: #e3edf5;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(11, 37, 69, .08);
  --shadow-lg: 0 24px 60px rgba(11, 37, 69, .18);
  --grad: linear-gradient(135deg, var(--brand), var(--sky));
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --link: var(--brand);
  --main: var(--ink);
  --heading: var(--ink);
}

html, body { overflow-x: clip; }
body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: var(--text);
  letter-spacing: .02em;
  font-feature-settings: "palt";
}
h1, h2, h3, h4 { color: var(--ink); letter-spacing: .04em; }
::selection { background: var(--sky); color: #fff; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  border: 0; border-radius: 999px; padding: 12px 28px; font-weight: 700; letter-spacing: .06em; white-space: nowrap;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s;
}
.btn:hover { opacity: 1; transform: translateY(-2px); }
.btn .fa { transition: transform .3s var(--ease); }
.btn:hover .fa-arrow-right, .btn:hover .fa-angle-right { transform: translateX(4px); }
.btn-primary { background: var(--grad); box-shadow: 0 8px 20px rgba(15, 111, 184, .3); }
.btn-primary:hover { box-shadow: 0 12px 28px rgba(15, 111, 184, .4); }
.btn-accent { background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 10px 28px rgba(255, 122, 61, .45); }
.btn-accent:hover { box-shadow: 0 16px 36px rgba(255, 122, 61, .55); }
.btn-outline { background: #fff; color: var(--brand) !important; border: 2px solid var(--brand); }
.btn-outline:hover { background: var(--brand); color: #fff !important; }
.btn-blue { background: var(--grad); }
.btn-gold { background: var(--grad); }
.btn-sm { padding: 9px 18px; font-size: .875rem; }
.btn-lg { padding: 18px 40px; font-size: 1.125rem; }
.btn-shine { position: relative; overflow: hidden; }
.btn-shine::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-20deg); animation: shine 3.6s ease-in-out infinite;
}
@keyframes shine { 0%, 60% { left: -60%; } 100% { left: 130%; } }

/* ==========================================================
   HEADER（全ページ共通）
   ========================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px);
  box-shadow: 0 1px 0 var(--line); transition: background .4s, box-shadow .4s, transform .4s;
}
.topbar { background: transparent; border-bottom: 1px solid var(--line); transition: margin .4s var(--ease), opacity .3s; }
.topbar p { font-size: 11px; color: var(--muted); padding: 5px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.header-inner { min-height: var(--header-h); gap: 24px; }
.logo img { max-height: 38px; transition: filter .4s; }
.gnav { background: transparent; flex: 1; display: flex; justify-content: center; }
.gnav .container { display: contents; }
.gnav-list { gap: 4px; flex-wrap: nowrap; }
.gnav-list a {
  color: var(--ink); font-weight: 500; font-size: .9375rem; padding: 10px 14px; border-radius: 999px; white-space: nowrap;
  transition: color .3s, background .3s;
}
.gnav-list a:hover { color: var(--brand); background: var(--ice); }
.gnav-list a[aria-current="page"] { color: var(--brand); }
.gnav-list a[aria-current="page"]::after { left: 50%; right: auto; width: 18px; margin-left: -9px; bottom: 2px; height: 3px; border-radius: 3px; background: var(--grad); }
.gnav-contact { display: none; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-tel { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.3; text-decoration: none; white-space: nowrap; }
.header-tel .tel-number { font-family: Montserrat, sans-serif; font-size: 1.25rem; font-weight: 700; color: var(--ink); letter-spacing: .02em; }
.header-tel .tel-number .fa { color: var(--brand); margin-right: 6px; }
.header-tel .tel-text { font-size: 10px; color: var(--muted); }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; background: var(--ice); align-items: center; justify-content: center; }
.nav-toggle .bars span { width: 20px; background: var(--ink); transition: transform .3s var(--ease), opacity .3s; }
.nav-toggle[aria-expanded="true"] .bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* トップページ：ヒーローの上では透明、スクロールで白に */
.home .site-header { position: fixed; left: 0; right: 0; background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.home .site-header .topbar { border-color: rgba(255, 255, 255, .15); }
.home .site-header .topbar p, .home .site-header .header-tel .tel-text { color: rgba(255, 255, 255, .75); }
.home .site-header .logo img { filter: brightness(0) invert(1); }
.home .site-header .gnav-list a, .home .site-header .header-tel .tel-number, .home .site-header .header-tel .tel-number .fa { color: #fff; }
.home .site-header .gnav-list a:hover { background: rgba(255, 255, 255, .14); }
.home .site-header .nav-toggle { background: rgba(255, 255, 255, .18); }
.home .site-header .nav-toggle .bars span { background: #fff; }
.home .site-header.is-scrolled {
  background: rgba(255, 255, 255, .92); box-shadow: 0 6px 24px rgba(11, 37, 69, .08);
  backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px);
}
.site-header.is-scrolled .topbar { margin-top: -27px; opacity: 0; }
.home .site-header.is-scrolled .logo img { filter: none; }
.home .site-header.is-scrolled .gnav-list a, .home .site-header.is-scrolled .header-tel .tel-number { color: var(--ink); }
.home .site-header.is-scrolled .gnav-list a[aria-current="page"], .home .site-header.is-scrolled .header-tel .tel-number .fa { color: var(--brand); }
.home .site-header.is-scrolled .gnav-list a:hover { background: var(--ice); }
.home .site-header.is-scrolled .header-tel .tel-text { color: var(--muted); }
.home .site-header.is-scrolled .nav-toggle { background: var(--ice); }
.home .site-header.is-scrolled .nav-toggle .bars span { background: var(--ink); }

@media (max-width: 1440px) { .header-tel { display: none; } }
@media (max-width: 1100px) { .gnav-list a { padding: 10px 10px; font-size: .875rem; } }
@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .topbar { display: none; }
  .header-inner { justify-content: space-between; }
  .header-actions .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  /* backdrop-filter があると固定メニューの基準がヘッダーになり横スクロールが出るため、スマホでは無効化 */
  .site-header, .home .site-header.is-scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(255, 255, 255, .97); }
  .home .site-header:not(.is-scrolled):not(.nav-open) { background: transparent; }
  .gnav {
    position: fixed; inset: 0 0 0 auto; width: min(86vw, 360px); height: 100dvh; z-index: -1;
    display: flex; flex-direction: column; justify-content: flex-start; padding: calc(var(--header-h) + 16px) 24px 32px;
    background: #fff; box-shadow: var(--shadow-lg); transform: translateX(105%); transition: transform .45s var(--ease);
  }
  .gnav.is-open { display: flex; transform: none; }
  .gnav-list { flex-direction: column; gap: 0; width: 100%; margin: 0; }
  .gnav-list a, .home .site-header .gnav-list a { color: var(--ink); padding: 16px 8px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .gnav-list a[aria-current="page"]::after { display: none; }
  .gnav-contact { display: block; margin-top: 24px; }
  .gnav-tel { display: flex; flex-direction: column; text-decoration: none; font-family: Montserrat, sans-serif; font-size: 1.5rem; font-weight: 700; color: var(--ink); }
  .gnav-tel .fa { color: var(--brand); margin-right: 8px; }
  .gnav-tel small { font-family: "Noto Sans JP", sans-serif; font-size: .75rem; font-weight: 400; color: var(--muted); }
  .site-header.nav-open, .home .site-header.nav-open { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .home .site-header.nav-open .logo img { filter: none; }
  .home .site-header.nav-open .nav-toggle { background: var(--ice); }
  .home .site-header.nav-open .nav-toggle .bars span { background: var(--ink); }
}

/* ==========================================================
   共通パーツ
   ========================================================== */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 12px;
  font-family: Montserrat, sans-serif; font-weight: 700; font-size: .8125rem; letter-spacing: .24em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--grad); border-radius: 2px; }
.eyebrow-light { background: none; color: #bfe6fb; }
.eyebrow-light::before { background: var(--sky); }
.section2 { padding: 120px 0; position: relative; }
.section2-header { text-align: center; max-width: 860px; margin: 0 auto 64px; }
.section2-header h2 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.375rem); font-weight: 900; margin: 0 0 20px; }
.section2-header .lead { color: var(--muted); line-height: 2; margin: 0; }
@media (max-width: 767px) { .section2 { padding: 80px 0; } .section2-header { margin-bottom: 40px; } }

/* スクロールで現れる */
.js [data-anim] { opacity: 0; transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js [data-anim="fade-up"] { transform: translateY(40px); }
.js [data-anim="fade-left"] { transform: translateX(60px); }
.js [data-anim="fade-right"] { transform: translateX(-60px); }
.js [data-anim="zoom-in"] { transform: scale(.92); }
.js [data-anim].is-in { opacity: 1; transform: none; }

/* ==========================================================
   HERO
   ========================================================== */
.hero2 { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; color: #fff; isolation: isolate; }
.hero2-bg { position: absolute; inset: -4%; background-size: cover; background-position: center; z-index: -3; animation: kenburns 24s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.04) translate(0, 0); } to { transform: scale(1.16) translate(-2%, -1.5%); } }
.hero2-overlay {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(1200px 600px at 85% 20%, rgba(44, 168, 224, .35), transparent 60%),
    linear-gradient(105deg, rgba(11, 37, 69, .94) 0%, rgba(11, 37, 69, .82) 42%, rgba(15, 111, 184, .45) 100%);
}
/* ロゴの3つの丸をモチーフにした装飾 */
.hero2-dots span { position: absolute; border-radius: 50%; z-index: -1; filter: blur(2px); opacity: .55; animation: drift 14s ease-in-out infinite; }
.hero2-dots span:nth-child(1) { width: 140px; height: 140px; background: var(--brand); left: 4%; bottom: 14%; }
.hero2-dots span:nth-child(2) { width: 90px; height: 90px; background: var(--sky); left: 46%; top: 16%; animation-delay: -4s; }
.hero2-dots span:nth-child(3) { width: 220px; height: 220px; background: var(--mist); right: -60px; bottom: -60px; opacity: .25; animation-delay: -8s; }
@keyframes drift { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(18px, -26px); } }

.hero2-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding-top: calc(var(--header-h) + 60px); padding-bottom: 140px; }
.hero2-copy { container-type: inline-size; }
.hero2-title { margin: 0 0 28px; font-weight: 900; line-height: 1.45; color: #fff; font-size: clamp(1.375rem, calc(100cqi / 17.2), 2.5rem); word-break: keep-all; }
.hero2-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero2-title .line > span { display: block; transform: translateY(110%); animation: rise 1s var(--ease) forwards; }
.hero2-title .line:nth-child(2) > span { animation-delay: .15s; }
.hero2-title .line:nth-child(3) > span { animation-delay: .3s; }
.hero2-title .line-sub { font-size: .72em; font-weight: 700; color: #d6ecfa; }
.hero2-title .line-em { font-size: 1.45em; letter-spacing: .06em; }
.hero2-title .line-em .nb {
  background: linear-gradient(90deg, #fff 0%, #bfe6fb 50%, #fff 100%); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 6s linear infinite 1.4s;
}
@keyframes rise { to { transform: none; } }
@keyframes shimmer { to { background-position: -200% 0; } }
.hero2-lead { font-size: clamp(1rem, .9rem + .4vw, 1.25rem); margin: 0 0 6px; color: #e6f3fc; }
.hero2-price { margin: 0 0 36px; font-size: 1.125rem; color: #e6f3fc; }
.hero2-price strong { font-family: Montserrat, sans-serif; font-size: 3rem; font-weight: 800; color: #fff; margin: 0 4px; line-height: 1; }
.hero2-price span { font-size: .875rem; margin-left: 6px; color: #bcd9ee; }
.hero2-cta { display: flex; flex-wrap: wrap; gap: 16px; }

/* 画面キャプチャ：ブラウザ風フレーム＋立体的に浮かぶ */
.hero2-visual { perspective: 1400px; }
.tilt { position: relative; transform-style: preserve-3d; transition: transform .25s ease-out; animation: float 7s ease-in-out infinite; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
.browser { margin: 0; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); }
.browser img { display: block; width: 100%; height: auto; border: 0; }
.browser-bar { display: flex; gap: 6px; padding: 9px 12px; background: #f1f5f9; }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #cbd5e1; }
.browser-bar i:nth-child(1) { background: var(--brand); }
.browser-bar i:nth-child(2) { background: var(--sky); }
.browser-bar i:nth-child(3) { background: var(--mist); }
.browser-front { position: relative; transform: translateZ(40px); }
.browser-back { position: absolute; width: 78%; right: -8%; top: -12%; opacity: .55; transform: translateZ(-40px) rotate(4deg); filter: blur(.5px); }
.float-badge {
  position: absolute; left: -26px; bottom: -22px; width: 72px; height: 72px; border-radius: 50%;
  display: grid; place-items: center; background: var(--grad); color: #fff; font-size: 30px;
  box-shadow: 0 12px 30px rgba(15, 111, 184, .5); transform: translateZ(80px); animation: pop 2.8s ease-in-out infinite;
}
.float-badge .fa { color: #fff; }
@keyframes pop { 0%, 100% { scale: 1; } 50% { scale: 1.08; } }

.scroll-down { position: absolute; left: 50%; bottom: 96px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255, 255, 255, .6); border-radius: 14px; }
.scroll-down span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

@media (max-width: 960px) {
  .hero2 { min-height: auto; }
  .hero2-inner { grid-template-columns: 1fr; gap: 48px; padding-top: calc(var(--header-h) + 40px); padding-bottom: 120px; }
  .hero2-visual { max-width: 560px; margin: 0 auto; width: 100%; }
  .scroll-down { display: none; }
}
@media (max-width: 600px) {
  .hero2-price strong { font-size: 2.5rem; }
  .hero2-cta .btn { width: 100%; }
  .float-badge { width: 56px; height: 56px; font-size: 22px; left: -8px; }
}

/* ==========================================================
   NEWS（ヒーロー下端に重なるガラス風バー）
   ========================================================== */
.news2 { position: relative; z-index: 2; margin-top: -44px; }
.news2-bar {
  display: flex; align-items: center; gap: 20px; padding: 14px 16px 14px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .96); box-shadow: var(--shadow-lg); backdrop-filter: blur(10px);
}
.news2 .news-label { flex: 0 0 auto; margin: 0; padding: 0; background: none; }
.news2 .news-label a {
  display: inline-block; padding: 6px 18px; border-radius: 999px; background: var(--grad); color: #fff;
  font-family: Montserrat, sans-serif; font-weight: 700; font-size: .8125rem; letter-spacing: .12em;
}
.news2 .news-list a { color: var(--ink); }
.news2 .news-list time { color: var(--muted); font-family: Montserrat, sans-serif; font-size: .8125rem; flex-basis: 8.5em; }
.news2-more { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--ice); color: var(--brand); text-decoration: none; transition: background .3s, color .3s; }
.news2-more:hover { background: var(--brand); color: #fff; }
.news2-more .fa { color: inherit; }
@media (max-width: 600px) {
  .news2 .news-list time { flex-basis: auto; }
  .news2-bar { border-radius: 20px; align-items: flex-start; flex-wrap: wrap; gap: 8px 12px; padding: 14px 16px; }
  .news2 .news-ticker { flex-basis: 100%; order: 3; }
  .news2-more { margin-left: auto; width: 30px; height: 30px; }
}

/* ==========================================================
   ABOUT（3ステップ）
   ========================================================== */
.about { background: #fff; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: step; position: relative; }
.steps::before { /* ステップをつなぐ線（スクロールで伸びる） */
  content: ""; position: absolute; top: 78px; left: 18%; right: 18%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--mist) 0 8px, transparent 8px 16px);
  transform-origin: left; transform: scaleX(0); transition: transform 1.6s var(--ease) .3s;
}
.steps.is-in::before { transform: scaleX(1); }
.step { position: relative; text-align: center; padding: 36px 28px 32px; border-radius: var(--radius); background: transparent; transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .4s; }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); background: #fff; }
.step-no { position: absolute; top: 12px; left: 22px; font-family: Montserrat, sans-serif; font-weight: 800; font-size: 3rem; line-height: 1; color: var(--ice); -webkit-text-stroke: 1px #cfe5f5; }
.step-icon {
  position: relative; width: 84px; height: 84px; margin: 0 auto 20px; border-radius: 26px; display: grid; place-items: center;
  background: var(--grad); color: #fff; font-size: 34px; box-shadow: 0 12px 26px rgba(15, 111, 184, .3); transform: rotate(-6deg); transition: transform .4s var(--ease);
}
.step:hover .step-icon { transform: rotate(0) scale(1.06); }
.step-icon .fa { color: #fff; }
.step h3 { font-size: 1.25rem; font-weight: 700; margin: 0 0 12px; }
.step p { margin: 0; text-align: left; color: var(--muted); font-size: .9375rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } .steps::before { display: none; } }

/* ==========================================================
   POINT（動画＋3つのポイント）
   ========================================================== */
.point { background: linear-gradient(180deg, var(--ice), #fff); overflow: hidden; }
.point::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(44, 168, 224, .18), transparent 70%); top: -160px; left: -160px; }
.point-inner { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.video-card { position: relative; border-radius: var(--radius); padding: 8px; background: var(--grad); box-shadow: var(--shadow-lg); margin-bottom: 32px; }
.video-card video { display: block; width: 100%; border-radius: 12px; background: #000; }
.point-item { display: flex; gap: 20px; padding: 24px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); margin-bottom: 20px; transition: transform .4s var(--ease); }
.point-item:hover { transform: translateX(6px); }
.point-icon { flex: 0 0 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--ice); color: var(--brand); font-size: 24px; transition: background .3s, color .3s; }
.point-item:hover .point-icon { background: var(--grad); }
.point-item:hover .point-icon .fa { color: #fff; }
.point-icon .fa { color: var(--brand); }
.point-item h3 { margin: 2px 0 6px; font-size: 1.125rem; }
.point-item p { margin: 0; font-size: .9375rem; color: var(--muted); }
@media (max-width: 900px) { .point-inner { grid-template-columns: 1fr; gap: 40px; } }

/* ==========================================================
   FEATURES
   ========================================================== */
.features { background: #fff; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feature {
  position: relative; padding: 40px 30px 34px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
}
.feature::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.feature:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.feature:hover::before { transform: scaleX(1); }
.feature-icon { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: var(--ice); margin-bottom: 22px; font-size: 28px; transition: background .4s, transform .4s var(--ease); }
.feature-icon .fa { color: var(--brand); transition: color .4s; }
.feature:hover .feature-icon { background: var(--grad); transform: rotate(-8deg) scale(1.05); }
.feature:hover .feature-icon .fa { color: #fff; }
.feature h3 { font-size: 1.125rem; margin: 0 0 12px; }
.feature p { margin: 0; font-size: .9375rem; color: var(--muted); }
@media (max-width: 960px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } }

/* ==========================================================
   TRIAL CTA（パララックス）
   ========================================================== */
.trial { position: relative; overflow: hidden; color: #fff; isolation: isolate; }
.trial-bg { position: absolute; inset: -20% 0; background-size: cover; background-position: center top; z-index: -2; will-change: transform; }
.trial-overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, rgba(11, 37, 69, .93), rgba(15, 111, 184, .82)); }
.trial-inner { text-align: center; padding: 120px 16px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.trial-inner h2 { color: #fff; font-size: clamp(1.375rem, 1rem + 1.8vw, 2.5rem); font-weight: 900; margin: 0 0 32px; }

/* ==========================================================
   FAQ
   ========================================================== */
.faq2 { background: var(--ice); }
.faq2 .faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq2 .faq-item { border: 0; border-radius: 14px; background: #fff; box-shadow: 0 4px 14px rgba(11, 37, 69, .05); overflow: hidden; transition: box-shadow .3s; }
.faq2 .faq-item[open] { box-shadow: var(--shadow); }
.faq2 .faq-item summary { padding: 22px 64px 22px 72px; font-weight: 700; color: var(--ink); transition: color .3s; }
.faq2 .faq-item summary:hover { color: var(--brand); }
.faq2 .faq-item summary::before {
  content: "Q"; left: 22px; top: 18px; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: var(--grad); color: #fff; font-family: Montserrat, sans-serif; font-size: 1rem;
}
.faq2 .faq-item summary::after {
  content: ""; right: 26px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(45deg); transition: transform .3s var(--ease);
}
.faq2 .faq-item[open] summary::after { content: ""; transform: rotate(-135deg); margin-top: -2px; }
.faq2 .faq-answer { padding: 0 32px 26px 72px; color: var(--text); animation: faqOpen .45s var(--ease); }
.faq2 .faq-answer::before {
  content: "A"; left: 22px; top: -2px; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: #fff2ea; color: var(--accent); font-family: Montserrat, sans-serif; font-size: 1rem;
}
@keyframes faqOpen { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (max-width: 600px) {
  .faq2 .faq-item summary { padding: 18px 48px 18px 60px; font-size: .9375rem; }
  .faq2 .faq-item summary::before, .faq2 .faq-answer::before { left: 14px; }
  .faq2 .faq-answer { padding: 0 20px 20px 60px; font-size: .9375rem; }
}

/* ==========================================================
   CONTACT
   ========================================================== */
.contact2 { background: #fff; }
.contact2 .contact-card { position: relative; border: 1px solid var(--line); border-top: 0; border-radius: var(--radius); padding: 48px 28px 36px; box-shadow: var(--shadow); overflow: hidden; }
.contact2 .contact-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: var(--grad); }
.contact-icon { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: var(--ice); font-size: 26px; }
.contact-icon .fa { color: var(--brand); }
.contact2 .contact-card h3 .fa { display: none; }
.contact2 .contact-tel { font-family: Montserrat, sans-serif; font-weight: 800; font-size: clamp(1.625rem, 1.2rem + 1.4vw, 2.25rem); }
.contact2 .contact-tel a { color: var(--ink); }
.contact2 .mail-image { color: var(--ink); font-size: clamp(1.25rem, 1rem + .9vw, 1.625rem); }

/* ==========================================================
   下層ページ
   ========================================================== */
.page-title { position: relative; overflow: hidden; padding: 56px 0 48px; border: 0; background: linear-gradient(120deg, var(--ink), var(--brand)); color: #fff; }
.page-title::after { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; right: -80px; top: -160px; background: radial-gradient(circle, rgba(44, 168, 224, .55), transparent 70%); }
.page-title h1 { position: relative; color: #fff; font-size: clamp(1.375rem, 1.1rem + 1.2vw, 2.125rem); font-weight: 900; margin-top: 10px; animation: titleIn .8s var(--ease) both; }
.page-title .breadcrumb, .page-title .breadcrumb a { position: relative; color: rgba(255, 255, 255, .75); }
@keyframes titleIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.page-body { padding-top: 64px; padding-bottom: 100px; }
.entry h2 { border: 0; padding: 0 0 0 20px; position: relative; font-weight: 900; }
.entry h2::before { content: ""; position: absolute; left: 0; top: .25em; bottom: .25em; width: 6px; border-radius: 6px; background: var(--grad); }
.entry h3 { border-bottom: 0; padding-bottom: 10px; position: relative; }
.entry h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 48px; height: 3px; border-radius: 3px; background: var(--grad); }
.entry h4 { color: var(--brand); }
.entry img { border: 0; border-radius: 12px; box-shadow: var(--shadow); }
.entry table { border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); border-collapse: separate; border-spacing: 0; }
.entry th, .entry td { border: 0; border-bottom: 1px solid var(--line); }
.entry tr:last-child th, .entry tr:last-child td { border-bottom: 0; }
.entry th, .entry .wp-block-table td:first-child { background: var(--ice); color: var(--ink); font-weight: 700; }
.entry blockquote, .wp-block-quote { border-left: 4px solid var(--sky); background: var(--ice); border-radius: 0 12px 12px 0; }
.wp-block-button__link { font-weight: 700; transition: transform .3s var(--ease), box-shadow .3s; }
.wp-block-button__link[href]:hover { transform: translateY(-2px); box-shadow: var(--shadow); opacity: 1; }
.has-vivid-cyan-blue-background-color { background: var(--grad); }
.sidebar .side-box { border: 0; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; top: calc(var(--header-h) + 16px); }
.sidebar h2 { background: var(--grad); }
.sidebar li a { border-top-color: var(--line); transition: background .25s, color .25s, padding .25s; }
.sidebar li a:hover { padding-left: 22px; background: var(--ice); }
.sidebar li a[aria-current="page"] { background: var(--ice); box-shadow: inset 4px 0 0 var(--brand); }
.voice-card a { border: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .4s var(--ease), box-shadow .4s; }
.voice-card a:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.voice-card img { transition: transform .6s var(--ease); }
.voice-card a:hover img { transform: scale(1.05); }
.news-index { border-top: 0; display: flex; flex-direction: column; gap: 12px; }
.news-index li { border: 0; border-radius: 14px; padding: 20px 24px; background: #fff; box-shadow: 0 4px 14px rgba(11, 37, 69, .06); transition: transform .3s var(--ease), box-shadow .3s; }
.news-index li:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.news-index time { font-family: Montserrat, sans-serif; color: var(--brand); font-weight: 600; }

/* ==========================================================
   FOOTER
   ========================================================== */
.site-footer { background: linear-gradient(160deg, var(--ink), #081a33); padding: 72px 0 32px; }
.site-footer::before { content: ""; display: block; width: 180px; height: 45px; margin: 0 auto 32px; background: url("/assets/uploads/2019/04/haccp-log.png") center / contain no-repeat; filter: brightness(0) invert(1); opacity: .9; }
.footer-nav { gap: 8px 0; margin-bottom: 28px; }
.footer-nav li + li::before { color: rgba(255, 255, 255, .25); }
.footer-nav a { color: rgba(255, 255, 255, .85); transition: color .3s; }
.footer-nav a:hover { color: var(--sky); }
.copyright { color: rgba(255, 255, 255, .55); }
.copyright a { color: rgba(255, 255, 255, .75); }
.pagetop { width: 52px; height: 52px; top: -26px; background: var(--grad); box-shadow: 0 10px 24px rgba(15, 111, 184, .45); transition: transform .3s var(--ease); }
.pagetop:hover { transform: translateY(-4px); color: #fff; }
.pagetop .fa { color: #fff; }

/* ---------- 動きを減らす設定の利用者には静止表示 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-anim], .hero2-title .line > span { opacity: 1 !important; transform: none !important; }
}

/* 表：スマホでは見出しを縦書き状に潰さず、横スクロールで見せる */
.table_box table th, .table_box table td { white-space: nowrap; }
.table_box { -webkit-overflow-scrolling: touch; }
