/*
Theme Name: まるっと制作所
Theme URI: https://marutto-seisaku.com
Description: まるっと制作所 公式サイト カスタムテーマ
Version: 1.0
Author: TSUMUGU CREATE
*/

/* ===========================
   まるっと制作所 — style.css
   =========================== */

/* ── リセット & ベース ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color: #222222;
  background-color: #ffffff;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

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

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

ul, ol {
  list-style: none;
}

/* ── カラー変数 ── */
:root {
  --teal:       #00AFAE;
  --teal-dark:  #007A7A;
  --teal-mid:   #00B8B5;
  --teal-light: #E8FAFA;
  --orange:     #F7941D;
  --orange-mid: #FF9F1C;
  --orange-light: #FFF3E3;
  --white:      #FFFFFF;
  --text:       #222222;
  --text-gray:  #666666;
  --bg-light:   #F8FBFB;
  --border:     #E5F2F2;
  --shadow:     0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 8px 32px rgba(0, 0, 0, 0.13);
  --radius-card: 24px;
  --radius-btn:  999px;
}

/* ── コンテナ ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── セクション共通 ── */
.section {
  padding: 88px 0;
}

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

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

.section-header--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  text-align: left;
}

.section-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.02em;
  line-height: 1.4;
}

.section-title__deco {
  display: inline-block;
  width: 40px;
  height: 4px;
  background: var(--orange);
  border-radius: 2px;
  margin-top: 12px;
}

.section-header--row .section-title__deco {
  display: block;
}

.text-orange { color: var(--orange); }
.text-bold   { font-weight: 900; }

/* ── ボタン ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 32px;
  border-radius: var(--radius-btn);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  white-space: nowrap;
}

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

.btn--orange {
  background-color: var(--orange);
  color: #fff;
  border-color: var(--orange);
}
.btn--orange:hover {
  background-color: var(--orange-mid);
  border-color: var(--orange-mid);
}

.btn--teal {
  background-color: var(--teal);
  color: #fff;
  border-color: var(--teal);
}
.btn--teal:hover {
  background-color: var(--teal-mid);
  border-color: var(--teal-mid);
}

.btn--outline {
  background-color: transparent;
  color: var(--teal);
  border-color: var(--teal);
}
.btn--outline:hover {
  background-color: var(--teal-light);
}

.btn--outline-teal {
  background-color: transparent;
  color: var(--teal);
  border-color: var(--teal);
}
.btn--outline-teal:hover {
  background-color: var(--teal-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.btn--sm {
  padding: 10px 24px;
  font-size: 0.875rem;
}

.btn--lg {
  padding: 18px 48px;
  font-size: 1.05rem;
}

/* ── リンクもっと見る ── */
.link-more {
  font-size: 0.875rem;
  color: var(--teal);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s ease, opacity 0.2s ease;
  padding-bottom: 4px;
}
.link-more:hover {
  opacity: 0.75;
  gap: 8px;
}

/* ── ロゴ ── */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--teal);
  letter-spacing: 0.02em;
}

.logo__circle {
  width: 36px;
  height: 36px;
  background-color: var(--teal);
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 900;
  flex-shrink: 0;
}

.logo--white {
  color: #fff;
}

.logo__circle--white {
  background-color: rgba(255,255,255,0.25);
  border: 2px solid #fff;
}

/* ── 装飾丸 ── */
.dot {
  position: absolute;
  border-radius: 50%;
  opacity: 0.35;
  pointer-events: none;
}
.dot--teal  { background-color: var(--teal); }
.dot--orange { background-color: var(--orange); }
.dot--lg { width: 60px; height: 60px; }
.dot--md { width: 36px; height: 36px; }
.dot--sm { width: 20px; height: 20px; }

.deco-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.deco-circle--teal {
  width: 80px;
  height: 80px;
  background: var(--teal-light);
  border: 3px solid var(--teal);
  opacity: 0.5;
}
.deco-circle--orange {
  width: 50px;
  height: 50px;
  background: var(--orange-light);
  border: 3px solid var(--orange);
  opacity: 0.6;
}

/* タグ（ヒーロー） */
.tag {
  display: inline-block;
  padding: 5px 14px;
  border-radius: var(--radius-btn);
  background-color: var(--teal-light);
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  pointer-events: none;
}

