@charset "UTF-8";

/* 画像は assets/ 内の同名ファイルと差し替えてください。現状はデザイン確認用の仮切り出し画像です。 */

/* サイト共通の色・最大横幅を定義するCSS変数 */

:root {

  --ink: #23364d;

  --muted: #526579;

  --blue: #62b6d7;

  --navy: #163b59;

  --line: #dceaf0;

  --pale: #f3faff;

  --yellow: #f8dc65;

  --max: 1180px;

}

/* すべての要素でパディングと枠線を幅・高さに含める */

* {

  box-sizing: border-box;

}

/* ページ内リンクのスクロールと固定ヘッダー分の余白 */

html {

  scroll-behavior: smooth;

  scroll-padding-top: 92px;

}

/* ページ全体の余白・基本文字色・日本語フォント・行間 */

body {

  margin: 0;

  background: #fff;

  color: var(--ink);

  font-family: "Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;

  line-height: 1.8;

  -webkit-font-smoothing: antialiased;

}

/* 画像のはみ出し防止と不要な下部余白の解消 */

img {

  max-width: 100%;

  display: block;

}

/* リンクの文字色を親要素から引き継ぐ */

a {

  color: inherit;

}

/* キーボード操作で選択中のリンクを強調 */

a:focus-visible {

  outline: 3px solid var(--blue);

  outline-offset: 4px;

}

/* 全セクション共通の最大幅と左右余白 */

.container {

  width: min(calc(100% - 64px),var(--max));

  margin-inline: auto;

}

/* サイト上部のヘッダー（スクロール時の固定表示） */

.site-header {

  background: #fff;

  border-bottom: 1px solid #eef2f5;

  position: sticky;

  top: 0;

  z-index: 20;

}

/* ヘッダー内のロゴとメニューの横並び配置 */

.header-inner {

  min-height: 76px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 24px;

}

/* 会社名とロゴを横に並べるリンク */

.brand {

  display: flex;

  gap: 12px;

  align-items: center;

  text-decoration: none;

  font-weight: 700;

  letter-spacing: .06em;

  white-space: nowrap;

}

/* 三角形＋星のロゴ全体の表示枠 */

.brand-symbol {

  position: relative;

  display: block;

  width: 33px;

  height: 36px;

  flex-shrink: 0;

}

/* ロゴの三角形部分の形状と配色 */

