/* ===========================
   company.css - 会社概要ページ
   =========================== */

:root {
  --co_text: #171b20;
  --co_sub_text: #66707a;
  --co_bg: #f3f6fb;
  --co_paper: #f3f6fb;
  --co_green: #2547d8;

  --co_copper: #2547d8;
  --co_navy: #2547d8;
  --co_line: rgba(23, 27, 32, 0.12);
  --co_shadow: rgba(23, 27, 32, 0.08);
  --co_font_ja: "Noto Sans JP", sans-serif;
  --co_font_title: "Shippori Mincho", serif;
  --co_font_round: "Zen Maru Gothic", "Noto Sans JP", sans-serif; /* 角の丸いゴシック。やわらかく親しみのある見え方にする用 */
  --co_font_en: "Inter", sans-serif;
  --co_container: 110rem;
  /* しゃぼんだま6つの初期値。直径は1つずつ上書きする。高さ・出てくる順番・漂い方は js/company.js が毎回ばらばらに決める（2026-10-07） */
  --goal_hue: 205; /* 膜のごく薄い色。6つとも同じ（2026-10-06：泡ごとに色を変えるとカラフルすぎると言われた） */
  --goal_sway: 1.5; /* 横に行き来する幅の倍率（js が読む）。風船のようによく動かす。スマホでは小さくする */
  --goal_rise: 1; /* 上下に動く幅の倍率（js が読む）。スマホは行の間がせまいので小さくする */
  --goal_size: 74%; /* 枠に対する直径 */
  --goal_delay: 0s; /* 浮かび上がってくる順番（js が上書きする。js が動かないときの初期値） */
  --goal_offset: 0rem; /* 上に空ける分（js が上書きする。js が動かないときの初期値） */
}

.co {
  min-width: 320px;
  overflow-x: hidden;
  background: linear-gradient(90deg, rgba(23, 27, 32, 0.025) 1px, transparent 1px), linear-gradient(0deg, rgba(23, 27, 32, 0.025) 1px, transparent 1px), var(--co_bg);
  background-size:
    48px 48px,
    48px 48px,
    auto;
  color: var(--co_text);
  font-family: var(--co_font_ja);
  font-size: 1.5rem;
  line-height: 1.8;
}

/* ┌─────────────────────────────────────────┐
   │ ヘッダー（style.css共通を使用）          │
   └─────────────────────────────────────────┘ */

/* index.htmlのヒーローアニメ用2.8s遅延を短縮 */
.co .header {
  animation-delay: 0.3s;
}

/* メイン */
.co_main {
  overflow: hidden;
}

/* ヒーロー */
.co_hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: 8rem;
}

.co_hero::before {
  content: "";
  position: absolute;
  top: -4rem;
  left: -24rem;
  z-index: 0;
  width: 54rem;
  height: 54rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 71, 216, 0.22) 0, rgba(37, 71, 216, 0.12) 42%, rgba(37, 71, 216, 0.04) 62%, transparent 76%);
  filter: blur(1px);
  opacity: 0.78;
  pointer-events: none;
  animation: co_circle_drift 34s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes co_circle_drift {
  from {
    transform: translate3d(0, 0, 0) scale(0.96);
  }
  to {
    transform: translate3d(34rem, 42rem, 0) scale(1.08);
  }
}

.co_hero_inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  align-items: center;
  min-height: 100svh;
}

@keyframes co_img_reveal {
  from {
    clip-path: inset(0 100% 0 0);
  }
  to {
    clip-path: inset(0 0% 0 0);
  }
}

.co_hero_img_frame {
  order: 2;
  position: relative;
  overflow: hidden;
  clip-path: inset(0 100% 0 0);
  animation: co_img_reveal 1.2s 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.co_hero_img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}

.co_hero_text {
  order: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: center;
  margin: 4rem 2rem 4rem max(3rem, 5vw);
  padding: 5rem max(3rem, 4vw);
  background: rgba(255, 255, 255, 0.88);
  border-radius: 2rem;
  box-shadow: 0 2rem 6rem rgba(23, 27, 32, 0.08);
  text-align: center;
  opacity: 0;
  animation: co_text_burst 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
}

