@charset "UTF-8";

/* =========================================================
   アオゾラワークス コーポレートサイト 共通スタイル
   テーマ：ブルーグラデーション
   ※ 色はすべて :root の変数で管理しています。
     トーンを変えたい場合はここだけ書き換えれば全体に反映されます。
   ========================================================= */

/* ---------- 変数 ---------- */
:root {
  /* ブルーのスケール */
  --blue-900: #061a3a;
  --blue-800: #0b2a5b;
  --blue-700: #103d80;
  --blue-600: #1553a8;
  --blue-500: #1f6feb;
  --blue-400: #3d8bff;
  --blue-300: #6faaff;
  --blue-100: #dbe9ff;
  --blue-50:  #f2f7ff;

  /* 役割ごとの色 */
  --color-text: #16233a;
  --color-text-light: #5b6b85;
  --color-bg: #fff;
  --color-bg-alt: var(--blue-50);
  --color-border: #dde6f4;
  --color-accent: var(--blue-500);
  --color-accent-dark: var(--blue-600);

  /* グラデーション */
  --gradient-main: linear-gradient(135deg, var(--blue-800) 0%, var(--blue-600) 45%, var(--blue-400) 100%);
  --gradient-deep: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 100%);
  --gradient-light: linear-gradient(135deg, var(--blue-50) 0%, #eaf2ff 100%);
  --gradient-line: linear-gradient(90deg, var(--blue-600) 0%, var(--blue-300) 100%);

  /* 影 */
  --shadow-sm: 0 2px 8px rgba(11, 42, 91, .06);
  --shadow-md: 0 8px 24px rgba(11, 42, 91, .08);
  --shadow-lg: 0 16px 40px rgba(11, 42, 91, .14);

  --container-width: 1080px;
  --container-narrow: 760px;
  --space: 24px;
  --radius: 10px;
}

/* ---------- リセット ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body,
h1, h2, h3, h4,
p, ul, ol, dl, dd, figure, table {
  margin: 0;
  padding: 0;
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

html {
  scroll-behavior: smooth;
}

/* ---------- ベース ---------- */
body {
  font-family: "Helvetica Neue", Arial, "Hiragino Sans", "Hiragino Kaku Gothic ProN",
               "BIZ UDPGothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.9;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  letter-spacing: .04em;
}

a {
  color: var(--color-accent);
  transition: color .25s, opacity .25s;
}

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

::selection {
  background: var(--blue-100);
}

/* スクリーンリーダー用 */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- レイアウト ---------- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: var(--space);
}

.container-narrow {
  max-width: var(--container-narrow);
}

.section {
  padding-block: 88px;
}

.section-alt {
  background: var(--gradient-light);
}

/* 見出し：下にグラデーションのラインを敷く */
.section-title {
  position: relative;
  margin-bottom: 40px;
  padding-bottom: 16px;
  font-size: 1.625rem;
  line-height: 1.5;
  font-weight: bold;
}

.section-title::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 56px;
  height: 3px;
  background: var(--gradient-line);
  border-radius: 2px;
  content: "";
}

.section p + p {
  margin-top: 1em;
}

.lead {
  font-size: 1.125rem;
  line-height: 1.9;
}

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(221, 230, 244, .9);
}

/* ヘッダー上端の細いグラデーションライン */
.site-header::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-main);
  content: "";
}

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

.site-logo {
  font-size: 1.375rem;
  font-weight: bold;
  letter-spacing: .06em;
}

.site-logo a {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-decoration: none;
}

.site-logo a:hover {
  opacity: .8;
}

.global-nav ul {
  display: flex;
  gap: 32px;
}

.global-nav a {
  position: relative;
  display: block;
  padding-block: 10px;
  color: var(--color-text);
  font-size: .9375rem;
  text-decoration: none;
}

/* ホバー・現在地でグラデーションの下線が伸びる */
.global-nav a::after {
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-line);
  border-radius: 2px;
  transition: width .3s;
  content: "";
}

