@charset "UTF-8";

/* ====================
1. Variables & Reset (基本変数・リセット)
===================== */
:root {
  /* テキストカラー（4色） */
  --color-text-heading: #00457e;
  /* 1. 見出し */
  --color-text-lead: #0f2537;
  /* 2. リード */
  --color-text-body: #334e68;
  /* 3. 本文 */
  --color-accent: #0096c4;
  /* 4. アクセント */

  /* 背景・ボーダー・白抜き用カラー */
  --color-navy: #0a1f35;
  --color-white: #ffffff;
  --color-bg-light: #f0f6fc;
  --color-bg-card: #f8fbff;
  --color-border: #d0e1f9;

  --font-base: "Noto Sans JP", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --font-heading: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
  --font-num: "Libre Baskerville", serif;
  --container-width: 1200px;
  --section-padding-y: clamp(4rem, 8vw, 7.5rem);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-base);
  color: var(--color-text-body);
  background-color: var(--color-white);
  line-height: 1.75;
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.25s ease;

  &:hover {
    opacity: 0.75;
  }
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
}

@media (max-width: 767px) {

  .concept__text br,
  .intro__text br,
  .vision__text br,
  .contact__text br {
    display: none;
  }
}

/* ====================
2. Common (共通パーツ)
===================== */
.section-header {
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
  text-align: center;
}

.section-header__label {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: clamp(0.9375rem, 1.4vw, 1.125rem);
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 3rem;

  &::after {
    content: "";
    display: block;
    width: 2rem;
    height: 1px;
    background-color: var(--color-accent);
  }
}

.section-header__title {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 3.8vw, 2.75rem);
  font-weight: 700;
  line-height: 2;
  color: var(--color-text-heading);
  opacity: 0;
  transform: translateY(56px);
  transition: opacity 2s cubic-bezier(0.22, 1, 0.36, 1), transform 2s cubic-bezier(0.22, 1, 0.36, 1);

  &.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-header__subtitle {
  display: block;
  font-size: clamp(1rem, 2.4vw, 1.75rem);
  line-height: 1.5;
  color: #fff;
  margin: 3rem auto 1rem;
  font-weight: 700;
  background: var(--color-accent);
  padding: 1rem clamp(1rem, 4vw, 3rem);
  border-radius: 8px;
  width: fit-content;
  max-width: 100%;
}

/* ====================
3. Header (ヘッダー)
===================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: linear-gradient(to bottom, rgba(10, 31, 53, 0.8), rgba(10, 31, 53, 0));
  backdrop-filter: blur(4px);
}

.header__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;

  @media (min-width: 768px) {
    padding: 1.5rem 2.5rem;
  }
}

.header__logo {
  position: relative;
  z-index: 102;
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.08em;
}

.header__right {
  position: relative;
  z-index: 102;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.header__actions {
  display: none;

  @media (min-width: 768px) {
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }
}

.header__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 6px;
  letter-spacing: 0.04em;
  transition: opacity 0.25s ease, background-color 0.25s ease;
}

.header__btn--primary {
  background-color: #e1873b;
  color: var(--color-white);
  border: 1px solid #e1873b;
}

.header__btn--outline {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.header__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.header__hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.header__hamburger.is-open {
  .header__hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .header__hamburger-line:nth-child(2) {
    opacity: 0;
  }

  .header__hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

.header__nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  background-color: rgba(10, 31, 53, 0.96);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5rem 1.5rem 2.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 101;

  &.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}

.header__nav-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.25rem;
  flex: 1;
}

.header__nav-link {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-white);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.header__nav-actions {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 320px;
  gap: 0.875rem;
  margin-top: auto;

  .header__btn {
    width: 100%;
    padding: 0.875rem 1.25rem;
    font-size: 0.9375rem;
  }

  @media (min-width: 768px) {
    display: none;
  }
}

/* ====================
4. FV (ファーストビュー)
===================== */
.fv {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  background-color: var(--color-navy);
  overflow: hidden;

  &::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1;
    pointer-events: none;
  }
}

.fv__video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.fv__content {
  text-align: center;
  padding: 0 1.25rem;
}