/* ================
   ヘッダー
   ================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: #ffffff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s ease;
}

@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .header {
    background-color: rgba(255, 255, 255, 0.95);
  }
}

.header.is-scrolled {
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

.header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav {
  margin-left: auto;
}

/* SPメニューはデフォルト非表示（PCでは見せない） */
.nav--sp {
  display: none;
}

.nav__list {
  display: flex;
  gap: 32px;
}

.nav__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  position: relative;
  padding-bottom: 2px;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--teal);
  transform: scaleX(0);
  transition: transform 0.2s ease;
  border-radius: 1px;
}

.nav__link:hover::after {
  transform: scaleX(1);
}

.header__cta {
  margin-left: 16px;
  flex-shrink: 0;
}

/* ハンバーガー */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: none;
  background: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}

.hamburger span {
  display: block;
  height: 2px;
  background-color: var(--text);
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.is-active span:nth-child(2) {
  opacity: 0;
}
.hamburger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ================
   ヒーロー
   ================ */
.hero {
  position: relative;
  padding: 140px 0 100px;
  overflow: hidden;
  background-color: var(--white);
}

.hero__bg-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 320px;
  pointer-events: none;
}
.hero__bg-wave svg {
  width: 100%;
  height: 100%;
}

.hero__dots {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero__label {
  display: inline-block;
  background-color: var(--teal-light);
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: var(--radius-btn);
  margin-bottom: 20px;
  letter-spacing: 0.06em;
}

.hero__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}

.hero__title-accent {
  color: var(--teal);
  position: relative;
  display: inline-block;
}

.hero__title-accent::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--teal-light);
  border-radius: 2px;
  z-index: -1;
}

.hero__desc {
  font-size: 0.95rem;
  color: var(--text-gray);
  line-height: 1.9;
  margin-bottom: 28px;
}

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}

.hero__btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ヒーロー右側モックアップ */
.hero__right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__mockup-wrap {
  position: relative;
  width: 100%;
  max-width: 440px;
  height: 360px;
}

/* ブラウザ */
.mockup-browser {
  position: absolute;
  top: 20px;
  left: 0;
  width: 78%;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-hover);
  border: 1px solid var(--border);
  overflow: hidden;
}