.global-nav a:hover::after,
.global-nav a[aria-current="page"]::after {
  width: 100%;
}

.global-nav a[aria-current="page"] {
  color: var(--blue-600);
  font-weight: bold;
}

/* ハンバーガーボタン（スマホ表示のみ） */
.nav-toggle {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  padding: 0;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  cursor: pointer;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  background: var(--blue-600);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: transform .3s, opacity .3s;
  content: "";
}

.nav-toggle-bar {
  top: 50%;
  transform: translate(-50%, -50%);
}

.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after  { top: 6px; }

/* 開いているときは×印に変形 */
.nav-toggle[aria-expanded="true"] .nav-toggle-bar {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before {
  top: 0;
  transform: translateX(-50%) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after {
  top: 0;
  transform: translateX(-50%) rotate(-45deg);
}

/* ---------- ヒーロー ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: 132px;
  background: var(--gradient-main);
  color: #fff;
  text-align: center;
}

/* 背景に光のにじみを重ねて奥行きを出す */
.hero::before,
.hero::after {
  position: absolute;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.hero::before {
  top: -180px;
  right: -120px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(109, 170, 255, .55) 0%, transparent 70%);
}

.hero::after {
  bottom: -220px;
  left: -140px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(255, 255, 255, .22) 0%, transparent 70%);
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 2.5rem;
  line-height: 1.45;
  letter-spacing: .06em;
  text-shadow: 0 2px 20px rgba(6, 26, 58, .25);
}

.hero-lead {
  margin-top: 20px;
  color: rgba(255, 255, 255, .88);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* ヒーロー内のボタンは白抜き基調に */
.hero .button {
  background: #fff;
  border-color: #fff;
  color: var(--blue-700);
  box-shadow: var(--shadow-md);
}

.hero .button:hover {
  background: #fff;
  color: var(--blue-500);
}

.hero .button-outline {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .7);
  color: #fff;
  box-shadow: none;
}

.hero .button-outline:hover {
  background: rgba(255, 255, 255, .2);
  color: #fff;
}

/* ---------- ボタン・リンク ---------- */
.button {
  display: inline-block;
  padding: 15px 36px;
  background: var(--gradient-main);
  background-size: 200% 200%;
  color: #fff;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .9375rem;
  font-weight: bold;
  letter-spacing: .06em;
  text-decoration: none;
  box-shadow: var(--shadow-md);
  transition: transform .3s, box-shadow .3s, background-position .5s, background .3s, color .3s;
}

.button:hover {
  background-position: 100% 0;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.button-outline {
  background: transparent;
  border-color: var(--blue-300);
  color: var(--blue-600);
  box-shadow: none;
}

.button-outline:hover {
  background: var(--blue-50);
  color: var(--blue-600);
}

.text-link {
  display: inline-block;
  font-size: .9375rem;
  font-weight: bold;
  text-decoration: none;
}

.text-link::after {
  display: inline-block;
  margin-left: 6px;
  transition: transform .25s;
  content: "→";
}

.text-link:hover::after {
  transform: translateX(4px);
}

/* ---------- グリッド・カード ---------- */
.grid {
  display: grid;
  gap: 28px;
}

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

.card {
  position: relative;
  overflow: hidden;
  padding: 32px 28px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
}

/* カード上端のグラデーションバー（ホバーで伸びる） */
.card::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 4px;
  background: var(--gradient-line);
  transition: width .4s;
  content: "";
}

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

.card:hover::before {
  width: 100%;
}

.card h3 {
  margin-bottom: 14px;
  color: var(--blue-700);
  font-size: 1.0625rem;
}

.card p + p {
  margin-top: 1em;
}

/* ---------- お知らせ ---------- */
.news-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 20px;
  padding: 20px 8px;
  border-bottom: 1px solid var(--color-border);
  transition: background .3s;
}

.news-list li:first-child {
  border-top: 1px solid var(--color-border);
}

.news-list li:hover {
  background: var(--blue-50);
}

