/*
Theme Name: dododo_v2
Theme URI: https://example.com/
Description: DODODO リニューアル用 SWELL 子テーマ
Author: 伊藤 晋之
Version: 1.0.0

Template: swell

Text Domain: dododo_v2
*/

/* ========================================
 * Hero Section (Next.js デザイン移植)
 * ===================================== */

/* 本文フォント：開発環境と同様 Noto Sans JP ベースに統一 */
:root {
  --color-red-500: #ef4444;
}

body {
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-weight: 300;
  background-color: #fff;
}

/* 全体背景：Sales Marker 風グラデーション */
.c-hero {
  position: relative;
  padding: 6rem 0 4rem;
  color: #fff;
  background-image:
    radial-gradient(circle at 10% 0%, rgba(129, 199, 255, 0.5), transparent 55%),
    radial-gradient(circle at 90% 20%, rgba(96, 165, 250, 0.55), transparent 55%),
    linear-gradient(135deg, #102a6b 0%, #1e3a8a 35%, #60a5fa 100%);
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}

.c-hero__inner {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ========================================
 * Header styles (logo / CTA button)
 * ===================================== */

/* 通常ヘッダーのロゴを白抜きに（SWELL の .l-header 内のロゴ画像） */
.l-header img {
  filter: brightness(0) invert(1) !important;
}

/* 追従ヘッダー（スクロール時固定）の背景をグラデーション＋ロゴ白抜きに */
.l-fixHeader::before {
  /* SWELL の var(--color_header_bg) を上書きしてグラデを適用 */
  /* ヒーローセクションと同じグラデーションに統一 */
  background-image: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #2563eb 100%) !important;
}
.l-fixHeader img {
  filter: brightness(0) invert(1) !important;
}

/* フッターにも同じグラデーションを適用 */
.l-footer {
  background-image: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #2563eb 100%) !important;
  color: #ffffff;
  font-size: 14px;
}
.l-footer,
.l-footer p,
.l-footer li,
.l-footer span,
.l-footer a {
  font-size: 14px;
}
.l-footer * {
  font-style: normal;
}
.l-footer ul,
.l-footer ol,
.l-footer li,
.l-footer a {
  border-bottom: none !important;
  box-shadow: none !important;
}
.l-footer ul {
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
}

/* フッター左端カラムのリスト：項目間の余白 */
.l-footer .w-footer__box:first-child li {
  margin-bottom: 0.75em;
}
.l-footer .w-footer__box:first-child li:last-child {
  margin-bottom: 0;
}

/* フッターロゴ：白表示・サイズと下余白 */
.l-footer img {
  filter: brightness(0) invert(1);
  width: 60%;
  height: auto;
  max-width: 180px;
  margin-bottom: 2rem;
}

@media (min-width: 960px) {
  .w-footer__box {
    flex: 1;
    padding: 3em 1rem 1rem;
  }
}

/* トップページのみ .l-content の margin-bottom を 0 に（フッター直前の余白をなくす） */
.home .l-content {
  margin-bottom: 0 !important;
}

/* コンテンツ内見出し（h2）の下マージンを統一 */
.post_content h2 {
  margin-bottom: 1.5rem !important;
}

/* ヘッダー右側の「無料相談する」ボタン（ブログパーツ内 SWELLボタン）を Next.js デザイン寄りに */
.w-header .swell-block-button.red_.-size-s.is-style-btn_line .swell-block-button__link[href*="#contact"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.9rem;
  /* カプセル型ではなく、開発環境に近い角丸長方形に */
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  color: #1e3a8a !important;
  background-color: #ffffff !important;
  border: none !important;
  box-shadow: 0 10px 22px -12px rgba(15, 23, 42, 0.75);
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

@media (min-width: 768px) {
  .w-header .swell-block-button.red_.-size-s.is-style-btn_line .swell-block-button__link[href*="#contact"] {
    font-size: 0.9rem;
    padding: 0.7rem 2.1rem;
  }
}

.w-header .swell-block-button.red_.-size-s.is-style-btn_line .swell-block-button__link[href*="#contact"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px -14px rgba(15, 23, 42, 0.9);
  opacity: 0.96;
}

/* SWELLデフォルトのメールアイコンSVGを非表示にして、テキスト＋矢印に統一 */
.w-header .swell-block-button.red_.-size-s.is-style-btn_line .swell-block-button__link[href*="#contact"] svg {
  display: none;
}

.w-header .swell-block-button.red_.-size-s.is-style-btn_line .swell-block-button__link[href*="#contact"] span {
  position: relative;
  padding-right: 1.2em;
}

.w-header .swell-block-button.red_.-size-s.is-style-btn_line .swell-block-button__link[href*="#contact"] span::after {
  content: "→";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9em;
}

/* ヘッダー全体の高さを開発環境に近づける */
.l-header__inner,
.l-fixHeader__inner {
  min-height: 70px;
  padding-top: 10px;
  padding-bottom: 10px;
}

/* マーキー帯 */
.c-hero__marquee {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  pointer-events: none;
  transform: translateY(4vh);
  overflow: hidden;
}

.c-hero__marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: heroMarquee 110s linear infinite;
}

.c-hero__marquee-logo {
  height: 38vh;
  width: auto;
  margin-right: 5vh;
  opacity: 0.07;
  filter: brightness(0);
}

@media (min-width: 768px) {
  .c-hero__marquee-logo {
    height: 44vh;
  }
}

@media (min-width: 1024px) {
  .c-hero__marquee-logo {
    height: 52vh;
  }
}

@keyframes heroMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* レイアウト：写真（左）＋テキスト（右）を PC / SP 両対応に */
.c-hero__layout {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .c-hero__layout {
    flex-direction: row;
    align-items: stretch;
  }
}

.c-hero__figure {
  order: 2;
}

.c-hero__content {
  order: 1;
}

@media (min-width: 768px) {
  .c-hero__figure,
  .c-hero__content {
    flex: 1 1 50%;
  }
  .c-hero__figure {
    order: 1;
  }
  .c-hero__content {
    order: 2;
  }
}

/* 斜めクリップの人物写真 */
.c-hero__photo-wrap {
  position: relative;
  width: 18rem;
  height: 34rem;
  margin: 0 auto;
  border-radius: 0.75rem;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 74%, 0 100%);
  -webkit-clip-path: polygon(0 0, 100% 0, 100% 74%, 0 100%);
}

@media (min-width: 768px) {
  .c-hero__photo-wrap {
    width: 32rem;
    height: 40rem;
  }
}

@media (min-width: 1024px) {
  .c-hero__photo-wrap {
    width: 38rem;
    height: 44rem;
  }
}

.c-hero__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.12);
}