.brand-triangle {

  position: absolute;

  bottom: 1px;

  left: 3px;

  width: 29px;

  height: 24px;

  background: linear-gradient(135deg,#e9f7fc,#76b8df);

  clip-path: polygon(50% 0,100% 100%,0 100%);

  border-bottom: 2px solid var(--navy);

}

/* ロゴの星部分の配置と配色 */

.brand-star {

  position: absolute;

  top: -7px;

  left: 12px;

  font-size: 13px;

  color: #e3b92d;

  z-index: 1;

}

/* メインナビゲーションの配置と項目間隔 */

.site-nav {

  display: flex;

  gap: clamp(12px,1.7vw,25px);

  align-items: center;

  flex-wrap: wrap;

}

/* メインメニューのリンク文字・装飾 */

.site-nav a {

  text-decoration: none;

  font-size: 12px;

  font-weight: 700;

  white-space: nowrap;

}

/* メニューにマウスを合わせたときの文字色／本文テキストリンクのホバー時の文字色 */

.site-nav a:hover,.text-link:hover {

  color: #168bb8;

}

/* メインビジュアルセクション全体の背景・はみ出し制御 */

.hero {

  overflow: hidden;

  background: linear-gradient(180deg,#fff 68%,#fafdff 100%);

}

/* メインビジュアル内の文章・画像の基本配置 */

.hero-inner {

  display: grid;

  grid-template-columns: 40% 60%;

  align-items: center;

  min-height: 460px;

}

/* メインビジュアル内の文字部分の余白と重なり順 */

.hero-copy {

  position: relative;

  z-index: 1;

  padding: 45px 0;

}

/* メインビジュアルなどの小さな英語見出し／各セクションに添える英語の小見出し */

.eyebrow,.en {

  display: block;

  font-size: 11px;

  letter-spacing: .2em;

  font-weight: 700;

  color: #46a9d0;

}

/* メインビジュアルのキャッチコピーの書体・サイズ・行間 */

.hero h1 {

  font-family: "Yu Mincho","Hiragino Mincho ProN",serif;

  font-size: clamp(27px,3.4vw,47px);

  font-weight: 500;

  letter-spacing: .055em;

  line-height: 1.65;

  margin: 18px 0;

}

/* メインビジュアルのリード文 */

.hero-lead {

  font-size: 14px;

  line-height: 2;

}

/* メインビジュアルの画像枠・背景画像の基本設定 */

.hero-art {

  height: 440px;

  margin-right: -10%;

  background: url("assets/hero.webp") no-repeat right center;

  background-size: contain;

}

/* 各セクション共通の上下余白とスクロール位置 */

.section {

  padding: 54px 0;

  scroll-margin-top: 88px;

}

/* セクション見出し全体の伸縮制御 */

.section-heading {

  flex: none;

}

/* 各セクションの日本語見出しの書体・大きさ */

.section-heading h2 {

  font-family: "Yu Mincho","Hiragino Mincho ProN",serif;

  font-size: clamp(24px,2.3vw,31px);

  font-weight: 600;

  letter-spacing: .09em;

  margin: 3px 0 0;

}

/* 「私たちについて」セクションの背景と上下余白 */

.about {

  background: linear-gradient(90deg,#f4fbff 0%,#fff 72%);

}

/* 「私たちについて」の内部レイアウト */

.about-inner {

  display: grid;

  grid-template-columns: 190px 1fr 235px;

  gap: 35px;

  align-items: center;

}

/* 「私たちについて」の小見出しの文字サイズ */

.about-copy h3 {

  font-size: 14px;

  margin: 0 0 7px;

}

/* 「私たちについて」の本文の基本設定 */

.about-copy p {

  margin: 0;

  font-size: 14px;

}

/* 旧構造の「私たちについて」の背景イラスト枠 */

.about-art {

  height: 120px;

  background: url("assets/about.webp") center / contain no-repeat;

}

/* 「私たちの仕事」4カードのグリッド配置 */

.value-grid {

  display: grid;

  grid-template-columns: repeat(4,minmax(0,1fr));

  gap: 14px;

  margin-top: 22px;

}

/* 「私たちの仕事」の各カードの枠・余白・背景 */

.value-card {

  border: 1px solid var(--line);

  border-radius: 12px;

  padding: 18px 18px 21px;

  background: #fff;

}

/* 各価値カードの番号と見出しの横並び配置 */

.value-top {

  display: flex;

  align-items: center;

  gap: 12px;

}

/* 「伝える」など各価値カードの見出し */

.value-top h3 {

  font-size: 18px;

  letter-spacing: .08em;

  margin: 0;

}

/* 各価値カードの丸い番号アイコン */

.number {

  display: grid;

  place-items: center;

  border-radius: 50%;

  background: var(--blue);

  color: white;

  font-size: 14px;

  font-weight: 700;

  width: 39px;

  height: 39px;

  flex-shrink: 0;

}

/* 「私たちの仕事」のイラスト共通表示設定 */

.value-art {

  height: 150px;

  background-repeat: no-repeat;

  background-size: contain;

  background-position: center;

}

/* 「伝える」の背景イラスト */

.value-art-1 {

  background-image: url("assets/value-1.webp");

}

/* 「場をつくる」の背景イラスト */

.value-art-2 {

  background-image: url("assets/value-2.webp");

}

/* 「発信する」の背景イラスト */

.value-art-3 {

  background-image: url("assets/value-3.webp");

}

/* 「支える」の背景イラスト */

.value-art-4 {

  background-image: url("assets/value-4.webp");

}

/* 「私たちの仕事」のカード内説明文 */

.value-card p {

  font-size: 12px;

  margin: 6px 0 0;

  line-height: 1.85;

}

/* 「事業内容」セクションの上余白 */

.business {

  padding-top: 30px;

}

/* 2種類の事業カードの横並びグリッド */

.business-grid {

  display: grid;

  grid-template-columns: repeat(2,minmax(0,1fr));

  gap: 20px;

  margin-top: 22px;

}

/* 事業カードの共通サイズ・角丸・基本レイアウト */

.business-card {

  border-radius: 14px;

  min-height: 280px;

  display: grid;

  grid-template-columns: 45% 55%;

  overflow: hidden;

}

/* クリエイティブ事業カードの背景設定 */

.business-card.creative {

  background: #fffbf0;

}

/* 自社メディア事業カードの背景設定 */

.business-card.media {

  background: #edfaff;

}

/* 事業カード内の見出し・文章を収める領域 */

.business-copy {

  padding: 25px 0 25px 27px;

  position: relative;

  z-index: 1;

}

/* 事業カードの見出し書体・サイズ */

.business-copy h3 {

  font-family: "Yu Mincho","Hiragino Mincho ProN",serif;

  font-size: 24px;

  line-height: 1.4;

  margin: 0 0 10px;

}

/* 事業カードの説明文 */

.business-copy p {

  font-size: 12px;

  line-height: 1.9;

}

/* 事業カード内のテキストリンク */

.text-link {

  font-weight: 700;

  text-underline-offset: 4px;

}

/* 旧構造の事業カード内イラスト表示領域 */

.business-art {

  background-size: contain;

  background-repeat: no-repeat;

  background-position: center bottom;

}

/* 旧構造のクリエイティブ事業イラスト */

.business-art-creative {

  background-image: url("assets/business-creative.webp");

}

/* 旧構造の自社メディア事業イラスト */

.business-art-media {

  background-image: url("assets/business-media.webp");

}

/* 「WHAT WE DO」セクションの上余白 */

.services {

  padding-top: 30px;

}

/* WHAT WE DOと日本語サブタイトル */
#services-title {
  line-height: 1.3;
}

#services-title span {
  display: block;
  margin-top: 5px;
  font-size: 16px;
  line-height: 1.5;
}

/* 制作・対応領域カードを並べるグリッド */

.services-grid {

  display: grid;

  grid-template-columns: repeat(4,minmax(0,1fr));

  gap: 12px;

  margin-top: 23px;

}

/* 制作・対応領域の各カードの枠・背景・余白 */

.service {

  border: 1px solid var(--line);

  border-radius: 10px;

  padding: 16px;

  background: linear-gradient(135deg,#fff,#f8fcff);

}

/* 旧構造の制作項目アイコン表示枠 */

.service-icon {

  display: inline-grid;

  place-items: center;

  width: 38px;

  height: 38px;

  border-radius: 50%;

  color: #3987ae;

  background: #e8f5fb;

  font-size: 24px;

  margin-bottom: 7px;

}

/* 制作項目の見出し */

.service h3 {

  margin: 0 0 4px;

  font-size: 14px;

}

/* 制作項目の説明文 */

.service p {

  font-size: 12px;

  color: var(--muted);

  margin: 0;

}

/* 会社概要セクションの境界線・上下余白 */

.company {

  border-top: 1px solid #e8f0f4;

  padding-top: 42px;

  padding-bottom: 40px;

}

/* 会社概要の見出しと情報欄の配置 */

.company-inner {

  display: grid;

  grid-template-columns: 200px 1fr;

  gap: 35px;

}

/* 会社概要の項目一覧全体 */

.company-list {

  margin: 0;

}

/* 会社概要の項目名と値を並べる行 */

.company-list>div {

  display: grid;

  grid-template-columns: 170px 1fr;

  border-bottom: 1px solid var(--line);

  padding: 10px 2px;

  gap: 14px;

  font-size: 13px;

}

/* 会社概要の項目名（会社名・所在地など） */

.company-list dt {

  font-weight: 700;

}

/* 会社概要の項目内容 */

.company-list dd {

  margin: 0;

}

/* お問い合わせセクション全体の枠線・上下余白 */

.contact {

  border-top: 1px solid var(--line);

  padding: 40px 0;

  background: #fff;

}

/* お問い合わせの見出し・説明・ボタンの配置 */

.contact-inner {

  display: flex;

  gap: 32px;

  align-items: center;

  justify-content: space-between;

}

/* お問い合わせの説明文 */

.contact-inner p {

  font-size: 13px;

  margin: 0;

  flex: 1;

}

/* お問い合わせボタンの外観 */

.contact-button {

  border-radius: 50px;

  background: #46add0;

  color: #fff;

  font-weight: 700;

  text-decoration: none;

  padding: 13px 38px;

  min-width: 220px;

  text-align: center;

  transition: background .2s;

}

/* お問い合わせボタンのホバー時の背景色 */

.contact-button:hover {

  background: #247ca1;

}

/* お問い合わせボタン内の矢印の間隔 */

.contact-button span {

  padding-left: 17px;

}

/* ページ最下部フッターの余白・区切り線 */

.site-footer {

  padding: 18px 0;

  border-top: 1px solid #e9f0f4;

}

/* フッターの著作権表示とページトップリンクの配置 */

.site-footer .container {

  display: flex;

  justify-content: space-between;

  align-items: center;

  gap: 16px;

}

/* フッターの著作権表記／フッターのページトップリンク */

.site-footer small,.site-footer a {

  font-size: 11px;

  text-decoration: none;

  color: #687988;

}

/* @media (max-width:1020px)：条件に応じたレイアウト調整 */

@media (max-width:1020px) {

  /* 全セクション共通の最大幅と左右余白（(max-width:1020px)での調整） */
  .container {
    width: min(calc(100% - 40px),var(--max));
  }
  /* ヘッダー内のロゴとメニューの横並び配置（(max-width:1020px)での調整） */
  .header-inner {
    align-items: flex-start;
    padding: 16px 0;
    flex-wrap: wrap;
  }
  /* メインナビゲーションの配置と項目間隔（(max-width:1020px)での調整） */
  .site-nav {
    gap: 15px;
  }
  /* メインビジュアル内の文章・画像の基本配置（(max-width:1020px)での調整） */
  .hero-inner {
    grid-template-columns: 44% 56%;
    min-height: 380px;
  }
  /* メインビジュアルの画像枠・背景画像の基本設定（(max-width:1020px)での調整） */
  .hero-art {
    height: 330px;
  }
  /* 「私たちについて」の内部レイアウト（(max-width:1020px)での調整） */
  .about-inner {
    grid-template-columns: 160px 1fr;
    gap: 24px;
  }
  /* 旧構造の「私たちについて」の背景イラスト枠（(max-width:1020px)での調整） */
  .about-art {
    display: none;
  }
  /* 「私たちの仕事」4カードのグリッド配置（(max-width:1020px)での調整） */
  .value-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  /* 「私たちの仕事」のイラスト共通表示設定（(max-width:1020px)での調整） */
  .value-art {
    height: 180px;
  }
  /* 事業カードの共通サイズ・角丸・基本レイアウト（(max-width:1020px)での調整） */
  .business-card {
    grid-template-columns: 55% 45%;
  }
  /* 事業カード内の見出し・文章を収める領域（(max-width:1020px)での調整） */
  .business-copy {
    padding-left: 19px;
  }
  /* 事業カードの見出し書体・サイズ（(max-width:1020px)での調整） */
  .business-copy h3 {
    font-size: 20px;
  }
  /* 制作・対応領域カードを並べるグリッド（(max-width:1020px)での調整） */
  .services-grid {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }
  /* 会社概要の見出しと情報欄の配置（(max-width:1020px)での調整） */
  .company-inner {
    grid-template-columns: 160px 1fr;
  }

}

/* @media (max-width:640px)：条件に応じたレイアウト調整 */

@media (max-width:640px) {

  /* ページ内リンクのスクロールと固定ヘッダー分の余白（(max-width:640px)での調整） */
  html {
    scroll-padding-top: 120px;
  }
  /* 全セクション共通の最大幅と左右余白（(max-width:640px)での調整） */
  .container {
    width: calc(100% - 34px);
  }
  /* サイト上部のヘッダー（スクロール時の固定表示）（(max-width:640px)での調整） */
  .site-header {
    position: relative;
  }
  /* ヘッダー内のロゴとメニューの横並び配置（(max-width:640px)での調整） */
  .header-inner {
    gap: 9px;
    min-height: auto;
    padding: 11px 0 13px;
  }
  /* 会社名とロゴを横に並べるリンク（(max-width:640px)での調整） */
  .brand {
    font-size: 15px;
  }
  /* メインナビゲーションの配置と項目間隔（(max-width:640px)での調整） */
  .site-nav {
    width: 100%;
    gap: 0;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 3px;
    scrollbar-width: thin;
  }
  /* メインメニューのリンク文字・装飾（(max-width:640px)での調整） */
  .site-nav a {
    padding: 5px 12px 5px 0;
    font-size: 11px;
  }
  /* メインビジュアル内の文章・画像の基本配置（(max-width:640px)での調整） */
  .hero-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
  }
  /* メインビジュアル内の文字部分の余白と重なり順（(max-width:640px)での調整） */
  .hero-copy {
    padding: 33px 0 5px;
  }
  /* メインビジュアルのキャッチコピーの書体・サイズ・行間（(max-width:640px)での調整） */
  .hero h1 {
    font-size: clamp(27px,7.8vw,39px);
    margin: 12px 0;
font-weight: 700;
  }
  /* メインビジュアルのリード文（(max-width:640px)での調整） */
  .hero-lead {
    font-size: 12px;
  }
  /* PCのみで表示する改行などの要素（(max-width:640px)での調整） */
  .desktop-only {
    display: none;
  }
  /* メインビジュアルの画像枠・背景画像の基本設定（(max-width:640px)での調整） */
  .hero-art {
    width: 110%;
    margin: 0 -5% 0 auto;
    height: 235px;
    background-position: center bottom;
  }
  /* 各セクション共通の上下余白とスクロール位置（(max-width:640px)での調整） */
  .section {
    padding: 39px 0;
  }
  /* 「私たちについて」の内部レイアウト（(max-width:640px)での調整） */
  .about-inner {
    display: block;
  }
  /* 「.about-copy」の表示・配置設定（(max-width:640px)での調整） */
  .about-copy {
    margin-top: 14px;
  }
  /* 「私たちについて」の本文の基本設定（(max-width:640px)での調整） */
  .about-copy p {
    font-size: 13px;
  }
  /* 「私たちの仕事」4カードのグリッド配置（(max-width:640px)での調整） */
  .value-grid {
    gap: 10px;
    margin-top: 16px;
  }
  /* 「私たちの仕事」の各カードの枠・余白・背景（(max-width:640px)での調整） */
  .value-card {
    padding: 13px 11px;
  }
  /* 各価値カードの番号と見出しの横並び配置（(max-width:640px)での調整） */
  .value-top {
    gap: 7px;
  }
  /* 「伝える」など各価値カードの見出し（(max-width:640px)での調整） */
  .value-top h3 {
    font-size: 15px;
  }
  /* 各価値カードの丸い番号アイコン（(max-width:640px)での調整） */
  .number {
    width: 30px;
    height: 30px;
    font-size: 11px;
  }
  /* 「私たちの仕事」のイラスト共通表示設定（(max-width:640px)での調整） */
  .value-art {
    height: 112px;
  }
  /* 「私たちの仕事」のカード内説明文（(max-width:640px)での調整） */
  .value-card p {
    font-size: 11px;
    line-height: 1.75;
  }
  /* 「事業内容」セクションの上余白／「WHAT WE DO」セクションの上余白（(max-width:640px)での調整） */
  .business,.services {
    padding-top: 21px;
  }
  /* 2種類の事業カードの横並びグリッド（(max-width:640px)での調整） */
  .business-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  /* 事業カードの共通サイズ・角丸・基本レイアウト（(max-width:640px)での調整） */
  .business-card {
    min-height: 220px;
    grid-template-columns: 49% 51%;
  }
  /* 事業カード内の見出し・文章を収める領域（(max-width:640px)での調整） */
  .business-copy {
    padding: 20px 0 20px 17px;
  }
  /* 事業カードの見出し書体・サイズ（(max-width:640px)での調整） */
  .business-copy h3 {
    font-size: 20px;
  }
  /* 事業カードの説明文（(max-width:640px)での調整） */
  .business-copy p {
    font-size: 12px;
  }
  /* 制作・対応領域カードを並べるグリッド（(max-width:640px)での調整） */
  .services-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 9px;
  }
  /* 制作・対応領域の各カードの枠・背景・余白（(max-width:640px)での調整） */
  .service {
    padding: 12px;
  }
  /* 制作項目の見出し（(max-width:640px)での調整） */
  .service h3 {
    font-size: 13px;
  }
  /* 制作項目の説明文（(max-width:640px)での調整） */
  .service p {
    font-size: 11px;
  }
  /* 会社概要の見出しと情報欄の配置（(max-width:640px)での調整） */
  .company-inner {
    display: block;
  }
  /* 会社概要の項目一覧全体（(max-width:640px)での調整） */
  .company-list {
    margin-top: 18px;
  }
  /* 会社概要の項目名と値を並べる行（(max-width:640px)での調整） */
  .company-list>div {
    grid-template-columns: 92px 1fr;
    gap: 10px;
    font-size: 12px;
  }
  /* お問い合わせの見出し・説明・ボタンの配置（(max-width:640px)での調整） */
  .contact-inner {
    display: block;
  }
  /* お問い合わせの説明文（(max-width:640px)での調整） */
  .contact-inner p {
    margin: 12px 0 18px;
  }
  /* お問い合わせボタンの外観（(max-width:640px)での調整） */
  .contact-button {
    display: block;
    width: 100%;
  }
  /* フッターの著作権表示とページトップリンクの配置（(max-width:640px)での調整） */
  .site-footer .container {
    align-items: flex-start;
  }
  /* フッターのページトップリンク（(max-width:640px)での調整） */
  .site-footer a {
    white-space: nowrap;
  }

}