.news-list time {
  color: var(--color-text-light);
  font-size: .875rem;
  letter-spacing: .06em;
}

.news-list a {
  text-decoration: none;
  color: var(--color-text);
}

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

.news-category {
  padding: 3px 16px;
  background: var(--gradient-main);
  color: #fff;
  border-radius: 999px;
  font-size: .6875rem;
  letter-spacing: .06em;
}

/* ---------- お問い合わせ ---------- */
.section-cta {
  position: relative;
  overflow: hidden;
  background: var(--gradient-deep);
  color: #fff;
  text-align: center;
}

.section-cta::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 720px;
  height: 720px;
  background: radial-gradient(circle, rgba(61, 139, 255, .35) 0%, transparent 65%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  content: "";
  pointer-events: none;
}

.section-cta .container {
  position: relative;
  z-index: 1;
}

.section-cta .section-title {
  text-align: center;
}

.section-cta .section-title::after {
  left: 50%;
  background: linear-gradient(90deg, var(--blue-300) 0%, #fff 100%);
  transform: translateX(-50%);
}

.section-cta .button {
  background: #fff;
  border-color: #fff;
  color: var(--blue-700);
}

.section-cta .button:hover {
  color: var(--blue-500);
}

.contact-tel {
  margin-block: 20px 28px;
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: .04em;
}

/* ---------- 下層ページ ---------- */
.page-header {
  position: relative;
  overflow: hidden;
  padding-block: 72px;
  background: var(--gradient-main);
  color: #fff;
}

.page-header::before {
  position: absolute;
  top: -160px;
  right: -100px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(255, 255, 255, .2) 0%, transparent 70%);
  border-radius: 50%;
  content: "";
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-title {
  font-size: 2rem;
  letter-spacing: .08em;
}

.breadcrumb {
  margin-top: 10px;
  color: rgba(255, 255, 255, .8);
  font-size: .8125rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, .9);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: #fff;
  text-decoration: underline;
}

/* ---------- 私たちについて ---------- */
.signature {
  margin-top: 28px;
  color: var(--blue-700);
  font-weight: bold;
  text-align: right;
}

.history-list {
  display: grid;
  grid-template-columns: 160px 1fr;
}

.history-list dt {
  position: relative;
  padding-block: 18px;
  color: var(--blue-600);
  font-weight: bold;
  letter-spacing: .04em;
  border-top: 1px solid var(--color-border);
}

.history-list dd {
  padding-block: 18px;
  border-top: 1px solid var(--color-border);
}

/* ---------- サービス ---------- */
.service-block {
  position: relative;
  overflow: hidden;
  padding: 40px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s;
}

/* 左端のグラデーション帯 */
.service-block::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--gradient-main);
  content: "";
}

.service-block:hover {
  box-shadow: var(--shadow-md);
}

.service-block + .service-block {
  margin-top: 28px;
}

.service-block h2 {
  margin-bottom: 18px;
  color: var(--blue-700);
  font-size: 1.375rem;
}

.service-block h3 {
  margin-block: 28px 12px;
  padding-left: 12px;
  border-left: 3px solid var(--blue-300);
  font-size: 1rem;
}

.check-list li {
  position: relative;
  padding-left: 26px;
}

.check-list li::before {
  position: absolute;
  top: .55em;
  left: 4px;
  width: 8px;
  height: 8px;
  background: var(--gradient-line);
  border-radius: 50%;
  content: "";
}

.price {
  display: inline-block;
  margin-top: 24px;
  padding: 8px 20px;
  background: var(--gradient-light);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  color: var(--blue-700);
  font-size: .875rem;
  font-weight: bold;
}

.flow-list {
  counter-reset: flow;
}

.flow-list li {
  position: relative;
  padding: 0 0 32px 56px;
  border-left: 2px solid var(--blue-100);
  counter-increment: flow;
}

.flow-list li:last-child {
  padding-bottom: 0;
  border-left-color: transparent;
}