@keyframes co_text_burst {
  0% {
    opacity: 0;
    transform: scale(0.95);
  }
  70% {
    opacity: 1;
    transform: scale(1.008);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.co_hero_label {
  margin: 0 0 1.7rem;
  color: var(--co_green);
  font-family: var(--co_font_en);
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.co_hero_title {
  margin: 0;
  color: var(--co_text);
  font-family: var(--co_font_title);
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.65;
}

.co_hero_messages {
  display: grid;
  gap: 2.8rem;
  margin-top: 3rem;
}

.co_hero_message {
  margin: 0;
  color: var(--co_text);
  font-family: var(--co_font_title);
  font-size: 1.62rem;
  font-weight: 700; /* PCは少し太く（読み込んである明朝の太さは 500/600/700 なので、600 の次の 700） */
  line-height: 2.2;
  letter-spacing: 0.02em;
}

.co_hero_scroll {
  display: inline-flex;
  align-items: center;
  gap: 1.1rem;
  margin-top: 3.2rem;
  color: var(--co_text);
  font-size: 1.35rem;
  font-weight: 800;
}

.co_hero_scroll::after {
  content: "↓";
  display: grid;
  place-items: center;
  width: 3.8rem;
  height: 3.8rem;
  border-radius: 50%;
  background: var(--co_navy);
  color: #fff;
  font-family: var(--co_font_en);
  font-size: 1.25rem;
}

/* 共通セクションラベル・タイトル */
.co_sec_label {
  margin: 0 0 1.4rem;
  color: var(--co_green);
  font-family: var(--co_font_en);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-align: center;
}

.co_sec_title {
  max-width: 78rem;
  margin: 0;
  color: var(--co_text);
  font-family: var(--co_font_title);
  font-size: 3.8rem;
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
  margin: 0 auto;
}

/* ┌─────────────────────────────────────────┐
   │ 会社概要                                │
   └─────────────────────────────────────────┘ */

/* セクション */
.co_overview {
  padding: 7rem 2rem 10rem;
  background: rgba(255, 255, 255, 0.42);
}

.co_overview_inner {
  max-width: 82rem;
  margin: 0 auto;
}

/* テーブル。上に青い線を引き、項目の列に薄い青を敷いて、行の区切りをはっきりさせる */
.co_overview_table {
  width: 100%;
  margin-top: 4.6rem;
  border-collapse: collapse;
  border-top: 2px solid var(--co_green);
}

.co_overview_row {
  border-bottom: 1px solid rgba(23, 27, 32, 0.16);
}

/* 項目 */
.co_overview_th {
  width: 22rem;
  padding: 2rem 2.4rem;
  color: var(--co_green);
  font-size: 1.42rem;
  font-weight: 800;
  text-align: left;
  vertical-align: top;
  background: rgba(37, 71, 216, 0.06);
}

/* データ */
.co_overview_td {
  padding: 2rem 2.4rem;
  color: var(--co_text);
  font-size: 1.5rem;
  font-weight: 500;
  overflow-wrap: anywhere; /* 長いURLも枠からはみ出さない */
  background: rgba(255, 255, 255, 0.72);
}

/* ┌─────────────────────────────────────────┐
   │ 働く環境（6つの目標と雇用契約）         │
   └─────────────────────────────────────────┘ */

/* この節の見出しとしゃぼんだまの文字だけ、角の丸いゴシックにする（2026-10-06：福祉らしいやわらかさを出したい） */
.co_goal .co_sec_title {
  font-family: var(--co_font_round);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.co_goal {
  position: relative; /* 端を流れる大きい泡の基準 */
  isolation: isolate;
  overflow: hidden;
  padding: 8rem 2rem 9rem;
  scroll-margin-top: 8rem;
  /* 並びは、ふちが微妙に重なる近さ。漂う幅は、近づいて重なる → 離れる、をくり返せる大きさにする
     （2026-10-14：「ついてばっかりだから、ついたり離れたりして」「ずっと重なっているから動きを大きく」と言われた。
     0.8 だと、ずっと重なったままだった。上の初期値は 1.5 / 1） */
  --goal_sway: 1.3;
  --goal_rise: 1.1;
  /* 薄いオレンジの水彩。濃さの違うにじみを重ね、ふちをぼかして紙に広がった絵の具に見せる（2026-10-06：福祉らしい温かさを出したい） */
  background:
    radial-gradient(ellipse 60% 42% at 18% 22%, rgba(248, 196, 142, 0.34), transparent 70%),
    radial-gradient(ellipse 52% 38% at 84% 30%, rgba(250, 211, 170, 0.3), transparent 72%),
    radial-gradient(ellipse 70% 46% at 62% 78%, rgba(247, 201, 160, 0.26), transparent 74%),
    radial-gradient(ellipse 44% 32% at 32% 66%, rgba(252, 222, 186, 0.3), transparent 70%),
    radial-gradient(ellipse at 50% 40%, rgba(255, 255, 255, 0.5), transparent 68%),
    linear-gradient(170deg, #fdf6ee 0%, #fdf1e4 46%, #fcf4ec 100%);
}

/* 奥を通る大きい泡。文字の外側だけを通り、手前の6つよりもゆっくり動く。 */
.co_goal::before,
.co_goal::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 32rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle closest-side, rgba(255, 255, 255, 0) 62%, rgba(140, 176, 255, 0.28) 88%, rgba(255, 255, 255, 0.7) 100%);
  opacity: 0.55;
  filter: blur(0.8rem); /* ピントが合っていない＝奥にいる、に見せる */
  pointer-events: none;
  animation: goal_haze 26s ease-in-out infinite alternate paused;
}

.co_goal::before {
  top: 12rem;
  left: -18rem;
}

.co_goal::after {
  top: 38rem;
  right: -19rem;
  animation-delay: -18s;
  animation-direction: alternate-reverse;
}

.co_goal.is_drifting::before,
.co_goal.is_drifting::after {
  animation-play-state: running;
}

.co_goal_inner {
  max-width: 96rem;
  margin: 0 auto;
}

/* 読み順を保ちながら高さをずらして、空中に余白をつくる。 */
.co_goal_list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  /* 泡どうしを、ふちが微妙に重なる近さに寄せる（2026-10-14：泡と泡が少し重なるくらいにして、と言われた）。
     1つの枠の幅は 76rem÷3＝約25rem。泡の直径はその100%前後にして、隣と数remだけ重ねる */
  max-width: 76rem;
  margin: 2.4rem auto 4rem;
  padding: 1.2rem 0 1.6rem;
  list-style: none;
}

/* 下からふわっと浮かび上がってくる。ふくらみながら上がるので scale も一緒に動かす */
.co_goal_item {
  min-width: 0;
  /* 泡が枠より大きくても、中央に置く（margin: 0 auto だと、はみ出したぶんが右へ流れて位置がずれる） */
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: var(--goal_offset);
  transition: opacity 1.2s ease, transform 1.5s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--goal_delay);
}

.co_goal_list.is_waiting .co_goal_item {
  opacity: 0;
  transform: translateY(3.2rem) scale(0.92);
}

/* しゃぼんだま1つ。直径と色を1つずつ変えて、同じ泡のコピーに見えないようにする */
.goal_bubble {
  position: relative; /* 光の映り込みを文字の後ろへ重ねる */
  display: grid;
  place-items: center;
  width: var(--goal_size);
  flex: none; /* 親が flex なので、枠より大きい泡が縮まないようにする */
  aspect-ratio: 1;
  margin: 0;
  border-radius: 50%;
  /* 膜を4枚重ねて作る。中心はほぼ透明のままにして、後ろの背景が透けて見えるようにする。
     closest-side は「100%＝円のふち」の意味（付けないと角までが100%になり、虹色がふちまで届かない） */
  background:
    /* ① 向こう側から光が抜けてくる小さな点（右下） */
    radial-gradient(circle closest-side at 68% 73%, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0) 20%),
    /* ② 左上の薄い照り */
    radial-gradient(circle closest-side at 33% 27%, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0) 58%),
    /* ③ 上は膜が薄くなって色が抜ける（本物のしゃぼんだまも、液が下へ落ちて上から透明になる） */
    linear-gradient(to bottom, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0) 42%),
    /* ④ 膜。本物のしゃぼんだまは色が付いて見えないので、ふちの手前にごく薄く差すだけにする（2026-10-06：虹色はカラフルすぎると言われた） */
    radial-gradient(circle closest-side, rgba(255, 255, 255, 0) 70%, hsl(var(--goal_hue) 60% 80% / 0.1) 88%, hsl(var(--goal_hue) 55% 78% / 0.16) 96%, rgba(255, 255, 255, 0.9) 100%);
  background-color: hsl(var(--goal_hue) 45% 92% / 0.07); /* 中はほぼ無色。白いハイライトが見える程度にだけ入れる */
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.9), /* 膜のいちばん外側の細い光 */
    0 1rem 2.4rem rgba(198, 124, 58, 0.08); /* 空気中のうすい影（背景のオレンジに合わせた温かい影） */
  will-change: transform; /* 漂いは js/company.js が transform を毎コマ動かす（なめらかにするため、専用の面に分けておく） */
}

