/*
Theme Name: Brachio Theme
Theme URI: https://brachio-design.com/
Author: Brachio Design
Author URI: https://brachio-design.com/
Description: 青森発クリエイティブ事業所「ブラキオデザイン」公式テーマ
Version: 4.7.5
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Proprietary
Text Domain: brachio
*/


/* ==========================================================================
   RESET
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  color: #2D3748;
  line-height: 1.8;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

ul,
ol {
  list-style: none;
}


/* ==========================================================================
   TOKENS (CSS Custom Properties)
   ========================================================================== */

:root {
  --white: #FFFFFF;
  --off-white: #F9F7F4;
  --cream: #FBF8F3;
  --light-bg: #EDF2F7;
  --border: #E2E8F0;
  --border-dot: #D0D5DD;
  --text-dark: #1A202C;
  --text: #2D3748;
  --text-sub: #4A5568;
  --text-muted: #718096;
  --text-light: #A0AEC0;
  --blue: #3182CE;
  --blue-dark: #2B6CB0;
  --blue-light: #EBF4FF;
  --teal: #0099AA;
  --teal-light: #E6F7F9;
  --warm: #D69E2E;
  --warm-light: #FEFCBF;
  --coral: #E8615A;
  --green: #06C755;
  --navy: #1A202C;
  --cta-bg: #2D3748;
  --icon-bg: #F0EDEA;
  --bg-dark: #1A202C;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.08);
  --container: 1120px;
  --section-py: 100px;
  --font-en: "Josefin Sans", sans-serif;
}


/* ==========================================================================
   UTILITIES
   ========================================================================== */

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-py) 0;
}

.section--cream {
  background: var(--cream);
}

.section--alt {
  background: var(--off-white);
}

.section--gray {
  background: var(--light-bg);
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header__ja {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--blue);
  line-height: 1.4;
  margin-bottom: 4px;
}

.section-header__en {
  font-family: var(--font-en);
  font-size: .8125rem;
  font-weight: 400;
  letter-spacing: .15em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ----- Buttons ----- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: .9375rem;
  font-weight: 600;
  transition: all .2s;
  cursor: pointer;
  border: none;
  gap: 6px;
}

.btn--primary {
  background: var(--blue);
  color: #fff;
}

.btn--primary:hover {
  background: var(--blue-dark);
}

.btn--secondary {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid var(--blue);
}

.btn--secondary:hover {
  background: var(--blue-light);
}

.btn--diagnosis {
  background: var(--coral);
  color: #fff;
  border: none;
}

.btn--diagnosis:hover {
  opacity: .9;
}

.btn--white {
  background: #fff;
  color: var(--cta-bg);
}

.btn--white:hover {
  background: var(--off-white);
}

.btn--outline-white {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .5);
}

.btn--outline-white:hover {
  background: rgba(255, 255, 255, .1);
}

.btn--line {
  background: var(--green);
  color: #fff;
}

.btn--line:hover {
  opacity: .9;
}

/* ----- Text Link ----- */

.text-link {
  color: var(--blue);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap .2s;
}

.text-link:hover {
  gap: 10px;
}

.text-link__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--blue);
  font-size: .75rem;
  transition: all .2s;
}

.text-link:hover .text-link__arrow {
  background: var(--blue);
  color: #fff;
}

/* ----- Badge ----- */

.badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: .6875rem;
  font-weight: 600;
  background: var(--blue-light);
  color: var(--blue);
}

.badge--warm {
  background: var(--warm-light);
  color: var(--warm);
}

.badge--coral {
  background: #FDE8E7;
  color: var(--coral);
}

.badge--new {
  background: var(--coral);
  color: #fff;
  font-size: .625rem;
  padding: 2px 8px;
}


/* ==========================================================================
   TOP BAR
   ========================================================================== */

.top-bar {
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
  font-size: .8rem;
  color: var(--text-muted);
  padding: 8px 0;
}

.top-bar .container {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  align-items: center;
}

.top-bar a {
  color: var(--text-muted);
  transition: color .2s;
}

.top-bar a:hover {
  color: var(--blue);
}

.top-bar__item {
  display: flex;
  align-items: center;
  gap: 4px;
}


/* ==========================================================================
   HEADER
   ========================================================================== */

.header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: transform .3s, box-shadow .3s;
  transform: translateY(-100%);
}

.header--visible {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 0;
}

.header__logo img {
  height: 40px;
  width: auto;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header__nav a {
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-sub);
  transition: color .2s, background .2s;
  position: relative;
  padding: 6px 12px;
  border-radius: 6px;
}

.header__nav a:hover {
  color: var(--blue);
  background: var(--blue-light);
}

.header__cta {
  display: flex;
  gap: 8px;
}

.header__cta .btn {
  padding: 10px 20px;
  font-size: .8125rem;
}

.header__hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  position: relative;
}

.header__hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  position: absolute;
  left: 6px;
  transition: all .3s;
}

.header__hamburger span:nth-child(1) { top: 10px; }
.header__hamburger span:nth-child(2) { top: 15px; }
.header__hamburger span:nth-child(3) { top: 20px; }


/* ==========================================================================
   BREADCRUMB
   ========================================================================== */

.breadcrumb {
  padding: 16px 0;
  font-size: .8125rem;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-muted);
  transition: color .2s;
}

.breadcrumb a:hover {
  color: var(--blue);
}

.breadcrumb__sep {
  margin: 0 8px;
  opacity: .5;
}


