@charset "utf-8";

/* =========================================================
   株式会社ストームコネクト  共通スタイル
   サイトカラー：オレンジ / 明るいデザイン
   border-radius: 3px / box-shadow: 使用しない
   ========================================================= */

:root {
  --orange: #f58220;
  --orange-bright: #ff7a1a;
  --orange-dark: #e06a00;
  --orange-light: #ffe6d0;
  --orange-pale: #fff6ee;
  --ink: #333333;
  --ink-light: #5f6368;
  --line: #ecdfd4;
  --white: #ffffff;
  --radius: 3px;
  --header-h: 88px;
  --header-h-sp: 68px;
}

/* ---------- reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP",
    "Yu Gothic", "Meiryo", sans-serif;
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink);
  background: var(--white);
  -webkit-text-size-adjust: 100%;
  overflow-wrap: break-word;
}

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

a { color: var(--orange-dark); }

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

ul, ol { list-style: none; }

/* ---------- layout ---------- */
.container {
  width: min(1180px, 100% - 48px);
  margin-inline: auto;
}

.container--narrow { width: min(900px, 100% - 48px); }

.section { padding: 92px 0; }

.section--tint { background: var(--orange-pale); }

.section--illustrated {
  background:
    url("../assets/uploads/back1-3.png") no-repeat center bottom / cover,
    var(--orange-pale);
}

.section--line { border-top: 1px solid var(--line); }

.section--grid {
  position: relative;
  overflow: hidden;
}

.section--grid::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(245, 130, 32, .12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 130, 32, .12) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.section--grid > * {
  position: relative;
  z-index: 1;
}

.sp-only { display: none; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- header (透明ナビ) ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0);
  transition: background-color .3s ease, border-color .3s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, .96);
  border-bottom-color: var(--line);
}

.header-inner {
  width: min(1400px, 100% - 40px);
  margin-inline: auto;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-logo { display: block; flex-shrink: 0; }

.site-logo img {
  width: 232px;
  height: auto;
}

.global-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-list a {
  display: block;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  border-radius: var(--radius);
  transition: color .25s ease, background-color .25s ease;
}

.nav-list a:hover,
.nav-list a:focus-visible { color: var(--orange-dark); }

.nav-list a[aria-current="page"] {
  color: var(--orange-dark);
  background: rgba(245, 130, 32, .12);
}

.nav-tel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  background: var(--orange);
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
  border-radius: var(--radius);
  transition: background-color .25s ease;
  white-space: nowrap;
}

.nav-tel:hover { background: var(--orange-dark); }

.nav-tel svg { width: 16px; height: 16px; fill: currentColor; }

/* ハンバーガー */
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .85);
  cursor: pointer;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 50%;
  width: 22px;
  height: 2px;
  background: var(--ink);
  transform: translateX(-50%);
  transition: transform .3s ease, opacity .25s ease, top .3s ease;
}

.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 29px; }

.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: translateX(-50%) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 22px; transform: translateX(-50%) rotate(-45deg); }

/* ---------- hero (トップ) ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 21%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  padding: calc(var(--header-h) + 40px) 0 80px;
}

.hero__lead {
  display: inline-block;
  margin-bottom: 20px;
  padding: 7px 18px;
  background: var(--orange);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  border-radius: var(--radius);
}

.hero__title {
  color: var(--white);
  font-size: clamp(30px, 5.4vw, 62px);
  line-height: 1.45;
  font-weight: 800;
  letter-spacing: .02em;
}

.hero__title .accent { color: var(--orange-bright); }

.hero__text {
  margin-top: 26px;
  color: var(--white);
  font-size: 17px;
  font-weight: 500;
  max-width: 640px;
}

.hero__actions {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ---------- 下層ページタイトル ---------- */
.page-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 340px;
  overflow: hidden;
}

.page-hero__media { position: absolute; inset: 0; z-index: 0; }

.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(255 255 255 / 61%);
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: calc(var(--header-h) + 34px) 0 40px;
  text-align: center;
}

.page-hero__title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: .04em;
}

.page-hero__en {
  display: block;
  margin-top: 8px;
  color: var(--orange-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}

/* パンくず */
.breadcrumb {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 0;
  font-size: 13px;
  color: var(--ink-light);
}

.breadcrumb li + li::before {
  content: "›";
  margin-right: 8px;
  color: var(--orange);
}

.breadcrumb a { color: var(--ink-light); text-decoration: none; }
.breadcrumb a:hover { color: var(--orange-dark); }

/* ---------- 見出し ---------- */
.sec-head { margin-bottom: 48px; }

.sec-head--center { text-align: center; }

.sec-title {
  font-size: clamp(23px, 3.2vw, 34px);
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: .02em;
}

.sec-title--bar {
  padding-left: 18px;
  border-left: 5px solid var(--orange);
}

.sub-title {
  font-size: clamp(19px, 2.4vw, 24px);
  font-weight: 800;
  line-height: 1.6;
  color: var(--ink);
}

.sec-lead { margin-top: 20px; }

.lead-text + .lead-text { margin-top: 1.4em; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 240px;
  padding: 17px 32px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--orange);
  border-radius: var(--radius);
  background: var(--orange);
  color: var(--white);
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}