/* 見出し＋リード */
.c-hero__content {
  position: relative;
  z-index: 10;
  text-align: center;
}

.c-hero__title {
  margin: 0 0 1.5rem;
  font-size: 1.6rem;
  line-height: 1.25;
  font-weight: 300;
  letter-spacing: 0.15em;
  /* Next.js 側と同じく Montserrat を優先して使う */
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", "Noto Sans JP", sans-serif;
  text-shadow:
    0 0 14px rgba(0, 0, 0, 0.42),
    0 0 32px rgba(0, 0, 0, 0.32),
    0 3px 6px rgba(0, 0, 0, 0.28);
}

@media (min-width: 768px) {
  .c-hero__title {
    font-size: 2.1rem;
  }
}

@media (min-width: 1024px) {
  .c-hero__title {
    font-size: 2.5rem;
  }
}

.c-hero__title-em {
  color: #ffffff;
}

.c-hero__lead {
  margin: 0 0 1.5rem;
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  text-shadow:
    0 0 14px rgba(0, 0, 0, 0.42),
    0 0 32px rgba(0, 0, 0, 0.32),
    0 3px 6px rgba(0, 0, 0, 0.28);
}

@media (min-width: 768px) {
  .c-hero__lead {
    font-size: 1rem;
  }
}

@media (min-width: 1024px) {
  .c-hero__lead {
    font-size: 1.1rem;
  }
}

/* ボタン */
.c-hero__ctas {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
  padding-top: 0.5rem;
}

@media (min-width: 640px) {
  .c-hero__ctas {
    flex-direction: row;
  }
}

.c-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
  transform: translateY(0);
}

.c-hero__btn-icon {
  font-size: 1.1rem;
  margin-left: 0.6rem;
  display: inline-flex;
  align-items: center;
}

.c-hero__btn--primary {
  background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
  box-shadow: 0 10px 30px -10px rgba(59, 130, 246, 0.5);
  color: #ffffff;
}

.c-hero__btn--secondary {
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.8);
  color: #1e3a8a;
}

.c-hero__btn:hover {
  transform: translateY(-2px);
}

/* ヒーロー下部の 3 つの PNG ロゴ */
.c-hero__logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  padding-top: 0.5rem;
}

@media (min-width: 768px) {
  .c-hero__logos {
    gap: 0.75rem;
  }
}

.c-hero__logo {
  position: relative;
  width: 7rem;
  height: 3.5rem;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .c-hero__logo {
    width: 11rem;
    height: 5.5rem;
  }
}

.c-hero__logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.26);
}

/* ========================================
 * 固定ページ コンテンツセクション（HTMLブロック・ショートコード用）
 * ======================================== */

.dododo-section {
  /* コンテンツ背景を左右いっぱいに貫通させる */
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 6rem 0;
}
@media (min-width: 768px) {
  .dododo-section {
    padding: 8rem 0;
  }
}

/* 貫通セクションの背景をクラスでコントロール（白は body に任せる） */
.dododo-section--bgc {
  background-color: #f9fafb;
}

.dododo-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 1024px) {
  .dododo-container {
    padding: 0 2rem;
  }
}

/* アルファベット表記と見出しの隙間を統一 */
.dododo-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #1e3a8a;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.dododo-title {
  font-family: "Montserrat", sans-serif;
  font-size: 1.6rem;
  font-weight: 300;
  color: #1e3a8a;
  line-height: 1.2;
  margin: 0 0 1.75rem;
}

/* 見出しブロック全体の下余白を「採用の悩み」に合わせて統一（4rem） */
.dododo-section-head .dododo-label {
  margin-bottom: 2rem;
}
.dododo-section-head .dododo-title {
  margin-bottom: 0;
}
.dododo-section-head {
  margin-bottom: 4rem;
}
@media (min-width: 768px) {
  .dododo-title {
    font-size: 2.1rem;
  }
}
@media (min-width: 1024px) {
  .dododo-title {
    font-size: 2.5rem; /* 40px 相当（PCの大見出し） */
  }
}

/* Solution は .dododo-section-head の 4rem に統一（上で定義済み） */

.dododo-section-head--center {
  text-align: center;
}

.dododo-section-foot {
  text-align: center;
  margin-top: 3rem;
}

.dododo-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #1e3a8a;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
}
.dododo-link-arrow:hover .dododo-link-arrow__text {
  text-decoration: underline;
}
.dododo-link-arrow .material-symbols-outlined {
  font-size: 1.25rem;
  line-height: 1;
}

/* 採用コラム */
/* 白は body の背景に任せるため、.dododo-column では指定しない */