/* ==========================================================================
   HERO (Top Page — Sidebar Layout + Slideshow)
   ========================================================================== */

.hero {
  background: var(--off-white);
  padding: 0;
  position: relative;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 0;
  align-items: stretch;
  max-width: 100%;
  padding: 0;
  margin: 0;
}

/* ----- Sidebar ----- */

.hero__sidebar {
  background: #fff;
  padding: 40px 32px 32px;
  display: flex;
  flex-direction: column;
  z-index: 2;
  border-right: 1px solid var(--border);
}

.hero__logo-area {
  text-align: center;
  margin-bottom: 24px;
}

.hero__logo-img {
  max-width: 200px;
  height: auto;
  margin: 0 auto 8px;
}

.hero__logo-icon {
  font-size: 2.5rem;
  margin-bottom: 4px;
}

.hero__logo-name {
  font-family: var(--font-en);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: .04em;
}

.hero__logo-sub {
  font-size: .6875rem;
  color: var(--text-muted);
  letter-spacing: .06em;
}

.hero__logo-desc {
  font-size: .75rem;
  color: var(--text-sub);
  margin-top: 8px;
  letter-spacing: .02em;
}

.hero__quick-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}

.hero__quick-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-align: center;
  transition: all .2s;
  cursor: pointer;
  background: #fff;
}

.hero__quick-link:hover {
  border-color: var(--blue);
  background: var(--blue-light);
}

.hero__quick-link-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--icon-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  line-height: 1;
}

.hero__quick-link-text {
  font-size: .75rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.3;
}

.hero__sidebar-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.hero__sidebar-cta .btn {
  padding: 12px 8px;
  font-size: .8125rem;
  border-radius: 50px;
}

.hero__btn-phone {
  background: var(--navy);
  color: #fff;
  font-size: .875rem;
  font-weight: 700;
  border-radius: 50px;
  white-space: nowrap;
}

.hero__btn-phone:hover {
  opacity: .9;
}

.hero__btn-phone-label {
  font-size: .625rem;
  font-weight: 400;
  display: block;
  margin-bottom: 2px;
}

.hero__sidebar-info {
  font-size: .75rem;
  color: var(--text-muted);
  line-height: 1.8;
  border-top: 1px solid var(--border);
  padding-top: 12px;
}

.hero__sidebar-info strong {
  color: var(--text-sub);
  font-weight: 500;
}

/* ----- Visual / Slideshow ----- */

.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 520px;
  overflow: hidden;
}

.hero__image {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  color: transparent;
  font-size: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero__slide.is-active {
  opacity: 1;
}

.hero__image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(160deg, rgba(15, 23, 42, .55) 0%, rgba(15, 23, 42, .35) 100%);
}

.hero__image::after {
  display: none;
}

/* ----- Decorative Elements (Bouncing Dots) ----- */

.hero__deco {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero__deco-line {
  display: none;
}

.hero__deco-line--1 {
  width: 1px;
  height: 120%;
  top: -10%;
  left: 25%;
  transform: rotate(15deg);
}

.hero__deco-line--2 {
  width: 1px;
  height: 120%;
  top: -10%;
  left: 55%;
  transform: rotate(-10deg);
}

.hero__deco-line--3 {
  width: 120%;
  height: 1px;
  top: 35%;
  left: -10%;
  transform: rotate(-5deg);
}

.hero__deco-dot {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  will-change: transform;
  top: 0;
  left: 0;
  transition: none;
}

.hero__deco-dot--2 {
  background: rgba(255, 255, 255, .04);
}

.hero__deco-dot--3 {
  background: rgba(255, 255, 255, .06);
}

.hero__deco-text {
  position: absolute;
  font-family: var(--font-en);
  font-size: 8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .06);
  letter-spacing: .05em;
  bottom: 5%;
  right: 5%;
  line-height: 1;
  white-space: nowrap;
  user-select: none;
}

/* ----- Overlay Content ----- */

.hero__overlay {
  position: relative;
  z-index: 2;
  padding: 48px 56px;
}

.hero__title {
  font-size: 2.75rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .3);
}

.hero__sub-en {
  font-family: var(--font-en);
  font-size: .9375rem;
  font-weight: 300;
  color: rgba(255, 255, 255, .7);
  letter-spacing: .05em;
}


/* ==========================================================================
   DIAGNOSIS TOOL
   ========================================================================== */

.diagnosis {
  background: linear-gradient(135deg, #1e3a5f 0%, #2D3748 50%, #1A202C 100%);
  color: #fff;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.diagnosis::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .06);
  top: -100px;
  right: -100px;
}

.diagnosis::after {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .04);
  bottom: -80px;
  left: -60px;
}

.diagnosis__inner {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.diagnosis__header {
  text-align: center;
  margin-bottom: 40px;
}

.diagnosis__header h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.diagnosis__header p {
  color: rgba(255, 255, 255, .6);
  font-size: .9375rem;
}

.diagnosis__progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 40px;
}

.diagnosis__step-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 56px;
}

.diagnosis__circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
  font-size: .875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .4);
  transition: all .3s;
}