/* 光源の映り込み（左上の白いハイライト）。これがあると泡だと分かる */
.goal_bubble::before {
  content: "";
  position: absolute;
  top: 14%;
  left: 20%;
  width: 18%;
  aspect-ratio: 1.8;
  border-radius: 50%;
  background: radial-gradient(circle closest-side, #ffffff, rgba(255, 255, 255, 0.75) 50%, rgba(255, 255, 255, 0));
  transform: rotate(-28deg) scale(1);
  transition: opacity 1.1s ease, transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--goal_delay) + 0.8s); /* 泡が上がりきってから、ふっと光が差す */
  pointer-events: none;
}

/* 浮かび上がる前は光が差していない＝まだ叶っていない */
.co_goal_list.is_waiting .goal_bubble::before {
  opacity: 0;
  transform: rotate(-28deg) scale(0.4);
}

/* マウスを乗せたら光が強くなる（泡が近づいて光を受けた感じ） */
.goal_bubble:hover::before {
  transform: rotate(-28deg) scale(1.2);
  transition-delay: 0s;
}

.goal_label {
  position: relative; /* ::before の光より手前に出す */
  color: #1d2a4a;
  font-family: var(--co_font_round); /* 見出しと同じ、角の丸いゴシック */
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-align: center;
  text-shadow: 0 0 1.2rem rgba(255, 255, 255, 0.95), 0 0.1rem 0 rgba(255, 255, 255, 0.9);
  white-space: nowrap;
}