/* @media (max-width:380px)：条件に応じたレイアウト調整 */

@media (max-width:380px) {

  /* 「私たちの仕事」4カードのグリッド配置（(max-width:380px)での調整） */
  .value-grid {
    grid-template-columns: 1fr;
  }
  /* 「私たちの仕事」のイラスト共通表示設定（(max-width:380px)での調整） */
  .value-art {
    height: 170px;
  }
  /* 制作・対応領域カードを並べるグリッド（(max-width:380px)での調整） */
  .services-grid {
    grid-template-columns: 1fr;
  }
  /* 事業カードの共通サイズ・角丸・基本レイアウト（(max-width:380px)での調整） */
  .business-card {
    grid-template-columns: 55% 45%;
  }
  /* 事業カードの見出し書体・サイズ（(max-width:380px)での調整） */
  .business-copy h3 {
    font-size: 18px;
  }

}

/* @media (prefers-reduced-motion:reduce)：条件に応じたレイアウト調整 */

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

  /* ページ内リンクのスクロールと固定ヘッダー分の余白（(prefers-reduced-motion:reduce)での調整） */
  html {
    scroll-behavior: auto;
  }

}

/* =====================================================
   私たちについて：中央配置・左右イラスト（2026-10-15改訂）
   ===================================================== */