.diagnosis__circle.is-active {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.diagnosis__circle.is-done {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.diagnosis__step-label {
  font-size: .6875rem;
  color: rgba(255, 255, 255, .35);
  transition: color .3s;
}

.diagnosis__step-label.is-active {
  color: rgba(255, 255, 255, .9);
}

.diagnosis__step-label.is-done {
  color: rgba(255, 255, 255, .6);
}

.diagnosis__line {
  width: 32px;
  height: 2px;
  background: rgba(255, 255, 255, .15);
  margin: 0 4px;
  margin-bottom: 20px;
  transition: background .3s;
}

.diagnosis__line.is-done {
  background: var(--blue);
}

.diagnosis__panel {
  background: rgba(255, 255, 255, .06);
  border-radius: var(--radius);
  padding: 40px 32px;
  min-height: 320px;
  backdrop-filter: blur(4px);
}

.diagnosis__view {
  display: none;
}

.diagnosis__view.is-visible {
  display: block;
  animation: diagFade .3s ease;
}

@keyframes diagFade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.diagnosis__question {
  font-size: 1.125rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
}

.diagnosis__hint {
  font-size: .8125rem;
  color: rgba(255, 255, 255, .5);
  text-align: center;
  margin-bottom: 28px;
}

.diagnosis__options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.diagnosis__option {
  background: rgba(255, 255, 255, .08);
  border: 1.5px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-sm);
  padding: 20px 12px;
  text-align: center;
  cursor: pointer;
  transition: all .2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.diagnosis__option:hover {
  background: rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .25);
}

.diagnosis__option.is-selected {
  background: rgba(49, 130, 206, .2);
  border-color: var(--blue);
}

.diagnosis__option-icon {
  font-size: 1.5rem;
}

.diagnosis__option-label {
  font-size: .875rem;
  font-weight: 600;
}

.diagnosis__option-desc {
  font-size: .6875rem;
  color: rgba(255, 255, 255, .5);
  line-height: 1.4;
}

.diagnosis__nav {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.diagnosis__back {
  background: none;
  border: none;
  color: rgba(255, 255, 255, .5);
  font-size: .8125rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color .2s;
}

.diagnosis__back:hover {
  color: rgba(255, 255, 255, .8);
}

.diagnosis__result {
  text-align: center;
}

.diagnosis__result-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(49, 130, 206, .2);
  border: 1px solid var(--blue);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: .75rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 16px;
}

.diagnosis__result-service {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.diagnosis__result-desc {
  font-size: .875rem;
  color: rgba(255, 255, 255, .6);
  margin-bottom: 24px;
  line-height: 1.8;
}

.diagnosis__result-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.diagnosis__retry {
  background: none;
  border: none;
  color: rgba(255, 255, 255, .5);
  font-size: .8125rem;
  cursor: pointer;
  margin-top: 8px;
  transition: color .2s;
}

.diagnosis__retry:hover {
  color: rgba(255, 255, 255, .8);
}


/* ==========================================================================
   SERVICE CARDS (Top Page Grid)
   ========================================================================== */

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: box-shadow .3s, transform .3s;
  cursor: pointer;
  position: relative;
}

.service-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.service-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  background: var(--icon-bg);
  border-radius: 50%;
}

.service-card__name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.service-card__desc {
  font-size: .8125rem;
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 12px;
}

.service-card__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  color: var(--text-muted);
  font-size: .75rem;
  margin: 0 auto;
  transition: all .2s;
}

.service-card:hover .service-card__arrow {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-light);
}

.services__more {
  text-align: center;
}


/* ==========================================================================
   SERVICE HERO (Dark Gradient — Service Detail Pages)
   ========================================================================== */

.service-hero {
  background: linear-gradient(135deg, #1e3a5f 0%, #2D3748 50%, #1A202C 100%);
  color: #fff;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.service-hero::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .06);
  top: -100px;
  right: -100px;
}

.service-hero::after {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .04);
  bottom: -80px;
  left: -60px;
}

.service-hero__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.service-hero__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .1);
  border-radius: 50%;
  color: #fff;
}

.service-hero__badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: .6875rem;
  font-weight: 600;
  background: rgba(49, 130, 206, .25);
  color: rgba(255, 255, 255, .9);
  border: 1px solid rgba(49, 130, 206, .4);
  margin-bottom: 16px;
}

.service-hero h1 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-hero__desc {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, .7);
  margin-bottom: 20px;
  line-height: 1.8;
}

.service-hero__actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}


/* ==========================================================================
   STANDARD FEATURES GRID (Service Pages)
   ========================================================================== */

.std-features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.std-feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: box-shadow .3s, transform .3s;
}

.std-feature-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.std-feature-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--icon-bg);
  border-radius: 50%;
  color: var(--text-sub);
}

.std-feature-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.std-feature-card__desc {
  font-size: .8125rem;
  color: var(--text-sub);
  line-height: 1.7;
}


/* ==========================================================================
   PRICING GRID (Service Pages)
   ========================================================================== */

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pricing-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  position: relative;
  transition: box-shadow .3s, transform .3s;
}

.pricing-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.pricing-card--recommended {
  border: 2px solid var(--blue);
}

.pricing-card__recommend-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: #fff;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: .6875rem;
  font-weight: 700;
  white-space: nowrap;
}

.pricing-card__name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.pricing-card__pages {
  font-size: .8125rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.pricing-card__price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 4px;
}