.btn:hover { background: var(--orange-dark); border-color: var(--orange-dark); }

.btn--outline {
  background: var(--white);
  color: var(--orange-dark);
}

.btn--outline:hover { background: var(--orange); color: var(--white); }

.btn__arrow { font-size: 14px; }

.btn-center {
  margin-top: 48px;
  text-align: center;
}

/* ---------- 事業カード（3コンテンツ） ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color .25s ease, transform .25s ease;
}

.card:hover { border-color: var(--orange); transform: translateY(-4px); }

.card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.card:hover .card__media img { transform: scale(1.05); }

.card__body {
  padding: 26px 26px 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card__title {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.5;
}

.card__title::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  margin: 14px 0 16px;
  background: var(--orange);
}

.card__text { font-size: 16px; }

.card__more {
  margin-top: auto;
  padding-top: 20px;
  color: var(--orange-dark);
  font-weight: 700;
  font-size: 15px;
}

/* ---------- 画像＋テキスト 2カラム ---------- */
.media-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.media-row + .media-row { margin-top: 80px; }

.media-row--reverse .media-row__media { order: 2; }

.media-row__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

.media-row__body .sub-title + .lead-text { margin-top: 18px; }

.media-row__num {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--orange);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .18em;
}

/* ---------- 特徴リスト（見出し＋本文） ---------- */
.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.feature {
  padding: 32px 30px;
  background: var(--white);
  border: 2px solid var(--orange);
  border-radius: var(--radius);
}

.feature__title {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.6;
  margin-bottom: 12px;
}

/* ---------- チェックリスト ---------- */
.check-list {
  display: grid;
  gap: 16px;
  max-width: 860px;
  margin-inline: auto;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 17px;
  font-weight: 700;
}

.check-list svg {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin-top: 2px;
  fill: var(--orange);
}

/* ---------- 丸ポチリスト ---------- */
.dot-list { display: grid; gap: 12px; }

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

.dot-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: .72em;
  width: 9px;
  height: 9px;
  background: var(--orange);
  border-radius: 50%;
}

.panel {
  padding: 40px 40px 44px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.panel--accent {
  border: 2px solid var(--orange);
  background: var(--orange-pale);
}

/* ---------- エリア ---------- */
.area-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.area-grid li {
  padding: 24px 10px;
  text-align: center;
  font-size: 18px;
  font-weight: 800;
  background: var(--white);
  border: 1px solid var(--orange-light);
  border-radius: var(--radius);
}

.area-grid span {
  display: block;
  color: var(--orange);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
}

/* ---------- フルブリード帯 ---------- */
.fullbleed {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.fullbleed__media { position: absolute; inset: 0; z-index: 0; }

.fullbleed__media img { width: 100%; height: 100%; object-fit: cover; }

.fullbleed__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, .94) 0%, rgba(255, 255, 255, .72) 55%, rgba(255, 255, 255, .35) 100%);
}

.fullbleed__inner {
  position: relative;
  z-index: 1;
  padding: 70px 0;
  max-width: 640px;
}

/* ---------- CTA ---------- */
.cta {
  background: var(--orange) url("../assets/uploads/back2.png") no-repeat center / cover;
  background-blend-mode: multiply;
  color: var(--white);
  padding: 78px 0;
  text-align: center;
}

.cta .sec-title,
.cta p { color: var(--white); }

.cta__text { margin-top: 18px; }

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

.cta .btn {
  background: var(--white);
  color: var(--orange-dark);
  border-color: var(--white);
}

.cta .btn:hover { background: var(--orange-dark); color: var(--white); border-color: var(--white); }

.cta__tel {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  padding: 12px 32px;
  border: 2px solid rgba(255, 255, 255, .8);
  border-radius: var(--radius);
  color: var(--white);
  text-decoration: none;
  line-height: 1.4;
}

.cta__tel strong { font-size: 26px; letter-spacing: .04em; }
.cta__tel span { font-size: 13px; letter-spacing: .1em; }

/* ---------- 会社概要テーブル ---------- */
.info-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--line);
  text-align: left;
}

.info-table th,
.info-table td {
  padding: 22px 20px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  font-size: 16px;
}

.info-table th {
  width: 220px;
  font-weight: 700;
  background: var(--orange-pale);
  white-space: nowrap;
}

.map-frame {
  margin-top: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  line-height: 0;
}

.map-frame iframe {
  width: 100%;
  height: 420px;
  border: 0;
}

/* ---------- お問い合わせフォーム ---------- */
.form { display: grid; gap: 28px; }

.form-row { display: grid; gap: 10px; }

.form-label {
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.req, .any {
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius);
  letter-spacing: .06em;
}

.req { background: var(--orange); color: var(--white); }
.any { background: #eef0f2; color: var(--ink-light); }

.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form select,
.form textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #d8d2cc;
  border-radius: var(--radius);
  transition: border-color .2s ease;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 2px solid rgba(245, 130, 32, .35);
  outline-offset: 1px;
  border-color: var(--orange);
}

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

