/*
Theme Name: SHOKANdesign Child
Theme URI: https://shokan.jp/
Description: GeneratePressを親テーマとする、一級建築士事務所SHOKANdesign専用の子テーマです。
Author: SHOKANdesign
Template: generatepress
Version: 1.0.1
Text Domain: shokan-design-child
*/

:root {
  --shokan-bg: #eceae5;
  --shokan-paper: #ffffff;
  --shokan-paper-alt: #f5f3ee;
  --shokan-text: #20221f;
  --shokan-muted: #666961;
  --shokan-line: #b7b9b1;
  --shokan-accent: #4f5846;
  --shokan-accent-text: #ffffff;
  --shokan-serif: Georgia, "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  --shokan-sans: "Hiragino Sans", "Yu Gothic", "YuGothic", system-ui, sans-serif;
  --shokan-content-width: 1120px;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--shokan-bg);
  color: var(--shokan-text);
  font-family: var(--shokan-sans);
  line-height: 1.8;
}

body,
button,
input,
select,
textarea {
  font-family: var(--shokan-sans);
}

h1,
h2,
h3,
.site-branding .main-title {
  font-family: var(--shokan-serif);
  font-weight: 500;
  line-height: 1.45;
}

a {
  text-underline-offset: 0.18em;
}

.site-header,
.main-navigation,
.site-footer,
.inside-article {
  background-color: var(--shokan-paper);
}

.site-header,
.main-navigation {
  border-bottom: 1px solid var(--shokan-line);
}

.site-content {
  padding-top: clamp(24px, 5vw, 72px);
  padding-bottom: clamp(48px, 8vw, 96px);
}

.inside-article {
  border-radius: 0;
}

.entry-content > .alignwide {
  max-width: var(--shokan-content-width);
  margin-left: auto;
  margin-right: auto;
}

.entry-content > .alignfull {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.wp-block-button__link,
.button,
button,
input[type="submit"] {
  border-radius: 0;
}

.wp-block-button:not(.is-style-outline) .wp-block-button__link {
  background: var(--shokan-accent);
  color: var(--shokan-accent-text);
}

.wp-block-button.is-style-outline .wp-block-button__link {
  border-color: var(--shokan-line);
  color: var(--shokan-text);
}

.shokan-section {
  padding-top: clamp(48px, 7vw, 88px);
  padding-bottom: clamp(48px, 7vw, 88px);
}

.shokan-eyebrow {
  color: var(--shokan-muted);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.shokan-muted {
  color: var(--shokan-muted);
}

.shokan-card {
  background: var(--shokan-paper);
  border: 1px solid var(--shokan-line);
  padding: clamp(20px, 3vw, 32px);
}

.shokan-button a,
a.shokan-button {
  align-items: center;
  background: var(--shokan-accent);
  color: var(--shokan-accent-text);
  display: inline-flex;
  justify-content: center;
  min-height: 50px;
  padding: 0.75rem 1.25rem;
  text-decoration: none;
}

@media (max-width: 768px) {
  .site-content {
    padding-top: 24px;
  }

  .shokan-section {
    padding-top: 48px;
    padding-bottom: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