.pricing-card__price-note {
  font-size: .75rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.pricing-card__features {
  text-align: left;
  margin-bottom: 24px;
}

.pricing-card__features li {
  font-size: .8125rem;
  color: var(--text-sub);
  padding: 6px 0;
  border-bottom: 1px dashed var(--border-dot);
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.pricing-card__check {
  color: var(--blue);
  flex-shrink: 0;
}

.pricing-card .btn {
  width: 100%;
}


/* ==========================================================================
   PLAN DETAIL CARDS (Service Pages)
   ========================================================================== */

.plans-detail {
  max-width: 1000px;
  margin: 0 auto;
}

.plan-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 24px;
  scroll-margin-top: 100px;
}

.plan-card__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.plan-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--icon-bg);
  border-radius: 50%;
  color: var(--text-sub);
  flex-shrink: 0;
}

.plan-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
}

.plan-card__price {
  font-size: .875rem;
  color: var(--blue);
  font-weight: 600;
  margin-top: 2px;
}

.plan-card__desc {
  font-size: .9375rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 16px;
}

.plan-card__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 20px;
}

.plan-card__feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .8125rem;
  color: var(--text-sub);
}

.plan-card__feature svg {
  color: var(--blue);
  flex-shrink: 0;
}

.plan-card__actions {
  display: flex;
  gap: 12px;
}


/* ==========================================================================
   PROCESS TIMELINE (Service Pages)
   ========================================================================== */

.process__timeline {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  padding-left: 48px;
}

.process__timeline::before {
  content: "";
  position: absolute;
  left: 39px;
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: var(--border);
}

.process__step {
  position: relative;
  padding: 0 0 40px 32px;
}

.process__step:last-child {
  padding-bottom: 0;
}

.process__num {
  position: absolute;
  left: -28px;
  top: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
  font-size: .875rem;
  font-weight: 600;
  z-index: 1;
}

.process__step-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.process__step-duration {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 12px;
  font-size: .6875rem;
  font-weight: 500;
  background: var(--blue-light);
  color: var(--blue);
  margin-bottom: 4px;
}


/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: '';
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
  transition: transform .3s;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item[open] .faq-question::after {
  transform: rotate(-135deg);
}

.faq-answer {
  padding: 0 0 20px;
  font-size: .875rem;
  color: var(--text-sub);
  line-height: 1.8;
}

.faq-answer p {
  margin: 0;
}


/* ==========================================================================
   NEWS SECTION (Top Page — Tabs + Items)
   ========================================================================== */

.news__tabs {
  display: flex;
  gap: 0;
  margin-bottom: 32px;
  justify-content: center;
}

.news__tab {
  padding: 12px 28px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--text-sub);
  cursor: pointer;
  border: none;
  background: none;
  position: relative;
  transition: color .2s;
}

.news__tab.is-active {
  color: #fff;
  background: var(--blue);
  border-radius: 50px;
}

.news__tab:not(.is-active):hover {
  color: var(--blue);
}

.news__list {
  max-width: 900px;
  margin: 0 auto 32px;
}

.news__item {
  display: grid;
  grid-template-columns: 100px auto 1fr 24px;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px dashed var(--border-dot);
  align-items: center;
  transition: background .2s;
  cursor: pointer;
}

.news__item:hover {
  background: rgba(49, 130, 206, .02);
}

.news__item:last-child {
  border-bottom: none;
}

.news__date {
  font-family: var(--font-en);
  font-size: .875rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.news__title {
  font-size: .9375rem;
  font-weight: 500;
  color: var(--text);
  transition: color .2s;
}

.news__item:hover .news__title {
  color: var(--blue);
}

.news__arrow {
  color: var(--text-muted);
  font-size: .75rem;
}

.news__more {
  text-align: right;
  max-width: 900px;
  margin: 0 auto;
}


/* ==========================================================================
   NEWS LIST (Archive Page)
   ========================================================================== */

.news-list {
  max-width: 800px;
  margin: 0 auto;
}

.news-item {
  display: flex;
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  transition: background .2s;
}

.news-item:first-child {
  padding-top: 0;
}

.news-item:last-child {
  border-bottom: none;
}

.news-item__date {
  font-size: .8125rem;
  color: var(--text-muted);
  white-space: nowrap;
  padding-top: 2px;
  min-width: 100px;
}

.news-item__body {
  flex: 1;
}

.news-item__category {
  display: inline-block;
  font-size: .6875rem;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.news-item__category--info {
  background: var(--blue-light);
  color: var(--blue);
}

.news-item__category--service {
  background: #fef3c7;
  color: #92400e;
}

.news-item__category--media {
  background: #ede9fe;
  color: #6d28d9;
}

.news-item__category--event {
  background: #dcfce7;
  color: #166534;
}

.news-item__category--update {
  background: #f1f5f9;
  color: #475569;
}

.news-item__title {
  font-size: .9375rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.6;
}

.news-item__title a {
  color: inherit;
  text-decoration: none;
}

.news-item__title a:hover {
  color: var(--blue);
}

.news-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 48px;
}

.news-pagination__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-sub);
  font-size: .875rem;
  text-decoration: none;
  transition: all .2s;
}

.news-pagination__btn:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.news-pagination__btn.is-active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.news-pagination__btn.is-disabled {
  opacity: .4;
  pointer-events: none;
}


/* ==========================================================================
   FEATURE GRID (Top Page — Bento Layout)
   ========================================================================== */

.features {
  padding: var(--section-py) 0;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 240px 240px 160px;
  gap: 20px;
  margin-bottom: 20px;
}

.feature-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--light-bg);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  cursor: pointer;
  transition: transform .3s;
}

.feature-card:hover {
  transform: scale(1.02);
}