.mockup-browser__bar {
  background: #f0f4f4;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.mockup-browser__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.mockup-browser__dot--red    { background: #ff5f57; }
.mockup-browser__dot--yellow { background: #ffbd2e; }
.mockup-browser__dot--green  { background: #28c940; }

.mockup-browser__url {
  flex: 1;
  height: 18px;
  background: #fff;
  border-radius: 6px;
  margin-left: 8px;
}

.mockup-browser__screen {
  padding: 14px;
}

.mockup-browser__screen-header {
  height: 60px;
  background: linear-gradient(135deg, var(--teal-light) 0%, var(--teal) 100%);
  border-radius: 8px;
  margin-bottom: 12px;
}

.mockup-browser__screen-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mockup-browser__line {
  height: 10px;
  background: var(--border);
  border-radius: 5px;
}
.mockup-browser__line--short { width: 60%; }
.mockup-browser__line--med   { width: 80%; }

/* スマホ */
.mockup-phone {
  position: absolute;
  bottom: 10px;
  right: 0;
  width: 34%;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-hover);
  border: 1px solid var(--border);
  padding: 16px 10px;
  overflow: hidden;
}

.mockup-phone__notch {
  width: 30px;
  height: 8px;
  background: var(--border);
  border-radius: 4px;
  margin: 0 auto 12px;
}

.mockup-phone__screen {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mockup-phone__line {
  height: 8px;
  background: var(--teal-light);
  border-radius: 4px;
}
.mockup-phone__line--short { width: 50%; }

/* 再生ボタン */
.play-btn {
  position: absolute;
  top: 50%;
  right: 12%;
  transform: translateY(-50%);
  width: 64px;
  height: 64px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(247,148,29,0.4);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.play-btn:hover {
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 10px 32px rgba(247,148,29,0.5);
}

.play-btn__icon {
  color: #fff;
  font-size: 1.4rem;
  margin-left: 4px;
}

/* ヒーロー FVイメージ */
.hero__fv-image {
  max-width: 540px;
  width: 100%;
  object-fit: contain;
  display: block;
}

/* ================
   サービス
   ================ */
.services__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.service-card {
  background: #fff;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

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

.service-card--teal { border-top: 4px solid var(--teal); }
.service-card--orange { border-top: 4px solid var(--orange); }

/* ヒーロービジュアル型：左ロゴ・右イラストの横並び */
.service-card__visual {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0 0 28px;
  gap: 0;
  min-height: 260px;
  overflow: hidden;
}
.service-card__visual--teal   { background-color: var(--teal-light); }
.service-card__visual--orange { background-color: var(--orange-light); }

.service-card__visual-text {
  display: flex;
  align-items: center;
  flex: 1;
  padding-right: 12px;
}

.service-card__logo-img {
  width: 100%;
  height: auto;
  max-width: 280px;
  object-fit: contain;
  object-position: left center;
  display: block;
}

.service-card__title {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--text);
  margin: 0;
  line-height: 1.3;
}

.service-card__illust {
  height: 260px;
  width: auto;
  flex-shrink: 0;
  object-fit: contain;
  object-position: right center;
  display: block;
}

/* テキスト＋ボタンエリア */
.service-card__body {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-card__desc {
  font-size: 0.9rem;
  color: var(--text-gray);
  margin-bottom: 18px;
  line-height: 1.7;
}

.service-card__list {
  margin-bottom: 24px;
  flex: 1;
}

.service-card__list li {
  font-size: 0.875rem;
  color: var(--text);
  padding: 7px 0;
  padding-left: 20px;
  border-bottom: 1px solid var(--border);
  position: relative;
  line-height: 1.6;
}

.service-card__list li::before {
  content: '·';
  position: absolute;
  left: 6px;
  color: var(--teal);
  font-weight: 900;
  font-size: 1.2rem;
  top: 4px;
}

.service-card--orange .service-card__list li::before {
  color: var(--orange);
}

.service-card__btn {
  width: 100%;
  font-weight: 700;
}

.service-card__btn::after {
  content: ' →';
}

/* ================
   フロー
   ================ */
.flow__steps {
  display: flex;
  align-items: stretch;
  gap: 0;
}

.flow__step {
  flex: 1;
}

.flow__card {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 36px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.flow__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  flex-shrink: 0;
}

.flow__num {
  width: 48px;
  height: 48px;
  background-color: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.flow__num span {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.flow__icon {
  font-size: 2rem;
  margin-bottom: 12px;
  line-height: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.flow__desc {
  font-size: 0.825rem;
  color: var(--text-gray);
  line-height: 1.6;
}

/* ================
   選ばれる理由
   ================ */
.reasons__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.reason-card {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 36px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.reason-card__icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
}
.reason-card__icon--teal   { background-color: var(--teal-light); }
.reason-card__icon--orange { background-color: var(--orange-light); }

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

.reason-card__desc {
  font-size: 0.85rem;
  color: var(--text-gray);
  line-height: 1.7;
}

/* ================
   制作実績
   ================ */
.works__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

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

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

.work-card__img {
  position: relative;
  overflow: hidden;
}

.work-card__img img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.work-card:hover .work-card__img img {
  transform: scale(1.04);
}

.work-card__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  border-radius: var(--radius-btn);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.work-card__tag--teal {
  background-color: var(--teal);
  color: #fff;
}
.work-card__tag--orange {
  background-color: var(--orange);
  color: #fff;
}

.work-card__body {
  padding: 20px;
}

.work-card__title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.5;
}

.work-card__desc {
  font-size: 0.8rem;
  color: var(--text-gray);
  line-height: 1.6;
}

/* ================
   ブログ
   ================ */
.blog__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

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

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

.blog-card__img {
  position: relative;
  overflow: hidden;
}

.blog-card__img img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card__img img {
  transform: scale(1.04);
}

.blog-card__cat {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: var(--radius-btn);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.blog-card__cat--teal   { background-color: var(--teal); color: #fff; }
.blog-card__cat--orange { background-color: var(--orange); color: #fff; }
.blog-card__cat--gray   { background-color: #888; color: #fff; }

.blog-card__body {
  padding: 18px;
}

.blog-card__date {
  display: block;
  font-size: 0.78rem;
  color: var(--text-gray);
  margin-bottom: 8px;
  font-weight: 500;
}

.blog-card__title {
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.55;
  color: var(--text);
}

/* ================
   お知らせ
   ================ */
.news__inner {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 60px;
  align-items: start;
}

.news__list {
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid var(--border);
}

.news__item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  transition: background-color 0.15s ease;
}

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

.news__item:hover {
  background-color: var(--teal-light);
}

.news__date {
  font-size: 0.825rem;
  color: var(--text-gray);
  font-weight: 500;
  flex-shrink: 0;
  width: 80px;
}

.news__cat {
  display: inline-block;
  background-color: var(--teal-light);
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-btn);
  flex-shrink: 0;
  letter-spacing: 0.04em;
}

.news__title {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.5;
}

.news__more {
  margin-top: 24px;
}

/* ================
   CTA
   ================ */
.cta {
  padding: 80px 0;
  background-color: var(--white);
}

.cta__card {
  position: relative;
  background-color: var(--white);
  border-radius: 40px;
  padding: 80px 40px;
  text-align: center;
  overflow: hidden;
  border: 2px solid var(--border);
  box-shadow: var(--shadow);
}

.cta__bg-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  pointer-events: none;
}
.cta__bg-wave svg {
  width: 100%;
  height: 100%;
}

.cta__dots {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta__content-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.cta__illust {
  max-width: 280px;
  width: 100%;
  object-fit: contain;
  flex-shrink: 0;
}

.cta__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  flex: 1;
  min-width: 260px;
}

.cta__title {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 900;
  margin-bottom: 16px;
  color: var(--text);
}

.cta__desc {
  font-size: 1rem;
  color: var(--text-gray);
  margin-bottom: 36px;
  line-height: 1.7;
}

/* ================
   フッター
   ================ */
.footer {
  background-color: var(--teal-dark);
  color: #fff;
}

.footer__top {
  padding: 72px 0 56px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer__brand .logo {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 16px;
  padding: 10px 20px;
  margin-bottom: 20px;
}

.footer__brand-desc {
  font-size: 0.85rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.75);
  margin-bottom: 24px;
}

.footer__sns {
  display: flex;
  gap: 12px;
}

.footer__sns-link {
  width: 40px;
  height: 40px;
  background-color: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.footer__sns-link:hover {
  background-color: rgba(255,255,255,0.3);
  transform: translateY(-2px);
}

.footer__nav-title {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.9);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.footer__nav-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__nav-list a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s ease;
}
.footer__nav-list a:hover {
  color: #fff;
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding: 20px 0;
}

.footer__copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  text-align: center;
}

/* ================
   ドロップダウンナビ
   ================ */
.nav__item--dropdown { position: relative; }
.nav__dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  min-width: 200px;
  padding: 8px 0;
  z-index: 100;
}
.nav__item--dropdown:hover .nav__dropdown { display: block; }
.nav__dropdown a {
  display: block;
  padding: 10px 20px;
  color: #222;
  font-size: 0.9rem;
  transition: background 0.2s;
}
.nav__dropdown a:hover { background: #E8FAFA; color: #00AFAE; }

/* ================
   CF7カスタムスタイル
   ================ */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #E5F2F2;
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
  color: #222;
  background: #F8FBFB;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
  outline: none;
  border-color: #00AFAE;
  background: #fff;
}
.wpcf7-form input[type="submit"] {
  background: #F7941D;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 16px 48px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  width: 100%;
}
.wpcf7-form input[type="submit"]:hover {
  background: #e08010;
  transform: translateY(-2px);
}

/* ================
   ページテンプレート共通
   ================ */
.page-hero {
  position: relative;
  padding: 120px 0 72px;
  overflow: hidden;
  background-color: var(--white);
}

.page-hero__wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  pointer-events: none;
}
.page-hero__wave svg {
  width: 100%;
  height: 100%;
}

.page-hero__inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.page-hero__label {
  display: inline-block;
  background-color: var(--teal-light);
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: var(--radius-btn);
  margin-bottom: 16px;
  letter-spacing: 0.06em;
}

.page-hero__title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 900;
  color: var(--text);
  letter-spacing: 0.02em;
}

.page-hero__title span {
  color: var(--teal);
}

/* 会社概要テーブル */
.about-table-section {
  padding: 72px 0;
  background-color: var(--white);
}

.about-card {
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto;
}

.about-table {
  width: 100%;
  border-collapse: collapse;
}

.about-table tr {
  border-bottom: 1px solid var(--border);
}
.about-table tr:last-child {
  border-bottom: none;
}

.about-table th {
  width: 180px;
  padding: 20px 24px;
  background-color: var(--teal-light);
  color: var(--teal);
  font-size: 0.875rem;
  font-weight: 700;
  text-align: left;
  border-right: 3px solid var(--teal);
  vertical-align: top;
}

.about-table td {
  padding: 20px 24px;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.7;
}

/* ミッションセクション */
.mission-section {
  padding: 80px 0;
  background-color: var(--bg-light);
  text-align: center;
}

.mission-label {
  display: inline-block;
  background-color: var(--teal-light);
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: var(--radius-btn);
  margin-bottom: 20px;
  letter-spacing: 0.06em;
}

.mission-title {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 900;
  margin-bottom: 24px;
  color: var(--text);
  line-height: 1.4;
}

.mission-desc {
  max-width: 640px;
  margin: 0 auto;
  font-size: 0.95rem;
  color: var(--text-gray);
  line-height: 1.9;
}

/* お問い合わせページ */
.contact-hero-illust {
  max-width: 320px;
  margin: 32px auto 0;
}

.contact-points {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.contact-point {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--teal);
}

.contact-point__icon {
  width: 32px;
  height: 32px;
  background-color: var(--teal-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

/* お問い合わせ FV+フォーム一体型 */
.contact-fv {
  position: relative;
  padding: 80px 0 72px;
  background: #fff;
  overflow: hidden;
}

.contact-fv .page-hero__wave {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 200px;
  pointer-events: none;
}

.contact-fv .page-hero__wave svg {
  width: 100%;
  height: 100%;
}

.contact-fv__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.contact-fv__left {
  padding-top: 24px;
}

.contact-fv__right {
}

.contact-form-section {
  padding: 72px 0;
  background-color: var(--bg-light);
}

.contact-form-card {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 40px 36px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

/* プライバシーポリシーページ */
.privacy-section {
  padding: 72px 0;
  background-color: var(--bg-light);
}

.privacy-card {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 56px 56px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  max-width: 840px;
  margin: 0 auto;
}

.privacy-card h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--teal);
  margin-top: 40px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--teal-light);
}

.privacy-card h2:first-child {
  margin-top: 0;
}

.privacy-card p {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.9;
  margin-bottom: 12px;
}

.privacy-card address {
  font-style: normal;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.9;
  background-color: var(--teal-light);
  border-radius: 12px;
  padding: 16px 20px;
  margin-top: 8px;
}

@media (max-width: 768px) {
  .contact-form-card {
    padding: 36px 24px;
  }
  .privacy-card {
    padding: 36px 24px;
  }
  .about-table th {
    width: 120px;
  }
}

/* ================
   レスポンシブ
   ================ */

/* タブレット（1024px以下） */
@media (max-width: 1024px) {
  .reasons__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

/* タブレット（768px以下） */
@media (max-width: 768px) {
  .section {
    padding: 64px 0;
  }

  /* ナビ */
  .nav--pc { display: none; } /* PCナビをSPで非表示 */
  .nav--sp { display: block; } /* SPナビを有効化 */

  .nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background-color: #ffffff;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 24px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
    z-index: 999;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav__list {
    flex-direction: column;
    gap: 4px;
  }

  .nav__link {
    display: block;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 1rem;
  }

  .nav__link:hover {
    background-color: var(--teal-light);
  }

  .header__cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  /* ヒーロー */
  .hero {
    padding: 80px 0 40px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .hero__tags {
    justify-content: center;
  }

  .hero__btns {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .hero__btns .btn {
    width: 100%;
    padding: 16px 24px;
    font-size: 1rem;
    justify-content: center;
  }

  .hero__right {
    display: none;
  }

  /* サービス */
  .services__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .service-card__visual {
    flex-direction: column;
    align-items: center;
    padding: 24px 24px 0;
    min-height: auto;
    gap: 0;
  }

  .service-card__visual-text {
    width: 100%;
    justify-content: center;
    padding: 0;
    margin-bottom: -4px;
  }

  .service-card__logo-img {
    width: 72%;
    max-width: none;
    height: auto;
    object-position: center;
    display: block;
    margin: 0 auto;
  }

  .service-card__illust {
    width: 100%;
    height: 200px;
    object-fit: contain;
    object-position: center top;
    margin-top: 0;
  }

  /* フロー */
  .flow__steps {
    flex-direction: column;
    gap: 0;
  }

  .flow__arrow {
    transform: rotate(90deg);
    padding: 6px 0;
  }

  /* 選ばれる理由 */
  .reasons__grid {
    grid-template-columns: 1fr;
  }

  /* CTA */
  .cta {
    padding: 48px 0;
  }

  .cta__card {
    padding: 48px 24px;
  }

  .cta__illust {
    display: none;
  }

  /* 内ページヒーロー */
  .page-hero {
    padding: 80px 0 48px;
  }

  /* お問い合わせFV */
  .contact-fv {
    padding: 56px 0 40px;
  }

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

  .contact-fv__left img {
    display: none;
  }

  /* お知らせ */
  .news__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* フッター */
  .footer__top {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px 0 40px;
  }
}

/* ================
   アーカイブヒーロー（ブログ・お知らせ共通）
   ================ */
.archive-hero {
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
  background-color: var(--white);
}

.archive-hero__wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  pointer-events: none;
}
.archive-hero__wave svg {
  width: 100%;
  height: 100%;
}

.archive-hero__dots {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.archive-hero__inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.archive-hero__label {
  display: inline-block;
  background-color: var(--teal-light);
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-btn);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}

.archive-hero__label--news {
  background-color: var(--orange-light);
  color: var(--orange);
}

.archive-hero__title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 900;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 14px;
}

.archive-hero__title span {
  color: var(--teal);
}

.archive-hero__title--news {
  color: var(--orange);
}

.archive-hero__sub {
  font-size: 0.95rem;
  color: var(--text-gray);
  line-height: 1.8;
}

/* ================
   投稿一覧グリッド（ブログ・お知らせ共通）
   ================ */
.archive-section {
  background-color: var(--bg-light);
}

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

@media (max-width: 767px) {
  .blog-archive-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 599px) {
  .blog-archive-grid {
    grid-template-columns: 1fr;
  }
}

/* アーカイブカード */
.blog-archive-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid var(--border);
}

.blog-archive-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.blog-archive-card a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.blog-archive-card__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 160px;
  overflow: hidden;
  background: var(--teal-light);
}

.blog-archive-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.blog-archive-card:hover .blog-archive-card__img {
  transform: scale(1.04);
}

.blog-archive-card__no-img {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #E8FAFA, #F0FFFE);
}

.blog-archive-card__no-img--news {
  background: linear-gradient(135deg, var(--orange-light), #FFF8EE);
}

.blog-archive-card__cat {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-btn);
  letter-spacing: 0.04em;
  color: #fff;
}

.blog-archive-card__cat--teal { background: var(--teal); }
.blog-archive-card__cat--news { background: var(--orange); }

.blog-archive-card__body {
  padding: 20px;
}

.blog-archive-card__date {
  font-size: 0.8rem;
  color: #999;
  display: block;
  margin-bottom: 8px;
}

.blog-archive-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: #222;
  line-height: 1.5;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-archive-card__excerpt {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 0件テキスト */
.archive-empty {
  text-align: center;
  font-size: 1rem;
  color: var(--text-gray);
  padding: 64px 0;
}

/* ================
   ページネーション
   ================ */
.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 48px;
  flex-wrap: wrap;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--border);
  color: var(--teal);
  font-weight: 700;
  font-size: 0.9rem;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  text-decoration: none;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}

/* ================
   個別投稿（single.php）
   ================ */
.single-section {
  background-color: var(--bg-light);
}

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

/* パンくずリスト */
.breadcrumb {
  margin-bottom: 32px;
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-gray);
}

.breadcrumb__item a {
  color: var(--teal);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.breadcrumb__item a:hover {
  opacity: 0.75;
  text-decoration: underline;
}

.breadcrumb__sep {
  color: #ccc;
  font-size: 0.9rem;
}

.breadcrumb__current {
  color: var(--text-gray);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 240px;
}

/* 記事ヘッダー */
.single-header {
  margin-bottom: 36px;
}

.single-header__cat {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-btn);
  color: #fff;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

.single-header__cat--teal { background: var(--teal); }
.single-header__cat--news { background: var(--orange); }

.single-header__title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 900;
  color: var(--text);
  line-height: 1.45;
  margin-bottom: 12px;
}

.single-header__date {
  display: block;
  font-size: 0.85rem;
  color: #999;
  margin-bottom: 24px;
}

.single-header__thumb {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 0;
}

.single-header__img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

/* 記事本文カード */
.single-content-card {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 48px 56px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .single-content-card {
    padding: 32px 24px;
  }
}

/* 記事本文スタイル */
.post-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--teal);
  border-left: 4px solid var(--teal);
  padding-left: 12px;
  margin: 2rem 0 1rem;
  line-height: 1.4;
}

