@charset "UTF-8";

/* ============================================================
   D-ATRA ポートフォリオサイト - メインスタイルシート
   ============================================================
   制作: 2026年4月
   構成: CSS変数 → リセット → 共通 → アニメーション → セクション別
   命名規則: BEM (Block__Element--Modifier)
   ============================================================ */


/* ============================================================
   1. CSS カスタムプロパティ（デザイントークン）
   ============================================================ */

:root {
  /* --- カラーパレット --- */
  --color-primary: #00A179;
  --color-primary-dark: #008764;
  --color-accent: #E8740E;
  --color-accent-dark: #D0680D;
  --color-danger: #B23A3A;

  /* --- テキストカラー --- */
  --color-text-main: #1F2D2A;
  --color-text-sub: #5F6F6B;
  --color-text-white: #FFFFFF;

  /* --- 背景カラー --- */
  --color-bg: #FFFFFF;
  /* 画面外を白で統一 */
  --color-bg-white: #FFFFFF;
  --color-border: #D9E3E0;

  /* --- フォントファミリー --- */
  --font-primary:
    "Hiragino Sans",
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    "Meiryo",
    sans-serif;

  /* --- レイアウト --- */
  --content-max-width: 1920px;
  --content-inner-width: 1100px;

  /* --- z-index 管理 --- */
  --z-bg: 1;
  --z-slider: 2;
  --z-spotlight: 3;
  --z-light: 4;
  --z-content: 5;
  --z-cta: 6;
  --z-header: 100;
}


/* ============================================================
   2. リセット・ノーマライズ
   ============================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  width: 100%;
}

body {
  position: relative;
  font-family: var(--font-primary);
  color: var(--color-text-main);
  background: var(--color-bg);
  line-height: 1.7;
  overflow-x: hidden;
  overflow-x: clip; /* Safari対策: hiddenが効かない場合のフォールバック */
  width: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border: none;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  opacity: 1;
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}


/* ============================================================
   3. 共通ユーティリティ・レイアウト
   ============================================================ */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.l-container {
  width: 100%;
  max-width: var(--content-inner-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* 構造的な改行制御：span等に付与して単語の途切延を防止 */
.u-inline-block {
  display: inline-block;
  vertical-align: top;
}


/* ============================================================
   4. キーフレームアニメーション定義
   ============================================================ */

/* --- メインビジュアル: 下からフェードイン --- */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* --- 光スウィープ: 左右往復（CTAボタン用） --- */
@keyframes sweepLight {
  0% {
    left: -40%;
    opacity: 0.6;
  }

  50% {
    opacity: 1;
  }

  100% {
    left: 140%;
    opacity: 0.6;
  }
}

/* --- 波紋エフェクト --- */
@keyframes ripple {
  0% {
    transform: scale(0);
    opacity: 0.5;
  }

  100% {
    transform: scale(4);
    opacity: 0;
  }
}

/* --- スクロールインジケーター: 手振りアニメーション --- */
@keyframes waveHand {
  0%, 100% { transform: rotate(0deg); }
  15% { transform: rotate(-12deg); }
  30% { transform: rotate(10deg); }
  45% { transform: rotate(-8deg); }
  60% { transform: rotate(6deg); }
  75% { transform: rotate(-3deg); }
}

/* スクロール中にインジケーターを非表示にするクラス */
.is-indicator-hidden {
  opacity: 0 !important;
  animation: none !important;
}

/* reCAPTCHA v3 バッジを非表示（Googleガイドラインに準拠） */
.grecaptcha-badge {
  visibility: hidden !important;
}

/* --- 表示切り替えユーティリティ --- */
/* SP専用改行（スマホのみインライン表示） */
@media screen and (min-width: 769px) {
  .u-sp-br {
    display: none !important;
  }
}

/* 要素丸ごとの出し分け用 */
@media screen and (min-width: 769px) {
  .u-sp-only {
    display: none !important;
  }
}

@media screen and (max-width: 768px) {
  .u-pc-only {
    display: none !important;
  }

  /* スマホ版では横ブレを防ぐためoverflow-xを制限（ZoomはViewport側で最適化済みの為削除） */
  body, section {
    overflow-x: hidden;
  }
}

/* --- 汎用非表示ユーティリティ --- */
.is-hidden {
  display: none !important;
}

.is-review-hidden {
  display: none !important;
}

.is-btn-hidden {
  display: none !important;
}

.js-price-lp.is-lp-hidden {
  display: none !important;
}
/* ============================================================
   �O���[�o���t�b�^�[ (.l-footer)
   ============================================================ */
.l-footer {
  width: 100%;
  background: #1E333B;
  padding: 20px 20px;
  text-align: center;
  box-sizing: border-box;
}

.l-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.l-footer__privacy {
  font-family: Noto Sans JP, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  color: #FFFFFF;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.l-footer__privacy:hover {
  text-decoration: underline;
  opacity: 0.8;
}

.l-footer__copyright {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
  font-size: 12px;
  line-height: 1.5;
  color: #FFFFFF;
  margin: 0;
}