.feature-card--hero {
  grid-column: span 2;
}

.feature-card--wide {
  grid-column: 1 / -1;
}

.feature-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, 0) 60%);
}

.feature-card__content {
  position: relative;
  z-index: 2;
  padding: 24px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.feature-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
}

.feature-card__arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: .75rem;
  flex-shrink: 0;
}


/* ==========================================================================
   WORKS (Top Page — Cards)
   ========================================================================== */

.works__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

.work-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  transition: box-shadow .3s, transform .3s;
}

.work-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.work-card__thumb {
  aspect-ratio: 16 / 9;
  background: var(--light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: .8125rem;
}

.work-card__body {
  padding: 20px 24px;
}

.work-card__badge {
  margin-bottom: 8px;
}

.work-card__title {
  font-size: .9375rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.work-card__desc {
  font-size: .8125rem;
  color: var(--text-sub);
}

.works__more {
  text-align: center;
}


/* ==========================================================================
   WORKS FILTER & GRID (Works Archive Page)
   ========================================================================== */

.works-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 40px;
}

.works-filter__btn {
  padding: 8px 20px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #fff;
  color: var(--text-sub);
  font-size: .8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s;
}

.works-filter__btn:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.works-filter__btn.is-active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.works-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .3s, transform .3s;
}

.works-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.works-card__thumb {
  aspect-ratio: 16 / 10;
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: .8125rem;
  overflow: hidden;
}

.works-card__body {
  padding: 20px;
}

.works-card__category {
  display: inline-block;
  font-size: .6875rem;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.works-card__category--web {
  background: var(--blue-light);
  color: var(--blue);
}

.works-card__category--video {
  background: #fef3c7;
  color: #92400e;
}

.works-card__category--print {
  background: #ede9fe;
  color: #6d28d9;
}

.works-card__category--livestream {
  background: #dcfce7;
  color: #166534;
}

.works-card__category--meo {
  background: #fce7f3;
  color: #9d174d;
}

.works-card__category--ai {
  background: #f1f5f9;
  color: #475569;
}

.works-card__title {
  font-size: .9375rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.5;
  margin-bottom: 8px;
}

.works-card__title a {
  color: inherit;
  text-decoration: none;
}

.works-card__title a:hover {
  color: var(--blue);
}

.works-card__client {
  font-size: .75rem;
  color: var(--text-muted);
}


/* ==========================================================================
   STRENGTH (Top Page)
   ========================================================================== */

.strength__list {
  max-width: 800px;
  margin: 0 auto;
}

.strength__item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px dashed var(--border-dot);
  align-items: start;
}

.strength__item:last-child {
  border-bottom: none;
}

.strength__num {
  font-family: var(--font-en);
  font-size: 1.75rem;
  font-weight: 300;
  color: var(--blue);
  line-height: 1;
}

.strength__title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.strength__desc {
  font-size: .875rem;
  color: var(--text-sub);
  line-height: 1.8;
}


/* ==========================================================================
   AREA (Top Page)
   ========================================================================== */

.area__intro {
  text-align: center;
  font-size: 1.0625rem;
  color: var(--text-sub);
  margin-bottom: 40px;
}

.area__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.area__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--text);
  transition: all .2s;
}

.area__tag:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-light);
}

.area__tag-icon {
  font-size: 1rem;
}


/* ==========================================================================
   ACTIVITY TIMELINE (Top Page)
   ========================================================================== */

.activity__timeline {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  padding-left: 28px;
}

.activity__timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--border);
}

.activity__entry {
  position: relative;
  padding: 0 0 28px 24px;
}

.activity__entry:last-child {
  padding-bottom: 0;
}

.activity__entry::before {
  content: "";
  position: absolute;
  left: -25px;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--blue);
}

.activity__date {
  font-size: .8125rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.activity__title {
  font-size: .9375rem;
  font-weight: 500;
  color: var(--text-dark);
}


/* ==========================================================================
   PICKUP (Top Page)
   ========================================================================== */

.pickup__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.pickup-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  transition: box-shadow .3s, transform .3s;
}

.pickup-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.pickup-card__thumb {
  aspect-ratio: 4 / 3;
  background: var(--light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: .8125rem;
  position: relative;
  overflow: hidden;
}

/* カードサムネ画像のアスペクト比統一（縦長画像はトリミング、横長は中央クロップ）*/
.pickup-card__thumb img,
.work-card__thumb img,
.works-card__thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.pickup-card__new {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--coral);
  color: #fff;
  font-size: .6875rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 0 0 8px 0;
}

.pickup-card__body {
  padding: 16px 16px 20px;
}

.pickup-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.pickup-card__date {
  font-size: .75rem;
  color: var(--text-muted);
}

.pickup-card__title {
  font-size: .875rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.5;
}


/* ==========================================================================
   ABOUT (Top Page)
   ========================================================================== */

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 48px;
}

.about__image {
  aspect-ratio: 4 / 3;
  background: var(--light-bg);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: .875rem;
  overflow: hidden;
}

.about__image iframe,
.about__image img {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: var(--radius);
  display: block;
  object-fit: cover;
}

.about__info h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.about__table {
  width: 100%;
}

.about__table tr {
  border-bottom: 1px dashed var(--border-dot);
}

.about__table th {
  font-size: .8125rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 12px 16px 12px 0;
  vertical-align: top;
  white-space: nowrap;
  text-align: left;
  width: 100px;
}