/* 「私たちについて」セクションの背景と上下余白 */

.about {

  padding: 32px 0 30px;

  background: #fff;

  overflow: hidden;

}

/* 中央テキストを左右のイラストで挟む3カラム配置 */

.about .about-inner {

  display: grid;
  grid-template-columns: minmax(100px, 1fr) minmax(0, 655px) minmax(100px, 1fr);
  gap: 20px;
  align-items: center;

}

/* 「私たちについて」の中央の文章エリア */

.about-content {

  min-width: 0;

  text-align: center;

}

/* 中央見出しと左右の飾り線の横並び */

.about-heading {

  display: flex;

  justify-content: center;

  align-items: center;

  gap: 22px;

}

/* 「私たちについて」見出し左側の飾り線／「私たちについて」見出し右側の飾り線 */

.about-heading::before,
.about-heading::after {

  content: "";

  width: 65px;

  height: 1px;

  background: #80d5ec;

  flex: 0 1 65px;

}

/* 中央見出しの文字サイズと折り返し制御 */

.about-heading h2 {

  margin: 0;

  font-size: clamp(23px, 2.2vw, 30px);

  line-height: 1.5;

  white-space: nowrap;

}

/* 「私たちについて」中央説明文の上余白 */

.about .about-copy {

  margin: 13px 0 0;

}