/* 泡ごとの直径。色は6つとも同じ。高さ・出てくる順番・漂い方は js/company.js が毎回ばらばらに決める
   （2026-10-07：並びや動きに法則性が見えないようにして、と言われた）。
   直径は「コミュニティ」が一番長い言葉なので、5番目だけ大きめにして文字が縁に当たらないようにする */
.co_goal_item:nth-child(1) {
  --goal_size: 93%;
}
.co_goal_item:nth-child(2) {
  --goal_size: 92%;
}
.co_goal_item:nth-child(3) {
  --goal_size: 93%;
}
.co_goal_item:nth-child(4) {
  --goal_size: 93%;
  margin-top: 1.2rem; /* 2段目は上の泡から少し離す（2026-10-15：もうちょっと距離をとって、と言われた。ふだんは離れていて、漂うと js/company.js の範囲でときどき重なる） */
}
.co_goal_item:nth-child(5) {
  --goal_size: 99%;
  margin-top: 0.8rem;
}
.co_goal_item:nth-child(6) {
  --goal_size: 88%;
  margin-top: 2rem;
}

@keyframes goal_haze {
  from { transform: translate3d(-2rem, 1rem, 0); }
  to { transform: translate3d(5rem, -2rem, 0); }
}

/* 雇用契約の説明（白いカードにして、左の線で目立たせる） */
.co_goal_note {
  width: max-content; /* いちばん長い1行（改行で固定）の幅までカードを縮めて、右の空白をなくす */
  max-width: 100%;
  margin: 0 auto; /* 縮めたカードごと中央に置く */
  padding: 2.4rem 3.2rem;
  border-left: 0.4rem solid var(--co_navy);
  border-radius: 1.2rem;
  background: #ffffff;
  box-shadow: 0 2rem 5rem var(--co_shadow);
  color: var(--co_text);
  font-size: 1.6rem;
  line-height: 2;
  word-break: keep-all; /* 「、」とHTMLの <wbr> の位置でだけ改行する（「適／用」のように言葉の途中で切らない） */
}

.co_goal_keyword {
  color: var(--co_navy);
  font-weight: 700;
}

/* ┌─────────────────────────────────────────┐
   │ 会社概要・アクセス（東口 / 西口）       │
   └─────────────────────────────────────────┘ */

.co_company {
  padding: 7rem 2rem 10rem;
  background: rgba(255, 255, 255, 0.42);
}