/* 採用コラム：PCでタイトルと「＜」「＞」を横並び、タイトルの下ラインに揃える */
.dododo-column__top {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto auto;
  align-items: end;
  gap: 0 1rem;
}
.dododo-column__top .dododo-section-head {
  grid-column: 1;
  grid-row: 1;
  margin-bottom: 0;
}
.dododo-column__top .dododo-section-head .dododo-title {
  margin-bottom: 0;
  line-height: 1.1;
}
.dododo-column__top .dododo-column-slider__controls {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: center;
}
.dododo-column__top .dododo-column-slider__scroll,
.dododo-column__top .dododo-column-grid {
  grid-column: 1 / -1;
  grid-row: 2;
  width: 100%;
  margin-top: 2rem;
}
.dododo-column__top .dododo-section-foot {
  grid-column: 1 / -1;
  grid-row: 3;
  width: 100%;
  text-align: center;
  margin-top: 3rem;
}
@media (max-width: 767px) {
  .dododo-column__top {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  .dododo-column__top .dododo-column-slider__scroll,
  .dododo-column__top .dododo-column-grid {
    margin-top: 2rem;
  }
  .dododo-column__top .dododo-section-foot {
    margin-top: 3rem;
    text-align: center;
  }
}

.dododo-column-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .dododo-column-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .dododo-column-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.dododo-column-card {
  display: block;
  text-decoration: none;
  color: inherit;
}
.dododo-column-card:hover .dododo-column-card__title {
  color: #1e3a8a;
}

.dododo-column-card__img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  background: #f3f4f6;
  transition: box-shadow 0.3s ease;
}
.dododo-column-card__category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  display: inline-block;
  padding: 0.375rem 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: #fff;
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
  border-radius: 4px;
  white-space: nowrap;
}
.dododo-column-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}
.dododo-column-card:hover .dododo-column-card__img img {
  transform: scale(1.05);
}
.dododo-column-card__img--nothumb {
  min-height: 8rem;
}

.dododo-column-card__title {
  font-family: "Montserrat", sans-serif;
  font-size: 1.125rem; /* 18px：コラムタイトル */
  font-weight: 500;
  color: #111;
  margin: 0 0 0.25rem;
  line-height: 1.4;
  transition: color 0.2s ease;
}

.dododo-column-card__excerpt {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0;
  line-height: 1.5;
}

/* 採用コラム：3件以上でスライダー＋コントローラー */
.dododo-column-slider {
  margin-bottom: 1rem;
}
.dododo-column-slider__controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.dododo-column-slider__controls .material-symbols-outlined {
  /* お客様の声セクションの矢印サイズに合わせる */
  font-size: 2.6rem;
  color: #1e3a8a;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}
.dododo-column-slider__prev,
.dododo-column-slider__next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* お客様の声の .dododo-testimonials__arrow と同じボックス感に寄せる */
  width: 3.4rem;
  height: 3.4rem;
  padding: 0;
  background: transparent;
  border: none;
  color: #1e3a8a;
  cursor: pointer;
  transition: opacity 0.2s;
}
.dododo-column-slider__prev:hover:not(:disabled),
.dododo-column-slider__next:hover:not(:disabled) {
  opacity: 0.7;
}
.dododo-column-slider__prev:disabled,
.dododo-column-slider__next:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.dododo-column-slider__scroll {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.dododo-column-slider__scroll::-webkit-scrollbar {
  display: none;
}
.dododo-column-grid--slider {
  display: flex;
  flex-wrap: nowrap;
  gap: 1.5rem;
  grid-template-columns: unset;
  padding-bottom: 0.5rem;
}
.dododo-column-grid--slider .dododo-column-card {
  flex: 0 0 320px;
  scroll-snap-align: start;
  min-width: 0;
}
@media (min-width: 640px) {
  .dododo-column-grid--slider .dododo-column-card {
    flex: 0 0 340px;
  }
}

/* お知らせ */
.dododo-news__inner {
  max-width: 56rem;
}

.dododo-news-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.dododo-news-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem;
  background: #fff;
  border-radius: 0.5rem;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.dododo-news-item:hover {
  box-shadow: 0 25px 55px -18px rgba(15, 23, 42, 0.35);
  transform: translateY(-4px);
}

.dododo-news-item__date {
  font-size: 0.875rem;
  font-weight: 500;
  color: #1e3a8a;
  flex-shrink: 0;
}

.dododo-news-item__title {
  flex: 1;
  min-width: 0;
  color: #111827;
  font-family: "Montserrat", sans-serif;
  font-size: 1.125rem; /* 18px：お知らせタイトル */
  font-weight: 500;
  transition: color 0.2s ease;
}
.dododo-news-item:hover .dododo-news-item__title {
  color: #1e3a8a;
}

.dododo-news-item__arrow {
  flex-shrink: 0;
  color: #9ca3af;
  font-size: 1.25rem !important;
  display: inline-block;
  line-height: 1;
  transition: color 0.2s ease;
}
.dododo-news-item:hover .dododo-news-item__arrow {
  color: #1e3a8a;
}

.dododo-news-empty {
  padding: 2rem;
  text-align: center;
  color: #6b7280;
}

/* お問い合わせ */
.dododo-contact__grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 1024px) {
  .dododo-contact__grid {
    grid-template-columns: 5fr 7fr;
    gap: 3rem;
    align-items: start;
  }
}

/* お問い合わせ：見出し下を他セクションと同じ 4rem に統一 */
.dododo-contact__info .dododo-label {
  margin-bottom: 1rem;
}
.dododo-contact__info .dododo-title {
  margin-bottom: 4rem;
}

.dododo-contact__lead {
  color: #4b5563;
  line-height: 1.7;
  margin: 0 0 2rem;
}

.dododo-contact__items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.dododo-contact__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: #f7f7f7;
  border-radius: 0.375rem;
}