/* 「私たちについて」中央説明文の文字設定 */

.about .about-copy p {

  font-size: 14px;

  line-height: 1.95;

  margin: 0;

}

/* 「私たちについて」左右イラストの共通枠 */

.about-decoration {

  height: 150px;

  width: 100%;

  background-repeat: no-repeat;

  background-size: contain;

}

/* 「私たちについて」左側の背景イラスト */

.about-decoration-left {

  background-image: url("assets/about-left.webp");

  background-position: left center;

}

/* 「私たちについて」右側の背景イラスト */

.about-decoration-right {

  background-image: url("assets/about-right.webp");

  background-position: right center;

}

/* @media (max-width: 1020px)：条件に応じたレイアウト調整 */

@media (max-width: 1020px) {

  /* 中央テキストを左右のイラストで挟む3カラム配置（(max-width: 1020px)での調整） */
  .about .about-inner {
    grid-template-columns: minmax(95px, 1fr) minmax(0, 520px) minmax(95px, 1fr);
    gap: 10px;
  }
  /* 「私たちについて」左右イラストの共通枠（(max-width: 1020px)での調整） */
  .about-decoration {
    height: 120px;
    display: block;
  }
  /* 「私たちについて」中央説明文の文字設定（(max-width: 1020px)での調整） */
  .about .about-copy p {
    font-size: 13px;
  }

}

/* @media (max-width: 640px)：条件に応じたレイアウト調整 */