.co_company--alt {
  background: var(--co_bg);
}

.co_company_inner {
  max-width: 82rem;
  margin: 0 auto;
}

.co_access_map {
  margin-top: 4rem;
  border-radius: 1.2rem;
  overflow: hidden;
  aspect-ratio: 16 / 7;
  box-shadow: 0 2rem 5rem var(--co_shadow);
}

.co_access_map iframe {
  display: block;
  width: 100%;
  height: 100%;
}

/* Contact */
.co_contact {
  padding: 7.2rem 2rem;
  /* indexのContactパネルと色を統一：白グロー＋左下シアン＋ブランド青の135度グラデ（全幅バンドの形はこのページの個性として残す） */
  background: radial-gradient(120% 110% at 82% -10%, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 54%), radial-gradient(95% 100% at 6% 112%, rgba(45, 232, 216, 0.16) 0%, rgba(45, 232, 216, 0) 55%), linear-gradient(135deg, #5e80dd 0%, #3f60c6 100%);
  color: #fff;
}

.co_contact_inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4rem;
  align-items: center;
  max-width: var(--co_container);
  margin: 0 auto;
}

.co_contact_text_area {
  max-width: 82rem;
}

.co_contact_label {
  margin: 0 0 1.6rem;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--co_font_en);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.co_contact_heading {
  margin: 0;
  color: #fff;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.45;
}

.co_contact_body {
  max-width: 72rem;
  margin: 1.6rem 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.48rem;
  line-height: 2;
  word-break: keep-all; /* 「、」とHTMLの <wbr> の位置でだけ改行する（「決まっ／ていない」のように言葉の途中で切らない） */
  overflow-wrap: anywhere; /* それでも入りきらないときだけ、どこでも改行する */
}