.fv__logo {
  position: relative;
  z-index: 2;
  font-family: var(--font-base);
  font-size: clamp(3rem, 10vw, 8.5rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-shadow: 0 4px 24px rgba(0, 120, 231, 0.6);
  margin-bottom: 1rem;
}

.fv__tagline {
  position: relative;
  z-index: 2;
  font-size: clamp(1.125rem, 2.4vw, 1.625rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  opacity: 0.95;
}

.fv__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.fv__scroll-text {
  font-size: 0.875rem;
  letter-spacing: 0.15em;
  font-weight: 700;
}

.fv__scroll-line {
  width: 1px;
  height: 16px;
  background-color: rgba(255, 255, 255, 0.6);
}

.fv__scroll-mouse {
  width: 22px;
  height: 34px;
  border: 2px solid var(--color-white);
  border-radius: 12px;
  position: relative;

  &::before {
    content: "";
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 6px;
    background-color: var(--color-white);
    border-radius: 2px;
    animation: scrollWheel 1.8s infinite;
  }
}

@keyframes scrollWheel {
  0% {
    opacity: 1;
    transform: translate(-50%, 0);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, 10px);
  }
}

/* ====================
5. Concept (コンセプト)
===================== */
.concept {
  padding: var(--section-padding-y) 1.25rem;
  background-color: var(--color-bg-light);
  background-image: url("ai-images/");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  @media (max-width: 767px) {
    background-image: url("ai-images/concept_bg_sp.webp");
  }
}

.concept__inner {
  max-width: var(--container-width);
  margin: 0 auto;
}

.concept__lead {
  max-width: 720px;
  margin: 0 auto clamp(3.75rem, 7.5vw, 6rem);
  text-align: center;
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  color: var(--color-text-lead);
  font-weight: 500;
  line-height: 2;
  text-shadow: 0 1px 12px rgba(255, 255, 255, 0.9);
}

.concept__text {
  margin-bottom: 1.3rem;

  &:last-child {
    margin-bottom: 0;
  }
}

.concept__comparison {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;

  @media (min-width: 768px) {
    flex-direction: row;
    justify-content: space-between;
    gap: 2rem;
  }
}

.concept__item {
  width: 100%;
  flex: 1;
  opacity: 0;
  transform: translateY(56px);
  transition: opacity 2s cubic-bezier(0.22, 1, 0.36, 1), transform 2s cubic-bezier(0.22, 1, 0.36, 1);

  &.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}

.concept__img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.concept__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  color: var(--color-accent);
  font-size: 2rem;
  font-weight: 700;
  transform: rotate(90deg);
  opacity: 0;
  transition: opacity 1.5s ease 0.25s;

  &.is-visible {
    opacity: 1;
  }

  @media (min-width: 768px) {
    transform: rotate(0deg);
  }
}

@media (prefers-reduced-motion: reduce) {

  .section-header__title,
  .concept__item,
  .features__card {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .concept__arrow {
    opacity: 1;
    transition: none;
  }
}

/* ====================
6. Intro (イントロ)
===================== */
.intro {
  padding: var(--section-padding-y) 1.25rem clamp(5rem, 18vw, 18rem);
  background-color: #fff;
  background-image: url("ai-images/intro_bg.webp");
  background-size: 100% auto;
  background-position: bottom center;
  background-repeat: no-repeat;
}

.intro__inner {
  max-width: var(--container-width);
  margin: 0 auto;
}

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

.intro__lead {
  text-align: center;
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  color: var(--color-text-lead);
  font-weight: 500;
  line-height: 2;
  text-shadow: 0 1px 12px rgba(255, 255, 255, 0.9);
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  padding: clamp(2rem, 4vw, 3rem) clamp(1.25rem, 3vw, 2.5rem);
}

.intro__text {
  margin-bottom: 1.3rem;

  &:last-child {
    margin-bottom: 0;
  }
}

/* ====================
7. Features (4つの強み)
===================== */
.features {
  padding: var(--section-padding-y) 1.25rem;
  background-color: var(--color-bg-light);
  background-image: url("ai-images/features_bg.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  @media (max-width: 767px) {
    background-image: url("ai-images/features_bg_sp.webp");
  }
}

.features__inner {
  max-width: var(--container-width);
  margin: 0 auto;
}

.features__movie {
  max-width: 1200px;
  margin: clamp(5rem, 8vw, 7rem) auto clamp(2rem, 4vw, 3.5rem);
}

.features__video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0, 69, 126, 0.12);
  background-color: var(--color-navy);
}