@media (max-width: 640px) {

  /* 「私たちについて」セクションの背景と上下余白（(max-width: 640px)での調整） */
  .about {
    padding: 33px 0;
  }
  /* 中央テキストを左右のイラストで挟む3カラム配置（(max-width: 640px)での調整） */
  .about .about-inner {
    display: block;
    position: relative;
  }
  /* 「私たちについて」の中央の文章エリア（(max-width: 640px)での調整） */
  .about-content {
    position: relative;
    z-index: 1;
  }
  /* 中央見出しと左右の飾り線の横並び（(max-width: 640px)での調整） */
  .about-heading {
    gap: 10px;
  }
  /* 「私たちについて」見出し左側の飾り線／「私たちについて」見出し右側の飾り線（(max-width: 640px)での調整） */
  .about-heading::before, .about-heading::after {
    flex-basis: 34px;
  }
  /* 中央見出しの文字サイズと折り返し制御（(max-width: 640px)での調整） */
  .about-heading h2 {
    font-size: 23px;
  }
  /* 「私たちについて」中央説明文の上余白（(max-width: 640px)での調整） */
  .about .about-copy {
    margin-top: 12px;
  }
  /* 「私たちについて」中央説明文の文字設定（(max-width: 640px)での調整） */
  .about .about-copy p {
    font-size: 13px;
  }
  /* 「私たちについて」左右イラストの共通枠（(max-width: 640px)での調整） */
  .about-decoration {
    display: none;
  }

}

/* =========================================================
   メインビジュアル：文字と背景画像を独立配置
   イラストを狭いカラムに押し込まず、セクション全体に配置する。
   画像ファイル：assets/hero.webp
   ========================================================= */

/* メインビジュアル全体：背景画像の位置決め基準 */

/* メインビジュアルセクション全体の背景・はみ出し制御 */

.hero {

  position: relative;

  isolation: isolate;

  overflow: hidden;

  background: #fff;

}

/* 背景イラスト：文字に重ならないよう左端を少しフェード */

/* 文字とは独立してメインビジュアル全体に重ねる背景画像 */

.hero > .hero-art {

  position: absolute;

  z-index: 0;

  top: 0;

  right: 180px;

  width: min(72vw, 990px);

  height: 100%;

  margin: 0;

  background-image: url("assets/hero.webp");

  background-repeat: no-repeat;

  background-position: right center;

  background-size: contain;

  pointer-events: none;

  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 19%);

  mask-image: linear-gradient(to right, transparent 0%, #000 19%);

}

/* 文字用の外枠：背景画像と別レイヤーにする */

/* 背景画像の上に配置する文字領域のレイアウト */

.hero .hero-inner {

  position: relative;

  z-index: 1;

  display: flex;

  align-items: center;

  min-height: 460px;

}

/* 文字領域：カラム割合に制限されない幅 */

/* メインキャッチコピーの幅と上下余白 */

.hero .hero-copy {

  width: min(100%, 690px);

  padding: 45px 0;

}

/* キャッチコピー：PCでは2行目を分割しない */

/* メインビジュアルのキャッチコピーの書体・サイズ・行間 */

.hero h1 {

  font-size: clamp(30px, 3.05vw, 43px);

  letter-spacing: .035em;

  line-height: 1.7;

}

/* キャッチコピー2行目の途中改行の制御 */

.hero-title-second {

  white-space: nowrap;

}

/* ノートPC・タブレット：画像の重なりと文字サイズを調整 */

/* @media (max-width: 1100px)：条件に応じたレイアウト調整 */

@media (max-width: 1100px) {

  /* 文字とは独立してメインビジュアル全体に重ねる背景画像（(max-width: 1100px)での調整） */
  .hero > .hero-art {
    width: 76vw;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 32%);
    mask-image: linear-gradient(to right, transparent 0%, #000 32%);
  }
  /* メインビジュアルのキャッチコピーの書体・サイズ・行間（(max-width: 1100px)での調整） */
  .hero h1 {
    font-size: clamp(28px, 3.4vw, 36px);
  }

}

/* スマートフォン：文字の下にイラストを横幅いっぱいで表示 */

/* @media (max-width: 640px)：条件に応じたレイアウト調整 */

@media (max-width: 640px) {

  /* 背景画像の上に配置する文字領域のレイアウト（(max-width: 640px)での調整） */
  .hero .hero-inner {
    display: block;
    min-height: 0;
  }
  /* メインキャッチコピーの幅と上下余白（(max-width: 640px)での調整） */
  .hero .hero-copy {
    width: 100%;
    padding: 32px 0 10px;
  }
  /* メインビジュアルのキャッチコピーの書体・サイズ・行間（(max-width: 640px)での調整） */
  .hero h1 {
    font-size: clamp(25px, 6.5vw, 35px);
  }
  /* キャッチコピー2行目の途中改行の制御（(max-width: 640px)での調整） */
  .hero-title-second {
    white-space: normal;
  }
  /* 文字とは独立してメインビジュアル全体に重ねる背景画像（(max-width: 640px)での調整） */
  .hero > .hero-art {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    height: clamp(220px, 52vw, 340px);
    margin: 0 auto;
    background-position: center center;
    background-size: contain;
    -webkit-mask-image: none;
    mask-image: none;
  }

}

/* =========================================================
   事業内容：カード全体を背景画像にする（2枚目の参考レイアウト）
   画像は assets/business-creative.webp、business-media.webp
   HTMLの文章を前面に置き、背景画像の上に表示する。
   ========================================================= */

/* 2つの事業カードの共通設定 */

/* 事業カードの共通サイズ・角丸・基本レイアウト */

