@charset "UTF-8";
/*
 * 旧デザインの仕上げ（2026-11-03 ユーザー指示「今のデザインは基本変えず、もっと洗練させたデザインに」）
 *
 * - 原本CSS（common.css / index.css / policy.css / legacy-news の news.css）は触らない。
 *   このファイルを原本の「あと」に読み込んで上書きする。戻すときは各HTMLの <link> 1行を外すだけ。
 * - 変えないもの：構成・画像・文言・配色（ティール #2ab6c1 とボタンのグラデーション）。
 * - 変えるもの：影・見出しの線・文字組・余白・表・ボタンの細部・スマホでの見え方。
 * - 動きは足さない（ユーザー選択「見た目の細部だけ」）。ホバーの色や影の変化だけ。
 * - TOPの区切りは section.contents、規約ページは div.contents。TOP用の指定は section に絞って、規約ページへ漏らさない。
 */

:root {
  --rf-ink: #252c41;        /* 原本の文字色 */
  --rf-ink-soft: #4b5368;   /* 本文の地の文。原本の文字色を少し和らげたもの */
  --rf-mute: #7a8294;
  --rf-teal: #2ab6c1;       /* 原本のアクセント */
  --rf-teal-deep: #1f8f99;
  --rf-line: #dfe7ea;
  --rf-tint: #e9f8f9;       /* 原本の面の色 */
  --rf-grad: linear-gradient(#37aeb2, #3871b1); /* 原本のボタン */
}

/* ---------- 共通：文字組 ---------- */
/* 2026-11-03 ユーザー指示で書体を Zen Kaku Gothic New に（原本は Noto Sans JP）。
   配信は各HTMLの Google Fonts の <link>（index / 404 / policy / sitepolicy / single-news-legacy.php の5か所）。
   書体を替えるときは、その5か所とこの行をそろえる。 */
body {
  font-family: "Zen Kaku Gothic New", sans-serif, Meiryo;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "palt" 0;
}
h1, h2, h3 { font-feature-settings: "palt" 1; }
a { transition: opacity .2s, color .2s, background-color .2s, box-shadow .2s, border-color .2s; }

/* ---------- 共通：ヘッダー ---------- */
/* 原本の 20px のぼかし影は重い。細い線とごく薄い影に置き換える */
.header {
  position: relative;
  z-index: 10;
  background: #fff;
  box-shadow: 0 1px 0 rgba(37, 44, 65, .06), 0 6px 20px rgba(37, 44, 65, .04);
}
.header .g-menu ul li { font-size: 1.5rem; letter-spacing: .08em; }
.header .g-menu ul li a { padding: 0 18px; }
.header .g-menu ul li:not(:last-child) a:hover { opacity: 1; color: var(--rf-teal-deep); }
.header .g-menu ul li:last-child a { font-weight: 700; letter-spacing: .1em; }
.header .g-menu ul li:last-child a:hover { opacity: .9; }

/* ---------- 共通：フッター ---------- */
.footer .menu { padding: 28px 0; row-gap: 4px; }
.footer .menu li { font-size: 1.4rem; letter-spacing: .06em; }
.footer .menu li a:hover { opacity: 1; color: var(--rf-teal-deep); }
.footer .copy { font-size: 1.2rem; letter-spacing: .08em; padding: 18px 0; }
.footer .copy p { color: rgba(255, 255, 255, .78); }
.footer .copy ul li:first-child { border-right-color: rgba(255, 255, 255, .4); }
.footer .copy ul li a { color: rgba(255, 255, 255, .78); padding: 0 10px; }
.footer .copy ul li a:hover { opacity: 1; color: #fff; }

/* ---------- TOP：背景の透かし文字 ---------- */
/* 2026-11-03 ユーザー指示「後ろのアフィリエイトっていう文字がいらない」。
   index.css が body の背景に敷く img/index/affiliate.png（左端の縦書き「affiliate」）を外す。
   画像ファイルは残す。背景色は触らない（ニュースのページは body の背景色を使っている） */
body { background-image: none; }

/* ---------- TOP：メインビジュアル（横幅 1920px を超える画面） ---------- */
/* 2026-11-03 ユーザー指摘「バランスおかしくない？」。背景 img/index/mv/bg.png は 1920×490 で、
   原本は中央寄せのまま拡大しない。1920px を超える画面では写真の右端が切れて、右に白い帯が出ていた
   （左は元から白地。透かし文字を外したあとで余白の偏りが目立った）。
   1920px を超えたら、画像を画面幅いっぱいに縦横比のまま拡大し、高さも同じ比率で伸ばす。
   コピー画像（txt.png）の上の余白も同じ比率（74/490）にして、写真との位置関係を保つ。1920px 以下は原本どおり。 */
@media (min-width: 1921px) {
  .mv { background-size: 100% auto; background-position: center top; height: calc(100vw * 490 / 1920); }
  .mv .mv-txt { margin-top: calc(100vw * 74 / 1920); }
}

/* ---------- TOP：セクション見出し ---------- */
/* 原本は 8px の太い帯。線を細く短くして、文字を主役にする */
.mv ~ section.contents { padding: 96px 0; }
section.contents h2 { font-size: 3rem; letter-spacing: .14em; padding-bottom: 26px; }
section.contents h2:after { height: 3px; width: 40px; border-radius: 2px; }
section.contents .text { color: var(--rf-ink-soft); line-height: 2; margin-top: 44px; font-size: 1.6rem; }
section.contents .text span {
  display: inline-block;
  color: var(--rf-ink);
  font-size: 2.2rem;
  letter-spacing: .1em;
  margin-bottom: 10px;
}

/* ---------- TOP：ニュース ---------- */
/* 影の浮いたカードをやめ、上下の罫線で区切る一覧にする */
.contents.news .list { margin-top: 44px; border-top: 1px solid var(--rf-line); }
.contents.news .list li { box-shadow: none; margin-top: 0; border-bottom: 1px solid var(--rf-line); }
.contents.news .list li a {
  background: transparent;
  padding: 24px 48px 24px 8px;
  position: relative;
}
.contents.news .list li a:after {
  content: "";
  position: absolute;
  right: 16px;
  top: calc(50% - 4px);
  width: 7px;
  height: 7px;
  border-top: 1.5px solid var(--rf-teal);
  border-right: 1.5px solid var(--rf-teal);
  transform: rotate(45deg);
  transition: right .2s;
}
.contents.news .list li a:hover { opacity: 1; background: #f7fbfc; }
.contents.news .list li a:hover:after { right: 12px; }
.contents.news .list li a > span { font-size: 1.6rem; line-height: 1.7; }
.contents.news .list li a div { margin-right: 28px; flex-shrink: 0; display: flex; align-items: center; }
.contents.news .list li a div span:first-of-type {
  font-size: 1.5rem;
  color: var(--rf-mute);
  letter-spacing: .08em;
  font-variant-numeric: tabular-nums;
  margin-right: 18px;
}
.contents.news .list li a div span:nth-of-type(2) {
  background: transparent;
  color: var(--rf-teal-deep);
  border: 1px solid var(--rf-teal);
  border-radius: 999px;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 24px;
  width: 92px;
}

/* ---------- TOP：事業内容 ---------- */
.contents.business .list { row-gap: 20px; }
.contents.business .list li { margin-top: 44px; width: 47.5%; }
.contents.business .list li picture img {
  border-radius: 14px;
  box-shadow: 0 14px 32px rgba(31, 90, 110, .10);
}
/* 写真に重なる帯は原本どおり。少し細くして、角を1つだけ丸める */
.contents.business .list li h3 {
  font-size: 2rem;
  letter-spacing: .1em;
  height: 44px;
  line-height: 44px;
  margin-top: -22px;
  padding-left: 24px;
  width: 300px;
  border-radius: 0 10px 0 0;
}
.contents.business .list li p {
  color: var(--rf-ink-soft);
  font-size: 1.6rem;
  line-height: 1.9;
  margin-top: 22px;
}

/* ---------- TOP：企業概要 ---------- */
/* 表を白いカードにまとめ、文字を読める大きさにする（原本は 14px） */
.contents.company table {
  margin-top: 56px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border-collapse: separate;
  border-spacing: 0;
  box-shadow: 0 14px 40px rgba(31, 90, 110, .08);
}
.contents.company table td,
.contents.company table th {
  font-size: 1.5rem;
  line-height: 1.8;
  padding: 20px 28px;
  border-bottom: 1px solid var(--rf-line);
}
.contents.company table th {
  background: #fff;
  color: var(--rf-mute);
  font-weight: 700;
  letter-spacing: .08em;
  width: 190px;
  padding-left: 40px;
  vertical-align: top;
}
.contents.company table td { color: var(--rf-ink); padding-left: 8px; }
.contents.company table .num-list li + li { margin-top: 2px; }
.contents.company table a.blue { color: var(--rf-teal-deep); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* ---------- TOP：お問合せ ---------- */
.contents.contact .button {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: .1em;
  height: 72px;
  line-height: 72px;
  max-width: 440px;
  box-shadow: 0 10px 24px rgba(56, 113, 177, .25);
}
.contents.contact .button:hover { opacity: 1; box-shadow: 0 14px 30px rgba(56, 113, 177, .35); }
.contents.contact .button img { width: 22px; height: auto; }
.contents.contact .time { color: var(--rf-ink-soft); font-size: 1.5rem; letter-spacing: .08em; margin-top: 22px; }

/* ---------- スマホ ---------- */
@media (max-width: 767px) {
  .header { box-shadow: 0 1px 0 rgba(37, 44, 65, .08); }
  .header .g-menu ul li a:hover { color: inherit; }

  .footer .menu { padding: 0; }
  .footer .menu li { font-size: 1.3rem; }
  .footer .copy { font-size: 1.1rem; padding: 14px 0; }

  .mv ~ section.contents { padding: 56px 0; }
  section.contents h2 { font-size: 2.2rem; padding-bottom: 16px; }
  section.contents h2:after { height: 3px; width: 32px; }
  section.contents .text { font-size: 1.4rem; line-height: 1.9; margin-top: 28px; }
  section.contents .text span { display: block; font-size: 1.7rem; }

  .contents.news .list { margin-top: 28px; }
  .contents.news .list li a { padding: 16px 32px 16px 2px; align-items: flex-start; }
  .contents.news .list li a:after { right: 8px; width: 6px; height: 6px; }
  .contents.news .list li a:hover:after { right: 8px; }
  .contents.news .list li a > span { font-size: 1.4rem; line-height: 1.6; }
  .contents.news .list li a div { flex-direction: column; align-items: flex-start; margin-right: 14px; gap: 4px; }
  .contents.news .list li a div span:first-of-type { font-size: 1.2rem; margin-right: 0; }
  .contents.news .list li a div span:nth-of-type(2) { font-size: 1rem; line-height: 18px; width: 58px; }

  .contents.business .list li { margin-top: 32px; width: 100%; }
  .contents.business .list li picture img { border-radius: 10px; }
  .contents.business .list li h3 { font-size: 1.5rem; height: 32px; line-height: 32px; margin-top: -16px; padding-left: 14px; width: 210px; border-radius: 0 8px 0 0; }
  .contents.business .list li p { font-size: 1.4rem; line-height: 1.8; margin-top: 14px; }

  /* 表は「見出しの上に値」の縦積みにして、狭い幅で値が細切れに折り返さないようにする */
  .contents.company table { border: none; margin-top: 28px; border-radius: 12px; }
  .contents.company table,
  .contents.company table tbody,
  .contents.company table tr,
  .contents.company table th,
  .contents.company table td { display: block; width: 100%; }
  .contents.company table th {
    border: none;
    padding: 14px 18px 0;
    font-size: 1.2rem;
  }
  .contents.company table td {
    font-size: 1.4rem;
    line-height: 1.7;
    padding: 2px 18px 14px;
    border-bottom: 1px solid var(--rf-line);
  }
  .contents.company table tr:last-child td,
  .contents.company table tr:last-child th { border-right: none; border-bottom: none; }

  .contents.contact .button { font-size: 1.4rem; height: 54px; line-height: 54px; max-width: 320px; border-radius: 27px; }
  .contents.contact .button img { width: 18px; }
  .contents.contact .time { font-size: 1.2rem; margin-top: 12px; }
}