.dododo-contact__icon {
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, #1d4ed8 0%, #60a5fa 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
.dododo-contact__icon .material-symbols-outlined {
  font-size: 1.5rem;
  color: #fff;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

.dododo-contact__item-body {
  min-width: 0;
}
.dododo-contact__item-title {
  display: block;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.25rem;
  font-size: 1rem;
}
.dododo-contact__item-desc {
  display: block;
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.4;
}

.dododo-contact__form-wrap {
  background: #f7f7f7;
  border-radius: 0.5rem;
  padding: 2rem;
}
@media (min-width: 768px) {
  .dododo-contact__form-wrap {
    padding: 2.5rem;
  }
}

.dododo-contact__form-wrap .wpcf7 {
  margin: 0;
}
.dododo-contact-form label {
  display: block;
  color: #374151;
  font-size: 0.875rem; /* 14px */
  font-weight: 400;    /* 本文300より少し太め */
  margin-bottom: 0 !important; /* ラベル自身の下余白は使わず、wrap側で管理 */
}
.dododo-contact-form label br {
  display: block;
  margin-bottom: 0.25rem; /* 項目名とフィールドの間の隙間 */
}
/* Contact Form 7 必須マーク用（SWELL側より強い優先度で上書き） */
.dododo-contact__form-wrap .wpcf7-form label .required,
.wpcf7-form label .required {
  color: var(--color-red-500) !important;
}
.dododo-contact__form-wrap .wpcf7-form input[type="text"],
.dododo-contact__form-wrap .wpcf7-form input[type="email"],
.dododo-contact__form-wrap .wpcf7-form input[type="tel"],
.dododo-contact__form-wrap .wpcf7-form textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.75rem 0.5rem; /* 上側に少し余白を足す */
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-size: 1rem;
}
.dododo-contact__form-wrap .wpcf7-form input[type="text"]::placeholder,
.dododo-contact__form-wrap .wpcf7-form input[type="email"]::placeholder,
.dododo-contact__form-wrap .wpcf7-form input[type="tel"]::placeholder,
.dododo-contact__form-wrap .wpcf7-form textarea::placeholder {
  font-size: 0.875rem; /* 14px */
}

/* 相談方法ラジオボタン：左の余白を削除 */
.dododo-contact__form-wrap .wpcf7-form .wpcf7-list-item {
  margin: 0 1.5rem 0 0; /* 左0 / 右だけ少し空ける */
}
.dododo-contact__form-wrap .wpcf7-form textarea {
  /* CF7 の rows 属性よりこちらを優先して高さを制御する */
  height: 6rem !important; /* 以前より約半分の高さに */
  min-height: 0;
  resize: vertical;
  display: block;
}
.dododo-contact__form-wrap .wpcf7-form input[type="submit"] {
  width: 100%;
  min-height: 3.5rem;
  padding: 1rem;
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.2s;
}
.dododo-contact__form-wrap .wpcf7-form input[type="submit"]:hover {
  transform: translateY(-2px);
}
.dododo-contact-form .dododo-contact-form-field > br {
  display: none; /* 先頭の <br> が余計な上余白を作っているので消す */
}
.dododo-contact-form .wpcf7-form-control-wrap {
  display: block;
  margin-top: 0.45rem; /* ラベル（お名前など）と入力フォームの間の余白をここでしっかり確保 */
  margin-bottom: 0;
}
.dododo-contact-form p {
  margin: 0 0 1.76rem !important; /* ラベルとラベルの間を元の約1.6倍に調整 */
}

/* Cloudflare Turnstile を送信ボタンの下（フォーム下部左寄せ）に固定配置 */
#contact .wpcf7-form {
  position: relative;
  padding-bottom: 3.5rem; /* Turnstile 用のスペースを下に確保 */
}
#contact .wpcf7-turnstile {
  position: absolute;
  left: 0;
  bottom: 0;
  display: flex;
  justify-content: flex-start; /* 左寄せ */
  margin: 0;
}

/* Contact Form 7 フォームレイアウト（2カラム対応） */
.dododo-contact__form-wrap .dododo-contact-form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 0;
}
.dododo-contact__form-wrap .dododo-contact-form-field {
  flex: 1 1 100%;
  margin: 0;
}
.dododo-contact__form-wrap .dododo-contact-form-field--half {
  flex: 1 1 calc(50% - 0.875rem);
}
@media (max-width: 640px) {
  .dododo-contact__form-wrap .dododo-contact-form-field--half {
    flex-basis: 100%;
  }
}

.dododo-contact__form-placeholder {
  padding: 2rem;
  color: #6b7280;
  font-size: 0.875rem;
}
.dododo-contact__form-placeholder code {
  background: #e5e7eb;
  padding: 0.2em 0.4em;
  border-radius: 0.25rem;
}

/* こんな採用の悩み（HTMLブロック用） */
/* .dododo-section-head で 4rem に統一済み */
.dododo-problems__grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 4rem;
}
@media (min-width: 768px) {
  .dododo-problems__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}