.form-privacy {
  padding: 24px;
  background: var(--orange-pale);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 15px;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  font-weight: 700;
}

.form-check input { margin-top: .45em; width: 18px; height: 18px; accent-color: var(--orange); }

.form-submit { text-align: center; }

.form-submit .btn { border: 2px solid var(--orange); cursor: pointer; font-family: inherit; }

.form-note {
  margin-top: 14px;
  font-size: 14px;
  color: var(--ink-light);
}

/* ---------- プライバシーポリシー ---------- */
.policy h2 {
  margin-bottom: 14px;
  padding-left: 16px;
  font-size: 20px;
  font-weight: 800;
  border-left: 5px solid var(--orange);
  line-height: 1.6;
}

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

.policy .dot-list { margin-top: 16px; }

/* ---------- footer ---------- */
.site-footer {
  background: #fff8f2;
  border-top: 4px solid var(--orange);
  padding: 64px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 1.2fr;
  gap: 48px;
  align-items: start;
}

.footer-logo img { width: 240px; }

.footer-address {
  margin-top: 20px;
  font-size: 15px;
  font-style: normal;
  line-height: 2;
}

.footer-address a { color: var(--ink); text-decoration: none; font-weight: 700; }

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
}

.footer-nav a {
  display: inline-block;
  padding: 6px 0 6px 18px;
  position: relative;
  color: var(--ink);
  font-size: 15px;
  text-decoration: none;
  font-weight: 700;
}

.footer-nav a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  background: var(--orange);
  border-radius: 50%;
}

.footer-nav a:hover { color: var(--orange-dark); }

.footer-bottom {
  margin-top: 52px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
  text-align: center;
  color: var(--ink-light);
}

/* ページトップ */
.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--orange);
  color: var(--white);
  border-radius: var(--radius);
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease, background-color .25s ease;
}

.to-top.is-visible { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--orange-dark); }
.to-top svg { width: 18px; height: 18px; fill: currentColor; }

/* ---------- フェードイン ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}

.fade-up.is-shown { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   レスポンシブ
   ========================================================= */
@media screen and (max-width: 1080px) {
  .nav-list a { padding: 10px 9px; font-size: 14px; }
  .site-logo img { width: 200px; }
  .global-nav { gap: 16px; }
}

@media screen and (max-width: 940px) {
  :root { --header-h: var(--header-h-sp); }

  .header-inner { height: var(--header-h-sp); width: min(1400px, 100% - 32px); }

  .site-logo img { width: 178px; }

  .nav-toggle { display: block; }

  .global-nav {
    position: fixed;
    inset: var(--header-h-sp) 0 auto 0;
    max-height: calc(100vh - var(--header-h-sp));
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 34px;
    background: rgba(255, 255, 255, .98);
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .28s ease, transform .28s ease, visibility .28s ease;
  }

  .global-nav.is-open { opacity: 1; visibility: visible; transform: none; }

  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }

  .nav-list a {
    padding: 16px 6px;
    font-size: 16px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }

  .nav-list a[aria-current="page"] { background: transparent; }

  .nav-tel { margin-top: 22px; justify-content: center; padding: 15px 20px; font-size: 17px; }

  .card-grid { grid-template-columns: 1fr; gap: 24px; }

  .media-row { grid-template-columns: 1fr; gap: 28px; }
  .media-row + .media-row { margin-top: 56px; }
  .media-row--reverse .media-row__media { order: 0; }

  .feature-list { grid-template-columns: 1fr; gap: 20px; }

  .footer-top { grid-template-columns: 1fr; gap: 32px; }

  .hero { min-height: 0; }
  .hero__inner { padding: calc(var(--header-h-sp) + 56px) 0 64px; }
}

@media screen and (max-width: 680px) {
  body { line-height: 1.85; }

  .sp-only { display: inline; }

  .container,
  .container--narrow { width: min(100% - 32px, 100%); }

  .section { padding: 62px 0; }

  .sec-head { margin-bottom: 32px; }

  .hero__text { font-size: 16px; }

  .hero__actions { flex-direction: column; }

  .btn { width: 100%; min-width: 0; padding: 16px 20px; }

  .page-hero { min-height: 260px; }

  .panel { padding: 26px 22px 30px; }

  .area-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }

  .check-list li { font-size: 16px; padding: 16px 18px; gap: 12px; }

  .info-table th,
  .info-table td { display: block; width: 100%; }

  .info-table th { border-bottom: none; padding: 14px 16px; }
  .info-table td { padding: 14px 16px 22px; }

  .map-frame iframe { height: 320px; }

  .cta__actions { flex-direction: column; }
  .cta__tel { width: 100%; }

  .fullbleed__media::after {
    background: linear-gradient(180deg, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, .82) 100%);
  }

  .fullbleed__inner { padding: 54px 0; }

  .footer-nav { grid-template-columns: 1fr; }
}