.flow-list li::before {
  position: absolute;
  top: 0;
  left: -19px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: var(--gradient-main);
  color: #fff;
  border-radius: 50%;
  font-size: .875rem;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(21, 83, 168, .3);
  content: counter(flow);
}

.flow-list h3 {
  color: var(--blue-700);
  font-size: 1.0625rem;
  line-height: 36px;
}

.faq-list dt {
  margin-top: 28px;
  color: var(--blue-700);
  font-weight: bold;
}

.faq-list dt:first-child {
  margin-top: 0;
}

.faq-list dd {
  margin-top: 8px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
}

/* ---------- 会社概要 ---------- */
.info-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.info-table th,
.info-table td {
  padding: 20px 12px;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}

.info-table tr:first-child th,
.info-table tr:first-child td {
  border-top: 1px solid var(--color-border);
}

.info-table th {
  width: 180px;
  background: var(--blue-50);
  color: var(--blue-700);
  font-weight: bold;
  white-space: nowrap;
}

.plain-list li {
  position: relative;
  padding-left: 20px;
}

.plain-list li::before {
  position: absolute;
  top: .6em;
  left: 2px;
  width: 6px;
  height: 6px;
  background: var(--blue-400);
  border-radius: 50%;
  content: "";
}

.plain-list li + li {
  margin-top: 4px;
}

.map-placeholder {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  background: var(--gradient-light);
  border: 1px dashed var(--blue-300);
  border-radius: var(--radius);
  color: var(--color-text-light);
  font-size: .875rem;
}

/* ---------- フッター ---------- */
.site-footer {
  position: relative;
  padding-block: 56px;
  background: var(--gradient-deep);
  color: rgba(255, 255, 255, .8);
}

.site-footer::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-main);
  content: "";
}

.footer-inner {
  text-align: center;
}

.footer-logo {
  color: #fff;
  font-size: 1.1875rem;
  font-weight: bold;
  letter-spacing: .08em;
}

.footer-nav ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
  margin-block: 24px;
}

.footer-nav a {
  color: rgba(255, 255, 255, .8);
  font-size: .875rem;
  text-decoration: none;
}

.footer-nav a:hover {
  color: #fff;
}

.copyright {
  color: rgba(255, 255, 255, .5);
  font-size: .75rem;
  letter-spacing: .06em;
}

/* =========================================================
   レスポンシブ
   ========================================================= */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .section { padding-block: 56px; }
  .section-title { font-size: 1.375rem; }

  .hero { padding-block: 88px; }
  .hero-title { font-size: 1.75rem; }

  .page-header { padding-block: 48px; }
  .page-title { font-size: 1.5rem; }

  .grid-2,
  .grid-3 { grid-template-columns: 1fr; }

  .service-block { padding: 28px 24px; }
  .service-block h2 { font-size: 1.1875rem; }

  .contact-tel { font-size: 1.25rem; }

  .history-list { grid-template-columns: 1fr; }
  .history-list dt { padding-bottom: 0; }
  .history-list dd { padding-top: 4px; border-top: none; }

  .info-table th,
  .info-table td { display: block; width: auto; }
  .info-table th { padding-bottom: 12px; border-bottom: none; }
  .info-table tr:first-child td { border-top: none; }

  .footer-nav ul { gap: 20px; }

  /* スマホではハンバーガーとぶつからないよう少し抑える */
  .site-logo { font-size: 1.125rem; }

  /* スマホ用ナビゲーション */
  .nav-toggle { display: block; }

  .global-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
  }

  .global-nav.is-open { display: block; }

  .global-nav ul {
    display: block;
    padding: 8px var(--space) 20px;
  }

  .global-nav li + li {
    border-top: 1px solid var(--color-border);
  }

  .global-nav a { padding-block: 16px; }

  /* スマホでは下線アニメーションを無効化 */
  .global-nav a::after { display: none; }
}

/* 動きを控えたい設定の場合はアニメーションを無効化 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
  }
}