.dododo-problems__card {
  background: #fff;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 15px 35px -12px rgba(15, 23, 42, 0.25);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.dododo-problems__card:hover {
  box-shadow: 0 25px 55px -18px rgba(15, 23, 42, 0.35);
  transform: translateY(-4px);
}
.dododo-problems__card-img {
  aspect-ratio: 1.618 / 1;
  overflow: hidden;
  background: #e5e7eb;
}
.dododo-problems__card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.dododo-problems__card-body {
  padding: 1.5rem;
}
.dododo-problems__card-title {
  font-family: "Montserrat", sans-serif;
  font-size: 1.125rem;
  font-weight: 500;
  color: #111;
  margin: 0 0 0.75rem;
  line-height: 1.4;
}
@media (min-width: 768px) {
  .dododo-problems__card-title {
    font-size: 1.125rem; /* 18px 相当（PCカード見出し） */
  }
}
.dododo-problems__card-desc {
  font-size: 0.875rem;
  color: #4b5563;
  line-height: 1.6;
  margin: 0;
}
.dododo-problems__emphasis {
  border: solid transparent;
  border-width: 1px 1px 2px 1px;
  border-image: linear-gradient(135deg, #1d4ed8 0%, #60a5fa 100%) 1;
  background: transparent;
  padding: 2rem;
}
@media (min-width: 768px) {
  .dododo-problems__emphasis {
    padding: 2.5rem;
  }
}
.dododo-problems__emphasis p {
  margin: 0;
  color: #111;
  font-size: 0.875rem;
  line-height: 1.7;
}
@media (min-width: 768px) {
  .dododo-problems__emphasis p {
    font-size: 1rem;
  }
}

/* About（求人屋です）セクション */
.dododo-about__grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .dododo-about__grid {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    align-items: flex-start;
  }
}

.dododo-about__left {
  max-width: 320px;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .dododo-about__left {
    position: sticky;
    top: 8rem;
  }
}

.dododo-about__right {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

/* 見出しは右カラム内の先頭（見出し下は詰め気味） */
.dododo-about__head {
  margin-bottom: 1.5rem;
}
.dododo-about__head .dododo-title {
  margin-bottom: 0;
}

/* 本文：段落間の余白 */
.dododo-about__body {
  color: #4b5563;
  line-height: 1.9;
  font-size: 1rem;
}
.dododo-about__body p {
  margin: 0 0 1em;
}
.dododo-about__body p:last-child {
  margin-bottom: 0;
}

/* プロフィール画像 */
.dododo-about__profile-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  overflow: hidden;
  background: #e5e7eb;
  margin-bottom: 2rem;
}
.dododo-about__profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 略歴：タイトル */
.dododo-about__career-title {
  font-family: "Montserrat", sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: #111827;
  margin: 0 0 1rem;
}

/* 略歴：縦ライン＋リスト */
.dododo-about__career-inner {
  position: relative;
  padding-left: 1.5rem;
}
.dododo-about__career-line-wrap {
  position: absolute;
  left: 6px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  overflow: hidden;
  transform-origin: top;
  animation: dododo-about-line-grow 0.25s ease-out forwards;
}
.dododo-about__career-line {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, #1e3a8a, #3b82f6, #93c5fd);
  transform-origin: top;
  animation: dododo-about-line-grow 0.25s ease-out forwards;
}
@keyframes dododo-about-line-grow {
  from { transform: scaleY(0); opacity: 0; }
  to { transform: scaleY(1); opacity: 1; }
}

.dododo-about__career-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
}
.dododo-about__career-item {
  opacity: 0;
  transform: translateY(12px);
  animation: dododo-about-item-in 0.2s ease-out forwards;
}
.dododo-about__career-item:nth-child(1) { animation-delay: 0ms; }
.dododo-about__career-item:nth-child(2) { animation-delay: 28ms; }
.dododo-about__career-item:nth-child(3) { animation-delay: 55ms; }
.dododo-about__career-item:nth-child(4) { animation-delay: 83ms; }
.dododo-about__career-item:nth-child(5) { animation-delay: 110ms; }
.dododo-about__career-item:nth-child(6) { animation-delay: 138ms; }
.dododo-about__career-item:nth-child(7) { animation-delay: 165ms; }
.dododo-about__career-item:nth-child(8) { animation-delay: 193ms; }
@keyframes dododo-about-item-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.dododo-about__career-num {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  color: #1e3a8a;
}
.dododo-about__career-text {
  margin: 0.15rem 0 0;
  font-size: 0.85rem;
  color: #374151;
  line-height: 1.6;
}