.about__table td {
  font-size: .875rem;
  color: var(--text);
  padding: 12px 0;
}

.about__more {
  margin-top: 20px;
}

.about__map {
  width: 100%;
  height: 300px;
  background: var(--light-bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: .875rem;
}


/* ==========================================================================
   CONTACT METHODS
   ========================================================================== */

.contact-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.contact-method {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: box-shadow .3s;
}

.contact-method:hover {
  box-shadow: var(--shadow-hover);
}

.contact-method__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--icon-bg);
  border-radius: 50%;
  color: var(--text-sub);
}

.contact-method__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.contact-method__desc {
  font-size: .8125rem;
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 16px;
}

.contact-method .btn {
  width: 100%;
}


/* ==========================================================================
   CONTACT FORM
   ========================================================================== */

.contact-form {
  max-width: 720px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form-required {
  color: var(--coral);
  font-size: .75rem;
  margin-left: 4px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .9375rem;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  transition: border-color .2s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(49, 130, 206, .1);
}

.form-textarea {
  min-height: 160px;
  resize: vertical;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23718096' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.form-hint {
  font-size: .75rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.form-note {
  max-width: 720px;
  margin: 32px auto 0;
  padding: 20px 24px;
  background: var(--off-white);
  border-radius: var(--radius-sm);
  font-size: .8125rem;
  color: var(--text-sub);
  line-height: 1.8;
}

.form-note a {
  color: var(--blue);
  text-decoration: underline;
}


/* ==========================================================================
   COMPANY TABLE
   ========================================================================== */

.company-table {
  max-width: 800px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}

.company-table__row {
  display: flex;
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.company-table__th {
  width: 160px;
  min-width: 160px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--text-dark);
}

.company-table__td {
  flex: 1;
  font-size: .9375rem;
  color: var(--text);
  line-height: 1.8;
}


/* ==========================================================================
   MESSAGE (Company Page — Representative)
   ========================================================================== */

.message {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.message__photo {
  width: 200px;
  min-width: 200px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--off-white);
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: .8125rem;
}

.message__body {
  flex: 1;
}

.message__name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.message__role {
  font-size: .8125rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.message__text {
  font-size: .9375rem;
  color: var(--text);
  line-height: 2;
}

.message__text p {
  margin-bottom: 16px;
}

.message__text p:last-child {
  margin-bottom: 0;
}


/* ==========================================================================
   ACCESS (Company Page — Map)
   ========================================================================== */

.access {
  max-width: 800px;
  margin: 0 auto;
}

.access__map {
  width: 100%;
  height: 400px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: .875rem;
  margin-bottom: 16px;
}

.access__info {
  font-size: .875rem;
  color: var(--text-sub);
  line-height: 1.8;
}


/* ==========================================================================
   GPTs / TOOL CARDS
   ========================================================================== */

.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tool-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .3s, transform .3s;
}

.tool-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.tool-card__thumb {
  height: 180px;
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .3);
  position: relative;
}

.tool-card__thumb svg {
  width: 48px;
  height: 48px;
}

.tool-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, .15);
  color: #fff;
  font-size: .6875rem;
  padding: 4px 10px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}

.tool-card__badge--free {
  background: rgba(72, 187, 120, .2);
  color: #48bb78;
}

.tool-card__body {
  padding: 20px;
}

.tool-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.tool-card__desc {
  font-size: .8125rem;
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 16px;
}

.tool-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.tool-card__tag {
  font-size: .6875rem;
  color: var(--text-muted);
  background: var(--off-white);
  padding: 3px 8px;
  border-radius: 4px;
}

.tool-card__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--blue);
}

.tool-card__link svg {
  width: 14px;
  height: 14px;
}


/* ==========================================================================
   ERROR PAGE (404)
   ========================================================================== */

.error-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  min-height: 60vh;
}

.error-page__code {
  font-size: 8rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -.04em;
}

.error-page__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.error-page__desc {
  font-size: 1rem;
  color: var(--text-sub);
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 480px;
}

.error-page__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}


/* ==========================================================================
   CTA SECTION
   ========================================================================== */

.cta {
  background: var(--cta-bg);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}

.cta__title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.cta__sub {
  font-size: .9375rem;
  color: var(--text-light);
  margin-bottom: 32px;
  line-height: 1.8;
}

.cta__actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.cta__contact {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
  font-size: .9375rem;
  color: var(--text-light);
}

.cta__line {
  margin-top: 8px;
}