.business-card {

  position: relative;

  display: block;

  min-height: 245px;

  overflow: hidden;

  border-radius: 14px;

  background-repeat: no-repeat;

  background-position: right bottom;

  background-size: auto 100%;

}

/* クリエイティブ事業：背景画像 */

/* クリエイティブ事業カードの背景設定 */

.business-card.creative {

  background-color: #fffbf0;

  background-image: url("assets/business-creative.webp");

}

/* 自社メディア事業：背景画像 */

/* 自社メディア事業カードの背景設定 */

.business-card.media {

  background-color: #edfaff;

  background-image: url("assets/business-media.webp");

}

/* 見出しと説明文を左上に重ねる */

/* 事業カードの背景画像の手前に置くテキスト枠 */

.business-card .business-copy {

  position: relative;

  z-index: 1;

  box-sizing: border-box;

  width: min(57%, 300px);

  padding: 22px 0 18px 27px;

}

/* 見出しの調整 */

/* 背景画像付き事業カードの見出し */

.business-card .business-copy h3 {

  margin: 0 0 8px;

}

/* 長い説明文の改行を許可 */

/* 背景画像付き事業カードの説明文の折り返し */

.business-card .business-copy p {

  overflow-wrap: anywhere;

}

/* 今回は画像用の子要素を使わないため、残存時も非表示 */

/* 旧イラスト子要素を非表示にして背景画像方式に統一 */

.business-card .business-art {

  display: none;

}

/* タブレット：カードと文章領域を調整 */

/* @media (max-width: 1020px)：条件に応じたレイアウト調整 */

@media (max-width: 1020px) {

  /* 事業カードの共通サイズ・角丸・基本レイアウト（(max-width: 1020px)での調整） */
  .business-card {
    min-height: 245px;
    background-size: auto 88%;
  }
  /* 事業カードの背景画像の手前に置くテキスト枠（(max-width: 1020px)での調整） */
  .business-card .business-copy {
    width: 61%;
    padding: 20px 0 16px 20px;
  }

}

/* スマートフォン：上下にカードを並べて背景画像は下方へ */

/* @media (max-width: 640px)：条件に応じたレイアウト調整 */

@media (max-width: 640px) {

  /* 事業カードの共通サイズ・角丸・基本レイアウト（(max-width: 640px)での調整） */
  .business-card {
    min-height: 225px;
    background-size: auto 76%;
    background-position: right bottom;
  }
  /* 事業カードの背景画像の手前に置くテキスト枠（(max-width: 640px)での調整） */
  .business-card .business-copy {
    width: 67%;
    padding: 18px 0 14px 18px;
  }

}

/* 小型スマートフォン：さらに画像を少し縮小 */

/* @media (max-width: 380px)：条件に応じたレイアウト調整 */

@media (max-width: 380px) {

  /* 事業カードの共通サイズ・角丸・基本レイアウト（(max-width: 380px)での調整） */
  .business-card {
    min-height: 235px;
    background-size: auto 68%;
  }
  /* 事業カードの背景画像の手前に置くテキスト枠（(max-width: 380px)での調整） */
  .business-card .business-copy {
    width: 73%;
  }

}

/* =========================================================
   WHAT WE DO：横長カード・イラスト左／文章右
   イラストは assets/service-*.webp を差し替えてください。
   ========================================================= */

/* 制作項目一覧：PCでは5列 */

/* WHAT WE DO の制作項目カードの列数・間隔 */

.services .services-grid {

  display: grid;

  grid-template-columns: repeat(5, minmax(0, 1fr));

  gap: 12px;

  margin-top: 23px;

}

/* 各項目のカード：左にイラスト、右に説明文 */

/* WHAT WE DO の横長カード（イラスト左・文章右） */

.services .service {

  display: flex;

  align-items: center;

  gap: 9px;

  min-width: 0;

  min-height: 112px;

  padding: 12px 10px;

  border: 1px solid var(--line);

  border-radius: 10px;

  background: #fff;

}

/* イラスト共通設定：画像全体を切らずに表示 */

/* WHAT WE DO 各カードのイラスト表示枠 */

.services .service-art {

  flex: 0 0 63px;

  width: 63px;

  height: 72px;

  background-repeat: no-repeat;

  background-position: center;

  background-size: contain;

}

/* 見出し・説明文を格納する領域 */

/* WHAT WE DO 各カードの文章領域 */

.services .service-copy {

  flex: 1;

  min-width: 0;

}

/* 各カードの見出し */

/* WHAT WE DO 各カードの項目見出し */

.services .service-copy h3 {

  margin: 0 0 5px;

  font-size: 13px;

  line-height: 1.45;

}

/* 各カードの説明文 */

/* WHAT WE DO 各カードの説明文 */

.services .service-copy p {

  margin: 0;

  color: var(--muted);

  font-size: 10.5px;

  line-height: 1.75;

  overflow-wrap: anywhere;

}

/* 紙媒体のイラスト */

/* 紙媒体の背景イラスト */

.service-paper .service-art {

  background-image: url("assets/service-paper.webp");

}

/* 布媒体のイラスト */

/* 布媒体の背景イラスト */

.service-fabric .service-art {

  background-image: url("assets/service-fabric.webp");

}

/* ウェブ媒体のイラスト */

/* ウェブ媒体の背景イラスト */