/* About 内の「主な活動領域」枠：ラインのみ・背景なし・文字は濃い色 */
.dododo-about .dododo-emphasis-box.dododo-about__activity {
  background: transparent;
  padding: 2rem 2rem 2.5rem;
}
@media (min-width: 768px) {
  .dododo-about .dododo-emphasis-box.dododo-about__activity {
    padding: 2.5rem 3rem;
  }
}
.dododo-about .dododo-about__activity-title {
  font-family: "Montserrat", sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: #111827;
  margin: 0 0 0.75rem;
}
.dododo-about .dododo-about__activity-list {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #374151;
  font-size: 1rem;
  line-height: 1.7;
  display: grid;
  gap: 1rem;
}
@media (min-width: 640px) {
  .dododo-about .dododo-about__activity-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* 活動領域リストを 3つのサービスのリストと同じ装飾にする */
.dododo-about .dododo-about__activity-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.dododo-about .dododo-about__activity-list li::before {
  content: "›";
  color: #1e3a8a;
  font-weight: 300;
  flex-shrink: 0;
}

/* Services（3つのサービス）セクション */
.dododo-services {
  padding-bottom: 0 !important;
}
.dododo-services__head {
  max-width: 48rem;
  margin-bottom: 4rem;
}
.dododo-services__head .dododo-title {
  margin-bottom: 0;
}
.dododo-services__grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 6rem;
}
@media (min-width: 768px) {
  .dododo-services__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.dododo-services__card {
  background: #f7f7f7;
  border-radius: 12px;
  padding: 2.75rem 2rem 3.25rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}
.dododo-services__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}
.dododo-services__icon {
  width: 4rem;
  height: 4rem;
  border-radius: 8px;
  background: linear-gradient(135deg, #1d4ed8 0%, #60a5fa 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
.dododo-services__icon .material-symbols-outlined {
  font-size: 2rem;
  color: #fff;
  font-variation-settings: "FILL" 0, "wght" 200, "GRAD" 0, "opsz" 24;
}
.dododo-services__title {
  font-family: "Montserrat", sans-serif;
  font-size: 1.125rem;
  font-weight: 500;
  color: #111827;
  margin: 0 0 1rem;
  line-height: 1.3;
  min-height: 3.5rem;
}
.dododo-services__target {
  font-size: 0.875rem;
  color: #1e3a8a;
  margin: 0 0 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
  min-height: 3rem;
}
.dododo-services__features {
  list-style: none;
  padding: 0;
  margin: 0;
  flex-grow: 1;
}
.dododo-services__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 1rem; /* 他テキストと同じ 16px */
  color: #4b5563;
  line-height: 1.5;
}
.dododo-services__features li:last-child {
  margin-bottom: 0;
}
.dododo-services__features li::before {
  content: "›";
  color: #1e3a8a;
  font-weight: 300;
  flex-shrink: 0;
}

/* 3つのサービス：横幅貫通バナー（ジョブコン紹介・ヒーロー同様グラデ＋アニメ） */
@keyframes dododoBannerFadeUp {
  from {
    opacity: 0;
    transform: translateY(1.5rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes dododoBannerFadeFromRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* バナー背景：暗→明→暗の波打つグラデーション */
@keyframes dododoBannerGradientWave {
  0%, 100% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}

.dododo-services__banner {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 5rem 0;
  min-height: 32rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  background-image: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #2563eb 100%);
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}
.dododo-services__banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: linear-gradient(135deg, #2563eb 0%, #3b82f6 50%, #60a5fa 100%);
  background-repeat: no-repeat;
  background-size: cover;
  animation: dododoBannerGradientWave 5s ease-in-out infinite;
  pointer-events: none;
}
@media (min-width: 768px) {
  .dododo-services__banner {
    padding: 6rem 0;
  }
}

.dododo-services__banner-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
@media (min-width: 1024px) {
  .dododo-services__banner-inner {
    padding: 0 2rem;
    flex-direction: row;
    align-items: center;
    gap: 3rem;
  }
}

.dododo-services__banner-figure {
  flex: 0 0 auto;
  order: 2;
}
@media (min-width: 1024px) {
  .dododo-services__banner-figure {
    order: 1;
    flex: 0 1 45%;
  }
}

/* 下150pxをマスク。margin-bottom: -150px でマスク分をレイアウトから差し引き、下余白が大きく開かないようにする */
.dododo-services__banner-photo-wrap {
  position: relative;
  width: 100%;
  max-width: 20rem;
  margin: 0 auto;
  margin-bottom: -150px;
  border-radius: 0.75rem;
  overflow: hidden;
  clip-path: inset(0 0 150px 0 round 0.75rem);
  -webkit-clip-path: inset(0 0 150px 0 round 0.75rem);
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.9s ease-out 0.25s, transform 0.9s ease-out 0.25s;
}
.dododo-services__banner--visible .dododo-services__banner-photo-wrap {
  opacity: 1;
  transform: translateX(0);
}
@media (min-width: 768px) {
  .dododo-services__banner-photo-wrap {
    max-width: 28rem;
  }
}
@media (min-width: 1024px) {
  .dododo-services__banner-photo-wrap {
    max-width: 32rem;
  }
}

.dododo-services__banner-photo {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: top;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.2);
}

.dododo-services__banner-content {
  order: 1;
  position: relative;
  z-index: 2;
  text-align: center;
}
@media (min-width: 1024px) {
  .dododo-services__banner-content {
    order: 2;
    flex: 1 1 55%;
    text-align: left;
  }
}

.dododo-services__banner-title {
  margin: 0 0 1rem;
  font-family: "Montserrat", sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.3;
  color: #fff;
  text-shadow: 0 0 14px rgba(0, 0, 0, 0.3), 0 2px 4px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 0.4s ease-out 0.05s, transform 0.4s ease-out 0.05s;
}
.dododo-services__banner--visible .dododo-services__banner-title {
  opacity: 1;
  transform: translateY(0);
}
@media (min-width: 768px) {
  .dododo-services__banner-title {
    font-size: 1.75rem;
  }
}

.dododo-services__banner-text {
  margin: 0 0 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 0.4s ease-out 0.12s, transform 0.4s ease-out 0.12s;
}
.dododo-services__banner--visible .dododo-services__banner-text {
  opacity: 1;
  transform: translateY(0);
}
@media (min-width: 768px) {
  .dododo-services__banner-text {
    font-size: 1rem;
  }
}

.dododo-services__banner-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  text-align: left;
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 0.4s ease-out 0.18s, transform 0.4s ease-out 0.18s;
}
.dododo-services__banner--visible .dododo-services__banner-features {
  opacity: 1;
  transform: translateY(0);
}
.dododo-services__banner-features li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.5;
}
.dododo-services__banner-features li:last-child {
  margin-bottom: 0;
}
.dododo-services__banner-features li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: #93c5fd;
  font-weight: 600;
}

.dododo-services__banner-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  width: 100%;
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 0.4s ease-out 0.24s, transform 0.4s ease-out 0.24s;
}
.dododo-services__banner--visible .dododo-services__banner-ctas {
  opacity: 1;
  transform: translateY(0);
}
@media (min-width: 1024px) {
  .dododo-services__banner-ctas {
    justify-content: stretch;
    flex-wrap: nowrap;
  }
}

.dododo-services__banner-btn {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: transform 0.2s, box-shadow 0.2s;
  /* 背景の波アニメーションがボタンにかからないように前面に */
}
@media (min-width: 1024px) {
  .dododo-services__banner-btn {
    flex: 1;
    min-width: 0;
  }
}
.dododo-services__banner-btn--primary {
  background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}