.cta__trust {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.cta__trust-item {
  font-size: .8125rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 6px;
}

.cta__trust-check {
  color: var(--blue);
  font-size: .75rem;
}


/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
  background: var(--navy);
  color: var(--text-light);
  padding: 64px 0 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer__col-title {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}

.footer__company-name {
  font-family: var(--font-en);
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}

.footer__logo {
  height: 32px;
  width: auto;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}

.footer__addr-label {
  display: block;
  color: #fff;
  font-weight: 600;
  margin-top: 8px;
}

.footer__addr-label:first-of-type {
  margin-top: 0;
}

/* ==========================================
   Home Page Content (Layer 3: ブロックエディタ自由編集ゾーン)
========================================== */
.home-content__inner {
  max-width: 900px;
  margin: 0 auto;
}

.home-content__inner > * {
  margin-top: 24px;
  margin-bottom: 24px;
}

.home-content__inner > *:first-child { margin-top: 0; }
.home-content__inner > *:last-child  { margin-bottom: 0; }

.home-content__inner h1,
.home-content__inner h2,
.home-content__inner h3 {
  margin-top: 48px;
  margin-bottom: 16px;
}

.home-content__inner img,
.home-content__inner .wp-block-image,
.home-content__inner figure {
  max-width: 100%;
  height: auto;
}

.home-content__inner .alignwide {
  margin-left: -40px;
  margin-right: -40px;
  max-width: calc(100% + 80px);
}

.home-content__inner .alignfull {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  max-width: 100vw;
}

@media (max-width: 768px) {
  .home-content__inner .alignwide { margin-left: 0; margin-right: 0; max-width: 100%; }
}

/* ==========================================
   Estimator (概算見積もり)
========================================== */
.estimator-hero {
  background: linear-gradient(135deg, #1e50a2 0%, #1e3a5f 100%);
  color: #fff;
  padding: 60px 0 80px;
}
.estimator-hero__inner { max-width: 800px; margin: 0 auto; text-align: center; }
.estimator-hero__badge {
  display: inline-block;
  padding: 4px 16px;
  background: rgba(255,255,255,0.15);
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.estimator-hero h1 { color: #fff; font-size: 2rem; margin: 0 0 16px; }
.estimator-hero__lead { color: rgba(255,255,255,0.85); font-size: 0.9375rem; }

.estimator {
  background: #f8fafc;
  padding: 48px 0 80px;
}
.estimator__container {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  align-items: start;
}

.estimator__section {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px 24px;
  margin-bottom: 20px;
}
.estimator__section-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #1e3a5f;
  border-bottom: 2px solid #b94047;
  padding-bottom: 8px;
  margin: 0 0 20px;
}
.estimator__options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.estimator__option {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 16px 14px;
  background: #fff;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  cursor: pointer;
  text-align: left;
  transition: border-color .15s, background-color .15s, transform .15s, box-shadow .15s;
  font-family: inherit;
}
.estimator__option:hover {
  border-color: #b94047;
  background: #fef7f7;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(185, 64, 71, .08);
}
.estimator__option.is-selected {
  border-color: #1e50a2;
  background: #eef4fc;
  box-shadow: 0 0 0 1px #1e50a2 inset;
}
.estimator__option-name { font-weight: 700; color: #1e3a5f; font-size: 0.9375rem; }
.estimator__option-desc { font-size: 0.75rem; color: #64748b; }
.estimator__option-price { font-size: 0.8125rem; color: #b94047; font-weight: 600; margin-top: 4px; }
.estimator__badge {
  position: absolute; top: -8px; right: -8px;
  background: linear-gradient(135deg, #b94047, #8f3037);
  color: #fff;
  font-size: 0.6875rem;
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(185, 64, 71, .25);
}

.estimator__note {
  margin: 20px 0 0;
  padding: 12px 16px;
  background: #fef7f7;
  border-left: 3px solid #b94047;
  font-size: 0.8125rem;
  color: #555;
  border-radius: 4px;
}

/* ===== Summary（右側 sticky） ===== */
.estimator__summary { position: sticky; top: 100px; align-self: start; }
.estimator__summary-inner {
  background: #1e3a5f;
  color: #fff;
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .15);
}
.estimator__summary-label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.7);
  margin: 0 0 4px;
  text-transform: uppercase;
}
.estimator__summary-total {
  font-family: var(--font-en), 'Josefin Sans', sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}
.estimator__summary-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  border-top: 1px solid rgba(255,255,255,0.15);
  max-height: 280px;
  overflow-y: auto;
}
.estimator__summary-list li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 0;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.85);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.estimator__summary-list li span:first-child { flex: 1; }
.estimator__summary-list li.estimator__rush { color: #ffd166; font-weight: 600; }
.estimator__cta {
  display: block;
  text-align: center;
  width: 100%;
  margin: 8px 0;
}
.estimator__summary-note {
  margin: 12px 0 0;
  font-size: 0.6875rem;
  color: rgba(255,255,255,0.6);
}

@media (max-width: 980px) {
  .estimator__container { grid-template-columns: 1fr; }
  .estimator__summary { position: static; }
  .estimator__summary-inner { border-radius: 12px; }
}
@media (max-width: 600px) {
  .estimator-hero { padding: 40px 0 60px; }
  .estimator-hero h1 { font-size: 1.5rem; }
  .estimator__options { grid-template-columns: 1fr; }
  .estimator__section { padding: 20px 16px; border-radius: 12px; }
}

.footer__sns {
  display: flex;
  gap: 14px;
  margin-top: 16px;
}

.footer__sns-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transition: background-color .2s, transform .2s;
}

.footer__sns-link:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.footer__company-info {
  font-size: .8125rem;
  line-height: 2;
  color: var(--text-light);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__links a {
  font-size: .8125rem;
  color: var(--text-light);
  transition: color .2s;
}

.footer__links a:hover {
  color: #fff;
}

.footer__bottom {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: .75rem;
  color: var(--text-muted);
}


/* ==========================================================================
   FLOATING LINE BUTTON
   ========================================================================== */

.floating-line {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  width: 56px;
  height: 56px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: .6875rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(6, 199, 85, .3);
  transition: transform .2s;
}

.floating-line:hover {
  transform: scale(1.08);
}


/* ==========================================================================
   PAGE-TOP BUTTON
   ========================================================================== */

.pagetop {
  position: fixed;
  bottom: 24px;
  right: 88px;
  z-index: 90;
  width: 48px;
  height: 48px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-sub);
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
  cursor: pointer;
  transition: transform .2s, opacity .3s;
  opacity: 0;
  pointer-events: none;
}

.pagetop--visible {
  opacity: 1;
  pointer-events: auto;
}

.pagetop:hover {
  transform: scale(1.08);
}


/* ==========================================================================
   MOBILE NAV (Full-Screen Overlay)
   ========================================================================== */

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 200;
  padding: 80px 24px 24px;
  flex-direction: column;
  gap: 0;
}

.mobile-nav.is-open {
  display: flex;
}

.mobile-nav__close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text);
}