.co_contact_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 5.4rem;
  border-radius: 8px;
  background: #fff;
  padding: 0 3.6rem;
  color: var(--co_copper);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.co_contact_btn:hover {
  background: color-mix(in srgb, #fff, var(--co_copper) 8%);
  transform: translateY(-2px);
}

/* Footer は css/style.css に共通化 */

/* レスポンシブ */
@media screen and (max-width: 960px) {
  .co_hero_inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .co_hero_img_frame {
    height: 50rem;
  }
  .co_hero_text {
    padding: 12rem max(3rem, 5vw) 5rem max(3rem, 5vw);
  }

  .co_contact_inner {
    grid-template-columns: 1fr;
  }
  .co_contact_btn {
    justify-self: start;
  }
}

@media screen and (max-width: 700px) {
  .co {
    background: radial-gradient(circle at 0% 16%, rgba(37, 71, 216, 0.12) 0, transparent 17rem), radial-gradient(circle at 100% 94%, rgba(37, 71, 216, 0.08) 0, transparent 16rem), var(--co_bg);
  }

  /* スマホは透明オーバーレイをやめて、index.htmlと同じ白い横帯ヘッダーにそろえる */
  .header {
    align-items: center; /* ロゴとハンバーガーを帯の中で縦中央にそろえる */
    padding: 0.7rem 2rem; /* 白帯の上下左右の余白（上下は薄めにして帯の縦幅を抑える） */
    background: #ffffff;
    box-shadow: 0 0.2rem 1rem rgba(7, 16, 38, 0.08); /* 帯の下にうっすら影で境目を出す */
    pointer-events: auto;
  }

  /* 白帯なのでスクロールしてもロゴは消さない（PCの「スクロールで隠す」挙動を打ち消す） */
  .header.is_scrolled .logo {
    height: auto;
    margin: 0;
    padding: 0;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .header.is_scrolled .logo_image {
    height: 2.8rem;
  }

  /* 余白はヘッダーのpaddingが持つので、ボタン側のマージンは消す */
  .nav_toggle {
    margin: 0;
  }

  /* 箱（白背景・枠・影・blur）をやめてロゴ画像を直に白帯へのせる */
  .logo {
    width: auto;
    height: auto;
    min-height: 0;
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .logo_image {
    height: 2.8rem; /* 箱がなくなったぶん少し大きめにしてちょうどいいサイズに */
  }

  /* 開閉メニューを白帯の下・端の余白にそろえる */
  .nav_menu {
    top: 8.4rem;
    right: 1.4rem;
    left: 1.4rem;
    width: auto;
  }

  .co_header_inner {
    min-height: 6.4rem;
    padding: 0.8rem 1.8rem;
  }
  .co_header_logo {
    width: 13.2rem;
  }
  .co_header_logo_img {
    width: 12.2rem;
  }
  .co_header_contact {
    display: none;
  }

  .co_hero_img_frame {
    height: 32rem;
  }
  .co_hero_text {
    padding: 9rem max(1.8rem, 4vw) 4rem max(1.8rem, 4vw);
  }
  .co_hero_title {
    font-size: 2.25rem;
    line-height: 1.6;
  }
  .co_hero_messages {
    gap: 2.4rem;
    margin-top: 2.4rem;
  }
  .co_hero_message {
    font-size: 1.4rem;
    font-weight: 600; /* スマホは今までの太さのまま */
    line-height: 2.05;
  }

  .co_sec_title {
    font-size: 2.7rem;
    line-height: 1.5;
  }
  .co_sec_lead {
    font-size: 1.42rem;
    line-height: 2;
  }

  .co_goal {
    padding: 5.4rem 1.8rem 5.8rem;
  }
  /* 画面が狭いぶん、横に行き来する幅を小さくして、隣の泡とぶつからないようにする */
  .co_goal {
    --goal_sway: 0.42;
    --goal_rise: 0.45;
  }

  .co_goal_list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem 0;
    margin: 2.2rem 0 2.8rem;
    padding: 0 0 1.2rem;
  }
  /* 2列だと枠がせまいので、PCより直径を大きめに取る（文字が縁に当たらない大きさ） */
  .co_goal_item:nth-child(n + 4) {
    margin-top: 0; /* PC用の「2段目を持ち上げる」指定は、2列のスマホでは使わない */
  }
  .co_goal_item:nth-child(odd) {
    --goal_offset: 0rem;
  }
  .co_goal_item:nth-child(even) {
    --goal_offset: 1.2rem;
  }
  .co_goal_item:nth-child(1) {
    --goal_size: 78%;
  }
  .co_goal_item:nth-child(2) {
    --goal_size: 72%;
  }
  .co_goal_item:nth-child(3) {
    --goal_size: 75%;
  }
  .co_goal_item:nth-child(4) {
    --goal_size: 71%;
  }
  .co_goal_item:nth-child(5) {
    --goal_size: 84%; /* 「コミュニティ」が入る大きさ */
  }
  .co_goal_item:nth-child(6) {
    --goal_size: 73%;
  }
  .goal_label {
    font-size: 1.5rem;
    letter-spacing: 0.08em;
  }
  .co_goal::before {
    left: -27rem;
  }
  .co_goal::after {
    right: -27rem;
  }
  .co_goal_note {
    padding: 2rem 2rem 2rem 1.8rem;
    font-size: 1.4rem;
    line-height: 1.9;
  }

  .co_goal_break {
    display: none; /* スマホは幅いっぱい。改行は <wbr> の位置に任せる */
  }

  .co_overview {
    padding: 7rem 1.8rem;
  }
  .co_overview_table {
    margin-top: 3.2rem;
  }
  /* スマホは項目を上、データを下に積む */
  .co_overview_row {
    display: grid;
  }
  .co_overview_th {
    width: auto;
    padding: 1rem 1.6rem;
    font-size: 1.32rem;
  }
  .co_overview_td {
    padding: 1.4rem 1.6rem;
    font-size: 1.38rem;
  }

  .co_contact {
    padding: 6.4rem 1.8rem;
  }
  .co_contact_heading {
    font-size: 2.4rem;
  }
  .co_contact_btn {
    width: 100%;
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  .co_goal::before,
  .co_goal::after {
    animation: none;
  }
  .co_goal_item,
  .goal_bubble::before {
    transition: none;
  }
  .co_goal_list.is_waiting .co_goal_item {
    opacity: 1;
    transform: none;
  }
  /* 動きを止めても、泡は光が差した完成形で見せる */
  .co_goal_list.is_waiting .goal_bubble::before {
    opacity: 1;
    transform: rotate(-28deg) scale(1);
  }
  .co_hero::before {
    animation: none;
  }
  .co_hero_img_frame {
    animation: none;
    clip-path: inset(0 0% 0 0);
  }
  .co_hero_text {
    animation: none;
    opacity: 1;
  }
}
