/*
Theme Name: Round Monolith
Theme URI: https://github.com/tech-ocean-lab/wp-theme-template
Author: Tech Ocean Inc.
Description: Round Monolith株式会社 コーポレートサイト用テーマ（TechOcean Starter v2.1.1 ベース）。
Version: 0.2.1
Requires at least: 6.3
Requires PHP: 7.4
License: MIT
Text Domain: techocean-starter
*/

/*
  ブランドトークンと基本スタイル（仕様は DESIGN.md §1）。
  レイアウト・部品のスタイルは assets/css/theme.css（inc-site/assets.php で読み込み）。
  フォームの見た目は inc/mailform/assets/mailform.css（--mf-* で上書き）。
*/

:root {
  --rm-primary: #1A8A6E;
  --rm-primary-dark: #136B55;
  --rm-primary-light: #7FD3BB;
  --rm-primary-pale: #A8E6D2;
  --rm-mark: #2BAE8B;
  --rm-hero: #2E4A44;
  --rm-dark: #1E2227;
  --rm-dark-2: #262C32;
  --rm-dark-line: #2A2F35;
  --rm-ink: #1A1D21;
  --rm-text: #33393F;
  --rm-sub: #4B5259;
  --rm-muted: #6B7178;
  --rm-line: #E1E4E8;
  --rm-bg-soft: #EEF0F2;
  --rm-white: #FFFFFF;

  --rm-font-body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", sans-serif;
  --rm-font-disp: "Zen Kaku Gothic New", "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --rm-font-en: "Manrope", "Noto Sans JP", sans-serif;

  --rm-gutter: 56px;
  --rm-header-h: 88px;

  /* テンプレ共通モジュールの色を合わせる */
  --mf-primary: var(--rm-primary);
  --mf-accent: #c30b0b;
  --to-primary: var(--rm-primary);
  --to-text: var(--rm-ink);
  --to-muted: var(--rm-muted);
  --to-border: var(--rm-line);
  --to-bg-soft: var(--rm-bg-soft);
  --to-radius: 4px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--rm-ink);
  background: var(--rm-white);
  font-family: var(--rm-font-body);
  font-size: 16px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--rm-primary);
  text-decoration: none;
}

a:hover {
  color: var(--rm-primary-dark);
}

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

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--rm-font-disp);
  font-weight: 700;
  line-height: 1.35;
  text-wrap: balance;
}

p {
  margin: 0;
}

button {
  font: inherit;
  color: inherit;
}

.disp {
  font-family: var(--rm-font-disp);
}

.en {
  font-family: var(--rm-font-en);
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 700;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.site-main {
  min-height: 60vh;
}

/* 汎用ページ（page.php・404・検索）の本文幅 */
.site-content {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 56px var(--rm-gutter) 72px;
}

@media (max-width: 960px) {
  :root {
    --rm-gutter: 20px;
    --rm-header-h: 64px;
  }

  body {
    font-size: 15px;
  }

  .site-content {
    padding: 32px var(--rm-gutter) 48px;
  }
}