.mobile-nav a {
  display: block;
  padding: 16px 0;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.mobile-nav .btn {
  margin-top: 24px;
  text-align: center;
}


/* ==========================================================================
   MOBILE BAR (Bottom Fixed)
   ========================================================================== */

.mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
}

.mobile-bar__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.mobile-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 6px 0;
  font-size: .625rem;
  font-weight: 500;
  color: var(--text-sub);
}

.mobile-bar__item--line {
  color: var(--green);
}

.mobile-bar__item--contact {
  color: var(--blue);
}

.mobile-bar__icon {
  font-size: 1.125rem;
}


/* ==========================================================================
   RESPONSIVE — Tablet (max-width: 1023px)
   ========================================================================== */

@media (max-width: 1023px) {
  .hero .container {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .hero__sidebar {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .hero__visual {
    min-height: 300px;
  }

  .diagnosis__options {
    grid-template-columns: repeat(2, 1fr);
  }

  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .works__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pickup__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features__grid {
    grid-template-rows: auto;
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-card--hero {
    grid-column: span 1;
  }

  .feature-card--wide {
    grid-column: 1 / -1;
  }

  .std-features__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-methods {
    grid-template-columns: repeat(2, 1fr);
  }

  .tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* ==========================================================================
   RESPONSIVE — Mobile (max-width: 767px)
   ========================================================================== */

@media (max-width: 767px) {
  :root {
    --section-py: 64px;
  }

  /* Layout */
  .top-bar { display: none; }
  .header__nav { display: none; }
  .header__cta { display: none; }
  .header__hamburger { display: block; }

  /* Hero */
  .hero__title { font-size: 1.75rem; }
  .hero__overlay { padding: 32px 24px; }
  .hero__quick-nav { grid-template-columns: repeat(3, 1fr); }

  /* Diagnosis */
  .diagnosis__options { grid-template-columns: 1fr 1fr; }
  .diagnosis__panel { padding: 28px 20px; min-height: 260px; }

  /* Services */
  .services__grid { grid-template-columns: 1fr; }

  /* Service Hero */
  .service-hero { padding: 56px 0; }
  .service-hero h1 { font-size: 1.625rem; }
  .service-hero__desc { font-size: .9375rem; }

  /* Standard Features & Pricing */
  .std-features__grid { grid-template-columns: 1fr; }
  .pricing__grid { grid-template-columns: 1fr; }
  .pricing-card--recommended { order: -1; }

  /* Plan Cards */
  .plan-card__features { grid-template-columns: 1fr; }
  .plan-card__actions { flex-direction: column; }

  /* Process */
  .process__timeline { padding-left: 40px; }
  .process__num { left: -20px; width: 36px; height: 36px; font-size: .8125rem; }
  .process__step { padding-left: 28px; }

  /* Works */
  .works__grid { grid-template-columns: 1fr; }
  .works-grid { grid-template-columns: 1fr 1fr; }

  /* Features (Bento) */
  .features__grid { grid-template-columns: 1fr; }

  /* News */
  .news__item { grid-template-columns: 80px auto 1fr 20px; gap: 8px; }
  .news__tabs { flex-wrap: wrap; }
  .news-item { flex-direction: column; gap: 4px; }
  .news-item__date { min-width: auto; }

  /* Pickup */
  .pickup__grid { grid-template-columns: 1fr; }

  /* About */
  .about__inner { grid-template-columns: 1fr; }

  /* Strength */
  .strength__item { grid-template-columns: 48px 1fr; gap: 16px; }

  /* Area */
  .area__tag { padding: 8px 16px; font-size: .8125rem; }

  /* Contact */
  .contact-methods { grid-template-columns: 1fr; }

  /* Company */
  .message { flex-direction: column; align-items: center; text-align: center; }
  .message__photo { width: 160px; min-width: 160px; }
  .message__text { text-align: left; }
  .company-table__row { flex-direction: column; gap: 4px; }
  .company-table__th { width: auto; min-width: auto; }

  /* Tools */
  .tools-grid { grid-template-columns: 1fr; }

  /* Error Page */
  .error-page { padding: 80px 24px 64px; }
  .error-page__code { font-size: 5rem; }

  /* CTA */
  .cta__trust { flex-direction: column; align-items: center; gap: 12px; }

  /* Section Headers */
  .section-header__ja { font-size: 1.375rem; }

  /* Footer */
  .footer__grid { grid-template-columns: 1fr; }

  /* Floating & Mobile */
  .floating-line { bottom: 72px; }
  .pagetop { bottom: 72px; right: 88px; }
  .mobile-bar { display: block; }
}


/* ==========================================================================
   RESPONSIVE — Small Mobile (max-width: 480px)
   ========================================================================== */

@media (max-width: 480px) {
  .works-grid { grid-template-columns: 1fr; }
}