.service-web .service-art {

  background-image: url("assets/service-web.webp");

}

/* パッケージのイラスト */

/* パッケージの背景イラスト */

.service-package .service-art {

  background-image: url("assets/service-package.webp");

}

/* 看板・サインのイラスト */

/* 看板・サインの背景イラスト */

.service-sign .service-art {

  background-image: url("assets/service-sign.webp");

}

/* 文章・コンテンツのイラスト */

/* 文章・コンテンツの背景イラスト */

.service-writing .service-art {

  background-image: url("assets/service-writing.webp");

}

/* 運用・サポートのイラスト */

/* 運用・サポートの背景イラスト */

.service-support .service-art {

  background-image: url("assets/service-support.webp");

}

/* タブレット：3列 */

/* @media (max-width: 1100px)：条件に応じたレイアウト調整 */

@media (max-width: 1100px) {

  /* WHAT WE DO の制作項目カードの列数・間隔（(max-width: 1100px)での調整） */
  .services .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

}

/* 小型タブレット：2列 */

/* @media (max-width: 760px)：条件に応じたレイアウト調整 */

@media (max-width: 760px) {

  /* WHAT WE DO の制作項目カードの列数・間隔（(max-width: 760px)での調整） */
  .services .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

/* スマートフォン：1列でイラストと文章を読みやすく配置 */

/* @media (max-width: 540px)：条件に応じたレイアウト調整 */

@media (max-width: 540px) {

  /* WHAT WE DO の制作項目カードの列数・間隔（(max-width: 540px)での調整） */
  .services .services-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  /* WHAT WE DO の横長カード（イラスト左・文章右）（(max-width: 540px)での調整） */
  .services .service {
    min-height: 96px;
    padding: 10px 14px;
    gap: 15px;
  }
  /* WHAT WE DO 各カードのイラスト表示枠（(max-width: 540px)での調整） */
  .services .service-art {
    flex-basis: 68px;
    width: 68px;
    height: 70px;
  }
  /* WHAT WE DO 各カードの項目見出し（(max-width: 540px)での調整） */
  .services .service-copy h3 {
    font-size: 14px;
  }
  /* WHAT WE DO 各カードの説明文（(max-width: 540px)での調整） */
  .services .service-copy p {
    font-size: 12px;
  }

}

/* ========================================
   スマホ用ハンバーガーメニュー
======================================== */

/* チェックボックスを画面外へ配置 */
.menu-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

/* PC・タブレットではボタンを非表示 */
.menu-button {
  display: none;
}

/* スマートフォン：640px以下 */
@media (max-width: 640px) {

  /* ヘッダーを横並びに配置 */
  .header-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  /* 三本線ボタン */
  .menu-button {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    padding: 10px;
    cursor: pointer;
    margin-left: auto;
    z-index: 30;
  }

  /* 三本線のデザイン */
  .menu-button span {
    display: block;
    width: 100%;
    height: 2px;
    background: #163b59;
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
  }

  /* メニュー本体：初期状態は非表示 */
  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow: visible;
    padding: 12px 0;
    border-top: 1px solid #dceaf0;
  }

  /* メニュー項目 */
  .site-nav a {
    display: block;
    padding: 12px 8px;
    font-size: 14px;
    border-bottom: 1px solid #eef2f5;
  }

  /* チェック時にメニューを開く */
  .menu-toggle:checked ~ .site-nav {
    display: flex;
  }

  /* 開いたとき三本線を×に変更 */
  .menu-toggle:checked + .menu-button span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-toggle:checked + .menu-button span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle:checked + .menu-button span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* キーボード操作時のフォーカス表示 */
  .menu-toggle:focus-visible + .menu-button {
    outline: 2px solid #62b6d7;
    outline-offset: 3px;
  }
}


/* ==========================================
   共通フッター
========================================== */

/* フッター全体 */
.site-footer {
  border-top: 1px solid #e5edf3;
  background: #fff;
}

/* ロゴとフッターメニューの横並び */
.site-footer .footer-main {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

/* フッターのロゴ・会社名 */
.site-footer .footer-brand {
  color: var(--ink);
  font-size: 16px;
}

/* フッターメニュー */
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

/* フッターメニューの各リンク */
.footer-nav a {
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}

/* フッターメニューのホバー色 */
.footer-nav a:hover {
  color: #168bb8;
}

/* コピーライト部分の区切り線 */
.footer-bottom {
  border-top: 1px solid #edf2f5;
}

/* コピーライトの配置 */
.site-footer .footer-bottom-inner {
  display: flex;
  min-height: 43px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* コピーライトの文字 */
.footer-bottom small {
  color: #78889a;
  font-size: 11px;
}

/* ==========================================
   タブレット：1020px以下
========================================== */

@media (max-width: 1020px) {

  /* フッターの折り返し */
  .site-footer .footer-main {
    padding-block: 15px;
    flex-wrap: wrap;
  }

}

/* ==========================================
   スマートフォン：640px以下
========================================== */

@media (max-width: 640px) {

  /* ロゴとメニューを縦並び */
  .site-footer .footer-main {
    display: grid;
    gap: 15px;
    padding: 20px 0;
  }

  /* メニューを2列表示 */
  .footer-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 15px;
  }

  /* コピーライト部分 */
  .site-footer .footer-bottom-inner {
    min-height: 50px;
  }

}