.post-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #222;
  margin: 1.5rem 0 0.8rem;
  line-height: 1.4;
}

.post-content p {
  line-height: 1.9;
  margin-bottom: 1.2rem;
  color: #444;
}

.post-content ul,
.post-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.2rem;
}

.post-content li {
  line-height: 1.8;
  color: #444;
}

.post-content img {
  max-width: 100%;
  border-radius: 12px;
  margin: 1rem 0;
  height: auto;
}

.post-content a {
  color: var(--teal);
  text-decoration: underline;
}

.post-content a:hover {
  opacity: 0.75;
}

/* 前後ナビ */
.post-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 0;
  gap: 16px;
  flex-wrap: wrap;
}

.post-nav a {
  color: var(--teal);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.post-nav a:hover {
  opacity: 0.75;
  text-decoration: underline;
}

/* ================
   スマホ（480px以下） */
@media (max-width: 480px) {
  .section {
    padding: 52px 0;
  }

  .section-header {
    margin-bottom: 36px;
  }

  .section-header--row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .works__grid,
  .blog__grid {
    grid-template-columns: 1fr;
  }

  .reasons__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .reason-card {
    padding: 24px 16px;
  }

  .hero__mockup-wrap {
    height: 240px;
    max-width: 300px;
  }

  .cta__card {
    padding: 56px 24px;
  }

  .news__item {
    flex-wrap: wrap;
    gap: 8px;
  }

  .news__date {
    width: auto;
  }

  .flow__steps {
    gap: 0;
  }

  .flow__card {
    padding: 28px 20px;
  }
}

/* ================
   サイトローダー（初回訪問のみ）
   ================ */
.site-loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.7s ease;
}

.site-loader.is-fade {
  opacity: 0;
  pointer-events: none;
}

.site-loader__logo {
  width: 200px;
  max-width: 60vw;
  opacity: 0;
  transform: scale(0.88);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.site-loader__logo.is-show {
  opacity: 1;
  transform: scale(1);
}

/* ================
   LINE 追従バナー（常時表示）
   ================ */

/* --- PC：右下に浮動ボタン --- */
.line-float {
  position: fixed;
  bottom: 36px;
  right: 28px;
  z-index: 999;
}

.line-float__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #06C755;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 14px 22px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 24px rgba(6, 199, 85, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
  letter-spacing: 0.03em;
}

.line-float__link:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(6, 199, 85, 0.55);
}

.line-float__icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.line-float__arrow {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  opacity: 0.85;
}

/* --- スマホ：画面最下部に全幅固定バー --- */
@media (max-width: 767px) {
  .line-float {
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
  }

  .line-float__link {
    width: 100%;
    justify-content: center;
    border-radius: 0;
    padding: 16px 24px;
    font-size: 1rem;
    box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.12);
  }

  .line-float__link:hover {
    transform: none;
  }
}