.dododo-services__banner-btn--primary:hover {
  transform: translateY(-2px);
}
.dododo-services__banner-btn--secondary {
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
  color: #1e3a8a;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}
.dododo-services__banner-btn--secondary:hover {
  transform: translateY(-2px);
}
.dododo-services__banner-btn .material-symbols-outlined {
  font-size: 1.25rem;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

/* Testimonials（お客様の声）セクション - ダミー表示用 */
.dododo-testimonials {
  overflow: hidden;
}
/* お客様の声セクションを非表示にする（コメントアウトの代わりに section にこのクラスを付与） */
.dododo-testimonials--hidden {
  display: none !important;
}
.dododo-testimonials__head {
  margin-bottom: 4rem;
}
.dododo-testimonials__head .dododo-title {
  margin-bottom: 0;
}
.dododo-testimonials__carousel {
  position: relative;
}
.dododo-testimonials__cards {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 2rem 0;
}
.dododo-testimonials__card {
  width: 360px;
  flex-shrink: 0;
  transition: transform 0.2s ease-out, opacity 0.2s ease-out;
}
.dododo-testimonials__card--side {
  transform: scale(0.9);
  opacity: 0.4;
}
.dododo-testimonials__card--side .dododo-testimonials__card-inner {
  filter: grayscale(1);
}
.dododo-testimonials__card--center {
  transform: scale(1.1);
  opacity: 1;
  z-index: 10;
  position: relative;
}
.dododo-testimonials__card-inner {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}
.dododo-testimonials__card--side .dododo-testimonials__img-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.6);
}
.dododo-testimonials__img-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e5e7eb;
}
.dododo-testimonials__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.dododo-testimonials__body {
  padding: 1.5rem;
}
.dododo-testimonials__title {
  font-family: "Montserrat", sans-serif;
  font-size: 1.125rem;
  font-weight: 500;
  color: #111827;
  margin: 0 0 0.5rem;
}
.dododo-testimonials__text {
  color: #4b5563;
  font-size: 0.9375rem;
  line-height: 1.6;
  margin: 0 0 1rem;
}
.dododo-testimonials__company {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1e3a8a;
  margin: 0;
}
/* コントロール（矢印・ドット）「＜」「…」「＞」高さセンター揃え */
.dododo-testimonials .dododo-testimonials__controls {
  display: flex !important;
  flex-direction: row;
  align-items: center !important;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
  height: 3.4rem !important;
  min-height: 3.4rem !important;
  box-sizing: border-box;
}
.dododo-testimonials .dododo-testimonials__controls .dododo-testimonials__arrow,
.dododo-testimonials .dododo-testimonials__controls .dododo-testimonials__dots {
  display: flex !important;
  align-items: center !important;
  justify-content: center;
  height: 3.4rem !important;
  flex-shrink: 0;
  box-sizing: border-box;
}
.dododo-testimonials .dododo-testimonials__arrow {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 3.4rem;
  height: 3.4rem;
  color: #1e3a8a;
  font-size: 2rem !important;
  line-height: 1 !important;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  cursor: default;
  box-sizing: border-box;
}
/* 矢印がアイコンフォント単体になったため、ベースライン補正 */
.dododo-testimonials .dododo-testimonials__arrow.material-symbols-outlined {
  transform: translateY(-0.06em);
}
.dododo-testimonials .dododo-testimonials__dots {
  gap: 0.5rem;
  padding: 0 1rem;
}
.dododo-testimonials .dododo-testimonials__dots .dododo-testimonials__dot {
  flex-shrink: 0;
}
.dododo-testimonials__dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: #d1d5db;
  transition: width 0.2s, background 0.2s;
}
.dododo-testimonials__dot--current {
  width: 32px;
  height: 8px;
  background: #1e3a8a;
}
@media (max-width: 767px) {
  .dododo-testimonials__cards {
    flex-direction: column;
    gap: 1rem;
  }
  .dododo-testimonials__card--side {
    display: none;
  }
  .dododo-testimonials__card {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
  }
  .dododo-testimonials__card--center {
    transform: none;
  }
}

/* FAQ（よくあるご質問）セクション */
.dododo-faq__inner {
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}
.dododo-faq__head {
  margin-bottom: 4rem;
}
.dododo-faq__head .dododo-title {
  margin-bottom: 0;
}
.dododo-faq__list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.dododo-faq__item {
  background: #f7f7f7;
  border: none;
  border-radius: 8px;
  padding: 0;
  overflow: hidden;
  transition: background-color 0.2s;
}
.dododo-faq__item[open] {
  background: #eff6ff;
}
.dododo-faq__q {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  list-style: none;
  font-size: 1rem;
  text-align: left;
}
.dododo-faq__q::-webkit-details-marker {
  display: none;
}
.dododo-faq__q::marker {
  display: none;
}
.dododo-faq__q::after {
  content: "";
  margin-left: auto;
  width: 0.5rem;
  height: 0.5rem;
  border-right: 1px solid #1e3a8a;
  border-bottom: 1px solid #1e3a8a;
  transform: rotate(45deg);
  flex-shrink: 0;
  transition: transform 0.2s;
}
.dododo-faq__item[open] .dododo-faq__q::after {
  transform: rotate(-135deg);
}
.dododo-faq__q-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1;
  color: #1e3a8a;
  background: rgba(30, 58, 138, 0.08);
  border-radius: 50%;
}
.dododo-faq__q-text {
  font-weight: 600;
  color: #111827;
  line-height: 1.5;
}
.dododo-faq__a {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0 1.5rem 1.25rem 1.5rem;
}
.dododo-faq__a-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1;
  color: #1e3a8a;
  background: rgba(30, 58, 138, 0.08);
  border-radius: 50%;
}
.dododo-faq__a-text {
  color: #4b5563;
  line-height: 1.6;
  font-size: 1rem;
}