.features__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  counter-reset: feature-num;
  padding-top: 3rem;

  @media (min-width: 768px) {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 2rem;
  }
}

.features__card {
  counter-increment: feature-num;
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: clamp(1.75rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  gap: 2rem;
  box-shadow: 0 8px 24px rgba(0, 120, 231, 0.05);
  opacity: 0;
  transform: translateY(56px);
  transition: opacity 2s cubic-bezier(0.22, 1, 0.36, 1), transform 2s cubic-bezier(0.22, 1, 0.36, 1);

  &.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}

.features__card-visual {
  position: relative;
  width: 100%;
  background-color: var(--color-bg-light);

  &::before {
    content: counter(feature-num, decimal-leading-zero);
    position: absolute;
    bottom: 0.75rem;
    left: 0.75rem;
    z-index: 2;
    font-family: var(--font-num);
    font-style: italic;
    font-size: clamp(4.5rem, 7.5vw, 6.375rem);
    line-height: 1;
    color: #00457e;
    pointer-events: none;

    @media (max-width: 767px) {
      left: -1.25rem;
    }
  }
}

.features__card-img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}

.features__card-body {
  flex: 1;
}

.features__card-title {
  font-family: var(--font-heading);
  font-size: clamp(1.125rem, 1.7vw, 1.375rem);
  font-weight: 700;
  color: var(--color-text-heading);
  line-height: 1.4;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 1.5rem;
}

.features__card-text {
  font-size: 1rem;
  color: var(--color-text-body);
  line-height: 1.7;
}

/* ====================
8. Vision (開発背景・ビジョン)
===================== */
.vision {
  padding: var(--section-padding-y) 1.25rem clamp(5rem, 18vw, 18rem);
  background-color: #edf4fc;
  background-image: url("ai-images/vision_bg.webp");
  background-size: 100% auto;
  background-position: bottom center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.vision__inner {
  position: relative;
  z-index: 1;
  max-width: var(--container-width);
  margin: 0 auto;
  text-align: center;
}

.vision__lead {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  color: var(--color-text-lead);
  font-weight: 500;
  line-height: 2;
  text-shadow: 0 1px 12px rgba(255, 255, 255, 0.9);
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  padding: clamp(2rem, 4vw, 3rem) clamp(1.25rem, 3vw, 2.5rem);

  &::after {
    content: "";
    position: absolute;
    right: -180px;
    top: 10%;
    z-index: -1;
    width: 200px;
    aspect-ratio: 8 / 5;
    background: url("ai-images/vision_drone.webp") center / contain no-repeat;
    pointer-events: none;

    @media (max-width: 767px) {
      width: 150px;
      top: 25%;
      right: -20px;
    }
  }
}

.vision__text {
  margin-bottom: 1.3rem;

  &:last-child {
    margin-bottom: 0;
  }
}

/* ====================
9. Contact (お問い合わせ)
===================== */
.contact {
  padding: var(--section-padding-y) 1.25rem;
  background: linear-gradient(180deg, #eef6ff 0%, #d8ebff 100%);
}

.contact__inner {
  max-width: 640px;
  margin: 0 auto;
}

.contact__lead {
  max-width: 720px;
  margin: 0 auto 3.5rem;
  text-align: center;
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  color: var(--color-text-lead);
  font-weight: 500;
  line-height: 2;
  text-shadow: 0 1px 12px rgba(255, 255, 255, 0.9);
}

.contact__text {
  margin-bottom: 1.3rem;

  &:last-child {
    margin-bottom: 0;
  }
}

.contact__cta {
  text-align: center;
}

.contact__submit {
  width: 100%;
  max-width: 400px;
  padding: 1.125rem 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  font-family: inherit;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-white);
  background-color: #f58220;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;

  &:hover {
    opacity: 0.92;
    transform: translateY(-2px);
  }

  &:active {
    transform: translateY(0);
  }
}

/* ====================
10. Footer (フッター)
===================== */
.footer {
  background-color: var(--color-navy);
  color: var(--color-white);
  padding: 2rem 1.25rem;
}

.footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;

  @media (min-width: 768px) {
    flex-direction: row;
    padding: 0 1.5rem;
  }
}

.footer__logo {
  font-size: 1.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.footer__copyright {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.05em;

  @media (min-width: 768px) {
    padding-left: 2rem;
    border-left: 1px solid rgba(255, 255, 255, 0.25);
  }
}