/* Solution / About / Services / FAQ 共通のグラデ枠 */
.dododo-emphasis-box {
  border: solid transparent;
  border-width: 1px 1px 2px 1px;
  border-image: linear-gradient(135deg, #1d4ed8 0%, #60a5fa 100%) 1;
  background: #fff;
  padding: 2rem;
}
@media (min-width: 768px) {
  .dododo-emphasis-box {
    padding: 2.5rem;
  }
}
.dododo-emphasis-box p {
  margin: 0;
  color: #111;
  font-size: 0.875rem;
  line-height: 1.7;
}
@media (min-width: 768px) {
  .dododo-emphasis-box p {
    font-size: 1rem;
  }
}

/* Solution セクション：リード＋ベネフィット＋行動フロー */
.dododo-solution__lead {
  color: #4b5563;
  max-width: 48rem;
  /* 見出しとの間に少しだけ余白を入れる */
  margin-top: 0.25rem;
  margin-bottom: 2.75rem;
  line-height: 1.7;
}

.dododo-solution__benefits {
  display: grid;
  gap: 1rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px) {
  .dododo-solution__benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.dododo-solution .dododo-solution__benefit {
  display: flex;
  align-items: center !important;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: #f7f7f7;
  border-radius: 0.5rem;
}

.dododo-solution .dododo-solution__benefit-check,
.dododo-solution .dododo-solution__benefit-text {
  align-self: center !important;
}

.dododo-solution__benefit-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #1e40af;
  font-size: 1.25rem;
  line-height: 1;
}
.dododo-solution__benefit-check::before {
  content: "\e2e6"; /* task_alt */
  font-family: "Material Symbols Outlined", sans-serif;
  font-variation-settings: "FILL" 0, "wght" 200, "GRAD" 0, "opsz" 24;
  font-size: inherit;
  line-height: 1;
}

.dododo-solution__benefit-text {
  color: #374151;
  /* Next.js 側と同じく Noto Sans JP ベースに寄せる */
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  /* 開発環境に合わせて 16px / やや太め */
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
}

.dododo-solution__flow {
  margin-top: 1rem;
  margin-bottom: 3.75rem;
}

.dododo-solution__flow-title {
  font-family: "Montserrat", sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  text-align: center;
  margin: 0 0 2rem;
  color: #111827;
}

.dododo-solution__flow-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 1024px) {
  .dododo-solution__flow-grid {
    flex-direction: row;
    /* ボックス外側どうしのスキマをできるだけ詰める */
    gap: 0;
  }
}

.dododo-solution__flow-card {
  flex: 1;
  min-width: 0;
  opacity: 0;
  transform: translateX(-1rem);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.dododo-solution__flow--visible .dododo-solution__flow-card--first {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 200ms;
}
.dododo-solution__flow--visible .dododo-solution__flow-card--middle {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 850ms;
}
.dododo-solution__flow--visible .dododo-solution__flow-card--last {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 1500ms;
}

@media (min-width: 1024px) {
  /* 真ん中のカードだけ、左右の余白を少しだけ詰めて3つの間隔を揃える */
  .dododo-solution__flow-card--middle {
    margin: 0 -16px;
  }
}

.dododo-solution__flow-inner {
  background: linear-gradient(to bottom, #1e3a8a 0%, #1e3a8a 50%, #f7f7f7 50%, #f7f7f7 100%);
  border-radius: 0.5rem;
  padding: 1.25rem 1.75rem;
}

@media (min-width: 1024px) {
  /* PC では 3 つのカードそれぞれ形状を変える（左・中・右） */
  .dododo-solution__flow-inner {
    border-radius: 0;
  }

  /* 左端: 右に三角が付く */
  .dododo-solution__flow-card--first .dododo-solution__flow-inner {
    clip-path: polygon(
      0 0,
      calc(100% - 24px) 0,
      100% 50%,
      calc(100% - 24px) 100%,
      0 100%
    );
  }

  /* 真ん中: 左右どちらにもくぼみ／とがり */
  .dododo-solution__flow-card--middle .dododo-solution__flow-inner {
    clip-path: polygon(
      0 0,
      calc(100% - 24px) 0,
      100% 50%,
      calc(100% - 24px) 100%,
      0 100%,
      24px 50%
    );
    /* 真ん中だけ左右の余白を気持ち削って、3つのボックスの間隔を揃える */
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  /* 右端: 左側にくぼみだけ（終点） */
  .dododo-solution__flow-card--last .dododo-solution__flow-inner {
    clip-path: polygon(
      0 0,
      calc(100% - 24px) 0,
      100% 50%,
      calc(100% - 24px) 100%,
      0 100%,
      24px 50%
    );
  }
}

/* Solution セクション：ベネフィットリストは常時表示、行動フローは JS で .dododo-solution__flow--visible 時にアニメ */
.dododo-solution__benefit {
  opacity: 1;
  transform: none;
}

.dododo-solution__flow-body {
  display: grid;
  grid-template-rows: 1fr 1fr;
  min-height: 165px;
}

.dododo-solution__flow-heading {
  display: flex;
  align-items: center;
  justify-content: center;
}

.dododo-solution__flow-heading h4 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: #ffffff;
  margin: 0;
}

.dododo-solution__flow-text {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.dododo-solution__flow-text p {
  margin: 0;
  color: #4b5563;
  line-height: 1.5;
  font-size: 1rem;
}

/* Solution セクション個別の背景など */